(function () {
  const B = document.createElement("link").relList;
  if (B && B.supports && B.supports("modulepreload")) return;
  for (const P of document.querySelectorAll('link[rel="modulepreload"]')) S(P);
  new MutationObserver((P) => {
    for (const L of P)
      if (L.type === "childList")
        for (const d of L.addedNodes)
          d.tagName === "LINK" && d.rel === "modulepreload" && S(d);
  }).observe(document, { childList: !0, subtree: !0 });
  function E(P) {
    const L = {};
    return (
      P.integrity && (L.integrity = P.integrity),
      P.referrerPolicy && (L.referrerPolicy = P.referrerPolicy),
      P.crossOrigin === "use-credentials"
        ? (L.credentials = "include")
        : P.crossOrigin === "anonymous"
          ? (L.credentials = "omit")
          : (L.credentials = "same-origin"),
      L
    );
  }
  function S(P) {
    if (P.ep) return;
    P.ep = !0;
    const L = E(P);
    fetch(P.href, L);
  }
})();
function MA(p, B) {
  const E = Object.create(null),
    S = p.split(",");
  for (let P = 0; P < S.length; P++) E[S[P]] = !0;
  return B ? (P) => !!E[P.toLowerCase()] : (P) => !!E[P];
}
const Dt = {},
  $i = [],
  He = () => {},
  ud = () => !1,
  Br = (p) =>
    p.charCodeAt(0) === 111 &&
    p.charCodeAt(1) === 110 &&
    (p.charCodeAt(2) > 122 || p.charCodeAt(2) < 97),
  PA = (p) => p.startsWith("onUpdate:"),
  ie = Object.assign,
  UA = (p, B) => {
    const E = p.indexOf(B);
    E > -1 && p.splice(E, 1);
  },
  fd = Object.prototype.hasOwnProperty,
  Ft = (p, B) => fd.call(p, B),
  gt = Array.isArray,
  ji = (p) => sn(p) === "[object Map]",
  yr = (p) => sn(p) === "[object Set]",
  fo = (p) => sn(p) === "[object Date]",
  yt = (p) => typeof p == "function",
  Jt = (p) => typeof p == "string",
  di = (p) => typeof p == "symbol",
  Qt = (p) => p !== null && typeof p == "object",
  Fl = (p) => (Qt(p) || yt(p)) && yt(p.then) && yt(p.catch),
  Sl = Object.prototype.toString,
  sn = (p) => Sl.call(p),
  dd = (p) => sn(p).slice(8, -1),
  wl = (p) => sn(p) === "[object Object]",
  RA = (p) =>
    Jt(p) && p !== "NaN" && p[0] !== "-" && "" + parseInt(p, 10) === p,
  Yn = MA(
    ",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted",
  ),
  Cr = (p) => {
    const B = Object.create(null);
    return (E) => B[E] || (B[E] = p(E));
  },
  cd = /-(\w)/g,
  ss = Cr((p) => p.replace(cd, (B, E) => (E ? E.toUpperCase() : ""))),
  vd = /\B([A-Z])/g,
  us = Cr((p) => p.replace(vd, "-$1").toLowerCase()),
  Ml = Cr((p) => p.charAt(0).toUpperCase() + p.slice(1)),
  $r = Cr((p) => (p ? `on${Ml(p)}` : "")),
  Qi = (p, B) => !Object.is(p, B),
  zn = (p, B) => {
    for (let E = 0; E < p.length; E++) p[E](B);
  },
  tr = (p, B, E) => {
    Object.defineProperty(p, B, { configurable: !0, enumerable: !1, value: E });
  },
  La = (p) => {
    const B = parseFloat(p);
    return isNaN(B) ? p : B;
  };
let co;
const Ia = () =>
  co ||
  (co =
    typeof globalThis < "u"
      ? globalThis
      : typeof self < "u"
        ? self
        : typeof window < "u"
          ? window
          : typeof global < "u"
            ? global
            : {});
function nn(p) {
  if (gt(p)) {
    const B = {};
    for (let E = 0; E < p.length; E++) {
      const S = p[E],
        P = Jt(S) ? xd(S) : nn(S);
      if (P) for (const L in P) B[L] = P[L];
    }
    return B;
  } else if (Jt(p) || Qt(p)) return p;
}
const pd = /;(?![^(]*\))/g,
  gd = /:([^]+)/,
  md = /\/\*[^]*?\*\//g;
function xd(p) {
  const B = {};
  return (
    p
      .replace(md, "")
      .split(pd)
      .forEach((E) => {
        if (E) {
          const S = E.split(gd);
          S.length > 1 && (B[S[0].trim()] = S[1].trim());
        }
      }),
    B
  );
}
function ce(p) {
  let B = "";
  if (Jt(p)) B = p;
  else if (gt(p))
    for (let E = 0; E < p.length; E++) {
      const S = ce(p[E]);
      S && (B += S + " ");
    }
  else if (Qt(p)) for (const E in p) p[E] && (B += E + " ");
  return B.trim();
}
const Bd =
    "itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",
  yd = MA(Bd);
function Pl(p) {
  return !!p || p === "";
}
function Cd(p, B) {
  if (p.length !== B.length) return !1;
  let E = !0;
  for (let S = 0; E && S < p.length; S++) E = Tr(p[S], B[S]);
  return E;
}
function Tr(p, B) {
  if (p === B) return !0;
  let E = fo(p),
    S = fo(B);
  if (E || S) return E && S ? p.getTime() === B.getTime() : !1;
  if (((E = di(p)), (S = di(B)), E || S)) return p === B;
  if (((E = gt(p)), (S = gt(B)), E || S)) return E && S ? Cd(p, B) : !1;
  if (((E = Qt(p)), (S = Qt(B)), E || S)) {
    if (!E || !S) return !1;
    const P = Object.keys(p).length,
      L = Object.keys(B).length;
    if (P !== L) return !1;
    for (const d in p) {
      const y = p.hasOwnProperty(d),
        t = B.hasOwnProperty(d);
      if ((y && !t) || (!y && t) || !Tr(p[d], B[d])) return !1;
    }
  }
  return String(p) === String(B);
}
function Ul(p, B) {
  return p.findIndex((E) => Tr(E, B));
}
const le = (p) =>
    Jt(p)
      ? p
      : p == null
        ? ""
        : gt(p) || (Qt(p) && (p.toString === Sl || !yt(p.toString)))
          ? JSON.stringify(p, Rl, 2)
          : String(p),
  Rl = (p, B) =>
    B && B.__v_isRef
      ? Rl(p, B.value)
      : ji(B)
        ? {
            [`Map(${B.size})`]: [...B.entries()].reduce(
              (E, [S, P], L) => ((E[jr(S, L) + " =>"] = P), E),
              {},
            ),
          }
        : yr(B)
          ? { [`Set(${B.size})`]: [...B.values()].map((E) => jr(E)) }
          : di(B)
            ? jr(B)
            : Qt(B) && !gt(B) && !wl(B)
              ? String(B)
              : B,
  jr = (p, B = "") => {
    var E;
    return di(p) ? `Symbol(${(E = p.description) != null ? E : B})` : p;
  };
let Fe;
class Ll {
  constructor(B = !1) {
    ((this.detached = B),
      (this._active = !0),
      (this.effects = []),
      (this.cleanups = []),
      (_____WB$wombat$check$this$function_____(this).parent = Fe),
      !B &&
        Fe &&
        (this.index = (Fe.scopes || (Fe.scopes = [])).push(this) - 1));
  }
  get active() {
    return this._active;
  }
  run(B) {
    if (this._active) {
      const E = Fe;
      try {
        return ((Fe = _____WB$wombat$check$this$function_____(this)), B());
      } finally {
        Fe = E;
      }
    }
  }
  on() {
    Fe = _____WB$wombat$check$this$function_____(this);
  }
  off() {
    Fe = _____WB$wombat$check$this$function_____(this).parent;
  }
  stop(B) {
    if (this._active) {
      let E, S;
      for (E = 0, S = this.effects.length; E < S; E++) this.effects[E].stop();
      for (E = 0, S = this.cleanups.length; E < S; E++) this.cleanups[E]();
      if (this.scopes)
        for (E = 0, S = this.scopes.length; E < S; E++) this.scopes[E].stop(!0);
      if (
        !this.detached &&
        _____WB$wombat$check$this$function_____(this).parent &&
        !B
      ) {
        const P =
          _____WB$wombat$check$this$function_____(this).parent.scopes.pop();
        P &&
          P !== _____WB$wombat$check$this$function_____(this) &&
          ((_____WB$wombat$check$this$function_____(this).parent.scopes[
            this.index
          ] = P),
          (P.index = this.index));
      }
      ((_____WB$wombat$check$this$function_____(this).parent = void 0),
        (this._active = !1));
    }
  }
}
function Td(p) {
  return new Ll(p);
}
function Ed(p, B = Fe) {
  B && B.active && B.effects.push(p);
}
function Fd() {
  return Fe;
}
const LA = (p) => {
    const B = new Set(p);
    return ((B.w = 0), (B.n = 0), B);
  },
  Il = (p) => (p.w & ci) > 0,
  Ol = (p) => (p.n & ci) > 0,
  Sd = ({ deps: p }) => {
    if (p.length) for (let B = 0; B < p.length; B++) p[B].w |= ci;
  },
  wd = (p) => {
    const { deps: B } = p;
    if (B.length) {
      let E = 0;
      for (let S = 0; S < B.length; S++) {
        const P = B[S];
        (Il(P) && !Ol(P) ? P.delete(p) : (B[E++] = P),
          (P.w &= ~ci),
          (P.n &= ~ci));
      }
      B.length = E;
    }
  },
  Oa = new WeakMap();
let Ss = 0,
  ci = 1;
const Qa = 30;
let Se;
const Ui = Symbol(""),
  Da = Symbol("");
class IA {
  constructor(B, E = null, S) {
    ((this.fn = B),
      (this.scheduler = E),
      (this.active = !0),
      (this.deps = []),
      (_____WB$wombat$check$this$function_____(this).parent = void 0),
      Ed(this, S));
  }
  run() {
    if (!this.active) return this.fn();
    let B = Se,
      E = hi;
    for (; B; ) {
      if (B === _____WB$wombat$check$this$function_____(this)) return;
      B = B.parent;
    }
    try {
      return (
        (_____WB$wombat$check$this$function_____(this).parent = Se),
        (Se = _____WB$wombat$check$this$function_____(this)),
        (hi = !0),
        (ci = 1 << ++Ss),
        Ss <= Qa ? Sd(this) : vo(this),
        this.fn()
      );
    } finally {
      (Ss <= Qa && wd(this),
        (ci = 1 << --Ss),
        (Se = _____WB$wombat$check$this$function_____(this).parent),
        (hi = E),
        (_____WB$wombat$check$this$function_____(this).parent = void 0),
        this.deferStop && this.stop());
    }
  }
  stop() {
    Se === _____WB$wombat$check$this$function_____(this)
      ? (this.deferStop = !0)
      : this.active &&
        (vo(this), this.onStop && this.onStop(), (this.active = !1));
  }
}
function vo(p) {
  const { deps: B } = p;
  if (B.length) {
    for (let E = 0; E < B.length; E++) B[E].delete(p);
    B.length = 0;
  }
}
let hi = !0;
const Ql = [];
function fs() {
  (Ql.push(hi), (hi = !1));
}
function ds() {
  const p = Ql.pop();
  hi = p === void 0 ? !0 : p;
}
function ve(p, B, E) {
  if (hi && Se) {
    let S = Oa.get(p);
    S || Oa.set(p, (S = new Map()));
    let P = S.get(E);
    (P || S.set(E, (P = LA())), Dl(P));
  }
}
function Dl(p, B) {
  let E = !1;
  (Ss <= Qa ? Ol(p) || ((p.n |= ci), (E = !Il(p))) : (E = !p.has(Se)),
    E && (p.add(Se), Se.deps.push(p)));
}
function Ke(p, B, E, S, P, L) {
  const d = Oa.get(p);
  if (!d) return;
  let y = [];
  if (B === "clear") y = [...d.values()];
  else if (E === "length" && gt(p)) {
    const t = Number(S);
    d.forEach((A, c) => {
      (c === "length" || (!di(c) && c >= t)) && y.push(A);
    });
  } else
    switch ((E !== void 0 && y.push(d.get(E)), B)) {
      case "add":
        gt(p)
          ? RA(E) && y.push(d.get("length"))
          : (y.push(d.get(Ui)), ji(p) && y.push(d.get(Da)));
        break;
      case "delete":
        gt(p) || (y.push(d.get(Ui)), ji(p) && y.push(d.get(Da)));
        break;
      case "set":
        ji(p) && y.push(d.get(Ui));
        break;
    }
  if (y.length === 1) y[0] && Ha(y[0]);
  else {
    const t = [];
    for (const A of y) A && t.push(...A);
    Ha(LA(t));
  }
}
function Ha(p, B) {
  const E = gt(p) ? p : [...p];
  for (const S of E) S.computed && po(S);
  for (const S of E) S.computed || po(S);
}
function po(p, B) {
  (p !== Se || p.allowRecurse) && (p.scheduler ? p.scheduler() : p.run());
}
const Md = MA("__proto__,__v_isRef,__isVue"),
  Hl = new Set(
    Object.getOwnPropertyNames(Symbol)
      .filter((p) => p !== "arguments" && p !== "caller")
      .map((p) => Symbol[p])
      .filter(di),
  ),
  go = Pd();
function Pd() {
  const p = {};
  return (
    ["includes", "indexOf", "lastIndexOf"].forEach((B) => {
      p[B] = function (...E) {
        const S = wt(this);
        for (let L = 0, d = this.length; L < d; L++) ve(S, "get", L + "");
        const P = S[B](...E);
        return P === -1 || P === !1 ? S[B](...E.map(wt)) : P;
      };
    }),
    ["push", "pop", "shift", "unshift", "splice"].forEach((B) => {
      p[B] = function (...E) {
        fs();
        const S = wt(this)[B].apply(this, E);
        return (ds(), S);
      };
    }),
    p
  );
}
function Ud(p) {
  const B = wt(this);
  return (ve(B, "has", p), B.hasOwnProperty(p));
}
class Nl {
  constructor(B = !1, E = !1) {
    ((this._isReadonly = B), (this._shallow = E));
  }
  get(B, E, S) {
    const P = this._isReadonly,
      L = this._shallow;
    if (E === "__v_isReactive") return !P;
    if (E === "__v_isReadonly") return P;
    if (E === "__v_isShallow") return L;
    if (E === "__v_raw")
      return S === (P ? (L ? Yd : Xl) : L ? Vl : bl).get(B) ||
        Object.getPrototypeOf(B) === Object.getPrototypeOf(S)
        ? B
        : void 0;
    const d = gt(B);
    if (!P) {
      if (d && Ft(go, E)) return Reflect.get(go, E, S);
      if (E === "hasOwnProperty") return Ud;
    }
    const y = Reflect.get(B, E, S);
    return (di(E) ? Hl.has(E) : Md(E)) || (P || ve(B, "get", E), L)
      ? y
      : ae(y)
        ? d && RA(E)
          ? y
          : y.value
        : Qt(y)
          ? P
            ? zl(y)
            : rn(y)
          : y;
  }
}
class Gl extends Nl {
  constructor(B = !1) {
    super(!1, B);
  }
  set(B, E, S, P) {
    let L = B[E];
    if (ns(L) && ae(L) && !ae(S)) return !1;
    if (
      !this._shallow &&
      (!er(S) && !ns(S) && ((L = wt(L)), (S = wt(S))),
      !gt(B) && ae(L) && !ae(S))
    )
      return ((L.value = S), !0);
    const d = gt(B) && RA(E) ? Number(E) < B.length : Ft(B, E),
      y = Reflect.set(B, E, S, P);
    return (
      B === wt(P) && (d ? Qi(S, L) && Ke(B, "set", E, S) : Ke(B, "add", E, S)),
      y
    );
  }
  deleteProperty(B, E) {
    const S = Ft(B, E);
    B[E];
    const P = Reflect.deleteProperty(B, E);
    return (P && S && Ke(B, "delete", E, void 0), P);
  }
  has(B, E) {
    const S = Reflect.has(B, E);
    return ((!di(E) || !Hl.has(E)) && ve(B, "has", E), S);
  }
  ownKeys(B) {
    return (ve(B, "iterate", gt(B) ? "length" : Ui), Reflect.ownKeys(B));
  }
}
class Rd extends Nl {
  constructor(B = !1) {
    super(!0, B);
  }
  set(B, E) {
    return !0;
  }
  deleteProperty(B, E) {
    return !0;
  }
}
const Ld = new Gl(),
  Id = new Rd(),
  Od = new Gl(!0),
  OA = (p) => p,
  Er = (p) => Reflect.getPrototypeOf(p);
function dn(p, B, E = !1, S = !1) {
  p = p.__v_raw;
  const P = wt(p),
    L = wt(B);
  E || (Qi(B, L) && ve(P, "get", B), ve(P, "get", L));
  const { has: d } = Er(P),
    y = S ? OA : E ? NA : Ks;
  if (d.call(P, B)) return y(p.get(B));
  if (d.call(P, L)) return y(p.get(L));
  p !== P && p.get(B);
}
function cn(p, B = !1) {
  const E = this.__v_raw,
    S = wt(E),
    P = wt(p);
  return (
    B || (Qi(p, P) && ve(S, "has", p), ve(S, "has", P)),
    p === P ? E.has(p) : E.has(p) || E.has(P)
  );
}
function vn(p, B = !1) {
  return (
    (p = p.__v_raw),
    !B && ve(wt(p), "iterate", Ui),
    Reflect.get(p, "size", p)
  );
}
function mo(p) {
  p = wt(p);
  const B = wt(this);
  return (
    Er(B).has.call(B, p) || (B.add(p), Ke(B, "add", p, p)),
    _____WB$wombat$check$this$function_____(this)
  );
}
function xo(p, B) {
  B = wt(B);
  const E = wt(this),
    { has: S, get: P } = Er(E);
  let L = S.call(E, p);
  L || ((p = wt(p)), (L = S.call(E, p)));
  const d = P.call(E, p);
  return (
    E.set(p, B),
    L ? Qi(B, d) && Ke(E, "set", p, B) : Ke(E, "add", p, B),
    _____WB$wombat$check$this$function_____(this)
  );
}
function Bo(p) {
  const B = wt(this),
    { has: E, get: S } = Er(B);
  let P = E.call(B, p);
  (P || ((p = wt(p)), (P = E.call(B, p))), S && S.call(B, p));
  const L = B.delete(p);
  return (P && Ke(B, "delete", p, void 0), L);
}
function yo() {
  const p = wt(this),
    B = p.size !== 0,
    E = p.clear();
  return (B && Ke(p, "clear", void 0, void 0), E);
}
function pn(p, B) {
  return function (S, P) {
    const L = _____WB$wombat$check$this$function_____(this),
      d = L.__v_raw,
      y = wt(d),
      t = B ? OA : p ? NA : Ks;
    return (
      !p && ve(y, "iterate", Ui),
      d.forEach((A, c) => S.call(P, t(A), t(c), L))
    );
  };
}
function gn(p, B, E) {
  return function (...S) {
    const P = this.__v_raw,
      L = wt(P),
      d = ji(L),
      y = p === "entries" || (p === Symbol.iterator && d),
      t = p === "keys" && d,
      A = P[p](...S),
      c = E ? OA : B ? NA : Ks;
    return (
      !B && ve(L, "iterate", t ? Da : Ui),
      {
        next() {
          const { value: a, done: r } = A.next();
          return r
            ? { value: a, done: r }
            : { value: y ? [c(a[0]), c(a[1])] : c(a), done: r };
        },
        [Symbol.iterator]() {
          return _____WB$wombat$check$this$function_____(this);
        },
      }
    );
  };
}
function qe(p) {
  return function (...B) {
    return p === "delete" ? !1 : p === "clear" ? void 0 : this;
  };
}
function Qd() {
  const p = {
      get(L) {
        return dn(this, L);
      },
      get size() {
        return vn(this);
      },
      has: cn,
      add: mo,
      set: xo,
      delete: Bo,
      clear: yo,
      forEach: pn(!1, !1),
    },
    B = {
      get(L) {
        return dn(this, L, !1, !0);
      },
      get size() {
        return vn(this);
      },
      has: cn,
      add: mo,
      set: xo,
      delete: Bo,
      clear: yo,
      forEach: pn(!1, !0),
    },
    E = {
      get(L) {
        return dn(this, L, !0);
      },
      get size() {
        return vn(this, !0);
      },
      has(L) {
        return cn.call(this, L, !0);
      },
      add: qe("add"),
      set: qe("set"),
      delete: qe("delete"),
      clear: qe("clear"),
      forEach: pn(!0, !1),
    },
    S = {
      get(L) {
        return dn(this, L, !0, !0);
      },
      get size() {
        return vn(this, !0);
      },
      has(L) {
        return cn.call(this, L, !0);
      },
      add: qe("add"),
      set: qe("set"),
      delete: qe("delete"),
      clear: qe("clear"),
      forEach: pn(!0, !0),
    };
  return (
    ["keys", "values", "entries", Symbol.iterator].forEach((L) => {
      ((p[L] = gn(L, !1, !1)),
        (E[L] = gn(L, !0, !1)),
        (B[L] = gn(L, !1, !0)),
        (S[L] = gn(L, !0, !0)));
    }),
    [p, E, B, S]
  );
}
const [Dd, Hd, Nd, Gd] = Qd();
function QA(p, B) {
  const E = B ? (p ? Gd : Nd) : p ? Hd : Dd;
  return (S, P, L) =>
    P === "__v_isReactive"
      ? !p
      : P === "__v_isReadonly"
        ? p
        : P === "__v_raw"
          ? S
          : Reflect.get(Ft(E, P) && P in S ? E : S, P, L);
}
const bd = { get: QA(!1, !1) },
  Vd = { get: QA(!1, !0) },
  Xd = { get: QA(!0, !1) },
  bl = new WeakMap(),
  Vl = new WeakMap(),
  Xl = new WeakMap(),
  Yd = new WeakMap();
function zd(p) {
  switch (p) {
    case "Object":
    case "Array":
      return 1;
    case "Map":
    case "Set":
    case "WeakMap":
    case "WeakSet":
      return 2;
    default:
      return 0;
  }
}
function Wd(p) {
  return p.__v_skip || !Object.isExtensible(p) ? 0 : zd(dd(p));
}
function rn(p) {
  return ns(p) ? p : DA(p, !1, Ld, bd, bl);
}
function Yl(p) {
  return DA(p, !1, Od, Vd, Vl);
}
function zl(p) {
  return DA(p, !0, Id, Xd, Xl);
}
function DA(p, B, E, S, P) {
  if (!Qt(p) || (p.__v_raw && !(B && p.__v_isReactive))) return p;
  const L = P.get(p);
  if (L) return L;
  const d = Wd(p);
  if (d === 0) return p;
  const y = new Proxy(p, d === 2 ? S : E);
  return (P.set(p, y), y);
}
function ki(p) {
  return ns(p) ? ki(p.__v_raw) : !!(p && p.__v_isReactive);
}
function ns(p) {
  return !!(p && p.__v_isReadonly);
}
function er(p) {
  return !!(p && p.__v_isShallow);
}
function Wl(p) {
  return ki(p) || ns(p);
}
function wt(p) {
  const B = p && p.__v_raw;
  return B ? wt(B) : p;
}
function HA(p) {
  return (tr(p, "__v_skip", !0), p);
}
const Ks = (p) => (Qt(p) ? rn(p) : p),
  NA = (p) => (Qt(p) ? zl(p) : p);
function Kl(p) {
  hi && Se && ((p = wt(p)), Dl(p.dep || (p.dep = LA())));
}
function Jl(p, B) {
  p = wt(p);
  const E = p.dep;
  E && Ha(E);
}
function ae(p) {
  return !!(p && p.__v_isRef === !0);
}
function xt(p) {
  return Zl(p, !1);
}
function Kd(p) {
  return Zl(p, !0);
}
function Zl(p, B) {
  return ae(p) ? p : new Jd(p, B);
}
class Jd {
  constructor(B, E) {
    ((this.__v_isShallow = E),
      (this.dep = void 0),
      (this.__v_isRef = !0),
      (this._rawValue = E ? B : wt(B)),
      (this._value = E ? B : Ks(B)));
  }
  get value() {
    return (Kl(this), this._value);
  }
  set value(B) {
    const E = this.__v_isShallow || er(B) || ns(B);
    ((B = E ? B : wt(B)),
      Qi(B, this._rawValue) &&
        ((this._rawValue = B), (this._value = E ? B : Ks(B)), Jl(this)));
  }
}
function Tt(p) {
  return ae(p) ? p.value : p;
}
const Zd = {
  get: (p, B, E) => Tt(Reflect.get(p, B, E)),
  set: (p, B, E, S) => {
    const P = p[B];
    return ae(P) && !ae(E) ? ((P.value = E), !0) : Reflect.set(p, B, E, S);
  },
};
function $l(p) {
  return ki(p) ? p : new Proxy(p, Zd);
}
class $d {
  constructor(B, E, S, P) {
    ((this._setter = E),
      (this.dep = void 0),
      (this.__v_isRef = !0),
      (this.__v_isReadonly = !1),
      (this._dirty = !0),
      (this.effect = new IA(B, () => {
        this._dirty || ((this._dirty = !0), Jl(this));
      })),
      (this.effect.computed = _____WB$wombat$check$this$function_____(this)),
      (this.effect.active = this._cacheable = !P),
      (this.__v_isReadonly = S));
  }
  get value() {
    const B = wt(this);
    return (
      Kl(B),
      (B._dirty || !B._cacheable) &&
        ((B._dirty = !1), (B._value = B.effect.run())),
      B._value
    );
  }
  set value(B) {
    this._setter(B);
  }
}
function jd(p, B, E = !1) {
  let S, P;
  const L = yt(p);
  return (
    L ? ((S = p), (P = He)) : ((S = p.get), (P = p.set)),
    new $d(S, P, L || !P, E)
  );
}
function li(p, B, E, S) {
  let P;
  try {
    P = S ? p(...S) : p();
  } catch (L) {
    Fr(L, B, E);
  }
  return P;
}
function Me(p, B, E, S) {
  if (yt(p)) {
    const L = li(p, B, E, S);
    return (
      L &&
        Fl(L) &&
        L.catch((d) => {
          Fr(d, B, E);
        }),
      L
    );
  }
  const P = [];
  for (let L = 0; L < p.length; L++) P.push(Me(p[L], B, E, S));
  return P;
}
function Fr(p, B, E, S = !0) {
  const P = B ? B.vnode : null;
  if (B) {
    let L = B.parent;
    const d = B.proxy,
      y = E;
    for (; L; ) {
      const A = L.ec;
      if (A) {
        for (let c = 0; c < A.length; c++) if (A[c](p, d, y) === !1) return;
      }
      L = L.parent;
    }
    const t = B.appContext.config.errorHandler;
    if (t) {
      li(t, null, 10, [p, d, y]);
      return;
    }
  }
  kd(p, E, P, S);
}
function kd(p, B, E, S = !0) {
  console.error(p);
}
let Js = !1,
  Na = !1;
const re = [];
let Qe = 0;
const qi = [];
let We = null,
  Ti = 0;
const jl = Promise.resolve();
let GA = null;
function kl(p) {
  const B = GA || jl;
  return p ? B.then(this ? p.bind(this) : p) : B;
}
function qd(p) {
  let B = Qe + 1,
    E = re.length;
  for (; B < E; ) {
    const S = (B + E) >>> 1,
      P = re[S],
      L = Zs(P);
    L < p || (L === p && P.pre) ? (B = S + 1) : (E = S);
  }
  return B;
}
function bA(p) {
  (!re.length || !re.includes(p, Js && p.allowRecurse ? Qe + 1 : Qe)) &&
    (p.id == null ? re.push(p) : re.splice(qd(p.id), 0, p), ql());
}
function ql() {
  !Js && !Na && ((Na = !0), (GA = jl.then(tu)));
}
function _d(p) {
  const B = re.indexOf(p);
  B > Qe && re.splice(B, 1);
}
function tc(p) {
  (gt(p)
    ? qi.push(...p)
    : (!We || !We.includes(p, p.allowRecurse ? Ti + 1 : Ti)) && qi.push(p),
    ql());
}
function Co(p, B, E = Js ? Qe + 1 : 0) {
  for (; E < re.length; E++) {
    const S = re[E];
    if (S && S.pre) {
      if (p && S.id !== p.uid) continue;
      (re.splice(E, 1), E--, S());
    }
  }
}
function _l(p) {
  if (qi.length) {
    const B = [...new Set(qi)];
    if (((qi.length = 0), We)) {
      We.push(...B);
      return;
    }
    for (We = B, We.sort((E, S) => Zs(E) - Zs(S)), Ti = 0; Ti < We.length; Ti++)
      We[Ti]();
    ((We = null), (Ti = 0));
  }
}
const Zs = (p) => (p.id == null ? 1 / 0 : p.id),
  ec = (p, B) => {
    const E = Zs(p) - Zs(B);
    if (E === 0) {
      if (p.pre && !B.pre) return -1;
      if (B.pre && !p.pre) return 1;
    }
    return E;
  };
function tu(p) {
  ((Na = !1), (Js = !0), re.sort(ec));
  try {
    for (Qe = 0; Qe < re.length; Qe++) {
      const B = re[Qe];
      B && B.active !== !1 && li(B, null, 14);
    }
  } finally {
    ((Qe = 0),
      (re.length = 0),
      _l(),
      (Js = !1),
      (GA = null),
      (re.length || qi.length) && tu());
  }
}
function ic(p, B, ...E) {
  if (p.isUnmounted) return;
  const S = p.vnode.props || Dt;
  let P = E;
  const L = B.startsWith("update:"),
    d = L && B.slice(7);
  if (d && d in S) {
    const c = `${d === "modelValue" ? "model" : d}Modifiers`,
      { number: a, trim: r } = S[c] || Dt;
    (r && (P = E.map((n) => (Jt(n) ? n.trim() : n))), a && (P = E.map(La)));
  }
  let y,
    t = S[(y = $r(B))] || S[(y = $r(ss(B)))];
  (!t && L && (t = S[(y = $r(us(B)))]), t && Me(t, p, 6, P));
  const A = S[y + "Once"];
  if (A) {
    if (!p.emitted) p.emitted = {};
    else if (p.emitted[y]) return;
    ((p.emitted[y] = !0), Me(A, p, 6, P));
  }
}
function eu(p, B, E = !1) {
  const S = B.emitsCache,
    P = S.get(p);
  if (P !== void 0) return P;
  const L = p.emits;
  let d = {},
    y = !1;
  if (!yt(p)) {
    const t = (A) => {
      const c = eu(A, B, !0);
      c && ((y = !0), ie(d, c));
    };
    (!E && B.mixins.length && B.mixins.forEach(t),
      p.extends && t(p.extends),
      p.mixins && p.mixins.forEach(t));
  }
  return !L && !y
    ? (Qt(p) && S.set(p, null), null)
    : (gt(L) ? L.forEach((t) => (d[t] = null)) : ie(d, L),
      Qt(p) && S.set(p, d),
      d);
}
function Sr(p, B) {
  return !p || !Br(B)
    ? !1
    : ((B = B.slice(2).replace(/Once$/, "")),
      Ft(p, B[0].toLowerCase() + B.slice(1)) || Ft(p, us(B)) || Ft(p, B));
}
let Ae = null,
  wr = null;
function ir(p) {
  const B = Ae;
  return ((Ae = p), (wr = (p && p.type.__scopeId) || null), B);
}
function an(p) {
  wr = p;
}
function An() {
  wr = null;
}
function Ri(p, B = Ae, E) {
  if (!B || p._n) return p;
  const S = (...P) => {
    S._d && Lo(-1);
    const L = ir(B);
    let d;
    try {
      d = p(...P);
    } finally {
      (ir(L), S._d && Lo(1));
    }
    return d;
  };
  return ((S._n = !0), (S._c = !0), (S._d = !0), S);
}
function kr(p) {
  const {
    type: B,
    vnode: E,
    proxy: S,
    withProxy: P,
    props: L,
    propsOptions: [d],
    slots: y,
    attrs: t,
    emit: A,
    render: c,
    renderCache: a,
    data: r,
    setupState: n,
    ctx: e,
    inheritAttrs: s,
  } = p;
  let u, i;
  const o = ir(p);
  try {
    if (E.shapeFlag & 4) {
      const l = P || S,
        f = l;
      ((u = Oe(c.call(f, l, a, L, n, r, e))), (i = t));
    } else {
      const l = B;
      ((u = Oe(
        l.length > 1 ? l(L, { attrs: t, slots: y, emit: A }) : l(L, null),
      )),
        (i = B.props ? t : sc(t)));
    }
  } catch (l) {
    ((Ns.length = 0), Fr(l, p, 1), (u = Gt(vi)));
  }
  let h = u;
  if (i && s !== !1) {
    const l = Object.keys(i),
      { shapeFlag: f } = h;
    l.length && f & 7 && (d && l.some(PA) && (i = nc(i, d)), (h = rs(h, i)));
  }
  return (
    E.dirs && ((h = rs(h)), (h.dirs = h.dirs ? h.dirs.concat(E.dirs) : E.dirs)),
    E.transition && (h.transition = E.transition),
    (u = h),
    ir(o),
    u
  );
}
const sc = (p) => {
    let B;
    for (const E in p)
      (E === "class" || E === "style" || Br(E)) && ((B || (B = {}))[E] = p[E]);
    return B;
  },
  nc = (p, B) => {
    const E = {};
    for (const S in p) (!PA(S) || !(S.slice(9) in B)) && (E[S] = p[S]);
    return E;
  };
function rc(p, B, E) {
  const { props: S, children: P, component: L } = p,
    { props: d, children: y, patchFlag: t } = B,
    A = L.emitsOptions;
  if (B.dirs || B.transition) return !0;
  if (E && t >= 0) {
    if (t & 1024) return !0;
    if (t & 16) return S ? To(S, d, A) : !!d;
    if (t & 8) {
      const c = B.dynamicProps;
      for (let a = 0; a < c.length; a++) {
        const r = c[a];
        if (d[r] !== S[r] && !Sr(A, r)) return !0;
      }
    }
  } else
    return (P || y) && (!y || !y.$stable)
      ? !0
      : S === d
        ? !1
        : S
          ? d
            ? To(S, d, A)
            : !0
          : !!d;
  return !1;
}
function To(p, B, E) {
  const S = Object.keys(B);
  if (S.length !== Object.keys(p).length) return !0;
  for (let P = 0; P < S.length; P++) {
    const L = S[P];
    if (B[L] !== p[L] && !Sr(E, L)) return !0;
  }
  return !1;
}
function ac({ vnode: p, parent: B }, E) {
  for (; B && B.subTree === p; ) (((p = B.vnode).el = E), (B = B.parent));
}
const Ac = Symbol.for("v-ndc"),
  oc = (p) => p.__isSuspense;
function hc(p, B) {
  B && B.pendingBranch
    ? gt(p)
      ? B.effects.push(...p)
      : B.effects.push(p)
    : tc(p);
}
function lc(p, B) {
  return VA(p, null, { flush: "post" });
}
const mn = {};
function _i(p, B, E) {
  return VA(p, B, E);
}
function VA(
  p,
  B,
  { immediate: E, deep: S, flush: P, onTrack: L, onTrigger: d } = Dt,
) {
  var y;
  const t = Fd() === ((y = te) == null ? void 0 : y.scope) ? te : null;
  let A,
    c = !1,
    a = !1;
  if (
    (ae(p)
      ? ((A = () => p.value), (c = er(p)))
      : ki(p)
        ? ((A = () => p), (S = !0))
        : gt(p)
          ? ((a = !0),
            (c = p.some((l) => ki(l) || er(l))),
            (A = () =>
              p.map((l) => {
                if (ae(l)) return l.value;
                if (ki(l)) return wi(l);
                if (yt(l)) return li(l, t, 2);
              })))
          : yt(p)
            ? B
              ? (A = () => li(p, t, 2))
              : (A = () => {
                  if (!(t && t.isUnmounted))
                    return (r && r(), Me(p, t, 3, [n]));
                })
            : (A = He),
    B && S)
  ) {
    const l = A;
    A = () => wi(l());
  }
  let r,
    n = (l) => {
      r = o.onStop = () => {
        (li(l, t, 4), (r = o.onStop = void 0));
      };
    },
    e;
  if (js)
    if (
      ((n = He),
      B ? E && Me(B, t, 3, [A(), a ? [] : void 0, n]) : A(),
      P === "sync")
    ) {
      const l = sv();
      e = l.__watcherHandles || (l.__watcherHandles = []);
    } else return He;
  let s = a ? new Array(p.length).fill(mn) : mn;
  const u = () => {
    if (o.active)
      if (B) {
        const l = o.run();
        (S || c || (a ? l.some((f, v) => Qi(f, s[v])) : Qi(l, s))) &&
          (r && r(),
          Me(B, t, 3, [l, s === mn ? void 0 : a && s[0] === mn ? [] : s, n]),
          (s = l));
      } else o.run();
  };
  u.allowRecurse = !!B;
  let i;
  P === "sync"
    ? (i = u)
    : P === "post"
      ? (i = () => fe(u, t && t.suspense))
      : ((u.pre = !0), t && (u.id = t.uid), (i = () => bA(u)));
  const o = new IA(A, i);
  B
    ? E
      ? u()
      : (s = o.run())
    : P === "post"
      ? fe(o.run.bind(o), t && t.suspense)
      : o.run();
  const h = () => {
    (o.stop(), t && t.scope && UA(t.scope.effects, o));
  };
  return (e && e.push(h), h);
}
function uc(p, B, E) {
  const S = this.proxy,
    P = Jt(p) ? (p.includes(".") ? iu(S, p) : () => S[p]) : p.bind(S, S);
  let L;
  yt(B) ? (L = B) : ((L = B.handler), (E = B));
  const d = te;
  as(this);
  const y = VA(P, L.bind(S), E);
  return (d ? as(d) : Li(), y);
}
function iu(p, B) {
  const E = B.split(".");
  return () => {
    let S = p;
    for (let P = 0; P < E.length && S; P++) S = S[E[P]];
    return S;
  };
}
function wi(p, B) {
  if (!Qt(p) || p.__v_skip || ((B = B || new Set()), B.has(p))) return p;
  if ((B.add(p), ae(p))) wi(p.value, B);
  else if (gt(p)) for (let E = 0; E < p.length; E++) wi(p[E], B);
  else if (yr(p) || ji(p))
    p.forEach((E) => {
      wi(E, B);
    });
  else if (wl(p)) for (const E in p) wi(p[E], B);
  return p;
}
function ps(p, B) {
  const E = Ae;
  if (E === null) return p;
  const S = Lr(E) || E.proxy,
    P = p.dirs || (p.dirs = []);
  for (let L = 0; L < B.length; L++) {
    let [d, y, t, A = Dt] = B[L];
    d &&
      (yt(d) && (d = { mounted: d, updated: d }),
      d.deep && wi(y),
      P.push({
        dir: d,
        instance: S,
        value: y,
        oldValue: void 0,
        arg: t,
        modifiers: A,
      }));
  }
  return p;
}
function Bi(p, B, E, S) {
  const P = p.dirs,
    L = B && B.dirs;
  for (let d = 0; d < P.length; d++) {
    const y = P[d];
    L && (y.oldValue = L[d].value);
    let t = y.dir[S];
    t && (fs(), Me(t, E, 8, [p.el, y, p, B]), ds());
  }
}
/*! #__NO_SIDE_EFFECTS__ */ function su(p, B) {
  return yt(p) ? ie({ name: p.name }, B, { setup: p }) : p;
}
const Qs = (p) => !!p.type.__asyncLoader,
  nu = (p) => p.type.__isKeepAlive;
function fc(p, B) {
  ru(p, "a", B);
}
function dc(p, B) {
  ru(p, "da", B);
}
function ru(p, B, E = te) {
  const S =
    p.__wdc ||
    (p.__wdc = () => {
      let P = E;
      for (; P; ) {
        if (P.isDeactivated) return;
        P = P.parent;
      }
      return p();
    });
  if ((Mr(B, S, E), E)) {
    let P = E.parent;
    for (; P && P.parent; )
      (nu(P.parent.vnode) && cc(S, B, E, P), (P = P.parent));
  }
}
function cc(p, B, E, S) {
  const P = Mr(B, p, S, !0);
  XA(() => {
    UA(S[B], P);
  }, E);
}
function Mr(p, B, E = te, S = !1) {
  if (E) {
    const P = E[p] || (E[p] = []),
      L =
        B.__weh ||
        (B.__weh = (...d) => {
          if (E.isUnmounted) return;
          (fs(), as(E));
          const y = Me(B, E, p, d);
          return (Li(), ds(), y);
        });
    return (S ? P.unshift(L) : P.push(L), L);
  }
}
const ke =
    (p) =>
    (B, E = te) =>
      (!js || p === "sp") && Mr(p, (...S) => B(...S), E),
  vc = ke("bm"),
  on = ke("m"),
  pc = ke("bu"),
  gc = ke("u"),
  mc = ke("bum"),
  XA = ke("um"),
  xc = ke("sp"),
  Bc = ke("rtg"),
  yc = ke("rtc");
function Cc(p, B = te) {
  Mr("ec", p, B);
}
function Pr(p, B, E, S) {
  let P;
  const L = E && E[S];
  if (gt(p) || Jt(p)) {
    P = new Array(p.length);
    for (let d = 0, y = p.length; d < y; d++)
      P[d] = B(p[d], d, void 0, L && L[d]);
  } else if (typeof p == "number") {
    P = new Array(p);
    for (let d = 0; d < p; d++) P[d] = B(d + 1, d, void 0, L && L[d]);
  } else if (Qt(p))
    if (p[Symbol.iterator])
      P = Array.from(p, (d, y) => B(d, y, void 0, L && L[y]));
    else {
      const d = Object.keys(p);
      P = new Array(d.length);
      for (let y = 0, t = d.length; y < t; y++) {
        const A = d[y];
        P[y] = B(p[A], A, y, L && L[y]);
      }
    }
  else P = [];
  return (E && (E[S] = P), P);
}
function Tc(p, B, E = {}, S, P) {
  if (Ae.isCE || (Ae.parent && Qs(Ae.parent) && Ae.parent.isCE))
    return (B !== "default" && (E.name = B), Gt("slot", E, S && S()));
  let L = p[B];
  (L && L._c && (L._d = !1), mt());
  const d = L && au(L(E)),
    y = Mi(
      It,
      { key: E.key || (d && d.key) || `_${B}` },
      d || (S ? S() : []),
      d && p._ === 1 ? 64 : -2,
    );
  return (
    !P && y.scopeId && (y.slotScopeIds = [y.scopeId + "-s"]),
    L && L._c && (L._d = !0),
    y
  );
}
function au(p) {
  return p.some((B) =>
    rr(B) ? !(B.type === vi || (B.type === It && !au(B.children))) : !0,
  )
    ? p
    : null;
}
const Ga = (p) => (p ? (gu(p) ? Lr(p) || p.proxy : Ga(p.parent)) : null),
  Ds = ie(Object.create(null), {
    $: (p) => p,
    $el: (p) => p.vnode.el,
    $data: (p) => p.data,
    $props: (p) => p.props,
    $attrs: (p) => p.attrs,
    $slots: (p) => p.slots,
    $refs: (p) => p.refs,
    $parent: (p) => Ga(p.parent),
    $root: (p) => Ga(p.root),
    $emit: (p) => p.emit,
    $options: (p) => YA(p),
    $forceUpdate: (p) => p.f || (p.f = () => bA(p.update)),
    $nextTick: (p) => p.n || (p.n = kl.bind(p.proxy)),
    $watch: (p) => uc.bind(p),
  }),
  qr = (p, B) => p !== Dt && !p.__isScriptSetup && Ft(p, B),
  Ec = {
    get({ _: p }, B) {
      const {
        ctx: E,
        setupState: S,
        data: P,
        props: L,
        accessCache: d,
        type: y,
        appContext: t,
      } = p;
      let A;
      if (B[0] !== "$") {
        const n = d[B];
        if (n !== void 0)
          switch (n) {
            case 1:
              return S[B];
            case 2:
              return P[B];
            case 4:
              return E[B];
            case 3:
              return L[B];
          }
        else {
          if (qr(S, B)) return ((d[B] = 1), S[B]);
          if (P !== Dt && Ft(P, B)) return ((d[B] = 2), P[B]);
          if ((A = p.propsOptions[0]) && Ft(A, B)) return ((d[B] = 3), L[B]);
          if (E !== Dt && Ft(E, B)) return ((d[B] = 4), E[B]);
          ba && (d[B] = 0);
        }
      }
      const c = Ds[B];
      let a, r;
      if (c) return (B === "$attrs" && ve(p, "get", B), c(p));
      if ((a = y.__cssModules) && (a = a[B])) return a;
      if (E !== Dt && Ft(E, B)) return ((d[B] = 4), E[B]);
      if (((r = t.config.globalProperties), Ft(r, B))) return r[B];
    },
    set({ _: p }, B, E) {
      const { data: S, setupState: P, ctx: L } = p;
      return qr(P, B)
        ? ((P[B] = E), !0)
        : S !== Dt && Ft(S, B)
          ? ((S[B] = E), !0)
          : Ft(p.props, B) || (B[0] === "$" && B.slice(1) in p)
            ? !1
            : ((L[B] = E), !0);
    },
    has(
      {
        _: {
          data: p,
          setupState: B,
          accessCache: E,
          ctx: S,
          appContext: P,
          propsOptions: L,
        },
      },
      d,
    ) {
      let y;
      return (
        !!E[d] ||
        (p !== Dt && Ft(p, d)) ||
        qr(B, d) ||
        ((y = L[0]) && Ft(y, d)) ||
        Ft(S, d) ||
        Ft(Ds, d) ||
        Ft(P.config.globalProperties, d)
      );
    },
    defineProperty(p, B, E) {
      return (
        E.get != null
          ? (p._.accessCache[B] = 0)
          : Ft(E, "value") && this.set(p, B, E.value, null),
        Reflect.defineProperty(p, B, E)
      );
    },
  };
function Eo(p) {
  return gt(p) ? p.reduce((B, E) => ((B[E] = null), B), {}) : p;
}
let ba = !0;
function Fc(p) {
  const B = YA(p),
    E = p.proxy,
    S = p.ctx;
  ((ba = !1), B.beforeCreate && Fo(B.beforeCreate, p, "bc"));
  const {
    data: P,
    computed: L,
    methods: d,
    watch: y,
    provide: t,
    inject: A,
    created: c,
    beforeMount: a,
    mounted: r,
    beforeUpdate: n,
    updated: e,
    activated: s,
    deactivated: u,
    beforeDestroy: i,
    beforeUnmount: o,
    destroyed: h,
    unmounted: l,
    render: f,
    renderTracked: v,
    renderTriggered: m,
    errorCaptured: x,
    serverPrefetch: g,
    expose: C,
    inheritAttrs: T,
    components: F,
    directives: w,
    filters: U,
  } = B;
  if ((A && Sc(A, S, null), d))
    for (const O in d) {
      const D = d[O];
      yt(D) && (S[O] = D.bind(E));
    }
  if (P) {
    const O = P.call(E, E);
    Qt(O) && (p.data = rn(O));
  }
  if (((ba = !0), L))
    for (const O in L) {
      const D = L[O],
        G = yt(D) ? D.bind(E, E) : yt(D.get) ? D.get.bind(E, E) : He,
        X = !yt(D) && yt(D.set) ? D.set.bind(E) : He,
        z = qt({ get: G, set: X });
      Object.defineProperty(S, O, {
        enumerable: !0,
        configurable: !0,
        get: () => z.value,
        set: (K) => (z.value = K),
      });
    }
  if (y) for (const O in y) Au(y[O], S, E, O);
  if (t) {
    const O = yt(t) ? t.call(E) : t;
    Reflect.ownKeys(O).forEach((D) => {
      Wn(D, O[D]);
    });
  }
  c && Fo(c, p, "c");
  function I(O, D) {
    gt(D) ? D.forEach((G) => O(G.bind(E))) : D && O(D.bind(E));
  }
  if (
    (I(vc, a),
    I(on, r),
    I(pc, n),
    I(gc, e),
    I(fc, s),
    I(dc, u),
    I(Cc, x),
    I(yc, v),
    I(Bc, m),
    I(mc, o),
    I(XA, l),
    I(xc, g),
    gt(C))
  )
    if (C.length) {
      const O = p.exposed || (p.exposed = {});
      C.forEach((D) => {
        Object.defineProperty(O, D, {
          get: () => E[D],
          set: (G) => (E[D] = G),
        });
      });
    } else p.exposed || (p.exposed = {});
  (f && p.render === He && (p.render = f),
    T != null && (p.inheritAttrs = T),
    F && (p.components = F),
    w && (p.directives = w));
}
function Sc(p, B, E = He) {
  gt(p) && (p = Va(p));
  for (const S in p) {
    const P = p[S];
    let L;
    (Qt(P)
      ? "default" in P
        ? (L = Je(P.from || S, P.default, !0))
        : (L = Je(P.from || S))
      : (L = Je(P)),
      ae(L)
        ? Object.defineProperty(B, S, {
            enumerable: !0,
            configurable: !0,
            get: () => L.value,
            set: (d) => (L.value = d),
          })
        : (B[S] = L));
  }
}
function Fo(p, B, E) {
  Me(gt(p) ? p.map((S) => S.bind(B.proxy)) : p.bind(B.proxy), B, E);
}
function Au(p, B, E, S) {
  const P = S.includes(".") ? iu(E, S) : () => E[S];
  if (Jt(p)) {
    const L = B[p];
    yt(L) && _i(P, L);
  } else if (yt(p)) _i(P, p.bind(E));
  else if (Qt(p))
    if (gt(p)) p.forEach((L) => Au(L, B, E, S));
    else {
      const L = yt(p.handler) ? p.handler.bind(E) : B[p.handler];
      yt(L) && _i(P, L, p);
    }
}
function YA(p) {
  const B = p.type,
    { mixins: E, extends: S } = B,
    {
      mixins: P,
      optionsCache: L,
      config: { optionMergeStrategies: d },
    } = p.appContext,
    y = L.get(B);
  let t;
  return (
    y
      ? (t = y)
      : !P.length && !E && !S
        ? (t = B)
        : ((t = {}),
          P.length && P.forEach((A) => sr(t, A, d, !0)),
          sr(t, B, d)),
    Qt(B) && L.set(B, t),
    t
  );
}
function sr(p, B, E, S = !1) {
  const { mixins: P, extends: L } = B;
  (L && sr(p, L, E, !0), P && P.forEach((d) => sr(p, d, E, !0)));
  for (const d in B)
    if (!(S && d === "expose")) {
      const y = wc[d] || (E && E[d]);
      p[d] = y ? y(p[d], B[d]) : B[d];
    }
  return p;
}
const wc = {
  data: So,
  props: wo,
  emits: wo,
  methods: ws,
  computed: ws,
  beforeCreate: oe,
  created: oe,
  beforeMount: oe,
  mounted: oe,
  beforeUpdate: oe,
  updated: oe,
  beforeDestroy: oe,
  beforeUnmount: oe,
  destroyed: oe,
  unmounted: oe,
  activated: oe,
  deactivated: oe,
  errorCaptured: oe,
  serverPrefetch: oe,
  components: ws,
  directives: ws,
  watch: Pc,
  provide: So,
  inject: Mc,
};
function So(p, B) {
  return B
    ? p
      ? function () {
          return ie(
            yt(p)
              ? p.call(this, _____WB$wombat$check$this$function_____(this))
              : p,
            yt(B)
              ? B.call(this, _____WB$wombat$check$this$function_____(this))
              : B,
          );
        }
      : B
    : p;
}
function Mc(p, B) {
  return ws(Va(p), Va(B));
}
function Va(p) {
  if (gt(p)) {
    const B = {};
    for (let E = 0; E < p.length; E++) B[p[E]] = p[E];
    return B;
  }
  return p;
}
function oe(p, B) {
  return p ? [...new Set([].concat(p, B))] : B;
}
function ws(p, B) {
  return p ? ie(Object.create(null), p, B) : B;
}
function wo(p, B) {
  return p
    ? gt(p) && gt(B)
      ? [...new Set([...p, ...B])]
      : ie(Object.create(null), Eo(p), Eo(B ?? {}))
    : B;
}
function Pc(p, B) {
  if (!p) return B;
  if (!B) return p;
  const E = ie(Object.create(null), p);
  for (const S in B) E[S] = oe(p[S], B[S]);
  return E;
}
function ou() {
  return {
    app: null,
    config: {
      isNativeTag: ud,
      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 Uc = 0;
function Rc(p, B) {
  return function (S, P = null) {
    (yt(S) || (S = ie({}, S)), P != null && !Qt(P) && (P = null));
    const L = ou(),
      d = new WeakSet();
    let y = !1;
    const t = (L.app = {
      _uid: Uc++,
      _component: S,
      _props: P,
      _container: null,
      _context: L,
      _instance: null,
      version: nv,
      get config() {
        return L.config;
      },
      set config(A) {},
      use(A, ...c) {
        return (
          d.has(A) ||
            (A && yt(A.install)
              ? (d.add(A), A.install(t, ...c))
              : yt(A) && (d.add(A), A(t, ...c))),
          t
        );
      },
      mixin(A) {
        return (L.mixins.includes(A) || L.mixins.push(A), t);
      },
      component(A, c) {
        return c ? ((L.components[A] = c), t) : L.components[A];
      },
      directive(A, c) {
        return c ? ((L.directives[A] = c), t) : L.directives[A];
      },
      mount(A, c, a) {
        if (!y) {
          const r = Gt(S, P);
          return (
            (r.appContext = L),
            c && B ? B(r, A) : p(r, A, a),
            (y = !0),
            (t._container = A),
            (A.__vue_app__ = t),
            Lr(r.component) || r.component.proxy
          );
        }
      },
      unmount() {
        y && (p(null, t._container), delete t._container.__vue_app__);
      },
      provide(A, c) {
        return ((L.provides[A] = c), t);
      },
      runWithContext(A) {
        nr = t;
        try {
          return A();
        } finally {
          nr = null;
        }
      },
    });
    return t;
  };
}
let nr = null;
function Wn(p, B) {
  if (te) {
    let E = te.provides;
    const S = te.parent && te.parent.provides;
    (S === E && (E = te.provides = Object.create(S)), (E[p] = B));
  }
}
function Je(p, B, E = !1) {
  const S = te || Ae;
  if (S || nr) {
    const P = S
      ? S.parent == null
        ? S.vnode.appContext && S.vnode.appContext.provides
        : S.parent.provides
      : nr._context.provides;
    if (P && p in P) return P[p];
    if (arguments.length > 1) return E && yt(B) ? B.call(S && S.proxy) : B;
  }
}
function Lc(p, B, E, S = !1) {
  const P = {},
    L = {};
  (tr(L, Rr, 1), (p.propsDefaults = Object.create(null)), hu(p, B, P, L));
  for (const d in p.propsOptions[0]) d in P || (P[d] = void 0);
  (E ? (p.props = S ? P : Yl(P)) : p.type.props ? (p.props = P) : (p.props = L),
    (p.attrs = L));
}
function Ic(p, B, E, S) {
  const {
      props: P,
      attrs: L,
      vnode: { patchFlag: d },
    } = p,
    y = wt(P),
    [t] = p.propsOptions;
  let A = !1;
  if ((S || d > 0) && !(d & 16)) {
    if (d & 8) {
      const c = p.vnode.dynamicProps;
      for (let a = 0; a < c.length; a++) {
        let r = c[a];
        if (Sr(p.emitsOptions, r)) continue;
        const n = B[r];
        if (t)
          if (Ft(L, r)) n !== L[r] && ((L[r] = n), (A = !0));
          else {
            const e = ss(r);
            P[e] = Xa(t, y, e, n, p, !1);
          }
        else n !== L[r] && ((L[r] = n), (A = !0));
      }
    }
  } else {
    hu(p, B, P, L) && (A = !0);
    let c;
    for (const a in y)
      (!B || (!Ft(B, a) && ((c = us(a)) === a || !Ft(B, c)))) &&
        (t
          ? E &&
            (E[a] !== void 0 || E[c] !== void 0) &&
            (P[a] = Xa(t, y, a, void 0, p, !0))
          : delete P[a]);
    if (L !== y)
      for (const a in L) (!B || !Ft(B, a)) && (delete L[a], (A = !0));
  }
  A && Ke(p, "set", "$attrs");
}
function hu(p, B, E, S) {
  const [P, L] = p.propsOptions;
  let d = !1,
    y;
  if (B)
    for (let t in B) {
      if (Yn(t)) continue;
      const A = B[t];
      let c;
      P && Ft(P, (c = ss(t)))
        ? !L || !L.includes(c)
          ? (E[c] = A)
          : ((y || (y = {}))[c] = A)
        : Sr(p.emitsOptions, t) ||
          ((!(t in S) || A !== S[t]) && ((S[t] = A), (d = !0)));
    }
  if (L) {
    const t = wt(E),
      A = y || Dt;
    for (let c = 0; c < L.length; c++) {
      const a = L[c];
      E[a] = Xa(P, t, a, A[a], p, !Ft(A, a));
    }
  }
  return d;
}
function Xa(p, B, E, S, P, L) {
  const d = p[E];
  if (d != null) {
    const y = Ft(d, "default");
    if (y && S === void 0) {
      const t = d.default;
      if (d.type !== Function && !d.skipFactory && yt(t)) {
        const { propsDefaults: A } = P;
        E in A ? (S = A[E]) : (as(P), (S = A[E] = t.call(null, B)), Li());
      } else S = t;
    }
    d[0] &&
      (L && !y ? (S = !1) : d[1] && (S === "" || S === us(E)) && (S = !0));
  }
  return S;
}
function lu(p, B, E = !1) {
  const S = B.propsCache,
    P = S.get(p);
  if (P) return P;
  const L = p.props,
    d = {},
    y = [];
  let t = !1;
  if (!yt(p)) {
    const c = (a) => {
      t = !0;
      const [r, n] = lu(a, B, !0);
      (ie(d, r), n && y.push(...n));
    };
    (!E && B.mixins.length && B.mixins.forEach(c),
      p.extends && c(p.extends),
      p.mixins && p.mixins.forEach(c));
  }
  if (!L && !t) return (Qt(p) && S.set(p, $i), $i);
  if (gt(L))
    for (let c = 0; c < L.length; c++) {
      const a = ss(L[c]);
      Mo(a) && (d[a] = Dt);
    }
  else if (L)
    for (const c in L) {
      const a = ss(c);
      if (Mo(a)) {
        const r = L[c],
          n = (d[a] = gt(r) || yt(r) ? { type: r } : ie({}, r));
        if (n) {
          const e = Ro(Boolean, n.type),
            s = Ro(String, n.type);
          ((n[0] = e > -1),
            (n[1] = s < 0 || e < s),
            (e > -1 || Ft(n, "default")) && y.push(a));
        }
      }
    }
  const A = [d, y];
  return (Qt(p) && S.set(p, A), A);
}
function Mo(p) {
  return p[0] !== "$";
}
function Po(p) {
  const B = p && p.toString().match(/^\s*(function|class) (\w+)/);
  return B ? B[2] : p === null ? "null" : "";
}
function Uo(p, B) {
  return Po(p) === Po(B);
}
function Ro(p, B) {
  return gt(B) ? B.findIndex((E) => Uo(E, p)) : yt(B) && Uo(B, p) ? 0 : -1;
}
const uu = (p) => p[0] === "_" || p === "$stable",
  zA = (p) => (gt(p) ? p.map(Oe) : [Oe(p)]),
  Oc = (p, B, E) => {
    if (B._n) return B;
    const S = Ri((...P) => zA(B(...P)), E);
    return ((S._c = !1), S);
  },
  fu = (p, B, E) => {
    const S = p._ctx;
    for (const P in p) {
      if (uu(P)) continue;
      const L = p[P];
      if (yt(L)) B[P] = Oc(P, L, S);
      else if (L != null) {
        const d = zA(L);
        B[P] = () => d;
      }
    }
  },
  du = (p, B) => {
    const E = zA(B);
    p.slots.default = () => E;
  },
  Qc = (p, B) => {
    if (p.vnode.shapeFlag & 32) {
      const E = B._;
      E ? ((p.slots = wt(B)), tr(B, "_", E)) : fu(B, (p.slots = {}));
    } else ((p.slots = {}), B && du(p, B));
    tr(p.slots, Rr, 1);
  },
  Dc = (p, B, E) => {
    const { vnode: S, slots: P } = p;
    let L = !0,
      d = Dt;
    if (S.shapeFlag & 32) {
      const y = B._;
      (y
        ? E && y === 1
          ? (L = !1)
          : (ie(P, B), !E && y === 1 && delete P._)
        : ((L = !B.$stable), fu(B, P)),
        (d = B));
    } else B && (du(p, B), (d = { default: 1 }));
    if (L) for (const y in P) !uu(y) && d[y] == null && delete P[y];
  };
function Ya(p, B, E, S, P = !1) {
  if (gt(p)) {
    p.forEach((r, n) => Ya(r, B && (gt(B) ? B[n] : B), E, S, P));
    return;
  }
  if (Qs(S) && !P) return;
  const L = S.shapeFlag & 4 ? Lr(S.component) || S.component.proxy : S.el,
    d = P ? null : L,
    { i: y, r: t } = p,
    A = B && B.r,
    c = y.refs === Dt ? (y.refs = {}) : y.refs,
    a = y.setupState;
  if (
    (A != null &&
      A !== t &&
      (Jt(A)
        ? ((c[A] = null), Ft(a, A) && (a[A] = null))
        : ae(A) && (A.value = null)),
    yt(t))
  )
    li(t, y, 12, [d, c]);
  else {
    const r = Jt(t),
      n = ae(t);
    if (r || n) {
      const e = () => {
        if (p.f) {
          const s = r ? (Ft(a, t) ? a[t] : c[t]) : t.value;
          P
            ? gt(s) && UA(s, L)
            : gt(s)
              ? s.includes(L) || s.push(L)
              : r
                ? ((c[t] = [L]), Ft(a, t) && (a[t] = c[t]))
                : ((t.value = [L]), p.k && (c[p.k] = t.value));
        } else
          r
            ? ((c[t] = d), Ft(a, t) && (a[t] = d))
            : n && ((t.value = d), p.k && (c[p.k] = d));
      };
      d ? ((e.id = -1), fe(e, E)) : e();
    }
  }
}
const fe = hc;
function Hc(p) {
  return Nc(p);
}
function Nc(p, B) {
  const E = Ia();
  E.__VUE__ = !0;
  const {
      insert: S,
      remove: P,
      patchProp: L,
      createElement: d,
      createText: y,
      createComment: t,
      setText: A,
      setElementText: c,
      parentNode: a,
      nextSibling: r,
      setScopeId: n = He,
      insertStaticContent: e,
    } = p,
    s = (
      W,
      Z,
      j,
      k = null,
      _ = null,
      q = null,
      et = !1,
      st = null,
      nt = !!Z.dynamicChildren,
    ) => {
      if (W === Z) return;
      (W && !gs(W, Z) && ((k = Q(W)), K(W, _, q, !0), (W = null)),
        Z.patchFlag === -2 && ((nt = !1), (Z.dynamicChildren = null)));
      const { type: it, ref: tt, shapeFlag: rt } = Z;
      switch (it) {
        case Ur:
          u(W, Z, j, k);
          break;
        case vi:
          i(W, Z, j, k);
          break;
        case Hs:
          W == null && o(Z, j, k, et);
          break;
        case It:
          F(W, Z, j, k, _, q, et, st, nt);
          break;
        default:
          rt & 1
            ? f(W, Z, j, k, _, q, et, st, nt)
            : rt & 6
              ? w(W, Z, j, k, _, q, et, st, nt)
              : (rt & 64 || rt & 128) &&
                it.process(W, Z, j, k, _, q, et, st, nt, Y);
      }
      tt != null && _ && Ya(tt, W && W.ref, q, Z || W, !Z);
    },
    u = (W, Z, j, k) => {
      if (W == null) S((Z.el = y(Z.children)), j, k);
      else {
        const _ = (Z.el = W.el);
        Z.children !== W.children && A(_, Z.children);
      }
    },
    i = (W, Z, j, k) => {
      W == null ? S((Z.el = t(Z.children || "")), j, k) : (Z.el = W.el);
    },
    o = (W, Z, j, k) => {
      [W.el, W.anchor] = e(W.children, Z, j, k, W.el, W.anchor);
    },
    h = ({ el: W, anchor: Z }, j, k) => {
      let _;
      for (; W && W !== Z; ) ((_ = r(W)), S(W, j, k), (W = _));
      S(Z, j, k);
    },
    l = ({ el: W, anchor: Z }) => {
      let j;
      for (; W && W !== Z; ) ((j = r(W)), P(W), (W = j));
      P(Z);
    },
    f = (W, Z, j, k, _, q, et, st, nt) => {
      ((et = et || Z.type === "svg"),
        W == null ? v(Z, j, k, _, q, et, st, nt) : g(W, Z, _, q, et, st, nt));
    },
    v = (W, Z, j, k, _, q, et, st) => {
      let nt, it;
      const {
        type: tt,
        props: rt,
        shapeFlag: at,
        transition: ot,
        dirs: lt,
      } = W;
      if (
        ((nt = W.el = d(W.type, q, rt && rt.is, rt)),
        at & 8
          ? c(nt, W.children)
          : at & 16 &&
            x(W.children, nt, null, k, _, q && tt !== "foreignObject", et, st),
        lt && Bi(W, null, k, "created"),
        m(nt, W, W.scopeId, et, k),
        rt)
      ) {
        for (const dt in rt)
          dt !== "value" &&
            !Yn(dt) &&
            L(nt, dt, null, rt[dt], q, W.children, k, _, H);
        ("value" in rt && L(nt, "value", null, rt.value),
          (it = rt.onVnodeBeforeMount) && Le(it, k, W));
      }
      lt && Bi(W, null, k, "beforeMount");
      const vt = Gc(_, ot);
      (vt && ot.beforeEnter(nt),
        S(nt, Z, j),
        ((it = rt && rt.onVnodeMounted) || vt || lt) &&
          fe(() => {
            (it && Le(it, k, W),
              vt && ot.enter(nt),
              lt && Bi(W, null, k, "mounted"));
          }, _));
    },
    m = (W, Z, j, k, _) => {
      if ((j && n(W, j), k)) for (let q = 0; q < k.length; q++) n(W, k[q]);
      if (_) {
        let q = _.subTree;
        if (Z === q) {
          const et = _.vnode;
          m(W, et, et.scopeId, et.slotScopeIds, _.parent);
        }
      }
    },
    x = (W, Z, j, k, _, q, et, st, nt = 0) => {
      for (let it = nt; it < W.length; it++) {
        const tt = (W[it] = st ? si(W[it]) : Oe(W[it]));
        s(null, tt, Z, j, k, _, q, et, st);
      }
    },
    g = (W, Z, j, k, _, q, et) => {
      const st = (Z.el = W.el);
      let { patchFlag: nt, dynamicChildren: it, dirs: tt } = Z;
      nt |= W.patchFlag & 16;
      const rt = W.props || Dt,
        at = Z.props || Dt;
      let ot;
      (j && yi(j, !1),
        (ot = at.onVnodeBeforeUpdate) && Le(ot, j, Z, W),
        tt && Bi(Z, W, j, "beforeUpdate"),
        j && yi(j, !0));
      const lt = _ && Z.type !== "foreignObject";
      if (
        (it
          ? C(W.dynamicChildren, it, st, j, k, lt, q)
          : et || D(W, Z, st, null, j, k, lt, q, !1),
        nt > 0)
      ) {
        if (nt & 16) T(st, Z, rt, at, j, k, _);
        else if (
          (nt & 2 && rt.class !== at.class && L(st, "class", null, at.class, _),
          nt & 4 && L(st, "style", rt.style, at.style, _),
          nt & 8)
        ) {
          const vt = Z.dynamicProps;
          for (let dt = 0; dt < vt.length; dt++) {
            const ct = vt[dt],
              pt = rt[ct],
              Ut = at[ct];
            (Ut !== pt || ct === "value") &&
              L(st, ct, pt, Ut, _, W.children, j, k, H);
          }
        }
        nt & 1 && W.children !== Z.children && c(st, Z.children);
      } else !et && it == null && T(st, Z, rt, at, j, k, _);
      ((ot = at.onVnodeUpdated) || tt) &&
        fe(() => {
          (ot && Le(ot, j, Z, W), tt && Bi(Z, W, j, "updated"));
        }, k);
    },
    C = (W, Z, j, k, _, q, et) => {
      for (let st = 0; st < Z.length; st++) {
        const nt = W[st],
          it = Z[st],
          tt =
            nt.el && (nt.type === It || !gs(nt, it) || nt.shapeFlag & 70)
              ? a(nt.el)
              : j;
        s(nt, it, tt, null, k, _, q, et, !0);
      }
    },
    T = (W, Z, j, k, _, q, et) => {
      if (j !== k) {
        if (j !== Dt)
          for (const st in j)
            !Yn(st) &&
              !(st in k) &&
              L(W, st, j[st], null, et, Z.children, _, q, H);
        for (const st in k) {
          if (Yn(st)) continue;
          const nt = k[st],
            it = j[st];
          nt !== it &&
            st !== "value" &&
            L(W, st, it, nt, et, Z.children, _, q, H);
        }
        "value" in k && L(W, "value", j.value, k.value);
      }
    },
    F = (W, Z, j, k, _, q, et, st, nt) => {
      const it = (Z.el = W ? W.el : y("")),
        tt = (Z.anchor = W ? W.anchor : y(""));
      let { patchFlag: rt, dynamicChildren: at, slotScopeIds: ot } = Z;
      (ot && (st = st ? st.concat(ot) : ot),
        W == null
          ? (S(it, j, k), S(tt, j, k), x(Z.children, j, tt, _, q, et, st, nt))
          : rt > 0 && rt & 64 && at && W.dynamicChildren
            ? (C(W.dynamicChildren, at, j, _, q, et, st),
              (Z.key != null || (_ && Z === _.subTree)) && cu(W, Z, !0))
            : D(W, Z, j, tt, _, q, et, st, nt));
    },
    w = (W, Z, j, k, _, q, et, st, nt) => {
      ((Z.slotScopeIds = st),
        W == null
          ? Z.shapeFlag & 512
            ? _.ctx.activate(Z, j, k, et, nt)
            : U(Z, j, k, _, q, et, nt)
          : M(W, Z, nt));
    },
    U = (W, Z, j, k, _, q, et) => {
      const st = (W.component = $c(W, k, _));
      if ((nu(W) && (st.ctx.renderer = Y), kc(st), st.asyncDep)) {
        if ((_ && _.registerDep(st, I), !W.el)) {
          const nt = (st.subTree = Gt(vi));
          i(null, nt, Z, j);
        }
        return;
      }
      I(st, W, Z, j, _, q, et);
    },
    M = (W, Z, j) => {
      const k = (Z.component = W.component);
      if (rc(W, Z, j))
        if (k.asyncDep && !k.asyncResolved) {
          O(k, Z, j);
          return;
        } else ((k.next = Z), _d(k.update), k.update());
      else ((Z.el = W.el), (k.vnode = Z));
    },
    I = (W, Z, j, k, _, q, et) => {
      const st = () => {
          if (W.isMounted) {
            let { next: tt, bu: rt, u: at, parent: ot, vnode: lt } = W,
              vt = tt,
              dt;
            (yi(W, !1),
              tt ? ((tt.el = lt.el), O(W, tt, et)) : (tt = lt),
              rt && zn(rt),
              (dt = tt.props && tt.props.onVnodeBeforeUpdate) &&
                Le(dt, ot, tt, lt),
              yi(W, !0));
            const ct = kr(W),
              pt = W.subTree;
            ((W.subTree = ct),
              s(pt, ct, a(pt.el), Q(pt), W, _, q),
              (tt.el = ct.el),
              vt === null && ac(W, ct.el),
              at && fe(at, _),
              (dt = tt.props && tt.props.onVnodeUpdated) &&
                fe(() => Le(dt, ot, tt, lt), _));
          } else {
            let tt;
            const { el: rt, props: at } = Z,
              { bm: ot, m: lt, parent: vt } = W,
              dt = Qs(Z);
            if (
              (yi(W, !1),
              ot && zn(ot),
              !dt && (tt = at && at.onVnodeBeforeMount) && Le(tt, vt, Z),
              yi(W, !0),
              rt && $)
            ) {
              const ct = () => {
                ((W.subTree = kr(W)), $(rt, W.subTree, W, _, null));
              };
              dt
                ? Z.type.__asyncLoader().then(() => !W.isUnmounted && ct())
                : ct();
            } else {
              const ct = (W.subTree = kr(W));
              (s(null, ct, j, k, W, _, q), (Z.el = ct.el));
            }
            if ((lt && fe(lt, _), !dt && (tt = at && at.onVnodeMounted))) {
              const ct = Z;
              fe(() => Le(tt, vt, ct), _);
            }
            ((Z.shapeFlag & 256 ||
              (vt && Qs(vt.vnode) && vt.vnode.shapeFlag & 256)) &&
              W.a &&
              fe(W.a, _),
              (W.isMounted = !0),
              (Z = j = k = null));
          }
        },
        nt = (W.effect = new IA(st, () => bA(it), W.scope)),
        it = (W.update = () => nt.run());
      ((it.id = W.uid), yi(W, !0), it());
    },
    O = (W, Z, j) => {
      Z.component = W;
      const k = W.vnode.props;
      ((W.vnode = Z),
        (W.next = null),
        Ic(W, Z.props, k, j),
        Dc(W, Z.children, j),
        fs(),
        Co(W),
        ds());
    },
    D = (W, Z, j, k, _, q, et, st, nt = !1) => {
      const it = W && W.children,
        tt = W ? W.shapeFlag : 0,
        rt = Z.children,
        { patchFlag: at, shapeFlag: ot } = Z;
      if (at > 0) {
        if (at & 128) {
          X(it, rt, j, k, _, q, et, st, nt);
          return;
        } else if (at & 256) {
          G(it, rt, j, k, _, q, et, st, nt);
          return;
        }
      }
      ot & 8
        ? (tt & 16 && H(it, _, q), rt !== it && c(j, rt))
        : tt & 16
          ? ot & 16
            ? X(it, rt, j, k, _, q, et, st, nt)
            : H(it, _, q, !0)
          : (tt & 8 && c(j, ""), ot & 16 && x(rt, j, k, _, q, et, st, nt));
    },
    G = (W, Z, j, k, _, q, et, st, nt) => {
      ((W = W || $i), (Z = Z || $i));
      const it = W.length,
        tt = Z.length,
        rt = Math.min(it, tt);
      let at;
      for (at = 0; at < rt; at++) {
        const ot = (Z[at] = nt ? si(Z[at]) : Oe(Z[at]));
        s(W[at], ot, j, null, _, q, et, st, nt);
      }
      it > tt ? H(W, _, q, !0, !1, rt) : x(Z, j, k, _, q, et, st, nt, rt);
    },
    X = (W, Z, j, k, _, q, et, st, nt) => {
      let it = 0;
      const tt = Z.length;
      let rt = W.length - 1,
        at = tt - 1;
      for (; it <= rt && it <= at; ) {
        const ot = W[it],
          lt = (Z[it] = nt ? si(Z[it]) : Oe(Z[it]));
        if (gs(ot, lt)) s(ot, lt, j, null, _, q, et, st, nt);
        else break;
        it++;
      }
      for (; it <= rt && it <= at; ) {
        const ot = W[rt],
          lt = (Z[at] = nt ? si(Z[at]) : Oe(Z[at]));
        if (gs(ot, lt)) s(ot, lt, j, null, _, q, et, st, nt);
        else break;
        (rt--, at--);
      }
      if (it > rt) {
        if (it <= at) {
          const ot = at + 1,
            lt = ot < tt ? Z[ot].el : k;
          for (; it <= at; )
            (s(
              null,
              (Z[it] = nt ? si(Z[it]) : Oe(Z[it])),
              j,
              lt,
              _,
              q,
              et,
              st,
              nt,
            ),
              it++);
        }
      } else if (it > at) for (; it <= rt; ) (K(W[it], _, q, !0), it++);
      else {
        const ot = it,
          lt = it,
          vt = new Map();
        for (it = lt; it <= at; it++) {
          const Lt = (Z[it] = nt ? si(Z[it]) : Oe(Z[it]));
          Lt.key != null && vt.set(Lt.key, it);
        }
        let dt,
          ct = 0;
        const pt = at - lt + 1;
        let Ut = !1,
          St = 0;
        const Ht = new Array(pt);
        for (it = 0; it < pt; it++) Ht[it] = 0;
        for (it = ot; it <= rt; it++) {
          const Lt = W[it];
          if (ct >= pt) {
            K(Lt, _, q, !0);
            continue;
          }
          let $t;
          if (Lt.key != null) $t = vt.get(Lt.key);
          else
            for (dt = lt; dt <= at; dt++)
              if (Ht[dt - lt] === 0 && gs(Lt, Z[dt])) {
                $t = dt;
                break;
              }
          $t === void 0
            ? K(Lt, _, q, !0)
            : ((Ht[$t - lt] = it + 1),
              $t >= St ? (St = $t) : (Ut = !0),
              s(Lt, Z[$t], j, null, _, q, et, st, nt),
              ct++);
        }
        const Xt = Ut ? bc(Ht) : $i;
        for (dt = Xt.length - 1, it = pt - 1; it >= 0; it--) {
          const Lt = lt + it,
            $t = Z[Lt],
            Re = Lt + 1 < tt ? Z[Lt + 1].el : k;
          Ht[it] === 0
            ? s(null, $t, j, Re, _, q, et, st, nt)
            : Ut && (dt < 0 || it !== Xt[dt] ? z($t, j, Re, 2) : dt--);
        }
      }
    },
    z = (W, Z, j, k, _ = null) => {
      const {
        el: q,
        type: et,
        transition: st,
        children: nt,
        shapeFlag: it,
      } = W;
      if (it & 6) {
        z(W.component.subTree, Z, j, k);
        return;
      }
      if (it & 128) {
        W.suspense.move(Z, j, k);
        return;
      }
      if (it & 64) {
        et.move(W, Z, j, Y);
        return;
      }
      if (et === It) {
        S(q, Z, j);
        for (let rt = 0; rt < nt.length; rt++) z(nt[rt], Z, j, k);
        S(W.anchor, Z, j);
        return;
      }
      if (et === Hs) {
        h(W, Z, j);
        return;
      }
      if (k !== 2 && it & 1 && st)
        if (k === 0) (st.beforeEnter(q), S(q, Z, j), fe(() => st.enter(q), _));
        else {
          const { leave: rt, delayLeave: at, afterLeave: ot } = st,
            lt = () => S(q, Z, j),
            vt = () => {
              rt(q, () => {
                (lt(), ot && ot());
              });
            };
          at ? at(q, lt, vt) : vt();
        }
      else S(q, Z, j);
    },
    K = (W, Z, j, k = !1, _ = !1) => {
      const {
        type: q,
        props: et,
        ref: st,
        children: nt,
        dynamicChildren: it,
        shapeFlag: tt,
        patchFlag: rt,
        dirs: at,
      } = W;
      if ((st != null && Ya(st, null, j, W, !0), tt & 256)) {
        Z.ctx.deactivate(W);
        return;
      }
      const ot = tt & 1 && at,
        lt = !Qs(W);
      let vt;
      if ((lt && (vt = et && et.onVnodeBeforeUnmount) && Le(vt, Z, W), tt & 6))
        R(W.component, j, k);
      else {
        if (tt & 128) {
          W.suspense.unmount(j, k);
          return;
        }
        (ot && Bi(W, null, Z, "beforeUnmount"),
          tt & 64
            ? W.type.remove(W, Z, j, _, Y, k)
            : it && (q !== It || (rt > 0 && rt & 64))
              ? H(it, Z, j, !1, !0)
              : ((q === It && rt & 384) || (!_ && tt & 16)) && H(nt, Z, j),
          k && N(W));
      }
      ((lt && (vt = et && et.onVnodeUnmounted)) || ot) &&
        fe(() => {
          (vt && Le(vt, Z, W), ot && Bi(W, null, Z, "unmounted"));
        }, j);
    },
    N = (W) => {
      const { type: Z, el: j, anchor: k, transition: _ } = W;
      if (Z === It) {
        b(j, k);
        return;
      }
      if (Z === Hs) {
        l(W);
        return;
      }
      const q = () => {
        (P(j), _ && !_.persisted && _.afterLeave && _.afterLeave());
      };
      if (W.shapeFlag & 1 && _ && !_.persisted) {
        const { leave: et, delayLeave: st } = _,
          nt = () => et(j, q);
        st ? st(W.el, q, nt) : nt();
      } else q();
    },
    b = (W, Z) => {
      let j;
      for (; W !== Z; ) ((j = r(W)), P(W), (W = j));
      P(Z);
    },
    R = (W, Z, j) => {
      const { bum: k, scope: _, update: q, subTree: et, um: st } = W;
      (k && zn(k),
        _.stop(),
        q && ((q.active = !1), K(et, W, Z, j)),
        st && fe(st, Z),
        fe(() => {
          W.isUnmounted = !0;
        }, Z),
        Z &&
          Z.pendingBranch &&
          !Z.isUnmounted &&
          W.asyncDep &&
          !W.asyncResolved &&
          W.suspenseId === Z.pendingId &&
          (Z.deps--, Z.deps === 0 && Z.resolve()));
    },
    H = (W, Z, j, k = !1, _ = !1, q = 0) => {
      for (let et = q; et < W.length; et++) K(W[et], Z, j, k, _);
    },
    Q = (W) =>
      W.shapeFlag & 6
        ? Q(W.component.subTree)
        : W.shapeFlag & 128
          ? W.suspense.next()
          : r(W.anchor || W.el),
    V = (W, Z, j) => {
      (W == null
        ? Z._vnode && K(Z._vnode, null, null, !0)
        : s(Z._vnode || null, W, Z, null, null, null, j),
        Co(),
        _l(),
        (Z._vnode = W));
    },
    Y = { p: s, um: K, m: z, r: N, mt: U, mc: x, pc: D, pbc: C, n: Q, o: p };
  let J, $;
  return (B && ([J, $] = B(Y)), { render: V, hydrate: J, createApp: Rc(V, J) });
}
function yi({ effect: p, update: B }, E) {
  p.allowRecurse = B.allowRecurse = E;
}
function Gc(p, B) {
  return (!p || (p && !p.pendingBranch)) && B && !B.persisted;
}
function cu(p, B, E = !1) {
  const S = p.children,
    P = B.children;
  if (gt(S) && gt(P))
    for (let L = 0; L < S.length; L++) {
      const d = S[L];
      let y = P[L];
      (y.shapeFlag & 1 &&
        !y.dynamicChildren &&
        ((y.patchFlag <= 0 || y.patchFlag === 32) &&
          ((y = P[L] = si(P[L])), (y.el = d.el)),
        E || cu(d, y)),
        y.type === Ur && (y.el = d.el));
    }
}
function bc(p) {
  const B = p.slice(),
    E = [0];
  let S, P, L, d, y;
  const t = p.length;
  for (S = 0; S < t; S++) {
    const A = p[S];
    if (A !== 0) {
      if (((P = E[E.length - 1]), p[P] < A)) {
        ((B[S] = P), E.push(S));
        continue;
      }
      for (L = 0, d = E.length - 1; L < d; )
        ((y = (L + d) >> 1), p[E[y]] < A ? (L = y + 1) : (d = y));
      A < p[E[L]] && (L > 0 && (B[S] = E[L - 1]), (E[L] = S));
    }
  }
  for (L = E.length, d = E[L - 1]; L-- > 0; ) ((E[L] = d), (d = B[d]));
  return E;
}
const Vc = (p) => p.__isTeleport,
  It = Symbol.for("v-fgt"),
  Ur = Symbol.for("v-txt"),
  vi = Symbol.for("v-cmt"),
  Hs = Symbol.for("v-stc"),
  Ns = [];
let we = null;
function mt(p = !1) {
  Ns.push((we = p ? null : []));
}
function Xc() {
  (Ns.pop(), (we = Ns[Ns.length - 1] || null));
}
let $s = 1;
function Lo(p) {
  $s += p;
}
function vu(p) {
  return (
    (p.dynamicChildren = $s > 0 ? we || $i : null),
    Xc(),
    $s > 0 && we && we.push(p),
    p
  );
}
function Bt(p, B, E, S, P, L) {
  return vu(ht(p, B, E, S, P, L, !0));
}
function Mi(p, B, E, S, P) {
  return vu(Gt(p, B, E, S, P, !0));
}
function rr(p) {
  return p ? p.__v_isVNode === !0 : !1;
}
function gs(p, B) {
  return p.type === B.type && p.key === B.key;
}
const Rr = "__vInternal",
  pu = ({ key: p }) => p ?? null,
  Kn = ({ ref: p, ref_key: B, ref_for: E }) => (
    typeof p == "number" && (p = "" + p),
    p != null
      ? Jt(p) || ae(p) || yt(p)
        ? { i: Ae, r: p, k: B, f: !!E }
        : p
      : null
  );
function ht(
  p,
  B = null,
  E = null,
  S = 0,
  P = null,
  L = p === It ? 0 : 1,
  d = !1,
  y = !1,
) {
  const t = {
    __v_isVNode: !0,
    __v_skip: !0,
    type: p,
    props: B,
    key: B && pu(B),
    ref: B && Kn(B),
    scopeId: wr,
    slotScopeIds: null,
    children: E,
    component: null,
    suspense: null,
    ssContent: null,
    ssFallback: null,
    dirs: null,
    transition: null,
    el: null,
    anchor: null,
    target: null,
    targetAnchor: null,
    staticCount: 0,
    shapeFlag: L,
    patchFlag: S,
    dynamicProps: P,
    dynamicChildren: null,
    appContext: null,
    ctx: Ae,
  };
  return (
    y
      ? (WA(t, E), L & 128 && p.normalize(t))
      : E && (t.shapeFlag |= Jt(E) ? 8 : 16),
    $s > 0 &&
      !d &&
      we &&
      (t.patchFlag > 0 || L & 6) &&
      t.patchFlag !== 32 &&
      we.push(t),
    t
  );
}
const Gt = Yc;
function Yc(p, B = null, E = null, S = 0, P = null, L = !1) {
  if (((!p || p === Ac) && (p = vi), rr(p))) {
    const y = rs(p, B, !0);
    return (
      E && WA(y, E),
      $s > 0 &&
        !L &&
        we &&
        (y.shapeFlag & 6 ? (we[we.indexOf(p)] = y) : we.push(y)),
      (y.patchFlag |= -2),
      y
    );
  }
  if ((ev(p) && (p = p.__vccOpts), B)) {
    B = zc(B);
    let { class: y, style: t } = B;
    (y && !Jt(y) && (B.class = ce(y)),
      Qt(t) && (Wl(t) && !gt(t) && (t = ie({}, t)), (B.style = nn(t))));
  }
  const d = Jt(p) ? 1 : oc(p) ? 128 : Vc(p) ? 64 : Qt(p) ? 4 : yt(p) ? 2 : 0;
  return ht(p, B, E, S, P, d, L, !0);
}
function zc(p) {
  return p ? (Wl(p) || Rr in p ? ie({}, p) : p) : null;
}
function rs(p, B, E = !1) {
  const { props: S, ref: P, patchFlag: L, children: d } = p,
    y = B ? Kc(S || {}, B) : S;
  return {
    __v_isVNode: !0,
    __v_skip: !0,
    type: p.type,
    props: y,
    key: y && pu(y),
    ref:
      B && B.ref
        ? E && P
          ? gt(P)
            ? P.concat(Kn(B))
            : [P, Kn(B)]
          : Kn(B)
        : P,
    scopeId: p.scopeId,
    slotScopeIds: p.slotScopeIds,
    children: d,
    target: p.target,
    targetAnchor: p.targetAnchor,
    staticCount: p.staticCount,
    shapeFlag: p.shapeFlag,
    patchFlag: B && p.type !== It ? (L === -1 ? 16 : L | 16) : L,
    dynamicProps: p.dynamicProps,
    dynamicChildren: p.dynamicChildren,
    appContext: p.appContext,
    dirs: p.dirs,
    transition: p.transition,
    component: p.component,
    suspense: p.suspense,
    ssContent: p.ssContent && rs(p.ssContent),
    ssFallback: p.ssFallback && rs(p.ssFallback),
    el: p.el,
    anchor: p.anchor,
    ctx: p.ctx,
    ce: p.ce,
  };
}
function kt(p = " ", B = 0) {
  return Gt(Ur, null, p, B);
}
function Wc(p, B) {
  const E = Gt(Hs, null, p);
  return ((E.staticCount = B), E);
}
function Wt(p = "", B = !1) {
  return B ? (mt(), Mi(vi, null, p)) : Gt(vi, null, p);
}
function Oe(p) {
  return p == null || typeof p == "boolean"
    ? Gt(vi)
    : gt(p)
      ? Gt(It, null, p.slice())
      : typeof p == "object"
        ? si(p)
        : Gt(Ur, null, String(p));
}
function si(p) {
  return (p.el === null && p.patchFlag !== -1) || p.memo ? p : rs(p);
}
function WA(p, B) {
  let E = 0;
  const { shapeFlag: S } = p;
  if (B == null) B = null;
  else if (gt(B)) E = 16;
  else if (typeof B == "object")
    if (S & 65) {
      const P = B.default;
      P && (P._c && (P._d = !1), WA(p, P()), P._c && (P._d = !0));
      return;
    } else {
      E = 32;
      const P = B._;
      !P && !(Rr in B)
        ? (B._ctx = Ae)
        : P === 3 &&
          Ae &&
          (Ae.slots._ === 1 ? (B._ = 1) : ((B._ = 2), (p.patchFlag |= 1024)));
    }
  else
    yt(B)
      ? ((B = { default: B, _ctx: Ae }), (E = 32))
      : ((B = String(B)), S & 64 ? ((E = 16), (B = [kt(B)])) : (E = 8));
  ((p.children = B), (p.shapeFlag |= E));
}
function Kc(...p) {
  const B = {};
  for (let E = 0; E < p.length; E++) {
    const S = p[E];
    for (const P in S)
      if (P === "class")
        B.class !== S.class && (B.class = ce([B.class, S.class]));
      else if (P === "style") B.style = nn([B.style, S.style]);
      else if (Br(P)) {
        const L = B[P],
          d = S[P];
        d &&
          L !== d &&
          !(gt(L) && L.includes(d)) &&
          (B[P] = L ? [].concat(L, d) : d);
      } else P !== "" && (B[P] = S[P]);
  }
  return B;
}
function Le(p, B, E, S = null) {
  Me(p, B, 7, [E, S]);
}
const Jc = ou();
let Zc = 0;
function $c(p, B, E) {
  const S = p.type,
    P = (B ? B.appContext : p.appContext) || Jc,
    L = {
      uid: Zc++,
      vnode: p,
      type: S,
      parent: B,
      appContext: P,
      root: null,
      next: null,
      subTree: null,
      effect: null,
      update: null,
      scope: new Ll(!0),
      render: null,
      proxy: null,
      exposed: null,
      exposeProxy: null,
      withProxy: null,
      provides: B ? B.provides : Object.create(P.provides),
      accessCache: null,
      renderCache: [],
      components: null,
      directives: null,
      propsOptions: lu(S, P),
      emitsOptions: eu(S, P),
      emit: null,
      emitted: null,
      propsDefaults: Dt,
      inheritAttrs: S.inheritAttrs,
      ctx: Dt,
      data: Dt,
      props: Dt,
      attrs: Dt,
      slots: Dt,
      refs: Dt,
      setupState: Dt,
      setupContext: null,
      attrsProxy: null,
      slotsProxy: null,
      suspense: E,
      suspenseId: E ? E.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 (
    (L.ctx = { _: L }),
    (L.root = B ? B.root : L),
    (L.emit = ic.bind(null, L)),
    p.ce && p.ce(L),
    L
  );
}
let te = null;
const jc = () => te || Ae;
let KA,
  Hi,
  Io = "__VUE_INSTANCE_SETTERS__";
((Hi = Ia()[Io]) || (Hi = Ia()[Io] = []),
  Hi.push((p) => (te = p)),
  (KA = (p) => {
    Hi.length > 1 ? Hi.forEach((B) => B(p)) : Hi[0](p);
  }));
const as = (p) => {
    (KA(p), p.scope.on());
  },
  Li = () => {
    (te && te.scope.off(), KA(null));
  };
function gu(p) {
  return p.vnode.shapeFlag & 4;
}
let js = !1;
function kc(p, B = !1) {
  js = B;
  const { props: E, children: S } = p.vnode,
    P = gu(p);
  (Lc(p, E, P, B), Qc(p, S));
  const L = P ? qc(p, B) : void 0;
  return ((js = !1), L);
}
function qc(p, B) {
  const E = p.type;
  ((p.accessCache = Object.create(null)), (p.proxy = HA(new Proxy(p.ctx, Ec))));
  const { setup: S } = E;
  if (S) {
    const P = (p.setupContext = S.length > 1 ? tv(p) : null);
    (as(p), fs());
    const L = li(S, p, 0, [p.props, P]);
    if ((ds(), Li(), Fl(L))) {
      if ((L.then(Li, Li), B))
        return L.then((d) => {
          Oo(p, d, B);
        }).catch((d) => {
          Fr(d, p, 0);
        });
      p.asyncDep = L;
    } else Oo(p, L, B);
  } else mu(p, B);
}
function Oo(p, B, E) {
  (yt(B)
    ? p.type.__ssrInlineRender
      ? (p.ssrRender = B)
      : (p.render = B)
    : Qt(B) && (p.setupState = $l(B)),
    mu(p, E));
}
let Qo;
function mu(p, B, E) {
  const S = p.type;
  if (!p.render) {
    if (!B && Qo && !S.render) {
      const P = S.template || YA(p).template;
      if (P) {
        const { isCustomElement: L, compilerOptions: d } = p.appContext.config,
          { delimiters: y, compilerOptions: t } = S,
          A = ie(ie({ isCustomElement: L, delimiters: y }, d), t);
        S.render = Qo(P, A);
      }
    }
    p.render = S.render || He;
  }
  {
    (as(p), fs());
    try {
      Fc(p);
    } finally {
      (ds(), Li());
    }
  }
}
function _c(p) {
  return (
    p.attrsProxy ||
    (p.attrsProxy = new Proxy(p.attrs, {
      get(B, E) {
        return (ve(p, "get", "$attrs"), B[E]);
      },
    }))
  );
}
function tv(p) {
  const B = (E) => {
    p.exposed = E || {};
  };
  return {
    get attrs() {
      return _c(p);
    },
    slots: p.slots,
    emit: p.emit,
    expose: B,
  };
}
function Lr(p) {
  if (p.exposed)
    return (
      p.exposeProxy ||
      (p.exposeProxy = new Proxy($l(HA(p.exposed)), {
        get(B, E) {
          if (E in B) return B[E];
          if (E in Ds) return Ds[E](p);
        },
        has(B, E) {
          return E in B || E in Ds;
        },
      }))
    );
}
function ev(p) {
  return yt(p) && "__vccOpts" in p;
}
const qt = (p, B) => jd(p, B, js);
function xu(p, B, E) {
  const S = arguments.length;
  return S === 2
    ? Qt(B) && !gt(B)
      ? rr(B)
        ? Gt(p, null, [B])
        : Gt(p, B)
      : Gt(p, null, B)
    : (S > 3
        ? (E = Array.prototype.slice.call(arguments, 2))
        : S === 3 && rr(E) && (E = [E]),
      Gt(p, B, E));
}
const iv = Symbol.for("v-scx"),
  sv = () => Je(iv),
  nv = "3.3.11",
  rv = "http://www.w3.org/2000/svg",
  Ei = typeof document < "u" ? document : null,
  Do = Ei && Ei.createElement("template"),
  av = {
    insert: (p, B, E) => {
      B.insertBefore(p, E || null);
    },
    remove: (p) => {
      const B = p.parentNode;
      B && B.removeChild(p);
    },
    createElement: (p, B, E, S) => {
      const P = B
        ? Ei.createElementNS(rv, p)
        : Ei.createElement(p, E ? { is: E } : void 0);
      return (
        p === "select" &&
          S &&
          S.multiple != null &&
          P.setAttribute("multiple", S.multiple),
        P
      );
    },
    createText: (p) => Ei.createTextNode(p),
    createComment: (p) => Ei.createComment(p),
    setText: (p, B) => {
      p.nodeValue = B;
    },
    setElementText: (p, B) => {
      p.textContent = B;
    },
    parentNode: (p) => p.parentNode,
    nextSibling: (p) => p.nextSibling,
    querySelector: (p) => Ei.querySelector(p),
    setScopeId(p, B) {
      p.setAttribute(B, "");
    },
    insertStaticContent(p, B, E, S, P, L) {
      const d = E ? E.previousSibling : B.lastChild;
      if (P && (P === L || P.nextSibling))
        for (
          ;
          B.insertBefore(P.cloneNode(!0), E),
            !(P === L || !(P = P.nextSibling));
        );
      else {
        Do.innerHTML = S ? `<svg>${p}</svg>` : p;
        const y = Do.content;
        if (S) {
          const t = y.firstChild;
          for (; t.firstChild; ) y.appendChild(t.firstChild);
          y.removeChild(t);
        }
        B.insertBefore(y, E);
      }
      return [
        d ? d.nextSibling : B.firstChild,
        E ? E.previousSibling : B.lastChild,
      ];
    },
  },
  Av = Symbol("_vtc");
function ov(p, B, E) {
  const S = p[Av];
  (S && (B = (B ? [B, ...S] : [...S]).join(" ")),
    B == null
      ? p.removeAttribute("class")
      : E
        ? p.setAttribute("class", B)
        : (p.className = B));
}
const hv = Symbol("_vod");
function lv(p, B, E) {
  const S = p.style,
    P = Jt(E);
  if (E && !P) {
    if (B && !Jt(B)) for (const L in B) E[L] == null && za(S, L, "");
    for (const L in E) za(S, L, E[L]);
  } else {
    const L = S.display;
    (P ? B !== E && (S.cssText = E) : B && p.removeAttribute("style"),
      hv in p && (S.display = L));
  }
}
const Ho = /\s*!important$/;
function za(p, B, E) {
  if (gt(E)) E.forEach((S) => za(p, B, S));
  else if ((E == null && (E = ""), B.startsWith("--"))) p.setProperty(B, E);
  else {
    const S = uv(p, B);
    Ho.test(E)
      ? p.setProperty(us(S), E.replace(Ho, ""), "important")
      : (p[S] = E);
  }
}
const No = ["Webkit", "Moz", "ms"],
  _r = {};
function uv(p, B) {
  const E = _r[B];
  if (E) return E;
  let S = ss(B);
  if (S !== "filter" && S in p) return (_r[B] = S);
  S = Ml(S);
  for (let P = 0; P < No.length; P++) {
    const L = No[P] + S;
    if (L in p) return (_r[B] = L);
  }
  return B;
}
const Go = "http://www.w3.org/1999/xlink";
function fv(p, B, E, S, P) {
  if (S && B.startsWith("xlink:"))
    E == null
      ? p.removeAttributeNS(Go, B.slice(6, B.length))
      : p.setAttributeNS(Go, B, E);
  else {
    const L = yd(B);
    E == null || (L && !Pl(E))
      ? p.removeAttribute(B)
      : p.setAttribute(B, L ? "" : E);
  }
}
function dv(p, B, E, S, P, L, d) {
  if (B === "innerHTML" || B === "textContent") {
    (S && d(S, P, L), (p[B] = E ?? ""));
    return;
  }
  const y = p.tagName;
  if (B === "value" && y !== "PROGRESS" && !y.includes("-")) {
    p._value = E;
    const A = y === "OPTION" ? p.getAttribute("value") : p.value,
      c = E ?? "";
    (A !== c && (p.value = c), E == null && p.removeAttribute(B));
    return;
  }
  let t = !1;
  if (E === "" || E == null) {
    const A = typeof p[B];
    A === "boolean"
      ? (E = Pl(E))
      : E == null && A === "string"
        ? ((E = ""), (t = !0))
        : A === "number" && ((E = 0), (t = !0));
  }
  try {
    p[B] = E;
  } catch {}
  t && p.removeAttribute(B);
}
function Fi(p, B, E, S) {
  p.addEventListener(B, E, S);
}
function cv(p, B, E, S) {
  p.removeEventListener(B, E, S);
}
const bo = Symbol("_vei");
function vv(p, B, E, S, P = null) {
  const L = p[bo] || (p[bo] = {}),
    d = L[B];
  if (S && d) d.value = S;
  else {
    const [y, t] = pv(B);
    if (S) {
      const A = (L[B] = xv(S, P));
      Fi(p, y, A, t);
    } else d && (cv(p, y, d, t), (L[B] = void 0));
  }
}
const Vo = /(?:Once|Passive|Capture)$/;
function pv(p) {
  let B;
  if (Vo.test(p)) {
    B = {};
    let S;
    for (; (S = p.match(Vo)); )
      ((p = p.slice(0, p.length - S[0].length)), (B[S[0].toLowerCase()] = !0));
  }
  return [p[2] === ":" ? p.slice(3) : us(p.slice(2)), B];
}
let ta = 0;
const gv = Promise.resolve(),
  mv = () => ta || (gv.then(() => (ta = 0)), (ta = Date.now()));
function xv(p, B) {
  const E = (S) => {
    if (!S._vts) S._vts = Date.now();
    else if (S._vts <= E.attached) return;
    Me(Bv(S, E.value), B, 5, [S]);
  };
  return ((E.value = p), (E.attached = mv()), E);
}
function Bv(p, B) {
  if (gt(B)) {
    const E = p.stopImmediatePropagation;
    return (
      (p.stopImmediatePropagation = () => {
        (E.call(p), (p._stopped = !0));
      }),
      B.map((S) => (P) => !P._stopped && S && S(P))
    );
  } else return B;
}
const Xo = (p) =>
    p.charCodeAt(0) === 111 &&
    p.charCodeAt(1) === 110 &&
    p.charCodeAt(2) > 96 &&
    p.charCodeAt(2) < 123,
  yv = (p, B, E, S, P = !1, L, d, y, t) => {
    B === "class"
      ? ov(p, S, P)
      : B === "style"
        ? lv(p, E, S)
        : Br(B)
          ? PA(B) || vv(p, B, E, S, d)
          : (
                B[0] === "."
                  ? ((B = B.slice(1)), !0)
                  : B[0] === "^"
                    ? ((B = B.slice(1)), !1)
                    : Cv(p, B, S, P)
              )
            ? dv(p, B, S, L, d, y, t)
            : (B === "true-value"
                ? (p._trueValue = S)
                : B === "false-value" && (p._falseValue = S),
              fv(p, B, S, P));
  };
function Cv(p, B, E, S) {
  if (S)
    return !!(
      B === "innerHTML" ||
      B === "textContent" ||
      (B in p && Xo(B) && yt(E))
    );
  if (
    B === "spellcheck" ||
    B === "draggable" ||
    B === "translate" ||
    B === "form" ||
    (B === "list" && p.tagName === "INPUT") ||
    (B === "type" && p.tagName === "TEXTAREA")
  )
    return !1;
  if (B === "width" || B === "height") {
    const P = p.tagName;
    if (P === "IMG" || P === "VIDEO" || P === "CANVAS" || P === "SOURCE")
      return !1;
  }
  return Xo(B) && Jt(E) ? !1 : B in p;
}
function Tv(p) {
  const B = jc();
  if (!B) return;
  const E = (B.ut = (P = p(B.proxy)) => {
      Array.from(
        document.querySelectorAll(`[data-v-owner="${B.uid}"]`),
      ).forEach((L) => Ka(L, P));
    }),
    S = () => {
      const P = p(B.proxy);
      (Wa(B.subTree, P), E(P));
    };
  (lc(S),
    on(() => {
      const P = new MutationObserver(S);
      (P.observe(B.subTree.el.parentNode, { childList: !0 }),
        XA(() => P.disconnect()));
    }));
}
function Wa(p, B) {
  if (p.shapeFlag & 128) {
    const E = p.suspense;
    ((p = E.activeBranch),
      E.pendingBranch &&
        !E.isHydrating &&
        E.effects.push(() => {
          Wa(E.activeBranch, B);
        }));
  }
  for (; p.component; ) p = p.component.subTree;
  if (p.shapeFlag & 1 && p.el) Ka(p.el, B);
  else if (p.type === It) p.children.forEach((E) => Wa(E, B));
  else if (p.type === Hs) {
    let { el: E, anchor: S } = p;
    for (; E && (Ka(E, B), E !== S); ) E = E.nextSibling;
  }
}
function Ka(p, B) {
  if (p.nodeType === 1) {
    const E = p.style;
    for (const S in B) E.setProperty(`--${S}`, B[S]);
  }
}
const ar = (p) => {
  const B = p.props["onUpdate:modelValue"] || !1;
  return gt(B) ? (E) => zn(B, E) : B;
};
function Ev(p) {
  p.target.composing = !0;
}
function Yo(p) {
  const B = p.target;
  B.composing && ((B.composing = !1), B.dispatchEvent(new Event("input")));
}
const ts = Symbol("_assign"),
  ea = {
    created(p, { modifiers: { lazy: B, trim: E, number: S } }, P) {
      p[ts] = ar(P);
      const L = S || (P.props && P.props.type === "number");
      (Fi(p, B ? "change" : "input", (d) => {
        if (d.target.composing) return;
        let y = p.value;
        (E && (y = y.trim()), L && (y = La(y)), p[ts](y));
      }),
        E &&
          Fi(p, "change", () => {
            p.value = p.value.trim();
          }),
        B ||
          (Fi(p, "compositionstart", Ev),
          Fi(p, "compositionend", Yo),
          Fi(p, "change", Yo)));
    },
    mounted(p, { value: B }) {
      p.value = B ?? "";
    },
    beforeUpdate(
      p,
      { value: B, modifiers: { lazy: E, trim: S, number: P } },
      L,
    ) {
      if (((p[ts] = ar(L)), p.composing)) return;
      const d = P || p.type === "number" ? La(p.value) : p.value,
        y = B ?? "";
      d !== y &&
        ((document.activeElement === p &&
          p.type !== "range" &&
          (E || (S && p.value.trim() === y))) ||
          (p.value = y));
    },
  },
  zo = {
    deep: !0,
    created(p, B, E) {
      ((p[ts] = ar(E)),
        Fi(p, "change", () => {
          const S = p._modelValue,
            P = Fv(p),
            L = p.checked,
            d = p[ts];
          if (gt(S)) {
            const y = Ul(S, P),
              t = y !== -1;
            if (L && !t) d(S.concat(P));
            else if (!L && t) {
              const A = [...S];
              (A.splice(y, 1), d(A));
            }
          } else if (yr(S)) {
            const y = new Set(S);
            (L ? y.add(P) : y.delete(P), d(y));
          } else d(Bu(p, L));
        }));
    },
    mounted: Wo,
    beforeUpdate(p, B, E) {
      ((p[ts] = ar(E)), Wo(p, B, E));
    },
  };
function Wo(p, { value: B, oldValue: E }, S) {
  ((p._modelValue = B),
    gt(B)
      ? (p.checked = Ul(B, S.props.value) > -1)
      : yr(B)
        ? (p.checked = B.has(S.props.value))
        : B !== E && (p.checked = Tr(B, Bu(p, !0))));
}
function Fv(p) {
  return "_value" in p ? p._value : p.value;
}
function Bu(p, B) {
  const E = B ? "_trueValue" : "_falseValue";
  return E in p ? p[E] : B;
}
const Sv = ie({ patchProp: yv }, av);
let Ko;
function wv() {
  return Ko || (Ko = Hc(Sv));
}
const Mv = (...p) => {
  const B = wv().createApp(...p),
    { mount: E } = B;
  return (
    (B.mount = (S) => {
      const P = Pv(S);
      if (!P) return;
      const L = B._component;
      (!yt(L) && !L.render && !L.template && (L.template = P.innerHTML),
        (P.innerHTML = ""));
      const d = E(P, !1, P instanceof SVGElement);
      return (
        P instanceof Element &&
          (P.removeAttribute("v-cloak"), P.setAttribute("data-v-app", "")),
        d
      );
    }),
    B
  );
};
function Pv(p) {
  return Jt(p) ? document.querySelector(p) : p;
}
var Uv = !1;
/*!
 * pinia v2.1.7
 * (c) 2023 Eduardo San Martin Morote
 * @license MIT
 */ const Rv = Symbol();
var Jo;
(function (p) {
  ((p.direct = "direct"),
    (p.patchObject = "patch object"),
    (p.patchFunction = "patch function"));
})(Jo || (Jo = {}));
function Lv() {
  const p = Td(!0),
    B = p.run(() => xt({}));
  let E = [],
    S = [];
  const P = HA({
    install(L) {
      ((P._a = L),
        L.provide(Rv, P),
        (L.config.globalProperties.$pinia = P),
        S.forEach((d) => E.push(d)),
        (S = []));
    },
    use(L) {
      return (
        !this._a && !Uv ? S.push(L) : E.push(L),
        _____WB$wombat$check$this$function_____(this)
      );
    },
    _p: E,
    _a: null,
    _e: p,
    _s: new Map(),
    state: B,
  });
  return P;
}
/*!
 * vue-router v4.2.5
 * (c) 2023 Eduardo San Martin Morote
 * @license MIT
 */ const Wi = typeof window < "u";
function Iv(p) {
  return p.__esModule || p[Symbol.toStringTag] === "Module";
}
const Pt = Object.assign;
function ia(p, B) {
  const E = {};
  for (const S in B) {
    const P = B[S];
    E[S] = Pe(P) ? P.map(p) : p(P);
  }
  return E;
}
const Gs = () => {},
  Pe = Array.isArray,
  Ov = /\/$/,
  Qv = (p) => p.replace(Ov, "");
function sa(p, B, E = "/") {
  let S,
    P = {},
    L = "",
    d = "";
  const y = B.indexOf("#");
  let t = B.indexOf("?");
  return (
    y < t && y >= 0 && (t = -1),
    t > -1 &&
      ((S = B.slice(0, t)),
      (L = B.slice(t + 1, y > -1 ? y : B.length)),
      (P = p(L))),
    y > -1 && ((S = S || B.slice(0, y)), (d = B.slice(y, B.length))),
    (S = Gv(S ?? B, E)),
    { fullPath: S + (L && "?") + L + d, path: S, query: P, hash: d }
  );
}
function Dv(p, B) {
  const E = B.query ? p(B.query) : "";
  return B.path + (E && "?") + E + (B.hash || "");
}
function Zo(p, B) {
  return !B || !p.toLowerCase().startsWith(B.toLowerCase())
    ? p
    : p.slice(B.length) || "/";
}
function Hv(p, B, E) {
  const S = B.matched.length - 1,
    P = E.matched.length - 1;
  return (
    S > -1 &&
    S === P &&
    As(B.matched[S], E.matched[P]) &&
    yu(B.params, E.params) &&
    p(B.query) === p(E.query) &&
    B.hash === E.hash
  );
}
function As(p, B) {
  return (p.aliasOf || p) === (B.aliasOf || B);
}
function yu(p, B) {
  if (Object.keys(p).length !== Object.keys(B).length) return !1;
  for (const E in p) if (!Nv(p[E], B[E])) return !1;
  return !0;
}
function Nv(p, B) {
  return Pe(p) ? $o(p, B) : Pe(B) ? $o(B, p) : p === B;
}
function $o(p, B) {
  return Pe(B)
    ? p.length === B.length && p.every((E, S) => E === B[S])
    : p.length === 1 && p[0] === B;
}
function Gv(p, B) {
  if (p.startsWith("/")) return p;
  if (!p) return B;
  const E = B.split("/"),
    S = p.split("/"),
    P = S[S.length - 1];
  (P === ".." || P === ".") && S.push("");
  let L = E.length - 1,
    d,
    y;
  for (d = 0; d < S.length; d++)
    if (((y = S[d]), y !== "."))
      if (y === "..") L > 1 && L--;
      else break;
  return (
    E.slice(0, L).join("/") +
    "/" +
    S.slice(d - (d === S.length ? 1 : 0)).join("/")
  );
}
var ks;
(function (p) {
  ((p.pop = "pop"), (p.push = "push"));
})(ks || (ks = {}));
var bs;
(function (p) {
  ((p.back = "back"), (p.forward = "forward"), (p.unknown = ""));
})(bs || (bs = {}));
function bv(p) {
  if (!p)
    if (Wi) {
      const B = document.querySelector("base");
      ((p = (B && B.getAttribute("href")) || "/"),
        (p = p.replace(/^\w+:\/\/[^\/]+/, "")));
    } else p = "/";
  return (p[0] !== "/" && p[0] !== "#" && (p = "/" + p), Qv(p));
}
const Vv = /^[^#]+#/;
function Xv(p, B) {
  return p.replace(Vv, "#") + B;
}
function Yv(p, B) {
  const E = document.documentElement.getBoundingClientRect(),
    S = p.getBoundingClientRect();
  return {
    behavior: B.behavior,
    left: S.left - E.left - (B.left || 0),
    top: S.top - E.top - (B.top || 0),
  };
}
const Ir = () => ({ left: window.pageXOffset, top: window.pageYOffset });
function zv(p) {
  let B;
  if ("el" in p) {
    const E = p.el,
      S = typeof E == "string" && E.startsWith("#"),
      P =
        typeof E == "string"
          ? S
            ? document.getElementById(E.slice(1))
            : document.querySelector(E)
          : E;
    if (!P) return;
    B = Yv(P, p);
  } else B = p;
  "scrollBehavior" in document.documentElement.style
    ? window.scrollTo(B)
    : window.scrollTo(
        B.left != null ? B.left : window.pageXOffset,
        B.top != null ? B.top : window.pageYOffset,
      );
}
function jo(p, B) {
  return (history.state ? history.state.position - B : -1) + p;
}
const Ja = new Map();
function Wv(p, B) {
  Ja.set(p, B);
}
function Kv(p) {
  const B = Ja.get(p);
  return (Ja.delete(p), B);
}
let Jv = () => location.protocol + "//" + location.host;
function Cu(p, B) {
  const { pathname: E, search: S, hash: P } = B,
    L = p.indexOf("#");
  if (L > -1) {
    let y = P.includes(p.slice(L)) ? p.slice(L).length : 1,
      t = P.slice(y);
    return (t[0] !== "/" && (t = "/" + t), Zo(t, ""));
  }
  return Zo(E, p) + S + P;
}
function Zv(p, B, E, S) {
  let P = [],
    L = [],
    d = null;
  const y = ({ state: r }) => {
    const n = Cu(p, location),
      e = E.value,
      s = B.value;
    let u = 0;
    if (r) {
      if (((E.value = n), (B.value = r), d && d === e)) {
        d = null;
        return;
      }
      u = s ? r.position - s.position : 0;
    } else S(n);
    P.forEach((i) => {
      i(E.value, e, {
        delta: u,
        type: ks.pop,
        direction: u ? (u > 0 ? bs.forward : bs.back) : bs.unknown,
      });
    });
  };
  function t() {
    d = E.value;
  }
  function A(r) {
    P.push(r);
    const n = () => {
      const e = P.indexOf(r);
      e > -1 && P.splice(e, 1);
    };
    return (L.push(n), n);
  }
  function c() {
    const { history: r } = window;
    r.state && r.replaceState(Pt({}, r.state, { scroll: Ir() }), "");
  }
  function a() {
    for (const r of L) r();
    ((L = []),
      window.removeEventListener("popstate", y),
      window.removeEventListener("beforeunload", c));
  }
  return (
    window.addEventListener("popstate", y),
    window.addEventListener("beforeunload", c, { passive: !0 }),
    { pauseListeners: t, listen: A, destroy: a }
  );
}
function ko(p, B, E, S = !1, P = !1) {
  return {
    back: p,
    current: B,
    forward: E,
    replaced: S,
    position: window.history.length,
    scroll: P ? Ir() : null,
  };
}
function $v(p) {
  const { history: B, location: E } = window,
    S = { value: Cu(p, E) },
    P = { value: B.state };
  P.value ||
    L(
      S.value,
      {
        back: null,
        current: S.value,
        forward: null,
        position: B.length - 1,
        replaced: !0,
        scroll: null,
      },
      !0,
    );
  function L(t, A, c) {
    const a = p.indexOf("#"),
      r =
        a > -1
          ? (E.host && document.querySelector("base") ? p : p.slice(a)) + t
          : Jv() + p + t;
    try {
      (B[c ? "replaceState" : "pushState"](A, "", r), (P.value = A));
    } catch (n) {
      (console.error(n), E[c ? "replace" : "assign"](r));
    }
  }
  function d(t, A) {
    const c = Pt({}, B.state, ko(P.value.back, t, P.value.forward, !0), A, {
      position: P.value.position,
    });
    (L(t, c, !0), (S.value = t));
  }
  function y(t, A) {
    const c = Pt({}, P.value, B.state, { forward: t, scroll: Ir() });
    L(c.current, c, !0);
    const a = Pt({}, ko(S.value, t, null), { position: c.position + 1 }, A);
    (L(t, a, !1), (S.value = t));
  }
  return { location: S, state: P, push: y, replace: d };
}
function jv(p) {
  p = bv(p);
  const B = $v(p),
    E = Zv(p, B.state, B.location, B.replace);
  function S(L, d = !0) {
    (d || E.pauseListeners(), history.go(L));
  }
  const P = Pt(
    { location: "", base: p, go: S, createHref: Xv.bind(null, p) },
    B,
    E,
  );
  return (
    Object.defineProperty(P, "location", {
      enumerable: !0,
      get: () => B.location.value,
    }),
    Object.defineProperty(P, "state", {
      enumerable: !0,
      get: () => B.state.value,
    }),
    P
  );
}
function kv(p) {
  return typeof p == "string" || (p && typeof p == "object");
}
function Tu(p) {
  return typeof p == "string" || typeof p == "symbol";
}
const _e = {
    path: "/",
    name: void 0,
    params: {},
    query: {},
    hash: "",
    fullPath: "/",
    matched: [],
    meta: {},
    redirectedFrom: void 0,
  },
  Eu = Symbol("");
var qo;
(function (p) {
  ((p[(p.aborted = 4)] = "aborted"),
    (p[(p.cancelled = 8)] = "cancelled"),
    (p[(p.duplicated = 16)] = "duplicated"));
})(qo || (qo = {}));
function os(p, B) {
  return Pt(new Error(), { type: p, [Eu]: !0 }, B);
}
function Ve(p, B) {
  return p instanceof Error && Eu in p && (B == null || !!(p.type & B));
}
const _o = "[^/]+?",
  qv = { sensitive: !1, strict: !1, start: !0, end: !0 },
  _v = /[.+*?^${}()[\]/\\]/g;
function tp(p, B) {
  const E = Pt({}, qv, B),
    S = [];
  let P = E.start ? "^" : "";
  const L = [];
  for (const A of p) {
    const c = A.length ? [] : [90];
    E.strict && !A.length && (P += "/");
    for (let a = 0; a < A.length; a++) {
      const r = A[a];
      let n = 40 + (E.sensitive ? 0.25 : 0);
      if (r.type === 0)
        (a || (P += "/"), (P += r.value.replace(_v, "\\$&")), (n += 40));
      else if (r.type === 1) {
        const { value: e, repeatable: s, optional: u, regexp: i } = r;
        L.push({ name: e, repeatable: s, optional: u });
        const o = i || _o;
        if (o !== _o) {
          n += 10;
          try {
            new RegExp(`(${o})`);
          } catch (l) {
            throw new Error(
              `Invalid custom RegExp for param "${e}" (${o}): ` + l.message,
            );
          }
        }
        let h = s ? `((?:${o})(?:/(?:${o}))*)` : `(${o})`;
        (a || (h = u && A.length < 2 ? `(?:/${h})` : "/" + h),
          u && (h += "?"),
          (P += h),
          (n += 20),
          u && (n += -8),
          s && (n += -20),
          o === ".*" && (n += -50));
      }
      c.push(n);
    }
    S.push(c);
  }
  if (E.strict && E.end) {
    const A = S.length - 1;
    S[A][S[A].length - 1] += 0.7000000000000001;
  }
  (E.strict || (P += "/?"), E.end ? (P += "$") : E.strict && (P += "(?:/|$)"));
  const d = new RegExp(P, E.sensitive ? "" : "i");
  function y(A) {
    const c = A.match(d),
      a = {};
    if (!c) return null;
    for (let r = 1; r < c.length; r++) {
      const n = c[r] || "",
        e = L[r - 1];
      a[e.name] = n && e.repeatable ? n.split("/") : n;
    }
    return a;
  }
  function t(A) {
    let c = "",
      a = !1;
    for (const r of p) {
      ((!a || !c.endsWith("/")) && (c += "/"), (a = !1));
      for (const n of r)
        if (n.type === 0) c += n.value;
        else if (n.type === 1) {
          const { value: e, repeatable: s, optional: u } = n,
            i = e in A ? A[e] : "";
          if (Pe(i) && !s)
            throw new Error(
              `Provided param "${e}" is an array but it is not repeatable (* or + modifiers)`,
            );
          const o = Pe(i) ? i.join("/") : i;
          if (!o)
            if (u)
              r.length < 2 &&
                (c.endsWith("/") ? (c = c.slice(0, -1)) : (a = !0));
            else throw new Error(`Missing required param "${e}"`);
          c += o;
        }
    }
    return c || "/";
  }
  return { re: d, score: S, keys: L, parse: y, stringify: t };
}
function ep(p, B) {
  let E = 0;
  for (; E < p.length && E < B.length; ) {
    const S = B[E] - p[E];
    if (S) return S;
    E++;
  }
  return p.length < B.length
    ? p.length === 1 && p[0] === 80
      ? -1
      : 1
    : p.length > B.length
      ? B.length === 1 && B[0] === 80
        ? 1
        : -1
      : 0;
}
function ip(p, B) {
  let E = 0;
  const S = p.score,
    P = B.score;
  for (; E < S.length && E < P.length; ) {
    const L = ep(S[E], P[E]);
    if (L) return L;
    E++;
  }
  if (Math.abs(P.length - S.length) === 1) {
    if (th(S)) return 1;
    if (th(P)) return -1;
  }
  return P.length - S.length;
}
function th(p) {
  const B = p[p.length - 1];
  return p.length > 0 && B[B.length - 1] < 0;
}
const sp = { type: 0, value: "" },
  np = /[a-zA-Z0-9_]/;
function rp(p) {
  if (!p) return [[]];
  if (p === "/") return [[sp]];
  if (!p.startsWith("/")) throw new Error(`Invalid path "${p}"`);
  function B(n) {
    throw new Error(`ERR (${E})/"${A}": ${n}`);
  }
  let E = 0,
    S = E;
  const P = [];
  let L;
  function d() {
    (L && P.push(L), (L = []));
  }
  let y = 0,
    t,
    A = "",
    c = "";
  function a() {
    A &&
      (E === 0
        ? L.push({ type: 0, value: A })
        : E === 1 || E === 2 || E === 3
          ? (L.length > 1 &&
              (t === "*" || t === "+") &&
              B(
                `A repeatable param (${A}) must be alone in its segment. eg: '/:ids+.`,
              ),
            L.push({
              type: 1,
              value: A,
              regexp: c,
              repeatable: t === "*" || t === "+",
              optional: t === "*" || t === "?",
            }))
          : B("Invalid state to consume buffer"),
      (A = ""));
  }
  function r() {
    A += t;
  }
  for (; y < p.length; ) {
    if (((t = p[y++]), t === "\\" && E !== 2)) {
      ((S = E), (E = 4));
      continue;
    }
    switch (E) {
      case 0:
        t === "/" ? (A && a(), d()) : t === ":" ? (a(), (E = 1)) : r();
        break;
      case 4:
        (r(), (E = S));
        break;
      case 1:
        t === "("
          ? (E = 2)
          : np.test(t)
            ? r()
            : (a(), (E = 0), t !== "*" && t !== "?" && t !== "+" && y--);
        break;
      case 2:
        t === ")"
          ? c[c.length - 1] == "\\"
            ? (c = c.slice(0, -1) + t)
            : (E = 3)
          : (c += t);
        break;
      case 3:
        (a(), (E = 0), t !== "*" && t !== "?" && t !== "+" && y--, (c = ""));
        break;
      default:
        B("Unknown state");
        break;
    }
  }
  return (
    E === 2 && B(`Unfinished custom RegExp for param "${A}"`),
    a(),
    d(),
    P
  );
}
function ap(p, B, E) {
  const S = tp(rp(p.path), E),
    P = Pt(S, { record: p, parent: B, children: [], alias: [] });
  return (B && !P.record.aliasOf == !B.record.aliasOf && B.children.push(P), P);
}
function Ap(p, B) {
  const E = [],
    S = new Map();
  B = sh({ strict: !1, end: !0, sensitive: !1 }, B);
  function P(c) {
    return S.get(c);
  }
  function L(c, a, r) {
    const n = !r,
      e = op(c);
    e.aliasOf = r && r.record;
    const s = sh(B, c),
      u = [e];
    if ("alias" in c) {
      const h = typeof c.alias == "string" ? [c.alias] : c.alias;
      for (const l of h)
        u.push(
          Pt({}, e, {
            components: r ? r.record.components : e.components,
            path: l,
            aliasOf: r ? r.record : e,
          }),
        );
    }
    let i, o;
    for (const h of u) {
      const { path: l } = h;
      if (a && l[0] !== "/") {
        const f = a.record.path,
          v = f[f.length - 1] === "/" ? "" : "/";
        h.path = a.record.path + (l && v + l);
      }
      if (
        ((i = ap(h, a, s)),
        r
          ? r.alias.push(i)
          : ((o = o || i),
            o !== i && o.alias.push(i),
            n && c.name && !ih(i) && d(c.name)),
        e.children)
      ) {
        const f = e.children;
        for (let v = 0; v < f.length; v++) L(f[v], i, r && r.children[v]);
      }
      ((r = r || i),
        ((i.record.components && Object.keys(i.record.components).length) ||
          i.record.name ||
          i.record.redirect) &&
          t(i));
    }
    return o
      ? () => {
          d(o);
        }
      : Gs;
  }
  function d(c) {
    if (Tu(c)) {
      const a = S.get(c);
      a &&
        (S.delete(c),
        E.splice(E.indexOf(a), 1),
        a.children.forEach(d),
        a.alias.forEach(d));
    } else {
      const a = E.indexOf(c);
      a > -1 &&
        (E.splice(a, 1),
        c.record.name && S.delete(c.record.name),
        c.children.forEach(d),
        c.alias.forEach(d));
    }
  }
  function y() {
    return E;
  }
  function t(c) {
    let a = 0;
    for (
      ;
      a < E.length &&
      ip(c, E[a]) >= 0 &&
      (c.record.path !== E[a].record.path || !Fu(c, E[a]));
    )
      a++;
    (E.splice(a, 0, c), c.record.name && !ih(c) && S.set(c.record.name, c));
  }
  function A(c, a) {
    let r,
      n = {},
      e,
      s;
    if ("name" in c && c.name) {
      if (((r = S.get(c.name)), !r)) throw os(1, { location: c });
      ((s = r.record.name),
        (n = Pt(
          eh(
            a.params,
            r.keys.filter((o) => !o.optional).map((o) => o.name),
          ),
          c.params &&
            eh(
              c.params,
              r.keys.map((o) => o.name),
            ),
        )),
        (e = r.stringify(n)));
    } else if ("path" in c)
      ((e = c.path),
        (r = E.find((o) => o.re.test(e))),
        r && ((n = r.parse(e)), (s = r.record.name)));
    else {
      if (((r = a.name ? S.get(a.name) : E.find((o) => o.re.test(a.path))), !r))
        throw os(1, { location: c, currentLocation: a });
      ((s = r.record.name),
        (n = Pt({}, a.params, c.params)),
        (e = r.stringify(n)));
    }
    const u = [];
    let i = r;
    for (; i; ) (u.unshift(i.record), (i = i.parent));
    return { name: s, path: e, params: n, matched: u, meta: lp(u) };
  }
  return (
    p.forEach((c) => L(c)),
    {
      addRoute: L,
      resolve: A,
      removeRoute: d,
      getRoutes: y,
      getRecordMatcher: P,
    }
  );
}
function eh(p, B) {
  const E = {};
  for (const S of B) S in p && (E[S] = p[S]);
  return E;
}
function op(p) {
  return {
    path: p.path,
    redirect: p.redirect,
    name: p.name,
    meta: p.meta || {},
    aliasOf: void 0,
    beforeEnter: p.beforeEnter,
    props: hp(p),
    children: p.children || [],
    instances: {},
    leaveGuards: new Set(),
    updateGuards: new Set(),
    enterCallbacks: {},
    components:
      "components" in p
        ? p.components || null
        : p.component && { default: p.component },
  };
}
function hp(p) {
  const B = {},
    E = p.props || !1;
  if ("component" in p) B.default = E;
  else for (const S in p.components) B[S] = typeof E == "object" ? E[S] : E;
  return B;
}
function ih(p) {
  for (; p; ) {
    if (p.record.aliasOf) return !0;
    p = p.parent;
  }
  return !1;
}
function lp(p) {
  return p.reduce((B, E) => Pt(B, E.meta), {});
}
function sh(p, B) {
  const E = {};
  for (const S in p) E[S] = S in B ? B[S] : p[S];
  return E;
}
function Fu(p, B) {
  return B.children.some((E) => E === p || Fu(p, E));
}
const Su = /#/g,
  up = /&/g,
  fp = /\//g,
  dp = /=/g,
  cp = /\?/g,
  wu = /\+/g,
  vp = /%5B/g,
  pp = /%5D/g,
  Mu = /%5E/g,
  gp = /%60/g,
  Pu = /%7B/g,
  mp = /%7C/g,
  Uu = /%7D/g,
  xp = /%20/g;
function JA(p) {
  return encodeURI("" + p)
    .replace(mp, "|")
    .replace(vp, "[")
    .replace(pp, "]");
}
function Bp(p) {
  return JA(p).replace(Pu, "{").replace(Uu, "}").replace(Mu, "^");
}
function Za(p) {
  return JA(p)
    .replace(wu, "%2B")
    .replace(xp, "+")
    .replace(Su, "%23")
    .replace(up, "%26")
    .replace(gp, "`")
    .replace(Pu, "{")
    .replace(Uu, "}")
    .replace(Mu, "^");
}
function yp(p) {
  return Za(p).replace(dp, "%3D");
}
function Cp(p) {
  return JA(p).replace(Su, "%23").replace(cp, "%3F");
}
function Tp(p) {
  return p == null ? "" : Cp(p).replace(fp, "%2F");
}
function Ar(p) {
  try {
    return decodeURIComponent("" + p);
  } catch {}
  return "" + p;
}
function Ep(p) {
  const B = {};
  if (p === "" || p === "?") return B;
  const S = (p[0] === "?" ? p.slice(1) : p).split("&");
  for (let P = 0; P < S.length; ++P) {
    const L = S[P].replace(wu, " "),
      d = L.indexOf("="),
      y = Ar(d < 0 ? L : L.slice(0, d)),
      t = d < 0 ? null : Ar(L.slice(d + 1));
    if (y in B) {
      let A = B[y];
      (Pe(A) || (A = B[y] = [A]), A.push(t));
    } else B[y] = t;
  }
  return B;
}
function nh(p) {
  let B = "";
  for (let E in p) {
    const S = p[E];
    if (((E = yp(E)), S == null)) {
      S !== void 0 && (B += (B.length ? "&" : "") + E);
      continue;
    }
    (Pe(S) ? S.map((L) => L && Za(L)) : [S && Za(S)]).forEach((L) => {
      L !== void 0 &&
        ((B += (B.length ? "&" : "") + E), L != null && (B += "=" + L));
    });
  }
  return B;
}
function Fp(p) {
  const B = {};
  for (const E in p) {
    const S = p[E];
    S !== void 0 &&
      (B[E] = Pe(S)
        ? S.map((P) => (P == null ? null : "" + P))
        : S == null
          ? S
          : "" + S);
  }
  return B;
}
const Sp = Symbol(""),
  rh = Symbol(""),
  ZA = Symbol(""),
  Ru = Symbol(""),
  $a = Symbol("");
function ms() {
  let p = [];
  function B(S) {
    return (
      p.push(S),
      () => {
        const P = p.indexOf(S);
        P > -1 && p.splice(P, 1);
      }
    );
  }
  function E() {
    p = [];
  }
  return { add: B, list: () => p.slice(), reset: E };
}
function ni(p, B, E, S, P) {
  const L = S && (S.enterCallbacks[P] = S.enterCallbacks[P] || []);
  return () =>
    new Promise((d, y) => {
      const t = (a) => {
          a === !1
            ? y(os(4, { from: E, to: B }))
            : a instanceof Error
              ? y(a)
              : kv(a)
                ? y(os(2, { from: B, to: a }))
                : (L &&
                    S.enterCallbacks[P] === L &&
                    typeof a == "function" &&
                    L.push(a),
                  d());
        },
        A = p.call(S && S.instances[P], B, E, t);
      let c = Promise.resolve(A);
      (p.length < 3 && (c = c.then(t)), c.catch((a) => y(a)));
    });
}
function na(p, B, E, S) {
  const P = [];
  for (const L of p)
    for (const d in L.components) {
      let y = L.components[d];
      if (!(B !== "beforeRouteEnter" && !L.instances[d]))
        if (wp(y)) {
          const A = (y.__vccOpts || y)[B];
          A && P.push(ni(A, E, S, L, d));
        } else {
          let t = y();
          P.push(() =>
            t.then((A) => {
              if (!A)
                return Promise.reject(
                  new Error(`Couldn't resolve component "${d}" at "${L.path}"`),
                );
              const c = Iv(A) ? A.default : A;
              L.components[d] = c;
              const r = (c.__vccOpts || c)[B];
              return r && ni(r, E, S, L, d)();
            }),
          );
        }
    }
  return P;
}
function wp(p) {
  return (
    typeof p == "object" ||
    "displayName" in p ||
    "props" in p ||
    "__vccOpts" in p
  );
}
function ah(p) {
  const B = Je(ZA),
    E = Je(Ru),
    S = qt(() => B.resolve(Tt(p.to))),
    P = qt(() => {
      const { matched: t } = S.value,
        { length: A } = t,
        c = t[A - 1],
        a = E.matched;
      if (!c || !a.length) return -1;
      const r = a.findIndex(As.bind(null, c));
      if (r > -1) return r;
      const n = Ah(t[A - 2]);
      return A > 1 && Ah(c) === n && a[a.length - 1].path !== n
        ? a.findIndex(As.bind(null, t[A - 2]))
        : r;
    }),
    L = qt(() => P.value > -1 && Rp(E.params, S.value.params)),
    d = qt(
      () =>
        P.value > -1 &&
        P.value === E.matched.length - 1 &&
        yu(E.params, S.value.params),
    );
  function y(t = {}) {
    return Up(t)
      ? B[Tt(p.replace) ? "replace" : "push"](Tt(p.to)).catch(Gs)
      : Promise.resolve();
  }
  return {
    route: S,
    href: qt(() => S.value.href),
    isActive: L,
    isExactActive: d,
    navigate: y,
  };
}
const Mp = su({
    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: ah,
    setup(p, { slots: B }) {
      const E = rn(ah(p)),
        { options: S } = Je(ZA),
        P = qt(() => ({
          [oh(p.activeClass, S.linkActiveClass, "router-link-active")]:
            E.isActive,
          [oh(
            p.exactActiveClass,
            S.linkExactActiveClass,
            "router-link-exact-active",
          )]: E.isExactActive,
        }));
      return () => {
        const L = B.default && B.default(E);
        return p.custom
          ? L
          : xu(
              "a",
              {
                "aria-current": E.isExactActive ? p.ariaCurrentValue : null,
                href: E.href,
                onClick: E.navigate,
                class: P.value,
              },
              L,
            );
      };
    },
  }),
  Pp = Mp;
function Up(p) {
  if (
    !(p.metaKey || p.altKey || p.ctrlKey || p.shiftKey) &&
    !p.defaultPrevented &&
    !(p.button !== void 0 && p.button !== 0)
  ) {
    if (p.currentTarget && p.currentTarget.getAttribute) {
      const B = p.currentTarget.getAttribute("target");
      if (/\b_blank\b/i.test(B)) return;
    }
    return (p.preventDefault && p.preventDefault(), !0);
  }
}
function Rp(p, B) {
  for (const E in B) {
    const S = B[E],
      P = p[E];
    if (typeof S == "string") {
      if (S !== P) return !1;
    } else if (!Pe(P) || P.length !== S.length || S.some((L, d) => L !== P[d]))
      return !1;
  }
  return !0;
}
function Ah(p) {
  return p ? (p.aliasOf ? p.aliasOf.path : p.path) : "";
}
const oh = (p, B, E) => p ?? B ?? E,
  Lp = su({
    name: "RouterView",
    inheritAttrs: !1,
    props: { name: { type: String, default: "default" }, route: Object },
    compatConfig: { MODE: 3 },
    setup(p, { attrs: B, slots: E }) {
      const S = Je($a),
        P = qt(() => p.route || S.value),
        L = Je(rh, 0),
        d = qt(() => {
          let A = Tt(L);
          const { matched: c } = P.value;
          let a;
          for (; (a = c[A]) && !a.components; ) A++;
          return A;
        }),
        y = qt(() => P.value.matched[d.value]);
      (Wn(
        rh,
        qt(() => d.value + 1),
      ),
        Wn(Sp, y),
        Wn($a, P));
      const t = xt();
      return (
        _i(
          () => [t.value, y.value, p.name],
          ([A, c, a], [r, n, e]) => {
            (c &&
              ((c.instances[a] = A),
              n &&
                n !== c &&
                A &&
                A === r &&
                (c.leaveGuards.size || (c.leaveGuards = n.leaveGuards),
                c.updateGuards.size || (c.updateGuards = n.updateGuards))),
              A &&
                c &&
                (!n || !As(c, n) || !r) &&
                (c.enterCallbacks[a] || []).forEach((s) => s(A)));
          },
          { flush: "post" },
        ),
        () => {
          const A = P.value,
            c = p.name,
            a = y.value,
            r = a && a.components[c];
          if (!r) return hh(E.default, { Component: r, route: A });
          const n = a.props[c],
            e = n
              ? n === !0
                ? A.params
                : typeof n == "function"
                  ? n(A)
                  : n
              : null,
            u = xu(
              r,
              Pt({}, e, B, {
                onVnodeUnmounted: (i) => {
                  i.component.isUnmounted && (a.instances[c] = null);
                },
                ref: t,
              }),
            );
          return hh(E.default, { Component: u, route: A }) || u;
        }
      );
    },
  });
function hh(p, B) {
  if (!p) return null;
  const E = p(B);
  return E.length === 1 ? E[0] : E;
}
const Lu = Lp;
function Ip(p) {
  const B = Ap(p.routes, p),
    E = p.parseQuery || Ep,
    S = p.stringifyQuery || nh,
    P = p.history,
    L = ms(),
    d = ms(),
    y = ms(),
    t = Kd(_e);
  let A = _e;
  Wi &&
    p.scrollBehavior &&
    "scrollRestoration" in history &&
    (history.scrollRestoration = "manual");
  const c = ia.bind(null, (Q) => "" + Q),
    a = ia.bind(null, Tp),
    r = ia.bind(null, Ar);
  function n(Q, V) {
    let Y, J;
    return (
      Tu(Q) ? ((Y = B.getRecordMatcher(Q)), (J = V)) : (J = Q),
      B.addRoute(J, Y)
    );
  }
  function e(Q) {
    const V = B.getRecordMatcher(Q);
    V && B.removeRoute(V);
  }
  function s() {
    return B.getRoutes().map((Q) => Q.record);
  }
  function u(Q) {
    return !!B.getRecordMatcher(Q);
  }
  function i(Q, V) {
    if (((V = Pt({}, V || t.value)), typeof Q == "string")) {
      const j = sa(E, Q, V.path),
        k = B.resolve({ path: j.path }, V),
        _ = P.createHref(j.fullPath);
      return Pt(j, k, {
        params: r(k.params),
        hash: Ar(j.hash),
        redirectedFrom: void 0,
        href: _,
      });
    }
    let Y;
    if ("path" in Q) Y = Pt({}, Q, { path: sa(E, Q.path, V.path).path });
    else {
      const j = Pt({}, Q.params);
      for (const k in j) j[k] == null && delete j[k];
      ((Y = Pt({}, Q, { params: a(j) })), (V.params = a(V.params)));
    }
    const J = B.resolve(Y, V),
      $ = Q.hash || "";
    J.params = c(r(J.params));
    const W = Dv(S, Pt({}, Q, { hash: Bp($), path: J.path })),
      Z = P.createHref(W);
    return Pt(
      { fullPath: W, hash: $, query: S === nh ? Fp(Q.query) : Q.query || {} },
      J,
      { redirectedFrom: void 0, href: Z },
    );
  }
  function o(Q) {
    return typeof Q == "string" ? sa(E, Q, t.value.path) : Pt({}, Q);
  }
  function h(Q, V) {
    if (A !== Q) return os(8, { from: V, to: Q });
  }
  function l(Q) {
    return m(Q);
  }
  function f(Q) {
    return l(Pt(o(Q), { replace: !0 }));
  }
  function v(Q) {
    const V = Q.matched[Q.matched.length - 1];
    if (V && V.redirect) {
      const { redirect: Y } = V;
      let J = typeof Y == "function" ? Y(Q) : Y;
      return (
        typeof J == "string" &&
          ((J = J.includes("?") || J.includes("#") ? (J = o(J)) : { path: J }),
          (J.params = {})),
        Pt(
          { query: Q.query, hash: Q.hash, params: "path" in J ? {} : Q.params },
          J,
        )
      );
    }
  }
  function m(Q, V) {
    const Y = (A = i(Q)),
      J = t.value,
      $ = Q.state,
      W = Q.force,
      Z = Q.replace === !0,
      j = v(Y);
    if (j)
      return m(
        Pt(o(j), {
          state: typeof j == "object" ? Pt({}, $, j.state) : $,
          force: W,
          replace: Z,
        }),
        V || Y,
      );
    const k = Y;
    k.redirectedFrom = V;
    let _;
    return (
      !W && Hv(S, J, Y) && ((_ = os(16, { to: k, from: J })), z(J, J, !0, !1)),
      (_ ? Promise.resolve(_) : C(k, J))
        .catch((q) => (Ve(q) ? (Ve(q, 2) ? q : X(q)) : D(q, k, J)))
        .then((q) => {
          if (q) {
            if (Ve(q, 2))
              return m(
                Pt({ replace: Z }, o(q.to), {
                  state: typeof q.to == "object" ? Pt({}, $, q.to.state) : $,
                  force: W,
                }),
                V || k,
              );
          } else q = F(k, J, !0, Z, $);
          return (T(k, J, q), q);
        })
    );
  }
  function x(Q, V) {
    const Y = h(Q, V);
    return Y ? Promise.reject(Y) : Promise.resolve();
  }
  function g(Q) {
    const V = b.values().next().value;
    return V && typeof V.runWithContext == "function"
      ? V.runWithContext(Q)
      : Q();
  }
  function C(Q, V) {
    let Y;
    const [J, $, W] = Op(Q, V);
    Y = na(J.reverse(), "beforeRouteLeave", Q, V);
    for (const j of J)
      j.leaveGuards.forEach((k) => {
        Y.push(ni(k, Q, V));
      });
    const Z = x.bind(null, Q, V);
    return (
      Y.push(Z),
      H(Y)
        .then(() => {
          Y = [];
          for (const j of L.list()) Y.push(ni(j, Q, V));
          return (Y.push(Z), H(Y));
        })
        .then(() => {
          Y = na($, "beforeRouteUpdate", Q, V);
          for (const j of $)
            j.updateGuards.forEach((k) => {
              Y.push(ni(k, Q, V));
            });
          return (Y.push(Z), H(Y));
        })
        .then(() => {
          Y = [];
          for (const j of W)
            if (j.beforeEnter)
              if (Pe(j.beforeEnter))
                for (const k of j.beforeEnter) Y.push(ni(k, Q, V));
              else Y.push(ni(j.beforeEnter, Q, V));
          return (Y.push(Z), H(Y));
        })
        .then(
          () => (
            Q.matched.forEach((j) => (j.enterCallbacks = {})),
            (Y = na(W, "beforeRouteEnter", Q, V)),
            Y.push(Z),
            H(Y)
          ),
        )
        .then(() => {
          Y = [];
          for (const j of d.list()) Y.push(ni(j, Q, V));
          return (Y.push(Z), H(Y));
        })
        .catch((j) => (Ve(j, 8) ? j : Promise.reject(j)))
    );
  }
  function T(Q, V, Y) {
    y.list().forEach((J) => g(() => J(Q, V, Y)));
  }
  function F(Q, V, Y, J, $) {
    const W = h(Q, V);
    if (W) return W;
    const Z = V === _e,
      j = Wi ? history.state : {};
    (Y &&
      (J || Z
        ? P.replace(Q.fullPath, Pt({ scroll: Z && j && j.scroll }, $))
        : P.push(Q.fullPath, $)),
      (t.value = Q),
      z(Q, V, Y, Z),
      X());
  }
  let w;
  function U() {
    w ||
      (w = P.listen((Q, V, Y) => {
        if (!R.listening) return;
        const J = i(Q),
          $ = v(J);
        if ($) {
          m(Pt($, { replace: !0 }), J).catch(Gs);
          return;
        }
        A = J;
        const W = t.value;
        (Wi && Wv(jo(W.fullPath, Y.delta), Ir()),
          C(J, W)
            .catch((Z) =>
              Ve(Z, 12)
                ? Z
                : Ve(Z, 2)
                  ? (m(Z.to, J)
                      .then((j) => {
                        Ve(j, 20) &&
                          !Y.delta &&
                          Y.type === ks.pop &&
                          P.go(-1, !1);
                      })
                      .catch(Gs),
                    Promise.reject())
                  : (Y.delta && P.go(-Y.delta, !1), D(Z, J, W)),
            )
            .then((Z) => {
              ((Z = Z || F(J, W, !1)),
                Z &&
                  (Y.delta && !Ve(Z, 8)
                    ? P.go(-Y.delta, !1)
                    : Y.type === ks.pop && Ve(Z, 20) && P.go(-1, !1)),
                T(J, W, Z));
            })
            .catch(Gs));
      }));
  }
  let M = ms(),
    I = ms(),
    O;
  function D(Q, V, Y) {
    X(Q);
    const J = I.list();
    return (
      J.length ? J.forEach(($) => $(Q, V, Y)) : console.error(Q),
      Promise.reject(Q)
    );
  }
  function G() {
    return O && t.value !== _e
      ? Promise.resolve()
      : new Promise((Q, V) => {
          M.add([Q, V]);
        });
  }
  function X(Q) {
    return (
      O ||
        ((O = !Q),
        U(),
        M.list().forEach(([V, Y]) => (Q ? Y(Q) : V())),
        M.reset()),
      Q
    );
  }
  function z(Q, V, Y, J) {
    const { scrollBehavior: $ } = p;
    if (!Wi || !$) return Promise.resolve();
    const W =
      (!Y && Kv(jo(Q.fullPath, 0))) ||
      ((J || !Y) && history.state && history.state.scroll) ||
      null;
    return kl()
      .then(() => $(Q, V, W))
      .then((Z) => Z && zv(Z))
      .catch((Z) => D(Z, Q, V));
  }
  const K = (Q) => P.go(Q);
  let N;
  const b = new Set(),
    R = {
      currentRoute: t,
      listening: !0,
      addRoute: n,
      removeRoute: e,
      hasRoute: u,
      getRoutes: s,
      resolve: i,
      options: p,
      push: l,
      replace: f,
      go: K,
      back: () => K(-1),
      forward: () => K(1),
      beforeEach: L.add,
      beforeResolve: d.add,
      afterEach: y.add,
      onError: I.add,
      isReady: G,
      install(Q) {
        const V = _____WB$wombat$check$this$function_____(this);
        (Q.component("RouterLink", Pp),
          Q.component("RouterView", Lu),
          (Q.config.globalProperties.$router = V),
          Object.defineProperty(Q.config.globalProperties, "$route", {
            enumerable: !0,
            get: () => Tt(t),
          }),
          Wi &&
            !N &&
            t.value === _e &&
            ((N = !0), l(P.location).catch(($) => {})));
        const Y = {};
        for (const $ in _e)
          Object.defineProperty(Y, $, {
            get: () => t.value[$],
            enumerable: !0,
          });
        (Q.provide(ZA, V), Q.provide(Ru, Yl(Y)), Q.provide($a, t));
        const J = Q.unmount;
        (b.add(Q),
          (Q.unmount = function () {
            (b.delete(Q),
              b.size < 1 &&
                ((A = _e),
                w && w(),
                (w = null),
                (t.value = _e),
                (N = !1),
                (O = !1)),
              J());
          }));
      },
    };
  function H(Q) {
    return Q.reduce((V, Y) => V.then(() => g(Y)), Promise.resolve());
  }
  return R;
}
function Op(p, B) {
  const E = [],
    S = [],
    P = [],
    L = Math.max(B.matched.length, p.matched.length);
  for (let d = 0; d < L; d++) {
    const y = B.matched[d];
    y && (p.matched.find((A) => As(A, y)) ? S.push(y) : E.push(y));
    const t = p.matched[d];
    t && (B.matched.find((A) => As(A, t)) || P.push(t));
  }
  return [E, S, P];
}
const Qp = {
    __name: "App",
    setup(p) {
      return (B, E) => (mt(), Mi(Tt(Lu)));
    },
  },
  Dp = "/planet5.png",
  Hp = "/planet10.png";
var Np =
  typeof globalThis < "u"
    ? globalThis
    : typeof window < "u"
      ? window
      : typeof global < "u"
        ? global
        : typeof self < "u"
          ? self
          : {};
function Gp(p) {
  return p && p.__esModule && Object.prototype.hasOwnProperty.call(p, "default")
    ? p.default
    : p;
}
var Iu = { exports: {} };
(function (p, B) {
  (function (S, P) {
    p.exports = P();
  })(Np, () =>
    (() => {
      var E = {
          6659: (d) => {
            var y = Object.prototype.hasOwnProperty,
              t = "~";
            function A() {}
            Object.create &&
              ((A.prototype = Object.create(null)),
              new A().__proto__ || (t = !1));
            function c(e, s, u) {
              ((this.fn = e), (this.context = s), (this.once = u || !1));
            }
            function a(e, s, u, i, o) {
              if (typeof u != "function")
                throw new TypeError("The listener must be a function");
              var h = new c(u, i || e, o),
                l = t ? t + s : s;
              return (
                e._events[l]
                  ? e._events[l].fn
                    ? (e._events[l] = [e._events[l], h])
                    : e._events[l].push(h)
                  : ((e._events[l] = h), e._eventsCount++),
                e
              );
            }
            function r(e, s) {
              --e._eventsCount === 0
                ? (e._events = new A())
                : delete e._events[s];
            }
            function n() {
              ((this._events = new A()), (this._eventsCount = 0));
            }
            ((n.prototype.eventNames = function () {
              var s = [],
                u,
                i;
              if (this._eventsCount === 0) return s;
              for (i in (u = this._events))
                y.call(u, i) && s.push(t ? i.slice(1) : i);
              return Object.getOwnPropertySymbols
                ? s.concat(Object.getOwnPropertySymbols(u))
                : s;
            }),
              (n.prototype.listeners = function (s) {
                var u = t ? t + s : s,
                  i = this._events[u];
                if (!i) return [];
                if (i.fn) return [i.fn];
                for (var o = 0, h = i.length, l = new Array(h); o < h; o++)
                  l[o] = i[o].fn;
                return l;
              }),
              (n.prototype.listenerCount = function (s) {
                var u = t ? t + s : s,
                  i = this._events[u];
                return i ? (i.fn ? 1 : i.length) : 0;
              }),
              (n.prototype.emit = function (s, u, i, o, h, l) {
                var f = t ? t + s : s;
                if (!this._events[f]) return !1;
                var v = this._events[f],
                  m = arguments.length,
                  x,
                  g;
                if (v.fn) {
                  switch (
                    (v.once && this.removeListener(s, v.fn, void 0, !0), m)
                  ) {
                    case 1:
                      return (v.fn.call(v.context), !0);
                    case 2:
                      return (v.fn.call(v.context, u), !0);
                    case 3:
                      return (v.fn.call(v.context, u, i), !0);
                    case 4:
                      return (v.fn.call(v.context, u, i, o), !0);
                    case 5:
                      return (v.fn.call(v.context, u, i, o, h), !0);
                    case 6:
                      return (v.fn.call(v.context, u, i, o, h, l), !0);
                  }
                  for (g = 1, x = new Array(m - 1); g < m; g++)
                    x[g - 1] = arguments[g];
                  v.fn.apply(v.context, x);
                } else {
                  var C = v.length,
                    T;
                  for (g = 0; g < C; g++)
                    switch (
                      (v[g].once && this.removeListener(s, v[g].fn, void 0, !0),
                      m)
                    ) {
                      case 1:
                        v[g].fn.call(v[g].context);
                        break;
                      case 2:
                        v[g].fn.call(v[g].context, u);
                        break;
                      case 3:
                        v[g].fn.call(v[g].context, u, i);
                        break;
                      case 4:
                        v[g].fn.call(v[g].context, u, i, o);
                        break;
                      default:
                        if (!x)
                          for (T = 1, x = new Array(m - 1); T < m; T++)
                            x[T - 1] = arguments[T];
                        v[g].fn.apply(v[g].context, x);
                    }
                }
                return !0;
              }),
              (n.prototype.on = function (s, u, i) {
                return a(this, s, u, i, !1);
              }),
              (n.prototype.once = function (s, u, i) {
                return a(this, s, u, i, !0);
              }),
              (n.prototype.removeListener = function (s, u, i, o) {
                var h = t ? t + s : s;
                if (!this._events[h])
                  return _____WB$wombat$check$this$function_____(this);
                if (!u)
                  return (
                    r(this, h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                var l = this._events[h];
                if (l.fn)
                  l.fn === u &&
                    (!o || l.once) &&
                    (!i || l.context === i) &&
                    r(this, h);
                else {
                  for (var f = 0, v = [], m = l.length; f < m; f++)
                    (l[f].fn !== u ||
                      (o && !l[f].once) ||
                      (i && l[f].context !== i)) &&
                      v.push(l[f]);
                  v.length
                    ? (this._events[h] = v.length === 1 ? v[0] : v)
                    : r(this, h);
                }
                return _____WB$wombat$check$this$function_____(this);
              }),
              (n.prototype.removeAllListeners = function (s) {
                var u;
                return (
                  s
                    ? ((u = t ? t + s : s), this._events[u] && r(this, u))
                    : ((this._events = new A()), (this._eventsCount = 0)),
                  _____WB$wombat$check$this$function_____(this)
                );
              }),
              (n.prototype.off = n.prototype.removeListener),
              (n.prototype.addListener = n.prototype.on),
              (n.prefixed = t),
              (n.EventEmitter = n),
              (d.exports = n));
          },
          62270: (d, y, t) => {
            /**
             * @author       samme
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(82590),
              c = function (a, r, n, e) {
                for (var s = a[0], u = 1; u < a.length; u++) {
                  var i = a[u];
                  (A(i, s, r, n, e), (s = i));
                }
                return a;
              };
            d.exports = c;
          },
          61148: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(6124),
              c = function (a, r, n, e, s) {
                return A(a, "angle", r, n, e, s);
              };
            d.exports = c;
          },
          22015: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              for (var a = 0; a < t.length; a++) {
                var r = t[a];
                A.call(c, r);
              }
              return t;
            };
            d.exports = y;
          },
          31060: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              c === void 0 && (c = 0);
              for (var a = c; a < t.length; a++) {
                var r = t[a],
                  n = !0;
                for (var e in A) r[e] !== A[e] && (n = !1);
                if (n) return r;
              }
              return null;
            };
            d.exports = y;
          },
          52367: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              c === void 0 && (c = 0);
              for (var a = t.length - 1; a >= c; a--) {
                var r = t[a],
                  n = !0;
                for (var e in A) r[e] !== A[e] && (n = !1);
                if (n) return r;
              }
              return null;
            };
            d.exports = y;
          },
          12673: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(40327),
              c = t(84093),
              a = t(72632),
              r = t(72283),
              n = t(71030),
              e = new n(
                { sys: { queueDepthSort: r, events: { once: r } } },
                0,
                0,
                1,
                1,
              ).setOrigin(0, 0),
              s = function (u, i) {
                i === void 0 && (i = {});
                var o = i.hasOwnProperty("width"),
                  h = i.hasOwnProperty("height"),
                  l = a(i, "width", -1),
                  f = a(i, "height", -1),
                  v = a(i, "cellWidth", 1),
                  m = a(i, "cellHeight", v),
                  x = a(i, "position", c.TOP_LEFT),
                  g = a(i, "x", 0),
                  C = a(i, "y", 0),
                  T = 0,
                  F = 0,
                  w = l * v,
                  U = f * m;
                (e.setPosition(g, C), e.setSize(v, m));
                for (var M = 0; M < u.length; M++)
                  if ((A(u[M], e, x), o && l === -1)) e.x += v;
                  else if (h && f === -1) e.y += m;
                  else if (h && !o) {
                    if (
                      ((F += m),
                      (e.y += m),
                      F === U &&
                        ((F = 0), (T += v), (e.y = C), (e.x += v), T === w))
                    )
                      break;
                  } else if (
                    ((T += v),
                    (e.x += v),
                    T === w &&
                      ((T = 0), (F += m), (e.x = g), (e.y += m), F === U))
                  )
                    break;
                return u;
              };
            d.exports = s;
          },
          691: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(6124),
              c = function (a, r, n, e, s) {
                return A(a, "alpha", r, n, e, s);
              };
            d.exports = c;
          },
          3877: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(6124),
              c = function (a, r, n, e, s) {
                return A(a, "x", r, n, e, s);
              };
            d.exports = c;
          },
          71020: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(6124),
              c = function (a, r, n, e, s, u, i) {
                return (
                  n == null && (n = r),
                  A(a, "x", r, e, u, i),
                  A(a, "y", n, s, u, i)
                );
              };
            d.exports = c;
          },
          28970: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(6124),
              c = function (a, r, n, e, s) {
                return A(a, "y", r, n, e, s);
              };
            d.exports = c;
          },
          82249: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              (c === void 0 && (c = 0), a === void 0 && (a = 6.28));
              for (
                var r = c,
                  n = (a - c) / t.length,
                  e = A.x,
                  s = A.y,
                  u = A.radius,
                  i = 0;
                i < t.length;
                i++
              )
                ((t[i].x = e + u * Math.cos(r)),
                  (t[i].y = s + u * Math.sin(r)),
                  (r += n));
              return t;
            };
            d.exports = y;
          },
          30285: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              (c === void 0 && (c = 0), a === void 0 && (a = 6.28));
              for (
                var r = c,
                  n = (a - c) / t.length,
                  e = A.width / 2,
                  s = A.height / 2,
                  u = 0;
                u < t.length;
                u++
              )
                ((t[u].x = A.x + e * Math.cos(r)),
                  (t[u].y = A.y + s * Math.sin(r)),
                  (r += n));
              return t;
            };
            d.exports = y;
          },
          61557: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(8570),
              c = function (a, r) {
                for (var n = A(r, a.length), e = 0; e < a.length; e++) {
                  var s = a[e],
                    u = n[e];
                  ((s.x = u.x), (s.y = u.y));
                }
                return a;
              };
            d.exports = c;
          },
          63549: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(40053),
              c = t(77640),
              a = t(38487),
              r = function (n, e, s) {
                s === void 0 && (s = 0);
                var u = A(e, !1, n.length);
                s > 0 ? c(u, s) : s < 0 && a(u, Math.abs(s));
                for (var i = 0; i < n.length; i++)
                  ((n[i].x = u[i].x), (n[i].y = u[i].y));
                return n;
              };
            d.exports = r;
          },
          51629: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(58813),
              c = function (a, r, n) {
                var e = A({ x1: r.x1, y1: r.y1, x2: r.x2, y2: r.y2 }, n),
                  s = A({ x1: r.x2, y1: r.y2, x2: r.x3, y2: r.y3 }, n),
                  u = A({ x1: r.x3, y1: r.y3, x2: r.x1, y2: r.y1 }, n);
                (e.pop(), s.pop(), u.pop(), (e = e.concat(s, u)));
                for (
                  var i = e.length / a.length, o = 0, h = 0;
                  h < a.length;
                  h++
                ) {
                  var l = a[h],
                    f = e[Math.floor(o)];
                  ((l.x = f.x), (l.y = f.y), (o += i));
                }
                return a;
              };
            d.exports = c;
          },
          1045: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              for (var a = 0; a < t.length; a++) {
                var r = t[a];
                r.anims && r.anims.play(A, c);
              }
              return t;
            };
            d.exports = y;
          },
          6124: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a, r, n) {
              (a === void 0 && (a = 0),
                r === void 0 && (r = 0),
                n === void 0 && (n = 1));
              var e,
                s = 0,
                u = t.length;
              if (n === 1)
                for (e = r; e < u; e++) ((t[e][A] += c + s * a), s++);
              else for (e = r; e >= 0; e--) ((t[e][A] += c + s * a), s++);
              return t;
            };
            d.exports = y;
          },
          23646: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a, r, n) {
              (a === void 0 && (a = 0),
                r === void 0 && (r = 0),
                n === void 0 && (n = 1));
              var e,
                s = 0,
                u = t.length;
              if (n === 1) for (e = r; e < u; e++) ((t[e][A] = c + s * a), s++);
              else for (e = r; e >= 0; e--) ((t[e][A] = c + s * a), s++);
              return t;
            };
            d.exports = y;
          },
          4392: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(30977),
              c = function (a, r) {
                for (var n = 0; n < a.length; n++) A(r, a[n]);
                return a;
              };
            d.exports = c;
          },
          94985: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72006),
              c = function (a, r) {
                for (var n = 0; n < a.length; n++) A(r, a[n]);
                return a;
              };
            d.exports = c;
          },
          63305: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(74077),
              c = function (a, r) {
                for (var n = 0; n < a.length; n++) A(r, a[n]);
                return a;
              };
            d.exports = c;
          },
          90739: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(30001),
              c = function (a, r) {
                for (var n = 0; n < a.length; n++) A(r, a[n]);
                return a;
              };
            d.exports = c;
          },
          91417: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(99761),
              c = function (a, r) {
                for (var n = 0; n < a.length; n++) A(r, a[n]);
                return a;
              };
            d.exports = c;
          },
          26182: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(6124),
              c = function (a, r, n, e, s) {
                return A(a, "rotation", r, n, e, s);
              };
            d.exports = c;
          },
          87299: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72395),
              c = t(53996),
              a = function (r, n, e) {
                for (var s = n.x, u = n.y, i = 0; i < r.length; i++) {
                  var o = r[i];
                  A(o, s, u, e, Math.max(1, c(o.x, o.y, s, u)));
                }
                return r;
              };
            d.exports = a;
          },
          92194: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72395),
              c = function (a, r, n, e) {
                var s = r.x,
                  u = r.y;
                if (e === 0) return a;
                for (var i = 0; i < a.length; i++) A(a[i], s, u, n, e);
                return a;
              };
            d.exports = c;
          },
          30363: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(6124),
              c = function (a, r, n, e, s) {
                return A(a, "scaleX", r, n, e, s);
              };
            d.exports = c;
          },
          51449: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(6124),
              c = function (a, r, n, e, s, u, i) {
                return (
                  n == null && (n = r),
                  A(a, "scaleX", r, e, u, i),
                  A(a, "scaleY", n, s, u, i)
                );
              };
            d.exports = c;
          },
          64895: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(6124),
              c = function (a, r, n, e, s) {
                return A(a, "scaleY", r, n, e, s);
              };
            d.exports = c;
          },
          30329: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(23646),
              c = function (a, r, n, e, s) {
                return A(a, "alpha", r, n, e, s);
              };
            d.exports = c;
          },
          43954: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(23646),
              c = function (a, r, n, e) {
                return A(a, "blendMode", r, 0, n, e);
              };
            d.exports = c;
          },
          70688: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(23646),
              c = function (a, r, n, e, s) {
                return A(a, "depth", r, n, e, s);
              };
            d.exports = c;
          },
          8314: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              for (var a = 0; a < t.length; a++) t[a].setInteractive(A, c);
              return t;
            };
            d.exports = y;
          },
          12894: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(23646),
              c = function (a, r, n, e, s, u, i) {
                return (
                  n == null && (n = r),
                  A(a, "originX", r, e, u, i),
                  A(a, "originY", n, s, u, i),
                  a.forEach(function (o) {
                    o.updateDisplayOrigin();
                  }),
                  a
                );
              };
            d.exports = c;
          },
          38767: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(23646),
              c = function (a, r, n, e, s) {
                return A(a, "rotation", r, n, e, s);
              };
            d.exports = c;
          },
          18584: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(23646),
              c = function (a, r, n, e, s, u, i) {
                return (
                  n == null && (n = r),
                  A(a, "scaleX", r, e, u, i),
                  A(a, "scaleY", n, s, u, i)
                );
              };
            d.exports = c;
          },
          17381: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(23646),
              c = function (a, r, n, e, s) {
                return A(a, "scaleX", r, n, e, s);
              };
            d.exports = c;
          },
          74370: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(23646),
              c = function (a, r, n, e, s) {
                return A(a, "scaleY", r, n, e, s);
              };
            d.exports = c;
          },
          27773: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(23646),
              c = function (a, r, n, e, s, u, i) {
                return (
                  n == null && (n = r),
                  A(a, "scrollFactorX", r, e, u, i),
                  A(a, "scrollFactorY", n, s, u, i)
                );
              };
            d.exports = c;
          },
          75257: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(23646),
              c = function (a, r, n, e, s) {
                return A(a, "scrollFactorX", r, n, e, s);
              };
            d.exports = c;
          },
          54512: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(23646),
              c = function (a, r, n, e, s) {
                return A(a, "scrollFactorY", r, n, e, s);
              };
            d.exports = c;
          },
          69423: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a, r) {
              for (var n = 0; n < t.length; n++) t[n].setTint(A, c, a, r);
              return t;
            };
            d.exports = y;
          },
          58291: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(23646),
              c = function (a, r, n, e) {
                return A(a, "visible", r, 0, n, e);
              };
            d.exports = c;
          },
          94833: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(23646),
              c = function (a, r, n, e, s) {
                return A(a, "x", r, n, e, s);
              };
            d.exports = c;
          },
          14284: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(23646),
              c = function (a, r, n, e, s, u, i) {
                return (
                  n == null && (n = r),
                  A(a, "x", r, e, u, i),
                  A(a, "y", n, s, u, i)
                );
              };
            d.exports = c;
          },
          96574: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(23646),
              c = function (a, r, n, e, s) {
                return A(a, "y", r, n, e, s);
              };
            d.exports = c;
          },
          74086: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(93736),
              c = function (a, r, n, e, s) {
                (e === void 0 && (e = 0), s === void 0 && (s = new A()));
                var u,
                  i,
                  o = a.length;
                if (o === 1)
                  ((u = a[0].x), (i = a[0].y), (a[0].x = r), (a[0].y = n));
                else {
                  var h = 1,
                    l = 0;
                  (e === 0 && ((l = o - 1), (h = o - 2)),
                    (u = a[l].x),
                    (i = a[l].y),
                    (a[l].x = r),
                    (a[l].y = n));
                  for (var f = 0; f < o; f++)
                    if (!(h >= o || h === -1)) {
                      var v = a[h],
                        m = v.x,
                        x = v.y;
                      ((v.x = u),
                        (v.y = i),
                        (u = m),
                        (i = x),
                        e === 0 ? h-- : h++);
                    }
                }
                return ((s.x = u), (s.y = i), s);
              };
            d.exports = c;
          },
          86347: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(18592),
              c = function (a) {
                return A(a);
              };
            d.exports = c;
          },
          1558: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(5514),
              c = function (a, r, n, e, s) {
                s === void 0 && (s = !1);
                var u = Math.abs(e - n) / a.length,
                  i;
                if (s) for (i = 0; i < a.length; i++) a[i][r] += A(i * u, n, e);
                else for (i = 0; i < a.length; i++) a[i][r] = A(i * u, n, e);
                return a;
              };
            d.exports = c;
          },
          9938: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(87736),
              c = function (a, r, n, e, s) {
                s === void 0 && (s = !1);
                var u = Math.abs(e - n) / a.length,
                  i;
                if (s) for (i = 0; i < a.length; i++) a[i][r] += A(i * u, n, e);
                else for (i = 0; i < a.length; i++) a[i][r] = A(i * u, n, e);
                return a;
              };
            d.exports = c;
          },
          71060: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a, r) {
              if ((r === void 0 && (r = !1), t.length === 0)) return t;
              if (t.length === 1)
                return (
                  r ? (t[0][A] += (a + c) / 2) : (t[0][A] = (a + c) / 2),
                  t
                );
              var n = Math.abs(a - c) / (t.length - 1),
                e;
              if (r) for (e = 0; e < t.length; e++) t[e][A] += e * n + c;
              else for (e = 0; e < t.length; e++) t[e][A] = e * n + c;
              return t;
            };
            d.exports = y;
          },
          11207: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              for (var A = 0; A < t.length; A++) t[A].visible = !t[A].visible;
              return t;
            };
            d.exports = y;
          },
          24404: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @author       samme <samme.npm@gmail.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(1071),
              c = function (a, r, n) {
                n === void 0 && (n = 0);
                for (var e = 0; e < a.length; e++) {
                  var s = a[e];
                  ((s.x = A(s.x, r.left - n, r.right + n)),
                    (s.y = A(s.y, r.top - n, r.bottom + n)));
                }
                return a;
              };
            d.exports = c;
          },
          83979: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              AlignTo: t(62270),
              Angle: t(61148),
              Call: t(22015),
              GetFirst: t(31060),
              GetLast: t(52367),
              GridAlign: t(12673),
              IncAlpha: t(691),
              IncX: t(3877),
              IncXY: t(71020),
              IncY: t(28970),
              PlaceOnCircle: t(82249),
              PlaceOnEllipse: t(30285),
              PlaceOnLine: t(61557),
              PlaceOnRectangle: t(63549),
              PlaceOnTriangle: t(51629),
              PlayAnimation: t(1045),
              PropertyValueInc: t(6124),
              PropertyValueSet: t(23646),
              RandomCircle: t(4392),
              RandomEllipse: t(94985),
              RandomLine: t(63305),
              RandomRectangle: t(90739),
              RandomTriangle: t(91417),
              Rotate: t(26182),
              RotateAround: t(87299),
              RotateAroundDistance: t(92194),
              ScaleX: t(30363),
              ScaleXY: t(51449),
              ScaleY: t(64895),
              SetAlpha: t(30329),
              SetBlendMode: t(43954),
              SetDepth: t(70688),
              SetHitArea: t(8314),
              SetOrigin: t(12894),
              SetRotation: t(38767),
              SetScale: t(18584),
              SetScaleX: t(17381),
              SetScaleY: t(74370),
              SetScrollFactor: t(27773),
              SetScrollFactorX: t(75257),
              SetScrollFactorY: t(54512),
              SetTint: t(69423),
              SetVisible: t(58291),
              SetX: t(94833),
              SetXY: t(14284),
              SetY: t(96574),
              ShiftPosition: t(74086),
              Shuffle: t(86347),
              SmootherStep: t(9938),
              SmoothStep: t(1558),
              Spread: t(71060),
              ToggleVisible: t(11207),
              WrapInRectangle: t(24404),
            };
          },
          85463: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(82897),
              c = t(56694),
              a = t(16938),
              r = t(2406),
              n = t(71519),
              e = t(10850),
              s = t(28834),
              u = new c({
                initialize: function (o, h, l) {
                  ((this.manager = o),
                    (this.key = h),
                    (this.type = "frame"),
                    (_____WB$wombat$check$this$function_____(this).frames =
                      this.getFrames(
                        o.textureManager,
                        e(l, "frames", []),
                        e(l, "defaultTextureKey", null),
                        e(l, "sortFrames", !0),
                      )),
                    (this.frameRate = e(l, "frameRate", null)),
                    (this.duration = e(l, "duration", null)),
                    this.msPerFrame,
                    (this.skipMissedFrames = e(l, "skipMissedFrames", !0)),
                    (this.delay = e(l, "delay", 0)),
                    (this.repeat = e(l, "repeat", 0)),
                    (this.repeatDelay = e(l, "repeatDelay", 0)),
                    (this.yoyo = e(l, "yoyo", !1)),
                    (this.showBeforeDelay = e(l, "showBeforeDelay", !1)),
                    (this.showOnStart = e(l, "showOnStart", !1)),
                    (this.hideOnComplete = e(l, "hideOnComplete", !1)),
                    (this.randomFrame = e(l, "randomFrame", !1)),
                    (this.paused = !1),
                    this.calculateDuration(
                      this,
                      this.getTotalFrames(),
                      this.duration,
                      this.frameRate,
                    ),
                    this.manager.on &&
                      (this.manager.on(
                        a.PAUSE_ALL,
                        this.pause,
                        _____WB$wombat$check$this$function_____(this),
                      ),
                      this.manager.on(
                        a.RESUME_ALL,
                        this.resume,
                        _____WB$wombat$check$this$function_____(this),
                      )));
                },
                getTotalFrames: function () {
                  return _____WB$wombat$check$this$function_____(this).frames
                    .length;
                },
                calculateDuration: function (i, o, h, l) {
                  (h === null && l === null
                    ? ((i.frameRate = 24), (i.duration = (24 / o) * 1e3))
                    : h && l === null
                      ? ((i.duration = h), (i.frameRate = o / (h / 1e3)))
                      : ((i.frameRate = l), (i.duration = (o / l) * 1e3)),
                    (i.msPerFrame = 1e3 / i.frameRate));
                },
                addFrame: function (i) {
                  return this.addFrameAt(
                    _____WB$wombat$check$this$function_____(this).frames.length,
                    i,
                  );
                },
                addFrameAt: function (i, o) {
                  var h = this.getFrames(this.manager.textureManager, o);
                  if (h.length > 0) {
                    if (i === 0)
                      _____WB$wombat$check$this$function_____(this).frames =
                        h.concat(
                          _____WB$wombat$check$this$function_____(this).frames,
                        );
                    else if (
                      i ===
                      _____WB$wombat$check$this$function_____(this).frames
                        .length
                    )
                      _____WB$wombat$check$this$function_____(this).frames =
                        _____WB$wombat$check$this$function_____(
                          this,
                        ).frames.concat(h);
                    else {
                      var l = _____WB$wombat$check$this$function_____(
                          this,
                        ).frames.slice(0, i),
                        f =
                          _____WB$wombat$check$this$function_____(
                            this,
                          ).frames.slice(i);
                      _____WB$wombat$check$this$function_____(this).frames =
                        l.concat(h, f);
                    }
                    this.updateFrameSequence();
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                checkFrame: function (i) {
                  return (
                    i >= 0 &&
                    i <
                      _____WB$wombat$check$this$function_____(this).frames
                        .length
                  );
                },
                getFirstTick: function (i) {
                  ((i.accumulator = 0),
                    (i.nextTick = i.msPerFrame + i.currentFrame.duration));
                },
                getFrameAt: function (i) {
                  return _____WB$wombat$check$this$function_____(this).frames[
                    i
                  ];
                },
                getFrames: function (i, o, h, l) {
                  l === void 0 && (l = !0);
                  var f = [],
                    v,
                    m,
                    x = 1,
                    g,
                    C;
                  if (typeof o == "string") {
                    if (((C = o), !i.exists(C)))
                      return (console.warn('Texture "%s" not found', C), f);
                    var T = i.get(C),
                      F = T.getFrameNames();
                    (l && s(F),
                      (o = []),
                      F.forEach(function (D) {
                        o.push({ key: C, frame: D });
                      }));
                  }
                  if (!Array.isArray(o) || o.length === 0) return f;
                  for (g = 0; g < o.length; g++) {
                    var w = o[g],
                      U = e(w, "key", h);
                    if (U) {
                      var M = e(w, "frame", 0),
                        I = i.getFrame(U, M);
                      if (!I) {
                        console.warn('Texture "%s" not found', U);
                        continue;
                      }
                      ((m = new n(U, M, x, I)),
                        (m.duration = e(w, "duration", 0)),
                        (m.isFirst = !v),
                        v && ((v.nextFrame = m), (m.prevFrame = v)),
                        f.push(m),
                        (v = m),
                        x++);
                    }
                  }
                  if (f.length > 0) {
                    ((m.isLast = !0),
                      (m.nextFrame = f[0]),
                      (f[0].prevFrame = m));
                    var O = 1 / (f.length - 1);
                    for (g = 0; g < f.length; g++) f[g].progress = g * O;
                  }
                  return f;
                },
                getNextTick: function (i) {
                  ((i.accumulator -= i.nextTick),
                    (i.nextTick = i.msPerFrame + i.currentFrame.duration));
                },
                getFrameByProgress: function (i) {
                  return (
                    (i = A(i, 0, 1)),
                    r(
                      i,
                      _____WB$wombat$check$this$function_____(this).frames,
                      "progress",
                    )
                  );
                },
                nextFrame: function (i) {
                  var o = i.currentFrame;
                  o.isLast
                    ? i.yoyo
                      ? this.handleYoyoFrame(i, !1)
                      : i.repeatCounter > 0
                        ? i.inReverse && i.forward
                          ? (i.forward = !1)
                          : this.repeatAnimation(i)
                        : i.complete()
                    : this.updateAndGetNextTick(i, o.nextFrame);
                },
                handleYoyoFrame: function (i, o) {
                  if (
                    (o || (o = !1), i.inReverse === !o && i.repeatCounter > 0)
                  ) {
                    ((i.repeatDelay === 0 || i.pendingRepeat) &&
                      (i.forward = o),
                      this.repeatAnimation(i));
                    return;
                  }
                  if (i.inReverse !== o && i.repeatCounter === 0) {
                    i.complete();
                    return;
                  }
                  i.forward = o;
                  var h = o
                    ? i.currentFrame.nextFrame
                    : i.currentFrame.prevFrame;
                  this.updateAndGetNextTick(i, h);
                },
                getLastFrame: function () {
                  return _____WB$wombat$check$this$function_____(this).frames[
                    _____WB$wombat$check$this$function_____(this).frames
                      .length - 1
                  ];
                },
                previousFrame: function (i) {
                  var o = i.currentFrame;
                  o.isFirst
                    ? i.yoyo
                      ? this.handleYoyoFrame(i, !0)
                      : i.repeatCounter > 0
                        ? i.inReverse && !i.forward
                          ? this.repeatAnimation(i)
                          : ((i.forward = !0), this.repeatAnimation(i))
                        : i.complete()
                    : this.updateAndGetNextTick(i, o.prevFrame);
                },
                updateAndGetNextTick: function (i, o) {
                  (i.setCurrentFrame(o), this.getNextTick(i));
                },
                removeFrame: function (i) {
                  var o =
                    _____WB$wombat$check$this$function_____(
                      this,
                    ).frames.indexOf(i);
                  return (
                    o !== -1 && this.removeFrameAt(o),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                removeFrameAt: function (i) {
                  return (
                    _____WB$wombat$check$this$function_____(this).frames.splice(
                      i,
                      1,
                    ),
                    this.updateFrameSequence(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                repeatAnimation: function (i) {
                  if (i._pendingStop === 2) {
                    if (i._pendingStopValue === 0) return i.stop();
                    i._pendingStopValue--;
                  }
                  i.repeatDelay > 0 && !i.pendingRepeat
                    ? ((i.pendingRepeat = !0),
                      (i.accumulator -= i.nextTick),
                      (i.nextTick += i.repeatDelay))
                    : (i.repeatCounter--,
                      i.forward
                        ? i.setCurrentFrame(i.currentFrame.nextFrame)
                        : i.setCurrentFrame(i.currentFrame.prevFrame),
                      i.isPlaying && (this.getNextTick(i), i.handleRepeat()));
                },
                toJSON: function () {
                  var i = {
                    key: this.key,
                    type: this.type,
                    frames: [],
                    frameRate: this.frameRate,
                    duration: this.duration,
                    skipMissedFrames: this.skipMissedFrames,
                    delay: this.delay,
                    repeat: this.repeat,
                    repeatDelay: this.repeatDelay,
                    yoyo: this.yoyo,
                    showBeforeDelay: this.showBeforeDelay,
                    showOnStart: this.showOnStart,
                    randomFrame: this.randomFrame,
                    hideOnComplete: this.hideOnComplete,
                  };
                  return (
                    _____WB$wombat$check$this$function_____(
                      this,
                    ).frames.forEach(function (o) {
                      i.frames.push(o.toJSON());
                    }),
                    i
                  );
                },
                updateFrameSequence: function () {
                  for (
                    var i =
                        _____WB$wombat$check$this$function_____(this).frames
                          .length,
                      o = 1 / (i - 1),
                      h,
                      l = 0;
                    l < i;
                    l++
                  )
                    ((h =
                      _____WB$wombat$check$this$function_____(this).frames[l]),
                      (h.index = l + 1),
                      (h.isFirst = !1),
                      (h.isLast = !1),
                      (h.progress = l * o),
                      l === 0
                        ? ((h.isFirst = !0),
                          i === 1
                            ? ((h.isLast = !0),
                              (h.nextFrame = h),
                              (h.prevFrame = h))
                            : ((h.isLast = !1),
                              (h.prevFrame =
                                _____WB$wombat$check$this$function_____(
                                  this,
                                ).frames[i - 1]),
                              (h.nextFrame =
                                _____WB$wombat$check$this$function_____(
                                  this,
                                ).frames[l + 1])))
                        : l === i - 1 && i > 1
                          ? ((h.isLast = !0),
                            (h.prevFrame =
                              _____WB$wombat$check$this$function_____(
                                this,
                              ).frames[i - 2]),
                            (h.nextFrame =
                              _____WB$wombat$check$this$function_____(
                                this,
                              ).frames[0]))
                          : i > 1 &&
                            ((h.prevFrame =
                              _____WB$wombat$check$this$function_____(
                                this,
                              ).frames[l - 1]),
                            (h.nextFrame =
                              _____WB$wombat$check$this$function_____(
                                this,
                              ).frames[l + 1])));
                  return _____WB$wombat$check$this$function_____(this);
                },
                pause: function () {
                  return (
                    (this.paused = !0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                resume: function () {
                  return (
                    (this.paused = !1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                destroy: function () {
                  (this.manager.off &&
                    (this.manager.off(
                      a.PAUSE_ALL,
                      this.pause,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    this.manager.off(
                      a.RESUME_ALL,
                      this.resume,
                      _____WB$wombat$check$this$function_____(this),
                    )),
                    this.manager.remove(this.key));
                  for (
                    var i = 0;
                    i <
                    _____WB$wombat$check$this$function_____(this).frames.length;
                    i++
                  )
                    _____WB$wombat$check$this$function_____(this).frames[
                      i
                    ].destroy();
                  ((_____WB$wombat$check$this$function_____(this).frames = []),
                    (this.manager = null));
                },
              });
            d.exports = u;
          },
          71519: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = new A({
                initialize: function (r, n, e, s, u) {
                  (u === void 0 && (u = !1),
                    (this.textureKey = r),
                    (this.textureFrame = n),
                    (this.index = e),
                    (this.frame = s),
                    (this.isFirst = !1),
                    (this.isLast = !1),
                    (this.prevFrame = null),
                    (this.nextFrame = null),
                    (this.duration = 0),
                    (this.progress = 0),
                    (this.isKeyFrame = u));
                },
                toJSON: function () {
                  return {
                    key: this.textureKey,
                    frame: this.textureFrame,
                    duration: this.duration,
                    keyframe: this.isKeyFrame,
                  };
                },
                destroy: function () {
                  this.frame = void 0;
                },
              });
            d.exports = c;
          },
          90249: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(85463),
              c = t(56694),
              a = t(33885),
              r = t(6659),
              n = t(16938),
              e = t(97081),
              s = t(72632),
              u = t(10850),
              i = t(83392),
              o = t(13401),
              h = t(76400),
              l = new c({
                Extends: r,
                initialize: function (v) {
                  (r.call(this),
                    (this.game = v),
                    (this.textureManager = null),
                    (this.globalTimeScale = 1),
                    (this.anims = new a()),
                    (this.mixes = new a()),
                    (this.paused = !1),
                    (this.name = "AnimationManager"),
                    v.events.once(
                      e.BOOT,
                      this.boot,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                boot: function () {
                  ((this.textureManager = this.game.textures),
                    this.game.events.once(
                      e.DESTROY,
                      this.destroy,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                addMix: function (f, v, m) {
                  var x = this.anims,
                    g = this.mixes,
                    C = typeof f == "string" ? f : f.key,
                    T = typeof v == "string" ? v : v.key;
                  if (x.has(C) && x.has(T)) {
                    var F = g.get(C);
                    (F || (F = {}), (F[T] = m), g.set(C, F));
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                removeMix: function (f, v) {
                  var m = this.mixes,
                    x = typeof f == "string" ? f : f.key,
                    g = m.get(x);
                  if (g)
                    if (v) {
                      var C = typeof v == "string" ? v : v.key;
                      g.hasOwnProperty(C) && delete g[C];
                    } else v || m.delete(x);
                  return _____WB$wombat$check$this$function_____(this);
                },
                getMix: function (f, v) {
                  var m = this.mixes,
                    x = typeof f == "string" ? f : f.key,
                    g = typeof v == "string" ? v : v.key,
                    C = m.get(x);
                  return C && C.hasOwnProperty(g) ? C[g] : 0;
                },
                add: function (f, v) {
                  return this.anims.has(f)
                    ? (console.warn("Animation key exists: " + f),
                      _____WB$wombat$check$this$function_____(this))
                    : ((v.key = f),
                      this.anims.set(f, v),
                      this.emit(n.ADD_ANIMATION, f, v),
                      _____WB$wombat$check$this$function_____(this));
                },
                exists: function (f) {
                  return this.anims.has(f);
                },
                createFromAseprite: function (f, v, m) {
                  var x = [],
                    g = this.game.cache.json.get(f);
                  if (!g)
                    return (
                      console.warn("No Aseprite data found for: " + f),
                      x
                    );
                  var C = _____WB$wombat$check$this$function_____(this),
                    T = u(g, "meta", null),
                    F = u(g, "frames", null);
                  if (T && F) {
                    var w = u(T, "frameTags", []);
                    w.forEach(function (U) {
                      var M = [],
                        I = s(U, "name", null),
                        O = s(U, "from", 0),
                        D = s(U, "to", 0),
                        G = s(U, "direction", "forward");
                      if (I && (!v || (v && v.indexOf(I) > -1))) {
                        for (var X = 0, z = O; z <= D; z++) {
                          var K = z.toString(),
                            N = F[K];
                          if (N) {
                            var b = s(N, "duration", i.MAX_SAFE_INTEGER);
                            (M.push({ key: f, frame: K, duration: b }),
                              (X += b));
                          }
                        }
                        var R = X / M.length;
                        (M.forEach(function (V) {
                          V.duration -= R;
                        }),
                          G === "reverse" && (M = M.reverse()));
                        var H = {
                            key: I,
                            frames: M,
                            duration: X,
                            yoyo: G === "pingpong",
                          },
                          Q;
                        (m
                          ? m.anims && (Q = m.anims.create(H))
                          : (Q = C.create(H)),
                          Q && x.push(Q));
                      }
                    });
                  }
                  return x;
                },
                create: function (f) {
                  var v = f.key,
                    m = !1;
                  return (
                    v &&
                      ((m = this.get(v)),
                      m
                        ? console.warn(
                            "AnimationManager key already exists: " + v,
                          )
                        : ((m = new A(this, v, f)),
                          this.anims.set(v, m),
                          this.emit(n.ADD_ANIMATION, v, m))),
                    m
                  );
                },
                fromJSON: function (f, v) {
                  (v === void 0 && (v = !1),
                    v && this.anims.clear(),
                    typeof f == "string" && (f = JSON.parse(f)));
                  var m = [];
                  if (f.hasOwnProperty("anims") && Array.isArray(f.anims)) {
                    for (var x = 0; x < f.anims.length; x++)
                      m.push(this.create(f.anims[x]));
                    f.hasOwnProperty("globalTimeScale") &&
                      (this.globalTimeScale = f.globalTimeScale);
                  } else
                    f.hasOwnProperty("key") &&
                      f.type === "frame" &&
                      m.push(this.create(f));
                  return m;
                },
                generateFrameNames: function (f, v) {
                  var m = u(v, "prefix", ""),
                    x = u(v, "start", 0),
                    g = u(v, "end", 0),
                    C = u(v, "suffix", ""),
                    T = u(v, "zeroPad", 0),
                    F = u(v, "outputArray", []),
                    w = u(v, "frames", !1);
                  if (!this.textureManager.exists(f))
                    return (console.warn('Texture "%s" not found', f), F);
                  var U = this.textureManager.get(f);
                  if (!U) return F;
                  var M;
                  if (v)
                    for (w || (w = o(x, g)), M = 0; M < w.length; M++) {
                      var I = m + h(w[M], T, "0", 1) + C;
                      U.has(I)
                        ? F.push({ key: f, frame: I })
                        : console.warn(
                            'Frame "%s" not found in texture "%s"',
                            I,
                            f,
                          );
                    }
                  else
                    for (w = U.getFrameNames(), M = 0; M < w.length; M++)
                      F.push({ key: f, frame: w[M] });
                  return F;
                },
                generateFrameNumbers: function (f, v) {
                  var m = u(v, "start", 0),
                    x = u(v, "end", -1),
                    g = u(v, "first", !1),
                    C = u(v, "outputArray", []),
                    T = u(v, "frames", !1);
                  if (!this.textureManager.exists(f))
                    return (console.warn('Texture "%s" not found', f), C);
                  var F = this.textureManager.get(f);
                  if (!F) return C;
                  (g && F.has(g) && C.push({ key: f, frame: g }),
                    T || (x === -1 && (x = F.frameTotal - 2), (T = o(m, x))));
                  for (var w = 0; w < T.length; w++) {
                    var U = T[w];
                    F.has(U)
                      ? C.push({ key: f, frame: U })
                      : console.warn(
                          'Frame "%s" not found in texture "%s"',
                          U,
                          f,
                        );
                  }
                  return C;
                },
                get: function (f) {
                  return this.anims.get(f);
                },
                getAnimsFromTexture: function (f) {
                  for (
                    var v = this.textureManager.get(f),
                      m = v.key,
                      x = this.anims.getArray(),
                      g = [],
                      C = 0;
                    C < x.length;
                    C++
                  )
                    for (var T = x[C], F = T.frames, w = 0; w < F.length; w++)
                      if (F[w].textureKey === m) {
                        g.push(T.key);
                        break;
                      }
                  return g;
                },
                pauseAll: function () {
                  return (
                    this.paused || ((this.paused = !0), this.emit(n.PAUSE_ALL)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                play: function (f, v) {
                  Array.isArray(v) || (v = [v]);
                  for (var m = 0; m < v.length; m++) v[m].anims.play(f);
                  return _____WB$wombat$check$this$function_____(this);
                },
                staggerPlay: function (f, v, m, x) {
                  (m === void 0 && (m = 0),
                    x === void 0 && (x = !0),
                    Array.isArray(v) || (v = [v]));
                  var g = v.length;
                  x || g--;
                  for (var C = 0; C < v.length; C++) {
                    var T = m < 0 ? Math.abs(m) * (g - C) : m * C;
                    v[C].anims.playAfterDelay(f, T);
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                remove: function (f) {
                  var v = this.get(f);
                  return (
                    v &&
                      (this.emit(n.REMOVE_ANIMATION, f, v),
                      this.anims.delete(f),
                      this.removeMix(f)),
                    v
                  );
                },
                resumeAll: function () {
                  return (
                    this.paused &&
                      ((this.paused = !1), this.emit(n.RESUME_ALL)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                toJSON: function (f) {
                  var v = { anims: [], globalTimeScale: this.globalTimeScale };
                  return (
                    f !== void 0 && f !== ""
                      ? v.anims.push(this.anims.get(f).toJSON())
                      : this.anims.each(function (m, x) {
                          v.anims.push(x.toJSON());
                        }),
                    v
                  );
                },
                destroy: function () {
                  (this.anims.clear(),
                    this.mixes.clear(),
                    (this.textureManager = null),
                    (this.game = null));
                },
              });
            d.exports = l;
          },
          16569: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(85463),
              c = t(17489),
              a = t(56694),
              r = t(33885),
              n = t(16938),
              e = t(72632),
              s = new a({
                initialize: function (i) {
                  ((_____WB$wombat$check$this$function_____(this).parent = i),
                    (this.animationManager = i.scene.sys.anims),
                    this.animationManager.on(
                      n.REMOVE_ANIMATION,
                      this.globalRemove,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    (this.textureManager =
                      this.animationManager.textureManager),
                    (this.anims = null),
                    (this.isPlaying = !1),
                    (this.hasStarted = !1),
                    (this.currentAnim = null),
                    (this.currentFrame = null),
                    (this.nextAnim = null),
                    (this.nextAnimsQueue = []),
                    (this.timeScale = 1),
                    (this.frameRate = 0),
                    (this.duration = 0),
                    (this.msPerFrame = 0),
                    (this.skipMissedFrames = !0),
                    (this.randomFrame = !1),
                    (this.delay = 0),
                    (this.repeat = 0),
                    (this.repeatDelay = 0),
                    (this.yoyo = !1),
                    (this.showBeforeDelay = !1),
                    (this.showOnStart = !1),
                    (this.hideOnComplete = !1),
                    (this.forward = !0),
                    (this.inReverse = !1),
                    (this.accumulator = 0),
                    (this.nextTick = 0),
                    (this.delayCounter = 0),
                    (this.repeatCounter = 0),
                    (this.pendingRepeat = !1),
                    (this._paused = !1),
                    (this._wasPlaying = !1),
                    (this._pendingStop = 0),
                    this._pendingStopValue);
                },
                chain: function (u) {
                  var i = _____WB$wombat$check$this$function_____(this).parent;
                  if (u === void 0)
                    return (
                      (this.nextAnimsQueue.length = 0),
                      (this.nextAnim = null),
                      i
                    );
                  Array.isArray(u) || (u = [u]);
                  for (var o = 0; o < u.length; o++) {
                    var h = u[o];
                    this.nextAnim
                      ? this.nextAnimsQueue.push(h)
                      : (this.nextAnim = h);
                  }
                  return _____WB$wombat$check$this$function_____(this).parent;
                },
                getName: function () {
                  return this.currentAnim ? this.currentAnim.key : "";
                },
                getFrameName: function () {
                  return this.currentFrame
                    ? this.currentFrame.textureFrame
                    : "";
                },
                load: function (u) {
                  this.isPlaying && this.stop();
                  var i = this.animationManager,
                    o = typeof u == "string" ? u : e(u, "key", null),
                    h = this.exists(o) ? this.get(o) : i.get(o);
                  if (!h) console.warn("Missing animation: " + o);
                  else {
                    this.currentAnim = h;
                    var l = h.getTotalFrames(),
                      f = e(u, "frameRate", h.frameRate),
                      v = e(u, "duration", h.duration);
                    (h.calculateDuration(this, l, v, f),
                      (this.delay = e(u, "delay", h.delay)),
                      (this.repeat = e(u, "repeat", h.repeat)),
                      (this.repeatDelay = e(u, "repeatDelay", h.repeatDelay)),
                      (this.yoyo = e(u, "yoyo", h.yoyo)),
                      (this.showBeforeDelay = e(
                        u,
                        "showBeforeDelay",
                        h.showBeforeDelay,
                      )),
                      (this.showOnStart = e(u, "showOnStart", h.showOnStart)),
                      (this.hideOnComplete = e(
                        u,
                        "hideOnComplete",
                        h.hideOnComplete,
                      )),
                      (this.skipMissedFrames = e(
                        u,
                        "skipMissedFrames",
                        h.skipMissedFrames,
                      )),
                      (this.randomFrame = e(u, "randomFrame", h.randomFrame)),
                      (this.timeScale = e(u, "timeScale", this.timeScale)));
                    var m = e(u, "startFrame", 0);
                    (m > l && (m = 0), this.randomFrame && (m = c(0, l - 1)));
                    var x = h.frames[m];
                    (m === 0 && !this.forward && (x = h.getLastFrame()),
                      (this.currentFrame = x));
                  }
                  return _____WB$wombat$check$this$function_____(this).parent;
                },
                pause: function (u) {
                  return (
                    this._paused ||
                      ((this._paused = !0),
                      (this._wasPlaying = this.isPlaying),
                      (this.isPlaying = !1)),
                    u !== void 0 && this.setCurrentFrame(u),
                    _____WB$wombat$check$this$function_____(this).parent
                  );
                },
                resume: function (u) {
                  return (
                    this._paused &&
                      ((this._paused = !1),
                      (this.isPlaying = this._wasPlaying)),
                    u !== void 0 && this.setCurrentFrame(u),
                    _____WB$wombat$check$this$function_____(this).parent
                  );
                },
                playAfterDelay: function (u, i) {
                  if (!this.isPlaying)
                    ((this.delayCounter = i), this.play(u, !0));
                  else {
                    var o = this.nextAnim,
                      h = this.nextAnimsQueue;
                    (o && h.unshift(o),
                      (this.nextAnim = u),
                      (this._pendingStop = 1),
                      (this._pendingStopValue = i));
                  }
                  return _____WB$wombat$check$this$function_____(this).parent;
                },
                playAfterRepeat: function (u, i) {
                  if ((i === void 0 && (i = 1), !this.isPlaying)) this.play(u);
                  else {
                    var o = this.nextAnim,
                      h = this.nextAnimsQueue;
                    (o && h.unshift(o),
                      this.repeatCounter !== -1 &&
                        i > this.repeatCounter &&
                        (i = this.repeatCounter),
                      (this.nextAnim = u),
                      (this._pendingStop = 2),
                      (this._pendingStopValue = i));
                  }
                  return _____WB$wombat$check$this$function_____(this).parent;
                },
                play: function (u, i) {
                  i === void 0 && (i = !1);
                  var o = this.currentAnim,
                    h = _____WB$wombat$check$this$function_____(this).parent,
                    l = typeof u == "string" ? u : u.key;
                  if (i && this.isPlaying && o.key === l) return h;
                  if (o && this.isPlaying) {
                    var f = this.animationManager.getMix(o.key, u);
                    if (f > 0) return this.playAfterDelay(u, f);
                  }
                  return (
                    (this.forward = !0),
                    (this.inReverse = !1),
                    (this._paused = !1),
                    (this._wasPlaying = !0),
                    this.startAnimation(u)
                  );
                },
                playReverse: function (u, i) {
                  i === void 0 && (i = !1);
                  var o = typeof u == "string" ? u : u.key;
                  return i && this.isPlaying && this.currentAnim.key === o
                    ? _____WB$wombat$check$this$function_____(this).parent
                    : ((this.forward = !1),
                      (this.inReverse = !0),
                      (this._paused = !1),
                      (this._wasPlaying = !0),
                      this.startAnimation(u));
                },
                startAnimation: function (u) {
                  this.load(u);
                  var i = this.currentAnim,
                    o = _____WB$wombat$check$this$function_____(this).parent;
                  return (
                    i &&
                      ((this.repeatCounter =
                        this.repeat === -1 ? Number.MAX_VALUE : this.repeat),
                      i.getFirstTick(this),
                      (this.isPlaying = !0),
                      (this.pendingRepeat = !1),
                      (this.hasStarted = !1),
                      (this._pendingStop = 0),
                      (this._pendingStopValue = 0),
                      (this._paused = !1),
                      (this.delayCounter += this.delay),
                      this.delayCounter === 0
                        ? this.handleStart()
                        : this.showBeforeDelay &&
                          this.setCurrentFrame(this.currentFrame)),
                    o
                  );
                },
                handleStart: function () {
                  (this.showOnStart &&
                    _____WB$wombat$check$this$function_____(
                      this,
                    ).parent.setVisible(!0),
                    this.setCurrentFrame(this.currentFrame),
                    (this.hasStarted = !0),
                    this.emitEvents(n.ANIMATION_START));
                },
                handleRepeat: function () {
                  ((this.pendingRepeat = !1),
                    this.emitEvents(n.ANIMATION_REPEAT));
                },
                handleStop: function () {
                  ((this._pendingStop = 0),
                    (this.isPlaying = !1),
                    this.emitEvents(n.ANIMATION_STOP));
                },
                handleComplete: function () {
                  ((this._pendingStop = 0),
                    (this.isPlaying = !1),
                    this.hideOnComplete &&
                      _____WB$wombat$check$this$function_____(
                        this,
                      ).parent.setVisible(!1),
                    this.emitEvents(
                      n.ANIMATION_COMPLETE,
                      n.ANIMATION_COMPLETE_KEY,
                    ));
                },
                emitEvents: function (u, i) {
                  var o = this.currentAnim;
                  if (o) {
                    var h = this.currentFrame,
                      l = _____WB$wombat$check$this$function_____(this).parent,
                      f = h.textureFrame;
                    (l.emit(u, o, h, l, f), i && l.emit(i + o.key, o, h, l, f));
                  }
                },
                reverse: function () {
                  return (
                    this.isPlaying &&
                      ((this.inReverse = !this.inReverse),
                      (this.forward = !this.forward)),
                    _____WB$wombat$check$this$function_____(this).parent
                  );
                },
                getProgress: function () {
                  var u = this.currentFrame;
                  if (!u) return 0;
                  var i = u.progress;
                  return (this.inReverse && (i *= -1), i);
                },
                setProgress: function (u) {
                  return (
                    this.forward || (u = 1 - u),
                    this.setCurrentFrame(
                      this.currentAnim.getFrameByProgress(u),
                    ),
                    _____WB$wombat$check$this$function_____(this).parent
                  );
                },
                setRepeat: function (u) {
                  return (
                    (this.repeatCounter = u === -1 ? Number.MAX_VALUE : u),
                    _____WB$wombat$check$this$function_____(this).parent
                  );
                },
                globalRemove: function (u, i) {
                  (i === void 0 && (i = this.currentAnim),
                    this.isPlaying &&
                      i.key === this.currentAnim.key &&
                      (this.stop(),
                      this.setCurrentFrame(this.currentAnim.frames[0])));
                },
                restart: function (u, i) {
                  (u === void 0 && (u = !1), i === void 0 && (i = !1));
                  var o = this.currentAnim,
                    h = _____WB$wombat$check$this$function_____(this).parent;
                  return o
                    ? (i &&
                        (this.repeatCounter =
                          this.repeat === -1 ? Number.MAX_VALUE : this.repeat),
                      o.getFirstTick(this),
                      this.emitEvents(n.ANIMATION_RESTART),
                      (this.isPlaying = !0),
                      (this.pendingRepeat = !1),
                      (this.hasStarted = !u),
                      (this._pendingStop = 0),
                      (this._pendingStopValue = 0),
                      (this._paused = !1),
                      this.setCurrentFrame(o.frames[0]),
                      _____WB$wombat$check$this$function_____(this).parent)
                    : h;
                },
                complete: function () {
                  if (
                    ((this._pendingStop = 0),
                    (this.isPlaying = !1),
                    this.currentAnim && this.handleComplete(),
                    this.nextAnim)
                  ) {
                    var u = this.nextAnim;
                    ((this.nextAnim =
                      this.nextAnimsQueue.length > 0
                        ? this.nextAnimsQueue.shift()
                        : null),
                      this.play(u));
                  }
                  return _____WB$wombat$check$this$function_____(this).parent;
                },
                stop: function () {
                  if (
                    ((this._pendingStop = 0),
                    (this.isPlaying = !1),
                    (this.delayCounter = 0),
                    this.currentAnim && this.handleStop(),
                    this.nextAnim)
                  ) {
                    var u = this.nextAnim;
                    ((this.nextAnim = this.nextAnimsQueue.shift()),
                      this.play(u));
                  }
                  return _____WB$wombat$check$this$function_____(this).parent;
                },
                stopAfterDelay: function (u) {
                  return (
                    (this._pendingStop = 1),
                    (this._pendingStopValue = u),
                    _____WB$wombat$check$this$function_____(this).parent
                  );
                },
                stopAfterRepeat: function (u) {
                  return (
                    u === void 0 && (u = 1),
                    this.repeatCounter !== -1 &&
                      u > this.repeatCounter &&
                      (u = this.repeatCounter),
                    (this._pendingStop = 2),
                    (this._pendingStopValue = u),
                    _____WB$wombat$check$this$function_____(this).parent
                  );
                },
                stopOnFrame: function (u) {
                  return (
                    (this._pendingStop = 3),
                    (this._pendingStopValue = u),
                    _____WB$wombat$check$this$function_____(this).parent
                  );
                },
                getTotalFrames: function () {
                  return this.currentAnim
                    ? this.currentAnim.getTotalFrames()
                    : 0;
                },
                update: function (u, i) {
                  var o = this.currentAnim;
                  if (!(!this.isPlaying || !o || o.paused)) {
                    if (
                      ((this.accumulator +=
                        i *
                        this.timeScale *
                        this.animationManager.globalTimeScale),
                      this._pendingStop === 1 &&
                        ((this._pendingStopValue -= i),
                        this._pendingStopValue <= 0))
                    )
                      return this.stop();
                    if (!this.hasStarted)
                      this.accumulator >= this.delayCounter &&
                        ((this.accumulator -= this.delayCounter),
                        this.handleStart());
                    else if (
                      this.accumulator >= this.nextTick &&
                      (this.forward ? o.nextFrame(this) : o.previousFrame(this),
                      this.isPlaying &&
                        this._pendingStop === 0 &&
                        this.skipMissedFrames &&
                        this.accumulator > this.nextTick)
                    ) {
                      var h = 0;
                      do
                        (this.forward
                          ? o.nextFrame(this)
                          : o.previousFrame(this),
                          h++);
                      while (
                        this.isPlaying &&
                        this.accumulator > this.nextTick &&
                        h < 60
                      );
                    }
                  }
                },
                setCurrentFrame: function (u) {
                  var i = _____WB$wombat$check$this$function_____(this).parent;
                  return (
                    (this.currentFrame = u),
                    (i.texture = u.frame.texture),
                    (i.frame = u.frame),
                    i.isCropped &&
                      i.frame.updateCropUVs(i._crop, i.flipX, i.flipY),
                    u.setAlpha && (i.alpha = u.alpha),
                    i.setSizeToFrame(),
                    i._originComponent &&
                      (u.frame.customPivot
                        ? i.setOrigin(u.frame.pivotX, u.frame.pivotY)
                        : i.updateDisplayOrigin()),
                    this.isPlaying &&
                      this.hasStarted &&
                      (this.emitEvents(n.ANIMATION_UPDATE),
                      this._pendingStop === 3 &&
                        this._pendingStopValue === u &&
                        this.stop()),
                    i
                  );
                },
                nextFrame: function () {
                  return (
                    this.currentAnim && this.currentAnim.nextFrame(this),
                    _____WB$wombat$check$this$function_____(this).parent
                  );
                },
                previousFrame: function () {
                  return (
                    this.currentAnim && this.currentAnim.previousFrame(this),
                    _____WB$wombat$check$this$function_____(this).parent
                  );
                },
                get: function (u) {
                  return this.anims ? this.anims.get(u) : null;
                },
                exists: function (u) {
                  return this.anims ? this.anims.has(u) : !1;
                },
                create: function (u) {
                  var i = u.key,
                    o = !1;
                  return (
                    i &&
                      ((o = this.get(i)),
                      o
                        ? console.warn("Animation key already exists: " + i)
                        : ((o = new A(this, i, u)),
                          this.anims || (this.anims = new r()),
                          this.anims.set(i, o))),
                    o
                  );
                },
                createFromAseprite: function (u, i) {
                  return this.animationManager.createFromAseprite(
                    u,
                    i,
                    _____WB$wombat$check$this$function_____(this).parent,
                  );
                },
                generateFrameNames: function (u, i) {
                  return this.animationManager.generateFrameNames(u, i);
                },
                generateFrameNumbers: function (u, i) {
                  return this.animationManager.generateFrameNumbers(u, i);
                },
                remove: function (u) {
                  var i = this.get(u);
                  return (
                    i &&
                      (this.currentAnim === i && this.stop(),
                      this.anims.delete(u)),
                    i
                  );
                },
                destroy: function () {
                  (this.animationManager.off(
                    n.REMOVE_ANIMATION,
                    this.globalRemove,
                    _____WB$wombat$check$this$function_____(this),
                  ),
                    this.anims && this.anims.clear(),
                    (this.animationManager = null),
                    (_____WB$wombat$check$this$function_____(this).parent =
                      null),
                    (this.nextAnim = null),
                    (this.nextAnimsQueue.length = 0),
                    (this.currentAnim = null),
                    (this.currentFrame = null));
                },
                isPaused: {
                  get: function () {
                    return this._paused;
                  },
                },
              });
            d.exports = s;
          },
          44509: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "add";
          },
          84563: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "animationcomplete";
          },
          61586: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "animationcomplete-";
          },
          72175: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "animationrepeat";
          },
          568: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "animationrestart";
          },
          37690: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "animationstart";
          },
          58525: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "animationstop";
          },
          5243: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "animationupdate";
          },
          10598: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "pauseall";
          },
          4860: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "remove";
          },
          31865: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "resumeall";
          },
          16938: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              ADD_ANIMATION: t(44509),
              ANIMATION_COMPLETE: t(84563),
              ANIMATION_COMPLETE_KEY: t(61586),
              ANIMATION_REPEAT: t(72175),
              ANIMATION_RESTART: t(568),
              ANIMATION_START: t(37690),
              ANIMATION_STOP: t(58525),
              ANIMATION_UPDATE: t(5243),
              PAUSE_ALL: t(10598),
              REMOVE_ANIMATION: t(4860),
              RESUME_ALL: t(31865),
            };
          },
          13517: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              Animation: t(85463),
              AnimationFrame: t(71519),
              AnimationManager: t(90249),
              AnimationState: t(16569),
              Events: t(16938),
            };
          },
          23740: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(33885),
              a = t(6659),
              r = t(69773),
              n = new A({
                initialize: function () {
                  ((this.entries = new c()), (this.events = new a()));
                },
                add: function (e, s) {
                  return (
                    this.entries.set(e, s),
                    this.events.emit(
                      r.ADD,
                      _____WB$wombat$check$this$function_____(this),
                      e,
                      s,
                    ),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                has: function (e) {
                  return this.entries.has(e);
                },
                exists: function (e) {
                  return this.entries.has(e);
                },
                get: function (e) {
                  return this.entries.get(e);
                },
                remove: function (e) {
                  var s = this.get(e);
                  return (
                    s &&
                      (this.entries.delete(e),
                      this.events.emit(
                        r.REMOVE,
                        _____WB$wombat$check$this$function_____(this),
                        e,
                        s.data,
                      )),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getKeys: function () {
                  return this.entries.keys();
                },
                destroy: function () {
                  (this.entries.clear(),
                    this.events.removeAllListeners(),
                    (this.entries = null),
                    (this.events = null));
                },
              });
            d.exports = n;
          },
          43474: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(23740),
              c = t(56694),
              a = t(97081),
              r = new c({
                initialize: function (e) {
                  ((this.game = e),
                    (this.binary = new A()),
                    (this.bitmapFont = new A()),
                    (this.json = new A()),
                    (this.physics = new A()),
                    (this.shader = new A()),
                    (this.audio = new A()),
                    (this.video = new A()),
                    (this.text = new A()),
                    (this.html = new A()),
                    (this.obj = new A()),
                    (this.tilemap = new A()),
                    (this.xml = new A()),
                    (this.custom = {}),
                    this.game.events.once(
                      a.DESTROY,
                      this.destroy,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                addCustom: function (n) {
                  return (
                    this.custom.hasOwnProperty(n) || (this.custom[n] = new A()),
                    this.custom[n]
                  );
                },
                destroy: function () {
                  for (
                    var n = [
                        "binary",
                        "bitmapFont",
                        "json",
                        "physics",
                        "shader",
                        "audio",
                        "video",
                        "text",
                        "html",
                        "obj",
                        "tilemap",
                        "xml",
                      ],
                      e = 0;
                    e < n.length;
                    e++
                  )
                    (this[n[e]].destroy(),
                      (_____WB$wombat$check$this$function_____(this)[n[e]] =
                        null));
                  for (var s in this.custom) this.custom[s].destroy();
                  ((this.custom = null), (this.game = null));
                },
              });
            d.exports = r;
          },
          94762: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "add";
          },
          75968: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "remove";
          },
          69773: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = { ADD: t(94762), REMOVE: t(75968) };
          },
          45820: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              BaseCache: t(23740),
              CacheManager: t(43474),
              Events: t(69773),
            };
          },
          51052: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(64937),
              a = t(75606),
              r = t(6659),
              n = t(89787),
              e = t(74118),
              s = t(69360),
              u = t(93222),
              i = t(93736),
              o = new A({
                Extends: r,
                Mixins: [c.AlphaSingle, c.Visible],
                initialize: function (l, f, v, m) {
                  (l === void 0 && (l = 0),
                    f === void 0 && (f = 0),
                    v === void 0 && (v = 0),
                    m === void 0 && (m = 0),
                    r.call(this),
                    this.scene,
                    this.sceneManager,
                    this.scaleManager,
                    this.cameraManager,
                    (this.id = 0),
                    (this.name = ""),
                    (this.roundPixels = !1),
                    (this.useBounds = !1),
                    (this.worldView = new e()),
                    (this.dirty = !0),
                    (this._x = l),
                    (this._y = f),
                    (this._width = v),
                    (this._height = m),
                    (this._bounds = new e()),
                    (this._scrollX = 0),
                    (this._scrollY = 0),
                    (this._zoomX = 1),
                    (this._zoomY = 1),
                    (this._rotation = 0),
                    (this.matrix = new s()),
                    (this.transparent = !0),
                    (this.backgroundColor = u("rgba(0,0,0,0)")),
                    (this.disableCull = !1),
                    (this.culledObjects = []),
                    (this.midPoint = new i(v / 2, m / 2)),
                    (this.originX = 0.5),
                    (this.originY = 0.5),
                    (this._customViewport = !1),
                    (this.mask = null),
                    (this._maskCamera = null),
                    (this.renderList = []),
                    (this.isSceneCamera = !0));
                },
                addToRenderList: function (h) {
                  this.renderList.push(h);
                },
                setOrigin: function (h, l) {
                  return (
                    h === void 0 && (h = 0.5),
                    l === void 0 && (l = h),
                    (this.originX = h),
                    (this.originY = l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getScroll: function (h, l, f) {
                  f === void 0 && (f = new i());
                  var v = this.width * 0.5,
                    m = this.height * 0.5;
                  return (
                    (f.x = h - v),
                    (f.y = l - m),
                    this.useBounds &&
                      ((f.x = this.clampX(f.x)), (f.y = this.clampY(f.y))),
                    f
                  );
                },
                centerOnX: function (h) {
                  var l = this.width * 0.5;
                  return (
                    (this.midPoint.x = h),
                    (this.scrollX = h - l),
                    this.useBounds &&
                      (this.scrollX = this.clampX(this.scrollX)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                centerOnY: function (h) {
                  var l = this.height * 0.5;
                  return (
                    (this.midPoint.y = h),
                    (this.scrollY = h - l),
                    this.useBounds &&
                      (this.scrollY = this.clampY(this.scrollY)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                centerOn: function (h, l) {
                  return (
                    this.centerOnX(h),
                    this.centerOnY(l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                centerToBounds: function () {
                  if (this.useBounds) {
                    var h = this._bounds,
                      l = this.width * 0.5,
                      f = this.height * 0.5;
                    (this.midPoint.set(h.centerX, h.centerY),
                      (this.scrollX = h.centerX - l),
                      (this.scrollY = h.centerY - f));
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                centerToSize: function () {
                  return (
                    (this.scrollX = this.width * 0.5),
                    (this.scrollY = this.height * 0.5),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                cull: function (h) {
                  if (this.disableCull) return h;
                  var l = this.matrix.matrix,
                    f = l[0],
                    v = l[1],
                    m = l[2],
                    x = l[3],
                    g = f * x - v * m;
                  if (!g) return h;
                  var C = l[4],
                    T = l[5],
                    F = this.scrollX,
                    w = this.scrollY,
                    U = this.width,
                    M = this.height,
                    I = this.y,
                    O = I + M,
                    D = this.x,
                    G = D + U,
                    X = this.culledObjects,
                    z = h.length;
                  ((g = 1 / g), (X.length = 0));
                  for (var K = 0; K < z; ++K) {
                    var N = h[K];
                    if (!N.hasOwnProperty("width") || N.parentContainer) {
                      X.push(N);
                      continue;
                    }
                    var b = N.width,
                      R = N.height,
                      H = N.x - F * N.scrollFactorX - b * N.originX,
                      Q = N.y - w * N.scrollFactorY - R * N.originY,
                      V = H * f + Q * m + C,
                      Y = H * v + Q * x + T,
                      J = (H + b) * f + (Q + R) * m + C,
                      $ = (H + b) * v + (Q + R) * x + T;
                    J > D && V < G && $ > I && Y < O && X.push(N);
                  }
                  return X;
                },
                getWorldPoint: function (h, l, f) {
                  f === void 0 && (f = new i());
                  var v = this.matrix.matrix,
                    m = v[0],
                    x = v[1],
                    g = v[2],
                    C = v[3],
                    T = v[4],
                    F = v[5],
                    w = m * C - x * g;
                  if (!w) return ((f.x = h), (f.y = l), f);
                  w = 1 / w;
                  var U = C * w,
                    M = -x * w,
                    I = -g * w,
                    O = m * w,
                    D = (g * F - C * T) * w,
                    G = (x * T - m * F) * w,
                    X = Math.cos(this.rotation),
                    z = Math.sin(this.rotation),
                    K = this.zoomX,
                    N = this.zoomY,
                    b = this.scrollX,
                    R = this.scrollY,
                    H = h + (b * X - R * z) * K,
                    Q = l + (b * z + R * X) * N;
                  return (
                    (f.x = H * U + Q * I + D),
                    (f.y = H * M + Q * O + G),
                    f
                  );
                },
                ignore: function (h) {
                  var l = this.id;
                  Array.isArray(h) || (h = [h]);
                  for (var f = 0; f < h.length; f++) {
                    var v = h[f];
                    Array.isArray(v)
                      ? this.ignore(v)
                      : v.isParent
                        ? this.ignore(v.getChildren())
                        : (v.cameraFilter |= l);
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                preRender: function () {
                  this.renderList.length = 0;
                  var h = this.width,
                    l = this.height,
                    f = h * 0.5,
                    v = l * 0.5,
                    m = this.zoomX,
                    x = this.zoomY,
                    g = this.matrix,
                    C = h * this.originX,
                    T = l * this.originY,
                    F = this.scrollX,
                    w = this.scrollY;
                  (this.useBounds &&
                    ((F = this.clampX(F)), (w = this.clampY(w))),
                    (this.scrollX = F),
                    (this.scrollY = w));
                  var U = F + f,
                    M = w + v;
                  this.midPoint.set(U, M);
                  var I = h / m,
                    O = l / x;
                  (this.worldView.setTo(U - I / 2, M - O / 2, I, O),
                    g.applyITRS(this.x + C, this.y + T, this.rotation, m, x),
                    g.translate(-C, -T));
                },
                clampX: function (h) {
                  var l = this._bounds,
                    f = this.displayWidth,
                    v = l.x + (f - this.width) / 2,
                    m = Math.max(v, v + l.width - f);
                  return (h < v ? (h = v) : h > m && (h = m), h);
                },
                clampY: function (h) {
                  var l = this._bounds,
                    f = this.displayHeight,
                    v = l.y + (f - this.height) / 2,
                    m = Math.max(v, v + l.height - f);
                  return (h < v ? (h = v) : h > m && (h = m), h);
                },
                removeBounds: function () {
                  return (
                    (this.useBounds = !1),
                    (this.dirty = !0),
                    this._bounds.setEmpty(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setAngle: function (h) {
                  return (
                    h === void 0 && (h = 0),
                    (this.rotation = a(h)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setBackgroundColor: function (h) {
                  return (
                    h === void 0 && (h = "rgba(0,0,0,0)"),
                    (this.backgroundColor = u(h)),
                    (this.transparent = this.backgroundColor.alpha === 0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setBounds: function (h, l, f, v, m) {
                  return (
                    m === void 0 && (m = !1),
                    this._bounds.setTo(h, l, f, v),
                    (this.dirty = !0),
                    (this.useBounds = !0),
                    m
                      ? this.centerToBounds()
                      : ((this.scrollX = this.clampX(this.scrollX)),
                        (this.scrollY = this.clampY(this.scrollY))),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getBounds: function (h) {
                  h === void 0 && (h = new e());
                  var l = this._bounds;
                  return (h.setTo(l.x, l.y, l.width, l.height), h);
                },
                setName: function (h) {
                  return (
                    h === void 0 && (h = ""),
                    (this.name = h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setPosition: function (h, l) {
                  return (
                    l === void 0 && (l = h),
                    (this.x = h),
                    (this.y = l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setRotation: function (h) {
                  return (
                    h === void 0 && (h = 0),
                    (this.rotation = h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setRoundPixels: function (h) {
                  return (
                    (this.roundPixels = h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setScene: function (h, l) {
                  (l === void 0 && (l = !0),
                    this.scene &&
                      this._customViewport &&
                      this.sceneManager.customViewports--,
                    (this.scene = h),
                    (this.isSceneCamera = l));
                  var f = h.sys;
                  return (
                    (this.sceneManager = f.game.scene),
                    (this.scaleManager = f.scale),
                    (this.cameraManager = f.cameras),
                    this.updateSystem(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setScroll: function (h, l) {
                  return (
                    l === void 0 && (l = h),
                    (this.scrollX = h),
                    (this.scrollY = l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setSize: function (h, l) {
                  return (
                    l === void 0 && (l = h),
                    (this.width = h),
                    (this.height = l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setViewport: function (h, l, f, v) {
                  return (
                    (this.x = h),
                    (this.y = l),
                    (this.width = f),
                    (this.height = v),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setZoom: function (h, l) {
                  return (
                    h === void 0 && (h = 1),
                    l === void 0 && (l = h),
                    h === 0 && (h = 0.001),
                    l === 0 && (l = 0.001),
                    (this.zoomX = h),
                    (this.zoomY = l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setMask: function (h, l) {
                  return (
                    l === void 0 && (l = !0),
                    (this.mask = h),
                    (this._maskCamera = l ? this.cameraManager.default : this),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                clearMask: function (h) {
                  return (
                    h === void 0 && (h = !1),
                    h && this.mask && this.mask.destroy(),
                    (this.mask = null),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                toJSON: function () {
                  var h = {
                    name: this.name,
                    x: this.x,
                    y: this.y,
                    width: this.width,
                    height: this.height,
                    zoom: this.zoom,
                    rotation: this.rotation,
                    roundPixels: this.roundPixels,
                    scrollX: this.scrollX,
                    scrollY: this.scrollY,
                    backgroundColor: this.backgroundColor.rgba,
                  };
                  return (
                    this.useBounds &&
                      (h.bounds = {
                        x: this._bounds.x,
                        y: this._bounds.y,
                        width: this._bounds.width,
                        height: this._bounds.height,
                      }),
                    h
                  );
                },
                update: function () {},
                setIsSceneCamera: function (h) {
                  return (
                    (this.isSceneCamera = h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                updateSystem: function () {
                  if (!(!this.scaleManager || !this.isSceneCamera)) {
                    var h =
                        this._x !== 0 ||
                        this._y !== 0 ||
                        this.scaleManager.width !== this._width ||
                        this.scaleManager.height !== this._height,
                      l = this.sceneManager;
                    (h && !this._customViewport
                      ? l.customViewports++
                      : !h && this._customViewport && l.customViewports--,
                      (this.dirty = !0),
                      (this._customViewport = h));
                  }
                },
                destroy: function () {
                  (this.emit(
                    n.DESTROY,
                    _____WB$wombat$check$this$function_____(this),
                  ),
                    this.removeAllListeners(),
                    this.matrix.destroy(),
                    (this.culledObjects = []),
                    this._customViewport && this.sceneManager.customViewports--,
                    (this.renderList = []),
                    (this._bounds = null),
                    (this.scene = null),
                    (this.scaleManager = null),
                    (this.sceneManager = null),
                    (this.cameraManager = null));
                },
                x: {
                  get: function () {
                    return this._x;
                  },
                  set: function (h) {
                    ((this._x = h), this.updateSystem());
                  },
                },
                y: {
                  get: function () {
                    return this._y;
                  },
                  set: function (h) {
                    ((this._y = h), this.updateSystem());
                  },
                },
                width: {
                  get: function () {
                    return this._width;
                  },
                  set: function (h) {
                    ((this._width = h), this.updateSystem());
                  },
                },
                height: {
                  get: function () {
                    return this._height;
                  },
                  set: function (h) {
                    ((this._height = h), this.updateSystem());
                  },
                },
                scrollX: {
                  get: function () {
                    return this._scrollX;
                  },
                  set: function (h) {
                    h !== this._scrollX &&
                      ((this._scrollX = h), (this.dirty = !0));
                  },
                },
                scrollY: {
                  get: function () {
                    return this._scrollY;
                  },
                  set: function (h) {
                    h !== this._scrollY &&
                      ((this._scrollY = h), (this.dirty = !0));
                  },
                },
                zoom: {
                  get: function () {
                    return (this._zoomX + this._zoomY) / 2;
                  },
                  set: function (h) {
                    ((this._zoomX = h), (this._zoomY = h), (this.dirty = !0));
                  },
                },
                zoomX: {
                  get: function () {
                    return this._zoomX;
                  },
                  set: function (h) {
                    ((this._zoomX = h), (this.dirty = !0));
                  },
                },
                zoomY: {
                  get: function () {
                    return this._zoomY;
                  },
                  set: function (h) {
                    ((this._zoomY = h), (this.dirty = !0));
                  },
                },
                rotation: {
                  get: function () {
                    return this._rotation;
                  },
                  set: function (h) {
                    ((this._rotation = h), (this.dirty = !0));
                  },
                },
                centerX: {
                  get: function () {
                    return this.x + 0.5 * this.width;
                  },
                },
                centerY: {
                  get: function () {
                    return this.y + 0.5 * this.height;
                  },
                },
                displayWidth: {
                  get: function () {
                    return this.width / this.zoomX;
                  },
                },
                displayHeight: {
                  get: function () {
                    return this.height / this.zoomY;
                  },
                },
              });
            d.exports = o;
          },
          47751: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(51052),
              c = t(79993),
              a = t(82897),
              r = t(56694),
              n = t(64937),
              e = t(53030),
              s = t(89787),
              u = t(42798),
              i = t(74118),
              o = t(93736),
              h = new r({
                Extends: A,
                Mixins: [n.PostPipeline],
                initialize: function (f, v, m, x) {
                  (A.call(this, f, v, m, x),
                    this.initPostPipeline(),
                    (this.inputEnabled = !0),
                    (this.fadeEffect = new e.Fade(this)),
                    (this.flashEffect = new e.Flash(this)),
                    (this.shakeEffect = new e.Shake(this)),
                    (this.panEffect = new e.Pan(this)),
                    (this.rotateToEffect = new e.RotateTo(this)),
                    (this.zoomEffect = new e.Zoom(this)),
                    (this.lerp = new o(1, 1)),
                    (this.followOffset = new o()),
                    (this.deadzone = null),
                    (this._follow = null));
                },
                setDeadzone: function (l, f) {
                  if (l === void 0) this.deadzone = null;
                  else {
                    if (
                      (this.deadzone
                        ? ((this.deadzone.width = l),
                          (this.deadzone.height = f))
                        : (this.deadzone = new i(0, 0, l, f)),
                      this._follow)
                    ) {
                      var v = this.width / 2,
                        m = this.height / 2,
                        x = this._follow.x - this.followOffset.x,
                        g = this._follow.y - this.followOffset.y;
                      (this.midPoint.set(x, g),
                        (this.scrollX = x - v),
                        (this.scrollY = g - m));
                    }
                    c(this.deadzone, this.midPoint.x, this.midPoint.y);
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                fadeIn: function (l, f, v, m, x, g) {
                  return this.fadeEffect.start(!1, l, f, v, m, !0, x, g);
                },
                fadeOut: function (l, f, v, m, x, g) {
                  return this.fadeEffect.start(!0, l, f, v, m, !0, x, g);
                },
                fadeFrom: function (l, f, v, m, x, g, C) {
                  return this.fadeEffect.start(!1, l, f, v, m, x, g, C);
                },
                fade: function (l, f, v, m, x, g, C) {
                  return this.fadeEffect.start(!0, l, f, v, m, x, g, C);
                },
                flash: function (l, f, v, m, x, g, C) {
                  return this.flashEffect.start(l, f, v, m, x, g, C);
                },
                shake: function (l, f, v, m, x) {
                  return this.shakeEffect.start(l, f, v, m, x);
                },
                pan: function (l, f, v, m, x, g, C) {
                  return this.panEffect.start(l, f, v, m, x, g, C);
                },
                rotateTo: function (l, f, v, m, x, g, C) {
                  return this.rotateToEffect.start(l, f, v, m, x, g, C);
                },
                zoomTo: function (l, f, v, m, x, g) {
                  return this.zoomEffect.start(l, f, v, m, x, g);
                },
                preRender: function () {
                  this.renderList.length = 0;
                  var l = this.width,
                    f = this.height,
                    v = l * 0.5,
                    m = f * 0.5,
                    x = this.zoom,
                    g = this.matrix,
                    C = l * this.originX,
                    T = f * this.originY,
                    F = this._follow,
                    w = this.deadzone,
                    U = this.scrollX,
                    M = this.scrollY;
                  w && c(w, this.midPoint.x, this.midPoint.y);
                  var I = !1;
                  if (F && !this.panEffect.isRunning) {
                    var O = this.lerp,
                      D = F.x - this.followOffset.x,
                      G = F.y - this.followOffset.y;
                    (w
                      ? (D < w.x
                          ? (U = u(U, U - (w.x - D), O.x))
                          : D > w.right && (U = u(U, U + (D - w.right), O.x)),
                        G < w.y
                          ? (M = u(M, M - (w.y - G), O.y))
                          : G > w.bottom && (M = u(M, M + (G - w.bottom), O.y)))
                      : ((U = u(U, D - C, O.x)), (M = u(M, G - T, O.y))),
                      (I = !0));
                  }
                  (this.useBounds &&
                    ((U = this.clampX(U)), (M = this.clampY(M))),
                    (this.scrollX = U),
                    (this.scrollY = M));
                  var X = U + v,
                    z = M + m;
                  this.midPoint.set(X, z);
                  var K = l / x,
                    N = f / x,
                    b = Math.floor(X - K / 2),
                    R = Math.floor(z - N / 2);
                  (this.worldView.setTo(b, R, K, N),
                    g.applyITRS(
                      Math.floor(this.x + C),
                      Math.floor(this.y + T),
                      this.rotation,
                      x,
                      x,
                    ),
                    g.translate(-C, -T),
                    this.shakeEffect.preRender(),
                    I &&
                      this.emit(
                        s.FOLLOW_UPDATE,
                        _____WB$wombat$check$this$function_____(this),
                        F,
                      ));
                },
                setLerp: function (l, f) {
                  return (
                    l === void 0 && (l = 1),
                    f === void 0 && (f = l),
                    this.lerp.set(l, f),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setFollowOffset: function (l, f) {
                  return (
                    l === void 0 && (l = 0),
                    f === void 0 && (f = 0),
                    this.followOffset.set(l, f),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                startFollow: function (l, f, v, m, x, g) {
                  (f === void 0 && (f = !1),
                    v === void 0 && (v = 1),
                    m === void 0 && (m = v),
                    x === void 0 && (x = 0),
                    g === void 0 && (g = x),
                    (this._follow = l),
                    (this.roundPixels = f),
                    (v = a(v, 0, 1)),
                    (m = a(m, 0, 1)),
                    this.lerp.set(v, m),
                    this.followOffset.set(x, g));
                  var C = this.width / 2,
                    T = this.height / 2,
                    F = l.x - x,
                    w = l.y - g;
                  return (
                    this.midPoint.set(F, w),
                    (this.scrollX = F - C),
                    (this.scrollY = w - T),
                    this.useBounds &&
                      ((this.scrollX = this.clampX(this.scrollX)),
                      (this.scrollY = this.clampY(this.scrollY))),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                stopFollow: function () {
                  return (
                    (this._follow = null),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                resetFX: function () {
                  return (
                    this.rotateToEffect.reset(),
                    this.panEffect.reset(),
                    this.shakeEffect.reset(),
                    this.flashEffect.reset(),
                    this.fadeEffect.reset(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                update: function (l, f) {
                  this.visible &&
                    (this.rotateToEffect.update(l, f),
                    this.panEffect.update(l, f),
                    this.zoomEffect.update(l, f),
                    this.shakeEffect.update(l, f),
                    this.flashEffect.update(l, f),
                    this.fadeEffect.update(l, f));
                },
                destroy: function () {
                  (this.resetFX(),
                    A.prototype.destroy.call(this),
                    (this._follow = null),
                    (this.deadzone = null));
                },
              });
            d.exports = h;
          },
          62382: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(47751),
              c = t(56694),
              a = t(72632),
              r = t(91963),
              n = t(94287),
              e = t(40444),
              s = t(7599),
              u = new c({
                initialize: function (o) {
                  ((this.scene = o),
                    (this.systems = o.sys),
                    (this.roundPixels = o.sys.game.config.roundPixels),
                    (this.cameras = []),
                    this.main,
                    this.default,
                    o.sys.events.once(
                      s.BOOT,
                      this.boot,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    o.sys.events.on(
                      s.START,
                      this.start,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                boot: function () {
                  var i = this.systems;
                  (i.settings.cameras
                    ? this.fromJSON(i.settings.cameras)
                    : this.add(),
                    (this.main = this.cameras[0]),
                    (this.default = new A(
                      0,
                      0,
                      i.scale.width,
                      i.scale.height,
                    ).setScene(this.scene)),
                    i.game.scale.on(
                      e.RESIZE,
                      this.onResize,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    this.systems.events.once(
                      s.DESTROY,
                      this.destroy,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                start: function () {
                  if (!this.main) {
                    var i = this.systems;
                    (i.settings.cameras
                      ? this.fromJSON(i.settings.cameras)
                      : this.add(),
                      (this.main = this.cameras[0]));
                  }
                  var o = this.systems.events;
                  (o.on(
                    s.UPDATE,
                    this.update,
                    _____WB$wombat$check$this$function_____(this),
                  ),
                    o.once(
                      s.SHUTDOWN,
                      this.shutdown,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                add: function (i, o, h, l, f, v) {
                  (i === void 0 && (i = 0),
                    o === void 0 && (o = 0),
                    h === void 0 && (h = this.scene.sys.scale.width),
                    l === void 0 && (l = this.scene.sys.scale.height),
                    f === void 0 && (f = !1),
                    v === void 0 && (v = ""));
                  var m = new A(i, o, h, l);
                  return (
                    m.setName(v),
                    m.setScene(this.scene),
                    m.setRoundPixels(this.roundPixels),
                    (m.id = this.getNextID()),
                    this.cameras.push(m),
                    f && (this.main = m),
                    m
                  );
                },
                addExisting: function (i, o) {
                  o === void 0 && (o = !1);
                  var h = this.cameras.indexOf(i);
                  return h === -1
                    ? ((i.id = this.getNextID()),
                      i.setRoundPixels(this.roundPixels),
                      this.cameras.push(i),
                      o && (this.main = i),
                      i)
                    : null;
                },
                getNextID: function () {
                  for (var i = this.cameras, o = 1, h = 0; h < 32; h++) {
                    for (var l = !1, f = 0; f < i.length; f++) {
                      var v = i[f];
                      if (v && v.id === o) {
                        l = !0;
                        continue;
                      }
                    }
                    if (l) o = o << 1;
                    else return o;
                  }
                  return 0;
                },
                getTotal: function (i) {
                  i === void 0 && (i = !1);
                  for (var o = 0, h = this.cameras, l = 0; l < h.length; l++) {
                    var f = h[l];
                    (!i || (i && f.visible)) && o++;
                  }
                  return o;
                },
                fromJSON: function (i) {
                  Array.isArray(i) || (i = [i]);
                  for (
                    var o = this.scene.sys.scale.width,
                      h = this.scene.sys.scale.height,
                      l = 0;
                    l < i.length;
                    l++
                  ) {
                    var f = i[l],
                      v = a(f, "x", 0),
                      m = a(f, "y", 0),
                      x = a(f, "width", o),
                      g = a(f, "height", h),
                      C = this.add(v, m, x, g);
                    ((C.name = a(f, "name", "")),
                      (C.zoom = a(f, "zoom", 1)),
                      (C.rotation = a(f, "rotation", 0)),
                      (C.scrollX = a(f, "scrollX", 0)),
                      (C.scrollY = a(f, "scrollY", 0)),
                      (C.roundPixels = a(f, "roundPixels", !1)),
                      (C.visible = a(f, "visible", !0)));
                    var T = a(f, "backgroundColor", !1);
                    T && C.setBackgroundColor(T);
                    var F = a(f, "bounds", null);
                    if (F) {
                      var w = a(F, "x", 0),
                        U = a(F, "y", 0),
                        M = a(F, "width", o),
                        I = a(F, "height", h);
                      C.setBounds(w, U, M, I);
                    }
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                getCamera: function (i) {
                  for (var o = this.cameras, h = 0; h < o.length; h++)
                    if (o[h].name === i) return o[h];
                  return null;
                },
                getCamerasBelowPointer: function (i) {
                  for (
                    var o = this.cameras, h = i.x, l = i.y, f = [], v = 0;
                    v < o.length;
                    v++
                  ) {
                    var m = o[v];
                    m.visible && m.inputEnabled && n(m, h, l) && f.unshift(m);
                  }
                  return f;
                },
                remove: function (i, o) {
                  (o === void 0 && (o = !0), Array.isArray(i) || (i = [i]));
                  for (var h = 0, l = this.cameras, f = 0; f < i.length; f++) {
                    var v = l.indexOf(i[f]);
                    v !== -1 &&
                      (o ? l[v].destroy() : (l[v].renderList = []),
                      l.splice(v, 1),
                      h++);
                  }
                  return (!this.main && l[0] && (this.main = l[0]), h);
                },
                render: function (i, o) {
                  for (
                    var h = this.scene, l = this.cameras, f = 0;
                    f < l.length;
                    f++
                  ) {
                    var v = l[f];
                    if (v.visible && v.alpha > 0) {
                      v.preRender();
                      var m = this.getVisibleChildren(o.getChildren(), v);
                      i.render(h, m, v);
                    }
                  }
                },
                getVisibleChildren: function (i, o) {
                  return i.filter(function (h) {
                    return h.willRender(o);
                  });
                },
                resetAll: function () {
                  for (var i = 0; i < this.cameras.length; i++)
                    this.cameras[i].destroy();
                  return (
                    (this.cameras = []),
                    (this.main = this.add()),
                    this.main
                  );
                },
                update: function (i, o) {
                  for (var h = 0; h < this.cameras.length; h++)
                    this.cameras[h].update(i, o);
                },
                onResize: function (i, o, h, l, f) {
                  for (var v = 0; v < this.cameras.length; v++) {
                    var m = this.cameras[v];
                    m._x === 0 &&
                      m._y === 0 &&
                      m._width === l &&
                      m._height === f &&
                      m.setSize(o.width, o.height);
                  }
                },
                resize: function (i, o) {
                  for (var h = 0; h < this.cameras.length; h++)
                    this.cameras[h].setSize(i, o);
                },
                shutdown: function () {
                  this.main = void 0;
                  for (var i = 0; i < this.cameras.length; i++)
                    this.cameras[i].destroy();
                  this.cameras = [];
                  var o = this.systems.events;
                  (o.off(
                    s.UPDATE,
                    this.update,
                    _____WB$wombat$check$this$function_____(this),
                  ),
                    o.off(
                      s.SHUTDOWN,
                      this.shutdown,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                destroy: function () {
                  (this.shutdown(),
                    this.default.destroy(),
                    this.systems.events.off(
                      s.START,
                      this.start,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    this.systems.events.off(
                      s.DESTROY,
                      this.destroy,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    this.systems.game.scale.off(
                      e.RESIZE,
                      this.onResize,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    (this.scene = null),
                    (this.systems = null));
                },
              });
            (r.register("CameraManager", u, "cameras"), (d.exports = u));
          },
          92522: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(82897),
              c = t(56694),
              a = t(89787),
              r = new c({
                initialize: function (e) {
                  ((this.camera = e),
                    (this.isRunning = !1),
                    (this.isComplete = !1),
                    (this.direction = !0),
                    (this.duration = 0),
                    (this.red = 0),
                    (this.green = 0),
                    (this.blue = 0),
                    (this.alpha = 0),
                    (this.progress = 0),
                    (this._elapsed = 0),
                    this._onUpdate,
                    this._onUpdateScope);
                },
                start: function (n, e, s, u, i, o, h, l) {
                  if (
                    (n === void 0 && (n = !0),
                    e === void 0 && (e = 1e3),
                    s === void 0 && (s = 0),
                    u === void 0 && (u = 0),
                    i === void 0 && (i = 0),
                    o === void 0 && (o = !1),
                    h === void 0 && (h = null),
                    l === void 0 && (l = this.camera.scene),
                    !o && this.isRunning)
                  )
                    return this.camera;
                  ((this.isRunning = !0),
                    (this.isComplete = !1),
                    (this.duration = e),
                    (this.direction = n),
                    (this.progress = 0),
                    (this.red = s),
                    (this.green = u),
                    (this.blue = i),
                    (this.alpha = n ? Number.MIN_VALUE : 1),
                    (this._elapsed = 0),
                    (this._onUpdate = h),
                    (this._onUpdateScope = l));
                  var f = n ? a.FADE_OUT_START : a.FADE_IN_START;
                  return (
                    this.camera.emit(
                      f,
                      this.camera,
                      _____WB$wombat$check$this$function_____(this),
                      e,
                      s,
                      u,
                      i,
                    ),
                    this.camera
                  );
                },
                update: function (n, e) {
                  this.isRunning &&
                    ((this._elapsed += e),
                    (this.progress = A(this._elapsed / this.duration, 0, 1)),
                    this._onUpdate &&
                      this._onUpdate.call(
                        this._onUpdateScope,
                        this.camera,
                        this.progress,
                      ),
                    this._elapsed < this.duration
                      ? (this.alpha = this.direction
                          ? this.progress
                          : 1 - this.progress)
                      : ((this.alpha = this.direction ? 1 : 0),
                        this.effectComplete()));
                },
                postRenderCanvas: function (n) {
                  if (!this.isRunning && !this.isComplete) return !1;
                  var e = this.camera;
                  return (
                    (n.fillStyle =
                      "rgba(" +
                      this.red +
                      "," +
                      this.green +
                      "," +
                      this.blue +
                      "," +
                      this.alpha +
                      ")"),
                    n.fillRect(e.x, e.y, e.width, e.height),
                    !0
                  );
                },
                postRenderWebGL: function (n, e) {
                  if (!this.isRunning && !this.isComplete) return !1;
                  var s = this.camera,
                    u = this.red / 255,
                    i = this.green / 255,
                    o = this.blue / 255;
                  return (
                    n.drawFillRect(
                      s.x,
                      s.y,
                      s.width,
                      s.height,
                      e(o, i, u, 1),
                      this.alpha,
                    ),
                    !0
                  );
                },
                effectComplete: function () {
                  ((this._onUpdate = null),
                    (this._onUpdateScope = null),
                    (this.isRunning = !1),
                    (this.isComplete = !0));
                  var n = this.direction
                    ? a.FADE_OUT_COMPLETE
                    : a.FADE_IN_COMPLETE;
                  this.camera.emit(
                    n,
                    this.camera,
                    _____WB$wombat$check$this$function_____(this),
                  );
                },
                reset: function () {
                  ((this.isRunning = !1),
                    (this.isComplete = !1),
                    (this._onUpdate = null),
                    (this._onUpdateScope = null));
                },
                destroy: function () {
                  (this.reset(), (this.camera = null));
                },
              });
            d.exports = r;
          },
          22151: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(82897),
              c = t(56694),
              a = t(89787),
              r = new c({
                initialize: function (e) {
                  ((this.camera = e),
                    (this.isRunning = !1),
                    (this.duration = 0),
                    (this.red = 0),
                    (this.green = 0),
                    (this.blue = 0),
                    (this.alpha = 1),
                    (this.progress = 0),
                    (this._elapsed = 0),
                    this._alpha,
                    this._onUpdate,
                    this._onUpdateScope);
                },
                start: function (n, e, s, u, i, o, h) {
                  return (
                    n === void 0 && (n = 250),
                    e === void 0 && (e = 255),
                    s === void 0 && (s = 255),
                    u === void 0 && (u = 255),
                    i === void 0 && (i = !1),
                    o === void 0 && (o = null),
                    h === void 0 && (h = this.camera.scene),
                    !i && this.isRunning
                      ? this.camera
                      : ((this.isRunning = !0),
                        (this.duration = n),
                        (this.progress = 0),
                        (this.red = e),
                        (this.green = s),
                        (this.blue = u),
                        (this._alpha = this.alpha),
                        (this._elapsed = 0),
                        (this._onUpdate = o),
                        (this._onUpdateScope = h),
                        this.camera.emit(
                          a.FLASH_START,
                          this.camera,
                          _____WB$wombat$check$this$function_____(this),
                          n,
                          e,
                          s,
                          u,
                        ),
                        this.camera)
                  );
                },
                update: function (n, e) {
                  this.isRunning &&
                    ((this._elapsed += e),
                    (this.progress = A(this._elapsed / this.duration, 0, 1)),
                    this._onUpdate &&
                      this._onUpdate.call(
                        this._onUpdateScope,
                        this.camera,
                        this.progress,
                      ),
                    this._elapsed < this.duration
                      ? (this.alpha = this._alpha * (1 - this.progress))
                      : this.effectComplete());
                },
                postRenderCanvas: function (n) {
                  if (!this.isRunning) return !1;
                  var e = this.camera;
                  return (
                    (n.fillStyle =
                      "rgba(" +
                      this.red +
                      "," +
                      this.green +
                      "," +
                      this.blue +
                      "," +
                      this.alpha +
                      ")"),
                    n.fillRect(e.x, e.y, e.width, e.height),
                    !0
                  );
                },
                postRenderWebGL: function (n, e) {
                  if (!this.isRunning) return !1;
                  var s = this.camera,
                    u = this.red / 255,
                    i = this.green / 255,
                    o = this.blue / 255;
                  return (
                    n.drawFillRect(
                      s.x,
                      s.y,
                      s.width,
                      s.height,
                      e(o, i, u, 1),
                      this.alpha,
                    ),
                    !0
                  );
                },
                effectComplete: function () {
                  ((this.alpha = this._alpha),
                    (this._onUpdate = null),
                    (this._onUpdateScope = null),
                    (this.isRunning = !1),
                    this.camera.emit(
                      a.FLASH_COMPLETE,
                      this.camera,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                reset: function () {
                  ((this.isRunning = !1),
                    (this._onUpdate = null),
                    (this._onUpdateScope = null));
                },
                destroy: function () {
                  (this.reset(), (this.camera = null));
                },
              });
            d.exports = r;
          },
          37551: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(82897),
              c = t(56694),
              a = t(35060),
              r = t(89787),
              n = t(93736),
              e = new c({
                initialize: function (u) {
                  ((this.camera = u),
                    (this.isRunning = !1),
                    (this.duration = 0),
                    (this.source = new n()),
                    (this.current = new n()),
                    (this.destination = new n()),
                    this.ease,
                    (this.progress = 0),
                    (this._elapsed = 0),
                    this._onUpdate,
                    this._onUpdateScope);
                },
                start: function (s, u, i, o, h, l, f) {
                  (i === void 0 && (i = 1e3),
                    o === void 0 && (o = a.Linear),
                    h === void 0 && (h = !1),
                    l === void 0 && (l = null),
                    f === void 0 && (f = this.camera.scene));
                  var v = this.camera;
                  return (
                    (!h && this.isRunning) ||
                      ((this.isRunning = !0),
                      (this.duration = i),
                      (this.progress = 0),
                      this.source.set(v.scrollX, v.scrollY),
                      this.destination.set(s, u),
                      v.getScroll(s, u, this.current),
                      typeof o == "string" && a.hasOwnProperty(o)
                        ? (this.ease = a[o])
                        : typeof o == "function" && (this.ease = o),
                      (this._elapsed = 0),
                      (this._onUpdate = l),
                      (this._onUpdateScope = f),
                      this.camera.emit(
                        r.PAN_START,
                        this.camera,
                        _____WB$wombat$check$this$function_____(this),
                        i,
                        s,
                        u,
                      )),
                    v
                  );
                },
                update: function (s, u) {
                  if (this.isRunning) {
                    this._elapsed += u;
                    var i = A(this._elapsed / this.duration, 0, 1);
                    this.progress = i;
                    var o = this.camera;
                    if (this._elapsed < this.duration) {
                      var h = this.ease(i);
                      o.getScroll(
                        this.destination.x,
                        this.destination.y,
                        this.current,
                      );
                      var l =
                          this.source.x + (this.current.x - this.source.x) * h,
                        f =
                          this.source.y + (this.current.y - this.source.y) * h;
                      (o.setScroll(l, f),
                        this._onUpdate &&
                          this._onUpdate.call(this._onUpdateScope, o, i, l, f));
                    } else
                      (o.centerOn(this.destination.x, this.destination.y),
                        this._onUpdate &&
                          this._onUpdate.call(
                            this._onUpdateScope,
                            o,
                            i,
                            o.scrollX,
                            o.scrollY,
                          ),
                        this.effectComplete());
                  }
                },
                effectComplete: function () {
                  ((this._onUpdate = null),
                    (this._onUpdateScope = null),
                    (this.isRunning = !1),
                    this.camera.emit(
                      r.PAN_COMPLETE,
                      this.camera,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                reset: function () {
                  ((this.isRunning = !1),
                    (this._onUpdate = null),
                    (this._onUpdateScope = null));
                },
                destroy: function () {
                  (this.reset(),
                    (this.camera = null),
                    (this.source = null),
                    (this.destination = null));
                },
              });
            d.exports = e;
          },
          1771: (d, y, t) => {
            /**
             * @author       Jason Nicholls <nicholls.jason@gmail.com>
             * @copyright    2018 Photon Storm Ltd.
             * @license      {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
             */ var A = t(82897),
              c = t(56694),
              a = t(89787),
              r = t(35060),
              n = new c({
                initialize: function (s) {
                  ((this.camera = s),
                    (this.isRunning = !1),
                    (this.duration = 0),
                    (this.source = 0),
                    (this.current = 0),
                    (this.destination = 0),
                    this.ease,
                    (this.progress = 0),
                    (this._elapsed = 0),
                    this._onUpdate,
                    this._onUpdateScope,
                    (this.clockwise = !0),
                    (this.shortestPath = !1));
                },
                start: function (e, s, u, i, o, h, l) {
                  (u === void 0 && (u = 1e3),
                    i === void 0 && (i = r.Linear),
                    o === void 0 && (o = !1),
                    h === void 0 && (h = null),
                    l === void 0 && (l = this.camera.scene),
                    s === void 0 && (s = !1),
                    (this.shortestPath = s));
                  var f = e;
                  e < 0
                    ? ((f = -1 * e), (this.clockwise = !1))
                    : (this.clockwise = !0);
                  var v = (360 * Math.PI) / 180;
                  f = f - Math.floor(f / v) * v;
                  var m = this.camera;
                  if (!o && this.isRunning) return m;
                  if (
                    ((this.isRunning = !0),
                    (this.duration = u),
                    (this.progress = 0),
                    (this.source = m.rotation),
                    (this.destination = f),
                    typeof i == "string" && r.hasOwnProperty(i)
                      ? (this.ease = r[i])
                      : typeof i == "function" && (this.ease = i),
                    (this._elapsed = 0),
                    (this._onUpdate = h),
                    (this._onUpdateScope = l),
                    this.shortestPath)
                  ) {
                    var x = 0,
                      g = 0;
                    (this.destination > this.source
                      ? (x = Math.abs(this.destination - this.source))
                      : (x = Math.abs(this.destination + v) - this.source),
                      this.source > this.destination
                        ? (g = Math.abs(this.source - this.destination))
                        : (g = Math.abs(this.source + v) - this.destination),
                      x < g
                        ? (this.clockwise = !0)
                        : x > g && (this.clockwise = !1));
                  }
                  return (
                    this.camera.emit(
                      a.ROTATE_START,
                      this.camera,
                      _____WB$wombat$check$this$function_____(this),
                      u,
                      f,
                    ),
                    m
                  );
                },
                update: function (e, s) {
                  if (this.isRunning) {
                    this._elapsed += s;
                    var u = A(this._elapsed / this.duration, 0, 1);
                    this.progress = u;
                    var i = this.camera;
                    if (this._elapsed < this.duration) {
                      var o = this.ease(u);
                      this.current = i.rotation;
                      var h = 0,
                        l = (360 * Math.PI) / 180,
                        f = this.destination,
                        v = this.current;
                      (this.clockwise === !1 &&
                        ((f = this.current), (v = this.destination)),
                        f >= v
                          ? (h = Math.abs(f - v))
                          : (h = Math.abs(f + l) - v));
                      var m = 0;
                      (this.clockwise
                        ? (m = i.rotation + h * o)
                        : (m = i.rotation - h * o),
                        (i.rotation = m),
                        this._onUpdate &&
                          this._onUpdate.call(this._onUpdateScope, i, u, m));
                    } else
                      ((i.rotation = this.destination),
                        this._onUpdate &&
                          this._onUpdate.call(
                            this._onUpdateScope,
                            i,
                            u,
                            this.destination,
                          ),
                        this.effectComplete());
                  }
                },
                effectComplete: function () {
                  ((this._onUpdate = null),
                    (this._onUpdateScope = null),
                    (this.isRunning = !1),
                    this.camera.emit(
                      a.ROTATE_COMPLETE,
                      this.camera,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                reset: function () {
                  ((this.isRunning = !1),
                    (this._onUpdate = null),
                    (this._onUpdateScope = null));
                },
                destroy: function () {
                  (this.reset(),
                    (this.camera = null),
                    (this.source = null),
                    (this.destination = null));
                },
              });
            d.exports = n;
          },
          3241: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(82897),
              c = t(56694),
              a = t(89787),
              r = t(93736),
              n = new c({
                initialize: function (s) {
                  ((this.camera = s),
                    (this.isRunning = !1),
                    (this.duration = 0),
                    (this.intensity = new r()),
                    (this.progress = 0),
                    (this._elapsed = 0),
                    (this._offsetX = 0),
                    (this._offsetY = 0),
                    this._onUpdate,
                    this._onUpdateScope);
                },
                start: function (e, s, u, i, o) {
                  return (
                    e === void 0 && (e = 100),
                    s === void 0 && (s = 0.05),
                    u === void 0 && (u = !1),
                    i === void 0 && (i = null),
                    o === void 0 && (o = this.camera.scene),
                    !u && this.isRunning
                      ? this.camera
                      : ((this.isRunning = !0),
                        (this.duration = e),
                        (this.progress = 0),
                        typeof s == "number"
                          ? this.intensity.set(s)
                          : this.intensity.set(s.x, s.y),
                        (this._elapsed = 0),
                        (this._offsetX = 0),
                        (this._offsetY = 0),
                        (this._onUpdate = i),
                        (this._onUpdateScope = o),
                        this.camera.emit(
                          a.SHAKE_START,
                          this.camera,
                          _____WB$wombat$check$this$function_____(this),
                          e,
                          s,
                        ),
                        this.camera)
                  );
                },
                preRender: function () {
                  this.isRunning &&
                    this.camera.matrix.translate(this._offsetX, this._offsetY);
                },
                update: function (e, s) {
                  if (this.isRunning)
                    if (
                      ((this._elapsed += s),
                      (this.progress = A(this._elapsed / this.duration, 0, 1)),
                      this._onUpdate &&
                        this._onUpdate.call(
                          this._onUpdateScope,
                          this.camera,
                          this.progress,
                        ),
                      this._elapsed < this.duration)
                    ) {
                      var u = this.intensity,
                        i = this.camera.width,
                        o = this.camera.height,
                        h = this.camera.zoom;
                      ((this._offsetX =
                        (Math.random() * u.x * i * 2 - u.x * i) * h),
                        (this._offsetY =
                          (Math.random() * u.y * o * 2 - u.y * o) * h),
                        this.camera.roundPixels &&
                          ((this._offsetX = Math.round(this._offsetX)),
                          (this._offsetY = Math.round(this._offsetY))));
                    } else this.effectComplete();
                },
                effectComplete: function () {
                  ((this._offsetX = 0),
                    (this._offsetY = 0),
                    (this._onUpdate = null),
                    (this._onUpdateScope = null),
                    (this.isRunning = !1),
                    this.camera.emit(
                      a.SHAKE_COMPLETE,
                      this.camera,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                reset: function () {
                  ((this.isRunning = !1),
                    (this._offsetX = 0),
                    (this._offsetY = 0),
                    (this._onUpdate = null),
                    (this._onUpdateScope = null));
                },
                destroy: function () {
                  (this.reset(), (this.camera = null), (this.intensity = null));
                },
              });
            d.exports = n;
          },
          13383: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(82897),
              c = t(56694),
              a = t(35060),
              r = t(89787),
              n = new c({
                initialize: function (s) {
                  ((this.camera = s),
                    (this.isRunning = !1),
                    (this.duration = 0),
                    (this.source = 1),
                    (this.destination = 1),
                    this.ease,
                    (this.progress = 0),
                    (this._elapsed = 0),
                    this._onUpdate,
                    this._onUpdateScope);
                },
                start: function (e, s, u, i, o, h) {
                  (s === void 0 && (s = 1e3),
                    u === void 0 && (u = a.Linear),
                    i === void 0 && (i = !1),
                    o === void 0 && (o = null),
                    h === void 0 && (h = this.camera.scene));
                  var l = this.camera;
                  return (
                    (!i && this.isRunning) ||
                      ((this.isRunning = !0),
                      (this.duration = s),
                      (this.progress = 0),
                      (this.source = l.zoom),
                      (this.destination = e),
                      typeof u == "string" && a.hasOwnProperty(u)
                        ? (this.ease = a[u])
                        : typeof u == "function" && (this.ease = u),
                      (this._elapsed = 0),
                      (this._onUpdate = o),
                      (this._onUpdateScope = h),
                      this.camera.emit(
                        r.ZOOM_START,
                        this.camera,
                        _____WB$wombat$check$this$function_____(this),
                        s,
                        e,
                      )),
                    l
                  );
                },
                update: function (e, s) {
                  this.isRunning &&
                    ((this._elapsed += s),
                    (this.progress = A(this._elapsed / this.duration, 0, 1)),
                    this._elapsed < this.duration
                      ? ((this.camera.zoom =
                          this.source +
                          (this.destination - this.source) *
                            this.ease(this.progress)),
                        this._onUpdate &&
                          this._onUpdate.call(
                            this._onUpdateScope,
                            this.camera,
                            this.progress,
                            this.camera.zoom,
                          ))
                      : ((this.camera.zoom = this.destination),
                        this._onUpdate &&
                          this._onUpdate.call(
                            this._onUpdateScope,
                            this.camera,
                            this.progress,
                            this.destination,
                          ),
                        this.effectComplete()));
                },
                effectComplete: function () {
                  ((this._onUpdate = null),
                    (this._onUpdateScope = null),
                    (this.isRunning = !1),
                    this.camera.emit(
                      r.ZOOM_COMPLETE,
                      this.camera,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                reset: function () {
                  ((this.isRunning = !1),
                    (this._onUpdate = null),
                    (this._onUpdateScope = null));
                },
                destroy: function () {
                  (this.reset(), (this.camera = null));
                },
              });
            d.exports = n;
          },
          53030: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              Fade: t(92522),
              Flash: t(22151),
              Pan: t(37551),
              Shake: t(3241),
              RotateTo: t(1771),
              Zoom: t(13383),
            };
          },
          39577: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "cameradestroy";
          },
          85373: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "camerafadeincomplete";
          },
          92057: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "camerafadeinstart";
          },
          1903: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "camerafadeoutcomplete";
          },
          96131: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "camerafadeoutstart";
          },
          85409: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "cameraflashcomplete";
          },
          25500: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "cameraflashstart";
          },
          44071: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "followupdate";
          },
          19818: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "camerapancomplete";
          },
          80002: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "camerapanstart";
          },
          87966: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "postrender";
          },
          74217: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "prerender";
          },
          34805: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "camerarotatecomplete";
          },
          30408: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "camerarotatestart";
          },
          49856: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "camerashakecomplete";
          },
          69189: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "camerashakestart";
          },
          67657: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "camerazoomcomplete";
          },
          14229: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "camerazoomstart";
          },
          89787: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              DESTROY: t(39577),
              FADE_IN_COMPLETE: t(85373),
              FADE_IN_START: t(92057),
              FADE_OUT_COMPLETE: t(1903),
              FADE_OUT_START: t(96131),
              FLASH_COMPLETE: t(85409),
              FLASH_START: t(25500),
              FOLLOW_UPDATE: t(44071),
              PAN_COMPLETE: t(19818),
              PAN_START: t(80002),
              POST_RENDER: t(87966),
              PRE_RENDER: t(74217),
              ROTATE_COMPLETE: t(34805),
              ROTATE_START: t(30408),
              SHAKE_COMPLETE: t(49856),
              SHAKE_START: t(69189),
              ZOOM_COMPLETE: t(67657),
              ZOOM_START: t(14229),
            };
          },
          32356: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              Camera: t(47751),
              BaseCamera: t(51052),
              CameraManager: t(62382),
              Effects: t(53030),
              Events: t(89787),
            };
          },
          84219: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(10850),
              a = new A({
                initialize: function (n) {
                  ((this.camera = c(n, "camera", null)),
                    (this.left = c(n, "left", null)),
                    (this.right = c(n, "right", null)),
                    (this.up = c(n, "up", null)),
                    (this.down = c(n, "down", null)),
                    (this.zoomIn = c(n, "zoomIn", null)),
                    (this.zoomOut = c(n, "zoomOut", null)),
                    (this.zoomSpeed = c(n, "zoomSpeed", 0.01)),
                    (this.minZoom = c(n, "minZoom", 0.001)),
                    (this.maxZoom = c(n, "maxZoom", 1e3)),
                    (this.speedX = 0),
                    (this.speedY = 0));
                  var e = c(n, "speed", null);
                  (typeof e == "number"
                    ? ((this.speedX = e), (this.speedY = e))
                    : ((this.speedX = c(n, "speed.x", 0)),
                      (this.speedY = c(n, "speed.y", 0))),
                    (this._zoom = 0),
                    (this.active = this.camera !== null));
                },
                start: function () {
                  return (
                    (this.active = this.camera !== null),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                stop: function () {
                  return (
                    (this.active = !1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setCamera: function (r) {
                  return (
                    (this.camera = r),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                update: function (r) {
                  if (this.active) {
                    r === void 0 && (r = 1);
                    var n = this.camera;
                    (this.up && this.up.isDown
                      ? (n.scrollY -= (this.speedY * r) | 0)
                      : this.down &&
                        this.down.isDown &&
                        (n.scrollY += (this.speedY * r) | 0),
                      this.left && this.left.isDown
                        ? (n.scrollX -= (this.speedX * r) | 0)
                        : this.right &&
                          this.right.isDown &&
                          (n.scrollX += (this.speedX * r) | 0),
                      this.zoomIn && this.zoomIn.isDown
                        ? ((n.zoom -= this.zoomSpeed),
                          n.zoom < this.minZoom && (n.zoom = this.minZoom))
                        : this.zoomOut &&
                          this.zoomOut.isDown &&
                          ((n.zoom += this.zoomSpeed),
                          n.zoom > this.maxZoom && (n.zoom = this.maxZoom)));
                  }
                },
                destroy: function () {
                  ((this.camera = null),
                    (this.left = null),
                    (this.right = null),
                    (this.up = null),
                    (this.down = null),
                    (this.zoomIn = null),
                    (this.zoomOut = null));
                },
              });
            d.exports = a;
          },
          69370: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(10850),
              a = new A({
                initialize: function (n) {
                  ((this.camera = c(n, "camera", null)),
                    (this.left = c(n, "left", null)),
                    (this.right = c(n, "right", null)),
                    (this.up = c(n, "up", null)),
                    (this.down = c(n, "down", null)),
                    (this.zoomIn = c(n, "zoomIn", null)),
                    (this.zoomOut = c(n, "zoomOut", null)),
                    (this.zoomSpeed = c(n, "zoomSpeed", 0.01)),
                    (this.minZoom = c(n, "minZoom", 0.001)),
                    (this.maxZoom = c(n, "maxZoom", 1e3)),
                    (this.accelX = 0),
                    (this.accelY = 0));
                  var e = c(n, "acceleration", null);
                  (typeof e == "number"
                    ? ((this.accelX = e), (this.accelY = e))
                    : ((this.accelX = c(n, "acceleration.x", 0)),
                      (this.accelY = c(n, "acceleration.y", 0))),
                    (this.dragX = 0),
                    (this.dragY = 0));
                  var s = c(n, "drag", null);
                  (typeof s == "number"
                    ? ((this.dragX = s), (this.dragY = s))
                    : ((this.dragX = c(n, "drag.x", 0)),
                      (this.dragY = c(n, "drag.y", 0))),
                    (this.maxSpeedX = 0),
                    (this.maxSpeedY = 0));
                  var u = c(n, "maxSpeed", null);
                  (typeof u == "number"
                    ? ((this.maxSpeedX = u), (this.maxSpeedY = u))
                    : ((this.maxSpeedX = c(n, "maxSpeed.x", 0)),
                      (this.maxSpeedY = c(n, "maxSpeed.y", 0))),
                    (this._speedX = 0),
                    (this._speedY = 0),
                    (this._zoom = 0),
                    (this.active = this.camera !== null));
                },
                start: function () {
                  return (
                    (this.active = this.camera !== null),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                stop: function () {
                  return (
                    (this.active = !1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setCamera: function (r) {
                  return (
                    (this.camera = r),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                update: function (r) {
                  if (this.active) {
                    r === void 0 && (r = 1);
                    var n = this.camera;
                    (this._speedX > 0
                      ? ((this._speedX -= this.dragX * r),
                        this._speedX < 0 && (this._speedX = 0))
                      : this._speedX < 0 &&
                        ((this._speedX += this.dragX * r),
                        this._speedX > 0 && (this._speedX = 0)),
                      this._speedY > 0
                        ? ((this._speedY -= this.dragY * r),
                          this._speedY < 0 && (this._speedY = 0))
                        : this._speedY < 0 &&
                          ((this._speedY += this.dragY * r),
                          this._speedY > 0 && (this._speedY = 0)),
                      this.up && this.up.isDown
                        ? ((this._speedY += this.accelY),
                          this._speedY > this.maxSpeedY &&
                            (this._speedY = this.maxSpeedY))
                        : this.down &&
                          this.down.isDown &&
                          ((this._speedY -= this.accelY),
                          this._speedY < -this.maxSpeedY &&
                            (this._speedY = -this.maxSpeedY)),
                      this.left && this.left.isDown
                        ? ((this._speedX += this.accelX),
                          this._speedX > this.maxSpeedX &&
                            (this._speedX = this.maxSpeedX))
                        : this.right &&
                          this.right.isDown &&
                          ((this._speedX -= this.accelX),
                          this._speedX < -this.maxSpeedX &&
                            (this._speedX = -this.maxSpeedX)),
                      this.zoomIn && this.zoomIn.isDown
                        ? (this._zoom = -this.zoomSpeed)
                        : this.zoomOut && this.zoomOut.isDown
                          ? (this._zoom = this.zoomSpeed)
                          : (this._zoom = 0),
                      this._speedX !== 0 &&
                        (n.scrollX -= (this._speedX * r) | 0),
                      this._speedY !== 0 &&
                        (n.scrollY -= (this._speedY * r) | 0),
                      this._zoom !== 0 &&
                        ((n.zoom += this._zoom),
                        n.zoom < this.minZoom
                          ? (n.zoom = this.minZoom)
                          : n.zoom > this.maxZoom && (n.zoom = this.maxZoom)));
                  }
                },
                destroy: function () {
                  ((this.camera = null),
                    (this.left = null),
                    (this.right = null),
                    (this.up = null),
                    (this.down = null),
                    (this.zoomIn = null),
                    (this.zoomOut = null));
                },
              });
            d.exports = a;
          },
          6524: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              FixedKeyControl: t(84219),
              SmoothedKeyControl: t(69370),
            };
          },
          44143: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = { Controls: t(6524), Scene2D: t(32356) };
          },
          86459: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = {
              VERSION: "3.70.0",
              BlendModes: t(95723),
              ScaleModes: t(27394),
              AUTO: 0,
              CANVAS: 1,
              WEBGL: 2,
              HEADLESS: 3,
              FOREVER: -1,
              NONE: 4,
              UP: 5,
              DOWN: 6,
              LEFT: 7,
              RIGHT: 8,
            };
            d.exports = A;
          },
          14033: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(86459),
              a = t(18360),
              r = t(77290),
              n = t(72632),
              e = t(10850),
              s = t(42911),
              u = t(72283),
              i = t(5923),
              o = t(65641),
              h = t(93222),
              l = new A({
                initialize: function (v) {
                  v === void 0 && (v = {});
                  var m = [
                      "#ff0000",
                      "#ffff00",
                      "#00ff00",
                      "#00ffff",
                      "#000000",
                    ],
                    x = "#ffffff",
                    g = e(v, "scale", null);
                  ((this.width = e(g, "width", 1024, v)),
                    (this.height = e(g, "height", 768, v)),
                    (this.zoom = e(g, "zoom", 1, v)),
                    (_____WB$wombat$check$this$function_____(this).parent = e(
                      g,
                      "parent",
                      void 0,
                      v,
                    )),
                    (this.scaleMode = e(g, g ? "mode" : "scaleMode", 0, v)),
                    (this.expandParent = e(g, "expandParent", !0, v)),
                    (this.autoRound = e(g, "autoRound", !1, v)),
                    (this.autoCenter = e(g, "autoCenter", 0, v)),
                    (this.resizeInterval = e(g, "resizeInterval", 500, v)),
                    (this.fullscreenTarget = e(g, "fullscreenTarget", null, v)),
                    (this.minWidth = e(g, "min.width", 0, v)),
                    (this.maxWidth = e(g, "max.width", 0, v)),
                    (this.minHeight = e(g, "min.height", 0, v)),
                    (this.maxHeight = e(g, "max.height", 0, v)),
                    (this.renderType = e(v, "type", c.AUTO)),
                    (this.canvas = e(v, "canvas", null)),
                    (this.context = e(v, "context", null)),
                    (this.canvasStyle = e(v, "canvasStyle", null)),
                    (this.customEnvironment = e(v, "customEnvironment", !1)),
                    (this.sceneConfig = e(v, "scene", null)),
                    (this.seed = e(v, "seed", [
                      (Date.now() * Math.random()).toString(),
                    ])),
                    (i.RND = new i.RandomDataGenerator(this.seed)),
                    (this.gameTitle = e(v, "title", "")),
                    (this.gameURL = e(v, "url", "https://phaser.io")),
                    (this.gameVersion = e(v, "version", "")),
                    (this.autoFocus = e(v, "autoFocus", !0)),
                    (this.stableSort = e(v, "stableSort", -1)),
                    this.stableSort === -1 &&
                      (this.stableSort = r.browser.es2019 ? 1 : 0),
                    (r.features.stableSort = this.stableSort),
                    (this.domCreateContainer = e(v, "dom.createContainer", !1)),
                    (this.domPointerEvents = e(v, "dom.pointerEvents", "none")),
                    (this.inputKeyboard = e(v, "input.keyboard", !0)),
                    (this.inputKeyboardEventTarget = e(
                      v,
                      "input.keyboard.target",
                      window,
                    )),
                    (this.inputKeyboardCapture = e(
                      v,
                      "input.keyboard.capture",
                      [],
                    )),
                    (this.inputMouse = e(v, "input.mouse", !0)),
                    (this.inputMouseEventTarget = e(
                      v,
                      "input.mouse.target",
                      null,
                    )),
                    (this.inputMousePreventDefaultDown = e(
                      v,
                      "input.mouse.preventDefaultDown",
                      !0,
                    )),
                    (this.inputMousePreventDefaultUp = e(
                      v,
                      "input.mouse.preventDefaultUp",
                      !0,
                    )),
                    (this.inputMousePreventDefaultMove = e(
                      v,
                      "input.mouse.preventDefaultMove",
                      !0,
                    )),
                    (this.inputMousePreventDefaultWheel = e(
                      v,
                      "input.mouse.preventDefaultWheel",
                      !0,
                    )),
                    (this.inputTouch = e(v, "input.touch", r.input.touch)),
                    (this.inputTouchEventTarget = e(
                      v,
                      "input.touch.target",
                      null,
                    )),
                    (this.inputTouchCapture = e(v, "input.touch.capture", !0)),
                    (this.inputActivePointers = e(
                      v,
                      "input.activePointers",
                      1,
                    )),
                    (this.inputSmoothFactor = e(v, "input.smoothFactor", 0)),
                    (this.inputWindowEvents = e(v, "input.windowEvents", !0)),
                    (this.inputGamepad = e(v, "input.gamepad", !1)),
                    (this.inputGamepadEventTarget = e(
                      v,
                      "input.gamepad.target",
                      window,
                    )),
                    (this.disableContextMenu = e(v, "disableContextMenu", !1)),
                    (this.audio = e(v, "audio", {})),
                    (this.hideBanner = e(v, "banner", null) === !1),
                    (this.hidePhaser = e(v, "banner.hidePhaser", !1)),
                    (this.bannerTextColor = e(v, "banner.text", x)),
                    (this.bannerBackgroundColor = e(v, "banner.background", m)),
                    this.gameTitle === "" &&
                      this.hidePhaser &&
                      (this.hideBanner = !0),
                    (this.fps = e(v, "fps", null)),
                    (this.disablePreFX = e(v, "disablePreFX", !1)),
                    (this.disablePostFX = e(v, "disablePostFX", !1)));
                  var C = e(v, "render", null);
                  ((this.pipeline = e(C, "pipeline", null, v)),
                    (this.autoMobilePipeline = e(
                      C,
                      "autoMobilePipeline",
                      !0,
                      v,
                    )),
                    (this.defaultPipeline = e(
                      C,
                      "defaultPipeline",
                      o.MULTI_PIPELINE,
                      v,
                    )),
                    (this.antialias = e(C, "antialias", !0, v)),
                    (this.antialiasGL = e(C, "antialiasGL", !0, v)),
                    (this.mipmapFilter = e(C, "mipmapFilter", "", v)),
                    (this.desynchronized = e(C, "desynchronized", !1, v)),
                    (this.roundPixels = e(C, "roundPixels", !0, v)),
                    (this.pixelArt = e(C, "pixelArt", this.zoom !== 1, v)),
                    this.pixelArt &&
                      ((this.antialias = !1),
                      (this.antialiasGL = !1),
                      (this.roundPixels = !0)),
                    (this.transparent = e(C, "transparent", !1, v)),
                    (this.clearBeforeRender = e(C, "clearBeforeRender", !0, v)),
                    (this.preserveDrawingBuffer = e(
                      C,
                      "preserveDrawingBuffer",
                      !1,
                      v,
                    )),
                    (this.premultipliedAlpha = e(
                      C,
                      "premultipliedAlpha",
                      !0,
                      v,
                    )),
                    (this.failIfMajorPerformanceCaveat = e(
                      C,
                      "failIfMajorPerformanceCaveat",
                      !1,
                      v,
                    )),
                    (this.powerPreference = e(
                      C,
                      "powerPreference",
                      "default",
                      v,
                    )),
                    (this.batchSize = e(C, "batchSize", 4096, v)),
                    (this.maxTextures = e(C, "maxTextures", -1, v)),
                    (this.maxLights = e(C, "maxLights", 10, v)));
                  var T = e(v, "backgroundColor", 0);
                  ((this.backgroundColor = h(T)),
                    this.transparent &&
                      ((this.backgroundColor = h(0)),
                      (this.backgroundColor.alpha = 0)),
                    (this.preBoot = e(v, "callbacks.preBoot", u)),
                    (this.postBoot = e(v, "callbacks.postBoot", u)),
                    (this.physics = e(v, "physics", {})),
                    (this.defaultPhysicsSystem = e(
                      this.physics,
                      "default",
                      !1,
                    )),
                    (this.loaderBaseURL = e(v, "loader.baseURL", "")),
                    (this.loaderPath = e(v, "loader.path", "")),
                    (this.loaderMaxParallelDownloads = e(
                      v,
                      "loader.maxParallelDownloads",
                      r.os.android ? 6 : 32,
                    )),
                    (this.loaderCrossOrigin = e(
                      v,
                      "loader.crossOrigin",
                      void 0,
                    )),
                    (this.loaderResponseType = e(v, "loader.responseType", "")),
                    (this.loaderAsync = e(v, "loader.async", !0)),
                    (this.loaderUser = e(v, "loader.user", "")),
                    (this.loaderPassword = e(v, "loader.password", "")),
                    (this.loaderTimeout = e(v, "loader.timeout", 0)),
                    (this.loaderWithCredentials = e(
                      v,
                      "loader.withCredentials",
                      !1,
                    )),
                    (this.loaderImageLoadType = e(
                      v,
                      "loader.imageLoadType",
                      "XHR",
                    )),
                    (this.loaderLocalScheme = e(v, "loader.localScheme", [
                      "file://",
                      "capacitor://",
                    ])),
                    (this.glowFXQuality = e(v, "fx.glow.quality", 0.1)),
                    (this.glowFXDistance = e(v, "fx.glow.distance", 10)),
                    (this.installGlobalPlugins = []),
                    (this.installScenePlugins = []));
                  var F = e(v, "plugins", null),
                    w = a.DefaultScene;
                  (F &&
                    (Array.isArray(F)
                      ? (this.defaultPlugins = F)
                      : s(F) &&
                        ((this.installGlobalPlugins = n(F, "global", [])),
                        (this.installScenePlugins = n(F, "scene", [])),
                        Array.isArray(F.default)
                          ? (w = F.default)
                          : Array.isArray(F.defaultMerge) &&
                            (w = w.concat(F.defaultMerge)))),
                    (this.defaultPlugins = w));
                  var U =
                    "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAg";
                  ((this.defaultImage = e(
                    v,
                    "images.default",
                    U +
                      "AQMAAABJtOi3AAAAA1BMVEX///+nxBvIAAAAAXRSTlMAQObYZgAAABVJREFUeF7NwIEAAAAAgKD9qdeocAMAoAABm3DkcAAAAABJRU5ErkJggg==",
                  )),
                    (this.missingImage = e(
                      v,
                      "images.missing",
                      U +
                        "CAIAAAD8GO2jAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJ9JREFUeNq01ssOwyAMRFG46v//Mt1ESmgh+DFmE2GPOBARKb2NVjo+17PXLD8a1+pl5+A+wSgFygymWYHBb0FtsKhJDdZlncG2IzJ4ayoMDv20wTmSMzClEgbWYNTAkQ0Z+OJ+A/eWnAaR9+oxCF4Os0H8htsMUp+pwcgBBiMNnAwF8GqIgL2hAzaGFFgZauDPKABmowZ4GL369/0rwACp2yA/ttmvsQAAAABJRU5ErkJggg==",
                    )),
                    (this.whiteImage = e(
                      v,
                      "images.white",
                      "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABdJREFUeNpi/P//PwMMMDEgAdwcgAADAJZuAwXJYZOzAAAAAElFTkSuQmCC",
                    )),
                    window &&
                      (window.FORCE_WEBGL
                        ? (this.renderType = c.WEBGL)
                        : window.FORCE_CANVAS && (this.renderType = c.CANVAS)));
                },
              });
            d.exports = l;
          },
          50150: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(70616),
              c = t(61068),
              a = t(86459),
              r = t(90185),
              n = function (e) {
                var s = e.config;
                if (
                  (s.customEnvironment || s.canvas) &&
                  s.renderType === a.AUTO
                )
                  throw new Error(
                    "Must set explicit renderType in custom environment",
                  );
                if (
                  !s.customEnvironment &&
                  !s.canvas &&
                  s.renderType !== a.HEADLESS
                )
                  if (
                    (s.renderType === a.AUTO &&
                      (s.renderType = r.webGL ? a.WEBGL : a.CANVAS),
                    s.renderType === a.WEBGL)
                  ) {
                    if (!r.webGL)
                      throw new Error("Cannot create WebGL context, aborting.");
                  } else if (s.renderType === a.CANVAS) {
                    if (!r.canvas)
                      throw new Error(
                        "Cannot create Canvas context, aborting.",
                      );
                  } else
                    throw new Error(
                      "Unknown value for renderer type: " + s.renderType,
                    );
                s.antialias || c.disableSmoothing();
                var u = e.scale.baseSize,
                  i = u.width,
                  o = u.height;
                if (
                  (s.canvas
                    ? ((e.canvas = s.canvas),
                      (e.canvas.width = i),
                      (e.canvas.height = o))
                    : (e.canvas = c.create(e, i, o, s.renderType)),
                  s.canvasStyle && (e.canvas.style = s.canvasStyle),
                  s.antialias || A.setCrisp(e.canvas),
                  s.renderType !== a.HEADLESS)
                ) {
                  var h, l;
                  ((h = t(91135)),
                    (l = t(11857)),
                    s.renderType === a.WEBGL
                      ? (e.renderer = new l(e))
                      : ((e.renderer = new h(e)),
                        (e.context = e.renderer.gameContext)));
                }
              };
            d.exports = n;
          },
          77291: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(86459),
              c = function (a) {
                var r = a.config;
                if (!r.hideBanner) {
                  var n = "WebGL";
                  r.renderType === A.CANVAS
                    ? (n = "Canvas")
                    : r.renderType === A.HEADLESS && (n = "Headless");
                  var e = r.audio,
                    s = a.device.audio,
                    u;
                  if (
                    (s.webAudio && !e.disableWebAudio
                      ? (u = "Web Audio")
                      : e.noAudio || (!s.webAudio && !s.audioData)
                        ? (u = "No Audio")
                        : (u = "HTML5 Audio"),
                    a.device.browser.ie)
                  )
                    window.console &&
                      console.log(
                        "Phaser v" + A.VERSION + " / https://phaser.io",
                      );
                  else {
                    var i = "",
                      o = [i];
                    if (Array.isArray(r.bannerBackgroundColor)) {
                      var h;
                      (r.bannerBackgroundColor.forEach(function (f) {
                        ((i = i.concat("%c ")),
                          o.push("background: " + f),
                          (h = f));
                      }),
                        (o[o.length - 1] =
                          "color: " +
                          r.bannerTextColor +
                          "; background: " +
                          h));
                    } else
                      ((i = i.concat("%c ")),
                        o.push(
                          "color: " +
                            r.bannerTextColor +
                            "; background: " +
                            r.bannerBackgroundColor,
                        ));
                    (o.push("background: transparent"),
                      r.gameTitle &&
                        ((i = i.concat(r.gameTitle)),
                        r.gameVersion && (i = i.concat(" v" + r.gameVersion)),
                        r.hidePhaser || (i = i.concat(" / "))));
                    var l = "";
                    (r.hidePhaser ||
                      (i = i.concat(
                        "Phaser v" + A.VERSION + l + " (" + n + " | " + u + ")",
                      )),
                      (i = i.concat(" %c " + r.gameURL)),
                      (o[0] = i),
                      console.log.apply(console, o));
                  }
                }
              };
            d.exports = c;
          },
          15213: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(99584),
              c = t(90249),
              a = t(43474),
              r = t(61068),
              n = t(56694),
              e = t(14033),
              s = t(85178),
              u = t(50150),
              i = t(81078),
              o = t(77291),
              h = t(77290),
              l = t(21546),
              f = t(6659),
              v = t(97081),
              m = t(69898),
              x = t(91963),
              g = t(49274),
              C = t(756),
              T = t(13553),
              F = t(38203),
              w = t(6237),
              U = t(26617),
              M = t(26493),
              I = t(84191),
              O = new n({
                initialize: function (G) {
                  ((this.config = new e(G)),
                    (this.renderer = null),
                    (this.domContainer = null),
                    (this.canvas = null),
                    (this.context = null),
                    (this.isBooted = !1),
                    (this.isRunning = !1),
                    (this.events = new f()),
                    (this.anims = new c(this)),
                    (this.textures = new w(this)),
                    (this.cache = new a(this)),
                    (this.registry = new i(this, new f())),
                    (this.input = new m(this, this.config)),
                    (this.scene = new T(this, this.config.sceneConfig)),
                    (this.device = h),
                    (this.scale = new C(this, this.config)),
                    (this.sound = null),
                    (this.sound = I.create(this)),
                    (this.loop = new U(this, this.config.fps)),
                    (this.plugins = new g(this, this.config)),
                    (this.pendingDestroy = !1),
                    (this.removeCanvas = !1),
                    (this.noReturn = !1),
                    (this.hasFocus = !1),
                    (this.isPaused = !1),
                    l(this.boot.bind(this)));
                },
                boot: function () {
                  if (!x.hasCore("EventEmitter")) {
                    console.warn("Aborting. Core Plugins missing.");
                    return;
                  }
                  ((this.isBooted = !0),
                    this.config.preBoot(this),
                    this.scale.preBoot(),
                    u(this),
                    s(this),
                    o(this),
                    A(this.canvas, this.config.parent),
                    this.textures.once(
                      F.READY,
                      this.texturesReady,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    this.events.emit(v.BOOT));
                },
                texturesReady: function () {
                  (this.events.emit(v.READY), this.start());
                },
                start: function () {
                  ((this.isRunning = !0),
                    this.config.postBoot(this),
                    this.renderer
                      ? this.loop.start(this.step.bind(this))
                      : this.loop.start(this.headlessStep.bind(this)),
                    M(this));
                  var D = this.events;
                  (D.on(
                    v.HIDDEN,
                    this.onHidden,
                    _____WB$wombat$check$this$function_____(this),
                  ),
                    D.on(
                      v.VISIBLE,
                      this.onVisible,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    D.on(
                      v.BLUR,
                      this.onBlur,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    D.on(
                      v.FOCUS,
                      this.onFocus,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                step: function (D, G) {
                  if (this.pendingDestroy) return this.runDestroy();
                  if (!this.isPaused) {
                    var X = this.events;
                    (X.emit(v.PRE_STEP, D, G),
                      X.emit(v.STEP, D, G),
                      this.scene.update(D, G),
                      X.emit(v.POST_STEP, D, G));
                    var z = this.renderer;
                    (z.preRender(),
                      X.emit(v.PRE_RENDER, z, D, G),
                      this.scene.render(z),
                      z.postRender(),
                      X.emit(v.POST_RENDER, z, D, G));
                  }
                },
                headlessStep: function (D, G) {
                  if (this.pendingDestroy) return this.runDestroy();
                  if (!this.isPaused) {
                    var X = this.events;
                    (X.emit(v.PRE_STEP, D, G),
                      X.emit(v.STEP, D, G),
                      this.scene.update(D, G),
                      X.emit(v.POST_STEP, D, G),
                      (this.scene.isProcessing = !1),
                      X.emit(v.PRE_RENDER, null, D, G),
                      X.emit(v.POST_RENDER, null, D, G));
                  }
                },
                onHidden: function () {
                  (this.loop.pause(), this.events.emit(v.PAUSE));
                },
                pause: function () {
                  var D = this.isPaused;
                  ((this.isPaused = !0), D || this.events.emit(v.PAUSE));
                },
                onVisible: function () {
                  (this.loop.resume(), this.events.emit(v.RESUME));
                },
                resume: function () {
                  var D = this.isPaused;
                  ((this.isPaused = !1), D && this.events.emit(v.RESUME));
                },
                onBlur: function () {
                  ((this.hasFocus = !1), this.loop.blur());
                },
                onFocus: function () {
                  ((this.hasFocus = !0), this.loop.focus());
                },
                getFrame: function () {
                  return this.loop.frame;
                },
                getTime: function () {
                  return this.loop.now;
                },
                destroy: function (D, G) {
                  (G === void 0 && (G = !1),
                    (this.pendingDestroy = !0),
                    (this.removeCanvas = D),
                    (this.noReturn = G));
                },
                runDestroy: function () {
                  (this.scene.destroy(),
                    this.events.emit(v.DESTROY),
                    this.events.removeAllListeners(),
                    this.renderer && this.renderer.destroy(),
                    this.removeCanvas &&
                      this.canvas &&
                      (r.remove(this.canvas),
                      this.canvas.parentNode &&
                        this.canvas.parentNode.removeChild(this.canvas)),
                    this.domContainer &&
                      this.domContainer.parentNode &&
                      this.domContainer.parentNode.removeChild(
                        this.domContainer,
                      ),
                    this.loop.destroy(),
                    (this.pendingDestroy = !1));
                },
              });
            d.exports = O;
          },
          26617: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(10850),
              a = t(72283),
              r = t(27385),
              n = new A({
                initialize: function (s, u) {
                  ((this.game = s),
                    (this.raf = new r()),
                    (this.started = !1),
                    (this.running = !1),
                    (this.minFps = c(u, "min", 5)),
                    (this.targetFps = c(u, "target", 60)),
                    (this.fpsLimit = c(u, "limit", 0)),
                    (this.hasFpsLimit = this.fpsLimit > 0),
                    (this._limitRate = this.hasFpsLimit
                      ? 1e3 / this.fpsLimit
                      : 0),
                    (this._min = 1e3 / this.minFps),
                    (this._target = 1e3 / this.targetFps),
                    (this.actualFps = this.targetFps),
                    (this.nextFpsUpdate = 0),
                    (this.framesThisSecond = 0),
                    (this.callback = a),
                    (this.forceSetTimeOut = c(u, "forceSetTimeOut", !1)),
                    (this.time = 0),
                    (this.startTime = 0),
                    (this.lastTime = 0),
                    (this.frame = 0),
                    (this.inFocus = !0),
                    (this._pauseTime = 0),
                    (this._coolDown = 0),
                    (this.delta = 0),
                    (this.deltaIndex = 0),
                    (this.deltaHistory = []),
                    (this.deltaSmoothingMax = c(u, "deltaHistory", 10)),
                    (this.panicMax = c(u, "panicMax", 120)),
                    (this.rawDelta = 0),
                    (this.now = 0),
                    (this.smoothStep = c(u, "smoothStep", !0)));
                },
                blur: function () {
                  this.inFocus = !1;
                },
                focus: function () {
                  ((this.inFocus = !0), this.resetDelta());
                },
                pause: function () {
                  this._pauseTime = window.performance.now();
                },
                resume: function () {
                  (this.resetDelta(),
                    (this.startTime += this.time - this._pauseTime));
                },
                resetDelta: function () {
                  var e = window.performance.now();
                  ((this.time = e),
                    (this.lastTime = e),
                    (this.nextFpsUpdate = e + 1e3),
                    (this.framesThisSecond = 0));
                  for (var s = 0; s < this.deltaSmoothingMax; s++)
                    this.deltaHistory[s] = Math.min(
                      this._target,
                      this.deltaHistory[s],
                    );
                  ((this.delta = 0),
                    (this.deltaIndex = 0),
                    (this._coolDown = this.panicMax));
                },
                start: function (e) {
                  if (this.started)
                    return _____WB$wombat$check$this$function_____(this);
                  ((this.started = !0), (this.running = !0));
                  for (var s = 0; s < this.deltaSmoothingMax; s++)
                    this.deltaHistory[s] = this._target;
                  (this.resetDelta(),
                    (this.startTime = window.performance.now()),
                    (this.callback = e));
                  var u = this.hasFpsLimit
                    ? this.stepLimitFPS.bind(this)
                    : this.step.bind(this);
                  this.raf.start(u, this.forceSetTimeOut, this._target);
                },
                smoothDelta: function (e) {
                  var s = this.deltaIndex,
                    u = this.deltaHistory,
                    i = this.deltaSmoothingMax;
                  ((this._coolDown > 0 || !this.inFocus) &&
                    (this._coolDown--, (e = Math.min(e, this._target))),
                    e > this._min && ((e = u[s]), (e = Math.min(e, this._min))),
                    (u[s] = e),
                    this.deltaIndex++,
                    this.deltaIndex >= i && (this.deltaIndex = 0));
                  for (var o = 0, h = 0; h < i; h++) o += u[h];
                  return ((o /= i), o);
                },
                updateFPS: function (e) {
                  ((this.actualFps =
                    0.25 * this.framesThisSecond + 0.75 * this.actualFps),
                    (this.nextFpsUpdate = e + 1e3),
                    (this.framesThisSecond = 0));
                },
                stepLimitFPS: function (e) {
                  this.now = e;
                  var s = Math.max(0, e - this.lastTime);
                  ((this.rawDelta = s),
                    (this.time += this.rawDelta),
                    this.smoothStep && (s = this.smoothDelta(s)),
                    (this.delta += s),
                    e >= this.nextFpsUpdate && this.updateFPS(e),
                    this.framesThisSecond++,
                    this.delta >= this._limitRate &&
                      (this.callback(e, this.delta), (this.delta = 0)),
                    (this.lastTime = e),
                    this.frame++);
                },
                step: function (e) {
                  this.now = e;
                  var s = Math.max(0, e - this.lastTime);
                  ((this.rawDelta = s),
                    (this.time += this.rawDelta),
                    this.smoothStep && (s = this.smoothDelta(s)),
                    (this.delta = s),
                    e >= this.nextFpsUpdate && this.updateFPS(e),
                    this.framesThisSecond++,
                    this.callback(e, s),
                    (this.lastTime = e),
                    this.frame++);
                },
                tick: function () {
                  var e = window.performance.now();
                  this.hasFpsLimit ? this.stepLimitFPS(e) : this.step(e);
                },
                sleep: function () {
                  this.running && (this.raf.stop(), (this.running = !1));
                },
                wake: function (e) {
                  e === void 0 && (e = !1);
                  var s = window.performance.now();
                  if (!this.running) {
                    e &&
                      (this.startTime += -this.lastTime + (this.lastTime + s));
                    var u = this.hasFpsLimit
                      ? this.stepLimitFPS.bind(this)
                      : this.step.bind(this);
                    (this.raf.start(u, this.forceSetTimeOut, this._target),
                      (this.running = !0),
                      (this.nextFpsUpdate = s + 1e3),
                      (this.framesThisSecond = 0),
                      (this.fpsLimitTriggered = !1),
                      this.tick());
                  }
                },
                getDuration: function () {
                  return Math.round(this.lastTime - this.startTime) / 1e3;
                },
                getDurationMS: function () {
                  return Math.round(this.lastTime - this.startTime);
                },
                stop: function () {
                  return (
                    (this.running = !1),
                    (this.started = !1),
                    this.raf.stop(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                destroy: function () {
                  (this.stop(),
                    this.raf.destroy(),
                    (this.raf = null),
                    (this.game = null),
                    (this.callback = null));
                },
              });
            d.exports = n;
          },
          26493: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(97081),
              c = function (a) {
                var r,
                  n = a.events;
                if (document.hidden !== void 0) r = "visibilitychange";
                else {
                  var e = ["webkit", "moz", "ms"];
                  e.forEach(function (u) {
                    document[u + "Hidden"] !== void 0 &&
                      ((document.hidden = function () {
                        return document[u + "Hidden"];
                      }),
                      (r = u + "visibilitychange"));
                  });
                }
                var s = function (u) {
                  document.hidden || u.type === "pause"
                    ? n.emit(A.HIDDEN)
                    : n.emit(A.VISIBLE);
                };
                (r && document.addEventListener(r, s, !1),
                  (window.onblur = function () {
                    n.emit(A.BLUR);
                  }),
                  (window.onfocus = function () {
                    n.emit(A.FOCUS);
                  }),
                  window.focus && a.config.autoFocus && window.focus());
              };
            d.exports = c;
          },
          41651: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "blur";
          },
          5520: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "boot";
          },
          51673: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "contextlost";
          },
          25055: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "destroy";
          },
          23767: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "focus";
          },
          57564: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "hidden";
          },
          38327: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "pause";
          },
          43807: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "postrender";
          },
          73652: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "poststep";
          },
          780: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "prerender";
          },
          13781: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "prestep";
          },
          38247: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "ready";
          },
          29129: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "resume";
          },
          34994: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "step";
          },
          55237: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "systemready";
          },
          98704: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "visible";
          },
          97081: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              BLUR: t(41651),
              BOOT: t(5520),
              CONTEXT_LOST: t(51673),
              DESTROY: t(25055),
              FOCUS: t(23767),
              HIDDEN: t(57564),
              PAUSE: t(38327),
              POST_RENDER: t(43807),
              POST_STEP: t(73652),
              PRE_RENDER: t(780),
              PRE_STEP: t(13781),
              READY: t(38247),
              RESUME: t(29129),
              STEP: t(34994),
              SYSTEM_READY: t(55237),
              VISIBLE: t(98704),
            };
          },
          80293: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              Config: t(14033),
              CreateRenderer: t(50150),
              DebugHeader: t(77291),
              Events: t(97081),
              TimeStep: t(26617),
              VisibilityHandler: t(26493),
            };
          },
          52780: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(81543),
              c = t(61068),
              a = t(10850),
              r = function (n) {
                var e = a(n, "data", []),
                  s = a(n, "canvas", null),
                  u = a(n, "palette", A),
                  i = a(n, "pixelWidth", 1),
                  o = a(n, "pixelHeight", i),
                  h = a(n, "resizeCanvas", !0),
                  l = a(n, "clearCanvas", !0),
                  f = a(n, "preRender", null),
                  v = a(n, "postRender", null),
                  m = Math.floor(Math.abs(e[0].length * i)),
                  x = Math.floor(Math.abs(e.length * o));
                (s || ((s = c.create2D(this, m, x)), (h = !1), (l = !1)),
                  h && ((s.width = m), (s.height = x)));
                var g = s.getContext("2d", { willReadFrequently: !0 });
                (l && g.clearRect(0, 0, m, x), f && f(s, g));
                for (var C = 0; C < e.length; C++)
                  for (var T = e[C], F = 0; F < T.length; F++) {
                    var w = T[F];
                    w !== "." &&
                      w !== " " &&
                      ((g.fillStyle = u[w]), g.fillRect(F * i, C * o, i, o));
                  }
                return (v && v(s, g), s);
              };
            d.exports = r;
          },
          84106: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = { GenerateTexture: t(52780), Palettes: t(25235) };
          },
          81543: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              0: "#000",
              1: "#9D9D9D",
              2: "#FFF",
              3: "#BE2633",
              4: "#E06F8B",
              5: "#493C2B",
              6: "#A46422",
              7: "#EB8931",
              8: "#F7E26B",
              9: "#2F484E",
              A: "#44891A",
              B: "#A3CE27",
              C: "#1B2632",
              D: "#005784",
              E: "#31A2F2",
              F: "#B2DCEF",
            };
          },
          75846: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              0: "#000",
              1: "#fff",
              2: "#8b4131",
              3: "#7bbdc5",
              4: "#8b41ac",
              5: "#6aac41",
              6: "#3931a4",
              7: "#d5de73",
              8: "#945a20",
              9: "#5a4100",
              A: "#bd736a",
              B: "#525252",
              C: "#838383",
              D: "#acee8b",
              E: "#7b73de",
              F: "#acacac",
            };
          },
          83206: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              0: "#000",
              1: "#2234d1",
              2: "#0c7e45",
              3: "#44aacc",
              4: "#8a3622",
              5: "#5c2e78",
              6: "#aa5c3d",
              7: "#b5b5b5",
              8: "#5e606e",
              9: "#4c81fb",
              A: "#6cd947",
              B: "#7be2f9",
              C: "#eb8a60",
              D: "#e23d69",
              E: "#ffd93f",
              F: "#fff",
            };
          },
          13194: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              0: "#000",
              1: "#191028",
              2: "#46af45",
              3: "#a1d685",
              4: "#453e78",
              5: "#7664fe",
              6: "#833129",
              7: "#9ec2e8",
              8: "#dc534b",
              9: "#e18d79",
              A: "#d6b97b",
              B: "#e9d8a1",
              C: "#216c4b",
              D: "#d365c8",
              E: "#afaab9",
              F: "#f5f4eb",
            };
          },
          50686: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              0: "#000",
              1: "#191028",
              2: "#46af45",
              3: "#a1d685",
              4: "#453e78",
              5: "#7664fe",
              6: "#833129",
              7: "#9ec2e8",
              8: "#dc534b",
              9: "#e18d79",
              A: "#d6b97b",
              B: "#e9d8a1",
              C: "#216c4b",
              D: "#d365c8",
              E: "#afaab9",
              F: "#fff",
            };
          },
          25235: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              ARNE16: t(81543),
              C64: t(75846),
              CGA: t(83206),
              JMP: t(13194),
              MSX: t(50686),
            };
          },
          63120: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(34631),
              a = t(38517),
              r = t(93736),
              n = new A({
                Extends: a,
                initialize: function (s, u, i, o) {
                  (a.call(this, "CubicBezierCurve"),
                    Array.isArray(s) &&
                      ((o = new r(s[6], s[7])),
                      (i = new r(s[4], s[5])),
                      (u = new r(s[2], s[3])),
                      (s = new r(s[0], s[1]))),
                    (this.p0 = s),
                    (this.p1 = u),
                    (this.p2 = i),
                    (this.p3 = o));
                },
                getStartPoint: function (e) {
                  return (e === void 0 && (e = new r()), e.copy(this.p0));
                },
                getResolution: function (e) {
                  return e;
                },
                getPoint: function (e, s) {
                  s === void 0 && (s = new r());
                  var u = this.p0,
                    i = this.p1,
                    o = this.p2,
                    h = this.p3;
                  return s.set(
                    c(e, u.x, i.x, o.x, h.x),
                    c(e, u.y, i.y, o.y, h.y),
                  );
                },
                draw: function (e, s) {
                  s === void 0 && (s = 32);
                  var u = this.getPoints(s);
                  (e.beginPath(), e.moveTo(this.p0.x, this.p0.y));
                  for (var i = 1; i < u.length; i++) e.lineTo(u[i].x, u[i].y);
                  return (e.strokePath(), e);
                },
                toJSON: function () {
                  return {
                    type: this.type,
                    points: [
                      this.p0.x,
                      this.p0.y,
                      this.p1.x,
                      this.p1.y,
                      this.p2.x,
                      this.p2.y,
                      this.p3.x,
                      this.p3.y,
                    ],
                  };
                },
              });
            ((n.fromJSON = function (e) {
              var s = e.points,
                u = new r(s[0], s[1]),
                i = new r(s[2], s[3]),
                o = new r(s[4], s[5]),
                h = new r(s[6], s[7]);
              return new n(u, i, o, h);
            }),
              (d.exports = n));
          },
          38517: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(80222),
              a = t(74118),
              r = t(93736),
              n = new A({
                initialize: function (s) {
                  ((this.type = s),
                    (this.defaultDivisions = 5),
                    (this.arcLengthDivisions = 100),
                    (this.cacheArcLengths = []),
                    (this.needsUpdate = !0),
                    (this.active = !0),
                    (this._tmpVec2A = new r()),
                    (this._tmpVec2B = new r()));
                },
                draw: function (e, s) {
                  return (
                    s === void 0 && (s = 32),
                    e.strokePoints(this.getPoints(s))
                  );
                },
                getBounds: function (e, s) {
                  (e || (e = new a()), s === void 0 && (s = 16));
                  var u = this.getLength();
                  s > u && (s = u / 2);
                  var i = Math.max(1, Math.round(u / s));
                  return c(this.getSpacedPoints(i), e);
                },
                getDistancePoints: function (e) {
                  var s = this.getLength(),
                    u = Math.max(1, s / e);
                  return this.getSpacedPoints(u);
                },
                getEndPoint: function (e) {
                  return (e === void 0 && (e = new r()), this.getPointAt(1, e));
                },
                getLength: function () {
                  var e = this.getLengths();
                  return e[e.length - 1];
                },
                getLengths: function (e) {
                  if (
                    (e === void 0 && (e = this.arcLengthDivisions),
                    this.cacheArcLengths.length === e + 1 && !this.needsUpdate)
                  )
                    return this.cacheArcLengths;
                  this.needsUpdate = !1;
                  var s = [],
                    u,
                    i = this.getPoint(0, this._tmpVec2A),
                    o = 0;
                  s.push(0);
                  for (var h = 1; h <= e; h++)
                    ((u = this.getPoint(h / e, this._tmpVec2B)),
                      (o += u.distance(i)),
                      s.push(o),
                      i.copy(u));
                  return ((this.cacheArcLengths = s), s);
                },
                getPointAt: function (e, s) {
                  var u = this.getUtoTmapping(e);
                  return this.getPoint(u, s);
                },
                getPoints: function (e, s, u) {
                  (u === void 0 && (u = []),
                    e ||
                      (s
                        ? (e = this.getLength() / s)
                        : (e = this.defaultDivisions)));
                  for (var i = 0; i <= e; i++) u.push(this.getPoint(i / e));
                  return u;
                },
                getRandomPoint: function (e) {
                  return (
                    e === void 0 && (e = new r()),
                    this.getPoint(Math.random(), e)
                  );
                },
                getSpacedPoints: function (e, s, u) {
                  (u === void 0 && (u = []),
                    e ||
                      (s
                        ? (e = this.getLength() / s)
                        : (e = this.defaultDivisions)));
                  for (var i = 0; i <= e; i++) {
                    var o = this.getUtoTmapping(i / e, null, e);
                    u.push(this.getPoint(o));
                  }
                  return u;
                },
                getStartPoint: function (e) {
                  return (e === void 0 && (e = new r()), this.getPointAt(0, e));
                },
                getTangent: function (e, s) {
                  s === void 0 && (s = new r());
                  var u = 1e-4,
                    i = e - u,
                    o = e + u;
                  return (
                    i < 0 && (i = 0),
                    o > 1 && (o = 1),
                    this.getPoint(i, this._tmpVec2A),
                    this.getPoint(o, s),
                    s.subtract(this._tmpVec2A).normalize()
                  );
                },
                getTangentAt: function (e, s) {
                  var u = this.getUtoTmapping(e);
                  return this.getTangent(u, s);
                },
                getTFromDistance: function (e, s) {
                  return e <= 0 ? 0 : this.getUtoTmapping(0, e, s);
                },
                getUtoTmapping: function (e, s, u) {
                  var i = this.getLengths(u),
                    o = 0,
                    h = i.length,
                    l;
                  s ? (l = Math.min(s, i[h - 1])) : (l = e * i[h - 1]);
                  for (var f = 0, v = h - 1, m; f <= v; )
                    if (
                      ((o = Math.floor(f + (v - f) / 2)), (m = i[o] - l), m < 0)
                    )
                      f = o + 1;
                    else if (m > 0) v = o - 1;
                    else {
                      v = o;
                      break;
                    }
                  if (((o = v), i[o] === l)) return o / (h - 1);
                  var x = i[o],
                    g = i[o + 1],
                    C = g - x,
                    T = (l - x) / C;
                  return (o + T) / (h - 1);
                },
                updateArcLengths: function () {
                  ((this.needsUpdate = !0), this.getLengths());
                },
              });
            d.exports = n;
          },
          48835: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(38517),
              a = t(75606),
              r = t(10850),
              n = t(23701),
              e = t(93736),
              s = new A({
                Extends: c,
                initialize: function (i, o, h, l, f, v, m, x) {
                  if (typeof i == "object") {
                    var g = i;
                    ((i = r(g, "x", 0)),
                      (o = r(g, "y", 0)),
                      (h = r(g, "xRadius", 0)),
                      (l = r(g, "yRadius", h)),
                      (f = r(g, "startAngle", 0)),
                      (v = r(g, "endAngle", 360)),
                      (m = r(g, "clockwise", !1)),
                      (x = r(g, "rotation", 0)));
                  } else
                    (l === void 0 && (l = h),
                      f === void 0 && (f = 0),
                      v === void 0 && (v = 360),
                      m === void 0 && (m = !1),
                      x === void 0 && (x = 0));
                  (c.call(this, "EllipseCurve"),
                    (this.p0 = new e(i, o)),
                    (this._xRadius = h),
                    (this._yRadius = l),
                    (this._startAngle = a(f)),
                    (this._endAngle = a(v)),
                    (this._clockwise = m),
                    (this._rotation = a(x)));
                },
                getStartPoint: function (u) {
                  return (u === void 0 && (u = new e()), this.getPoint(0, u));
                },
                getResolution: function (u) {
                  return u * 2;
                },
                getPoint: function (u, i) {
                  i === void 0 && (i = new e());
                  for (
                    var o = Math.PI * 2,
                      h = this._endAngle - this._startAngle,
                      l = Math.abs(h) < Number.EPSILON;
                    h < 0;
                  )
                    h += o;
                  for (; h > o; ) h -= o;
                  (h < Number.EPSILON && (l ? (h = 0) : (h = o)),
                    this._clockwise &&
                      !l &&
                      (h === o ? (h = -o) : (h = h - o)));
                  var f = this._startAngle + u * h,
                    v = this.p0.x + this._xRadius * Math.cos(f),
                    m = this.p0.y + this._yRadius * Math.sin(f);
                  if (this._rotation !== 0) {
                    var x = Math.cos(this._rotation),
                      g = Math.sin(this._rotation),
                      C = v - this.p0.x,
                      T = m - this.p0.y;
                    ((v = C * x - T * g + this.p0.x),
                      (m = C * g + T * x + this.p0.y));
                  }
                  return i.set(v, m);
                },
                setXRadius: function (u) {
                  return (
                    (this.xRadius = u),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setYRadius: function (u) {
                  return (
                    (this.yRadius = u),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setWidth: function (u) {
                  return (
                    (this.xRadius = u / 2),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setHeight: function (u) {
                  return (
                    (this.yRadius = u / 2),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setStartAngle: function (u) {
                  return (
                    (this.startAngle = u),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setEndAngle: function (u) {
                  return (
                    (this.endAngle = u),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setClockwise: function (u) {
                  return (
                    (this.clockwise = u),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setRotation: function (u) {
                  return (
                    (this.rotation = u),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                x: {
                  get: function () {
                    return this.p0.x;
                  },
                  set: function (u) {
                    this.p0.x = u;
                  },
                },
                y: {
                  get: function () {
                    return this.p0.y;
                  },
                  set: function (u) {
                    this.p0.y = u;
                  },
                },
                xRadius: {
                  get: function () {
                    return this._xRadius;
                  },
                  set: function (u) {
                    this._xRadius = u;
                  },
                },
                yRadius: {
                  get: function () {
                    return this._yRadius;
                  },
                  set: function (u) {
                    this._yRadius = u;
                  },
                },
                startAngle: {
                  get: function () {
                    return n(this._startAngle);
                  },
                  set: function (u) {
                    this._startAngle = a(u);
                  },
                },
                endAngle: {
                  get: function () {
                    return n(this._endAngle);
                  },
                  set: function (u) {
                    this._endAngle = a(u);
                  },
                },
                clockwise: {
                  get: function () {
                    return this._clockwise;
                  },
                  set: function (u) {
                    this._clockwise = u;
                  },
                },
                angle: {
                  get: function () {
                    return n(this._rotation);
                  },
                  set: function (u) {
                    this._rotation = a(u);
                  },
                },
                rotation: {
                  get: function () {
                    return this._rotation;
                  },
                  set: function (u) {
                    this._rotation = u;
                  },
                },
                toJSON: function () {
                  return {
                    type: this.type,
                    x: this.p0.x,
                    y: this.p0.y,
                    xRadius: this._xRadius,
                    yRadius: this._yRadius,
                    startAngle: n(this._startAngle),
                    endAngle: n(this._endAngle),
                    clockwise: this._clockwise,
                    rotation: n(this._rotation),
                  };
                },
              });
            ((s.fromJSON = function (u) {
              return new s(u);
            }),
              (d.exports = s));
          },
          58084: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(38517),
              a = t(80222),
              r = t(74118),
              n = t(93736),
              e = new A({
                Extends: c,
                initialize: function (u, i) {
                  (c.call(this, "LineCurve"),
                    Array.isArray(u) &&
                      ((i = new n(u[2], u[3])), (u = new n(u[0], u[1]))),
                    (this.p0 = u),
                    (this.p1 = i),
                    (this.arcLengthDivisions = 1));
                },
                getBounds: function (s) {
                  return (
                    s === void 0 && (s = new r()),
                    a([this.p0, this.p1], s)
                  );
                },
                getStartPoint: function (s) {
                  return (s === void 0 && (s = new n()), s.copy(this.p0));
                },
                getResolution: function (s) {
                  return (s === void 0 && (s = 1), s);
                },
                getPoint: function (s, u) {
                  return (
                    u === void 0 && (u = new n()),
                    s === 1
                      ? u.copy(this.p1)
                      : (u
                          .copy(this.p1)
                          .subtract(this.p0)
                          .scale(s)
                          .add(this.p0),
                        u)
                  );
                },
                getPointAt: function (s, u) {
                  return this.getPoint(s, u);
                },
                getTangent: function (s, u) {
                  return (
                    u === void 0 && (u = new n()),
                    u.copy(this.p1).subtract(this.p0).normalize(),
                    u
                  );
                },
                getUtoTmapping: function (s, u, i) {
                  var o;
                  if (u) {
                    var h = this.getLengths(i),
                      l = h[h.length - 1],
                      f = Math.min(u, l);
                    o = f / l;
                  } else o = s;
                  return o;
                },
                draw: function (s) {
                  return (
                    s.lineBetween(this.p0.x, this.p0.y, this.p1.x, this.p1.y),
                    s
                  );
                },
                toJSON: function () {
                  return {
                    type: this.type,
                    points: [this.p0.x, this.p0.y, this.p1.x, this.p1.y],
                  };
                },
              });
            ((e.fromJSON = function (s) {
              var u = s.points,
                i = new n(u[0], u[1]),
                o = new n(u[2], u[3]);
              return new e(i, o);
            }),
              (d.exports = e));
          },
          64761: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(38517),
              a = t(16252),
              r = t(93736),
              n = new A({
                Extends: c,
                initialize: function (s, u, i) {
                  (c.call(this, "QuadraticBezierCurve"),
                    Array.isArray(s) &&
                      ((i = new r(s[4], s[5])),
                      (u = new r(s[2], s[3])),
                      (s = new r(s[0], s[1]))),
                    (this.p0 = s),
                    (this.p1 = u),
                    (this.p2 = i));
                },
                getStartPoint: function (e) {
                  return (e === void 0 && (e = new r()), e.copy(this.p0));
                },
                getResolution: function (e) {
                  return e;
                },
                getPoint: function (e, s) {
                  s === void 0 && (s = new r());
                  var u = this.p0,
                    i = this.p1,
                    o = this.p2;
                  return s.set(a(e, u.x, i.x, o.x), a(e, u.y, i.y, o.y));
                },
                draw: function (e, s) {
                  s === void 0 && (s = 32);
                  var u = this.getPoints(s);
                  (e.beginPath(), e.moveTo(this.p0.x, this.p0.y));
                  for (var i = 1; i < u.length; i++) e.lineTo(u[i].x, u[i].y);
                  return (e.strokePath(), e);
                },
                toJSON: function () {
                  return {
                    type: this.type,
                    points: [
                      this.p0.x,
                      this.p0.y,
                      this.p1.x,
                      this.p1.y,
                      this.p2.x,
                      this.p2.y,
                    ],
                  };
                },
              });
            ((n.fromJSON = function (e) {
              var s = e.points,
                u = new r(s[0], s[1]),
                i = new r(s[2], s[3]),
                o = new r(s[4], s[5]);
              return new n(u, i, o);
            }),
              (d.exports = n));
          },
          11956: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(14976),
              c = t(56694),
              a = t(38517),
              r = t(93736),
              n = new c({
                Extends: a,
                initialize: function (s) {
                  (s === void 0 && (s = []),
                    a.call(this, "SplineCurve"),
                    (this.points = []),
                    this.addPoints(s));
                },
                addPoints: function (e) {
                  for (var s = 0; s < e.length; s++) {
                    var u = new r();
                    (typeof e[s] == "number"
                      ? ((u.x = e[s]), (u.y = e[s + 1]), s++)
                      : Array.isArray(e[s])
                        ? ((u.x = e[s][0]), (u.y = e[s][1]))
                        : ((u.x = e[s].x), (u.y = e[s].y)),
                      this.points.push(u));
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                addPoint: function (e, s) {
                  var u = new r(e, s);
                  return (this.points.push(u), u);
                },
                getStartPoint: function (e) {
                  return (
                    e === void 0 && (e = new r()),
                    e.copy(this.points[0])
                  );
                },
                getResolution: function (e) {
                  return e * this.points.length;
                },
                getPoint: function (e, s) {
                  s === void 0 && (s = new r());
                  var u = this.points,
                    i = (u.length - 1) * e,
                    o = Math.floor(i),
                    h = i - o,
                    l = u[o === 0 ? o : o - 1],
                    f = u[o],
                    v = u[o > u.length - 2 ? u.length - 1 : o + 1],
                    m = u[o > u.length - 3 ? u.length - 1 : o + 2];
                  return s.set(
                    A(h, l.x, f.x, v.x, m.x),
                    A(h, l.y, f.y, v.y, m.y),
                  );
                },
                toJSON: function () {
                  for (var e = [], s = 0; s < this.points.length; s++)
                    (e.push(this.points[s].x), e.push(this.points[s].y));
                  return { type: this.type, points: e };
                },
              });
            ((n.fromJSON = function (e) {
              return new n(e.points);
            }),
              (d.exports = n));
          },
          73962: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              Path: t(12822),
              MoveTo: t(53639),
              CubicBezier: t(63120),
              Curve: t(38517),
              Ellipse: t(48835),
              Line: t(58084),
              QuadraticBezier: t(64761),
              Spline: t(11956),
            };
          },
          53639: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(93736),
              a = new A({
                initialize: function (n, e) {
                  ((this.active = !1), (this.p0 = new c(n, e)));
                },
                getPoint: function (r, n) {
                  return (n === void 0 && (n = new c()), n.copy(this.p0));
                },
                getPointAt: function (r, n) {
                  return this.getPoint(r, n);
                },
                getResolution: function () {
                  return 1;
                },
                getLength: function () {
                  return 0;
                },
                toJSON: function () {
                  return { type: "MoveTo", points: [this.p0.x, this.p0.y] };
                },
              });
            d.exports = a;
          },
          12822: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(63120),
              a = t(48835),
              r = t(61286),
              n = t(58084),
              e = t(53639),
              s = t(64761),
              u = t(74118),
              i = t(11956),
              o = t(93736),
              h = t(83392),
              l = new A({
                initialize: function (v, m) {
                  (v === void 0 && (v = 0),
                    m === void 0 && (m = 0),
                    (this.name = ""),
                    (this.defaultDivisions = 12),
                    (this.curves = []),
                    (this.cacheLengths = []),
                    (this.autoClose = !1),
                    (this.startPoint = new o()),
                    (this._tmpVec2A = new o()),
                    (this._tmpVec2B = new o()),
                    typeof v == "object"
                      ? this.fromJSON(v)
                      : this.startPoint.set(v, m));
                },
                add: function (f) {
                  return (
                    this.curves.push(f),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                circleTo: function (f, v, m) {
                  return (
                    v === void 0 && (v = !1),
                    this.ellipseTo(f, f, 0, 360, v, m)
                  );
                },
                closePath: function () {
                  var f = this.curves[0].getPoint(0),
                    v = this.curves[this.curves.length - 1].getPoint(1);
                  return (
                    f.equals(v) || this.curves.push(new n(v, f)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                cubicBezierTo: function (f, v, m, x, g, C) {
                  var T = this.getEndPoint(),
                    F,
                    w,
                    U;
                  return (
                    f instanceof o
                      ? ((F = f), (w = v), (U = m))
                      : ((F = new o(m, x)),
                        (w = new o(g, C)),
                        (U = new o(f, v))),
                    this.add(new c(T, F, w, U))
                  );
                },
                quadraticBezierTo: function (f, v, m, x) {
                  var g = this.getEndPoint(),
                    C,
                    T;
                  return (
                    f instanceof o
                      ? ((C = f), (T = v))
                      : ((C = new o(m, x)), (T = new o(f, v))),
                    this.add(new s(g, C, T))
                  );
                },
                draw: function (f, v) {
                  for (var m = 0; m < this.curves.length; m++) {
                    var x = this.curves[m];
                    x.active && x.draw(f, v);
                  }
                  return f;
                },
                ellipseTo: function (f, v, m, x, g, C) {
                  var T = new a(0, 0, f, v, m, x, g, C),
                    F = this.getEndPoint(this._tmpVec2A),
                    w = T.getStartPoint(this._tmpVec2B);
                  return (F.subtract(w), (T.x = F.x), (T.y = F.y), this.add(T));
                },
                fromJSON: function (f) {
                  ((this.curves = []),
                    (this.cacheLengths = []),
                    this.startPoint.set(f.x, f.y),
                    (this.autoClose = f.autoClose));
                  for (var v = 0; v < f.curves.length; v++) {
                    var m = f.curves[v];
                    switch (m.type) {
                      case "LineCurve":
                        this.add(n.fromJSON(m));
                        break;
                      case "EllipseCurve":
                        this.add(a.fromJSON(m));
                        break;
                      case "SplineCurve":
                        this.add(i.fromJSON(m));
                        break;
                      case "CubicBezierCurve":
                        this.add(c.fromJSON(m));
                        break;
                      case "QuadraticBezierCurve":
                        this.add(s.fromJSON(m));
                        break;
                    }
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                getBounds: function (f, v) {
                  (f === void 0 && (f = new u()),
                    v === void 0 && (v = 16),
                    (f.x = Number.MAX_VALUE),
                    (f.y = Number.MAX_VALUE));
                  for (
                    var m = new u(),
                      x = h.MIN_SAFE_INTEGER,
                      g = h.MIN_SAFE_INTEGER,
                      C = 0;
                    C < this.curves.length;
                    C++
                  ) {
                    var T = this.curves[C];
                    T.active &&
                      (T.getBounds(m, v),
                      (f.x = Math.min(f.x, m.x)),
                      (f.y = Math.min(f.y, m.y)),
                      (x = Math.max(x, m.right)),
                      (g = Math.max(g, m.bottom)));
                  }
                  return ((f.right = x), (f.bottom = g), f);
                },
                getCurveLengths: function () {
                  if (this.cacheLengths.length === this.curves.length)
                    return this.cacheLengths;
                  for (var f = [], v = 0, m = 0; m < this.curves.length; m++)
                    ((v += this.curves[m].getLength()), f.push(v));
                  return ((this.cacheLengths = f), f);
                },
                getCurveAt: function (f) {
                  for (
                    var v = f * this.getLength(),
                      m = this.getCurveLengths(),
                      x = 0;
                    x < m.length;
                  ) {
                    if (m[x] >= v) return this.curves[x];
                    x++;
                  }
                  return null;
                },
                getEndPoint: function (f) {
                  return (
                    f === void 0 && (f = new o()),
                    this.curves.length > 0
                      ? this.curves[this.curves.length - 1].getPoint(1, f)
                      : f.copy(this.startPoint),
                    f
                  );
                },
                getLength: function () {
                  var f = this.getCurveLengths();
                  return f[f.length - 1];
                },
                getPoint: function (f, v) {
                  v === void 0 && (v = new o());
                  for (
                    var m = f * this.getLength(),
                      x = this.getCurveLengths(),
                      g = 0;
                    g < x.length;
                  ) {
                    if (x[g] >= m) {
                      var C = x[g] - m,
                        T = this.curves[g],
                        F = T.getLength(),
                        w = F === 0 ? 0 : 1 - C / F;
                      return T.getPointAt(w, v);
                    }
                    g++;
                  }
                  return null;
                },
                getPoints: function (f, v) {
                  !f && !v && (f = this.defaultDivisions);
                  for (var m = [], x, g = 0; g < this.curves.length; g++) {
                    var C = this.curves[g];
                    if (C.active)
                      for (
                        var T = C.getResolution(f),
                          F = C.getPoints(T, v),
                          w = 0;
                        w < F.length;
                        w++
                      ) {
                        var U = F[w];
                        (x && x.equals(U)) || (m.push(U), (x = U));
                      }
                  }
                  return (
                    this.autoClose &&
                      m.length > 1 &&
                      !m[m.length - 1].equals(m[0]) &&
                      m.push(m[0]),
                    m
                  );
                },
                getRandomPoint: function (f) {
                  return (
                    f === void 0 && (f = new o()),
                    this.getPoint(Math.random(), f)
                  );
                },
                getSpacedPoints: function (f) {
                  f === void 0 && (f = 40);
                  for (var v = [], m = 0; m <= f; m++)
                    v.push(this.getPoint(m / f));
                  return (this.autoClose && v.push(v[0]), v);
                },
                getStartPoint: function (f) {
                  return (
                    f === void 0 && (f = new o()),
                    f.copy(this.startPoint)
                  );
                },
                getTangent: function (f, v) {
                  v === void 0 && (v = new o());
                  for (
                    var m = f * this.getLength(),
                      x = this.getCurveLengths(),
                      g = 0;
                    g < x.length;
                  ) {
                    if (x[g] >= m) {
                      var C = x[g] - m,
                        T = this.curves[g],
                        F = T.getLength(),
                        w = F === 0 ? 0 : 1 - C / F;
                      return T.getTangentAt(w, v);
                    }
                    g++;
                  }
                  return null;
                },
                lineTo: function (f, v) {
                  f instanceof o
                    ? this._tmpVec2B.copy(f)
                    : this._tmpVec2B.set(f, v);
                  var m = this.getEndPoint(this._tmpVec2A);
                  return this.add(
                    new n([m.x, m.y, this._tmpVec2B.x, this._tmpVec2B.y]),
                  );
                },
                splineTo: function (f) {
                  return (f.unshift(this.getEndPoint()), this.add(new i(f)));
                },
                moveTo: function (f, v) {
                  return f instanceof o
                    ? this.add(new e(f.x, f.y))
                    : this.add(new e(f, v));
                },
                toJSON: function () {
                  for (var f = [], v = 0; v < this.curves.length; v++)
                    f.push(this.curves[v].toJSON());
                  return {
                    type: "Path",
                    x: this.startPoint.x,
                    y: this.startPoint.y,
                    autoClose: this.autoClose,
                    curves: f,
                  };
                },
                updateArcLengths: function () {
                  ((this.cacheLengths = []), this.getCurveLengths());
                },
                destroy: function () {
                  ((this.curves.length = 0),
                    (this.cacheLengths.length = 0),
                    (this.startPoint = void 0));
                },
              });
            (r.register("path", function (f, v) {
              return new l(f, v);
            }),
              (d.exports = l));
          },
          81078: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(35026),
              a = new A({
                initialize: function (n, e) {
                  ((_____WB$wombat$check$this$function_____(this).parent = n),
                    (this.events = e),
                    e || (this.events = n.events ? n.events : n),
                    (this.list = {}),
                    (this.values = {}),
                    (this._frozen = !1),
                    !n.hasOwnProperty("sys") &&
                      this.events &&
                      this.events.once(
                        c.DESTROY,
                        this.destroy,
                        _____WB$wombat$check$this$function_____(this),
                      ));
                },
                get: function (r) {
                  var n = this.list;
                  if (Array.isArray(r)) {
                    for (var e = [], s = 0; s < r.length; s++) e.push(n[r[s]]);
                    return e;
                  } else return n[r];
                },
                getAll: function () {
                  var r = {};
                  for (var n in this.list)
                    this.list.hasOwnProperty(n) && (r[n] = this.list[n]);
                  return r;
                },
                query: function (r) {
                  var n = {};
                  for (var e in this.list)
                    this.list.hasOwnProperty(e) &&
                      e.match(r) &&
                      (n[e] = this.list[e]);
                  return n;
                },
                set: function (r, n) {
                  if (this._frozen)
                    return _____WB$wombat$check$this$function_____(this);
                  if (typeof r == "string") return this.setValue(r, n);
                  for (var e in r) this.setValue(e, r[e]);
                  return _____WB$wombat$check$this$function_____(this);
                },
                inc: function (r, n) {
                  if (this._frozen)
                    return _____WB$wombat$check$this$function_____(this);
                  n === void 0 && (n = 1);
                  var e = this.get(r);
                  return (
                    e === void 0 && (e = 0),
                    this.set(r, e + n),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                toggle: function (r) {
                  return this._frozen
                    ? this
                    : (this.set(r, !this.get(r)),
                      _____WB$wombat$check$this$function_____(this));
                },
                setValue: function (r, n) {
                  if (this._frozen)
                    return _____WB$wombat$check$this$function_____(this);
                  if (this.has(r)) this.values[r] = n;
                  else {
                    var e = _____WB$wombat$check$this$function_____(this),
                      s = this.list,
                      u = this.events,
                      i = _____WB$wombat$check$this$function_____(this).parent;
                    (Object.defineProperty(this.values, r, {
                      enumerable: !0,
                      configurable: !0,
                      get: function () {
                        return s[r];
                      },
                      set: function (o) {
                        if (!e._frozen) {
                          var h = s[r];
                          ((s[r] = o),
                            u.emit(c.CHANGE_DATA, i, r, o, h),
                            u.emit(c.CHANGE_DATA_KEY + r, i, o, h));
                        }
                      },
                    }),
                      (s[r] = n),
                      u.emit(c.SET_DATA, i, r, n));
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                each: function (r, n) {
                  for (
                    var e = [
                        _____WB$wombat$check$this$function_____(this).parent,
                        null,
                        void 0,
                      ],
                      s = 1;
                    s < arguments.length;
                    s++
                  )
                    e.push(arguments[s]);
                  for (var u in this.list)
                    ((e[1] = u), (e[2] = this.list[u]), r.apply(n, e));
                  return _____WB$wombat$check$this$function_____(this);
                },
                merge: function (r, n) {
                  n === void 0 && (n = !0);
                  for (var e in r)
                    r.hasOwnProperty(e) &&
                      (n || (!n && !this.has(e))) &&
                      this.setValue(e, r[e]);
                  return _____WB$wombat$check$this$function_____(this);
                },
                remove: function (r) {
                  if (this._frozen)
                    return _____WB$wombat$check$this$function_____(this);
                  if (Array.isArray(r))
                    for (var n = 0; n < r.length; n++) this.removeValue(r[n]);
                  else return this.removeValue(r);
                  return _____WB$wombat$check$this$function_____(this);
                },
                removeValue: function (r) {
                  if (this.has(r)) {
                    var n = this.list[r];
                    (delete this.list[r],
                      delete this.values[r],
                      this.events.emit(
                        c.REMOVE_DATA,
                        _____WB$wombat$check$this$function_____(this).parent,
                        r,
                        n,
                      ));
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                pop: function (r) {
                  var n = void 0;
                  return (
                    !this._frozen &&
                      this.has(r) &&
                      ((n = this.list[r]),
                      delete this.list[r],
                      delete this.values[r],
                      this.events.emit(
                        c.REMOVE_DATA,
                        _____WB$wombat$check$this$function_____(this).parent,
                        r,
                        n,
                      )),
                    n
                  );
                },
                has: function (r) {
                  return this.list.hasOwnProperty(r);
                },
                setFreeze: function (r) {
                  return (
                    (this._frozen = r),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                reset: function () {
                  for (var r in this.list)
                    (delete this.list[r], delete this.values[r]);
                  return (
                    (this._frozen = !1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                destroy: function () {
                  (this.reset(),
                    this.events.off(c.CHANGE_DATA),
                    this.events.off(c.SET_DATA),
                    this.events.off(c.REMOVE_DATA),
                    (_____WB$wombat$check$this$function_____(this).parent =
                      null));
                },
                freeze: {
                  get: function () {
                    return this._frozen;
                  },
                  set: function (r) {
                    this._frozen = !!r;
                  },
                },
                count: {
                  get: function () {
                    var r = 0;
                    for (var n in this.list) this.list[n] !== void 0 && r++;
                    return r;
                  },
                },
              });
            d.exports = a;
          },
          76508: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(81078),
              a = t(91963),
              r = t(7599),
              n = new A({
                Extends: c,
                initialize: function (s) {
                  (c.call(this, s, s.sys.events),
                    (this.scene = s),
                    (this.systems = s.sys),
                    s.sys.events.once(
                      r.BOOT,
                      this.boot,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    s.sys.events.on(
                      r.START,
                      this.start,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                boot: function () {
                  ((this.events = this.systems.events),
                    this.events.once(
                      r.DESTROY,
                      this.destroy,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                start: function () {
                  this.events.once(
                    r.SHUTDOWN,
                    this.shutdown,
                    _____WB$wombat$check$this$function_____(this),
                  );
                },
                shutdown: function () {
                  this.systems.events.off(
                    r.SHUTDOWN,
                    this.shutdown,
                    _____WB$wombat$check$this$function_____(this),
                  );
                },
                destroy: function () {
                  (c.prototype.destroy.call(this),
                    this.events.off(
                      r.START,
                      this.start,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    (this.scene = null),
                    (this.systems = null));
                },
              });
            (a.register("DataManagerPlugin", n, "data"), (d.exports = n));
          },
          73569: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "changedata";
          },
          15590: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "changedata-";
          },
          37669: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "destroy";
          },
          87090: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "removedata";
          },
          90142: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "setdata";
          },
          35026: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              CHANGE_DATA: t(73569),
              CHANGE_DATA_KEY: t(15590),
              DESTROY: t(37669),
              REMOVE_DATA: t(87090),
              SET_DATA: t(90142),
            };
          },
          1999: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              DataManager: t(81078),
              DataManagerPlugin: t(76508),
              Events: t(35026),
            };
          },
          10720: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(1350),
              c = {
                flac: !1,
                aac: !1,
                audioData: !1,
                dolby: !1,
                m4a: !1,
                mp3: !1,
                ogg: !1,
                opus: !1,
                wav: !1,
                webAudio: !1,
                webm: !1,
              };
            function a() {
              if (typeof importScripts == "function") return c;
              ((c.audioData = !!window.Audio),
                (c.webAudio = !!(
                  window.AudioContext || window.webkitAudioContext
                )));
              var r = document.createElement("audio"),
                n = !!r.canPlayType;
              try {
                if (n) {
                  var e = function (i, o) {
                    var h = r.canPlayType("audio/" + i).replace(/^no$/, "");
                    return o
                      ? !!(h || r.canPlayType("audio/" + o).replace(/^no$/, ""))
                      : !!h;
                  };
                  if (
                    ((c.ogg = e('ogg; codecs="vorbis"')),
                    (c.opus = e('ogg; codecs="opus"', "opus")),
                    (c.mp3 = e("mpeg")),
                    (c.wav = e("wav")),
                    (c.m4a = e("x-m4a")),
                    (c.aac = e("aac")),
                    (c.flac = e("flac", "x-flac")),
                    (c.webm = e('webm; codecs="vorbis"')),
                    r.canPlayType('audio/mp4; codecs="ec-3"') !== "")
                  ) {
                    if (A.edge) c.dolby = !0;
                    else if (
                      A.safari &&
                      A.safariVersion >= 9 &&
                      /Mac OS X (\d+)_(\d+)/.test(navigator.userAgent)
                    ) {
                      var s = parseInt(RegExp.$1, 10),
                        u = parseInt(RegExp.$2, 10);
                      ((s === 10 && u >= 11) || s > 10) && (c.dolby = !0);
                    }
                  }
                }
              } catch {}
              return c;
            }
            d.exports = a();
          },
          1350: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(36580),
              c = {
                chrome: !1,
                chromeVersion: 0,
                edge: !1,
                firefox: !1,
                firefoxVersion: 0,
                ie: !1,
                ieVersion: 0,
                mobileSafari: !1,
                opera: !1,
                safari: !1,
                safariVersion: 0,
                silk: !1,
                trident: !1,
                tridentVersion: 0,
                es2019: !1,
              };
            function a() {
              var r = navigator.userAgent;
              return (
                /Edg\/\d+/.test(r)
                  ? ((c.edge = !0), (c.es2019 = !0))
                  : /OPR/.test(r)
                    ? ((c.opera = !0), (c.es2019 = !0))
                    : /Chrome\/(\d+)/.test(r) && !A.windowsPhone
                      ? ((c.chrome = !0),
                        (c.chromeVersion = parseInt(RegExp.$1, 10)),
                        (c.es2019 = c.chromeVersion > 69))
                      : /Firefox\D+(\d+)/.test(r)
                        ? ((c.firefox = !0),
                          (c.firefoxVersion = parseInt(RegExp.$1, 10)),
                          (c.es2019 = c.firefoxVersion > 10))
                        : /AppleWebKit/.test(r) && A.iOS
                          ? ((c.mobileSafari = !0), (c.es2019 = !0))
                          : /MSIE (\d+\.\d+);/.test(r)
                            ? ((c.ie = !0),
                              (c.ieVersion = parseInt(RegExp.$1, 10)))
                            : /Version\/(\d+\.\d+) Safari/.test(r) &&
                                !A.windowsPhone
                              ? ((c.safari = !0),
                                (c.safariVersion = parseInt(RegExp.$1, 10)),
                                (c.es2019 = c.safariVersion > 10))
                              : /Trident\/(\d+\.\d+)(.*)rv:(\d+\.\d+)/.test(
                                  r,
                                ) &&
                                ((c.ie = !0),
                                (c.trident = !0),
                                (c.tridentVersion = parseInt(RegExp.$1, 10)),
                                (c.ieVersion = parseInt(RegExp.$3, 10))),
                /Silk/.test(r) && (c.silk = !0),
                c
              );
            }
            d.exports = a();
          },
          98581: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(61068),
              c = { supportInverseAlpha: !1, supportNewBlendModes: !1 };
            function a() {
              var e =
                  "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAABAQMAAADD8p2OAAAAA1BMVEX/",
                s = "AAAACklEQVQI12NgAAAAAgAB4iG8MwAAAABJRU5ErkJggg==",
                u = new Image();
              return (
                (u.onload = function () {
                  var i = new Image();
                  ((i.onload = function () {
                    var o = A.create2D(i, 6),
                      h = o.getContext("2d", { willReadFrequently: !0 });
                    if (
                      ((h.globalCompositeOperation = "multiply"),
                      h.drawImage(u, 0, 0),
                      h.drawImage(i, 2, 0),
                      !h.getImageData(2, 0, 1, 1))
                    )
                      return !1;
                    var l = h.getImageData(2, 0, 1, 1).data;
                    (A.remove(i),
                      (c.supportNewBlendModes =
                        l[0] === 255 && l[1] === 0 && l[2] === 0));
                  }),
                    (i.src = e + "/wCKxvRF" + s));
                }),
                (u.src = e + "AP804Oa6" + s),
                !1
              );
            }
            function r() {
              var e = A.create2D(this, 2),
                s = e.getContext("2d", { willReadFrequently: !0 });
              ((s.fillStyle = "rgba(10, 20, 30, 0.5)"), s.fillRect(0, 0, 1, 1));
              var u = s.getImageData(0, 0, 1, 1);
              if (u === null) return !1;
              s.putImageData(u, 1, 0);
              var i = s.getImageData(1, 0, 1, 1),
                o =
                  i.data[0] === u.data[0] &&
                  i.data[1] === u.data[1] &&
                  i.data[2] === u.data[2] &&
                  i.data[3] === u.data[3];
              return (A.remove(this), o);
            }
            function n() {
              return (
                typeof importScripts != "function" &&
                  document !== void 0 &&
                  ((c.supportNewBlendModes = a()),
                  (c.supportInverseAlpha = r())),
                c
              );
            }
            d.exports = n();
          },
          90185: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(36580),
              c = t(1350),
              a = t(61068),
              r = {
                canvas: !1,
                canvasBitBltShift: null,
                file: !1,
                fileSystem: !1,
                getUserMedia: !0,
                littleEndian: !1,
                localStorage: !1,
                pointerLock: !1,
                stableSort: !1,
                support32bit: !1,
                vibration: !1,
                webGL: !1,
                worker: !1,
              };
            function n() {
              var s = new ArrayBuffer(4),
                u = new Uint8Array(s),
                i = new Uint32Array(s);
              return (
                (u[0] = 161),
                (u[1] = 178),
                (u[2] = 195),
                (u[3] = 212),
                i[0] === 3569595041 ? !0 : i[0] === 2712847316 ? !1 : null
              );
            }
            function e() {
              if (typeof importScripts == "function") return r;
              r.canvas = !!window.CanvasRenderingContext2D;
              try {
                r.localStorage = !!localStorage.getItem;
              } catch {
                r.localStorage = !1;
              }
              ((r.file =
                !!window.File &&
                !!window.FileReader &&
                !!window.FileList &&
                !!window.Blob),
                (r.fileSystem = !!window.requestFileSystem));
              var s = !1,
                u = function () {
                  if (window.WebGLRenderingContext)
                    try {
                      var i = a.createWebGL(this),
                        o =
                          i.getContext("webgl") ||
                          i.getContext("experimental-webgl"),
                        h = a.create2D(this),
                        l = h.getContext("2d", { willReadFrequently: !0 }),
                        f = l.createImageData(1, 1);
                      return (
                        (s = f.data instanceof Uint8ClampedArray),
                        a.remove(i),
                        a.remove(h),
                        !!o
                      );
                    } catch {
                      return !1;
                    }
                  return !1;
                };
              return (
                (r.webGL = u()),
                (r.worker = !!window.Worker),
                (r.pointerLock =
                  "pointerLockElement" in document ||
                  "mozPointerLockElement" in document ||
                  "webkitPointerLockElement" in document),
                (navigator.getUserMedia =
                  navigator.getUserMedia ||
                  navigator.webkitGetUserMedia ||
                  navigator.mozGetUserMedia ||
                  navigator.msGetUserMedia ||
                  navigator.oGetUserMedia),
                (window.URL =
                  window.URL ||
                  window.webkitURL ||
                  window.mozURL ||
                  window.msURL),
                (r.getUserMedia =
                  r.getUserMedia && !!navigator.getUserMedia && !!window.URL),
                c.firefox && c.firefoxVersion < 21 && (r.getUserMedia = !1),
                !A.iOS &&
                  (c.ie || c.firefox || c.chrome) &&
                  (r.canvasBitBltShift = !0),
                (c.safari || c.mobileSafari) && (r.canvasBitBltShift = !1),
                (navigator.vibrate =
                  navigator.vibrate ||
                  navigator.webkitVibrate ||
                  navigator.mozVibrate ||
                  navigator.msVibrate),
                navigator.vibrate && (r.vibration = !0),
                typeof ArrayBuffer < "u" &&
                  typeof Uint8Array < "u" &&
                  typeof Uint32Array < "u" &&
                  (r.littleEndian = n()),
                (r.support32bit =
                  typeof ArrayBuffer < "u" &&
                  typeof Uint8ClampedArray < "u" &&
                  typeof Int32Array < "u" &&
                  r.littleEndian !== null &&
                  s),
                r
              );
            }
            d.exports = e();
          },
          33553: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              available: !1,
              cancel: "",
              keyboard: !1,
              request: "",
            };
            function t() {
              if (typeof importScripts == "function") return y;
              var A,
                c = "Fullscreen",
                a = "FullScreen",
                r = [
                  "request" + c,
                  "request" + a,
                  "webkitRequest" + c,
                  "webkitRequest" + a,
                  "msRequest" + c,
                  "msRequest" + a,
                  "mozRequest" + a,
                  "mozRequest" + c,
                ];
              for (A = 0; A < r.length; A++)
                if (document.documentElement[r[A]]) {
                  ((y.available = !0), (y.request = r[A]));
                  break;
                }
              var n = [
                "cancel" + a,
                "exit" + c,
                "webkitCancel" + a,
                "webkitExit" + c,
                "msCancel" + a,
                "msExit" + c,
                "mozCancel" + a,
                "mozExit" + c,
              ];
              if (y.available) {
                for (A = 0; A < n.length; A++)
                  if (document[n[A]]) {
                    y.cancel = n[A];
                    break;
                  }
              }
              return (
                window.Element &&
                  Element.ALLOW_KEYBOARD_INPUT &&
                  !/ Version\/5\.1(?:\.\d+)? Safari\//.test(
                    navigator.userAgent,
                  ) &&
                  (y.keyboard = !0),
                Object.defineProperty(y, "active", {
                  get: function () {
                    return !!(
                      document.fullscreenElement ||
                      document.webkitFullscreenElement ||
                      document.mozFullScreenElement ||
                      document.msFullscreenElement
                    );
                  },
                }),
                y
              );
            }
            d.exports = t();
          },
          95872: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(1350),
              c = { gamepads: !1, mspointer: !1, touch: !1, wheelEvent: null };
            function a() {
              return (
                typeof importScripts == "function" ||
                  (("ontouchstart" in document.documentElement ||
                    (navigator.maxTouchPoints &&
                      navigator.maxTouchPoints >= 1)) &&
                    (c.touch = !0),
                  (navigator.msPointerEnabled || navigator.pointerEnabled) &&
                    (c.mspointer = !0),
                  navigator.getGamepads && (c.gamepads = !0),
                  "onwheel" in window || (A.ie && "WheelEvent" in window)
                    ? (c.wheelEvent = "wheel")
                    : "onmousewheel" in window
                      ? (c.wheelEvent = "mousewheel")
                      : A.firefox &&
                        "MouseScrollEvent" in window &&
                        (c.wheelEvent = "DOMMouseScroll")),
                c
              );
            }
            d.exports = a();
          },
          36580: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              android: !1,
              chromeOS: !1,
              cordova: !1,
              crosswalk: !1,
              desktop: !1,
              ejecta: !1,
              electron: !1,
              iOS: !1,
              iOSVersion: 0,
              iPad: !1,
              iPhone: !1,
              kindle: !1,
              linux: !1,
              macOS: !1,
              node: !1,
              nodeWebkit: !1,
              pixelRatio: 1,
              webApp: !1,
              windows: !1,
              windowsPhone: !1,
            };
            function t() {
              if (typeof importScripts == "function") return y;
              var A = navigator.userAgent;
              (/Windows/.test(A)
                ? (y.windows = !0)
                : /Mac OS/.test(A) && !/like Mac OS/.test(A)
                  ? navigator.maxTouchPoints && navigator.maxTouchPoints > 2
                    ? ((y.iOS = !0),
                      (y.iPad = !0),
                      navigator.appVersion.match(/Version\/(\d+)/),
                      (y.iOSVersion = parseInt(RegExp.$1, 10)))
                    : (y.macOS = !0)
                  : /Android/.test(A)
                    ? (y.android = !0)
                    : /Linux/.test(A)
                      ? (y.linux = !0)
                      : /iP[ao]d|iPhone/i.test(A)
                        ? ((y.iOS = !0),
                          navigator.appVersion.match(/OS (\d+)/),
                          (y.iOSVersion = parseInt(RegExp.$1, 10)),
                          (y.iPhone = A.toLowerCase().indexOf("iphone") !== -1),
                          (y.iPad = A.toLowerCase().indexOf("ipad") !== -1))
                        : /Kindle/.test(A) ||
                            /\bKF[A-Z][A-Z]+/.test(A) ||
                            /Silk.*Mobile Safari/.test(A)
                          ? (y.kindle = !0)
                          : /CrOS/.test(A) && (y.chromeOS = !0),
                (/Windows Phone/i.test(A) || /IEMobile/i.test(A)) &&
                  ((y.android = !1),
                  (y.iOS = !1),
                  (y.macOS = !1),
                  (y.windows = !0),
                  (y.windowsPhone = !0)));
              var c = /Silk/.test(A);
              return (
                (y.windows || y.macOS || (y.linux && !c) || y.chromeOS) &&
                  (y.desktop = !0),
                (y.windowsPhone ||
                  (/Windows NT/i.test(A) && /Touch/i.test(A))) &&
                  (y.desktop = !1),
                navigator.standalone && (y.webApp = !0),
                typeof importScripts != "function" &&
                  (window.cordova !== void 0 && (y.cordova = !0),
                  window.ejecta !== void 0 && (y.ejecta = !0)),
                typeof process < "u" &&
                  process.versions &&
                  process.versions.node &&
                  (y.node = !0),
                y.node &&
                  typeof process.versions == "object" &&
                  ((y.nodeWebkit = !!process.versions["node-webkit"]),
                  (y.electron = !!process.versions.electron)),
                /Crosswalk/.test(A) && (y.crosswalk = !0),
                (y.pixelRatio = window.devicePixelRatio || 1),
                y
              );
            }
            d.exports = t();
          },
          53861: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72632),
              c = {
                h264: !1,
                hls: !1,
                mp4: !1,
                m4v: !1,
                ogg: !1,
                vp9: !1,
                webm: !1,
                hasRequestVideoFrame: !1,
              };
            function a() {
              if (typeof importScripts == "function") return c;
              var r = document.createElement("video"),
                n = !!r.canPlayType,
                e = /^no$/;
              try {
                n &&
                  (r.canPlayType('video/ogg; codecs="theora"').replace(e, "") &&
                    (c.ogg = !0),
                  r
                    .canPlayType('video/mp4; codecs="avc1.42E01E"')
                    .replace(e, "") && ((c.h264 = !0), (c.mp4 = !0)),
                  r.canPlayType("video/x-m4v").replace(e, "") && (c.m4v = !0),
                  r
                    .canPlayType('video/webm; codecs="vp8, vorbis"')
                    .replace(e, "") && (c.webm = !0),
                  r.canPlayType('video/webm; codecs="vp9"').replace(e, "") &&
                    (c.vp9 = !0),
                  r
                    .canPlayType('application/x-mpegURL; codecs="avc1.42E01E"')
                    .replace(e, "") && (c.hls = !0));
              } catch {}
              return (
                r.parentNode && r.parentNode.removeChild(r),
                (c.getVideoURL = function (s) {
                  Array.isArray(s) || (s = [s]);
                  for (var u = 0; u < s.length; u++) {
                    var i = A(s[u], "url", s[u]);
                    if (i.indexOf("blob:") === 0) return { url: i, type: "" };
                    var o;
                    if (
                      (i.indexOf("data:") === 0
                        ? (o = i.split(",")[0].match(/\/(.*?);/))
                        : (o = i.match(/\.([a-zA-Z0-9]+)($|\?)/)),
                      (o = A(s[u], "type", o ? o[1] : "").toLowerCase()),
                      c[o])
                    )
                      return { url: i, type: o };
                  }
                  return null;
                }),
                c
              );
            }
            d.exports = a();
          },
          77290: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              os: t(36580),
              browser: t(1350),
              features: t(90185),
              input: t(95872),
              audio: t(10720),
              video: t(53861),
              fullscreen: t(33553),
              canvasFeatures: t(98581),
            };
          },
          65246: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = new Float32Array(20),
              a = new A({
                initialize: function () {
                  ((this._matrix = new Float32Array(20)),
                    (this.alpha = 1),
                    (this._dirty = !0),
                    (this._data = new Float32Array(20)),
                    this.reset());
                },
                set: function (r) {
                  return (
                    this._matrix.set(r),
                    (this._dirty = !0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                reset: function () {
                  var r = this._matrix;
                  return (
                    r.fill(0),
                    (r[0] = 1),
                    (r[6] = 1),
                    (r[12] = 1),
                    (r[18] = 1),
                    (this.alpha = 1),
                    (this._dirty = !0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getData: function () {
                  var r = this._data;
                  return (
                    this._dirty &&
                      (r.set(this._matrix),
                      (r[4] /= 255),
                      (r[9] /= 255),
                      (r[14] /= 255),
                      (r[19] /= 255),
                      (this._dirty = !1)),
                    r
                  );
                },
                brightness: function (r, n) {
                  (r === void 0 && (r = 0), n === void 0 && (n = !1));
                  var e = r;
                  return this.multiply(
                    [
                      e,
                      0,
                      0,
                      0,
                      0,
                      0,
                      e,
                      0,
                      0,
                      0,
                      0,
                      0,
                      e,
                      0,
                      0,
                      0,
                      0,
                      0,
                      1,
                      0,
                    ],
                    n,
                  );
                },
                saturate: function (r, n) {
                  (r === void 0 && (r = 0), n === void 0 && (n = !1));
                  var e = (r * 2) / 3 + 1,
                    s = (e - 1) * -0.5;
                  return this.multiply(
                    [
                      e,
                      s,
                      s,
                      0,
                      0,
                      s,
                      e,
                      s,
                      0,
                      0,
                      s,
                      s,
                      e,
                      0,
                      0,
                      0,
                      0,
                      0,
                      1,
                      0,
                    ],
                    n,
                  );
                },
                desaturate: function (r) {
                  return (r === void 0 && (r = !1), this.saturate(-1, r));
                },
                hue: function (r, n) {
                  (r === void 0 && (r = 0),
                    n === void 0 && (n = !1),
                    (r = (r / 180) * Math.PI));
                  var e = Math.cos(r),
                    s = Math.sin(r),
                    u = 0.213,
                    i = 0.715,
                    o = 0.072;
                  return this.multiply(
                    [
                      u + e * (1 - u) + s * -u,
                      i + e * -i + s * -i,
                      o + e * -o + s * (1 - o),
                      0,
                      0,
                      u + e * -u + s * 0.143,
                      i + e * (1 - i) + s * 0.14,
                      o + e * -o + s * -0.283,
                      0,
                      0,
                      u + e * -u + s * -(1 - u),
                      i + e * -i + s * i,
                      o + e * (1 - o) + s * o,
                      0,
                      0,
                      0,
                      0,
                      0,
                      1,
                      0,
                    ],
                    n,
                  );
                },
                grayscale: function (r, n) {
                  return (
                    r === void 0 && (r = 1),
                    n === void 0 && (n = !1),
                    this.saturate(-r, n)
                  );
                },
                blackWhite: function (r) {
                  return (
                    r === void 0 && (r = !1),
                    this.multiply(a.BLACK_WHITE, r)
                  );
                },
                contrast: function (r, n) {
                  (r === void 0 && (r = 0), n === void 0 && (n = !1));
                  var e = r + 1,
                    s = -0.5 * (e - 1);
                  return this.multiply(
                    [
                      e,
                      0,
                      0,
                      0,
                      s,
                      0,
                      e,
                      0,
                      0,
                      s,
                      0,
                      0,
                      e,
                      0,
                      s,
                      0,
                      0,
                      0,
                      1,
                      0,
                    ],
                    n,
                  );
                },
                negative: function (r) {
                  return (
                    r === void 0 && (r = !1),
                    this.multiply(a.NEGATIVE, r)
                  );
                },
                desaturateLuminance: function (r) {
                  return (
                    r === void 0 && (r = !1),
                    this.multiply(a.DESATURATE_LUMINANCE, r)
                  );
                },
                sepia: function (r) {
                  return (r === void 0 && (r = !1), this.multiply(a.SEPIA, r));
                },
                night: function (r, n) {
                  return (
                    r === void 0 && (r = 0.1),
                    n === void 0 && (n = !1),
                    this.multiply(
                      [
                        r * -2,
                        -r,
                        0,
                        0,
                        0,
                        -r,
                        0,
                        r,
                        0,
                        0,
                        0,
                        r,
                        r * 2,
                        0,
                        0,
                        0,
                        0,
                        0,
                        1,
                        0,
                      ],
                      n,
                    )
                  );
                },
                lsd: function (r) {
                  return (r === void 0 && (r = !1), this.multiply(a.LSD, r));
                },
                brown: function (r) {
                  return (r === void 0 && (r = !1), this.multiply(a.BROWN, r));
                },
                vintagePinhole: function (r) {
                  return (
                    r === void 0 && (r = !1),
                    this.multiply(a.VINTAGE, r)
                  );
                },
                kodachrome: function (r) {
                  return (
                    r === void 0 && (r = !1),
                    this.multiply(a.KODACHROME, r)
                  );
                },
                technicolor: function (r) {
                  return (
                    r === void 0 && (r = !1),
                    this.multiply(a.TECHNICOLOR, r)
                  );
                },
                polaroid: function (r) {
                  return (
                    r === void 0 && (r = !1),
                    this.multiply(a.POLAROID, r)
                  );
                },
                shiftToBGR: function (r) {
                  return (
                    r === void 0 && (r = !1),
                    this.multiply(a.SHIFT_BGR, r)
                  );
                },
                multiply: function (r, n) {
                  (n === void 0 && (n = !1), n || this.reset());
                  var e = this._matrix,
                    s = c;
                  return (
                    s.set(e),
                    e.set([
                      s[0] * r[0] + s[1] * r[5] + s[2] * r[10] + s[3] * r[15],
                      s[0] * r[1] + s[1] * r[6] + s[2] * r[11] + s[3] * r[16],
                      s[0] * r[2] + s[1] * r[7] + s[2] * r[12] + s[3] * r[17],
                      s[0] * r[3] + s[1] * r[8] + s[2] * r[13] + s[3] * r[18],
                      s[0] * r[4] +
                        s[1] * r[9] +
                        s[2] * r[14] +
                        s[3] * r[19] +
                        s[4],
                      s[5] * r[0] + s[6] * r[5] + s[7] * r[10] + s[8] * r[15],
                      s[5] * r[1] + s[6] * r[6] + s[7] * r[11] + s[8] * r[16],
                      s[5] * r[2] + s[6] * r[7] + s[7] * r[12] + s[8] * r[17],
                      s[5] * r[3] + s[6] * r[8] + s[7] * r[13] + s[8] * r[18],
                      s[5] * r[4] +
                        s[6] * r[9] +
                        s[7] * r[14] +
                        s[8] * r[19] +
                        s[9],
                      s[10] * r[0] +
                        s[11] * r[5] +
                        s[12] * r[10] +
                        s[13] * r[15],
                      s[10] * r[1] +
                        s[11] * r[6] +
                        s[12] * r[11] +
                        s[13] * r[16],
                      s[10] * r[2] +
                        s[11] * r[7] +
                        s[12] * r[12] +
                        s[13] * r[17],
                      s[10] * r[3] +
                        s[11] * r[8] +
                        s[12] * r[13] +
                        s[13] * r[18],
                      s[10] * r[4] +
                        s[11] * r[9] +
                        s[12] * r[14] +
                        s[13] * r[19] +
                        s[14],
                      s[15] * r[0] +
                        s[16] * r[5] +
                        s[17] * r[10] +
                        s[18] * r[15],
                      s[15] * r[1] +
                        s[16] * r[6] +
                        s[17] * r[11] +
                        s[18] * r[16],
                      s[15] * r[2] +
                        s[16] * r[7] +
                        s[17] * r[12] +
                        s[18] * r[17],
                      s[15] * r[3] +
                        s[16] * r[8] +
                        s[17] * r[13] +
                        s[18] * r[18],
                      s[15] * r[4] +
                        s[16] * r[9] +
                        s[17] * r[14] +
                        s[18] * r[19] +
                        s[19],
                    ]),
                    (this._dirty = !0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
              });
            ((a.BLACK_WHITE = [
              0.3, 0.6, 0.1, 0, 0, 0.3, 0.6, 0.1, 0, 0, 0.3, 0.6, 0.1, 0, 0, 0,
              0, 0, 1, 0,
            ]),
              (a.NEGATIVE = [
                -1, 0, 0, 1, 0, 0, -1, 0, 1, 0, 0, 0, -1, 1, 0, 0, 0, 0, 1, 0,
              ]),
              (a.DESATURATE_LUMINANCE = [
                0.2764723, 0.929708, 0.0938197, 0, -37.1, 0.2764723, 0.929708,
                0.0938197, 0, -37.1, 0.2764723, 0.929708, 0.0938197, 0, -37.1,
                0, 0, 0, 1, 0,
              ]),
              (a.SEPIA = [
                0.393, 0.7689999, 0.18899999, 0, 0, 0.349, 0.6859999,
                0.16799999, 0, 0, 0.272, 0.5339999, 0.13099999, 0, 0, 0, 0, 0,
                1, 0,
              ]),
              (a.LSD = [
                2, -0.4, 0.5, 0, 0, -0.5, 2, -0.4, 0, 0, -0.4, -0.5, 3, 0, 0, 0,
                0, 0, 1, 0,
              ]),
              (a.BROWN = [
                0.5997023498159715, 0.34553243048391263, -0.2708298674538042, 0,
                47.43192855600873, -0.037703249837783157, 0.8609577587992641,
                0.15059552388459913, 0, -36.96841498319127, 0.24113635128153335,
                -0.07441037908422492, 0.44972182064877153, 0,
                -7.562075277591283, 0, 0, 0, 1, 0,
              ]),
              (a.VINTAGE = [
                0.6279345635605994, 0.3202183420819367, -0.03965408211312453, 0,
                9.651285835294123, 0.02578397704808868, 0.6441188644374771,
                0.03259127616149294, 0, 7.462829176470591, 0.0466055556782719,
                -0.0851232987247891, 0.5241648018700465, 0, 5.159190588235296,
                0, 0, 0, 1, 0,
              ]),
              (a.KODACHROME = [
                1.1285582396593525, -0.3967382283601348, -0.03992559172921793,
                0, 63.72958762196502, -0.16404339962244616, 1.0835251566291304,
                -0.05498805115633132, 0, 24.732407896706203,
                -0.16786010706155763, -0.5603416277695248, 1.6014850761964943,
                0, 35.62982807460946, 0, 0, 0, 1, 0,
              ]),
              (a.TECHNICOLOR = [
                1.9125277891456083, -0.8545344976951645, -0.09155508482755585,
                0, 11.793603434377337, -0.3087833385928097, 1.7658908555458428,
                -0.10601743074722245, 0, -70.35205161461398, -0.231103377548616,
                -0.7501899197440212, 1.847597816108189, 0, 30.950940869491138,
                0, 0, 0, 1, 0,
              ]),
              (a.POLAROID = [
                1.438, -0.062, -0.062, 0, 0, -0.122, 1.378, -0.122, 0, 0,
                -0.016, -0.016, 1.483, 0, 0, 0, 0, 0, 1, 0,
              ]),
              (a.SHIFT_BGR = [
                0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0,
              ]),
              (d.exports = a));
          },
          39298: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(72283),
              a = new A({
                initialize: function (n, e, s) {
                  ((this._rgb = [0, 0, 0]),
                    (this.onChangeCallback = c),
                    (this.dirty = !1),
                    this.set(n, e, s));
                },
                set: function (r, n, e) {
                  return (
                    r === void 0 && (r = 0),
                    n === void 0 && (n = 0),
                    e === void 0 && (e = 0),
                    (this._rgb = [r, n, e]),
                    this.onChange(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                equals: function (r, n, e) {
                  var s = this._rgb;
                  return s[0] === r && s[1] === n && s[2] === e;
                },
                onChange: function () {
                  this.dirty = !0;
                  var r = this._rgb;
                  this.onChangeCallback.call(this, r[0], r[1], r[2]);
                },
                r: {
                  get: function () {
                    return this._rgb[0];
                  },
                  set: function (r) {
                    ((this._rgb[0] = r), this.onChange());
                  },
                },
                g: {
                  get: function () {
                    return this._rgb[1];
                  },
                  set: function (r) {
                    ((this._rgb[1] = r), this.onChange());
                  },
                },
                b: {
                  get: function () {
                    return this._rgb[2];
                  },
                  set: function (r) {
                    ((this._rgb[2] = r), this.onChange());
                  },
                },
                destroy: function () {
                  this.onChangeCallback = null;
                },
              });
            d.exports = a;
          },
          84093: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              TOP_LEFT: 0,
              TOP_CENTER: 1,
              TOP_RIGHT: 2,
              LEFT_TOP: 3,
              LEFT_CENTER: 4,
              LEFT_BOTTOM: 5,
              CENTER: 6,
              RIGHT_TOP: 7,
              RIGHT_CENTER: 8,
              RIGHT_BOTTOM: 9,
              BOTTOM_LEFT: 10,
              BOTTOM_CENTER: 11,
              BOTTOM_RIGHT: 12,
            };
            d.exports = y;
          },
          32058: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(97328),
              c = t(59994),
              a = t(73174),
              r = t(28417),
              n = function (e, s, u, i) {
                return (
                  u === void 0 && (u = 0),
                  i === void 0 && (i = 0),
                  r(e, c(s) + u),
                  a(e, A(s) + i),
                  e
                );
              };
            d.exports = n;
          },
          85535: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(97328),
              c = t(40163),
              a = t(73174),
              r = t(74465),
              n = function (e, s, u, i) {
                return (
                  u === void 0 && (u = 0),
                  i === void 0 && (i = 0),
                  r(e, c(s) - u),
                  a(e, A(s) + i),
                  e
                );
              };
            d.exports = n;
          },
          9605: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(97328),
              c = t(70271),
              a = t(73174),
              r = t(19298),
              n = function (e, s, u, i) {
                return (
                  u === void 0 && (u = 0),
                  i === void 0 && (i = 0),
                  r(e, c(s) + u),
                  a(e, A(s) + i),
                  e
                );
              };
            d.exports = n;
          },
          22529: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(21843),
              c = t(59994),
              a = t(29568),
              r = function (n, e, s, u) {
                return (
                  s === void 0 && (s = 0),
                  u === void 0 && (u = 0),
                  A(n, c(e) + s, a(e) + u),
                  n
                );
              };
            d.exports = r;
          },
          5739: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(29568),
              c = t(40163),
              a = t(81711),
              r = t(74465),
              n = function (e, s, u, i) {
                return (
                  u === void 0 && (u = 0),
                  i === void 0 && (i = 0),
                  r(e, c(s) - u),
                  a(e, A(s) + i),
                  e
                );
              };
            d.exports = n;
          },
          40327: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(84093),
              c = [];
            ((c[A.BOTTOM_CENTER] = t(32058)),
              (c[A.BOTTOM_LEFT] = t(85535)),
              (c[A.BOTTOM_RIGHT] = t(9605)),
              (c[A.CENTER] = t(22529)),
              (c[A.LEFT_CENTER] = t(5739)),
              (c[A.RIGHT_CENTER] = t(27683)),
              (c[A.TOP_CENTER] = t(96439)),
              (c[A.TOP_LEFT] = t(81447)),
              (c[A.TOP_RIGHT] = t(47888)),
              (c[A.LEFT_BOTTOM] = c[A.BOTTOM_LEFT]),
              (c[A.LEFT_TOP] = c[A.TOP_LEFT]),
              (c[A.RIGHT_BOTTOM] = c[A.BOTTOM_RIGHT]),
              (c[A.RIGHT_TOP] = c[A.TOP_RIGHT]));
            var a = function (r, n, e, s, u) {
              return c[e](r, n, s, u);
            };
            d.exports = a;
          },
          27683: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(29568),
              c = t(70271),
              a = t(81711),
              r = t(19298),
              n = function (e, s, u, i) {
                return (
                  u === void 0 && (u = 0),
                  i === void 0 && (i = 0),
                  r(e, c(s) + u),
                  a(e, A(s) + i),
                  e
                );
              };
            d.exports = n;
          },
          96439: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(59994),
              c = t(47196),
              a = t(28417),
              r = t(84349),
              n = function (e, s, u, i) {
                return (
                  u === void 0 && (u = 0),
                  i === void 0 && (i = 0),
                  a(e, A(s) + u),
                  r(e, c(s) - i),
                  e
                );
              };
            d.exports = n;
          },
          81447: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(40163),
              c = t(47196),
              a = t(74465),
              r = t(84349),
              n = function (e, s, u, i) {
                return (
                  u === void 0 && (u = 0),
                  i === void 0 && (i = 0),
                  a(e, A(s) - u),
                  r(e, c(s) - i),
                  e
                );
              };
            d.exports = n;
          },
          47888: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(70271),
              c = t(47196),
              a = t(19298),
              r = t(84349),
              n = function (e, s, u, i) {
                return (
                  u === void 0 && (u = 0),
                  i === void 0 && (i = 0),
                  a(e, A(s) + u),
                  r(e, c(s) - i),
                  e
                );
              };
            d.exports = n;
          },
          46997: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              BottomCenter: t(32058),
              BottomLeft: t(85535),
              BottomRight: t(9605),
              Center: t(22529),
              LeftCenter: t(5739),
              QuickSet: t(40327),
              RightCenter: t(27683),
              TopCenter: t(96439),
              TopLeft: t(81447),
              TopRight: t(47888),
            };
          },
          93545: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(84093),
              c = t(98611),
              a = { In: t(46997), To: t(86639) };
            ((a = c(!1, a, A)), (d.exports = a));
          },
          27118: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(97328),
              c = t(59994),
              a = t(28417),
              r = t(84349),
              n = function (e, s, u, i) {
                return (
                  u === void 0 && (u = 0),
                  i === void 0 && (i = 0),
                  a(e, c(s) + u),
                  r(e, A(s) + i),
                  e
                );
              };
            d.exports = n;
          },
          84469: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(97328),
              c = t(40163),
              a = t(74465),
              r = t(84349),
              n = function (e, s, u, i) {
                return (
                  u === void 0 && (u = 0),
                  i === void 0 && (i = 0),
                  a(e, c(s) - u),
                  r(e, A(s) + i),
                  e
                );
              };
            d.exports = n;
          },
          51577: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(97328),
              c = t(70271),
              a = t(19298),
              r = t(84349),
              n = function (e, s, u, i) {
                return (
                  u === void 0 && (u = 0),
                  i === void 0 && (i = 0),
                  a(e, c(s) + u),
                  r(e, A(s) + i),
                  e
                );
              };
            d.exports = n;
          },
          90271: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(97328),
              c = t(40163),
              a = t(73174),
              r = t(19298),
              n = function (e, s, u, i) {
                return (
                  u === void 0 && (u = 0),
                  i === void 0 && (i = 0),
                  r(e, c(s) - u),
                  a(e, A(s) + i),
                  e
                );
              };
            d.exports = n;
          },
          30466: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(29568),
              c = t(40163),
              a = t(81711),
              r = t(19298),
              n = function (e, s, u, i) {
                return (
                  u === void 0 && (u = 0),
                  i === void 0 && (i = 0),
                  r(e, c(s) - u),
                  a(e, A(s) + i),
                  e
                );
              };
            d.exports = n;
          },
          50087: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(40163),
              c = t(47196),
              a = t(19298),
              r = t(84349),
              n = function (e, s, u, i) {
                return (
                  u === void 0 && (u = 0),
                  i === void 0 && (i = 0),
                  a(e, A(s) - u),
                  r(e, c(s) - i),
                  e
                );
              };
            d.exports = n;
          },
          82590: (d, y, t) => {
            /**
             * @author       samme
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(84093),
              c = [];
            ((c[A.BOTTOM_CENTER] = t(27118)),
              (c[A.BOTTOM_LEFT] = t(84469)),
              (c[A.BOTTOM_RIGHT] = t(51577)),
              (c[A.LEFT_BOTTOM] = t(90271)),
              (c[A.LEFT_CENTER] = t(30466)),
              (c[A.LEFT_TOP] = t(50087)),
              (c[A.RIGHT_BOTTOM] = t(13555)),
              (c[A.RIGHT_CENTER] = t(99049)),
              (c[A.RIGHT_TOP] = t(67788)),
              (c[A.TOP_CENTER] = t(78170)),
              (c[A.TOP_LEFT] = t(54145)),
              (c[A.TOP_RIGHT] = t(75548)));
            var a = function (r, n, e, s, u) {
              return c[e](r, n, s, u);
            };
            d.exports = a;
          },
          13555: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(97328),
              c = t(70271),
              a = t(73174),
              r = t(74465),
              n = function (e, s, u, i) {
                return (
                  u === void 0 && (u = 0),
                  i === void 0 && (i = 0),
                  r(e, c(s) + u),
                  a(e, A(s) + i),
                  e
                );
              };
            d.exports = n;
          },
          99049: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(29568),
              c = t(70271),
              a = t(81711),
              r = t(74465),
              n = function (e, s, u, i) {
                return (
                  u === void 0 && (u = 0),
                  i === void 0 && (i = 0),
                  r(e, c(s) + u),
                  a(e, A(s) + i),
                  e
                );
              };
            d.exports = n;
          },
          67788: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(70271),
              c = t(47196),
              a = t(74465),
              r = t(84349),
              n = function (e, s, u, i) {
                return (
                  u === void 0 && (u = 0),
                  i === void 0 && (i = 0),
                  a(e, A(s) + u),
                  r(e, c(s) - i),
                  e
                );
              };
            d.exports = n;
          },
          78170: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(59994),
              c = t(47196),
              a = t(73174),
              r = t(28417),
              n = function (e, s, u, i) {
                return (
                  u === void 0 && (u = 0),
                  i === void 0 && (i = 0),
                  r(e, A(s) + u),
                  a(e, c(s) - i),
                  e
                );
              };
            d.exports = n;
          },
          54145: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(40163),
              c = t(47196),
              a = t(73174),
              r = t(74465),
              n = function (e, s, u, i) {
                return (
                  u === void 0 && (u = 0),
                  i === void 0 && (i = 0),
                  r(e, A(s) - u),
                  a(e, c(s) - i),
                  e
                );
              };
            d.exports = n;
          },
          75548: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(70271),
              c = t(47196),
              a = t(73174),
              r = t(19298),
              n = function (e, s, u, i) {
                return (
                  u === void 0 && (u = 0),
                  i === void 0 && (i = 0),
                  r(e, A(s) + u),
                  a(e, c(s) - i),
                  e
                );
              };
            d.exports = n;
          },
          86639: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              BottomCenter: t(27118),
              BottomLeft: t(84469),
              BottomRight: t(51577),
              LeftBottom: t(90271),
              LeftCenter: t(30466),
              LeftTop: t(50087),
              QuickSet: t(82590),
              RightBottom: t(13555),
              RightCenter: t(99049),
              RightTop: t(67788),
              TopCenter: t(78170),
              TopLeft: t(54145),
              TopRight: t(75548),
            };
          },
          21843: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(28417),
              c = t(81711),
              a = function (r, n, e) {
                return (A(r, n), c(r, e));
              };
            d.exports = a;
          },
          97328: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return t.y + t.height - t.height * t.originY;
            };
            d.exports = y;
          },
          7126: (d, y, t) => {
            /**
             * @author       samme
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(97328),
              c = t(40163),
              a = t(70271),
              r = t(47196),
              n = t(74118),
              e = function (s, u) {
                u === void 0 && (u = new n());
                var i = c(s),
                  o = r(s);
                return (
                  (u.x = i),
                  (u.y = o),
                  (u.width = a(s) - i),
                  (u.height = A(s) - o),
                  u
                );
              };
            d.exports = e;
          },
          59994: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return t.x - t.width * t.originX + t.width * 0.5;
            };
            d.exports = y;
          },
          29568: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return t.y - t.height * t.originY + t.height * 0.5;
            };
            d.exports = y;
          },
          40163: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return t.x - t.width * t.originX;
            };
            d.exports = y;
          },
          52088: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return t.width * t.originX;
            };
            d.exports = y;
          },
          23379: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return t.height * t.originY;
            };
            d.exports = y;
          },
          70271: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return t.x + t.width - t.width * t.originX;
            };
            d.exports = y;
          },
          47196: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return t.y - t.height * t.originY;
            };
            d.exports = y;
          },
          73174: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return ((t.y = A - t.height + t.height * t.originY), t);
            };
            d.exports = y;
          },
          28417: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              var c = t.width * t.originX;
              return ((t.x = A + c - t.width * 0.5), t);
            };
            d.exports = y;
          },
          81711: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              var c = t.height * t.originY;
              return ((t.y = A + c - t.height * 0.5), t);
            };
            d.exports = y;
          },
          74465: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return ((t.x = A + t.width * t.originX), t);
            };
            d.exports = y;
          },
          19298: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return ((t.x = A - t.width + t.width * t.originX), t);
            };
            d.exports = y;
          },
          84349: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return ((t.y = A + t.height * t.originY), t);
            };
            d.exports = y;
          },
          15252: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              CenterOn: t(21843),
              GetBottom: t(97328),
              GetBounds: t(7126),
              GetCenterX: t(59994),
              GetCenterY: t(29568),
              GetLeft: t(40163),
              GetOffsetX: t(52088),
              GetOffsetY: t(23379),
              GetRight: t(70271),
              GetTop: t(47196),
              SetBottom: t(73174),
              SetCenterX: t(28417),
              SetCenterY: t(81711),
              SetLeft: t(74465),
              SetRight: t(19298),
              SetTop: t(84349),
            };
          },
          70616: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              setCrisp: function (t) {
                var A = [
                  "optimizeSpeed",
                  "-moz-crisp-edges",
                  "-o-crisp-edges",
                  "-webkit-optimize-contrast",
                  "optimize-contrast",
                  "crisp-edges",
                  "pixelated",
                ];
                return (
                  A.forEach(function (c) {
                    t.style["image-rendering"] = c;
                  }),
                  (t.style.msInterpolationMode = "nearest-neighbor"),
                  t
                );
              },
              setBicubic: function (t) {
                return (
                  (t.style["image-rendering"] = "auto"),
                  (t.style.msInterpolationMode = "bicubic"),
                  t
                );
              },
            };
            d.exports = y;
          },
          61068: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(86459),
              c = t(8213),
              a = [],
              r = !1,
              n = function () {
                var e = function (m, x, g, C, T) {
                    (x === void 0 && (x = 1),
                      g === void 0 && (g = 1),
                      C === void 0 && (C = A.CANVAS),
                      T === void 0 && (T = !1));
                    var F,
                      w = i(C);
                    return (
                      w === null
                        ? ((w = {
                            parent: m,
                            canvas: document.createElement("canvas"),
                            type: C,
                          }),
                          C === A.CANVAS && a.push(w),
                          (F = w.canvas))
                        : ((w.parent = m), (F = w.canvas)),
                      T && (w.parent = F),
                      (F.width = x),
                      (F.height = g),
                      r &&
                        C === A.CANVAS &&
                        c.disable(
                          F.getContext("2d", { willReadFrequently: !1 }),
                        ),
                      F
                    );
                  },
                  s = function (m, x, g) {
                    return e(m, x, g, A.CANVAS);
                  },
                  u = function (m, x, g) {
                    return e(m, x, g, A.WEBGL);
                  },
                  i = function (m) {
                    if ((m === void 0 && (m = A.CANVAS), m === A.WEBGL))
                      return null;
                    for (var x = 0; x < a.length; x++) {
                      var g = a[x];
                      if (!g.parent && g.type === m) return g;
                    }
                    return null;
                  },
                  o = function (m) {
                    var x = m instanceof HTMLCanvasElement;
                    a.forEach(function (g) {
                      ((x && g.canvas === m) || (!x && g.parent === m)) &&
                        ((g.parent = null),
                        (g.canvas.width = 1),
                        (g.canvas.height = 1));
                    });
                  },
                  h = function () {
                    var m = 0;
                    return (
                      a.forEach(function (x) {
                        x.parent && m++;
                      }),
                      m
                    );
                  },
                  l = function () {
                    return a.length - h();
                  },
                  f = function () {
                    r = !0;
                  },
                  v = function () {
                    r = !1;
                  };
                return {
                  create2D: s,
                  create: e,
                  createWebGL: u,
                  disableSmoothing: f,
                  enableSmoothing: v,
                  first: i,
                  free: l,
                  pool: a,
                  remove: o,
                  total: h,
                };
              };
            d.exports = n();
          },
          8213: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = "",
              t = function () {
                var A = function (n) {
                    for (
                      var e = ["i", "webkitI", "msI", "mozI", "oI"], s = 0;
                      s < e.length;
                      s++
                    ) {
                      var u = e[s] + "mageSmoothingEnabled";
                      if (u in n) return u;
                    }
                    return null;
                  },
                  c = function (n) {
                    return (y === "" && (y = A(n)), y && (n[y] = !0), n);
                  },
                  a = function (n) {
                    return (y === "" && (y = A(n)), y && (n[y] = !1), n);
                  },
                  r = function (n) {
                    return y !== null ? n[y] : null;
                  };
                return { disable: a, enable: c, getPrefix: A, isEnabled: r };
              };
            d.exports = t();
          },
          59271: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return (
                A === void 0 && (A = "none"),
                (t.style.msTouchAction = A),
                (t.style["ms-touch-action"] = A),
                (t.style["touch-action"] = A),
                t
              );
            };
            d.exports = y;
          },
          36505: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              A === void 0 && (A = "none");
              var c = ["-webkit-", "-khtml-", "-moz-", "-ms-", ""];
              return (
                c.forEach(function (a) {
                  t.style[a + "user-select"] = A;
                }),
                (t.style["-webkit-touch-callout"] = A),
                (t.style["-webkit-tap-highlight-color"] = "rgba(0, 0, 0, 0)"),
                t
              );
            };
            d.exports = y;
          },
          23514: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              CanvasInterpolation: t(70616),
              CanvasPool: t(61068),
              Smoothing: t(8213),
              TouchAction: t(59271),
              UserSelect: t(36505),
            };
          },
          27119: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(22946),
              a = t(5657),
              r = t(24650),
              n = t(68033),
              e = new A({
                initialize: function (u, i, o, h) {
                  (u === void 0 && (u = 0),
                    i === void 0 && (i = 0),
                    o === void 0 && (o = 0),
                    h === void 0 && (h = 255),
                    (this.r = 0),
                    (this.g = 0),
                    (this.b = 0),
                    (this.a = 255),
                    (this._h = 0),
                    (this._s = 0),
                    (this._v = 0),
                    (this._locked = !1),
                    (this.gl = [0, 0, 0, 1]),
                    (this._color = 0),
                    (this._color32 = 0),
                    (this._rgba = ""),
                    this.setTo(u, i, o, h));
                },
                transparent: function () {
                  return (
                    (this._locked = !0),
                    (this.red = 0),
                    (this.green = 0),
                    (this.blue = 0),
                    (this.alpha = 0),
                    (this._locked = !1),
                    this.update(!0)
                  );
                },
                setTo: function (s, u, i, o, h) {
                  return (
                    o === void 0 && (o = 255),
                    h === void 0 && (h = !0),
                    (this._locked = !0),
                    (this.red = s),
                    (this.green = u),
                    (this.blue = i),
                    (this.alpha = o),
                    (this._locked = !1),
                    this.update(h)
                  );
                },
                setGLTo: function (s, u, i, o) {
                  return (
                    o === void 0 && (o = 1),
                    (this._locked = !0),
                    (this.redGL = s),
                    (this.greenGL = u),
                    (this.blueGL = i),
                    (this.alphaGL = o),
                    (this._locked = !1),
                    this.update(!0)
                  );
                },
                setFromRGB: function (s) {
                  return (
                    (this._locked = !0),
                    (this.red = s.r),
                    (this.green = s.g),
                    (this.blue = s.b),
                    s.hasOwnProperty("a") && (this.alpha = s.a),
                    (this._locked = !1),
                    this.update(!0)
                  );
                },
                setFromHSV: function (s, u, i) {
                  return r(
                    s,
                    u,
                    i,
                    _____WB$wombat$check$this$function_____(this),
                  );
                },
                update: function (s) {
                  if ((s === void 0 && (s = !1), this._locked))
                    return _____WB$wombat$check$this$function_____(this);
                  var u = this.r,
                    i = this.g,
                    o = this.b,
                    h = this.a;
                  return (
                    (this._color = c(u, i, o)),
                    (this._color32 = a(u, i, o, h)),
                    (this._rgba =
                      "rgba(" + u + "," + i + "," + o + "," + h / 255 + ")"),
                    s &&
                      n(u, i, o, _____WB$wombat$check$this$function_____(this)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                updateHSV: function () {
                  var s = this.r,
                    u = this.g,
                    i = this.b;
                  return (
                    n(s, u, i, _____WB$wombat$check$this$function_____(this)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                clone: function () {
                  return new e(this.r, this.g, this.b, this.a);
                },
                gray: function (s) {
                  return this.setTo(s, s, s);
                },
                random: function (s, u) {
                  (s === void 0 && (s = 0), u === void 0 && (u = 255));
                  var i = Math.floor(s + Math.random() * (u - s)),
                    o = Math.floor(s + Math.random() * (u - s)),
                    h = Math.floor(s + Math.random() * (u - s));
                  return this.setTo(i, o, h);
                },
                randomGray: function (s, u) {
                  (s === void 0 && (s = 0), u === void 0 && (u = 255));
                  var i = Math.floor(s + Math.random() * (u - s));
                  return this.setTo(i, i, i);
                },
                saturate: function (s) {
                  return (
                    (this.s += s / 100),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                desaturate: function (s) {
                  return (
                    (this.s -= s / 100),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                lighten: function (s) {
                  return (
                    (this.v += s / 100),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                darken: function (s) {
                  return (
                    (this.v -= s / 100),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                brighten: function (s) {
                  var u = this.r,
                    i = this.g,
                    o = this.b;
                  return (
                    (u = Math.max(
                      0,
                      Math.min(255, u - Math.round(255 * -(s / 100))),
                    )),
                    (i = Math.max(
                      0,
                      Math.min(255, i - Math.round(255 * -(s / 100))),
                    )),
                    (o = Math.max(
                      0,
                      Math.min(255, o - Math.round(255 * -(s / 100))),
                    )),
                    this.setTo(u, i, o)
                  );
                },
                color: {
                  get: function () {
                    return this._color;
                  },
                },
                color32: {
                  get: function () {
                    return this._color32;
                  },
                },
                rgba: {
                  get: function () {
                    return this._rgba;
                  },
                },
                redGL: {
                  get: function () {
                    return this.gl[0];
                  },
                  set: function (s) {
                    ((this.gl[0] = Math.min(Math.abs(s), 1)),
                      (this.r = Math.floor(this.gl[0] * 255)),
                      this.update(!0));
                  },
                },
                greenGL: {
                  get: function () {
                    return this.gl[1];
                  },
                  set: function (s) {
                    ((this.gl[1] = Math.min(Math.abs(s), 1)),
                      (this.g = Math.floor(this.gl[1] * 255)),
                      this.update(!0));
                  },
                },
                blueGL: {
                  get: function () {
                    return this.gl[2];
                  },
                  set: function (s) {
                    ((this.gl[2] = Math.min(Math.abs(s), 1)),
                      (this.b = Math.floor(this.gl[2] * 255)),
                      this.update(!0));
                  },
                },
                alphaGL: {
                  get: function () {
                    return this.gl[3];
                  },
                  set: function (s) {
                    ((this.gl[3] = Math.min(Math.abs(s), 1)),
                      (this.a = Math.floor(this.gl[3] * 255)),
                      this.update());
                  },
                },
                red: {
                  get: function () {
                    return this.r;
                  },
                  set: function (s) {
                    ((s = Math.floor(Math.abs(s))),
                      (this.r = Math.min(s, 255)),
                      (this.gl[0] = s / 255),
                      this.update(!0));
                  },
                },
                green: {
                  get: function () {
                    return this.g;
                  },
                  set: function (s) {
                    ((s = Math.floor(Math.abs(s))),
                      (this.g = Math.min(s, 255)),
                      (this.gl[1] = s / 255),
                      this.update(!0));
                  },
                },
                blue: {
                  get: function () {
                    return this.b;
                  },
                  set: function (s) {
                    ((s = Math.floor(Math.abs(s))),
                      (this.b = Math.min(s, 255)),
                      (this.gl[2] = s / 255),
                      this.update(!0));
                  },
                },
                alpha: {
                  get: function () {
                    return this.a;
                  },
                  set: function (s) {
                    ((s = Math.floor(Math.abs(s))),
                      (this.a = Math.min(s, 255)),
                      (this.gl[3] = s / 255),
                      this.update());
                  },
                },
                h: {
                  get: function () {
                    return this._h;
                  },
                  set: function (s) {
                    ((this._h = s),
                      r(
                        s,
                        this._s,
                        this._v,
                        _____WB$wombat$check$this$function_____(this),
                      ));
                  },
                },
                s: {
                  get: function () {
                    return this._s;
                  },
                  set: function (s) {
                    ((this._s = s),
                      r(
                        this._h,
                        s,
                        this._v,
                        _____WB$wombat$check$this$function_____(this),
                      ));
                  },
                },
                v: {
                  get: function () {
                    return this._v;
                  },
                  set: function (s) {
                    ((this._v = s),
                      r(
                        this._h,
                        this._s,
                        s,
                        _____WB$wombat$check$this$function_____(this),
                      ));
                  },
                },
              });
            d.exports = e;
          },
          30245: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(22946),
              c = function (a) {
                a === void 0 && (a = 1024);
                var r = [],
                  n = 255,
                  e,
                  s = 255,
                  u = 0,
                  i = 0;
                for (e = 0; e <= n; e++)
                  r.push({ r: s, g: e, b: i, color: A(s, e, i) });
                for (u = 255, e = n; e >= 0; e--)
                  r.push({ r: e, g: u, b: i, color: A(e, u, i) });
                for (s = 0, e = 0; e <= n; e++, u--)
                  r.push({ r: s, g: u, b: e, color: A(s, u, e) });
                for (u = 0, i = 255, e = 0; e <= n; e++, i--, s++)
                  r.push({ r: s, g: u, b: i, color: A(s, u, i) });
                if (a === 1024) return r;
                var o = [],
                  h = 0,
                  l = 1024 / a;
                for (e = 0; e < a; e++) (o.push(r[Math.floor(h)]), (h += l));
                return o;
              };
            d.exports = c;
          },
          86672: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              var A = {
                r: (t >> 16) & 255,
                g: (t >> 8) & 255,
                b: t & 255,
                a: 255,
              };
              return (t > 16777215 && (A.a = t >>> 24), A);
            };
            d.exports = y;
          },
          25409: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              var A = t.toString(16);
              return A.length === 1 ? "0" + A : A;
            };
            d.exports = y;
          },
          22946: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              return (t << 16) | (A << 8) | c;
            };
            d.exports = y;
          },
          5657: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              return (a << 24) | (t << 16) | (A << 8) | c;
            };
            d.exports = y;
          },
          74777: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(27119),
              c = t(59998),
              a = function (r, n, e) {
                var s = e,
                  u = e,
                  i = e;
                if (n !== 0) {
                  var o = e < 0.5 ? e * (1 + n) : e + n - e * n,
                    h = 2 * e - o;
                  ((s = c(h, o, r + 1 / 3)),
                    (u = c(h, o, r)),
                    (i = c(h, o, r - 1 / 3)));
                }
                var l = new A();
                return l.setGLTo(s, u, i, 1);
              };
            d.exports = a;
          },
          89263: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(24650),
              c = function (a, r) {
                (a === void 0 && (a = 1), r === void 0 && (r = 1));
                for (var n = [], e = 0; e <= 359; e++) n.push(A(e / 359, a, r));
                return n;
              };
            d.exports = c;
          },
          24650: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(22946);
            function c(r, n, e, s) {
              var u = (r + n * 6) % 6,
                i = Math.min(u, 4 - u, 1);
              return Math.round(255 * (s - s * e * Math.max(0, i)));
            }
            var a = function (r, n, e, s) {
              (n === void 0 && (n = 1), e === void 0 && (e = 1));
              var u = c(5, r, n, e),
                i = c(3, r, n, e),
                o = c(1, r, n, e);
              return s
                ? s.setTo
                  ? s.setTo(u, i, o, s.alpha, !0)
                  : ((s.r = u), (s.g = i), (s.b = o), (s.color = A(u, i, o)), s)
                : { r: u, g: i, b: o, color: A(u, i, o) };
            };
            d.exports = a;
          },
          91487: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(27119),
              c = function (a) {
                var r = new A();
                a = a.replace(
                  /^(?:#|0x)?([a-f\d])([a-f\d])([a-f\d])$/i,
                  function (i, o, h, l) {
                    return o + o + h + h + l + l;
                  },
                );
                var n = /^(?:#|0x)?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(
                  a,
                );
                if (n) {
                  var e = parseInt(n[1], 16),
                    s = parseInt(n[2], 16),
                    u = parseInt(n[3], 16);
                  r.setTo(e, s, u);
                }
                return r;
              };
            d.exports = c;
          },
          59998: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              return (
                c < 0 && (c += 1),
                c > 1 && (c -= 1),
                c < 0.16666666666666666
                  ? t + (A - t) * 6 * c
                  : c < 0.5
                    ? A
                    : c < 0.6666666666666666
                      ? t + (A - t) * (0.6666666666666666 - c) * 6
                      : t
              );
            };
            d.exports = y;
          },
          74853: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(27119),
              c = t(15978),
              a = function (r) {
                var n = c(r);
                return new A(n.r, n.g, n.b, n.a);
              };
            d.exports = a;
          },
          15978: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return t > 16777215
                ? {
                    a: t >>> 24,
                    r: (t >> 16) & 255,
                    g: (t >> 8) & 255,
                    b: t & 255,
                  }
                : { a: 255, r: (t >> 16) & 255, g: (t >> 8) & 255, b: t & 255 };
            };
            d.exports = y;
          },
          53756: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(42798),
              c = function (n, e, s, u, i, o, h, l) {
                (h === void 0 && (h = 100), l === void 0 && (l = 0));
                var f = l / h;
                return { r: A(n, u, f), g: A(e, i, f), b: A(s, o, f) };
              },
              a = function (n, e, s, u) {
                return (
                  s === void 0 && (s = 100),
                  u === void 0 && (u = 0),
                  c(n.r, n.g, n.b, e.r, e.g, e.b, s, u)
                );
              },
              r = function (n, e, s, u, i, o) {
                return (
                  i === void 0 && (i = 100),
                  o === void 0 && (o = 0),
                  c(n.r, n.g, n.b, e, s, u, i, o)
                );
              };
            d.exports = { RGBWithRGB: c, ColorWithRGB: r, ColorWithColor: a };
          },
          73904: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(27119),
              c = function (a) {
                return new A(a.r, a.g, a.b, a.a);
              };
            d.exports = c;
          },
          26841: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(27119),
              c = function (a) {
                var r = new A(),
                  n =
                    /^rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d+(?:\.\d+)?))?\s*\)$/.exec(
                      a.toLowerCase(),
                    );
                if (n) {
                  var e = parseInt(n[1], 10),
                    s = parseInt(n[2], 10),
                    u = parseInt(n[3], 10),
                    i = n[4] !== void 0 ? parseFloat(n[4]) : 1;
                  r.setTo(e, s, u, i * 255);
                }
                return r;
              };
            d.exports = c;
          },
          68033: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              (a === void 0 && (a = { h: 0, s: 0, v: 0 }),
                (t /= 255),
                (A /= 255),
                (c /= 255));
              var r = Math.min(t, A, c),
                n = Math.max(t, A, c),
                e = n - r,
                s = 0,
                u = n === 0 ? 0 : e / n,
                i = n;
              return (
                n !== r &&
                  (n === t
                    ? (s = (A - c) / e + (A < c ? 6 : 0))
                    : n === A
                      ? (s = (c - t) / e + 2)
                      : n === c && (s = (t - A) / e + 4),
                  (s /= 6)),
                a.hasOwnProperty("_h")
                  ? ((a._h = s), (a._s = u), (a._v = i))
                  : ((a.h = s), (a.s = u), (a.v = i)),
                a
              );
            };
            d.exports = y;
          },
          4880: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(25409),
              c = function (a, r, n, e, s) {
                return (
                  e === void 0 && (e = 255),
                  s === void 0 && (s = "#"),
                  s === "#"
                    ? "#" +
                      ((1 << 24) + (a << 16) + (r << 8) + n)
                        .toString(16)
                        .slice(1, 7)
                    : "0x" + A(e) + A(a) + A(r) + A(n)
                );
              };
            d.exports = c;
          },
          37243: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(17489),
              c = t(27119),
              a = function (r, n) {
                return (
                  r === void 0 && (r = 0),
                  n === void 0 && (n = 255),
                  new c(A(r, n), A(r, n), A(r, n))
                );
              };
            d.exports = a;
          },
          93222: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(91487),
              c = t(74853),
              a = t(73904),
              r = t(26841),
              n = function (e) {
                var s = typeof e;
                switch (s) {
                  case "string":
                    return e.substr(0, 3).toLowerCase() === "rgb" ? r(e) : A(e);
                  case "number":
                    return c(e);
                  case "object":
                    return a(e);
                }
              };
            d.exports = n;
          },
          95509: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(27119);
            ((A.ColorSpectrum = t(30245)),
              (A.ColorToRGBA = t(86672)),
              (A.ComponentToHex = t(25409)),
              (A.GetColor = t(22946)),
              (A.GetColor32 = t(5657)),
              (A.HexStringToColor = t(91487)),
              (A.HSLToColor = t(74777)),
              (A.HSVColorWheel = t(89263)),
              (A.HSVToRGB = t(24650)),
              (A.HueToComponent = t(59998)),
              (A.IntegerToColor = t(74853)),
              (A.IntegerToRGB = t(15978)),
              (A.Interpolate = t(53756)),
              (A.ObjectToColor = t(73904)),
              (A.RandomRGB = t(37243)),
              (A.RGBStringToColor = t(26841)),
              (A.RGBToHSV = t(68033)),
              (A.RGBToString = t(4880)),
              (A.ValueToColor = t(93222)),
              (d.exports = A));
          },
          24816: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              Align: t(93545),
              BaseShader: t(31053),
              Bounds: t(15252),
              Canvas: t(23514),
              Color: t(95509),
              ColorMatrix: t(65246),
              Masks: t(93310),
              RGB: t(39298),
            };
          },
          76756: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(61286),
              a = new A({
                initialize: function (n, e, s, u, i, o) {
                  (e ||
                    (e = n.sys.make.image({
                      x: s,
                      y: u,
                      key: i,
                      frame: o,
                      add: !1,
                    })),
                    (this.bitmapMask = e),
                    (this.invertAlpha = !1),
                    (this.isStencil = !1));
                },
                setBitmap: function (r) {
                  this.bitmapMask = r;
                },
                preRenderWebGL: function (r, n, e) {
                  r.pipelines.BITMAPMASK_PIPELINE.beginMask(this, n, e);
                },
                postRenderWebGL: function (r, n, e) {
                  r.pipelines.BITMAPMASK_PIPELINE.endMask(this, n, e);
                },
                preRenderCanvas: function () {},
                postRenderCanvas: function () {},
                destroy: function () {
                  this.bitmapMask = null;
                },
              });
            (c.register("bitmapMask", function (r, n, e, s, u) {
              return new a(this.scene, r, n, e, s, u);
            }),
              (d.exports = a));
          },
          63037: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = new A({
                initialize: function (r, n) {
                  ((this.geometryMask = n),
                    (this.invertAlpha = !1),
                    (this.isStencil = !0),
                    (this.level = 0));
                },
                setShape: function (a) {
                  return (
                    (this.geometryMask = a),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setInvertAlpha: function (a) {
                  return (
                    a === void 0 && (a = !0),
                    (this.invertAlpha = a),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                preRenderWebGL: function (a, r, n) {
                  var e = a.gl;
                  (a.flush(),
                    a.maskStack.length === 0 &&
                      (e.enable(e.STENCIL_TEST),
                      e.clear(e.STENCIL_BUFFER_BIT),
                      (a.maskCount = 0)),
                    a.currentCameraMask.mask !==
                      _____WB$wombat$check$this$function_____(this) &&
                      (a.currentMask.mask =
                        _____WB$wombat$check$this$function_____(this)),
                    a.maskStack.push({ mask: this, camera: n }),
                    this.applyStencil(a, n, !0),
                    a.maskCount++);
                },
                applyStencil: function (a, r, n) {
                  var e = a.gl,
                    s = this.geometryMask,
                    u = a.maskCount,
                    i = 255;
                  (e.colorMask(!1, !1, !1, !1),
                    n
                      ? (e.stencilFunc(e.EQUAL, u, i),
                        e.stencilOp(e.KEEP, e.KEEP, e.INCR),
                        u++)
                      : (e.stencilFunc(e.EQUAL, u + 1, i),
                        e.stencilOp(e.KEEP, e.KEEP, e.DECR)),
                    (this.level = u),
                    s.renderWebGL(a, s, r),
                    a.flush(),
                    e.colorMask(!0, !0, !0, !0),
                    e.stencilOp(e.KEEP, e.KEEP, e.KEEP),
                    this.invertAlpha
                      ? e.stencilFunc(e.NOTEQUAL, u, i)
                      : e.stencilFunc(e.EQUAL, u, i));
                },
                postRenderWebGL: function (a) {
                  var r = a.gl;
                  (a.maskStack.pop(), a.maskCount--, a.flush());
                  var n = a.currentMask;
                  if (a.maskStack.length === 0)
                    ((n.mask = null), r.disable(r.STENCIL_TEST));
                  else {
                    var e = a.maskStack[a.maskStack.length - 1];
                    (e.mask.applyStencil(a, e.camera, !1),
                      a.currentCameraMask.mask !== e.mask
                        ? ((n.mask = e.mask), (n.camera = e.camera))
                        : (n.mask = null));
                  }
                },
                preRenderCanvas: function (a, r, n) {
                  var e = this.geometryMask;
                  (a.currentContext.save(),
                    e.renderCanvas(a, e, n, null, null, !0),
                    a.currentContext.clip());
                },
                postRenderCanvas: function (a) {
                  a.currentContext.restore();
                },
                destroy: function () {
                  this.geometryMask = null;
                },
              });
            d.exports = c;
          },
          93310: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = { BitmapMask: t(76756), GeometryMask: t(63037) };
          },
          31053: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = new A({
                initialize: function (r, n, e, s) {
                  ((!n || n === "") &&
                    (n = [
                      "precision mediump float;",
                      "uniform vec2 resolution;",
                      "varying vec2 fragCoord;",
                      "void main () {",
                      "    vec2 uv = fragCoord / resolution.xy;",
                      "    gl_FragColor = vec4(uv.xyx, 1.0);",
                      "}",
                    ].join(`
`)),
                    (!e || e === "") &&
                      (e = [
                        "precision mediump float;",
                        "uniform mat4 uProjectionMatrix;",
                        "uniform mat4 uViewMatrix;",
                        "uniform vec2 uResolution;",
                        "attribute vec2 inPosition;",
                        "varying vec2 fragCoord;",
                        "varying vec2 outTexCoord;",
                        "void main () {",
                        "   gl_Position = uProjectionMatrix * uViewMatrix * vec4(inPosition, 1.0, 1.0);",
                        "   fragCoord = vec2(inPosition.x, uResolution.y - inPosition.y);",
                        "   outTexCoord = vec2(inPosition.x / uResolution.x, fragCoord.y / uResolution.y);",
                        "}",
                      ].join(`
`)),
                    s === void 0 && (s = null),
                    (this.key = r),
                    (this.fragmentSrc = n),
                    (this.vertexSrc = e),
                    (this.uniforms = s));
                },
              });
            d.exports = c;
          },
          99584: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              var c;
              if (A)
                typeof A == "string"
                  ? (c = document.getElementById(A))
                  : typeof A == "object" && A.nodeType === 1 && (c = A);
              else if (t.parentElement || A === null) return t;
              return (c || (c = document.body), c.appendChild(t), t);
            };
            d.exports = y;
          },
          85178: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(99584),
              c = function (a) {
                var r = a.config;
                if (!(!r.parent || !r.domCreateContainer)) {
                  var n = document.createElement("div");
                  ((n.style.cssText = [
                    "display: block;",
                    "width: " + a.scale.width + "px;",
                    "height: " + a.scale.height + "px;",
                    "padding: 0; margin: 0;",
                    "position: absolute;",
                    "overflow: hidden;",
                    "pointer-events: " + r.domPointerEvents + ";",
                    "transform: scale(1);",
                    "transform-origin: left top;",
                  ].join(" ")),
                    (a.domContainer = n),
                    A(n, r.parent));
                }
              };
            d.exports = c;
          },
          21546: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(36580),
              c = function (a) {
                if (
                  document.readyState === "complete" ||
                  document.readyState === "interactive"
                ) {
                  a();
                  return;
                }
                var r = function () {
                  (document.removeEventListener("deviceready", r, !0),
                    document.removeEventListener("DOMContentLoaded", r, !0),
                    window.removeEventListener("load", r, !0),
                    a());
                };
                document.body
                  ? A.cordova
                    ? document.addEventListener("deviceready", r, !1)
                    : (document.addEventListener("DOMContentLoaded", r, !0),
                      window.addEventListener("load", r, !0))
                  : window.setTimeout(r, 20);
              };
            d.exports = c;
          },
          74181: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              if (!t) return window.innerHeight;
              var A = Math.abs(window.orientation),
                c = { w: 0, h: 0 },
                a = document.createElement("div");
              return (
                a.setAttribute(
                  "style",
                  "position: fixed; height: 100vh; width: 0; top: 0",
                ),
                document.documentElement.appendChild(a),
                (c.w = A === 90 ? a.offsetHeight : window.innerWidth),
                (c.h = A === 90 ? window.innerWidth : a.offsetHeight),
                document.documentElement.removeChild(a),
                (a = null),
                Math.abs(window.orientation) !== 90 ? c.h : c.w
              );
            };
            d.exports = y;
          },
          9229: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(55301),
              c = function (a, r) {
                var n = window.screen,
                  e = n
                    ? n.orientation || n.mozOrientation || n.msOrientation
                    : !1;
                if (e && typeof e.type == "string") return e.type;
                if (typeof e == "string") return e;
                if (typeof window.orientation == "number")
                  return window.orientation === 0 || window.orientation === 180
                    ? A.ORIENTATION.PORTRAIT
                    : A.ORIENTATION.LANDSCAPE;
                if (window.matchMedia) {
                  if (window.matchMedia("(orientation: portrait)").matches)
                    return A.ORIENTATION.PORTRAIT;
                  if (window.matchMedia("(orientation: landscape)").matches)
                    return A.ORIENTATION.LANDSCAPE;
                } else
                  return r > a
                    ? A.ORIENTATION.PORTRAIT
                    : A.ORIENTATION.LANDSCAPE;
              };
            d.exports = c;
          },
          2893: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              var A;
              return (
                t !== "" &&
                  (typeof t == "string"
                    ? (A = document.getElementById(t))
                    : t && t.nodeType === 1 && (A = t)),
                A || (A = document.body),
                A
              );
            };
            d.exports = y;
          },
          89200: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              var A = "";
              try {
                if (window.DOMParser) {
                  var c = new DOMParser();
                  A = c.parseFromString(t, "text/xml");
                } else
                  ((A = new ActiveXObject("Microsoft.XMLDOM")), A.loadXML(t));
              } catch {
                A = null;
              }
              return !A ||
                !A.documentElement ||
                A.getElementsByTagName("parsererror").length
                ? null
                : A;
            };
            d.exports = y;
          },
          55638: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              t.parentNode && t.parentNode.removeChild(t);
            };
            d.exports = y;
          },
          27385: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(72283),
              a = new A({
                initialize: function () {
                  ((this.isRunning = !1),
                    (this.callback = c),
                    (this.isSetTimeOut = !1),
                    (this.timeOutID = null),
                    (this.delay = 0));
                  var n = _____WB$wombat$check$this$function_____(this);
                  ((this.step = function e(s) {
                    (n.callback(s),
                      n.isRunning &&
                        (n.timeOutID = window.requestAnimationFrame(e)));
                  }),
                    (this.stepTimeout = function e() {
                      (n.isRunning &&
                        (n.timeOutID = window.setTimeout(e, n.delay)),
                        n.callback(window.performance.now()));
                    }));
                },
                start: function (r, n, e) {
                  this.isRunning ||
                    ((this.callback = r),
                    (this.isSetTimeOut = n),
                    (this.delay = e),
                    (this.isRunning = !0),
                    (this.timeOutID = n
                      ? window.setTimeout(this.stepTimeout, 0)
                      : window.requestAnimationFrame(this.step)));
                },
                stop: function () {
                  ((this.isRunning = !1),
                    this.isSetTimeOut
                      ? clearTimeout(this.timeOutID)
                      : window.cancelAnimationFrame(this.timeOutID));
                },
                destroy: function () {
                  (this.stop(), (this.callback = c));
                },
              });
            d.exports = a;
          },
          3590: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = {
              AddToDOM: t(99584),
              DOMContentLoaded: t(21546),
              GetInnerHeight: t(74181),
              GetScreenOrientation: t(9229),
              GetTarget: t(2893),
              ParseXML: t(89200),
              RemoveFromDOM: t(55638),
              RequestAnimationFrame: t(27385),
            };
            d.exports = A;
          },
          78491: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(6659),
              a = t(91963),
              r = new A({
                Extends: c,
                initialize: function () {
                  c.call(this);
                },
                shutdown: function () {
                  this.removeAllListeners();
                },
                destroy: function () {
                  this.removeAllListeners();
                },
              });
            (a.register("EventEmitter", r, "events"), (d.exports = r));
          },
          95146: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = { EventEmitter: t(78491) };
          },
          20170: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(47551),
              a = t(47406),
              r = new A({
                Extends: c,
                initialize: function (e, s) {
                  (s === void 0 && (s = 1),
                    c.call(this, a.BARREL, e),
                    (this.amount = s));
                },
              });
            d.exports = r;
          },
          51182: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(47551),
              a = t(47406),
              r = new A({
                Extends: c,
                initialize: function (e, s, u, i, o, h, l) {
                  (u === void 0 && (u = 1),
                    i === void 0 && (i = 1),
                    o === void 0 && (o = 1),
                    h === void 0 && (h = 1),
                    l === void 0 && (l = 4),
                    c.call(this, a.BLOOM, e),
                    (this.steps = l),
                    (this.offsetX = u),
                    (this.offsetY = i),
                    (this.blurStrength = o),
                    (this.strength = h),
                    (this.glcolor = [1, 1, 1]),
                    s != null && (this.color = s));
                },
                color: {
                  get: function () {
                    var n = this.glcolor;
                    return (
                      ((n[0] * 255) << 16) +
                      ((n[1] * 255) << 8) +
                      ((n[2] * 255) | 0)
                    );
                  },
                  set: function (n) {
                    var e = this.glcolor;
                    ((e[0] = ((n >> 16) & 255) / 255),
                      (e[1] = ((n >> 8) & 255) / 255),
                      (e[2] = (n & 255) / 255));
                  },
                },
              });
            d.exports = r;
          },
          51498: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(47551),
              a = t(47406),
              r = new A({
                Extends: c,
                initialize: function (e, s, u, i, o, h, l) {
                  (s === void 0 && (s = 0),
                    u === void 0 && (u = 2),
                    i === void 0 && (i = 2),
                    o === void 0 && (o = 1),
                    l === void 0 && (l = 4),
                    c.call(this, a.BLUR, e),
                    (this.quality = s),
                    (this.x = u),
                    (this.y = i),
                    (this.steps = l),
                    (this.strength = o),
                    (this.glcolor = [1, 1, 1]),
                    h != null && (this.color = h));
                },
                color: {
                  get: function () {
                    var n = this.glcolor;
                    return (
                      ((n[0] * 255) << 16) +
                      ((n[1] * 255) << 8) +
                      ((n[2] * 255) | 0)
                    );
                  },
                  set: function (n) {
                    var e = this.glcolor;
                    ((e[0] = ((n >> 16) & 255) / 255),
                      (e[1] = ((n >> 8) & 255) / 255),
                      (e[2] = (n & 255) / 255));
                  },
                },
              });
            d.exports = r;
          },
          12042: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(47551),
              a = t(47406),
              r = new A({
                Extends: c,
                initialize: function (e, s, u, i, o, h, l, f) {
                  (s === void 0 && (s = 0.5),
                    u === void 0 && (u = 1),
                    i === void 0 && (i = 0.2),
                    o === void 0 && (o = !1),
                    h === void 0 && (h = 1),
                    l === void 0 && (l = 1),
                    f === void 0 && (f = 1),
                    c.call(this, a.BOKEH, e),
                    (this.radius = s),
                    (this.amount = u),
                    (this.contrast = i),
                    (this.isTiltShift = o),
                    (this.strength = f),
                    (this.blurX = h),
                    (this.blurY = l));
                },
              });
            d.exports = r;
          },
          69900: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(47551),
              a = t(47406),
              r = new A({
                Extends: c,
                initialize: function (e, s, u, i, o, h) {
                  (s === void 0 && (s = 8),
                    o === void 0 && (o = 1),
                    h === void 0 && (h = 0.005),
                    c.call(this, a.CIRCLE, e),
                    (this.scale = o),
                    (this.feather = h),
                    (this.thickness = s),
                    (this.glcolor = [1, 0.2, 0.7]),
                    (this.glcolor2 = [1, 0, 0, 0.4]),
                    u != null && (this.color = u),
                    i != null && (this.backgroundColor = i));
                },
                color: {
                  get: function () {
                    var n = this.glcolor;
                    return (
                      ((n[0] * 255) << 16) +
                      ((n[1] * 255) << 8) +
                      ((n[2] * 255) | 0)
                    );
                  },
                  set: function (n) {
                    var e = this.glcolor;
                    ((e[0] = ((n >> 16) & 255) / 255),
                      (e[1] = ((n >> 8) & 255) / 255),
                      (e[2] = (n & 255) / 255));
                  },
                },
                backgroundColor: {
                  get: function () {
                    var n = this.glcolor2;
                    return (
                      ((n[0] * 255) << 16) +
                      ((n[1] * 255) << 8) +
                      ((n[2] * 255) | 0)
                    );
                  },
                  set: function (n) {
                    var e = this.glcolor2;
                    ((e[0] = ((n >> 16) & 255) / 255),
                      (e[1] = ((n >> 8) & 255) / 255),
                      (e[2] = (n & 255) / 255));
                  },
                },
                backgroundAlpha: {
                  get: function () {
                    return this.glcolor2[3];
                  },
                  set: function (n) {
                    this.glcolor2[3] = n;
                  },
                },
              });
            d.exports = r;
          },
          48991: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(65246),
              a = t(47406),
              r = new A({
                Extends: c,
                initialize: function (e) {
                  (c.call(this),
                    (this.type = a.COLOR_MATRIX),
                    (this.gameObject = e),
                    (this.active = !0));
                },
                destroy: function () {
                  ((this.gameObject = null),
                    (this._matrix = null),
                    (this._data = null));
                },
              });
            d.exports = r;
          },
          47551: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = new A({
                initialize: function (r, n) {
                  ((this.type = r), (this.gameObject = n), (this.active = !0));
                },
                setActive: function (a) {
                  return (
                    (this.active = a),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                destroy: function () {
                  ((this.gameObject = null), (this.active = !1));
                },
              });
            d.exports = c;
          },
          47909: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(47551),
              a = t(47406),
              r = new A({
                Extends: c,
                initialize: function (e, s, u, i) {
                  (s === void 0 && (s = "__WHITE"),
                    u === void 0 && (u = 0.005),
                    i === void 0 && (i = 0.005),
                    c.call(this, a.DISPLACEMENT, e),
                    (this.x = u),
                    (this.y = i),
                    this.glTexture,
                    this.setTexture(s));
                },
                setTexture: function (n) {
                  var e = this.gameObject.scene.sys.textures.getFrame(n);
                  return (
                    e && (this.glTexture = e.glTexture),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
              });
            d.exports = r;
          },
          18919: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(47551),
              a = t(47406),
              r = new A({
                Extends: c,
                initialize: function (e, s, u, i, o) {
                  (u === void 0 && (u = 4),
                    i === void 0 && (i = 0),
                    o === void 0 && (o = !1),
                    c.call(this, a.GLOW, e),
                    (this.outerStrength = u),
                    (this.innerStrength = i),
                    (this.knockout = o),
                    (this.glcolor = [1, 1, 1, 1]),
                    s !== void 0 && (this.color = s));
                },
                color: {
                  get: function () {
                    var n = this.glcolor;
                    return (
                      ((n[0] * 255) << 16) +
                      ((n[1] * 255) << 8) +
                      ((n[2] * 255) | 0)
                    );
                  },
                  set: function (n) {
                    var e = this.glcolor;
                    ((e[0] = ((n >> 16) & 255) / 255),
                      (e[1] = ((n >> 8) & 255) / 255),
                      (e[2] = (n & 255) / 255));
                  },
                },
              });
            d.exports = r;
          },
          62494: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(47551),
              a = t(47406),
              r = new A({
                Extends: c,
                initialize: function (e, s, u, i, o, h, l, f, v) {
                  (i === void 0 && (i = 0.2),
                    o === void 0 && (o = 0),
                    h === void 0 && (h = 0),
                    l === void 0 && (l = 0),
                    f === void 0 && (f = 1),
                    v === void 0 && (v = 0),
                    c.call(this, a.GRADIENT, e),
                    (this.alpha = i),
                    (this.size = v),
                    (this.fromX = o),
                    (this.fromY = h),
                    (this.toX = l),
                    (this.toY = f),
                    (this.glcolor1 = [255, 0, 0]),
                    (this.glcolor2 = [0, 255, 0]),
                    s != null && (this.color1 = s),
                    u != null && (this.color2 = u));
                },
                color1: {
                  get: function () {
                    var n = this.glcolor1;
                    return (n[0] << 16) + (n[1] << 8) + (n[2] | 0);
                  },
                  set: function (n) {
                    var e = this.glcolor1;
                    ((e[0] = (n >> 16) & 255),
                      (e[1] = (n >> 8) & 255),
                      (e[2] = n & 255));
                  },
                },
                color2: {
                  get: function () {
                    var n = this.glcolor2;
                    return (n[0] << 16) + (n[1] << 8) + (n[2] | 0);
                  },
                  set: function (n) {
                    var e = this.glcolor2;
                    ((e[0] = (n >> 16) & 255),
                      (e[1] = (n >> 8) & 255),
                      (e[2] = n & 255));
                  },
                },
              });
            d.exports = r;
          },
          68897: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(47551),
              a = t(47406),
              r = new A({
                Extends: c,
                initialize: function (e, s) {
                  (s === void 0 && (s = 1),
                    c.call(this, a.PIXELATE, e),
                    (this.amount = s));
                },
              });
            d.exports = r;
          },
          58575: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(47551),
              a = t(47406),
              r = new A({
                Extends: c,
                initialize: function (e, s, u, i, o, h, l, f) {
                  (s === void 0 && (s = 0),
                    u === void 0 && (u = 0),
                    i === void 0 && (i = 0.1),
                    o === void 0 && (o = 1),
                    l === void 0 && (l = 6),
                    f === void 0 && (f = 1),
                    c.call(this, a.SHADOW, e),
                    (this.x = s),
                    (this.y = u),
                    (this.decay = i),
                    (this.power = o),
                    (this.glcolor = [0, 0, 0, 1]),
                    (this.samples = l),
                    (this.intensity = f),
                    h !== void 0 && (this.color = h));
                },
                color: {
                  get: function () {
                    var n = this.glcolor;
                    return (
                      ((n[0] * 255) << 16) +
                      ((n[1] * 255) << 8) +
                      ((n[2] * 255) | 0)
                    );
                  },
                  set: function (n) {
                    var e = this.glcolor;
                    ((e[0] = ((n >> 16) & 255) / 255),
                      (e[1] = ((n >> 8) & 255) / 255),
                      (e[2] = (n & 255) / 255));
                  },
                },
              });
            d.exports = r;
          },
          33755: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(47551),
              a = t(47406),
              r = new A({
                Extends: c,
                initialize: function (e, s, u, i, o) {
                  (s === void 0 && (s = 0.5),
                    u === void 0 && (u = 0.5),
                    i === void 0 && (i = 3),
                    o === void 0 && (o = !1),
                    c.call(this, a.SHINE, e),
                    (this.speed = s),
                    (this.lineWidth = u),
                    (this.gradient = i),
                    (this.reveal = o));
                },
              });
            d.exports = r;
          },
          24949: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(47551),
              a = t(47406),
              r = new A({
                Extends: c,
                initialize: function (e, s, u, i, o) {
                  (s === void 0 && (s = 0.5),
                    u === void 0 && (u = 0.5),
                    i === void 0 && (i = 0.5),
                    o === void 0 && (o = 0.5),
                    c.call(this, a.VIGNETTE, e),
                    (this.x = s),
                    (this.y = u),
                    (this.radius = i),
                    (this.strength = o));
                },
              });
            d.exports = r;
          },
          66241: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(47551),
              a = t(47406),
              r = new A({
                Extends: c,
                initialize: function (e, s, u, i, o) {
                  (s === void 0 && (s = 0.1),
                    u === void 0 && (u = 0),
                    i === void 0 && (i = 0),
                    o === void 0 && (o = !1),
                    c.call(this, a.WIPE, e),
                    (this.progress = 0),
                    (this.wipeWidth = s),
                    (this.direction = u),
                    (this.axis = i),
                    (this.reveal = o));
                },
              });
            d.exports = r;
          },
          47406: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              GLOW: 4,
              SHADOW: 5,
              PIXELATE: 6,
              VIGNETTE: 7,
              SHINE: 8,
              BLUR: 9,
              GRADIENT: 12,
              BLOOM: 13,
              COLOR_MATRIX: 14,
              CIRCLE: 15,
              BARREL: 16,
              DISPLACEMENT: 17,
              WIPE: 18,
              BOKEH: 19,
            };
            d.exports = y;
          },
          96910: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(98611),
              c = t(47406),
              a = {
                Barrel: t(20170),
                Controller: t(47551),
                Bloom: t(51182),
                Blur: t(51498),
                Bokeh: t(12042),
                Circle: t(69900),
                ColorMatrix: t(48991),
                Displacement: t(47909),
                Glow: t(18919),
                Gradient: t(62494),
                Pixelate: t(68897),
                Shadow: t(58575),
                Shine: t(33755),
                Vignette: t(24949),
                Wipe: t(66241),
              };
            ((a = A(!1, a, c)), (d.exports = a));
          },
          88933: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(95723),
              c = t(20494),
              a = function (r, n, e) {
                ((n.x = c(e, "x", 0)),
                  (n.y = c(e, "y", 0)),
                  (n.depth = c(e, "depth", 0)),
                  (n.flipX = c(e, "flipX", !1)),
                  (n.flipY = c(e, "flipY", !1)));
                var s = c(e, "scale", null);
                typeof s == "number"
                  ? n.setScale(s)
                  : s !== null &&
                    ((n.scaleX = c(s, "x", 1)), (n.scaleY = c(s, "y", 1)));
                var u = c(e, "scrollFactor", null);
                (typeof u == "number"
                  ? n.setScrollFactor(u)
                  : u !== null &&
                    ((n.scrollFactorX = c(u, "x", 1)),
                    (n.scrollFactorY = c(u, "y", 1))),
                  (n.rotation = c(e, "rotation", 0)));
                var i = c(e, "angle", null);
                (i !== null && (n.angle = i), (n.alpha = c(e, "alpha", 1)));
                var o = c(e, "origin", null);
                if (typeof o == "number") n.setOrigin(o);
                else if (o !== null) {
                  var h = c(o, "x", 0.5),
                    l = c(o, "y", 0.5);
                  n.setOrigin(h, l);
                }
                ((n.blendMode = c(e, "blendMode", A.NORMAL)),
                  (n.visible = c(e, "visible", !0)));
                var f = c(e, "add", !0);
                return (
                  f && r.sys.displayList.add(n),
                  n.preUpdate && r.sys.updateList.add(n),
                  n
                );
              };
            d.exports = a;
          },
          32291: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(20494),
              c = function (a, r) {
                var n = A(r, "anims", null);
                if (n === null) return a;
                if (typeof n == "string") a.anims.play(n);
                else if (typeof n == "object") {
                  var e = a.anims,
                    s = A(n, "key", void 0);
                  if (s) {
                    var u = A(n, "startFrame", void 0),
                      i = A(n, "delay", 0),
                      o = A(n, "repeat", 0),
                      h = A(n, "repeatDelay", 0),
                      l = A(n, "yoyo", !1),
                      f = A(n, "play", !1),
                      v = A(n, "delayedPlay", 0),
                      m = {
                        key: s,
                        delay: i,
                        repeat: o,
                        repeatDelay: h,
                        yoyo: l,
                        startFrame: u,
                      };
                    f ? e.play(m) : v > 0 ? e.playAfterDelay(m, v) : e.load(m);
                  }
                }
                return a;
              };
            d.exports = c;
          },
          91713: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(71207),
              a = t(91963),
              r = t(56631),
              n = t(7599),
              e = t(17922),
              s = new A({
                Extends: c,
                initialize: function (i) {
                  (c.call(this, i),
                    (this.sortChildrenFlag = !1),
                    (this.scene = i),
                    (this.systems = i.sys),
                    (this.events = i.sys.events),
                    (this.addCallback = this.addChildCallback),
                    (this.removeCallback = this.removeChildCallback),
                    this.events.once(
                      n.BOOT,
                      this.boot,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    this.events.on(
                      n.START,
                      this.start,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                boot: function () {
                  this.events.once(
                    n.DESTROY,
                    this.destroy,
                    _____WB$wombat$check$this$function_____(this),
                  );
                },
                addChildCallback: function (u) {
                  (u.displayList &&
                    u.displayList !==
                      _____WB$wombat$check$this$function_____(this) &&
                    u.removeFromDisplayList(),
                    u.parentContainer && u.parentContainer.remove(u),
                    u.displayList ||
                      (this.queueDepthSort(),
                      (u.displayList =
                        _____WB$wombat$check$this$function_____(this)),
                      u.emit(r.ADDED_TO_SCENE, u, this.scene),
                      this.events.emit(n.ADDED_TO_SCENE, u, this.scene)));
                },
                removeChildCallback: function (u) {
                  (this.queueDepthSort(),
                    (u.displayList = null),
                    u.emit(r.REMOVED_FROM_SCENE, u, this.scene),
                    this.events.emit(n.REMOVED_FROM_SCENE, u, this.scene));
                },
                start: function () {
                  this.events.once(
                    n.SHUTDOWN,
                    this.shutdown,
                    _____WB$wombat$check$this$function_____(this),
                  );
                },
                queueDepthSort: function () {
                  this.sortChildrenFlag = !0;
                },
                depthSort: function () {
                  this.sortChildrenFlag &&
                    (e(this.list, this.sortByDepth),
                    (this.sortChildrenFlag = !1));
                },
                sortByDepth: function (u, i) {
                  return u._depth - i._depth;
                },
                getChildren: function () {
                  return this.list;
                },
                shutdown: function () {
                  for (var u = this.list; u.length; ) u[0].destroy(!0);
                  this.events.off(
                    n.SHUTDOWN,
                    this.shutdown,
                    _____WB$wombat$check$this$function_____(this),
                  );
                },
                destroy: function () {
                  (this.shutdown(),
                    this.events.off(
                      n.START,
                      this.start,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    (this.scene = null),
                    (this.systems = null),
                    (this.events = null));
                },
              });
            (a.register("DisplayList", s, "displayList"), (d.exports = s));
          },
          89980: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(48129),
              a = t(81078),
              r = t(6659),
              n = t(56631),
              e = t(7599),
              s = new A({
                Extends: r,
                initialize: function (i, o) {
                  (r.call(this),
                    (this.scene = i),
                    (this.displayList = null),
                    (this.type = o),
                    (this.state = 0),
                    (this.parentContainer = null),
                    (this.name = ""),
                    (this.active = !0),
                    (this.tabIndex = -1),
                    (this.data = null),
                    (this.renderFlags = 15),
                    (this.cameraFilter = 0),
                    (this.input = null),
                    (this.body = null),
                    (this.ignoreDestroy = !1),
                    this.on(
                      n.ADDED_TO_SCENE,
                      this.addedToScene,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    this.on(
                      n.REMOVED_FROM_SCENE,
                      this.removedFromScene,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    i.sys.queueDepthSort());
                },
                setActive: function (u) {
                  return (
                    (this.active = u),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setName: function (u) {
                  return (
                    (this.name = u),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setState: function (u) {
                  return (
                    (this.state = u),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setDataEnabled: function () {
                  return (
                    this.data || (this.data = new a(this)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setData: function (u, i) {
                  return (
                    this.data || (this.data = new a(this)),
                    this.data.set(u, i),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                incData: function (u, i) {
                  return (
                    this.data || (this.data = new a(this)),
                    this.data.inc(u, i),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                toggleData: function (u) {
                  return (
                    this.data || (this.data = new a(this)),
                    this.data.toggle(u),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getData: function (u) {
                  return (
                    this.data || (this.data = new a(this)),
                    this.data.get(u)
                  );
                },
                setInteractive: function (u, i, o) {
                  return (
                    this.scene.sys.input.enable(this, u, i, o),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                disableInteractive: function () {
                  return (
                    this.scene.sys.input.disable(this),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                removeInteractive: function () {
                  return (
                    this.scene.sys.input.clear(this),
                    (this.input = void 0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                addedToScene: function () {},
                removedFromScene: function () {},
                update: function () {},
                toJSON: function () {
                  return c(this);
                },
                willRender: function (u) {
                  var i =
                    this.displayList && this.displayList.active
                      ? this.displayList.willRender(u)
                      : !0;
                  return !(
                    !i ||
                    s.RENDER_MASK !== this.renderFlags ||
                    (this.cameraFilter !== 0 && this.cameraFilter & u.id)
                  );
                },
                getIndexList: function () {
                  for (
                    var u = _____WB$wombat$check$this$function_____(this),
                      i = this.parentContainer,
                      o = [];
                    i && (o.unshift(i.getIndex(u)), (u = i), i.parentContainer);
                  )
                    i = i.parentContainer;
                  return (
                    this.displayList
                      ? o.unshift(this.displayList.getIndex(u))
                      : o.unshift(this.scene.sys.displayList.getIndex(u)),
                    o
                  );
                },
                addToDisplayList: function (u) {
                  return (
                    u === void 0 && (u = this.scene.sys.displayList),
                    this.displayList &&
                      this.displayList !== u &&
                      this.removeFromDisplayList(),
                    u.exists(this) ||
                      ((this.displayList = u),
                      u.add(this, !0),
                      u.queueDepthSort(),
                      this.emit(
                        n.ADDED_TO_SCENE,
                        _____WB$wombat$check$this$function_____(this),
                        this.scene,
                      ),
                      u.events.emit(
                        e.ADDED_TO_SCENE,
                        _____WB$wombat$check$this$function_____(this),
                        this.scene,
                      )),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                addToUpdateList: function () {
                  return (
                    this.scene &&
                      this.preUpdate &&
                      this.scene.sys.updateList.add(this),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                removeFromDisplayList: function () {
                  var u = this.displayList || this.scene.sys.displayList;
                  return (
                    u &&
                      u.exists(this) &&
                      (u.remove(this, !0),
                      u.queueDepthSort(),
                      (this.displayList = null),
                      this.emit(
                        n.REMOVED_FROM_SCENE,
                        _____WB$wombat$check$this$function_____(this),
                        this.scene,
                      ),
                      u.events.emit(
                        e.REMOVED_FROM_SCENE,
                        _____WB$wombat$check$this$function_____(this),
                        this.scene,
                      )),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                removeFromUpdateList: function () {
                  return (
                    this.scene &&
                      this.preUpdate &&
                      this.scene.sys.updateList.remove(this),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                destroy: function (u) {
                  !this.scene ||
                    this.ignoreDestroy ||
                    (u === void 0 && (u = !1),
                    this.preDestroy && this.preDestroy.call(this),
                    this.emit(
                      n.DESTROY,
                      _____WB$wombat$check$this$function_____(this),
                      u,
                    ),
                    this.removeAllListeners(),
                    this.postPipelines && this.resetPostPipeline(!0),
                    this.removeFromDisplayList(),
                    this.removeFromUpdateList(),
                    this.input &&
                      (this.scene.sys.input.clear(this), (this.input = void 0)),
                    this.data && (this.data.destroy(), (this.data = void 0)),
                    this.body && (this.body.destroy(), (this.body = void 0)),
                    this.preFX && (this.preFX.destroy(), (this.preFX = void 0)),
                    this.postFX &&
                      (this.postFX.destroy(), (this.postFX = void 0)),
                    (this.active = !1),
                    (this.visible = !1),
                    (this.scene = void 0),
                    (this.parentContainer = void 0));
                },
              });
            ((s.RENDER_MASK = 15), (d.exports = s));
          },
          99325: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(91963),
              a = t(7599),
              r = new A({
                initialize: function (e) {
                  ((this.scene = e),
                    (this.systems = e.sys),
                    (this.events = e.sys.events),
                    this.displayList,
                    this.updateList,
                    this.events.once(
                      a.BOOT,
                      this.boot,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    this.events.on(
                      a.START,
                      this.start,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                boot: function () {
                  ((this.displayList = this.systems.displayList),
                    (this.updateList = this.systems.updateList),
                    this.events.once(
                      a.DESTROY,
                      this.destroy,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                start: function () {
                  this.events.once(
                    a.SHUTDOWN,
                    this.shutdown,
                    _____WB$wombat$check$this$function_____(this),
                  );
                },
                shutdown: function () {
                  this.events.off(
                    a.SHUTDOWN,
                    this.shutdown,
                    _____WB$wombat$check$this$function_____(this),
                  );
                },
                destroy: function () {
                  (this.shutdown(),
                    this.events.off(
                      a.START,
                      this.start,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    (this.scene = null),
                    (this.systems = null),
                    (this.events = null),
                    (this.displayList = null),
                    (this.updateList = null));
                },
              });
            ((r.register = function (n, e) {
              r.prototype.hasOwnProperty(n) || (r.prototype[n] = e);
            }),
              (r.remove = function (n) {
                r.prototype.hasOwnProperty(n) && delete r.prototype[n];
              }),
              c.register("GameObjectCreator", r, "make"),
              (d.exports = r));
          },
          61286: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(91963),
              a = t(7599),
              r = new A({
                initialize: function (e) {
                  ((this.scene = e),
                    (this.systems = e.sys),
                    (this.events = e.sys.events),
                    this.displayList,
                    this.updateList,
                    this.events.once(
                      a.BOOT,
                      this.boot,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    this.events.on(
                      a.START,
                      this.start,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                boot: function () {
                  ((this.displayList = this.systems.displayList),
                    (this.updateList = this.systems.updateList),
                    this.events.once(
                      a.DESTROY,
                      this.destroy,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                start: function () {
                  this.events.once(
                    a.SHUTDOWN,
                    this.shutdown,
                    _____WB$wombat$check$this$function_____(this),
                  );
                },
                existing: function (n) {
                  return (
                    (n.renderCanvas || n.renderWebGL) &&
                      this.displayList.add(n),
                    n.preUpdate && this.updateList.add(n),
                    n
                  );
                },
                shutdown: function () {
                  this.events.off(
                    a.SHUTDOWN,
                    this.shutdown,
                    _____WB$wombat$check$this$function_____(this),
                  );
                },
                destroy: function () {
                  (this.shutdown(),
                    this.events.off(
                      a.START,
                      this.start,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    (this.scene = null),
                    (this.systems = null),
                    (this.events = null),
                    (this.displayList = null),
                    (this.updateList = null));
                },
              });
            ((r.register = function (n, e) {
              r.prototype.hasOwnProperty(n) || (r.prototype[n] = e);
            }),
              (r.remove = function (n) {
                r.prototype.hasOwnProperty(n) && delete r.prototype[n];
              }),
              c.register("GameObjectFactory", r, "add"),
              (d.exports = r));
          },
          73329: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(69360),
              c = new A(),
              a = new A(),
              r = new A(),
              n = { camera: c, sprite: a, calc: r },
              e = function (s, u, i) {
                var o = c,
                  h = a,
                  l = r;
                return (
                  h.applyITRS(s.x, s.y, s.rotation, s.scaleX, s.scaleY),
                  o.copyFrom(u.matrix),
                  i
                    ? (o.multiplyWithOffset(
                        i,
                        -u.scrollX * s.scrollFactorX,
                        -u.scrollY * s.scrollFactorY,
                      ),
                      (h.e = s.x),
                      (h.f = s.y))
                    : ((h.e -= u.scrollX * s.scrollFactorX),
                      (h.f -= u.scrollY * s.scrollFactorY)),
                  o.multiply(h, l),
                  n
                );
              };
            d.exports = e;
          },
          92034: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(74623),
              a = t(91963),
              r = t(7599),
              n = new A({
                Extends: c,
                initialize: function (s) {
                  (c.call(this),
                    (this.checkQueue = !0),
                    (this.scene = s),
                    (this.systems = s.sys),
                    s.sys.events.once(
                      r.BOOT,
                      this.boot,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    s.sys.events.on(
                      r.START,
                      this.start,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                boot: function () {
                  this.systems.events.once(
                    r.DESTROY,
                    this.destroy,
                    _____WB$wombat$check$this$function_____(this),
                  );
                },
                start: function () {
                  var e = this.systems.events;
                  (e.on(
                    r.PRE_UPDATE,
                    this.update,
                    _____WB$wombat$check$this$function_____(this),
                  ),
                    e.on(
                      r.UPDATE,
                      this.sceneUpdate,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    e.once(
                      r.SHUTDOWN,
                      this.shutdown,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                sceneUpdate: function (e, s) {
                  for (var u = this._active, i = u.length, o = 0; o < i; o++) {
                    var h = u[o];
                    h.active && h.preUpdate.call(h, e, s);
                  }
                },
                shutdown: function () {
                  for (var e = this._active.length; e--; )
                    this._active[e].destroy(!0);
                  for (e = this._pending.length; e--; )
                    this._pending[e].destroy(!0);
                  for (e = this._destroy.length; e--; )
                    this._destroy[e].destroy(!0);
                  ((this._toProcess = 0),
                    (this._pending = []),
                    (this._active = []),
                    (this._destroy = []),
                    this.removeAllListeners());
                  var s = this.systems.events;
                  (s.off(
                    r.PRE_UPDATE,
                    this.update,
                    _____WB$wombat$check$this$function_____(this),
                  ),
                    s.off(
                      r.UPDATE,
                      this.sceneUpdate,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    s.off(
                      r.SHUTDOWN,
                      this.shutdown,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                destroy: function () {
                  (this.shutdown(),
                    this.systems.events.off(
                      r.START,
                      this.start,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    (this.scene = null),
                    (this.systems = null));
                },
              });
            (a.register("UpdateList", n, "updateList"), (d.exports = n));
          },
          8810: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a, r, n, e, s, u, i, o, h, l, f, v) {
              var m = c.x - A.displayOriginX + r,
                x = c.y - A.displayOriginY + n,
                g = m + c.w,
                C = x + c.h,
                T = e.getXRound(m, x, s),
                F = e.getYRound(m, x, s),
                w = e.getXRound(m, C, s),
                U = e.getYRound(m, C, s),
                M = e.getXRound(g, C, s),
                I = e.getYRound(g, C, s),
                O = e.getXRound(g, x, s),
                D = e.getYRound(g, x, s);
              t.batchQuad(
                A,
                T,
                F,
                w,
                U,
                M,
                I,
                O,
                D,
                a.u0,
                a.v0,
                a.u1,
                a.v1,
                u,
                i,
                o,
                h,
                l,
                f,
                v,
              );
            };
            d.exports = y;
          },
          82173: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              if ((c === void 0 && (c = !1), a === void 0))
                return (
                  (a = {
                    local: { x: 0, y: 0, width: 0, height: 0 },
                    global: { x: 0, y: 0, width: 0, height: 0 },
                    lines: {
                      shortest: 0,
                      longest: 0,
                      lengths: null,
                      height: 0,
                    },
                    wrappedText: "",
                    words: [],
                    characters: [],
                    scaleX: 0,
                    scaleY: 0,
                  }),
                  a
                );
              var r = t.text,
                n = r.length,
                e = t.maxWidth,
                s = t.wordWrapCharCode,
                u = Number.MAX_VALUE,
                i = Number.MAX_VALUE,
                o = 0,
                h = 0,
                l = t.fontData.chars,
                f = t.fontData.lineHeight,
                v = t.letterSpacing,
                m = t.lineSpacing,
                x = 0,
                g = 0,
                C = 0,
                T = null,
                F = t._align,
                w = 0,
                U = 0,
                M = t.fontSize / t.fontData.size,
                I = M * t.scaleX,
                O = M * t.scaleY,
                D = null,
                G = 0,
                X = [],
                z = Number.MAX_VALUE,
                K = 0,
                N = 0,
                b = 0,
                R,
                H = [],
                Q = [],
                V = null;
              if (e > 0) {
                for (R = 0; R < n; R++) {
                  if (((C = r.charCodeAt(R)), C === 10)) {
                    (V !== null &&
                      (H.push({
                        word: V.word,
                        i: V.i,
                        x: V.x * I,
                        y: V.y * O,
                        w: V.w * I,
                        h: V.h * O,
                        cr: !0,
                      }),
                      (V = null)),
                      (x = 0),
                      (g += f + m),
                      (D = null));
                    continue;
                  }
                  if (((T = l[C]), !!T)) {
                    if (D !== null) var Y = T.kerning[G];
                    (C === s
                      ? V !== null &&
                        (H.push({
                          word: V.word,
                          i: V.i,
                          x: V.x * I,
                          y: V.y * O,
                          w: V.w * I,
                          h: V.h * O,
                          cr: !1,
                        }),
                        (V = null))
                      : (V === null &&
                          (V = { word: "", i: R, x, y: g, w: 0, h: f, cr: !1 }),
                        (V.word = V.word.concat(r[R])),
                        (V.w +=
                          T.xOffset + T.xAdvance + (Y !== void 0 ? Y : 0))),
                      (x += T.xAdvance + v),
                      (D = T),
                      (G = C));
                  }
                }
                (V !== null &&
                  H.push({
                    word: V.word,
                    i: V.i,
                    x: V.x * I,
                    y: V.y * O,
                    w: V.w * I,
                    h: V.h * O,
                    cr: !1,
                  }),
                  (x = 0),
                  (g = 0),
                  (D = null),
                  (G = 0));
                var J,
                  $ = 0,
                  W = [];
                for (R = 0; R < H.length; R++) {
                  var Z = H[R],
                    j = Z.x,
                    k = Z.x + Z.w;
                  if (J) {
                    var _ = j - (J.x + J.w);
                    (($ = j - (_ + J.w)), (J = null));
                  }
                  var q = j - $,
                    et = k - $;
                  q > e || et > e
                    ? (W.push(Z.i - 1),
                      Z.cr
                        ? (W.push(Z.i + Z.word.length), ($ = 0), (J = null))
                        : (J = Z))
                    : Z.cr &&
                      (W.push(Z.i + Z.word.length), ($ = 0), (J = null));
                }
                var st = function (St, Ht, Xt) {
                  return St.substr(0, Ht) + Xt + St.substr(Ht + 1);
                };
                for (R = W.length - 1; R >= 0; R--)
                  r = st(
                    r,
                    W[R],
                    `
`,
                  );
                ((a.wrappedText = r), (n = r.length), (H = []), (V = null));
              }
              var nt = 0;
              for (R = 0; R < n; R++) {
                if (((C = r.charCodeAt(R)), C === 10)) {
                  (V !== null &&
                    (H.push({
                      word: V.word,
                      i: V.i,
                      x: V.x * I,
                      y: V.y * O,
                      w: V.w * I,
                      h: V.h * O,
                    }),
                    (V = null)),
                    (x = 0),
                    (g += f + m),
                    (D = null),
                    (X[N] = b),
                    b > K && (K = b),
                    b < z && (z = b),
                    N++,
                    (b = 0));
                  continue;
                }
                if (((T = l[C]), !!T)) {
                  if (((w = x), (U = g), D !== null)) {
                    var it = T.kerning[G];
                    w += it !== void 0 ? it : 0;
                  }
                  (u > w && (u = w), i > U && (i = U));
                  var tt = w + T.xAdvance,
                    rt = U + f;
                  (o < tt && (o = tt), h < rt && (h = rt));
                  var at = T.xOffset + T.xAdvance + (it !== void 0 ? it : 0);
                  (C === s
                    ? V !== null &&
                      (H.push({
                        word: V.word,
                        i: V.i,
                        x: V.x * I,
                        y: V.y * O,
                        w: V.w * I,
                        h: V.h * O,
                      }),
                      (V = null))
                    : (V === null &&
                        (V = { word: "", i: nt, x, y: g, w: 0, h: f }),
                      (V.word = V.word.concat(r[R])),
                      (V.w += at)),
                    Q.push({
                      i: nt,
                      idx: R,
                      char: r[R],
                      code: C,
                      x: (T.xOffset + w) * M,
                      y: (T.yOffset + g) * M,
                      w: T.width * M,
                      h: T.height * M,
                      t: g * M,
                      r: tt * M,
                      b: f * M,
                      line: N,
                      glyph: T,
                    }),
                    (x += T.xAdvance + v + (it !== void 0 ? it : 0)),
                    (D = T),
                    (G = C),
                    (b = tt * M),
                    nt++);
                }
              }
              if (
                (V !== null &&
                  H.push({
                    word: V.word,
                    i: V.i,
                    x: V.x * I,
                    y: V.y * O,
                    w: V.w * I,
                    h: V.h * O,
                  }),
                (X[N] = b),
                b > K && (K = b),
                b < z && (z = b),
                F > 0)
              )
                for (var ot = 0; ot < Q.length; ot++) {
                  var lt = Q[ot];
                  if (F === 1) {
                    var vt = (K - X[lt.line]) / 2;
                    ((lt.x += vt), (lt.r += vt));
                  } else if (F === 2) {
                    var dt = K - X[lt.line];
                    ((lt.x += dt), (lt.r += dt));
                  }
                }
              var ct = a.local,
                pt = a.global,
                Ut = a.lines;
              return (
                (ct.x = u * M),
                (ct.y = i * M),
                (ct.width = o * M),
                (ct.height = h * M),
                (pt.x = t.x - t._displayOriginX + u * I),
                (pt.y = t.y - t._displayOriginY + i * O),
                (pt.width = o * I),
                (pt.height = h * O),
                (Ut.shortest = z),
                (Ut.longest = K),
                (Ut.lengths = X),
                A &&
                  ((ct.x = Math.ceil(ct.x)),
                  (ct.y = Math.ceil(ct.y)),
                  (ct.width = Math.ceil(ct.width)),
                  (ct.height = Math.ceil(ct.height)),
                  (pt.x = Math.ceil(pt.x)),
                  (pt.y = Math.ceil(pt.y)),
                  (pt.width = Math.ceil(pt.width)),
                  (pt.height = Math.ceil(pt.height)),
                  (Ut.shortest = Math.ceil(z)),
                  (Ut.longest = Math.ceil(K))),
                c &&
                  ((t._displayOriginX = t.originX * ct.width),
                  (t._displayOriginY = t.originY * ct.height),
                  (pt.x = t.x - t._displayOriginX * t.scaleX),
                  (pt.y = t.y - t._displayOriginY * t.scaleY),
                  A && ((pt.x = Math.ceil(pt.x)), (pt.y = Math.ceil(pt.y)))),
                (a.words = H),
                (a.characters = Q),
                (a.lines.height = f),
                (a.scale = M),
                (a.scaleX = t.scaleX),
                (a.scaleY = t.scaleY),
                a
              );
            };
            d.exports = y;
          },
          68298: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(31476),
              c = function (a, r, n, e, s, u, i) {
                var o = a.sys.textures.get(n),
                  h = o.get(e),
                  l = a.sys.cache.xml.get(s);
                if (h && l) {
                  var f = A(l, h, u, i, o);
                  return (
                    a.sys.cache.bitmapFont.add(r, {
                      data: f,
                      texture: n,
                      frame: e,
                      fromAtlas: !0,
                    }),
                    !0
                  );
                } else return !1;
              };
            d.exports = c;
          },
          39860: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(10850),
              c = function (a, r) {
                var n = r.width,
                  e = r.height,
                  s = Math.floor(n / 2),
                  u = Math.floor(e / 2),
                  i = A(r, "chars", "");
                if (i !== "") {
                  var o = A(r, "image", ""),
                    h = a.sys.textures.getFrame(o),
                    l = h.cutX,
                    f = h.cutY,
                    v = h.source.width,
                    m = h.source.height,
                    x = A(r, "offset.x", 0),
                    g = A(r, "offset.y", 0),
                    C = A(r, "spacing.x", 0),
                    T = A(r, "spacing.y", 0),
                    F = A(r, "lineSpacing", 0),
                    w = A(r, "charsPerRow", null);
                  w === null && ((w = v / n), w > i.length && (w = i.length));
                  for (
                    var U = x,
                      M = g,
                      I = {
                        retroFont: !0,
                        font: o,
                        size: n,
                        lineHeight: e + F,
                        chars: {},
                      },
                      O = 0,
                      D = 0;
                    D < i.length;
                    D++
                  ) {
                    var G = i.charCodeAt(D),
                      X = (l + U) / v,
                      z = (f + M) / m,
                      K = (l + U + n) / v,
                      N = (f + M + e) / m;
                    ((I.chars[G] = {
                      x: U,
                      y: M,
                      width: n,
                      height: e,
                      centerX: s,
                      centerY: u,
                      xOffset: 0,
                      yOffset: 0,
                      xAdvance: n,
                      data: {},
                      kerning: {},
                      u0: X,
                      v0: z,
                      u1: K,
                      v1: N,
                    }),
                      O++,
                      O === w
                        ? ((O = 0), (U = x), (M += e + T))
                        : (U += n + C));
                  }
                  var b = { data: I, frame: null, texture: o };
                  return b;
                }
              };
            d.exports = c;
          },
          31476: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ function y(A, c) {
              return parseInt(A.getAttribute(c), 10);
            }
            var t = function (A, c, a, r, n) {
              (a === void 0 && (a = 0), r === void 0 && (r = 0));
              var e = c.cutX,
                s = c.cutY,
                u = c.source.width,
                i = c.source.height,
                o = c.sourceIndex,
                h = {},
                l = A.getElementsByTagName("info")[0],
                f = A.getElementsByTagName("common")[0];
              ((h.font = l.getAttribute("face")),
                (h.size = y(l, "size")),
                (h.lineHeight = y(f, "lineHeight") + r),
                (h.chars = {}));
              var v = A.getElementsByTagName("char"),
                m = c !== void 0 && c.trimmed;
              if (m)
                var x = c.height,
                  g = c.width;
              for (var C = 0; C < v.length; C++) {
                var T = v[C],
                  F = y(T, "id"),
                  w = String.fromCharCode(F),
                  U = y(T, "x"),
                  M = y(T, "y"),
                  I = y(T, "width"),
                  O = y(T, "height");
                (m && (U < g && (g = U), M < x && (x = M)),
                  m && x !== 0 && g !== 0 && ((U -= c.x), (M -= c.y)));
                var D = (e + U) / u,
                  G = (s + M) / i,
                  X = (e + U + I) / u,
                  z = (s + M + O) / i;
                if (
                  ((h.chars[F] = {
                    x: U,
                    y: M,
                    width: I,
                    height: O,
                    centerX: Math.floor(I / 2),
                    centerY: Math.floor(O / 2),
                    xOffset: y(T, "xoffset"),
                    yOffset: y(T, "yoffset"),
                    xAdvance: y(T, "xadvance") + a,
                    data: {},
                    kerning: {},
                    u0: D,
                    v0: G,
                    u1: X,
                    v1: z,
                  }),
                  n && I !== 0 && O !== 0)
                ) {
                  var K = n.add(w, o, U, M, I, O);
                  K && K.setUVs(I, O, D, G, X, z);
                }
              }
              var N = A.getElementsByTagName("kerning");
              for (C = 0; C < N.length; C++) {
                var b = N[C],
                  R = y(b, "first"),
                  H = y(b, "second"),
                  Q = y(b, "amount");
                h.chars[H].kerning[R] = Q;
              }
              return h;
            };
            d.exports = t;
          },
          55873: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(66863),
              c = t(98611),
              a = { Parse: t(39860) };
            ((a = c(!1, a, A)), (d.exports = a));
          },
          66863: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              TEXT_SET1:
                " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~",
              TEXT_SET2: ` !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ`,
              TEXT_SET3: "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 ",
              TEXT_SET4: "ABCDEFGHIJKLMNOPQRSTUVWXYZ 0123456789",
              TEXT_SET5: "ABCDEFGHIJKLMNOPQRSTUVWXYZ.,/() '!?-*:0123456789",
              TEXT_SET6: `ABCDEFGHIJKLMNOPQRSTUVWXYZ!?:;0123456789"(),-.' `,
              TEXT_SET7: `AGMSY+:4BHNTZ!;5CIOU.?06DJPV,(17EKQW")28FLRX-'39`,
              TEXT_SET8: "0123456789 .ABCDEFGHIJKLMNOPQRSTUVWXYZ",
              TEXT_SET9: `ABCDEFGHIJKLMNOPQRSTUVWXYZ()-0123456789.:,'"?!`,
              TEXT_SET10: "ABCDEFGHIJKLMNOPQRSTUVWXYZ",
              TEXT_SET11: `ABCDEFGHIJKLMNOPQRSTUVWXYZ.,"-+!?()':;0123456789`,
            };
            d.exports = y;
          },
          13468: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(44616),
              c = t(56694),
              a = t(88899),
              r = new c({
                Extends: A,
                Mixins: [a],
                initialize: function (e, s, u, i, o, h, l) {
                  (A.call(this, e, s, u, i, o, h, l),
                    (this.type = "DynamicBitmapText"),
                    (this.scrollX = 0),
                    (this.scrollY = 0),
                    (this.cropWidth = 0),
                    (this.cropHeight = 0),
                    this.displayCallback,
                    (this.callbackData = {
                      parent: this,
                      color: 0,
                      tint: {
                        topLeft: 0,
                        topRight: 0,
                        bottomLeft: 0,
                        bottomRight: 0,
                      },
                      index: 0,
                      charCode: 0,
                      x: 0,
                      y: 0,
                      scale: 0,
                      rotation: 0,
                      data: 0,
                    }));
                },
                setSize: function (n, e) {
                  return (
                    (this.cropWidth = n),
                    (this.cropHeight = e),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setDisplayCallback: function (n) {
                  return (
                    (this.displayCallback = n),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setScrollX: function (n) {
                  return (
                    (this.scrollX = n),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setScrollY: function (n) {
                  return (
                    (this.scrollY = n),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
              });
            d.exports = r;
          },
          93438: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(49584),
              c = function (a, r, n, e) {
                var s = r._text,
                  u = s.length,
                  i = a.currentContext;
                if (!(u === 0 || !A(a, i, r, n, e))) {
                  n.addToRenderList(r);
                  var o = r.fromAtlas ? r.frame : r.texture.frames.__BASE,
                    h = r.displayCallback,
                    l = r.callbackData,
                    f = r.fontData.chars,
                    v = r.fontData.lineHeight,
                    m = r._letterSpacing,
                    x = 0,
                    g = 0,
                    C = 0,
                    T = null,
                    F = 0,
                    w = 0,
                    U = 0,
                    M = 0,
                    I = 0,
                    O = 0,
                    D = null,
                    G = 0,
                    X = r.frame.source.image,
                    z = o.cutX,
                    K = o.cutY,
                    N = 0,
                    b = 0,
                    R = r._fontSize / r.fontData.size,
                    H = r._align,
                    Q = 0,
                    V = 0;
                  r.getTextBounds(!1);
                  var Y = r._bounds.lines;
                  (H === 1
                    ? (V = (Y.longest - Y.lengths[0]) / 2)
                    : H === 2 && (V = Y.longest - Y.lengths[0]),
                    i.translate(-r.displayOriginX, -r.displayOriginY));
                  var J = n.roundPixels;
                  r.cropWidth > 0 &&
                    r.cropHeight > 0 &&
                    (i.beginPath(),
                    i.rect(0, 0, r.cropWidth, r.cropHeight),
                    i.clip());
                  for (var $ = 0; $ < u; $++) {
                    if (((b = R), (N = 0), (C = s.charCodeAt($)), C === 10)) {
                      (Q++,
                        H === 1
                          ? (V = (Y.longest - Y.lengths[Q]) / 2)
                          : H === 2 && (V = Y.longest - Y.lengths[Q]),
                        (x = 0),
                        (g += v),
                        (D = null));
                      continue;
                    }
                    if (((T = f[C]), !!T)) {
                      if (
                        ((F = z + T.x),
                        (w = K + T.y),
                        (U = T.width),
                        (M = T.height),
                        (I = T.xOffset + x - r.scrollX),
                        (O = T.yOffset + g - r.scrollY),
                        D !== null)
                      ) {
                        var W = T.kerning[G];
                        I += W !== void 0 ? W : 0;
                      }
                      if (h) {
                        ((l.index = $),
                          (l.charCode = C),
                          (l.x = I),
                          (l.y = O),
                          (l.scale = b),
                          (l.rotation = N),
                          (l.data = T.data));
                        var Z = h(l);
                        ((I = Z.x), (O = Z.y), (b = Z.scale), (N = Z.rotation));
                      }
                      ((I *= b),
                        (O *= b),
                        (I += V),
                        (x += T.xAdvance + m + (W !== void 0 ? W : 0)),
                        (D = T),
                        (G = C),
                        !(U === 0 || M === 0 || C === 32) &&
                          (J && ((I = Math.round(I)), (O = Math.round(O))),
                          i.save(),
                          i.translate(I, O),
                          i.rotate(N),
                          i.scale(b, b),
                          i.drawImage(X, F, w, U, M, 0, 0, U, M),
                          i.restore()));
                    }
                  }
                  i.restore();
                }
              };
            d.exports = c;
          },
          67513: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(13468),
              c = t(88933),
              a = t(99325),
              r = t(20494);
            a.register("dynamicBitmapText", function (n, e) {
              n === void 0 && (n = {});
              var s = r(n, "font", ""),
                u = r(n, "text", ""),
                i = r(n, "size", !1),
                o = new A(this.scene, 0, 0, s, u, i);
              return (e !== void 0 && (n.add = e), c(this.scene, o, n), o);
            });
          },
          94145: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(13468),
              c = t(61286);
            c.register("dynamicBitmapText", function (a, r, n, e, s) {
              return this.displayList.add(new A(this.scene, a, r, n, e, s));
            });
          },
          88899: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72283),
              c = A,
              a = A;
            ((c = t(16873)),
              (a = t(93438)),
              (d.exports = { renderWebGL: c, renderCanvas: a }));
          },
          16873: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(73329),
              c = t(69360),
              a = t(75512),
              r = new c(),
              n = function (e, s, u, i) {
                var o = s.text,
                  h = o.length;
                if (h !== 0) {
                  u.addToRenderList(s);
                  var l = e.pipelines.set(s.pipeline, s),
                    f = A(s, u, i);
                  e.pipelines.preBatch(s);
                  var v = f.sprite,
                    m = f.calc,
                    x = r,
                    g = s.cropWidth > 0 || s.cropHeight > 0;
                  g &&
                    (l.flush(),
                    e.pushScissor(
                      m.tx,
                      m.ty,
                      s.cropWidth * m.scaleX,
                      s.cropHeight * m.scaleY,
                    ));
                  var C = s.frame,
                    T = C.glTexture,
                    F = s.tintFill,
                    w = a.getTintAppendFloatAlpha(
                      s.tintTopLeft,
                      u.alpha * s._alphaTL,
                    ),
                    U = a.getTintAppendFloatAlpha(
                      s.tintTopRight,
                      u.alpha * s._alphaTR,
                    ),
                    M = a.getTintAppendFloatAlpha(
                      s.tintBottomLeft,
                      u.alpha * s._alphaBL,
                    ),
                    I = a.getTintAppendFloatAlpha(
                      s.tintBottomRight,
                      u.alpha * s._alphaBR,
                    ),
                    O = l.setGameObject(s),
                    D = 0,
                    G = 0,
                    X = 0,
                    z = 0,
                    K = s.letterSpacing,
                    N,
                    b = 0,
                    R = 0,
                    H,
                    Q = s.scrollX,
                    V = s.scrollY,
                    Y = s.fontData,
                    J = Y.chars,
                    $ = Y.lineHeight,
                    W = s.fontSize / Y.size,
                    Z = 0,
                    j = s._align,
                    k = 0,
                    _ = 0,
                    q = s.getTextBounds(!1);
                  s.maxWidth > 0 && ((o = q.wrappedText), (h = o.length));
                  var et = s._bounds.lines;
                  j === 1
                    ? (_ = (et.longest - et.lengths[0]) / 2)
                    : j === 2 && (_ = et.longest - et.lengths[0]);
                  for (
                    var st = u.roundPixels,
                      nt = s.displayCallback,
                      it = s.callbackData,
                      tt = 0;
                    tt < h;
                    tt++
                  ) {
                    if (((X = o.charCodeAt(tt)), X === 10)) {
                      (k++,
                        j === 1
                          ? (_ = (et.longest - et.lengths[k]) / 2)
                          : j === 2 && (_ = et.longest - et.lengths[k]),
                        (D = 0),
                        (G += $),
                        (H = null));
                      continue;
                    }
                    if (((N = J[X]), !!N)) {
                      ((b = N.width), (R = N.height));
                      var rt = N.xOffset + D - Q,
                        at = N.yOffset + G - V;
                      if (H !== null) {
                        var ot = N.kerning[z];
                        rt += ot !== void 0 ? ot : 0;
                      }
                      if (
                        ((D += N.xAdvance + K),
                        (H = N),
                        (z = X),
                        !(b === 0 || R === 0 || X === 32))
                      ) {
                        if (((W = s.fontSize / s.fontData.size), (Z = 0), nt)) {
                          ((it.color = 0),
                            (it.tint.topLeft = w),
                            (it.tint.topRight = U),
                            (it.tint.bottomLeft = M),
                            (it.tint.bottomRight = I),
                            (it.index = tt),
                            (it.charCode = X),
                            (it.x = rt),
                            (it.y = at),
                            (it.scale = W),
                            (it.rotation = Z),
                            (it.data = N.data));
                          var lt = nt(it);
                          ((rt = lt.x),
                            (at = lt.y),
                            (W = lt.scale),
                            (Z = lt.rotation),
                            lt.color
                              ? ((w = lt.color),
                                (U = lt.color),
                                (M = lt.color),
                                (I = lt.color))
                              : ((w = lt.tint.topLeft),
                                (U = lt.tint.topRight),
                                (M = lt.tint.bottomLeft),
                                (I = lt.tint.bottomRight)),
                            (w = a.getTintAppendFloatAlpha(
                              w,
                              u.alpha * s._alphaTL,
                            )),
                            (U = a.getTintAppendFloatAlpha(
                              U,
                              u.alpha * s._alphaTR,
                            )),
                            (M = a.getTintAppendFloatAlpha(
                              M,
                              u.alpha * s._alphaBL,
                            )),
                            (I = a.getTintAppendFloatAlpha(
                              I,
                              u.alpha * s._alphaBR,
                            )));
                        }
                        ((rt *= W),
                          (at *= W),
                          (rt -= s.displayOriginX),
                          (at -= s.displayOriginY),
                          (rt += _),
                          x.applyITRS(rt, at, Z, W, W),
                          m.multiply(x, v));
                        var vt = N.u0,
                          dt = N.v0,
                          ct = N.u1,
                          pt = N.v1,
                          Ut = b,
                          St = R,
                          Ht = v.e,
                          Xt = v.f,
                          Lt = St * v.c + v.e,
                          $t = St * v.d + v.f,
                          Re = Ut * v.a + St * v.c + v.e,
                          gi = Ut * v.b + St * v.d + v.f,
                          mi = Ut * v.a + v.e,
                          xi = Ut * v.b + v.f;
                        (st &&
                          ((Ht = Math.round(Ht)),
                          (Xt = Math.round(Xt)),
                          (Lt = Math.round(Lt)),
                          ($t = Math.round($t)),
                          (Re = Math.round(Re)),
                          (gi = Math.round(gi)),
                          (mi = Math.round(mi)),
                          (xi = Math.round(xi))),
                          l.shouldFlush(6) &&
                            (l.flush(), (O = l.setGameObject(s))),
                          l.batchQuad(
                            s,
                            Ht,
                            Xt,
                            Lt,
                            $t,
                            Re,
                            gi,
                            mi,
                            xi,
                            vt,
                            dt,
                            ct,
                            pt,
                            w,
                            U,
                            M,
                            I,
                            F,
                            T,
                            O,
                          ));
                      }
                    }
                  }
                  (g && (l.flush(), e.popScissor()), e.pipelines.postBatch(s));
                }
              };
            d.exports = n;
          },
          44616: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(82897),
              a = t(64937),
              r = t(89980),
              n = t(82173),
              e = t(68298),
              s = t(31476),
              u = t(74118),
              i = t(84557),
              o = new A({
                Extends: r,
                Mixins: [
                  a.Alpha,
                  a.BlendMode,
                  a.Depth,
                  a.GetBounds,
                  a.Mask,
                  a.Origin,
                  a.Pipeline,
                  a.PostPipeline,
                  a.ScrollFactor,
                  a.Texture,
                  a.Tint,
                  a.Transform,
                  a.Visible,
                  i,
                ],
                initialize: function (l, f, v, m, x, g, C) {
                  (x === void 0 && (x = ""),
                    C === void 0 && (C = 0),
                    r.call(this, l, "BitmapText"),
                    (this.font = m));
                  var T = this.scene.sys.cache.bitmapFont.get(m);
                  (T || console.warn("Invalid BitmapText key: " + m),
                    (this.fontData = T.data),
                    (this._text = ""),
                    (this._fontSize = g || this.fontData.size),
                    (this._letterSpacing = 0),
                    (this._lineSpacing = 0),
                    (this._align = C),
                    (this._bounds = n()),
                    (this._dirty = !0),
                    (this._maxWidth = 0),
                    (this.wordWrapCharCode = 32),
                    (this.charColors = []),
                    (this.dropShadowX = 0),
                    (this.dropShadowY = 0),
                    (this.dropShadowColor = 0),
                    (this.dropShadowAlpha = 0.5),
                    (this.fromAtlas = T.fromAtlas),
                    this.setTexture(T.texture, T.frame),
                    this.setPosition(f, v),
                    this.setOrigin(0, 0),
                    this.initPipeline(),
                    this.initPostPipeline(),
                    this.setText(x));
                },
                setLeftAlign: function () {
                  return (
                    (this._align = o.ALIGN_LEFT),
                    (this._dirty = !0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setCenterAlign: function () {
                  return (
                    (this._align = o.ALIGN_CENTER),
                    (this._dirty = !0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setRightAlign: function () {
                  return (
                    (this._align = o.ALIGN_RIGHT),
                    (this._dirty = !0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setFontSize: function (h) {
                  return (
                    (this._fontSize = h),
                    (this._dirty = !0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setLetterSpacing: function (h) {
                  return (
                    h === void 0 && (h = 0),
                    (this._letterSpacing = h),
                    (this._dirty = !0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setLineSpacing: function (h) {
                  return (
                    h === void 0 && (h = 0),
                    (this.lineSpacing = h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setText: function (h) {
                  return (
                    !h && h !== 0 && (h = ""),
                    Array.isArray(h) &&
                      (h = h.join(`
`)),
                    h !== this.text &&
                      ((this._text = h.toString()),
                      (this._dirty = !0),
                      this.updateDisplayOrigin()),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setDropShadow: function (h, l, f, v) {
                  return (
                    h === void 0 && (h = 0),
                    l === void 0 && (l = 0),
                    f === void 0 && (f = 0),
                    v === void 0 && (v = 0.5),
                    (this.dropShadowX = h),
                    (this.dropShadowY = l),
                    (this.dropShadowColor = f),
                    (this.dropShadowAlpha = v),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setCharacterTint: function (h, l, f, v, m, x, g) {
                  (h === void 0 && (h = 0),
                    l === void 0 && (l = 1),
                    f === void 0 && (f = !1),
                    v === void 0 && (v = -1),
                    m === void 0 && ((m = v), (x = v), (g = v)));
                  var C = this.text.length;
                  (l === -1 && (l = C),
                    h < 0 && (h = C + h),
                    (h = c(h, 0, C - 1)));
                  for (
                    var T = c(h + l, h, C), F = this.charColors, w = h;
                    w < T;
                    w++
                  ) {
                    var U = F[w];
                    if (v === -1) F[w] = null;
                    else {
                      var M = f ? 1 : 0;
                      U
                        ? ((U.tintEffect = M),
                          (U.tintTL = v),
                          (U.tintTR = m),
                          (U.tintBL = x),
                          (U.tintBR = g))
                        : (F[w] = {
                            tintEffect: M,
                            tintTL: v,
                            tintTR: m,
                            tintBL: x,
                            tintBR: g,
                          });
                    }
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                setWordTint: function (h, l, f, v, m, x, g) {
                  l === void 0 && (l = 1);
                  for (
                    var C = this.getTextBounds(),
                      T = C.words,
                      F = typeof h == "number",
                      w = 0,
                      U = 0;
                    U < T.length;
                    U++
                  ) {
                    var M = T[U];
                    if (
                      ((F && U === h) || (!F && M.word === h)) &&
                      (this.setCharacterTint(M.i, M.word.length, f, v, m, x, g),
                      w++,
                      w === l)
                    )
                      return _____WB$wombat$check$this$function_____(this);
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                getTextBounds: function (h) {
                  var l = this._bounds;
                  return (
                    (this._dirty ||
                      h ||
                      this.scaleX !== l.scaleX ||
                      this.scaleY !== l.scaleY) &&
                      (n(this, h, !0, l), (this._dirty = !1)),
                    l
                  );
                },
                getCharacterAt: function (h, l, f) {
                  for (
                    var v = this.getLocalPoint(h, l, null, f),
                      m = this.getTextBounds(),
                      x = m.characters,
                      g = new u(),
                      C = 0;
                    C < x.length;
                    C++
                  ) {
                    var T = x[C];
                    if (
                      (g.setTo(T.x, T.t, T.r - T.x, T.b), g.contains(v.x, v.y))
                    )
                      return T;
                  }
                  return null;
                },
                updateDisplayOrigin: function () {
                  return (
                    (this._dirty = !0),
                    this.getTextBounds(!1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setFont: function (h, l, f) {
                  if (
                    (l === void 0 && (l = this._fontSize),
                    f === void 0 && (f = this._align),
                    h !== this.font)
                  ) {
                    var v = this.scene.sys.cache.bitmapFont.get(h);
                    v &&
                      ((this.font = h),
                      (this.fontData = v.data),
                      (this._fontSize = l),
                      (this._align = f),
                      (this.fromAtlas = v.fromAtlas === !0),
                      this.setTexture(v.texture, v.frame),
                      n(this, !1, !0, this._bounds));
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                setMaxWidth: function (h, l) {
                  return (
                    (this._maxWidth = h),
                    (this._dirty = !0),
                    l !== void 0 && (this.wordWrapCharCode = l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                align: {
                  set: function (h) {
                    ((this._align = h), (this._dirty = !0));
                  },
                  get: function () {
                    return this._align;
                  },
                },
                text: {
                  set: function (h) {
                    this.setText(h);
                  },
                  get: function () {
                    return this._text;
                  },
                },
                fontSize: {
                  set: function (h) {
                    ((this._fontSize = h), (this._dirty = !0));
                  },
                  get: function () {
                    return this._fontSize;
                  },
                },
                letterSpacing: {
                  set: function (h) {
                    ((this._letterSpacing = h), (this._dirty = !0));
                  },
                  get: function () {
                    return this._letterSpacing;
                  },
                },
                lineSpacing: {
                  set: function (h) {
                    ((this._lineSpacing = h), (this._dirty = !0));
                  },
                  get: function () {
                    return this._lineSpacing;
                  },
                },
                maxWidth: {
                  set: function (h) {
                    ((this._maxWidth = h), (this._dirty = !0));
                  },
                  get: function () {
                    return this._maxWidth;
                  },
                },
                width: {
                  get: function () {
                    return (this.getTextBounds(!1), this._bounds.global.width);
                  },
                },
                height: {
                  get: function () {
                    return (this.getTextBounds(!1), this._bounds.global.height);
                  },
                },
                displayWidth: {
                  get: function () {
                    return this.width;
                  },
                },
                displayHeight: {
                  get: function () {
                    return this.height;
                  },
                },
                toJSON: function () {
                  var h = a.ToJSON(this),
                    l = {
                      font: this.font,
                      text: this.text,
                      fontSize: this.fontSize,
                      letterSpacing: this.letterSpacing,
                      lineSpacing: this.lineSpacing,
                      align: this.align,
                    };
                  return ((h.data = l), h);
                },
                preDestroy: function () {
                  ((this.charColors.length = 0),
                    (this._bounds = null),
                    (this.fontData = null));
                },
              });
            ((o.ALIGN_LEFT = 0),
              (o.ALIGN_CENTER = 1),
              (o.ALIGN_RIGHT = 2),
              (o.ParseFromAtlas = e),
              (o.ParseXMLBitmapFont = s),
              (d.exports = o));
          },
          97545: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(49584),
              c = function (a, r, n, e) {
                var s = r._text,
                  u = s.length,
                  i = a.currentContext;
                if (!(u === 0 || !A(a, i, r, n, e))) {
                  n.addToRenderList(r);
                  var o = r.fromAtlas ? r.frame : r.texture.frames.__BASE,
                    h = r.fontData.chars,
                    l = r.fontData.lineHeight,
                    f = r._letterSpacing,
                    v = r._lineSpacing,
                    m = 0,
                    x = 0,
                    g = 0,
                    C = null,
                    T = 0,
                    F = 0,
                    w = 0,
                    U = 0,
                    M = 0,
                    I = 0,
                    O = null,
                    D = 0,
                    G = o.source.image,
                    X = o.cutX,
                    z = o.cutY,
                    K = r._fontSize / r.fontData.size,
                    N = r._align,
                    b = 0,
                    R = 0,
                    H = r.getTextBounds(!1);
                  r.maxWidth > 0 && ((s = H.wrappedText), (u = s.length));
                  var Q = r._bounds.lines;
                  (N === 1
                    ? (R = (Q.longest - Q.lengths[0]) / 2)
                    : N === 2 && (R = Q.longest - Q.lengths[0]),
                    i.translate(-r.displayOriginX, -r.displayOriginY));
                  for (var V = n.roundPixels, Y = 0; Y < u; Y++) {
                    if (((g = s.charCodeAt(Y)), g === 10)) {
                      (b++,
                        N === 1
                          ? (R = (Q.longest - Q.lengths[b]) / 2)
                          : N === 2 && (R = Q.longest - Q.lengths[b]),
                        (m = 0),
                        (x += l + v),
                        (O = null));
                      continue;
                    }
                    if (((C = h[g]), !!C)) {
                      if (
                        ((T = X + C.x),
                        (F = z + C.y),
                        (w = C.width),
                        (U = C.height),
                        (M = C.xOffset + m),
                        (I = C.yOffset + x),
                        O !== null)
                      ) {
                        var J = C.kerning[D];
                        M += J !== void 0 ? J : 0;
                      }
                      ((M *= K),
                        (I *= K),
                        (M += R),
                        (m += C.xAdvance + f + (J !== void 0 ? J : 0)),
                        (O = C),
                        (D = g),
                        !(w === 0 || U === 0 || g === 32) &&
                          (V && ((M = Math.round(M)), (I = Math.round(I))),
                          i.save(),
                          i.translate(M, I),
                          i.scale(K, K),
                          i.drawImage(G, T, F, w, U, 0, 0, w, U),
                          i.restore()));
                    }
                  }
                  i.restore();
                }
              };
            d.exports = c;
          },
          95499: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(44616),
              c = t(88933),
              a = t(99325),
              r = t(20494),
              n = t(10850);
            a.register("bitmapText", function (e, s) {
              e === void 0 && (e = {});
              var u = n(e, "font", ""),
                i = r(e, "text", ""),
                o = r(e, "size", !1),
                h = n(e, "align", 0),
                l = new A(this.scene, 0, 0, u, i, o, h);
              return (s !== void 0 && (e.add = s), c(this.scene, l, e), l);
            });
          },
          21797: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(44616),
              c = t(61286);
            c.register("bitmapText", function (a, r, n, e, s, u) {
              return this.displayList.add(new A(this.scene, a, r, n, e, s, u));
            });
          },
          84557: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72283),
              c = A,
              a = A;
            ((c = t(26372)),
              (a = t(97545)),
              (d.exports = { renderWebGL: c, renderCanvas: a }));
          },
          26372: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(8810),
              c = t(73329),
              a = t(75512),
              r = function (n, e, s, u) {
                var i = e._text,
                  o = i.length;
                if (o !== 0) {
                  s.addToRenderList(e);
                  var h = n.pipelines.set(e.pipeline, e),
                    l = c(e, s, u).calc;
                  n.pipelines.preBatch(e);
                  var f = s.roundPixels,
                    v = s.alpha,
                    m = e.charColors,
                    x = e.tintFill,
                    g = a.getTintAppendFloatAlpha,
                    C = g(e.tintTopLeft, v * e._alphaTL),
                    T = g(e.tintTopRight, v * e._alphaTR),
                    F = g(e.tintBottomLeft, v * e._alphaBL),
                    w = g(e.tintBottomRight, v * e._alphaBR),
                    U = e.frame.glTexture,
                    M = h.setGameObject(e),
                    I = e.getTextBounds(!1),
                    O,
                    D,
                    G,
                    X = I.characters,
                    z = e.dropShadowX,
                    K = e.dropShadowY,
                    N = z !== 0 || K !== 0;
                  if (N) {
                    var b = e.dropShadowColor,
                      R = e.dropShadowAlpha,
                      H = g(b, v * R * e._alphaTL),
                      Q = g(b, v * R * e._alphaTR),
                      V = g(b, v * R * e._alphaBL),
                      Y = g(b, v * R * e._alphaBR);
                    for (O = 0; O < X.length; O++)
                      ((D = X[O]),
                        (G = D.glyph),
                        !(D.code === 32 || G.width === 0 || G.height === 0) &&
                          A(h, e, D, G, z, K, l, f, H, Q, V, Y, 1, U, M));
                  }
                  for (O = 0; O < X.length; O++)
                    if (
                      ((D = X[O]),
                      (G = D.glyph),
                      !(D.code === 32 || G.width === 0 || G.height === 0))
                    )
                      if (
                        (h.shouldFlush(6) &&
                          (h.flush(), (M = h.setGameObject(e))),
                        m[D.i])
                      ) {
                        var J = m[D.i],
                          $ = J.tintEffect,
                          W = g(J.tintTL, v * e._alphaTL),
                          Z = g(J.tintTR, v * e._alphaTR),
                          j = g(J.tintBL, v * e._alphaBL),
                          k = g(J.tintBR, v * e._alphaBR);
                        A(h, e, D, G, 0, 0, l, f, W, Z, j, k, $, U, M);
                      } else A(h, e, D, G, 0, 0, l, f, C, T, F, w, x, U, M);
                  n.pipelines.postBatch(e);
                }
              };
            d.exports = r;
          },
          52816: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(92246),
              c = t(41664),
              a = t(56694),
              r = t(64937),
              n = t(82047),
              e = t(89980),
              s = t(71207),
              u = new a({
                Extends: e,
                Mixins: [
                  r.Alpha,
                  r.BlendMode,
                  r.Depth,
                  r.Mask,
                  r.Pipeline,
                  r.PostPipeline,
                  r.ScrollFactor,
                  r.Size,
                  r.Texture,
                  r.Transform,
                  r.Visible,
                  A,
                ],
                initialize: function (o, h, l, f, v) {
                  (e.call(this, o, "Blitter"),
                    this.setTexture(f, v),
                    this.setPosition(h, l),
                    this.initPipeline(),
                    this.initPostPipeline(),
                    (this.children = new s()),
                    (this.renderList = []),
                    (this.dirty = !1));
                },
                create: function (i, o, h, l, f) {
                  (l === void 0 && (l = !0),
                    f === void 0 && (f = this.children.length),
                    h === void 0
                      ? (h = this.frame)
                      : h instanceof n || (h = this.texture.get(h)));
                  var v = new c(this, i, o, h, l);
                  return (this.children.addAt(v, f, !1), (this.dirty = !0), v);
                },
                createFromCallback: function (i, o, h, l) {
                  for (
                    var f = this.createMultiple(o, h, l), v = 0;
                    v < f.length;
                    v++
                  ) {
                    var m = f[v];
                    i.call(this, m, v);
                  }
                  return f;
                },
                createMultiple: function (i, o, h) {
                  (o === void 0 && (o = this.frame.name),
                    h === void 0 && (h = !0),
                    Array.isArray(o) || (o = [o]));
                  var l = [],
                    f = _____WB$wombat$check$this$function_____(this);
                  return (
                    o.forEach(function (v) {
                      for (var m = 0; m < i; m++) l.push(f.create(0, 0, v, h));
                    }),
                    l
                  );
                },
                childCanRender: function (i) {
                  return i.visible && i.alpha > 0;
                },
                getRenderList: function () {
                  return (
                    this.dirty &&
                      ((this.renderList = this.children.list.filter(
                        this.childCanRender,
                        _____WB$wombat$check$this$function_____(this),
                      )),
                      (this.dirty = !1)),
                    this.renderList
                  );
                },
                clear: function () {
                  (this.children.removeAll(), (this.dirty = !0));
                },
                preDestroy: function () {
                  (this.children.destroy(), (this.renderList = []));
                },
              });
            d.exports = u;
          },
          33177: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              var r = A.getRenderList();
              if (r.length !== 0) {
                var n = t.currentContext,
                  e = c.alpha * A.alpha;
                if (e !== 0) {
                  (c.addToRenderList(A),
                    (n.globalCompositeOperation = t.blendModes[A.blendMode]),
                    (n.imageSmoothingEnabled = !A.frame.source.scaleMode));
                  var s = A.x - c.scrollX * A.scrollFactorX,
                    u = A.y - c.scrollY * A.scrollFactorY;
                  (n.save(), a && a.copyToContext(n));
                  for (var i = c.roundPixels, o = 0; o < r.length; o++) {
                    var h = r[o],
                      l = h.flipX || h.flipY,
                      f = h.frame,
                      v = f.canvasData,
                      m = f.x,
                      x = f.y,
                      g = 1,
                      C = 1,
                      T = h.alpha * e;
                    T !== 0 &&
                      ((n.globalAlpha = T),
                      l
                        ? (h.flipX && ((g = -1), (m -= v.width)),
                          h.flipY && ((C = -1), (x -= v.height)),
                          v.width > 0 &&
                            v.height > 0 &&
                            (n.save(),
                            n.translate(h.x + s, h.y + u),
                            n.scale(g, C),
                            n.drawImage(
                              f.source.image,
                              v.x,
                              v.y,
                              v.width,
                              v.height,
                              m,
                              x,
                              v.width,
                              v.height,
                            ),
                            n.restore()))
                        : (i && ((m = Math.round(m)), (x = Math.round(x))),
                          v.width > 0 &&
                            v.height > 0 &&
                            n.drawImage(
                              f.source.image,
                              v.x,
                              v.y,
                              v.width,
                              v.height,
                              m + h.x + s,
                              x + h.y + u,
                              v.width,
                              v.height,
                            )));
                  }
                  n.restore();
                }
              }
            };
            d.exports = y;
          },
          68452: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(52816),
              c = t(88933),
              a = t(99325),
              r = t(20494);
            a.register("blitter", function (n, e) {
              n === void 0 && (n = {});
              var s = r(n, "key", null),
                u = r(n, "frame", null),
                i = new A(this.scene, 0, 0, s, u);
              return (e !== void 0 && (n.add = e), c(this.scene, i, n), i);
            });
          },
          38906: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(52816),
              c = t(61286);
            c.register("blitter", function (a, r, n, e) {
              return this.displayList.add(new A(this.scene, a, r, n, e));
            });
          },
          92246: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72283),
              c = A,
              a = A;
            ((c = t(89165)),
              (a = t(33177)),
              (d.exports = { renderWebGL: c, renderCanvas: a }));
          },
          89165: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(69360),
              c = t(75512),
              a = new A(),
              r = function (n, e, s, u) {
                var i = e.getRenderList(),
                  o = s.alpha * e.alpha;
                if (!(i.length === 0 || o === 0)) {
                  s.addToRenderList(e);
                  var h = n.pipelines.set(this.pipeline, e),
                    l = s.scrollX * e.scrollFactorX,
                    f = s.scrollY * e.scrollFactorY,
                    v = a.copyFrom(s.matrix);
                  u && (v.multiplyWithOffset(u, -l, -f), (l = 0), (f = 0));
                  var m = e.x - l,
                    x = e.y - f,
                    g = -1,
                    C = !1;
                  n.pipelines.preBatch(e);
                  for (var T = 0; T < i.length; T++) {
                    var F = i[T],
                      w = F.frame,
                      U = F.alpha * o;
                    if (U !== 0) {
                      var M = w.width,
                        I = w.height,
                        O = m + F.x + w.x,
                        D = x + F.y + w.y;
                      (F.flipX && ((M *= -1), (O += w.width)),
                        F.flipY && ((I *= -1), (D += w.height)));
                      var G = v.setQuad(O, D, O + M, D + I),
                        X = c.getTintAppendFloatAlpha(F.tint, U);
                      if (w.sourceIndex !== g) {
                        var z = h.setGameObject(e, w);
                        g = w.sourceIndex;
                      }
                      h.batchQuad(
                        e,
                        G[0],
                        G[1],
                        G[2],
                        G[3],
                        G[4],
                        G[5],
                        G[6],
                        G[7],
                        w.u0,
                        w.v0,
                        w.u1,
                        w.v1,
                        X,
                        X,
                        X,
                        X,
                        C,
                        w.glTexture,
                        z,
                      ) && (g = -1);
                    }
                  }
                  n.pipelines.postBatch(e);
                }
              };
            d.exports = r;
          },
          41664: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(82047),
              a = new A({
                initialize: function (n, e, s, u, i) {
                  ((_____WB$wombat$check$this$function_____(this).parent = n),
                    (this.x = e),
                    (this.y = s),
                    (this.frame = u),
                    (this.data = {}),
                    (this.tint = 16777215),
                    (this._visible = i),
                    (this._alpha = 1),
                    (this.flipX = !1),
                    (this.flipY = !1),
                    (this.hasTransformComponent = !0));
                },
                setFrame: function (r) {
                  return (
                    r === void 0
                      ? (this.frame =
                          _____WB$wombat$check$this$function_____(
                            this,
                          ).parent.frame)
                      : r instanceof c &&
                          r.texture ===
                            _____WB$wombat$check$this$function_____(this).parent
                              .texture
                        ? (this.frame = r)
                        : (this.frame =
                            _____WB$wombat$check$this$function_____(
                              this,
                            ).parent.texture.get(r)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                resetFlip: function () {
                  return (
                    (this.flipX = !1),
                    (this.flipY = !1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                reset: function (r, n, e) {
                  return (
                    (this.x = r),
                    (this.y = n),
                    (this.flipX = !1),
                    (this.flipY = !1),
                    (this._alpha = 1),
                    (this._visible = !0),
                    (_____WB$wombat$check$this$function_____(
                      this,
                    ).parent.dirty = !0),
                    e && this.setFrame(e),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setPosition: function (r, n) {
                  return (
                    (this.x = r),
                    (this.y = n),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setFlipX: function (r) {
                  return (
                    (this.flipX = r),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setFlipY: function (r) {
                  return (
                    (this.flipY = r),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setFlip: function (r, n) {
                  return (
                    (this.flipX = r),
                    (this.flipY = n),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setVisible: function (r) {
                  return (
                    (this.visible = r),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setAlpha: function (r) {
                  return (
                    (this.alpha = r),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setTint: function (r) {
                  return (
                    (this.tint = r),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                destroy: function () {
                  ((_____WB$wombat$check$this$function_____(this).parent.dirty =
                    !0),
                    _____WB$wombat$check$this$function_____(
                      this,
                    ).parent.children.remove(this),
                    (_____WB$wombat$check$this$function_____(this).parent =
                      void 0),
                    (this.frame = void 0),
                    (this.data = void 0));
                },
                visible: {
                  get: function () {
                    return this._visible;
                  },
                  set: function (r) {
                    ((_____WB$wombat$check$this$function_____(
                      this,
                    ).parent.dirty |= this._visible !== r),
                      (this._visible = r));
                  },
                },
                alpha: {
                  get: function () {
                    return this._alpha;
                  },
                  set: function (r) {
                    ((_____WB$wombat$check$this$function_____(
                      this,
                    ).parent.dirty |= this._alpha > 0 != r > 0),
                      (this._alpha = r));
                  },
                },
              });
            d.exports = a;
          },
          97123: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(82897),
              c = 2,
              a = {
                _alpha: 1,
                _alphaTL: 1,
                _alphaTR: 1,
                _alphaBL: 1,
                _alphaBR: 1,
                clearAlpha: function () {
                  return this.setAlpha(1);
                },
                setAlpha: function (r, n, e, s) {
                  return (
                    r === void 0 && (r = 1),
                    n === void 0
                      ? (this.alpha = r)
                      : ((this._alphaTL = A(r, 0, 1)),
                        (this._alphaTR = A(n, 0, 1)),
                        (this._alphaBL = A(e, 0, 1)),
                        (this._alphaBR = A(s, 0, 1))),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                alpha: {
                  get: function () {
                    return this._alpha;
                  },
                  set: function (r) {
                    var n = A(r, 0, 1);
                    ((this._alpha = n),
                      (this._alphaTL = n),
                      (this._alphaTR = n),
                      (this._alphaBL = n),
                      (this._alphaBR = n),
                      n === 0
                        ? (this.renderFlags &= ~c)
                        : (this.renderFlags |= c));
                  },
                },
                alphaTopLeft: {
                  get: function () {
                    return this._alphaTL;
                  },
                  set: function (r) {
                    var n = A(r, 0, 1);
                    ((this._alphaTL = n), n !== 0 && (this.renderFlags |= c));
                  },
                },
                alphaTopRight: {
                  get: function () {
                    return this._alphaTR;
                  },
                  set: function (r) {
                    var n = A(r, 0, 1);
                    ((this._alphaTR = n), n !== 0 && (this.renderFlags |= c));
                  },
                },
                alphaBottomLeft: {
                  get: function () {
                    return this._alphaBL;
                  },
                  set: function (r) {
                    var n = A(r, 0, 1);
                    ((this._alphaBL = n), n !== 0 && (this.renderFlags |= c));
                  },
                },
                alphaBottomRight: {
                  get: function () {
                    return this._alphaBR;
                  },
                  set: function (r) {
                    var n = A(r, 0, 1);
                    ((this._alphaBR = n), n !== 0 && (this.renderFlags |= c));
                  },
                },
              };
            d.exports = a;
          },
          15720: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(82897),
              c = 2,
              a = {
                _alpha: 1,
                clearAlpha: function () {
                  return this.setAlpha(1);
                },
                setAlpha: function (r) {
                  return (
                    r === void 0 && (r = 1),
                    (this.alpha = r),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                alpha: {
                  get: function () {
                    return this._alpha;
                  },
                  set: function (r) {
                    var n = A(r, 0, 1);
                    ((this._alpha = n),
                      n === 0
                        ? (this.renderFlags &= ~c)
                        : (this.renderFlags |= c));
                  },
                },
              };
            d.exports = a;
          },
          69732: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(95723),
              c = {
                _blendMode: A.NORMAL,
                blendMode: {
                  get: function () {
                    return this._blendMode;
                  },
                  set: function (a) {
                    (typeof a == "string" && (a = A[a]),
                      (a |= 0),
                      a >= -1 && (this._blendMode = a));
                  },
                },
                setBlendMode: function (a) {
                  return (
                    (this.blendMode = a),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
              };
            d.exports = c;
          },
          28284: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              width: 0,
              height: 0,
              displayWidth: {
                get: function () {
                  return this.scaleX * this.width;
                },
                set: function (t) {
                  this.scaleX = t / this.width;
                },
              },
              displayHeight: {
                get: function () {
                  return this.scaleY * this.height;
                },
                set: function (t) {
                  this.scaleY = t / this.height;
                },
              },
              setSize: function (t, A) {
                return (
                  (this.width = t),
                  (this.height = A),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setDisplaySize: function (t, A) {
                return (
                  (this.displayWidth = t),
                  (this.displayHeight = A),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
            };
            d.exports = y;
          },
          85293: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              texture: null,
              frame: null,
              isCropped: !1,
              setCrop: function (t, A, c, a) {
                if (t === void 0) this.isCropped = !1;
                else if (this.frame) {
                  if (typeof t == "number")
                    this.frame.setCropUVs(
                      this._crop,
                      t,
                      A,
                      c,
                      a,
                      this.flipX,
                      this.flipY,
                    );
                  else {
                    var r = t;
                    this.frame.setCropUVs(
                      this._crop,
                      r.x,
                      r.y,
                      r.width,
                      r.height,
                      this.flipX,
                      this.flipY,
                    );
                  }
                  this.isCropped = !0;
                }
                return _____WB$wombat$check$this$function_____(this);
              },
              resetCropObject: function () {
                return {
                  u0: 0,
                  v0: 0,
                  u1: 0,
                  v1: 0,
                  width: 0,
                  height: 0,
                  x: 0,
                  y: 0,
                  flipX: !1,
                  flipY: !1,
                  cx: 0,
                  cy: 0,
                  cw: 0,
                  ch: 0,
                };
              },
            };
            d.exports = y;
          },
          14975: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              _depth: 0,
              depth: {
                get: function () {
                  return this._depth;
                },
                set: function (t) {
                  (this.displayList && this.displayList.queueDepthSort(),
                    (this._depth = t));
                },
              },
              setDepth: function (t) {
                return (
                  t === void 0 && (t = 0),
                  (this.depth = t),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
            };
            d.exports = y;
          },
          88677: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(96910),
              a = t(72677),
              r = new A({
                initialize: function (e, s) {
                  ((this.gameObject = e),
                    (this.isPost = s),
                    (this.enabled = !1),
                    (this.list = []),
                    (this.padding = 0));
                },
                setPadding: function (n) {
                  return (
                    n === void 0 && (n = 0),
                    (this.padding = n),
                    this.gameObject
                  );
                },
                onFXCopy: function () {},
                onFX: function () {},
                enable: function (n) {
                  if (!this.isPost) {
                    var e = this.gameObject.scene.sys.renderer;
                    e && e.pipelines
                      ? ((this.gameObject.pipeline = e.pipelines.FX_PIPELINE),
                        n !== void 0 && (this.padding = n),
                        (this.enabled = !0))
                      : (this.enabled = !1);
                  }
                },
                clear: function () {
                  if (this.isPost) this.gameObject.resetPostPipeline(!0);
                  else {
                    for (var n = this.list, e = 0; e < n.length; e++)
                      n[e].destroy();
                    this.list = [];
                  }
                  return ((this.enabled = !1), this.gameObject);
                },
                remove: function (n) {
                  var e;
                  if (this.isPost) {
                    var s = this.gameObject.getPostPipeline(String(n.type));
                    for (
                      Array.isArray(s) || (s = [s]), e = 0;
                      e < s.length;
                      e++
                    ) {
                      var u = s[e];
                      if (u.controller === n) {
                        (this.gameObject.removePostPipeline(u), n.destroy());
                        break;
                      }
                    }
                  } else {
                    var i = this.list;
                    for (e = 0; e < i.length; e++)
                      i[e] === n && (a(i, e), n.destroy());
                  }
                  return this.gameObject;
                },
                disable: function (n) {
                  return (
                    n === void 0 && (n = !1),
                    this.isPost || this.gameObject.resetPipeline(),
                    (this.enabled = !1),
                    n && this.clear(),
                    this.gameObject
                  );
                },
                add: function (n, e) {
                  if (this.isPost) {
                    var s = String(n.type);
                    this.gameObject.setPostPipeline(s, e);
                    var u = this.gameObject.getPostPipeline(s);
                    if (u)
                      return (
                        Array.isArray(u) && (u = u.pop()),
                        (u.controller = n),
                        n
                      );
                  } else
                    return (
                      this.enabled || this.enable(),
                      this.list.push(n),
                      n
                    );
                },
                addGlow: function (n, e, s, u, i, o) {
                  return this.add(new c.Glow(this.gameObject, n, e, s, u), {
                    quality: i,
                    distance: o,
                  });
                },
                addShadow: function (n, e, s, u, i, o, h) {
                  return this.add(
                    new c.Shadow(this.gameObject, n, e, s, u, i, o, h),
                  );
                },
                addPixelate: function (n) {
                  return this.add(new c.Pixelate(this.gameObject, n));
                },
                addVignette: function (n, e, s, u) {
                  return this.add(new c.Vignette(this.gameObject, n, e, s, u));
                },
                addShine: function (n, e, s, u) {
                  return this.add(new c.Shine(this.gameObject, n, e, s, u));
                },
                addBlur: function (n, e, s, u, i, o) {
                  return this.add(
                    new c.Blur(this.gameObject, n, e, s, u, i, o),
                  );
                },
                addGradient: function (n, e, s, u, i, o, h, l) {
                  return this.add(
                    new c.Gradient(this.gameObject, n, e, s, u, i, o, h, l),
                  );
                },
                addBloom: function (n, e, s, u, i, o) {
                  return this.add(
                    new c.Bloom(this.gameObject, n, e, s, u, i, o),
                  );
                },
                addColorMatrix: function () {
                  return this.add(new c.ColorMatrix(this.gameObject));
                },
                addCircle: function (n, e, s, u, i) {
                  return this.add(new c.Circle(this.gameObject, n, e, s, u, i));
                },
                addBarrel: function (n) {
                  return this.add(new c.Barrel(this.gameObject, n));
                },
                addDisplacement: function (n, e, s) {
                  return this.add(new c.Displacement(this.gameObject, n, e, s));
                },
                addWipe: function (n, e, s) {
                  return this.add(new c.Wipe(this.gameObject, n, e, s));
                },
                addReveal: function (n, e, s) {
                  return this.add(new c.Wipe(this.gameObject, n, e, s, !0));
                },
                addBokeh: function (n, e, s) {
                  return this.add(new c.Bokeh(this.gameObject, n, e, s));
                },
                addTiltShift: function (n, e, s, u, i, o) {
                  return this.add(
                    new c.Bokeh(this.gameObject, n, e, s, !0, u, i, o),
                  );
                },
                destroy: function () {
                  (this.clear(), (this.gameObject = null));
                },
              });
            d.exports = r;
          },
          92972: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              flipX: !1,
              flipY: !1,
              toggleFlipX: function () {
                return (
                  (this.flipX = !this.flipX),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              toggleFlipY: function () {
                return (
                  (this.flipY = !this.flipY),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setFlipX: function (t) {
                return (
                  (this.flipX = t),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setFlipY: function (t) {
                return (
                  (this.flipY = t),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setFlip: function (t, A) {
                return (
                  (this.flipX = t),
                  (this.flipY = A),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              resetFlip: function () {
                return (
                  (this.flipX = !1),
                  (this.flipY = !1),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
            };
            d.exports = y;
          },
          80693: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(74118),
              c = t(2386),
              a = t(93736),
              r = {
                prepareBoundsOutput: function (n, e) {
                  if (
                    (e === void 0 && (e = !1),
                    this.rotation !== 0 && c(n, this.x, this.y, this.rotation),
                    e && this.parentContainer)
                  ) {
                    var s = this.parentContainer.getBoundsTransformMatrix();
                    s.transformPoint(n.x, n.y, n);
                  }
                  return n;
                },
                getCenter: function (n, e) {
                  return (
                    n === void 0 && (n = new a()),
                    (n.x =
                      this.x -
                      this.displayWidth * this.originX +
                      this.displayWidth / 2),
                    (n.y =
                      this.y -
                      this.displayHeight * this.originY +
                      this.displayHeight / 2),
                    this.prepareBoundsOutput(n, e)
                  );
                },
                getTopLeft: function (n, e) {
                  return (
                    n || (n = new a()),
                    (n.x = this.x - this.displayWidth * this.originX),
                    (n.y = this.y - this.displayHeight * this.originY),
                    this.prepareBoundsOutput(n, e)
                  );
                },
                getTopCenter: function (n, e) {
                  return (
                    n || (n = new a()),
                    (n.x =
                      this.x -
                      this.displayWidth * this.originX +
                      this.displayWidth / 2),
                    (n.y = this.y - this.displayHeight * this.originY),
                    this.prepareBoundsOutput(n, e)
                  );
                },
                getTopRight: function (n, e) {
                  return (
                    n || (n = new a()),
                    (n.x =
                      this.x -
                      this.displayWidth * this.originX +
                      this.displayWidth),
                    (n.y = this.y - this.displayHeight * this.originY),
                    this.prepareBoundsOutput(n, e)
                  );
                },
                getLeftCenter: function (n, e) {
                  return (
                    n || (n = new a()),
                    (n.x = this.x - this.displayWidth * this.originX),
                    (n.y =
                      this.y -
                      this.displayHeight * this.originY +
                      this.displayHeight / 2),
                    this.prepareBoundsOutput(n, e)
                  );
                },
                getRightCenter: function (n, e) {
                  return (
                    n || (n = new a()),
                    (n.x =
                      this.x -
                      this.displayWidth * this.originX +
                      this.displayWidth),
                    (n.y =
                      this.y -
                      this.displayHeight * this.originY +
                      this.displayHeight / 2),
                    this.prepareBoundsOutput(n, e)
                  );
                },
                getBottomLeft: function (n, e) {
                  return (
                    n || (n = new a()),
                    (n.x = this.x - this.displayWidth * this.originX),
                    (n.y =
                      this.y -
                      this.displayHeight * this.originY +
                      this.displayHeight),
                    this.prepareBoundsOutput(n, e)
                  );
                },
                getBottomCenter: function (n, e) {
                  return (
                    n || (n = new a()),
                    (n.x =
                      this.x -
                      this.displayWidth * this.originX +
                      this.displayWidth / 2),
                    (n.y =
                      this.y -
                      this.displayHeight * this.originY +
                      this.displayHeight),
                    this.prepareBoundsOutput(n, e)
                  );
                },
                getBottomRight: function (n, e) {
                  return (
                    n || (n = new a()),
                    (n.x =
                      this.x -
                      this.displayWidth * this.originX +
                      this.displayWidth),
                    (n.y =
                      this.y -
                      this.displayHeight * this.originY +
                      this.displayHeight),
                    this.prepareBoundsOutput(n, e)
                  );
                },
                getBounds: function (n) {
                  n === void 0 && (n = new A());
                  var e, s, u, i, o, h, l, f;
                  if (this.parentContainer) {
                    var v = this.parentContainer.getBoundsTransformMatrix();
                    (this.getTopLeft(n),
                      v.transformPoint(n.x, n.y, n),
                      (e = n.x),
                      (s = n.y),
                      this.getTopRight(n),
                      v.transformPoint(n.x, n.y, n),
                      (u = n.x),
                      (i = n.y),
                      this.getBottomLeft(n),
                      v.transformPoint(n.x, n.y, n),
                      (o = n.x),
                      (h = n.y),
                      this.getBottomRight(n),
                      v.transformPoint(n.x, n.y, n),
                      (l = n.x),
                      (f = n.y));
                  } else
                    (this.getTopLeft(n),
                      (e = n.x),
                      (s = n.y),
                      this.getTopRight(n),
                      (u = n.x),
                      (i = n.y),
                      this.getBottomLeft(n),
                      (o = n.x),
                      (h = n.y),
                      this.getBottomRight(n),
                      (l = n.x),
                      (f = n.y));
                  return (
                    (n.x = Math.min(e, u, o, l)),
                    (n.y = Math.min(s, i, h, f)),
                    (n.width = Math.max(e, u, o, l) - n.x),
                    (n.height = Math.max(s, i, h, f) - n.y),
                    n
                  );
                },
              };
            d.exports = r;
          },
          39171: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(76756),
              c = t(63037),
              a = {
                mask: null,
                setMask: function (r) {
                  return (
                    (this.mask = r),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                clearMask: function (r) {
                  return (
                    r === void 0 && (r = !1),
                    r && this.mask && this.mask.destroy(),
                    (this.mask = null),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                createBitmapMask: function (r, n, e, s, u) {
                  return (
                    r === void 0 &&
                      (this.texture || this.shader || this.geom) &&
                      (r = _____WB$wombat$check$this$function_____(this)),
                    new A(this.scene, r, n, e, s, u)
                  );
                },
                createGeometryMask: function (r) {
                  return (
                    r === void 0 &&
                      (this.type === "Graphics" || this.geom) &&
                      (r = _____WB$wombat$check$this$function_____(this)),
                    new c(this.scene, r)
                  );
                },
              };
            d.exports = a;
          },
          28072: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              _originComponent: !0,
              originX: 0.5,
              originY: 0.5,
              _displayOriginX: 0,
              _displayOriginY: 0,
              displayOriginX: {
                get: function () {
                  return this._displayOriginX;
                },
                set: function (t) {
                  ((this._displayOriginX = t), (this.originX = t / this.width));
                },
              },
              displayOriginY: {
                get: function () {
                  return this._displayOriginY;
                },
                set: function (t) {
                  ((this._displayOriginY = t),
                    (this.originY = t / this.height));
                },
              },
              setOrigin: function (t, A) {
                return (
                  t === void 0 && (t = 0.5),
                  A === void 0 && (A = t),
                  (this.originX = t),
                  (this.originY = A),
                  this.updateDisplayOrigin()
                );
              },
              setOriginFromFrame: function () {
                return !this.frame || !this.frame.customPivot
                  ? this.setOrigin()
                  : ((this.originX = this.frame.pivotX),
                    (this.originY = this.frame.pivotY),
                    this.updateDisplayOrigin());
              },
              setDisplayOrigin: function (t, A) {
                return (
                  t === void 0 && (t = 0),
                  A === void 0 && (A = t),
                  (this.displayOriginX = t),
                  (this.displayOriginY = A),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              updateDisplayOrigin: function () {
                return (
                  (this._displayOriginX = this.originX * this.width),
                  (this._displayOriginY = this.originY * this.height),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
            };
            d.exports = y;
          },
          54211: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(75606),
              c = t(63130),
              a = t(10850),
              r = t(55303),
              n = t(93736),
              e = {
                path: null,
                rotateToPath: !1,
                pathRotationOffset: 0,
                pathOffset: null,
                pathVector: null,
                pathDelta: null,
                pathTween: null,
                pathConfig: null,
                _prevDirection: r.PLAYING_FORWARD,
                setPath: function (s, u) {
                  u === void 0 && (u = this.pathConfig);
                  var i = this.pathTween;
                  return (
                    i && i.isPlaying() && i.stop(),
                    (this.path = s),
                    u && this.startFollow(u),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setRotateToPath: function (s, u) {
                  return (
                    u === void 0 && (u = 0),
                    (this.rotateToPath = s),
                    (this.pathRotationOffset = u),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                isFollowing: function () {
                  var s = this.pathTween;
                  return s && s.isPlaying();
                },
                startFollow: function (s, u) {
                  (s === void 0 && (s = {}), u === void 0 && (u = 0));
                  var i = this.pathTween;
                  (i && i.isPlaying() && i.stop(),
                    typeof s == "number" && (s = { duration: s }),
                    (s.from = a(s, "from", 0)),
                    (s.to = a(s, "to", 1)));
                  var o = c(s, "positionOnPath", !1);
                  ((this.rotateToPath = c(s, "rotateToPath", !1)),
                    (this.pathRotationOffset = a(s, "rotationOffset", 0)));
                  var h = a(s, "startAt", u);
                  if (
                    (h &&
                      (s.onStart = function (f) {
                        var v = f.data[0];
                        ((v.progress = h), (v.elapsed = v.duration * h));
                        var m = v.ease(v.progress);
                        ((v.current = v.start + (v.end - v.start) * m),
                          v.setTargetValue());
                      }),
                    this.pathOffset ||
                      (this.pathOffset = new n(this.x, this.y)),
                    this.pathVector || (this.pathVector = new n()),
                    this.pathDelta || (this.pathDelta = new n()),
                    this.pathDelta.reset(),
                    (s.persist = !0),
                    (this.pathTween = this.scene.sys.tweens.addCounter(s)),
                    this.path.getStartPoint(this.pathOffset),
                    o &&
                      ((this.x = this.pathOffset.x),
                      (this.y = this.pathOffset.y)),
                    (this.pathOffset.x = this.x - this.pathOffset.x),
                    (this.pathOffset.y = this.y - this.pathOffset.y),
                    (this._prevDirection = r.PLAYING_FORWARD),
                    this.rotateToPath)
                  ) {
                    var l = this.path.getPoint(0.1);
                    this.rotation =
                      Math.atan2(l.y - this.y, l.x - this.x) +
                      A(this.pathRotationOffset);
                  }
                  return (
                    (this.pathConfig = s),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                pauseFollow: function () {
                  var s = this.pathTween;
                  return (
                    s && s.isPlaying() && s.pause(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                resumeFollow: function () {
                  var s = this.pathTween;
                  return (
                    s && s.isPaused() && s.resume(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                stopFollow: function () {
                  var s = this.pathTween;
                  return (
                    s && s.isPlaying() && s.stop(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                pathUpdate: function () {
                  var s = this.pathTween;
                  if (s && s.data) {
                    var u = s.data[0],
                      i = this.pathDelta,
                      o = this.pathVector;
                    if ((i.copy(o).negate(), u.state === r.COMPLETE)) {
                      (this.path.getPoint(u.end, o),
                        i.add(o),
                        o.add(this.pathOffset),
                        this.setPosition(o.x, o.y));
                      return;
                    } else if (
                      u.state !== r.PLAYING_FORWARD &&
                      u.state !== r.PLAYING_BACKWARD
                    )
                      return;
                    (this.path.getPoint(s.getValue(), o),
                      i.add(o),
                      o.add(this.pathOffset));
                    var h = this.x,
                      l = this.y;
                    this.setPosition(o.x, o.y);
                    var f = this.x - h,
                      v = this.y - l;
                    if (f === 0 && v === 0) return;
                    if (u.state !== this._prevDirection) {
                      this._prevDirection = u.state;
                      return;
                    }
                    this.rotateToPath &&
                      (this.rotation =
                        Math.atan2(v, f) + A(this.pathRotationOffset));
                  }
                },
              };
            d.exports = e;
          },
          58210: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(28699),
              c = {
                defaultPipeline: null,
                pipeline: null,
                pipelineData: null,
                initPipeline: function (a) {
                  this.pipelineData = {};
                  var r = this.scene.sys.renderer;
                  if (!r) return !1;
                  var n = r.pipelines;
                  if (n) {
                    a === void 0 && (a = n.default);
                    var e = n.get(a);
                    if (e)
                      return (
                        (this.defaultPipeline = e),
                        (this.pipeline = e),
                        !0
                      );
                  }
                  return !1;
                },
                setPipeline: function (a, r, n) {
                  var e = this.scene.sys.renderer;
                  if (!e) return _____WB$wombat$check$this$function_____(this);
                  var s = e.pipelines;
                  if (s) {
                    var u = s.get(a);
                    (u && (this.pipeline = u),
                      r && (this.pipelineData = n ? A(r) : r));
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                setPipelineData: function (a, r) {
                  var n = this.pipelineData;
                  return (
                    r === void 0 ? delete n[a] : (n[a] = r),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                resetPipeline: function (a) {
                  return (
                    a === void 0 && (a = !1),
                    (this.pipeline = this.defaultPipeline),
                    a && (this.pipelineData = {}),
                    this.pipeline !== null
                  );
                },
                getPipelineName: function () {
                  return this.pipeline.name;
                },
              };
            d.exports = c;
          },
          44086: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(28699),
              c = t(88677),
              a = t(72677),
              r = {
                hasPostPipeline: !1,
                postPipelines: null,
                postPipelineData: null,
                preFX: null,
                postFX: null,
                initPostPipeline: function (n) {
                  ((this.postPipelines = []),
                    (this.postPipelineData = {}),
                    (this.postFX = new c(this, !0)),
                    n && (this.preFX = new c(this, !1)));
                },
                setPostPipeline: function (n, e, s) {
                  var u = this.scene.sys.renderer;
                  if (!u) return _____WB$wombat$check$this$function_____(this);
                  var i = u.pipelines;
                  if (i) {
                    Array.isArray(n) || (n = [n]);
                    for (var o = 0; o < n.length; o++) {
                      var h = i.getPostPipeline(
                        n[o],
                        _____WB$wombat$check$this$function_____(this),
                        e,
                      );
                      h && this.postPipelines.push(h);
                    }
                    e && (this.postPipelineData = s ? A(e) : e);
                  }
                  return (
                    (this.hasPostPipeline = this.postPipelines.length > 0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setPostPipelineData: function (n, e) {
                  var s = this.postPipelineData;
                  return (
                    e === void 0 ? delete s[n] : (s[n] = e),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getPostPipeline: function (n) {
                  for (
                    var e = typeof n == "string",
                      s = this.postPipelines,
                      u = [],
                      i = 0;
                    i < s.length;
                    i++
                  ) {
                    var o = s[i];
                    ((e && o.name === n) || (!e && o instanceof n)) &&
                      u.push(o);
                  }
                  return u.length === 1 ? u[0] : u;
                },
                resetPostPipeline: function (n) {
                  n === void 0 && (n = !1);
                  for (var e = this.postPipelines, s = 0; s < e.length; s++)
                    e[s].destroy();
                  ((this.postPipelines = []),
                    (this.hasPostPipeline = !1),
                    n && (this.postPipelineData = {}));
                },
                removePostPipeline: function (n) {
                  for (
                    var e = typeof n == "string",
                      s = this.postPipelines,
                      u = s.length - 1;
                    u >= 0;
                    u--
                  ) {
                    var i = s[u];
                    ((e && i.name === n) || (!e && i === n)) &&
                      (i.destroy(), a(s, u));
                  }
                  return (
                    (this.hasPostPipeline = this.postPipelines.length > 0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                clearFX: function () {
                  return (
                    this.preFX && this.preFX.clear(),
                    this.postFX && this.postFX.clear(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
              };
            d.exports = r;
          },
          45900: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              scrollFactorX: 1,
              scrollFactorY: 1,
              setScrollFactor: function (t, A) {
                return (
                  A === void 0 && (A = t),
                  (this.scrollFactorX = t),
                  (this.scrollFactorY = A),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
            };
            d.exports = y;
          },
          31654: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              _sizeComponent: !0,
              width: 0,
              height: 0,
              displayWidth: {
                get: function () {
                  return Math.abs(this.scaleX * this.frame.realWidth);
                },
                set: function (t) {
                  this.scaleX = t / this.frame.realWidth;
                },
              },
              displayHeight: {
                get: function () {
                  return Math.abs(this.scaleY * this.frame.realHeight);
                },
                set: function (t) {
                  this.scaleY = t / this.frame.realHeight;
                },
              },
              setSizeToFrame: function (t) {
                (t || (t = this.frame),
                  (this.width = t.realWidth),
                  (this.height = t.realHeight));
                var A = this.input;
                return (
                  A &&
                    !A.customHitArea &&
                    ((A.hitArea.width = this.width),
                    (A.hitArea.height = this.height)),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setSize: function (t, A) {
                return (
                  (this.width = t),
                  (this.height = A),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setDisplaySize: function (t, A) {
                return (
                  (this.displayWidth = t),
                  (this.displayHeight = A),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
            };
            d.exports = y;
          },
          82081: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(82047),
              c = 8,
              a = {
                texture: null,
                frame: null,
                isCropped: !1,
                setTexture: function (r, n, e, s) {
                  return (
                    (this.texture = this.scene.sys.textures.get(r)),
                    this.setFrame(n, e, s)
                  );
                },
                setFrame: function (r, n, e) {
                  return (
                    n === void 0 && (n = !0),
                    e === void 0 && (e = !0),
                    r instanceof A
                      ? ((this.texture = this.scene.sys.textures.get(
                          r.texture.key,
                        )),
                        (this.frame = r))
                      : (this.frame = this.texture.get(r)),
                    !this.frame.cutWidth || !this.frame.cutHeight
                      ? (this.renderFlags &= ~c)
                      : (this.renderFlags |= c),
                    this._sizeComponent && n && this.setSizeToFrame(),
                    this._originComponent &&
                      e &&
                      (this.frame.customPivot
                        ? this.setOrigin(this.frame.pivotX, this.frame.pivotY)
                        : this.updateDisplayOrigin()),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
              };
            d.exports = a;
          },
          21850: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(82047),
              c = 8,
              a = {
                texture: null,
                frame: null,
                isCropped: !1,
                setCrop: function (r, n, e, s) {
                  if (r === void 0) this.isCropped = !1;
                  else if (this.frame) {
                    if (typeof r == "number")
                      this.frame.setCropUVs(
                        this._crop,
                        r,
                        n,
                        e,
                        s,
                        this.flipX,
                        this.flipY,
                      );
                    else {
                      var u = r;
                      this.frame.setCropUVs(
                        this._crop,
                        u.x,
                        u.y,
                        u.width,
                        u.height,
                        this.flipX,
                        this.flipY,
                      );
                    }
                    this.isCropped = !0;
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                setTexture: function (r, n) {
                  return (
                    (this.texture = this.scene.sys.textures.get(r)),
                    this.setFrame(n)
                  );
                },
                setFrame: function (r, n, e) {
                  return (
                    n === void 0 && (n = !0),
                    e === void 0 && (e = !0),
                    r instanceof A
                      ? ((this.texture = this.scene.sys.textures.get(
                          r.texture.key,
                        )),
                        (this.frame = r))
                      : (this.frame = this.texture.get(r)),
                    !this.frame.cutWidth || !this.frame.cutHeight
                      ? (this.renderFlags &= ~c)
                      : (this.renderFlags |= c),
                    this._sizeComponent && n && this.setSizeToFrame(),
                    this._originComponent &&
                      e &&
                      (this.frame.customPivot
                        ? this.setOrigin(this.frame.pivotX, this.frame.pivotY)
                        : this.updateDisplayOrigin()),
                    this.isCropped &&
                      this.frame.updateCropUVs(
                        this._crop,
                        this.flipX,
                        this.flipY,
                      ),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                resetCropObject: function () {
                  return {
                    u0: 0,
                    v0: 0,
                    u1: 0,
                    v1: 0,
                    width: 0,
                    height: 0,
                    x: 0,
                    y: 0,
                    flipX: !1,
                    flipY: !1,
                    cx: 0,
                    cy: 0,
                    cw: 0,
                    ch: 0,
                  };
                },
              };
            d.exports = a;
          },
          58072: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              tintTopLeft: 16777215,
              tintTopRight: 16777215,
              tintBottomLeft: 16777215,
              tintBottomRight: 16777215,
              tintFill: !1,
              clearTint: function () {
                return (
                  this.setTint(16777215),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setTint: function (t, A, c, a) {
                return (
                  t === void 0 && (t = 16777215),
                  A === void 0 && ((A = t), (c = t), (a = t)),
                  (this.tintTopLeft = t),
                  (this.tintTopRight = A),
                  (this.tintBottomLeft = c),
                  (this.tintBottomRight = a),
                  (this.tintFill = !1),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setTintFill: function (t, A, c, a) {
                return (
                  this.setTint(t, A, c, a),
                  (this.tintFill = !0),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              tint: {
                get: function () {
                  return this.tintTopLeft;
                },
                set: function (t) {
                  this.setTint(t, t, t, t);
                },
              },
              isTinted: {
                get: function () {
                  var t = 16777215;
                  return (
                    this.tintFill ||
                    this.tintTopLeft !== t ||
                    this.tintTopRight !== t ||
                    this.tintBottomLeft !== t ||
                    this.tintBottomRight !== t
                  );
                },
              },
            };
            d.exports = y;
          },
          48129: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              var A = {
                name: t.name,
                type: t.type,
                x: t.x,
                y: t.y,
                depth: t.depth,
                scale: { x: t.scaleX, y: t.scaleY },
                origin: { x: t.originX, y: t.originY },
                flipX: t.flipX,
                flipY: t.flipY,
                rotation: t.rotation,
                alpha: t.alpha,
                visible: t.visible,
                blendMode: t.blendMode,
                textureKey: "",
                frameKey: "",
                data: {},
              };
              return (
                t.texture &&
                  ((A.textureKey = t.texture.key), (A.frameKey = t.frame.name)),
                A
              );
            };
            d.exports = y;
          },
          56584: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(83392),
              c = t(69360),
              a = t(64462),
              r = t(35786),
              n = t(62138),
              e = t(93736),
              s = 4,
              u = {
                hasTransformComponent: !0,
                _scaleX: 1,
                _scaleY: 1,
                _rotation: 0,
                x: 0,
                y: 0,
                z: 0,
                w: 0,
                scale: {
                  get: function () {
                    return (this._scaleX + this._scaleY) / 2;
                  },
                  set: function (i) {
                    ((this._scaleX = i),
                      (this._scaleY = i),
                      i === 0
                        ? (this.renderFlags &= ~s)
                        : (this.renderFlags |= s));
                  },
                },
                scaleX: {
                  get: function () {
                    return this._scaleX;
                  },
                  set: function (i) {
                    ((this._scaleX = i),
                      i === 0
                        ? (this.renderFlags &= ~s)
                        : this._scaleY !== 0 && (this.renderFlags |= s));
                  },
                },
                scaleY: {
                  get: function () {
                    return this._scaleY;
                  },
                  set: function (i) {
                    ((this._scaleY = i),
                      i === 0
                        ? (this.renderFlags &= ~s)
                        : this._scaleX !== 0 && (this.renderFlags |= s));
                  },
                },
                angle: {
                  get: function () {
                    return n(this._rotation * A.RAD_TO_DEG);
                  },
                  set: function (i) {
                    this.rotation = n(i) * A.DEG_TO_RAD;
                  },
                },
                rotation: {
                  get: function () {
                    return this._rotation;
                  },
                  set: function (i) {
                    this._rotation = r(i);
                  },
                },
                setPosition: function (i, o, h, l) {
                  return (
                    i === void 0 && (i = 0),
                    o === void 0 && (o = i),
                    h === void 0 && (h = 0),
                    l === void 0 && (l = 0),
                    (this.x = i),
                    (this.y = o),
                    (this.z = h),
                    (this.w = l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                copyPosition: function (i) {
                  return (
                    i.x !== void 0 && (this.x = i.x),
                    i.y !== void 0 && (this.y = i.y),
                    i.z !== void 0 && (this.z = i.z),
                    i.w !== void 0 && (this.w = i.w),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setRandomPosition: function (i, o, h, l) {
                  return (
                    i === void 0 && (i = 0),
                    o === void 0 && (o = 0),
                    h === void 0 && (h = this.scene.sys.scale.width),
                    l === void 0 && (l = this.scene.sys.scale.height),
                    (this.x = i + Math.random() * h),
                    (this.y = o + Math.random() * l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setRotation: function (i) {
                  return (
                    i === void 0 && (i = 0),
                    (this.rotation = i),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setAngle: function (i) {
                  return (
                    i === void 0 && (i = 0),
                    (this.angle = i),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setScale: function (i, o) {
                  return (
                    i === void 0 && (i = 1),
                    o === void 0 && (o = i),
                    (this.scaleX = i),
                    (this.scaleY = o),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setX: function (i) {
                  return (
                    i === void 0 && (i = 0),
                    (this.x = i),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setY: function (i) {
                  return (
                    i === void 0 && (i = 0),
                    (this.y = i),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setZ: function (i) {
                  return (
                    i === void 0 && (i = 0),
                    (this.z = i),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setW: function (i) {
                  return (
                    i === void 0 && (i = 0),
                    (this.w = i),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getLocalTransformMatrix: function (i) {
                  return (
                    i === void 0 && (i = new c()),
                    i.applyITRS(
                      this.x,
                      this.y,
                      this._rotation,
                      this._scaleX,
                      this._scaleY,
                    )
                  );
                },
                getWorldTransformMatrix: function (i, o) {
                  i === void 0 && (i = new c());
                  var h = this.parentContainer;
                  if (!h) return this.getLocalTransformMatrix(i);
                  for (
                    o || (o = new c()),
                      i.applyITRS(
                        this.x,
                        this.y,
                        this._rotation,
                        this._scaleX,
                        this._scaleY,
                      );
                    h;
                  )
                    (o.applyITRS(h.x, h.y, h._rotation, h._scaleX, h._scaleY),
                      o.multiply(i, i),
                      (h = h.parentContainer));
                  return i;
                },
                getLocalPoint: function (i, o, h, l) {
                  (h || (h = new e()), l || (l = this.scene.sys.cameras.main));
                  var f = l.scrollX,
                    v = l.scrollY,
                    m = i + f * this.scrollFactorX - f,
                    x = o + v * this.scrollFactorY - v;
                  return (
                    this.parentContainer
                      ? this.getWorldTransformMatrix().applyInverse(m, x, h)
                      : a(
                          m,
                          x,
                          this.x,
                          this.y,
                          this.rotation,
                          this.scaleX,
                          this.scaleY,
                          h,
                        ),
                    this._originComponent &&
                      ((h.x += this._displayOriginX),
                      (h.y += this._displayOriginY)),
                    h
                  );
                },
                getParentRotation: function () {
                  for (var i = 0, o = this.parentContainer; o; )
                    ((i += o.rotation), (o = o.parentContainer));
                  return i;
                },
              };
            d.exports = u;
          },
          69360: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(83392),
              a = t(93736),
              r = new A({
                initialize: function (e, s, u, i, o, h) {
                  (e === void 0 && (e = 1),
                    s === void 0 && (s = 0),
                    u === void 0 && (u = 0),
                    i === void 0 && (i = 1),
                    o === void 0 && (o = 0),
                    h === void 0 && (h = 0),
                    (this.matrix = new Float32Array([
                      e,
                      s,
                      u,
                      i,
                      o,
                      h,
                      0,
                      0,
                      1,
                    ])),
                    (this.decomposedMatrix = {
                      translateX: 0,
                      translateY: 0,
                      scaleX: 1,
                      scaleY: 1,
                      rotation: 0,
                    }),
                    (this.quad = new Float32Array(8)));
                },
                a: {
                  get: function () {
                    return this.matrix[0];
                  },
                  set: function (n) {
                    this.matrix[0] = n;
                  },
                },
                b: {
                  get: function () {
                    return this.matrix[1];
                  },
                  set: function (n) {
                    this.matrix[1] = n;
                  },
                },
                c: {
                  get: function () {
                    return this.matrix[2];
                  },
                  set: function (n) {
                    this.matrix[2] = n;
                  },
                },
                d: {
                  get: function () {
                    return this.matrix[3];
                  },
                  set: function (n) {
                    this.matrix[3] = n;
                  },
                },
                e: {
                  get: function () {
                    return this.matrix[4];
                  },
                  set: function (n) {
                    this.matrix[4] = n;
                  },
                },
                f: {
                  get: function () {
                    return this.matrix[5];
                  },
                  set: function (n) {
                    this.matrix[5] = n;
                  },
                },
                tx: {
                  get: function () {
                    return this.matrix[4];
                  },
                  set: function (n) {
                    this.matrix[4] = n;
                  },
                },
                ty: {
                  get: function () {
                    return this.matrix[5];
                  },
                  set: function (n) {
                    this.matrix[5] = n;
                  },
                },
                rotation: {
                  get: function () {
                    return (
                      Math.acos(this.a / this.scaleX) *
                      (Math.atan(-this.c / this.a) < 0 ? -1 : 1)
                    );
                  },
                },
                rotationNormalized: {
                  get: function () {
                    var n = this.matrix,
                      e = n[0],
                      s = n[1],
                      u = n[2],
                      i = n[3];
                    return e || s
                      ? s > 0
                        ? Math.acos(e / this.scaleX)
                        : -Math.acos(e / this.scaleX)
                      : u || i
                        ? c.TAU -
                          (i > 0
                            ? Math.acos(-u / this.scaleY)
                            : -Math.acos(u / this.scaleY))
                        : 0;
                  },
                },
                scaleX: {
                  get: function () {
                    return Math.sqrt(this.a * this.a + this.b * this.b);
                  },
                },
                scaleY: {
                  get: function () {
                    return Math.sqrt(this.c * this.c + this.d * this.d);
                  },
                },
                loadIdentity: function () {
                  var n = this.matrix;
                  return (
                    (n[0] = 1),
                    (n[1] = 0),
                    (n[2] = 0),
                    (n[3] = 1),
                    (n[4] = 0),
                    (n[5] = 0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                translate: function (n, e) {
                  var s = this.matrix;
                  return (
                    (s[4] = s[0] * n + s[2] * e + s[4]),
                    (s[5] = s[1] * n + s[3] * e + s[5]),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                scale: function (n, e) {
                  var s = this.matrix;
                  return (
                    (s[0] *= n),
                    (s[1] *= n),
                    (s[2] *= e),
                    (s[3] *= e),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                rotate: function (n) {
                  var e = Math.sin(n),
                    s = Math.cos(n),
                    u = this.matrix,
                    i = u[0],
                    o = u[1],
                    h = u[2],
                    l = u[3];
                  return (
                    (u[0] = i * s + h * e),
                    (u[1] = o * s + l * e),
                    (u[2] = i * -e + h * s),
                    (u[3] = o * -e + l * s),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                multiply: function (n, e) {
                  var s = this.matrix,
                    u = n.matrix,
                    i = s[0],
                    o = s[1],
                    h = s[2],
                    l = s[3],
                    f = s[4],
                    v = s[5],
                    m = u[0],
                    x = u[1],
                    g = u[2],
                    C = u[3],
                    T = u[4],
                    F = u[5],
                    w = e === void 0 ? s : e.matrix;
                  return (
                    (w[0] = m * i + x * h),
                    (w[1] = m * o + x * l),
                    (w[2] = g * i + C * h),
                    (w[3] = g * o + C * l),
                    (w[4] = T * i + F * h + f),
                    (w[5] = T * o + F * l + v),
                    w
                  );
                },
                multiplyWithOffset: function (n, e, s) {
                  var u = this.matrix,
                    i = n.matrix,
                    o = u[0],
                    h = u[1],
                    l = u[2],
                    f = u[3],
                    v = u[4],
                    m = u[5],
                    x = e * o + s * l + v,
                    g = e * h + s * f + m,
                    C = i[0],
                    T = i[1],
                    F = i[2],
                    w = i[3],
                    U = i[4],
                    M = i[5];
                  return (
                    (u[0] = C * o + T * l),
                    (u[1] = C * h + T * f),
                    (u[2] = F * o + w * l),
                    (u[3] = F * h + w * f),
                    (u[4] = U * o + M * l + x),
                    (u[5] = U * h + M * f + g),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                transform: function (n, e, s, u, i, o) {
                  var h = this.matrix,
                    l = h[0],
                    f = h[1],
                    v = h[2],
                    m = h[3],
                    x = h[4],
                    g = h[5];
                  return (
                    (h[0] = n * l + e * v),
                    (h[1] = n * f + e * m),
                    (h[2] = s * l + u * v),
                    (h[3] = s * f + u * m),
                    (h[4] = i * l + o * v + x),
                    (h[5] = i * f + o * m + g),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                transformPoint: function (n, e, s) {
                  s === void 0 && (s = { x: 0, y: 0 });
                  var u = this.matrix,
                    i = u[0],
                    o = u[1],
                    h = u[2],
                    l = u[3],
                    f = u[4],
                    v = u[5];
                  return (
                    (s.x = n * i + e * h + f),
                    (s.y = n * o + e * l + v),
                    s
                  );
                },
                invert: function () {
                  var n = this.matrix,
                    e = n[0],
                    s = n[1],
                    u = n[2],
                    i = n[3],
                    o = n[4],
                    h = n[5],
                    l = e * i - s * u;
                  return (
                    (n[0] = i / l),
                    (n[1] = -s / l),
                    (n[2] = -u / l),
                    (n[3] = e / l),
                    (n[4] = (u * h - i * o) / l),
                    (n[5] = -(e * h - s * o) / l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                copyFrom: function (n) {
                  var e = this.matrix;
                  return (
                    (e[0] = n.a),
                    (e[1] = n.b),
                    (e[2] = n.c),
                    (e[3] = n.d),
                    (e[4] = n.e),
                    (e[5] = n.f),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                copyFromArray: function (n) {
                  var e = this.matrix;
                  return (
                    (e[0] = n[0]),
                    (e[1] = n[1]),
                    (e[2] = n[2]),
                    (e[3] = n[3]),
                    (e[4] = n[4]),
                    (e[5] = n[5]),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                copyToContext: function (n) {
                  var e = this.matrix;
                  return (n.transform(e[0], e[1], e[2], e[3], e[4], e[5]), n);
                },
                setToContext: function (n) {
                  return (n.setTransform(this), n);
                },
                copyToArray: function (n) {
                  var e = this.matrix;
                  return (
                    n === void 0
                      ? (n = [e[0], e[1], e[2], e[3], e[4], e[5]])
                      : ((n[0] = e[0]),
                        (n[1] = e[1]),
                        (n[2] = e[2]),
                        (n[3] = e[3]),
                        (n[4] = e[4]),
                        (n[5] = e[5])),
                    n
                  );
                },
                setTransform: function (n, e, s, u, i, o) {
                  var h = this.matrix;
                  return (
                    (h[0] = n),
                    (h[1] = e),
                    (h[2] = s),
                    (h[3] = u),
                    (h[4] = i),
                    (h[5] = o),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                decomposeMatrix: function () {
                  var n = this.decomposedMatrix,
                    e = this.matrix,
                    s = e[0],
                    u = e[1],
                    i = e[2],
                    o = e[3],
                    h = s * o - u * i;
                  if (((n.translateX = e[4]), (n.translateY = e[5]), s || u)) {
                    var l = Math.sqrt(s * s + u * u);
                    ((n.rotation =
                      u > 0 ? Math.acos(s / l) : -Math.acos(s / l)),
                      (n.scaleX = l),
                      (n.scaleY = h / l));
                  } else if (i || o) {
                    var f = Math.sqrt(i * i + o * o);
                    ((n.rotation =
                      Math.PI * 0.5 -
                      (o > 0 ? Math.acos(-i / f) : -Math.acos(i / f))),
                      (n.scaleX = h / f),
                      (n.scaleY = f));
                  } else ((n.rotation = 0), (n.scaleX = 0), (n.scaleY = 0));
                  return n;
                },
                applyITRS: function (n, e, s, u, i) {
                  var o = this.matrix,
                    h = Math.sin(s),
                    l = Math.cos(s);
                  return (
                    (o[4] = n),
                    (o[5] = e),
                    (o[0] = l * u),
                    (o[1] = h * u),
                    (o[2] = -h * i),
                    (o[3] = l * i),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                applyInverse: function (n, e, s) {
                  s === void 0 && (s = new a());
                  var u = this.matrix,
                    i = u[0],
                    o = u[1],
                    h = u[2],
                    l = u[3],
                    f = u[4],
                    v = u[5],
                    m = 1 / (i * l + h * -o);
                  return (
                    (s.x = l * m * n + -h * m * e + (v * h - f * l) * m),
                    (s.y = i * m * e + -o * m * n + (-v * i + f * o) * m),
                    s
                  );
                },
                setQuad: function (n, e, s, u, i, o) {
                  (i === void 0 && (i = !1), o === void 0 && (o = this.quad));
                  var h = this.matrix,
                    l = h[0],
                    f = h[1],
                    v = h[2],
                    m = h[3],
                    x = h[4],
                    g = h[5];
                  return (
                    i
                      ? ((o[0] = Math.round(n * l + e * v + x)),
                        (o[1] = Math.round(n * f + e * m + g)),
                        (o[2] = Math.round(n * l + u * v + x)),
                        (o[3] = Math.round(n * f + u * m + g)),
                        (o[4] = Math.round(s * l + u * v + x)),
                        (o[5] = Math.round(s * f + u * m + g)),
                        (o[6] = Math.round(s * l + e * v + x)),
                        (o[7] = Math.round(s * f + e * m + g)))
                      : ((o[0] = n * l + e * v + x),
                        (o[1] = n * f + e * m + g),
                        (o[2] = n * l + u * v + x),
                        (o[3] = n * f + u * m + g),
                        (o[4] = s * l + u * v + x),
                        (o[5] = s * f + u * m + g),
                        (o[6] = s * l + e * v + x),
                        (o[7] = s * f + e * m + g)),
                    o
                  );
                },
                getX: function (n, e) {
                  return n * this.a + e * this.c + this.e;
                },
                getY: function (n, e) {
                  return n * this.b + e * this.d + this.f;
                },
                getXRound: function (n, e, s) {
                  var u = this.getX(n, e);
                  return (s && (u = Math.round(u)), u);
                },
                getYRound: function (n, e, s) {
                  var u = this.getY(n, e);
                  return (s && (u = Math.round(u)), u);
                },
                getCSSMatrix: function () {
                  var n = this.matrix;
                  return (
                    "matrix(" +
                    n[0] +
                    "," +
                    n[1] +
                    "," +
                    n[2] +
                    "," +
                    n[3] +
                    "," +
                    n[4] +
                    "," +
                    n[5] +
                    ")"
                  );
                },
                destroy: function () {
                  ((this.matrix = null),
                    (this.quad = null),
                    (this.decomposedMatrix = null));
                },
              });
            d.exports = r;
          },
          59694: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = 1,
              t = {
                _visible: !0,
                visible: {
                  get: function () {
                    return this._visible;
                  },
                  set: function (A) {
                    A
                      ? ((this._visible = !0), (this.renderFlags |= y))
                      : ((this._visible = !1), (this.renderFlags &= ~y));
                  },
                },
                setVisible: function (A) {
                  return (
                    (this.visible = A),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
              };
            d.exports = t;
          },
          64937: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              Alpha: t(97123),
              AlphaSingle: t(15720),
              BlendMode: t(69732),
              ComputedSize: t(28284),
              Crop: t(85293),
              Depth: t(14975),
              Flip: t(92972),
              FX: t(88677),
              GetBounds: t(80693),
              Mask: t(39171),
              Origin: t(28072),
              PathFollower: t(54211),
              Pipeline: t(58210),
              PostPipeline: t(44086),
              ScrollFactor: t(45900),
              Size: t(31654),
              Texture: t(82081),
              TextureCrop: t(21850),
              Tint: t(58072),
              ToJSON: t(48129),
              Transform: t(56584),
              TransformMatrix: t(69360),
              Visible: t(59694),
            };
          },
          70339: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @author       Felipe Alfonso <@bitnenfer>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(59959),
              c = t(95723),
              a = t(56694),
              r = t(64937),
              n = t(56631),
              e = t(89980),
              s = t(74118),
              u = t(98524),
              i = t(58795),
              o = t(93736),
              h = new a({
                Extends: e,
                Mixins: [
                  r.AlphaSingle,
                  r.BlendMode,
                  r.ComputedSize,
                  r.Depth,
                  r.Mask,
                  r.PostPipeline,
                  r.Transform,
                  r.Visible,
                  u,
                ],
                initialize: function (f, v, m, x) {
                  (e.call(this, f, "Container"),
                    (this.list = []),
                    (this.exclusive = !0),
                    (this.maxSize = -1),
                    (this.position = 0),
                    (this.localTransform = new r.TransformMatrix()),
                    (this.tempTransformMatrix = new r.TransformMatrix()),
                    (this._sortKey = ""),
                    (this._sysEvents = f.sys.events),
                    (this.scrollFactorX = 1),
                    (this.scrollFactorY = 1),
                    this.initPostPipeline(),
                    this.setPosition(v, m),
                    this.setBlendMode(c.SKIP_CHECK),
                    x && this.add(x));
                },
                originX: {
                  get: function () {
                    return 0.5;
                  },
                },
                originY: {
                  get: function () {
                    return 0.5;
                  },
                },
                displayOriginX: {
                  get: function () {
                    return this.width * 0.5;
                  },
                },
                displayOriginY: {
                  get: function () {
                    return this.height * 0.5;
                  },
                },
                setExclusive: function (l) {
                  return (
                    l === void 0 && (l = !0),
                    (this.exclusive = l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getBounds: function (l) {
                  if (
                    (l === void 0 && (l = new s()),
                    l.setTo(this.x, this.y, 0, 0),
                    this.parentContainer)
                  ) {
                    var f = this.parentContainer.getBoundsTransformMatrix(),
                      v = f.transformPoint(this.x, this.y);
                    l.setTo(v.x, v.y, 0, 0);
                  }
                  if (this.list.length > 0) {
                    var m = this.list,
                      x = new s(),
                      g = !1;
                    l.setEmpty();
                    for (var C = 0; C < m.length; C++) {
                      var T = m[C];
                      T.getBounds &&
                        (T.getBounds(x),
                        g
                          ? i(x, l, l)
                          : (l.setTo(x.x, x.y, x.width, x.height), (g = !0)));
                    }
                  }
                  return l;
                },
                addHandler: function (l) {
                  (l.once(
                    n.DESTROY,
                    this.remove,
                    _____WB$wombat$check$this$function_____(this),
                  ),
                    this.exclusive &&
                      (l.parentContainer && l.parentContainer.remove(l),
                      (l.parentContainer =
                        _____WB$wombat$check$this$function_____(this)),
                      l.removeFromDisplayList(),
                      l.addedToScene()));
                },
                removeHandler: function (l) {
                  (l.off(
                    n.DESTROY,
                    this.remove,
                    _____WB$wombat$check$this$function_____(this),
                  ),
                    this.exclusive &&
                      ((l.parentContainer = null),
                      l.removedFromScene(),
                      l.addToDisplayList()));
                },
                pointToContainer: function (l, f) {
                  (f === void 0 && (f = new o()),
                    this.parentContainer
                      ? this.parentContainer.pointToContainer(l, f)
                      : ((f.x = l.x), (f.y = l.y)));
                  var v = this.tempTransformMatrix;
                  return (
                    v.applyITRS(
                      this.x,
                      this.y,
                      this.rotation,
                      this.scaleX,
                      this.scaleY,
                    ),
                    v.invert(),
                    v.transformPoint(l.x, l.y, f),
                    f
                  );
                },
                getBoundsTransformMatrix: function () {
                  return this.getWorldTransformMatrix(
                    this.tempTransformMatrix,
                    this.localTransform,
                  );
                },
                add: function (l) {
                  return (
                    A.Add(
                      this.list,
                      l,
                      this.maxSize,
                      this.addHandler,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                addAt: function (l, f) {
                  return (
                    A.AddAt(
                      this.list,
                      l,
                      f,
                      this.maxSize,
                      this.addHandler,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getAt: function (l) {
                  return this.list[l];
                },
                getIndex: function (l) {
                  return this.list.indexOf(l);
                },
                sort: function (l, f) {
                  return l
                    ? (f === void 0 &&
                        (f = function (v, m) {
                          return v[l] - m[l];
                        }),
                      A.StableSort(this.list, f),
                      _____WB$wombat$check$this$function_____(this))
                    : this;
                },
                getByName: function (l) {
                  return A.GetFirst(this.list, "name", l);
                },
                getRandom: function (l, f) {
                  return A.GetRandom(this.list, l, f);
                },
                getFirst: function (l, f, v, m) {
                  return A.GetFirst(this.list, l, f, v, m);
                },
                getAll: function (l, f, v, m) {
                  return A.GetAll(this.list, l, f, v, m);
                },
                count: function (l, f, v, m) {
                  return A.CountAllMatching(this.list, l, f, v, m);
                },
                swap: function (l, f) {
                  return (
                    A.Swap(this.list, l, f),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                moveTo: function (l, f) {
                  return (
                    A.MoveTo(this.list, l, f),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                moveAbove: function (l, f) {
                  return (
                    A.MoveAbove(this.list, l, f),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                moveBelow: function (l, f) {
                  return (
                    A.MoveBelow(this.list, l, f),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                remove: function (l, f) {
                  var v = A.Remove(
                    this.list,
                    l,
                    this.removeHandler,
                    _____WB$wombat$check$this$function_____(this),
                  );
                  if (f && v) {
                    Array.isArray(v) || (v = [v]);
                    for (var m = 0; m < v.length; m++) v[m].destroy();
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                removeAt: function (l, f) {
                  var v = A.RemoveAt(
                    this.list,
                    l,
                    this.removeHandler,
                    _____WB$wombat$check$this$function_____(this),
                  );
                  return (
                    f && v && v.destroy(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                removeBetween: function (l, f, v) {
                  var m = A.RemoveBetween(
                    this.list,
                    l,
                    f,
                    this.removeHandler,
                    _____WB$wombat$check$this$function_____(this),
                  );
                  if (v) for (var x = 0; x < m.length; x++) m[x].destroy();
                  return _____WB$wombat$check$this$function_____(this);
                },
                removeAll: function (l) {
                  var f = this.list;
                  if (l) {
                    for (var v = 0; v < f.length; v++)
                      f[v] &&
                        f[v].scene &&
                        (f[v].off(
                          n.DESTROY,
                          this.remove,
                          _____WB$wombat$check$this$function_____(this),
                        ),
                        f[v].destroy());
                    this.list = [];
                  } else
                    A.RemoveBetween(
                      f,
                      0,
                      f.length,
                      this.removeHandler,
                      _____WB$wombat$check$this$function_____(this),
                    );
                  return _____WB$wombat$check$this$function_____(this);
                },
                bringToTop: function (l) {
                  return (
                    A.BringToTop(this.list, l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                sendToBack: function (l) {
                  return (
                    A.SendToBack(this.list, l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                moveUp: function (l) {
                  return (
                    A.MoveUp(this.list, l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                moveDown: function (l) {
                  return (
                    A.MoveDown(this.list, l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                reverse: function () {
                  return (
                    this.list.reverse(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                shuffle: function () {
                  return (
                    A.Shuffle(this.list),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                replace: function (l, f, v) {
                  var m = A.Replace(this.list, l, f);
                  return (
                    m &&
                      (this.addHandler(f),
                      this.removeHandler(l),
                      v && l.destroy()),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                exists: function (l) {
                  return this.list.indexOf(l) > -1;
                },
                setAll: function (l, f, v, m) {
                  return (
                    A.SetAll(this.list, l, f, v, m),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                each: function (l, f) {
                  var v = [null],
                    m,
                    x = this.list.slice(),
                    g = x.length;
                  for (m = 2; m < arguments.length; m++) v.push(arguments[m]);
                  for (m = 0; m < g; m++) ((v[0] = x[m]), l.apply(f, v));
                  return _____WB$wombat$check$this$function_____(this);
                },
                iterate: function (l, f) {
                  var v = [null],
                    m;
                  for (m = 2; m < arguments.length; m++) v.push(arguments[m]);
                  for (m = 0; m < this.list.length; m++)
                    ((v[0] = this.list[m]), l.apply(f, v));
                  return _____WB$wombat$check$this$function_____(this);
                },
                setScrollFactor: function (l, f, v) {
                  return (
                    f === void 0 && (f = l),
                    v === void 0 && (v = !1),
                    (this.scrollFactorX = l),
                    (this.scrollFactorY = f),
                    v &&
                      (A.SetAll(this.list, "scrollFactorX", l),
                      A.SetAll(this.list, "scrollFactorY", f)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                length: {
                  get: function () {
                    return this.list.length;
                  },
                },
                first: {
                  get: function () {
                    return (
                      (this.position = 0),
                      this.list.length > 0 ? this.list[0] : null
                    );
                  },
                },
                last: {
                  get: function () {
                    return this.list.length > 0
                      ? ((this.position = this.list.length - 1),
                        this.list[this.position])
                      : null;
                  },
                },
                next: {
                  get: function () {
                    return this.position < this.list.length
                      ? (this.position++, this.list[this.position])
                      : null;
                  },
                },
                previous: {
                  get: function () {
                    return this.position > 0
                      ? (this.position--, this.list[this.position])
                      : null;
                  },
                },
                preDestroy: function () {
                  (this.removeAll(!!this.exclusive),
                    this.localTransform.destroy(),
                    this.tempTransformMatrix.destroy(),
                    (this.list = []));
                },
              });
            d.exports = h;
          },
          13916: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @author       Felipe Alfonso <@bitnenfer>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              c.addToRenderList(A);
              var r = A.list;
              if (r.length !== 0) {
                var n = A.localTransform;
                a
                  ? (n.loadIdentity(),
                    n.multiply(a),
                    n.translate(A.x, A.y),
                    n.rotate(A.rotation),
                    n.scale(A.scaleX, A.scaleY))
                  : n.applyITRS(A.x, A.y, A.rotation, A.scaleX, A.scaleY);
                var e = A.blendMode !== -1;
                e || t.setBlendMode(0);
                var s = A._alpha,
                  u = A.scrollFactorX,
                  i = A.scrollFactorY;
                A.mask && A.mask.preRenderCanvas(t, null, c);
                for (var o = 0; o < r.length; o++) {
                  var h = r[o];
                  if (h.willRender(c)) {
                    var l = h.alpha,
                      f = h.scrollFactorX,
                      v = h.scrollFactorY;
                    (!e &&
                      h.blendMode !== t.currentBlendMode &&
                      t.setBlendMode(h.blendMode),
                      h.setScrollFactor(f * u, v * i),
                      h.setAlpha(l * s),
                      h.renderCanvas(t, h, c, n),
                      h.setAlpha(l),
                      h.setScrollFactor(f, v));
                  }
                }
                A.mask && A.mask.postRenderCanvas(t);
              }
            };
            d.exports = y;
          },
          44516: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @author       Felipe Alfonso <@bitnenfer>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(88933),
              c = t(70339),
              a = t(99325),
              r = t(20494);
            a.register("container", function (n, e) {
              n === void 0 && (n = {});
              var s = r(n, "x", 0),
                u = r(n, "y", 0),
                i = r(n, "children", null),
                o = new c(this.scene, s, u, i);
              return (e !== void 0 && (n.add = e), A(this.scene, o, n), o);
            });
          },
          23400: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @author       Felipe Alfonso <@bitnenfer>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(70339),
              c = t(61286);
            c.register("container", function (a, r, n) {
              return this.displayList.add(new A(this.scene, a, r, n));
            });
          },
          98524: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @author       Felipe Alfonso <@bitnenfer>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72283),
              c = A,
              a = A;
            ((c = t(36934)),
              (a = t(13916)),
              (d.exports = { renderWebGL: c, renderCanvas: a }));
          },
          36934: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @author       Felipe Alfonso <@bitnenfer>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              c.addToRenderList(A);
              var r = A.list,
                n = r.length;
              if (n !== 0) {
                var e = A.localTransform;
                (a
                  ? (e.loadIdentity(),
                    e.multiply(a),
                    e.translate(A.x, A.y),
                    e.rotate(A.rotation),
                    e.scale(A.scaleX, A.scaleY))
                  : e.applyITRS(A.x, A.y, A.rotation, A.scaleX, A.scaleY),
                  t.pipelines.preBatch(A));
                var s = A.blendMode !== -1;
                s || t.setBlendMode(0);
                for (
                  var u = A.alpha,
                    i = A.scrollFactorX,
                    o = A.scrollFactorY,
                    h = 0;
                  h < n;
                  h++
                ) {
                  var l = r[h];
                  if (l.willRender(c)) {
                    var f, v, m, x;
                    if (l.alphaTopLeft !== void 0)
                      ((f = l.alphaTopLeft),
                        (v = l.alphaTopRight),
                        (m = l.alphaBottomLeft),
                        (x = l.alphaBottomRight));
                    else {
                      var g = l.alpha;
                      ((f = g), (v = g), (m = g), (x = g));
                    }
                    var C = l.scrollFactorX,
                      T = l.scrollFactorY;
                    !s &&
                      l.blendMode !== t.currentBlendMode &&
                      t.setBlendMode(l.blendMode);
                    var F = l.mask;
                    F && F.preRenderWebGL(t, l, c);
                    var w = l.type;
                    (w !== t.currentType &&
                      ((t.newType = !0), (t.currentType = w)),
                      (t.nextTypeMatch =
                        h < n - 1 ? r[h + 1].type === t.currentType : !1),
                      l.setScrollFactor(C * i, T * o),
                      l.setAlpha(f * u, v * u, m * u, x * u),
                      l.renderWebGL(t, l, c, e, A),
                      l.setAlpha(f, v, m, x),
                      l.setScrollFactor(C, T),
                      F && F.postRenderWebGL(t, c),
                      (t.newType = !1));
                  }
                }
                t.pipelines.postBatch(A);
              }
            };
            d.exports = y;
          },
          2452: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = [
              "normal",
              "multiply",
              "multiply",
              "screen",
              "overlay",
              "darken",
              "lighten",
              "color-dodge",
              "color-burn",
              "hard-light",
              "soft-light",
              "difference",
              "exclusion",
              "hue",
              "saturation",
              "color",
              "luminosity",
            ];
          },
          38943: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(64937),
              a = t(11603),
              r = t(89980),
              n = t(42911),
              e = t(55638),
              s = t(7599),
              u = t(51729),
              i = new A({
                Extends: r,
                Mixins: [
                  c.AlphaSingle,
                  c.BlendMode,
                  c.Depth,
                  c.Origin,
                  c.ScrollFactor,
                  c.Transform,
                  c.Visible,
                  a,
                ],
                initialize: function (h, l, f, v, m, x) {
                  (r.call(this, h, "DOMElement"),
                    (_____WB$wombat$check$this$function_____(this).parent =
                      h.sys.game.domContainer),
                    (this.cache = h.sys.cache.html),
                    this.node,
                    (this.transformOnly = !1),
                    (this.skewX = 0),
                    (this.skewY = 0),
                    (this.rotate3d = new u()),
                    (this.rotate3dAngle = "deg"),
                    (this.pointerEvents = "auto"),
                    (this.width = 0),
                    (this.height = 0),
                    (this.displayWidth = 0),
                    (this.displayHeight = 0),
                    (this.handler = this.dispatchNativeEvent.bind(this)),
                    this.setPosition(l, f),
                    typeof v == "string"
                      ? v[0] === "#"
                        ? this.setElement(v.substr(1), m, x)
                        : this.createElement(v, m, x)
                      : v && this.setElement(v, m, x),
                    h.sys.events.on(
                      s.SLEEP,
                      this.handleSceneEvent,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    h.sys.events.on(
                      s.WAKE,
                      this.handleSceneEvent,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    h.sys.events.on(
                      s.PRE_RENDER,
                      this.preRender,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                handleSceneEvent: function (o) {
                  var h = this.node,
                    l = h.style;
                  h && (l.display = o.settings.visible ? "block" : "none");
                },
                setSkew: function (o, h) {
                  return (
                    o === void 0 && (o = 0),
                    h === void 0 && (h = o),
                    (this.skewX = o),
                    (this.skewY = h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setPerspective: function (o) {
                  return (
                    (_____WB$wombat$check$this$function_____(
                      this,
                    ).parent.style.perspective = o + "px"),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                perspective: {
                  get: function () {
                    return parseFloat(
                      _____WB$wombat$check$this$function_____(this).parent.style
                        .perspective,
                    );
                  },
                  set: function (o) {
                    _____WB$wombat$check$this$function_____(
                      this,
                    ).parent.style.perspective = o + "px";
                  },
                },
                addListener: function (o) {
                  if (this.node) {
                    o = o.split(" ");
                    for (var h = 0; h < o.length; h++)
                      this.node.addEventListener(o[h], this.handler, !1);
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                removeListener: function (o) {
                  if (this.node) {
                    o = o.split(" ");
                    for (var h = 0; h < o.length; h++)
                      this.node.removeEventListener(o[h], this.handler);
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                dispatchNativeEvent: function (o) {
                  this.emit(o.type, o);
                },
                createElement: function (o, h, l) {
                  return this.setElement(document.createElement(o), h, l);
                },
                setElement: function (o, h, l) {
                  this.removeElement();
                  var f;
                  if (
                    (typeof o == "string"
                      ? (o[0] === "#" && (o = o.substr(1)),
                        (f = document.getElementById(o)))
                      : typeof o == "object" && o.nodeType === 1 && (f = o),
                    !f)
                  )
                    return _____WB$wombat$check$this$function_____(this);
                  if (((this.node = f), h && n(h)))
                    for (var v in h) f.style[v] = h[v];
                  else typeof h == "string" && (f.style = h);
                  return (
                    (f.style.zIndex = "0"),
                    (f.style.display = "inline"),
                    (f.style.position = "absolute"),
                    (f.phaser = _____WB$wombat$check$this$function_____(this)),
                    _____WB$wombat$check$this$function_____(this).parent &&
                      _____WB$wombat$check$this$function_____(
                        this,
                      ).parent.appendChild(f),
                    l && (f.innerText = l),
                    this.updateSize()
                  );
                },
                createFromCache: function (o, h) {
                  var l = this.cache.get(o);
                  return (
                    l && this.createFromHTML(l, h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                createFromHTML: function (o, h) {
                  (h === void 0 && (h = "div"), this.removeElement());
                  var l = document.createElement(h);
                  return (
                    (this.node = l),
                    (l.style.zIndex = "0"),
                    (l.style.display = "inline"),
                    (l.style.position = "absolute"),
                    (l.phaser = _____WB$wombat$check$this$function_____(this)),
                    _____WB$wombat$check$this$function_____(this).parent &&
                      _____WB$wombat$check$this$function_____(
                        this,
                      ).parent.appendChild(l),
                    (l.innerHTML = o),
                    this.updateSize()
                  );
                },
                removeElement: function () {
                  return (
                    this.node && (e(this.node), (this.node = null)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                updateSize: function () {
                  var o = this.node,
                    h = o.getBoundingClientRect();
                  return (
                    (this.width = o.clientWidth),
                    (this.height = o.clientHeight),
                    (this.displayWidth = h.width || 0),
                    (this.displayHeight = h.height || 0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getChildByProperty: function (o, h) {
                  if (this.node) {
                    for (
                      var l = this.node.querySelectorAll("*"), f = 0;
                      f < l.length;
                      f++
                    )
                      if (l[f][o] === h) return l[f];
                  }
                  return null;
                },
                getChildByID: function (o) {
                  return this.getChildByProperty("id", o);
                },
                getChildByName: function (o) {
                  return this.getChildByProperty("name", o);
                },
                setClassName: function (o) {
                  return (
                    this.node && ((this.node.className = o), this.updateSize()),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setText: function (o) {
                  return (
                    this.node && ((this.node.innerText = o), this.updateSize()),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setHTML: function (o) {
                  return (
                    this.node && ((this.node.innerHTML = o), this.updateSize()),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                preRender: function () {
                  var o = this.parentContainer,
                    h = this.node;
                  h && o && !o.willRender() && (h.style.display = "none");
                },
                willRender: function () {
                  return !0;
                },
                preDestroy: function () {
                  (this.removeElement(),
                    this.scene.sys.events.off(
                      s.SLEEP,
                      this.handleSceneEvent,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    this.scene.sys.events.off(
                      s.WAKE,
                      this.handleSceneEvent,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    this.scene.sys.events.off(
                      s.PRE_RENDER,
                      this.preRender,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
              });
            d.exports = i;
          },
          66070: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(2452),
              c = t(89980),
              a = t(69360),
              r = new a(),
              n = new a(),
              e = new a(),
              s = function (u, i, o, h) {
                if (i.node) {
                  var l = i.node.style,
                    f = i.scene.sys.settings;
                  if (
                    !l ||
                    !f.visible ||
                    c.RENDER_MASK !== i.renderFlags ||
                    (i.cameraFilter !== 0 && i.cameraFilter & o.id) ||
                    (i.parentContainer && !i.parentContainer.willRender())
                  ) {
                    l.display = "none";
                    return;
                  }
                  var v = i.parentContainer,
                    m = o.alpha * i.alpha;
                  v && (m *= v.alpha);
                  var x = r,
                    g = n,
                    C = e,
                    T = 0,
                    F = 0,
                    w = "0%",
                    U = "0%";
                  (h
                    ? ((T = i.width * i.scaleX * i.originX),
                      (F = i.height * i.scaleY * i.originY),
                      g.applyITRS(
                        i.x - T,
                        i.y - F,
                        i.rotation,
                        i.scaleX,
                        i.scaleY,
                      ),
                      x.copyFrom(o.matrix),
                      x.multiplyWithOffset(
                        h,
                        -o.scrollX * i.scrollFactorX,
                        -o.scrollY * i.scrollFactorY,
                      ),
                      (g.e = i.x - T),
                      (g.f = i.y - F),
                      x.multiply(g, C))
                    : ((T = i.width * i.originX),
                      (F = i.height * i.originY),
                      g.applyITRS(
                        i.x - T,
                        i.y - F,
                        i.rotation,
                        i.scaleX,
                        i.scaleY,
                      ),
                      x.copyFrom(o.matrix),
                      (w = 100 * i.originX + "%"),
                      (U = 100 * i.originY + "%"),
                      (g.e -= o.scrollX * i.scrollFactorX),
                      (g.f -= o.scrollY * i.scrollFactorY),
                      x.multiply(g, C)),
                    i.transformOnly ||
                      ((l.display = "block"),
                      (l.opacity = m),
                      (l.zIndex = i._depth),
                      (l.pointerEvents = i.pointerEvents),
                      (l.mixBlendMode = A[i._blendMode])),
                    (l.transform =
                      C.getCSSMatrix() +
                      " skew(" +
                      i.skewX +
                      "rad, " +
                      i.skewY +
                      "rad) rotate3d(" +
                      i.rotate3d.x +
                      "," +
                      i.rotate3d.y +
                      "," +
                      i.rotate3d.z +
                      "," +
                      i.rotate3d.w +
                      i.rotate3dAngle +
                      ")"),
                    (l.transformOrigin = w + " " + U));
                }
              };
            d.exports = s;
          },
          66788: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(38943),
              c = t(61286);
            c.register("dom", function (a, r, n, e, s) {
              var u = new A(this.scene, a, r, n, e, s);
              return (this.displayList.add(u), u);
            });
          },
          11603: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72283),
              c = A,
              a = A;
            ((c = t(66070)),
              (a = t(66070)),
              (d.exports = { renderWebGL: c, renderCanvas: a }));
          },
          65492: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "addedtoscene";
          },
          98398: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "destroy";
          },
          40239: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "removedfromscene";
          },
          17286: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "complete";
          },
          31496: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "created";
          },
          89587: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "error";
          },
          59792: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "locked";
          },
          96342: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "loop";
          },
          6017: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "playing";
          },
          49614: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "play";
          },
          24418: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "seeked";
          },
          87318: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "seeking";
          },
          50009: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "stalled";
          },
          61922: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "stop";
          },
          79501: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "textureready";
          },
          4052: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "unlocked";
          },
          54857: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "unsupported";
          },
          56631: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              ADDED_TO_SCENE: t(65492),
              DESTROY: t(98398),
              REMOVED_FROM_SCENE: t(40239),
              VIDEO_COMPLETE: t(17286),
              VIDEO_CREATED: t(31496),
              VIDEO_ERROR: t(89587),
              VIDEO_LOCKED: t(59792),
              VIDEO_LOOP: t(96342),
              VIDEO_PLAY: t(49614),
              VIDEO_PLAYING: t(6017),
              VIDEO_SEEKED: t(24418),
              VIDEO_SEEKING: t(87318),
              VIDEO_STALLED: t(50009),
              VIDEO_STOP: t(61922),
              VIDEO_TEXTURE: t(79501),
              VIDEO_UNLOCKED: t(4052),
              VIDEO_UNSUPPORTED: t(54857),
            };
          },
          39419: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(64937),
              a = t(89980),
              r = t(79394),
              n = new A({
                Extends: a,
                Mixins: [
                  c.Alpha,
                  c.BlendMode,
                  c.Depth,
                  c.Flip,
                  c.Origin,
                  c.ScrollFactor,
                  c.Size,
                  c.Texture,
                  c.Tint,
                  c.Transform,
                  c.Visible,
                  r,
                ],
                initialize: function (s) {
                  a.call(this, s, "Extern");
                },
                addedToScene: function () {
                  this.scene.sys.updateList.add(this);
                },
                removedFromScene: function () {
                  this.scene.sys.updateList.remove(this);
                },
                preUpdate: function () {},
                render: function () {},
              });
            d.exports = n;
          },
          96699: () => {},
          41155: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(39419),
              c = t(61286);
            c.register("extern", function () {
              var a = new A(this.scene);
              return (this.displayList.add(a), a);
            });
          },
          79394: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72283),
              c = A,
              a = A;
            ((c = t(81410)),
              (a = t(96699)),
              (d.exports = { renderWebGL: c, renderCanvas: a }));
          },
          81410: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(73329),
              c = function (a, r, n, e) {
                a.pipelines.clear();
                var s = A(r, n, e).calc;
                (r.render.call(r, a, n, s), a.pipelines.rebind());
              };
            d.exports = c;
          },
          36266: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              ARC: 0,
              BEGIN_PATH: 1,
              CLOSE_PATH: 2,
              FILL_RECT: 3,
              LINE_TO: 4,
              MOVE_TO: 5,
              LINE_STYLE: 6,
              FILL_STYLE: 7,
              FILL_PATH: 8,
              STROKE_PATH: 9,
              FILL_TRIANGLE: 10,
              STROKE_TRIANGLE: 11,
              SAVE: 14,
              RESTORE: 15,
              TRANSLATE: 16,
              SCALE: 17,
              ROTATE: 18,
              GRADIENT_FILL_STYLE: 21,
              GRADIENT_LINE_STYLE: 22,
            };
          },
          33182: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(51052),
              c = t(56694),
              a = t(36266),
              r = t(64937),
              n = t(95669),
              e = t(89980),
              s = t(72632),
              u = t(10850),
              i = t(83392),
              o = t(60898),
              h = new c({
                Extends: e,
                Mixins: [
                  r.AlphaSingle,
                  r.BlendMode,
                  r.Depth,
                  r.Mask,
                  r.Pipeline,
                  r.PostPipeline,
                  r.Transform,
                  r.Visible,
                  r.ScrollFactor,
                  o,
                ],
                initialize: function (f, v) {
                  var m = u(v, "x", 0),
                    x = u(v, "y", 0);
                  (e.call(this, f, "Graphics"),
                    this.setPosition(m, x),
                    this.initPipeline(),
                    this.initPostPipeline(),
                    (this.displayOriginX = 0),
                    (this.displayOriginY = 0),
                    (this.commandBuffer = []),
                    (this.defaultFillColor = -1),
                    (this.defaultFillAlpha = 1),
                    (this.defaultStrokeWidth = 1),
                    (this.defaultStrokeColor = -1),
                    (this.defaultStrokeAlpha = 1),
                    (this._lineWidth = 1),
                    this.lineStyle(1, 0, 0),
                    this.fillStyle(0, 0),
                    this.setDefaultStyles(v));
                },
                setDefaultStyles: function (l) {
                  return (
                    u(l, "lineStyle", null) &&
                      ((this.defaultStrokeWidth = u(l, "lineStyle.width", 1)),
                      (this.defaultStrokeColor = u(
                        l,
                        "lineStyle.color",
                        16777215,
                      )),
                      (this.defaultStrokeAlpha = u(l, "lineStyle.alpha", 1)),
                      this.lineStyle(
                        this.defaultStrokeWidth,
                        this.defaultStrokeColor,
                        this.defaultStrokeAlpha,
                      )),
                    u(l, "fillStyle", null) &&
                      ((this.defaultFillColor = u(
                        l,
                        "fillStyle.color",
                        16777215,
                      )),
                      (this.defaultFillAlpha = u(l, "fillStyle.alpha", 1)),
                      this.fillStyle(
                        this.defaultFillColor,
                        this.defaultFillAlpha,
                      )),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                lineStyle: function (l, f, v) {
                  return (
                    v === void 0 && (v = 1),
                    this.commandBuffer.push(a.LINE_STYLE, l, f, v),
                    (this._lineWidth = l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                fillStyle: function (l, f) {
                  return (
                    f === void 0 && (f = 1),
                    this.commandBuffer.push(a.FILL_STYLE, l, f),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                fillGradientStyle: function (l, f, v, m, x, g, C, T) {
                  return (
                    x === void 0 && (x = 1),
                    g === void 0 && (g = x),
                    C === void 0 && (C = x),
                    T === void 0 && (T = x),
                    this.commandBuffer.push(
                      a.GRADIENT_FILL_STYLE,
                      x,
                      g,
                      C,
                      T,
                      l,
                      f,
                      v,
                      m,
                    ),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                lineGradientStyle: function (l, f, v, m, x, g) {
                  return (
                    g === void 0 && (g = 1),
                    this.commandBuffer.push(
                      a.GRADIENT_LINE_STYLE,
                      l,
                      g,
                      f,
                      v,
                      m,
                      x,
                    ),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                beginPath: function () {
                  return (
                    this.commandBuffer.push(a.BEGIN_PATH),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                closePath: function () {
                  return (
                    this.commandBuffer.push(a.CLOSE_PATH),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                fillPath: function () {
                  return (
                    this.commandBuffer.push(a.FILL_PATH),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                fill: function () {
                  return (
                    this.commandBuffer.push(a.FILL_PATH),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                strokePath: function () {
                  return (
                    this.commandBuffer.push(a.STROKE_PATH),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                stroke: function () {
                  return (
                    this.commandBuffer.push(a.STROKE_PATH),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                fillCircleShape: function (l) {
                  return this.fillCircle(l.x, l.y, l.radius);
                },
                strokeCircleShape: function (l) {
                  return this.strokeCircle(l.x, l.y, l.radius);
                },
                fillCircle: function (l, f, v) {
                  return (
                    this.beginPath(),
                    this.arc(l, f, v, 0, i.PI2),
                    this.fillPath(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                strokeCircle: function (l, f, v) {
                  return (
                    this.beginPath(),
                    this.arc(l, f, v, 0, i.PI2),
                    this.strokePath(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                fillRectShape: function (l) {
                  return this.fillRect(l.x, l.y, l.width, l.height);
                },
                strokeRectShape: function (l) {
                  return this.strokeRect(l.x, l.y, l.width, l.height);
                },
                fillRect: function (l, f, v, m) {
                  return (
                    this.commandBuffer.push(a.FILL_RECT, l, f, v, m),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                strokeRect: function (l, f, v, m) {
                  var x = this._lineWidth / 2,
                    g = l - x,
                    C = l + x;
                  return (
                    this.beginPath(),
                    this.moveTo(l, f),
                    this.lineTo(l, f + m),
                    this.strokePath(),
                    this.beginPath(),
                    this.moveTo(l + v, f),
                    this.lineTo(l + v, f + m),
                    this.strokePath(),
                    this.beginPath(),
                    this.moveTo(g, f),
                    this.lineTo(C + v, f),
                    this.strokePath(),
                    this.beginPath(),
                    this.moveTo(g, f + m),
                    this.lineTo(C + v, f + m),
                    this.strokePath(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                fillRoundedRect: function (l, f, v, m, x) {
                  x === void 0 && (x = 20);
                  var g = x,
                    C = x,
                    T = x,
                    F = x;
                  typeof x != "number" &&
                    ((g = s(x, "tl", 20)),
                    (C = s(x, "tr", 20)),
                    (T = s(x, "bl", 20)),
                    (F = s(x, "br", 20)));
                  var w = g >= 0,
                    U = C >= 0,
                    M = T >= 0,
                    I = F >= 0;
                  return (
                    (g = Math.abs(g)),
                    (C = Math.abs(C)),
                    (T = Math.abs(T)),
                    (F = Math.abs(F)),
                    this.beginPath(),
                    this.moveTo(l + g, f),
                    this.lineTo(l + v - C, f),
                    U
                      ? this.arc(l + v - C, f + C, C, -i.TAU, 0)
                      : this.arc(l + v, f, C, Math.PI, i.TAU, !0),
                    this.lineTo(l + v, f + m - F),
                    I
                      ? this.arc(l + v - F, f + m - F, F, 0, i.TAU)
                      : this.arc(l + v, f + m, F, -i.TAU, Math.PI, !0),
                    this.lineTo(l + T, f + m),
                    M
                      ? this.arc(l + T, f + m - T, T, i.TAU, Math.PI)
                      : this.arc(l, f + m, T, 0, -i.TAU, !0),
                    this.lineTo(l, f + g),
                    w
                      ? this.arc(l + g, f + g, g, -Math.PI, -i.TAU)
                      : this.arc(l, f, g, i.TAU, 0, !0),
                    this.fillPath(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                strokeRoundedRect: function (l, f, v, m, x) {
                  x === void 0 && (x = 20);
                  var g = x,
                    C = x,
                    T = x,
                    F = x,
                    w = Math.min(v, m) / 2;
                  typeof x != "number" &&
                    ((g = s(x, "tl", 20)),
                    (C = s(x, "tr", 20)),
                    (T = s(x, "bl", 20)),
                    (F = s(x, "br", 20)));
                  var U = g >= 0,
                    M = C >= 0,
                    I = T >= 0,
                    O = F >= 0;
                  return (
                    (g = Math.min(Math.abs(g), w)),
                    (C = Math.min(Math.abs(C), w)),
                    (T = Math.min(Math.abs(T), w)),
                    (F = Math.min(Math.abs(F), w)),
                    this.beginPath(),
                    this.moveTo(l + g, f),
                    this.lineTo(l + v - C, f),
                    this.moveTo(l + v - C, f),
                    M
                      ? this.arc(l + v - C, f + C, C, -i.TAU, 0)
                      : this.arc(l + v, f, C, Math.PI, i.TAU, !0),
                    this.lineTo(l + v, f + m - F),
                    this.moveTo(l + v, f + m - F),
                    O
                      ? this.arc(l + v - F, f + m - F, F, 0, i.TAU)
                      : this.arc(l + v, f + m, F, -i.TAU, Math.PI, !0),
                    this.lineTo(l + T, f + m),
                    this.moveTo(l + T, f + m),
                    I
                      ? this.arc(l + T, f + m - T, T, i.TAU, Math.PI)
                      : this.arc(l, f + m, T, 0, -i.TAU, !0),
                    this.lineTo(l, f + g),
                    this.moveTo(l, f + g),
                    U
                      ? this.arc(l + g, f + g, g, -Math.PI, -i.TAU)
                      : this.arc(l, f, g, i.TAU, 0, !0),
                    this.strokePath(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                fillPointShape: function (l, f) {
                  return this.fillPoint(l.x, l.y, f);
                },
                fillPoint: function (l, f, v) {
                  return (
                    !v || v < 1 ? (v = 1) : ((l -= v / 2), (f -= v / 2)),
                    this.commandBuffer.push(a.FILL_RECT, l, f, v, v),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                fillTriangleShape: function (l) {
                  return this.fillTriangle(l.x1, l.y1, l.x2, l.y2, l.x3, l.y3);
                },
                strokeTriangleShape: function (l) {
                  return this.strokeTriangle(
                    l.x1,
                    l.y1,
                    l.x2,
                    l.y2,
                    l.x3,
                    l.y3,
                  );
                },
                fillTriangle: function (l, f, v, m, x, g) {
                  return (
                    this.commandBuffer.push(a.FILL_TRIANGLE, l, f, v, m, x, g),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                strokeTriangle: function (l, f, v, m, x, g) {
                  return (
                    this.commandBuffer.push(
                      a.STROKE_TRIANGLE,
                      l,
                      f,
                      v,
                      m,
                      x,
                      g,
                    ),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                strokeLineShape: function (l) {
                  return this.lineBetween(l.x1, l.y1, l.x2, l.y2);
                },
                lineBetween: function (l, f, v, m) {
                  return (
                    this.beginPath(),
                    this.moveTo(l, f),
                    this.lineTo(v, m),
                    this.strokePath(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                lineTo: function (l, f) {
                  return (
                    this.commandBuffer.push(a.LINE_TO, l, f),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                moveTo: function (l, f) {
                  return (
                    this.commandBuffer.push(a.MOVE_TO, l, f),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                strokePoints: function (l, f, v, m) {
                  (f === void 0 && (f = !1),
                    v === void 0 && (v = !1),
                    m === void 0 && (m = l.length),
                    this.beginPath(),
                    this.moveTo(l[0].x, l[0].y));
                  for (var x = 1; x < m; x++) this.lineTo(l[x].x, l[x].y);
                  return (
                    f && this.lineTo(l[0].x, l[0].y),
                    v && this.closePath(),
                    this.strokePath(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                fillPoints: function (l, f, v, m) {
                  (f === void 0 && (f = !1),
                    v === void 0 && (v = !1),
                    m === void 0 && (m = l.length),
                    this.beginPath(),
                    this.moveTo(l[0].x, l[0].y));
                  for (var x = 1; x < m; x++) this.lineTo(l[x].x, l[x].y);
                  return (
                    f && this.lineTo(l[0].x, l[0].y),
                    v && this.closePath(),
                    this.fillPath(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                strokeEllipseShape: function (l, f) {
                  f === void 0 && (f = 32);
                  var v = l.getPoints(f);
                  return this.strokePoints(v, !0);
                },
                strokeEllipse: function (l, f, v, m, x) {
                  x === void 0 && (x = 32);
                  var g = new n(l, f, v, m),
                    C = g.getPoints(x);
                  return this.strokePoints(C, !0);
                },
                fillEllipseShape: function (l, f) {
                  f === void 0 && (f = 32);
                  var v = l.getPoints(f);
                  return this.fillPoints(v, !0);
                },
                fillEllipse: function (l, f, v, m, x) {
                  x === void 0 && (x = 32);
                  var g = new n(l, f, v, m),
                    C = g.getPoints(x);
                  return this.fillPoints(C, !0);
                },
                arc: function (l, f, v, m, x, g, C) {
                  return (
                    g === void 0 && (g = !1),
                    C === void 0 && (C = 0),
                    this.commandBuffer.push(a.ARC, l, f, v, m, x, g, C),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                slice: function (l, f, v, m, x, g, C) {
                  return (
                    g === void 0 && (g = !1),
                    C === void 0 && (C = 0),
                    this.commandBuffer.push(a.BEGIN_PATH),
                    this.commandBuffer.push(a.MOVE_TO, l, f),
                    this.commandBuffer.push(a.ARC, l, f, v, m, x, g, C),
                    this.commandBuffer.push(a.CLOSE_PATH),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                save: function () {
                  return (
                    this.commandBuffer.push(a.SAVE),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                restore: function () {
                  return (
                    this.commandBuffer.push(a.RESTORE),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                translateCanvas: function (l, f) {
                  return (
                    this.commandBuffer.push(a.TRANSLATE, l, f),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                scaleCanvas: function (l, f) {
                  return (
                    this.commandBuffer.push(a.SCALE, l, f),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                rotateCanvas: function (l) {
                  return (
                    this.commandBuffer.push(a.ROTATE, l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                clear: function () {
                  return (
                    (this.commandBuffer.length = 0),
                    this.defaultFillColor > -1 &&
                      this.fillStyle(
                        this.defaultFillColor,
                        this.defaultFillAlpha,
                      ),
                    this.defaultStrokeColor > -1 &&
                      this.lineStyle(
                        this.defaultStrokeWidth,
                        this.defaultStrokeColor,
                        this.defaultStrokeAlpha,
                      ),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                generateTexture: function (l, f, v) {
                  var m = this.scene.sys,
                    x = m.game.renderer;
                  (f === void 0 && (f = m.scale.width),
                    v === void 0 && (v = m.scale.height),
                    h.TargetCamera.setScene(this.scene),
                    h.TargetCamera.setViewport(0, 0, f, v),
                    (h.TargetCamera.scrollX = this.x),
                    (h.TargetCamera.scrollY = this.y));
                  var g,
                    C,
                    T = { willReadFrequently: !0 };
                  if (typeof l == "string")
                    if (m.textures.exists(l)) {
                      g = m.textures.get(l);
                      var F = g.getSourceImage();
                      F instanceof HTMLCanvasElement &&
                        (C = F.getContext("2d", T));
                    } else
                      ((g = m.textures.createCanvas(l, f, v)),
                        (C = g.getSourceImage().getContext("2d", T)));
                  else
                    l instanceof HTMLCanvasElement &&
                      (C = l.getContext("2d", T));
                  return (
                    C &&
                      (this.renderCanvas(
                        x,
                        _____WB$wombat$check$this$function_____(this),
                        h.TargetCamera,
                        null,
                        C,
                        !1,
                      ),
                      g && g.refresh()),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                preDestroy: function () {
                  this.commandBuffer = [];
                },
              });
            ((h.TargetCamera = new A()), (d.exports = h));
          },
          91543: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(36266),
              c = t(49584),
              a = function (r, n, e, s, u, i) {
                var o = n.commandBuffer,
                  h = o.length,
                  l = u || r.currentContext;
                if (!(h === 0 || !c(r, l, n, e, s))) {
                  e.addToRenderList(n);
                  var f = 1,
                    v = 1,
                    m = 0,
                    x = 0,
                    g = 1,
                    C = 0,
                    T = 0,
                    F = 0;
                  l.beginPath();
                  for (var w = 0; w < h; ++w) {
                    var U = o[w];
                    switch (U) {
                      case A.ARC:
                        (l.arc(
                          o[w + 1],
                          o[w + 2],
                          o[w + 3],
                          o[w + 4],
                          o[w + 5],
                          o[w + 6],
                        ),
                          (w += 7));
                        break;
                      case A.LINE_STYLE:
                        ((g = o[w + 1]),
                          (m = o[w + 2]),
                          (f = o[w + 3]),
                          (C = (m & 16711680) >>> 16),
                          (T = (m & 65280) >>> 8),
                          (F = m & 255),
                          (l.strokeStyle =
                            "rgba(" + C + "," + T + "," + F + "," + f + ")"),
                          (l.lineWidth = g),
                          (w += 3));
                        break;
                      case A.FILL_STYLE:
                        ((x = o[w + 1]),
                          (v = o[w + 2]),
                          (C = (x & 16711680) >>> 16),
                          (T = (x & 65280) >>> 8),
                          (F = x & 255),
                          (l.fillStyle =
                            "rgba(" + C + "," + T + "," + F + "," + v + ")"),
                          (w += 2));
                        break;
                      case A.BEGIN_PATH:
                        l.beginPath();
                        break;
                      case A.CLOSE_PATH:
                        l.closePath();
                        break;
                      case A.FILL_PATH:
                        i || l.fill();
                        break;
                      case A.STROKE_PATH:
                        i || l.stroke();
                        break;
                      case A.FILL_RECT:
                        (i
                          ? l.rect(o[w + 1], o[w + 2], o[w + 3], o[w + 4])
                          : l.fillRect(o[w + 1], o[w + 2], o[w + 3], o[w + 4]),
                          (w += 4));
                        break;
                      case A.FILL_TRIANGLE:
                        (l.beginPath(),
                          l.moveTo(o[w + 1], o[w + 2]),
                          l.lineTo(o[w + 3], o[w + 4]),
                          l.lineTo(o[w + 5], o[w + 6]),
                          l.closePath(),
                          i || l.fill(),
                          (w += 6));
                        break;
                      case A.STROKE_TRIANGLE:
                        (l.beginPath(),
                          l.moveTo(o[w + 1], o[w + 2]),
                          l.lineTo(o[w + 3], o[w + 4]),
                          l.lineTo(o[w + 5], o[w + 6]),
                          l.closePath(),
                          i || l.stroke(),
                          (w += 6));
                        break;
                      case A.LINE_TO:
                        (l.lineTo(o[w + 1], o[w + 2]), (w += 2));
                        break;
                      case A.MOVE_TO:
                        (l.moveTo(o[w + 1], o[w + 2]), (w += 2));
                        break;
                      case A.LINE_FX_TO:
                        (l.lineTo(o[w + 1], o[w + 2]), (w += 5));
                        break;
                      case A.MOVE_FX_TO:
                        (l.moveTo(o[w + 1], o[w + 2]), (w += 5));
                        break;
                      case A.SAVE:
                        l.save();
                        break;
                      case A.RESTORE:
                        l.restore();
                        break;
                      case A.TRANSLATE:
                        (l.translate(o[w + 1], o[w + 2]), (w += 2));
                        break;
                      case A.SCALE:
                        (l.scale(o[w + 1], o[w + 2]), (w += 2));
                        break;
                      case A.ROTATE:
                        (l.rotate(o[w + 1]), (w += 1));
                        break;
                      case A.GRADIENT_FILL_STYLE:
                        w += 5;
                        break;
                      case A.GRADIENT_LINE_STYLE:
                        w += 6;
                        break;
                    }
                  }
                  l.restore();
                }
              };
            d.exports = a;
          },
          41286: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(99325),
              c = t(33182);
            A.register("graphics", function (a, r) {
              (a === void 0 && (a = {}), r !== void 0 && (a.add = r));
              var n = new c(this.scene, a);
              return (a.add && this.scene.sys.displayList.add(n), n);
            });
          },
          13122: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(33182),
              c = t(61286);
            c.register("graphics", function (a) {
              return this.displayList.add(new A(this.scene, a));
            });
          },
          60898: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72283),
              c = A,
              a = A;
            ((c = t(34429)),
              (a = t(91543)),
              (a = t(91543)),
              (d.exports = { renderWebGL: c, renderCanvas: a }));
          },
          34429: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(36266),
              c = t(73329),
              a = t(69360),
              r = t(75512),
              n = function (o, h, l) {
                ((this.x = o), (this.y = h), (this.width = l));
              },
              e = function (o, h, l) {
                ((this.points = []),
                  (this.pointsLength = 1),
                  (this.points[0] = new n(o, h, l)));
              },
              s = [],
              u = new a(),
              i = function (o, h, l, f) {
                if (h.commandBuffer.length !== 0) {
                  l.addToRenderList(h);
                  var v = o.pipelines.set(h.pipeline, h);
                  o.pipelines.preBatch(h);
                  for (
                    var m = c(h, l, f).calc,
                      x = u.loadIdentity(),
                      g = h.commandBuffer,
                      C = l.alpha * h.alpha,
                      T = 1,
                      F = v.fillTint,
                      w = v.strokeTint,
                      U = 0,
                      M = 0,
                      I = 0,
                      O = 0.01,
                      D = Math.PI * 2,
                      G,
                      X = [],
                      z = 0,
                      K = !0,
                      N = null,
                      b = r.getTintAppendFloatAlpha,
                      R = 0;
                    R < g.length;
                    R++
                  )
                    switch (((G = g[R]), G)) {
                      case A.BEGIN_PATH: {
                        ((X.length = 0), (N = null), (K = !0));
                        break;
                      }
                      case A.CLOSE_PATH: {
                        ((K = !1),
                          N && N.points.length && N.points.push(N.points[0]));
                        break;
                      }
                      case A.FILL_PATH: {
                        for (z = 0; z < X.length; z++)
                          v.batchFillPath(X[z].points, x, m);
                        break;
                      }
                      case A.STROKE_PATH: {
                        for (z = 0; z < X.length; z++)
                          v.batchStrokePath(X[z].points, T, K, x, m);
                        break;
                      }
                      case A.LINE_STYLE: {
                        T = g[++R];
                        var H = g[++R],
                          Q = g[++R] * C,
                          V = b(H, Q);
                        ((w.TL = V), (w.TR = V), (w.BL = V), (w.BR = V));
                        break;
                      }
                      case A.FILL_STYLE: {
                        var Y = g[++R],
                          J = g[++R] * C,
                          $ = b(Y, J);
                        ((F.TL = $), (F.TR = $), (F.BL = $), (F.BR = $));
                        break;
                      }
                      case A.GRADIENT_FILL_STYLE: {
                        var W = g[++R] * C,
                          Z = g[++R] * C,
                          j = g[++R] * C,
                          k = g[++R] * C;
                        ((F.TL = b(g[++R], W)),
                          (F.TR = b(g[++R], Z)),
                          (F.BL = b(g[++R], j)),
                          (F.BR = b(g[++R], k)));
                        break;
                      }
                      case A.GRADIENT_LINE_STYLE: {
                        T = g[++R];
                        var _ = g[++R] * C;
                        ((w.TL = b(g[++R], _)),
                          (w.TR = b(g[++R], _)),
                          (w.BL = b(g[++R], _)),
                          (w.BR = b(g[++R], _)));
                        break;
                      }
                      case A.ARC: {
                        var q = 0,
                          et = g[++R],
                          st = g[++R],
                          nt = g[++R],
                          it = g[++R],
                          tt = g[++R],
                          rt = g[++R],
                          at = g[++R];
                        for (
                          tt -= it,
                            rt
                              ? tt < -D
                                ? (tt = -D)
                                : tt > 0 && (tt = -D + (tt % D))
                              : tt > D
                                ? (tt = D)
                                : tt < 0 && (tt = D + (tt % D)),
                            N === null &&
                              ((N = new e(
                                et + Math.cos(it) * nt,
                                st + Math.sin(it) * nt,
                                T,
                              )),
                              X.push(N),
                              (q += O));
                          q < 1 + at;
                        )
                          ((I = tt * q + it),
                            (U = et + Math.cos(I) * nt),
                            (M = st + Math.sin(I) * nt),
                            N.points.push(new n(U, M, T)),
                            (q += O));
                        ((I = tt + it),
                          (U = et + Math.cos(I) * nt),
                          (M = st + Math.sin(I) * nt),
                          N.points.push(new n(U, M, T)));
                        break;
                      }
                      case A.FILL_RECT: {
                        v.batchFillRect(g[++R], g[++R], g[++R], g[++R], x, m);
                        break;
                      }
                      case A.FILL_TRIANGLE: {
                        v.batchFillTriangle(
                          g[++R],
                          g[++R],
                          g[++R],
                          g[++R],
                          g[++R],
                          g[++R],
                          x,
                          m,
                        );
                        break;
                      }
                      case A.STROKE_TRIANGLE: {
                        v.batchStrokeTriangle(
                          g[++R],
                          g[++R],
                          g[++R],
                          g[++R],
                          g[++R],
                          g[++R],
                          T,
                          x,
                          m,
                        );
                        break;
                      }
                      case A.LINE_TO: {
                        N !== null
                          ? N.points.push(new n(g[++R], g[++R], T))
                          : ((N = new e(g[++R], g[++R], T)), X.push(N));
                        break;
                      }
                      case A.MOVE_TO: {
                        ((N = new e(g[++R], g[++R], T)), X.push(N));
                        break;
                      }
                      case A.SAVE: {
                        s.push(x.copyToArray());
                        break;
                      }
                      case A.RESTORE: {
                        x.copyFromArray(s.pop());
                        break;
                      }
                      case A.TRANSLATE: {
                        ((et = g[++R]), (st = g[++R]), x.translate(et, st));
                        break;
                      }
                      case A.SCALE: {
                        ((et = g[++R]), (st = g[++R]), x.scale(et, st));
                        break;
                      }
                      case A.ROTATE: {
                        x.rotate(g[++R]);
                        break;
                      }
                    }
                  o.pipelines.postBatch(h);
                }
              };
            d.exports = i;
          },
          59192: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(83979),
              c = t(56694),
              a = t(56631),
              r = t(6659),
              n = t(71608),
              e = t(72632),
              s = t(10850),
              u = t(19256),
              i = t(42911),
              o = t(75757),
              h = t(58403),
              l = t(13747),
              f = new c({
                Extends: r,
                initialize: function (m, x, g) {
                  (r.call(this),
                    g
                      ? x && !Array.isArray(x) && (x = [x])
                      : Array.isArray(x)
                        ? i(x[0]) && ((g = x), (x = null))
                        : i(x) && ((g = x), (x = null)),
                    (this.scene = m),
                    (this.children = new h()),
                    (this.isParent = !0),
                    (this.type = "Group"),
                    (this.classType = e(g, "classType", l)),
                    (this.name = e(g, "name", "")),
                    (this.active = e(g, "active", !0)),
                    (this.maxSize = e(g, "maxSize", -1)),
                    (this.defaultKey = e(g, "defaultKey", null)),
                    (this.defaultFrame = e(g, "defaultFrame", null)),
                    (this.runChildUpdate = e(g, "runChildUpdate", !1)),
                    (this.createCallback = e(g, "createCallback", null)),
                    (this.removeCallback = e(g, "removeCallback", null)),
                    (this.createMultipleCallback = e(
                      g,
                      "createMultipleCallback",
                      null,
                    )),
                    (this.internalCreateCallback = e(
                      g,
                      "internalCreateCallback",
                      null,
                    )),
                    (this.internalRemoveCallback = e(
                      g,
                      "internalRemoveCallback",
                      null,
                    )),
                    x && this.addMultiple(x),
                    g && this.createMultiple(g),
                    this.on(
                      a.ADDED_TO_SCENE,
                      this.addedToScene,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    this.on(
                      a.REMOVED_FROM_SCENE,
                      this.removedFromScene,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                addedToScene: function () {
                  this.scene.sys.updateList.add(this);
                },
                removedFromScene: function () {
                  this.scene.sys.updateList.remove(this);
                },
                create: function (v, m, x, g, C, T) {
                  if (
                    (v === void 0 && (v = 0),
                    m === void 0 && (m = 0),
                    x === void 0 && (x = this.defaultKey),
                    g === void 0 && (g = this.defaultFrame),
                    C === void 0 && (C = !0),
                    T === void 0 && (T = !0),
                    this.isFull())
                  )
                    return null;
                  var F = new this.classType(this.scene, v, m, x, g);
                  return (
                    F.addToDisplayList(this.scene.sys.displayList),
                    F.addToUpdateList(),
                    (F.visible = C),
                    F.setActive(T),
                    this.add(F),
                    F
                  );
                },
                createMultiple: function (v) {
                  if (this.isFull()) return [];
                  Array.isArray(v) || (v = [v]);
                  var m = [];
                  if (v[0].key)
                    for (var x = 0; x < v.length; x++) {
                      var g = this.createFromConfig(v[x]);
                      m = m.concat(g);
                    }
                  return m;
                },
                createFromConfig: function (v) {
                  if (this.isFull()) return [];
                  this.classType = e(v, "classType", this.classType);
                  var m = e(v, "key", void 0),
                    x = e(v, "frame", null),
                    g = e(v, "visible", !0),
                    C = e(v, "active", !0),
                    T = [];
                  if (m === void 0) return T;
                  (Array.isArray(m) || (m = [m]),
                    Array.isArray(x) || (x = [x]));
                  var F = e(v, "repeat", 0),
                    w = e(v, "randomKey", !1),
                    U = e(v, "randomFrame", !1),
                    M = e(v, "yoyo", !1),
                    I = e(v, "quantity", !1),
                    O = e(v, "frameQuantity", 1),
                    D = e(v, "max", 0),
                    G = o(m, x, {
                      max: D,
                      qty: I || O,
                      random: w,
                      randomB: U,
                      repeat: F,
                      yoyo: M,
                    });
                  (v.createCallback && (this.createCallback = v.createCallback),
                    v.removeCallback &&
                      (this.removeCallback = v.removeCallback),
                    v.internalCreateCallback &&
                      (this.internalCreateCallback = v.internalCreateCallback),
                    v.internalRemoveCallback &&
                      (this.internalRemoveCallback = v.internalRemoveCallback));
                  for (var X = 0; X < G.length; X++) {
                    var z = this.create(0, 0, G[X].a, G[X].b, g, C);
                    if (!z) break;
                    T.push(z);
                  }
                  if (u(v, "setXY")) {
                    var K = s(v, "setXY.x", 0),
                      N = s(v, "setXY.y", 0),
                      b = s(v, "setXY.stepX", 0),
                      R = s(v, "setXY.stepY", 0);
                    A.SetXY(T, K, N, b, R);
                  }
                  if (u(v, "setRotation")) {
                    var H = s(v, "setRotation.value", 0),
                      Q = s(v, "setRotation.step", 0);
                    A.SetRotation(T, H, Q);
                  }
                  if (u(v, "setScale")) {
                    var V = s(v, "setScale.x", 1),
                      Y = s(v, "setScale.y", V),
                      J = s(v, "setScale.stepX", 0),
                      $ = s(v, "setScale.stepY", 0);
                    A.SetScale(T, V, Y, J, $);
                  }
                  if (u(v, "setOrigin")) {
                    var W = s(v, "setOrigin.x", 0.5),
                      Z = s(v, "setOrigin.y", W),
                      j = s(v, "setOrigin.stepX", 0),
                      k = s(v, "setOrigin.stepY", 0);
                    A.SetOrigin(T, W, Z, j, k);
                  }
                  if (u(v, "setAlpha")) {
                    var _ = s(v, "setAlpha.value", 1),
                      q = s(v, "setAlpha.step", 0);
                    A.SetAlpha(T, _, q);
                  }
                  if (u(v, "setDepth")) {
                    var et = s(v, "setDepth.value", 0),
                      st = s(v, "setDepth.step", 0);
                    A.SetDepth(T, et, st);
                  }
                  if (u(v, "setScrollFactor")) {
                    var nt = s(v, "setScrollFactor.x", 1),
                      it = s(v, "setScrollFactor.y", nt),
                      tt = s(v, "setScrollFactor.stepX", 0),
                      rt = s(v, "setScrollFactor.stepY", 0);
                    A.SetScrollFactor(T, nt, it, tt, rt);
                  }
                  var at = e(v, "hitArea", null),
                    ot = e(v, "hitAreaCallback", null);
                  at && A.SetHitArea(T, at, ot);
                  var lt = e(v, "gridAlign", !1);
                  return (
                    lt && A.GridAlign(T, lt),
                    this.createMultipleCallback &&
                      this.createMultipleCallback.call(this, T),
                    T
                  );
                },
                preUpdate: function (v, m) {
                  if (!(!this.runChildUpdate || this.children.size === 0))
                    for (
                      var x = this.children.entries.slice(), g = 0;
                      g < x.length;
                      g++
                    ) {
                      var C = x[g];
                      C.active && C.update(v, m);
                    }
                },
                add: function (v, m) {
                  return (
                    m === void 0 && (m = !1),
                    this.isFull()
                      ? this
                      : (this.children.set(v),
                        this.internalCreateCallback &&
                          this.internalCreateCallback.call(this, v),
                        this.createCallback &&
                          this.createCallback.call(this, v),
                        m &&
                          (v.addToDisplayList(this.scene.sys.displayList),
                          v.addToUpdateList()),
                        v.on(
                          a.DESTROY,
                          this.remove,
                          _____WB$wombat$check$this$function_____(this),
                        ),
                        _____WB$wombat$check$this$function_____(this))
                  );
                },
                addMultiple: function (v, m) {
                  if ((m === void 0 && (m = !1), Array.isArray(v)))
                    for (var x = 0; x < v.length; x++) this.add(v[x], m);
                  return _____WB$wombat$check$this$function_____(this);
                },
                remove: function (v, m, x) {
                  return (
                    m === void 0 && (m = !1),
                    x === void 0 && (x = !1),
                    this.children.contains(v)
                      ? (this.children.delete(v),
                        this.internalRemoveCallback &&
                          this.internalRemoveCallback.call(this, v),
                        this.removeCallback &&
                          this.removeCallback.call(this, v),
                        v.off(
                          a.DESTROY,
                          this.remove,
                          _____WB$wombat$check$this$function_____(this),
                        ),
                        x
                          ? v.destroy()
                          : m &&
                            (v.removeFromDisplayList(),
                            v.removeFromUpdateList()),
                        _____WB$wombat$check$this$function_____(this))
                      : this
                  );
                },
                clear: function (v, m) {
                  (v === void 0 && (v = !1), m === void 0 && (m = !1));
                  for (var x = this.children, g = 0; g < x.size; g++) {
                    var C = x.entries[g];
                    (C.off(
                      a.DESTROY,
                      this.remove,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                      m
                        ? C.destroy()
                        : v &&
                          (C.removeFromDisplayList(),
                          C.removeFromUpdateList()));
                  }
                  return (
                    this.children.clear(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                contains: function (v) {
                  return this.children.contains(v);
                },
                getChildren: function () {
                  return this.children.entries;
                },
                getLength: function () {
                  return this.children.size;
                },
                getMatching: function (v, m, x, g) {
                  return n(this.children.entries, v, m, x, g);
                },
                getFirst: function (v, m, x, g, C, T, F) {
                  return this.getHandler(!0, 1, v, m, x, g, C, T, F);
                },
                getFirstNth: function (v, m, x, g, C, T, F, w) {
                  return this.getHandler(!0, v, m, x, g, C, T, F, w);
                },
                getLast: function (v, m, x, g, C, T, F) {
                  return this.getHandler(!1, 1, v, m, x, g, C, T, F);
                },
                getLastNth: function (v, m, x, g, C, T, F, w) {
                  return this.getHandler(!1, v, m, x, g, C, T, F, w);
                },
                getHandler: function (v, m, x, g, C, T, F, w, U) {
                  (x === void 0 && (x = !1), g === void 0 && (g = !1));
                  var M,
                    I,
                    O = 0,
                    D = this.children.entries;
                  if (v)
                    for (I = 0; I < D.length; I++)
                      if (((M = D[I]), M.active === x)) {
                        if ((O++, O === m)) break;
                      } else M = null;
                  else
                    for (I = D.length - 1; I >= 0; I--)
                      if (((M = D[I]), M.active === x)) {
                        if ((O++, O === m)) break;
                      } else M = null;
                  return M
                    ? (typeof C == "number" && (M.x = C),
                      typeof T == "number" && (M.y = T),
                      M)
                    : g
                      ? this.create(C, T, F, w, U)
                      : null;
                },
                get: function (v, m, x, g, C) {
                  return this.getFirst(!1, !0, v, m, x, g, C);
                },
                getFirstAlive: function (v, m, x, g, C, T) {
                  return this.getFirst(!0, v, m, x, g, C, T);
                },
                getFirstDead: function (v, m, x, g, C, T) {
                  return this.getFirst(!1, v, m, x, g, C, T);
                },
                playAnimation: function (v, m) {
                  return (
                    A.PlayAnimation(this.children.entries, v, m),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                isFull: function () {
                  return this.maxSize === -1
                    ? !1
                    : this.children.size >= this.maxSize;
                },
                countActive: function (v) {
                  v === void 0 && (v = !0);
                  for (var m = 0, x = 0; x < this.children.size; x++)
                    this.children.entries[x].active === v && m++;
                  return m;
                },
                getTotalUsed: function () {
                  return this.countActive();
                },
                getTotalFree: function () {
                  var v = this.getTotalUsed(),
                    m = this.maxSize === -1 ? 999999999999 : this.maxSize;
                  return m - v;
                },
                setActive: function (v) {
                  return (
                    (this.active = v),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setName: function (v) {
                  return (
                    (this.name = v),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                propertyValueSet: function (v, m, x, g, C) {
                  return (
                    A.PropertyValueSet(this.children.entries, v, m, x, g, C),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                propertyValueInc: function (v, m, x, g, C) {
                  return (
                    A.PropertyValueInc(this.children.entries, v, m, x, g, C),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setX: function (v, m) {
                  return (
                    A.SetX(this.children.entries, v, m),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setY: function (v, m) {
                  return (
                    A.SetY(this.children.entries, v, m),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setXY: function (v, m, x, g) {
                  return (
                    A.SetXY(this.children.entries, v, m, x, g),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                incX: function (v, m) {
                  return (
                    A.IncX(this.children.entries, v, m),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                incY: function (v, m) {
                  return (
                    A.IncY(this.children.entries, v, m),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                incXY: function (v, m, x, g) {
                  return (
                    A.IncXY(this.children.entries, v, m, x, g),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                shiftPosition: function (v, m, x) {
                  return (
                    A.ShiftPosition(this.children.entries, v, m, x),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                angle: function (v, m) {
                  return (
                    A.Angle(this.children.entries, v, m),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                rotate: function (v, m) {
                  return (
                    A.Rotate(this.children.entries, v, m),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                rotateAround: function (v, m) {
                  return (
                    A.RotateAround(this.children.entries, v, m),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                rotateAroundDistance: function (v, m, x) {
                  return (
                    A.RotateAroundDistance(this.children.entries, v, m, x),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setAlpha: function (v, m) {
                  return (
                    A.SetAlpha(this.children.entries, v, m),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setTint: function (v, m, x, g) {
                  return (
                    A.SetTint(this.children.entries, v, m, x, g),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setOrigin: function (v, m, x, g) {
                  return (
                    A.SetOrigin(this.children.entries, v, m, x, g),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                scaleX: function (v, m) {
                  return (
                    A.ScaleX(this.children.entries, v, m),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                scaleY: function (v, m) {
                  return (
                    A.ScaleY(this.children.entries, v, m),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                scaleXY: function (v, m, x, g) {
                  return (
                    A.ScaleXY(this.children.entries, v, m, x, g),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setDepth: function (v, m) {
                  return (
                    A.SetDepth(this.children.entries, v, m),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setBlendMode: function (v) {
                  return (
                    A.SetBlendMode(this.children.entries, v),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setHitArea: function (v, m) {
                  return (
                    A.SetHitArea(this.children.entries, v, m),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                shuffle: function () {
                  return (
                    A.Shuffle(this.children.entries),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                kill: function (v) {
                  this.children.contains(v) && v.setActive(!1);
                },
                killAndHide: function (v) {
                  this.children.contains(v) &&
                    (v.setActive(!1), v.setVisible(!1));
                },
                setVisible: function (v, m, x) {
                  return (
                    A.SetVisible(this.children.entries, v, m, x),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                toggleVisible: function () {
                  return (
                    A.ToggleVisible(this.children.entries),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                destroy: function (v, m) {
                  (v === void 0 && (v = !1),
                    m === void 0 && (m = !1),
                    !(!this.scene || this.ignoreDestroy) &&
                      (this.emit(
                        a.DESTROY,
                        _____WB$wombat$check$this$function_____(this),
                      ),
                      this.removeAllListeners(),
                      this.scene.sys.updateList.remove(this),
                      this.clear(m, v),
                      (this.scene = void 0),
                      (this.children = void 0)));
                },
              });
            d.exports = f;
          },
          61295: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(99325),
              c = t(59192);
            A.register("group", function (a) {
              return new c(this.scene, null, a);
            });
          },
          62598: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(59192),
              c = t(61286);
            c.register("group", function (a, r) {
              return this.updateList.add(new A(this.scene, a, r));
            });
          },
          1539: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(64937),
              a = t(89980),
              r = t(57322),
              n = new A({
                Extends: a,
                Mixins: [
                  c.Alpha,
                  c.BlendMode,
                  c.Depth,
                  c.Flip,
                  c.GetBounds,
                  c.Mask,
                  c.Origin,
                  c.Pipeline,
                  c.PostPipeline,
                  c.ScrollFactor,
                  c.Size,
                  c.TextureCrop,
                  c.Tint,
                  c.Transform,
                  c.Visible,
                  r,
                ],
                initialize: function (s, u, i, o, h) {
                  (a.call(this, s, "Image"),
                    (this._crop = this.resetCropObject()),
                    this.setTexture(o, h),
                    this.setPosition(u, i),
                    this.setSizeToFrame(),
                    this.setOriginFromFrame(),
                    this.initPipeline(),
                    this.initPostPipeline(!0));
                },
              });
            d.exports = n;
          },
          57786: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              (c.addToRenderList(A), t.batchSprite(A, A.frame, c, a));
            };
            d.exports = y;
          },
          83556: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(88933),
              c = t(99325),
              a = t(20494),
              r = t(1539);
            c.register("image", function (n, e) {
              n === void 0 && (n = {});
              var s = a(n, "key", null),
                u = a(n, "frame", null),
                i = new r(this.scene, 0, 0, s, u);
              return (e !== void 0 && (n.add = e), A(this.scene, i, n), i);
            });
          },
          20927: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(1539),
              c = t(61286);
            c.register("image", function (a, r, n, e) {
              return this.displayList.add(new A(this.scene, a, r, n, e));
            });
          },
          57322: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72283),
              c = A,
              a = A;
            ((c = t(59390)),
              (a = t(57786)),
              (d.exports = { renderWebGL: c, renderCanvas: a }));
          },
          59390: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              (c.addToRenderList(A), this.pipeline.batchSprite(A, c, a));
            };
            d.exports = y;
          },
          48013: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = {
              Events: t(56631),
              DisplayList: t(91713),
              GameObjectCreator: t(99325),
              GameObjectFactory: t(61286),
              UpdateList: t(92034),
              Components: t(64937),
              GetCalcMatrix: t(73329),
              BuildGameObject: t(88933),
              BuildGameObjectAnimation: t(32291),
              GameObject: t(89980),
              BitmapText: t(44616),
              Blitter: t(52816),
              Bob: t(41664),
              Container: t(70339),
              DOMElement: t(38943),
              DynamicBitmapText: t(13468),
              Extern: t(39419),
              Graphics: t(33182),
              Group: t(59192),
              Image: t(1539),
              Layer: t(85305),
              Particles: t(27684),
              PathFollower: t(29598),
              RenderTexture: t(15996),
              RetroFont: t(55873),
              Rope: t(79968),
              Sprite: t(13747),
              Text: t(76555),
              GetTextSize: t(32979),
              MeasureText: t(27030),
              TextStyle: t(74744),
              TileSprite: t(35856),
              Zone: t(71030),
              Video: t(8630),
              Shape: t(91461),
              Arc: t(28593),
              Curve: t(15220),
              Ellipse: t(28591),
              Grid: t(39169),
              IsoBox: t(4415),
              IsoTriangle: t(65159),
              Line: t(579),
              Polygon: t(91249),
              Rectangle: t(517),
              Star: t(77843),
              Triangle: t(21873),
              Factories: {
                Blitter: t(38906),
                Container: t(23400),
                DOMElement: t(66788),
                DynamicBitmapText: t(94145),
                Extern: t(41155),
                Graphics: t(13122),
                Group: t(62598),
                Image: t(20927),
                Layer: t(17676),
                Particles: t(81212),
                PathFollower: t(19626),
                RenderTexture: t(29599),
                Rope: t(31982),
                Sprite: t(66135),
                StaticBitmapText: t(21797),
                Text: t(94627),
                TileSprite: t(20509),
                Zone: t(34546),
                Video: t(215),
                Arc: t(10369),
                Curve: t(10147),
                Ellipse: t(99869),
                Grid: t(9326),
                IsoBox: t(88154),
                IsoTriangle: t(67765),
                Line: t(85665),
                Polygon: t(88203),
                Rectangle: t(94355),
                Star: t(23962),
                Triangle: t(79296),
              },
              Creators: {
                Blitter: t(68452),
                Container: t(44516),
                DynamicBitmapText: t(67513),
                Graphics: t(41286),
                Group: t(61295),
                Image: t(83556),
                Layer: t(56378),
                Particles: t(765),
                RenderTexture: t(85692),
                Rope: t(96027),
                Sprite: t(89219),
                StaticBitmapText: t(95499),
                Text: t(75397),
                TileSprite: t(63950),
                Zone: t(24067),
                Video: t(65601),
              },
            };
            ((A.Shader = t(27902)),
              (A.Mesh = t(83321)),
              (A.NineSlice = t(44139)),
              (A.PointLight = t(13171)),
              (A.Plane = t(33412)),
              (A.Factories.Shader = t(51979)),
              (A.Factories.Mesh = t(8767)),
              (A.Factories.NineSlice = t(53778)),
              (A.Factories.PointLight = t(91201)),
              (A.Factories.Plane = t(58322)),
              (A.Creators.Shader = t(13908)),
              (A.Creators.Mesh = t(41839)),
              (A.Creators.NineSlice = t(40964)),
              (A.Creators.PointLight = t(162)),
              (A.Creators.Plane = t(10912)),
              (A.Light = t(14455)),
              (A.LightsManager = t(26193)),
              (A.LightsPlugin = t(50296)),
              (d.exports = A));
          },
          85305: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(95723),
              c = t(56694),
              a = t(64937),
              r = t(48129),
              n = t(81078),
              e = t(6659),
              s = t(56631),
              u = t(71207),
              i = t(47427),
              o = t(58010),
              h = t(7599),
              l = t(17922),
              f = new c({
                Extends: u,
                Mixins: [
                  a.AlphaSingle,
                  a.BlendMode,
                  a.Depth,
                  a.Mask,
                  a.PostPipeline,
                  a.Visible,
                  e,
                  o,
                ],
                initialize: function (m, x) {
                  (u.call(this, m),
                    e.call(this),
                    (this.scene = m),
                    (this.displayList = null),
                    (this.type = "Layer"),
                    (this.state = 0),
                    (this.parentContainer = null),
                    (this.name = ""),
                    (this.active = !0),
                    (this.tabIndex = -1),
                    (this.data = null),
                    (this.renderFlags = 15),
                    (this.cameraFilter = 0),
                    (this.input = null),
                    (this.body = null),
                    (this.ignoreDestroy = !1),
                    (this.systems = m.sys),
                    (this.events = m.sys.events),
                    (this.sortChildrenFlag = !1),
                    (this.addCallback = this.addChildCallback),
                    (this.removeCallback = this.removeChildCallback),
                    this.initPostPipeline(),
                    this.clearAlpha(),
                    this.setBlendMode(A.SKIP_CHECK),
                    x && this.add(x),
                    m.sys.queueDepthSort());
                },
                setActive: function (v) {
                  return (
                    (this.active = v),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setName: function (v) {
                  return (
                    (this.name = v),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setState: function (v) {
                  return (
                    (this.state = v),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setDataEnabled: function () {
                  return (
                    this.data || (this.data = new n(this)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setData: function (v, m) {
                  return (
                    this.data || (this.data = new n(this)),
                    this.data.set(v, m),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                incData: function (v, m) {
                  return (
                    this.data || (this.data = new n(this)),
                    this.data.inc(v, m),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                toggleData: function (v) {
                  return (
                    this.data || (this.data = new n(this)),
                    this.data.toggle(v),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getData: function (v) {
                  return (
                    this.data || (this.data = new n(this)),
                    this.data.get(v)
                  );
                },
                setInteractive: function () {
                  return _____WB$wombat$check$this$function_____(this);
                },
                disableInteractive: function () {
                  return _____WB$wombat$check$this$function_____(this);
                },
                removeInteractive: function () {
                  return _____WB$wombat$check$this$function_____(this);
                },
                add: function (v) {
                  return (
                    u.prototype.add.call(this, v),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                remove: function (v, m) {
                  var x = u.prototype.remove.call(this, v);
                  if (m && x) {
                    Array.isArray(x) || (x = [x]);
                    for (var g = 0; g < x.length; g++) x[g].destroy();
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                removeAll: function (v) {
                  var m = this.list;
                  if (v) {
                    for (var x = 0; x < m.length; x++)
                      m[x] &&
                        m[x].scene &&
                        (m[x].off(
                          s.DESTROY,
                          this.remove,
                          _____WB$wombat$check$this$function_____(this),
                        ),
                        m[x].destroy());
                    this.list = [];
                  } else
                    i(
                      m,
                      0,
                      m.length,
                      this.removeChildCallback,
                      _____WB$wombat$check$this$function_____(this),
                    );
                  return _____WB$wombat$check$this$function_____(this);
                },
                addedToScene: function () {},
                removedFromScene: function () {},
                update: function () {},
                toJSON: function () {
                  return r(this);
                },
                willRender: function (v) {
                  return !(
                    this.renderFlags !== 15 ||
                    this.list.length === 0 ||
                    (this.cameraFilter !== 0 && this.cameraFilter & v.id)
                  );
                },
                getIndexList: function () {
                  for (
                    var v = _____WB$wombat$check$this$function_____(this),
                      m = this.parentContainer,
                      x = [];
                    m && (x.unshift(m.getIndex(v)), (v = m), m.parentContainer);
                  )
                    m = m.parentContainer;
                  return (x.unshift(this.displayList.getIndex(v)), x);
                },
                addChildCallback: function (v) {
                  (v.once(
                    s.DESTROY,
                    this.remove,
                    _____WB$wombat$check$this$function_____(this),
                  ),
                    v.displayList &&
                      v.displayList !==
                        _____WB$wombat$check$this$function_____(this) &&
                      v.removeFromDisplayList(),
                    v.displayList ||
                      (this.queueDepthSort(),
                      (v.displayList =
                        _____WB$wombat$check$this$function_____(this)),
                      v.emit(s.ADDED_TO_SCENE, v, this.scene),
                      this.events.emit(h.ADDED_TO_SCENE, v, this.scene)));
                },
                removeChildCallback: function (v) {
                  (v.off(
                    s.DESTROY,
                    this.remove,
                    _____WB$wombat$check$this$function_____(this),
                  ),
                    this.queueDepthSort(),
                    (v.displayList = null),
                    v.emit(s.REMOVED_FROM_SCENE, v, this.scene),
                    this.events.emit(h.REMOVED_FROM_SCENE, v, this.scene));
                },
                queueDepthSort: function () {
                  this.sortChildrenFlag = !0;
                },
                depthSort: function () {
                  this.sortChildrenFlag &&
                    (l(this.list, this.sortByDepth),
                    (this.sortChildrenFlag = !1));
                },
                sortByDepth: function (v, m) {
                  return v._depth - m._depth;
                },
                getChildren: function () {
                  return this.list;
                },
                addToDisplayList: function (v) {
                  return (
                    v === void 0 && (v = this.scene.sys.displayList),
                    this.displayList &&
                      this.displayList !== v &&
                      this.removeFromDisplayList(),
                    v.exists(this) ||
                      ((this.displayList = v),
                      v.add(this, !0),
                      v.queueDepthSort(),
                      this.emit(
                        s.ADDED_TO_SCENE,
                        _____WB$wombat$check$this$function_____(this),
                        this.scene,
                      ),
                      v.events.emit(
                        h.ADDED_TO_SCENE,
                        _____WB$wombat$check$this$function_____(this),
                        this.scene,
                      )),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                removeFromDisplayList: function () {
                  var v = this.displayList || this.scene.sys.displayList;
                  return (
                    v.exists(this) &&
                      (v.remove(this, !0),
                      v.queueDepthSort(),
                      (this.displayList = null),
                      this.emit(
                        s.REMOVED_FROM_SCENE,
                        _____WB$wombat$check$this$function_____(this),
                        this.scene,
                      ),
                      v.events.emit(
                        h.REMOVED_FROM_SCENE,
                        _____WB$wombat$check$this$function_____(this),
                        this.scene,
                      )),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                destroy: function (v) {
                  if (!(!this.scene || this.ignoreDestroy)) {
                    this.emit(
                      s.DESTROY,
                      _____WB$wombat$check$this$function_____(this),
                    );
                    for (var m = this.list; m.length; ) m[0].destroy(v);
                    (this.removeAllListeners(),
                      this.resetPostPipeline(!0),
                      this.displayList &&
                        (this.displayList.remove(this, !0),
                        this.displayList.queueDepthSort()),
                      this.data && (this.data.destroy(), (this.data = void 0)),
                      (this.active = !1),
                      (this.visible = !1),
                      (this.list = void 0),
                      (this.scene = void 0),
                      (this.displayList = void 0),
                      (this.systems = void 0),
                      (this.events = void 0));
                  }
                },
              });
            d.exports = f;
          },
          834: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              var a = A.list;
              if (a.length !== 0) {
                A.depthSort();
                var r = A.blendMode !== -1;
                r || t.setBlendMode(0);
                var n = A._alpha;
                A.mask && A.mask.preRenderCanvas(t, null, c);
                for (var e = 0; e < a.length; e++) {
                  var s = a[e];
                  if (s.willRender(c)) {
                    var u = s.alpha;
                    (!r &&
                      s.blendMode !== t.currentBlendMode &&
                      t.setBlendMode(s.blendMode),
                      s.setAlpha(u * n),
                      s.renderCanvas(t, s, c),
                      s.setAlpha(u));
                  }
                }
                A.mask && A.mask.postRenderCanvas(t);
              }
            };
            d.exports = y;
          },
          56378: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(88933),
              c = t(85305),
              a = t(99325),
              r = t(20494);
            a.register("layer", function (n, e) {
              n === void 0 && (n = {});
              var s = r(n, "children", null),
                u = new c(this.scene, s);
              return (e !== void 0 && (n.add = e), A(this.scene, u, n), u);
            });
          },
          17676: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(85305),
              c = t(61286);
            c.register("layer", function (a) {
              return this.displayList.add(new A(this.scene, a));
            });
          },
          58010: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72283),
              c = A,
              a = A;
            ((c = t(17576)),
              (a = t(834)),
              (d.exports = { renderWebGL: c, renderCanvas: a }));
          },
          17576: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              var a = A.list,
                r = a.length;
              if (r !== 0) {
                (A.depthSort(), t.pipelines.preBatch(A));
                var n = A.blendMode !== -1;
                n || t.setBlendMode(0);
                for (var e = A.alpha, s = 0; s < r; s++) {
                  var u = a[s];
                  if (u.willRender(c)) {
                    var i, o, h, l;
                    if (u.alphaTopLeft !== void 0)
                      ((i = u.alphaTopLeft),
                        (o = u.alphaTopRight),
                        (h = u.alphaBottomLeft),
                        (l = u.alphaBottomRight));
                    else {
                      var f = u.alpha;
                      ((i = f), (o = f), (h = f), (l = f));
                    }
                    !n &&
                      u.blendMode !== t.currentBlendMode &&
                      t.setBlendMode(u.blendMode);
                    var v = u.mask;
                    v && v.preRenderWebGL(t, u, c);
                    var m = u.type;
                    (m !== t.currentType &&
                      ((t.newType = !0), (t.currentType = m)),
                      (t.nextTypeMatch =
                        s < r - 1 ? a[s + 1].type === t.currentType : !1),
                      u.setAlpha(i * e, o * e, h * e, l * e),
                      u.renderWebGL(t, u, c),
                      u.setAlpha(i, o, h, l),
                      v && v.postRenderWebGL(t, c),
                      (t.newType = !1));
                  }
                }
                t.pipelines.postBatch(A);
              }
            };
            d.exports = y;
          },
          14455: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(26673),
              c = t(56694),
              a = t(64937),
              r = t(39298),
              n = t(75512),
              e = new c({
                Extends: A,
                Mixins: [a.Origin, a.ScrollFactor, a.Transform, a.Visible],
                initialize: function (u, i, o, h, l, f, v) {
                  (A.call(this, u, i, o),
                    (this.color = new r(h, l, f)),
                    (this.intensity = v),
                    (this.renderFlags = 15),
                    (this.cameraFilter = 0),
                    this.setScrollFactor(1, 1),
                    this.setOrigin(),
                    this.setDisplayOrigin(o));
                },
                displayWidth: {
                  get: function () {
                    return this.diameter;
                  },
                  set: function (s) {
                    this.diameter = s;
                  },
                },
                displayHeight: {
                  get: function () {
                    return this.diameter;
                  },
                  set: function (s) {
                    this.diameter = s;
                  },
                },
                width: {
                  get: function () {
                    return this.diameter;
                  },
                  set: function (s) {
                    this.diameter = s;
                  },
                },
                height: {
                  get: function () {
                    return this.diameter;
                  },
                  set: function (s) {
                    this.diameter = s;
                  },
                },
                willRender: function (s) {
                  return !(
                    e.RENDER_MASK !== this.renderFlags ||
                    (this.cameraFilter !== 0 && this.cameraFilter & s.id)
                  );
                },
                setColor: function (s) {
                  var u = n.getFloatsFromUintRGB(s);
                  return (
                    this.color.set(u[0], u[1], u[2]),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setIntensity: function (s) {
                  return (
                    (this.intensity = s),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setRadius: function (s) {
                  return (
                    (this.radius = s),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
              });
            ((e.RENDER_MASK = 15), (d.exports = e));
          },
          26193: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(26535),
              c = t(56694),
              a = t(53996),
              r = t(14455),
              n = t(13171),
              e = t(39298),
              s = t(72677),
              u = t(17922),
              i = t(75512),
              o = new c({
                initialize: function () {
                  ((this.lights = []),
                    (this.ambientColor = new e(0.1, 0.1, 0.1)),
                    (this.active = !1),
                    (this.maxLights = -1),
                    (this.visibleLights = 0));
                },
                addPointLight: function (h, l, f, v, m, x) {
                  return this.systems.displayList.add(
                    new n(this.scene, h, l, f, v, m, x),
                  );
                },
                enable: function () {
                  return (
                    this.maxLights === -1 &&
                      (this.maxLights = this.systems.renderer.config.maxLights),
                    (this.active = !0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                disable: function () {
                  return (
                    (this.active = !1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getLights: function (h) {
                  for (
                    var l = this.lights, f = h.worldView, v = [], m = 0;
                    m < l.length;
                    m++
                  ) {
                    var x = l[m];
                    x.willRender(h) &&
                      A(x, f) &&
                      v.push({
                        light: x,
                        distance: a(x.x, x.y, f.centerX, f.centerY),
                      });
                  }
                  return (
                    v.length > this.maxLights &&
                      (u(v, this.sortByDistance),
                      (v = v.slice(0, this.maxLights))),
                    (this.visibleLights = v.length),
                    v
                  );
                },
                sortByDistance: function (h, l) {
                  return h.distance >= l.distance;
                },
                setAmbientColor: function (h) {
                  var l = i.getFloatsFromUintRGB(h);
                  return (
                    this.ambientColor.set(l[0], l[1], l[2]),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getMaxVisibleLights: function () {
                  return this.maxLights;
                },
                getLightCount: function () {
                  return this.lights.length;
                },
                addLight: function (h, l, f, v, m) {
                  (h === void 0 && (h = 0),
                    l === void 0 && (l = 0),
                    f === void 0 && (f = 128),
                    v === void 0 && (v = 16777215),
                    m === void 0 && (m = 1));
                  var x = i.getFloatsFromUintRGB(v),
                    g = new r(h, l, f, x[0], x[1], x[2], m);
                  return (this.lights.push(g), g);
                },
                removeLight: function (h) {
                  var l = this.lights.indexOf(h);
                  return (
                    l >= 0 && s(this.lights, l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                shutdown: function () {
                  this.lights.length = 0;
                },
                destroy: function () {
                  this.shutdown();
                },
              });
            d.exports = o;
          },
          50296: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(26193),
              a = t(91963),
              r = t(7599),
              n = new A({
                Extends: c,
                initialize: function (s) {
                  ((this.scene = s),
                    (this.systems = s.sys),
                    s.sys.settings.isBooted ||
                      s.sys.events.once(
                        r.BOOT,
                        this.boot,
                        _____WB$wombat$check$this$function_____(this),
                      ),
                    c.call(this));
                },
                boot: function () {
                  var e = this.systems.events;
                  (e.on(
                    r.SHUTDOWN,
                    this.shutdown,
                    _____WB$wombat$check$this$function_____(this),
                  ),
                    e.on(
                      r.DESTROY,
                      this.destroy,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                destroy: function () {
                  (this.shutdown(),
                    (this.scene = void 0),
                    (this.systems = void 0));
                },
              });
            (a.register("LightsPlugin", n, "lights"), (d.exports = n));
          },
          83321: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(64937),
              a = t(75606),
              r = t(18693),
              n = t(89980),
              e = t(53267),
              s = t(67623),
              u = t(73329),
              i = t(16650),
              o = t(23464),
              h = t(23701),
              l = t(17922),
              f = t(70015),
              v = t(85769),
              m = new A({
                Extends: n,
                Mixins: [
                  c.AlphaSingle,
                  c.BlendMode,
                  c.Depth,
                  c.Mask,
                  c.Pipeline,
                  c.PostPipeline,
                  c.ScrollFactor,
                  c.Size,
                  c.Texture,
                  c.Transform,
                  c.Visible,
                  o,
                ],
                initialize: function (g, C, T, F, w, U, M, I, O, D, G, X) {
                  (C === void 0 && (C = 0),
                    T === void 0 && (T = 0),
                    F === void 0 && (F = "__WHITE"),
                    n.call(this, g, "Mesh"),
                    (this.faces = []),
                    (this.vertices = []),
                    (this.tintFill = !1),
                    (this.debugCallback = null),
                    (this.debugGraphic = null),
                    (this.hideCCW = !0),
                    (this.modelPosition = new f()),
                    (this.modelScale = new f(1, 1, 1)),
                    (this.modelRotation = new f()),
                    (this.dirtyCache = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]),
                    (this.transformMatrix = new i()),
                    (this.viewPosition = new f()),
                    (this.viewMatrix = new i()),
                    (this.projectionMatrix = new i()),
                    (this.totalRendered = 0),
                    (this.totalFrame = 0),
                    (this.ignoreDirtyCache = !1),
                    this.fov,
                    (this.displayOriginX = 0),
                    (this.displayOriginY = 0));
                  var z = g.sys.renderer;
                  (this.setPosition(C, T),
                    this.setTexture(F, w),
                    this.setSize(z.width, z.height),
                    this.initPipeline(),
                    this.initPostPipeline(),
                    this.setPerspective(z.width, z.height),
                    U && this.addVertices(U, M, I, O, D, G, X));
                },
                addedToScene: function () {
                  this.scene.sys.updateList.add(this);
                },
                removedFromScene: function () {
                  this.scene.sys.updateList.remove(this);
                },
                panX: function (x) {
                  return (
                    this.viewPosition.addScale(f.LEFT, x),
                    (this.dirtyCache[10] = 1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                panY: function (x) {
                  return (
                    (this.viewPosition.y += f.DOWN.y * x),
                    (this.dirtyCache[10] = 1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                panZ: function (x) {
                  return (
                    (this.viewPosition.z += x),
                    (this.dirtyCache[10] = 1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setPerspective: function (x, g, C, T, F) {
                  return (
                    C === void 0 && (C = 45),
                    T === void 0 && (T = 0.01),
                    F === void 0 && (F = 1e3),
                    (this.fov = C),
                    this.projectionMatrix.perspective(a(C), x / g, T, F),
                    (this.dirtyCache[10] = 1),
                    (this.dirtyCache[11] = 0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setOrtho: function (x, g, C, T) {
                  return (
                    x === void 0 &&
                      (x = this.scene.sys.renderer.getAspectRatio()),
                    g === void 0 && (g = 1),
                    C === void 0 && (C = -1e3),
                    T === void 0 && (T = 1e3),
                    (this.fov = 0),
                    this.projectionMatrix.ortho(-x, x, -g, g, C, T),
                    (this.dirtyCache[10] = 1),
                    (this.dirtyCache[11] = 1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                clear: function () {
                  return (
                    this.faces.forEach(function (x) {
                      x.destroy();
                    }),
                    (this.faces = []),
                    (this.vertices = []),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                addVerticesFromObj: function (x, g, C, T, F, w, U, M, I) {
                  var O = this.scene.sys.cache.obj.get(x),
                    D;
                  return (
                    O &&
                      (D = e(
                        O,
                        _____WB$wombat$check$this$function_____(this),
                        g,
                        C,
                        T,
                        F,
                        w,
                        U,
                        M,
                        I,
                      )),
                    (!D || D.verts.length === 0) &&
                      console.warn("Mesh.addVerticesFromObj data empty:", x),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                sortByDepth: function (x, g) {
                  return x.depth - g.depth;
                },
                depthSort: function () {
                  return (
                    l(this.faces, this.sortByDepth),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                addVertex: function (x, g, C, T, F, w, U) {
                  var M = new v(x, g, C, T, F, w, U);
                  return (this.vertices.push(M), M);
                },
                addFace: function (x, g, C) {
                  var T = new r(x, g, C);
                  return (this.faces.push(T), (this.dirtyCache[9] = -1), T);
                },
                addVertices: function (x, g, C, T, F, w, U) {
                  var M = s(x, g, C, T, F, w, U);
                  return (
                    M
                      ? ((this.faces = this.faces.concat(M.faces)),
                        (this.vertices = this.vertices.concat(M.vertices)))
                      : console.warn("Mesh.addVertices data empty or invalid"),
                    (this.dirtyCache[9] = -1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getFaceCount: function () {
                  return this.faces.length;
                },
                getVertexCount: function () {
                  return this.vertices.length;
                },
                getFace: function (x) {
                  return this.faces[x];
                },
                hasFaceAt: function (x, g, C) {
                  C === void 0 && (C = this.scene.sys.cameras.main);
                  for (
                    var T = u(this, C).calc, F = this.faces, w = 0;
                    w < F.length;
                    w++
                  ) {
                    var U = F[w];
                    if (U.contains(x, g, T)) return !0;
                  }
                  return !1;
                },
                getFaceAt: function (x, g, C) {
                  C === void 0 && (C = this.scene.sys.cameras.main);
                  for (
                    var T = u(this, C).calc, F = this.faces, w = [], U = 0;
                    U < F.length;
                    U++
                  ) {
                    var M = F[U];
                    M.contains(x, g, T) && w.push(M);
                  }
                  return l(w, this.sortByDepth);
                },
                setDebug: function (x, g) {
                  return (
                    (this.debugGraphic = x),
                    !x && !g
                      ? (this.debugCallback = null)
                      : g
                        ? (this.debugCallback = g)
                        : (this.debugCallback = this.renderDebug),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                isDirty: function () {
                  var x = this.modelPosition,
                    g = this.modelRotation,
                    C = this.modelScale,
                    T = this.dirtyCache,
                    F = x.x,
                    w = x.y,
                    U = x.z,
                    M = g.x,
                    I = g.y,
                    O = g.z,
                    D = C.x,
                    G = C.y,
                    X = C.z,
                    z = this.getFaceCount(),
                    K = T[0],
                    N = T[1],
                    b = T[2],
                    R = T[3],
                    H = T[4],
                    Q = T[5],
                    V = T[6],
                    Y = T[7],
                    J = T[8],
                    $ = T[9];
                  return (
                    (T[0] = F),
                    (T[1] = w),
                    (T[2] = U),
                    (T[3] = M),
                    (T[4] = I),
                    (T[5] = O),
                    (T[6] = D),
                    (T[7] = G),
                    (T[8] = X),
                    (T[9] = z),
                    K !== F ||
                      N !== w ||
                      b !== U ||
                      R !== M ||
                      H !== I ||
                      Q !== O ||
                      V !== D ||
                      Y !== G ||
                      J !== X ||
                      $ !== z
                  );
                },
                preUpdate: function () {
                  ((this.totalRendered = this.totalFrame),
                    (this.totalFrame = 0));
                  var x = this.dirtyCache;
                  if (!(!this.ignoreDirtyCache && !x[10] && !this.isDirty())) {
                    var g = this.width,
                      C = this.height,
                      T = this.viewMatrix,
                      F = this.viewPosition;
                    x[10] &&
                      (T.identity(), T.translate(F), T.invert(), (x[10] = 0));
                    var w = this.transformMatrix;
                    w.setWorldMatrix(
                      this.modelRotation,
                      this.modelPosition,
                      this.modelScale,
                      this.viewMatrix,
                      this.projectionMatrix,
                    );
                    for (var U = F.z, M = this.faces, I = 0; I < M.length; I++)
                      M[I].transformCoordinatesLocal(w, g, C, U);
                    this.depthSort();
                  }
                },
                renderDebug: function (x, g) {
                  for (var C = x.debugGraphic, T = 0; T < g.length; T++) {
                    var F = g[T],
                      w = F.vertex1.tx,
                      U = F.vertex1.ty,
                      M = F.vertex2.tx,
                      I = F.vertex2.ty,
                      O = F.vertex3.tx,
                      D = F.vertex3.ty;
                    C.strokeTriangle(w, U, M, I, O, D);
                  }
                },
                preDestroy: function () {
                  (this.clear(),
                    (this.debugCallback = null),
                    (this.debugGraphic = null));
                },
                clearTint: function () {
                  return this.setTint();
                },
                setInteractive: function () {
                  var x = function (g, C, T) {
                    for (var F = this.faces, w = 0; w < F.length; w++) {
                      var U = F[w];
                      if (U.contains(C, T)) return !0;
                    }
                    return !1;
                  }.bind(this);
                  return (
                    this.scene.sys.input.enable(this, x),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setTint: function (x) {
                  x === void 0 && (x = 16777215);
                  for (var g = this.vertices, C = 0; C < g.length; C++)
                    g[C].color = x;
                  return _____WB$wombat$check$this$function_____(this);
                },
                uvScroll: function (x, g) {
                  for (var C = this.faces, T = 0; T < C.length; T++)
                    C[T].scrollUV(x, g);
                  return _____WB$wombat$check$this$function_____(this);
                },
                uvScale: function (x, g) {
                  for (var C = this.faces, T = 0; T < C.length; T++)
                    C[T].scaleUV(x, g);
                  return _____WB$wombat$check$this$function_____(this);
                },
                tint: {
                  set: function (x) {
                    this.setTint(x);
                  },
                },
                rotateX: {
                  get: function () {
                    return h(this.modelRotation.x);
                  },
                  set: function (x) {
                    this.modelRotation.x = a(x);
                  },
                },
                rotateY: {
                  get: function () {
                    return h(this.modelRotation.y);
                  },
                  set: function (x) {
                    this.modelRotation.y = a(x);
                  },
                },
                rotateZ: {
                  get: function () {
                    return h(this.modelRotation.z);
                  },
                  set: function (x) {
                    this.modelRotation.z = a(x);
                  },
                },
              });
            d.exports = m;
          },
          6317: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function () {};
            d.exports = y;
          },
          41839: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(88933),
              c = t(99325),
              a = t(20494),
              r = t(10850),
              n = t(83321);
            c.register("mesh", function (e, s) {
              e === void 0 && (e = {});
              var u = a(e, "key", null),
                i = a(e, "frame", null),
                o = r(e, "vertices", []),
                h = r(e, "uvs", []),
                l = r(e, "indicies", []),
                f = r(e, "containsZ", !1),
                v = r(e, "normals", []),
                m = r(e, "colors", 16777215),
                x = r(e, "alphas", 1),
                g = new n(this.scene, 0, 0, u, i, o, h, l, f, v, m, x);
              return (s !== void 0 && (e.add = s), A(this.scene, g, e), g);
            });
          },
          8767: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(83321),
              c = t(61286);
            c.register("mesh", function (a, r, n, e, s, u, i, o, h, l, f) {
              return this.displayList.add(
                new A(this.scene, a, r, n, e, s, u, i, o, h, l, f),
              );
            });
          },
          23464: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72283),
              c = A,
              a = A;
            ((c = t(57410)),
              (a = t(6317)),
              (d.exports = { renderWebGL: c, renderCanvas: a }));
          },
          57410: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(73329),
              c = function (a, r, n, e) {
                var s = r.faces,
                  u = s.length;
                if (u !== 0) {
                  n.addToRenderList(r);
                  var i = a.pipelines.set(r.pipeline, r),
                    o = A(r, n, e).calc;
                  a.pipelines.preBatch(r);
                  for (
                    var h = i.setGameObject(r),
                      l = i.vertexViewF32,
                      f = i.vertexViewU32,
                      v =
                        i.vertexCount * i.currentShader.vertexComponentCount -
                        1,
                      m = r.tintFill,
                      x = [],
                      g = r.debugCallback,
                      C = o.a,
                      T = o.b,
                      F = o.c,
                      w = o.d,
                      U = o.e,
                      M = o.f,
                      I = r.viewPosition.z,
                      O = r.hideCCW,
                      D = n.roundPixels,
                      G = n.alpha * r.alpha,
                      X = 0,
                      z = 0;
                    z < u;
                    z++
                  ) {
                    var K = s[z];
                    K.isInView(n, O, I, G, C, T, F, w, U, M, D) &&
                      (i.shouldFlush(3) &&
                        (i.flush(), (h = i.setGameObject(r)), (v = 0)),
                      (v = K.load(l, f, v, h, m)),
                      X++,
                      (i.vertexCount += 3),
                      (i.currentBatch.count =
                        i.vertexCount - i.currentBatch.start),
                      g && x.push(K));
                  }
                  ((r.totalFrame += X),
                    g && g.call(r, r, x),
                    a.pipelines.postBatch(r));
                }
              };
            d.exports = c;
          },
          44139: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(64937),
              a = t(89980),
              r = t(94456),
              n = t(85769),
              e = new A({
                Extends: a,
                Mixins: [
                  c.AlphaSingle,
                  c.BlendMode,
                  c.Depth,
                  c.GetBounds,
                  c.Mask,
                  c.Origin,
                  c.Pipeline,
                  c.PostPipeline,
                  c.ScrollFactor,
                  c.Texture,
                  c.Transform,
                  c.Visible,
                  r,
                ],
                initialize: function (u, i, o, h, l, f, v, m, x, g, C) {
                  (a.call(this, u, "NineSlice"),
                    this._width,
                    this._height,
                    (this._originX = 0.5),
                    (this._originY = 0.5),
                    (this._sizeComponent = !0),
                    (this.vertices = []),
                    this.leftWidth,
                    this.rightWidth,
                    this.topHeight,
                    this.bottomHeight,
                    (this.tint = 16777215),
                    (this.tintFill = !1));
                  var T = u.textures.getFrame(h, l);
                  ((this.is3Slice = !g && !C),
                    T.scale9 && (this.is3Slice = T.is3Slice));
                  for (var F = this.is3Slice ? 18 : 54, w = 0; w < F; w++)
                    this.vertices.push(new n());
                  (this.setPosition(i, o),
                    this.setTexture(h, l),
                    this.setSlices(f, v, m, x, g, C, !1),
                    this.setOrigin(0.5, 0.5),
                    this.initPipeline(),
                    this.initPostPipeline());
                },
                setSlices: function (s, u, i, o, h, l, f) {
                  (i === void 0 && (i = 10),
                    o === void 0 && (o = 10),
                    h === void 0 && (h = 0),
                    l === void 0 && (l = 0),
                    f === void 0 && (f = !1));
                  var v = this.frame,
                    m = !1;
                  if ((this.is3Slice && f && h !== 0 && l !== 0 && (m = !0), m))
                    console.warn("Cannot change 9 slice to 3 slice");
                  else {
                    if (v.scale9 && !f) {
                      var x = v.data.scale9Borders,
                        g = x.x,
                        C = x.y;
                      ((i = g),
                        (o = v.width - x.w - g),
                        (h = C),
                        (l = v.height - x.h - C),
                        s === void 0 && (s = v.width),
                        u === void 0 && (u = v.height));
                    } else
                      (s === void 0 && (s = 256), u === void 0 && (u = 256));
                    ((this._width = s),
                      (this._height = u),
                      (this.leftWidth = i),
                      (this.rightWidth = o),
                      (this.topHeight = h),
                      (this.bottomHeight = l),
                      this.is3Slice &&
                        ((u = v.height),
                        (this._height = u),
                        (this.topHeight = u),
                        (this.bottomHeight = 0)),
                      this.updateVertices(),
                      this.updateUVs());
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                updateUVs: function () {
                  var s = this.leftWidth,
                    u = this.rightWidth,
                    i = this.topHeight,
                    o = this.bottomHeight,
                    h = this.frame.width,
                    l = this.frame.height;
                  (this.updateQuadUVs(0, 0, 0, s / h, i / l),
                    this.updateQuadUVs(6, s / h, 0, 1 - u / h, i / l),
                    this.updateQuadUVs(12, 1 - u / h, 0, 1, i / l),
                    this.is3Slice ||
                      (this.updateQuadUVs(18, 0, i / l, s / h, 1 - o / l),
                      this.updateQuadUVs(
                        24,
                        s / h,
                        i / l,
                        1 - u / h,
                        1 - o / l,
                      ),
                      this.updateQuadUVs(30, 1 - u / h, i / l, 1, 1 - o / l),
                      this.updateQuadUVs(36, 0, 1 - o / l, s / h, 1),
                      this.updateQuadUVs(42, s / h, 1 - o / l, 1 - u / h, 1),
                      this.updateQuadUVs(48, 1 - u / h, 1 - o / l, 1, 1)));
                },
                updateVertices: function () {
                  var s = this.leftWidth,
                    u = this.rightWidth,
                    i = this.topHeight,
                    o = this.bottomHeight,
                    h = this.width,
                    l = this.height;
                  (this.updateQuad(0, -0.5, 0.5, -0.5 + s / h, 0.5 - i / l),
                    this.updateQuad(
                      6,
                      -0.5 + s / h,
                      0.5,
                      0.5 - u / h,
                      0.5 - i / l,
                    ),
                    this.updateQuad(12, 0.5 - u / h, 0.5, 0.5, 0.5 - i / l),
                    this.is3Slice ||
                      (this.updateQuad(
                        18,
                        -0.5,
                        0.5 - i / l,
                        -0.5 + s / h,
                        -0.5 + o / l,
                      ),
                      this.updateQuad(
                        24,
                        -0.5 + s / h,
                        0.5 - i / l,
                        0.5 - u / h,
                        -0.5 + o / l,
                      ),
                      this.updateQuad(
                        30,
                        0.5 - u / h,
                        0.5 - i / l,
                        0.5,
                        -0.5 + o / l,
                      ),
                      this.updateQuad(
                        36,
                        -0.5,
                        -0.5 + o / l,
                        -0.5 + s / h,
                        -0.5,
                      ),
                      this.updateQuad(
                        42,
                        -0.5 + s / h,
                        -0.5 + o / l,
                        0.5 - u / h,
                        -0.5,
                      ),
                      this.updateQuad(
                        48,
                        0.5 - u / h,
                        -0.5 + o / l,
                        0.5,
                        -0.5,
                      )));
                },
                updateQuad: function (s, u, i, o, h) {
                  var l = this.width,
                    f = this.height,
                    v = this.originX,
                    m = this.originY,
                    x = this.vertices;
                  (x[s + 0].resize(u, i, l, f, v, m),
                    x[s + 1].resize(u, h, l, f, v, m),
                    x[s + 2].resize(o, i, l, f, v, m),
                    x[s + 3].resize(u, h, l, f, v, m),
                    x[s + 4].resize(o, h, l, f, v, m),
                    x[s + 5].resize(o, i, l, f, v, m));
                },
                updateQuadUVs: function (s, u, i, o, h) {
                  var l = this.vertices,
                    f = this.frame,
                    v = f.u0,
                    m = f.v0,
                    x = f.u1,
                    g = f.v1;
                  if (v !== 0 || x !== 1) {
                    var C = x - v;
                    ((u = v + u * C), (o = v + o * C));
                  }
                  if (m !== 0 || g !== 1) {
                    var T = g - m;
                    ((i = m + i * T), (h = m + h * T));
                  }
                  (l[s + 0].setUVs(u, i),
                    l[s + 1].setUVs(u, h),
                    l[s + 2].setUVs(o, i),
                    l[s + 3].setUVs(u, h),
                    l[s + 4].setUVs(o, h),
                    l[s + 5].setUVs(o, i));
                },
                clearTint: function () {
                  return (
                    this.setTint(16777215),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setTint: function (s) {
                  return (
                    s === void 0 && (s = 16777215),
                    (this.tint = s),
                    (this.tintFill = !1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setTintFill: function (s) {
                  return (
                    this.setTint(s),
                    (this.tintFill = !0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                isTinted: {
                  get: function () {
                    return this.tint !== 16777215;
                  },
                },
                width: {
                  get: function () {
                    return this._width;
                  },
                  set: function (s) {
                    ((this._width = Math.max(
                      s,
                      this.leftWidth + this.rightWidth,
                    )),
                      this.updateVertices());
                  },
                },
                height: {
                  get: function () {
                    return this._height;
                  },
                  set: function (s) {
                    this.is3Slice ||
                      ((this._height = Math.max(
                        s,
                        this.topHeight + this.bottomHeight,
                      )),
                      this.updateVertices());
                  },
                },
                displayWidth: {
                  get: function () {
                    return this.scaleX * this.width;
                  },
                  set: function (s) {
                    this.scaleX = s / this.width;
                  },
                },
                displayHeight: {
                  get: function () {
                    return this.scaleY * this.height;
                  },
                  set: function (s) {
                    this.scaleY = s / this.height;
                  },
                },
                setSize: function (s, u) {
                  ((this.width = s), (this.height = u));
                  var i = this.input;
                  return (
                    i &&
                      !i.customHitArea &&
                      ((i.hitArea.width = this.width),
                      (i.hitArea.height = this.height)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setDisplaySize: function (s, u) {
                  return (
                    (this.displayWidth = s),
                    (this.displayHeight = u),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                originX: {
                  get: function () {
                    return this._originX;
                  },
                  set: function (s) {
                    ((this._originX = s), this.updateVertices());
                  },
                },
                originY: {
                  get: function () {
                    return this._originY;
                  },
                  set: function (s) {
                    ((this._originY = s), this.updateVertices());
                  },
                },
                setOrigin: function (s, u) {
                  return (
                    s === void 0 && (s = 0.5),
                    u === void 0 && (u = s),
                    (this._originX = s),
                    (this._originY = u),
                    this.updateVertices(),
                    this.updateDisplayOrigin()
                  );
                },
                setSizeToFrame: function () {
                  if (this.is3Slice) {
                    var s = this.frame.height;
                    ((this._height = s),
                      (this.topHeight = s),
                      (this.bottomHeight = 0));
                  }
                  return (
                    this.updateUVs(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                preDestroy: function () {
                  this.vertices = [];
                },
              });
            d.exports = e;
          },
          40964: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(88933),
              c = t(99325),
              a = t(20494),
              r = t(10850),
              n = t(44139);
            c.register("nineslice", function (e, s) {
              e === void 0 && (e = {});
              var u = a(e, "key", null),
                i = a(e, "frame", null),
                o = r(e, "width", 256),
                h = r(e, "height", 256),
                l = r(e, "leftWidth", 10),
                f = r(e, "rightWidth", 10),
                v = r(e, "topHeight", 0),
                m = r(e, "bottomHeight", 0),
                x = new n(this.scene, 0, 0, u, i, o, h, l, f, v, m);
              return (s !== void 0 && (e.add = s), A(this.scene, x, e), x);
            });
          },
          53778: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(44139),
              c = t(61286);
            c.register("nineslice", function (a, r, n, e, s, u, i, o, h, l) {
              return this.displayList.add(
                new A(this.scene, a, r, n, e, s, u, i, o, h, l),
              );
            });
          },
          94456: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72283),
              c = A,
              a = A;
            ((c = t(27420)), (d.exports = { renderWebGL: c, renderCanvas: a }));
          },
          27420: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(73329),
              c = t(75512),
              a = function (r, n, e, s) {
                var u = n.vertices,
                  i = u.length;
                if (i !== 0) {
                  e.addToRenderList(n);
                  var o = r.pipelines.set(n.pipeline, n),
                    h = A(n, e, s, !1).calc;
                  r.pipelines.preBatch(n);
                  var l = o.setGameObject(n),
                    f = o.vertexViewF32,
                    v = o.vertexViewU32,
                    m =
                      o.vertexCount * o.currentShader.vertexComponentCount - 1,
                    x = e.roundPixels,
                    g = n.tintFill,
                    C = e.alpha * n.alpha,
                    T = c.getTintAppendFloatAlpha(n.tint, C),
                    F = o.vertexAvailable(),
                    w = -1;
                  F < i && (w = F);
                  for (var U = 0; U < i; U++) {
                    var M = u[U];
                    (U === w && (o.flush(), (l = o.setGameObject(n)), (m = 0)),
                      (f[++m] = h.getXRound(M.vx, M.vy, x)),
                      (f[++m] = h.getYRound(M.vx, M.vy, x)),
                      (f[++m] = M.u),
                      (f[++m] = M.v),
                      (f[++m] = l),
                      (f[++m] = g),
                      (v[++m] = T),
                      o.vertexCount++,
                      (o.currentBatch.count =
                        o.vertexCount - o.currentBatch.start));
                  }
                  r.pipelines.postBatch(n);
                }
              };
            d.exports = a;
          },
          19737: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(93025),
              a = t(22946),
              r = t(21902),
              n = t(4840),
              e = t(15978),
              s = new A({
                Extends: c,
                initialize: function (i) {
                  (c.call(this, i, null, !1),
                    (this.active = !1),
                    (this.easeName = "Linear"),
                    (this.r = []),
                    (this.g = []),
                    (this.b = []));
                },
                getMethod: function () {
                  return this.propertyValue === null ? 0 : 9;
                },
                setMethods: function () {
                  var u = this.propertyValue,
                    i = u,
                    o = this.defaultEmit,
                    h = this.defaultUpdate;
                  if (this.method === 9) {
                    ((this.start = u[0]),
                      (this.ease = r("Linear")),
                      (this.interpolation = n("linear")),
                      (o = this.easedValueEmit),
                      (h = this.easeValueUpdate),
                      (i = u[0]),
                      (this.active = !0));
                    for (var l = 0; l < u.length; l++) {
                      var f = e(u[l]);
                      (this.r.push(f.r), this.g.push(f.g), this.b.push(f.b));
                    }
                  }
                  return (
                    (this.onEmit = o),
                    (this.onUpdate = h),
                    (this.current = i),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setEase: function (u) {
                  ((this.easeName = u), (this.ease = r(u)));
                },
                easedValueEmit: function () {
                  return ((this.current = this.start), this.start);
                },
                easeValueUpdate: function (u, i, o) {
                  var h = this.ease(o),
                    l = this.interpolation(this.r, h),
                    f = this.interpolation(this.g, h),
                    v = this.interpolation(this.b, h),
                    m = a(l, f, v);
                  return ((this.current = m), m);
                },
              });
            d.exports = s;
          },
          93025: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(17489),
              c = t(82897),
              a = t(56694),
              r = t(61616),
              n = t(21902),
              e = t(72632),
              s = t(4840),
              u = t(88462),
              i = t(1071),
              o = new a({
                initialize: function (l, f, v) {
                  (v === void 0 && (v = !1),
                    (this.propertyKey = l),
                    (this.propertyValue = f),
                    (this.defaultValue = f),
                    (this.steps = 0),
                    (this.counter = 0),
                    (this.yoyo = !1),
                    (this.direction = 0),
                    (this.start = 0),
                    (this.current = 0),
                    (this.end = 0),
                    (this.ease = null),
                    (this.interpolation = null),
                    (this.emitOnly = v),
                    (this.onEmit = this.defaultEmit),
                    (this.onUpdate = this.defaultUpdate),
                    (this.active = !0),
                    (this.method = 0),
                    this._onEmit,
                    this._onUpdate);
                },
                loadConfig: function (h, l) {
                  (h === void 0 && (h = {}),
                    l && (this.propertyKey = l),
                    (this.propertyValue = e(
                      h,
                      this.propertyKey,
                      this.defaultValue,
                    )),
                    (this.method = this.getMethod()),
                    this.setMethods(),
                    this.emitOnly && (this.onUpdate = this.defaultUpdate));
                },
                toJSON: function () {
                  return JSON.stringify(this.propertyValue);
                },
                onChange: function (h) {
                  var l;
                  switch (this.method) {
                    case 1:
                    case 3:
                    case 8:
                      l = h;
                      break;
                    case 2:
                      this.propertyValue.indexOf(h) >= 0 && (l = h);
                      break;
                    case 4:
                      var f = (this.end - this.start) / this.steps;
                      ((l = u(h, f)), (this.counter = l));
                      break;
                    case 5:
                    case 6:
                    case 7:
                      l = c(h, this.start, this.end);
                      break;
                    case 9:
                      l = this.start[0];
                      break;
                  }
                  return (
                    (this.current = l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getMethod: function () {
                  var h = this.propertyValue;
                  if (h === null) return 0;
                  var l = typeof h;
                  if (l === "number") return 1;
                  if (Array.isArray(h)) return 2;
                  if (l === "function") return 3;
                  if (l === "object") {
                    if (this.hasBoth(h, "start", "end"))
                      return this.has(h, "steps") ? 4 : 5;
                    if (this.hasBoth(h, "min", "max")) return 6;
                    if (this.has(h, "random")) return 7;
                    if (this.hasEither(h, "onEmit", "onUpdate")) return 8;
                    if (this.hasEither(h, "values", "interpolation")) return 9;
                  }
                  return 0;
                },
                setMethods: function () {
                  var h = this.propertyValue,
                    l = h,
                    f = this.defaultEmit,
                    v = this.defaultUpdate;
                  switch (this.method) {
                    case 1:
                      f = this.staticValueEmit;
                      break;
                    case 2:
                      ((f = this.randomStaticValueEmit), (l = h[0]));
                      break;
                    case 3:
                      ((this._onEmit = h), (f = this.proxyEmit));
                      break;
                    case 4:
                      ((this.start = h.start),
                        (this.end = h.end),
                        (this.steps = h.steps),
                        (this.counter = this.start),
                        (this.yoyo = this.has(h, "yoyo") ? h.yoyo : !1),
                        (this.direction = 0),
                        (f = this.steppedEmit),
                        (l = this.start));
                      break;
                    case 5:
                      ((this.start = h.start), (this.end = h.end));
                      var m = this.has(h, "ease") ? h.ease : "Linear";
                      ((this.ease = n(m, h.easeParams)),
                        (f =
                          this.has(h, "random") && h.random
                            ? this.randomRangedValueEmit
                            : this.easedValueEmit),
                        (v = this.easeValueUpdate),
                        (l = this.start));
                      break;
                    case 6:
                      ((this.start = h.min),
                        (this.end = h.max),
                        (f =
                          this.has(h, "int") && h.int
                            ? this.randomRangedIntEmit
                            : this.randomRangedValueEmit),
                        (l = this.start));
                      break;
                    case 7:
                      var x = h.random;
                      (Array.isArray(x) &&
                        ((this.start = x[0]), (this.end = x[1])),
                        (f = this.randomRangedIntEmit),
                        (l = this.start));
                      break;
                    case 8:
                      ((this._onEmit = this.has(h, "onEmit")
                        ? h.onEmit
                        : this.defaultEmit),
                        (this._onUpdate = this.has(h, "onUpdate")
                          ? h.onUpdate
                          : this.defaultUpdate),
                        (f = this.proxyEmit),
                        (v = this.proxyUpdate));
                      break;
                    case 9:
                      this.start = h.values;
                      var g = this.has(h, "ease") ? h.ease : "Linear";
                      ((this.ease = n(g, h.easeParams)),
                        (this.interpolation = s(h.interpolation)),
                        (f = this.easedValueEmit),
                        (v = this.easeValueUpdate),
                        (l = this.start[0]));
                      break;
                  }
                  return (
                    (this.onEmit = f),
                    (this.onUpdate = v),
                    (this.current = l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                has: function (h, l) {
                  return h.hasOwnProperty(l);
                },
                hasBoth: function (h, l, f) {
                  return h.hasOwnProperty(l) && h.hasOwnProperty(f);
                },
                hasEither: function (h, l, f) {
                  return h.hasOwnProperty(l) || h.hasOwnProperty(f);
                },
                defaultEmit: function (h, l, f) {
                  return f;
                },
                defaultUpdate: function (h, l, f, v) {
                  return v;
                },
                proxyEmit: function (h, l, f) {
                  var v = this._onEmit(h, l, f);
                  return ((this.current = v), v);
                },
                proxyUpdate: function (h, l, f, v) {
                  var m = this._onUpdate(h, l, f, v);
                  return ((this.current = m), m);
                },
                staticValueEmit: function () {
                  return this.current;
                },
                staticValueUpdate: function () {
                  return this.current;
                },
                randomStaticValueEmit: function () {
                  var h = Math.floor(Math.random() * this.propertyValue.length);
                  return ((this.current = this.propertyValue[h]), this.current);
                },
                randomRangedValueEmit: function (h, l) {
                  var f = r(this.start, this.end);
                  return (
                    h &&
                      h.data[l] &&
                      ((h.data[l].min = f), (h.data[l].max = this.end)),
                    (this.current = f),
                    f
                  );
                },
                randomRangedIntEmit: function (h, l) {
                  var f = A(this.start, this.end);
                  return (
                    h &&
                      h.data[l] &&
                      ((h.data[l].min = f), (h.data[l].max = this.end)),
                    (this.current = f),
                    f
                  );
                },
                steppedEmit: function () {
                  var h = this.counter,
                    l = h,
                    f = (this.end - this.start) / this.steps;
                  if (this.yoyo) {
                    var v;
                    (this.direction === 0
                      ? ((l += f),
                        l >= this.end &&
                          ((v = l - this.end),
                          (l = this.end - v),
                          (this.direction = 1)))
                      : ((l -= f),
                        l <= this.start &&
                          ((v = this.start - l),
                          (l = this.start + v),
                          (this.direction = 0))),
                      (this.counter = l));
                  } else this.counter = i(l + f, this.start, this.end);
                  return ((this.current = h), h);
                },
                easedValueEmit: function (h, l) {
                  if (h && h.data[l]) {
                    var f = h.data[l];
                    ((f.min = this.start), (f.max = this.end));
                  }
                  return ((this.current = this.start), this.start);
                },
                easeValueUpdate: function (h, l, f) {
                  var v = h.data[l],
                    m,
                    x = this.ease(f);
                  return (
                    this.interpolation
                      ? (m = this.interpolation(this.start, x))
                      : (m = (v.max - v.min) * x + v.min),
                    (this.current = m),
                    m
                  );
                },
                destroy: function () {
                  ((this.propertyValue = null),
                    (this.defaultValue = null),
                    (this.ease = null),
                    (this.interpolation = null),
                    (this._onEmit = null),
                    (this._onUpdate = null));
                },
              });
            d.exports = o;
          },
          87811: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(72632),
              a = t(30891),
              r = new A({
                Extends: a,
                initialize: function (e, s, u, i, o) {
                  if (typeof e == "object") {
                    var h = e;
                    ((e = c(h, "x", 0)),
                      (s = c(h, "y", 0)),
                      (u = c(h, "power", 0)),
                      (i = c(h, "epsilon", 100)),
                      (o = c(h, "gravity", 50)));
                  } else
                    (e === void 0 && (e = 0),
                      s === void 0 && (s = 0),
                      u === void 0 && (u = 0),
                      i === void 0 && (i = 100),
                      o === void 0 && (o = 50));
                  (a.call(this, e, s, !0),
                    (this._gravity = o),
                    (this._power = u * o),
                    (this._epsilon = i * i));
                },
                update: function (n, e) {
                  var s = this.x - n.x,
                    u = this.y - n.y,
                    i = s * s + u * u;
                  if (i !== 0) {
                    var o = Math.sqrt(i);
                    i < this._epsilon && (i = this._epsilon);
                    var h = ((this._power * e) / (i * o)) * 100;
                    ((n.velocityX += s * h), (n.velocityY += u * h));
                  }
                },
                epsilon: {
                  get: function () {
                    return Math.sqrt(this._epsilon);
                  },
                  set: function (n) {
                    this._epsilon = n * n;
                  },
                },
                power: {
                  get: function () {
                    return this._power / this._gravity;
                  },
                  set: function (n) {
                    this._power = n * this._gravity;
                  },
                },
                gravity: {
                  get: function () {
                    return this._gravity;
                  },
                  set: function (n) {
                    var e = this.power;
                    ((this._gravity = n), (this.power = e));
                  },
                },
              });
            d.exports = r;
          },
          14909: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(16569),
              c = t(82897),
              a = t(56694),
              r = t(75606),
              n = t(74118),
              e = t(2386),
              s = t(93736),
              u = new a({
                initialize: function (o) {
                  ((this.emitter = o),
                    (this.texture = null),
                    (this.frame = null),
                    (this.x = 0),
                    (this.y = 0),
                    (this.worldPosition = new s()),
                    (this.velocityX = 0),
                    (this.velocityY = 0),
                    (this.accelerationX = 0),
                    (this.accelerationY = 0),
                    (this.maxVelocityX = 1e4),
                    (this.maxVelocityY = 1e4),
                    (this.bounce = 0),
                    (this.scaleX = 1),
                    (this.scaleY = 1),
                    (this.alpha = 1),
                    (this.angle = 0),
                    (this.rotation = 0),
                    (this.tint = 16777215),
                    (this.life = 1e3),
                    (this.lifeCurrent = 1e3),
                    (this.delayCurrent = 0),
                    (this.holdCurrent = 0),
                    (this.lifeT = 0),
                    (this.data = {
                      tint: { min: 16777215, max: 16777215 },
                      alpha: { min: 1, max: 1 },
                      rotate: { min: 0, max: 0 },
                      scaleX: { min: 1, max: 1 },
                      scaleY: { min: 1, max: 1 },
                      x: { min: 0, max: 0 },
                      y: { min: 0, max: 0 },
                      accelerationX: { min: 0, max: 0 },
                      accelerationY: { min: 0, max: 0 },
                      maxVelocityX: { min: 0, max: 0 },
                      maxVelocityY: { min: 0, max: 0 },
                      moveToX: { min: 0, max: 0 },
                      moveToY: { min: 0, max: 0 },
                      bounce: { min: 0, max: 0 },
                    }),
                    (this.isCropped = !1),
                    (this.scene = o.scene),
                    (this.anims = new A(this)),
                    (this.bounds = new n()));
                },
                emit: function (i, o, h, l, f, v) {
                  return this.emitter.emit(i, o, h, l, f, v);
                },
                isAlive: function () {
                  return this.lifeCurrent > 0;
                },
                kill: function () {
                  this.lifeCurrent = 0;
                },
                setPosition: function (i, o) {
                  (i === void 0 && (i = 0),
                    o === void 0 && (o = 0),
                    (this.x = i),
                    (this.y = o));
                },
                fire: function (i, o) {
                  var h = this.emitter,
                    l = h.ops,
                    f = h.getAnim();
                  if (
                    (f
                      ? this.anims.play(f)
                      : ((this.frame = h.getFrame()),
                        (this.texture = this.frame.texture)),
                    !this.frame)
                  )
                    throw new Error("Particle has no texture frame");
                  if (
                    (h.getEmitZone(this),
                    i === void 0
                      ? (this.x += l.x.onEmit(this, "x"))
                      : l.x.steps > 0
                        ? (this.x += i + l.x.onEmit(this, "x"))
                        : (this.x += i),
                    o === void 0
                      ? (this.y += l.y.onEmit(this, "y"))
                      : l.y.steps > 0
                        ? (this.y += o + l.y.onEmit(this, "y"))
                        : (this.y += o),
                    (this.life = l.lifespan.onEmit(this, "lifespan")),
                    (this.lifeCurrent = this.life),
                    (this.lifeT = 0),
                    (this.delayCurrent = l.delay.onEmit(this, "delay")),
                    (this.holdCurrent = l.hold.onEmit(this, "hold")),
                    (this.scaleX = l.scaleX.onEmit(this, "scaleX")),
                    (this.scaleY = l.scaleY.active
                      ? l.scaleY.onEmit(this, "scaleY")
                      : this.scaleX),
                    (this.angle = l.rotate.onEmit(this, "rotate")),
                    (this.rotation = r(this.angle)),
                    h.worldMatrix.transformPoint(
                      this.x,
                      this.y,
                      this.worldPosition,
                    ),
                    this.delayCurrent === 0 && h.getDeathZone(this))
                  )
                    return ((this.lifeCurrent = 0), !1);
                  var v = l.speedX.onEmit(this, "speedX"),
                    m = l.speedY.active ? l.speedY.onEmit(this, "speedY") : v;
                  if (h.radial) {
                    var x = r(l.angle.onEmit(this, "angle"));
                    ((this.velocityX = Math.cos(x) * Math.abs(v)),
                      (this.velocityY = Math.sin(x) * Math.abs(m)));
                  } else if (h.moveTo) {
                    var g = l.moveToX.onEmit(this, "moveToX"),
                      C = l.moveToY.onEmit(this, "moveToY"),
                      T = this.life / 1e3;
                    ((this.velocityX = (g - this.x) / T),
                      (this.velocityY = (C - this.y) / T));
                  } else ((this.velocityX = v), (this.velocityY = m));
                  return (
                    h.acceleration &&
                      ((this.accelerationX = l.accelerationX.onEmit(
                        this,
                        "accelerationX",
                      )),
                      (this.accelerationY = l.accelerationY.onEmit(
                        this,
                        "accelerationY",
                      ))),
                    (this.maxVelocityX = l.maxVelocityX.onEmit(
                      this,
                      "maxVelocityX",
                    )),
                    (this.maxVelocityY = l.maxVelocityY.onEmit(
                      this,
                      "maxVelocityY",
                    )),
                    (this.bounce = l.bounce.onEmit(this, "bounce")),
                    (this.alpha = l.alpha.onEmit(this, "alpha")),
                    l.color.active
                      ? (this.tint = l.color.onEmit(this, "tint"))
                      : (this.tint = l.tint.onEmit(this, "tint")),
                    !0
                  );
                },
                update: function (i, o, h) {
                  if (this.lifeCurrent <= 0)
                    return this.holdCurrent > 0
                      ? ((this.holdCurrent -= i), this.holdCurrent <= 0)
                      : !0;
                  if (this.delayCurrent > 0)
                    return ((this.delayCurrent -= i), !1);
                  this.anims.update(0, i);
                  var l = this.emitter,
                    f = l.ops,
                    v = 1 - this.lifeCurrent / this.life;
                  if (
                    ((this.lifeT = v),
                    (this.x = f.x.onUpdate(this, "x", v, this.x)),
                    (this.y = f.y.onUpdate(this, "y", v, this.y)),
                    l.moveTo)
                  ) {
                    var m = f.moveToX.onUpdate(this, "moveToX", v, l.moveToX),
                      x = f.moveToY.onUpdate(this, "moveToY", v, l.moveToY),
                      g = this.lifeCurrent / 1e3;
                    ((this.velocityX = (m - this.x) / g),
                      (this.velocityY = (x - this.y) / g));
                  }
                  return (
                    this.computeVelocity(l, i, o, h, v),
                    (this.scaleX = f.scaleX.onUpdate(
                      this,
                      "scaleX",
                      v,
                      this.scaleX,
                    )),
                    f.scaleY.active
                      ? (this.scaleY = f.scaleY.onUpdate(
                          this,
                          "scaleY",
                          v,
                          this.scaleY,
                        ))
                      : (this.scaleY = this.scaleX),
                    (this.angle = f.rotate.onUpdate(
                      this,
                      "rotate",
                      v,
                      this.angle,
                    )),
                    (this.rotation = r(this.angle)),
                    l.getDeathZone(this)
                      ? ((this.lifeCurrent = 0), !0)
                      : ((this.alpha = c(
                          f.alpha.onUpdate(this, "alpha", v, this.alpha),
                          0,
                          1,
                        )),
                        f.color.active
                          ? (this.tint = f.color.onUpdate(
                              this,
                              "color",
                              v,
                              this.tint,
                            ))
                          : (this.tint = f.tint.onUpdate(
                              this,
                              "tint",
                              v,
                              this.tint,
                            )),
                        (this.lifeCurrent -= i),
                        this.lifeCurrent <= 0 && this.holdCurrent <= 0)
                  );
                },
                computeVelocity: function (i, o, h, l, f) {
                  var v = i.ops,
                    m = this.velocityX,
                    x = this.velocityY,
                    g = v.accelerationX.onUpdate(
                      this,
                      "accelerationX",
                      f,
                      this.accelerationX,
                    ),
                    C = v.accelerationY.onUpdate(
                      this,
                      "accelerationY",
                      f,
                      this.accelerationY,
                    ),
                    T = v.maxVelocityX.onUpdate(
                      this,
                      "maxVelocityX",
                      f,
                      this.maxVelocityX,
                    ),
                    F = v.maxVelocityY.onUpdate(
                      this,
                      "maxVelocityY",
                      f,
                      this.maxVelocityY,
                    );
                  ((this.bounce = v.bounce.onUpdate(
                    this,
                    "bounce",
                    f,
                    this.bounce,
                  )),
                    (m += i.gravityX * h + g * h),
                    (x += i.gravityY * h + C * h),
                    (m = c(m, -T, T)),
                    (x = c(x, -F, F)),
                    (this.velocityX = m),
                    (this.velocityY = x),
                    (this.x += m * h),
                    (this.y += x * h),
                    i.worldMatrix.transformPoint(
                      this.x,
                      this.y,
                      this.worldPosition,
                    ));
                  for (var w = 0; w < l.length; w++) {
                    var U = l[w];
                    U.active && U.update(this, o, h, f);
                  }
                },
                setSizeToFrame: function () {},
                getBounds: function (i) {
                  i === void 0 && (i = this.emitter.getWorldTransformMatrix());
                  var o = Math.abs(i.scaleX) * this.scaleX,
                    h = Math.abs(i.scaleY) * this.scaleY,
                    l = this.x,
                    f = this.y,
                    v = this.rotation,
                    m = (this.frame.width * o) / 2,
                    x = (this.frame.height * h) / 2,
                    g = this.bounds,
                    C = new s(l - m, f - x),
                    T = new s(l + m, f - x),
                    F = new s(l - m, f + x),
                    w = new s(l + m, f + x);
                  return (
                    v !== 0 &&
                      (e(C, l, f, v),
                      e(T, l, f, v),
                      e(F, l, f, v),
                      e(w, l, f, v)),
                    i.transformPoint(C.x, C.y, C),
                    i.transformPoint(T.x, T.y, T),
                    i.transformPoint(F.x, F.y, F),
                    i.transformPoint(w.x, w.y, w),
                    (g.x = Math.min(C.x, T.x, F.x, w.x)),
                    (g.y = Math.min(C.y, T.y, F.y, w.y)),
                    (g.width = Math.max(C.x, T.x, F.x, w.x) - g.x),
                    (g.height = Math.max(C.y, T.y, F.y, w.y) - g.y),
                    g
                  );
                },
                destroy: function () {
                  (this.anims.destroy(),
                    (this.anims = null),
                    (this.emitter = null),
                    (this.texture = null),
                    (this.frame = null),
                    (this.scene = null));
                },
              });
            d.exports = u;
          },
          73106: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(30891),
              a = t(74118),
              r = new A({
                Extends: c,
                initialize: function (e, s, u, i, o, h, l, f) {
                  (o === void 0 && (o = !0),
                    h === void 0 && (h = !0),
                    l === void 0 && (l = !0),
                    f === void 0 && (f = !0),
                    c.call(this, e, s, !0),
                    (this.bounds = new a(e, s, u, i)),
                    (this.collideLeft = o),
                    (this.collideRight = h),
                    (this.collideTop = l),
                    (this.collideBottom = f));
                },
                update: function (n) {
                  var e = this.bounds,
                    s = -n.bounce,
                    u = n.worldPosition;
                  (u.x < e.x && this.collideLeft
                    ? ((n.x += e.x - u.x), (n.velocityX *= s))
                    : u.x > e.right &&
                      this.collideRight &&
                      ((n.x -= u.x - e.right), (n.velocityX *= s)),
                    u.y < e.y && this.collideTop
                      ? ((n.y += e.y - u.y), (n.velocityY *= s))
                      : u.y > e.bottom &&
                        this.collideBottom &&
                        ((n.y -= u.y - e.bottom), (n.velocityY *= s)));
                },
              });
            d.exports = r;
          },
          9216: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(64937),
              a = t(48129),
              r = t(29538),
              n = t(69361),
              e = t(54213),
              s = t(19737),
              u = t(93025),
              i = t(40629),
              o = t(89980),
              h = t(72632),
              l = t(72861),
              f = t(87811),
              v = t(53523),
              m = t(19256),
              x = t(7782),
              g = t(71207),
              C = t(14655),
              T = t(14909),
              F = t(68433),
              w = t(74118),
              U = t(90205),
              M = t(66458),
              I = t(69116),
              O = t(17922),
              D = t(69360),
              G = t(93736),
              X = t(1071),
              z = t(73106),
              K = [
                "active",
                "advance",
                "blendMode",
                "colorEase",
                "deathCallback",
                "deathCallbackScope",
                "duration",
                "emitCallback",
                "emitCallbackScope",
                "follow",
                "frequency",
                "gravityX",
                "gravityY",
                "maxAliveParticles",
                "maxParticles",
                "name",
                "emitting",
                "particleBringToTop",
                "particleClass",
                "radial",
                "sortCallback",
                "sortOrderAsc",
                "sortProperty",
                "stopAfter",
                "tintFill",
                "timeScale",
                "trackVisible",
                "visible",
              ],
              N = [
                "accelerationX",
                "accelerationY",
                "alpha",
                "angle",
                "bounce",
                "color",
                "delay",
                "hold",
                "lifespan",
                "maxVelocityX",
                "maxVelocityY",
                "moveToX",
                "moveToY",
                "quantity",
                "rotate",
                "scaleX",
                "scaleY",
                "speedX",
                "speedY",
                "tint",
                "x",
                "y",
              ],
              b = new A({
                Extends: o,
                Mixins: [
                  c.AlphaSingle,
                  c.BlendMode,
                  c.Depth,
                  c.Mask,
                  c.Pipeline,
                  c.PostPipeline,
                  c.ScrollFactor,
                  c.Texture,
                  c.Transform,
                  c.Visible,
                  I,
                ],
                initialize: function (H, Q, V, Y, J) {
                  (o.call(this, H, "ParticleEmitter"),
                    (this.particleClass = T),
                    (this.ops = {
                      accelerationX: new u("accelerationX", 0),
                      accelerationY: new u("accelerationY", 0),
                      alpha: new u("alpha", 1),
                      angle: new u("angle", { min: 0, max: 360 }, !0),
                      bounce: new u("bounce", 0),
                      color: new s("color"),
                      delay: new u("delay", 0, !0),
                      hold: new u("hold", 0, !0),
                      lifespan: new u("lifespan", 1e3, !0),
                      maxVelocityX: new u("maxVelocityX", 1e4),
                      maxVelocityY: new u("maxVelocityY", 1e4),
                      moveToX: new u("moveToX", 0),
                      moveToY: new u("moveToY", 0),
                      quantity: new u("quantity", 1, !0),
                      rotate: new u("rotate", 0),
                      scaleX: new u("scaleX", 1),
                      scaleY: new u("scaleY", 1),
                      speedX: new u("speedX", 0, !0),
                      speedY: new u("speedY", 0, !0),
                      tint: new u("tint", 16777215),
                      x: new u("x", 0),
                      y: new u("y", 0),
                    }),
                    (this.radial = !0),
                    (this.gravityX = 0),
                    (this.gravityY = 0),
                    (this.acceleration = !1),
                    (this.moveTo = !1),
                    (this.emitCallback = null),
                    (this.emitCallbackScope = null),
                    (this.deathCallback = null),
                    (this.deathCallbackScope = null),
                    (this.maxParticles = 0),
                    (this.maxAliveParticles = 0),
                    (this.stopAfter = 0),
                    (this.duration = 0),
                    (this.frequency = 0),
                    (this.emitting = !0),
                    (this.particleBringToTop = !0),
                    (this.timeScale = 1),
                    (this.emitZones = []),
                    (this.deathZones = []),
                    (this.viewBounds = null),
                    (this.follow = null),
                    (this.followOffset = new G()),
                    (this.trackVisible = !1),
                    (_____WB$wombat$check$this$function_____(this).frames = []),
                    (this.randomFrame = !0),
                    (this.frameQuantity = 1),
                    (this.anims = []),
                    (this.randomAnim = !0),
                    (this.animQuantity = 1),
                    (this.dead = []),
                    (this.alive = []),
                    (this.counters = new Float32Array(10)),
                    (this.skipping = !1),
                    (this.worldMatrix = new D()),
                    (this.sortProperty = ""),
                    (this.sortOrderAsc = !0),
                    (this.sortCallback = this.depthSortCallback),
                    (this.processors = new g(this)),
                    (this.tintFill = !1),
                    this.initPipeline(),
                    this.initPostPipeline(),
                    this.setPosition(Q, V),
                    this.setTexture(Y),
                    J && this.setConfig(J));
                },
                addedToScene: function () {
                  this.scene.sys.updateList.add(this);
                },
                removedFromScene: function () {
                  this.scene.sys.updateList.remove(this);
                },
                setConfig: function (R) {
                  if (!R) return _____WB$wombat$check$this$function_____(this);
                  var H = 0,
                    Q = "",
                    V = this.ops;
                  for (H = 0; H < N.length; H++)
                    ((Q = N[H]), V[Q].loadConfig(R));
                  for (H = 0; H < K.length; H++)
                    ((Q = K[H]), m(R, Q) && (this[Q] = h(R, Q)));
                  if (
                    ((this.acceleration =
                      this.accelerationX !== 0 || this.accelerationY !== 0),
                    (this.moveTo = this.moveToX !== 0 && this.moveToY !== 0),
                    m(R, "speed") &&
                      (V.speedX.loadConfig(R, "speed"), (V.speedY.active = !1)),
                    (v(R, ["speedX", "speedY"]) || this.moveTo) &&
                      (this.radial = !1),
                    m(R, "scale") &&
                      (V.scaleX.loadConfig(R, "scale"), (V.scaleY.active = !1)),
                    m(R, "callbackScope"))
                  ) {
                    var Y = h(R, "callbackScope", null);
                    ((this.emitCallbackScope = Y),
                      (this.deathCallbackScope = Y));
                  }
                  if (
                    (m(R, "emitZone") && this.addEmitZone(R.emitZone),
                    m(R, "deathZone") && this.addDeathZone(R.deathZone),
                    m(R, "bounds"))
                  ) {
                    var J = this.addParticleBounds(R.bounds);
                    ((J.collideLeft = h(R, "collideLeft", !0)),
                      (J.collideRight = h(R, "collideRight", !0)),
                      (J.collideTop = h(R, "collideTop", !0)),
                      (J.collideBottom = h(R, "collideBottom", !0)));
                  }
                  return (
                    m(R, "followOffset") &&
                      this.followOffset.setFromObject(h(R, "followOffset", 0)),
                    m(R, "texture") && this.setTexture(R.texture),
                    m(R, "frame")
                      ? this.setEmitterFrame(R.frame)
                      : m(R, "anim") && this.setAnim(R.anim),
                    m(R, "reserve") && this.reserve(R.reserve),
                    m(R, "advance") && this.fastForward(R.advance),
                    this.resetCounters(this.frequency, this.emitting),
                    this.emitting &&
                      this.emit(
                        i.START,
                        _____WB$wombat$check$this$function_____(this),
                      ),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                toJSON: function () {
                  var R = a(this),
                    H = 0,
                    Q = "";
                  for (H = 0; H < K.length; H++)
                    ((Q = K[H]),
                      (R[Q] =
                        _____WB$wombat$check$this$function_____(this)[Q]));
                  var V = this.ops;
                  for (H = 0; H < N.length; H++)
                    ((Q = N[H]), V[Q] && (R[Q] = V[Q].toJSON()));
                  return (
                    V.speedY.active ||
                      (delete R.speedX, (R.speed = V.speedX.toJSON())),
                    this.scaleX === this.scaleY &&
                      (delete R.scaleX,
                      delete R.scaleY,
                      (R.scale = V.scaleX.toJSON())),
                    R
                  );
                },
                resetCounters: function (R, H) {
                  var Q = this.counters;
                  (Q.fill(0), (Q[0] = R), H && (Q[5] = 1));
                },
                startFollow: function (R, H, Q, V) {
                  return (
                    H === void 0 && (H = 0),
                    Q === void 0 && (Q = 0),
                    V === void 0 && (V = !1),
                    (this.follow = R),
                    this.followOffset.set(H, Q),
                    (this.trackVisible = V),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                stopFollow: function () {
                  return (
                    (this.follow = null),
                    this.followOffset.set(0, 0),
                    (this.trackVisible = !1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getFrame: function () {
                  var R = _____WB$wombat$check$this$function_____(this).frames,
                    H = R.length,
                    Q;
                  return (
                    H === 1
                      ? (Q = R[0])
                      : this.randomFrame
                        ? (Q = l(R))
                        : ((Q = R[this.currentFrame]),
                          this.frameCounter++,
                          this.frameCounter === this.frameQuantity &&
                            ((this.frameCounter = 0),
                            this.currentFrame++,
                            this.currentFrame === H &&
                              (this.currentFrame = 0))),
                    this.texture.get(Q)
                  );
                },
                setEmitterFrame: function (R, H, Q) {
                  (H === void 0 && (H = !0),
                    Q === void 0 && (Q = 1),
                    (this.randomFrame = H),
                    (this.frameQuantity = Q),
                    (this.currentFrame = 0));
                  var V = typeof R;
                  if (
                    ((_____WB$wombat$check$this$function_____(
                      this,
                    ).frames.length = 0),
                    Array.isArray(R))
                  )
                    _____WB$wombat$check$this$function_____(this).frames =
                      _____WB$wombat$check$this$function_____(
                        this,
                      ).frames.concat(R);
                  else if (V === "string" || V === "number")
                    _____WB$wombat$check$this$function_____(this).frames.push(
                      R,
                    );
                  else if (V === "object") {
                    var Y = R;
                    ((R = h(Y, "frames", null)),
                      R &&
                        (_____WB$wombat$check$this$function_____(this).frames =
                          _____WB$wombat$check$this$function_____(
                            this,
                          ).frames.concat(R)));
                    var J = h(Y, "cycle", !1);
                    ((this.randomFrame = !J),
                      (this.frameQuantity = h(Y, "quantity", Q)));
                  }
                  return (
                    _____WB$wombat$check$this$function_____(this).frames
                      .length === 1 &&
                      ((this.frameQuantity = 1), (this.randomFrame = !1)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getAnim: function () {
                  var R = this.anims,
                    H = R.length;
                  if (H === 0) return null;
                  if (H === 1) return R[0];
                  if (this.randomAnim) return l(R);
                  var Q = R[this.currentAnim];
                  return (
                    this.animCounter++,
                    this.animCounter >= this.animQuantity &&
                      ((this.animCounter = 0),
                      (this.currentAnim = X(this.currentAnim + 1, 0, H))),
                    Q
                  );
                },
                setAnim: function (R, H, Q) {
                  (H === void 0 && (H = !0),
                    Q === void 0 && (Q = 1),
                    (this.randomAnim = H),
                    (this.animQuantity = Q),
                    (this.currentAnim = 0));
                  var V = typeof R;
                  if (((this.anims.length = 0), Array.isArray(R)))
                    this.anims = this.anims.concat(R);
                  else if (V === "string") this.anims.push(R);
                  else if (V === "object") {
                    var Y = R;
                    ((R = h(Y, "anims", null)),
                      R && (this.anims = this.anims.concat(R)));
                    var J = h(Y, "cycle", !1);
                    ((this.randomAnim = !J),
                      (this.animQuantity = h(Y, "quantity", Q)));
                  }
                  return (
                    this.anims.length === 1 &&
                      ((this.animQuantity = 1), (this.randomAnim = !1)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setRadial: function (R) {
                  return (
                    R === void 0 && (R = !0),
                    (this.radial = R),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                addParticleBounds: function (R, H, Q, V, Y, J, $, W) {
                  if (typeof R == "object") {
                    var Z = R;
                    ((R = Z.x),
                      (H = Z.y),
                      (Q = m(Z, "w") ? Z.w : Z.width),
                      (V = m(Z, "h") ? Z.h : Z.height));
                  }
                  return this.addParticleProcessor(
                    new z(R, H, Q, V, Y, J, $, W),
                  );
                },
                setParticleSpeed: function (R, H) {
                  return (
                    H === void 0 && (H = R),
                    this.ops.speedX.onChange(R),
                    R === H
                      ? (this.ops.speedY.active = !1)
                      : this.ops.speedY.onChange(H),
                    (this.radial = !0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setParticleScale: function (R, H) {
                  return (
                    R === void 0 && (R = 1),
                    H === void 0 && (H = R),
                    this.ops.scaleX.onChange(R),
                    this.ops.scaleY.onChange(H),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setParticleGravity: function (R, H) {
                  return (
                    (this.gravityX = R),
                    (this.gravityY = H),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setParticleAlpha: function (R) {
                  return (
                    this.ops.alpha.onChange(R),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setParticleTint: function (R) {
                  return (
                    this.ops.tint.onChange(R),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setEmitterAngle: function (R) {
                  return (
                    this.ops.angle.onChange(R),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setParticleLifespan: function (R) {
                  return (
                    this.ops.lifespan.onChange(R),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setQuantity: function (R) {
                  return (
                    (this.quantity = R),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setFrequency: function (R, H) {
                  return (
                    (this.frequency = R),
                    (this.flowCounter = R > 0 ? R : 0),
                    H && (this.quantity = H),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                addDeathZone: function (R) {
                  Array.isArray(R) || (R = [R]);
                  for (var H, Q = [], V = 0; V < R.length; V++)
                    if (((H = R[V]), H instanceof n)) Q.push(H);
                    else if (typeof H.contains == "function")
                      ((H = new n(H, !0)), Q.push(H));
                    else {
                      var Y = h(H, "type", "onEnter"),
                        J = h(H, "source", null);
                      if (J && typeof J.contains == "function") {
                        var $ = Y === "onEnter";
                        ((H = new n(J, $)), Q.push(H));
                      }
                    }
                  return ((this.deathZones = this.deathZones.concat(Q)), Q);
                },
                removeDeathZone: function (R) {
                  return (
                    M(this.deathZones, R),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                clearDeathZones: function () {
                  return (
                    (this.deathZones.length = 0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                addEmitZone: function (R) {
                  Array.isArray(R) || (R = [R]);
                  for (var H, Q = [], V = 0; V < R.length; V++)
                    if (((H = R[V]), H instanceof F || H instanceof e))
                      Q.push(H);
                    else {
                      var Y = h(H, "source", null);
                      if (Y) {
                        var J = h(H, "type", "random");
                        if (
                          J === "random" &&
                          typeof Y.getRandomPoint == "function"
                        )
                          ((H = new F(Y)), Q.push(H));
                        else if (
                          J === "edge" &&
                          typeof Y.getPoints == "function"
                        ) {
                          var $ = h(H, "quantity", 1),
                            W = h(H, "stepRate", 0),
                            Z = h(H, "yoyo", !1),
                            j = h(H, "seamless", !0),
                            k = h(H, "total", -1);
                          ((H = new e(Y, $, W, Z, j, k)), Q.push(H));
                        }
                      }
                    }
                  return ((this.emitZones = this.emitZones.concat(Q)), Q);
                },
                removeEmitZone: function (R) {
                  return (
                    M(this.emitZones, R),
                    (this.zoneIndex = 0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                clearEmitZones: function () {
                  return (
                    (this.emitZones.length = 0),
                    (this.zoneIndex = 0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getEmitZone: function (R) {
                  var H = this.emitZones,
                    Q = H.length;
                  if (Q !== 0) {
                    var V = H[this.zoneIndex];
                    (V.getPoint(R),
                      V.total > -1 &&
                        (this.zoneTotal++,
                        this.zoneTotal === V.total &&
                          ((this.zoneTotal = 0),
                          this.zoneIndex++,
                          this.zoneIndex === Q && (this.zoneIndex = 0))));
                  }
                },
                getDeathZone: function (R) {
                  for (var H = this.deathZones, Q = 0; Q < H.length; Q++) {
                    var V = H[Q];
                    if (V.willKill(R))
                      return (
                        this.emit(
                          i.DEATH_ZONE,
                          _____WB$wombat$check$this$function_____(this),
                          R,
                          V,
                        ),
                        !0
                      );
                  }
                  return !1;
                },
                setEmitZone: function (R) {
                  var H;
                  return (
                    isFinite(R) ? (H = R) : (H = this.emitZones.indexOf(R)),
                    H >= 0 && (this.zoneIndex = H),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                addParticleProcessor: function (R) {
                  return (
                    this.processors.exists(R) ||
                      (R.emitter && R.emitter.removeParticleProcessor(R),
                      this.processors.add(R),
                      (R.emitter =
                        _____WB$wombat$check$this$function_____(this))),
                    R
                  );
                },
                removeParticleProcessor: function (R) {
                  return (
                    this.processors.exists(R) &&
                      (this.processors.remove(R, !0), (R.emitter = null)),
                    R
                  );
                },
                getProcessors: function () {
                  return this.processors.getAll("active", !0);
                },
                createGravityWell: function (R) {
                  return this.addParticleProcessor(new f(R));
                },
                reserve: function (R) {
                  var H = this.dead;
                  if (this.maxParticles > 0) {
                    var Q = this.getParticleCount();
                    Q + R > this.maxParticles &&
                      (R = this.maxParticles - (Q + R));
                  }
                  for (var V = 0; V < R; V++)
                    H.push(new this.particleClass(this));
                  return _____WB$wombat$check$this$function_____(this);
                },
                getAliveParticleCount: function () {
                  return this.alive.length;
                },
                getDeadParticleCount: function () {
                  return this.dead.length;
                },
                getParticleCount: function () {
                  return (
                    this.getAliveParticleCount() + this.getDeadParticleCount()
                  );
                },
                atLimit: function () {
                  return this.maxParticles > 0 &&
                    this.getParticleCount() >= this.maxParticles
                    ? !0
                    : this.maxAliveParticles > 0 &&
                        this.getAliveParticleCount() >= this.maxAliveParticles;
                },
                onParticleEmit: function (R, H) {
                  return (
                    R === void 0
                      ? ((this.emitCallback = null),
                        (this.emitCallbackScope = null))
                      : typeof R == "function" &&
                        ((this.emitCallback = R),
                        H && (this.emitCallbackScope = H)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                onParticleDeath: function (R, H) {
                  return (
                    R === void 0
                      ? ((this.deathCallback = null),
                        (this.deathCallbackScope = null))
                      : typeof R == "function" &&
                        ((this.deathCallback = R),
                        H && (this.deathCallbackScope = H)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                killAll: function () {
                  for (var R = this.dead, H = this.alive; H.length > 0; )
                    R.push(H.pop());
                  return _____WB$wombat$check$this$function_____(this);
                },
                forEachAlive: function (R, H) {
                  for (var Q = this.alive, V = Q.length, Y = 0; Y < V; Y++)
                    R.call(
                      H,
                      Q[Y],
                      _____WB$wombat$check$this$function_____(this),
                    );
                  return _____WB$wombat$check$this$function_____(this);
                },
                forEachDead: function (R, H) {
                  for (var Q = this.dead, V = Q.length, Y = 0; Y < V; Y++)
                    R.call(
                      H,
                      Q[Y],
                      _____WB$wombat$check$this$function_____(this),
                    );
                  return _____WB$wombat$check$this$function_____(this);
                },
                start: function (R, H) {
                  return (
                    R === void 0 && (R = 0),
                    this.emitting ||
                      (R > 0 && this.fastForward(R),
                      (this.emitting = !0),
                      this.resetCounters(this.frequency, !0),
                      H !== void 0 && (this.duration = Math.abs(H)),
                      this.emit(
                        i.START,
                        _____WB$wombat$check$this$function_____(this),
                      )),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                stop: function (R) {
                  return (
                    R === void 0 && (R = !1),
                    this.emitting &&
                      ((this.emitting = !1),
                      R && this.killAll(),
                      this.emit(
                        i.STOP,
                        _____WB$wombat$check$this$function_____(this),
                      )),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                pause: function () {
                  return (
                    (this.active = !1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                resume: function () {
                  return (
                    (this.active = !0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setSortProperty: function (R, H) {
                  return (
                    R === void 0 && (R = ""),
                    H === void 0 && (H = this.true),
                    (this.sortProperty = R),
                    (this.sortOrderAsc = H),
                    (this.sortCallback = this.depthSortCallback),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setSortCallback: function (R) {
                  return (
                    this.sortProperty !== ""
                      ? (R = this.depthSortCallback)
                      : (R = null),
                    (this.sortCallback = R),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                depthSort: function () {
                  return (
                    O(this.alive, this.sortCallback.bind(this)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                depthSortCallback: function (R, H) {
                  var Q = this.sortProperty;
                  return this.sortOrderAsc ? R[Q] - H[Q] : H[Q] - R[Q];
                },
                flow: function (R, H, Q) {
                  return (
                    H === void 0 && (H = 1),
                    (this.emitting = !1),
                    (this.frequency = R),
                    (this.quantity = H),
                    Q !== void 0 && (this.stopAfter = Q),
                    this.start()
                  );
                },
                explode: function (R, H, Q) {
                  ((this.frequency = -1), this.resetCounters(-1, !0));
                  var V = this.emitParticle(R, H, Q);
                  return (
                    this.emit(
                      i.EXPLODE,
                      _____WB$wombat$check$this$function_____(this),
                      V,
                    ),
                    V
                  );
                },
                emitParticleAt: function (R, H, Q) {
                  return this.emitParticle(Q, R, H);
                },
                emitParticle: function (R, H, Q) {
                  if (!this.atLimit()) {
                    R === void 0 && (R = this.ops.quantity.onEmit());
                    for (
                      var V = this.dead,
                        Y = this.stopAfter,
                        J = this.follow
                          ? this.follow.x + this.followOffset.x
                          : H,
                        $ = this.follow
                          ? this.follow.y + this.followOffset.y
                          : Q,
                        W = 0;
                      W < R;
                      W++
                    ) {
                      var Z = V.pop();
                      if (
                        (Z || (Z = new this.particleClass(this)),
                        Z.fire(J, $)
                          ? (this.particleBringToTop
                              ? this.alive.push(Z)
                              : this.alive.unshift(Z),
                            this.emitCallback &&
                              this.emitCallback.call(
                                this.emitCallbackScope,
                                Z,
                                _____WB$wombat$check$this$function_____(this),
                              ))
                          : this.dead.push(Z),
                        (Y > 0 &&
                          (this.stopCounter++, this.stopCounter >= Y)) ||
                          this.atLimit())
                      )
                        break;
                    }
                    return Z;
                  }
                },
                fastForward: function (R, H) {
                  H === void 0 && (H = 1e3 / 60);
                  var Q = 0;
                  for (this.skipping = !0; Q < Math.abs(R); )
                    (this.preUpdate(0, H), (Q += H));
                  return (
                    (this.skipping = !1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                preUpdate: function (R, H) {
                  H *= this.timeScale;
                  var Q = H / 1e3;
                  (this.trackVisible && (this.visible = this.follow.visible),
                    this.getWorldTransformMatrix(this.worldMatrix));
                  var V = this.getProcessors(),
                    Y = this.alive,
                    J = this.dead,
                    $ = 0,
                    W = [],
                    Z = Y.length;
                  for ($ = 0; $ < Z; $++) {
                    var j = Y[$];
                    j.update(H, Q, V) && W.push({ index: $, particle: j });
                  }
                  if (((Z = W.length), Z > 0)) {
                    var k = this.deathCallback,
                      _ = this.deathCallbackScope;
                    for ($ = Z - 1; $ >= 0; $--) {
                      var q = W[$];
                      (Y.splice(q.index, 1),
                        J.push(q.particle),
                        k && k.call(_, q.particle),
                        q.particle.setPosition());
                    }
                  }
                  if (!this.emitting && !this.skipping) {
                    this.completeFlag === 1 &&
                      Y.length === 0 &&
                      ((this.completeFlag = 0),
                      this.emit(
                        i.COMPLETE,
                        _____WB$wombat$check$this$function_____(this),
                      ));
                    return;
                  }
                  if (this.frequency === 0) this.emitParticle();
                  else if (this.frequency > 0)
                    for (this.flowCounter -= H; this.flowCounter <= 0; )
                      (this.emitParticle(),
                        (this.flowCounter += this.frequency));
                  this.skipping ||
                    (this.duration > 0 &&
                      ((this.elapsed += H),
                      this.elapsed >= this.duration && this.stop()),
                    this.stopAfter > 0 &&
                      this.stopCounter >= this.stopAfter &&
                      this.stop());
                },
                overlap: function (R) {
                  for (
                    var H = this.getWorldTransformMatrix(),
                      Q = this.alive,
                      V = Q.length,
                      Y = [],
                      J = 0;
                    J < V;
                    J++
                  ) {
                    var $ = Q[J];
                    U(R, $.getBounds(H)) && Y.push($);
                  }
                  return Y;
                },
                getBounds: function (R, H, Q, V) {
                  (R === void 0 && (R = 0),
                    H === void 0 && (H = 0),
                    Q === void 0 && (Q = 1e3 / 60),
                    V === void 0 && (V = new w()));
                  var Y = this.getWorldTransformMatrix(),
                    J,
                    $,
                    W = this.alive,
                    Z = !1;
                  if ((V.setTo(0, 0, 0, 0), H > 0)) {
                    var j = 0;
                    for (this.skipping = !0; j < Math.abs(H); ) {
                      for (this.preUpdate(0, Q), J = 0; J < W.length; J++)
                        (($ = W[J].getBounds(Y)),
                          Z ? C(V, $) : ((Z = !0), r($, V)));
                      j += Q;
                    }
                    this.skipping = !1;
                  } else
                    for (J = 0; J < W.length; J++)
                      (($ = W[J].getBounds(Y)),
                        Z ? C(V, $) : ((Z = !0), r($, V)));
                  return (R > 0 && x(V, R, R), V);
                },
                createEmitter: function () {
                  throw new Error(
                    "createEmitter removed. See ParticleEmitter docs for info",
                  );
                },
                particleX: {
                  get: function () {
                    return this.ops.x.current;
                  },
                  set: function (R) {
                    this.ops.x.onChange(R);
                  },
                },
                particleY: {
                  get: function () {
                    return this.ops.y.current;
                  },
                  set: function (R) {
                    this.ops.y.onChange(R);
                  },
                },
                accelerationX: {
                  get: function () {
                    return this.ops.accelerationX.current;
                  },
                  set: function (R) {
                    this.ops.accelerationX.onChange(R);
                  },
                },
                accelerationY: {
                  get: function () {
                    return this.ops.accelerationY.current;
                  },
                  set: function (R) {
                    this.ops.accelerationY.onChange(R);
                  },
                },
                maxVelocityX: {
                  get: function () {
                    return this.ops.maxVelocityX.current;
                  },
                  set: function (R) {
                    this.ops.maxVelocityX.onChange(R);
                  },
                },
                maxVelocityY: {
                  get: function () {
                    return this.ops.maxVelocityY.current;
                  },
                  set: function (R) {
                    this.ops.maxVelocityY.onChange(R);
                  },
                },
                speed: {
                  get: function () {
                    return this.ops.speedX.current;
                  },
                  set: function (R) {
                    (this.ops.speedX.onChange(R), this.ops.speedY.onChange(R));
                  },
                },
                speedX: {
                  get: function () {
                    return this.ops.speedX.current;
                  },
                  set: function (R) {
                    this.ops.speedX.onChange(R);
                  },
                },
                speedY: {
                  get: function () {
                    return this.ops.speedY.current;
                  },
                  set: function (R) {
                    this.ops.speedY.onChange(R);
                  },
                },
                moveToX: {
                  get: function () {
                    return this.ops.moveToX.current;
                  },
                  set: function (R) {
                    this.ops.moveToX.onChange(R);
                  },
                },
                moveToY: {
                  get: function () {
                    return this.ops.moveToY.current;
                  },
                  set: function (R) {
                    this.ops.moveToY.onChange(R);
                  },
                },
                bounce: {
                  get: function () {
                    return this.ops.bounce.current;
                  },
                  set: function (R) {
                    this.ops.bounce.onChange(R);
                  },
                },
                particleScaleX: {
                  get: function () {
                    return this.ops.scaleX.current;
                  },
                  set: function (R) {
                    this.ops.scaleX.onChange(R);
                  },
                },
                particleScaleY: {
                  get: function () {
                    return this.ops.scaleY.current;
                  },
                  set: function (R) {
                    this.ops.scaleY.onChange(R);
                  },
                },
                particleColor: {
                  get: function () {
                    return this.ops.color.current;
                  },
                  set: function (R) {
                    this.ops.color.onChange(R);
                  },
                },
                colorEase: {
                  get: function () {
                    return this.ops.color.easeName;
                  },
                  set: function (R) {
                    this.ops.color.setEase(R);
                  },
                },
                particleTint: {
                  get: function () {
                    return this.ops.tint.current;
                  },
                  set: function (R) {
                    this.ops.tint.onChange(R);
                  },
                },
                particleAlpha: {
                  get: function () {
                    return this.ops.alpha.current;
                  },
                  set: function (R) {
                    this.ops.alpha.onChange(R);
                  },
                },
                lifespan: {
                  get: function () {
                    return this.ops.lifespan.current;
                  },
                  set: function (R) {
                    this.ops.lifespan.onChange(R);
                  },
                },
                particleAngle: {
                  get: function () {
                    return this.ops.angle.current;
                  },
                  set: function (R) {
                    this.ops.angle.onChange(R);
                  },
                },
                particleRotate: {
                  get: function () {
                    return this.ops.rotate.current;
                  },
                  set: function (R) {
                    this.ops.rotate.onChange(R);
                  },
                },
                quantity: {
                  get: function () {
                    return this.ops.quantity.current;
                  },
                  set: function (R) {
                    this.ops.quantity.onChange(R);
                  },
                },
                delay: {
                  get: function () {
                    return this.ops.delay.current;
                  },
                  set: function (R) {
                    this.ops.delay.onChange(R);
                  },
                },
                hold: {
                  get: function () {
                    return this.ops.hold.current;
                  },
                  set: function (R) {
                    this.ops.hold.onChange(R);
                  },
                },
                flowCounter: {
                  get: function () {
                    return this.counters[0];
                  },
                  set: function (R) {
                    this.counters[0] = R;
                  },
                },
                frameCounter: {
                  get: function () {
                    return this.counters[1];
                  },
                  set: function (R) {
                    this.counters[1] = R;
                  },
                },
                animCounter: {
                  get: function () {
                    return this.counters[2];
                  },
                  set: function (R) {
                    this.counters[2] = R;
                  },
                },
                elapsed: {
                  get: function () {
                    return this.counters[3];
                  },
                  set: function (R) {
                    this.counters[3] = R;
                  },
                },
                stopCounter: {
                  get: function () {
                    return this.counters[4];
                  },
                  set: function (R) {
                    this.counters[4] = R;
                  },
                },
                completeFlag: {
                  get: function () {
                    return this.counters[5];
                  },
                  set: function (R) {
                    this.counters[5] = R;
                  },
                },
                zoneIndex: {
                  get: function () {
                    return this.counters[6];
                  },
                  set: function (R) {
                    this.counters[6] = R;
                  },
                },
                zoneTotal: {
                  get: function () {
                    return this.counters[7];
                  },
                  set: function (R) {
                    this.counters[7] = R;
                  },
                },
                currentFrame: {
                  get: function () {
                    return this.counters[8];
                  },
                  set: function (R) {
                    this.counters[8] = R;
                  },
                },
                currentAnim: {
                  get: function () {
                    return this.counters[9];
                  },
                  set: function (R) {
                    this.counters[9] = R;
                  },
                },
                preDestroy: function () {
                  ((this.texture = null),
                    (_____WB$wombat$check$this$function_____(this).frames =
                      null),
                    (this.anims = null),
                    (this.emitCallback = null),
                    (this.emitCallbackScope = null),
                    (this.deathCallback = null),
                    (this.deathCallbackScope = null),
                    (this.emitZones = null),
                    (this.deathZones = null),
                    (this.bounds = null),
                    (this.follow = null),
                    (this.counters = null));
                  var R,
                    H = this.ops;
                  for (R = 0; R < N.length; R++) {
                    var Q = N[R];
                    H[Q].destroy();
                  }
                  for (R = 0; R < this.alive.length; R++)
                    this.alive[R].destroy();
                  for (R = 0; R < this.dead.length; R++) this.dead[R].destroy();
                  ((this.ops = null),
                    (this.alive = []),
                    (this.dead = []),
                    this.worldMatrix.destroy());
                },
              });
            d.exports = b;
          },
          10456: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(90205),
              c = t(69360),
              a = new c(),
              r = new c(),
              n = new c(),
              e = new c(),
              s = function (u, i, o, h) {
                var l = a,
                  f = r,
                  v = n,
                  m = e;
                h
                  ? (m.loadIdentity(),
                    m.multiply(h),
                    m.translate(i.x, i.y),
                    m.rotate(i.rotation),
                    m.scale(i.scaleX, i.scaleY))
                  : m.applyITRS(i.x, i.y, i.rotation, i.scaleX, i.scaleY);
                var x = u.currentContext,
                  g = o.roundPixels,
                  C = o.alpha,
                  T = i.alpha,
                  F = i.alive,
                  w = F.length,
                  U = i.viewBounds;
                if (!(!i.visible || w === 0 || (U && !A(U, o.worldView)))) {
                  (i.sortCallback && i.depthSort(), o.addToRenderList(i));
                  var M = i.scrollFactorX,
                    I = i.scrollFactorY;
                  (x.save(),
                    (x.globalCompositeOperation = u.blendModes[i.blendMode]));
                  for (var O = 0; O < w; O++) {
                    var D = F[O],
                      G = D.alpha * T * C;
                    if (!(G <= 0 || D.scaleX === 0 || D.scaleY === 0)) {
                      (v.applyITRS(D.x, D.y, D.rotation, D.scaleX, D.scaleY),
                        l.copyFrom(o.matrix),
                        l.multiplyWithOffset(m, -o.scrollX * M, -o.scrollY * I),
                        (v.e = D.x),
                        (v.f = D.y),
                        l.multiply(v, f));
                      var X = D.frame,
                        z = X.canvasData;
                      if (z.width > 0 && z.height > 0) {
                        var K = -X.halfWidth,
                          N = -X.halfHeight;
                        ((x.globalAlpha = G),
                          x.save(),
                          f.setToContext(x),
                          g && ((K = Math.round(K)), (N = Math.round(N))),
                          (x.imageSmoothingEnabled = !X.source.scaleMode),
                          x.drawImage(
                            X.source.image,
                            z.x,
                            z.y,
                            z.width,
                            z.height,
                            K,
                            N,
                            z.width,
                            z.height,
                          ),
                          x.restore());
                      }
                    }
                  }
                  x.restore();
                }
              };
            d.exports = s;
          },
          765: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(88933),
              c = t(99325),
              a = t(20494),
              r = t(72632),
              n = t(9216);
            c.register("particles", function (e, s) {
              e === void 0 && (e = {});
              var u = a(e, "key", null),
                i = r(e, "config", null),
                o = new n(this.scene, 0, 0, u);
              return (
                s !== void 0 && (e.add = s),
                A(this.scene, o, e),
                i && o.setConfig(i),
                o
              );
            });
          },
          81212: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(61286),
              c = t(9216);
            A.register("particles", function (a, r, n, e) {
              return (
                a !== void 0 &&
                  typeof a == "string" &&
                  console.warn(
                    "ParticleEmitterManager was removed in Phaser 3.60. See documentation for details",
                  ),
                this.displayList.add(new c(this.scene, a, r, n, e))
              );
            });
          },
          69116: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72283),
              c = A,
              a = A;
            ((c = t(10275)),
              (a = t(10456)),
              (d.exports = { renderWebGL: c, renderCanvas: a }));
          },
          10275: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(90205),
              c = t(69360),
              a = t(75512),
              r = new c(),
              n = new c(),
              e = new c(),
              s = new c(),
              u = function (i, o, h, l) {
                var f = i.pipelines.set(o.pipeline),
                  v = r,
                  m = n,
                  x = e,
                  g = s;
                l
                  ? (g.loadIdentity(),
                    g.multiply(l),
                    g.translate(o.x, o.y),
                    g.rotate(o.rotation),
                    g.scale(o.scaleX, o.scaleY))
                  : g.applyITRS(o.x, o.y, o.rotation, o.scaleX, o.scaleY);
                var C = a.getTintAppendFloatAlpha,
                  T = h.alpha,
                  F = o.alpha;
                i.pipelines.preBatch(o);
                var w = o.alive,
                  U = w.length,
                  M = o.viewBounds;
                if (!(U === 0 || (M && !A(M, h.worldView)))) {
                  (o.sortCallback && o.depthSort(),
                    h.addToRenderList(o),
                    v.copyFrom(h.matrix),
                    v.multiplyWithOffset(
                      g,
                      -h.scrollX * o.scrollFactorX,
                      -h.scrollY * o.scrollFactorY,
                    ),
                    i.setBlendMode(o.blendMode),
                    o.mask &&
                      (o.mask.preRenderWebGL(i, o, h),
                      i.pipelines.set(o.pipeline)));
                  for (var I = o.tintFill, O, D, G = 0; G < U; G++) {
                    var X = w[G],
                      z = X.alpha * F * T;
                    if (!(z <= 0 || X.scaleX === 0 || X.scaleY === 0)) {
                      (x.applyITRS(X.x, X.y, X.rotation, X.scaleX, X.scaleY),
                        (x.e = X.x),
                        (x.f = X.y),
                        v.multiply(x, m));
                      var K = X.frame;
                      K.glTexture !== D &&
                        ((D = K.glTexture), (O = f.setGameObject(o, K)));
                      var N = -K.halfWidth,
                        b = -K.halfHeight,
                        R = m.setQuad(N, b, N + K.width, b + K.height),
                        H = C(X.tint, z);
                      (f.shouldFlush(6) &&
                        (f.flush(), (O = f.setGameObject(o, K))),
                        f.batchQuad(
                          o,
                          R[0],
                          R[1],
                          R[2],
                          R[3],
                          R[4],
                          R[5],
                          R[6],
                          R[7],
                          K.u0,
                          K.v0,
                          K.u1,
                          K.v1,
                          H,
                          H,
                          H,
                          H,
                          I,
                          D,
                          O,
                        ));
                    }
                  }
                  (o.mask && o.mask.postRenderWebGL(i, h),
                    i.pipelines.postBatch(o));
                }
              };
            d.exports = u;
          },
          30891: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = new A({
                initialize: function (r, n, e) {
                  (r === void 0 && (r = 0),
                    n === void 0 && (n = 0),
                    e === void 0 && (e = !0),
                    this.emitter,
                    (this.x = r),
                    (this.y = n),
                    (this.active = e));
                },
                update: function () {},
                destroy: function () {
                  this.emitter = null;
                },
              });
            d.exports = c;
          },
          76100: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "complete";
          },
          26677: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "deathzone";
          },
          62736: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "explode";
          },
          56490: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "start";
          },
          85715: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "stop";
          },
          40629: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              COMPLETE: t(76100),
              DEATH_ZONE: t(26677),
              EXPLODE: t(62736),
              START: t(56490),
              STOP: t(85715),
            };
          },
          27684: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              EmitterColorOp: t(19737),
              EmitterOp: t(93025),
              Events: t(40629),
              GravityWell: t(87811),
              Particle: t(14909),
              ParticleBounds: t(73106),
              ParticleEmitter: t(9216),
              ParticleProcessor: t(30891),
              Zones: t(25962),
            };
          },
          69361: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = new A({
                initialize: function (r, n) {
                  ((this.source = r), (this.killOnEnter = n));
                },
                willKill: function (a) {
                  var r = a.worldPosition,
                    n = this.source.contains(r.x, r.y);
                  return (n && this.killOnEnter) || (!n && !this.killOnEnter);
                },
              });
            d.exports = c;
          },
          54213: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = new A({
                initialize: function (r, n, e, s, u, i) {
                  (s === void 0 && (s = !1),
                    u === void 0 && (u = !0),
                    i === void 0 && (i = -1),
                    (this.source = r),
                    (this.points = []),
                    (this.quantity = n),
                    (this.stepRate = e),
                    (this.yoyo = s),
                    (this.counter = -1),
                    (this.seamless = u),
                    (this._length = 0),
                    (this._direction = 0),
                    (this.total = i),
                    this.updateSource());
                },
                updateSource: function () {
                  if (
                    ((this.points = this.source.getPoints(
                      this.quantity,
                      this.stepRate,
                    )),
                    this.seamless)
                  ) {
                    var a = this.points[0],
                      r = this.points[this.points.length - 1];
                    a.x === r.x && a.y === r.y && this.points.pop();
                  }
                  var n = this._length;
                  return (
                    (this._length = this.points.length),
                    this._length < n &&
                      this.counter > this._length &&
                      (this.counter = this._length - 1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                changeSource: function (a) {
                  return ((this.source = a), this.updateSource());
                },
                getPoint: function (a) {
                  this._direction === 0
                    ? (this.counter++,
                      this.counter >= this._length &&
                        (this.yoyo
                          ? ((this._direction = 1),
                            (this.counter = this._length - 1))
                          : (this.counter = 0)))
                    : (this.counter--,
                      this.counter === -1 &&
                        (this.yoyo
                          ? ((this._direction = 0), (this.counter = 0))
                          : (this.counter = this._length - 1)));
                  var r = this.points[this.counter];
                  r && ((a.x = r.x), (a.y = r.y));
                },
              });
            d.exports = c;
          },
          68433: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(93736),
              a = new A({
                initialize: function (n) {
                  ((this.source = n),
                    (this._tempVec = new c()),
                    (this.total = -1));
                },
                getPoint: function (r) {
                  var n = this._tempVec;
                  (this.source.getRandomPoint(n), (r.x = n.x), (r.y = n.y));
                },
              });
            d.exports = a;
          },
          25962: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              DeathZone: t(69361),
              EdgeZone: t(54213),
              RandomZone: t(68433),
            };
          },
          29598: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(64937),
              a = t(13747),
              r = new A({
                Extends: a,
                Mixins: [c.PathFollower],
                initialize: function (e, s, u, i, o, h) {
                  (a.call(this, e, u, i, o, h), (this.path = s));
                },
                preUpdate: function (n, e) {
                  (this.anims.update(n, e), this.pathUpdate(n));
                },
              });
            d.exports = r;
          },
          19626: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(61286),
              c = t(29598);
            A.register("follower", function (a, r, n, e, s) {
              var u = new c(this.scene, a, r, n, e, s);
              return (this.displayList.add(u), this.updateList.add(u), u);
            });
          },
          33412: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(16569),
              c = t(56694),
              a = t(99425),
              r = t(15978),
              n = t(83321),
              e = t(76583),
              s = new c({
                Extends: n,
                initialize: function (i, o, h, l, f, v, m, x) {
                  (l || (l = "__DEFAULT"),
                    n.call(this, i, o, h, l, f),
                    (this.type = "Plane"),
                    (this.anims = new A(this)),
                    this.gridWidth,
                    this.gridHeight,
                    this.isTiled,
                    (this._checkerboard = null),
                    (this.hideCCW = !1),
                    this.setGridSize(v, m, x),
                    this.setSizeToFrame(!1),
                    this.setViewHeight());
                },
                originX: {
                  get: function () {
                    return 0.5;
                  },
                },
                originY: {
                  get: function () {
                    return 0.5;
                  },
                },
                setGridSize: function (u, i, o) {
                  (u === void 0 && (u = 8),
                    i === void 0 && (i = 8),
                    o === void 0 && (o = !1));
                  var h = !1;
                  return (
                    o && (h = !0),
                    (this.gridWidth = u),
                    (this.gridHeight = i),
                    (this.isTiled = o),
                    this.clear(),
                    a({
                      mesh: this,
                      widthSegments: u,
                      heightSegments: i,
                      isOrtho: !1,
                      tile: o,
                      flipY: h,
                    }),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setSizeToFrame: function (u) {
                  u === void 0 && (u = !0);
                  var i = this.frame;
                  if (
                    (this.setPerspective(
                      this.width / i.width,
                      this.height / i.height,
                    ),
                    this._checkerboard &&
                      this._checkerboard !== this.texture &&
                      this.removeCheckerboard(),
                    !u)
                  )
                    return _____WB$wombat$check$this$function_____(this);
                  var o = this.gridWidth,
                    h = this.gridHeight,
                    l = this.vertices,
                    f = i.u0,
                    v = i.u1,
                    m = i.v0,
                    x = i.v1,
                    g,
                    C,
                    T = 0;
                  if (this.isTiled)
                    for (m = i.v1, x = i.v0, C = 0; C < h; C++)
                      for (g = 0; g < o; g++)
                        (l[T++].setUVs(f, x),
                          l[T++].setUVs(f, m),
                          l[T++].setUVs(v, x),
                          l[T++].setUVs(f, m),
                          l[T++].setUVs(v, m),
                          l[T++].setUVs(v, x));
                  else {
                    var F = o + 1,
                      w = h + 1,
                      U = v - f,
                      M = x - m,
                      I = [];
                    for (C = 0; C < w; C++)
                      for (g = 0; g < F; g++) {
                        var O = f + U * (g / o),
                          D = m + M * (C / h);
                        I.push(O, D);
                      }
                    for (C = 0; C < h; C++)
                      for (g = 0; g < o; g++) {
                        var G = (g + F * C) * 2,
                          X = (g + F * (C + 1)) * 2,
                          z = (g + 1 + F * (C + 1)) * 2,
                          K = (g + 1 + F * C) * 2;
                        (l[T++].setUVs(I[G], I[G + 1]),
                          l[T++].setUVs(I[X], I[X + 1]),
                          l[T++].setUVs(I[K], I[K + 1]),
                          l[T++].setUVs(I[X], I[X + 1]),
                          l[T++].setUVs(I[z], I[z + 1]),
                          l[T++].setUVs(I[K], I[K + 1]));
                      }
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                setViewHeight: function (u) {
                  u === void 0 && (u = this.frame.height);
                  var i = this.fov * (Math.PI / 180);
                  ((this.viewPosition.z = this.height / u / Math.tan(i / 2)),
                    (this.dirtyCache[10] = 1));
                },
                createCheckerboard: function (u, i, o, h, l) {
                  (u === void 0 && (u = 16777215),
                    i === void 0 && (i = 255),
                    o === void 0 && (o = 255),
                    h === void 0 && (h = 255),
                    l === void 0 && (l = 128));
                  var f = this.scene.sys.renderer.gl,
                    v = f.createTexture();
                  (f.activeTexture(f.TEXTURE0),
                    f.bindTexture(f.TEXTURE_2D, v),
                    f.texParameteri(
                      f.TEXTURE_2D,
                      f.TEXTURE_MIN_FILTER,
                      f.NEAREST,
                    ),
                    f.texParameteri(
                      f.TEXTURE_2D,
                      f.TEXTURE_MAG_FILTER,
                      f.NEAREST,
                    ));
                  for (var m = r(u), x = r(i), g = [], C = 0; C < 16; C++)
                    for (var T = 0; T < 16; T++)
                      (C < 8 && T < 8) || (C > 7 && T > 7)
                        ? g.push(m.r, m.g, m.b, o)
                        : g.push(x.r, x.g, x.b, h);
                  (f.texImage2D(
                    f.TEXTURE_2D,
                    0,
                    f.RGBA,
                    16,
                    16,
                    0,
                    f.RGBA,
                    f.UNSIGNED_BYTE,
                    new Uint8Array(g),
                  ),
                    (v.isAlphaPremultiplied = !0),
                    (v.isRenderTexture = !1),
                    (v.width = 16),
                    (v.height = 16));
                  var F = this.scene.sys.textures.addGLTexture(e(), v, 16, 16);
                  return (
                    this.removeCheckerboard(),
                    (this._checkerboard = F),
                    f.bindTexture(f.TEXTURE_2D, null),
                    this.setTexture(F),
                    this.setSizeToFrame(),
                    this.setViewHeight(l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                removeCheckerboard: function () {
                  this._checkerboard &&
                    (this._checkerboard.destroy(), (this._checkerboard = null));
                },
                play: function (u, i) {
                  return this.anims.play(u, i);
                },
                playReverse: function (u, i) {
                  return this.anims.playReverse(u, i);
                },
                playAfterDelay: function (u, i) {
                  return this.anims.playAfterDelay(u, i);
                },
                playAfterRepeat: function (u, i) {
                  return this.anims.playAfterRepeat(u, i);
                },
                stop: function () {
                  return this.anims.stop();
                },
                stopAfterDelay: function (u) {
                  return this.anims.stopAfterDelay(u);
                },
                stopAfterRepeat: function (u) {
                  return this.anims.stopAfterRepeat(u);
                },
                stopOnFrame: function (u) {
                  return this.anims.stopOnFrame(u);
                },
                preUpdate: function (u, i) {
                  (n.prototype.preUpdate.call(this, u, i),
                    this.anims.update(u, i));
                },
                preDestroy: function () {
                  (this.clear(),
                    this.removeCheckerboard(),
                    this.anims.destroy(),
                    (this.anims = void 0),
                    (this.debugCallback = null),
                    (this.debugGraphic = null));
                },
              });
            d.exports = s;
          },
          10912: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(88933),
              c = t(32291),
              a = t(99325),
              r = t(20494),
              n = t(10850),
              e = t(33412);
            a.register("plane", function (s, u) {
              s === void 0 && (s = {});
              var i = r(s, "key", null),
                o = r(s, "frame", null),
                h = n(s, "width", 8),
                l = n(s, "height", 8),
                f = n(s, "tile", !1),
                v = new e(this.scene, 0, 0, i, o, h, l, f);
              u !== void 0 && (s.add = u);
              var m = n(s, "checkerboard", null);
              if (m) {
                var x = n(m, "color1", 16777215),
                  g = n(m, "color2", 255),
                  C = n(m, "alpha1", 255),
                  T = n(m, "alpha2", 255),
                  F = n(m, "height", 128);
                v.createCheckerboard(x, g, C, T, F);
              }
              return (A(this.scene, v, s), c(v, s), v);
            });
          },
          58322: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(33412),
              c = t(61286);
            c.register("plane", function (a, r, n, e, s, u, i) {
              return this.displayList.add(
                new A(this.scene, a, r, n, e, s, u, i),
              );
            });
          },
          13171: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(64937),
              a = t(89980),
              r = t(74853),
              n = t(65641),
              e = t(71606),
              s = new A({
                Extends: a,
                Mixins: [
                  c.AlphaSingle,
                  c.BlendMode,
                  c.Depth,
                  c.Mask,
                  c.Pipeline,
                  c.PostPipeline,
                  c.ScrollFactor,
                  c.Transform,
                  c.Visible,
                  e,
                ],
                initialize: function (i, o, h, l, f, v, m) {
                  (l === void 0 && (l = 16777215),
                    f === void 0 && (f = 128),
                    v === void 0 && (v = 1),
                    m === void 0 && (m = 0.1),
                    a.call(this, i, "PointLight"),
                    this.initPipeline(n.POINTLIGHT_PIPELINE),
                    this.initPostPipeline(),
                    this.setPosition(o, h),
                    (this.color = r(l)),
                    (this.intensity = v),
                    (this.attenuation = m),
                    (this.width = f * 2),
                    (this.height = f * 2),
                    (this._radius = f));
                },
                radius: {
                  get: function () {
                    return this._radius;
                  },
                  set: function (u) {
                    ((this._radius = u),
                      (this.width = u * 2),
                      (this.height = u * 2));
                  },
                },
                originX: {
                  get: function () {
                    return 0.5;
                  },
                },
                originY: {
                  get: function () {
                    return 0.5;
                  },
                },
                displayOriginX: {
                  get: function () {
                    return this._radius;
                  },
                },
                displayOriginY: {
                  get: function () {
                    return this._radius;
                  },
                },
              });
            d.exports = s;
          },
          162: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(88933),
              c = t(99325),
              a = t(20494),
              r = t(13171);
            c.register("pointlight", function (n, e) {
              n === void 0 && (n = {});
              var s = a(n, "color", 16777215),
                u = a(n, "radius", 128),
                i = a(n, "intensity", 1),
                o = a(n, "attenuation", 0.1),
                h = new r(this.scene, 0, 0, s, u, i, o);
              return (e !== void 0 && (n.add = e), A(this.scene, h, n), h);
            });
          },
          91201: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(61286),
              c = t(13171);
            A.register("pointlight", function (a, r, n, e, s, u) {
              return this.displayList.add(new c(this.scene, a, r, n, e, s, u));
            });
          },
          71606: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72283),
              c = A,
              a = A;
            ((c = t(80590)), (d.exports = { renderWebGL: c, renderCanvas: a }));
          },
          80590: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(73329),
              c = function (a, r, n, e) {
                n.addToRenderList(r);
                var s = a.pipelines.set(r.pipeline),
                  u = A(r, n, e).calc,
                  i = r.width,
                  o = r.height,
                  h = -r._radius,
                  l = -r._radius,
                  f = h + i,
                  v = l + o,
                  m = u.getX(0, 0),
                  x = u.getY(0, 0),
                  g = u.getX(h, l),
                  C = u.getY(h, l),
                  T = u.getX(h, v),
                  F = u.getY(h, v),
                  w = u.getX(f, v),
                  U = u.getY(f, v),
                  M = u.getX(f, l),
                  I = u.getY(f, l);
                (a.pipelines.preBatch(r),
                  s.batchPointLight(r, n, g, C, T, F, w, U, M, I, m, x),
                  a.pipelines.postBatch(r));
              };
            d.exports = c;
          },
          15996: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(845),
              a = t(1539),
              r = new A({
                Extends: a,
                initialize: function (e, s, u, i, o) {
                  (s === void 0 && (s = 0),
                    u === void 0 && (u = 0),
                    i === void 0 && (i = 32),
                    o === void 0 && (o = 32));
                  var h = new c(e.sys.textures, "", i, o);
                  (a.call(this, e, s, u, h),
                    (this.type = "RenderTexture"),
                    (this.camera = this.texture.camera),
                    (this._saved = !1));
                },
                setSize: function (n, e) {
                  ((this.width = n),
                    (this.height = e),
                    this.texture.setSize(n, e),
                    this.updateDisplayOrigin());
                  var s = this.input;
                  return (
                    s &&
                      !s.customHitArea &&
                      ((s.hitArea.width = n), (s.hitArea.height = e)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                resize: function (n, e) {
                  return (
                    this.setSize(n, e),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                saveTexture: function (n) {
                  var e = this.texture;
                  return (
                    (e.key = n),
                    e.manager.addDynamicTexture(e) && (this._saved = !0),
                    e
                  );
                },
                fill: function (n, e, s, u, i, o) {
                  return (
                    this.texture.fill(n, e, s, u, i, o),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                clear: function () {
                  return (
                    this.texture.clear(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                stamp: function (n, e, s, u, i) {
                  return (
                    this.texture.stamp(n, e, s, u, i),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                erase: function (n, e, s) {
                  return (
                    this.texture.erase(n, e, s),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                draw: function (n, e, s, u, i) {
                  return (
                    this.texture.draw(n, e, s, u, i),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                drawFrame: function (n, e, s, u, i, o) {
                  return (
                    this.texture.drawFrame(n, e, s, u, i, o),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                repeat: function (n, e, s, u, i, o, h, l, f) {
                  return (
                    this.texture.repeat(n, e, s, u, i, o, h, l, f),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                beginDraw: function () {
                  return (
                    this.texture.beginDraw(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                batchDraw: function (n, e, s, u, i) {
                  return (
                    this.texture.batchDraw(n, e, s, u, i),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                batchDrawFrame: function (n, e, s, u, i, o) {
                  return (
                    this.texture.batchDrawFrame(n, e, s, u, i, o),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                endDraw: function (n) {
                  return (
                    this.texture.endDraw(n),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                snapshotArea: function (n, e, s, u, i, o, h) {
                  return (
                    this.texture.snapshotArea(n, e, s, u, i, o, h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                snapshot: function (n, e, s) {
                  return this.snapshotArea(
                    0,
                    0,
                    this.width,
                    this.height,
                    n,
                    e,
                    s,
                  );
                },
                snapshotPixel: function (n, e, s) {
                  return this.snapshotArea(n, e, 1, 1, s, "pixel");
                },
                preDestroy: function () {
                  ((this.camera = null), this._saved || this.texture.destroy());
                },
              });
            d.exports = r;
          },
          85692: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(88933),
              c = t(99325),
              a = t(20494),
              r = t(15996);
            c.register("renderTexture", function (n, e) {
              n === void 0 && (n = {});
              var s = a(n, "x", 0),
                u = a(n, "y", 0),
                i = a(n, "width", 32),
                o = a(n, "height", 32),
                h = new r(this.scene, s, u, i, o);
              return (e !== void 0 && (n.add = e), A(this.scene, h, n), h);
            });
          },
          29599: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(61286),
              c = t(15996);
            A.register("renderTexture", function (a, r, n, e) {
              return this.displayList.add(new c(this.scene, a, r, n, e));
            });
          },
          79968: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(16569),
              c = t(56694),
              a = t(64937),
              r = t(89980),
              n = t(65641),
              e = t(58912),
              s = t(93736),
              u = new c({
                Extends: r,
                Mixins: [
                  a.AlphaSingle,
                  a.BlendMode,
                  a.Depth,
                  a.Flip,
                  a.Mask,
                  a.Pipeline,
                  a.PostPipeline,
                  a.Size,
                  a.Texture,
                  a.Transform,
                  a.Visible,
                  a.ScrollFactor,
                  e,
                ],
                initialize: function (o, h, l, f, v, m, x, g, C) {
                  (f === void 0 && (f = "__DEFAULT"),
                    m === void 0 && (m = 2),
                    x === void 0 && (x = !0),
                    r.call(this, o, "Rope"),
                    (this.anims = new A(this)),
                    (this.points = m),
                    this.vertices,
                    this.uv,
                    this.colors,
                    this.alphas,
                    (this.tintFill = f === "__DEFAULT"),
                    (this.dirty = !1),
                    (this.horizontal = x),
                    (this._flipX = !1),
                    (this._flipY = !1),
                    (this._perp = new s()),
                    (this.debugCallback = null),
                    (this.debugGraphic = null),
                    this.setTexture(f, v),
                    this.setPosition(h, l),
                    this.setSizeToFrame(),
                    this.initPipeline(n.ROPE_PIPELINE),
                    this.initPostPipeline(),
                    Array.isArray(m) && this.resizeArrays(m.length),
                    this.setPoints(m, g, C),
                    this.updateVertices());
                },
                addedToScene: function () {
                  this.scene.sys.updateList.add(this);
                },
                removedFromScene: function () {
                  this.scene.sys.updateList.remove(this);
                },
                preUpdate: function (i, o) {
                  var h = this.anims.currentFrame;
                  (this.anims.update(i, o),
                    this.anims.currentFrame !== h &&
                      (this.updateUVs(), this.updateVertices()));
                },
                play: function (i, o, h) {
                  return (
                    this.anims.play(i, o, h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setDirty: function () {
                  return (
                    (this.dirty = !0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setHorizontal: function (i, o, h) {
                  return (
                    i === void 0 && (i = this.points.length),
                    this.horizontal
                      ? this
                      : ((this.horizontal = !0), this.setPoints(i, o, h))
                  );
                },
                setVertical: function (i, o, h) {
                  return (
                    i === void 0 && (i = this.points.length),
                    this.horizontal
                      ? ((this.horizontal = !1), this.setPoints(i, o, h))
                      : this
                  );
                },
                setTintFill: function (i) {
                  return (
                    i === void 0 && (i = !1),
                    (this.tintFill = i),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setAlphas: function (i, o) {
                  var h = this.points.length;
                  if (h < 1)
                    return _____WB$wombat$check$this$function_____(this);
                  var l = this.alphas;
                  i === void 0
                    ? (i = [1])
                    : !Array.isArray(i) && o === void 0 && (i = [i]);
                  var f,
                    v = 0;
                  if (o !== void 0)
                    for (f = 0; f < h; f++)
                      ((v = f * 2), (l[v] = i), (l[v + 1] = o));
                  else if (i.length === h)
                    for (f = 0; f < h; f++)
                      ((v = f * 2), (l[v] = i[f]), (l[v + 1] = i[f]));
                  else {
                    var m = i[0];
                    for (f = 0; f < h; f++)
                      ((v = f * 2),
                        i.length > v && (m = i[v]),
                        (l[v] = m),
                        i.length > v + 1 && (m = i[v + 1]),
                        (l[v + 1] = m));
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                setColors: function (i) {
                  var o = this.points.length;
                  if (o < 1)
                    return _____WB$wombat$check$this$function_____(this);
                  var h = this.colors;
                  i === void 0
                    ? (i = [16777215])
                    : Array.isArray(i) || (i = [i]);
                  var l,
                    f = 0;
                  if (i.length === o)
                    for (l = 0; l < o; l++)
                      ((f = l * 2), (h[f] = i[l]), (h[f + 1] = i[l]));
                  else {
                    var v = i[0];
                    for (l = 0; l < o; l++)
                      ((f = l * 2),
                        i.length > f && (v = i[f]),
                        (h[f] = v),
                        i.length > f + 1 && (v = i[f + 1]),
                        (h[f + 1] = v));
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                setPoints: function (i, o, h) {
                  if ((i === void 0 && (i = 2), typeof i == "number")) {
                    var l = i;
                    (l < 2 && (l = 2), (i = []));
                    var f, v, m;
                    if (this.horizontal)
                      for (
                        m = -this.frame.halfWidth,
                          v = this.frame.width / (l - 1),
                          f = 0;
                        f < l;
                        f++
                      )
                        i.push({ x: m + f * v, y: 0 });
                    else
                      for (
                        m = -this.frame.halfHeight,
                          v = this.frame.height / (l - 1),
                          f = 0;
                        f < l;
                        f++
                      )
                        i.push({ x: 0, y: m + f * v });
                  }
                  var x = i.length,
                    g = this.points.length;
                  return x < 1
                    ? (console.warn("Rope: Not enough points given"),
                      _____WB$wombat$check$this$function_____(this))
                    : (x === 1 && (i.unshift({ x: 0, y: 0 }), x++),
                      g !== x && this.resizeArrays(x),
                      (this.dirty = !0),
                      (this.points = i),
                      this.updateUVs(),
                      o != null && this.setColors(o),
                      h != null && this.setAlphas(h),
                      _____WB$wombat$check$this$function_____(this));
                },
                updateUVs: function () {
                  for (
                    var i = this.uv,
                      o = this.points.length,
                      h = this.frame.u0,
                      l = this.frame.v0,
                      f = this.frame.u1,
                      v = this.frame.v1,
                      m = (f - h) / (o - 1),
                      x = (v - l) / (o - 1),
                      g = 0;
                    g < o;
                    g++
                  ) {
                    var C = g * 4,
                      T,
                      F,
                      w,
                      U;
                    (this.horizontal
                      ? (this._flipX
                          ? ((T = f - g * m), (w = f - g * m))
                          : ((T = h + g * m), (w = h + g * m)),
                        this._flipY ? ((F = v), (U = l)) : ((F = l), (U = v)))
                      : (this._flipX ? ((T = h), (w = f)) : ((T = f), (w = h)),
                        this._flipY
                          ? ((F = v - g * x), (U = v - g * x))
                          : ((F = l + g * x), (U = l + g * x))),
                      (i[C + 0] = T),
                      (i[C + 1] = F),
                      (i[C + 2] = w),
                      (i[C + 3] = U));
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                resizeArrays: function (i) {
                  var o = this.colors,
                    h = this.alphas;
                  ((this.vertices = new Float32Array(i * 4)),
                    (this.uv = new Float32Array(i * 4)),
                    (o = new Uint32Array(i * 2)),
                    (h = new Float32Array(i * 2)));
                  for (var l = 0; l < i * 2; l++)
                    ((o[l] = 16777215), (h[l] = 1));
                  return (
                    (this.colors = o),
                    (this.alphas = h),
                    (this.dirty = !0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                updateVertices: function () {
                  var i = this._perp,
                    o = this.points,
                    h = this.vertices,
                    l = o.length;
                  if (((this.dirty = !1), !(l < 1))) {
                    for (
                      var f,
                        v = o[0],
                        m = this.horizontal
                          ? this.frame.halfHeight
                          : this.frame.halfWidth,
                        x = 0;
                      x < l;
                      x++
                    ) {
                      var g = o[x],
                        C = x * 4;
                      (x < l - 1 ? (f = o[x + 1]) : (f = g),
                        (i.x = f.y - v.y),
                        (i.y = -(f.x - v.x)));
                      var T = i.length();
                      ((i.x /= T),
                        (i.y /= T),
                        (i.x *= m),
                        (i.y *= m),
                        (h[C] = g.x + i.x),
                        (h[C + 1] = g.y + i.y),
                        (h[C + 2] = g.x - i.x),
                        (h[C + 3] = g.y - i.y),
                        (v = g));
                    }
                    return _____WB$wombat$check$this$function_____(this);
                  }
                },
                setDebug: function (i, o) {
                  return (
                    (this.debugGraphic = i),
                    !i && !o
                      ? (this.debugCallback = null)
                      : o
                        ? (this.debugCallback = o)
                        : (this.debugCallback = this.renderDebugVerts),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                renderDebugVerts: function (i, o, h) {
                  var l = i.debugGraphic,
                    f = h[0],
                    v = h[1],
                    m = h[2],
                    x = h[3];
                  l.lineBetween(f, v, m, x);
                  for (var g = 4; g < o; g += 4) {
                    var C = h[g + 0],
                      T = h[g + 1],
                      F = h[g + 2],
                      w = h[g + 3];
                    (l.lineBetween(f, v, C, T),
                      l.lineBetween(m, x, F, w),
                      l.lineBetween(m, x, C, T),
                      l.lineBetween(C, T, F, w),
                      (f = C),
                      (v = T),
                      (m = F),
                      (x = w));
                  }
                },
                preDestroy: function () {
                  (this.anims.destroy(),
                    (this.anims = void 0),
                    (this.points = null),
                    (this.vertices = null),
                    (this.uv = null),
                    (this.colors = null),
                    (this.alphas = null),
                    (this.debugCallback = null),
                    (this.debugGraphic = null));
                },
                flipX: {
                  get: function () {
                    return this._flipX;
                  },
                  set: function (i) {
                    return ((this._flipX = i), this.updateUVs());
                  },
                },
                flipY: {
                  get: function () {
                    return this._flipY;
                  },
                  set: function (i) {
                    return ((this._flipY = i), this.updateUVs());
                  },
                },
              });
            d.exports = u;
          },
          44598: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function () {};
            d.exports = y;
          },
          96027: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(88933),
              c = t(99325),
              a = t(20494),
              r = t(10850),
              n = t(79968);
            c.register("rope", function (e, s) {
              e === void 0 && (e = {});
              var u = a(e, "key", null),
                i = a(e, "frame", null),
                o = a(e, "horizontal", !0),
                h = r(e, "points", void 0),
                l = r(e, "colors", void 0),
                f = r(e, "alphas", void 0),
                v = new n(this.scene, 0, 0, u, i, h, o, l, f);
              return (s !== void 0 && (e.add = s), A(this.scene, v, e), v);
            });
          },
          31982: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(79968),
              c = t(61286);
            c.register("rope", function (a, r, n, e, s, u, i, o) {
              return this.displayList.add(
                new A(this.scene, a, r, n, e, s, u, i, o),
              );
            });
          },
          58912: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72283),
              c = A,
              a = A;
            ((c = t(49489)),
              (a = t(44598)),
              (d.exports = { renderWebGL: c, renderCanvas: a }));
          },
          49489: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(73329),
              c = t(75512),
              a = function (r, n, e, s) {
                e.addToRenderList(n);
                var u = r.pipelines.set(n.pipeline, n),
                  i = A(n, e, s).calc,
                  o = n.vertices,
                  h = n.uv,
                  l = n.colors,
                  f = n.alphas,
                  v = n.alpha,
                  m = c.getTintAppendFloatAlpha,
                  x = e.roundPixels,
                  g = o.length,
                  C = Math.floor(g * 0.5);
                (u.flush(), r.pipelines.preBatch(n));
                var T = u.setGameObject(n),
                  F = u.vertexViewF32,
                  w = u.vertexViewU32,
                  U = u.vertexCount * u.currentShader.vertexComponentCount - 1,
                  M = 0,
                  I = n.tintFill;
                n.dirty && n.updateVertices();
                for (var O = n.debugCallback, D = [], G = 0; G < g; G += 2) {
                  var X = o[G + 0],
                    z = o[G + 1],
                    K = X * i.a + z * i.c + i.e,
                    N = X * i.b + z * i.d + i.f;
                  (x && ((K = Math.round(K)), (N = Math.round(N))),
                    (F[++U] = K),
                    (F[++U] = N),
                    (F[++U] = h[G + 0]),
                    (F[++U] = h[G + 1]),
                    (F[++U] = T),
                    (F[++U] = I),
                    (w[++U] = m(l[M], e.alpha * (f[M] * v))),
                    M++,
                    O && ((D[G + 0] = K), (D[G + 1] = N)));
                }
                (O && O.call(n, n, g, D),
                  (u.vertexCount += C),
                  (u.currentBatch.count = u.vertexCount - u.currentBatch.start),
                  r.pipelines.postBatch(n));
              };
            d.exports = a;
          },
          27902: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(64937),
              a = t(89980),
              r = t(72632),
              n = t(98611),
              e = t(22440),
              s = t(24252),
              u = t(69360),
              i = new A({
                Extends: a,
                Mixins: [
                  c.ComputedSize,
                  c.Depth,
                  c.GetBounds,
                  c.Mask,
                  c.Origin,
                  c.ScrollFactor,
                  c.Transform,
                  c.Visible,
                  s,
                ],
                initialize: function (h, l, f, v, m, x, g, C) {
                  (f === void 0 && (f = 0),
                    v === void 0 && (v = 0),
                    m === void 0 && (m = 128),
                    x === void 0 && (x = 128),
                    a.call(this, h, "Shader"),
                    (this.blendMode = -1),
                    this.shader);
                  var T = h.sys.renderer;
                  ((this.renderer = T),
                    (this.gl = T.gl),
                    (this.vertexData = new ArrayBuffer(
                      6 * (Float32Array.BYTES_PER_ELEMENT * 2),
                    )),
                    (this.vertexBuffer = T.createVertexBuffer(
                      this.vertexData.byteLength,
                      this.gl.STREAM_DRAW,
                    )),
                    (this.program = null),
                    (this.bytes = new Uint8Array(this.vertexData)),
                    (this.vertexViewF32 = new Float32Array(this.vertexData)),
                    (this._tempMatrix1 = new u()),
                    (this._tempMatrix2 = new u()),
                    (this._tempMatrix3 = new u()),
                    (this.viewMatrix = new Float32Array([
                      1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
                    ])),
                    (this.projectionMatrix = new Float32Array([
                      1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
                    ])),
                    (this.uniforms = {}),
                    (this.pointer = null),
                    (this._rendererWidth = T.width),
                    (this._rendererHeight = T.height),
                    (this._textureCount = 0),
                    (this.framebuffer = null),
                    (this.glTexture = null),
                    (this.renderToTexture = !1),
                    (this.texture = null),
                    this.setPosition(f, v),
                    this.setSize(m, x),
                    this.setOrigin(0.5, 0.5),
                    this.setShader(l, g, C));
                },
                willRender: function (o) {
                  return this.renderToTexture
                    ? !0
                    : !(
                        a.RENDER_MASK !== this.renderFlags ||
                        (this.cameraFilter !== 0 && this.cameraFilter & o.id)
                      );
                },
                setRenderToTexture: function (o, h) {
                  if ((h === void 0 && (h = !1), !this.renderToTexture)) {
                    var l = this.width,
                      f = this.height,
                      v = this.renderer;
                    ((this.glTexture = v.createTextureFromSource(
                      null,
                      l,
                      f,
                      0,
                    )),
                      (this.glTexture.flipY = h),
                      (this.framebuffer = v.createFramebuffer(
                        l,
                        f,
                        this.glTexture,
                        !1,
                      )),
                      (this._rendererWidth = l),
                      (this._rendererHeight = f),
                      (this.renderToTexture = !0),
                      this.projOrtho(0, this.width, this.height, 0),
                      o &&
                        (this.texture = this.scene.sys.textures.addGLTexture(
                          o,
                          this.glTexture,
                          l,
                          f,
                        )));
                  }
                  return (
                    this.shader &&
                      (v.pipelines.clear(),
                      this.load(),
                      this.flush(),
                      v.pipelines.rebind()),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setShader: function (o, h, l) {
                  if ((h === void 0 && (h = []), typeof o == "string")) {
                    var f = this.scene.sys.cache.shader;
                    if (!f.has(o))
                      return (
                        console.warn("Shader missing: " + o),
                        _____WB$wombat$check$this$function_____(this)
                      );
                    this.shader = f.get(o);
                  } else this.shader = o;
                  var v = this.gl,
                    m = this.renderer;
                  this.program && v.deleteProgram(this.program);
                  var x = m.createProgram(
                    this.shader.vertexSrc,
                    this.shader.fragmentSrc,
                  );
                  (v.uniformMatrix4fv(
                    v.getUniformLocation(x, "uViewMatrix"),
                    !1,
                    this.viewMatrix,
                  ),
                    v.uniformMatrix4fv(
                      v.getUniformLocation(x, "uProjectionMatrix"),
                      !1,
                      this.projectionMatrix,
                    ),
                    v.uniform2f(
                      v.getUniformLocation(x, "uResolution"),
                      this.width,
                      this.height,
                    ),
                    (this.program = x));
                  var g = new Date(),
                    C = {
                      resolution: {
                        type: "2f",
                        value: { x: this.width, y: this.height },
                      },
                      time: { type: "1f", value: 0 },
                      mouse: {
                        type: "2f",
                        value: { x: this.width / 2, y: this.height / 2 },
                      },
                      date: {
                        type: "4fv",
                        value: [
                          g.getFullYear(),
                          g.getMonth(),
                          g.getDate(),
                          g.getHours() * 60 * 60 +
                            g.getMinutes() * 60 +
                            g.getSeconds(),
                        ],
                      },
                      sampleRate: { type: "1f", value: 44100 },
                      iChannel0: {
                        type: "sampler2D",
                        value: null,
                        textureData: { repeat: !0 },
                      },
                      iChannel1: {
                        type: "sampler2D",
                        value: null,
                        textureData: { repeat: !0 },
                      },
                      iChannel2: {
                        type: "sampler2D",
                        value: null,
                        textureData: { repeat: !0 },
                      },
                      iChannel3: {
                        type: "sampler2D",
                        value: null,
                        textureData: { repeat: !0 },
                      },
                    };
                  this.shader.uniforms
                    ? (this.uniforms = n(!0, {}, this.shader.uniforms, C))
                    : (this.uniforms = C);
                  for (var T = 0; T < 4; T++)
                    h[T] && this.setSampler2D("iChannel" + T, h[T], T, l);
                  return (
                    this.initUniforms(),
                    this.projOrtho(
                      0,
                      this._rendererWidth,
                      this._rendererHeight,
                      0,
                    ),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setPointer: function (o) {
                  return (
                    (this.pointer = o),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                projOrtho: function (o, h, l, f) {
                  var v = -1e3,
                    m = 1e3,
                    x = 1 / (o - h),
                    g = 1 / (l - f),
                    C = 1 / (v - m),
                    T = this.projectionMatrix;
                  ((T[0] = -2 * x),
                    (T[5] = -2 * g),
                    (T[10] = 2 * C),
                    (T[12] = (o + h) * x),
                    (T[13] = (f + l) * g),
                    (T[14] = (m + v) * C));
                  var F = this.program,
                    w = this.gl,
                    U = this.renderer;
                  (U.setProgram(F),
                    w.uniformMatrix4fv(
                      w.getUniformLocation(F, "uProjectionMatrix"),
                      !1,
                      this.projectionMatrix,
                    ),
                    (this._rendererWidth = h),
                    (this._rendererHeight = l));
                },
                initUniforms: function () {
                  var o = this.gl,
                    h = this.renderer.glFuncMap,
                    l = this.program;
                  this._textureCount = 0;
                  for (var f in this.uniforms) {
                    var v = this.uniforms[f],
                      m = v.type,
                      x = h[m];
                    ((v.uniformLocation = o.getUniformLocation(l, f)),
                      m !== "sampler2D" &&
                        ((v.glMatrix = x.matrix),
                        (v.glValueLength = x.length),
                        (v.glFunc = x.func)));
                  }
                },
                setSampler2DBuffer: function (o, h, l, f, v, m) {
                  (v === void 0 && (v = 0), m === void 0 && (m = {}));
                  var x = this.uniforms[o];
                  return (
                    (x.value = h),
                    (m.width = l),
                    (m.height = f),
                    (x.textureData = m),
                    (this._textureCount = v),
                    this.initSampler2D(x),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setSampler2D: function (o, h, l, f) {
                  l === void 0 && (l = 0);
                  var v = this.scene.sys.textures;
                  if (v.exists(h)) {
                    var m = v.getFrame(h);
                    if (m.glTexture && m.glTexture.isRenderTexture)
                      return this.setSampler2DBuffer(
                        o,
                        m.glTexture,
                        m.width,
                        m.height,
                        l,
                        f,
                      );
                    var x = this.uniforms[o],
                      g = m.source;
                    ((x.textureKey = h),
                      (x.source = g.image),
                      (x.value = m.glTexture),
                      g.isGLTexture &&
                        (f || (f = {}),
                        (f.width = g.width),
                        (f.height = g.height)),
                      f && (x.textureData = f),
                      (this._textureCount = l),
                      this.initSampler2D(x));
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                setUniform: function (o, h) {
                  return (
                    e(this.uniforms, o, h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getUniform: function (o) {
                  return r(this.uniforms, o, null);
                },
                setChannel0: function (o, h) {
                  return this.setSampler2D("iChannel0", o, 0, h);
                },
                setChannel1: function (o, h) {
                  return this.setSampler2D("iChannel1", o, 1, h);
                },
                setChannel2: function (o, h) {
                  return this.setSampler2D("iChannel2", o, 2, h);
                },
                setChannel3: function (o, h) {
                  return this.setSampler2D("iChannel3", o, 3, h);
                },
                initSampler2D: function (o) {
                  if (o.value) {
                    var h = this.gl;
                    (h.activeTexture(h.TEXTURE0 + this._textureCount),
                      h.bindTexture(h.TEXTURE_2D, o.value));
                    var l = o.textureData;
                    if (l && !o.value.isRenderTexture) {
                      var f = h[r(l, "magFilter", "linear").toUpperCase()],
                        v = h[r(l, "minFilter", "linear").toUpperCase()],
                        m = h[r(l, "wrapS", "repeat").toUpperCase()],
                        x = h[r(l, "wrapT", "repeat").toUpperCase()],
                        g = h[r(l, "format", "rgba").toUpperCase()];
                      if (
                        (l.repeat && ((m = h.REPEAT), (x = h.REPEAT)),
                        h.pixelStorei(h.UNPACK_FLIP_Y_WEBGL, !!l.flipY),
                        l.width)
                      ) {
                        var C = r(l, "width", 512),
                          T = r(l, "height", 2),
                          F = r(l, "border", 0);
                        h.texImage2D(
                          h.TEXTURE_2D,
                          0,
                          g,
                          C,
                          T,
                          F,
                          g,
                          h.UNSIGNED_BYTE,
                          null,
                        );
                      } else
                        h.texImage2D(
                          h.TEXTURE_2D,
                          0,
                          g,
                          h.RGBA,
                          h.UNSIGNED_BYTE,
                          o.source,
                        );
                      (h.texParameteri(h.TEXTURE_2D, h.TEXTURE_MAG_FILTER, f),
                        h.texParameteri(h.TEXTURE_2D, h.TEXTURE_MIN_FILTER, v),
                        h.texParameteri(h.TEXTURE_2D, h.TEXTURE_WRAP_S, m),
                        h.texParameteri(h.TEXTURE_2D, h.TEXTURE_WRAP_T, x));
                    }
                    (this.renderer.setProgram(this.program),
                      h.uniform1i(o.uniformLocation, this._textureCount),
                      this._textureCount++);
                  }
                },
                syncUniforms: function () {
                  var o = this.gl,
                    h = this.uniforms,
                    l,
                    f,
                    v,
                    m,
                    x,
                    g = 0;
                  for (var C in h)
                    ((l = h[C]),
                      (v = l.glFunc),
                      (f = l.glValueLength),
                      (m = l.uniformLocation),
                      (x = l.value),
                      x !== null &&
                        (f === 1
                          ? l.glMatrix
                            ? v.call(o, m, l.transpose, x)
                            : v.call(o, m, x)
                          : f === 2
                            ? v.call(o, m, x.x, x.y)
                            : f === 3
                              ? v.call(o, m, x.x, x.y, x.z)
                              : f === 4
                                ? v.call(o, m, x.x, x.y, x.z, x.w)
                                : l.type === "sampler2D" &&
                                  (o.activeTexture(o.TEXTURE0 + g),
                                  o.bindTexture(o.TEXTURE_2D, x),
                                  o.uniform1i(m, g),
                                  g++)));
                },
                load: function (o) {
                  var h = this.gl,
                    l = this.width,
                    f = this.height,
                    v = this.renderer,
                    m = this.program,
                    x = this.viewMatrix;
                  if (!this.renderToTexture) {
                    var g = -this._displayOriginX,
                      C = -this._displayOriginY;
                    ((x[0] = o[0]),
                      (x[1] = o[1]),
                      (x[4] = o[2]),
                      (x[5] = o[3]),
                      (x[8] = o[4]),
                      (x[9] = o[5]),
                      (x[12] = x[0] * g + x[4] * C),
                      (x[13] = x[1] * g + x[5] * C));
                  }
                  (h.useProgram(m),
                    h.uniformMatrix4fv(
                      h.getUniformLocation(m, "uViewMatrix"),
                      !1,
                      x,
                    ),
                    h.uniform2f(
                      h.getUniformLocation(m, "uResolution"),
                      this.width,
                      this.height,
                    ));
                  var T = this.uniforms,
                    F = T.resolution;
                  ((F.value.x = l),
                    (F.value.y = f),
                    (T.time.value = v.game.loop.getDuration()));
                  var w = this.pointer;
                  if (w) {
                    var U = T.mouse,
                      M = w.x / l,
                      I = 1 - w.y / f;
                    ((U.value.x = M.toFixed(2)), (U.value.y = I.toFixed(2)));
                  }
                  this.syncUniforms();
                },
                flush: function () {
                  var o = this.width,
                    h = this.height,
                    l = this.program,
                    f = this.gl,
                    v = this.vertexBuffer,
                    m = this.renderer,
                    x = Float32Array.BYTES_PER_ELEMENT * 2;
                  (this.renderToTexture &&
                    (m.setFramebuffer(this.framebuffer),
                    f.clearColor(0, 0, 0, 0),
                    f.clear(f.COLOR_BUFFER_BIT)),
                    f.bindBuffer(f.ARRAY_BUFFER, v));
                  var g = f.getAttribLocation(l, "inPosition");
                  g !== -1 &&
                    (f.enableVertexAttribArray(g),
                    f.vertexAttribPointer(g, 2, f.FLOAT, !1, x, 0));
                  var C = this.vertexViewF32;
                  ((C[3] = h),
                    (C[4] = o),
                    (C[5] = h),
                    (C[8] = o),
                    (C[9] = h),
                    (C[10] = o));
                  var T = 6;
                  (f.bufferSubData(
                    f.ARRAY_BUFFER,
                    0,
                    this.bytes.subarray(0, T * x),
                  ),
                    f.drawArrays(f.TRIANGLES, 0, T),
                    this.renderToTexture && m.setFramebuffer(null, !1));
                },
                setAlpha: function () {},
                setBlendMode: function () {},
                preDestroy: function () {
                  var o = this.gl;
                  (o.deleteProgram(this.program),
                    o.deleteBuffer(this.vertexBuffer),
                    this.renderToTexture &&
                      (this.renderer.deleteFramebuffer(this.framebuffer),
                      this.texture.destroy(),
                      (this.framebuffer = null),
                      (this.glTexture = null),
                      (this.texture = null)));
                },
              });
            d.exports = i;
          },
          10612: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function () {};
            d.exports = y;
          },
          13908: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(88933),
              c = t(99325),
              a = t(20494),
              r = t(27902);
            c.register("shader", function (n, e) {
              n === void 0 && (n = {});
              var s = a(n, "key", null),
                u = a(n, "x", 0),
                i = a(n, "y", 0),
                o = a(n, "width", 128),
                h = a(n, "height", 128),
                l = new r(this.scene, s, u, i, o, h);
              return (e !== void 0 && (n.add = e), A(this.scene, l, n), l);
            });
          },
          51979: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(27902),
              c = t(61286);
            c.register("shader", function (a, r, n, e, s, u, i) {
              return this.displayList.add(
                new A(this.scene, a, r, n, e, s, u, i),
              );
            });
          },
          24252: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72283),
              c = A,
              a = A;
            ((c = t(19782)),
              (a = t(10612)),
              (d.exports = { renderWebGL: c, renderCanvas: a }));
          },
          19782: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(73329),
              c = function (a, r, n, e) {
                if (r.shader) {
                  if (
                    (n.addToRenderList(r),
                    a.pipelines.clear(),
                    r.renderToTexture)
                  )
                    (r.load(), r.flush());
                  else {
                    var s = A(r, n, e).calc;
                    ((a.width !== r._rendererWidth ||
                      a.height !== r._rendererHeight) &&
                      r.projOrtho(0, a.width, a.height, 0),
                      r.load(s.matrix),
                      r.flush());
                  }
                  a.pipelines.rebind();
                }
              };
            d.exports = c;
          },
          19543: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(75512),
              c = function (a, r, n, e, s, u) {
                for (
                  var i = A.getTintAppendFloatAlpha(
                      n.fillColor,
                      n.fillAlpha * e,
                    ),
                    o = n.pathData,
                    h = n.pathIndexes,
                    l = 0;
                  l < h.length;
                  l += 3
                ) {
                  var f = h[l] * 2,
                    v = h[l + 1] * 2,
                    m = h[l + 2] * 2,
                    x = o[f + 0] - s,
                    g = o[f + 1] - u,
                    C = o[v + 0] - s,
                    T = o[v + 1] - u,
                    F = o[m + 0] - s,
                    w = o[m + 1] - u,
                    U = r.getX(x, g),
                    M = r.getY(x, g),
                    I = r.getX(C, T),
                    O = r.getY(C, T),
                    D = r.getX(F, w),
                    G = r.getY(F, w);
                  a.batchTri(n, U, M, I, O, D, G, 0, 0, 1, 1, i, i, i, 2);
                }
              };
            d.exports = c;
          },
          15608: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              var r = c || A.fillColor,
                n = a || A.fillAlpha,
                e = (r & 16711680) >>> 16,
                s = (r & 65280) >>> 8,
                u = r & 255;
              t.fillStyle = "rgba(" + e + "," + s + "," + u + "," + n + ")";
            };
            d.exports = y;
          },
          17876: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              var r = c || A.strokeColor,
                n = a || A.strokeAlpha,
                e = (r & 16711680) >>> 16,
                s = (r & 65280) >>> 8,
                u = r & 255;
              ((t.strokeStyle =
                "rgba(" + e + "," + s + "," + u + "," + n + ")"),
                (t.lineWidth = A.lineWidth));
            };
            d.exports = y;
          },
          91461: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(64937),
              a = t(89980),
              r = t(88829),
              n = new A({
                Extends: a,
                Mixins: [
                  c.AlphaSingle,
                  c.BlendMode,
                  c.Depth,
                  c.GetBounds,
                  c.Mask,
                  c.Origin,
                  c.Pipeline,
                  c.PostPipeline,
                  c.ScrollFactor,
                  c.Transform,
                  c.Visible,
                ],
                initialize: function (s, u, i) {
                  (u === void 0 && (u = "Shape"),
                    a.call(this, s, u),
                    (this.geom = i),
                    (this.pathData = []),
                    (this.pathIndexes = []),
                    (this.fillColor = 16777215),
                    (this.fillAlpha = 1),
                    (this.strokeColor = 16777215),
                    (this.strokeAlpha = 1),
                    (this.lineWidth = 1),
                    (this.isFilled = !1),
                    (this.isStroked = !1),
                    (this.closePath = !0),
                    (this._tempLine = new r()),
                    (this.width = 0),
                    (this.height = 0),
                    this.initPipeline(),
                    this.initPostPipeline());
                },
                setFillStyle: function (e, s) {
                  return (
                    s === void 0 && (s = 1),
                    e === void 0
                      ? (this.isFilled = !1)
                      : ((this.fillColor = e),
                        (this.fillAlpha = s),
                        (this.isFilled = !0)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setStrokeStyle: function (e, s, u) {
                  return (
                    u === void 0 && (u = 1),
                    e === void 0
                      ? (this.isStroked = !1)
                      : ((this.lineWidth = e),
                        (this.strokeColor = s),
                        (this.strokeAlpha = u),
                        (this.isStroked = !0)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setClosePath: function (e) {
                  return (
                    (this.closePath = e),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setSize: function (e, s) {
                  return (
                    (this.width = e),
                    (this.height = s),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setDisplaySize: function (e, s) {
                  return (
                    (this.displayWidth = e),
                    (this.displayHeight = s),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                preDestroy: function () {
                  ((this.geom = null),
                    (this._tempLine = null),
                    (this.pathData = []),
                    (this.pathIndexes = []));
                },
                displayWidth: {
                  get: function () {
                    return this.scaleX * this.width;
                  },
                  set: function (e) {
                    this.scaleX = e / this.width;
                  },
                },
                displayHeight: {
                  get: function () {
                    return this.scaleY * this.height;
                  },
                  set: function (e) {
                    this.scaleY = e / this.height;
                  },
                },
              });
            d.exports = n;
          },
          50262: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(75512),
              c = function (a, r, n, e, s) {
                var u = a.strokeTint,
                  i = A.getTintAppendFloatAlpha(
                    r.strokeColor,
                    r.strokeAlpha * n,
                  );
                ((u.TL = i), (u.TR = i), (u.BL = i), (u.BR = i));
                var o = r.pathData,
                  h = o.length - 1,
                  l = r.lineWidth,
                  f = l / 2,
                  v = o[0] - e,
                  m = o[1] - s;
                r.closePath || (h -= 2);
                for (var x = 2; x < h; x += 2) {
                  var g = o[x] - e,
                    C = o[x + 1] - s;
                  (a.batchLine(
                    v,
                    m,
                    g,
                    C,
                    f,
                    f,
                    l,
                    x - 2,
                    r.closePath ? x === h - 1 : !1,
                  ),
                    (v = g),
                    (m = C));
                }
              };
            d.exports = c;
          },
          28593: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(2213),
              c = t(56694),
              a = t(75606),
              r = t(11117),
              n = t(26673),
              e = t(83392),
              s = t(91461),
              u = new c({
                Extends: s,
                Mixins: [A],
                initialize: function (o, h, l, f, v, m, x, g, C) {
                  (h === void 0 && (h = 0),
                    l === void 0 && (l = 0),
                    f === void 0 && (f = 128),
                    v === void 0 && (v = 0),
                    m === void 0 && (m = 360),
                    x === void 0 && (x = !1),
                    s.call(this, o, "Arc", new n(0, 0, f)),
                    (this._startAngle = v),
                    (this._endAngle = m),
                    (this._anticlockwise = x),
                    (this._iterations = 0.01),
                    this.setPosition(h, l));
                  var T = this.geom.radius * 2;
                  (this.setSize(T, T),
                    g !== void 0 && this.setFillStyle(g, C),
                    this.updateDisplayOrigin(),
                    this.updateData());
                },
                iterations: {
                  get: function () {
                    return this._iterations;
                  },
                  set: function (i) {
                    ((this._iterations = i), this.updateData());
                  },
                },
                radius: {
                  get: function () {
                    return this.geom.radius;
                  },
                  set: function (i) {
                    this.geom.radius = i;
                    var o = i * 2;
                    (this.setSize(o, o),
                      this.updateDisplayOrigin(),
                      this.updateData());
                  },
                },
                startAngle: {
                  get: function () {
                    return this._startAngle;
                  },
                  set: function (i) {
                    ((this._startAngle = i), this.updateData());
                  },
                },
                endAngle: {
                  get: function () {
                    return this._endAngle;
                  },
                  set: function (i) {
                    ((this._endAngle = i), this.updateData());
                  },
                },
                anticlockwise: {
                  get: function () {
                    return this._anticlockwise;
                  },
                  set: function (i) {
                    ((this._anticlockwise = i), this.updateData());
                  },
                },
                setRadius: function (i) {
                  return (
                    (this.radius = i),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setIterations: function (i) {
                  return (
                    i === void 0 && (i = 0.01),
                    (this.iterations = i),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setStartAngle: function (i, o) {
                  return (
                    (this._startAngle = i),
                    o !== void 0 && (this._anticlockwise = o),
                    this.updateData()
                  );
                },
                setEndAngle: function (i, o) {
                  return (
                    (this._endAngle = i),
                    o !== void 0 && (this._anticlockwise = o),
                    this.updateData()
                  );
                },
                updateData: function () {
                  var i = this._iterations,
                    o = i,
                    h = this.geom.radius,
                    l = a(this._startAngle),
                    f = a(this._endAngle),
                    v = this._anticlockwise,
                    m = h,
                    x = h;
                  ((f -= l),
                    v
                      ? f < -e.PI2
                        ? (f = -e.PI2)
                        : f > 0 && (f = -e.PI2 + (f % e.PI2))
                      : f > e.PI2
                        ? (f = e.PI2)
                        : f < 0 && (f = e.PI2 + (f % e.PI2)));
                  for (
                    var g = [m + Math.cos(l) * h, x + Math.sin(l) * h], C;
                    o < 1;
                  )
                    ((C = f * o + l),
                      g.push(m + Math.cos(C) * h, x + Math.sin(C) * h),
                      (o += i));
                  return (
                    (C = f + l),
                    g.push(m + Math.cos(C) * h, x + Math.sin(C) * h),
                    g.push(m + Math.cos(l) * h, x + Math.sin(l) * h),
                    (this.pathIndexes = r(g)),
                    (this.pathData = g),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
              });
            d.exports = u;
          },
          23560: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(75606),
              c = t(15608),
              a = t(17876),
              r = t(49584),
              n = function (e, s, u, i) {
                u.addToRenderList(s);
                var o = e.currentContext;
                if (r(e, o, s, u, i)) {
                  var h = s.radius;
                  (o.beginPath(),
                    o.arc(
                      h - s.originX * (h * 2),
                      h - s.originY * (h * 2),
                      h,
                      A(s._startAngle),
                      A(s._endAngle),
                      s.anticlockwise,
                    ),
                    s.closePath && o.closePath(),
                    s.isFilled && (c(o, s), o.fill()),
                    s.isStroked && (a(o, s), o.stroke()),
                    o.restore());
                }
              };
            d.exports = n;
          },
          10369: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(28593),
              c = t(61286);
            (c.register("arc", function (a, r, n, e, s, u, i, o) {
              return this.displayList.add(
                new A(this.scene, a, r, n, e, s, u, i, o),
              );
            }),
              c.register("circle", function (a, r, n, e, s) {
                return this.displayList.add(
                  new A(this.scene, a, r, n, 0, 360, !1, e, s),
                );
              }));
          },
          2213: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72283),
              c = A,
              a = A;
            ((c = t(58356)),
              (a = t(23560)),
              (d.exports = { renderWebGL: c, renderCanvas: a }));
          },
          58356: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(73329),
              c = t(19543),
              a = t(50262),
              r = function (n, e, s, u) {
                s.addToRenderList(e);
                var i = n.pipelines.set(e.pipeline),
                  o = A(e, s, u),
                  h = i.calcMatrix.copyFrom(o.calc),
                  l = e._displayOriginX,
                  f = e._displayOriginY,
                  v = s.alpha * e.alpha;
                (n.pipelines.preBatch(e),
                  e.isFilled && c(i, h, e, v, l, f),
                  e.isStroked && a(i, e, v, l, f),
                  n.pipelines.postBatch(e));
              };
            d.exports = r;
          },
          15220: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(87203),
              a = t(11117),
              r = t(74118),
              n = t(91461),
              e = new A({
                Extends: n,
                Mixins: [c],
                initialize: function (u, i, o, h, l, f) {
                  (i === void 0 && (i = 0),
                    o === void 0 && (o = 0),
                    n.call(this, u, "Curve", h),
                    (this._smoothness = 32),
                    (this._curveBounds = new r()),
                    (this.closePath = !1),
                    this.setPosition(i, o),
                    l !== void 0 && this.setFillStyle(l, f),
                    this.updateData());
                },
                smoothness: {
                  get: function () {
                    return this._smoothness;
                  },
                  set: function (s) {
                    ((this._smoothness = s), this.updateData());
                  },
                },
                setSmoothness: function (s) {
                  return ((this._smoothness = s), this.updateData());
                },
                updateData: function () {
                  var s = this._curveBounds,
                    u = this._smoothness;
                  (this.geom.getBounds(s, u),
                    this.setSize(s.width, s.height),
                    this.updateDisplayOrigin());
                  for (
                    var i = [], o = this.geom.getPoints(u), h = 0;
                    h < o.length;
                    h++
                  )
                    i.push(o[h].x, o[h].y);
                  return (
                    i.push(o[0].x, o[0].y),
                    (this.pathIndexes = a(i)),
                    (this.pathData = i),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
              });
            d.exports = e;
          },
          4024: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(15608),
              c = t(17876),
              a = t(49584),
              r = function (n, e, s, u) {
                s.addToRenderList(e);
                var i = n.currentContext;
                if (a(n, i, e, s, u)) {
                  var o = e._displayOriginX + e._curveBounds.x,
                    h = e._displayOriginY + e._curveBounds.y,
                    l = e.pathData,
                    f = l.length - 1,
                    v = l[0] - o,
                    m = l[1] - h;
                  (i.beginPath(), i.moveTo(v, m), e.closePath || (f -= 2));
                  for (var x = 2; x < f; x += 2) {
                    var g = l[x] - o,
                      C = l[x + 1] - h;
                    i.lineTo(g, C);
                  }
                  (e.closePath && i.closePath(),
                    e.isFilled && (A(i, e), i.fill()),
                    e.isStroked && (c(i, e), i.stroke()),
                    i.restore());
                }
              };
            d.exports = r;
          },
          10147: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(61286),
              c = t(15220);
            A.register("curve", function (a, r, n, e, s) {
              return this.displayList.add(new c(this.scene, a, r, n, e, s));
            });
          },
          87203: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72283),
              c = A,
              a = A;
            ((c = t(82958)),
              (a = t(4024)),
              (d.exports = { renderWebGL: c, renderCanvas: a }));
          },
          82958: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(19543),
              c = t(73329),
              a = t(50262),
              r = function (n, e, s, u) {
                s.addToRenderList(e);
                var i = n.pipelines.set(e.pipeline),
                  o = c(e, s, u),
                  h = i.calcMatrix.copyFrom(o.calc),
                  l = e._displayOriginX + e._curveBounds.x,
                  f = e._displayOriginY + e._curveBounds.y,
                  v = s.alpha * e.alpha;
                (n.pipelines.preBatch(e),
                  e.isFilled && A(i, h, e, v, l, f),
                  e.isStroked && a(i, e, v, l, f),
                  n.pipelines.postBatch(e));
              };
            d.exports = r;
          },
          28591: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(11117),
              a = t(84171),
              r = t(95669),
              n = t(91461),
              e = new A({
                Extends: n,
                Mixins: [a],
                initialize: function (u, i, o, h, l, f, v) {
                  (i === void 0 && (i = 0),
                    o === void 0 && (o = 0),
                    h === void 0 && (h = 128),
                    l === void 0 && (l = 128),
                    n.call(this, u, "Ellipse", new r(h / 2, l / 2, h, l)),
                    (this._smoothness = 64),
                    this.setPosition(i, o),
                    (this.width = h),
                    (this.height = l),
                    f !== void 0 && this.setFillStyle(f, v),
                    this.updateDisplayOrigin(),
                    this.updateData());
                },
                smoothness: {
                  get: function () {
                    return this._smoothness;
                  },
                  set: function (s) {
                    ((this._smoothness = s), this.updateData());
                  },
                },
                setSize: function (s, u) {
                  return (
                    (this.width = s),
                    (this.height = u),
                    this.geom.setPosition(s / 2, u / 2),
                    this.geom.setSize(s, u),
                    this.updateData()
                  );
                },
                setSmoothness: function (s) {
                  return ((this._smoothness = s), this.updateData());
                },
                updateData: function () {
                  for (
                    var s = [],
                      u = this.geom.getPoints(this._smoothness),
                      i = 0;
                    i < u.length;
                    i++
                  )
                    s.push(u[i].x, u[i].y);
                  return (
                    s.push(u[0].x, u[0].y),
                    (this.pathIndexes = c(s)),
                    (this.pathData = s),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
              });
            d.exports = e;
          },
          55881: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(15608),
              c = t(17876),
              a = t(49584),
              r = function (n, e, s, u) {
                s.addToRenderList(e);
                var i = n.currentContext;
                if (a(n, i, e, s, u)) {
                  var o = e._displayOriginX,
                    h = e._displayOriginY,
                    l = e.pathData,
                    f = l.length - 1,
                    v = l[0] - o,
                    m = l[1] - h;
                  (i.beginPath(), i.moveTo(v, m), e.closePath || (f -= 2));
                  for (var x = 2; x < f; x += 2) {
                    var g = l[x] - o,
                      C = l[x + 1] - h;
                    i.lineTo(g, C);
                  }
                  (i.closePath(),
                    e.isFilled && (A(i, e), i.fill()),
                    e.isStroked && (c(i, e), i.stroke()),
                    i.restore());
                }
              };
            d.exports = r;
          },
          99869: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(28591),
              c = t(61286);
            c.register("ellipse", function (a, r, n, e, s, u) {
              return this.displayList.add(new A(this.scene, a, r, n, e, s, u));
            });
          },
          84171: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72283),
              c = A,
              a = A;
            ((c = t(17554)),
              (a = t(55881)),
              (d.exports = { renderWebGL: c, renderCanvas: a }));
          },
          17554: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(19543),
              c = t(73329),
              a = t(50262),
              r = function (n, e, s, u) {
                s.addToRenderList(e);
                var i = n.pipelines.set(e.pipeline),
                  o = c(e, s, u),
                  h = i.calcMatrix.copyFrom(o.calc),
                  l = e._displayOriginX,
                  f = e._displayOriginY,
                  v = s.alpha * e.alpha;
                (n.pipelines.preBatch(e),
                  e.isFilled && A(i, h, e, v, l, f),
                  e.isStroked && a(i, e, v, l, f),
                  n.pipelines.postBatch(e));
              };
            d.exports = r;
          },
          39169: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(91461),
              a = t(88059),
              r = new A({
                Extends: c,
                Mixins: [a],
                initialize: function (e, s, u, i, o, h, l, f, v, m, x) {
                  (s === void 0 && (s = 0),
                    u === void 0 && (u = 0),
                    i === void 0 && (i = 128),
                    o === void 0 && (o = 128),
                    h === void 0 && (h = 32),
                    l === void 0 && (l = 32),
                    c.call(this, e, "Grid", null),
                    (this.cellWidth = h),
                    (this.cellHeight = l),
                    (this.showCells = !0),
                    (this.outlineFillColor = 0),
                    (this.outlineFillAlpha = 0),
                    (this.showOutline = !0),
                    (this.showAltCells = !1),
                    this.altFillColor,
                    this.altFillAlpha,
                    this.setPosition(s, u),
                    this.setSize(i, o),
                    this.setFillStyle(f, v),
                    m !== void 0 && this.setOutlineStyle(m, x),
                    this.updateDisplayOrigin());
                },
                setFillStyle: function (n, e) {
                  return (
                    e === void 0 && (e = 1),
                    n === void 0
                      ? (this.showCells = !1)
                      : ((this.fillColor = n),
                        (this.fillAlpha = e),
                        (this.showCells = !0)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setAltFillStyle: function (n, e) {
                  return (
                    e === void 0 && (e = 1),
                    n === void 0
                      ? (this.showAltCells = !1)
                      : ((this.altFillColor = n),
                        (this.altFillAlpha = e),
                        (this.showAltCells = !0)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setOutlineStyle: function (n, e) {
                  return (
                    e === void 0 && (e = 1),
                    n === void 0
                      ? (this.showOutline = !1)
                      : ((this.outlineFillColor = n),
                        (this.outlineFillAlpha = e),
                        (this.showOutline = !0)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
              });
            d.exports = r;
          },
          95525: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(15608),
              c = t(17876),
              a = t(49584),
              r = function (n, e, s, u) {
                s.addToRenderList(e);
                var i = n.currentContext;
                if (a(n, i, e, s, u)) {
                  var o = -e._displayOriginX,
                    h = -e._displayOriginY,
                    l = s.alpha * e.alpha,
                    f = e.width,
                    v = e.height,
                    m = e.cellWidth,
                    x = e.cellHeight,
                    g = Math.ceil(f / m),
                    C = Math.ceil(v / x),
                    T = m,
                    F = x,
                    w = m - (g * m - f),
                    U = x - (C * x - v),
                    M = e.showCells,
                    I = e.showAltCells,
                    O = e.showOutline,
                    D = 0,
                    G = 0,
                    X = 0,
                    z = 0,
                    K = 0;
                  if (
                    (O && (T--, F--, w === m && w--, U === x && U--),
                    M && e.fillAlpha > 0)
                  )
                    for (A(i, e), G = 0; G < C; G++)
                      for (I && (X = G % 2), D = 0; D < g; D++) {
                        if (I && X) {
                          X = 0;
                          continue;
                        }
                        (X++,
                          (z = D < g - 1 ? T : w),
                          (K = G < C - 1 ? F : U),
                          i.fillRect(o + D * m, h + G * x, z, K));
                      }
                  if (I && e.altFillAlpha > 0)
                    for (
                      A(i, e, e.altFillColor, e.altFillAlpha * l), G = 0;
                      G < C;
                      G++
                    )
                      for (I && (X = G % 2), D = 0; D < g; D++) {
                        if (I && !X) {
                          X = 1;
                          continue;
                        }
                        ((X = 0),
                          (z = D < g - 1 ? T : w),
                          (K = G < C - 1 ? F : U),
                          i.fillRect(o + D * m, h + G * x, z, K));
                      }
                  if (O && e.outlineFillAlpha > 0) {
                    for (
                      c(i, e, e.outlineFillColor, e.outlineFillAlpha * l),
                        D = 1;
                      D < g;
                      D++
                    ) {
                      var N = D * m;
                      (i.beginPath(),
                        i.moveTo(N + o, h),
                        i.lineTo(N + o, v + h),
                        i.stroke());
                    }
                    for (G = 1; G < C; G++) {
                      var b = G * x;
                      (i.beginPath(),
                        i.moveTo(o, b + h),
                        i.lineTo(o + f, b + h),
                        i.stroke());
                    }
                  }
                  i.restore();
                }
              };
            d.exports = r;
          },
          9326: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(61286),
              c = t(39169);
            A.register("grid", function (a, r, n, e, s, u, i, o, h, l) {
              return this.displayList.add(
                new c(this.scene, a, r, n, e, s, u, i, o, h, l),
              );
            });
          },
          88059: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72283),
              c = A,
              a = A;
            ((c = t(50639)),
              (a = t(95525)),
              (d.exports = { renderWebGL: c, renderCanvas: a }));
          },
          50639: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(73329),
              c = t(75512),
              a = function (r, n, e, s) {
                e.addToRenderList(n);
                var u = r.pipelines.set(n.pipeline),
                  i = A(n, e, s),
                  o = u.calcMatrix.copyFrom(i.calc);
                o.translate(-n._displayOriginX, -n._displayOriginY);
                var h = e.alpha * n.alpha,
                  l = n.width,
                  f = n.height,
                  v = n.cellWidth,
                  m = n.cellHeight,
                  x = Math.ceil(l / v),
                  g = Math.ceil(f / m),
                  C = v,
                  T = m,
                  F = v - (x * v - l),
                  w = m - (g * m - f),
                  U,
                  M,
                  I = n.showCells,
                  O = n.showAltCells,
                  D = n.showOutline,
                  G = 0,
                  X = 0,
                  z = 0,
                  K = 0,
                  N = 0;
                if (
                  (D && (C--, T--, F === v && F--, w === m && w--),
                  r.pipelines.preBatch(n),
                  I && n.fillAlpha > 0)
                )
                  for (
                    U = u.fillTint,
                      M = c.getTintAppendFloatAlpha(
                        n.fillColor,
                        n.fillAlpha * h,
                      ),
                      U.TL = M,
                      U.TR = M,
                      U.BL = M,
                      U.BR = M,
                      X = 0;
                    X < g;
                    X++
                  )
                    for (O && (z = X % 2), G = 0; G < x; G++) {
                      if (O && z) {
                        z = 0;
                        continue;
                      }
                      (z++,
                        (K = G < x - 1 ? C : F),
                        (N = X < g - 1 ? T : w),
                        u.batchFillRect(G * v, X * m, K, N));
                    }
                if (O && n.altFillAlpha > 0)
                  for (
                    U = u.fillTint,
                      M = c.getTintAppendFloatAlpha(
                        n.altFillColor,
                        n.altFillAlpha * h,
                      ),
                      U.TL = M,
                      U.TR = M,
                      U.BL = M,
                      U.BR = M,
                      X = 0;
                    X < g;
                    X++
                  )
                    for (O && (z = X % 2), G = 0; G < x; G++) {
                      if (O && !z) {
                        z = 1;
                        continue;
                      }
                      ((z = 0),
                        (K = G < x - 1 ? C : F),
                        (N = X < g - 1 ? T : w),
                        u.batchFillRect(G * v, X * m, K, N));
                    }
                if (D && n.outlineFillAlpha > 0) {
                  var b = u.strokeTint,
                    R = c.getTintAppendFloatAlpha(
                      n.outlineFillColor,
                      n.outlineFillAlpha * h,
                    );
                  for (
                    b.TL = R, b.TR = R, b.BL = R, b.BR = R, G = 1;
                    G < x;
                    G++
                  ) {
                    var H = G * v;
                    u.batchLine(H, 0, H, f, 1, 1, 1, 0, !1);
                  }
                  for (X = 1; X < g; X++) {
                    var Q = X * m;
                    u.batchLine(0, Q, l, Q, 1, 1, 1, 0, !1);
                  }
                }
                r.pipelines.postBatch(n);
              };
            d.exports = a;
          },
          4415: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72296),
              c = t(56694),
              a = t(91461),
              r = new c({
                Extends: a,
                Mixins: [A],
                initialize: function (e, s, u, i, o, h, l, f) {
                  (s === void 0 && (s = 0),
                    u === void 0 && (u = 0),
                    i === void 0 && (i = 48),
                    o === void 0 && (o = 32),
                    h === void 0 && (h = 15658734),
                    l === void 0 && (l = 10066329),
                    f === void 0 && (f = 13421772),
                    a.call(this, e, "IsoBox", null),
                    (this.projection = 4),
                    (this.fillTop = h),
                    (this.fillLeft = l),
                    (this.fillRight = f),
                    (this.showTop = !0),
                    (this.showLeft = !0),
                    (this.showRight = !0),
                    (this.isFilled = !0),
                    this.setPosition(s, u),
                    this.setSize(i, o),
                    this.updateDisplayOrigin());
                },
                setProjection: function (n) {
                  return (
                    (this.projection = n),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setFaces: function (n, e, s) {
                  return (
                    n === void 0 && (n = !0),
                    e === void 0 && (e = !0),
                    s === void 0 && (s = !0),
                    (this.showTop = n),
                    (this.showLeft = e),
                    (this.showRight = s),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setFillStyle: function (n, e, s) {
                  return (
                    (this.fillTop = n),
                    (this.fillLeft = e),
                    (this.fillRight = s),
                    (this.isFilled = !0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
              });
            d.exports = r;
          },
          32884: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(15608),
              c = t(49584),
              a = function (r, n, e, s) {
                e.addToRenderList(n);
                var u = r.currentContext;
                if (c(r, u, n, e, s) && n.isFilled) {
                  var i = n.width,
                    o = n.height,
                    h = i / 2,
                    l = i / n.projection;
                  (n.showTop &&
                    (A(u, n, n.fillTop),
                    u.beginPath(),
                    u.moveTo(-h, -o),
                    u.lineTo(0, -l - o),
                    u.lineTo(h, -o),
                    u.lineTo(h, -1),
                    u.lineTo(0, l - 1),
                    u.lineTo(-h, -1),
                    u.lineTo(-h, -o),
                    u.fill()),
                    n.showLeft &&
                      (A(u, n, n.fillLeft),
                      u.beginPath(),
                      u.moveTo(-h, 0),
                      u.lineTo(0, l),
                      u.lineTo(0, l - o),
                      u.lineTo(-h, -o),
                      u.lineTo(-h, 0),
                      u.fill()),
                    n.showRight &&
                      (A(u, n, n.fillRight),
                      u.beginPath(),
                      u.moveTo(h, 0),
                      u.lineTo(0, l),
                      u.lineTo(0, l - o),
                      u.lineTo(h, -o),
                      u.lineTo(h, 0),
                      u.fill()),
                    u.restore());
                }
              };
            d.exports = a;
          },
          88154: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(61286),
              c = t(4415);
            A.register("isobox", function (a, r, n, e, s, u, i) {
              return this.displayList.add(
                new c(this.scene, a, r, n, e, s, u, i),
              );
            });
          },
          72296: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72283),
              c = A,
              a = A;
            ((c = t(33101)),
              (a = t(32884)),
              (d.exports = { renderWebGL: c, renderCanvas: a }));
          },
          33101: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(73329),
              c = t(75512),
              a = function (r, n, e, s) {
                e.addToRenderList(n);
                var u = r.pipelines.set(n.pipeline),
                  i = A(n, e, s),
                  o = u.calcMatrix.copyFrom(i.calc),
                  h = n.width,
                  l = n.height,
                  f = h / 2,
                  v = h / n.projection,
                  m = e.alpha * n.alpha;
                if (n.isFilled) {
                  var x, g, C, T, F, w, U, M, I;
                  (r.pipelines.preBatch(n),
                    n.showTop &&
                      ((x = c.getTintAppendFloatAlpha(n.fillTop, m)),
                      (g = o.getX(-f, -l)),
                      (C = o.getY(-f, -l)),
                      (T = o.getX(0, -v - l)),
                      (F = o.getY(0, -v - l)),
                      (w = o.getX(f, -l)),
                      (U = o.getY(f, -l)),
                      (M = o.getX(0, v - l)),
                      (I = o.getY(0, v - l)),
                      u.batchQuad(
                        n,
                        g,
                        C,
                        T,
                        F,
                        w,
                        U,
                        M,
                        I,
                        0,
                        0,
                        1,
                        1,
                        x,
                        x,
                        x,
                        x,
                        2,
                      )),
                    n.showLeft &&
                      ((x = c.getTintAppendFloatAlpha(n.fillLeft, m)),
                      (g = o.getX(-f, 0)),
                      (C = o.getY(-f, 0)),
                      (T = o.getX(0, v)),
                      (F = o.getY(0, v)),
                      (w = o.getX(0, v - l)),
                      (U = o.getY(0, v - l)),
                      (M = o.getX(-f, -l)),
                      (I = o.getY(-f, -l)),
                      u.batchQuad(
                        n,
                        g,
                        C,
                        T,
                        F,
                        w,
                        U,
                        M,
                        I,
                        0,
                        0,
                        1,
                        1,
                        x,
                        x,
                        x,
                        x,
                        2,
                      )),
                    n.showRight &&
                      ((x = c.getTintAppendFloatAlpha(n.fillRight, m)),
                      (g = o.getX(f, 0)),
                      (C = o.getY(f, 0)),
                      (T = o.getX(0, v)),
                      (F = o.getY(0, v)),
                      (w = o.getX(0, v - l)),
                      (U = o.getY(0, v - l)),
                      (M = o.getX(f, -l)),
                      (I = o.getY(f, -l)),
                      u.batchQuad(
                        n,
                        g,
                        C,
                        T,
                        F,
                        w,
                        U,
                        M,
                        I,
                        0,
                        0,
                        1,
                        1,
                        x,
                        x,
                        x,
                        x,
                        2,
                      )),
                    r.pipelines.postBatch(n));
                }
              };
            d.exports = a;
          },
          65159: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(93387),
              a = t(91461),
              r = new A({
                Extends: a,
                Mixins: [c],
                initialize: function (e, s, u, i, o, h, l, f, v) {
                  (s === void 0 && (s = 0),
                    u === void 0 && (u = 0),
                    i === void 0 && (i = 48),
                    o === void 0 && (o = 32),
                    h === void 0 && (h = !1),
                    l === void 0 && (l = 15658734),
                    f === void 0 && (f = 10066329),
                    v === void 0 && (v = 13421772),
                    a.call(this, e, "IsoTriangle", null),
                    (this.projection = 4),
                    (this.fillTop = l),
                    (this.fillLeft = f),
                    (this.fillRight = v),
                    (this.showTop = !0),
                    (this.showLeft = !0),
                    (this.showRight = !0),
                    (this.isReversed = h),
                    (this.isFilled = !0),
                    this.setPosition(s, u),
                    this.setSize(i, o),
                    this.updateDisplayOrigin());
                },
                setProjection: function (n) {
                  return (
                    (this.projection = n),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setReversed: function (n) {
                  return (
                    (this.isReversed = n),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setFaces: function (n, e, s) {
                  return (
                    n === void 0 && (n = !0),
                    e === void 0 && (e = !0),
                    s === void 0 && (s = !0),
                    (this.showTop = n),
                    (this.showLeft = e),
                    (this.showRight = s),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setFillStyle: function (n, e, s) {
                  return (
                    (this.fillTop = n),
                    (this.fillLeft = e),
                    (this.fillRight = s),
                    (this.isFilled = !0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
              });
            d.exports = r;
          },
          9923: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(15608),
              c = t(49584),
              a = function (r, n, e, s) {
                e.addToRenderList(n);
                var u = r.currentContext;
                if (c(r, u, n, e, s) && n.isFilled) {
                  var i = n.width,
                    o = n.height,
                    h = i / 2,
                    l = i / n.projection,
                    f = n.isReversed;
                  (n.showTop &&
                    f &&
                    (A(u, n, n.fillTop),
                    u.beginPath(),
                    u.moveTo(-h, -o),
                    u.lineTo(0, -l - o),
                    u.lineTo(h, -o),
                    u.lineTo(0, l - o),
                    u.fill()),
                    n.showLeft &&
                      (A(u, n, n.fillLeft),
                      u.beginPath(),
                      f
                        ? (u.moveTo(-h, -o), u.lineTo(0, l), u.lineTo(0, l - o))
                        : (u.moveTo(-h, 0), u.lineTo(0, l), u.lineTo(0, l - o)),
                      u.fill()),
                    n.showRight &&
                      (A(u, n, n.fillRight),
                      u.beginPath(),
                      f
                        ? (u.moveTo(h, -o), u.lineTo(0, l), u.lineTo(0, l - o))
                        : (u.moveTo(h, 0), u.lineTo(0, l), u.lineTo(0, l - o)),
                      u.fill()),
                    u.restore());
                }
              };
            d.exports = a;
          },
          67765: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(61286),
              c = t(65159);
            A.register("isotriangle", function (a, r, n, e, s, u, i, o) {
              return this.displayList.add(
                new c(this.scene, a, r, n, e, s, u, i, o),
              );
            });
          },
          93387: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72283),
              c = A,
              a = A;
            ((c = t(54946)),
              (a = t(9923)),
              (d.exports = { renderWebGL: c, renderCanvas: a }));
          },
          54946: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(73329),
              c = t(75512),
              a = function (r, n, e, s) {
                e.addToRenderList(n);
                var u = r.pipelines.set(n.pipeline),
                  i = A(n, e, s),
                  o = u.calcMatrix.copyFrom(i.calc),
                  h = n.width,
                  l = n.height,
                  f = h / 2,
                  v = h / n.projection,
                  m = n.isReversed,
                  x = e.alpha * n.alpha;
                if (n.isFilled) {
                  r.pipelines.preBatch(n);
                  var g, C, T, F, w, U, M;
                  if (n.showTop && m) {
                    ((g = c.getTintAppendFloatAlpha(n.fillTop, x)),
                      (C = o.getX(-f, -l)),
                      (T = o.getY(-f, -l)),
                      (F = o.getX(0, -v - l)),
                      (w = o.getY(0, -v - l)),
                      (U = o.getX(f, -l)),
                      (M = o.getY(f, -l)));
                    var I = o.getX(0, v - l),
                      O = o.getY(0, v - l);
                    u.batchQuad(
                      n,
                      C,
                      T,
                      F,
                      w,
                      U,
                      M,
                      I,
                      O,
                      0,
                      0,
                      1,
                      1,
                      g,
                      g,
                      g,
                      g,
                      2,
                    );
                  }
                  (n.showLeft &&
                    ((g = c.getTintAppendFloatAlpha(n.fillLeft, x)),
                    m
                      ? ((C = o.getX(-f, -l)),
                        (T = o.getY(-f, -l)),
                        (F = o.getX(0, v)),
                        (w = o.getY(0, v)),
                        (U = o.getX(0, v - l)),
                        (M = o.getY(0, v - l)))
                      : ((C = o.getX(-f, 0)),
                        (T = o.getY(-f, 0)),
                        (F = o.getX(0, v)),
                        (w = o.getY(0, v)),
                        (U = o.getX(0, v - l)),
                        (M = o.getY(0, v - l))),
                    u.batchTri(n, C, T, F, w, U, M, 0, 0, 1, 1, g, g, g, 2)),
                    n.showRight &&
                      ((g = c.getTintAppendFloatAlpha(n.fillRight, x)),
                      m
                        ? ((C = o.getX(f, -l)),
                          (T = o.getY(f, -l)),
                          (F = o.getX(0, v)),
                          (w = o.getY(0, v)),
                          (U = o.getX(0, v - l)),
                          (M = o.getY(0, v - l)))
                        : ((C = o.getX(f, 0)),
                          (T = o.getY(f, 0)),
                          (F = o.getX(0, v)),
                          (w = o.getY(0, v)),
                          (U = o.getX(0, v - l)),
                          (M = o.getY(0, v - l))),
                      u.batchTri(n, C, T, F, w, U, M, 0, 0, 1, 1, g, g, g, 2)),
                    r.pipelines.postBatch(n));
                }
              };
            d.exports = a;
          },
          579: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(91461),
              a = t(88829),
              r = t(52660),
              n = new A({
                Extends: c,
                Mixins: [r],
                initialize: function (s, u, i, o, h, l, f, v, m) {
                  (u === void 0 && (u = 0),
                    i === void 0 && (i = 0),
                    o === void 0 && (o = 0),
                    h === void 0 && (h = 0),
                    l === void 0 && (l = 128),
                    f === void 0 && (f = 0),
                    c.call(this, s, "Line", new a(o, h, l, f)));
                  var x = Math.max(1, this.geom.right - this.geom.left),
                    g = Math.max(1, this.geom.bottom - this.geom.top);
                  ((this.lineWidth = 1),
                    (this._startWidth = 1),
                    (this._endWidth = 1),
                    this.setPosition(u, i),
                    this.setSize(x, g),
                    v !== void 0 && this.setStrokeStyle(1, v, m),
                    this.updateDisplayOrigin());
                },
                setLineWidth: function (e, s) {
                  return (
                    s === void 0 && (s = e),
                    (this._startWidth = e),
                    (this._endWidth = s),
                    (this.lineWidth = e),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setTo: function (e, s, u, i) {
                  return (
                    this.geom.setTo(e, s, u, i),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
              });
            d.exports = n;
          },
          52044: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(17876),
              c = t(49584),
              a = function (r, n, e, s) {
                e.addToRenderList(n);
                var u = r.currentContext;
                if (c(r, u, n, e, s)) {
                  var i = n._displayOriginX,
                    o = n._displayOriginY;
                  (n.isStroked &&
                    (A(u, n),
                    u.beginPath(),
                    u.moveTo(n.geom.x1 - i, n.geom.y1 - o),
                    u.lineTo(n.geom.x2 - i, n.geom.y2 - o),
                    u.stroke()),
                    u.restore());
                }
              };
            d.exports = a;
          },
          85665: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(61286),
              c = t(579);
            A.register("line", function (a, r, n, e, s, u, i, o) {
              return this.displayList.add(
                new c(this.scene, a, r, n, e, s, u, i, o),
              );
            });
          },
          52660: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72283),
              c = A,
              a = A;
            ((c = t(46952)),
              (a = t(52044)),
              (d.exports = { renderWebGL: c, renderCanvas: a }));
          },
          46952: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(73329),
              c = t(75512),
              a = function (r, n, e, s) {
                e.addToRenderList(n);
                var u = r.pipelines.set(n.pipeline),
                  i = A(n, e, s);
                u.calcMatrix.copyFrom(i.calc);
                var o = n._displayOriginX,
                  h = n._displayOriginY,
                  l = e.alpha * n.alpha;
                if ((r.pipelines.preBatch(n), n.isStroked)) {
                  var f = u.strokeTint,
                    v = c.getTintAppendFloatAlpha(
                      n.strokeColor,
                      n.strokeAlpha * l,
                    );
                  ((f.TL = v),
                    (f.TR = v),
                    (f.BL = v),
                    (f.BR = v),
                    u.batchLine(
                      n.geom.x1 - o,
                      n.geom.y1 - h,
                      n.geom.x2 - o,
                      n.geom.y2 - h,
                      n._startWidth / 2,
                      n._endWidth / 2,
                      1,
                      0,
                      !1,
                      i.sprite,
                      i.camera,
                    ));
                }
                r.pipelines.postBatch(n);
              };
            d.exports = a;
          },
          91249: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(70573),
              c = t(56694),
              a = t(11117),
              r = t(14045),
              n = t(8580),
              e = t(91461),
              s = t(18974),
              u = new c({
                Extends: e,
                Mixins: [A],
                initialize: function (o, h, l, f, v, m) {
                  (h === void 0 && (h = 0),
                    l === void 0 && (l = 0),
                    e.call(this, o, "Polygon", new n(f)));
                  var x = r(this.geom);
                  (this.setPosition(h, l),
                    this.setSize(x.width, x.height),
                    v !== void 0 && this.setFillStyle(v, m),
                    this.updateDisplayOrigin(),
                    this.updateData());
                },
                smooth: function (i) {
                  i === void 0 && (i = 1);
                  for (var o = 0; o < i; o++) s(this.geom);
                  return this.updateData();
                },
                setTo: function (i) {
                  this.geom.setTo(i);
                  var o = r(this.geom);
                  return (
                    this.setSize(o.width, o.height),
                    this.updateDisplayOrigin(),
                    this.updateData()
                  );
                },
                updateData: function () {
                  for (
                    var i = [], o = this.geom.points, h = 0;
                    h < o.length;
                    h++
                  )
                    i.push(o[h].x, o[h].y);
                  return (
                    i.push(o[0].x, o[0].y),
                    (this.pathIndexes = a(i)),
                    (this.pathData = i),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
              });
            d.exports = u;
          },
          40834: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(15608),
              c = t(17876),
              a = t(49584),
              r = function (n, e, s, u) {
                s.addToRenderList(e);
                var i = n.currentContext;
                if (a(n, i, e, s, u)) {
                  var o = e._displayOriginX,
                    h = e._displayOriginY,
                    l = e.pathData,
                    f = l.length - 1,
                    v = l[0] - o,
                    m = l[1] - h;
                  (i.beginPath(), i.moveTo(v, m), e.closePath || (f -= 2));
                  for (var x = 2; x < f; x += 2) {
                    var g = l[x] - o,
                      C = l[x + 1] - h;
                    i.lineTo(g, C);
                  }
                  (e.closePath && i.closePath(),
                    e.isFilled && (A(i, e), i.fill()),
                    e.isStroked && (c(i, e), i.stroke()),
                    i.restore());
                }
              };
            d.exports = r;
          },
          88203: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(61286),
              c = t(91249);
            A.register("polygon", function (a, r, n, e, s) {
              return this.displayList.add(new c(this.scene, a, r, n, e, s));
            });
          },
          70573: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72283),
              c = A,
              a = A;
            ((c = t(72841)),
              (a = t(40834)),
              (d.exports = { renderWebGL: c, renderCanvas: a }));
          },
          72841: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(19543),
              c = t(73329),
              a = t(50262),
              r = function (n, e, s, u) {
                s.addToRenderList(e);
                var i = n.pipelines.set(e.pipeline),
                  o = c(e, s, u),
                  h = i.calcMatrix.copyFrom(o.calc),
                  l = e._displayOriginX,
                  f = e._displayOriginY,
                  v = s.alpha * e.alpha;
                (n.pipelines.preBatch(e),
                  e.isFilled && A(i, h, e, v, l, f),
                  e.isStroked && a(i, e, v, l, f),
                  n.pipelines.postBatch(e));
              };
            d.exports = r;
          },
          517: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(74118),
              a = t(91461),
              r = t(37673),
              n = new A({
                Extends: a,
                Mixins: [r],
                initialize: function (s, u, i, o, h, l, f) {
                  (u === void 0 && (u = 0),
                    i === void 0 && (i = 0),
                    o === void 0 && (o = 128),
                    h === void 0 && (h = 128),
                    a.call(this, s, "Rectangle", new c(0, 0, o, h)),
                    this.setPosition(u, i),
                    this.setSize(o, h),
                    l !== void 0 && this.setFillStyle(l, f),
                    this.updateDisplayOrigin(),
                    this.updateData());
                },
                setSize: function (e, s) {
                  ((this.width = e),
                    (this.height = s),
                    this.geom.setSize(e, s),
                    this.updateData(),
                    this.updateDisplayOrigin());
                  var u = this.input;
                  return (
                    u &&
                      !u.customHitArea &&
                      ((u.hitArea.width = e), (u.hitArea.height = s)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                updateData: function () {
                  var e = [],
                    s = this.geom,
                    u = this._tempLine;
                  return (
                    s.getLineA(u),
                    e.push(u.x1, u.y1, u.x2, u.y2),
                    s.getLineB(u),
                    e.push(u.x2, u.y2),
                    s.getLineC(u),
                    e.push(u.x2, u.y2),
                    s.getLineD(u),
                    e.push(u.x2, u.y2),
                    (this.pathData = e),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
              });
            d.exports = n;
          },
          4091: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(15608),
              c = t(17876),
              a = t(49584),
              r = function (n, e, s, u) {
                s.addToRenderList(e);
                var i = n.currentContext;
                if (a(n, i, e, s, u)) {
                  var o = e._displayOriginX,
                    h = e._displayOriginY;
                  (e.isFilled &&
                    (A(i, e), i.fillRect(-o, -h, e.width, e.height)),
                    e.isStroked &&
                      (c(i, e),
                      i.beginPath(),
                      i.rect(-o, -h, e.width, e.height),
                      i.stroke()),
                    i.restore());
                }
              };
            d.exports = r;
          },
          94355: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(61286),
              c = t(517);
            A.register("rectangle", function (a, r, n, e, s, u) {
              return this.displayList.add(new c(this.scene, a, r, n, e, s, u));
            });
          },
          37673: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72283),
              c = A,
              a = A;
            ((c = t(43532)),
              (a = t(4091)),
              (d.exports = { renderWebGL: c, renderCanvas: a }));
          },
          43532: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(73329),
              c = t(50262),
              a = t(75512),
              r = function (n, e, s, u) {
                s.addToRenderList(e);
                var i = n.pipelines.set(e.pipeline),
                  o = A(e, s, u);
                i.calcMatrix.copyFrom(o.calc);
                var h = e._displayOriginX,
                  l = e._displayOriginY,
                  f = s.alpha * e.alpha;
                if ((n.pipelines.preBatch(e), e.isFilled)) {
                  var v = i.fillTint,
                    m = a.getTintAppendFloatAlpha(e.fillColor, e.fillAlpha * f);
                  ((v.TL = m),
                    (v.TR = m),
                    (v.BL = m),
                    (v.BR = m),
                    i.batchFillRect(-h, -l, e.width, e.height));
                }
                (e.isStroked && c(i, e, f, h, l), n.pipelines.postBatch(e));
              };
            d.exports = r;
          },
          77843: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(87956),
              c = t(56694),
              a = t(11117),
              r = t(91461),
              n = new c({
                Extends: r,
                Mixins: [A],
                initialize: function (s, u, i, o, h, l, f, v) {
                  (u === void 0 && (u = 0),
                    i === void 0 && (i = 0),
                    o === void 0 && (o = 5),
                    h === void 0 && (h = 32),
                    l === void 0 && (l = 64),
                    r.call(this, s, "Star", null),
                    (this._points = o),
                    (this._innerRadius = h),
                    (this._outerRadius = l),
                    this.setPosition(u, i),
                    this.setSize(l * 2, l * 2),
                    f !== void 0 && this.setFillStyle(f, v),
                    this.updateDisplayOrigin(),
                    this.updateData());
                },
                setPoints: function (e) {
                  return ((this._points = e), this.updateData());
                },
                setInnerRadius: function (e) {
                  return ((this._innerRadius = e), this.updateData());
                },
                setOuterRadius: function (e) {
                  return ((this._outerRadius = e), this.updateData());
                },
                points: {
                  get: function () {
                    return this._points;
                  },
                  set: function (e) {
                    ((this._points = e), this.updateData());
                  },
                },
                innerRadius: {
                  get: function () {
                    return this._innerRadius;
                  },
                  set: function (e) {
                    ((this._innerRadius = e), this.updateData());
                  },
                },
                outerRadius: {
                  get: function () {
                    return this._outerRadius;
                  },
                  set: function (e) {
                    ((this._outerRadius = e), this.updateData());
                  },
                },
                updateData: function () {
                  var e = [],
                    s = this._points,
                    u = this._innerRadius,
                    i = this._outerRadius,
                    o = (Math.PI / 2) * 3,
                    h = Math.PI / s,
                    l = i,
                    f = i;
                  e.push(l, f + -i);
                  for (var v = 0; v < s; v++)
                    (e.push(l + Math.cos(o) * i, f + Math.sin(o) * i),
                      (o += h),
                      e.push(l + Math.cos(o) * u, f + Math.sin(o) * u),
                      (o += h));
                  return (
                    e.push(l, f + -i),
                    (this.pathIndexes = a(e)),
                    (this.pathData = e),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
              });
            d.exports = n;
          },
          11401: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(15608),
              c = t(17876),
              a = t(49584),
              r = function (n, e, s, u) {
                s.addToRenderList(e);
                var i = n.currentContext;
                if (a(n, i, e, s, u)) {
                  var o = e._displayOriginX,
                    h = e._displayOriginY,
                    l = e.pathData,
                    f = l.length - 1,
                    v = l[0] - o,
                    m = l[1] - h;
                  (i.beginPath(), i.moveTo(v, m), e.closePath || (f -= 2));
                  for (var x = 2; x < f; x += 2) {
                    var g = l[x] - o,
                      C = l[x + 1] - h;
                    i.lineTo(g, C);
                  }
                  (i.closePath(),
                    e.isFilled && (A(i, e), i.fill()),
                    e.isStroked && (c(i, e), i.stroke()),
                    i.restore());
                }
              };
            d.exports = r;
          },
          23962: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(77843),
              c = t(61286);
            c.register("star", function (a, r, n, e, s, u, i) {
              return this.displayList.add(
                new A(this.scene, a, r, n, e, s, u, i),
              );
            });
          },
          87956: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72283),
              c = A,
              a = A;
            ((c = t(12037)),
              (a = t(11401)),
              (d.exports = { renderWebGL: c, renderCanvas: a }));
          },
          12037: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(19543),
              c = t(73329),
              a = t(50262),
              r = function (n, e, s, u) {
                s.addToRenderList(e);
                var i = n.pipelines.set(e.pipeline),
                  o = c(e, s, u),
                  h = i.calcMatrix.copyFrom(o.calc),
                  l = e._displayOriginX,
                  f = e._displayOriginY,
                  v = s.alpha * e.alpha;
                (n.pipelines.preBatch(e),
                  e.isFilled && A(i, h, e, v, l, f),
                  e.isStroked && a(i, e, v, l, f),
                  n.pipelines.postBatch(e));
              };
            d.exports = r;
          },
          21873: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(91461),
              a = t(66349),
              r = t(70498),
              n = new A({
                Extends: c,
                Mixins: [r],
                initialize: function (s, u, i, o, h, l, f, v, m, x, g) {
                  (u === void 0 && (u = 0),
                    i === void 0 && (i = 0),
                    o === void 0 && (o = 0),
                    h === void 0 && (h = 128),
                    l === void 0 && (l = 64),
                    f === void 0 && (f = 0),
                    v === void 0 && (v = 128),
                    m === void 0 && (m = 128),
                    c.call(this, s, "Triangle", new a(o, h, l, f, v, m)));
                  var C = this.geom.right - this.geom.left,
                    T = this.geom.bottom - this.geom.top;
                  (this.setPosition(u, i),
                    this.setSize(C, T),
                    x !== void 0 && this.setFillStyle(x, g),
                    this.updateDisplayOrigin(),
                    this.updateData());
                },
                setTo: function (e, s, u, i, o, h) {
                  return (this.geom.setTo(e, s, u, i, o, h), this.updateData());
                },
                updateData: function () {
                  var e = [],
                    s = this.geom,
                    u = this._tempLine;
                  return (
                    s.getLineA(u),
                    e.push(u.x1, u.y1, u.x2, u.y2),
                    s.getLineB(u),
                    e.push(u.x2, u.y2),
                    s.getLineC(u),
                    e.push(u.x2, u.y2),
                    (this.pathData = e),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
              });
            d.exports = n;
          },
          60213: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(15608),
              c = t(17876),
              a = t(49584),
              r = function (n, e, s, u) {
                s.addToRenderList(e);
                var i = n.currentContext;
                if (a(n, i, e, s, u)) {
                  var o = e._displayOriginX,
                    h = e._displayOriginY,
                    l = e.geom.x1 - o,
                    f = e.geom.y1 - h,
                    v = e.geom.x2 - o,
                    m = e.geom.y2 - h,
                    x = e.geom.x3 - o,
                    g = e.geom.y3 - h;
                  (i.beginPath(),
                    i.moveTo(l, f),
                    i.lineTo(v, m),
                    i.lineTo(x, g),
                    i.closePath(),
                    e.isFilled && (A(i, e), i.fill()),
                    e.isStroked && (c(i, e), i.stroke()),
                    i.restore());
                }
              };
            d.exports = r;
          },
          79296: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(61286),
              c = t(21873);
            A.register("triangle", function (a, r, n, e, s, u, i, o, h, l) {
              return this.displayList.add(
                new c(this.scene, a, r, n, e, s, u, i, o, h, l),
              );
            });
          },
          70498: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72283),
              c = A,
              a = A;
            ((c = t(72291)),
              (a = t(60213)),
              (d.exports = { renderWebGL: c, renderCanvas: a }));
          },
          72291: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(73329),
              c = t(50262),
              a = t(75512),
              r = function (n, e, s, u) {
                s.addToRenderList(e);
                var i = n.pipelines.set(e.pipeline),
                  o = A(e, s, u);
                i.calcMatrix.copyFrom(o.calc);
                var h = e._displayOriginX,
                  l = e._displayOriginY,
                  f = s.alpha * e.alpha;
                if ((n.pipelines.preBatch(e), e.isFilled)) {
                  var v = i.fillTint,
                    m = a.getTintAppendFloatAlpha(e.fillColor, e.fillAlpha * f);
                  ((v.TL = m), (v.TR = m), (v.BL = m), (v.BR = m));
                  var x = e.geom.x1 - h,
                    g = e.geom.y1 - l,
                    C = e.geom.x2 - h,
                    T = e.geom.y2 - l,
                    F = e.geom.x3 - h,
                    w = e.geom.y3 - l;
                  i.batchFillTriangle(x, g, C, T, F, w, o.sprite, o.camera);
                }
                (e.isStroked && c(i, e, f, h, l), n.pipelines.postBatch(e));
              };
            d.exports = r;
          },
          13747: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(16569),
              c = t(56694),
              a = t(64937),
              r = t(89980),
              n = t(20791),
              e = new c({
                Extends: r,
                Mixins: [
                  a.Alpha,
                  a.BlendMode,
                  a.Depth,
                  a.Flip,
                  a.GetBounds,
                  a.Mask,
                  a.Origin,
                  a.Pipeline,
                  a.PostPipeline,
                  a.ScrollFactor,
                  a.Size,
                  a.TextureCrop,
                  a.Tint,
                  a.Transform,
                  a.Visible,
                  n,
                ],
                initialize: function (u, i, o, h, l) {
                  (r.call(this, u, "Sprite"),
                    (this._crop = this.resetCropObject()),
                    (this.anims = new A(this)),
                    this.setTexture(h, l),
                    this.setPosition(i, o),
                    this.setSizeToFrame(),
                    this.setOriginFromFrame(),
                    this.initPipeline(),
                    this.initPostPipeline(!0));
                },
                addedToScene: function () {
                  this.scene.sys.updateList.add(this);
                },
                removedFromScene: function () {
                  this.scene.sys.updateList.remove(this);
                },
                preUpdate: function (s, u) {
                  this.anims.update(s, u);
                },
                play: function (s, u) {
                  return this.anims.play(s, u);
                },
                playReverse: function (s, u) {
                  return this.anims.playReverse(s, u);
                },
                playAfterDelay: function (s, u) {
                  return this.anims.playAfterDelay(s, u);
                },
                playAfterRepeat: function (s, u) {
                  return this.anims.playAfterRepeat(s, u);
                },
                chain: function (s) {
                  return this.anims.chain(s);
                },
                stop: function () {
                  return this.anims.stop();
                },
                stopAfterDelay: function (s) {
                  return this.anims.stopAfterDelay(s);
                },
                stopAfterRepeat: function (s) {
                  return this.anims.stopAfterRepeat(s);
                },
                stopOnFrame: function (s) {
                  return this.anims.stopOnFrame(s);
                },
                toJSON: function () {
                  return a.ToJSON(this);
                },
                preDestroy: function () {
                  (this.anims.destroy(), (this.anims = void 0));
                },
              });
            d.exports = e;
          },
          27573: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              (c.addToRenderList(A), t.batchSprite(A, A.frame, c, a));
            };
            d.exports = y;
          },
          89219: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(88933),
              c = t(32291),
              a = t(99325),
              r = t(20494),
              n = t(13747);
            a.register("sprite", function (e, s) {
              e === void 0 && (e = {});
              var u = r(e, "key", null),
                i = r(e, "frame", null),
                o = new n(this.scene, 0, 0, u, i);
              return (
                s !== void 0 && (e.add = s),
                A(this.scene, o, e),
                c(o, e),
                o
              );
            });
          },
          66135: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(61286),
              c = t(13747);
            A.register("sprite", function (a, r, n, e) {
              return this.displayList.add(new c(this.scene, a, r, n, e));
            });
          },
          20791: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72283),
              c = A,
              a = A;
            ((c = t(21034)),
              (a = t(27573)),
              (d.exports = { renderWebGL: c, renderCanvas: a }));
          },
          21034: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              (c.addToRenderList(A), A.pipeline.batchSprite(A, c, a));
            };
            d.exports = y;
          },
          32979: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              var a = t.canvas,
                r = t.context,
                n = t.style,
                e = [],
                s = 0,
                u = c.length;
              (n.maxLines > 0 && n.maxLines < c.length && (u = n.maxLines),
                n.syncFont(a, r));
              for (var i = 0; i < u; i++) {
                var o = n.strokeThickness;
                ((o += r.measureText(c[i]).width),
                  c[i].length > 1 && (o += t.letterSpacing * (c[i].length - 1)),
                  n.wordWrap && (o -= r.measureText(" ").width),
                  (e[i] = Math.ceil(o)),
                  (s = Math.max(s, e[i])));
              }
              var h = A.fontSize + n.strokeThickness,
                l = h * u,
                f = t.lineSpacing;
              return (
                u > 1 && (l += f * (u - 1)),
                {
                  width: s,
                  height: l,
                  lines: u,
                  lineWidths: e,
                  lineSpacing: f,
                  lineHeight: h,
                }
              );
            };
            d.exports = y;
          },
          27030: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(61068),
              c = function (a) {
                var r = A.create(this),
                  n = r.getContext("2d", { willReadFrequently: !0 });
                a.syncFont(r, n);
                var e = n.measureText(a.testString);
                if ("actualBoundingBoxAscent" in e) {
                  var s = e.actualBoundingBoxAscent,
                    u = e.actualBoundingBoxDescent;
                  return (
                    A.remove(r),
                    { ascent: s, descent: u, fontSize: s + u }
                  );
                }
                var i = Math.ceil(e.width * a.baselineX),
                  o = i,
                  h = 2 * o;
                ((o = (o * a.baselineY) | 0),
                  (r.width = i),
                  (r.height = h),
                  (n.fillStyle = "#f00"),
                  n.fillRect(0, 0, i, h),
                  (n.font = a._font),
                  (n.textBaseline = "alphabetic"),
                  (n.fillStyle = "#000"),
                  n.fillText(a.testString, 0, o));
                var l = { ascent: 0, descent: 0, fontSize: 0 },
                  f = n.getImageData(0, 0, i, h);
                if (!f)
                  return (
                    (l.ascent = o),
                    (l.descent = o + 6),
                    (l.fontSize = l.ascent + l.descent),
                    A.remove(r),
                    l
                  );
                var v = f.data,
                  m = v.length,
                  x = i * 4,
                  g,
                  C,
                  T = 0,
                  F = !1;
                for (g = 0; g < o; g++) {
                  for (C = 0; C < x; C += 4)
                    if (v[T + C] !== 255) {
                      F = !0;
                      break;
                    }
                  if (!F) T += x;
                  else break;
                }
                for (l.ascent = o - g, T = m - x, F = !1, g = h; g > o; g--) {
                  for (C = 0; C < x; C += 4)
                    if (v[T + C] !== 255) {
                      F = !0;
                      break;
                    }
                  if (!F) T -= x;
                  else break;
                }
                return (
                  (l.descent = g - o),
                  (l.fontSize = l.ascent + l.descent),
                  A.remove(r),
                  l
                );
              };
            d.exports = c;
          },
          76555: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(99584),
              c = t(61068),
              a = t(56694),
              r = t(64937),
              n = t(89980),
              e = t(32979),
              s = t(10850),
              u = t(55638),
              i = t(80032),
              o = t(74744),
              h = new a({
                Extends: n,
                Mixins: [
                  r.Alpha,
                  r.BlendMode,
                  r.ComputedSize,
                  r.Crop,
                  r.Depth,
                  r.Flip,
                  r.GetBounds,
                  r.Mask,
                  r.Origin,
                  r.Pipeline,
                  r.PostPipeline,
                  r.ScrollFactor,
                  r.Tint,
                  r.Transform,
                  r.Visible,
                  i,
                ],
                initialize: function (f, v, m, x, g) {
                  (v === void 0 && (v = 0),
                    m === void 0 && (m = 0),
                    n.call(this, f, "Text"),
                    (this.renderer = f.sys.renderer),
                    this.setPosition(v, m),
                    this.setOrigin(0, 0),
                    this.initPipeline(),
                    this.initPostPipeline(!0),
                    (this.canvas = c.create(this)),
                    this.context,
                    (this.style = new o(this, g)),
                    (this.autoRound = !0),
                    (this.splitRegExp = /(?:\r\n|\r|\n)/),
                    (this._text = void 0),
                    (this.padding = { left: 0, right: 0, top: 0, bottom: 0 }),
                    (this.width = 1),
                    (this.height = 1),
                    (this.lineSpacing = 0),
                    (this.letterSpacing = 0),
                    this.style.resolution === 0 && (this.style.resolution = 1),
                    (this._crop = this.resetCropObject()),
                    (this.texture = f.sys.textures.addCanvas(
                      null,
                      this.canvas,
                      !0,
                    )),
                    (this.context = this.texture.context),
                    (this.frame = this.texture.get()),
                    (this.frame.source.resolution = this.style.resolution),
                    this.renderer &&
                      this.renderer.gl &&
                      (this.renderer.deleteTexture(this.frame.source.glTexture),
                      (this.frame.source.glTexture = null)),
                    this.initRTL(),
                    this.setText(x),
                    g && g.padding && this.setPadding(g.padding),
                    g && g.lineSpacing && this.setLineSpacing(g.lineSpacing));
                },
                initRTL: function () {
                  this.style.rtl &&
                    ((this.canvas.dir = "rtl"),
                    (this.context.direction = "rtl"),
                    (this.canvas.style.display = "none"),
                    A(this.canvas, this.scene.sys.canvas),
                    (this.originX = 1));
                },
                runWordWrap: function (l) {
                  var f = this.style;
                  if (f.wordWrapCallback) {
                    var v = f.wordWrapCallback.call(
                      f.wordWrapCallbackScope,
                      l,
                      _____WB$wombat$check$this$function_____(this),
                    );
                    return (
                      Array.isArray(v) &&
                        (v = v.join(`
`)),
                      v
                    );
                  } else
                    return f.wordWrapWidth
                      ? f.wordWrapUseAdvanced
                        ? this.advancedWordWrap(
                            l,
                            this.context,
                            this.style.wordWrapWidth,
                          )
                        : this.basicWordWrap(
                            l,
                            this.context,
                            this.style.wordWrapWidth,
                          )
                      : l;
                },
                advancedWordWrap: function (l, f, v) {
                  for (
                    var m = "",
                      x = l.replace(/ +/gi, " ").split(this.splitRegExp),
                      g = x.length,
                      C = 0;
                    C < g;
                    C++
                  ) {
                    var T = x[C],
                      F = "";
                    T = T.replace(/^ *|\s*$/gi, "");
                    var w = f.measureText(T).width;
                    if (w < v) {
                      m +=
                        T +
                        `
`;
                      continue;
                    }
                    for (
                      var U = v, M = T.split(" "), I = 0;
                      I < M.length;
                      I++
                    ) {
                      var O = M[I],
                        D = O + " ",
                        G = f.measureText(D).width;
                      if (G > U) {
                        if (I === 0) {
                          for (
                            var X = D;
                            X.length &&
                            ((X = X.slice(0, -1)),
                            (G = f.measureText(X).width),
                            !(G <= U));
                          );
                          if (!X.length)
                            throw new Error(
                              "wordWrapWidth < a single character",
                            );
                          var z = O.substr(X.length);
                          ((M[I] = z), (F += X));
                        }
                        var K = M[I].length ? I : I + 1,
                          N = M.slice(K)
                            .join(" ")
                            .replace(/[ \n]*$/gi, "");
                        (x.splice(C + 1, 0, N), (g = x.length));
                        break;
                      } else ((F += D), (U -= G));
                    }
                    m +=
                      F.replace(/[ \n]*$/gi, "") +
                      `
`;
                  }
                  return ((m = m.replace(/[\s|\n]*$/gi, "")), m);
                },
                basicWordWrap: function (l, f, v) {
                  for (
                    var m = "",
                      x = l.split(this.splitRegExp),
                      g = x.length - 1,
                      C = f.measureText(" ").width,
                      T = 0;
                    T <= g;
                    T++
                  ) {
                    for (
                      var F = v, w = x[T].split(" "), U = w.length - 1, M = 0;
                      M <= U;
                      M++
                    ) {
                      var I = w[M],
                        O = f.measureText(I).width,
                        D = O;
                      (M < U && (D += C),
                        D > F &&
                          M > 0 &&
                          ((m += `
`),
                          (F = v)),
                        (m += I),
                        M < U ? ((m += " "), (F -= D)) : (F -= O));
                    }
                    T < g &&
                      (m += `
`);
                  }
                  return m;
                },
                getWrappedText: function (l) {
                  (l === void 0 && (l = this._text),
                    this.style.syncFont(this.canvas, this.context));
                  var f = this.runWordWrap(l);
                  return f.split(this.splitRegExp);
                },
                setText: function (l) {
                  return (
                    !l && l !== 0 && (l = ""),
                    Array.isArray(l) &&
                      (l = l.join(`
`)),
                    l !== this._text &&
                      ((this._text = l.toString()), this.updateText()),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                appendText: function (l, f) {
                  (f === void 0 && (f = !0),
                    !l && l !== 0 && (l = ""),
                    Array.isArray(l) &&
                      (l = l.join(`
`)),
                    (l = l.toString()));
                  var v = this._text.concat(
                    f
                      ? `
` + l
                      : l,
                  );
                  return (
                    v !== this._text && ((this._text = v), this.updateText()),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setStyle: function (l) {
                  return this.style.setStyle(l);
                },
                setFont: function (l) {
                  return this.style.setFont(l);
                },
                setFontFamily: function (l) {
                  return this.style.setFontFamily(l);
                },
                setFontSize: function (l) {
                  return this.style.setFontSize(l);
                },
                setFontStyle: function (l) {
                  return this.style.setFontStyle(l);
                },
                setFixedSize: function (l, f) {
                  return this.style.setFixedSize(l, f);
                },
                setBackgroundColor: function (l) {
                  return this.style.setBackgroundColor(l);
                },
                setFill: function (l) {
                  return this.style.setFill(l);
                },
                setColor: function (l) {
                  return this.style.setColor(l);
                },
                setStroke: function (l, f) {
                  return this.style.setStroke(l, f);
                },
                setShadow: function (l, f, v, m, x, g) {
                  return this.style.setShadow(l, f, v, m, x, g);
                },
                setShadowOffset: function (l, f) {
                  return this.style.setShadowOffset(l, f);
                },
                setShadowColor: function (l) {
                  return this.style.setShadowColor(l);
                },
                setShadowBlur: function (l) {
                  return this.style.setShadowBlur(l);
                },
                setShadowStroke: function (l) {
                  return this.style.setShadowStroke(l);
                },
                setShadowFill: function (l) {
                  return this.style.setShadowFill(l);
                },
                setWordWrapWidth: function (l, f) {
                  return this.style.setWordWrapWidth(l, f);
                },
                setWordWrapCallback: function (l, f) {
                  return this.style.setWordWrapCallback(l, f);
                },
                setAlign: function (l) {
                  return this.style.setAlign(l);
                },
                setResolution: function (l) {
                  return this.style.setResolution(l);
                },
                setLineSpacing: function (l) {
                  return ((this.lineSpacing = l), this.updateText());
                },
                setLetterSpacing: function (l) {
                  return ((this.letterSpacing = l), this.updateText());
                },
                setPadding: function (l, f, v, m) {
                  if (typeof l == "object") {
                    var x = l,
                      g = s(x, "x", null);
                    g !== null
                      ? ((l = g), (v = g))
                      : ((l = s(x, "left", 0)), (v = s(x, "right", l)));
                    var C = s(x, "y", null);
                    C !== null
                      ? ((f = C), (m = C))
                      : ((f = s(x, "top", 0)), (m = s(x, "bottom", f)));
                  } else
                    (l === void 0 && (l = 0),
                      f === void 0 && (f = l),
                      v === void 0 && (v = l),
                      m === void 0 && (m = f));
                  return (
                    (this.padding.left = l),
                    (this.padding.top = f),
                    (this.padding.right = v),
                    (this.padding.bottom = m),
                    this.updateText()
                  );
                },
                setMaxLines: function (l) {
                  return this.style.setMaxLines(l);
                },
                setRTL: function (l) {
                  l === void 0 && (l = !0);
                  var f = this.style;
                  return f.rtl === l
                    ? this
                    : ((f.rtl = l),
                      l
                        ? ((this.canvas.dir = "rtl"),
                          (this.context.direction = "rtl"),
                          (this.canvas.style.display = "none"),
                          A(this.canvas, this.scene.sys.canvas))
                        : ((this.canvas.dir = "ltr"),
                          (this.context.direction = "ltr")),
                      f.align === "left"
                        ? (f.align = "right")
                        : f.align === "right" && (f.align = "left"),
                      _____WB$wombat$check$this$function_____(this));
                },
                updateText: function () {
                  var l = this.canvas,
                    f = this.context,
                    v = this.style,
                    m = v.resolution,
                    x = v.metrics;
                  v.syncFont(l, f);
                  var g = this._text;
                  (v.wordWrapWidth || v.wordWrapCallback) &&
                    (g = this.runWordWrap(this._text));
                  var C = g.split(this.splitRegExp),
                    T = e(this, x, C),
                    F = this.padding,
                    w;
                  (v.fixedWidth === 0
                    ? ((this.width = T.width + F.left + F.right), (w = T.width))
                    : ((this.width = v.fixedWidth),
                      (w = this.width - F.left - F.right),
                      w < T.width && (w = T.width)),
                    v.fixedHeight === 0
                      ? (this.height = T.height + F.top + F.bottom)
                      : (this.height = v.fixedHeight));
                  var U = this.width,
                    M = this.height;
                  (this.updateDisplayOrigin(),
                    (U *= m),
                    (M *= m),
                    (U = Math.max(U, 1)),
                    (M = Math.max(M, 1)),
                    l.width !== U || l.height !== M
                      ? ((l.width = U),
                        (l.height = M),
                        this.frame.setSize(U, M),
                        v.syncFont(l, f),
                        v.rtl && (f.direction = "rtl"))
                      : f.clearRect(0, 0, U, M),
                    f.save(),
                    f.scale(m, m),
                    v.backgroundColor &&
                      ((f.fillStyle = v.backgroundColor),
                      f.fillRect(0, 0, U, M)),
                    v.syncStyle(l, f),
                    f.translate(F.left, F.top));
                  for (var I, O, D = 0; D < T.lines; D++) {
                    if (
                      ((I = v.strokeThickness / 2),
                      (O = v.strokeThickness / 2 + D * T.lineHeight + x.ascent),
                      D > 0 && (O += T.lineSpacing * D),
                      v.rtl)
                    )
                      I = U - I - F.left - F.right;
                    else if (v.align === "right") I += w - T.lineWidths[D];
                    else if (v.align === "center")
                      I += (w - T.lineWidths[D]) / 2;
                    else if (v.align === "justify") {
                      var G = 0.85;
                      if (T.lineWidths[D] / T.width >= G) {
                        var X = T.width - T.lineWidths[D],
                          z = f.measureText(" ").width,
                          K = C[D].trim(),
                          N = K.split(" ");
                        X += (C[D].length - K.length) * z;
                        for (var b = Math.floor(X / z), R = 0; b > 0; )
                          ((N[R] += " "),
                            (R = (R + 1) % (N.length - 1 || 1)),
                            --b);
                        C[D] = N.join(" ");
                      }
                    }
                    if (
                      (this.autoRound &&
                        ((I = Math.round(I)), (O = Math.round(O))),
                      v.strokeThickness &&
                        (v.syncShadow(f, v.shadowStroke),
                        f.strokeText(C[D], I, O)),
                      v.color)
                    ) {
                      v.syncShadow(f, v.shadowFill);
                      var H = this.letterSpacing;
                      if (H !== 0)
                        for (
                          var Q = 0, V = C[D].split(""), Y = 0;
                          Y < V.length;
                          Y++
                        )
                          (f.fillText(V[Y], I + Q, O),
                            (Q += f.measureText(V[Y]).width + H));
                      else f.fillText(C[D], I, O);
                    }
                  }
                  (f.restore(),
                    this.renderer &&
                      this.renderer.gl &&
                      ((this.frame.source.glTexture =
                        this.renderer.canvasToTexture(
                          l,
                          this.frame.source.glTexture,
                          !0,
                        )),
                      (this.frame.glTexture = this.frame.source.glTexture)));
                  var J = this.input;
                  return (
                    J &&
                      !J.customHitArea &&
                      ((J.hitArea.width = this.width),
                      (J.hitArea.height = this.height)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getTextMetrics: function () {
                  return this.style.getTextMetrics();
                },
                text: {
                  get: function () {
                    return this._text;
                  },
                  set: function (l) {
                    this.setText(l);
                  },
                },
                toJSON: function () {
                  var l = r.ToJSON(this),
                    f = {
                      autoRound: this.autoRound,
                      text: this._text,
                      style: this.style.toJSON(),
                      padding: {
                        left: this.padding.left,
                        right: this.padding.right,
                        top: this.padding.top,
                        bottom: this.padding.bottom,
                      },
                    };
                  return ((l.data = f), l);
                },
                preDestroy: function () {
                  (u(this.canvas),
                    c.remove(this.canvas),
                    this.texture.destroy());
                },
              });
            d.exports = h;
          },
          71649: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              A.width === 0 ||
                A.height === 0 ||
                (c.addToRenderList(A), t.batchSprite(A, A.frame, c, a));
            };
            d.exports = y;
          },
          75397: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(88933),
              c = t(99325),
              a = t(20494),
              r = t(76555);
            c.register("text", function (n, e) {
              n === void 0 && (n = {});
              var s = a(n, "text", ""),
                u = a(n, "style", null),
                i = a(n, "padding", null);
              i !== null && (u.padding = i);
              var o = new r(this.scene, 0, 0, s, u);
              return (
                e !== void 0 && (n.add = e),
                A(this.scene, o, n),
                (o.autoRound = a(n, "autoRound", !0)),
                (o.resolution = a(n, "resolution", 1)),
                o
              );
            });
          },
          94627: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(76555),
              c = t(61286);
            c.register("text", function (a, r, n, e) {
              return this.displayList.add(new A(this.scene, a, r, n, e));
            });
          },
          80032: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72283),
              c = A,
              a = A;
            ((c = t(76128)),
              (a = t(71649)),
              (d.exports = { renderWebGL: c, renderCanvas: a }));
          },
          74744: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(20494),
              a = t(10850),
              r = t(27030),
              n = {
                fontFamily: ["fontFamily", "Courier"],
                fontSize: ["fontSize", "16px"],
                fontStyle: ["fontStyle", ""],
                backgroundColor: ["backgroundColor", null],
                color: ["color", "#fff"],
                stroke: ["stroke", "#fff"],
                strokeThickness: ["strokeThickness", 0],
                shadowOffsetX: ["shadow.offsetX", 0],
                shadowOffsetY: ["shadow.offsetY", 0],
                shadowColor: ["shadow.color", "#000"],
                shadowBlur: ["shadow.blur", 0],
                shadowStroke: ["shadow.stroke", !1],
                shadowFill: ["shadow.fill", !1],
                align: ["align", "left"],
                maxLines: ["maxLines", 0],
                fixedWidth: ["fixedWidth", 0],
                fixedHeight: ["fixedHeight", 0],
                resolution: ["resolution", 0],
                rtl: ["rtl", !1],
                testString: ["testString", "|MÃ‰qgy"],
                baselineX: ["baselineX", 1.2],
                baselineY: ["baselineY", 1.4],
                wordWrapWidth: ["wordWrap.width", null],
                wordWrapCallback: ["wordWrap.callback", null],
                wordWrapCallbackScope: ["wordWrap.callbackScope", null],
                wordWrapUseAdvanced: ["wordWrap.useAdvancedWrap", !1],
              },
              e = new A({
                initialize: function (u, i) {
                  ((_____WB$wombat$check$this$function_____(this).parent = u),
                    this.fontFamily,
                    this.fontSize,
                    this.fontStyle,
                    this.backgroundColor,
                    this.color,
                    this.stroke,
                    this.strokeThickness,
                    this.shadowOffsetX,
                    this.shadowOffsetY,
                    this.shadowColor,
                    this.shadowBlur,
                    this.shadowStroke,
                    this.shadowFill,
                    this.align,
                    this.maxLines,
                    this.fixedWidth,
                    this.fixedHeight,
                    this.resolution,
                    this.rtl,
                    this.testString,
                    this.baselineX,
                    this.baselineY,
                    this.wordWrapWidth,
                    this.wordWrapCallback,
                    this.wordWrapCallbackScope,
                    this.wordWrapUseAdvanced,
                    this._font,
                    this.setStyle(i, !1, !0));
                },
                setStyle: function (s, u, i) {
                  (u === void 0 && (u = !0),
                    i === void 0 && (i = !1),
                    s &&
                      s.hasOwnProperty("fontSize") &&
                      typeof s.fontSize == "number" &&
                      (s.fontSize = s.fontSize.toString() + "px"));
                  for (var o in n) {
                    var h = i ? n[o][1] : this[o];
                    o === "wordWrapCallback" || o === "wordWrapCallbackScope"
                      ? (this[o] = a(s, n[o][0], h))
                      : (this[o] = c(s, n[o][0], h));
                  }
                  var l = a(s, "font", null);
                  (l !== null && this.setFont(l, !1),
                    (this._font = [
                      this.fontStyle,
                      this.fontSize,
                      this.fontFamily,
                    ]
                      .join(" ")
                      .trim()));
                  var f = a(s, "fill", null);
                  f !== null && (this.color = f);
                  var v = a(s, "metrics", !1);
                  return (
                    v
                      ? (this.metrics = {
                          ascent: a(v, "ascent", 0),
                          descent: a(v, "descent", 0),
                          fontSize: a(v, "fontSize", 0),
                        })
                      : (u || !this.metrics) && (this.metrics = r(this)),
                    u
                      ? _____WB$wombat$check$this$function_____(
                          this,
                        ).parent.updateText()
                      : _____WB$wombat$check$this$function_____(this).parent
                  );
                },
                syncFont: function (s, u) {
                  u.font = this._font;
                },
                syncStyle: function (s, u) {
                  ((u.textBaseline = "alphabetic"),
                    (u.fillStyle = this.color),
                    (u.strokeStyle = this.stroke),
                    (u.lineWidth = this.strokeThickness),
                    (u.lineCap = "round"),
                    (u.lineJoin = "round"));
                },
                syncShadow: function (s, u) {
                  u
                    ? ((s.shadowOffsetX = this.shadowOffsetX),
                      (s.shadowOffsetY = this.shadowOffsetY),
                      (s.shadowColor = this.shadowColor),
                      (s.shadowBlur = this.shadowBlur))
                    : ((s.shadowOffsetX = 0),
                      (s.shadowOffsetY = 0),
                      (s.shadowColor = 0),
                      (s.shadowBlur = 0));
                },
                update: function (s) {
                  return (
                    s &&
                      ((this._font = [
                        this.fontStyle,
                        this.fontSize,
                        this.fontFamily,
                      ]
                        .join(" ")
                        .trim()),
                      (this.metrics = r(this))),
                    _____WB$wombat$check$this$function_____(
                      this,
                    ).parent.updateText()
                  );
                },
                setFont: function (s, u) {
                  u === void 0 && (u = !0);
                  var i = s,
                    o = "",
                    h = "";
                  if (typeof s != "string")
                    ((i = a(s, "fontFamily", "Courier")),
                      (o = a(s, "fontSize", "16px")),
                      (h = a(s, "fontStyle", "")));
                  else {
                    var l = s.split(" "),
                      f = 0;
                    ((h = l.length > 2 ? l[f++] : ""),
                      (o = l[f++] || "16px"),
                      (i = l[f++] || "Courier"));
                  }
                  return (
                    (i !== this.fontFamily ||
                      o !== this.fontSize ||
                      h !== this.fontStyle) &&
                      ((this.fontFamily = i),
                      (this.fontSize = o),
                      (this.fontStyle = h),
                      u && this.update(!0)),
                    _____WB$wombat$check$this$function_____(this).parent
                  );
                },
                setFontFamily: function (s) {
                  return (
                    this.fontFamily !== s &&
                      ((this.fontFamily = s), this.update(!0)),
                    _____WB$wombat$check$this$function_____(this).parent
                  );
                },
                setFontStyle: function (s) {
                  return (
                    this.fontStyle !== s &&
                      ((this.fontStyle = s), this.update(!0)),
                    _____WB$wombat$check$this$function_____(this).parent
                  );
                },
                setFontSize: function (s) {
                  return (
                    typeof s == "number" && (s = s.toString() + "px"),
                    this.fontSize !== s &&
                      ((this.fontSize = s), this.update(!0)),
                    _____WB$wombat$check$this$function_____(this).parent
                  );
                },
                setTestString: function (s) {
                  return ((this.testString = s), this.update(!0));
                },
                setFixedSize: function (s, u) {
                  return (
                    (this.fixedWidth = s),
                    (this.fixedHeight = u),
                    s &&
                      (_____WB$wombat$check$this$function_____(
                        this,
                      ).parent.width = s),
                    u &&
                      (_____WB$wombat$check$this$function_____(
                        this,
                      ).parent.height = u),
                    this.update(!1)
                  );
                },
                setBackgroundColor: function (s) {
                  return ((this.backgroundColor = s), this.update(!1));
                },
                setFill: function (s) {
                  return ((this.color = s), this.update(!1));
                },
                setColor: function (s) {
                  return ((this.color = s), this.update(!1));
                },
                setResolution: function (s) {
                  return ((this.resolution = s), this.update(!1));
                },
                setStroke: function (s, u) {
                  return (
                    u === void 0 && (u = this.strokeThickness),
                    s === void 0 && this.strokeThickness !== 0
                      ? ((this.strokeThickness = 0), this.update(!0))
                      : (this.stroke !== s || this.strokeThickness !== u) &&
                        ((this.stroke = s),
                        (this.strokeThickness = u),
                        this.update(!0)),
                    _____WB$wombat$check$this$function_____(this).parent
                  );
                },
                setShadow: function (s, u, i, o, h, l) {
                  return (
                    s === void 0 && (s = 0),
                    u === void 0 && (u = 0),
                    i === void 0 && (i = "#000"),
                    o === void 0 && (o = 0),
                    h === void 0 && (h = !1),
                    l === void 0 && (l = !0),
                    (this.shadowOffsetX = s),
                    (this.shadowOffsetY = u),
                    (this.shadowColor = i),
                    (this.shadowBlur = o),
                    (this.shadowStroke = h),
                    (this.shadowFill = l),
                    this.update(!1)
                  );
                },
                setShadowOffset: function (s, u) {
                  return (
                    s === void 0 && (s = 0),
                    u === void 0 && (u = s),
                    (this.shadowOffsetX = s),
                    (this.shadowOffsetY = u),
                    this.update(!1)
                  );
                },
                setShadowColor: function (s) {
                  return (
                    s === void 0 && (s = "#000"),
                    (this.shadowColor = s),
                    this.update(!1)
                  );
                },
                setShadowBlur: function (s) {
                  return (
                    s === void 0 && (s = 0),
                    (this.shadowBlur = s),
                    this.update(!1)
                  );
                },
                setShadowStroke: function (s) {
                  return ((this.shadowStroke = s), this.update(!1));
                },
                setShadowFill: function (s) {
                  return ((this.shadowFill = s), this.update(!1));
                },
                setWordWrapWidth: function (s, u) {
                  return (
                    u === void 0 && (u = !1),
                    (this.wordWrapWidth = s),
                    (this.wordWrapUseAdvanced = u),
                    this.update(!1)
                  );
                },
                setWordWrapCallback: function (s, u) {
                  return (
                    u === void 0 && (u = null),
                    (this.wordWrapCallback = s),
                    (this.wordWrapCallbackScope = u),
                    this.update(!1)
                  );
                },
                setAlign: function (s) {
                  return (
                    s === void 0 && (s = "left"),
                    (this.align = s),
                    this.update(!1)
                  );
                },
                setMaxLines: function (s) {
                  return (
                    s === void 0 && (s = 0),
                    (this.maxLines = s),
                    this.update(!1)
                  );
                },
                getTextMetrics: function () {
                  var s = this.metrics;
                  return {
                    ascent: s.ascent,
                    descent: s.descent,
                    fontSize: s.fontSize,
                  };
                },
                toJSON: function () {
                  var s = {};
                  for (var u in n)
                    s[u] = _____WB$wombat$check$this$function_____(this)[u];
                  return ((s.metrics = this.getTextMetrics()), s);
                },
                destroy: function () {
                  _____WB$wombat$check$this$function_____(this).parent = void 0;
                },
              });
            d.exports = e;
          },
          76128: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(75512),
              c = function (a, r, n, e) {
                if (!(r.width === 0 || r.height === 0)) {
                  n.addToRenderList(r);
                  var s = r.frame,
                    u = s.width,
                    i = s.height,
                    o = A.getTintAppendFloatAlpha,
                    h = a.pipelines.set(r.pipeline, r),
                    l = h.setTexture2D(s.glTexture, r);
                  h.batchTexture(
                    r,
                    s.glTexture,
                    u,
                    i,
                    r.x,
                    r.y,
                    u / r.style.resolution,
                    i / r.style.resolution,
                    r.scaleX,
                    r.scaleY,
                    r.rotation,
                    r.flipX,
                    r.flipY,
                    r.scrollFactorX,
                    r.scrollFactorY,
                    r.displayOriginX,
                    r.displayOriginY,
                    0,
                    0,
                    u,
                    i,
                    o(r.tintTopLeft, n.alpha * r._alphaTL),
                    o(r.tintTopRight, n.alpha * r._alphaTR),
                    o(r.tintBottomLeft, n.alpha * r._alphaBL),
                    o(r.tintBottomRight, n.alpha * r._alphaBR),
                    r.tintFill,
                    0,
                    0,
                    n,
                    e,
                    !1,
                    l,
                  );
                }
              };
            d.exports = c;
          },
          35856: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(61068),
              c = t(56694),
              a = t(64937),
              r = t(89980),
              n = t(3504),
              e = t(8213),
              s = t(9271),
              u = t(93736),
              i = 8,
              o = new c({
                Extends: r,
                Mixins: [
                  a.Alpha,
                  a.BlendMode,
                  a.ComputedSize,
                  a.Crop,
                  a.Depth,
                  a.Flip,
                  a.GetBounds,
                  a.Mask,
                  a.Origin,
                  a.Pipeline,
                  a.PostPipeline,
                  a.ScrollFactor,
                  a.Tint,
                  a.Transform,
                  a.Visible,
                  s,
                ],
                initialize: function (l, f, v, m, x, g, C) {
                  var T = l.sys.renderer;
                  r.call(this, l, "TileSprite");
                  var F = l.sys.textures.get(g),
                    w = F.get(C);
                  (w.source.compressionAlgorithm &&
                    (console.warn("TileSprite cannot use compressed texture"),
                    (F = l.sys.textures.get("__MISSING")),
                    (w = F.get())),
                    F.type === "DynamicTexture" &&
                      (console.warn("TileSprite cannot use Dynamic Texture"),
                      (F = l.sys.textures.get("__MISSING")),
                      (w = F.get())),
                    !m || !x
                      ? ((m = w.width), (x = w.height))
                      : ((m = Math.floor(m)), (x = Math.floor(x))),
                    (this._tilePosition = new u()),
                    (this._tileScale = new u(1, 1)),
                    (this.dirty = !1),
                    (this.renderer = T),
                    (this.canvas = A.create(this, m, x)),
                    (this.context = this.canvas.getContext("2d", {
                      willReadFrequently: !1,
                    })),
                    (this.displayTexture = F),
                    (this.displayFrame = w),
                    (this._crop = this.resetCropObject()),
                    (this.texture = l.sys.textures.addCanvas(
                      null,
                      this.canvas,
                      !0,
                    )),
                    (this.frame = this.texture.get()),
                    (this.potWidth = n(w.width)),
                    (this.potHeight = n(w.height)),
                    (this.fillCanvas = A.create2D(
                      this,
                      this.potWidth,
                      this.potHeight,
                    )),
                    (this.fillContext = this.fillCanvas.getContext("2d", {
                      willReadFrequently: !1,
                    })),
                    (this.fillPattern = null),
                    this.setPosition(f, v),
                    this.setSize(m, x),
                    this.setFrame(C),
                    this.setOriginFromFrame(),
                    this.initPipeline(),
                    this.initPostPipeline(!0));
                },
                setTexture: function (h, l) {
                  return (
                    (this.displayTexture = this.scene.sys.textures.get(h)),
                    this.setFrame(l)
                  );
                },
                setFrame: function (h) {
                  var l = this.displayTexture.get(h);
                  return (
                    (this.potWidth = n(l.width)),
                    (this.potHeight = n(l.height)),
                    (this.canvas.width = 0),
                    !l.cutWidth || !l.cutHeight
                      ? (this.renderFlags &= ~i)
                      : (this.renderFlags |= i),
                    (this.displayFrame = l),
                    (this.dirty = !0),
                    this.updateTileTexture(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setTilePosition: function (h, l) {
                  return (
                    h !== void 0 && (this.tilePositionX = h),
                    l !== void 0 && (this.tilePositionY = l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setTileScale: function (h, l) {
                  return (
                    h === void 0 && (h = this.tileScaleX),
                    l === void 0 && (l = h),
                    (this.tileScaleX = h),
                    (this.tileScaleY = l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                updateTileTexture: function () {
                  if (!(!this.dirty || !this.renderer)) {
                    var h = this.displayFrame;
                    if (h.source.isRenderTexture || h.source.isGLTexture) {
                      (console.warn(
                        "TileSprites can only use Image or Canvas based textures",
                      ),
                        (this.dirty = !1));
                      return;
                    }
                    var l = this.fillContext,
                      f = this.fillCanvas,
                      v = this.potWidth,
                      m = this.potHeight;
                    ((!this.renderer || !this.renderer.gl) &&
                      ((v = h.cutWidth), (m = h.cutHeight)),
                      l.clearRect(0, 0, v, m),
                      (f.width = v),
                      (f.height = m),
                      l.drawImage(
                        h.source.image,
                        h.cutX,
                        h.cutY,
                        h.cutWidth,
                        h.cutHeight,
                        0,
                        0,
                        v,
                        m,
                      ),
                      this.renderer && this.renderer.gl
                        ? (this.fillPattern = this.renderer.canvasToTexture(
                            f,
                            this.fillPattern,
                          ))
                        : (this.fillPattern = l.createPattern(f, "repeat")),
                      this.updateCanvas(),
                      (this.dirty = !1));
                  }
                },
                updateCanvas: function () {
                  var h = this.canvas;
                  if (
                    ((h.width !== this.width || h.height !== this.height) &&
                      ((h.width = this.width),
                      (h.height = this.height),
                      this.frame.setSize(this.width, this.height),
                      this.updateDisplayOrigin(),
                      (this.dirty = !0)),
                    !this.dirty || (this.renderer && this.renderer.gl))
                  ) {
                    this.dirty = !1;
                    return;
                  }
                  var l = this.context;
                  this.scene.sys.game.config.antialias || e.disable(l);
                  var f = this._tileScale.x,
                    v = this._tileScale.y,
                    m = this._tilePosition.x,
                    x = this._tilePosition.y;
                  (l.clearRect(0, 0, this.width, this.height),
                    l.save(),
                    l.scale(f, v),
                    l.translate(-m, -x),
                    (l.fillStyle = this.fillPattern),
                    l.fillRect(m, x, this.width / f, this.height / v),
                    l.restore(),
                    (this.dirty = !1));
                },
                preDestroy: function () {
                  (this.renderer &&
                    this.renderer.gl &&
                    this.renderer.deleteTexture(this.fillPattern),
                    A.remove(this.canvas),
                    A.remove(this.fillCanvas),
                    (this.fillPattern = null),
                    (this.fillContext = null),
                    (this.fillCanvas = null),
                    (this.displayTexture = null),
                    (this.displayFrame = null),
                    this.texture.destroy(),
                    (this.renderer = null));
                },
                tilePositionX: {
                  get: function () {
                    return this._tilePosition.x;
                  },
                  set: function (h) {
                    ((this._tilePosition.x = h), (this.dirty = !0));
                  },
                },
                tilePositionY: {
                  get: function () {
                    return this._tilePosition.y;
                  },
                  set: function (h) {
                    ((this._tilePosition.y = h), (this.dirty = !0));
                  },
                },
                tileScaleX: {
                  get: function () {
                    return this._tileScale.x;
                  },
                  set: function (h) {
                    ((this._tileScale.x = h), (this.dirty = !0));
                  },
                },
                tileScaleY: {
                  get: function () {
                    return this._tileScale.y;
                  },
                  set: function (h) {
                    ((this._tileScale.y = h), (this.dirty = !0));
                  },
                },
              });
            d.exports = o;
          },
          93305: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              (A.updateCanvas(),
                c.addToRenderList(A),
                t.batchSprite(A, A.frame, c, a));
            };
            d.exports = y;
          },
          63950: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(88933),
              c = t(99325),
              a = t(20494),
              r = t(35856);
            c.register("tileSprite", function (n, e) {
              n === void 0 && (n = {});
              var s = a(n, "x", 0),
                u = a(n, "y", 0),
                i = a(n, "width", 512),
                o = a(n, "height", 512),
                h = a(n, "key", ""),
                l = a(n, "frame", ""),
                f = new r(this.scene, s, u, i, o, h, l);
              return (e !== void 0 && (n.add = e), A(this.scene, f, n), f);
            });
          },
          20509: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(35856),
              c = t(61286);
            c.register("tileSprite", function (a, r, n, e, s, u) {
              return this.displayList.add(new A(this.scene, a, r, n, e, s, u));
            });
          },
          9271: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72283),
              c = A,
              a = A;
            ((c = t(74287)),
              (a = t(93305)),
              (d.exports = { renderWebGL: c, renderCanvas: a }));
          },
          74287: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(75512),
              c = function (a, r, n, e) {
                r.updateCanvas();
                var s = r.width,
                  u = r.height;
                if (!(s === 0 || u === 0)) {
                  n.addToRenderList(r);
                  var i = A.getTintAppendFloatAlpha,
                    o = a.pipelines.set(r.pipeline, r),
                    h = o.setTexture2D(r.fillPattern, r);
                  o.batchTexture(
                    r,
                    r.fillPattern,
                    r.displayFrame.width * r.tileScaleX,
                    r.displayFrame.height * r.tileScaleY,
                    r.x,
                    r.y,
                    s,
                    u,
                    r.scaleX,
                    r.scaleY,
                    r.rotation,
                    r.flipX,
                    r.flipY,
                    r.scrollFactorX,
                    r.scrollFactorY,
                    r.originX * s,
                    r.originY * u,
                    0,
                    0,
                    s,
                    u,
                    i(r.tintTopLeft, n.alpha * r._alphaTL),
                    i(r.tintTopRight, n.alpha * r._alphaTR),
                    i(r.tintBottomLeft, n.alpha * r._alphaBL),
                    i(r.tintBottomRight, n.alpha * r._alphaBR),
                    r.tintFill,
                    (r.tilePositionX % r.displayFrame.width) /
                      r.displayFrame.width,
                    (r.tilePositionY % r.displayFrame.height) /
                      r.displayFrame.height,
                    n,
                    e,
                    !1,
                    h,
                  );
                }
              };
            d.exports = c;
          },
          8630: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(82897),
              c = t(56694),
              a = t(64937),
              r = t(56631),
              n = t(97081),
              e = t(89980),
              s = t(83392),
              u = t(76038),
              i = t(76583),
              o = t(77974),
              h = new c({
                Extends: e,
                Mixins: [
                  a.Alpha,
                  a.BlendMode,
                  a.Depth,
                  a.Flip,
                  a.GetBounds,
                  a.Mask,
                  a.Origin,
                  a.Pipeline,
                  a.PostPipeline,
                  a.ScrollFactor,
                  a.Size,
                  a.TextureCrop,
                  a.Tint,
                  a.Transform,
                  a.Visible,
                  o,
                ],
                initialize: function (f, v, m, x) {
                  (e.call(this, f, "Video"),
                    this.video,
                    this.videoTexture,
                    this.videoTextureSource,
                    this.snapshotTexture,
                    (this.flipY = !1),
                    (this._key = i()),
                    (this.touchLocked = !1),
                    (this.playWhenUnlocked = !1),
                    (this.frameReady = !1),
                    (this.isStalled = !1),
                    (this.failedPlayAttempts = 0),
                    this.metadata,
                    (this.retry = 0),
                    (this.retryInterval = 500),
                    (this._systemMuted = !1),
                    (this._codeMuted = !1),
                    (this._systemPaused = !1),
                    (this._codePaused = !1),
                    (this._callbacks = {
                      ended: this.completeHandler.bind(this),
                      legacy: this.legacyPlayHandler.bind(this),
                      playing: this.playingHandler.bind(this),
                      seeked: this.seekedHandler.bind(this),
                      seeking: this.seekingHandler.bind(this),
                      stalled: this.stalledHandler.bind(this),
                      suspend: this.stalledHandler.bind(this),
                      waiting: this.stalledHandler.bind(this),
                    }),
                    (this._loadCallbackHandler =
                      this.loadErrorHandler.bind(this)),
                    (this._crop = this.resetCropObject()),
                    (this.markers = {}),
                    (this._markerIn = 0),
                    (this._markerOut = 0),
                    (this._playingMarker = !1),
                    (this._lastUpdate = 0),
                    (this.cacheKey = ""),
                    (this.isSeeking = !1),
                    (this._playCalled = !1),
                    (this._rfvCallbackId = 0));
                  var g = f.sys.game;
                  ((this._device = g.device.video),
                    this.setPosition(v, m),
                    this.setSize(256, 256),
                    this.initPipeline(),
                    this.initPostPipeline(!0),
                    g.events.on(
                      n.PAUSE,
                      this.globalPause,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    g.events.on(
                      n.RESUME,
                      this.globalResume,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                  var C = f.sys.sound;
                  (C &&
                    C.on(
                      u.GLOBAL_MUTE,
                      this.globalMute,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    x && this.load(x));
                },
                addedToScene: function () {
                  this.scene.sys.updateList.add(this);
                },
                removedFromScene: function () {
                  this.scene.sys.updateList.remove(this);
                },
                load: function (l) {
                  var f = this.scene.sys.cache.video.get(l);
                  return (
                    f
                      ? ((this.cacheKey = l),
                        this.loadHandler(f.url, f.noAudio, f.crossOrigin))
                      : console.warn("No video in cache for key: " + l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                changeSource: function (l, f, v, m, x) {
                  (f === void 0 && (f = !0),
                    v === void 0 && (v = !1),
                    this.cacheKey !== l &&
                      (this.load(l), f && this.play(v, m, x)));
                },
                getVideoKey: function () {
                  return this.cacheKey;
                },
                loadURL: function (l, f, v) {
                  f === void 0 && (f = !1);
                  var m = this._device.getVideoURL(l);
                  return (
                    m
                      ? ((this.cacheKey = ""), this.loadHandler(m.url, f, v))
                      : console.warn(
                          "No supported video format found for " + l,
                        ),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                loadMediaStream: function (l, f, v) {
                  return this.loadHandler(null, f, v, l);
                },
                loadHandler: function (l, f, v, m) {
                  f || (f = !1);
                  var x = this.video;
                  if (
                    (x
                      ? (this.removeLoadEventHandlers(), this.stop())
                      : ((x = document.createElement("video")),
                        (x.controls = !1),
                        x.setAttribute("playsinline", "playsinline"),
                        x.setAttribute("preload", "auto"),
                        x.setAttribute("disablePictureInPicture", "true")),
                    f
                      ? ((x.muted = !0),
                        (x.defaultMuted = !0),
                        x.setAttribute("autoplay", "autoplay"))
                      : ((x.muted = !1),
                        (x.defaultMuted = !1),
                        x.removeAttribute("autoplay")),
                    v
                      ? x.setAttribute("crossorigin", v)
                      : x.removeAttribute("crossorigin"),
                    m)
                  )
                    if ("srcObject" in x)
                      try {
                        x.srcObject = m;
                      } catch (g) {
                        if (g.name !== "TypeError") throw g;
                        x.src = URL.createObjectURL(m);
                      }
                    else x.src = URL.createObjectURL(m);
                  else x.src = l;
                  return (
                    this.addLoadEventHandlers(),
                    (this.retry = 0),
                    (this.video = x),
                    (this._playCalled = !1),
                    x.load(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                requestVideoFrame: function (l, f) {
                  var v = this.video;
                  if (v) {
                    var m = f.width,
                      x = f.height,
                      g = this.videoTexture,
                      C = this.videoTextureSource,
                      T = !g || C.source !== v;
                    (T
                      ? ((this._codePaused = v.paused),
                        (this._codeMuted = v.muted),
                        g
                          ? ((C.source = v),
                            (C.width = m),
                            (C.height = x),
                            g.get().setSize(m, x))
                          : ((g = this.scene.sys.textures.create(
                              this._key,
                              v,
                              m,
                              x,
                            )),
                            g.add("__BASE", 0, 0, 0, m, x),
                            this.setTexture(g),
                            (this.videoTexture = g),
                            (this.videoTextureSource = g.source[0]),
                            this.videoTextureSource.setFlipY(this.flipY),
                            this.emit(
                              r.VIDEO_TEXTURE,
                              _____WB$wombat$check$this$function_____(this),
                              g,
                            )),
                        this.setSizeToFrame(),
                        this.updateDisplayOrigin())
                      : C.update(),
                      (this.isStalled = !1),
                      (this.metadata = f));
                    var F = f.mediaTime;
                    (T &&
                      ((this._lastUpdate = F),
                      this.emit(
                        r.VIDEO_CREATED,
                        _____WB$wombat$check$this$function_____(this),
                        m,
                        x,
                      ),
                      this.frameReady ||
                        ((this.frameReady = !0),
                        this.emit(
                          r.VIDEO_PLAY,
                          _____WB$wombat$check$this$function_____(this),
                        ))),
                      this._playingMarker
                        ? F >= this._markerOut &&
                          (v.loop
                            ? ((v.currentTime = this._markerIn),
                              this.emit(
                                r.VIDEO_LOOP,
                                _____WB$wombat$check$this$function_____(this),
                              ))
                            : (this.stop(!1),
                              this.emit(
                                r.VIDEO_COMPLETE,
                                _____WB$wombat$check$this$function_____(this),
                              )))
                        : F < this._lastUpdate &&
                          this.emit(
                            r.VIDEO_LOOP,
                            _____WB$wombat$check$this$function_____(this),
                          ),
                      (this._lastUpdate = F),
                      (this._rfvCallbackId =
                        this.video.requestVideoFrameCallback(
                          this.requestVideoFrame.bind(this),
                        )));
                  }
                },
                play: function (l, f, v) {
                  (f === void 0 && (f = -1),
                    v === void 0 && (v = s.MAX_SAFE_INTEGER));
                  var m = this.video;
                  return !m || this.isPlaying()
                    ? (m || console.warn("Video not loaded"),
                      _____WB$wombat$check$this$function_____(this))
                    : (l === void 0 && (l = m.loop),
                      (m.loop = l),
                      (this._markerIn = f),
                      (this._markerOut = v),
                      (this._playingMarker =
                        f > -1 && v > f && v < s.MAX_SAFE_INTEGER),
                      this._playCalled ||
                        ((this._rfvCallbackId = m.requestVideoFrameCallback(
                          this.requestVideoFrame.bind(this),
                        )),
                        (this._playCalled = !0),
                        this.createPlayPromise()),
                      _____WB$wombat$check$this$function_____(this));
                },
                addLoadEventHandlers: function () {
                  var l = this.video;
                  l &&
                    (l.addEventListener("error", this._loadCallbackHandler),
                    l.addEventListener("abort", this._loadCallbackHandler));
                },
                removeLoadEventHandlers: function () {
                  var l = this.video;
                  l &&
                    (l.removeEventListener("error", this._loadCallbackHandler),
                    l.removeEventListener("abort", this._loadCallbackHandler));
                },
                addEventHandlers: function () {
                  var l = this.video;
                  if (l) {
                    var f = this._callbacks;
                    for (var v in f) l.addEventListener(v, f[v]);
                  }
                },
                removeEventHandlers: function () {
                  var l = this.video;
                  if (l) {
                    var f = this._callbacks;
                    for (var v in f) l.removeEventListener(v, f[v]);
                  }
                },
                createPlayPromise: function (l) {
                  l === void 0 && (l = !0);
                  var f = this.video,
                    v = f.play();
                  if (v !== void 0) {
                    var m = this.playSuccess.bind(this),
                      x = this.playError.bind(this);
                    if (!l) {
                      var g = _____WB$wombat$check$this$function_____(this);
                      x = function () {
                        g.failedPlayAttempts++;
                      };
                    }
                    v.then(m).catch(x);
                  } else
                    (f.addEventListener("playing", this._callbacks.legacy),
                      l || this.failedPlayAttempts++);
                },
                addMarker: function (l, f, v) {
                  return (
                    !isNaN(f) &&
                      f >= 0 &&
                      !isNaN(v) &&
                      v > f &&
                      (this.markers[l] = [f, v]),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                playMarker: function (l, f) {
                  var v = this.markers[l];
                  return (
                    v && this.play(f, v[0], v[1]),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                removeMarker: function (l) {
                  return (
                    delete this.markers[l],
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                snapshot: function (l, f) {
                  return (
                    l === void 0 && (l = this.width),
                    f === void 0 && (f = this.height),
                    this.snapshotArea(0, 0, this.width, this.height, l, f)
                  );
                },
                snapshotArea: function (l, f, v, m, x, g) {
                  (l === void 0 && (l = 0),
                    f === void 0 && (f = 0),
                    v === void 0 && (v = this.width),
                    m === void 0 && (m = this.height),
                    x === void 0 && (x = v),
                    g === void 0 && (g = m));
                  var C = this.video,
                    T = this.snapshotTexture;
                  return (
                    T
                      ? (T.setSize(x, g),
                        C && T.context.drawImage(C, l, f, v, m, 0, 0, x, g))
                      : ((T = this.scene.sys.textures.createCanvas(i(), x, g)),
                        (this.snapshotTexture = T),
                        C && T.context.drawImage(C, l, f, v, m, 0, 0, x, g)),
                    T.update()
                  );
                },
                saveSnapshotTexture: function (l) {
                  return (
                    this.snapshotTexture
                      ? this.scene.sys.textures.renameTexture(
                          this.snapshotTexture.key,
                          l,
                        )
                      : (this.snapshotTexture =
                          this.scene.sys.textures.createCanvas(
                            l,
                            this.width,
                            this.height,
                          )),
                    this.snapshotTexture
                  );
                },
                playSuccess: function () {
                  if (this._playCalled) {
                    (this.addEventHandlers(),
                      (this._codePaused = !1),
                      this.touchLocked &&
                        ((this.touchLocked = !1),
                        this.emit(
                          r.VIDEO_UNLOCKED,
                          _____WB$wombat$check$this$function_____(this),
                        )));
                    var l = this.scene.sys.sound;
                    (l && l.mute && this.setMute(!0),
                      this._markerIn > -1 &&
                        (this.video.currentTime = this._markerIn));
                  }
                },
                playError: function (l) {
                  var f = l.name;
                  f === "NotAllowedError"
                    ? ((this.touchLocked = !0),
                      (this.playWhenUnlocked = !0),
                      (this.failedPlayAttempts = 1),
                      this.emit(
                        r.VIDEO_LOCKED,
                        _____WB$wombat$check$this$function_____(this),
                      ))
                    : f === "NotSupportedError"
                      ? (this.stop(!1),
                        this.emit(
                          r.VIDEO_UNSUPPORTED,
                          _____WB$wombat$check$this$function_____(this),
                          l,
                        ))
                      : (this.stop(!1),
                        this.emit(
                          r.VIDEO_ERROR,
                          _____WB$wombat$check$this$function_____(this),
                          l,
                        ));
                },
                legacyPlayHandler: function () {
                  var l = this.video;
                  l &&
                    (this.playSuccess(),
                    l.removeEventListener("playing", this._callbacks.legacy));
                },
                playingHandler: function () {
                  ((this.isStalled = !1),
                    this.emit(
                      r.VIDEO_PLAYING,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                loadErrorHandler: function (l) {
                  (this.stop(!1),
                    this.emit(
                      r.VIDEO_ERROR,
                      _____WB$wombat$check$this$function_____(this),
                      l,
                    ));
                },
                stalledHandler: function (l) {
                  ((this.isStalled = !0),
                    this.emit(
                      r.VIDEO_STALLED,
                      _____WB$wombat$check$this$function_____(this),
                      l,
                    ));
                },
                completeHandler: function () {
                  ((this._playCalled = !1),
                    this.emit(
                      r.VIDEO_COMPLETE,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                preUpdate: function (l, f) {
                  var v = this.video;
                  !v ||
                    !this._playCalled ||
                    (this.touchLocked &&
                      this.playWhenUnlocked &&
                      ((this.retry += f),
                      this.retry >= this.retryInterval &&
                        (this.createPlayPromise(!1), (this.retry = 0))));
                },
                seekTo: function (l) {
                  var f = this.video;
                  if (f) {
                    var v = f.duration;
                    if (v !== 1 / 0 && !isNaN(v)) {
                      var m = v * l;
                      this.setCurrentTime(m);
                    }
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                getCurrentTime: function () {
                  return this.video ? this.video.currentTime : 0;
                },
                setCurrentTime: function (l) {
                  var f = this.video;
                  if (f) {
                    if (typeof l == "string") {
                      var v = l[0],
                        m = parseFloat(l.substr(1));
                      v === "+"
                        ? (l = f.currentTime + m)
                        : v === "-" && (l = f.currentTime - m);
                    }
                    f.currentTime = l;
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                seekingHandler: function () {
                  ((this.isSeeking = !0),
                    this.emit(
                      r.VIDEO_SEEKING,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                seekedHandler: function () {
                  ((this.isSeeking = !1),
                    this.emit(
                      r.VIDEO_SEEKED,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                getProgress: function () {
                  var l = this.video;
                  if (l) {
                    var f = l.duration;
                    if (f !== 1 / 0 && !isNaN(f)) return l.currentTime / f;
                  }
                  return -1;
                },
                getDuration: function () {
                  return this.video ? this.video.duration : 0;
                },
                setMute: function (l) {
                  (l === void 0 && (l = !0), (this._codeMuted = l));
                  var f = this.video;
                  return (
                    f && (f.muted = this._systemMuted ? !0 : l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                isMuted: function () {
                  return this._codeMuted;
                },
                globalMute: function (l, f) {
                  this._systemMuted = f;
                  var v = this.video;
                  v && (v.muted = this._codeMuted ? !0 : f);
                },
                globalPause: function () {
                  ((this._systemPaused = !0),
                    this.video &&
                      !this.video.ended &&
                      (this.removeEventHandlers(), this.video.pause()));
                },
                globalResume: function () {
                  ((this._systemPaused = !1),
                    this.video &&
                      !this._codePaused &&
                      !this.video.ended &&
                      this.createPlayPromise());
                },
                setPaused: function (l) {
                  l === void 0 && (l = !0);
                  var f = this.video;
                  return (
                    (this._codePaused = l),
                    f &&
                      !f.ended &&
                      (l
                        ? f.paused || (this.removeEventHandlers(), f.pause())
                        : l ||
                          (this._playCalled
                            ? f.paused &&
                              !this._systemPaused &&
                              this.createPlayPromise()
                            : this.play())),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                pause: function () {
                  return this.setPaused(!0);
                },
                resume: function () {
                  return this.setPaused(!1);
                },
                getVolume: function () {
                  return this.video ? this.video.volume : 1;
                },
                setVolume: function (l) {
                  return (
                    l === void 0 && (l = 1),
                    this.video && (this.video.volume = A(l, 0, 1)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getPlaybackRate: function () {
                  return this.video ? this.video.playbackRate : 1;
                },
                setPlaybackRate: function (l) {
                  return (
                    this.video && (this.video.playbackRate = l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getLoop: function () {
                  return this.video ? this.video.loop : !1;
                },
                setLoop: function (l) {
                  return (
                    l === void 0 && (l = !0),
                    this.video && (this.video.loop = l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                isPlaying: function () {
                  return this.video
                    ? !(this.video.paused || this.video.ended)
                    : !1;
                },
                isPaused: function () {
                  return (
                    (this.video && this._playCalled && this.video.paused) ||
                    this._codePaused ||
                    this._systemPaused
                  );
                },
                saveTexture: function (l, f) {
                  return (
                    f === void 0 && (f = !1),
                    this.videoTexture &&
                      (this.scene.sys.textures.renameTexture(this._key, l),
                      this.videoTextureSource.setFlipY(f)),
                    (this._key = l),
                    (this.flipY = f),
                    !!this.videoTexture
                  );
                },
                stop: function (l) {
                  l === void 0 && (l = !0);
                  var f = this.video;
                  return (
                    f &&
                      (this.removeEventHandlers(),
                      f.cancelVideoFrameCallback(this._rfvCallbackId),
                      f.pause()),
                    (this.retry = 0),
                    (this._playCalled = !1),
                    l &&
                      this.emit(
                        r.VIDEO_STOP,
                        _____WB$wombat$check$this$function_____(this),
                      ),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                removeVideoElement: function () {
                  var l = this.video;
                  if (l) {
                    for (
                      l.parentNode && l.parentNode.removeChild(l);
                      l.hasChildNodes();
                    )
                      l.removeChild(l.firstChild);
                    (l.removeAttribute("autoplay"),
                      l.removeAttribute("src"),
                      (this.video = null));
                  }
                },
                preDestroy: function () {
                  (this.stop(!1),
                    this.removeLoadEventHandlers(),
                    this.removeVideoElement());
                  var l = this.scene.sys.game.events;
                  (l.off(
                    n.PAUSE,
                    this.globalPause,
                    _____WB$wombat$check$this$function_____(this),
                  ),
                    l.off(
                      n.RESUME,
                      this.globalResume,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                  var f = this.scene.sys.sound;
                  f &&
                    f.off(
                      u.GLOBAL_MUTE,
                      this.globalMute,
                      _____WB$wombat$check$this$function_____(this),
                    );
                },
              });
            d.exports = h;
          },
          56933: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              A.videoTexture &&
                (c.addToRenderList(A), t.batchSprite(A, A.frame, c, a));
            };
            d.exports = y;
          },
          65601: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(88933),
              c = t(99325),
              a = t(20494),
              r = t(8630);
            c.register("video", function (n, e) {
              n === void 0 && (n = {});
              var s = a(n, "key", null),
                u = new r(this.scene, 0, 0, s);
              return (e !== void 0 && (n.add = e), A(this.scene, u, n), u);
            });
          },
          215: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(8630),
              c = t(61286);
            c.register("video", function (a, r, n) {
              return this.displayList.add(new A(this.scene, a, r, n));
            });
          },
          77974: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72283),
              c = A,
              a = A;
            ((c = t(83572)),
              (a = t(56933)),
              (d.exports = { renderWebGL: c, renderCanvas: a }));
          },
          83572: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              A.videoTexture &&
                (c.addToRenderList(A), A.pipeline.batchSprite(A, c, a));
            };
            d.exports = y;
          },
          71030: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(95723),
              c = t(26673),
              a = t(65650),
              r = t(56694),
              n = t(64937),
              e = t(89980),
              s = t(74118),
              u = t(94287),
              i = new r({
                Extends: e,
                Mixins: [
                  n.Depth,
                  n.GetBounds,
                  n.Origin,
                  n.Transform,
                  n.ScrollFactor,
                  n.Visible,
                ],
                initialize: function (h, l, f, v, m) {
                  (v === void 0 && (v = 1),
                    m === void 0 && (m = v),
                    e.call(this, h, "Zone"),
                    this.setPosition(l, f),
                    (this.width = v),
                    (this.height = m),
                    (this.blendMode = A.NORMAL),
                    this.updateDisplayOrigin());
                },
                displayWidth: {
                  get: function () {
                    return this.scaleX * this.width;
                  },
                  set: function (o) {
                    this.scaleX = o / this.width;
                  },
                },
                displayHeight: {
                  get: function () {
                    return this.scaleY * this.height;
                  },
                  set: function (o) {
                    this.scaleY = o / this.height;
                  },
                },
                setSize: function (o, h, l) {
                  (l === void 0 && (l = !0),
                    (this.width = o),
                    (this.height = h),
                    this.updateDisplayOrigin());
                  var f = this.input;
                  return (
                    l &&
                      f &&
                      !f.customHitArea &&
                      ((f.hitArea.width = o), (f.hitArea.height = h)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setDisplaySize: function (o, h) {
                  return (
                    (this.displayWidth = o),
                    (this.displayHeight = h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setCircleDropZone: function (o) {
                  return this.setDropZone(new c(0, 0, o), a);
                },
                setRectangleDropZone: function (o, h) {
                  return this.setDropZone(new s(0, 0, o, h), u);
                },
                setDropZone: function (o, h) {
                  return (
                    this.input || this.setInteractive(o, h, !0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setAlpha: function () {},
                setBlendMode: function () {},
                renderCanvas: function (o, h, l) {
                  l.addToRenderList(h);
                },
                renderWebGL: function (o, h, l) {
                  l.addToRenderList(h);
                },
              });
            d.exports = i;
          },
          24067: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(99325),
              c = t(20494),
              a = t(71030);
            A.register("zone", function (r) {
              var n = c(r, "x", 0),
                e = c(r, "y", 0),
                s = c(r, "width", 1),
                u = c(r, "height", s);
              return new a(this.scene, n, e, s, u);
            });
          },
          34546: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(71030),
              c = t(61286);
            c.register("zone", function (a, r, n, e) {
              return this.displayList.add(new A(this.scene, a, r, n, e));
            });
          },
          95847: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return t.radius > 0 ? Math.PI * t.radius * t.radius : 0;
            };
            d.exports = y;
          },
          26673: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(65650),
              a = t(94026),
              r = t(62941),
              n = t(52394),
              e = t(30977),
              s = new A({
                initialize: function (i, o, h) {
                  (i === void 0 && (i = 0),
                    o === void 0 && (o = 0),
                    h === void 0 && (h = 0),
                    (this.type = n.CIRCLE),
                    (this.x = i),
                    (this.y = o),
                    (this._radius = h),
                    (this._diameter = h * 2));
                },
                contains: function (u, i) {
                  return c(this, u, i);
                },
                getPoint: function (u, i) {
                  return a(this, u, i);
                },
                getPoints: function (u, i, o) {
                  return r(this, u, i, o);
                },
                getRandomPoint: function (u) {
                  return e(this, u);
                },
                setTo: function (u, i, o) {
                  return (
                    (this.x = u),
                    (this.y = i),
                    (this._radius = o),
                    (this._diameter = o * 2),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setEmpty: function () {
                  return (
                    (this._radius = 0),
                    (this._diameter = 0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setPosition: function (u, i) {
                  return (
                    i === void 0 && (i = u),
                    (this.x = u),
                    (this.y = i),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                isEmpty: function () {
                  return this._radius <= 0;
                },
                radius: {
                  get: function () {
                    return this._radius;
                  },
                  set: function (u) {
                    ((this._radius = u), (this._diameter = u * 2));
                  },
                },
                diameter: {
                  get: function () {
                    return this._diameter;
                  },
                  set: function (u) {
                    ((this._diameter = u), (this._radius = u * 0.5));
                  },
                },
                left: {
                  get: function () {
                    return this.x - this._radius;
                  },
                  set: function (u) {
                    this.x = u + this._radius;
                  },
                },
                right: {
                  get: function () {
                    return this.x + this._radius;
                  },
                  set: function (u) {
                    this.x = u - this._radius;
                  },
                },
                top: {
                  get: function () {
                    return this.y - this._radius;
                  },
                  set: function (u) {
                    this.y = u + this._radius;
                  },
                },
                bottom: {
                  get: function () {
                    return this.y + this._radius;
                  },
                  set: function (u) {
                    this.y = u - this._radius;
                  },
                },
              });
            d.exports = s;
          },
          37964: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return 2 * (Math.PI * t.radius);
            };
            d.exports = y;
          },
          72233: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(79967),
              c = function (a, r, n) {
                return (
                  n === void 0 && (n = new A()),
                  (n.x = a.x + a.radius * Math.cos(r)),
                  (n.y = a.y + a.radius * Math.sin(r)),
                  n
                );
              };
            d.exports = c;
          },
          61761: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(26673),
              c = function (a) {
                return new A(a.x, a.y, a.radius);
              };
            d.exports = c;
          },
          65650: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              if (
                t.radius > 0 &&
                A >= t.left &&
                A <= t.right &&
                c >= t.top &&
                c <= t.bottom
              ) {
                var a = (t.x - A) * (t.x - A),
                  r = (t.y - c) * (t.y - c);
                return a + r <= t.radius * t.radius;
              } else return !1;
            };
            d.exports = y;
          },
          39187: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(65650),
              c = function (a, r) {
                return A(a, r.x, r.y);
              };
            d.exports = c;
          },
          58672: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(65650),
              c = function (a, r) {
                return (
                  A(a, r.x, r.y) &&
                  A(a, r.right, r.y) &&
                  A(a, r.x, r.bottom) &&
                  A(a, r.right, r.bottom)
                );
              };
            d.exports = c;
          },
          42997: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return A.setTo(t.x, t.y, t.radius);
            };
            d.exports = y;
          },
          94894: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return t.x === A.x && t.y === A.y && t.radius === A.radius;
            };
            d.exports = y;
          },
          48027: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(74118),
              c = function (a, r) {
                return (
                  r === void 0 && (r = new A()),
                  (r.x = a.left),
                  (r.y = a.top),
                  (r.width = a.diameter),
                  (r.height = a.diameter),
                  r
                );
              };
            d.exports = c;
          },
          94026: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72233),
              c = t(91806),
              a = t(83392),
              r = t(79967),
              n = function (e, s, u) {
                u === void 0 && (u = new r());
                var i = c(s, 0, a.PI2);
                return A(e, i, u);
              };
            d.exports = n;
          },
          62941: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(37964),
              c = t(72233),
              a = t(91806),
              r = t(83392),
              n = function (e, s, u, i) {
                (i === void 0 && (i = []), !s && u > 0 && (s = A(e) / u));
                for (var o = 0; o < s; o++) {
                  var h = a(o / s, 0, r.PI2);
                  i.push(c(e, h));
                }
                return i;
              };
            d.exports = n;
          },
          34585: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              return ((t.x += A), (t.y += c), t);
            };
            d.exports = y;
          },
          88665: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return ((t.x += A.x), (t.y += A.y), t);
            };
            d.exports = y;
          },
          30977: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(79967),
              c = function (a, r) {
                r === void 0 && (r = new A());
                var n = 2 * Math.PI * Math.random(),
                  e = Math.random() + Math.random(),
                  s = e > 1 ? 2 - e : e,
                  u = s * Math.cos(n),
                  i = s * Math.sin(n);
                return (
                  (r.x = a.x + u * a.radius),
                  (r.y = a.y + i * a.radius),
                  r
                );
              };
            d.exports = c;
          },
          6112: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(26673);
            ((A.Area = t(95847)),
              (A.Circumference = t(37964)),
              (A.CircumferencePoint = t(72233)),
              (A.Clone = t(61761)),
              (A.Contains = t(65650)),
              (A.ContainsPoint = t(39187)),
              (A.ContainsRect = t(58672)),
              (A.CopyFrom = t(42997)),
              (A.Equals = t(94894)),
              (A.GetBounds = t(48027)),
              (A.GetPoint = t(94026)),
              (A.GetPoints = t(62941)),
              (A.Offset = t(34585)),
              (A.OffsetPoint = t(88665)),
              (A.Random = t(30977)),
              (d.exports = A));
          },
          52394: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              CIRCLE: 0,
              ELLIPSE: 1,
              LINE: 2,
              POINT: 3,
              POLYGON: 4,
              RECTANGLE: 5,
              TRIANGLE: 6,
            };
            d.exports = y;
          },
          58605: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return t.isEmpty()
                ? 0
                : t.getMajorRadius() * t.getMinorRadius() * Math.PI;
            };
            d.exports = y;
          },
          39507: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              var A = t.width / 2,
                c = t.height / 2,
                a = Math.pow(A - c, 2) / Math.pow(A + c, 2);
              return (
                Math.PI * (A + c) * (1 + (3 * a) / (10 + Math.sqrt(4 - 3 * a)))
              );
            };
            d.exports = y;
          },
          86998: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(79967),
              c = function (a, r, n) {
                n === void 0 && (n = new A());
                var e = a.width / 2,
                  s = a.height / 2;
                return (
                  (n.x = a.x + e * Math.cos(r)),
                  (n.y = a.y + s * Math.sin(r)),
                  n
                );
              };
            d.exports = c;
          },
          81773: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(95669),
              c = function (a) {
                return new A(a.x, a.y, a.width, a.height);
              };
            d.exports = c;
          },
          72313: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              if (t.width <= 0 || t.height <= 0) return !1;
              var a = (A - t.x) / t.width,
                r = (c - t.y) / t.height;
              return ((a *= a), (r *= r), a + r < 0.25);
            };
            d.exports = y;
          },
          34368: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72313),
              c = function (a, r) {
                return A(a, r.x, r.y);
              };
            d.exports = c;
          },
          71431: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72313),
              c = function (a, r) {
                return (
                  A(a, r.x, r.y) &&
                  A(a, r.right, r.y) &&
                  A(a, r.x, r.bottom) &&
                  A(a, r.right, r.bottom)
                );
              };
            d.exports = c;
          },
          75459: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return A.setTo(t.x, t.y, t.width, t.height);
            };
            d.exports = y;
          },
          95669: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(72313),
              a = t(95340),
              r = t(54978),
              n = t(52394),
              e = t(72006),
              s = new A({
                initialize: function (i, o, h, l) {
                  (i === void 0 && (i = 0),
                    o === void 0 && (o = 0),
                    h === void 0 && (h = 0),
                    l === void 0 && (l = 0),
                    (this.type = n.ELLIPSE),
                    (this.x = i),
                    (this.y = o),
                    (this.width = h),
                    (this.height = l));
                },
                contains: function (u, i) {
                  return c(this, u, i);
                },
                getPoint: function (u, i) {
                  return a(this, u, i);
                },
                getPoints: function (u, i, o) {
                  return r(this, u, i, o);
                },
                getRandomPoint: function (u) {
                  return e(this, u);
                },
                setTo: function (u, i, o, h) {
                  return (
                    (this.x = u),
                    (this.y = i),
                    (this.width = o),
                    (this.height = h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setEmpty: function () {
                  return (
                    (this.width = 0),
                    (this.height = 0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setPosition: function (u, i) {
                  return (
                    i === void 0 && (i = u),
                    (this.x = u),
                    (this.y = i),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setSize: function (u, i) {
                  return (
                    i === void 0 && (i = u),
                    (this.width = u),
                    (this.height = i),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                isEmpty: function () {
                  return this.width <= 0 || this.height <= 0;
                },
                getMinorRadius: function () {
                  return Math.min(this.width, this.height) / 2;
                },
                getMajorRadius: function () {
                  return Math.max(this.width, this.height) / 2;
                },
                left: {
                  get: function () {
                    return this.x - this.width / 2;
                  },
                  set: function (u) {
                    this.x = u + this.width / 2;
                  },
                },
                right: {
                  get: function () {
                    return this.x + this.width / 2;
                  },
                  set: function (u) {
                    this.x = u - this.width / 2;
                  },
                },
                top: {
                  get: function () {
                    return this.y - this.height / 2;
                  },
                  set: function (u) {
                    this.y = u + this.height / 2;
                  },
                },
                bottom: {
                  get: function () {
                    return this.y + this.height / 2;
                  },
                  set: function (u) {
                    this.y = u - this.height / 2;
                  },
                },
              });
            d.exports = s;
          },
          98068: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return (
                t.x === A.x &&
                t.y === A.y &&
                t.width === A.width &&
                t.height === A.height
              );
            };
            d.exports = y;
          },
          72897: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(74118),
              c = function (a, r) {
                return (
                  r === void 0 && (r = new A()),
                  (r.x = a.left),
                  (r.y = a.top),
                  (r.width = a.width),
                  (r.height = a.height),
                  r
                );
              };
            d.exports = c;
          },
          95340: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(86998),
              c = t(91806),
              a = t(83392),
              r = t(79967),
              n = function (e, s, u) {
                u === void 0 && (u = new r());
                var i = c(s, 0, a.PI2);
                return A(e, i, u);
              };
            d.exports = n;
          },
          54978: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(39507),
              c = t(86998),
              a = t(91806),
              r = t(83392),
              n = function (e, s, u, i) {
                (i === void 0 && (i = []), !s && u > 0 && (s = A(e) / u));
                for (var o = 0; o < s; o++) {
                  var h = a(o / s, 0, r.PI2);
                  i.push(c(e, h));
                }
                return i;
              };
            d.exports = n;
          },
          77951: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              return ((t.x += A), (t.y += c), t);
            };
            d.exports = y;
          },
          36233: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return ((t.x += A.x), (t.y += A.y), t);
            };
            d.exports = y;
          },
          72006: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(79967),
              c = function (a, r) {
                r === void 0 && (r = new A());
                var n = Math.random() * Math.PI * 2,
                  e = Math.sqrt(Math.random());
                return (
                  (r.x = a.x + (e * Math.cos(n) * a.width) / 2),
                  (r.y = a.y + (e * Math.sin(n) * a.height) / 2),
                  r
                );
              };
            d.exports = c;
          },
          40652: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(95669);
            ((A.Area = t(58605)),
              (A.Circumference = t(39507)),
              (A.CircumferencePoint = t(86998)),
              (A.Clone = t(81773)),
              (A.Contains = t(72313)),
              (A.ContainsPoint = t(34368)),
              (A.ContainsRect = t(71431)),
              (A.CopyFrom = t(75459)),
              (A.Equals = t(98068)),
              (A.GetBounds = t(72897)),
              (A.GetPoint = t(95340)),
              (A.GetPoints = t(54978)),
              (A.Offset = t(77951)),
              (A.OffsetPoint = t(36233)),
              (A.Random = t(72006)),
              (d.exports = A));
          },
          84068: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(52394),
              c = t(98611),
              a = {
                Circle: t(6112),
                Ellipse: t(40652),
                Intersects: t(7563),
                Line: t(28482),
                Mesh: t(14293),
                Point: t(63472),
                Polygon: t(44359),
                Rectangle: t(66658),
                Triangle: t(87619),
              };
            ((a = c(!1, a, A)), (d.exports = a));
          },
          22184: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(53996),
              c = function (a, r) {
                return A(a.x, a.y, r.x, r.y) <= a.radius + r.radius;
              };
            d.exports = c;
          },
          26535: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              var c = A.width / 2,
                a = A.height / 2,
                r = Math.abs(t.x - A.x - c),
                n = Math.abs(t.y - A.y - a),
                e = c + t.radius,
                s = a + t.radius;
              if (r > e || n > s) return !1;
              if (r <= c || n <= a) return !0;
              var u = r - c,
                i = n - a,
                o = u * u,
                h = i * i,
                l = t.radius * t.radius;
              return o + h <= l;
            };
            d.exports = y;
          },
          71145: (d, y, t) => {
            /**
             * @author       Florian Vazelle
             * @author       Geoffrey Glaive
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(79967),
              c = t(22184),
              a = function (r, n, e) {
                if ((e === void 0 && (e = []), c(r, n))) {
                  var s = r.x,
                    u = r.y,
                    i = r.radius,
                    o = n.x,
                    h = n.y,
                    l = n.radius,
                    f,
                    v,
                    m,
                    x,
                    g;
                  if (u === h)
                    ((g = (l * l - i * i - o * o + s * s) / (2 * (s - o))),
                      (f = 1),
                      (v = -2 * h),
                      (m = o * o + g * g - 2 * o * g + h * h - l * l),
                      (x = v * v - 4 * f * m),
                      x === 0
                        ? e.push(new A(g, -v / (2 * f)))
                        : x > 0 &&
                          (e.push(new A(g, (-v + Math.sqrt(x)) / (2 * f))),
                          e.push(new A(g, (-v - Math.sqrt(x)) / (2 * f)))));
                  else {
                    var C = (s - o) / (u - h),
                      T =
                        (l * l - i * i - o * o + s * s - h * h + u * u) /
                        (2 * (u - h));
                    ((f = C * C + 1),
                      (v = 2 * u * C - 2 * T * C - 2 * s),
                      (m = s * s + u * u + T * T - i * i - 2 * u * T),
                      (x = v * v - 4 * f * m),
                      x === 0
                        ? ((g = -v / (2 * f)), e.push(new A(g, T - g * C)))
                        : x > 0 &&
                          ((g = (-v + Math.sqrt(x)) / (2 * f)),
                          e.push(new A(g, T - g * C)),
                          (g = (-v - Math.sqrt(x)) / (2 * f)),
                          e.push(new A(g, T - g * C))));
                  }
                }
                return e;
              };
            d.exports = a;
          },
          62508: (d, y, t) => {
            /**
             * @author       Florian Vazelle
             * @author       Geoffrey Glaive
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(26111),
              c = t(26535),
              a = function (r, n, e) {
                if ((e === void 0 && (e = []), c(r, n))) {
                  var s = n.getLineA(),
                    u = n.getLineB(),
                    i = n.getLineC(),
                    o = n.getLineD();
                  (A(s, r, e), A(u, r, e), A(i, r, e), A(o, r, e));
                }
                return e;
              };
            d.exports = a;
          },
          26111: (d, y, t) => {
            /**
             * @author       Florian Vazelle
             * @author       Geoffrey Glaive
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(79967),
              c = t(61472),
              a = function (r, n, e) {
                if ((e === void 0 && (e = []), c(r, n))) {
                  var s = r.x1,
                    u = r.y1,
                    i = r.x2,
                    o = r.y2,
                    h = n.x,
                    l = n.y,
                    f = n.radius,
                    v = i - s,
                    m = o - u,
                    x = s - h,
                    g = u - l,
                    C = v * v + m * m,
                    T = 2 * (v * x + m * g),
                    F = x * x + g * g - f * f,
                    w = T * T - 4 * C * F,
                    U,
                    M;
                  if (w === 0) {
                    var I = -T / (2 * C);
                    ((U = s + I * v),
                      (M = u + I * m),
                      I >= 0 && I <= 1 && e.push(new A(U, M)));
                  } else if (w > 0) {
                    var O = (-T - Math.sqrt(w)) / (2 * C);
                    ((U = s + O * v),
                      (M = u + O * m),
                      O >= 0 && O <= 1 && e.push(new A(U, M)));
                    var D = (-T + Math.sqrt(w)) / (2 * C);
                    ((U = s + D * v),
                      (M = u + D * m),
                      D >= 0 && D <= 1 && e.push(new A(U, M)));
                  }
                }
                return e;
              };
            d.exports = a;
          },
          96537: (d, y, t) => {
            /**
             * @author       Richard Davey
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(70015),
              c = function (a, r, n, e) {
                n === void 0 && (n = !1);
                var s = a.x1,
                  u = a.y1,
                  i = a.x2,
                  o = a.y2,
                  h = r.x1,
                  l = r.y1,
                  f = r.x2,
                  v = r.y2,
                  m = i - s,
                  x = o - u,
                  g = f - h,
                  C = v - l,
                  T = m * C - x * g;
                if (T === 0) return null;
                var F, w, U;
                if (n) {
                  if (
                    ((F = (m * (l - u) + x * (s - h)) / (g * x - C * m)),
                    (w = (h + g * F - s) / m),
                    w < 0 || F < 0 || F > 1)
                  )
                    return null;
                  U = w;
                } else {
                  if (
                    ((F = ((h - s) * C - (l - u) * g) / T),
                    (w = ((u - l) * m - (s - h) * x) / T),
                    F < 0 || F > 1 || w < 0 || w > 1)
                  )
                    return null;
                  U = F;
                }
                return (
                  e === void 0 && (e = new A()),
                  e.set(s + m * U, u + x * U, U)
                );
              };
            d.exports = c;
          },
          17647: (d, y, t) => {
            /**
             * @author       Richard Davey
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(96537),
              c = t(88829),
              a = t(70015),
              r = new c(),
              n = new a(),
              e = function (s, u, i, o) {
                (i === void 0 && (i = !1), o === void 0 && (o = new a()));
                var h = !1;
                (o.set(), n.set());
                for (var l = u[u.length - 1], f = 0; f < u.length; f++) {
                  var v = u[f];
                  (r.setTo(l.x, l.y, v.x, v.y),
                    (l = v),
                    A(s, r, i, n) &&
                      (!h || n.z < o.z) &&
                      (o.copy(n), (h = !0)));
                }
                return h ? o : null;
              };
            d.exports = e;
          },
          68439: (d, y, t) => {
            /**
             * @author       Richard Davey
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(70015),
              c = t(51729),
              a = t(17647),
              r = new A(),
              n = function (e, s, u, i) {
                (i === void 0 && (i = new c()), Array.isArray(s) || (s = [s]));
                var o = !1;
                (i.set(), r.set());
                for (var h = 0; h < s.length; h++)
                  a(e, s[h].points, u, r) &&
                    (!o || r.z < i.z) &&
                    (i.set(r.x, r.y, r.z, h), (o = !0));
                return o ? i : null;
              };
            d.exports = n;
          },
          9569: (d, y, t) => {
            /**
             * @author       Florian Vazelle
             * @author       Geoffrey Glaive
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(79967),
              c = t(25227),
              a = t(47910),
              r = function (n, e, s) {
                if ((s === void 0 && (s = []), a(n, e)))
                  for (
                    var u = e.getLineA(),
                      i = e.getLineB(),
                      o = e.getLineC(),
                      h = e.getLineD(),
                      l = [new A(), new A(), new A(), new A()],
                      f = [
                        c(u, n, l[0]),
                        c(i, n, l[1]),
                        c(o, n, l[2]),
                        c(h, n, l[3]),
                      ],
                      v = 0;
                    v < 4;
                    v++
                  )
                    f[v] && s.push(l[v]);
                return s;
              };
            d.exports = r;
          },
          7449: (d, y, t) => {
            /**
             * @author       Richard Davey
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(51729),
              c = t(68439),
              a = t(88829),
              r = new a();
            function n(u, i, o, h, l) {
              var f = Math.cos(u),
                v = Math.sin(u);
              r.setTo(i, o, i + f, o + v);
              var m = c(r, h, !0);
              m && l.push(new A(m.x, m.y, u, m.w));
            }
            function e(u, i) {
              return u.z - i.z;
            }
            var s = function (u, i, o) {
              Array.isArray(o) || (o = [o]);
              for (var h = [], l = [], f = 0; f < o.length; f++)
                for (var v = o[f].points, m = 0; m < v.length; m++) {
                  var x = Math.atan2(v[m].y - i, v[m].x - u);
                  l.indexOf(x) === -1 &&
                    (n(x, u, i, o, h),
                    n(x - 1e-5, u, i, o, h),
                    n(x + 1e-5, u, i, o, h),
                    l.push(x));
                }
              return h.sort(e);
            };
            d.exports = s;
          },
          82931: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(74118),
              c = t(90205),
              a = function (r, n, e) {
                return (
                  e === void 0 && (e = new A()),
                  c(r, n) &&
                    ((e.x = Math.max(r.x, n.x)),
                    (e.y = Math.max(r.y, n.y)),
                    (e.width = Math.min(r.right, n.right) - e.x),
                    (e.height = Math.min(r.bottom, n.bottom) - e.y)),
                  e
                );
              };
            d.exports = a;
          },
          1946: (d, y, t) => {
            /**
             * @author       Florian Vazelle
             * @author       Geoffrey Glaive
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(9569),
              c = t(90205),
              a = function (r, n, e) {
                if ((e === void 0 && (e = []), c(r, n))) {
                  var s = r.getLineA(),
                    u = r.getLineB(),
                    i = r.getLineC(),
                    o = r.getLineD();
                  (A(s, n, e), A(u, n, e), A(i, n, e), A(o, n, e));
                }
                return e;
              };
            d.exports = a;
          },
          34211: (d, y, t) => {
            /**
             * @author       Florian Vazelle
             * @author       Geoffrey Glaive
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(20370),
              c = t(9569),
              a = function (r, n, e) {
                if ((e === void 0 && (e = []), A(r, n))) {
                  var s = n.getLineA(),
                    u = n.getLineB(),
                    i = n.getLineC();
                  (c(s, r, e), c(u, r, e), c(i, r, e));
                }
                return e;
              };
            d.exports = a;
          },
          80511: (d, y, t) => {
            /**
             * @author       Florian Vazelle
             * @author       Geoffrey Glaive
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(26111),
              c = t(48411),
              a = function (r, n, e) {
                if ((e === void 0 && (e = []), c(r, n))) {
                  var s = r.getLineA(),
                    u = r.getLineB(),
                    i = r.getLineC();
                  (A(s, n, e), A(u, n, e), A(i, n, e));
                }
                return e;
              };
            d.exports = a;
          },
          31343: (d, y, t) => {
            /**
             * @author       Florian Vazelle
             * @author       Geoffrey Glaive
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(79967),
              c = t(86117),
              a = t(25227),
              r = function (n, e, s) {
                if ((s === void 0 && (s = []), c(n, e)))
                  for (
                    var u = n.getLineA(),
                      i = n.getLineB(),
                      o = n.getLineC(),
                      h = [new A(), new A(), new A()],
                      l = [a(u, e, h[0]), a(i, e, h[1]), a(o, e, h[2])],
                      f = 0;
                    f < 3;
                    f++
                  )
                    l[f] && s.push(h[f]);
                return s;
              };
            d.exports = r;
          },
          70534: (d, y, t) => {
            /**
             * @author       Florian Vazelle
             * @author       Geoffrey Glaive
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(23589),
              c = t(31343),
              a = function (r, n, e) {
                if ((e === void 0 && (e = []), A(r, n))) {
                  var s = n.getLineA(),
                    u = n.getLineB(),
                    i = n.getLineC();
                  (c(r, s, e), c(r, u, e), c(r, i, e));
                }
                return e;
              };
            d.exports = a;
          },
          61472: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(65650),
              c = t(79967),
              a = new c(),
              r = function (n, e, s) {
                if ((s === void 0 && (s = a), A(e, n.x1, n.y1)))
                  return ((s.x = n.x1), (s.y = n.y1), !0);
                if (A(e, n.x2, n.y2)) return ((s.x = n.x2), (s.y = n.y2), !0);
                var u = n.x2 - n.x1,
                  i = n.y2 - n.y1,
                  o = e.x - n.x1,
                  h = e.y - n.y1,
                  l = u * u + i * i,
                  f = u,
                  v = i;
                if (l > 0) {
                  var m = (o * u + h * i) / l;
                  ((f *= m), (v *= m));
                }
                ((s.x = n.x1 + f), (s.y = n.y1 + v));
                var x = f * f + v * v;
                return x <= l && f * u + v * i >= 0 && A(e, s.x, s.y);
              };
            d.exports = r;
          },
          25227: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              var a = t.x1,
                r = t.y1,
                n = t.x2,
                e = t.y2,
                s = A.x1,
                u = A.y1,
                i = A.x2,
                o = A.y2;
              if ((a === n && r === e) || (s === i && u === o)) return !1;
              var h = (o - u) * (n - a) - (i - s) * (e - r);
              if (h === 0) return !1;
              var l = ((i - s) * (r - u) - (o - u) * (a - s)) / h,
                f = ((n - a) * (r - u) - (e - r) * (a - s)) / h;
              return l < 0 || l > 1 || f < 0 || f > 1
                ? !1
                : (c && ((c.x = a + l * (n - a)), (c.y = r + l * (e - r))), !0);
            };
            d.exports = y;
          },
          47910: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              var c = t.x1,
                a = t.y1,
                r = t.x2,
                n = t.y2,
                e = A.x,
                s = A.y,
                u = A.right,
                i = A.bottom,
                o = 0;
              if (
                (c >= e && c <= u && a >= s && a <= i) ||
                (r >= e && r <= u && n >= s && n <= i)
              )
                return !0;
              if (c < e && r >= e) {
                if (((o = a + ((n - a) * (e - c)) / (r - c)), o > s && o <= i))
                  return !0;
              } else if (
                c > u &&
                r <= u &&
                ((o = a + ((n - a) * (u - c)) / (r - c)), o >= s && o <= i)
              )
                return !0;
              if (a < s && n >= s) {
                if (((o = c + ((r - c) * (s - a)) / (n - a)), o >= e && o <= u))
                  return !0;
              } else if (
                a > i &&
                n <= i &&
                ((o = c + ((r - c) * (i - a)) / (n - a)), o >= e && o <= u)
              )
                return !0;
              return !1;
            };
            d.exports = y;
          },
          34426: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @author       Florian Mertens
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              c === void 0 && (c = 1);
              var a = A.x1,
                r = A.y1,
                n = A.x2,
                e = A.y2,
                s = t.x,
                u = t.y,
                i = (n - a) * (n - a) + (e - r) * (e - r);
              if (i === 0) return !1;
              var o = ((s - a) * (n - a) + (u - r) * (e - r)) / i;
              if (o < 0)
                return Math.sqrt((a - s) * (a - s) + (r - u) * (r - u)) <= c;
              if (o >= 0 && o <= 1) {
                var h = ((r - u) * (n - a) - (a - s) * (e - r)) / i;
                return Math.abs(h) * Math.sqrt(i) <= c;
              } else
                return Math.sqrt((n - s) * (n - s) + (e - u) * (e - u)) <= c;
            };
            d.exports = y;
          },
          81414: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(34426),
              c = function (a, r) {
                if (!A(a, r)) return !1;
                var n = Math.min(r.x1, r.x2),
                  e = Math.max(r.x1, r.x2),
                  s = Math.min(r.y1, r.y2),
                  u = Math.max(r.y1, r.y2);
                return a.x >= n && a.x <= e && a.y >= s && a.y <= u;
              };
            d.exports = c;
          },
          90205: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return t.width <= 0 ||
                t.height <= 0 ||
                A.width <= 0 ||
                A.height <= 0
                ? !1
                : !(
                    t.right < A.x ||
                    t.bottom < A.y ||
                    t.x > A.right ||
                    t.y > A.bottom
                  );
            };
            d.exports = y;
          },
          20370: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(25227),
              c = t(94287),
              a = t(86875),
              r = t(87279),
              n = function (e, s) {
                if (
                  s.left > e.right ||
                  s.right < e.left ||
                  s.top > e.bottom ||
                  s.bottom < e.top
                )
                  return !1;
                var u = s.getLineA(),
                  i = s.getLineB(),
                  o = s.getLineC();
                if (
                  c(e, u.x1, u.y1) ||
                  c(e, u.x2, u.y2) ||
                  c(e, i.x1, i.y1) ||
                  c(e, i.x2, i.y2) ||
                  c(e, o.x1, o.y1) ||
                  c(e, o.x2, o.y2)
                )
                  return !0;
                var h = e.getLineA(),
                  l = e.getLineB(),
                  f = e.getLineC(),
                  v = e.getLineD();
                if (
                  A(u, h) ||
                  A(u, l) ||
                  A(u, f) ||
                  A(u, v) ||
                  A(i, h) ||
                  A(i, l) ||
                  A(i, f) ||
                  A(i, v) ||
                  A(o, h) ||
                  A(o, l) ||
                  A(o, f) ||
                  A(o, v)
                )
                  return !0;
                var m = r(e),
                  x = a(s, m, !0);
                return x.length > 0;
              };
            d.exports = n;
          },
          8786: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a, r, n) {
              return (
                n === void 0 && (n = 0),
                !(
                  A > t.right + n ||
                  c < t.left - n ||
                  a > t.bottom + n ||
                  r < t.top - n
                )
              );
            };
            d.exports = y;
          },
          48411: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(61472),
              c = t(60689),
              a = function (r, n) {
                return r.left > n.right ||
                  r.right < n.left ||
                  r.top > n.bottom ||
                  r.bottom < n.top
                  ? !1
                  : !!(
                      c(r, n.x, n.y) ||
                      A(r.getLineA(), n) ||
                      A(r.getLineB(), n) ||
                      A(r.getLineC(), n)
                    );
              };
            d.exports = a;
          },
          86117: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(25227),
              c = function (a, r) {
                return !!(
                  a.contains(r.x1, r.y1) ||
                  a.contains(r.x2, r.y2) ||
                  A(a.getLineA(), r) ||
                  A(a.getLineB(), r) ||
                  A(a.getLineC(), r)
                );
              };
            d.exports = c;
          },
          23589: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(86875),
              c = t(18680),
              a = t(25227),
              r = function (n, e) {
                if (
                  n.left > e.right ||
                  n.right < e.left ||
                  n.top > e.bottom ||
                  n.bottom < e.top
                )
                  return !1;
                var s = n.getLineA(),
                  u = n.getLineB(),
                  i = n.getLineC(),
                  o = e.getLineA(),
                  h = e.getLineB(),
                  l = e.getLineC();
                if (
                  a(s, o) ||
                  a(s, h) ||
                  a(s, l) ||
                  a(u, o) ||
                  a(u, h) ||
                  a(u, l) ||
                  a(i, o) ||
                  a(i, h) ||
                  a(i, l)
                )
                  return !0;
                var f = c(n),
                  v = A(e, f, !0);
                return (
                  v.length > 0 || ((f = c(e)), (v = A(n, f, !0)), v.length > 0)
                );
              };
            d.exports = r;
          },
          7563: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              CircleToCircle: t(22184),
              CircleToRectangle: t(26535),
              GetCircleToCircle: t(71145),
              GetCircleToRectangle: t(62508),
              GetLineToCircle: t(26111),
              GetLineToLine: t(96537),
              GetLineToPoints: t(17647),
              GetLineToPolygon: t(68439),
              GetLineToRectangle: t(9569),
              GetRaysFromPointToPolygon: t(7449),
              GetRectangleIntersection: t(82931),
              GetRectangleToRectangle: t(1946),
              GetRectangleToTriangle: t(34211),
              GetTriangleToCircle: t(80511),
              GetTriangleToLine: t(31343),
              GetTriangleToTriangle: t(70534),
              LineToCircle: t(61472),
              LineToLine: t(25227),
              LineToRectangle: t(47910),
              PointToLine: t(34426),
              PointToLineSegment: t(81414),
              RectangleToRectangle: t(90205),
              RectangleToTriangle: t(20370),
              RectangleToValues: t(8786),
              TriangleToCircle: t(48411),
              TriangleToLine: t(86117),
              TriangleToTriangle: t(23589),
            };
          },
          50599: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return Math.atan2(t.y2 - t.y1, t.x2 - t.x1);
            };
            d.exports = y;
          },
          58813: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              (A === void 0 && (A = 1), c === void 0 && (c = []));
              var a = Math.round(t.x1),
                r = Math.round(t.y1),
                n = Math.round(t.x2),
                e = Math.round(t.y2),
                s = Math.abs(n - a),
                u = Math.abs(e - r),
                i = a < n ? 1 : -1,
                o = r < e ? 1 : -1,
                h = s - u;
              c.push({ x: a, y: r });
              for (var l = 1; !(a === n && r === e); ) {
                var f = h << 1;
                (f > -u && ((h -= u), (a += i)),
                  f < s && ((h += s), (r += o)),
                  l % A === 0 && c.push({ x: a, y: r }),
                  l++);
              }
              return c;
            };
            d.exports = y;
          },
          88513: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              var a = A - (t.x1 + t.x2) / 2,
                r = c - (t.y1 + t.y2) / 2;
              return ((t.x1 += a), (t.y1 += r), (t.x2 += a), (t.y2 += r), t);
            };
            d.exports = y;
          },
          26718: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(88829),
              c = function (a) {
                return new A(a.x1, a.y1, a.x2, a.y2);
              };
            d.exports = c;
          },
          88930: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return A.setTo(t.x1, t.y1, t.x2, t.y2);
            };
            d.exports = y;
          },
          90656: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return (
                t.x1 === A.x1 && t.y1 === A.y1 && t.x2 === A.x2 && t.y2 === A.y2
              );
            };
            d.exports = y;
          },
          30897: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(16028),
              c = function (a, r, n) {
                n === void 0 && (n = r);
                var e = A(a),
                  s = a.x2 - a.x1,
                  u = a.y2 - a.y1;
                return (
                  r &&
                    ((a.x1 = a.x1 - (s / e) * r), (a.y1 = a.y1 - (u / e) * r)),
                  n &&
                    ((a.x2 = a.x2 + (s / e) * n), (a.y2 = a.y2 + (u / e) * n)),
                  a
                );
              };
            d.exports = c;
          },
          30684: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(92951),
              c = t(21902),
              a = t(79967),
              r = function (n, e, s, u, i) {
                (u === void 0 && (u = 0), i === void 0 && (i = []));
                var o = [],
                  h = n.x1,
                  l = n.y1,
                  f = n.x2 - h,
                  v = n.y2 - l,
                  m = c(e, i),
                  x,
                  g,
                  C = s - 1;
                for (x = 0; x < C; x++)
                  ((g = m(x / C)), o.push(new a(h + f * g, l + v * g)));
                if (((g = m(1)), o.push(new a(h + f * g, l + v * g)), u > 0)) {
                  var T = o[0],
                    F = [T];
                  for (x = 1; x < o.length - 1; x++) {
                    var w = o[x];
                    A(T, w) >= u && (F.push(w), (T = w));
                  }
                  var U = o[o.length - 1];
                  return (A(T, U) < u && F.pop(), F.push(U), F);
                } else return o;
              };
            d.exports = r;
          },
          20487: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(79967),
              c = function (a, r) {
                return (
                  r === void 0 && (r = new A()),
                  (r.x = (a.x1 + a.x2) / 2),
                  (r.y = (a.y1 + a.y2) / 2),
                  r
                );
              };
            d.exports = c;
          },
          11222: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @author       Florian Mertens
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(79967),
              c = function (a, r, n) {
                n === void 0 && (n = new A());
                var e = a.x1,
                  s = a.y1,
                  u = a.x2,
                  i = a.y2,
                  o = (u - e) * (u - e) + (i - s) * (i - s);
                if (o === 0) return n;
                var h = ((r.x - e) * (u - e) + (r.y - s) * (i - s)) / o;
                return ((n.x = e + h * (u - e)), (n.y = s + h * (i - s)), n);
              };
            d.exports = c;
          },
          7377: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(83392),
              c = t(50599),
              a = t(79967),
              r = function (n, e) {
                e === void 0 && (e = new a());
                var s = c(n) - A.TAU;
                return ((e.x = Math.cos(s)), (e.y = Math.sin(s)), e);
              };
            d.exports = r;
          },
          66464: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(79967),
              c = function (a, r, n) {
                return (
                  n === void 0 && (n = new A()),
                  (n.x = a.x1 + (a.x2 - a.x1) * r),
                  (n.y = a.y1 + (a.y2 - a.y1) * r),
                  n
                );
              };
            d.exports = c;
          },
          8570: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(16028),
              c = t(79967),
              a = function (r, n, e, s) {
                (s === void 0 && (s = []), !n && e > 0 && (n = A(r) / e));
                for (
                  var u = r.x1, i = r.y1, o = r.x2, h = r.y2, l = 0;
                  l < n;
                  l++
                ) {
                  var f = l / n,
                    v = u + (o - u) * f,
                    m = i + (h - i) * f;
                  s.push(new c(v, m));
                }
                return s;
              };
            d.exports = a;
          },
          65269: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @author       Florian Mertens
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              var c = t.x1,
                a = t.y1,
                r = t.x2,
                n = t.y2,
                e = (r - c) * (r - c) + (n - a) * (n - a);
              if (e === 0) return !1;
              var s = ((a - A.y) * (r - c) - (c - A.x) * (n - a)) / e;
              return Math.abs(s) * Math.sqrt(e);
            };
            d.exports = y;
          },
          82996: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return Math.abs(t.y1 - t.y2);
            };
            d.exports = y;
          },
          16028: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return Math.sqrt(
                (t.x2 - t.x1) * (t.x2 - t.x1) + (t.y2 - t.y1) * (t.y2 - t.y1),
              );
            };
            d.exports = y;
          },
          88829: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(66464),
              a = t(8570),
              r = t(52394),
              n = t(74077),
              e = t(93736),
              s = new A({
                initialize: function (i, o, h, l) {
                  (i === void 0 && (i = 0),
                    o === void 0 && (o = 0),
                    h === void 0 && (h = 0),
                    l === void 0 && (l = 0),
                    (this.type = r.LINE),
                    (this.x1 = i),
                    (this.y1 = o),
                    (this.x2 = h),
                    (this.y2 = l));
                },
                getPoint: function (u, i) {
                  return c(this, u, i);
                },
                getPoints: function (u, i, o) {
                  return a(this, u, i, o);
                },
                getRandomPoint: function (u) {
                  return n(this, u);
                },
                setTo: function (u, i, o, h) {
                  return (
                    u === void 0 && (u = 0),
                    i === void 0 && (i = 0),
                    o === void 0 && (o = 0),
                    h === void 0 && (h = 0),
                    (this.x1 = u),
                    (this.y1 = i),
                    (this.x2 = o),
                    (this.y2 = h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setFromObjects: function (u, i) {
                  return (
                    (this.x1 = u.x),
                    (this.y1 = u.y),
                    (this.x2 = i.x),
                    (this.y2 = i.y),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getPointA: function (u) {
                  return (
                    u === void 0 && (u = new e()),
                    u.set(this.x1, this.y1),
                    u
                  );
                },
                getPointB: function (u) {
                  return (
                    u === void 0 && (u = new e()),
                    u.set(this.x2, this.y2),
                    u
                  );
                },
                left: {
                  get: function () {
                    return Math.min(this.x1, this.x2);
                  },
                  set: function (u) {
                    this.x1 <= this.x2 ? (this.x1 = u) : (this.x2 = u);
                  },
                },
                right: {
                  get: function () {
                    return Math.max(this.x1, this.x2);
                  },
                  set: function (u) {
                    this.x1 > this.x2 ? (this.x1 = u) : (this.x2 = u);
                  },
                },
                top: {
                  get: function () {
                    return Math.min(this.y1, this.y2);
                  },
                  set: function (u) {
                    this.y1 <= this.y2 ? (this.y1 = u) : (this.y2 = u);
                  },
                },
                bottom: {
                  get: function () {
                    return Math.max(this.y1, this.y2);
                  },
                  set: function (u) {
                    this.y1 > this.y2 ? (this.y1 = u) : (this.y2 = u);
                  },
                },
              });
            d.exports = s;
          },
          73273: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(83392),
              c = t(1071),
              a = t(50599),
              r = function (n) {
                var e = a(n) - A.TAU;
                return c(e, -Math.PI, Math.PI);
              };
            d.exports = r;
          },
          96936: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(83392),
              c = t(50599),
              a = function (r) {
                return Math.cos(c(r) - A.TAU);
              };
            d.exports = a;
          },
          43581: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(83392),
              c = t(50599),
              a = function (r) {
                return Math.sin(c(r) - A.TAU);
              };
            d.exports = a;
          },
          13990: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              return ((t.x1 += A), (t.y1 += c), (t.x2 += A), (t.y2 += c), t);
            };
            d.exports = y;
          },
          1298: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return -((t.x2 - t.x1) / (t.y2 - t.y1));
            };
            d.exports = y;
          },
          74077: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(79967),
              c = function (a, r) {
                r === void 0 && (r = new A());
                var n = Math.random();
                return (
                  (r.x = a.x1 + n * (a.x2 - a.x1)),
                  (r.y = a.y1 + n * (a.y2 - a.y1)),
                  r
                );
              };
            d.exports = c;
          },
          30473: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(50599),
              c = t(73273),
              a = function (r, n) {
                return 2 * c(n) - Math.PI - A(r);
              };
            d.exports = a;
          },
          25968: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(1809),
              c = function (a, r) {
                var n = (a.x1 + a.x2) / 2,
                  e = (a.y1 + a.y2) / 2;
                return A(a, n, e, r);
              };
            d.exports = c;
          },
          24296: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(1809),
              c = function (a, r, n) {
                return A(a, r.x, r.y, n);
              };
            d.exports = c;
          },
          1809: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              var r = Math.cos(a),
                n = Math.sin(a),
                e = t.x1 - A,
                s = t.y1 - c;
              return (
                (t.x1 = e * r - s * n + A),
                (t.y1 = e * n + s * r + c),
                (e = t.x2 - A),
                (s = t.y2 - c),
                (t.x2 = e * r - s * n + A),
                (t.y2 = e * n + s * r + c),
                t
              );
            };
            d.exports = y;
          },
          88171: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a, r) {
              return (
                (t.x1 = A),
                (t.y1 = c),
                (t.x2 = A + Math.cos(a) * r),
                (t.y2 = c + Math.sin(a) * r),
                t
              );
            };
            d.exports = y;
          },
          82797: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return (t.y2 - t.y1) / (t.x2 - t.x1);
            };
            d.exports = y;
          },
          41067: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return Math.abs(t.x1 - t.x2);
            };
            d.exports = y;
          },
          28482: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(88829);
            ((A.Angle = t(50599)),
              (A.BresenhamPoints = t(58813)),
              (A.CenterOn = t(88513)),
              (A.Clone = t(26718)),
              (A.CopyFrom = t(88930)),
              (A.Equals = t(90656)),
              (A.Extend = t(30897)),
              (A.GetEasedPoints = t(30684)),
              (A.GetMidPoint = t(20487)),
              (A.GetNearestPoint = t(11222)),
              (A.GetNormal = t(7377)),
              (A.GetPoint = t(66464)),
              (A.GetPoints = t(8570)),
              (A.GetShortestDistance = t(65269)),
              (A.Height = t(82996)),
              (A.Length = t(16028)),
              (A.NormalAngle = t(73273)),
              (A.NormalX = t(96936)),
              (A.NormalY = t(43581)),
              (A.Offset = t(13990)),
              (A.PerpSlope = t(1298)),
              (A.Random = t(74077)),
              (A.ReflectAngle = t(30473)),
              (A.Rotate = t(25968)),
              (A.RotateAroundPoint = t(24296)),
              (A.RotateAroundXY = t(1809)),
              (A.SetToAngle = t(88171)),
              (A.Slope = t(82797)),
              (A.Width = t(41067)),
              (d.exports = A));
          },
          18693: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(74118),
              a = t(93736);
            function r(e, s, u, i) {
              var o = e - u,
                h = s - i,
                l = o * o + h * h;
              return Math.sqrt(l);
            }
            var n = new A({
              initialize: function (s, u, i) {
                ((this.vertex1 = s),
                  (this.vertex2 = u),
                  (this.vertex3 = i),
                  (this.bounds = new c()),
                  (this._inCenter = new a()));
              },
              getInCenter: function (e) {
                e === void 0 && (e = !0);
                var s = this.vertex1,
                  u = this.vertex2,
                  i = this.vertex3,
                  o,
                  h,
                  l,
                  f,
                  v,
                  m;
                e
                  ? ((o = s.x),
                    (h = s.y),
                    (l = u.x),
                    (f = u.y),
                    (v = i.x),
                    (m = i.y))
                  : ((o = s.vx),
                    (h = s.vy),
                    (l = u.vx),
                    (f = u.vy),
                    (v = i.vx),
                    (m = i.vy));
                var x = r(v, m, l, f),
                  g = r(o, h, v, m),
                  C = r(l, f, o, h),
                  T = x + g + C;
                return this._inCenter.set(
                  (o * x + l * g + v * C) / T,
                  (h * x + f * g + m * C) / T,
                );
              },
              contains: function (e, s, u) {
                var i = this.vertex1,
                  o = this.vertex2,
                  h = this.vertex3,
                  l = i.vx,
                  f = i.vy,
                  v = o.vx,
                  m = o.vy,
                  x = h.vx,
                  g = h.vy;
                if (u) {
                  var C = u.a,
                    T = u.b,
                    F = u.c,
                    w = u.d,
                    U = u.e,
                    M = u.f;
                  ((l = i.vx * C + i.vy * F + U),
                    (f = i.vx * T + i.vy * w + M),
                    (v = o.vx * C + o.vy * F + U),
                    (m = o.vx * T + o.vy * w + M),
                    (x = h.vx * C + h.vy * F + U),
                    (g = h.vx * T + h.vy * w + M));
                }
                var I = x - l,
                  O = g - f,
                  D = v - l,
                  G = m - f,
                  X = e - l,
                  z = s - f,
                  K = I * I + O * O,
                  N = I * D + O * G,
                  b = I * X + O * z,
                  R = D * D + G * G,
                  H = D * X + G * z,
                  Q = K * R - N * N,
                  V = Q === 0 ? 0 : 1 / Q,
                  Y = (R * b - N * H) * V,
                  J = (K * H - N * b) * V;
                return Y >= 0 && J >= 0 && Y + J < 1;
              },
              isCounterClockwise: function (e) {
                var s = this.vertex1,
                  u = this.vertex2,
                  i = this.vertex3,
                  o =
                    (u.vx - s.vx) * (i.vy - s.vy) -
                    (u.vy - s.vy) * (i.vx - s.vx);
                return e <= 0 ? o >= 0 : o < 0;
              },
              load: function (e, s, u, i, o) {
                return (
                  (u = this.vertex1.load(e, s, u, i, o)),
                  (u = this.vertex2.load(e, s, u, i, o)),
                  (u = this.vertex3.load(e, s, u, i, o)),
                  u
                );
              },
              transformCoordinatesLocal: function (e, s, u, i) {
                return (
                  this.vertex1.transformCoordinatesLocal(e, s, u, i),
                  this.vertex2.transformCoordinatesLocal(e, s, u, i),
                  this.vertex3.transformCoordinatesLocal(e, s, u, i),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              updateBounds: function () {
                var e = this.vertex1,
                  s = this.vertex2,
                  u = this.vertex3,
                  i = this.bounds;
                return (
                  (i.x = Math.min(e.vx, s.vx, u.vx)),
                  (i.y = Math.min(e.vy, s.vy, u.vy)),
                  (i.width = Math.max(e.vx, s.vx, u.vx) - i.x),
                  (i.height = Math.max(e.vy, s.vy, u.vy) - i.y),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              isInView: function (e, s, u, i, o, h, l, f, v, m, x) {
                this.update(i, o, h, l, f, v, m, x);
                var g = this.vertex1,
                  C = this.vertex2,
                  T = this.vertex3;
                if (
                  (g.ta <= 0 && C.ta <= 0 && T.ta <= 0) ||
                  (s && !this.isCounterClockwise(u))
                )
                  return !1;
                var F = this.bounds;
                ((F.x = Math.min(g.tx, C.tx, T.tx)),
                  (F.y = Math.min(g.ty, C.ty, T.ty)),
                  (F.width = Math.max(g.tx, C.tx, T.tx) - F.x),
                  (F.height = Math.max(g.ty, C.ty, T.ty) - F.y));
                var w = e.x + e.width,
                  U = e.y + e.height;
                return F.width <= 0 ||
                  F.height <= 0 ||
                  e.width <= 0 ||
                  e.height <= 0
                  ? !1
                  : !(F.right < e.x || F.bottom < e.y || F.x > w || F.y > U);
              },
              scrollUV: function (e, s) {
                return (
                  this.vertex1.scrollUV(e, s),
                  this.vertex2.scrollUV(e, s),
                  this.vertex3.scrollUV(e, s),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              scaleUV: function (e, s) {
                return (
                  this.vertex1.scaleUV(e, s),
                  this.vertex2.scaleUV(e, s),
                  this.vertex3.scaleUV(e, s),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setColor: function (e) {
                return (
                  (this.vertex1.color = e),
                  (this.vertex2.color = e),
                  (this.vertex3.color = e),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              update: function (e, s, u, i, o, h, l, f) {
                return (
                  this.vertex1.update(s, u, i, o, h, l, f, e),
                  this.vertex2.update(s, u, i, o, h, l, f, e),
                  this.vertex3.update(s, u, i, o, h, l, f, e),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              translate: function (e, s) {
                s === void 0 && (s = 0);
                var u = this.vertex1,
                  i = this.vertex2,
                  o = this.vertex3;
                return (
                  (u.x += e),
                  (u.y += s),
                  (i.x += e),
                  (i.y += s),
                  (o.x += e),
                  (o.y += s),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              x: {
                get: function () {
                  return this.getInCenter().x;
                },
                set: function (e) {
                  var s = this.getInCenter();
                  this.translate(e - s.x, 0);
                },
              },
              y: {
                get: function () {
                  return this.getInCenter().y;
                },
                set: function (e) {
                  var s = this.getInCenter();
                  this.translate(0, e - s.y);
                },
              },
              alpha: {
                get: function () {
                  var e = this.vertex1,
                    s = this.vertex2,
                    u = this.vertex3;
                  return (e.alpha + s.alpha + u.alpha) / 3;
                },
                set: function (e) {
                  ((this.vertex1.alpha = e),
                    (this.vertex2.alpha = e),
                    (this.vertex3.alpha = e));
                },
              },
              depth: {
                get: function () {
                  var e = this.vertex1,
                    s = this.vertex2,
                    u = this.vertex3;
                  return (e.vz + s.vz + u.vz) / 3;
                },
              },
              destroy: function () {
                ((this.vertex1 = null),
                  (this.vertex2 = null),
                  (this.vertex3 = null));
              },
            });
            d.exports = n;
          },
          99425: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(18693),
              c = t(72632),
              a = t(16650),
              r = t(70015),
              n = t(85769),
              e = new r(),
              s = new r(),
              u = new a(),
              i = function (o) {
                var h = c(o, "mesh"),
                  l = c(o, "texture", null),
                  f = c(o, "frame"),
                  v = c(o, "width", 1),
                  m = c(o, "height", v),
                  x = c(o, "widthSegments", 1),
                  g = c(o, "heightSegments", x),
                  C = c(o, "x", 0),
                  T = c(o, "y", 0),
                  F = c(o, "z", 0),
                  w = c(o, "rotateX", 0),
                  U = c(o, "rotateY", 0),
                  M = c(o, "rotateZ", 0),
                  I = c(o, "zIsUp", !0),
                  O = c(o, "isOrtho", h ? h.dirtyCache[11] : !1),
                  D = c(o, "colors", [16777215]),
                  G = c(o, "alphas", [1]),
                  X = c(o, "tile", !1),
                  z = c(o, "flipY", !1),
                  K = c(o, "width", null),
                  N = { faces: [], verts: [] };
                (e.set(C, T, F),
                  s.set(w, U, M),
                  u.fromRotationXYTranslation(s, e, I));
                var b;
                if (!l && h) ((l = h.texture), f || (b = h.frame));
                else if (h && typeof l == "string")
                  l = h.scene.sys.textures.get(l);
                else if (!l) return N;
                (b || (b = l.get(f)),
                  !K &&
                    O &&
                    l &&
                    h &&
                    ((v = b.width / h.height), (m = b.height / h.height)));
                var R = v / 2,
                  H = m / 2,
                  Q = Math.floor(x),
                  V = Math.floor(g),
                  Y = Q + 1,
                  J = V + 1,
                  $ = v / Q,
                  W = m / V,
                  Z = [],
                  j = [],
                  k,
                  _,
                  q = 0,
                  et = 1,
                  st = 0,
                  nt = 1;
                b &&
                  ((q = b.u0),
                  (et = b.u1),
                  z ? ((st = b.v1), (nt = b.v0)) : ((st = b.v0), (nt = b.v1)));
                var it = et - q,
                  tt = nt - st;
                for (_ = 0; _ < J; _++) {
                  var rt = _ * W - H;
                  for (k = 0; k < Y; k++) {
                    var at = k * $ - R;
                    j.push(at, -rt);
                    var ot = q + it * (k / Q),
                      lt = st + tt * (_ / V);
                    Z.push(ot, lt);
                  }
                }
                (Array.isArray(D) || (D = [D]), Array.isArray(G) || (G = [G]));
                var vt = 0,
                  dt = 0;
                for (_ = 0; _ < V; _++)
                  for (k = 0; k < Q; k++) {
                    var ct = (k + Y * _) * 2,
                      pt = (k + Y * (_ + 1)) * 2,
                      Ut = (k + 1 + Y * (_ + 1)) * 2,
                      St = (k + 1 + Y * _) * 2,
                      Ht = D[dt],
                      Xt = G[vt],
                      Lt = new n(
                        j[ct],
                        j[ct + 1],
                        0,
                        Z[ct],
                        Z[ct + 1],
                        Ht,
                        Xt,
                      ).transformMat4(u),
                      $t = new n(
                        j[pt],
                        j[pt + 1],
                        0,
                        Z[pt],
                        Z[pt + 1],
                        Ht,
                        Xt,
                      ).transformMat4(u),
                      Re = new n(
                        j[St],
                        j[St + 1],
                        0,
                        Z[St],
                        Z[St + 1],
                        Ht,
                        Xt,
                      ).transformMat4(u),
                      gi = new n(
                        j[pt],
                        j[pt + 1],
                        0,
                        Z[pt],
                        Z[pt + 1],
                        Ht,
                        Xt,
                      ).transformMat4(u),
                      mi = new n(
                        j[Ut],
                        j[Ut + 1],
                        0,
                        Z[Ut],
                        Z[Ut + 1],
                        Ht,
                        Xt,
                      ).transformMat4(u),
                      xi = new n(
                        j[St],
                        j[St + 1],
                        0,
                        Z[St],
                        Z[St + 1],
                        Ht,
                        Xt,
                      ).transformMat4(u);
                    (X &&
                      (Lt.setUVs(q, nt),
                      $t.setUVs(q, st),
                      Re.setUVs(et, nt),
                      gi.setUVs(q, st),
                      mi.setUVs(et, st),
                      xi.setUVs(et, nt)),
                      dt++,
                      dt === D.length && (dt = 0),
                      vt++,
                      vt === G.length && (vt = 0),
                      N.verts.push(Lt, $t, Re, gi, mi, xi),
                      N.faces.push(new A(Lt, $t, Re), new A(gi, mi, xi)));
                  }
                return (
                  h &&
                    ((h.faces = h.faces.concat(N.faces)),
                    (h.vertices = h.vertices.concat(N.verts))),
                  N
                );
              };
            d.exports = i;
          },
          53267: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(18693),
              c = t(16650),
              a = t(70015),
              r = t(85769),
              n = new a(),
              e = new a(),
              s = new c(),
              u = function (i, o, h, l, f, v, m, x, g, C) {
                (h === void 0 && (h = 1),
                  l === void 0 && (l = 0),
                  f === void 0 && (f = 0),
                  v === void 0 && (v = 0),
                  m === void 0 && (m = 0),
                  x === void 0 && (x = 0),
                  g === void 0 && (g = 0),
                  C === void 0 && (C = !0));
                var T = { faces: [], verts: [] },
                  F = i.materials;
                (n.set(l, f, v),
                  e.set(m, x, g),
                  s.fromRotationXYTranslation(e, n, C));
                for (var w = 0; w < i.models.length; w++)
                  for (
                    var U = i.models[w],
                      M = U.vertices,
                      I = U.textureCoords,
                      O = U.faces,
                      D = 0;
                    D < O.length;
                    D++
                  ) {
                    var G = O[D],
                      X = G.vertices[0],
                      z = G.vertices[1],
                      K = G.vertices[2],
                      N = M[X.vertexIndex],
                      b = M[z.vertexIndex],
                      R = M[K.vertexIndex],
                      H = X.textureCoordsIndex,
                      Q = z.textureCoordsIndex,
                      V = K.textureCoordsIndex,
                      Y = H === -1 ? { u: 0, v: 1 } : I[H],
                      J = Q === -1 ? { u: 0, v: 0 } : I[Q],
                      $ = V === -1 ? { u: 1, v: 1 } : I[V],
                      W = 16777215;
                    G.material !== "" && F[G.material] && (W = F[G.material]);
                    var Z = new r(
                        N.x * h,
                        N.y * h,
                        N.z * h,
                        Y.u,
                        Y.v,
                        W,
                      ).transformMat4(s),
                      j = new r(
                        b.x * h,
                        b.y * h,
                        b.z * h,
                        J.u,
                        J.v,
                        W,
                      ).transformMat4(s),
                      k = new r(
                        R.x * h,
                        R.y * h,
                        R.z * h,
                        $.u,
                        $.v,
                        W,
                      ).transformMat4(s);
                    (T.verts.push(Z, j, k), T.faces.push(new A(Z, j, k)));
                  }
                return (
                  o &&
                    ((o.faces = o.faces.concat(T.faces)),
                    (o.vertices = o.vertices.concat(T.verts))),
                  T
                );
              };
            d.exports = u;
          },
          67623: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(18693),
              c = t(85769),
              a = function (r, n, e, s, u, i, o, h) {
                if (
                  (s === void 0 && (s = !1),
                  i === void 0 && (i = 16777215),
                  o === void 0 && (o = 1),
                  h === void 0 && (h = !1),
                  r.length !== n.length && !s)
                ) {
                  console.warn(
                    "GenerateVerts: vertices and uvs count not equal",
                  );
                  return;
                }
                var l = { faces: [], vertices: [] },
                  f,
                  v,
                  m,
                  x,
                  g,
                  C,
                  T,
                  F,
                  w,
                  U,
                  M,
                  I = s ? 3 : 2,
                  O = Array.isArray(i),
                  D = Array.isArray(o);
                if (Array.isArray(e) && e.length > 0)
                  for (f = 0; f < e.length; f++) {
                    var G = e[f],
                      X = e[f] * 2,
                      z = e[f] * I;
                    ((v = r[z]),
                      (m = r[z + 1]),
                      (x = s ? r[z + 2] : 0),
                      (g = n[X]),
                      (C = n[X + 1]),
                      h && (C = 1 - C),
                      (T = O ? i[G] : i),
                      (F = D ? o[G] : o),
                      (w = 0),
                      (U = 0),
                      (M = 0),
                      u && ((w = u[z]), (U = u[z + 1]), (M = s ? u[z + 2] : 0)),
                      l.vertices.push(new c(v, m, x, g, C, T, F, w, U, M)));
                  }
                else {
                  var K = 0,
                    N = 0;
                  for (f = 0; f < r.length; f += I)
                    ((v = r[f]),
                      (m = r[f + 1]),
                      (x = s ? r[f + 2] : 0),
                      (g = n[K]),
                      (C = n[K + 1]),
                      (T = O ? i[N] : i),
                      (F = D ? o[N] : o),
                      (w = 0),
                      (U = 0),
                      (M = 0),
                      u && ((w = u[f]), (U = u[f + 1]), (M = s ? u[f + 2] : 0)),
                      l.vertices.push(new c(v, m, x, g, C, T, F, w, U, M)),
                      (K += 2),
                      N++);
                }
                for (f = 0; f < l.vertices.length; f += 3) {
                  var b = l.vertices[f],
                    R = l.vertices[f + 1],
                    H = l.vertices[f + 2];
                  l.faces.push(new A(b, R, H));
                }
                return l;
              };
            d.exports = a;
          },
          27291: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = !0,
              t = "untitled",
              A = "",
              c = "";
            function a(v) {
              var m = v.indexOf("#");
              return m > -1 ? v.substring(0, m) : v;
            }
            function r(v) {
              return (
                v.models.length === 0 &&
                  v.models.push({
                    faces: [],
                    name: t,
                    textureCoords: [],
                    vertexNormals: [],
                    vertices: [],
                  }),
                (A = ""),
                v.models[v.models.length - 1]
              );
            }
            function n(v, m) {
              var x = v.length >= 2 ? v[1] : t;
              (m.models.push({
                faces: [],
                name: x,
                textureCoords: [],
                vertexNormals: [],
                vertices: [],
              }),
                (A = ""));
            }
            function e(v) {
              v.length === 2 && (A = v[1]);
            }
            function s(v, m) {
              var x = v.length,
                g = x >= 2 ? parseFloat(v[1]) : 0,
                C = x >= 3 ? parseFloat(v[2]) : 0,
                T = x >= 4 ? parseFloat(v[3]) : 0;
              r(m).vertices.push({ x: g, y: C, z: T });
            }
            function u(v, m) {
              var x = v.length,
                g = x >= 2 ? parseFloat(v[1]) : 0,
                C = x >= 3 ? parseFloat(v[2]) : 0,
                T = x >= 4 ? parseFloat(v[3]) : 0;
              (isNaN(g) && (g = 0),
                isNaN(C) && (C = 0),
                isNaN(T) && (T = 0),
                y && (C = 1 - C),
                r(m).textureCoords.push({ u: g, v: C, w: T }));
            }
            function i(v, m) {
              var x = v.length,
                g = x >= 2 ? parseFloat(v[1]) : 0,
                C = x >= 3 ? parseFloat(v[2]) : 0,
                T = x >= 4 ? parseFloat(v[3]) : 0;
              r(m).vertexNormals.push({ x: g, y: C, z: T });
            }
            function o(v, m) {
              var x = v.length - 1;
              if (!(x < 3)) {
                for (
                  var g = { group: A, material: c, vertices: [] }, C = 0;
                  C < x;
                  C++
                ) {
                  var T = v[C + 1],
                    F = T.split("/"),
                    w = F.length;
                  if (!(w < 1 || w > 3)) {
                    var U = 0,
                      M = 0,
                      I = 0;
                    ((U = parseInt(F[0], 10)),
                      w > 1 && F[1] !== "" && (M = parseInt(F[1], 10)),
                      w > 2 && (I = parseInt(F[2], 10)),
                      U !== 0 &&
                        (U < 0 && (U = r(m).vertices.length + 1 + U),
                        (M -= 1),
                        (U -= 1),
                        (I -= 1),
                        g.vertices.push({
                          textureCoordsIndex: M,
                          vertexIndex: U,
                          vertexNormalIndex: I,
                        })));
                  }
                }
                r(m).faces.push(g);
              }
            }
            function h(v, m) {
              v.length >= 2 && m.materialLibraries.push(v[1]);
            }
            function l(v) {
              v.length >= 2 && (c = v[1]);
            }
            var f = function (v, m) {
              (m === void 0 && (m = !0), (y = m));
              var x = { materials: {}, materialLibraries: [], models: [] };
              ((A = ""), (c = ""));
              for (
                var g = v.split(`
`),
                  C = 0;
                C < g.length;
                C++
              ) {
                var T = a(g[C]),
                  F = T.replace(/\s\s+/g, " ").trim().split(" ");
                switch (F[0].toLowerCase()) {
                  case "o":
                    n(F, x);
                    break;
                  case "g":
                    e(F);
                    break;
                  case "v":
                    s(F, x);
                    break;
                  case "vt":
                    u(F, x);
                    break;
                  case "vn":
                    i(F, x);
                    break;
                  case "f":
                    o(F, x);
                    break;
                  case "mtllib":
                    h(F, x);
                    break;
                  case "usemtl":
                    l(F);
                    break;
                }
              }
              return x;
            };
            d.exports = f;
          },
          76799: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(22946),
              c = function (a) {
                for (
                  var r = {},
                    n = a.split(`
`),
                    e = "",
                    s = 0;
                  s < n.length;
                  s++
                ) {
                  var u = n[s].trim();
                  if (!(u.indexOf("#") === 0 || u === "")) {
                    var i = u.replace(/\s\s+/g, " ").trim().split(" ");
                    switch (i[0].toLowerCase()) {
                      case "newmtl": {
                        e = i[1];
                        break;
                      }
                      case "kd": {
                        var o = Math.floor(i[1] * 255),
                          h = i.length >= 2 ? Math.floor(i[2] * 255) : o,
                          l = i.length >= 3 ? Math.floor(i[3] * 255) : o;
                        r[e] = A(o, h, l);
                        break;
                      }
                    }
                  }
                }
                return r;
              };
            d.exports = c;
          },
          15313: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              var r, n;
              if (c === void 0 && a === void 0) {
                var e = t.getInCenter();
                ((r = e.x), (n = e.y));
              }
              var s = Math.cos(A),
                u = Math.sin(A),
                i = t.vertex1,
                o = t.vertex2,
                h = t.vertex3,
                l = i.x - r,
                f = i.y - n;
              (i.set(l * s - f * u + r, l * u + f * s + n),
                (l = o.x - r),
                (f = o.y - n),
                o.set(l * s - f * u + r, l * u + f * s + n),
                (l = h.x - r),
                (f = h.y - n),
                h.set(l * s - f * u + r, l * u + f * s + n));
            };
            d.exports = y;
          },
          85769: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(75512),
              a = t(70015),
              r = new A({
                Extends: a,
                initialize: function (e, s, u, i, o, h, l, f, v, m) {
                  (h === void 0 && (h = 16777215),
                    l === void 0 && (l = 1),
                    f === void 0 && (f = 0),
                    v === void 0 && (v = 0),
                    m === void 0 && (m = 0),
                    a.call(this, e, s, u),
                    (this.vx = 0),
                    (this.vy = 0),
                    (this.vz = 0),
                    (this.nx = f),
                    (this.ny = v),
                    (this.nz = m),
                    (this.u = i),
                    (this.v = o),
                    (this.color = h),
                    (this.alpha = l),
                    (this.tx = 0),
                    (this.ty = 0),
                    (this.ta = 0),
                    (this.tu = i),
                    (this.tv = o));
                },
                setUVs: function (n, e) {
                  return (
                    (this.u = n),
                    (this.v = e),
                    (this.tu = n),
                    (this.tv = e),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                scrollUV: function (n, e) {
                  return (
                    (this.tu += n),
                    (this.tv += e),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                scaleUV: function (n, e) {
                  return (
                    (this.tu = this.u * n),
                    (this.tv = this.v * e),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                transformCoordinatesLocal: function (n, e, s, u) {
                  var i = this.x,
                    o = this.y,
                    h = this.z,
                    l = n.val,
                    f = i * l[0] + o * l[4] + h * l[8] + l[12],
                    v = i * l[1] + o * l[5] + h * l[9] + l[13],
                    m = i * l[2] + o * l[6] + h * l[10] + l[14],
                    x = i * l[3] + o * l[7] + h * l[11] + l[15];
                  ((this.vx = (f / x) * e),
                    (this.vy = -(v / x) * s),
                    u <= 0 ? (this.vz = m / x) : (this.vz = -(m / x)));
                },
                resize: function (n, e, s, u, i, o) {
                  return (
                    (this.x = n),
                    (this.y = e),
                    (this.vx = this.x * s),
                    (this.vy = -this.y * u),
                    (this.vz = 0),
                    i < 0.5
                      ? (this.vx += s * (0.5 - i))
                      : i > 0.5 && (this.vx -= s * (i - 0.5)),
                    o < 0.5
                      ? (this.vy += u * (0.5 - o))
                      : o > 0.5 && (this.vy -= u * (o - 0.5)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                update: function (n, e, s, u, i, o, h, l) {
                  var f = this.vx * n + this.vy * s + i,
                    v = this.vx * e + this.vy * u + o;
                  return (
                    h && ((f = Math.round(f)), (v = Math.round(v))),
                    (this.tx = f),
                    (this.ty = v),
                    (this.ta = this.alpha * l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                load: function (n, e, s, u, i) {
                  return (
                    (n[++s] = this.tx),
                    (n[++s] = this.ty),
                    (n[++s] = this.tu),
                    (n[++s] = this.tv),
                    (n[++s] = u),
                    (n[++s] = i),
                    (e[++s] = c.getTintAppendFloatAlpha(this.color, this.ta)),
                    s
                  );
                },
              });
            d.exports = r;
          },
          14293: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = {
              Face: t(18693),
              GenerateGridVerts: t(99425),
              GenerateObjVerts: t(53267),
              GenerateVerts: t(67623),
              ParseObj: t(27291),
              ParseObjMaterial: t(76799),
              RotateFace: t(15313),
              Vertex: t(85769),
            };
            d.exports = A;
          },
          77601: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return t.setTo(Math.ceil(t.x), Math.ceil(t.y));
            };
            d.exports = y;
          },
          38933: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(79967),
              c = function (a) {
                return new A(a.x, a.y);
              };
            d.exports = c;
          },
          47103: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return A.setTo(t.x, t.y);
            };
            d.exports = y;
          },
          13625: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return t.x === A.x && t.y === A.y;
            };
            d.exports = y;
          },
          12536: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return t.setTo(Math.floor(t.x), Math.floor(t.y));
            };
            d.exports = y;
          },
          54205: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(79967),
              c = function (a, r) {
                if ((r === void 0 && (r = new A()), !Array.isArray(a)))
                  throw new Error(
                    "GetCentroid points argument must be an array",
                  );
                var n = a.length;
                if (n < 1)
                  throw new Error("GetCentroid points array must not be empty");
                if (n === 1) ((r.x = a[0].x), (r.y = a[0].y));
                else {
                  for (var e = 0; e < n; e++)
                    ((r.x += a[e].x), (r.y += a[e].y));
                  ((r.x /= n), (r.y /= n));
                }
                return r;
              };
            d.exports = c;
          },
          50083: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return Math.sqrt(t.x * t.x + t.y * t.y);
            };
            d.exports = y;
          },
          82712: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return t.x * t.x + t.y * t.y;
            };
            d.exports = y;
          },
          20052: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(74118),
              c = function (a, r) {
                r === void 0 && (r = new A());
                for (
                  var n = Number.NEGATIVE_INFINITY,
                    e = Number.POSITIVE_INFINITY,
                    s = Number.NEGATIVE_INFINITY,
                    u = Number.POSITIVE_INFINITY,
                    i = 0;
                  i < a.length;
                  i++
                ) {
                  var o = a[i];
                  (o.x > n && (n = o.x),
                    o.x < e && (e = o.x),
                    o.y > s && (s = o.y),
                    o.y < u && (u = o.y));
                }
                return (
                  (r.x = e),
                  (r.y = u),
                  (r.width = n - e),
                  (r.height = s - u),
                  r
                );
              };
            d.exports = c;
          },
          77154: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(79967),
              c = function (a, r, n, e) {
                return (
                  n === void 0 && (n = 0),
                  e === void 0 && (e = new A()),
                  (e.x = a.x + (r.x - a.x) * n),
                  (e.y = a.y + (r.y - a.y) * n),
                  e
                );
              };
            d.exports = c;
          },
          42397: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return t.setTo(t.y, t.x);
            };
            d.exports = y;
          },
          59464: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(79967),
              c = function (a, r) {
                return (r === void 0 && (r = new A()), r.setTo(-a.x, -a.y));
              };
            d.exports = c;
          },
          79967: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(52394),
              a = new A({
                initialize: function (n, e) {
                  (n === void 0 && (n = 0),
                    e === void 0 && (e = n),
                    (this.type = c.POINT),
                    (this.x = n),
                    (this.y = e));
                },
                setTo: function (r, n) {
                  return (
                    r === void 0 && (r = 0),
                    n === void 0 && (n = r),
                    (this.x = r),
                    (this.y = n),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
              });
            d.exports = a;
          },
          53581: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(79967),
              c = t(82712),
              a = function (r, n, e) {
                e === void 0 && (e = new A());
                var s = r.x * n.x + r.y * n.y,
                  u = s / c(n);
                return (u !== 0 && ((e.x = u * n.x), (e.y = u * n.y)), e);
              };
            d.exports = a;
          },
          50817: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(79967),
              c = function (a, r, n) {
                n === void 0 && (n = new A());
                var e = a.x * r.x + a.y * r.y;
                return (e !== 0 && ((n.x = e * r.x), (n.y = e * r.y)), n);
              };
            d.exports = c;
          },
          40525: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(50083),
              c = function (a, r) {
                if (a.x !== 0 || a.y !== 0) {
                  var n = A(a);
                  ((a.x /= n), (a.y /= n));
                }
                return ((a.x *= r), (a.y *= r), a);
              };
            d.exports = c;
          },
          63472: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(79967);
            ((A.Ceil = t(77601)),
              (A.Clone = t(38933)),
              (A.CopyFrom = t(47103)),
              (A.Equals = t(13625)),
              (A.Floor = t(12536)),
              (A.GetCentroid = t(54205)),
              (A.GetMagnitude = t(50083)),
              (A.GetMagnitudeSq = t(82712)),
              (A.GetRectangleFromPoints = t(20052)),
              (A.Interpolate = t(77154)),
              (A.Invert = t(42397)),
              (A.Negative = t(59464)),
              (A.Project = t(53581)),
              (A.ProjectUnit = t(50817)),
              (A.SetMagnitude = t(40525)),
              (d.exports = A));
          },
          19631: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(8580),
              c = function (a) {
                return new A(a.points);
              };
            d.exports = c;
          },
          45604: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              for (
                var a = !1, r = -1, n = t.points.length - 1;
                ++r < t.points.length;
                n = r
              ) {
                var e = t.points[r].x,
                  s = t.points[r].y,
                  u = t.points[n].x,
                  i = t.points[n].y;
                ((s <= c && c < i) || (i <= c && c < s)) &&
                  A < ((u - e) * (c - s)) / (i - s) + e &&
                  (a = !a);
              }
              return a;
            };
            d.exports = y;
          },
          87289: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(45604),
              c = function (a, r) {
                return A(a, r.x, r.y);
              };
            d.exports = c;
          },
          11117: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ function y(N, b, R) {
              R = R || 2;
              var H = b && b.length,
                Q = H ? b[0] * R : N.length,
                V = t(N, 0, Q, R, !0),
                Y = [];
              if (!V || V.next === V.prev) return Y;
              var J, $, W, Z, j, k, _;
              if ((H && (V = s(N, b, V, R)), N.length > 80 * R)) {
                ((J = W = N[0]), ($ = Z = N[1]));
                for (var q = R; q < Q; q += R)
                  ((j = N[q]),
                    (k = N[q + 1]),
                    j < J && (J = j),
                    k < $ && ($ = k),
                    j > W && (W = j),
                    k > Z && (Z = k));
                ((_ = Math.max(W - J, Z - $)), (_ = _ !== 0 ? 32767 / _ : 0));
              }
              return (c(V, Y, R, J, $, _, 0), Y);
            }
            function t(N, b, R, H, Q) {
              var V, Y;
              if (Q === K(N, b, R, H) > 0)
                for (V = b; V < R; V += H) Y = G(V, N[V], N[V + 1], Y);
              else for (V = R - H; V >= b; V -= H) Y = G(V, N[V], N[V + 1], Y);
              return (Y && T(Y, Y.next) && (X(Y), (Y = Y.next)), Y);
            }
            function A(N, b) {
              if (!N) return N;
              b || (b = N);
              var R = N,
                H;
              do
                if (
                  ((H = !1),
                  !R.steiner && (T(R, R.next) || C(R.prev, R, R.next) === 0))
                ) {
                  if ((X(R), (R = b = R.prev), R === R.next)) break;
                  H = !0;
                } else R = R.next;
              while (H || R !== b);
              return b;
            }
            function c(N, b, R, H, Q, V, Y) {
              if (N) {
                !Y && V && l(N, H, Q, V);
                for (var J = N, $, W; N.prev !== N.next; ) {
                  if ((($ = N.prev), (W = N.next), V ? r(N, H, Q, V) : a(N))) {
                    (b.push(($.i / R) | 0),
                      b.push((N.i / R) | 0),
                      b.push((W.i / R) | 0),
                      X(N),
                      (N = W.next),
                      (J = W.next));
                    continue;
                  }
                  if (((N = W), N === J)) {
                    Y
                      ? Y === 1
                        ? ((N = n(A(N), b, R)), c(N, b, R, H, Q, V, 2))
                        : Y === 2 && e(N, b, R, H, Q, V)
                      : c(A(N), b, R, H, Q, V, 1);
                    break;
                  }
                }
              }
            }
            function a(N) {
              var b = N.prev,
                R = N,
                H = N.next;
              if (C(b, R, H) >= 0) return !1;
              for (
                var Q = b.x,
                  V = R.x,
                  Y = H.x,
                  J = b.y,
                  $ = R.y,
                  W = H.y,
                  Z = Q < V ? (Q < Y ? Q : Y) : V < Y ? V : Y,
                  j = J < $ ? (J < W ? J : W) : $ < W ? $ : W,
                  k = Q > V ? (Q > Y ? Q : Y) : V > Y ? V : Y,
                  _ = J > $ ? (J > W ? J : W) : $ > W ? $ : W,
                  q = H.next;
                q !== b;
              ) {
                if (
                  q.x >= Z &&
                  q.x <= k &&
                  q.y >= j &&
                  q.y <= _ &&
                  x(Q, J, V, $, Y, W, q.x, q.y) &&
                  C(q.prev, q, q.next) >= 0
                )
                  return !1;
                q = q.next;
              }
              return !0;
            }
            function r(N, b, R, H) {
              var Q = N.prev,
                V = N,
                Y = N.next;
              if (C(Q, V, Y) >= 0) return !1;
              for (
                var J = Q.x,
                  $ = V.x,
                  W = Y.x,
                  Z = Q.y,
                  j = V.y,
                  k = Y.y,
                  _ = J < $ ? (J < W ? J : W) : $ < W ? $ : W,
                  q = Z < j ? (Z < k ? Z : k) : j < k ? j : k,
                  et = J > $ ? (J > W ? J : W) : $ > W ? $ : W,
                  st = Z > j ? (Z > k ? Z : k) : j > k ? j : k,
                  nt = v(_, q, b, R, H),
                  it = v(et, st, b, R, H),
                  tt = N.prevZ,
                  rt = N.nextZ;
                tt && tt.z >= nt && rt && rt.z <= it;
              ) {
                if (
                  (tt.x >= _ &&
                    tt.x <= et &&
                    tt.y >= q &&
                    tt.y <= st &&
                    tt !== Q &&
                    tt !== Y &&
                    x(J, Z, $, j, W, k, tt.x, tt.y) &&
                    C(tt.prev, tt, tt.next) >= 0) ||
                  ((tt = tt.prevZ),
                  rt.x >= _ &&
                    rt.x <= et &&
                    rt.y >= q &&
                    rt.y <= st &&
                    rt !== Q &&
                    rt !== Y &&
                    x(J, Z, $, j, W, k, rt.x, rt.y) &&
                    C(rt.prev, rt, rt.next) >= 0)
                )
                  return !1;
                rt = rt.nextZ;
              }
              for (; tt && tt.z >= nt; ) {
                if (
                  tt.x >= _ &&
                  tt.x <= et &&
                  tt.y >= q &&
                  tt.y <= st &&
                  tt !== Q &&
                  tt !== Y &&
                  x(J, Z, $, j, W, k, tt.x, tt.y) &&
                  C(tt.prev, tt, tt.next) >= 0
                )
                  return !1;
                tt = tt.prevZ;
              }
              for (; rt && rt.z <= it; ) {
                if (
                  rt.x >= _ &&
                  rt.x <= et &&
                  rt.y >= q &&
                  rt.y <= st &&
                  rt !== Q &&
                  rt !== Y &&
                  x(J, Z, $, j, W, k, rt.x, rt.y) &&
                  C(rt.prev, rt, rt.next) >= 0
                )
                  return !1;
                rt = rt.nextZ;
              }
              return !0;
            }
            function n(N, b, R) {
              var H = N;
              do {
                var Q = H.prev,
                  V = H.next.next;
                (!T(Q, V) &&
                  F(Q, H, H.next, V) &&
                  I(Q, V) &&
                  I(V, Q) &&
                  (b.push((Q.i / R) | 0),
                  b.push((H.i / R) | 0),
                  b.push((V.i / R) | 0),
                  X(H),
                  X(H.next),
                  (H = N = V)),
                  (H = H.next));
              } while (H !== N);
              return A(H);
            }
            function e(N, b, R, H, Q, V) {
              var Y = N;
              do {
                for (var J = Y.next.next; J !== Y.prev; ) {
                  if (Y.i !== J.i && g(Y, J)) {
                    var $ = D(Y, J);
                    ((Y = A(Y, Y.next)),
                      ($ = A($, $.next)),
                      c(Y, b, R, H, Q, V, 0),
                      c($, b, R, H, Q, V, 0));
                    return;
                  }
                  J = J.next;
                }
                Y = Y.next;
              } while (Y !== N);
            }
            function s(N, b, R, H) {
              var Q = [],
                V,
                Y,
                J,
                $,
                W;
              for (V = 0, Y = b.length; V < Y; V++)
                ((J = b[V] * H),
                  ($ = V < Y - 1 ? b[V + 1] * H : N.length),
                  (W = t(N, J, $, H, !1)),
                  W === W.next && (W.steiner = !0),
                  Q.push(m(W)));
              for (Q.sort(u), V = 0; V < Q.length; V++) R = i(Q[V], R);
              return R;
            }
            function u(N, b) {
              return N.x - b.x;
            }
            function i(N, b) {
              var R = o(N, b);
              if (!R) return b;
              var H = D(R, N);
              return (A(H, H.next), A(R, R.next));
            }
            function o(N, b) {
              var R = b,
                H = N.x,
                Q = N.y,
                V = -1 / 0,
                Y;
              do {
                if (Q <= R.y && Q >= R.next.y && R.next.y !== R.y) {
                  var J =
                    R.x + ((Q - R.y) * (R.next.x - R.x)) / (R.next.y - R.y);
                  if (
                    J <= H &&
                    J > V &&
                    ((V = J), (Y = R.x < R.next.x ? R : R.next), J === H)
                  )
                    return Y;
                }
                R = R.next;
              } while (R !== b);
              if (!Y) return null;
              var $ = Y,
                W = Y.x,
                Z = Y.y,
                j = 1 / 0,
                k;
              R = Y;
              do
                (H >= R.x &&
                  R.x >= W &&
                  H !== R.x &&
                  x(Q < Z ? H : V, Q, W, Z, Q < Z ? V : H, Q, R.x, R.y) &&
                  ((k = Math.abs(Q - R.y) / (H - R.x)),
                  I(R, N) &&
                    (k < j ||
                      (k === j && (R.x > Y.x || (R.x === Y.x && h(Y, R))))) &&
                    ((Y = R), (j = k))),
                  (R = R.next));
              while (R !== $);
              return Y;
            }
            function h(N, b) {
              return C(N.prev, N, b.prev) < 0 && C(b.next, N, N.next) < 0;
            }
            function l(N, b, R, H) {
              var Q = N;
              do
                (Q.z === 0 && (Q.z = v(Q.x, Q.y, b, R, H)),
                  (Q.prevZ = Q.prev),
                  (Q.nextZ = Q.next),
                  (Q = Q.next));
              while (Q !== N);
              ((Q.prevZ.nextZ = null), (Q.prevZ = null), f(Q));
            }
            function f(N) {
              var b,
                R,
                H,
                Q,
                V,
                Y,
                J,
                $,
                W = 1;
              do {
                for (R = N, N = null, V = null, Y = 0; R; ) {
                  for (
                    Y++, H = R, J = 0, b = 0;
                    b < W && (J++, (H = H.nextZ), !!H);
                    b++
                  );
                  for ($ = W; J > 0 || ($ > 0 && H); )
                    (J !== 0 && ($ === 0 || !H || R.z <= H.z)
                      ? ((Q = R), (R = R.nextZ), J--)
                      : ((Q = H), (H = H.nextZ), $--),
                      V ? (V.nextZ = Q) : (N = Q),
                      (Q.prevZ = V),
                      (V = Q));
                  R = H;
                }
                ((V.nextZ = null), (W *= 2));
              } while (Y > 1);
              return N;
            }
            function v(N, b, R, H, Q) {
              return (
                (N = ((N - R) * Q) | 0),
                (b = ((b - H) * Q) | 0),
                (N = (N | (N << 8)) & 16711935),
                (N = (N | (N << 4)) & 252645135),
                (N = (N | (N << 2)) & 858993459),
                (N = (N | (N << 1)) & 1431655765),
                (b = (b | (b << 8)) & 16711935),
                (b = (b | (b << 4)) & 252645135),
                (b = (b | (b << 2)) & 858993459),
                (b = (b | (b << 1)) & 1431655765),
                N | (b << 1)
              );
            }
            function m(N) {
              var b = N,
                R = N;
              do
                ((b.x < R.x || (b.x === R.x && b.y < R.y)) && (R = b),
                  (b = b.next));
              while (b !== N);
              return R;
            }
            function x(N, b, R, H, Q, V, Y, J) {
              return (
                (Q - Y) * (b - J) >= (N - Y) * (V - J) &&
                (N - Y) * (H - J) >= (R - Y) * (b - J) &&
                (R - Y) * (V - J) >= (Q - Y) * (H - J)
              );
            }
            function g(N, b) {
              return (
                N.next.i !== b.i &&
                N.prev.i !== b.i &&
                !M(N, b) &&
                ((I(N, b) &&
                  I(b, N) &&
                  O(N, b) &&
                  (C(N.prev, N, b.prev) || C(N, b.prev, b))) ||
                  (T(N, b) &&
                    C(N.prev, N, N.next) > 0 &&
                    C(b.prev, b, b.next) > 0))
              );
            }
            function C(N, b, R) {
              return (b.y - N.y) * (R.x - b.x) - (b.x - N.x) * (R.y - b.y);
            }
            function T(N, b) {
              return N.x === b.x && N.y === b.y;
            }
            function F(N, b, R, H) {
              var Q = U(C(N, b, R)),
                V = U(C(N, b, H)),
                Y = U(C(R, H, N)),
                J = U(C(R, H, b));
              return !!(
                (Q !== V && Y !== J) ||
                (Q === 0 && w(N, R, b)) ||
                (V === 0 && w(N, H, b)) ||
                (Y === 0 && w(R, N, H)) ||
                (J === 0 && w(R, b, H))
              );
            }
            function w(N, b, R) {
              return (
                b.x <= Math.max(N.x, R.x) &&
                b.x >= Math.min(N.x, R.x) &&
                b.y <= Math.max(N.y, R.y) &&
                b.y >= Math.min(N.y, R.y)
              );
            }
            function U(N) {
              return N > 0 ? 1 : N < 0 ? -1 : 0;
            }
            function M(N, b) {
              var R = N;
              do {
                if (
                  R.i !== N.i &&
                  R.next.i !== N.i &&
                  R.i !== b.i &&
                  R.next.i !== b.i &&
                  F(R, R.next, N, b)
                )
                  return !0;
                R = R.next;
              } while (R !== N);
              return !1;
            }
            function I(N, b) {
              return C(N.prev, N, N.next) < 0
                ? C(N, b, N.next) >= 0 && C(N, N.prev, b) >= 0
                : C(N, b, N.prev) < 0 || C(N, N.next, b) < 0;
            }
            function O(N, b) {
              var R = N,
                H = !1,
                Q = (N.x + b.x) / 2,
                V = (N.y + b.y) / 2;
              do
                (R.y > V != R.next.y > V &&
                  R.next.y !== R.y &&
                  Q < ((R.next.x - R.x) * (V - R.y)) / (R.next.y - R.y) + R.x &&
                  (H = !H),
                  (R = R.next));
              while (R !== N);
              return H;
            }
            function D(N, b) {
              var R = new z(N.i, N.x, N.y),
                H = new z(b.i, b.x, b.y),
                Q = N.next,
                V = b.prev;
              return (
                (N.next = b),
                (b.prev = N),
                (R.next = Q),
                (Q.prev = R),
                (H.next = R),
                (R.prev = H),
                (V.next = H),
                (H.prev = V),
                H
              );
            }
            function G(N, b, R, H) {
              var Q = new z(N, b, R);
              return (
                H
                  ? ((Q.next = H.next),
                    (Q.prev = H),
                    (H.next.prev = Q),
                    (H.next = Q))
                  : ((Q.prev = Q), (Q.next = Q)),
                Q
              );
            }
            function X(N) {
              ((N.next.prev = N.prev),
                (N.prev.next = N.next),
                N.prevZ && (N.prevZ.nextZ = N.nextZ),
                N.nextZ && (N.nextZ.prevZ = N.prevZ));
            }
            function z(N, b, R) {
              ((this.i = N),
                (this.x = b),
                (this.y = R),
                (this.prev = null),
                (this.next = null),
                (this.z = 0),
                (this.prevZ = null),
                (this.nextZ = null),
                (this.steiner = !1));
            }
            y.deviation = function (N, b, R, H) {
              var Q = b && b.length,
                V = Q ? b[0] * R : N.length,
                Y = Math.abs(K(N, 0, V, R));
              if (Q)
                for (var J = 0, $ = b.length; J < $; J++) {
                  var W = b[J] * R,
                    Z = J < $ - 1 ? b[J + 1] * R : N.length;
                  Y -= Math.abs(K(N, W, Z, R));
                }
              var j = 0;
              for (J = 0; J < H.length; J += 3) {
                var k = H[J] * R,
                  _ = H[J + 1] * R,
                  q = H[J + 2] * R;
                j += Math.abs(
                  (N[k] - N[q]) * (N[_ + 1] - N[k + 1]) -
                    (N[k] - N[_]) * (N[q + 1] - N[k + 1]),
                );
              }
              return Y === 0 && j === 0 ? 0 : Math.abs((j - Y) / Y);
            };
            function K(N, b, R, H) {
              for (var Q = 0, V = b, Y = R - H; V < R; V += H)
                ((Q += (N[Y] - N[V]) * (N[V + 1] + N[Y + 1])), (Y = V));
              return Q;
            }
            ((y.flatten = function (N) {
              for (
                var b = N[0][0].length,
                  R = { vertices: [], holes: [], dimensions: b },
                  H = 0,
                  Q = 0;
                Q < N.length;
                Q++
              ) {
                for (var V = 0; V < N[Q].length; V++)
                  for (var Y = 0; Y < b; Y++) R.vertices.push(N[Q][V][Y]);
                Q > 0 && ((H += N[Q - 1].length), R.holes.push(H));
              }
              return R;
            }),
              (d.exports = y));
          },
          14045: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(74118),
              c = function (a, r) {
                r === void 0 && (r = new A());
                for (
                  var n = 1 / 0, e = 1 / 0, s = -n, u = -e, i, o = 0;
                  o < a.points.length;
                  o++
                )
                  ((i = a.points[o]),
                    (n = Math.min(n, i.x)),
                    (e = Math.min(e, i.y)),
                    (s = Math.max(s, i.x)),
                    (u = Math.max(u, i.y)));
                return (
                  (r.x = n),
                  (r.y = e),
                  (r.width = s - n),
                  (r.height = u - e),
                  r
                );
              };
            d.exports = c;
          },
          98286: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              A === void 0 && (A = []);
              for (var c = 0; c < t.points.length; c++)
                (A.push(t.points[c].x), A.push(t.points[c].y));
              return A;
            };
            d.exports = y;
          },
          89294: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(16028),
              c = t(88829),
              a = t(5159),
              r = function (n, e, s, u) {
                u === void 0 && (u = []);
                var i = n.points,
                  o = a(n);
                !e && s > 0 && (e = o / s);
                for (var h = 0; h < e; h++)
                  for (var l = o * (h / e), f = 0, v = 0; v < i.length; v++) {
                    var m = i[v],
                      x = i[(v + 1) % i.length],
                      g = new c(m.x, m.y, x.x, x.y),
                      C = A(g);
                    if (l < f || l > f + C) {
                      f += C;
                      continue;
                    }
                    var T = g.getPoint((l - f) / C);
                    u.push(T);
                    break;
                  }
                return u;
              };
            d.exports = r;
          },
          5159: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(16028),
              c = t(88829),
              a = function (r) {
                for (var n = r.points, e = 0, s = 0; s < n.length; s++) {
                  var u = n[s],
                    i = n[(s + 1) % n.length],
                    o = new c(u.x, u.y, i.x, i.y);
                  e += A(o);
                }
                return e;
              };
            d.exports = a;
          },
          8580: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(45604),
              a = t(89294),
              r = t(52394),
              n = new A({
                initialize: function (s) {
                  ((this.type = r.POLYGON),
                    (this.area = 0),
                    (this.points = []),
                    s && this.setTo(s));
                },
                contains: function (e, s) {
                  return c(this, e, s);
                },
                setTo: function (e) {
                  if (
                    ((this.area = 0),
                    (this.points = []),
                    typeof e == "string" && (e = e.split(" ")),
                    !Array.isArray(e))
                  )
                    return _____WB$wombat$check$this$function_____(this);
                  for (var s, u = 0; u < e.length; u++)
                    ((s = { x: 0, y: 0 }),
                      typeof e[u] == "number" || typeof e[u] == "string"
                        ? ((s.x = parseFloat(e[u])),
                          (s.y = parseFloat(e[u + 1])),
                          u++)
                        : Array.isArray(e[u])
                          ? ((s.x = e[u][0]), (s.y = e[u][1]))
                          : ((s.x = e[u].x), (s.y = e[u].y)),
                      this.points.push(s));
                  return (
                    this.calculateArea(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                calculateArea: function () {
                  if (this.points.length < 3)
                    return ((this.area = 0), this.area);
                  for (var e = 0, s, u, i = 0; i < this.points.length - 1; i++)
                    ((s = this.points[i]),
                      (u = this.points[i + 1]),
                      (e += (u.x - s.x) * (s.y + u.y)));
                  return (
                    (s = this.points[0]),
                    (u = this.points[this.points.length - 1]),
                    (e += (s.x - u.x) * (u.y + s.y)),
                    (this.area = -e * 0.5),
                    this.area
                  );
                },
                getPoints: function (e, s, u) {
                  return a(this, e, s, u);
                },
              });
            d.exports = n;
          },
          32244: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return (t.points.reverse(), t);
            };
            d.exports = y;
          },
          95874: (d) => {
            function y(n, e) {
              var s = n.x - e.x,
                u = n.y - e.y;
              return s * s + u * u;
            }
            function t(n, e, s) {
              var u = e.x,
                i = e.y,
                o = s.x - u,
                h = s.y - i;
              if (o !== 0 || h !== 0) {
                var l = ((n.x - u) * o + (n.y - i) * h) / (o * o + h * h);
                l > 1
                  ? ((u = s.x), (i = s.y))
                  : l > 0 && ((u += o * l), (i += h * l));
              }
              return ((o = n.x - u), (h = n.y - i), o * o + h * h);
            }
            function A(n, e) {
              for (var s = n[0], u = [s], i, o = 1, h = n.length; o < h; o++)
                ((i = n[o]), y(i, s) > e && (u.push(i), (s = i)));
              return (s !== i && u.push(i), u);
            }
            function c(n, e, s, u, i) {
              for (var o = u, h, l = e + 1; l < s; l++) {
                var f = t(n[l], n[e], n[s]);
                f > o && ((h = l), (o = f));
              }
              o > u &&
                (h - e > 1 && c(n, e, h, u, i),
                i.push(n[h]),
                s - h > 1 && c(n, h, s, u, i));
            }
            function a(n, e) {
              var s = n.length - 1,
                u = [n[0]];
              return (c(n, 0, s, e, u), u.push(n[s]), u);
            }
            var r = function (n, e, s) {
              (e === void 0 && (e = 1), s === void 0 && (s = !1));
              var u = n.points;
              if (u.length > 2) {
                var i = e * e;
                (s || (u = A(u, i)), n.setTo(a(u, i)));
              }
              return n;
            };
            d.exports = r;
          },
          18974: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @author       Igor Ognichenko <ognichenko.igor@gmail.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (A, c) {
                return ((A[0] = c[0]), (A[1] = c[1]), A);
              },
              t = function (A) {
                var c,
                  a = [],
                  r = A.points;
                for (c = 0; c < r.length; c++) a.push([r[c].x, r[c].y]);
                var n = [];
                for (
                  a.length > 0 && n.push(y([0, 0], a[0])), c = 0;
                  c < a.length - 1;
                  c++
                ) {
                  var e = a[c],
                    s = a[c + 1],
                    u = e[0],
                    i = e[1],
                    o = s[0],
                    h = s[1];
                  (n.push([0.85 * u + 0.15 * o, 0.85 * i + 0.15 * h]),
                    n.push([0.15 * u + 0.85 * o, 0.15 * i + 0.85 * h]));
                }
                return (
                  a.length > 1 && n.push(y([0, 0], a[a.length - 1])),
                  A.setTo(n)
                );
              };
            d.exports = t;
          },
          23490: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              for (var a = t.points, r = 0; r < a.length; r++)
                ((a[r].x += A), (a[r].y += c));
              return t;
            };
            d.exports = y;
          },
          44359: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(8580);
            ((A.Clone = t(19631)),
              (A.Contains = t(45604)),
              (A.ContainsPoint = t(87289)),
              (A.Earcut = t(11117)),
              (A.GetAABB = t(14045)),
              (A.GetNumberArray = t(98286)),
              (A.GetPoints = t(89294)),
              (A.Perimeter = t(5159)),
              (A.Reverse = t(32244)),
              (A.Simplify = t(95874)),
              (A.Smooth = t(18974)),
              (A.Translate = t(23490)),
              (d.exports = A));
          },
          1653: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return t.width * t.height;
            };
            d.exports = y;
          },
          33943: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return ((t.x = Math.ceil(t.x)), (t.y = Math.ceil(t.y)), t);
            };
            d.exports = y;
          },
          58662: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return (
                (t.x = Math.ceil(t.x)),
                (t.y = Math.ceil(t.y)),
                (t.width = Math.ceil(t.width)),
                (t.height = Math.ceil(t.height)),
                t
              );
            };
            d.exports = y;
          },
          79993: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              return ((t.x = A - t.width / 2), (t.y = c - t.height / 2), t);
            };
            d.exports = y;
          },
          81572: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(74118),
              c = function (a) {
                return new A(a.x, a.y, a.width, a.height);
              };
            d.exports = c;
          },
          94287: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              return t.width <= 0 || t.height <= 0
                ? !1
                : t.x <= A &&
                    t.x + t.width >= A &&
                    t.y <= c &&
                    t.y + t.height >= c;
            };
            d.exports = y;
          },
          28687: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(94287),
              c = function (a, r) {
                return A(a, r.x, r.y);
              };
            d.exports = c;
          },
          73222: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return A.width * A.height > t.width * t.height
                ? !1
                : A.x > t.x &&
                    A.x < t.right &&
                    A.right > t.x &&
                    A.right < t.right &&
                    A.y > t.y &&
                    A.y < t.bottom &&
                    A.bottom > t.y &&
                    A.bottom < t.bottom;
            };
            d.exports = y;
          },
          29538: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return A.setTo(t.x, t.y, t.width, t.height);
            };
            d.exports = y;
          },
          87279: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return (
                A === void 0 && (A = []),
                A.push({ x: t.x, y: t.y }),
                A.push({ x: t.right, y: t.y }),
                A.push({ x: t.right, y: t.bottom }),
                A.push({ x: t.x, y: t.bottom }),
                A
              );
            };
            d.exports = y;
          },
          19989: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return (
                t.x === A.x &&
                t.y === A.y &&
                t.width === A.width &&
                t.height === A.height
              );
            };
            d.exports = y;
          },
          92628: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(6700),
              c = function (a, r) {
                var n = A(a);
                return (
                  n < A(r)
                    ? a.setSize(r.height * n, r.height)
                    : a.setSize(r.width, r.width / n),
                  a.setPosition(
                    r.centerX - a.width / 2,
                    r.centerY - a.height / 2,
                  )
                );
              };
            d.exports = c;
          },
          85028: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(6700),
              c = function (a, r) {
                var n = A(a);
                return (
                  n > A(r)
                    ? a.setSize(r.height * n, r.height)
                    : a.setSize(r.width, r.width / n),
                  a.setPosition(
                    r.centerX - a.width / 2,
                    r.centerY - a.height / 2,
                  )
                );
              };
            d.exports = c;
          },
          71356: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return ((t.x = Math.floor(t.x)), (t.y = Math.floor(t.y)), t);
            };
            d.exports = y;
          },
          21687: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return (
                (t.x = Math.floor(t.x)),
                (t.y = Math.floor(t.y)),
                (t.width = Math.floor(t.width)),
                (t.height = Math.floor(t.height)),
                t
              );
            };
            d.exports = y;
          },
          80222: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(74118),
              c = t(83392),
              a = function (r, n) {
                if ((n === void 0 && (n = new A()), r.length === 0)) return n;
                for (
                  var e = Number.MAX_VALUE,
                    s = Number.MAX_VALUE,
                    u = c.MIN_SAFE_INTEGER,
                    i = c.MIN_SAFE_INTEGER,
                    o,
                    h,
                    l,
                    f = 0;
                  f < r.length;
                  f++
                )
                  ((o = r[f]),
                    Array.isArray(o)
                      ? ((h = o[0]), (l = o[1]))
                      : ((h = o.x), (l = o.y)),
                    (e = Math.min(e, h)),
                    (s = Math.min(s, l)),
                    (u = Math.max(u, h)),
                    (i = Math.max(i, l)));
                return (
                  (n.x = e),
                  (n.y = s),
                  (n.width = u - e),
                  (n.height = i - s),
                  n
                );
              };
            d.exports = a;
          },
          75785: (d, y, t) => {
            /**
             * @author       samme
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(74118),
              c = function (a, r, n, e, s) {
                return (
                  s === void 0 && (s = new A()),
                  s.setTo(
                    Math.min(a, n),
                    Math.min(r, e),
                    Math.abs(a - n),
                    Math.abs(r - e),
                  )
                );
              };
            d.exports = c;
          },
          6700: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return t.height === 0 ? NaN : t.width / t.height;
            };
            d.exports = y;
          },
          35242: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(79967),
              c = function (a, r) {
                return (
                  r === void 0 && (r = new A()),
                  (r.x = a.centerX),
                  (r.y = a.centerY),
                  r
                );
              };
            d.exports = c;
          },
          47698: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(85876),
              c = t(79967),
              a = function (r, n, e) {
                if ((e === void 0 && (e = new c()), n <= 0 || n >= 1))
                  return ((e.x = r.x), (e.y = r.y), e);
                var s = A(r) * n;
                return (
                  n > 0.5
                    ? ((s -= r.width + r.height),
                      s <= r.width
                        ? ((e.x = r.right - s), (e.y = r.bottom))
                        : ((e.x = r.x), (e.y = r.bottom - (s - r.width))))
                    : s <= r.width
                      ? ((e.x = r.x + s), (e.y = r.y))
                      : ((e.x = r.right), (e.y = r.y + (s - r.width))),
                  e
                );
              };
            d.exports = a;
          },
          54932: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(47698),
              c = t(85876),
              a = function (r, n, e, s) {
                (s === void 0 && (s = []), !n && e > 0 && (n = c(r) / e));
                for (var u = 0; u < n; u++) {
                  var i = u / n;
                  s.push(A(r, i));
                }
                return s;
              };
            d.exports = a;
          },
          31591: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(79967),
              c = function (a, r) {
                return (
                  r === void 0 && (r = new A()),
                  (r.x = a.width),
                  (r.y = a.height),
                  r
                );
              };
            d.exports = c;
          },
          7782: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(79993),
              c = function (a, r, n) {
                var e = a.centerX,
                  s = a.centerY;
                return (
                  a.setSize(a.width + r * 2, a.height + n * 2),
                  A(a, e, s)
                );
              };
            d.exports = c;
          },
          66217: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(74118),
              c = t(90205),
              a = function (r, n, e) {
                return (
                  e === void 0 && (e = new A()),
                  c(r, n)
                    ? ((e.x = Math.max(r.x, n.x)),
                      (e.y = Math.max(r.y, n.y)),
                      (e.width = Math.min(r.right, n.right) - e.x),
                      (e.height = Math.min(r.bottom, n.bottom) - e.y))
                    : e.setEmpty(),
                  e
                );
              };
            d.exports = a;
          },
          40053: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(85876),
              c = t(79967),
              a = function (r, n, e, s) {
                if ((s === void 0 && (s = []), !n && !e)) return s;
                n ? (e = Math.round(A(r) / n)) : (n = A(r) / e);
                for (var u = r.x, i = r.y, o = 0, h = 0; h < e; h++)
                  switch ((s.push(new c(u, i)), o)) {
                    case 0:
                      ((u += n),
                        u >= r.right &&
                          ((o = 1), (i += u - r.right), (u = r.right)));
                      break;
                    case 1:
                      ((i += n),
                        i >= r.bottom &&
                          ((o = 2), (u -= i - r.bottom), (i = r.bottom)));
                      break;
                    case 2:
                      ((u -= n),
                        u <= r.left &&
                          ((o = 3), (i -= r.left - u), (u = r.left)));
                      break;
                    case 3:
                      ((i -= n), i <= r.top && ((o = 0), (i = r.top)));
                      break;
                  }
                return s;
              };
            d.exports = a;
          },
          86673: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              for (
                var c = t.x, a = t.right, r = t.y, n = t.bottom, e = 0;
                e < A.length;
                e++
              )
                ((c = Math.min(c, A[e].x)),
                  (a = Math.max(a, A[e].x)),
                  (r = Math.min(r, A[e].y)),
                  (n = Math.max(n, A[e].y)));
              return (
                (t.x = c),
                (t.y = r),
                (t.width = a - c),
                (t.height = n - r),
                t
              );
            };
            d.exports = y;
          },
          14655: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              var c = Math.min(t.x, A.x),
                a = Math.max(t.right, A.right);
              ((t.x = c), (t.width = a - c));
              var r = Math.min(t.y, A.y),
                n = Math.max(t.bottom, A.bottom);
              return ((t.y = r), (t.height = n - r), t);
            };
            d.exports = y;
          },
          44755: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              var a = Math.min(t.x, A),
                r = Math.max(t.right, A);
              ((t.x = a), (t.width = r - a));
              var n = Math.min(t.y, c),
                e = Math.max(t.bottom, c);
              return ((t.y = n), (t.height = e - n), t);
            };
            d.exports = y;
          },
          74466: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              return ((t.x += A), (t.y += c), t);
            };
            d.exports = y;
          },
          55946: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return ((t.x += A.x), (t.y += A.y), t);
            };
            d.exports = y;
          },
          97474: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return (
                t.x < A.right &&
                t.right > A.x &&
                t.y < A.bottom &&
                t.bottom > A.y
              );
            };
            d.exports = y;
          },
          85876: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return 2 * (t.width + t.height);
            };
            d.exports = y;
          },
          20243: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(79967),
              c = t(75606),
              a = function (r, n, e) {
                (e === void 0 && (e = new A()), (n = c(n)));
                var s = Math.sin(n),
                  u = Math.cos(n),
                  i = u > 0 ? r.width / 2 : r.width / -2,
                  o = s > 0 ? r.height / 2 : r.height / -2;
                return (
                  Math.abs(i * s) < Math.abs(o * u)
                    ? (o = (i * s) / u)
                    : (i = (o * u) / s),
                  (e.x = i + r.centerX),
                  (e.y = o + r.centerY),
                  e
                );
              };
            d.exports = a;
          },
          30001: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(79967),
              c = function (a, r) {
                return (
                  r === void 0 && (r = new A()),
                  (r.x = a.x + Math.random() * a.width),
                  (r.y = a.y + Math.random() * a.height),
                  r
                );
              };
            d.exports = c;
          },
          97691: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(17489),
              c = t(73222),
              a = t(79967),
              r = function (n, e, s) {
                if ((s === void 0 && (s = new a()), c(n, e)))
                  switch (A(0, 3)) {
                    case 0:
                      ((s.x = n.x + Math.random() * (e.right - n.x)),
                        (s.y = n.y + Math.random() * (e.top - n.y)));
                      break;
                    case 1:
                      ((s.x = e.x + Math.random() * (n.right - e.x)),
                        (s.y =
                          e.bottom + Math.random() * (n.bottom - e.bottom)));
                      break;
                    case 2:
                      ((s.x = n.x + Math.random() * (e.x - n.x)),
                        (s.y = e.y + Math.random() * (n.bottom - e.y)));
                      break;
                    case 3:
                      ((s.x = e.right + Math.random() * (n.right - e.right)),
                        (s.y = n.y + Math.random() * (e.bottom - n.y)));
                      break;
                  }
                return s;
              };
            d.exports = r;
          },
          74118: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(94287),
              a = t(47698),
              r = t(54932),
              n = t(52394),
              e = t(88829),
              s = t(30001),
              u = new A({
                initialize: function (o, h, l, f) {
                  (o === void 0 && (o = 0),
                    h === void 0 && (h = 0),
                    l === void 0 && (l = 0),
                    f === void 0 && (f = 0),
                    (this.type = n.RECTANGLE),
                    (this.x = o),
                    (this.y = h),
                    (this.width = l),
                    (this.height = f));
                },
                contains: function (i, o) {
                  return c(this, i, o);
                },
                getPoint: function (i, o) {
                  return a(this, i, o);
                },
                getPoints: function (i, o, h) {
                  return r(this, i, o, h);
                },
                getRandomPoint: function (i) {
                  return s(this, i);
                },
                setTo: function (i, o, h, l) {
                  return (
                    (this.x = i),
                    (this.y = o),
                    (this.width = h),
                    (this.height = l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setEmpty: function () {
                  return this.setTo(0, 0, 0, 0);
                },
                setPosition: function (i, o) {
                  return (
                    o === void 0 && (o = i),
                    (this.x = i),
                    (this.y = o),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setSize: function (i, o) {
                  return (
                    o === void 0 && (o = i),
                    (this.width = i),
                    (this.height = o),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                isEmpty: function () {
                  return this.width <= 0 || this.height <= 0;
                },
                getLineA: function (i) {
                  return (
                    i === void 0 && (i = new e()),
                    i.setTo(this.x, this.y, this.right, this.y),
                    i
                  );
                },
                getLineB: function (i) {
                  return (
                    i === void 0 && (i = new e()),
                    i.setTo(this.right, this.y, this.right, this.bottom),
                    i
                  );
                },
                getLineC: function (i) {
                  return (
                    i === void 0 && (i = new e()),
                    i.setTo(this.right, this.bottom, this.x, this.bottom),
                    i
                  );
                },
                getLineD: function (i) {
                  return (
                    i === void 0 && (i = new e()),
                    i.setTo(this.x, this.bottom, this.x, this.y),
                    i
                  );
                },
                left: {
                  get: function () {
                    return this.x;
                  },
                  set: function (i) {
                    (i >= this.right
                      ? (this.width = 0)
                      : (this.width = this.right - i),
                      (this.x = i));
                  },
                },
                right: {
                  get: function () {
                    return this.x + this.width;
                  },
                  set: function (i) {
                    i <= this.x ? (this.width = 0) : (this.width = i - this.x);
                  },
                },
                top: {
                  get: function () {
                    return this.y;
                  },
                  set: function (i) {
                    (i >= this.bottom
                      ? (this.height = 0)
                      : (this.height = this.bottom - i),
                      (this.y = i));
                  },
                },
                bottom: {
                  get: function () {
                    return this.y + this.height;
                  },
                  set: function (i) {
                    i <= this.y
                      ? (this.height = 0)
                      : (this.height = i - this.y);
                  },
                },
                centerX: {
                  get: function () {
                    return this.x + this.width / 2;
                  },
                  set: function (i) {
                    this.x = i - this.width / 2;
                  },
                },
                centerY: {
                  get: function () {
                    return this.y + this.height / 2;
                  },
                  set: function (i) {
                    this.y = i - this.height / 2;
                  },
                },
              });
            d.exports = u;
          },
          51828: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return t.width === A.width && t.height === A.height;
            };
            d.exports = y;
          },
          5691: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              return (
                c === void 0 && (c = A),
                (t.width *= A),
                (t.height *= c),
                t
              );
            };
            d.exports = y;
          },
          58795: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(74118),
              c = function (a, r, n) {
                n === void 0 && (n = new A());
                var e = Math.min(a.x, r.x),
                  s = Math.min(a.y, r.y),
                  u = Math.max(a.right, r.right) - e,
                  i = Math.max(a.bottom, r.bottom) - s;
                return n.setTo(e, s, u, i);
              };
            d.exports = c;
          },
          66658: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(74118);
            ((A.Area = t(1653)),
              (A.Ceil = t(33943)),
              (A.CeilAll = t(58662)),
              (A.CenterOn = t(79993)),
              (A.Clone = t(81572)),
              (A.Contains = t(94287)),
              (A.ContainsPoint = t(28687)),
              (A.ContainsRect = t(73222)),
              (A.CopyFrom = t(29538)),
              (A.Decompose = t(87279)),
              (A.Equals = t(19989)),
              (A.FitInside = t(92628)),
              (A.FitOutside = t(85028)),
              (A.Floor = t(71356)),
              (A.FloorAll = t(21687)),
              (A.FromPoints = t(80222)),
              (A.FromXY = t(75785)),
              (A.GetAspectRatio = t(6700)),
              (A.GetCenter = t(35242)),
              (A.GetPoint = t(47698)),
              (A.GetPoints = t(54932)),
              (A.GetSize = t(31591)),
              (A.Inflate = t(7782)),
              (A.Intersection = t(66217)),
              (A.MarchingAnts = t(40053)),
              (A.MergePoints = t(86673)),
              (A.MergeRect = t(14655)),
              (A.MergeXY = t(44755)),
              (A.Offset = t(74466)),
              (A.OffsetPoint = t(55946)),
              (A.Overlaps = t(97474)),
              (A.Perimeter = t(85876)),
              (A.PerimeterPoint = t(20243)),
              (A.Random = t(30001)),
              (A.RandomOutside = t(97691)),
              (A.SameDimensions = t(51828)),
              (A.Scale = t(5691)),
              (A.Union = t(58795)),
              (d.exports = A));
          },
          19108: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              var A = t.x1,
                c = t.y1,
                a = t.x2,
                r = t.y2,
                n = t.x3,
                e = t.y3;
              return Math.abs(((n - A) * (r - c) - (a - A) * (e - c)) / 2);
            };
            d.exports = y;
          },
          41199: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(66349),
              c = function (a, r, n) {
                var e = n * (Math.sqrt(3) / 2),
                  s = a,
                  u = r,
                  i = a + n / 2,
                  o = r + e,
                  h = a - n / 2,
                  l = r + e;
                return new A(s, u, i, o, h, l);
              };
            d.exports = c;
          },
          88730: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(11117),
              c = t(66349),
              a = function (r, n, e, s, u) {
                (n === void 0 && (n = null),
                  e === void 0 && (e = 1),
                  s === void 0 && (s = 1),
                  u === void 0 && (u = []));
                for (
                  var i = A(r, n), o, h, l, f, v, m, x, g, C, T = 0;
                  T < i.length;
                  T += 3
                )
                  ((o = i[T]),
                    (h = i[T + 1]),
                    (l = i[T + 2]),
                    (f = r[o * 2] * e),
                    (v = r[o * 2 + 1] * s),
                    (m = r[h * 2] * e),
                    (x = r[h * 2 + 1] * s),
                    (g = r[l * 2] * e),
                    (C = r[l * 2 + 1] * s),
                    u.push(new c(f, v, m, x, g, C)));
                return u;
              };
            d.exports = a;
          },
          3635: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(66349),
              c = function (a, r, n, e) {
                e === void 0 && (e = n);
                var s = a,
                  u = r,
                  i = a,
                  o = r - e,
                  h = a + n,
                  l = r;
                return new A(s, u, i, o, h, l);
              };
            d.exports = c;
          },
          1882: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56595),
              c = t(9640),
              a = function (r, n, e, s) {
                s === void 0 && (s = A);
                var u = s(r),
                  i = n - u.x,
                  o = e - u.y;
                return c(r, i, o);
              };
            d.exports = a;
          },
          56595: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(79967),
              c = function (a, r) {
                return (
                  r === void 0 && (r = new A()),
                  (r.x = (a.x1 + a.x2 + a.x3) / 3),
                  (r.y = (a.y1 + a.y2 + a.y3) / 3),
                  r
                );
              };
            d.exports = c;
          },
          91835: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(93736);
            function c(r, n, e, s) {
              return r * s - n * e;
            }
            var a = function (r, n) {
              n === void 0 && (n = new A());
              var e = r.x3,
                s = r.y3,
                u = r.x1 - e,
                i = r.y1 - s,
                o = r.x2 - e,
                h = r.y2 - s,
                l = 2 * c(u, i, o, h),
                f = c(i, u * u + i * i, h, o * o + h * h),
                v = c(u, u * u + i * i, o, o * o + h * h);
              return ((n.x = e - f / l), (n.y = s + v / l), n);
            };
            d.exports = a;
          },
          97073: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(26673),
              c = function (a, r) {
                r === void 0 && (r = new A());
                var n = a.x1,
                  e = a.y1,
                  s = a.x2,
                  u = a.y2,
                  i = a.x3,
                  o = a.y3,
                  h = s - n,
                  l = u - e,
                  f = i - n,
                  v = o - e,
                  m = h * (n + s) + l * (e + u),
                  x = f * (n + i) + v * (e + o),
                  g = 2 * (h * (o - u) - l * (i - s)),
                  C,
                  T;
                if (Math.abs(g) < 1e-6) {
                  var F = Math.min(n, s, i),
                    w = Math.min(e, u, o);
                  ((C = (Math.max(n, s, i) - F) * 0.5),
                    (T = (Math.max(e, u, o) - w) * 0.5),
                    (r.x = F + C),
                    (r.y = w + T),
                    (r.radius = Math.sqrt(C * C + T * T)));
                } else
                  ((r.x = (v * m - l * x) / g),
                    (r.y = (h * x - f * m) / g),
                    (C = r.x - n),
                    (T = r.y - e),
                    (r.radius = Math.sqrt(C * C + T * T)));
                return r;
              };
            d.exports = c;
          },
          75974: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(66349),
              c = function (a) {
                return new A(a.x1, a.y1, a.x2, a.y2, a.x3, a.y3);
              };
            d.exports = c;
          },
          60689: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              var a = t.x3 - t.x1,
                r = t.y3 - t.y1,
                n = t.x2 - t.x1,
                e = t.y2 - t.y1,
                s = A - t.x1,
                u = c - t.y1,
                i = a * a + r * r,
                o = a * n + r * e,
                h = a * s + r * u,
                l = n * n + e * e,
                f = n * s + e * u,
                v = i * l - o * o,
                m = v === 0 ? 0 : 1 / v,
                x = (l * h - o * f) * m,
                g = (i * f - o * h) * m;
              return x >= 0 && g >= 0 && x + g < 1;
            };
            d.exports = y;
          },
          86875: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              (c === void 0 && (c = !1), a === void 0 && (a = []));
              for (
                var r = t.x3 - t.x1,
                  n = t.y3 - t.y1,
                  e = t.x2 - t.x1,
                  s = t.y2 - t.y1,
                  u = r * r + n * n,
                  i = r * e + n * s,
                  o = e * e + s * s,
                  h = u * o - i * i,
                  l = h === 0 ? 0 : 1 / h,
                  f,
                  v,
                  m,
                  x,
                  g,
                  C,
                  T = t.x1,
                  F = t.y1,
                  w = 0;
                w < A.length &&
                ((m = A[w].x - T),
                (x = A[w].y - F),
                (g = r * m + n * x),
                (C = e * m + s * x),
                (f = (o * g - i * C) * l),
                (v = (u * C - i * g) * l),
                !(
                  f >= 0 &&
                  v >= 0 &&
                  f + v < 1 &&
                  (a.push({ x: A[w].x, y: A[w].y }), c)
                ));
                w++
              );
              return a;
            };
            d.exports = y;
          },
          51532: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(60689),
              c = function (a, r) {
                return A(a, r.x, r.y);
              };
            d.exports = c;
          },
          42538: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return A.setTo(t.x1, t.y1, t.x2, t.y2, t.x3, t.y3);
            };
            d.exports = y;
          },
          18680: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return (
                A === void 0 && (A = []),
                A.push({ x: t.x1, y: t.y1 }),
                A.push({ x: t.x2, y: t.y2 }),
                A.push({ x: t.x3, y: t.y3 }),
                A
              );
            };
            d.exports = y;
          },
          29977: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return (
                t.x1 === A.x1 &&
                t.y1 === A.y1 &&
                t.x2 === A.x2 &&
                t.y2 === A.y2 &&
                t.x3 === A.x3 &&
                t.y3 === A.y3
              );
            };
            d.exports = y;
          },
          56088: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(79967),
              c = t(16028),
              a = function (r, n, e) {
                e === void 0 && (e = new A());
                var s = r.getLineA(),
                  u = r.getLineB(),
                  i = r.getLineC();
                if (n <= 0 || n >= 1) return ((e.x = s.x1), (e.y = s.y1), e);
                var o = c(s),
                  h = c(u),
                  l = c(i),
                  f = o + h + l,
                  v = f * n,
                  m = 0;
                return (
                  v < o
                    ? ((m = v / o),
                      (e.x = s.x1 + (s.x2 - s.x1) * m),
                      (e.y = s.y1 + (s.y2 - s.y1) * m))
                    : v > o + h
                      ? ((v -= o + h),
                        (m = v / l),
                        (e.x = i.x1 + (i.x2 - i.x1) * m),
                        (e.y = i.y1 + (i.y2 - i.y1) * m))
                      : ((v -= o),
                        (m = v / h),
                        (e.x = u.x1 + (u.x2 - u.x1) * m),
                        (e.y = u.y1 + (u.y2 - u.y1) * m)),
                  e
                );
              };
            d.exports = a;
          },
          24402: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(16028),
              c = t(79967),
              a = function (r, n, e, s) {
                s === void 0 && (s = []);
                var u = r.getLineA(),
                  i = r.getLineB(),
                  o = r.getLineC(),
                  h = A(u),
                  l = A(i),
                  f = A(o),
                  v = h + l + f;
                !n && e > 0 && (n = v / e);
                for (var m = 0; m < n; m++) {
                  var x = v * (m / n),
                    g = 0,
                    C = new c();
                  (x < h
                    ? ((g = x / h),
                      (C.x = u.x1 + (u.x2 - u.x1) * g),
                      (C.y = u.y1 + (u.y2 - u.y1) * g))
                    : x > h + l
                      ? ((x -= h + l),
                        (g = x / f),
                        (C.x = o.x1 + (o.x2 - o.x1) * g),
                        (C.y = o.y1 + (o.y2 - o.y1) * g))
                      : ((x -= h),
                        (g = x / l),
                        (C.x = i.x1 + (i.x2 - i.x1) * g),
                        (C.y = i.y1 + (i.y2 - i.y1) * g)),
                    s.push(C));
                }
                return s;
              };
            d.exports = a;
          },
          83648: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(79967);
            function c(r, n, e, s) {
              var u = r - e,
                i = n - s,
                o = u * u + i * i;
              return Math.sqrt(o);
            }
            var a = function (r, n) {
              n === void 0 && (n = new A());
              var e = r.x1,
                s = r.y1,
                u = r.x2,
                i = r.y2,
                o = r.x3,
                h = r.y3,
                l = c(o, h, u, i),
                f = c(e, s, o, h),
                v = c(u, i, e, s),
                m = l + f + v;
              return (
                (n.x = (e * l + u * f + o * v) / m),
                (n.y = (s * l + i * f + h * v) / m),
                n
              );
            };
            d.exports = a;
          },
          9640: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              return (
                (t.x1 += A),
                (t.y1 += c),
                (t.x2 += A),
                (t.y2 += c),
                (t.x3 += A),
                (t.y3 += c),
                t
              );
            };
            d.exports = y;
          },
          95290: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(16028),
              c = function (a) {
                var r = a.getLineA(),
                  n = a.getLineB(),
                  e = a.getLineC();
                return A(r) + A(n) + A(e);
              };
            d.exports = c;
          },
          99761: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(79967),
              c = function (a, r) {
                r === void 0 && (r = new A());
                var n = a.x2 - a.x1,
                  e = a.y2 - a.y1,
                  s = a.x3 - a.x1,
                  u = a.y3 - a.y1,
                  i = Math.random(),
                  o = Math.random();
                return (
                  i + o >= 1 && ((i = 1 - i), (o = 1 - o)),
                  (r.x = a.x1 + (n * i + s * o)),
                  (r.y = a.y1 + (e * i + u * o)),
                  r
                );
              };
            d.exports = c;
          },
          21934: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(19211),
              c = t(83648),
              a = function (r, n) {
                var e = c(r);
                return A(r, e.x, e.y, n);
              };
            d.exports = a;
          },
          68454: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(19211),
              c = function (a, r, n) {
                return A(a, r.x, r.y, n);
              };
            d.exports = c;
          },
          19211: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              var r = Math.cos(a),
                n = Math.sin(a),
                e = t.x1 - A,
                s = t.y1 - c;
              return (
                (t.x1 = e * r - s * n + A),
                (t.y1 = e * n + s * r + c),
                (e = t.x2 - A),
                (s = t.y2 - c),
                (t.x2 = e * r - s * n + A),
                (t.y2 = e * n + s * r + c),
                (e = t.x3 - A),
                (s = t.y3 - c),
                (t.x3 = e * r - s * n + A),
                (t.y3 = e * n + s * r + c),
                t
              );
            };
            d.exports = y;
          },
          66349: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(60689),
              a = t(56088),
              r = t(24402),
              n = t(52394),
              e = t(88829),
              s = t(99761),
              u = new A({
                initialize: function (o, h, l, f, v, m) {
                  (o === void 0 && (o = 0),
                    h === void 0 && (h = 0),
                    l === void 0 && (l = 0),
                    f === void 0 && (f = 0),
                    v === void 0 && (v = 0),
                    m === void 0 && (m = 0),
                    (this.type = n.TRIANGLE),
                    (this.x1 = o),
                    (this.y1 = h),
                    (this.x2 = l),
                    (this.y2 = f),
                    (this.x3 = v),
                    (this.y3 = m));
                },
                contains: function (i, o) {
                  return c(this, i, o);
                },
                getPoint: function (i, o) {
                  return a(this, i, o);
                },
                getPoints: function (i, o, h) {
                  return r(this, i, o, h);
                },
                getRandomPoint: function (i) {
                  return s(this, i);
                },
                setTo: function (i, o, h, l, f, v) {
                  return (
                    i === void 0 && (i = 0),
                    o === void 0 && (o = 0),
                    h === void 0 && (h = 0),
                    l === void 0 && (l = 0),
                    f === void 0 && (f = 0),
                    v === void 0 && (v = 0),
                    (this.x1 = i),
                    (this.y1 = o),
                    (this.x2 = h),
                    (this.y2 = l),
                    (this.x3 = f),
                    (this.y3 = v),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getLineA: function (i) {
                  return (
                    i === void 0 && (i = new e()),
                    i.setTo(this.x1, this.y1, this.x2, this.y2),
                    i
                  );
                },
                getLineB: function (i) {
                  return (
                    i === void 0 && (i = new e()),
                    i.setTo(this.x2, this.y2, this.x3, this.y3),
                    i
                  );
                },
                getLineC: function (i) {
                  return (
                    i === void 0 && (i = new e()),
                    i.setTo(this.x3, this.y3, this.x1, this.y1),
                    i
                  );
                },
                left: {
                  get: function () {
                    return Math.min(this.x1, this.x2, this.x3);
                  },
                  set: function (i) {
                    var o = 0;
                    (this.x1 <= this.x2 && this.x1 <= this.x3
                      ? (o = this.x1 - i)
                      : this.x2 <= this.x1 && this.x2 <= this.x3
                        ? (o = this.x2 - i)
                        : (o = this.x3 - i),
                      (this.x1 -= o),
                      (this.x2 -= o),
                      (this.x3 -= o));
                  },
                },
                right: {
                  get: function () {
                    return Math.max(this.x1, this.x2, this.x3);
                  },
                  set: function (i) {
                    var o = 0;
                    (this.x1 >= this.x2 && this.x1 >= this.x3
                      ? (o = this.x1 - i)
                      : this.x2 >= this.x1 && this.x2 >= this.x3
                        ? (o = this.x2 - i)
                        : (o = this.x3 - i),
                      (this.x1 -= o),
                      (this.x2 -= o),
                      (this.x3 -= o));
                  },
                },
                top: {
                  get: function () {
                    return Math.min(this.y1, this.y2, this.y3);
                  },
                  set: function (i) {
                    var o = 0;
                    (this.y1 <= this.y2 && this.y1 <= this.y3
                      ? (o = this.y1 - i)
                      : this.y2 <= this.y1 && this.y2 <= this.y3
                        ? (o = this.y2 - i)
                        : (o = this.y3 - i),
                      (this.y1 -= o),
                      (this.y2 -= o),
                      (this.y3 -= o));
                  },
                },
                bottom: {
                  get: function () {
                    return Math.max(this.y1, this.y2, this.y3);
                  },
                  set: function (i) {
                    var o = 0;
                    (this.y1 >= this.y2 && this.y1 >= this.y3
                      ? (o = this.y1 - i)
                      : this.y2 >= this.y1 && this.y2 >= this.y3
                        ? (o = this.y2 - i)
                        : (o = this.y3 - i),
                      (this.y1 -= o),
                      (this.y2 -= o),
                      (this.y3 -= o));
                  },
                },
              });
            d.exports = u;
          },
          87619: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(66349);
            ((A.Area = t(19108)),
              (A.BuildEquilateral = t(41199)),
              (A.BuildFromPolygon = t(88730)),
              (A.BuildRight = t(3635)),
              (A.CenterOn = t(1882)),
              (A.Centroid = t(56595)),
              (A.CircumCenter = t(91835)),
              (A.CircumCircle = t(97073)),
              (A.Clone = t(75974)),
              (A.Contains = t(60689)),
              (A.ContainsArray = t(86875)),
              (A.ContainsPoint = t(51532)),
              (A.CopyFrom = t(42538)),
              (A.Decompose = t(18680)),
              (A.Equals = t(29977)),
              (A.GetPoint = t(56088)),
              (A.GetPoints = t(24402)),
              (A.InCenter = t(83648)),
              (A.Perimeter = t(95290)),
              (A.Offset = t(9640)),
              (A.Random = t(99761)),
              (A.Rotate = t(21934)),
              (A.RotateAroundPoint = t(68454)),
              (A.RotateAroundXY = t(19211)),
              (d.exports = A));
          },
          27395: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              return {
                gameObject: t,
                enabled: !0,
                draggable: !1,
                dropZone: !1,
                cursor: !1,
                target: null,
                camera: null,
                hitArea: A,
                hitAreaCallback: c,
                hitAreaDebug: null,
                customHitArea: !1,
                localX: 0,
                localY: 0,
                dragState: 0,
                dragStartX: 0,
                dragStartY: 0,
                dragStartXGlobal: 0,
                dragStartYGlobal: 0,
                dragX: 0,
                dragY: 0,
              };
            };
            d.exports = y;
          },
          18104: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return function (c, a, r, n) {
                var e = t.getPixelAlpha(a, r, n.texture.key, n.frame.name);
                return e && e >= A;
              };
            };
            d.exports = y;
          },
          69898: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(72687),
              a = t(6659),
              r = t(33963),
              n = t(97081),
              e = t(71064),
              s = t(7905),
              u = t(40398),
              i = t(37579),
              o = t(69360),
              h = t(64462),
              l = new A({
                initialize: function (v, m) {
                  ((this.game = v),
                    this.scaleManager,
                    this.canvas,
                    (this.config = m),
                    (this.enabled = !0),
                    (this.events = new a()),
                    (this.isOver = !0),
                    (this.defaultCursor = ""),
                    (this.keyboard = m.inputKeyboard ? new e(this) : null),
                    (this.mouse = m.inputMouse ? new s(this) : null),
                    (this.touch = m.inputTouch ? new i(this) : null),
                    (this.pointers = []),
                    (this.pointersTotal = m.inputActivePointers),
                    m.inputTouch &&
                      this.pointersTotal === 1 &&
                      (this.pointersTotal = 2));
                  for (var x = 0; x <= this.pointersTotal; x++) {
                    var g = new u(this, x);
                    ((g.smoothFactor = m.inputSmoothFactor),
                      this.pointers.push(g));
                  }
                  ((this.mousePointer = m.inputMouse ? this.pointers[0] : null),
                    (this.activePointer = this.pointers[0]),
                    (this.globalTopOnly = !0),
                    (this.time = 0),
                    (this._tempPoint = { x: 0, y: 0 }),
                    (this._tempHitTest = []),
                    (this._tempMatrix = new o()),
                    (this._tempMatrix2 = new o()),
                    (this._tempSkip = !1),
                    (this.mousePointerContainer = [this.mousePointer]),
                    v.events.once(
                      n.BOOT,
                      this.boot,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                boot: function () {
                  var f = this.game,
                    v = f.events;
                  ((this.canvas = f.canvas),
                    (this.scaleManager = f.scale),
                    this.events.emit(r.MANAGER_BOOT),
                    v.on(
                      n.PRE_RENDER,
                      this.preRender,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    v.once(
                      n.DESTROY,
                      this.destroy,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                setCanvasOver: function (f) {
                  ((this.isOver = !0), this.events.emit(r.GAME_OVER, f));
                },
                setCanvasOut: function (f) {
                  ((this.isOver = !1), this.events.emit(r.GAME_OUT, f));
                },
                preRender: function () {
                  var f = this.game.loop.now,
                    v = this.game.loop.delta,
                    m = this.game.scene.getScenes(!0, !0);
                  ((this.time = f), this.events.emit(r.MANAGER_UPDATE));
                  for (var x = 0; x < m.length; x++) {
                    var g = m[x];
                    if (
                      g.sys.input &&
                      g.sys.input.updatePoll(f, v) &&
                      this.globalTopOnly
                    )
                      return;
                  }
                },
                setDefaultCursor: function (f) {
                  ((this.defaultCursor = f),
                    this.canvas.style.cursor !== f &&
                      (this.canvas.style.cursor = f));
                },
                setCursor: function (f) {
                  f.cursor && (this.canvas.style.cursor = f.cursor);
                },
                resetCursor: function (f) {
                  f.cursor &&
                    this.canvas &&
                    (this.canvas.style.cursor = this.defaultCursor);
                },
                addPointer: function (f) {
                  f === void 0 && (f = 1);
                  var v = [];
                  this.pointersTotal + f > 10 && (f = 10 - this.pointersTotal);
                  for (var m = 0; m < f; m++) {
                    var x = this.pointers.length,
                      g = new u(this, x);
                    ((g.smoothFactor = this.config.inputSmoothFactor),
                      this.pointers.push(g),
                      this.pointersTotal++,
                      v.push(g));
                  }
                  return v;
                },
                updateInputPlugins: function (f, v) {
                  var m = this.game.scene.getScenes(!1, !0);
                  this._tempSkip = !1;
                  for (var x = 0; x < m.length; x++) {
                    var g = m[x];
                    if (g.sys.input) {
                      var C = g.sys.input.update(f, v);
                      if ((C && this.globalTopOnly) || this._tempSkip) return;
                    }
                  }
                },
                onTouchStart: function (f) {
                  for (
                    var v = this.pointers, m = [], x = 0;
                    x < f.changedTouches.length;
                    x++
                  )
                    for (
                      var g = f.changedTouches[x], C = 1;
                      C < this.pointersTotal;
                      C++
                    ) {
                      var T = v[C];
                      if (!T.active) {
                        (T.touchstart(g, f),
                          (this.activePointer = T),
                          m.push(T));
                        break;
                      }
                    }
                  this.updateInputPlugins(c.TOUCH_START, m);
                },
                onTouchMove: function (f) {
                  for (
                    var v = this.pointers, m = [], x = 0;
                    x < f.changedTouches.length;
                    x++
                  )
                    for (
                      var g = f.changedTouches[x], C = 1;
                      C < this.pointersTotal;
                      C++
                    ) {
                      var T = v[C];
                      if (T.active && T.identifier === g.identifier) {
                        var F = document.elementFromPoint(g.pageX, g.pageY),
                          w = F === this.canvas;
                        (!this.isOver && w
                          ? this.setCanvasOver(f)
                          : this.isOver && !w && this.setCanvasOut(f),
                          this.isOver &&
                            (T.touchmove(g, f),
                            (this.activePointer = T),
                            m.push(T)));
                        break;
                      }
                    }
                  this.updateInputPlugins(c.TOUCH_MOVE, m);
                },
                onTouchEnd: function (f) {
                  for (
                    var v = this.pointers, m = [], x = 0;
                    x < f.changedTouches.length;
                    x++
                  )
                    for (
                      var g = f.changedTouches[x], C = 1;
                      C < this.pointersTotal;
                      C++
                    ) {
                      var T = v[C];
                      if (T.active && T.identifier === g.identifier) {
                        (T.touchend(g, f), m.push(T));
                        break;
                      }
                    }
                  this.updateInputPlugins(c.TOUCH_END, m);
                },
                onTouchCancel: function (f) {
                  for (
                    var v = this.pointers, m = [], x = 0;
                    x < f.changedTouches.length;
                    x++
                  )
                    for (
                      var g = f.changedTouches[x], C = 1;
                      C < this.pointersTotal;
                      C++
                    ) {
                      var T = v[C];
                      if (T.active && T.identifier === g.identifier) {
                        (T.touchcancel(g, f), m.push(T));
                        break;
                      }
                    }
                  this.updateInputPlugins(c.TOUCH_CANCEL, m);
                },
                onMouseDown: function (f) {
                  var v = this.mousePointer;
                  (v.down(f),
                    v.updateMotion(),
                    (this.activePointer = v),
                    this.updateInputPlugins(
                      c.MOUSE_DOWN,
                      this.mousePointerContainer,
                    ));
                },
                onMouseMove: function (f) {
                  var v = this.mousePointer;
                  (v.move(f),
                    v.updateMotion(),
                    (this.activePointer = v),
                    this.updateInputPlugins(
                      c.MOUSE_MOVE,
                      this.mousePointerContainer,
                    ));
                },
                onMouseUp: function (f) {
                  var v = this.mousePointer;
                  (v.up(f),
                    v.updateMotion(),
                    (this.activePointer = v),
                    this.updateInputPlugins(
                      c.MOUSE_UP,
                      this.mousePointerContainer,
                    ));
                },
                onMouseWheel: function (f) {
                  var v = this.mousePointer;
                  (v.wheel(f),
                    (this.activePointer = v),
                    this.updateInputPlugins(
                      c.MOUSE_WHEEL,
                      this.mousePointerContainer,
                    ));
                },
                onPointerLockChange: function (f) {
                  var v = this.mouse.locked;
                  ((this.mousePointer.locked = v),
                    this.events.emit(r.POINTERLOCK_CHANGE, f, v));
                },
                inputCandidate: function (f, v) {
                  var m = f.input;
                  if (!m || !m.enabled || !f.willRender(v)) return !1;
                  var x = !0,
                    g = f.parentContainer;
                  if (g)
                    do {
                      if (!g.willRender(v)) {
                        x = !1;
                        break;
                      }
                      g = g.parentContainer;
                    } while (g);
                  return x;
                },
                hitTest: function (f, v, m, x) {
                  x === void 0 && (x = this._tempHitTest);
                  var g = this._tempPoint,
                    C = m.scrollX,
                    T = m.scrollY;
                  x.length = 0;
                  var F = f.x,
                    w = f.y;
                  (m.getWorldPoint(F, w, g),
                    (f.worldX = g.x),
                    (f.worldY = g.y));
                  for (
                    var U = { x: 0, y: 0 },
                      M = this._tempMatrix,
                      I = this._tempMatrix2,
                      O = 0;
                    O < v.length;
                    O++
                  ) {
                    var D = v[O];
                    if (this.inputCandidate(D, m)) {
                      var G = g.x + C * D.scrollFactorX - C,
                        X = g.y + T * D.scrollFactorY - T;
                      (D.parentContainer
                        ? (D.getWorldTransformMatrix(M, I),
                          M.applyInverse(G, X, U))
                        : h(G, X, D.x, D.y, D.rotation, D.scaleX, D.scaleY, U),
                        this.pointWithinHitArea(D, U.x, U.y) && x.push(D));
                    }
                  }
                  return x;
                },
                pointWithinHitArea: function (f, v, m) {
                  ((v += f.displayOriginX), (m += f.displayOriginY));
                  var x = f.input;
                  return x && x.hitAreaCallback(x.hitArea, v, m, f)
                    ? ((x.localX = v), (x.localY = m), !0)
                    : !1;
                },
                pointWithinInteractiveObject: function (f, v, m) {
                  return f.hitArea
                    ? ((v += f.gameObject.displayOriginX),
                      (m += f.gameObject.displayOriginY),
                      (f.localX = v),
                      (f.localY = m),
                      f.hitAreaCallback(f.hitArea, v, m, f))
                    : !1;
                },
                transformPointer: function (f, v, m, x) {
                  var g = f.position,
                    C = f.prevPosition;
                  ((C.x = g.x), (C.y = g.y));
                  var T = this.scaleManager.transformX(v),
                    F = this.scaleManager.transformY(m),
                    w = f.smoothFactor;
                  !x || w === 0
                    ? ((g.x = T), (g.y = F))
                    : ((g.x = T * w + C.x * (1 - w)),
                      (g.y = F * w + C.y * (1 - w)));
                },
                destroy: function () {
                  (this.events.removeAllListeners(),
                    this.game.events.off(n.PRE_RENDER),
                    this.keyboard && this.keyboard.destroy(),
                    this.mouse && this.mouse.destroy(),
                    this.touch && this.touch.destroy());
                  for (var f = 0; f < this.pointers.length; f++)
                    this.pointers[f].destroy();
                  ((this.pointers = []),
                    (this._tempHitTest = []),
                    this._tempMatrix.destroy(),
                    (this.canvas = null),
                    (this.game = null));
                },
              });
            d.exports = l;
          },
          12499: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(26673),
              c = t(65650),
              a = t(56694),
              r = t(72687),
              n = t(27395),
              e = t(18104),
              s = t(53996),
              u = t(95669),
              i = t(72313),
              o = t(33963),
              h = t(6659),
              l = t(72632),
              f = t(52394),
              v = t(63399),
              m = t(42911),
              x = t(91963),
              g = t(74118),
              C = t(94287),
              T = t(7599),
              F = t(66349),
              w = t(60689),
              U = new a({
                Extends: h,
                initialize: function (I) {
                  (h.call(this),
                    (this.scene = I),
                    (this.systems = I.sys),
                    (this.settings = I.sys.settings),
                    (this.manager = I.sys.game.input),
                    (this.pluginEvents = new h()),
                    (this.enabled = !0),
                    this.displayList,
                    this.cameras,
                    v.install(this),
                    (this.mouse = this.manager.mouse),
                    (this.topOnly = !0),
                    (this.pollRate = -1),
                    (this._pollTimer = 0));
                  var O = { cancelled: !1 };
                  ((this._eventContainer = {
                    stopPropagation: function () {
                      O.cancelled = !0;
                    },
                  }),
                    (this._eventData = O),
                    (this.dragDistanceThreshold = 0),
                    (this.dragTimeThreshold = 0),
                    (this._temp = []),
                    (this._tempZones = []),
                    (this._list = []),
                    (this._pendingInsertion = []),
                    (this._pendingRemoval = []),
                    (this._draggable = []),
                    (this._drag = {
                      0: [],
                      1: [],
                      2: [],
                      3: [],
                      4: [],
                      5: [],
                      6: [],
                      7: [],
                      8: [],
                      9: [],
                      10: [],
                    }),
                    (this._dragState = []),
                    (this._over = {
                      0: [],
                      1: [],
                      2: [],
                      3: [],
                      4: [],
                      5: [],
                      6: [],
                      7: [],
                      8: [],
                      9: [],
                      10: [],
                    }),
                    (this._validTypes = [
                      "onDown",
                      "onUp",
                      "onOver",
                      "onOut",
                      "onMove",
                      "onDragStart",
                      "onDrag",
                      "onDragEnd",
                      "onDragEnter",
                      "onDragLeave",
                      "onDragOver",
                      "onDrop",
                    ]),
                    (this._updatedThisFrame = !1),
                    I.sys.events.once(
                      T.BOOT,
                      this.boot,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    I.sys.events.on(
                      T.START,
                      this.start,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                boot: function () {
                  ((this.cameras = this.systems.cameras),
                    (this.displayList = this.systems.displayList),
                    this.systems.events.once(
                      T.DESTROY,
                      this.destroy,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    this.pluginEvents.emit(o.BOOT));
                },
                start: function () {
                  var M = this.systems.events;
                  (M.on(
                    T.TRANSITION_START,
                    this.transitionIn,
                    _____WB$wombat$check$this$function_____(this),
                  ),
                    M.on(
                      T.TRANSITION_OUT,
                      this.transitionOut,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    M.on(
                      T.TRANSITION_COMPLETE,
                      this.transitionComplete,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    M.on(
                      T.PRE_UPDATE,
                      this.preUpdate,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    M.once(
                      T.SHUTDOWN,
                      this.shutdown,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    this.manager.events.on(
                      o.GAME_OUT,
                      this.onGameOut,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    this.manager.events.on(
                      o.GAME_OVER,
                      this.onGameOver,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    (this.enabled = !0),
                    (this._dragState = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]),
                    this.pluginEvents.emit(o.START));
                },
                onGameOver: function (M) {
                  this.isActive() && this.emit(o.GAME_OVER, M.timeStamp, M);
                },
                onGameOut: function (M) {
                  this.isActive() && this.emit(o.GAME_OUT, M.timeStamp, M);
                },
                preUpdate: function () {
                  this.pluginEvents.emit(o.PRE_UPDATE);
                  var M = this._pendingRemoval,
                    I = this._pendingInsertion,
                    O = M.length,
                    D = I.length;
                  if (!(O === 0 && D === 0)) {
                    for (var G = this._list, X = 0; X < O; X++) {
                      var z = M[X],
                        K = G.indexOf(z);
                      K > -1 && (G.splice(K, 1), this.clear(z, !0));
                    }
                    ((this._pendingRemoval.length = 0),
                      (this._list = G.concat(I.splice(0))));
                  }
                },
                isActive: function () {
                  return this.enabled && this.scene.sys.canInput();
                },
                updatePoll: function (M, I) {
                  if (!this.isActive()) return !1;
                  if (
                    (this.pluginEvents.emit(o.UPDATE, M, I),
                    this._updatedThisFrame)
                  )
                    return ((this._updatedThisFrame = !1), !1);
                  var O,
                    D = this.manager,
                    G = D.pointers,
                    X = D.pointersTotal;
                  for (O = 0; O < X; O++) G[O].updateMotion();
                  if (this._list.length === 0) return !1;
                  var z = this.pollRate;
                  if (z === -1) return !1;
                  if (z > 0)
                    if (((this._pollTimer -= I), this._pollTimer < 0))
                      this._pollTimer = this.pollRate;
                    else return !1;
                  var K = !1;
                  for (O = 0; O < X; O++) {
                    var N = 0,
                      b = G[O];
                    ((this._tempZones = []),
                      (this._temp = this.hitTestPointer(b)),
                      this.sortGameObjects(this._temp, b),
                      this.sortDropZones(this._tempZones),
                      this.topOnly &&
                        (this._temp.length && this._temp.splice(1),
                        this._tempZones.length && this._tempZones.splice(1)),
                      (N += this.processOverOutEvents(b)),
                      this.getDragState(b) === 2 &&
                        this.processDragThresholdEvent(b, M),
                      N > 0 && (K = !0));
                  }
                  return K;
                },
                update: function (M, I) {
                  if (!this.isActive()) return !1;
                  for (var O = I.length, D = !1, G = 0; G < O; G++) {
                    var X = 0,
                      z = I[G];
                    switch (
                      ((this._tempZones = []),
                      (this._temp = this.hitTestPointer(z)),
                      this.sortGameObjects(this._temp, z),
                      this.sortDropZones(this._tempZones),
                      this.topOnly &&
                        (this._temp.length && this._temp.splice(1),
                        this._tempZones.length && this._tempZones.splice(1)),
                      M)
                    ) {
                      case r.MOUSE_DOWN:
                        ((X += this.processDragDownEvent(z)),
                          (X += this.processDownEvents(z)),
                          (X += this.processOverOutEvents(z)));
                        break;
                      case r.MOUSE_UP:
                        ((X += this.processDragUpEvent(z)),
                          (X += this.processUpEvents(z)),
                          (X += this.processOverOutEvents(z)));
                        break;
                      case r.TOUCH_START:
                        ((X += this.processDragDownEvent(z)),
                          (X += this.processDownEvents(z)),
                          (X += this.processOverEvents(z)));
                        break;
                      case r.TOUCH_END:
                      case r.TOUCH_CANCEL:
                        ((X += this.processDragUpEvent(z)),
                          (X += this.processUpEvents(z)),
                          (X += this.processOutEvents(z)));
                        break;
                      case r.MOUSE_MOVE:
                      case r.TOUCH_MOVE:
                        ((X += this.processDragMoveEvent(z)),
                          (X += this.processMoveEvents(z)),
                          (X += this.processOverOutEvents(z)));
                        break;
                      case r.MOUSE_WHEEL:
                        X += this.processWheelEvent(z);
                        break;
                    }
                    X > 0 && (D = !0);
                  }
                  return ((this._updatedThisFrame = !0), D);
                },
                clear: function (M, I) {
                  (I === void 0 && (I = !1), this.disable(M));
                  var O = M.input;
                  (O &&
                    (this.removeDebug(M),
                    (O.gameObject = void 0),
                    (O.target = void 0),
                    (O.hitArea = void 0),
                    (O.hitAreaCallback = void 0),
                    (O.callbackContext = void 0),
                    (M.input = null)),
                    I || this.queueForRemoval(M));
                  var D = this._draggable.indexOf(M);
                  return (D > -1 && this._draggable.splice(D, 1), M);
                },
                disable: function (M) {
                  var I = M.input;
                  I && ((I.enabled = !1), (I.dragState = 0));
                  var O = this._temp,
                    D = this._drag,
                    G = this._over,
                    X = this.manager,
                    z = O.indexOf(M);
                  z > -1 && O.splice(z, 1);
                  for (var K = 0; K < X.pointersTotal; K++)
                    ((z = D[K].indexOf(M)),
                      z > -1 && D[K].splice(z, 1),
                      (z = G[K].indexOf(M)),
                      z > -1 && (G[K].splice(z, 1), X.resetCursor(I)));
                  return _____WB$wombat$check$this$function_____(this);
                },
                enable: function (M, I, O, D) {
                  return (
                    D === void 0 && (D = !1),
                    M.input ? (M.input.enabled = !0) : this.setHitArea(M, I, O),
                    M.input && D && !M.input.dropZone && (M.input.dropZone = D),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                hitTestPointer: function (M) {
                  for (
                    var I = this.cameras.getCamerasBelowPointer(M), O = 0;
                    O < I.length;
                    O++
                  ) {
                    for (
                      var D = I[O],
                        G = this.manager.hitTest(M, this._list, D),
                        X = 0;
                      X < G.length;
                      X++
                    ) {
                      var z = G[X];
                      z.input.dropZone && this._tempZones.push(z);
                    }
                    if (G.length > 0) return ((M.camera = D), G);
                  }
                  return ((M.camera = I[0]), []);
                },
                processDownEvents: function (M) {
                  var I = 0,
                    O = this._temp,
                    D = this._eventData,
                    G = this._eventContainer;
                  D.cancelled = !1;
                  for (var X = !1, z = 0; z < O.length; z++) {
                    var K = O[z];
                    if (!(!K.input || !K.input.enabled)) {
                      if (
                        (I++,
                        K.emit(
                          o.GAMEOBJECT_POINTER_DOWN,
                          M,
                          K.input.localX,
                          K.input.localY,
                          G,
                        ),
                        D.cancelled || !K.input || !K.input.enabled)
                      ) {
                        X = !0;
                        break;
                      }
                      if (
                        (this.emit(o.GAMEOBJECT_DOWN, M, K, G),
                        D.cancelled || !K.input)
                      ) {
                        X = !0;
                        break;
                      }
                    }
                  }
                  return (
                    !X &&
                      this.manager &&
                      (M.downElement === this.manager.game.canvas
                        ? this.emit(o.POINTER_DOWN, M, O)
                        : this.emit(o.POINTER_DOWN_OUTSIDE, M)),
                    I
                  );
                },
                getDragState: function (M) {
                  return this._dragState[M.id];
                },
                setDragState: function (M, I) {
                  this._dragState[M.id] = I;
                },
                processDragThresholdEvent: function (M, I) {
                  var O = !1,
                    D = this.dragTimeThreshold,
                    G = this.dragDistanceThreshold;
                  if (
                    (((G > 0 && s(M.x, M.y, M.downX, M.downY) >= G) ||
                      (D > 0 && I >= M.downTime + D)) &&
                      (O = !0),
                    O)
                  )
                    return (
                      this.setDragState(M, 3),
                      this.processDragStartList(M)
                    );
                },
                processDragStartList: function (M) {
                  if (this.getDragState(M) !== 3) return 0;
                  for (var I = this._drag[M.id], O = 0; O < I.length; O++) {
                    var D = I[O],
                      G = D.input;
                    ((G.dragState = 2),
                      (G.dragStartX = D.x),
                      (G.dragStartY = D.y),
                      (G.dragStartXGlobal = M.worldX),
                      (G.dragStartYGlobal = M.worldY),
                      (G.dragX = G.dragStartXGlobal - G.dragStartX),
                      (G.dragY = G.dragStartYGlobal - G.dragStartY),
                      D.emit(o.GAMEOBJECT_DRAG_START, M, G.dragX, G.dragY),
                      this.emit(o.DRAG_START, M, D));
                  }
                  return (this.setDragState(M, 4), I.length);
                },
                processDragDownEvent: function (M) {
                  var I = this._temp;
                  if (
                    this._draggable.length === 0 ||
                    I.length === 0 ||
                    !M.primaryDown ||
                    this.getDragState(M) !== 0
                  )
                    return 0;
                  this.setDragState(M, 1);
                  for (var O = [], D = 0; D < I.length; D++) {
                    var G = I[D];
                    G.input.draggable && G.input.dragState === 0 && O.push(G);
                  }
                  return O.length === 0
                    ? (this.setDragState(M, 0), 0)
                    : (O.length > 1 &&
                        (this.sortGameObjects(O, M),
                        this.topOnly && O.splice(1)),
                      (this._drag[M.id] = O),
                      this.dragDistanceThreshold === 0 &&
                      this.dragTimeThreshold === 0
                        ? (this.setDragState(M, 3),
                          this.processDragStartList(M))
                        : (this.setDragState(M, 2), 0));
                },
                processDragMoveEvent: function (M) {
                  if (
                    (this.getDragState(M) === 2 &&
                      this.processDragThresholdEvent(
                        M,
                        this.manager.game.loop.now,
                      ),
                    this.getDragState(M) !== 4)
                  )
                    return 0;
                  for (
                    var I = this._tempZones, O = this._drag[M.id], D = 0;
                    D < O.length;
                    D++
                  ) {
                    var G = O[D],
                      X = G.input,
                      z = X.target;
                    if (z) {
                      var K = I.indexOf(z);
                      K === 0
                        ? (G.emit(o.GAMEOBJECT_DRAG_OVER, M, z),
                          this.emit(o.DRAG_OVER, M, G, z))
                        : K > 0
                          ? (G.emit(o.GAMEOBJECT_DRAG_LEAVE, M, z),
                            this.emit(o.DRAG_LEAVE, M, G, z),
                            (X.target = I[0]),
                            (z = X.target),
                            G.emit(o.GAMEOBJECT_DRAG_ENTER, M, z),
                            this.emit(o.DRAG_ENTER, M, G, z))
                          : (G.emit(o.GAMEOBJECT_DRAG_LEAVE, M, z),
                            this.emit(o.DRAG_LEAVE, M, G, z),
                            I[0]
                              ? ((X.target = I[0]),
                                (z = X.target),
                                G.emit(o.GAMEOBJECT_DRAG_ENTER, M, z),
                                this.emit(o.DRAG_ENTER, M, G, z))
                              : (X.target = null));
                    } else
                      !z &&
                        I[0] &&
                        ((X.target = I[0]),
                        (z = X.target),
                        G.emit(o.GAMEOBJECT_DRAG_ENTER, M, z),
                        this.emit(o.DRAG_ENTER, M, G, z));
                    var N, b;
                    if (!G.parentContainer)
                      ((N = M.worldX - X.dragX), (b = M.worldY - X.dragY));
                    else {
                      var R = M.worldX - X.dragStartXGlobal,
                        H = M.worldY - X.dragStartYGlobal,
                        Q = G.getParentRotation(),
                        V = R * Math.cos(Q) + H * Math.sin(Q),
                        Y = H * Math.cos(Q) - R * Math.sin(Q);
                      ((V *= 1 / G.parentContainer.scaleX),
                        (Y *= 1 / G.parentContainer.scaleY),
                        (N = V + X.dragStartX),
                        (b = Y + X.dragStartY));
                    }
                    (G.emit(o.GAMEOBJECT_DRAG, M, N, b),
                      this.emit(o.DRAG, M, G, N, b));
                  }
                  return O.length;
                },
                processDragUpEvent: function (M) {
                  for (var I = this._drag[M.id], O = 0; O < I.length; O++) {
                    var D = I[O],
                      G = D.input;
                    if (G && G.dragState === 2) {
                      ((G.dragState = 0),
                        (G.dragX = G.localX - D.displayOriginX),
                        (G.dragY = G.localY - D.displayOriginY));
                      var X = !1,
                        z = G.target;
                      (z &&
                        (D.emit(o.GAMEOBJECT_DROP, M, z),
                        this.emit(o.DROP, M, D, z),
                        (G.target = null),
                        (X = !0)),
                        D.input &&
                          D.input.enabled &&
                          (D.emit(
                            o.GAMEOBJECT_DRAG_END,
                            M,
                            G.dragX,
                            G.dragY,
                            X,
                          ),
                          this.emit(o.DRAG_END, M, D, X)));
                    }
                  }
                  return (this.setDragState(M, 0), I.splice(0), 0);
                },
                processMoveEvents: function (M) {
                  var I = 0,
                    O = this._temp,
                    D = this._eventData,
                    G = this._eventContainer;
                  D.cancelled = !1;
                  for (var X = !1, z = 0; z < O.length; z++) {
                    var K = O[z];
                    if (!(!K.input || !K.input.enabled)) {
                      if (
                        (I++,
                        K.emit(
                          o.GAMEOBJECT_POINTER_MOVE,
                          M,
                          K.input.localX,
                          K.input.localY,
                          G,
                        ),
                        D.cancelled || !K.input || !K.input.enabled)
                      ) {
                        X = !0;
                        break;
                      }
                      if (
                        (this.emit(o.GAMEOBJECT_MOVE, M, K, G),
                        D.cancelled || !K.input || !K.input.enabled)
                      ) {
                        X = !0;
                        break;
                      }
                      if (this.topOnly) break;
                    }
                  }
                  return (X || this.emit(o.POINTER_MOVE, M, O), I);
                },
                processWheelEvent: function (M) {
                  var I = 0,
                    O = this._temp,
                    D = this._eventData,
                    G = this._eventContainer;
                  D.cancelled = !1;
                  for (
                    var X = !1, z = M.deltaX, K = M.deltaY, N = M.deltaZ, b = 0;
                    b < O.length;
                    b++
                  ) {
                    var R = O[b];
                    if (!(!R.input || !R.input.enabled)) {
                      if (
                        (I++,
                        R.emit(o.GAMEOBJECT_POINTER_WHEEL, M, z, K, N, G),
                        D.cancelled || !R.input || !R.input.enabled)
                      ) {
                        X = !0;
                        break;
                      }
                      if (
                        (this.emit(o.GAMEOBJECT_WHEEL, M, R, z, K, N, G),
                        D.cancelled || !R.input || !R.input.enabled)
                      ) {
                        X = !0;
                        break;
                      }
                    }
                  }
                  return (X || this.emit(o.POINTER_WHEEL, M, O, z, K, N), I);
                },
                processOverEvents: function (M) {
                  var I = this._temp,
                    O = 0,
                    D = I.length,
                    G = [];
                  if (D > 0) {
                    var X = this.manager,
                      z = this._eventData,
                      K = this._eventContainer;
                    z.cancelled = !1;
                    for (var N = !1, b = 0; b < D; b++) {
                      var R = I[b];
                      if (!(!R.input || !R.input.enabled)) {
                        if (
                          (G.push(R),
                          X.setCursor(R.input),
                          R.emit(
                            o.GAMEOBJECT_POINTER_OVER,
                            M,
                            R.input.localX,
                            R.input.localY,
                            K,
                          ),
                          O++,
                          z.cancelled || !R.input || !R.input.enabled)
                        ) {
                          N = !0;
                          break;
                        }
                        if (
                          (this.emit(o.GAMEOBJECT_OVER, M, R, K),
                          z.cancelled || !R.input || !R.input.enabled)
                        ) {
                          N = !0;
                          break;
                        }
                      }
                    }
                    N || this.emit(o.POINTER_OVER, M, G);
                  }
                  return ((this._over[M.id] = G), O);
                },
                processOutEvents: function (M) {
                  var I = this._over[M.id],
                    O = 0,
                    D = I.length;
                  if (D > 0) {
                    var G = this.manager,
                      X = this._eventData,
                      z = this._eventContainer;
                    X.cancelled = !1;
                    var K = !1;
                    this.sortGameObjects(I, M);
                    for (var N = 0; N < D; N++) {
                      var b = I[N];
                      if (((b = I[N]), !(!b.input || !b.input.enabled))) {
                        if (
                          (G.resetCursor(b.input),
                          b.emit(o.GAMEOBJECT_POINTER_OUT, M, z),
                          O++,
                          X.cancelled || !b.input || !b.input.enabled)
                        ) {
                          K = !0;
                          break;
                        }
                        if (
                          (this.emit(o.GAMEOBJECT_OUT, M, b, z),
                          X.cancelled || !b.input || !b.input.enabled)
                        ) {
                          K = !0;
                          break;
                        }
                        K || this.emit(o.POINTER_OUT, M, I);
                      }
                    }
                    this._over[M.id] = [];
                  }
                  return O;
                },
                processOverOutEvents: function (M) {
                  var I = this._temp,
                    O,
                    D,
                    G = [],
                    X = [],
                    z = [],
                    K = this._over[M.id],
                    N = this._drag[M.id],
                    b = this.manager;
                  for (O = 0; O < K.length; O++)
                    ((D = K[O]),
                      I.indexOf(D) === -1 && N.indexOf(D) === -1
                        ? G.push(D)
                        : z.push(D));
                  for (O = 0; O < I.length; O++)
                    ((D = I[O]), K.indexOf(D) === -1 && X.push(D));
                  var R = G.length,
                    H = 0,
                    Q = this._eventData,
                    V = this._eventContainer;
                  Q.cancelled = !1;
                  var Y = !1;
                  if (R > 0) {
                    for (this.sortGameObjects(G, M), O = 0; O < R; O++)
                      if (((D = G[O]), !(!D.input || !D.input.enabled))) {
                        if (
                          (b.resetCursor(D.input),
                          D.emit(o.GAMEOBJECT_POINTER_OUT, M, V),
                          H++,
                          Q.cancelled || !D.input || !D.input.enabled)
                        ) {
                          Y = !0;
                          break;
                        }
                        if (
                          (this.emit(o.GAMEOBJECT_OUT, M, D, V),
                          Q.cancelled || !D.input || !D.input.enabled)
                        ) {
                          Y = !0;
                          break;
                        }
                      }
                    Y || this.emit(o.POINTER_OUT, M, G);
                  }
                  if (((R = X.length), (Q.cancelled = !1), (Y = !1), R > 0)) {
                    for (this.sortGameObjects(X, M), O = 0; O < R; O++)
                      if (((D = X[O]), !(!D.input || !D.input.enabled))) {
                        if (
                          (b.setCursor(D.input),
                          D.emit(
                            o.GAMEOBJECT_POINTER_OVER,
                            M,
                            D.input.localX,
                            D.input.localY,
                            V,
                          ),
                          H++,
                          Q.cancelled || !D.input || !D.input.enabled)
                        ) {
                          Y = !0;
                          break;
                        }
                        if (
                          (this.emit(o.GAMEOBJECT_OVER, M, D, V),
                          Q.cancelled || !D.input || !D.input.enabled)
                        ) {
                          Y = !0;
                          break;
                        }
                      }
                    Y || this.emit(o.POINTER_OVER, M, X);
                  }
                  return (
                    (K = z.concat(X)),
                    (this._over[M.id] = this.sortGameObjects(K, M)),
                    H
                  );
                },
                processUpEvents: function (M) {
                  var I = this._temp,
                    O = this._eventData,
                    D = this._eventContainer;
                  O.cancelled = !1;
                  for (var G = !1, X = 0; X < I.length; X++) {
                    var z = I[X];
                    if (!(!z.input || !z.input.enabled)) {
                      if (
                        (z.emit(
                          o.GAMEOBJECT_POINTER_UP,
                          M,
                          z.input.localX,
                          z.input.localY,
                          D,
                        ),
                        O.cancelled || !z.input || !z.input.enabled)
                      ) {
                        G = !0;
                        break;
                      }
                      if (
                        (this.emit(o.GAMEOBJECT_UP, M, z, D),
                        O.cancelled || !z.input || !z.input.enabled)
                      ) {
                        G = !0;
                        break;
                      }
                    }
                  }
                  return (
                    !G &&
                      this.manager &&
                      (M.upElement === this.manager.game.canvas
                        ? this.emit(o.POINTER_UP, M, I)
                        : this.emit(o.POINTER_UP_OUTSIDE, M)),
                    I.length
                  );
                },
                queueForInsertion: function (M) {
                  return (
                    this._pendingInsertion.indexOf(M) === -1 &&
                      this._list.indexOf(M) === -1 &&
                      this._pendingInsertion.push(M),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                queueForRemoval: function (M) {
                  return (
                    this._pendingRemoval.push(M),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setDraggable: function (M, I) {
                  (I === void 0 && (I = !0), Array.isArray(M) || (M = [M]));
                  for (var O = 0; O < M.length; O++) {
                    var D = M[O];
                    D.input.draggable = I;
                    var G = this._draggable.indexOf(D);
                    I && G === -1
                      ? this._draggable.push(D)
                      : !I && G > -1 && this._draggable.splice(G, 1);
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                makePixelPerfect: function (M) {
                  M === void 0 && (M = 1);
                  var I = this.systems.textures;
                  return e(I, M);
                },
                setHitArea: function (M, I, O) {
                  if (I === void 0) return this.setHitAreaFromTexture(M);
                  Array.isArray(M) || (M = [M]);
                  var D = !1,
                    G = !1,
                    X = !1,
                    z = !1,
                    K = !1,
                    N = !0;
                  if (m(I)) {
                    var b = I;
                    ((I = l(b, "hitArea", null)),
                      (O = l(b, "hitAreaCallback", null)),
                      (D = l(b, "draggable", !1)),
                      (G = l(b, "dropZone", !1)),
                      (X = l(b, "cursor", !1)),
                      (z = l(b, "useHandCursor", !1)),
                      (K = l(b, "pixelPerfect", !1)));
                    var R = l(b, "alphaTolerance", 1);
                    (K && ((I = {}), (O = this.makePixelPerfect(R))),
                      (!I || !O) && (this.setHitAreaFromTexture(M), (N = !1)));
                  } else typeof I == "function" && !O && ((O = I), (I = {}));
                  for (var H = 0; H < M.length; H++) {
                    var Q = M[H];
                    if (K && Q.type === "Container") {
                      console.warn(
                        "Cannot pixelPerfect test a Container. Use a custom callback.",
                      );
                      continue;
                    }
                    var V = Q.input ? Q.input : n(Q, I, O);
                    ((V.customHitArea = N),
                      (V.dropZone = G),
                      (V.cursor = z ? "pointer" : X),
                      (Q.input = V),
                      D && this.setDraggable(Q),
                      this.queueForInsertion(Q));
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                setHitAreaCircle: function (M, I, O, D, G) {
                  G === void 0 && (G = c);
                  var X = new A(I, O, D);
                  return this.setHitArea(M, X, G);
                },
                setHitAreaEllipse: function (M, I, O, D, G, X) {
                  X === void 0 && (X = i);
                  var z = new u(I, O, D, G);
                  return this.setHitArea(M, z, X);
                },
                setHitAreaFromTexture: function (M, I) {
                  (I === void 0 && (I = C), Array.isArray(M) || (M = [M]));
                  for (var O = 0; O < M.length; O++) {
                    var D = M[O],
                      G = D.frame,
                      X = 0,
                      z = 0;
                    if (
                      (D.width
                        ? ((X = D.width), (z = D.height))
                        : G && ((X = G.realWidth), (z = G.realHeight)),
                      D.type === "Container" && (X === 0 || z === 0))
                    ) {
                      console.warn(
                        "Container.setInteractive must specify a Shape or call setSize() first",
                      );
                      continue;
                    }
                    X !== 0 &&
                      z !== 0 &&
                      ((D.input = n(D, new g(0, 0, X, z), I)),
                      this.queueForInsertion(D));
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                setHitAreaRectangle: function (M, I, O, D, G, X) {
                  X === void 0 && (X = C);
                  var z = new g(I, O, D, G);
                  return this.setHitArea(M, z, X);
                },
                setHitAreaTriangle: function (M, I, O, D, G, X, z, K) {
                  K === void 0 && (K = w);
                  var N = new F(I, O, D, G, X, z);
                  return this.setHitArea(M, N, K);
                },
                enableDebug: function (M, I) {
                  I === void 0 && (I = 65280);
                  var O = M.input;
                  if (!O || !O.hitArea)
                    return _____WB$wombat$check$this$function_____(this);
                  var D = O.hitArea,
                    G = D.type,
                    X = O.hitAreaDebug,
                    z = this.systems.add,
                    K = this.systems.updateList;
                  X && (K.remove(X), X.destroy(), (X = null));
                  var N = 0,
                    b = 0;
                  switch (G) {
                    case f.CIRCLE:
                      ((X = z.arc(0, 0, D.radius)),
                        (N = D.x - D.radius),
                        (b = D.y - D.radius));
                      break;
                    case f.ELLIPSE:
                      ((X = z.ellipse(0, 0, D.width, D.height)),
                        (N = D.x - D.width / 2),
                        (b = D.y - D.height / 2));
                      break;
                    case f.LINE:
                      X = z.line(0, 0, D.x1, D.y1, D.x2, D.y2);
                      break;
                    case f.POLYGON:
                      X = z.polygon(0, 0, D.points);
                      break;
                    case f.RECTANGLE:
                      ((X = z.rectangle(0, 0, D.width, D.height)),
                        (N = D.x),
                        (b = D.y));
                      break;
                    case f.TRIANGLE:
                      X = z.triangle(0, 0, D.x1, D.y1, D.x2, D.y2, D.x3, D.y3);
                      break;
                  }
                  return (
                    X &&
                      ((X.isFilled = !1),
                      (X.strokeColor = I),
                      (X.preUpdate = function () {
                        (X.setStrokeStyle(1 / M.scale, X.strokeColor),
                          X.setDisplayOrigin(
                            M.displayOriginX,
                            M.displayOriginY,
                          ));
                        var R = M.x,
                          H = M.y,
                          Q = M.rotation,
                          V = M.scaleX,
                          Y = M.scaleY;
                        if (M.parentContainer) {
                          var J = M.getWorldTransformMatrix();
                          ((R = J.tx),
                            (H = J.ty),
                            (Q = J.rotation),
                            (V = J.scaleX),
                            (Y = J.scaleY));
                        }
                        (X.setRotation(Q),
                          X.setScale(V, Y),
                          X.setPosition(R + N * V, H + b * Y),
                          X.setScrollFactor(M.scrollFactorX, M.scrollFactorY),
                          X.setDepth(M.depth));
                      }),
                      K.add(X),
                      (O.hitAreaDebug = X)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                removeDebug: function (M) {
                  var I = M.input;
                  if (I && I.hitAreaDebug) {
                    var O = I.hitAreaDebug;
                    (this.systems.updateList.remove(O),
                      O.destroy(),
                      (I.hitAreaDebug = null));
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                setPollAlways: function () {
                  return this.setPollRate(0);
                },
                setPollOnMove: function () {
                  return this.setPollRate(-1);
                },
                setPollRate: function (M) {
                  return (
                    (this.pollRate = M),
                    (this._pollTimer = 0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setGlobalTopOnly: function (M) {
                  return (
                    (this.manager.globalTopOnly = M),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setTopOnly: function (M) {
                  return (
                    (this.topOnly = M),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                sortGameObjects: function (M, I) {
                  if (M.length < 2 || !I.camera) return M;
                  var O = I.camera.renderList;
                  return M.sort(function (D, G) {
                    var X = Math.max(O.indexOf(D), 0),
                      z = Math.max(O.indexOf(G), 0);
                    return z - X;
                  });
                },
                sortDropZones: function (M) {
                  return M.length < 2
                    ? M
                    : (this.scene.sys.depthSort(),
                      M.sort(this.sortDropZoneHandler.bind(this)));
                },
                sortDropZoneHandler: function (M, I) {
                  if (!M.parentContainer && !I.parentContainer)
                    return (
                      this.displayList.getIndex(I) -
                      this.displayList.getIndex(M)
                    );
                  if (M.parentContainer === I.parentContainer)
                    return (
                      I.parentContainer.getIndex(I) -
                      M.parentContainer.getIndex(M)
                    );
                  if (M.parentContainer === I) return -1;
                  if (I.parentContainer === M) return 1;
                  for (
                    var O = M.getIndexList(),
                      D = I.getIndexList(),
                      G = Math.min(O.length, D.length),
                      X = 0;
                    X < G;
                    X++
                  ) {
                    var z = O[X],
                      K = D[X];
                    if (z !== K) return K - z;
                  }
                  return D.length - O.length;
                },
                stopPropagation: function () {
                  return (
                    (this.manager._tempSkip = !0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                addPointer: function (M) {
                  return this.manager.addPointer(M);
                },
                setDefaultCursor: function (M) {
                  return (
                    this.manager.setDefaultCursor(M),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                transitionIn: function () {
                  this.enabled = this.settings.transitionAllowInput;
                },
                transitionComplete: function () {
                  this.settings.transitionAllowInput || (this.enabled = !0);
                },
                transitionOut: function () {
                  this.enabled = this.settings.transitionAllowInput;
                },
                shutdown: function () {
                  (this.pluginEvents.emit(o.SHUTDOWN),
                    (this._temp.length = 0),
                    (this._list.length = 0),
                    (this._draggable.length = 0),
                    (this._pendingRemoval.length = 0),
                    (this._pendingInsertion.length = 0),
                    (this._dragState.length = 0));
                  for (var M = 0; M < 10; M++)
                    ((this._drag[M] = []), (this._over[M] = []));
                  this.removeAllListeners();
                  var I = this.manager;
                  I.canvas.style.cursor = I.defaultCursor;
                  var O = this.systems.events;
                  (O.off(
                    T.TRANSITION_START,
                    this.transitionIn,
                    _____WB$wombat$check$this$function_____(this),
                  ),
                    O.off(
                      T.TRANSITION_OUT,
                      this.transitionOut,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    O.off(
                      T.TRANSITION_COMPLETE,
                      this.transitionComplete,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    O.off(
                      T.PRE_UPDATE,
                      this.preUpdate,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    I.events.off(
                      o.GAME_OUT,
                      this.onGameOut,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    I.events.off(
                      o.GAME_OVER,
                      this.onGameOver,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    O.off(
                      T.SHUTDOWN,
                      this.shutdown,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                resetPointers: function () {
                  for (var M = this.manager.pointers, I = 0; I < M.length; I++)
                    M[I].reset();
                },
                destroy: function () {
                  (this.shutdown(),
                    this.pluginEvents.emit(o.DESTROY),
                    this.pluginEvents.removeAllListeners(),
                    this.scene.sys.events.off(
                      T.START,
                      this.start,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    (this.scene = null),
                    (this.cameras = null),
                    (this.manager = null),
                    (this.events = null),
                    (this.mouse = null));
                },
                x: {
                  get: function () {
                    return this.manager.activePointer.x;
                  },
                },
                y: {
                  get: function () {
                    return this.manager.activePointer.y;
                  },
                },
                isOver: {
                  get: function () {
                    return this.manager.isOver;
                  },
                },
                mousePointer: {
                  get: function () {
                    return this.manager.mousePointer;
                  },
                },
                activePointer: {
                  get: function () {
                    return this.manager.activePointer;
                  },
                },
                pointer1: {
                  get: function () {
                    return this.manager.pointers[1];
                  },
                },
                pointer2: {
                  get: function () {
                    return this.manager.pointers[2];
                  },
                },
                pointer3: {
                  get: function () {
                    return this.manager.pointers[3];
                  },
                },
                pointer4: {
                  get: function () {
                    return this.manager.pointers[4];
                  },
                },
                pointer5: {
                  get: function () {
                    return this.manager.pointers[5];
                  },
                },
                pointer6: {
                  get: function () {
                    return this.manager.pointers[6];
                  },
                },
                pointer7: {
                  get: function () {
                    return this.manager.pointers[7];
                  },
                },
                pointer8: {
                  get: function () {
                    return this.manager.pointers[8];
                  },
                },
                pointer9: {
                  get: function () {
                    return this.manager.pointers[9];
                  },
                },
                pointer10: {
                  get: function () {
                    return this.manager.pointers[10];
                  },
                },
              });
            (x.register("InputPlugin", U, "input"), (d.exports = U));
          },
          63399: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(10850),
              c = {},
              a = {};
            ((a.register = function (r, n, e, s, u) {
              c[r] = { plugin: n, mapping: e, settingsKey: s, configKey: u };
            }),
              (a.getPlugin = function (r) {
                return c[r];
              }),
              (a.install = function (r) {
                var n = r.scene.sys,
                  e = n.settings.input,
                  s = n.game.config;
                for (var u in c) {
                  var i = c[u].plugin,
                    o = c[u].mapping,
                    h = c[u].settingsKey,
                    l = c[u].configKey;
                  A(e, h, s[l]) && (r[o] = new i(r));
                }
              }),
              (a.remove = function (r) {
                c.hasOwnProperty(r) && delete c[r];
              }),
              (d.exports = a));
          },
          40398: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(90447),
              c = t(56694),
              a = t(53996),
              r = t(88456),
              n = t(44521),
              e = t(93736),
              s = t(36580),
              u = new c({
                initialize: function (o, h) {
                  ((this.manager = o),
                    (this.id = h),
                    this.event,
                    this.downElement,
                    this.upElement,
                    (this.camera = null),
                    (this.button = 0),
                    (this.buttons = 0),
                    (this.position = new e()),
                    (this.prevPosition = new e()),
                    (this.midPoint = new e(-1, -1)),
                    (this.velocity = new e()),
                    (this.angle = 0),
                    (this.distance = 0),
                    (this.smoothFactor = 0),
                    (this.motionFactor = 0.2),
                    (this.worldX = 0),
                    (this.worldY = 0),
                    (this.moveTime = 0),
                    (this.downX = 0),
                    (this.downY = 0),
                    (this.downTime = 0),
                    (this.upX = 0),
                    (this.upY = 0),
                    (this.upTime = 0),
                    (this.primaryDown = !1),
                    (this.isDown = !1),
                    (this.wasTouch = !1),
                    (this.wasCanceled = !1),
                    (this.movementX = 0),
                    (this.movementY = 0),
                    (this.identifier = 0),
                    (this.pointerId = null),
                    (this.active = h === 0),
                    (this.locked = !1),
                    (this.deltaX = 0),
                    (this.deltaY = 0),
                    (this.deltaZ = 0));
                },
                updateWorldPoint: function (i) {
                  var o = i.getWorldPoint(this.x, this.y);
                  return (
                    (this.worldX = o.x),
                    (this.worldY = o.y),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                positionToCamera: function (i, o) {
                  return i.getWorldPoint(this.x, this.y, o);
                },
                updateMotion: function () {
                  var i = this.position.x,
                    o = this.position.y,
                    h = this.midPoint.x,
                    l = this.midPoint.y;
                  if (!(i === h && o === l)) {
                    var f = n(this.motionFactor, h, i),
                      v = n(this.motionFactor, l, o);
                    (r(f, i, 0.1) && (f = i),
                      r(v, o, 0.1) && (v = o),
                      this.midPoint.set(f, v));
                    var m = i - f,
                      x = o - v;
                    (this.velocity.set(m, x),
                      (this.angle = A(f, v, i, o)),
                      (this.distance = Math.sqrt(m * m + x * x)));
                  }
                },
                up: function (i) {
                  ("buttons" in i && (this.buttons = i.buttons),
                    (this.event = i),
                    (this.button = i.button),
                    (this.upElement = i.target),
                    this.manager.transformPointer(this, i.pageX, i.pageY, !1),
                    i.button === 0 &&
                      ((this.primaryDown = !1),
                      (this.upX = this.x),
                      (this.upY = this.y)),
                    this.buttons === 0 &&
                      ((this.isDown = !1),
                      (this.upTime = i.timeStamp),
                      (this.wasTouch = !1)));
                },
                down: function (i) {
                  ("buttons" in i && (this.buttons = i.buttons),
                    (this.event = i),
                    (this.button = i.button),
                    (this.downElement = i.target),
                    this.manager.transformPointer(this, i.pageX, i.pageY, !1),
                    i.button === 0 &&
                      ((this.primaryDown = !0),
                      (this.downX = this.x),
                      (this.downY = this.y)),
                    s.macOS &&
                      i.ctrlKey &&
                      ((this.buttons = 2), (this.primaryDown = !1)),
                    this.isDown ||
                      ((this.isDown = !0), (this.downTime = i.timeStamp)),
                    (this.wasTouch = !1));
                },
                move: function (i) {
                  ("buttons" in i && (this.buttons = i.buttons),
                    (this.event = i),
                    this.manager.transformPointer(this, i.pageX, i.pageY, !0),
                    this.locked &&
                      ((this.movementX =
                        i.movementX ||
                        i.mozMovementX ||
                        i.webkitMovementX ||
                        0),
                      (this.movementY =
                        i.movementY ||
                        i.mozMovementY ||
                        i.webkitMovementY ||
                        0)),
                    (this.moveTime = i.timeStamp),
                    (this.wasTouch = !1));
                },
                wheel: function (i) {
                  ("buttons" in i && (this.buttons = i.buttons),
                    (this.event = i),
                    this.manager.transformPointer(this, i.pageX, i.pageY, !1),
                    (this.deltaX = i.deltaX),
                    (this.deltaY = i.deltaY),
                    (this.deltaZ = i.deltaZ),
                    (this.wasTouch = !1));
                },
                touchstart: function (i, o) {
                  (i.pointerId && (this.pointerId = i.pointerId),
                    (this.identifier = i.identifier),
                    (this.target = i.target),
                    (this.active = !0),
                    (this.buttons = 1),
                    (this.event = o),
                    (this.downElement = i.target),
                    this.manager.transformPointer(this, i.pageX, i.pageY, !1),
                    (this.primaryDown = !0),
                    (this.downX = this.x),
                    (this.downY = this.y),
                    (this.downTime = o.timeStamp),
                    (this.isDown = !0),
                    (this.wasTouch = !0),
                    (this.wasCanceled = !1),
                    this.updateMotion());
                },
                touchmove: function (i, o) {
                  ((this.event = o),
                    this.manager.transformPointer(this, i.pageX, i.pageY, !0),
                    (this.moveTime = o.timeStamp),
                    (this.wasTouch = !0),
                    this.updateMotion());
                },
                touchend: function (i, o) {
                  ((this.buttons = 0),
                    (this.event = o),
                    (this.upElement = i.target),
                    this.manager.transformPointer(this, i.pageX, i.pageY, !1),
                    (this.primaryDown = !1),
                    (this.upX = this.x),
                    (this.upY = this.y),
                    (this.upTime = o.timeStamp),
                    (this.isDown = !1),
                    (this.wasTouch = !0),
                    (this.wasCanceled = !1),
                    (this.active = !1),
                    this.updateMotion());
                },
                touchcancel: function (i, o) {
                  ((this.buttons = 0),
                    (this.event = o),
                    (this.upElement = i.target),
                    this.manager.transformPointer(this, i.pageX, i.pageY, !1),
                    (this.primaryDown = !1),
                    (this.upX = this.x),
                    (this.upY = this.y),
                    (this.upTime = o.timeStamp),
                    (this.isDown = !1),
                    (this.wasTouch = !0),
                    (this.wasCanceled = !0),
                    (this.active = !1));
                },
                noButtonDown: function () {
                  return this.buttons === 0;
                },
                leftButtonDown: function () {
                  return !!(this.buttons & 1);
                },
                rightButtonDown: function () {
                  return !!(this.buttons & 2);
                },
                middleButtonDown: function () {
                  return !!(this.buttons & 4);
                },
                backButtonDown: function () {
                  return !!(this.buttons & 8);
                },
                forwardButtonDown: function () {
                  return !!(this.buttons & 16);
                },
                leftButtonReleased: function () {
                  return this.button === 0 && !this.isDown;
                },
                rightButtonReleased: function () {
                  return this.button === 2 && !this.isDown;
                },
                middleButtonReleased: function () {
                  return this.button === 1 && !this.isDown;
                },
                backButtonReleased: function () {
                  return this.button === 3 && !this.isDown;
                },
                forwardButtonReleased: function () {
                  return this.button === 4 && !this.isDown;
                },
                getDistance: function () {
                  return this.isDown
                    ? a(this.downX, this.downY, this.x, this.y)
                    : a(this.downX, this.downY, this.upX, this.upY);
                },
                getDistanceX: function () {
                  return this.isDown
                    ? Math.abs(this.downX - this.x)
                    : Math.abs(this.downX - this.upX);
                },
                getDistanceY: function () {
                  return this.isDown
                    ? Math.abs(this.downY - this.y)
                    : Math.abs(this.downY - this.upY);
                },
                getDuration: function () {
                  return this.isDown
                    ? this.manager.time - this.downTime
                    : this.upTime - this.downTime;
                },
                getAngle: function () {
                  return this.isDown
                    ? A(this.downX, this.downY, this.x, this.y)
                    : A(this.downX, this.downY, this.upX, this.upY);
                },
                getInterpolatedPosition: function (i, o) {
                  (i === void 0 && (i = 10), o === void 0 && (o = []));
                  for (
                    var h = this.prevPosition.x,
                      l = this.prevPosition.y,
                      f = this.position.x,
                      v = this.position.y,
                      m = 0;
                    m < i;
                    m++
                  ) {
                    var x = (1 / i) * m;
                    o[m] = { x: n(x, h, f), y: n(x, l, v) };
                  }
                  return o;
                },
                reset: function () {
                  ((this.event = null),
                    (this.downElement = null),
                    (this.upElement = null),
                    (this.button = 0),
                    (this.buttons = 0),
                    this.position.set(0, 0),
                    this.prevPosition.set(0, 0),
                    this.midPoint.set(-1, -1),
                    this.velocity.set(0, 0),
                    (this.angle = 0),
                    (this.distance = 0),
                    (this.worldX = 0),
                    (this.worldY = 0),
                    (this.downX = 0),
                    (this.downY = 0),
                    (this.upX = 0),
                    (this.upY = 0),
                    (this.moveTime = 0),
                    (this.upTime = 0),
                    (this.downTime = 0),
                    (this.primaryDown = !1),
                    (this.isDown = !1),
                    (this.wasTouch = !1),
                    (this.wasCanceled = !1),
                    (this.movementX = 0),
                    (this.movementY = 0),
                    (this.identifier = 0),
                    (this.pointerId = null),
                    (this.deltaX = 0),
                    (this.deltaY = 0),
                    (this.deltaZ = 0),
                    (this.active = this.id === 0));
                },
                destroy: function () {
                  ((this.camera = null),
                    (this.manager = null),
                    (this.position = null));
                },
                x: {
                  get: function () {
                    return this.position.x;
                  },
                  set: function (i) {
                    this.position.x = i;
                  },
                },
                y: {
                  get: function () {
                    return this.position.y;
                  },
                  set: function (i) {
                    this.position.y = i;
                  },
                },
                time: {
                  get: function () {
                    return this.event ? this.event.timeStamp : 0;
                  },
                },
              });
            d.exports = u;
          },
          72687: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              MOUSE_DOWN: 0,
              MOUSE_MOVE: 1,
              MOUSE_UP: 2,
              TOUCH_START: 3,
              TOUCH_MOVE: 4,
              TOUCH_END: 5,
              POINTER_LOCK_CHANGE: 6,
              TOUCH_CANCEL: 7,
              MOUSE_WHEEL: 8,
            };
            d.exports = y;
          },
          14874: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "boot";
          },
          54168: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "destroy";
          },
          526: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "dragend";
          },
          81623: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "dragenter";
          },
          94472: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "drag";
          },
          9304: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "dragleave";
          },
          34265: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "dragover";
          },
          50151: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "dragstart";
          },
          98134: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "drop";
          },
          56773: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "gameobjectdown";
          },
          45824: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "dragend";
          },
          39578: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "dragenter";
          },
          72072: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "drag";
          },
          82569: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "dragleave";
          },
          70833: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "dragover";
          },
          81442: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "dragstart";
          },
          32936: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "drop";
          },
          99658: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "gameobjectmove";
          },
          60515: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "gameobjectout";
          },
          55254: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "gameobjectover";
          },
          34782: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "pointerdown";
          },
          41769: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "pointermove";
          },
          65588: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "pointerout";
          },
          61640: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "pointerover";
          },
          49342: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "pointerup";
          },
          82662: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "wheel";
          },
          13058: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "gameobjectup";
          },
          52426: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "gameobjectwheel";
          },
          78072: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "gameout";
          },
          1545: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "gameover";
          },
          67137: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "boot";
          },
          27678: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "process";
          },
          22257: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "update";
          },
          90379: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "pointerlockchange";
          },
          88909: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "pointerdown";
          },
          36548: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "pointerdownoutside";
          },
          18483: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "pointermove";
          },
          22355: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "pointerout";
          },
          7997: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "pointerover";
          },
          66318: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "pointerup";
          },
          94812: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "pointerupoutside";
          },
          37310: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "wheel";
          },
          24196: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "preupdate";
          },
          27053: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "shutdown";
          },
          29413: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "start";
          },
          25165: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "update";
          },
          33963: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              BOOT: t(14874),
              DESTROY: t(54168),
              DRAG_END: t(526),
              DRAG_ENTER: t(81623),
              DRAG: t(94472),
              DRAG_LEAVE: t(9304),
              DRAG_OVER: t(34265),
              DRAG_START: t(50151),
              DROP: t(98134),
              GAME_OUT: t(78072),
              GAME_OVER: t(1545),
              GAMEOBJECT_DOWN: t(56773),
              GAMEOBJECT_DRAG_END: t(45824),
              GAMEOBJECT_DRAG_ENTER: t(39578),
              GAMEOBJECT_DRAG: t(72072),
              GAMEOBJECT_DRAG_LEAVE: t(82569),
              GAMEOBJECT_DRAG_OVER: t(70833),
              GAMEOBJECT_DRAG_START: t(81442),
              GAMEOBJECT_DROP: t(32936),
              GAMEOBJECT_MOVE: t(99658),
              GAMEOBJECT_OUT: t(60515),
              GAMEOBJECT_OVER: t(55254),
              GAMEOBJECT_POINTER_DOWN: t(34782),
              GAMEOBJECT_POINTER_MOVE: t(41769),
              GAMEOBJECT_POINTER_OUT: t(65588),
              GAMEOBJECT_POINTER_OVER: t(61640),
              GAMEOBJECT_POINTER_UP: t(49342),
              GAMEOBJECT_POINTER_WHEEL: t(82662),
              GAMEOBJECT_UP: t(13058),
              GAMEOBJECT_WHEEL: t(52426),
              MANAGER_BOOT: t(67137),
              MANAGER_PROCESS: t(27678),
              MANAGER_UPDATE: t(22257),
              POINTER_DOWN: t(88909),
              POINTER_DOWN_OUTSIDE: t(36548),
              POINTER_MOVE: t(18483),
              POINTER_OUT: t(22355),
              POINTER_OVER: t(7997),
              POINTER_UP: t(66318),
              POINTER_UP_OUTSIDE: t(94812),
              POINTER_WHEEL: t(37310),
              POINTERLOCK_CHANGE: t(90379),
              PRE_UPDATE: t(24196),
              SHUTDOWN: t(27053),
              START: t(29413),
              UPDATE: t(25165),
            };
          },
          70848: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = new A({
                initialize: function (r, n) {
                  ((this.pad = r),
                    (this.events = r.events),
                    (this.index = n),
                    (this.value = 0),
                    (this.threshold = 0.1));
                },
                update: function (a) {
                  this.value = a;
                },
                getValue: function () {
                  return Math.abs(this.value) < this.threshold ? 0 : this.value;
                },
                destroy: function () {
                  ((this.pad = null), (this.events = null));
                },
              });
            d.exports = c;
          },
          21274: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(43200),
              a = new A({
                initialize: function (n, e) {
                  ((this.pad = n),
                    (this.events = n.manager),
                    (this.index = e),
                    (this.value = 0),
                    (this.threshold = 1),
                    (this.pressed = !1));
                },
                update: function (r) {
                  this.value = r;
                  var n = this.pad,
                    e = this.index;
                  r >= this.threshold
                    ? this.pressed ||
                      ((this.pressed = !0),
                      this.events.emit(
                        c.BUTTON_DOWN,
                        n,
                        _____WB$wombat$check$this$function_____(this),
                        r,
                      ),
                      this.pad.emit(
                        c.GAMEPAD_BUTTON_DOWN,
                        e,
                        r,
                        _____WB$wombat$check$this$function_____(this),
                      ))
                    : this.pressed &&
                      ((this.pressed = !1),
                      this.events.emit(
                        c.BUTTON_UP,
                        n,
                        _____WB$wombat$check$this$function_____(this),
                        r,
                      ),
                      this.pad.emit(
                        c.GAMEPAD_BUTTON_UP,
                        e,
                        r,
                        _____WB$wombat$check$this$function_____(this),
                      ));
                },
                destroy: function () {
                  ((this.pad = null), (this.events = null));
                },
              });
            d.exports = a;
          },
          75956: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(70848),
              c = t(21274),
              a = t(56694),
              r = t(6659),
              n = t(93736),
              e = new a({
                Extends: r,
                initialize: function (u, i) {
                  (r.call(this),
                    (this.manager = u),
                    (this.pad = i),
                    (this.id = i.id),
                    (this.index = i.index));
                  for (var o = [], h = 0; h < i.buttons.length; h++)
                    o.push(new c(this, h));
                  this.buttons = o;
                  var l = [];
                  for (h = 0; h < i.axes.length; h++) l.push(new A(this, h));
                  ((this.axes = l), (this.vibration = i.vibrationActuator));
                  var f = { value: 0, pressed: !1 };
                  ((this._LCLeft = o[14] ? o[14] : f),
                    (this._LCRight = o[15] ? o[15] : f),
                    (this._LCTop = o[12] ? o[12] : f),
                    (this._LCBottom = o[13] ? o[13] : f),
                    (this._RCLeft = o[2] ? o[2] : f),
                    (this._RCRight = o[1] ? o[1] : f),
                    (this._RCTop = o[3] ? o[3] : f),
                    (this._RCBottom = o[0] ? o[0] : f),
                    (this._FBLeftTop = o[4] ? o[4] : f),
                    (this._FBLeftBottom = o[6] ? o[6] : f),
                    (this._FBRightTop = o[5] ? o[5] : f),
                    (this._FBRightBottom = o[7] ? o[7] : f));
                  var v = { value: 0 };
                  ((this._HAxisLeft = l[0] ? l[0] : v),
                    (this._VAxisLeft = l[1] ? l[1] : v),
                    (this._HAxisRight = l[2] ? l[2] : v),
                    (this._VAxisRight = l[3] ? l[3] : v),
                    (this.leftStick = new n()),
                    (this.rightStick = new n()),
                    (this._created = performance.now()));
                },
                getAxisTotal: function () {
                  return this.axes.length;
                },
                getAxisValue: function (s) {
                  return this.axes[s].getValue();
                },
                setAxisThreshold: function (s) {
                  for (var u = 0; u < this.axes.length; u++)
                    this.axes[u].threshold = s;
                },
                getButtonTotal: function () {
                  return this.buttons.length;
                },
                getButtonValue: function (s) {
                  return this.buttons[s].value;
                },
                isButtonDown: function (s) {
                  return this.buttons[s].pressed;
                },
                update: function (s) {
                  if (!(s.timestamp < this._created)) {
                    var u,
                      i = this.buttons,
                      o = s.buttons,
                      h = i.length;
                    for (u = 0; u < h; u++) i[u].update(o[u].value);
                    var l = this.axes,
                      f = s.axes;
                    for (h = l.length, u = 0; u < h; u++) l[u].update(f[u]);
                    h >= 2 &&
                      (this.leftStick.set(l[0].getValue(), l[1].getValue()),
                      h >= 4 &&
                        this.rightStick.set(l[2].getValue(), l[3].getValue()));
                  }
                },
                destroy: function () {
                  (this.removeAllListeners(),
                    (this.manager = null),
                    (this.pad = null));
                  var s;
                  for (s = 0; s < this.buttons.length; s++)
                    this.buttons[s].destroy();
                  for (s = 0; s < this.axes.length; s++) this.axes[s].destroy();
                  ((this.buttons = []), (this.axes = []));
                },
                connected: {
                  get: function () {
                    return this.pad.connected;
                  },
                },
                timestamp: {
                  get: function () {
                    return this.pad.timestamp;
                  },
                },
                left: {
                  get: function () {
                    return this._LCLeft.pressed;
                  },
                },
                right: {
                  get: function () {
                    return this._LCRight.pressed;
                  },
                },
                up: {
                  get: function () {
                    return this._LCTop.pressed;
                  },
                },
                down: {
                  get: function () {
                    return this._LCBottom.pressed;
                  },
                },
                A: {
                  get: function () {
                    return this._RCBottom.pressed;
                  },
                },
                Y: {
                  get: function () {
                    return this._RCTop.pressed;
                  },
                },
                X: {
                  get: function () {
                    return this._RCLeft.pressed;
                  },
                },
                B: {
                  get: function () {
                    return this._RCRight.pressed;
                  },
                },
                L1: {
                  get: function () {
                    return this._FBLeftTop.value;
                  },
                },
                L2: {
                  get: function () {
                    return this._FBLeftBottom.value;
                  },
                },
                R1: {
                  get: function () {
                    return this._FBRightTop.value;
                  },
                },
                R2: {
                  get: function () {
                    return this._FBRightBottom.value;
                  },
                },
              });
            d.exports = e;
          },
          1379: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(6659),
              a = t(43200),
              r = t(75956),
              n = t(10850),
              e = t(63399),
              s = t(33963),
              u = new A({
                Extends: c,
                initialize: function (o) {
                  (c.call(this),
                    (this.scene = o.scene),
                    (this.settings = this.scene.sys.settings),
                    (this.sceneInputPlugin = o),
                    (this.enabled = !0),
                    this.target,
                    (this.gamepads = []),
                    (this.queue = []),
                    this.onGamepadHandler,
                    this._pad1,
                    this._pad2,
                    this._pad3,
                    this._pad4,
                    o.pluginEvents.once(
                      s.BOOT,
                      this.boot,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    o.pluginEvents.on(
                      s.START,
                      this.start,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                boot: function () {
                  var i = this.scene.sys.game,
                    o = this.settings.input,
                    h = i.config;
                  ((this.enabled =
                    n(o, "gamepad", h.inputGamepad) && i.device.input.gamepads),
                    (this.target = n(
                      o,
                      "gamepad.target",
                      h.inputGamepadEventTarget,
                    )),
                    this.sceneInputPlugin.pluginEvents.once(
                      s.DESTROY,
                      this.destroy,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                start: function () {
                  (this.enabled && (this.startListeners(), this.refreshPads()),
                    this.sceneInputPlugin.pluginEvents.once(
                      s.SHUTDOWN,
                      this.shutdown,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                isActive: function () {
                  return this.enabled && this.scene.sys.isActive();
                },
                startListeners: function () {
                  var i = _____WB$wombat$check$this$function_____(this),
                    o = this.target,
                    h = function (l) {
                      l.defaultPrevented ||
                        !i.isActive() ||
                        (i.refreshPads(), i.queue.push(l));
                    };
                  ((this.onGamepadHandler = h),
                    o.addEventListener("gamepadconnected", h, !1),
                    o.addEventListener("gamepaddisconnected", h, !1),
                    this.sceneInputPlugin.pluginEvents.on(
                      s.UPDATE,
                      this.update,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                stopListeners: function () {
                  (this.target.removeEventListener(
                    "gamepadconnected",
                    this.onGamepadHandler,
                  ),
                    this.target.removeEventListener(
                      "gamepaddisconnected",
                      this.onGamepadHandler,
                    ),
                    this.sceneInputPlugin.pluginEvents.off(
                      s.UPDATE,
                      this.update,
                    ));
                  for (var i = 0; i < this.gamepads.length; i++)
                    this.gamepads[i].removeAllListeners();
                },
                disconnectAll: function () {
                  for (var i = 0; i < this.gamepads.length; i++)
                    this.gamepads[i].pad.connected = !1;
                },
                refreshPads: function () {
                  var i = navigator.getGamepads();
                  if (!i) this.disconnectAll();
                  else
                    for (var o = this.gamepads, h = 0; h < i.length; h++) {
                      var l = i[h];
                      if (l) {
                        var f = l.id,
                          v = l.index,
                          m = o[v];
                        if (m)
                          m.id !== f
                            ? (m.destroy(), (o[v] = new r(this, l)))
                            : m.update(l);
                        else {
                          var x = new r(this, l);
                          ((o[v] = x),
                            this._pad1
                              ? this._pad2
                                ? this._pad3
                                  ? this._pad4 || (this._pad4 = x)
                                  : (this._pad3 = x)
                                : (this._pad2 = x)
                              : (this._pad1 = x));
                        }
                      }
                    }
                },
                getAll: function () {
                  for (var i = [], o = this.gamepads, h = 0; h < o.length; h++)
                    o[h] && i.push(o[h]);
                  return i;
                },
                getPad: function (i) {
                  for (var o = this.gamepads, h = 0; h < o.length; h++)
                    if (o[h] && o[h].index === i) return o[h];
                },
                update: function () {
                  if (this.enabled) {
                    this.refreshPads();
                    var i = this.queue.length;
                    if (i !== 0)
                      for (var o = this.queue.splice(0, i), h = 0; h < i; h++) {
                        var l = o[h],
                          f = this.getPad(l.gamepad.index);
                        l.type === "gamepadconnected"
                          ? this.emit(a.CONNECTED, f, l)
                          : l.type === "gamepaddisconnected" &&
                            this.emit(a.DISCONNECTED, f, l);
                      }
                  }
                },
                shutdown: function () {
                  (this.stopListeners(), this.removeAllListeners());
                },
                destroy: function () {
                  this.shutdown();
                  for (var i = 0; i < this.gamepads.length; i++)
                    this.gamepads[i] && this.gamepads[i].destroy();
                  ((this.gamepads = []),
                    (this.scene = null),
                    (this.settings = null),
                    (this.sceneInputPlugin = null),
                    (this.target = null));
                },
                total: {
                  get: function () {
                    return this.gamepads.length;
                  },
                },
                pad1: {
                  get: function () {
                    return this._pad1;
                  },
                },
                pad2: {
                  get: function () {
                    return this._pad2;
                  },
                },
                pad3: {
                  get: function () {
                    return this._pad3;
                  },
                },
                pad4: {
                  get: function () {
                    return this._pad4;
                  },
                },
              });
            (e.register(
              "GamepadPlugin",
              u,
              "gamepad",
              "gamepad",
              "inputGamepad",
            ),
              (d.exports = u));
          },
          33171: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              UP: 12,
              DOWN: 13,
              LEFT: 14,
              RIGHT: 15,
              SELECT: 8,
              START: 9,
              B: 0,
              A: 1,
              Y: 2,
              X: 3,
              LEFT_SHOULDER: 4,
              RIGHT_SHOULDER: 5,
            };
          },
          74982: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              UP: 12,
              DOWN: 13,
              LEFT: 14,
              RIGHT: 15,
              SHARE: 8,
              OPTIONS: 9,
              PS: 16,
              TOUCHBAR: 17,
              X: 0,
              CIRCLE: 1,
              SQUARE: 2,
              TRIANGLE: 3,
              L1: 4,
              R1: 5,
              L2: 6,
              R2: 7,
              L3: 10,
              R3: 11,
              LEFT_STICK_H: 0,
              LEFT_STICK_V: 1,
              RIGHT_STICK_H: 2,
              RIGHT_STICK_V: 3,
            };
          },
          43247: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              UP: 12,
              DOWN: 13,
              LEFT: 14,
              RIGHT: 15,
              MENU: 16,
              A: 0,
              B: 1,
              X: 2,
              Y: 3,
              LB: 4,
              RB: 5,
              LT: 6,
              RT: 7,
              BACK: 8,
              START: 9,
              LS: 10,
              RS: 11,
              LEFT_STICK_H: 0,
              LEFT_STICK_V: 1,
              RIGHT_STICK_H: 2,
              RIGHT_STICK_V: 3,
            };
          },
          4898: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              DUALSHOCK_4: t(74982),
              SNES_USB: t(33171),
              XBOX_360: t(43247),
            };
          },
          17344: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "down";
          },
          36635: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "up";
          },
          85724: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "connected";
          },
          55832: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "disconnected";
          },
          772: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "down";
          },
          33608: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "up";
          },
          43200: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              BUTTON_DOWN: t(17344),
              BUTTON_UP: t(36635),
              CONNECTED: t(85724),
              DISCONNECTED: t(55832),
              GAMEPAD_BUTTON_DOWN: t(772),
              GAMEPAD_BUTTON_UP: t(33608),
            };
          },
          92636: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              Axis: t(70848),
              Button: t(21274),
              Events: t(43200),
              Gamepad: t(75956),
              GamepadPlugin: t(1379),
              Configs: t(4898),
            };
          },
          20873: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72687),
              c = t(98611),
              a = {
                CreatePixelPerfectHandler: t(18104),
                CreateInteractiveObject: t(27395),
                Events: t(33963),
                Gamepad: t(92636),
                InputManager: t(69898),
                InputPlugin: t(12499),
                InputPluginCache: t(63399),
                Keyboard: t(28388),
                Mouse: t(11343),
                Pointer: t(40398),
                Touch: t(77423),
              };
            ((a = c(!1, a, A)), (d.exports = a));
          },
          71064: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(66458),
              c = t(56694),
              a = t(97081),
              r = t(33963),
              n = t(11873),
              e = t(72283),
              s = new c({
                initialize: function (i) {
                  ((this.manager = i),
                    (this.queue = []),
                    (this.preventDefault = !0),
                    (this.captures = []),
                    (this.enabled = !1),
                    this.target,
                    (this.onKeyDown = e),
                    (this.onKeyUp = e),
                    i.events.once(
                      r.MANAGER_BOOT,
                      this.boot,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                boot: function () {
                  var u = this.manager.config;
                  ((this.enabled = u.inputKeyboard),
                    (this.target = u.inputKeyboardEventTarget),
                    this.addCapture(u.inputKeyboardCapture),
                    !this.target && window && (this.target = window),
                    this.enabled && this.target && this.startListeners(),
                    this.manager.game.events.on(
                      a.POST_STEP,
                      this.postUpdate,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                startListeners: function () {
                  var u = _____WB$wombat$check$this$function_____(this);
                  ((this.onKeyDown = function (o) {
                    if (!(o.defaultPrevented || !u.enabled || !u.manager)) {
                      (u.queue.push(o),
                        u.manager.events.emit(r.MANAGER_PROCESS));
                      var h = o.altKey || o.ctrlKey || o.shiftKey || o.metaKey;
                      u.preventDefault &&
                        !h &&
                        u.captures.indexOf(o.keyCode) > -1 &&
                        o.preventDefault();
                    }
                  }),
                    (this.onKeyUp = function (o) {
                      if (!(o.defaultPrevented || !u.enabled || !u.manager)) {
                        (u.queue.push(o),
                          u.manager.events.emit(r.MANAGER_PROCESS));
                        var h =
                          o.altKey || o.ctrlKey || o.shiftKey || o.metaKey;
                        u.preventDefault &&
                          !h &&
                          u.captures.indexOf(o.keyCode) > -1 &&
                          o.preventDefault();
                      }
                    }));
                  var i = this.target;
                  i &&
                    (i.addEventListener("keydown", this.onKeyDown, !1),
                    i.addEventListener("keyup", this.onKeyUp, !1),
                    (this.enabled = !0));
                },
                stopListeners: function () {
                  var u = this.target;
                  (u.removeEventListener("keydown", this.onKeyDown, !1),
                    u.removeEventListener("keyup", this.onKeyUp, !1),
                    (this.enabled = !1));
                },
                postUpdate: function () {
                  this.queue = [];
                },
                addCapture: function (u) {
                  (typeof u == "string" && (u = u.split(",")),
                    Array.isArray(u) || (u = [u]));
                  for (var i = this.captures, o = 0; o < u.length; o++) {
                    var h = u[o];
                    (typeof h == "string" && (h = n[h.trim().toUpperCase()]),
                      i.indexOf(h) === -1 && i.push(h));
                  }
                  this.preventDefault = i.length > 0;
                },
                removeCapture: function (u) {
                  (typeof u == "string" && (u = u.split(",")),
                    Array.isArray(u) || (u = [u]));
                  for (var i = this.captures, o = 0; o < u.length; o++) {
                    var h = u[o];
                    (typeof h == "string" && (h = n[h.toUpperCase()]), A(i, h));
                  }
                  this.preventDefault = i.length > 0;
                },
                clearCaptures: function () {
                  ((this.captures = []), (this.preventDefault = !1));
                },
                destroy: function () {
                  (this.stopListeners(),
                    this.clearCaptures(),
                    (this.queue = []),
                    this.manager.game.events.off(
                      a.POST_RENDER,
                      this.postUpdate,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    (this.target = null),
                    (this.enabled = !1),
                    (this.manager = null));
                },
              });
            d.exports = s;
          },
          89666: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(6659),
              a = t(94030),
              r = t(97081),
              n = t(10850),
              e = t(33963),
              s = t(63399),
              u = t(50165),
              i = t(11873),
              o = t(95625),
              h = t(48044),
              l = t(7599),
              f = t(84314),
              v = new A({
                Extends: c,
                initialize: function (x) {
                  (c.call(this),
                    (this.game = x.systems.game),
                    (this.scene = x.scene),
                    (this.settings = this.scene.sys.settings),
                    (this.sceneInputPlugin = x),
                    (this.manager = x.manager.keyboard),
                    (this.enabled = !0),
                    (this.keys = []),
                    (this.combos = []),
                    (this.prevCode = null),
                    (this.prevTime = 0),
                    (this.prevType = null),
                    x.pluginEvents.once(
                      e.BOOT,
                      this.boot,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    x.pluginEvents.on(
                      e.START,
                      this.start,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                boot: function () {
                  var m = this.settings.input;
                  this.enabled = n(m, "keyboard", !0);
                  var x = n(m, "keyboard.capture", null);
                  (x && this.addCaptures(x),
                    this.sceneInputPlugin.pluginEvents.once(
                      e.DESTROY,
                      this.destroy,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                start: function () {
                  (this.sceneInputPlugin.manager.events.on(
                    e.MANAGER_PROCESS,
                    this.update,
                    _____WB$wombat$check$this$function_____(this),
                  ),
                    this.sceneInputPlugin.pluginEvents.once(
                      e.SHUTDOWN,
                      this.shutdown,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    this.game.events.on(
                      r.BLUR,
                      this.resetKeys,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    this.scene.sys.events.on(
                      l.PAUSE,
                      this.resetKeys,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    this.scene.sys.events.on(
                      l.SLEEP,
                      this.resetKeys,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                isActive: function () {
                  return this.enabled && this.scene.sys.canInput();
                },
                addCapture: function (m) {
                  return (
                    this.manager.addCapture(m),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                removeCapture: function (m) {
                  return (
                    this.manager.removeCapture(m),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getCaptures: function () {
                  return this.manager.captures;
                },
                enableGlobalCapture: function () {
                  return (
                    (this.manager.preventDefault = !0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                disableGlobalCapture: function () {
                  return (
                    (this.manager.preventDefault = !1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                clearCaptures: function () {
                  return (
                    this.manager.clearCaptures(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                createCursorKeys: function () {
                  return this.addKeys({
                    up: i.UP,
                    down: i.DOWN,
                    left: i.LEFT,
                    right: i.RIGHT,
                    space: i.SPACE,
                    shift: i.SHIFT,
                  });
                },
                addKeys: function (m, x, g) {
                  (x === void 0 && (x = !0), g === void 0 && (g = !1));
                  var C = {};
                  if (typeof m == "string") {
                    m = m.split(",");
                    for (var T = 0; T < m.length; T++) {
                      var F = m[T].trim();
                      F && (C[F] = this.addKey(F, x, g));
                    }
                  } else for (var w in m) C[w] = this.addKey(m[w], x, g);
                  return C;
                },
                addKey: function (m, x, g) {
                  (x === void 0 && (x = !0), g === void 0 && (g = !1));
                  var C = this.keys;
                  if (m instanceof u) {
                    var T = C.indexOf(m);
                    return (
                      T > -1 ? (C[T] = m) : (C[m.keyCode] = m),
                      x && this.addCapture(m.keyCode),
                      m.setEmitOnRepeat(g),
                      m
                    );
                  }
                  return (
                    typeof m == "string" && (m = i[m.toUpperCase()]),
                    C[m] ||
                      ((C[m] = new u(this, m)),
                      x && this.addCapture(m),
                      C[m].setEmitOnRepeat(g)),
                    C[m]
                  );
                },
                removeKey: function (m, x, g) {
                  (x === void 0 && (x = !1), g === void 0 && (g = !1));
                  var C = this.keys,
                    T;
                  if (m instanceof u) {
                    var F = C.indexOf(m);
                    F > -1 && ((T = this.keys[F]), (this.keys[F] = void 0));
                  } else typeof m == "string" && (m = i[m.toUpperCase()]);
                  return (
                    C[m] && ((T = C[m]), (C[m] = void 0)),
                    T &&
                      ((T.plugin = null),
                      g && this.removeCapture(T.keyCode),
                      x && T.destroy()),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                removeAllKeys: function (m, x) {
                  (m === void 0 && (m = !1), x === void 0 && (x = !1));
                  for (var g = this.keys, C = 0; C < g.length; C++) {
                    var T = g[C];
                    T &&
                      ((g[C] = void 0),
                      x && this.removeCapture(T.keyCode),
                      m && T.destroy());
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                createCombo: function (m, x) {
                  return new o(this, m, x);
                },
                checkDown: function (m, x) {
                  if ((x === void 0 && (x = 0), this.enabled && m.isDown)) {
                    var g = f(this.time - m.timeDown, x);
                    if (g > m._tick) return ((m._tick = g), !0);
                  }
                  return !1;
                },
                update: function () {
                  var m = this.manager.queue,
                    x = m.length;
                  if (!(!this.isActive() || x === 0))
                    for (var g = this.keys, C = 0; C < x; C++) {
                      var T = m[C],
                        F = T.keyCode,
                        w = g[F],
                        U = !1;
                      (T.cancelled === void 0 &&
                        ((T.cancelled = 0),
                        (T.stopImmediatePropagation = function () {
                          T.cancelled = 1;
                        }),
                        (T.stopPropagation = function () {
                          T.cancelled = -1;
                        })),
                        T.cancelled !== -1 &&
                          ((F === this.prevCode &&
                            T.timeStamp === this.prevTime &&
                            T.type === this.prevType) ||
                            ((this.prevCode = F),
                            (this.prevTime = T.timeStamp),
                            (this.prevType = T.type),
                            T.type === "keydown"
                              ? (w && ((U = w.isDown), w.onDown(T)),
                                !T.cancelled &&
                                  (!w || !U) &&
                                  (h[F] && this.emit(a.KEY_DOWN + h[F], T),
                                  T.cancelled || this.emit(a.ANY_KEY_DOWN, T)))
                              : (w && w.onUp(T),
                                T.cancelled ||
                                  (h[F] && this.emit(a.KEY_UP + h[F], T),
                                  T.cancelled || this.emit(a.ANY_KEY_UP, T))),
                            T.cancelled === 1 && (T.cancelled = 0))));
                    }
                },
                resetKeys: function () {
                  for (var m = this.keys, x = 0; x < m.length; x++)
                    m[x] && m[x].reset();
                  return _____WB$wombat$check$this$function_____(this);
                },
                shutdown: function () {
                  (this.removeAllKeys(!0),
                    this.removeAllListeners(),
                    this.sceneInputPlugin.manager.events.off(
                      e.MANAGER_PROCESS,
                      this.update,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    this.game.events.off(r.BLUR, this.resetKeys),
                    this.scene.sys.events.off(
                      l.PAUSE,
                      this.resetKeys,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    this.scene.sys.events.off(
                      l.SLEEP,
                      this.resetKeys,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    (this.queue = []));
                },
                destroy: function () {
                  this.shutdown();
                  for (var m = this.keys, x = 0; x < m.length; x++)
                    m[x] && m[x].destroy();
                  ((this.keys = []),
                    (this.combos = []),
                    (this.queue = []),
                    (this.scene = null),
                    (this.settings = null),
                    (this.sceneInputPlugin = null),
                    (this.manager = null));
                },
                time: {
                  get: function () {
                    return this.sceneInputPlugin.manager.time;
                  },
                },
              });
            (s.register(
              "KeyboardPlugin",
              v,
              "keyboard",
              "keyboard",
              "inputKeyboard",
            ),
              (d.exports = v));
          },
          60258: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return (
                (A.timeLastMatched = t.timeStamp),
                A.index++,
                A.index === A.size
                  ? !0
                  : ((A.current = A.keyCodes[A.index]), !1)
              );
            };
            d.exports = y;
          },
          95625: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(94030),
              a = t(72632),
              r = t(2544),
              n = t(88754),
              e = new A({
                initialize: function (u, i, o) {
                  if ((o === void 0 && (o = {}), i.length < 2)) return !1;
                  ((this.manager = u),
                    (this.enabled = !0),
                    (this.keyCodes = []));
                  for (var h = 0; h < i.length; h++) {
                    var l = i[h];
                    typeof l == "string"
                      ? this.keyCodes.push(l.toUpperCase().charCodeAt(0))
                      : typeof l == "number"
                        ? this.keyCodes.push(l)
                        : l.hasOwnProperty("keyCode") &&
                          this.keyCodes.push(l.keyCode);
                  }
                  ((this.current = this.keyCodes[0]),
                    (this.index = 0),
                    (this.size = this.keyCodes.length),
                    (this.timeLastMatched = 0),
                    (this.matched = !1),
                    (this.timeMatched = 0),
                    (this.resetOnWrongKey = a(o, "resetOnWrongKey", !0)),
                    (this.maxKeyDelay = a(o, "maxKeyDelay", 0)),
                    (this.resetOnMatch = a(o, "resetOnMatch", !1)),
                    (this.deleteOnMatch = a(o, "deleteOnMatch", !1)));
                  var f = _____WB$wombat$check$this$function_____(this),
                    v = function (m) {
                      if (!(f.matched || !f.enabled)) {
                        var x = r(m, f);
                        x &&
                          (f.manager.emit(c.COMBO_MATCH, f, m),
                          f.resetOnMatch
                            ? n(f)
                            : f.deleteOnMatch && f.destroy());
                      }
                    };
                  ((this.onKeyDown = v),
                    this.manager.on(c.ANY_KEY_DOWN, this.onKeyDown));
                },
                progress: {
                  get: function () {
                    return this.index / this.size;
                  },
                },
                destroy: function () {
                  ((this.enabled = !1),
                    (this.keyCodes = []),
                    this.manager.off(c.ANY_KEY_DOWN, this.onKeyDown),
                    (this.manager = null));
                },
              });
            d.exports = e;
          },
          2544: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(60258),
              c = function (a, r) {
                if (r.matched) return !0;
                var n = !1,
                  e = !1;
                if (a.keyCode === r.current)
                  if (r.index > 0 && r.maxKeyDelay > 0) {
                    var s = r.timeLastMatched + r.maxKeyDelay;
                    a.timeStamp <= s && ((e = !0), (n = A(a, r)));
                  } else ((e = !0), (n = A(a, r)));
                return (
                  !e &&
                    r.resetOnWrongKey &&
                    ((r.index = 0), (r.current = r.keyCodes[0])),
                  n &&
                    ((r.timeLastMatched = a.timeStamp),
                    (r.matched = !0),
                    (r.timeMatched = a.timeStamp)),
                  n
                );
              };
            d.exports = c;
          },
          88754: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return (
                (t.current = t.keyCodes[0]),
                (t.index = 0),
                (t.timeLastMatched = 0),
                (t.matched = !1),
                (t.timeMatched = 0),
                t
              );
            };
            d.exports = y;
          },
          5044: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "keydown";
          },
          40813: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "keyup";
          },
          89319: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "keycombomatch";
          },
          43267: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "down";
          },
          78595: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "keydown-";
          },
          30056: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "keyup-";
          },
          81939: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "up";
          },
          94030: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              ANY_KEY_DOWN: t(5044),
              ANY_KEY_UP: t(40813),
              COMBO_MATCH: t(89319),
              DOWN: t(43267),
              KEY_DOWN: t(78595),
              KEY_UP: t(30056),
              UP: t(81939),
            };
          },
          28388: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              Events: t(94030),
              KeyboardManager: t(71064),
              KeyboardPlugin: t(89666),
              Key: t(50165),
              KeyCodes: t(11873),
              KeyCombo: t(95625),
              AdvanceKeyCombo: t(60258),
              ProcessKeyCombo: t(2544),
              ResetKeyCombo: t(88754),
              JustDown: t(42460),
              JustUp: t(53162),
              DownDuration: t(64964),
              UpDuration: t(70331),
            };
          },
          64964: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              A === void 0 && (A = 50);
              var c = t.plugin.game.loop.time - t.timeDown;
              return t.isDown && c < A;
            };
            d.exports = y;
          },
          42460: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return t._justDown ? ((t._justDown = !1), !0) : !1;
            };
            d.exports = y;
          },
          53162: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return t._justUp ? ((t._justUp = !1), !0) : !1;
            };
            d.exports = y;
          },
          50165: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(6659),
              a = t(94030),
              r = new A({
                Extends: c,
                initialize: function (e, s) {
                  (c.call(this),
                    (this.plugin = e),
                    (this.keyCode = s),
                    (this.originalEvent = void 0),
                    (this.enabled = !0),
                    (this.isDown = !1),
                    (this.isUp = !0),
                    (this.altKey = !1),
                    (this.ctrlKey = !1),
                    (this.shiftKey = !1),
                    (this.metaKey = !1),
                    (_____WB$wombat$check$this$function_____(this).location =
                      0),
                    (this.timeDown = 0),
                    (this.duration = 0),
                    (this.timeUp = 0),
                    (this.emitOnRepeat = !1),
                    (this.repeats = 0),
                    (this._justDown = !1),
                    (this._justUp = !1),
                    (this._tick = -1));
                },
                setEmitOnRepeat: function (n) {
                  return (
                    (this.emitOnRepeat = n),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                onDown: function (n) {
                  ((this.originalEvent = n),
                    this.enabled &&
                      ((this.altKey = n.altKey),
                      (this.ctrlKey = n.ctrlKey),
                      (this.shiftKey = n.shiftKey),
                      (this.metaKey = n.metaKey),
                      (_____WB$wombat$check$this$function_____(this).location =
                        n.location),
                      this.repeats++,
                      this.isDown
                        ? this.emitOnRepeat &&
                          this.emit(
                            a.DOWN,
                            _____WB$wombat$check$this$function_____(this),
                            n,
                          )
                        : ((this.isDown = !0),
                          (this.isUp = !1),
                          (this.timeDown = n.timeStamp),
                          (this.duration = 0),
                          (this._justDown = !0),
                          (this._justUp = !1),
                          this.emit(
                            a.DOWN,
                            _____WB$wombat$check$this$function_____(this),
                            n,
                          ))));
                },
                onUp: function (n) {
                  ((this.originalEvent = n),
                    this.enabled &&
                      ((this.isDown = !1),
                      (this.isUp = !0),
                      (this.timeUp = n.timeStamp),
                      (this.duration = this.timeUp - this.timeDown),
                      (this.repeats = 0),
                      (this._justDown = !1),
                      (this._justUp = !0),
                      (this._tick = -1),
                      this.emit(
                        a.UP,
                        _____WB$wombat$check$this$function_____(this),
                        n,
                      )));
                },
                reset: function () {
                  return (
                    (this.isDown = !1),
                    (this.isUp = !0),
                    (this.altKey = !1),
                    (this.ctrlKey = !1),
                    (this.shiftKey = !1),
                    (this.metaKey = !1),
                    (this.timeDown = 0),
                    (this.duration = 0),
                    (this.timeUp = 0),
                    (this.repeats = 0),
                    (this._justDown = !1),
                    (this._justUp = !1),
                    (this._tick = -1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getDuration: function () {
                  return this.isDown
                    ? this.plugin.game.loop.time - this.timeDown
                    : 0;
                },
                destroy: function () {
                  (this.removeAllListeners(),
                    (this.originalEvent = null),
                    (this.plugin = null));
                },
              });
            d.exports = r;
          },
          11873: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              BACKSPACE: 8,
              TAB: 9,
              ENTER: 13,
              SHIFT: 16,
              CTRL: 17,
              ALT: 18,
              PAUSE: 19,
              CAPS_LOCK: 20,
              ESC: 27,
              SPACE: 32,
              PAGE_UP: 33,
              PAGE_DOWN: 34,
              END: 35,
              HOME: 36,
              LEFT: 37,
              UP: 38,
              RIGHT: 39,
              DOWN: 40,
              PRINT_SCREEN: 42,
              INSERT: 45,
              DELETE: 46,
              ZERO: 48,
              ONE: 49,
              TWO: 50,
              THREE: 51,
              FOUR: 52,
              FIVE: 53,
              SIX: 54,
              SEVEN: 55,
              EIGHT: 56,
              NINE: 57,
              NUMPAD_ZERO: 96,
              NUMPAD_ONE: 97,
              NUMPAD_TWO: 98,
              NUMPAD_THREE: 99,
              NUMPAD_FOUR: 100,
              NUMPAD_FIVE: 101,
              NUMPAD_SIX: 102,
              NUMPAD_SEVEN: 103,
              NUMPAD_EIGHT: 104,
              NUMPAD_NINE: 105,
              NUMPAD_ADD: 107,
              NUMPAD_SUBTRACT: 109,
              A: 65,
              B: 66,
              C: 67,
              D: 68,
              E: 69,
              F: 70,
              G: 71,
              H: 72,
              I: 73,
              J: 74,
              K: 75,
              L: 76,
              M: 77,
              N: 78,
              O: 79,
              P: 80,
              Q: 81,
              R: 82,
              S: 83,
              T: 84,
              U: 85,
              V: 86,
              W: 87,
              X: 88,
              Y: 89,
              Z: 90,
              F1: 112,
              F2: 113,
              F3: 114,
              F4: 115,
              F5: 116,
              F6: 117,
              F7: 118,
              F8: 119,
              F9: 120,
              F10: 121,
              F11: 122,
              F12: 123,
              SEMICOLON: 186,
              PLUS: 187,
              COMMA: 188,
              MINUS: 189,
              PERIOD: 190,
              FORWARD_SLASH: 191,
              BACK_SLASH: 220,
              QUOTES: 222,
              BACKTICK: 192,
              OPEN_BRACKET: 219,
              CLOSED_BRACKET: 221,
              SEMICOLON_FIREFOX: 59,
              COLON: 58,
              COMMA_FIREFOX_WINDOWS: 60,
              COMMA_FIREFOX: 62,
              BRACKET_RIGHT_FIREFOX: 174,
              BRACKET_LEFT_FIREFOX: 175,
            };
            d.exports = y;
          },
          48044: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(11873),
              c = {};
            for (var a in A) c[A[a]] = a;
            d.exports = c;
          },
          70331: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              A === void 0 && (A = 50);
              var c = t.plugin.game.loop.time - t.timeUp;
              return t.isUp && c < A;
            };
            d.exports = y;
          },
          7905: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(90185),
              a = t(33963),
              r = t(72283),
              n = new A({
                initialize: function (s) {
                  ((this.manager = s),
                    (this.preventDefaultDown = !0),
                    (this.preventDefaultUp = !0),
                    (this.preventDefaultMove = !0),
                    (this.preventDefaultWheel = !1),
                    (this.enabled = !1),
                    this.target,
                    (this.locked = !1),
                    (this.onMouseMove = r),
                    (this.onMouseDown = r),
                    (this.onMouseUp = r),
                    (this.onMouseDownWindow = r),
                    (this.onMouseUpWindow = r),
                    (this.onMouseOver = r),
                    (this.onMouseOut = r),
                    (this.onMouseWheel = r),
                    (this.pointerLockChange = r),
                    (this.isTop = !0),
                    s.events.once(
                      a.MANAGER_BOOT,
                      this.boot,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                boot: function () {
                  var e = this.manager.config;
                  ((this.enabled = e.inputMouse),
                    (this.target = e.inputMouseEventTarget),
                    (this.passive = e.inputMousePassive),
                    (this.preventDefaultDown = e.inputMousePreventDefaultDown),
                    (this.preventDefaultUp = e.inputMousePreventDefaultUp),
                    (this.preventDefaultMove = e.inputMousePreventDefaultMove),
                    (this.preventDefaultWheel =
                      e.inputMousePreventDefaultWheel),
                    this.target
                      ? typeof this.target == "string" &&
                        (this.target = document.getElementById(this.target))
                      : (this.target = this.manager.game.canvas),
                    e.disableContextMenu && this.disableContextMenu(),
                    this.enabled && this.target && this.startListeners());
                },
                disableContextMenu: function () {
                  return (
                    this.target.addEventListener("contextmenu", function (e) {
                      return (e.preventDefault(), !1);
                    }),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                requestPointerLock: function () {
                  if (c.pointerLock) {
                    var e = this.target;
                    ((e.requestPointerLock =
                      e.requestPointerLock ||
                      e.mozRequestPointerLock ||
                      e.webkitRequestPointerLock),
                      e.requestPointerLock());
                  }
                },
                releasePointerLock: function () {
                  c.pointerLock &&
                    ((document.exitPointerLock =
                      document.exitPointerLock ||
                      document.mozExitPointerLock ||
                      document.webkitExitPointerLock),
                    document.exitPointerLock());
                },
                startListeners: function () {
                  var e = this.target;
                  if (e) {
                    var s = _____WB$wombat$check$this$function_____(this),
                      u = this.manager,
                      i = u.canvas,
                      o = window && window.focus && u.game.config.autoFocus;
                    ((this.onMouseMove = function (l) {
                      !l.defaultPrevented &&
                        s.enabled &&
                        u &&
                        u.enabled &&
                        (u.onMouseMove(l),
                        s.preventDefaultMove && l.preventDefault());
                    }),
                      (this.onMouseDown = function (l) {
                        (o && window.focus(),
                          !l.defaultPrevented &&
                            s.enabled &&
                            u &&
                            u.enabled &&
                            (u.onMouseDown(l),
                            s.preventDefaultDown &&
                              l.target === i &&
                              l.preventDefault()));
                      }),
                      (this.onMouseDownWindow = function (l) {
                        !l.defaultPrevented &&
                          s.enabled &&
                          u &&
                          u.enabled &&
                          l.target !== i &&
                          u.onMouseDown(l);
                      }),
                      (this.onMouseUp = function (l) {
                        !l.defaultPrevented &&
                          s.enabled &&
                          u &&
                          u.enabled &&
                          (u.onMouseUp(l),
                          s.preventDefaultUp &&
                            l.target === i &&
                            l.preventDefault());
                      }),
                      (this.onMouseUpWindow = function (l) {
                        !l.defaultPrevented &&
                          s.enabled &&
                          u &&
                          u.enabled &&
                          l.target !== i &&
                          u.onMouseUp(l);
                      }),
                      (this.onMouseOver = function (l) {
                        !l.defaultPrevented &&
                          s.enabled &&
                          u &&
                          u.enabled &&
                          u.setCanvasOver(l);
                      }),
                      (this.onMouseOut = function (l) {
                        !l.defaultPrevented &&
                          s.enabled &&
                          u &&
                          u.enabled &&
                          u.setCanvasOut(l);
                      }),
                      (this.onMouseWheel = function (l) {
                        (!l.defaultPrevented &&
                          s.enabled &&
                          u &&
                          u.enabled &&
                          u.onMouseWheel(l),
                          s.preventDefaultWheel &&
                            l.target === i &&
                            l.preventDefault());
                      }));
                    var h = { passive: !0 };
                    if (
                      (e.addEventListener("mousemove", this.onMouseMove),
                      e.addEventListener("mousedown", this.onMouseDown),
                      e.addEventListener("mouseup", this.onMouseUp),
                      e.addEventListener("mouseover", this.onMouseOver, h),
                      e.addEventListener("mouseout", this.onMouseOut, h),
                      this.preventDefaultWheel
                        ? e.addEventListener("wheel", this.onMouseWheel, {
                            passive: !1,
                          })
                        : e.addEventListener("wheel", this.onMouseWheel, h),
                      window && u.game.config.inputWindowEvents)
                    )
                      try {
                        (window.top.addEventListener(
                          "mousedown",
                          this.onMouseDownWindow,
                          h,
                        ),
                          window.top.addEventListener(
                            "mouseup",
                            this.onMouseUpWindow,
                            h,
                          ));
                      } catch {
                        (window.addEventListener(
                          "mousedown",
                          this.onMouseDownWindow,
                          h,
                        ),
                          window.addEventListener(
                            "mouseup",
                            this.onMouseUpWindow,
                            h,
                          ),
                          (this.isTop = !1));
                      }
                    (c.pointerLock &&
                      ((this.pointerLockChange = function (l) {
                        var f = s.target;
                        ((s.locked =
                          document.pointerLockElement === f ||
                          document.mozPointerLockElement === f ||
                          document.webkitPointerLockElement === f),
                          u.onPointerLockChange(l));
                      }),
                      document.addEventListener(
                        "pointerlockchange",
                        this.pointerLockChange,
                        !0,
                      ),
                      document.addEventListener(
                        "mozpointerlockchange",
                        this.pointerLockChange,
                        !0,
                      ),
                      document.addEventListener(
                        "webkitpointerlockchange",
                        this.pointerLockChange,
                        !0,
                      )),
                      (this.enabled = !0));
                  }
                },
                stopListeners: function () {
                  var e = this.target;
                  (e.removeEventListener("mousemove", this.onMouseMove),
                    e.removeEventListener("mousedown", this.onMouseDown),
                    e.removeEventListener("mouseup", this.onMouseUp),
                    e.removeEventListener("mouseover", this.onMouseOver),
                    e.removeEventListener("mouseout", this.onMouseOut),
                    window &&
                      ((e = this.isTop ? window.top : window),
                      e.removeEventListener(
                        "mousedown",
                        this.onMouseDownWindow,
                      ),
                      e.removeEventListener("mouseup", this.onMouseUpWindow)),
                    c.pointerLock &&
                      (document.removeEventListener(
                        "pointerlockchange",
                        this.pointerLockChange,
                        !0,
                      ),
                      document.removeEventListener(
                        "mozpointerlockchange",
                        this.pointerLockChange,
                        !0,
                      ),
                      document.removeEventListener(
                        "webkitpointerlockchange",
                        this.pointerLockChange,
                        !0,
                      )));
                },
                destroy: function () {
                  (this.stopListeners(),
                    (this.target = null),
                    (this.enabled = !1),
                    (this.manager = null));
                },
              });
            d.exports = n;
          },
          11343: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = { MouseManager: t(7905) };
          },
          37579: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(33963),
              a = t(72283),
              r = new A({
                initialize: function (e) {
                  ((this.manager = e),
                    (this.capture = !0),
                    (this.enabled = !1),
                    this.target,
                    (this.onTouchStart = a),
                    (this.onTouchStartWindow = a),
                    (this.onTouchMove = a),
                    (this.onTouchEnd = a),
                    (this.onTouchEndWindow = a),
                    (this.onTouchCancel = a),
                    (this.onTouchCancelWindow = a),
                    (this.isTop = !0),
                    e.events.once(
                      c.MANAGER_BOOT,
                      this.boot,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                boot: function () {
                  var n = this.manager.config;
                  ((this.enabled = n.inputTouch),
                    (this.target = n.inputTouchEventTarget),
                    (this.capture = n.inputTouchCapture),
                    this.target
                      ? typeof this.target == "string" &&
                        (this.target = document.getElementById(this.target))
                      : (this.target = this.manager.game.canvas),
                    n.disableContextMenu && this.disableContextMenu(),
                    this.enabled && this.target && this.startListeners());
                },
                disableContextMenu: function () {
                  return (
                    this.target.addEventListener("contextmenu", function (n) {
                      return (n.preventDefault(), !1);
                    }),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                startListeners: function () {
                  var n = this.target;
                  if (n) {
                    var e = _____WB$wombat$check$this$function_____(this),
                      s = this.manager,
                      u = s.canvas,
                      i = window && window.focus && s.game.config.autoFocus;
                    ((this.onTouchMove = function (f) {
                      !f.defaultPrevented &&
                        e.enabled &&
                        s &&
                        s.enabled &&
                        (s.onTouchMove(f),
                        e.capture && f.cancelable && f.preventDefault());
                    }),
                      (this.onTouchStart = function (f) {
                        (i && window.focus(),
                          !f.defaultPrevented &&
                            e.enabled &&
                            s &&
                            s.enabled &&
                            (s.onTouchStart(f),
                            e.capture &&
                              f.cancelable &&
                              f.target === u &&
                              f.preventDefault()));
                      }),
                      (this.onTouchStartWindow = function (f) {
                        !f.defaultPrevented &&
                          e.enabled &&
                          s &&
                          s.enabled &&
                          f.target !== u &&
                          s.onTouchStart(f);
                      }),
                      (this.onTouchEnd = function (f) {
                        !f.defaultPrevented &&
                          e.enabled &&
                          s &&
                          s.enabled &&
                          (s.onTouchEnd(f),
                          e.capture &&
                            f.cancelable &&
                            f.target === u &&
                            f.preventDefault());
                      }),
                      (this.onTouchEndWindow = function (f) {
                        !f.defaultPrevented &&
                          e.enabled &&
                          s &&
                          s.enabled &&
                          f.target !== u &&
                          s.onTouchEnd(f);
                      }),
                      (this.onTouchCancel = function (f) {
                        !f.defaultPrevented &&
                          e.enabled &&
                          s &&
                          s.enabled &&
                          (s.onTouchCancel(f), e.capture && f.preventDefault());
                      }),
                      (this.onTouchCancelWindow = function (f) {
                        !f.defaultPrevented &&
                          e.enabled &&
                          s &&
                          s.enabled &&
                          s.onTouchCancel(f);
                      }));
                    var o = this.capture,
                      h = { passive: !0 },
                      l = { passive: !1 };
                    if (
                      (n.addEventListener(
                        "touchstart",
                        this.onTouchStart,
                        o ? l : h,
                      ),
                      n.addEventListener(
                        "touchmove",
                        this.onTouchMove,
                        o ? l : h,
                      ),
                      n.addEventListener(
                        "touchend",
                        this.onTouchEnd,
                        o ? l : h,
                      ),
                      n.addEventListener(
                        "touchcancel",
                        this.onTouchCancel,
                        o ? l : h,
                      ),
                      window && s.game.config.inputWindowEvents)
                    )
                      try {
                        (window.top.addEventListener(
                          "touchstart",
                          this.onTouchStartWindow,
                          l,
                        ),
                          window.top.addEventListener(
                            "touchend",
                            this.onTouchEndWindow,
                            l,
                          ),
                          window.top.addEventListener(
                            "touchcancel",
                            this.onTouchCancelWindow,
                            l,
                          ));
                      } catch {
                        (window.addEventListener(
                          "touchstart",
                          this.onTouchStartWindow,
                          l,
                        ),
                          window.addEventListener(
                            "touchend",
                            this.onTouchEndWindow,
                            l,
                          ),
                          window.addEventListener(
                            "touchcancel",
                            this.onTouchCancelWindow,
                            l,
                          ),
                          (this.isTop = !1));
                      }
                    this.enabled = !0;
                  }
                },
                stopListeners: function () {
                  var n = this.target;
                  (n.removeEventListener("touchstart", this.onTouchStart),
                    n.removeEventListener("touchmove", this.onTouchMove),
                    n.removeEventListener("touchend", this.onTouchEnd),
                    n.removeEventListener("touchcancel", this.onTouchCancel),
                    window &&
                      ((n = this.isTop ? window.top : window),
                      n.removeEventListener(
                        "touchstart",
                        this.onTouchStartWindow,
                      ),
                      n.removeEventListener("touchend", this.onTouchEndWindow),
                      n.removeEventListener(
                        "touchcancel",
                        this.onTouchCancelWindow,
                      )));
                },
                destroy: function () {
                  (this.stopListeners(),
                    (this.target = null),
                    (this.enabled = !1),
                    (this.manager = null));
                },
              });
            d.exports = r;
          },
          77423: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = { TouchManager: t(37579) };
          },
          98035: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(12117),
              a = t(683),
              r = t(72632),
              n = t(30750),
              e = t(43531),
              s = t(88490),
              u = t(33868),
              i = new A({
                initialize: function (h, l) {
                  if (
                    ((this.loader = h),
                    (this.cache = r(l, "cache", !1)),
                    (this.type = r(l, "type", !1)),
                    !this.type)
                  )
                    throw new Error("Invalid File type: " + this.type);
                  this.key = r(l, "key", !1);
                  var f = this.key;
                  if (
                    (h.prefix && h.prefix !== "" && (this.key = h.prefix + f),
                    !this.key)
                  )
                    throw new Error("Invalid File key: " + this.key);
                  var v = r(l, "url");
                  (v === void 0
                    ? (v = h.path + f + "." + r(l, "extension", ""))
                    : typeof v == "string" &&
                      !v.match(
                        /^(?:blob:|data:|capacitor:\/\/|http:\/\/|https:\/\/|\/\/)/,
                      ) &&
                      (v = h.path + v),
                    (this.url = v),
                    (this.src = ""),
                    (this.xhrSettings = u(r(l, "responseType", void 0))),
                    r(l, "xhrSettings", !1) &&
                      (this.xhrSettings = e(
                        this.xhrSettings,
                        r(l, "xhrSettings", {}),
                      )),
                    (this.xhrLoader = null),
                    (this.state =
                      typeof this.url == "function"
                        ? c.FILE_POPULATED
                        : c.FILE_PENDING),
                    (this.bytesTotal = 0),
                    (this.bytesLoaded = -1),
                    (this.percentComplete = -1),
                    (this.crossOrigin = void 0),
                    (this.data = void 0),
                    (this.config = r(l, "config", {})),
                    this.multiFile,
                    this.linkFile);
                },
                setLink: function (o) {
                  ((this.linkFile = o),
                    (o.linkFile =
                      _____WB$wombat$check$this$function_____(this)));
                },
                resetXHR: function () {
                  this.xhrLoader &&
                    ((this.xhrLoader.onload = void 0),
                    (this.xhrLoader.onerror = void 0),
                    (this.xhrLoader.onprogress = void 0));
                },
                load: function () {
                  this.state === c.FILE_POPULATED
                    ? this.loader.nextFile(this, !0)
                    : ((this.state = c.FILE_LOADING),
                      (this.src = n(this, this.loader.baseURL)),
                      this.src.indexOf("data:") === 0
                        ? console.warn(
                            "Local data URIs are not supported: " + this.key,
                          )
                        : (this.xhrLoader = s(this, this.loader.xhr)));
                },
                onLoad: function (o, h) {
                  var l =
                      o.responseURL &&
                      this.loader.localSchemes.some(function (m) {
                        return o.responseURL.indexOf(m) === 0;
                      }),
                    f = l && h.target.status === 0,
                    v = !(h.target && h.target.status !== 200) || f;
                  (o.readyState === 4 &&
                    o.status >= 400 &&
                    o.status <= 599 &&
                    (v = !1),
                    (this.state = c.FILE_LOADED),
                    this.resetXHR(),
                    this.loader.nextFile(this, v));
                },
                onError: function () {
                  (this.resetXHR(), this.loader.nextFile(this, !1));
                },
                onProgress: function (o) {
                  o.lengthComputable &&
                    ((this.bytesLoaded = o.loaded),
                    (this.bytesTotal = o.total),
                    (this.percentComplete = Math.min(
                      this.bytesLoaded / this.bytesTotal,
                      1,
                    )),
                    this.loader.emit(
                      a.FILE_PROGRESS,
                      _____WB$wombat$check$this$function_____(this),
                      this.percentComplete,
                    ));
                },
                onProcess: function () {
                  ((this.state = c.FILE_PROCESSING), this.onProcessComplete());
                },
                onProcessComplete: function () {
                  ((this.state = c.FILE_COMPLETE),
                    this.multiFile && this.multiFile.onFileComplete(this),
                    this.loader.fileProcessComplete(this));
                },
                onProcessError: function () {
                  (console.error(
                    'Failed to process file: %s "%s"',
                    this.type,
                    this.key,
                  ),
                    (this.state = c.FILE_ERRORED),
                    this.multiFile && this.multiFile.onFileFailed(this),
                    this.loader.fileProcessComplete(this));
                },
                hasCacheConflict: function () {
                  return this.cache && this.cache.exists(this.key);
                },
                addToCache: function () {
                  this.cache &&
                    this.data &&
                    this.cache.add(this.key, this.data);
                },
                pendingDestroy: function (o) {
                  if (this.state !== c.FILE_PENDING_DESTROY) {
                    o === void 0 && (o = this.data);
                    var h = this.key,
                      l = this.type;
                    (this.loader.emit(a.FILE_COMPLETE, h, l, o),
                      this.loader.emit(
                        a.FILE_KEY_COMPLETE + l + "-" + h,
                        h,
                        l,
                        o,
                      ),
                      this.loader.flagForRemoval(this),
                      (this.state = c.FILE_PENDING_DESTROY));
                  }
                },
                destroy: function () {
                  ((this.loader = null),
                    (this.cache = null),
                    (this.xhrSettings = null),
                    (this.multiFile = null),
                    (this.linkFile = null),
                    (this.data = null));
                },
              });
            ((i.createObjectURL = function (o, h, l) {
              if (typeof URL == "function") o.src = URL.createObjectURL(h);
              else {
                var f = new FileReader();
                ((f.onload = function () {
                  (o.removeAttribute("crossOrigin"),
                    (o.src =
                      "data:" +
                      (h.type || l) +
                      ";base64," +
                      f.result.split(",")[1]));
                }),
                  (f.onerror = o.onerror),
                  f.readAsDataURL(h));
              }
            }),
              (i.revokeObjectURL = function (o) {
                typeof URL == "function" && URL.revokeObjectURL(o.src);
              }),
              (d.exports = i));
          },
          76846: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {},
              t = {
                install: function (A) {
                  for (var c in y) A[c] = y[c];
                },
                register: function (A, c) {
                  y[A] = c;
                },
                destroy: function () {
                  y = {};
                },
              };
            d.exports = t;
          },
          30750: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return t.url
                ? t.url.match(
                    /^(?:blob:|data:|capacitor:\/\/|http:\/\/|https:\/\/|\/\/)/,
                  )
                  ? t.url
                  : A + t.url
                : !1;
            };
            d.exports = y;
          },
          67285: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(12117),
              a = t(58403),
              r = t(6659),
              n = t(683),
              e = t(76846),
              s = t(72632),
              u = t(10850),
              i = t(91963),
              o = t(7599),
              h = t(33868),
              l = new A({
                Extends: r,
                initialize: function (v) {
                  r.call(this);
                  var m = v.sys.game.config,
                    x = v.sys.settings.loader;
                  ((this.scene = v),
                    (this.systems = v.sys),
                    (this.cacheManager = v.sys.cache),
                    (this.textureManager = v.sys.textures),
                    (this.sceneManager = v.sys.game.scene),
                    e.install(this),
                    (this.prefix = ""),
                    (this.path = ""),
                    (this.baseURL = ""),
                    this.setBaseURL(s(x, "baseURL", m.loaderBaseURL)),
                    this.setPath(s(x, "path", m.loaderPath)),
                    this.setPrefix(s(x, "prefix", m.loaderPrefix)),
                    (this.maxParallelDownloads = s(
                      x,
                      "maxParallelDownloads",
                      m.loaderMaxParallelDownloads,
                    )),
                    (this.xhr = h(
                      s(x, "responseType", m.loaderResponseType),
                      s(x, "async", m.loaderAsync),
                      s(x, "user", m.loaderUser),
                      s(x, "password", m.loaderPassword),
                      s(x, "timeout", m.loaderTimeout),
                      s(x, "withCredentials", m.loaderWithCredentials),
                    )),
                    (this.crossOrigin = s(
                      x,
                      "crossOrigin",
                      m.loaderCrossOrigin,
                    )),
                    (this.imageLoadType = s(
                      x,
                      "imageLoadType",
                      m.loaderImageLoadType,
                    )),
                    (this.localSchemes = s(
                      x,
                      "localScheme",
                      m.loaderLocalScheme,
                    )),
                    (this.totalToLoad = 0),
                    (this.progress = 0),
                    (this.list = new a()),
                    (this.inflight = new a()),
                    (this.queue = new a()),
                    (this._deleteQueue = new a()),
                    (this.totalFailed = 0),
                    (this.totalComplete = 0),
                    (this.state = c.LOADER_IDLE),
                    (this.multiKeyIndex = 0),
                    v.sys.events.once(
                      o.BOOT,
                      this.boot,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    v.sys.events.on(
                      o.START,
                      this.pluginStart,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                boot: function () {
                  this.systems.events.once(
                    o.DESTROY,
                    this.destroy,
                    _____WB$wombat$check$this$function_____(this),
                  );
                },
                pluginStart: function () {
                  this.systems.events.once(
                    o.SHUTDOWN,
                    this.shutdown,
                    _____WB$wombat$check$this$function_____(this),
                  );
                },
                setBaseURL: function (f) {
                  return (
                    f === void 0 && (f = ""),
                    f !== "" && f.substr(-1) !== "/" && (f = f.concat("/")),
                    (this.baseURL = f),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setPath: function (f) {
                  return (
                    f === void 0 && (f = ""),
                    f !== "" && f.substr(-1) !== "/" && (f = f.concat("/")),
                    (this.path = f),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setPrefix: function (f) {
                  return (
                    f === void 0 && (f = ""),
                    (this.prefix = f),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setCORS: function (f) {
                  return (
                    (this.crossOrigin = f),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                addFile: function (f) {
                  Array.isArray(f) || (f = [f]);
                  for (var v = 0; v < f.length; v++) {
                    var m = f[v];
                    this.keyExists(m) ||
                      (this.list.set(m),
                      this.emit(
                        n.ADD,
                        m.key,
                        m.type,
                        _____WB$wombat$check$this$function_____(this),
                        m,
                      ),
                      this.isLoading() &&
                        (this.totalToLoad++, this.updateProgress()));
                  }
                },
                keyExists: function (f) {
                  var v = f.hasCacheConflict();
                  return (
                    v ||
                      this.list.iterate(function (m) {
                        if (m.type === f.type && m.key === f.key)
                          return ((v = !0), !1);
                      }),
                    !v &&
                      this.isLoading() &&
                      (this.inflight.iterate(function (m) {
                        if (m.type === f.type && m.key === f.key)
                          return ((v = !0), !1);
                      }),
                      this.queue.iterate(function (m) {
                        if (m.type === f.type && m.key === f.key)
                          return ((v = !0), !1);
                      })),
                    v
                  );
                },
                addPack: function (f, v) {
                  if (typeof v == "string") {
                    var m = u(f, v);
                    m && (f = { packKey: m });
                  }
                  var x = 0,
                    g = this.baseURL,
                    C = this.path,
                    T = this.prefix;
                  for (var F in f)
                    if (Object.prototype.hasOwnProperty.call(f, F)) {
                      var w = f[F],
                        U = s(w, "baseURL", g),
                        M = s(w, "path", C),
                        I = s(w, "prefix", T),
                        O = s(w, "files", null),
                        D = s(w, "defaultType", "void");
                      if (Array.isArray(O)) {
                        (this.setBaseURL(U),
                          this.setPath(M),
                          this.setPrefix(I));
                        for (var G = 0; G < O.length; G++) {
                          var X = O[G],
                            z = X.hasOwnProperty("type") ? X.type : D;
                          this[z] && (this[z](X), x++);
                        }
                      }
                    }
                  return (
                    this.setBaseURL(g),
                    this.setPath(C),
                    this.setPrefix(T),
                    x > 0
                  );
                },
                isLoading: function () {
                  return (
                    this.state === c.LOADER_LOADING ||
                    this.state === c.LOADER_PROCESSING
                  );
                },
                isReady: function () {
                  return (
                    this.state === c.LOADER_IDLE ||
                    this.state === c.LOADER_COMPLETE
                  );
                },
                start: function () {
                  this.isReady() &&
                    ((this.progress = 0),
                    (this.totalFailed = 0),
                    (this.totalComplete = 0),
                    (this.totalToLoad = this.list.size),
                    this.emit(
                      n.START,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    this.list.size === 0
                      ? this.loadComplete()
                      : ((this.state = c.LOADER_LOADING),
                        this.inflight.clear(),
                        this.queue.clear(),
                        this.updateProgress(),
                        this.checkLoadQueue(),
                        this.systems.events.on(
                          o.UPDATE,
                          this.update,
                          _____WB$wombat$check$this$function_____(this),
                        )));
                },
                updateProgress: function () {
                  ((this.progress =
                    1 -
                    (this.list.size + this.inflight.size) / this.totalToLoad),
                    this.emit(n.PROGRESS, this.progress));
                },
                update: function () {
                  this.state === c.LOADER_LOADING &&
                    this.list.size > 0 &&
                    this.inflight.size < this.maxParallelDownloads &&
                    this.checkLoadQueue();
                },
                checkLoadQueue: function () {
                  this.list.each(function (f) {
                    if (
                      ((f.state === c.FILE_POPULATED ||
                        (f.state === c.FILE_PENDING &&
                          this.inflight.size < this.maxParallelDownloads)) &&
                        (this.inflight.set(f),
                        this.list.delete(f),
                        f.crossOrigin || (f.crossOrigin = this.crossOrigin),
                        f.load()),
                      this.inflight.size === this.maxParallelDownloads)
                    )
                      return !1;
                  }, _____WB$wombat$check$this$function_____(this));
                },
                nextFile: function (f, v) {
                  this.inflight &&
                    (this.inflight.delete(f),
                    this.updateProgress(),
                    v
                      ? (this.totalComplete++,
                        this.queue.set(f),
                        this.emit(n.FILE_LOAD, f),
                        f.onProcess())
                      : (this.totalFailed++,
                        this._deleteQueue.set(f),
                        this.emit(n.FILE_LOAD_ERROR, f),
                        this.fileProcessComplete(f)));
                },
                fileProcessComplete: function (f) {
                  !this.scene ||
                    !this.systems ||
                    !this.systems.game ||
                    this.systems.game.pendingDestroy ||
                    (f.state === c.FILE_ERRORED
                      ? f.multiFile && f.multiFile.onFileFailed(f)
                      : f.state === c.FILE_COMPLETE &&
                        (f.multiFile
                          ? f.multiFile.isReadyToProcess() &&
                            (f.multiFile.addToCache(),
                            f.multiFile.pendingDestroy())
                          : (f.addToCache(), f.pendingDestroy())),
                    this.queue.delete(f),
                    this.list.size === 0 &&
                      this.inflight.size === 0 &&
                      this.queue.size === 0 &&
                      this.loadComplete());
                },
                loadComplete: function () {
                  (this.emit(
                    n.POST_PROCESS,
                    _____WB$wombat$check$this$function_____(this),
                  ),
                    this.list.clear(),
                    this.inflight.clear(),
                    this.queue.clear(),
                    (this.progress = 1),
                    (this.state = c.LOADER_COMPLETE),
                    this.systems.events.off(
                      o.UPDATE,
                      this.update,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    this._deleteQueue.iterateLocal("destroy"),
                    this._deleteQueue.clear(),
                    this.emit(
                      n.COMPLETE,
                      _____WB$wombat$check$this$function_____(this),
                      this.totalComplete,
                      this.totalFailed,
                    ));
                },
                flagForRemoval: function (f) {
                  this._deleteQueue.set(f);
                },
                saveJSON: function (f, v) {
                  return this.save(JSON.stringify(f), v);
                },
                save: function (f, v, m) {
                  (v === void 0 && (v = "file.json"),
                    m === void 0 && (m = "application/json"));
                  var x = new Blob([f], { type: m }),
                    g = URL.createObjectURL(x),
                    C = document.createElement("a");
                  return (
                    (C.download = v),
                    (C.textContent = "Download " + v),
                    (C.href = g),
                    C.click(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                reset: function () {
                  (this.list.clear(),
                    this.inflight.clear(),
                    this.queue.clear());
                  var f = this.systems.game.config,
                    v = this.systems.settings.loader;
                  (this.setBaseURL(s(v, "baseURL", f.loaderBaseURL)),
                    this.setPath(s(v, "path", f.loaderPath)),
                    this.setPrefix(s(v, "prefix", f.loaderPrefix)),
                    (this.state = c.LOADER_IDLE));
                },
                shutdown: function () {
                  (this.reset(),
                    (this.state = c.LOADER_SHUTDOWN),
                    this.removeAllListeners(),
                    this.systems.events.off(
                      o.UPDATE,
                      this.update,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    this.systems.events.off(
                      o.SHUTDOWN,
                      this.shutdown,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                destroy: function () {
                  (this.shutdown(),
                    (this.state = c.LOADER_DESTROYED),
                    this.systems.events.off(
                      o.UPDATE,
                      this.update,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    this.systems.events.off(
                      o.START,
                      this.pluginStart,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    (this.list = null),
                    (this.inflight = null),
                    (this.queue = null),
                    (this.scene = null),
                    (this.systems = null),
                    (this.textureManager = null),
                    (this.cacheManager = null),
                    (this.sceneManager = null));
                },
              });
            (i.register("Loader", l, "load"), (d.exports = l));
          },
          43531: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(98611),
              c = t(33868),
              a = function (r, n) {
                var e = r === void 0 ? c() : A({}, r);
                if (n) for (var s in n) n[s] !== void 0 && (e[s] = n[s]);
                return e;
              };
            d.exports = a;
          },
          45176: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(12117),
              a = t(683),
              r = new A({
                initialize: function (e, s, u, i) {
                  var o = [];
                  (i.forEach(function (f) {
                    f && o.push(f);
                  }),
                    (this.loader = e),
                    (this.type = s),
                    (this.key = u));
                  var h = this.key;
                  (e.prefix && e.prefix !== "" && (this.key = e.prefix + h),
                    (this.multiKeyIndex = e.multiKeyIndex++),
                    (this.files = o),
                    (this.state = c.FILE_PENDING),
                    (this.complete = !1),
                    (this.pending = o.length),
                    (this.failed = 0),
                    (this.config = {}),
                    (this.baseURL = e.baseURL),
                    (this.path = e.path),
                    (this.prefix = e.prefix));
                  for (var l = 0; l < o.length; l++)
                    o[l].multiFile =
                      _____WB$wombat$check$this$function_____(this);
                },
                isReadyToProcess: function () {
                  return (
                    this.pending === 0 && this.failed === 0 && !this.complete
                  );
                },
                addToMultiFile: function (n) {
                  return (
                    this.files.push(n),
                    (n.multiFile =
                      _____WB$wombat$check$this$function_____(this)),
                    this.pending++,
                    (this.complete = !1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                onFileComplete: function (n) {
                  var e = this.files.indexOf(n);
                  e !== -1 && this.pending--;
                },
                onFileFailed: function (n) {
                  var e = this.files.indexOf(n);
                  e !== -1 &&
                    (this.failed++,
                    console.error(
                      'File failed: %s "%s" (via %s "%s")',
                      this.type,
                      this.key,
                      n.type,
                      n.key,
                    ));
                },
                pendingDestroy: function () {
                  if (this.state !== c.FILE_PENDING_DESTROY) {
                    var n = this.key,
                      e = this.type;
                    (this.loader.emit(a.FILE_COMPLETE, n, e),
                      this.loader.emit(a.FILE_KEY_COMPLETE + e + "-" + n, n, e),
                      this.loader.flagForRemoval(this));
                    for (var s = 0; s < this.files.length; s++)
                      this.files[s].pendingDestroy();
                    this.state = c.FILE_PENDING_DESTROY;
                  }
                },
                destroy: function () {
                  ((this.loader = null),
                    (this.files = null),
                    (this.config = null));
                },
              });
            d.exports = r;
          },
          88490: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(43531),
              c = function (a, r) {
                var n = A(r, a.xhrSettings),
                  e = new XMLHttpRequest();
                if (
                  (e.open("GET", a.src, n.async, n.user, n.password),
                  (e.responseType = a.xhrSettings.responseType),
                  (e.timeout = n.timeout),
                  n.headers)
                )
                  for (var s in n.headers) e.setRequestHeader(s, n.headers[s]);
                return (
                  n.header &&
                    n.headerValue &&
                    e.setRequestHeader(n.header, n.headerValue),
                  n.requestedWith &&
                    e.setRequestHeader("X-Requested-With", n.requestedWith),
                  n.overrideMimeType && e.overrideMimeType(n.overrideMimeType),
                  n.withCredentials && (e.withCredentials = !0),
                  (e.onload = a.onLoad.bind(a, e)),
                  (e.onerror = a.onError.bind(a, e)),
                  (e.onprogress = a.onProgress.bind(a)),
                  e.send(),
                  e
                );
              };
            d.exports = c;
          },
          33868: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a, r, n) {
              return (
                t === void 0 && (t = ""),
                A === void 0 && (A = !0),
                c === void 0 && (c = ""),
                a === void 0 && (a = ""),
                r === void 0 && (r = 0),
                n === void 0 && (n = !1),
                {
                  responseType: t,
                  async: A,
                  user: c,
                  password: a,
                  timeout: r,
                  headers: void 0,
                  header: void 0,
                  headerValue: void 0,
                  requestedWith: !1,
                  overrideMimeType: void 0,
                  withCredentials: n,
                }
              );
            };
            d.exports = y;
          },
          12117: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              LOADER_IDLE: 0,
              LOADER_LOADING: 1,
              LOADER_PROCESSING: 2,
              LOADER_COMPLETE: 3,
              LOADER_SHUTDOWN: 4,
              LOADER_DESTROYED: 5,
              FILE_PENDING: 10,
              FILE_LOADING: 11,
              FILE_LOADED: 12,
              FILE_FAILED: 13,
              FILE_PROCESSING: 14,
              FILE_ERRORED: 16,
              FILE_COMPLETE: 17,
              FILE_DESTROYED: 18,
              FILE_POPULATED: 19,
              FILE_PENDING_DESTROY: 20,
            };
            d.exports = y;
          },
          7398: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "addfile";
          },
          52187: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "complete";
          },
          36627: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "filecomplete";
          },
          81925: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "filecomplete-";
          },
          29774: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "loaderror";
          },
          20943: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "load";
          },
          74693: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "fileprogress";
          },
          71176: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "postprocess";
          },
          88984: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "progress";
          },
          72753: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "start";
          },
          683: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              ADD: t(7398),
              COMPLETE: t(52187),
              FILE_COMPLETE: t(36627),
              FILE_KEY_COMPLETE: t(81925),
              FILE_LOAD_ERROR: t(29774),
              FILE_LOAD: t(20943),
              FILE_PROGRESS: t(74693),
              POST_PROCESS: t(71176),
              PROGRESS: t(88984),
              START: t(72753),
            };
          },
          46468: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(76846),
              a = t(70806),
              r = t(683),
              n = new A({
                Extends: a,
                initialize: function (s, u, i, o, h) {
                  (a.call(this, s, u, i, o, h), (this.type = "animationJSON"));
                },
                onProcess: function () {
                  (this.loader.once(
                    r.POST_PROCESS,
                    this.onLoadComplete,
                    _____WB$wombat$check$this$function_____(this),
                  ),
                    a.prototype.onProcess.call(this));
                },
                onLoadComplete: function () {
                  this.loader.systems.anims.fromJSON(this.data);
                },
              });
            (c.register("animation", function (e, s, u, i) {
              if (Array.isArray(e))
                for (var o = 0; o < e.length; o++)
                  this.addFile(new n(this, e[o]));
              else this.addFile(new n(this, e, s, i, u));
              return _____WB$wombat$check$this$function_____(this);
            }),
              (d.exports = n));
          },
          31648: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(76846),
              a = t(72632),
              r = t(42927),
              n = t(42911),
              e = t(70806),
              s = t(45176),
              u = new A({
                Extends: s,
                initialize: function (o, h, l, f, v, m) {
                  var x, g;
                  if (n(h)) {
                    var C = h;
                    ((h = a(C, "key")),
                      (x = new r(o, {
                        key: h,
                        url: a(C, "textureURL"),
                        extension: a(C, "textureExtension", "png"),
                        normalMap: a(C, "normalMap"),
                        xhrSettings: a(C, "textureXhrSettings"),
                      })),
                      (g = new e(o, {
                        key: h,
                        url: a(C, "atlasURL"),
                        extension: a(C, "atlasExtension", "json"),
                        xhrSettings: a(C, "atlasXhrSettings"),
                      })));
                  } else ((x = new r(o, h, l, v)), (g = new e(o, h, f, m)));
                  x.linkFile
                    ? s.call(this, o, "atlasjson", h, [x, g, x.linkFile])
                    : s.call(this, o, "atlasjson", h, [x, g]);
                },
                addToCache: function () {
                  if (this.isReadyToProcess()) {
                    var i = this.files[0],
                      o = this.files[1],
                      h = this.files[2] ? this.files[2].data : null;
                    (this.loader.textureManager.addAtlas(
                      i.key,
                      i.data,
                      o.data,
                      h,
                    ),
                      o.addToCache(),
                      (this.complete = !0));
                  }
                },
              });
            (c.register("aseprite", function (i, o, h, l, f) {
              var v;
              if (Array.isArray(i))
                for (var m = 0; m < i.length; m++)
                  ((v = new u(this, i[m])), this.addFile(v.files));
              else ((v = new u(this, i, o, h, l, f)), this.addFile(v.files));
              return _____WB$wombat$check$this$function_____(this);
            }),
              (d.exports = u));
          },
          73152: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(76846),
              a = t(72632),
              r = t(42927),
              n = t(42911),
              e = t(70806),
              s = t(45176),
              u = new A({
                Extends: s,
                initialize: function (o, h, l, f, v, m) {
                  var x, g;
                  if (n(h)) {
                    var C = h;
                    ((h = a(C, "key")),
                      (x = new r(o, {
                        key: h,
                        url: a(C, "textureURL"),
                        extension: a(C, "textureExtension", "png"),
                        normalMap: a(C, "normalMap"),
                        xhrSettings: a(C, "textureXhrSettings"),
                      })),
                      (g = new e(o, {
                        key: h,
                        url: a(C, "atlasURL"),
                        extension: a(C, "atlasExtension", "json"),
                        xhrSettings: a(C, "atlasXhrSettings"),
                      })));
                  } else ((x = new r(o, h, l, v)), (g = new e(o, h, f, m)));
                  x.linkFile
                    ? s.call(this, o, "atlasjson", h, [x, g, x.linkFile])
                    : s.call(this, o, "atlasjson", h, [x, g]);
                },
                addToCache: function () {
                  if (this.isReadyToProcess()) {
                    var i = this.files[0],
                      o = this.files[1],
                      h = this.files[2] ? this.files[2].data : null;
                    (this.loader.textureManager.addAtlas(
                      i.key,
                      i.data,
                      o.data,
                      h,
                    ),
                      (this.complete = !0));
                  }
                },
              });
            (c.register("atlas", function (i, o, h, l, f) {
              var v;
              if (Array.isArray(i))
                for (var m = 0; m < i.length; m++)
                  ((v = new u(this, i[m])), this.addFile(v.files));
              else ((v = new u(this, i, o, h, l, f)), this.addFile(v.files));
              return _____WB$wombat$check$this$function_____(this);
            }),
              (d.exports = u));
          },
          24616: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(76846),
              a = t(72632),
              r = t(42927),
              n = t(42911),
              e = t(45176),
              s = t(15297),
              u = new A({
                Extends: e,
                initialize: function (o, h, l, f, v, m) {
                  var x, g;
                  if (n(h)) {
                    var C = h;
                    ((h = a(C, "key")),
                      (x = new r(o, {
                        key: h,
                        url: a(C, "textureURL"),
                        extension: a(C, "textureExtension", "png"),
                        normalMap: a(C, "normalMap"),
                        xhrSettings: a(C, "textureXhrSettings"),
                      })),
                      (g = new s(o, {
                        key: h,
                        url: a(C, "atlasURL"),
                        extension: a(C, "atlasExtension", "xml"),
                        xhrSettings: a(C, "atlasXhrSettings"),
                      })));
                  } else ((x = new r(o, h, l, v)), (g = new s(o, h, f, m)));
                  x.linkFile
                    ? e.call(this, o, "atlasxml", h, [x, g, x.linkFile])
                    : e.call(this, o, "atlasxml", h, [x, g]);
                },
                addToCache: function () {
                  if (this.isReadyToProcess()) {
                    var i = this.files[0],
                      o = this.files[1],
                      h = this.files[2] ? this.files[2].data : null;
                    (this.loader.textureManager.addAtlasXML(
                      i.key,
                      i.data,
                      o.data,
                      h,
                    ),
                      (this.complete = !0));
                  }
                },
              });
            (c.register("atlasXML", function (i, o, h, l, f) {
              var v;
              if (Array.isArray(i))
                for (var m = 0; m < i.length; m++)
                  ((v = new u(this, i[m])), this.addFile(v.files));
              else ((v = new u(this, i, o, h, l, f)), this.addFile(v.files));
              return _____WB$wombat$check$this$function_____(this);
            }),
              (d.exports = u));
          },
          67448: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(12117),
              a = t(98035),
              r = t(76846),
              n = t(72632),
              e = t(30929),
              s = t(42911),
              u = new A({
                Extends: a,
                initialize: function (o, h, l, f, v) {
                  if (s(h)) {
                    var m = h;
                    ((h = n(m, "key")),
                      (f = n(m, "xhrSettings")),
                      (v = n(m, "context", v)));
                  }
                  var x = {
                    type: "audio",
                    cache: o.cacheManager.audio,
                    extension: l.type,
                    responseType: "arraybuffer",
                    key: h,
                    url: l.url,
                    xhrSettings: f,
                    config: { context: v },
                  };
                  a.call(this, o, x);
                },
                onProcess: function () {
                  this.state = c.FILE_PROCESSING;
                  var i = _____WB$wombat$check$this$function_____(this);
                  (this.config.context.decodeAudioData(
                    this.xhrLoader.response,
                    function (o) {
                      ((i.data = o), i.onProcessComplete());
                    },
                    function (o) {
                      (console.error(
                        "Error decoding audio: " + i.key + " - ",
                        o ? o.message : null,
                      ),
                        i.onProcessError());
                    },
                  ),
                    (this.config.context = null));
                },
              });
            ((u.create = function (i, o, h, l, f) {
              var v = i.systems.game,
                m = v.config.audio,
                x = v.device.audio;
              s(o) && ((h = n(o, "url", [])), (l = n(o, "config", {})));
              var g = u.getAudioURL(v, h);
              return g
                ? x.webAudio && !m.disableWebAudio
                  ? new u(i, o, g, f, v.sound.context)
                  : new e(i, o, g, l)
                : (console.warn(
                    'No audio URLs for "%s" matched this device',
                    o,
                  ),
                  null);
            }),
              (u.getAudioURL = function (i, o) {
                Array.isArray(o) || (o = [o]);
                for (var h = 0; h < o.length; h++) {
                  var l = n(o[h], "url", o[h]);
                  if (l.indexOf("blob:") === 0 || l.indexOf("data:") === 0)
                    return { url: l, type: "" };
                  var f = l.match(/\.([a-zA-Z0-9]+)($|\?)/);
                  if (
                    ((f = n(o[h], "type", f ? f[1] : "").toLowerCase()),
                    i.device.audio[f])
                  )
                    return { url: l, type: f };
                }
                return null;
              }),
              r.register("audio", function (i, o, h, l) {
                var f = this.systems.game,
                  v = f.config.audio,
                  m = f.device.audio;
                if (v.noAudio || (!m.webAudio && !m.audioData))
                  return _____WB$wombat$check$this$function_____(this);
                var x;
                if (Array.isArray(i))
                  for (var g = 0; g < i.length; g++)
                    ((x = u.create(this, i[g])), x && this.addFile(x));
                else ((x = u.create(this, i, o, h, l)), x && this.addFile(x));
                return _____WB$wombat$check$this$function_____(this);
              }),
              (d.exports = u));
          },
          66109: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(67448),
              c = t(56694),
              a = t(76846),
              r = t(72632),
              n = t(42911),
              e = t(70806),
              s = t(45176),
              u = new c({
                Extends: s,
                initialize: function (o, h, l, f, v, m, x) {
                  if (n(h)) {
                    var g = h;
                    ((h = r(g, "key")),
                      (l = r(g, "jsonURL")),
                      (f = r(g, "audioURL")),
                      (v = r(g, "audioConfig")),
                      (m = r(g, "audioXhrSettings")),
                      (x = r(g, "jsonXhrSettings")));
                  }
                  var C;
                  if (!f)
                    ((C = new e(o, h, l, x)),
                      s.call(this, o, "audiosprite", h, [C]),
                      (this.config.resourceLoad = !0),
                      (this.config.audioConfig = v),
                      (this.config.audioXhrSettings = m));
                  else {
                    var T = A.create(o, h, f, v, m);
                    T &&
                      ((C = new e(o, h, l, x)),
                      s.call(this, o, "audiosprite", h, [T, C]),
                      (this.config.resourceLoad = !1));
                  }
                },
                onFileComplete: function (i) {
                  var o = this.files.indexOf(i);
                  if (
                    o !== -1 &&
                    (this.pending--,
                    this.config.resourceLoad &&
                      i.type === "json" &&
                      i.data.hasOwnProperty("resources"))
                  ) {
                    var h = i.data.resources,
                      l = r(this.config, "audioConfig"),
                      f = r(this.config, "audioXhrSettings"),
                      v = A.create(this.loader, i.key, h, l, f);
                    v && (this.addToMultiFile(v), this.loader.addFile(v));
                  }
                },
                addToCache: function () {
                  if (this.isReadyToProcess()) {
                    var i = this.files[0],
                      o = this.files[1];
                    (i.addToCache(), o.addToCache(), (this.complete = !0));
                  }
                },
              });
            a.register("audioSprite", function (i, o, h, l, f, v) {
              var m = this.systems.game,
                x = m.config.audio,
                g = m.device.audio;
              if ((x && x.noAudio) || (!g.webAudio && !g.audioData))
                return _____WB$wombat$check$this$function_____(this);
              var C;
              if (Array.isArray(i))
                for (var T = 0; T < i.length; T++)
                  ((C = new u(this, i[T])), C.files && this.addFile(C.files));
              else
                ((C = new u(this, i, o, h, l, f, v)),
                  C.files && this.addFile(C.files));
              return _____WB$wombat$check$this$function_____(this);
            });
          },
          40612: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(12117),
              a = t(98035),
              r = t(76846),
              n = t(72632),
              e = t(42911),
              s = new A({
                Extends: a,
                initialize: function (i, o, h, l, f) {
                  var v = "bin";
                  if (e(o)) {
                    var m = o;
                    ((o = n(m, "key")),
                      (h = n(m, "url")),
                      (l = n(m, "xhrSettings")),
                      (v = n(m, "extension", v)),
                      (f = n(m, "dataType", f)));
                  }
                  var x = {
                    type: "binary",
                    cache: i.cacheManager.binary,
                    extension: v,
                    responseType: "arraybuffer",
                    key: o,
                    url: h,
                    xhrSettings: l,
                    config: { dataType: f },
                  };
                  a.call(this, i, x);
                },
                onProcess: function () {
                  this.state = c.FILE_PROCESSING;
                  var u = this.config.dataType;
                  ((this.data = u
                    ? new u(this.xhrLoader.response)
                    : this.xhrLoader.response),
                    this.onProcessComplete());
                },
              });
            (r.register("binary", function (u, i, o, h) {
              if (Array.isArray(u))
                for (var l = 0; l < u.length; l++)
                  this.addFile(new s(this, u[l]));
              else this.addFile(new s(this, u, i, h, o));
              return _____WB$wombat$check$this$function_____(this);
            }),
              (d.exports = s));
          },
          54565: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(76846),
              a = t(72632),
              r = t(42927),
              n = t(42911),
              e = t(45176),
              s = t(31476),
              u = t(15297),
              i = new A({
                Extends: e,
                initialize: function (h, l, f, v, m, x) {
                  var g, C;
                  if (n(l)) {
                    var T = l;
                    ((l = a(T, "key")),
                      (g = new r(h, {
                        key: l,
                        url: a(T, "textureURL"),
                        extension: a(T, "textureExtension", "png"),
                        normalMap: a(T, "normalMap"),
                        xhrSettings: a(T, "textureXhrSettings"),
                      })),
                      (C = new u(h, {
                        key: l,
                        url: a(T, "fontDataURL"),
                        extension: a(T, "fontDataExtension", "xml"),
                        xhrSettings: a(T, "fontDataXhrSettings"),
                      })));
                  } else ((g = new r(h, l, f, m)), (C = new u(h, l, v, x)));
                  g.linkFile
                    ? e.call(this, h, "bitmapfont", l, [g, C, g.linkFile])
                    : e.call(this, h, "bitmapfont", l, [g, C]);
                },
                addToCache: function () {
                  if (this.isReadyToProcess()) {
                    var o = this.files[0],
                      h = this.files[1];
                    o.addToCache();
                    var l = o.cache.get(o.key),
                      f = s(h.data, o.cache.getFrame(o.key), 0, 0, l);
                    (this.loader.cacheManager.bitmapFont.add(o.key, {
                      data: f,
                      texture: o.key,
                      frame: null,
                    }),
                      (this.complete = !0));
                  }
                },
              });
            (c.register("bitmapFont", function (o, h, l, f, v) {
              var m;
              if (Array.isArray(o))
                for (var x = 0; x < o.length; x++)
                  ((m = new i(this, o[x])), this.addFile(m.files));
              else ((m = new i(this, o, h, l, f, v)), this.addFile(m.files));
              return _____WB$wombat$check$this$function_____(this);
            }),
              (d.exports = i));
          },
          99898: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(12117),
              a = t(98035),
              r = t(76846),
              n = t(72632),
              e = t(42911),
              s = new A({
                Extends: a,
                initialize: function (i, o, h, l) {
                  var f = "css";
                  if (e(o)) {
                    var v = o;
                    ((o = n(v, "key")),
                      (h = n(v, "url")),
                      (l = n(v, "xhrSettings")),
                      (f = n(v, "extension", f)));
                  }
                  var m = {
                    type: "script",
                    cache: !1,
                    extension: f,
                    responseType: "text",
                    key: o,
                    url: h,
                    xhrSettings: l,
                  };
                  a.call(this, i, m);
                },
                onProcess: function () {
                  ((this.state = c.FILE_PROCESSING),
                    (this.data = document.createElement("style")),
                    (this.data.defer = !1),
                    (this.data.innerHTML = this.xhrLoader.responseText),
                    document.head.appendChild(this.data),
                    this.onProcessComplete());
                },
              });
            (r.register("css", function (u, i, o) {
              if (Array.isArray(u))
                for (var h = 0; h < u.length; h++)
                  this.addFile(new s(this, u[h]));
              else this.addFile(new s(this, u, i, o));
              return _____WB$wombat$check$this$function_____(this);
            }),
              (d.exports = s));
          },
          47375: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2021 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(73152),
              c = t(40612),
              a = t(56694),
              r = t(76846),
              n = t(72632),
              e = t(42927),
              s = t(42911),
              u = t(70806),
              i = t(67409),
              o = t(30657),
              h = t(80802),
              l = t(45176),
              f = t(24904),
              v = new a({
                Extends: l,
                initialize: function (x, g, C, T) {
                  if (C.multiAtlasURL) {
                    var F = new u(x, {
                      key: g,
                      url: C.multiAtlasURL,
                      xhrSettings: T,
                      config: C,
                    });
                    l.call(this, x, "texture", g, [F]);
                  } else {
                    var w = C.textureURL.substr(C.textureURL.length - 3);
                    C.type ||
                      (C.type = w.toLowerCase() === "ktx" ? "KTX" : "PVR");
                    var U = new c(x, {
                      key: g,
                      url: C.textureURL,
                      extension: w,
                      xhrSettings: T,
                      config: C,
                    });
                    if (C.atlasURL) {
                      var M = new u(x, {
                        key: g,
                        url: C.atlasURL,
                        xhrSettings: T,
                        config: C,
                      });
                      l.call(this, x, "texture", g, [U, M]);
                    } else l.call(this, x, "texture", g, [U]);
                  }
                  this.config = C;
                },
                onFileComplete: function (m) {
                  var x = this.files.indexOf(m);
                  if (x !== -1) {
                    if ((this.pending--, !this.config.multiAtlasURL)) return;
                    if (
                      m.type === "json" &&
                      m.data.hasOwnProperty("textures")
                    ) {
                      var g = m.data.textures,
                        C = this.config,
                        T = this.loader,
                        F = T.baseURL,
                        w = T.path,
                        U = T.prefix,
                        M = n(C, "multiBaseURL", this.baseURL),
                        I = n(C, "multiPath", this.path),
                        O = n(C, "prefix", this.prefix),
                        D = n(C, "textureXhrSettings");
                      (M && T.setBaseURL(M),
                        I && T.setPath(I),
                        O && T.setPrefix(O));
                      for (var G = 0; G < g.length; G++) {
                        var X = g[G].image,
                          z = "CMA" + this.multiKeyIndex + "_" + X,
                          K = new c(T, z, X, D);
                        if (
                          (this.addToMultiFile(K), T.addFile(K), g[G].normalMap)
                        ) {
                          var N = new c(T, z, g[G].normalMap, D);
                          ((N.type = "normalMap"),
                            K.setLink(N),
                            this.addToMultiFile(N),
                            T.addFile(N));
                        }
                      }
                      (T.setBaseURL(F), T.setPath(w), T.setPrefix(U));
                    }
                  }
                },
                addToCache: function () {
                  if (this.isReadyToProcess()) {
                    var m = this.config;
                    if (m.multiAtlasURL) this.addMultiToCache();
                    else {
                      var x = this.loader.systems.renderer,
                        g = this.loader.textureManager,
                        C,
                        T = this.files[0],
                        F = this.files[1];
                      if (
                        (m.type === "PVR"
                          ? (C = f(T.data))
                          : m.type === "KTX" && (C = i(T.data)),
                        C &&
                          x.supportsCompressedTexture(
                            m.format,
                            C.internalFormat,
                          ))
                      ) {
                        C.format = x.getCompressedTextureName(
                          m.format,
                          C.internalFormat,
                        );
                        var w = F && F.data ? F.data : null;
                        g.addCompressedTexture(T.key, C, w);
                      }
                    }
                    this.complete = !0;
                  }
                },
                addMultiToCache: function () {
                  for (
                    var m = this.config,
                      x = this.files[0],
                      g = [],
                      C = [],
                      T = [],
                      F = this.loader.systems.renderer,
                      w = this.loader.textureManager,
                      U,
                      M = 1;
                    M < this.files.length;
                    M++
                  ) {
                    var I = this.files[M];
                    if (I.type !== "normalMap")
                      for (
                        var O = I.key.indexOf("_"),
                          D = I.key.substr(O + 1),
                          G = I.data,
                          X = 0;
                        X < x.data.textures.length;
                        X++
                      ) {
                        var z = x.data.textures[X];
                        if (z.image === D) {
                          (m.type === "PVR"
                            ? (U = f(G))
                            : m.type === "KTX" && (U = i(G)),
                            U &&
                              F.supportsCompressedTexture(
                                m.format,
                                U.internalFormat,
                              ) &&
                              ((U.format = F.getCompressedTextureName(
                                m.format,
                                U.internalFormat,
                              )),
                              C.push(U),
                              g.push(z),
                              I.linkFile && T.push(I.linkFile.data)));
                          break;
                        }
                      }
                  }
                  (T.length === 0 && (T = void 0),
                    w.addAtlasJSONArray(this.key, C, g, T),
                    (this.complete = !0));
                },
              });
            (r.register("texture", function (m, x, g) {
              var C = this.systems.renderer,
                T = function (w, U, M, I) {
                  var O = {
                    format: null,
                    type: null,
                    textureURL: void 0,
                    atlasURL: void 0,
                    multiAtlasURL: void 0,
                    multiPath: void 0,
                    multiBaseURL: void 0,
                  };
                  if (s(U)) {
                    var D = U;
                    ((U = n(D, "key")),
                      (M = n(D, "url")),
                      (I = n(D, "xhrSettings")));
                  }
                  var G = !1;
                  for (var X in M)
                    if (C.supportsCompressedTexture(X)) {
                      var z = M[X];
                      (typeof z == "string"
                        ? (O.textureURL = z)
                        : (O = o(z, O)),
                        (O.format = X.toUpperCase()),
                        (G = !0));
                      break;
                    }
                  if (!G)
                    console.warn(
                      "No supported compressed texture format or IMG fallback",
                      U,
                    );
                  else if (O.format === "IMG") {
                    var K, N;
                    (O.multiAtlasURL
                      ? ((N = new h(
                          w,
                          U,
                          O.multiAtlasURL,
                          O.multiPath,
                          O.multiBaseURL,
                          I,
                        )),
                        (K = N.files))
                      : O.atlasURL
                        ? ((N = new A(w, U, O.textureURL, O.atlasURL, I)),
                          (K = N.files))
                        : (K = new e(w, U, O.textureURL, I)),
                      w.addFile(K));
                  } else {
                    var b = new v(w, U, O, I);
                    w.addFile(b.files);
                  }
                };
              if (Array.isArray(m))
                for (var F = 0; F < m.length; F++) T(this, m[F]);
              else T(this, m, x, g);
              return _____WB$wombat$check$this$function_____(this);
            }),
              (d.exports = v));
          },
          46568: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(12117),
              a = t(98035),
              r = t(76846),
              n = t(72632),
              e = t(42911),
              s = t(31053),
              u = new A({
                Extends: a,
                initialize: function (o, h, l, f, v) {
                  var m = "glsl";
                  if (e(h)) {
                    var x = h;
                    ((h = n(x, "key")),
                      (l = n(x, "url")),
                      (f = n(x, "shaderType", "fragment")),
                      (v = n(x, "xhrSettings")),
                      (m = n(x, "extension", m)));
                  } else f === void 0 && (f = "fragment");
                  var g = {
                    type: "glsl",
                    cache: o.cacheManager.shader,
                    extension: m,
                    responseType: "text",
                    key: h,
                    url: l,
                    config: { shaderType: f },
                    xhrSettings: v,
                  };
                  a.call(this, o, g);
                },
                onProcess: function () {
                  ((this.state = c.FILE_PROCESSING),
                    (this.data = this.xhrLoader.responseText),
                    this.onProcessComplete());
                },
                addToCache: function () {
                  var i = this.data.split(`
`),
                    o = this.extractBlock(i, 0);
                  if (o)
                    for (; o; ) {
                      var h = this.getShaderName(o.header),
                        l = this.getShaderType(o.header),
                        f = this.getShaderUniforms(o.header),
                        v = o.shader;
                      if (this.cache.has(h)) {
                        var m = this.cache.get(h);
                        (l === "fragment"
                          ? (m.fragmentSrc = v)
                          : (m.vertexSrc = v),
                          m.uniforms || (m.uniforms = f));
                      } else
                        l === "fragment"
                          ? this.cache.add(h, new s(h, v, "", f))
                          : this.cache.add(h, new s(h, "", v, f));
                      o = this.extractBlock(i, o.offset);
                    }
                  else
                    this.config.shaderType === "fragment"
                      ? this.cache.add(this.key, new s(this.key, this.data))
                      : this.cache.add(
                          this.key,
                          new s(this.key, "", this.data),
                        );
                },
                getShaderName: function (i) {
                  for (var o = 0; o < i.length; o++) {
                    var h = i[o].trim();
                    if (h.substring(0, 5) === "name:")
                      return h.substring(5).trim();
                  }
                  return this.key;
                },
                getShaderType: function (i) {
                  for (var o = 0; o < i.length; o++) {
                    var h = i[o].trim();
                    if (h.substring(0, 5) === "type:")
                      return h.substring(5).trim();
                  }
                  return this.config.shaderType;
                },
                getShaderUniforms: function (i) {
                  for (var o = {}, h = 0; h < i.length; h++) {
                    var l = i[h].trim();
                    if (l.substring(0, 8) === "uniform.") {
                      var f = l.indexOf(":");
                      if (f) {
                        var v = l.substring(8, f);
                        try {
                          o[v] = JSON.parse(l.substring(f + 1));
                        } catch {
                          console.warn("Invalid uniform JSON: " + v);
                        }
                      }
                    }
                  }
                  return o;
                },
                extractBlock: function (i, o) {
                  for (
                    var h = -1,
                      l = -1,
                      f = -1,
                      v = !1,
                      m = !1,
                      x = [],
                      g = [],
                      C = o;
                    C < i.length;
                    C++
                  ) {
                    var T = i[C].trim();
                    if (T === "---")
                      if (h === -1) ((h = C), (v = !0));
                      else if (v) ((l = C), (v = !1), (m = !0));
                      else {
                        m = !1;
                        break;
                      }
                    else v ? x.push(T) : m && (g.push(T), (f = C));
                  }
                  return !v && l !== -1
                    ? {
                        header: x,
                        shader: g.join(`
`),
                        offset: f,
                      }
                    : null;
                },
              });
            (r.register("glsl", function (i, o, h, l) {
              if (Array.isArray(i))
                for (var f = 0; f < i.length; f++)
                  this.addFile(new u(this, i[f]));
              else this.addFile(new u(this, i, o, h, l));
              return _____WB$wombat$check$this$function_____(this);
            }),
              (d.exports = u));
          },
          30929: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(683),
              a = t(98035),
              r = t(72632),
              n = t(30750),
              e = t(42911),
              s = new A({
                Extends: a,
                initialize: function (i, o, h, l) {
                  if (e(o)) {
                    var f = o;
                    ((o = r(f, "key")), (l = r(f, "config", l)));
                  }
                  var v = {
                    type: "audio",
                    cache: i.cacheManager.audio,
                    extension: h.type,
                    key: o,
                    url: h.url,
                    config: l,
                  };
                  (a.call(this, i, v),
                    (this.locked = "ontouchstart" in window),
                    (this.loaded = !1),
                    (this.filesLoaded = 0),
                    (this.filesTotal = 0));
                },
                onLoad: function () {
                  this.loaded ||
                    ((this.loaded = !0), this.loader.nextFile(this, !0));
                },
                onError: function () {
                  for (var u = 0; u < this.data.length; u++) {
                    var i = this.data[u];
                    ((i.oncanplaythrough = null), (i.onerror = null));
                  }
                  this.loader.nextFile(this, !1);
                },
                onProgress: function (u) {
                  var i = u.target;
                  ((i.oncanplaythrough = null),
                    (i.onerror = null),
                    this.filesLoaded++,
                    (this.percentComplete = Math.min(
                      this.filesLoaded / this.filesTotal,
                      1,
                    )),
                    this.loader.emit(
                      c.FILE_PROGRESS,
                      _____WB$wombat$check$this$function_____(this),
                      this.percentComplete,
                    ),
                    this.filesLoaded === this.filesTotal && this.onLoad());
                },
                load: function () {
                  this.data = [];
                  var u = (this.config && this.config.instances) || 1;
                  ((this.filesTotal = u),
                    (this.filesLoaded = 0),
                    (this.percentComplete = 0));
                  for (var i = 0; i < u; i++) {
                    var o = new Audio();
                    (o.dataset || (o.dataset = {}),
                      (o.dataset.name = this.key + ("0" + i).slice(-2)),
                      (o.dataset.used = "false"),
                      this.locked
                        ? (o.dataset.locked = "true")
                        : ((o.dataset.locked = "false"),
                          (o.preload = "auto"),
                          (o.oncanplaythrough = this.onProgress.bind(this)),
                          (o.onerror = this.onError.bind(this))),
                      this.data.push(o));
                  }
                  for (i = 0; i < this.data.length; i++)
                    ((o = this.data[i]),
                      (o.src = n(this, this.loader.baseURL)),
                      this.locked || o.load());
                  this.locked && setTimeout(this.onLoad.bind(this));
                },
              });
            d.exports = s;
          },
          77459: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(12117),
              a = t(98035),
              r = t(76846),
              n = t(72632),
              e = t(42911),
              s = new A({
                Extends: a,
                initialize: function (i, o, h, l) {
                  var f = "html";
                  if (e(o)) {
                    var v = o;
                    ((o = n(v, "key")),
                      (h = n(v, "url")),
                      (l = n(v, "xhrSettings")),
                      (f = n(v, "extension", f)));
                  }
                  var m = {
                    type: "text",
                    cache: i.cacheManager.html,
                    extension: f,
                    responseType: "text",
                    key: o,
                    url: h,
                    xhrSettings: l,
                  };
                  a.call(this, i, m);
                },
                onProcess: function () {
                  ((this.state = c.FILE_PROCESSING),
                    (this.data = this.xhrLoader.responseText),
                    this.onProcessComplete());
                },
              });
            (r.register("html", function (u, i, o) {
              if (Array.isArray(u))
                for (var h = 0; h < u.length; h++)
                  this.addFile(new s(this, u[h]));
              else this.addFile(new s(this, u, i, o));
              return _____WB$wombat$check$this$function_____(this);
            }),
              (d.exports = s));
          },
          9755: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(12117),
              a = t(98035),
              r = t(76846),
              n = t(72632),
              e = t(42911),
              s = new A({
                Extends: a,
                initialize: function (i, o, h, l, f, v) {
                  (l === void 0 && (l = 512), f === void 0 && (f = 512));
                  var m = "html";
                  if (e(o)) {
                    var x = o;
                    ((o = n(x, "key")),
                      (h = n(x, "url")),
                      (v = n(x, "xhrSettings")),
                      (m = n(x, "extension", m)),
                      (l = n(x, "width", l)),
                      (f = n(x, "height", f)));
                  }
                  var g = {
                    type: "html",
                    cache: i.textureManager,
                    extension: m,
                    responseType: "text",
                    key: o,
                    url: h,
                    xhrSettings: v,
                    config: { width: l, height: f },
                  };
                  a.call(this, i, g);
                },
                onProcess: function () {
                  this.state = c.FILE_PROCESSING;
                  var u = this.config.width,
                    i = this.config.height,
                    o = [];
                  (o.push(
                    '<svg width="' +
                      u +
                      'px" height="' +
                      i +
                      'px" viewBox="0 0 ' +
                      u +
                      " " +
                      i +
                      '" xmlns="http://www.w3.org/2000/svg">',
                  ),
                    o.push('<foreignObject width="100%" height="100%">'),
                    o.push('<body xmlns="http://www.w3.org/1999/xhtml">'),
                    o.push(this.xhrLoader.responseText),
                    o.push("</body>"),
                    o.push("</foreignObject>"),
                    o.push("</svg>"));
                  var h = [
                      o.join(`
`),
                    ],
                    l = _____WB$wombat$check$this$function_____(this);
                  try {
                    var f = new window.Blob(h, {
                      type: "image/svg+xml;charset=utf-8",
                    });
                  } catch {
                    ((l.state = c.FILE_ERRORED), l.onProcessComplete());
                    return;
                  }
                  ((this.data = new Image()),
                    (this.data.crossOrigin = this.crossOrigin),
                    (this.data.onload = function () {
                      (a.revokeObjectURL(l.data), l.onProcessComplete());
                    }),
                    (this.data.onerror = function () {
                      (a.revokeObjectURL(l.data), l.onProcessError());
                    }),
                    a.createObjectURL(this.data, f, "image/svg+xml"));
                },
                addToCache: function () {
                  this.cache.addImage(this.key, this.data);
                },
              });
            (r.register("htmlTexture", function (u, i, o, h, l) {
              if (Array.isArray(u))
                for (var f = 0; f < u.length; f++)
                  this.addFile(new s(this, u[f]));
              else this.addFile(new s(this, u, i, o, h, l));
              return _____WB$wombat$check$this$function_____(this);
            }),
              (d.exports = s));
          },
          42927: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(12117),
              a = t(98035),
              r = t(76846),
              n = t(72632),
              e = t(42911),
              s = t(30750),
              u = new A({
                Extends: a,
                initialize: function i(o, h, l, f, v) {
                  var m = "png",
                    x;
                  if (e(h)) {
                    var g = h;
                    ((h = n(g, "key")),
                      (l = n(g, "url")),
                      (x = n(g, "normalMap")),
                      (f = n(g, "xhrSettings")),
                      (m = n(g, "extension", m)),
                      (v = n(g, "frameConfig")));
                  }
                  Array.isArray(l) && ((x = l[1]), (l = l[0]));
                  var C = {
                    type: "image",
                    cache: o.textureManager,
                    extension: m,
                    responseType: "blob",
                    key: h,
                    url: l,
                    xhrSettings: f,
                    config: v,
                  };
                  if ((a.call(this, o, C), x)) {
                    var T = new i(o, this.key, x, f, v);
                    ((T.type = "normalMap"), this.setLink(T), o.addFile(T));
                  }
                  ((this.useImageElementLoad =
                    o.imageLoadType === "HTMLImageElement"),
                    this.useImageElementLoad &&
                      ((this.load = this.loadImage),
                      (this.onProcess = this.onProcessImage)));
                },
                onProcess: function () {
                  ((this.state = c.FILE_PROCESSING),
                    (this.data = new Image()),
                    (this.data.crossOrigin = this.crossOrigin));
                  var i = _____WB$wombat$check$this$function_____(this);
                  ((this.data.onload = function () {
                    (a.revokeObjectURL(i.data), i.onProcessComplete());
                  }),
                    (this.data.onerror = function () {
                      (a.revokeObjectURL(i.data), i.onProcessError());
                    }),
                    a.createObjectURL(
                      this.data,
                      this.xhrLoader.response,
                      "image/png",
                    ));
                },
                onProcessImage: function () {
                  var i = this.state;
                  ((this.state = c.FILE_PROCESSING),
                    i === c.FILE_LOADED
                      ? this.onProcessComplete()
                      : this.onProcessError());
                },
                loadImage: function () {
                  if (
                    ((this.state = c.FILE_LOADING),
                    (this.src = s(this, this.loader.baseURL)),
                    this.src.indexOf("data:") === 0)
                  )
                    console.warn(
                      "Local data URIs are not supported: " + this.key,
                    );
                  else {
                    ((this.data = new Image()),
                      (this.data.crossOrigin = this.crossOrigin));
                    var i = _____WB$wombat$check$this$function_____(this);
                    ((this.data.onload = function () {
                      ((i.state = c.FILE_LOADED), i.loader.nextFile(i, !0));
                    }),
                      (this.data.onerror = function () {
                        i.loader.nextFile(i, !1);
                      }),
                      (this.data.src = this.src));
                  }
                },
                addToCache: function () {
                  var i = this.linkFile;
                  i
                    ? i.state >= c.FILE_COMPLETE &&
                      (i.type === "spritesheet"
                        ? i.addToCache()
                        : this.type === "normalMap"
                          ? this.cache.addImage(this.key, i.data, this.data)
                          : this.cache.addImage(this.key, this.data, i.data))
                    : this.cache.addImage(this.key, this.data);
                },
              });
            (r.register("image", function (i, o, h) {
              if (Array.isArray(i))
                for (var l = 0; l < i.length; l++)
                  this.addFile(new u(this, i[l]));
              else this.addFile(new u(this, i, o, h));
              return _____WB$wombat$check$this$function_____(this);
            }),
              (d.exports = u));
          },
          70806: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(12117),
              a = t(98035),
              r = t(76846),
              n = t(72632),
              e = t(10850),
              s = t(42911),
              u = new A({
                Extends: a,
                initialize: function (o, h, l, f, v) {
                  var m = "json";
                  if (s(h)) {
                    var x = h;
                    ((h = n(x, "key")),
                      (l = n(x, "url")),
                      (f = n(x, "xhrSettings")),
                      (m = n(x, "extension", m)),
                      (v = n(x, "dataKey", v)));
                  }
                  var g = {
                    type: "json",
                    cache: o.cacheManager.json,
                    extension: m,
                    responseType: "text",
                    key: h,
                    url: l,
                    xhrSettings: f,
                    config: v,
                  };
                  (a.call(this, o, g),
                    s(l) &&
                      (v ? (this.data = e(l, v)) : (this.data = l),
                      (this.state = c.FILE_POPULATED)));
                },
                onProcess: function () {
                  if (this.state !== c.FILE_POPULATED) {
                    this.state = c.FILE_PROCESSING;
                    try {
                      var i = JSON.parse(this.xhrLoader.responseText);
                    } catch (h) {
                      throw (this.onProcessError(), h);
                    }
                    var o = this.config;
                    typeof o == "string"
                      ? (this.data = e(i, o, i))
                      : (this.data = i);
                  }
                  this.onProcessComplete();
                },
              });
            (r.register("json", function (i, o, h, l) {
              if (Array.isArray(i))
                for (var f = 0; f < i.length; f++)
                  this.addFile(new u(this, i[f]));
              else this.addFile(new u(this, i, o, l, h));
              return _____WB$wombat$check$this$function_____(this);
            }),
              (d.exports = u));
          },
          80802: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(76846),
              a = t(72632),
              r = t(42927),
              n = t(42911),
              e = t(70806),
              s = t(45176),
              u = new A({
                Extends: s,
                initialize: function (o, h, l, f, v, m, x) {
                  if (n(h)) {
                    var g = h;
                    ((h = a(g, "key")),
                      a(g, "url", !1)
                        ? (l = a(g, "url"))
                        : (l = a(g, "atlasURL")),
                      (m = a(g, "xhrSettings")),
                      (f = a(g, "path")),
                      (v = a(g, "baseURL")),
                      (x = a(g, "textureXhrSettings")));
                  }
                  var C = new e(o, h, l, m);
                  (s.call(this, o, "multiatlas", h, [C]),
                    (this.config.path = f),
                    (this.config.baseURL = v),
                    (this.config.textureXhrSettings = x));
                },
                onFileComplete: function (i) {
                  var o = this.files.indexOf(i);
                  if (
                    o !== -1 &&
                    (this.pending--,
                    i.type === "json" && i.data.hasOwnProperty("textures"))
                  ) {
                    var h = i.data.textures,
                      l = this.config,
                      f = this.loader,
                      v = f.baseURL,
                      m = f.path,
                      x = f.prefix,
                      g = a(l, "baseURL", this.baseURL),
                      C = a(l, "path", this.path),
                      T = a(l, "prefix", this.prefix),
                      F = a(l, "textureXhrSettings");
                    (f.setBaseURL(g), f.setPath(C), f.setPrefix(T));
                    for (var w = 0; w < h.length; w++) {
                      var U = h[w].image,
                        M = "MA" + this.multiKeyIndex + "_" + U,
                        I = new r(f, M, U, F);
                      if (
                        (this.addToMultiFile(I), f.addFile(I), h[w].normalMap)
                      ) {
                        var O = new r(f, M, h[w].normalMap, F);
                        ((O.type = "normalMap"),
                          I.setLink(O),
                          this.addToMultiFile(O),
                          f.addFile(O));
                      }
                    }
                    (f.setBaseURL(v), f.setPath(m), f.setPrefix(x));
                  }
                },
                addToCache: function () {
                  if (this.isReadyToProcess()) {
                    for (
                      var i = this.files[0], o = [], h = [], l = [], f = 1;
                      f < this.files.length;
                      f++
                    ) {
                      var v = this.files[f];
                      if (v.type !== "normalMap")
                        for (
                          var m = v.key.indexOf("_"),
                            x = v.key.substr(m + 1),
                            g = v.data,
                            C = 0;
                          C < i.data.textures.length;
                          C++
                        ) {
                          var T = i.data.textures[C];
                          if (T.image === x) {
                            (h.push(g),
                              o.push(T),
                              v.linkFile && l.push(v.linkFile.data));
                            break;
                          }
                        }
                    }
                    (l.length === 0 && (l = void 0),
                      this.loader.textureManager.addAtlasJSONArray(
                        this.key,
                        h,
                        o,
                        l,
                      ),
                      (this.complete = !0));
                  }
                },
              });
            (c.register("multiatlas", function (i, o, h, l, f) {
              var v;
              if (Array.isArray(i))
                for (var m = 0; m < i.length; m++)
                  ((v = new u(this, i[m])), this.addFile(v.files));
              else ((v = new u(this, i, o, h, l, f)), this.addFile(v.files));
              return _____WB$wombat$check$this$function_____(this);
            }),
              (d.exports = u));
          },
          39034: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(76846),
              a = t(72632),
              r = t(42911),
              n = t(45176),
              e = t(55188),
              s = new A({
                Extends: n,
                initialize: function (i, o, h, l) {
                  var f = "js",
                    v = [];
                  if (r(o)) {
                    var m = o;
                    ((o = a(m, "key")),
                      (h = a(m, "url")),
                      (l = a(m, "xhrSettings")),
                      (f = a(m, "extension", f)));
                  }
                  Array.isArray(h) || (h = [h]);
                  for (var x = 0; x < h.length; x++) {
                    var g = new e(i, {
                      key: o + "_" + x.toString(),
                      url: h[x],
                      extension: f,
                      xhrSettings: l,
                    });
                    ((g.onProcess = function () {
                      this.onProcessComplete();
                    }),
                      v.push(g));
                  }
                  n.call(this, i, "scripts", o, v);
                },
                addToCache: function () {
                  if (this.isReadyToProcess()) {
                    for (var u = 0; u < this.files.length; u++) {
                      var i = this.files[u];
                      ((i.data = document.createElement("script")),
                        (i.data.language = "javascript"),
                        (i.data.type = "text/javascript"),
                        (i.data.defer = !1),
                        (i.data.text = i.xhrLoader.responseText),
                        document.head.appendChild(i.data));
                    }
                    this.complete = !0;
                  }
                },
              });
            (c.register("scripts", function (u, i, o) {
              var h;
              if (Array.isArray(u))
                for (var l = 0; l < u.length; l++)
                  ((h = new s(this, u[l])), this.addFile(h.files));
              else ((h = new s(this, u, i, o)), this.addFile(h.files));
              return _____WB$wombat$check$this$function_____(this);
            }),
              (d.exports = s));
          },
          85527: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(76846),
              a = t(72632),
              r = t(42911),
              n = t(45176),
              e = t(27291),
              s = t(76799),
              u = t(86897),
              i = new A({
                Extends: n,
                initialize: function (h, l, f, v, m, x) {
                  var g,
                    C,
                    T = h.cacheManager.obj;
                  if (r(l)) {
                    var F = l;
                    ((l = a(F, "key")),
                      (g = new u(h, {
                        key: l,
                        type: "obj",
                        cache: T,
                        url: a(F, "url"),
                        extension: a(F, "extension", "obj"),
                        xhrSettings: a(F, "xhrSettings"),
                        config: { flipUV: a(F, "flipUV", m) },
                      })),
                      (v = a(F, "matURL")),
                      v &&
                        (C = new u(h, {
                          key: l,
                          type: "mat",
                          cache: T,
                          url: v,
                          extension: a(F, "matExtension", "mat"),
                          xhrSettings: a(F, "xhrSettings"),
                        })));
                  } else
                    ((g = new u(h, {
                      key: l,
                      url: f,
                      type: "obj",
                      cache: T,
                      extension: "obj",
                      xhrSettings: x,
                      config: { flipUV: m },
                    })),
                      v &&
                        (C = new u(h, {
                          key: l,
                          url: v,
                          type: "mat",
                          cache: T,
                          extension: "mat",
                          xhrSettings: x,
                        })));
                  n.call(this, h, "obj", l, [g, C]);
                },
                addToCache: function () {
                  if (this.isReadyToProcess()) {
                    var o = this.files[0],
                      h = this.files[1],
                      l = e(o.data, o.config.flipUV);
                    (h && (l.materials = s(h.data)),
                      o.cache.add(o.key, l),
                      (this.complete = !0));
                  }
                },
              });
            (c.register("obj", function (o, h, l, f, v) {
              var m;
              if (Array.isArray(o))
                for (var x = 0; x < o.length; x++)
                  ((m = new i(this, o[x])), this.addFile(m.files));
              else ((m = new i(this, o, h, l, f, v)), this.addFile(m.files));
              return _____WB$wombat$check$this$function_____(this);
            }),
              (d.exports = i));
          },
          3616: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(12117),
              a = t(76846),
              r = t(70806),
              n = new A({
                Extends: r,
                initialize: function (s, u, i, o, h) {
                  (r.call(this, s, u, i, o, h), (this.type = "packfile"));
                },
                onProcess: function () {
                  if (
                    (this.state !== c.FILE_POPULATED &&
                      ((this.state = c.FILE_PROCESSING),
                      (this.data = JSON.parse(this.xhrLoader.responseText))),
                    this.data.hasOwnProperty("files") && this.config)
                  ) {
                    var e = {};
                    ((e[this.config] = this.data), (this.data = e));
                  }
                  (this.loader.addPack(this.data, this.config),
                    this.onProcessComplete());
                },
              });
            (a.register("pack", function (e, s, u, i) {
              if (Array.isArray(e))
                for (var o = 0; o < e.length; o++)
                  this.addFile(new n(this, e[o]));
              else this.addFile(new n(this, e, s, i, u));
              return _____WB$wombat$check$this$function_____(this);
            }),
              (d.exports = n));
          },
          12217: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(12117),
              a = t(98035),
              r = t(76846),
              n = t(72632),
              e = t(42911),
              s = new A({
                Extends: a,
                initialize: function (i, o, h, l, f, v) {
                  var m = "js";
                  if (e(o)) {
                    var x = o;
                    ((o = n(x, "key")),
                      (h = n(x, "url")),
                      (v = n(x, "xhrSettings")),
                      (m = n(x, "extension", m)),
                      (l = n(x, "start")),
                      (f = n(x, "mapping")));
                  }
                  var g = {
                    type: "plugin",
                    cache: !1,
                    extension: m,
                    responseType: "text",
                    key: o,
                    url: h,
                    xhrSettings: v,
                    config: { start: l, mapping: f },
                  };
                  (a.call(this, i, g),
                    typeof h == "function" &&
                      ((this.data = h), (this.state = c.FILE_POPULATED)));
                },
                onProcess: function () {
                  var u = this.loader.systems.plugins,
                    i = this.config,
                    o = n(i, "start", !1),
                    h = n(i, "mapping", null);
                  if (this.state === c.FILE_POPULATED)
                    u.install(this.key, this.data, o, h);
                  else {
                    ((this.state = c.FILE_PROCESSING),
                      (this.data = document.createElement("script")),
                      (this.data.language = "javascript"),
                      (this.data.type = "text/javascript"),
                      (this.data.defer = !1),
                      (this.data.text = this.xhrLoader.responseText),
                      document.head.appendChild(this.data));
                    var l = u.install(this.key, window[this.key], o, h);
                    (o || h) &&
                      ((this.loader.systems[h] = l),
                      (this.loader.scene[h] = l));
                  }
                  this.onProcessComplete();
                },
              });
            (r.register("plugin", function (u, i, o, h, l) {
              if (Array.isArray(u))
                for (var f = 0; f < u.length; f++)
                  this.addFile(new s(this, u[f]));
              else this.addFile(new s(this, u, i, o, h, l));
              return _____WB$wombat$check$this$function_____(this);
            }),
              (d.exports = s));
          },
          4474: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(12117),
              a = t(98035),
              r = t(76846),
              n = t(72632),
              e = t(42911),
              s = new A({
                Extends: a,
                initialize: function (i, o, h, l, f) {
                  var v = "svg";
                  if (e(o)) {
                    var m = o;
                    ((o = n(m, "key")),
                      (h = n(m, "url")),
                      (l = n(m, "svgConfig", {})),
                      (f = n(m, "xhrSettings")),
                      (v = n(m, "extension", v)));
                  }
                  var x = {
                    type: "svg",
                    cache: i.textureManager,
                    extension: v,
                    responseType: "text",
                    key: o,
                    url: h,
                    xhrSettings: f,
                    config: {
                      width: n(l, "width"),
                      height: n(l, "height"),
                      scale: n(l, "scale"),
                    },
                  };
                  a.call(this, i, x);
                },
                onProcess: function () {
                  this.state = c.FILE_PROCESSING;
                  var u = this.xhrLoader.responseText,
                    i = [u],
                    o = this.config.width,
                    h = this.config.height,
                    l = this.config.scale;
                  t: if ((o && h) || l) {
                    var f = null,
                      v = new DOMParser();
                    f = v.parseFromString(u, "text/xml");
                    var m = f.getElementsByTagName("svg")[0],
                      x = m.hasAttribute("viewBox"),
                      g = parseFloat(m.getAttribute("width")),
                      C = parseFloat(m.getAttribute("height"));
                    if (!x && g && C)
                      m.setAttribute("viewBox", "0  0 " + g + " " + C);
                    else if (x && !g && !C) {
                      var T = m.getAttribute("viewBox").split(/\s+|,/);
                      ((g = T[2]), (C = T[3]));
                    }
                    if (l)
                      if (g && C) ((o = g * l), (h = C * l));
                      else break t;
                    (m.setAttribute("width", o.toString() + "px"),
                      m.setAttribute("height", h.toString() + "px"),
                      (i = [new XMLSerializer().serializeToString(m)]));
                  }
                  try {
                    var F = new window.Blob(i, {
                      type: "image/svg+xml;charset=utf-8",
                    });
                  } catch {
                    this.onProcessError();
                    return;
                  }
                  ((this.data = new Image()),
                    (this.data.crossOrigin = this.crossOrigin));
                  var w = _____WB$wombat$check$this$function_____(this),
                    U = !1;
                  ((this.data.onload = function () {
                    (U || a.revokeObjectURL(w.data), w.onProcessComplete());
                  }),
                    (this.data.onerror = function () {
                      U
                        ? w.onProcessError()
                        : ((U = !0),
                          a.revokeObjectURL(w.data),
                          (w.data.src =
                            "data:image/svg+xml," +
                            encodeURIComponent(i.join(""))));
                    }),
                    a.createObjectURL(this.data, F, "image/svg+xml"));
                },
                addToCache: function () {
                  this.cache.addImage(this.key, this.data);
                },
              });
            (r.register("svg", function (u, i, o, h) {
              if (Array.isArray(u))
                for (var l = 0; l < u.length; l++)
                  this.addFile(new s(this, u[l]));
              else this.addFile(new s(this, u, i, o, h));
              return _____WB$wombat$check$this$function_____(this);
            }),
              (d.exports = s));
          },
          95171: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(12117),
              a = t(98035),
              r = t(76846),
              n = t(72632),
              e = t(42911),
              s = new A({
                Extends: a,
                initialize: function (i, o, h, l) {
                  var f = "js";
                  if (e(o)) {
                    var v = o;
                    ((o = n(v, "key")),
                      (h = n(v, "url")),
                      (l = n(v, "xhrSettings")),
                      (f = n(v, "extension", f)));
                  }
                  var m = {
                    type: "text",
                    extension: f,
                    responseType: "text",
                    key: o,
                    url: h,
                    xhrSettings: l,
                  };
                  a.call(this, i, m);
                },
                onProcess: function () {
                  ((this.state = c.FILE_PROCESSING),
                    (this.data = this.xhrLoader.responseText),
                    this.onProcessComplete());
                },
                addToCache: function () {
                  var u = this.data.concat(
                      `(function(){
return new ` +
                        this.key +
                        `();
}).call(this);`,
                    ),
                    i = eval;
                  (this.loader.sceneManager.add(this.key, i(u)),
                    (this.complete = !0));
                },
              });
            (r.register("sceneFile", function (u, i, o) {
              if (Array.isArray(u))
                for (var h = 0; h < u.length; h++)
                  this.addFile(new s(this, u[h]));
              else this.addFile(new s(this, u, i, o));
              return _____WB$wombat$check$this$function_____(this);
            }),
              (d.exports = s));
          },
          82458: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(12117),
              a = t(98035),
              r = t(76846),
              n = t(72632),
              e = t(42911),
              s = new A({
                Extends: a,
                initialize: function (i, o, h, l, f, v) {
                  var m = "js";
                  if (e(o)) {
                    var x = o;
                    ((o = n(x, "key")),
                      (h = n(x, "url")),
                      (v = n(x, "xhrSettings")),
                      (m = n(x, "extension", m)),
                      (l = n(x, "systemKey")),
                      (f = n(x, "sceneKey")));
                  }
                  var g = {
                    type: "scenePlugin",
                    cache: !1,
                    extension: m,
                    responseType: "text",
                    key: o,
                    url: h,
                    xhrSettings: v,
                    config: { systemKey: l, sceneKey: f },
                  };
                  (a.call(this, i, g),
                    typeof h == "function" &&
                      ((this.data = h), (this.state = c.FILE_POPULATED)));
                },
                onProcess: function () {
                  var u = this.loader.systems.plugins,
                    i = this.config,
                    o = this.key,
                    h = n(i, "systemKey", o),
                    l = n(i, "sceneKey", o);
                  (this.state === c.FILE_POPULATED
                    ? u.installScenePlugin(
                        h,
                        this.data,
                        l,
                        this.loader.scene,
                        !0,
                      )
                    : ((this.state = c.FILE_PROCESSING),
                      (this.data = document.createElement("script")),
                      (this.data.language = "javascript"),
                      (this.data.type = "text/javascript"),
                      (this.data.defer = !1),
                      (this.data.text = this.xhrLoader.responseText),
                      document.head.appendChild(this.data),
                      u.installScenePlugin(
                        h,
                        window[this.key],
                        l,
                        this.loader.scene,
                        !0,
                      )),
                    this.onProcessComplete());
                },
              });
            (r.register("scenePlugin", function (u, i, o, h, l) {
              if (Array.isArray(u))
                for (var f = 0; f < u.length; f++)
                  this.addFile(new s(this, u[f]));
              else this.addFile(new s(this, u, i, o, h, l));
              return _____WB$wombat$check$this$function_____(this);
            }),
              (d.exports = s));
          },
          55188: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(12117),
              a = t(98035),
              r = t(76846),
              n = t(72632),
              e = t(42911),
              s = new A({
                Extends: a,
                initialize: function (i, o, h, l, f) {
                  var v = "js";
                  if (e(o)) {
                    var m = o;
                    ((o = n(m, "key")),
                      (h = n(m, "url")),
                      (l = n(m, "type", "script")),
                      (f = n(m, "xhrSettings")),
                      (v = n(m, "extension", v)));
                  } else l === void 0 && (l = "script");
                  var x = {
                    type: l,
                    cache: !1,
                    extension: v,
                    responseType: "text",
                    key: o,
                    url: h,
                    xhrSettings: f,
                  };
                  a.call(this, i, x);
                },
                onProcess: function () {
                  ((this.state = c.FILE_PROCESSING),
                    (this.data = document.createElement("script")),
                    (this.data.language = "javascript"),
                    (this.data.type = "text/javascript"),
                    (this.data.defer = !1),
                    (this.data.text = this.xhrLoader.responseText),
                    document.head.appendChild(this.data),
                    this.onProcessComplete());
                },
              });
            (r.register("script", function (u, i, o, h) {
              if (Array.isArray(u))
                for (var l = 0; l < u.length; l++)
                  this.addFile(new s(this, u[l]));
              else this.addFile(new s(this, u, i, o, h));
              return _____WB$wombat$check$this$function_____(this);
            }),
              (d.exports = s));
          },
          33536: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(12117),
              a = t(76846),
              r = t(42927),
              n = new A({
                Extends: r,
                initialize: function (s, u, i, o, h) {
                  (r.call(this, s, u, i, h, o), (this.type = "spritesheet"));
                },
                addToCache: function () {
                  var e = this.linkFile;
                  e
                    ? e.state >= c.FILE_COMPLETE &&
                      (this.type === "normalMap"
                        ? this.cache.addSpriteSheet(
                            this.key,
                            e.data,
                            this.config,
                            this.data,
                          )
                        : this.cache.addSpriteSheet(
                            this.key,
                            this.data,
                            this.config,
                            e.data,
                          ))
                    : this.cache.addSpriteSheet(
                        this.key,
                        this.data,
                        this.config,
                      );
                },
              });
            (a.register("spritesheet", function (e, s, u, i) {
              if (Array.isArray(e))
                for (var o = 0; o < e.length; o++)
                  this.addFile(new n(this, e[o]));
              else this.addFile(new n(this, e, s, u, i));
              return _____WB$wombat$check$this$function_____(this);
            }),
              (d.exports = n));
          },
          86897: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(12117),
              a = t(98035),
              r = t(76846),
              n = t(72632),
              e = t(42911),
              s = new A({
                Extends: a,
                initialize: function (i, o, h, l) {
                  var f = "text",
                    v = "txt",
                    m = i.cacheManager.text;
                  if (e(o)) {
                    var x = o;
                    ((o = n(x, "key")),
                      (h = n(x, "url")),
                      (l = n(x, "xhrSettings")),
                      (v = n(x, "extension", v)),
                      (f = n(x, "type", f)),
                      (m = n(x, "cache", m)));
                  }
                  var g = {
                    type: f,
                    cache: m,
                    extension: v,
                    responseType: "text",
                    key: o,
                    url: h,
                    xhrSettings: l,
                  };
                  a.call(this, i, g);
                },
                onProcess: function () {
                  ((this.state = c.FILE_PROCESSING),
                    (this.data = this.xhrLoader.responseText),
                    this.onProcessComplete());
                },
              });
            (r.register("text", function (u, i, o) {
              if (Array.isArray(u))
                for (var h = 0; h < u.length; h++)
                  this.addFile(new s(this, u[h]));
              else this.addFile(new s(this, u, i, o));
              return _____WB$wombat$check$this$function_____(this);
            }),
              (d.exports = s));
          },
          58673: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(12117),
              a = t(98035),
              r = t(76846),
              n = t(72632),
              e = t(42911),
              s = t(93560),
              u = new A({
                Extends: a,
                initialize: function (o, h, l, f) {
                  var v = "csv";
                  if (e(h)) {
                    var m = h;
                    ((h = n(m, "key")),
                      (l = n(m, "url")),
                      (f = n(m, "xhrSettings")),
                      (v = n(m, "extension", v)));
                  }
                  var x = {
                    type: "tilemapCSV",
                    cache: o.cacheManager.tilemap,
                    extension: v,
                    responseType: "text",
                    key: h,
                    url: l,
                    xhrSettings: f,
                  };
                  (a.call(this, o, x), (this.tilemapFormat = s.CSV));
                },
                onProcess: function () {
                  ((this.state = c.FILE_PROCESSING),
                    (this.data = this.xhrLoader.responseText),
                    this.onProcessComplete());
                },
                addToCache: function () {
                  var i = { format: this.tilemapFormat, data: this.data };
                  this.cache.add(this.key, i);
                },
              });
            (r.register("tilemapCSV", function (i, o, h) {
              if (Array.isArray(i))
                for (var l = 0; l < i.length; l++)
                  this.addFile(new u(this, i[l]));
              else this.addFile(new u(this, i, o, h));
              return _____WB$wombat$check$this$function_____(this);
            }),
              (d.exports = u));
          },
          98896: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(76846),
              a = t(70806),
              r = t(93560),
              n = new A({
                Extends: a,
                initialize: function (s, u, i, o) {
                  (a.call(this, s, u, i, o),
                    (this.type = "tilemapJSON"),
                    (this.cache = s.cacheManager.tilemap));
                },
                addToCache: function () {
                  var e = { format: r.WELTMEISTER, data: this.data };
                  this.cache.add(this.key, e);
                },
              });
            (c.register("tilemapImpact", function (e, s, u) {
              if (Array.isArray(e))
                for (var i = 0; i < e.length; i++)
                  this.addFile(new n(this, e[i]));
              else this.addFile(new n(this, e, s, u));
              return _____WB$wombat$check$this$function_____(this);
            }),
              (d.exports = n));
          },
          50563: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(76846),
              a = t(70806),
              r = t(93560),
              n = new A({
                Extends: a,
                initialize: function (s, u, i, o) {
                  (a.call(this, s, u, i, o),
                    (this.type = "tilemapJSON"),
                    (this.cache = s.cacheManager.tilemap));
                },
                addToCache: function () {
                  var e = { format: r.TILED_JSON, data: this.data };
                  this.cache.add(this.key, e);
                },
              });
            (c.register("tilemapTiledJSON", function (e, s, u) {
              if (Array.isArray(e))
                for (var i = 0; i < e.length; i++)
                  this.addFile(new n(this, e[i]));
              else this.addFile(new n(this, e, s, u));
              return _____WB$wombat$check$this$function_____(this);
            }),
              (d.exports = n));
          },
          82857: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(76846),
              a = t(72632),
              r = t(42927),
              n = t(42911),
              e = t(45176),
              s = t(86897),
              u = new A({
                Extends: e,
                initialize: function (o, h, l, f, v, m) {
                  var x, g;
                  if (n(h)) {
                    var C = h;
                    ((h = a(C, "key")),
                      (x = new r(o, {
                        key: h,
                        url: a(C, "textureURL"),
                        extension: a(C, "textureExtension", "png"),
                        normalMap: a(C, "normalMap"),
                        xhrSettings: a(C, "textureXhrSettings"),
                      })),
                      (g = new s(o, {
                        key: h,
                        url: a(C, "atlasURL"),
                        extension: a(C, "atlasExtension", "txt"),
                        xhrSettings: a(C, "atlasXhrSettings"),
                      })));
                  } else ((x = new r(o, h, l, v)), (g = new s(o, h, f, m)));
                  x.linkFile
                    ? e.call(this, o, "unityatlas", h, [x, g, x.linkFile])
                    : e.call(this, o, "unityatlas", h, [x, g]);
                },
                addToCache: function () {
                  if (this.isReadyToProcess()) {
                    var i = this.files[0],
                      o = this.files[1],
                      h = this.files[2] ? this.files[2].data : null;
                    (this.loader.textureManager.addUnityAtlas(
                      i.key,
                      i.data,
                      o.data,
                      h,
                    ),
                      (this.complete = !0));
                  }
                },
              });
            (c.register("unityAtlas", function (i, o, h, l, f) {
              var v;
              if (Array.isArray(i))
                for (var m = 0; m < i.length; m++)
                  ((v = new u(this, i[m])), this.addFile(v.files));
              else ((v = new u(this, i, o, h, l, f)), this.addFile(v.files));
              return _____WB$wombat$check$this$function_____(this);
            }),
              (d.exports = u));
          },
          22833: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(12117),
              a = t(98035),
              r = t(76846),
              n = t(30750),
              e = t(72632),
              s = t(42911),
              u = new A({
                Extends: a,
                initialize: function (o, h, l, f) {
                  if ((f === void 0 && (f = !1), s(h))) {
                    var v = h;
                    ((h = e(v, "key")),
                      (l = e(v, "url", [])),
                      (f = e(v, "noAudio", !1)));
                  }
                  var m = o.systems.game.device.video.getVideoURL(l);
                  m || console.warn("VideoFile: No supported format for " + h);
                  var x = {
                    type: "video",
                    cache: o.cacheManager.video,
                    extension: m.type,
                    key: h,
                    url: m.url,
                    config: { noAudio: f },
                  };
                  a.call(this, o, x);
                },
                onProcess: function () {
                  ((this.data = {
                    url: this.src,
                    noAudio: this.config.noAudio,
                    crossOrigin: this.crossOrigin,
                  }),
                    this.onProcessComplete());
                },
                load: function () {
                  ((this.src = n(this, this.loader.baseURL)),
                    (this.state = c.FILE_LOADED),
                    this.loader.nextFile(this, !0));
                },
              });
            (r.register("video", function (i, o, h) {
              if (Array.isArray(i))
                for (var l = 0; l < i.length; l++)
                  this.addFile(new u(this, i[l]));
              else this.addFile(new u(this, i, o, h));
              return _____WB$wombat$check$this$function_____(this);
            }),
              (d.exports = u));
          },
          15297: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(12117),
              a = t(98035),
              r = t(76846),
              n = t(72632),
              e = t(42911),
              s = t(89200),
              u = new A({
                Extends: a,
                initialize: function (o, h, l, f) {
                  var v = "xml";
                  if (e(h)) {
                    var m = h;
                    ((h = n(m, "key")),
                      (l = n(m, "url")),
                      (f = n(m, "xhrSettings")),
                      (v = n(m, "extension", v)));
                  }
                  var x = {
                    type: "xml",
                    cache: o.cacheManager.xml,
                    extension: v,
                    responseType: "text",
                    key: h,
                    url: l,
                    xhrSettings: f,
                  };
                  a.call(this, o, x);
                },
                onProcess: function () {
                  ((this.state = c.FILE_PROCESSING),
                    (this.data = s(this.xhrLoader.responseText)),
                    this.data
                      ? this.onProcessComplete()
                      : this.onProcessError());
                },
              });
            (r.register("xml", function (i, o, h) {
              if (Array.isArray(i))
                for (var l = 0; l < i.length; l++)
                  this.addFile(new u(this, i[l]));
              else this.addFile(new u(this, i, o, h));
              return _____WB$wombat$check$this$function_____(this);
            }),
              (d.exports = u));
          },
          34034: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              AnimationJSONFile: t(46468),
              AsepriteFile: t(31648),
              AtlasJSONFile: t(73152),
              AtlasXMLFile: t(24616),
              AudioFile: t(67448),
              AudioSpriteFile: t(66109),
              BinaryFile: t(40612),
              BitmapFontFile: t(54565),
              CompressedTextureFile: t(47375),
              CSSFile: t(99898),
              GLSLFile: t(46568),
              HTML5AudioFile: t(30929),
              HTMLFile: t(77459),
              HTMLTextureFile: t(9755),
              ImageFile: t(42927),
              JSONFile: t(70806),
              MultiAtlasFile: t(80802),
              MultiScriptFile: t(39034),
              OBJFile: t(85527),
              PackFile: t(3616),
              PluginFile: t(12217),
              SceneFile: t(95171),
              ScenePluginFile: t(82458),
              ScriptFile: t(55188),
              SpriteSheetFile: t(33536),
              SVGFile: t(4474),
              TextFile: t(86897),
              TilemapCSVFile: t(58673),
              TilemapImpactFile: t(98896),
              TilemapJSONFile: t(50563),
              UnityAtlasFile: t(82857),
              VideoFile: t(22833),
              XMLFile: t(15297),
            };
          },
          95695: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(12117),
              c = t(98611),
              a = {
                Events: t(683),
                FileTypes: t(34034),
                File: t(98035),
                FileTypesManager: t(76846),
                GetURL: t(30750),
                LoaderPlugin: t(67285),
                MergeXHRSettings: t(43531),
                MultiFile: t(45176),
                XHRLoader: t(88490),
                XHRSettings: t(33868),
              };
            ((a = c(!1, a, A)), (d.exports = a));
          },
          26042: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              for (var A = 0, c = 0; c < t.length; c++) A += +t[c];
              return A / t.length;
            };
            d.exports = y;
          },
          22824: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(8034),
              c = function (a, r) {
                return A(a) / A(r) / A(a - r);
              };
            d.exports = c;
          },
          17489: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return Math.floor(Math.random() * (A - t + 1) + t);
            };
            d.exports = y;
          },
          14976: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a, r) {
              var n = (a - A) * 0.5,
                e = (r - c) * 0.5,
                s = t * t,
                u = t * s;
              return (
                (2 * c - 2 * a + n + e) * u +
                (-3 * c + 3 * a - 2 * n - e) * s +
                n * t +
                c
              );
            };
            d.exports = y;
          },
          89129: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              (A === void 0 && (A = 0), c === void 0 && (c = 10));
              var a = Math.pow(c, -A);
              return Math.ceil(t * a) / a;
            };
            d.exports = y;
          },
          82897: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              return Math.max(A, Math.min(c, t));
            };
            d.exports = y;
          },
          75606: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(83392),
              c = function (a) {
                return a * A.DEG_TO_RAD;
              };
            d.exports = c;
          },
          767: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return Math.abs(t - A);
            };
            d.exports = y;
          },
          9849: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(82897),
              c = t(56694),
              a = t(16650),
              r = t(72283),
              n = new a(),
              e = new c({
                initialize: function s(u, i, o, h) {
                  (u === void 0 && (u = 0),
                    i === void 0 && (i = 0),
                    o === void 0 && (o = 0),
                    h === void 0 && (h = s.DefaultOrder),
                    (this._x = u),
                    (this._y = i),
                    (this._z = o),
                    (this._order = h),
                    (this.onChangeCallback = r));
                },
                x: {
                  get: function () {
                    return this._x;
                  },
                  set: function (s) {
                    ((this._x = s), this.onChangeCallback(this));
                  },
                },
                y: {
                  get: function () {
                    return this._y;
                  },
                  set: function (s) {
                    ((this._y = s), this.onChangeCallback(this));
                  },
                },
                z: {
                  get: function () {
                    return this._z;
                  },
                  set: function (s) {
                    ((this._z = s), this.onChangeCallback(this));
                  },
                },
                order: {
                  get: function () {
                    return this._order;
                  },
                  set: function (s) {
                    ((this._order = s), this.onChangeCallback(this));
                  },
                },
                set: function (s, u, i, o) {
                  return (
                    o === void 0 && (o = this._order),
                    (this._x = s),
                    (this._y = u),
                    (this._z = i),
                    (this._order = o),
                    this.onChangeCallback(this),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                copy: function (s) {
                  return this.set(s.x, s.y, s.z, s.order);
                },
                setFromQuaternion: function (s, u, i) {
                  return (
                    u === void 0 && (u = this._order),
                    i === void 0 && (i = !1),
                    n.fromQuat(s),
                    this.setFromRotationMatrix(n, u, i)
                  );
                },
                setFromRotationMatrix: function (s, u, i) {
                  (u === void 0 && (u = this._order), i === void 0 && (i = !1));
                  var o = s.val,
                    h = o[0],
                    l = o[4],
                    f = o[8],
                    v = o[1],
                    m = o[5],
                    x = o[9],
                    g = o[2],
                    C = o[6],
                    T = o[10],
                    F = 0,
                    w = 0,
                    U = 0,
                    M = 0.99999;
                  switch (u) {
                    case "XYZ": {
                      ((w = Math.asin(A(f, -1, 1))),
                        Math.abs(f) < M
                          ? ((F = Math.atan2(-x, T)), (U = Math.atan2(-l, h)))
                          : (F = Math.atan2(C, m)));
                      break;
                    }
                    case "YXZ": {
                      ((F = Math.asin(-A(x, -1, 1))),
                        Math.abs(x) < M
                          ? ((w = Math.atan2(f, T)), (U = Math.atan2(v, m)))
                          : (w = Math.atan2(-g, h)));
                      break;
                    }
                    case "ZXY": {
                      ((F = Math.asin(A(C, -1, 1))),
                        Math.abs(C) < M
                          ? ((w = Math.atan2(-g, T)), (U = Math.atan2(-l, m)))
                          : (U = Math.atan2(v, h)));
                      break;
                    }
                    case "ZYX": {
                      ((w = Math.asin(-A(g, -1, 1))),
                        Math.abs(g) < M
                          ? ((F = Math.atan2(C, T)), (U = Math.atan2(v, h)))
                          : (U = Math.atan2(-l, m)));
                      break;
                    }
                    case "YZX": {
                      ((U = Math.asin(A(v, -1, 1))),
                        Math.abs(v) < M
                          ? ((F = Math.atan2(-x, m)), (w = Math.atan2(-g, h)))
                          : (w = Math.atan2(f, T)));
                      break;
                    }
                    case "XZY": {
                      ((U = Math.asin(-A(l, -1, 1))),
                        Math.abs(l) < M
                          ? ((F = Math.atan2(C, m)), (w = Math.atan2(f, h)))
                          : (F = Math.atan2(-x, T)));
                      break;
                    }
                  }
                  return (
                    (this._x = F),
                    (this._y = w),
                    (this._z = U),
                    (this._order = u),
                    i && this.onChangeCallback(this),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
              });
            ((e.RotationOrders = ["XYZ", "YXZ", "ZXY", "ZYX", "YZX", "XZY"]),
              (e.DefaultOrder = "XYZ"),
              (d.exports = e));
          },
          8034: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              if (t === 0) return 1;
              for (var A = t; --t; ) A *= t;
              return A;
            };
            d.exports = y;
          },
          61616: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return Math.random() * (A - t) + t;
            };
            d.exports = y;
          },
          60679: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              (A === void 0 && (A = 0), c === void 0 && (c = 10));
              var a = Math.pow(c, -A);
              return Math.floor(t * a) / a;
            };
            d.exports = y;
          },
          91806: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(82897),
              c = function (a, r, n) {
                return ((a = A(a, 0, 1)), (n - r) * a + r);
              };
            d.exports = c;
          },
          79366: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return t / A / 1e3;
            };
            d.exports = y;
          },
          43776: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return t == parseFloat(t) ? !(t % 2) : void 0;
            };
            d.exports = y;
          },
          58442: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return t === parseFloat(t) ? !(t % 2) : void 0;
            };
            d.exports = y;
          },
          42798: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              return (A - t) * c + t;
            };
            d.exports = y;
          },
          61072: (d) => {
            /**
             * @author       Greg McLean <GregDevProjects>
             * @copyright    2021 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              return (c === void 0 && (c = 0), t.clone().lerp(A, c));
            };
            d.exports = y;
          },
          5341: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = new A({
                initialize: function (r) {
                  ((this.val = new Float32Array(9)),
                    r ? this.copy(r) : this.identity());
                },
                clone: function () {
                  return new c(this);
                },
                set: function (a) {
                  return this.copy(a);
                },
                copy: function (a) {
                  var r = this.val,
                    n = a.val;
                  return (
                    (r[0] = n[0]),
                    (r[1] = n[1]),
                    (r[2] = n[2]),
                    (r[3] = n[3]),
                    (r[4] = n[4]),
                    (r[5] = n[5]),
                    (r[6] = n[6]),
                    (r[7] = n[7]),
                    (r[8] = n[8]),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                fromMat4: function (a) {
                  var r = a.val,
                    n = this.val;
                  return (
                    (n[0] = r[0]),
                    (n[1] = r[1]),
                    (n[2] = r[2]),
                    (n[3] = r[4]),
                    (n[4] = r[5]),
                    (n[5] = r[6]),
                    (n[6] = r[8]),
                    (n[7] = r[9]),
                    (n[8] = r[10]),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                fromArray: function (a) {
                  var r = this.val;
                  return (
                    (r[0] = a[0]),
                    (r[1] = a[1]),
                    (r[2] = a[2]),
                    (r[3] = a[3]),
                    (r[4] = a[4]),
                    (r[5] = a[5]),
                    (r[6] = a[6]),
                    (r[7] = a[7]),
                    (r[8] = a[8]),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                identity: function () {
                  var a = this.val;
                  return (
                    (a[0] = 1),
                    (a[1] = 0),
                    (a[2] = 0),
                    (a[3] = 0),
                    (a[4] = 1),
                    (a[5] = 0),
                    (a[6] = 0),
                    (a[7] = 0),
                    (a[8] = 1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                transpose: function () {
                  var a = this.val,
                    r = a[1],
                    n = a[2],
                    e = a[5];
                  return (
                    (a[1] = a[3]),
                    (a[2] = a[6]),
                    (a[3] = r),
                    (a[5] = a[7]),
                    (a[6] = n),
                    (a[7] = e),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                invert: function () {
                  var a = this.val,
                    r = a[0],
                    n = a[1],
                    e = a[2],
                    s = a[3],
                    u = a[4],
                    i = a[5],
                    o = a[6],
                    h = a[7],
                    l = a[8],
                    f = l * u - i * h,
                    v = -l * s + i * o,
                    m = h * s - u * o,
                    x = r * f + n * v + e * m;
                  return x
                    ? ((x = 1 / x),
                      (a[0] = f * x),
                      (a[1] = (-l * n + e * h) * x),
                      (a[2] = (i * n - e * u) * x),
                      (a[3] = v * x),
                      (a[4] = (l * r - e * o) * x),
                      (a[5] = (-i * r + e * s) * x),
                      (a[6] = m * x),
                      (a[7] = (-h * r + n * o) * x),
                      (a[8] = (u * r - n * s) * x),
                      _____WB$wombat$check$this$function_____(this))
                    : null;
                },
                adjoint: function () {
                  var a = this.val,
                    r = a[0],
                    n = a[1],
                    e = a[2],
                    s = a[3],
                    u = a[4],
                    i = a[5],
                    o = a[6],
                    h = a[7],
                    l = a[8];
                  return (
                    (a[0] = u * l - i * h),
                    (a[1] = e * h - n * l),
                    (a[2] = n * i - e * u),
                    (a[3] = i * o - s * l),
                    (a[4] = r * l - e * o),
                    (a[5] = e * s - r * i),
                    (a[6] = s * h - u * o),
                    (a[7] = n * o - r * h),
                    (a[8] = r * u - n * s),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                determinant: function () {
                  var a = this.val,
                    r = a[0],
                    n = a[1],
                    e = a[2],
                    s = a[3],
                    u = a[4],
                    i = a[5],
                    o = a[6],
                    h = a[7],
                    l = a[8];
                  return (
                    r * (l * u - i * h) +
                    n * (-l * s + i * o) +
                    e * (h * s - u * o)
                  );
                },
                multiply: function (a) {
                  var r = this.val,
                    n = r[0],
                    e = r[1],
                    s = r[2],
                    u = r[3],
                    i = r[4],
                    o = r[5],
                    h = r[6],
                    l = r[7],
                    f = r[8],
                    v = a.val,
                    m = v[0],
                    x = v[1],
                    g = v[2],
                    C = v[3],
                    T = v[4],
                    F = v[5],
                    w = v[6],
                    U = v[7],
                    M = v[8];
                  return (
                    (r[0] = m * n + x * u + g * h),
                    (r[1] = m * e + x * i + g * l),
                    (r[2] = m * s + x * o + g * f),
                    (r[3] = C * n + T * u + F * h),
                    (r[4] = C * e + T * i + F * l),
                    (r[5] = C * s + T * o + F * f),
                    (r[6] = w * n + U * u + M * h),
                    (r[7] = w * e + U * i + M * l),
                    (r[8] = w * s + U * o + M * f),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                translate: function (a) {
                  var r = this.val,
                    n = a.x,
                    e = a.y;
                  return (
                    (r[6] = n * r[0] + e * r[3] + r[6]),
                    (r[7] = n * r[1] + e * r[4] + r[7]),
                    (r[8] = n * r[2] + e * r[5] + r[8]),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                rotate: function (a) {
                  var r = this.val,
                    n = r[0],
                    e = r[1],
                    s = r[2],
                    u = r[3],
                    i = r[4],
                    o = r[5],
                    h = Math.sin(a),
                    l = Math.cos(a);
                  return (
                    (r[0] = l * n + h * u),
                    (r[1] = l * e + h * i),
                    (r[2] = l * s + h * o),
                    (r[3] = l * u - h * n),
                    (r[4] = l * i - h * e),
                    (r[5] = l * o - h * s),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                scale: function (a) {
                  var r = this.val,
                    n = a.x,
                    e = a.y;
                  return (
                    (r[0] = n * r[0]),
                    (r[1] = n * r[1]),
                    (r[2] = n * r[2]),
                    (r[3] = e * r[3]),
                    (r[4] = e * r[4]),
                    (r[5] = e * r[5]),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                fromQuat: function (a) {
                  var r = a.x,
                    n = a.y,
                    e = a.z,
                    s = a.w,
                    u = r + r,
                    i = n + n,
                    o = e + e,
                    h = r * u,
                    l = r * i,
                    f = r * o,
                    v = n * i,
                    m = n * o,
                    x = e * o,
                    g = s * u,
                    C = s * i,
                    T = s * o,
                    F = this.val;
                  return (
                    (F[0] = 1 - (v + x)),
                    (F[3] = l + T),
                    (F[6] = f - C),
                    (F[1] = l - T),
                    (F[4] = 1 - (h + x)),
                    (F[7] = m + g),
                    (F[2] = f + C),
                    (F[5] = m - g),
                    (F[8] = 1 - (h + v)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                normalFromMat4: function (a) {
                  var r = a.val,
                    n = this.val,
                    e = r[0],
                    s = r[1],
                    u = r[2],
                    i = r[3],
                    o = r[4],
                    h = r[5],
                    l = r[6],
                    f = r[7],
                    v = r[8],
                    m = r[9],
                    x = r[10],
                    g = r[11],
                    C = r[12],
                    T = r[13],
                    F = r[14],
                    w = r[15],
                    U = e * h - s * o,
                    M = e * l - u * o,
                    I = e * f - i * o,
                    O = s * l - u * h,
                    D = s * f - i * h,
                    G = u * f - i * l,
                    X = v * T - m * C,
                    z = v * F - x * C,
                    K = v * w - g * C,
                    N = m * F - x * T,
                    b = m * w - g * T,
                    R = x * w - g * F,
                    H = U * R - M * b + I * N + O * K - D * z + G * X;
                  return H
                    ? ((H = 1 / H),
                      (n[0] = (h * R - l * b + f * N) * H),
                      (n[1] = (l * K - o * R - f * z) * H),
                      (n[2] = (o * b - h * K + f * X) * H),
                      (n[3] = (u * b - s * R - i * N) * H),
                      (n[4] = (e * R - u * K + i * z) * H),
                      (n[5] = (s * K - e * b - i * X) * H),
                      (n[6] = (T * G - F * D + w * O) * H),
                      (n[7] = (F * I - C * G - w * M) * H),
                      (n[8] = (C * D - T * I + w * U) * H),
                      _____WB$wombat$check$this$function_____(this))
                    : null;
                },
              });
            d.exports = c;
          },
          16650: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(70015),
              a = 1e-6,
              r = new A({
                initialize: function (h) {
                  ((this.val = new Float32Array(16)),
                    h ? this.copy(h) : this.identity());
                },
                clone: function () {
                  return new r(this);
                },
                set: function (o) {
                  return this.copy(o);
                },
                setValues: function (
                  o,
                  h,
                  l,
                  f,
                  v,
                  m,
                  x,
                  g,
                  C,
                  T,
                  F,
                  w,
                  U,
                  M,
                  I,
                  O,
                ) {
                  var D = this.val;
                  return (
                    (D[0] = o),
                    (D[1] = h),
                    (D[2] = l),
                    (D[3] = f),
                    (D[4] = v),
                    (D[5] = m),
                    (D[6] = x),
                    (D[7] = g),
                    (D[8] = C),
                    (D[9] = T),
                    (D[10] = F),
                    (D[11] = w),
                    (D[12] = U),
                    (D[13] = M),
                    (D[14] = I),
                    (D[15] = O),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                copy: function (o) {
                  var h = o.val;
                  return this.setValues(
                    h[0],
                    h[1],
                    h[2],
                    h[3],
                    h[4],
                    h[5],
                    h[6],
                    h[7],
                    h[8],
                    h[9],
                    h[10],
                    h[11],
                    h[12],
                    h[13],
                    h[14],
                    h[15],
                  );
                },
                fromArray: function (o) {
                  return this.setValues(
                    o[0],
                    o[1],
                    o[2],
                    o[3],
                    o[4],
                    o[5],
                    o[6],
                    o[7],
                    o[8],
                    o[9],
                    o[10],
                    o[11],
                    o[12],
                    o[13],
                    o[14],
                    o[15],
                  );
                },
                zero: function () {
                  return this.setValues(
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                  );
                },
                transform: function (o, h, l) {
                  var f = n.fromQuat(l),
                    v = f.val,
                    m = h.x,
                    x = h.y,
                    g = h.z;
                  return this.setValues(
                    v[0] * m,
                    v[1] * m,
                    v[2] * m,
                    0,
                    v[4] * x,
                    v[5] * x,
                    v[6] * x,
                    0,
                    v[8] * g,
                    v[9] * g,
                    v[10] * g,
                    0,
                    o.x,
                    o.y,
                    o.z,
                    1,
                  );
                },
                xyz: function (o, h, l) {
                  this.identity();
                  var f = this.val;
                  return (
                    (f[12] = o),
                    (f[13] = h),
                    (f[14] = l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                scaling: function (o, h, l) {
                  this.zero();
                  var f = this.val;
                  return (
                    (f[0] = o),
                    (f[5] = h),
                    (f[10] = l),
                    (f[15] = 1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                identity: function () {
                  return this.setValues(
                    1,
                    0,
                    0,
                    0,
                    0,
                    1,
                    0,
                    0,
                    0,
                    0,
                    1,
                    0,
                    0,
                    0,
                    0,
                    1,
                  );
                },
                transpose: function () {
                  var o = this.val,
                    h = o[1],
                    l = o[2],
                    f = o[3],
                    v = o[6],
                    m = o[7],
                    x = o[11];
                  return (
                    (o[1] = o[4]),
                    (o[2] = o[8]),
                    (o[3] = o[12]),
                    (o[4] = h),
                    (o[6] = o[9]),
                    (o[7] = o[13]),
                    (o[8] = l),
                    (o[9] = v),
                    (o[11] = o[14]),
                    (o[12] = f),
                    (o[13] = m),
                    (o[14] = x),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getInverse: function (o) {
                  return (this.copy(o), this.invert());
                },
                invert: function () {
                  var o = this.val,
                    h = o[0],
                    l = o[1],
                    f = o[2],
                    v = o[3],
                    m = o[4],
                    x = o[5],
                    g = o[6],
                    C = o[7],
                    T = o[8],
                    F = o[9],
                    w = o[10],
                    U = o[11],
                    M = o[12],
                    I = o[13],
                    O = o[14],
                    D = o[15],
                    G = h * x - l * m,
                    X = h * g - f * m,
                    z = h * C - v * m,
                    K = l * g - f * x,
                    N = l * C - v * x,
                    b = f * C - v * g,
                    R = T * I - F * M,
                    H = T * O - w * M,
                    Q = T * D - U * M,
                    V = F * O - w * I,
                    Y = F * D - U * I,
                    J = w * D - U * O,
                    $ = G * J - X * Y + z * V + K * Q - N * H + b * R;
                  return $
                    ? (($ = 1 / $),
                      this.setValues(
                        (x * J - g * Y + C * V) * $,
                        (f * Y - l * J - v * V) * $,
                        (I * b - O * N + D * K) * $,
                        (w * N - F * b - U * K) * $,
                        (g * Q - m * J - C * H) * $,
                        (h * J - f * Q + v * H) * $,
                        (O * z - M * b - D * X) * $,
                        (T * b - w * z + U * X) * $,
                        (m * Y - x * Q + C * R) * $,
                        (l * Q - h * Y - v * R) * $,
                        (M * N - I * z + D * G) * $,
                        (F * z - T * N - U * G) * $,
                        (x * H - m * V - g * R) * $,
                        (h * V - l * H + f * R) * $,
                        (I * X - M * K - O * G) * $,
                        (T * K - F * X + w * G) * $,
                      ))
                    : this;
                },
                adjoint: function () {
                  var o = this.val,
                    h = o[0],
                    l = o[1],
                    f = o[2],
                    v = o[3],
                    m = o[4],
                    x = o[5],
                    g = o[6],
                    C = o[7],
                    T = o[8],
                    F = o[9],
                    w = o[10],
                    U = o[11],
                    M = o[12],
                    I = o[13],
                    O = o[14],
                    D = o[15];
                  return this.setValues(
                    x * (w * D - U * O) -
                      F * (g * D - C * O) +
                      I * (g * U - C * w),
                    -(
                      l * (w * D - U * O) -
                      F * (f * D - v * O) +
                      I * (f * U - v * w)
                    ),
                    l * (g * D - C * O) -
                      x * (f * D - v * O) +
                      I * (f * C - v * g),
                    -(
                      l * (g * U - C * w) -
                      x * (f * U - v * w) +
                      F * (f * C - v * g)
                    ),
                    -(
                      m * (w * D - U * O) -
                      T * (g * D - C * O) +
                      M * (g * U - C * w)
                    ),
                    h * (w * D - U * O) -
                      T * (f * D - v * O) +
                      M * (f * U - v * w),
                    -(
                      h * (g * D - C * O) -
                      m * (f * D - v * O) +
                      M * (f * C - v * g)
                    ),
                    h * (g * U - C * w) -
                      m * (f * U - v * w) +
                      T * (f * C - v * g),
                    m * (F * D - U * I) -
                      T * (x * D - C * I) +
                      M * (x * U - C * F),
                    -(
                      h * (F * D - U * I) -
                      T * (l * D - v * I) +
                      M * (l * U - v * F)
                    ),
                    h * (x * D - C * I) -
                      m * (l * D - v * I) +
                      M * (l * C - v * x),
                    -(
                      h * (x * U - C * F) -
                      m * (l * U - v * F) +
                      T * (l * C - v * x)
                    ),
                    -(
                      m * (F * O - w * I) -
                      T * (x * O - g * I) +
                      M * (x * w - g * F)
                    ),
                    h * (F * O - w * I) -
                      T * (l * O - f * I) +
                      M * (l * w - f * F),
                    -(
                      h * (x * O - g * I) -
                      m * (l * O - f * I) +
                      M * (l * g - f * x)
                    ),
                    h * (x * w - g * F) -
                      m * (l * w - f * F) +
                      T * (l * g - f * x),
                  );
                },
                determinant: function () {
                  var o = this.val,
                    h = o[0],
                    l = o[1],
                    f = o[2],
                    v = o[3],
                    m = o[4],
                    x = o[5],
                    g = o[6],
                    C = o[7],
                    T = o[8],
                    F = o[9],
                    w = o[10],
                    U = o[11],
                    M = o[12],
                    I = o[13],
                    O = o[14],
                    D = o[15],
                    G = h * x - l * m,
                    X = h * g - f * m,
                    z = h * C - v * m,
                    K = l * g - f * x,
                    N = l * C - v * x,
                    b = f * C - v * g,
                    R = T * I - F * M,
                    H = T * O - w * M,
                    Q = T * D - U * M,
                    V = F * O - w * I,
                    Y = F * D - U * I,
                    J = w * D - U * O;
                  return G * J - X * Y + z * V + K * Q - N * H + b * R;
                },
                multiply: function (o) {
                  var h = this.val,
                    l = h[0],
                    f = h[1],
                    v = h[2],
                    m = h[3],
                    x = h[4],
                    g = h[5],
                    C = h[6],
                    T = h[7],
                    F = h[8],
                    w = h[9],
                    U = h[10],
                    M = h[11],
                    I = h[12],
                    O = h[13],
                    D = h[14],
                    G = h[15],
                    X = o.val,
                    z = X[0],
                    K = X[1],
                    N = X[2],
                    b = X[3];
                  return (
                    (h[0] = z * l + K * x + N * F + b * I),
                    (h[1] = z * f + K * g + N * w + b * O),
                    (h[2] = z * v + K * C + N * U + b * D),
                    (h[3] = z * m + K * T + N * M + b * G),
                    (z = X[4]),
                    (K = X[5]),
                    (N = X[6]),
                    (b = X[7]),
                    (h[4] = z * l + K * x + N * F + b * I),
                    (h[5] = z * f + K * g + N * w + b * O),
                    (h[6] = z * v + K * C + N * U + b * D),
                    (h[7] = z * m + K * T + N * M + b * G),
                    (z = X[8]),
                    (K = X[9]),
                    (N = X[10]),
                    (b = X[11]),
                    (h[8] = z * l + K * x + N * F + b * I),
                    (h[9] = z * f + K * g + N * w + b * O),
                    (h[10] = z * v + K * C + N * U + b * D),
                    (h[11] = z * m + K * T + N * M + b * G),
                    (z = X[12]),
                    (K = X[13]),
                    (N = X[14]),
                    (b = X[15]),
                    (h[12] = z * l + K * x + N * F + b * I),
                    (h[13] = z * f + K * g + N * w + b * O),
                    (h[14] = z * v + K * C + N * U + b * D),
                    (h[15] = z * m + K * T + N * M + b * G),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                multiplyLocal: function (o) {
                  var h = this.val,
                    l = o.val;
                  return this.setValues(
                    h[0] * l[0] + h[1] * l[4] + h[2] * l[8] + h[3] * l[12],
                    h[0] * l[1] + h[1] * l[5] + h[2] * l[9] + h[3] * l[13],
                    h[0] * l[2] + h[1] * l[6] + h[2] * l[10] + h[3] * l[14],
                    h[0] * l[3] + h[1] * l[7] + h[2] * l[11] + h[3] * l[15],
                    h[4] * l[0] + h[5] * l[4] + h[6] * l[8] + h[7] * l[12],
                    h[4] * l[1] + h[5] * l[5] + h[6] * l[9] + h[7] * l[13],
                    h[4] * l[2] + h[5] * l[6] + h[6] * l[10] + h[7] * l[14],
                    h[4] * l[3] + h[5] * l[7] + h[6] * l[11] + h[7] * l[15],
                    h[8] * l[0] + h[9] * l[4] + h[10] * l[8] + h[11] * l[12],
                    h[8] * l[1] + h[9] * l[5] + h[10] * l[9] + h[11] * l[13],
                    h[8] * l[2] + h[9] * l[6] + h[10] * l[10] + h[11] * l[14],
                    h[8] * l[3] + h[9] * l[7] + h[10] * l[11] + h[11] * l[15],
                    h[12] * l[0] + h[13] * l[4] + h[14] * l[8] + h[15] * l[12],
                    h[12] * l[1] + h[13] * l[5] + h[14] * l[9] + h[15] * l[13],
                    h[12] * l[2] + h[13] * l[6] + h[14] * l[10] + h[15] * l[14],
                    h[12] * l[3] + h[13] * l[7] + h[14] * l[11] + h[15] * l[15],
                  );
                },
                premultiply: function (o) {
                  return this.multiplyMatrices(
                    o,
                    _____WB$wombat$check$this$function_____(this),
                  );
                },
                multiplyMatrices: function (o, h) {
                  var l = o.val,
                    f = h.val,
                    v = l[0],
                    m = l[4],
                    x = l[8],
                    g = l[12],
                    C = l[1],
                    T = l[5],
                    F = l[9],
                    w = l[13],
                    U = l[2],
                    M = l[6],
                    I = l[10],
                    O = l[14],
                    D = l[3],
                    G = l[7],
                    X = l[11],
                    z = l[15],
                    K = f[0],
                    N = f[4],
                    b = f[8],
                    R = f[12],
                    H = f[1],
                    Q = f[5],
                    V = f[9],
                    Y = f[13],
                    J = f[2],
                    $ = f[6],
                    W = f[10],
                    Z = f[14],
                    j = f[3],
                    k = f[7],
                    _ = f[11],
                    q = f[15];
                  return this.setValues(
                    v * K + m * H + x * J + g * j,
                    C * K + T * H + F * J + w * j,
                    U * K + M * H + I * J + O * j,
                    D * K + G * H + X * J + z * j,
                    v * N + m * Q + x * $ + g * k,
                    C * N + T * Q + F * $ + w * k,
                    U * N + M * Q + I * $ + O * k,
                    D * N + G * Q + X * $ + z * k,
                    v * b + m * V + x * W + g * _,
                    C * b + T * V + F * W + w * _,
                    U * b + M * V + I * W + O * _,
                    D * b + G * V + X * W + z * _,
                    v * R + m * Y + x * Z + g * q,
                    C * R + T * Y + F * Z + w * q,
                    U * R + M * Y + I * Z + O * q,
                    D * R + G * Y + X * Z + z * q,
                  );
                },
                translate: function (o) {
                  return this.translateXYZ(o.x, o.y, o.z);
                },
                translateXYZ: function (o, h, l) {
                  var f = this.val;
                  return (
                    (f[12] = f[0] * o + f[4] * h + f[8] * l + f[12]),
                    (f[13] = f[1] * o + f[5] * h + f[9] * l + f[13]),
                    (f[14] = f[2] * o + f[6] * h + f[10] * l + f[14]),
                    (f[15] = f[3] * o + f[7] * h + f[11] * l + f[15]),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                scale: function (o) {
                  return this.scaleXYZ(o.x, o.y, o.z);
                },
                scaleXYZ: function (o, h, l) {
                  var f = this.val;
                  return (
                    (f[0] = f[0] * o),
                    (f[1] = f[1] * o),
                    (f[2] = f[2] * o),
                    (f[3] = f[3] * o),
                    (f[4] = f[4] * h),
                    (f[5] = f[5] * h),
                    (f[6] = f[6] * h),
                    (f[7] = f[7] * h),
                    (f[8] = f[8] * l),
                    (f[9] = f[9] * l),
                    (f[10] = f[10] * l),
                    (f[11] = f[11] * l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                makeRotationAxis: function (o, h) {
                  var l = Math.cos(h),
                    f = Math.sin(h),
                    v = 1 - l,
                    m = o.x,
                    x = o.y,
                    g = o.z,
                    C = v * m,
                    T = v * x;
                  return this.setValues(
                    C * m + l,
                    C * x - f * g,
                    C * g + f * x,
                    0,
                    C * x + f * g,
                    T * x + l,
                    T * g - f * m,
                    0,
                    C * g - f * x,
                    T * g + f * m,
                    v * g * g + l,
                    0,
                    0,
                    0,
                    0,
                    1,
                  );
                },
                rotate: function (o, h) {
                  var l = this.val,
                    f = h.x,
                    v = h.y,
                    m = h.z,
                    x = Math.sqrt(f * f + v * v + m * m);
                  if (Math.abs(x) < a)
                    return _____WB$wombat$check$this$function_____(this);
                  ((x = 1 / x), (f *= x), (v *= x), (m *= x));
                  var g = Math.sin(o),
                    C = Math.cos(o),
                    T = 1 - C,
                    F = l[0],
                    w = l[1],
                    U = l[2],
                    M = l[3],
                    I = l[4],
                    O = l[5],
                    D = l[6],
                    G = l[7],
                    X = l[8],
                    z = l[9],
                    K = l[10],
                    N = l[11],
                    b = l[12],
                    R = l[13],
                    H = l[14],
                    Q = l[15],
                    V = f * f * T + C,
                    Y = v * f * T + m * g,
                    J = m * f * T - v * g,
                    $ = f * v * T - m * g,
                    W = v * v * T + C,
                    Z = m * v * T + f * g,
                    j = f * m * T + v * g,
                    k = v * m * T - f * g,
                    _ = m * m * T + C;
                  return this.setValues(
                    F * V + I * Y + X * J,
                    w * V + O * Y + z * J,
                    U * V + D * Y + K * J,
                    M * V + G * Y + N * J,
                    F * $ + I * W + X * Z,
                    w * $ + O * W + z * Z,
                    U * $ + D * W + K * Z,
                    M * $ + G * W + N * Z,
                    F * j + I * k + X * _,
                    w * j + O * k + z * _,
                    U * j + D * k + K * _,
                    M * j + G * k + N * _,
                    b,
                    R,
                    H,
                    Q,
                  );
                },
                rotateX: function (o) {
                  var h = this.val,
                    l = Math.sin(o),
                    f = Math.cos(o),
                    v = h[4],
                    m = h[5],
                    x = h[6],
                    g = h[7],
                    C = h[8],
                    T = h[9],
                    F = h[10],
                    w = h[11];
                  return (
                    (h[4] = v * f + C * l),
                    (h[5] = m * f + T * l),
                    (h[6] = x * f + F * l),
                    (h[7] = g * f + w * l),
                    (h[8] = C * f - v * l),
                    (h[9] = T * f - m * l),
                    (h[10] = F * f - x * l),
                    (h[11] = w * f - g * l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                rotateY: function (o) {
                  var h = this.val,
                    l = Math.sin(o),
                    f = Math.cos(o),
                    v = h[0],
                    m = h[1],
                    x = h[2],
                    g = h[3],
                    C = h[8],
                    T = h[9],
                    F = h[10],
                    w = h[11];
                  return (
                    (h[0] = v * f - C * l),
                    (h[1] = m * f - T * l),
                    (h[2] = x * f - F * l),
                    (h[3] = g * f - w * l),
                    (h[8] = v * l + C * f),
                    (h[9] = m * l + T * f),
                    (h[10] = x * l + F * f),
                    (h[11] = g * l + w * f),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                rotateZ: function (o) {
                  var h = this.val,
                    l = Math.sin(o),
                    f = Math.cos(o),
                    v = h[0],
                    m = h[1],
                    x = h[2],
                    g = h[3],
                    C = h[4],
                    T = h[5],
                    F = h[6],
                    w = h[7];
                  return (
                    (h[0] = v * f + C * l),
                    (h[1] = m * f + T * l),
                    (h[2] = x * f + F * l),
                    (h[3] = g * f + w * l),
                    (h[4] = C * f - v * l),
                    (h[5] = T * f - m * l),
                    (h[6] = F * f - x * l),
                    (h[7] = w * f - g * l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                fromRotationTranslation: function (o, h) {
                  var l = o.x,
                    f = o.y,
                    v = o.z,
                    m = o.w,
                    x = l + l,
                    g = f + f,
                    C = v + v,
                    T = l * x,
                    F = l * g,
                    w = l * C,
                    U = f * g,
                    M = f * C,
                    I = v * C,
                    O = m * x,
                    D = m * g,
                    G = m * C;
                  return this.setValues(
                    1 - (U + I),
                    F + G,
                    w - D,
                    0,
                    F - G,
                    1 - (T + I),
                    M + O,
                    0,
                    w + D,
                    M - O,
                    1 - (T + U),
                    0,
                    h.x,
                    h.y,
                    h.z,
                    1,
                  );
                },
                fromQuat: function (o) {
                  var h = o.x,
                    l = o.y,
                    f = o.z,
                    v = o.w,
                    m = h + h,
                    x = l + l,
                    g = f + f,
                    C = h * m,
                    T = h * x,
                    F = h * g,
                    w = l * x,
                    U = l * g,
                    M = f * g,
                    I = v * m,
                    O = v * x,
                    D = v * g;
                  return this.setValues(
                    1 - (w + M),
                    T + D,
                    F - O,
                    0,
                    T - D,
                    1 - (C + M),
                    U + I,
                    0,
                    F + O,
                    U - I,
                    1 - (C + w),
                    0,
                    0,
                    0,
                    0,
                    1,
                  );
                },
                frustum: function (o, h, l, f, v, m) {
                  var x = 1 / (h - o),
                    g = 1 / (f - l),
                    C = 1 / (v - m);
                  return this.setValues(
                    v * 2 * x,
                    0,
                    0,
                    0,
                    0,
                    v * 2 * g,
                    0,
                    0,
                    (h + o) * x,
                    (f + l) * g,
                    (m + v) * C,
                    -1,
                    0,
                    0,
                    m * v * 2 * C,
                    0,
                  );
                },
                perspective: function (o, h, l, f) {
                  var v = 1 / Math.tan(o / 2),
                    m = 1 / (l - f);
                  return this.setValues(
                    v / h,
                    0,
                    0,
                    0,
                    0,
                    v,
                    0,
                    0,
                    0,
                    0,
                    (f + l) * m,
                    -1,
                    0,
                    0,
                    2 * f * l * m,
                    0,
                  );
                },
                perspectiveLH: function (o, h, l, f) {
                  return this.setValues(
                    (2 * l) / o,
                    0,
                    0,
                    0,
                    0,
                    (2 * l) / h,
                    0,
                    0,
                    0,
                    0,
                    -f / (l - f),
                    1,
                    0,
                    0,
                    (l * f) / (l - f),
                    0,
                  );
                },
                ortho: function (o, h, l, f, v, m) {
                  var x = o - h,
                    g = l - f,
                    C = v - m;
                  return (
                    (x = x === 0 ? x : 1 / x),
                    (g = g === 0 ? g : 1 / g),
                    (C = C === 0 ? C : 1 / C),
                    this.setValues(
                      -2 * x,
                      0,
                      0,
                      0,
                      0,
                      -2 * g,
                      0,
                      0,
                      0,
                      0,
                      2 * C,
                      0,
                      (o + h) * x,
                      (f + l) * g,
                      (m + v) * C,
                      1,
                    )
                  );
                },
                lookAtRH: function (o, h, l) {
                  var f = this.val;
                  return (
                    i.subVectors(o, h),
                    i.getLengthSquared() === 0 && (i.z = 1),
                    i.normalize(),
                    s.crossVectors(l, i),
                    s.getLengthSquared() === 0 &&
                      (Math.abs(l.z) === 1 ? (i.x += 1e-4) : (i.z += 1e-4),
                      i.normalize(),
                      s.crossVectors(l, i)),
                    s.normalize(),
                    u.crossVectors(i, s),
                    (f[0] = s.x),
                    (f[1] = s.y),
                    (f[2] = s.z),
                    (f[4] = u.x),
                    (f[5] = u.y),
                    (f[6] = u.z),
                    (f[8] = i.x),
                    (f[9] = i.y),
                    (f[10] = i.z),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                lookAt: function (o, h, l) {
                  var f = o.x,
                    v = o.y,
                    m = o.z,
                    x = l.x,
                    g = l.y,
                    C = l.z,
                    T = h.x,
                    F = h.y,
                    w = h.z;
                  if (
                    Math.abs(f - T) < a &&
                    Math.abs(v - F) < a &&
                    Math.abs(m - w) < a
                  )
                    return this.identity();
                  var U = f - T,
                    M = v - F,
                    I = m - w,
                    O = 1 / Math.sqrt(U * U + M * M + I * I);
                  ((U *= O), (M *= O), (I *= O));
                  var D = g * I - C * M,
                    G = C * U - x * I,
                    X = x * M - g * U;
                  ((O = Math.sqrt(D * D + G * G + X * X)),
                    O
                      ? ((O = 1 / O), (D *= O), (G *= O), (X *= O))
                      : ((D = 0), (G = 0), (X = 0)));
                  var z = M * X - I * G,
                    K = I * D - U * X,
                    N = U * G - M * D;
                  return (
                    (O = Math.sqrt(z * z + K * K + N * N)),
                    O
                      ? ((O = 1 / O), (z *= O), (K *= O), (N *= O))
                      : ((z = 0), (K = 0), (N = 0)),
                    this.setValues(
                      D,
                      z,
                      U,
                      0,
                      G,
                      K,
                      M,
                      0,
                      X,
                      N,
                      I,
                      0,
                      -(D * f + G * v + X * m),
                      -(z * f + K * v + N * m),
                      -(U * f + M * v + I * m),
                      1,
                    )
                  );
                },
                yawPitchRoll: function (o, h, l) {
                  (this.zero(), n.zero(), e.zero());
                  var f = this.val,
                    v = n.val,
                    m = e.val,
                    x = Math.sin(l),
                    g = Math.cos(l);
                  return (
                    (f[10] = 1),
                    (f[15] = 1),
                    (f[0] = g),
                    (f[1] = x),
                    (f[4] = -x),
                    (f[5] = g),
                    (x = Math.sin(h)),
                    (g = Math.cos(h)),
                    (v[0] = 1),
                    (v[15] = 1),
                    (v[5] = g),
                    (v[10] = g),
                    (v[9] = -x),
                    (v[6] = x),
                    (x = Math.sin(o)),
                    (g = Math.cos(o)),
                    (m[5] = 1),
                    (m[15] = 1),
                    (m[0] = g),
                    (m[2] = -x),
                    (m[8] = x),
                    (m[10] = g),
                    this.multiplyLocal(n),
                    this.multiplyLocal(e),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setWorldMatrix: function (o, h, l, f, v) {
                  return (
                    this.yawPitchRoll(o.y, o.x, o.z),
                    n.scaling(l.x, l.y, l.z),
                    e.xyz(h.x, h.y, h.z),
                    this.multiplyLocal(n),
                    this.multiplyLocal(e),
                    f && this.multiplyLocal(f),
                    v && this.multiplyLocal(v),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                multiplyToMat4: function (o, h) {
                  var l = this.val,
                    f = o.val,
                    v = l[0],
                    m = l[1],
                    x = l[2],
                    g = l[3],
                    C = l[4],
                    T = l[5],
                    F = l[6],
                    w = l[7],
                    U = l[8],
                    M = l[9],
                    I = l[10],
                    O = l[11],
                    D = l[12],
                    G = l[13],
                    X = l[14],
                    z = l[15],
                    K = f[0],
                    N = f[1],
                    b = f[2],
                    R = f[3],
                    H = f[4],
                    Q = f[5],
                    V = f[6],
                    Y = f[7],
                    J = f[8],
                    $ = f[9],
                    W = f[10],
                    Z = f[11],
                    j = f[12],
                    k = f[13],
                    _ = f[14],
                    q = f[15];
                  return h.setValues(
                    K * v + N * C + b * U + R * D,
                    N * m + N * T + b * M + R * G,
                    b * x + N * F + b * I + R * X,
                    R * g + N * w + b * O + R * z,
                    H * v + Q * C + V * U + Y * D,
                    H * m + Q * T + V * M + Y * G,
                    H * x + Q * F + V * I + Y * X,
                    H * g + Q * w + V * O + Y * z,
                    J * v + $ * C + W * U + Z * D,
                    J * m + $ * T + W * M + Z * G,
                    J * x + $ * F + W * I + Z * X,
                    J * g + $ * w + W * O + Z * z,
                    j * v + k * C + _ * U + q * D,
                    j * m + k * T + _ * M + q * G,
                    j * x + k * F + _ * I + q * X,
                    j * g + k * w + _ * O + q * z,
                  );
                },
                fromRotationXYTranslation: function (o, h, l) {
                  var f = h.x,
                    v = h.y,
                    m = h.z,
                    x = Math.sin(o.x),
                    g = Math.cos(o.x),
                    C = Math.sin(o.y),
                    T = Math.cos(o.y),
                    F = f,
                    w = v,
                    U = m,
                    M = -x,
                    I = 0 - M * C,
                    O = 0 - g * C,
                    D = M * T,
                    G = g * T;
                  return (
                    l ||
                      ((F = T * f + C * m),
                      (w = I * f + g * v + D * m),
                      (U = O * f + x * v + G * m)),
                    this.setValues(
                      T,
                      I,
                      O,
                      0,
                      0,
                      g,
                      x,
                      0,
                      C,
                      D,
                      G,
                      0,
                      F,
                      w,
                      U,
                      1,
                    )
                  );
                },
                getMaxScaleOnAxis: function () {
                  var o = this.val,
                    h = o[0] * o[0] + o[1] * o[1] + o[2] * o[2],
                    l = o[4] * o[4] + o[5] * o[5] + o[6] * o[6],
                    f = o[8] * o[8] + o[9] * o[9] + o[10] * o[10];
                  return Math.sqrt(Math.max(h, l, f));
                },
              }),
              n = new r(),
              e = new r(),
              s = new c(),
              u = new c(),
              i = new c();
            d.exports = r;
          },
          69635: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              return Math.min(t + A, c);
            };
            d.exports = y;
          },
          37394: (d) => {
            /**
             * @author       Vladislav Forsh <vlad@robowhale.com>
             * @copyright    2021 RoboWhale
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              var A = t.length;
              if (A === 0) return 0;
              t.sort(function (a, r) {
                return a - r;
              });
              var c = Math.floor(A / 2);
              return A % 2 === 0 ? (t[c] + t[c - 1]) / 2 : t[c];
            };
            d.exports = y;
          },
          17259: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              return Math.max(t - A, c);
            };
            d.exports = y;
          },
          61820: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              c === void 0 && (c = A + 1);
              var r = (t - A) / (c - A);
              return (
                r > 1
                  ? a !== void 0
                    ? ((r = (a - t) / (a - c)), r < 0 && (r = 0))
                    : (r = 1)
                  : r < 0 && (r = 0),
                r
              );
            };
            d.exports = y;
          },
          75003: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(5341),
              a = t(72283),
              r = t(70015),
              n = 1e-6,
              e = new Int8Array([1, 2, 0]),
              s = new Float32Array([0, 0, 0]),
              u = new r(1, 0, 0),
              i = new r(0, 1, 0),
              o = new r(),
              h = new c(),
              l = new A({
                initialize: function (v, m, x, g) {
                  ((this.onChangeCallback = a), this.set(v, m, x, g));
                },
                x: {
                  get: function () {
                    return this._x;
                  },
                  set: function (f) {
                    ((this._x = f), this.onChangeCallback(this));
                  },
                },
                y: {
                  get: function () {
                    return this._y;
                  },
                  set: function (f) {
                    ((this._y = f), this.onChangeCallback(this));
                  },
                },
                z: {
                  get: function () {
                    return this._z;
                  },
                  set: function (f) {
                    ((this._z = f), this.onChangeCallback(this));
                  },
                },
                w: {
                  get: function () {
                    return this._w;
                  },
                  set: function (f) {
                    ((this._w = f), this.onChangeCallback(this));
                  },
                },
                copy: function (f) {
                  return this.set(f);
                },
                set: function (f, v, m, x, g) {
                  return (
                    g === void 0 && (g = !0),
                    typeof f == "object"
                      ? ((this._x = f.x || 0),
                        (this._y = f.y || 0),
                        (this._z = f.z || 0),
                        (this._w = f.w || 0))
                      : ((this._x = f || 0),
                        (this._y = v || 0),
                        (this._z = m || 0),
                        (this._w = x || 0)),
                    g && this.onChangeCallback(this),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                add: function (f) {
                  return (
                    (this._x += f.x),
                    (this._y += f.y),
                    (this._z += f.z),
                    (this._w += f.w),
                    this.onChangeCallback(this),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                subtract: function (f) {
                  return (
                    (this._x -= f.x),
                    (this._y -= f.y),
                    (this._z -= f.z),
                    (this._w -= f.w),
                    this.onChangeCallback(this),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                scale: function (f) {
                  return (
                    (this._x *= f),
                    (this._y *= f),
                    (this._z *= f),
                    (this._w *= f),
                    this.onChangeCallback(this),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                length: function () {
                  var f = this.x,
                    v = this.y,
                    m = this.z,
                    x = this.w;
                  return Math.sqrt(f * f + v * v + m * m + x * x);
                },
                lengthSq: function () {
                  var f = this.x,
                    v = this.y,
                    m = this.z,
                    x = this.w;
                  return f * f + v * v + m * m + x * x;
                },
                normalize: function () {
                  var f = this.x,
                    v = this.y,
                    m = this.z,
                    x = this.w,
                    g = f * f + v * v + m * m + x * x;
                  return (
                    g > 0 &&
                      ((g = 1 / Math.sqrt(g)),
                      (this._x = f * g),
                      (this._y = v * g),
                      (this._z = m * g),
                      (this._w = x * g)),
                    this.onChangeCallback(this),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                dot: function (f) {
                  return (
                    this.x * f.x + this.y * f.y + this.z * f.z + this.w * f.w
                  );
                },
                lerp: function (f, v) {
                  v === void 0 && (v = 0);
                  var m = this.x,
                    x = this.y,
                    g = this.z,
                    C = this.w;
                  return this.set(
                    m + v * (f.x - m),
                    x + v * (f.y - x),
                    g + v * (f.z - g),
                    C + v * (f.w - C),
                  );
                },
                rotationTo: function (f, v) {
                  var m = f.x * v.x + f.y * v.y + f.z * v.z;
                  return m < -0.999999
                    ? (o.copy(u).cross(f).length() < n && o.copy(i).cross(f),
                      o.normalize(),
                      this.setAxisAngle(o, Math.PI))
                    : m > 0.999999
                      ? this.set(0, 0, 0, 1)
                      : (o.copy(f).cross(v),
                        (this._x = o.x),
                        (this._y = o.y),
                        (this._z = o.z),
                        (this._w = 1 + m),
                        this.normalize());
                },
                setAxes: function (f, v, m) {
                  var x = h.val;
                  return (
                    (x[0] = v.x),
                    (x[3] = v.y),
                    (x[6] = v.z),
                    (x[1] = m.x),
                    (x[4] = m.y),
                    (x[7] = m.z),
                    (x[2] = -f.x),
                    (x[5] = -f.y),
                    (x[8] = -f.z),
                    this.fromMat3(h).normalize()
                  );
                },
                identity: function () {
                  return this.set(0, 0, 0, 1);
                },
                setAxisAngle: function (f, v) {
                  v = v * 0.5;
                  var m = Math.sin(v);
                  return this.set(m * f.x, m * f.y, m * f.z, Math.cos(v));
                },
                multiply: function (f) {
                  var v = this.x,
                    m = this.y,
                    x = this.z,
                    g = this.w,
                    C = f.x,
                    T = f.y,
                    F = f.z,
                    w = f.w;
                  return this.set(
                    v * w + g * C + m * F - x * T,
                    m * w + g * T + x * C - v * F,
                    x * w + g * F + v * T - m * C,
                    g * w - v * C - m * T - x * F,
                  );
                },
                slerp: function (f, v) {
                  var m = this.x,
                    x = this.y,
                    g = this.z,
                    C = this.w,
                    T = f.x,
                    F = f.y,
                    w = f.z,
                    U = f.w,
                    M = m * T + x * F + g * w + C * U;
                  M < 0 && ((M = -M), (T = -T), (F = -F), (w = -w), (U = -U));
                  var I = 1 - v,
                    O = v;
                  if (1 - M > n) {
                    var D = Math.acos(M),
                      G = Math.sin(D);
                    ((I = Math.sin((1 - v) * D) / G),
                      (O = Math.sin(v * D) / G));
                  }
                  return this.set(
                    I * m + O * T,
                    I * x + O * F,
                    I * g + O * w,
                    I * C + O * U,
                  );
                },
                invert: function () {
                  var f = this.x,
                    v = this.y,
                    m = this.z,
                    x = this.w,
                    g = f * f + v * v + m * m + x * x,
                    C = g ? 1 / g : 0;
                  return this.set(-f * C, -v * C, -m * C, x * C);
                },
                conjugate: function () {
                  return (
                    (this._x = -this.x),
                    (this._y = -this.y),
                    (this._z = -this.z),
                    this.onChangeCallback(this),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                rotateX: function (f) {
                  f *= 0.5;
                  var v = this.x,
                    m = this.y,
                    x = this.z,
                    g = this.w,
                    C = Math.sin(f),
                    T = Math.cos(f);
                  return this.set(
                    v * T + g * C,
                    m * T + x * C,
                    x * T - m * C,
                    g * T - v * C,
                  );
                },
                rotateY: function (f) {
                  f *= 0.5;
                  var v = this.x,
                    m = this.y,
                    x = this.z,
                    g = this.w,
                    C = Math.sin(f),
                    T = Math.cos(f);
                  return this.set(
                    v * T - x * C,
                    m * T + g * C,
                    x * T + v * C,
                    g * T - m * C,
                  );
                },
                rotateZ: function (f) {
                  f *= 0.5;
                  var v = this.x,
                    m = this.y,
                    x = this.z,
                    g = this.w,
                    C = Math.sin(f),
                    T = Math.cos(f);
                  return this.set(
                    v * T + m * C,
                    m * T - v * C,
                    x * T + g * C,
                    g * T - x * C,
                  );
                },
                calculateW: function () {
                  var f = this.x,
                    v = this.y,
                    m = this.z;
                  return (
                    (this.w = -Math.sqrt(1 - f * f - v * v - m * m)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setFromEuler: function (f, v) {
                  var m = f.x / 2,
                    x = f.y / 2,
                    g = f.z / 2,
                    C = Math.cos(m),
                    T = Math.cos(x),
                    F = Math.cos(g),
                    w = Math.sin(m),
                    U = Math.sin(x),
                    M = Math.sin(g);
                  switch (f.order) {
                    case "XYZ": {
                      this.set(
                        w * T * F + C * U * M,
                        C * U * F - w * T * M,
                        C * T * M + w * U * F,
                        C * T * F - w * U * M,
                        v,
                      );
                      break;
                    }
                    case "YXZ": {
                      this.set(
                        w * T * F + C * U * M,
                        C * U * F - w * T * M,
                        C * T * M - w * U * F,
                        C * T * F + w * U * M,
                        v,
                      );
                      break;
                    }
                    case "ZXY": {
                      this.set(
                        w * T * F - C * U * M,
                        C * U * F + w * T * M,
                        C * T * M + w * U * F,
                        C * T * F - w * U * M,
                        v,
                      );
                      break;
                    }
                    case "ZYX": {
                      this.set(
                        w * T * F - C * U * M,
                        C * U * F + w * T * M,
                        C * T * M - w * U * F,
                        C * T * F + w * U * M,
                        v,
                      );
                      break;
                    }
                    case "YZX": {
                      this.set(
                        w * T * F + C * U * M,
                        C * U * F + w * T * M,
                        C * T * M - w * U * F,
                        C * T * F - w * U * M,
                        v,
                      );
                      break;
                    }
                    case "XZY": {
                      this.set(
                        w * T * F - C * U * M,
                        C * U * F - w * T * M,
                        C * T * M + w * U * F,
                        C * T * F + w * U * M,
                        v,
                      );
                      break;
                    }
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                setFromRotationMatrix: function (f) {
                  var v = f.val,
                    m = v[0],
                    x = v[4],
                    g = v[8],
                    C = v[1],
                    T = v[5],
                    F = v[9],
                    w = v[2],
                    U = v[6],
                    M = v[10],
                    I = m + T + M,
                    O;
                  return (
                    I > 0
                      ? ((O = 0.5 / Math.sqrt(I + 1)),
                        this.set(
                          (U - F) * O,
                          (g - w) * O,
                          (C - x) * O,
                          0.25 / O,
                        ))
                      : m > T && m > M
                        ? ((O = 2 * Math.sqrt(1 + m - T - M)),
                          this.set(
                            0.25 * O,
                            (x + C) / O,
                            (g + w) / O,
                            (U - F) / O,
                          ))
                        : T > M
                          ? ((O = 2 * Math.sqrt(1 + T - m - M)),
                            this.set(
                              (x + C) / O,
                              0.25 * O,
                              (F + U) / O,
                              (g - w) / O,
                            ))
                          : ((O = 2 * Math.sqrt(1 + M - m - T)),
                            this.set(
                              (g + w) / O,
                              (F + U) / O,
                              0.25 * O,
                              (C - x) / O,
                            )),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                fromMat3: function (f) {
                  var v = f.val,
                    m = v[0] + v[4] + v[8],
                    x;
                  if (m > 0)
                    ((x = Math.sqrt(m + 1)),
                      (this.w = 0.5 * x),
                      (x = 0.5 / x),
                      (this._x = (v[7] - v[5]) * x),
                      (this._y = (v[2] - v[6]) * x),
                      (this._z = (v[3] - v[1]) * x));
                  else {
                    var g = 0;
                    (v[4] > v[0] && (g = 1), v[8] > v[g * 3 + g] && (g = 2));
                    var C = e[g],
                      T = e[C];
                    ((x = Math.sqrt(
                      v[g * 3 + g] - v[C * 3 + C] - v[T * 3 + T] + 1,
                    )),
                      (s[g] = 0.5 * x),
                      (x = 0.5 / x),
                      (s[C] = (v[C * 3 + g] + v[g * 3 + C]) * x),
                      (s[T] = (v[T * 3 + g] + v[g * 3 + T]) * x),
                      (this._x = s[0]),
                      (this._y = s[1]),
                      (this._z = s[2]),
                      (this._w = (v[T * 3 + C] - v[C * 3 + T]) * x));
                  }
                  return (
                    this.onChangeCallback(this),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
              });
            d.exports = l;
          },
          23701: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(83392),
              c = function (a) {
                return a * A.RAD_TO_DEG;
              };
            d.exports = c;
          },
          16906: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              A === void 0 && (A = 1);
              var c = Math.random() * 2 * Math.PI;
              return ((t.x = Math.cos(c) * A), (t.y = Math.sin(c) * A), t);
            };
            d.exports = y;
          },
          52417: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              A === void 0 && (A = 1);
              var c = Math.random() * 2 * Math.PI,
                a = Math.random() * 2 - 1,
                r = Math.sqrt(1 - a * a) * A;
              return (
                (t.x = Math.cos(c) * r),
                (t.y = Math.sin(c) * r),
                (t.z = a * A),
                t
              );
            };
            d.exports = y;
          },
          17915: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return (
                A === void 0 && (A = 1),
                (t.x = (Math.random() * 2 - 1) * A),
                (t.y = (Math.random() * 2 - 1) * A),
                (t.z = (Math.random() * 2 - 1) * A),
                (t.w = (Math.random() * 2 - 1) * A),
                t
              );
            };
            d.exports = y;
          },
          52257: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              var c = t.x,
                a = t.y;
              return (
                (t.x = c * Math.cos(A) - a * Math.sin(A)),
                (t.y = c * Math.sin(A) + a * Math.cos(A)),
                t
              );
            };
            d.exports = y;
          },
          2386: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              var r = Math.cos(a),
                n = Math.sin(a),
                e = t.x - A,
                s = t.y - c;
              return ((t.x = e * r - s * n + A), (t.y = e * n + s * r + c), t);
            };
            d.exports = y;
          },
          72395: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a, r) {
              var n = a + Math.atan2(t.y - c, t.x - A);
              return (
                (t.x = A + r * Math.cos(n)),
                (t.y = c + r * Math.sin(n)),
                t
              );
            };
            d.exports = y;
          },
          41061: (d) => {
            /**
             * @author       samme
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a, r) {
              return (
                (t.x = A + r * Math.cos(a)),
                (t.y = c + r * Math.sin(a)),
                t
              );
            };
            d.exports = y;
          },
          93709: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(70015),
              c = t(16650),
              a = t(75003),
              r = new c(),
              n = new a(),
              e = new A(),
              s = function (u, i, o) {
                return (
                  n.setAxisAngle(i, o),
                  r.fromRotationTranslation(n, e.set(0, 0, 0)),
                  u.transformMat4(r)
                );
              };
            d.exports = s;
          },
          67233: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return t > 0 ? Math.ceil(t) : Math.floor(t);
            };
            d.exports = y;
          },
          64333: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              (A === void 0 && (A = 0), c === void 0 && (c = 10));
              var a = Math.pow(c, -A);
              return Math.round(t * a) / a;
            };
            d.exports = y;
          },
          59533: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              (A === void 0 && (A = 1),
                c === void 0 && (c = 1),
                a === void 0 && (a = 1),
                (a *= Math.PI / t));
              for (var r = [], n = [], e = 0; e < t; e++)
                ((c -= A * a), (A += c * a), (r[e] = c), (n[e] = A));
              return { sin: n, cos: r, length: t };
            };
            d.exports = y;
          },
          5514: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              return t <= A
                ? 0
                : t >= c
                  ? 1
                  : ((t = (t - A) / (c - A)), t * t * (3 - 2 * t));
            };
            d.exports = y;
          },
          87736: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              return (
                (t = Math.max(0, Math.min(1, (t - A) / (c - A)))),
                t * t * t * (t * (t * 6 - 15) + 10)
              );
            };
            d.exports = y;
          },
          55805: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(93736),
              c = function (a, r, n, e) {
                e === void 0 && (e = new A());
                var s = 0,
                  u = 0,
                  i = r * n;
                return (
                  a > 0 &&
                    a <= i &&
                    (a > r - 1
                      ? ((u = Math.floor(a / r)), (s = a - u * r))
                      : (s = a)),
                  e.set(s, u)
                );
              };
            d.exports = c;
          },
          64462: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(93736),
              c = function (a, r, n, e, s, u, i, o) {
                o === void 0 && (o = new A());
                var h = Math.sin(s),
                  l = Math.cos(s),
                  f = l * u,
                  v = h * u,
                  m = -h * i,
                  x = l * i,
                  g = 1 / (f * x + m * -v);
                return (
                  (o.x = x * g * a + -m * g * r + (e * m - n * x) * g),
                  (o.y = f * g * r + -v * g * a + (-e * f + n * v) * g),
                  o
                );
              };
            d.exports = c;
          },
          93736: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(88456),
              a = new A({
                initialize: function (n, e) {
                  ((this.x = 0),
                    (this.y = 0),
                    typeof n == "object"
                      ? ((this.x = n.x || 0), (this.y = n.y || 0))
                      : (e === void 0 && (e = n),
                        (this.x = n || 0),
                        (this.y = e || 0)));
                },
                clone: function () {
                  return new a(this.x, this.y);
                },
                copy: function (r) {
                  return (
                    (this.x = r.x || 0),
                    (this.y = r.y || 0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setFromObject: function (r) {
                  return (
                    (this.x = r.x || 0),
                    (this.y = r.y || 0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                set: function (r, n) {
                  return (
                    n === void 0 && (n = r),
                    (this.x = r),
                    (this.y = n),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setTo: function (r, n) {
                  return this.set(r, n);
                },
                setToPolar: function (r, n) {
                  return (
                    n == null && (n = 1),
                    (this.x = Math.cos(r) * n),
                    (this.y = Math.sin(r) * n),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                equals: function (r) {
                  return this.x === r.x && this.y === r.y;
                },
                fuzzyEquals: function (r, n) {
                  return c(this.x, r.x, n) && c(this.y, r.y, n);
                },
                angle: function () {
                  var r = Math.atan2(this.y, this.x);
                  return (r < 0 && (r += 2 * Math.PI), r);
                },
                setAngle: function (r) {
                  return this.setToPolar(r, this.length());
                },
                add: function (r) {
                  return (
                    (this.x += r.x),
                    (this.y += r.y),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                subtract: function (r) {
                  return (
                    (this.x -= r.x),
                    (this.y -= r.y),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                multiply: function (r) {
                  return (
                    (this.x *= r.x),
                    (this.y *= r.y),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                scale: function (r) {
                  return (
                    isFinite(r)
                      ? ((this.x *= r), (this.y *= r))
                      : ((this.x = 0), (this.y = 0)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                divide: function (r) {
                  return (
                    (this.x /= r.x),
                    (this.y /= r.y),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                negate: function () {
                  return (
                    (this.x = -this.x),
                    (this.y = -this.y),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                distance: function (r) {
                  var n = r.x - this.x,
                    e = r.y - this.y;
                  return Math.sqrt(n * n + e * e);
                },
                distanceSq: function (r) {
                  var n = r.x - this.x,
                    e = r.y - this.y;
                  return n * n + e * e;
                },
                length: function () {
                  var r = this.x,
                    n = this.y;
                  return Math.sqrt(r * r + n * n);
                },
                setLength: function (r) {
                  return this.normalize().scale(r);
                },
                lengthSq: function () {
                  var r = this.x,
                    n = this.y;
                  return r * r + n * n;
                },
                normalize: function () {
                  var r = this.x,
                    n = this.y,
                    e = r * r + n * n;
                  return (
                    e > 0 &&
                      ((e = 1 / Math.sqrt(e)),
                      (this.x = r * e),
                      (this.y = n * e)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                normalizeRightHand: function () {
                  var r = this.x;
                  return (
                    (this.x = this.y * -1),
                    (this.y = r),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                normalizeLeftHand: function () {
                  var r = this.x;
                  return (
                    (this.x = this.y),
                    (this.y = r * -1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                dot: function (r) {
                  return this.x * r.x + this.y * r.y;
                },
                cross: function (r) {
                  return this.x * r.y - this.y * r.x;
                },
                lerp: function (r, n) {
                  n === void 0 && (n = 0);
                  var e = this.x,
                    s = this.y;
                  return (
                    (this.x = e + n * (r.x - e)),
                    (this.y = s + n * (r.y - s)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                transformMat3: function (r) {
                  var n = this.x,
                    e = this.y,
                    s = r.val;
                  return (
                    (this.x = s[0] * n + s[3] * e + s[6]),
                    (this.y = s[1] * n + s[4] * e + s[7]),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                transformMat4: function (r) {
                  var n = this.x,
                    e = this.y,
                    s = r.val;
                  return (
                    (this.x = s[0] * n + s[4] * e + s[12]),
                    (this.y = s[1] * n + s[5] * e + s[13]),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                reset: function () {
                  return (
                    (this.x = 0),
                    (this.y = 0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                limit: function (r) {
                  var n = this.length();
                  return (
                    n && n > r && this.scale(r / n),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                reflect: function (r) {
                  return (
                    (r = r.clone().normalize()),
                    this.subtract(r.scale(2 * this.dot(r)))
                  );
                },
                mirror: function (r) {
                  return this.reflect(r).negate();
                },
                rotate: function (r) {
                  var n = Math.cos(r),
                    e = Math.sin(r);
                  return this.set(
                    n * this.x - e * this.y,
                    e * this.x + n * this.y,
                  );
                },
                project: function (r) {
                  var n = this.dot(r) / r.dot(r);
                  return this.copy(r).scale(n);
                },
              });
            ((a.ZERO = new a()),
              (a.RIGHT = new a(1, 0)),
              (a.LEFT = new a(-1, 0)),
              (a.UP = new a(0, -1)),
              (a.DOWN = new a(0, 1)),
              (a.ONE = new a(1, 1)),
              (d.exports = a));
          },
          70015: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = new A({
                initialize: function (r, n, e) {
                  ((this.x = 0),
                    (this.y = 0),
                    (this.z = 0),
                    typeof r == "object"
                      ? ((this.x = r.x || 0),
                        (this.y = r.y || 0),
                        (this.z = r.z || 0))
                      : ((this.x = r || 0),
                        (this.y = n || 0),
                        (this.z = e || 0)));
                },
                up: function () {
                  return (
                    (this.x = 0),
                    (this.y = 1),
                    (this.z = 0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                min: function (a) {
                  return (
                    (this.x = Math.min(this.x, a.x)),
                    (this.y = Math.min(this.y, a.y)),
                    (this.z = Math.min(this.z, a.z)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                max: function (a) {
                  return (
                    (this.x = Math.max(this.x, a.x)),
                    (this.y = Math.max(this.y, a.y)),
                    (this.z = Math.max(this.z, a.z)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                clone: function () {
                  return new c(this.x, this.y, this.z);
                },
                addVectors: function (a, r) {
                  return (
                    (this.x = a.x + r.x),
                    (this.y = a.y + r.y),
                    (this.z = a.z + r.z),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                crossVectors: function (a, r) {
                  var n = a.x,
                    e = a.y,
                    s = a.z,
                    u = r.x,
                    i = r.y,
                    o = r.z;
                  return (
                    (this.x = e * o - s * i),
                    (this.y = s * u - n * o),
                    (this.z = n * i - e * u),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                equals: function (a) {
                  return this.x === a.x && this.y === a.y && this.z === a.z;
                },
                copy: function (a) {
                  return (
                    (this.x = a.x),
                    (this.y = a.y),
                    (this.z = a.z || 0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                set: function (a, r, n) {
                  return (
                    typeof a == "object"
                      ? ((this.x = a.x || 0),
                        (this.y = a.y || 0),
                        (this.z = a.z || 0))
                      : ((this.x = a || 0),
                        (this.y = r || 0),
                        (this.z = n || 0)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setFromMatrixPosition: function (a) {
                  return this.fromArray(a.val, 12);
                },
                setFromMatrixColumn: function (a, r) {
                  return this.fromArray(a.val, r * 4);
                },
                fromArray: function (a, r) {
                  return (
                    r === void 0 && (r = 0),
                    (this.x = a[r]),
                    (this.y = a[r + 1]),
                    (this.z = a[r + 2]),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                add: function (a) {
                  return (
                    (this.x += a.x),
                    (this.y += a.y),
                    (this.z += a.z || 0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                addScalar: function (a) {
                  return (
                    (this.x += a),
                    (this.y += a),
                    (this.z += a),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                addScale: function (a, r) {
                  return (
                    (this.x += a.x * r),
                    (this.y += a.y * r),
                    (this.z += a.z * r || 0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                subtract: function (a) {
                  return (
                    (this.x -= a.x),
                    (this.y -= a.y),
                    (this.z -= a.z || 0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                multiply: function (a) {
                  return (
                    (this.x *= a.x),
                    (this.y *= a.y),
                    (this.z *= a.z || 1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                scale: function (a) {
                  return (
                    isFinite(a)
                      ? ((this.x *= a), (this.y *= a), (this.z *= a))
                      : ((this.x = 0), (this.y = 0), (this.z = 0)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                divide: function (a) {
                  return (
                    (this.x /= a.x),
                    (this.y /= a.y),
                    (this.z /= a.z || 1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                negate: function () {
                  return (
                    (this.x = -this.x),
                    (this.y = -this.y),
                    (this.z = -this.z),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                distance: function (a) {
                  var r = a.x - this.x,
                    n = a.y - this.y,
                    e = a.z - this.z || 0;
                  return Math.sqrt(r * r + n * n + e * e);
                },
                distanceSq: function (a) {
                  var r = a.x - this.x,
                    n = a.y - this.y,
                    e = a.z - this.z || 0;
                  return r * r + n * n + e * e;
                },
                length: function () {
                  var a = this.x,
                    r = this.y,
                    n = this.z;
                  return Math.sqrt(a * a + r * r + n * n);
                },
                lengthSq: function () {
                  var a = this.x,
                    r = this.y,
                    n = this.z;
                  return a * a + r * r + n * n;
                },
                normalize: function () {
                  var a = this.x,
                    r = this.y,
                    n = this.z,
                    e = a * a + r * r + n * n;
                  return (
                    e > 0 &&
                      ((e = 1 / Math.sqrt(e)),
                      (this.x = a * e),
                      (this.y = r * e),
                      (this.z = n * e)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                dot: function (a) {
                  return this.x * a.x + this.y * a.y + this.z * a.z;
                },
                cross: function (a) {
                  var r = this.x,
                    n = this.y,
                    e = this.z,
                    s = a.x,
                    u = a.y,
                    i = a.z;
                  return (
                    (this.x = n * i - e * u),
                    (this.y = e * s - r * i),
                    (this.z = r * u - n * s),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                lerp: function (a, r) {
                  r === void 0 && (r = 0);
                  var n = this.x,
                    e = this.y,
                    s = this.z;
                  return (
                    (this.x = n + r * (a.x - n)),
                    (this.y = e + r * (a.y - e)),
                    (this.z = s + r * (a.z - s)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                applyMatrix3: function (a) {
                  var r = this.x,
                    n = this.y,
                    e = this.z,
                    s = a.val;
                  return (
                    (this.x = s[0] * r + s[3] * n + s[6] * e),
                    (this.y = s[1] * r + s[4] * n + s[7] * e),
                    (this.z = s[2] * r + s[5] * n + s[8] * e),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                applyMatrix4: function (a) {
                  var r = this.x,
                    n = this.y,
                    e = this.z,
                    s = a.val,
                    u = 1 / (s[3] * r + s[7] * n + s[11] * e + s[15]);
                  return (
                    (this.x = (s[0] * r + s[4] * n + s[8] * e + s[12]) * u),
                    (this.y = (s[1] * r + s[5] * n + s[9] * e + s[13]) * u),
                    (this.z = (s[2] * r + s[6] * n + s[10] * e + s[14]) * u),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                transformMat3: function (a) {
                  var r = this.x,
                    n = this.y,
                    e = this.z,
                    s = a.val;
                  return (
                    (this.x = r * s[0] + n * s[3] + e * s[6]),
                    (this.y = r * s[1] + n * s[4] + e * s[7]),
                    (this.z = r * s[2] + n * s[5] + e * s[8]),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                transformMat4: function (a) {
                  var r = this.x,
                    n = this.y,
                    e = this.z,
                    s = a.val;
                  return (
                    (this.x = s[0] * r + s[4] * n + s[8] * e + s[12]),
                    (this.y = s[1] * r + s[5] * n + s[9] * e + s[13]),
                    (this.z = s[2] * r + s[6] * n + s[10] * e + s[14]),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                transformCoordinates: function (a) {
                  var r = this.x,
                    n = this.y,
                    e = this.z,
                    s = a.val,
                    u = r * s[0] + n * s[4] + e * s[8] + s[12],
                    i = r * s[1] + n * s[5] + e * s[9] + s[13],
                    o = r * s[2] + n * s[6] + e * s[10] + s[14],
                    h = r * s[3] + n * s[7] + e * s[11] + s[15];
                  return (
                    (this.x = u / h),
                    (this.y = i / h),
                    (this.z = o / h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                transformQuat: function (a) {
                  var r = this.x,
                    n = this.y,
                    e = this.z,
                    s = a.x,
                    u = a.y,
                    i = a.z,
                    o = a.w,
                    h = o * r + u * e - i * n,
                    l = o * n + i * r - s * e,
                    f = o * e + s * n - u * r,
                    v = -s * r - u * n - i * e;
                  return (
                    (this.x = h * o + v * -s + l * -i - f * -u),
                    (this.y = l * o + v * -u + f * -s - h * -i),
                    (this.z = f * o + v * -i + h * -u - l * -s),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                project: function (a) {
                  var r = this.x,
                    n = this.y,
                    e = this.z,
                    s = a.val,
                    u = s[0],
                    i = s[1],
                    o = s[2],
                    h = s[3],
                    l = s[4],
                    f = s[5],
                    v = s[6],
                    m = s[7],
                    x = s[8],
                    g = s[9],
                    C = s[10],
                    T = s[11],
                    F = s[12],
                    w = s[13],
                    U = s[14],
                    M = s[15],
                    I = 1 / (r * h + n * m + e * T + M);
                  return (
                    (this.x = (r * u + n * l + e * x + F) * I),
                    (this.y = (r * i + n * f + e * g + w) * I),
                    (this.z = (r * o + n * v + e * C + U) * I),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                projectViewMatrix: function (a, r) {
                  return this.applyMatrix4(a).applyMatrix4(r);
                },
                unprojectViewMatrix: function (a, r) {
                  return this.applyMatrix4(a).applyMatrix4(r);
                },
                unproject: function (a, r) {
                  var n = a.x,
                    e = a.y,
                    s = a.z,
                    u = a.w,
                    i = this.x - n,
                    o = u - this.y - 1 - e,
                    h = this.z;
                  return (
                    (this.x = (2 * i) / s - 1),
                    (this.y = (2 * o) / u - 1),
                    (this.z = 2 * h - 1),
                    this.project(r)
                  );
                },
                reset: function () {
                  return (
                    (this.x = 0),
                    (this.y = 0),
                    (this.z = 0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
              });
            ((c.ZERO = new c()),
              (c.RIGHT = new c(1, 0, 0)),
              (c.LEFT = new c(-1, 0, 0)),
              (c.UP = new c(0, -1, 0)),
              (c.DOWN = new c(0, 1, 0)),
              (c.FORWARD = new c(0, 0, 1)),
              (c.BACK = new c(0, 0, -1)),
              (c.ONE = new c(1, 1, 1)),
              (d.exports = c));
          },
          51729: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = new A({
                initialize: function (r, n, e, s) {
                  ((this.x = 0),
                    (this.y = 0),
                    (this.z = 0),
                    (this.w = 0),
                    typeof r == "object"
                      ? ((this.x = r.x || 0),
                        (this.y = r.y || 0),
                        (this.z = r.z || 0),
                        (this.w = r.w || 0))
                      : ((this.x = r || 0),
                        (this.y = n || 0),
                        (this.z = e || 0),
                        (this.w = s || 0)));
                },
                clone: function () {
                  return new c(this.x, this.y, this.z, this.w);
                },
                copy: function (a) {
                  return (
                    (this.x = a.x),
                    (this.y = a.y),
                    (this.z = a.z || 0),
                    (this.w = a.w || 0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                equals: function (a) {
                  return (
                    this.x === a.x &&
                    this.y === a.y &&
                    this.z === a.z &&
                    this.w === a.w
                  );
                },
                set: function (a, r, n, e) {
                  return (
                    typeof a == "object"
                      ? ((this.x = a.x || 0),
                        (this.y = a.y || 0),
                        (this.z = a.z || 0),
                        (this.w = a.w || 0))
                      : ((this.x = a || 0),
                        (this.y = r || 0),
                        (this.z = n || 0),
                        (this.w = e || 0)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                add: function (a) {
                  return (
                    (this.x += a.x),
                    (this.y += a.y),
                    (this.z += a.z || 0),
                    (this.w += a.w || 0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                subtract: function (a) {
                  return (
                    (this.x -= a.x),
                    (this.y -= a.y),
                    (this.z -= a.z || 0),
                    (this.w -= a.w || 0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                scale: function (a) {
                  return (
                    (this.x *= a),
                    (this.y *= a),
                    (this.z *= a),
                    (this.w *= a),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                length: function () {
                  var a = this.x,
                    r = this.y,
                    n = this.z,
                    e = this.w;
                  return Math.sqrt(a * a + r * r + n * n + e * e);
                },
                lengthSq: function () {
                  var a = this.x,
                    r = this.y,
                    n = this.z,
                    e = this.w;
                  return a * a + r * r + n * n + e * e;
                },
                normalize: function () {
                  var a = this.x,
                    r = this.y,
                    n = this.z,
                    e = this.w,
                    s = a * a + r * r + n * n + e * e;
                  return (
                    s > 0 &&
                      ((s = 1 / Math.sqrt(s)),
                      (this.x = a * s),
                      (this.y = r * s),
                      (this.z = n * s),
                      (this.w = e * s)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                dot: function (a) {
                  return (
                    this.x * a.x + this.y * a.y + this.z * a.z + this.w * a.w
                  );
                },
                lerp: function (a, r) {
                  r === void 0 && (r = 0);
                  var n = this.x,
                    e = this.y,
                    s = this.z,
                    u = this.w;
                  return (
                    (this.x = n + r * (a.x - n)),
                    (this.y = e + r * (a.y - e)),
                    (this.z = s + r * (a.z - s)),
                    (this.w = u + r * (a.w - u)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                multiply: function (a) {
                  return (
                    (this.x *= a.x),
                    (this.y *= a.y),
                    (this.z *= a.z || 1),
                    (this.w *= a.w || 1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                divide: function (a) {
                  return (
                    (this.x /= a.x),
                    (this.y /= a.y),
                    (this.z /= a.z || 1),
                    (this.w /= a.w || 1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                distance: function (a) {
                  var r = a.x - this.x,
                    n = a.y - this.y,
                    e = a.z - this.z || 0,
                    s = a.w - this.w || 0;
                  return Math.sqrt(r * r + n * n + e * e + s * s);
                },
                distanceSq: function (a) {
                  var r = a.x - this.x,
                    n = a.y - this.y,
                    e = a.z - this.z || 0,
                    s = a.w - this.w || 0;
                  return r * r + n * n + e * e + s * s;
                },
                negate: function () {
                  return (
                    (this.x = -this.x),
                    (this.y = -this.y),
                    (this.z = -this.z),
                    (this.w = -this.w),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                transformMat4: function (a) {
                  var r = this.x,
                    n = this.y,
                    e = this.z,
                    s = this.w,
                    u = a.val;
                  return (
                    (this.x = u[0] * r + u[4] * n + u[8] * e + u[12] * s),
                    (this.y = u[1] * r + u[5] * n + u[9] * e + u[13] * s),
                    (this.z = u[2] * r + u[6] * n + u[10] * e + u[14] * s),
                    (this.w = u[3] * r + u[7] * n + u[11] * e + u[15] * s),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                transformQuat: function (a) {
                  var r = this.x,
                    n = this.y,
                    e = this.z,
                    s = a.x,
                    u = a.y,
                    i = a.z,
                    o = a.w,
                    h = o * r + u * e - i * n,
                    l = o * n + i * r - s * e,
                    f = o * e + s * n - u * r,
                    v = -s * r - u * n - i * e;
                  return (
                    (this.x = h * o + v * -s + l * -i - f * -u),
                    (this.y = l * o + v * -u + f * -s - h * -i),
                    (this.z = f * o + v * -i + h * -u - l * -s),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                reset: function () {
                  return (
                    (this.x = 0),
                    (this.y = 0),
                    (this.z = 0),
                    (this.w = 0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
              });
            ((c.prototype.sub = c.prototype.subtract),
              (c.prototype.mul = c.prototype.multiply),
              (c.prototype.div = c.prototype.divide),
              (c.prototype.dist = c.prototype.distance),
              (c.prototype.distSq = c.prototype.distanceSq),
              (c.prototype.len = c.prototype.length),
              (c.prototype.lenSq = c.prototype.lengthSq),
              (d.exports = c));
          },
          9557: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              return Math.abs(t - A) <= c;
            };
            d.exports = y;
          },
          1071: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              var a = c - A;
              return A + ((((t - A) % a) + a) % a);
            };
            d.exports = y;
          },
          90447: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              return Math.atan2(a - A, c - t);
            };
            d.exports = y;
          },
          94240: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return Math.atan2(A.y - t.y, A.x - t.x);
            };
            d.exports = y;
          },
          84066: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return Math.atan2(A.x - t.x, A.y - t.y);
            };
            d.exports = y;
          },
          9678: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              return Math.atan2(c - t, a - A);
            };
            d.exports = y;
          },
          76861: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(83392),
              c = function (a) {
                return (
                  a > Math.PI && (a -= A.PI2),
                  Math.abs((((a + A.TAU) % A.PI2) - A.PI2) % A.PI2)
                );
              };
            d.exports = c;
          },
          37570: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return ((t = t % (2 * Math.PI)), t >= 0 ? t : t + 2 * Math.PI);
            };
            d.exports = y;
          },
          87597: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @author       @samme
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(61616),
              c = function () {
                return A(-Math.PI, Math.PI);
              };
            d.exports = c;
          },
          74493: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @author       @samme
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(61616),
              c = function () {
                return A(-180, 180);
              };
            d.exports = c;
          },
          19049: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(37570),
              c = function (a) {
                return A(a + Math.PI);
              };
            d.exports = c;
          },
          90612: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(83392),
              c = function (a, r, n) {
                return (
                  n === void 0 && (n = 0.05),
                  a === r ||
                    (Math.abs(r - a) <= n || Math.abs(r - a) >= A.PI2 - n
                      ? (a = r)
                      : (Math.abs(r - a) > Math.PI &&
                          (r < a ? (r += A.PI2) : (r -= A.PI2)),
                        r > a ? (a += n) : r < a && (a -= n))),
                  a
                );
              };
            d.exports = c;
          },
          93954: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              var c = A - t;
              if (c === 0) return 0;
              var a = Math.floor((c - -180) / 360);
              return c - a * 360;
            };
            d.exports = y;
          },
          35786: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(1071),
              c = function (a) {
                return A(a, -Math.PI, Math.PI);
              };
            d.exports = c;
          },
          62138: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(1071),
              c = function (a) {
                return A(a, -180, 180);
              };
            d.exports = c;
          },
          22153: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              Between: t(90447),
              BetweenPoints: t(94240),
              BetweenPointsY: t(84066),
              BetweenY: t(9678),
              CounterClockwise: t(76861),
              Normalize: t(37570),
              Random: t(87597),
              RandomDegrees: t(74493),
              Reverse: t(19049),
              RotateTo: t(90612),
              ShortestBetween: t(93954),
              Wrap: t(35786),
              WrapDegrees: t(62138),
            };
          },
          83392: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              PI2: Math.PI * 2,
              TAU: Math.PI * 0.5,
              EPSILON: 1e-6,
              DEG_TO_RAD: Math.PI / 180,
              RAD_TO_DEG: 180 / Math.PI,
              RND: null,
              MIN_SAFE_INTEGER: Number.MIN_SAFE_INTEGER || -9007199254740991,
              MAX_SAFE_INTEGER: Number.MAX_SAFE_INTEGER || 9007199254740991,
            };
            d.exports = y;
          },
          53996: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              var r = t - c,
                n = A - a;
              return Math.sqrt(r * r + n * n);
            };
            d.exports = y;
          },
          92951: (d) => {
            /**
             * @author       samme
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              var c = t.x - A.x,
                a = t.y - A.y;
              return Math.sqrt(c * c + a * a);
            };
            d.exports = y;
          },
          12161: (d) => {
            /**
             * @author       samme
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              var c = t.x - A.x,
                a = t.y - A.y;
              return c * c + a * a;
            };
            d.exports = y;
          },
          38057: (d) => {
            /**
             * @author       samme
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              return Math.max(Math.abs(t - c), Math.abs(A - a));
            };
            d.exports = y;
          },
          33297: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a, r) {
              return (
                r === void 0 && (r = 2),
                Math.sqrt(Math.pow(c - t, r) + Math.pow(a - A, r))
              );
            };
            d.exports = y;
          },
          90366: (d) => {
            /**
             * @author       samme
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              return Math.abs(t - c) + Math.abs(A - a);
            };
            d.exports = y;
          },
          35032: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              var r = t - c,
                n = A - a;
              return r * r + n * n;
            };
            d.exports = y;
          },
          10130: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              Between: t(53996),
              BetweenPoints: t(92951),
              BetweenPointsSquared: t(12161),
              Chebyshev: t(38057),
              Power: t(33297),
              Snake: t(90366),
              Squared: t(35032),
            };
          },
          35060: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(25265),
              c = t(57428),
              a = t(73214),
              r = t(71778),
              n = t(36468),
              e = t(88258),
              s = t(52910),
              u = t(67799),
              i = t(74083),
              o = t(92284),
              h = t(28035),
              l = t(8754);
            d.exports = {
              Power0: s,
              Power1: u.Out,
              Power2: r.Out,
              Power3: i.Out,
              Power4: o.Out,
              Linear: s,
              Quad: u.Out,
              Cubic: r.Out,
              Quart: i.Out,
              Quint: o.Out,
              Sine: h.Out,
              Expo: e.Out,
              Circ: a.Out,
              Elastic: n.Out,
              Back: A.Out,
              Bounce: c.Out,
              Stepped: l,
              "Quad.easeIn": u.In,
              "Cubic.easeIn": r.In,
              "Quart.easeIn": i.In,
              "Quint.easeIn": o.In,
              "Sine.easeIn": h.In,
              "Expo.easeIn": e.In,
              "Circ.easeIn": a.In,
              "Elastic.easeIn": n.In,
              "Back.easeIn": A.In,
              "Bounce.easeIn": c.In,
              "Quad.easeOut": u.Out,
              "Cubic.easeOut": r.Out,
              "Quart.easeOut": i.Out,
              "Quint.easeOut": o.Out,
              "Sine.easeOut": h.Out,
              "Expo.easeOut": e.Out,
              "Circ.easeOut": a.Out,
              "Elastic.easeOut": n.Out,
              "Back.easeOut": A.Out,
              "Bounce.easeOut": c.Out,
              "Quad.easeInOut": u.InOut,
              "Cubic.easeInOut": r.InOut,
              "Quart.easeInOut": i.InOut,
              "Quint.easeInOut": o.InOut,
              "Sine.easeInOut": h.InOut,
              "Expo.easeInOut": e.InOut,
              "Circ.easeInOut": a.InOut,
              "Elastic.easeInOut": n.InOut,
              "Back.easeInOut": A.InOut,
              "Bounce.easeInOut": c.InOut,
            };
          },
          25860: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return (A === void 0 && (A = 1.70158), t * t * ((A + 1) * t - A));
            };
            d.exports = y;
          },
          45264: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              A === void 0 && (A = 1.70158);
              var c = A * 1.525;
              return (t *= 2) < 1
                ? 0.5 * (t * t * ((c + 1) * t - c))
                : 0.5 * ((t -= 2) * t * ((c + 1) * t + c) + 2);
            };
            d.exports = y;
          },
          36699: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return (
                A === void 0 && (A = 1.70158),
                --t * t * ((A + 1) * t + A) + 1
              );
            };
            d.exports = y;
          },
          25265: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = { In: t(25860), Out: t(36699), InOut: t(45264) };
          },
          62191: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return (
                (t = 1 - t),
                t < 0.36363636363636365
                  ? 1 - 7.5625 * t * t
                  : t < 0.7272727272727273
                    ? 1 - (7.5625 * (t -= 0.5454545454545454) * t + 0.75)
                    : t < 0.9090909090909091
                      ? 1 - (7.5625 * (t -= 0.8181818181818182) * t + 0.9375)
                      : 1 - (7.5625 * (t -= 0.9545454545454546) * t + 0.984375)
              );
            };
            d.exports = y;
          },
          24799: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              var A = !1;
              return (
                t < 0.5 ? ((t = 1 - t * 2), (A = !0)) : (t = t * 2 - 1),
                t < 0.36363636363636365
                  ? (t = 7.5625 * t * t)
                  : t < 0.7272727272727273
                    ? (t = 7.5625 * (t -= 0.5454545454545454) * t + 0.75)
                    : t < 0.9090909090909091
                      ? (t = 7.5625 * (t -= 0.8181818181818182) * t + 0.9375)
                      : (t = 7.5625 * (t -= 0.9545454545454546) * t + 0.984375),
                A ? (1 - t) * 0.5 : t * 0.5 + 0.5
              );
            };
            d.exports = y;
          },
          60819: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return t < 0.36363636363636365
                ? 7.5625 * t * t
                : t < 0.7272727272727273
                  ? 7.5625 * (t -= 0.5454545454545454) * t + 0.75
                  : t < 0.9090909090909091
                    ? 7.5625 * (t -= 0.8181818181818182) * t + 0.9375
                    : 7.5625 * (t -= 0.9545454545454546) * t + 0.984375;
            };
            d.exports = y;
          },
          57428: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = { In: t(62191), Out: t(60819), InOut: t(24799) };
          },
          86855: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return 1 - Math.sqrt(1 - t * t);
            };
            d.exports = y;
          },
          7280: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return (t *= 2) < 1
                ? -0.5 * (Math.sqrt(1 - t * t) - 1)
                : 0.5 * (Math.sqrt(1 - (t -= 2) * t) + 1);
            };
            d.exports = y;
          },
          18058: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return Math.sqrt(1 - --t * t);
            };
            d.exports = y;
          },
          73214: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = { In: t(86855), Out: t(18058), InOut: t(7280) };
          },
          91532: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return t * t * t;
            };
            d.exports = y;
          },
          63180: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return (t *= 2) < 1
                ? 0.5 * t * t * t
                : 0.5 * ((t -= 2) * t * t + 2);
            };
            d.exports = y;
          },
          16518: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return --t * t * t + 1;
            };
            d.exports = y;
          },
          71778: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = { In: t(91532), Out: t(16518), InOut: t(63180) };
          },
          24729: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              if (
                (A === void 0 && (A = 0.1), c === void 0 && (c = 0.1), t === 0)
              )
                return 0;
              if (t === 1) return 1;
              var a = c / 4;
              return (
                A < 1 ? (A = 1) : (a = (c * Math.asin(1 / A)) / (2 * Math.PI)),
                -(
                  A *
                  Math.pow(2, 10 * (t -= 1)) *
                  Math.sin(((t - a) * (2 * Math.PI)) / c)
                )
              );
            };
            d.exports = y;
          },
          50325: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              if (
                (A === void 0 && (A = 0.1), c === void 0 && (c = 0.1), t === 0)
              )
                return 0;
              if (t === 1) return 1;
              var a = c / 4;
              return (
                A < 1 ? (A = 1) : (a = (c * Math.asin(1 / A)) / (2 * Math.PI)),
                (t *= 2) < 1
                  ? -0.5 *
                    (A *
                      Math.pow(2, 10 * (t -= 1)) *
                      Math.sin(((t - a) * (2 * Math.PI)) / c))
                  : A *
                      Math.pow(2, -10 * (t -= 1)) *
                      Math.sin(((t - a) * (2 * Math.PI)) / c) *
                      0.5 +
                    1
              );
            };
            d.exports = y;
          },
          84074: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              if (
                (A === void 0 && (A = 0.1), c === void 0 && (c = 0.1), t === 0)
              )
                return 0;
              if (t === 1) return 1;
              var a = c / 4;
              return (
                A < 1 ? (A = 1) : (a = (c * Math.asin(1 / A)) / (2 * Math.PI)),
                A *
                  Math.pow(2, -10 * t) *
                  Math.sin(((t - a) * (2 * Math.PI)) / c) +
                  1
              );
            };
            d.exports = y;
          },
          36468: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = { In: t(24729), Out: t(84074), InOut: t(50325) };
          },
          95638: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return Math.pow(2, 10 * (t - 1)) - 0.001;
            };
            d.exports = y;
          },
          10357: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return (t *= 2) < 1
                ? 0.5 * Math.pow(2, 10 * (t - 1))
                : 0.5 * (2 - Math.pow(2, -10 * (t - 1)));
            };
            d.exports = y;
          },
          14894: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return 1 - Math.pow(2, -10 * t);
            };
            d.exports = y;
          },
          88258: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = { In: t(95638), Out: t(14894), InOut: t(10357) };
          },
          33063: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              Back: t(25265),
              Bounce: t(57428),
              Circular: t(73214),
              Cubic: t(71778),
              Elastic: t(36468),
              Expo: t(88258),
              Linear: t(52910),
              Quadratic: t(67799),
              Quartic: t(74083),
              Quintic: t(92284),
              Sine: t(28035),
              Stepped: t(8754),
            };
          },
          43927: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return t;
            };
            d.exports = y;
          },
          52910: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = t(43927);
          },
          77471: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return t * t;
            };
            d.exports = y;
          },
          83863: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return (t *= 2) < 1 ? 0.5 * t * t : -0.5 * (--t * (t - 2) - 1);
            };
            d.exports = y;
          },
          44383: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return t * (2 - t);
            };
            d.exports = y;
          },
          67799: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = { In: t(77471), Out: t(44383), InOut: t(83863) };
          },
          48311: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return t * t * t * t;
            };
            d.exports = y;
          },
          55248: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return (t *= 2) < 1
                ? 0.5 * t * t * t * t
                : -0.5 * ((t -= 2) * t * t * t - 2);
            };
            d.exports = y;
          },
          23135: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return 1 - --t * t * t * t;
            };
            d.exports = y;
          },
          74083: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = { In: t(48311), Out: t(23135), InOut: t(55248) };
          },
          7313: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return t * t * t * t * t;
            };
            d.exports = y;
          },
          98759: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return (t *= 2) < 1
                ? 0.5 * t * t * t * t * t
                : 0.5 * ((t -= 2) * t * t * t * t + 2);
            };
            d.exports = y;
          },
          26670: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return --t * t * t * t * t + 1;
            };
            d.exports = y;
          },
          92284: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = { In: t(7313), Out: t(26670), InOut: t(98759) };
          },
          52929: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return t === 0
                ? 0
                : t === 1
                  ? 1
                  : 1 - Math.cos((t * Math.PI) / 2);
            };
            d.exports = y;
          },
          66333: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return t === 0
                ? 0
                : t === 1
                  ? 1
                  : 0.5 * (1 - Math.cos(Math.PI * t));
            };
            d.exports = y;
          },
          37255: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return t === 0 ? 0 : t === 1 ? 1 : Math.sin((t * Math.PI) / 2);
            };
            d.exports = y;
          },
          28035: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = { In: t(52929), Out: t(37255), InOut: t(66333) };
          },
          52770: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return (
                A === void 0 && (A = 1),
                t <= 0 ? 0 : t >= 1 ? 1 : (((A * t) | 0) + 1) * (1 / A)
              );
            };
            d.exports = y;
          },
          8754: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = t(52770);
          },
          17247: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return (A === void 0 && (A = 1e-4), Math.ceil(t - A));
            };
            d.exports = y;
          },
          88456: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              return (c === void 0 && (c = 1e-4), Math.abs(t - A) < c);
            };
            d.exports = y;
          },
          61824: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return (A === void 0 && (A = 1e-4), Math.floor(t + A));
            };
            d.exports = y;
          },
          41935: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              return (c === void 0 && (c = 1e-4), t > A - c);
            };
            d.exports = y;
          },
          54726: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              return (c === void 0 && (c = 1e-4), t < A + c);
            };
            d.exports = y;
          },
          52778: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              Ceil: t(17247),
              Equal: t(88456),
              Floor: t(61824),
              GreaterThan: t(41935),
              LessThan: t(54726),
            };
          },
          5923: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(83392),
              c = t(98611),
              a = {
                Angle: t(22153),
                Distance: t(10130),
                Easing: t(33063),
                Fuzzy: t(52778),
                Interpolation: t(48528),
                Pow2: t(73773),
                Snap: t(23679),
                RandomDataGenerator: t(81429),
                Average: t(26042),
                Bernstein: t(22824),
                Between: t(17489),
                CatmullRom: t(14976),
                CeilTo: t(89129),
                Clamp: t(82897),
                DegToRad: t(75606),
                Difference: t(767),
                Euler: t(9849),
                Factorial: t(8034),
                FloatBetween: t(61616),
                FloorTo: t(60679),
                FromPercent: t(91806),
                GetSpeed: t(79366),
                IsEven: t(43776),
                IsEvenStrict: t(58442),
                Linear: t(42798),
                LinearXY: t(61072),
                MaxAdd: t(69635),
                Median: t(37394),
                MinSub: t(17259),
                Percent: t(61820),
                RadToDeg: t(23701),
                RandomXY: t(16906),
                RandomXYZ: t(52417),
                RandomXYZW: t(17915),
                Rotate: t(52257),
                RotateAround: t(2386),
                RotateAroundDistance: t(72395),
                RotateTo: t(41061),
                RoundAwayFromZero: t(67233),
                RoundTo: t(64333),
                SinCosTableGenerator: t(59533),
                SmootherStep: t(87736),
                SmoothStep: t(5514),
                ToXY: t(55805),
                TransformXY: t(64462),
                Within: t(9557),
                Wrap: t(1071),
                Vector2: t(93736),
                Vector3: t(70015),
                Vector4: t(51729),
                Matrix3: t(5341),
                Matrix4: t(16650),
                Quaternion: t(75003),
                RotateVec3: t(93709),
              };
            ((a = c(!1, a, A)), (d.exports = a));
          },
          63210: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(22824),
              c = function (a, r) {
                for (var n = 0, e = a.length - 1, s = 0; s <= e; s++)
                  n += Math.pow(1 - r, e - s) * Math.pow(r, s) * a[s] * A(e, s);
                return n;
              };
            d.exports = c;
          },
          88332: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(14976),
              c = function (a, r) {
                var n = a.length - 1,
                  e = n * r,
                  s = Math.floor(e);
                return a[0] === a[n]
                  ? (r < 0 && (s = Math.floor((e = n * (1 + r)))),
                    A(
                      e - s,
                      a[(s - 1 + n) % n],
                      a[s],
                      a[(s + 1) % n],
                      a[(s + 2) % n],
                    ))
                  : r < 0
                    ? a[0] - (A(-e, a[0], a[0], a[1], a[1]) - a[0])
                    : r > 1
                      ? a[n] - (A(e - n, a[n], a[n], a[n - 1], a[n - 1]) - a[n])
                      : A(
                          e - s,
                          a[s ? s - 1 : 0],
                          a[s],
                          a[n < s + 1 ? n : s + 1],
                          a[n < s + 2 ? n : s + 2],
                        );
              };
            d.exports = c;
          },
          34631: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ function y(r, n) {
              var e = 1 - r;
              return e * e * e * n;
            }
            function t(r, n) {
              var e = 1 - r;
              return 3 * e * e * r * n;
            }
            function A(r, n) {
              return 3 * (1 - r) * r * r * n;
            }
            function c(r, n) {
              return r * r * r * n;
            }
            var a = function (r, n, e, s, u) {
              return y(r, n) + t(r, e) + A(r, s) + c(r, u);
            };
            d.exports = a;
          },
          47614: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(42798),
              c = function (a, r) {
                var n = a.length - 1,
                  e = n * r,
                  s = Math.floor(e);
                return r < 0
                  ? A(a[0], a[1], e)
                  : r > 1
                    ? A(a[n], a[n - 1], n - e)
                    : A(a[s], a[s + 1 > n ? n : s + 1], e - s);
              };
            d.exports = c;
          },
          16252: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ function y(a, r) {
              var n = 1 - a;
              return n * n * r;
            }
            function t(a, r) {
              return 2 * (1 - a) * a * r;
            }
            function A(a, r) {
              return a * a * r;
            }
            var c = function (a, r, n, e) {
              return y(a, r) + t(a, n) + A(a, e);
            };
            d.exports = c;
          },
          44521: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(5514),
              c = function (a, r, n) {
                return r + (n - r) * A(a, 0, 1);
              };
            d.exports = c;
          },
          45507: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(87736),
              c = function (a, r, n) {
                return r + (n - r) * A(a, 0, 1);
              };
            d.exports = c;
          },
          48528: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              Bezier: t(63210),
              CatmullRom: t(88332),
              CubicBezier: t(34631),
              Linear: t(47614),
              QuadraticBezier: t(16252),
              SmoothStep: t(44521),
              SmootherStep: t(45507),
            };
          },
          3504: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              var A = Math.log(t) / 0.6931471805599453;
              return 1 << Math.ceil(A);
            };
            d.exports = y;
          },
          28621: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return (
                t > 0 && (t & (t - 1)) === 0 && A > 0 && (A & (A - 1)) === 0
              );
            };
            d.exports = y;
          },
          2018: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return t > 0 && (t & (t - 1)) === 0;
            };
            d.exports = y;
          },
          73773: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              GetNext: t(3504),
              IsSize: t(28621),
              IsValue: t(2018),
            };
          },
          81429: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = new A({
                initialize: function (r) {
                  (r === void 0 &&
                    (r = [(Date.now() * Math.random()).toString()]),
                    (this.c = 1),
                    (this.s0 = 0),
                    (this.s1 = 0),
                    (this.s2 = 0),
                    (this.n = 0),
                    (this.signs = [-1, 1]),
                    r && this.init(r));
                },
                rnd: function () {
                  var a = 2091639 * this.s0 + this.c * 23283064365386963e-26;
                  return (
                    (this.c = a | 0),
                    (this.s0 = this.s1),
                    (this.s1 = this.s2),
                    (this.s2 = a - this.c),
                    this.s2
                  );
                },
                hash: function (a) {
                  var r,
                    n = this.n;
                  a = a.toString();
                  for (var e = 0; e < a.length; e++)
                    ((n += a.charCodeAt(e)),
                      (r = 0.02519603282416938 * n),
                      (n = r >>> 0),
                      (r -= n),
                      (r *= n),
                      (n = r >>> 0),
                      (r -= n),
                      (n += r * 4294967296));
                  return ((this.n = n), (n >>> 0) * 23283064365386963e-26);
                },
                init: function (a) {
                  typeof a == "string" ? this.state(a) : this.sow(a);
                },
                sow: function (a) {
                  if (
                    ((this.n = 4022871197),
                    (this.s0 = this.hash(" ")),
                    (this.s1 = this.hash(" ")),
                    (this.s2 = this.hash(" ")),
                    (this.c = 1),
                    !!a)
                  )
                    for (var r = 0; r < a.length && a[r] != null; r++) {
                      var n = a[r];
                      ((this.s0 -= this.hash(n)),
                        (this.s0 += ~~(this.s0 < 0)),
                        (this.s1 -= this.hash(n)),
                        (this.s1 += ~~(this.s1 < 0)),
                        (this.s2 -= this.hash(n)),
                        (this.s2 += ~~(this.s2 < 0)));
                    }
                },
                integer: function () {
                  return this.rnd() * 4294967296;
                },
                frac: function () {
                  return (
                    this.rnd() +
                    ((this.rnd() * 2097152) | 0) * 11102230246251565e-32
                  );
                },
                real: function () {
                  return this.integer() + this.frac();
                },
                integerInRange: function (a, r) {
                  return Math.floor(this.realInRange(0, r - a + 1) + a);
                },
                between: function (a, r) {
                  return Math.floor(this.realInRange(0, r - a + 1) + a);
                },
                realInRange: function (a, r) {
                  return this.frac() * (r - a) + a;
                },
                normal: function () {
                  return 1 - 2 * this.frac();
                },
                uuid: function () {
                  var a = "",
                    r = "";
                  for (
                    r = a = "";
                    a++ < 36;
                    r +=
                      (~a % 5) | ((a * 3) & 4)
                        ? (a ^ 15
                            ? 8 ^ (this.frac() * (a ^ 20 ? 16 : 4))
                            : 4
                          ).toString(16)
                        : "-"
                  );
                  return r;
                },
                pick: function (a) {
                  return a[this.integerInRange(0, a.length - 1)];
                },
                sign: function () {
                  return this.pick(this.signs);
                },
                weightedPick: function (a) {
                  return a[~~(Math.pow(this.frac(), 2) * a.length + 0.5)];
                },
                timestamp: function (a, r) {
                  return this.realInRange(a || 9466848e5, r || 1577862e6);
                },
                angle: function () {
                  return this.integerInRange(-180, 180);
                },
                rotation: function () {
                  return this.realInRange(-3.1415926, 3.1415926);
                },
                state: function (a) {
                  return (
                    typeof a == "string" &&
                      a.match(/^!rnd/) &&
                      ((a = a.split(",")),
                      (this.c = parseFloat(a[1])),
                      (this.s0 = parseFloat(a[2])),
                      (this.s1 = parseFloat(a[3])),
                      (this.s2 = parseFloat(a[4]))),
                    ["!rnd", this.c, this.s0, this.s1, this.s2].join(",")
                  );
                },
                shuffle: function (a) {
                  for (var r = a.length - 1, n = r; n > 0; n--) {
                    var e = Math.floor(this.frac() * (n + 1)),
                      s = a[e];
                    ((a[e] = a[n]), (a[n] = s));
                  }
                  return a;
                },
              });
            d.exports = c;
          },
          82127: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              return (
                c === void 0 && (c = 0),
                A === 0
                  ? t
                  : ((t -= c),
                    (t = A * Math.ceil(t / A)),
                    a ? (c + t) / A : c + t)
              );
            };
            d.exports = y;
          },
          84314: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              return (
                c === void 0 && (c = 0),
                A === 0
                  ? t
                  : ((t -= c),
                    (t = A * Math.floor(t / A)),
                    a ? (c + t) / A : c + t)
              );
            };
            d.exports = y;
          },
          88462: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              return (
                c === void 0 && (c = 0),
                A === 0
                  ? t
                  : ((t -= c),
                    (t = A * Math.round(t / A)),
                    a ? (c + t) / A : c + t)
              );
            };
            d.exports = y;
          },
          23679: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = { Ceil: t(82127), Floor: t(84314), To: t(88462) };
          },
          92491: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ t(75205);
            var A = t(86459),
              c = t(98611),
              a = {
                Actions: t(83979),
                Animations: t(13517),
                BlendModes: t(95723),
                Cache: t(45820),
                Cameras: t(44143),
                Core: t(80293),
                Class: t(56694),
                Create: t(84106),
                Curves: t(73962),
                Data: t(1999),
                Display: t(24816),
                DOM: t(3590),
                Events: t(95146),
                FX: t(96910),
                Game: t(15213),
                GameObjects: t(48013),
                Geom: t(84068),
                Input: t(20873),
                Loader: t(95695),
                Math: t(5923),
                Physics: t(53954),
                Plugins: t(45615),
                Renderer: t(42069),
                Scale: t(86754),
                ScaleModes: t(27394),
                Scene: t(87157),
                Scenes: t(20436),
                Structs: t(20010),
                Textures: t(87499),
                Tilemaps: t(52678),
                Time: t(97121),
                Tweens: t(75193),
                Utils: t(22178),
              };
            ((a.Sound = t(56751)),
              (a = c(!1, a, A)),
              (d.exports = a),
              (t.g.Phaser = a));
          },
          62832: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(7864),
              a = t(1539),
              r = new A({
                Extends: a,
                Mixins: [
                  c.Acceleration,
                  c.Angular,
                  c.Bounce,
                  c.Collision,
                  c.Debug,
                  c.Drag,
                  c.Enable,
                  c.Friction,
                  c.Gravity,
                  c.Immovable,
                  c.Mass,
                  c.Pushable,
                  c.Size,
                  c.Velocity,
                ],
                initialize: function (e, s, u, i, o) {
                  (a.call(this, e, s, u, i, o), (this.body = null));
                },
              });
            d.exports = r;
          },
          66150: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(75606),
              a = t(53996),
              r = t(35032),
              n = t(99523),
              e = t(72632),
              s = t(30657),
              u = t(2732),
              i = t(15147),
              o = t(91963),
              h = t(7599),
              l = t(93736),
              f = t(85233),
              v = new A({
                initialize: function (x) {
                  ((this.scene = x),
                    (this.systems = x.sys),
                    (this.config = this.getConfig()),
                    this.world,
                    this.add,
                    (this._category = 1),
                    x.sys.events.once(
                      h.BOOT,
                      this.boot,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    x.sys.events.on(
                      h.START,
                      this.start,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                boot: function () {
                  ((this.world = new f(this.scene, this.config)),
                    (this.add = new n(this.world)),
                    this.systems.events.once(
                      h.DESTROY,
                      this.destroy,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                start: function () {
                  this.world ||
                    ((this.world = new f(this.scene, this.config)),
                    (this.add = new n(this.world)));
                  var m = this.systems.events;
                  (e(this.config, "customUpdate", !1) ||
                    m.on(h.UPDATE, this.world.update, this.world),
                    m.on(h.POST_UPDATE, this.world.postUpdate, this.world),
                    m.once(
                      h.SHUTDOWN,
                      this.shutdown,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                enableUpdate: function () {
                  this.systems.events.on(
                    h.UPDATE,
                    this.world.update,
                    this.world,
                  );
                },
                disableUpdate: function () {
                  this.systems.events.off(
                    h.UPDATE,
                    this.world.update,
                    this.world,
                  );
                },
                getConfig: function () {
                  var m = this.systems.game.config.physics,
                    x = this.systems.settings.physics,
                    g = s(e(x, "arcade", {}), e(m, "arcade", {}));
                  return g;
                },
                nextCategory: function () {
                  return (
                    (this._category = this._category << 1),
                    this._category
                  );
                },
                overlap: function (m, x, g, C, T) {
                  return (
                    g === void 0 && (g = null),
                    C === void 0 && (C = null),
                    T === void 0 && (T = g),
                    this.world.collideObjects(m, x, g, C, T, !0)
                  );
                },
                collide: function (m, x, g, C, T) {
                  return (
                    g === void 0 && (g = null),
                    C === void 0 && (C = null),
                    T === void 0 && (T = g),
                    this.world.collideObjects(m, x, g, C, T, !1)
                  );
                },
                collideTiles: function (m, x, g, C, T) {
                  return this.world.collideTiles(m, x, g, C, T);
                },
                overlapTiles: function (m, x, g, C, T) {
                  return this.world.overlapTiles(m, x, g, C, T);
                },
                pause: function () {
                  return this.world.pause();
                },
                resume: function () {
                  return this.world.resume();
                },
                accelerateTo: function (m, x, g, C, T, F) {
                  C === void 0 && (C = 60);
                  var w = Math.atan2(g - m.y, x - m.x);
                  return (
                    m.body.acceleration.setToPolar(w, C),
                    T !== void 0 &&
                      F !== void 0 &&
                      m.body.maxVelocity.set(T, F),
                    w
                  );
                },
                accelerateToObject: function (m, x, g, C, T) {
                  return this.accelerateTo(m, x.x, x.y, g, C, T);
                },
                closest: function (m, x) {
                  x || (x = this.world.bodies.entries);
                  for (
                    var g = Number.MAX_VALUE,
                      C = null,
                      T = m.x,
                      F = m.y,
                      w = x.length,
                      U = 0;
                    U < w;
                    U++
                  ) {
                    var M = x[U],
                      I = M.body || M;
                    if (
                      !(
                        m === M ||
                        m === I ||
                        m === I.gameObject ||
                        m === I.center
                      )
                    ) {
                      var O = r(T, F, I.center.x, I.center.y);
                      O < g && ((C = M), (g = O));
                    }
                  }
                  return C;
                },
                furthest: function (m, x) {
                  x || (x = this.world.bodies.entries);
                  for (
                    var g = -1, C = null, T = m.x, F = m.y, w = x.length, U = 0;
                    U < w;
                    U++
                  ) {
                    var M = x[U],
                      I = M.body || M;
                    if (
                      !(
                        m === M ||
                        m === I ||
                        m === I.gameObject ||
                        m === I.center
                      )
                    ) {
                      var O = r(T, F, I.center.x, I.center.y);
                      O > g && ((C = M), (g = O));
                    }
                  }
                  return C;
                },
                moveTo: function (m, x, g, C, T) {
                  (C === void 0 && (C = 60), T === void 0 && (T = 0));
                  var F = Math.atan2(g - m.y, x - m.x);
                  return (
                    T > 0 && (C = a(m.x, m.y, x, g) / (T / 1e3)),
                    m.body.velocity.setToPolar(F, C),
                    F
                  );
                },
                moveToObject: function (m, x, g, C) {
                  return this.moveTo(m, x.x, x.y, g, C);
                },
                velocityFromAngle: function (m, x, g) {
                  return (
                    x === void 0 && (x = 60),
                    g === void 0 && (g = new l()),
                    g.setToPolar(c(m), x)
                  );
                },
                velocityFromRotation: function (m, x, g) {
                  return (
                    x === void 0 && (x = 60),
                    g === void 0 && (g = new l()),
                    g.setToPolar(m, x)
                  );
                },
                overlapRect: function (m, x, g, C, T, F) {
                  return i(this.world, m, x, g, C, T, F);
                },
                overlapCirc: function (m, x, g, C, T) {
                  return u(this.world, m, x, g, C, T);
                },
                shutdown: function () {
                  if (this.world) {
                    var m = this.systems.events;
                    (m.off(h.UPDATE, this.world.update, this.world),
                      m.off(h.POST_UPDATE, this.world.postUpdate, this.world),
                      m.off(
                        h.SHUTDOWN,
                        this.shutdown,
                        _____WB$wombat$check$this$function_____(this),
                      ),
                      this.add.destroy(),
                      this.world.destroy(),
                      (this.add = null),
                      (this.world = null),
                      (this._category = 1));
                  }
                },
                destroy: function () {
                  (this.shutdown(),
                    this.scene.sys.events.off(
                      h.START,
                      this.start,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    (this.scene = null),
                    (this.systems = null));
                },
              });
            (o.register("ArcadePhysics", v, "arcadePhysics"), (d.exports = v));
          },
          25084: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(7864),
              a = t(13747),
              r = new A({
                Extends: a,
                Mixins: [
                  c.Acceleration,
                  c.Angular,
                  c.Bounce,
                  c.Collision,
                  c.Debug,
                  c.Drag,
                  c.Enable,
                  c.Friction,
                  c.Gravity,
                  c.Immovable,
                  c.Mass,
                  c.Pushable,
                  c.Size,
                  c.Velocity,
                ],
                initialize: function (e, s, u, i, o) {
                  (a.call(this, e, s, u, i, o), (this.body = null));
                },
              });
            d.exports = r;
          },
          97602: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(95239),
              a = t(47401),
              r = t(27037),
              n = t(23701),
              e = t(74118),
              s = t(94287),
              u = t(15084),
              i = t(93736),
              o = new A({
                Mixins: [c],
                initialize: function (l, f) {
                  var v = 64,
                    m = 64,
                    x = {
                      x: 0,
                      y: 0,
                      angle: 0,
                      rotation: 0,
                      scaleX: 1,
                      scaleY: 1,
                      displayOriginX: 0,
                      displayOriginY: 0,
                    },
                    g = f !== void 0;
                  (g &&
                    f.displayWidth &&
                    ((v = f.displayWidth), (m = f.displayHeight)),
                    g || (f = x),
                    (this.world = l),
                    (this.gameObject = g ? f : void 0),
                    (this.isBody = !0),
                    (this.transform = {
                      x: f.x,
                      y: f.y,
                      rotation: f.angle,
                      scaleX: f.scaleX,
                      scaleY: f.scaleY,
                      displayOriginX: f.displayOriginX,
                      displayOriginY: f.displayOriginY,
                    }),
                    (this.debugShowBody = l.defaults.debugShowBody),
                    (this.debugShowVelocity = l.defaults.debugShowVelocity),
                    (this.debugBodyColor = l.defaults.bodyDebugColor),
                    (this.enable = !0),
                    (this.isCircle = !1),
                    (this.radius = 0),
                    (this.offset = new i()),
                    (this.position = new i(
                      f.x - f.scaleX * f.displayOriginX,
                      f.y - f.scaleY * f.displayOriginY,
                    )),
                    (this.prev = this.position.clone()),
                    (this.prevFrame = this.position.clone()),
                    (this.allowRotation = !0),
                    (this.rotation = f.angle),
                    (this.preRotation = f.angle),
                    (this.width = v),
                    (this.height = m),
                    (this.sourceWidth = v),
                    (this.sourceHeight = m),
                    f.frame &&
                      ((this.sourceWidth = f.frame.realWidth),
                      (this.sourceHeight = f.frame.realHeight)),
                    (this.halfWidth = Math.abs(v / 2)),
                    (this.halfHeight = Math.abs(m / 2)),
                    (this.center = new i(
                      this.position.x + this.halfWidth,
                      this.position.y + this.halfHeight,
                    )),
                    (this.velocity = new i()),
                    (this.newVelocity = new i()),
                    (this.deltaMax = new i()),
                    (this.acceleration = new i()),
                    (this.allowDrag = !0),
                    (this.drag = new i()),
                    (this.allowGravity = !0),
                    (this.gravity = new i()),
                    (this.bounce = new i()),
                    (this.worldBounce = null),
                    (this.customBoundsRectangle = l.bounds),
                    (this.onWorldBounds = !1),
                    (this.onCollide = !1),
                    (this.onOverlap = !1),
                    (this.maxVelocity = new i(1e4, 1e4)),
                    (this.maxSpeed = -1),
                    (this.friction = new i(1, 0)),
                    (this.useDamping = !1),
                    (this.angularVelocity = 0),
                    (this.angularAcceleration = 0),
                    (this.angularDrag = 0),
                    (this.maxAngular = 1e3),
                    (this.mass = 1),
                    (this.angle = 0),
                    (this.speed = 0),
                    (this.facing = a.FACING_NONE),
                    (this.immovable = !1),
                    (this.pushable = !0),
                    (this.slideFactor = new i(1, 1)),
                    (this.moves = !0),
                    (this.customSeparateX = !1),
                    (this.customSeparateY = !1),
                    (this.overlapX = 0),
                    (this.overlapY = 0),
                    (this.overlapR = 0),
                    (this.embedded = !1),
                    (this.collideWorldBounds = !1),
                    (this.checkCollision = u(!1)),
                    (this.touching = u(!0)),
                    (this.wasTouching = u(!0)),
                    (this.blocked = u(!0)),
                    (this.syncBounds = !1),
                    (this.physicsType = a.DYNAMIC_BODY),
                    (this.collisionCategory = 1),
                    (this.collisionMask = 1),
                    (this._sx = f.scaleX),
                    (this._sy = f.scaleY),
                    (this._dx = 0),
                    (this._dy = 0),
                    (this._tx = 0),
                    (this._ty = 0),
                    (this._bounds = new e()),
                    (this.directControl = !1),
                    (this.autoFrame = this.position.clone()));
                },
                updateBounds: function () {
                  var h = this.gameObject,
                    l = this.transform;
                  if (h.parentContainer) {
                    var f = h.getWorldTransformMatrix(
                      this.world._tempMatrix,
                      this.world._tempMatrix2,
                    );
                    ((l.x = f.tx),
                      (l.y = f.ty),
                      (l.rotation = n(f.rotation)),
                      (l.scaleX = f.scaleX),
                      (l.scaleY = f.scaleY),
                      (l.displayOriginX = h.displayOriginX),
                      (l.displayOriginY = h.displayOriginY));
                  } else
                    ((l.x = h.x),
                      (l.y = h.y),
                      (l.rotation = h.angle),
                      (l.scaleX = h.scaleX),
                      (l.scaleY = h.scaleY),
                      (l.displayOriginX = h.displayOriginX),
                      (l.displayOriginY = h.displayOriginY));
                  var v = !1;
                  if (this.syncBounds) {
                    var m = h.getBounds(this._bounds);
                    ((this.width = m.width),
                      (this.height = m.height),
                      (v = !0));
                  } else {
                    var x = Math.abs(l.scaleX),
                      g = Math.abs(l.scaleY);
                    (this._sx !== x || this._sy !== g) &&
                      ((this.width = this.sourceWidth * x),
                      (this.height = this.sourceHeight * g),
                      (this._sx = x),
                      (this._sy = g),
                      (v = !0));
                  }
                  v &&
                    ((this.halfWidth = Math.floor(this.width / 2)),
                    (this.halfHeight = Math.floor(this.height / 2)),
                    this.updateCenter());
                },
                updateCenter: function () {
                  this.center.set(
                    this.position.x + this.halfWidth,
                    this.position.y + this.halfHeight,
                  );
                },
                updateFromGameObject: function () {
                  this.updateBounds();
                  var h = this.transform;
                  ((this.position.x =
                    h.x + h.scaleX * (this.offset.x - h.displayOriginX)),
                    (this.position.y =
                      h.y + h.scaleY * (this.offset.y - h.displayOriginY)),
                    this.updateCenter());
                },
                resetFlags: function (h) {
                  h === void 0 && (h = !1);
                  var l = this.wasTouching,
                    f = this.touching,
                    v = this.blocked;
                  (h
                    ? u(!0, l)
                    : ((l.none = f.none),
                      (l.up = f.up),
                      (l.down = f.down),
                      (l.left = f.left),
                      (l.right = f.right)),
                    u(!0, f),
                    u(!0, v),
                    (this.overlapR = 0),
                    (this.overlapX = 0),
                    (this.overlapY = 0),
                    (this.embedded = !1));
                },
                preUpdate: function (h, l) {
                  if (
                    (h && this.resetFlags(),
                    this.gameObject && this.updateFromGameObject(),
                    (this.rotation = this.transform.rotation),
                    (this.preRotation = this.rotation),
                    this.moves)
                  ) {
                    var f = this.position;
                    ((this.prev.x = f.x),
                      (this.prev.y = f.y),
                      (this.prevFrame.x = f.x),
                      (this.prevFrame.y = f.y));
                  }
                  h && this.update(l);
                },
                update: function (h) {
                  var l = this.prev,
                    f = this.position,
                    v = this.velocity;
                  if ((l.set(f.x, f.y), !this.moves)) {
                    ((this._dx = f.x - l.x), (this._dy = f.y - l.y));
                    return;
                  }
                  if (this.directControl) {
                    var m = this.autoFrame;
                    (v.set((f.x - m.x) / h, (f.y - m.y) / h),
                      this.world.updateMotion(this, h),
                      (this._dx = f.x - m.x),
                      (this._dy = f.y - m.y));
                  } else
                    (this.world.updateMotion(this, h),
                      this.newVelocity.set(v.x * h, v.y * h),
                      f.add(this.newVelocity),
                      (this._dx = f.x - l.x),
                      (this._dy = f.y - l.y));
                  var x = v.x,
                    g = v.y;
                  if (
                    (this.updateCenter(),
                    (this.angle = Math.atan2(g, x)),
                    (this.speed = Math.sqrt(x * x + g * g)),
                    this.collideWorldBounds &&
                      this.checkWorldBounds() &&
                      this.onWorldBounds)
                  ) {
                    var C = this.blocked;
                    this.world.emit(
                      r.WORLD_BOUNDS,
                      _____WB$wombat$check$this$function_____(this),
                      C.up,
                      C.down,
                      C.left,
                      C.right,
                    );
                  }
                },
                postUpdate: function () {
                  var h = this.position,
                    l = h.x - this.prevFrame.x,
                    f = h.y - this.prevFrame.y,
                    v = this.gameObject;
                  if (this.moves) {
                    var m = this.deltaMax.x,
                      x = this.deltaMax.y;
                    (m !== 0 &&
                      l !== 0 &&
                      (l < 0 && l < -m ? (l = -m) : l > 0 && l > m && (l = m)),
                      x !== 0 &&
                        f !== 0 &&
                        (f < 0 && f < -x
                          ? (f = -x)
                          : f > 0 && f > x && (f = x)),
                      v && ((v.x += l), (v.y += f)));
                  }
                  (l < 0
                    ? (this.facing = a.FACING_LEFT)
                    : l > 0 && (this.facing = a.FACING_RIGHT),
                    f < 0
                      ? (this.facing = a.FACING_UP)
                      : f > 0 && (this.facing = a.FACING_DOWN),
                    this.allowRotation && v && (v.angle += this.deltaZ()),
                    (this._tx = l),
                    (this._ty = f),
                    this.autoFrame.set(h.x, h.y));
                },
                setBoundsRectangle: function (h) {
                  return (
                    (this.customBoundsRectangle = h || this.world.bounds),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                checkWorldBounds: function () {
                  var h = this.position,
                    l = this.velocity,
                    f = this.blocked,
                    v = this.customBoundsRectangle,
                    m = this.world.checkCollision,
                    x = this.worldBounce ? -this.worldBounce.x : -this.bounce.x,
                    g = this.worldBounce ? -this.worldBounce.y : -this.bounce.y,
                    C = !1;
                  return (
                    h.x < v.x && m.left
                      ? ((h.x = v.x), (l.x *= x), (f.left = !0), (C = !0))
                      : this.right > v.right &&
                        m.right &&
                        ((h.x = v.right - this.width),
                        (l.x *= x),
                        (f.right = !0),
                        (C = !0)),
                    h.y < v.y && m.up
                      ? ((h.y = v.y), (l.y *= g), (f.up = !0), (C = !0))
                      : this.bottom > v.bottom &&
                        m.down &&
                        ((h.y = v.bottom - this.height),
                        (l.y *= g),
                        (f.down = !0),
                        (C = !0)),
                    C && ((this.blocked.none = !1), this.updateCenter()),
                    C
                  );
                },
                setOffset: function (h, l) {
                  return (
                    l === void 0 && (l = h),
                    this.offset.set(h, l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setGameObject: function (h, l) {
                  return (
                    l === void 0 && (l = !0),
                    this.world.remove(this),
                    this.gameObject &&
                      this.gameObject.body &&
                      (this.gameObject.body = null),
                    (this.gameObject = h),
                    h.body &&
                      (h.body = _____WB$wombat$check$this$function_____(this)),
                    this.setSize(),
                    this.world.add(this),
                    (this.enable = l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setSize: function (h, l, f) {
                  f === void 0 && (f = !0);
                  var v = this.gameObject;
                  if (
                    (v &&
                      (!h && v.frame && (h = v.frame.realWidth),
                      !l && v.frame && (l = v.frame.realHeight)),
                    (this.sourceWidth = h),
                    (this.sourceHeight = l),
                    (this.width = this.sourceWidth * this._sx),
                    (this.height = this.sourceHeight * this._sy),
                    (this.halfWidth = Math.floor(this.width / 2)),
                    (this.halfHeight = Math.floor(this.height / 2)),
                    this.updateCenter(),
                    f && v && v.getCenter)
                  ) {
                    var m = (v.width - h) / 2,
                      x = (v.height - l) / 2;
                    this.offset.set(m, x);
                  }
                  return (
                    (this.isCircle = !1),
                    (this.radius = 0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setCircle: function (h, l, f) {
                  return (
                    l === void 0 && (l = this.offset.x),
                    f === void 0 && (f = this.offset.y),
                    h > 0
                      ? ((this.isCircle = !0),
                        (this.radius = h),
                        (this.sourceWidth = h * 2),
                        (this.sourceHeight = h * 2),
                        (this.width = this.sourceWidth * this._sx),
                        (this.height = this.sourceHeight * this._sy),
                        (this.halfWidth = Math.floor(this.width / 2)),
                        (this.halfHeight = Math.floor(this.height / 2)),
                        this.offset.set(l, f),
                        this.updateCenter())
                      : (this.isCircle = !1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                reset: function (h, l) {
                  this.stop();
                  var f = this.gameObject;
                  f &&
                    (f.setPosition(h, l),
                    (this.rotation = f.angle),
                    (this.preRotation = f.angle));
                  var v = this.position;
                  (f && f.getTopLeft ? f.getTopLeft(v) : v.set(h, l),
                    this.prev.copy(v),
                    this.prevFrame.copy(v),
                    this.autoFrame.copy(v),
                    f && this.updateBounds(),
                    this.updateCenter(),
                    this.collideWorldBounds && this.checkWorldBounds(),
                    this.resetFlags(!0));
                },
                stop: function () {
                  return (
                    this.velocity.set(0),
                    this.acceleration.set(0),
                    (this.speed = 0),
                    (this.angularVelocity = 0),
                    (this.angularAcceleration = 0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getBounds: function (h) {
                  return (
                    (h.x = this.x),
                    (h.y = this.y),
                    (h.right = this.right),
                    (h.bottom = this.bottom),
                    h
                  );
                },
                hitTest: function (h, l) {
                  if (!this.isCircle) return s(this, h, l);
                  if (
                    this.radius > 0 &&
                    h >= this.left &&
                    h <= this.right &&
                    l >= _____WB$wombat$check$this$function_____(this).top &&
                    l <= this.bottom
                  ) {
                    var f = (this.center.x - h) * (this.center.x - h),
                      v = (this.center.y - l) * (this.center.y - l);
                    return f + v <= this.radius * this.radius;
                  }
                  return !1;
                },
                onFloor: function () {
                  return this.blocked.down;
                },
                onCeiling: function () {
                  return this.blocked.up;
                },
                onWall: function () {
                  return this.blocked.left || this.blocked.right;
                },
                deltaAbsX: function () {
                  return this._dx > 0 ? this._dx : -this._dx;
                },
                deltaAbsY: function () {
                  return this._dy > 0 ? this._dy : -this._dy;
                },
                deltaX: function () {
                  return this._dx;
                },
                deltaY: function () {
                  return this._dy;
                },
                deltaXFinal: function () {
                  return this._tx;
                },
                deltaYFinal: function () {
                  return this._ty;
                },
                deltaZ: function () {
                  return this.rotation - this.preRotation;
                },
                destroy: function () {
                  ((this.enable = !1),
                    this.world && this.world.pendingDestroy.set(this));
                },
                drawDebug: function (h) {
                  var l = this.position,
                    f = l.x + this.halfWidth,
                    v = l.y + this.halfHeight;
                  (this.debugShowBody &&
                    (h.lineStyle(h.defaultStrokeWidth, this.debugBodyColor),
                    this.isCircle
                      ? h.strokeCircle(f, v, this.width / 2)
                      : (this.checkCollision.up &&
                          h.lineBetween(l.x, l.y, l.x + this.width, l.y),
                        this.checkCollision.right &&
                          h.lineBetween(
                            l.x + this.width,
                            l.y,
                            l.x + this.width,
                            l.y + this.height,
                          ),
                        this.checkCollision.down &&
                          h.lineBetween(
                            l.x,
                            l.y + this.height,
                            l.x + this.width,
                            l.y + this.height,
                          ),
                        this.checkCollision.left &&
                          h.lineBetween(l.x, l.y, l.x, l.y + this.height))),
                    this.debugShowVelocity &&
                      (h.lineStyle(
                        h.defaultStrokeWidth,
                        this.world.defaults.velocityDebugColor,
                        1,
                      ),
                      h.lineBetween(
                        f,
                        v,
                        f + this.velocity.x / 2,
                        v + this.velocity.y / 2,
                      )));
                },
                willDrawDebug: function () {
                  return this.debugShowBody || this.debugShowVelocity;
                },
                setDirectControl: function (h) {
                  return (
                    h === void 0 && (h = !0),
                    (this.directControl = h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setCollideWorldBounds: function (h, l, f, v) {
                  (h === void 0 && (h = !0), (this.collideWorldBounds = h));
                  var m = l !== void 0,
                    x = f !== void 0;
                  return (
                    (m || x) &&
                      (this.worldBounce || (this.worldBounce = new i()),
                      m && (this.worldBounce.x = l),
                      x && (this.worldBounce.y = f)),
                    v !== void 0 && (this.onWorldBounds = v),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setVelocity: function (h, l) {
                  return (
                    this.velocity.set(h, l),
                    (h = this.velocity.x),
                    (l = this.velocity.y),
                    (this.speed = Math.sqrt(h * h + l * l)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setVelocityX: function (h) {
                  return this.setVelocity(h, this.velocity.y);
                },
                setVelocityY: function (h) {
                  return this.setVelocity(this.velocity.x, h);
                },
                setMaxVelocity: function (h, l) {
                  return (
                    this.maxVelocity.set(h, l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setMaxVelocityX: function (h) {
                  return (
                    (this.maxVelocity.x = h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setMaxVelocityY: function (h) {
                  return (
                    (this.maxVelocity.y = h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setMaxSpeed: function (h) {
                  return (
                    (this.maxSpeed = h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setSlideFactor: function (h, l) {
                  return (
                    this.slideFactor.set(h, l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setBounce: function (h, l) {
                  return (
                    this.bounce.set(h, l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setBounceX: function (h) {
                  return (
                    (this.bounce.x = h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setBounceY: function (h) {
                  return (
                    (this.bounce.y = h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setAcceleration: function (h, l) {
                  return (
                    this.acceleration.set(h, l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setAccelerationX: function (h) {
                  return (
                    (this.acceleration.x = h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setAccelerationY: function (h) {
                  return (
                    (this.acceleration.y = h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setAllowDrag: function (h) {
                  return (
                    h === void 0 && (h = !0),
                    (this.allowDrag = h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setAllowGravity: function (h) {
                  return (
                    h === void 0 && (h = !0),
                    (this.allowGravity = h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setAllowRotation: function (h) {
                  return (
                    h === void 0 && (h = !0),
                    (this.allowRotation = h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setDrag: function (h, l) {
                  return (
                    this.drag.set(h, l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setDamping: function (h) {
                  return (
                    (this.useDamping = h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setDragX: function (h) {
                  return (
                    (this.drag.x = h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setDragY: function (h) {
                  return (
                    (this.drag.y = h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setGravity: function (h, l) {
                  return (
                    this.gravity.set(h, l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setGravityX: function (h) {
                  return (
                    (this.gravity.x = h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setGravityY: function (h) {
                  return (
                    (this.gravity.y = h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setFriction: function (h, l) {
                  return (
                    this.friction.set(h, l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setFrictionX: function (h) {
                  return (
                    (this.friction.x = h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setFrictionY: function (h) {
                  return (
                    (this.friction.y = h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setAngularVelocity: function (h) {
                  return (
                    (this.angularVelocity = h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setAngularAcceleration: function (h) {
                  return (
                    (this.angularAcceleration = h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setAngularDrag: function (h) {
                  return (
                    (this.angularDrag = h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setMass: function (h) {
                  return (
                    (this.mass = h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setImmovable: function (h) {
                  return (
                    h === void 0 && (h = !0),
                    (this.immovable = h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setEnable: function (h) {
                  return (
                    h === void 0 && (h = !0),
                    (this.enable = h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                processX: function (h, l, f, v) {
                  ((this.x += h),
                    this.updateCenter(),
                    l !== null && (this.velocity.x = l * this.slideFactor.x));
                  var m = this.blocked;
                  (f && ((m.left = !0), (m.none = !1)),
                    v && ((m.right = !0), (m.none = !1)));
                },
                processY: function (h, l, f, v) {
                  ((this.y += h),
                    this.updateCenter(),
                    l !== null && (this.velocity.y = l * this.slideFactor.y));
                  var m = this.blocked;
                  (f && ((m.up = !0), (m.none = !1)),
                    v && ((m.down = !0), (m.none = !1)));
                },
                x: {
                  get: function () {
                    return this.position.x;
                  },
                  set: function (h) {
                    this.position.x = h;
                  },
                },
                y: {
                  get: function () {
                    return this.position.y;
                  },
                  set: function (h) {
                    this.position.y = h;
                  },
                },
                left: {
                  get: function () {
                    return this.position.x;
                  },
                },
                right: {
                  get: function () {
                    return this.position.x + this.width;
                  },
                },
                top: {
                  get: function () {
                    return this.position.y;
                  },
                },
                bottom: {
                  get: function () {
                    return this.position.y + this.height;
                  },
                },
              });
            d.exports = o;
          },
          3909: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = new A({
                initialize: function (r, n, e, s, u, i, o) {
                  ((this.world = r),
                    (this.name = ""),
                    (this.active = !0),
                    (this.overlapOnly = n),
                    (this.object1 = e),
                    (this.object2 = s),
                    (this.collideCallback = u),
                    (this.processCallback = i),
                    (this.callbackContext = o));
                },
                setName: function (a) {
                  return (
                    (this.name = a),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                update: function () {
                  this.world.collideObjects(
                    this.object1,
                    this.object2,
                    this.collideCallback,
                    this.processCallback,
                    this.callbackContext,
                    this.overlapOnly,
                  );
                },
                destroy: function () {
                  (this.world.removeCollider(this),
                    (this.active = !1),
                    (this.world = null),
                    (this.object1 = null),
                    (this.object2 = null),
                    (this.collideCallback = null),
                    (this.processCallback = null),
                    (this.callbackContext = null));
                },
              });
            d.exports = c;
          },
          99523: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(62832),
              c = t(25084),
              a = t(97602),
              r = t(56694),
              n = t(47401),
              e = t(10481),
              s = t(66634),
              u = t(46346),
              i = new r({
                initialize: function (h) {
                  ((this.world = h),
                    (this.scene = h.scene),
                    (this.sys = h.scene.sys));
                },
                collider: function (o, h, l, f, v) {
                  return this.world.addCollider(o, h, l, f, v);
                },
                overlap: function (o, h, l, f, v) {
                  return this.world.addOverlap(o, h, l, f, v);
                },
                existing: function (o, h) {
                  var l = h ? n.STATIC_BODY : n.DYNAMIC_BODY;
                  return (this.world.enableBody(o, l), o);
                },
                staticImage: function (o, h, l, f) {
                  var v = new A(this.scene, o, h, l, f);
                  return (
                    this.sys.displayList.add(v),
                    this.world.enableBody(v, n.STATIC_BODY),
                    v
                  );
                },
                image: function (o, h, l, f) {
                  var v = new A(this.scene, o, h, l, f);
                  return (
                    this.sys.displayList.add(v),
                    this.world.enableBody(v, n.DYNAMIC_BODY),
                    v
                  );
                },
                staticSprite: function (o, h, l, f) {
                  var v = new c(this.scene, o, h, l, f);
                  return (
                    this.sys.displayList.add(v),
                    this.sys.updateList.add(v),
                    this.world.enableBody(v, n.STATIC_BODY),
                    v
                  );
                },
                sprite: function (o, h, l, f) {
                  var v = new c(this.scene, o, h, l, f);
                  return (
                    this.sys.displayList.add(v),
                    this.sys.updateList.add(v),
                    this.world.enableBody(v, n.DYNAMIC_BODY),
                    v
                  );
                },
                staticGroup: function (o, h) {
                  return this.sys.updateList.add(
                    new u(this.world, this.world.scene, o, h),
                  );
                },
                group: function (o, h) {
                  return this.sys.updateList.add(
                    new e(this.world, this.world.scene, o, h),
                  );
                },
                body: function (o, h, l, f) {
                  var v = new a(this.world);
                  return (
                    v.position.set(o, h),
                    l && f && v.setSize(l, f),
                    this.world.add(v, n.DYNAMIC_BODY),
                    v
                  );
                },
                staticBody: function (o, h, l, f) {
                  var v = new s(this.world);
                  return (
                    v.position.set(o, h),
                    l && f && v.setSize(l, f),
                    this.world.add(v, n.STATIC_BODY),
                    v
                  );
                },
                destroy: function () {
                  ((this.world = null), (this.scene = null), (this.sys = null));
                },
              });
            d.exports = i;
          },
          44880: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              var A = 0;
              if (!Array.isArray(t)) A = t;
              else for (var c = 0; c < t.length; c++) A |= t[c];
              return A;
            };
            d.exports = y;
          },
          75671: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(47401),
              c = function (a, r, n, e) {
                var s = 0,
                  u = a.deltaAbsX() + r.deltaAbsX() + e;
                return (
                  a._dx === 0 && r._dx === 0
                    ? ((a.embedded = !0), (r.embedded = !0))
                    : a._dx > r._dx
                      ? ((s = a.right - r.x),
                        (s > u && !n) ||
                        a.checkCollision.right === !1 ||
                        r.checkCollision.left === !1
                          ? (s = 0)
                          : ((a.touching.none = !1),
                            (a.touching.right = !0),
                            (r.touching.none = !1),
                            (r.touching.left = !0),
                            r.physicsType === A.STATIC_BODY &&
                              !n &&
                              ((a.blocked.none = !1), (a.blocked.right = !0)),
                            a.physicsType === A.STATIC_BODY &&
                              !n &&
                              ((r.blocked.none = !1), (r.blocked.left = !0))))
                      : a._dx < r._dx &&
                        ((s = a.x - r.width - r.x),
                        (-s > u && !n) ||
                        a.checkCollision.left === !1 ||
                        r.checkCollision.right === !1
                          ? (s = 0)
                          : ((a.touching.none = !1),
                            (a.touching.left = !0),
                            (r.touching.none = !1),
                            (r.touching.right = !0),
                            r.physicsType === A.STATIC_BODY &&
                              !n &&
                              ((a.blocked.none = !1), (a.blocked.left = !0)),
                            a.physicsType === A.STATIC_BODY &&
                              !n &&
                              ((r.blocked.none = !1), (r.blocked.right = !0)))),
                  (a.overlapX = s),
                  (r.overlapX = s),
                  s
                );
              };
            d.exports = c;
          },
          66185: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(47401),
              c = function (a, r, n, e) {
                var s = 0,
                  u = a.deltaAbsY() + r.deltaAbsY() + e;
                return (
                  a._dy === 0 && r._dy === 0
                    ? ((a.embedded = !0), (r.embedded = !0))
                    : a._dy > r._dy
                      ? ((s = a.bottom - r.y),
                        (s > u && !n) ||
                        a.checkCollision.down === !1 ||
                        r.checkCollision.up === !1
                          ? (s = 0)
                          : ((a.touching.none = !1),
                            (a.touching.down = !0),
                            (r.touching.none = !1),
                            (r.touching.up = !0),
                            r.physicsType === A.STATIC_BODY &&
                              !n &&
                              ((a.blocked.none = !1), (a.blocked.down = !0)),
                            a.physicsType === A.STATIC_BODY &&
                              !n &&
                              ((r.blocked.none = !1), (r.blocked.up = !0))))
                      : a._dy < r._dy &&
                        ((s = a.y - r.bottom),
                        (-s > u && !n) ||
                        a.checkCollision.up === !1 ||
                        r.checkCollision.down === !1
                          ? (s = 0)
                          : ((a.touching.none = !1),
                            (a.touching.up = !0),
                            (r.touching.none = !1),
                            (r.touching.down = !0),
                            r.physicsType === A.STATIC_BODY &&
                              !n &&
                              ((a.blocked.none = !1), (a.blocked.up = !0)),
                            a.physicsType === A.STATIC_BODY &&
                              !n &&
                              ((r.blocked.none = !1), (r.blocked.down = !0)))),
                  (a.overlapY = s),
                  (r.overlapY = s),
                  s
                );
              };
            d.exports = c;
          },
          10481: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(25084),
              c = t(56694),
              a = t(95239),
              r = t(47401),
              n = t(72632),
              e = t(59192),
              s = t(42911),
              u = new c({
                Extends: e,
                Mixins: [a],
                initialize: function (o, h, l, f) {
                  if (!l && !f)
                    f = {
                      internalCreateCallback: this.createCallbackHandler,
                      internalRemoveCallback: this.removeCallbackHandler,
                    };
                  else if (s(l))
                    ((f = l),
                      (l = null),
                      (f.internalCreateCallback = this.createCallbackHandler),
                      (f.internalRemoveCallback = this.removeCallbackHandler));
                  else if (Array.isArray(l) && s(l[0])) {
                    var v = _____WB$wombat$check$this$function_____(this);
                    (l.forEach(function (m) {
                      ((m.internalCreateCallback = v.createCallbackHandler),
                        (m.internalRemoveCallback = v.removeCallbackHandler),
                        (m.classType = n(m, "classType", A)));
                    }),
                      (f = null));
                  } else
                    f = {
                      internalCreateCallback: this.createCallbackHandler,
                      internalRemoveCallback: this.removeCallbackHandler,
                    };
                  ((this.world = o),
                    f && (f.classType = n(f, "classType", A)),
                    (this.physicsType = r.DYNAMIC_BODY),
                    (this.collisionCategory = 1),
                    (this.collisionMask = 1),
                    (this.defaults = {
                      setCollideWorldBounds: n(f, "collideWorldBounds", !1),
                      setBoundsRectangle: n(f, "customBoundsRectangle", null),
                      setAccelerationX: n(f, "accelerationX", 0),
                      setAccelerationY: n(f, "accelerationY", 0),
                      setAllowDrag: n(f, "allowDrag", !0),
                      setAllowGravity: n(f, "allowGravity", !0),
                      setAllowRotation: n(f, "allowRotation", !0),
                      setDamping: n(f, "useDamping", !1),
                      setBounceX: n(f, "bounceX", 0),
                      setBounceY: n(f, "bounceY", 0),
                      setDragX: n(f, "dragX", 0),
                      setDragY: n(f, "dragY", 0),
                      setEnable: n(f, "enable", !0),
                      setGravityX: n(f, "gravityX", 0),
                      setGravityY: n(f, "gravityY", 0),
                      setFrictionX: n(f, "frictionX", 0),
                      setFrictionY: n(f, "frictionY", 0),
                      setMaxSpeed: n(f, "maxSpeed", -1),
                      setMaxVelocityX: n(f, "maxVelocityX", 1e4),
                      setMaxVelocityY: n(f, "maxVelocityY", 1e4),
                      setVelocityX: n(f, "velocityX", 0),
                      setVelocityY: n(f, "velocityY", 0),
                      setAngularVelocity: n(f, "angularVelocity", 0),
                      setAngularAcceleration: n(f, "angularAcceleration", 0),
                      setAngularDrag: n(f, "angularDrag", 0),
                      setMass: n(f, "mass", 1),
                      setImmovable: n(f, "immovable", !1),
                    }),
                    e.call(this, h, l, f),
                    (this.type = "PhysicsGroup"));
                },
                createCallbackHandler: function (i) {
                  i.body || this.world.enableBody(i, r.DYNAMIC_BODY);
                  var o = i.body;
                  for (var h in this.defaults) o[h](this.defaults[h]);
                },
                removeCallbackHandler: function (i) {
                  i.body && this.world.disableBody(i);
                },
                setVelocity: function (i, o, h) {
                  h === void 0 && (h = 0);
                  for (var l = this.getChildren(), f = 0; f < l.length; f++)
                    l[f].body.velocity.set(i + f * h, o + f * h);
                  return _____WB$wombat$check$this$function_____(this);
                },
                setVelocityX: function (i, o) {
                  o === void 0 && (o = 0);
                  for (var h = this.getChildren(), l = 0; l < h.length; l++)
                    h[l].body.velocity.x = i + l * o;
                  return _____WB$wombat$check$this$function_____(this);
                },
                setVelocityY: function (i, o) {
                  o === void 0 && (o = 0);
                  for (var h = this.getChildren(), l = 0; l < h.length; l++)
                    h[l].body.velocity.y = i + l * o;
                  return _____WB$wombat$check$this$function_____(this);
                },
              });
            d.exports = u;
          },
          22916: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y,
              t,
              A,
              c,
              a,
              r,
              n,
              e,
              s,
              u,
              i,
              o,
              h,
              l,
              f,
              v,
              m,
              x = function (U, M, I) {
                ((y = U), (t = M));
                var O = y.velocity.x,
                  D = t.velocity.x;
                return (
                  (A = y.pushable),
                  (s = y._dx < 0),
                  (u = y._dx > 0),
                  (i = y._dx === 0),
                  (f = Math.abs(y.right - t.x) <= Math.abs(t.right - y.x)),
                  (n = D - O * y.bounce.x),
                  (c = t.pushable),
                  (o = t._dx < 0),
                  (h = t._dx > 0),
                  (l = t._dx === 0),
                  (v = !f),
                  (e = O - D * t.bounce.x),
                  (m = Math.abs(I)),
                  g()
                );
              },
              g = function () {
                return u && f && t.blocked.right
                  ? (y.processX(-m, n, !1, !0), 1)
                  : s && v && t.blocked.left
                    ? (y.processX(m, n, !0), 1)
                    : h && v && y.blocked.right
                      ? (t.processX(-m, e, !1, !0), 2)
                      : o && f && y.blocked.left
                        ? (t.processX(m, e, !0), 2)
                        : 0;
              },
              C = function () {
                var U = y.velocity.x,
                  M = t.velocity.x,
                  I = Math.sqrt((M * M * t.mass) / y.mass) * (M > 0 ? 1 : -1),
                  O = Math.sqrt((U * U * y.mass) / t.mass) * (U > 0 ? 1 : -1),
                  D = (I + O) * 0.5;
                return (
                  (I -= D),
                  (O -= D),
                  (a = D + I * y.bounce.x),
                  (r = D + O * t.bounce.x),
                  s && v
                    ? T(0)
                    : o && f
                      ? T(1)
                      : u && f
                        ? T(2)
                        : h && v
                          ? T(3)
                          : !1
                );
              },
              T = function (U) {
                if (A && c)
                  ((m *= 0.5),
                    U === 0 || U === 3
                      ? (y.processX(m, a), t.processX(-m, r))
                      : (y.processX(-m, a), t.processX(m, r)));
                else if (A && !c)
                  U === 0 || U === 3
                    ? y.processX(m, n, !0)
                    : y.processX(-m, n, !1, !0);
                else if (!A && c)
                  U === 0 || U === 3
                    ? t.processX(-m, e, !1, !0)
                    : t.processX(m, e, !0);
                else {
                  var M = m * 0.5;
                  U === 0
                    ? l
                      ? (y.processX(m, 0, !0), t.processX(0, null, !1, !0))
                      : h
                        ? (y.processX(M, 0, !0), t.processX(-M, 0, !1, !0))
                        : (y.processX(M, t.velocity.x, !0),
                          t.processX(-M, null, !1, !0))
                    : U === 1
                      ? i
                        ? (y.processX(0, null, !1, !0), t.processX(m, 0, !0))
                        : u
                          ? (y.processX(-M, 0, !1, !0), t.processX(M, 0, !0))
                          : (y.processX(-M, null, !1, !0),
                            t.processX(M, y.velocity.x, !0))
                      : U === 2
                        ? l
                          ? (y.processX(-m, 0, !1, !0), t.processX(0, null, !0))
                          : o
                            ? (y.processX(-M, 0, !1, !0), t.processX(M, 0, !0))
                            : (y.processX(-M, t.velocity.x, !1, !0),
                              t.processX(M, null, !0))
                        : U === 3 &&
                          (i
                            ? (y.processX(0, null, !0),
                              t.processX(-m, 0, !1, !0))
                            : s
                              ? (y.processX(M, 0, !0),
                                t.processX(-M, 0, !1, !0))
                              : (y.processX(M, t.velocity.y, !0),
                                t.processX(-M, null, !1, !0)));
                }
                return !0;
              },
              F = function (U) {
                (U === 1
                  ? (t.velocity.x = 0)
                  : f
                    ? t.processX(m, e, !0)
                    : t.processX(-m, e, !1, !0),
                  y.moves &&
                    ((t.y += (y.y - y.prev.y) * y.friction.y),
                    (t._dy = t.y - t.prev.y)));
              },
              w = function (U) {
                (U === 2
                  ? (y.velocity.x = 0)
                  : v
                    ? y.processX(m, n, !0)
                    : y.processX(-m, n, !1, !0),
                  t.moves &&
                    ((y.y += (t.y - t.prev.y) * t.friction.y),
                    (y._dy = y.y - y.prev.y)));
              };
            d.exports = {
              BlockCheck: g,
              Check: C,
              Set: x,
              Run: T,
              RunImmovableBody1: F,
              RunImmovableBody2: w,
            };
          },
          67050: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y,
              t,
              A,
              c,
              a,
              r,
              n,
              e,
              s,
              u,
              i,
              o,
              h,
              l,
              f,
              v,
              m,
              x = function (U, M, I) {
                ((y = U), (t = M));
                var O = y.velocity.y,
                  D = t.velocity.y;
                return (
                  (A = y.pushable),
                  (s = y._dy < 0),
                  (u = y._dy > 0),
                  (i = y._dy === 0),
                  (f = Math.abs(y.bottom - t.y) <= Math.abs(t.bottom - y.y)),
                  (n = D - O * y.bounce.y),
                  (c = t.pushable),
                  (o = t._dy < 0),
                  (h = t._dy > 0),
                  (l = t._dy === 0),
                  (v = !f),
                  (e = O - D * t.bounce.y),
                  (m = Math.abs(I)),
                  g()
                );
              },
              g = function () {
                return u && f && t.blocked.down
                  ? (y.processY(-m, n, !1, !0), 1)
                  : s && v && t.blocked.up
                    ? (y.processY(m, n, !0), 1)
                    : h && v && y.blocked.down
                      ? (t.processY(-m, e, !1, !0), 2)
                      : o && f && y.blocked.up
                        ? (t.processY(m, e, !0), 2)
                        : 0;
              },
              C = function () {
                var U = y.velocity.y,
                  M = t.velocity.y,
                  I = Math.sqrt((M * M * t.mass) / y.mass) * (M > 0 ? 1 : -1),
                  O = Math.sqrt((U * U * y.mass) / t.mass) * (U > 0 ? 1 : -1),
                  D = (I + O) * 0.5;
                return (
                  (I -= D),
                  (O -= D),
                  (a = D + I * y.bounce.y),
                  (r = D + O * t.bounce.y),
                  s && v
                    ? T(0)
                    : o && f
                      ? T(1)
                      : u && f
                        ? T(2)
                        : h && v
                          ? T(3)
                          : !1
                );
              },
              T = function (U) {
                if (A && c)
                  ((m *= 0.5),
                    U === 0 || U === 3
                      ? (y.processY(m, a), t.processY(-m, r))
                      : (y.processY(-m, a), t.processY(m, r)));
                else if (A && !c)
                  U === 0 || U === 3
                    ? y.processY(m, n, !0)
                    : y.processY(-m, n, !1, !0);
                else if (!A && c)
                  U === 0 || U === 3
                    ? t.processY(-m, e, !1, !0)
                    : t.processY(m, e, !0);
                else {
                  var M = m * 0.5;
                  U === 0
                    ? l
                      ? (y.processY(m, 0, !0), t.processY(0, null, !1, !0))
                      : h
                        ? (y.processY(M, 0, !0), t.processY(-M, 0, !1, !0))
                        : (y.processY(M, t.velocity.y, !0),
                          t.processY(-M, null, !1, !0))
                    : U === 1
                      ? i
                        ? (y.processY(0, null, !1, !0), t.processY(m, 0, !0))
                        : u
                          ? (y.processY(-M, 0, !1, !0), t.processY(M, 0, !0))
                          : (y.processY(-M, null, !1, !0),
                            t.processY(M, y.velocity.y, !0))
                      : U === 2
                        ? l
                          ? (y.processY(-m, 0, !1, !0), t.processY(0, null, !0))
                          : o
                            ? (y.processY(-M, 0, !1, !0), t.processY(M, 0, !0))
                            : (y.processY(-M, t.velocity.y, !1, !0),
                              t.processY(M, null, !0))
                        : U === 3 &&
                          (i
                            ? (y.processY(0, null, !0),
                              t.processY(-m, 0, !1, !0))
                            : s
                              ? (y.processY(M, 0, !0),
                                t.processY(-M, 0, !1, !0))
                              : (y.processY(M, t.velocity.y, !0),
                                t.processY(-M, null, !1, !0)));
                }
                return !0;
              },
              F = function (U) {
                (U === 1
                  ? (t.velocity.y = 0)
                  : f
                    ? t.processY(m, e, !0)
                    : t.processY(-m, e, !1, !0),
                  y.moves &&
                    ((t.x += (y.x - y.prev.x) * y.friction.x),
                    (t._dx = t.x - t.prev.x)));
              },
              w = function (U) {
                (U === 2
                  ? (y.velocity.y = 0)
                  : v
                    ? y.processY(m, n, !0)
                    : y.processY(-m, n, !1, !0),
                  t.moves &&
                    ((y.x += (t.x - t.prev.x) * t.friction.x),
                    (y._dx = y.x - y.prev.x)));
              };
            d.exports = {
              BlockCheck: g,
              Check: C,
              Set: x,
              Run: T,
              RunImmovableBody1: F,
              RunImmovableBody2: w,
            };
          },
          61777: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(75671),
              c = t(22916),
              a = function (r, n, e, s, u) {
                u === void 0 && (u = A(r, n, e, s));
                var i = r.immovable,
                  o = n.immovable;
                if (
                  e ||
                  u === 0 ||
                  (i && o) ||
                  r.customSeparateX ||
                  n.customSeparateX
                )
                  return u !== 0 || (r.embedded && n.embedded);
                var h = c.Set(r, n, u);
                return !i && !o
                  ? h > 0
                    ? !0
                    : c.Check()
                  : (i ? c.RunImmovableBody1(h) : o && c.RunImmovableBody2(h),
                    !0);
              };
            d.exports = a;
          },
          25299: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(66185),
              c = t(67050),
              a = function (r, n, e, s, u) {
                u === void 0 && (u = A(r, n, e, s));
                var i = r.immovable,
                  o = n.immovable;
                if (
                  e ||
                  u === 0 ||
                  (i && o) ||
                  r.customSeparateY ||
                  n.customSeparateY
                )
                  return u !== 0 || (r.embedded && n.embedded);
                var h = c.Set(r, n, u);
                return !i && !o
                  ? h > 0
                    ? !0
                    : c.Check()
                  : (i ? c.RunImmovableBody1(h) : o && c.RunImmovableBody2(h),
                    !0);
              };
            d.exports = a;
          },
          15084: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return (
                A === void 0 && (A = {}),
                (A.none = t),
                (A.up = !1),
                (A.down = !1),
                (A.left = !1),
                (A.right = !1),
                t ||
                  ((A.up = !0), (A.down = !0), (A.left = !0), (A.right = !0)),
                A
              );
            };
            d.exports = y;
          },
          66634: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(65650),
              c = t(56694),
              a = t(95239),
              r = t(47401),
              n = t(94287),
              e = t(15084),
              s = t(93736),
              u = new c({
                Mixins: [a],
                initialize: function (o, h) {
                  var l = 64,
                    f = 64,
                    v = {
                      x: 0,
                      y: 0,
                      angle: 0,
                      rotation: 0,
                      scaleX: 1,
                      scaleY: 1,
                      displayOriginX: 0,
                      displayOriginY: 0,
                    },
                    m = h !== void 0;
                  (m &&
                    h.displayWidth &&
                    ((l = h.displayWidth), (f = h.displayHeight)),
                    m || (h = v),
                    (this.world = o),
                    (this.gameObject = m ? h : void 0),
                    (this.isBody = !0),
                    (this.debugShowBody = o.defaults.debugShowStaticBody),
                    (this.debugBodyColor = o.defaults.staticBodyDebugColor),
                    (this.enable = !0),
                    (this.isCircle = !1),
                    (this.radius = 0),
                    (this.offset = new s()),
                    (this.position = new s(
                      h.x - l * h.originX,
                      h.y - f * h.originY,
                    )),
                    (this.width = l),
                    (this.height = f),
                    (this.halfWidth = Math.abs(this.width / 2)),
                    (this.halfHeight = Math.abs(this.height / 2)),
                    (this.center = new s(
                      this.position.x + this.halfWidth,
                      this.position.y + this.halfHeight,
                    )),
                    (this.velocity = s.ZERO),
                    (this.allowGravity = !1),
                    (this.gravity = s.ZERO),
                    (this.bounce = s.ZERO),
                    (this.onWorldBounds = !1),
                    (this.onCollide = !1),
                    (this.onOverlap = !1),
                    (this.mass = 1),
                    (this.immovable = !0),
                    (this.pushable = !1),
                    (this.customSeparateX = !1),
                    (this.customSeparateY = !1),
                    (this.overlapX = 0),
                    (this.overlapY = 0),
                    (this.overlapR = 0),
                    (this.embedded = !1),
                    (this.collideWorldBounds = !1),
                    (this.checkCollision = e(!1)),
                    (this.touching = e(!0)),
                    (this.wasTouching = e(!0)),
                    (this.blocked = e(!0)),
                    (this.physicsType = r.STATIC_BODY),
                    (this.collisionCategory = 1),
                    (this.collisionMask = 1),
                    (this._dx = 0),
                    (this._dy = 0));
                },
                setGameObject: function (i, o) {
                  return (
                    i &&
                      i !== this.gameObject &&
                      ((this.gameObject.body = null),
                      (i.body = _____WB$wombat$check$this$function_____(this)),
                      (this.gameObject = i)),
                    o && this.updateFromGameObject(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                updateFromGameObject: function () {
                  this.world.staticTree.remove(this);
                  var i = this.gameObject;
                  return (
                    i.getTopLeft(this.position),
                    (this.width = i.displayWidth),
                    (this.height = i.displayHeight),
                    (this.halfWidth = Math.abs(this.width / 2)),
                    (this.halfHeight = Math.abs(this.height / 2)),
                    this.center.set(
                      this.position.x + this.halfWidth,
                      this.position.y + this.halfHeight,
                    ),
                    this.world.staticTree.insert(this),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setOffset: function (i, o) {
                  return (
                    o === void 0 && (o = i),
                    this.world.staticTree.remove(this),
                    (this.position.x -= this.offset.x),
                    (this.position.y -= this.offset.y),
                    this.offset.set(i, o),
                    (this.position.x += this.offset.x),
                    (this.position.y += this.offset.y),
                    this.updateCenter(),
                    this.world.staticTree.insert(this),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setSize: function (i, o, h) {
                  h === void 0 && (h = !0);
                  var l = this.gameObject;
                  if (
                    (l &&
                      l.frame &&
                      (i || (i = l.frame.realWidth),
                      o || (o = l.frame.realHeight)),
                    this.world.staticTree.remove(this),
                    (this.width = i),
                    (this.height = o),
                    (this.halfWidth = Math.floor(i / 2)),
                    (this.halfHeight = Math.floor(o / 2)),
                    h && l && l.getCenter)
                  ) {
                    var f = l.displayWidth / 2,
                      v = l.displayHeight / 2;
                    ((this.position.x -= this.offset.x),
                      (this.position.y -= this.offset.y),
                      this.offset.set(f - this.halfWidth, v - this.halfHeight),
                      (this.position.x += this.offset.x),
                      (this.position.y += this.offset.y));
                  }
                  return (
                    this.updateCenter(),
                    (this.isCircle = !1),
                    (this.radius = 0),
                    this.world.staticTree.insert(this),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setCircle: function (i, o, h) {
                  return (
                    o === void 0 && (o = this.offset.x),
                    h === void 0 && (h = this.offset.y),
                    i > 0
                      ? (this.world.staticTree.remove(this),
                        (this.isCircle = !0),
                        (this.radius = i),
                        (this.width = i * 2),
                        (this.height = i * 2),
                        (this.halfWidth = Math.floor(this.width / 2)),
                        (this.halfHeight = Math.floor(this.height / 2)),
                        this.offset.set(o, h),
                        this.updateCenter(),
                        this.world.staticTree.insert(this))
                      : (this.isCircle = !1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                updateCenter: function () {
                  this.center.set(
                    this.position.x + this.halfWidth,
                    this.position.y + this.halfHeight,
                  );
                },
                reset: function (i, o) {
                  var h = this.gameObject;
                  (i === void 0 && (i = h.x),
                    o === void 0 && (o = h.y),
                    this.world.staticTree.remove(this),
                    h.setPosition(i, o),
                    h.getTopLeft(this.position),
                    this.updateCenter(),
                    this.world.staticTree.insert(this));
                },
                stop: function () {
                  return _____WB$wombat$check$this$function_____(this);
                },
                getBounds: function (i) {
                  return (
                    (i.x = this.x),
                    (i.y = this.y),
                    (i.right = this.right),
                    (i.bottom = this.bottom),
                    i
                  );
                },
                hitTest: function (i, o) {
                  return this.isCircle ? A(this, i, o) : n(this, i, o);
                },
                postUpdate: function () {},
                deltaAbsX: function () {
                  return 0;
                },
                deltaAbsY: function () {
                  return 0;
                },
                deltaX: function () {
                  return 0;
                },
                deltaY: function () {
                  return 0;
                },
                deltaZ: function () {
                  return 0;
                },
                destroy: function () {
                  ((this.enable = !1), this.world.pendingDestroy.set(this));
                },
                drawDebug: function (i) {
                  var o = this.position,
                    h = o.x + this.halfWidth,
                    l = o.y + this.halfHeight;
                  this.debugShowBody &&
                    (i.lineStyle(i.defaultStrokeWidth, this.debugBodyColor, 1),
                    this.isCircle
                      ? i.strokeCircle(h, l, this.width / 2)
                      : i.strokeRect(o.x, o.y, this.width, this.height));
                },
                willDrawDebug: function () {
                  return this.debugShowBody;
                },
                setMass: function (i) {
                  return (
                    i <= 0 && (i = 0.1),
                    (this.mass = i),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                x: {
                  get: function () {
                    return this.position.x;
                  },
                  set: function (i) {
                    (this.world.staticTree.remove(this),
                      (this.position.x = i),
                      this.world.staticTree.insert(this));
                  },
                },
                y: {
                  get: function () {
                    return this.position.y;
                  },
                  set: function (i) {
                    (this.world.staticTree.remove(this),
                      (this.position.y = i),
                      this.world.staticTree.insert(this));
                  },
                },
                left: {
                  get: function () {
                    return this.position.x;
                  },
                },
                right: {
                  get: function () {
                    return this.position.x + this.width;
                  },
                },
                top: {
                  get: function () {
                    return this.position.y;
                  },
                },
                bottom: {
                  get: function () {
                    return this.position.y + this.height;
                  },
                },
              });
            d.exports = u;
          },
          46346: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(25084),
              c = t(56694),
              a = t(95239),
              r = t(47401),
              n = t(72632),
              e = t(59192),
              s = t(42911),
              u = new c({
                Extends: e,
                Mixins: [a],
                initialize: function (o, h, l, f) {
                  (!l && !f
                    ? (f = {
                        internalCreateCallback: this.createCallbackHandler,
                        internalRemoveCallback: this.removeCallbackHandler,
                        createMultipleCallback:
                          this.createMultipleCallbackHandler,
                        classType: A,
                      })
                    : s(l)
                      ? ((f = l),
                        (l = null),
                        (f.internalCreateCallback = this.createCallbackHandler),
                        (f.internalRemoveCallback = this.removeCallbackHandler),
                        (f.createMultipleCallback =
                          this.createMultipleCallbackHandler),
                        (f.classType = n(f, "classType", A)))
                      : Array.isArray(l) && s(l[0])
                        ? ((f = l),
                          (l = null),
                          f.forEach(function (v) {
                            ((v.internalCreateCallback =
                              this.createCallbackHandler),
                              (v.internalRemoveCallback =
                                this.removeCallbackHandler),
                              (v.createMultipleCallback =
                                this.createMultipleCallbackHandler),
                              (v.classType = n(v, "classType", A)));
                          }))
                        : (f = {
                            internalCreateCallback: this.createCallbackHandler,
                            internalRemoveCallback: this.removeCallbackHandler,
                          }),
                    (this.world = o),
                    (this.physicsType = r.STATIC_BODY),
                    (this.collisionCategory = 1),
                    (this.collisionMask = 1),
                    e.call(this, h, l, f),
                    (this.type = "StaticPhysicsGroup"));
                },
                createCallbackHandler: function (i) {
                  i.body || this.world.enableBody(i, r.STATIC_BODY);
                },
                removeCallbackHandler: function (i) {
                  i.body && this.world.disableBody(i);
                },
                createMultipleCallbackHandler: function () {
                  this.refresh();
                },
                refresh: function () {
                  for (var i = this.children.entries, o = 0; o < i.length; o++)
                    i[o].body.reset();
                  return _____WB$wombat$check$this$function_____(this);
                },
              });
            d.exports = u;
          },
          85233: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(94240),
              c = t(97602),
              a = t(82897),
              r = t(56694),
              n = t(3909),
              e = t(47401),
              s = t(53996),
              u = t(92951),
              i = t(6659),
              o = t(27037),
              h = t(88456),
              l = t(41935),
              f = t(54726),
              v = t(75671),
              m = t(66185),
              x = t(44662),
              g = t(10850),
              C = t(83392),
              T = t(74623),
              F = t(25163),
              w = t(74118),
              U = t(68687),
              M = t(27354),
              I = t(61777),
              O = t(25299),
              D = t(58403),
              G = t(66634),
              X = t(28808),
              z = t(69360),
              K = t(93736),
              N = t(1071),
              b = new r({
                Extends: i,
                initialize: function (H, Q) {
                  (i.call(this),
                    (this.scene = H),
                    (this.bodies = new D()),
                    (this.staticBodies = new D()),
                    (this.pendingDestroy = new D()),
                    (this.colliders = new T()),
                    (this.gravity = new K(
                      g(Q, "gravity.x", 0),
                      g(Q, "gravity.y", 0),
                    )),
                    (this.bounds = new w(
                      g(Q, "x", 0),
                      g(Q, "y", 0),
                      g(Q, "width", H.sys.scale.width),
                      g(Q, "height", H.sys.scale.height),
                    )),
                    (this.checkCollision = {
                      up: g(Q, "checkCollision.up", !0),
                      down: g(Q, "checkCollision.down", !0),
                      left: g(Q, "checkCollision.left", !0),
                      right: g(Q, "checkCollision.right", !0),
                    }),
                    (this.fps = g(Q, "fps", 60)),
                    (this.fixedStep = g(Q, "fixedStep", !0)),
                    (this._elapsed = 0),
                    (this._frameTime = 1 / this.fps),
                    (this._frameTimeMS = 1e3 * this._frameTime),
                    (this.stepsLastFrame = 0),
                    (this.timeScale = g(Q, "timeScale", 1)),
                    (this.OVERLAP_BIAS = g(Q, "overlapBias", 4)),
                    (this.TILE_BIAS = g(Q, "tileBias", 16)),
                    (this.forceX = g(Q, "forceX", !1)),
                    (this.isPaused = g(Q, "isPaused", !1)),
                    (this._total = 0),
                    (this.drawDebug = g(Q, "debug", !1)),
                    this.debugGraphic,
                    (this.defaults = {
                      debugShowBody: g(Q, "debugShowBody", !0),
                      debugShowStaticBody: g(Q, "debugShowStaticBody", !0),
                      debugShowVelocity: g(Q, "debugShowVelocity", !0),
                      bodyDebugColor: g(Q, "debugBodyColor", 16711935),
                      staticBodyDebugColor: g(Q, "debugStaticBodyColor", 255),
                      velocityDebugColor: g(Q, "debugVelocityColor", 65280),
                    }),
                    (this.maxEntries = g(Q, "maxEntries", 16)),
                    (this.useTree = g(Q, "useTree", !0)),
                    (this.tree = new U(this.maxEntries)),
                    (this.staticTree = new U(this.maxEntries)),
                    (this.treeMinMax = { minX: 0, minY: 0, maxX: 0, maxY: 0 }),
                    (this._tempMatrix = new z()),
                    (this._tempMatrix2 = new z()),
                    (this.tileFilterOptions = {
                      isColliding: !0,
                      isNotEmpty: !0,
                      hasInterestingFace: !0,
                    }),
                    this.drawDebug && this.createDebugGraphic());
                },
                enable: function (R, H) {
                  (H === void 0 && (H = e.DYNAMIC_BODY),
                    Array.isArray(R) || (R = [R]));
                  for (var Q = 0; Q < R.length; Q++) {
                    var V = R[Q];
                    if (V.isParent)
                      for (var Y = V.getChildren(), J = 0; J < Y.length; J++) {
                        var $ = Y[J];
                        $.isParent ? this.enable($, H) : this.enableBody($, H);
                      }
                    else this.enableBody(V, H);
                  }
                },
                enableBody: function (R, H) {
                  return (
                    H === void 0 && (H = e.DYNAMIC_BODY),
                    R.hasTransformComponent &&
                      (R.body ||
                        (H === e.DYNAMIC_BODY
                          ? (R.body = new c(this, R))
                          : H === e.STATIC_BODY && (R.body = new G(this, R))),
                      this.add(R.body)),
                    R
                  );
                },
                add: function (R) {
                  return (
                    R.physicsType === e.DYNAMIC_BODY
                      ? this.bodies.set(R)
                      : R.physicsType === e.STATIC_BODY &&
                        (this.staticBodies.set(R), this.staticTree.insert(R)),
                    (R.enable = !0),
                    R
                  );
                },
                disable: function (R) {
                  Array.isArray(R) || (R = [R]);
                  for (var H = 0; H < R.length; H++) {
                    var Q = R[H];
                    if (Q.isParent)
                      for (var V = Q.getChildren(), Y = 0; Y < V.length; Y++) {
                        var J = V[Y];
                        J.isParent ? this.disable(J) : this.disableBody(J.body);
                      }
                    else this.disableBody(Q.body);
                  }
                },
                disableBody: function (R) {
                  (this.remove(R), (R.enable = !1));
                },
                remove: function (R) {
                  R.physicsType === e.DYNAMIC_BODY
                    ? (this.tree.remove(R), this.bodies.delete(R))
                    : R.physicsType === e.STATIC_BODY &&
                      (this.staticBodies.delete(R), this.staticTree.remove(R));
                },
                createDebugGraphic: function () {
                  var R = this.scene.sys.add.graphics({ x: 0, y: 0 });
                  return (
                    R.setDepth(Number.MAX_VALUE),
                    (this.debugGraphic = R),
                    (this.drawDebug = !0),
                    R
                  );
                },
                setBounds: function (R, H, Q, V, Y, J, $, W) {
                  return (
                    this.bounds.setTo(R, H, Q, V),
                    Y !== void 0 && this.setBoundsCollision(Y, J, $, W),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setBoundsCollision: function (R, H, Q, V) {
                  return (
                    R === void 0 && (R = !0),
                    H === void 0 && (H = !0),
                    Q === void 0 && (Q = !0),
                    V === void 0 && (V = !0),
                    (this.checkCollision.left = R),
                    (this.checkCollision.right = H),
                    (this.checkCollision.up = Q),
                    (this.checkCollision.down = V),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                pause: function () {
                  return (
                    (this.isPaused = !0),
                    this.emit(o.PAUSE),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                resume: function () {
                  return (
                    (this.isPaused = !1),
                    this.emit(o.RESUME),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                addCollider: function (R, H, Q, V, Y) {
                  (Q === void 0 && (Q = null),
                    V === void 0 && (V = null),
                    Y === void 0 && (Y = Q));
                  var J = new n(this, !1, R, H, Q, V, Y);
                  return (this.colliders.add(J), J);
                },
                addOverlap: function (R, H, Q, V, Y) {
                  (Q === void 0 && (Q = null),
                    V === void 0 && (V = null),
                    Y === void 0 && (Y = Q));
                  var J = new n(this, !0, R, H, Q, V, Y);
                  return (this.colliders.add(J), J);
                },
                removeCollider: function (R) {
                  return (
                    this.colliders.remove(R),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setFPS: function (R) {
                  return (
                    (this.fps = R),
                    (this._frameTime = 1 / this.fps),
                    (this._frameTimeMS = 1e3 * this._frameTime),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                update: function (R, H) {
                  if (!(this.isPaused || this.bodies.size === 0)) {
                    var Q,
                      V = this._frameTime,
                      Y = this._frameTimeMS * this.timeScale;
                    this._elapsed += H;
                    var J,
                      $ = this.bodies.entries,
                      W = this._elapsed >= Y;
                    for (
                      this.fixedStep ||
                        ((V = H * 0.001), (W = !0), (this._elapsed = 0)),
                        Q = 0;
                      Q < $.length;
                      Q++
                    )
                      ((J = $[Q]), J.enable && J.preUpdate(W, V));
                    if (W) {
                      ((this._elapsed -= Y),
                        (this.stepsLastFrame = 1),
                        this.useTree && (this.tree.clear(), this.tree.load($)));
                      var Z = this.colliders.update();
                      for (Q = 0; Q < Z.length; Q++) {
                        var j = Z[Q];
                        j.active && j.update();
                      }
                      this.emit(o.WORLD_STEP, V);
                    }
                    for (; this._elapsed >= Y; )
                      ((this._elapsed -= Y), this.step(V));
                  }
                },
                step: function (R) {
                  var H,
                    Q,
                    V = this.bodies.entries,
                    Y = V.length;
                  for (H = 0; H < Y; H++) ((Q = V[H]), Q.enable && Q.update(R));
                  this.useTree && (this.tree.clear(), this.tree.load(V));
                  var J = this.colliders.update();
                  for (H = 0; H < J.length; H++) {
                    var $ = J[H];
                    $.active && $.update();
                  }
                  (this.emit(o.WORLD_STEP, R), this.stepsLastFrame++);
                },
                singleStep: function () {
                  (this.update(0, this._frameTimeMS), this.postUpdate());
                },
                postUpdate: function () {
                  var R,
                    H,
                    Q = this.bodies.entries,
                    V = Q.length,
                    Y = this.bodies,
                    J = this.staticBodies;
                  if (this.stepsLastFrame)
                    for (this.stepsLastFrame = 0, R = 0; R < V; R++)
                      ((H = Q[R]), H.enable && H.postUpdate());
                  if (this.drawDebug) {
                    var $ = this.debugGraphic;
                    for ($.clear(), R = 0; R < V; R++)
                      ((H = Q[R]), H.willDrawDebug() && H.drawDebug($));
                    for (Q = J.entries, V = Q.length, R = 0; R < V; R++)
                      ((H = Q[R]), H.willDrawDebug() && H.drawDebug($));
                  }
                  var W = this.pendingDestroy;
                  if (W.size > 0) {
                    var Z = this.tree,
                      j = this.staticTree;
                    for (Q = W.entries, V = Q.length, R = 0; R < V; R++)
                      ((H = Q[R]),
                        H.physicsType === e.DYNAMIC_BODY
                          ? (Z.remove(H), Y.delete(H))
                          : H.physicsType === e.STATIC_BODY &&
                            (j.remove(H), J.delete(H)),
                        (H.world = void 0),
                        (H.gameObject = void 0));
                    W.clear();
                  }
                },
                updateMotion: function (R, H) {
                  (R.allowRotation && this.computeAngularVelocity(R, H),
                    this.computeVelocity(R, H));
                },
                computeAngularVelocity: function (R, H) {
                  var Q = R.angularVelocity,
                    V = R.angularAcceleration,
                    Y = R.angularDrag,
                    J = R.maxAngular;
                  (V
                    ? (Q += V * H)
                    : R.allowDrag &&
                      Y &&
                      ((Y *= H),
                      l(Q - Y, 0, 0.1)
                        ? (Q -= Y)
                        : f(Q + Y, 0, 0.1)
                          ? (Q += Y)
                          : (Q = 0)),
                    (Q = a(Q, -J, J)));
                  var $ = Q - R.angularVelocity;
                  ((R.angularVelocity += $),
                    (R.rotation += R.angularVelocity * H));
                },
                computeVelocity: function (R, H) {
                  var Q = R.velocity.x,
                    V = R.acceleration.x,
                    Y = R.drag.x,
                    J = R.maxVelocity.x,
                    $ = R.velocity.y,
                    W = R.acceleration.y,
                    Z = R.drag.y,
                    j = R.maxVelocity.y,
                    k = R.speed,
                    _ = R.maxSpeed,
                    q = R.allowDrag,
                    et = R.useDamping;
                  (R.allowGravity &&
                    ((Q += (this.gravity.x + R.gravity.x) * H),
                    ($ += (this.gravity.y + R.gravity.y) * H)),
                    V
                      ? (Q += V * H)
                      : q &&
                        Y &&
                        (et
                          ? ((Y = Math.pow(Y, H)),
                            (Q *= Y),
                            (k = Math.sqrt(Q * Q + $ * $)),
                            h(k, 0, 0.001) && (Q = 0))
                          : ((Y *= H),
                            l(Q - Y, 0, 0.01)
                              ? (Q -= Y)
                              : f(Q + Y, 0, 0.01)
                                ? (Q += Y)
                                : (Q = 0))),
                    W
                      ? ($ += W * H)
                      : q &&
                        Z &&
                        (et
                          ? ((Z = Math.pow(Z, H)),
                            ($ *= Z),
                            (k = Math.sqrt(Q * Q + $ * $)),
                            h(k, 0, 0.001) && ($ = 0))
                          : ((Z *= H),
                            l($ - Z, 0, 0.01)
                              ? ($ -= Z)
                              : f($ + Z, 0, 0.01)
                                ? ($ += Z)
                                : ($ = 0))),
                    (Q = a(Q, -J, J)),
                    ($ = a($, -j, j)),
                    R.velocity.set(Q, $),
                    _ > -1 &&
                      R.velocity.length() > _ &&
                      (R.velocity.normalize().scale(_), (k = _)),
                    (R.speed = k));
                },
                separate: function (R, H, Q, V, Y) {
                  var J,
                    $,
                    W = !1,
                    Z = !0;
                  if (
                    !R.enable ||
                    !H.enable ||
                    R.checkCollision.none ||
                    H.checkCollision.none ||
                    !this.intersects(R, H) ||
                    (Q && Q.call(V, R.gameObject, H.gameObject) === !1)
                  )
                    return W;
                  if (R.isCircle || H.isCircle) {
                    var j = this.separateCircle(R, H, Y);
                    j.result
                      ? ((W = !0), (Z = !1))
                      : ((J = j.x), ($ = j.y), (Z = !0));
                  }
                  if (Z) {
                    var k = !1,
                      _ = !1,
                      q = this.OVERLAP_BIAS;
                    (Y
                      ? ((k = I(R, H, Y, q, J)), (_ = O(R, H, Y, q, $)))
                      : this.forceX ||
                          Math.abs(this.gravity.y + R.gravity.y) <
                            Math.abs(this.gravity.x + R.gravity.x)
                        ? ((k = I(R, H, Y, q, J)),
                          this.intersects(R, H) && (_ = O(R, H, Y, q, $)))
                        : ((_ = O(R, H, Y, q, $)),
                          this.intersects(R, H) && (k = I(R, H, Y, q, J))),
                      (W = k || _));
                  }
                  return (
                    W &&
                      (Y
                        ? (R.onOverlap || H.onOverlap) &&
                          this.emit(o.OVERLAP, R.gameObject, H.gameObject, R, H)
                        : (R.onCollide || H.onCollide) &&
                          this.emit(
                            o.COLLIDE,
                            R.gameObject,
                            H.gameObject,
                            R,
                            H,
                          )),
                    W
                  );
                },
                separateCircle: function (R, H, Q) {
                  (v(R, H, !1, 0), m(R, H, !1, 0));
                  var V = R.isCircle,
                    Y = H.isCircle,
                    J = R.center,
                    $ = H.center,
                    W = R.immovable,
                    Z = H.immovable,
                    j = R.velocity,
                    k = H.velocity,
                    _ = 0,
                    q = !0;
                  if (V !== Y) {
                    q = !1;
                    var et = J.x,
                      st = J.y,
                      nt = R.halfWidth,
                      it = H.position.x,
                      tt = H.position.y,
                      rt = H.right,
                      at = H.bottom;
                    (Y &&
                      ((et = $.x),
                      (st = $.y),
                      (nt = H.halfWidth),
                      (it = R.position.x),
                      (tt = R.position.y),
                      (rt = R.right),
                      (at = R.bottom)),
                      st < tt
                        ? et < it
                          ? (_ = s(et, st, it, tt) - nt)
                          : et > rt && (_ = s(et, st, rt, tt) - nt)
                        : st > at &&
                          (et < it
                            ? (_ = s(et, st, it, at) - nt)
                            : et > rt && (_ = s(et, st, rt, at) - nt)),
                      (_ *= -1));
                  } else _ = R.halfWidth + H.halfWidth - u(J, $);
                  ((R.overlapR = _), (H.overlapR = _));
                  var ot = A(J, $),
                    lt = (_ + C.EPSILON) * Math.cos(ot),
                    vt = (_ + C.EPSILON) * Math.sin(ot),
                    dt = { overlap: _, result: !1, x: lt, y: vt };
                  if (Q && (!q || (q && _ !== 0)))
                    return ((dt.result = !0), dt);
                  if (
                    (!q && _ === 0) ||
                    (W && Z) ||
                    R.customSeparateX ||
                    H.customSeparateX
                  )
                    return ((dt.x = void 0), (dt.y = void 0), dt);
                  var ct = !R.pushable && !H.pushable;
                  if (q) {
                    var pt = J.x - $.x,
                      Ut = J.y - $.y,
                      St = Math.sqrt(Math.pow(pt, 2) + Math.pow(Ut, 2)),
                      Ht = ($.x - J.x) / St || 0,
                      Xt = ($.y - J.y) / St || 0,
                      Lt =
                        (2 * (j.x * Ht + j.y * Xt - k.x * Ht - k.y * Xt)) /
                        (R.mass + H.mass);
                    ((W || Z) && (Lt *= 2),
                      W ||
                        ((j.x = j.x - (Lt / R.mass) * Ht),
                        (j.y = j.y - (Lt / R.mass) * Xt),
                        j.multiply(R.bounce)),
                      Z ||
                        ((k.x = k.x + (Lt / H.mass) * Ht),
                        (k.y = k.y + (Lt / H.mass) * Xt),
                        k.multiply(H.bounce)),
                      !W && !Z && ((lt *= 0.5), (vt *= 0.5)),
                      W || ((R.x -= lt), (R.y -= vt), R.updateCenter()),
                      Z || ((H.x += lt), (H.y += vt), H.updateCenter()),
                      (dt.result = !0));
                  } else
                    (!W || R.pushable || ct
                      ? ((R.x -= lt), (R.y -= vt), R.updateCenter())
                      : (!Z || H.pushable || ct) &&
                        ((H.x += lt), (H.y += vt), H.updateCenter()),
                      (dt.x = void 0),
                      (dt.y = void 0));
                  return dt;
                },
                intersects: function (R, H) {
                  return R === H
                    ? !1
                    : !R.isCircle && !H.isCircle
                      ? !(
                          R.right <= H.left ||
                          R.bottom <= H.top ||
                          R.left >= H.right ||
                          R.top >= H.bottom
                        )
                      : R.isCircle
                        ? H.isCircle
                          ? u(R.center, H.center) <= R.halfWidth + H.halfWidth
                          : this.circleBodyIntersects(R, H)
                        : this.circleBodyIntersects(H, R);
                },
                circleBodyIntersects: function (R, H) {
                  var Q = a(R.center.x, H.left, H.right),
                    V = a(R.center.y, H.top, H.bottom),
                    Y = (R.center.x - Q) * (R.center.x - Q),
                    J = (R.center.y - V) * (R.center.y - V);
                  return Y + J <= R.halfWidth * R.halfWidth;
                },
                overlap: function (R, H, Q, V, Y) {
                  return (
                    Q === void 0 && (Q = null),
                    V === void 0 && (V = null),
                    Y === void 0 && (Y = Q),
                    this.collideObjects(R, H, Q, V, Y, !0)
                  );
                },
                collide: function (R, H, Q, V, Y) {
                  return (
                    Q === void 0 && (Q = null),
                    V === void 0 && (V = null),
                    Y === void 0 && (Y = Q),
                    this.collideObjects(R, H, Q, V, Y, !1)
                  );
                },
                collideObjects: function (R, H, Q, V, Y, J) {
                  var $, W;
                  (R.isParent &&
                    (R.physicsType === void 0 || H === void 0 || R === H) &&
                    (R = R.children.entries),
                    H &&
                      H.isParent &&
                      H.physicsType === void 0 &&
                      (H = H.children.entries));
                  var Z = Array.isArray(R),
                    j = Array.isArray(H);
                  if (((this._total = 0), !Z && !j))
                    this.collideHandler(R, H, Q, V, Y, J);
                  else if (!Z && j)
                    for ($ = 0; $ < H.length; $++)
                      this.collideHandler(R, H[$], Q, V, Y, J);
                  else if (Z && !j)
                    if (H)
                      for ($ = 0; $ < R.length; $++)
                        this.collideHandler(R[$], H, Q, V, Y, J);
                    else
                      for ($ = 0; $ < R.length; $++) {
                        var k = R[$];
                        for (W = $ + 1; W < R.length; W++)
                          $ !== W && this.collideHandler(k, R[W], Q, V, Y, J);
                      }
                  else
                    for ($ = 0; $ < R.length; $++)
                      for (W = 0; W < H.length; W++)
                        this.collideHandler(R[$], H[W], Q, V, Y, J);
                  return this._total > 0;
                },
                collideHandler: function (R, H, Q, V, Y, J) {
                  if (H === void 0 && R.isParent)
                    return this.collideGroupVsGroup(R, R, Q, V, Y, J);
                  if (!R || !H) return !1;
                  if (R.body || R.isBody) {
                    if (H.body || H.isBody)
                      return this.collideSpriteVsSprite(R, H, Q, V, Y, J);
                    if (H.isParent)
                      return this.collideSpriteVsGroup(R, H, Q, V, Y, J);
                    if (H.isTilemap)
                      return this.collideSpriteVsTilemapLayer(R, H, Q, V, Y, J);
                  } else if (R.isParent) {
                    if (H.body || H.isBody)
                      return this.collideSpriteVsGroup(H, R, Q, V, Y, J);
                    if (H.isParent)
                      return this.collideGroupVsGroup(R, H, Q, V, Y, J);
                    if (H.isTilemap)
                      return this.collideGroupVsTilemapLayer(R, H, Q, V, Y, J);
                  } else if (R.isTilemap) {
                    if (H.body || H.isBody)
                      return this.collideSpriteVsTilemapLayer(H, R, Q, V, Y, J);
                    if (H.isParent)
                      return this.collideGroupVsTilemapLayer(H, R, Q, V, Y, J);
                  }
                },
                canCollide: function (R, H) {
                  return (
                    R &&
                    H &&
                    (R.collisionMask & H.collisionCategory) !== 0 &&
                    (H.collisionMask & R.collisionCategory) !== 0
                  );
                },
                collideSpriteVsSprite: function (R, H, Q, V, Y, J) {
                  var $ = R.isBody ? R : R.body,
                    W = H.isBody ? H : H.body;
                  return this.canCollide($, W)
                    ? (this.separate($, W, V, Y, J) &&
                        (Q && Q.call(Y, R, H), this._total++),
                      !0)
                    : !1;
                },
                collideSpriteVsGroup: function (R, H, Q, V, Y, J) {
                  var $ = R.isBody ? R : R.body;
                  if (
                    !(
                      H.length === 0 ||
                      !$ ||
                      !$.enable ||
                      $.checkCollision.none ||
                      !this.canCollide($, H)
                    )
                  ) {
                    var W, Z, j;
                    if (this.useTree || H.physicsType === e.STATIC_BODY) {
                      var k = this.treeMinMax;
                      ((k.minX = $.left),
                        (k.minY = $.top),
                        (k.maxX = $.right),
                        (k.maxY = $.bottom));
                      var _ =
                        H.physicsType === e.DYNAMIC_BODY
                          ? this.tree.search(k)
                          : this.staticTree.search(k);
                      for (Z = _.length, W = 0; W < Z; W++)
                        ((j = _[W]),
                          !(
                            $ === j ||
                            !j.enable ||
                            j.checkCollision.none ||
                            !H.contains(j.gameObject)
                          ) &&
                            this.separate($, j, V, Y, J) &&
                            (Q && Q.call(Y, $.gameObject, j.gameObject),
                            this._total++));
                    } else {
                      var q = H.getChildren(),
                        et = H.children.entries.indexOf(R);
                      for (Z = q.length, W = 0; W < Z; W++)
                        ((j = q[W].body),
                          !(!j || W === et || !j.enable) &&
                            this.separate($, j, V, Y, J) &&
                            (Q && Q.call(Y, $.gameObject, j.gameObject),
                            this._total++));
                    }
                  }
                },
                collideGroupVsTilemapLayer: function (R, H, Q, V, Y, J) {
                  if (!this.canCollide(R, H)) return !1;
                  var $ = R.getChildren();
                  if ($.length === 0) return !1;
                  for (var W = !1, Z = 0; Z < $.length; Z++)
                    ($[Z].body || $[Z].isBody) &&
                      this.collideSpriteVsTilemapLayer($[Z], H, Q, V, Y, J) &&
                      (W = !0);
                  return W;
                },
                collideTiles: function (R, H, Q, V, Y) {
                  return H.length === 0 ||
                    (R.body && !R.body.enable) ||
                    (R.isBody && !R.enable)
                    ? !1
                    : this.collideSpriteVsTilesHandler(R, H, Q, V, Y, !1, !1);
                },
                overlapTiles: function (R, H, Q, V, Y) {
                  return H.length === 0 ||
                    (R.body && !R.body.enable) ||
                    (R.isBody && !R.enable)
                    ? !1
                    : this.collideSpriteVsTilesHandler(R, H, Q, V, Y, !0, !1);
                },
                collideSpriteVsTilemapLayer: function (R, H, Q, V, Y, J) {
                  var $ = R.isBody ? R : R.body;
                  if (
                    !$.enable ||
                    $.checkCollision.none ||
                    !this.canCollide($, H)
                  )
                    return !1;
                  var W = $.x,
                    Z = $.y,
                    j = $.width,
                    k = $.height,
                    _ = H.layer;
                  if (_.tileWidth > _.baseTileWidth) {
                    var q = (_.tileWidth - _.baseTileWidth) * H.scaleX;
                    ((W -= q), (j += q));
                  }
                  if (_.tileHeight > _.baseTileHeight) {
                    var et = (_.tileHeight - _.baseTileHeight) * H.scaleY;
                    k += et;
                  }
                  var st = J ? null : this.tileFilterOptions,
                    nt = x(W, Z, j, k, st, H.scene.cameras.main, H.layer);
                  return nt.length === 0
                    ? !1
                    : this.collideSpriteVsTilesHandler(R, nt, Q, V, Y, J, !0);
                },
                collideSpriteVsTilesHandler: function (R, H, Q, V, Y, J, $) {
                  for (
                    var W = R.isBody ? R : R.body,
                      Z,
                      j = { left: 0, right: 0, top: 0, bottom: 0 },
                      k,
                      _ = !1,
                      q = 0;
                    q < H.length;
                    q++
                  ) {
                    ((Z = H[q]), (k = Z.tilemapLayer));
                    var et = k.tileToWorldXY(Z.x, Z.y);
                    ((j.left = et.x),
                      (j.top = et.y),
                      Z.baseHeight !== Z.height &&
                        (j.top -= (Z.height - Z.baseHeight) * k.scaleY),
                      (j.right = j.left + Z.width * k.scaleX),
                      (j.bottom = j.top + Z.height * k.scaleY),
                      X(j, W) &&
                        (!V || V.call(Y, R, Z)) &&
                        F(Z, R) &&
                        (J || M(q, W, Z, j, k, this.TILE_BIAS, $)) &&
                        (this._total++,
                        (_ = !0),
                        Q && Q.call(Y, R, Z),
                        J && W.onOverlap
                          ? this.emit(o.TILE_OVERLAP, R, Z, W)
                          : W.onCollide && this.emit(o.TILE_COLLIDE, R, Z, W)));
                  }
                  return _;
                },
                collideGroupVsGroup: function (R, H, Q, V, Y, J) {
                  if (
                    !(
                      R.length === 0 ||
                      H.length === 0 ||
                      !this.canCollide(R, H)
                    )
                  )
                    for (var $ = R.getChildren(), W = 0; W < $.length; W++)
                      this.collideSpriteVsGroup($[W], H, Q, V, Y, J);
                },
                wrap: function (R, H) {
                  R.body
                    ? this.wrapObject(R, H)
                    : R.getChildren
                      ? this.wrapArray(R.getChildren(), H)
                      : Array.isArray(R)
                        ? this.wrapArray(R, H)
                        : this.wrapObject(R, H);
                },
                wrapArray: function (R, H) {
                  for (var Q = 0; Q < R.length; Q++) this.wrapObject(R[Q], H);
                },
                wrapObject: function (R, H) {
                  (H === void 0 && (H = 0),
                    (R.x = N(R.x, this.bounds.left - H, this.bounds.right + H)),
                    (R.y = N(
                      R.y,
                      this.bounds.top - H,
                      this.bounds.bottom + H,
                    )));
                },
                shutdown: function () {
                  (this.tree.clear(),
                    this.staticTree.clear(),
                    this.bodies.clear(),
                    this.staticBodies.clear(),
                    this.colliders.destroy(),
                    this.removeAllListeners());
                },
                destroy: function () {
                  (this.shutdown(),
                    (this.scene = null),
                    this.debugGraphic &&
                      (this.debugGraphic.destroy(),
                      (this.debugGraphic = null)));
                },
              });
            d.exports = b;
          },
          5321: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              setAcceleration: function (t, A) {
                return (
                  this.body.acceleration.set(t, A),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setAccelerationX: function (t) {
                return (
                  (this.body.acceleration.x = t),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setAccelerationY: function (t) {
                return (
                  (this.body.acceleration.y = t),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
            };
            d.exports = y;
          },
          29257: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              setAngularVelocity: function (t) {
                return (
                  (this.body.angularVelocity = t),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setAngularAcceleration: function (t) {
                return (
                  (this.body.angularAcceleration = t),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setAngularDrag: function (t) {
                return (
                  (this.body.angularDrag = t),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
            };
            d.exports = y;
          },
          62122: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              setBounce: function (t, A) {
                return (
                  this.body.bounce.set(t, A),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setBounceX: function (t) {
                return (
                  (this.body.bounce.x = t),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setBounceY: function (t) {
                return (
                  (this.body.bounce.y = t),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setCollideWorldBounds: function (t, A, c, a) {
                return (
                  this.body.setCollideWorldBounds(t, A, c, a),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
            };
            d.exports = y;
          },
          95239: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(44880),
              c = {
                setCollisionCategory: function (a) {
                  var r = this.body ? this.body : this;
                  return (
                    (r.collisionCategory = a),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                willCollideWith: function (a) {
                  var r = this.body ? this.body : this;
                  return (r.collisionMask & a) !== 0;
                },
                addCollidesWith: function (a) {
                  var r = this.body ? this.body : this;
                  return (
                    (r.collisionMask = r.collisionMask | a),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                removeCollidesWith: function (a) {
                  var r = this.body ? this.body : this;
                  return (
                    (r.collisionMask = r.collisionMask & ~a),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setCollidesWith: function (a) {
                  var r = this.body ? this.body : this;
                  return (
                    (r.collisionMask = A(a)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                resetCollisionCategory: function () {
                  var a = this.body ? this.body : this;
                  return (
                    (a.collisionCategory = 1),
                    (a.collisionMask = 1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
              };
            d.exports = c;
          },
          99803: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              setDebug: function (t, A, c) {
                return (
                  (this.debugShowBody = t),
                  (this.debugShowVelocity = A),
                  (this.debugBodyColor = c),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setDebugBodyColor: function (t) {
                return (
                  (this.body.debugBodyColor = t),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              debugShowBody: {
                get: function () {
                  return this.body.debugShowBody;
                },
                set: function (t) {
                  this.body.debugShowBody = t;
                },
              },
              debugShowVelocity: {
                get: function () {
                  return this.body.debugShowVelocity;
                },
                set: function (t) {
                  this.body.debugShowVelocity = t;
                },
              },
              debugBodyColor: {
                get: function () {
                  return this.body.debugBodyColor;
                },
                set: function (t) {
                  this.body.debugBodyColor = t;
                },
              },
            };
            d.exports = y;
          },
          87145: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              setDrag: function (t, A) {
                return (
                  this.body.drag.set(t, A),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setDragX: function (t) {
                return (
                  (this.body.drag.x = t),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setDragY: function (t) {
                return (
                  (this.body.drag.y = t),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setDamping: function (t) {
                return (
                  (this.body.useDamping = t),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
            };
            d.exports = y;
          },
          96174: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              setDirectControl: function (t) {
                return (
                  this.body.setDirectControl(t),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              enableBody: function (t, A, c, a, r) {
                return (
                  t && this.body.reset(A, c),
                  a && (this.body.gameObject.active = !0),
                  r && (this.body.gameObject.visible = !0),
                  (this.body.enable = !0),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              disableBody: function (t, A) {
                return (
                  t === void 0 && (t = !1),
                  A === void 0 && (A = !1),
                  this.body.stop(),
                  (this.body.enable = !1),
                  t && (this.body.gameObject.active = !1),
                  A && (this.body.gameObject.visible = !1),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              refreshBody: function () {
                return (
                  this.body.updateFromGameObject(),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
            };
            d.exports = y;
          },
          51702: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              setFriction: function (t, A) {
                return (
                  this.body.friction.set(t, A),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setFrictionX: function (t) {
                return (
                  (this.body.friction.x = t),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setFrictionY: function (t) {
                return (
                  (this.body.friction.y = t),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
            };
            d.exports = y;
          },
          25578: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              setGravity: function (t, A) {
                return (
                  this.body.gravity.set(t, A),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setGravityX: function (t) {
                return (
                  (this.body.gravity.x = t),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setGravityY: function (t) {
                return (
                  (this.body.gravity.y = t),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
            };
            d.exports = y;
          },
          72029: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              setImmovable: function (t) {
                return (
                  t === void 0 && (t = !0),
                  (this.body.immovable = t),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
            };
            d.exports = y;
          },
          34566: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              setMass: function (t) {
                return (
                  (this.body.mass = t),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
            };
            d.exports = y;
          },
          2732: (d, y, t) => {
            var A = t(15147),
              c = t(26673),
              a = t(22184),
              r = t(26535),
              n = function (e, s, u, i, o, h) {
                var l = A(e, s - i, u - i, 2 * i, 2 * i, o, h);
                if (l.length === 0) return l;
                for (
                  var f = new c(s, u, i), v = new c(), m = [], x = 0;
                  x < l.length;
                  x++
                ) {
                  var g = l[x];
                  g.isCircle
                    ? (v.setTo(g.center.x, g.center.y, g.halfWidth),
                      a(f, v) && m.push(g))
                    : r(f, g) && m.push(g);
                }
                return m;
              };
            d.exports = n;
          },
          15147: (d) => {
            var y = function (t, A, c, a, r, n, e) {
              (n === void 0 && (n = !0), e === void 0 && (e = !1));
              var s = [],
                u = [],
                i = t.treeMinMax;
              if (
                ((i.minX = A),
                (i.minY = c),
                (i.maxX = A + a),
                (i.maxY = c + r),
                e && (u = t.staticTree.search(i)),
                n && t.useTree)
              )
                s = t.tree.search(i);
              else if (n) {
                var o = t.bodies,
                  h = {
                    position: { x: A, y: c },
                    left: A,
                    top: c,
                    right: A + a,
                    bottom: c + r,
                    isCircle: !1,
                  },
                  l = t.intersects;
                o.iterate(function (f) {
                  l(f, h) && s.push(f);
                });
              }
              return u.concat(s);
            };
            d.exports = y;
          },
          57527: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              setPushable: function (t) {
                return (
                  t === void 0 && (t = !0),
                  (this.body.pushable = t),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
            };
            d.exports = y;
          },
          77687: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              setOffset: function (t, A) {
                return (
                  this.body.setOffset(t, A),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setSize: function (t, A, c) {
                return (
                  this.body.setSize(t, A, c),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setBodySize: function (t, A, c) {
                return (
                  this.body.setSize(t, A, c),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setCircle: function (t, A, c) {
                return (
                  this.body.setCircle(t, A, c),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
            };
            d.exports = y;
          },
          66536: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              setVelocity: function (t, A) {
                return (
                  this.body.setVelocity(t, A),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setVelocityX: function (t) {
                return (
                  this.body.setVelocityX(t),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setVelocityY: function (t) {
                return (
                  this.body.setVelocityY(t),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setMaxVelocity: function (t, A) {
                return (
                  this.body.maxVelocity.set(t, A),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
            };
            d.exports = y;
          },
          7864: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              Acceleration: t(5321),
              Angular: t(29257),
              Bounce: t(62122),
              Collision: t(95239),
              Debug: t(99803),
              Drag: t(87145),
              Enable: t(96174),
              Friction: t(51702),
              Gravity: t(25578),
              Immovable: t(72029),
              Mass: t(34566),
              OverlapCirc: t(2732),
              OverlapRect: t(15147),
              Pushable: t(57527),
              Size: t(77687),
              Velocity: t(66536),
            };
          },
          47401: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              DYNAMIC_BODY: 0,
              STATIC_BODY: 1,
              GROUP: 2,
              TILEMAPLAYER: 3,
              FACING_NONE: 10,
              FACING_UP: 11,
              FACING_DOWN: 12,
              FACING_LEFT: 13,
              FACING_RIGHT: 14,
            };
            d.exports = y;
          },
          22346: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "collide";
          },
          95092: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "overlap";
          },
          15775: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "pause";
          },
          74142: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "resume";
          },
          22825: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "tilecollide";
          },
          10851: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "tileoverlap";
          },
          7543: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "worldbounds";
          },
          1487: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "worldstep";
          },
          27037: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              COLLIDE: t(22346),
              OVERLAP: t(95092),
              PAUSE: t(15775),
              RESUME: t(74142),
              TILE_COLLIDE: t(22825),
              TILE_OVERLAP: t(10851),
              WORLD_BOUNDS: t(7543),
              WORLD_STEP: t(1487),
            };
          },
          39977: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(47401),
              c = t(98611),
              a = {
                ArcadePhysics: t(66150),
                Body: t(97602),
                Collider: t(3909),
                Components: t(7864),
                Events: t(27037),
                Factory: t(99523),
                GetCollidesWith: t(44880),
                GetOverlapX: t(75671),
                GetOverlapY: t(66185),
                SeparateX: t(61777),
                SeparateY: t(25299),
                Group: t(10481),
                Image: t(62832),
                Sprite: t(25084),
                StaticBody: t(66634),
                StaticGroup: t(46346),
                Tilemap: t(8413),
                World: t(85233),
              };
            ((a = c(!1, a, A)), (d.exports = a));
          },
          25163: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return t.collisionCallback
                ? !t.collisionCallback.call(t.collisionCallbackContext, A, t)
                : t.layer.callbacks[t.index]
                  ? !t.layer.callbacks[t.index].callback.call(
                      t.layer.callbacks[t.index].callbackContext,
                      A,
                      t,
                    )
                  : !0;
            };
            d.exports = y;
          },
          98209: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              (A < 0
                ? ((t.blocked.none = !1), (t.blocked.left = !0))
                : A > 0 && ((t.blocked.none = !1), (t.blocked.right = !0)),
                (t.position.x -= A),
                t.updateCenter(),
                t.bounce.x === 0
                  ? (t.velocity.x = 0)
                  : (t.velocity.x = -t.velocity.x * t.bounce.x));
            };
            d.exports = y;
          },
          72792: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              (A < 0
                ? ((t.blocked.none = !1), (t.blocked.up = !0))
                : A > 0 && ((t.blocked.none = !1), (t.blocked.down = !0)),
                (t.position.y -= A),
                t.updateCenter(),
                t.bounce.y === 0
                  ? (t.velocity.y = 0)
                  : (t.velocity.y = -t.velocity.y * t.bounce.y));
            };
            d.exports = y;
          },
          27354: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(14405),
              c = t(52926),
              a = t(28808),
              r = function (n, e, s, u, i, o, h) {
                var l = u.left,
                  f = u.top,
                  v = u.right,
                  m = u.bottom,
                  x = s.faceLeft || s.faceRight,
                  g = s.faceTop || s.faceBottom;
                if ((h || ((x = !0), (g = !0)), !x && !g)) return !1;
                var C = 0,
                  T = 0,
                  F = 0,
                  w = 1;
                if (
                  (e.deltaAbsX() > e.deltaAbsY()
                    ? (F = -1)
                    : e.deltaAbsX() < e.deltaAbsY() && (w = -1),
                  e.deltaX() !== 0 &&
                    e.deltaY() !== 0 &&
                    x &&
                    g &&
                    ((F = Math.min(
                      Math.abs(e.position.x - v),
                      Math.abs(e.right - l),
                    )),
                    (w = Math.min(
                      Math.abs(e.position.y - m),
                      Math.abs(e.bottom - f),
                    ))),
                  F < w)
                ) {
                  if (x && ((C = A(e, s, l, v, o, h)), C !== 0 && !a(u, e)))
                    return !0;
                  g && (T = c(e, s, f, m, o, h));
                } else {
                  if (g && ((T = c(e, s, f, m, o, h)), T !== 0 && !a(u, e)))
                    return !0;
                  x && (C = A(e, s, l, v, o, h));
                }
                return C !== 0 || T !== 0;
              };
            d.exports = r;
          },
          14405: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(98209),
              c = function (a, r, n, e, s, u) {
                var i = 0,
                  o = r.faceLeft,
                  h = r.faceRight,
                  l = r.collideLeft,
                  f = r.collideRight;
                return (
                  u || ((o = !0), (h = !0), (l = !0), (f = !0)),
                  a.deltaX() < 0 && f && a.checkCollision.left
                    ? h && a.x < e && ((i = a.x - e), i < -s && (i = 0))
                    : a.deltaX() > 0 &&
                      l &&
                      a.checkCollision.right &&
                      o &&
                      a.right > n &&
                      ((i = a.right - n), i > s && (i = 0)),
                  i !== 0 && (a.customSeparateX ? (a.overlapX = i) : A(a, i)),
                  i
                );
              };
            d.exports = c;
          },
          52926: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72792),
              c = function (a, r, n, e, s, u) {
                var i = 0,
                  o = r.faceTop,
                  h = r.faceBottom,
                  l = r.collideUp,
                  f = r.collideDown;
                return (
                  u || ((o = !0), (h = !0), (l = !0), (f = !0)),
                  a.deltaY() < 0 && f && a.checkCollision.up
                    ? h && a.y < e && ((i = a.y - e), i < -s && (i = 0))
                    : a.deltaY() > 0 &&
                      l &&
                      a.checkCollision.down &&
                      o &&
                      a.bottom > n &&
                      ((i = a.bottom - n), i > s && (i = 0)),
                  i !== 0 && (a.customSeparateY ? (a.overlapY = i) : A(a, i)),
                  i
                );
              };
            d.exports = c;
          },
          28808: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return !(
                A.right <= t.left ||
                A.bottom <= t.top ||
                A.position.x >= t.right ||
                A.position.y >= t.bottom
              );
            };
            d.exports = y;
          },
          8413: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = {
              ProcessTileCallbacks: t(25163),
              ProcessTileSeparationX: t(98209),
              ProcessTileSeparationY: t(72792),
              SeparateTile: t(27354),
              TileCheckX: t(14405),
              TileCheckY: t(52926),
              TileIntersectsBody: t(28808),
            };
            d.exports = A;
          },
          53954: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = { Arcade: t(39977), Matter: t(45949) };
          },
          63568: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(93736),
              a = new A({
                initialize: function () {
                  ((this.boundsCenter = new c()), (this.centerDiff = new c()));
                },
                parseBody: function (r) {
                  if (
                    ((r = r.hasOwnProperty("body") ? r.body : r),
                    !r.hasOwnProperty("bounds") ||
                      !r.hasOwnProperty("centerOfMass"))
                  )
                    return !1;
                  var n = this.boundsCenter,
                    e = this.centerDiff,
                    s = r.bounds.max.x - r.bounds.min.x,
                    u = r.bounds.max.y - r.bounds.min.y,
                    i = s * r.centerOfMass.x,
                    o = u * r.centerOfMass.y;
                  return (n.set(s / 2, u / 2), e.set(i - n.x, o - n.y), !0);
                },
                getTopLeft: function (r, n, e) {
                  if (
                    (n === void 0 && (n = 0),
                    e === void 0 && (e = 0),
                    this.parseBody(r))
                  ) {
                    var s = this.boundsCenter,
                      u = this.centerDiff;
                    return new c(n + s.x + u.x, e + s.y + u.y);
                  }
                  return !1;
                },
                getTopCenter: function (r, n, e) {
                  if (
                    (n === void 0 && (n = 0),
                    e === void 0 && (e = 0),
                    this.parseBody(r))
                  ) {
                    var s = this.boundsCenter,
                      u = this.centerDiff;
                    return new c(n + u.x, e + s.y + u.y);
                  }
                  return !1;
                },
                getTopRight: function (r, n, e) {
                  if (
                    (n === void 0 && (n = 0),
                    e === void 0 && (e = 0),
                    this.parseBody(r))
                  ) {
                    var s = this.boundsCenter,
                      u = this.centerDiff;
                    return new c(n - (s.x - u.x), e + s.y + u.y);
                  }
                  return !1;
                },
                getLeftCenter: function (r, n, e) {
                  if (
                    (n === void 0 && (n = 0),
                    e === void 0 && (e = 0),
                    this.parseBody(r))
                  ) {
                    var s = this.boundsCenter,
                      u = this.centerDiff;
                    return new c(n + s.x + u.x, e + u.y);
                  }
                  return !1;
                },
                getCenter: function (r, n, e) {
                  if (
                    (n === void 0 && (n = 0),
                    e === void 0 && (e = 0),
                    this.parseBody(r))
                  ) {
                    var s = this.centerDiff;
                    return new c(n + s.x, e + s.y);
                  }
                  return !1;
                },
                getRightCenter: function (r, n, e) {
                  if (
                    (n === void 0 && (n = 0),
                    e === void 0 && (e = 0),
                    this.parseBody(r))
                  ) {
                    var s = this.boundsCenter,
                      u = this.centerDiff;
                    return new c(n - (s.x - u.x), e + u.y);
                  }
                  return !1;
                },
                getBottomLeft: function (r, n, e) {
                  if (
                    (n === void 0 && (n = 0),
                    e === void 0 && (e = 0),
                    this.parseBody(r))
                  ) {
                    var s = this.boundsCenter,
                      u = this.centerDiff;
                    return new c(n + s.x + u.x, e - (s.y - u.y));
                  }
                  return !1;
                },
                getBottomCenter: function (r, n, e) {
                  if (
                    (n === void 0 && (n = 0),
                    e === void 0 && (e = 0),
                    this.parseBody(r))
                  ) {
                    var s = this.boundsCenter,
                      u = this.centerDiff;
                    return new c(n + u.x, e - (s.y - u.y));
                  }
                  return !1;
                },
                getBottomRight: function (r, n, e) {
                  if (
                    (n === void 0 && (n = 0),
                    e === void 0 && (e = 0),
                    this.parseBody(r))
                  ) {
                    var s = this.boundsCenter,
                      u = this.centerDiff;
                    return new c(n - (s.x - u.x), e - (s.y - u.y));
                  }
                  return !1;
                },
              });
            d.exports = a;
          },
          18171: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(16929);
            ((A.Body = t(84125)),
              (A.Composite = t(11299)),
              (A.World = t(72005)),
              (A.Collision = t(63454)),
              (A.Detector = t(13657)),
              (A.Pairs = t(91327)),
              (A.Pair = t(70584)),
              (A.Query = t(13390)),
              (A.Resolver = t(44272)),
              (A.Constraint = t(52838)),
              (A.Common = t(68758)),
              (A.Engine = t(45775)),
              (A.Events = t(39073)),
              (A.Sleeping = t(22806)),
              (A.Plugin = t(84474)),
              (A.Bodies = t(68516)),
              (A.Composites = t(56643)),
              (A.Axes = t(50658)),
              (A.Bounds = t(84091)),
              (A.Svg = t(92765)),
              (A.Vector = t(10438)),
              (A.Vertices = t(39745)),
              (A.World.add = A.Composite.add),
              (A.World.remove = A.Composite.remove),
              (A.World.addComposite = A.Composite.addComposite),
              (A.World.addBody = A.Composite.addBody),
              (A.World.addConstraint = A.Composite.addConstraint),
              (A.World.clear = A.Composite.clear),
              (d.exports = A));
          },
          72653: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(68516),
              c = t(56694),
              a = t(56643),
              r = t(52838),
              n = t(92765),
              e = t(3860),
              s = t(7030),
              u = t(73658),
              i = t(84720),
              o = t(10998),
              h = t(72829),
              l = t(88596),
              f = t(39745),
              v = new c({
                initialize: function (x) {
                  ((this.world = x),
                    (this.scene = x.scene),
                    (this.sys = x.scene.sys));
                },
                rectangle: function (m, x, g, C, T) {
                  var F = A.rectangle(m, x, g, C, T);
                  return (this.world.add(F), F);
                },
                trapezoid: function (m, x, g, C, T, F) {
                  var w = A.trapezoid(m, x, g, C, T, F);
                  return (this.world.add(w), w);
                },
                circle: function (m, x, g, C, T) {
                  var F = A.circle(m, x, g, C, T);
                  return (this.world.add(F), F);
                },
                polygon: function (m, x, g, C, T) {
                  var F = A.polygon(m, x, g, C, T);
                  return (this.world.add(F), F);
                },
                fromVertices: function (m, x, g, C, T, F, w) {
                  typeof g == "string" && (g = f.fromPath(g));
                  var U = A.fromVertices(m, x, g, C, T, F, w);
                  return (this.world.add(U), U);
                },
                fromPhysicsEditor: function (m, x, g, C, T) {
                  T === void 0 && (T = !0);
                  var F = o.parseBody(m, x, g, C);
                  return (T && !this.world.has(F) && this.world.add(F), F);
                },
                fromSVG: function (m, x, g, C, T, F) {
                  (C === void 0 && (C = 1),
                    T === void 0 && (T = {}),
                    F === void 0 && (F = !0));
                  for (
                    var w = g.getElementsByTagName("path"), U = [], M = 0;
                    M < w.length;
                    M++
                  ) {
                    var I = n.pathToVertices(w[M], 30);
                    (C !== 1 && f.scale(I, C, C), U.push(I));
                  }
                  var O = A.fromVertices(m, x, U, T);
                  return (F && this.world.add(O), O);
                },
                fromJSON: function (m, x, g, C, T) {
                  (C === void 0 && (C = {}), T === void 0 && (T = !0));
                  var F = h.parseBody(m, x, g, C);
                  return (F && T && this.world.add(F), F);
                },
                imageStack: function (m, x, g, C, T, F, w, U, M) {
                  (w === void 0 && (w = 0),
                    U === void 0 && (U = 0),
                    M === void 0 && (M = {}));
                  var I = this.world,
                    O = this.sys.displayList;
                  M.addToWorld = !1;
                  var D = a.stack(g, C, T, F, w, U, function (G, X) {
                    var z = new s(I, G, X, m, x, M);
                    return (O.add(z), z.body);
                  });
                  return (I.add(D), D);
                },
                stack: function (m, x, g, C, T, F, w) {
                  var U = a.stack(m, x, g, C, T, F, w);
                  return (this.world.add(U), U);
                },
                pyramid: function (m, x, g, C, T, F, w) {
                  var U = a.pyramid(m, x, g, C, T, F, w);
                  return (this.world.add(U), U);
                },
                chain: function (m, x, g, C, T, F) {
                  return a.chain(m, x, g, C, T, F);
                },
                mesh: function (m, x, g, C, T) {
                  return a.mesh(m, x, g, C, T);
                },
                newtonsCradle: function (m, x, g, C, T) {
                  var F = a.newtonsCradle(m, x, g, C, T);
                  return (this.world.add(F), F);
                },
                car: function (m, x, g, C, T) {
                  var F = a.car(m, x, g, C, T);
                  return (this.world.add(F), F);
                },
                softBody: function (m, x, g, C, T, F, w, U, M, I) {
                  var O = a.softBody(m, x, g, C, T, F, w, U, M, I);
                  return (this.world.add(O), O);
                },
                joint: function (m, x, g, C, T) {
                  return this.constraint(m, x, g, C, T);
                },
                spring: function (m, x, g, C, T) {
                  return this.constraint(m, x, g, C, T);
                },
                constraint: function (m, x, g, C, T) {
                  (C === void 0 && (C = 1),
                    T === void 0 && (T = {}),
                    (T.bodyA = m.type === "body" ? m : m.body),
                    (T.bodyB = x.type === "body" ? x : x.body),
                    isNaN(g) || (T.length = g),
                    (T.stiffness = C));
                  var F = r.create(T);
                  return (this.world.add(F), F);
                },
                worldConstraint: function (m, x, g, C) {
                  (g === void 0 && (g = 1),
                    C === void 0 && (C = {}),
                    (C.bodyB = m.type === "body" ? m : m.body),
                    isNaN(x) || (C.length = x),
                    (C.stiffness = g));
                  var T = r.create(C);
                  return (this.world.add(T), T);
                },
                mouseSpring: function (m) {
                  return this.pointerConstraint(m);
                },
                pointerConstraint: function (m) {
                  (m === void 0 && (m = {}),
                    m.hasOwnProperty("render") || (m.render = { visible: !1 }));
                  var x = new l(this.scene, this.world, m);
                  return (this.world.add(x.constraint), x);
                },
                image: function (m, x, g, C, T) {
                  var F = new s(this.world, m, x, g, C, T);
                  return (this.sys.displayList.add(F), F);
                },
                tileBody: function (m, x) {
                  return new i(this.world, m, x);
                },
                sprite: function (m, x, g, C, T) {
                  var F = new u(this.world, m, x, g, C, T);
                  return (
                    this.sys.displayList.add(F),
                    this.sys.updateList.add(F),
                    F
                  );
                },
                gameObject: function (m, x, g) {
                  return e(this.world, m, x, g);
                },
                destroy: function () {
                  ((this.world = null), (this.scene = null), (this.sys = null));
                },
              });
            d.exports = v;
          },
          3860: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(74527),
              c = t(72632),
              a = t(93736);
            function r(e) {
              return (
                (!!e.get && typeof e.get == "function") ||
                (!!e.set && typeof e.set == "function")
              );
            }
            var n = function (e, s, u, i) {
              (u === void 0 && (u = {}), i === void 0 && (i = !0));
              var o = s.x,
                h = s.y;
              s.body = { temp: !0, position: { x: o, y: h } };
              var l = [
                A.Bounce,
                A.Collision,
                A.Force,
                A.Friction,
                A.Gravity,
                A.Mass,
                A.Sensor,
                A.SetBody,
                A.Sleep,
                A.Static,
                A.Transform,
                A.Velocity,
              ];
              if (
                (l.forEach(function (v) {
                  for (var m in v)
                    r(v[m])
                      ? Object.defineProperty(s, m, {
                          get: v[m].get,
                          set: v[m].set,
                        })
                      : Object.defineProperty(s, m, { value: v[m] });
                }),
                (s.world = e),
                (s._tempVec2 = new a(o, h)),
                u.hasOwnProperty("type") && u.type === "body")
              )
                s.setExistingBody(u, i);
              else {
                var f = c(u, "shape", null);
                (f || (f = "rectangle"), (u.addToWorld = i), s.setBody(f, u));
              }
              return s;
            };
            d.exports = n;
          },
          7030: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(74527),
              a = t(89980),
              r = t(72632),
              n = t(1539),
              e = t(58210),
              s = t(93736),
              u = new A({
                Extends: n,
                Mixins: [
                  c.Bounce,
                  c.Collision,
                  c.Force,
                  c.Friction,
                  c.Gravity,
                  c.Mass,
                  c.Sensor,
                  c.SetBody,
                  c.Sleep,
                  c.Static,
                  c.Transform,
                  c.Velocity,
                  e,
                ],
                initialize: function (o, h, l, f, v, m) {
                  (a.call(this, o.scene, "Image"),
                    (this._crop = this.resetCropObject()),
                    this.setTexture(f, v),
                    this.setSizeToFrame(),
                    this.setOrigin(),
                    (this.world = o),
                    (this._tempVec2 = new s(h, l)));
                  var x = r(m, "shape", null);
                  (x
                    ? this.setBody(x, m)
                    : this.setRectangle(this.width, this.height, m),
                    this.setPosition(h, l),
                    this.initPipeline(),
                    this.initPostPipeline(!0));
                },
              });
            d.exports = u;
          },
          50583: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(84093),
              c = t(50658),
              a = t(68516),
              r = t(84125),
              n = t(63568),
              e = t(84091),
              s = t(56694),
              u = t(63454),
              i = t(68758),
              o = t(11299),
              h = t(56643),
              l = t(52838),
              f = t(13657),
              v = t(53996),
              m = t(72653),
              x = t(72632),
              g = t(10850),
              C = t(1675),
              T = t(80391),
              F = t(16929),
              w = t(44097),
              U = t(30657),
              M = t(70584),
              I = t(91327),
              O = t(84474),
              D = t(91963),
              G = t(13390),
              X = t(44272),
              z = t(7599),
              K = t(92765),
              N = t(10438),
              b = t(39745),
              R = t(31468);
            i.setDecomp(t(81084));
            var H = new s({
              initialize: function (V) {
                ((this.scene = V),
                  (this.systems = V.sys),
                  (this.config = this.getConfig()),
                  this.world,
                  this.add,
                  this.bodyBounds,
                  (this.body = r),
                  (this.composite = o),
                  (this.collision = u),
                  (this.detector = f),
                  (this.pair = M),
                  (this.pairs = I),
                  (this.query = G),
                  (this.resolver = X),
                  (this.constraint = l),
                  (this.bodies = a),
                  (this.composites = h),
                  (this.axes = c),
                  (this.bounds = e),
                  (this.svg = K),
                  (this.vector = N),
                  (this.vertices = b),
                  (this.verts = b),
                  (this._tempVec2 = N.create()),
                  g(this.config, "plugins.collisionevents", !0) &&
                    this.enableCollisionEventsPlugin(),
                  g(this.config, "plugins.attractors", !1) &&
                    this.enableAttractorPlugin(),
                  g(this.config, "plugins.wrap", !1) && this.enableWrapPlugin(),
                  (X._restingThresh = g(this.config, "restingThresh", 4)),
                  (X._restingThreshTangent = g(
                    this.config,
                    "restingThreshTangent",
                    6,
                  )),
                  (X._positionDampen = g(this.config, "positionDampen", 0.9)),
                  (X._positionWarming = g(this.config, "positionWarming", 0.8)),
                  (X._frictionNormalMultiplier = g(
                    this.config,
                    "frictionNormalMultiplier",
                    5,
                  )),
                  V.sys.events.once(
                    z.BOOT,
                    this.boot,
                    _____WB$wombat$check$this$function_____(this),
                  ),
                  V.sys.events.on(
                    z.START,
                    this.start,
                    _____WB$wombat$check$this$function_____(this),
                  ));
              },
              boot: function () {
                ((this.world = new R(this.scene, this.config)),
                  (this.add = new m(this.world)),
                  (this.bodyBounds = new n()),
                  this.systems.events.once(
                    z.DESTROY,
                    this.destroy,
                    _____WB$wombat$check$this$function_____(this),
                  ));
              },
              start: function () {
                this.world ||
                  ((this.world = new R(this.scene, this.config)),
                  (this.add = new m(this.world)));
                var Q = this.systems.events;
                (Q.on(z.UPDATE, this.world.update, this.world),
                  Q.on(z.POST_UPDATE, this.world.postUpdate, this.world),
                  Q.once(
                    z.SHUTDOWN,
                    this.shutdown,
                    _____WB$wombat$check$this$function_____(this),
                  ));
              },
              getConfig: function () {
                var Q = this.systems.game.config.physics,
                  V = this.systems.settings.physics,
                  Y = U(x(V, "matter", {}), x(Q, "matter", {}));
                return Y;
              },
              enableAttractorPlugin: function () {
                return (
                  O.register(C),
                  O.use(F, C),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              enableWrapPlugin: function () {
                return (
                  O.register(w),
                  O.use(F, w),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              enableCollisionEventsPlugin: function () {
                return (
                  O.register(T),
                  O.use(F, T),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              pause: function () {
                return this.world.pause();
              },
              resume: function () {
                return this.world.resume();
              },
              set60Hz: function () {
                return (
                  (this.world.getDelta = this.world.update60Hz),
                  (this.world.autoUpdate = !0),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              set30Hz: function () {
                return (
                  (this.world.getDelta = this.world.update30Hz),
                  (this.world.autoUpdate = !0),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              step: function (Q, V) {
                this.world.step(Q, V);
              },
              containsPoint: function (Q, V, Y) {
                Q = this.getMatterBodies(Q);
                var J = N.create(V, Y),
                  $ = G.point(Q, J);
                return $.length > 0;
              },
              intersectPoint: function (Q, V, Y) {
                Y = this.getMatterBodies(Y);
                var J = N.create(Q, V),
                  $ = [],
                  W = G.point(Y, J);
                return (
                  W.forEach(function (Z) {
                    $.indexOf(Z) === -1 && $.push(Z);
                  }),
                  $
                );
              },
              intersectRect: function (Q, V, Y, J, $, W) {
                ($ === void 0 && ($ = !1), (W = this.getMatterBodies(W)));
                var Z = { min: { x: Q, y: V }, max: { x: Q + Y, y: V + J } },
                  j = [],
                  k = G.region(W, Z, $);
                return (
                  k.forEach(function (_) {
                    j.indexOf(_) === -1 && j.push(_);
                  }),
                  j
                );
              },
              intersectRay: function (Q, V, Y, J, $, W) {
                ($ === void 0 && ($ = 1), (W = this.getMatterBodies(W)));
                for (
                  var Z = [],
                    j = G.ray(W, N.create(Q, V), N.create(Y, J), $),
                    k = 0;
                  k < j.length;
                  k++
                )
                  Z.push(j[k].body);
                return Z;
              },
              intersectBody: function (Q, V) {
                V = this.getMatterBodies(V);
                for (
                  var Y = [], J = G.collides(Q, V), $ = 0;
                  $ < J.length;
                  $++
                ) {
                  var W = J[$];
                  W.bodyA === Q ? Y.push(W.bodyB) : Y.push(W.bodyA);
                }
                return Y;
              },
              overlap: function (Q, V, Y, J, $) {
                (Y === void 0 && (Y = null),
                  J === void 0 && (J = null),
                  $ === void 0 && ($ = Y),
                  Array.isArray(Q) || (Q = [Q]),
                  (Q = this.getMatterBodies(Q)),
                  (V = this.getMatterBodies(V)));
                for (var W = !1, Z = 0; Z < Q.length; Z++)
                  for (
                    var j = Q[Z], k = G.collides(j, V), _ = 0;
                    _ < k.length;
                    _++
                  ) {
                    var q = k[_],
                      et = q.bodyA.id === j.id ? q.bodyB : q.bodyA;
                    if (!J || J.call($, j, et, q)) {
                      if (((W = !0), Y)) Y.call($, j, et, q);
                      else if (!J) return !0;
                    }
                  }
                return W;
              },
              setCollisionCategory: function (Q, V) {
                return (
                  (Q = this.getMatterBodies(Q)),
                  Q.forEach(function (Y) {
                    Y.collisionFilter.category = V;
                  }),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setCollisionGroup: function (Q, V) {
                return (
                  (Q = this.getMatterBodies(Q)),
                  Q.forEach(function (Y) {
                    Y.collisionFilter.group = V;
                  }),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setCollidesWith: function (Q, V) {
                Q = this.getMatterBodies(Q);
                var Y = 0;
                if (!Array.isArray(V)) Y = V;
                else for (var J = 0; J < V.length; J++) Y |= V[J];
                return (
                  Q.forEach(function ($) {
                    $.collisionFilter.mask = Y;
                  }),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              getMatterBodies: function (Q) {
                if (!Q) return this.world.getAllBodies();
                Array.isArray(Q) || (Q = [Q]);
                for (var V = [], Y = 0; Y < Q.length; Y++) {
                  var J = Q[Y].hasOwnProperty("body") ? Q[Y].body : Q[Y];
                  V.push(J);
                }
                return V;
              },
              setVelocity: function (Q, V, Y) {
                Q = this.getMatterBodies(Q);
                var J = this._tempVec2;
                return (
                  (J.x = V),
                  (J.y = Y),
                  Q.forEach(function ($) {
                    r.setVelocity($, J);
                  }),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setVelocityX: function (Q, V) {
                Q = this.getMatterBodies(Q);
                var Y = this._tempVec2;
                return (
                  (Y.x = V),
                  Q.forEach(function (J) {
                    ((Y.y = J.velocity.y), r.setVelocity(J, Y));
                  }),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setVelocityY: function (Q, V) {
                Q = this.getMatterBodies(Q);
                var Y = this._tempVec2;
                return (
                  (Y.y = V),
                  Q.forEach(function (J) {
                    ((Y.x = J.velocity.x), r.setVelocity(J, Y));
                  }),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setAngularVelocity: function (Q, V) {
                return (
                  (Q = this.getMatterBodies(Q)),
                  Q.forEach(function (Y) {
                    r.setAngularVelocity(Y, V);
                  }),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              applyForce: function (Q, V) {
                Q = this.getMatterBodies(Q);
                var Y = this._tempVec2;
                return (
                  Q.forEach(function (J) {
                    ((Y.x = J.position.x),
                      (Y.y = J.position.y),
                      r.applyForce(J, Y, V));
                  }),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              applyForceFromPosition: function (Q, V, Y, J) {
                Q = this.getMatterBodies(Q);
                var $ = this._tempVec2;
                return (
                  Q.forEach(function (W) {
                    (J === void 0 && (J = W.angle),
                      ($.x = Y * Math.cos(J)),
                      ($.y = Y * Math.sin(J)),
                      r.applyForce(W, V, $));
                  }),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              applyForceFromAngle: function (Q, V, Y) {
                Q = this.getMatterBodies(Q);
                var J = this._tempVec2;
                return (
                  Q.forEach(function ($) {
                    (Y === void 0 && (Y = $.angle),
                      (J.x = V * Math.cos(Y)),
                      (J.y = V * Math.sin(Y)),
                      r.applyForce($, { x: $.position.x, y: $.position.y }, J));
                  }),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              getConstraintLength: function (Q) {
                var V = Q.pointA.x,
                  Y = Q.pointA.y,
                  J = Q.pointB.x,
                  $ = Q.pointB.y;
                return (
                  Q.bodyA &&
                    ((V += Q.bodyA.position.x), (Y += Q.bodyA.position.y)),
                  Q.bodyB &&
                    ((J += Q.bodyB.position.x), ($ += Q.bodyB.position.y)),
                  v(V, Y, J, $)
                );
              },
              alignBody: function (Q, V, Y, J) {
                Q = Q.hasOwnProperty("body") ? Q.body : Q;
                var $;
                switch (J) {
                  case A.TOP_LEFT:
                  case A.LEFT_TOP:
                    $ = this.bodyBounds.getTopLeft(Q, V, Y);
                    break;
                  case A.TOP_CENTER:
                    $ = this.bodyBounds.getTopCenter(Q, V, Y);
                    break;
                  case A.TOP_RIGHT:
                  case A.RIGHT_TOP:
                    $ = this.bodyBounds.getTopRight(Q, V, Y);
                    break;
                  case A.LEFT_CENTER:
                    $ = this.bodyBounds.getLeftCenter(Q, V, Y);
                    break;
                  case A.CENTER:
                    $ = this.bodyBounds.getCenter(Q, V, Y);
                    break;
                  case A.RIGHT_CENTER:
                    $ = this.bodyBounds.getRightCenter(Q, V, Y);
                    break;
                  case A.LEFT_BOTTOM:
                  case A.BOTTOM_LEFT:
                    $ = this.bodyBounds.getBottomLeft(Q, V, Y);
                    break;
                  case A.BOTTOM_CENTER:
                    $ = this.bodyBounds.getBottomCenter(Q, V, Y);
                    break;
                  case A.BOTTOM_RIGHT:
                  case A.RIGHT_BOTTOM:
                    $ = this.bodyBounds.getBottomRight(Q, V, Y);
                    break;
                }
                return (
                  $ && r.setPosition(Q, $),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              shutdown: function () {
                var Q = this.systems.events;
                (this.world &&
                  (Q.off(z.UPDATE, this.world.update, this.world),
                  Q.off(z.POST_UPDATE, this.world.postUpdate, this.world)),
                  Q.off(
                    z.SHUTDOWN,
                    this.shutdown,
                    _____WB$wombat$check$this$function_____(this),
                  ),
                  this.add && this.add.destroy(),
                  this.world && this.world.destroy(),
                  (this.add = null),
                  (this.world = null));
              },
              destroy: function () {
                (this.shutdown(),
                  this.scene.sys.events.off(
                    z.START,
                    this.start,
                    _____WB$wombat$check$this$function_____(this),
                  ),
                  (this.scene = null),
                  (this.systems = null));
              },
            });
            (D.register("MatterPhysics", H, "matterPhysics"), (d.exports = H));
          },
          73658: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(16569),
              c = t(56694),
              a = t(74527),
              r = t(89980),
              n = t(72632),
              e = t(58210),
              s = t(13747),
              u = t(93736),
              i = new c({
                Extends: s,
                Mixins: [
                  a.Bounce,
                  a.Collision,
                  a.Force,
                  a.Friction,
                  a.Gravity,
                  a.Mass,
                  a.Sensor,
                  a.SetBody,
                  a.Sleep,
                  a.Static,
                  a.Transform,
                  a.Velocity,
                  e,
                ],
                initialize: function (h, l, f, v, m, x) {
                  (r.call(this, h.scene, "Sprite"),
                    (this._crop = this.resetCropObject()),
                    (this.anims = new A(this)),
                    this.setTexture(v, m),
                    this.setSizeToFrame(),
                    this.setOrigin(),
                    (this.world = h),
                    (this._tempVec2 = new u(l, f)));
                  var g = n(x, "shape", null);
                  (g
                    ? this.setBody(g, x)
                    : this.setRectangle(this.width, this.height, x),
                    this.setPosition(l, f),
                    this.initPipeline(),
                    this.initPostPipeline(!0));
                },
              });
            d.exports = i;
          },
          84720: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(68516),
              c = t(84125),
              a = t(56694),
              r = t(74527),
              n = t(28699),
              e = t(6659),
              s = t(72632),
              u = t(19256),
              i = t(39745),
              o = new a({
                Extends: e,
                Mixins: [
                  r.Bounce,
                  r.Collision,
                  r.Friction,
                  r.Gravity,
                  r.Mass,
                  r.Sensor,
                  r.Sleep,
                  r.Static,
                ],
                initialize: function (l, f, v) {
                  (e.call(this),
                    (this.tile = f),
                    (this.world = l),
                    f.physics.matterBody && f.physics.matterBody.destroy(),
                    (f.physics.matterBody =
                      _____WB$wombat$check$this$function_____(this)));
                  var m = s(v, "body", null),
                    x = s(v, "addToWorld", !0);
                  if (m) this.setBody(m, x);
                  else {
                    var g = f.getCollisionGroup(),
                      C = s(g, "objects", []);
                    C.length > 0
                      ? this.setFromTileCollision(v)
                      : this.setFromTileRectangle(v);
                  }
                  if (f.flipX || f.flipY) {
                    var T = { x: f.getCenterX(), y: f.getCenterY() },
                      F = f.flipX ? -1 : 1,
                      w = f.flipY ? -1 : 1;
                    c.scale(m, F, w, T);
                  }
                },
                setFromTileRectangle: function (h) {
                  (h === void 0 && (h = {}),
                    u(h, "isStatic") || (h.isStatic = !0),
                    u(h, "addToWorld") || (h.addToWorld = !0));
                  var l = this.tile.getBounds(),
                    f = l.x + l.width / 2,
                    v = l.y + l.height / 2,
                    m = A.rectangle(f, v, l.width, l.height, h);
                  return (
                    this.setBody(m, h.addToWorld),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setFromTileCollision: function (h) {
                  (h === void 0 && (h = {}),
                    u(h, "isStatic") || (h.isStatic = !0),
                    u(h, "addToWorld") || (h.addToWorld = !0));
                  for (
                    var l = this.tile.tilemapLayer.scaleX,
                      f = this.tile.tilemapLayer.scaleY,
                      v = this.tile.getLeft(),
                      m = this.tile.getTop(),
                      x = this.tile.getCollisionGroup(),
                      g = s(x, "objects", []),
                      C = [],
                      T = 0;
                    T < g.length;
                    T++
                  ) {
                    var F = g[T],
                      w = v + F.x * l,
                      U = m + F.y * f,
                      M = F.width * l,
                      I = F.height * f,
                      O = null;
                    if (F.rectangle)
                      O = A.rectangle(w + M / 2, U + I / 2, M, I, h);
                    else if (F.ellipse)
                      O = A.circle(w + M / 2, U + I / 2, M / 2, h);
                    else if (F.polygon || F.polyline) {
                      var D = F.polygon ? F.polygon : F.polyline,
                        G = D.map(function (N) {
                          return { x: N.x * l, y: N.y * f };
                        }),
                        X = i.create(G),
                        z = i.centre(X);
                      ((w += z.x),
                        (U += z.y),
                        (O = A.fromVertices(w, U, X, h)));
                    }
                    O && C.push(O);
                  }
                  if (C.length === 1) this.setBody(C[0], h.addToWorld);
                  else if (C.length > 1) {
                    var K = n(h);
                    ((K.parts = C), this.setBody(c.create(K), K.addToWorld));
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                setBody: function (h, l) {
                  return (
                    l === void 0 && (l = !0),
                    this.body && this.removeBody(),
                    (this.body = h),
                    (this.body.gameObject =
                      _____WB$wombat$check$this$function_____(this)),
                    l && this.world.add(this.body),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                removeBody: function () {
                  return (
                    this.body &&
                      (this.world.remove(this.body),
                      (this.body.gameObject = void 0),
                      (this.body = void 0)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                destroy: function () {
                  (this.removeBody(),
                    (this.tile.physics.matterBody = void 0),
                    this.removeAllListeners());
                },
              });
            d.exports = o;
          },
          10998: (d, y, t) => {
            /**
             * @author       Joachim Grill <joachim@codeandweb.com>
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2018 CodeAndWeb GmbH
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(68516),
              c = t(84125),
              a = t(68758),
              r = t(72632),
              n = t(39745),
              e = {
                parseBody: function (s, u, i, o) {
                  o === void 0 && (o = {});
                  for (
                    var h = r(i, "fixtures", []), l = [], f = 0;
                    f < h.length;
                    f++
                  )
                    for (
                      var v = this.parseFixture(h[f]), m = 0;
                      m < v.length;
                      m++
                    )
                      l.push(v[m]);
                  var x = a.clone(i, !0);
                  (a.extend(x, o, !0), delete x.fixtures, delete x.type);
                  var g = c.create(x);
                  return (
                    c.setParts(g, l),
                    c.setPosition(g, { x: s, y: u }),
                    g
                  );
                },
                parseFixture: function (s) {
                  var u = a.extend({}, !1, s);
                  (delete u.circle, delete u.vertices);
                  var i;
                  if (s.circle) {
                    var o = r(s.circle, "x"),
                      h = r(s.circle, "y"),
                      l = r(s.circle, "radius");
                    i = [A.circle(o, h, l, u)];
                  } else s.vertices && (i = this.parseVertices(s.vertices, u));
                  return i;
                },
                parseVertices: function (s, u) {
                  u === void 0 && (u = {});
                  for (var i = [], o = 0; o < s.length; o++)
                    (n.clockwiseSort(s[o]),
                      i.push(
                        c.create(
                          a.extend(
                            { position: n.centre(s[o]), vertices: s[o] },
                            u,
                          ),
                        ),
                      ));
                  return A.flagCoincidentParts(i);
                },
              };
            d.exports = e;
          },
          72829: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(68516),
              c = t(84125),
              a = {
                parseBody: function (r, n, e, s) {
                  s === void 0 && (s = {});
                  var u,
                    i = e.vertices;
                  if (i.length === 1)
                    ((s.vertices = i[0]),
                      (u = c.create(s)),
                      A.flagCoincidentParts(u.parts));
                  else {
                    for (var o = [], h = 0; h < i.length; h++) {
                      var l = c.create({ vertices: i[h] });
                      o.push(l);
                    }
                    (A.flagCoincidentParts(o),
                      (s.parts = o),
                      (u = c.create(s)));
                  }
                  return (
                    (u.label = e.label),
                    c.setPosition(u, { x: r, y: n }),
                    u
                  );
                },
              };
            d.exports = a;
          },
          88596: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(84091),
              c = t(56694),
              a = t(11299),
              r = t(52838),
              n = t(13657),
              e = t(35416),
              s = t(33963),
              u = t(30657),
              i = t(22806),
              o = t(93736),
              h = t(39745),
              l = new c({
                initialize: function (v, m, x) {
                  x === void 0 && (x = {});
                  var g = {
                    label: "Pointer Constraint",
                    pointA: { x: 0, y: 0 },
                    pointB: { x: 0, y: 0 },
                    length: 0.01,
                    stiffness: 0.1,
                    angularStiffness: 1,
                    collisionFilter: {
                      category: 1,
                      mask: 4294967295,
                      group: 0,
                    },
                  };
                  ((this.scene = v),
                    (this.world = m),
                    (this.camera = null),
                    (this.pointer = null),
                    (this.active = !0),
                    (this.position = new o()),
                    (this.body = null),
                    (this.part = null),
                    (this.constraint = r.create(u(x, g))),
                    this.world.on(
                      e.BEFORE_UPDATE,
                      this.update,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    v.sys.input.on(
                      s.POINTER_DOWN,
                      this.onDown,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    v.sys.input.on(
                      s.POINTER_UP,
                      this.onUp,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                onDown: function (f) {
                  this.pointer ||
                    ((this.pointer = f), (this.camera = f.camera));
                },
                onUp: function (f) {
                  f === this.pointer && (this.pointer = null);
                },
                getBody: function (f) {
                  var v = this.position,
                    m = this.constraint;
                  this.camera.getWorldPoint(f.x, f.y, v);
                  for (
                    var x = a.allBodies(this.world.localWorld), g = 0;
                    g < x.length;
                    g++
                  ) {
                    var C = x[g];
                    if (
                      !C.ignorePointer &&
                      A.contains(C.bounds, v) &&
                      n.canCollide(C.collisionFilter, m.collisionFilter) &&
                      this.hitTestBody(C, v)
                    )
                      return (
                        this.world.emit(
                          e.DRAG_START,
                          C,
                          this.part,
                          _____WB$wombat$check$this$function_____(this),
                        ),
                        !0
                      );
                  }
                  return !1;
                },
                hitTestBody: function (f, v) {
                  for (
                    var m = this.constraint,
                      x = f.parts.length,
                      g = x > 1 ? 1 : 0,
                      C = g;
                    C < x;
                    C++
                  ) {
                    var T = f.parts[C];
                    if (h.contains(T.vertices, v))
                      return (
                        (m.pointA = v),
                        (m.pointB = {
                          x: v.x - f.position.x,
                          y: v.y - f.position.y,
                        }),
                        (m.bodyB = f),
                        (m.angleB = f.angle),
                        i.set(f, !1),
                        (this.part = T),
                        (this.body = f),
                        !0
                      );
                  }
                  return !1;
                },
                update: function () {
                  var f = this.pointer,
                    v = this.body;
                  if (!this.active || !f) {
                    v && this.stopDrag();
                    return;
                  }
                  if (!f.isDown && v) {
                    this.stopDrag();
                    return;
                  } else if (f.isDown) {
                    if (!v && !this.getBody(f)) return;
                    v = this.body;
                    var m = this.position,
                      x = this.constraint;
                    (this.camera.getWorldPoint(f.x, f.y, m),
                      (x.pointA.x = m.x),
                      (x.pointA.y = m.y),
                      i.set(v, !1),
                      this.world.emit(
                        e.DRAG,
                        v,
                        _____WB$wombat$check$this$function_____(this),
                      ));
                  }
                },
                stopDrag: function () {
                  var f = this.body,
                    v = this.constraint;
                  ((v.bodyB = null),
                    (v.pointB = null),
                    (this.pointer = null),
                    (this.body = null),
                    (this.part = null),
                    f &&
                      this.world.emit(
                        e.DRAG_END,
                        f,
                        _____WB$wombat$check$this$function_____(this),
                      ));
                },
                destroy: function () {
                  (this.world.removeConstraint(this.constraint),
                    (this.pointer = null),
                    (this.constraint = null),
                    (this.body = null),
                    (this.part = null),
                    this.world.off(e.BEFORE_UPDATE, this.update),
                    this.scene.sys.input.off(
                      s.POINTER_DOWN,
                      this.onDown,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    this.scene.sys.input.off(
                      s.POINTER_UP,
                      this.onUp,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
              });
            d.exports = l;
          },
          31468: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(68516),
              c = t(84125),
              a = t(56694),
              r = t(68758),
              n = t(11299),
              e = t(45775),
              s = t(6659),
              u = t(35416),
              i = t(72632),
              o = t(10850),
              h = t(84125),
              l = t(39073),
              f = t(84720),
              v = t(72005),
              m = t(10438),
              x = new a({
                Extends: s,
                initialize: function (C, T) {
                  (s.call(this),
                    (this.scene = C),
                    (this.engine = e.create(T)),
                    (this.localWorld = this.engine.world));
                  var F = o(T, "gravity", null);
                  (F
                    ? this.setGravity(F.x, F.y, F.scale)
                    : F === !1 && this.setGravity(0, 0, 0),
                    (this.walls = {
                      left: null,
                      right: null,
                      top: null,
                      bottom: null,
                    }),
                    (this.enabled = o(T, "enabled", !0)),
                    (this.getDelta = o(T, "getDelta", this.update60Hz)));
                  var w = i(T, "runner", {}),
                    U = i(w, "fps", !1),
                    M = i(w, "fps", 60),
                    I = i(w, "delta", 1e3 / M),
                    O = i(w, "deltaMin", 1e3 / M),
                    D = i(w, "deltaMax", 1e3 / (M * 0.5));
                  (U || (M = 1e3 / I),
                    (this.runner = {
                      fps: M,
                      deltaSampleSize: i(w, "deltaSampleSize", 60),
                      counterTimestamp: 0,
                      frameCounter: 0,
                      deltaHistory: [],
                      timePrev: null,
                      timeScalePrev: 1,
                      frameRequestId: null,
                      isFixed: i(w, "isFixed", !1),
                      delta: I,
                      deltaMin: O,
                      deltaMax: D,
                    }),
                    (this.autoUpdate = o(T, "autoUpdate", !0)));
                  var G = o(T, "debug", !1);
                  if (
                    ((this.drawDebug = typeof G == "object" ? !0 : G),
                    this.debugGraphic,
                    (this.debugConfig = {
                      showAxes: i(G, "showAxes", !1),
                      showAngleIndicator: i(G, "showAngleIndicator", !1),
                      angleColor: i(G, "angleColor", 15208787),
                      showBroadphase: i(G, "showBroadphase", !1),
                      broadphaseColor: i(G, "broadphaseColor", 16757760),
                      showBounds: i(G, "showBounds", !1),
                      boundsColor: i(G, "boundsColor", 16777215),
                      showVelocity: i(G, "showVelocity", !1),
                      velocityColor: i(G, "velocityColor", 44783),
                      showCollisions: i(G, "showCollisions", !1),
                      collisionColor: i(G, "collisionColor", 16094476),
                      showSeparations: i(G, "showSeparations", !1),
                      separationColor: i(G, "separationColor", 16753920),
                      showBody: i(G, "showBody", !0),
                      showStaticBody: i(G, "showStaticBody", !0),
                      showInternalEdges: i(G, "showInternalEdges", !1),
                      renderFill: i(G, "renderFill", !1),
                      renderLine: i(G, "renderLine", !0),
                      fillColor: i(G, "fillColor", 1075465),
                      fillOpacity: i(G, "fillOpacity", 1),
                      lineColor: i(G, "lineColor", 2678297),
                      lineOpacity: i(G, "lineOpacity", 1),
                      lineThickness: i(G, "lineThickness", 1),
                      staticFillColor: i(G, "staticFillColor", 857979),
                      staticLineColor: i(G, "staticLineColor", 1255396),
                      showSleeping: i(G, "showSleeping", !1),
                      staticBodySleepOpacity: i(
                        G,
                        "staticBodySleepOpacity",
                        0.7,
                      ),
                      sleepFillColor: i(G, "sleepFillColor", 4605510),
                      sleepLineColor: i(G, "sleepLineColor", 10066585),
                      showSensors: i(G, "showSensors", !0),
                      sensorFillColor: i(G, "sensorFillColor", 857979),
                      sensorLineColor: i(G, "sensorLineColor", 1255396),
                      showPositions: i(G, "showPositions", !0),
                      positionSize: i(G, "positionSize", 4),
                      positionColor: i(G, "positionColor", 14697178),
                      showJoint: i(G, "showJoint", !0),
                      jointColor: i(G, "jointColor", 14737474),
                      jointLineOpacity: i(G, "jointLineOpacity", 1),
                      jointLineThickness: i(G, "jointLineThickness", 2),
                      pinSize: i(G, "pinSize", 4),
                      pinColor: i(G, "pinColor", 4382944),
                      springColor: i(G, "springColor", 14697184),
                      anchorColor: i(G, "anchorColor", 15724527),
                      anchorSize: i(G, "anchorSize", 4),
                      showConvexHulls: i(G, "showConvexHulls", !1),
                      hullColor: i(G, "hullColor", 14091216),
                    }),
                    this.drawDebug && this.createDebugGraphic(),
                    this.setEventsProxy(),
                    i(T, "setBounds", !1))
                  ) {
                    var X = T.setBounds;
                    if (typeof X == "boolean") this.setBounds();
                    else {
                      var z = i(X, "x", 0),
                        K = i(X, "y", 0),
                        N = i(X, "width", C.sys.scale.width),
                        b = i(X, "height", C.sys.scale.height),
                        R = i(X, "thickness", 64),
                        H = i(X, "left", !0),
                        Q = i(X, "right", !0),
                        V = i(X, "top", !0),
                        Y = i(X, "bottom", !0);
                      this.setBounds(z, K, N, b, R, H, Q, V, Y);
                    }
                  }
                },
                setCompositeRenderStyle: function (g) {
                  var C = g.bodies,
                    T = g.constraints,
                    F = g.composites,
                    w,
                    U,
                    M;
                  for (w = 0; w < C.length; w++)
                    ((U = C[w]),
                      (M = U.render),
                      this.setBodyRenderStyle(
                        U,
                        M.lineColor,
                        M.lineOpacity,
                        M.lineThickness,
                        M.fillColor,
                        M.fillOpacity,
                      ));
                  for (w = 0; w < T.length; w++)
                    ((U = T[w]),
                      (M = U.render),
                      this.setConstraintRenderStyle(
                        U,
                        M.lineColor,
                        M.lineOpacity,
                        M.lineThickness,
                        M.pinSize,
                        M.anchorColor,
                        M.anchorSize,
                      ));
                  for (w = 0; w < F.length; w++)
                    ((U = F[w]), this.setCompositeRenderStyle(U));
                  return _____WB$wombat$check$this$function_____(this);
                },
                setBodyRenderStyle: function (g, C, T, F, w, U) {
                  var M = g.render,
                    I = this.debugConfig;
                  return M
                    ? (C == null &&
                        (C = g.isStatic ? I.staticLineColor : I.lineColor),
                      T == null && (T = I.lineOpacity),
                      F == null && (F = I.lineThickness),
                      w == null &&
                        (w = g.isStatic ? I.staticFillColor : I.fillColor),
                      U == null && (U = I.fillOpacity),
                      C !== !1 && (M.lineColor = C),
                      T !== !1 && (M.lineOpacity = T),
                      F !== !1 && (M.lineThickness = F),
                      w !== !1 && (M.fillColor = w),
                      U !== !1 && (M.fillOpacity = U),
                      _____WB$wombat$check$this$function_____(this))
                    : this;
                },
                setConstraintRenderStyle: function (g, C, T, F, w, U, M) {
                  var I = g.render,
                    O = this.debugConfig;
                  if (!I) return _____WB$wombat$check$this$function_____(this);
                  if (C == null) {
                    var D = I.type;
                    D === "line"
                      ? (C = O.jointColor)
                      : D === "pin"
                        ? (C = O.pinColor)
                        : D === "spring" && (C = O.springColor);
                  }
                  return (
                    T == null && (T = O.jointLineOpacity),
                    F == null && (F = O.jointLineThickness),
                    w == null && (w = O.pinSize),
                    U == null && (U = O.anchorColor),
                    M == null && (M = O.anchorSize),
                    C !== !1 && (I.lineColor = C),
                    T !== !1 && (I.lineOpacity = T),
                    F !== !1 && (I.lineThickness = F),
                    w !== !1 && (I.pinSize = w),
                    U !== !1 && (I.anchorColor = U),
                    M !== !1 && (I.anchorSize = M),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setEventsProxy: function () {
                  var g = _____WB$wombat$check$this$function_____(this),
                    C = this.engine,
                    T = this.localWorld;
                  (this.drawDebug &&
                    (l.on(T, "compositeModified", function (F) {
                      g.setCompositeRenderStyle(F);
                    }),
                    l.on(T, "beforeAdd", function (F) {
                      for (
                        var w = [].concat(F.object), U = 0;
                        U < w.length;
                        U++
                      ) {
                        var M = w[U],
                          I = M.render;
                        M.type === "body"
                          ? g.setBodyRenderStyle(
                              M,
                              I.lineColor,
                              I.lineOpacity,
                              I.lineThickness,
                              I.fillColor,
                              I.fillOpacity,
                            )
                          : M.type === "composite"
                            ? g.setCompositeRenderStyle(M)
                            : M.type === "constraint" &&
                              g.setConstraintRenderStyle(
                                M,
                                I.lineColor,
                                I.lineOpacity,
                                I.lineThickness,
                                I.pinSize,
                                I.anchorColor,
                                I.anchorSize,
                              );
                      }
                    })),
                    l.on(T, "beforeAdd", function (F) {
                      g.emit(u.BEFORE_ADD, F);
                    }),
                    l.on(T, "afterAdd", function (F) {
                      g.emit(u.AFTER_ADD, F);
                    }),
                    l.on(T, "beforeRemove", function (F) {
                      g.emit(u.BEFORE_REMOVE, F);
                    }),
                    l.on(T, "afterRemove", function (F) {
                      g.emit(u.AFTER_REMOVE, F);
                    }),
                    l.on(C, "beforeUpdate", function (F) {
                      g.emit(u.BEFORE_UPDATE, F);
                    }),
                    l.on(C, "afterUpdate", function (F) {
                      g.emit(u.AFTER_UPDATE, F);
                    }),
                    l.on(C, "collisionStart", function (F) {
                      var w = F.pairs,
                        U,
                        M;
                      (w.length > 0 && ((U = w[0].bodyA), (M = w[0].bodyB)),
                        g.emit(u.COLLISION_START, F, U, M));
                    }),
                    l.on(C, "collisionActive", function (F) {
                      var w = F.pairs,
                        U,
                        M;
                      (w.length > 0 && ((U = w[0].bodyA), (M = w[0].bodyB)),
                        g.emit(u.COLLISION_ACTIVE, F, U, M));
                    }),
                    l.on(C, "collisionEnd", function (F) {
                      var w = F.pairs,
                        U,
                        M;
                      (w.length > 0 && ((U = w[0].bodyA), (M = w[0].bodyB)),
                        g.emit(u.COLLISION_END, F, U, M));
                    }));
                },
                setBounds: function (g, C, T, F, w, U, M, I, O) {
                  return (
                    g === void 0 && (g = 0),
                    C === void 0 && (C = 0),
                    T === void 0 && (T = this.scene.sys.scale.width),
                    F === void 0 && (F = this.scene.sys.scale.height),
                    w === void 0 && (w = 64),
                    U === void 0 && (U = !0),
                    M === void 0 && (M = !0),
                    I === void 0 && (I = !0),
                    O === void 0 && (O = !0),
                    this.updateWall(U, "left", g - w, C - w, w, F + w * 2),
                    this.updateWall(M, "right", g + T, C - w, w, F + w * 2),
                    this.updateWall(I, "top", g, C - w, T, w),
                    this.updateWall(O, "bottom", g, C + F, T, w),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                updateWall: function (g, C, T, F, w, U) {
                  var M = this.walls[C];
                  g
                    ? (M && v.remove(this.localWorld, M),
                      (T += w / 2),
                      (F += U / 2),
                      (this.walls[C] = this.create(T, F, w, U, {
                        isStatic: !0,
                        friction: 0,
                        frictionStatic: 0,
                      })))
                    : (M && v.remove(this.localWorld, M),
                      (this.walls[C] = null));
                },
                createDebugGraphic: function () {
                  var g = this.scene.sys.add.graphics({ x: 0, y: 0 });
                  return (
                    g.setDepth(Number.MAX_VALUE),
                    (this.debugGraphic = g),
                    (this.drawDebug = !0),
                    g
                  );
                },
                disableGravity: function () {
                  return (
                    (this.localWorld.gravity.x = 0),
                    (this.localWorld.gravity.y = 0),
                    (this.localWorld.gravity.scale = 0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setGravity: function (g, C, T) {
                  return (
                    g === void 0 && (g = 0),
                    C === void 0 && (C = 1),
                    T === void 0 && (T = 0.001),
                    (this.localWorld.gravity.x = g),
                    (this.localWorld.gravity.y = C),
                    (this.localWorld.gravity.scale = T),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                create: function (g, C, T, F, w) {
                  var U = A.rectangle(g, C, T, F, w);
                  return (v.add(this.localWorld, U), U);
                },
                add: function (g) {
                  return (
                    v.add(this.localWorld, g),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                remove: function (g, C) {
                  Array.isArray(g) || (g = [g]);
                  for (var T = 0; T < g.length; T++) {
                    var F = g[T],
                      w = F.body ? F.body : F;
                    n.remove(this.localWorld, w, C);
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                removeConstraint: function (g, C) {
                  return (
                    n.remove(this.localWorld, g, C),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                convertTilemapLayer: function (g, C) {
                  var T = g.layer,
                    F = g.getTilesWithin(0, 0, T.width, T.height, {
                      isColliding: !0,
                    });
                  return (
                    this.convertTiles(F, C),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                convertTiles: function (g, C) {
                  if (g.length === 0)
                    return _____WB$wombat$check$this$function_____(this);
                  for (var T = 0; T < g.length; T++) new f(this, g[T], C);
                  return _____WB$wombat$check$this$function_____(this);
                },
                nextGroup: function (g) {
                  return h.nextGroup(g);
                },
                nextCategory: function () {
                  return h.nextCategory();
                },
                pause: function () {
                  return (
                    (this.enabled = !1),
                    this.emit(u.PAUSE),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                resume: function () {
                  return (
                    (this.enabled = !0),
                    this.emit(u.RESUME),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                update: function (g, C) {
                  if (!(!this.enabled || !this.autoUpdate)) {
                    var T = this.engine,
                      F = this.runner,
                      w = T.timing;
                    (F.isFixed
                      ? (C = this.getDelta(g, C))
                      : ((C = g - F.timePrev || F.delta),
                        (F.timePrev = g),
                        F.deltaHistory.push(C),
                        (F.deltaHistory = F.deltaHistory.slice(
                          -F.deltaSampleSize,
                        )),
                        (C = Math.min.apply(null, F.deltaHistory)),
                        (C = C < F.deltaMin ? F.deltaMin : C),
                        (C = C > F.deltaMax ? F.deltaMax : C),
                        (F.delta = C)),
                      (F.timeScalePrev = w.timeScale),
                      (F.frameCounter += 1),
                      g - F.counterTimestamp >= 1e3 &&
                        ((F.fps =
                          F.frameCounter * ((g - F.counterTimestamp) / 1e3)),
                        (F.counterTimestamp = g),
                        (F.frameCounter = 0)),
                      e.update(T, C));
                  }
                },
                step: function (g) {
                  e.update(this.engine, g);
                },
                update60Hz: function () {
                  return 1e3 / 60;
                },
                update30Hz: function () {
                  return 1e3 / 30;
                },
                has: function (g) {
                  var C = g.hasOwnProperty("body") ? g.body : g;
                  return n.get(this.localWorld, C.id, C.type) !== null;
                },
                getAllBodies: function () {
                  return n.allBodies(this.localWorld);
                },
                getAllConstraints: function () {
                  return n.allConstraints(this.localWorld);
                },
                getAllComposites: function () {
                  return n.allComposites(this.localWorld);
                },
                postUpdate: function () {
                  if (this.drawDebug) {
                    var g = this.debugConfig,
                      C = this.engine,
                      T = this.debugGraphic,
                      F = n.allBodies(this.localWorld);
                    (this.debugGraphic.clear(),
                      g.showBroadphase &&
                        C.broadphase.controller &&
                        this.renderGrid(
                          C.broadphase,
                          T,
                          g.broadphaseColor,
                          0.5,
                        ),
                      g.showBounds &&
                        this.renderBodyBounds(F, T, g.boundsColor, 0.5),
                      (g.showBody || g.showStaticBody) && this.renderBodies(F),
                      g.showJoint && this.renderJoints(),
                      (g.showAxes || g.showAngleIndicator) &&
                        this.renderBodyAxes(
                          F,
                          T,
                          g.showAxes,
                          g.angleColor,
                          0.5,
                        ),
                      g.showVelocity &&
                        this.renderBodyVelocity(F, T, g.velocityColor, 1, 2),
                      g.showSeparations &&
                        this.renderSeparations(
                          C.pairs.list,
                          T,
                          g.separationColor,
                        ),
                      g.showCollisions &&
                        this.renderCollisions(
                          C.pairs.list,
                          T,
                          g.collisionColor,
                        ));
                  }
                },
                renderGrid: function (g, C, T, F) {
                  C.lineStyle(1, T, F);
                  for (var w = r.keys(g.buckets), U = 0; U < w.length; U++) {
                    var M = w[U];
                    if (!(g.buckets[M].length < 2)) {
                      var I = M.split(/C|R/);
                      C.strokeRect(
                        parseInt(I[1], 10) * g.bucketWidth,
                        parseInt(I[2], 10) * g.bucketHeight,
                        g.bucketWidth,
                        g.bucketHeight,
                      );
                    }
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                renderSeparations: function (g, C, T) {
                  C.lineStyle(1, T, 1);
                  for (var F = 0; F < g.length; F++) {
                    var w = g[F];
                    if (w.isActive) {
                      var U = w.collision,
                        M = U.bodyA,
                        I = U.bodyB,
                        O = M.position,
                        D = I.position,
                        G = U.penetration,
                        X = !M.isStatic && !I.isStatic ? 4 : 1;
                      (I.isStatic && (X = 0),
                        C.lineBetween(D.x, D.y, D.x - G.x * X, D.y - G.y * X),
                        (X = !M.isStatic && !I.isStatic ? 4 : 1),
                        M.isStatic && (X = 0),
                        C.lineBetween(O.x, O.y, O.x - G.x * X, O.y - G.y * X));
                    }
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                renderCollisions: function (g, C, T) {
                  (C.lineStyle(1, T, 0.5), C.fillStyle(T, 1));
                  var F, w;
                  for (F = 0; F < g.length; F++)
                    if (((w = g[F]), !!w.isActive))
                      for (var U = 0; U < w.activeContacts.length; U++) {
                        var M = w.activeContacts[U],
                          I = M.vertex;
                        C.fillRect(I.x - 2, I.y - 2, 5, 5);
                      }
                  for (F = 0; F < g.length; F++)
                    if (((w = g[F]), !!w.isActive)) {
                      var O = w.collision,
                        D = w.activeContacts;
                      if (D.length > 0) {
                        var G = D[0].vertex.x,
                          X = D[0].vertex.y;
                        (D.length === 2 &&
                          ((G = (D[0].vertex.x + D[1].vertex.x) / 2),
                          (X = (D[0].vertex.y + D[1].vertex.y) / 2)),
                          O.bodyB === O.supports[0].body || O.bodyA.isStatic
                            ? C.lineBetween(
                                G - O.normal.x * 8,
                                X - O.normal.y * 8,
                                G,
                                X,
                              )
                            : C.lineBetween(
                                G + O.normal.x * 8,
                                X + O.normal.y * 8,
                                G,
                                X,
                              ));
                      }
                    }
                  return _____WB$wombat$check$this$function_____(this);
                },
                renderBodyBounds: function (g, C, T, F) {
                  C.lineStyle(1, T, F);
                  for (var w = 0; w < g.length; w++) {
                    var U = g[w];
                    if (U.render.visible) {
                      var M = U.bounds;
                      if (M)
                        C.strokeRect(
                          M.min.x,
                          M.min.y,
                          M.max.x - M.min.x,
                          M.max.y - M.min.y,
                        );
                      else
                        for (
                          var I = U.parts, O = I.length > 1 ? 1 : 0;
                          O < I.length;
                          O++
                        ) {
                          var D = I[O];
                          C.strokeRect(
                            D.bounds.min.x,
                            D.bounds.min.y,
                            D.bounds.max.x - D.bounds.min.x,
                            D.bounds.max.y - D.bounds.min.y,
                          );
                        }
                    }
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                renderBodyAxes: function (g, C, T, F, w) {
                  C.lineStyle(1, F, w);
                  for (var U = 0; U < g.length; U++) {
                    var M = g[U],
                      I = M.parts;
                    if (M.render.visible) {
                      var O, D, G;
                      if (T)
                        for (D = I.length > 1 ? 1 : 0; D < I.length; D++)
                          for (O = I[D], G = 0; G < O.axes.length; G++) {
                            var X = O.axes[G];
                            C.lineBetween(
                              O.position.x,
                              O.position.y,
                              O.position.x + X.x * 20,
                              O.position.y + X.y * 20,
                            );
                          }
                      else
                        for (D = I.length > 1 ? 1 : 0; D < I.length; D++)
                          for (O = I[D], G = 0; G < O.axes.length; G++)
                            C.lineBetween(
                              O.position.x,
                              O.position.y,
                              (O.vertices[0].x +
                                O.vertices[O.vertices.length - 1].x) /
                                2,
                              (O.vertices[0].y +
                                O.vertices[O.vertices.length - 1].y) /
                                2,
                            );
                    }
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                renderBodyVelocity: function (g, C, T, F, w) {
                  C.lineStyle(w, T, F);
                  for (var U = 0; U < g.length; U++) {
                    var M = g[U];
                    M.render.visible &&
                      C.lineBetween(
                        M.position.x,
                        M.position.y,
                        M.position.x + (M.position.x - M.positionPrev.x) * 2,
                        M.position.y + (M.position.y - M.positionPrev.y) * 2,
                      );
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                renderBodies: function (g) {
                  for (
                    var C = this.debugGraphic,
                      T = this.debugConfig,
                      F = T.showBody,
                      w = T.showStaticBody,
                      U = T.showSleeping,
                      M = T.showInternalEdges,
                      I = T.showConvexHulls,
                      O = T.renderFill,
                      D = T.renderLine,
                      G = T.staticBodySleepOpacity,
                      X = T.sleepFillColor,
                      z = T.sleepLineColor,
                      K = T.hullColor,
                      N = 0;
                    N < g.length;
                    N++
                  ) {
                    var b = g[N];
                    if (
                      b.render.visible &&
                      !((!w && b.isStatic) || (!F && !b.isStatic))
                    ) {
                      var R = b.render.lineColor,
                        H = b.render.lineOpacity,
                        Q = b.render.lineThickness,
                        V = b.render.fillColor,
                        Y = b.render.fillOpacity;
                      (U &&
                        b.isSleeping &&
                        (b.isStatic
                          ? ((H *= G), (Y *= G))
                          : ((R = z), (V = X))),
                        O || (V = null),
                        D || (R = null),
                        this.renderBody(b, C, M, R, H, Q, V, Y));
                      var J = b.parts.length;
                      I && J > 1 && this.renderConvexHull(b, C, K, Q);
                    }
                  }
                },
                renderBody: function (g, C, T, F, w, U, M, I) {
                  (F === void 0 && (F = null),
                    w === void 0 && (w = null),
                    U === void 0 && (U = 1),
                    M === void 0 && (M = null),
                    I === void 0 && (I = null));
                  for (
                    var O = this.debugConfig,
                      D = O.sensorFillColor,
                      G = O.sensorLineColor,
                      X = g.parts,
                      z = X.length,
                      K = z > 1 ? 1 : 0;
                    K < z;
                    K++
                  ) {
                    var N = X[K],
                      b = N.render,
                      R = b.opacity;
                    if (
                      !(!b.visible || R === 0 || (N.isSensor && !O.showSensors))
                    ) {
                      var H = N.circleRadius;
                      if (
                        (C.beginPath(),
                        N.isSensor
                          ? (M !== null && C.fillStyle(D, I * R),
                            F !== null && C.lineStyle(U, G, w * R))
                          : (M !== null && C.fillStyle(M, I * R),
                            F !== null && C.lineStyle(U, F, w * R)),
                        H)
                      )
                        C.arc(N.position.x, N.position.y, H, 0, 2 * Math.PI);
                      else {
                        var Q = N.vertices,
                          V = Q.length;
                        C.moveTo(Q[0].x, Q[0].y);
                        for (var Y = 1; Y < V; Y++) {
                          var J = Q[Y];
                          if (
                            (!Q[Y - 1].isInternal || T
                              ? C.lineTo(J.x, J.y)
                              : C.moveTo(J.x, J.y),
                            Y < V && J.isInternal && !T)
                          ) {
                            var $ = (Y + 1) % V;
                            C.moveTo(Q[$].x, Q[$].y);
                          }
                        }
                        C.closePath();
                      }
                      (M !== null && C.fillPath(),
                        F !== null && C.strokePath());
                    }
                  }
                  if (O.showPositions && !g.isStatic) {
                    var W = g.position.x,
                      Z = g.position.y,
                      j = Math.ceil(O.positionSize / 2);
                    (C.fillStyle(O.positionColor, 1),
                      C.fillRect(W - j, Z - j, O.positionSize, O.positionSize));
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                renderConvexHull: function (g, C, T, F) {
                  F === void 0 && (F = 1);
                  var w = g.parts,
                    U = w.length;
                  if (U > 1) {
                    var M = g.vertices;
                    (C.lineStyle(F, T),
                      C.beginPath(),
                      C.moveTo(M[0].x, M[0].y));
                    for (var I = 1; I < M.length; I++) C.lineTo(M[I].x, M[I].y);
                    (C.lineTo(M[0].x, M[0].y), C.strokePath());
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                renderJoints: function () {
                  for (
                    var g = this.debugGraphic,
                      C = n.allConstraints(this.localWorld),
                      T = 0;
                    T < C.length;
                    T++
                  ) {
                    var F = C[T].render,
                      w = F.lineColor,
                      U = F.lineOpacity,
                      M = F.lineThickness,
                      I = F.pinSize,
                      O = F.anchorColor,
                      D = F.anchorSize;
                    this.renderConstraint(C[T], g, w, U, M, I, O, D);
                  }
                },
                renderConstraint: function (g, C, T, F, w, U, M, I) {
                  var O = g.render;
                  if (!O.visible || !g.pointA || !g.pointB)
                    return _____WB$wombat$check$this$function_____(this);
                  C.lineStyle(w, T, F);
                  var D = g.bodyA,
                    G = g.bodyB,
                    X,
                    z;
                  if (
                    (D ? (X = m.add(D.position, g.pointA)) : (X = g.pointA),
                    O.type === "pin")
                  )
                    C.strokeCircle(X.x, X.y, U);
                  else {
                    if (
                      (G ? (z = m.add(G.position, g.pointB)) : (z = g.pointB),
                      C.beginPath(),
                      C.moveTo(X.x, X.y),
                      O.type === "spring")
                    )
                      for (
                        var K = m.sub(z, X),
                          N = m.perp(m.normalise(K)),
                          b = Math.ceil(r.clamp(g.length / 5, 12, 20)),
                          R,
                          H = 1;
                        H < b;
                        H += 1
                      )
                        ((R = H % 2 === 0 ? 1 : -1),
                          C.lineTo(
                            X.x + K.x * (H / b) + N.x * R * 4,
                            X.y + K.y * (H / b) + N.y * R * 4,
                          ));
                    C.lineTo(z.x, z.y);
                  }
                  return (
                    C.strokePath(),
                    O.anchors &&
                      I > 0 &&
                      (C.fillStyle(M),
                      C.fillCircle(X.x, X.y, I),
                      C.fillCircle(z.x, z.y, I)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                resetCollisionIDs: function () {
                  return (
                    (c._nextCollidingGroupId = 1),
                    (c._nextNonCollidingGroupId = -1),
                    (c._nextCategory = 1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                shutdown: function () {
                  (l.off(this.engine),
                    this.removeAllListeners(),
                    v.clear(this.localWorld, !1),
                    e.clear(this.engine),
                    this.drawDebug && this.debugGraphic.destroy());
                },
                destroy: function () {
                  this.shutdown();
                },
              });
            d.exports = x;
          },
          95349: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              setBounce: function (t) {
                return (
                  (this.body.restitution = t),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
            };
            d.exports = y;
          },
          70679: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              setCollisionCategory: function (t) {
                return (
                  (this.body.collisionFilter.category = t),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setCollisionGroup: function (t) {
                return (
                  (this.body.collisionFilter.group = t),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setCollidesWith: function (t) {
                var A = 0;
                if (!Array.isArray(t)) A = t;
                else for (var c = 0; c < t.length; c++) A |= t[c];
                return (
                  (this.body.collisionFilter.mask = A),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setOnCollide: function (t) {
                return (
                  (this.body.onCollideCallback = t),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setOnCollideEnd: function (t) {
                return (
                  (this.body.onCollideEndCallback = t),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setOnCollideActive: function (t) {
                return (
                  (this.body.onCollideActiveCallback = t),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setOnCollideWith: function (t, A) {
                Array.isArray(t) || (t = [t]);
                for (var c = 0; c < t.length; c++) {
                  var a = t[c].hasOwnProperty("body") ? t[c].body : t[c];
                  this.body.setOnCollideWith(a, A);
                }
                return _____WB$wombat$check$this$function_____(this);
              },
            };
            d.exports = y;
          },
          77178: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(84125),
              c = {
                applyForce: function (a) {
                  return (
                    this._tempVec2.set(
                      this.body.position.x,
                      this.body.position.y,
                    ),
                    A.applyForce(this.body, this._tempVec2, a),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                applyForceFrom: function (a, r) {
                  return (
                    A.applyForce(this.body, a, r),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                thrust: function (a) {
                  var r = this.body.angle;
                  return (
                    this._tempVec2.set(a * Math.cos(r), a * Math.sin(r)),
                    A.applyForce(
                      this.body,
                      { x: this.body.position.x, y: this.body.position.y },
                      this._tempVec2,
                    ),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                thrustLeft: function (a) {
                  var r = this.body.angle - Math.PI / 2;
                  return (
                    this._tempVec2.set(a * Math.cos(r), a * Math.sin(r)),
                    A.applyForce(
                      this.body,
                      { x: this.body.position.x, y: this.body.position.y },
                      this._tempVec2,
                    ),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                thrustRight: function (a) {
                  var r = this.body.angle + Math.PI / 2;
                  return (
                    this._tempVec2.set(a * Math.cos(r), a * Math.sin(r)),
                    A.applyForce(
                      this.body,
                      { x: this.body.position.x, y: this.body.position.y },
                      this._tempVec2,
                    ),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                thrustBack: function (a) {
                  var r = this.body.angle - Math.PI;
                  return (
                    this._tempVec2.set(a * Math.cos(r), a * Math.sin(r)),
                    A.applyForce(
                      this.body,
                      { x: this.body.position.x, y: this.body.position.y },
                      this._tempVec2,
                    ),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
              };
            d.exports = c;
          },
          74015: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              setFriction: function (t, A, c) {
                return (
                  (this.body.friction = t),
                  A !== void 0 && (this.body.frictionAir = A),
                  c !== void 0 && (this.body.frictionStatic = c),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setFrictionAir: function (t) {
                return (
                  (this.body.frictionAir = t),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              setFrictionStatic: function (t) {
                return (
                  (this.body.frictionStatic = t),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
            };
            d.exports = y;
          },
          11535: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              setIgnoreGravity: function (t) {
                return (
                  (this.body.ignoreGravity = t),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
            };
            d.exports = y;
          },
          74497: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(84125),
              c = t(93736),
              a = {
                setMass: function (r) {
                  return (
                    A.setMass(this.body, r),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setDensity: function (r) {
                  return (
                    A.setDensity(this.body, r),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                centerOfMass: {
                  get: function () {
                    return new c(
                      this.body.centerOfMass.x,
                      this.body.centerOfMass.y,
                    );
                  },
                },
              };
            d.exports = a;
          },
          75529: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              setSensor: function (t) {
                return (
                  (this.body.isSensor = t),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              isSensor: function () {
                return this.body.isSensor;
              },
            };
            d.exports = y;
          },
          64024: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(68516),
              c = t(84125),
              a = t(88456),
              r = t(72632),
              n = t(10998),
              e = t(72829),
              s = t(39745),
              u = {
                setRectangle: function (i, o, h) {
                  return this.setBody(
                    { type: "rectangle", width: i, height: o },
                    h,
                  );
                },
                setCircle: function (i, o) {
                  return this.setBody({ type: "circle", radius: i }, o);
                },
                setPolygon: function (i, o, h) {
                  return this.setBody(
                    { type: "polygon", sides: o, radius: i },
                    h,
                  );
                },
                setTrapezoid: function (i, o, h, l) {
                  return this.setBody(
                    { type: "trapezoid", width: i, height: o, slope: h },
                    l,
                  );
                },
                setExistingBody: function (i, o) {
                  (o === void 0 && (o = !0),
                    this.body && this.world.remove(this.body, !0),
                    (this.body = i));
                  for (var h = 0; h < i.parts.length; h++)
                    i.parts[h].gameObject =
                      _____WB$wombat$check$this$function_____(this);
                  var l = _____WB$wombat$check$this$function_____(this);
                  if (
                    ((i.destroy = function () {
                      (l.world.remove(l.body, !0), (l.body.gameObject = null));
                    }),
                    o &&
                      (this.world.has(i) && this.world.remove(i, !0),
                      this.world.add(i)),
                    this._originComponent)
                  ) {
                    var f = i.render.sprite.xOffset,
                      v = i.render.sprite.yOffset,
                      m = i.centerOfMass.x,
                      x = i.centerOfMass.y;
                    if (a(m, 0.5) && a(x, 0.5))
                      this.setOrigin(f + 0.5, v + 0.5);
                    else {
                      var g = i.centerOffset.x,
                        C = i.centerOffset.y;
                      this.setOrigin(
                        f + g / this.displayWidth,
                        v + C / this.displayHeight,
                      );
                    }
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                setBody: function (i, o) {
                  if (!i) return _____WB$wombat$check$this$function_____(this);
                  var h;
                  typeof i == "string" && (i = { type: i });
                  var l = r(i, "type", "rectangle"),
                    f = r(i, "x", this._tempVec2.x),
                    v = r(i, "y", this._tempVec2.y),
                    m = r(i, "width", this.width),
                    x = r(i, "height", this.height);
                  switch (l) {
                    case "rectangle":
                      h = A.rectangle(f, v, m, x, o);
                      break;
                    case "circle":
                      var g = r(i, "radius", Math.max(m, x) / 2),
                        C = r(i, "maxSides", 25);
                      h = A.circle(f, v, g, o, C);
                      break;
                    case "trapezoid":
                      var T = r(i, "slope", 0.5);
                      h = A.trapezoid(f, v, m, x, T, o);
                      break;
                    case "polygon":
                      var F = r(i, "sides", 5),
                        w = r(i, "radius", Math.max(m, x) / 2);
                      h = A.polygon(f, v, F, w, o);
                      break;
                    case "fromVertices":
                    case "fromVerts":
                      var U = r(i, "verts", null);
                      if (U)
                        if (
                          (typeof U == "string" && (U = s.fromPath(U)),
                          this.body && !this.body.hasOwnProperty("temp"))
                        )
                          (c.setVertices(this.body, U), (h = this.body));
                        else {
                          var M = r(i, "flagInternal", !1),
                            I = r(i, "removeCollinear", 0.01),
                            O = r(i, "minimumArea", 10);
                          h = A.fromVertices(f, v, U, o, M, I, O);
                        }
                      break;
                    case "fromPhysicsEditor":
                      h = n.parseBody(f, v, i, o);
                      break;
                    case "fromPhysicsTracer":
                      h = e.parseBody(f, v, i, o);
                      break;
                  }
                  return (
                    h && this.setExistingBody(h, i.addToWorld),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
              };
            d.exports = u;
          },
          25106: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(35416),
              c = t(22806),
              a = t(39073),
              r = {
                setToSleep: function () {
                  return (
                    c.set(this.body, !0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setAwake: function () {
                  return (
                    c.set(this.body, !1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setSleepThreshold: function (n) {
                  return (
                    n === void 0 && (n = 60),
                    (this.body.sleepThreshold = n),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setSleepEvents: function (n, e) {
                  return (
                    this.setSleepStartEvent(n),
                    this.setSleepEndEvent(e),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setSleepStartEvent: function (n) {
                  if (n) {
                    var e = this.world;
                    a.on(this.body, "sleepStart", function (s) {
                      e.emit(
                        A.SLEEP_START,
                        s,
                        _____WB$wombat$check$this$function_____(this),
                      );
                    });
                  } else a.off(this.body, "sleepStart");
                  return _____WB$wombat$check$this$function_____(this);
                },
                setSleepEndEvent: function (n) {
                  if (n) {
                    var e = this.world;
                    a.on(this.body, "sleepEnd", function (s) {
                      e.emit(
                        A.SLEEP_END,
                        s,
                        _____WB$wombat$check$this$function_____(this),
                      );
                    });
                  } else a.off(this.body, "sleepEnd");
                  return _____WB$wombat$check$this$function_____(this);
                },
              };
            d.exports = r;
          },
          82884: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(84125),
              c = {
                setStatic: function (a) {
                  return (
                    A.setStatic(this.body, a),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                isStatic: function () {
                  return this.body.isStatic;
                },
              };
            d.exports = c;
          },
          4753: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(84125),
              c = t(83392),
              a = t(35786),
              r = t(62138),
              n = 4,
              e = {
                x: {
                  get: function () {
                    return this.body.position.x;
                  },
                  set: function (s) {
                    (this._tempVec2.set(s, this.y),
                      A.setPosition(this.body, this._tempVec2));
                  },
                },
                y: {
                  get: function () {
                    return this.body.position.y;
                  },
                  set: function (s) {
                    (this._tempVec2.set(this.x, s),
                      A.setPosition(this.body, this._tempVec2));
                  },
                },
                scaleX: {
                  get: function () {
                    return this._scaleX;
                  },
                  set: function (s) {
                    var u = 1 / this._scaleX,
                      i = 1 / this._scaleY;
                    ((this._scaleX = s),
                      this._scaleX === 0
                        ? (this.renderFlags &= ~n)
                        : (this.renderFlags |= n),
                      A.scale(this.body, u, i),
                      A.scale(this.body, s, this._scaleY));
                  },
                },
                scaleY: {
                  get: function () {
                    return this._scaleY;
                  },
                  set: function (s) {
                    var u = 1 / this._scaleX,
                      i = 1 / this._scaleY;
                    ((this._scaleY = s),
                      this._scaleY === 0
                        ? (this.renderFlags &= ~n)
                        : (this.renderFlags |= n),
                      A.scale(this.body, u, i),
                      A.scale(this.body, this._scaleX, s));
                  },
                },
                angle: {
                  get: function () {
                    return r(this.body.angle * c.RAD_TO_DEG);
                  },
                  set: function (s) {
                    this.rotation = r(s) * c.DEG_TO_RAD;
                  },
                },
                rotation: {
                  get: function () {
                    return this.body.angle;
                  },
                  set: function (s) {
                    ((this._rotation = a(s)),
                      A.setAngle(this.body, this._rotation));
                  },
                },
                setPosition: function (s, u) {
                  return (
                    s === void 0 && (s = 0),
                    u === void 0 && (u = s),
                    this._tempVec2.set(s, u),
                    A.setPosition(this.body, this._tempVec2),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setRotation: function (s) {
                  return (
                    s === void 0 && (s = 0),
                    (this._rotation = a(s)),
                    A.setAngle(this.body, s),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setFixedRotation: function () {
                  return (
                    A.setInertia(this.body, 1 / 0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setAngle: function (s) {
                  return (
                    s === void 0 && (s = 0),
                    (this.angle = s),
                    A.setAngle(this.body, this.rotation),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setScale: function (s, u, i) {
                  (s === void 0 && (s = 1), u === void 0 && (u = s));
                  var o = 1 / this._scaleX,
                    h = 1 / this._scaleY;
                  return (
                    (this._scaleX = s),
                    (this._scaleY = u),
                    A.scale(this.body, o, h, i),
                    A.scale(this.body, s, u, i),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
              };
            d.exports = e;
          },
          37268: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(84125),
              c = {
                setVelocityX: function (a) {
                  return (
                    this._tempVec2.set(a, this.body.velocity.y),
                    A.setVelocity(this.body, this._tempVec2),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setVelocityY: function (a) {
                  return (
                    this._tempVec2.set(this.body.velocity.x, a),
                    A.setVelocity(this.body, this._tempVec2),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setVelocity: function (a, r) {
                  return (
                    this._tempVec2.set(a, r),
                    A.setVelocity(this.body, this._tempVec2),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getVelocity: function () {
                  return A.getVelocity(this.body);
                },
                setAngularVelocity: function (a) {
                  return (
                    A.setAngularVelocity(this.body, a),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getAngularVelocity: function () {
                  return A.getAngularVelocity(this.body);
                },
                setAngularSpeed: function (a) {
                  return (
                    A.setAngularSpeed(this.body, a),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getAngularSpeed: function () {
                  return A.getAngularSpeed(this.body);
                },
              };
            d.exports = c;
          },
          74527: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              Bounce: t(95349),
              Collision: t(70679),
              Force: t(77178),
              Friction: t(74015),
              Gravity: t(11535),
              Mass: t(74497),
              Sensor: t(75529),
              SetBody: t(64024),
              Sleep: t(25106),
              Static: t(82884),
              Transform: t(4753),
              Velocity: t(37268),
            };
          },
          63201: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "afteradd";
          },
          30474: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "afterremove";
          },
          44822: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "afterupdate";
          },
          88820: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "beforeadd";
          },
          94849: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "beforeremove";
          },
          6391: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "beforeupdate";
          },
          96738: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "collisionactive";
          },
          7916: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "collisionend";
          },
          59529: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "collisionstart";
          },
          10219: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "dragend";
          },
          183: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "drag";
          },
          39143: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "dragstart";
          },
          16483: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "pause";
          },
          35806: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "resume";
          },
          22106: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "sleepend";
          },
          5803: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "sleepstart";
          },
          35416: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              AFTER_ADD: t(63201),
              AFTER_REMOVE: t(30474),
              AFTER_UPDATE: t(44822),
              BEFORE_ADD: t(88820),
              BEFORE_REMOVE: t(94849),
              BEFORE_UPDATE: t(6391),
              COLLISION_ACTIVE: t(96738),
              COLLISION_END: t(7916),
              COLLISION_START: t(59529),
              DRAG_END: t(10219),
              DRAG: t(183),
              DRAG_START: t(39143),
              PAUSE: t(16483),
              RESUME: t(35806),
              SLEEP_END: t(22106),
              SLEEP_START: t(5803),
            };
          },
          45949: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              BodyBounds: t(63568),
              Components: t(74527),
              Events: t(35416),
              Factory: t(72653),
              MatterGameObject: t(3860),
              Image: t(7030),
              Matter: t(18171),
              MatterPhysics: t(50583),
              PolyDecomp: t(81084),
              Sprite: t(73658),
              TileBody: t(84720),
              PhysicsEditorParser: t(10998),
              PhysicsJSONParser: t(72829),
              PointerConstraint: t(88596),
              World: t(31468),
            };
          },
          84125: (d, y, t) => {
            var A = {};
            d.exports = A;
            var c = t(39745),
              a = t(10438),
              r = t(22806),
              n = t(68758),
              e = t(84091),
              s = t(50658);
            (function () {
              ((A._timeCorrection = !0),
                (A._inertiaScale = 4),
                (A._nextCollidingGroupId = 1),
                (A._nextNonCollidingGroupId = -1),
                (A._nextCategory = 1),
                (A._baseDelta = 16.666666666666668),
                (A.create = function (i) {
                  var o = {
                    id: n.nextId(),
                    type: "body",
                    label: "Body",
                    parts: [],
                    plugin: {},
                    angle: 0,
                    vertices: null,
                    position: { x: 0, y: 0 },
                    force: { x: 0, y: 0 },
                    torque: 0,
                    positionImpulse: { x: 0, y: 0 },
                    constraintImpulse: { x: 0, y: 0, angle: 0 },
                    totalContacts: 0,
                    speed: 0,
                    angularSpeed: 0,
                    velocity: { x: 0, y: 0 },
                    angularVelocity: 0,
                    isSensor: !1,
                    isStatic: !1,
                    isSleeping: !1,
                    motion: 0,
                    sleepThreshold: 60,
                    density: 0.001,
                    restitution: 0,
                    friction: 0.1,
                    frictionStatic: 0.5,
                    frictionAir: 0.01,
                    collisionFilter: {
                      category: 1,
                      mask: 4294967295,
                      group: 0,
                    },
                    slop: 0.05,
                    timeScale: 1,
                    events: null,
                    bounds: null,
                    chamfer: null,
                    circleRadius: 0,
                    positionPrev: null,
                    anglePrev: 0,
                    parent: null,
                    axes: null,
                    area: 0,
                    mass: 0,
                    inverseMass: 0,
                    inertia: 0,
                    deltaTime: 16.666666666666668,
                    inverseInertia: 0,
                    _original: null,
                    render: {
                      visible: !0,
                      opacity: 1,
                      sprite: { xOffset: 0, yOffset: 0 },
                      fillColor: null,
                      fillOpacity: null,
                      lineColor: null,
                      lineOpacity: null,
                      lineThickness: null,
                    },
                    gameObject: null,
                    scale: { x: 1, y: 1 },
                    centerOfMass: { x: 0, y: 0 },
                    centerOffset: { x: 0, y: 0 },
                    gravityScale: { x: 1, y: 1 },
                    ignoreGravity: !1,
                    ignorePointer: !1,
                    onCollideCallback: null,
                    onCollideEndCallback: null,
                    onCollideActiveCallback: null,
                    onCollideWith: {},
                  };
                  !i.hasOwnProperty("position") && i.hasOwnProperty("vertices")
                    ? (i.position = c.centre(i.vertices))
                    : i.hasOwnProperty("vertices") ||
                      (o.vertices = c.fromPath("L 0 0 L 40 0 L 40 40 L 0 40"));
                  var h = n.extend(o, i);
                  return (
                    u(h, i),
                    (h.setOnCollideWith = function (l, f) {
                      return (
                        f
                          ? (this.onCollideWith[l.id] = f)
                          : delete this.onCollideWith[l.id],
                        _____WB$wombat$check$this$function_____(this)
                      );
                    }),
                    h
                  );
                }),
                (A.nextGroup = function (i) {
                  return i
                    ? A._nextNonCollidingGroupId--
                    : A._nextCollidingGroupId++;
                }),
                (A.nextCategory = function () {
                  return (
                    (A._nextCategory = A._nextCategory << 1),
                    A._nextCategory
                  );
                }));
              var u = function (i, o) {
                if (
                  ((o = o || {}),
                  A.set(i, {
                    bounds: i.bounds || e.create(i.vertices),
                    positionPrev: i.positionPrev || a.clone(i.position),
                    anglePrev: i.anglePrev || i.angle,
                    vertices: i.vertices,
                    parts: i.parts || [i],
                    isStatic: i.isStatic,
                    isSleeping: i.isSleeping,
                    parent: i.parent || i,
                  }),
                  c.rotate(i.vertices, i.angle, i.position),
                  s.rotate(i.axes, i.angle),
                  e.update(i.bounds, i.vertices, i.velocity),
                  A.set(i, {
                    axes: o.axes || i.axes,
                    area: o.area || i.area,
                    mass: o.mass || i.mass,
                    inertia: o.inertia || i.inertia,
                  }),
                  i.parts.length === 1)
                ) {
                  var h = i.bounds,
                    l = i.centerOfMass,
                    f = i.centerOffset,
                    v = h.max.x - h.min.x,
                    m = h.max.y - h.min.y;
                  ((l.x = -(h.min.x - i.position.x) / v),
                    (l.y = -(h.min.y - i.position.y) / m),
                    (f.x = v * l.x),
                    (f.y = m * l.y));
                }
              };
              ((A.set = function (i, o, h) {
                var l;
                typeof o == "string" && ((l = o), (o = {}), (o[l] = h));
                for (l in o)
                  if (Object.prototype.hasOwnProperty.call(o, l))
                    switch (((h = o[l]), l)) {
                      case "isStatic":
                        A.setStatic(i, h);
                        break;
                      case "isSleeping":
                        r.set(i, h);
                        break;
                      case "mass":
                        A.setMass(i, h);
                        break;
                      case "density":
                        A.setDensity(i, h);
                        break;
                      case "inertia":
                        A.setInertia(i, h);
                        break;
                      case "vertices":
                        A.setVertices(i, h);
                        break;
                      case "position":
                        A.setPosition(i, h);
                        break;
                      case "angle":
                        A.setAngle(i, h);
                        break;
                      case "velocity":
                        A.setVelocity(i, h);
                        break;
                      case "angularVelocity":
                        A.setAngularVelocity(i, h);
                        break;
                      case "speed":
                        A.setSpeed(i, h);
                        break;
                      case "angularSpeed":
                        A.setAngularSpeed(i, h);
                        break;
                      case "parts":
                        A.setParts(i, h);
                        break;
                      case "centre":
                        A.setCentre(i, h);
                        break;
                      default:
                        i[l] = h;
                    }
              }),
                (A.setStatic = function (i, o) {
                  for (var h = 0; h < i.parts.length; h++) {
                    var l = i.parts[h];
                    (o
                      ? (l.isStatic ||
                          (l._original = {
                            restitution: l.restitution,
                            friction: l.friction,
                            mass: l.mass,
                            inertia: l.inertia,
                            density: l.density,
                            inverseMass: l.inverseMass,
                            inverseInertia: l.inverseInertia,
                          }),
                        (l.restitution = 0),
                        (l.friction = 1),
                        (l.mass = l.inertia = l.density = 1 / 0),
                        (l.inverseMass = l.inverseInertia = 0),
                        (l.positionPrev.x = l.position.x),
                        (l.positionPrev.y = l.position.y),
                        (l.anglePrev = l.angle),
                        (l.angularVelocity = 0),
                        (l.speed = 0),
                        (l.angularSpeed = 0),
                        (l.motion = 0))
                      : l._original &&
                        ((l.restitution = l._original.restitution),
                        (l.friction = l._original.friction),
                        (l.mass = l._original.mass),
                        (l.inertia = l._original.inertia),
                        (l.density = l._original.density),
                        (l.inverseMass = l._original.inverseMass),
                        (l.inverseInertia = l._original.inverseInertia),
                        (l._original = null)),
                      (l.isStatic = o));
                  }
                }),
                (A.setMass = function (i, o) {
                  var h = i.inertia / (i.mass / 6);
                  ((i.inertia = h * (o / 6)),
                    (i.inverseInertia = 1 / i.inertia),
                    (i.mass = o),
                    (i.inverseMass = 1 / i.mass),
                    (i.density = i.mass / i.area));
                }),
                (A.setDensity = function (i, o) {
                  (A.setMass(i, o * i.area), (i.density = o));
                }),
                (A.setInertia = function (i, o) {
                  ((i.inertia = o), (i.inverseInertia = 1 / i.inertia));
                }),
                (A.setVertices = function (i, o) {
                  (o[0].body === i
                    ? (i.vertices = o)
                    : (i.vertices = c.create(o, i)),
                    (i.axes = s.fromVertices(i.vertices)),
                    (i.area = c.area(i.vertices)),
                    A.setMass(i, i.density * i.area));
                  var h = c.centre(i.vertices);
                  (c.translate(i.vertices, h, -1),
                    A.setInertia(
                      i,
                      A._inertiaScale * c.inertia(i.vertices, i.mass),
                    ),
                    c.translate(i.vertices, i.position),
                    e.update(i.bounds, i.vertices, i.velocity));
                }),
                (A.setParts = function (i, o, h) {
                  var l;
                  for (
                    o = o.slice(0),
                      i.parts.length = 0,
                      i.parts.push(i),
                      i.parent = i,
                      l = 0;
                    l < o.length;
                    l++
                  ) {
                    var f = o[l];
                    f !== i && ((f.parent = i), i.parts.push(f));
                  }
                  if (i.parts.length !== 1) {
                    if (((h = typeof h < "u" ? h : !0), h)) {
                      var v = [];
                      for (l = 0; l < o.length; l++)
                        v = v.concat(o[l].vertices);
                      c.clockwiseSort(v);
                      var m = c.hull(v),
                        x = c.centre(m);
                      (A.setVertices(i, m), c.translate(i.vertices, x));
                    }
                    var g = A._totalProperties(i),
                      C = g.centre.x,
                      T = g.centre.y,
                      F = i.bounds,
                      w = i.centerOfMass,
                      U = i.centerOffset;
                    (e.update(F, i.vertices, i.velocity),
                      (w.x = -(F.min.x - C) / (F.max.x - F.min.x)),
                      (w.y = -(F.min.y - T) / (F.max.y - F.min.y)),
                      (U.x = C),
                      (U.y = T),
                      (i.area = g.area),
                      (i.parent = i),
                      (i.position.x = C),
                      (i.position.y = T),
                      (i.positionPrev.x = C),
                      (i.positionPrev.y = T),
                      A.setMass(i, g.mass),
                      A.setInertia(i, g.inertia),
                      A.setPosition(i, g.centre));
                  }
                }),
                (A.setCentre = function (i, o, h) {
                  h
                    ? ((i.positionPrev.x += o.x),
                      (i.positionPrev.y += o.y),
                      (i.position.x += o.x),
                      (i.position.y += o.y))
                    : ((i.positionPrev.x =
                        o.x - (i.position.x - i.positionPrev.x)),
                      (i.positionPrev.y =
                        o.y - (i.position.y - i.positionPrev.y)),
                      (i.position.x = o.x),
                      (i.position.y = o.y));
                }),
                (A.setPosition = function (i, o, h) {
                  var l = a.sub(o, i.position);
                  h
                    ? ((i.positionPrev.x = i.position.x),
                      (i.positionPrev.y = i.position.y),
                      (i.velocity.x = l.x),
                      (i.velocity.y = l.y),
                      (i.speed = a.magnitude(l)))
                    : ((i.positionPrev.x += l.x), (i.positionPrev.y += l.y));
                  for (var f = 0; f < i.parts.length; f++) {
                    var v = i.parts[f];
                    ((v.position.x += l.x),
                      (v.position.y += l.y),
                      c.translate(v.vertices, l),
                      e.update(v.bounds, v.vertices, i.velocity));
                  }
                }),
                (A.setAngle = function (i, o, h) {
                  var l = o - i.angle;
                  h
                    ? ((i.anglePrev = i.angle),
                      (i.angularVelocity = l),
                      (i.angularSpeed = Math.abs(l)))
                    : (i.anglePrev += l);
                  for (var f = 0; f < i.parts.length; f++) {
                    var v = i.parts[f];
                    ((v.angle += l),
                      c.rotate(v.vertices, l, i.position),
                      s.rotate(v.axes, l),
                      e.update(v.bounds, v.vertices, i.velocity),
                      f > 0 &&
                        a.rotateAbout(v.position, l, i.position, v.position));
                  }
                }),
                (A.setVelocity = function (i, o) {
                  var h = i.deltaTime / A._baseDelta;
                  ((i.positionPrev.x = i.position.x - o.x * h),
                    (i.positionPrev.y = i.position.y - o.y * h),
                    (i.velocity.x = (i.position.x - i.positionPrev.x) / h),
                    (i.velocity.y = (i.position.y - i.positionPrev.y) / h),
                    (i.speed = a.magnitude(i.velocity)));
                }),
                (A.getVelocity = function (i) {
                  var o = A._baseDelta / i.deltaTime;
                  return {
                    x: (i.position.x - i.positionPrev.x) * o,
                    y: (i.position.y - i.positionPrev.y) * o,
                  };
                }),
                (A.getSpeed = function (i) {
                  return a.magnitude(A.getVelocity(i));
                }),
                (A.setSpeed = function (i, o) {
                  A.setVelocity(i, a.mult(a.normalise(A.getVelocity(i)), o));
                }),
                (A.setAngularVelocity = function (i, o) {
                  var h = i.deltaTime / A._baseDelta;
                  ((i.anglePrev = i.angle - o * h),
                    (i.angularVelocity = (i.angle - i.anglePrev) / h),
                    (i.angularSpeed = Math.abs(i.angularVelocity)));
                }),
                (A.getAngularVelocity = function (i) {
                  return ((i.angle - i.anglePrev) * A._baseDelta) / i.deltaTime;
                }),
                (A.getAngularSpeed = function (i) {
                  return Math.abs(A.getAngularVelocity(i));
                }),
                (A.setAngularSpeed = function (i, o) {
                  A.setAngularVelocity(i, n.sign(A.getAngularVelocity(i)) * o);
                }),
                (A.translate = function (i, o, h) {
                  A.setPosition(i, a.add(i.position, o), h);
                }),
                (A.rotate = function (i, o, h, l) {
                  if (!h) A.setAngle(i, i.angle + o, l);
                  else {
                    var f = Math.cos(o),
                      v = Math.sin(o),
                      m = i.position.x - h.x,
                      x = i.position.y - h.y;
                    (A.setPosition(
                      i,
                      { x: h.x + (m * f - x * v), y: h.y + (m * v + x * f) },
                      l,
                    ),
                      A.setAngle(i, i.angle + o, l));
                  }
                }),
                (A.scale = function (i, o, h, l) {
                  var f = 0,
                    v = 0;
                  l = l || i.position;
                  for (var m = 0; m < i.parts.length; m++) {
                    var x = i.parts[m];
                    ((x.scale.x = o),
                      (x.scale.y = h),
                      c.scale(x.vertices, o, h, l),
                      (x.axes = s.fromVertices(x.vertices)),
                      (x.area = c.area(x.vertices)),
                      A.setMass(x, i.density * x.area),
                      c.translate(x.vertices, {
                        x: -x.position.x,
                        y: -x.position.y,
                      }),
                      A.setInertia(
                        x,
                        A._inertiaScale * c.inertia(x.vertices, x.mass),
                      ),
                      c.translate(x.vertices, {
                        x: x.position.x,
                        y: x.position.y,
                      }),
                      m > 0 && ((f += x.area), (v += x.inertia)),
                      (x.position.x = l.x + (x.position.x - l.x) * o),
                      (x.position.y = l.y + (x.position.y - l.y) * h),
                      e.update(x.bounds, x.vertices, i.velocity));
                  }
                  (i.parts.length > 1 &&
                    ((i.area = f),
                    i.isStatic ||
                      (A.setMass(i, i.density * f), A.setInertia(i, v))),
                    i.circleRadius &&
                      (o === h
                        ? (i.circleRadius *= o)
                        : (i.circleRadius = null)));
                }),
                (A.update = function (i, o) {
                  o = (typeof o < "u" ? o : 16.666666666666668) * i.timeScale;
                  var h = o * o,
                    l = A._timeCorrection ? o / (i.deltaTime || o) : 1,
                    f = 1 - i.frictionAir * (o / n._baseDelta),
                    v = (i.position.x - i.positionPrev.x) * l,
                    m = (i.position.y - i.positionPrev.y) * l;
                  ((i.velocity.x = v * f + (i.force.x / i.mass) * h),
                    (i.velocity.y = m * f + (i.force.y / i.mass) * h),
                    (i.positionPrev.x = i.position.x),
                    (i.positionPrev.y = i.position.y),
                    (i.position.x += i.velocity.x),
                    (i.position.y += i.velocity.y),
                    (i.deltaTime = o),
                    (i.angularVelocity =
                      (i.angle - i.anglePrev) * f * l +
                      (i.torque / i.inertia) * h),
                    (i.anglePrev = i.angle),
                    (i.angle += i.angularVelocity),
                    (i.speed = a.magnitude(i.velocity)),
                    (i.angularSpeed = Math.abs(i.angularVelocity)));
                  for (var x = 0; x < i.parts.length; x++) {
                    var g = i.parts[x];
                    (c.translate(g.vertices, i.velocity),
                      x > 0 &&
                        ((g.position.x += i.velocity.x),
                        (g.position.y += i.velocity.y)),
                      i.angularVelocity !== 0 &&
                        (c.rotate(g.vertices, i.angularVelocity, i.position),
                        s.rotate(g.axes, i.angularVelocity),
                        x > 0 &&
                          a.rotateAbout(
                            g.position,
                            i.angularVelocity,
                            i.position,
                            g.position,
                          )),
                      e.update(g.bounds, g.vertices, i.velocity));
                  }
                }),
                (A.updateVelocities = function (i) {
                  var o = A._baseDelta / i.deltaTime,
                    h = i.velocity;
                  ((h.x = (i.position.x - i.positionPrev.x) * o),
                    (h.y = (i.position.y - i.positionPrev.y) * o),
                    (i.speed = Math.sqrt(h.x * h.x + h.y * h.y)),
                    (i.angularVelocity = (i.angle - i.anglePrev) * o),
                    (i.angularSpeed = Math.abs(i.angularVelocity)));
                }),
                (A.applyForce = function (i, o, h) {
                  var l = { x: o.x - i.position.x, y: o.y - i.position.y };
                  ((i.force.x += h.x),
                    (i.force.y += h.y),
                    (i.torque += l.x * h.y - l.y * h.x));
                }),
                (A._totalProperties = function (i) {
                  for (
                    var o = {
                        mass: 0,
                        area: 0,
                        inertia: 0,
                        centre: { x: 0, y: 0 },
                      },
                      h = i.parts.length === 1 ? 0 : 1;
                    h < i.parts.length;
                    h++
                  ) {
                    var l = i.parts[h],
                      f = l.mass !== 1 / 0 ? l.mass : 1;
                    ((o.mass += f),
                      (o.area += l.area),
                      (o.inertia += l.inertia),
                      (o.centre = a.add(o.centre, a.mult(l.position, f))));
                  }
                  return ((o.centre = a.div(o.centre, o.mass)), o);
                }));
            })();
          },
          11299: (d, y, t) => {
            var A = {};
            d.exports = A;
            var c = t(39073),
              a = t(68758),
              r = t(84091),
              n = t(84125);
            (function () {
              ((A.create = function (e) {
                return a.extend(
                  {
                    id: a.nextId(),
                    type: "composite",
                    parent: null,
                    isModified: !1,
                    bodies: [],
                    constraints: [],
                    composites: [],
                    label: "Composite",
                    plugin: {},
                    cache: {
                      allBodies: null,
                      allConstraints: null,
                      allComposites: null,
                    },
                  },
                  e,
                );
              }),
                (A.setModified = function (e, s, u, i) {
                  if (
                    (c.trigger(e, "compositeModified", e),
                    (e.isModified = s),
                    s &&
                      e.cache &&
                      ((e.cache.allBodies = null),
                      (e.cache.allConstraints = null),
                      (e.cache.allComposites = null)),
                    u && e.parent && A.setModified(e.parent, s, u, i),
                    i)
                  )
                    for (var o = 0; o < e.composites.length; o++) {
                      var h = e.composites[o];
                      A.setModified(h, s, u, i);
                    }
                }),
                (A.add = function (e, s) {
                  var u = [].concat(s);
                  c.trigger(e, "beforeAdd", { object: s });
                  for (var i = 0; i < u.length; i++) {
                    var o = u[i];
                    switch (o.type) {
                      case "body":
                        if (o.parent !== o) {
                          a.warn(
                            "Composite.add: skipped adding a compound body part (you must add its parent instead)",
                          );
                          break;
                        }
                        A.addBody(e, o);
                        break;
                      case "constraint":
                        A.addConstraint(e, o);
                        break;
                      case "composite":
                        A.addComposite(e, o);
                        break;
                      case "mouseConstraint":
                        A.addConstraint(e, o.constraint);
                        break;
                    }
                  }
                  return (c.trigger(e, "afterAdd", { object: s }), e);
                }),
                (A.remove = function (e, s, u) {
                  var i = [].concat(s);
                  c.trigger(e, "beforeRemove", { object: s });
                  for (var o = 0; o < i.length; o++) {
                    var h = i[o];
                    switch (h.type) {
                      case "body":
                        A.removeBody(e, h, u);
                        break;
                      case "constraint":
                        A.removeConstraint(e, h, u);
                        break;
                      case "composite":
                        A.removeComposite(e, h, u);
                        break;
                      case "mouseConstraint":
                        A.removeConstraint(e, h.constraint);
                        break;
                    }
                  }
                  return (c.trigger(e, "afterRemove", { object: s }), e);
                }),
                (A.addComposite = function (e, s) {
                  return (
                    e.composites.push(s),
                    (s.parent = e),
                    A.setModified(e, !0, !0, !1),
                    e
                  );
                }),
                (A.removeComposite = function (e, s, u) {
                  var i = a.indexOf(e.composites, s);
                  if ((i !== -1 && A.removeCompositeAt(e, i), u))
                    for (var o = 0; o < e.composites.length; o++)
                      A.removeComposite(e.composites[o], s, !0);
                  return e;
                }),
                (A.removeCompositeAt = function (e, s) {
                  return (
                    e.composites.splice(s, 1),
                    A.setModified(e, !0, !0, !1),
                    e
                  );
                }),
                (A.addBody = function (e, s) {
                  return (e.bodies.push(s), A.setModified(e, !0, !0, !1), e);
                }),
                (A.removeBody = function (e, s, u) {
                  var i = a.indexOf(e.bodies, s);
                  if ((i !== -1 && A.removeBodyAt(e, i), u))
                    for (var o = 0; o < e.composites.length; o++)
                      A.removeBody(e.composites[o], s, !0);
                  return e;
                }),
                (A.removeBodyAt = function (e, s) {
                  return (
                    e.bodies.splice(s, 1),
                    A.setModified(e, !0, !0, !1),
                    e
                  );
                }),
                (A.addConstraint = function (e, s) {
                  return (
                    e.constraints.push(s),
                    A.setModified(e, !0, !0, !1),
                    e
                  );
                }),
                (A.removeConstraint = function (e, s, u) {
                  var i = a.indexOf(e.constraints, s);
                  if ((i !== -1 && A.removeConstraintAt(e, i), u))
                    for (var o = 0; o < e.composites.length; o++)
                      A.removeConstraint(e.composites[o], s, !0);
                  return e;
                }),
                (A.removeConstraintAt = function (e, s) {
                  return (
                    e.constraints.splice(s, 1),
                    A.setModified(e, !0, !0, !1),
                    e
                  );
                }),
                (A.clear = function (e, s, u) {
                  if (u)
                    for (var i = 0; i < e.composites.length; i++)
                      A.clear(e.composites[i], s, !0);
                  return (
                    s
                      ? (e.bodies = e.bodies.filter(function (o) {
                          return o.isStatic;
                        }))
                      : (e.bodies.length = 0),
                    (e.constraints.length = 0),
                    (e.composites.length = 0),
                    A.setModified(e, !0, !0, !1),
                    e
                  );
                }),
                (A.allBodies = function (e) {
                  if (e.cache && e.cache.allBodies) return e.cache.allBodies;
                  for (
                    var s = [].concat(e.bodies), u = 0;
                    u < e.composites.length;
                    u++
                  )
                    s = s.concat(A.allBodies(e.composites[u]));
                  return (e.cache && (e.cache.allBodies = s), s);
                }),
                (A.allConstraints = function (e) {
                  if (e.cache && e.cache.allConstraints)
                    return e.cache.allConstraints;
                  for (
                    var s = [].concat(e.constraints), u = 0;
                    u < e.composites.length;
                    u++
                  )
                    s = s.concat(A.allConstraints(e.composites[u]));
                  return (e.cache && (e.cache.allConstraints = s), s);
                }),
                (A.allComposites = function (e) {
                  if (e.cache && e.cache.allComposites)
                    return e.cache.allComposites;
                  for (
                    var s = [].concat(e.composites), u = 0;
                    u < e.composites.length;
                    u++
                  )
                    s = s.concat(A.allComposites(e.composites[u]));
                  return (e.cache && (e.cache.allComposites = s), s);
                }),
                (A.get = function (e, s, u) {
                  var i, o;
                  switch (u) {
                    case "body":
                      i = A.allBodies(e);
                      break;
                    case "constraint":
                      i = A.allConstraints(e);
                      break;
                    case "composite":
                      i = A.allComposites(e).concat(e);
                      break;
                  }
                  return i
                    ? ((o = i.filter(function (h) {
                        return h.id.toString() === s.toString();
                      })),
                      o.length === 0 ? null : o[0])
                    : null;
                }),
                (A.move = function (e, s, u) {
                  return (A.remove(e, s), A.add(u, s), e);
                }),
                (A.rebase = function (e) {
                  for (
                    var s = A.allBodies(e)
                        .concat(A.allConstraints(e))
                        .concat(A.allComposites(e)),
                      u = 0;
                    u < s.length;
                    u++
                  )
                    s[u].id = a.nextId();
                  return e;
                }),
                (A.translate = function (e, s, u) {
                  for (
                    var i = u ? A.allBodies(e) : e.bodies, o = 0;
                    o < i.length;
                    o++
                  )
                    n.translate(i[o], s);
                  return e;
                }),
                (A.rotate = function (e, s, u, i) {
                  for (
                    var o = Math.cos(s),
                      h = Math.sin(s),
                      l = i ? A.allBodies(e) : e.bodies,
                      f = 0;
                    f < l.length;
                    f++
                  ) {
                    var v = l[f],
                      m = v.position.x - u.x,
                      x = v.position.y - u.y;
                    (n.setPosition(v, {
                      x: u.x + (m * o - x * h),
                      y: u.y + (m * h + x * o),
                    }),
                      n.rotate(v, s));
                  }
                  return e;
                }),
                (A.scale = function (e, s, u, i, o) {
                  for (
                    var h = o ? A.allBodies(e) : e.bodies, l = 0;
                    l < h.length;
                    l++
                  ) {
                    var f = h[l],
                      v = f.position.x - i.x,
                      m = f.position.y - i.y;
                    (n.setPosition(f, { x: i.x + v * s, y: i.y + m * u }),
                      n.scale(f, s, u));
                  }
                  return e;
                }),
                (A.bounds = function (e) {
                  for (
                    var s = A.allBodies(e), u = [], i = 0;
                    i < s.length;
                    i += 1
                  ) {
                    var o = s[i];
                    u.push(o.bounds.min, o.bounds.max);
                  }
                  return r.create(u);
                }));
            })();
          },
          72005: (d, y, t) => {
            var A = {};
            d.exports = A;
            var c = t(11299);
            (function () {
              ((A.create = c.create),
                (A.add = c.add),
                (A.remove = c.remove),
                (A.clear = c.clear),
                (A.addComposite = c.addComposite),
                (A.addBody = c.addBody),
                (A.addConstraint = c.addConstraint));
            })();
          },
          63454: (d, y, t) => {
            var A = {};
            d.exports = A;
            var c = t(39745),
              a = t(70584);
            (function () {
              var r = [],
                n = { overlap: 0, axis: null },
                e = { overlap: 0, axis: null };
              ((A.create = function (s, u) {
                return {
                  pair: null,
                  collided: !1,
                  bodyA: s,
                  bodyB: u,
                  parentA: s.parent,
                  parentB: u.parent,
                  depth: 0,
                  normal: { x: 0, y: 0 },
                  tangent: { x: 0, y: 0 },
                  penetration: { x: 0, y: 0 },
                  supports: [],
                };
              }),
                (A.collides = function (s, u, i) {
                  if (
                    (A._overlapAxes(n, s.vertices, u.vertices, s.axes),
                    n.overlap <= 0 ||
                      (A._overlapAxes(e, u.vertices, s.vertices, u.axes),
                      e.overlap <= 0))
                  )
                    return null;
                  var o = i && i.table[a.id(s, u)],
                    h;
                  (o
                    ? (h = o.collision)
                    : ((h = A.create(s, u)),
                      (h.collided = !0),
                      (h.bodyA = s.id < u.id ? s : u),
                      (h.bodyB = s.id < u.id ? u : s),
                      (h.parentA = h.bodyA.parent),
                      (h.parentB = h.bodyB.parent)),
                    (s = h.bodyA),
                    (u = h.bodyB));
                  var l;
                  n.overlap < e.overlap ? (l = n) : (l = e);
                  var f = h.normal,
                    v = h.supports,
                    m = l.axis,
                    x = m.x,
                    g = m.y;
                  (x * (u.position.x - s.position.x) +
                    g * (u.position.y - s.position.y) <
                  0
                    ? ((f.x = x), (f.y = g))
                    : ((f.x = -x), (f.y = -g)),
                    (h.tangent.x = -f.y),
                    (h.tangent.y = f.x),
                    (h.depth = l.overlap),
                    (h.penetration.x = f.x * h.depth),
                    (h.penetration.y = f.y * h.depth));
                  var C = A._findSupports(s, u, f, 1),
                    T = 0;
                  if (
                    (c.contains(s.vertices, C[0]) && (v[T++] = C[0]),
                    c.contains(s.vertices, C[1]) && (v[T++] = C[1]),
                    T < 2)
                  ) {
                    var F = A._findSupports(u, s, f, -1);
                    (c.contains(u.vertices, F[0]) && (v[T++] = F[0]),
                      T < 2 && c.contains(u.vertices, F[1]) && (v[T++] = F[1]));
                  }
                  return (T === 0 && (v[T++] = C[0]), (v.length = T), h);
                }),
                (A._overlapAxes = function (s, u, i, o) {
                  var h = u.length,
                    l = i.length,
                    f = u[0].x,
                    v = u[0].y,
                    m = i[0].x,
                    x = i[0].y,
                    g = o.length,
                    C = Number.MAX_VALUE,
                    T = 0,
                    F,
                    w,
                    U,
                    M,
                    I,
                    O;
                  for (I = 0; I < g; I++) {
                    var D = o[I],
                      G = D.x,
                      X = D.y,
                      z = f * G + v * X,
                      K = m * G + x * X,
                      N = z,
                      b = K;
                    for (O = 1; O < h; O += 1)
                      ((M = u[O].x * G + u[O].y * X),
                        M > N ? (N = M) : M < z && (z = M));
                    for (O = 1; O < l; O += 1)
                      ((M = i[O].x * G + i[O].y * X),
                        M > b ? (b = M) : M < K && (K = M));
                    if (
                      ((w = N - K),
                      (U = b - z),
                      (F = w < U ? w : U),
                      F < C && ((C = F), (T = I), F <= 0))
                    )
                      break;
                  }
                  ((s.axis = o[T]), (s.overlap = C));
                }),
                (A._projectToAxis = function (s, u, i) {
                  for (
                    var o = u[0].x * i.x + u[0].y * i.y, h = o, l = 1;
                    l < u.length;
                    l += 1
                  ) {
                    var f = u[l].x * i.x + u[l].y * i.y;
                    f > h ? (h = f) : f < o && (o = f);
                  }
                  ((s.min = o), (s.max = h));
                }),
                (A._findSupports = function (s, u, i, o) {
                  var h = u.vertices,
                    l = h.length,
                    f = s.position.x,
                    v = s.position.y,
                    m = i.x * o,
                    x = i.y * o,
                    g = Number.MAX_VALUE,
                    C,
                    T,
                    F,
                    w,
                    U;
                  for (U = 0; U < l; U += 1)
                    ((T = h[U]),
                      (w = m * (f - T.x) + x * (v - T.y)),
                      w < g && ((g = w), (C = T)));
                  return (
                    (F = h[(l + C.index - 1) % l]),
                    (g = m * (f - F.x) + x * (v - F.y)),
                    (T = h[(C.index + 1) % l]),
                    m * (f - T.x) + x * (v - T.y) < g
                      ? ((r[0] = C), (r[1] = T), r)
                      : ((r[0] = C), (r[1] = F), r)
                  );
                }));
            })();
          },
          17319: (d) => {
            var y = {};
            ((d.exports = y),
              (function () {
                y.create = function (t) {
                  return { vertex: t, normalImpulse: 0, tangentImpulse: 0 };
                };
              })());
          },
          13657: (d, y, t) => {
            var A = {};
            d.exports = A;
            var c = t(68758),
              a = t(63454);
            (function () {
              ((A.create = function (r) {
                var n = { bodies: [], pairs: null };
                return c.extend(n, r);
              }),
                (A.setBodies = function (r, n) {
                  r.bodies = n.slice(0);
                }),
                (A.clear = function (r) {
                  r.bodies = [];
                }),
                (A.collisions = function (r) {
                  var n = [],
                    e = r.pairs,
                    s = r.bodies,
                    u = s.length,
                    i = A.canCollide,
                    o = a.collides,
                    h,
                    l;
                  for (s.sort(A._compareBoundsX), h = 0; h < u; h++) {
                    var f = s[h],
                      v = f.bounds,
                      m = f.bounds.max.x,
                      x = f.bounds.max.y,
                      g = f.bounds.min.y,
                      C = f.isStatic || f.isSleeping,
                      T = f.parts.length,
                      F = T === 1;
                    for (l = h + 1; l < u; l++) {
                      var w = s[l],
                        U = w.bounds;
                      if (U.min.x > m) break;
                      if (
                        !(x < U.min.y || g > U.max.y) &&
                        !(C && (w.isStatic || w.isSleeping)) &&
                        i(f.collisionFilter, w.collisionFilter)
                      ) {
                        var M = w.parts.length;
                        if (F && M === 1) {
                          var I = o(f, w, e);
                          I && n.push(I);
                        } else
                          for (
                            var O = T > 1 ? 1 : 0, D = M > 1 ? 1 : 0, G = O;
                            G < T;
                            G++
                          )
                            for (
                              var X = f.parts[G], v = X.bounds, z = D;
                              z < M;
                              z++
                            ) {
                              var K = w.parts[z],
                                U = K.bounds;
                              if (
                                !(
                                  v.min.x > U.max.x ||
                                  v.max.x < U.min.x ||
                                  v.max.y < U.min.y ||
                                  v.min.y > U.max.y
                                )
                              ) {
                                var I = o(X, K, e);
                                I && n.push(I);
                              }
                            }
                      }
                    }
                  }
                  return n;
                }),
                (A.canCollide = function (r, n) {
                  return r.group === n.group && r.group !== 0
                    ? r.group > 0
                    : (r.mask & n.category) !== 0 &&
                        (n.mask & r.category) !== 0;
                }),
                (A._compareBoundsX = function (r, n) {
                  return r.bounds.min.x - n.bounds.min.x;
                }));
            })();
          },
          70584: (d, y, t) => {
            var A = {};
            d.exports = A;
            var c = t(17319);
            (function () {
              ((A.create = function (a, r) {
                var n = a.bodyA,
                  e = a.bodyB,
                  s = {
                    id: A.id(n, e),
                    bodyA: n,
                    bodyB: e,
                    collision: a,
                    contacts: [],
                    activeContacts: [],
                    separation: 0,
                    isActive: !0,
                    confirmedActive: !0,
                    isSensor: n.isSensor || e.isSensor,
                    timeCreated: r,
                    timeUpdated: r,
                    inverseMass: 0,
                    friction: 0,
                    frictionStatic: 0,
                    restitution: 0,
                    slop: 0,
                  };
                return (A.update(s, a, r), s);
              }),
                (A.update = function (a, r, n) {
                  var e = a.contacts,
                    s = r.supports,
                    u = a.activeContacts,
                    i = r.parentA,
                    o = r.parentB,
                    h = i.vertices.length;
                  ((a.isActive = !0),
                    (a.timeUpdated = n),
                    (a.collision = r),
                    (a.separation = r.depth),
                    (a.inverseMass = i.inverseMass + o.inverseMass),
                    (a.friction =
                      i.friction < o.friction ? i.friction : o.friction),
                    (a.frictionStatic =
                      i.frictionStatic > o.frictionStatic
                        ? i.frictionStatic
                        : o.frictionStatic),
                    (a.restitution =
                      i.restitution > o.restitution
                        ? i.restitution
                        : o.restitution),
                    (a.slop = i.slop > o.slop ? i.slop : o.slop),
                    (r.pair = a),
                    (u.length = 0));
                  for (var l = 0; l < s.length; l++) {
                    var f = s[l],
                      v = f.body === i ? f.index : h + f.index,
                      m = e[v];
                    m ? u.push(m) : u.push((e[v] = c.create(f)));
                  }
                }),
                (A.setActive = function (a, r, n) {
                  r
                    ? ((a.isActive = !0), (a.timeUpdated = n))
                    : ((a.isActive = !1), (a.activeContacts.length = 0));
                }),
                (A.id = function (a, r) {
                  return a.id < r.id
                    ? "A" + a.id + "B" + r.id
                    : "A" + r.id + "B" + a.id;
                }));
            })();
          },
          91327: (d, y, t) => {
            var A = {};
            d.exports = A;
            var c = t(70584),
              a = t(68758);
            (function () {
              ((A.create = function (r) {
                return a.extend(
                  {
                    table: {},
                    list: [],
                    collisionStart: [],
                    collisionActive: [],
                    collisionEnd: [],
                  },
                  r,
                );
              }),
                (A.update = function (r, n, e) {
                  var s = r.list,
                    u = s.length,
                    i = r.table,
                    o = n.length,
                    h = r.collisionStart,
                    l = r.collisionEnd,
                    f = r.collisionActive,
                    v,
                    m,
                    x,
                    g;
                  for (
                    h.length = 0, l.length = 0, f.length = 0, g = 0;
                    g < u;
                    g++
                  )
                    s[g].confirmedActive = !1;
                  for (g = 0; g < o; g++)
                    ((v = n[g]),
                      (x = v.pair),
                      x
                        ? (x.isActive ? f.push(x) : h.push(x),
                          c.update(x, v, e),
                          (x.confirmedActive = !0))
                        : ((x = c.create(v, e)),
                          (i[x.id] = x),
                          h.push(x),
                          s.push(x)));
                  var C = [];
                  for (u = s.length, g = 0; g < u; g++)
                    ((x = s[g]),
                      x.confirmedActive ||
                        (c.setActive(x, !1, e),
                        l.push(x),
                        !x.collision.bodyA.isSleeping &&
                          !x.collision.bodyB.isSleeping &&
                          C.push(g)));
                  for (g = 0; g < C.length; g++)
                    ((m = C[g] - g),
                      (x = s[m]),
                      s.splice(m, 1),
                      delete i[x.id]);
                }),
                (A.clear = function (r) {
                  return (
                    (r.table = {}),
                    (r.list.length = 0),
                    (r.collisionStart.length = 0),
                    (r.collisionActive.length = 0),
                    (r.collisionEnd.length = 0),
                    r
                  );
                }));
            })();
          },
          13390: (d, y, t) => {
            var A = {};
            d.exports = A;
            var c = t(10438),
              a = t(63454),
              r = t(84091),
              n = t(68516),
              e = t(39745);
            (function () {
              ((A.collides = function (s, u) {
                for (
                  var i = [],
                    o = u.length,
                    h = s.bounds,
                    l = a.collides,
                    f = r.overlaps,
                    v = 0;
                  v < o;
                  v++
                ) {
                  var m = u[v],
                    x = m.parts.length,
                    g = x === 1 ? 0 : 1;
                  if (s !== m && f(m.bounds, h))
                    for (var C = g; C < x; C++) {
                      var T = m.parts[C];
                      if (f(T.bounds, h)) {
                        var F = l(T, s);
                        if (F) {
                          i.push(F);
                          break;
                        }
                      }
                    }
                }
                return i;
              }),
                (A.ray = function (s, u, i, o) {
                  o = o || 1e-100;
                  for (
                    var h = c.angle(u, i),
                      l = c.magnitude(c.sub(u, i)),
                      f = (i.x + u.x) * 0.5,
                      v = (i.y + u.y) * 0.5,
                      m = n.rectangle(f, v, l, o, { angle: h }),
                      x = A.collides(m, s),
                      g = 0;
                    g < x.length;
                    g += 1
                  ) {
                    var C = x[g];
                    C.body = C.bodyB = C.bodyA;
                  }
                  return x;
                }),
                (A.region = function (s, u, i) {
                  for (var o = [], h = 0; h < s.length; h++) {
                    var l = s[h],
                      f = r.overlaps(l.bounds, u);
                    ((f && !i) || (!f && i)) && o.push(l);
                  }
                  return o;
                }),
                (A.point = function (s, u) {
                  for (var i = [], o = 0; o < s.length; o++) {
                    var h = s[o];
                    if (r.contains(h.bounds, u))
                      for (
                        var l = h.parts.length === 1 ? 0 : 1;
                        l < h.parts.length;
                        l++
                      ) {
                        var f = h.parts[l];
                        if (
                          r.contains(f.bounds, u) &&
                          e.contains(f.vertices, u)
                        ) {
                          i.push(h);
                          break;
                        }
                      }
                  }
                  return i;
                }));
            })();
          },
          44272: (d, y, t) => {
            var A = {};
            d.exports = A;
            var c = t(39745),
              a = t(68758),
              r = t(84091);
            (function () {
              ((A._restingThresh = 2),
                (A._restingThreshTangent = Math.sqrt(6)),
                (A._positionDampen = 0.9),
                (A._positionWarming = 0.8),
                (A._frictionNormalMultiplier = 5),
                (A._frictionMaxStatic = Number.MAX_VALUE),
                (A.preSolvePosition = function (n) {
                  var e,
                    s,
                    u,
                    i = n.length;
                  for (e = 0; e < i; e++)
                    ((s = n[e]),
                      s.isActive &&
                        ((u = s.activeContacts.length),
                        (s.collision.parentA.totalContacts += u),
                        (s.collision.parentB.totalContacts += u)));
                }),
                (A.solvePosition = function (n, e, s) {
                  var u,
                    i,
                    o,
                    h,
                    l,
                    f,
                    v,
                    m,
                    x = A._positionDampen * (s || 1),
                    g = a.clamp(e / a._baseDelta, 0, 1),
                    C = n.length;
                  for (u = 0; u < C; u++)
                    ((i = n[u]),
                      !(!i.isActive || i.isSensor) &&
                        ((o = i.collision),
                        (h = o.parentA),
                        (l = o.parentB),
                        (f = o.normal),
                        (i.separation =
                          f.x *
                            (l.positionImpulse.x +
                              o.penetration.x -
                              h.positionImpulse.x) +
                          f.y *
                            (l.positionImpulse.y +
                              o.penetration.y -
                              h.positionImpulse.y))));
                  for (u = 0; u < C; u++)
                    ((i = n[u]),
                      !(!i.isActive || i.isSensor) &&
                        ((o = i.collision),
                        (h = o.parentA),
                        (l = o.parentB),
                        (f = o.normal),
                        (m = i.separation - i.slop * g),
                        (h.isStatic || l.isStatic) && (m *= 2),
                        h.isStatic ||
                          h.isSleeping ||
                          ((v = x / h.totalContacts),
                          (h.positionImpulse.x += f.x * m * v),
                          (h.positionImpulse.y += f.y * m * v)),
                        l.isStatic ||
                          l.isSleeping ||
                          ((v = x / l.totalContacts),
                          (l.positionImpulse.x -= f.x * m * v),
                          (l.positionImpulse.y -= f.y * m * v))));
                }),
                (A.postSolvePosition = function (n) {
                  for (
                    var e = A._positionWarming,
                      s = n.length,
                      u = c.translate,
                      i = r.update,
                      o = 0;
                    o < s;
                    o++
                  ) {
                    var h = n[o],
                      l = h.positionImpulse,
                      f = l.x,
                      v = l.y,
                      m = h.velocity;
                    if (((h.totalContacts = 0), f !== 0 || v !== 0)) {
                      for (var x = 0; x < h.parts.length; x++) {
                        var g = h.parts[x];
                        (u(g.vertices, l),
                          i(g.bounds, g.vertices, m),
                          (g.position.x += f),
                          (g.position.y += v));
                      }
                      ((h.positionPrev.x += f),
                        (h.positionPrev.y += v),
                        f * m.x + v * m.y < 0
                          ? ((l.x = 0), (l.y = 0))
                          : ((l.x *= e), (l.y *= e)));
                    }
                  }
                }),
                (A.preSolveVelocity = function (n) {
                  var e = n.length,
                    s,
                    u;
                  for (s = 0; s < e; s++) {
                    var i = n[s];
                    if (!(!i.isActive || i.isSensor)) {
                      var o = i.activeContacts,
                        h = o.length,
                        l = i.collision,
                        f = l.parentA,
                        v = l.parentB,
                        m = l.normal,
                        x = l.tangent;
                      for (u = 0; u < h; u++) {
                        var g = o[u],
                          C = g.vertex,
                          T = g.normalImpulse,
                          F = g.tangentImpulse;
                        if (T !== 0 || F !== 0) {
                          var w = m.x * T + x.x * F,
                            U = m.y * T + x.y * F;
                          (f.isStatic ||
                            f.isSleeping ||
                            ((f.positionPrev.x += w * f.inverseMass),
                            (f.positionPrev.y += U * f.inverseMass),
                            (f.anglePrev +=
                              f.inverseInertia *
                              ((C.x - f.position.x) * U -
                                (C.y - f.position.y) * w))),
                            v.isStatic ||
                              v.isSleeping ||
                              ((v.positionPrev.x -= w * v.inverseMass),
                              (v.positionPrev.y -= U * v.inverseMass),
                              (v.anglePrev -=
                                v.inverseInertia *
                                ((C.x - v.position.x) * U -
                                  (C.y - v.position.y) * w))));
                        }
                      }
                    }
                  }
                }),
                (A.solveVelocity = function (n, e) {
                  var s = e / a._baseDelta,
                    u = s * s,
                    i = u * s,
                    o = -A._restingThresh * s,
                    h = A._restingThreshTangent,
                    l = A._frictionNormalMultiplier * s,
                    f = A._frictionMaxStatic,
                    v = n.length,
                    m,
                    x,
                    g,
                    C;
                  for (g = 0; g < v; g++) {
                    var T = n[g];
                    if (!(!T.isActive || T.isSensor)) {
                      var F = T.collision,
                        w = F.parentA,
                        U = F.parentB,
                        M = w.velocity,
                        I = U.velocity,
                        O = F.normal.x,
                        D = F.normal.y,
                        G = F.tangent.x,
                        X = F.tangent.y,
                        z = T.activeContacts,
                        K = z.length,
                        N = 1 / K,
                        b = w.inverseMass + U.inverseMass,
                        R = T.friction * T.frictionStatic * l;
                      for (
                        M.x = w.position.x - w.positionPrev.x,
                          M.y = w.position.y - w.positionPrev.y,
                          I.x = U.position.x - U.positionPrev.x,
                          I.y = U.position.y - U.positionPrev.y,
                          w.angularVelocity = w.angle - w.anglePrev,
                          U.angularVelocity = U.angle - U.anglePrev,
                          C = 0;
                        C < K;
                        C++
                      ) {
                        var H = z[C],
                          Q = H.vertex,
                          V = Q.x - w.position.x,
                          Y = Q.y - w.position.y,
                          J = Q.x - U.position.x,
                          $ = Q.y - U.position.y,
                          W = M.x - Y * w.angularVelocity,
                          Z = M.y + V * w.angularVelocity,
                          j = I.x - $ * U.angularVelocity,
                          k = I.y + J * U.angularVelocity,
                          _ = W - j,
                          q = Z - k,
                          et = O * _ + D * q,
                          st = G * _ + X * q,
                          nt = T.separation + et,
                          it = Math.min(nt, 1);
                        it = nt < 0 ? 0 : it;
                        var tt = it * R;
                        st < -tt || st > tt
                          ? ((x = st > 0 ? st : -st),
                            (m = T.friction * (st > 0 ? 1 : -1) * i),
                            m < -x ? (m = -x) : m > x && (m = x))
                          : ((m = st), (x = f));
                        var rt = V * D - Y * O,
                          at = J * D - $ * O,
                          ot =
                            N /
                            (b +
                              w.inverseInertia * rt * rt +
                              U.inverseInertia * at * at),
                          lt = (1 + T.restitution) * et * ot;
                        if (((m *= ot), et < o)) H.normalImpulse = 0;
                        else {
                          var vt = H.normalImpulse;
                          ((H.normalImpulse += lt),
                            H.normalImpulse > 0 && (H.normalImpulse = 0),
                            (lt = H.normalImpulse - vt));
                        }
                        if (st < -h || st > h) H.tangentImpulse = 0;
                        else {
                          var dt = H.tangentImpulse;
                          ((H.tangentImpulse += m),
                            H.tangentImpulse < -x && (H.tangentImpulse = -x),
                            H.tangentImpulse > x && (H.tangentImpulse = x),
                            (m = H.tangentImpulse - dt));
                        }
                        var ct = O * lt + G * m,
                          pt = D * lt + X * m;
                        (w.isStatic ||
                          w.isSleeping ||
                          ((w.positionPrev.x += ct * w.inverseMass),
                          (w.positionPrev.y += pt * w.inverseMass),
                          (w.anglePrev +=
                            (V * pt - Y * ct) * w.inverseInertia)),
                          U.isStatic ||
                            U.isSleeping ||
                            ((U.positionPrev.x -= ct * U.inverseMass),
                            (U.positionPrev.y -= pt * U.inverseMass),
                            (U.anglePrev -=
                              (J * pt - $ * ct) * U.inverseInertia)));
                      }
                    }
                  }
                }));
            })();
          },
          52838: (d, y, t) => {
            var A = {};
            d.exports = A;
            var c = t(39745),
              a = t(10438),
              r = t(22806),
              n = t(84091),
              e = t(50658),
              s = t(68758);
            (function () {
              ((A._warming = 0.4),
                (A._torqueDampen = 1),
                (A._minLength = 1e-6),
                (A.create = function (u) {
                  var i = u;
                  (i.bodyA && !i.pointA && (i.pointA = { x: 0, y: 0 }),
                    i.bodyB && !i.pointB && (i.pointB = { x: 0, y: 0 }));
                  var o = i.bodyA
                      ? a.add(i.bodyA.position, i.pointA)
                      : i.pointA,
                    h = i.bodyB ? a.add(i.bodyB.position, i.pointB) : i.pointB,
                    l = a.magnitude(a.sub(o, h));
                  ((i.length = typeof i.length < "u" ? i.length : l),
                    (i.id = i.id || s.nextId()),
                    (i.label = i.label || "Constraint"),
                    (i.type = "constraint"),
                    (i.stiffness = i.stiffness || (i.length > 0 ? 1 : 0.7)),
                    (i.damping = i.damping || 0),
                    (i.angularStiffness = i.angularStiffness || 0),
                    (i.angleA = i.bodyA ? i.bodyA.angle : i.angleA),
                    (i.angleB = i.bodyB ? i.bodyB.angle : i.angleB),
                    (i.plugin = {}));
                  var f = {
                    visible: !0,
                    type: "line",
                    anchors: !0,
                    lineColor: null,
                    lineOpacity: null,
                    lineThickness: null,
                    pinSize: null,
                    anchorColor: null,
                    anchorSize: null,
                  };
                  return (
                    i.length === 0 && i.stiffness > 0.1
                      ? ((f.type = "pin"), (f.anchors = !1))
                      : i.stiffness < 0.9 && (f.type = "spring"),
                    (i.render = s.extend(f, i.render)),
                    i
                  );
                }),
                (A.preSolveAll = function (u) {
                  for (var i = 0; i < u.length; i += 1) {
                    var o = u[i],
                      h = o.constraintImpulse;
                    o.isStatic ||
                      (h.x === 0 && h.y === 0 && h.angle === 0) ||
                      ((o.position.x += h.x),
                      (o.position.y += h.y),
                      (o.angle += h.angle));
                  }
                }),
                (A.solveAll = function (u, i) {
                  for (
                    var o = s.clamp(i / s._baseDelta, 0, 1), h = 0;
                    h < u.length;
                    h += 1
                  ) {
                    var l = u[h],
                      f = !l.bodyA || (l.bodyA && l.bodyA.isStatic),
                      v = !l.bodyB || (l.bodyB && l.bodyB.isStatic);
                    (f || v) && A.solve(u[h], o);
                  }
                  for (h = 0; h < u.length; h += 1)
                    ((l = u[h]),
                      (f = !l.bodyA || (l.bodyA && l.bodyA.isStatic)),
                      (v = !l.bodyB || (l.bodyB && l.bodyB.isStatic)),
                      !f && !v && A.solve(u[h], o));
                }),
                (A.solve = function (u, i) {
                  var o = u.bodyA,
                    h = u.bodyB,
                    l = u.pointA,
                    f = u.pointB;
                  if (!(!o && !h)) {
                    (o &&
                      !o.isStatic &&
                      (a.rotate(l, o.angle - u.angleA, l),
                      (u.angleA = o.angle)),
                      h &&
                        !h.isStatic &&
                        (a.rotate(f, h.angle - u.angleB, f),
                        (u.angleB = h.angle)));
                    var v = l,
                      m = f;
                    if (
                      (o && (v = a.add(o.position, l)),
                      h && (m = a.add(h.position, f)),
                      !(!v || !m))
                    ) {
                      var x = a.sub(v, m),
                        g = a.magnitude(x);
                      g < A._minLength && (g = A._minLength);
                      var C = (g - u.length) / g,
                        T = u.stiffness >= 1 || u.length === 0,
                        F = T ? u.stiffness * i : u.stiffness * i * i,
                        w = u.damping * i,
                        U = a.mult(x, C * F),
                        M = (o ? o.inverseMass : 0) + (h ? h.inverseMass : 0),
                        I =
                          (o ? o.inverseInertia : 0) +
                          (h ? h.inverseInertia : 0),
                        O = M + I,
                        D,
                        G,
                        X,
                        z,
                        K;
                      if (w > 0) {
                        var N = a.create();
                        ((X = a.div(x, g)),
                          (K = a.sub(
                            (h && a.sub(h.position, h.positionPrev)) || N,
                            (o && a.sub(o.position, o.positionPrev)) || N,
                          )),
                          (z = a.dot(X, K)));
                      }
                      (o &&
                        !o.isStatic &&
                        ((G = o.inverseMass / M),
                        (o.constraintImpulse.x -= U.x * G),
                        (o.constraintImpulse.y -= U.y * G),
                        (o.position.x -= U.x * G),
                        (o.position.y -= U.y * G),
                        w > 0 &&
                          ((o.positionPrev.x -= w * X.x * z * G),
                          (o.positionPrev.y -= w * X.y * z * G)),
                        (D =
                          (a.cross(l, U) / O) *
                          A._torqueDampen *
                          o.inverseInertia *
                          (1 - u.angularStiffness)),
                        (o.constraintImpulse.angle -= D),
                        (o.angle -= D)),
                        h &&
                          !h.isStatic &&
                          ((G = h.inverseMass / M),
                          (h.constraintImpulse.x += U.x * G),
                          (h.constraintImpulse.y += U.y * G),
                          (h.position.x += U.x * G),
                          (h.position.y += U.y * G),
                          w > 0 &&
                            ((h.positionPrev.x += w * X.x * z * G),
                            (h.positionPrev.y += w * X.y * z * G)),
                          (D =
                            (a.cross(f, U) / O) *
                            A._torqueDampen *
                            h.inverseInertia *
                            (1 - u.angularStiffness)),
                          (h.constraintImpulse.angle += D),
                          (h.angle += D)));
                    }
                  }
                }),
                (A.postSolveAll = function (u) {
                  for (var i = 0; i < u.length; i++) {
                    var o = u[i],
                      h = o.constraintImpulse;
                    if (
                      !(o.isStatic || (h.x === 0 && h.y === 0 && h.angle === 0))
                    ) {
                      r.set(o, !1);
                      for (var l = 0; l < o.parts.length; l++) {
                        var f = o.parts[l];
                        (c.translate(f.vertices, h),
                          l > 0 &&
                            ((f.position.x += h.x), (f.position.y += h.y)),
                          h.angle !== 0 &&
                            (c.rotate(f.vertices, h.angle, o.position),
                            e.rotate(f.axes, h.angle),
                            l > 0 &&
                              a.rotateAbout(
                                f.position,
                                h.angle,
                                o.position,
                                f.position,
                              )),
                          n.update(f.bounds, f.vertices, o.velocity));
                      }
                      ((h.angle *= A._warming),
                        (h.x *= A._warming),
                        (h.y *= A._warming));
                    }
                  }
                }),
                (A.pointAWorld = function (u) {
                  return {
                    x:
                      (u.bodyA ? u.bodyA.position.x : 0) +
                      (u.pointA ? u.pointA.x : 0),
                    y:
                      (u.bodyA ? u.bodyA.position.y : 0) +
                      (u.pointA ? u.pointA.y : 0),
                  };
                }),
                (A.pointBWorld = function (u) {
                  return {
                    x:
                      (u.bodyB ? u.bodyB.position.x : 0) +
                      (u.pointB ? u.pointB.x : 0),
                    y:
                      (u.bodyB ? u.bodyB.position.y : 0) +
                      (u.pointB ? u.pointB.y : 0),
                  };
                }),
                (A.currentLength = function (u) {
                  var i =
                      (u.bodyA ? u.bodyA.position.x : 0) +
                      (u.pointA ? u.pointA.x : 0),
                    o =
                      (u.bodyA ? u.bodyA.position.y : 0) +
                      (u.pointA ? u.pointA.y : 0),
                    h =
                      (u.bodyB ? u.bodyB.position.x : 0) +
                      (u.pointB ? u.pointB.x : 0),
                    l =
                      (u.bodyB ? u.bodyB.position.y : 0) +
                      (u.pointB ? u.pointB.y : 0),
                    f = i - h,
                    v = o - l;
                  return Math.sqrt(f * f + v * v);
                }));
            })();
          },
          68758: (d, y, t) => {
            var A = {};
            ((d.exports = A),
              (function () {
                ((A._baseDelta = 16.666666666666668),
                  (A._nextId = 0),
                  (A._seed = 0),
                  (A._nowStartTime = +new Date()),
                  (A._warnedOnce = {}),
                  (A._decomp = null),
                  (A.extend = function (a, r) {
                    var n, e;
                    typeof r == "boolean"
                      ? ((n = 2), (e = r))
                      : ((n = 1), (e = !0));
                    for (var s = n; s < arguments.length; s++) {
                      var u = arguments[s];
                      if (u)
                        for (var i in u)
                          e &&
                          u[i] &&
                          u[i].constructor === Object &&
                          (!a[i] || a[i].constructor === Object)
                            ? ((a[i] = a[i] || {}), A.extend(a[i], e, u[i]))
                            : (a[i] = u[i]);
                    }
                    return a;
                  }),
                  (A.clone = function (a, r) {
                    return A.extend({}, r, a);
                  }),
                  (A.keys = function (a) {
                    if (Object.keys) return Object.keys(a);
                    var r = [];
                    for (var n in a) r.push(n);
                    return r;
                  }),
                  (A.values = function (a) {
                    var r = [];
                    if (Object.keys) {
                      for (var n = Object.keys(a), e = 0; e < n.length; e++)
                        r.push(a[n[e]]);
                      return r;
                    }
                    for (var s in a) r.push(a[s]);
                    return r;
                  }),
                  (A.get = function (a, r, n, e) {
                    r = r.split(".").slice(n, e);
                    for (var s = 0; s < r.length; s += 1) a = a[r[s]];
                    return a;
                  }),
                  (A.set = function (a, r, n, e, s) {
                    var u = r.split(".").slice(e, s);
                    return ((A.get(a, r, 0, -1)[u[u.length - 1]] = n), n);
                  }),
                  (A.shuffle = function (a) {
                    for (var r = a.length - 1; r > 0; r--) {
                      var n = Math.floor(A.random() * (r + 1)),
                        e = a[r];
                      ((a[r] = a[n]), (a[n] = e));
                    }
                    return a;
                  }),
                  (A.choose = function (a) {
                    return a[Math.floor(A.random() * a.length)];
                  }),
                  (A.isElement = function (a) {
                    return typeof HTMLElement < "u"
                      ? a instanceof HTMLElement
                      : !!(a && a.nodeType && a.nodeName);
                  }),
                  (A.isArray = function (a) {
                    return (
                      Object.prototype.toString.call(a) === "[object Array]"
                    );
                  }),
                  (A.isFunction = function (a) {
                    return typeof a == "function";
                  }),
                  (A.isPlainObject = function (a) {
                    return typeof a == "object" && a.constructor === Object;
                  }),
                  (A.isString = function (a) {
                    return toString.call(a) === "[object String]";
                  }),
                  (A.clamp = function (a, r, n) {
                    return a < r ? r : a > n ? n : a;
                  }),
                  (A.sign = function (a) {
                    return a < 0 ? -1 : 1;
                  }),
                  (A.now = function () {
                    if (typeof window < "u" && window.performance) {
                      if (window.performance.now)
                        return window.performance.now();
                      if (window.performance.webkitNow)
                        return window.performance.webkitNow();
                    }
                    return Date.now ? Date.now() : new Date() - A._nowStartTime;
                  }),
                  (A.random = function (a, r) {
                    return (
                      (a = typeof a < "u" ? a : 0),
                      (r = typeof r < "u" ? r : 1),
                      a + c() * (r - a)
                    );
                  }));
                var c = function () {
                  return (
                    (A._seed = (A._seed * 9301 + 49297) % 233280),
                    A._seed / 233280
                  );
                };
                ((A.colorToNumber = function (a) {
                  return (
                    (a = a.replace("#", "")),
                    a.length == 3 &&
                      (a =
                        a.charAt(0) +
                        a.charAt(0) +
                        a.charAt(1) +
                        a.charAt(1) +
                        a.charAt(2) +
                        a.charAt(2)),
                    parseInt(a, 16)
                  );
                }),
                  (A.logLevel = 1),
                  (A.log = function () {
                    console &&
                      A.logLevel > 0 &&
                      A.logLevel <= 3 &&
                      console.log.apply(
                        console,
                        ["matter-js:"].concat(
                          Array.prototype.slice.call(arguments),
                        ),
                      );
                  }),
                  (A.info = function () {
                    console &&
                      A.logLevel > 0 &&
                      A.logLevel <= 2 &&
                      console.info.apply(
                        console,
                        ["matter-js:"].concat(
                          Array.prototype.slice.call(arguments),
                        ),
                      );
                  }),
                  (A.warn = function () {
                    console &&
                      A.logLevel > 0 &&
                      A.logLevel <= 3 &&
                      console.warn.apply(
                        console,
                        ["matter-js:"].concat(
                          Array.prototype.slice.call(arguments),
                        ),
                      );
                  }),
                  (A.warnOnce = function () {
                    var a = Array.prototype.slice.call(arguments).join(" ");
                    A._warnedOnce[a] || (A.warn(a), (A._warnedOnce[a] = !0));
                  }),
                  (A.deprecated = function (a, r, n) {
                    a[r] = A.chain(function () {
                      A.warnOnce("🔅 deprecated 🔅", n);
                    }, a[r]);
                  }),
                  (A.nextId = function () {
                    return A._nextId++;
                  }),
                  (A.indexOf = function (a, r) {
                    if (a.indexOf) return a.indexOf(r);
                    for (var n = 0; n < a.length; n++) if (a[n] === r) return n;
                    return -1;
                  }),
                  (A.map = function (a, r) {
                    if (a.map) return a.map(r);
                    for (var n = [], e = 0; e < a.length; e += 1)
                      n.push(r(a[e]));
                    return n;
                  }),
                  (A.topologicalSort = function (a) {
                    var r = [],
                      n = [],
                      e = [];
                    for (var s in a)
                      !n[s] && !e[s] && A._topologicalSort(s, n, e, a, r);
                    return r;
                  }),
                  (A._topologicalSort = function (a, r, n, e, s) {
                    var u = e[a] || [];
                    n[a] = !0;
                    for (var i = 0; i < u.length; i += 1) {
                      var o = u[i];
                      n[o] || r[o] || A._topologicalSort(o, r, n, e, s);
                    }
                    ((n[a] = !1), (r[a] = !0), s.push(a));
                  }),
                  (A.chain = function () {
                    for (var a = [], r = 0; r < arguments.length; r += 1) {
                      var n = arguments[r];
                      n._chained ? a.push.apply(a, n._chained) : a.push(n);
                    }
                    var e = function () {
                      for (
                        var s,
                          u = new Array(arguments.length),
                          i = 0,
                          o = arguments.length;
                        i < o;
                        i++
                      )
                        u[i] = arguments[i];
                      for (i = 0; i < a.length; i += 1) {
                        var h = a[i].apply(s, u);
                        typeof h < "u" && (s = h);
                      }
                      return s;
                    };
                    return ((e._chained = a), e);
                  }),
                  (A.chainPathBefore = function (a, r, n) {
                    return A.set(a, r, A.chain(n, A.get(a, r)));
                  }),
                  (A.chainPathAfter = function (a, r, n) {
                    return A.set(a, r, A.chain(A.get(a, r), n));
                  }),
                  (A.setDecomp = function (a) {
                    A._decomp = a;
                  }),
                  (A.getDecomp = function () {
                    var a = A._decomp;
                    try {
                      (!a && typeof window < "u" && (a = window.decomp),
                        !a && typeof t.g < "u" && (a = t.g.decomp));
                    } catch {
                      a = null;
                    }
                    return a;
                  }));
              })());
          },
          45775: (d, y, t) => {
            var A = {};
            d.exports = A;
            var c = t(22806),
              a = t(44272),
              r = t(13657),
              n = t(91327),
              e = t(39073),
              s = t(11299),
              u = t(52838),
              i = t(68758),
              o = t(84125);
            (function () {
              ((A.create = function (h) {
                h = h || {};
                var l = {
                    positionIterations: 6,
                    velocityIterations: 4,
                    constraintIterations: 2,
                    enableSleeping: !1,
                    events: [],
                    plugin: {},
                    gravity: { x: 0, y: 1, scale: 0.001 },
                    timing: {
                      timestamp: 0,
                      timeScale: 1,
                      lastDelta: 0,
                      lastElapsed: 0,
                    },
                  },
                  f = i.extend(l, h);
                return (
                  (f.world = h.world || s.create({ label: "World" })),
                  (f.pairs = h.pairs || n.create()),
                  (f.detector = h.detector || r.create()),
                  (f.grid = { buckets: [] }),
                  (f.world.gravity = f.gravity),
                  (f.broadphase = f.grid),
                  (f.metrics = {}),
                  f
                );
              }),
                (A.update = function (h, l) {
                  var f = i.now(),
                    v = h.world,
                    m = h.detector,
                    x = h.pairs,
                    g = h.timing,
                    C = g.timestamp,
                    T;
                  ((l = typeof l < "u" ? l : i._baseDelta),
                    (l *= g.timeScale),
                    (g.timestamp += l),
                    (g.lastDelta = l));
                  var F = { timestamp: g.timestamp, delta: l };
                  e.trigger(h, "beforeUpdate", F);
                  var w = s.allBodies(v),
                    U = s.allConstraints(v);
                  for (
                    v.isModified &&
                      (r.setBodies(m, w), s.setModified(v, !1, !1, !0)),
                      h.enableSleeping && c.update(w, l),
                      A._bodiesApplyGravity(w, h.gravity),
                      l > 0 && A._bodiesUpdate(w, l),
                      e.trigger(h, "beforeSolve", F),
                      u.preSolveAll(w),
                      T = 0;
                    T < h.constraintIterations;
                    T++
                  )
                    u.solveAll(U, l);
                  (u.postSolveAll(w), (m.pairs = h.pairs));
                  var M = r.collisions(m);
                  (n.update(x, M, C),
                    h.enableSleeping && c.afterCollisions(x.list),
                    x.collisionStart.length > 0 &&
                      e.trigger(h, "collisionStart", {
                        pairs: x.collisionStart,
                        timestamp: g.timestamp,
                        delta: l,
                      }));
                  var I = i.clamp(20 / h.positionIterations, 0, 1);
                  for (
                    a.preSolvePosition(x.list), T = 0;
                    T < h.positionIterations;
                    T++
                  )
                    a.solvePosition(x.list, l, I);
                  for (
                    a.postSolvePosition(w), u.preSolveAll(w), T = 0;
                    T < h.constraintIterations;
                    T++
                  )
                    u.solveAll(U, l);
                  for (
                    u.postSolveAll(w), a.preSolveVelocity(x.list), T = 0;
                    T < h.velocityIterations;
                    T++
                  )
                    a.solveVelocity(x.list, l);
                  return (
                    A._bodiesUpdateVelocities(w),
                    x.collisionActive.length > 0 &&
                      e.trigger(h, "collisionActive", {
                        pairs: x.collisionActive,
                        timestamp: g.timestamp,
                        delta: l,
                      }),
                    x.collisionEnd.length > 0 &&
                      e.trigger(h, "collisionEnd", {
                        pairs: x.collisionEnd,
                        timestamp: g.timestamp,
                        delta: l,
                      }),
                    A._bodiesClearForces(w),
                    e.trigger(h, "afterUpdate", F),
                    (h.timing.lastElapsed = i.now() - f),
                    h
                  );
                }),
                (A.merge = function (h, l) {
                  if ((i.extend(h, l), l.world)) {
                    ((h.world = l.world), A.clear(h));
                    for (
                      var f = s.allBodies(h.world), v = 0;
                      v < f.length;
                      v++
                    ) {
                      var m = f[v];
                      (c.set(m, !1), (m.id = i.nextId()));
                    }
                  }
                }),
                (A.clear = function (h) {
                  (n.clear(h.pairs), r.clear(h.detector));
                }),
                (A._bodiesClearForces = function (h) {
                  for (var l = h.length, f = 0; f < l; f++) {
                    var v = h[f];
                    ((v.force.x = 0), (v.force.y = 0), (v.torque = 0));
                  }
                }),
                (A._bodiesApplyGravity = function (h, l) {
                  var f = typeof l.scale < "u" ? l.scale : 0.001,
                    v = h.length;
                  if (!((l.x === 0 && l.y === 0) || f === 0))
                    for (var m = 0; m < v; m++) {
                      var x = h[m];
                      x.ignoreGravity ||
                        x.isStatic ||
                        x.isSleeping ||
                        ((x.force.y += x.mass * l.y * f),
                        (x.force.x += x.mass * l.x * f));
                    }
                }),
                (A._bodiesUpdate = function (h, l) {
                  for (var f = h.length, v = 0; v < f; v++) {
                    var m = h[v];
                    m.isStatic || m.isSleeping || o.update(m, l);
                  }
                }),
                (A._bodiesUpdateVelocities = function (h) {
                  for (var l = h.length, f = 0; f < l; f++)
                    o.updateVelocities(h[f]);
                }));
            })();
          },
          39073: (d, y, t) => {
            var A = {};
            d.exports = A;
            var c = t(68758);
            (function () {
              ((A.on = function (a, r, n) {
                for (var e = r.split(" "), s, u = 0; u < e.length; u++)
                  ((s = e[u]),
                    (a.events = a.events || {}),
                    (a.events[s] = a.events[s] || []),
                    a.events[s].push(n));
                return n;
              }),
                (A.off = function (a, r, n) {
                  if (!r) {
                    a.events = {};
                    return;
                  }
                  typeof r == "function" &&
                    ((n = r), (r = c.keys(a.events).join(" ")));
                  for (var e = r.split(" "), s = 0; s < e.length; s++) {
                    var u = a.events[e[s]],
                      i = [];
                    if (n && u)
                      for (var o = 0; o < u.length; o++)
                        u[o] !== n && i.push(u[o]);
                    a.events[e[s]] = i;
                  }
                }),
                (A.trigger = function (a, r, n) {
                  var e,
                    s,
                    u,
                    i,
                    o = a.events;
                  if (o && c.keys(o).length > 0) {
                    (n || (n = {}), (e = r.split(" ")));
                    for (var h = 0; h < e.length; h++)
                      if (((s = e[h]), (u = o[s]), u)) {
                        ((i = c.clone(n, !1)), (i.name = s), (i.source = a));
                        for (var l = 0; l < u.length; l++) u[l].apply(a, [i]);
                      }
                  }
                }));
            })();
          },
          16929: (d, y, t) => {
            var A = {};
            d.exports = A;
            var c = t(84474),
              a = t(68758);
            (function () {
              ((A.name = "matter-js"),
                (A.version = "0.19.0"),
                (A.uses = []),
                (A.used = []),
                (A.use = function () {
                  c.use(A, Array.prototype.slice.call(arguments));
                }),
                (A.before = function (r, n) {
                  return (
                    (r = r.replace(/^Matter./, "")),
                    a.chainPathBefore(A, r, n)
                  );
                }),
                (A.after = function (r, n) {
                  return (
                    (r = r.replace(/^Matter./, "")),
                    a.chainPathAfter(A, r, n)
                  );
                }));
            })();
          },
          84474: (d, y, t) => {
            var A = {};
            d.exports = A;
            var c = t(68758);
            (function () {
              ((A._registry = {}),
                (A.register = function (a) {
                  if (
                    (A.isPlugin(a) ||
                      c.warn(
                        "Plugin.register:",
                        A.toString(a),
                        "does not implement all required fields.",
                      ),
                    a.name in A._registry)
                  ) {
                    var r = A._registry[a.name],
                      n = A.versionParse(a.version).number,
                      e = A.versionParse(r.version).number;
                    n > e
                      ? (c.warn(
                          "Plugin.register:",
                          A.toString(r),
                          "was upgraded to",
                          A.toString(a),
                        ),
                        (A._registry[a.name] = a))
                      : n < e
                        ? c.warn(
                            "Plugin.register:",
                            A.toString(r),
                            "can not be downgraded to",
                            A.toString(a),
                          )
                        : a !== r &&
                          c.warn(
                            "Plugin.register:",
                            A.toString(a),
                            "is already registered to different plugin object",
                          );
                  } else A._registry[a.name] = a;
                  return a;
                }),
                (A.resolve = function (a) {
                  return A._registry[A.dependencyParse(a).name];
                }),
                (A.toString = function (a) {
                  return typeof a == "string"
                    ? a
                    : (a.name || "anonymous") +
                        "@" +
                        (a.version || a.range || "0.0.0");
                }),
                (A.isPlugin = function (a) {
                  return a && a.name && a.version && a.install;
                }),
                (A.isUsed = function (a, r) {
                  return a.used.indexOf(r) > -1;
                }),
                (A.isFor = function (a, r) {
                  var n = a.for && A.dependencyParse(a.for);
                  return (
                    !a.for ||
                    (r.name === n.name &&
                      A.versionSatisfies(r.version, n.range))
                  );
                }),
                (A.use = function (a, r) {
                  if (
                    ((a.uses = (a.uses || []).concat(r || [])),
                    a.uses.length === 0)
                  ) {
                    c.warn(
                      "Plugin.use:",
                      A.toString(a),
                      "does not specify any dependencies to install.",
                    );
                    return;
                  }
                  for (
                    var n = A.dependencies(a),
                      e = c.topologicalSort(n),
                      s = [],
                      u = 0;
                    u < e.length;
                    u += 1
                  )
                    if (e[u] !== a.name) {
                      var i = A.resolve(e[u]);
                      if (!i) {
                        s.push("❌ " + e[u]);
                        continue;
                      }
                      A.isUsed(a, i.name) ||
                        (A.isFor(i, a) ||
                          (c.warn(
                            "Plugin.use:",
                            A.toString(i),
                            "is for",
                            i.for,
                            "but installed on",
                            A.toString(a) + ".",
                          ),
                          (i._warned = !0)),
                        i.install
                          ? i.install(a)
                          : (c.warn(
                              "Plugin.use:",
                              A.toString(i),
                              "does not specify an install function.",
                            ),
                            (i._warned = !0)),
                        i._warned
                          ? (s.push("🔶 " + A.toString(i)), delete i._warned)
                          : s.push("✅ " + A.toString(i)),
                        a.used.push(i.name));
                    }
                  s.length > 0 && !i.silent && c.info(s.join("  "));
                }),
                (A.dependencies = function (a, r) {
                  var n = A.dependencyParse(a),
                    e = n.name;
                  if (((r = r || {}), !(e in r))) {
                    ((a = A.resolve(a) || a),
                      (r[e] = c.map(a.uses || [], function (u) {
                        A.isPlugin(u) && A.register(u);
                        var i = A.dependencyParse(u),
                          o = A.resolve(u);
                        return (
                          o && !A.versionSatisfies(o.version, i.range)
                            ? (c.warn(
                                "Plugin.dependencies:",
                                A.toString(o),
                                "does not satisfy",
                                A.toString(i),
                                "used by",
                                A.toString(n) + ".",
                              ),
                              (o._warned = !0),
                              (a._warned = !0))
                            : o ||
                              (c.warn(
                                "Plugin.dependencies:",
                                A.toString(u),
                                "used by",
                                A.toString(n),
                                "could not be resolved.",
                              ),
                              (a._warned = !0)),
                          i.name
                        );
                      })));
                    for (var s = 0; s < r[e].length; s += 1)
                      A.dependencies(r[e][s], r);
                    return r;
                  }
                }),
                (A.dependencyParse = function (a) {
                  if (c.isString(a)) {
                    var r =
                      /^[\w-]+(@(\*|[\^~]?\d+\.\d+\.\d+(-[0-9A-Za-z-+]+)?))?$/;
                    return (
                      r.test(a) ||
                        c.warn(
                          "Plugin.dependencyParse:",
                          a,
                          "is not a valid dependency string.",
                        ),
                      { name: a.split("@")[0], range: a.split("@")[1] || "*" }
                    );
                  }
                  return { name: a.name, range: a.range || a.version };
                }),
                (A.versionParse = function (a) {
                  var r =
                    /^(\*)|(\^|~|>=|>)?\s*((\d+)\.(\d+)\.(\d+))(-[0-9A-Za-z-+]+)?$/;
                  r.test(a) ||
                    c.warn(
                      "Plugin.versionParse:",
                      a,
                      "is not a valid version or range.",
                    );
                  var n = r.exec(a),
                    e = Number(n[4]),
                    s = Number(n[5]),
                    u = Number(n[6]);
                  return {
                    isRange: !!(n[1] || n[2]),
                    version: n[3],
                    range: a,
                    operator: n[1] || n[2] || "",
                    major: e,
                    minor: s,
                    patch: u,
                    parts: [e, s, u],
                    prerelease: n[7],
                    number: e * 1e8 + s * 1e4 + u,
                  };
                }),
                (A.versionSatisfies = function (a, r) {
                  r = r || "*";
                  var n = A.versionParse(r),
                    e = A.versionParse(a);
                  if (n.isRange) {
                    if (n.operator === "*" || a === "*") return !0;
                    if (n.operator === ">") return e.number > n.number;
                    if (n.operator === ">=") return e.number >= n.number;
                    if (n.operator === "~")
                      return (
                        e.major === n.major &&
                        e.minor === n.minor &&
                        e.patch >= n.patch
                      );
                    if (n.operator === "^")
                      return n.major > 0
                        ? e.major === n.major && e.number >= n.number
                        : n.minor > 0
                          ? e.minor === n.minor && e.patch >= n.patch
                          : e.patch === n.patch;
                  }
                  return a === r || a === "*";
                }));
            })();
          },
          22806: (d, y, t) => {
            var A = {};
            d.exports = A;
            var c = t(84125),
              a = t(39073),
              r = t(68758);
            (function () {
              ((A._motionWakeThreshold = 0.18),
                (A._motionSleepThreshold = 0.08),
                (A._minBias = 0.9),
                (A.update = function (n, e) {
                  for (
                    var s = e / r._baseDelta,
                      u = A._motionSleepThreshold,
                      i = 0;
                    i < n.length;
                    i++
                  ) {
                    var o = n[i],
                      h = c.getSpeed(o),
                      l = c.getAngularSpeed(o),
                      f = h * h + l * l;
                    if (o.force.x !== 0 || o.force.y !== 0) {
                      A.set(o, !1);
                      continue;
                    }
                    var v = Math.min(o.motion, f),
                      m = Math.max(o.motion, f);
                    ((o.motion = A._minBias * v + (1 - A._minBias) * m),
                      o.sleepThreshold > 0 && o.motion < u
                        ? ((o.sleepCounter += 1),
                          o.sleepCounter >= o.sleepThreshold / s &&
                            A.set(o, !0))
                        : o.sleepCounter > 0 && (o.sleepCounter -= 1));
                  }
                }),
                (A.afterCollisions = function (n) {
                  for (
                    var e = A._motionSleepThreshold, s = 0;
                    s < n.length;
                    s++
                  ) {
                    var u = n[s];
                    if (u.isActive) {
                      var i = u.collision,
                        o = i.bodyA.parent,
                        h = i.bodyB.parent;
                      if (
                        !(
                          (o.isSleeping && h.isSleeping) ||
                          o.isStatic ||
                          h.isStatic
                        ) &&
                        (o.isSleeping || h.isSleeping)
                      ) {
                        var l = o.isSleeping && !o.isStatic ? o : h,
                          f = l === o ? h : o;
                        !l.isStatic && f.motion > e && A.set(l, !1);
                      }
                    }
                  }
                }),
                (A.set = function (n, e) {
                  var s = n.isSleeping;
                  e
                    ? ((n.isSleeping = !0),
                      (n.sleepCounter = n.sleepThreshold),
                      (n.positionImpulse.x = 0),
                      (n.positionImpulse.y = 0),
                      (n.positionPrev.x = n.position.x),
                      (n.positionPrev.y = n.position.y),
                      (n.anglePrev = n.angle),
                      (n.speed = 0),
                      (n.angularSpeed = 0),
                      (n.motion = 0),
                      s || a.trigger(n, "sleepStart"))
                    : ((n.isSleeping = !1),
                      (n.sleepCounter = 0),
                      s && a.trigger(n, "sleepEnd"));
                }));
            })();
          },
          68516: (d, y, t) => {
            var A = {};
            d.exports = A;
            var c = t(39745),
              a = t(68758),
              r = t(84125),
              n = t(84091),
              e = t(10438);
            (function () {
              ((A.rectangle = function (s, u, i, o, h) {
                h = h || {};
                var l = {
                  label: "Rectangle Body",
                  position: { x: s, y: u },
                  vertices: c.fromPath(
                    "L 0 0 L " + i + " 0 L " + i + " " + o + " L 0 " + o,
                  ),
                };
                if (h.chamfer) {
                  var f = h.chamfer;
                  ((l.vertices = c.chamfer(
                    l.vertices,
                    f.radius,
                    f.quality,
                    f.qualityMin,
                    f.qualityMax,
                  )),
                    delete h.chamfer);
                }
                return r.create(a.extend({}, l, h));
              }),
                (A.trapezoid = function (s, u, i, o, h, l) {
                  ((l = l || {}), (h *= 0.5));
                  var f = (1 - h * 2) * i,
                    v = i * h,
                    m = v + f,
                    x = m + v,
                    g;
                  h < 0.5
                    ? (g =
                        "L 0 0 L " +
                        v +
                        " " +
                        -o +
                        " L " +
                        m +
                        " " +
                        -o +
                        " L " +
                        x +
                        " 0")
                    : (g = "L 0 0 L " + m + " " + -o + " L " + x + " 0");
                  var C = {
                    label: "Trapezoid Body",
                    position: { x: s, y: u },
                    vertices: c.fromPath(g),
                  };
                  if (l.chamfer) {
                    var T = l.chamfer;
                    ((C.vertices = c.chamfer(
                      C.vertices,
                      T.radius,
                      T.quality,
                      T.qualityMin,
                      T.qualityMax,
                    )),
                      delete l.chamfer);
                  }
                  return r.create(a.extend({}, C, l));
                }),
                (A.circle = function (s, u, i, o, h) {
                  o = o || {};
                  var l = { label: "Circle Body", circleRadius: i };
                  h = h || 25;
                  var f = Math.ceil(Math.max(10, Math.min(h, i)));
                  return (
                    f % 2 === 1 && (f += 1),
                    A.polygon(s, u, f, i, a.extend({}, l, o))
                  );
                }),
                (A.polygon = function (s, u, i, o, h) {
                  if (((h = h || {}), i < 3)) return A.circle(s, u, o, h);
                  for (
                    var l = (2 * Math.PI) / i, f = "", v = l * 0.5, m = 0;
                    m < i;
                    m += 1
                  ) {
                    var x = v + m * l,
                      g = Math.cos(x) * o,
                      C = Math.sin(x) * o;
                    f += "L " + g.toFixed(3) + " " + C.toFixed(3) + " ";
                  }
                  var T = {
                    label: "Polygon Body",
                    position: { x: s, y: u },
                    vertices: c.fromPath(f),
                  };
                  if (h.chamfer) {
                    var F = h.chamfer;
                    ((T.vertices = c.chamfer(
                      T.vertices,
                      F.radius,
                      F.quality,
                      F.qualityMin,
                      F.qualityMax,
                    )),
                      delete h.chamfer);
                  }
                  return r.create(a.extend({}, T, h));
                }),
                (A.fromVertices = function (s, u, i, o, h, l, f, v) {
                  var m = a.getDecomp(),
                    x,
                    g,
                    C,
                    T,
                    F,
                    w,
                    U,
                    M,
                    I,
                    O,
                    D;
                  for (
                    x = !!(m && m.quickDecomp),
                      o = o || {},
                      C = [],
                      h = typeof h < "u" ? h : !1,
                      l = typeof l < "u" ? l : 0.01,
                      f = typeof f < "u" ? f : 10,
                      v = typeof v < "u" ? v : 0.01,
                      a.isArray(i[0]) || (i = [i]),
                      O = 0;
                    O < i.length;
                    O += 1
                  )
                    if (
                      ((w = i[O]),
                      (T = c.isConvex(w)),
                      (F = !T),
                      F &&
                        !x &&
                        a.warnOnce(
                          "Bodies.fromVertices: Install the 'poly-decomp' library and use Common.setDecomp or provide 'decomp' as a global to decompose concave vertices.",
                        ),
                      T || !x)
                    )
                      (T ? (w = c.clockwiseSort(w)) : (w = c.hull(w)),
                        C.push({ position: { x: s, y: u }, vertices: w }));
                    else {
                      var G = w.map(function (J) {
                        return [J.x, J.y];
                      });
                      (m.makeCCW(G),
                        l !== !1 && m.removeCollinearPoints(G, l),
                        v !== !1 &&
                          m.removeDuplicatePoints &&
                          m.removeDuplicatePoints(G, v));
                      var X = m.quickDecomp(G);
                      for (U = 0; U < X.length; U++) {
                        var z = X[U],
                          K = z.map(function (J) {
                            return { x: J[0], y: J[1] };
                          });
                        (f > 0 && c.area(K) < f) ||
                          C.push({ position: c.centre(K), vertices: K });
                      }
                    }
                  for (U = 0; U < C.length; U++)
                    C[U] = r.create(a.extend(C[U], o));
                  if (h) {
                    var N = 5;
                    for (U = 0; U < C.length; U++) {
                      var b = C[U];
                      for (M = U + 1; M < C.length; M++) {
                        var R = C[M];
                        if (n.overlaps(b.bounds, R.bounds)) {
                          var H = b.vertices,
                            Q = R.vertices;
                          for (I = 0; I < b.vertices.length; I++)
                            for (D = 0; D < R.vertices.length; D++) {
                              var V = e.magnitudeSquared(
                                  e.sub(H[(I + 1) % H.length], Q[D]),
                                ),
                                Y = e.magnitudeSquared(
                                  e.sub(H[I], Q[(D + 1) % Q.length]),
                                );
                              V < N &&
                                Y < N &&
                                ((H[I].isInternal = !0),
                                (Q[D].isInternal = !0));
                            }
                        }
                      }
                    }
                  }
                  return C.length > 1
                    ? ((g = r.create(a.extend({ parts: C.slice(0) }, o))),
                      r.setPosition(g, { x: s, y: u }),
                      g)
                    : C[0];
                }),
                (A.flagCoincidentParts = function (s, u) {
                  u === void 0 && (u = 5);
                  for (var i = 0; i < s.length; i++)
                    for (var o = s[i], h = i + 1; h < s.length; h++) {
                      var l = s[h];
                      if (n.overlaps(o.bounds, l.bounds))
                        for (
                          var f = o.vertices, v = l.vertices, m = 0;
                          m < o.vertices.length;
                          m++
                        )
                          for (var x = 0; x < l.vertices.length; x++) {
                            var g = e.magnitudeSquared(
                                e.sub(f[(m + 1) % f.length], v[x]),
                              ),
                              C = e.magnitudeSquared(
                                e.sub(f[m], v[(x + 1) % v.length]),
                              );
                            g < u &&
                              C < u &&
                              ((f[m].isInternal = !0), (v[x].isInternal = !0));
                          }
                    }
                  return s;
                }));
            })();
          },
          56643: (d, y, t) => {
            var A = {};
            d.exports = A;
            var c = t(11299),
              a = t(52838),
              r = t(68758),
              n = t(84125),
              e = t(68516);
            (function () {
              ((A.stack = function (s, u, i, o, h, l, f) {
                for (
                  var v = c.create({ label: "Stack" }),
                    m = s,
                    x = u,
                    g,
                    C = 0,
                    T = 0;
                  T < o;
                  T++
                ) {
                  for (var F = 0, w = 0; w < i; w++) {
                    var U = f(m, x, w, T, g, C);
                    if (U) {
                      var M = U.bounds.max.y - U.bounds.min.y,
                        I = U.bounds.max.x - U.bounds.min.x;
                      (M > F && (F = M),
                        n.translate(U, { x: I * 0.5, y: M * 0.5 }),
                        (m = U.bounds.max.x + h),
                        c.addBody(v, U),
                        (g = U),
                        (C += 1));
                    } else m += h;
                  }
                  ((x += F + l), (m = s));
                }
                return v;
              }),
                (A.chain = function (s, u, i, o, h, l) {
                  for (var f = s.bodies, v = 1; v < f.length; v++) {
                    var m = f[v - 1],
                      x = f[v],
                      g = m.bounds.max.y - m.bounds.min.y,
                      C = m.bounds.max.x - m.bounds.min.x,
                      T = x.bounds.max.y - x.bounds.min.y,
                      F = x.bounds.max.x - x.bounds.min.x,
                      w = {
                        bodyA: m,
                        pointA: { x: C * u, y: g * i },
                        bodyB: x,
                        pointB: { x: F * o, y: T * h },
                      },
                      U = r.extend(w, l);
                    c.addConstraint(s, a.create(U));
                  }
                  return ((s.label += " Chain"), s);
                }),
                (A.mesh = function (s, u, i, o, h) {
                  var l = s.bodies,
                    f,
                    v,
                    m,
                    x,
                    g;
                  for (f = 0; f < i; f++) {
                    for (v = 1; v < u; v++)
                      ((m = l[v - 1 + f * u]),
                        (x = l[v + f * u]),
                        c.addConstraint(
                          s,
                          a.create(r.extend({ bodyA: m, bodyB: x }, h)),
                        ));
                    if (f > 0)
                      for (v = 0; v < u; v++)
                        ((m = l[v + (f - 1) * u]),
                          (x = l[v + f * u]),
                          c.addConstraint(
                            s,
                            a.create(r.extend({ bodyA: m, bodyB: x }, h)),
                          ),
                          o &&
                            v > 0 &&
                            ((g = l[v - 1 + (f - 1) * u]),
                            c.addConstraint(
                              s,
                              a.create(r.extend({ bodyA: g, bodyB: x }, h)),
                            )),
                          o &&
                            v < u - 1 &&
                            ((g = l[v + 1 + (f - 1) * u]),
                            c.addConstraint(
                              s,
                              a.create(r.extend({ bodyA: g, bodyB: x }, h)),
                            )));
                  }
                  return ((s.label += " Mesh"), s);
                }),
                (A.pyramid = function (s, u, i, o, h, l, f) {
                  return A.stack(s, u, i, o, h, l, function (v, m, x, g, C, T) {
                    var F = Math.min(o, Math.ceil(i / 2)),
                      w = C ? C.bounds.max.x - C.bounds.min.x : 0;
                    if (!(g > F)) {
                      g = F - g;
                      var U = g,
                        M = i - 1 - g;
                      if (!(x < U || x > M)) {
                        T === 1 &&
                          n.translate(C, {
                            x: (x + (i % 2 === 1 ? 1 : -1)) * w,
                            y: 0,
                          });
                        var I = C ? x * w : 0;
                        return f(s + I + x * h, m, x, g, C, T);
                      }
                    }
                  });
                }),
                (A.newtonsCradle = function (s, u, i, o, h) {
                  for (
                    var l = c.create({ label: "Newtons Cradle" }), f = 0;
                    f < i;
                    f++
                  ) {
                    var v = 1.9,
                      m = e.circle(s + f * (o * v), u + h, o, {
                        inertia: 1 / 0,
                        restitution: 1,
                        friction: 0,
                        frictionAir: 1e-4,
                        slop: 1,
                      }),
                      x = a.create({
                        pointA: { x: s + f * (o * v), y: u },
                        bodyB: m,
                      });
                    (c.addBody(l, m), c.addConstraint(l, x));
                  }
                  return l;
                }),
                (A.car = function (s, u, i, o, h) {
                  var l = n.nextGroup(!0),
                    f = 20,
                    v = -i * 0.5 + f,
                    m = i * 0.5 - f,
                    x = 0,
                    g = c.create({ label: "Car" }),
                    C = e.rectangle(s, u, i, o, {
                      collisionFilter: { group: l },
                      chamfer: { radius: o * 0.5 },
                      density: 2e-4,
                    }),
                    T = e.circle(s + v, u + x, h, {
                      collisionFilter: { group: l },
                      friction: 0.8,
                    }),
                    F = e.circle(s + m, u + x, h, {
                      collisionFilter: { group: l },
                      friction: 0.8,
                    }),
                    w = a.create({
                      bodyB: C,
                      pointB: { x: v, y: x },
                      bodyA: T,
                      stiffness: 1,
                      length: 0,
                    }),
                    U = a.create({
                      bodyB: C,
                      pointB: { x: m, y: x },
                      bodyA: F,
                      stiffness: 1,
                      length: 0,
                    });
                  return (
                    c.addBody(g, C),
                    c.addBody(g, T),
                    c.addBody(g, F),
                    c.addConstraint(g, w),
                    c.addConstraint(g, U),
                    g
                  );
                }),
                (A.softBody = function (s, u, i, o, h, l, f, v, m, x) {
                  ((m = r.extend({ inertia: 1 / 0 }, m)),
                    (x = r.extend(
                      { stiffness: 0.2, render: { type: "line", anchors: !1 } },
                      x,
                    )));
                  var g = A.stack(s, u, i, o, h, l, function (C, T) {
                    return e.circle(C, T, v, m);
                  });
                  return (A.mesh(g, i, o, f, x), (g.label = "Soft Body"), g);
                }));
            })();
          },
          50658: (d, y, t) => {
            var A = {};
            d.exports = A;
            var c = t(10438),
              a = t(68758);
            (function () {
              ((A.fromVertices = function (r) {
                for (var n = {}, e = 0; e < r.length; e++) {
                  var s = (e + 1) % r.length,
                    u = c.normalise({ x: r[s].y - r[e].y, y: r[e].x - r[s].x }),
                    i = u.y === 0 ? 1 / 0 : u.x / u.y;
                  ((i = i.toFixed(3).toString()), (n[i] = u));
                }
                return a.values(n);
              }),
                (A.rotate = function (r, n) {
                  if (n !== 0)
                    for (
                      var e = Math.cos(n), s = Math.sin(n), u = 0;
                      u < r.length;
                      u++
                    ) {
                      var i = r[u],
                        o;
                      ((o = i.x * e - i.y * s),
                        (i.y = i.x * s + i.y * e),
                        (i.x = o));
                    }
                }));
            })();
          },
          84091: (d) => {
            var y = {};
            ((d.exports = y),
              (function () {
                ((y.create = function (t) {
                  var A = { min: { x: 0, y: 0 }, max: { x: 0, y: 0 } };
                  return (t && y.update(A, t), A);
                }),
                  (y.update = function (t, A, c) {
                    ((t.min.x = 1 / 0),
                      (t.max.x = -1 / 0),
                      (t.min.y = 1 / 0),
                      (t.max.y = -1 / 0));
                    for (var a = 0; a < A.length; a++) {
                      var r = A[a];
                      (r.x > t.max.x && (t.max.x = r.x),
                        r.x < t.min.x && (t.min.x = r.x),
                        r.y > t.max.y && (t.max.y = r.y),
                        r.y < t.min.y && (t.min.y = r.y));
                    }
                    c &&
                      (c.x > 0 ? (t.max.x += c.x) : (t.min.x += c.x),
                      c.y > 0 ? (t.max.y += c.y) : (t.min.y += c.y));
                  }),
                  (y.contains = function (t, A) {
                    return (
                      A.x >= t.min.x &&
                      A.x <= t.max.x &&
                      A.y >= t.min.y &&
                      A.y <= t.max.y
                    );
                  }),
                  (y.overlaps = function (t, A) {
                    return (
                      t.min.x <= A.max.x &&
                      t.max.x >= A.min.x &&
                      t.max.y >= A.min.y &&
                      t.min.y <= A.max.y
                    );
                  }),
                  (y.translate = function (t, A) {
                    ((t.min.x += A.x),
                      (t.max.x += A.x),
                      (t.min.y += A.y),
                      (t.max.y += A.y));
                  }),
                  (y.shift = function (t, A) {
                    var c = t.max.x - t.min.x,
                      a = t.max.y - t.min.y;
                    ((t.min.x = A.x),
                      (t.max.x = A.x + c),
                      (t.min.y = A.y),
                      (t.max.y = A.y + a));
                  }));
              })());
          },
          92765: (d, y, t) => {
            var A = {};
            ((d.exports = A), t(84091));
            var c = t(68758);
            (function () {
              ((A.pathToVertices = function (a, r) {
                typeof window < "u" &&
                  !("SVGPathSeg" in window) &&
                  c.warn(
                    "Svg.pathToVertices: SVGPathSeg not defined, a polyfill is required.",
                  );
                var n,
                  e,
                  s,
                  u,
                  i,
                  o,
                  h,
                  l,
                  f,
                  v,
                  m = [],
                  x,
                  g,
                  C = 0,
                  T = 0,
                  F = 0;
                r = r || 15;
                var w = function (M, I, O) {
                    var D = O % 2 === 1 && O > 1;
                    if (!f || M != f.x || I != f.y) {
                      f && D ? ((x = f.x), (g = f.y)) : ((x = 0), (g = 0));
                      var G = { x: x + M, y: g + I };
                      ((D || !f) && (f = G),
                        m.push(G),
                        (T = x + M),
                        (F = g + I));
                    }
                  },
                  U = function (M) {
                    var I = M.pathSegTypeAsLetter.toUpperCase();
                    if (I !== "Z") {
                      switch (I) {
                        case "M":
                        case "L":
                        case "T":
                        case "C":
                        case "S":
                        case "Q":
                          ((T = M.x), (F = M.y));
                          break;
                        case "H":
                          T = M.x;
                          break;
                        case "V":
                          F = M.y;
                          break;
                      }
                      w(T, F, M.pathSegType);
                    }
                  };
                for (
                  A._svgPathToAbsolute(a),
                    s = a.getTotalLength(),
                    o = [],
                    n = 0;
                  n < a.pathSegList.numberOfItems;
                  n += 1
                )
                  o.push(a.pathSegList.getItem(n));
                for (h = o.concat(); C < s; ) {
                  if (((v = a.getPathSegAtLength(C)), (i = o[v]), i != l)) {
                    for (; h.length && h[0] != i; ) U(h.shift());
                    l = i;
                  }
                  switch (i.pathSegTypeAsLetter.toUpperCase()) {
                    case "C":
                    case "T":
                    case "S":
                    case "Q":
                    case "A":
                      ((u = a.getPointAtLength(C)), w(u.x, u.y, 0));
                      break;
                  }
                  C += r;
                }
                for (n = 0, e = h.length; n < e; ++n) U(h[n]);
                return m;
              }),
                (A._svgPathToAbsolute = function (a) {
                  for (
                    var r,
                      n,
                      e,
                      s,
                      u,
                      i,
                      o = a.pathSegList,
                      h = 0,
                      l = 0,
                      f = o.numberOfItems,
                      v = 0;
                    v < f;
                    ++v
                  ) {
                    var m = o.getItem(v),
                      x = m.pathSegTypeAsLetter;
                    if (/[MLHVCSQTA]/.test(x))
                      ("x" in m && (h = m.x), "y" in m && (l = m.y));
                    else
                      switch (
                        ("x1" in m && (e = h + m.x1),
                        "x2" in m && (u = h + m.x2),
                        "y1" in m && (s = l + m.y1),
                        "y2" in m && (i = l + m.y2),
                        "x" in m && (h += m.x),
                        "y" in m && (l += m.y),
                        x)
                      ) {
                        case "m":
                          o.replaceItem(a.createSVGPathSegMovetoAbs(h, l), v);
                          break;
                        case "l":
                          o.replaceItem(a.createSVGPathSegLinetoAbs(h, l), v);
                          break;
                        case "h":
                          o.replaceItem(
                            a.createSVGPathSegLinetoHorizontalAbs(h),
                            v,
                          );
                          break;
                        case "v":
                          o.replaceItem(
                            a.createSVGPathSegLinetoVerticalAbs(l),
                            v,
                          );
                          break;
                        case "c":
                          o.replaceItem(
                            a.createSVGPathSegCurvetoCubicAbs(h, l, e, s, u, i),
                            v,
                          );
                          break;
                        case "s":
                          o.replaceItem(
                            a.createSVGPathSegCurvetoCubicSmoothAbs(h, l, u, i),
                            v,
                          );
                          break;
                        case "q":
                          o.replaceItem(
                            a.createSVGPathSegCurvetoQuadraticAbs(h, l, e, s),
                            v,
                          );
                          break;
                        case "t":
                          o.replaceItem(
                            a.createSVGPathSegCurvetoQuadraticSmoothAbs(h, l),
                            v,
                          );
                          break;
                        case "a":
                          o.replaceItem(
                            a.createSVGPathSegArcAbs(
                              h,
                              l,
                              m.r1,
                              m.r2,
                              m.angle,
                              m.largeArcFlag,
                              m.sweepFlag,
                            ),
                            v,
                          );
                          break;
                        case "z":
                        case "Z":
                          ((h = r), (l = n));
                          break;
                      }
                    (x == "M" || x == "m") && ((r = h), (n = l));
                  }
                }));
            })();
          },
          10438: (d) => {
            var y = {};
            ((d.exports = y),
              (function () {
                ((y.create = function (t, A) {
                  return { x: t || 0, y: A || 0 };
                }),
                  (y.clone = function (t) {
                    return { x: t.x, y: t.y };
                  }),
                  (y.magnitude = function (t) {
                    return Math.sqrt(t.x * t.x + t.y * t.y);
                  }),
                  (y.magnitudeSquared = function (t) {
                    return t.x * t.x + t.y * t.y;
                  }),
                  (y.rotate = function (t, A, c) {
                    var a = Math.cos(A),
                      r = Math.sin(A);
                    c || (c = {});
                    var n = t.x * a - t.y * r;
                    return ((c.y = t.x * r + t.y * a), (c.x = n), c);
                  }),
                  (y.rotateAbout = function (t, A, c, a) {
                    var r = Math.cos(A),
                      n = Math.sin(A);
                    a || (a = {});
                    var e = c.x + ((t.x - c.x) * r - (t.y - c.y) * n);
                    return (
                      (a.y = c.y + ((t.x - c.x) * n + (t.y - c.y) * r)),
                      (a.x = e),
                      a
                    );
                  }),
                  (y.normalise = function (t) {
                    var A = y.magnitude(t);
                    return A === 0
                      ? { x: 0, y: 0 }
                      : { x: t.x / A, y: t.y / A };
                  }),
                  (y.dot = function (t, A) {
                    return t.x * A.x + t.y * A.y;
                  }),
                  (y.cross = function (t, A) {
                    return t.x * A.y - t.y * A.x;
                  }),
                  (y.cross3 = function (t, A, c) {
                    return (
                      (A.x - t.x) * (c.y - t.y) - (A.y - t.y) * (c.x - t.x)
                    );
                  }),
                  (y.add = function (t, A, c) {
                    return (
                      c || (c = {}),
                      (c.x = t.x + A.x),
                      (c.y = t.y + A.y),
                      c
                    );
                  }),
                  (y.sub = function (t, A, c) {
                    return (
                      c || (c = {}),
                      (c.x = t.x - A.x),
                      (c.y = t.y - A.y),
                      c
                    );
                  }),
                  (y.mult = function (t, A) {
                    return { x: t.x * A, y: t.y * A };
                  }),
                  (y.div = function (t, A) {
                    return { x: t.x / A, y: t.y / A };
                  }),
                  (y.perp = function (t, A) {
                    return (
                      (A = A === !0 ? -1 : 1),
                      { x: A * -t.y, y: A * t.x }
                    );
                  }),
                  (y.neg = function (t) {
                    return { x: -t.x, y: -t.y };
                  }),
                  (y.angle = function (t, A) {
                    return Math.atan2(A.y - t.y, A.x - t.x);
                  }),
                  (y._temp = [
                    y.create(),
                    y.create(),
                    y.create(),
                    y.create(),
                    y.create(),
                    y.create(),
                  ]));
              })());
          },
          39745: (d, y, t) => {
            var A = {};
            d.exports = A;
            var c = t(10438),
              a = t(68758);
            (function () {
              ((A.create = function (r, n) {
                for (var e = [], s = 0; s < r.length; s++) {
                  var u = r[s],
                    i = { x: u.x, y: u.y, index: s, body: n, isInternal: !1 };
                  e.push(i);
                }
                return e;
              }),
                (A.fromPath = function (r, n) {
                  var e = /L?\s*([-\d.e]+)[\s,]*([-\d.e]+)*/gi,
                    s = [];
                  return (
                    r.replace(e, function (u, i, o) {
                      s.push({ x: parseFloat(i), y: parseFloat(o) });
                    }),
                    A.create(s, n)
                  );
                }),
                (A.centre = function (r) {
                  for (
                    var n = A.area(r, !0), e = { x: 0, y: 0 }, s, u, i, o = 0;
                    o < r.length;
                    o++
                  )
                    ((i = (o + 1) % r.length),
                      (s = c.cross(r[o], r[i])),
                      (u = c.mult(c.add(r[o], r[i]), s)),
                      (e = c.add(e, u)));
                  return c.div(e, 6 * n);
                }),
                (A.mean = function (r) {
                  for (var n = { x: 0, y: 0 }, e = 0; e < r.length; e++)
                    ((n.x += r[e].x), (n.y += r[e].y));
                  return c.div(n, r.length);
                }),
                (A.area = function (r, n) {
                  for (var e = 0, s = r.length - 1, u = 0; u < r.length; u++)
                    ((e += (r[s].x - r[u].x) * (r[s].y + r[u].y)), (s = u));
                  return n ? e / 2 : Math.abs(e) / 2;
                }),
                (A.inertia = function (r, n) {
                  for (var e = 0, s = 0, u = r, i, o, h = 0; h < u.length; h++)
                    ((o = (h + 1) % u.length),
                      (i = Math.abs(c.cross(u[o], u[h]))),
                      (e +=
                        i *
                        (c.dot(u[o], u[o]) +
                          c.dot(u[o], u[h]) +
                          c.dot(u[h], u[h]))),
                      (s += i));
                  return (n / 6) * (e / s);
                }),
                (A.translate = function (r, n, e) {
                  e = typeof e < "u" ? e : 1;
                  var s = r.length,
                    u = n.x * e,
                    i = n.y * e,
                    o;
                  for (o = 0; o < s; o++) ((r[o].x += u), (r[o].y += i));
                  return r;
                }),
                (A.rotate = function (r, n, e) {
                  if (n !== 0) {
                    var s = Math.cos(n),
                      u = Math.sin(n),
                      i = e.x,
                      o = e.y,
                      h = r.length,
                      l,
                      f,
                      v,
                      m;
                    for (m = 0; m < h; m++)
                      ((l = r[m]),
                        (f = l.x - i),
                        (v = l.y - o),
                        (l.x = i + (f * s - v * u)),
                        (l.y = o + (f * u + v * s)));
                    return r;
                  }
                }),
                (A.contains = function (r, n) {
                  for (
                    var e = n.x, s = n.y, u = r.length, i = r[u - 1], o, h = 0;
                    h < u;
                    h++
                  ) {
                    if (
                      ((o = r[h]),
                      (e - i.x) * (o.y - i.y) + (s - i.y) * (i.x - o.x) > 0)
                    )
                      return !1;
                    i = o;
                  }
                  return !0;
                }),
                (A.scale = function (r, n, e, s) {
                  if (n === 1 && e === 1) return r;
                  s = s || A.centre(r);
                  for (var u, i, o = 0; o < r.length; o++)
                    ((u = r[o]),
                      (i = c.sub(u, s)),
                      (r[o].x = s.x + i.x * n),
                      (r[o].y = s.y + i.y * e));
                  return r;
                }),
                (A.chamfer = function (r, n, e, s, u) {
                  (typeof n == "number" ? (n = [n]) : (n = n || [8]),
                    (e = typeof e < "u" ? e : -1),
                    (s = s || 2),
                    (u = u || 14));
                  for (var i = [], o = 0; o < r.length; o++) {
                    var h = r[o - 1 >= 0 ? o - 1 : r.length - 1],
                      l = r[o],
                      f = r[(o + 1) % r.length],
                      v = n[o < n.length ? o : n.length - 1];
                    if (v === 0) {
                      i.push(l);
                      continue;
                    }
                    var m = c.normalise({ x: l.y - h.y, y: h.x - l.x }),
                      x = c.normalise({ x: f.y - l.y, y: l.x - f.x }),
                      g = Math.sqrt(2 * Math.pow(v, 2)),
                      C = c.mult(a.clone(m), v),
                      T = c.normalise(c.mult(c.add(m, x), 0.5)),
                      F = c.sub(l, c.mult(T, g)),
                      w = e;
                    (e === -1 && (w = Math.pow(v, 0.32) * 1.75),
                      (w = a.clamp(w, s, u)),
                      w % 2 === 1 && (w += 1));
                    for (
                      var U = Math.acos(c.dot(m, x)), M = U / w, I = 0;
                      I < w;
                      I++
                    )
                      i.push(c.add(c.rotate(C, M * I), F));
                  }
                  return i;
                }),
                (A.clockwiseSort = function (r) {
                  var n = A.mean(r);
                  return (
                    r.sort(function (e, s) {
                      return c.angle(n, e) - c.angle(n, s);
                    }),
                    r
                  );
                }),
                (A.isConvex = function (r) {
                  var n = 0,
                    e = r.length,
                    s,
                    u,
                    i,
                    o;
                  if (e < 3) return null;
                  for (s = 0; s < e; s++)
                    if (
                      ((u = (s + 1) % e),
                      (i = (s + 2) % e),
                      (o = (r[u].x - r[s].x) * (r[i].y - r[u].y)),
                      (o -= (r[u].y - r[s].y) * (r[i].x - r[u].x)),
                      o < 0 ? (n |= 1) : o > 0 && (n |= 2),
                      n === 3)
                    )
                      return !1;
                  return n !== 0 ? !0 : null;
                }),
                (A.hull = function (r) {
                  var n = [],
                    e = [],
                    s,
                    u;
                  for (
                    r = r.slice(0),
                      r.sort(function (i, o) {
                        var h = i.x - o.x;
                        return h !== 0 ? h : i.y - o.y;
                      }),
                      u = 0;
                    u < r.length;
                    u += 1
                  ) {
                    for (
                      s = r[u];
                      e.length >= 2 &&
                      c.cross3(e[e.length - 2], e[e.length - 1], s) <= 0;
                    )
                      e.pop();
                    e.push(s);
                  }
                  for (u = r.length - 1; u >= 0; u -= 1) {
                    for (
                      s = r[u];
                      n.length >= 2 &&
                      c.cross3(n[n.length - 2], n[n.length - 1], s) <= 0;
                    )
                      n.pop();
                    n.push(s);
                  }
                  return (n.pop(), e.pop(), n.concat(e));
                }));
            })();
          },
          1675: (d, y, t) => {
            var A = t(18171),
              c = {
                name: "matter-attractors",
                version: "0.1.7",
                for: "matter-js@^0.19.0",
                silent: !0,
                install: function (a) {
                  (a.after("Body.create", function () {
                    c.Body.init(this);
                  }),
                    a.before("Engine.update", function (r) {
                      c.Engine.update(r);
                    }));
                },
                Body: {
                  init: function (a) {
                    a.plugin.attractors = a.plugin.attractors || [];
                  },
                },
                Engine: {
                  update: function (a) {
                    for (
                      var r = A.Composite.allBodies(a.world), n = 0;
                      n < r.length;
                      n++
                    ) {
                      var e = r[n],
                        s = e.plugin.attractors;
                      if (s && s.length > 0)
                        for (var u = 0; u < r.length; u++) {
                          var i = r[u];
                          if (n !== u)
                            for (var o = 0; o < s.length; o++) {
                              var h = s[o],
                                l = h;
                              (A.Common.isFunction(h) && (l = h(e, i)),
                                l && A.Body.applyForce(i, i.position, l));
                            }
                        }
                    }
                  },
                },
                Attractors: {
                  gravityConstant: 0.001,
                  gravity: function (a, r) {
                    var n = A.Vector.sub(r.position, a.position),
                      e = A.Vector.magnitudeSquared(n) || 1e-4,
                      s = A.Vector.normalise(n),
                      u =
                        -c.Attractors.gravityConstant * ((a.mass * r.mass) / e),
                      i = A.Vector.mult(s, u);
                    (A.Body.applyForce(a, a.position, A.Vector.neg(i)),
                      A.Body.applyForce(r, r.position, i));
                  },
                },
              };
            d.exports = c;
          },
          80391: (d) => {
            /**
             * @author       @dxu https://github.com/dxu/matter-collision-events
             * @author       Richard Davey <rich@photonstorm.com>
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              name: "matter-collision-events",
              version: "0.1.6",
              for: "matter-js@^0.19.0",
              silent: !0,
              install: function (t) {
                t.after("Engine.create", function () {
                  (t.Events.on(this, "collisionStart", function (A) {
                    A.pairs.map(function (c) {
                      var a = c.bodyA,
                        r = c.bodyB;
                      (a.gameObject && a.gameObject.emit("collide", a, r, c),
                        r.gameObject && r.gameObject.emit("collide", r, a, c),
                        t.Events.trigger(a, "onCollide", { pair: c }),
                        t.Events.trigger(r, "onCollide", { pair: c }),
                        a.onCollideCallback && a.onCollideCallback(c),
                        r.onCollideCallback && r.onCollideCallback(c),
                        a.onCollideWith[r.id] && a.onCollideWith[r.id](r, c),
                        r.onCollideWith[a.id] && r.onCollideWith[a.id](a, c));
                    });
                  }),
                    t.Events.on(this, "collisionActive", function (A) {
                      A.pairs.map(function (c) {
                        var a = c.bodyA,
                          r = c.bodyB;
                        (a.gameObject &&
                          a.gameObject.emit("collideActive", a, r, c),
                          r.gameObject &&
                            r.gameObject.emit("collideActive", r, a, c),
                          t.Events.trigger(a, "onCollideActive", { pair: c }),
                          t.Events.trigger(r, "onCollideActive", { pair: c }),
                          a.onCollideActiveCallback &&
                            a.onCollideActiveCallback(c),
                          r.onCollideActiveCallback &&
                            r.onCollideActiveCallback(c));
                      });
                    }),
                    t.Events.on(this, "collisionEnd", function (A) {
                      A.pairs.map(function (c) {
                        var a = c.bodyA,
                          r = c.bodyB;
                        (a.gameObject &&
                          a.gameObject.emit("collideEnd", a, r, c),
                          r.gameObject &&
                            r.gameObject.emit("collideEnd", r, a, c),
                          t.Events.trigger(a, "onCollideEnd", { pair: c }),
                          t.Events.trigger(r, "onCollideEnd", { pair: c }),
                          a.onCollideEndCallback && a.onCollideEndCallback(c),
                          r.onCollideEndCallback && r.onCollideEndCallback(c));
                      });
                    }));
                });
              },
            };
            d.exports = y;
          },
          44097: (d, y, t) => {
            var A = t(18171),
              c = {
                name: "matter-wrap",
                version: "0.1.4",
                for: "matter-js@^0.19.0",
                silent: !0,
                install: function (a) {
                  a.after("Engine.update", function () {
                    c.Engine.update(this);
                  });
                },
                Engine: {
                  update: function (a) {
                    for (
                      var r = a.world,
                        n = A.Composite.allBodies(r),
                        e = A.Composite.allComposites(r),
                        s = 0;
                      s < n.length;
                      s += 1
                    ) {
                      var u = n[s];
                      u.plugin.wrap && c.Body.wrap(u, u.plugin.wrap);
                    }
                    for (s = 0; s < e.length; s += 1) {
                      var i = e[s];
                      i.plugin.wrap && c.Composite.wrap(i, i.plugin.wrap);
                    }
                  },
                },
                Bounds: {
                  wrap: function (a, r) {
                    var n = null,
                      e = null;
                    if (
                      (typeof r.min.x < "u" &&
                        typeof r.max.x < "u" &&
                        (a.min.x > r.max.x
                          ? (n = r.min.x - a.max.x)
                          : a.max.x < r.min.x && (n = r.max.x - a.min.x)),
                      typeof r.min.y < "u" &&
                        typeof r.max.y < "u" &&
                        (a.min.y > r.max.y
                          ? (e = r.min.y - a.max.y)
                          : a.max.y < r.min.y && (e = r.max.y - a.min.y)),
                      n !== null || e !== null)
                    )
                      return { x: n || 0, y: e || 0 };
                  },
                },
                Body: {
                  wrap: function (a, r) {
                    var n = c.Bounds.wrap(a.bounds, r);
                    return (n && A.Body.translate(a, n), n);
                  },
                },
                Composite: {
                  bounds: function (a) {
                    for (
                      var r = A.Composite.allBodies(a), n = [], e = 0;
                      e < r.length;
                      e += 1
                    ) {
                      var s = r[e];
                      n.push(s.bounds.min, s.bounds.max);
                    }
                    return A.Bounds.create(n);
                  },
                  wrap: function (a, r) {
                    var n = c.Bounds.wrap(c.Composite.bounds(a), r);
                    return (n && A.Composite.translate(a, n), n);
                  },
                },
              };
            d.exports = c;
          },
          81084: (d) => {
            /**
             * @author       Stefan Hedman <schteppe@gmail.com> (http://steffe.se)
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              decomp: U,
              quickDecomp: D,
              isSimple: I,
              removeCollinearPoints: G,
              removeDuplicatePoints: X,
              makeCCW: f,
            };
            function y(N, b, R) {
              R = R || 0;
              var H = [0, 0],
                Q,
                V,
                Y,
                J,
                $,
                W,
                Z;
              return (
                (Q = N[1][1] - N[0][1]),
                (V = N[0][0] - N[1][0]),
                (Y = Q * N[0][0] + V * N[0][1]),
                (J = b[1][1] - b[0][1]),
                ($ = b[0][0] - b[1][0]),
                (W = J * b[0][0] + $ * b[0][1]),
                (Z = Q * $ - J * V),
                z(Z, 0, R) ||
                  ((H[0] = ($ * Y - V * W) / Z), (H[1] = (Q * W - J * Y) / Z)),
                H
              );
            }
            function t(N, b, R, H) {
              var Q = b[0] - N[0],
                V = b[1] - N[1],
                Y = H[0] - R[0],
                J = H[1] - R[1];
              if (Y * V - J * Q === 0) return !1;
              var $ = (Q * (R[1] - N[1]) + V * (N[0] - R[0])) / (Y * V - J * Q),
                W = (Y * (N[1] - R[1]) + J * (R[0] - N[0])) / (J * Q - Y * V);
              return $ >= 0 && $ <= 1 && W >= 0 && W <= 1;
            }
            function A(N, b, R) {
              return (
                (b[0] - N[0]) * (R[1] - N[1]) - (R[0] - N[0]) * (b[1] - N[1])
              );
            }
            function c(N, b, R) {
              return A(N, b, R) > 0;
            }
            function a(N, b, R) {
              return A(N, b, R) >= 0;
            }
            function r(N, b, R) {
              return A(N, b, R) < 0;
            }
            function n(N, b, R) {
              return A(N, b, R) <= 0;
            }
            var e = [],
              s = [];
            function u(N, b, R, H) {
              if (H) {
                var Q = e,
                  V = s;
                ((Q[0] = b[0] - N[0]),
                  (Q[1] = b[1] - N[1]),
                  (V[0] = R[0] - b[0]),
                  (V[1] = R[1] - b[1]));
                var Y = Q[0] * V[0] + Q[1] * V[1],
                  J = Math.sqrt(Q[0] * Q[0] + Q[1] * Q[1]),
                  $ = Math.sqrt(V[0] * V[0] + V[1] * V[1]),
                  W = Math.acos(Y / (J * $));
                return W < H;
              } else return A(N, b, R) === 0;
            }
            function i(N, b) {
              var R = b[0] - N[0],
                H = b[1] - N[1];
              return R * R + H * H;
            }
            function o(N, b) {
              var R = N.length;
              return N[b < 0 ? (b % R) + R : b % R];
            }
            function h(N) {
              N.length = 0;
            }
            function l(N, b, R, H) {
              for (var Q = R; Q < H; Q++) N.push(b[Q]);
            }
            function f(N) {
              for (var b = 0, R = N, H = 1; H < N.length; ++H)
                (R[H][1] < R[b][1] ||
                  (R[H][1] === R[b][1] && R[H][0] > R[b][0])) &&
                  (b = H);
              return c(o(N, b - 1), o(N, b), o(N, b + 1)) ? !1 : (v(N), !0);
            }
            function v(N) {
              for (var b = [], R = N.length, H = 0; H !== R; H++)
                b.push(N.pop());
              for (var H = 0; H !== R; H++) N[H] = b[H];
            }
            function m(N, b) {
              return r(o(N, b - 1), o(N, b), o(N, b + 1));
            }
            var x = [],
              g = [];
            function C(N, b, R) {
              var H,
                Q,
                V = x,
                Y = g;
              if (
                a(o(N, b + 1), o(N, b), o(N, R)) &&
                n(o(N, b - 1), o(N, b), o(N, R))
              )
                return !1;
              Q = i(o(N, b), o(N, R));
              for (var J = 0; J !== N.length; ++J)
                if (
                  !((J + 1) % N.length === b || J === b) &&
                  a(o(N, b), o(N, R), o(N, J + 1)) &&
                  n(o(N, b), o(N, R), o(N, J)) &&
                  ((V[0] = o(N, b)),
                  (V[1] = o(N, R)),
                  (Y[0] = o(N, J)),
                  (Y[1] = o(N, J + 1)),
                  (H = y(V, Y)),
                  i(o(N, b), H) < Q)
                )
                  return !1;
              return !0;
            }
            function T(N, b, R) {
              for (var H = 0; H !== N.length; ++H)
                if (
                  !(
                    H === b ||
                    H === R ||
                    (H + 1) % N.length === b ||
                    (H + 1) % N.length === R
                  ) &&
                  t(o(N, b), o(N, R), o(N, H), o(N, H + 1))
                )
                  return !1;
              return !0;
            }
            function F(N, b, R, H) {
              var Q = H || [];
              if ((h(Q), b < R)) for (var V = b; V <= R; V++) Q.push(N[V]);
              else {
                for (var V = 0; V <= R; V++) Q.push(N[V]);
                for (var V = b; V < N.length; V++) Q.push(N[V]);
              }
              return Q;
            }
            function w(N) {
              for (
                var b = [], R = [], H = [], Q = [], V = Number.MAX_VALUE, Y = 0;
                Y < N.length;
                ++Y
              )
                if (m(N, Y)) {
                  for (var J = 0; J < N.length; ++J)
                    if (C(N, Y, J)) {
                      ((R = w(F(N, Y, J, Q))), (H = w(F(N, J, Y, Q))));
                      for (var $ = 0; $ < H.length; $++) R.push(H[$]);
                      R.length < V &&
                        ((b = R), (V = R.length), b.push([o(N, Y), o(N, J)]));
                    }
                }
              return b;
            }
            function U(N) {
              var b = w(N);
              return b.length > 0 ? M(N, b) : [N];
            }
            function M(N, b) {
              if (b.length === 0) return [N];
              if (
                b instanceof Array &&
                b.length &&
                b[0] instanceof Array &&
                b[0].length === 2 &&
                b[0][0] instanceof Array
              ) {
                for (var R = [N], H = 0; H < b.length; H++)
                  for (var Q = b[H], V = 0; V < R.length; V++) {
                    var Y = R[V],
                      J = M(Y, Q);
                    if (J) {
                      (R.splice(V, 1), R.push(J[0], J[1]));
                      break;
                    }
                  }
                return R;
              } else {
                var Q = b,
                  H = N.indexOf(Q[0]),
                  V = N.indexOf(Q[1]);
                return H !== -1 && V !== -1 ? [F(N, H, V), F(N, V, H)] : !1;
              }
            }
            function I(N) {
              var b = N,
                R;
              for (R = 0; R < b.length - 1; R++)
                for (var H = 0; H < R - 1; H++)
                  if (t(b[R], b[R + 1], b[H], b[H + 1])) return !1;
              for (R = 1; R < b.length - 2; R++)
                if (t(b[0], b[b.length - 1], b[R], b[R + 1])) return !1;
              return !0;
            }
            function O(N, b, R, H, Q) {
              Q = Q || 0;
              var V = b[1] - N[1],
                Y = N[0] - b[0],
                J = V * N[0] + Y * N[1],
                $ = H[1] - R[1],
                W = R[0] - H[0],
                Z = $ * R[0] + W * R[1],
                j = V * W - $ * Y;
              return z(j, 0, Q)
                ? [0, 0]
                : [(W * J - Y * Z) / j, (V * Z - $ * J) / j];
            }
            function D(N, b, R, H, Q, V, Y) {
              ((V = V || 100),
                (Y = Y || 0),
                (Q = Q || 25),
                (b = typeof b < "u" ? b : []),
                (R = R || []),
                (H = H || []));
              var J = [0, 0],
                $ = [0, 0],
                W = [0, 0],
                Z = 0,
                j = 0,
                k = 0,
                _ = 0,
                q = 0,
                et = 0,
                st = 0,
                nt = [],
                it = [],
                tt = N,
                rt = N;
              if (rt.length < 3) return b;
              if ((Y++, Y > V))
                return (
                  console.warn("quickDecomp: max level (" + V + ") reached."),
                  b
                );
              for (var at = 0; at < N.length; ++at)
                if (m(tt, at)) {
                  (R.push(tt[at]), (Z = j = Number.MAX_VALUE));
                  for (var ot = 0; ot < N.length; ++ot)
                    (c(o(tt, at - 1), o(tt, at), o(tt, ot)) &&
                      n(o(tt, at - 1), o(tt, at), o(tt, ot - 1)) &&
                      ((W = O(
                        o(tt, at - 1),
                        o(tt, at),
                        o(tt, ot),
                        o(tt, ot - 1),
                      )),
                      r(o(tt, at + 1), o(tt, at), W) &&
                        ((k = i(tt[at], W)),
                        k < j && ((j = k), ($ = W), (et = ot)))),
                      c(o(tt, at + 1), o(tt, at), o(tt, ot + 1)) &&
                        n(o(tt, at + 1), o(tt, at), o(tt, ot)) &&
                        ((W = O(
                          o(tt, at + 1),
                          o(tt, at),
                          o(tt, ot),
                          o(tt, ot + 1),
                        )),
                        c(o(tt, at - 1), o(tt, at), W) &&
                          ((k = i(tt[at], W)),
                          k < Z && ((Z = k), (J = W), (q = ot)))));
                  if (et === (q + 1) % N.length)
                    ((W[0] = ($[0] + J[0]) / 2),
                      (W[1] = ($[1] + J[1]) / 2),
                      H.push(W),
                      at < q
                        ? (l(nt, tt, at, q + 1),
                          nt.push(W),
                          it.push(W),
                          et !== 0 && l(it, tt, et, tt.length),
                          l(it, tt, 0, at + 1))
                        : (at !== 0 && l(nt, tt, at, tt.length),
                          l(nt, tt, 0, q + 1),
                          nt.push(W),
                          it.push(W),
                          l(it, tt, et, at + 1)));
                  else {
                    if (
                      (et > q && (q += N.length),
                      (_ = Number.MAX_VALUE),
                      q < et)
                    )
                      return b;
                    for (var ot = et; ot <= q; ++ot)
                      a(o(tt, at - 1), o(tt, at), o(tt, ot)) &&
                        n(o(tt, at + 1), o(tt, at), o(tt, ot)) &&
                        ((k = i(o(tt, at), o(tt, ot))),
                        k < _ &&
                          T(tt, at, ot) &&
                          ((_ = k), (st = ot % N.length)));
                    at < st
                      ? (l(nt, tt, at, st + 1),
                        st !== 0 && l(it, tt, st, rt.length),
                        l(it, tt, 0, at + 1))
                      : (at !== 0 && l(nt, tt, at, rt.length),
                        l(nt, tt, 0, st + 1),
                        l(it, tt, st, at + 1));
                  }
                  return (
                    nt.length < it.length
                      ? (D(nt, b, R, H, Q, V, Y), D(it, b, R, H, Q, V, Y))
                      : (D(it, b, R, H, Q, V, Y), D(nt, b, R, H, Q, V, Y)),
                    b
                  );
                }
              return (b.push(N), b);
            }
            function G(N, b) {
              for (var R = 0, H = N.length - 1; N.length > 3 && H >= 0; --H)
                u(o(N, H - 1), o(N, H), o(N, H + 1), b) &&
                  (N.splice(H % N.length, 1), R++);
              return R;
            }
            function X(N, b) {
              for (var R = N.length - 1; R >= 1; --R)
                for (var H = N[R], Q = R - 1; Q >= 0; --Q)
                  if (K(H, N[Q], b)) {
                    N.splice(R, 1);
                    continue;
                  }
            }
            function z(N, b, R) {
              return ((R = R || 0), Math.abs(N - b) <= R);
            }
            function K(N, b, R) {
              return z(N[0], b[0], R) && z(N[1], b[1], R);
            }
          },
          88257: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://github.com/photonstorm/phaser3-plugin-template/blob/master/LICENSE|MIT License}
             */ var A = t(56694),
              c = new A({
                initialize: function (r) {
                  ((this.pluginManager = r), (this.game = r.game));
                },
                init: function () {},
                start: function () {},
                stop: function () {},
                destroy: function () {
                  ((this.pluginManager = null),
                    (this.game = null),
                    (this.scene = null),
                    (this.systems = null));
                },
              });
            d.exports = c;
          },
          18360: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              Global: [
                "game",
                "anims",
                "cache",
                "plugins",
                "registry",
                "scale",
                "sound",
                "textures",
                "renderer",
              ],
              CoreScene: [
                "EventEmitter",
                "CameraManager",
                "GameObjectCreator",
                "GameObjectFactory",
                "ScenePlugin",
                "DisplayList",
                "UpdateList",
              ],
              DefaultScene: [
                "Clock",
                "DataManagerPlugin",
                "InputPlugin",
                "Loader",
                "TweenManager",
                "LightsPlugin",
              ],
            };
            d.exports = y;
          },
          91963: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {},
              t = {},
              A = {};
            ((A.register = function (c, a, r, n) {
              (n === void 0 && (n = !1),
                (y[c] = { plugin: a, mapping: r, custom: n }));
            }),
              (A.registerCustom = function (c, a, r, n) {
                t[c] = { plugin: a, mapping: r, data: n };
              }),
              (A.hasCore = function (c) {
                return y.hasOwnProperty(c);
              }),
              (A.hasCustom = function (c) {
                return t.hasOwnProperty(c);
              }),
              (A.getCore = function (c) {
                return y[c];
              }),
              (A.getCustom = function (c) {
                return t[c];
              }),
              (A.getCustomClass = function (c) {
                return t.hasOwnProperty(c) ? t[c].plugin : null;
              }),
              (A.remove = function (c) {
                y.hasOwnProperty(c) && delete y[c];
              }),
              (A.removeCustom = function (c) {
                t.hasOwnProperty(c) && delete t[c];
              }),
              (A.destroyCorePlugins = function () {
                for (var c in y) y.hasOwnProperty(c) && delete y[c];
              }),
              (A.destroyCustomPlugins = function () {
                for (var c in t) t.hasOwnProperty(c) && delete t[c];
              }),
              (d.exports = A));
          },
          49274: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(97081),
              a = t(6659),
              r = t(76846),
              n = t(99325),
              e = t(61286),
              s = t(72632),
              u = t(91963),
              i = t(66458),
              o = new A({
                Extends: a,
                initialize: function (l) {
                  (a.call(this),
                    (this.game = l),
                    (this.plugins = []),
                    (this.scenePlugins = []),
                    (this._pendingGlobal = []),
                    (this._pendingScene = []),
                    l.isBooted
                      ? this.boot()
                      : l.events.once(
                          c.BOOT,
                          this.boot,
                          _____WB$wombat$check$this$function_____(this),
                        ));
                },
                boot: function () {
                  var h,
                    l,
                    f,
                    v,
                    m,
                    x,
                    g,
                    C = this.game.config,
                    T = C.installGlobalPlugins;
                  for (
                    T = T.concat(this._pendingGlobal), h = 0;
                    h < T.length;
                    h++
                  )
                    ((l = T[h]),
                      (f = s(l, "key", null)),
                      (v = s(l, "plugin", null)),
                      (m = s(l, "start", !1)),
                      (x = s(l, "mapping", null)),
                      (g = s(l, "data", null)),
                      f &&
                        (v
                          ? this.install(f, v, m, x, g)
                          : console.warn("Missing `plugin` for key: " + f)));
                  for (
                    T = C.installScenePlugins,
                      T = T.concat(this._pendingScene),
                      h = 0;
                    h < T.length;
                    h++
                  )
                    ((l = T[h]),
                      (f = s(l, "key", null)),
                      (v = s(l, "plugin", null)),
                      (x = s(l, "mapping", null)),
                      f &&
                        (v
                          ? this.installScenePlugin(f, v, x)
                          : console.warn("Missing `plugin` for key: " + f)));
                  ((this._pendingGlobal = []),
                    (this._pendingScene = []),
                    this.game.events.once(
                      c.DESTROY,
                      this.destroy,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                addToScene: function (h, l, f) {
                  var v,
                    m,
                    x,
                    g = this.game,
                    C = h.scene,
                    T = h.settings.map,
                    F = h.settings.isBooted;
                  for (v = 0; v < l.length; v++)
                    ((m = l[v]),
                      g[m]
                        ? ((h[m] = g[m]),
                          T.hasOwnProperty(m) && (C[T[m]] = h[m]))
                        : m === "game" && T.hasOwnProperty(m) && (C[T[m]] = g));
                  for (var w = 0; w < f.length; w++)
                    for (x = f[w], v = 0; v < x.length; v++)
                      if (((m = x[v]), !!u.hasCore(m))) {
                        var U = u.getCore(m),
                          M = U.mapping,
                          I = new U.plugin(
                            C,
                            _____WB$wombat$check$this$function_____(this),
                            M,
                          );
                        ((h[M] = I),
                          U.custom
                            ? (C[M] = I)
                            : T.hasOwnProperty(M) && (C[T[M]] = I),
                          F && I.boot());
                      }
                  for (x = this.plugins, v = 0; v < x.length; v++) {
                    var O = x[v];
                    O.mapping && (C[O.mapping] = O.plugin);
                  }
                },
                getDefaultScenePlugins: function () {
                  var h = this.game.config.defaultPlugins;
                  return ((h = h.concat(this.scenePlugins)), h);
                },
                installScenePlugin: function (h, l, f, v, m) {
                  if ((m === void 0 && (m = !1), typeof l != "function")) {
                    console.warn("Invalid Scene Plugin: " + h);
                    return;
                  }
                  if (
                    (u.hasCore(h) || u.register(h, l, f, !0),
                    this.scenePlugins.indexOf(h) === -1)
                  )
                    this.scenePlugins.push(h);
                  else if (!m && u.hasCore(h)) {
                    console.warn("Scene Plugin key in use: " + h);
                    return;
                  }
                  if (v) {
                    var x = new l(
                      v,
                      _____WB$wombat$check$this$function_____(this),
                      h,
                    );
                    ((v.sys[h] = x), f && f !== "" && (v[f] = x), x.boot());
                  }
                },
                install: function (h, l, f, v, m) {
                  if (
                    (f === void 0 && (f = !1),
                    v === void 0 && (v = null),
                    m === void 0 && (m = null),
                    typeof l != "function")
                  )
                    return (console.warn("Invalid Plugin: " + h), null);
                  if (u.hasCustom(h))
                    return (console.warn("Plugin key in use: " + h), null);
                  if ((v !== null && (f = !0), !this.game.isBooted))
                    this._pendingGlobal.push({
                      key: h,
                      plugin: l,
                      start: f,
                      mapping: v,
                      data: m,
                    });
                  else if ((u.registerCustom(h, l, v, m), f))
                    return this.start(h);
                  return null;
                },
                getIndex: function (h) {
                  for (var l = this.plugins, f = 0; f < l.length; f++) {
                    var v = l[f];
                    if (v.key === h) return f;
                  }
                  return -1;
                },
                getEntry: function (h) {
                  var l = this.getIndex(h);
                  if (l !== -1) return this.plugins[l];
                },
                isActive: function (h) {
                  var l = this.getEntry(h);
                  return l && l.active;
                },
                start: function (h, l) {
                  l === void 0 && (l = h);
                  var f = this.getEntry(l);
                  return (
                    f && !f.active
                      ? ((f.active = !0), f.plugin.start())
                      : f || (f = this.createEntry(h, l)),
                    f ? f.plugin : null
                  );
                },
                createEntry: function (h, l) {
                  var f = u.getCustom(h);
                  if (f) {
                    var v = new f.plugin(this);
                    ((f = {
                      key: l,
                      plugin: v,
                      active: !0,
                      mapping: f.mapping,
                      data: f.data,
                    }),
                      this.plugins.push(f),
                      v.init(f.data),
                      v.start());
                  }
                  return f;
                },
                stop: function (h) {
                  var l = this.getEntry(h);
                  return (
                    l && l.active && ((l.active = !1), l.plugin.stop()),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                get: function (h, l) {
                  l === void 0 && (l = !0);
                  var f = this.getEntry(h);
                  if (f) return f.plugin;
                  var v = this.getClass(h);
                  return v && l
                    ? ((f = this.createEntry(h, h)), f ? f.plugin : null)
                    : v || null;
                },
                getClass: function (h) {
                  return u.getCustomClass(h);
                },
                removeGlobalPlugin: function (h) {
                  var l = this.getEntry(h);
                  (l && i(this.plugins, l), u.removeCustom(h));
                },
                removeScenePlugin: function (h) {
                  (i(this.scenePlugins, h), u.remove(h));
                },
                registerGameObject: function (h, l, f) {
                  return (
                    l && e.register(h, l),
                    f && n.register(h, f),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                removeGameObject: function (h, l, f) {
                  return (
                    l === void 0 && (l = !0),
                    f === void 0 && (f = !0),
                    l && e.remove(h),
                    f && n.remove(h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                registerFileType: function (h, l, f) {
                  (r.register(h, l), f && f.sys.load && (f.sys.load[h] = l));
                },
                destroy: function () {
                  for (var h = 0; h < this.plugins.length; h++)
                    this.plugins[h].plugin.destroy();
                  (u.destroyCustomPlugins(),
                    this.game.noReturn && u.destroyCorePlugins(),
                    (this.game = null),
                    (this.plugins = []),
                    (this.scenePlugins = []));
                },
              });
            d.exports = o;
          },
          39283: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://github.com/photonstorm/phaser3-plugin-template/blob/master/LICENSE|MIT License}
             */ var A = t(88257),
              c = t(56694),
              a = t(7599),
              r = new c({
                Extends: A,
                initialize: function (e, s, u) {
                  (A.call(this, s),
                    (this.scene = e),
                    (this.systems = e.sys),
                    (this.pluginKey = u),
                    e.sys.events.once(
                      a.BOOT,
                      this.boot,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                boot: function () {},
                destroy: function () {
                  ((this.pluginManager = null),
                    (this.game = null),
                    (this.scene = null),
                    (this.systems = null));
                },
              });
            d.exports = r;
          },
          45615: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              BasePlugin: t(88257),
              DefaultPlugins: t(18360),
              PluginCache: t(91963),
              PluginManager: t(49274),
              ScenePlugin: t(39283),
            };
          },
          75205: () => {
            HTMLVideoElement &&
              !("requestVideoFrameCallback" in HTMLVideoElement.prototype) &&
              "getVideoPlaybackQuality" in HTMLVideoElement.prototype &&
              ((HTMLVideoElement.prototype._rvfcpolyfillmap = {}),
              (HTMLVideoElement.prototype.requestVideoFrameCallback = function (
                d,
              ) {
                const y = performance.now(),
                  t = this.getVideoPlaybackQuality(),
                  A =
                    this.mozPresentedFrames ||
                    this.mozPaintedFrames ||
                    t.totalVideoFrames - t.droppedVideoFrames,
                  c = (a, r) => {
                    const n = this.getVideoPlaybackQuality(),
                      e =
                        this.mozPresentedFrames ||
                        this.mozPaintedFrames ||
                        n.totalVideoFrames - n.droppedVideoFrames;
                    if (e > A) {
                      const s =
                          this.mozFrameDelay ||
                          n.totalFrameDelay - t.totalFrameDelay ||
                          0,
                        u = r - a;
                      (d(r, {
                        presentationTime: r + s * 1e3,
                        expectedDisplayTime: r + u,
                        width: this.videoWidth,
                        height: this.videoHeight,
                        mediaTime: Math.max(0, this.currentTime || 0) + u / 1e3,
                        presentedFrames: e,
                        processingDuration: s,
                      }),
                        delete this._rvfcpolyfillmap[y]);
                    } else
                      this._rvfcpolyfillmap[y] = requestAnimationFrame((s) =>
                        c(r, s),
                      );
                  };
                return (
                  (this._rvfcpolyfillmap[y] = requestAnimationFrame((a) =>
                    c(y, a),
                  )),
                  y
                );
              }),
              (HTMLVideoElement.prototype.cancelVideoFrameCallback = function (
                d,
              ) {
                (cancelAnimationFrame(this._rvfcpolyfillmap[d]),
                  delete this._rvfcpolyfillmap[d]);
              }));
          },
          95723: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              SKIP_CHECK: -1,
              NORMAL: 0,
              ADD: 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: 16,
              ERASE: 17,
              SOURCE_IN: 18,
              SOURCE_OUT: 19,
              SOURCE_ATOP: 20,
              DESTINATION_OVER: 21,
              DESTINATION_IN: 22,
              DESTINATION_OUT: 23,
              DESTINATION_ATOP: 24,
              LIGHTER: 25,
              COPY: 26,
              XOR: 27,
            };
          },
          27394: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = { DEFAULT: 0, LINEAR: 0, NEAREST: 1 };
            d.exports = y;
          },
          91135: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @author       Felipe Alfonso <@bitnenfer>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(89787),
              c = t(61840),
              a = t(56694),
              r = t(86459),
              n = t(6659),
              e = t(81044),
              s = t(32834),
              u = t(40444),
              i = t(38203),
              o = t(69360),
              h = new a({
                Extends: n,
                initialize: function (f) {
                  n.call(this);
                  var v = f.config;
                  ((this.config = {
                    clearBeforeRender: v.clearBeforeRender,
                    backgroundColor: v.backgroundColor,
                    antialias: v.antialias,
                    roundPixels: v.roundPixels,
                  }),
                    (this.game = f),
                    (this.type = r.CANVAS),
                    (this.drawCount = 0),
                    (this.width = 0),
                    (this.height = 0),
                    (this.gameCanvas = f.canvas));
                  var m = {
                    alpha: f.config.transparent,
                    desynchronized: f.config.desynchronized,
                    willReadFrequently: !1,
                  };
                  ((this.gameContext = v.context
                    ? v.context
                    : this.gameCanvas.getContext("2d", m)),
                    (this.currentContext = this.gameContext),
                    (this.antialias = f.config.antialias),
                    (this.blendModes = s()),
                    (this.snapshotState = {
                      x: 0,
                      y: 0,
                      width: 1,
                      height: 1,
                      getPixel: !1,
                      callback: null,
                      type: "image/png",
                      encoder: 0.92,
                    }),
                    (this._tempMatrix1 = new o()),
                    (this._tempMatrix2 = new o()),
                    (this._tempMatrix3 = new o()),
                    (this.isBooted = !1),
                    this.init());
                },
                init: function () {
                  this.game.textures.once(
                    i.READY,
                    this.boot,
                    _____WB$wombat$check$this$function_____(this),
                  );
                },
                boot: function () {
                  var l = this.game,
                    f = l.scale.baseSize;
                  ((this.width = f.width),
                    (this.height = f.height),
                    (this.isBooted = !0),
                    l.scale.on(
                      u.RESIZE,
                      this.onResize,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    this.resize(f.width, f.height));
                },
                onResize: function (l, f) {
                  (f.width !== this.width || f.height !== this.height) &&
                    this.resize(f.width, f.height);
                },
                resize: function (l, f) {
                  ((this.width = l),
                    (this.height = f),
                    this.emit(e.RESIZE, l, f));
                },
                resetTransform: function () {
                  this.currentContext.setTransform(1, 0, 0, 1, 0, 0);
                },
                setBlendMode: function (l) {
                  return (
                    (this.currentContext.globalCompositeOperation = l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setContext: function (l) {
                  return (
                    (this.currentContext = l || this.gameContext),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setAlpha: function (l) {
                  return (
                    (this.currentContext.globalAlpha = l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                preRender: function () {
                  var l = this.gameContext,
                    f = this.config,
                    v = this.width,
                    m = this.height;
                  ((l.globalAlpha = 1),
                    (l.globalCompositeOperation = "source-over"),
                    l.setTransform(1, 0, 0, 1, 0, 0),
                    f.clearBeforeRender &&
                      (l.clearRect(0, 0, v, m),
                      f.transparent ||
                        ((l.fillStyle = f.backgroundColor.rgba),
                        l.fillRect(0, 0, v, m))),
                    l.save(),
                    (this.drawCount = 0),
                    this.emit(e.PRE_RENDER));
                },
                render: function (l, f, v) {
                  var m = f.length;
                  this.emit(e.RENDER, l, v);
                  var x = v.x,
                    g = v.y,
                    C = v.width,
                    T = v.height,
                    F = v.renderToTexture ? v.context : l.sys.context;
                  (F.save(),
                    this.game.scene.customViewports &&
                      (F.beginPath(), F.rect(x, g, C, T), F.clip()),
                    v.emit(A.PRE_RENDER, v),
                    (this.currentContext = F));
                  var w = v.mask;
                  (w && w.preRenderCanvas(this, null, v._maskCamera),
                    v.transparent ||
                      ((F.fillStyle = v.backgroundColor.rgba),
                      F.fillRect(x, g, C, T)),
                    (F.globalAlpha = v.alpha),
                    (F.globalCompositeOperation = "source-over"),
                    (this.drawCount += m),
                    v.renderToTexture && v.emit(A.PRE_RENDER, v),
                    v.matrix.copyToContext(F));
                  for (var U = 0; U < m; U++) {
                    var M = f[U];
                    (M.mask && M.mask.preRenderCanvas(this, M, v),
                      M.renderCanvas(this, M, v),
                      M.mask && M.mask.postRenderCanvas(this, M, v));
                  }
                  (F.setTransform(1, 0, 0, 1, 0, 0),
                    (F.globalCompositeOperation = "source-over"),
                    (F.globalAlpha = 1),
                    v.flashEffect.postRenderCanvas(F),
                    v.fadeEffect.postRenderCanvas(F),
                    (v.dirty = !1),
                    w && w.postRenderCanvas(this),
                    F.restore(),
                    v.renderToTexture &&
                      (v.emit(A.POST_RENDER, v),
                      v.renderToGame &&
                        l.sys.context.drawImage(v.canvas, x, g)),
                    v.emit(A.POST_RENDER, v));
                },
                postRender: function () {
                  var l = this.gameContext;
                  (l.restore(), this.emit(e.POST_RENDER));
                  var f = this.snapshotState;
                  f.callback && (c(this.gameCanvas, f), (f.callback = null));
                },
                snapshotCanvas: function (l, f, v, m, x, g, C, T, F) {
                  (v === void 0 && (v = !1),
                    this.snapshotArea(m, x, g, C, f, T, F));
                  var w = this.snapshotState;
                  return (
                    (w.getPixel = v),
                    c(l, w),
                    (w.callback = null),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                snapshot: function (l, f, v) {
                  return this.snapshotArea(
                    0,
                    0,
                    this.gameCanvas.width,
                    this.gameCanvas.height,
                    l,
                    f,
                    v,
                  );
                },
                snapshotArea: function (l, f, v, m, x, g, C) {
                  var T = this.snapshotState;
                  return (
                    (T.callback = x),
                    (T.type = g),
                    (T.encoder = C),
                    (T.getPixel = !1),
                    (T.x = l),
                    (T.y = f),
                    (T.width = Math.min(v, this.gameCanvas.width)),
                    (T.height = Math.min(m, this.gameCanvas.height)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                snapshotPixel: function (l, f, v) {
                  return (
                    this.snapshotArea(l, f, 1, 1, v),
                    (this.snapshotState.getPixel = !0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                batchSprite: function (l, f, v, m) {
                  var x = v.alpha * l.alpha;
                  if (x !== 0) {
                    var g = this.currentContext,
                      C = this._tempMatrix1,
                      T = this._tempMatrix2,
                      F = f.canvasData,
                      w = F.x,
                      U = F.y,
                      M = f.cutWidth,
                      I = f.cutHeight,
                      O = f.customPivot,
                      D = f.source.resolution,
                      G = l.displayOriginX,
                      X = l.displayOriginY,
                      z = -G + f.x,
                      K = -X + f.y;
                    if (l.isCropped) {
                      var N = l._crop;
                      ((N.flipX !== l.flipX || N.flipY !== l.flipY) &&
                        f.updateCropUVs(N, l.flipX, l.flipY),
                        (M = N.cw),
                        (I = N.ch),
                        (w = N.cx),
                        (U = N.cy),
                        (z = -G + N.x),
                        (K = -X + N.y),
                        l.flipX &&
                          (z >= 0
                            ? (z = -(z + M))
                            : z < 0 && (z = Math.abs(z) - M)),
                        l.flipY &&
                          (K >= 0
                            ? (K = -(K + I))
                            : K < 0 && (K = Math.abs(K) - I)));
                    }
                    var b = 1,
                      R = 1;
                    (l.flipX && (O || (z += -f.realWidth + G * 2), (b = -1)),
                      l.flipY && (O || (K += -f.realHeight + X * 2), (R = -1)));
                    var H = l.x,
                      Q = l.y;
                    (T.applyITRS(H, Q, l.rotation, l.scaleX * b, l.scaleY * R),
                      C.copyFrom(v.matrix),
                      m
                        ? (C.multiplyWithOffset(
                            m,
                            -v.scrollX * l.scrollFactorX,
                            -v.scrollY * l.scrollFactorY,
                          ),
                          (T.e = H),
                          (T.f = Q))
                        : ((T.e -= v.scrollX * l.scrollFactorX),
                          (T.f -= v.scrollY * l.scrollFactorY)),
                      C.multiply(T),
                      v.roundPixels &&
                        ((C.e = Math.round(C.e)), (C.f = Math.round(C.f))),
                      g.save(),
                      C.setToContext(g),
                      (g.globalCompositeOperation =
                        this.blendModes[l.blendMode]),
                      (g.globalAlpha = x),
                      (g.imageSmoothingEnabled = !f.source.scaleMode),
                      l.mask && l.mask.preRenderCanvas(this, l, v),
                      M > 0 &&
                        I > 0 &&
                        (v.roundPixels
                          ? g.drawImage(
                              f.source.image,
                              w,
                              U,
                              M,
                              I,
                              Math.round(z),
                              Math.round(K),
                              Math.round(M / D),
                              Math.round(I / D),
                            )
                          : g.drawImage(
                              f.source.image,
                              w,
                              U,
                              M,
                              I,
                              z,
                              K,
                              M / D,
                              I / D,
                            )),
                      l.mask && l.mask.postRenderCanvas(this, l, v),
                      g.restore());
                  }
                },
                destroy: function () {
                  (this.removeAllListeners(),
                    (this.game = null),
                    (this.gameCanvas = null),
                    (this.gameContext = null));
                },
              });
            d.exports = h;
          },
          6046: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              CanvasRenderer: t(91135),
              GetBlendModes: t(32834),
              SetTransform: t(49584),
            };
          },
          32834: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(95723),
              c = t(98581),
              a = function () {
                var r = [],
                  n = c.supportNewBlendModes,
                  e = "source-over";
                return (
                  (r[A.NORMAL] = e),
                  (r[A.ADD] = "lighter"),
                  (r[A.MULTIPLY] = n ? "multiply" : e),
                  (r[A.SCREEN] = n ? "screen" : e),
                  (r[A.OVERLAY] = n ? "overlay" : e),
                  (r[A.DARKEN] = n ? "darken" : e),
                  (r[A.LIGHTEN] = n ? "lighten" : e),
                  (r[A.COLOR_DODGE] = n ? "color-dodge" : e),
                  (r[A.COLOR_BURN] = n ? "color-burn" : e),
                  (r[A.HARD_LIGHT] = n ? "hard-light" : e),
                  (r[A.SOFT_LIGHT] = n ? "soft-light" : e),
                  (r[A.DIFFERENCE] = n ? "difference" : e),
                  (r[A.EXCLUSION] = n ? "exclusion" : e),
                  (r[A.HUE] = n ? "hue" : e),
                  (r[A.SATURATION] = n ? "saturation" : e),
                  (r[A.COLOR] = n ? "color" : e),
                  (r[A.LUMINOSITY] = n ? "luminosity" : e),
                  (r[A.ERASE] = "destination-out"),
                  (r[A.SOURCE_IN] = "source-in"),
                  (r[A.SOURCE_OUT] = "source-out"),
                  (r[A.SOURCE_ATOP] = "source-atop"),
                  (r[A.DESTINATION_OVER] = "destination-over"),
                  (r[A.DESTINATION_IN] = "destination-in"),
                  (r[A.DESTINATION_OUT] = "destination-out"),
                  (r[A.DESTINATION_ATOP] = "destination-atop"),
                  (r[A.LIGHTER] = "lighter"),
                  (r[A.COPY] = "copy"),
                  (r[A.XOR] = "xor"),
                  r
                );
              };
            d.exports = a;
          },
          49584: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(73329),
              c = function (a, r, n, e, s) {
                var u = e.alpha * n.alpha;
                if (u <= 0) return !1;
                var i = A(n, e, s).calc;
                return (
                  (r.globalCompositeOperation = a.blendModes[n.blendMode]),
                  (r.globalAlpha = u),
                  r.save(),
                  i.setToContext(r),
                  (r.imageSmoothingEnabled = n.frame
                    ? !n.frame.source.scaleMode
                    : a.antialias),
                  !0
                );
              };
            d.exports = c;
          },
          70936: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "postrender";
          },
          99298: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "prerender";
          },
          7743: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "render";
          },
          99519: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "resize";
          },
          81044: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              POST_RENDER: t(70936),
              PRE_RENDER: t(99298),
              RENDER: t(7743),
              RESIZE: t(99519),
            };
          },
          42069: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              Canvas: t(6046),
              Events: t(81044),
              Snapshot: t(95528),
              WebGL: t(55478),
            };
          },
          61840: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(61068),
              c = t(27119),
              a = t(72632),
              r = function (n, e) {
                var s = a(e, "callback"),
                  u = a(e, "type", "image/png"),
                  i = a(e, "encoder", 0.92),
                  o = Math.abs(Math.round(a(e, "x", 0))),
                  h = Math.abs(Math.round(a(e, "y", 0))),
                  l = Math.floor(a(e, "width", n.width)),
                  f = Math.floor(a(e, "height", n.height)),
                  v = a(e, "getPixel", !1);
                if (v) {
                  var m = n.getContext("2d", { willReadFrequently: !1 }),
                    x = m.getImageData(o, h, 1, 1),
                    g = x.data;
                  s.call(null, new c(g[0], g[1], g[2], g[3]));
                } else if (
                  o !== 0 ||
                  h !== 0 ||
                  l !== n.width ||
                  f !== n.height
                ) {
                  var C = A.createWebGL(this, l, f),
                    T = C.getContext("2d", { willReadFrequently: !0 });
                  l > 0 && f > 0 && T.drawImage(n, o, h, l, f, 0, 0, l, f);
                  var F = new Image();
                  ((F.onerror = function () {
                    (s.call(null), A.remove(C));
                  }),
                    (F.onload = function () {
                      (s.call(null, F), A.remove(C));
                    }),
                    (F.src = C.toDataURL(u, i)));
                } else {
                  var w = new Image();
                  ((w.onerror = function () {
                    s.call(null);
                  }),
                    (w.onload = function () {
                      s.call(null, w);
                    }),
                    (w.src = n.toDataURL(u, i)));
                }
              };
            d.exports = r;
          },
          1217: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(61068),
              c = t(27119),
              a = t(72632),
              r = function (n, e) {
                var s = n,
                  u = a(e, "callback"),
                  i = a(e, "type", "image/png"),
                  o = a(e, "encoder", 0.92),
                  h = Math.abs(Math.round(a(e, "x", 0))),
                  l = Math.abs(Math.round(a(e, "y", 0))),
                  f = a(e, "getPixel", !1),
                  v = a(e, "isFramebuffer", !1),
                  m = v ? a(e, "bufferWidth", 1) : s.drawingBufferWidth,
                  x = v ? a(e, "bufferHeight", 1) : s.drawingBufferHeight;
                if (f) {
                  var g = new Uint8Array(4),
                    C = v ? l : x - l;
                  (s.readPixels(h, C, 1, 1, s.RGBA, s.UNSIGNED_BYTE, g),
                    u.call(null, new c(g[0], g[1], g[2], g[3])));
                } else {
                  var T = Math.floor(a(e, "width", m)),
                    F = Math.floor(a(e, "height", x)),
                    w = T * F * 4,
                    U = new Uint8Array(w);
                  s.readPixels(h, x - l - F, T, F, s.RGBA, s.UNSIGNED_BYTE, U);
                  for (
                    var M = A.createWebGL(this, T, F),
                      I = M.getContext("2d", { willReadFrequently: !0 }),
                      O = I.getImageData(0, 0, T, F),
                      D = O.data,
                      G = 0;
                    G < F;
                    G++
                  )
                    for (var X = 0; X < T; X++) {
                      var z = ((F - G - 1) * T + X) * 4,
                        K = v ? w - (G * T + (T - X)) * 4 : (G * T + X) * 4;
                      ((D[K + 0] = U[z + 0]),
                        (D[K + 1] = U[z + 1]),
                        (D[K + 2] = U[z + 2]),
                        (D[K + 3] = U[z + 3]));
                    }
                  I.putImageData(O, 0, 0);
                  var N = new Image();
                  ((N.onerror = function () {
                    (u.call(null), A.remove(M));
                  }),
                    (N.onload = function () {
                      (u.call(null, N), A.remove(M));
                    }),
                    (N.src = M.toDataURL(i, o)));
                }
              };
            d.exports = r;
          },
          95528: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = { Canvas: t(61840), WebGL: t(1217) };
          },
          35217: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(65641),
              a = t(33885),
              r = t(77290),
              n = t(72632),
              e = t(37410),
              s = t(82127),
              u = t(5583),
              i = t(58136),
              o = t(47406),
              h = t(81828),
              l = t(66901),
              f = t(71264),
              v = t(77310),
              m = t(10919),
              x = t(21213),
              g = t(51212),
              C = t(60848),
              T = new A({
                initialize: function (w) {
                  ((this.game = w.game),
                    (this.renderer = w),
                    (this.classes = new a([
                      [c.UTILITY_PIPELINE, C],
                      [c.MULTI_PIPELINE, v],
                      [c.BITMAPMASK_PIPELINE, u],
                      [c.SINGLE_PIPELINE, g],
                      [c.ROPE_PIPELINE, x],
                      [c.LIGHT_PIPELINE, l],
                      [c.POINTLIGHT_PIPELINE, m],
                      [c.MOBILE_PIPELINE, f],
                    ])),
                    (this.postPipelineClasses = new a()),
                    (this.pipelines = new a()),
                    (this.default = null),
                    (this.current = null),
                    (this.previous = null),
                    (this.MULTI_PIPELINE = null),
                    (this.BITMAPMASK_PIPELINE = null),
                    (this.UTILITY_PIPELINE = null),
                    (this.MOBILE_PIPELINE = null),
                    (this.FX_PIPELINE = null),
                    this.fullFrame1,
                    this.fullFrame2,
                    this.halfFrame1,
                    this.halfFrame2,
                    (this.renderTargets = []),
                    (this.maxDimension = 0),
                    (this.frameInc = 32),
                    (this.targetIndex = 0));
                },
                boot: function (F, w, U) {
                  var M = this.renderer,
                    I = this.renderTargets;
                  this.frameInc = Math.floor(n(F, "frameInc", 32));
                  var O = M.width,
                    D = M.height,
                    G = this.game.config.disablePreFX,
                    X = this.game.config.disablePostFX;
                  if (
                    (X ||
                      this.postPipelineClasses.setAll([
                        [String(o.BARREL), i.Barrel],
                        [String(o.BLOOM), i.Bloom],
                        [String(o.BLUR), i.Blur],
                        [String(o.BOKEH), i.Bokeh],
                        [String(o.CIRCLE), i.Circle],
                        [String(o.COLOR_MATRIX), i.ColorMatrix],
                        [String(o.DISPLACEMENT), i.Displacement],
                        [String(o.GLOW), i.Glow],
                        [String(o.GRADIENT), i.Gradient],
                        [String(o.PIXELATE), i.Pixelate],
                        [String(o.SHADOW), i.Shadow],
                        [String(o.SHINE), i.Shine],
                        [String(o.VIGNETTE), i.Vignette],
                        [String(o.WIPE), i.Wipe],
                      ]),
                    !G)
                  ) {
                    this.classes.set(c.FX_PIPELINE, h);
                    for (
                      var z = Math.min(O, D),
                        K = Math.ceil(z / this.frameInc),
                        N = 1;
                      N < K;
                      N++
                    ) {
                      var b = N * this.frameInc;
                      (I.push(new e(M, b, b)),
                        I.push(new e(M, b, b)),
                        I.push(new e(M, b, b)),
                        (this.maxDimension = b));
                    }
                    (I.push(new e(M, O, D, 1, 0, !0, !0)),
                      I.push(new e(M, O, D, 1, 0, !0, !0)),
                      I.push(new e(M, O, D, 1, 0, !0, !0)));
                  }
                  var R,
                    H,
                    Q = _____WB$wombat$check$this$function_____(this),
                    V = this.game;
                  if (
                    (this.classes.each(function (J, $) {
                      ((R = Q.add(J, new $({ game: V }))),
                        J === c.UTILITY_PIPELINE &&
                          ((Q.UTILITY_PIPELINE = R),
                          (Q.fullFrame1 = R.fullFrame1),
                          (Q.fullFrame2 = R.fullFrame2),
                          (Q.halfFrame1 = R.halfFrame1),
                          (Q.halfFrame2 = R.halfFrame2)));
                    }),
                    (this.MULTI_PIPELINE = this.get(c.MULTI_PIPELINE)),
                    (this.BITMAPMASK_PIPELINE = this.get(
                      c.BITMAPMASK_PIPELINE,
                    )),
                    (this.MOBILE_PIPELINE = this.get(c.MOBILE_PIPELINE)),
                    G || (this.FX_PIPELINE = this.get(c.FX_PIPELINE)),
                    F)
                  )
                    for (H in F) {
                      var Y = F[H];
                      ((R = new Y(V)),
                        (R.name = H),
                        R.isPostFX
                          ? this.postPipelineClasses.set(H, Y)
                          : this.has(H) ||
                            (this.classes.set(H, Y), this.add(H, R)));
                    }
                  ((this.default = this.get(w)),
                    U &&
                      !r.os.desktop &&
                      (this.default = this.MOBILE_PIPELINE));
                },
                setDefaultPipeline: function (F) {
                  var w = this.get(F);
                  return (w && (this.default = w), w);
                },
                add: function (F, w) {
                  if (w.isPostFX) {
                    console.warn(
                      F + " is a Post Pipeline. Use `addPostPipeline` instead",
                    );
                    return;
                  }
                  var U = this.pipelines,
                    M = this.renderer;
                  return (
                    U.has(F)
                      ? console.warn("Pipeline exists: " + F)
                      : ((w.name = F),
                        (w.manager =
                          _____WB$wombat$check$this$function_____(this)),
                        U.set(F, w)),
                    w.hasBooted || w.boot(),
                    M.width !== 0 &&
                      M.height !== 0 &&
                      !w.isPreFX &&
                      w.resize(M.width, M.height),
                    w
                  );
                },
                addPostPipeline: function (F, w) {
                  this.postPipelineClasses.has(F) ||
                    this.postPipelineClasses.set(F, w);
                },
                flush: function () {
                  this.current && this.current.flush();
                },
                has: function (F) {
                  var w = this.pipelines;
                  return typeof F == "string" ? w.has(F) : !!w.contains(F);
                },
                get: function (F) {
                  var w = this.pipelines;
                  if (typeof F == "string") return w.get(F);
                  if (w.contains(F)) return F;
                },
                getPostPipeline: function (F, w, U) {
                  var M = this.postPipelineClasses,
                    I,
                    O = "",
                    D = typeof F;
                  if (
                    (D === "string" || D === "number"
                      ? ((I = M.get(F)), (O = F))
                      : D === "function"
                        ? (M.contains(F) && (I = F), (O = F.name))
                        : D === "object" && ((I = M.get(F.name)), (O = F.name)),
                    I)
                  ) {
                    var G = new I(this.game, U);
                    return ((G.name = O), w && (G.gameObject = w), G);
                  }
                },
                remove: function (F, w, U) {
                  (w === void 0 && (w = !0),
                    U === void 0 && (U = !0),
                    this.pipelines.delete(F),
                    w && this.classes.delete(F),
                    U && this.postPipelineClasses.delete(F));
                },
                set: function (F, w, U) {
                  if (!F.isPostFX)
                    return (
                      this.isCurrent(F, U) ||
                        (this.flush(),
                        this.current && this.current.unbind(),
                        (this.current = F),
                        F.bind(U)),
                      F.updateProjectionMatrix(),
                      F.onBind(w),
                      F
                    );
                },
                preBatch: function (F) {
                  if (F.hasPostPipeline) {
                    this.flush();
                    for (
                      var w = F.postPipelines, U = w.length - 1;
                      U >= 0;
                      U--
                    ) {
                      var M = w[U];
                      M.active && M.preBatch(F);
                    }
                  }
                },
                postBatch: function (F) {
                  if (F.hasPostPipeline) {
                    this.flush();
                    for (var w = F.postPipelines, U = 0; U < w.length; U++) {
                      var M = w[U];
                      M.active && M.postBatch(F);
                    }
                  }
                },
                preBatchCamera: function (F) {
                  if (F.hasPostPipeline) {
                    this.flush();
                    for (
                      var w = F.postPipelines, U = w.length - 1;
                      U >= 0;
                      U--
                    ) {
                      var M = w[U];
                      M.active && M.preBatch(F);
                    }
                  }
                },
                postBatchCamera: function (F) {
                  if (F.hasPostPipeline) {
                    this.flush();
                    for (var w = F.postPipelines, U = 0; U < w.length; U++) {
                      var M = w[U];
                      M.active && M.postBatch(F);
                    }
                  }
                },
                isCurrent: function (F, w) {
                  var U = this.renderer,
                    M = this.current;
                  return (
                    M && !w && (w = M.currentShader),
                    !(M !== F || w.program !== U.currentProgram)
                  );
                },
                copyFrame: function (F, w, U, M, I) {
                  return (
                    this.setUtility(this.UTILITY_PIPELINE.copyShader).copyFrame(
                      F,
                      w,
                      U,
                      M,
                      I,
                    ),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                copyToGame: function (F) {
                  return (
                    this.setUtility(
                      this.UTILITY_PIPELINE.copyShader,
                    ).copyToGame(F),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                drawFrame: function (F, w, U, M) {
                  return (
                    this.setUtility(
                      this.UTILITY_PIPELINE.colorMatrixShader,
                    ).drawFrame(F, w, U, M),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                blendFrames: function (F, w, U, M, I) {
                  return (
                    this.setUtility(
                      this.UTILITY_PIPELINE.linearShader,
                    ).blendFrames(F, w, U, M, I),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                blendFramesAdditive: function (F, w, U, M, I) {
                  return (
                    this.setUtility(
                      this.UTILITY_PIPELINE.addShader,
                    ).blendFramesAdditive(F, w, U, M, I),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                clearFrame: function (F, w) {
                  return (
                    this.UTILITY_PIPELINE.clearFrame(F, w),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                blitFrame: function (F, w, U, M, I, O) {
                  return (
                    this.setUtility(this.UTILITY_PIPELINE.copyShader).blitFrame(
                      F,
                      w,
                      U,
                      M,
                      I,
                      O,
                    ),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                copyFrameRect: function (F, w, U, M, I, O, D, G) {
                  return (
                    this.UTILITY_PIPELINE.copyFrameRect(F, w, U, M, I, O, D, G),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                forceZero: function () {
                  return this.current && this.current.forceZero;
                },
                setMulti: function () {
                  return this.set(this.MULTI_PIPELINE);
                },
                setUtility: function (F) {
                  return this.UTILITY_PIPELINE.bind(F);
                },
                setFX: function () {
                  return this.set(this.FX_PIPELINE);
                },
                rebind: function (F) {
                  F === void 0 && this.previous && (F = this.previous);
                  var w = this.renderer,
                    U = w.gl;
                  (U.disable(U.DEPTH_TEST),
                    U.disable(U.CULL_FACE),
                    w.hasActiveStencilMask()
                      ? U.clear(U.DEPTH_BUFFER_BIT)
                      : (U.disable(U.STENCIL_TEST),
                        U.clear(U.DEPTH_BUFFER_BIT | U.STENCIL_BUFFER_BIT)),
                    U.viewport(0, 0, w.width, w.height),
                    (w.currentProgram = null),
                    w.setBlendMode(0, !0));
                  var M = w.vaoExtension;
                  M && M.bindVertexArrayOES(null);
                  var I = this.pipelines.entries;
                  for (var O in I) I[O].glReset = !0;
                  F && ((this.current = F), F.rebind());
                },
                clear: function () {
                  var F = this.renderer;
                  (this.flush(),
                    this.current
                      ? (this.current.unbind(),
                        (this.previous = this.current),
                        (this.current = null))
                      : (this.previous = null),
                    (F.currentProgram = null),
                    F.setBlendMode(0, !0));
                  var w = F.vaoExtension;
                  w && w.bindVertexArrayOES(null);
                },
                getRenderTarget: function (F) {
                  var w = this.renderTargets,
                    U = 3;
                  if (F > this.maxDimension)
                    return (
                      (this.targetIndex = w.length - U),
                      w[this.targetIndex]
                    );
                  var M = (s(F, this.frameInc, 0, !0) - 1) * U;
                  return ((this.targetIndex = M), w[M]);
                },
                getSwapRenderTarget: function () {
                  return this.renderTargets[this.targetIndex + 1];
                },
                getAltSwapRenderTarget: function () {
                  return this.renderTargets[this.targetIndex + 2];
                },
                destroy: function () {
                  (this.flush(),
                    this.classes.clear(),
                    this.postPipelineClasses.clear(),
                    this.pipelines.clear(),
                    (this.renderer = null),
                    (this.game = null),
                    (this.classes = null),
                    (this.postPipelineClasses = null),
                    (this.pipelines = null),
                    (this.default = null),
                    (this.current = null),
                    (this.previous = null));
                },
              });
            d.exports = T;
          },
          37410: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(81044),
              a = new A({
                initialize: function (n, e, s, u, i, o, h, l, f) {
                  (u === void 0 && (u = 1),
                    i === void 0 && (i = 0),
                    o === void 0 && (o = !0),
                    h === void 0 && (h = !1),
                    l === void 0 && (l = !0),
                    f === void 0 && (f = !0),
                    (this.renderer = n),
                    (this.framebuffer = null),
                    (this.texture = null),
                    (this.width = 0),
                    (this.height = 0),
                    (this.scale = u),
                    (this.minFilter = i),
                    (this.autoClear = o),
                    (this.autoResize = !0),
                    (this.hasDepthBuffer = l),
                    (this.forceClamp = f),
                    this.resize(e, s),
                    h ? this.setAutoResize(!0) : (this.autoResize = !1));
                },
                setAutoResize: function (r) {
                  return (
                    r && !this.autoResize
                      ? (this.renderer.on(
                          c.RESIZE,
                          this.resize,
                          _____WB$wombat$check$this$function_____(this),
                        ),
                        (this.autoResize = !0))
                      : !r &&
                        this.autoResize &&
                        (this.renderer.off(
                          c.RESIZE,
                          this.resize,
                          _____WB$wombat$check$this$function_____(this),
                        ),
                        (this.autoResize = !1)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                resize: function (r, n) {
                  if (
                    ((r = Math.round(r * this.scale)),
                    (n = Math.round(n * this.scale)),
                    r <= 0 && (r = 1),
                    n <= 0 && (n = 1),
                    this.autoResize && (r !== this.width || n !== this.height))
                  ) {
                    var e = this.renderer;
                    (e.deleteFramebuffer(this.framebuffer),
                      e.deleteTexture(this.texture),
                      (this.texture = e.createTextureFromSource(
                        null,
                        r,
                        n,
                        this.minFilter,
                        this.forceClamp,
                      )),
                      (this.framebuffer = e.createFramebuffer(
                        r,
                        n,
                        this.texture,
                        this.hasDepthBuffer,
                      )),
                      (this.width = r),
                      (this.height = n));
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                willResize: function (r, n) {
                  return (
                    (r = Math.round(r * this.scale)),
                    (n = Math.round(n * this.scale)),
                    r <= 0 && (r = 1),
                    n <= 0 && (n = 1),
                    r !== this.width || n !== this.height
                  );
                },
                bind: function (r, n, e) {
                  r === void 0 && (r = !1);
                  var s = this.renderer;
                  if (
                    (r && s.flush(),
                    n && e && this.resize(n, e),
                    s.pushFramebuffer(this.framebuffer, !1, !1),
                    r && this.adjustViewport(),
                    this.autoClear)
                  ) {
                    var u = this.renderer.gl;
                    (u.clearColor(0, 0, 0, 0), u.clear(u.COLOR_BUFFER_BIT));
                  }
                  s.clearStencilMask();
                },
                adjustViewport: function () {
                  var r = this.renderer.gl;
                  (r.viewport(0, 0, this.width, this.height),
                    r.disable(r.SCISSOR_TEST));
                },
                clear: function () {
                  var r = this.renderer,
                    n = r.gl;
                  (r.pushFramebuffer(this.framebuffer),
                    n.disable(n.SCISSOR_TEST),
                    n.clearColor(0, 0, 0, 0),
                    n.clear(n.COLOR_BUFFER_BIT),
                    r.popFramebuffer(),
                    r.resetScissor());
                },
                unbind: function (r) {
                  r === void 0 && (r = !1);
                  var n = this.renderer;
                  return (r && n.flush(), n.popFramebuffer());
                },
                destroy: function () {
                  var r = this.renderer;
                  (r.off(
                    c.RESIZE,
                    this.resize,
                    _____WB$wombat$check$this$function_____(this),
                  ),
                    r.deleteFramebuffer(this.framebuffer),
                    r.deleteTexture(this.texture),
                    (this.renderer = null),
                    (this.framebuffer = null),
                    (this.texture = null));
                },
              });
            d.exports = a;
          },
          75512: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @author       Felipe Alfonso <@bitnenfer>
             * @author       Matthew Groves <@doormat>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              getTintFromFloats: function (y, t, A, c) {
                var a = ((y * 255) | 0) & 255,
                  r = ((t * 255) | 0) & 255,
                  n = ((A * 255) | 0) & 255,
                  e = ((c * 255) | 0) & 255;
                return ((e << 24) | (a << 16) | (r << 8) | n) >>> 0;
              },
              getTintAppendFloatAlpha: function (y, t) {
                var A = ((t * 255) | 0) & 255;
                return ((A << 24) | y) >>> 0;
              },
              getTintAppendFloatAlphaAndSwap: function (y, t) {
                var A = ((y >> 16) | 0) & 255,
                  c = ((y >> 8) | 0) & 255,
                  a = (y | 0) & 255,
                  r = ((t * 255) | 0) & 255;
                return ((r << 24) | (a << 16) | (c << 8) | A) >>> 0;
              },
              getFloatsFromUintRGB: function (y) {
                var t = ((y >> 16) | 0) & 255,
                  A = ((y >> 8) | 0) & 255,
                  c = (y | 0) & 255;
                return [t / 255, A / 255, c / 255];
              },
              checkShaderMax: function (y, t) {
                var A = Math.min(16, y.getParameter(y.MAX_TEXTURE_IMAGE_UNITS));
                return !t || t === -1 ? A : Math.min(A, t);
              },
              parseFragmentShaderMaxTextures: function (y, t) {
                if (!y) return "";
                for (var A = "", c = 0; c < t; c++)
                  (c > 0 &&
                    (A += `
	else `),
                    c < t - 1 && (A += "if (outTexId < " + c + ".5)"),
                    (A += `
	{`),
                    (A +=
                      `
		texture = texture2D(uMainSampler[` +
                      c +
                      "], outTexCoord);"),
                    (A += `
	}`));
                return (
                  (y = y.replace(/%count%/gi, t.toString())),
                  y.replace(/%forloop%/gi, A)
                );
              },
              setGlowQuality: function (y, t, A, c) {
                return (
                  A === void 0 && (A = t.config.glowFXQuality),
                  c === void 0 && (c = t.config.glowFXDistance),
                  (y = y.replace(/__SIZE__/gi, (1 / A / c).toFixed(7))),
                  (y = y.replace(/__DIST__/gi, c.toFixed(0) + ".0")),
                  y
                );
              },
            };
          },
          44775: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(28699),
              a = t(6659),
              r = t(18970),
              n = t(72632),
              e = t(16650),
              s = t(81044),
              u = t(37410),
              i = t(75512),
              o = t(71305),
              h = new A({
                Extends: a,
                initialize: function (f) {
                  a.call(this);
                  var v = f.game,
                    m = v.renderer,
                    x = m.gl;
                  ((this.name = n(f, "name", "WebGLPipeline")),
                    (this.game = v),
                    (this.renderer = m),
                    this.manager,
                    (this.gl = x),
                    (this.view = v.canvas),
                    (this.width = 0),
                    (this.height = 0),
                    (this.vertexCount = 0),
                    (this.vertexCapacity = 0),
                    this.vertexData,
                    this.vertexBuffer,
                    this.activeBuffer,
                    (this.topology = n(f, "topology", x.TRIANGLES)),
                    this.bytes,
                    this.vertexViewF32,
                    this.vertexViewU32,
                    (this.active = !0),
                    (this.forceZero = n(f, "forceZero", !1)),
                    (this.hasBooted = !1),
                    (this.isPostFX = !1),
                    (this.isPreFX = !1),
                    (this.renderTargets = []),
                    this.currentRenderTarget,
                    (this.shaders = []),
                    this.currentShader,
                    this.projectionMatrix,
                    (this.projectionWidth = 0),
                    (this.projectionHeight = 0),
                    (this.config = f),
                    (this.glReset = !1),
                    (this.batch = []),
                    (this.currentBatch = null),
                    (this.currentTexture = null),
                    (this.currentUnit = 0),
                    (this.activeTextures = []));
                },
                boot: function () {
                  var l,
                    f = this.gl,
                    v = this.config,
                    m = this.renderer;
                  this.isPostFX || (this.projectionMatrix = new e().identity());
                  var x = this.renderTargets,
                    g = n(v, "renderTarget", !1);
                  typeof g == "boolean" && g && (g = 1);
                  var C = m.width,
                    T = m.height;
                  if (typeof g == "number")
                    for (l = 0; l < g; l++) x.push(new u(m, C, T, 1, 0, !0));
                  else if (Array.isArray(g))
                    for (l = 0; l < g.length; l++) {
                      var F = n(g[l], "scale", 1),
                        w = n(g[l], "minFilter", 0),
                        U = n(g[l], "autoClear", 1),
                        M = n(g[l], "width", null),
                        I = n(g[l], "height", M);
                      M
                        ? x.push(new u(m, M, I, 1, w, U))
                        : x.push(new u(m, C, T, F, w, U));
                    }
                  (x.length && (this.currentRenderTarget = x[0]),
                    this.setShadersFromConfig(v));
                  var O = this.shaders,
                    D = 0;
                  for (l = 0; l < O.length; l++)
                    O[l].vertexSize > D && (D = O[l].vertexSize);
                  var G = n(v, "batchSize", m.config.batchSize);
                  this.vertexCapacity = G * 6;
                  var X = new ArrayBuffer(this.vertexCapacity * D);
                  ((this.vertexData = X),
                    (this.bytes = new Uint8Array(X)),
                    (this.vertexViewF32 = new Float32Array(X)),
                    (this.vertexViewU32 = new Uint32Array(X)));
                  var z = n(v, "vertices", null);
                  for (
                    z
                      ? (this.vertexViewF32.set(z),
                        (this.vertexBuffer = m.createVertexBuffer(
                          X,
                          f.STATIC_DRAW,
                        )))
                      : (this.vertexBuffer = m.createVertexBuffer(
                          X.byteLength,
                          f.DYNAMIC_DRAW,
                        )),
                      this.setVertexBuffer(),
                      l = O.length - 1;
                    l >= 0;
                    l--
                  )
                    O[l].rebind();
                  ((this.hasBooted = !0),
                    m.on(
                      s.RESIZE,
                      this.resize,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    m.on(
                      s.PRE_RENDER,
                      this.onPreRender,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    m.on(
                      s.RENDER,
                      this.onRender,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    m.on(
                      s.POST_RENDER,
                      this.onPostRender,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    this.emit(
                      r.BOOT,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    this.onBoot());
                },
                onBoot: function () {},
                onResize: function () {},
                setShader: function (l, f, v) {
                  var m = this.renderer;
                  if (
                    l !== this.currentShader ||
                    m.currentProgram !== this.currentShader.program
                  ) {
                    this.flush();
                    var x = this.setVertexBuffer(v);
                    (x && !f && (f = !0),
                      l.bind(f, !1),
                      (this.currentShader = l));
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                getShaderByName: function (l) {
                  for (var f = this.shaders, v = 0; v < f.length; v++)
                    if (f[v].name === l) return f[v];
                },
                setShadersFromConfig: function (l) {
                  var f,
                    v = this.shaders,
                    m = this.renderer;
                  for (f = 0; f < v.length; f++) v[f].destroy();
                  var x = "vertShader",
                    g = "fragShader",
                    C = "attributes",
                    T = n(l, x, null),
                    F = i.parseFragmentShaderMaxTextures(
                      n(l, g, null),
                      m.maxTextures,
                    ),
                    w = n(l, C, null),
                    U = n(l, "shaders", []),
                    M = U.length;
                  if (M === 0)
                    T &&
                      F &&
                      (this.shaders = [new o(this, "default", T, F, c(w))]);
                  else {
                    var I = [];
                    for (f = 0; f < M; f++) {
                      var O = U[f],
                        D,
                        G,
                        X,
                        z;
                      if (
                        (typeof O == "string"
                          ? ((D = "default"),
                            (G = T),
                            (X = i.parseFragmentShaderMaxTextures(
                              O,
                              m.maxTextures,
                            )),
                            (z = w))
                          : ((D = n(O, "name", "default")),
                            (G = n(O, x, T)),
                            (X = i.parseFragmentShaderMaxTextures(
                              n(O, g, F),
                              m.maxTextures,
                            )),
                            (z = n(O, C, w))),
                        D === "default")
                      ) {
                        var K = X.split(`
`),
                          N = K[0].trim();
                        N.indexOf("#define SHADER_NAME") > -1 &&
                          (D = N.substring(20));
                      }
                      G && X && I.push(new o(this, D, G, X, c(z)));
                    }
                    this.shaders = I;
                  }
                  return (
                    this.shaders.length === 0
                      ? console.warn(
                          "Pipeline: " + this.name + " - Invalid shader config",
                        )
                      : (this.currentShader = this.shaders[0]),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                createBatch: function (l) {
                  return (
                    (this.currentBatch = {
                      start: this.vertexCount,
                      count: 0,
                      texture: [l],
                      unit: 0,
                      maxUnit: 0,
                    }),
                    (this.currentUnit = 0),
                    (this.currentTexture = l),
                    this.batch.push(this.currentBatch),
                    0
                  );
                },
                addTextureToBatch: function (l) {
                  var f = this.currentBatch;
                  f && (f.texture.push(l), f.unit++, f.maxUnit++);
                },
                pushBatch: function (l) {
                  if (
                    !this.currentBatch ||
                    (this.forceZero && l !== this.currentTexture)
                  )
                    return this.createBatch(l);
                  if (l === this.currentTexture) return this.currentUnit;
                  var f = this.currentBatch,
                    v = f.texture.indexOf(l);
                  return v === -1
                    ? f.texture.length === this.renderer.maxTextures
                      ? this.createBatch(l)
                      : (f.unit++,
                        f.maxUnit++,
                        f.texture.push(l),
                        (this.currentUnit = f.unit),
                        (this.currentTexture = l),
                        f.unit)
                    : ((this.currentUnit = v), (this.currentTexture = l), v);
                },
                setGameObject: function (l, f) {
                  return (
                    f === void 0 && (f = l.frame),
                    this.pushBatch(f.source.glTexture)
                  );
                },
                shouldFlush: function (l) {
                  return (
                    l === void 0 && (l = 0),
                    this.vertexCount + l > this.vertexCapacity
                  );
                },
                vertexAvailable: function () {
                  return this.vertexCapacity - this.vertexCount;
                },
                resize: function (l, f) {
                  ((l !== this.width || f !== this.height) && this.flush(),
                    (this.width = l),
                    (this.height = f));
                  for (var v = this.renderTargets, m = 0; m < v.length; m++)
                    v[m].resize(l, f);
                  return (
                    this.setProjectionMatrix(l, f),
                    this.emit(
                      r.RESIZE,
                      l,
                      f,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    this.onResize(l, f),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setProjectionMatrix: function (l, f) {
                  var v = this.projectionMatrix;
                  if (!v) return _____WB$wombat$check$this$function_____(this);
                  ((this.projectionWidth = l),
                    (this.projectionHeight = f),
                    v.ortho(0, l, f, 0, -1e3, 1e3));
                  for (
                    var m = this.shaders, x = "uProjectionMatrix", g = 0;
                    g < m.length;
                    g++
                  ) {
                    var C = m[g];
                    C.hasUniform(x) &&
                      (C.resetUniform(x), C.setMatrix4fv(x, !1, v.val, C));
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                flipProjectionMatrix: function (l) {
                  l === void 0 && (l = !0);
                  var f = this.projectionMatrix;
                  if (!f) return _____WB$wombat$check$this$function_____(this);
                  var v = this.projectionWidth,
                    m = this.projectionHeight;
                  (l
                    ? f.ortho(0, v, 0, m, -1e3, 1e3)
                    : f.ortho(0, v, m, 0, -1e3, 1e3),
                    this.setMatrix4fv("uProjectionMatrix", !1, f.val));
                },
                updateProjectionMatrix: function () {
                  if (this.projectionMatrix) {
                    var l = this.renderer.projectionWidth,
                      f = this.renderer.projectionHeight;
                    (this.projectionWidth !== l ||
                      this.projectionHeight !== f) &&
                      this.setProjectionMatrix(l, f);
                  }
                },
                bind: function (l) {
                  if ((l === void 0 && (l = this.currentShader), this.glReset))
                    return this.rebind(l);
                  var f = !1,
                    v = this.gl;
                  return (
                    v.getParameter(v.ARRAY_BUFFER_BINDING) !==
                      this.vertexBuffer &&
                      (v.bindBuffer(v.ARRAY_BUFFER, this.vertexBuffer),
                      (this.activeBuffer = this.vertexBuffer),
                      (f = !0)),
                    l.bind(f),
                    (this.currentShader = l),
                    (this.activeTextures.length = 0),
                    this.emit(
                      r.BIND,
                      _____WB$wombat$check$this$function_____(this),
                      l,
                    ),
                    this.onActive(l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                rebind: function (l) {
                  ((this.activeBuffer = null), this.setVertexBuffer());
                  for (var f = this.shaders, v = f.length - 1; v >= 0; v--) {
                    var m = f[v].rebind();
                    (!l || m === l) && (this.currentShader = m);
                  }
                  return (
                    (this.activeTextures.length = 0),
                    this.emit(r.REBIND, this.currentShader),
                    this.onActive(this.currentShader),
                    this.onRebind(),
                    (this.glReset = !1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setVertexBuffer: function (l) {
                  if (
                    (l === void 0 && (l = this.vertexBuffer),
                    l !== this.activeBuffer)
                  ) {
                    var f = this.gl;
                    return (
                      this.gl.bindBuffer(f.ARRAY_BUFFER, l),
                      (this.activeBuffer = l),
                      !0
                    );
                  }
                  return !1;
                },
                preBatch: function (l) {
                  return (
                    this.currentRenderTarget && this.currentRenderTarget.bind(),
                    this.onPreBatch(l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                postBatch: function (l) {
                  return (
                    this.onDraw(this.currentRenderTarget),
                    this.onPostBatch(l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                onDraw: function () {},
                unbind: function () {
                  this.currentRenderTarget && this.currentRenderTarget.unbind();
                },
                flush: function (l) {
                  if ((l === void 0 && (l = !1), this.vertexCount > 0)) {
                    (this.emit(
                      r.BEFORE_FLUSH,
                      _____WB$wombat$check$this$function_____(this),
                      l,
                    ),
                      this.onBeforeFlush(l));
                    var f = this.gl,
                      v = this.vertexCount,
                      m = this.currentShader.vertexSize,
                      x = this.topology;
                    if (this.active) {
                      (this.setVertexBuffer(),
                        v === this.vertexCapacity
                          ? f.bufferData(
                              f.ARRAY_BUFFER,
                              this.vertexData,
                              f.DYNAMIC_DRAW,
                            )
                          : f.bufferSubData(
                              f.ARRAY_BUFFER,
                              0,
                              this.bytes.subarray(0, v * m),
                            ));
                      var g,
                        C,
                        T,
                        F = this.batch,
                        w = this.activeTextures;
                      if (this.forceZero)
                        for (
                          w[0] || f.activeTexture(f.TEXTURE0), g = 0;
                          g < F.length;
                          g++
                        )
                          ((C = F[g]),
                            (T = C.texture[0]),
                            w[0] !== T &&
                              (f.bindTexture(f.TEXTURE_2D, T), (w[0] = T)),
                            f.drawArrays(x, C.start, C.count));
                      else
                        for (g = 0; g < F.length; g++) {
                          C = F[g];
                          for (var U = 0; U <= C.maxUnit; U++)
                            ((T = C.texture[U]),
                              w[U] !== T &&
                                (f.activeTexture(f.TEXTURE0 + U),
                                f.bindTexture(f.TEXTURE_2D, T),
                                (w[U] = T)));
                          f.drawArrays(x, C.start, C.count);
                        }
                    }
                    ((this.vertexCount = 0),
                      (this.batch.length = 0),
                      (this.currentBatch = null),
                      (this.currentTexture = null),
                      (this.currentUnit = 0),
                      this.emit(
                        r.AFTER_FLUSH,
                        _____WB$wombat$check$this$function_____(this),
                        l,
                      ),
                      this.onAfterFlush(l));
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                onActive: function () {},
                onBind: function () {},
                onRebind: function () {},
                onBatch: function () {},
                onPreBatch: function () {},
                onPostBatch: function () {},
                onPreRender: function () {},
                onRender: function () {},
                onPostRender: function () {},
                onBeforeFlush: function () {},
                onAfterFlush: function () {},
                batchVert: function (l, f, v, m, x, g, C) {
                  var T = this.vertexViewF32,
                    F = this.vertexViewU32,
                    w =
                      this.vertexCount *
                        this.currentShader.vertexComponentCount -
                      1;
                  ((T[++w] = l),
                    (T[++w] = f),
                    (T[++w] = v),
                    (T[++w] = m),
                    (T[++w] = x),
                    (T[++w] = g),
                    (F[++w] = C),
                    this.vertexCount++,
                    (this.currentBatch.count =
                      this.vertexCount - this.currentBatch.start));
                },
                batchQuad: function (
                  l,
                  f,
                  v,
                  m,
                  x,
                  g,
                  C,
                  T,
                  F,
                  w,
                  U,
                  M,
                  I,
                  O,
                  D,
                  G,
                  X,
                  z,
                  K,
                  N,
                ) {
                  N === void 0 && (N = this.currentUnit);
                  var b = !1;
                  (this.shouldFlush(6) && (this.flush(), (b = !0)),
                    this.currentBatch || (N = this.setTexture2D(K)));
                  var R = this.vertexViewF32,
                    H = this.vertexViewU32,
                    Q =
                      this.vertexCount *
                        this.currentShader.vertexComponentCount -
                      1;
                  return (
                    (R[++Q] = f),
                    (R[++Q] = v),
                    (R[++Q] = w),
                    (R[++Q] = U),
                    (R[++Q] = N),
                    (R[++Q] = z),
                    (H[++Q] = O),
                    (R[++Q] = m),
                    (R[++Q] = x),
                    (R[++Q] = w),
                    (R[++Q] = I),
                    (R[++Q] = N),
                    (R[++Q] = z),
                    (H[++Q] = G),
                    (R[++Q] = g),
                    (R[++Q] = C),
                    (R[++Q] = M),
                    (R[++Q] = I),
                    (R[++Q] = N),
                    (R[++Q] = z),
                    (H[++Q] = X),
                    (R[++Q] = f),
                    (R[++Q] = v),
                    (R[++Q] = w),
                    (R[++Q] = U),
                    (R[++Q] = N),
                    (R[++Q] = z),
                    (H[++Q] = O),
                    (R[++Q] = g),
                    (R[++Q] = C),
                    (R[++Q] = M),
                    (R[++Q] = I),
                    (R[++Q] = N),
                    (R[++Q] = z),
                    (H[++Q] = X),
                    (R[++Q] = T),
                    (R[++Q] = F),
                    (R[++Q] = M),
                    (R[++Q] = U),
                    (R[++Q] = N),
                    (R[++Q] = z),
                    (H[++Q] = D),
                    (this.vertexCount += 6),
                    (this.currentBatch.count =
                      this.vertexCount - this.currentBatch.start),
                    this.onBatch(l),
                    b
                  );
                },
                batchTri: function (
                  l,
                  f,
                  v,
                  m,
                  x,
                  g,
                  C,
                  T,
                  F,
                  w,
                  U,
                  M,
                  I,
                  O,
                  D,
                  G,
                  X,
                ) {
                  X === void 0 && (X = this.currentUnit);
                  var z = !1;
                  (this.shouldFlush(3) && (this.flush(), (z = !0)),
                    this.currentBatch || (X = this.setTexture2D(G)));
                  var K = this.vertexViewF32,
                    N = this.vertexViewU32,
                    b =
                      this.vertexCount *
                        this.currentShader.vertexComponentCount -
                      1;
                  return (
                    (K[++b] = f),
                    (K[++b] = v),
                    (K[++b] = T),
                    (K[++b] = F),
                    (K[++b] = X),
                    (K[++b] = D),
                    (N[++b] = M),
                    (K[++b] = m),
                    (K[++b] = x),
                    (K[++b] = T),
                    (K[++b] = U),
                    (K[++b] = X),
                    (K[++b] = D),
                    (N[++b] = I),
                    (K[++b] = g),
                    (K[++b] = C),
                    (K[++b] = w),
                    (K[++b] = U),
                    (K[++b] = X),
                    (K[++b] = D),
                    (N[++b] = O),
                    (this.vertexCount += 3),
                    (this.currentBatch.count =
                      this.vertexCount - this.currentBatch.start),
                    this.onBatch(l),
                    z
                  );
                },
                drawFillRect: function (l, f, v, m, x, g, C, T) {
                  (C === void 0 && (C = this.renderer.whiteTexture),
                    T === void 0 && (T = !0),
                    (l = Math.floor(l)),
                    (f = Math.floor(f)));
                  var F = Math.floor(l + v),
                    w = Math.floor(f + m),
                    U = this.setTexture2D(C),
                    M = i.getTintAppendFloatAlphaAndSwap(x, g),
                    I = 0,
                    O = 0,
                    D = 1,
                    G = 1;
                  (T && ((O = 1), (G = 0)),
                    this.batchQuad(
                      null,
                      l,
                      f,
                      l,
                      w,
                      F,
                      w,
                      F,
                      f,
                      I,
                      O,
                      D,
                      G,
                      M,
                      M,
                      M,
                      M,
                      0,
                      C,
                      U,
                    ));
                },
                setTexture2D: function (l) {
                  return (
                    l === void 0 && (l = this.renderer.whiteTexture),
                    this.pushBatch(l)
                  );
                },
                bindTexture: function (l, f) {
                  f === void 0 && (f = 0);
                  var v = this.gl;
                  return (
                    v.activeTexture(v.TEXTURE0 + f),
                    v.bindTexture(v.TEXTURE_2D, l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                bindRenderTarget: function (l, f) {
                  return this.bindTexture(l.texture, f);
                },
                setTime: function (l, f) {
                  return (
                    this.set1f(l, this.game.loop.getDuration(), f),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setBoolean: function (l, f, v) {
                  return (
                    v === void 0 && (v = this.currentShader),
                    v.setBoolean(l, f),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                set1f: function (l, f, v) {
                  return (
                    v === void 0 && (v = this.currentShader),
                    v.set1f(l, f),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                set2f: function (l, f, v, m) {
                  return (
                    m === void 0 && (m = this.currentShader),
                    m.set2f(l, f, v),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                set3f: function (l, f, v, m, x) {
                  return (
                    x === void 0 && (x = this.currentShader),
                    x.set3f(l, f, v, m),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                set4f: function (l, f, v, m, x, g) {
                  return (
                    g === void 0 && (g = this.currentShader),
                    g.set4f(l, f, v, m, x),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                set1fv: function (l, f, v) {
                  return (
                    v === void 0 && (v = this.currentShader),
                    v.set1fv(l, f),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                set2fv: function (l, f, v) {
                  return (
                    v === void 0 && (v = this.currentShader),
                    v.set2fv(l, f),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                set3fv: function (l, f, v) {
                  return (
                    v === void 0 && (v = this.currentShader),
                    v.set3fv(l, f),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                set4fv: function (l, f, v) {
                  return (
                    v === void 0 && (v = this.currentShader),
                    v.set4fv(l, f),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                set1iv: function (l, f, v) {
                  return (
                    v === void 0 && (v = this.currentShader),
                    v.set1iv(l, f),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                set2iv: function (l, f, v) {
                  return (
                    v === void 0 && (v = this.currentShader),
                    v.set2iv(l, f),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                set3iv: function (l, f, v) {
                  return (
                    v === void 0 && (v = this.currentShader),
                    v.set3iv(l, f),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                set4iv: function (l, f, v) {
                  return (
                    v === void 0 && (v = this.currentShader),
                    v.set4iv(l, f),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                set1i: function (l, f, v) {
                  return (
                    v === void 0 && (v = this.currentShader),
                    v.set1i(l, f),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                set2i: function (l, f, v, m) {
                  return (
                    m === void 0 && (m = this.currentShader),
                    m.set2i(l, f, v),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                set3i: function (l, f, v, m, x) {
                  return (
                    x === void 0 && (x = this.currentShader),
                    x.set3i(l, f, v, m),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                set4i: function (l, f, v, m, x, g) {
                  return (
                    g === void 0 && (g = this.currentShader),
                    g.set4i(l, f, v, m, x),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setMatrix2fv: function (l, f, v, m) {
                  return (
                    m === void 0 && (m = this.currentShader),
                    m.setMatrix2fv(l, f, v),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setMatrix3fv: function (l, f, v, m) {
                  return (
                    m === void 0 && (m = this.currentShader),
                    m.setMatrix3fv(l, f, v),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setMatrix4fv: function (l, f, v, m) {
                  return (
                    m === void 0 && (m = this.currentShader),
                    m.setMatrix4fv(l, f, v),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                destroy: function () {
                  this.emit(
                    r.DESTROY,
                    _____WB$wombat$check$this$function_____(this),
                  );
                  var l,
                    f = this.shaders;
                  for (l = 0; l < f.length; l++) f[l].destroy();
                  var v = this.renderTargets;
                  for (l = 0; l < v.length; l++) v[l].destroy();
                  this.gl.deleteBuffer(this.vertexBuffer);
                  var m = this.renderer;
                  return (
                    m.off(
                      s.RESIZE,
                      this.resize,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    m.off(
                      s.PRE_RENDER,
                      this.onPreRender,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    m.off(
                      s.RENDER,
                      this.onRender,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    m.off(
                      s.POST_RENDER,
                      this.onPostRender,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    this.removeAllListeners(),
                    (this.game = null),
                    (this.renderer = null),
                    (this.manager = null),
                    (this.gl = null),
                    (this.view = null),
                    (this.shaders = null),
                    (this.renderTargets = null),
                    (this.bytes = null),
                    (this.vertexViewF32 = null),
                    (this.vertexViewU32 = null),
                    (this.vertexData = null),
                    (this.vertexBuffer = null),
                    (this.currentShader = null),
                    (this.currentRenderTarget = null),
                    (this.activeTextures = null),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
              });
            d.exports = h;
          },
          11857: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @author       Felipe Alfonso <@bitnenfer>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(66458),
              c = t(89787),
              a = t(56694),
              r = t(86459),
              n = t(6659),
              e = t(81044),
              s = t(28621),
              u = t(16650),
              i = t(72283),
              o = t(35217),
              h = t(37410),
              l = t(40444),
              f = t(38203),
              v = t(75512),
              m = t(1217),
              x = new a({
                Extends: n,
                initialize: function (C) {
                  n.call(this);
                  var T = C.config,
                    F = {
                      alpha: T.transparent,
                      desynchronized: T.desynchronized,
                      depth: !0,
                      antialias: T.antialiasGL,
                      premultipliedAlpha: T.premultipliedAlpha,
                      stencil: !0,
                      failIfMajorPerformanceCaveat:
                        T.failIfMajorPerformanceCaveat,
                      powerPreference: T.powerPreference,
                      preserveDrawingBuffer: T.preserveDrawingBuffer,
                      willReadFrequently: !1,
                    };
                  ((this.config = {
                    clearBeforeRender: T.clearBeforeRender,
                    antialias: T.antialias,
                    backgroundColor: T.backgroundColor,
                    contextCreation: F,
                    roundPixels: T.roundPixels,
                    maxTextures: T.maxTextures,
                    maxTextureSize: T.maxTextureSize,
                    batchSize: T.batchSize,
                    maxLights: T.maxLights,
                    mipmapFilter: T.mipmapFilter,
                  }),
                    (this.game = C),
                    (this.type = r.WEBGL),
                    (this.pipelines = null),
                    (this.width = 0),
                    (this.height = 0),
                    (this.canvas = C.canvas),
                    (this.blendModes = []),
                    (this.contextLost = !1),
                    (this.snapshotState = {
                      x: 0,
                      y: 0,
                      width: 1,
                      height: 1,
                      getPixel: !1,
                      callback: null,
                      type: "image/png",
                      encoder: 0.92,
                      isFramebuffer: !1,
                      bufferWidth: 0,
                      bufferHeight: 0,
                    }),
                    (this.maxTextures = 0),
                    this.textureIndexes,
                    (this.currentFramebuffer = null),
                    (this.fboStack = []),
                    (this.currentProgram = null),
                    (this.currentBlendMode = 1 / 0),
                    (this.currentScissorEnabled = !1),
                    (this.currentScissor = null),
                    (this.scissorStack = []),
                    (this.contextLostHandler = i),
                    (this.contextRestoredHandler = i),
                    (this.gl = null),
                    (this.supportedExtensions = null),
                    (this.instancedArraysExtension = null),
                    (this.vaoExtension = null),
                    (this.extensions = {}),
                    this.glFormats,
                    this.compression,
                    (this.drawingBufferHeight = 0),
                    (this.blankTexture = null),
                    (this.whiteTexture = null),
                    (this.maskCount = 0),
                    (this.maskStack = []),
                    (this.currentMask = { mask: null, camera: null }),
                    (this.currentCameraMask = { mask: null, camera: null }),
                    (this.glFuncMap = null),
                    (this.currentType = ""),
                    (this.newType = !1),
                    (this.nextTypeMatch = !1),
                    (this.finalType = !1),
                    (this.mipmapFilter = null),
                    (this.defaultScissor = [0, 0, 0, 0]),
                    (this.isBooted = !1),
                    (this.renderTarget = null),
                    this.projectionMatrix,
                    (this.projectionWidth = 0),
                    (this.projectionHeight = 0),
                    (this.maskSource = null),
                    (this.maskTarget = null),
                    (this.spector = null),
                    (this._debugCapture = !1),
                    this.init(this.config));
                },
                init: function (g) {
                  var C,
                    T = this.game,
                    F = this.canvas,
                    w = g.backgroundColor;
                  if (
                    (T.config.context
                      ? (C = T.config.context)
                      : (C =
                          F.getContext("webgl", g.contextCreation) ||
                          F.getContext(
                            "experimental-webgl",
                            g.contextCreation,
                          )),
                    !C || C.isContextLost())
                  )
                    throw (
                      (this.contextLost = !0),
                      new Error("WebGL unsupported")
                    );
                  this.gl = C;
                  var U = _____WB$wombat$check$this$function_____(this);
                  ((this.contextLostHandler = function (K) {
                    ((U.contextLost = !0),
                      console &&
                        console.warn("WebGL Context lost. Renderer disabled"),
                      K.preventDefault());
                  }),
                    F.addEventListener(
                      "webglcontextlost",
                      this.contextLostHandler,
                      !1,
                    ),
                    (T.context = C));
                  for (var M = 0; M <= 27; M++)
                    this.blendModes.push({
                      func: [C.ONE, C.ONE_MINUS_SRC_ALPHA],
                      equation: C.FUNC_ADD,
                    });
                  ((this.blendModes[1].func = [C.ONE, C.DST_ALPHA]),
                    (this.blendModes[2].func = [
                      C.DST_COLOR,
                      C.ONE_MINUS_SRC_ALPHA,
                    ]),
                    (this.blendModes[3].func = [C.ONE, C.ONE_MINUS_SRC_COLOR]),
                    (this.blendModes[17] = {
                      func: [C.ZERO, C.ONE_MINUS_SRC_ALPHA],
                      equation: C.FUNC_REVERSE_SUBTRACT,
                    }),
                    (this.glFormats = [
                      C.BYTE,
                      C.SHORT,
                      C.UNSIGNED_BYTE,
                      C.UNSIGNED_SHORT,
                      C.FLOAT,
                    ]),
                    (this.glFuncMap = {
                      mat2: { func: C.uniformMatrix2fv, length: 1, matrix: !0 },
                      mat3: { func: C.uniformMatrix3fv, length: 1, matrix: !0 },
                      mat4: { func: C.uniformMatrix4fv, length: 1, matrix: !0 },
                      "1f": { func: C.uniform1f, length: 1 },
                      "1fv": { func: C.uniform1fv, length: 1 },
                      "1i": { func: C.uniform1i, length: 1 },
                      "1iv": { func: C.uniform1iv, length: 1 },
                      "2f": { func: C.uniform2f, length: 2 },
                      "2fv": { func: C.uniform2fv, length: 1 },
                      "2i": { func: C.uniform2i, length: 2 },
                      "2iv": { func: C.uniform2iv, length: 1 },
                      "3f": { func: C.uniform3f, length: 3 },
                      "3fv": { func: C.uniform3fv, length: 1 },
                      "3i": { func: C.uniform3i, length: 3 },
                      "3iv": { func: C.uniform3iv, length: 1 },
                      "4f": { func: C.uniform4f, length: 4 },
                      "4fv": { func: C.uniform4fv, length: 1 },
                      "4i": { func: C.uniform4i, length: 4 },
                      "4iv": { func: C.uniform4iv, length: 1 },
                    }));
                  var I = C.getSupportedExtensions();
                  ((!g.maxTextures || g.maxTextures === -1) &&
                    (g.maxTextures = C.getParameter(C.MAX_TEXTURE_IMAGE_UNITS)),
                    g.maxTextureSize ||
                      (g.maxTextureSize = C.getParameter(C.MAX_TEXTURE_SIZE)),
                    (this.compression = this.getCompressedTextures()),
                    (this.supportedExtensions = I));
                  var O = "ANGLE_instanced_arrays";
                  this.instancedArraysExtension =
                    I.indexOf(O) > -1 ? C.getExtension(O) : null;
                  var D = "OES_vertex_array_object";
                  ((this.vaoExtension =
                    I.indexOf(D) > -1 ? C.getExtension(D) : null),
                    C.disable(C.DEPTH_TEST),
                    C.disable(C.CULL_FACE),
                    C.enable(C.BLEND),
                    C.clearColor(w.redGL, w.greenGL, w.blueGL, w.alphaGL));
                  var G = [
                    "NEAREST",
                    "LINEAR",
                    "NEAREST_MIPMAP_NEAREST",
                    "LINEAR_MIPMAP_NEAREST",
                    "NEAREST_MIPMAP_LINEAR",
                    "LINEAR_MIPMAP_LINEAR",
                  ];
                  (G.indexOf(g.mipmapFilter) !== -1 &&
                    (this.mipmapFilter = C[g.mipmapFilter]),
                    (this.maxTextures = v.checkShaderMax(C, g.maxTextures)),
                    (this.textureIndexes = []));
                  for (var X = 0; X < this.maxTextures; X++) {
                    var z = C.createTexture();
                    (C.activeTexture(C.TEXTURE0 + X),
                      C.bindTexture(C.TEXTURE_2D, z),
                      C.texImage2D(
                        C.TEXTURE_2D,
                        0,
                        C.RGBA,
                        1,
                        1,
                        0,
                        C.RGBA,
                        C.UNSIGNED_BYTE,
                        new Uint8Array([0, 0, 255, 255]),
                      ),
                      this.textureIndexes.push(X));
                  }
                  return (
                    (this.pipelines = new o(this)),
                    this.setBlendMode(r.BlendModes.NORMAL),
                    (this.projectionMatrix = new u().identity()),
                    T.textures.once(
                      f.READY,
                      this.boot,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                boot: function () {
                  var g = this.game,
                    C = this.pipelines,
                    T = g.scale.baseSize,
                    F = T.width,
                    w = T.height;
                  ((this.width = F),
                    (this.height = w),
                    (this.isBooted = !0),
                    (this.renderTarget = new h(this, F, w, 1, 0, !0, !0)),
                    (this.maskTarget = new h(this, F, w, 1, 0, !0, !0)),
                    (this.maskSource = new h(this, F, w, 1, 0, !0, !0)));
                  var U = g.config;
                  (C.boot(U.pipeline, U.defaultPipeline, U.autoMobilePipeline),
                    (this.blankTexture =
                      g.textures.getFrame("__DEFAULT").glTexture),
                    (this.whiteTexture =
                      g.textures.getFrame("__WHITE").glTexture));
                  var M = this.gl;
                  (M.bindFramebuffer(M.FRAMEBUFFER, null),
                    M.enable(M.SCISSOR_TEST),
                    g.scale.on(
                      l.RESIZE,
                      this.onResize,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    this.resize(F, w));
                },
                captureFrame: function (g, C) {},
                captureNextFrame: function () {},
                getFps: function () {},
                log: function () {},
                startCapture: function (g, C, T) {},
                stopCapture: function () {},
                onCapture: function (g) {},
                onResize: function (g, C) {
                  (C.width !== this.width || C.height !== this.height) &&
                    this.resize(C.width, C.height);
                },
                beginCapture: function (g, C) {
                  (g === void 0 && (g = this.width),
                    C === void 0 && (C = this.height),
                    this.renderTarget.bind(!0, g, C),
                    this.setProjectionMatrix(g, C));
                },
                endCapture: function () {
                  return (
                    this.renderTarget.unbind(!0),
                    this.resetProjectionMatrix(),
                    this.renderTarget
                  );
                },
                resize: function (g, C) {
                  var T = this.gl;
                  return (
                    (this.width = g),
                    (this.height = C),
                    this.setProjectionMatrix(g, C),
                    T.viewport(0, 0, g, C),
                    (this.drawingBufferHeight = T.drawingBufferHeight),
                    T.scissor(0, T.drawingBufferHeight - C, g, C),
                    (this.defaultScissor[2] = g),
                    (this.defaultScissor[3] = C),
                    this.emit(e.RESIZE, g, C),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getCompressedTextures: function () {
                  var g = "WEBGL_compressed_texture_",
                    C = "WEBKIT_" + g,
                    T = function (w, U) {
                      var M = w.getExtension(g + U) || w.getExtension(C + U);
                      if (M) {
                        var I = {};
                        for (var O in M) I[M[O]] = O;
                        return I;
                      }
                    },
                    F = this.gl;
                  return {
                    ETC: T(F, "etc"),
                    ETC1: T(F, "etc1"),
                    ATC: T(F, "atc"),
                    ASTC: T(F, "astc"),
                    BPTC: T(F, "bptc"),
                    RGTC: T(F, "rgtc"),
                    PVRTC: T(F, "pvrtc"),
                    S3TC: T(F, "s3tc"),
                    S3TCSRGB: T(F, "s3tc_srgb"),
                    IMG: !0,
                  };
                },
                getCompressedTextureName: function (g, C) {
                  var T = this.compression[g.toUpperCase()];
                  if (C in T) return T[C];
                },
                supportsCompressedTexture: function (g, C) {
                  var T = this.compression[g.toUpperCase()];
                  return T ? (C ? C in T : !0) : !1;
                },
                getAspectRatio: function () {
                  return this.width / this.height;
                },
                setProjectionMatrix: function (g, C) {
                  return (
                    (g !== this.projectionWidth ||
                      C !== this.projectionHeight) &&
                      ((this.projectionWidth = g),
                      (this.projectionHeight = C),
                      this.projectionMatrix.ortho(0, g, C, 0, -1e3, 1e3)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                resetProjectionMatrix: function () {
                  return this.setProjectionMatrix(this.width, this.height);
                },
                hasExtension: function (g) {
                  return this.supportedExtensions
                    ? this.supportedExtensions.indexOf(g)
                    : !1;
                },
                getExtension: function (g) {
                  return this.hasExtension(g)
                    ? (g in this.extensions ||
                        (this.extensions[g] = this.gl.getExtension(g)),
                      this.extensions[g])
                    : null;
                },
                flush: function () {
                  this.pipelines.flush();
                },
                pushScissor: function (g, C, T, F, w) {
                  w === void 0 && (w = this.drawingBufferHeight);
                  var U = this.scissorStack,
                    M = [g, C, T, F];
                  return (
                    U.push(M),
                    this.setScissor(g, C, T, F, w),
                    (this.currentScissor = M),
                    M
                  );
                },
                setScissor: function (g, C, T, F, w) {
                  w === void 0 && (w = this.drawingBufferHeight);
                  var U = this.gl,
                    M = this.currentScissor,
                    I = T > 0 && F > 0;
                  if (M && I) {
                    var O = M[0],
                      D = M[1],
                      G = M[2],
                      X = M[3];
                    I = O !== g || D !== C || G !== T || X !== F;
                  }
                  I && (this.flush(), U.scissor(g, w - C - F, T, F));
                },
                resetScissor: function () {
                  var g = this.gl;
                  g.enable(g.SCISSOR_TEST);
                  var C = this.currentScissor;
                  if (C) {
                    var T = C[0],
                      F = C[1],
                      w = C[2],
                      U = C[3];
                    w > 0 &&
                      U > 0 &&
                      g.scissor(T, this.drawingBufferHeight - F - U, w, U);
                  }
                },
                popScissor: function () {
                  var g = this.scissorStack;
                  g.pop();
                  var C = g[g.length - 1];
                  (C && this.setScissor(C[0], C[1], C[2], C[3]),
                    (this.currentScissor = C));
                },
                hasActiveStencilMask: function () {
                  var g = this.currentMask.mask,
                    C = this.currentCameraMask.mask;
                  return (g && g.isStencil) || (C && C.isStencil);
                },
                resetViewport: function () {
                  var g = this.gl;
                  (g.viewport(0, 0, this.width, this.height),
                    (this.drawingBufferHeight = g.drawingBufferHeight));
                },
                setBlendMode: function (g, C) {
                  C === void 0 && (C = !1);
                  var T = this.gl,
                    F = this.blendModes[g];
                  return C ||
                    (g !== r.BlendModes.SKIP_CHECK &&
                      this.currentBlendMode !== g)
                    ? (this.flush(),
                      T.enable(T.BLEND),
                      T.blendEquation(F.equation),
                      F.func.length > 2
                        ? T.blendFuncSeparate(
                            F.func[0],
                            F.func[1],
                            F.func[2],
                            F.func[3],
                          )
                        : T.blendFunc(F.func[0], F.func[1]),
                      (this.currentBlendMode = g),
                      !0)
                    : !1;
                },
                addBlendMode: function (g, C) {
                  var T = this.blendModes.push({ func: g, equation: C });
                  return T - 1;
                },
                updateBlendMode: function (g, C, T) {
                  return (
                    this.blendModes[g] &&
                      ((this.blendModes[g].func = C),
                      T && (this.blendModes[g].equation = T)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                removeBlendMode: function (g) {
                  return (
                    g > 17 &&
                      this.blendModes[g] &&
                      this.blendModes.splice(g, 1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                pushFramebuffer: function (g, C, T, F, w) {
                  return g === this.currentFramebuffer
                    ? this
                    : (this.fboStack.push(g),
                      this.setFramebuffer(g, C, T, F, w));
                },
                setFramebuffer: function (g, C, T, F, w) {
                  if (
                    (C === void 0 && (C = !1),
                    T === void 0 && (T = !0),
                    F === void 0 && (F = null),
                    w === void 0 && (w = !1),
                    g === this.currentFramebuffer)
                  )
                    return _____WB$wombat$check$this$function_____(this);
                  var U = this.gl,
                    M = this.width,
                    I = this.height;
                  return (
                    g && g.renderTexture && T
                      ? ((M = g.renderTexture.width),
                        (I = g.renderTexture.height))
                      : this.flush(),
                    U.bindFramebuffer(U.FRAMEBUFFER, g),
                    T && U.viewport(0, 0, M, I),
                    F &&
                      U.framebufferTexture2D(
                        U.FRAMEBUFFER,
                        U.COLOR_ATTACHMENT0,
                        U.TEXTURE_2D,
                        F,
                        0,
                      ),
                    w &&
                      (U.clearColor(0, 0, 0, 0), U.clear(U.COLOR_BUFFER_BIT)),
                    C &&
                      (g
                        ? ((this.drawingBufferHeight = I),
                          this.pushScissor(0, 0, M, I))
                        : ((this.drawingBufferHeight = this.height),
                          this.popScissor())),
                    (this.currentFramebuffer = g),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                popFramebuffer: function (g, C) {
                  (g === void 0 && (g = !1), C === void 0 && (C = !0));
                  var T = this.fboStack;
                  T.pop();
                  var F = T[T.length - 1];
                  return (F || (F = null), this.setFramebuffer(F, g, C), F);
                },
                restoreFramebuffer: function (g, C) {
                  (g === void 0 && (g = !1), C === void 0 && (C = !0));
                  var T = this.fboStack,
                    F = T[T.length - 1];
                  (F || (F = null),
                    (this.currentFramebuffer = null),
                    this.setFramebuffer(F, g, C));
                },
                setProgram: function (g) {
                  return g !== this.currentProgram
                    ? (this.flush(),
                      this.gl.useProgram(g),
                      (this.currentProgram = g),
                      !0)
                    : !1;
                },
                resetProgram: function () {
                  return (
                    this.gl.useProgram(this.currentProgram),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                createTextureFromSource: function (g, C, T, F, w) {
                  w === void 0 && (w = !1);
                  var U = this.gl,
                    M = U.NEAREST,
                    I = U.NEAREST,
                    O = U.CLAMP_TO_EDGE,
                    D = null;
                  ((C = g ? g.width : C), (T = g ? g.height : T));
                  var G = s(C, T);
                  return (
                    G && !w && (O = U.REPEAT),
                    F === r.ScaleModes.LINEAR &&
                      this.config.antialias &&
                      ((M =
                        G && this.mipmapFilter ? this.mipmapFilter : U.LINEAR),
                      (I = U.LINEAR)),
                    g && g.compressed && ((M = U.LINEAR), (I = U.LINEAR)),
                    !g && typeof C == "number" && typeof T == "number"
                      ? (D = this.createTexture2D(
                          0,
                          M,
                          I,
                          O,
                          O,
                          U.RGBA,
                          null,
                          C,
                          T,
                        ))
                      : (D = this.createTexture2D(0, M, I, O, O, U.RGBA, g)),
                    D
                  );
                },
                createTexture2D: function (g, C, T, F, w, U, M, I, O, D, G, X) {
                  ((D = D ?? !0),
                    G === void 0 && (G = !1),
                    X === void 0 && (X = !1));
                  var z = this.gl,
                    K = z.createTexture();
                  z.activeTexture(z.TEXTURE0);
                  var N = z.getParameter(z.TEXTURE_BINDING_2D);
                  (z.bindTexture(z.TEXTURE_2D, K),
                    z.texParameteri(z.TEXTURE_2D, z.TEXTURE_MIN_FILTER, C),
                    z.texParameteri(z.TEXTURE_2D, z.TEXTURE_MAG_FILTER, T),
                    z.texParameteri(z.TEXTURE_2D, z.TEXTURE_WRAP_S, w),
                    z.texParameteri(z.TEXTURE_2D, z.TEXTURE_WRAP_T, F),
                    z.pixelStorei(z.UNPACK_PREMULTIPLY_ALPHA_WEBGL, D),
                    X && z.pixelStorei(z.UNPACK_FLIP_Y_WEBGL, !0));
                  var b = !1;
                  if (M == null)
                    (z.texImage2D(
                      z.TEXTURE_2D,
                      g,
                      U,
                      I,
                      O,
                      0,
                      U,
                      z.UNSIGNED_BYTE,
                      null,
                    ),
                      (b = s(I, O)));
                  else if (M.compressed) {
                    ((I = M.width), (O = M.height), (b = M.generateMipmap));
                    for (var R = 0; R < M.mipmaps.length; R++)
                      z.compressedTexImage2D(
                        z.TEXTURE_2D,
                        R,
                        M.internalFormat,
                        M.mipmaps[R].width,
                        M.mipmaps[R].height,
                        0,
                        M.mipmaps[R].data,
                      );
                  } else
                    (G || ((I = M.width), (O = M.height)),
                      z.texImage2D(z.TEXTURE_2D, g, U, U, z.UNSIGNED_BYTE, M),
                      (b = s(I, O)));
                  return (
                    b && z.generateMipmap(z.TEXTURE_2D),
                    N && z.bindTexture(z.TEXTURE_2D, N),
                    (K.isAlphaPremultiplied = D),
                    (K.isRenderTexture = !1),
                    (K.width = I),
                    (K.height = O),
                    K
                  );
                },
                createFramebuffer: function (g, C, T, F) {
                  F === void 0 && (F = !0);
                  var w = this.gl,
                    U = w.createFramebuffer(),
                    M = 0;
                  if (
                    (this.setFramebuffer(U),
                    (T.isRenderTexture = !0),
                    (T.isAlphaPremultiplied = !1),
                    w.framebufferTexture2D(
                      w.FRAMEBUFFER,
                      w.COLOR_ATTACHMENT0,
                      w.TEXTURE_2D,
                      T,
                      0,
                    ),
                    (M = w.checkFramebufferStatus(w.FRAMEBUFFER)),
                    M !== w.FRAMEBUFFER_COMPLETE)
                  ) {
                    var I = {
                      36054: "Incomplete Attachment",
                      36055: "Missing Attachment",
                      36057: "Incomplete Dimensions",
                      36061: "Framebuffer Unsupported",
                    };
                    throw new Error("Framebuffer status: " + (I[M] || M));
                  }
                  if (((U.renderTexture = T), F)) {
                    var O = w.createRenderbuffer();
                    (w.bindRenderbuffer(w.RENDERBUFFER, O),
                      w.renderbufferStorage(
                        w.RENDERBUFFER,
                        w.DEPTH_STENCIL,
                        g,
                        C,
                      ),
                      w.framebufferRenderbuffer(
                        w.FRAMEBUFFER,
                        w.DEPTH_STENCIL_ATTACHMENT,
                        w.RENDERBUFFER,
                        O,
                      ));
                  }
                  return (this.setFramebuffer(null), U);
                },
                beginBitmapMask: function (g, C) {
                  var T = this.gl;
                  T &&
                    (this.flush(),
                    this.maskTarget.bind(!0),
                    this.currentCameraMask.mask !== g &&
                      ((this.currentMask.mask = g),
                      (this.currentMask.camera = C)));
                },
                drawBitmapMask: function (g, C, T) {
                  (this.flush(),
                    this.maskSource.bind(),
                    this.setBlendMode(0, !0),
                    g.renderWebGL(this, g, C),
                    this.maskSource.unbind(!0),
                    this.maskTarget.unbind());
                  var F = this.gl,
                    w = this.getCurrentStencilMask();
                  (w
                    ? (F.enable(F.STENCIL_TEST),
                      w.mask.applyStencil(this, w.camera, !0))
                    : (this.currentMask.mask = null),
                    this.pipelines.set(T),
                    F.activeTexture(F.TEXTURE0),
                    F.bindTexture(F.TEXTURE_2D, this.maskTarget.texture),
                    F.activeTexture(F.TEXTURE1),
                    F.bindTexture(F.TEXTURE_2D, this.maskSource.texture));
                },
                createProgram: function (g, C) {
                  var T = this.gl,
                    F = T.createProgram(),
                    w = T.createShader(T.VERTEX_SHADER),
                    U = T.createShader(T.FRAGMENT_SHADER);
                  (T.shaderSource(w, g),
                    T.shaderSource(U, C),
                    T.compileShader(w),
                    T.compileShader(U));
                  var M = `Shader failed:
`;
                  if (!T.getShaderParameter(w, T.COMPILE_STATUS))
                    throw new Error("Vertex " + M + T.getShaderInfoLog(w));
                  if (!T.getShaderParameter(U, T.COMPILE_STATUS))
                    throw new Error("Fragment " + M + T.getShaderInfoLog(U));
                  if (
                    (T.attachShader(F, w),
                    T.attachShader(F, U),
                    T.linkProgram(F),
                    !T.getProgramParameter(F, T.LINK_STATUS))
                  )
                    throw new Error("Link " + M + T.getProgramInfoLog(F));
                  return (T.useProgram(F), F);
                },
                createVertexBuffer: function (g, C) {
                  var T = this.gl,
                    F = T.createBuffer();
                  return (
                    T.bindBuffer(T.ARRAY_BUFFER, F),
                    T.bufferData(T.ARRAY_BUFFER, g, C),
                    T.bindBuffer(T.ARRAY_BUFFER, null),
                    F
                  );
                },
                createIndexBuffer: function (g, C) {
                  var T = this.gl,
                    F = T.createBuffer();
                  return (
                    T.bindBuffer(T.ELEMENT_ARRAY_BUFFER, F),
                    T.bufferData(T.ELEMENT_ARRAY_BUFFER, g, C),
                    T.bindBuffer(T.ELEMENT_ARRAY_BUFFER, null),
                    F
                  );
                },
                deleteTexture: function (g) {
                  return (
                    g && this.gl.deleteTexture(g),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                deleteFramebuffer: function (g) {
                  if (!g) return _____WB$wombat$check$this$function_____(this);
                  var C = this.gl;
                  (this.currentFramebuffer === g &&
                    (this.currentFramebuffer = null),
                    A(this.fboStack, g),
                    C.bindFramebuffer(C.FRAMEBUFFER, g),
                    (g.renderTexture = void 0));
                  var T = C.getFramebufferAttachmentParameter(
                    C.FRAMEBUFFER,
                    C.COLOR_ATTACHMENT0,
                    C.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME,
                  );
                  T !== null &&
                    (C.framebufferTexture2D(
                      C.FRAMEBUFFER,
                      C.COLOR_ATTACHMENT0,
                      C.TEXTURE_2D,
                      null,
                      0,
                    ),
                    C.deleteTexture(T));
                  var F = C.getFramebufferAttachmentParameter(
                    C.FRAMEBUFFER,
                    C.DEPTH_STENCIL_ATTACHMENT,
                    C.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME,
                  );
                  return (
                    F !== null && C.deleteRenderbuffer(F),
                    C.bindFramebuffer(C.FRAMEBUFFER, null),
                    C.deleteFramebuffer(g),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                deleteProgram: function (g) {
                  return (
                    g && this.gl.deleteProgram(g),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                deleteBuffer: function (g) {
                  return (
                    this.gl.deleteBuffer(g),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                preRenderCamera: function (g) {
                  var C = g.x,
                    T = g.y,
                    F = g.width,
                    w = g.height,
                    U = g.backgroundColor;
                  if (
                    (g.emit(c.PRE_RENDER, g),
                    this.pipelines.preBatchCamera(g),
                    this.pushScissor(C, T, F, w),
                    g.mask &&
                      ((this.currentCameraMask.mask = g.mask),
                      (this.currentCameraMask.camera = g._maskCamera),
                      g.mask.preRenderWebGL(this, g, g._maskCamera)),
                    U.alphaGL > 0)
                  ) {
                    var M = this.pipelines.setMulti();
                    M.drawFillRect(
                      C,
                      T,
                      F,
                      w,
                      v.getTintFromFloats(U.blueGL, U.greenGL, U.redGL, 1),
                      U.alphaGL,
                    );
                  }
                },
                getCurrentStencilMask: function () {
                  var g = null,
                    C = this.maskStack,
                    T = this.currentCameraMask;
                  return (
                    C.length > 0
                      ? (g = C[C.length - 1])
                      : T.mask && T.mask.isStencil && (g = T),
                    g
                  );
                },
                postRenderCamera: function (g) {
                  var C = g.flashEffect,
                    T = g.fadeEffect;
                  if (C.isRunning || T.isRunning || T.isComplete) {
                    var F = this.pipelines.setMulti();
                    (C.postRenderWebGL(F, v.getTintFromFloats),
                      T.postRenderWebGL(F, v.getTintFromFloats));
                  }
                  ((g.dirty = !1),
                    this.popScissor(),
                    g.mask &&
                      ((this.currentCameraMask.mask = null),
                      g.mask.postRenderWebGL(this, g._maskCamera)),
                    this.pipelines.postBatchCamera(g),
                    g.emit(c.POST_RENDER, g));
                },
                preRender: function () {
                  if (!this.contextLost) {
                    var g = this.gl;
                    if (
                      (g.bindFramebuffer(g.FRAMEBUFFER, null),
                      this.config.clearBeforeRender)
                    ) {
                      var C = this.config.backgroundColor;
                      (g.clearColor(C.redGL, C.greenGL, C.blueGL, C.alphaGL),
                        g.clear(
                          g.COLOR_BUFFER_BIT |
                            g.DEPTH_BUFFER_BIT |
                            g.STENCIL_BUFFER_BIT,
                        ));
                    }
                    (g.enable(g.SCISSOR_TEST),
                      (this.currentScissor = this.defaultScissor),
                      (this.scissorStack.length = 0),
                      this.scissorStack.push(this.currentScissor),
                      this.game.scene.customViewports &&
                        g.scissor(
                          0,
                          this.drawingBufferHeight - this.height,
                          this.width,
                          this.height,
                        ),
                      (this.currentMask.mask = null),
                      (this.currentCameraMask.mask = null),
                      (this.maskStack.length = 0),
                      this.emit(e.PRE_RENDER));
                  }
                },
                render: function (g, C, T) {
                  if (!this.contextLost) {
                    var F = C.length;
                    if (
                      (this.emit(e.RENDER, g, T),
                      this.preRenderCamera(T),
                      F === 0)
                    ) {
                      (this.setBlendMode(r.BlendModes.NORMAL),
                        this.postRenderCamera(T));
                      return;
                    }
                    this.currentType = "";
                    for (var w = this.currentMask, U = 0; U < F; U++) {
                      this.finalType = U === F - 1;
                      var M = C[U],
                        I = M.mask;
                      ((w = this.currentMask),
                        w.mask &&
                          w.mask !== I &&
                          w.mask.postRenderWebGL(this, w.camera),
                        I && w.mask !== I && I.preRenderWebGL(this, M, T),
                        M.blendMode !== this.currentBlendMode &&
                          this.setBlendMode(M.blendMode));
                      var O = M.type;
                      (O !== this.currentType &&
                        ((this.newType = !0), (this.currentType = O)),
                        this.finalType
                          ? (this.nextTypeMatch = !1)
                          : (this.nextTypeMatch =
                              C[U + 1].type === this.currentType),
                        M.renderWebGL(this, M, T),
                        (this.newType = !1));
                    }
                    ((w = this.currentMask),
                      w.mask && w.mask.postRenderWebGL(this, w.camera),
                      this.setBlendMode(r.BlendModes.NORMAL),
                      this.postRenderCamera(T));
                  }
                },
                postRender: function () {
                  if (!this.contextLost) {
                    (this.flush(), this.emit(e.POST_RENDER));
                    var g = this.snapshotState;
                    g.callback && (m(this.gl, g), (g.callback = null));
                  }
                },
                clearStencilMask: function () {
                  this.gl.disable(this.gl.STENCIL_TEST);
                },
                restoreStencilMask: function () {
                  var g = this.gl,
                    C = this.getCurrentStencilMask();
                  if (C) {
                    var T = C.mask;
                    (g.enable(g.STENCIL_TEST),
                      T.invertAlpha
                        ? g.stencilFunc(g.NOTEQUAL, T.level, 255)
                        : g.stencilFunc(g.EQUAL, T.level, 255));
                  }
                },
                snapshot: function (g, C, T) {
                  return this.snapshotArea(
                    0,
                    0,
                    this.gl.drawingBufferWidth,
                    this.gl.drawingBufferHeight,
                    g,
                    C,
                    T,
                  );
                },
                snapshotArea: function (g, C, T, F, w, U, M) {
                  var I = this.snapshotState;
                  return (
                    (I.callback = w),
                    (I.type = U),
                    (I.encoder = M),
                    (I.getPixel = !1),
                    (I.x = g),
                    (I.y = C),
                    (I.width = T),
                    (I.height = F),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                snapshotPixel: function (g, C, T) {
                  return (
                    this.snapshotArea(g, C, 1, 1, T),
                    (this.snapshotState.getPixel = !0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                snapshotFramebuffer: function (
                  g,
                  C,
                  T,
                  F,
                  w,
                  U,
                  M,
                  I,
                  O,
                  D,
                  G,
                ) {
                  (w === void 0 && (w = !1),
                    U === void 0 && (U = 0),
                    M === void 0 && (M = 0),
                    I === void 0 && (I = C),
                    O === void 0 && (O = T),
                    D === "pixel" && ((w = !0), (D = "image/png")));
                  var X = this.currentFramebuffer;
                  this.snapshotArea(U, M, I, O, F, D, G);
                  var z = this.snapshotState;
                  return (
                    (z.getPixel = w),
                    (z.isFramebuffer = !0),
                    (z.bufferWidth = C),
                    (z.bufferHeight = T),
                    (z.width = Math.min(z.width, C)),
                    (z.height = Math.min(z.height, T)),
                    this.setFramebuffer(g),
                    m(this.gl, z),
                    this.setFramebuffer(X),
                    (z.callback = null),
                    (z.isFramebuffer = !1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                canvasToTexture: function (g, C, T, F) {
                  return (
                    T === void 0 && (T = !1),
                    F === void 0 && (F = !1),
                    C
                      ? this.updateCanvasTexture(g, C, F)
                      : this.createCanvasTexture(g, T, F)
                  );
                },
                createCanvasTexture: function (g, C, T) {
                  (C === void 0 && (C = !1), T === void 0 && (T = !1));
                  var F = this.gl,
                    w = F.NEAREST,
                    U = F.NEAREST,
                    M = g.width,
                    I = g.height,
                    O = F.CLAMP_TO_EDGE,
                    D = s(M, I);
                  return (
                    !C && D && (O = F.REPEAT),
                    this.config.antialias &&
                      ((w =
                        D && this.mipmapFilter ? this.mipmapFilter : F.LINEAR),
                      (U = F.LINEAR)),
                    this.createTexture2D(
                      0,
                      w,
                      U,
                      O,
                      O,
                      F.RGBA,
                      g,
                      M,
                      I,
                      !0,
                      !1,
                      T,
                    )
                  );
                },
                updateCanvasTexture: function (g, C, T) {
                  T === void 0 && (T = !1);
                  var F = this.gl,
                    w = g.width,
                    U = g.height;
                  if (w > 0 && U > 0) {
                    F.activeTexture(F.TEXTURE0);
                    var M = F.getParameter(F.TEXTURE_BINDING_2D);
                    (F.bindTexture(F.TEXTURE_2D, C),
                      T && F.pixelStorei(F.UNPACK_FLIP_Y_WEBGL, !0),
                      F.pixelStorei(F.UNPACK_PREMULTIPLY_ALPHA_WEBGL, !0),
                      F.texImage2D(
                        F.TEXTURE_2D,
                        0,
                        F.RGBA,
                        F.RGBA,
                        F.UNSIGNED_BYTE,
                        g,
                      ),
                      (C.width = w),
                      (C.height = U),
                      M && F.bindTexture(F.TEXTURE_2D, M));
                  }
                  return C;
                },
                createVideoTexture: function (g, C, T) {
                  (C === void 0 && (C = !1), T === void 0 && (T = !1));
                  var F = this.gl,
                    w = F.NEAREST,
                    U = F.NEAREST,
                    M = g.videoWidth,
                    I = g.videoHeight,
                    O = F.CLAMP_TO_EDGE,
                    D = s(M, I);
                  return (
                    !C && D && (O = F.REPEAT),
                    this.config.antialias &&
                      ((w =
                        D && this.mipmapFilter ? this.mipmapFilter : F.LINEAR),
                      (U = F.LINEAR)),
                    this.createTexture2D(
                      0,
                      w,
                      U,
                      O,
                      O,
                      F.RGBA,
                      g,
                      M,
                      I,
                      !0,
                      !0,
                      T,
                    )
                  );
                },
                updateVideoTexture: function (g, C, T) {
                  T === void 0 && (T = !1);
                  var F = this.gl,
                    w = g.videoWidth,
                    U = g.videoHeight;
                  if (w > 0 && U > 0) {
                    F.activeTexture(F.TEXTURE0);
                    var M = F.getParameter(F.TEXTURE_BINDING_2D);
                    (F.bindTexture(F.TEXTURE_2D, C),
                      F.pixelStorei(F.UNPACK_FLIP_Y_WEBGL, T),
                      F.texImage2D(
                        F.TEXTURE_2D,
                        0,
                        F.RGBA,
                        F.RGBA,
                        F.UNSIGNED_BYTE,
                        g,
                      ),
                      (C.width = w),
                      (C.height = U),
                      M && F.bindTexture(F.TEXTURE_2D, M));
                  }
                  return C;
                },
                setTextureFilter: function (g, C) {
                  var T = this.gl,
                    F = C === 0 ? T.LINEAR : T.NEAREST;
                  T.activeTexture(T.TEXTURE0);
                  var w = T.getParameter(T.TEXTURE_BINDING_2D);
                  return (
                    T.bindTexture(T.TEXTURE_2D, g),
                    T.texParameteri(T.TEXTURE_2D, T.TEXTURE_MIN_FILTER, F),
                    T.texParameteri(T.TEXTURE_2D, T.TEXTURE_MAG_FILTER, F),
                    w && T.bindTexture(T.TEXTURE_2D, w),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getMaxTextureSize: function () {
                  return this.config.maxTextureSize;
                },
                destroy: function () {
                  (this.canvas.removeEventListener(
                    "webglcontextlost",
                    this.contextLostHandler,
                    !1,
                  ),
                    this.maskTarget.destroy(),
                    this.maskSource.destroy(),
                    this.pipelines.destroy(),
                    this.removeAllListeners(),
                    (this.fboStack = []),
                    (this.maskStack = []),
                    (this.extensions = {}),
                    (this.textureIndexes = []),
                    (this.gl = null),
                    (this.game = null),
                    (this.canvas = null),
                    (this.contextLost = !0),
                    (this.currentMask = null),
                    (this.currentCameraMask = null));
                },
              });
            d.exports = x;
          },
          71305: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(72632),
              a = t(71402),
              r = new A({
                initialize: function (e, s, u, i, o) {
                  ((this.pipeline = e),
                    (this.name = s),
                    (this.renderer = e.renderer),
                    (this.gl = this.renderer.gl),
                    (this.fragSrc = i),
                    (this.vertSrc = u),
                    (this.program = this.renderer.createProgram(u, i)),
                    this.attributes,
                    (this.vertexComponentCount = 0),
                    (this.vertexSize = 0),
                    (this.uniforms = {}),
                    this.createAttributes(o),
                    this.createUniforms());
                },
                createAttributes: function (n) {
                  var e = 0,
                    s = 0,
                    u = [];
                  this.vertexComponentCount = 0;
                  for (var i = 0; i < n.length; i++) {
                    var o = n[i],
                      h = o.name,
                      l = c(o, "size", 1),
                      f = c(o, "type", a.FLOAT),
                      v = f.enum,
                      m = f.size,
                      x = !!o.normalized;
                    (u.push({
                      name: h,
                      size: l,
                      type: v,
                      normalized: x,
                      offset: s,
                      enabled: !1,
                      location: -1,
                    }),
                      m === 4 ? (e += l) : e++,
                      (s += l * m));
                  }
                  ((this.vertexSize = s),
                    (this.vertexComponentCount = e),
                    (this.attributes = u));
                },
                bind: function (n, e) {
                  return (
                    n === void 0 && (n = !1),
                    e === void 0 && (e = !1),
                    e && this.pipeline.flush(),
                    this.renderer.setProgram(this.program),
                    n && this.setAttribPointers(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                rebind: function () {
                  return (
                    this.renderer.setProgram(this.program),
                    this.setAttribPointers(!0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setAttribPointers: function (n) {
                  n === void 0 && (n = !1);
                  for (
                    var e = this.gl,
                      s = this.vertexSize,
                      u = this.attributes,
                      i = this.program,
                      o = 0;
                    o < u.length;
                    o++
                  ) {
                    var h = u[o],
                      l = h.size,
                      f = h.type,
                      v = h.offset,
                      m = h.enabled,
                      x = h.location,
                      g = !!h.normalized;
                    if (n) {
                      var C = e.getAttribLocation(i, h.name);
                      C >= 0
                        ? (e.enableVertexAttribArray(C),
                          e.vertexAttribPointer(C, l, f, g, s, v),
                          (h.enabled = !0),
                          (h.location = C))
                        : C !== -1 && e.disableVertexAttribArray(C);
                    } else
                      m
                        ? e.vertexAttribPointer(x, l, f, g, s, v)
                        : !m &&
                          x > -1 &&
                          (e.disableVertexAttribArray(x), (h.location = -1));
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                createUniforms: function () {
                  var n = this.gl,
                    e = this.program,
                    s = this.uniforms,
                    u,
                    i,
                    o,
                    h = n.getProgramParameter(e, n.ACTIVE_UNIFORMS);
                  for (u = 0; u < h; u++) {
                    var l = n.getActiveUniform(e, u);
                    if (l) {
                      ((i = l.name),
                        (o = n.getUniformLocation(e, i)),
                        o !== null &&
                          (s[i] = {
                            name: i,
                            location: o,
                            value1: null,
                            value2: null,
                            value3: null,
                            value4: null,
                          }));
                      var f = i.indexOf("[");
                      f > 0 &&
                        ((i = i.substr(0, f)),
                        s.hasOwnProperty(i) ||
                          ((o = n.getUniformLocation(e, i)),
                          o !== null &&
                            (s[i] = {
                              name: i,
                              location: o,
                              value1: null,
                              value2: null,
                              value3: null,
                              value4: null,
                            })));
                    }
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                hasUniform: function (n) {
                  return this.uniforms.hasOwnProperty(n);
                },
                resetUniform: function (n) {
                  var e = this.uniforms[n];
                  return (
                    e &&
                      ((e.value1 = null),
                      (e.value2 = null),
                      (e.value3 = null),
                      (e.value4 = null)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setUniform1: function (n, e, s, u) {
                  var i = this.uniforms[e];
                  return i
                    ? ((u || i.value1 !== s) &&
                        ((i.value1 = s),
                        this.renderer.setProgram(this.program),
                        n.call(this.gl, i.location, s),
                        (this.pipeline.currentShader =
                          _____WB$wombat$check$this$function_____(this))),
                      _____WB$wombat$check$this$function_____(this))
                    : this;
                },
                setUniform2: function (n, e, s, u, i) {
                  var o = this.uniforms[e];
                  return o
                    ? ((i || o.value1 !== s || o.value2 !== u) &&
                        ((o.value1 = s),
                        (o.value2 = u),
                        this.renderer.setProgram(this.program),
                        n.call(this.gl, o.location, s, u),
                        (this.pipeline.currentShader =
                          _____WB$wombat$check$this$function_____(this))),
                      _____WB$wombat$check$this$function_____(this))
                    : this;
                },
                setUniform3: function (n, e, s, u, i, o) {
                  var h = this.uniforms[e];
                  return h
                    ? ((o ||
                        h.value1 !== s ||
                        h.value2 !== u ||
                        h.value3 !== i) &&
                        ((h.value1 = s),
                        (h.value2 = u),
                        (h.value3 = i),
                        this.renderer.setProgram(this.program),
                        n.call(this.gl, h.location, s, u, i),
                        (this.pipeline.currentShader =
                          _____WB$wombat$check$this$function_____(this))),
                      _____WB$wombat$check$this$function_____(this))
                    : this;
                },
                setUniform4: function (n, e, s, u, i, o, h) {
                  var l = this.uniforms[e];
                  return l
                    ? ((h ||
                        l.value1 !== s ||
                        l.value2 !== u ||
                        l.value3 !== i ||
                        l.value4 !== o) &&
                        ((l.value1 = s),
                        (l.value2 = u),
                        (l.value3 = i),
                        (l.value4 = o),
                        this.renderer.setProgram(this.program),
                        n.call(this.gl, l.location, s, u, i, o),
                        (this.pipeline.currentShader =
                          _____WB$wombat$check$this$function_____(this))),
                      _____WB$wombat$check$this$function_____(this))
                    : this;
                },
                setBoolean: function (n, e) {
                  return this.setUniform1(this.gl.uniform1i, n, Number(e));
                },
                set1f: function (n, e) {
                  return this.setUniform1(this.gl.uniform1f, n, e);
                },
                set2f: function (n, e, s) {
                  return this.setUniform2(this.gl.uniform2f, n, e, s);
                },
                set3f: function (n, e, s, u) {
                  return this.setUniform3(this.gl.uniform3f, n, e, s, u);
                },
                set4f: function (n, e, s, u, i) {
                  return this.setUniform4(this.gl.uniform4f, n, e, s, u, i);
                },
                set1fv: function (n, e) {
                  return this.setUniform1(this.gl.uniform1fv, n, e, !0);
                },
                set2fv: function (n, e) {
                  return this.setUniform1(this.gl.uniform2fv, n, e, !0);
                },
                set3fv: function (n, e) {
                  return this.setUniform1(this.gl.uniform3fv, n, e, !0);
                },
                set4fv: function (n, e) {
                  return this.setUniform1(this.gl.uniform4fv, n, e, !0);
                },
                set1iv: function (n, e) {
                  return this.setUniform1(this.gl.uniform1iv, n, e, !0);
                },
                set2iv: function (n, e) {
                  return this.setUniform1(this.gl.uniform2iv, n, e, !0);
                },
                set3iv: function (n, e) {
                  return this.setUniform1(this.gl.uniform3iv, n, e, !0);
                },
                set4iv: function (n, e) {
                  return this.setUniform1(this.gl.uniform4iv, n, e, !0);
                },
                set1i: function (n, e) {
                  return this.setUniform1(this.gl.uniform1i, n, e);
                },
                set2i: function (n, e, s) {
                  return this.setUniform2(this.gl.uniform2i, n, e, s);
                },
                set3i: function (n, e, s, u) {
                  return this.setUniform3(this.gl.uniform3i, n, e, s, u);
                },
                set4i: function (n, e, s, u, i) {
                  return this.setUniform4(this.gl.uniform4i, n, e, s, u, i);
                },
                setMatrix2fv: function (n, e, s) {
                  return this.setUniform2(
                    this.gl.uniformMatrix2fv,
                    n,
                    e,
                    s,
                    !0,
                  );
                },
                setMatrix3fv: function (n, e, s) {
                  return this.setUniform2(
                    this.gl.uniformMatrix3fv,
                    n,
                    e,
                    s,
                    !0,
                  );
                },
                setMatrix4fv: function (n, e, s) {
                  return this.setUniform2(
                    this.gl.uniformMatrix4fv,
                    n,
                    e,
                    s,
                    !0,
                  );
                },
                createProgram: function (n, e) {
                  (n === void 0 && (n = this.vertSrc),
                    e === void 0 && (e = this.fragSrc));
                  var s = this.gl;
                  return (
                    this.program && s.deleteProgram(this.program),
                    (this.vertSrc = n),
                    (this.fragSrc = e),
                    (this.program = this.renderer.createProgram(n, e)),
                    this.createUniforms(),
                    this.rebind()
                  );
                },
                destroy: function () {
                  (this.gl.deleteProgram(this.program),
                    (this.pipeline = null),
                    (this.renderer = null),
                    (this.gl = null),
                    (this.program = null),
                    (this.attributes = null),
                    (this.uniforms = null));
                },
              });
            d.exports = r;
          },
          71402: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              BYTE: { enum: 5120, size: 1 },
              UNSIGNED_BYTE: { enum: 5121, size: 1 },
              SHORT: { enum: 5122, size: 2 },
              UNSIGNED_SHORT: { enum: 5123, size: 2 },
              INT: { enum: 5124, size: 4 },
              UNSIGNED_INT: { enum: 5125, size: 4 },
              FLOAT: { enum: 5126, size: 4 },
            };
            d.exports = y;
          },
          55478: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(71402),
              c = t(98611),
              a = {
                PipelineManager: t(35217),
                Pipelines: t(62253),
                RenderTarget: t(37410),
                Utils: t(75512),
                WebGLPipeline: t(44775),
                WebGLRenderer: t(11857),
                WebGLShader: t(71305),
              };
            ((a = c(!1, a, A)), (d.exports = a));
          },
          5583: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @author       Felipe Alfonso <@bitnenfer>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(72632),
              a = t(91679),
              r = t(89053),
              n = t(71402),
              e = t(44775),
              s = new A({
                Extends: e,
                initialize: function (i) {
                  ((i.fragShader = c(i, "fragShader", a)),
                    (i.vertShader = c(i, "vertShader", r)),
                    (i.batchSize = c(i, "batchSize", 1)),
                    (i.vertices = c(i, "vertices", [-1, 1, -1, -7, 7, 1])),
                    (i.attributes = c(i, "attributes", [
                      { name: "inPosition", size: 2, type: n.FLOAT },
                    ])),
                    e.call(this, i));
                },
                boot: function () {
                  (e.prototype.boot.call(this),
                    this.set1i("uMainSampler", 0),
                    this.set1i("uMaskSampler", 1));
                },
                resize: function (u, i) {
                  (e.prototype.resize.call(this, u, i),
                    this.set2f("uResolution", u, i));
                },
                beginMask: function (u, i, o) {
                  this.renderer.beginBitmapMask(u, o);
                },
                endMask: function (u, i, o) {
                  var h = this.gl,
                    l = this.renderer,
                    f = u.bitmapMask;
                  f &&
                    h &&
                    (l.drawBitmapMask(
                      f,
                      i,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    o && this.set2f("uResolution", o.width, o.height),
                    this.set1i("uInvertMaskAlpha", u.invertAlpha),
                    h.drawArrays(this.topology, 0, 3),
                    o && this.set2f("uResolution", this.width, this.height),
                    h.bindTexture(h.TEXTURE_2D, null));
                },
              });
            d.exports = s;
          },
          81828: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(58136),
              a = t(47406),
              r = t(72632),
              n = t(87228),
              e = t(92462),
              s = t(75512),
              u = new A({
                Extends: n,
                initialize: function (o) {
                  ((o.shaders = [
                    s.setGlowQuality(e.FXGlowFrag, o.game),
                    e.FXShadowFrag,
                    e.FXPixelateFrag,
                    e.FXVignetteFrag,
                    e.FXShineFrag,
                    e.FXBlurLowFrag,
                    e.FXBlurMedFrag,
                    e.FXBlurHighFrag,
                    e.FXGradientFrag,
                    e.FXBloomFrag,
                    e.ColorMatrixFrag,
                    e.FXCircleFrag,
                    e.FXBarrelFrag,
                    e.FXDisplacementFrag,
                    e.FXWipeFrag,
                    e.FXBokehFrag,
                  ]),
                    n.call(this, o));
                  var h = this.game;
                  ((this.glow = new c.Glow(h)),
                    (this.shadow = new c.Shadow(h)),
                    (this.pixelate = new c.Pixelate(h)),
                    (this.vignette = new c.Vignette(h)),
                    (this.shine = new c.Shine(h)),
                    (this.gradient = new c.Gradient(h)),
                    (this.circle = new c.Circle(h)),
                    (this.barrel = new c.Barrel(h)),
                    (this.wipe = new c.Wipe(h)),
                    (this.bokeh = new c.Bokeh(h)));
                  var l = [];
                  ((l[a.GLOW] = this.onGlow),
                    (l[a.SHADOW] = this.onShadow),
                    (l[a.PIXELATE] = this.onPixelate),
                    (l[a.VIGNETTE] = this.onVignette),
                    (l[a.SHINE] = this.onShine),
                    (l[a.BLUR] = this.onBlur),
                    (l[a.GRADIENT] = this.onGradient),
                    (l[a.BLOOM] = this.onBloom),
                    (l[a.COLOR_MATRIX] = this.onColorMatrix),
                    (l[a.CIRCLE] = this.onCircle),
                    (l[a.BARREL] = this.onBarrel),
                    (l[a.DISPLACEMENT] = this.onDisplacement),
                    (l[a.WIPE] = this.onWipe),
                    (l[a.BOKEH] = this.onBokeh),
                    (this.fxHandlers = l),
                    this.source,
                    this.target,
                    this.swap);
                },
                onDraw: function (i, o, h) {
                  ((this.source = i), (this.target = o), (this.swap = h));
                  var l = i.width,
                    f = i.height,
                    v = this.tempSprite,
                    m = this.fxHandlers;
                  if (v && v.preFX)
                    for (var x = v.preFX.list, g = 0; g < x.length; g++) {
                      var C = x[g];
                      C.active && m[C.type].call(this, C, l, f);
                    }
                  this.drawToGame(this.source);
                },
                runDraw: function () {
                  var i = this.source,
                    o = this.target;
                  (this.copy(i, o), (this.source = o), (this.target = i));
                },
                onGlow: function (i, o, h) {
                  var l = this.shaders[a.GLOW];
                  (this.setShader(l),
                    this.glow.onPreRender(i, l, o, h),
                    this.runDraw());
                },
                onShadow: function (i) {
                  var o = this.shaders[a.SHADOW];
                  (this.setShader(o),
                    this.shadow.onPreRender(i, o),
                    this.runDraw());
                },
                onPixelate: function (i, o, h) {
                  var l = this.shaders[a.PIXELATE];
                  (this.setShader(l),
                    this.pixelate.onPreRender(i, l, o, h),
                    this.runDraw());
                },
                onVignette: function (i) {
                  var o = this.shaders[a.VIGNETTE];
                  (this.setShader(o),
                    this.vignette.onPreRender(i, o),
                    this.runDraw());
                },
                onShine: function (i, o, h) {
                  var l = this.shaders[a.SHINE];
                  (this.setShader(l),
                    this.shine.onPreRender(i, l, o, h),
                    this.runDraw());
                },
                onBlur: function (i, o, h) {
                  var l = r(i, "quality"),
                    f = this.shaders[a.BLUR + l];
                  (this.setShader(f),
                    this.set1i("uMainSampler", 0),
                    this.set2f("resolution", o, h),
                    this.set1f("strength", r(i, "strength")),
                    this.set3fv("color", r(i, "glcolor")));
                  for (
                    var v = r(i, "x"), m = r(i, "y"), x = r(i, "steps"), g = 0;
                    g < x;
                    g++
                  )
                    (this.set2f("offset", v, 0),
                      this.runDraw(),
                      this.set2f("offset", 0, m),
                      this.runDraw());
                },
                onGradient: function (i) {
                  var o = this.shaders[a.GRADIENT];
                  (this.setShader(o),
                    this.gradient.onPreRender(i, o),
                    this.runDraw());
                },
                onBloom: function (i, o, h) {
                  var l = this.shaders[a.BLOOM];
                  (this.copySprite(this.source, this.swap),
                    this.setShader(l),
                    this.set1i("uMainSampler", 0),
                    this.set1f("strength", r(i, "blurStrength")),
                    this.set3fv("color", r(i, "glcolor")));
                  for (
                    var f = (2 / o) * r(i, "offsetX"),
                      v = (2 / h) * r(i, "offsetY"),
                      m = r(i, "steps"),
                      x = 0;
                    x < m;
                    x++
                  )
                    (this.set2f("offset", f, 0),
                      this.runDraw(),
                      this.set2f("offset", 0, v),
                      this.runDraw());
                  (this.blendFrames(
                    this.swap,
                    this.source,
                    this.target,
                    r(i, "strength"),
                  ),
                    this.copySprite(this.target, this.source));
                },
                onColorMatrix: function (i) {
                  (this.setShader(this.colorMatrixShader),
                    this.set1fv("uColorMatrix", i.getData()),
                    this.set1f("uAlpha", i.alpha),
                    this.runDraw());
                },
                onCircle: function (i, o, h) {
                  var l = this.shaders[a.CIRCLE];
                  (this.setShader(l),
                    this.circle.onPreRender(i, l, o, h),
                    this.runDraw());
                },
                onBarrel: function (i) {
                  var o = this.shaders[a.BARREL];
                  (this.setShader(o),
                    this.barrel.onPreRender(i, o),
                    this.runDraw());
                },
                onDisplacement: function (i) {
                  (this.setShader(this.shaders[a.DISPLACEMENT]),
                    this.set1i("uDisplacementSampler", 1),
                    this.set2f("amount", i.x, i.y),
                    this.bindTexture(i.glTexture, 1),
                    this.runDraw());
                },
                onWipe: function (i) {
                  var o = this.shaders[a.WIPE];
                  (this.setShader(o),
                    this.wipe.onPreRender(i, o),
                    this.runDraw());
                },
                onBokeh: function (i, o, h) {
                  var l = this.shaders[a.BOKEH];
                  (this.setShader(l),
                    this.bokeh.onPreRender(i, l, o, h),
                    this.runDraw());
                },
                destroy: function () {
                  return (
                    this.glow.destroy(),
                    this.shadow.destroy(),
                    this.pixelate.destroy(),
                    this.vignette.destroy(),
                    this.shine.destroy(),
                    this.gradient.destroy(),
                    this.circle.destroy(),
                    this.barrel.destroy(),
                    this.wipe.destroy(),
                    this.bokeh.destroy(),
                    (this.fxHandlers = null),
                    (this.source = null),
                    (this.target = null),
                    (this.swap = null),
                    n.prototype.destroy.call(this),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
              });
            d.exports = u;
          },
          66901: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @author       Felipe Alfonso <@bitnenfer>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(72632),
              a = t(65045),
              r = t(77310),
              n = t(69360),
              e = t(93736),
              s = t(44775),
              u = new A({
                Extends: r,
                initialize: function (o) {
                  var h = c(o, "fragShader", a);
                  ((o.fragShader = h.replace(
                    "%LIGHT_COUNT%",
                    o.game.renderer.config.maxLights,
                  )),
                    r.call(this, o),
                    (this.inverseRotationMatrix = new Float32Array([
                      1, 0, 0, 0, 1, 0, 0, 0, 1,
                    ])),
                    this.defaultNormalMap,
                    this.currentNormalMap,
                    (this.lightsActive = !0),
                    (this.tempVec2 = new e()),
                    (this._tempMatrix = new n()),
                    (this._tempMatrix2 = new n()));
                },
                boot: function () {
                  s.prototype.boot.call(this);
                  var i = this.gl,
                    o = i.createTexture();
                  (i.activeTexture(i.TEXTURE0),
                    i.bindTexture(i.TEXTURE_2D, o),
                    i.texImage2D(
                      i.TEXTURE_2D,
                      0,
                      i.RGBA,
                      1,
                      1,
                      0,
                      i.RGBA,
                      i.UNSIGNED_BYTE,
                      new Uint8Array([127, 127, 255, 255]),
                    ),
                    (this.defaultNormalMap = { glTexture: o }));
                },
                onRender: function (i, o) {
                  var h = i.sys.lights;
                  if (((this.lightsActive = !1), !(!h || !h.active))) {
                    var l = h.getLights(o),
                      f = l.length;
                    this.lightsActive = !0;
                    var v,
                      m = this.renderer,
                      x = m.height,
                      g = o.matrix,
                      C = this.tempVec2;
                    for (
                      this.set1i("uMainSampler", 0),
                        this.set1i("uNormSampler", 1),
                        this.set2f(
                          "uResolution",
                          this.width / 2,
                          this.height / 2,
                        ),
                        this.set4f("uCamera", o.x, o.y, o.rotation, o.zoom),
                        this.set3f(
                          "uAmbientLightColor",
                          h.ambientColor.r,
                          h.ambientColor.g,
                          h.ambientColor.b,
                        ),
                        this.set1i("uLightCount", f),
                        v = 0;
                      v < f;
                      v++
                    ) {
                      var T = l[v].light,
                        F = T.color,
                        w = "uLights[" + v + "].";
                      (g.transformPoint(T.x, T.y, C),
                        this.set2f(
                          w + "position",
                          C.x - o.scrollX * T.scrollFactorX * o.zoom,
                          x - (C.y - o.scrollY * T.scrollFactorY * o.zoom),
                        ),
                        this.set3f(w + "color", F.r, F.g, F.b),
                        this.set1f(w + "intensity", T.intensity),
                        this.set1f(w + "radius", T.radius));
                    }
                    this.currentNormalMapRotation = null;
                  }
                },
                setNormalMapRotation: function (i) {
                  if (
                    i !== this.currentNormalMapRotation ||
                    this.vertexCount === 0
                  ) {
                    this.vertexCount > 0 && this.flush();
                    var o = this.inverseRotationMatrix;
                    if (i) {
                      var h = -i,
                        l = Math.cos(h),
                        f = Math.sin(h);
                      ((o[1] = f), (o[3] = -f), (o[0] = o[4] = l));
                    } else ((o[0] = o[4] = 1), (o[1] = o[3] = 0));
                    (this.setMatrix3fv("uInverseRotationMatrix", !1, o),
                      (this.currentNormalMapRotation = i));
                  }
                },
                setTexture2D: function (i, o) {
                  var h = this.renderer;
                  i === void 0 && (i = h.whiteTexture);
                  var l = this.getNormalMap(o);
                  this.isNewNormalMap(i, l) &&
                    (this.flush(),
                    this.createBatch(i),
                    this.addTextureToBatch(l),
                    (this.currentNormalMap = l));
                  var f = 0;
                  if (o && o.parentContainer) {
                    var v = o.getWorldTransformMatrix(
                      this._tempMatrix,
                      this._tempMatrix2,
                    );
                    f = v.rotationNormalized;
                  } else o && (f = o.rotation);
                  return (this.setNormalMapRotation(f), 0);
                },
                setGameObject: function (i, o) {
                  o === void 0 && (o = i.frame);
                  var h = o.glTexture,
                    l = this.getNormalMap(i);
                  if (
                    (this.isNewNormalMap(h, l) &&
                      (this.flush(),
                      this.createBatch(h),
                      this.addTextureToBatch(l),
                      (this.currentNormalMap = l)),
                    i.parentContainer)
                  ) {
                    var f = i.getWorldTransformMatrix(
                      this._tempMatrix,
                      this._tempMatrix2,
                    );
                    this.setNormalMapRotation(f.rotationNormalized);
                  } else this.setNormalMapRotation(i.rotation);
                  return 0;
                },
                isNewNormalMap: function (i, o) {
                  return (
                    this.currentTexture !== i || this.currentNormalMap !== o
                  );
                },
                getNormalMap: function (i) {
                  var o;
                  return (
                    i
                      ? i.displayTexture
                        ? (o =
                            i.displayTexture.dataSource[
                              i.displayFrame.sourceIndex
                            ])
                        : i.texture
                          ? (o = i.texture.dataSource[i.frame.sourceIndex])
                          : i.tileset &&
                            (Array.isArray(i.tileset)
                              ? (o = i.tileset[0].image.dataSource[0])
                              : (o = i.tileset.image.dataSource[0]))
                      : (o = this.defaultNormalMap),
                    o || (o = this.defaultNormalMap),
                    o.glTexture
                  );
                },
                batchSprite: function (i, o, h) {
                  this.lightsActive &&
                    r.prototype.batchSprite.call(this, i, o, h);
                },
                batchTexture: function (
                  i,
                  o,
                  h,
                  l,
                  f,
                  v,
                  m,
                  x,
                  g,
                  C,
                  T,
                  F,
                  w,
                  U,
                  M,
                  I,
                  O,
                  D,
                  G,
                  X,
                  z,
                  K,
                  N,
                  b,
                  R,
                  H,
                  Q,
                  V,
                  Y,
                  J,
                  $,
                  W,
                ) {
                  this.lightsActive &&
                    r.prototype.batchTexture.call(
                      this,
                      i,
                      o,
                      h,
                      l,
                      f,
                      v,
                      m,
                      x,
                      g,
                      C,
                      T,
                      F,
                      w,
                      U,
                      M,
                      I,
                      O,
                      D,
                      G,
                      X,
                      z,
                      K,
                      N,
                      b,
                      R,
                      H,
                      Q,
                      V,
                      Y,
                      J,
                      $,
                      W,
                    );
                },
                batchTextureFrame: function (i, o, h, l, f, v, m) {
                  this.lightsActive &&
                    r.prototype.batchTextureFrame.call(
                      this,
                      i,
                      o,
                      h,
                      l,
                      f,
                      v,
                      m,
                    );
                },
              });
            d.exports = u;
          },
          71264: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(72632),
              a = t(77310),
              r = t(85060),
              n = t(18166),
              e = t(71402),
              s = t(44775),
              u = new A({
                Extends: a,
                initialize: function (o) {
                  ((o.fragShader = c(o, "fragShader", r)),
                    (o.vertShader = c(o, "vertShader", n)),
                    (o.attributes = c(o, "attributes", [
                      { name: "inPosition", size: 2 },
                      { name: "inTexCoord", size: 2 },
                      { name: "inTexId" },
                      { name: "inTintEffect" },
                      {
                        name: "inTint",
                        size: 4,
                        type: e.UNSIGNED_BYTE,
                        normalized: !0,
                      },
                    ])),
                    (o.forceZero = !0),
                    a.call(this, o));
                },
                boot: function () {
                  s.prototype.boot.call(this);
                  var i = this.renderer;
                  (this.set1i("uMainSampler", 0),
                    this.set2f("uResolution", i.width, i.height),
                    this.set1i("uRoundPixels", i.config.roundPixels));
                },
              });
            d.exports = u;
          },
          77310: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @author       Felipe Alfonso <@bitnenfer>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(11117),
              a = t(72632),
              r = t(53787),
              n = t(15968),
              e = t(69360),
              s = t(75512),
              u = t(71402),
              i = t(44775),
              o = new A({
                Extends: i,
                initialize: function (l) {
                  var f = l.game.renderer,
                    v = a(l, "fragShader", r);
                  ((l.fragShader = s.parseFragmentShaderMaxTextures(
                    v,
                    f.maxTextures,
                  )),
                    (l.vertShader = a(l, "vertShader", n)),
                    (l.attributes = a(l, "attributes", [
                      { name: "inPosition", size: 2 },
                      { name: "inTexCoord", size: 2 },
                      { name: "inTexId" },
                      { name: "inTintEffect" },
                      {
                        name: "inTint",
                        size: 4,
                        type: u.UNSIGNED_BYTE,
                        normalized: !0,
                      },
                    ])),
                    i.call(this, l),
                    (this._tempMatrix1 = new e()),
                    (this._tempMatrix2 = new e()),
                    (this._tempMatrix3 = new e()),
                    (this.calcMatrix = new e()),
                    (this.tempTriangle = [
                      { x: 0, y: 0, width: 0 },
                      { x: 0, y: 0, width: 0 },
                      { x: 0, y: 0, width: 0 },
                      { x: 0, y: 0, width: 0 },
                    ]),
                    (this.strokeTint = { TL: 0, TR: 0, BL: 0, BR: 0 }),
                    (this.fillTint = { TL: 0, TR: 0, BL: 0, BR: 0 }),
                    (this.currentFrame = { u0: 0, v0: 0, u1: 1, v1: 1 }),
                    (this.firstQuad = [0, 0, 0, 0, 0]),
                    (this.prevQuad = [0, 0, 0, 0, 0]),
                    (this.polygonCache = []));
                },
                boot: function () {
                  i.prototype.boot.call(this);
                  var h = this.renderer;
                  (this.set1iv("uMainSampler", h.textureIndexes),
                    this.set2f("uResolution", h.width, h.height),
                    this.set1i("uRoundPixels", h.config.roundPixels));
                },
                batchSprite: function (h, l, f) {
                  this.manager.set(this, h);
                  var v = this._tempMatrix1,
                    m = this._tempMatrix2,
                    x = this._tempMatrix3,
                    g = h.frame,
                    C = g.glTexture,
                    T = g.u0,
                    F = g.v0,
                    w = g.u1,
                    U = g.v1,
                    M = g.x,
                    I = g.y,
                    O = g.cutWidth,
                    D = g.cutHeight,
                    G = g.customPivot,
                    X = h.displayOriginX,
                    z = h.displayOriginY,
                    K = -X + M,
                    N = -z + I;
                  if (h.isCropped) {
                    var b = h._crop;
                    ((b.flipX !== h.flipX || b.flipY !== h.flipY) &&
                      g.updateCropUVs(b, h.flipX, h.flipY),
                      (T = b.u0),
                      (F = b.v0),
                      (w = b.u1),
                      (U = b.v1),
                      (O = b.width),
                      (D = b.height),
                      (M = b.x),
                      (I = b.y),
                      (K = -X + M),
                      (N = -z + I));
                  }
                  var R = 1,
                    H = 1;
                  (h.flipX && (G || (K += -g.realWidth + X * 2), (R = -1)),
                    (h.flipY || (g.source.isGLTexture && !C.flipY)) &&
                      (G || (N += -g.realHeight + z * 2), (H = -1)));
                  var Q = h.x,
                    V = h.y;
                  (m.applyITRS(Q, V, h.rotation, h.scaleX * R, h.scaleY * H),
                    v.copyFrom(l.matrix),
                    f
                      ? (v.multiplyWithOffset(
                          f,
                          -l.scrollX * h.scrollFactorX,
                          -l.scrollY * h.scrollFactorY,
                        ),
                        (m.e = Q),
                        (m.f = V))
                      : ((m.e -= l.scrollX * h.scrollFactorX),
                        (m.f -= l.scrollY * h.scrollFactorY)),
                    v.multiply(m, x));
                  var Y = x.setQuad(K, N, K + O, N + D),
                    J = s.getTintAppendFloatAlpha,
                    $ = l.alpha,
                    W = J(h.tintTopLeft, $ * h._alphaTL),
                    Z = J(h.tintTopRight, $ * h._alphaTR),
                    j = J(h.tintBottomLeft, $ * h._alphaBL),
                    k = J(h.tintBottomRight, $ * h._alphaBR);
                  this.shouldFlush(6) && this.flush();
                  var _ = this.setGameObject(h, g);
                  (this.manager.preBatch(h),
                    this.currentShader.set1i("uRoundPixels", l.roundPixels),
                    this.batchQuad(
                      h,
                      Y[0],
                      Y[1],
                      Y[2],
                      Y[3],
                      Y[4],
                      Y[5],
                      Y[6],
                      Y[7],
                      T,
                      F,
                      w,
                      U,
                      W,
                      Z,
                      j,
                      k,
                      h.tintFill,
                      C,
                      _,
                    ),
                    this.manager.postBatch(h));
                },
                batchTexture: function (
                  h,
                  l,
                  f,
                  v,
                  m,
                  x,
                  g,
                  C,
                  T,
                  F,
                  w,
                  U,
                  M,
                  I,
                  O,
                  D,
                  G,
                  X,
                  z,
                  K,
                  N,
                  b,
                  R,
                  H,
                  Q,
                  V,
                  Y,
                  J,
                  $,
                  W,
                  Z,
                  j,
                  k,
                ) {
                  (k === void 0 && (k = !1), this.manager.set(this, h));
                  var _ = this._tempMatrix1,
                    q = this._tempMatrix2,
                    et = this._tempMatrix3,
                    st = X / f + Y,
                    nt = z / v + J,
                    it = (X + K) / f + Y,
                    tt = (z + N) / v + J,
                    rt = g,
                    at = C,
                    ot = -D,
                    lt = -G;
                  if (h.isCropped) {
                    var vt = h._crop,
                      dt = vt.width,
                      ct = vt.height;
                    ((rt = dt),
                      (at = ct),
                      (g = dt),
                      (C = ct),
                      (X = vt.x),
                      (z = vt.y));
                    var pt = X,
                      Ut = z;
                    (U && (pt = K - vt.x - dt),
                      M && (Ut = N - vt.y - ct),
                      (st = pt / f + Y),
                      (nt = Ut / v + J),
                      (it = (pt + dt) / f + Y),
                      (tt = (Ut + ct) / v + J),
                      (ot = -D + X),
                      (lt = -G + z));
                  }
                  ((M = M ^ (!Z && l.isRenderTexture ? 1 : 0)),
                    U && ((rt *= -1), (ot += g)),
                    M && ((at *= -1), (lt += C)),
                    q.applyITRS(m, x, w, T, F),
                    _.copyFrom($.matrix),
                    W
                      ? (_.multiplyWithOffset(
                          W,
                          -$.scrollX * I,
                          -$.scrollY * O,
                        ),
                        (q.e = m),
                        (q.f = x))
                      : ((q.e -= $.scrollX * I), (q.f -= $.scrollY * O)),
                    _.multiply(q, et));
                  var St = et.setQuad(ot, lt, ot + rt, lt + at);
                  (j == null && (j = this.setTexture2D(l)),
                    h && !k && this.manager.preBatch(h),
                    this.currentShader.set1i("uRoundPixels", $.roundPixels),
                    this.batchQuad(
                      h,
                      St[0],
                      St[1],
                      St[2],
                      St[3],
                      St[4],
                      St[5],
                      St[6],
                      St[7],
                      st,
                      nt,
                      it,
                      tt,
                      b,
                      R,
                      H,
                      Q,
                      V,
                      l,
                      j,
                    ),
                    h && !k && this.manager.postBatch(h));
                },
                batchTextureFrame: function (h, l, f, v, m, x, g) {
                  this.manager.set(this);
                  var C = this._tempMatrix1.copyFrom(x),
                    T = this._tempMatrix2;
                  g ? C.multiply(g, T) : (T = C);
                  var F = T.setQuad(l, f, l + h.width, f + h.height),
                    w = this.setTexture2D(h.source.glTexture);
                  ((v = s.getTintAppendFloatAlpha(v, m)),
                    this.batchQuad(
                      null,
                      F[0],
                      F[1],
                      F[2],
                      F[3],
                      F[4],
                      F[5],
                      F[6],
                      F[7],
                      h.u0,
                      h.v0,
                      h.u1,
                      h.v1,
                      v,
                      v,
                      v,
                      v,
                      0,
                      h.glTexture,
                      w,
                    ));
                },
                batchFillRect: function (h, l, f, v, m, x) {
                  this.renderer.pipelines.set(this);
                  var g = this.calcMatrix;
                  x && x.multiply(m, g);
                  var C = g.setQuad(h, l, h + f, l + v),
                    T = this.fillTint;
                  this.batchQuad(
                    null,
                    C[0],
                    C[1],
                    C[2],
                    C[3],
                    C[4],
                    C[5],
                    C[6],
                    C[7],
                    0,
                    0,
                    1,
                    1,
                    T.TL,
                    T.TR,
                    T.BL,
                    T.BR,
                    2,
                  );
                },
                batchFillTriangle: function (h, l, f, v, m, x, g, C) {
                  this.renderer.pipelines.set(this);
                  var T = this.calcMatrix;
                  C && C.multiply(g, T);
                  var F = T.getX(h, l),
                    w = T.getY(h, l),
                    U = T.getX(f, v),
                    M = T.getY(f, v),
                    I = T.getX(m, x),
                    O = T.getY(m, x),
                    D = this.fillTint;
                  (this.currentShader.set1i("uRoundPixels", !1),
                    this.batchTri(
                      null,
                      F,
                      w,
                      U,
                      M,
                      I,
                      O,
                      0,
                      0,
                      1,
                      1,
                      D.TL,
                      D.TR,
                      D.BL,
                      2,
                    ));
                },
                batchStrokeTriangle: function (h, l, f, v, m, x, g, C, T) {
                  var F = this.tempTriangle;
                  ((F[0].x = h),
                    (F[0].y = l),
                    (F[0].width = g),
                    (F[1].x = f),
                    (F[1].y = v),
                    (F[1].width = g),
                    (F[2].x = m),
                    (F[2].y = x),
                    (F[2].width = g),
                    (F[3].x = h),
                    (F[3].y = l),
                    (F[3].width = g),
                    this.batchStrokePath(F, g, !1, C, T));
                },
                batchFillPath: function (h, l, f) {
                  this.renderer.pipelines.set(this);
                  var v = this.calcMatrix;
                  f && f.multiply(l, v);
                  for (
                    var m = h.length,
                      x = this.polygonCache,
                      g,
                      C,
                      T = this.fillTint.TL,
                      F = this.fillTint.TR,
                      w = this.fillTint.BL,
                      U = 0;
                    U < m;
                    ++U
                  )
                    ((C = h[U]), x.push(C.x, C.y));
                  ((g = c(x)),
                    (m = g.length),
                    this.currentShader.set1i("uRoundPixels", !1));
                  for (var M = 0; M < m; M += 3) {
                    var I = g[M + 0] * 2,
                      O = g[M + 1] * 2,
                      D = g[M + 2] * 2,
                      G = x[I + 0],
                      X = x[I + 1],
                      z = x[O + 0],
                      K = x[O + 1],
                      N = x[D + 0],
                      b = x[D + 1],
                      R = v.getX(G, X),
                      H = v.getY(G, X),
                      Q = v.getX(z, K),
                      V = v.getY(z, K),
                      Y = v.getX(N, b),
                      J = v.getY(N, b);
                    this.batchTri(
                      null,
                      R,
                      H,
                      Q,
                      V,
                      Y,
                      J,
                      0,
                      0,
                      1,
                      1,
                      T,
                      F,
                      w,
                      2,
                    );
                  }
                  x.length = 0;
                },
                batchStrokePath: function (h, l, f, v, m) {
                  (this.renderer.pipelines.set(this),
                    (this.prevQuad[4] = 0),
                    (this.firstQuad[4] = 0));
                  for (var x = h.length - 1, g = 0; g < x; g++) {
                    var C = h[g],
                      T = h[g + 1];
                    this.batchLine(
                      C.x,
                      C.y,
                      T.x,
                      T.y,
                      C.width / 2,
                      T.width / 2,
                      l,
                      g,
                      !f && g === x - 1,
                      v,
                      m,
                    );
                  }
                },
                batchLine: function (h, l, f, v, m, x, g, C, T, F, w) {
                  this.renderer.pipelines.set(this);
                  var U = this.calcMatrix;
                  w && w.multiply(F, U);
                  var M = f - h,
                    I = v - l,
                    O = Math.sqrt(M * M + I * I);
                  if (O !== 0) {
                    var D = (m * (v - l)) / O,
                      G = (m * (h - f)) / O,
                      X = (x * (v - l)) / O,
                      z = (x * (h - f)) / O,
                      K = f - X,
                      N = v - z,
                      b = h - D,
                      R = l - G,
                      H = f + X,
                      Q = v + z,
                      V = h + D,
                      Y = l + G,
                      J = U.getX(K, N),
                      $ = U.getY(K, N),
                      W = U.getX(b, R),
                      Z = U.getY(b, R),
                      j = U.getX(H, Q),
                      k = U.getY(H, Q),
                      _ = U.getX(V, Y),
                      q = U.getY(V, Y),
                      et = this.strokeTint,
                      st = et.TL,
                      nt = et.TR,
                      it = et.BL,
                      tt = et.BR;
                    if (
                      (this.currentShader.set1i("uRoundPixels", !1),
                      this.batchQuad(
                        null,
                        _,
                        q,
                        W,
                        Z,
                        J,
                        $,
                        j,
                        k,
                        0,
                        0,
                        1,
                        1,
                        st,
                        nt,
                        it,
                        tt,
                        2,
                      ),
                      !(g <= 2))
                    ) {
                      var rt = this.prevQuad,
                        at = this.firstQuad;
                      (C > 0 && rt[4]
                        ? this.batchQuad(
                            null,
                            _,
                            q,
                            W,
                            Z,
                            rt[0],
                            rt[1],
                            rt[2],
                            rt[3],
                            0,
                            0,
                            1,
                            1,
                            st,
                            nt,
                            it,
                            tt,
                            2,
                          )
                        : ((at[0] = _),
                          (at[1] = q),
                          (at[2] = W),
                          (at[3] = Z),
                          (at[4] = 1)),
                        T && at[4]
                          ? this.batchQuad(
                              null,
                              J,
                              $,
                              j,
                              k,
                              at[0],
                              at[1],
                              at[2],
                              at[3],
                              0,
                              0,
                              1,
                              1,
                              st,
                              nt,
                              it,
                              tt,
                              2,
                            )
                          : ((rt[0] = J),
                            (rt[1] = $),
                            (rt[2] = j),
                            (rt[3] = k),
                            (rt[4] = 1)));
                    }
                  }
                },
                destroy: function () {
                  return (
                    this._tempMatrix1.destroy(),
                    this._tempMatrix2.destroy(),
                    this._tempMatrix3.destroy(),
                    (this._tempMatrix1 = null),
                    (this._tempMatrix1 = null),
                    (this._tempMatrix1 = null),
                    i.prototype.destroy.call(this),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
              });
            d.exports = o;
          },
          10919: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(72632),
              a = t(83327),
              r = t(54677),
              n = t(44775),
              e = new A({
                Extends: n,
                initialize: function (u) {
                  ((u.vertShader = c(u, "vertShader", r)),
                    (u.fragShader = c(u, "fragShader", a)),
                    (u.attributes = c(u, "attributes", [
                      { name: "inPosition", size: 2 },
                      { name: "inLightPosition", size: 2 },
                      { name: "inLightRadius" },
                      { name: "inLightAttenuation" },
                      { name: "inLightColor", size: 4 },
                    ])),
                    n.call(this, u));
                },
                onRender: function (s, u) {
                  (this.set2f("uResolution", this.width, this.height),
                    this.set1f("uCameraZoom", u.zoom));
                },
                batchPointLight: function (s, u, i, o, h, l, f, v, m, x, g, C) {
                  var T = s.color,
                    F = s.intensity,
                    w = s.radius,
                    U = s.attenuation,
                    M = T.r * F,
                    I = T.g * F,
                    O = T.b * F,
                    D = u.alpha * s.alpha;
                  (this.shouldFlush(6) && this.flush(),
                    this.currentBatch || this.setTexture2D(),
                    this.batchLightVert(i, o, g, C, w, U, M, I, O, D),
                    this.batchLightVert(h, l, g, C, w, U, M, I, O, D),
                    this.batchLightVert(f, v, g, C, w, U, M, I, O, D),
                    this.batchLightVert(i, o, g, C, w, U, M, I, O, D),
                    this.batchLightVert(f, v, g, C, w, U, M, I, O, D),
                    this.batchLightVert(m, x, g, C, w, U, M, I, O, D),
                    (this.currentBatch.count =
                      this.vertexCount - this.currentBatch.start));
                },
                batchLightVert: function (s, u, i, o, h, l, f, v, m, x) {
                  var g = this.vertexViewF32,
                    C =
                      this.vertexCount *
                        this.currentShader.vertexComponentCount -
                      1;
                  ((g[++C] = s),
                    (g[++C] = u),
                    (g[++C] = i),
                    (g[++C] = o),
                    (g[++C] = h),
                    (g[++C] = l),
                    (g[++C] = f),
                    (g[++C] = v),
                    (g[++C] = m),
                    (g[++C] = x),
                    this.vertexCount++);
                },
              });
            d.exports = e;
          },
          80486: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(65246),
              a = t(72632),
              r = t(12569),
              n = t(99365),
              e = t(44775),
              s = new A({
                Extends: e,
                initialize: function (i) {
                  ((i.renderTarget = a(i, "renderTarget", 1)),
                    (i.fragShader = a(i, "fragShader", r)),
                    (i.vertShader = a(i, "vertShader", n)),
                    (i.attributes = a(i, "attributes", [
                      { name: "inPosition", size: 2 },
                      { name: "inTexCoord", size: 2 },
                    ])),
                    (i.batchSize = 1),
                    (i.vertices = [
                      -1, -1, 0, 0, -1, 1, 0, 1, 1, 1, 1, 1, -1, -1, 0, 0, 1, 1,
                      1, 1, 1, -1, 1, 0,
                    ]),
                    e.call(this, i),
                    (this.isPostFX = !0),
                    this.gameObject,
                    this.controller,
                    (this.colorMatrix = new c()),
                    this.fullFrame1,
                    this.fullFrame2,
                    this.halfFrame1,
                    this.halfFrame2,
                    this.renderer.isBooted &&
                      (this.manager = this.renderer.pipelines));
                },
                bootFX: function () {
                  e.prototype.boot.call(this);
                  var u = this.manager.UTILITY_PIPELINE;
                  ((this.fullFrame1 = u.fullFrame1),
                    (this.fullFrame2 = u.fullFrame2),
                    (this.halfFrame1 = u.halfFrame1),
                    (this.halfFrame2 = u.halfFrame2));
                  var i = this.renderer;
                  (this.set1i("uMainSampler", 0),
                    this.set2f("uResolution", i.width, i.height),
                    this.set1i("uRoundPixels", i.config.roundPixels));
                  for (var o = this.renderTargets, h = 0; h < o.length; h++)
                    o[h].autoResize = !0;
                },
                postBatch: function (u) {
                  return (
                    this.hasBooted || this.bootFX(),
                    this.onDraw(this.currentRenderTarget),
                    this.onPostBatch(u),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                onDraw: function (u) {
                  this.bindAndDraw(u);
                },
                getController: function (u) {
                  return u !== void 0
                    ? u
                    : this.controller
                      ? this.controller
                      : this;
                },
                copySprite: function (u, i, o) {
                  o === void 0 && (o = !1);
                  var h = this.gl;
                  (h.activeTexture(h.TEXTURE0),
                    h.bindTexture(h.TEXTURE_2D, u.texture));
                  var l = h.getParameter(h.FRAMEBUFFER_BINDING);
                  (h.bindFramebuffer(h.FRAMEBUFFER, i.framebuffer),
                    h.framebufferTexture2D(
                      h.FRAMEBUFFER,
                      h.COLOR_ATTACHMENT0,
                      h.TEXTURE_2D,
                      i.texture,
                      0,
                    ),
                    h.clearColor(0, 0, 0, 0),
                    h.clear(h.COLOR_BUFFER_BIT),
                    h.bufferData(
                      h.ARRAY_BUFFER,
                      this.vertexData,
                      h.STATIC_DRAW,
                    ),
                    h.drawArrays(h.TRIANGLES, 0, 6),
                    o &&
                      (h.bindTexture(h.TEXTURE_2D, null),
                      h.bindFramebuffer(h.FRAMEBUFFER, l)));
                },
                copyFrame: function (u, i, o, h, l) {
                  this.manager.copyFrame(u, i, o, h, l);
                },
                copyToGame: function (u) {
                  this.manager.copyToGame(u);
                },
                drawFrame: function (u, i, o) {
                  this.manager.drawFrame(u, i, o, this.colorMatrix);
                },
                blendFrames: function (u, i, o, h, l) {
                  this.manager.blendFrames(u, i, o, h, l);
                },
                blendFramesAdditive: function (u, i, o, h, l) {
                  this.manager.blendFramesAdditive(u, i, o, h, l);
                },
                clearFrame: function (u, i) {
                  this.manager.clearFrame(u, i);
                },
                blitFrame: function (u, i, o, h, l, f) {
                  this.manager.blitFrame(u, i, o, h, l, f);
                },
                copyFrameRect: function (u, i, o, h, l, f, v, m) {
                  this.manager.copyFrameRect(u, i, o, h, l, f, v, m);
                },
                bindAndDraw: function (u, i, o, h, l) {
                  (o === void 0 && (o = !0), h === void 0 && (h = !0));
                  var f = this.gl,
                    v = this.renderer;
                  (this.bind(l),
                    this.set1i("uMainSampler", 0),
                    i
                      ? (f.viewport(0, 0, i.width, i.height),
                        f.bindFramebuffer(f.FRAMEBUFFER, i.framebuffer),
                        f.framebufferTexture2D(
                          f.FRAMEBUFFER,
                          f.COLOR_ATTACHMENT0,
                          f.TEXTURE_2D,
                          i.texture,
                          0,
                        ),
                        o &&
                          (h
                            ? f.clearColor(0, 0, 0, 0)
                            : f.clearColor(0, 0, 0, 1),
                          f.clear(f.COLOR_BUFFER_BIT)))
                      : (v.popFramebuffer(!1, !1),
                        v.currentFramebuffer ||
                          f.viewport(0, 0, v.width, v.height)),
                    v.restoreStencilMask(),
                    f.activeTexture(f.TEXTURE0),
                    f.bindTexture(f.TEXTURE_2D, u.texture),
                    f.bufferData(
                      f.ARRAY_BUFFER,
                      this.vertexData,
                      f.STATIC_DRAW,
                    ),
                    f.drawArrays(f.TRIANGLES, 0, 6),
                    i &&
                      (f.bindTexture(f.TEXTURE_2D, null),
                      f.bindFramebuffer(f.FRAMEBUFFER, v.currentFramebuffer)));
                },
                destroy: function () {
                  return (
                    this.controller && this.controller.destroy(),
                    (this.gameObject = null),
                    (this.controller = null),
                    (this.colorMatrix = null),
                    (this.fullFrame1 = null),
                    (this.fullFrame2 = null),
                    (this.halfFrame1 = null),
                    (this.halfFrame2 = null),
                    e.prototype.destroy.call(this),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
              });
            d.exports = s;
          },
          87228: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(95723),
              c = t(79993),
              a = t(56694),
              r = t(37486),
              n = t(72632),
              e = t(77310),
              s = t(12569),
              u = t(74118),
              i = t(37410),
              o = t(85060),
              h = t(18166),
              l = t(44775),
              f = new a({
                Extends: e,
                initialize: function (m) {
                  var x = n(m, "fragShader", s),
                    g = n(m, "vertShader", h),
                    C = n(m, "drawShader", s),
                    T = [
                      { name: "DrawSprite", fragShader: o, vertShader: h },
                      { name: "CopySprite", fragShader: x, vertShader: g },
                      { name: "DrawGame", fragShader: C, vertShader: h },
                      { name: "ColorMatrix", fragShader: r },
                    ],
                    F = n(m, "shaders", []);
                  ((m.shaders = T.concat(F)),
                    m.vertShader || (m.vertShader = g),
                    (m.batchSize = 1),
                    e.call(this, m),
                    (this.isPreFX = !0),
                    (this.customMainSampler = null),
                    this.drawSpriteShader,
                    this.copyShader,
                    this.gameShader,
                    this.colorMatrixShader,
                    this.quadVertexData,
                    this.quadVertexBuffer,
                    this.quadVertexViewF32,
                    (this.spriteBounds = new u()),
                    (this.targetBounds = new u()),
                    this.fsTarget,
                    this.tempSprite,
                    this.renderer.isBooted &&
                      ((this.manager = this.renderer.pipelines), this.boot()));
                },
                boot: function () {
                  l.prototype.boot.call(this);
                  var v = this.shaders,
                    m = this.renderer;
                  ((this.drawSpriteShader = v[0]),
                    (this.copyShader = v[1]),
                    (this.gameShader = v[2]),
                    (this.colorMatrixShader = v[3]),
                    (this.fsTarget = new i(m, m.width, m.height, 1, 0, !0, !0)),
                    (this.renderTargets = this.manager.renderTargets.concat(
                      this.fsTarget,
                    )));
                  var x = new ArrayBuffer(168);
                  ((this.quadVertexData = x),
                    (this.quadVertexViewF32 = new Float32Array(x)),
                    (this.quadVertexBuffer = m.createVertexBuffer(
                      x,
                      this.gl.STATIC_DRAW,
                    )),
                    this.onResize(m.width, m.height),
                    (this.currentShader = this.copyShader),
                    this.set2f("uResolution", m.width, m.height),
                    this.set1i("uRoundPixels", m.config.roundPixels));
                },
                onResize: function (v, m) {
                  var x = this.quadVertexViewF32;
                  ((x[1] = m),
                    (x[22] = m),
                    (x[14] = v),
                    (x[28] = v),
                    (x[35] = v),
                    (x[36] = m));
                },
                batchQuad: function (
                  v,
                  m,
                  x,
                  g,
                  C,
                  T,
                  F,
                  w,
                  U,
                  M,
                  I,
                  O,
                  D,
                  G,
                  X,
                  z,
                  K,
                  N,
                  b,
                ) {
                  var R = Math.min(m, g, T, w),
                    H = Math.min(x, C, F, U),
                    Q = Math.max(m, g, T, w),
                    V = Math.max(x, C, F, U),
                    Y = Q - R,
                    J = V - H,
                    $ = this.spriteBounds.setTo(R, H, Y, J),
                    W = v ? v.preFX.padding : 0,
                    Z = Y + W * 2,
                    j = J + W * 2,
                    k = Math.abs(Math.max(Z, j)),
                    _ = this.manager.getRenderTarget(k),
                    q = this.targetBounds.setTo(0, 0, _.width, _.height);
                  (c(q, $.centerX, $.centerY), (this.tempSprite = v));
                  var et = this.gl,
                    st = this.renderer;
                  (st.clearStencilMask(),
                    this.setShader(this.drawSpriteShader),
                    this.set1i("uMainSampler", 0),
                    this.set2f("uResolution", st.width, st.height),
                    this.set1i("uRoundPixels", st.config.roundPixels),
                    this.flipProjectionMatrix(!0),
                    v && (this.onDrawSprite(v, _), v.preFX.onFX(this)));
                  var nt = this.fsTarget;
                  return (
                    this.flush(),
                    et.viewport(0, 0, st.width, st.height),
                    et.bindFramebuffer(et.FRAMEBUFFER, nt.framebuffer),
                    et.framebufferTexture2D(
                      et.FRAMEBUFFER,
                      et.COLOR_ATTACHMENT0,
                      et.TEXTURE_2D,
                      nt.texture,
                      0,
                    ),
                    et.clearColor(0, 0, 0, 0),
                    et.clear(et.COLOR_BUFFER_BIT),
                    this.setTexture2D(b),
                    this.batchVert(m, x, M, I, 0, N, G),
                    this.batchVert(g, C, M, D, 0, N, z),
                    this.batchVert(T, F, O, D, 0, N, K),
                    this.batchVert(m, x, M, I, 0, N, G),
                    this.batchVert(T, F, O, D, 0, N, K),
                    this.batchVert(w, U, O, I, 0, N, X),
                    this.flush(),
                    this.flipProjectionMatrix(!1),
                    et.activeTexture(et.TEXTURE0),
                    et.bindTexture(et.TEXTURE_2D, _.texture),
                    et.copyTexSubImage2D(
                      et.TEXTURE_2D,
                      0,
                      0,
                      0,
                      q.x,
                      q.y,
                      q.width,
                      q.height,
                    ),
                    et.bindFramebuffer(et.FRAMEBUFFER, null),
                    et.bindTexture(et.TEXTURE_2D, null),
                    this.onBatch(v),
                    (this.currentShader = this.copyShader),
                    this.onDraw(
                      _,
                      this.manager.getSwapRenderTarget(),
                      this.manager.getAltSwapRenderTarget(),
                    ),
                    !0
                  );
                },
                onDrawSprite: function () {},
                onCopySprite: function () {},
                copySprite: function (v, m, x, g, C, T, F) {
                  (x === void 0 && (x = !0),
                    g === void 0 && (g = !0),
                    C === void 0 && (C = !1),
                    F === void 0 && (F = this.copyShader));
                  var w = this.gl,
                    U = this.tempSprite;
                  (T && (F = this.colorMatrixShader), (this.currentShader = F));
                  var M = this.setVertexBuffer(this.quadVertexBuffer);
                  F.bind(M, !1);
                  var I = this.renderer;
                  if (
                    (this.set1i("uMainSampler", 0),
                    this.set2f("uResolution", I.width, I.height),
                    this.set1i("uRoundPixels", I.config.roundPixels),
                    U.preFX.onFXCopy(this),
                    this.onCopySprite(v, m, U),
                    T &&
                      (this.set1fv("uColorMatrix", T.getData()),
                      this.set1f("uAlpha", T.alpha)),
                    w.activeTexture(w.TEXTURE0),
                    w.bindTexture(w.TEXTURE_2D, v.texture),
                    v.height > m.height)
                  )
                    (w.viewport(0, 0, v.width, v.height),
                      this.setTargetUVs(v, m));
                  else {
                    var O = m.height - v.height;
                    (w.viewport(0, O, v.width, v.height), this.resetUVs());
                  }
                  if (
                    (w.bindFramebuffer(w.FRAMEBUFFER, m.framebuffer),
                    w.framebufferTexture2D(
                      w.FRAMEBUFFER,
                      w.COLOR_ATTACHMENT0,
                      w.TEXTURE_2D,
                      m.texture,
                      0,
                    ),
                    x &&
                      (w.clearColor(0, 0, 0, +!g), w.clear(w.COLOR_BUFFER_BIT)),
                    C)
                  ) {
                    var D = this.renderer.currentBlendMode;
                    this.renderer.setBlendMode(A.ERASE);
                  }
                  (w.bufferData(
                    w.ARRAY_BUFFER,
                    this.quadVertexData,
                    w.STATIC_DRAW,
                  ),
                    w.drawArrays(w.TRIANGLES, 0, 6),
                    C && this.renderer.setBlendMode(D),
                    w.bindFramebuffer(w.FRAMEBUFFER, null));
                },
                copy: function (v, m) {
                  var x = this.gl;
                  (this.set1i("uMainSampler", 0),
                    x.activeTexture(x.TEXTURE0),
                    x.bindTexture(x.TEXTURE_2D, v.texture),
                    x.viewport(0, 0, v.width, v.height),
                    this.setUVs(0, 0, 0, 1, 1, 1, 1, 0),
                    x.bindFramebuffer(x.FRAMEBUFFER, m.framebuffer),
                    x.framebufferTexture2D(
                      x.FRAMEBUFFER,
                      x.COLOR_ATTACHMENT0,
                      x.TEXTURE_2D,
                      m.texture,
                      0,
                    ),
                    x.clearColor(0, 0, 0, 0),
                    x.clear(x.COLOR_BUFFER_BIT),
                    x.bufferData(
                      x.ARRAY_BUFFER,
                      this.quadVertexData,
                      x.STATIC_DRAW,
                    ),
                    x.drawArrays(x.TRIANGLES, 0, 6),
                    x.bindFramebuffer(x.FRAMEBUFFER, null));
                },
                blendFrames: function (v, m, x, g, C) {
                  this.manager.blendFrames(v, m, x, g, C);
                },
                blendFramesAdditive: function (v, m, x, g, C) {
                  this.manager.blendFramesAdditive(v, m, x, g, C);
                },
                drawToGame: function (v) {
                  ((this.currentShader = null),
                    this.setShader(this.copyShader),
                    this.bindAndDraw(v));
                },
                copyToGame: function (v) {
                  ((this.currentShader = null),
                    this.setShader(this.gameShader),
                    this.bindAndDraw(v));
                },
                bindAndDraw: function (v) {
                  var m = this.gl,
                    x = this.renderer;
                  (this.set1i("uMainSampler", 0),
                    this.customMainSampler
                      ? this.setTexture2D(this.customMainSampler)
                      : this.setTexture2D(v.texture));
                  var g = this._tempMatrix1.loadIdentity(),
                    C = this.targetBounds.x,
                    T = this.targetBounds.y,
                    F = C + v.width,
                    w = T + v.height,
                    U = g.getX(C, T),
                    M = g.getX(C, w),
                    I = g.getX(F, w),
                    O = g.getX(F, T),
                    D = g.getY(C, T),
                    G = g.getY(C, w),
                    X = g.getY(F, w),
                    z = g.getY(F, T),
                    K = 16777215;
                  (this.batchVert(U, D, 0, 0, 0, 0, K),
                    this.batchVert(M, G, 0, 1, 0, 0, K),
                    this.batchVert(I, X, 1, 1, 0, 0, K),
                    this.batchVert(U, D, 0, 0, 0, 0, K),
                    this.batchVert(I, X, 1, 1, 0, 0, K),
                    this.batchVert(O, z, 1, 0, 0, 0, K),
                    x.restoreFramebuffer(!1, !0),
                    x.currentFramebuffer || m.viewport(0, 0, x.width, x.height),
                    x.restoreStencilMask(),
                    this.flush(),
                    (this.tempSprite = null));
                },
                onDraw: function (v) {
                  this.drawToGame(v);
                },
                setUVs: function (v, m, x, g, C, T, F, w) {
                  var U = this.quadVertexViewF32;
                  ((U[2] = v),
                    (U[3] = m),
                    (U[9] = x),
                    (U[10] = g),
                    (U[16] = C),
                    (U[17] = T),
                    (U[23] = v),
                    (U[24] = m),
                    (U[30] = C),
                    (U[31] = T),
                    (U[37] = F),
                    (U[38] = w));
                },
                setTargetUVs: function (v, m) {
                  var x = m.height / v.height;
                  (x > 0.5 ? (x = 0.5 - (x - 0.5)) : (x = 0.5 + (0.5 - x)),
                    this.setUVs(0, x, 0, 1 + x, 1, 1 + x, 1, x));
                },
                resetUVs: function () {
                  this.setUVs(0, 0, 0, 1, 1, 1, 1, 0);
                },
                destroy: function () {
                  return (
                    this.gl.deleteBuffer(this.quadVertexBuffer),
                    (this.drawSpriteShader = null),
                    (this.copyShader = null),
                    (this.gameShader = null),
                    (this.colorMatrixShader = null),
                    (this.quadVertexData = null),
                    (this.quadVertexBuffer = null),
                    (this.quadVertexViewF32 = null),
                    (this.fsTarget = null),
                    (this.tempSprite = null),
                    e.prototype.destroy.call(this),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
              });
            d.exports = f;
          },
          21213: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(72632),
              a = t(77310),
              r = new A({
                Extends: a,
                initialize: function (e) {
                  ((e.topology = 5),
                    (e.batchSize = c(e, "batchSize", 256)),
                    a.call(this, e));
                },
              });
            d.exports = r;
          },
          51212: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(72632),
              a = t(77310),
              r = t(85060),
              n = t(18166),
              e = t(44775),
              s = new A({
                Extends: a,
                initialize: function (i) {
                  ((i.fragShader = c(i, "fragShader", r)),
                    (i.vertShader = c(i, "vertShader", n)),
                    (i.forceZero = !0),
                    a.call(this, i));
                },
                boot: function () {
                  e.prototype.boot.call(this);
                  var u = this.renderer;
                  (this.set1i("uMainSampler", 0),
                    this.set2f("uResolution", u.width, u.height),
                    this.set1i("uRoundPixels", u.config.roundPixels));
                },
              });
            d.exports = s;
          },
          60848: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(2529),
              c = t(95723),
              a = t(56694),
              r = t(65246),
              n = t(37486),
              e = t(79060),
              s = t(72632),
              u = t(98921),
              i = t(99365),
              o = t(44775),
              h = new a({
                Extends: o,
                initialize: function (f) {
                  ((f.renderTarget = s(f, "renderTarget", [
                    { scale: 1 },
                    { scale: 1 },
                    { scale: 0.5 },
                    { scale: 0.5 },
                  ])),
                    (f.vertShader = s(f, "vertShader", i)),
                    (f.shaders = s(f, "shaders", [
                      { name: "Copy", fragShader: e },
                      { name: "AddBlend", fragShader: A },
                      { name: "LinearBlend", fragShader: u },
                      { name: "ColorMatrix", fragShader: n },
                    ])),
                    (f.attributes = s(f, "attributes", [
                      { name: "inPosition", size: 2 },
                      { name: "inTexCoord", size: 2 },
                    ])),
                    (f.vertices = [
                      -1, -1, 0, 0, -1, 1, 0, 1, 1, 1, 1, 1, -1, -1, 0, 0, 1, 1,
                      1, 1, 1, -1, 1, 0,
                    ]),
                    (f.batchSize = 1),
                    o.call(this, f),
                    (this.colorMatrix = new r()),
                    this.copyShader,
                    this.addShader,
                    this.linearShader,
                    this.colorMatrixShader,
                    this.fullFrame1,
                    this.fullFrame2,
                    this.halfFrame1,
                    this.halfFrame2);
                },
                boot: function () {
                  o.prototype.boot.call(this);
                  var l = this.shaders,
                    f = this.renderTargets;
                  ((this.copyShader = l[0]),
                    (this.addShader = l[1]),
                    (this.linearShader = l[2]),
                    (this.colorMatrixShader = l[3]),
                    (this.fullFrame1 = f[0]),
                    (this.fullFrame2 = f[1]),
                    (this.halfFrame1 = f[2]),
                    (this.halfFrame2 = f[3]));
                },
                copyFrame: function (l, f, v, m, x) {
                  (v === void 0 && (v = 1),
                    m === void 0 && (m = !0),
                    x === void 0 && (x = !0));
                  var g = this.gl;
                  (this.setShader(this.copyShader),
                    this.set1i("uMainSampler", 0),
                    this.set1f("uBrightness", v),
                    g.activeTexture(g.TEXTURE0),
                    g.bindTexture(g.TEXTURE_2D, l.texture),
                    f
                      ? (g.viewport(0, 0, f.width, f.height),
                        g.bindFramebuffer(g.FRAMEBUFFER, f.framebuffer),
                        g.framebufferTexture2D(
                          g.FRAMEBUFFER,
                          g.COLOR_ATTACHMENT0,
                          g.TEXTURE_2D,
                          f.texture,
                          0,
                        ))
                      : g.viewport(0, 0, l.width, l.height),
                    m &&
                      (x ? g.clearColor(0, 0, 0, 0) : g.clearColor(0, 0, 0, 1),
                      g.clear(g.COLOR_BUFFER_BIT)),
                    g.bufferData(
                      g.ARRAY_BUFFER,
                      this.vertexData,
                      g.STATIC_DRAW,
                    ),
                    g.drawArrays(g.TRIANGLES, 0, 6),
                    g.bindFramebuffer(g.FRAMEBUFFER, null),
                    g.bindTexture(g.TEXTURE_2D, null));
                },
                blitFrame: function (l, f, v, m, x, g, C) {
                  (v === void 0 && (v = 1),
                    m === void 0 && (m = !0),
                    x === void 0 && (x = !0),
                    g === void 0 && (g = !1),
                    C === void 0 && (C = !1));
                  var T = this.gl;
                  if (
                    (this.setShader(this.copyShader),
                    this.set1i("uMainSampler", 0),
                    this.set1f("uBrightness", v),
                    T.activeTexture(T.TEXTURE0),
                    T.bindTexture(T.TEXTURE_2D, l.texture),
                    l.height > f.height)
                  )
                    (T.viewport(0, 0, l.width, l.height),
                      this.setTargetUVs(l, f));
                  else {
                    var F = f.height - l.height;
                    T.viewport(0, F, l.width, l.height);
                  }
                  if (
                    (T.bindFramebuffer(T.FRAMEBUFFER, f.framebuffer),
                    T.framebufferTexture2D(
                      T.FRAMEBUFFER,
                      T.COLOR_ATTACHMENT0,
                      T.TEXTURE_2D,
                      f.texture,
                      0,
                    ),
                    m &&
                      (x ? T.clearColor(0, 0, 0, 0) : T.clearColor(0, 0, 0, 1),
                      T.clear(T.COLOR_BUFFER_BIT)),
                    g)
                  ) {
                    var w = this.renderer.currentBlendMode;
                    this.renderer.setBlendMode(c.ERASE);
                  }
                  (C && this.flipY(),
                    T.bufferData(
                      T.ARRAY_BUFFER,
                      this.vertexData,
                      T.STATIC_DRAW,
                    ),
                    T.drawArrays(T.TRIANGLES, 0, 6),
                    g && this.renderer.setBlendMode(w),
                    T.bindFramebuffer(T.FRAMEBUFFER, null),
                    T.bindTexture(T.TEXTURE_2D, null),
                    this.resetUVs());
                },
                copyFrameRect: function (l, f, v, m, x, g, C, T) {
                  (C === void 0 && (C = !0), T === void 0 && (T = !0));
                  var F = this.gl;
                  (F.bindFramebuffer(F.FRAMEBUFFER, l.framebuffer),
                    F.framebufferTexture2D(
                      F.FRAMEBUFFER,
                      F.COLOR_ATTACHMENT0,
                      F.TEXTURE_2D,
                      l.texture,
                      0,
                    ),
                    C &&
                      (T ? F.clearColor(0, 0, 0, 0) : F.clearColor(0, 0, 0, 1),
                      F.clear(F.COLOR_BUFFER_BIT)),
                    F.activeTexture(F.TEXTURE0),
                    F.bindTexture(F.TEXTURE_2D, f.texture),
                    F.copyTexSubImage2D(F.TEXTURE_2D, 0, 0, 0, v, m, x, g),
                    F.bindFramebuffer(F.FRAMEBUFFER, null),
                    F.bindTexture(F.TEXTURE_2D, null));
                },
                copyToGame: function (l) {
                  var f = this.gl;
                  (this.setShader(this.copyShader),
                    this.set1i("uMainSampler", 0),
                    this.set1f("uBrightness", 1),
                    this.renderer.popFramebuffer(),
                    f.activeTexture(f.TEXTURE0),
                    f.bindTexture(f.TEXTURE_2D, l.texture),
                    f.bufferData(
                      f.ARRAY_BUFFER,
                      this.vertexData,
                      f.STATIC_DRAW,
                    ),
                    f.drawArrays(f.TRIANGLES, 0, 6));
                },
                drawFrame: function (l, f, v, m) {
                  (v === void 0 && (v = !0),
                    m === void 0 && (m = this.colorMatrix));
                  var x = this.gl;
                  (this.setShader(this.colorMatrixShader),
                    this.set1i("uMainSampler", 0),
                    this.set1fv("uColorMatrix", m.getData()),
                    this.set1f("uAlpha", m.alpha),
                    x.activeTexture(x.TEXTURE0),
                    x.bindTexture(x.TEXTURE_2D, l.texture),
                    f
                      ? (x.viewport(0, 0, f.width, f.height),
                        x.bindFramebuffer(x.FRAMEBUFFER, f.framebuffer),
                        x.framebufferTexture2D(
                          x.FRAMEBUFFER,
                          x.COLOR_ATTACHMENT0,
                          x.TEXTURE_2D,
                          f.texture,
                          0,
                        ))
                      : x.viewport(0, 0, l.width, l.height),
                    v ? x.clearColor(0, 0, 0, 0) : x.clearColor(0, 0, 0, 1),
                    x.clear(x.COLOR_BUFFER_BIT),
                    x.bufferData(
                      x.ARRAY_BUFFER,
                      this.vertexData,
                      x.STATIC_DRAW,
                    ),
                    x.drawArrays(x.TRIANGLES, 0, 6),
                    x.bindFramebuffer(x.FRAMEBUFFER, null),
                    x.bindTexture(x.TEXTURE_2D, null));
                },
                blendFrames: function (l, f, v, m, x, g) {
                  (m === void 0 && (m = 1),
                    x === void 0 && (x = !0),
                    g === void 0 && (g = this.linearShader));
                  var C = this.gl;
                  (this.setShader(g),
                    this.set1i("uMainSampler1", 0),
                    this.set1i("uMainSampler2", 1),
                    this.set1f("uStrength", m),
                    C.activeTexture(C.TEXTURE0),
                    C.bindTexture(C.TEXTURE_2D, l.texture),
                    C.activeTexture(C.TEXTURE1),
                    C.bindTexture(C.TEXTURE_2D, f.texture),
                    v
                      ? (C.bindFramebuffer(C.FRAMEBUFFER, v.framebuffer),
                        C.framebufferTexture2D(
                          C.FRAMEBUFFER,
                          C.COLOR_ATTACHMENT0,
                          C.TEXTURE_2D,
                          v.texture,
                          0,
                        ),
                        C.viewport(0, 0, v.width, v.height))
                      : C.viewport(0, 0, l.width, l.height),
                    x ? C.clearColor(0, 0, 0, 0) : C.clearColor(0, 0, 0, 1),
                    C.clear(C.COLOR_BUFFER_BIT),
                    C.bufferData(
                      C.ARRAY_BUFFER,
                      this.vertexData,
                      C.STATIC_DRAW,
                    ),
                    C.drawArrays(C.TRIANGLES, 0, 6),
                    C.bindFramebuffer(C.FRAMEBUFFER, null),
                    C.bindTexture(C.TEXTURE_2D, null));
                },
                blendFramesAdditive: function (l, f, v, m, x) {
                  this.blendFrames(l, f, v, m, x, this.addShader);
                },
                clearFrame: function (l, f) {
                  f === void 0 && (f = !0);
                  var v = this.gl;
                  (v.viewport(0, 0, l.width, l.height),
                    v.bindFramebuffer(v.FRAMEBUFFER, l.framebuffer),
                    f ? v.clearColor(0, 0, 0, 0) : v.clearColor(0, 0, 0, 1),
                    v.clear(v.COLOR_BUFFER_BIT));
                  var m = this.renderer.currentFramebuffer;
                  v.bindFramebuffer(v.FRAMEBUFFER, m);
                },
                setUVs: function (l, f, v, m, x, g, C, T) {
                  var F = this.vertexViewF32;
                  ((F[2] = l),
                    (F[3] = f),
                    (F[6] = v),
                    (F[7] = m),
                    (F[10] = x),
                    (F[11] = g),
                    (F[14] = l),
                    (F[15] = f),
                    (F[18] = x),
                    (F[19] = g),
                    (F[22] = C),
                    (F[23] = T));
                },
                setTargetUVs: function (l, f) {
                  var v = f.height / l.height;
                  (v > 0.5 ? (v = 0.5 - (v - 0.5)) : (v = 0.5 + (0.5 - v)),
                    this.setUVs(0, v, 0, 1 + v, 1, 1 + v, 1, v));
                },
                flipX: function () {
                  this.setUVs(1, 0, 1, 1, 0, 1, 0, 0);
                },
                flipY: function () {
                  this.setUVs(0, 1, 0, 0, 1, 0, 1, 1);
                },
                resetUVs: function () {
                  this.setUVs(0, 0, 0, 1, 1, 1, 1, 0);
                },
              });
            d.exports = h;
          },
          65641: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              BITMAPMASK_PIPELINE: "BitmapMaskPipeline",
              LIGHT_PIPELINE: "Light2D",
              POINTLIGHT_PIPELINE: "PointLightPipeline",
              SINGLE_PIPELINE: "SinglePipeline",
              MULTI_PIPELINE: "MultiPipeline",
              ROPE_PIPELINE: "RopePipeline",
              GRAPHICS_PIPELINE: "GraphicsPipeline",
              POSTFX_PIPELINE: "PostFXPipeline",
              UTILITY_PIPELINE: "UtilityPipeline",
              MOBILE_PIPELINE: "MobilePipeline",
              FX_PIPELINE: "FxPipeline",
            };
            d.exports = y;
          },
          68726: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "pipelineafterflush";
          },
          67186: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "pipelinebeforeflush";
          },
          22709: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "pipelinebind";
          },
          74469: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "pipelineboot";
          },
          93953: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "pipelinedestroy";
          },
          51687: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "pipelinerebind";
          },
          25034: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "pipelineresize";
          },
          18970: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              AFTER_FLUSH: t(68726),
              BEFORE_FLUSH: t(67186),
              BIND: t(22709),
              BOOT: t(74469),
              DESTROY: t(93953),
              REBIND: t(51687),
              RESIZE: t(25034),
            };
          },
          32469: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(87751),
              a = t(80486),
              r = new A({
                Extends: a,
                initialize: function (e) {
                  (a.call(this, { game: e, fragShader: c }), (this.amount = 1));
                },
                onPreRender: function (n, e) {
                  ((n = this.getController(n)),
                    this.set1f("amount", n.amount, e));
                },
              });
            d.exports = r;
          },
          2134: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(88222),
              a = t(80486),
              r = new A({
                Extends: a,
                initialize: function (e) {
                  (a.call(this, { game: e, fragShader: c }),
                    (this.steps = 4),
                    (this.offsetX = 1),
                    (this.offsetY = 1),
                    (this.blurStrength = 1),
                    (this.strength = 1),
                    (this.glcolor = [1, 1, 1]));
                },
                onPreRender: function (n) {
                  ((n = this.getController(n)),
                    this.set1f("strength", n.blurStrength),
                    this.set3fv("color", n.glcolor));
                },
                onDraw: function (n) {
                  var e = this.getController(),
                    s = this.fullFrame1,
                    u = this.fullFrame2;
                  this.copyFrame(n, u);
                  for (
                    var i = (2 / n.width) * e.offsetX,
                      o = (2 / n.height) * e.offsetY,
                      h = 0;
                    h < e.steps;
                    h++
                  )
                    (this.set2f("offset", i, 0),
                      this.copySprite(n, s),
                      this.set2f("offset", 0, o),
                      this.copySprite(s, n));
                  (this.blendFrames(u, n, s, e.strength), this.copyToGame(s));
                },
              });
            d.exports = r;
          },
          63377: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(35491),
              a = t(75568),
              r = t(44481),
              n = t(80486),
              e = new A({
                Extends: n,
                initialize: function (u) {
                  (n.call(this, {
                    game: u,
                    shaders: [
                      { name: "Gaussian5", fragShader: c },
                      { name: "Gaussian9", fragShader: a },
                      { name: "Gaussian13", fragShader: r },
                    ],
                  }),
                    (this.activeShader = this.shaders[0]),
                    (this.x = 2),
                    (this.y = 2),
                    (this.steps = 4),
                    (this.strength = 1),
                    (this.glcolor = [1, 1, 1]));
                },
                setQualityLow: function () {
                  return (
                    (this.activeShader = this.shaders[0]),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setQualityMedium: function () {
                  return (
                    (this.activeShader = this.shaders[1]),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setQualityHigh: function () {
                  return (
                    (this.activeShader = this.shaders[2]),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                onDraw: function (s) {
                  var u = this.getController(),
                    i = this.gl,
                    o = this.fullFrame1,
                    h = i.getParameter(i.FRAMEBUFFER_BINDING);
                  (this.bind(this.shaders[u.quality]),
                    i.activeTexture(i.TEXTURE0),
                    i.viewport(0, 0, s.width, s.height),
                    this.set1i("uMainSampler", 0),
                    this.set2f("resolution", s.width, s.height),
                    this.set1f("strength", u.strength),
                    this.set3fv("color", u.glcolor));
                  for (var l = 0; l < u.steps; l++)
                    (this.set2f("offset", u.x, 0),
                      this.copySprite(s, o),
                      this.set2f("offset", 0, u.y),
                      this.copySprite(o, s));
                  (i.bindFramebuffer(i.FRAMEBUFFER, h),
                    i.bindTexture(i.TEXTURE_2D, null),
                    this.copyToGame(s));
                },
              });
            d.exports = e;
          },
          49745: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(69960),
              a = t(80486),
              r = new A({
                Extends: a,
                initialize: function (e) {
                  (a.call(this, { game: e, fragShader: c }),
                    (this.isTiltShift = !1),
                    (this.strength = 1),
                    (this.blurX = 1),
                    (this.blurY = 1),
                    (this.radius = 0.5),
                    (this.amount = 1),
                    (this.contrast = 0.2));
                },
                onPreRender: function (n, e, s, u) {
                  ((n = this.getController(n)),
                    this.set1f("radius", n.radius, e),
                    this.set1f("amount", n.amount, e),
                    this.set1f("contrast", n.contrast, e),
                    this.set1f("strength", n.strength, e),
                    this.set2f("blur", n.blurX, n.blurY, e),
                    this.setBoolean("isTiltShift", n.isTiltShift, e),
                    s && u && this.set2f("resolution", s, u, e));
                },
                onDraw: function (n) {
                  (this.set2f("resolution", n.width, n.height),
                    this.bindAndDraw(n));
                },
              });
            d.exports = r;
          },
          4323: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(33754),
              a = t(80486),
              r = new A({
                Extends: a,
                initialize: function (e) {
                  (a.call(this, { game: e, fragShader: c }),
                    (this.scale = 1),
                    (this.feather = 0.005),
                    (this.thickness = 8),
                    (this.glcolor = [1, 0.2, 0.7]),
                    (this.glcolor2 = [1, 0, 0, 0.4]));
                },
                onPreRender: function (n, e, s, u) {
                  ((n = this.getController(n)),
                    this.set1f("scale", n.scale, e),
                    this.set1f("feather", n.feather, e),
                    this.set1f("thickness", n.thickness, e),
                    this.set3fv("color", n.glcolor, e),
                    this.set4fv("backgroundColor", n.glcolor2, e),
                    s && u && this.set2f("resolution", s, u, e));
                },
                onDraw: function (n) {
                  (this.set2f("resolution", n.width, n.height),
                    this.bindAndDraw(n));
                },
              });
            d.exports = r;
          },
          92066: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(80486),
              a = new A({
                Extends: c,
                initialize: function (n) {
                  c.call(this, { game: n });
                },
                onDraw: function (r) {
                  var n = this.fullFrame1;
                  (this.controller
                    ? this.manager.drawFrame(r, n, !0, this.controller)
                    : this.drawFrame(r, n),
                    this.copyToGame(n));
                },
              });
            d.exports = a;
          },
          89581: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(35668),
              a = t(80486),
              r = new A({
                Extends: a,
                initialize: function (e) {
                  (a.call(this, { game: e, fragShader: c }),
                    (this.x = 0.005),
                    (this.y = 0.005),
                    this.glTexture);
                },
                onBoot: function () {
                  this.setTexture("__WHITE");
                },
                setTexture: function (n) {
                  var e = this.game.textures.getFrame(n);
                  e && (this.glTexture = e.glTexture);
                },
                onDraw: function (n) {
                  var e = this.getController(),
                    s = this.fullFrame1;
                  (this.bind(),
                    this.set1i("uMainSampler", 0),
                    this.set1i("uDisplacementSampler", 1),
                    this.set2f("amount", e.x, e.y),
                    this.bindTexture(e.glTexture, 1),
                    this.copySprite(n, s),
                    this.copyToGame(s));
                },
              });
            d.exports = r;
          },
          55084: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(72632),
              a = t(69675),
              r = t(80486),
              n = t(75512),
              e = new A({
                Extends: r,
                initialize: function (u, i) {
                  var o = c(i, "quality", 0.1),
                    h = c(i, "distance", 10);
                  (r.call(this, {
                    game: u,
                    fragShader: n.setGlowQuality(a, u, o, h),
                  }),
                    (this.outerStrength = 4),
                    (this.innerStrength = 0),
                    (this.knockout = !1),
                    (this.glcolor = [1, 1, 1, 1]));
                },
                onPreRender: function (s, u, i, o) {
                  ((s = this.getController(s)),
                    this.set1f("outerStrength", s.outerStrength, u),
                    this.set1f("innerStrength", s.innerStrength, u),
                    this.set4fv("glowColor", s.glcolor, u),
                    this.setBoolean("knockout", s.knockout, u),
                    i && o && this.set2f("resolution", i, o, u));
                },
                onDraw: function (s) {
                  (this.set2f("resolution", s.width, s.height),
                    this.bindAndDraw(s));
                },
              });
            d.exports = e;
          },
          41653: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(90993),
              a = t(80486),
              r = new A({
                Extends: a,
                initialize: function (e) {
                  (a.call(this, { game: e, fragShader: c }),
                    (this.alpha = 0.2),
                    (this.size = 0),
                    (this.fromX = 0),
                    (this.fromY = 0),
                    (this.toX = 0),
                    (this.toY = 1),
                    (this.glcolor1 = [255, 0, 0]),
                    (this.glcolor2 = [0, 255, 0]));
                },
                onPreRender: function (n, e) {
                  ((n = this.getController(n)),
                    this.set1f("alpha", n.alpha, e),
                    this.set1i("size", n.size, e),
                    this.set3fv("color1", n.glcolor1, e),
                    this.set3fv("color2", n.glcolor2, e),
                    this.set2f("positionFrom", n.fromX, n.fromY, e),
                    this.set2f("positionTo", n.toX, n.toY, e));
                },
              });
            d.exports = r;
          },
          73416: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(37945),
              a = t(80486),
              r = new A({
                Extends: a,
                initialize: function (e) {
                  (a.call(this, { game: e, fragShader: c }), (this.amount = 1));
                },
                onPreRender: function (n, e, s, u) {
                  ((n = this.getController(n)),
                    this.set1f("amount", n.amount, e),
                    s && u && this.set2f("resolution", s, u, e));
                },
                onDraw: function (n) {
                  (this.set2f("resolution", n.width, n.height),
                    this.bindAndDraw(n));
                },
              });
            d.exports = r;
          },
          58049: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(85718),
              a = t(80486),
              r = new A({
                Extends: a,
                initialize: function (e) {
                  (a.call(this, { game: e, fragShader: c }),
                    (this.x = 0),
                    (this.y = 0),
                    (this.decay = 0.1),
                    (this.power = 1),
                    (this.glcolor = [0, 0, 0, 1]),
                    (this.samples = 6),
                    (this.intensity = 1));
                },
                onPreRender: function (n, e) {
                  n = this.getController(n);
                  var s = n.samples;
                  (this.set1i("samples", s, e),
                    this.set1f("intensity", n.intensity, e),
                    this.set1f("decay", n.decay, e),
                    this.set1f("power", n.power / s, e),
                    this.set2f("lightPosition", n.x, n.y, e),
                    this.set4fv("color", n.glcolor, e));
                },
              });
            d.exports = r;
          },
          18026: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(13740),
              a = t(80486),
              r = new A({
                Extends: a,
                initialize: function (e) {
                  (a.call(this, { game: e, fragShader: c }),
                    (this.speed = 0.5),
                    (this.lineWidth = 0.5),
                    (this.gradient = 3),
                    (this.reveal = !1));
                },
                onPreRender: function (n, e, s, u) {
                  ((n = this.getController(n)),
                    this.setTime("time", e),
                    this.set1f("speed", n.speed, e),
                    this.set1f("lineWidth", n.lineWidth, e),
                    this.set1f("gradient", n.gradient, e),
                    this.setBoolean("reveal", n.reveal, e),
                    s && u && this.set2f("resolution", s, u, e));
                },
                onDraw: function (n) {
                  (this.set2f("resolution", n.width, n.height),
                    this.bindAndDraw(n));
                },
              });
            d.exports = r;
          },
          72381: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(80617),
              a = t(80486),
              r = new A({
                Extends: a,
                initialize: function (e) {
                  (a.call(this, { game: e, fragShader: c }),
                    (this.x = 0.5),
                    (this.y = 0.5),
                    (this.radius = 0.5),
                    (this.strength = 0.5));
                },
                onPreRender: function (n, e) {
                  ((n = this.getController(n)),
                    this.set1f("radius", n.radius, e),
                    this.set1f("strength", n.strength, e),
                    this.set2f("position", n.x, n.y, e));
                },
              });
            d.exports = r;
          },
          80542: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(62879),
              a = t(80486),
              r = new A({
                Extends: a,
                initialize: function (e) {
                  (a.call(this, { game: e, fragShader: c }),
                    (this.progress = 0),
                    (this.wipeWidth = 0.1),
                    (this.direction = 0),
                    (this.axis = 0),
                    (this.reveal = !1));
                },
                onPreRender: function (n, e) {
                  n = this.getController(n);
                  var s = n.progress,
                    u = n.wipeWidth,
                    i = n.direction,
                    o = n.axis;
                  (this.set4f("config", s, u, i, o, e),
                    this.setBoolean("reveal", n.reveal, e));
                },
              });
            d.exports = r;
          },
          58136: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = {
              Barrel: t(32469),
              Bloom: t(2134),
              Blur: t(63377),
              Bokeh: t(49745),
              Circle: t(4323),
              ColorMatrix: t(92066),
              Displacement: t(89581),
              Glow: t(55084),
              Gradient: t(41653),
              Pixelate: t(73416),
              Shadow: t(58049),
              Shine: t(18026),
              Vignette: t(72381),
              Wipe: t(80542),
            };
            d.exports = A;
          },
          62253: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(65641),
              c = t(98611),
              a = {
                FX: t(58136),
                BitmapMaskPipeline: t(5583),
                Events: t(18970),
                FXPipeline: t(81828),
                LightPipeline: t(66901),
                MobilePipeline: t(71264),
                MultiPipeline: t(77310),
                PointLightPipeline: t(10919),
                PostFXPipeline: t(80486),
                PreFXPipeline: t(87228),
                RopePipeline: t(21213),
                SinglePipeline: t(51212),
                UtilityPipeline: t(60848),
              };
            ((a = c(!1, a, A)), (d.exports = a));
          },
          2529: (d) => {
            d.exports = [
              "#define SHADER_NAME PHASER_ADD_BLEND_FS",
              "precision mediump float;",
              "uniform sampler2D uMainSampler1;",
              "uniform sampler2D uMainSampler2;",
              "uniform float uStrength;",
              "varying vec2 outTexCoord;",
              "void main ()",
              "{",
              "    vec4 frame1 = texture2D(uMainSampler1, outTexCoord);",
              "    vec4 frame2 = texture2D(uMainSampler2, outTexCoord);",
              "    gl_FragColor = frame1 + frame2 * uStrength;",
              "}",
            ].join(`
`);
          },
          91679: (d) => {
            d.exports = [
              "#define SHADER_NAME PHASER_BITMAP_MASK_FS",
              "precision mediump float;",
              "uniform vec2 uResolution;",
              "uniform sampler2D uMainSampler;",
              "uniform sampler2D uMaskSampler;",
              "uniform bool uInvertMaskAlpha;",
              "void main ()",
              "{",
              "    vec2 uv = gl_FragCoord.xy / uResolution;",
              "    vec4 mainColor = texture2D(uMainSampler, uv);",
              "    vec4 maskColor = texture2D(uMaskSampler, uv);",
              "    if (!uInvertMaskAlpha)",
              "    {",
              "        mainColor *= maskColor.a;",
              "    }",
              "    else",
              "    {",
              "        mainColor *= (1.0 - maskColor.a);",
              "    }",
              "    gl_FragColor = mainColor;",
              "}",
            ].join(`
`);
          },
          89053: (d) => {
            d.exports = [
              "#define SHADER_NAME PHASER_BITMAP_MASK_VS",
              "precision mediump float;",
              "attribute vec2 inPosition;",
              "void main ()",
              "{",
              "    gl_Position = vec4(inPosition, 0.0, 1.0);",
              "}",
            ].join(`
`);
          },
          37486: (d) => {
            d.exports = [
              "#define SHADER_NAME PHASER_COLORMATRIX_FS",
              "precision mediump float;",
              "uniform sampler2D uMainSampler;",
              "uniform float uColorMatrix[20];",
              "uniform float uAlpha;",
              "varying vec2 outTexCoord;",
              "void main ()",
              "{",
              "    vec4 c = texture2D(uMainSampler, outTexCoord);",
              "    if (uAlpha == 0.0)",
              "    {",
              "        gl_FragColor = c;",
              "        return;",
              "    }",
              "    if (c.a > 0.0)",
              "    {",
              "        c.rgb /= c.a;",
              "    }",
              "    vec4 result;",
              "    result.r = (uColorMatrix[0] * c.r) + (uColorMatrix[1] * c.g) + (uColorMatrix[2] * c.b) + (uColorMatrix[3] * c.a) + uColorMatrix[4];",
              "    result.g = (uColorMatrix[5] * c.r) + (uColorMatrix[6] * c.g) + (uColorMatrix[7] * c.b) + (uColorMatrix[8] * c.a) + uColorMatrix[9];",
              "    result.b = (uColorMatrix[10] * c.r) + (uColorMatrix[11] * c.g) + (uColorMatrix[12] * c.b) + (uColorMatrix[13] * c.a) + uColorMatrix[14];",
              "    result.a = (uColorMatrix[15] * c.r) + (uColorMatrix[16] * c.g) + (uColorMatrix[17] * c.b) + (uColorMatrix[18] * c.a) + uColorMatrix[19];",
              "    vec3 rgb = mix(c.rgb, result.rgb, uAlpha);",
              "    rgb *= result.a;",
              "    gl_FragColor = vec4(rgb, result.a);",
              "}",
            ].join(`
`);
          },
          79060: (d) => {
            d.exports = [
              "#define SHADER_NAME PHASER_COPY_FS",
              "precision mediump float;",
              "uniform sampler2D uMainSampler;",
              "uniform float uBrightness;",
              "varying vec2 outTexCoord;",
              "void main ()",
              "{",
              "    gl_FragColor = texture2D(uMainSampler, outTexCoord) * uBrightness;",
              "}",
            ].join(`
`);
          },
          87751: (d) => {
            d.exports = [
              "#define SHADER_NAME BARREL_FS",
              "precision mediump float;",
              "uniform sampler2D uMainSampler;",
              "uniform float amount;",
              "varying vec2 outTexCoord;",
              "vec2 Distort(vec2 p)",
              "{",
              "    float theta  = atan(p.y, p.x);",
              "    float radius = length(p);",
              "    radius = pow(radius, amount);",
              "    p.x = radius * cos(theta);",
              "    p.y = radius * sin(theta);",
              "    return 0.5 * (p + 1.0);",
              "}",
              "void main()",
              "{",
              "    vec2 xy = 2.0 * outTexCoord - 1.0;",
              "    vec2 texCoord = outTexCoord;",
              "    if (length(xy) < 1.0)",
              "    {",
              "        texCoord = Distort(xy);",
              "    }",
              "    gl_FragColor = texture2D(uMainSampler, texCoord);",
              "}",
            ].join(`
`);
          },
          88222: (d) => {
            d.exports = [
              "#define SHADER_NAME BLOOM_FS",
              "precision mediump float;",
              "uniform sampler2D uMainSampler;",
              "uniform vec2 offset;",
              "uniform float strength;",
              "uniform vec3 color;",
              "varying vec2 outTexCoord;",
              "void main ()",
              "{",
              "    vec4 sum = texture2D(uMainSampler, outTexCoord) * 0.204164 * strength;",
              "    sum = sum + texture2D(uMainSampler, outTexCoord + offset * 1.407333) * 0.304005;",
              "    sum = sum + texture2D(uMainSampler, outTexCoord - offset * 1.407333) * 0.304005;",
              "    sum = sum + texture2D(uMainSampler, outTexCoord + offset * 3.294215) * 0.093913;",
              "    gl_FragColor = (sum + texture2D(uMainSampler, outTexCoord - offset * 3.294215) * 0.093913) * vec4(color, 1);",
              "}",
            ].join(`
`);
          },
          44481: (d) => {
            d.exports = [
              "#define SHADER_NAME BLUR_HIGH_FS",
              "precision mediump float;",
              "uniform sampler2D uMainSampler;",
              "uniform vec2 resolution;",
              "uniform vec2 offset;",
              "uniform float strength;",
              "uniform vec3 color;",
              "varying vec2 outTexCoord;",
              "void main ()",
              "{",
              "    vec2 uv = outTexCoord;",
              "    vec4 col = vec4(0.0);",
              "    vec2 off1 = vec2(1.411764705882353) * offset * strength;",
              "    vec2 off2 = vec2(3.2941176470588234) * offset * strength;",
              "    vec2 off3 = vec2(5.176470588235294) * offset * strength;",
              "    col += texture2D(uMainSampler, uv) * 0.1964825501511404;",
              "    col += texture2D(uMainSampler, uv + (off1 / resolution)) * 0.2969069646728344;",
              "    col += texture2D(uMainSampler, uv - (off1 / resolution)) * 0.2969069646728344;",
              "    col += texture2D(uMainSampler, uv + (off2 / resolution)) * 0.09447039785044732;",
              "    col += texture2D(uMainSampler, uv - (off2 / resolution)) * 0.09447039785044732;",
              "    col += texture2D(uMainSampler, uv + (off3 / resolution)) * 0.010381362401148057;",
              "    col += texture2D(uMainSampler, uv - (off3 / resolution)) * 0.010381362401148057;",
              "    gl_FragColor = col * vec4(color, 1.0);",
              "}",
            ].join(`
`);
          },
          35491: (d) => {
            d.exports = [
              "#define SHADER_NAME BLUR_LOW_FS",
              "precision mediump float;",
              "uniform sampler2D uMainSampler;",
              "uniform vec2 resolution;",
              "uniform vec2 offset;",
              "uniform float strength;",
              "uniform vec3 color;",
              "varying vec2 outTexCoord;",
              "void main ()",
              "{",
              "    vec2 uv = outTexCoord;",
              "    vec4 col = vec4(0.0);",
              "    vec2 offset = vec2(1.333) * offset * strength;",
              "    col += texture2D(uMainSampler, uv) * 0.29411764705882354;",
              "    col += texture2D(uMainSampler, uv + (offset / resolution)) * 0.35294117647058826;",
              "    col += texture2D(uMainSampler, uv - (offset / resolution)) * 0.35294117647058826;",
              "    gl_FragColor = col * vec4(color, 1.0);",
              "}",
            ].join(`
`);
          },
          75568: (d) => {
            d.exports = [
              "#define SHADER_NAME BLUR_MED_FS",
              "precision mediump float;",
              "uniform sampler2D uMainSampler;",
              "uniform vec2 resolution;",
              "uniform vec2 offset;",
              "uniform float strength;",
              "uniform vec3 color;",
              "varying vec2 outTexCoord;",
              "void main ()",
              "{",
              "    vec2 uv = outTexCoord;",
              "    vec4 col = vec4(0.0);",
              "    vec2 off1 = vec2(1.3846153846) * offset * strength;",
              "    vec2 off2 = vec2(3.2307692308) * offset * strength;",
              "    col += texture2D(uMainSampler, uv) * 0.2270270270;",
              "    col += texture2D(uMainSampler, uv + (off1 / resolution)) * 0.3162162162;",
              "    col += texture2D(uMainSampler, uv - (off1 / resolution)) * 0.3162162162;",
              "    col += texture2D(uMainSampler, uv + (off2 / resolution)) * 0.0702702703;",
              "    col += texture2D(uMainSampler, uv - (off2 / resolution)) * 0.0702702703;",
              "    gl_FragColor = col * vec4(color, 1.0);",
              "}",
            ].join(`
`);
          },
          69960: (d) => {
            d.exports = [
              "#define SHADER_NAME BOKEH_FS",
              "precision mediump float;",
              "#define ITERATIONS 100.0",
              "#define ONEOVER_ITR 1.0 / ITERATIONS",
              "#define PI 3.141596",
              "#define GOLDEN_ANGLE 2.39996323",
              "uniform sampler2D uMainSampler;",
              "uniform vec2 resolution;",
              "uniform float radius;",
              "uniform float amount;",
              "uniform float contrast;",
              "uniform bool isTiltShift;",
              "uniform float strength;",
              "uniform vec2 blur;",
              "varying vec2 outTexCoord;",
              "vec2 Sample (in float theta, inout float r)",
              "{",
              "    r += 1.0 / r;",
              "    return (r - 1.0) * vec2(cos(theta), sin(theta)) * 0.06;",
              "}",
              "vec3 Bokeh (sampler2D tex, vec2 uv, float radius)",
              "{",
              "    vec3 acc = vec3(0.0);",
              "    vec3 div = vec3(0.0);",
              "    vec2 pixel = vec2(resolution.y / resolution.x, 1.0) * radius * .025;",
              "    float r = 1.0;",
              "    for (float j = 0.0; j < GOLDEN_ANGLE * ITERATIONS; j += GOLDEN_ANGLE)",
              "    {",
              "        vec3 col = texture2D(tex, uv + pixel * Sample(j, r)).xyz;",
              "        col = contrast > 0.0 ? col * col * (1.0 + contrast) : col;",
              "        vec3 bokeh = vec3(0.5) + pow(col, vec3(10.0)) * amount;",
              "        acc += col * bokeh;",
              "        div += bokeh;",
              "    }",
              "    return acc / div;",
              "}",
              "void main ()",
              "{",
              "    float shift = 1.0;",
              "    if (isTiltShift)",
              "    {",
              "        vec2 uv = vec2(gl_FragCoord.xy / resolution + vec2(-0.5, -0.5)) * 2.0;",
              "        float centerStrength = 1.0;",
              "        shift = length(uv * blur * strength) * centerStrength;",
              "    }",
              "    gl_FragColor = vec4(Bokeh(uMainSampler, outTexCoord * vec2(1.0, 1.0), radius * shift), 0.0);",
              "}",
            ].join(`
`);
          },
          33754: (d) => {
            d.exports = [
              "#define SHADER_NAME CIRCLE_FS",
              "precision mediump float;",
              "uniform sampler2D uMainSampler;",
              "uniform vec2 resolution;",
              "uniform vec3 color;",
              "uniform vec4 backgroundColor;",
              "uniform float thickness;",
              "uniform float scale;",
              "uniform float feather;",
              "varying vec2 outTexCoord;",
              "void main ()",
              "{",
              "    vec4 texture = texture2D(uMainSampler, outTexCoord);",
              "    vec2 position = (gl_FragCoord.xy / resolution.xy) * 2.0 - 1.0;",
              "    float aspectRatio = resolution.x / resolution.y;",
              "    position.x *= aspectRatio;",
              "    float grad = length(position);",
              "    float outer = aspectRatio;",
              "    float inner = outer - (thickness * 2.0 / resolution.y);",
              "    if (aspectRatio >= 1.0)",
              "    {",
              "        float f = 2.0 + (resolution.y / resolution.x);",
              "        outer = 1.0;",
              "        inner = 1.0 - (thickness * f / resolution.x);",
              "    }",
              "    outer *= scale;",
              "    inner *= scale;",
              "    float circle = smoothstep(outer, outer - 0.01, grad);",
              "    float ring = circle - smoothstep(inner, inner - feather, grad);",
              "    texture = mix(backgroundColor * backgroundColor.a, texture, texture.a);",
              "    texture = (texture * (circle - ring));",
              "    gl_FragColor = vec4(texture.rgb + (ring * color), texture.a);",
              "}",
            ].join(`
`);
          },
          35668: (d) => {
            d.exports = [
              "#define SHADER_NAME DISPLACEMENT_FS",
              "precision mediump float;",
              "uniform sampler2D uMainSampler;",
              "uniform sampler2D uDisplacementSampler;",
              "uniform vec2 amount;",
              "varying vec2 outTexCoord;",
              "void main ()",
              "{",
              "    vec2 disp = (-vec2(0.5, 0.5) + texture2D(uDisplacementSampler, outTexCoord).rr) * amount;",
              "    gl_FragColor = texture2D(uMainSampler, outTexCoord + disp).rgba;",
              "}",
            ].join(`
`);
          },
          69675: (d) => {
            d.exports = [
              "#define SHADER_NAME GLOW_FS",
              "precision mediump float;",
              "uniform sampler2D uMainSampler;",
              "varying vec2 outTexCoord;",
              "uniform float outerStrength;",
              "uniform float innerStrength;",
              "uniform vec2 resolution;",
              "uniform vec4 glowColor;",
              "uniform bool knockout;",
              "const float PI = 3.14159265358979323846264;",
              "const float DIST = __DIST__;",
              "const float SIZE = min(__SIZE__, PI * 2.0);",
              "const float STEP = ceil(PI * 2.0 / SIZE);",
              "const float MAX_ALPHA = STEP * DIST * (DIST + 1.0) / 2.0;",
              "void main ()",
              "{",
              "    vec2 px = vec2(1.0 / resolution.x, 1.0 / resolution.y);",
              "    float totalAlpha = 0.0;",
              "    vec2 direction;",
              "    vec2 displaced;",
              "    vec4 color;",
              "    for (float angle = 0.0; angle < PI * 2.0; angle += SIZE)",
              "    {",
              "        direction = vec2(cos(angle), sin(angle)) * px;",
              "        for (float curDistance = 0.0; curDistance < DIST; curDistance++)",
              "        {",
              "            displaced = outTexCoord + direction * (curDistance + 1.0);",
              "            color = texture2D(uMainSampler, displaced);",
              "            totalAlpha += (DIST - curDistance) * color.a;",
              "        }",
              "    }",
              "    color = texture2D(uMainSampler, outTexCoord);",
              "    float alphaRatio = (totalAlpha / MAX_ALPHA);",
              "    float innerGlowAlpha = (1.0 - alphaRatio) * innerStrength * color.a;",
              "    float innerGlowStrength = min(1.0, innerGlowAlpha);",
              "    vec4 innerColor = mix(color, glowColor, innerGlowStrength);",
              "    float outerGlowAlpha = alphaRatio * outerStrength * (1.0 - color.a);",
              "    float outerGlowStrength = min(1.0 - innerColor.a, outerGlowAlpha);",
              "    vec4 outerGlowColor = outerGlowStrength * glowColor.rgba;",
              "    if (knockout)",
              "    {",
              "        float resultAlpha = outerGlowAlpha + innerGlowAlpha;",
              "        gl_FragColor = vec4(glowColor.rgb * resultAlpha, resultAlpha);",
              "    }",
              "    else",
              "    {",
              "        gl_FragColor = innerColor + outerGlowColor;",
              "    }",
              "}",
            ].join(`
`);
          },
          90993: (d) => {
            d.exports = [
              "#define SHADER_NAME GRADIENT_FS",
              "#define SRGB_TO_LINEAR(c) pow((c), vec3(2.2))",
              "#define LINEAR_TO_SRGB(c) pow((c), vec3(1.0 / 2.2))",
              "#define SRGB(r, g, b) SRGB_TO_LINEAR(vec3(float(r), float(g), float(b)) / 255.0)",
              "precision mediump float;",
              "uniform sampler2D uMainSampler;",
              "uniform vec2 positionFrom;",
              "uniform vec2 positionTo;",
              "uniform vec3 color1;",
              "uniform vec3 color2;",
              "uniform float alpha;",
              "uniform int size;",
              "varying vec2 outTexCoord;",
              "float gradientNoise(in vec2 uv)",
              "{",
              "    const vec3 magic = vec3(0.06711056, 0.00583715, 52.9829189);",
              "    return fract(magic.z * fract(dot(uv, magic.xy)));",
              "}",
              "float stepped (in float s, in float scale, in int steps)",
              "{",
              "    return steps > 0 ? floor( s / ((1.0 * scale) / float(steps))) * 1.0 / float(steps - 1) : s;",
              "}",
              "void main ()",
              "{",
              "    vec2 a = positionFrom;",
              "    vec2 b = positionTo;",
              "    vec2 ba = b - a;",
              "    float d = dot(outTexCoord - a, ba) / dot(ba, ba);",
              "    float t = size > 0 ? stepped(d, 1.0, size) : d;",
              "    t = smoothstep(0.0, 1.0, clamp(t, 0.0, 1.0));",
              "    vec3 color = mix(SRGB(color1.r, color1.g, color1.b), SRGB(color2.r, color2.g, color2.b), t);",
              "    color = LINEAR_TO_SRGB(color);",
              "    color += (1.0 / 255.0) * gradientNoise(outTexCoord) - (0.5 / 255.0);",
              "    vec4 texture = texture2D(uMainSampler, outTexCoord);",
              "    gl_FragColor = vec4(mix(color.rgb, texture.rgb, alpha), 1.0) * texture.a;",
              "}",
            ].join(`
`);
          },
          37945: (d) => {
            d.exports = [
              "#define SHADER_NAME PIXELATE_FS",
              "precision mediump float;",
              "uniform sampler2D uMainSampler;",
              "uniform vec2 resolution;",
              "uniform float amount;",
              "varying vec2 outTexCoord;",
              "void main ()",
              "{",
              "    float pixelSize = floor(2.0 + amount);",
              "    vec2 center = pixelSize * floor(outTexCoord * resolution / pixelSize) + pixelSize * vec2(0.5, 0.5);",
              "    vec2 corner1 = center + pixelSize * vec2(-0.5, -0.5);",
              "    vec2 corner2 = center + pixelSize * vec2(+0.5, -0.5);",
              "    vec2 corner3 = center + pixelSize * vec2(+0.5, +0.5);",
              "    vec2 corner4 = center + pixelSize * vec2(-0.5, +0.5);",
              "    vec4 pixel = 0.4 * texture2D(uMainSampler, center / resolution);",
              "    pixel += 0.15 * texture2D(uMainSampler, corner1 / resolution);",
              "    pixel += 0.15 * texture2D(uMainSampler, corner2 / resolution);",
              "    pixel += 0.15 * texture2D(uMainSampler, corner3 / resolution);",
              "    pixel += 0.15 * texture2D(uMainSampler, corner4 / resolution);",
              "    gl_FragColor = pixel;",
              "}",
            ].join(`
`);
          },
          85718: (d) => {
            d.exports = [
              "#define SHADER_NAME SHADOW_FS",
              "precision mediump float;",
              "uniform sampler2D uMainSampler;",
              "varying vec2 outTexCoord;",
              "uniform vec2 lightPosition;",
              "uniform vec4 color;",
              "uniform float decay;",
              "uniform float power;",
              "uniform float intensity;",
              "uniform int samples;",
              "const int MAX = 12;",
              "void main ()",
              "{",
              "    vec4 texture = texture2D(uMainSampler, outTexCoord);",
              "    vec2 pc = (lightPosition - outTexCoord) * intensity;",
              "    float shadow = 0.0;",
              "    float limit = max(float(MAX), float(samples));",
              "    for (int i = 0; i < MAX; ++i)",
              "    {",
              "        if (i >= samples)",
              "        {",
              "            break;",
              "        }",
              "        shadow += texture2D(uMainSampler, outTexCoord + float(i) * decay / limit * pc).a * power;",
              "    }",
              "    float mask = 1.0 - texture.a;",
              "    gl_FragColor = mix(texture, color, shadow * mask);",
              "}",
            ].join(`
`);
          },
          13740: (d) => {
            d.exports = [
              "#define SHADER_NAME SHINE_FS",
              "precision mediump float;",
              "uniform sampler2D uMainSampler;",
              "uniform vec2 resolution;",
              "uniform bool reveal;",
              "uniform float speed;",
              "uniform float time;",
              "uniform float lineWidth;",
              "uniform float gradient;",
              "varying vec2 outTexCoord;",
              "void main ()",
              "{",
              "	vec2 uv = gl_FragCoord.xy / resolution.xy;",
              "    vec4 tex = texture2D(uMainSampler, outTexCoord);",
              "    vec4 col1 = vec4(0.3, 0.0, 0.0, 1.0);",
              "    vec4 col2 = vec4(0.85, 0.85, 0.85, 1.0);",
              "    uv.x = uv.x - mod(time * speed, 2.0) + 0.5;",
              "    float y = uv.x * gradient;",
              "    float s = smoothstep(y - lineWidth, y, uv.y) - smoothstep(y, y + lineWidth, uv.y);",
              "    gl_FragColor = (((s * col1) + (s * col2)) * tex);",
              "    if (!reveal)",
              "    {",
              "        gl_FragColor += tex;",
              "    }",
              "}",
            ].join(`
`);
          },
          80617: (d) => {
            d.exports = [
              "#define SHADER_NAME VIGNETTE_FS",
              "precision mediump float;",
              "uniform sampler2D uMainSampler;",
              "uniform float radius;",
              "uniform float strength;",
              "uniform vec2 position;",
              "varying vec2 outTexCoord;",
              "void main ()",
              "{",
              "    vec4 col = vec4(1.0);",
              "    float d = length(outTexCoord - position);",
              "    if (d <= radius)",
              "    {",
              "        float g = d / radius;",
              "        g = sin(g * 3.14 * strength);",
              "    	col = vec4(g * g * g);",
              "    }",
              "    vec4 texture = texture2D(uMainSampler, outTexCoord);",
              "    gl_FragColor = texture * (1.0 - col);",
              "}",
            ].join(`
`);
          },
          62879: (d) => {
            d.exports = [
              "#define SHADER_NAME WIPE_FS",
              "precision mediump float;",
              "uniform sampler2D uMainSampler;",
              "uniform vec4 config;",
              "uniform bool reveal;",
              "varying vec2 outTexCoord;",
              "void main ()",
              "{",
              "    vec2 uv = outTexCoord;",
              "    vec4 color0;",
              "    vec4 color1;",
              "    if (reveal)",
              "    {",
              "        color0 = vec4(0);",
              "        color1 = texture2D(uMainSampler, uv);",
              "    }",
              "    else",
              "    {",
              "        color0 = texture2D(uMainSampler, uv);",
              "        color1 = vec4(0);",
              "    }",
              "    float distance = config.x;",
              "    float width = config.y;",
              "    float direction = config.z;",
              "    float axis = uv.x;",
              "    if (config.w == 1.0)",
              "    {",
              "        axis = uv.y;",
              "    }",
              "    float adjust = mix(width, -width, distance);",
              "    float value = smoothstep(distance - width, distance + width, abs(direction - axis) + adjust);",
              "    gl_FragColor = mix(color1, color0, value);",
              "}",
            ].join(`
`);
          },
          65045: (d) => {
            d.exports = [
              "#define SHADER_NAME PHASER_LIGHT_FS",
              "precision mediump float;",
              "struct Light",
              "{",
              "    vec2 position;",
              "    vec3 color;",
              "    float intensity;",
              "    float radius;",
              "};",
              "const int kMaxLights = %LIGHT_COUNT%;",
              "uniform vec4 uCamera; /* x, y, rotation, zoom */",
              "uniform vec2 uResolution;",
              "uniform sampler2D uMainSampler;",
              "uniform sampler2D uNormSampler;",
              "uniform vec3 uAmbientLightColor;",
              "uniform Light uLights[kMaxLights];",
              "uniform mat3 uInverseRotationMatrix;",
              "uniform int uLightCount;",
              "varying vec2 outTexCoord;",
              "varying float outTexId;",
              "varying float outTintEffect;",
              "varying vec4 outTint;",
              "void main ()",
              "{",
              "    vec3 finalColor = vec3(0.0, 0.0, 0.0);",
              "    vec4 texel = vec4(outTint.bgr * outTint.a, outTint.a);",
              "    vec4 texture = texture2D(uMainSampler, outTexCoord);",
              "    vec4 color = texture * texel;",
              "    if (outTintEffect == 1.0)",
              "    {",
              "        color.rgb = mix(texture.rgb, outTint.bgr * outTint.a, texture.a);",
              "    }",
              "    else if (outTintEffect == 2.0)",
              "    {",
              "        color = texel;",
              "    }",
              "    vec3 normalMap = texture2D(uNormSampler, outTexCoord).rgb;",
              "    vec3 normal = normalize(uInverseRotationMatrix * vec3(normalMap * 2.0 - 1.0));",
              "    vec2 res = vec2(min(uResolution.x, uResolution.y)) * uCamera.w;",
              "    for (int index = 0; index < kMaxLights; ++index)",
              "    {",
              "        if (index < uLightCount)",
              "        {",
              "            Light light = uLights[index];",
              "            vec3 lightDir = vec3((light.position.xy / res) - (gl_FragCoord.xy / res), 0.1);",
              "            vec3 lightNormal = normalize(lightDir);",
              "            float distToSurf = length(lightDir) * uCamera.w;",
              "            float diffuseFactor = max(dot(normal, lightNormal), 0.0);",
              "            float radius = (light.radius / res.x * uCamera.w) * uCamera.w;",
              "            float attenuation = clamp(1.0 - distToSurf * distToSurf / (radius * radius), 0.0, 1.0);",
              "            vec3 diffuse = light.color * diffuseFactor;",
              "            finalColor += (attenuation * diffuse) * light.intensity;",
              "        }",
              "    }",
              "    vec4 colorOutput = vec4(uAmbientLightColor + finalColor, 1.0);",
              "    gl_FragColor = color * vec4(colorOutput.rgb * colorOutput.a, colorOutput.a);",
              "}",
            ].join(`
`);
          },
          98921: (d) => {
            d.exports = [
              "#define SHADER_NAME PHASER_LINEAR_BLEND_FS",
              "precision mediump float;",
              "uniform sampler2D uMainSampler1;",
              "uniform sampler2D uMainSampler2;",
              "uniform float uStrength;",
              "varying vec2 outTexCoord;",
              "void main ()",
              "{",
              "    vec4 frame1 = texture2D(uMainSampler1, outTexCoord);",
              "    vec4 frame2 = texture2D(uMainSampler2, outTexCoord);",
              "    gl_FragColor = mix(frame1, frame2 * uStrength, 0.5);",
              "}",
            ].join(`
`);
          },
          25005: (d) => {
            d.exports = [
              "#define SHADER_NAME PHASER_MESH_FS",
              "precision mediump float;",
              "uniform vec3 uLightPosition;",
              "uniform vec3 uLightAmbient;",
              "uniform vec3 uLightDiffuse;",
              "uniform vec3 uLightSpecular;",
              "uniform vec3 uFogColor;",
              "uniform float uFogNear;",
              "uniform float uFogFar;",
              "uniform vec3 uMaterialAmbient;",
              "uniform vec3 uMaterialDiffuse;",
              "uniform vec3 uMaterialSpecular;",
              "uniform float uMaterialShine;",
              "uniform vec3 uCameraPosition;",
              "uniform sampler2D uTexture;",
              "varying vec2 vTextureCoord;",
              "varying vec3 vNormal;",
              "varying vec3 vPosition;",
              "void main (void)",
              "{",
              "    vec4 color = texture2D(uTexture, vTextureCoord);",
              "    vec3 ambient = uLightAmbient * uMaterialAmbient;",
              "    vec3 norm = normalize(vNormal);",
              "    vec3 lightDir = normalize(uLightPosition - vPosition);",
              "    float diff = max(dot(norm, lightDir), 0.0);",
              "    vec3 diffuse = uLightDiffuse * (diff * uMaterialDiffuse);",
              "    vec3 viewDir = normalize(uCameraPosition - vPosition);",
              "    vec3 reflectDir = reflect(-lightDir, norm);",
              "    float spec = pow(max(dot(viewDir, reflectDir), 0.0), uMaterialShine);",
              "    vec3 specular = uLightSpecular * (spec * uMaterialSpecular);",
              "    vec3 result = (ambient + diffuse + specular) * color.rgb;",
              "    float depth = gl_FragCoord.z / gl_FragCoord.w;",
              "    float fogFactor = smoothstep(uFogNear, uFogFar, depth);",
              "    gl_FragColor.rgb = mix(result.rgb, uFogColor, fogFactor);",
              "    gl_FragColor.a = color.a;",
              "}",
            ].join(`
`);
          },
          94914: (d) => {
            d.exports = [
              "#define SHADER_NAME PHASER_MESH_VS",
              "precision mediump float;",
              "attribute vec3 aVertexPosition;",
              "attribute vec3 aVertexNormal;",
              "attribute vec2 aTextureCoord;",
              "uniform mat4 uViewProjectionMatrix;",
              "uniform mat4 uModelMatrix;",
              "uniform mat4 uNormalMatrix;",
              "varying vec2 vTextureCoord;",
              "varying vec3 vNormal;",
              "varying vec3 vPosition;",
              "void main ()",
              "{",
              "    vTextureCoord = aTextureCoord;",
              "    vPosition = vec3(uModelMatrix * vec4(aVertexPosition, 1.0));",
              "    vNormal = vec3(uNormalMatrix * vec4(aVertexNormal, 1.0));",
              "    gl_Position = uViewProjectionMatrix * uModelMatrix * vec4(aVertexPosition, 1.0);",
              "}",
            ].join(`
`);
          },
          11263: (d) => {
            d.exports = [
              "#define SHADER_NAME PHASER_MOBILE_FS",
              "#ifdef GL_FRAGMENT_PRECISION_HIGH",
              "precision highp float;",
              "#else",
              "precision mediump float;",
              "#endif",
              "uniform sampler2D uMainSampler;",
              "varying vec2 outTexCoord;",
              "varying float outTintEffect;",
              "varying vec4 outTint;",
              "void main ()",
              "{",
              "    vec4 texel = vec4(outTint.bgr * outTint.a, outTint.a);",
              "    vec4 texture = texture2D(uMainSampler, outTexCoord);",
              "    vec4 color = texture * texel;",
              "    if (outTintEffect == 1.0)",
              "    {",
              "        color.rgb = mix(texture.rgb, outTint.bgr * outTint.a, texture.a);",
              "    }",
              "    else if (outTintEffect == 2.0)",
              "    {",
              "        color = texel;",
              "    }",
              "    gl_FragColor = color;",
              "}",
            ].join(`
`);
          },
          51852: (d) => {
            d.exports = [
              "#define SHADER_NAME PHASER_MOBILE_VS",
              "precision mediump float;",
              "uniform mat4 uProjectionMatrix;",
              "uniform int uRoundPixels;",
              "uniform vec2 uResolution;",
              "attribute vec2 inPosition;",
              "attribute vec2 inTexCoord;",
              "attribute float inTexId;",
              "attribute float inTintEffect;",
              "attribute vec4 inTint;",
              "varying vec2 outTexCoord;",
              "varying float outTintEffect;",
              "varying vec4 outTint;",
              "void main ()",
              "{",
              "    gl_Position = uProjectionMatrix * vec4(inPosition, 1.0, 1.0);",
              "    if (uRoundPixels == 1)",
              "    {",
              "        gl_Position.xy = floor(((gl_Position.xy + 1.0) * 0.5 * uResolution) + 0.5) / uResolution * 2.0 - 1.0;",
              "    }",
              "    outTexCoord = inTexCoord;",
              "    outTint = inTint;",
              "    outTintEffect = inTintEffect;",
              "}",
            ].join(`
`);
          },
          53787: (d) => {
            d.exports = [
              "#define SHADER_NAME PHASER_MULTI_FS",
              "#ifdef GL_FRAGMENT_PRECISION_HIGH",
              "precision highp float;",
              "#else",
              "precision mediump float;",
              "#endif",
              "uniform sampler2D uMainSampler[%count%];",
              "varying vec2 outTexCoord;",
              "varying float outTexId;",
              "varying float outTintEffect;",
              "varying vec4 outTint;",
              "void main ()",
              "{",
              "    vec4 texture;",
              "    %forloop%",
              "    vec4 texel = vec4(outTint.bgr * outTint.a, outTint.a);",
              "    vec4 color = texture * texel;",
              "    if (outTintEffect == 1.0)",
              "    {",
              "        color.rgb = mix(texture.rgb, outTint.bgr * outTint.a, texture.a);",
              "    }",
              "    else if (outTintEffect == 2.0)",
              "    {",
              "        color = texel;",
              "    }",
              "    gl_FragColor = color;",
              "}",
            ].join(`
`);
          },
          15968: (d) => {
            d.exports = [
              "#define SHADER_NAME PHASER_MULTI_VS",
              "precision mediump float;",
              "uniform mat4 uProjectionMatrix;",
              "uniform int uRoundPixels;",
              "uniform vec2 uResolution;",
              "attribute vec2 inPosition;",
              "attribute vec2 inTexCoord;",
              "attribute float inTexId;",
              "attribute float inTintEffect;",
              "attribute vec4 inTint;",
              "varying vec2 outTexCoord;",
              "varying float outTexId;",
              "varying float outTintEffect;",
              "varying vec4 outTint;",
              "void main ()",
              "{",
              "    gl_Position = uProjectionMatrix * vec4(inPosition, 1.0, 1.0);",
              "    if (uRoundPixels == 1)",
              "    {",
              "        gl_Position.xy = floor(((gl_Position.xy + 1.0) * 0.5 * uResolution) + 0.5) / uResolution * 2.0 - 1.0;",
              "    }",
              "    outTexCoord = inTexCoord;",
              "    outTexId = inTexId;",
              "    outTint = inTint;",
              "    outTintEffect = inTintEffect;",
              "}",
            ].join(`
`);
          },
          83327: (d) => {
            d.exports = [
              "#define SHADER_NAME PHASER_POINTLIGHT_FS",
              "precision mediump float;",
              "uniform vec2 uResolution;",
              "uniform float uCameraZoom;",
              "varying vec4 lightPosition;",
              "varying vec4 lightColor;",
              "varying float lightRadius;",
              "varying float lightAttenuation;",
              "void main ()",
              "{",
              "    vec2 center = (lightPosition.xy + 1.0) * (uResolution.xy * 0.5);",
              "    float distToSurf = length(center - gl_FragCoord.xy);",
              "    float radius = 1.0 - distToSurf / (lightRadius * uCameraZoom);",
              "    float intensity = smoothstep(0.0, 1.0, radius * lightAttenuation);",
              "    vec4 color = vec4(intensity, intensity, intensity, 0.0) * lightColor;",
              "    gl_FragColor = vec4(color.rgb * lightColor.a, color.a);",
              "}",
            ].join(`
`);
          },
          54677: (d) => {
            d.exports = [
              "#define SHADER_NAME PHASER_POINTLIGHT_VS",
              "precision mediump float;",
              "uniform mat4 uProjectionMatrix;",
              "attribute vec2 inPosition;",
              "attribute vec2 inLightPosition;",
              "attribute vec4 inLightColor;",
              "attribute float inLightRadius;",
              "attribute float inLightAttenuation;",
              "varying vec4 lightPosition;",
              "varying vec4 lightColor;",
              "varying float lightRadius;",
              "varying float lightAttenuation;",
              "void main ()",
              "{",
              "    lightColor = inLightColor;",
              "    lightRadius = inLightRadius;",
              "    lightAttenuation = inLightAttenuation;",
              "    lightPosition = uProjectionMatrix * vec4(inLightPosition, 1.0, 1.0);",
              "    gl_Position = uProjectionMatrix * vec4(inPosition, 1.0, 1.0);",
              "}",
            ].join(`
`);
          },
          12569: (d) => {
            d.exports = [
              "#define SHADER_NAME PHASER_POSTFX_FS",
              "precision mediump float;",
              "uniform sampler2D uMainSampler;",
              "varying vec2 outTexCoord;",
              "void main ()",
              "{",
              "    gl_FragColor = texture2D(uMainSampler, outTexCoord);",
              "}",
            ].join(`
`);
          },
          99365: (d) => {
            d.exports = [
              "#define SHADER_NAME PHASER_QUAD_VS",
              "precision mediump float;",
              "attribute vec2 inPosition;",
              "attribute vec2 inTexCoord;",
              "varying vec2 outFragCoord;",
              "varying vec2 outTexCoord;",
              "void main ()",
              "{",
              "    outFragCoord = inPosition.xy * 0.5 + 0.5;",
              "    outTexCoord = inTexCoord;",
              "    gl_Position = vec4(inPosition, 0, 1);",
              "}",
            ].join(`
`);
          },
          85060: (d) => {
            d.exports = [
              "#define SHADER_NAME PHASER_SINGLE_FS",
              "#ifdef GL_FRAGMENT_PRECISION_HIGH",
              "precision highp float;",
              "#else",
              "precision mediump float;",
              "#endif",
              "uniform sampler2D uMainSampler;",
              "varying vec2 outTexCoord;",
              "varying float outTintEffect;",
              "varying vec4 outTint;",
              "void main ()",
              "{",
              "    vec4 texture = texture2D(uMainSampler, outTexCoord);",
              "    vec4 texel = vec4(outTint.bgr * outTint.a, outTint.a);",
              "    vec4 color = texture * texel;",
              "    if (outTintEffect == 1.0)",
              "    {",
              "        color.rgb = mix(texture.rgb, outTint.bgr * outTint.a, texture.a);",
              "    }",
              "    else if (outTintEffect == 2.0)",
              "    {",
              "        color = texel;",
              "    }",
              "    gl_FragColor = color;",
              "}",
            ].join(`
`);
          },
          18166: (d) => {
            d.exports = [
              "#define SHADER_NAME PHASER_SINGLE_VS",
              "precision mediump float;",
              "uniform mat4 uProjectionMatrix;",
              "uniform int uRoundPixels;",
              "uniform vec2 uResolution;",
              "attribute vec2 inPosition;",
              "attribute vec2 inTexCoord;",
              "attribute float inTexId;",
              "attribute float inTintEffect;",
              "attribute vec4 inTint;",
              "varying vec2 outTexCoord;",
              "varying float outTintEffect;",
              "varying vec4 outTint;",
              "void main ()",
              "{",
              "    gl_Position = uProjectionMatrix * vec4(inPosition, 1.0, 1.0);",
              "    if (uRoundPixels == 1)",
              "    {",
              "        gl_Position.xy = floor(((gl_Position.xy + 1.0) * 0.5 * uResolution) + 0.5) / uResolution * 2.0 - 1.0;",
              "    }",
              "    outTexCoord = inTexCoord;",
              "    outTint = inTint;",
              "    outTintEffect = inTintEffect;",
              "}",
            ].join(`
`);
          },
          92462: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              AddBlendFrag: t(2529),
              BitmapMaskFrag: t(91679),
              BitmapMaskVert: t(89053),
              ColorMatrixFrag: t(37486),
              CopyFrag: t(79060),
              FXBarrelFrag: t(87751),
              FXBloomFrag: t(88222),
              FXBlurHighFrag: t(44481),
              FXBlurLowFrag: t(35491),
              FXBlurMedFrag: t(75568),
              FXBokehFrag: t(69960),
              FXCircleFrag: t(33754),
              FXDisplacementFrag: t(35668),
              FXGlowFrag: t(69675),
              FXGradientFrag: t(90993),
              FXPixelateFrag: t(37945),
              FXShadowFrag: t(85718),
              FXShineFrag: t(13740),
              FXVignetteFrag: t(80617),
              FXWipeFrag: t(62879),
              LightFrag: t(65045),
              LinearBlendFrag: t(98921),
              MeshFrag: t(25005),
              MeshVert: t(94914),
              MobileFrag: t(11263),
              MobileVert: t(51852),
              MultiFrag: t(53787),
              MultiVert: t(15968),
              PointLightFrag: t(83327),
              PointLightVert: t(54677),
              PostFXFrag: t(12569),
              QuadVert: t(99365),
              SingleFrag: t(85060),
              SingleVert: t(18166),
            };
          },
          756: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(55301),
              c = t(56694),
              a = t(6659),
              r = t(40444),
              n = t(97081),
              e = t(74181),
              s = t(2893),
              u = t(9229),
              i = t(72283),
              o = t(74118),
              h = t(90881),
              l = t(84314),
              f = t(93736),
              v = t(47751),
              m = new c({
                Extends: a,
                initialize: function (g) {
                  (a.call(this),
                    (this.game = g),
                    this.canvas,
                    (this.canvasBounds = new o()),
                    (_____WB$wombat$check$this$function_____(this).parent =
                      null),
                    (this.parentIsWindow = !1),
                    (this.parentSize = new h()),
                    (this.gameSize = new h()),
                    (this.baseSize = new h()),
                    (this.displaySize = new h()),
                    (this.scaleMode = A.SCALE_MODE.NONE),
                    (this.zoom = 1),
                    (this._resetZoom = !1),
                    (this.displayScale = new f(1, 1)),
                    (this.autoRound = !1),
                    (this.autoCenter = A.CENTER.NO_CENTER),
                    (this.orientation = A.ORIENTATION.LANDSCAPE),
                    this.fullscreen,
                    (this.fullscreenTarget = null),
                    (this._createdFullscreenTarget = !1),
                    (this.dirty = !1),
                    (this.resizeInterval = 500),
                    (this._lastCheck = 0),
                    (this._checkOrientation = !1),
                    (this.domlisteners = {
                      orientationChange: i,
                      windowResize: i,
                      fullScreenChange: i,
                      fullScreenError: i,
                    }));
                },
                preBoot: function () {
                  (this.parseConfig(this.game.config),
                    this.game.events.once(
                      n.BOOT,
                      this.boot,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                boot: function () {
                  var x = this.game;
                  ((this.canvas = x.canvas),
                    (this.fullscreen = x.device.fullscreen),
                    this.scaleMode !== A.SCALE_MODE.RESIZE &&
                      this.displaySize.setAspectMode(this.scaleMode),
                    this.scaleMode === A.SCALE_MODE.NONE
                      ? this.resize(this.width, this.height)
                      : (this.getParentBounds(),
                        this.parentSize.width > 0 &&
                          this.parentSize.height > 0 &&
                          this.displaySize.setParent(this.parentSize),
                        this.refresh()),
                    x.events.on(
                      n.PRE_STEP,
                      this.step,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    x.events.once(
                      n.READY,
                      this.refresh,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    x.events.once(
                      n.DESTROY,
                      this.destroy,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    this.startListeners());
                },
                parseConfig: function (x) {
                  (this.getParent(x), this.getParentBounds());
                  var g = x.width,
                    C = x.height,
                    T = x.scaleMode,
                    F = x.zoom,
                    w = x.autoRound;
                  if (typeof g == "string")
                    if (g.substr(-1) !== "%") g = parseInt(g, 10);
                    else {
                      var U = this.parentSize.width;
                      U === 0 && (U = window.innerWidth);
                      var M = parseInt(g, 10) / 100;
                      g = Math.floor(U * M);
                    }
                  if (typeof C == "string")
                    if (C.substr(-1) !== "%") C = parseInt(C, 10);
                    else {
                      var I = this.parentSize.height;
                      I === 0 && (I = window.innerHeight);
                      var O = parseInt(C, 10) / 100;
                      C = Math.floor(I * O);
                    }
                  ((this.scaleMode = T),
                    (this.autoRound = w),
                    (this.autoCenter = x.autoCenter),
                    (this.resizeInterval = x.resizeInterval),
                    w && ((g = Math.floor(g)), (C = Math.floor(C))),
                    this.gameSize.setSize(g, C),
                    F === A.ZOOM.MAX_ZOOM && (F = this.getMaxZoom()),
                    (this.zoom = F),
                    F !== 1 && (this._resetZoom = !0),
                    this.baseSize.setSize(g, C),
                    w &&
                      ((this.baseSize.width = Math.floor(this.baseSize.width)),
                      (this.baseSize.height = Math.floor(
                        this.baseSize.height,
                      ))),
                    x.minWidth > 0 &&
                      this.displaySize.setMin(x.minWidth * F, x.minHeight * F),
                    x.maxWidth > 0 &&
                      this.displaySize.setMax(x.maxWidth * F, x.maxHeight * F),
                    this.displaySize.setSize(g, C),
                    (this.orientation = u(g, C)));
                },
                getParent: function (x) {
                  var g = x.parent;
                  if (g !== null) {
                    if (
                      ((_____WB$wombat$check$this$function_____(this).parent =
                        s(g)),
                      (this.parentIsWindow =
                        _____WB$wombat$check$this$function_____(this).parent ===
                        document.body),
                      x.expandParent && x.scaleMode !== A.SCALE_MODE.NONE)
                    ) {
                      var C =
                        _____WB$wombat$check$this$function_____(
                          this,
                        ).parent.getBoundingClientRect();
                      (this.parentIsWindow || C.height === 0) &&
                        ((document.documentElement.style.height = "100%"),
                        (document.body.style.height = "100%"),
                        (C =
                          _____WB$wombat$check$this$function_____(
                            this,
                          ).parent.getBoundingClientRect()),
                        !this.parentIsWindow &&
                          C.height === 0 &&
                          ((_____WB$wombat$check$this$function_____(
                            this,
                          ).parent.style.overflow = "hidden"),
                          (_____WB$wombat$check$this$function_____(
                            this,
                          ).parent.style.width = "100%"),
                          (_____WB$wombat$check$this$function_____(
                            this,
                          ).parent.style.height = "100%")));
                    }
                    x.fullscreenTarget &&
                      !this.fullscreenTarget &&
                      (this.fullscreenTarget = s(x.fullscreenTarget));
                  }
                },
                getParentBounds: function () {
                  if (!_____WB$wombat$check$this$function_____(this).parent)
                    return !1;
                  var x = this.parentSize,
                    g =
                      _____WB$wombat$check$this$function_____(
                        this,
                      ).parent.getBoundingClientRect();
                  this.parentIsWindow &&
                    this.game.device.os.iOS &&
                    (g.height = e(!0));
                  var C = g.width,
                    T = g.height;
                  if (x.width !== C || x.height !== T)
                    return (x.setSize(C, T), !0);
                  if (this.canvas) {
                    var F = this.canvasBounds,
                      w = this.canvas.getBoundingClientRect();
                    if (w.x !== F.x || w.y !== F.y) return !0;
                  }
                  return !1;
                },
                lockOrientation: function (x) {
                  var g =
                    screen.lockOrientation ||
                    screen.mozLockOrientation ||
                    screen.msLockOrientation;
                  return g ? g.call(screen, x) : !1;
                },
                setParentSize: function (x, g) {
                  return (this.parentSize.setSize(x, g), this.refresh());
                },
                setGameSize: function (x, g) {
                  var C = this.autoRound;
                  C && ((x = Math.floor(x)), (g = Math.floor(g)));
                  var T = this.width,
                    F = this.height;
                  return (
                    this.gameSize.resize(x, g),
                    this.baseSize.resize(x, g),
                    C &&
                      ((this.baseSize.width = Math.floor(this.baseSize.width)),
                      (this.baseSize.height = Math.floor(
                        this.baseSize.height,
                      ))),
                    this.displaySize.setAspectRatio(x / g),
                    (this.canvas.width = this.baseSize.width),
                    (this.canvas.height = this.baseSize.height),
                    this.refresh(T, F)
                  );
                },
                resize: function (x, g) {
                  var C = this.zoom,
                    T = this.autoRound;
                  T && ((x = Math.floor(x)), (g = Math.floor(g)));
                  var F = this.width,
                    w = this.height;
                  (this.gameSize.resize(x, g),
                    this.baseSize.resize(x, g),
                    T &&
                      ((this.baseSize.width = Math.floor(this.baseSize.width)),
                      (this.baseSize.height = Math.floor(
                        this.baseSize.height,
                      ))),
                    this.displaySize.setSize(x * C, g * C),
                    (this.canvas.width = this.baseSize.width),
                    (this.canvas.height = this.baseSize.height));
                  var U = this.canvas.style,
                    M = x * C,
                    I = g * C;
                  return (
                    T && ((M = Math.floor(M)), (I = Math.floor(I))),
                    (M !== x || I !== g) &&
                      ((U.width = M + "px"), (U.height = I + "px")),
                    this.refresh(F, w)
                  );
                },
                setZoom: function (x) {
                  return (
                    (this.zoom = x),
                    (this._resetZoom = !0),
                    this.refresh()
                  );
                },
                setMaxZoom: function () {
                  return (
                    (this.zoom = this.getMaxZoom()),
                    (this._resetZoom = !0),
                    this.refresh()
                  );
                },
                refresh: function (x, g) {
                  (x === void 0 && (x = this.width),
                    g === void 0 && (g = this.height),
                    this.updateScale(),
                    this.updateBounds(),
                    this.updateOrientation(),
                    this.displayScale.set(
                      this.baseSize.width / this.canvasBounds.width,
                      this.baseSize.height / this.canvasBounds.height,
                    ));
                  var C = this.game.domContainer;
                  if (C) {
                    this.baseSize.setCSS(C);
                    var T = this.canvas.style,
                      F = C.style;
                    ((F.transform =
                      "scale(" +
                      this.displaySize.width / this.baseSize.width +
                      "," +
                      this.displaySize.height / this.baseSize.height +
                      ")"),
                      (F.marginLeft = T.marginLeft),
                      (F.marginTop = T.marginTop));
                  }
                  return (
                    this.emit(
                      r.RESIZE,
                      this.gameSize,
                      this.baseSize,
                      this.displaySize,
                      x,
                      g,
                    ),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                updateOrientation: function () {
                  if (this._checkOrientation) {
                    this._checkOrientation = !1;
                    var x = u(this.width, this.height);
                    x !== this.orientation &&
                      ((this.orientation = x),
                      this.emit(r.ORIENTATION_CHANGE, x));
                  }
                },
                updateScale: function () {
                  var x = this.canvas.style,
                    g = this.gameSize.width,
                    C = this.gameSize.height,
                    T,
                    F,
                    w = this.zoom,
                    U = this.autoRound;
                  (this.scaleMode === A.SCALE_MODE.NONE
                    ? (this.displaySize.setSize(g * w, C * w),
                      (T = this.displaySize.width),
                      (F = this.displaySize.height),
                      U && ((T = Math.floor(T)), (F = Math.floor(F))),
                      this._resetZoom &&
                        ((x.width = T + "px"),
                        (x.height = F + "px"),
                        (this._resetZoom = !1)))
                    : this.scaleMode === A.SCALE_MODE.RESIZE
                      ? (this.displaySize.setSize(
                          this.parentSize.width,
                          this.parentSize.height,
                        ),
                        this.gameSize.setSize(
                          this.displaySize.width,
                          this.displaySize.height,
                        ),
                        this.baseSize.setSize(
                          this.displaySize.width,
                          this.displaySize.height,
                        ),
                        (T = this.displaySize.width),
                        (F = this.displaySize.height),
                        U && ((T = Math.floor(T)), (F = Math.floor(F))),
                        (this.canvas.width = T),
                        (this.canvas.height = F))
                      : (this.displaySize.setSize(
                          this.parentSize.width,
                          this.parentSize.height,
                        ),
                        (T = this.displaySize.width),
                        (F = this.displaySize.height),
                        U && ((T = Math.floor(T)), (F = Math.floor(F))),
                        (x.width = T + "px"),
                        (x.height = F + "px")),
                    this.getParentBounds(),
                    this.updateCenter());
                },
                getMaxZoom: function () {
                  var x = l(this.parentSize.width, this.gameSize.width, 0, !0),
                    g = l(this.parentSize.height, this.gameSize.height, 0, !0);
                  return Math.max(Math.min(x, g), 1);
                },
                updateCenter: function () {
                  var x = this.autoCenter;
                  if (x !== A.CENTER.NO_CENTER) {
                    var g = this.canvas,
                      C = g.style,
                      T = g.getBoundingClientRect(),
                      F = T.width,
                      w = T.height,
                      U = Math.floor((this.parentSize.width - F) / 2),
                      M = Math.floor((this.parentSize.height - w) / 2);
                    (x === A.CENTER.CENTER_HORIZONTALLY
                      ? (M = 0)
                      : x === A.CENTER.CENTER_VERTICALLY && (U = 0),
                      (C.marginLeft = U + "px"),
                      (C.marginTop = M + "px"));
                  }
                },
                updateBounds: function () {
                  var x = this.canvasBounds,
                    g = this.canvas.getBoundingClientRect();
                  ((x.x =
                    g.left +
                    (window.pageXOffset || 0) -
                    (document.documentElement.clientLeft || 0)),
                    (x.y =
                      g.top +
                      (window.pageYOffset || 0) -
                      (document.documentElement.clientTop || 0)),
                    (x.width = g.width),
                    (x.height = g.height));
                },
                transformX: function (x) {
                  return (x - this.canvasBounds.left) * this.displayScale.x;
                },
                transformY: function (x) {
                  return (x - this.canvasBounds.top) * this.displayScale.y;
                },
                startFullscreen: function (x) {
                  x === void 0 && (x = { navigationUI: "hide" });
                  var g = this.fullscreen;
                  if (!g.available) {
                    this.emit(r.FULLSCREEN_UNSUPPORTED);
                    return;
                  }
                  if (!g.active) {
                    var C = this.getFullscreenTarget();
                    g.keyboard
                      ? C[g.request](Element.ALLOW_KEYBOARD_INPUT)
                      : C[g.request](x);
                  }
                },
                fullscreenSuccessHandler: function () {
                  (this.getParentBounds(),
                    this.refresh(),
                    this.emit(r.ENTER_FULLSCREEN));
                },
                fullscreenErrorHandler: function (x) {
                  (this.removeFullscreenTarget(),
                    this.emit(r.FULLSCREEN_FAILED, x));
                },
                getFullscreenTarget: function () {
                  if (!this.fullscreenTarget) {
                    var x = document.createElement("div");
                    ((x.style.margin = "0"),
                      (x.style.padding = "0"),
                      (x.style.width = "100%"),
                      (x.style.height = "100%"),
                      (this.fullscreenTarget = x),
                      (this._createdFullscreenTarget = !0));
                  }
                  if (this._createdFullscreenTarget) {
                    var g = this.canvas.parentNode;
                    (g.insertBefore(this.fullscreenTarget, this.canvas),
                      this.fullscreenTarget.appendChild(this.canvas));
                  }
                  return this.fullscreenTarget;
                },
                removeFullscreenTarget: function () {
                  if (this._createdFullscreenTarget) {
                    var x = this.fullscreenTarget;
                    if (x && x.parentNode) {
                      var g = x.parentNode;
                      (g.insertBefore(this.canvas, x), g.removeChild(x));
                    }
                  }
                },
                stopFullscreen: function () {
                  var x = this.fullscreen;
                  if (!x.available)
                    return (this.emit(r.FULLSCREEN_UNSUPPORTED), !1);
                  (x.active && document[x.cancel](),
                    this.removeFullscreenTarget(),
                    this.getParentBounds(),
                    this.emit(r.LEAVE_FULLSCREEN),
                    this.refresh());
                },
                toggleFullscreen: function (x) {
                  this.fullscreen.active
                    ? this.stopFullscreen()
                    : this.startFullscreen(x);
                },
                startListeners: function () {
                  var x = _____WB$wombat$check$this$function_____(this),
                    g = this.domlisteners;
                  if (
                    ((g.orientationChange = function () {
                      (x.updateBounds(),
                        (x._checkOrientation = !0),
                        (x.dirty = !0));
                    }),
                    (g.windowResize = function () {
                      (x.updateBounds(), (x.dirty = !0));
                    }),
                    window.addEventListener(
                      "orientationchange",
                      g.orientationChange,
                      !1,
                    ),
                    window.addEventListener("resize", g.windowResize, !1),
                    this.fullscreen.available)
                  ) {
                    ((g.fullScreenChange = function (T) {
                      return x.onFullScreenChange(T);
                    }),
                      (g.fullScreenError = function (T) {
                        return x.onFullScreenError(T);
                      }));
                    var C = ["webkit", "moz", ""];
                    (C.forEach(function (T) {
                      (document.addEventListener(
                        T + "fullscreenchange",
                        g.fullScreenChange,
                        !1,
                      ),
                        document.addEventListener(
                          T + "fullscreenerror",
                          g.fullScreenError,
                          !1,
                        ));
                    }),
                      document.addEventListener(
                        "MSFullscreenChange",
                        g.fullScreenChange,
                        !1,
                      ),
                      document.addEventListener(
                        "MSFullscreenError",
                        g.fullScreenError,
                        !1,
                      ));
                  }
                },
                onFullScreenChange: function () {
                  document.fullscreenElement ||
                  document.webkitFullscreenElement ||
                  document.msFullscreenElement ||
                  document.mozFullScreenElement
                    ? this.fullscreenSuccessHandler()
                    : this.stopFullscreen();
                },
                onFullScreenError: function () {
                  this.removeFullscreenTarget();
                },
                getViewPort: function (x, g) {
                  (x instanceof v || ((g = x), (x = void 0)),
                    g === void 0 && (g = new o()));
                  var C = this.baseSize,
                    T = this.parentSize,
                    F = this.canvasBounds,
                    w = this.displayScale,
                    U = F.x >= 0 ? 0 : -(F.x * w.x),
                    M = F.y >= 0 ? 0 : -(F.y * w.y),
                    I;
                  T.width >= F.width
                    ? (I = C.width)
                    : (I = C.width - (F.width - T.width) * w.x);
                  var O;
                  return (
                    T.height >= F.height
                      ? (O = C.height)
                      : (O = C.height - (F.height - T.height) * w.y),
                    g.setTo(U, M, I, O),
                    x &&
                      ((g.width /= x.zoomX),
                      (g.height /= x.zoomY),
                      (g.centerX = x.centerX + x.scrollX),
                      (g.centerY = x.centerY + x.scrollY)),
                    g
                  );
                },
                step: function (x, g) {
                  _____WB$wombat$check$this$function_____(this).parent &&
                    ((this._lastCheck += g),
                    (this.dirty || this._lastCheck > this.resizeInterval) &&
                      (this.getParentBounds() && this.refresh(),
                      (this.dirty = !1),
                      (this._lastCheck = 0)));
                },
                stopListeners: function () {
                  var x = this.domlisteners;
                  (window.removeEventListener(
                    "orientationchange",
                    x.orientationChange,
                    !1,
                  ),
                    window.removeEventListener("resize", x.windowResize, !1));
                  var g = ["webkit", "moz", ""];
                  (g.forEach(function (C) {
                    (document.removeEventListener(
                      C + "fullscreenchange",
                      x.fullScreenChange,
                      !1,
                    ),
                      document.removeEventListener(
                        C + "fullscreenerror",
                        x.fullScreenError,
                        !1,
                      ));
                  }),
                    document.removeEventListener(
                      "MSFullscreenChange",
                      x.fullScreenChange,
                      !1,
                    ),
                    document.removeEventListener(
                      "MSFullscreenError",
                      x.fullScreenError,
                      !1,
                    ));
                },
                destroy: function () {
                  (this.removeAllListeners(),
                    this.stopListeners(),
                    (this.game = null),
                    (this.canvas = null),
                    (this.canvasBounds = null),
                    (_____WB$wombat$check$this$function_____(this).parent =
                      null),
                    (this.fullscreenTarget = null),
                    this.parentSize.destroy(),
                    this.gameSize.destroy(),
                    this.baseSize.destroy(),
                    this.displaySize.destroy());
                },
                isFullscreen: {
                  get: function () {
                    return this.fullscreen.active;
                  },
                },
                width: {
                  get: function () {
                    return this.gameSize.width;
                  },
                },
                height: {
                  get: function () {
                    return this.gameSize.height;
                  },
                },
                isPortrait: {
                  get: function () {
                    return this.orientation === A.ORIENTATION.PORTRAIT;
                  },
                },
                isLandscape: {
                  get: function () {
                    return this.orientation === A.ORIENTATION.LANDSCAPE;
                  },
                },
                isGamePortrait: {
                  get: function () {
                    return this.height > this.width;
                  },
                },
                isGameLandscape: {
                  get: function () {
                    return this.width > this.height;
                  },
                },
              });
            d.exports = m;
          },
          35098: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              NO_CENTER: 0,
              CENTER_BOTH: 1,
              CENTER_HORIZONTALLY: 2,
              CENTER_VERTICALLY: 3,
            };
          },
          53539: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              LANDSCAPE: "landscape-primary",
              PORTRAIT: "portrait-primary",
            };
          },
          12637: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              NONE: 0,
              WIDTH_CONTROLS_HEIGHT: 1,
              HEIGHT_CONTROLS_WIDTH: 2,
              FIT: 3,
              ENVELOP: 4,
              RESIZE: 5,
            };
          },
          10217: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              NO_ZOOM: 1,
              ZOOM_2X: 2,
              ZOOM_4X: 4,
              MAX_ZOOM: -1,
            };
          },
          55301: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = {
              CENTER: t(35098),
              ORIENTATION: t(53539),
              SCALE_MODE: t(12637),
              ZOOM: t(10217),
            };
            d.exports = A;
          },
          82085: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "enterfullscreen";
          },
          11826: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "fullscreenfailed";
          },
          56691: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "fullscreenunsupported";
          },
          34739: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "leavefullscreen";
          },
          26681: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "orientationchange";
          },
          11428: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "resize";
          },
          40444: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              ENTER_FULLSCREEN: t(82085),
              FULLSCREEN_FAILED: t(11826),
              FULLSCREEN_UNSUPPORTED: t(56691),
              LEAVE_FULLSCREEN: t(34739),
              ORIENTATION_CHANGE: t(26681),
              RESIZE: t(11428),
            };
          },
          86754: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(98611),
              c = t(55301),
              a = {
                Center: t(35098),
                Events: t(40444),
                Orientation: t(53539),
                ScaleManager: t(756),
                ScaleModes: t(12637),
                Zoom: t(10217),
              };
            ((a = A(!1, a, c.CENTER)),
              (a = A(!1, a, c.ORIENTATION)),
              (a = A(!1, a, c.SCALE_MODE)),
              (a = A(!1, a, c.ZOOM)),
              (d.exports = a));
          },
          47736: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72632),
              c = t(40587),
              a = function (r) {
                var n = r.game.config.defaultPhysicsSystem,
                  e = A(r.settings, "physics", !1);
                if (!(!n && !e)) {
                  var s = [];
                  if ((n && s.push(c(n + "Physics")), e))
                    for (var u in e)
                      ((u = c(u.concat("Physics"))),
                        s.indexOf(u) === -1 && s.push(u));
                  return s;
                }
              };
            d.exports = a;
          },
          91088: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72632),
              c = function (a) {
                var r = a.plugins.getDefaultScenePlugins(),
                  n = A(a.settings, "plugins", !1);
                return Array.isArray(n) ? n : r || [];
              };
            d.exports = c;
          },
          90415: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              game: "game",
              renderer: "renderer",
              anims: "anims",
              cache: "cache",
              plugins: "plugins",
              registry: "registry",
              scale: "scale",
              sound: "sound",
              textures: "textures",
              events: "events",
              cameras: "cameras",
              add: "add",
              make: "make",
              scenePlugin: "scene",
              displayList: "children",
              lights: "lights",
              data: "data",
              input: "input",
              load: "load",
              time: "time",
              tweens: "tweens",
              arcadePhysics: "physics",
              impactPhysics: "impact",
              matterPhysics: "matter",
            };
            d.exports = y;
          },
          87157: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(63946),
              a = new A({
                initialize: function (n) {
                  ((this.sys = new c(this, n)),
                    this.game,
                    this.anims,
                    this.cache,
                    this.registry,
                    this.sound,
                    this.textures,
                    this.events,
                    this.cameras,
                    this.add,
                    this.make,
                    this.scene,
                    this.children,
                    this.lights,
                    this.data,
                    this.input,
                    this.load,
                    this.time,
                    this.tweens,
                    this.physics,
                    this.matter,
                    this.scale,
                    this.plugins,
                    this.renderer);
                },
                update: function () {},
              });
            d.exports = a;
          },
          13553: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(92980),
              a = t(7599),
              r = t(97081),
              n = t(10850),
              e = t(683),
              s = t(72283),
              u = t(87157),
              i = t(63946),
              o = new A({
                initialize: function (l, f) {
                  if (
                    ((this.game = l),
                    (this.keys = {}),
                    (this.scenes = []),
                    (this._pending = []),
                    (this._start = []),
                    (this._queue = []),
                    (this._data = {}),
                    (this.isProcessing = !1),
                    (this.isBooted = !1),
                    (this.customViewports = 0),
                    this.systemScene,
                    f)
                  ) {
                    Array.isArray(f) || (f = [f]);
                    for (var v = 0; v < f.length; v++)
                      this._pending.push({
                        key: "default",
                        scene: f[v],
                        autoStart: v === 0,
                        data: {},
                      });
                  }
                  l.events.once(
                    r.READY,
                    this.bootQueue,
                    _____WB$wombat$check$this$function_____(this),
                  );
                },
                bootQueue: function () {
                  if (!this.isBooted) {
                    ((this.systemScene = this.createSceneFromInstance(
                      "__SYSTEM",
                      new u(),
                    )),
                      this.game.events.emit(
                        r.SYSTEM_READY,
                        this.systemScene,
                        _____WB$wombat$check$this$function_____(this),
                      ));
                    var h, l, f, v;
                    for (h = 0; h < this._pending.length; h++) {
                      ((l = this._pending[h]), (f = l.key), (v = l.scene));
                      var m;
                      (v instanceof u
                        ? (m = this.createSceneFromInstance(f, v))
                        : typeof v == "object"
                          ? (m = this.createSceneFromObject(f, v))
                          : typeof v == "function" &&
                            (m = this.createSceneFromFunction(f, v)),
                        (f = m.sys.settings.key),
                        (this.keys[f] = m),
                        this.scenes.push(m),
                        this._data[f] &&
                          ((m.sys.settings.data = this._data[f].data),
                          this._data[f].autoStart && (l.autoStart = !0)),
                        (l.autoStart || m.sys.settings.active) &&
                          this._start.push(f));
                    }
                    for (
                      this._pending.length = 0,
                        this._data = {},
                        this.isBooted = !0,
                        h = 0;
                      h < this._start.length;
                      h++
                    )
                      ((l = this._start[h]), this.start(l));
                    this._start.length = 0;
                  }
                },
                processQueue: function () {
                  var h = this._pending.length,
                    l = this._queue.length;
                  if (!(h === 0 && l === 0)) {
                    var f, v;
                    if (h) {
                      for (f = 0; f < h; f++)
                        ((v = this._pending[f]),
                          this.add(v.key, v.scene, v.autoStart, v.data));
                      for (f = 0; f < this._start.length; f++)
                        ((v = this._start[f]), this.start(v));
                      ((this._start.length = 0), (this._pending.length = 0));
                    }
                    for (f = 0; f < this._queue.length; f++)
                      ((v = this._queue[f]),
                        _____WB$wombat$check$this$function_____(this)[v.op](
                          v.keyA,
                          v.keyB,
                        ));
                    this._queue.length = 0;
                  }
                },
                add: function (h, l, f, v) {
                  if (
                    (f === void 0 && (f = !1),
                    v === void 0 && (v = {}),
                    this.isProcessing || !this.isBooted)
                  )
                    return (
                      this._pending.push({
                        key: h,
                        scene: l,
                        autoStart: f,
                        data: v,
                      }),
                      this.isBooted || (this._data[h] = { data: v }),
                      null
                    );
                  h = this.getKey(h, l);
                  var m;
                  return (
                    l instanceof u
                      ? (m = this.createSceneFromInstance(h, l))
                      : typeof l == "object"
                        ? ((l.key = h), (m = this.createSceneFromObject(h, l)))
                        : typeof l == "function" &&
                          (m = this.createSceneFromFunction(h, l)),
                    (m.sys.settings.data = v),
                    (h = m.sys.settings.key),
                    (this.keys[h] = m),
                    this.scenes.push(m),
                    (f || m.sys.settings.active) &&
                      (this._pending.length
                        ? this._start.push(h)
                        : this.start(h)),
                    m
                  );
                },
                remove: function (h) {
                  if (this.isProcessing)
                    this._queue.push({ op: "remove", keyA: h, keyB: null });
                  else {
                    var l = this.getScene(h);
                    if (!l || l.sys.isTransitioning())
                      return _____WB$wombat$check$this$function_____(this);
                    var f = this.scenes.indexOf(l),
                      v = l.sys.settings.key;
                    f > -1 &&
                      (delete this.keys[v],
                      this.scenes.splice(f, 1),
                      this._start.indexOf(v) > -1 &&
                        ((f = this._start.indexOf(v)),
                        this._start.splice(f, 1)),
                      l.sys.destroy());
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                bootScene: function (h) {
                  var l = h.sys,
                    f = l.settings;
                  ((l.sceneUpdate = s),
                    h.init &&
                      (h.init.call(h, f.data),
                      (f.status = c.INIT),
                      f.isTransition &&
                        l.events.emit(
                          a.TRANSITION_INIT,
                          f.transitionFrom,
                          f.transitionDuration,
                        )));
                  var v;
                  (l.load && ((v = l.load), v.reset()),
                    v && h.preload
                      ? (h.preload.call(h),
                        (f.status = c.LOADING),
                        v.once(
                          e.COMPLETE,
                          this.loadComplete,
                          _____WB$wombat$check$this$function_____(this),
                        ),
                        v.start())
                      : this.create(h));
                },
                loadComplete: function (h) {
                  (this.game.sound &&
                    this.game.sound.onBlurPausedSounds &&
                    this.game.sound.unlock(),
                    this.create(h.scene));
                },
                payloadComplete: function (h) {
                  this.bootScene(h.scene);
                },
                update: function (h, l) {
                  (this.processQueue(), (this.isProcessing = !0));
                  for (var f = this.scenes.length - 1; f >= 0; f--) {
                    var v = this.scenes[f].sys;
                    (v.settings.status > c.START &&
                      v.settings.status <= c.RUNNING &&
                      v.step(h, l),
                      v.scenePlugin._target && v.scenePlugin.step(h, l));
                  }
                },
                render: function (h) {
                  for (var l = 0; l < this.scenes.length; l++) {
                    var f = this.scenes[l].sys;
                    f.settings.visible &&
                      f.settings.status >= c.LOADING &&
                      f.settings.status < c.SLEEPING &&
                      f.render(h);
                  }
                  this.isProcessing = !1;
                },
                create: function (h) {
                  var l = h.sys,
                    f = l.settings;
                  (h.create &&
                    ((f.status = c.CREATING),
                    h.create.call(h, f.data),
                    f.status === c.DESTROYED)) ||
                    (f.isTransition &&
                      l.events.emit(
                        a.TRANSITION_START,
                        f.transitionFrom,
                        f.transitionDuration,
                      ),
                    h.update && (l.sceneUpdate = h.update),
                    (f.status = c.RUNNING),
                    l.events.emit(a.CREATE, h));
                },
                createSceneFromFunction: function (h, l) {
                  var f = new l();
                  if (f instanceof u) {
                    var v = f.sys.settings.key;
                    if ((v !== "" && (h = v), this.keys.hasOwnProperty(h)))
                      throw new Error(
                        "Cannot add a Scene with duplicate key: " + h,
                      );
                    return this.createSceneFromInstance(h, f);
                  } else
                    return (
                      (f.sys = new i(f)),
                      (f.sys.settings.key = h),
                      f.sys.init(this.game),
                      f
                    );
                },
                createSceneFromInstance: function (h, l) {
                  var f = l.sys.settings.key;
                  return (
                    f === "" && (l.sys.settings.key = h),
                    l.sys.init(this.game),
                    l
                  );
                },
                createSceneFromObject: function (h, l) {
                  var f = new u(l),
                    v = f.sys.settings.key;
                  (v !== "" ? (h = v) : (f.sys.settings.key = h),
                    f.sys.init(this.game));
                  for (
                    var m = ["init", "preload", "create", "update", "render"],
                      x = 0;
                    x < m.length;
                    x++
                  ) {
                    var g = n(l, m[x], null);
                    g && (f[m[x]] = g);
                  }
                  if (l.hasOwnProperty("extend")) {
                    for (var C in l.extend)
                      if (l.extend.hasOwnProperty(C)) {
                        var T = l.extend[C];
                        C === "data" &&
                        f.hasOwnProperty("data") &&
                        typeof T == "object"
                          ? f.data.merge(T)
                          : C !== "sys" && (f[C] = T);
                      }
                  }
                  return f;
                },
                getKey: function (h, l) {
                  if ((h || (h = "default"), typeof l == "function")) return h;
                  if (
                    (l instanceof u
                      ? (h = l.sys.settings.key)
                      : typeof l == "object" &&
                        l.hasOwnProperty("key") &&
                        (h = l.key),
                    this.keys.hasOwnProperty(h))
                  )
                    throw new Error(
                      "Cannot add a Scene with duplicate key: " + h,
                    );
                  return h;
                },
                getScenes: function (h, l) {
                  (h === void 0 && (h = !0), l === void 0 && (l = !1));
                  for (var f = [], v = this.scenes, m = 0; m < v.length; m++) {
                    var x = v[m];
                    x && (!h || (h && x.sys.isActive())) && f.push(x);
                  }
                  return l ? f.reverse() : f;
                },
                getScene: function (h) {
                  if (typeof h == "string") {
                    if (this.keys[h]) return this.keys[h];
                  } else
                    for (var l = 0; l < this.scenes.length; l++)
                      if (h === this.scenes[l]) return h;
                  return null;
                },
                isActive: function (h) {
                  var l = this.getScene(h);
                  return l ? l.sys.isActive() : null;
                },
                isPaused: function (h) {
                  var l = this.getScene(h);
                  return l ? l.sys.isPaused() : null;
                },
                isVisible: function (h) {
                  var l = this.getScene(h);
                  return l ? l.sys.isVisible() : null;
                },
                isSleeping: function (h) {
                  var l = this.getScene(h);
                  return l ? l.sys.isSleeping() : null;
                },
                pause: function (h, l) {
                  var f = this.getScene(h);
                  return (
                    f && f.sys.pause(l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                resume: function (h, l) {
                  var f = this.getScene(h);
                  return (
                    f && f.sys.resume(l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                sleep: function (h, l) {
                  var f = this.getScene(h);
                  return (
                    f && !f.sys.isTransitioning() && f.sys.sleep(l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                wake: function (h, l) {
                  var f = this.getScene(h);
                  return (
                    f && f.sys.wake(l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                run: function (h, l) {
                  var f = this.getScene(h);
                  if (!f) {
                    for (var v = 0; v < this._pending.length; v++)
                      if (this._pending[v].key === h) {
                        this.queueOp("start", h, l);
                        break;
                      }
                    return _____WB$wombat$check$this$function_____(this);
                  }
                  f.sys.isSleeping()
                    ? f.sys.wake(l)
                    : f.sys.isPaused()
                      ? f.sys.resume(l)
                      : this.start(h, l);
                },
                start: function (h, l) {
                  if (!this.isBooted)
                    return (
                      (this._data[h] = { autoStart: !0, data: l }),
                      _____WB$wombat$check$this$function_____(this)
                    );
                  var f = this.getScene(h);
                  if (!f)
                    return (
                      console.warn("Scene not found for key: " + h),
                      _____WB$wombat$check$this$function_____(this)
                    );
                  var v = f.sys,
                    m = v.settings.status;
                  if (m >= c.START && m <= c.CREATING)
                    return _____WB$wombat$check$this$function_____(this);
                  if (m >= c.RUNNING && m <= c.SLEEPING)
                    (v.shutdown(), (v.sceneUpdate = s), v.start(l));
                  else {
                    ((v.sceneUpdate = s), v.start(l));
                    var x;
                    if (
                      (v.load && (x = v.load),
                      x &&
                        v.settings.hasOwnProperty("pack") &&
                        (x.reset(), x.addPack({ payload: v.settings.pack })))
                    )
                      return (
                        (v.settings.status = c.LOADING),
                        x.once(
                          e.COMPLETE,
                          this.payloadComplete,
                          _____WB$wombat$check$this$function_____(this),
                        ),
                        x.start(),
                        _____WB$wombat$check$this$function_____(this)
                      );
                  }
                  return (
                    this.bootScene(f),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                stop: function (h, l) {
                  var f = this.getScene(h);
                  if (
                    f &&
                    !f.sys.isTransitioning() &&
                    f.sys.settings.status !== c.SHUTDOWN
                  ) {
                    var v = f.sys.load;
                    (v &&
                      (v.off(
                        e.COMPLETE,
                        this.loadComplete,
                        _____WB$wombat$check$this$function_____(this),
                      ),
                      v.off(
                        e.COMPLETE,
                        this.payloadComplete,
                        _____WB$wombat$check$this$function_____(this),
                      )),
                      f.sys.shutdown(l));
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                switch: function (h, l) {
                  var f = this.getScene(h),
                    v = this.getScene(l);
                  return (
                    f &&
                      v &&
                      f !== v &&
                      (this.sleep(h),
                      this.isSleeping(l) ? this.wake(l) : this.start(l)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getAt: function (h) {
                  return this.scenes[h];
                },
                getIndex: function (h) {
                  var l = this.getScene(h);
                  return this.scenes.indexOf(l);
                },
                bringToTop: function (h) {
                  if (this.isProcessing)
                    this._queue.push({ op: "bringToTop", keyA: h, keyB: null });
                  else {
                    var l = this.getIndex(h);
                    if (l !== -1 && l < this.scenes.length) {
                      var f = this.getScene(h);
                      (this.scenes.splice(l, 1), this.scenes.push(f));
                    }
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                sendToBack: function (h) {
                  if (this.isProcessing)
                    this._queue.push({ op: "sendToBack", keyA: h, keyB: null });
                  else {
                    var l = this.getIndex(h);
                    if (l !== -1 && l > 0) {
                      var f = this.getScene(h);
                      (this.scenes.splice(l, 1), this.scenes.unshift(f));
                    }
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                moveDown: function (h) {
                  if (this.isProcessing)
                    this._queue.push({ op: "moveDown", keyA: h, keyB: null });
                  else {
                    var l = this.getIndex(h);
                    if (l > 0) {
                      var f = l - 1,
                        v = this.getScene(h),
                        m = this.getAt(f);
                      ((this.scenes[l] = m), (this.scenes[f] = v));
                    }
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                moveUp: function (h) {
                  if (this.isProcessing)
                    this._queue.push({ op: "moveUp", keyA: h, keyB: null });
                  else {
                    var l = this.getIndex(h);
                    if (l < this.scenes.length - 1) {
                      var f = l + 1,
                        v = this.getScene(h),
                        m = this.getAt(f);
                      ((this.scenes[l] = m), (this.scenes[f] = v));
                    }
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                moveAbove: function (h, l) {
                  if (h === l)
                    return _____WB$wombat$check$this$function_____(this);
                  if (this.isProcessing)
                    this._queue.push({ op: "moveAbove", keyA: h, keyB: l });
                  else {
                    var f = this.getIndex(h),
                      v = this.getIndex(l);
                    if (f !== -1 && v !== -1 && v < f) {
                      var m = this.getAt(v);
                      (this.scenes.splice(v, 1),
                        this.scenes.splice(f + (v > f), 0, m));
                    }
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                moveBelow: function (h, l) {
                  if (h === l)
                    return _____WB$wombat$check$this$function_____(this);
                  if (this.isProcessing)
                    this._queue.push({ op: "moveBelow", keyA: h, keyB: l });
                  else {
                    var f = this.getIndex(h),
                      v = this.getIndex(l);
                    if (f !== -1 && v !== -1 && v > f) {
                      var m = this.getAt(v);
                      (this.scenes.splice(v, 1),
                        f === 0
                          ? this.scenes.unshift(m)
                          : this.scenes.splice(f - (v < f), 0, m));
                    }
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                queueOp: function (h, l, f) {
                  return (
                    this._queue.push({ op: h, keyA: l, keyB: f }),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                swapPosition: function (h, l) {
                  if (h === l)
                    return _____WB$wombat$check$this$function_____(this);
                  if (this.isProcessing)
                    this._queue.push({ op: "swapPosition", keyA: h, keyB: l });
                  else {
                    var f = this.getIndex(h),
                      v = this.getIndex(l);
                    if (f !== v && f !== -1 && v !== -1) {
                      var m = this.getAt(f);
                      ((this.scenes[f] = this.scenes[v]), (this.scenes[v] = m));
                    }
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                dump: function () {
                  for (
                    var h = [],
                      l = [
                        "pending",
                        "init",
                        "start",
                        "loading",
                        "creating",
                        "running",
                        "paused",
                        "sleeping",
                        "shutdown",
                        "destroyed",
                      ],
                      f = 0;
                    f < this.scenes.length;
                    f++
                  ) {
                    var v = this.scenes[f].sys,
                      m =
                        v.settings.visible &&
                        (v.settings.status === c.RUNNING ||
                          v.settings.status === c.PAUSED)
                          ? "[*] "
                          : "[-] ";
                    ((m += v.settings.key + " (" + l[v.settings.status] + ")"),
                      h.push(m));
                  }
                  console.log(
                    h.join(`
`),
                  );
                },
                destroy: function () {
                  for (var h = 0; h < this.scenes.length; h++) {
                    var l = this.scenes[h].sys;
                    l.destroy();
                  }
                  (this.systemScene.sys.destroy(),
                    (this.update = s),
                    (this.scenes = []),
                    (this._pending = []),
                    (this._start = []),
                    (this._queue = []),
                    (this.game = null),
                    (this.systemScene = null));
                },
              });
            d.exports = o;
          },
          64051: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(82897),
              c = t(56694),
              a = t(7599),
              r = t(72632),
              n = t(91963),
              e = new c({
                initialize: function (u) {
                  ((this.scene = u),
                    (this.systems = u.sys),
                    (this.settings = u.sys.settings),
                    (this.key = u.sys.settings.key),
                    (this.manager = u.sys.game.scene),
                    (this.transitionProgress = 0),
                    (this._elapsed = 0),
                    (this._target = null),
                    (this._duration = 0),
                    this._onUpdate,
                    this._onUpdateScope,
                    (this._willSleep = !1),
                    (this._willRemove = !1),
                    u.sys.events.once(
                      a.BOOT,
                      this.boot,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    u.sys.events.on(
                      a.START,
                      this.pluginStart,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                boot: function () {
                  this.systems.events.once(
                    a.DESTROY,
                    this.destroy,
                    _____WB$wombat$check$this$function_____(this),
                  );
                },
                pluginStart: function () {
                  ((this._target = null),
                    this.systems.events.once(
                      a.SHUTDOWN,
                      this.shutdown,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                start: function (s, u) {
                  return (
                    s === void 0 && (s = this.key),
                    this.manager.queueOp("stop", this.key),
                    this.manager.queueOp("start", s, u),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                restart: function (s) {
                  var u = this.key;
                  return (
                    this.manager.queueOp("stop", u),
                    this.manager.queueOp("start", u, s),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                transition: function (s) {
                  s === void 0 && (s = {});
                  var u = r(s, "target", !1),
                    i = this.manager.getScene(u);
                  if (!u || !this.checkValidTransition(i)) return !1;
                  var o = r(s, "duration", 1e3);
                  ((this._elapsed = 0),
                    (this._target = i),
                    (this._duration = o),
                    (this._willSleep = r(s, "sleep", !1)),
                    (this._willRemove = r(s, "remove", !1)));
                  var h = r(s, "onUpdate", null);
                  h &&
                    ((this._onUpdate = h),
                    (this._onUpdateScope = r(s, "onUpdateScope", this.scene)));
                  var l = r(s, "allowInput", !1);
                  this.settings.transitionAllowInput = l;
                  var f = i.sys.settings;
                  ((f.isTransition = !0),
                    (f.transitionFrom = this.scene),
                    (f.transitionDuration = o),
                    (f.transitionAllowInput = l),
                    r(s, "moveAbove", !1)
                      ? this.manager.moveAbove(this.key, u)
                      : r(s, "moveBelow", !1) &&
                        this.manager.moveBelow(this.key, u),
                    i.sys.isSleeping()
                      ? i.sys.wake(r(s, "data"))
                      : this.manager.start(u, r(s, "data")));
                  var v = r(s, "onStart", null),
                    m = r(s, "onStartScope", this.scene);
                  return (
                    v && v.call(m, this.scene, i, o),
                    this.systems.events.emit(a.TRANSITION_OUT, i, o),
                    !0
                  );
                },
                checkValidTransition: function (s) {
                  return !(
                    !s ||
                    s.sys.isActive() ||
                    s.sys.isTransitioning() ||
                    s === this.scene ||
                    this.systems.isTransitioning()
                  );
                },
                step: function (s, u) {
                  ((this._elapsed += u),
                    (this.transitionProgress = A(
                      this._elapsed / this._duration,
                      0,
                      1,
                    )),
                    this._onUpdate &&
                      this._onUpdate.call(
                        this._onUpdateScope,
                        this.transitionProgress,
                      ),
                    this._elapsed >= this._duration &&
                      this.transitionComplete());
                },
                transitionComplete: function () {
                  var s = this._target.sys,
                    u = this._target.sys.settings;
                  (s.events.emit(a.TRANSITION_COMPLETE, this.scene),
                    (u.isTransition = !1),
                    (u.transitionFrom = null),
                    (this._duration = 0),
                    (this._target = null),
                    (this._onUpdate = null),
                    (this._onUpdateScope = null),
                    this._willRemove
                      ? this.manager.remove(this.key)
                      : this._willSleep
                        ? this.systems.sleep()
                        : this.manager.stop(this.key));
                },
                add: function (s, u, i, o) {
                  return this.manager.add(s, u, i, o);
                },
                launch: function (s, u) {
                  return (
                    s && s !== this.key && this.manager.queueOp("start", s, u),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                run: function (s, u) {
                  return (
                    s && s !== this.key && this.manager.queueOp("run", s, u),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                pause: function (s, u) {
                  return (
                    s === void 0 && (s = this.key),
                    this.manager.queueOp("pause", s, u),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                resume: function (s, u) {
                  return (
                    s === void 0 && (s = this.key),
                    this.manager.queueOp("resume", s, u),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                sleep: function (s, u) {
                  return (
                    s === void 0 && (s = this.key),
                    this.manager.queueOp("sleep", s, u),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                wake: function (s, u) {
                  return (
                    s === void 0 && (s = this.key),
                    this.manager.queueOp("wake", s, u),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                switch: function (s) {
                  return (
                    s !== this.key &&
                      this.manager.queueOp("switch", this.key, s),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                stop: function (s, u) {
                  return (
                    s === void 0 && (s = this.key),
                    this.manager.queueOp("stop", s, u),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setActive: function (s, u, i) {
                  u === void 0 && (u = this.key);
                  var o = this.manager.getScene(u);
                  return (
                    o && o.sys.setActive(s, i),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setVisible: function (s, u) {
                  u === void 0 && (u = this.key);
                  var i = this.manager.getScene(u);
                  return (
                    i && i.sys.setVisible(s),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                isSleeping: function (s) {
                  return (
                    s === void 0 && (s = this.key),
                    this.manager.isSleeping(s)
                  );
                },
                isActive: function (s) {
                  return (
                    s === void 0 && (s = this.key),
                    this.manager.isActive(s)
                  );
                },
                isPaused: function (s) {
                  return (
                    s === void 0 && (s = this.key),
                    this.manager.isPaused(s)
                  );
                },
                isVisible: function (s) {
                  return (
                    s === void 0 && (s = this.key),
                    this.manager.isVisible(s)
                  );
                },
                swapPosition: function (s, u) {
                  return (
                    u === void 0 && (u = this.key),
                    s !== u && this.manager.swapPosition(s, u),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                moveAbove: function (s, u) {
                  return (
                    u === void 0 && (u = this.key),
                    s !== u && this.manager.moveAbove(s, u),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                moveBelow: function (s, u) {
                  return (
                    u === void 0 && (u = this.key),
                    s !== u && this.manager.moveBelow(s, u),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                remove: function (s) {
                  return (
                    s === void 0 && (s = this.key),
                    this.manager.remove(s),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                moveUp: function (s) {
                  return (
                    s === void 0 && (s = this.key),
                    this.manager.moveUp(s),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                moveDown: function (s) {
                  return (
                    s === void 0 && (s = this.key),
                    this.manager.moveDown(s),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                bringToTop: function (s) {
                  return (
                    s === void 0 && (s = this.key),
                    this.manager.bringToTop(s),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                sendToBack: function (s) {
                  return (
                    s === void 0 && (s = this.key),
                    this.manager.sendToBack(s),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                get: function (s) {
                  return this.manager.getScene(s);
                },
                getStatus: function (s) {
                  var u = this.manager.getScene(s);
                  if (u) return u.sys.getStatus();
                },
                getIndex: function (s) {
                  return (
                    s === void 0 && (s = this.key),
                    this.manager.getIndex(s)
                  );
                },
                shutdown: function () {
                  var s = this.systems.events;
                  (s.off(
                    a.SHUTDOWN,
                    this.shutdown,
                    _____WB$wombat$check$this$function_____(this),
                  ),
                    s.off(a.TRANSITION_OUT));
                },
                destroy: function () {
                  (this.shutdown(),
                    this.scene.sys.events.off(
                      a.START,
                      this.start,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    (this.scene = null),
                    (this.systems = null),
                    (this.settings = null),
                    (this.manager = null));
                },
              });
            (n.register("ScenePlugin", e, "scenePlugin"), (d.exports = e));
          },
          36765: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(92980),
              c = t(10850),
              a = t(30657),
              r = t(90415),
              n = {
                create: function (e) {
                  return (
                    typeof e == "string"
                      ? (e = { key: e })
                      : e === void 0 && (e = {}),
                    {
                      status: A.PENDING,
                      key: c(e, "key", ""),
                      active: c(e, "active", !1),
                      visible: c(e, "visible", !0),
                      isBooted: !1,
                      isTransition: !1,
                      transitionFrom: null,
                      transitionDuration: 0,
                      transitionAllowInput: !0,
                      data: {},
                      pack: c(e, "pack", !1),
                      cameras: c(e, "cameras", null),
                      map: c(e, "map", a(r, c(e, "mapAdd", {}))),
                      physics: c(e, "physics", {}),
                      loader: c(e, "loader", {}),
                      plugins: c(e, "plugins", !1),
                      input: c(e, "input", {}),
                    }
                  );
                },
              };
            d.exports = n;
          },
          63946: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(92980),
              a = t(18360),
              r = t(7599),
              n = t(47736),
              e = t(91088),
              s = t(72283),
              u = t(36765),
              i = new A({
                initialize: function (h, l) {
                  ((this.scene = h),
                    this.game,
                    this.renderer,
                    (this.config = l),
                    (this.settings = u.create(l)),
                    this.canvas,
                    this.context,
                    this.anims,
                    this.cache,
                    this.plugins,
                    this.registry,
                    this.scale,
                    this.sound,
                    this.textures,
                    this.add,
                    this.cameras,
                    this.displayList,
                    this.events,
                    this.make,
                    this.scenePlugin,
                    this.updateList,
                    (this.sceneUpdate = s));
                },
                init: function (o) {
                  ((this.settings.status = c.INIT),
                    (this.sceneUpdate = s),
                    (this.game = o),
                    (this.renderer = o.renderer),
                    (this.canvas = o.canvas),
                    (this.context = o.context));
                  var h = o.plugins;
                  ((this.plugins = h),
                    h.addToScene(this, a.Global, [
                      a.CoreScene,
                      e(this),
                      n(this),
                    ]),
                    this.events.emit(
                      r.BOOT,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    (this.settings.isBooted = !0));
                },
                step: function (o, h) {
                  var l = this.events;
                  (l.emit(r.PRE_UPDATE, o, h),
                    l.emit(r.UPDATE, o, h),
                    this.sceneUpdate.call(this.scene, o, h),
                    l.emit(r.POST_UPDATE, o, h));
                },
                render: function (o) {
                  var h = this.displayList;
                  (h.depthSort(),
                    this.events.emit(r.PRE_RENDER, o),
                    this.cameras.render(o, h),
                    this.events.emit(r.RENDER, o));
                },
                queueDepthSort: function () {
                  this.displayList.queueDepthSort();
                },
                depthSort: function () {
                  this.displayList.depthSort();
                },
                pause: function (o) {
                  var h = this.settings,
                    l = this.getStatus();
                  return (
                    l !== c.CREATING && l !== c.RUNNING
                      ? console.warn("Cannot pause non-running Scene", h.key)
                      : this.settings.active &&
                        ((h.status = c.PAUSED),
                        (h.active = !1),
                        this.events.emit(
                          r.PAUSE,
                          _____WB$wombat$check$this$function_____(this),
                          o,
                        )),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                resume: function (o) {
                  var h = this.events,
                    l = this.settings;
                  return (
                    this.settings.active ||
                      ((l.status = c.RUNNING),
                      (l.active = !0),
                      h.emit(
                        r.RESUME,
                        _____WB$wombat$check$this$function_____(this),
                        o,
                      )),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                sleep: function (o) {
                  var h = this.settings,
                    l = this.getStatus();
                  return (
                    l !== c.CREATING && l !== c.RUNNING
                      ? console.warn("Cannot sleep non-running Scene", h.key)
                      : ((h.status = c.SLEEPING),
                        (h.active = !1),
                        (h.visible = !1),
                        this.events.emit(
                          r.SLEEP,
                          _____WB$wombat$check$this$function_____(this),
                          o,
                        )),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                wake: function (o) {
                  var h = this.events,
                    l = this.settings;
                  return (
                    (l.status = c.RUNNING),
                    (l.active = !0),
                    (l.visible = !0),
                    h.emit(
                      r.WAKE,
                      _____WB$wombat$check$this$function_____(this),
                      o,
                    ),
                    l.isTransition &&
                      h.emit(
                        r.TRANSITION_WAKE,
                        l.transitionFrom,
                        l.transitionDuration,
                      ),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getData: function () {
                  return this.settings.data;
                },
                getStatus: function () {
                  return this.settings.status;
                },
                canInput: function () {
                  var o = this.settings.status;
                  return o > c.PENDING && o <= c.RUNNING;
                },
                isSleeping: function () {
                  return this.settings.status === c.SLEEPING;
                },
                isActive: function () {
                  return this.settings.status === c.RUNNING;
                },
                isPaused: function () {
                  return this.settings.status === c.PAUSED;
                },
                isTransitioning: function () {
                  return (
                    this.settings.isTransition ||
                    this.scenePlugin._target !== null
                  );
                },
                isTransitionOut: function () {
                  return (
                    this.scenePlugin._target !== null &&
                    this.scenePlugin._duration > 0
                  );
                },
                isTransitionIn: function () {
                  return this.settings.isTransition;
                },
                isVisible: function () {
                  return this.settings.visible;
                },
                setVisible: function (o) {
                  return (
                    (this.settings.visible = o),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setActive: function (o, h) {
                  return o ? this.resume(h) : this.pause(h);
                },
                start: function (o) {
                  var h = this.events,
                    l = this.settings;
                  (o && (l.data = o),
                    (l.status = c.START),
                    (l.active = !0),
                    (l.visible = !0),
                    h.emit(
                      r.START,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    h.emit(
                      r.READY,
                      _____WB$wombat$check$this$function_____(this),
                      o,
                    ));
                },
                shutdown: function (o) {
                  var h = this.events,
                    l = this.settings;
                  (h.off(r.TRANSITION_INIT),
                    h.off(r.TRANSITION_START),
                    h.off(r.TRANSITION_COMPLETE),
                    h.off(r.TRANSITION_OUT),
                    (l.status = c.SHUTDOWN),
                    (l.active = !1),
                    (l.visible = !1),
                    h.emit(
                      r.SHUTDOWN,
                      _____WB$wombat$check$this$function_____(this),
                      o,
                    ));
                },
                destroy: function () {
                  var o = this.events,
                    h = this.settings;
                  ((h.status = c.DESTROYED),
                    (h.active = !1),
                    (h.visible = !1),
                    o.emit(
                      r.DESTROY,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    o.removeAllListeners());
                  for (
                    var l = [
                        "scene",
                        "game",
                        "anims",
                        "cache",
                        "plugins",
                        "registry",
                        "sound",
                        "textures",
                        "add",
                        "camera",
                        "displayList",
                        "events",
                        "make",
                        "scenePlugin",
                        "updateList",
                      ],
                      f = 0;
                    f < l.length;
                    f++
                  )
                    this[l[f]] = null;
                },
              });
            d.exports = i;
          },
          92980: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              PENDING: 0,
              INIT: 1,
              START: 2,
              LOADING: 3,
              CREATING: 4,
              RUNNING: 5,
              PAUSED: 6,
              SLEEPING: 7,
              SHUTDOWN: 8,
              DESTROYED: 9,
            };
            d.exports = y;
          },
          31803: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "addedtoscene";
          },
          94817: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "boot";
          },
          28977: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "create";
          },
          91959: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "destroy";
          },
          363: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "pause";
          },
          15643: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "postupdate";
          },
          17058: (d) => {
            /**
             * @author       samme
             * @copyright    2021 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "prerender";
          },
          77125: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "preupdate";
          },
          76018: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "ready";
          },
          28620: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "removedfromscene";
          },
          41538: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "render";
          },
          34268: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "resume";
          },
          2342: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "shutdown";
          },
          96541: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "sleep";
          },
          74244: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "start";
          },
          17046: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "transitioncomplete";
          },
          13637: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "transitioninit";
          },
          14733: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "transitionout";
          },
          33899: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "transitionstart";
          },
          52418: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "transitionwake";
          },
          31735: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "update";
          },
          8470: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "wake";
          },
          7599: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              ADDED_TO_SCENE: t(31803),
              BOOT: t(94817),
              CREATE: t(28977),
              DESTROY: t(91959),
              PAUSE: t(363),
              POST_UPDATE: t(15643),
              PRE_RENDER: t(17058),
              PRE_UPDATE: t(77125),
              READY: t(76018),
              REMOVED_FROM_SCENE: t(28620),
              RENDER: t(41538),
              RESUME: t(34268),
              SHUTDOWN: t(2342),
              SLEEP: t(96541),
              START: t(74244),
              TRANSITION_COMPLETE: t(17046),
              TRANSITION_INIT: t(13637),
              TRANSITION_OUT: t(14733),
              TRANSITION_START: t(33899),
              TRANSITION_WAKE: t(52418),
              UPDATE: t(31735),
              WAKE: t(8470),
            };
          },
          20436: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(92980),
              c = t(98611),
              a = {
                Events: t(7599),
                GetPhysicsPlugins: t(47736),
                GetScenePlugins: t(91088),
                SceneManager: t(13553),
                ScenePlugin: t(64051),
                Settings: t(36765),
                Systems: t(63946),
              };
            ((a = c(!1, a, A)), (d.exports = a));
          },
          25798: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @author       Pavle Goloskokovic <pgoloskokovic@gmail.com> (http://prunegames.com)
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(6659),
              a = t(76038),
              r = t(98611),
              n = t(72283),
              e = new A({
                Extends: c,
                initialize: function (u, i, o) {
                  (c.call(this),
                    (this.manager = u),
                    (this.key = i),
                    (this.isPlaying = !1),
                    (this.isPaused = !1),
                    (this.totalRate = 1),
                    (this.duration = this.duration || 0),
                    (this.totalDuration = this.totalDuration || 0),
                    (this.config = {
                      mute: !1,
                      volume: 1,
                      rate: 1,
                      detune: 0,
                      seek: 0,
                      loop: !1,
                      delay: 0,
                      pan: 0,
                    }),
                    (this.currentConfig = this.config),
                    (this.config = r(this.config, o)),
                    (this.markers = {}),
                    (this.currentMarker = null),
                    (this.pendingRemove = !1));
                },
                addMarker: function (s) {
                  return !s || !s.name || typeof s.name != "string"
                    ? !1
                    : this.markers[s.name]
                      ? (console.error(
                          "addMarker " + s.name + " already exists in Sound",
                        ),
                        !1)
                      : ((s = r(
                          !0,
                          {
                            name: "",
                            start: 0,
                            duration: this.totalDuration - (s.start || 0),
                            config: {
                              mute: !1,
                              volume: 1,
                              rate: 1,
                              detune: 0,
                              seek: 0,
                              loop: !1,
                              delay: 0,
                              pan: 0,
                            },
                          },
                          s,
                        )),
                        (this.markers[s.name] = s),
                        !0);
                },
                updateMarker: function (s) {
                  return !s || !s.name || typeof s.name != "string"
                    ? !1
                    : this.markers[s.name]
                      ? ((this.markers[s.name] = r(
                          !0,
                          this.markers[s.name],
                          s,
                        )),
                        !0)
                      : (console.warn(
                          "Audio Marker: " +
                            s.name +
                            " missing in Sound: " +
                            this.key,
                        ),
                        !1);
                },
                removeMarker: function (s) {
                  var u = this.markers[s];
                  return u ? ((this.markers[s] = null), u) : null;
                },
                play: function (s, u) {
                  if (
                    (s === void 0 && (s = ""),
                    typeof s == "object" && ((u = s), (s = "")),
                    typeof s != "string")
                  )
                    return !1;
                  if (!s)
                    ((this.currentMarker = null),
                      (this.currentConfig = this.config),
                      (this.duration = this.totalDuration));
                  else {
                    if (!this.markers[s])
                      return (
                        console.warn(
                          "Marker: " + s + " missing in Sound: " + this.key,
                        ),
                        !1
                      );
                    ((this.currentMarker = this.markers[s]),
                      (this.currentConfig = this.currentMarker.config),
                      (this.duration = this.currentMarker.duration));
                  }
                  return (
                    this.resetConfig(),
                    (this.currentConfig = r(this.currentConfig, u)),
                    (this.isPlaying = !0),
                    (this.isPaused = !1),
                    !0
                  );
                },
                pause: function () {
                  return this.isPaused || !this.isPlaying
                    ? !1
                    : ((this.isPlaying = !1), (this.isPaused = !0), !0);
                },
                resume: function () {
                  return !this.isPaused || this.isPlaying
                    ? !1
                    : ((this.isPlaying = !0), (this.isPaused = !1), !0);
                },
                stop: function () {
                  return !this.isPaused && !this.isPlaying
                    ? !1
                    : ((this.isPlaying = !1),
                      (this.isPaused = !1),
                      this.resetConfig(),
                      !0);
                },
                applyConfig: function () {
                  ((this.mute = this.currentConfig.mute),
                    (this.volume = this.currentConfig.volume),
                    (this.rate = this.currentConfig.rate),
                    (this.detune = this.currentConfig.detune),
                    (this.loop = this.currentConfig.loop),
                    (this.pan = this.currentConfig.pan));
                },
                resetConfig: function () {
                  ((this.currentConfig.seek = 0),
                    (this.currentConfig.delay = 0));
                },
                update: n,
                calculateRate: function () {
                  var s = 1.0005777895065548,
                    u = this.currentConfig.detune + this.manager.detune,
                    i = Math.pow(s, u);
                  this.totalRate =
                    this.currentConfig.rate * this.manager.rate * i;
                },
                destroy: function () {
                  this.pendingRemove ||
                    (this.stop(),
                    this.emit(
                      a.DESTROY,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    this.removeAllListeners(),
                    (this.pendingRemove = !0),
                    (this.manager = null),
                    (this.config = null),
                    (this.currentConfig = null),
                    (this.markers = null),
                    (this.currentMarker = null));
                },
              });
            d.exports = e;
          },
          12486: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @author       Pavle Goloskokovic <pgoloskokovic@gmail.com> (http://prunegames.com)
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(32742),
              a = t(6659),
              r = t(76038),
              n = t(97081),
              e = t(71608),
              s = t(51463),
              u = t(72283),
              i = t(93736),
              o = new A({
                Extends: a,
                initialize: function (l) {
                  (a.call(this),
                    (this.game = l),
                    (this.jsonCache = l.cache.json),
                    (this.sounds = []),
                    (this.mute = !1),
                    (this.volume = 1),
                    (this.pauseOnBlur = !0),
                    (this._rate = 1),
                    (this._detune = 0),
                    (this.locked = this.locked || !1),
                    (this.unlocked = !1),
                    (this.gameLostFocus = !1),
                    (this.listenerPosition = new i()),
                    l.events.on(
                      n.BLUR,
                      this.onGameBlur,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    l.events.on(
                      n.FOCUS,
                      this.onGameFocus,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    l.events.on(
                      n.PRE_STEP,
                      this.update,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    l.events.once(
                      n.DESTROY,
                      this.destroy,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                add: u,
                addAudioSprite: function (h, l) {
                  l === void 0 && (l = {});
                  var f = this.add(h, l);
                  f.spritemap = this.jsonCache.get(h).spritemap;
                  for (var v in f.spritemap)
                    if (f.spritemap.hasOwnProperty(v)) {
                      var m = c(l),
                        x = f.spritemap[v];
                      ((m.loop = x.hasOwnProperty("loop") ? x.loop : !1),
                        f.addMarker({
                          name: v,
                          start: x.start,
                          duration: x.end - x.start,
                          config: m,
                        }));
                    }
                  return f;
                },
                get: function (h) {
                  return s(this.sounds, "key", h);
                },
                getAll: function (h) {
                  return h ? e(this.sounds, "key", h) : e(this.sounds);
                },
                getAllPlaying: function () {
                  return e(this.sounds, "isPlaying", !0);
                },
                play: function (h, l) {
                  var f = this.add(h);
                  return (
                    f.once(r.COMPLETE, f.destroy, f),
                    l
                      ? l.name
                        ? (f.addMarker(l), f.play(l.name))
                        : f.play(l)
                      : f.play()
                  );
                },
                playAudioSprite: function (h, l, f) {
                  var v = this.addAudioSprite(h);
                  return (v.once(r.COMPLETE, v.destroy, v), v.play(l, f));
                },
                remove: function (h) {
                  var l = this.sounds.indexOf(h);
                  return l !== -1
                    ? (h.destroy(), this.sounds.splice(l, 1), !0)
                    : !1;
                },
                removeAll: function () {
                  (this.sounds.forEach(function (h) {
                    h.destroy();
                  }),
                    (this.sounds.length = 0));
                },
                removeByKey: function (h) {
                  for (var l = 0, f = this.sounds.length - 1; f >= 0; f--) {
                    var v = this.sounds[f];
                    v.key === h && (v.destroy(), this.sounds.splice(f, 1), l++);
                  }
                  return l;
                },
                pauseAll: function () {
                  (this.forEachActiveSound(function (h) {
                    h.pause();
                  }),
                    this.emit(
                      r.PAUSE_ALL,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                resumeAll: function () {
                  (this.forEachActiveSound(function (h) {
                    h.resume();
                  }),
                    this.emit(
                      r.RESUME_ALL,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                setListenerPosition: u,
                stopAll: function () {
                  (this.forEachActiveSound(function (h) {
                    h.stop();
                  }),
                    this.emit(
                      r.STOP_ALL,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                stopByKey: function (h) {
                  var l = 0;
                  return (
                    this.getAll(h).forEach(function (f) {
                      f.stop() && l++;
                    }),
                    l
                  );
                },
                unlock: u,
                onBlur: u,
                onFocus: u,
                onGameBlur: function () {
                  ((this.gameLostFocus = !0),
                    this.pauseOnBlur && this.onBlur());
                },
                onGameFocus: function () {
                  ((this.gameLostFocus = !1),
                    this.pauseOnBlur && this.onFocus());
                },
                update: function (h, l) {
                  this.unlocked &&
                    ((this.unlocked = !1),
                    (this.locked = !1),
                    this.emit(
                      r.UNLOCKED,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                  for (var f = this.sounds.length - 1; f >= 0; f--)
                    this.sounds[f].pendingRemove && this.sounds.splice(f, 1);
                  this.sounds.forEach(function (v) {
                    v.update(h, l);
                  });
                },
                destroy: function () {
                  (this.game.events.off(
                    n.BLUR,
                    this.onGameBlur,
                    _____WB$wombat$check$this$function_____(this),
                  ),
                    this.game.events.off(
                      n.FOCUS,
                      this.onGameFocus,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    this.game.events.off(
                      n.PRE_STEP,
                      this.update,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    this.removeAllListeners(),
                    this.removeAll(),
                    (this.sounds.length = 0),
                    (this.sounds = null),
                    (this.listenerPosition = null),
                    (this.game = null));
                },
                forEachActiveSound: function (h, l) {
                  var f = _____WB$wombat$check$this$function_____(this);
                  this.sounds.forEach(function (v, m) {
                    v && !v.pendingRemove && h.call(l || f, v, m, f.sounds);
                  });
                },
                setRate: function (h) {
                  return (
                    (this.rate = h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                rate: {
                  get: function () {
                    return this._rate;
                  },
                  set: function (h) {
                    ((this._rate = h),
                      this.forEachActiveSound(function (l) {
                        l.calculateRate();
                      }),
                      this.emit(
                        r.GLOBAL_RATE,
                        _____WB$wombat$check$this$function_____(this),
                        h,
                      ));
                  },
                },
                setDetune: function (h) {
                  return (
                    (this.detune = h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                detune: {
                  get: function () {
                    return this._detune;
                  },
                  set: function (h) {
                    ((this._detune = h),
                      this.forEachActiveSound(function (l) {
                        l.calculateRate();
                      }),
                      this.emit(
                        r.GLOBAL_DETUNE,
                        _____WB$wombat$check$this$function_____(this),
                        h,
                      ));
                  },
                },
              });
            d.exports = o;
          },
          84191: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @author       Pavle Goloskokovic <pgoloskokovic@gmail.com> (http://prunegames.com)
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(27622),
              c = t(17546),
              a = t(55491),
              r = {
                create: function (n) {
                  var e = n.config.audio,
                    s = n.device.audio;
                  return e.noAudio || (!s.webAudio && !s.audioData)
                    ? new c(n)
                    : s.webAudio && !e.disableWebAudio
                      ? new a(n)
                      : new A(n);
                },
              };
            d.exports = r;
          },
          77578: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "complete";
          },
          19679: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "decodedall";
          },
          56951: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "decoded";
          },
          16436: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "destroy";
          },
          55154: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "detune";
          },
          57818: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "detune";
          },
          57890: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "mute";
          },
          83022: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "rate";
          },
          99170: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "volume";
          },
          64289: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "looped";
          },
          67214: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "loop";
          },
          53128: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "mute";
          },
          73078: (d) => {
            /**
             * @author       pi-kei
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "pan";
          },
          76763: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "pauseall";
          },
          88426: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "pause";
          },
          13765: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "play";
          },
          80291: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "rate";
          },
          11124: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "resumeall";
          },
          55382: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "resume";
          },
          71157: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "seek";
          },
          31776: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "stopall";
          },
          39450: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "stop";
          },
          21939: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "unlocked";
          },
          33019: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "volume";
          },
          76038: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              COMPLETE: t(77578),
              DECODED: t(56951),
              DECODED_ALL: t(19679),
              DESTROY: t(16436),
              DETUNE: t(55154),
              GLOBAL_DETUNE: t(57818),
              GLOBAL_MUTE: t(57890),
              GLOBAL_RATE: t(83022),
              GLOBAL_VOLUME: t(99170),
              LOOP: t(67214),
              LOOPED: t(64289),
              MUTE: t(53128),
              PAN: t(73078),
              PAUSE_ALL: t(76763),
              PAUSE: t(88426),
              PLAY: t(13765),
              RATE: t(80291),
              RESUME_ALL: t(11124),
              RESUME: t(55382),
              SEEK: t(71157),
              STOP_ALL: t(31776),
              STOP: t(39450),
              UNLOCKED: t(21939),
              VOLUME: t(33019),
            };
          },
          34350: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @author       Pavle Goloskokovic <pgoloskokovic@gmail.com> (http://prunegames.com)
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(25798),
              c = t(56694),
              a = t(76038),
              r = t(82897),
              n = new c({
                Extends: A,
                initialize: function (s, u, i) {
                  if (
                    (i === void 0 && (i = {}),
                    (this.tags = s.game.cache.audio.get(u)),
                    !this.tags)
                  )
                    throw new Error('No cached audio asset with key "' + u);
                  ((this.audio = null),
                    (this.startTime = 0),
                    (this.previousTime = 0),
                    (this.duration = this.tags[0].duration),
                    (this.totalDuration = this.tags[0].duration),
                    A.call(this, s, u, i));
                },
                play: function (e, s) {
                  return this.manager.isLocked(this, "play", [e, s]) ||
                    !A.prototype.play.call(this, e, s) ||
                    !this.pickAndPlayAudioTag()
                    ? !1
                    : (this.emit(
                        a.PLAY,
                        _____WB$wombat$check$this$function_____(this),
                      ),
                      !0);
                },
                pause: function () {
                  return this.manager.isLocked(this, "pause") ||
                    this.startTime > 0 ||
                    !A.prototype.pause.call(this)
                    ? !1
                    : ((this.currentConfig.seek =
                        this.audio.currentTime -
                        (this.currentMarker ? this.currentMarker.start : 0)),
                      this.stopAndReleaseAudioTag(),
                      this.emit(
                        a.PAUSE,
                        _____WB$wombat$check$this$function_____(this),
                      ),
                      !0);
                },
                resume: function () {
                  return this.manager.isLocked(this, "resume") ||
                    this.startTime > 0 ||
                    !A.prototype.resume.call(this) ||
                    !this.pickAndPlayAudioTag()
                    ? !1
                    : (this.emit(
                        a.RESUME,
                        _____WB$wombat$check$this$function_____(this),
                      ),
                      !0);
                },
                stop: function () {
                  return this.manager.isLocked(this, "stop") ||
                    !A.prototype.stop.call(this)
                    ? !1
                    : (this.stopAndReleaseAudioTag(),
                      this.emit(
                        a.STOP,
                        _____WB$wombat$check$this$function_____(this),
                      ),
                      !0);
                },
                pickAndPlayAudioTag: function () {
                  if (!this.pickAudioTag()) return (this.reset(), !1);
                  var e = this.currentConfig.seek,
                    s = this.currentConfig.delay,
                    u = (this.currentMarker ? this.currentMarker.start : 0) + e;
                  return (
                    (this.previousTime = u),
                    (this.audio.currentTime = u),
                    this.applyConfig(),
                    s === 0
                      ? ((this.startTime = 0),
                        this.audio.paused && this.playCatchPromise())
                      : ((this.startTime = window.performance.now() + s * 1e3),
                        this.audio.paused || this.audio.pause()),
                    this.resetConfig(),
                    !0
                  );
                },
                pickAudioTag: function () {
                  if (this.audio) return !0;
                  for (var e = 0; e < this.tags.length; e++) {
                    var s = this.tags[e];
                    if (s.dataset.used === "false")
                      return ((s.dataset.used = "true"), (this.audio = s), !0);
                  }
                  if (!this.manager.override) return !1;
                  var u = [];
                  (this.manager.forEachActiveSound(function (o) {
                    o.key === this.key && o.audio && u.push(o);
                  }, _____WB$wombat$check$this$function_____(this)),
                    u.sort(function (o, h) {
                      return o.loop === h.loop
                        ? h.seek / h.duration - o.seek / o.duration
                        : o.loop
                          ? 1
                          : -1;
                    }));
                  var i = u[0];
                  return (
                    (this.audio = i.audio),
                    i.reset(),
                    (i.audio = null),
                    (i.startTime = 0),
                    (i.previousTime = 0),
                    !0
                  );
                },
                playCatchPromise: function () {
                  var e = this.audio.play();
                  e &&
                    e.catch(function (s) {
                      console.warn(s);
                    });
                },
                stopAndReleaseAudioTag: function () {
                  ((this.startTime = 0),
                    (this.previousTime = 0),
                    this.audio &&
                      (this.audio.pause(),
                      (this.audio.dataset.used = "false"),
                      (this.audio = null)));
                },
                reset: function () {
                  A.prototype.stop.call(this);
                },
                onBlur: function () {
                  ((this.isPlaying = !1),
                    (this.isPaused = !0),
                    (this.currentConfig.seek =
                      this.audio.currentTime -
                      (this.currentMarker ? this.currentMarker.start : 0)),
                    (this.currentConfig.delay = Math.max(
                      0,
                      (this.startTime - window.performance.now()) / 1e3,
                    )),
                    this.stopAndReleaseAudioTag());
                },
                onFocus: function () {
                  ((this.isPlaying = !0),
                    (this.isPaused = !1),
                    this.pickAndPlayAudioTag());
                },
                update: function (e) {
                  if (this.isPlaying) {
                    if (this.startTime > 0) {
                      this.startTime < e - this.manager.audioPlayDelay &&
                        ((this.audio.currentTime +=
                          Math.max(0, e - this.startTime) / 1e3),
                        (this.startTime = 0),
                        (this.previousTime = this.audio.currentTime),
                        this.playCatchPromise());
                      return;
                    }
                    var s = this.currentMarker ? this.currentMarker.start : 0,
                      u = s + this.duration,
                      i = this.audio.currentTime;
                    if (this.currentConfig.loop)
                      (i >= u - this.manager.loopEndOffset
                        ? ((this.audio.currentTime = s + Math.max(0, i - u)),
                          (i = this.audio.currentTime))
                        : i < s &&
                          ((this.audio.currentTime += s),
                          (i = this.audio.currentTime)),
                        i < this.previousTime &&
                          this.emit(
                            a.LOOPED,
                            _____WB$wombat$check$this$function_____(this),
                          ));
                    else if (i >= u) {
                      (this.reset(),
                        this.stopAndReleaseAudioTag(),
                        this.emit(
                          a.COMPLETE,
                          _____WB$wombat$check$this$function_____(this),
                        ));
                      return;
                    }
                    this.previousTime = i;
                  }
                },
                destroy: function () {
                  (A.prototype.destroy.call(this),
                    (this.tags = null),
                    this.audio && this.stopAndReleaseAudioTag());
                },
                updateMute: function () {
                  this.audio &&
                    (this.audio.muted =
                      this.currentConfig.mute || this.manager.mute);
                },
                updateVolume: function () {
                  this.audio &&
                    (this.audio.volume = r(
                      this.currentConfig.volume * this.manager.volume,
                      0,
                      1,
                    ));
                },
                calculateRate: function () {
                  (A.prototype.calculateRate.call(this),
                    this.audio && (this.audio.playbackRate = this.totalRate));
                },
                mute: {
                  get: function () {
                    return this.currentConfig.mute;
                  },
                  set: function (e) {
                    ((this.currentConfig.mute = e),
                      !this.manager.isLocked(this, "mute", e) &&
                        (this.updateMute(),
                        this.emit(
                          a.MUTE,
                          _____WB$wombat$check$this$function_____(this),
                          e,
                        )));
                  },
                },
                setMute: function (e) {
                  return (
                    (this.mute = e),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                volume: {
                  get: function () {
                    return this.currentConfig.volume;
                  },
                  set: function (e) {
                    ((this.currentConfig.volume = e),
                      !this.manager.isLocked(this, "volume", e) &&
                        (this.updateVolume(),
                        this.emit(
                          a.VOLUME,
                          _____WB$wombat$check$this$function_____(this),
                          e,
                        )));
                  },
                },
                setVolume: function (e) {
                  return (
                    (this.volume = e),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                rate: {
                  get: function () {
                    return this.currentConfig.rate;
                  },
                  set: function (e) {
                    ((this.currentConfig.rate = e),
                      !this.manager.isLocked(this, a.RATE, e) &&
                        (this.calculateRate(),
                        this.emit(
                          a.RATE,
                          _____WB$wombat$check$this$function_____(this),
                          e,
                        )));
                  },
                },
                setRate: function (e) {
                  return (
                    (this.rate = e),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                detune: {
                  get: function () {
                    return this.currentConfig.detune;
                  },
                  set: function (e) {
                    ((this.currentConfig.detune = e),
                      !this.manager.isLocked(this, a.DETUNE, e) &&
                        (this.calculateRate(),
                        this.emit(
                          a.DETUNE,
                          _____WB$wombat$check$this$function_____(this),
                          e,
                        )));
                  },
                },
                setDetune: function (e) {
                  return (
                    (this.detune = e),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                seek: {
                  get: function () {
                    return this.isPlaying
                      ? this.audio.currentTime -
                          (this.currentMarker ? this.currentMarker.start : 0)
                      : this.isPaused
                        ? this.currentConfig.seek
                        : 0;
                  },
                  set: function (e) {
                    this.manager.isLocked(this, "seek", e) ||
                      this.startTime > 0 ||
                      ((this.isPlaying || this.isPaused) &&
                        ((e = Math.min(Math.max(0, e), this.duration)),
                        this.isPlaying
                          ? ((this.previousTime = e),
                            (this.audio.currentTime = e))
                          : this.isPaused && (this.currentConfig.seek = e),
                        this.emit(
                          a.SEEK,
                          _____WB$wombat$check$this$function_____(this),
                          e,
                        )));
                  },
                },
                setSeek: function (e) {
                  return (
                    (this.seek = e),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                loop: {
                  get: function () {
                    return this.currentConfig.loop;
                  },
                  set: function (e) {
                    ((this.currentConfig.loop = e),
                      !this.manager.isLocked(this, "loop", e) &&
                        (this.audio && (this.audio.loop = e),
                        this.emit(
                          a.LOOP,
                          _____WB$wombat$check$this$function_____(this),
                          e,
                        )));
                  },
                },
                setLoop: function (e) {
                  return (
                    (this.loop = e),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                pan: {
                  get: function () {
                    return this.currentConfig.pan;
                  },
                  set: function (e) {
                    ((this.currentConfig.pan = e),
                      this.emit(
                        a.PAN,
                        _____WB$wombat$check$this$function_____(this),
                        e,
                      ));
                  },
                },
                setPan: function (e) {
                  return (
                    (this.pan = e),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
              });
            d.exports = n;
          },
          27622: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @author       Pavle Goloskokovic <pgoloskokovic@gmail.com> (http://prunegames.com)
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(12486),
              c = t(56694),
              a = t(76038),
              r = t(34350),
              n = new c({
                Extends: A,
                initialize: function (s) {
                  ((this.override = !0),
                    (this.audioPlayDelay = 0.1),
                    (this.loopEndOffset = 0.05),
                    (this.onBlurPausedSounds = []),
                    (this.locked = "ontouchstart" in window),
                    (this.lockedActionsQueue = this.locked ? [] : null),
                    (this._mute = !1),
                    (this._volume = 1),
                    A.call(this, s));
                },
                add: function (e, s) {
                  var u = new r(this, e, s);
                  return (this.sounds.push(u), u);
                },
                unlock: function () {
                  this.locked = !1;
                  var e = _____WB$wombat$check$this$function_____(this);
                  if (
                    (this.game.cache.audio.entries.each(function (o, h) {
                      for (var l = 0; l < h.length; l++)
                        if (h[l].dataset.locked === "true")
                          return ((e.locked = !0), !1);
                      return !0;
                    }),
                    !!this.locked)
                  ) {
                    var s = !1,
                      u = function () {
                        s = !0;
                      },
                      i = function () {
                        if (s) {
                          s = !1;
                          return;
                        }
                        (document.body.removeEventListener("touchmove", u),
                          document.body.removeEventListener("touchend", i));
                        var o = [];
                        if (
                          (e.game.cache.audio.entries.each(function (l, f) {
                            for (var v = 0; v < f.length; v++) {
                              var m = f[v];
                              m.dataset.locked === "true" && o.push(m);
                            }
                            return !0;
                          }),
                          o.length !== 0)
                        ) {
                          var h = o[o.length - 1];
                          ((h.oncanplaythrough = function () {
                            ((h.oncanplaythrough = null),
                              o.forEach(function (l) {
                                l.dataset.locked = "false";
                              }),
                              (e.unlocked = !0));
                          }),
                            o.forEach(function (l) {
                              l.load();
                            }));
                        }
                      };
                    (this.once(
                      a.UNLOCKED,
                      function () {
                        for (
                          this.forEachActiveSound(function (h) {
                            (h.currentMarker === null &&
                              h.duration === 0 &&
                              (h.duration = h.tags[0].duration),
                              (h.totalDuration = h.tags[0].duration));
                          });
                          this.lockedActionsQueue.length;
                        ) {
                          var o = this.lockedActionsQueue.shift();
                          o.sound[o.prop].apply
                            ? o.sound[o.prop].apply(o.sound, o.value || [])
                            : (o.sound[o.prop] = o.value);
                        }
                      },
                      _____WB$wombat$check$this$function_____(this),
                    ),
                      document.body.addEventListener("touchmove", u, !1),
                      document.body.addEventListener("touchend", i, !1));
                  }
                },
                onBlur: function () {
                  this.forEachActiveSound(function (e) {
                    e.isPlaying &&
                      (this.onBlurPausedSounds.push(e), e.onBlur());
                  });
                },
                onFocus: function () {
                  (this.onBlurPausedSounds.forEach(function (e) {
                    e.onFocus();
                  }),
                    (this.onBlurPausedSounds.length = 0));
                },
                destroy: function () {
                  (A.prototype.destroy.call(this),
                    (this.onBlurPausedSounds.length = 0),
                    (this.onBlurPausedSounds = null));
                },
                isLocked: function (e, s, u) {
                  return e.tags[0].dataset.locked === "true"
                    ? (this.lockedActionsQueue.push({
                        sound: e,
                        prop: s,
                        value: u,
                      }),
                      !0)
                    : !1;
                },
                setMute: function (e) {
                  return (
                    (this.mute = e),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                mute: {
                  get: function () {
                    return this._mute;
                  },
                  set: function (e) {
                    ((this._mute = e),
                      this.forEachActiveSound(function (s) {
                        s.updateMute();
                      }),
                      this.emit(
                        a.GLOBAL_MUTE,
                        _____WB$wombat$check$this$function_____(this),
                        e,
                      ));
                  },
                },
                setVolume: function (e) {
                  return (
                    (this.volume = e),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                volume: {
                  get: function () {
                    return this._volume;
                  },
                  set: function (e) {
                    ((this._volume = e),
                      this.forEachActiveSound(function (s) {
                        s.updateVolume();
                      }),
                      this.emit(
                        a.GLOBAL_VOLUME,
                        _____WB$wombat$check$this$function_____(this),
                        e,
                      ));
                  },
                },
              });
            d.exports = n;
          },
          56751: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @author       Pavle Goloskokovic <pgoloskokovic@gmail.com> (http://prunegames.com)
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              SoundManagerCreator: t(84191),
              Events: t(76038),
              BaseSound: t(25798),
              BaseSoundManager: t(12486),
              WebAudioSound: t(96008),
              WebAudioSoundManager: t(55491),
              HTML5AudioSound: t(34350),
              HTML5AudioSoundManager: t(27622),
              NoAudioSound: t(38662),
              NoAudioSoundManager: t(17546),
            };
          },
          38662: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @author       Pavle Goloskokovic <pgoloskokovic@gmail.com> (http://prunegames.com)
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(25798),
              c = t(56694),
              a = t(6659),
              r = t(98611),
              n = t(72283),
              e = function () {
                return !1;
              },
              s = function () {
                return null;
              },
              u = function () {
                return _____WB$wombat$check$this$function_____(this);
              },
              i = new c({
                Extends: a,
                initialize: function (h, l, f) {
                  (f === void 0 && (f = {}),
                    a.call(this),
                    (this.manager = h),
                    (this.key = l),
                    (this.isPlaying = !1),
                    (this.isPaused = !1),
                    (this.totalRate = 1),
                    (this.duration = 0),
                    (this.totalDuration = 0),
                    (this.config = r(
                      {
                        mute: !1,
                        volume: 1,
                        rate: 1,
                        detune: 0,
                        seek: 0,
                        loop: !1,
                        delay: 0,
                        pan: 0,
                      },
                      f,
                    )),
                    (this.currentConfig = this.config),
                    (this.mute = !1),
                    (this.volume = 1),
                    (this.rate = 1),
                    (this.detune = 0),
                    (this.seek = 0),
                    (this.loop = !1),
                    (this.pan = 0),
                    (this.markers = {}),
                    (this.currentMarker = null),
                    (this.pendingRemove = !1));
                },
                addMarker: e,
                updateMarker: e,
                removeMarker: s,
                play: e,
                pause: e,
                resume: e,
                stop: e,
                setMute: u,
                setVolume: u,
                setRate: u,
                setDetune: u,
                setSeek: u,
                setLoop: u,
                setPan: u,
                applyConfig: s,
                resetConfig: s,
                update: n,
                calculateRate: s,
                destroy: function () {
                  A.prototype.destroy.call(this);
                },
              });
            d.exports = i;
          },
          17546: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @author       Pavle Goloskokovic <pgoloskokovic@gmail.com> (http://prunegames.com)
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(12486),
              c = t(56694),
              a = t(6659),
              r = t(38662),
              n = t(72283),
              e = new c({
                Extends: a,
                initialize: function (u) {
                  (a.call(this),
                    (this.game = u),
                    (this.sounds = []),
                    (this.mute = !1),
                    (this.volume = 1),
                    (this.rate = 1),
                    (this.detune = 0),
                    (this.pauseOnBlur = !0),
                    (this.locked = !1));
                },
                add: function (s, u) {
                  var i = new r(this, s, u);
                  return (this.sounds.push(i), i);
                },
                addAudioSprite: function (s, u) {
                  var i = this.add(s, u);
                  return ((i.spritemap = {}), i);
                },
                get: function (s) {
                  return A.prototype.get.call(this, s);
                },
                getAll: function (s) {
                  return A.prototype.getAll.call(this, s);
                },
                play: function (s, u) {
                  return !1;
                },
                playAudioSprite: function (s, u, i) {
                  return !1;
                },
                remove: function (s) {
                  return A.prototype.remove.call(this, s);
                },
                removeAll: function () {
                  return A.prototype.removeAll.call(this);
                },
                removeByKey: function (s) {
                  return A.prototype.removeByKey.call(this, s);
                },
                stopByKey: function (s) {
                  return A.prototype.stopByKey.call(this, s);
                },
                onBlur: n,
                onFocus: n,
                onGameBlur: n,
                onGameFocus: n,
                pauseAll: n,
                resumeAll: n,
                stopAll: n,
                update: n,
                setRate: n,
                setDetune: n,
                setMute: n,
                setVolume: n,
                unlock: n,
                forEachActiveSound: function (s, u) {
                  A.prototype.forEachActiveSound.call(this, s, u);
                },
                destroy: function () {
                  A.prototype.destroy.call(this);
                },
              });
            d.exports = e;
          },
          96008: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @author       Pavle Goloskokovic <pgoloskokovic@gmail.com> (http://prunegames.com)
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(25798),
              c = t(56694),
              a = t(76038),
              r = t(72632),
              n = new c({
                Extends: A,
                initialize: function (s, u, i) {
                  if (
                    (i === void 0 && (i = {}),
                    (this.audioBuffer = s.game.cache.audio.get(u)),
                    !this.audioBuffer)
                  )
                    throw new Error('Audio key "' + u + '" missing from cache');
                  ((this.source = null),
                    (this.loopSource = null),
                    (this.muteNode = s.context.createGain()),
                    (this.volumeNode = s.context.createGain()),
                    (this.pannerNode = null),
                    (this.spatialNode = null),
                    (this.spatialSource = null),
                    (this.playTime = 0),
                    (this.startTime = 0),
                    (this.loopTime = 0),
                    (this.rateUpdates = []),
                    (this.hasEnded = !1),
                    (this.hasLooped = !1),
                    this.muteNode.connect(this.volumeNode),
                    s.context.createPanner &&
                      ((this.spatialNode = s.context.createPanner()),
                      this.volumeNode.connect(this.spatialNode)),
                    s.context.createStereoPanner
                      ? ((this.pannerNode = s.context.createStereoPanner()),
                        s.context.createPanner
                          ? this.spatialNode.connect(this.pannerNode)
                          : this.volumeNode.connect(this.pannerNode),
                        this.pannerNode.connect(s.destination))
                      : s.context.createPanner
                        ? this.spatialNode.connect(s.destination)
                        : this.volumeNode.connect(s.destination),
                    (this.duration = this.audioBuffer.duration),
                    (this.totalDuration = this.audioBuffer.duration),
                    A.call(this, s, u, i));
                },
                play: function (e, s) {
                  return A.prototype.play.call(this, e, s)
                    ? (this.stopAndRemoveBufferSource(),
                      this.createAndStartBufferSource(),
                      this.emit(
                        a.PLAY,
                        _____WB$wombat$check$this$function_____(this),
                      ),
                      !0)
                    : !1;
                },
                pause: function () {
                  return this.manager.context.currentTime < this.startTime ||
                    !A.prototype.pause.call(this)
                    ? !1
                    : ((this.currentConfig.seek = this.getCurrentTime()),
                      this.stopAndRemoveBufferSource(),
                      this.emit(
                        a.PAUSE,
                        _____WB$wombat$check$this$function_____(this),
                      ),
                      !0);
                },
                resume: function () {
                  return this.manager.context.currentTime < this.startTime ||
                    !A.prototype.resume.call(this)
                    ? !1
                    : (this.createAndStartBufferSource(),
                      this.emit(
                        a.RESUME,
                        _____WB$wombat$check$this$function_____(this),
                      ),
                      !0);
                },
                stop: function () {
                  return A.prototype.stop.call(this)
                    ? (this.stopAndRemoveBufferSource(),
                      this.emit(
                        a.STOP,
                        _____WB$wombat$check$this$function_____(this),
                      ),
                      !0)
                    : !1;
                },
                createAndStartBufferSource: function () {
                  var e = this.currentConfig.seek,
                    s = this.currentConfig.delay,
                    u = this.manager.context.currentTime + s,
                    i = (this.currentMarker ? this.currentMarker.start : 0) + e,
                    o = this.duration - e;
                  ((this.playTime = u - e),
                    (this.startTime = u),
                    (this.source = this.createBufferSource()),
                    this.applyConfig(),
                    this.source.start(
                      Math.max(0, u),
                      Math.max(0, i),
                      Math.max(0, o),
                    ),
                    this.resetConfig());
                },
                createAndStartLoopBufferSource: function () {
                  var e = this.getLoopTime(),
                    s = this.currentMarker ? this.currentMarker.start : 0,
                    u = this.duration;
                  ((this.loopTime = e),
                    (this.loopSource = this.createBufferSource()),
                    this.loopSource.playbackRate.setValueAtTime(
                      this.totalRate,
                      0,
                    ),
                    this.loopSource.start(
                      Math.max(0, e),
                      Math.max(0, s),
                      Math.max(0, u),
                    ));
                },
                createBufferSource: function () {
                  var e = _____WB$wombat$check$this$function_____(this),
                    s = this.manager.context.createBufferSource();
                  return (
                    (s.buffer = this.audioBuffer),
                    s.connect(this.muteNode),
                    (s.onended = function (u) {
                      u.target === e.source &&
                        (e.currentConfig.loop
                          ? (e.hasLooped = !0)
                          : (e.hasEnded = !0));
                    }),
                    s
                  );
                },
                stopAndRemoveBufferSource: function () {
                  (this.source &&
                    (this.source.stop(),
                    this.source.disconnect(),
                    (this.source = null)),
                    (this.playTime = 0),
                    (this.startTime = 0),
                    this.stopAndRemoveLoopBufferSource());
                },
                stopAndRemoveLoopBufferSource: function () {
                  (this.loopSource &&
                    (this.loopSource.stop(),
                    this.loopSource.disconnect(),
                    (this.loopSource = null)),
                    (this.loopTime = 0));
                },
                applyConfig: function () {
                  ((this.rateUpdates.length = 0),
                    this.rateUpdates.push({ time: 0, rate: 1 }));
                  var e = this.currentConfig.source;
                  if (e && this.manager.context.createPanner) {
                    var s = this.spatialNode;
                    ((s.panningModel = r(e, "panningModel", "equalpower")),
                      (s.distanceModel = r(e, "distanceModel", "inverse")),
                      (s.orientationX.value = r(e, "orientationX", 0)),
                      (s.orientationY.value = r(e, "orientationY", 0)),
                      (s.orientationZ.value = r(e, "orientationZ", -1)),
                      (s.refDistance = r(e, "refDistance", 1)),
                      (s.maxDistance = r(e, "maxDistance", 1e4)),
                      (s.rolloffFactor = r(e, "rolloffFactor", 1)),
                      (s.coneInnerAngle = r(e, "coneInnerAngle", 360)),
                      (s.coneOuterAngle = r(e, "coneOuterAngle", 0)),
                      (s.coneOuterGain = r(e, "coneOuterGain", 0)),
                      (this.spatialSource = r(e, "follow", null)),
                      this.spatialSource ||
                        ((s.positionX.value = r(e, "x", 0)),
                        (s.positionY.value = r(e, "y", 0)),
                        (s.positionZ.value = r(e, "z", 0))));
                  }
                  A.prototype.applyConfig.call(this);
                },
                x: {
                  get: function () {
                    return this.spatialNode ? this.spatialNode.positionX : 0;
                  },
                  set: function (e) {
                    this.spatialNode && (this.spatialNode.positionX.value = e);
                  },
                },
                y: {
                  get: function () {
                    return this.spatialNode ? this.spatialNode.positionY : 0;
                  },
                  set: function (e) {
                    this.spatialNode && (this.spatialNode.positionY.value = e);
                  },
                },
                update: function () {
                  if (this.isPlaying && this.spatialSource) {
                    var e = r(this.spatialSource, "x", null),
                      s = r(this.spatialSource, "y", null);
                    (e &&
                      e !== this._spatialx &&
                      (this._spatialx = this.spatialNode.positionX.value = e),
                      s &&
                        s !== this._spatialy &&
                        (this._spatialy = this.spatialNode.positionY.value =
                          s));
                  }
                  this.hasEnded
                    ? ((this.hasEnded = !1),
                      A.prototype.stop.call(this),
                      this.stopAndRemoveBufferSource(),
                      this.emit(
                        a.COMPLETE,
                        _____WB$wombat$check$this$function_____(this),
                      ))
                    : this.hasLooped &&
                      ((this.hasLooped = !1),
                      (this.source = this.loopSource),
                      (this.loopSource = null),
                      (this.playTime = this.startTime = this.loopTime),
                      (this.rateUpdates.length = 0),
                      this.rateUpdates.push({ time: 0, rate: this.totalRate }),
                      this.createAndStartLoopBufferSource(),
                      this.emit(
                        a.LOOPED,
                        _____WB$wombat$check$this$function_____(this),
                      ));
                },
                destroy: function () {
                  this.pendingRemove ||
                    (A.prototype.destroy.call(this),
                    (this.audioBuffer = null),
                    this.stopAndRemoveBufferSource(),
                    this.muteNode.disconnect(),
                    (this.muteNode = null),
                    this.volumeNode.disconnect(),
                    (this.volumeNode = null),
                    this.pannerNode &&
                      (this.pannerNode.disconnect(), (this.pannerNode = null)),
                    this.spatialNode &&
                      (this.spatialNode.disconnect(),
                      (this.spatialNode = null),
                      (this.spatialSource = null)),
                    (this.rateUpdates.length = 0),
                    (this.rateUpdates = null));
                },
                calculateRate: function () {
                  A.prototype.calculateRate.call(this);
                  var e = this.manager.context.currentTime;
                  (this.source &&
                    typeof this.totalRate == "number" &&
                    this.source.playbackRate.setValueAtTime(this.totalRate, e),
                    this.isPlaying &&
                      (this.rateUpdates.push({
                        time: Math.max(this.startTime, e) - this.playTime,
                        rate: this.totalRate,
                      }),
                      this.loopSource &&
                        (this.stopAndRemoveLoopBufferSource(),
                        this.createAndStartLoopBufferSource())));
                },
                getCurrentTime: function () {
                  for (var e = 0, s = 0; s < this.rateUpdates.length; s++) {
                    var u = 0;
                    (s < this.rateUpdates.length - 1
                      ? (u = this.rateUpdates[s + 1].time)
                      : (u = this.manager.context.currentTime - this.playTime),
                      (e +=
                        (u - this.rateUpdates[s].time) *
                        this.rateUpdates[s].rate));
                  }
                  return e;
                },
                getLoopTime: function () {
                  for (var e = 0, s = 0; s < this.rateUpdates.length - 1; s++)
                    e +=
                      (this.rateUpdates[s + 1].time -
                        this.rateUpdates[s].time) *
                      this.rateUpdates[s].rate;
                  var u = this.rateUpdates[this.rateUpdates.length - 1];
                  return this.playTime + u.time + (this.duration - e) / u.rate;
                },
                rate: {
                  get: function () {
                    return this.currentConfig.rate;
                  },
                  set: function (e) {
                    ((this.currentConfig.rate = e),
                      this.calculateRate(),
                      this.emit(
                        a.RATE,
                        _____WB$wombat$check$this$function_____(this),
                        e,
                      ));
                  },
                },
                setRate: function (e) {
                  return (
                    (this.rate = e),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                detune: {
                  get: function () {
                    return this.currentConfig.detune;
                  },
                  set: function (e) {
                    ((this.currentConfig.detune = e),
                      this.calculateRate(),
                      this.emit(
                        a.DETUNE,
                        _____WB$wombat$check$this$function_____(this),
                        e,
                      ));
                  },
                },
                setDetune: function (e) {
                  return (
                    (this.detune = e),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                mute: {
                  get: function () {
                    return this.muteNode.gain.value === 0;
                  },
                  set: function (e) {
                    ((this.currentConfig.mute = e),
                      this.muteNode.gain.setValueAtTime(e ? 0 : 1, 0),
                      this.emit(
                        a.MUTE,
                        _____WB$wombat$check$this$function_____(this),
                        e,
                      ));
                  },
                },
                setMute: function (e) {
                  return (
                    (this.mute = e),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                volume: {
                  get: function () {
                    return this.volumeNode.gain.value;
                  },
                  set: function (e) {
                    ((this.currentConfig.volume = e),
                      this.volumeNode.gain.setValueAtTime(e, 0),
                      this.emit(
                        a.VOLUME,
                        _____WB$wombat$check$this$function_____(this),
                        e,
                      ));
                  },
                },
                setVolume: function (e) {
                  return (
                    (this.volume = e),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                seek: {
                  get: function () {
                    return this.isPlaying
                      ? this.manager.context.currentTime < this.startTime
                        ? this.startTime - this.playTime
                        : this.getCurrentTime()
                      : this.isPaused
                        ? this.currentConfig.seek
                        : 0;
                  },
                  set: function (e) {
                    this.manager.context.currentTime < this.startTime ||
                      ((this.isPlaying || this.isPaused) &&
                        ((e = Math.min(Math.max(0, e), this.duration)),
                        (this.currentConfig.seek = e),
                        this.isPlaying &&
                          (this.stopAndRemoveBufferSource(),
                          this.createAndStartBufferSource()),
                        this.emit(
                          a.SEEK,
                          _____WB$wombat$check$this$function_____(this),
                          e,
                        )));
                  },
                },
                setSeek: function (e) {
                  return (
                    (this.seek = e),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                loop: {
                  get: function () {
                    return this.currentConfig.loop;
                  },
                  set: function (e) {
                    ((this.currentConfig.loop = e),
                      this.isPlaying &&
                        (this.stopAndRemoveLoopBufferSource(),
                        e && this.createAndStartLoopBufferSource()),
                      this.emit(
                        a.LOOP,
                        _____WB$wombat$check$this$function_____(this),
                        e,
                      ));
                  },
                },
                setLoop: function (e) {
                  return (
                    (this.loop = e),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                pan: {
                  get: function () {
                    return this.pannerNode ? this.pannerNode.pan.value : 0;
                  },
                  set: function (e) {
                    ((this.currentConfig.pan = e),
                      this.pannerNode &&
                        this.pannerNode.pan.setValueAtTime(
                          e,
                          this.manager.context.currentTime,
                        ),
                      this.emit(
                        a.PAN,
                        _____WB$wombat$check$this$function_____(this),
                        e,
                      ));
                  },
                },
                setPan: function (e) {
                  return (
                    (this.pan = e),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
              });
            d.exports = n;
          },
          55491: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @author       Pavle Goloskokovic <pgoloskokovic@gmail.com> (http://prunegames.com)
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(82329),
              c = t(12486),
              a = t(56694),
              r = t(76038),
              n = t(97081),
              e = t(96008),
              s = t(72632),
              u = new a({
                Extends: c,
                initialize: function (o) {
                  ((this.context = this.createAudioContext(o)),
                    (this.masterMuteNode = this.context.createGain()),
                    (this.masterVolumeNode = this.context.createGain()),
                    this.masterMuteNode.connect(this.masterVolumeNode),
                    this.masterVolumeNode.connect(this.context.destination),
                    (this.destination = this.masterMuteNode),
                    (this.locked =
                      this.context.state === "suspended" &&
                      ("ontouchstart" in window || "onclick" in window)),
                    c.call(this, o),
                    this.locked && o.isBooted
                      ? this.unlock()
                      : o.events.once(
                          n.BOOT,
                          this.unlock,
                          _____WB$wombat$check$this$function_____(this),
                        ));
                },
                createAudioContext: function (i) {
                  var o = i.config.audio;
                  if (o.context) return (o.context.resume(), o.context);
                  if (window.hasOwnProperty("AudioContext"))
                    return new AudioContext();
                  if (window.hasOwnProperty("webkitAudioContext"))
                    return new window.webkitAudioContext();
                },
                setAudioContext: function (i) {
                  return (
                    this.context && this.context.close(),
                    this.masterMuteNode && this.masterMuteNode.disconnect(),
                    this.masterVolumeNode && this.masterVolumeNode.disconnect(),
                    (this.context = i),
                    (this.masterMuteNode = i.createGain()),
                    (this.masterVolumeNode = i.createGain()),
                    this.masterMuteNode.connect(this.masterVolumeNode),
                    this.masterVolumeNode.connect(i.destination),
                    (this.destination = this.masterMuteNode),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                add: function (i, o) {
                  var h = new e(this, i, o);
                  return (this.sounds.push(h), h);
                },
                decodeAudio: function (i, o) {
                  var h;
                  Array.isArray(i) ? (h = i) : (h = [{ key: i, data: o }]);
                  for (
                    var l = this.game.cache.audio, f = h.length, v = 0;
                    v < h.length;
                    v++
                  ) {
                    var m = h[v],
                      x = m.key,
                      g = m.data;
                    typeof g == "string" && (g = A(g));
                    var C = function (F, w) {
                        (l.add(F, w),
                          this.emit(r.DECODED, F),
                          f--,
                          f === 0 && this.emit(r.DECODED_ALL));
                      }.bind(this, x),
                      T = function (F, w) {
                        (console.error(
                          "Error decoding audio: " + F + " - ",
                          w ? w.message : "",
                        ),
                          f--,
                          f === 0 && this.emit(r.DECODED_ALL));
                      }.bind(this, x);
                    this.context.decodeAudioData(g, C, T);
                  }
                },
                setListenerPosition: function (i, o) {
                  return (
                    i === void 0 && (i = this.game.scale.width / 2),
                    o === void 0 && (o = this.game.scale.height / 2),
                    this.listenerPosition.set(i, o),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                unlock: function () {
                  var i = _____WB$wombat$check$this$function_____(this),
                    o = document.body,
                    h = function l() {
                      if (i.context && o) {
                        var f = o.removeEventListener.bind(o);
                        i.context.resume().then(
                          function () {
                            (f("touchstart", l),
                              f("touchend", l),
                              f("click", l),
                              f("keydown", l),
                              (i.unlocked = !0));
                          },
                          function () {
                            (f("touchstart", l),
                              f("touchend", l),
                              f("click", l),
                              f("keydown", l));
                          },
                        );
                      }
                    };
                  o &&
                    (o.addEventListener("touchstart", h, !1),
                    o.addEventListener("touchend", h, !1),
                    o.addEventListener("click", h, !1),
                    o.addEventListener("keydown", h, !1));
                },
                onBlur: function () {
                  this.locked || this.context.suspend();
                },
                onFocus: function () {
                  var i = this.context;
                  i &&
                    !this.locked &&
                    (i.state === "suspended" || i.state === "interrupted") &&
                    i.resume();
                },
                update: function (i, o) {
                  var h = this.context.listener;
                  if (h && h.positionX !== void 0) {
                    var l = s(this.listenerPosition, "x", null),
                      f = s(this.listenerPosition, "y", null);
                    (l &&
                      l !== this._spatialx &&
                      (this._spatialx = h.positionX.value = l),
                      f &&
                        f !== this._spatialy &&
                        (this._spatialy = h.positionY.value = f));
                  }
                  (c.prototype.update.call(this, i, o),
                    this.gameLostFocus || this.onFocus());
                },
                destroy: function () {
                  if (
                    ((this.destination = null),
                    this.masterVolumeNode.disconnect(),
                    (this.masterVolumeNode = null),
                    this.masterMuteNode.disconnect(),
                    (this.masterMuteNode = null),
                    this.game.config.audio.context)
                  )
                    this.context.suspend();
                  else {
                    var i = _____WB$wombat$check$this$function_____(this);
                    this.context.close().then(function () {
                      i.context = null;
                    });
                  }
                  c.prototype.destroy.call(this);
                },
                setMute: function (i) {
                  return (
                    (this.mute = i),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                mute: {
                  get: function () {
                    return this.masterMuteNode.gain.value === 0;
                  },
                  set: function (i) {
                    (this.masterMuteNode.gain.setValueAtTime(i ? 0 : 1, 0),
                      this.emit(
                        r.GLOBAL_MUTE,
                        _____WB$wombat$check$this$function_____(this),
                        i,
                      ));
                  },
                },
                setVolume: function (i) {
                  return (
                    (this.volume = i),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                volume: {
                  get: function () {
                    return this.masterVolumeNode.gain.value;
                  },
                  set: function (i) {
                    (this.masterVolumeNode.gain.setValueAtTime(i, 0),
                      this.emit(
                        r.GLOBAL_VOLUME,
                        _____WB$wombat$check$this$function_____(this),
                        i,
                      ));
                  },
                },
              });
            d.exports = u;
          },
          71207: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(59959),
              c = t(56694),
              a = t(72283),
              r = t(17922),
              n = new c({
                initialize: function (s) {
                  ((_____WB$wombat$check$this$function_____(this).parent = s),
                    (this.list = []),
                    (this.position = 0),
                    (this.addCallback = a),
                    (this.removeCallback = a),
                    (this._sortKey = ""));
                },
                add: function (e, s) {
                  return s
                    ? A.Add(this.list, e)
                    : A.Add(
                        this.list,
                        e,
                        0,
                        this.addCallback,
                        _____WB$wombat$check$this$function_____(this),
                      );
                },
                addAt: function (e, s, u) {
                  return u
                    ? A.AddAt(this.list, e, s)
                    : A.AddAt(
                        this.list,
                        e,
                        s,
                        0,
                        this.addCallback,
                        _____WB$wombat$check$this$function_____(this),
                      );
                },
                getAt: function (e) {
                  return this.list[e];
                },
                getIndex: function (e) {
                  return this.list.indexOf(e);
                },
                sort: function (e, s) {
                  return e
                    ? (s === void 0 &&
                        (s = function (u, i) {
                          return u[e] - i[e];
                        }),
                      r(this.list, s),
                      _____WB$wombat$check$this$function_____(this))
                    : this;
                },
                getByName: function (e) {
                  return A.GetFirst(this.list, "name", e);
                },
                getRandom: function (e, s) {
                  return A.GetRandom(this.list, e, s);
                },
                getFirst: function (e, s, u, i) {
                  return A.GetFirst(this.list, e, s, u, i);
                },
                getAll: function (e, s, u, i) {
                  return A.GetAll(this.list, e, s, u, i);
                },
                count: function (e, s) {
                  return A.CountAllMatching(this.list, e, s);
                },
                swap: function (e, s) {
                  A.Swap(this.list, e, s);
                },
                moveTo: function (e, s) {
                  return A.MoveTo(this.list, e, s);
                },
                moveAbove: function (e, s) {
                  return A.MoveAbove(this.list, e, s);
                },
                moveBelow: function (e, s) {
                  return A.MoveBelow(this.list, e, s);
                },
                remove: function (e, s) {
                  return s
                    ? A.Remove(this.list, e)
                    : A.Remove(
                        this.list,
                        e,
                        this.removeCallback,
                        _____WB$wombat$check$this$function_____(this),
                      );
                },
                removeAt: function (e, s) {
                  return s
                    ? A.RemoveAt(this.list, e)
                    : A.RemoveAt(
                        this.list,
                        e,
                        this.removeCallback,
                        _____WB$wombat$check$this$function_____(this),
                      );
                },
                removeBetween: function (e, s, u) {
                  return u
                    ? A.RemoveBetween(this.list, e, s)
                    : A.RemoveBetween(
                        this.list,
                        e,
                        s,
                        this.removeCallback,
                        _____WB$wombat$check$this$function_____(this),
                      );
                },
                removeAll: function (e) {
                  for (var s = this.list.length; s--; )
                    this.remove(this.list[s], e);
                  return _____WB$wombat$check$this$function_____(this);
                },
                bringToTop: function (e) {
                  return A.BringToTop(this.list, e);
                },
                sendToBack: function (e) {
                  return A.SendToBack(this.list, e);
                },
                moveUp: function (e) {
                  return (A.MoveUp(this.list, e), e);
                },
                moveDown: function (e) {
                  return (A.MoveDown(this.list, e), e);
                },
                reverse: function () {
                  return (
                    this.list.reverse(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                shuffle: function () {
                  return (
                    A.Shuffle(this.list),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                replace: function (e, s) {
                  return A.Replace(this.list, e, s);
                },
                exists: function (e) {
                  return this.list.indexOf(e) > -1;
                },
                setAll: function (e, s, u, i) {
                  return (
                    A.SetAll(this.list, e, s, u, i),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                each: function (e, s) {
                  for (var u = [null], i = 2; i < arguments.length; i++)
                    u.push(arguments[i]);
                  for (i = 0; i < this.list.length; i++)
                    ((u[0] = this.list[i]), e.apply(s, u));
                },
                shutdown: function () {
                  (this.removeAll(), (this.list = []));
                },
                destroy: function () {
                  (this.removeAll(),
                    (_____WB$wombat$check$this$function_____(this).parent =
                      null),
                    (this.addCallback = null),
                    (this.removeCallback = null));
                },
                length: {
                  get: function () {
                    return this.list.length;
                  },
                },
                first: {
                  get: function () {
                    return (
                      (this.position = 0),
                      this.list.length > 0 ? this.list[0] : null
                    );
                  },
                },
                last: {
                  get: function () {
                    return this.list.length > 0
                      ? ((this.position = this.list.length - 1),
                        this.list[this.position])
                      : null;
                  },
                },
                next: {
                  get: function () {
                    return this.position < this.list.length
                      ? (this.position++, this.list[this.position])
                      : null;
                  },
                },
                previous: {
                  get: function () {
                    return this.position > 0
                      ? (this.position--, this.list[this.position])
                      : null;
                  },
                },
              });
            d.exports = n;
          },
          33885: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = new A({
                initialize: function (r) {
                  ((this.entries = {}), (this.size = 0), this.setAll(r));
                },
                setAll: function (a) {
                  if (Array.isArray(a))
                    for (var r = 0; r < a.length; r++)
                      this.set(a[r][0], a[r][1]);
                  return _____WB$wombat$check$this$function_____(this);
                },
                set: function (a, r) {
                  return (
                    this.has(a) || this.size++,
                    (this.entries[a] = r),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                get: function (a) {
                  if (this.has(a)) return this.entries[a];
                },
                getArray: function () {
                  var a = [],
                    r = this.entries;
                  for (var n in r) a.push(r[n]);
                  return a;
                },
                has: function (a) {
                  return this.entries.hasOwnProperty(a);
                },
                delete: function (a) {
                  return (
                    this.has(a) && (delete this.entries[a], this.size--),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                clear: function () {
                  return (
                    Object.keys(this.entries).forEach(function (a) {
                      delete this.entries[a];
                    }, _____WB$wombat$check$this$function_____(this)),
                    (this.size = 0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                keys: function () {
                  return Object.keys(this.entries);
                },
                values: function () {
                  var a = [],
                    r = this.entries;
                  for (var n in r) a.push(r[n]);
                  return a;
                },
                dump: function () {
                  var a = this.entries;
                  console.group("Map");
                  for (var r in a) console.log(r, a[r]);
                  console.groupEnd();
                },
                each: function (a) {
                  var r = this.entries;
                  for (var n in r) if (a(n, r[n]) === !1) break;
                  return _____WB$wombat$check$this$function_____(this);
                },
                contains: function (a) {
                  var r = this.entries;
                  for (var n in r) if (r[n] === a) return !0;
                  return !1;
                },
                merge: function (a, r) {
                  r === void 0 && (r = !1);
                  var n = this.entries,
                    e = a.entries;
                  for (var s in e)
                    n.hasOwnProperty(s) && r
                      ? (n[s] = e[s])
                      : this.set(s, e[s]);
                  return _____WB$wombat$check$this$function_____(this);
                },
              });
            d.exports = c;
          },
          74623: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(6659),
              a = t(36716),
              r = new A({
                Extends: c,
                initialize: function () {
                  (c.call(this),
                    (this._pending = []),
                    (this._active = []),
                    (this._destroy = []),
                    (this._toProcess = 0),
                    (this.checkQueue = !1));
                },
                isActive: function (n) {
                  return this._active.indexOf(n) > -1;
                },
                isPending: function (n) {
                  return this._toProcess > 0 && this._pending.indexOf(n) > -1;
                },
                isDestroying: function (n) {
                  return this._destroy.indexOf(n) > -1;
                },
                add: function (n) {
                  return (
                    (this.checkQueue &&
                      this.isActive(n) &&
                      !this.isDestroying(n)) ||
                      this.isPending(n) ||
                      (this._pending.push(n), this._toProcess++),
                    n
                  );
                },
                remove: function (n) {
                  if (this.isPending(n)) {
                    var e = this._pending,
                      s = e.indexOf(n);
                    s !== -1 && e.splice(s, 1);
                  } else
                    this.isActive(n) &&
                      (this._destroy.push(n), this._toProcess++);
                  return n;
                },
                removeAll: function () {
                  for (
                    var n = this._active, e = this._destroy, s = n.length;
                    s--;
                  )
                    (e.push(n[s]), this._toProcess++);
                  return _____WB$wombat$check$this$function_____(this);
                },
                update: function () {
                  if (this._toProcess === 0) return this._active;
                  var n = this._destroy,
                    e = this._active,
                    s,
                    u;
                  for (s = 0; s < n.length; s++) {
                    u = n[s];
                    var i = e.indexOf(u);
                    i !== -1 &&
                      (e.splice(i, 1), this.emit(a.PROCESS_QUEUE_REMOVE, u));
                  }
                  for (
                    n.length = 0, n = this._pending, s = 0;
                    s < n.length;
                    s++
                  )
                    ((u = n[s]),
                      (!this.checkQueue ||
                        (this.checkQueue && e.indexOf(u) === -1)) &&
                        (e.push(u), this.emit(a.PROCESS_QUEUE_ADD, u)));
                  return ((n.length = 0), (this._toProcess = 0), e);
                },
                getActive: function () {
                  return this._active;
                },
                length: {
                  get: function () {
                    return this._active.length;
                  },
                },
                destroy: function () {
                  ((this._toProcess = 0),
                    (this._pending = []),
                    (this._active = []),
                    (this._destroy = []));
                },
              });
            d.exports = r;
          },
          68687: (d, y, t) => {
            /**
             * @author       Vladimir Agafonkin
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(53466);
            function c(g) {
              if (!(this instanceof c)) return new c(g);
              ((this._maxEntries = Math.max(4, g || 9)),
                (this._minEntries = Math.max(
                  2,
                  Math.ceil(this._maxEntries * 0.4),
                )),
                this.clear());
            }
            c.prototype = {
              all: function () {
                return this._all(this.data, []);
              },
              search: function (g) {
                var C = this.data,
                  T = [],
                  F = this.toBBox;
                if (!v(g, C)) return T;
                for (var w = [], U, M, I, O; C; ) {
                  for (U = 0, M = C.children.length; U < M; U++)
                    ((I = C.children[U]),
                      (O = C.leaf ? F(I) : I),
                      v(g, O) &&
                        (C.leaf
                          ? T.push(I)
                          : f(g, O)
                            ? this._all(I, T)
                            : w.push(I)));
                  C = w.pop();
                }
                return T;
              },
              collides: function (g) {
                var C = this.data,
                  T = this.toBBox;
                if (!v(g, C)) return !1;
                for (var F = [], w, U, M, I; C; ) {
                  for (w = 0, U = C.children.length; w < U; w++)
                    if (
                      ((M = C.children[w]), (I = C.leaf ? T(M) : M), v(g, I))
                    ) {
                      if (C.leaf || f(g, I)) return !0;
                      F.push(M);
                    }
                  C = F.pop();
                }
                return !1;
              },
              load: function (g) {
                if (!(g && g.length))
                  return _____WB$wombat$check$this$function_____(this);
                if (g.length < this._minEntries) {
                  for (var C = 0, T = g.length; C < T; C++) this.insert(g[C]);
                  return _____WB$wombat$check$this$function_____(this);
                }
                var F = this._build(g.slice(), 0, g.length - 1, 0);
                if (!this.data.children.length) this.data = F;
                else if (this.data.height === F.height)
                  this._splitRoot(this.data, F);
                else {
                  if (this.data.height < F.height) {
                    var w = this.data;
                    ((this.data = F), (F = w));
                  }
                  this._insert(F, this.data.height - F.height - 1, !0);
                }
                return _____WB$wombat$check$this$function_____(this);
              },
              insert: function (g) {
                return (
                  g && this._insert(g, this.data.height - 1),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              clear: function () {
                return (
                  (this.data = m([])),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              remove: function (g, C) {
                if (!g) return _____WB$wombat$check$this$function_____(this);
                for (
                  var T = this.data,
                    F = this.toBBox(g),
                    w = [],
                    U = [],
                    M,
                    I,
                    O,
                    D;
                  T || w.length;
                ) {
                  if (
                    (T ||
                      ((T = w.pop()),
                      (I = w[w.length - 1]),
                      (M = U.pop()),
                      (D = !0)),
                    T.leaf && ((O = a(g, T.children, C)), O !== -1))
                  )
                    return (
                      T.children.splice(O, 1),
                      w.push(T),
                      this._condense(w),
                      _____WB$wombat$check$this$function_____(this)
                    );
                  !D && !T.leaf && f(T, F)
                    ? (w.push(T),
                      U.push(M),
                      (M = 0),
                      (I = T),
                      (T = T.children[0]))
                    : I
                      ? (M++, (T = I.children[M]), (D = !1))
                      : (T = null);
                }
                return _____WB$wombat$check$this$function_____(this);
              },
              toBBox: function (g) {
                return g;
              },
              compareMinX: s,
              compareMinY: u,
              toJSON: function () {
                return this.data;
              },
              fromJSON: function (g) {
                return (
                  (this.data = g),
                  _____WB$wombat$check$this$function_____(this)
                );
              },
              _all: function (g, C) {
                for (var T = []; g; )
                  (g.leaf
                    ? C.push.apply(C, g.children)
                    : T.push.apply(T, g.children),
                    (g = T.pop()));
                return C;
              },
              _build: function (g, C, T, F) {
                var w = T - C + 1,
                  U = this._maxEntries,
                  M;
                if (w <= U)
                  return ((M = m(g.slice(C, T + 1))), r(M, this.toBBox), M);
                (F ||
                  ((F = Math.ceil(Math.log(w) / Math.log(U))),
                  (U = Math.ceil(w / Math.pow(U, F - 1)))),
                  (M = m([])),
                  (M.leaf = !1),
                  (M.height = F));
                var I = Math.ceil(w / U),
                  O = I * Math.ceil(Math.sqrt(U)),
                  D,
                  G,
                  X,
                  z;
                for (x(g, C, T, O, this.compareMinX), D = C; D <= T; D += O)
                  for (
                    X = Math.min(D + O - 1, T),
                      x(g, D, X, I, this.compareMinY),
                      G = D;
                    G <= X;
                    G += I
                  )
                    ((z = Math.min(G + I - 1, X)),
                      M.children.push(this._build(g, G, z, F - 1)));
                return (r(M, this.toBBox), M);
              },
              _chooseSubtree: function (g, C, T, F) {
                for (
                  var w, U, M, I, O, D, G, X;
                  F.push(C), !(C.leaf || F.length - 1 === T);
                ) {
                  for (G = X = 1 / 0, w = 0, U = C.children.length; w < U; w++)
                    ((M = C.children[w]),
                      (O = i(M)),
                      (D = h(g, M) - O),
                      D < X
                        ? ((X = D), (G = O < G ? O : G), (I = M))
                        : D === X && O < G && ((G = O), (I = M)));
                  C = I || C.children[0];
                }
                return C;
              },
              _insert: function (g, C, T) {
                var F = this.toBBox,
                  w = T ? g : F(g),
                  U = [],
                  M = this._chooseSubtree(w, this.data, C, U);
                for (
                  M.children.push(g), e(M, w);
                  C >= 0 && U[C].children.length > this._maxEntries;
                )
                  (this._split(U, C), C--);
                this._adjustParentBBoxes(w, U, C);
              },
              _split: function (g, C) {
                var T = g[C],
                  F = T.children.length,
                  w = this._minEntries;
                this._chooseSplitAxis(T, w, F);
                var U = this._chooseSplitIndex(T, w, F),
                  M = m(T.children.splice(U, T.children.length - U));
                ((M.height = T.height),
                  (M.leaf = T.leaf),
                  r(T, this.toBBox),
                  r(M, this.toBBox),
                  C ? g[C - 1].children.push(M) : this._splitRoot(T, M));
              },
              _splitRoot: function (g, C) {
                ((this.data = m([g, C])),
                  (this.data.height = g.height + 1),
                  (this.data.leaf = !1),
                  r(this.data, this.toBBox));
              },
              _chooseSplitIndex: function (g, C, T) {
                var F, w, U, M, I, O, D, G;
                for (O = D = 1 / 0, F = C; F <= T - C; F++)
                  ((w = n(g, 0, F, this.toBBox)),
                    (U = n(g, F, T, this.toBBox)),
                    (M = l(w, U)),
                    (I = i(w) + i(U)),
                    M < O
                      ? ((O = M), (G = F), (D = I < D ? I : D))
                      : M === O && I < D && ((D = I), (G = F)));
                return G;
              },
              _chooseSplitAxis: function (g, C, T) {
                var F = g.leaf ? this.compareMinX : s,
                  w = g.leaf ? this.compareMinY : u,
                  U = this._allDistMargin(g, C, T, F),
                  M = this._allDistMargin(g, C, T, w);
                U < M && g.children.sort(F);
              },
              _allDistMargin: function (g, C, T, F) {
                g.children.sort(F);
                var w = this.toBBox,
                  U = n(g, 0, C, w),
                  M = n(g, T - C, T, w),
                  I = o(U) + o(M),
                  O,
                  D;
                for (O = C; O < T - C; O++)
                  ((D = g.children[O]), e(U, g.leaf ? w(D) : D), (I += o(U)));
                for (O = T - C - 1; O >= C; O--)
                  ((D = g.children[O]), e(M, g.leaf ? w(D) : D), (I += o(M)));
                return I;
              },
              _adjustParentBBoxes: function (g, C, T) {
                for (var F = T; F >= 0; F--) e(C[F], g);
              },
              _condense: function (g) {
                for (var C = g.length - 1, T; C >= 0; C--)
                  g[C].children.length === 0
                    ? C > 0
                      ? ((T = g[C - 1].children), T.splice(T.indexOf(g[C]), 1))
                      : this.clear()
                    : r(g[C], this.toBBox);
              },
              compareMinX: function (g, C) {
                return g.left - C.left;
              },
              compareMinY: function (g, C) {
                return g.top - C.top;
              },
              toBBox: function (g) {
                return {
                  minX: g.left,
                  minY: g.top,
                  maxX: g.right,
                  maxY: g.bottom,
                };
              },
            };
            function a(g, C, T) {
              if (!T) return C.indexOf(g);
              for (var F = 0; F < C.length; F++) if (T(g, C[F])) return F;
              return -1;
            }
            function r(g, C) {
              n(g, 0, g.children.length, C, g);
            }
            function n(g, C, T, F, w) {
              (w || (w = m(null)),
                (w.minX = 1 / 0),
                (w.minY = 1 / 0),
                (w.maxX = -1 / 0),
                (w.maxY = -1 / 0));
              for (var U = C, M; U < T; U++)
                ((M = g.children[U]), e(w, g.leaf ? F(M) : M));
              return w;
            }
            function e(g, C) {
              return (
                (g.minX = Math.min(g.minX, C.minX)),
                (g.minY = Math.min(g.minY, C.minY)),
                (g.maxX = Math.max(g.maxX, C.maxX)),
                (g.maxY = Math.max(g.maxY, C.maxY)),
                g
              );
            }
            function s(g, C) {
              return g.minX - C.minX;
            }
            function u(g, C) {
              return g.minY - C.minY;
            }
            function i(g) {
              return (g.maxX - g.minX) * (g.maxY - g.minY);
            }
            function o(g) {
              return g.maxX - g.minX + (g.maxY - g.minY);
            }
            function h(g, C) {
              return (
                (Math.max(C.maxX, g.maxX) - Math.min(C.minX, g.minX)) *
                (Math.max(C.maxY, g.maxY) - Math.min(C.minY, g.minY))
              );
            }
            function l(g, C) {
              var T = Math.max(g.minX, C.minX),
                F = Math.max(g.minY, C.minY),
                w = Math.min(g.maxX, C.maxX),
                U = Math.min(g.maxY, C.maxY);
              return Math.max(0, w - T) * Math.max(0, U - F);
            }
            function f(g, C) {
              return (
                g.minX <= C.minX &&
                g.minY <= C.minY &&
                C.maxX <= g.maxX &&
                C.maxY <= g.maxY
              );
            }
            function v(g, C) {
              return (
                C.minX <= g.maxX &&
                C.minY <= g.maxY &&
                C.maxX >= g.minX &&
                C.maxY >= g.minY
              );
            }
            function m(g) {
              return {
                children: g,
                height: 1,
                leaf: !0,
                minX: 1 / 0,
                minY: 1 / 0,
                maxX: -1 / 0,
                maxY: -1 / 0,
              };
            }
            function x(g, C, T, F, w) {
              for (var U = [C, T], M; U.length; )
                ((T = U.pop()),
                  (C = U.pop()),
                  !(T - C <= F) &&
                    ((M = C + Math.ceil((T - C) / F / 2) * F),
                    A(g, M, C, T, w),
                    U.push(C, M, M, T)));
            }
            d.exports = c;
          },
          58403: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = new A({
                initialize: function (r) {
                  if (((this.entries = []), Array.isArray(r)))
                    for (var n = 0; n < r.length; n++) this.set(r[n]);
                },
                set: function (a) {
                  return (
                    this.entries.indexOf(a) === -1 && this.entries.push(a),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                get: function (a, r) {
                  for (var n = 0; n < this.entries.length; n++) {
                    var e = this.entries[n];
                    if (e[a] === r) return e;
                  }
                },
                getArray: function () {
                  return this.entries.slice(0);
                },
                delete: function (a) {
                  var r = this.entries.indexOf(a);
                  return (
                    r > -1 && this.entries.splice(r, 1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                dump: function () {
                  console.group("Set");
                  for (var a = 0; a < this.entries.length; a++) {
                    var r = this.entries[a];
                    console.log(r);
                  }
                  console.groupEnd();
                },
                each: function (a, r) {
                  var n,
                    e = this.entries.slice(),
                    s = e.length;
                  if (r) for (n = 0; n < s && a.call(r, e[n], n) !== !1; n++);
                  else for (n = 0; n < s && a(e[n], n) !== !1; n++);
                  return _____WB$wombat$check$this$function_____(this);
                },
                iterate: function (a, r) {
                  var n,
                    e = this.entries.length;
                  if (r)
                    for (
                      n = 0;
                      n < e && a.call(r, this.entries[n], n) !== !1;
                      n++
                    );
                  else for (n = 0; n < e && a(this.entries[n], n) !== !1; n++);
                  return _____WB$wombat$check$this$function_____(this);
                },
                iterateLocal: function (a) {
                  var r,
                    n = [];
                  for (r = 1; r < arguments.length; r++) n.push(arguments[r]);
                  var e = this.entries.length;
                  for (r = 0; r < e; r++) {
                    var s = this.entries[r];
                    s[a].apply(s, n);
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                clear: function () {
                  return (
                    (this.entries.length = 0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                contains: function (a) {
                  return this.entries.indexOf(a) > -1;
                },
                union: function (a) {
                  var r = new c();
                  return (
                    a.entries.forEach(function (n) {
                      r.set(n);
                    }),
                    this.entries.forEach(function (n) {
                      r.set(n);
                    }),
                    r
                  );
                },
                intersect: function (a) {
                  var r = new c();
                  return (
                    this.entries.forEach(function (n) {
                      a.contains(n) && r.set(n);
                    }),
                    r
                  );
                },
                difference: function (a) {
                  var r = new c();
                  return (
                    this.entries.forEach(function (n) {
                      a.contains(n) || r.set(n);
                    }),
                    r
                  );
                },
                size: {
                  get: function () {
                    return this.entries.length;
                  },
                  set: function (a) {
                    return a < this.entries.length
                      ? (this.entries.length = a)
                      : this.entries.length;
                  },
                },
              });
            d.exports = c;
          },
          90881: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(82897),
              c = t(56694),
              a = t(84314),
              r = t(93736),
              n = new c({
                initialize: function (s, u, i, o) {
                  (s === void 0 && (s = 0),
                    u === void 0 && (u = s),
                    i === void 0 && (i = 0),
                    o === void 0 && (o = null),
                    (this._width = s),
                    (this._height = u),
                    (this._parent = o),
                    (this.aspectMode = i),
                    (this.aspectRatio = u === 0 ? 1 : s / u),
                    (this.minWidth = 0),
                    (this.minHeight = 0),
                    (this.maxWidth = Number.MAX_VALUE),
                    (this.maxHeight = Number.MAX_VALUE),
                    (this.snapTo = new r()));
                },
                setAspectMode: function (e) {
                  return (
                    e === void 0 && (e = 0),
                    (this.aspectMode = e),
                    this.setSize(this._width, this._height)
                  );
                },
                setSnap: function (e, s) {
                  return (
                    e === void 0 && (e = 0),
                    s === void 0 && (s = e),
                    this.snapTo.set(e, s),
                    this.setSize(this._width, this._height)
                  );
                },
                setParent: function (e) {
                  return (
                    (this._parent = e),
                    this.setSize(this._width, this._height)
                  );
                },
                setMin: function (e, s) {
                  return (
                    e === void 0 && (e = 0),
                    s === void 0 && (s = e),
                    (this.minWidth = A(e, 0, this.maxWidth)),
                    (this.minHeight = A(s, 0, this.maxHeight)),
                    this.setSize(this._width, this._height)
                  );
                },
                setMax: function (e, s) {
                  return (
                    e === void 0 && (e = Number.MAX_VALUE),
                    s === void 0 && (s = e),
                    (this.maxWidth = A(e, this.minWidth, Number.MAX_VALUE)),
                    (this.maxHeight = A(s, this.minHeight, Number.MAX_VALUE)),
                    this.setSize(this._width, this._height)
                  );
                },
                setSize: function (e, s) {
                  switch (
                    (e === void 0 && (e = 0),
                    s === void 0 && (s = e),
                    this.aspectMode)
                  ) {
                    case n.NONE:
                      ((this._width = this.getNewWidth(a(e, this.snapTo.x))),
                        (this._height = this.getNewHeight(a(s, this.snapTo.y))),
                        (this.aspectRatio =
                          this._height === 0 ? 1 : this._width / this._height));
                      break;
                    case n.WIDTH_CONTROLS_HEIGHT:
                      ((this._width = this.getNewWidth(a(e, this.snapTo.x))),
                        (this._height = this.getNewHeight(
                          this._width * (1 / this.aspectRatio),
                          !1,
                        )));
                      break;
                    case n.HEIGHT_CONTROLS_WIDTH:
                      ((this._height = this.getNewHeight(a(s, this.snapTo.y))),
                        (this._width = this.getNewWidth(
                          this._height * this.aspectRatio,
                          !1,
                        )));
                      break;
                    case n.FIT:
                      this.constrain(e, s, !0);
                      break;
                    case n.ENVELOP:
                      this.constrain(e, s, !1);
                      break;
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                setAspectRatio: function (e) {
                  return (
                    (this.aspectRatio = e),
                    this.setSize(this._width, this._height)
                  );
                },
                resize: function (e, s) {
                  return (
                    (this._width = this.getNewWidth(a(e, this.snapTo.x))),
                    (this._height = this.getNewHeight(a(s, this.snapTo.y))),
                    (this.aspectRatio =
                      this._height === 0 ? 1 : this._width / this._height),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getNewWidth: function (e, s) {
                  return (
                    s === void 0 && (s = !0),
                    (e = A(e, this.minWidth, this.maxWidth)),
                    s &&
                      this._parent &&
                      e > this._parent.width &&
                      (e = Math.max(this.minWidth, this._parent.width)),
                    e
                  );
                },
                getNewHeight: function (e, s) {
                  return (
                    s === void 0 && (s = !0),
                    (e = A(e, this.minHeight, this.maxHeight)),
                    s &&
                      this._parent &&
                      e > this._parent.height &&
                      (e = Math.max(this.minHeight, this._parent.height)),
                    e
                  );
                },
                constrain: function (e, s, u) {
                  (e === void 0 && (e = 0),
                    s === void 0 && (s = e),
                    u === void 0 && (u = !0),
                    (e = this.getNewWidth(e)),
                    (s = this.getNewHeight(s)));
                  var i = this.snapTo,
                    o = s === 0 ? 1 : e / s;
                  return (
                    (u && this.aspectRatio > o) || (!u && this.aspectRatio < o)
                      ? ((e = a(e, i.x)),
                        (s = e / this.aspectRatio),
                        i.y > 0 &&
                          ((s = a(s, i.y)), (e = s * this.aspectRatio)))
                      : ((u && this.aspectRatio < o) ||
                          (!u && this.aspectRatio > o)) &&
                        ((s = a(s, i.y)),
                        (e = s * this.aspectRatio),
                        i.x > 0 &&
                          ((e = a(e, i.x)), (s = e * (1 / this.aspectRatio)))),
                    (this._width = e),
                    (this._height = s),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                fitTo: function (e, s) {
                  return this.constrain(e, s, !0);
                },
                envelop: function (e, s) {
                  return this.constrain(e, s, !1);
                },
                setWidth: function (e) {
                  return this.setSize(e, this._height);
                },
                setHeight: function (e) {
                  return this.setSize(this._width, e);
                },
                toString: function () {
                  return (
                    "[{ Size (width=" +
                    this._width +
                    " height=" +
                    this._height +
                    " aspectRatio=" +
                    this.aspectRatio +
                    " aspectMode=" +
                    this.aspectMode +
                    ") }]"
                  );
                },
                setCSS: function (e) {
                  e &&
                    e.style &&
                    ((e.style.width = this._width + "px"),
                    (e.style.height = this._height + "px"));
                },
                copy: function (e) {
                  return (
                    e.setAspectMode(this.aspectMode),
                    (e.aspectRatio = this.aspectRatio),
                    e.setSize(this.width, this.height)
                  );
                },
                destroy: function () {
                  ((this._parent = null), (this.snapTo = null));
                },
                width: {
                  get: function () {
                    return this._width;
                  },
                  set: function (e) {
                    this.setSize(e, this._height);
                  },
                },
                height: {
                  get: function () {
                    return this._height;
                  },
                  set: function (e) {
                    this.setSize(this._width, e);
                  },
                },
              });
            ((n.NONE = 0),
              (n.WIDTH_CONTROLS_HEIGHT = 1),
              (n.HEIGHT_CONTROLS_WIDTH = 2),
              (n.FIT = 3),
              (n.ENVELOP = 4),
              (d.exports = n));
          },
          94160: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "add";
          },
          95393: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "remove";
          },
          36716: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              PROCESS_QUEUE_ADD: t(94160),
              PROCESS_QUEUE_REMOVE: t(95393),
            };
          },
          20010: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              Events: t(36716),
              List: t(71207),
              Map: t(33885),
              ProcessQueue: t(74623),
              RTree: t(68687),
              Set: t(58403),
              Size: t(90881),
            };
          },
          17487: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(82897),
              a = t(27119),
              r = t(86459),
              n = t(28621),
              e = t(31673),
              s = new A({
                Extends: e,
                initialize: function (i, o, h, l, f) {
                  (e.call(this, i, o, h, l, f),
                    this.add("__BASE", 0, 0, 0, l, f),
                    (this._source =
                      _____WB$wombat$check$this$function_____(
                        this,
                      ).frames.__BASE.source),
                    (this.canvas = this._source.image),
                    (this.context = this.canvas.getContext("2d", {
                      willReadFrequently: !0,
                    })),
                    (this.width = l),
                    (this.height = f),
                    (this.imageData = this.context.getImageData(0, 0, l, f)),
                    (this.data = null),
                    this.imageData && (this.data = this.imageData.data),
                    (this.pixels = null),
                    this.buffer,
                    this.data &&
                      (this.imageData.data.buffer
                        ? ((this.buffer = this.imageData.data.buffer),
                          (this.pixels = new Uint32Array(this.buffer)))
                        : window.ArrayBuffer
                          ? ((this.buffer = new ArrayBuffer(
                              this.imageData.data.length,
                            )),
                            (this.pixels = new Uint32Array(this.buffer)))
                          : (this.pixels = this.imageData.data)));
                },
                update: function () {
                  return (
                    (this.imageData = this.context.getImageData(
                      0,
                      0,
                      this.width,
                      this.height,
                    )),
                    (this.data = this.imageData.data),
                    this.imageData.data.buffer
                      ? ((this.buffer = this.imageData.data.buffer),
                        (this.pixels = new Uint32Array(this.buffer)))
                      : window.ArrayBuffer
                        ? ((this.buffer = new ArrayBuffer(
                            this.imageData.data.length,
                          )),
                          (this.pixels = new Uint32Array(this.buffer)))
                        : (this.pixels = this.imageData.data),
                    this.manager.game.config.renderType === r.WEBGL &&
                      this.refresh(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                draw: function (u, i, o, h) {
                  return (
                    h === void 0 && (h = !0),
                    this.context.drawImage(o, u, i),
                    h && this.update(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                drawFrame: function (u, i, o, h, l) {
                  (o === void 0 && (o = 0),
                    h === void 0 && (h = 0),
                    l === void 0 && (l = !0));
                  var f = this.manager.getFrame(u, i);
                  if (f) {
                    var v = f.canvasData,
                      m = f.cutWidth,
                      x = f.cutHeight,
                      g = f.source.resolution;
                    (this.context.drawImage(
                      f.source.image,
                      v.x,
                      v.y,
                      m,
                      x,
                      o,
                      h,
                      m / g,
                      x / g,
                    ),
                      l && this.update());
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                setPixel: function (u, i, o, h, l, f) {
                  (f === void 0 && (f = 255),
                    (u = Math.abs(Math.floor(u))),
                    (i = Math.abs(Math.floor(i))));
                  var v = this.getIndex(u, i);
                  if (v > -1) {
                    var m = this.context.getImageData(u, i, 1, 1);
                    ((m.data[0] = o),
                      (m.data[1] = h),
                      (m.data[2] = l),
                      (m.data[3] = f),
                      this.context.putImageData(m, u, i));
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                putData: function (u, i, o, h, l, f, v) {
                  return (
                    h === void 0 && (h = 0),
                    l === void 0 && (l = 0),
                    f === void 0 && (f = u.width),
                    v === void 0 && (v = u.height),
                    this.context.putImageData(u, i, o, h, l, f, v),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getData: function (u, i, o, h) {
                  ((u = c(Math.floor(u), 0, this.width - 1)),
                    (i = c(Math.floor(i), 0, this.height - 1)),
                    (o = c(o, 1, this.width - u)),
                    (h = c(h, 1, this.height - i)));
                  var l = this.context.getImageData(u, i, o, h);
                  return l;
                },
                getPixel: function (u, i, o) {
                  o || (o = new a());
                  var h = this.getIndex(u, i);
                  if (h > -1) {
                    var l = this.data,
                      f = l[h + 0],
                      v = l[h + 1],
                      m = l[h + 2],
                      x = l[h + 3];
                    o.setTo(f, v, m, x);
                  }
                  return o;
                },
                getPixels: function (u, i, o, h) {
                  (u === void 0 && (u = 0),
                    i === void 0 && (i = 0),
                    o === void 0 && (o = this.width),
                    h === void 0 && (h = o),
                    (u = Math.abs(Math.round(u))),
                    (i = Math.abs(Math.round(i))));
                  for (
                    var l = c(u, 0, this.width),
                      f = c(u + o, 0, this.width),
                      v = c(i, 0, this.height),
                      m = c(i + h, 0, this.height),
                      x = new a(),
                      g = [],
                      C = v;
                    C < m;
                    C++
                  ) {
                    for (var T = [], F = l; F < f; F++)
                      ((x = this.getPixel(F, C, x)),
                        T.push({
                          x: F,
                          y: C,
                          color: x.color,
                          alpha: x.alphaGL,
                        }));
                    g.push(T);
                  }
                  return g;
                },
                getIndex: function (u, i) {
                  return (
                    (u = Math.abs(Math.round(u))),
                    (i = Math.abs(Math.round(i))),
                    u < this.width && i < this.height
                      ? (u + i * this.width) * 4
                      : -1
                  );
                },
                refresh: function () {
                  return (
                    this._source.update(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getCanvas: function () {
                  return this.canvas;
                },
                getContext: function () {
                  return this.context;
                },
                clear: function (u, i, o, h, l) {
                  return (
                    u === void 0 && (u = 0),
                    i === void 0 && (i = 0),
                    o === void 0 && (o = this.width),
                    h === void 0 && (h = this.height),
                    l === void 0 && (l = !0),
                    this.context.clearRect(u, i, o, h),
                    l && this.update(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setSize: function (u, i) {
                  return (
                    i === void 0 && (i = u),
                    (u !== this.width || i !== this.height) &&
                      ((this.canvas.width = u),
                      (this.canvas.height = i),
                      (this._source.width = u),
                      (this._source.height = i),
                      (this._source.isPowerOf2 = n(u, i)),
                      _____WB$wombat$check$this$function_____(
                        this,
                      ).frames.__BASE.setSize(u, i, 0, 0),
                      (this.width = u),
                      (this.height = i),
                      this.refresh()),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                destroy: function () {
                  (e.prototype.destroy.call(this),
                    (this._source = null),
                    (this.canvas = null),
                    (this.context = null),
                    (this.imageData = null),
                    (this.data = null),
                    (this.pixels = null),
                    (this.buffer = null));
                },
              });
            d.exports = s;
          },
          845: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(95723),
              c = t(51052),
              a = t(61068),
              r = t(56694),
              n = t(86459),
              e = t(82047),
              s = t(72632),
              u = t(65641),
              i = t(37410),
              o = t(31673),
              h = t(75512),
              l = new r({
                Extends: o,
                initialize: function (v, m, x, g) {
                  (x === void 0 && (x = 256),
                    g === void 0 && (g = 256),
                    (this.type = "DynamicTexture"));
                  var C = v.game.renderer,
                    T = C && C.type === n.CANVAS,
                    F = T ? a.create2D(this, x, g) : [this];
                  (o.call(this, v, m, F, x, g),
                    this.add("__BASE", 0, 0, 0, x, g),
                    (this.renderer = C),
                    (this.width = -1),
                    (this.height = -1),
                    (this.isDrawing = !1),
                    (this.canvas = T ? F : null),
                    (this.context = T
                      ? F.getContext("2d", { willReadFrequently: !0 })
                      : null),
                    (this.dirty = !1),
                    (this.isSpriteTexture = !0),
                    (this._eraseMode = !1),
                    (this.camera = new c(0, 0, x, g).setScene(
                      v.game.scene.systemScene,
                      !1,
                    )),
                    (this.renderTarget = T
                      ? null
                      : new i(C, x, g, 1, 0, !1, !0, !0, !1)),
                    (this.pipeline = T
                      ? null
                      : C.pipelines.get(u.SINGLE_PIPELINE)),
                    T || this.setSize(x, g));
                },
                setSize: function (f, v) {
                  v === void 0 && (v = f);
                  var m = this.get(),
                    x = m.source;
                  if (f !== this.width || v !== this.height) {
                    this.canvas &&
                      ((this.canvas.width = f), (this.canvas.height = v));
                    var g = this.renderTarget;
                    (g &&
                      (g.willResize(f, v) &&
                        (g.resize(f, v),
                        this.renderer.deleteTexture(x.glTexture)),
                      this.setFromRenderTarget()),
                      this.camera.setSize(f, v),
                      (x.width = f),
                      (x.height = v),
                      m.setSize(f, v),
                      (this.width = f),
                      (this.height = v));
                  } else {
                    var C = this.getSourceImage();
                    (m.cutX + f > C.width && (f = C.width - m.cutX),
                      m.cutY + v > C.height && (v = C.height - m.cutY),
                      m.setSize(f, v, m.cutX, m.cutY));
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                setFromRenderTarget: function () {
                  var f = this.get(),
                    v = f.source,
                    m = this.renderTarget;
                  return (
                    (f.glTexture = m.texture),
                    (v.isRenderTexture = !0),
                    (v.isGLTexture = !0),
                    (v.glTexture = m.texture),
                    (v.glTexture.flipY = !0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setIsSpriteTexture: function (f) {
                  return (
                    (this.isSpriteTexture = f),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                fill: function (f, v, m, x, g, C) {
                  var T = this.camera,
                    F = this.renderer;
                  (v === void 0 && (v = 1),
                    m === void 0 && (m = 0),
                    x === void 0 && (x = 0),
                    g === void 0 && (g = this.width),
                    C === void 0 && (C = this.height));
                  var w = (f >> 16) & 255,
                    U = (f >> 8) & 255,
                    M = f & 255,
                    I = this.renderTarget;
                  if ((T.preRender(), I)) {
                    I.bind(!0);
                    var O = this.pipeline.manager.set(this.pipeline),
                      D = F.width / I.width,
                      G = F.height / I.height,
                      X = I.height - (x + C);
                    (O.drawFillRect(
                      m * D,
                      X * G,
                      g * D,
                      C * G,
                      h.getTintFromFloats(M / 255, U / 255, w / 255, 1),
                      v,
                    ),
                      I.unbind(!0));
                  } else {
                    var z = this.context;
                    (F.setContext(z),
                      (z.globalCompositeOperation = "source-over"),
                      (z.fillStyle =
                        "rgba(" + w + "," + U + "," + M + "," + v + ")"),
                      z.fillRect(m, x, g, C),
                      F.setContext());
                  }
                  return (
                    (this.dirty = !0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                clear: function () {
                  if (this.dirty) {
                    var f = this.context,
                      v = this.renderTarget;
                    (v
                      ? v.clear()
                      : f &&
                        (f.save(),
                        f.setTransform(1, 0, 0, 1, 0, 0),
                        f.clearRect(0, 0, this.width, this.height),
                        f.restore()),
                      (this.dirty = !1));
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                stamp: function (f, v, m, x, g) {
                  (m === void 0 && (m = 0), x === void 0 && (x = 0));
                  var C = s(g, "alpha", 1),
                    T = s(g, "tint", 16777215),
                    F = s(g, "angle", 0),
                    w = s(g, "rotation", 0),
                    U = s(g, "scale", 1),
                    M = s(g, "scaleX", U),
                    I = s(g, "scaleY", U),
                    O = s(g, "originX", 0.5),
                    D = s(g, "originY", 0.5),
                    G = s(g, "blendMode", 0),
                    X = s(g, "erase", !1),
                    z = s(g, "skipBatch", !1),
                    K = this.manager.resetStamp(C, T);
                  return (
                    K.setAngle(0),
                    F !== 0 ? K.setAngle(F) : w !== 0 && K.setRotation(w),
                    K.setScale(M, I),
                    K.setTexture(f, v),
                    K.setOrigin(O, D),
                    K.setBlendMode(G),
                    X && (this._eraseMode = !0),
                    z ? this.batchGameObject(K, m, x) : this.draw(K, m, x),
                    X && (this._eraseMode = !1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                erase: function (f, v, m) {
                  return (
                    (this._eraseMode = !0),
                    this.draw(f, v, m),
                    (this._eraseMode = !1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                draw: function (f, v, m, x, g) {
                  return (
                    this.beginDraw(),
                    this.batchDraw(f, v, m, x, g),
                    this.endDraw(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                drawFrame: function (f, v, m, x, g, C) {
                  return (
                    this.beginDraw(),
                    this.batchDrawFrame(f, v, m, x, g, C),
                    this.endDraw(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                repeat: function (f, v, m, x, g, C, T, F, w) {
                  if (
                    (m === void 0 && (m = 0),
                    x === void 0 && (x = 0),
                    g === void 0 && (g = this.width),
                    C === void 0 && (C = this.height),
                    T === void 0 && (T = 1),
                    F === void 0 && (F = 16777215),
                    w === void 0 && (w = !1),
                    f instanceof e
                      ? (v = f)
                      : (v = this.manager.getFrame(f, v)),
                    !v)
                  )
                    return _____WB$wombat$check$this$function_____(this);
                  var U = this.manager.resetStamp(T, F);
                  (U.setFrame(v), U.setOrigin(0));
                  var M = v.width,
                    I = v.height;
                  ((g = Math.floor(g)), (C = Math.floor(C)));
                  var O = Math.ceil(g / M),
                    D = Math.ceil(C / I),
                    G = O * M - g,
                    X = D * I - C;
                  (G > 0 && (G = M - G),
                    X > 0 && (X = I - X),
                    m < 0 && (O += Math.ceil(Math.abs(m) / M)),
                    x < 0 && (D += Math.ceil(Math.abs(x) / I)));
                  var z = m,
                    K = x,
                    N = !1,
                    b = this.manager.stampCrop.setTo(0, 0, M, I);
                  w || this.beginDraw();
                  for (var R = 0; R < D; R++) {
                    if (K + I < 0) {
                      K += I;
                      continue;
                    }
                    for (var H = 0; H < O; H++) {
                      if (((N = !1), z + M < 0)) {
                        z += M;
                        continue;
                      } else
                        z < 0 &&
                          ((N = !0), (b.width = M + z), (b.x = M - b.width));
                      (K < 0 &&
                        ((N = !0), (b.height = I + K), (b.y = I - b.height)),
                        G > 0 && H === O - 1 && ((N = !0), (b.width = G)),
                        X > 0 && R === D - 1 && ((N = !0), (b.height = X)),
                        N && U.setCrop(b),
                        this.batchGameObject(U, z, K),
                        (U.isCropped = !1),
                        b.setTo(0, 0, M, I),
                        (z += M));
                    }
                    ((z = m), (K += I));
                  }
                  return (
                    w || this.endDraw(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                beginDraw: function () {
                  if (!this.isDrawing) {
                    var f = this.camera,
                      v = this.renderer,
                      m = this.renderTarget;
                    (f.preRender(),
                      m
                        ? v.beginCapture(m.width, m.height)
                        : v.setContext(this.context),
                      (this.isDrawing = !0));
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                batchDraw: function (f, v, m, x, g) {
                  return (
                    Array.isArray(f) || (f = [f]),
                    this.batchList(f, v, m, x, g),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                batchDrawFrame: function (f, v, m, x, g, C) {
                  (m === void 0 && (m = 0),
                    x === void 0 && (x = 0),
                    g === void 0 && (g = 1),
                    C === void 0 && (C = 16777215));
                  var T = this.manager.getFrame(f, v);
                  return (
                    T &&
                      (this.renderTarget
                        ? this.pipeline.batchTextureFrame(
                            T,
                            m,
                            x,
                            C,
                            g,
                            this.camera.matrix,
                            null,
                          )
                        : this.batchTextureFrame(T, m, x, g, C)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                endDraw: function (f) {
                  if ((f === void 0 && (f = this._eraseMode), this.isDrawing)) {
                    var v = this.renderer,
                      m = this.renderTarget;
                    if (m) {
                      var x = v.endCapture(),
                        g = v.pipelines.setUtility();
                      (g.blitFrame(x, m, 1, !1, !1, f, this.isSpriteTexture),
                        v.resetScissor(),
                        v.resetViewport());
                    } else v.setContext();
                    ((this.dirty = !0), (this.isDrawing = !1));
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                batchList: function (f, v, m, x, g) {
                  var C = f.length;
                  if (C !== 0)
                    for (var T = 0; T < C; T++) {
                      var F = f[T];
                      !F ||
                        F === _____WB$wombat$check$this$function_____(this) ||
                        (F.renderWebGL || F.renderCanvas
                          ? this.batchGameObject(F, v, m)
                          : F.isParent || F.list
                            ? this.batchGroup(F.getChildren(), v, m)
                            : typeof F == "string"
                              ? this.batchTextureFrameKey(F, null, v, m, x, g)
                              : F instanceof e
                                ? this.batchTextureFrame(F, v, m, x, g)
                                : Array.isArray(F) &&
                                  this.batchList(F, v, m, x, g));
                    }
                },
                batchGroup: function (f, v, m) {
                  (v === void 0 && (v = 0), m === void 0 && (m = 0));
                  for (var x = 0; x < f.length; x++) {
                    var g = f[x];
                    g.willRender(this.camera) &&
                      this.batchGameObject(g, g.x + v, g.y + m);
                  }
                },
                batchGameObject: function (f, v, m) {
                  (v === void 0 && (v = f.x), m === void 0 && (m = f.y));
                  var x = f.x,
                    g = f.y,
                    C = this.camera,
                    T = this.renderer,
                    F = this._eraseMode,
                    w = f.mask;
                  if ((f.setPosition(v, m), this.canvas)) {
                    if (F) {
                      var U = f.blendMode;
                      f.blendMode = A.ERASE;
                    }
                    (w && w.preRenderCanvas(T, f, C),
                      f.renderCanvas(T, f, C, null),
                      w && w.postRenderCanvas(T, f, C),
                      F && (f.blendMode = U));
                  } else
                    T &&
                      (w && w.preRenderWebGL(T, f, C),
                      F || T.setBlendMode(f.blendMode),
                      f.renderWebGL(T, f, C),
                      w && w.postRenderWebGL(T, C, this.renderTarget));
                  f.setPosition(x, g);
                },
                batchTextureFrameKey: function (f, v, m, x, g, C) {
                  var T = this.manager.getFrame(f, v);
                  T && this.batchTextureFrame(T, m, x, g, C);
                },
                batchTextureFrame: function (f, v, m, x, g) {
                  (v === void 0 && (v = 0),
                    m === void 0 && (m = 0),
                    x === void 0 && (x = 1),
                    g === void 0 && (g = 16777215));
                  var C = this.camera.matrix,
                    T = this.renderTarget;
                  if (T)
                    this.pipeline.batchTextureFrame(f, v, m, g, x, C, null);
                  else {
                    var F = this.context,
                      w = f.canvasData,
                      U = f.source.image;
                    (F.save(),
                      (F.globalCompositeOperation = this._eraseMode
                        ? "destination-out"
                        : "source-over"),
                      (F.globalAlpha = x),
                      C.setToContext(F),
                      w.width > 0 &&
                        w.height > 0 &&
                        F.drawImage(
                          U,
                          w.x,
                          w.y,
                          w.width,
                          w.height,
                          v,
                          m,
                          w.width,
                          w.height,
                        ),
                      F.restore());
                  }
                },
                snapshotArea: function (f, v, m, x, g, C, T) {
                  return (
                    this.renderTarget
                      ? this.renderer.snapshotFramebuffer(
                          this.renderTarget.framebuffer,
                          this.width,
                          this.height,
                          g,
                          !1,
                          f,
                          v,
                          m,
                          x,
                          C,
                          T,
                        )
                      : this.renderer.snapshotCanvas(
                          this.canvas,
                          g,
                          !1,
                          f,
                          v,
                          m,
                          x,
                          C,
                          T,
                        ),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                snapshot: function (f, v, m) {
                  return this.snapshotArea(
                    0,
                    0,
                    this.width,
                    this.height,
                    f,
                    v,
                    m,
                  );
                },
                snapshotPixel: function (f, v, m) {
                  return this.snapshotArea(f, v, 1, 1, m, "pixel");
                },
                getWebGLTexture: function () {
                  if (this.renderTarget) return this.renderTarget.texture;
                },
                renderWebGL: function (f, v, m, x) {
                  var g = this.manager.resetStamp();
                  (g.setTexture(this),
                    g.setOrigin(0),
                    g.renderWebGL(f, g, m, x));
                },
                renderCanvas: function () {},
                destroy: function () {
                  var f = this.manager.stamp;
                  (f &&
                    f.texture ===
                      _____WB$wombat$check$this$function_____(this) &&
                    this.manager.resetStamp(),
                    o.prototype.destroy.call(this),
                    a.remove(this.canvas),
                    this.renderTarget && this.renderTarget.destroy(),
                    this.camera.destroy(),
                    (this.canvas = null),
                    (this.context = null),
                    (this.renderer = null));
                },
              });
            d.exports = l;
          },
          82047: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(82897),
              a = t(98611),
              r = new A({
                initialize: function (e, s, u, i, o, h, l) {
                  ((this.texture = e),
                    (this.name = s),
                    (this.source = e.source[u]),
                    (this.sourceIndex = u),
                    (this.glTexture = this.source.glTexture),
                    this.cutX,
                    this.cutY,
                    this.cutWidth,
                    this.cutHeight,
                    (this.x = 0),
                    (this.y = 0),
                    this.width,
                    this.height,
                    this.halfWidth,
                    this.halfHeight,
                    this.centerX,
                    this.centerY,
                    (this.pivotX = 0),
                    (this.pivotY = 0),
                    (this.customPivot = !1),
                    (this.rotated = !1),
                    (this.autoRound = -1),
                    (this.customData = {}),
                    (this.u0 = 0),
                    (this.v0 = 0),
                    (this.u1 = 0),
                    (this.v1 = 0),
                    (this.data = {
                      cut: { x: 0, y: 0, w: 0, h: 0, r: 0, b: 0 },
                      trim: !1,
                      sourceSize: { w: 0, h: 0 },
                      spriteSourceSize: { x: 0, y: 0, w: 0, h: 0, r: 0, b: 0 },
                      radius: 0,
                      drawImage: { x: 0, y: 0, width: 0, height: 0 },
                      is3Slice: !1,
                      scale9: !1,
                      scale9Borders: { x: 0, y: 0, w: 0, h: 0 },
                    }),
                    this.setSize(h, l, i, o));
                },
                setSize: function (n, e, s, u) {
                  (s === void 0 && (s = 0),
                    u === void 0 && (u = 0),
                    (this.cutX = s),
                    (this.cutY = u),
                    (this.cutWidth = n),
                    (this.cutHeight = e),
                    (this.width = n),
                    (this.height = e),
                    (this.halfWidth = Math.floor(n * 0.5)),
                    (this.halfHeight = Math.floor(e * 0.5)),
                    (this.centerX = Math.floor(n / 2)),
                    (this.centerY = Math.floor(e / 2)));
                  var i = this.data,
                    o = i.cut;
                  ((o.x = s),
                    (o.y = u),
                    (o.w = n),
                    (o.h = e),
                    (o.r = s + n),
                    (o.b = u + e),
                    (i.sourceSize.w = n),
                    (i.sourceSize.h = e),
                    (i.spriteSourceSize.w = n),
                    (i.spriteSourceSize.h = e),
                    (i.radius = 0.5 * Math.sqrt(n * n + e * e)));
                  var h = i.drawImage;
                  return (
                    (h.x = s),
                    (h.y = u),
                    (h.width = n),
                    (h.height = e),
                    this.updateUVs()
                  );
                },
                setTrim: function (n, e, s, u, i, o) {
                  var h = this.data,
                    l = h.spriteSourceSize;
                  return (
                    (h.trim = !0),
                    (h.sourceSize.w = n),
                    (h.sourceSize.h = e),
                    (l.x = s),
                    (l.y = u),
                    (l.w = i),
                    (l.h = o),
                    (l.r = s + i),
                    (l.b = u + o),
                    (this.x = s),
                    (this.y = u),
                    (this.width = i),
                    (this.height = o),
                    (this.halfWidth = i * 0.5),
                    (this.halfHeight = o * 0.5),
                    (this.centerX = Math.floor(i / 2)),
                    (this.centerY = Math.floor(o / 2)),
                    this.updateUVs()
                  );
                },
                setScale9: function (n, e, s, u) {
                  var i = this.data;
                  return (
                    (i.scale9 = !0),
                    (i.is3Slice = e === 0 && u === this.height),
                    (i.scale9Borders.x = n),
                    (i.scale9Borders.y = e),
                    (i.scale9Borders.w = s),
                    (i.scale9Borders.h = u),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setCropUVs: function (n, e, s, u, i, o, h) {
                  var l = this.cutX,
                    f = this.cutY,
                    v = this.cutWidth,
                    m = this.cutHeight,
                    x = this.realWidth,
                    g = this.realHeight;
                  ((e = c(e, 0, x)),
                    (s = c(s, 0, g)),
                    (u = c(u, 0, x - e)),
                    (i = c(i, 0, g - s)));
                  var C = l + e,
                    T = f + s,
                    F = u,
                    w = i,
                    U = this.data;
                  if (U.trim) {
                    var M = U.spriteSourceSize;
                    ((u = c(u, 0, v - e)), (i = c(i, 0, m - s)));
                    var I = e + u,
                      O = s + i,
                      D = !(M.r < e || M.b < s || M.x > I || M.y > O);
                    if (D) {
                      var G = Math.max(M.x, e),
                        X = Math.max(M.y, s),
                        z = Math.min(M.r, I) - G,
                        K = Math.min(M.b, O) - X;
                      ((F = z),
                        (w = K),
                        o ? (C = l + (v - (G - M.x) - z)) : (C = l + (G - M.x)),
                        h ? (T = f + (m - (X - M.y) - K)) : (T = f + (X - M.y)),
                        (e = G),
                        (s = X),
                        (u = z),
                        (i = K));
                    } else ((C = 0), (T = 0), (F = 0), (w = 0));
                  } else
                    (o && (C = l + (v - e - u)), h && (T = f + (m - s - i)));
                  var N = this.source.width,
                    b = this.source.height;
                  return (
                    (n.u0 = Math.max(0, C / N)),
                    (n.v0 = Math.max(0, T / b)),
                    (n.u1 = Math.min(1, (C + F) / N)),
                    (n.v1 = Math.min(1, (T + w) / b)),
                    (n.x = e),
                    (n.y = s),
                    (n.cx = C),
                    (n.cy = T),
                    (n.cw = F),
                    (n.ch = w),
                    (n.width = u),
                    (n.height = i),
                    (n.flipX = o),
                    (n.flipY = h),
                    n
                  );
                },
                updateCropUVs: function (n, e, s) {
                  return this.setCropUVs(n, n.x, n.y, n.width, n.height, e, s);
                },
                setUVs: function (n, e, s, u, i, o) {
                  var h = this.data.drawImage;
                  return (
                    (h.width = n),
                    (h.height = e),
                    (this.u0 = s),
                    (this.v0 = u),
                    (this.u1 = i),
                    (this.v1 = o),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                updateUVs: function () {
                  var n = this.cutX,
                    e = this.cutY,
                    s = this.cutWidth,
                    u = this.cutHeight,
                    i = this.data.drawImage;
                  ((i.width = s), (i.height = u));
                  var o = this.source.width,
                    h = this.source.height;
                  return (
                    (this.u0 = n / o),
                    (this.v0 = e / h),
                    (this.u1 = (n + s) / o),
                    (this.v1 = (e + u) / h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                updateUVsInverted: function () {
                  var n = this.source.width,
                    e = this.source.height;
                  return (
                    (this.u0 = (this.cutX + this.cutHeight) / n),
                    (this.v0 = this.cutY / e),
                    (this.u1 = this.cutX / n),
                    (this.v1 = (this.cutY + this.cutWidth) / e),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                clone: function () {
                  var n = new r(this.texture, this.name, this.sourceIndex);
                  return (
                    (n.cutX = this.cutX),
                    (n.cutY = this.cutY),
                    (n.cutWidth = this.cutWidth),
                    (n.cutHeight = this.cutHeight),
                    (n.x = this.x),
                    (n.y = this.y),
                    (n.width = this.width),
                    (n.height = this.height),
                    (n.halfWidth = this.halfWidth),
                    (n.halfHeight = this.halfHeight),
                    (n.centerX = this.centerX),
                    (n.centerY = this.centerY),
                    (n.rotated = this.rotated),
                    (n.data = a(!0, n.data, this.data)),
                    n.updateUVs(),
                    n
                  );
                },
                destroy: function () {
                  ((this.texture = null),
                    (this.source = null),
                    (this.glTexture = null),
                    (this.customData = null),
                    (this.data = null));
                },
                realWidth: {
                  get: function () {
                    return this.data.sourceSize.w;
                  },
                },
                realHeight: {
                  get: function () {
                    return this.data.sourceSize.h;
                  },
                },
                radius: {
                  get: function () {
                    return this.data.radius;
                  },
                },
                trimmed: {
                  get: function () {
                    return this.data.trim;
                  },
                },
                scale9: {
                  get: function () {
                    return this.data.scale9;
                  },
                },
                is3Slice: {
                  get: function () {
                    return this.data.is3Slice;
                  },
                },
                canvasData: {
                  get: function () {
                    return this.data.drawImage;
                  },
                },
              });
            d.exports = r;
          },
          31673: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(82047),
              a = t(32547),
              r = 'Texture "%s" has no frame "%s"',
              n = new A({
                initialize: function (s, u, i, o, h) {
                  (Array.isArray(i) || (i = [i]),
                    (this.manager = s),
                    (this.key = u),
                    (this.source = []),
                    (this.dataSource = []),
                    (_____WB$wombat$check$this$function_____(this).frames = {}),
                    (this.customData = {}),
                    (this.firstFrame = "__BASE"),
                    (this.frameTotal = 0));
                  for (var l = 0; l < i.length; l++)
                    this.source.push(new a(this, i[l], o, h));
                },
                add: function (e, s, u, i, o, h) {
                  if (this.has(e)) return null;
                  var l = new c(this, e, s, u, i, o, h);
                  return (
                    (_____WB$wombat$check$this$function_____(this).frames[e] =
                      l),
                    this.firstFrame === "__BASE" && (this.firstFrame = e),
                    this.frameTotal++,
                    l
                  );
                },
                remove: function (e) {
                  if (this.has(e)) {
                    var s = this.get(e);
                    return (
                      s.destroy(),
                      delete _____WB$wombat$check$this$function_____(this)
                        .frames[e],
                      !0
                    );
                  }
                  return !1;
                },
                has: function (e) {
                  return _____WB$wombat$check$this$function_____(
                    this,
                  ).frames.hasOwnProperty(e);
                },
                get: function (e) {
                  e || (e = this.firstFrame);
                  var s =
                    _____WB$wombat$check$this$function_____(this).frames[e];
                  return (
                    s ||
                      (console.warn(r, this.key, e),
                      (s =
                        _____WB$wombat$check$this$function_____(this).frames[
                          this.firstFrame
                        ])),
                    s
                  );
                },
                getTextureSourceIndex: function (e) {
                  for (var s = 0; s < this.source.length; s++)
                    if (this.source[s] === e) return s;
                  return -1;
                },
                getFramesFromTextureSource: function (e, s) {
                  s === void 0 && (s = !1);
                  var u = [];
                  for (var i in _____WB$wombat$check$this$function_____(this)
                    .frames)
                    if (!(i === "__BASE" && !s)) {
                      var o =
                        _____WB$wombat$check$this$function_____(this).frames[i];
                      o.sourceIndex === e && u.push(o);
                    }
                  return u;
                },
                getFrameNames: function (e) {
                  e === void 0 && (e = !1);
                  var s = Object.keys(
                    _____WB$wombat$check$this$function_____(this).frames,
                  );
                  if (!e) {
                    var u = s.indexOf("__BASE");
                    u !== -1 && s.splice(u, 1);
                  }
                  return s;
                },
                getSourceImage: function (e) {
                  (e == null || this.frameTotal === 1) && (e = "__BASE");
                  var s =
                    _____WB$wombat$check$this$function_____(this).frames[e];
                  return s
                    ? s.source.image
                    : (console.warn(r, this.key, e),
                      _____WB$wombat$check$this$function_____(this).frames
                        .__BASE.source.image);
                },
                getDataSourceImage: function (e) {
                  (e == null || this.frameTotal === 1) && (e = "__BASE");
                  var s =
                      _____WB$wombat$check$this$function_____(this).frames[e],
                    u;
                  return (
                    s
                      ? (u = s.sourceIndex)
                      : (console.warn(r, this.key, e),
                        (u =
                          _____WB$wombat$check$this$function_____(this).frames
                            .__BASE.sourceIndex)),
                    this.dataSource[u].image
                  );
                },
                setDataSource: function (e) {
                  Array.isArray(e) || (e = [e]);
                  for (var s = 0; s < e.length; s++) {
                    var u = this.source[s];
                    this.dataSource.push(new a(this, e[s], u.width, u.height));
                  }
                },
                setFilter: function (e) {
                  var s;
                  for (s = 0; s < this.source.length; s++)
                    this.source[s].setFilter(e);
                  for (s = 0; s < this.dataSource.length; s++)
                    this.dataSource[s].setFilter(e);
                },
                destroy: function () {
                  var e,
                    s = this.source,
                    u = this.dataSource;
                  for (e = 0; e < s.length; e++) s[e] && s[e].destroy();
                  for (e = 0; e < u.length; e++) u[e] && u[e].destroy();
                  for (var i in _____WB$wombat$check$this$function_____(this)
                    .frames) {
                    var o =
                      _____WB$wombat$check$this$function_____(this).frames[i];
                    o && o.destroy();
                  }
                  ((this.source = []),
                    (this.dataSource = []),
                    (_____WB$wombat$check$this$function_____(this).frames = {}),
                    this.manager.removeKey(this.key),
                    (this.manager = null));
                },
              });
            d.exports = n;
          },
          6237: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(61068),
              c = t(17487),
              a = t(56694),
              r = t(27119),
              n = t(86459),
              e = t(845),
              s = t(6659),
              u = t(38203),
              i = t(82047),
              o = t(97081),
              h = t(52780),
              l = t(10850),
              f = t(1539),
              v = t(42911),
              m = t(69150),
              x = t(74118),
              g = t(31673),
              C = new a({
                Extends: s,
                initialize: function (F) {
                  (s.call(this),
                    (this.game = F),
                    (this.name = "TextureManager"),
                    (this.list = {}),
                    (this._tempCanvas = A.create2D(this)),
                    (this._tempContext = this._tempCanvas.getContext("2d", {
                      willReadFrequently: !0,
                    })),
                    (this._pending = 0),
                    this.stamp,
                    (this.stampCrop = new x()),
                    (this.silentWarnings = !1),
                    F.events.once(
                      o.BOOT,
                      this.boot,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                boot: function () {
                  ((this._pending = 3),
                    this.on(
                      u.LOAD,
                      this.updatePending,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    this.on(
                      u.ERROR,
                      this.updatePending,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                  var T = this.game.config;
                  (this.addBase64("__DEFAULT", T.defaultImage),
                    this.addBase64("__MISSING", T.missingImage),
                    this.addBase64("__WHITE", T.whiteImage),
                    this.game.events.once(
                      o.DESTROY,
                      this.destroy,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    this.game.events.once(
                      o.SYSTEM_READY,
                      function (F) {
                        this.stamp = new f(F).setOrigin(0);
                      },
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                updatePending: function () {
                  (this._pending--,
                    this._pending === 0 &&
                      (this.off(u.LOAD),
                      this.off(u.ERROR),
                      this.emit(u.READY)));
                },
                checkKey: function (T) {
                  return this.exists(T)
                    ? (this.silentWarnings ||
                        console.error("Texture key already in use: " + T),
                      !1)
                    : !0;
                },
                remove: function (T) {
                  if (typeof T == "string")
                    if (this.exists(T)) T = this.get(T);
                    else
                      return (
                        this.silentWarnings ||
                          console.warn("No texture found matching key: " + T),
                        _____WB$wombat$check$this$function_____(this)
                      );
                  var F = T.key;
                  return (
                    this.list.hasOwnProperty(F) &&
                      (T.destroy(),
                      this.emit(u.REMOVE, F),
                      this.emit(u.REMOVE_KEY + F)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                removeKey: function (T) {
                  return (
                    this.list.hasOwnProperty(T) && delete this.list[T],
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                addBase64: function (T, F) {
                  if (this.checkKey(T)) {
                    var w = _____WB$wombat$check$this$function_____(this),
                      U = new Image();
                    ((U.onerror = function () {
                      w.emit(u.ERROR, T);
                    }),
                      (U.onload = function () {
                        var M = w.create(T, U);
                        (m.Image(M, 0),
                          w.emit(u.ADD, T, M),
                          w.emit(u.ADD_KEY + T, M),
                          w.emit(u.LOAD, T, M));
                      }),
                      (U.src = F));
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                getBase64: function (T, F, w, U) {
                  (w === void 0 && (w = "image/png"),
                    U === void 0 && (U = 0.92));
                  var M = "",
                    I = this.getFrame(T, F);
                  if (I && (I.source.isRenderTexture || I.source.isGLTexture))
                    this.silentWarnings ||
                      console.warn("Cannot getBase64 from WebGL Texture");
                  else if (I) {
                    var O = I.canvasData,
                      D = A.create2D(this, O.width, O.height),
                      G = D.getContext("2d", { willReadFrequently: !0 });
                    (O.width > 0 &&
                      O.height > 0 &&
                      G.drawImage(
                        I.source.image,
                        O.x,
                        O.y,
                        O.width,
                        O.height,
                        0,
                        0,
                        O.width,
                        O.height,
                      ),
                      (M = D.toDataURL(w, U)),
                      A.remove(D));
                  }
                  return M;
                },
                addImage: function (T, F, w) {
                  var U = null;
                  return (
                    this.checkKey(T) &&
                      ((U = this.create(T, F)),
                      m.Image(U, 0),
                      w && U.setDataSource(w),
                      this.emit(u.ADD, T, U),
                      this.emit(u.ADD_KEY + T, U)),
                    U
                  );
                },
                addGLTexture: function (T, F, w, U) {
                  var M = null;
                  return (
                    this.checkKey(T) &&
                      (w === void 0 && (w = F.width),
                      U === void 0 && (U = F.height),
                      (M = this.create(T, F, w, U)),
                      M.add("__BASE", 0, 0, 0, w, U),
                      this.emit(u.ADD, T, M),
                      this.emit(u.ADD_KEY + T, M)),
                    M
                  );
                },
                addCompressedTexture: function (T, F, w) {
                  var U = null;
                  if (this.checkKey(T)) {
                    if (
                      ((U = this.create(T, F)),
                      U.add("__BASE", 0, 0, 0, F.width, F.height),
                      w)
                    )
                      if (Array.isArray(w))
                        for (var M = 0; M < w.length; M++)
                          m.JSONHash(U, M, w[M]);
                      else m.JSONHash(U, 0, w);
                    (this.emit(u.ADD, T, U), this.emit(u.ADD_KEY + T, U));
                  }
                  return U;
                },
                addRenderTexture: function (T, F) {
                  var w = null;
                  return (
                    this.checkKey(T) &&
                      ((w = this.create(T, F)),
                      w.add("__BASE", 0, 0, 0, F.width, F.height),
                      this.emit(u.ADD, T, w),
                      this.emit(u.ADD_KEY + T, w)),
                    w
                  );
                },
                generate: function (T, F) {
                  if (this.checkKey(T)) {
                    var w = A.create(this, 1, 1);
                    return ((F.canvas = w), h(F), this.addCanvas(T, w));
                  } else return null;
                },
                createCanvas: function (T, F, w) {
                  if (
                    (F === void 0 && (F = 256),
                    w === void 0 && (w = 256),
                    this.checkKey(T))
                  ) {
                    var U = A.create(this, F, w, n.CANVAS, !0);
                    return this.addCanvas(T, U);
                  }
                  return null;
                },
                addCanvas: function (T, F, w) {
                  w === void 0 && (w = !1);
                  var U = null;
                  return (
                    w
                      ? (U = new c(this, T, F, F.width, F.height))
                      : this.checkKey(T) &&
                        ((U = new c(this, T, F, F.width, F.height)),
                        (this.list[T] = U),
                        this.emit(u.ADD, T, U),
                        this.emit(u.ADD_KEY + T, U)),
                    U
                  );
                },
                addDynamicTexture: function (T, F, w) {
                  var U = null;
                  return (
                    typeof T == "string" && !this.exists(T)
                      ? (U = new e(this, T, F, w))
                      : ((U = T), (T = U.key)),
                    this.checkKey(T)
                      ? ((this.list[T] = U),
                        this.emit(u.ADD, T, U),
                        this.emit(u.ADD_KEY + T, U))
                      : (U = null),
                    U
                  );
                },
                addAtlas: function (T, F, w, U) {
                  return Array.isArray(w.textures) || Array.isArray(w.frames)
                    ? this.addAtlasJSONArray(T, F, w, U)
                    : this.addAtlasJSONHash(T, F, w, U);
                },
                addAtlasJSONArray: function (T, F, w, U) {
                  var M = null;
                  if (
                    (F instanceof g
                      ? ((T = F.key), (M = F))
                      : this.checkKey(T) && (M = this.create(T, F)),
                    M)
                  ) {
                    if (Array.isArray(w))
                      for (
                        var I = w.length === 1, O = 0;
                        O < M.source.length;
                        O++
                      ) {
                        var D = I ? w[0] : w[O];
                        m.JSONArray(M, O, D);
                      }
                    else m.JSONArray(M, 0, w);
                    (U && M.setDataSource(U),
                      this.emit(u.ADD, T, M),
                      this.emit(u.ADD_KEY + T, M));
                  }
                  return M;
                },
                addAtlasJSONHash: function (T, F, w, U) {
                  var M = null;
                  if (
                    (F instanceof g
                      ? ((T = F.key), (M = F))
                      : this.checkKey(T) && (M = this.create(T, F)),
                    M)
                  ) {
                    if (Array.isArray(w))
                      for (var I = 0; I < w.length; I++) m.JSONHash(M, I, w[I]);
                    else m.JSONHash(M, 0, w);
                    (U && M.setDataSource(U),
                      this.emit(u.ADD, T, M),
                      this.emit(u.ADD_KEY + T, M));
                  }
                  return M;
                },
                addAtlasXML: function (T, F, w, U) {
                  var M = null;
                  return (
                    F instanceof g
                      ? ((T = F.key), (M = F))
                      : this.checkKey(T) && (M = this.create(T, F)),
                    M &&
                      (m.AtlasXML(M, 0, w),
                      U && M.setDataSource(U),
                      this.emit(u.ADD, T, M),
                      this.emit(u.ADD_KEY + T, M)),
                    M
                  );
                },
                addUnityAtlas: function (T, F, w, U) {
                  var M = null;
                  return (
                    F instanceof g
                      ? ((T = F.key), (M = F))
                      : this.checkKey(T) && (M = this.create(T, F)),
                    M &&
                      (m.UnityYAML(M, 0, w),
                      U && M.setDataSource(U),
                      this.emit(u.ADD, T, M),
                      this.emit(u.ADD_KEY + T, M)),
                    M
                  );
                },
                addSpriteSheet: function (T, F, w, U) {
                  var M = null;
                  if (
                    (F instanceof g
                      ? ((T = F.key), (M = F))
                      : this.checkKey(T) && (M = this.create(T, F)),
                    M)
                  ) {
                    var I = M.source[0].width,
                      O = M.source[0].height;
                    (m.SpriteSheet(M, 0, 0, 0, I, O, w),
                      U && M.setDataSource(U),
                      this.emit(u.ADD, T, M),
                      this.emit(u.ADD_KEY + T, M));
                  }
                  return M;
                },
                addSpriteSheetFromAtlas: function (T, F) {
                  if (!this.checkKey(T)) return null;
                  var w = l(F, "atlas", null),
                    U = l(F, "frame", null);
                  if (!(!w || !U)) {
                    var M = this.get(w),
                      I = M.get(U);
                    if (I) {
                      var O = this.create(T, I.source.image);
                      return (
                        I.trimmed
                          ? m.SpriteSheetFromAtlas(O, I, F)
                          : m.SpriteSheet(
                              O,
                              0,
                              I.cutX,
                              I.cutY,
                              I.cutWidth,
                              I.cutHeight,
                              F,
                            ),
                        this.emit(u.ADD, T, O),
                        this.emit(u.ADD_KEY + T, O),
                        O
                      );
                    }
                  }
                },
                create: function (T, F, w, U) {
                  var M = null;
                  return (
                    this.checkKey(T) &&
                      ((M = new g(this, T, F, w, U)), (this.list[T] = M)),
                    M
                  );
                },
                exists: function (T) {
                  return this.list.hasOwnProperty(T);
                },
                get: function (T) {
                  return (
                    T === void 0 && (T = "__DEFAULT"),
                    this.list[T]
                      ? this.list[T]
                      : T instanceof g
                        ? T
                        : T instanceof i
                          ? T.texture
                          : this.list.__MISSING
                  );
                },
                cloneFrame: function (T, F) {
                  if (this.list[T]) return this.list[T].get(F).clone();
                },
                getFrame: function (T, F) {
                  if (this.list[T]) return this.list[T].get(F);
                },
                parseFrame: function (T) {
                  if (T) {
                    if (typeof T == "string") return this.getFrame(T);
                    if (Array.isArray(T) && T.length === 2)
                      return this.getFrame(T[0], T[1]);
                    if (v(T)) return this.getFrame(T.key, T.frame);
                    if (T instanceof g) return T.get();
                    if (T instanceof i) return T;
                  } else return;
                },
                getTextureKeys: function () {
                  var T = [];
                  for (var F in this.list)
                    F !== "__DEFAULT" &&
                      F !== "__MISSING" &&
                      F !== "__WHITE" &&
                      T.push(F);
                  return T;
                },
                getPixel: function (T, F, w, U) {
                  var M = this.getFrame(w, U);
                  if (M) {
                    ((T -= M.x), (F -= M.y));
                    var I = M.data.cut;
                    if (
                      ((T += I.x),
                      (F += I.y),
                      T >= I.x && T < I.r && F >= I.y && F < I.b)
                    ) {
                      var O = this._tempContext;
                      (O.clearRect(0, 0, 1, 1),
                        O.drawImage(M.source.image, T, F, 1, 1, 0, 0, 1, 1));
                      var D = O.getImageData(0, 0, 1, 1);
                      return new r(D.data[0], D.data[1], D.data[2], D.data[3]);
                    }
                  }
                  return null;
                },
                getPixelAlpha: function (T, F, w, U) {
                  var M = this.getFrame(w, U);
                  if (M) {
                    ((T -= M.x), (F -= M.y));
                    var I = M.data.cut;
                    if (
                      ((T += I.x),
                      (F += I.y),
                      T >= I.x && T < I.r && F >= I.y && F < I.b)
                    ) {
                      var O = this._tempContext;
                      (O.clearRect(0, 0, 1, 1),
                        O.drawImage(M.source.image, T, F, 1, 1, 0, 0, 1, 1));
                      var D = O.getImageData(0, 0, 1, 1);
                      return D.data[3];
                    }
                  }
                  return null;
                },
                setTexture: function (T, F, w) {
                  return (
                    this.list[F] &&
                      ((T.texture = this.list[F]),
                      (T.frame = T.texture.get(w))),
                    T
                  );
                },
                renameTexture: function (T, F) {
                  var w = this.get(T);
                  return w && T !== F
                    ? ((w.key = F), (this.list[F] = w), delete this.list[T], !0)
                    : !1;
                },
                each: function (T, F) {
                  for (var w = [null], U = 1; U < arguments.length; U++)
                    w.push(arguments[U]);
                  for (var M in this.list)
                    ((w[0] = this.list[M]), T.apply(F, w));
                },
                resetStamp: function (T, F) {
                  (T === void 0 && (T = 1), F === void 0 && (F = 16777215));
                  var w = this.stamp;
                  return (
                    w.setCrop(),
                    w.setPosition(0),
                    w.setAngle(0),
                    w.setScale(1),
                    w.setAlpha(T),
                    w.setTint(F),
                    w.setTexture("__WHITE"),
                    w
                  );
                },
                destroy: function () {
                  for (var T in this.list) this.list[T].destroy();
                  ((this.list = {}),
                    this.stamp.destroy(),
                    (this.game = null),
                    (this.stamp = null),
                    A.remove(this._tempCanvas));
                },
              });
            d.exports = C;
          },
          32547: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(61068),
              c = t(56694),
              a = t(28621),
              r = t(27394),
              n = new c({
                initialize: function (s, u, i, o, h) {
                  h === void 0 && (h = !1);
                  var l = s.manager.game;
                  ((this.renderer = l.renderer),
                    (this.texture = s),
                    (this.source = u),
                    (this.image = u.compressed ? null : u),
                    (this.compressionAlgorithm = u.compressed
                      ? u.format
                      : null),
                    (this.resolution = 1),
                    (this.width =
                      i || u.naturalWidth || u.videoWidth || u.width || 0),
                    (this.height =
                      o || u.naturalHeight || u.videoHeight || u.height || 0),
                    (this.scaleMode = r.DEFAULT),
                    (this.isCanvas = u instanceof HTMLCanvasElement),
                    (this.isVideo =
                      window.hasOwnProperty("HTMLVideoElement") &&
                      u instanceof HTMLVideoElement),
                    (this.isRenderTexture =
                      u.type === "RenderTexture" ||
                      u.type === "DynamicTexture"),
                    (this.isGLTexture =
                      window.hasOwnProperty("WebGLTexture") &&
                      u instanceof WebGLTexture),
                    (this.isPowerOf2 = a(this.width, this.height)),
                    (this.glTexture = null),
                    (this.flipY = h),
                    this.init(l));
                },
                init: function (e) {
                  var s = this.renderer;
                  if (s) {
                    var u = this.source;
                    if (s.gl) {
                      var i = this.image,
                        o = this.flipY,
                        h = this.width,
                        l = this.height,
                        f = this.scaleMode;
                      this.isCanvas
                        ? (this.glTexture = s.createCanvasTexture(i, !1, o))
                        : this.isVideo
                          ? (this.glTexture = s.createVideoTexture(i, !1, o))
                          : this.isRenderTexture
                            ? (this.glTexture = s.createTextureFromSource(
                                null,
                                h,
                                l,
                                f,
                              ))
                            : this.isGLTexture
                              ? (this.glTexture = u)
                              : this.compressionAlgorithm
                                ? (this.glTexture =
                                    s.createTextureFromSource(u))
                                : (this.glTexture = s.createTextureFromSource(
                                    i,
                                    h,
                                    l,
                                    f,
                                  ));
                    } else this.isRenderTexture && (this.image = u.canvas);
                  }
                  e.config.antialias || this.setFilter(1);
                },
                setFilter: function (e) {
                  (this.renderer &&
                    this.renderer.gl &&
                    this.renderer.setTextureFilter(this.glTexture, e),
                    (this.scaleMode = e));
                },
                setFlipY: function (e) {
                  return (
                    e === void 0 && (e = !0),
                    (this.flipY = e),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                update: function () {
                  var e = this.renderer,
                    s = this.image,
                    u = this.flipY,
                    i = e.gl;
                  i && this.isCanvas
                    ? (this.glTexture = e.updateCanvasTexture(
                        s,
                        this.glTexture,
                        u,
                      ))
                    : i &&
                      this.isVideo &&
                      (this.glTexture = e.updateVideoTexture(
                        s,
                        this.glTexture,
                        u,
                      ));
                },
                destroy: function () {
                  (this.glTexture &&
                    this.renderer.deleteTexture(this.glTexture),
                    this.isCanvas && A.remove(this.image),
                    (this.renderer = null),
                    (this.texture = null),
                    (this.source = null),
                    (this.image = null),
                    (this.glTexture = null));
                },
              });
            d.exports = n;
          },
          65154: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = { LINEAR: 0, NEAREST: 1 };
            d.exports = y;
          },
          49644: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "addtexture";
          },
          29569: (d) => {
            /**
             * @author       samme
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "addtexture-";
          },
          60079: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "onerror";
          },
          72665: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "onload";
          },
          93006: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "ready";
          },
          69018: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "removetexture";
          },
          85549: (d) => {
            /**
             * @author       samme
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "removetexture-";
          },
          38203: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              ADD: t(49644),
              ADD_KEY: t(29569),
              ERROR: t(60079),
              LOAD: t(72665),
              READY: t(93006),
              REMOVE: t(69018),
              REMOVE_KEY: t(85549),
            };
          },
          87499: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(98611),
              c = t(65154),
              a = {
                CanvasTexture: t(17487),
                DynamicTexture: t(845),
                Events: t(38203),
                FilterMode: c,
                Frame: t(82047),
                Parsers: t(69150),
                Texture: t(31673),
                TextureManager: t(6237),
                TextureSource: t(32547),
              };
            ((a = A(!1, a, c)), (d.exports = a));
          },
          35082: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              if (!c.getElementsByTagName("TextureAtlas")) {
                console.warn("Invalid Texture Atlas XML given");
                return;
              }
              var a = t.source[A];
              t.add("__BASE", A, 0, 0, a.width, a.height);
              for (
                var r = c.getElementsByTagName("SubTexture"), n, e = 0;
                e < r.length;
                e++
              ) {
                var s = r[e].attributes,
                  u = s.name.value,
                  i = parseInt(s.x.value, 10),
                  o = parseInt(s.y.value, 10),
                  h = parseInt(s.width.value, 10),
                  l = parseInt(s.height.value, 10);
                if (((n = t.add(u, A, i, o, h, l)), s.frameX)) {
                  var f = Math.abs(parseInt(s.frameX.value, 10)),
                    v = Math.abs(parseInt(s.frameY.value, 10)),
                    m = parseInt(s.frameWidth.value, 10),
                    x = parseInt(s.frameHeight.value, 10);
                  n.setTrim(h, l, f, v, m, x);
                }
              }
              return t;
            };
            d.exports = y;
          },
          83332: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              var c = t.source[A];
              return (t.add("__BASE", A, 0, 0, c.width, c.height), t);
            };
            d.exports = y;
          },
          21560: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              var c = t.source[A];
              return (t.add("__BASE", A, 0, 0, c.width, c.height), t);
            };
            d.exports = y;
          },
          64423: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(32742),
              c = function (a, r, n) {
                if (!n.frames && !n.textures) {
                  console.warn("Invalid Texture Atlas JSON Array");
                  return;
                }
                var e = a.source[r];
                a.add("__BASE", r, 0, 0, e.width, e.height);
                for (
                  var s = Array.isArray(n.textures)
                      ? n.textures[r].frames
                      : n.frames,
                    u,
                    i = 0;
                  i < s.length;
                  i++
                ) {
                  var o = s[i];
                  if (
                    ((u = a.add(
                      o.filename,
                      r,
                      o.frame.x,
                      o.frame.y,
                      o.frame.w,
                      o.frame.h,
                    )),
                    !u)
                  ) {
                    console.warn(
                      "Invalid atlas json, frame already exists: " + o.filename,
                    );
                    continue;
                  }
                  (o.trimmed &&
                    u.setTrim(
                      o.sourceSize.w,
                      o.sourceSize.h,
                      o.spriteSourceSize.x,
                      o.spriteSourceSize.y,
                      o.spriteSourceSize.w,
                      o.spriteSourceSize.h,
                    ),
                    o.rotated && ((u.rotated = !0), u.updateUVsInverted()));
                  var h = o.anchor || o.pivot;
                  (h &&
                    ((u.customPivot = !0), (u.pivotX = h.x), (u.pivotY = h.y)),
                    o.scale9Borders &&
                      u.setScale9(
                        o.scale9Borders.x,
                        o.scale9Borders.y,
                        o.scale9Borders.w,
                        o.scale9Borders.h,
                      ),
                    (u.customData = A(o)));
                }
                for (var l in n)
                  l !== "frames" &&
                    (Array.isArray(n[l])
                      ? (a.customData[l] = n[l].slice(0))
                      : (a.customData[l] = n[l]));
                return a;
              };
            d.exports = c;
          },
          17264: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(32742),
              c = function (a, r, n) {
                if (!n.frames) {
                  console.warn(
                    "Invalid Texture Atlas JSON Hash given, missing 'frames' Object",
                  );
                  return;
                }
                var e = a.source[r];
                a.add("__BASE", r, 0, 0, e.width, e.height);
                var s = n.frames,
                  u;
                for (var i in s)
                  if (s.hasOwnProperty(i)) {
                    var o = s[i];
                    if (
                      ((u = a.add(
                        i,
                        r,
                        o.frame.x,
                        o.frame.y,
                        o.frame.w,
                        o.frame.h,
                      )),
                      !u)
                    ) {
                      console.warn(
                        "Invalid atlas json, frame already exists: " + i,
                      );
                      continue;
                    }
                    (o.trimmed &&
                      u.setTrim(
                        o.sourceSize.w,
                        o.sourceSize.h,
                        o.spriteSourceSize.x,
                        o.spriteSourceSize.y,
                        o.spriteSourceSize.w,
                        o.spriteSourceSize.h,
                      ),
                      o.rotated && ((u.rotated = !0), u.updateUVsInverted()));
                    var h = o.anchor || o.pivot;
                    (h &&
                      ((u.customPivot = !0),
                      (u.pivotX = h.x),
                      (u.pivotY = h.y)),
                      o.scale9Borders &&
                        u.setScale9(
                          o.scale9Borders.x,
                          o.scale9Borders.y,
                          o.scale9Borders.w,
                          o.scale9Borders.h,
                        ),
                      (u.customData = A(o)));
                  }
                for (var l in n)
                  l !== "frames" &&
                    (Array.isArray(n[l])
                      ? (a.customData[l] = n[l].slice(0))
                      : (a.customData[l] = n[l]));
                return a;
              };
            d.exports = c;
          },
          67409: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2021 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              var A = [171, 75, 84, 88, 32, 49, 49, 187, 13, 10, 26, 10],
                c,
                a = new Uint8Array(t, 0, 12);
              for (c = 0; c < a.length; c++)
                if (a[c] !== A[c]) {
                  console.warn("KTXParser - Invalid file format");
                  return;
                }
              var r = Uint32Array.BYTES_PER_ELEMENT,
                n = new DataView(t, 12, 13 * r),
                e = n.getUint32(0, !0) === 67305985,
                s = n.getUint32(1 * r, e);
              if (s !== 0) {
                console.warn("KTXParser - Only compressed formats supported");
                return;
              }
              var u = n.getUint32(4 * r, e),
                i = n.getUint32(6 * r, e),
                o = n.getUint32(7 * r, e),
                h = Math.max(1, n.getUint32(11 * r, e)),
                l = n.getUint32(12 * r, e),
                f = new Array(h),
                v = 12 + 13 * 4 + l,
                m = i,
                x = o;
              for (c = 0; c < h; c++) {
                var g = new Int32Array(t, v, 1)[0];
                ((v += 4),
                  (f[c] = {
                    data: new Uint8Array(t, v, g),
                    width: m,
                    height: x,
                  }),
                  (m = Math.max(1, m >> 1)),
                  (x = Math.max(1, x >> 1)),
                  (v += g));
              }
              return {
                mipmaps: f,
                width: i,
                height: o,
                internalFormat: u,
                compressed: !0,
                generateMipmap: !1,
              };
            };
            d.exports = y;
          },
          24904: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2021 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ function y(T, F, w, U, M, I, O) {
              return (
                O === void 0 && (O = 16),
                Math.floor((T + w) / M) * Math.floor((F + U) / I) * O
              );
            }
            function t(T, F) {
              return ((T = Math.max(T, 16)), (F = Math.max(F, 8)), (T * F) / 4);
            }
            function A(T, F) {
              return ((T = Math.max(T, 8)), (F = Math.max(F, 8)), (T * F) / 2);
            }
            function c(T, F) {
              return y(T, F, 3, 3, 4, 4, 8);
            }
            function a(T, F) {
              return y(T, F, 3, 3, 4, 4);
            }
            function r(T, F) {
              return y(T, F, 4, 3, 5, 4);
            }
            function n(T, F) {
              return y(T, F, 4, 4, 5, 5);
            }
            function e(T, F) {
              return y(T, F, 5, 4, 6, 5);
            }
            function s(T, F) {
              return y(T, F, 5, 5, 6, 6);
            }
            function u(T, F) {
              return y(T, F, 7, 4, 8, 5);
            }
            function i(T, F) {
              return y(T, F, 7, 5, 8, 6);
            }
            function o(T, F) {
              return y(T, F, 7, 7, 8, 8);
            }
            function h(T, F) {
              return y(T, F, 9, 4, 10, 5);
            }
            function l(T, F) {
              return y(T, F, 9, 5, 10, 6);
            }
            function f(T, F) {
              return y(T, F, 9, 7, 10, 8);
            }
            function v(T, F) {
              return y(T, F, 9, 9, 10, 10);
            }
            function m(T, F) {
              return y(T, F, 11, 9, 12, 10);
            }
            function x(T, F) {
              return y(T, F, 11, 11, 12, 12);
            }
            var g = {
                0: { sizeFunc: t, glFormat: 35841 },
                1: { sizeFunc: t, glFormat: 35843 },
                2: { sizeFunc: A, glFormat: 35840 },
                3: { sizeFunc: A, glFormat: 35842 },
                6: { sizeFunc: c, glFormat: 36196 },
                7: { sizeFunc: c, glFormat: 33776 },
                8: { sizeFunc: a, glFormat: 33777 },
                9: { sizeFunc: a, glFormat: 33778 },
                11: { sizeFunc: a, glFormat: 33779 },
                22: { sizeFunc: c, glFormat: 37492 },
                23: { sizeFunc: a, glFormat: 37496 },
                24: { sizeFunc: c, glFormat: 37494 },
                25: { sizeFunc: c, glFormat: 37488 },
                26: { sizeFunc: a, glFormat: 37490 },
                27: { sizeFunc: a, glFormat: 37808 },
                28: { sizeFunc: r, glFormat: 37809 },
                29: { sizeFunc: n, glFormat: 37810 },
                30: { sizeFunc: e, glFormat: 37811 },
                31: { sizeFunc: s, glFormat: 37812 },
                32: { sizeFunc: u, glFormat: 37813 },
                33: { sizeFunc: i, glFormat: 37814 },
                34: { sizeFunc: o, glFormat: 37815 },
                35: { sizeFunc: h, glFormat: 37816 },
                36: { sizeFunc: l, glFormat: 37817 },
                37: { sizeFunc: f, glFormat: 37818 },
                38: { sizeFunc: v, glFormat: 37819 },
                39: { sizeFunc: m, glFormat: 37820 },
                40: { sizeFunc: x, glFormat: 37821 },
              },
              C = function (T) {
                for (
                  var F = new Uint32Array(T, 0, 13),
                    w = F[2],
                    U = g[w].glFormat,
                    M = g[w].sizeFunc,
                    I = F[11],
                    O = F[7],
                    D = F[6],
                    G = 52 + F[12],
                    X = new Uint8Array(T, G),
                    z = new Array(I),
                    K = 0,
                    N = O,
                    b = D,
                    R = 0;
                  R < I;
                  R++
                ) {
                  var H = M(N, b);
                  ((z[R] = {
                    data: new Uint8Array(X.buffer, X.byteOffset + K, H),
                    width: N,
                    height: b,
                  }),
                    (N = Math.max(1, N >> 1)),
                    (b = Math.max(1, b >> 1)),
                    (K += H));
                }
                return {
                  mipmaps: z,
                  width: O,
                  height: D,
                  internalFormat: U,
                  compressed: !0,
                  generateMipmap: !1,
                };
              };
            d.exports = C;
          },
          6143: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72632),
              c = function (a, r, n, e, s, u, i) {
                var o = A(i, "frameWidth", null),
                  h = A(i, "frameHeight", o);
                if (o === null)
                  throw new Error(
                    "TextureManager.SpriteSheet: Invalid frameWidth given.",
                  );
                var l = a.source[r];
                a.add("__BASE", r, 0, 0, l.width, l.height);
                var f = A(i, "startFrame", 0),
                  v = A(i, "endFrame", -1),
                  m = A(i, "margin", 0),
                  x = A(i, "spacing", 0),
                  g = Math.floor((s - m + x) / (o + x)),
                  C = Math.floor((u - m + x) / (h + x)),
                  T = g * C;
                (T === 0 &&
                  console.warn(
                    "SpriteSheet frame dimensions will result in zero frames for texture:",
                    a.key,
                  ),
                  (f > T || f < -T) && (f = 0),
                  f < 0 && (f = T + f),
                  (v === -1 || v > T || v < f) && (v = T));
                for (var F = m, w = m, U = 0, M = 0, I = 0, O = 0; O < T; O++) {
                  ((U = 0), (M = 0));
                  var D = F + o,
                    G = w + h;
                  (D > s && (U = D - s),
                    G > u && (M = G - u),
                    O >= f &&
                      O <= v &&
                      (a.add(I, r, n + F, e + w, o - U, h - M), I++),
                    (F += o + x),
                    F + o > s && ((F = m), (w += h + x)));
                }
                return a;
              };
            d.exports = c;
          },
          20030: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72632),
              c = function (a, r, n) {
                var e = A(n, "frameWidth", null),
                  s = A(n, "frameHeight", e);
                if (!e)
                  throw new Error(
                    "TextureManager.SpriteSheetFromAtlas: Invalid frameWidth given.",
                  );
                var u = a.source[0];
                (a.add("__BASE", 0, 0, 0, u.width, u.height),
                  A(n, "startFrame", 0),
                  A(n, "endFrame", -1));
                for (
                  var i = A(n, "margin", 0),
                    o = A(n, "spacing", 0),
                    h = r.cutX,
                    l = r.cutY,
                    f = r.cutWidth,
                    v = r.cutHeight,
                    m = r.realWidth,
                    x = r.realHeight,
                    g = Math.floor((m - i + o) / (e + o)),
                    C = Math.floor((x - i + o) / (s + o)),
                    T = r.x,
                    F = e - T,
                    w = e - (m - f - T),
                    U = r.y,
                    M = s - U,
                    I = s - (x - v - U),
                    O,
                    D = i,
                    G = i,
                    X = 0,
                    z = 0,
                    K = 0;
                  K < C;
                  K++
                ) {
                  for (var N = K === 0, b = K === C - 1, R = 0; R < g; R++) {
                    var H = R === 0,
                      Q = R === g - 1;
                    if (
                      ((O = a.add(X, z, h + D, l + G, e, s)), H || N || Q || b)
                    ) {
                      var V = H ? T : 0,
                        Y = N ? U : 0,
                        J = 0,
                        $ = 0;
                      (H && (J += e - F),
                        Q && (J += e - w),
                        N && ($ += s - M),
                        b && ($ += s - I));
                      var W = e - J,
                        Z = s - $;
                      ((O.cutWidth = W),
                        (O.cutHeight = Z),
                        O.setTrim(e, s, V, Y, W, Z));
                    }
                    ((D += o), H ? (D += F) : Q ? (D += w) : (D += e), X++);
                  }
                  ((D = i), (G += o), N ? (G += M) : b ? (G += I) : (G += s));
                }
                return a;
              };
            d.exports = c;
          },
          89187: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = 0,
              t = function (c, a, r, n) {
                var e = y - n.y - n.height;
                c.add(r, a, n.x, e, n.width, n.height);
              },
              A = function (c, a, r) {
                var n = c.source[a];
                (c.add("__BASE", a, 0, 0, n.width, n.height), (y = n.height));
                for (
                  var e = r.split(`
`),
                    s = /^[ ]*(- )*(\w+)+[: ]+(.*)/,
                    u = "",
                    i = "",
                    o = { x: 0, y: 0, width: 0, height: 0 },
                    h = 0;
                  h < e.length;
                  h++
                ) {
                  var l = e[h].match(s);
                  if (l) {
                    var f = l[1] === "- ",
                      v = l[2],
                      m = l[3];
                    if (
                      (f &&
                        (i !== u && (t(c, a, i, o), (u = i)),
                        (o = { x: 0, y: 0, width: 0, height: 0 })),
                      v === "name")
                    ) {
                      i = m;
                      continue;
                    }
                    switch (v) {
                      case "x":
                      case "y":
                      case "width":
                      case "height":
                        o[v] = parseInt(m, 10);
                        break;
                    }
                  }
                }
                return (i !== u && t(c, a, i, o), c);
              };
            d.exports = A;
          },
          69150: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              AtlasXML: t(35082),
              Canvas: t(83332),
              Image: t(21560),
              JSONArray: t(64423),
              JSONHash: t(17264),
              KTXParser: t(67409),
              PVRParser: t(24904),
              SpriteSheet: t(6143),
              SpriteSheetFromAtlas: t(20030),
              UnityYAML: t(89187),
            };
          },
          93560: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              CSV: 0,
              TILED_JSON: 1,
              ARRAY_2D: 2,
              WELTMEISTER: 3,
            };
          },
          97042: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = new A({
                initialize: function (r, n, e, s, u, i, o) {
                  ((e === void 0 || e <= 0) && (e = 32),
                    (s === void 0 || s <= 0) && (s = 32),
                    u === void 0 && (u = 0),
                    i === void 0 && (i = 0),
                    (this.name = r),
                    (this.firstgid = n | 0),
                    (this.imageWidth = e | 0),
                    (this.imageHeight = s | 0),
                    (this.imageMargin = u | 0),
                    (this.imageSpacing = i | 0),
                    (this.properties = o || {}),
                    (this.images = []),
                    (this.total = 0));
                },
                containsImageIndex: function (a) {
                  return a >= this.firstgid && a < this.firstgid + this.total;
                },
                addImage: function (a, r) {
                  return (
                    this.images.push({ gid: a, image: r }),
                    this.total++,
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
              });
            d.exports = c;
          },
          46422: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2021 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = new A({
                initialize: function (r) {
                  if (((this.gids = []), r !== void 0))
                    for (var n = 0; n < r.length; ++n)
                      for (var e = r[n], s = 0; s < e.total; ++s)
                        this.gids[e.firstgid + s] = e;
                  this._gids = this.gids;
                },
                enabled: {
                  get: function () {
                    return !!this.gids;
                  },
                  set: function (a) {
                    this.gids = a ? this._gids : void 0;
                  },
                },
                getTypeIncludingTile: function (a) {
                  if (a.type !== void 0 && a.type !== "") return a.type;
                  if (!(!this.gids || a.gid === void 0)) {
                    var r = this.gids[a.gid];
                    if (r) {
                      var n = r.getTileData(a.gid);
                      if (n) return n.type;
                    }
                  }
                },
                setTextureAndFrame: function (a, r, n, e) {
                  if (r === null && this.gids && e.gid !== void 0) {
                    var s = this.gids[e.gid];
                    s &&
                      (r === null && s.image !== void 0 && (r = s.image.key),
                      n === null && (n = e.gid - s.firstgid),
                      a.scene.textures.getFrame(r, n) ||
                        ((r = null), (n = null)));
                  }
                  a.setTexture(r, n);
                },
                setPropertiesFromTiledObject: function (a, r) {
                  if (this.gids !== void 0 && r.gid !== void 0) {
                    var n = this.gids[r.gid];
                    n !== void 0 &&
                      this.setFromJSON(a, n.getTileProperties(r.gid));
                  }
                  this.setFromJSON(a, r.properties);
                },
                setFromJSON: function (a, r) {
                  if (r) {
                    if (Array.isArray(r)) {
                      for (var n = 0; n < r.length; n++) {
                        var e = r[n];
                        a[e.name] !== void 0
                          ? (a[e.name] = e.value)
                          : a.setData(e.name, e.value);
                      }
                      return;
                    }
                    for (var s in r)
                      a[s] !== void 0 ? (a[s] = r[s]) : a.setData(s, r[s]);
                  }
                },
              });
            d.exports = c;
          },
          15043: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(93560),
              c = t(16586),
              a = t(90715),
              r = t(89797),
              n = function (e, s, u, i, o, h, l, f) {
                (u === void 0 && (u = 32),
                  i === void 0 && (i = 32),
                  o === void 0 && (o = 10),
                  h === void 0 && (h = 10),
                  f === void 0 && (f = !1));
                var v = null;
                if (Array.isArray(l)) {
                  var m = s !== void 0 ? s : "map";
                  v = a(m, A.ARRAY_2D, l, u, i, f);
                } else if (s !== void 0) {
                  var x = e.cache.tilemap.get(s);
                  x
                    ? (v = a(s, x.format, x.data, u, i, f))
                    : console.warn("No map data found for key " + s);
                }
                return (
                  v === null &&
                    (v = new c({
                      tileWidth: u,
                      tileHeight: i,
                      width: o,
                      height: h,
                    })),
                  new r(e, v)
                );
              };
            d.exports = n;
          },
          29633: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(64937),
              a = t(12920),
              r = t(28699),
              n = t(66658),
              e = new A({
                Mixins: [c.AlphaSingle, c.Flip, c.Visible],
                initialize: function (u, i, o, h, l, f, v, m) {
                  ((this.layer = u),
                    (this.index = i),
                    (this.x = o),
                    (this.y = h),
                    (this.width = l),
                    (this.height = f),
                    this.right,
                    this.bottom,
                    (this.baseWidth = v !== void 0 ? v : l),
                    (this.baseHeight = m !== void 0 ? m : f),
                    (this.pixelX = 0),
                    (this.pixelY = 0),
                    this.updatePixelXY(),
                    (this.properties = {}),
                    (this.rotation = 0),
                    (this.collideLeft = !1),
                    (this.collideRight = !1),
                    (this.collideUp = !1),
                    (this.collideDown = !1),
                    (this.faceLeft = !1),
                    (this.faceRight = !1),
                    (this.faceTop = !1),
                    (this.faceBottom = !1),
                    (this.collisionCallback = void 0),
                    (this.collisionCallbackContext =
                      _____WB$wombat$check$this$function_____(this)),
                    (this.tint = 16777215),
                    (this.tintFill = !1),
                    (this.physics = {}));
                },
                containsPoint: function (s, u) {
                  return !(
                    s < this.pixelX ||
                    u < this.pixelY ||
                    s > this.right ||
                    u > this.bottom
                  );
                },
                copy: function (s) {
                  return (
                    (this.index = s.index),
                    (this.alpha = s.alpha),
                    (this.properties = r(s.properties)),
                    (this.visible = s.visible),
                    this.setFlip(s.flipX, s.flipY),
                    (this.tint = s.tint),
                    (this.rotation = s.rotation),
                    (this.collideUp = s.collideUp),
                    (this.collideDown = s.collideDown),
                    (this.collideLeft = s.collideLeft),
                    (this.collideRight = s.collideRight),
                    (this.collisionCallback = s.collisionCallback),
                    (this.collisionCallbackContext =
                      s.collisionCallbackContext),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getCollisionGroup: function () {
                  return this.tileset
                    ? this.tileset.getTileCollisionGroup(this.index)
                    : null;
                },
                getTileData: function () {
                  return this.tileset
                    ? this.tileset.getTileData(this.index)
                    : null;
                },
                getLeft: function (s) {
                  var u = this.tilemapLayer;
                  if (u) {
                    var i = u.tileToWorldXY(this.x, this.y, void 0, s);
                    return i.x;
                  }
                  return this.x * this.baseWidth;
                },
                getRight: function (s) {
                  var u = this.tilemapLayer;
                  return u
                    ? this.getLeft(s) + this.width * u.scaleX
                    : this.getLeft(s) + this.width;
                },
                getTop: function (s) {
                  var u = this.tilemapLayer;
                  if (u) {
                    var i = u.tileToWorldXY(this.x, this.y, void 0, s);
                    return i.y;
                  }
                  return (
                    this.y * this.baseWidth - (this.height - this.baseHeight)
                  );
                },
                getBottom: function (s) {
                  var u = this.tilemapLayer;
                  return u
                    ? this.getTop(s) + this.height * u.scaleY
                    : this.getTop(s) + this.height;
                },
                getBounds: function (s, u) {
                  return (
                    u === void 0 && (u = new n()),
                    (u.x = this.getLeft(s)),
                    (u.y = this.getTop(s)),
                    (u.width = this.getRight(s) - u.x),
                    (u.height = this.getBottom(s) - u.y),
                    u
                  );
                },
                getCenterX: function (s) {
                  return (this.getLeft(s) + this.getRight(s)) / 2;
                },
                getCenterY: function (s) {
                  return (this.getTop(s) + this.getBottom(s)) / 2;
                },
                intersects: function (s, u, i, o) {
                  return !(
                    i <= this.pixelX ||
                    o <= this.pixelY ||
                    s >= this.right ||
                    u >= this.bottom
                  );
                },
                isInteresting: function (s, u) {
                  return s && u
                    ? this.canCollide || this.hasInterestingFace
                    : s
                      ? this.collides
                      : u
                        ? this.hasInterestingFace
                        : !1;
                },
                resetCollision: function (s) {
                  if (
                    (s === void 0 && (s = !0),
                    (this.collideLeft = !1),
                    (this.collideRight = !1),
                    (this.collideUp = !1),
                    (this.collideDown = !1),
                    (this.faceTop = !1),
                    (this.faceBottom = !1),
                    (this.faceLeft = !1),
                    (this.faceRight = !1),
                    s)
                  ) {
                    var u = this.tilemapLayer;
                    u && this.tilemapLayer.calculateFacesAt(this.x, this.y);
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                resetFaces: function () {
                  return (
                    (this.faceTop = !1),
                    (this.faceBottom = !1),
                    (this.faceLeft = !1),
                    (this.faceRight = !1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setCollision: function (s, u, i, o, h) {
                  if (
                    (u === void 0 && (u = s),
                    i === void 0 && (i = s),
                    o === void 0 && (o = s),
                    h === void 0 && (h = !0),
                    (this.collideLeft = s),
                    (this.collideRight = u),
                    (this.collideUp = i),
                    (this.collideDown = o),
                    (this.faceLeft = s),
                    (this.faceRight = u),
                    (this.faceTop = i),
                    (this.faceBottom = o),
                    h)
                  ) {
                    var l = this.tilemapLayer;
                    l && this.tilemapLayer.calculateFacesAt(this.x, this.y);
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                setCollisionCallback: function (s, u) {
                  return (
                    s === null
                      ? ((this.collisionCallback = void 0),
                        (this.collisionCallbackContext = void 0))
                      : ((this.collisionCallback = s),
                        (this.collisionCallbackContext = u)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setSize: function (s, u, i, o) {
                  return (
                    s !== void 0 && (this.width = s),
                    u !== void 0 && (this.height = u),
                    i !== void 0 && (this.baseWidth = i),
                    o !== void 0 && (this.baseHeight = o),
                    this.updatePixelXY(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                updatePixelXY: function () {
                  var s = this.layer.orientation;
                  if (s === a.ORTHOGONAL)
                    ((this.pixelX = this.x * this.baseWidth),
                      (this.pixelY = this.y * this.baseHeight));
                  else if (s === a.ISOMETRIC)
                    ((this.pixelX = (this.x - this.y) * this.baseWidth * 0.5),
                      (this.pixelY =
                        (this.x + this.y) * this.baseHeight * 0.5));
                  else if (s === a.STAGGERED)
                    ((this.pixelX =
                      this.x * this.baseWidth +
                      (this.y % 2) * (this.baseWidth / 2)),
                      (this.pixelY = this.y * (this.baseHeight / 2)));
                  else if (s === a.HEXAGONAL) {
                    var u = this.layer.staggerAxis,
                      i = this.layer.staggerIndex,
                      o = this.layer.hexSideLength,
                      h,
                      l;
                    u === "y"
                      ? ((l = (this.baseHeight - o) / 2 + o),
                        i === "odd"
                          ? (this.pixelX =
                              this.x * this.baseWidth +
                              (this.y % 2) * (this.baseWidth / 2))
                          : (this.pixelX =
                              this.x * this.baseWidth -
                              (this.y % 2) * (this.baseWidth / 2)),
                        (this.pixelY = this.y * l))
                      : u === "x" &&
                        ((h = (this.baseWidth - o) / 2 + o),
                        (this.pixelX = this.x * h),
                        i === "odd"
                          ? (this.pixelY =
                              this.y * this.baseHeight +
                              (this.x % 2) * (this.baseHeight / 2))
                          : (this.pixelY =
                              this.y * this.baseHeight -
                              (this.x % 2) * (this.baseHeight / 2)));
                  }
                  return (
                    (this.right = this.pixelX + this.baseWidth),
                    (this.bottom = this.pixelY + this.baseHeight),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                destroy: function () {
                  ((this.collisionCallback = void 0),
                    (this.collisionCallbackContext = void 0),
                    (this.properties = void 0));
                },
                canCollide: {
                  get: function () {
                    return (
                      this.collideLeft ||
                      this.collideRight ||
                      this.collideUp ||
                      this.collideDown ||
                      this.collisionCallback !== void 0
                    );
                  },
                },
                collides: {
                  get: function () {
                    return (
                      this.collideLeft ||
                      this.collideRight ||
                      this.collideUp ||
                      this.collideDown
                    );
                  },
                },
                hasInterestingFace: {
                  get: function () {
                    return (
                      this.faceTop ||
                      this.faceBottom ||
                      this.faceLeft ||
                      this.faceRight
                    );
                  },
                },
                tileset: {
                  get: function () {
                    var s = this.layer.tilemapLayer;
                    if (s) {
                      var u = s.gidMap[this.index];
                      if (u) return u;
                    }
                    return null;
                  },
                },
                tilemapLayer: {
                  get: function () {
                    return this.layer.tilemapLayer;
                  },
                },
                tilemap: {
                  get: function () {
                    var s = this.tilemapLayer;
                    return s ? s.tilemap : null;
                  },
                },
              });
            d.exports = e;
          },
          89797: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(14556),
              c = t(56694),
              a = t(75606),
              r = t(93560),
              n = t(72632),
              e = t(94990),
              s = t(46422),
              u = t(12920),
              i = t(52257),
              o = t(72677),
              h = t(13747),
              l = t(29633),
              f = t(5047),
              v = t(87177),
              m = t(47975),
              x = new c({
                initialize: function (C, T) {
                  ((this.scene = C),
                    (this.tileWidth = T.tileWidth),
                    (this.tileHeight = T.tileHeight),
                    (this.width = T.width),
                    (this.height = T.height),
                    (this.orientation = T.orientation),
                    (this.renderOrder = T.renderOrder),
                    (this.format = T.format),
                    (this.version = T.version),
                    (this.properties = T.properties),
                    (this.widthInPixels = T.widthInPixels),
                    (this.heightInPixels = T.heightInPixels),
                    (this.imageCollections = T.imageCollections),
                    (this.images = T.images),
                    (this.layers = T.layers),
                    (this.tiles = T.tiles),
                    (this.tilesets = T.tilesets),
                    (this.objects = T.objects),
                    (this.currentLayerIndex = 0),
                    (this.hexSideLength = T.hexSideLength));
                  var F = this.orientation;
                  this._convert = {
                    WorldToTileXY: f.GetWorldToTileXYFunction(F),
                    WorldToTileX: f.GetWorldToTileXFunction(F),
                    WorldToTileY: f.GetWorldToTileYFunction(F),
                    TileToWorldXY: f.GetTileToWorldXYFunction(F),
                    TileToWorldX: f.GetTileToWorldXFunction(F),
                    TileToWorldY: f.GetTileToWorldYFunction(F),
                    GetTileCorners: f.GetTileCornersFunction(F),
                  };
                },
                setRenderOrder: function (g) {
                  var C = ["right-down", "left-down", "right-up", "left-up"];
                  return (
                    typeof g == "number" && (g = C[g]),
                    C.indexOf(g) > -1 && (this.renderOrder = g),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                addTilesetImage: function (g, C, T, F, w, U, M, I) {
                  if (g === void 0) return null;
                  if (
                    (C == null && (C = g), !this.scene.sys.textures.exists(C))
                  )
                    return (console.warn("Invalid Tileset Image: " + C), null);
                  var O = this.scene.sys.textures.get(C),
                    D = this.getTilesetIndex(g);
                  if (D === null && this.format === r.TILED_JSON)
                    return (
                      console.warn("No data found for Tileset: " + g),
                      null
                    );
                  var G = this.tilesets[D];
                  return G
                    ? (G.setTileSize(T, F),
                      G.setSpacing(w, U),
                      G.setImage(O),
                      G)
                    : (T === void 0 && (T = this.tileWidth),
                      F === void 0 && (F = this.tileHeight),
                      w === void 0 && (w = 0),
                      U === void 0 && (U = 0),
                      M === void 0 && (M = 0),
                      I === void 0 && (I = { x: 0, y: 0 }),
                      (G = new m(g, M, T, F, w, U, void 0, void 0, I)),
                      G.setImage(O),
                      this.tilesets.push(G),
                      (this.tiles = A(this)),
                      G);
                },
                copy: function (g, C, T, F, w, U, M, I) {
                  return (
                    (I = this.getLayer(I)),
                    I !== null
                      ? (f.Copy(g, C, T, F, w, U, M, I),
                        _____WB$wombat$check$this$function_____(this))
                      : null
                  );
                },
                createBlankLayer: function (g, C, T, F, w, U, M, I) {
                  (T === void 0 && (T = 0),
                    F === void 0 && (F = 0),
                    w === void 0 && (w = this.width),
                    U === void 0 && (U = this.height),
                    M === void 0 && (M = this.tileWidth),
                    I === void 0 && (I = this.tileHeight));
                  var O = this.getLayerIndex(g);
                  if (O !== null)
                    return (
                      console.warn("Invalid Tilemap Layer ID: " + g),
                      null
                    );
                  for (
                    var D = new e({
                        name: g,
                        tileWidth: M,
                        tileHeight: I,
                        width: w,
                        height: U,
                        orientation: this.orientation,
                      }),
                      G,
                      X = 0;
                    X < U;
                    X++
                  ) {
                    G = [];
                    for (var z = 0; z < w; z++)
                      G.push(
                        new l(
                          D,
                          -1,
                          z,
                          X,
                          M,
                          I,
                          this.tileWidth,
                          this.tileHeight,
                        ),
                      );
                    D.data.push(G);
                  }
                  (this.layers.push(D),
                    (this.currentLayerIndex = this.layers.length - 1));
                  var K = new v(
                    this.scene,
                    _____WB$wombat$check$this$function_____(this),
                    this.currentLayerIndex,
                    C,
                    T,
                    F,
                  );
                  return (
                    K.setRenderOrder(this.renderOrder),
                    this.scene.sys.displayList.add(K),
                    K
                  );
                },
                createLayer: function (g, C, T, F) {
                  var w = this.getLayerIndex(g);
                  if (w === null)
                    return (
                      console.warn("Invalid Tilemap Layer ID: " + g),
                      typeof g == "string" &&
                        console.warn(
                          "Valid tilelayer names: %o",
                          this.getTileLayerNames(),
                        ),
                      null
                    );
                  var U = this.layers[w];
                  if (U.tilemapLayer)
                    return (
                      console.warn("Tilemap Layer ID already exists:" + g),
                      null
                    );
                  ((this.currentLayerIndex = w),
                    T === void 0 && (T = U.x),
                    F === void 0 && (F = U.y));
                  var M = new v(
                    this.scene,
                    _____WB$wombat$check$this$function_____(this),
                    w,
                    C,
                    T,
                    F,
                  );
                  return (
                    M.setRenderOrder(this.renderOrder),
                    this.scene.sys.displayList.add(M),
                    M
                  );
                },
                createFromObjects: function (g, C, T) {
                  T === void 0 && (T = !0);
                  var F = [],
                    w = this.getObjectLayer(g);
                  if (!w)
                    return (
                      console.warn(
                        "createFromObjects: Invalid objectLayerName given: " +
                          g,
                      ),
                      F
                    );
                  var U = new s(T ? this.tilesets : void 0);
                  Array.isArray(C) || (C = [C]);
                  for (var M = w.objects, I = 0; I < C.length; I++) {
                    var O = C[I],
                      D = n(O, "id", null),
                      G = n(O, "gid", null),
                      X = n(O, "name", null),
                      z = n(O, "type", null);
                    U.enabled = !n(O, "ignoreTileset", null);
                    for (var K, N = [], b = 0; b < M.length; b++)
                      ((K = M[b]),
                        ((D === null &&
                          G === null &&
                          X === null &&
                          z === null) ||
                          (D !== null && K.id === D) ||
                          (G !== null && K.gid === G) ||
                          (X !== null && K.name === X) ||
                          (z !== null && U.getTypeIncludingTile(K) === z)) &&
                          N.push(K));
                    for (
                      var R = n(O, "classType", h),
                        H = n(O, "scene", this.scene),
                        Q = n(O, "container", null),
                        V = n(O, "key", null),
                        Y = n(O, "frame", null),
                        J = 0;
                      J < N.length;
                      J++
                    ) {
                      K = N[J];
                      var $ = new R(H);
                      if (
                        ($.setName(K.name),
                        $.setPosition(K.x, K.y),
                        U.setTextureAndFrame($, V, Y, K),
                        K.width && ($.displayWidth = K.width),
                        K.height && ($.displayHeight = K.height),
                        this.orientation === u.ISOMETRIC)
                      ) {
                        var W = this.tileWidth / this.tileHeight,
                          Z = { x: $.x - $.y, y: ($.x + $.y) / W };
                        (($.x = Z.x), ($.y = Z.y));
                      }
                      var j = {
                        x: $.originX * K.width,
                        y: ($.originY - (K.gid ? 1 : 0)) * K.height,
                      };
                      if (K.rotation) {
                        var k = a(K.rotation);
                        (i(j, k), ($.rotation = k));
                      }
                      (($.x += j.x),
                        ($.y += j.y),
                        (K.flippedHorizontal !== void 0 ||
                          K.flippedVertical !== void 0) &&
                          $.setFlip(K.flippedHorizontal, K.flippedVertical),
                        K.visible || ($.visible = !1),
                        U.setPropertiesFromTiledObject($, K),
                        Q ? Q.add($) : H.add.existing($),
                        F.push($));
                    }
                  }
                  return F;
                },
                createFromTiles: function (g, C, T, F, w, U) {
                  return (
                    (U = this.getLayer(U)),
                    U === null ? null : f.CreateFromTiles(g, C, T, F, w, U)
                  );
                },
                fill: function (g, C, T, F, w, U, M) {
                  return (
                    U === void 0 && (U = !0),
                    (M = this.getLayer(M)),
                    M === null
                      ? null
                      : (f.Fill(g, C, T, F, w, U, M),
                        _____WB$wombat$check$this$function_____(this))
                  );
                },
                filterObjects: function (g, C, T) {
                  if (typeof g == "string") {
                    var F = g;
                    if (((g = this.getObjectLayer(g)), !g))
                      return (
                        console.warn(
                          "No object layer found with the name: " + F,
                        ),
                        null
                      );
                  }
                  return g.objects.filter(C, T);
                },
                filterTiles: function (g, C, T, F, w, U, M, I) {
                  return (
                    (I = this.getLayer(I)),
                    I === null ? null : f.FilterTiles(g, C, T, F, w, U, M, I)
                  );
                },
                findByIndex: function (g, C, T, F) {
                  return (
                    (F = this.getLayer(F)),
                    F === null ? null : f.FindByIndex(g, C, T, F)
                  );
                },
                findObject: function (g, C, T) {
                  if (typeof g == "string") {
                    var F = g;
                    if (((g = this.getObjectLayer(g)), !g))
                      return (
                        console.warn(
                          "No object layer found with the name: " + F,
                        ),
                        null
                      );
                  }
                  return g.objects.find(C, T) || null;
                },
                findTile: function (g, C, T, F, w, U, M, I) {
                  return (
                    (I = this.getLayer(I)),
                    I === null ? null : f.FindTile(g, C, T, F, w, U, M, I)
                  );
                },
                forEachTile: function (g, C, T, F, w, U, M, I) {
                  return (
                    (I = this.getLayer(I)),
                    I === null
                      ? null
                      : (f.ForEachTile(g, C, T, F, w, U, M, I),
                        _____WB$wombat$check$this$function_____(this))
                  );
                },
                getImageIndex: function (g) {
                  return this.getIndex(this.images, g);
                },
                getImageLayerNames: function () {
                  return !this.images || !Array.isArray(this.images)
                    ? []
                    : this.images.map(function (g) {
                        return g.name;
                      });
                },
                getIndex: function (g, C) {
                  for (var T = 0; T < g.length; T++)
                    if (g[T].name === C) return T;
                  return null;
                },
                getLayer: function (g) {
                  var C = this.getLayerIndex(g);
                  return C !== null ? this.layers[C] : null;
                },
                getObjectLayer: function (g) {
                  var C = this.getIndex(this.objects, g);
                  return C !== null ? this.objects[C] : null;
                },
                getObjectLayerNames: function () {
                  return !this.objects || !Array.isArray(this.objects)
                    ? []
                    : this.objects.map(function (g) {
                        return g.name;
                      });
                },
                getLayerIndex: function (g) {
                  return g === void 0
                    ? this.currentLayerIndex
                    : typeof g == "string"
                      ? this.getLayerIndexByName(g)
                      : typeof g == "number" && g < this.layers.length
                        ? g
                        : g instanceof v &&
                            g.tilemap ===
                              _____WB$wombat$check$this$function_____(this)
                          ? g.layerIndex
                          : null;
                },
                getLayerIndexByName: function (g) {
                  return this.getIndex(this.layers, g);
                },
                getTileAt: function (g, C, T, F) {
                  return (
                    (F = this.getLayer(F)),
                    F === null ? null : f.GetTileAt(g, C, T, F)
                  );
                },
                getTileAtWorldXY: function (g, C, T, F, w) {
                  return (
                    (w = this.getLayer(w)),
                    w === null ? null : f.GetTileAtWorldXY(g, C, T, F, w)
                  );
                },
                getTileLayerNames: function () {
                  return !this.layers || !Array.isArray(this.layers)
                    ? []
                    : this.layers.map(function (g) {
                        return g.name;
                      });
                },
                getTilesWithin: function (g, C, T, F, w, U) {
                  return (
                    (U = this.getLayer(U)),
                    U === null ? null : f.GetTilesWithin(g, C, T, F, w, U)
                  );
                },
                getTilesWithinShape: function (g, C, T, F) {
                  return (
                    (F = this.getLayer(F)),
                    F === null ? null : f.GetTilesWithinShape(g, C, T, F)
                  );
                },
                getTilesWithinWorldXY: function (g, C, T, F, w, U, M) {
                  return (
                    (M = this.getLayer(M)),
                    M === null
                      ? null
                      : f.GetTilesWithinWorldXY(g, C, T, F, w, U, M)
                  );
                },
                getTileset: function (g) {
                  var C = this.getIndex(this.tilesets, g);
                  return C !== null ? this.tilesets[C] : null;
                },
                getTilesetIndex: function (g) {
                  return this.getIndex(this.tilesets, g);
                },
                hasTileAt: function (g, C, T) {
                  return (
                    (T = this.getLayer(T)),
                    T === null ? null : f.HasTileAt(g, C, T)
                  );
                },
                hasTileAtWorldXY: function (g, C, T, F) {
                  return (
                    (F = this.getLayer(F)),
                    F === null ? null : f.HasTileAtWorldXY(g, C, T, F)
                  );
                },
                layer: {
                  get: function () {
                    return this.layers[this.currentLayerIndex];
                  },
                  set: function (g) {
                    this.setLayer(g);
                  },
                },
                putTileAt: function (g, C, T, F, w) {
                  return (
                    F === void 0 && (F = !0),
                    (w = this.getLayer(w)),
                    w === null ? null : f.PutTileAt(g, C, T, F, w)
                  );
                },
                putTileAtWorldXY: function (g, C, T, F, w, U) {
                  return (
                    F === void 0 && (F = !0),
                    (U = this.getLayer(U)),
                    U === null ? null : f.PutTileAtWorldXY(g, C, T, F, w, U)
                  );
                },
                putTilesAt: function (g, C, T, F, w) {
                  return (
                    F === void 0 && (F = !0),
                    (w = this.getLayer(w)),
                    w === null
                      ? null
                      : (f.PutTilesAt(g, C, T, F, w),
                        _____WB$wombat$check$this$function_____(this))
                  );
                },
                randomize: function (g, C, T, F, w, U) {
                  return (
                    (U = this.getLayer(U)),
                    U === null
                      ? null
                      : (f.Randomize(g, C, T, F, w, U),
                        _____WB$wombat$check$this$function_____(this))
                  );
                },
                calculateFacesAt: function (g, C, T) {
                  return (
                    (T = this.getLayer(T)),
                    T === null
                      ? null
                      : (f.CalculateFacesAt(g, C, T),
                        _____WB$wombat$check$this$function_____(this))
                  );
                },
                calculateFacesWithin: function (g, C, T, F, w) {
                  return (
                    (w = this.getLayer(w)),
                    w === null
                      ? null
                      : (f.CalculateFacesWithin(g, C, T, F, w),
                        _____WB$wombat$check$this$function_____(this))
                  );
                },
                removeLayer: function (g) {
                  var C = this.getLayerIndex(g);
                  if (C !== null) {
                    o(this.layers, C);
                    for (var T = C; T < this.layers.length; T++)
                      this.layers[T].tilemapLayer &&
                        this.layers[T].tilemapLayer.layerIndex--;
                    return (
                      this.currentLayerIndex === C &&
                        (this.currentLayerIndex = 0),
                      _____WB$wombat$check$this$function_____(this)
                    );
                  } else return null;
                },
                destroyLayer: function (g) {
                  var C = this.getLayerIndex(g);
                  return C !== null
                    ? ((g = this.layers[C]),
                      g.tilemapLayer.destroy(),
                      o(this.layers, C),
                      this.currentLayerIndex === C &&
                        (this.currentLayerIndex = 0),
                      _____WB$wombat$check$this$function_____(this))
                    : null;
                },
                removeAllLayers: function () {
                  for (var g = this.layers, C = 0; C < g.length; C++)
                    g[C].tilemapLayer && g[C].tilemapLayer.destroy(!1);
                  return (
                    (g.length = 0),
                    (this.currentLayerIndex = 0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                removeTile: function (g, C, T) {
                  (C === void 0 && (C = -1), T === void 0 && (T = !0));
                  var F = [];
                  Array.isArray(g) || (g = [g]);
                  for (var w = 0; w < g.length; w++) {
                    var U = g[w];
                    (F.push(this.removeTileAt(U.x, U.y, !0, T, U.tilemapLayer)),
                      C > -1 && this.putTileAt(C, U.x, U.y, T, U.tilemapLayer));
                  }
                  return F;
                },
                removeTileAt: function (g, C, T, F, w) {
                  return (
                    T === void 0 && (T = !0),
                    F === void 0 && (F = !0),
                    (w = this.getLayer(w)),
                    w === null ? null : f.RemoveTileAt(g, C, T, F, w)
                  );
                },
                removeTileAtWorldXY: function (g, C, T, F, w, U) {
                  return (
                    T === void 0 && (T = !0),
                    F === void 0 && (F = !0),
                    (U = this.getLayer(U)),
                    U === null ? null : f.RemoveTileAtWorldXY(g, C, T, F, w, U)
                  );
                },
                renderDebug: function (g, C, T) {
                  return (
                    (T = this.getLayer(T)),
                    T === null
                      ? null
                      : (this.orientation === u.ORTHOGONAL &&
                          f.RenderDebug(g, C, T),
                        _____WB$wombat$check$this$function_____(this))
                  );
                },
                renderDebugFull: function (g, C) {
                  for (var T = this.layers, F = 0; F < T.length; F++)
                    f.RenderDebug(g, C, T[F]);
                  return _____WB$wombat$check$this$function_____(this);
                },
                replaceByIndex: function (g, C, T, F, w, U, M) {
                  return (
                    (M = this.getLayer(M)),
                    M === null
                      ? null
                      : (f.ReplaceByIndex(g, C, T, F, w, U, M),
                        _____WB$wombat$check$this$function_____(this))
                  );
                },
                setCollision: function (g, C, T, F, w) {
                  return (
                    C === void 0 && (C = !0),
                    T === void 0 && (T = !0),
                    w === void 0 && (w = !0),
                    (F = this.getLayer(F)),
                    F === null
                      ? null
                      : (f.SetCollision(g, C, T, F, w),
                        _____WB$wombat$check$this$function_____(this))
                  );
                },
                setCollisionBetween: function (g, C, T, F, w) {
                  return (
                    T === void 0 && (T = !0),
                    F === void 0 && (F = !0),
                    (w = this.getLayer(w)),
                    w === null
                      ? null
                      : (f.SetCollisionBetween(g, C, T, F, w),
                        _____WB$wombat$check$this$function_____(this))
                  );
                },
                setCollisionByProperty: function (g, C, T, F) {
                  return (
                    C === void 0 && (C = !0),
                    T === void 0 && (T = !0),
                    (F = this.getLayer(F)),
                    F === null
                      ? null
                      : (f.SetCollisionByProperty(g, C, T, F),
                        _____WB$wombat$check$this$function_____(this))
                  );
                },
                setCollisionByExclusion: function (g, C, T, F) {
                  return (
                    C === void 0 && (C = !0),
                    T === void 0 && (T = !0),
                    (F = this.getLayer(F)),
                    F === null
                      ? null
                      : (f.SetCollisionByExclusion(g, C, T, F),
                        _____WB$wombat$check$this$function_____(this))
                  );
                },
                setCollisionFromCollisionGroup: function (g, C, T) {
                  return (
                    g === void 0 && (g = !0),
                    C === void 0 && (C = !0),
                    (T = this.getLayer(T)),
                    T === null
                      ? null
                      : (f.SetCollisionFromCollisionGroup(g, C, T),
                        _____WB$wombat$check$this$function_____(this))
                  );
                },
                setTileIndexCallback: function (g, C, T, F) {
                  return (
                    (F = this.getLayer(F)),
                    F === null
                      ? null
                      : (f.SetTileIndexCallback(g, C, T, F),
                        _____WB$wombat$check$this$function_____(this))
                  );
                },
                setTileLocationCallback: function (g, C, T, F, w, U, M) {
                  return (
                    (M = this.getLayer(M)),
                    M === null
                      ? null
                      : (f.SetTileLocationCallback(g, C, T, F, w, U, M),
                        _____WB$wombat$check$this$function_____(this))
                  );
                },
                setLayer: function (g) {
                  var C = this.getLayerIndex(g);
                  return (
                    C !== null && (this.currentLayerIndex = C),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setBaseTileSize: function (g, C) {
                  ((this.tileWidth = g),
                    (this.tileHeight = C),
                    (this.widthInPixels = this.width * g),
                    (this.heightInPixels = this.height * C));
                  for (var T = 0; T < this.layers.length; T++) {
                    ((this.layers[T].baseTileWidth = g),
                      (this.layers[T].baseTileHeight = C));
                    for (
                      var F = this.layers[T].data,
                        w = this.layers[T].width,
                        U = this.layers[T].height,
                        M = 0;
                      M < U;
                      M++
                    )
                      for (var I = 0; I < w; I++) {
                        var O = F[M][I];
                        O !== null && O.setSize(void 0, void 0, g, C);
                      }
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                setLayerTileSize: function (g, C, T) {
                  if (((T = this.getLayer(T)), T === null))
                    return _____WB$wombat$check$this$function_____(this);
                  ((T.tileWidth = g), (T.tileHeight = C));
                  for (
                    var F = T.data, w = T.width, U = T.height, M = 0;
                    M < U;
                    M++
                  )
                    for (var I = 0; I < w; I++) {
                      var O = F[M][I];
                      O !== null && O.setSize(g, C);
                    }
                  return _____WB$wombat$check$this$function_____(this);
                },
                shuffle: function (g, C, T, F, w) {
                  return (
                    (w = this.getLayer(w)),
                    w === null
                      ? null
                      : (f.Shuffle(g, C, T, F, w),
                        _____WB$wombat$check$this$function_____(this))
                  );
                },
                swapByIndex: function (g, C, T, F, w, U, M) {
                  return (
                    (M = this.getLayer(M)),
                    M === null
                      ? null
                      : (f.SwapByIndex(g, C, T, F, w, U, M),
                        _____WB$wombat$check$this$function_____(this))
                  );
                },
                tileToWorldX: function (g, C, T) {
                  return (
                    (T = this.getLayer(T)),
                    T === null ? null : this._convert.TileToWorldX(g, C, T)
                  );
                },
                tileToWorldY: function (g, C, T) {
                  return (
                    (T = this.getLayer(T)),
                    T === null ? null : this._convert.TileToWorldY(g, C, T)
                  );
                },
                tileToWorldXY: function (g, C, T, F, w) {
                  return (
                    (w = this.getLayer(w)),
                    w === null
                      ? null
                      : this._convert.TileToWorldXY(g, C, T, F, w)
                  );
                },
                getTileCorners: function (g, C, T, F) {
                  return (
                    (F = this.getLayer(F)),
                    F === null ? null : this._convert.GetTileCorners(g, C, T, F)
                  );
                },
                weightedRandomize: function (g, C, T, F, w, U) {
                  return (
                    (U = this.getLayer(U)),
                    U === null
                      ? null
                      : (f.WeightedRandomize(C, T, F, w, g, U),
                        _____WB$wombat$check$this$function_____(this))
                  );
                },
                worldToTileX: function (g, C, T, F) {
                  return (
                    (F = this.getLayer(F)),
                    F === null ? null : this._convert.WorldToTileX(g, C, T, F)
                  );
                },
                worldToTileY: function (g, C, T, F) {
                  return (
                    (F = this.getLayer(F)),
                    F === null ? null : this._convert.WorldToTileY(g, C, T, F)
                  );
                },
                worldToTileXY: function (g, C, T, F, w, U) {
                  return (
                    (U = this.getLayer(U)),
                    U === null
                      ? null
                      : this._convert.WorldToTileXY(g, C, T, F, w, U)
                  );
                },
                destroy: function () {
                  (this.removeAllLayers(),
                    (this.tiles.length = 0),
                    (this.tilesets.length = 0),
                    (this.objects.length = 0),
                    (this.scene = null));
                },
              });
            d.exports = x;
          },
          4843: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(99325),
              c = t(15043);
            A.register("tilemap", function (a) {
              var r = a !== void 0 ? a : {};
              return c(
                this.scene,
                r.key,
                r.tileWidth,
                r.tileHeight,
                r.width,
                r.height,
                r.data,
                r.insertNull,
              );
            });
          },
          37940: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(61286),
              c = t(15043);
            A.register("tilemap", function (a, r, n, e, s, u, i) {
              return (
                a === null && (a = void 0),
                r === null && (r = void 0),
                n === null && (n = void 0),
                e === null && (e = void 0),
                s === null && (s = void 0),
                c(this.scene, a, r, n, e, s, u, i)
              );
            });
          },
          87177: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(95239),
              a = t(64937),
              r = t(89980),
              n = t(5047),
              e = t(96193),
              s = t(93736),
              u = new A({
                Extends: r,
                Mixins: [
                  a.Alpha,
                  a.BlendMode,
                  a.ComputedSize,
                  a.Depth,
                  a.Flip,
                  a.GetBounds,
                  a.Mask,
                  a.Origin,
                  a.Pipeline,
                  a.PostPipeline,
                  a.Transform,
                  a.Visible,
                  a.ScrollFactor,
                  c,
                  e,
                ],
                initialize: function (o, h, l, f, v, m) {
                  (r.call(this, o, "TilemapLayer"),
                    (this.isTilemap = !0),
                    (this.tilemap = h),
                    (this.layerIndex = l),
                    (this.layer = h.layers[l]),
                    (this.layer.tilemapLayer =
                      _____WB$wombat$check$this$function_____(this)),
                    (this.tileset = []),
                    (this.tilesDrawn = 0),
                    (this.tilesTotal = this.layer.width * this.layer.height),
                    (this.culledTiles = []),
                    (this.skipCull = !1),
                    (this.cullPaddingX = 1),
                    (this.cullPaddingY = 1),
                    (this.cullCallback = n.GetCullTilesFunction(
                      this.layer.orientation,
                    )),
                    (this._renderOrder = 0),
                    (this.gidMap = []),
                    (this.tempVec = new s()),
                    (this.collisionCategory = 1),
                    (this.collisionMask = 1),
                    this.setTilesets(f),
                    this.setAlpha(this.layer.alpha),
                    this.setPosition(v, m),
                    this.setOrigin(0, 0),
                    this.setSize(
                      h.tileWidth * this.layer.width,
                      h.tileHeight * this.layer.height,
                    ),
                    this.initPipeline(),
                    this.initPostPipeline(!1));
                },
                setTilesets: function (i) {
                  var o = [],
                    h = [],
                    l = this.tilemap;
                  Array.isArray(i) || (i = [i]);
                  for (var f = 0; f < i.length; f++) {
                    var v = i[f];
                    if ((typeof v == "string" && (v = l.getTileset(v)), v)) {
                      h.push(v);
                      for (var m = v.firstgid, x = 0; x < v.total; x++)
                        o[m + x] = v;
                    }
                  }
                  ((this.gidMap = o), (this.tileset = h));
                },
                setRenderOrder: function (i) {
                  var o = ["right-down", "left-down", "right-up", "left-up"];
                  return (
                    typeof i == "string" && (i = o.indexOf(i)),
                    i >= 0 && i < 4 && (this._renderOrder = i),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                calculateFacesAt: function (i, o) {
                  return (
                    n.CalculateFacesAt(i, o, this.layer),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                calculateFacesWithin: function (i, o, h, l) {
                  return (
                    n.CalculateFacesWithin(i, o, h, l, this.layer),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                createFromTiles: function (i, o, h, l, f) {
                  return n.CreateFromTiles(i, o, h, l, f, this.layer);
                },
                cull: function (i) {
                  return this.cullCallback(
                    this.layer,
                    i,
                    this.culledTiles,
                    this._renderOrder,
                  );
                },
                copy: function (i, o, h, l, f, v, m) {
                  return (
                    n.Copy(i, o, h, l, f, v, m, this.layer),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                fill: function (i, o, h, l, f, v) {
                  return (
                    n.Fill(i, o, h, l, f, v, this.layer),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                filterTiles: function (i, o, h, l, f, v, m) {
                  return n.FilterTiles(i, o, h, l, f, v, m, this.layer);
                },
                findByIndex: function (i, o, h) {
                  return n.FindByIndex(i, o, h, this.layer);
                },
                findTile: function (i, o, h, l, f, v, m) {
                  return n.FindTile(i, o, h, l, f, v, m, this.layer);
                },
                forEachTile: function (i, o, h, l, f, v, m) {
                  return (
                    n.ForEachTile(i, o, h, l, f, v, m, this.layer),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setTint: function (i, o, h, l, f, v) {
                  i === void 0 && (i = 16777215);
                  var m = function (x) {
                    ((x.tint = i), (x.tintFill = !1));
                  };
                  return this.forEachTile(
                    m,
                    _____WB$wombat$check$this$function_____(this),
                    o,
                    h,
                    l,
                    f,
                    v,
                  );
                },
                setTintFill: function (i, o, h, l, f, v) {
                  i === void 0 && (i = 16777215);
                  var m = function (x) {
                    ((x.tint = i), (x.tintFill = !0));
                  };
                  return this.forEachTile(
                    m,
                    _____WB$wombat$check$this$function_____(this),
                    o,
                    h,
                    l,
                    f,
                    v,
                  );
                },
                getTileAt: function (i, o, h) {
                  return n.GetTileAt(i, o, h, this.layer);
                },
                getTileAtWorldXY: function (i, o, h, l) {
                  return n.GetTileAtWorldXY(i, o, h, l, this.layer);
                },
                getIsoTileAtWorldXY: function (i, o, h, l, f) {
                  h === void 0 && (h = !0);
                  var v = this.tempVec;
                  return (
                    n.IsometricWorldToTileXY(i, o, !0, v, f, this.layer, h),
                    this.getTileAt(v.x, v.y, l)
                  );
                },
                getTilesWithin: function (i, o, h, l, f) {
                  return n.GetTilesWithin(i, o, h, l, f, this.layer);
                },
                getTilesWithinShape: function (i, o, h) {
                  return n.GetTilesWithinShape(i, o, h, this.layer);
                },
                getTilesWithinWorldXY: function (i, o, h, l, f, v) {
                  return n.GetTilesWithinWorldXY(i, o, h, l, f, v, this.layer);
                },
                hasTileAt: function (i, o) {
                  return n.HasTileAt(i, o, this.layer);
                },
                hasTileAtWorldXY: function (i, o, h) {
                  return n.HasTileAtWorldXY(i, o, h, this.layer);
                },
                putTileAt: function (i, o, h, l) {
                  return n.PutTileAt(i, o, h, l, this.layer);
                },
                putTileAtWorldXY: function (i, o, h, l, f) {
                  return n.PutTileAtWorldXY(i, o, h, l, f, this.layer);
                },
                putTilesAt: function (i, o, h, l) {
                  return (
                    n.PutTilesAt(i, o, h, l, this.layer),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                randomize: function (i, o, h, l, f) {
                  return (
                    n.Randomize(i, o, h, l, f, this.layer),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                removeTileAt: function (i, o, h, l) {
                  return n.RemoveTileAt(i, o, h, l, this.layer);
                },
                removeTileAtWorldXY: function (i, o, h, l, f) {
                  return n.RemoveTileAtWorldXY(i, o, h, l, f, this.layer);
                },
                renderDebug: function (i, o) {
                  return (
                    n.RenderDebug(i, o, this.layer),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                replaceByIndex: function (i, o, h, l, f, v) {
                  return (
                    n.ReplaceByIndex(i, o, h, l, f, v, this.layer),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setSkipCull: function (i) {
                  return (
                    i === void 0 && (i = !0),
                    (this.skipCull = i),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setCullPadding: function (i, o) {
                  return (
                    i === void 0 && (i = 1),
                    o === void 0 && (o = 1),
                    (this.cullPaddingX = i),
                    (this.cullPaddingY = o),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setCollision: function (i, o, h, l) {
                  return (
                    n.SetCollision(i, o, h, this.layer, l),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setCollisionBetween: function (i, o, h, l) {
                  return (
                    n.SetCollisionBetween(i, o, h, l, this.layer),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setCollisionByProperty: function (i, o, h) {
                  return (
                    n.SetCollisionByProperty(i, o, h, this.layer),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setCollisionByExclusion: function (i, o, h) {
                  return (
                    n.SetCollisionByExclusion(i, o, h, this.layer),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setCollisionFromCollisionGroup: function (i, o) {
                  return (
                    n.SetCollisionFromCollisionGroup(i, o, this.layer),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setTileIndexCallback: function (i, o, h) {
                  return (
                    n.SetTileIndexCallback(i, o, h, this.layer),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setTileLocationCallback: function (i, o, h, l, f, v) {
                  return (
                    n.SetTileLocationCallback(i, o, h, l, f, v, this.layer),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                shuffle: function (i, o, h, l) {
                  return (
                    n.Shuffle(i, o, h, l, this.layer),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                swapByIndex: function (i, o, h, l, f, v) {
                  return (
                    n.SwapByIndex(i, o, h, l, f, v, this.layer),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                tileToWorldX: function (i, o) {
                  return this.tilemap.tileToWorldX(
                    i,
                    o,
                    _____WB$wombat$check$this$function_____(this),
                  );
                },
                tileToWorldY: function (i, o) {
                  return this.tilemap.tileToWorldY(
                    i,
                    o,
                    _____WB$wombat$check$this$function_____(this),
                  );
                },
                tileToWorldXY: function (i, o, h, l) {
                  return this.tilemap.tileToWorldXY(
                    i,
                    o,
                    h,
                    l,
                    _____WB$wombat$check$this$function_____(this),
                  );
                },
                getTileCorners: function (i, o, h) {
                  return this.tilemap.getTileCorners(
                    i,
                    o,
                    h,
                    _____WB$wombat$check$this$function_____(this),
                  );
                },
                weightedRandomize: function (i, o, h, l, f) {
                  return (
                    n.WeightedRandomize(o, h, l, f, i, this.layer),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                worldToTileX: function (i, o, h) {
                  return this.tilemap.worldToTileX(
                    i,
                    o,
                    h,
                    _____WB$wombat$check$this$function_____(this),
                  );
                },
                worldToTileY: function (i, o, h) {
                  return this.tilemap.worldToTileY(
                    i,
                    o,
                    h,
                    _____WB$wombat$check$this$function_____(this),
                  );
                },
                worldToTileXY: function (i, o, h, l, f) {
                  return this.tilemap.worldToTileXY(
                    i,
                    o,
                    h,
                    l,
                    f,
                    _____WB$wombat$check$this$function_____(this),
                  );
                },
                destroy: function (i) {
                  (i === void 0 && (i = !0),
                    this.tilemap &&
                      (this.layer.tilemapLayer ===
                        _____WB$wombat$check$this$function_____(this) &&
                        (this.layer.tilemapLayer = void 0),
                      i && this.tilemap.removeLayer(this),
                      (this.tilemap = void 0),
                      (this.layer = void 0),
                      (this.culledTiles.length = 0),
                      (this.cullCallback = null),
                      (this.gidMap = []),
                      (this.tileset = []),
                      r.prototype.destroy.call(this)));
                },
              });
            d.exports = u;
          },
          17394: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(69360),
              c = new A(),
              a = new A(),
              r = new A(),
              n = function (e, s, u, i) {
                var o = s.cull(u),
                  h = o.length,
                  l = u.alpha * s.alpha;
                if (!(h === 0 || l <= 0)) {
                  var f = c,
                    v = a,
                    m = r;
                  (v.applyITRS(s.x, s.y, s.rotation, s.scaleX, s.scaleY),
                    f.copyFrom(u.matrix));
                  var x = e.currentContext,
                    g = s.gidMap;
                  (x.save(),
                    i
                      ? (f.multiplyWithOffset(
                          i,
                          -u.scrollX * s.scrollFactorX,
                          -u.scrollY * s.scrollFactorY,
                        ),
                        (v.e = s.x),
                        (v.f = s.y),
                        f.multiply(v, m),
                        m.copyToContext(x))
                      : ((v.e -= u.scrollX * s.scrollFactorX),
                        (v.f -= u.scrollY * s.scrollFactorY),
                        v.copyToContext(x)),
                    (!e.antialias || s.scaleX > 1 || s.scaleY > 1) &&
                      (x.imageSmoothingEnabled = !1));
                  for (var C = 0; C < h; C++) {
                    var T = o[C],
                      F = g[T.index];
                    if (F) {
                      var w = F.image.getSourceImage(),
                        U = F.getTileTextureCoordinates(T.index),
                        M = F.tileWidth,
                        I = F.tileHeight;
                      if (!(U === null || M === 0 || I === 0)) {
                        var O = M * 0.5,
                          D = I * 0.5;
                        ((U.x += F.tileOffset.x),
                          (U.y += F.tileOffset.y),
                          x.save(),
                          x.translate(T.pixelX + O, T.pixelY + D),
                          T.rotation !== 0 && x.rotate(T.rotation),
                          (T.flipX || T.flipY) &&
                            x.scale(T.flipX ? -1 : 1, T.flipY ? -1 : 1),
                          (x.globalAlpha = l * T.alpha),
                          x.drawImage(w, U.x, U.y, M, I, -O, -D, M, I),
                          x.restore());
                      }
                    }
                  }
                  x.restore();
                }
              };
            d.exports = n;
          },
          96193: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72283),
              c = A,
              a = A;
            ((c = t(51395)),
              (a = t(17394)),
              (d.exports = { renderWebGL: c, renderCanvas: a }));
          },
          51395: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(75512),
              c = function (a, r, n) {
                var e = r.cull(n),
                  s = e.length,
                  u = n.alpha * r.alpha;
                if (!(s === 0 || u <= 0)) {
                  var i = r.gidMap,
                    o = a.pipelines.set(r.pipeline, r),
                    h = A.getTintAppendFloatAlpha,
                    l = r.scrollFactorX,
                    f = r.scrollFactorY,
                    v = r.x,
                    m = r.y,
                    x = r.scaleX,
                    g = r.scaleY;
                  a.pipelines.preBatch(r);
                  for (var C = 0; C < s; C++) {
                    var T = e[C],
                      F = i[T.index];
                    if (F) {
                      var w = F.getTileTextureCoordinates(T.index);
                      if (w !== null) {
                        var U = F.glTexture,
                          M = o.setTexture2D(U, r),
                          I = F.tileWidth,
                          O = F.tileHeight,
                          D = w.x,
                          G = w.y,
                          X = F.tileWidth * 0.5,
                          z = F.tileHeight * 0.5,
                          K = F.tileOffset.x,
                          N = F.tileOffset.y,
                          b = h(T.tint, u * T.alpha);
                        o.batchTexture(
                          r,
                          U,
                          U.width,
                          U.height,
                          v + T.pixelX * x + (X * x - K),
                          m + T.pixelY * g + (z * g - N),
                          T.width,
                          T.height,
                          x,
                          g,
                          T.rotation,
                          T.flipX,
                          T.flipY,
                          l,
                          f,
                          X,
                          z,
                          D,
                          G,
                          I,
                          O,
                          b,
                          b,
                          b,
                          b,
                          T.tintFill,
                          0,
                          0,
                          n,
                          null,
                          !0,
                          M,
                          !0,
                        );
                      }
                    }
                  }
                  a.pipelines.postBatch(r);
                }
              };
            d.exports = c;
          },
          47975: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(93736),
              a = new A({
                initialize: function (n, e, s, u, i, o, h, l, f) {
                  ((s === void 0 || s <= 0) && (s = 32),
                    (u === void 0 || u <= 0) && (u = 32),
                    i === void 0 && (i = 0),
                    o === void 0 && (o = 0),
                    h === void 0 && (h = {}),
                    l === void 0 && (l = {}),
                    (this.name = n),
                    (this.firstgid = e),
                    (this.tileWidth = s),
                    (this.tileHeight = u),
                    (this.tileMargin = i),
                    (this.tileSpacing = o),
                    (this.tileProperties = h),
                    (this.tileData = l),
                    (this.tileOffset = new c()),
                    f !== void 0 && this.tileOffset.set(f.x, f.y),
                    (this.image = null),
                    (this.glTexture = null),
                    (this.rows = 0),
                    (this.columns = 0),
                    (this.total = 0),
                    (this.texCoordinates = []));
                },
                getTileProperties: function (r) {
                  return this.containsTileIndex(r)
                    ? this.tileProperties[r - this.firstgid]
                    : null;
                },
                getTileData: function (r) {
                  return this.containsTileIndex(r)
                    ? this.tileData[r - this.firstgid]
                    : null;
                },
                getTileCollisionGroup: function (r) {
                  var n = this.getTileData(r);
                  return n && n.objectgroup ? n.objectgroup : null;
                },
                containsTileIndex: function (r) {
                  return r >= this.firstgid && r < this.firstgid + this.total;
                },
                getTileTextureCoordinates: function (r) {
                  return this.containsTileIndex(r)
                    ? this.texCoordinates[r - this.firstgid]
                    : null;
                },
                setImage: function (r) {
                  return (
                    (this.image = r),
                    (this.glTexture = r.get().source.glTexture),
                    this.updateTileData(
                      this.image.source[0].width,
                      this.image.source[0].height,
                    ),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setTileSize: function (r, n) {
                  return (
                    r !== void 0 && (this.tileWidth = r),
                    n !== void 0 && (this.tileHeight = n),
                    this.image &&
                      this.updateTileData(
                        this.image.source[0].width,
                        this.image.source[0].height,
                      ),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setSpacing: function (r, n) {
                  return (
                    r !== void 0 && (this.tileMargin = r),
                    n !== void 0 && (this.tileSpacing = n),
                    this.image &&
                      this.updateTileData(
                        this.image.source[0].width,
                        this.image.source[0].height,
                      ),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                updateTileData: function (r, n) {
                  var e =
                      (n - this.tileMargin * 2 + this.tileSpacing) /
                      (this.tileHeight + this.tileSpacing),
                    s =
                      (r - this.tileMargin * 2 + this.tileSpacing) /
                      (this.tileWidth + this.tileSpacing);
                  ((e % 1 !== 0 || s % 1 !== 0) &&
                    console.warn(
                      "Image tile area not tile size multiple in: " + this.name,
                    ),
                    (e = Math.floor(e)),
                    (s = Math.floor(s)),
                    (this.rows = e),
                    (this.columns = s),
                    (this.total = e * s),
                    (this.texCoordinates.length = 0));
                  for (
                    var u = this.tileMargin, i = this.tileMargin, o = 0;
                    o < this.rows;
                    o++
                  ) {
                    for (var h = 0; h < this.columns; h++)
                      (this.texCoordinates.push({ x: u, y: i }),
                        (u += this.tileWidth + this.tileSpacing));
                    ((u = this.tileMargin),
                      (i += this.tileHeight + this.tileSpacing));
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
              });
            d.exports = a;
          },
          92839: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(15494),
              c = function (a, r, n) {
                var e = A(a, r, !0, n),
                  s = A(a, r - 1, !0, n),
                  u = A(a, r + 1, !0, n),
                  i = A(a - 1, r, !0, n),
                  o = A(a + 1, r, !0, n),
                  h = e && e.collides;
                return (
                  h &&
                    ((e.faceTop = !0),
                    (e.faceBottom = !0),
                    (e.faceLeft = !0),
                    (e.faceRight = !0)),
                  s &&
                    s.collides &&
                    (h && (e.faceTop = !1), (s.faceBottom = !h)),
                  u &&
                    u.collides &&
                    (h && (e.faceBottom = !1), (u.faceTop = !h)),
                  i &&
                    i.collides &&
                    (h && (e.faceLeft = !1), (i.faceRight = !h)),
                  o &&
                    o.collides &&
                    (h && (e.faceRight = !1), (o.faceLeft = !h)),
                  e && !e.collides && e.resetFaces(),
                  e
                );
              };
            d.exports = c;
          },
          60386: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(15494),
              c = t(50811),
              a = function (r, n, e, s, u) {
                for (
                  var i = null,
                    o = null,
                    h = null,
                    l = null,
                    f = c(r, n, e, s, null, u),
                    v = 0;
                  v < f.length;
                  v++
                ) {
                  var m = f[v];
                  m &&
                    (m.collides
                      ? ((i = A(m.x, m.y - 1, !0, u)),
                        (o = A(m.x, m.y + 1, !0, u)),
                        (h = A(m.x - 1, m.y, !0, u)),
                        (l = A(m.x + 1, m.y, !0, u)),
                        (m.faceTop = !(i && i.collides)),
                        (m.faceBottom = !(o && o.collides)),
                        (m.faceLeft = !(h && h.collides)),
                        (m.faceRight = !(l && l.collides)))
                      : m.resetFaces());
                }
              };
            d.exports = a;
          },
          13125: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(93736),
              c = new A(),
              a = function (r, n, e, s) {
                var u = e.tilemapLayer,
                  i = u.cullPaddingX,
                  o = u.cullPaddingY,
                  h = u.tilemap.tileToWorldXY(r, n, c, s, u);
                return (
                  h.x > s.worldView.x + u.scaleX * e.tileWidth * (-i - 0.5) &&
                  h.x <
                    s.worldView.right + u.scaleX * e.tileWidth * (i - 0.5) &&
                  h.y > s.worldView.y + u.scaleY * e.tileHeight * (-o - 1) &&
                  h.y < s.worldView.bottom + u.scaleY * e.tileHeight * (o - 0.5)
                );
              };
            d.exports = a;
          },
          17347: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(60386),
              c = t(50811),
              a = t(62839),
              r = t(29633),
              n = function (e, s, u, i, o, h, l, f) {
                l === void 0 && (l = !0);
                var v = c(e, s, u, i, null, f),
                  m = [];
                v.forEach(function (U) {
                  var M = new r(
                    U.layer,
                    U.index,
                    U.x,
                    U.y,
                    U.width,
                    U.height,
                    U.baseWidth,
                    U.baseHeight,
                  );
                  (M.copy(U), m.push(M));
                });
                for (var x = o - e, g = h - s, C = 0; C < m.length; C++) {
                  var T = m[C],
                    F = T.x + x,
                    w = T.y + g;
                  a(F, w, f) &&
                    f.data[w][F] &&
                    ((T.x = F),
                    (T.y = w),
                    T.updatePixelXY(),
                    (f.data[w][F] = T));
                }
                (l && A(o - 1, h - 1, u + 2, i + 2, f),
                  (v.length = 0),
                  (m.length = 0));
              };
            d.exports = n;
          },
          93604: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(50811),
              c = t(51202),
              a = function (r, n, e, s, u, i) {
                (e || (e = {}), Array.isArray(r) || (r = [r]));
                var o = i.tilemapLayer;
                (s || (s = o.scene), u || (u = s.cameras.main));
                var h = A(0, 0, i.width, i.height, null, i),
                  l = [],
                  f;
                for (f = 0; f < h.length; f++) {
                  var v = h[f];
                  if (r.indexOf(v.index) !== -1) {
                    var m = o.tileToWorldXY(v.x, v.y, void 0, u, i);
                    ((e.x = m.x), (e.y = m.y), l.push(s.make.sprite(e)));
                  }
                }
                if (typeof n == "number")
                  for (f = 0; f < r.length; f++)
                    c(r[f], n, 0, 0, i.width, i.height, i);
                else if (Array.isArray(n))
                  for (f = 0; f < r.length; f++)
                    c(r[f], n[f], 0, 0, i.width, i.height, i);
                return l;
              };
            d.exports = a;
          },
          71586: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(74118),
              c = t(82127),
              a = t(84314),
              r = new A(),
              n = function (e, s) {
                var u = e.tilemapLayer.tilemap,
                  i = e.tilemapLayer,
                  o = Math.floor(u.tileWidth * i.scaleX),
                  h = Math.floor(u.tileHeight * i.scaleY),
                  l = a(s.worldView.x - i.x, o, 0, !0) - i.cullPaddingX,
                  f = c(s.worldView.right - i.x, o, 0, !0) + i.cullPaddingX,
                  v = a(s.worldView.y - i.y, h, 0, !0) - i.cullPaddingY,
                  m = c(s.worldView.bottom - i.y, h, 0, !0) + i.cullPaddingY;
                return r.setTo(l, v, f - l, m - v);
              };
            d.exports = n;
          },
          381: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(71586),
              c = t(6987),
              a = function (r, n, e, s) {
                (e === void 0 && (e = []),
                  s === void 0 && (s = 0),
                  (e.length = 0));
                var u = r.tilemapLayer,
                  i = A(r, n);
                return (
                  (u.skipCull ||
                    u.scrollFactorX !== 1 ||
                    u.scrollFactorY !== 1) &&
                    ((i.left = 0),
                    (i.right = r.width),
                    (i.top = 0),
                    (i.bottom = r.height)),
                  c(r, i, s, e),
                  e
                );
              };
            d.exports = a;
          },
          97734: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(50811),
              c = t(60386),
              a = t(68234),
              r = function (n, e, s, u, i, o, h) {
                for (
                  var l = h.collideIndexes.indexOf(n) !== -1,
                    f = A(e, s, u, i, null, h),
                    v = 0;
                  v < f.length;
                  v++
                )
                  ((f[v].index = n), a(f[v], l));
                o && c(e - 1, s - 1, u + 2, i + 2, h);
              };
            d.exports = r;
          },
          63555: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(50811),
              c = function (a, r, n, e, s, u, i, o) {
                var h = A(n, e, s, u, i, o);
                return h.filter(a, r);
              };
            d.exports = c;
          },
          37982: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              (A === void 0 && (A = 0), c === void 0 && (c = !1));
              var r = 0,
                n,
                e,
                s;
              if (c) {
                for (e = a.height - 1; e >= 0; e--)
                  for (n = a.width - 1; n >= 0; n--)
                    if (((s = a.data[e][n]), s && s.index === t)) {
                      if (r === A) return s;
                      r += 1;
                    }
              } else
                for (e = 0; e < a.height; e++)
                  for (n = 0; n < a.width; n++)
                    if (((s = a.data[e][n]), s && s.index === t)) {
                      if (r === A) return s;
                      r += 1;
                    }
              return null;
            };
            d.exports = y;
          },
          48297: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(50811),
              c = function (a, r, n, e, s, u, i, o) {
                var h = A(n, e, s, u, i, o);
                return h.find(a, r) || null;
              };
            d.exports = c;
          },
          80916: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(50811),
              c = function (a, r, n, e, s, u, i, o) {
                var h = A(n, e, s, u, i, o);
                h.forEach(a, r);
              };
            d.exports = c;
          },
          31493: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(12920),
              c = t(381),
              a = t(37524),
              r = t(20887),
              n = t(72283),
              e = t(19242),
              s = function (u) {
                return u === A.ORTHOGONAL
                  ? c
                  : u === A.HEXAGONAL
                    ? a
                    : u === A.STAGGERED
                      ? e
                      : u === A.ISOMETRIC
                        ? r
                        : n;
              };
            d.exports = s;
          },
          15494: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(62839),
              c = function (a, r, n, e) {
                if ((n === void 0 && (n = !1), A(a, r, e))) {
                  var s = e.data[r][a] || null;
                  return s ? (s.index === -1 ? (n ? s : null) : s) : null;
                } else return null;
              };
            d.exports = c;
          },
          24640: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(15494),
              c = t(93736),
              a = new c(),
              r = function (n, e, s, u, i) {
                return (
                  i.tilemapLayer.worldToTileXY(n, e, !0, a, u),
                  A(a.x, a.y, s, i)
                );
              };
            d.exports = r;
          },
          48495: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(93736),
              c = function (a, r, n, e) {
                var s = e.baseTileWidth,
                  u = e.baseTileHeight,
                  i = e.tilemapLayer,
                  o = 0,
                  h = 0;
                i &&
                  (n || (n = i.scene.cameras.main),
                  (o = i.x + n.scrollX * (1 - i.scrollFactorX)),
                  (h = i.y + n.scrollY * (1 - i.scrollFactorY)),
                  (s *= i.scaleX),
                  (u *= i.scaleY));
                var l = o + a * s,
                  f = h + r * u;
                return [
                  new A(l, f),
                  new A(l + s, f),
                  new A(l + s, f + u),
                  new A(l, f + u),
                ];
              };
            d.exports = c;
          },
          7160: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(12920),
              c = t(63634),
              a = t(72283),
              r = t(48495),
              n = function (e) {
                return e === A.ORTHOGONAL
                  ? r
                  : e === A.ISOMETRIC
                    ? a
                    : e === A.HEXAGONAL
                      ? c
                      : (e === A.STAGGERED, a);
              };
            d.exports = n;
          },
          16884: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(12920),
              c = t(72283),
              a = t(44150),
              r = function (n) {
                return n === A.ORTHOGONAL ? a : c;
              };
            d.exports = r;
          },
          68182: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(12920),
              c = t(21715),
              a = t(21808),
              r = t(72283),
              n = t(33388),
              e = t(46836),
              s = function (u) {
                return u === A.ORTHOGONAL
                  ? e
                  : u === A.ISOMETRIC
                    ? a
                    : u === A.HEXAGONAL
                      ? c
                      : u === A.STAGGERED
                        ? n
                        : r;
              };
            d.exports = s;
          },
          3752: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(12920),
              c = t(72283),
              a = t(84132),
              r = t(42477),
              n = function (e) {
                return e === A.ORTHOGONAL ? r : e === A.STAGGERED ? a : c;
              };
            d.exports = n;
          },
          50811: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72632),
              c = function (a, r, n, e, s, u) {
                (a === void 0 && (a = 0),
                  r === void 0 && (r = 0),
                  n === void 0 && (n = u.width),
                  e === void 0 && (e = u.height),
                  s || (s = {}));
                var i = A(s, "isNotEmpty", !1),
                  o = A(s, "isColliding", !1),
                  h = A(s, "hasInterestingFace", !1);
                (a < 0 && ((n += a), (a = 0)),
                  r < 0 && ((e += r), (r = 0)),
                  a + n > u.width && (n = Math.max(u.width - a, 0)),
                  r + e > u.height && (e = Math.max(u.height - r, 0)));
                for (var l = [], f = r; f < r + e; f++)
                  for (var v = a; v < a + n; v++) {
                    var m = u.data[f][v];
                    if (m !== null) {
                      if (
                        (i && m.index === -1) ||
                        (o && !m.collides) ||
                        (h && !m.hasInterestingFace)
                      )
                        continue;
                      l.push(m);
                    }
                  }
                return l;
              };
            d.exports = c;
          },
          31674: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(84068),
              c = t(50811),
              a = t(7563),
              r = t(72283),
              n = t(93736),
              e = function (h, l) {
                return a.RectangleToTriangle(l, h);
              },
              s = new n(),
              u = new n(),
              i = new n(),
              o = function (h, l, f, v) {
                if (h === void 0) return [];
                var m = r;
                (h instanceof A.Circle
                  ? (m = a.CircleToRectangle)
                  : h instanceof A.Rectangle
                    ? (m = a.RectangleToRectangle)
                    : h instanceof A.Triangle
                      ? (m = e)
                      : h instanceof A.Line && (m = a.LineToRectangle),
                  v.tilemapLayer.worldToTileXY(h.left, h.top, !0, u, f));
                var x = u.x,
                  g = u.y;
                v.tilemapLayer.worldToTileXY(h.right, h.bottom, !1, i, f);
                var C = Math.ceil(i.x),
                  T = Math.ceil(i.y),
                  F = Math.max(C - x, 1),
                  w = Math.max(T - g, 1),
                  U = c(x, g, F, w, l, v),
                  M = v.tileWidth,
                  I = v.tileHeight;
                v.tilemapLayer &&
                  ((M *= v.tilemapLayer.scaleX), (I *= v.tilemapLayer.scaleY));
                for (
                  var O = [], D = new A.Rectangle(0, 0, M, I), G = 0;
                  G < U.length;
                  G++
                ) {
                  var X = U[G];
                  (v.tilemapLayer.tileToWorldXY(X.x, X.y, s, f),
                    (D.x = s.x),
                    (D.y = s.y),
                    m(h, D) && O.push(X));
                }
                return O;
              };
            d.exports = o;
          },
          44662: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(50811),
              c = t(93736),
              a = new c(),
              r = new c(),
              n = function (e, s, u, i, o, h, l) {
                var f = l.tilemapLayer.tilemap._convert.WorldToTileXY;
                f(e, s, !0, a, h, l);
                var v = a.x,
                  m = a.y;
                f(e + u, s + i, !1, r, h, l);
                var x = Math.ceil(r.x),
                  g = Math.ceil(r.y);
                return A(v, m, x - v, g - m, o, l);
              };
            d.exports = n;
          },
          29296: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(12920),
              c = t(10618),
              a = t(806),
              r = function (n) {
                return n === A.ORTHOGONAL ? a : c;
              };
            d.exports = r;
          },
          32688: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(12920),
              c = t(11516),
              a = t(18750),
              r = t(72283),
              n = t(90562),
              e = t(45676),
              s = function (u) {
                return u === A.ORTHOGONAL
                  ? e
                  : u === A.ISOMETRIC
                    ? a
                    : u === A.HEXAGONAL
                      ? c
                      : u === A.STAGGERED
                        ? n
                        : r;
              };
            d.exports = s;
          },
          74326: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(12920),
              c = t(10618),
              a = t(3689),
              r = t(70520),
              n = function (e) {
                return e === A.ORTHOGONAL ? r : e === A.STAGGERED ? a : c;
              };
            d.exports = n;
          },
          46598: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(62839),
              c = function (a, r, n) {
                if (A(a, r, n)) {
                  var e = n.data[r][a];
                  return e !== null && e.index > -1;
                } else return !1;
              };
            d.exports = c;
          },
          28654: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(46598),
              c = t(93736),
              a = new c(),
              r = function (n, e, s, u) {
                u.tilemapLayer.worldToTileXY(n, e, !0, a, s);
                var i = a.x,
                  o = a.y;
                return A(i, o, u);
              };
            d.exports = r;
          },
          6358: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(82127),
              c = t(84314),
              a = function (r, n) {
                var e = r.tilemapLayer.tilemap,
                  s = r.tilemapLayer,
                  u = Math.floor(e.tileWidth * s.scaleX),
                  i = Math.floor(e.tileHeight * s.scaleY),
                  o = r.hexSideLength,
                  h,
                  l,
                  f,
                  v;
                if (r.staggerAxis === "y") {
                  var m = (i - o) / 2 + o;
                  ((h = c(n.worldView.x - s.x, u, 0, !0) - s.cullPaddingX),
                    (l = A(n.worldView.right - s.x, u, 0, !0) + s.cullPaddingX),
                    (f = c(n.worldView.y - s.y, m, 0, !0) - s.cullPaddingY),
                    (v =
                      A(n.worldView.bottom - s.y, m, 0, !0) + s.cullPaddingY));
                } else {
                  var x = (u - o) / 2 + o;
                  ((h = c(n.worldView.x - s.x, x, 0, !0) - s.cullPaddingX),
                    (l = A(n.worldView.right - s.x, x, 0, !0) + s.cullPaddingX),
                    (f = c(n.worldView.y - s.y, i, 0, !0) - s.cullPaddingY),
                    (v =
                      A(n.worldView.bottom - s.y, i, 0, !0) + s.cullPaddingY));
                }
                return { left: h, right: l, top: f, bottom: v };
              };
            d.exports = a;
          },
          37524: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(6358),
              c = t(6987),
              a = function (r, n, e, s) {
                (e === void 0 && (e = []),
                  s === void 0 && (s = 0),
                  (e.length = 0));
                var u = r.tilemapLayer,
                  i = A(r, n);
                return (
                  u.skipCull &&
                    u.scrollFactorX === 1 &&
                    u.scrollFactorY === 1 &&
                    ((i.left = 0),
                    (i.right = r.width),
                    (i.top = 0),
                    (i.bottom = r.height)),
                  c(r, i, s, e),
                  e
                );
              };
            d.exports = a;
          },
          63634: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(21715),
              c = t(93736),
              a = new c(),
              r = function (n, e, s, u) {
                var i = u.baseTileWidth,
                  o = u.baseTileHeight,
                  h = u.tilemapLayer;
                h && ((i *= h.scaleX), (o *= h.scaleY));
                var l = A(n, e, a, s, u),
                  f = [],
                  v = 0.5773502691896257,
                  m,
                  x;
                u.staggerAxis === "y"
                  ? ((m = v * i), (x = o / 2))
                  : ((m = i / 2), (x = v * o));
                for (var g = 0; g < 6; g++) {
                  var C = (2 * Math.PI * (0.5 - g)) / 6;
                  f.push(new c(l.x + m * Math.cos(C), l.y + x * Math.sin(C)));
                }
                return f;
              };
            d.exports = r;
          },
          21715: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(93736),
              c = function (a, r, n, e, s) {
                n || (n = new A());
                var u = s.baseTileWidth,
                  i = s.baseTileHeight,
                  o = s.tilemapLayer,
                  h = 0,
                  l = 0;
                o &&
                  (e || (e = o.scene.cameras.main),
                  (h = o.x + e.scrollX * (1 - o.scrollFactorX)),
                  (l = o.y + e.scrollY * (1 - o.scrollFactorY)),
                  (u *= o.scaleX),
                  (i *= o.scaleY));
                var f = u / 2,
                  v = i / 2,
                  m,
                  x;
                return (
                  s.staggerAxis === "y"
                    ? ((m = h + u * a + u),
                      (x = l + 1.5 * r * v + v),
                      r % 2 === 0 &&
                        (this.staggerIndex === "odd" ? (m -= f) : (m += f)))
                    : this.staggerAxis === "x" &&
                      this.staggerIndex === "odd" &&
                      ((m = h + 1.5 * a * f + f),
                      (x = l + i * a + i),
                      a % 2 === 0 &&
                        (this.staggerIndex === "odd" ? (x -= v) : (x += v))),
                  n.set(m, x)
                );
              };
            d.exports = c;
          },
          11516: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(93736),
              c = function (a, r, n, e, s, u) {
                e || (e = new A());
                var i = u.baseTileWidth,
                  o = u.baseTileHeight,
                  h = u.tilemapLayer;
                h &&
                  (s || (s = h.scene.cameras.main),
                  (a = a - (h.x + s.scrollX * (1 - h.scrollFactorX))),
                  (r = r - (h.y + s.scrollY * (1 - h.scrollFactorY))),
                  (i *= h.scaleX),
                  (o *= h.scaleY));
                var l = 0.5773502691896257,
                  f = -0.3333333333333333,
                  v = 0,
                  m = 0.6666666666666666,
                  x = i / 2,
                  g = o / 2,
                  C,
                  T,
                  F,
                  w,
                  U;
                (u.staggerAxis === "y"
                  ? ((C = (a - x) / (l * i)),
                    (T = (r - g) / g),
                    (F = l * C + f * T),
                    (w = v * C + m * T))
                  : ((C = (a - x) / x),
                    (T = (r - g) / (l * o)),
                    (F = f * C + l * T),
                    (w = m * C + v * T)),
                  (U = -F - w));
                var M = Math.round(F),
                  I = Math.round(w),
                  O = Math.round(U),
                  D = Math.abs(M - F),
                  G = Math.abs(I - w),
                  X = Math.abs(O - U);
                D > G && D > X ? (M = -I - O) : G > X && (I = -M - O);
                var z,
                  K = I;
                return (
                  u.staggerIndex === "odd"
                    ? (z = K % 2 === 0 ? I / 2 + M : I / 2 + M - 0.5)
                    : (z = K % 2 === 0 ? I / 2 + M : I / 2 + M + 0.5),
                  e.set(z, K)
                );
              };
            d.exports = c;
          },
          62839: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              return t >= 0 && t < c.width && A >= 0 && A < c.height;
            };
            d.exports = y;
          },
          20887: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(13125),
              c = function (a, r, n, e) {
                (n === void 0 && (n = []),
                  e === void 0 && (e = 0),
                  (n.length = 0));
                var s = a.tilemapLayer,
                  u = a.data,
                  i = a.width,
                  o = a.height,
                  h = s.skipCull,
                  l = 0,
                  f = i,
                  v = 0,
                  m = o,
                  x,
                  g,
                  C;
                if (e === 0) {
                  for (g = v; g < m; g++)
                    for (x = l; x < f; x++)
                      if (h || A(x, g, a, r)) {
                        if (
                          ((C = u[g][x]),
                          !C || C.index === -1 || !C.visible || C.alpha === 0)
                        )
                          continue;
                        n.push(C);
                      }
                } else if (e === 1) {
                  for (g = v; g < m; g++)
                    for (x = f; x >= l; x--)
                      if (h || A(x, g, a, r)) {
                        if (
                          ((C = u[g][x]),
                          !C || C.index === -1 || !C.visible || C.alpha === 0)
                        )
                          continue;
                        n.push(C);
                      }
                } else if (e === 2) {
                  for (g = m; g >= v; g--)
                    for (x = l; x < f; x++)
                      if (h || A(x, g, a, r)) {
                        if (
                          ((C = u[g][x]),
                          !C || C.index === -1 || !C.visible || C.alpha === 0)
                        )
                          continue;
                        n.push(C);
                      }
                } else if (e === 3) {
                  for (g = m; g >= v; g--)
                    for (x = f; x >= l; x--)
                      if (h || A(x, g, a, r)) {
                        if (
                          ((C = u[g][x]),
                          !C || C.index === -1 || !C.visible || C.alpha === 0)
                        )
                          continue;
                        n.push(C);
                      }
                }
                return ((s.tilesDrawn = n.length), (s.tilesTotal = i * o), n);
              };
            d.exports = c;
          },
          21808: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(93736),
              c = function (a, r, n, e, s) {
                n || (n = new A());
                var u = s.baseTileWidth,
                  i = s.baseTileHeight,
                  o = s.tilemapLayer,
                  h = 0,
                  l = 0;
                o &&
                  (e || (e = o.scene.cameras.main),
                  (h = o.x + e.scrollX * (1 - o.scrollFactorX)),
                  (u *= o.scaleX),
                  (l = o.y + e.scrollY * (1 - o.scrollFactorY)),
                  (i *= o.scaleY));
                var f = h + (a - r) * (u / 2),
                  v = l + (a + r) * (i / 2);
                return n.set(f, v);
              };
            d.exports = c;
          },
          18750: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(93736),
              c = function (a, r, n, e, s, u, i) {
                e || (e = new A());
                var o = u.baseTileWidth,
                  h = u.baseTileHeight,
                  l = u.tilemapLayer;
                l &&
                  (s || (s = l.scene.cameras.main),
                  (r = r - (l.y + s.scrollY * (1 - l.scrollFactorY))),
                  (h *= l.scaleY),
                  (a = a - (l.x + s.scrollX * (1 - l.scrollFactorX))),
                  (o *= l.scaleX));
                var f = o / 2,
                  v = h / 2;
                ((a = a - f), i || (r = r - h));
                var m = 0.5 * (a / f + r / v),
                  x = 0.5 * (-a / f + r / v);
                return (
                  n && ((m = Math.floor(m)), (x = Math.floor(x))),
                  e.set(m, x)
                );
              };
            d.exports = c;
          },
          29003: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(29633),
              c = t(62839),
              a = t(92839),
              r = t(68234),
              n = function (e, s, u, i, o) {
                if ((i === void 0 && (i = !0), !c(s, u, o))) return null;
                var h,
                  l = o.data[u][s],
                  f = l && l.collides;
                e instanceof A
                  ? (o.data[u][s] === null &&
                      (o.data[u][s] = new A(
                        o,
                        e.index,
                        s,
                        u,
                        o.tileWidth,
                        o.tileHeight,
                      )),
                    o.data[u][s].copy(e))
                  : ((h = e),
                    o.data[u][s] === null
                      ? (o.data[u][s] = new A(
                          o,
                          h,
                          s,
                          u,
                          o.tileWidth,
                          o.tileHeight,
                        ))
                      : (o.data[u][s].index = h));
                var v = o.data[u][s],
                  m = o.collideIndexes.indexOf(v.index) !== -1;
                if (((h = e instanceof A ? e.index : e), h === -1))
                  ((v.width = o.tileWidth), (v.height = o.tileHeight));
                else {
                  var x = o.tilemapLayer.tilemap,
                    g = x.tiles,
                    C = g[h][2],
                    T = x.tilesets[C];
                  ((v.width = T.tileWidth), (v.height = T.tileHeight));
                }
                return (r(v, m), i && f !== v.collides && a(s, u, o), v);
              };
            d.exports = n;
          },
          48565: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(29003),
              c = t(93736),
              a = new c(),
              r = function (n, e, s, u, i, o) {
                return (
                  o.tilemapLayer.worldToTileXY(e, s, !0, a, i, o),
                  A(n, a.x, a.y, u, o)
                );
              };
            d.exports = r;
          },
          56547: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(60386),
              c = t(29003),
              a = function (r, n, e, s, u) {
                if ((s === void 0 && (s = !0), !Array.isArray(r))) return null;
                Array.isArray(r[0]) || (r = [r]);
                for (var i = r.length, o = r[0].length, h = 0; h < i; h++)
                  for (var l = 0; l < o; l++) {
                    var f = r[h][l];
                    c(f, n + l, e + h, !1, u);
                  }
                s && A(n - 1, e - 1, o + 2, i + 2, u);
              };
            d.exports = a;
          },
          91180: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(50811),
              c = t(72861),
              a = function (r, n, e, s, u, i) {
                var o,
                  h = A(r, n, e, s, {}, i);
                if (!u)
                  for (u = [], o = 0; o < h.length; o++)
                    u.indexOf(h[o].index) === -1 && u.push(h[o].index);
                for (o = 0; o < h.length; o++) h[o].index = c(u);
              };
            d.exports = a;
          },
          929: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(29633),
              c = t(62839),
              a = t(92839),
              r = function (n, e, s, u, i) {
                if (
                  (s === void 0 && (s = !0),
                  u === void 0 && (u = !0),
                  !c(n, e, i))
                )
                  return null;
                var o = i.data[e][n];
                if (o)
                  i.data[e][n] = s
                    ? null
                    : new A(i, -1, n, e, i.tileWidth, i.tileHeight);
                else return null;
                return (u && o && o.collides && a(n, e, i), o);
              };
            d.exports = r;
          },
          17384: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(929),
              c = t(93736),
              a = new c(),
              r = function (n, e, s, u, i, o) {
                return (
                  o.tilemapLayer.worldToTileXY(n, e, !0, a, i, o),
                  A(a.x, a.y, s, u, o)
                );
              };
            d.exports = r;
          },
          93763: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(50811),
              c = t(95509),
              a = new c(105, 210, 231, 150),
              r = new c(243, 134, 48, 200),
              n = new c(40, 39, 37, 150),
              e = function (s, u, i) {
                u === void 0 && (u = {});
                var o = u.tileColor !== void 0 ? u.tileColor : a,
                  h =
                    u.collidingTileColor !== void 0 ? u.collidingTileColor : r,
                  l = u.faceColor !== void 0 ? u.faceColor : n,
                  f = A(0, 0, i.width, i.height, null, i);
                (s.translateCanvas(i.tilemapLayer.x, i.tilemapLayer.y),
                  s.scaleCanvas(i.tilemapLayer.scaleX, i.tilemapLayer.scaleY));
                for (var v = 0; v < f.length; v++) {
                  var m = f[v],
                    x = m.width,
                    g = m.height,
                    C = m.pixelX,
                    T = m.pixelY,
                    F = m.collides ? h : o;
                  (F !== null &&
                    (s.fillStyle(F.color, F.alpha / 255),
                    s.fillRect(C, T, x, g)),
                    (C += 1),
                    (T += 1),
                    (x -= 2),
                    (g -= 2),
                    l !== null &&
                      (s.lineStyle(1, l.color, l.alpha / 255),
                      m.faceTop && s.lineBetween(C, T, C + x, T),
                      m.faceRight && s.lineBetween(C + x, T, C + x, T + g),
                      m.faceBottom && s.lineBetween(C, T + g, C + x, T + g),
                      m.faceLeft && s.lineBetween(C, T, C, T + g)));
                }
              };
            d.exports = e;
          },
          51202: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(50811),
              c = function (a, r, n, e, s, u, i) {
                for (var o = A(n, e, s, u, null, i), h = 0; h < o.length; h++)
                  o[h] && o[h].index === a && (o[h].index = r);
              };
            d.exports = c;
          },
          6987: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              var r = t.data,
                n = t.width,
                e = t.height,
                s = t.tilemapLayer,
                u = Math.max(0, A.left),
                i = Math.min(n, A.right),
                o = Math.max(0, A.top),
                h = Math.min(e, A.bottom),
                l,
                f,
                v;
              if (c === 0)
                for (f = o; f < h; f++)
                  for (l = u; r[f] && l < i; l++)
                    ((v = r[f][l]),
                      !(!v || v.index === -1 || !v.visible || v.alpha === 0) &&
                        a.push(v));
              else if (c === 1)
                for (f = o; f < h; f++)
                  for (l = i; r[f] && l >= u; l--)
                    ((v = r[f][l]),
                      !(!v || v.index === -1 || !v.visible || v.alpha === 0) &&
                        a.push(v));
              else if (c === 2)
                for (f = h; f >= o; f--)
                  for (l = u; r[f] && l < i; l++)
                    ((v = r[f][l]),
                      !(!v || v.index === -1 || !v.visible || v.alpha === 0) &&
                        a.push(v));
              else if (c === 3)
                for (f = h; f >= o; f--)
                  for (l = i; r[f] && l >= u; l--)
                    ((v = r[f][l]),
                      !(!v || v.index === -1 || !v.visible || v.alpha === 0) &&
                        a.push(v));
              return ((s.tilesDrawn = a.length), (s.tilesTotal = n * e), a);
            };
            d.exports = y;
          },
          51710: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(68234),
              c = t(60386),
              a = t(91181),
              r = function (n, e, s, u, i) {
                (e === void 0 && (e = !0),
                  s === void 0 && (s = !0),
                  i === void 0 && (i = !0),
                  Array.isArray(n) || (n = [n]));
                for (var o = 0; o < n.length; o++) a(n[o], e, u);
                if (i)
                  for (var h = 0; h < u.height; h++)
                    for (var l = 0; l < u.width; l++) {
                      var f = u.data[h][l];
                      f && n.indexOf(f.index) !== -1 && A(f, e);
                    }
                s && c(0, 0, u.width, u.height, u);
              };
            d.exports = r;
          },
          15216: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(68234),
              c = t(60386),
              a = t(91181),
              r = function (n, e, s, u, i, o) {
                if (
                  (s === void 0 && (s = !0),
                  u === void 0 && (u = !0),
                  o === void 0 && (o = !0),
                  !(n > e))
                ) {
                  for (var h = n; h <= e; h++) a(h, s, i);
                  if (o)
                    for (var l = 0; l < i.height; l++)
                      for (var f = 0; f < i.width; f++) {
                        var v = i.data[l][f];
                        v && v.index >= n && v.index <= e && A(v, s);
                      }
                  u && c(0, 0, i.width, i.height, i);
                }
              };
            d.exports = r;
          },
          33158: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(68234),
              c = t(60386),
              a = t(91181),
              r = function (n, e, s, u) {
                (e === void 0 && (e = !0),
                  s === void 0 && (s = !0),
                  Array.isArray(n) || (n = [n]));
                for (var i = 0; i < u.height; i++)
                  for (var o = 0; o < u.width; o++) {
                    var h = u.data[i][o];
                    h &&
                      n.indexOf(h.index) === -1 &&
                      (A(h, e), a(h.index, e, u));
                  }
                s && c(0, 0, u.width, u.height, u);
              };
            d.exports = r;
          },
          4180: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(68234),
              c = t(60386),
              a = t(19256),
              r = function (n, e, s, u) {
                (e === void 0 && (e = !0), s === void 0 && (s = !0));
                for (var i = 0; i < u.height; i++)
                  for (var o = 0; o < u.width; o++) {
                    var h = u.data[i][o];
                    if (h) {
                      for (var l in n)
                        if (a(h.properties, l)) {
                          var f = n[l];
                          Array.isArray(f) || (f = [f]);
                          for (var v = 0; v < f.length; v++)
                            h.properties[l] === f[v] && A(h, e);
                        }
                    }
                  }
                s && c(0, 0, u.width, u.height, u);
              };
            d.exports = r;
          },
          18625: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(68234),
              c = t(60386),
              a = function (r, n, e) {
                (r === void 0 && (r = !0), n === void 0 && (n = !0));
                for (var s = 0; s < e.height; s++)
                  for (var u = 0; u < e.width; u++) {
                    var i = e.data[s][u];
                    if (i) {
                      var o = i.getCollisionGroup();
                      o && o.objects && o.objects.length > 0 && A(i, r);
                    }
                  }
                n && c(0, 0, e.width, e.height, e);
              };
            d.exports = a;
          },
          91181: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              var a = c.collideIndexes.indexOf(t);
              A && a === -1
                ? c.collideIndexes.push(t)
                : !A && a !== -1 && c.collideIndexes.splice(a, 1);
            };
            d.exports = y;
          },
          68234: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              A ? t.setCollision(!0, !0, !0, !0, !1) : t.resetCollision(!1);
            };
            d.exports = y;
          },
          11628: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              if (typeof t == "number")
                a.callbacks[t] =
                  A !== null ? { callback: A, callbackContext: c } : void 0;
              else
                for (var r = 0, n = t.length; r < n; r++)
                  a.callbacks[t[r]] =
                    A !== null ? { callback: A, callbackContext: c } : void 0;
            };
            d.exports = y;
          },
          72732: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(50811),
              c = function (a, r, n, e, s, u, i) {
                for (var o = A(a, r, n, e, null, i), h = 0; h < o.length; h++)
                  o[h].setCollisionCallback(s, u);
              };
            d.exports = c;
          },
          34397: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(50811),
              c = t(18592),
              a = function (r, n, e, s, u) {
                var i = A(r, n, e, s, null, u),
                  o = i.map(function (l) {
                    return l.index;
                  });
                c(o);
                for (var h = 0; h < i.length; h++) i[h].index = o[h];
              };
            d.exports = a;
          },
          53945: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(82127),
              c = t(84314),
              a = function (r, n) {
                var e = r.tilemapLayer.tilemap,
                  s = r.tilemapLayer,
                  u = Math.floor(e.tileWidth * s.scaleX),
                  i = Math.floor(e.tileHeight * s.scaleY),
                  o = c(n.worldView.x - s.x, u, 0, !0) - s.cullPaddingX,
                  h = A(n.worldView.right - s.x, u, 0, !0) + s.cullPaddingX,
                  l = c(n.worldView.y - s.y, i / 2, 0, !0) - s.cullPaddingY,
                  f =
                    A(n.worldView.bottom - s.y, i / 2, 0, !0) + s.cullPaddingY;
                return { left: o, right: h, top: l, bottom: f };
              };
            d.exports = a;
          },
          19242: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(53945),
              c = t(6987),
              a = function (r, n, e, s) {
                (e === void 0 && (e = []),
                  s === void 0 && (s = 0),
                  (e.length = 0));
                var u = r.tilemapLayer,
                  i = A(r, n);
                return (
                  u.skipCull &&
                    u.scrollFactorX === 1 &&
                    u.scrollFactorY === 1 &&
                    ((i.left = 0),
                    (i.right = r.width),
                    (i.top = 0),
                    (i.bottom = r.height)),
                  c(r, i, s, e),
                  e
                );
              };
            d.exports = a;
          },
          33388: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(93736),
              c = function (a, r, n, e, s) {
                n || (n = new A());
                var u = s.baseTileWidth,
                  i = s.baseTileHeight,
                  o = s.tilemapLayer,
                  h = 0,
                  l = 0;
                o &&
                  (e || (e = o.scene.cameras.main),
                  (h = o.x + e.scrollX * (1 - o.scrollFactorX)),
                  (u *= o.scaleX),
                  (l = o.y + e.scrollY * (1 - o.scrollFactorY)),
                  (i *= o.scaleY));
                var f = h + a * u + (r % 2) * (u / 2),
                  v = l + r * (i / 2);
                return n.set(f, v);
              };
            d.exports = c;
          },
          84132: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              var a = c.baseTileHeight,
                r = c.tilemapLayer,
                n = 0;
              return (
                r &&
                  (A === void 0 && (A = r.scene.cameras.main),
                  (n = r.y + A.scrollY * (1 - r.scrollFactorY)),
                  (a *= r.scaleY)),
                n + t * (a / 2) + a
              );
            };
            d.exports = y;
          },
          90562: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(93736),
              c = function (a, r, n, e, s, u) {
                e || (e = new A());
                var i = u.baseTileWidth,
                  o = u.baseTileHeight,
                  h = u.tilemapLayer;
                h &&
                  (s || (s = h.scene.cameras.main),
                  (r = r - (h.y + s.scrollY * (1 - h.scrollFactorY))),
                  (o *= h.scaleY),
                  (a = a - (h.x + s.scrollX * (1 - h.scrollFactorX))),
                  (i *= h.scaleX));
                var l = n ? Math.floor(r / (o / 2)) : r / (o / 2),
                  f = n
                    ? Math.floor((a + (l % 2) * 0.5 * i) / i)
                    : (a + (l % 2) * 0.5 * i) / i;
                return e.set(f, l);
              };
            d.exports = c;
          },
          3689: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              var r = a.baseTileHeight,
                n = a.tilemapLayer;
              return (
                n &&
                  (c || (c = n.scene.cameras.main),
                  (t = t - (n.y + c.scrollY * (1 - n.scrollFactorY))),
                  (r *= n.scaleY)),
                A ? Math.floor(t / (r / 2)) : t / (r / 2)
              );
            };
            d.exports = y;
          },
          55217: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(50811),
              c = function (a, r, n, e, s, u, i) {
                for (var o = A(n, e, s, u, null, i), h = 0; h < o.length; h++)
                  o[h] &&
                    (o[h].index === a
                      ? (o[h].index = r)
                      : o[h].index === r && (o[h].index = a));
              };
            d.exports = c;
          },
          44150: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              var a = c.baseTileWidth,
                r = c.tilemapLayer,
                n = 0;
              return (
                r &&
                  (A || (A = r.scene.cameras.main),
                  (n = r.x + A.scrollX * (1 - r.scrollFactorX)),
                  (a *= r.scaleX)),
                n + t * a
              );
            };
            d.exports = y;
          },
          46836: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(44150),
              c = t(42477),
              a = t(93736),
              r = function (n, e, s, u, i) {
                return (
                  s || (s = new a(0, 0)),
                  (s.x = A(n, u, i)),
                  (s.y = c(e, u, i)),
                  s
                );
              };
            d.exports = r;
          },
          42477: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              var a = c.baseTileHeight,
                r = c.tilemapLayer,
                n = 0;
              return (
                r &&
                  (A || (A = r.scene.cameras.main),
                  (n = r.y + A.scrollY * (1 - r.scrollFactorY)),
                  (a *= r.scaleY)),
                n + t * a
              );
            };
            d.exports = y;
          },
          39677: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(50811),
              c = function (a, r, n, e, s, u) {
                if (s) {
                  var i,
                    o = A(a, r, n, e, null, u),
                    h = 0;
                  for (i = 0; i < s.length; i++) h += s[i].weight;
                  if (!(h <= 0))
                    for (i = 0; i < o.length; i++) {
                      for (
                        var l = Math.random() * h, f = 0, v = -1, m = 0;
                        m < s.length;
                        m++
                      )
                        if (((f += s[m].weight), l <= f)) {
                          var x = s[m].index;
                          v = Array.isArray(x)
                            ? x[Math.floor(Math.random() * x.length)]
                            : x;
                          break;
                        }
                      o[i].index = v;
                    }
                }
              };
            d.exports = c;
          },
          806: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(45676),
              c = t(93736),
              a = new c(),
              r = function (n, e, s, u) {
                return (A(n, 0, e, a, s, u), a.x);
              };
            d.exports = r;
          },
          45676: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(93736),
              c = function (a, r, n, e, s, u) {
                (n === void 0 && (n = !0), e || (e = new A()));
                var i = u.baseTileWidth,
                  o = u.baseTileHeight,
                  h = u.tilemapLayer;
                h &&
                  (s || (s = h.scene.cameras.main),
                  (a = a - (h.x + s.scrollX * (1 - h.scrollFactorX))),
                  (r = r - (h.y + s.scrollY * (1 - h.scrollFactorY))),
                  (i *= h.scaleX),
                  (o *= h.scaleY));
                var l = a / i,
                  f = r / o;
                return (
                  n && ((l = Math.floor(l)), (f = Math.floor(f))),
                  e.set(l, f)
                );
              };
            d.exports = c;
          },
          70520: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(45676),
              c = t(93736),
              a = new c(),
              r = function (n, e, s, u) {
                return (A(0, n, e, a, s, u), a.y);
              };
            d.exports = r;
          },
          5047: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              CalculateFacesAt: t(92839),
              CalculateFacesWithin: t(60386),
              CheckIsoBounds: t(13125),
              Copy: t(17347),
              CreateFromTiles: t(93604),
              CullBounds: t(71586),
              CullTiles: t(381),
              Fill: t(97734),
              FilterTiles: t(63555),
              FindByIndex: t(37982),
              FindTile: t(48297),
              ForEachTile: t(80916),
              GetCullTilesFunction: t(31493),
              GetTileAt: t(15494),
              GetTileAtWorldXY: t(24640),
              GetTileCorners: t(48495),
              GetTileCornersFunction: t(7160),
              GetTilesWithin: t(50811),
              GetTilesWithinShape: t(31674),
              GetTilesWithinWorldXY: t(44662),
              GetTileToWorldXFunction: t(16884),
              GetTileToWorldXYFunction: t(68182),
              GetTileToWorldYFunction: t(3752),
              GetWorldToTileXFunction: t(29296),
              GetWorldToTileXYFunction: t(32688),
              GetWorldToTileYFunction: t(74326),
              HasTileAt: t(46598),
              HasTileAtWorldXY: t(28654),
              HexagonalCullBounds: t(6358),
              HexagonalCullTiles: t(37524),
              HexagonalGetTileCorners: t(63634),
              HexagonalTileToWorldXY: t(21715),
              HexagonalWorldToTileXY: t(11516),
              IsInLayerBounds: t(62839),
              IsometricCullTiles: t(20887),
              IsometricTileToWorldXY: t(21808),
              IsometricWorldToTileXY: t(18750),
              PutTileAt: t(29003),
              PutTileAtWorldXY: t(48565),
              PutTilesAt: t(56547),
              Randomize: t(91180),
              RemoveTileAt: t(929),
              RemoveTileAtWorldXY: t(17384),
              RenderDebug: t(93763),
              ReplaceByIndex: t(51202),
              RunCull: t(6987),
              SetCollision: t(51710),
              SetCollisionBetween: t(15216),
              SetCollisionByExclusion: t(33158),
              SetCollisionByProperty: t(4180),
              SetCollisionFromCollisionGroup: t(18625),
              SetLayerCollisionIndex: t(91181),
              SetTileCollision: t(68234),
              SetTileIndexCallback: t(11628),
              SetTileLocationCallback: t(72732),
              Shuffle: t(34397),
              StaggeredCullBounds: t(53945),
              StaggeredCullTiles: t(19242),
              StaggeredTileToWorldXY: t(33388),
              StaggeredTileToWorldY: t(84132),
              StaggeredWorldToTileXY: t(90562),
              StaggeredWorldToTileY: t(3689),
              SwapByIndex: t(55217),
              TileToWorldX: t(44150),
              TileToWorldXY: t(46836),
              TileToWorldY: t(42477),
              WeightedRandomize: t(39677),
              WorldToTileX: t(806),
              WorldToTileXY: t(45676),
              WorldToTileY: t(70520),
            };
          },
          12920: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              ORTHOGONAL: 0,
              ISOMETRIC: 1,
              STAGGERED: 2,
              HEXAGONAL: 3,
            };
          },
          84758: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = { ORIENTATION: t(12920) };
            d.exports = A;
          },
          52678: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(98611),
              c = t(84758),
              a = {
                Components: t(5047),
                Parsers: t(34124),
                Formats: t(93560),
                ImageCollection: t(97042),
                ParseToTilemap: t(15043),
                Tile: t(29633),
                Tilemap: t(89797),
                TilemapCreator: t(4843),
                TilemapFactory: t(37940),
                Tileset: t(47975),
                TilemapLayer: t(87177),
                Orientation: t(12920),
                LayerData: t(94990),
                MapData: t(16586),
                ObjectLayer: t(15256),
              };
            ((a = A(!1, a, c.ORIENTATION)), (d.exports = a));
          },
          94990: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(12920),
              a = t(72632),
              r = new A({
                initialize: function (e) {
                  (e === void 0 && (e = {}),
                    (this.name = a(e, "name", "layer")),
                    (this.id = a(e, "id", 0)),
                    (this.x = a(e, "x", 0)),
                    (this.y = a(e, "y", 0)),
                    (this.width = a(e, "width", 0)),
                    (this.height = a(e, "height", 0)),
                    (this.tileWidth = a(e, "tileWidth", 0)),
                    (this.tileHeight = a(e, "tileHeight", 0)),
                    (this.baseTileWidth = a(
                      e,
                      "baseTileWidth",
                      this.tileWidth,
                    )),
                    (this.baseTileHeight = a(
                      e,
                      "baseTileHeight",
                      this.tileHeight,
                    )),
                    (this.orientation = a(e, "orientation", c.ORTHOGONAL)),
                    (this.widthInPixels = a(
                      e,
                      "widthInPixels",
                      this.width * this.baseTileWidth,
                    )),
                    (this.heightInPixels = a(
                      e,
                      "heightInPixels",
                      this.height * this.baseTileHeight,
                    )),
                    (this.alpha = a(e, "alpha", 1)),
                    (this.visible = a(e, "visible", !0)),
                    (this.properties = a(e, "properties", [])),
                    (this.indexes = a(e, "indexes", [])),
                    (this.collideIndexes = a(e, "collideIndexes", [])),
                    (this.callbacks = a(e, "callbacks", [])),
                    (this.bodies = a(e, "bodies", [])),
                    (this.data = a(e, "data", [])),
                    (this.tilemapLayer = a(e, "tilemapLayer", null)),
                    (this.hexSideLength = a(e, "hexSideLength", 0)),
                    (this.staggerAxis = a(e, "staggerAxis", "y")),
                    (this.staggerIndex = a(e, "staggerIndex", "odd")));
                },
              });
            d.exports = r;
          },
          16586: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(12920),
              a = t(72632),
              r = new A({
                initialize: function (e) {
                  (e === void 0 && (e = {}),
                    (this.name = a(e, "name", "map")),
                    (this.width = a(e, "width", 0)),
                    (this.height = a(e, "height", 0)),
                    (this.infinite = a(e, "infinite", !1)),
                    (this.tileWidth = a(e, "tileWidth", 0)),
                    (this.tileHeight = a(e, "tileHeight", 0)),
                    (this.widthInPixels = a(
                      e,
                      "widthInPixels",
                      this.width * this.tileWidth,
                    )),
                    (this.heightInPixels = a(
                      e,
                      "heightInPixels",
                      this.height * this.tileHeight,
                    )),
                    (this.format = a(e, "format", null)),
                    (this.orientation = a(e, "orientation", c.ORTHOGONAL)),
                    (this.renderOrder = a(e, "renderOrder", "right-down")),
                    (this.version = a(e, "version", "1")),
                    (this.properties = a(e, "properties", {})),
                    (this.layers = a(e, "layers", [])),
                    (this.images = a(e, "images", [])),
                    (this.objects = a(e, "objects", [])),
                    Array.isArray(this.objects) || (this.objects = []),
                    (this.collision = a(e, "collision", {})),
                    (this.tilesets = a(e, "tilesets", [])),
                    (this.imageCollections = a(e, "imageCollections", [])),
                    (this.tiles = a(e, "tiles", [])),
                    (this.hexSideLength = a(e, "hexSideLength", 0)),
                    (this.staggerAxis = a(e, "staggerAxis", "y")),
                    (this.staggerIndex = a(e, "staggerIndex", "odd")));
                },
              });
            d.exports = r;
          },
          15256: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(72632),
              a = new A({
                initialize: function (n) {
                  (n === void 0 && (n = {}),
                    (this.name = c(n, "name", "object layer")),
                    (this.id = c(n, "id", 0)),
                    (this.opacity = c(n, "opacity", 1)),
                    (this.properties = c(n, "properties", {})),
                    (this.propertyTypes = c(n, "propertytypes", {})),
                    (this.type = c(n, "type", "objectgroup")),
                    (this.visible = c(n, "visible", !0)),
                    (this.objects = c(n, "objects", [])),
                    Array.isArray(this.objects) || (this.objects = []));
                },
              });
            d.exports = a;
          },
          21394: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(12920),
              c = function (a) {
                return (
                  (a = a.toLowerCase()),
                  a === "isometric"
                    ? A.ISOMETRIC
                    : a === "staggered"
                      ? A.STAGGERED
                      : a === "hexagonal"
                        ? A.HEXAGONAL
                        : A.ORTHOGONAL
                );
              };
            d.exports = c;
          },
          90715: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(93560),
              c = t(84346),
              a = t(96097),
              r = t(2378),
              n = t(44909),
              e = function (s, u, i, o, h, l) {
                var f;
                switch (u) {
                  case A.ARRAY_2D:
                    f = c(s, i, o, h, l);
                    break;
                  case A.CSV:
                    f = a(s, i, o, h, l);
                    break;
                  case A.TILED_JSON:
                    f = r(s, i, l);
                    break;
                  case A.WELTMEISTER:
                    f = n(s, i, l);
                    break;
                  default:
                    (console.warn("Unrecognized tilemap data format: " + u),
                      (f = null));
                }
                return f;
              };
            d.exports = e;
          },
          84346: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(93560),
              c = t(94990),
              a = t(16586),
              r = t(29633),
              n = function (e, s, u, i, o) {
                for (
                  var h = new c({ tileWidth: u, tileHeight: i }),
                    l = new a({
                      name: e,
                      tileWidth: u,
                      tileHeight: i,
                      format: A.ARRAY_2D,
                      layers: [h],
                    }),
                    f = [],
                    v = s.length,
                    m = 0,
                    x = 0;
                  x < s.length;
                  x++
                ) {
                  f[x] = [];
                  for (var g = s[x], C = 0; C < g.length; C++) {
                    var T = parseInt(g[C], 10);
                    isNaN(T) || T === -1
                      ? (f[x][C] = o ? null : new r(h, -1, C, x, u, i))
                      : (f[x][C] = new r(h, T, C, x, u, i));
                  }
                  m === 0 && (m = g.length);
                }
                return (
                  (l.width = h.width = m),
                  (l.height = h.height = v),
                  (l.widthInPixels = h.widthInPixels = m * u),
                  (l.heightInPixels = h.heightInPixels = v * i),
                  (h.data = f),
                  l
                );
              };
            d.exports = n;
          },
          96097: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(93560),
              c = t(84346),
              a = function (r, n, e, s, u) {
                var i = n
                    .trim()
                    .split(
                      `
`,
                    )
                    .map(function (h) {
                      return h.split(",");
                    }),
                  o = c(r, i, e, s, u);
                return ((o.format = A.CSV), o);
              };
            d.exports = a;
          },
          30951: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(94990),
              c = t(29633),
              a = function (r, n) {
                for (var e = [], s = 0; s < r.layer.length; s++) {
                  for (
                    var u = r.layer[s],
                      i = new A({
                        name: u.name,
                        width: u.width,
                        height: u.height,
                        tileWidth: u.tilesize,
                        tileHeight: u.tilesize,
                        visible: u.visible === 1,
                      }),
                      o = [],
                      h = [],
                      l = 0;
                    l < u.data.length;
                    l++
                  ) {
                    for (var f = 0; f < u.data[l].length; f++) {
                      var v = u.data[l][f] - 1,
                        m;
                      (v > -1
                        ? (m = new c(i, v, f, l, u.tilesize, u.tilesize))
                        : (m = n
                            ? null
                            : new c(i, -1, f, l, u.tilesize, u.tilesize)),
                        o.push(m));
                    }
                    (h.push(o), (o = []));
                  }
                  ((i.data = h), e.push(i));
                }
                return e;
              };
            d.exports = a;
          },
          47488: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(47975),
              c = function (a) {
                for (var r = [], n = [], e = 0; e < a.layer.length; e++) {
                  var s = a.layer[e],
                    u = s.tilesetName;
                  u !== "" &&
                    n.indexOf(u) === -1 &&
                    (n.push(u),
                    r.push(new A(u, 0, s.tilesize, s.tilesize, 0, 0)));
                }
                return r;
              };
            d.exports = c;
          },
          44909: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(93560),
              c = t(16586),
              a = t(30951),
              r = t(47488),
              n = function (e, s, u) {
                if (s.layer.length === 0)
                  return (
                    console.warn(
                      "No layers found in the Weltmeister map: " + e,
                    ),
                    null
                  );
                for (var i = 0, o = 0, h = 0; h < s.layer.length; h++)
                  (s.layer[h].width > i && (i = s.layer[h].width),
                    s.layer[h].height > o && (o = s.layer[h].height));
                var l = new c({
                  width: i,
                  height: o,
                  name: e,
                  tileWidth: s.layer[0].tilesize,
                  tileHeight: s.layer[0].tilesize,
                  format: A.WELTMEISTER,
                });
                return ((l.layers = a(s, u)), (l.tilesets = r(s)), l);
              };
            d.exports = n;
          },
          24507: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              ParseTileLayers: t(30951),
              ParseTilesets: t(47488),
              ParseWeltmeister: t(44909),
            };
          },
          34124: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              FromOrientationString: t(21394),
              Parse: t(90715),
              Parse2DArray: t(84346),
              ParseCSV: t(96097),
              Impact: t(24507),
              Tiled: t(50044),
            };
          },
          48646: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(98611),
              c = function (a) {
                for (var r, n, e, s, u, i = 0; i < a.layers.length; i++) {
                  ((r = a.layers[i]), (s = null));
                  for (var o = 0; o < r.data.length; o++) {
                    u = r.data[o];
                    for (var h = 0; h < u.length; h++)
                      ((n = u[h]),
                        !(n === null || n.index < 0) &&
                          ((e = a.tiles[n.index][2]),
                          (s = a.tilesets[e]),
                          (n.width = s.tileWidth),
                          (n.height = s.tileHeight),
                          s.tileProperties &&
                            s.tileProperties[n.index - s.firstgid] &&
                            (n.properties = A(
                              n.properties,
                              s.tileProperties[n.index - s.firstgid],
                            ))));
                  }
                }
              };
            d.exports = c;
          },
          43908: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              for (
                var A = window.atob(t),
                  c = A.length,
                  a = new Array(c / 4),
                  r = 0;
                r < c;
                r += 4
              )
                a[r / 4] =
                  (A.charCodeAt(r) |
                    (A.charCodeAt(r + 1) << 8) |
                    (A.charCodeAt(r + 2) << 16) |
                    (A.charCodeAt(r + 3) << 24)) >>>
                  0;
              return a;
            };
            d.exports = y;
          },
          14556: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(47975),
              c = function (a) {
                var r,
                  n,
                  e = [];
                for (r = 0; r < a.imageCollections.length; r++)
                  for (
                    var s = a.imageCollections[r], u = s.images, i = 0;
                    i < u.length;
                    i++
                  ) {
                    var o = u[i];
                    ((n = new A(
                      o.image,
                      o.gid,
                      s.imageWidth,
                      s.imageHeight,
                      0,
                      0,
                    )),
                      n.updateTileData(s.imageWidth, s.imageHeight),
                      a.tilesets.push(n));
                  }
                for (r = 0; r < a.tilesets.length; r++) {
                  n = a.tilesets[r];
                  for (
                    var h = n.tileMargin,
                      l = n.tileMargin,
                      f = 0,
                      v = 0,
                      m = 0,
                      x = n.firstgid;
                    x < n.firstgid + n.total &&
                    ((e[x] = [h, l, r]),
                    (h += n.tileWidth + n.tileSpacing),
                    f++,
                    !(
                      f === n.total ||
                      (v++,
                      v === n.columns &&
                        ((h = n.tileMargin),
                        (l += n.tileHeight + n.tileSpacing),
                        (v = 0),
                        m++,
                        m === n.rows))
                    ));
                    x++
                  );
                }
                return e;
              };
            d.exports = c;
          },
          92044: (d, y, t) => {
            /**
             * @author       Seth Berrier <berriers@uwstout.edu>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72632),
              c = function (a, r, n) {
                if (!r)
                  return {
                    i: 0,
                    layers: a.layers,
                    name: "",
                    opacity: 1,
                    visible: !0,
                    x: 0,
                    y: 0,
                  };
                var e =
                    r.x + A(r, "startx", 0) * a.tilewidth + A(r, "offsetx", 0),
                  s =
                    r.y + A(r, "starty", 0) * a.tileheight + A(r, "offsety", 0);
                return {
                  i: 0,
                  layers: r.layers,
                  name: n.name + r.name + "/",
                  opacity: n.opacity * r.opacity,
                  visible: n.visible && r.visible,
                  x: n.x + e,
                  y: n.y + s,
                };
              };
            d.exports = c;
          },
          8847: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = 2147483648,
              t = 1073741824,
              A = 536870912,
              c = function (a) {
                var r = !!(a & y),
                  n = !!(a & t),
                  e = !!(a & A);
                a = a & ~(y | t | A);
                var s = 0,
                  u = !1;
                return (
                  r && n && e
                    ? ((s = Math.PI / 2), (u = !0))
                    : r && n && !e
                      ? ((s = Math.PI), (u = !1))
                      : r && !n && e
                        ? ((s = Math.PI / 2), (u = !1))
                        : r && !n && !e
                          ? ((s = 0), (u = !0))
                          : !r && n && e
                            ? ((s = (3 * Math.PI) / 2), (u = !1))
                            : !r && n && !e
                              ? ((s = Math.PI), (u = !0))
                              : !r && !n && e
                                ? ((s = (3 * Math.PI) / 2), (u = !0))
                                : !r && !n && !e && ((s = 0), (u = !1)),
                  {
                    gid: a,
                    flippedHorizontal: r,
                    flippedVertical: n,
                    flippedAntiDiagonal: e,
                    rotation: s,
                    flipped: u,
                  }
                );
              };
            d.exports = c;
          },
          78339: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72632),
              c = t(92044),
              a = function (r) {
                for (
                  var n = [], e = [], s = c(r);
                  s.i < s.layers.length || e.length > 0;
                ) {
                  if (s.i >= s.layers.length) {
                    if (e.length < 1) {
                      console.warn(
                        "TilemapParser.parseTiledJSON - Invalid layer group hierarchy",
                      );
                      break;
                    }
                    s = e.pop();
                    continue;
                  }
                  var u = s.layers[s.i];
                  if ((s.i++, u.type !== "imagelayer")) {
                    if (u.type === "group") {
                      var i = c(r, u, s);
                      (e.push(s), (s = i));
                    }
                    continue;
                  }
                  var o = A(u, "offsetx", 0) + A(u, "startx", 0),
                    h = A(u, "offsety", 0) + A(u, "starty", 0);
                  n.push({
                    name: s.name + u.name,
                    image: u.image,
                    x: s.x + o + u.x,
                    y: s.y + h + u.y,
                    alpha: s.opacity * u.opacity,
                    visible: s.visible && u.visible,
                    properties: A(u, "properties", {}),
                  });
                }
                return n;
              };
            d.exports = a;
          },
          2378: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(48646),
              c = t(14556),
              a = t(12920),
              r = t(28699),
              n = t(93560),
              e = t(21394),
              s = t(16586),
              u = t(78339),
              i = t(61136),
              o = t(95925),
              h = t(93392),
              l = function (f, v, m) {
                var x = r(v),
                  g = new s({
                    width: x.width,
                    height: x.height,
                    name: f,
                    tileWidth: x.tilewidth,
                    tileHeight: x.tileheight,
                    orientation: e(x.orientation),
                    format: n.TILED_JSON,
                    version: x.version,
                    properties: x.properties,
                    renderOrder: x.renderorder,
                    infinite: x.infinite,
                  });
                (g.orientation === a.HEXAGONAL &&
                  ((g.hexSideLength = x.hexsidelength),
                  (g.staggerAxis = x.staggeraxis),
                  (g.staggerIndex = x.staggerindex)),
                  (g.layers = o(x, m)),
                  (g.images = u(x)));
                var C = h(x);
                return (
                  (g.tilesets = C.tilesets),
                  (g.imageCollections = C.imageCollections),
                  (g.objects = i(x)),
                  (g.tiles = c(g)),
                  A(g),
                  g
                );
              };
            d.exports = l;
          },
          4281: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(28820),
              c = t(8847),
              a = function (e) {
                return { x: e.x, y: e.y };
              },
              r = [
                "id",
                "name",
                "type",
                "rotation",
                "properties",
                "visible",
                "x",
                "y",
                "width",
                "height",
              ],
              n = function (e, s, u) {
                (s === void 0 && (s = 0), u === void 0 && (u = 0));
                var i = A(e, r);
                if (((i.x += s), (i.y += u), e.gid)) {
                  var o = c(e.gid);
                  ((i.gid = o.gid),
                    (i.flippedHorizontal = o.flippedHorizontal),
                    (i.flippedVertical = o.flippedVertical),
                    (i.flippedAntiDiagonal = o.flippedAntiDiagonal));
                } else
                  e.polyline
                    ? (i.polyline = e.polyline.map(a))
                    : e.polygon
                      ? (i.polygon = e.polygon.map(a))
                      : e.ellipse
                        ? (i.ellipse = e.ellipse)
                        : e.text
                          ? (i.text = e.text)
                          : e.point
                            ? (i.point = !0)
                            : (i.rectangle = !0);
                return i;
              };
            d.exports = n;
          },
          61136: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72632),
              c = t(4281),
              a = t(15256),
              r = t(92044),
              n = function (e) {
                for (
                  var s = [], u = [], i = r(e);
                  i.i < i.layers.length || u.length > 0;
                ) {
                  if (i.i >= i.layers.length) {
                    if (u.length < 1) {
                      console.warn(
                        "TilemapParser.parseTiledJSON - Invalid layer group hierarchy",
                      );
                      break;
                    }
                    i = u.pop();
                    continue;
                  }
                  var o = i.layers[i.i];
                  if (
                    (i.i++,
                    (o.opacity *= i.opacity),
                    (o.visible = i.visible && o.visible),
                    o.type !== "objectgroup")
                  ) {
                    if (o.type === "group") {
                      var h = r(e, o, i);
                      (u.push(i), (i = h));
                    }
                    continue;
                  }
                  o.name = i.name + o.name;
                  for (
                    var l = i.x + A(o, "startx", 0) + A(o, "offsetx", 0),
                      f = i.y + A(o, "starty", 0) + A(o, "offsety", 0),
                      v = [],
                      m = 0;
                    m < o.objects.length;
                    m++
                  ) {
                    var x = c(o.objects[m], l, f);
                    v.push(x);
                  }
                  var g = new a(o);
                  ((g.objects = v), s.push(g));
                }
                return s;
              };
            d.exports = n;
          },
          95925: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(43908),
              c = t(12920),
              a = t(92044),
              r = t(21394),
              n = t(72632),
              e = t(94990),
              s = t(8847),
              u = t(29633),
              i = function (o, h) {
                for (
                  var l = n(o, "infinite", !1), f = [], v = [], m = a(o);
                  m.i < m.layers.length || v.length > 0;
                ) {
                  if (m.i >= m.layers.length) {
                    if (v.length < 1) {
                      console.warn(
                        "TilemapParser.parseTiledJSON - Invalid layer group hierarchy",
                      );
                      break;
                    }
                    m = v.pop();
                    continue;
                  }
                  var x = m.layers[m.i];
                  if ((m.i++, x.type !== "tilelayer")) {
                    if (x.type === "group") {
                      var g = a(o, x, m);
                      (v.push(m), (m = g));
                    }
                    continue;
                  }
                  if (x.compression) {
                    console.warn(
                      "TilemapParser.parseTiledJSON - Layer compression is unsupported, skipping layer '" +
                        x.name +
                        "'",
                    );
                    continue;
                  } else if (x.encoding && x.encoding === "base64") {
                    if (x.chunks)
                      for (var C = 0; C < x.chunks.length; C++)
                        x.chunks[C].data = A(x.chunks[C].data);
                    (x.data && (x.data = A(x.data)), delete x.encoding);
                  }
                  var T,
                    F,
                    w,
                    U,
                    M = [],
                    I = 0;
                  if (l) {
                    var O = n(x, "startx", 0) + x.x,
                      D = n(x, "starty", 0) + x.y;
                    ((T = new e({
                      name: m.name + x.name,
                      id: x.id,
                      x: m.x + n(x, "offsetx", 0) + O * o.tilewidth,
                      y: m.y + n(x, "offsety", 0) + D * o.tileheight,
                      width: x.width,
                      height: x.height,
                      tileWidth: o.tilewidth,
                      tileHeight: o.tileheight,
                      alpha: m.opacity * x.opacity,
                      visible: m.visible && x.visible,
                      properties: n(x, "properties", []),
                      orientation: r(o.orientation),
                    })),
                      T.orientation === c.HEXAGONAL &&
                        ((T.hexSideLength = o.hexsidelength),
                        (T.staggerAxis = o.staggeraxis),
                        (T.staggerIndex = o.staggerindex)));
                    for (var G = 0; G < x.height; G++) {
                      M[G] = [null];
                      for (var X = 0; X < x.width; X++) M[G][X] = null;
                    }
                    for (G = 0, $ = x.chunks.length; G < $; G++)
                      for (
                        var z = x.chunks[G],
                          K = z.x - O,
                          N = z.y - D,
                          b = 0,
                          R = 0,
                          H = z.data.length;
                        R < H;
                        R++
                      ) {
                        var Q = I + K,
                          V = b + N;
                        ((F = s(z.data[R])),
                          F.gid > 0
                            ? ((w = new u(
                                T,
                                F.gid,
                                Q,
                                V,
                                o.tilewidth,
                                o.tileheight,
                              )),
                              (w.rotation = F.rotation),
                              (w.flipX = F.flipped),
                              (M[V][Q] = w))
                            : ((U = h
                                ? null
                                : new u(
                                    T,
                                    -1,
                                    Q,
                                    V,
                                    o.tilewidth,
                                    o.tileheight,
                                  )),
                              (M[V][Q] = U)),
                          I++,
                          I === z.width && (b++, (I = 0)));
                      }
                  } else {
                    ((T = new e({
                      name: m.name + x.name,
                      id: x.id,
                      x: m.x + n(x, "offsetx", 0) + x.x,
                      y: m.y + n(x, "offsety", 0) + x.y,
                      width: x.width,
                      height: x.height,
                      tileWidth: o.tilewidth,
                      tileHeight: o.tileheight,
                      alpha: m.opacity * x.opacity,
                      visible: m.visible && x.visible,
                      properties: n(x, "properties", []),
                      orientation: r(o.orientation),
                    })),
                      T.orientation === c.HEXAGONAL &&
                        ((T.hexSideLength = o.hexsidelength),
                        (T.staggerAxis = o.staggeraxis),
                        (T.staggerIndex = o.staggerindex)));
                    for (var Y = [], J = 0, $ = x.data.length; J < $; J++)
                      ((F = s(x.data[J])),
                        F.gid > 0
                          ? ((w = new u(
                              T,
                              F.gid,
                              I,
                              M.length,
                              o.tilewidth,
                              o.tileheight,
                            )),
                            (w.rotation = F.rotation),
                            (w.flipX = F.flipped),
                            Y.push(w))
                          : ((U = h
                              ? null
                              : new u(
                                  T,
                                  -1,
                                  I,
                                  M.length,
                                  o.tilewidth,
                                  o.tileheight,
                                )),
                            Y.push(U)),
                        I++,
                        I === x.width && (M.push(Y), (I = 0), (Y = [])));
                  }
                  ((T.data = M), f.push(T));
                }
                return f;
              };
            d.exports = i;
          },
          93392: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(47975),
              c = t(97042),
              a = t(4281),
              r = t(39642),
              n = function (e) {
                for (
                  var s = [], u = [], i = null, o, h = 0;
                  h < e.tilesets.length;
                  h++
                ) {
                  var l = e.tilesets[h];
                  if (l.source)
                    console.warn(
                      "External tilesets unsupported. Use Embed Tileset and re-export",
                    );
                  else if (l.image) {
                    var f = new A(
                      l.name,
                      l.firstgid,
                      l.tilewidth,
                      l.tileheight,
                      l.margin,
                      l.spacing,
                      void 0,
                      void 0,
                      l.tileoffset,
                    );
                    if (e.version > 1) {
                      var v = void 0,
                        m = void 0;
                      if (Array.isArray(l.tiles)) {
                        ((v = v || {}), (m = m || {}));
                        for (var x = 0; x < l.tiles.length; x++) {
                          var g = l.tiles[x];
                          if (g.properties) {
                            var C = {};
                            (g.properties.forEach(function (G) {
                              C[G.name] = G.value;
                            }),
                              (m[g.id] = C));
                          }
                          if (
                            g.objectgroup &&
                            (((v[g.id] || (v[g.id] = {})).objectgroup =
                              g.objectgroup),
                            g.objectgroup.objects)
                          ) {
                            var T = g.objectgroup.objects.map(function (G) {
                              return a(G);
                            });
                            v[g.id].objectgroup.objects = T;
                          }
                          (g.animation &&
                            ((v[g.id] || (v[g.id] = {})).animation =
                              g.animation),
                            g.type &&
                              ((v[g.id] || (v[g.id] = {})).type = g.type));
                        }
                      }
                      (Array.isArray(l.wangsets) &&
                        ((v = v || {}), (m = m || {}), r(l.wangsets, v)),
                        v && ((f.tileData = v), (f.tileProperties = m)));
                    } else if (
                      (l.tileproperties &&
                        (f.tileProperties = l.tileproperties),
                      l.tiles)
                    ) {
                      f.tileData = l.tiles;
                      for (o in f.tileData) {
                        var F = f.tileData[o].objectgroup;
                        if (F && F.objects) {
                          var w = F.objects.map(function (G) {
                            return a(G);
                          });
                          f.tileData[o].objectgroup.objects = w;
                        }
                      }
                    }
                    (f.updateTileData(l.imagewidth, l.imageheight), s.push(f));
                  } else {
                    var U = new c(
                        l.name,
                        l.firstgid,
                        l.tilewidth,
                        l.tileheight,
                        l.margin,
                        l.spacing,
                        l.properties,
                      ),
                      M = 0;
                    for (x = 0; x < l.tiles.length; x++) {
                      g = l.tiles[x];
                      var I = g.image,
                        O = parseInt(g.id, 10),
                        D = l.firstgid + O;
                      (U.addImage(D, I), (M = Math.max(O, M)));
                    }
                    ((U.maxId = M), u.push(U));
                  }
                  (i && (i.lastgid = l.firstgid - 1), (i = l));
                }
                return { tilesets: s, imageCollections: u };
              };
            d.exports = n;
          },
          39642: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              for (var c = 0; c < t.length; c++) {
                var a = t[c],
                  r = c;
                if (
                  (a.name && a.name !== "" && (r = a.name),
                  Array.isArray(a.wangtiles) && a.wangtiles.length > 0)
                ) {
                  var n = {},
                    e = {},
                    s,
                    u,
                    i;
                  if (Array.isArray(a.edgecolors))
                    for (s = 0; s < a.edgecolors.length; s++)
                      ((i = 1 + s),
                        (u = a.edgecolors[s]),
                        u.name !== "" && (n[i] = u.name));
                  if (Array.isArray(a.cornercolors))
                    for (s = 0; s < a.cornercolors.length; s++)
                      ((i = 1 + s),
                        (u = a.cornercolors[s]),
                        u.name !== "" && (e[i] = u.name));
                  if (Array.isArray(a.colors))
                    for (s = 0; s < a.colors.length; s++)
                      ((u = a.colors[s]),
                        (i = 1 + s),
                        u.name !== "" && (n[i] = e[i] = u.name));
                  for (
                    var o = [n, e, n, e, n, e, n, e], h = 0;
                    h < a.wangtiles.length;
                    h++
                  ) {
                    var l = a.wangtiles[h],
                      f = A[l.tileid] || (A[l.tileid] = {});
                    f = f.wangid || (f.wangid = {});
                    for (
                      var v = [], m = 0;
                      m < Math.min(o.length, l.wangid.length);
                      m++
                    ) {
                      if (((u = l.wangid[m]), u === 0)) {
                        v.push(void 0);
                        continue;
                      }
                      var x = o[m][u];
                      if (x !== void 0) {
                        v.push(x);
                        continue;
                      }
                      v.push(u);
                    }
                    f[r] = v;
                  }
                }
              }
            };
            d.exports = y;
          },
          50044: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              AssignTileProperties: t(48646),
              Base64Decode: t(43908),
              BuildTilesetIndex: t(14556),
              CreateGroupLayer: t(92044),
              ParseGID: t(8847),
              ParseImageLayers: t(78339),
              ParseJSONTiled: t(2378),
              ParseObject: t(4281),
              ParseObjectLayers: t(61136),
              ParseTileLayers: t(95925),
              ParseTilesets: t(93392),
            };
          },
          73779: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(91963),
              a = t(7599),
              r = t(57911),
              n = t(66458),
              e = new A({
                initialize: function (u) {
                  ((this.scene = u),
                    (this.systems = u.sys),
                    (this.now = 0),
                    (this.startTime = 0),
                    (this.timeScale = 1),
                    (this.paused = !1),
                    (this._active = []),
                    (this._pendingInsertion = []),
                    (this._pendingRemoval = []),
                    u.sys.events.once(
                      a.BOOT,
                      this.boot,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    u.sys.events.on(
                      a.START,
                      this.start,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                boot: function () {
                  ((this.now = this.systems.game.loop.time),
                    this.systems.events.once(
                      a.DESTROY,
                      this.destroy,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                start: function () {
                  this.startTime = this.systems.game.loop.time;
                  var s = this.systems.events;
                  (s.on(
                    a.PRE_UPDATE,
                    this.preUpdate,
                    _____WB$wombat$check$this$function_____(this),
                  ),
                    s.on(
                      a.UPDATE,
                      this.update,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    s.once(
                      a.SHUTDOWN,
                      this.shutdown,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                addEvent: function (s) {
                  var u;
                  return (
                    s instanceof r
                      ? ((u = s),
                        this.removeEvent(u),
                        (u.elapsed = u.startAt),
                        (u.hasDispatched = !1),
                        (u.repeatCount =
                          u.repeat === -1 || u.loop ? 999999999999 : u.repeat))
                      : (u = new r(s)),
                    this._pendingInsertion.push(u),
                    u
                  );
                },
                delayedCall: function (s, u, i, o) {
                  return this.addEvent({
                    delay: s,
                    callback: u,
                    args: i,
                    callbackScope: o,
                  });
                },
                clearPendingEvents: function () {
                  return (
                    (this._pendingInsertion = []),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                removeEvent: function (s) {
                  Array.isArray(s) || (s = [s]);
                  for (var u = 0; u < s.length; u++) {
                    var i = s[u];
                    (n(this._pendingRemoval, i),
                      n(this._pendingInsertion, i),
                      n(this._active, i));
                  }
                  return _____WB$wombat$check$this$function_____(this);
                },
                removeAllEvents: function () {
                  return (
                    (this._pendingRemoval = this._pendingRemoval.concat(
                      this._active,
                    )),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                preUpdate: function () {
                  var s = this._pendingRemoval.length,
                    u = this._pendingInsertion.length;
                  if (!(s === 0 && u === 0)) {
                    var i, o;
                    for (i = 0; i < s; i++) {
                      o = this._pendingRemoval[i];
                      var h = this._active.indexOf(o);
                      (h > -1 && this._active.splice(h, 1), o.destroy());
                    }
                    for (i = 0; i < u; i++)
                      ((o = this._pendingInsertion[i]), this._active.push(o));
                    ((this._pendingRemoval.length = 0),
                      (this._pendingInsertion.length = 0));
                  }
                },
                update: function (s, u) {
                  if (((this.now = s), !this.paused)) {
                    u *= this.timeScale;
                    for (var i = 0; i < this._active.length; i++) {
                      var o = this._active[i];
                      if (
                        !o.paused &&
                        ((o.elapsed += u * o.timeScale), o.elapsed >= o.delay)
                      ) {
                        var h = o.elapsed - o.delay;
                        if (
                          ((o.elapsed = o.delay),
                          !o.hasDispatched &&
                            o.callback &&
                            ((o.hasDispatched = !0),
                            o.callback.apply(o.callbackScope, o.args)),
                          o.repeatCount > 0)
                        ) {
                          if ((o.repeatCount--, h >= o.delay))
                            for (; h >= o.delay && o.repeatCount > 0; )
                              (o.callback &&
                                o.callback.apply(o.callbackScope, o.args),
                                (h -= o.delay),
                                o.repeatCount--);
                          ((o.elapsed = h), (o.hasDispatched = !1));
                        } else o.hasDispatched && this._pendingRemoval.push(o);
                      }
                    }
                  }
                },
                shutdown: function () {
                  var s;
                  for (s = 0; s < this._pendingInsertion.length; s++)
                    this._pendingInsertion[s].destroy();
                  for (s = 0; s < this._active.length; s++)
                    this._active[s].destroy();
                  for (s = 0; s < this._pendingRemoval.length; s++)
                    this._pendingRemoval[s].destroy();
                  ((this._active.length = 0),
                    (this._pendingRemoval.length = 0),
                    (this._pendingInsertion.length = 0));
                  var u = this.systems.events;
                  (u.off(
                    a.PRE_UPDATE,
                    this.preUpdate,
                    _____WB$wombat$check$this$function_____(this),
                  ),
                    u.off(
                      a.UPDATE,
                      this.update,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    u.off(
                      a.SHUTDOWN,
                      this.shutdown,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                destroy: function () {
                  (this.shutdown(),
                    this.scene.sys.events.off(
                      a.START,
                      this.start,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    (this.scene = null),
                    (this.systems = null));
                },
              });
            (c.register("Clock", e, "time"), (d.exports = e));
          },
          20517: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(6659),
              a = t(61286),
              r = t(72632),
              n = t(7599),
              e = t(52944),
              s = new A({
                Extends: c,
                initialize: function (i, o) {
                  (c.call(this),
                    (this.scene = i),
                    (this.systems = i.sys),
                    (this.elapsed = 0),
                    (this.paused = !0),
                    (this.complete = !1),
                    (this.totalComplete = 0),
                    (this.events = []));
                  var h = this.systems.events;
                  (h.on(
                    n.PRE_UPDATE,
                    this.preUpdate,
                    _____WB$wombat$check$this$function_____(this),
                  ),
                    h.on(
                      n.UPDATE,
                      this.update,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    h.once(
                      n.SHUTDOWN,
                      this.destroy,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    o && this.add(o));
                },
                preUpdate: function (u, i) {
                  this.paused || (this.elapsed += i);
                },
                update: function () {
                  if (!(this.paused || this.complete)) {
                    var u,
                      i = this.events,
                      o = !1,
                      h = this.systems,
                      l;
                    for (u = 0; u < i.length; u++) {
                      var f = i[u];
                      if (!f.complete && f.time <= this.elapsed) {
                        if (
                          ((f.complete = !0),
                          this.totalComplete++,
                          (l = f.target ? f.target : this),
                          f.if && !f.if.call(l, f))
                        )
                          continue;
                        if ((f.once && (o = !0), f.set && f.target))
                          for (var v in f.set) f.target[v] = f.set[v];
                        (f.tween && h.tweens.add(f.tween),
                          f.sound &&
                            (typeof f.sound == "string"
                              ? h.sound.play(f.sound)
                              : h.sound.play(f.sound.key, f.sound.config)),
                          f.event && this.emit(f.event, l),
                          f.run && f.run.call(l),
                          f.stop && this.stop());
                      }
                    }
                    if (o)
                      for (u = 0; u < i.length; u++)
                        i[u].complete && i[u].once && (i.splice(u, 1), u--);
                    (this.totalComplete >= i.length && (this.complete = !0),
                      this.complete &&
                        this.emit(
                          e.COMPLETE,
                          _____WB$wombat$check$this$function_____(this),
                        ));
                  }
                },
                play: function (u) {
                  return (
                    u === void 0 && (u = !0),
                    (this.paused = !1),
                    (this.complete = !1),
                    (this.totalComplete = 0),
                    u && this.reset(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                pause: function () {
                  return (
                    (this.paused = !0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                resume: function () {
                  return (
                    (this.paused = !1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                stop: function () {
                  return (
                    (this.paused = !0),
                    (this.complete = !0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                reset: function () {
                  this.elapsed = 0;
                  for (var u = 0; u < this.events.length; u++)
                    this.events[u].complete = !1;
                  return this.play(!1);
                },
                add: function (u) {
                  Array.isArray(u) || (u = [u]);
                  var i = this.events,
                    o = 0;
                  i.length > 0 && (o = i[i.length - 1].time);
                  for (var h = 0; h < u.length; h++) {
                    var l = u[h],
                      f = r(l, "at", 0),
                      v = r(l, "in", null);
                    v !== null && (f = this.elapsed + v);
                    var m = r(l, "from", null);
                    (m !== null && (f = o + m),
                      i.push({
                        complete: !1,
                        time: f,
                        if: r(l, "if", null),
                        run: r(l, "run", null),
                        event: r(l, "event", null),
                        target: r(l, "target", null),
                        set: r(l, "set", null),
                        tween: r(l, "tween", null),
                        sound: r(l, "sound", null),
                        once: r(l, "once", !1),
                        stop: r(l, "stop", !1),
                      }),
                      (o = f));
                  }
                  return (
                    (this.complete = !1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                clear: function () {
                  return (
                    (this.events = []),
                    (this.elapsed = 0),
                    (this.paused = !0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                isPlaying: function () {
                  return !this.paused && !this.complete;
                },
                getProgress: function () {
                  var u = Math.min(this.totalComplete, this.events.length);
                  return u / this.events.length;
                },
                destroy: function () {
                  var u = this.systems.events;
                  (u.off(
                    n.PRE_UPDATE,
                    this.preUpdate,
                    _____WB$wombat$check$this$function_____(this),
                  ),
                    u.off(
                      n.UPDATE,
                      this.update,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    u.off(
                      n.SHUTDOWN,
                      this.destroy,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    (this.scene = null),
                    (this.systems = null),
                    (this.events = []));
                },
              });
            (a.register("timeline", function (u) {
              return new s(this.scene, u);
            }),
              (d.exports = s));
          },
          57911: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(72632),
              a = new A({
                initialize: function (n) {
                  ((this.delay = 0),
                    (this.repeat = 0),
                    (this.repeatCount = 0),
                    (this.loop = !1),
                    this.callback,
                    this.callbackScope,
                    this.args,
                    (this.timeScale = 1),
                    (this.startAt = 0),
                    (this.elapsed = 0),
                    (this.paused = !1),
                    (this.hasDispatched = !1),
                    this.reset(n));
                },
                reset: function (r) {
                  if (
                    ((this.delay = c(r, "delay", 0)),
                    (this.repeat = c(r, "repeat", 0)),
                    (this.loop = c(r, "loop", !1)),
                    (this.callback = c(r, "callback", void 0)),
                    (this.callbackScope = c(
                      r,
                      "callbackScope",
                      _____WB$wombat$check$this$function_____(this),
                    )),
                    (this.args = c(r, "args", [])),
                    (this.timeScale = c(r, "timeScale", 1)),
                    (this.startAt = c(r, "startAt", 0)),
                    (this.paused = c(r, "paused", !1)),
                    (this.elapsed = this.startAt),
                    (this.hasDispatched = !1),
                    (this.repeatCount =
                      this.repeat === -1 || this.loop
                        ? 999999999999
                        : this.repeat),
                    this.delay === 0 && (this.repeat > 0 || this.loop))
                  )
                    throw new Error(
                      "TimerEvent infinite loop created via zero delay",
                    );
                  return _____WB$wombat$check$this$function_____(this);
                },
                getProgress: function () {
                  return this.elapsed / this.delay;
                },
                getOverallProgress: function () {
                  if (this.repeat > 0) {
                    var r = this.delay + this.delay * this.repeat,
                      n =
                        this.elapsed +
                        this.delay * (this.repeat - this.repeatCount);
                    return n / r;
                  } else return this.getProgress();
                },
                getRepeatCount: function () {
                  return this.repeatCount;
                },
                getElapsed: function () {
                  return this.elapsed;
                },
                getElapsedSeconds: function () {
                  return this.elapsed * 0.001;
                },
                getRemaining: function () {
                  return this.delay - this.elapsed;
                },
                getRemainingSeconds: function () {
                  return this.getRemaining() * 0.001;
                },
                getOverallRemaining: function () {
                  return this.delay * (1 + this.repeatCount) - this.elapsed;
                },
                getOverallRemainingSeconds: function () {
                  return this.getOverallRemaining() * 0.001;
                },
                remove: function (r) {
                  (r === void 0 && (r = !1),
                    (this.elapsed = this.delay),
                    (this.hasDispatched = !r),
                    (this.repeatCount = 0));
                },
                destroy: function () {
                  ((this.callback = void 0),
                    (this.callbackScope = void 0),
                    (this.args = []));
                },
              });
            d.exports = a;
          },
          12144: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "complete";
          },
          52944: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = { COMPLETE: t(12144) };
          },
          97121: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              Clock: t(73779),
              Events: t(52944),
              Timeline: t(20517),
              TimerEvent: t(57911),
            };
          },
          64532: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(66458),
              c = t(56694),
              a = t(5454),
              r = t(68710),
              n = t(91963),
              e = t(7599),
              s = t(91944),
              u = t(39366),
              i = t(68061),
              o = t(45641),
              h = t(56034),
              l = new c({
                initialize: function (v) {
                  ((this.scene = v),
                    (this.events = v.sys.events),
                    (this.timeScale = 1),
                    (this.paused = !1),
                    (this.processing = !1),
                    (this.tweens = []),
                    (this.time = 0),
                    (this.startTime = 0),
                    (this.nextTime = 0),
                    (this.prevTime = 0),
                    (this.maxLag = 500),
                    (this.lagSkip = 33),
                    (this.gap = 1e3 / 240),
                    this.events.once(
                      e.BOOT,
                      this.boot,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    this.events.on(
                      e.START,
                      this.start,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                boot: function () {
                  this.events.once(
                    e.DESTROY,
                    this.destroy,
                    _____WB$wombat$check$this$function_____(this),
                  );
                },
                start: function () {
                  ((this.timeScale = 1),
                    (this.paused = !1),
                    (this.startTime = Date.now()),
                    (this.prevTime = this.startTime),
                    (this.nextTime = this.gap),
                    this.events.on(
                      e.UPDATE,
                      this.update,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    this.events.once(
                      e.SHUTDOWN,
                      this.shutdown,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                create: function (f) {
                  Array.isArray(f) || (f = [f]);
                  for (var v = [], m = 0; m < f.length; m++) {
                    var x = f[m];
                    x instanceof u || x instanceof o
                      ? v.push(x)
                      : Array.isArray(x.tweens)
                        ? v.push(h(this, x))
                        : v.push(i(this, x));
                  }
                  return v.length === 1 ? v[0] : v;
                },
                add: function (f) {
                  var v = f,
                    m = this.tweens;
                  return (
                    v instanceof u ||
                      v instanceof o ||
                      (Array.isArray(v.tweens)
                        ? (v = h(this, v))
                        : (v = i(this, v))),
                    m.push(v.reset()),
                    v
                  );
                },
                addMultiple: function (f) {
                  for (var v, m = [], x = this.tweens, g = 0; g < f.length; g++)
                    ((v = f[g]),
                      v instanceof u ||
                        v instanceof o ||
                        (Array.isArray(v.tweens)
                          ? (v = h(this, v))
                          : (v = i(this, v))),
                      x.push(v.reset()),
                      m.push(v));
                  return m;
                },
                chain: function (f) {
                  var v = h(this, f);
                  return (this.tweens.push(v.init()), v);
                },
                getChainedTweens: function (f) {
                  return f.getChainedTweens();
                },
                has: function (f) {
                  return this.tweens.indexOf(f) > -1;
                },
                existing: function (f) {
                  return (
                    this.has(f) || this.tweens.push(f.reset()),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                addCounter: function (f) {
                  var v = r(this, f);
                  return (this.tweens.push(v.reset()), v);
                },
                stagger: function (f, v) {
                  return s(f, v);
                },
                setLagSmooth: function (f, v) {
                  return (
                    f === void 0 && (f = 1 / 1e-8),
                    v === void 0 && (v = 0),
                    (this.maxLag = f),
                    (this.lagSkip = Math.min(v, this.maxLag)),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setFps: function (f) {
                  return (
                    f === void 0 && (f = 240),
                    (this.gap = 1e3 / f),
                    (this.nextTime = this.time * 1e3 + this.gap),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getDelta: function (f) {
                  var v = Date.now() - this.prevTime;
                  (v > this.maxLag && (this.startTime += v - this.lagSkip),
                    (this.prevTime += v));
                  var m = this.prevTime - this.startTime,
                    x = m - this.nextTime,
                    g = m - this.time * 1e3;
                  return (
                    x > 0 || f
                      ? ((m /= 1e3),
                        (this.time = m),
                        (this.nextTime +=
                          x + (x >= this.gap ? 4 : this.gap - x)))
                      : (g = 0),
                    g
                  );
                },
                tick: function () {
                  return (
                    this.step(!0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                update: function () {
                  this.paused || this.step(!1);
                },
                step: function (f) {
                  f === void 0 && (f = !1);
                  var v = this.getDelta(f);
                  if (!(v <= 0)) {
                    this.processing = !0;
                    var m,
                      x,
                      g = [],
                      C = this.tweens;
                    for (m = 0; m < C.length; m++)
                      ((x = C[m]), x.update(v) && g.push(x));
                    var T = g.length;
                    if (T && C.length > 0) {
                      for (m = 0; m < T; m++) {
                        x = g[m];
                        var F = C.indexOf(x);
                        F > -1 &&
                          (x.isPendingRemove() || x.isDestroyed()) &&
                          (C.splice(F, 1), x.destroy());
                      }
                      g.length = 0;
                    }
                    this.processing = !1;
                  }
                },
                remove: function (f) {
                  return (
                    this.processing
                      ? f.setPendingRemoveState()
                      : (A(this.tweens, f), f.setRemovedState()),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                reset: function (f) {
                  return (
                    this.existing(f),
                    f.seek(),
                    f.setActiveState(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                makeActive: function (f) {
                  return (
                    this.existing(f),
                    f.setActiveState(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                each: function (f, v) {
                  var m,
                    x = [null];
                  for (m = 1; m < arguments.length; m++) x.push(arguments[m]);
                  return (
                    this.tweens.forEach(function (g) {
                      ((x[0] = g), f.apply(v, x));
                    }),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getTweens: function () {
                  return this.tweens.slice();
                },
                getTweensOf: function (f) {
                  var v = [],
                    m = this.tweens;
                  Array.isArray(f) ? (f = a(f)) : (f = [f]);
                  for (var x = f.length, g = 0; g < m.length; g++)
                    for (var C = m[g], T = 0; T < x; T++)
                      !C.isDestroyed() && C.hasTarget(f[T]) && v.push(C);
                  return v;
                },
                getGlobalTimeScale: function () {
                  return this.timeScale;
                },
                setGlobalTimeScale: function (f) {
                  return (
                    (this.timeScale = f),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                isTweening: function (f) {
                  for (var v = this.tweens, m, x = 0; x < v.length; x++)
                    if (((m = v[x]), m.isPlaying() && m.hasTarget(f)))
                      return !0;
                  return !1;
                },
                killAll: function () {
                  for (
                    var f = this.processing ? this.getTweens() : this.tweens,
                      v = 0;
                    v < f.length;
                    v++
                  )
                    f[v].destroy();
                  return (
                    this.processing || (f.length = 0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                killTweensOf: function (f) {
                  for (var v = this.getTweensOf(f), m = 0; m < v.length; m++)
                    v[m].destroy();
                  return _____WB$wombat$check$this$function_____(this);
                },
                pauseAll: function () {
                  return (
                    (this.paused = !0),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                resumeAll: function () {
                  return (
                    (this.paused = !1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                shutdown: function () {
                  (this.killAll(),
                    (this.tweens = []),
                    this.events.off(
                      e.UPDATE,
                      this.update,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    this.events.off(
                      e.SHUTDOWN,
                      this.shutdown,
                      _____WB$wombat$check$this$function_____(this),
                    ));
                },
                destroy: function () {
                  (this.shutdown(),
                    this.events.off(
                      e.START,
                      this.start,
                      _____WB$wombat$check$this$function_____(this),
                    ),
                    (this.scene = null),
                    (this.events = null));
                },
              });
            (n.register("TweenManager", l, "tweens"), (d.exports = l));
          },
          63130: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              return t && t.hasOwnProperty(A) ? t[A] : c;
            };
            d.exports = y;
          },
          21902: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(35060),
              c = t(40587),
              a = function (r, n) {
                var e = A.Power0;
                if (typeof r == "string")
                  if (A.hasOwnProperty(r)) e = A[r];
                  else {
                    var s = "";
                    if (r.indexOf(".")) {
                      s = r.substring(r.indexOf(".") + 1);
                      var u = s.toLowerCase();
                      u === "in"
                        ? (s = "easeIn")
                        : u === "out"
                          ? (s = "easeOut")
                          : u === "inout" && (s = "easeInOut");
                    }
                    ((r = c(r.substring(0, r.indexOf(".") + 1) + s)),
                      A.hasOwnProperty(r) && (e = A[r]));
                  }
                else typeof r == "function" && (e = r);
                if (!n) return e;
                var i = n.slice(0);
                return (
                  i.unshift(0),
                  function (o) {
                    return ((i[0] = o), e.apply(this, i));
                  }
                );
              };
            d.exports = a;
          },
          4840: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(63210),
              c = t(88332),
              a = t(47614),
              r = { bezier: A, catmull: c, catmullrom: c, linear: a },
              n = function (e) {
                if (e === null) return null;
                var s = r.linear;
                return (
                  typeof e == "string"
                    ? r.hasOwnProperty(e) && (s = r[e])
                    : typeof e == "function" && (s = e),
                  s
                );
              };
            d.exports = n;
          },
          28348: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              var a;
              if (t.hasOwnProperty(A)) {
                var r = typeof t[A];
                r === "function"
                  ? (a = function (n, e, s, u, i, o) {
                      return t[A](n, e, s, u, i, o);
                    })
                  : (a = function () {
                      return t[A];
                    });
              } else
                typeof c == "function"
                  ? (a = c)
                  : (a = function () {
                      return c;
                    });
              return a;
            };
            d.exports = y;
          },
          92407: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(53709),
              c = function (a) {
                var r,
                  n = [];
                if (a.hasOwnProperty("props"))
                  for (r in a.props)
                    r.substring(0, 1) !== "_" &&
                      n.push({ key: r, value: a.props[r] });
                else
                  for (r in a)
                    A.indexOf(r) === -1 &&
                      r.substring(0, 1) !== "_" &&
                      n.push({ key: r, value: a[r] });
                return n;
              };
            d.exports = c;
          },
          65868: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(10850),
              c = function (a) {
                var r = A(a, "targets", null);
                return (
                  r === null ||
                    (typeof r == "function" && (r = r.call()),
                    Array.isArray(r) || (r = [r])),
                  r
                );
              };
            d.exports = c;
          },
          9744: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(17489),
              c = t(61616);
            function a(u) {
              return !!u.getActive && typeof u.getActive == "function";
            }
            function r(u) {
              return !!u.getStart && typeof u.getStart == "function";
            }
            function n(u) {
              return !!u.getEnd && typeof u.getEnd == "function";
            }
            function e(u) {
              return r(u) || n(u) || a(u);
            }
            var s = function (u, i) {
              var o,
                h = function (z, K, N) {
                  return N;
                },
                l = function (z, K, N) {
                  return N;
                },
                f = null,
                v = typeof i;
              if (v === "number")
                h = function () {
                  return i;
                };
              else if (Array.isArray(i))
                ((l = function () {
                  return i[0];
                }),
                  (h = function () {
                    return i[i.length - 1];
                  }));
              else if (v === "string") {
                var m = i.toLowerCase(),
                  x = m.substring(0, 6) === "random",
                  g = m.substring(0, 3) === "int";
                if (x || g) {
                  var C = m.indexOf("("),
                    T = m.indexOf(")"),
                    F = m.indexOf(",");
                  if (C && T && F) {
                    var w = parseFloat(m.substring(C + 1, F)),
                      U = parseFloat(m.substring(F + 1, T));
                    x
                      ? (h = function () {
                          return c(w, U);
                        })
                      : (h = function () {
                          return A(w, U);
                        });
                  } else throw new Error("invalid random() format");
                } else {
                  m = m[0];
                  var M = parseFloat(i.substr(2));
                  switch (m) {
                    case "+":
                      h = function (z, K, N) {
                        return N + M;
                      };
                      break;
                    case "-":
                      h = function (z, K, N) {
                        return N - M;
                      };
                      break;
                    case "*":
                      h = function (z, K, N) {
                        return N * M;
                      };
                      break;
                    case "/":
                      h = function (z, K, N) {
                        return N / M;
                      };
                      break;
                    default:
                      h = function () {
                        return parseFloat(i);
                      };
                  }
                }
              } else if (v === "function") h = i;
              else if (v === "object")
                if (e(i))
                  (a(i) && (f = i.getActive),
                    n(i) && (h = i.getEnd),
                    r(i) && (l = i.getStart));
                else if (i.hasOwnProperty("value")) o = s(u, i.value);
                else {
                  var I = i.hasOwnProperty("to"),
                    O = i.hasOwnProperty("from"),
                    D = i.hasOwnProperty("start");
                  if (I && (O || D)) {
                    if (((o = s(u, i.to)), D)) {
                      var G = s(u, i.start);
                      o.getActive = G.getEnd;
                    }
                    if (O) {
                      var X = s(u, i.from);
                      o.getStart = X.getEnd;
                    }
                  }
                }
              return (o || (o = { getActive: f, getEnd: h, getStart: l }), o);
            };
            d.exports = s;
          },
          68710: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(502),
              c = t(99730),
              a = t(20494),
              r = t(63130),
              n = t(21902),
              e = t(28348),
              s = t(10850),
              u = t(9744),
              i = t(72066),
              o = t(39366),
              h = function (l, f, v) {
                if (f instanceof o) return ((f.parent = l), f);
                v === void 0 ? (v = c) : (v = i(c, v));
                var m = s(f, "from", 0),
                  x = s(f, "to", 1),
                  g = [{ value: m }],
                  C = s(f, "delay", v.delay),
                  T = s(f, "easeParams", v.easeParams),
                  F = s(f, "ease", v.ease),
                  w = u("value", x),
                  U = new o(l, g),
                  M = U.add(
                    0,
                    "value",
                    w.getEnd,
                    w.getStart,
                    w.getActive,
                    n(s(f, "ease", F), s(f, "easeParams", T)),
                    e(f, "delay", C),
                    s(f, "duration", v.duration),
                    r(f, "yoyo", v.yoyo),
                    s(f, "hold", v.hold),
                    s(f, "repeat", v.repeat),
                    s(f, "repeatDelay", v.repeatDelay),
                    !1,
                    !1,
                  );
                ((M.start = m),
                  (M.current = m),
                  (U.completeDelay = a(f, "completeDelay", 0)),
                  (U.loop = Math.round(a(f, "loop", 0))),
                  (U.loopDelay = Math.round(a(f, "loopDelay", 0))),
                  (U.paused = r(f, "paused", !1)),
                  (U.persist = r(f, "persist", !1)),
                  (U.callbackScope = s(f, "callbackScope", U)));
                for (var I = A.TYPES, O = 0; O < I.length; O++) {
                  var D = I[O],
                    G = s(f, D, !1);
                  if (G) {
                    var X = s(f, D + "Params", []);
                    U.setCallback(D, G, X);
                  }
                }
                return U;
              };
            d.exports = h;
          },
          91944: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(21902),
              c = t(10850),
              a = t(83392),
              r = function (n, e) {
                e === void 0 && (e = {});
                var s,
                  u = c(e, "start", 0),
                  i = c(e, "ease", null),
                  o = c(e, "grid", null),
                  h = c(e, "from", 0),
                  l = h === "first",
                  f = h === "center",
                  v = h === "last",
                  m = typeof h == "number",
                  x = Array.isArray(n),
                  g = parseFloat(x ? n[0] : n),
                  C = x ? parseFloat(n[1]) : 0,
                  T = Math.max(g, C);
                if ((x && (u += g), o)) {
                  var F = o[0],
                    w = o[1],
                    U = 0,
                    M = 0,
                    I = 0,
                    O = 0,
                    D = [];
                  v
                    ? ((U = F - 1), (M = w - 1))
                    : m
                      ? ((U = h % F), (M = Math.floor(h / F)))
                      : f && ((U = (F - 1) / 2), (M = (w - 1) / 2));
                  for (var G = a.MIN_SAFE_INTEGER, X = 0; X < w; X++) {
                    D[X] = [];
                    for (var z = 0; z < F; z++) {
                      ((I = U - z), (O = M - X));
                      var K = Math.sqrt(I * I + O * O);
                      (K > G && (G = K), (D[X][z] = K));
                    }
                  }
                }
                var N = i ? A(i) : null;
                return (
                  o
                    ? (s = function (b, R, H, Q) {
                        var V = 0,
                          Y = Q % F,
                          J = Math.floor(Q / F);
                        Y >= 0 && Y < F && J >= 0 && J < w && (V = D[J][Y]);
                        var $;
                        if (x) {
                          var W = C - g;
                          N ? ($ = (V / G) * W * N(V / G)) : ($ = (V / G) * W);
                        } else N ? ($ = V * g * N(V / G)) : ($ = V * g);
                        return $ + u;
                      })
                    : (s = function (b, R, H, Q, V) {
                        V--;
                        var Y;
                        l
                          ? (Y = Q)
                          : f
                            ? (Y = Math.abs(V / 2 - Q))
                            : v
                              ? (Y = V - Q)
                              : m && (Y = Math.abs(h - Q));
                        var J;
                        if (x) {
                          var $;
                          (f
                            ? ($ = ((C - g) / V) * (Y * 2))
                            : ($ = ((C - g) / V) * Y),
                            N ? (J = $ * N(Y / V)) : (J = $));
                        } else N ? (J = V * T * N(Y / V)) : (J = Y * g);
                        return J + u;
                      }),
                  s
                );
              };
            d.exports = r;
          },
          68061: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(502),
              c = t(99730),
              a = t(20494),
              r = t(63130),
              n = t(21902),
              e = t(4840),
              s = t(28348),
              u = t(92407),
              i = t(65868),
              o = t(10850),
              h = t(9744),
              l = t(72066),
              f = t(39366),
              v = function (m, x, g) {
                if (x instanceof f) return ((x.parent = m), x);
                g === void 0 ? (g = c) : (g = l(c, g));
                var C = i(x);
                !C && g.targets && (C = g.targets);
                for (
                  var T = u(x),
                    F = o(x, "delay", g.delay),
                    w = o(x, "duration", g.duration),
                    U = o(x, "easeParams", g.easeParams),
                    M = o(x, "ease", g.ease),
                    I = o(x, "hold", g.hold),
                    O = o(x, "repeat", g.repeat),
                    D = o(x, "repeatDelay", g.repeatDelay),
                    G = r(x, "yoyo", g.yoyo),
                    X = r(x, "flipX", g.flipX),
                    z = r(x, "flipY", g.flipY),
                    K = o(x, "interpolation", g.interpolation),
                    N = function (j, k, _, q) {
                      if (_ === "texture") {
                        var et = q,
                          st = void 0;
                        (Array.isArray(q)
                          ? ((et = q[0]), (st = q[1]))
                          : q.hasOwnProperty("value")
                            ? ((et = q.value),
                              Array.isArray(q.value)
                                ? ((et = q.value[0]), (st = q.value[1]))
                                : typeof q.value == "string" && (et = q.value))
                            : typeof q == "string" && (et = q),
                          j.addFrame(
                            k,
                            et,
                            st,
                            s(q, "delay", F),
                            o(q, "duration", w),
                            o(q, "hold", I),
                            o(q, "repeat", O),
                            o(q, "repeatDelay", D),
                            r(q, "flipX", X),
                            r(q, "flipY", z),
                          ));
                      } else {
                        var nt = h(_, q),
                          it = e(o(q, "interpolation", K));
                        j.add(
                          k,
                          _,
                          nt.getEnd,
                          nt.getStart,
                          nt.getActive,
                          n(o(q, "ease", M), o(q, "easeParams", U)),
                          s(q, "delay", F),
                          o(q, "duration", w),
                          r(q, "yoyo", G),
                          o(q, "hold", I),
                          o(q, "repeat", O),
                          o(q, "repeatDelay", D),
                          r(q, "flipX", X),
                          r(q, "flipY", z),
                          it,
                          it ? q : null,
                        );
                      }
                    },
                    b = new f(m, C),
                    R = 0;
                  R < T.length;
                  R++
                )
                  for (
                    var H = T[R].key, Q = T[R].value, V = 0;
                    V < C.length;
                    V++
                  )
                    H === "scale" && !C[V].hasOwnProperty("scale")
                      ? (N(b, V, "scaleX", Q), N(b, V, "scaleY", Q))
                      : N(b, V, H, Q);
                ((b.completeDelay = a(x, "completeDelay", 0)),
                  (b.loop = Math.round(a(x, "loop", 0))),
                  (b.loopDelay = Math.round(a(x, "loopDelay", 0))),
                  (b.paused = r(x, "paused", !1)),
                  (b.persist = r(x, "persist", !1)),
                  (b.callbackScope = o(x, "callbackScope", b)));
                for (var Y = A.TYPES, J = 0; J < Y.length; J++) {
                  var $ = Y[J],
                    W = o(x, $, !1);
                  if (W) {
                    var Z = o(x, $ + "Params", []);
                    b.setCallback($, W, Z);
                  }
                }
                return b;
              };
            d.exports = v;
          },
          56034: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(502),
              c = t(20494),
              a = t(63130),
              r = t(65868),
              n = t(10850),
              e = t(68061),
              s = t(45641),
              u = function (i, o) {
                if (o instanceof s) return ((o.parent = i), o);
                var h = new s(i);
                ((h.startDelay = n(o, "delay", 0)),
                  (h.completeDelay = c(o, "completeDelay", 0)),
                  (h.loop = Math.round(c(o, "loop", n(o, "repeat", 0)))),
                  (h.loopDelay = Math.round(
                    c(o, "loopDelay", n(o, "repeatDelay", 0)),
                  )),
                  (h.paused = a(o, "paused", !1)),
                  (h.persist = a(o, "persist", !0)),
                  (h.callbackScope = n(o, "callbackScope", h)));
                var l,
                  f = A.TYPES;
                for (l = 0; l < f.length; l++) {
                  var v = f[l],
                    m = n(o, v, !1);
                  if (m) {
                    var x = n(o, v + "Params", []);
                    h.setCallback(v, m, x);
                  }
                }
                var g = n(o, "tweens", null);
                if (Array.isArray(g)) {
                  var C = [],
                    T = r(o),
                    F = void 0;
                  for (T && (F = { targets: T }), l = 0; l < g.length; l++)
                    C.push(e(h, g[l], F));
                  h.add(C);
                }
                return h;
              };
            d.exports = u;
          },
          79619: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              GetBoolean: t(63130),
              GetEaseFunction: t(21902),
              GetInterpolationFunction: t(4840),
              GetNewValue: t(28348),
              GetProps: t(92407),
              GetTargets: t(65868),
              GetValueOp: t(9744),
              NumberTweenBuilder: t(68710),
              StaggerBuilder: t(91944),
              TweenBuilder: t(68061),
            };
          },
          5570: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "active";
          },
          6383: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "complete";
          },
          72582: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "loop";
          },
          90281: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "pause";
          },
          80803: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "repeat";
          },
          13640: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "resume";
          },
          10472: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "start";
          },
          5379: (d) => {
            /**
             * @author       samme
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "stop";
          },
          43449: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "update";
          },
          61541: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = "yoyo";
          },
          54272: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              TWEEN_ACTIVE: t(5570),
              TWEEN_COMPLETE: t(6383),
              TWEEN_LOOP: t(72582),
              TWEEN_PAUSE: t(90281),
              TWEEN_RESUME: t(13640),
              TWEEN_REPEAT: t(80803),
              TWEEN_START: t(10472),
              TWEEN_STOP: t(5379),
              TWEEN_UPDATE: t(43449),
              TWEEN_YOYO: t(61541),
            };
          },
          75193: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = {
              States: t(55303),
              Builders: t(79619),
              Events: t(54272),
              TweenManager: t(64532),
              Tween: t(39366),
              TweenData: t(15718),
              TweenFrameData: t(96490),
              BaseTween: t(502),
              TweenChain: t(45641),
            };
            d.exports = A;
          },
          502: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(6659),
              a = t(54272),
              r = t(55303),
              n = new A({
                Extends: c,
                initialize: function (s) {
                  (c.call(this),
                    (_____WB$wombat$check$this$function_____(this).parent = s),
                    (this.data = []),
                    (this.totalData = 0),
                    (this.startDelay = 0),
                    (this.hasStarted = !1),
                    (this.timeScale = 1),
                    (this.loop = 0),
                    (this.loopDelay = 0),
                    (this.loopCounter = 0),
                    (this.completeDelay = 0),
                    (this.countdown = 0),
                    (this.state = r.PENDING),
                    (this.paused = !1),
                    (this.callbacks = {
                      onActive: null,
                      onComplete: null,
                      onLoop: null,
                      onPause: null,
                      onRepeat: null,
                      onResume: null,
                      onStart: null,
                      onStop: null,
                      onUpdate: null,
                      onYoyo: null,
                    }),
                    this.callbackScope,
                    (this.persist = !1));
                },
                setTimeScale: function (e) {
                  return (
                    (this.timeScale = e),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                getTimeScale: function () {
                  return this.timeScale;
                },
                isPlaying: function () {
                  return !this.paused && this.isActive();
                },
                isPaused: function () {
                  return this.paused;
                },
                pause: function () {
                  return (
                    this.paused ||
                      ((this.paused = !0),
                      this.dispatchEvent(a.TWEEN_PAUSE, "onPause")),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                resume: function () {
                  return (
                    this.paused &&
                      ((this.paused = !1),
                      this.dispatchEvent(a.TWEEN_RESUME, "onResume")),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                makeActive: function () {
                  (_____WB$wombat$check$this$function_____(
                    this,
                  ).parent.makeActive(this),
                    this.dispatchEvent(a.TWEEN_ACTIVE, "onActive"));
                },
                onCompleteHandler: function () {
                  (this.setPendingRemoveState(),
                    this.dispatchEvent(a.TWEEN_COMPLETE, "onComplete"));
                },
                complete: function (e) {
                  return (
                    e === void 0 && (e = 0),
                    e
                      ? (this.setCompleteDelayState(), (this.countdown = e))
                      : this.onCompleteHandler(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                completeAfterLoop: function (e) {
                  return (
                    e === void 0 && (e = 0),
                    this.loopCounter > e && (this.loopCounter = e),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                remove: function () {
                  return (
                    _____WB$wombat$check$this$function_____(this).parent &&
                      _____WB$wombat$check$this$function_____(
                        this,
                      ).parent.remove(this),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                stop: function () {
                  return (
                    _____WB$wombat$check$this$function_____(this).parent &&
                      !this.isRemoved() &&
                      !this.isPendingRemove() &&
                      !this.isDestroyed() &&
                      (this.dispatchEvent(a.TWEEN_STOP, "onStop"),
                      this.setPendingRemoveState()),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                updateLoopCountdown: function (e) {
                  ((this.countdown -= e),
                    this.countdown <= 0 &&
                      (this.setActiveState(),
                      this.dispatchEvent(a.TWEEN_LOOP, "onLoop")));
                },
                updateStartCountdown: function (e) {
                  return (
                    (this.countdown -= e),
                    this.countdown <= 0 &&
                      ((this.hasStarted = !0),
                      this.setActiveState(),
                      this.dispatchEvent(a.TWEEN_START, "onStart"),
                      (e = 0)),
                    e
                  );
                },
                updateCompleteDelay: function (e) {
                  ((this.countdown -= e),
                    this.countdown <= 0 && this.onCompleteHandler());
                },
                setCallback: function (e, s, u) {
                  return (
                    u === void 0 && (u = []),
                    this.callbacks.hasOwnProperty(e) &&
                      (this.callbacks[e] = { func: s, params: u }),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                setPendingState: function () {
                  this.state = r.PENDING;
                },
                setActiveState: function () {
                  this.state = r.ACTIVE;
                },
                setLoopDelayState: function () {
                  this.state = r.LOOP_DELAY;
                },
                setCompleteDelayState: function () {
                  this.state = r.COMPLETE_DELAY;
                },
                setStartDelayState: function () {
                  ((this.state = r.START_DELAY),
                    (this.countdown = this.startDelay),
                    (this.hasStarted = !1));
                },
                setPendingRemoveState: function () {
                  this.state = r.PENDING_REMOVE;
                },
                setRemovedState: function () {
                  this.state = r.REMOVED;
                },
                setFinishedState: function () {
                  this.state = r.FINISHED;
                },
                setDestroyedState: function () {
                  this.state = r.DESTROYED;
                },
                isPending: function () {
                  return this.state === r.PENDING;
                },
                isActive: function () {
                  return this.state === r.ACTIVE;
                },
                isLoopDelayed: function () {
                  return this.state === r.LOOP_DELAY;
                },
                isCompleteDelayed: function () {
                  return this.state === r.COMPLETE_DELAY;
                },
                isStartDelayed: function () {
                  return this.state === r.START_DELAY;
                },
                isPendingRemove: function () {
                  return this.state === r.PENDING_REMOVE;
                },
                isRemoved: function () {
                  return this.state === r.REMOVED;
                },
                isFinished: function () {
                  return this.state === r.FINISHED;
                },
                isDestroyed: function () {
                  return this.state === r.DESTROYED;
                },
                destroy: function () {
                  (this.data &&
                    this.data.forEach(function (e) {
                      e.destroy();
                    }),
                    this.removeAllListeners(),
                    (this.callbacks = null),
                    (this.data = null),
                    (_____WB$wombat$check$this$function_____(this).parent =
                      null),
                    this.setDestroyedState());
                },
              });
            ((n.TYPES = [
              "onActive",
              "onComplete",
              "onLoop",
              "onPause",
              "onRepeat",
              "onResume",
              "onStart",
              "onStop",
              "onUpdate",
              "onYoyo",
            ]),
              (d.exports = n));
          },
          65521: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(56694),
              c = t(54272),
              a = t(55303),
              r = new A({
                initialize: function (e, s, u, i, o, h, l, f, v, m) {
                  ((this.tween = e),
                    (this.targetIndex = s),
                    (this.duration = i),
                    (this.totalDuration = 0),
                    (this.delay = 0),
                    (this.getDelay = u),
                    (this.yoyo = o),
                    (this.hold = h),
                    (this.repeat = l),
                    (this.repeatDelay = f),
                    (this.repeatCounter = 0),
                    (this.flipX = v),
                    (this.flipY = m),
                    (this.progress = 0),
                    (this.elapsed = 0),
                    (this.state = 0),
                    (this.isCountdown = !1));
                },
                getTarget: function () {
                  return this.tween.targets[this.targetIndex];
                },
                setTargetValue: function (n) {
                  (n === void 0 && (n = this.current),
                    (this.tween.targets[this.targetIndex][this.key] = n));
                },
                setCreatedState: function () {
                  ((this.state = a.CREATED), (this.isCountdown = !1));
                },
                setDelayState: function () {
                  ((this.state = a.DELAY), (this.isCountdown = !0));
                },
                setPendingRenderState: function () {
                  ((this.state = a.PENDING_RENDER), (this.isCountdown = !1));
                },
                setPlayingForwardState: function () {
                  ((this.state = a.PLAYING_FORWARD), (this.isCountdown = !1));
                },
                setPlayingBackwardState: function () {
                  ((this.state = a.PLAYING_BACKWARD), (this.isCountdown = !1));
                },
                setHoldState: function () {
                  ((this.state = a.HOLD_DELAY), (this.isCountdown = !0));
                },
                setRepeatState: function () {
                  ((this.state = a.REPEAT_DELAY), (this.isCountdown = !0));
                },
                setCompleteState: function () {
                  ((this.state = a.COMPLETE), (this.isCountdown = !1));
                },
                isCreated: function () {
                  return this.state === a.CREATED;
                },
                isDelayed: function () {
                  return this.state === a.DELAY;
                },
                isPendingRender: function () {
                  return this.state === a.PENDING_RENDER;
                },
                isPlayingForward: function () {
                  return this.state === a.PLAYING_FORWARD;
                },
                isPlayingBackward: function () {
                  return this.state === a.PLAYING_BACKWARD;
                },
                isHolding: function () {
                  return this.state === a.HOLD_DELAY;
                },
                isRepeating: function () {
                  return this.state === a.REPEAT_DELAY;
                },
                isComplete: function () {
                  return this.state === a.COMPLETE;
                },
                setStateFromEnd: function (n) {
                  this.yoyo
                    ? this.onRepeat(n, !0, !0)
                    : this.repeatCounter > 0
                      ? this.onRepeat(n, !0, !1)
                      : this.setCompleteState();
                },
                setStateFromStart: function (n) {
                  this.repeatCounter > 0
                    ? this.onRepeat(n, !1)
                    : this.setCompleteState();
                },
                reset: function () {
                  var n = this.tween,
                    e = n.totalTargets,
                    s = this.targetIndex,
                    u = n.targets[s],
                    i = this.key;
                  ((this.progress = 0),
                    (this.elapsed = 0),
                    (this.delay = this.getDelay(u, i, 0, s, e, n)),
                    (this.repeatCounter =
                      this.repeat === -1 ? a.MAX : this.repeat),
                    this.setPendingRenderState());
                  var o = this.duration + this.hold;
                  this.yoyo && (o += this.duration);
                  var h = o + this.repeatDelay;
                  ((this.totalDuration = this.delay + o),
                    this.repeat === -1
                      ? ((this.totalDuration += h * a.MAX), (n.isInfinite = !0))
                      : this.repeat > 0 &&
                        (this.totalDuration += h * this.repeat),
                    this.totalDuration > n.duration &&
                      (n.duration = this.totalDuration),
                    this.delay < n.startDelay && (n.startDelay = this.delay),
                    this.delay > 0 &&
                      ((this.elapsed = this.delay), this.setDelayState()));
                },
                onRepeat: function (n, e, s) {
                  var u = this.tween,
                    i = u.totalTargets,
                    o = this.targetIndex,
                    h = u.targets[o],
                    l = this.key,
                    f = l !== "texture";
                  if (
                    ((this.elapsed = n),
                    (this.progress = n / this.duration),
                    this.flipX && h.toggleFlipX(),
                    this.flipY && h.toggleFlipY(),
                    f &&
                      (e || s) &&
                      (this.start = this.getStartValue(
                        h,
                        l,
                        this.start,
                        o,
                        i,
                        u,
                      )),
                    s)
                  ) {
                    (this.setPlayingBackwardState(),
                      this.dispatchEvent(c.TWEEN_YOYO, "onYoyo"));
                    return;
                  }
                  (this.repeatCounter--,
                    f &&
                      (this.end = this.getEndValue(h, l, this.start, o, i, u)),
                    this.repeatDelay > 0
                      ? ((this.elapsed = this.repeatDelay - n),
                        f &&
                          ((this.current = this.start), (h[l] = this.current)),
                        this.setRepeatState())
                      : (this.setPlayingForwardState(),
                        this.dispatchEvent(c.TWEEN_REPEAT, "onRepeat")));
                },
                destroy: function () {
                  ((this.tween = null),
                    (this.getDelay = null),
                    this.setCompleteState());
                },
              });
            d.exports = r;
          },
          99730: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              targets: null,
              delay: 0,
              duration: 1e3,
              ease: "Power0",
              easeParams: null,
              hold: 0,
              repeat: 0,
              repeatDelay: 0,
              yoyo: !1,
              flipX: !1,
              flipY: !1,
              persist: !1,
              interpolation: null,
            };
            d.exports = y;
          },
          53709: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = [
              "callbackScope",
              "completeDelay",
              "delay",
              "duration",
              "ease",
              "easeParams",
              "flipX",
              "flipY",
              "hold",
              "interpolation",
              "loop",
              "loopDelay",
              "onActive",
              "onActiveParams",
              "onComplete",
              "onCompleteParams",
              "onLoop",
              "onLoopParams",
              "onPause",
              "onPauseParams",
              "onRepeat",
              "onRepeatParams",
              "onResume",
              "onResumeParams",
              "onStart",
              "onStartParams",
              "onStop",
              "onStopParams",
              "onUpdate",
              "onUpdateParams",
              "onYoyo",
              "onYoyoParams",
              "paused",
              "persist",
              "props",
              "repeat",
              "repeatDelay",
              "targets",
              "yoyo",
            ];
          },
          39366: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(502),
              c = t(56694),
              a = t(54272),
              r = t(99325),
              n = t(61286),
              e = t(83392),
              s = t(55303),
              u = t(15718),
              i = t(96490),
              o = new c({
                Extends: A,
                initialize: function (l, f) {
                  (A.call(this, l),
                    (this.targets = f),
                    (this.totalTargets = f.length),
                    (this.isSeeking = !1),
                    (this.isInfinite = !1),
                    (this.elapsed = 0),
                    (this.totalElapsed = 0),
                    (this.duration = 0),
                    (this.progress = 0),
                    (this.totalDuration = 0),
                    (this.totalProgress = 0));
                },
                add: function (h, l, f, v, m, x, g, C, T, F, w, U, M, I, O, D) {
                  var G = new u(
                    this,
                    h,
                    l,
                    f,
                    v,
                    m,
                    x,
                    g,
                    C,
                    T,
                    F,
                    w,
                    U,
                    M,
                    I,
                    O,
                    D,
                  );
                  return ((this.totalData = this.data.push(G)), G);
                },
                addFrame: function (h, l, f, v, m, x, g, C, T, F) {
                  var w = new i(this, h, l, f, v, m, x, g, C, T, F);
                  return ((this.totalData = this.data.push(w)), w);
                },
                getValue: function (h) {
                  h === void 0 && (h = 0);
                  var l = null;
                  return (this.data && (l = this.data[h].current), l);
                },
                hasTarget: function (h) {
                  return this.targets && this.targets.indexOf(h) !== -1;
                },
                updateTo: function (h, l, f) {
                  if ((f === void 0 && (f = !1), h !== "texture"))
                    for (var v = 0; v < this.totalData; v++) {
                      var m = this.data[v];
                      m.key === h &&
                        (m.isPlayingForward() || m.isPlayingBackward()) &&
                        ((m.end = l), f && (m.start = m.current));
                    }
                  return _____WB$wombat$check$this$function_____(this);
                },
                restart: function () {
                  switch (this.state) {
                    case s.REMOVED:
                    case s.FINISHED:
                      (this.seek(),
                        _____WB$wombat$check$this$function_____(
                          this,
                        ).parent.makeActive(this));
                      break;
                    case s.PENDING:
                    case s.PENDING_REMOVE:
                      _____WB$wombat$check$this$function_____(
                        this,
                      ).parent.reset(this);
                      break;
                    case s.DESTROYED:
                      console.warn(
                        "Cannot restart destroyed Tween",
                        _____WB$wombat$check$this$function_____(this),
                      );
                      break;
                    default:
                      this.seek();
                      break;
                  }
                  return (
                    (this.paused = !1),
                    (this.hasStarted = !1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                nextState: function () {
                  if (this.loopCounter > 0)
                    ((this.elapsed = 0),
                      (this.progress = 0),
                      this.loopCounter--,
                      this.initTweenData(!0),
                      this.loopDelay > 0
                        ? ((this.countdown = this.loopDelay),
                          this.setLoopDelayState())
                        : (this.setActiveState(),
                          this.dispatchEvent(a.TWEEN_LOOP, "onLoop")));
                  else if (this.completeDelay > 0)
                    ((this.countdown = this.completeDelay),
                      this.setCompleteDelayState());
                  else return (this.onCompleteHandler(), !0);
                  return !1;
                },
                onCompleteHandler: function () {
                  ((this.progress = 1),
                    (this.totalProgress = 1),
                    A.prototype.onCompleteHandler.call(this));
                },
                play: function () {
                  return this.isDestroyed()
                    ? (console.warn(
                        "Cannot play destroyed Tween",
                        _____WB$wombat$check$this$function_____(this),
                      ),
                      _____WB$wombat$check$this$function_____(this))
                    : ((this.isPendingRemove() || this.isFinished()) &&
                        this.seek(),
                      (this.paused = !1),
                      this.setActiveState(),
                      _____WB$wombat$check$this$function_____(this));
                },
                seek: function (h, l, f) {
                  if (
                    (h === void 0 && (h = 0),
                    l === void 0 && (l = 16.6),
                    f === void 0 && (f = !1),
                    this.isDestroyed())
                  )
                    return (
                      console.warn(
                        "Cannot seek destroyed Tween",
                        _____WB$wombat$check$this$function_____(this),
                      ),
                      _____WB$wombat$check$this$function_____(this)
                    );
                  (f || (this.isSeeking = !0),
                    this.reset(!0),
                    this.initTweenData(!0),
                    this.setActiveState(),
                    this.dispatchEvent(a.TWEEN_ACTIVE, "onActive"));
                  var v = this.paused;
                  if (((this.paused = !1), h > 0)) {
                    for (
                      var m = Math.floor(h / l), x = h - m * l, g = 0;
                      g < m;
                      g++
                    )
                      this.update(l);
                    x > 0 && this.update(x);
                  }
                  return (
                    (this.paused = v),
                    (this.isSeeking = !1),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                initTweenData: function (h) {
                  (h === void 0 && (h = !1),
                    (this.duration = 0),
                    (this.startDelay = e.MAX_SAFE_INTEGER));
                  for (var l = this.data, f = 0; f < this.totalData; f++)
                    l[f].reset(h);
                  this.duration = Math.max(this.duration, 0.01);
                  var v = this.duration,
                    m = this.completeDelay,
                    x = this.loopCounter,
                    g = this.loopDelay;
                  x > 0
                    ? (this.totalDuration = v + m + (v + g) * x)
                    : (this.totalDuration = v + m);
                },
                reset: function (h) {
                  return (
                    h === void 0 && (h = !1),
                    (this.elapsed = 0),
                    (this.totalElapsed = 0),
                    (this.progress = 0),
                    (this.totalProgress = 0),
                    (this.loopCounter = this.loop),
                    this.loop === -1 &&
                      ((this.isInfinite = !0), (this.loopCounter = s.MAX)),
                    h ||
                      (this.initTweenData(),
                      this.setActiveState(),
                      this.dispatchEvent(a.TWEEN_ACTIVE, "onActive")),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                update: function (h) {
                  if (this.isPendingRemove() || this.isDestroyed()) return !0;
                  if (this.paused || this.isFinished()) return !1;
                  if (
                    ((h *=
                      this.timeScale *
                      _____WB$wombat$check$this$function_____(this).parent
                        .timeScale),
                    this.isLoopDelayed())
                  )
                    return (this.updateLoopCountdown(h), !1);
                  if (this.isCompleteDelayed())
                    return (this.updateCompleteDelay(h), !1);
                  this.hasStarted ||
                    ((this.startDelay -= h),
                    this.startDelay <= 0 &&
                      ((this.hasStarted = !0),
                      this.dispatchEvent(a.TWEEN_START, "onStart"),
                      (h = 0)));
                  var l = !1;
                  if (this.isActive())
                    for (var f = this.data, v = 0; v < this.totalData; v++)
                      f[v].update(h) && (l = !0);
                  ((this.elapsed += h),
                    (this.progress = Math.min(this.elapsed / this.duration, 1)),
                    (this.totalElapsed += h),
                    (this.totalProgress = Math.min(
                      this.totalElapsed / this.totalDuration,
                      1,
                    )),
                    l || this.nextState());
                  var m = this.isPendingRemove();
                  return (
                    m && this.persist && (this.setFinishedState(), (m = !1)),
                    m
                  );
                },
                forward: function (h) {
                  return (
                    this.update(h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                rewind: function (h) {
                  return (
                    this.update(-h),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                dispatchEvent: function (h, l) {
                  if (!this.isSeeking) {
                    this.emit(
                      h,
                      _____WB$wombat$check$this$function_____(this),
                      this.targets,
                    );
                    var f = this.callbacks[l];
                    f &&
                      f.func.apply(
                        this.callbackScope,
                        [this, this.targets].concat(f.params),
                      );
                  }
                },
                destroy: function () {
                  (A.prototype.destroy.call(this), (this.targets = null));
                },
              });
            (n.register("tween", function (h) {
              return this.scene.sys.tweens.add(h);
            }),
              r.register("tween", function (h) {
                return this.scene.sys.tweens.create(h);
              }),
              (d.exports = o));
          },
          45641: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(66458),
              c = t(502),
              a = t(56694),
              r = t(54272),
              n = t(99325),
              e = t(61286),
              s = t(55303),
              u = new a({
                Extends: c,
                initialize: function (o) {
                  (c.call(this, o),
                    (this.currentTween = null),
                    (this.currentIndex = 0));
                },
                init: function () {
                  return (
                    (this.loopCounter = this.loop === -1 ? s.MAX : this.loop),
                    this.setCurrentTween(0),
                    this.startDelay > 0 && !this.isStartDelayed()
                      ? this.setStartDelayState()
                      : this.setActiveState(),
                    this.dispatchEvent(r.TWEEN_ACTIVE, "onActive"),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                add: function (i) {
                  var o =
                    _____WB$wombat$check$this$function_____(this).parent.create(
                      i,
                    );
                  Array.isArray(o) || (o = [o]);
                  for (var h = this.data, l = 0; l < o.length; l++) {
                    var f = o[l];
                    ((f.parent = _____WB$wombat$check$this$function_____(this)),
                      h.push(f.reset()));
                  }
                  return (
                    (this.totalData = h.length),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                remove: function (i) {
                  return (
                    A(this.data, i),
                    i.setRemovedState(),
                    i === this.currentTween && this.nextTween(),
                    (this.totalData = this.data.length),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                hasTarget: function (i) {
                  for (var o = this.data, h = 0; h < this.totalData; h++)
                    if (o[h].hasTarget(i)) return !0;
                  return !1;
                },
                restart: function () {
                  return this.isDestroyed()
                    ? (console.warn(
                        "Cannot restart destroyed TweenChain",
                        _____WB$wombat$check$this$function_____(this),
                      ),
                      _____WB$wombat$check$this$function_____(this))
                    : (this.isRemoved() &&
                        _____WB$wombat$check$this$function_____(
                          this,
                        ).parent.makeActive(this),
                      this.resetTweens(),
                      (this.paused = !1),
                      this.init());
                },
                reset: function (i) {
                  return (
                    i.seek(),
                    i.setActiveState(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                makeActive: function (i) {
                  return (
                    i.reset(),
                    i.setActiveState(),
                    _____WB$wombat$check$this$function_____(this)
                  );
                },
                nextState: function () {
                  if (this.loopCounter > 0)
                    (this.loopCounter--,
                      this.resetTweens(),
                      this.loopDelay > 0
                        ? ((this.countdown = this.loopDelay),
                          this.setLoopDelayState())
                        : (this.setActiveState(),
                          this.dispatchEvent(r.TWEEN_LOOP, "onLoop")));
                  else if (this.completeDelay > 0)
                    ((this.countdown = this.completeDelay),
                      this.setCompleteDelayState());
                  else return (this.onCompleteHandler(), !0);
                  return !1;
                },
                play: function () {
                  return this.isDestroyed()
                    ? (console.warn(
                        "Cannot play destroyed TweenChain",
                        _____WB$wombat$check$this$function_____(this),
                      ),
                      _____WB$wombat$check$this$function_____(this))
                    : ((this.isPendingRemove() || this.isPending()) &&
                        this.resetTweens(),
                      (this.paused = !1),
                      this.startDelay > 0 && !this.isStartDelayed()
                        ? this.setStartDelayState()
                        : this.setActiveState(),
                      _____WB$wombat$check$this$function_____(this));
                },
                resetTweens: function () {
                  for (var i = this.data, o = this.totalData, h = 0; h < o; h++)
                    i[h].reset(!1);
                  ((this.currentIndex = 0), (this.currentTween = i[0]));
                },
                update: function (i) {
                  if (this.isPendingRemove() || this.isDestroyed()) return !0;
                  if (this.isFinished() || this.paused) return !1;
                  ((i *=
                    _____WB$wombat$check$this$function_____(this).parent
                      .timeScale),
                    this.isLoopDelayed()
                      ? this.updateLoopCountdown(i)
                      : this.isCompleteDelayed()
                        ? this.updateCompleteDelay(i)
                        : this.isStartDelayed() &&
                          (i = this.updateStartCountdown(i)));
                  var o = !1;
                  return (
                    this.isActive() &&
                      this.currentTween &&
                      (this.currentTween.update(i) &&
                        this.nextTween() &&
                        this.nextState(),
                      (o = this.isPendingRemove()),
                      o && this.persist && (this.setFinishedState(), (o = !1))),
                    o
                  );
                },
                nextTween: function () {
                  return (
                    this.currentIndex++,
                    this.currentIndex === this.totalData
                      ? !0
                      : (this.setCurrentTween(this.currentIndex), !1)
                  );
                },
                setCurrentTween: function (i) {
                  ((this.currentIndex = i),
                    (this.currentTween = this.data[i]),
                    this.currentTween.setActiveState(),
                    this.currentTween.dispatchEvent(
                      r.TWEEN_ACTIVE,
                      "onActive",
                    ));
                },
                dispatchEvent: function (i, o) {
                  this.emit(i, _____WB$wombat$check$this$function_____(this));
                  var h = this.callbacks[o];
                  h &&
                    h.func.apply(this.callbackScope, [this].concat(h.params));
                },
                destroy: function () {
                  (c.prototype.destroy.call(this), (this.currentTween = null));
                },
              });
            (e.register("tweenchain", function (i) {
              return this.scene.sys.tweens.chain(i);
            }),
              n.register("tweenchain", function (i) {
                return this.scene.sys.tweens.create(i);
              }),
              (d.exports = u));
          },
          15718: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(65521),
              c = t(82897),
              a = t(56694),
              r = t(54272),
              n = new a({
                Extends: A,
                initialize: function (
                  s,
                  u,
                  i,
                  o,
                  h,
                  l,
                  f,
                  v,
                  m,
                  x,
                  g,
                  C,
                  T,
                  F,
                  w,
                  U,
                  M,
                ) {
                  (A.call(this, s, u, v, m, x, g, C, T, F, w),
                    (this.key = i),
                    (this.getActiveValue = l),
                    (this.getEndValue = o),
                    (this.getStartValue = h),
                    (this.ease = f),
                    (this.start = 0),
                    (this.previous = 0),
                    (this.current = 0),
                    (this.end = 0),
                    (this.interpolation = U),
                    (this.interpolationData = M));
                },
                reset: function (e) {
                  A.prototype.reset.call(this);
                  var s = this.tween.targets[this.targetIndex],
                    u = this.key;
                  (e && (s[u] = this.start),
                    (this.start = 0),
                    (this.previous = 0),
                    (this.current = 0),
                    (this.end = 0),
                    this.getActiveValue &&
                      (s[u] = this.getActiveValue(s, u, 0)));
                },
                update: function (e) {
                  var s = this.tween,
                    u = s.totalTargets,
                    i = this.targetIndex,
                    o = s.targets[i],
                    h = this.key;
                  if (!o) return (this.setCompleteState(), !1);
                  if (
                    (this.isCountdown &&
                      ((this.elapsed -= e),
                      this.elapsed <= 0 &&
                        ((this.elapsed = 0),
                        (e = 0),
                        this.isDelayed()
                          ? this.setPendingRenderState()
                          : this.isRepeating()
                            ? (this.setPlayingForwardState(),
                              this.dispatchEvent(r.TWEEN_REPEAT, "onRepeat"))
                            : this.isHolding() && this.setStateFromEnd(0))),
                    this.isPendingRender())
                  )
                    return (
                      (this.start = this.getStartValue(o, h, o[h], i, u, s)),
                      (this.end = this.getEndValue(o, h, this.start, i, u, s)),
                      (this.current = this.start),
                      (o[h] = this.start),
                      this.setPlayingForwardState(),
                      !0
                    );
                  var l = this.isPlayingForward(),
                    f = this.isPlayingBackward();
                  if (l || f) {
                    var v = this.elapsed,
                      m = this.duration,
                      x = 0,
                      g = !1;
                    ((v += e),
                      v >= m
                        ? ((x = v - m), (v = m), (g = !0))
                        : v < 0 && (v = 0));
                    var C = c(v / m, 0, 1);
                    if (
                      ((this.elapsed = v),
                      (this.progress = C),
                      (this.previous = this.current),
                      g)
                    )
                      l
                        ? ((this.current = this.end),
                          (o[h] = this.end),
                          this.hold > 0
                            ? ((this.elapsed = this.hold), this.setHoldState())
                            : this.setStateFromEnd(x))
                        : ((this.current = this.start),
                          (o[h] = this.start),
                          this.setStateFromStart(x));
                    else {
                      l || (C = 1 - C);
                      var T = this.ease(C);
                      (this.interpolation
                        ? (this.current = this.interpolation(
                            this.interpolationData,
                            T,
                          ))
                        : (this.current =
                            this.start + (this.end - this.start) * T),
                        (o[h] = this.current));
                    }
                    this.dispatchEvent(r.TWEEN_UPDATE, "onUpdate");
                  }
                  return !this.isComplete();
                },
                dispatchEvent: function (e, s) {
                  var u = this.tween;
                  if (!u.isSeeking) {
                    var i = u.targets[this.targetIndex],
                      o = this.key,
                      h = this.current,
                      l = this.previous;
                    u.emit(e, u, o, i, h, l);
                    var f = u.callbacks[s];
                    f &&
                      f.func.apply(
                        u.callbackScope,
                        [u, i, o, h, l].concat(f.params),
                      );
                  }
                },
                destroy: function () {
                  (A.prototype.destroy.call(this),
                    (this.getActiveValue = null),
                    (this.getEndValue = null),
                    (this.getStartValue = null),
                    (this.ease = null));
                },
              });
            d.exports = n;
          },
          96490: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(65521),
              c = t(82897),
              a = t(56694),
              r = t(54272),
              n = new a({
                Extends: A,
                initialize: function (s, u, i, o, h, l, f, v, m, x, g) {
                  (A.call(this, s, u, h, l, !1, f, v, m, x, g),
                    (this.key = "texture"),
                    (this.startTexture = null),
                    (this.endTexture = i),
                    (this.startFrame = null),
                    (this.endFrame = o),
                    (this.yoyo = v !== 0));
                },
                reset: function (e) {
                  A.prototype.reset.call(this);
                  var s = this.tween.targets[this.targetIndex];
                  (this.startTexture ||
                    ((this.startTexture = s.texture.key),
                    (this.startFrame = s.frame.name)),
                    e && s.setTexture(this.startTexture, this.startFrame));
                },
                update: function (e) {
                  var s = this.tween,
                    u = this.targetIndex,
                    i = s.targets[u];
                  if (!i) return (this.setCompleteState(), !1);
                  if (
                    (this.isCountdown &&
                      ((this.elapsed -= e),
                      this.elapsed <= 0 &&
                        ((this.elapsed = 0),
                        (e = 0),
                        this.isDelayed()
                          ? this.setPendingRenderState()
                          : this.isRepeating()
                            ? (this.setPlayingForwardState(),
                              this.dispatchEvent(r.TWEEN_REPEAT, "onRepeat"))
                            : this.isHolding() && this.setStateFromEnd(0))),
                    this.isPendingRender())
                  )
                    return (
                      this.startTexture &&
                        i.setTexture(this.startTexture, this.startFrame),
                      this.setPlayingForwardState(),
                      !0
                    );
                  var o = this.isPlayingForward(),
                    h = this.isPlayingBackward();
                  if (o || h) {
                    var l = this.elapsed,
                      f = this.duration,
                      v = 0,
                      m = !1;
                    ((l += e),
                      l >= f
                        ? ((v = l - f), (l = f), (m = !0))
                        : l < 0 && (l = 0));
                    var x = c(l / f, 0, 1);
                    ((this.elapsed = l),
                      (this.progress = x),
                      m &&
                        (o
                          ? (i.setTexture(this.endTexture, this.endFrame),
                            this.hold > 0
                              ? ((this.elapsed = this.hold),
                                this.setHoldState())
                              : this.setStateFromEnd(v))
                          : (i.setTexture(this.startTexture, this.startFrame),
                            this.setStateFromStart(v))),
                      this.dispatchEvent(r.TWEEN_UPDATE, "onUpdate"));
                  }
                  return !this.isComplete();
                },
                dispatchEvent: function (e, s) {
                  var u = this.tween;
                  if (!u.isSeeking) {
                    var i = u.targets[this.targetIndex],
                      o = this.key;
                    u.emit(e, u, o, i);
                    var h = u.callbacks[s];
                    h &&
                      h.func.apply(u.callbackScope, [u, i, o].concat(h.params));
                  }
                },
                destroy: function () {
                  (A.prototype.destroy.call(this),
                    (this.startTexture = null),
                    (this.endTexture = null),
                    (this.startFrame = null),
                    (this.endFrame = null));
                },
              });
            d.exports = n;
          },
          55303: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = {
              CREATED: 0,
              DELAY: 2,
              PENDING_RENDER: 4,
              PLAYING_FORWARD: 5,
              PLAYING_BACKWARD: 6,
              HOLD_DELAY: 7,
              REPEAT_DELAY: 8,
              COMPLETE: 9,
              PENDING: 20,
              ACTIVE: 21,
              LOOP_DELAY: 22,
              COMPLETE_DELAY: 23,
              START_DELAY: 24,
              PENDING_REMOVE: 25,
              REMOVED: 26,
              FINISHED: 27,
              DESTROYED: 28,
              MAX: 999999999999,
            };
            d.exports = y;
          },
          56694: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ function y(n) {
              return (
                (!!n.get && typeof n.get == "function") ||
                (!!n.set && typeof n.set == "function")
              );
            }
            function t(n, e, s) {
              var u = s ? n[e] : Object.getOwnPropertyDescriptor(n, e);
              return (
                !s && u.value && typeof u.value == "object" && (u = u.value),
                u && y(u)
                  ? (typeof u.enumerable > "u" && (u.enumerable = !0),
                    typeof u.configurable > "u" && (u.configurable = !0),
                    u)
                  : !1
              );
            }
            function A(n, e) {
              var s = Object.getOwnPropertyDescriptor(n, e);
              return s
                ? (s.value && typeof s.value == "object" && (s = s.value),
                  s.configurable === !1)
                : !1;
            }
            function c(n, e, s, u) {
              for (var i in e)
                if (e.hasOwnProperty(i)) {
                  var o = t(e, i, s);
                  if (o !== !1) {
                    var h = u || n;
                    if (A(h.prototype, i)) {
                      if (r.ignoreFinals) continue;
                      throw new Error(
                        "cannot override final property '" +
                          i +
                          "', set Class.ignoreFinals = true to skip",
                      );
                    }
                    Object.defineProperty(n.prototype, i, o);
                  } else n.prototype[i] = e[i];
                }
            }
            function a(n, e) {
              if (e) {
                Array.isArray(e) || (e = [e]);
                for (var s = 0; s < e.length; s++) c(n, e[s].prototype || e[s]);
              }
            }
            function r(n) {
              n || (n = {});
              var e, s;
              if (n.initialize) {
                if (typeof n.initialize != "function")
                  throw new Error("initialize must be a function");
                ((e = n.initialize), delete n.initialize);
              } else if (n.Extends) {
                var u = n.Extends;
                e = function () {
                  u.apply(this, arguments);
                };
              } else e = function () {};
              n.Extends
                ? ((e.prototype = Object.create(n.Extends.prototype)),
                  (e.prototype.constructor = e),
                  (s = n.Extends),
                  delete n.Extends)
                : (e.prototype.constructor = e);
              var i = null;
              return (
                n.Mixins && ((i = n.Mixins), delete n.Mixins),
                a(e, i),
                c(e, n, !0, s),
                e
              );
            }
            ((r.extend = c),
              (r.mixin = a),
              (r.ignoreFinals = !1),
              (d.exports = r));
          },
          72283: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function () {};
            d.exports = y;
          },
          10618: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function () {
              return null;
            };
            d.exports = y;
          },
          78991: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a, r) {
              if ((r === void 0 && (r = t), c > 0)) {
                var n = c - t.length;
                if (n <= 0) return null;
              }
              if (!Array.isArray(A))
                return t.indexOf(A) === -1
                  ? (t.push(A), a && a.call(r, A), A)
                  : null;
              for (var e = A.length - 1; e >= 0; )
                (t.indexOf(A[e]) !== -1 && A.splice(e, 1), e--);
              if (((e = A.length), e === 0)) return null;
              c > 0 && e > n && (A.splice(n), (e = n));
              for (var s = 0; s < e; s++) {
                var u = A[s];
                (t.push(u), a && a.call(r, u));
              }
              return A;
            };
            d.exports = y;
          },
          48522: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a, r, n) {
              if ((c === void 0 && (c = 0), n === void 0 && (n = t), a > 0)) {
                var e = a - t.length;
                if (e <= 0) return null;
              }
              if (!Array.isArray(A))
                return t.indexOf(A) === -1
                  ? (t.splice(c, 0, A), r && r.call(n, A), A)
                  : null;
              for (var s = A.length - 1; s >= 0; )
                (t.indexOf(A[s]) !== -1 && A.pop(), s--);
              if (((s = A.length), s === 0)) return null;
              a > 0 && s > e && (A.splice(e), (s = e));
              for (var u = s - 1; u >= 0; u--) {
                var i = A[u];
                (t.splice(c, 0, i), r && r.call(n, i));
              }
              return A;
            };
            d.exports = y;
          },
          58742: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              var c = t.indexOf(A);
              return (
                c !== -1 && c < t.length && (t.splice(c, 1), t.push(A)),
                A
              );
            };
            d.exports = y;
          },
          30164: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(45838),
              c = function (a, r, n, e, s) {
                (e === void 0 && (e = 0), s === void 0 && (s = a.length));
                var u = 0;
                if (A(a, e, s))
                  for (var i = e; i < s; i++) {
                    var o = a[i];
                    o[r] === n && u++;
                  }
                return u;
              };
            d.exports = c;
          },
          36337: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              var a,
                r = [null];
              for (a = 3; a < arguments.length; a++) r.push(arguments[a]);
              for (a = 0; a < t.length; a++) ((r[0] = t[a]), A.apply(c, r));
              return t;
            };
            d.exports = y;
          },
          46208: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(45838),
              c = function (a, r, n, e, s) {
                if (
                  (e === void 0 && (e = 0),
                  s === void 0 && (s = a.length),
                  A(a, e, s))
                ) {
                  var u,
                    i = [null];
                  for (u = 5; u < arguments.length; u++) i.push(arguments[u]);
                  for (u = e; u < s; u++) ((i[0] = a[u]), r.apply(n, i));
                }
                return a;
              };
            d.exports = c;
          },
          2406: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              if (A.length) {
                if (A.length === 1) return A[0];
              } else return NaN;
              var a = 1,
                r,
                n;
              if (c) {
                if (t < A[0][c]) return A[0];
                for (; A[a][c] < t; ) a++;
              } else for (; A[a] < t; ) a++;
              return (
                a > A.length && (a = A.length),
                c
                  ? ((r = A[a - 1][c]),
                    (n = A[a][c]),
                    n - t <= t - r ? A[a] : A[a - 1])
                  : ((r = A[a - 1]), (n = A[a]), n - t <= t - r ? n : r)
              );
            };
            d.exports = y;
          },
          5454: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              A === void 0 && (A = []);
              for (var c = 0; c < t.length; c++)
                Array.isArray(t[c]) ? y(t[c], A) : A.push(t[c]);
              return A;
            };
            d.exports = y;
          },
          71608: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(45838),
              c = function (a, r, n, e, s) {
                (e === void 0 && (e = 0), s === void 0 && (s = a.length));
                var u = [];
                if (A(a, e, s))
                  for (var i = e; i < s; i++) {
                    var o = a[i];
                    (!r ||
                      (r && n === void 0 && o.hasOwnProperty(r)) ||
                      (r && n !== void 0 && o[r] === n)) &&
                      u.push(o);
                  }
                return u;
              };
            d.exports = c;
          },
          51463: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(45838),
              c = function (a, r, n, e, s) {
                if (
                  (e === void 0 && (e = 0),
                  s === void 0 && (s = a.length),
                  A(a, e, s))
                )
                  for (var u = e; u < s; u++) {
                    var i = a[u];
                    if (
                      !r ||
                      (r && n === void 0 && i.hasOwnProperty(r)) ||
                      (r && n !== void 0 && i[r] === n)
                    )
                      return i;
                  }
                return null;
              };
            d.exports = c;
          },
          72861: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              (A === void 0 && (A = 0), c === void 0 && (c = t.length));
              var a = A + Math.floor(Math.random() * c);
              return t[a] === void 0 ? null : t[a];
            };
            d.exports = y;
          },
          24218: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              if (A === c) return t;
              var a = t.indexOf(A),
                r = t.indexOf(c);
              if (a < 0 || r < 0)
                throw new Error(
                  "Supplied items must be elements of the same array",
                );
              return (
                a > r ||
                  (t.splice(a, 1),
                  r === t.length - 1 ? t.push(A) : t.splice(r, 0, A)),
                t
              );
            };
            d.exports = y;
          },
          58258: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              if (A === c) return t;
              var a = t.indexOf(A),
                r = t.indexOf(c);
              if (a < 0 || r < 0)
                throw new Error(
                  "Supplied items must be elements of the same array",
                );
              return (
                a < r ||
                  (t.splice(a, 1), r === 0 ? t.unshift(A) : t.splice(r, 0, A)),
                t
              );
            };
            d.exports = y;
          },
          51172: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              var c = t.indexOf(A);
              if (c > 0) {
                var a = t[c - 1],
                  r = t.indexOf(a);
                ((t[c] = a), (t[r] = A));
              }
              return t;
            };
            d.exports = y;
          },
          68396: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              var a = t.indexOf(A);
              if (a === -1 || c < 0 || c >= t.length)
                throw new Error("Supplied index out of bounds");
              return (a !== c && (t.splice(a, 1), t.splice(c, 0, A)), A);
            };
            d.exports = y;
          },
          27555: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              var c = t.indexOf(A);
              if (c !== -1 && c < t.length - 1) {
                var a = t[c + 1],
                  r = t.indexOf(a);
                ((t[c] = a), (t[r] = A));
              }
              return t;
            };
            d.exports = y;
          },
          13401: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              var r = [],
                n,
                e = !1;
              if (((c || a) && ((e = !0), c || (c = ""), a || (a = "")), A < t))
                for (n = t; n >= A; n--)
                  e ? r.push(c + n.toString() + a) : r.push(n);
              else
                for (n = t; n <= A; n++)
                  e ? r.push(c + n.toString() + a) : r.push(n);
              return r;
            };
            d.exports = y;
          },
          89955: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(67233),
              c = function (a, r, n) {
                (a === void 0 && (a = 0),
                  r === void 0 && (r = null),
                  n === void 0 && (n = 1),
                  r === null && ((r = a), (a = 0)));
                for (
                  var e = [], s = Math.max(A((r - a) / (n || 1)), 0), u = 0;
                  u < s;
                  u++
                )
                  (e.push(a), (a += n));
                return e;
              };
            d.exports = c;
          },
          53466: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ function y(c, a, r) {
              var n = c[a];
              ((c[a] = c[r]), (c[r] = n));
            }
            function t(c, a) {
              return c < a ? -1 : c > a ? 1 : 0;
            }
            var A = function (c, a, r, n, e) {
              for (
                r === void 0 && (r = 0),
                  n === void 0 && (n = c.length - 1),
                  e === void 0 && (e = t);
                n > r;
              ) {
                if (n - r > 600) {
                  var s = n - r + 1,
                    u = a - r + 1,
                    i = Math.log(s),
                    o = 0.5 * Math.exp((2 * i) / 3),
                    h =
                      0.5 *
                      Math.sqrt((i * o * (s - o)) / s) *
                      (u - s / 2 < 0 ? -1 : 1),
                    l = Math.max(r, Math.floor(a - (u * o) / s + h)),
                    f = Math.min(n, Math.floor(a + ((s - u) * o) / s + h));
                  A(c, a, l, f, e);
                }
                var v = c[a],
                  m = r,
                  x = n;
                for (y(c, r, a), e(c[n], v) > 0 && y(c, r, n); m < x; ) {
                  for (y(c, m, x), m++, x--; e(c[m], v) < 0; ) m++;
                  for (; e(c[x], v) > 0; ) x--;
                }
                (e(c[r], v) === 0 ? y(c, r, x) : (x++, y(c, x, n)),
                  x <= a && (r = x + 1),
                  a <= x && (n = x - 1));
              }
            };
            d.exports = A;
          },
          75757: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(10850),
              c = t(18592),
              a = function (n, e, s) {
                for (var u = [], i = 0; i < n.length; i++)
                  for (var o = 0; o < e.length; o++)
                    for (var h = 0; h < s; h++) u.push({ a: n[i], b: e[o] });
                return u;
              },
              r = function (n, e, s) {
                var u = A(s, "max", 0),
                  i = A(s, "qty", 1),
                  o = A(s, "random", !1),
                  h = A(s, "randomB", !1),
                  l = A(s, "repeat", 0),
                  f = A(s, "yoyo", !1),
                  v = [];
                if ((h && c(e), l === -1))
                  if (u === 0) l = 0;
                  else {
                    var m = n.length * e.length * i;
                    (f && (m *= 2), (l = Math.ceil(u / m)));
                  }
                for (var x = 0; x <= l; x++) {
                  var g = a(n, e, i);
                  (o && c(g),
                    (v = v.concat(g)),
                    f && (g.reverse(), (v = v.concat(g))));
                }
                return (u && v.splice(u), v);
              };
            d.exports = r;
          },
          66458: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72677),
              c = function (a, r, n, e) {
                e === void 0 && (e = a);
                var s;
                if (!Array.isArray(r))
                  return (
                    (s = a.indexOf(r)),
                    s !== -1 ? (A(a, s), n && n.call(e, r), r) : null
                  );
                for (var u = r.length - 1, i = []; u >= 0; ) {
                  var o = r[u];
                  ((s = a.indexOf(o)),
                    s !== -1 && (A(a, s), i.push(o), n && n.call(e, o)),
                    u--);
                }
                return i;
              };
            d.exports = c;
          },
          8324: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72677),
              c = function (a, r, n, e) {
                if ((e === void 0 && (e = a), r < 0 || r > a.length - 1))
                  throw new Error("Index out of bounds");
                var s = A(a, r);
                return (n && n.call(e, s), s);
              };
            d.exports = c;
          },
          47427: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(45838),
              c = function (a, r, n, e, s) {
                if (
                  (r === void 0 && (r = 0),
                  n === void 0 && (n = a.length),
                  s === void 0 && (s = a),
                  A(a, r, n))
                ) {
                  var u = n - r,
                    i = a.splice(r, u);
                  if (e)
                    for (var o = 0; o < i.length; o++) {
                      var h = i[o];
                      e.call(s, h);
                    }
                  return i;
                } else return [];
              };
            d.exports = c;
          },
          50147: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(72677),
              c = function (a, r, n) {
                (r === void 0 && (r = 0), n === void 0 && (n = a.length));
                var e = r + Math.floor(Math.random() * n);
                return A(a, e);
              };
            d.exports = c;
          },
          80402: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              var a = t.indexOf(A),
                r = t.indexOf(c);
              return a !== -1 && r === -1 ? ((t[a] = c), !0) : !1;
            };
            d.exports = y;
          },
          77640: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              A === void 0 && (A = 1);
              for (var c = null, a = 0; a < A; a++)
                ((c = t.shift()), t.push(c));
              return c;
            };
            d.exports = y;
          },
          38487: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              A === void 0 && (A = 1);
              for (var c = null, a = 0; a < A; a++)
                ((c = t.pop()), t.unshift(c));
              return c;
            };
            d.exports = y;
          },
          45838: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              var r = t.length;
              if (A < 0 || A > r || A >= c || c > r) {
                if (a)
                  throw new Error(
                    "Range Error: Values outside acceptable range",
                  );
                return !1;
              } else return !0;
            };
            d.exports = y;
          },
          27847: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              var c = t.indexOf(A);
              return (c !== -1 && c > 0 && (t.splice(c, 1), t.unshift(A)), A);
            };
            d.exports = y;
          },
          6034: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(45838),
              c = function (a, r, n, e, s) {
                if (
                  (e === void 0 && (e = 0),
                  s === void 0 && (s = a.length),
                  A(a, e, s))
                )
                  for (var u = e; u < s; u++) {
                    var i = a[u];
                    i.hasOwnProperty(r) && (i[r] = n);
                  }
                return a;
              };
            d.exports = c;
          },
          18592: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              for (var A = t.length - 1; A > 0; A--) {
                var c = Math.floor(Math.random() * (A + 1)),
                  a = t[A];
                ((t[A] = t[c]), (t[c] = a));
              }
              return t;
            };
            d.exports = y;
          },
          28834: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              var A = /\D/g;
              return (
                t.sort(function (c, a) {
                  return (
                    parseInt(c.replace(A, ""), 10) -
                    parseInt(a.replace(A, ""), 10)
                  );
                }),
                t
              );
            };
            d.exports = y;
          },
          72677: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              if (!(A >= t.length)) {
                for (var c = t.length - 1, a = t[A], r = A; r < c; r++)
                  t[r] = t[r + 1];
                return ((t.length = c), a);
              }
            };
            d.exports = y;
          },
          17922: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @author       Angry Bytes (and contributors)
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(77290);
            function c(e, s) {
              return String(e).localeCompare(s);
            }
            function a(e, s) {
              var u = e.length;
              if (u <= 1) return e;
              for (var i = new Array(u), o = 1; o < u; o *= 2) {
                r(e, s, o, i);
                var h = e;
                ((e = i), (i = h));
              }
              return e;
            }
            function r(e, s, u, i) {
              var o = e.length,
                h = 0,
                l = u * 2,
                f,
                v,
                m,
                x,
                g;
              for (f = 0; f < o; f += l)
                for (
                  v = f + u,
                    m = v + u,
                    v > o && (v = o),
                    m > o && (m = o),
                    x = f,
                    g = v;
                  ;
                )
                  if (x < v && g < m)
                    s(e[x], e[g]) <= 0 ? (i[h++] = e[x++]) : (i[h++] = e[g++]);
                  else if (x < v) i[h++] = e[x++];
                  else if (g < m) i[h++] = e[g++];
                  else break;
            }
            var n = function (e, s) {
              if ((s === void 0 && (s = c), !e || e.length < 2)) return e;
              if (A.features.stableSort) return e.sort(s);
              var u = a(e, s);
              return (u !== e && r(u, null, e.length, e), e);
            };
            d.exports = n;
          },
          96928: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              if (A === c) return t;
              var a = t.indexOf(A),
                r = t.indexOf(c);
              if (a < 0 || r < 0)
                throw new Error(
                  "Supplied items must be elements of the same array",
                );
              return ((t[a] = c), (t[r] = A), t);
            };
            d.exports = y;
          },
          59959: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              Matrix: t(13515),
              Add: t(78991),
              AddAt: t(48522),
              BringToTop: t(58742),
              CountAllMatching: t(30164),
              Each: t(36337),
              EachInRange: t(46208),
              FindClosestInSorted: t(2406),
              Flatten: t(5454),
              GetAll: t(71608),
              GetFirst: t(51463),
              GetRandom: t(72861),
              MoveDown: t(51172),
              MoveTo: t(68396),
              MoveUp: t(27555),
              MoveAbove: t(24218),
              MoveBelow: t(58258),
              NumberArray: t(13401),
              NumberArrayStep: t(89955),
              QuickSelect: t(53466),
              Range: t(75757),
              Remove: t(66458),
              RemoveAt: t(8324),
              RemoveBetween: t(47427),
              RemoveRandomElement: t(50147),
              Replace: t(80402),
              RotateLeft: t(77640),
              RotateRight: t(38487),
              SafeRange: t(45838),
              SendToBack: t(27847),
              SetAll: t(6034),
              Shuffle: t(18592),
              SortByDigits: t(28834),
              SpliceOne: t(72677),
              StableSort: t(17922),
              Swap: t(96928),
            };
          },
          97494: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              if (!Array.isArray(t) || !Array.isArray(t[0])) return !1;
              for (var A = t[0].length, c = 1; c < t.length; c++)
                if (t[c].length !== A) return !1;
              return !0;
            };
            d.exports = y;
          },
          68428: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(76400),
              c = t(97494),
              a = function (r) {
                var n = "";
                if (!c(r)) return n;
                for (var e = 0; e < r.length; e++) {
                  for (var s = 0; s < r[e].length; s++) {
                    var u = r[e][s].toString();
                    (u !== "undefined" ? (n += A(u, 2)) : (n += "?"),
                      s < r[e].length - 1 && (n += " |"));
                  }
                  if (e < r.length - 1) {
                    n += `
`;
                    for (var i = 0; i < r[e].length; i++)
                      ((n += "---"), i < r[e].length - 1 && (n += "+"));
                    n += `
`;
                  }
                }
                return n;
              };
            d.exports = a;
          },
          59521: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return t.reverse();
            };
            d.exports = y;
          },
          51995: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              for (var A = 0; A < t.length; A++) t[A].reverse();
              return t;
            };
            d.exports = y;
          },
          89011: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(63515),
              c = function (a) {
                return A(a, 180);
              };
            d.exports = c;
          },
          42549: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(63515),
              c = function (a, r) {
                r === void 0 && (r = 1);
                for (var n = 0; n < r; n++) a = A(a, 90);
                return a;
              };
            d.exports = c;
          },
          63515: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(97494),
              c = t(78581),
              a = function (r, n) {
                if ((n === void 0 && (n = 90), !A(r))) return null;
                if (
                  (typeof n != "string" && (n = ((n % 360) + 360) % 360),
                  n === 90 || n === -270 || n === "rotateLeft")
                )
                  ((r = c(r)), r.reverse());
                else if (n === -90 || n === 270 || n === "rotateRight")
                  (r.reverse(), (r = c(r)));
                else if (Math.abs(n) === 180 || n === "rotate180") {
                  for (var e = 0; e < r.length; e++) r[e].reverse();
                  r.reverse();
                }
                return r;
              };
            d.exports = a;
          },
          14305: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(63515),
              c = function (a, r) {
                r === void 0 && (r = 1);
                for (var n = 0; n < r; n++) a = A(a, -90);
                return a;
              };
            d.exports = c;
          },
          27365: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(77640),
              c = t(38487),
              a = function (r, n, e) {
                if (
                  (n === void 0 && (n = 0),
                  e === void 0 && (e = 0),
                  e !== 0 && (e < 0 ? A(r, Math.abs(e)) : c(r, e)),
                  n !== 0)
                )
                  for (var s = 0; s < r.length; s++) {
                    var u = r[s];
                    n < 0 ? A(u, Math.abs(n)) : c(u, n);
                  }
                return r;
              };
            d.exports = a;
          },
          78581: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              for (
                var A = t.length, c = t[0].length, a = new Array(c), r = 0;
                r < c;
                r++
              ) {
                a[r] = new Array(A);
                for (var n = A - 1; n > -1; n--) a[r][n] = t[n][r];
              }
              return a;
            };
            d.exports = y;
          },
          13515: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              CheckMatrix: t(97494),
              MatrixToString: t(68428),
              ReverseColumns: t(59521),
              ReverseRows: t(51995),
              Rotate180: t(89011),
              RotateLeft: t(42549),
              RotateMatrix: t(63515),
              RotateRight: t(14305),
              Translate: t(27365),
              TransposeMatrix: t(78581),
            };
          },
          40581: (d) => {
            /**
             * @author       Niklas von Hertzen (https://github.com/niklasvh/base64-arraybuffer)
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y =
                "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
              t = function (A, c) {
                for (
                  var a = new Uint8Array(A),
                    r = a.length,
                    n = c ? "data:" + c + ";base64," : "",
                    e = 0;
                  e < r;
                  e += 3
                )
                  ((n += y[a[e] >> 2]),
                    (n += y[((a[e] & 3) << 4) | (a[e + 1] >> 4)]),
                    (n += y[((a[e + 1] & 15) << 2) | (a[e + 2] >> 6)]),
                    (n += y[a[e + 2] & 63]));
                return (
                  r % 3 === 2
                    ? (n = n.substring(0, n.length - 1) + "=")
                    : r % 3 === 1 && (n = n.substring(0, n.length - 2) + "=="),
                  n
                );
              };
            d.exports = t;
          },
          82329: (d) => {
            /**
             * @author       Niklas von Hertzen (https://github.com/niklasvh/base64-arraybuffer)
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ for (
              var y =
                  "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
                t = new Uint8Array(256),
                A = 0;
              A < y.length;
              A++
            )
              t[y.charCodeAt(A)] = A;
            var c = function (a) {
              a = a.substr(a.indexOf(",") + 1);
              var r = a.length,
                n = r * 0.75,
                e = 0,
                s,
                u,
                i,
                o;
              a[r - 1] === "=" && (n--, a[r - 2] === "=" && n--);
              for (
                var h = new ArrayBuffer(n), l = new Uint8Array(h), f = 0;
                f < r;
                f += 4
              )
                ((s = t[a.charCodeAt(f)]),
                  (u = t[a.charCodeAt(f + 1)]),
                  (i = t[a.charCodeAt(f + 2)]),
                  (o = t[a.charCodeAt(f + 3)]),
                  (l[e++] = (s << 2) | (u >> 4)),
                  (l[e++] = ((u & 15) << 4) | (i >> 2)),
                  (l[e++] = ((i & 3) << 6) | (o & 63)));
              return h;
            };
            d.exports = c;
          },
          78417: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              ArrayBufferToBase64: t(40581),
              Base64ToArrayBuffer: t(82329),
            };
          },
          22178: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              Array: t(59959),
              Base64: t(78417),
              Objects: t(64615),
              String: t(50379),
              NOOP: t(72283),
              NULL: t(10618),
            };
          },
          32742: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              var A = {};
              for (var c in t)
                Array.isArray(t[c]) ? (A[c] = t[c].slice(0)) : (A[c] = t[c]);
              return A;
            };
            d.exports = y;
          },
          28699: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              var A, c, a;
              if (typeof t != "object" || t === null) return t;
              A = Array.isArray(t) ? [] : {};
              for (a in t) ((c = t[a]), (A[a] = y(c)));
              return A;
            };
            d.exports = y;
          },
          98611: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(42911),
              c = function () {
                var a,
                  r,
                  n,
                  e,
                  s,
                  u,
                  i = arguments[0] || {},
                  o = 1,
                  h = arguments.length,
                  l = !1;
                for (
                  typeof i == "boolean" &&
                    ((l = i), (i = arguments[1] || {}), (o = 2)),
                    h === o &&
                      ((i = _____WB$wombat$check$this$function_____(this)),
                      --o);
                  o < h;
                  o++
                )
                  if ((a = arguments[o]) != null)
                    for (r in a)
                      ((n = i[r]),
                        (e = a[r]),
                        i !== e &&
                          (l && e && (A(e) || (s = Array.isArray(e)))
                            ? (s
                                ? ((s = !1),
                                  (u = n && Array.isArray(n) ? n : []))
                                : (u = n && A(n) ? n : {}),
                              (i[r] = c(l, u, e)))
                            : e !== void 0 && (i[r] = e)));
                return i;
              };
            d.exports = c;
          },
          20494: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(5923),
              c = t(10850),
              a = function (r, n, e) {
                var s = c(r, n, null);
                if (s === null) return e;
                if (Array.isArray(s)) return A.RND.pick(s);
                if (typeof s == "object") {
                  if (s.hasOwnProperty("randInt"))
                    return A.RND.integerInRange(s.randInt[0], s.randInt[1]);
                  if (s.hasOwnProperty("randFloat"))
                    return A.RND.realInRange(s.randFloat[0], s.randFloat[1]);
                } else if (typeof s == "function") return s(n);
                return s;
              };
            d.exports = a;
          },
          72632: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              var a = typeof t;
              return !t || a === "number" || a === "string"
                ? c
                : t.hasOwnProperty(A) && t[A] !== void 0
                  ? t[A]
                  : c;
            };
            d.exports = y;
          },
          94324: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(10850),
              c = t(82897),
              a = function (r, n, e, s, u) {
                u === void 0 && (u = e);
                var i = A(r, n, u);
                return c(i, e, s);
              };
            d.exports = a;
          },
          10850: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              if ((!t && !a) || typeof t == "number") return c;
              if (t && t.hasOwnProperty(A)) return t[A];
              if (a && a.hasOwnProperty(A)) return a[A];
              if (A.indexOf(".") !== -1) {
                for (
                  var r = A.split("."),
                    n = t,
                    e = a,
                    s = c,
                    u = c,
                    i = !0,
                    o = !0,
                    h = 0;
                  h < r.length;
                  h++
                )
                  (n && n.hasOwnProperty(r[h])
                    ? ((s = n[r[h]]), (n = n[r[h]]))
                    : (i = !1),
                    e && e.hasOwnProperty(r[h])
                      ? ((u = e[r[h]]), (e = e[r[h]]))
                      : (o = !1));
                return i ? s : o ? u : c;
              } else return c;
            };
            d.exports = y;
          },
          87701: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              for (var c = 0; c < A.length; c++)
                if (!t.hasOwnProperty(A[c])) return !1;
              return !0;
            };
            d.exports = y;
          },
          53523: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              for (var c = 0; c < A.length; c++)
                if (t.hasOwnProperty(A[c])) return !0;
              return !1;
            };
            d.exports = y;
          },
          19256: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return t.hasOwnProperty(A);
            };
            d.exports = y;
          },
          42911: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              if (!t || typeof t != "object" || t.nodeType || t === t.window)
                return !1;
              try {
                if (
                  t.constructor &&
                  !{}.hasOwnProperty.call(
                    t.constructor.prototype,
                    "isPrototypeOf",
                  )
                )
                  return !1;
              } catch {
                return !1;
              }
              return !0;
            };
            d.exports = y;
          },
          30657: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(32742),
              c = function (a, r) {
                var n = A(a);
                for (var e in r) n.hasOwnProperty(e) || (n[e] = r[e]);
                return n;
              };
            d.exports = c;
          },
          72066: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(32742),
              c = function (a, r) {
                var n = A(a);
                for (var e in r) n.hasOwnProperty(e) && (n[e] = r[e]);
                return n;
              };
            d.exports = c;
          },
          28820: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var A = t(19256),
              c = function (a, r) {
                for (var n = {}, e = 0; e < r.length; e++) {
                  var s = r[e];
                  A(a, s) && (n[s] = a[s]);
                }
                return n;
              };
            d.exports = c;
          },
          22440: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c) {
              if (!t || typeof t == "number") return !1;
              if (t.hasOwnProperty(A)) return ((t[A] = c), !0);
              if (A.indexOf(".") !== -1) {
                for (
                  var a = A.split("."), r = t, n = t, e = 0;
                  e < a.length;
                  e++
                )
                  if (r.hasOwnProperty(a[e])) ((n = r), (r = r[a[e]]));
                  else return !1;
                return ((n[a[a.length - 1]] = c), !0);
              }
              return !1;
            };
            d.exports = y;
          },
          64615: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              Clone: t(32742),
              DeepCopy: t(28699),
              Extend: t(98611),
              GetAdvancedValue: t(20494),
              GetFastValue: t(72632),
              GetMinMaxValue: t(94324),
              GetValue: t(10850),
              HasAll: t(87701),
              HasAny: t(53523),
              HasValue: t(19256),
              IsPlainObject: t(42911),
              Merge: t(30657),
              MergeRight: t(72066),
              Pick: t(28820),
              SetValue: t(22440),
            };
          },
          69429: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return t.replace(/%([0-9]+)/g, function (c, a) {
                return A[Number(a) - 1];
              });
            };
            d.exports = y;
          },
          76400: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A, c, a) {
              (A === void 0 && (A = 0),
                c === void 0 && (c = " "),
                a === void 0 && (a = 3),
                (t = t.toString()));
              var r = 0;
              if (A + 1 >= t.length)
                switch (a) {
                  case 1:
                    t = new Array(A + 1 - t.length).join(c) + t;
                    break;
                  case 3:
                    var n = Math.ceil((r = A - t.length) / 2),
                      e = r - n;
                    t = new Array(e + 1).join(c) + t + new Array(n + 1).join(c);
                    break;
                  default:
                    t = t + new Array(A + 1 - t.length).join(c);
                    break;
                }
              return t;
            };
            d.exports = y;
          },
          76872: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t, A) {
              return A === 0 ? t.slice(1) : t.slice(0, A - 1) + t.slice(A);
            };
            d.exports = y;
          },
          8051: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return t.split("").reverse().join("");
            };
            d.exports = y;
          },
          76583: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function () {
              return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(
                /[xy]/g,
                function (t) {
                  var A = (Math.random() * 16) | 0,
                    c = t === "x" ? A : (A & 3) | 8;
                  return c.toString(16);
                },
              );
            };
            d.exports = y;
          },
          40587: (d) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ var y = function (t) {
              return t && t[0].toUpperCase() + t.slice(1);
            };
            d.exports = y;
          },
          50379: (d, y, t) => {
            /**
             * @author       Richard Davey <rich@photonstorm.com>
             * @copyright    2013-2023 Photon Storm Ltd.
             * @license      {@link https://opensource.org/licenses/MIT|MIT License}
             */ d.exports = {
              Format: t(69429),
              Pad: t(76400),
              RemoveAt: t(76872),
              Reverse: t(8051),
              UppercaseFirst: t(40587),
              UUID: t(76583),
            };
          },
        },
        S = {};
      function P(d) {
        var y = S[d];
        if (y !== void 0) return y.exports;
        var t = (S[d] = { exports: {} });
        return (E[d](t, t.exports, P), t.exports);
      }
      P.g = (function () {
        if (typeof globalThis == "object") return globalThis;
        try {
          return (
            _____WB$wombat$check$this$function_____(this) ||
            new Function(
              "return _____WB$wombat$check$this$function_____(this)",
            )()
          );
        } catch {
          if (typeof window == "object") return window;
        }
      })();
      var L = P(92491);
      return L;
    })(),
  );
})(Iu);
var bp = Iu.exports;
const me = Gp(bp),
  ze = {
    planet1: {
      size: 30,
      spawn: !0,
      source: "planet1",
      assetPath: "planet1_resized",
      points: 2,
    },
    planet2: {
      size: 44,
      spawn: !0,
      source: "planet2",
      assetPath: "planet2_resized",
      points: 4,
    },
    planet3: {
      size: 62,
      spawn: !0,
      source: "planet3",
      assetPath: "planet3_resized",
      points: 6,
    },
    planet4: {
      size: 69,
      spawn: !0,
      source: "planet4",
      assetPath: "planet4_resized",
      points: 8,
    },
    planet5: {
      size: 89,
      spawn: !0,
      source: "planet5",
      assetPath: "planet5_resized",
      points: 10,
    },
    planet6: {
      size: 109,
      source: "planet6",
      assetPath: "planet6_resized",
      points: 12,
    },
    planet7: {
      size: 118,
      source: "planet7",
      assetPath: "planet7_resized",
      points: 14,
    },
    planet8: {
      size: 156,
      source: "planet8",
      assetPath: "planet8_resized",
      points: 16,
    },
    planet9: {
      size: 184,
      source: "planet9",
      assetPath: "planet9_resized",
      points: 18,
    },
    planet10: {
      size: 211,
      source: "planet10",
      assetPath: "planet10_resized",
      points: 20,
    },
    planet11: {
      size: 244,
      source: "planet11",
      assetPath: "planet11_resized",
      points: 22,
    },
  };
function Vp(p, B) {
  return `${B > 1 ? p + "_" + B : p}_resized.png`;
}
const Xp = ({
    autoSpawn: p,
    gameWidth: B,
    gameHeight: E,
    limitBarPosition: S,
    limitBarThreshold: P,
    limitBarActive: L,
    newBodyTopPosition: d,
    incrementScore: y,
    canShake: t,
    reversed: A,
    level: c,
    planetsCounts: a,
    modifiers: r,
  }) => {
    const n = r.gravity;
    function e() {
      for (const o in ze) this.load.image(o, Vp(o, c.value));
      this.load.image("planet4_1", "planet4_1.png");
    }
    function s() {
      const o = ({ x: C, y: T, type: F = "", isStatic: w = !1 }) => {
        let U = this.matter.add.image(C, T, F, null, {
          shape: "circle",
          friction: r.friction,
          restitution: r.restitution,
          static: w,
          collisionFilter: { category: 1, mask: 1, group: 1 },
        });
        return (
          (U.ballType = F),
          (U.points = ze[F].points),
          w && this.matter.body.setStatic(U.body, !0),
          U
        );
      };
      let h = null;
      const l = () => {
        const C = Object.entries(ze).filter(([U, M]) => M.spawn),
          F = `planet${Math.floor(Math.random() * C.length) + 1}`,
          w = ze[F] || ze.planet1;
        ((h = o({
          x:
            this.input.activePointer.position.x ||
            B.value.replace("px", "") / 2,
          y: d.value,
          size: w.size,
          type: F,
          isStatic: !0,
        })),
          (h.body.collisionFilter = { category: 2, mask: 2, group: 2 }));
      };
      l();
      const f = () => {
        !h ||
          !h.body ||
          ((h.body.collisionFilter = { category: 1, mask: 1, group: 1 }),
          this.matter.body.setStatic(h.body, !1),
          (h.body.gameObject.hasSpawned = !0),
          (h = null),
          setTimeout(l, 500));
      };
      _i(A, (C) => {
        (this.matter.world.setGravity(0, C ? -n : n),
          setTimeout(() => {
            this.tweens.add({
              targets: [h],
              y: d.value,
              ease: "Linear",
              duration: 500,
            });
          }, 500));
      });
      const v = async (C) =>
          new Promise((T) => {
            this.tweens.add({ ...C, onComplete: T });
          }),
        m = async (C, T) => {
          var D, G, X, z;
          ((C.gameObject.isMerging = !0), (T.gameObject.isMerging = !0));
          const F = (C.gameObject.x + T.gameObject.x) / 2,
            w = (C.gameObject.y + T.gameObject.y) / 2;
          if (!ze[C.gameObject.ballType]) return;
          let M = C.gameObject.ballType.replace("planet", ""),
            I = parseInt(M) + 1;
          (ze[`planet${I}`] || (I = 1),
            this.matter.body.setStatic(C, !0),
            this.matter.body.setStatic(T, !0),
            T.gameObject.ballType === "planet11" &&
              (await v({
                targets: [C, T],
                rotation: 50,
                duration: 1e3,
                onUpdate: (K, N, b) => {
                  const R = me.Math.Interpolation.Linear(
                      [C.gameObject.rotation, -4],
                      K.progress,
                    ),
                    H = me.Math.Interpolation.Linear(
                      [T.gameObject.rotation, -4],
                      K.progress,
                    );
                  ((C.gameObject.rotation = R), (T.gameObject.rotation = H));
                },
              })),
            await v({
              targets: [C, T],
              scale: 0,
              x: F,
              y: w,
              ease: "Linear",
              rotation: -1,
              duration: 300,
              onUpdate: (K, N, b) => {
                if (!(!C.gameObject || !T.gameObject)) {
                  if (b === "x") {
                    const R = me.Math.Interpolation.Linear(
                        [C.gameObject.x, F],
                        K.progress,
                      ),
                      H = me.Math.Interpolation.Linear(
                        [T.gameObject.x, F],
                        K.progress,
                      );
                    (this.matter.body.setPosition(C, {
                      x: R,
                      y: C.gameObject.y,
                    }),
                      this.matter.body.setPosition(T, {
                        x: H,
                        y: T.gameObject.y,
                      }));
                  } else if (b === "y") {
                    const R = me.Math.Interpolation.Linear(
                        [C.gameObject.y, w],
                        K.progress,
                      ),
                      H = me.Math.Interpolation.Linear(
                        [T.gameObject.y, w],
                        K.progress,
                      );
                    (this.matter.body.setPosition(C, {
                      x: C.gameObject.x,
                      y: R,
                    }),
                      this.matter.body.setPosition(T, {
                        x: T.gameObject.x,
                        y: H,
                      }));
                  } else if (b === "scale") {
                    const R = me.Math.Interpolation.Linear(
                        [C.gameObject.scale, 0],
                        K.progress,
                      ),
                      H = me.Math.Interpolation.Linear(
                        [T.gameObject.scale, 0],
                        K.progress,
                      );
                    ((C.gameObject.scale = R), (T.gameObject.scale = H));
                  } else if (b === "rotation") {
                    const R = me.Math.Interpolation.Linear(
                        [C.gameObject.rotation, -1],
                        K.progress,
                      ),
                      H = me.Math.Interpolation.Linear(
                        [T.gameObject.rotation, -1],
                        K.progress,
                      );
                    ((C.gameObject.rotation = R), (T.gameObject.rotation = H));
                  }
                }
              },
            }),
            y(
              ((G = (D = C || T) == null ? void 0 : D.gameObject) == null
                ? void 0
                : G.points) || 0,
            ),
            (a.value[M] = a.value[M] ? a.value[M] + 1 : 1),
            (X = C == null ? void 0 : C.gameObject) == null || X.destroy(),
            (z = T == null ? void 0 : T.gameObject) == null || z.destroy());
          const O = o({
            x: F,
            y: w,
            size: ze[`planet${I}`].size,
            type: `planet${I}`,
          });
          ((O.body.gameObject.scaleX = 0.5),
            (O.body.gameObject.scaleY = 0.5),
            (O.body.gameObject.isMerging = !1),
            (O.body.gameObject.hasSpawned = !0),
            await v({
              targets: [O],
              scale: 1,
              rotation: Math.random() * 2 - 1,
              ease: "Linear",
              duration: 150,
            }),
            (O.body.gameObject.isMerging = !1),
            (O.body.gameObject.hasSpawned = !0));
        },
        x = (C) => {
          var w, U, M, I, O, D, G, X, z, K, N, b;
          const { bodyA: T, bodyB: F } = C;
          ((w = T.gameObject) != null &&
            w.hasSpawned &&
            (U = F.gameObject) != null &&
            U.hasSpawned &&
            (M = T.gameObject) != null &&
            M.ballType &&
            (I = F.gameObject) != null &&
            I.ballType &&
            ((T.gameObject.hasCollided = !0), (F.gameObject.hasCollided = !0)),
            !((O = T.gameObject) != null && O.isMerging) &&
              !((D = F.gameObject) != null && D.isMerging) &&
              (G = T.gameObject) != null &&
              G.hasSpawned &&
              (X = F.gameObject) != null &&
              X.hasSpawned &&
              ((z = T.gameObject) == null ? void 0 : z.ballType) ===
                ((K = F.gameObject) == null ? void 0 : K.ballType) &&
              ((T.gameObject.isMerging = !0),
              (F.gameObject.isMerging = !0),
              setTimeout(
                () => {
                  m(T, F);
                },
                ((N = T.gameObject) == null ? void 0 : N.scale) === 1 &&
                  ((b = F.gameObject) == null ? void 0 : b.scale) === 1
                  ? 0
                  : 150,
              ),
              T.gameObject.ballType === "planet10" &&
                F.gameObject.ballType === "planet10" &&
                (t.value = !0)));
        };
      (this.matter.world.setBounds(),
        this.matter.world.on("collisionstart", (C) => {
          C.pairs.forEach(x);
        }));
      const g = (C) => {
        !h ||
          !h.body ||
          this.matter.body.setPosition(h.body, {
            x: C == null ? void 0 : C.position.x,
            y: d.value,
          });
      };
      (this.input.on("pointerup", f),
        this.input.on("pointerdown", g),
        this.input.on("pointermove", g),
        setInterval(() => {
          p.value && f();
        }, 510));
    }
    function u() {
      const o = this.matter.world.localWorld.bodies;
      A.value
        ? o.reduce((l, f) => {
            var v, m, x, g, C;
            return (v = f.gameObject) != null &&
              v.ballType &&
              (m = f.gameObject) != null &&
              m.hasCollided &&
              (x = f.gameObject) != null &&
              x.hasSpawned &&
              l <
                f.position.y +
                  ((g = f.gameObject) == null ? void 0 : g.height) / 2
              ? f.position.y +
                  ((C = f.gameObject) == null ? void 0 : C.height) / 2
              : l;
          }, -99999) >
          parseInt(S.value.replace("px", "")) + P.value
          ? (L.value = !0)
          : (L.value = !1)
        : o.reduce((l, f) => {
              var v, m, x, g, C;
              return (v = f.gameObject) != null &&
                v.ballType &&
                (m = f.gameObject) != null &&
                m.hasCollided &&
                (x = f.gameObject) != null &&
                x.hasSpawned &&
                l >
                  f.position.y -
                    ((g = f.gameObject) == null ? void 0 : g.height) / 2
                ? f.position.y -
                    ((C = f.gameObject) == null ? void 0 : C.height) / 2
                : l;
            }, 99999) <
            parseInt(S.value.replace("px", "")) + P.value
          ? (L.value = !0)
          : (L.value = !1);
    }
    const i = new me.Game({
      canvas: document.getElementById("game"),
      type: me.CANVAS,
      width: B.value.replace("px", ""),
      height: E.value.replace("px", ""),
      physics: { default: "matter", matter: { gravity: { y: n }, debug: !1 } },
      transparent: !0,
      scene: { preload: e, create: s, update: u },
    });
    return (
      (i.shake = function () {
        this.scene.scenes[0].children.list.forEach((o) => {
          o != null &&
            o.hasSpawned &&
            (o.setVelocityX(Math.random() * 70 - 35),
            o.setVelocityY(Math.random() * 20 - 35));
        });
      }),
      { game: i }
    );
  },
  Zt = { xxs: 0, xs: 320, sm: 640, md: 768, lg: 1024, xl: 1280 };
window.mobileCheck = function () {
  let p = !1;
  return (
    (function (B) {
      (/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(
        B,
      ) ||
        /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(
          B.substr(0, 4),
        )) &&
        (p = !0);
    })(navigator.userAgent || navigator.vendor || window.opera),
    p
  );
};
const Yp = (p) => p >= Zt.xxs && p <= Zt.xs,
  zp = (p) => p >= Zt.xs && p <= Zt.sm,
  Wp = (p) => p >= Zt.sm && p <= Zt.md,
  Kp = (p) => p >= Zt.md && p <= Zt.lg,
  Jp = (p) => p >= Zt.lg && p <= Zt.xl,
  Zp = (p) => p >= Zt.xl,
  $p = (p) => p >= Zt.md,
  jp = (p) => p >= Zt.lg,
  kp = (p) => p >= Zt.xl,
  qp = (p) => p <= Zt.xs,
  _p = (p) => p <= Zt.sm,
  tg = (p) => p <= Zt.md,
  eg = (p) => p <= Zt.lg,
  ig = (p) => p <= Zt.xl,
  sg = (p) =>
    Yp(p)
      ? "xxs"
      : zp(p)
        ? "xs"
        : Wp(p)
          ? "sm"
          : Kp(p)
            ? "md"
            : Jp(p)
              ? "lg"
              : Zp(p)
                ? "xl"
                : "all",
  pe = rn({ w: 0, h: 0, is: "xs" }),
  Ou = () => {
    ((pe.w = window.innerWidth),
      (pe.h = window.innerHeight),
      (pe.is = sg(window.innerWidth)),
      (pe.minMd = $p(window.innerWidth)),
      (pe.minLg = jp(window.innerWidth)),
      (pe.minXl = kp(window.innerWidth)),
      (pe.maxXs = qp(window.innerWidth)),
      (pe.maxSm = _p(window.innerWidth)),
      (pe.maxMd = tg(window.innerWidth)),
      (pe.maxLg = eg(window.innerWidth)),
      (pe.maxXl = ig(window.innerWidth)),
      (pe.isMobile = window.mobileCheck()));
  };
window.addEventListener("resize", Ou);
const Qu = () => (Ou(), pe),
  lh = Qu(),
  ja = xt(1),
  ng = 754,
  rg = 430,
  uh = lh.isMobile ? lh.h * 0.9 : 754;
function Du() {
  const p = window.innerWidth / rg,
    B = (uh < window.innerHeight ? uh : window.innerHeight) / ng;
  ((ja.value = B), p < B && (ja.value = p));
}
Du();
window.addEventListener("resize", Du);
const ag = () => ({ scale: ja }),
  Di = (p, B) => {
    const E = p.__vccOpts || p;
    for (const [S, P] of B) E[S] = P;
    return E;
  },
  Ag = (p) => (an("data-v-d40a9cfb"), (p = p()), An(), p),
  og = Ag(() =>
    ht(
      "div",
      { class: "circle-path" },
      [ht("i", { class: "fa-solid fa-rotate-right" })],
      -1,
    ),
  ),
  hg = ["src"],
  lg = {
    __name: "Circuit",
    setup(p) {
      on(() => {
        const S = document.querySelectorAll(".circle-item"),
          P = S.length,
          L = 80;
        S.forEach((d, y) => {
          const t = 270 + (y / P) * 360;
          d.style.transform = `translate(-50%, -50%) rotate(${t}deg) translate(${L}px) rotate(-${t}deg)`;
        });
      });
      const B = (S) => `width: ${20 + S * 2}px; height: ${20 + S * 2}px;`,
        E = xt(0);
      return (S, P) => (
        mt(),
        Bt(
          "div",
          {
            class: "circle-container",
            onClick: P[0] || (P[0] = (L) => (E.value = (E.value + 1) % 11)),
          },
          [
            og,
            (mt(!0),
            Bt(
              It,
              null,
              Pr(
                Tt(ze),
                (L, d, y) => (
                  mt(),
                  Bt(
                    "img",
                    {
                      key: y,
                      src: `/planet${y + 1}.png`,
                      class: "circle-item planet",
                      style: nn(B(y)),
                    },
                    null,
                    12,
                    hg,
                  )
                ),
              ),
              128,
            )),
          ],
        )
      );
    },
  },
  Hu = Di(lg, [["__scopeId", "data-v-d40a9cfb"]]),
  ug = { class: "menu-container" },
  fg = ["disabled", "onClick"],
  dg = {
    __name: "MobileMenu",
    props: { menu: { type: Array, required: !0 } },
    setup(p) {
      return (B, E) => (
        mt(),
        Bt("div", ug, [
          (mt(!0),
          Bt(
            It,
            null,
            Pr(
              p.menu,
              (S) => (
                mt(),
                Bt(
                  "button",
                  {
                    key: S.id,
                    class: ce({ active: S.active, cta: S.cta }),
                    disabled: !S.active,
                    onClick: S.onClick,
                  },
                  [
                    ht(
                      "i",
                      {
                        class: ce([
                          "fas",
                          `fa-${S.icon}`,
                          S.active ? "fa-lg" : "fa-xs",
                        ]),
                      },
                      null,
                      2,
                    ),
                    kt(" " + le(S.name), 1),
                  ],
                  10,
                  fg,
                )
              ),
            ),
            128,
          )),
        ])
      );
    },
  },
  cg = Di(dg, [["__scopeId", "data-v-7adbf01a"]]),
  vg = (p) => (an("data-v-f52e0de2"), (p = p()), An(), p),
  pg = vg(() =>
    ht(
      "div",
      { class: "rules" },
      [
        ht("p", null, "You must stack planets without crossing the top line!"),
        ht("p", null, "Merge planets of the same type to get a bigger planet!"),
      ],
      -1,
    ),
  ),
  gg = {
    __name: "MobileRules",
    props: { show: Boolean },
    setup(p) {
      return (B, E) => (
        mt(),
        Bt(
          "div",
          { class: ce(["mobile-rules bg", { show: p.show }]) },
          [Gt(Hu), pg],
          2,
        )
      );
    },
  },
  mg = Di(gg, [["__scopeId", "data-v-f52e0de2"]]);
/*!
 * 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 ka =
  function (p, B) {
    return (
      (ka =
        Object.setPrototypeOf ||
        ({ __proto__: [] } instanceof Array &&
          function (E, S) {
            E.__proto__ = S;
          }) ||
        function (E, S) {
          for (var P in S)
            Object.prototype.hasOwnProperty.call(S, P) && (E[P] = S[P]);
        }),
      ka(p, B)
    );
  };
function Ue(p, B) {
  if (typeof B != "function" && B !== null)
    throw new TypeError(
      "Class extends value " + String(B) + " is not a constructor or null",
    );
  ka(p, B);
  function E() {
    this.constructor = p;
  }
  p.prototype =
    B === null ? Object.create(B) : ((E.prototype = B.prototype), new E());
}
var qa = function () {
  return (
    (qa =
      Object.assign ||
      function (B) {
        for (var E, S = 1, P = arguments.length; S < P; S++) {
          E = arguments[S];
          for (var L in E)
            Object.prototype.hasOwnProperty.call(E, L) && (B[L] = E[L]);
        }
        return B;
      }),
    qa.apply(this, arguments)
  );
};
function he(p, B, E, S) {
  function P(L) {
    return L instanceof E
      ? L
      : new E(function (d) {
          d(L);
        });
  }
  return new (E || (E = Promise))(function (L, d) {
    function y(c) {
      try {
        A(S.next(c));
      } catch (a) {
        d(a);
      }
    }
    function t(c) {
      try {
        A(S.throw(c));
      } catch (a) {
        d(a);
      }
    }
    function A(c) {
      c.done ? L(c.value) : P(c.value).then(y, t);
    }
    A((S = S.apply(p, B || [])).next());
  });
}
function se(p, B) {
  var E = {
      label: 0,
      sent: function () {
        if (L[0] & 1) throw L[1];
        return L[1];
      },
      trys: [],
      ops: [],
    },
    S,
    P,
    L,
    d;
  return (
    (d = { next: y(0), throw: y(1), return: y(2) }),
    typeof Symbol == "function" &&
      (d[Symbol.iterator] = function () {
        return _____WB$wombat$check$this$function_____(this);
      }),
    d
  );
  function y(A) {
    return function (c) {
      return t([A, c]);
    };
  }
  function t(A) {
    if (S) throw new TypeError("Generator is already executing.");
    for (; E; )
      try {
        if (
          ((S = 1),
          P &&
            (L =
              A[0] & 2
                ? P.return
                : A[0]
                  ? P.throw || ((L = P.return) && L.call(P), 0)
                  : P.next) &&
            !(L = L.call(P, A[1])).done)
        )
          return L;
        switch (((P = 0), L && (A = [A[0] & 2, L.value]), A[0])) {
          case 0:
          case 1:
            L = A;
            break;
          case 4:
            return (E.label++, { value: A[1], done: !1 });
          case 5:
            (E.label++, (P = A[1]), (A = [0]));
            continue;
          case 7:
            ((A = E.ops.pop()), E.trys.pop());
            continue;
          default:
            if (
              ((L = E.trys),
              !(L = L.length > 0 && L[L.length - 1]) &&
                (A[0] === 6 || A[0] === 2))
            ) {
              E = 0;
              continue;
            }
            if (A[0] === 3 && (!L || (A[1] > L[0] && A[1] < L[3]))) {
              E.label = A[1];
              break;
            }
            if (A[0] === 6 && E.label < L[1]) {
              ((E.label = L[1]), (L = A));
              break;
            }
            if (L && E.label < L[2]) {
              ((E.label = L[2]), E.ops.push(A));
              break;
            }
            (L[2] && E.ops.pop(), E.trys.pop());
            continue;
        }
        A = B.call(p, E);
      } catch (c) {
        ((A = [6, c]), (P = 0));
      } finally {
        S = L = 0;
      }
    if (A[0] & 5) throw A[1];
    return { value: A[0] ? A[1] : void 0, done: !0 };
  }
}
function xn(p, B, E) {
  if (E || arguments.length === 2)
    for (var S = 0, P = B.length, L; S < P; S++)
      (L || !(S in B)) &&
        (L || (L = Array.prototype.slice.call(B, 0, S)), (L[S] = B[S]));
  return p.concat(L || B);
}
var je = (function () {
    function p(B, E, S, P) {
      ((this.left = B),
        (_____WB$wombat$check$this$function_____(this).top = E),
        (this.width = S),
        (this.height = P));
    }
    return (
      (p.prototype.add = function (B, E, S, P) {
        return new p(
          this.left + B,
          _____WB$wombat$check$this$function_____(this).top + E,
          this.width + S,
          this.height + P,
        );
      }),
      (p.fromClientRect = function (B, E) {
        return new p(
          E.left + B.windowBounds.left,
          E.top + B.windowBounds.top,
          E.width,
          E.height,
        );
      }),
      (p.fromDOMRectList = function (B, E) {
        var S = Array.from(E).find(function (P) {
          return P.width !== 0;
        });
        return S
          ? new p(
              S.left + B.windowBounds.left,
              S.top + B.windowBounds.top,
              S.width,
              S.height,
            )
          : p.EMPTY;
      }),
      (p.EMPTY = new p(0, 0, 0, 0)),
      p
    );
  })(),
  Or = function (p, B) {
    return je.fromClientRect(p, B.getBoundingClientRect());
  },
  xg = function (p) {
    var B = p.body,
      E = p.documentElement;
    if (!B || !E) throw new Error("Unable to get document size");
    var S = Math.max(
        Math.max(B.scrollWidth, E.scrollWidth),
        Math.max(B.offsetWidth, E.offsetWidth),
        Math.max(B.clientWidth, E.clientWidth),
      ),
      P = Math.max(
        Math.max(B.scrollHeight, E.scrollHeight),
        Math.max(B.offsetHeight, E.offsetHeight),
        Math.max(B.clientHeight, E.clientHeight),
      );
    return new je(0, 0, S, P);
  },
  Qr = function (p) {
    for (var B = [], E = 0, S = p.length; E < S; ) {
      var P = p.charCodeAt(E++);
      if (P >= 55296 && P <= 56319 && E < S) {
        var L = p.charCodeAt(E++);
        (L & 64512) === 56320
          ? B.push(((P & 1023) << 10) + (L & 1023) + 65536)
          : (B.push(P), E--);
      } else B.push(P);
    }
    return B;
  },
  Vt = function () {
    for (var p = [], B = 0; B < arguments.length; B++) p[B] = arguments[B];
    if (String.fromCodePoint) return String.fromCodePoint.apply(String, p);
    var E = p.length;
    if (!E) return "";
    for (var S = [], P = -1, L = ""; ++P < E; ) {
      var d = p[P];
      (d <= 65535
        ? S.push(d)
        : ((d -= 65536), S.push((d >> 10) + 55296, (d % 1024) + 56320)),
        (P + 1 === E || S.length > 16384) &&
          ((L += String.fromCharCode.apply(String, S)), (S.length = 0)));
    }
    return L;
  },
  fh = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
  Bg = typeof Uint8Array > "u" ? [] : new Uint8Array(256);
for (var Bn = 0; Bn < fh.length; Bn++) Bg[fh.charCodeAt(Bn)] = Bn;
var dh = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
  Ms = typeof Uint8Array > "u" ? [] : new Uint8Array(256);
for (var yn = 0; yn < dh.length; yn++) Ms[dh.charCodeAt(yn)] = yn;
var yg = function (p) {
    var B = p.length * 0.75,
      E = p.length,
      S,
      P = 0,
      L,
      d,
      y,
      t;
    p[p.length - 1] === "=" && (B--, p[p.length - 2] === "=" && B--);
    var A =
        typeof ArrayBuffer < "u" &&
        typeof Uint8Array < "u" &&
        typeof Uint8Array.prototype.slice < "u"
          ? new ArrayBuffer(B)
          : new Array(B),
      c = Array.isArray(A) ? A : new Uint8Array(A);
    for (S = 0; S < E; S += 4)
      ((L = Ms[p.charCodeAt(S)]),
        (d = Ms[p.charCodeAt(S + 1)]),
        (y = Ms[p.charCodeAt(S + 2)]),
        (t = Ms[p.charCodeAt(S + 3)]),
        (c[P++] = (L << 2) | (d >> 4)),
        (c[P++] = ((d & 15) << 4) | (y >> 2)),
        (c[P++] = ((y & 3) << 6) | (t & 63)));
    return A;
  },
  Cg = function (p) {
    for (var B = p.length, E = [], S = 0; S < B; S += 2)
      E.push((p[S + 1] << 8) | p[S]);
    return E;
  },
  Tg = function (p) {
    for (var B = p.length, E = [], S = 0; S < B; S += 4)
      E.push((p[S + 3] << 24) | (p[S + 2] << 16) | (p[S + 1] << 8) | p[S]);
    return E;
  },
  Ii = 5,
  $A = 11,
  ra = 2,
  Eg = $A - Ii,
  Nu = 65536 >> Ii,
  Fg = 1 << Ii,
  aa = Fg - 1,
  Sg = 1024 >> Ii,
  wg = Nu + Sg,
  Mg = wg,
  Pg = 32,
  Ug = Mg + Pg,
  Rg = 65536 >> $A,
  Lg = 1 << Eg,
  Ig = Lg - 1,
  ch = function (p, B, E) {
    return p.slice
      ? p.slice(B, E)
      : new Uint16Array(Array.prototype.slice.call(p, B, E));
  },
  Og = function (p, B, E) {
    return p.slice
      ? p.slice(B, E)
      : new Uint32Array(Array.prototype.slice.call(p, B, E));
  },
  Qg = function (p, B) {
    var E = yg(p),
      S = Array.isArray(E) ? Tg(E) : new Uint32Array(E),
      P = Array.isArray(E) ? Cg(E) : new Uint16Array(E),
      L = 24,
      d = ch(P, L / 2, S[4] / 2),
      y = S[5] === 2 ? ch(P, (L + S[4]) / 2) : Og(S, Math.ceil((L + S[4]) / 4));
    return new Dg(S[0], S[1], S[2], S[3], d, y);
  },
  Dg = (function () {
    function p(B, E, S, P, L, d) {
      ((this.initialValue = B),
        (this.errorValue = E),
        (this.highStart = S),
        (this.highValueIndex = P),
        (this.index = L),
        (this.data = d));
    }
    return (
      (p.prototype.get = function (B) {
        var E;
        if (B >= 0) {
          if (B < 55296 || (B > 56319 && B <= 65535))
            return (
              (E = this.index[B >> Ii]),
              (E = (E << ra) + (B & aa)),
              this.data[E]
            );
          if (B <= 65535)
            return (
              (E = this.index[Nu + ((B - 55296) >> Ii)]),
              (E = (E << ra) + (B & aa)),
              this.data[E]
            );
          if (B < this.highStart)
            return (
              (E = Ug - Rg + (B >> $A)),
              (E = this.index[E]),
              (E += (B >> Ii) & Ig),
              (E = this.index[E]),
              (E = (E << ra) + (B & aa)),
              this.data[E]
            );
          if (B <= 1114111) return this.data[this.highValueIndex];
        }
        return this.errorValue;
      }),
      p
    );
  })(),
  vh = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
  Hg = typeof Uint8Array > "u" ? [] : new Uint8Array(256);
for (var Cn = 0; Cn < vh.length; Cn++) Hg[vh.charCodeAt(Cn)] = Cn;
var Ng =
    " ",
  ph = 50,
  Gg = 1,
  Gu = 2,
  bu = 3,
  bg = 4,
  Vg = 5,
  gh = 7,
  Vu = 8,
  mh = 9,
  ai = 10,
  _a = 11,
  xh = 12,
  tA = 13,
  Xg = 14,
  Ps = 15,
  eA = 16,
  Tn = 17,
  xs = 18,
  Yg = 19,
  Bh = 20,
  iA = 21,
  Bs = 22,
  Aa = 23,
  Ni = 24,
  ge = 25,
  Us = 26,
  Rs = 27,
  Gi = 28,
  zg = 29,
  Si = 30,
  Wg = 31,
  En = 32,
  Fn = 33,
  sA = 34,
  nA = 35,
  rA = 36,
  qs = 37,
  aA = 38,
  Jn = 39,
  Zn = 40,
  oa = 41,
  Xu = 42,
  Kg = 43,
  Jg = [9001, 65288],
  Yu = "!",
  Ct = "×",
  Sn = "÷",
  AA = Qg(Ng),
  Xe = [Si, rA],
  oA = [Gg, Gu, bu, Vg],
  zu = [ai, Vu],
  yh = [Rs, Us],
  Zg = oA.concat(zu),
  Ch = [aA, Jn, Zn, sA, nA],
  $g = [Ps, tA],
  jg = function (p, B) {
    B === void 0 && (B = "strict");
    var E = [],
      S = [],
      P = [];
    return (
      p.forEach(function (L, d) {
        var y = AA.get(L);
        if (
          (y > ph ? (P.push(!0), (y -= ph)) : P.push(!1),
          ["normal", "auto", "loose"].indexOf(B) !== -1 &&
            [8208, 8211, 12316, 12448].indexOf(L) !== -1)
        )
          return (S.push(d), E.push(eA));
        if (y === bg || y === _a) {
          if (d === 0) return (S.push(d), E.push(Si));
          var t = E[d - 1];
          return Zg.indexOf(t) === -1
            ? (S.push(S[d - 1]), E.push(t))
            : (S.push(d), E.push(Si));
        }
        if ((S.push(d), y === Wg)) return E.push(B === "strict" ? iA : qs);
        if (y === Xu || y === zg) return E.push(Si);
        if (y === Kg)
          return (L >= 131072 && L <= 196605) || (L >= 196608 && L <= 262141)
            ? E.push(qs)
            : E.push(Si);
        E.push(y);
      }),
      [S, E, P]
    );
  },
  ha = function (p, B, E, S) {
    var P = S[E];
    if (Array.isArray(p) ? p.indexOf(P) !== -1 : p === P)
      for (var L = E; L <= S.length; ) {
        L++;
        var d = S[L];
        if (d === B) return !0;
        if (d !== ai) break;
      }
    if (P === ai)
      for (var L = E; L > 0; ) {
        L--;
        var y = S[L];
        if (Array.isArray(p) ? p.indexOf(y) !== -1 : p === y)
          for (var t = E; t <= S.length; ) {
            t++;
            var d = S[t];
            if (d === B) return !0;
            if (d !== ai) break;
          }
        if (y !== ai) break;
      }
    return !1;
  },
  Th = function (p, B) {
    for (var E = p; E >= 0; ) {
      var S = B[E];
      if (S === ai) E--;
      else return S;
    }
    return 0;
  },
  kg = function (p, B, E, S, P) {
    if (E[S] === 0) return Ct;
    var L = S - 1;
    if (Array.isArray(P) && P[L] === !0) return Ct;
    var d = L - 1,
      y = L + 1,
      t = B[L],
      A = d >= 0 ? B[d] : 0,
      c = B[y];
    if (t === Gu && c === bu) return Ct;
    if (oA.indexOf(t) !== -1) return Yu;
    if (oA.indexOf(c) !== -1 || zu.indexOf(c) !== -1) return Ct;
    if (Th(L, B) === Vu) return Sn;
    if (
      AA.get(p[L]) === _a ||
      ((t === En || t === Fn) && AA.get(p[y]) === _a) ||
      t === gh ||
      c === gh ||
      t === mh ||
      ([ai, tA, Ps].indexOf(t) === -1 && c === mh) ||
      [Tn, xs, Yg, Ni, Gi].indexOf(c) !== -1 ||
      Th(L, B) === Bs ||
      ha(Aa, Bs, L, B) ||
      ha([Tn, xs], iA, L, B) ||
      ha(xh, xh, L, B)
    )
      return Ct;
    if (t === ai) return Sn;
    if (t === Aa || c === Aa) return Ct;
    if (c === eA || t === eA) return Sn;
    if (
      [tA, Ps, iA].indexOf(c) !== -1 ||
      t === Xg ||
      (A === rA && $g.indexOf(t) !== -1) ||
      (t === Gi && c === rA) ||
      c === Bh ||
      (Xe.indexOf(c) !== -1 && t === ge) ||
      (Xe.indexOf(t) !== -1 && c === ge) ||
      (t === Rs && [qs, En, Fn].indexOf(c) !== -1) ||
      ([qs, En, Fn].indexOf(t) !== -1 && c === Us) ||
      (Xe.indexOf(t) !== -1 && yh.indexOf(c) !== -1) ||
      (yh.indexOf(t) !== -1 && Xe.indexOf(c) !== -1) ||
      ([Rs, Us].indexOf(t) !== -1 &&
        (c === ge || ([Bs, Ps].indexOf(c) !== -1 && B[y + 1] === ge))) ||
      ([Bs, Ps].indexOf(t) !== -1 && c === ge) ||
      (t === ge && [ge, Gi, Ni].indexOf(c) !== -1)
    )
      return Ct;
    if ([ge, Gi, Ni, Tn, xs].indexOf(c) !== -1)
      for (var a = L; a >= 0; ) {
        var r = B[a];
        if (r === ge) return Ct;
        if ([Gi, Ni].indexOf(r) !== -1) a--;
        else break;
      }
    if ([Rs, Us].indexOf(c) !== -1)
      for (var a = [Tn, xs].indexOf(t) !== -1 ? d : L; a >= 0; ) {
        var r = B[a];
        if (r === ge) return Ct;
        if ([Gi, Ni].indexOf(r) !== -1) a--;
        else break;
      }
    if (
      (aA === t && [aA, Jn, sA, nA].indexOf(c) !== -1) ||
      ([Jn, sA].indexOf(t) !== -1 && [Jn, Zn].indexOf(c) !== -1) ||
      ([Zn, nA].indexOf(t) !== -1 && c === Zn) ||
      (Ch.indexOf(t) !== -1 && [Bh, Us].indexOf(c) !== -1) ||
      (Ch.indexOf(c) !== -1 && t === Rs) ||
      (Xe.indexOf(t) !== -1 && Xe.indexOf(c) !== -1) ||
      (t === Ni && Xe.indexOf(c) !== -1) ||
      (Xe.concat(ge).indexOf(t) !== -1 &&
        c === Bs &&
        Jg.indexOf(p[y]) === -1) ||
      (Xe.concat(ge).indexOf(c) !== -1 && t === xs)
    )
      return Ct;
    if (t === oa && c === oa) {
      for (var n = E[L], e = 1; n > 0 && (n--, B[n] === oa); ) e++;
      if (e % 2 !== 0) return Ct;
    }
    return t === En && c === Fn ? Ct : Sn;
  },
  qg = function (p, B) {
    B || (B = { lineBreak: "normal", wordBreak: "normal" });
    var E = jg(p, B.lineBreak),
      S = E[0],
      P = E[1],
      L = E[2];
    (B.wordBreak === "break-all" || B.wordBreak === "break-word") &&
      (P = P.map(function (y) {
        return [ge, Si, Xu].indexOf(y) !== -1 ? qs : y;
      }));
    var d =
      B.wordBreak === "keep-all"
        ? L.map(function (y, t) {
            return y && p[t] >= 19968 && p[t] <= 40959;
          })
        : void 0;
    return [S, P, d];
  },
  _g = (function () {
    function p(B, E, S, P) {
      ((this.codePoints = B),
        (this.required = E === Yu),
        (this.start = S),
        (this.end = P));
    }
    return (
      (p.prototype.slice = function () {
        return Vt.apply(void 0, this.codePoints.slice(this.start, this.end));
      }),
      p
    );
  })(),
  t0 = function (p, B) {
    var E = Qr(p),
      S = qg(E, B),
      P = S[0],
      L = S[1],
      d = S[2],
      y = E.length,
      t = 0,
      A = 0;
    return {
      next: function () {
        if (A >= y) return { done: !0, value: null };
        for (var c = Ct; A < y && (c = kg(E, L, P, ++A, d)) === Ct; );
        if (c !== Ct || A === y) {
          var a = new _g(E, c, t, A);
          return ((t = A), { value: a, done: !1 });
        }
        return { done: !0, value: null };
      },
    };
  },
  e0 = 1,
  i0 = 2,
  hn = 4,
  Eh = 8,
  or = 10,
  Fh = 47,
  Vs = 92,
  s0 = 9,
  n0 = 32,
  wn = 34,
  ys = 61,
  r0 = 35,
  a0 = 36,
  A0 = 37,
  Mn = 39,
  Pn = 40,
  Cs = 41,
  o0 = 95,
  de = 45,
  h0 = 33,
  l0 = 60,
  u0 = 62,
  f0 = 64,
  d0 = 91,
  c0 = 93,
  v0 = 61,
  p0 = 123,
  Un = 63,
  g0 = 125,
  Sh = 124,
  m0 = 126,
  x0 = 128,
  wh = 65533,
  la = 42,
  Pi = 43,
  B0 = 44,
  y0 = 58,
  C0 = 59,
  _s = 46,
  T0 = 0,
  E0 = 8,
  F0 = 11,
  S0 = 14,
  w0 = 31,
  M0 = 127,
  Ie = -1,
  Wu = 48,
  Ku = 97,
  Ju = 101,
  P0 = 102,
  U0 = 117,
  R0 = 122,
  Zu = 65,
  $u = 69,
  ju = 70,
  L0 = 85,
  I0 = 90,
  ne = function (p) {
    return p >= Wu && p <= 57;
  },
  O0 = function (p) {
    return p >= 55296 && p <= 57343;
  },
  bi = function (p) {
    return ne(p) || (p >= Zu && p <= ju) || (p >= Ku && p <= P0);
  },
  Q0 = function (p) {
    return p >= Ku && p <= R0;
  },
  D0 = function (p) {
    return p >= Zu && p <= I0;
  },
  H0 = function (p) {
    return Q0(p) || D0(p);
  },
  N0 = function (p) {
    return p >= x0;
  },
  Rn = function (p) {
    return p === or || p === s0 || p === n0;
  },
  hr = function (p) {
    return H0(p) || N0(p) || p === o0;
  },
  Mh = function (p) {
    return hr(p) || ne(p) || p === de;
  },
  G0 = function (p) {
    return (p >= T0 && p <= E0) || p === F0 || (p >= S0 && p <= w0) || p === M0;
  },
  ri = function (p, B) {
    return p !== Vs ? !1 : B !== or;
  },
  Ln = function (p, B, E) {
    return p === de ? hr(B) || ri(B, E) : hr(p) ? !0 : !!(p === Vs && ri(p, B));
  },
  ua = function (p, B, E) {
    return p === Pi || p === de
      ? ne(B)
        ? !0
        : B === _s && ne(E)
      : ne(p === _s ? B : p);
  },
  b0 = function (p) {
    var B = 0,
      E = 1;
    (p[B] === Pi || p[B] === de) && (p[B] === de && (E = -1), B++);
    for (var S = []; ne(p[B]); ) S.push(p[B++]);
    var P = S.length ? parseInt(Vt.apply(void 0, S), 10) : 0;
    p[B] === _s && B++;
    for (var L = []; ne(p[B]); ) L.push(p[B++]);
    var d = L.length,
      y = d ? parseInt(Vt.apply(void 0, L), 10) : 0;
    (p[B] === $u || p[B] === Ju) && B++;
    var t = 1;
    (p[B] === Pi || p[B] === de) && (p[B] === de && (t = -1), B++);
    for (var A = []; ne(p[B]); ) A.push(p[B++]);
    var c = A.length ? parseInt(Vt.apply(void 0, A), 10) : 0;
    return E * (P + y * Math.pow(10, -d)) * Math.pow(10, t * c);
  },
  V0 = { type: 2 },
  X0 = { type: 3 },
  Y0 = { type: 4 },
  z0 = { type: 13 },
  W0 = { type: 8 },
  K0 = { type: 21 },
  J0 = { type: 9 },
  Z0 = { type: 10 },
  $0 = { type: 11 },
  j0 = { type: 12 },
  k0 = { type: 14 },
  In = { type: 23 },
  q0 = { type: 1 },
  _0 = { type: 25 },
  tm = { type: 24 },
  em = { type: 26 },
  im = { type: 27 },
  sm = { type: 28 },
  nm = { type: 29 },
  rm = { type: 31 },
  hA = { type: 32 },
  ku = (function () {
    function p() {
      this._value = [];
    }
    return (
      (p.prototype.write = function (B) {
        this._value = this._value.concat(Qr(B));
      }),
      (p.prototype.read = function () {
        for (var B = [], E = this.consumeToken(); E !== hA; )
          (B.push(E), (E = this.consumeToken()));
        return B;
      }),
      (p.prototype.consumeToken = function () {
        var B = this.consumeCodePoint();
        switch (B) {
          case wn:
            return this.consumeStringToken(wn);
          case r0:
            var E = this.peekCodePoint(0),
              S = this.peekCodePoint(1),
              P = this.peekCodePoint(2);
            if (Mh(E) || ri(S, P)) {
              var L = Ln(E, S, P) ? i0 : e0,
                d = this.consumeName();
              return { type: 5, value: d, flags: L };
            }
            break;
          case a0:
            if (this.peekCodePoint(0) === ys)
              return (this.consumeCodePoint(), z0);
            break;
          case Mn:
            return this.consumeStringToken(Mn);
          case Pn:
            return V0;
          case Cs:
            return X0;
          case la:
            if (this.peekCodePoint(0) === ys)
              return (this.consumeCodePoint(), k0);
            break;
          case Pi:
            if (ua(B, this.peekCodePoint(0), this.peekCodePoint(1)))
              return (this.reconsumeCodePoint(B), this.consumeNumericToken());
            break;
          case B0:
            return Y0;
          case de:
            var y = B,
              t = this.peekCodePoint(0),
              A = this.peekCodePoint(1);
            if (ua(y, t, A))
              return (this.reconsumeCodePoint(B), this.consumeNumericToken());
            if (Ln(y, t, A))
              return (this.reconsumeCodePoint(B), this.consumeIdentLikeToken());
            if (t === de && A === u0)
              return (this.consumeCodePoint(), this.consumeCodePoint(), tm);
            break;
          case _s:
            if (ua(B, this.peekCodePoint(0), this.peekCodePoint(1)))
              return (this.reconsumeCodePoint(B), this.consumeNumericToken());
            break;
          case Fh:
            if (this.peekCodePoint(0) === la)
              for (this.consumeCodePoint(); ; ) {
                var c = this.consumeCodePoint();
                if (c === la && ((c = this.consumeCodePoint()), c === Fh))
                  return this.consumeToken();
                if (c === Ie) return this.consumeToken();
              }
            break;
          case y0:
            return em;
          case C0:
            return im;
          case l0:
            if (
              this.peekCodePoint(0) === h0 &&
              this.peekCodePoint(1) === de &&
              this.peekCodePoint(2) === de
            )
              return (this.consumeCodePoint(), this.consumeCodePoint(), _0);
            break;
          case f0:
            var a = this.peekCodePoint(0),
              r = this.peekCodePoint(1),
              n = this.peekCodePoint(2);
            if (Ln(a, r, n)) {
              var d = this.consumeName();
              return { type: 7, value: d };
            }
            break;
          case d0:
            return sm;
          case Vs:
            if (ri(B, this.peekCodePoint(0)))
              return (this.reconsumeCodePoint(B), this.consumeIdentLikeToken());
            break;
          case c0:
            return nm;
          case v0:
            if (this.peekCodePoint(0) === ys)
              return (this.consumeCodePoint(), W0);
            break;
          case p0:
            return $0;
          case g0:
            return j0;
          case U0:
          case L0:
            var e = this.peekCodePoint(0),
              s = this.peekCodePoint(1);
            return (
              e === Pi &&
                (bi(s) || s === Un) &&
                (this.consumeCodePoint(), this.consumeUnicodeRangeToken()),
              this.reconsumeCodePoint(B),
              this.consumeIdentLikeToken()
            );
          case Sh:
            if (this.peekCodePoint(0) === ys)
              return (this.consumeCodePoint(), J0);
            if (this.peekCodePoint(0) === Sh)
              return (this.consumeCodePoint(), K0);
            break;
          case m0:
            if (this.peekCodePoint(0) === ys)
              return (this.consumeCodePoint(), Z0);
            break;
          case Ie:
            return hA;
        }
        return Rn(B)
          ? (this.consumeWhiteSpace(), rm)
          : ne(B)
            ? (this.reconsumeCodePoint(B), this.consumeNumericToken())
            : hr(B)
              ? (this.reconsumeCodePoint(B), this.consumeIdentLikeToken())
              : { type: 6, value: Vt(B) };
      }),
      (p.prototype.consumeCodePoint = function () {
        var B = this._value.shift();
        return typeof B > "u" ? -1 : B;
      }),
      (p.prototype.reconsumeCodePoint = function (B) {
        this._value.unshift(B);
      }),
      (p.prototype.peekCodePoint = function (B) {
        return B >= this._value.length ? -1 : this._value[B];
      }),
      (p.prototype.consumeUnicodeRangeToken = function () {
        for (var B = [], E = this.consumeCodePoint(); bi(E) && B.length < 6; )
          (B.push(E), (E = this.consumeCodePoint()));
        for (var S = !1; E === Un && B.length < 6; )
          (B.push(E), (E = this.consumeCodePoint()), (S = !0));
        if (S) {
          var P = parseInt(
              Vt.apply(
                void 0,
                B.map(function (t) {
                  return t === Un ? Wu : t;
                }),
              ),
              16,
            ),
            L = parseInt(
              Vt.apply(
                void 0,
                B.map(function (t) {
                  return t === Un ? ju : t;
                }),
              ),
              16,
            );
          return { type: 30, start: P, end: L };
        }
        var d = parseInt(Vt.apply(void 0, B), 16);
        if (this.peekCodePoint(0) === de && bi(this.peekCodePoint(1))) {
          (this.consumeCodePoint(), (E = this.consumeCodePoint()));
          for (var y = []; bi(E) && y.length < 6; )
            (y.push(E), (E = this.consumeCodePoint()));
          var L = parseInt(Vt.apply(void 0, y), 16);
          return { type: 30, start: d, end: L };
        } else return { type: 30, start: d, end: d };
      }),
      (p.prototype.consumeIdentLikeToken = function () {
        var B = this.consumeName();
        return B.toLowerCase() === "url" && this.peekCodePoint(0) === Pn
          ? (this.consumeCodePoint(), this.consumeUrlToken())
          : this.peekCodePoint(0) === Pn
            ? (this.consumeCodePoint(), { type: 19, value: B })
            : { type: 20, value: B };
      }),
      (p.prototype.consumeUrlToken = function () {
        var B = [];
        if ((this.consumeWhiteSpace(), this.peekCodePoint(0) === Ie))
          return { type: 22, value: "" };
        var E = this.peekCodePoint(0);
        if (E === Mn || E === wn) {
          var S = this.consumeStringToken(this.consumeCodePoint());
          return S.type === 0 &&
            (this.consumeWhiteSpace(),
            this.peekCodePoint(0) === Ie || this.peekCodePoint(0) === Cs)
            ? (this.consumeCodePoint(), { type: 22, value: S.value })
            : (this.consumeBadUrlRemnants(), In);
        }
        for (;;) {
          var P = this.consumeCodePoint();
          if (P === Ie || P === Cs)
            return { type: 22, value: Vt.apply(void 0, B) };
          if (Rn(P))
            return (
              this.consumeWhiteSpace(),
              this.peekCodePoint(0) === Ie || this.peekCodePoint(0) === Cs
                ? (this.consumeCodePoint(),
                  { type: 22, value: Vt.apply(void 0, B) })
                : (this.consumeBadUrlRemnants(), In)
            );
          if (P === wn || P === Mn || P === Pn || G0(P))
            return (this.consumeBadUrlRemnants(), In);
          if (P === Vs)
            if (ri(P, this.peekCodePoint(0)))
              B.push(this.consumeEscapedCodePoint());
            else return (this.consumeBadUrlRemnants(), In);
          else B.push(P);
        }
      }),
      (p.prototype.consumeWhiteSpace = function () {
        for (; Rn(this.peekCodePoint(0)); ) this.consumeCodePoint();
      }),
      (p.prototype.consumeBadUrlRemnants = function () {
        for (;;) {
          var B = this.consumeCodePoint();
          if (B === Cs || B === Ie) return;
          ri(B, this.peekCodePoint(0)) && this.consumeEscapedCodePoint();
        }
      }),
      (p.prototype.consumeStringSlice = function (B) {
        for (var E = 5e4, S = ""; B > 0; ) {
          var P = Math.min(E, B);
          ((S += Vt.apply(void 0, this._value.splice(0, P))), (B -= P));
        }
        return (this._value.shift(), S);
      }),
      (p.prototype.consumeStringToken = function (B) {
        var E = "",
          S = 0;
        do {
          var P = this._value[S];
          if (P === Ie || P === void 0 || P === B)
            return ((E += this.consumeStringSlice(S)), { type: 0, value: E });
          if (P === or) return (this._value.splice(0, S), q0);
          if (P === Vs) {
            var L = this._value[S + 1];
            L !== Ie &&
              L !== void 0 &&
              (L === or
                ? ((E += this.consumeStringSlice(S)),
                  (S = -1),
                  this._value.shift())
                : ri(P, L) &&
                  ((E += this.consumeStringSlice(S)),
                  (E += Vt(this.consumeEscapedCodePoint())),
                  (S = -1)));
          }
          S++;
        } while (!0);
      }),
      (p.prototype.consumeNumber = function () {
        var B = [],
          E = hn,
          S = this.peekCodePoint(0);
        for (
          (S === Pi || S === de) && B.push(this.consumeCodePoint());
          ne(this.peekCodePoint(0));
        )
          B.push(this.consumeCodePoint());
        S = this.peekCodePoint(0);
        var P = this.peekCodePoint(1);
        if (S === _s && ne(P))
          for (
            B.push(this.consumeCodePoint(), this.consumeCodePoint()), E = Eh;
            ne(this.peekCodePoint(0));
          )
            B.push(this.consumeCodePoint());
        ((S = this.peekCodePoint(0)), (P = this.peekCodePoint(1)));
        var L = this.peekCodePoint(2);
        if (
          (S === $u || S === Ju) &&
          (((P === Pi || P === de) && ne(L)) || ne(P))
        )
          for (
            B.push(this.consumeCodePoint(), this.consumeCodePoint()), E = Eh;
            ne(this.peekCodePoint(0));
          )
            B.push(this.consumeCodePoint());
        return [b0(B), E];
      }),
      (p.prototype.consumeNumericToken = function () {
        var B = this.consumeNumber(),
          E = B[0],
          S = B[1],
          P = this.peekCodePoint(0),
          L = this.peekCodePoint(1),
          d = this.peekCodePoint(2);
        if (Ln(P, L, d)) {
          var y = this.consumeName();
          return { type: 15, number: E, flags: S, unit: y };
        }
        return P === A0
          ? (this.consumeCodePoint(), { type: 16, number: E, flags: S })
          : { type: 17, number: E, flags: S };
      }),
      (p.prototype.consumeEscapedCodePoint = function () {
        var B = this.consumeCodePoint();
        if (bi(B)) {
          for (var E = Vt(B); bi(this.peekCodePoint(0)) && E.length < 6; )
            E += Vt(this.consumeCodePoint());
          Rn(this.peekCodePoint(0)) && this.consumeCodePoint();
          var S = parseInt(E, 16);
          return S === 0 || O0(S) || S > 1114111 ? wh : S;
        }
        return B === Ie ? wh : B;
      }),
      (p.prototype.consumeName = function () {
        for (var B = ""; ; ) {
          var E = this.consumeCodePoint();
          if (Mh(E)) B += Vt(E);
          else if (ri(E, this.peekCodePoint(0)))
            B += Vt(this.consumeEscapedCodePoint());
          else return (this.reconsumeCodePoint(E), B);
        }
      }),
      p
    );
  })(),
  qu = (function () {
    function p(B) {
      this._tokens = B;
    }
    return (
      (p.create = function (B) {
        var E = new ku();
        return (E.write(B), new p(E.read()));
      }),
      (p.parseValue = function (B) {
        return p.create(B).parseComponentValue();
      }),
      (p.parseValues = function (B) {
        return p.create(B).parseComponentValues();
      }),
      (p.prototype.parseComponentValue = function () {
        for (var B = this.consumeToken(); B.type === 31; )
          B = this.consumeToken();
        if (B.type === 32)
          throw new SyntaxError(
            "Error parsing CSS component value, unexpected EOF",
          );
        this.reconsumeToken(B);
        var E = this.consumeComponentValue();
        do B = this.consumeToken();
        while (B.type === 31);
        if (B.type === 32) return E;
        throw new SyntaxError(
          "Error parsing CSS component value, multiple values found when expecting only one",
        );
      }),
      (p.prototype.parseComponentValues = function () {
        for (var B = []; ; ) {
          var E = this.consumeComponentValue();
          if (E.type === 32) return B;
          (B.push(E), B.push());
        }
      }),
      (p.prototype.consumeComponentValue = function () {
        var B = this.consumeToken();
        switch (B.type) {
          case 11:
          case 28:
          case 2:
            return this.consumeSimpleBlock(B.type);
          case 19:
            return this.consumeFunction(B);
        }
        return B;
      }),
      (p.prototype.consumeSimpleBlock = function (B) {
        for (var E = { type: B, values: [] }, S = this.consumeToken(); ; ) {
          if (S.type === 32 || Am(S, B)) return E;
          (this.reconsumeToken(S),
            E.values.push(this.consumeComponentValue()),
            (S = this.consumeToken()));
        }
      }),
      (p.prototype.consumeFunction = function (B) {
        for (var E = { name: B.value, values: [], type: 18 }; ; ) {
          var S = this.consumeToken();
          if (S.type === 32 || S.type === 3) return E;
          (this.reconsumeToken(S), E.values.push(this.consumeComponentValue()));
        }
      }),
      (p.prototype.consumeToken = function () {
        var B = this._tokens.shift();
        return typeof B > "u" ? hA : B;
      }),
      (p.prototype.reconsumeToken = function (B) {
        this._tokens.unshift(B);
      }),
      p
    );
  })(),
  ln = function (p) {
    return p.type === 15;
  },
  cs = function (p) {
    return p.type === 17;
  },
  Rt = function (p) {
    return p.type === 20;
  },
  am = function (p) {
    return p.type === 0;
  },
  lA = function (p, B) {
    return Rt(p) && p.value === B;
  },
  _u = function (p) {
    return p.type !== 31;
  },
  hs = function (p) {
    return p.type !== 31 && p.type !== 4;
  },
  Ne = function (p) {
    var B = [],
      E = [];
    return (
      p.forEach(function (S) {
        if (S.type === 4) {
          if (E.length === 0)
            throw new Error("Error parsing function args, zero tokens for arg");
          (B.push(E), (E = []));
          return;
        }
        S.type !== 31 && E.push(S);
      }),
      E.length && B.push(E),
      B
    );
  },
  Am = function (p, B) {
    return (B === 11 && p.type === 12) || (B === 28 && p.type === 29)
      ? !0
      : B === 2 && p.type === 3;
  },
  pi = function (p) {
    return p.type === 17 || p.type === 15;
  },
  Yt = function (p) {
    return p.type === 16 || pi(p);
  },
  tf = function (p) {
    return p.length > 1 ? [p[0], p[1]] : [p[0]];
  },
  ee = { type: 17, number: 0, flags: hn },
  jA = { type: 16, number: 50, flags: hn },
  Ai = { type: 16, number: 100, flags: hn },
  Ls = function (p, B, E) {
    var S = p[0],
      P = p[1];
    return [Ot(S, B), Ot(typeof P < "u" ? P : S, E)];
  },
  Ot = function (p, B) {
    if (p.type === 16) return (p.number / 100) * B;
    if (ln(p))
      switch (p.unit) {
        case "rem":
        case "em":
          return 16 * p.number;
        case "px":
        default:
          return p.number;
      }
    return p.number;
  },
  ef = "deg",
  sf = "grad",
  nf = "rad",
  rf = "turn",
  Dr = {
    name: "angle",
    parse: function (p, B) {
      if (B.type === 15)
        switch (B.unit) {
          case ef:
            return (Math.PI * B.number) / 180;
          case sf:
            return (Math.PI / 200) * B.number;
          case nf:
            return B.number;
          case rf:
            return Math.PI * 2 * B.number;
        }
      throw new Error("Unsupported angle type");
    },
  },
  af = function (p) {
    return (
      p.type === 15 &&
      (p.unit === ef || p.unit === sf || p.unit === nf || p.unit === rf)
    );
  },
  Af = function (p) {
    var B = p
      .filter(Rt)
      .map(function (E) {
        return E.value;
      })
      .join(" ");
    switch (B) {
      case "to bottom right":
      case "to right bottom":
      case "left top":
      case "top left":
        return [ee, ee];
      case "to top":
      case "bottom":
        return ye(0);
      case "to bottom left":
      case "to left bottom":
      case "right top":
      case "top right":
        return [ee, Ai];
      case "to right":
      case "left":
        return ye(90);
      case "to top left":
      case "to left top":
      case "right bottom":
      case "bottom right":
        return [Ai, Ai];
      case "to bottom":
      case "top":
        return ye(180);
      case "to top right":
      case "to right top":
      case "left bottom":
      case "bottom left":
        return [Ai, ee];
      case "to left":
      case "right":
        return ye(270);
    }
    return 0;
  },
  ye = function (p) {
    return (Math.PI * p) / 180;
  },
  ui = {
    name: "color",
    parse: function (p, B) {
      if (B.type === 18) {
        var E = om[B.name];
        if (typeof E > "u")
          throw new Error(
            'Attempting to parse an unsupported color function "' +
              B.name +
              '"',
          );
        return E(p, B.values);
      }
      if (B.type === 5) {
        if (B.value.length === 3) {
          var S = B.value.substring(0, 1),
            P = B.value.substring(1, 2),
            L = B.value.substring(2, 3);
          return oi(
            parseInt(S + S, 16),
            parseInt(P + P, 16),
            parseInt(L + L, 16),
            1,
          );
        }
        if (B.value.length === 4) {
          var S = B.value.substring(0, 1),
            P = B.value.substring(1, 2),
            L = B.value.substring(2, 3),
            d = B.value.substring(3, 4);
          return oi(
            parseInt(S + S, 16),
            parseInt(P + P, 16),
            parseInt(L + L, 16),
            parseInt(d + d, 16) / 255,
          );
        }
        if (B.value.length === 6) {
          var S = B.value.substring(0, 2),
            P = B.value.substring(2, 4),
            L = B.value.substring(4, 6);
          return oi(parseInt(S, 16), parseInt(P, 16), parseInt(L, 16), 1);
        }
        if (B.value.length === 8) {
          var S = B.value.substring(0, 2),
            P = B.value.substring(2, 4),
            L = B.value.substring(4, 6),
            d = B.value.substring(6, 8);
          return oi(
            parseInt(S, 16),
            parseInt(P, 16),
            parseInt(L, 16),
            parseInt(d, 16) / 255,
          );
        }
      }
      if (B.type === 20) {
        var y = Ze[B.value.toUpperCase()];
        if (typeof y < "u") return y;
      }
      return Ze.TRANSPARENT;
    },
  },
  fi = function (p) {
    return (255 & p) === 0;
  },
  jt = function (p) {
    var B = 255 & p,
      E = 255 & (p >> 8),
      S = 255 & (p >> 16),
      P = 255 & (p >> 24);
    return B < 255
      ? "rgba(" + P + "," + S + "," + E + "," + B / 255 + ")"
      : "rgb(" + P + "," + S + "," + E + ")";
  },
  oi = function (p, B, E, S) {
    return (
      ((p << 24) | (B << 16) | (E << 8) | (Math.round(S * 255) << 0)) >>> 0
    );
  },
  Ph = function (p, B) {
    if (p.type === 17) return p.number;
    if (p.type === 16) {
      var E = B === 3 ? 1 : 255;
      return B === 3 ? (p.number / 100) * E : Math.round((p.number / 100) * E);
    }
    return 0;
  },
  Uh = function (p, B) {
    var E = B.filter(hs);
    if (E.length === 3) {
      var S = E.map(Ph),
        P = S[0],
        L = S[1],
        d = S[2];
      return oi(P, L, d, 1);
    }
    if (E.length === 4) {
      var y = E.map(Ph),
        P = y[0],
        L = y[1],
        d = y[2],
        t = y[3];
      return oi(P, L, d, t);
    }
    return 0;
  };
function fa(p, B, E) {
  return (
    E < 0 && (E += 1),
    E >= 1 && (E -= 1),
    E < 1 / 6
      ? (B - p) * E * 6 + p
      : E < 1 / 2
        ? B
        : E < 2 / 3
          ? (B - p) * 6 * (2 / 3 - E) + p
          : p
  );
}
var Rh = function (p, B) {
    var E = B.filter(hs),
      S = E[0],
      P = E[1],
      L = E[2],
      d = E[3],
      y = (S.type === 17 ? ye(S.number) : Dr.parse(p, S)) / (Math.PI * 2),
      t = Yt(P) ? P.number / 100 : 0,
      A = Yt(L) ? L.number / 100 : 0,
      c = typeof d < "u" && Yt(d) ? Ot(d, 1) : 1;
    if (t === 0) return oi(A * 255, A * 255, A * 255, 1);
    var a = A <= 0.5 ? A * (t + 1) : A + t - A * t,
      r = A * 2 - a,
      n = fa(r, a, y + 1 / 3),
      e = fa(r, a, y),
      s = fa(r, a, y - 1 / 3);
    return oi(n * 255, e * 255, s * 255, c);
  },
  om = { hsl: Rh, hsla: Rh, rgb: Uh, rgba: Uh },
  Xs = function (p, B) {
    return ui.parse(p, qu.create(B).parseComponentValue());
  },
  Ze = {
    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,
  },
  hm = {
    name: "background-clip",
    initialValue: "border-box",
    prefix: !1,
    type: 1,
    parse: function (p, B) {
      return B.map(function (E) {
        if (Rt(E))
          switch (E.value) {
            case "padding-box":
              return 1;
            case "content-box":
              return 2;
          }
        return 0;
      });
    },
  },
  lm = {
    name: "background-color",
    initialValue: "transparent",
    prefix: !1,
    type: 3,
    format: "color",
  },
  Hr = function (p, B) {
    var E = ui.parse(p, B[0]),
      S = B[1];
    return S && Yt(S) ? { color: E, stop: S } : { color: E, stop: null };
  },
  Lh = function (p, B) {
    var E = p[0],
      S = p[p.length - 1];
    (E.stop === null && (E.stop = ee), S.stop === null && (S.stop = Ai));
    for (var P = [], L = 0, d = 0; d < p.length; d++) {
      var y = p[d].stop;
      if (y !== null) {
        var t = Ot(y, B);
        (t > L ? P.push(t) : P.push(L), (L = t));
      } else P.push(null);
    }
    for (var A = null, d = 0; d < P.length; d++) {
      var c = P[d];
      if (c === null) A === null && (A = d);
      else if (A !== null) {
        for (
          var a = d - A, r = P[A - 1], n = (c - r) / (a + 1), e = 1;
          e <= a;
          e++
        )
          P[A + e - 1] = n * e;
        A = null;
      }
    }
    return p.map(function (s, u) {
      var i = s.color;
      return { color: i, stop: Math.max(Math.min(1, P[u] / B), 0) };
    });
  },
  um = function (p, B, E) {
    var S = B / 2,
      P = E / 2,
      L = Ot(p[0], B) - S,
      d = P - Ot(p[1], E);
    return (Math.atan2(d, L) + Math.PI * 2) % (Math.PI * 2);
  },
  fm = function (p, B, E) {
    var S = typeof p == "number" ? p : um(p, B, E),
      P = Math.abs(B * Math.sin(S)) + Math.abs(E * Math.cos(S)),
      L = B / 2,
      d = E / 2,
      y = P / 2,
      t = Math.sin(S - Math.PI / 2) * y,
      A = Math.cos(S - Math.PI / 2) * y;
    return [P, L - A, L + A, d - t, d + t];
  },
  Ee = function (p, B) {
    return Math.sqrt(p * p + B * B);
  },
  Ih = function (p, B, E, S, P) {
    var L = [
      [0, 0],
      [0, B],
      [p, 0],
      [p, B],
    ];
    return L.reduce(
      function (d, y) {
        var t = y[0],
          A = y[1],
          c = Ee(E - t, S - A);
        return (P ? c < d.optimumDistance : c > d.optimumDistance)
          ? { optimumCorner: y, optimumDistance: c }
          : d;
      },
      { optimumDistance: P ? 1 / 0 : -1 / 0, optimumCorner: null },
    ).optimumCorner;
  },
  dm = function (p, B, E, S, P) {
    var L = 0,
      d = 0;
    switch (p.size) {
      case 0:
        p.shape === 0
          ? (L = d =
              Math.min(
                Math.abs(B),
                Math.abs(B - S),
                Math.abs(E),
                Math.abs(E - P),
              ))
          : p.shape === 1 &&
            ((L = Math.min(Math.abs(B), Math.abs(B - S))),
            (d = Math.min(Math.abs(E), Math.abs(E - P))));
        break;
      case 2:
        if (p.shape === 0)
          L = d = Math.min(
            Ee(B, E),
            Ee(B, E - P),
            Ee(B - S, E),
            Ee(B - S, E - P),
          );
        else if (p.shape === 1) {
          var y =
              Math.min(Math.abs(E), Math.abs(E - P)) /
              Math.min(Math.abs(B), Math.abs(B - S)),
            t = Ih(S, P, B, E, !0),
            A = t[0],
            c = t[1];
          ((L = Ee(A - B, (c - E) / y)), (d = y * L));
        }
        break;
      case 1:
        p.shape === 0
          ? (L = d =
              Math.max(
                Math.abs(B),
                Math.abs(B - S),
                Math.abs(E),
                Math.abs(E - P),
              ))
          : p.shape === 1 &&
            ((L = Math.max(Math.abs(B), Math.abs(B - S))),
            (d = Math.max(Math.abs(E), Math.abs(E - P))));
        break;
      case 3:
        if (p.shape === 0)
          L = d = Math.max(
            Ee(B, E),
            Ee(B, E - P),
            Ee(B - S, E),
            Ee(B - S, E - P),
          );
        else if (p.shape === 1) {
          var y =
              Math.max(Math.abs(E), Math.abs(E - P)) /
              Math.max(Math.abs(B), Math.abs(B - S)),
            a = Ih(S, P, B, E, !1),
            A = a[0],
            c = a[1];
          ((L = Ee(A - B, (c - E) / y)), (d = y * L));
        }
        break;
    }
    return (
      Array.isArray(p.size) &&
        ((L = Ot(p.size[0], S)),
        (d = p.size.length === 2 ? Ot(p.size[1], P) : L)),
      [L, d]
    );
  },
  cm = function (p, B) {
    var E = ye(180),
      S = [];
    return (
      Ne(B).forEach(function (P, L) {
        if (L === 0) {
          var d = P[0];
          if (d.type === 20 && d.value === "to") {
            E = Af(P);
            return;
          } else if (af(d)) {
            E = Dr.parse(p, d);
            return;
          }
        }
        var y = Hr(p, P);
        S.push(y);
      }),
      { angle: E, stops: S, type: 1 }
    );
  },
  On = function (p, B) {
    var E = ye(180),
      S = [];
    return (
      Ne(B).forEach(function (P, L) {
        if (L === 0) {
          var d = P[0];
          if (
            d.type === 20 &&
            ["top", "left", "right", "bottom"].indexOf(d.value) !== -1
          ) {
            E = Af(P);
            return;
          } else if (af(d)) {
            E = (Dr.parse(p, d) + ye(270)) % ye(360);
            return;
          }
        }
        var y = Hr(p, P);
        S.push(y);
      }),
      { angle: E, stops: S, type: 1 }
    );
  },
  vm = function (p, B) {
    var E = ye(180),
      S = [],
      P = 1,
      L = 0,
      d = 3,
      y = [];
    return (
      Ne(B).forEach(function (t, A) {
        var c = t[0];
        if (A === 0) {
          if (Rt(c) && c.value === "linear") {
            P = 1;
            return;
          } else if (Rt(c) && c.value === "radial") {
            P = 2;
            return;
          }
        }
        if (c.type === 18) {
          if (c.name === "from") {
            var a = ui.parse(p, c.values[0]);
            S.push({ stop: ee, color: a });
          } else if (c.name === "to") {
            var a = ui.parse(p, c.values[0]);
            S.push({ stop: Ai, color: a });
          } else if (c.name === "color-stop") {
            var r = c.values.filter(hs);
            if (r.length === 2) {
              var a = ui.parse(p, r[1]),
                n = r[0];
              cs(n) &&
                S.push({
                  stop: { type: 16, number: n.number * 100, flags: n.flags },
                  color: a,
                });
            }
          }
        }
      }),
      P === 1
        ? { angle: (E + ye(180)) % ye(360), stops: S, type: P }
        : { size: d, shape: L, stops: S, position: y, type: P }
    );
  },
  of = "closest-side",
  hf = "farthest-side",
  lf = "closest-corner",
  uf = "farthest-corner",
  ff = "circle",
  df = "ellipse",
  cf = "cover",
  vf = "contain",
  pm = function (p, B) {
    var E = 0,
      S = 3,
      P = [],
      L = [];
    return (
      Ne(B).forEach(function (d, y) {
        var t = !0;
        if (y === 0) {
          var A = !1;
          t = d.reduce(function (a, r) {
            if (A)
              if (Rt(r))
                switch (r.value) {
                  case "center":
                    return (L.push(jA), a);
                  case "top":
                  case "left":
                    return (L.push(ee), a);
                  case "right":
                  case "bottom":
                    return (L.push(Ai), a);
                }
              else (Yt(r) || pi(r)) && L.push(r);
            else if (Rt(r))
              switch (r.value) {
                case ff:
                  return ((E = 0), !1);
                case df:
                  return ((E = 1), !1);
                case "at":
                  return ((A = !0), !1);
                case of:
                  return ((S = 0), !1);
                case cf:
                case hf:
                  return ((S = 1), !1);
                case vf:
                case lf:
                  return ((S = 2), !1);
                case uf:
                  return ((S = 3), !1);
              }
            else if (pi(r) || Yt(r))
              return (Array.isArray(S) || (S = []), S.push(r), !1);
            return a;
          }, t);
        }
        if (t) {
          var c = Hr(p, d);
          P.push(c);
        }
      }),
      { size: S, shape: E, stops: P, position: L, type: 2 }
    );
  },
  Qn = function (p, B) {
    var E = 0,
      S = 3,
      P = [],
      L = [];
    return (
      Ne(B).forEach(function (d, y) {
        var t = !0;
        if (
          (y === 0
            ? (t = d.reduce(function (c, a) {
                if (Rt(a))
                  switch (a.value) {
                    case "center":
                      return (L.push(jA), !1);
                    case "top":
                    case "left":
                      return (L.push(ee), !1);
                    case "right":
                    case "bottom":
                      return (L.push(Ai), !1);
                  }
                else if (Yt(a) || pi(a)) return (L.push(a), !1);
                return c;
              }, t))
            : y === 1 &&
              (t = d.reduce(function (c, a) {
                if (Rt(a))
                  switch (a.value) {
                    case ff:
                      return ((E = 0), !1);
                    case df:
                      return ((E = 1), !1);
                    case vf:
                    case of:
                      return ((S = 0), !1);
                    case hf:
                      return ((S = 1), !1);
                    case lf:
                      return ((S = 2), !1);
                    case cf:
                    case uf:
                      return ((S = 3), !1);
                  }
                else if (pi(a) || Yt(a))
                  return (Array.isArray(S) || (S = []), S.push(a), !1);
                return c;
              }, t)),
          t)
        ) {
          var A = Hr(p, d);
          P.push(A);
        }
      }),
      { size: S, shape: E, stops: P, position: L, type: 2 }
    );
  },
  gm = function (p) {
    return p.type === 1;
  },
  mm = function (p) {
    return p.type === 2;
  },
  kA = {
    name: "image",
    parse: function (p, B) {
      if (B.type === 22) {
        var E = { url: B.value, type: 0 };
        return (p.cache.addImage(B.value), E);
      }
      if (B.type === 18) {
        var S = pf[B.name];
        if (typeof S > "u")
          throw new Error(
            'Attempting to parse an unsupported image function "' +
              B.name +
              '"',
          );
        return S(p, B.values);
      }
      throw new Error("Unsupported image type " + B.type);
    },
  };
function xm(p) {
  return (
    !(p.type === 20 && p.value === "none") && (p.type !== 18 || !!pf[p.name])
  );
}
var pf = {
    "linear-gradient": cm,
    "-moz-linear-gradient": On,
    "-ms-linear-gradient": On,
    "-o-linear-gradient": On,
    "-webkit-linear-gradient": On,
    "radial-gradient": pm,
    "-moz-radial-gradient": Qn,
    "-ms-radial-gradient": Qn,
    "-o-radial-gradient": Qn,
    "-webkit-radial-gradient": Qn,
    "-webkit-gradient": vm,
  },
  Bm = {
    name: "background-image",
    initialValue: "none",
    type: 1,
    prefix: !1,
    parse: function (p, B) {
      if (B.length === 0) return [];
      var E = B[0];
      return E.type === 20 && E.value === "none"
        ? []
        : B.filter(function (S) {
            return hs(S) && xm(S);
          }).map(function (S) {
            return kA.parse(p, S);
          });
    },
  },
  ym = {
    name: "background-origin",
    initialValue: "border-box",
    prefix: !1,
    type: 1,
    parse: function (p, B) {
      return B.map(function (E) {
        if (Rt(E))
          switch (E.value) {
            case "padding-box":
              return 1;
            case "content-box":
              return 2;
          }
        return 0;
      });
    },
  },
  Cm = {
    name: "background-position",
    initialValue: "0% 0%",
    type: 1,
    prefix: !1,
    parse: function (p, B) {
      return Ne(B)
        .map(function (E) {
          return E.filter(Yt);
        })
        .map(tf);
    },
  },
  Tm = {
    name: "background-repeat",
    initialValue: "repeat",
    prefix: !1,
    type: 1,
    parse: function (p, B) {
      return Ne(B)
        .map(function (E) {
          return E.filter(Rt)
            .map(function (S) {
              return S.value;
            })
            .join(" ");
        })
        .map(Em);
    },
  },
  Em = function (p) {
    switch (p) {
      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;
    }
  },
  es;
(function (p) {
  ((p.AUTO = "auto"), (p.CONTAIN = "contain"), (p.COVER = "cover"));
})(es || (es = {}));
var Fm = {
    name: "background-size",
    initialValue: "0",
    prefix: !1,
    type: 1,
    parse: function (p, B) {
      return Ne(B).map(function (E) {
        return E.filter(Sm);
      });
    },
  },
  Sm = function (p) {
    return Rt(p) || Yt(p);
  },
  Nr = function (p) {
    return {
      name: "border-" + p + "-color",
      initialValue: "transparent",
      prefix: !1,
      type: 3,
      format: "color",
    };
  },
  wm = Nr("top"),
  Mm = Nr("right"),
  Pm = Nr("bottom"),
  Um = Nr("left"),
  Gr = function (p) {
    return {
      name: "border-radius-" + p,
      initialValue: "0 0",
      prefix: !1,
      type: 1,
      parse: function (B, E) {
        return tf(E.filter(Yt));
      },
    };
  },
  Rm = Gr("top-left"),
  Lm = Gr("top-right"),
  Im = Gr("bottom-right"),
  Om = Gr("bottom-left"),
  br = function (p) {
    return {
      name: "border-" + p + "-style",
      initialValue: "solid",
      prefix: !1,
      type: 2,
      parse: function (B, E) {
        switch (E) {
          case "none":
            return 0;
          case "dashed":
            return 2;
          case "dotted":
            return 3;
          case "double":
            return 4;
        }
        return 1;
      },
    };
  },
  Qm = br("top"),
  Dm = br("right"),
  Hm = br("bottom"),
  Nm = br("left"),
  Vr = function (p) {
    return {
      name: "border-" + p + "-width",
      initialValue: "0",
      type: 0,
      prefix: !1,
      parse: function (B, E) {
        return ln(E) ? E.number : 0;
      },
    };
  },
  Gm = Vr("top"),
  bm = Vr("right"),
  Vm = Vr("bottom"),
  Xm = Vr("left"),
  Ym = {
    name: "color",
    initialValue: "transparent",
    prefix: !1,
    type: 3,
    format: "color",
  },
  zm = {
    name: "direction",
    initialValue: "ltr",
    prefix: !1,
    type: 2,
    parse: function (p, B) {
      switch (B) {
        case "rtl":
          return 1;
        case "ltr":
        default:
          return 0;
      }
    },
  },
  Wm = {
    name: "display",
    initialValue: "inline-block",
    prefix: !1,
    type: 1,
    parse: function (p, B) {
      return B.filter(Rt).reduce(function (E, S) {
        return E | Km(S.value);
      }, 0);
    },
  },
  Km = function (p) {
    switch (p) {
      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;
  },
  Jm = {
    name: "float",
    initialValue: "none",
    prefix: !1,
    type: 2,
    parse: function (p, B) {
      switch (B) {
        case "left":
          return 1;
        case "right":
          return 2;
        case "inline-start":
          return 3;
        case "inline-end":
          return 4;
      }
      return 0;
    },
  },
  Zm = {
    name: "letter-spacing",
    initialValue: "0",
    prefix: !1,
    type: 0,
    parse: function (p, B) {
      return B.type === 20 && B.value === "normal"
        ? 0
        : B.type === 17 || B.type === 15
          ? B.number
          : 0;
    },
  },
  lr;
(function (p) {
  ((p.NORMAL = "normal"), (p.STRICT = "strict"));
})(lr || (lr = {}));
var $m = {
    name: "line-break",
    initialValue: "normal",
    prefix: !1,
    type: 2,
    parse: function (p, B) {
      switch (B) {
        case "strict":
          return lr.STRICT;
        case "normal":
        default:
          return lr.NORMAL;
      }
    },
  },
  jm = { name: "line-height", initialValue: "normal", prefix: !1, type: 4 },
  Oh = function (p, B) {
    return Rt(p) && p.value === "normal"
      ? 1.2 * B
      : p.type === 17
        ? B * p.number
        : Yt(p)
          ? Ot(p, B)
          : B;
  },
  km = {
    name: "list-style-image",
    initialValue: "none",
    type: 0,
    prefix: !1,
    parse: function (p, B) {
      return B.type === 20 && B.value === "none" ? null : kA.parse(p, B);
    },
  },
  qm = {
    name: "list-style-position",
    initialValue: "outside",
    prefix: !1,
    type: 2,
    parse: function (p, B) {
      switch (B) {
        case "inside":
          return 0;
        case "outside":
        default:
          return 1;
      }
    },
  },
  uA = {
    name: "list-style-type",
    initialValue: "none",
    prefix: !1,
    type: 2,
    parse: function (p, B) {
      switch (B) {
        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;
      }
    },
  },
  Xr = function (p) {
    return { name: "margin-" + p, initialValue: "0", prefix: !1, type: 4 };
  },
  _m = Xr("top"),
  tx = Xr("right"),
  ex = Xr("bottom"),
  ix = Xr("left"),
  sx = {
    name: "overflow",
    initialValue: "visible",
    prefix: !1,
    type: 1,
    parse: function (p, B) {
      return B.filter(Rt).map(function (E) {
        switch (E.value) {
          case "hidden":
            return 1;
          case "scroll":
            return 2;
          case "clip":
            return 3;
          case "auto":
            return 4;
          case "visible":
          default:
            return 0;
        }
      });
    },
  },
  nx = {
    name: "overflow-wrap",
    initialValue: "normal",
    prefix: !1,
    type: 2,
    parse: function (p, B) {
      switch (B) {
        case "break-word":
          return "break-word";
        case "normal":
        default:
          return "normal";
      }
    },
  },
  Yr = function (p) {
    return {
      name: "padding-" + p,
      initialValue: "0",
      prefix: !1,
      type: 3,
      format: "length-percentage",
    };
  },
  rx = Yr("top"),
  ax = Yr("right"),
  Ax = Yr("bottom"),
  ox = Yr("left"),
  hx = {
    name: "text-align",
    initialValue: "left",
    prefix: !1,
    type: 2,
    parse: function (p, B) {
      switch (B) {
        case "right":
          return 2;
        case "center":
        case "justify":
          return 1;
        case "left":
        default:
          return 0;
      }
    },
  },
  lx = {
    name: "position",
    initialValue: "static",
    prefix: !1,
    type: 2,
    parse: function (p, B) {
      switch (B) {
        case "relative":
          return 1;
        case "absolute":
          return 2;
        case "fixed":
          return 3;
        case "sticky":
          return 4;
      }
      return 0;
    },
  },
  ux = {
    name: "text-shadow",
    initialValue: "none",
    type: 1,
    prefix: !1,
    parse: function (p, B) {
      return B.length === 1 && lA(B[0], "none")
        ? []
        : Ne(B).map(function (E) {
            for (
              var S = {
                  color: Ze.TRANSPARENT,
                  offsetX: ee,
                  offsetY: ee,
                  blur: ee,
                },
                P = 0,
                L = 0;
              L < E.length;
              L++
            ) {
              var d = E[L];
              pi(d)
                ? (P === 0
                    ? (S.offsetX = d)
                    : P === 1
                      ? (S.offsetY = d)
                      : (S.blur = d),
                  P++)
                : (S.color = ui.parse(p, d));
            }
            return S;
          });
    },
  },
  fx = {
    name: "text-transform",
    initialValue: "none",
    prefix: !1,
    type: 2,
    parse: function (p, B) {
      switch (B) {
        case "uppercase":
          return 2;
        case "lowercase":
          return 1;
        case "capitalize":
          return 3;
      }
      return 0;
    },
  },
  dx = {
    name: "transform",
    initialValue: "none",
    prefix: !0,
    type: 0,
    parse: function (p, B) {
      if (B.type === 20 && B.value === "none") return null;
      if (B.type === 18) {
        var E = px[B.name];
        if (typeof E > "u")
          throw new Error(
            'Attempting to parse an unsupported transform function "' +
              B.name +
              '"',
          );
        return E(B.values);
      }
      return null;
    },
  },
  cx = function (p) {
    var B = p
      .filter(function (E) {
        return E.type === 17;
      })
      .map(function (E) {
        return E.number;
      });
    return B.length === 6 ? B : null;
  },
  vx = function (p) {
    var B = p
        .filter(function (t) {
          return t.type === 17;
        })
        .map(function (t) {
          return t.number;
        }),
      E = B[0],
      S = B[1];
    (B[2], B[3]);
    var P = B[4],
      L = B[5];
    (B[6], B[7], B[8], B[9], B[10], B[11]);
    var d = B[12],
      y = B[13];
    return (B[14], B[15], B.length === 16 ? [E, S, P, L, d, y] : null);
  },
  px = { matrix: cx, matrix3d: vx },
  Qh = { type: 16, number: 50, flags: hn },
  gx = [Qh, Qh],
  mx = {
    name: "transform-origin",
    initialValue: "50% 50%",
    prefix: !0,
    type: 1,
    parse: function (p, B) {
      var E = B.filter(Yt);
      return E.length !== 2 ? gx : [E[0], E[1]];
    },
  },
  xx = {
    name: "visible",
    initialValue: "none",
    prefix: !1,
    type: 2,
    parse: function (p, B) {
      switch (B) {
        case "hidden":
          return 1;
        case "collapse":
          return 2;
        case "visible":
        default:
          return 0;
      }
    },
  },
  Ys;
(function (p) {
  ((p.NORMAL = "normal"),
    (p.BREAK_ALL = "break-all"),
    (p.KEEP_ALL = "keep-all"));
})(Ys || (Ys = {}));
var Bx = {
    name: "word-break",
    initialValue: "normal",
    prefix: !1,
    type: 2,
    parse: function (p, B) {
      switch (B) {
        case "break-all":
          return Ys.BREAK_ALL;
        case "keep-all":
          return Ys.KEEP_ALL;
        case "normal":
        default:
          return Ys.NORMAL;
      }
    },
  },
  yx = {
    name: "z-index",
    initialValue: "auto",
    prefix: !1,
    type: 0,
    parse: function (p, B) {
      if (B.type === 20) return { auto: !0, order: 0 };
      if (cs(B)) return { auto: !1, order: B.number };
      throw new Error("Invalid z-index number parsed");
    },
  },
  gf = {
    name: "time",
    parse: function (p, B) {
      if (B.type === 15)
        switch (B.unit.toLowerCase()) {
          case "s":
            return 1e3 * B.number;
          case "ms":
            return B.number;
        }
      throw new Error("Unsupported time type");
    },
  },
  Cx = {
    name: "opacity",
    initialValue: "1",
    type: 0,
    prefix: !1,
    parse: function (p, B) {
      return cs(B) ? B.number : 1;
    },
  },
  Tx = {
    name: "text-decoration-color",
    initialValue: "transparent",
    prefix: !1,
    type: 3,
    format: "color",
  },
  Ex = {
    name: "text-decoration-line",
    initialValue: "none",
    prefix: !1,
    type: 1,
    parse: function (p, B) {
      return B.filter(Rt)
        .map(function (E) {
          switch (E.value) {
            case "underline":
              return 1;
            case "overline":
              return 2;
            case "line-through":
              return 3;
            case "none":
              return 4;
          }
          return 0;
        })
        .filter(function (E) {
          return E !== 0;
        });
    },
  },
  Fx = {
    name: "font-family",
    initialValue: "",
    prefix: !1,
    type: 1,
    parse: function (p, B) {
      var E = [],
        S = [];
      return (
        B.forEach(function (P) {
          switch (P.type) {
            case 20:
            case 0:
              E.push(P.value);
              break;
            case 17:
              E.push(P.number.toString());
              break;
            case 4:
              (S.push(E.join(" ")), (E.length = 0));
              break;
          }
        }),
        E.length && S.push(E.join(" ")),
        S.map(function (P) {
          return P.indexOf(" ") === -1 ? P : "'" + P + "'";
        })
      );
    },
  },
  Sx = {
    name: "font-size",
    initialValue: "0",
    prefix: !1,
    type: 3,
    format: "length",
  },
  wx = {
    name: "font-weight",
    initialValue: "normal",
    type: 0,
    prefix: !1,
    parse: function (p, B) {
      if (cs(B)) return B.number;
      if (Rt(B))
        switch (B.value) {
          case "bold":
            return 700;
          case "normal":
          default:
            return 400;
        }
      return 400;
    },
  },
  Mx = {
    name: "font-variant",
    initialValue: "none",
    type: 1,
    prefix: !1,
    parse: function (p, B) {
      return B.filter(Rt).map(function (E) {
        return E.value;
      });
    },
  },
  Px = {
    name: "font-style",
    initialValue: "normal",
    prefix: !1,
    type: 2,
    parse: function (p, B) {
      switch (B) {
        case "oblique":
          return "oblique";
        case "italic":
          return "italic";
        case "normal":
        default:
          return "normal";
      }
    },
  },
  Kt = function (p, B) {
    return (p & B) !== 0;
  },
  Ux = {
    name: "content",
    initialValue: "none",
    type: 1,
    prefix: !1,
    parse: function (p, B) {
      if (B.length === 0) return [];
      var E = B[0];
      return E.type === 20 && E.value === "none" ? [] : B;
    },
  },
  Rx = {
    name: "counter-increment",
    initialValue: "none",
    prefix: !0,
    type: 1,
    parse: function (p, B) {
      if (B.length === 0) return null;
      var E = B[0];
      if (E.type === 20 && E.value === "none") return null;
      for (var S = [], P = B.filter(_u), L = 0; L < P.length; L++) {
        var d = P[L],
          y = P[L + 1];
        if (d.type === 20) {
          var t = y && cs(y) ? y.number : 1;
          S.push({ counter: d.value, increment: t });
        }
      }
      return S;
    },
  },
  Lx = {
    name: "counter-reset",
    initialValue: "none",
    prefix: !0,
    type: 1,
    parse: function (p, B) {
      if (B.length === 0) return [];
      for (var E = [], S = B.filter(_u), P = 0; P < S.length; P++) {
        var L = S[P],
          d = S[P + 1];
        if (Rt(L) && L.value !== "none") {
          var y = d && cs(d) ? d.number : 0;
          E.push({ counter: L.value, reset: y });
        }
      }
      return E;
    },
  },
  Ix = {
    name: "duration",
    initialValue: "0s",
    prefix: !1,
    type: 1,
    parse: function (p, B) {
      return B.filter(ln).map(function (E) {
        return gf.parse(p, E);
      });
    },
  },
  Ox = {
    name: "quotes",
    initialValue: "none",
    prefix: !0,
    type: 1,
    parse: function (p, B) {
      if (B.length === 0) return null;
      var E = B[0];
      if (E.type === 20 && E.value === "none") return null;
      var S = [],
        P = B.filter(am);
      if (P.length % 2 !== 0) return null;
      for (var L = 0; L < P.length; L += 2) {
        var d = P[L].value,
          y = P[L + 1].value;
        S.push({ open: d, close: y });
      }
      return S;
    },
  },
  Dh = function (p, B, E) {
    if (!p) return "";
    var S = p[Math.min(B, p.length - 1)];
    return S ? (E ? S.open : S.close) : "";
  },
  Qx = {
    name: "box-shadow",
    initialValue: "none",
    type: 1,
    prefix: !1,
    parse: function (p, B) {
      return B.length === 1 && lA(B[0], "none")
        ? []
        : Ne(B).map(function (E) {
            for (
              var S = {
                  color: 255,
                  offsetX: ee,
                  offsetY: ee,
                  blur: ee,
                  spread: ee,
                  inset: !1,
                },
                P = 0,
                L = 0;
              L < E.length;
              L++
            ) {
              var d = E[L];
              lA(d, "inset")
                ? (S.inset = !0)
                : pi(d)
                  ? (P === 0
                      ? (S.offsetX = d)
                      : P === 1
                        ? (S.offsetY = d)
                        : P === 2
                          ? (S.blur = d)
                          : (S.spread = d),
                    P++)
                  : (S.color = ui.parse(p, d));
            }
            return S;
          });
    },
  },
  Dx = {
    name: "paint-order",
    initialValue: "normal",
    prefix: !1,
    type: 1,
    parse: function (p, B) {
      var E = [0, 1, 2],
        S = [];
      return (
        B.filter(Rt).forEach(function (P) {
          switch (P.value) {
            case "stroke":
              S.push(1);
              break;
            case "fill":
              S.push(0);
              break;
            case "markers":
              S.push(2);
              break;
          }
        }),
        E.forEach(function (P) {
          S.indexOf(P) === -1 && S.push(P);
        }),
        S
      );
    },
  },
  Hx = {
    name: "-webkit-text-stroke-color",
    initialValue: "currentcolor",
    prefix: !1,
    type: 3,
    format: "color",
  },
  Nx = {
    name: "-webkit-text-stroke-width",
    initialValue: "0",
    type: 0,
    prefix: !1,
    parse: function (p, B) {
      return ln(B) ? B.number : 0;
    },
  },
  Gx = (function () {
    function p(B, E) {
      var S, P;
      ((this.animationDuration = ft(B, Ix, E.animationDuration)),
        (this.backgroundClip = ft(B, hm, E.backgroundClip)),
        (this.backgroundColor = ft(B, lm, E.backgroundColor)),
        (this.backgroundImage = ft(B, Bm, E.backgroundImage)),
        (this.backgroundOrigin = ft(B, ym, E.backgroundOrigin)),
        (this.backgroundPosition = ft(B, Cm, E.backgroundPosition)),
        (this.backgroundRepeat = ft(B, Tm, E.backgroundRepeat)),
        (this.backgroundSize = ft(B, Fm, E.backgroundSize)),
        (this.borderTopColor = ft(B, wm, E.borderTopColor)),
        (this.borderRightColor = ft(B, Mm, E.borderRightColor)),
        (this.borderBottomColor = ft(B, Pm, E.borderBottomColor)),
        (this.borderLeftColor = ft(B, Um, E.borderLeftColor)),
        (this.borderTopLeftRadius = ft(B, Rm, E.borderTopLeftRadius)),
        (this.borderTopRightRadius = ft(B, Lm, E.borderTopRightRadius)),
        (this.borderBottomRightRadius = ft(B, Im, E.borderBottomRightRadius)),
        (this.borderBottomLeftRadius = ft(B, Om, E.borderBottomLeftRadius)),
        (this.borderTopStyle = ft(B, Qm, E.borderTopStyle)),
        (this.borderRightStyle = ft(B, Dm, E.borderRightStyle)),
        (this.borderBottomStyle = ft(B, Hm, E.borderBottomStyle)),
        (this.borderLeftStyle = ft(B, Nm, E.borderLeftStyle)),
        (this.borderTopWidth = ft(B, Gm, E.borderTopWidth)),
        (this.borderRightWidth = ft(B, bm, E.borderRightWidth)),
        (this.borderBottomWidth = ft(B, Vm, E.borderBottomWidth)),
        (this.borderLeftWidth = ft(B, Xm, E.borderLeftWidth)),
        (this.boxShadow = ft(B, Qx, E.boxShadow)),
        (this.color = ft(B, Ym, E.color)),
        (this.direction = ft(B, zm, E.direction)),
        (this.display = ft(B, Wm, E.display)),
        (this.float = ft(B, Jm, E.cssFloat)),
        (this.fontFamily = ft(B, Fx, E.fontFamily)),
        (this.fontSize = ft(B, Sx, E.fontSize)),
        (this.fontStyle = ft(B, Px, E.fontStyle)),
        (this.fontVariant = ft(B, Mx, E.fontVariant)),
        (this.fontWeight = ft(B, wx, E.fontWeight)),
        (this.letterSpacing = ft(B, Zm, E.letterSpacing)),
        (this.lineBreak = ft(B, $m, E.lineBreak)),
        (this.lineHeight = ft(B, jm, E.lineHeight)),
        (this.listStyleImage = ft(B, km, E.listStyleImage)),
        (this.listStylePosition = ft(B, qm, E.listStylePosition)),
        (this.listStyleType = ft(B, uA, E.listStyleType)),
        (this.marginTop = ft(B, _m, E.marginTop)),
        (this.marginRight = ft(B, tx, E.marginRight)),
        (this.marginBottom = ft(B, ex, E.marginBottom)),
        (this.marginLeft = ft(B, ix, E.marginLeft)),
        (this.opacity = ft(B, Cx, E.opacity)));
      var L = ft(B, sx, E.overflow);
      ((this.overflowX = L[0]),
        (this.overflowY = L[L.length > 1 ? 1 : 0]),
        (this.overflowWrap = ft(B, nx, E.overflowWrap)),
        (this.paddingTop = ft(B, rx, E.paddingTop)),
        (this.paddingRight = ft(B, ax, E.paddingRight)),
        (this.paddingBottom = ft(B, Ax, E.paddingBottom)),
        (this.paddingLeft = ft(B, ox, E.paddingLeft)),
        (this.paintOrder = ft(B, Dx, E.paintOrder)),
        (this.position = ft(B, lx, E.position)),
        (this.textAlign = ft(B, hx, E.textAlign)),
        (this.textDecorationColor = ft(
          B,
          Tx,
          (S = E.textDecorationColor) !== null && S !== void 0 ? S : E.color,
        )),
        (this.textDecorationLine = ft(
          B,
          Ex,
          (P = E.textDecorationLine) !== null && P !== void 0
            ? P
            : E.textDecoration,
        )),
        (this.textShadow = ft(B, ux, E.textShadow)),
        (this.textTransform = ft(B, fx, E.textTransform)),
        (this.transform = ft(B, dx, E.transform)),
        (this.transformOrigin = ft(B, mx, E.transformOrigin)),
        (this.visibility = ft(B, xx, E.visibility)),
        (this.webkitTextStrokeColor = ft(B, Hx, E.webkitTextStrokeColor)),
        (this.webkitTextStrokeWidth = ft(B, Nx, E.webkitTextStrokeWidth)),
        (this.wordBreak = ft(B, Bx, E.wordBreak)),
        (this.zIndex = ft(B, yx, E.zIndex)));
    }
    return (
      (p.prototype.isVisible = function () {
        return this.display > 0 && this.opacity > 0 && this.visibility === 0;
      }),
      (p.prototype.isTransparent = function () {
        return fi(this.backgroundColor);
      }),
      (p.prototype.isTransformed = function () {
        return this.transform !== null;
      }),
      (p.prototype.isPositioned = function () {
        return this.position !== 0;
      }),
      (p.prototype.isPositionedWithZIndex = function () {
        return this.isPositioned() && !this.zIndex.auto;
      }),
      (p.prototype.isFloating = function () {
        return this.float !== 0;
      }),
      (p.prototype.isInlineLevel = function () {
        return (
          Kt(this.display, 4) ||
          Kt(this.display, 33554432) ||
          Kt(this.display, 268435456) ||
          Kt(this.display, 536870912) ||
          Kt(this.display, 67108864) ||
          Kt(this.display, 134217728)
        );
      }),
      p
    );
  })(),
  bx = (function () {
    function p(B, E) {
      ((this.content = ft(B, Ux, E.content)),
        (this.quotes = ft(B, Ox, E.quotes)));
    }
    return p;
  })(),
  Hh = (function () {
    function p(B, E) {
      ((this.counterIncrement = ft(B, Rx, E.counterIncrement)),
        (this.counterReset = ft(B, Lx, E.counterReset)));
    }
    return p;
  })(),
  ft = function (p, B, E) {
    var S = new ku(),
      P = E !== null && typeof E < "u" ? E.toString() : B.initialValue;
    S.write(P);
    var L = new qu(S.read());
    switch (B.type) {
      case 2:
        var d = L.parseComponentValue();
        return B.parse(p, Rt(d) ? d.value : B.initialValue);
      case 0:
        return B.parse(p, L.parseComponentValue());
      case 1:
        return B.parse(p, L.parseComponentValues());
      case 4:
        return L.parseComponentValue();
      case 3:
        switch (B.format) {
          case "angle":
            return Dr.parse(p, L.parseComponentValue());
          case "color":
            return ui.parse(p, L.parseComponentValue());
          case "image":
            return kA.parse(p, L.parseComponentValue());
          case "length":
            var y = L.parseComponentValue();
            return pi(y) ? y : ee;
          case "length-percentage":
            var t = L.parseComponentValue();
            return Yt(t) ? t : ee;
          case "time":
            return gf.parse(p, L.parseComponentValue());
        }
        break;
    }
  },
  Vx = "data-html2canvas-debug",
  Xx = function (p) {
    var B = p.getAttribute(Vx);
    switch (B) {
      case "all":
        return 1;
      case "clone":
        return 2;
      case "parse":
        return 3;
      case "render":
        return 4;
      default:
        return 0;
    }
  },
  fA = function (p, B) {
    var E = Xx(p);
    return E === 1 || B === E;
  },
  Ge = (function () {
    function p(B, E) {
      if (
        ((this.context = B),
        (this.textNodes = []),
        (this.elements = []),
        (this.flags = 0),
        fA(E, 3))
      )
        debugger;
      ((this.styles = new Gx(B, window.getComputedStyle(E, null))),
        vA(E) &&
          (this.styles.animationDuration.some(function (S) {
            return S > 0;
          }) && (E.style.animationDuration = "0s"),
          this.styles.transform !== null && (E.style.transform = "none")),
        (this.bounds = Or(this.context, E)),
        fA(E, 4) && (this.flags |= 16));
    }
    return p;
  })(),
  Yx =
    " ",
  Nh = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
  Is = typeof Uint8Array > "u" ? [] : new Uint8Array(256);
for (var Dn = 0; Dn < Nh.length; Dn++) Is[Nh.charCodeAt(Dn)] = Dn;
var zx = function (p) {
    var B = p.length * 0.75,
      E = p.length,
      S,
      P = 0,
      L,
      d,
      y,
      t;
    p[p.length - 1] === "=" && (B--, p[p.length - 2] === "=" && B--);
    var A =
        typeof ArrayBuffer < "u" &&
        typeof Uint8Array < "u" &&
        typeof Uint8Array.prototype.slice < "u"
          ? new ArrayBuffer(B)
          : new Array(B),
      c = Array.isArray(A) ? A : new Uint8Array(A);
    for (S = 0; S < E; S += 4)
      ((L = Is[p.charCodeAt(S)]),
        (d = Is[p.charCodeAt(S + 1)]),
        (y = Is[p.charCodeAt(S + 2)]),
        (t = Is[p.charCodeAt(S + 3)]),
        (c[P++] = (L << 2) | (d >> 4)),
        (c[P++] = ((d & 15) << 4) | (y >> 2)),
        (c[P++] = ((y & 3) << 6) | (t & 63)));
    return A;
  },
  Wx = function (p) {
    for (var B = p.length, E = [], S = 0; S < B; S += 2)
      E.push((p[S + 1] << 8) | p[S]);
    return E;
  },
  Kx = function (p) {
    for (var B = p.length, E = [], S = 0; S < B; S += 4)
      E.push((p[S + 3] << 24) | (p[S + 2] << 16) | (p[S + 1] << 8) | p[S]);
    return E;
  },
  Oi = 5,
  qA = 11,
  da = 2,
  Jx = qA - Oi,
  mf = 65536 >> Oi,
  Zx = 1 << Oi,
  ca = Zx - 1,
  $x = 1024 >> Oi,
  jx = mf + $x,
  kx = jx,
  qx = 32,
  _x = kx + qx,
  t1 = 65536 >> qA,
  e1 = 1 << Jx,
  i1 = e1 - 1,
  Gh = function (p, B, E) {
    return p.slice
      ? p.slice(B, E)
      : new Uint16Array(Array.prototype.slice.call(p, B, E));
  },
  s1 = function (p, B, E) {
    return p.slice
      ? p.slice(B, E)
      : new Uint32Array(Array.prototype.slice.call(p, B, E));
  },
  n1 = function (p, B) {
    var E = zx(p),
      S = Array.isArray(E) ? Kx(E) : new Uint32Array(E),
      P = Array.isArray(E) ? Wx(E) : new Uint16Array(E),
      L = 24,
      d = Gh(P, L / 2, S[4] / 2),
      y = S[5] === 2 ? Gh(P, (L + S[4]) / 2) : s1(S, Math.ceil((L + S[4]) / 4));
    return new r1(S[0], S[1], S[2], S[3], d, y);
  },
  r1 = (function () {
    function p(B, E, S, P, L, d) {
      ((this.initialValue = B),
        (this.errorValue = E),
        (this.highStart = S),
        (this.highValueIndex = P),
        (this.index = L),
        (this.data = d));
    }
    return (
      (p.prototype.get = function (B) {
        var E;
        if (B >= 0) {
          if (B < 55296 || (B > 56319 && B <= 65535))
            return (
              (E = this.index[B >> Oi]),
              (E = (E << da) + (B & ca)),
              this.data[E]
            );
          if (B <= 65535)
            return (
              (E = this.index[mf + ((B - 55296) >> Oi)]),
              (E = (E << da) + (B & ca)),
              this.data[E]
            );
          if (B < this.highStart)
            return (
              (E = _x - t1 + (B >> qA)),
              (E = this.index[E]),
              (E += (B >> Oi) & i1),
              (E = this.index[E]),
              (E = (E << da) + (B & ca)),
              this.data[E]
            );
          if (B <= 1114111) return this.data[this.highValueIndex];
        }
        return this.errorValue;
      }),
      p
    );
  })(),
  bh = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
  a1 = typeof Uint8Array > "u" ? [] : new Uint8Array(256);
for (var Hn = 0; Hn < bh.length; Hn++) a1[bh.charCodeAt(Hn)] = Hn;
var A1 = 1,
  va = 2,
  pa = 3,
  Vh = 4,
  Xh = 5,
  o1 = 7,
  Yh = 8,
  ga = 9,
  ma = 10,
  zh = 11,
  Wh = 12,
  Kh = 13,
  Jh = 14,
  xa = 15,
  h1 = function (p) {
    for (var B = [], E = 0, S = p.length; E < S; ) {
      var P = p.charCodeAt(E++);
      if (P >= 55296 && P <= 56319 && E < S) {
        var L = p.charCodeAt(E++);
        (L & 64512) === 56320
          ? B.push(((P & 1023) << 10) + (L & 1023) + 65536)
          : (B.push(P), E--);
      } else B.push(P);
    }
    return B;
  },
  l1 = function () {
    for (var p = [], B = 0; B < arguments.length; B++) p[B] = arguments[B];
    if (String.fromCodePoint) return String.fromCodePoint.apply(String, p);
    var E = p.length;
    if (!E) return "";
    for (var S = [], P = -1, L = ""; ++P < E; ) {
      var d = p[P];
      (d <= 65535
        ? S.push(d)
        : ((d -= 65536), S.push((d >> 10) + 55296, (d % 1024) + 56320)),
        (P + 1 === E || S.length > 16384) &&
          ((L += String.fromCharCode.apply(String, S)), (S.length = 0)));
    }
    return L;
  },
  u1 = n1(Yx),
  xe = "×",
  Ba = "÷",
  f1 = function (p) {
    return u1.get(p);
  },
  d1 = function (p, B, E) {
    var S = E - 2,
      P = B[S],
      L = B[E - 1],
      d = B[E];
    if (L === va && d === pa) return xe;
    if (L === va || L === pa || L === Vh || d === va || d === pa || d === Vh)
      return Ba;
    if (
      (L === Yh && [Yh, ga, zh, Wh].indexOf(d) !== -1) ||
      ((L === zh || L === ga) && (d === ga || d === ma)) ||
      ((L === Wh || L === ma) && d === ma) ||
      d === Kh ||
      d === Xh ||
      d === o1 ||
      L === A1
    )
      return xe;
    if (L === Kh && d === Jh) {
      for (; P === Xh; ) P = B[--S];
      if (P === Jh) return xe;
    }
    if (L === xa && d === xa) {
      for (var y = 0; P === xa; ) (y++, (P = B[--S]));
      if (y % 2 === 0) return xe;
    }
    return Ba;
  },
  c1 = function (p) {
    var B = h1(p),
      E = B.length,
      S = 0,
      P = 0,
      L = B.map(f1);
    return {
      next: function () {
        if (S >= E) return { done: !0, value: null };
        for (var d = xe; S < E && (d = d1(B, L, ++S)) === xe; );
        if (d !== xe || S === E) {
          var y = l1.apply(null, B.slice(P, S));
          return ((P = S), { value: y, done: !1 });
        }
        return { done: !0, value: null };
      },
    };
  },
  v1 = function (p) {
    for (var B = c1(p), E = [], S; !(S = B.next()).done; )
      S.value && E.push(S.value.slice());
    return E;
  },
  p1 = function (p) {
    var B = 123;
    if (p.createRange) {
      var E = p.createRange();
      if (E.getBoundingClientRect) {
        var S = p.createElement("boundtest");
        ((S.style.height = B + "px"),
          (S.style.display = "block"),
          p.body.appendChild(S),
          E.selectNode(S));
        var P = E.getBoundingClientRect(),
          L = Math.round(P.height);
        if ((p.body.removeChild(S), L === B)) return !0;
      }
    }
    return !1;
  },
  g1 = function (p) {
    var B = p.createElement("boundtest");
    ((B.style.width = "50px"),
      (B.style.display = "block"),
      (B.style.fontSize = "12px"),
      (B.style.letterSpacing = "0px"),
      (B.style.wordSpacing = "0px"),
      p.body.appendChild(B));
    var E = p.createRange();
    B.innerHTML = typeof "".repeat == "function" ? "&#128104;".repeat(10) : "";
    var S = B.firstChild,
      P = Qr(S.data).map(function (t) {
        return Vt(t);
      }),
      L = 0,
      d = {},
      y = P.every(function (t, A) {
        (E.setStart(S, L), E.setEnd(S, L + t.length));
        var c = E.getBoundingClientRect();
        L += t.length;
        var a = c.x > d.x || c.y > d.y;
        return ((d = c), A === 0 ? !0 : a);
      });
    return (p.body.removeChild(B), y);
  },
  m1 = function () {
    return typeof new Image().crossOrigin < "u";
  },
  x1 = function () {
    return typeof new XMLHttpRequest().responseType == "string";
  },
  B1 = function (p) {
    var B = new Image(),
      E = p.createElement("canvas"),
      S = E.getContext("2d");
    if (!S) return !1;
    B.src = "data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";
    try {
      (S.drawImage(B, 0, 0), E.toDataURL());
    } catch {
      return !1;
    }
    return !0;
  },
  Zh = function (p) {
    return p[0] === 0 && p[1] === 255 && p[2] === 0 && p[3] === 255;
  },
  y1 = function (p) {
    var B = p.createElement("canvas"),
      E = 100;
    ((B.width = E), (B.height = E));
    var S = B.getContext("2d");
    if (!S) return Promise.reject(!1);
    ((S.fillStyle = "rgb(0, 255, 0)"), S.fillRect(0, 0, E, E));
    var P = new Image(),
      L = B.toDataURL();
    P.src = L;
    var d = dA(E, E, 0, 0, P);
    return (
      (S.fillStyle = "red"),
      S.fillRect(0, 0, E, E),
      $h(d)
        .then(function (y) {
          S.drawImage(y, 0, 0);
          var t = S.getImageData(0, 0, E, E).data;
          ((S.fillStyle = "red"), S.fillRect(0, 0, E, E));
          var A = p.createElement("div");
          return (
            (A.style.backgroundImage = "url(" + L + ")"),
            (A.style.height = E + "px"),
            Zh(t) ? $h(dA(E, E, 0, 0, A)) : Promise.reject(!1)
          );
        })
        .then(function (y) {
          return (S.drawImage(y, 0, 0), Zh(S.getImageData(0, 0, E, E).data));
        })
        .catch(function () {
          return !1;
        })
    );
  },
  dA = function (p, B, E, S, P) {
    var L = "http://www.w3.org/2000/svg",
      d = document.createElementNS(L, "svg"),
      y = document.createElementNS(L, "foreignObject");
    return (
      d.setAttributeNS(null, "width", p.toString()),
      d.setAttributeNS(null, "height", B.toString()),
      y.setAttributeNS(null, "width", "100%"),
      y.setAttributeNS(null, "height", "100%"),
      y.setAttributeNS(null, "x", E.toString()),
      y.setAttributeNS(null, "y", S.toString()),
      y.setAttributeNS(null, "externalResourcesRequired", "true"),
      d.appendChild(y),
      y.appendChild(P),
      d
    );
  },
  $h = function (p) {
    return new Promise(function (B, E) {
      var S = new Image();
      ((S.onload = function () {
        return B(S);
      }),
        (S.onerror = E),
        (S.src =
          "data:image/svg+xml;charset=utf-8," +
          encodeURIComponent(new XMLSerializer().serializeToString(p))));
    });
  },
  _t = {
    get SUPPORT_RANGE_BOUNDS() {
      var p = p1(document);
      return (
        Object.defineProperty(_t, "SUPPORT_RANGE_BOUNDS", { value: p }),
        p
      );
    },
    get SUPPORT_WORD_BREAKING() {
      var p = _t.SUPPORT_RANGE_BOUNDS && g1(document);
      return (
        Object.defineProperty(_t, "SUPPORT_WORD_BREAKING", { value: p }),
        p
      );
    },
    get SUPPORT_SVG_DRAWING() {
      var p = B1(document);
      return (
        Object.defineProperty(_t, "SUPPORT_SVG_DRAWING", { value: p }),
        p
      );
    },
    get SUPPORT_FOREIGNOBJECT_DRAWING() {
      var p =
        typeof Array.from == "function" && typeof window.fetch == "function"
          ? y1(document)
          : Promise.resolve(!1);
      return (
        Object.defineProperty(_t, "SUPPORT_FOREIGNOBJECT_DRAWING", {
          value: p,
        }),
        p
      );
    },
    get SUPPORT_CORS_IMAGES() {
      var p = m1();
      return (
        Object.defineProperty(_t, "SUPPORT_CORS_IMAGES", { value: p }),
        p
      );
    },
    get SUPPORT_RESPONSE_TYPE() {
      var p = x1();
      return (
        Object.defineProperty(_t, "SUPPORT_RESPONSE_TYPE", { value: p }),
        p
      );
    },
    get SUPPORT_CORS_XHR() {
      var p = "withCredentials" in new XMLHttpRequest();
      return (Object.defineProperty(_t, "SUPPORT_CORS_XHR", { value: p }), p);
    },
    get SUPPORT_NATIVE_TEXT_SEGMENTATION() {
      var p = !!(typeof Intl < "u" && Intl.Segmenter);
      return (
        Object.defineProperty(_t, "SUPPORT_NATIVE_TEXT_SEGMENTATION", {
          value: p,
        }),
        p
      );
    },
  },
  zs = (function () {
    function p(B, E) {
      ((this.text = B), (this.bounds = E));
    }
    return p;
  })(),
  C1 = function (p, B, E, S) {
    var P = F1(B, E),
      L = [],
      d = 0;
    return (
      P.forEach(function (y) {
        if (E.textDecorationLine.length || y.trim().length > 0)
          if (_t.SUPPORT_RANGE_BOUNDS) {
            var t = jh(S, d, y.length).getClientRects();
            if (t.length > 1) {
              var A = _A(y),
                c = 0;
              A.forEach(function (r) {
                (L.push(
                  new zs(
                    r,
                    je.fromDOMRectList(
                      p,
                      jh(S, c + d, r.length).getClientRects(),
                    ),
                  ),
                ),
                  (c += r.length));
              });
            } else L.push(new zs(y, je.fromDOMRectList(p, t)));
          } else {
            var a = S.splitText(y.length);
            (L.push(new zs(y, T1(p, S))), (S = a));
          }
        else _t.SUPPORT_RANGE_BOUNDS || (S = S.splitText(y.length));
        d += y.length;
      }),
      L
    );
  },
  T1 = function (p, B) {
    var E = B.ownerDocument;
    if (E) {
      var S = E.createElement("html2canvaswrapper");
      S.appendChild(B.cloneNode(!0));
      var P = B.parentNode;
      if (P) {
        P.replaceChild(S, B);
        var L = Or(p, S);
        return (S.firstChild && P.replaceChild(S.firstChild, S), L);
      }
    }
    return je.EMPTY;
  },
  jh = function (p, B, E) {
    var S = p.ownerDocument;
    if (!S) throw new Error("Node has no owner document");
    var P = S.createRange();
    return (P.setStart(p, B), P.setEnd(p, B + E), P);
  },
  _A = function (p) {
    if (_t.SUPPORT_NATIVE_TEXT_SEGMENTATION) {
      var B = new Intl.Segmenter(void 0, { granularity: "grapheme" });
      return Array.from(B.segment(p)).map(function (E) {
        return E.segment;
      });
    }
    return v1(p);
  },
  E1 = function (p, B) {
    if (_t.SUPPORT_NATIVE_TEXT_SEGMENTATION) {
      var E = new Intl.Segmenter(void 0, { granularity: "word" });
      return Array.from(E.segment(p)).map(function (S) {
        return S.segment;
      });
    }
    return w1(p, B);
  },
  F1 = function (p, B) {
    return B.letterSpacing !== 0 ? _A(p) : E1(p, B);
  },
  S1 = [32, 160, 4961, 65792, 65793, 4153, 4241],
  w1 = function (p, B) {
    for (
      var E = t0(p, {
          lineBreak: B.lineBreak,
          wordBreak:
            B.overflowWrap === "break-word" ? "break-word" : B.wordBreak,
        }),
        S = [],
        P,
        L = function () {
          if (P.value) {
            var d = P.value.slice(),
              y = Qr(d),
              t = "";
            (y.forEach(function (A) {
              S1.indexOf(A) === -1
                ? (t += Vt(A))
                : (t.length && S.push(t), S.push(Vt(A)), (t = ""));
            }),
              t.length && S.push(t));
          }
        };
      !(P = E.next()).done;
    )
      L();
    return S;
  },
  M1 = (function () {
    function p(B, E, S) {
      ((this.text = P1(E.data, S.textTransform)),
        (this.textBounds = C1(B, this.text, S, E)));
    }
    return p;
  })(),
  P1 = function (p, B) {
    switch (B) {
      case 1:
        return p.toLowerCase();
      case 3:
        return p.replace(U1, R1);
      case 2:
        return p.toUpperCase();
      default:
        return p;
    }
  },
  U1 = /(^|\s|:|-|\(|\))([a-z])/g,
  R1 = function (p, B, E) {
    return p.length > 0 ? B + E.toUpperCase() : p;
  },
  xf = (function (p) {
    Ue(B, p);
    function B(E, S) {
      var P =
        p.call(this, E, S) || _____WB$wombat$check$this$function_____(this);
      return (
        (P.src = S.currentSrc || S.src),
        (P.intrinsicWidth = S.naturalWidth),
        (P.intrinsicHeight = S.naturalHeight),
        P.context.cache.addImage(P.src),
        P
      );
    }
    return B;
  })(Ge),
  Bf = (function (p) {
    Ue(B, p);
    function B(E, S) {
      var P =
        p.call(this, E, S) || _____WB$wombat$check$this$function_____(this);
      return (
        (P.canvas = S),
        (P.intrinsicWidth = S.width),
        (P.intrinsicHeight = S.height),
        P
      );
    }
    return B;
  })(Ge),
  yf = (function (p) {
    Ue(B, p);
    function B(E, S) {
      var P =
          p.call(this, E, S) || _____WB$wombat$check$this$function_____(this),
        L = new XMLSerializer(),
        d = Or(E, S);
      return (
        S.setAttribute("width", d.width + "px"),
        S.setAttribute("height", d.height + "px"),
        (P.svg =
          "data:image/svg+xml," + encodeURIComponent(L.serializeToString(S))),
        (P.intrinsicWidth = S.width.baseVal.value),
        (P.intrinsicHeight = S.height.baseVal.value),
        P.context.cache.addImage(P.svg),
        P
      );
    }
    return B;
  })(Ge),
  Cf = (function (p) {
    Ue(B, p);
    function B(E, S) {
      var P =
        p.call(this, E, S) || _____WB$wombat$check$this$function_____(this);
      return ((P.value = S.value), P);
    }
    return B;
  })(Ge),
  cA = (function (p) {
    Ue(B, p);
    function B(E, S) {
      var P =
        p.call(this, E, S) || _____WB$wombat$check$this$function_____(this);
      return (
        (P.start = S.start),
        (P.reversed = typeof S.reversed == "boolean" && S.reversed === !0),
        P
      );
    }
    return B;
  })(Ge),
  L1 = [{ type: 15, flags: 0, unit: "px", number: 3 }],
  I1 = [{ type: 16, flags: 0, number: 50 }],
  O1 = function (p) {
    return p.width > p.height
      ? new je(p.left + (p.width - p.height) / 2, p.top, p.height, p.height)
      : p.width < p.height
        ? new je(p.left, p.top + (p.height - p.width) / 2, p.width, p.width)
        : p;
  },
  Q1 = function (p) {
    var B = p.type === D1 ? new Array(p.value.length + 1).join("•") : p.value;
    return B.length === 0 ? p.placeholder || "" : B;
  },
  ur = "checkbox",
  fr = "radio",
  D1 = "password",
  kh = 707406591,
  to = (function (p) {
    Ue(B, p);
    function B(E, S) {
      var P =
        p.call(this, E, S) || _____WB$wombat$check$this$function_____(this);
      switch (
        ((P.type = S.type.toLowerCase()),
        (P.checked = S.checked),
        (P.value = Q1(S)),
        (P.type === ur || P.type === fr) &&
          ((P.styles.backgroundColor = 3739148031),
          (P.styles.borderTopColor =
            P.styles.borderRightColor =
            P.styles.borderBottomColor =
            P.styles.borderLeftColor =
              2779096575),
          (P.styles.borderTopWidth =
            P.styles.borderRightWidth =
            P.styles.borderBottomWidth =
            P.styles.borderLeftWidth =
              1),
          (P.styles.borderTopStyle =
            P.styles.borderRightStyle =
            P.styles.borderBottomStyle =
            P.styles.borderLeftStyle =
              1),
          (P.styles.backgroundClip = [0]),
          (P.styles.backgroundOrigin = [0]),
          (P.bounds = O1(P.bounds))),
        P.type)
      ) {
        case ur:
          P.styles.borderTopRightRadius =
            P.styles.borderTopLeftRadius =
            P.styles.borderBottomRightRadius =
            P.styles.borderBottomLeftRadius =
              L1;
          break;
        case fr:
          P.styles.borderTopRightRadius =
            P.styles.borderTopLeftRadius =
            P.styles.borderBottomRightRadius =
            P.styles.borderBottomLeftRadius =
              I1;
          break;
      }
      return P;
    }
    return B;
  })(Ge),
  Tf = (function (p) {
    Ue(B, p);
    function B(E, S) {
      var P =
          p.call(this, E, S) || _____WB$wombat$check$this$function_____(this),
        L = S.options[S.selectedIndex || 0];
      return ((P.value = (L && L.text) || ""), P);
    }
    return B;
  })(Ge),
  Ef = (function (p) {
    Ue(B, p);
    function B(E, S) {
      var P =
        p.call(this, E, S) || _____WB$wombat$check$this$function_____(this);
      return ((P.value = S.value), P);
    }
    return B;
  })(Ge),
  Ff = (function (p) {
    Ue(B, p);
    function B(E, S) {
      var P =
        p.call(this, E, S) || _____WB$wombat$check$this$function_____(this);
      ((P.src = S.src),
        (P.width = parseInt(S.width, 10) || 0),
        (P.height = parseInt(S.height, 10) || 0),
        (P.backgroundColor = P.styles.backgroundColor));
      try {
        if (
          S.contentWindow &&
          S.contentWindow.document &&
          S.contentWindow.document.documentElement
        ) {
          P.tree = wf(E, S.contentWindow.document.documentElement);
          var L = S.contentWindow.document.documentElement
              ? Xs(
                  E,
                  getComputedStyle(S.contentWindow.document.documentElement)
                    .backgroundColor,
                )
              : Ze.TRANSPARENT,
            d = S.contentWindow.document.body
              ? Xs(
                  E,
                  getComputedStyle(S.contentWindow.document.body)
                    .backgroundColor,
                )
              : Ze.TRANSPARENT;
          P.backgroundColor = fi(L)
            ? fi(d)
              ? P.styles.backgroundColor
              : d
            : L;
        }
      } catch {}
      return P;
    }
    return B;
  })(Ge),
  H1 = ["OL", "UL", "MENU"],
  $n = function (p, B, E, S) {
    for (var P = B.firstChild, L = void 0; P; P = L)
      if (((L = P.nextSibling), Mf(P) && P.data.trim().length > 0))
        E.textNodes.push(new M1(p, P, E.styles));
      else if (Zi(P))
        if (Lf(P) && P.assignedNodes)
          P.assignedNodes().forEach(function (y) {
            return $n(p, y, E, S);
          });
        else {
          var d = Sf(p, P);
          d.styles.isVisible() &&
            (N1(P, d, S) ? (d.flags |= 4) : G1(d.styles) && (d.flags |= 2),
            H1.indexOf(P.tagName) !== -1 && (d.flags |= 8),
            E.elements.push(d),
            P.slot,
            P.shadowRoot
              ? $n(p, P.shadowRoot, d, S)
              : !dr(P) && !Pf(P) && !cr(P) && $n(p, P, d, S));
        }
  },
  Sf = function (p, B) {
    return pA(B)
      ? new xf(p, B)
      : Uf(B)
        ? new Bf(p, B)
        : Pf(B)
          ? new yf(p, B)
          : b1(B)
            ? new Cf(p, B)
            : V1(B)
              ? new cA(p, B)
              : X1(B)
                ? new to(p, B)
                : cr(B)
                  ? new Tf(p, B)
                  : dr(B)
                    ? new Ef(p, B)
                    : Rf(B)
                      ? new Ff(p, B)
                      : new Ge(p, B);
  },
  wf = function (p, B) {
    var E = Sf(p, B);
    return ((E.flags |= 4), $n(p, B, E, E), E);
  },
  N1 = function (p, B, E) {
    return (
      B.styles.isPositionedWithZIndex() ||
      B.styles.opacity < 1 ||
      B.styles.isTransformed() ||
      (eo(p) && E.styles.isTransparent())
    );
  },
  G1 = function (p) {
    return p.isPositioned() || p.isFloating();
  },
  Mf = function (p) {
    return p.nodeType === Node.TEXT_NODE;
  },
  Zi = function (p) {
    return p.nodeType === Node.ELEMENT_NODE;
  },
  vA = function (p) {
    return Zi(p) && typeof p.style < "u" && !jn(p);
  },
  jn = function (p) {
    return typeof p.className == "object";
  },
  b1 = function (p) {
    return p.tagName === "LI";
  },
  V1 = function (p) {
    return p.tagName === "OL";
  },
  X1 = function (p) {
    return p.tagName === "INPUT";
  },
  Y1 = function (p) {
    return p.tagName === "HTML";
  },
  Pf = function (p) {
    return p.tagName === "svg";
  },
  eo = function (p) {
    return p.tagName === "BODY";
  },
  Uf = function (p) {
    return p.tagName === "CANVAS";
  },
  qh = function (p) {
    return p.tagName === "VIDEO";
  },
  pA = function (p) {
    return p.tagName === "IMG";
  },
  Rf = function (p) {
    return p.tagName === "IFRAME";
  },
  _h = function (p) {
    return p.tagName === "STYLE";
  },
  z1 = function (p) {
    return p.tagName === "SCRIPT";
  },
  dr = function (p) {
    return p.tagName === "TEXTAREA";
  },
  cr = function (p) {
    return p.tagName === "SELECT";
  },
  Lf = function (p) {
    return p.tagName === "SLOT";
  },
  tl = function (p) {
    return p.tagName.indexOf("-") > 0;
  },
  W1 = (function () {
    function p() {
      this.counters = {};
    }
    return (
      (p.prototype.getCounterValue = function (B) {
        var E = this.counters[B];
        return E && E.length ? E[E.length - 1] : 1;
      }),
      (p.prototype.getCounterValues = function (B) {
        var E = this.counters[B];
        return E || [];
      }),
      (p.prototype.pop = function (B) {
        var E = _____WB$wombat$check$this$function_____(this);
        B.forEach(function (S) {
          return E.counters[S].pop();
        });
      }),
      (p.prototype.parse = function (B) {
        var E = _____WB$wombat$check$this$function_____(this),
          S = B.counterIncrement,
          P = B.counterReset,
          L = !0;
        S !== null &&
          S.forEach(function (y) {
            var t = E.counters[y.counter];
            t &&
              y.increment !== 0 &&
              ((L = !1),
              t.length || t.push(1),
              (t[Math.max(0, t.length - 1)] += y.increment));
          });
        var d = [];
        return (
          L &&
            P.forEach(function (y) {
              var t = E.counters[y.counter];
              (d.push(y.counter),
                t || (t = E.counters[y.counter] = []),
                t.push(y.reset));
            }),
          d
        );
      }),
      p
    );
  })(),
  el = {
    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",
    ],
  },
  il = {
    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: [
      "Ք",
      "Փ",
      "Ւ",
      "Ց",
      "Ր",
      "Տ",
      "Վ",
      "Ս",
      "Ռ",
      "Ջ",
      "Պ",
      "Չ",
      "Ո",
      "Շ",
      "Ն",
      "Յ",
      "Մ",
      "Ճ",
      "Ղ",
      "Ձ",
      "Հ",
      "Կ",
      "Ծ",
      "Խ",
      "Լ",
      "Ի",
      "Ժ",
      "Թ",
      "Ը",
      "Է",
      "Զ",
      "Ե",
      "Դ",
      "Գ",
      "Բ",
      "Ա",
    ],
  },
  K1 = {
    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: [
      "י׳",
      "ט׳",
      "ח׳",
      "ז׳",
      "ו׳",
      "ה׳",
      "ד׳",
      "ג׳",
      "ב׳",
      "א׳",
      "ת",
      "ש",
      "ר",
      "ק",
      "צ",
      "פ",
      "ע",
      "ס",
      "נ",
      "מ",
      "ל",
      "כ",
      "יט",
      "יח",
      "יז",
      "טז",
      "טו",
      "י",
      "ט",
      "ח",
      "ז",
      "ו",
      "ה",
      "ד",
      "ג",
      "ב",
      "א",
    ],
  },
  J1 = {
    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: [
      "ჵ",
      "ჰ",
      "ჯ",
      "ჴ",
      "ხ",
      "ჭ",
      "წ",
      "ძ",
      "ც",
      "ჩ",
      "შ",
      "ყ",
      "ღ",
      "ქ",
      "ფ",
      "ჳ",
      "ტ",
      "ს",
      "რ",
      "ჟ",
      "პ",
      "ო",
      "ჲ",
      "ნ",
      "მ",
      "ლ",
      "კ",
      "ი",
      "თ",
      "ჱ",
      "ზ",
      "ვ",
      "ე",
      "დ",
      "გ",
      "ბ",
      "ა",
    ],
  },
  Vi = function (p, B, E, S, P, L) {
    return p < B || p > E
      ? tn(p, P, L.length > 0)
      : S.integers.reduce(function (d, y, t) {
          for (; p >= y; ) ((p -= y), (d += S.values[t]));
          return d;
        }, "") + L;
  },
  If = function (p, B, E, S) {
    var P = "";
    do (E || p--, (P = S(p) + P), (p /= B));
    while (p * B >= B);
    return P;
  },
  bt = function (p, B, E, S, P) {
    var L = E - B + 1;
    return (
      (p < 0 ? "-" : "") +
      (If(Math.abs(p), L, S, function (d) {
        return Vt(Math.floor(d % L) + B);
      }) +
        P)
    );
  },
  Ci = function (p, B, E) {
    E === void 0 && (E = ". ");
    var S = B.length;
    return (
      If(Math.abs(p), S, !1, function (P) {
        return B[Math.floor(P % S)];
      }) + E
    );
  },
  Ki = 1,
  ei = 2,
  ii = 4,
  Os = 8,
  Ye = function (p, B, E, S, P, L) {
    if (p < -9999 || p > 9999) return tn(p, 4, P.length > 0);
    var d = Math.abs(p),
      y = P;
    if (d === 0) return B[0] + y;
    for (var t = 0; d > 0 && t <= 4; t++) {
      var A = d % 10;
      (A === 0 && Kt(L, Ki) && y !== ""
        ? (y = B[A] + y)
        : A > 1 ||
            (A === 1 && t === 0) ||
            (A === 1 && t === 1 && Kt(L, ei)) ||
            (A === 1 && t === 1 && Kt(L, ii) && p > 100) ||
            (A === 1 && t > 1 && Kt(L, Os))
          ? (y = B[A] + (t > 0 ? E[t - 1] : "") + y)
          : A === 1 && t > 0 && (y = E[t - 1] + y),
        (d = Math.floor(d / 10)));
    }
    return (p < 0 ? S : "") + y;
  },
  sl = "十百千萬",
  nl = "拾佰仟萬",
  rl = "マイナス",
  ya = "마이너스",
  tn = function (p, B, E) {
    var S = E ? ". " : "",
      P = E ? "、" : "",
      L = E ? ", " : "",
      d = E ? " " : "";
    switch (B) {
      case 0:
        return "•" + d;
      case 1:
        return "◦" + d;
      case 2:
        return "◾" + d;
      case 5:
        var y = bt(p, 48, 57, !0, S);
        return y.length < 4 ? "0" + y : y;
      case 4:
        return Ci(p, "〇一二三四五六七八九", P);
      case 6:
        return Vi(p, 1, 3999, el, 3, S).toLowerCase();
      case 7:
        return Vi(p, 1, 3999, el, 3, S);
      case 8:
        return bt(p, 945, 969, !1, S);
      case 9:
        return bt(p, 97, 122, !1, S);
      case 10:
        return bt(p, 65, 90, !1, S);
      case 11:
        return bt(p, 1632, 1641, !0, S);
      case 12:
      case 49:
        return Vi(p, 1, 9999, il, 3, S);
      case 35:
        return Vi(p, 1, 9999, il, 3, S).toLowerCase();
      case 13:
        return bt(p, 2534, 2543, !0, S);
      case 14:
      case 30:
        return bt(p, 6112, 6121, !0, S);
      case 15:
        return Ci(p, "子丑寅卯辰巳午未申酉戌亥", P);
      case 16:
        return Ci(p, "甲乙丙丁戊己庚辛壬癸", P);
      case 17:
      case 48:
        return Ye(p, "零一二三四五六七八九", sl, "負", P, ei | ii | Os);
      case 47:
        return Ye(p, "零壹貳參肆伍陸柒捌玖", nl, "負", P, Ki | ei | ii | Os);
      case 42:
        return Ye(p, "零一二三四五六七八九", sl, "负", P, ei | ii | Os);
      case 41:
        return Ye(p, "零壹贰叁肆伍陆柒捌玖", nl, "负", P, Ki | ei | ii | Os);
      case 26:
        return Ye(p, "〇一二三四五六七八九", "十百千万", rl, P, 0);
      case 25:
        return Ye(p, "零壱弐参四伍六七八九", "拾百千万", rl, P, Ki | ei | ii);
      case 31:
        return Ye(p, "영일이삼사오육칠팔구", "십백천만", ya, L, Ki | ei | ii);
      case 33:
        return Ye(p, "零一二三四五六七八九", "十百千萬", ya, L, 0);
      case 32:
        return Ye(p, "零壹貳參四五六七八九", "拾百千", ya, L, Ki | ei | ii);
      case 18:
        return bt(p, 2406, 2415, !0, S);
      case 20:
        return Vi(p, 1, 19999, J1, 3, S);
      case 21:
        return bt(p, 2790, 2799, !0, S);
      case 22:
        return bt(p, 2662, 2671, !0, S);
      case 22:
        return Vi(p, 1, 10999, K1, 3, S);
      case 23:
        return Ci(
          p,
          "あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん",
        );
      case 24:
        return Ci(
          p,
          "いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす",
        );
      case 27:
        return bt(p, 3302, 3311, !0, S);
      case 28:
        return Ci(
          p,
          "アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",
          P,
        );
      case 29:
        return Ci(
          p,
          "イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",
          P,
        );
      case 34:
        return bt(p, 3792, 3801, !0, S);
      case 37:
        return bt(p, 6160, 6169, !0, S);
      case 38:
        return bt(p, 4160, 4169, !0, S);
      case 39:
        return bt(p, 2918, 2927, !0, S);
      case 40:
        return bt(p, 1776, 1785, !0, S);
      case 43:
        return bt(p, 3046, 3055, !0, S);
      case 44:
        return bt(p, 3174, 3183, !0, S);
      case 45:
        return bt(p, 3664, 3673, !0, S);
      case 46:
        return bt(p, 3872, 3881, !0, S);
      case 3:
      default:
        return bt(p, 48, 57, !0, S);
    }
  },
  Of = "data-html2canvas-ignore",
  al = (function () {
    function p(B, E, S) {
      if (
        ((this.context = B),
        (this.options = S),
        (this.scrolledElements = []),
        (this.referenceElement = E),
        (this.counters = new W1()),
        (this.quoteDepth = 0),
        !E.ownerDocument)
      )
        throw new Error("Cloned element does not have an owner document");
      this.documentElement = this.cloneNode(
        E.ownerDocument.documentElement,
        !1,
      );
    }
    return (
      (p.prototype.toIFrame = function (B, E) {
        var S = _____WB$wombat$check$this$function_____(this),
          P = Z1(B, E);
        if (!P.contentWindow)
          return Promise.reject("Unable to find iframe window");
        var L = B.defaultView.pageXOffset,
          d = B.defaultView.pageYOffset,
          y = P.contentWindow,
          t = y.document,
          A = k1(P).then(function () {
            return he(S, void 0, void 0, function () {
              var c, a;
              return se(this, function (r) {
                switch (r.label) {
                  case 0:
                    return (
                      this.scrolledElements.forEach(eB),
                      y &&
                        (y.scrollTo(E.left, E.top),
                        /(iPad|iPhone|iPod)/g.test(navigator.userAgent) &&
                          (y.scrollY !== E.top || y.scrollX !== E.left) &&
                          (this.context.logger.warn(
                            "Unable to restore scroll position for cloned document",
                          ),
                          (this.context.windowBounds =
                            this.context.windowBounds.add(
                              y.scrollX - E.left,
                              y.scrollY - E.top,
                              0,
                              0,
                            )))),
                      (c = this.options.onclone),
                      (a = this.clonedReferenceElement),
                      typeof a > "u"
                        ? [
                            2,
                            Promise.reject(
                              "Error finding the " +
                                this.referenceElement.nodeName +
                                " in the cloned document",
                            ),
                          ]
                        : t.fonts && t.fonts.ready
                          ? [4, t.fonts.ready]
                          : [3, 2]
                    );
                  case 1:
                    (r.sent(), (r.label = 2));
                  case 2:
                    return /(AppleWebKit)/g.test(navigator.userAgent)
                      ? [4, j1(t)]
                      : [3, 4];
                  case 3:
                    (r.sent(), (r.label = 4));
                  case 4:
                    return typeof c == "function"
                      ? [
                          2,
                          Promise.resolve()
                            .then(function () {
                              return c(t, a);
                            })
                            .then(function () {
                              return P;
                            }),
                        ]
                      : [2, P];
                }
              });
            });
          });
        return (
          t.open(),
          t.write(_1(document.doctype) + "<html></html>"),
          tB(this.referenceElement.ownerDocument, L, d),
          t.replaceChild(t.adoptNode(this.documentElement), t.documentElement),
          t.close(),
          A
        );
      }),
      (p.prototype.createElementClone = function (B) {
        if (fA(B, 2)) debugger;
        if (Uf(B)) return this.createCanvasClone(B);
        if (qh(B)) return this.createVideoClone(B);
        if (_h(B)) return this.createStyleClone(B);
        var E = B.cloneNode(!1);
        return (
          pA(E) &&
            (pA(B) &&
              B.currentSrc &&
              B.currentSrc !== B.src &&
              ((E.src = B.currentSrc), (E.srcset = "")),
            E.loading === "lazy" && (E.loading = "eager")),
          tl(E) ? this.createCustomElementClone(E) : E
        );
      }),
      (p.prototype.createCustomElementClone = function (B) {
        var E = document.createElement("html2canvascustomelement");
        return (Ca(B.style, E), E);
      }),
      (p.prototype.createStyleClone = function (B) {
        try {
          var E = B.sheet;
          if (E && E.cssRules) {
            var S = [].slice.call(E.cssRules, 0).reduce(function (L, d) {
                return d && typeof d.cssText == "string" ? L + d.cssText : L;
              }, ""),
              P = B.cloneNode(!1);
            return ((P.textContent = S), P);
          }
        } catch (L) {
          if (
            (this.context.logger.error("Unable to access cssRules property", L),
            L.name !== "SecurityError")
          )
            throw L;
        }
        return B.cloneNode(!1);
      }),
      (p.prototype.createCanvasClone = function (B) {
        var E;
        if (this.options.inlineImages && B.ownerDocument) {
          var S = B.ownerDocument.createElement("img");
          try {
            return ((S.src = B.toDataURL()), S);
          } catch {
            this.context.logger.info(
              "Unable to inline canvas contents, canvas is tainted",
              B,
            );
          }
        }
        var P = B.cloneNode(!1);
        try {
          ((P.width = B.width), (P.height = B.height));
          var L = B.getContext("2d"),
            d = P.getContext("2d");
          if (d)
            if (!this.options.allowTaint && L)
              d.putImageData(L.getImageData(0, 0, B.width, B.height), 0, 0);
            else {
              var y =
                (E = B.getContext("webgl2")) !== null && E !== void 0
                  ? E
                  : B.getContext("webgl");
              if (y) {
                var t = y.getContextAttributes();
                (t == null ? void 0 : t.preserveDrawingBuffer) === !1 &&
                  this.context.logger.warn(
                    "Unable to clone WebGL context as it has preserveDrawingBuffer=false",
                    B,
                  );
              }
              d.drawImage(B, 0, 0);
            }
          return P;
        } catch {
          this.context.logger.info(
            "Unable to clone canvas as it is tainted",
            B,
          );
        }
        return P;
      }),
      (p.prototype.createVideoClone = function (B) {
        var E = B.ownerDocument.createElement("canvas");
        ((E.width = B.offsetWidth), (E.height = B.offsetHeight));
        var S = E.getContext("2d");
        try {
          return (
            S &&
              (S.drawImage(B, 0, 0, E.width, E.height),
              this.options.allowTaint ||
                S.getImageData(0, 0, E.width, E.height)),
            E
          );
        } catch {
          this.context.logger.info("Unable to clone video as it is tainted", B);
        }
        var P = B.ownerDocument.createElement("canvas");
        return ((P.width = B.offsetWidth), (P.height = B.offsetHeight), P);
      }),
      (p.prototype.appendChildNode = function (B, E, S) {
        (!Zi(E) ||
          (!z1(E) &&
            !E.hasAttribute(Of) &&
            (typeof this.options.ignoreElements != "function" ||
              !this.options.ignoreElements(E)))) &&
          (!this.options.copyStyles || !Zi(E) || !_h(E)) &&
          B.appendChild(this.cloneNode(E, S));
      }),
      (p.prototype.cloneChildNodes = function (B, E, S) {
        for (
          var P = _____WB$wombat$check$this$function_____(this),
            L = B.shadowRoot ? B.shadowRoot.firstChild : B.firstChild;
          L;
          L = L.nextSibling
        )
          if (Zi(L) && Lf(L) && typeof L.assignedNodes == "function") {
            var d = L.assignedNodes();
            d.length &&
              d.forEach(function (y) {
                return P.appendChildNode(E, y, S);
              });
          } else this.appendChildNode(E, L, S);
      }),
      (p.prototype.cloneNode = function (B, E) {
        if (Mf(B)) return document.createTextNode(B.data);
        if (!B.ownerDocument) return B.cloneNode(!1);
        var S = B.ownerDocument.defaultView;
        if (S && Zi(B) && (vA(B) || jn(B))) {
          var P = this.createElementClone(B);
          P.style.transitionProperty = "none";
          var L = S.getComputedStyle(B),
            d = S.getComputedStyle(B, ":before"),
            y = S.getComputedStyle(B, ":after");
          (this.referenceElement === B &&
            vA(P) &&
            (this.clonedReferenceElement = P),
            eo(P) && nB(P));
          var t = this.counters.parse(new Hh(this.context, L)),
            A = this.resolvePseudoContent(B, P, d, Ws.BEFORE);
          (tl(B) && (E = !0),
            qh(B) || this.cloneChildNodes(B, P, E),
            A && P.insertBefore(A, P.firstChild));
          var c = this.resolvePseudoContent(B, P, y, Ws.AFTER);
          return (
            c && P.appendChild(c),
            this.counters.pop(t),
            ((L && (this.options.copyStyles || jn(B)) && !Rf(B)) || E) &&
              Ca(L, P),
            (B.scrollTop !== 0 || B.scrollLeft !== 0) &&
              this.scrolledElements.push([P, B.scrollLeft, B.scrollTop]),
            (dr(B) || cr(B)) && (dr(P) || cr(P)) && (P.value = B.value),
            P
          );
        }
        return B.cloneNode(!1);
      }),
      (p.prototype.resolvePseudoContent = function (B, E, S, P) {
        var L = _____WB$wombat$check$this$function_____(this);
        if (S) {
          var d = S.content,
            y = E.ownerDocument;
          if (
            !(
              !y ||
              !d ||
              d === "none" ||
              d === "-moz-alt-content" ||
              S.display === "none"
            )
          ) {
            this.counters.parse(new Hh(this.context, S));
            var t = new bx(this.context, S),
              A = y.createElement("html2canvaspseudoelement");
            (Ca(S, A),
              t.content.forEach(function (a) {
                if (a.type === 0) A.appendChild(y.createTextNode(a.value));
                else if (a.type === 22) {
                  var r = y.createElement("img");
                  ((r.src = a.value),
                    (r.style.opacity = "1"),
                    A.appendChild(r));
                } else if (a.type === 18) {
                  if (a.name === "attr") {
                    var n = a.values.filter(Rt);
                    n.length &&
                      A.appendChild(
                        y.createTextNode(B.getAttribute(n[0].value) || ""),
                      );
                  } else if (a.name === "counter") {
                    var e = a.values.filter(hs),
                      s = e[0],
                      u = e[1];
                    if (s && Rt(s)) {
                      var i = L.counters.getCounterValue(s.value),
                        o = u && Rt(u) ? uA.parse(L.context, u.value) : 3;
                      A.appendChild(y.createTextNode(tn(i, o, !1)));
                    }
                  } else if (a.name === "counters") {
                    var h = a.values.filter(hs),
                      s = h[0],
                      l = h[1],
                      u = h[2];
                    if (s && Rt(s)) {
                      var f = L.counters.getCounterValues(s.value),
                        v = u && Rt(u) ? uA.parse(L.context, u.value) : 3,
                        m = l && l.type === 0 ? l.value : "",
                        x = f
                          .map(function (T) {
                            return tn(T, v, !1);
                          })
                          .join(m);
                      A.appendChild(y.createTextNode(x));
                    }
                  }
                } else if (a.type === 20)
                  switch (a.value) {
                    case "open-quote":
                      A.appendChild(
                        y.createTextNode(Dh(t.quotes, L.quoteDepth++, !0)),
                      );
                      break;
                    case "close-quote":
                      A.appendChild(
                        y.createTextNode(Dh(t.quotes, --L.quoteDepth, !1)),
                      );
                      break;
                    default:
                      A.appendChild(y.createTextNode(a.value));
                  }
              }),
              (A.className = gA + " " + mA));
            var c = P === Ws.BEFORE ? " " + gA : " " + mA;
            return (
              jn(E) ? (E.className.baseValue += c) : (E.className += c),
              A
            );
          }
        }
      }),
      (p.destroy = function (B) {
        return B.parentNode ? (B.parentNode.removeChild(B), !0) : !1;
      }),
      p
    );
  })(),
  Ws;
(function (p) {
  ((p[(p.BEFORE = 0)] = "BEFORE"), (p[(p.AFTER = 1)] = "AFTER"));
})(Ws || (Ws = {}));
var Z1 = function (p, B) {
    var E = p.createElement("iframe");
    return (
      (E.className = "html2canvas-container"),
      (E.style.visibility = "hidden"),
      (E.style.position = "fixed"),
      (E.style.left = "-10000px"),
      (E.style.top = "0px"),
      (E.style.border = "0"),
      (E.width = B.width.toString()),
      (E.height = B.height.toString()),
      (E.scrolling = "no"),
      E.setAttribute(Of, "true"),
      p.body.appendChild(E),
      E
    );
  },
  $1 = function (p) {
    return new Promise(function (B) {
      if (p.complete) {
        B();
        return;
      }
      if (!p.src) {
        B();
        return;
      }
      ((p.onload = B), (p.onerror = B));
    });
  },
  j1 = function (p) {
    return Promise.all([].slice.call(p.images, 0).map($1));
  },
  k1 = function (p) {
    return new Promise(function (B, E) {
      var S = p.contentWindow;
      if (!S) return E("No window assigned for iframe");
      var P = S.document;
      S.onload = p.onload = function () {
        S.onload = p.onload = null;
        var L = setInterval(function () {
          P.body.childNodes.length > 0 &&
            P.readyState === "complete" &&
            (clearInterval(L), B(p));
        }, 50);
      };
    });
  },
  q1 = ["all", "d", "content"],
  Ca = function (p, B) {
    for (var E = p.length - 1; E >= 0; E--) {
      var S = p.item(E);
      q1.indexOf(S) === -1 && B.style.setProperty(S, p.getPropertyValue(S));
    }
    return B;
  },
  _1 = function (p) {
    var B = "";
    return (
      p &&
        ((B += "<!DOCTYPE "),
        p.name && (B += p.name),
        p.internalSubset && (B += p.internalSubset),
        p.publicId && (B += '"' + p.publicId + '"'),
        p.systemId && (B += '"' + p.systemId + '"'),
        (B += ">")),
      B
    );
  },
  tB = function (p, B, E) {
    p &&
      p.defaultView &&
      (B !== p.defaultView.pageXOffset || E !== p.defaultView.pageYOffset) &&
      p.defaultView.scrollTo(B, E);
  },
  eB = function (p) {
    var B = p[0],
      E = p[1],
      S = p[2];
    ((B.scrollLeft = E), (B.scrollTop = S));
  },
  iB = ":before",
  sB = ":after",
  gA = "___html2canvas___pseudoelement_before",
  mA = "___html2canvas___pseudoelement_after",
  Al = `{
    content: "" !important;
    display: none !important;
}`,
  nB = function (p) {
    rB(
      p,
      "." +
        gA +
        iB +
        Al +
        `
         .` +
        mA +
        sB +
        Al,
    );
  },
  rB = function (p, B) {
    var E = p.ownerDocument;
    if (E) {
      var S = E.createElement("style");
      ((S.textContent = B), p.appendChild(S));
    }
  },
  Qf = (function () {
    function p() {}
    return (
      (p.getOrigin = function (B) {
        var E = p._link;
        return E
          ? ((E.href = B), (E.href = E.href), E.protocol + E.hostname + E.port)
          : "about:blank";
      }),
      (p.isSameOrigin = function (B) {
        return p.getOrigin(B) === p._origin;
      }),
      (p.setContext = function (B) {
        ((p._link = B.document.createElement("a")),
          (p._origin = p.getOrigin(B.location.href)));
      }),
      (p._origin = "about:blank"),
      p
    );
  })(),
  aB = (function () {
    function p(B, E) {
      ((this.context = B), (this._options = E), (this._cache = {}));
    }
    return (
      (p.prototype.addImage = function (B) {
        var E = Promise.resolve();
        return (
          this.has(B) ||
            ((Ea(B) || lB(B)) &&
              (this._cache[B] = this.loadImage(B)).catch(function () {})),
          E
        );
      }),
      (p.prototype.match = function (B) {
        return this._cache[B];
      }),
      (p.prototype.loadImage = function (B) {
        return he(this, void 0, void 0, function () {
          var E,
            S,
            P,
            L,
            d = _____WB$wombat$check$this$function_____(this);
          return se(this, function (y) {
            switch (y.label) {
              case 0:
                return (
                  (E = Qf.isSameOrigin(B)),
                  (S =
                    !Ta(B) &&
                    this._options.useCORS === !0 &&
                    _t.SUPPORT_CORS_IMAGES &&
                    !E),
                  (P =
                    !Ta(B) &&
                    !E &&
                    !Ea(B) &&
                    typeof this._options.proxy == "string" &&
                    _t.SUPPORT_CORS_XHR &&
                    !S),
                  !E &&
                  this._options.allowTaint === !1 &&
                  !Ta(B) &&
                  !Ea(B) &&
                  !P &&
                  !S
                    ? [2]
                    : ((L = B), P ? [4, this.proxy(L)] : [3, 2])
                );
              case 1:
                ((L = y.sent()), (y.label = 2));
              case 2:
                return (
                  this.context.logger.debug(
                    "Added image " + B.substring(0, 256),
                  ),
                  [
                    4,
                    new Promise(function (t, A) {
                      var c = new Image();
                      ((c.onload = function () {
                        return t(c);
                      }),
                        (c.onerror = A),
                        (uB(L) || S) && (c.crossOrigin = "anonymous"),
                        (c.src = L),
                        c.complete === !0 &&
                          setTimeout(function () {
                            return t(c);
                          }, 500),
                        d._options.imageTimeout > 0 &&
                          setTimeout(function () {
                            return A(
                              "Timed out (" +
                                d._options.imageTimeout +
                                "ms) loading image",
                            );
                          }, d._options.imageTimeout));
                    }),
                  ]
                );
              case 3:
                return [2, y.sent()];
            }
          });
        });
      }),
      (p.prototype.has = function (B) {
        return typeof this._cache[B] < "u";
      }),
      (p.prototype.keys = function () {
        return Promise.resolve(Object.keys(this._cache));
      }),
      (p.prototype.proxy = function (B) {
        var E = _____WB$wombat$check$this$function_____(this),
          S = this._options.proxy;
        if (!S) throw new Error("No proxy defined");
        var P = B.substring(0, 256);
        return new Promise(function (L, d) {
          var y = _t.SUPPORT_RESPONSE_TYPE ? "blob" : "text",
            t = new XMLHttpRequest();
          ((t.onload = function () {
            if (t.status === 200)
              if (y === "text") L(t.response);
              else {
                var a = new FileReader();
                (a.addEventListener(
                  "load",
                  function () {
                    return L(a.result);
                  },
                  !1,
                ),
                  a.addEventListener(
                    "error",
                    function (r) {
                      return d(r);
                    },
                    !1,
                  ),
                  a.readAsDataURL(t.response));
              }
            else
              d(
                "Failed to proxy resource " +
                  P +
                  " with status code " +
                  t.status,
              );
          }),
            (t.onerror = d));
          var A = S.indexOf("?") > -1 ? "&" : "?";
          if (
            (t.open(
              "GET",
              "" +
                S +
                A +
                "url=" +
                encodeURIComponent(B) +
                "&responseType=" +
                y,
            ),
            y !== "text" && t instanceof XMLHttpRequest && (t.responseType = y),
            E._options.imageTimeout)
          ) {
            var c = E._options.imageTimeout;
            ((t.timeout = c),
              (t.ontimeout = function () {
                return d("Timed out (" + c + "ms) proxying " + P);
              }));
          }
          t.send();
        });
      }),
      p
    );
  })(),
  AB = /^data:image\/svg\+xml/i,
  oB = /^data:image\/.*;base64,/i,
  hB = /^data:image\/.*/i,
  lB = function (p) {
    return _t.SUPPORT_SVG_DRAWING || !fB(p);
  },
  Ta = function (p) {
    return hB.test(p);
  },
  uB = function (p) {
    return oB.test(p);
  },
  Ea = function (p) {
    return p.substr(0, 4) === "blob";
  },
  fB = function (p) {
    return p.substr(-3).toLowerCase() === "svg" || AB.test(p);
  },
  ut = (function () {
    function p(B, E) {
      ((this.type = 0), (this.x = B), (this.y = E));
    }
    return (
      (p.prototype.add = function (B, E) {
        return new p(this.x + B, this.y + E);
      }),
      p
    );
  })(),
  Xi = function (p, B, E) {
    return new ut(p.x + (B.x - p.x) * E, p.y + (B.y - p.y) * E);
  },
  Nn = (function () {
    function p(B, E, S, P) {
      ((this.type = 1),
        (this.start = B),
        (this.startControl = E),
        (this.endControl = S),
        (this.end = P));
    }
    return (
      (p.prototype.subdivide = function (B, E) {
        var S = Xi(this.start, this.startControl, B),
          P = Xi(this.startControl, this.endControl, B),
          L = Xi(this.endControl, this.end, B),
          d = Xi(S, P, B),
          y = Xi(P, L, B),
          t = Xi(d, y, B);
        return E ? new p(this.start, S, d, t) : new p(t, y, L, this.end);
      }),
      (p.prototype.add = function (B, E) {
        return new p(
          this.start.add(B, E),
          this.startControl.add(B, E),
          this.endControl.add(B, E),
          this.end.add(B, E),
        );
      }),
      (p.prototype.reverse = function () {
        return new p(this.end, this.endControl, this.startControl, this.start);
      }),
      p
    );
  })(),
  Be = function (p) {
    return p.type === 1;
  },
  dB = (function () {
    function p(B) {
      var E = B.styles,
        S = B.bounds,
        P = Ls(E.borderTopLeftRadius, S.width, S.height),
        L = P[0],
        d = P[1],
        y = Ls(E.borderTopRightRadius, S.width, S.height),
        t = y[0],
        A = y[1],
        c = Ls(E.borderBottomRightRadius, S.width, S.height),
        a = c[0],
        r = c[1],
        n = Ls(E.borderBottomLeftRadius, S.width, S.height),
        e = n[0],
        s = n[1],
        u = [];
      (u.push((L + t) / S.width),
        u.push((e + a) / S.width),
        u.push((d + s) / S.height),
        u.push((A + r) / S.height));
      var i = Math.max.apply(Math, u);
      i > 1 &&
        ((L /= i),
        (d /= i),
        (t /= i),
        (A /= i),
        (a /= i),
        (r /= i),
        (e /= i),
        (s /= i));
      var o = S.width - t,
        h = S.height - r,
        l = S.width - a,
        f = S.height - s,
        v = E.borderTopWidth,
        m = E.borderRightWidth,
        x = E.borderBottomWidth,
        g = E.borderLeftWidth,
        C = Ot(E.paddingTop, B.bounds.width),
        T = Ot(E.paddingRight, B.bounds.width),
        F = Ot(E.paddingBottom, B.bounds.width),
        w = Ot(E.paddingLeft, B.bounds.width);
      ((this.topLeftBorderDoubleOuterBox =
        L > 0 || d > 0
          ? Nt(S.left + g / 3, S.top + v / 3, L - g / 3, d - v / 3, Mt.TOP_LEFT)
          : new ut(S.left + g / 3, S.top + v / 3)),
        (this.topRightBorderDoubleOuterBox =
          L > 0 || d > 0
            ? Nt(S.left + o, S.top + v / 3, t - m / 3, A - v / 3, Mt.TOP_RIGHT)
            : new ut(S.left + S.width - m / 3, S.top + v / 3)),
        (this.bottomRightBorderDoubleOuterBox =
          a > 0 || r > 0
            ? Nt(S.left + l, S.top + h, a - m / 3, r - x / 3, Mt.BOTTOM_RIGHT)
            : new ut(S.left + S.width - m / 3, S.top + S.height - x / 3)),
        (this.bottomLeftBorderDoubleOuterBox =
          e > 0 || s > 0
            ? Nt(
                S.left + g / 3,
                S.top + f,
                e - g / 3,
                s - x / 3,
                Mt.BOTTOM_LEFT,
              )
            : new ut(S.left + g / 3, S.top + S.height - x / 3)),
        (this.topLeftBorderDoubleInnerBox =
          L > 0 || d > 0
            ? Nt(
                S.left + (g * 2) / 3,
                S.top + (v * 2) / 3,
                L - (g * 2) / 3,
                d - (v * 2) / 3,
                Mt.TOP_LEFT,
              )
            : new ut(S.left + (g * 2) / 3, S.top + (v * 2) / 3)),
        (this.topRightBorderDoubleInnerBox =
          L > 0 || d > 0
            ? Nt(
                S.left + o,
                S.top + (v * 2) / 3,
                t - (m * 2) / 3,
                A - (v * 2) / 3,
                Mt.TOP_RIGHT,
              )
            : new ut(S.left + S.width - (m * 2) / 3, S.top + (v * 2) / 3)),
        (this.bottomRightBorderDoubleInnerBox =
          a > 0 || r > 0
            ? Nt(
                S.left + l,
                S.top + h,
                a - (m * 2) / 3,
                r - (x * 2) / 3,
                Mt.BOTTOM_RIGHT,
              )
            : new ut(
                S.left + S.width - (m * 2) / 3,
                S.top + S.height - (x * 2) / 3,
              )),
        (this.bottomLeftBorderDoubleInnerBox =
          e > 0 || s > 0
            ? Nt(
                S.left + (g * 2) / 3,
                S.top + f,
                e - (g * 2) / 3,
                s - (x * 2) / 3,
                Mt.BOTTOM_LEFT,
              )
            : new ut(S.left + (g * 2) / 3, S.top + S.height - (x * 2) / 3)),
        (this.topLeftBorderStroke =
          L > 0 || d > 0
            ? Nt(
                S.left + g / 2,
                S.top + v / 2,
                L - g / 2,
                d - v / 2,
                Mt.TOP_LEFT,
              )
            : new ut(S.left + g / 2, S.top + v / 2)),
        (this.topRightBorderStroke =
          L > 0 || d > 0
            ? Nt(S.left + o, S.top + v / 2, t - m / 2, A - v / 2, Mt.TOP_RIGHT)
            : new ut(S.left + S.width - m / 2, S.top + v / 2)),
        (this.bottomRightBorderStroke =
          a > 0 || r > 0
            ? Nt(S.left + l, S.top + h, a - m / 2, r - x / 2, Mt.BOTTOM_RIGHT)
            : new ut(S.left + S.width - m / 2, S.top + S.height - x / 2)),
        (this.bottomLeftBorderStroke =
          e > 0 || s > 0
            ? Nt(
                S.left + g / 2,
                S.top + f,
                e - g / 2,
                s - x / 2,
                Mt.BOTTOM_LEFT,
              )
            : new ut(S.left + g / 2, S.top + S.height - x / 2)),
        (this.topLeftBorderBox =
          L > 0 || d > 0
            ? Nt(S.left, S.top, L, d, Mt.TOP_LEFT)
            : new ut(S.left, S.top)),
        (this.topRightBorderBox =
          t > 0 || A > 0
            ? Nt(S.left + o, S.top, t, A, Mt.TOP_RIGHT)
            : new ut(S.left + S.width, S.top)),
        (this.bottomRightBorderBox =
          a > 0 || r > 0
            ? Nt(S.left + l, S.top + h, a, r, Mt.BOTTOM_RIGHT)
            : new ut(S.left + S.width, S.top + S.height)),
        (this.bottomLeftBorderBox =
          e > 0 || s > 0
            ? Nt(S.left, S.top + f, e, s, Mt.BOTTOM_LEFT)
            : new ut(S.left, S.top + S.height)),
        (this.topLeftPaddingBox =
          L > 0 || d > 0
            ? Nt(
                S.left + g,
                S.top + v,
                Math.max(0, L - g),
                Math.max(0, d - v),
                Mt.TOP_LEFT,
              )
            : new ut(S.left + g, S.top + v)),
        (this.topRightPaddingBox =
          t > 0 || A > 0
            ? Nt(
                S.left + Math.min(o, S.width - m),
                S.top + v,
                o > S.width + m ? 0 : Math.max(0, t - m),
                Math.max(0, A - v),
                Mt.TOP_RIGHT,
              )
            : new ut(S.left + S.width - m, S.top + v)),
        (this.bottomRightPaddingBox =
          a > 0 || r > 0
            ? Nt(
                S.left + Math.min(l, S.width - g),
                S.top + Math.min(h, S.height - x),
                Math.max(0, a - m),
                Math.max(0, r - x),
                Mt.BOTTOM_RIGHT,
              )
            : new ut(S.left + S.width - m, S.top + S.height - x)),
        (this.bottomLeftPaddingBox =
          e > 0 || s > 0
            ? Nt(
                S.left + g,
                S.top + Math.min(f, S.height - x),
                Math.max(0, e - g),
                Math.max(0, s - x),
                Mt.BOTTOM_LEFT,
              )
            : new ut(S.left + g, S.top + S.height - x)),
        (this.topLeftContentBox =
          L > 0 || d > 0
            ? Nt(
                S.left + g + w,
                S.top + v + C,
                Math.max(0, L - (g + w)),
                Math.max(0, d - (v + C)),
                Mt.TOP_LEFT,
              )
            : new ut(S.left + g + w, S.top + v + C)),
        (this.topRightContentBox =
          t > 0 || A > 0
            ? Nt(
                S.left + Math.min(o, S.width + g + w),
                S.top + v + C,
                o > S.width + g + w ? 0 : t - g + w,
                A - (v + C),
                Mt.TOP_RIGHT,
              )
            : new ut(S.left + S.width - (m + T), S.top + v + C)),
        (this.bottomRightContentBox =
          a > 0 || r > 0
            ? Nt(
                S.left + Math.min(l, S.width - (g + w)),
                S.top + Math.min(h, S.height + v + C),
                Math.max(0, a - (m + T)),
                r - (x + F),
                Mt.BOTTOM_RIGHT,
              )
            : new ut(S.left + S.width - (m + T), S.top + S.height - (x + F))),
        (this.bottomLeftContentBox =
          e > 0 || s > 0
            ? Nt(
                S.left + g + w,
                S.top + f,
                Math.max(0, e - (g + w)),
                s - (x + F),
                Mt.BOTTOM_LEFT,
              )
            : new ut(S.left + g + w, S.top + S.height - (x + F))));
    }
    return p;
  })(),
  Mt;
(function (p) {
  ((p[(p.TOP_LEFT = 0)] = "TOP_LEFT"),
    (p[(p.TOP_RIGHT = 1)] = "TOP_RIGHT"),
    (p[(p.BOTTOM_RIGHT = 2)] = "BOTTOM_RIGHT"),
    (p[(p.BOTTOM_LEFT = 3)] = "BOTTOM_LEFT"));
})(Mt || (Mt = {}));
var Nt = function (p, B, E, S, P) {
    var L = 4 * ((Math.sqrt(2) - 1) / 3),
      d = E * L,
      y = S * L,
      t = p + E,
      A = B + S;
    switch (P) {
      case Mt.TOP_LEFT:
        return new Nn(
          new ut(p, A),
          new ut(p, A - y),
          new ut(t - d, B),
          new ut(t, B),
        );
      case Mt.TOP_RIGHT:
        return new Nn(
          new ut(p, B),
          new ut(p + d, B),
          new ut(t, A - y),
          new ut(t, A),
        );
      case Mt.BOTTOM_RIGHT:
        return new Nn(
          new ut(t, B),
          new ut(t, B + y),
          new ut(p + d, A),
          new ut(p, A),
        );
      case Mt.BOTTOM_LEFT:
      default:
        return new Nn(
          new ut(t, A),
          new ut(t - d, A),
          new ut(p, B + y),
          new ut(p, B),
        );
    }
  },
  vr = function (p) {
    return [
      p.topLeftBorderBox,
      p.topRightBorderBox,
      p.bottomRightBorderBox,
      p.bottomLeftBorderBox,
    ];
  },
  cB = function (p) {
    return [
      p.topLeftContentBox,
      p.topRightContentBox,
      p.bottomRightContentBox,
      p.bottomLeftContentBox,
    ];
  },
  pr = function (p) {
    return [
      p.topLeftPaddingBox,
      p.topRightPaddingBox,
      p.bottomRightPaddingBox,
      p.bottomLeftPaddingBox,
    ];
  },
  vB = (function () {
    function p(B, E, S) {
      ((this.offsetX = B),
        (this.offsetY = E),
        (this.matrix = S),
        (this.type = 0),
        (this.target = 6));
    }
    return p;
  })(),
  Gn = (function () {
    function p(B, E) {
      ((this.path = B), (this.target = E), (this.type = 1));
    }
    return p;
  })(),
  pB = (function () {
    function p(B) {
      ((this.opacity = B), (this.type = 2), (this.target = 6));
    }
    return p;
  })(),
  gB = function (p) {
    return p.type === 0;
  },
  Df = function (p) {
    return p.type === 1;
  },
  mB = function (p) {
    return p.type === 2;
  },
  ol = function (p, B) {
    return p.length === B.length
      ? p.some(function (E, S) {
          return E === B[S];
        })
      : !1;
  },
  xB = function (p, B, E, S, P) {
    return p.map(function (L, d) {
      switch (d) {
        case 0:
          return L.add(B, E);
        case 1:
          return L.add(B + S, E);
        case 2:
          return L.add(B + S, E + P);
        case 3:
          return L.add(B, E + P);
      }
      return L;
    });
  },
  Hf = (function () {
    function p(B) {
      ((this.element = B),
        (this.inlineLevel = []),
        (this.nonInlineLevel = []),
        (this.negativeZIndex = []),
        (this.zeroOrAutoZIndexOrTransformedOrOpacity = []),
        (this.positiveZIndex = []),
        (this.nonPositionedFloats = []),
        (this.nonPositionedInlineLevel = []));
    }
    return p;
  })(),
  Nf = (function () {
    function p(B, E) {
      if (
        ((this.container = B),
        (_____WB$wombat$check$this$function_____(this).parent = E),
        (this.effects = []),
        (this.curves = new dB(this.container)),
        this.container.styles.opacity < 1 &&
          this.effects.push(new pB(this.container.styles.opacity)),
        this.container.styles.transform !== null)
      ) {
        var S =
            this.container.bounds.left +
            this.container.styles.transformOrigin[0].number,
          P =
            this.container.bounds.top +
            this.container.styles.transformOrigin[1].number,
          L = this.container.styles.transform;
        this.effects.push(new vB(S, P, L));
      }
      if (this.container.styles.overflowX !== 0) {
        var d = vr(this.curves),
          y = pr(this.curves);
        ol(d, y)
          ? this.effects.push(new Gn(d, 6))
          : (this.effects.push(new Gn(d, 2)), this.effects.push(new Gn(y, 4)));
      }
    }
    return (
      (p.prototype.getEffects = function (B) {
        for (
          var E = [2, 3].indexOf(this.container.styles.position) === -1,
            S = _____WB$wombat$check$this$function_____(this).parent,
            P = this.effects.slice(0);
          S;
        ) {
          var L = S.effects.filter(function (t) {
            return !Df(t);
          });
          if (E || S.container.styles.position !== 0 || !S.parent) {
            if (
              (P.unshift.apply(P, L),
              (E = [2, 3].indexOf(S.container.styles.position) === -1),
              S.container.styles.overflowX !== 0)
            ) {
              var d = vr(S.curves),
                y = pr(S.curves);
              ol(d, y) || P.unshift(new Gn(y, 6));
            }
          } else P.unshift.apply(P, L);
          S = S.parent;
        }
        return P.filter(function (t) {
          return Kt(t.target, B);
        });
      }),
      p
    );
  })(),
  xA = function (p, B, E, S) {
    p.container.elements.forEach(function (P) {
      var L = Kt(P.flags, 4),
        d = Kt(P.flags, 2),
        y = new Nf(P, p);
      Kt(P.styles.display, 2048) && S.push(y);
      var t = Kt(P.flags, 8) ? [] : S;
      if (L || d) {
        var A = L || P.styles.isPositioned() ? E : B,
          c = new Hf(y);
        if (
          P.styles.isPositioned() ||
          P.styles.opacity < 1 ||
          P.styles.isTransformed()
        ) {
          var a = P.styles.zIndex.order;
          if (a < 0) {
            var r = 0;
            (A.negativeZIndex.some(function (e, s) {
              return a > e.element.container.styles.zIndex.order
                ? ((r = s), !1)
                : r > 0;
            }),
              A.negativeZIndex.splice(r, 0, c));
          } else if (a > 0) {
            var n = 0;
            (A.positiveZIndex.some(function (e, s) {
              return a >= e.element.container.styles.zIndex.order
                ? ((n = s + 1), !1)
                : n > 0;
            }),
              A.positiveZIndex.splice(n, 0, c));
          } else A.zeroOrAutoZIndexOrTransformedOrOpacity.push(c);
        } else
          P.styles.isFloating()
            ? A.nonPositionedFloats.push(c)
            : A.nonPositionedInlineLevel.push(c);
        xA(y, c, L ? c : E, t);
      } else
        (P.styles.isInlineLevel()
          ? B.inlineLevel.push(y)
          : B.nonInlineLevel.push(y),
          xA(y, B, E, t));
      Kt(P.flags, 8) && Gf(P, t);
    });
  },
  Gf = function (p, B) {
    for (
      var E = p instanceof cA ? p.start : 1,
        S = p instanceof cA ? p.reversed : !1,
        P = 0;
      P < B.length;
      P++
    ) {
      var L = B[P];
      (L.container instanceof Cf &&
        typeof L.container.value == "number" &&
        L.container.value !== 0 &&
        (E = L.container.value),
        (L.listValue = tn(E, L.container.styles.listStyleType, !0)),
        (E += S ? -1 : 1));
    }
  },
  BB = function (p) {
    var B = new Nf(p, null),
      E = new Hf(B),
      S = [];
    return (xA(B, E, E, S), Gf(B.container, S), E);
  },
  hl = function (p, B) {
    switch (B) {
      case 0:
        return Ce(
          p.topLeftBorderBox,
          p.topLeftPaddingBox,
          p.topRightBorderBox,
          p.topRightPaddingBox,
        );
      case 1:
        return Ce(
          p.topRightBorderBox,
          p.topRightPaddingBox,
          p.bottomRightBorderBox,
          p.bottomRightPaddingBox,
        );
      case 2:
        return Ce(
          p.bottomRightBorderBox,
          p.bottomRightPaddingBox,
          p.bottomLeftBorderBox,
          p.bottomLeftPaddingBox,
        );
      case 3:
      default:
        return Ce(
          p.bottomLeftBorderBox,
          p.bottomLeftPaddingBox,
          p.topLeftBorderBox,
          p.topLeftPaddingBox,
        );
    }
  },
  yB = function (p, B) {
    switch (B) {
      case 0:
        return Ce(
          p.topLeftBorderBox,
          p.topLeftBorderDoubleOuterBox,
          p.topRightBorderBox,
          p.topRightBorderDoubleOuterBox,
        );
      case 1:
        return Ce(
          p.topRightBorderBox,
          p.topRightBorderDoubleOuterBox,
          p.bottomRightBorderBox,
          p.bottomRightBorderDoubleOuterBox,
        );
      case 2:
        return Ce(
          p.bottomRightBorderBox,
          p.bottomRightBorderDoubleOuterBox,
          p.bottomLeftBorderBox,
          p.bottomLeftBorderDoubleOuterBox,
        );
      case 3:
      default:
        return Ce(
          p.bottomLeftBorderBox,
          p.bottomLeftBorderDoubleOuterBox,
          p.topLeftBorderBox,
          p.topLeftBorderDoubleOuterBox,
        );
    }
  },
  CB = function (p, B) {
    switch (B) {
      case 0:
        return Ce(
          p.topLeftBorderDoubleInnerBox,
          p.topLeftPaddingBox,
          p.topRightBorderDoubleInnerBox,
          p.topRightPaddingBox,
        );
      case 1:
        return Ce(
          p.topRightBorderDoubleInnerBox,
          p.topRightPaddingBox,
          p.bottomRightBorderDoubleInnerBox,
          p.bottomRightPaddingBox,
        );
      case 2:
        return Ce(
          p.bottomRightBorderDoubleInnerBox,
          p.bottomRightPaddingBox,
          p.bottomLeftBorderDoubleInnerBox,
          p.bottomLeftPaddingBox,
        );
      case 3:
      default:
        return Ce(
          p.bottomLeftBorderDoubleInnerBox,
          p.bottomLeftPaddingBox,
          p.topLeftBorderDoubleInnerBox,
          p.topLeftPaddingBox,
        );
    }
  },
  TB = function (p, B) {
    switch (B) {
      case 0:
        return bn(p.topLeftBorderStroke, p.topRightBorderStroke);
      case 1:
        return bn(p.topRightBorderStroke, p.bottomRightBorderStroke);
      case 2:
        return bn(p.bottomRightBorderStroke, p.bottomLeftBorderStroke);
      case 3:
      default:
        return bn(p.bottomLeftBorderStroke, p.topLeftBorderStroke);
    }
  },
  bn = function (p, B) {
    var E = [];
    return (
      Be(p) ? E.push(p.subdivide(0.5, !1)) : E.push(p),
      Be(B) ? E.push(B.subdivide(0.5, !0)) : E.push(B),
      E
    );
  },
  Ce = function (p, B, E, S) {
    var P = [];
    return (
      Be(p) ? P.push(p.subdivide(0.5, !1)) : P.push(p),
      Be(E) ? P.push(E.subdivide(0.5, !0)) : P.push(E),
      Be(S) ? P.push(S.subdivide(0.5, !0).reverse()) : P.push(S),
      Be(B) ? P.push(B.subdivide(0.5, !1).reverse()) : P.push(B),
      P
    );
  },
  bf = function (p) {
    var B = p.bounds,
      E = p.styles;
    return B.add(
      E.borderLeftWidth,
      E.borderTopWidth,
      -(E.borderRightWidth + E.borderLeftWidth),
      -(E.borderTopWidth + E.borderBottomWidth),
    );
  },
  gr = function (p) {
    var B = p.styles,
      E = p.bounds,
      S = Ot(B.paddingLeft, E.width),
      P = Ot(B.paddingRight, E.width),
      L = Ot(B.paddingTop, E.width),
      d = Ot(B.paddingBottom, E.width);
    return E.add(
      S + B.borderLeftWidth,
      L + B.borderTopWidth,
      -(B.borderRightWidth + B.borderLeftWidth + S + P),
      -(B.borderTopWidth + B.borderBottomWidth + L + d),
    );
  },
  EB = function (p, B) {
    return p === 0 ? B.bounds : p === 2 ? gr(B) : bf(B);
  },
  FB = function (p, B) {
    return p === 0 ? B.bounds : p === 2 ? gr(B) : bf(B);
  },
  Fa = function (p, B, E) {
    var S = EB(Ji(p.styles.backgroundOrigin, B), p),
      P = FB(Ji(p.styles.backgroundClip, B), p),
      L = SB(Ji(p.styles.backgroundSize, B), E, S),
      d = L[0],
      y = L[1],
      t = Ls(Ji(p.styles.backgroundPosition, B), S.width - d, S.height - y),
      A = wB(Ji(p.styles.backgroundRepeat, B), t, L, S, P),
      c = Math.round(S.left + t[0]),
      a = Math.round(S.top + t[1]);
    return [A, c, a, d, y];
  },
  Yi = function (p) {
    return Rt(p) && p.value === es.AUTO;
  },
  Vn = function (p) {
    return typeof p == "number";
  },
  SB = function (p, B, E) {
    var S = B[0],
      P = B[1],
      L = B[2],
      d = p[0],
      y = p[1];
    if (!d) return [0, 0];
    if (Yt(d) && y && Yt(y)) return [Ot(d, E.width), Ot(y, E.height)];
    var t = Vn(L);
    if (Rt(d) && (d.value === es.CONTAIN || d.value === es.COVER)) {
      if (Vn(L)) {
        var A = E.width / E.height;
        return A < L != (d.value === es.COVER)
          ? [E.width, E.width / L]
          : [E.height * L, E.height];
      }
      return [E.width, E.height];
    }
    var c = Vn(S),
      a = Vn(P),
      r = c || a;
    if (Yi(d) && (!y || Yi(y))) {
      if (c && a) return [S, P];
      if (!t && !r) return [E.width, E.height];
      if (r && t) {
        var n = c ? S : P * L,
          e = a ? P : S / L;
        return [n, e];
      }
      var s = c ? S : E.width,
        u = a ? P : E.height;
      return [s, u];
    }
    if (t) {
      var i = 0,
        o = 0;
      return (
        Yt(d) ? (i = Ot(d, E.width)) : Yt(y) && (o = Ot(y, E.height)),
        Yi(d) ? (i = o * L) : (!y || Yi(y)) && (o = i / L),
        [i, o]
      );
    }
    var h = null,
      l = null;
    if (
      (Yt(d) ? (h = Ot(d, E.width)) : y && Yt(y) && (l = Ot(y, E.height)),
      h !== null && (!y || Yi(y)) && (l = c && a ? (h / S) * P : E.height),
      l !== null && Yi(d) && (h = c && a ? (l / P) * S : E.width),
      h !== null && l !== null)
    )
      return [h, l];
    throw new Error("Unable to calculate background-size for element");
  },
  Ji = function (p, B) {
    var E = p[B];
    return typeof E > "u" ? p[0] : E;
  },
  wB = function (p, B, E, S, P) {
    var L = B[0],
      d = B[1],
      y = E[0],
      t = E[1];
    switch (p) {
      case 2:
        return [
          new ut(Math.round(S.left), Math.round(S.top + d)),
          new ut(Math.round(S.left + S.width), Math.round(S.top + d)),
          new ut(Math.round(S.left + S.width), Math.round(t + S.top + d)),
          new ut(Math.round(S.left), Math.round(t + S.top + d)),
        ];
      case 3:
        return [
          new ut(Math.round(S.left + L), Math.round(S.top)),
          new ut(Math.round(S.left + L + y), Math.round(S.top)),
          new ut(Math.round(S.left + L + y), Math.round(S.height + S.top)),
          new ut(Math.round(S.left + L), Math.round(S.height + S.top)),
        ];
      case 1:
        return [
          new ut(Math.round(S.left + L), Math.round(S.top + d)),
          new ut(Math.round(S.left + L + y), Math.round(S.top + d)),
          new ut(Math.round(S.left + L + y), Math.round(S.top + d + t)),
          new ut(Math.round(S.left + L), Math.round(S.top + d + t)),
        ];
      default:
        return [
          new ut(Math.round(P.left), Math.round(P.top)),
          new ut(Math.round(P.left + P.width), Math.round(P.top)),
          new ut(Math.round(P.left + P.width), Math.round(P.height + P.top)),
          new ut(Math.round(P.left), Math.round(P.height + P.top)),
        ];
    }
  },
  MB =
    "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",
  ll = "Hidden Text",
  PB = (function () {
    function p(B) {
      ((this._data = {}), (this._document = B));
    }
    return (
      (p.prototype.parseMetrics = function (B, E) {
        var S = this._document.createElement("div"),
          P = this._document.createElement("img"),
          L = this._document.createElement("span"),
          d = this._document.body;
        ((S.style.visibility = "hidden"),
          (S.style.fontFamily = B),
          (S.style.fontSize = E),
          (S.style.margin = "0"),
          (S.style.padding = "0"),
          (S.style.whiteSpace = "nowrap"),
          d.appendChild(S),
          (P.src = MB),
          (P.width = 1),
          (P.height = 1),
          (P.style.margin = "0"),
          (P.style.padding = "0"),
          (P.style.verticalAlign = "baseline"),
          (L.style.fontFamily = B),
          (L.style.fontSize = E),
          (L.style.margin = "0"),
          (L.style.padding = "0"),
          L.appendChild(this._document.createTextNode(ll)),
          S.appendChild(L),
          S.appendChild(P));
        var y = P.offsetTop - L.offsetTop + 2;
        (S.removeChild(L),
          S.appendChild(this._document.createTextNode(ll)),
          (S.style.lineHeight = "normal"),
          (P.style.verticalAlign = "super"));
        var t = P.offsetTop - S.offsetTop + 2;
        return (d.removeChild(S), { baseline: y, middle: t });
      }),
      (p.prototype.getMetrics = function (B, E) {
        var S = B + " " + E;
        return (
          typeof this._data[S] > "u" &&
            (this._data[S] = this.parseMetrics(B, E)),
          this._data[S]
        );
      }),
      p
    );
  })(),
  Vf = (function () {
    function p(B, E) {
      ((this.context = B), (this.options = E));
    }
    return p;
  })(),
  UB = 1e4,
  RB = (function (p) {
    Ue(B, p);
    function B(E, S) {
      var P =
        p.call(this, E, S) || _____WB$wombat$check$this$function_____(this);
      return (
        (P._activeEffects = []),
        (P.canvas = S.canvas ? S.canvas : document.createElement("canvas")),
        (P.ctx = P.canvas.getContext("2d")),
        S.canvas ||
          ((P.canvas.width = Math.floor(S.width * S.scale)),
          (P.canvas.height = Math.floor(S.height * S.scale)),
          (P.canvas.style.width = S.width + "px"),
          (P.canvas.style.height = S.height + "px")),
        (P.fontMetrics = new PB(document)),
        P.ctx.scale(P.options.scale, P.options.scale),
        P.ctx.translate(-S.x, -S.y),
        (P.ctx.textBaseline = "bottom"),
        (P._activeEffects = []),
        P.context.logger.debug(
          "Canvas renderer initialized (" +
            S.width +
            "x" +
            S.height +
            ") with scale " +
            S.scale,
        ),
        P
      );
    }
    return (
      (B.prototype.applyEffects = function (E) {
        for (
          var S = _____WB$wombat$check$this$function_____(this);
          this._activeEffects.length;
        )
          this.popEffect();
        E.forEach(function (P) {
          return S.applyEffect(P);
        });
      }),
      (B.prototype.applyEffect = function (E) {
        (this.ctx.save(),
          mB(E) && (this.ctx.globalAlpha = E.opacity),
          gB(E) &&
            (this.ctx.translate(E.offsetX, E.offsetY),
            this.ctx.transform(
              E.matrix[0],
              E.matrix[1],
              E.matrix[2],
              E.matrix[3],
              E.matrix[4],
              E.matrix[5],
            ),
            this.ctx.translate(-E.offsetX, -E.offsetY)),
          Df(E) && (this.path(E.path), this.ctx.clip()),
          this._activeEffects.push(E));
      }),
      (B.prototype.popEffect = function () {
        (this._activeEffects.pop(), this.ctx.restore());
      }),
      (B.prototype.renderStack = function (E) {
        return he(this, void 0, void 0, function () {
          var S;
          return se(this, function (P) {
            switch (P.label) {
              case 0:
                return (
                  (S = E.element.container.styles),
                  S.isVisible() ? [4, this.renderStackContent(E)] : [3, 2]
                );
              case 1:
                (P.sent(), (P.label = 2));
              case 2:
                return [2];
            }
          });
        });
      }),
      (B.prototype.renderNode = function (E) {
        return he(this, void 0, void 0, function () {
          return se(this, function (S) {
            switch (S.label) {
              case 0:
                if (Kt(E.container.flags, 16)) debugger;
                return E.container.styles.isVisible()
                  ? [4, this.renderNodeBackgroundAndBorders(E)]
                  : [3, 3];
              case 1:
                return (S.sent(), [4, this.renderNodeContent(E)]);
              case 2:
                (S.sent(), (S.label = 3));
              case 3:
                return [2];
            }
          });
        });
      }),
      (B.prototype.renderTextWithLetterSpacing = function (E, S, P) {
        var L = _____WB$wombat$check$this$function_____(this);
        if (S === 0) this.ctx.fillText(E.text, E.bounds.left, E.bounds.top + P);
        else {
          var d = _A(E.text);
          d.reduce(function (y, t) {
            return (
              L.ctx.fillText(t, y, E.bounds.top + P),
              y + L.ctx.measureText(t).width
            );
          }, E.bounds.left);
        }
      }),
      (B.prototype.createFontStyle = function (E) {
        var S = E.fontVariant
            .filter(function (d) {
              return d === "normal" || d === "small-caps";
            })
            .join(""),
          P = DB(E.fontFamily).join(", "),
          L = ln(E.fontSize)
            ? "" + E.fontSize.number + E.fontSize.unit
            : E.fontSize.number + "px";
        return [[E.fontStyle, S, E.fontWeight, L, P].join(" "), P, L];
      }),
      (B.prototype.renderTextNode = function (E, S) {
        return he(this, void 0, void 0, function () {
          var P,
            L,
            d,
            y,
            t,
            A,
            c,
            a,
            r = _____WB$wombat$check$this$function_____(this);
          return se(this, function (n) {
            return (
              (P = this.createFontStyle(S)),
              (L = P[0]),
              (d = P[1]),
              (y = P[2]),
              (this.ctx.font = L),
              (this.ctx.direction = S.direction === 1 ? "rtl" : "ltr"),
              (this.ctx.textAlign = "left"),
              (this.ctx.textBaseline = "alphabetic"),
              (t = this.fontMetrics.getMetrics(d, y)),
              (A = t.baseline),
              (c = t.middle),
              (a = S.paintOrder),
              E.textBounds.forEach(function (e) {
                a.forEach(function (s) {
                  switch (s) {
                    case 0:
                      ((r.ctx.fillStyle = jt(S.color)),
                        r.renderTextWithLetterSpacing(e, S.letterSpacing, A));
                      var u = S.textShadow;
                      (u.length &&
                        e.text.trim().length &&
                        (u
                          .slice(0)
                          .reverse()
                          .forEach(function (i) {
                            ((r.ctx.shadowColor = jt(i.color)),
                              (r.ctx.shadowOffsetX =
                                i.offsetX.number * r.options.scale),
                              (r.ctx.shadowOffsetY =
                                i.offsetY.number * r.options.scale),
                              (r.ctx.shadowBlur = i.blur.number),
                              r.renderTextWithLetterSpacing(
                                e,
                                S.letterSpacing,
                                A,
                              ));
                          }),
                        (r.ctx.shadowColor = ""),
                        (r.ctx.shadowOffsetX = 0),
                        (r.ctx.shadowOffsetY = 0),
                        (r.ctx.shadowBlur = 0)),
                        S.textDecorationLine.length &&
                          ((r.ctx.fillStyle = jt(
                            S.textDecorationColor || S.color,
                          )),
                          S.textDecorationLine.forEach(function (i) {
                            switch (i) {
                              case 1:
                                r.ctx.fillRect(
                                  e.bounds.left,
                                  Math.round(e.bounds.top + A),
                                  e.bounds.width,
                                  1,
                                );
                                break;
                              case 2:
                                r.ctx.fillRect(
                                  e.bounds.left,
                                  Math.round(e.bounds.top),
                                  e.bounds.width,
                                  1,
                                );
                                break;
                              case 3:
                                r.ctx.fillRect(
                                  e.bounds.left,
                                  Math.ceil(e.bounds.top + c),
                                  e.bounds.width,
                                  1,
                                );
                                break;
                            }
                          })));
                      break;
                    case 1:
                      (S.webkitTextStrokeWidth &&
                        e.text.trim().length &&
                        ((r.ctx.strokeStyle = jt(S.webkitTextStrokeColor)),
                        (r.ctx.lineWidth = S.webkitTextStrokeWidth),
                        (r.ctx.lineJoin = window.chrome ? "miter" : "round"),
                        r.ctx.strokeText(
                          e.text,
                          e.bounds.left,
                          e.bounds.top + A,
                        )),
                        (r.ctx.strokeStyle = ""),
                        (r.ctx.lineWidth = 0),
                        (r.ctx.lineJoin = "miter"));
                      break;
                  }
                });
              }),
              [2]
            );
          });
        });
      }),
      (B.prototype.renderReplacedElement = function (E, S, P) {
        if (P && E.intrinsicWidth > 0 && E.intrinsicHeight > 0) {
          var L = gr(E),
            d = pr(S);
          (this.path(d),
            this.ctx.save(),
            this.ctx.clip(),
            this.ctx.drawImage(
              P,
              0,
              0,
              E.intrinsicWidth,
              E.intrinsicHeight,
              L.left,
              L.top,
              L.width,
              L.height,
            ),
            this.ctx.restore());
        }
      }),
      (B.prototype.renderNodeContent = function (E) {
        return he(this, void 0, void 0, function () {
          var S,
            P,
            L,
            d,
            y,
            t,
            o,
            o,
            A,
            c,
            a,
            r,
            l,
            n,
            e,
            f,
            s,
            u,
            i,
            o,
            h,
            l,
            f;
          return se(this, function (v) {
            switch (v.label) {
              case 0:
                (this.applyEffects(E.getEffects(4)),
                  (S = E.container),
                  (P = E.curves),
                  (L = S.styles),
                  (d = 0),
                  (y = S.textNodes),
                  (v.label = 1));
              case 1:
                return d < y.length
                  ? ((t = y[d]), [4, this.renderTextNode(t, L)])
                  : [3, 4];
              case 2:
                (v.sent(), (v.label = 3));
              case 3:
                return (d++, [3, 1]);
              case 4:
                if (!(S instanceof xf)) return [3, 8];
                v.label = 5;
              case 5:
                return (
                  v.trys.push([5, 7, , 8]),
                  [4, this.context.cache.match(S.src)]
                );
              case 6:
                return (
                  (o = v.sent()),
                  this.renderReplacedElement(S, P, o),
                  [3, 8]
                );
              case 7:
                return (
                  v.sent(),
                  this.context.logger.error("Error loading image " + S.src),
                  [3, 8]
                );
              case 8:
                if (
                  (S instanceof Bf &&
                    this.renderReplacedElement(S, P, S.canvas),
                  !(S instanceof yf))
                )
                  return [3, 12];
                v.label = 9;
              case 9:
                return (
                  v.trys.push([9, 11, , 12]),
                  [4, this.context.cache.match(S.svg)]
                );
              case 10:
                return (
                  (o = v.sent()),
                  this.renderReplacedElement(S, P, o),
                  [3, 12]
                );
              case 11:
                return (
                  v.sent(),
                  this.context.logger.error(
                    "Error loading svg " + S.svg.substring(0, 255),
                  ),
                  [3, 12]
                );
              case 12:
                return S instanceof Ff && S.tree
                  ? ((A = new B(this.context, {
                      scale: this.options.scale,
                      backgroundColor: S.backgroundColor,
                      x: 0,
                      y: 0,
                      width: S.width,
                      height: S.height,
                    })),
                    [4, A.render(S.tree)])
                  : [3, 14];
              case 13:
                ((c = v.sent()),
                  S.width &&
                    S.height &&
                    this.ctx.drawImage(
                      c,
                      0,
                      0,
                      S.width,
                      S.height,
                      S.bounds.left,
                      S.bounds.top,
                      S.bounds.width,
                      S.bounds.height,
                    ),
                  (v.label = 14));
              case 14:
                if (
                  (S instanceof to &&
                    ((a = Math.min(S.bounds.width, S.bounds.height)),
                    S.type === ur
                      ? S.checked &&
                        (this.ctx.save(),
                        this.path([
                          new ut(
                            S.bounds.left + a * 0.39363,
                            S.bounds.top + a * 0.79,
                          ),
                          new ut(
                            S.bounds.left + a * 0.16,
                            S.bounds.top + a * 0.5549,
                          ),
                          new ut(
                            S.bounds.left + a * 0.27347,
                            S.bounds.top + a * 0.44071,
                          ),
                          new ut(
                            S.bounds.left + a * 0.39694,
                            S.bounds.top + a * 0.5649,
                          ),
                          new ut(
                            S.bounds.left + a * 0.72983,
                            S.bounds.top + a * 0.23,
                          ),
                          new ut(
                            S.bounds.left + a * 0.84,
                            S.bounds.top + a * 0.34085,
                          ),
                          new ut(
                            S.bounds.left + a * 0.39363,
                            S.bounds.top + a * 0.79,
                          ),
                        ]),
                        (this.ctx.fillStyle = jt(kh)),
                        this.ctx.fill(),
                        this.ctx.restore())
                      : S.type === fr &&
                        S.checked &&
                        (this.ctx.save(),
                        this.ctx.beginPath(),
                        this.ctx.arc(
                          S.bounds.left + a / 2,
                          S.bounds.top + a / 2,
                          a / 4,
                          0,
                          Math.PI * 2,
                          !0,
                        ),
                        (this.ctx.fillStyle = jt(kh)),
                        this.ctx.fill(),
                        this.ctx.restore())),
                  LB(S) && S.value.length)
                ) {
                  switch (
                    ((r = this.createFontStyle(L)),
                    (l = r[0]),
                    (n = r[1]),
                    (e = this.fontMetrics.getMetrics(l, n).baseline),
                    (this.ctx.font = l),
                    (this.ctx.fillStyle = jt(L.color)),
                    (this.ctx.textBaseline = "alphabetic"),
                    (this.ctx.textAlign = OB(S.styles.textAlign)),
                    (f = gr(S)),
                    (s = 0),
                    S.styles.textAlign)
                  ) {
                    case 1:
                      s += f.width / 2;
                      break;
                    case 2:
                      s += f.width;
                      break;
                  }
                  ((u = f.add(s, 0, 0, -f.height / 2 + 1)),
                    this.ctx.save(),
                    this.path([
                      new ut(f.left, f.top),
                      new ut(f.left + f.width, f.top),
                      new ut(f.left + f.width, f.top + f.height),
                      new ut(f.left, f.top + f.height),
                    ]),
                    this.ctx.clip(),
                    this.renderTextWithLetterSpacing(
                      new zs(S.value, u),
                      L.letterSpacing,
                      e,
                    ),
                    this.ctx.restore(),
                    (this.ctx.textBaseline = "alphabetic"),
                    (this.ctx.textAlign = "left"));
                }
                if (!Kt(S.styles.display, 2048)) return [3, 20];
                if (S.styles.listStyleImage === null) return [3, 19];
                if (((i = S.styles.listStyleImage), i.type !== 0))
                  return [3, 18];
                ((o = void 0), (h = i.url), (v.label = 15));
              case 15:
                return (
                  v.trys.push([15, 17, , 18]),
                  [4, this.context.cache.match(h)]
                );
              case 16:
                return (
                  (o = v.sent()),
                  this.ctx.drawImage(
                    o,
                    S.bounds.left - (o.width + 10),
                    S.bounds.top,
                  ),
                  [3, 18]
                );
              case 17:
                return (
                  v.sent(),
                  this.context.logger.error(
                    "Error loading list-style-image " + h,
                  ),
                  [3, 18]
                );
              case 18:
                return [3, 20];
              case 19:
                (E.listValue &&
                  S.styles.listStyleType !== -1 &&
                  ((l = this.createFontStyle(L)[0]),
                  (this.ctx.font = l),
                  (this.ctx.fillStyle = jt(L.color)),
                  (this.ctx.textBaseline = "middle"),
                  (this.ctx.textAlign = "right"),
                  (f = new je(
                    S.bounds.left,
                    S.bounds.top + Ot(S.styles.paddingTop, S.bounds.width),
                    S.bounds.width,
                    Oh(L.lineHeight, L.fontSize.number) / 2 + 1,
                  )),
                  this.renderTextWithLetterSpacing(
                    new zs(E.listValue, f),
                    L.letterSpacing,
                    Oh(L.lineHeight, L.fontSize.number) / 2 + 2,
                  ),
                  (this.ctx.textBaseline = "bottom"),
                  (this.ctx.textAlign = "left")),
                  (v.label = 20));
              case 20:
                return [2];
            }
          });
        });
      }),
      (B.prototype.renderStackContent = function (E) {
        return he(this, void 0, void 0, function () {
          var S, P, i, L, d, i, y, t, i, A, c, i, a, r, i, n, e, i, s, u, i;
          return se(this, function (o) {
            switch (o.label) {
              case 0:
                if (Kt(E.element.container.flags, 16)) debugger;
                return [4, this.renderNodeBackgroundAndBorders(E.element)];
              case 1:
                (o.sent(), (S = 0), (P = E.negativeZIndex), (o.label = 2));
              case 2:
                return S < P.length
                  ? ((i = P[S]), [4, this.renderStack(i)])
                  : [3, 5];
              case 3:
                (o.sent(), (o.label = 4));
              case 4:
                return (S++, [3, 2]);
              case 5:
                return [4, this.renderNodeContent(E.element)];
              case 6:
                (o.sent(), (L = 0), (d = E.nonInlineLevel), (o.label = 7));
              case 7:
                return L < d.length
                  ? ((i = d[L]), [4, this.renderNode(i)])
                  : [3, 10];
              case 8:
                (o.sent(), (o.label = 9));
              case 9:
                return (L++, [3, 7]);
              case 10:
                ((y = 0), (t = E.nonPositionedFloats), (o.label = 11));
              case 11:
                return y < t.length
                  ? ((i = t[y]), [4, this.renderStack(i)])
                  : [3, 14];
              case 12:
                (o.sent(), (o.label = 13));
              case 13:
                return (y++, [3, 11]);
              case 14:
                ((A = 0), (c = E.nonPositionedInlineLevel), (o.label = 15));
              case 15:
                return A < c.length
                  ? ((i = c[A]), [4, this.renderStack(i)])
                  : [3, 18];
              case 16:
                (o.sent(), (o.label = 17));
              case 17:
                return (A++, [3, 15]);
              case 18:
                ((a = 0), (r = E.inlineLevel), (o.label = 19));
              case 19:
                return a < r.length
                  ? ((i = r[a]), [4, this.renderNode(i)])
                  : [3, 22];
              case 20:
                (o.sent(), (o.label = 21));
              case 21:
                return (a++, [3, 19]);
              case 22:
                ((n = 0),
                  (e = E.zeroOrAutoZIndexOrTransformedOrOpacity),
                  (o.label = 23));
              case 23:
                return n < e.length
                  ? ((i = e[n]), [4, this.renderStack(i)])
                  : [3, 26];
              case 24:
                (o.sent(), (o.label = 25));
              case 25:
                return (n++, [3, 23]);
              case 26:
                ((s = 0), (u = E.positiveZIndex), (o.label = 27));
              case 27:
                return s < u.length
                  ? ((i = u[s]), [4, this.renderStack(i)])
                  : [3, 30];
              case 28:
                (o.sent(), (o.label = 29));
              case 29:
                return (s++, [3, 27]);
              case 30:
                return [2];
            }
          });
        });
      }),
      (B.prototype.mask = function (E) {
        (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(E.slice(0).reverse()),
          this.ctx.closePath());
      }),
      (B.prototype.path = function (E) {
        (this.ctx.beginPath(), this.formatPath(E), this.ctx.closePath());
      }),
      (B.prototype.formatPath = function (E) {
        var S = _____WB$wombat$check$this$function_____(this);
        E.forEach(function (P, L) {
          var d = Be(P) ? P.start : P;
          (L === 0 ? S.ctx.moveTo(d.x, d.y) : S.ctx.lineTo(d.x, d.y),
            Be(P) &&
              S.ctx.bezierCurveTo(
                P.startControl.x,
                P.startControl.y,
                P.endControl.x,
                P.endControl.y,
                P.end.x,
                P.end.y,
              ));
        });
      }),
      (B.prototype.renderRepeat = function (E, S, P, L) {
        (this.path(E),
          (this.ctx.fillStyle = S),
          this.ctx.translate(P, L),
          this.ctx.fill(),
          this.ctx.translate(-P, -L));
      }),
      (B.prototype.resizeImage = function (E, S, P) {
        var L;
        if (E.width === S && E.height === P) return E;
        var d =
            (L = this.canvas.ownerDocument) !== null && L !== void 0
              ? L
              : document,
          y = d.createElement("canvas");
        ((y.width = Math.max(1, S)), (y.height = Math.max(1, P)));
        var t = y.getContext("2d");
        return (t.drawImage(E, 0, 0, E.width, E.height, 0, 0, S, P), y);
      }),
      (B.prototype.renderBackgroundImage = function (E) {
        return he(this, void 0, void 0, function () {
          var S, P, L, d, y, t;
          return se(this, function (A) {
            switch (A.label) {
              case 0:
                ((S = E.styles.backgroundImage.length - 1),
                  (P = function (c) {
                    var a,
                      r,
                      n,
                      C,
                      I,
                      O,
                      w,
                      U,
                      x,
                      e,
                      C,
                      I,
                      O,
                      w,
                      U,
                      s,
                      u,
                      i,
                      o,
                      h,
                      l,
                      f,
                      v,
                      m,
                      x,
                      g,
                      C,
                      T,
                      F,
                      w,
                      U,
                      M,
                      I,
                      O,
                      D,
                      G,
                      X,
                      z,
                      K,
                      N,
                      b,
                      R;
                    return se(this, function (H) {
                      switch (H.label) {
                        case 0:
                          if (c.type !== 0) return [3, 5];
                          ((a = void 0), (r = c.url), (H.label = 1));
                        case 1:
                          return (
                            H.trys.push([1, 3, , 4]),
                            [4, L.context.cache.match(r)]
                          );
                        case 2:
                          return ((a = H.sent()), [3, 4]);
                        case 3:
                          return (
                            H.sent(),
                            L.context.logger.error(
                              "Error loading background-image " + r,
                            ),
                            [3, 4]
                          );
                        case 4:
                          return (
                            a &&
                              ((n = Fa(E, S, [
                                a.width,
                                a.height,
                                a.width / a.height,
                              ])),
                              (C = n[0]),
                              (I = n[1]),
                              (O = n[2]),
                              (w = n[3]),
                              (U = n[4]),
                              (x = L.ctx.createPattern(
                                L.resizeImage(a, w, U),
                                "repeat",
                              )),
                              L.renderRepeat(C, x, I, O)),
                            [3, 6]
                          );
                        case 5:
                          (gm(c)
                            ? ((e = Fa(E, S, [null, null, null])),
                              (C = e[0]),
                              (I = e[1]),
                              (O = e[2]),
                              (w = e[3]),
                              (U = e[4]),
                              (s = fm(c.angle, w, U)),
                              (u = s[0]),
                              (i = s[1]),
                              (o = s[2]),
                              (h = s[3]),
                              (l = s[4]),
                              (f = document.createElement("canvas")),
                              (f.width = w),
                              (f.height = U),
                              (v = f.getContext("2d")),
                              (m = v.createLinearGradient(i, h, o, l)),
                              Lh(c.stops, u).forEach(function (Q) {
                                return m.addColorStop(Q.stop, jt(Q.color));
                              }),
                              (v.fillStyle = m),
                              v.fillRect(0, 0, w, U),
                              w > 0 &&
                                U > 0 &&
                                ((x = L.ctx.createPattern(f, "repeat")),
                                L.renderRepeat(C, x, I, O)))
                            : mm(c) &&
                              ((g = Fa(E, S, [null, null, null])),
                              (C = g[0]),
                              (T = g[1]),
                              (F = g[2]),
                              (w = g[3]),
                              (U = g[4]),
                              (M = c.position.length === 0 ? [jA] : c.position),
                              (I = Ot(M[0], w)),
                              (O = Ot(M[M.length - 1], U)),
                              (D = dm(c, I, O, w, U)),
                              (G = D[0]),
                              (X = D[1]),
                              G > 0 &&
                                X > 0 &&
                                ((z = L.ctx.createRadialGradient(
                                  T + I,
                                  F + O,
                                  0,
                                  T + I,
                                  F + O,
                                  G,
                                )),
                                Lh(c.stops, G * 2).forEach(function (Q) {
                                  return z.addColorStop(Q.stop, jt(Q.color));
                                }),
                                L.path(C),
                                (L.ctx.fillStyle = z),
                                G !== X
                                  ? ((K = E.bounds.left + 0.5 * E.bounds.width),
                                    (N = E.bounds.top + 0.5 * E.bounds.height),
                                    (b = X / G),
                                    (R = 1 / b),
                                    L.ctx.save(),
                                    L.ctx.translate(K, N),
                                    L.ctx.transform(1, 0, 0, b, 0, 0),
                                    L.ctx.translate(-K, -N),
                                    L.ctx.fillRect(
                                      T,
                                      R * (F - N) + N,
                                      w,
                                      U * R,
                                    ),
                                    L.ctx.restore())
                                  : L.ctx.fill())),
                            (H.label = 6));
                        case 6:
                          return (S--, [2]);
                      }
                    });
                  }),
                  (L = _____WB$wombat$check$this$function_____(this)),
                  (d = 0),
                  (y = E.styles.backgroundImage.slice(0).reverse()),
                  (A.label = 1));
              case 1:
                return d < y.length ? ((t = y[d]), [5, P(t)]) : [3, 4];
              case 2:
                (A.sent(), (A.label = 3));
              case 3:
                return (d++, [3, 1]);
              case 4:
                return [2];
            }
          });
        });
      }),
      (B.prototype.renderSolidBorder = function (E, S, P) {
        return he(this, void 0, void 0, function () {
          return se(this, function (L) {
            return (
              this.path(hl(P, S)),
              (this.ctx.fillStyle = jt(E)),
              this.ctx.fill(),
              [2]
            );
          });
        });
      }),
      (B.prototype.renderDoubleBorder = function (E, S, P, L) {
        return he(this, void 0, void 0, function () {
          var d, y;
          return se(this, function (t) {
            switch (t.label) {
              case 0:
                return S < 3 ? [4, this.renderSolidBorder(E, P, L)] : [3, 2];
              case 1:
                return (t.sent(), [2]);
              case 2:
                return (
                  (d = yB(L, P)),
                  this.path(d),
                  (this.ctx.fillStyle = jt(E)),
                  this.ctx.fill(),
                  (y = CB(L, P)),
                  this.path(y),
                  this.ctx.fill(),
                  [2]
                );
            }
          });
        });
      }),
      (B.prototype.renderNodeBackgroundAndBorders = function (E) {
        return he(this, void 0, void 0, function () {
          var S,
            P,
            L,
            d,
            y,
            t,
            A,
            c,
            a = _____WB$wombat$check$this$function_____(this);
          return se(this, function (r) {
            switch (r.label) {
              case 0:
                return (
                  this.applyEffects(E.getEffects(2)),
                  (S = E.container.styles),
                  (P = !fi(S.backgroundColor) || S.backgroundImage.length),
                  (L = [
                    {
                      style: S.borderTopStyle,
                      color: S.borderTopColor,
                      width: S.borderTopWidth,
                    },
                    {
                      style: S.borderRightStyle,
                      color: S.borderRightColor,
                      width: S.borderRightWidth,
                    },
                    {
                      style: S.borderBottomStyle,
                      color: S.borderBottomColor,
                      width: S.borderBottomWidth,
                    },
                    {
                      style: S.borderLeftStyle,
                      color: S.borderLeftColor,
                      width: S.borderLeftWidth,
                    },
                  ]),
                  (d = IB(Ji(S.backgroundClip, 0), E.curves)),
                  P || S.boxShadow.length
                    ? (this.ctx.save(),
                      this.path(d),
                      this.ctx.clip(),
                      fi(S.backgroundColor) ||
                        ((this.ctx.fillStyle = jt(S.backgroundColor)),
                        this.ctx.fill()),
                      [4, this.renderBackgroundImage(E.container)])
                    : [3, 2]
                );
              case 1:
                (r.sent(),
                  this.ctx.restore(),
                  S.boxShadow
                    .slice(0)
                    .reverse()
                    .forEach(function (n) {
                      a.ctx.save();
                      var e = vr(E.curves),
                        s = n.inset ? 0 : UB,
                        u = xB(
                          e,
                          -s + (n.inset ? 1 : -1) * n.spread.number,
                          (n.inset ? 1 : -1) * n.spread.number,
                          n.spread.number * (n.inset ? -2 : 2),
                          n.spread.number * (n.inset ? -2 : 2),
                        );
                      (n.inset
                        ? (a.path(e), a.ctx.clip(), a.mask(u))
                        : (a.mask(e), a.ctx.clip(), a.path(u)),
                        (a.ctx.shadowOffsetX = n.offsetX.number + s),
                        (a.ctx.shadowOffsetY = n.offsetY.number),
                        (a.ctx.shadowColor = jt(n.color)),
                        (a.ctx.shadowBlur = n.blur.number),
                        (a.ctx.fillStyle = n.inset
                          ? jt(n.color)
                          : "rgba(0,0,0,1)"),
                        a.ctx.fill(),
                        a.ctx.restore());
                    }),
                  (r.label = 2));
              case 2:
                ((y = 0), (t = 0), (A = L), (r.label = 3));
              case 3:
                return t < A.length
                  ? ((c = A[t]),
                    c.style !== 0 && !fi(c.color) && c.width > 0
                      ? c.style !== 2
                        ? [3, 5]
                        : [
                            4,
                            this.renderDashedDottedBorder(
                              c.color,
                              c.width,
                              y,
                              E.curves,
                              2,
                            ),
                          ]
                      : [3, 11])
                  : [3, 13];
              case 4:
                return (r.sent(), [3, 11]);
              case 5:
                return c.style !== 3
                  ? [3, 7]
                  : [
                      4,
                      this.renderDashedDottedBorder(
                        c.color,
                        c.width,
                        y,
                        E.curves,
                        3,
                      ),
                    ];
              case 6:
                return (r.sent(), [3, 11]);
              case 7:
                return c.style !== 4
                  ? [3, 9]
                  : [4, this.renderDoubleBorder(c.color, c.width, y, E.curves)];
              case 8:
                return (r.sent(), [3, 11]);
              case 9:
                return [4, this.renderSolidBorder(c.color, y, E.curves)];
              case 10:
                (r.sent(), (r.label = 11));
              case 11:
                (y++, (r.label = 12));
              case 12:
                return (t++, [3, 3]);
              case 13:
                return [2];
            }
          });
        });
      }),
      (B.prototype.renderDashedDottedBorder = function (E, S, P, L, d) {
        return he(this, void 0, void 0, function () {
          var y, t, A, c, a, r, n, e, s, u, i, o, h, l, f, v, f, v;
          return se(this, function (m) {
            return (
              this.ctx.save(),
              (y = TB(L, P)),
              (t = hl(L, P)),
              d === 2 && (this.path(t), this.ctx.clip()),
              Be(t[0])
                ? ((A = t[0].start.x), (c = t[0].start.y))
                : ((A = t[0].x), (c = t[0].y)),
              Be(t[1])
                ? ((a = t[1].end.x), (r = t[1].end.y))
                : ((a = t[1].x), (r = t[1].y)),
              P === 0 || P === 2
                ? (n = Math.abs(A - a))
                : (n = Math.abs(c - r)),
              this.ctx.beginPath(),
              d === 3 ? this.formatPath(y) : this.formatPath(t.slice(0, 2)),
              (e = S < 3 ? S * 3 : S * 2),
              (s = S < 3 ? S * 2 : S),
              d === 3 && ((e = S), (s = S)),
              (u = !0),
              n <= e * 2
                ? (u = !1)
                : n <= e * 2 + s
                  ? ((i = n / (2 * e + s)), (e *= i), (s *= i))
                  : ((o = Math.floor((n + s) / (e + s))),
                    (h = (n - o * e) / (o - 1)),
                    (l = (n - (o + 1) * e) / o),
                    (s = l <= 0 || Math.abs(s - h) < Math.abs(s - l) ? h : l)),
              u &&
                (d === 3
                  ? this.ctx.setLineDash([0, e + s])
                  : this.ctx.setLineDash([e, s])),
              d === 3
                ? ((this.ctx.lineCap = "round"), (this.ctx.lineWidth = S))
                : (this.ctx.lineWidth = S * 2 + 1.1),
              (this.ctx.strokeStyle = jt(E)),
              this.ctx.stroke(),
              this.ctx.setLineDash([]),
              d === 2 &&
                (Be(t[0]) &&
                  ((f = t[3]),
                  (v = t[0]),
                  this.ctx.beginPath(),
                  this.formatPath([
                    new ut(f.end.x, f.end.y),
                    new ut(v.start.x, v.start.y),
                  ]),
                  this.ctx.stroke()),
                Be(t[1]) &&
                  ((f = t[1]),
                  (v = t[2]),
                  this.ctx.beginPath(),
                  this.formatPath([
                    new ut(f.end.x, f.end.y),
                    new ut(v.start.x, v.start.y),
                  ]),
                  this.ctx.stroke())),
              this.ctx.restore(),
              [2]
            );
          });
        });
      }),
      (B.prototype.render = function (E) {
        return he(this, void 0, void 0, function () {
          var S;
          return se(this, function (P) {
            switch (P.label) {
              case 0:
                return (
                  this.options.backgroundColor &&
                    ((this.ctx.fillStyle = jt(this.options.backgroundColor)),
                    this.ctx.fillRect(
                      this.options.x,
                      this.options.y,
                      this.options.width,
                      this.options.height,
                    )),
                  (S = BB(E)),
                  [4, this.renderStack(S)]
                );
              case 1:
                return (P.sent(), this.applyEffects([]), [2, this.canvas]);
            }
          });
        });
      }),
      B
    );
  })(Vf),
  LB = function (p) {
    return p instanceof Ef || p instanceof Tf
      ? !0
      : p instanceof to && p.type !== fr && p.type !== ur;
  },
  IB = function (p, B) {
    switch (p) {
      case 0:
        return vr(B);
      case 2:
        return cB(B);
      case 1:
      default:
        return pr(B);
    }
  },
  OB = function (p) {
    switch (p) {
      case 1:
        return "center";
      case 2:
        return "right";
      case 0:
      default:
        return "left";
    }
  },
  QB = ["-apple-system", "system-ui"],
  DB = function (p) {
    return /iPhone OS 15_(0|1)/.test(window.navigator.userAgent)
      ? p.filter(function (B) {
          return QB.indexOf(B) === -1;
        })
      : p;
  },
  HB = (function (p) {
    Ue(B, p);
    function B(E, S) {
      var P =
        p.call(this, E, S) || _____WB$wombat$check$this$function_____(this);
      return (
        (P.canvas = S.canvas ? S.canvas : document.createElement("canvas")),
        (P.ctx = P.canvas.getContext("2d")),
        (P.options = S),
        (P.canvas.width = Math.floor(S.width * S.scale)),
        (P.canvas.height = Math.floor(S.height * S.scale)),
        (P.canvas.style.width = S.width + "px"),
        (P.canvas.style.height = S.height + "px"),
        P.ctx.scale(P.options.scale, P.options.scale),
        P.ctx.translate(-S.x, -S.y),
        P.context.logger.debug(
          "EXPERIMENTAL ForeignObject renderer initialized (" +
            S.width +
            "x" +
            S.height +
            " at " +
            S.x +
            "," +
            S.y +
            ") with scale " +
            S.scale,
        ),
        P
      );
    }
    return (
      (B.prototype.render = function (E) {
        return he(this, void 0, void 0, function () {
          var S, P;
          return se(this, function (L) {
            switch (L.label) {
              case 0:
                return (
                  (S = dA(
                    this.options.width * this.options.scale,
                    this.options.height * this.options.scale,
                    this.options.scale,
                    this.options.scale,
                    E,
                  )),
                  [4, NB(S)]
                );
              case 1:
                return (
                  (P = L.sent()),
                  this.options.backgroundColor &&
                    ((this.ctx.fillStyle = jt(this.options.backgroundColor)),
                    this.ctx.fillRect(
                      0,
                      0,
                      this.options.width * this.options.scale,
                      this.options.height * this.options.scale,
                    )),
                  this.ctx.drawImage(
                    P,
                    -this.options.x * this.options.scale,
                    -this.options.y * this.options.scale,
                  ),
                  [2, this.canvas]
                );
            }
          });
        });
      }),
      B
    );
  })(Vf),
  NB = function (p) {
    return new Promise(function (B, E) {
      var S = new Image();
      ((S.onload = function () {
        B(S);
      }),
        (S.onerror = E),
        (S.src =
          "data:image/svg+xml;charset=utf-8," +
          encodeURIComponent(new XMLSerializer().serializeToString(p))));
    });
  },
  GB = (function () {
    function p(B) {
      var E = B.id,
        S = B.enabled;
      ((this.id = E), (this.enabled = S), (this.start = Date.now()));
    }
    return (
      (p.prototype.debug = function () {
        for (var B = [], E = 0; E < arguments.length; E++) B[E] = arguments[E];
        this.enabled &&
          (typeof window < "u" &&
          window.console &&
          typeof console.debug == "function"
            ? console.debug.apply(
                console,
                xn([this.id, this.getTime() + "ms"], B),
              )
            : this.info.apply(this, B));
      }),
      (p.prototype.getTime = function () {
        return Date.now() - this.start;
      }),
      (p.prototype.info = function () {
        for (var B = [], E = 0; E < arguments.length; E++) B[E] = arguments[E];
        this.enabled &&
          typeof window < "u" &&
          window.console &&
          typeof console.info == "function" &&
          console.info.apply(console, xn([this.id, this.getTime() + "ms"], B));
      }),
      (p.prototype.warn = function () {
        for (var B = [], E = 0; E < arguments.length; E++) B[E] = arguments[E];
        this.enabled &&
          (typeof window < "u" &&
          window.console &&
          typeof console.warn == "function"
            ? console.warn.apply(
                console,
                xn([this.id, this.getTime() + "ms"], B),
              )
            : this.info.apply(this, B));
      }),
      (p.prototype.error = function () {
        for (var B = [], E = 0; E < arguments.length; E++) B[E] = arguments[E];
        this.enabled &&
          (typeof window < "u" &&
          window.console &&
          typeof console.error == "function"
            ? console.error.apply(
                console,
                xn([this.id, this.getTime() + "ms"], B),
              )
            : this.info.apply(this, B));
      }),
      (p.instances = {}),
      p
    );
  })(),
  bB = (function () {
    function p(B, E) {
      var S;
      ((this.windowBounds = E),
        (this.instanceName = "#" + p.instanceCount++),
        (this.logger = new GB({ id: this.instanceName, enabled: B.logging })),
        (this.cache =
          (S = B.cache) !== null && S !== void 0 ? S : new aB(this, B)));
    }
    return ((p.instanceCount = 1), p);
  })(),
  VB = function (p, B) {
    return (B === void 0 && (B = {}), XB(p, B));
  };
typeof window < "u" && Qf.setContext(window);
var XB = function (p, B) {
    return he(void 0, void 0, void 0, function () {
      var E,
        S,
        P,
        L,
        d,
        y,
        t,
        A,
        c,
        a,
        r,
        n,
        e,
        s,
        u,
        i,
        o,
        h,
        l,
        f,
        m,
        v,
        m,
        x,
        g,
        C,
        T,
        F,
        w,
        U,
        M,
        I,
        O,
        D,
        G,
        X,
        z,
        K,
        N,
        b;
      return se(this, function (R) {
        switch (R.label) {
          case 0:
            if (!p || typeof p != "object")
              return [
                2,
                Promise.reject("Invalid element provided as first argument"),
              ];
            if (((E = p.ownerDocument), !E))
              throw new Error("Element is not attached to a Document");
            if (((S = E.defaultView), !S))
              throw new Error("Document is not attached to a Window");
            return (
              (P = {
                allowTaint:
                  (x = B.allowTaint) !== null && x !== void 0 ? x : !1,
                imageTimeout:
                  (g = B.imageTimeout) !== null && g !== void 0 ? g : 15e3,
                proxy: B.proxy,
                useCORS: (C = B.useCORS) !== null && C !== void 0 ? C : !1,
              }),
              (L = qa(
                {
                  logging: (T = B.logging) !== null && T !== void 0 ? T : !0,
                  cache: B.cache,
                },
                P,
              )),
              (d = {
                windowWidth:
                  (F = B.windowWidth) !== null && F !== void 0
                    ? F
                    : S.innerWidth,
                windowHeight:
                  (w = B.windowHeight) !== null && w !== void 0
                    ? w
                    : S.innerHeight,
                scrollX:
                  (U = B.scrollX) !== null && U !== void 0 ? U : S.pageXOffset,
                scrollY:
                  (M = B.scrollY) !== null && M !== void 0 ? M : S.pageYOffset,
              }),
              (y = new je(d.scrollX, d.scrollY, d.windowWidth, d.windowHeight)),
              (t = new bB(L, y)),
              (A =
                (I = B.foreignObjectRendering) !== null && I !== void 0
                  ? I
                  : !1),
              (c = {
                allowTaint:
                  (O = B.allowTaint) !== null && O !== void 0 ? O : !1,
                onclone: B.onclone,
                ignoreElements: B.ignoreElements,
                inlineImages: A,
                copyStyles: A,
              }),
              t.logger.debug(
                "Starting document clone with size " +
                  y.width +
                  "x" +
                  y.height +
                  " scrolled to " +
                  -y.left +
                  "," +
                  -y.top,
              ),
              (a = new al(t, p, c)),
              (r = a.clonedReferenceElement),
              r
                ? [4, a.toIFrame(E, y)]
                : [2, Promise.reject("Unable to find element in cloned iframe")]
            );
          case 1:
            return (
              (n = R.sent()),
              (e = eo(r) || Y1(r) ? xg(r.ownerDocument) : Or(t, r)),
              (s = e.width),
              (u = e.height),
              (i = e.left),
              (o = e.top),
              (h = YB(t, r, B.backgroundColor)),
              (l = {
                canvas: B.canvas,
                backgroundColor: h,
                scale:
                  (G =
                    (D = B.scale) !== null && D !== void 0
                      ? D
                      : S.devicePixelRatio) !== null && G !== void 0
                    ? G
                    : 1,
                x: ((X = B.x) !== null && X !== void 0 ? X : 0) + i,
                y: ((z = B.y) !== null && z !== void 0 ? z : 0) + o,
                width:
                  (K = B.width) !== null && K !== void 0 ? K : Math.ceil(s),
                height:
                  (N = B.height) !== null && N !== void 0 ? N : Math.ceil(u),
              }),
              A
                ? (t.logger.debug(
                    "Document cloned, using foreign object rendering",
                  ),
                  (m = new HB(t, l)),
                  [4, m.render(r)])
                : [3, 3]
            );
          case 2:
            return ((f = R.sent()), [3, 5]);
          case 3:
            return (
              t.logger.debug(
                "Document cloned, element located at " +
                  i +
                  "," +
                  o +
                  " with size " +
                  s +
                  "x" +
                  u +
                  " using computed rendering",
              ),
              t.logger.debug("Starting DOM parsing"),
              (v = wf(t, r)),
              h === v.styles.backgroundColor &&
                (v.styles.backgroundColor = Ze.TRANSPARENT),
              t.logger.debug(
                "Starting renderer for element at " +
                  l.x +
                  "," +
                  l.y +
                  " with size " +
                  l.width +
                  "x" +
                  l.height,
              ),
              (m = new RB(t, l)),
              [4, m.render(v)]
            );
          case 4:
            ((f = R.sent()), (R.label = 5));
          case 5:
            return (
              (!((b = B.removeContainer) !== null && b !== void 0) || b) &&
                (al.destroy(n) ||
                  t.logger.error(
                    "Cannot detach cloned iframe as it is not in the DOM anymore",
                  )),
              t.logger.debug("Finished rendering"),
              [2, f]
            );
        }
      });
    });
  },
  YB = function (p, B, E) {
    var S = B.ownerDocument,
      P = S.documentElement
        ? Xs(p, getComputedStyle(S.documentElement).backgroundColor)
        : Ze.TRANSPARENT,
      L = S.body
        ? Xs(p, getComputedStyle(S.body).backgroundColor)
        : Ze.TRANSPARENT,
      d =
        typeof E == "string"
          ? Xs(p, E)
          : E === null
            ? Ze.TRANSPARENT
            : 4294967295;
    return B === S.documentElement ? (fi(P) ? (fi(L) ? d : L) : P) : d;
  };
const BA = xt(!1),
  yA = xt(!1),
  CA = xt(!1);
async function zB(p) {
  ((yA.value = !0),
    await new Promise((B) => setTimeout(B, 1e3)),
    VB(p, { backgroundColor: null, scale: 1, logging: !1 })
      .then((B) => {
        B.toBlob((E) => {
          const S = new ClipboardItem({ "image/png": E });
          navigator.clipboard
            .write([S])
            .then(() => {
              ((BA.value = !0),
                (yA.value = !1),
                setTimeout(() => {
                  BA.value = !1;
                }, 2e3),
                console.log("Image copied to clipboard"));
            })
            .catch((P) => {
              console.error("Could not copy image to clipboard", P);
            });
        });
      })
      .catch((B) => {
        console.error("Could not capture element", B);
      }));
}
const WB = (p) => {
  const B = document.createElement("textarea");
  if (
    ((B.value = p),
    B.setAttribute("readonly", ""),
    (B.style.position = "absolute"),
    (B.style.left = "-9999px"),
    document.body.appendChild(B),
    (CA.value = !0),
    navigator.userAgent.match(/ipad|ipod|iphone/i))
  ) {
    const E = B,
      S = E.contentEditable,
      P = E.readOnly;
    ((E.contentEditable = "true"), (E.readOnly = "false"));
    const L = document.createRange();
    L.selectNodeContents(E);
    const d = window.getSelection();
    (d.removeAllRanges(),
      d.addRange(L),
      E.setSelectionRange(0, 999999),
      (E.contentEditable = S),
      (E.readOnly = P));
  } else B.select();
  (document.execCommand("copy"),
    B.blur(),
    setTimeout(() => {
      CA.value = !1;
    }, 5e3));
};
function Xf() {
  return {
    copyEnded: BA,
    copying: yA,
    copyingText: CA,
    captureAndCopy: zB,
    copyToClipboard: WB,
  };
}
const Ts = xt(null),
  Yf = () => ({
    isInstallable: qt(() => !!Ts.value),
    install: async () => {
      Ts.value.prompt();
      const { outcome: S } = await Ts.value.userChoice;
      ((Ts.value = null),
        S === "accepted"
          ? console.log("User accepted the install prompt.")
          : S === "dismissed" &&
            console.log("User dismissed the install prompt"));
    },
    setPrompt: (S) => {
      Ts.value = S;
    },
  }),
  KB = "modulepreload",
  JB = function (p) {
    return "/" + p;
  },
  ul = {},
  ZB = function (B, E, S) {
    let P = Promise.resolve();
    if (E && E.length > 0) {
      const L = document.getElementsByTagName("link");
      P = Promise.all(
        E.map((d) => {
          if (((d = JB(d)), d in ul)) return;
          ul[d] = !0;
          const y = d.endsWith(".css"),
            t = y ? '[rel="stylesheet"]' : "";
          if (!!S)
            for (let a = L.length - 1; a >= 0; a--) {
              const r = L[a];
              if (r.href === d && (!y || r.rel === "stylesheet")) return;
            }
          else if (document.querySelector(`link[href="${d}"]${t}`)) return;
          const c = document.createElement("link");
          if (
            ((c.rel = y ? "stylesheet" : KB),
            y || ((c.as = "script"), (c.crossOrigin = "")),
            (c.href = d),
            document.head.appendChild(c),
            y)
          )
            return new Promise((a, r) => {
              (c.addEventListener("load", a),
                c.addEventListener("error", () =>
                  r(new Error(`Unable to preload CSS for ${d}`)),
                ));
            });
        }),
      );
    }
    return P.then(() => B()).catch((L) => {
      const d = new Event("vite:preloadError", { cancelable: !0 });
      if (((d.payload = L), window.dispatchEvent(d), !d.defaultPrevented))
        throw L;
    });
  };
function $B(p = {}) {
  const {
    immediate: B = !1,
    onNeedRefresh: E,
    onOfflineReady: S,
    onRegistered: P,
    onRegisteredSW: L,
    onRegisterError: d,
  } = p;
  let y, t, A;
  const c = async (r = !0) => {
    (await t, await (A == null ? void 0 : A()));
  };
  async function a() {
    if ("serviceWorker" in navigator) {
      const { Workbox: r } = await ZB(
        () =>
          ____wb_rewrite_import__(
            import.meta.url,
            "./workbox-window.prod.es5-prqDwDSL.js",
          ),
        __vite__mapDeps([]),
      );
      ((y = new r("/sw.js", { scope: "/", type: "classic" })),
        (A = async () => {
          await (y == null ? void 0 : y.messageSkipWaiting());
        }));
      {
        let n = !1;
        const e = () => {
          ((n = !0),
            y == null ||
              y.addEventListener("controlling", (s) => {
                s.isUpdate && window.location.reload();
              }),
            E == null || E());
        };
        (y.addEventListener("installed", (s) => {
          typeof s.isUpdate > "u"
            ? typeof s.isExternal < "u"
              ? s.isExternal
                ? e()
                : !n && (S == null || S())
              : s.isExternal
                ? window.location.reload()
                : !n && (S == null || S())
            : s.isUpdate || S == null || S();
        }),
          y.addEventListener("waiting", e),
          y.addEventListener("externalwaiting", e));
      }
      y.register({ immediate: B })
        .then((n) => {
          L ? L("/sw.js", n) : P == null || P(n);
        })
        .catch((n) => {
          d == null || d(n);
        });
    }
  }
  return ((t = a()), c);
}
function jB(p = {}) {
  const {
      immediate: B = !0,
      onNeedRefresh: E,
      onOfflineReady: S,
      onRegistered: P,
      onRegisteredSW: L,
      onRegisterError: d,
    } = p,
    y = xt(!1),
    t = xt(!1);
  return {
    updateServiceWorker: $B({
      immediate: B,
      onNeedRefresh() {
        ((y.value = !0), E == null || E());
      },
      onOfflineReady() {
        ((t.value = !0), S == null || S());
      },
      onRegistered: P,
      onRegisteredSW: L,
      onRegisterError: d,
    }),
    offlineReady: t,
    needRefresh: y,
  };
}
const kB = 60 * 1e3,
  {
    offlineReady: fl,
    needRefresh: dl,
    updateServiceWorker: qB,
  } = jB({
    onRegistered(p) {
      p &&
        setInterval(() => {
          p.update();
        }, kB);
    },
  }),
  _B = () => {
    const p = xt(!1);
    return {
      updateInProgress: p,
      offlineReady: fl,
      needRefresh: dl,
      handleUpdate: async () => {
        ((p.value = !0), await qB(), (p.value = !1), window.location.reload());
      },
      close: async () => {
        ((fl.value = !1), (dl.value = !1));
      },
    };
  };
function zf(p, B) {
  return function () {
    return p.apply(B, arguments);
  };
}
const { toString: ty } = Object.prototype,
  { getPrototypeOf: io } = Object,
  zr = ((p) => (B) => {
    const E = ty.call(B);
    return p[E] || (p[E] = E.slice(8, -1).toLowerCase());
  })(Object.create(null)),
  be = (p) => ((p = p.toLowerCase()), (B) => zr(B) === p),
  Wr = (p) => (B) => typeof B === p,
  { isArray: vs } = Array,
  en = Wr("undefined");
function ey(p) {
  return (
    p !== null &&
    !en(p) &&
    p.constructor !== null &&
    !en(p.constructor) &&
    Te(p.constructor.isBuffer) &&
    p.constructor.isBuffer(p)
  );
}
const Wf = be("ArrayBuffer");
function iy(p) {
  let B;
  return (
    typeof ArrayBuffer < "u" && ArrayBuffer.isView
      ? (B = ArrayBuffer.isView(p))
      : (B = p && p.buffer && Wf(p.buffer)),
    B
  );
}
const sy = Wr("string"),
  Te = Wr("function"),
  Kf = Wr("number"),
  Kr = (p) => p !== null && typeof p == "object",
  ny = (p) => p === !0 || p === !1,
  kn = (p) => {
    if (zr(p) !== "object") return !1;
    const B = io(p);
    return (
      (B === null ||
        B === Object.prototype ||
        Object.getPrototypeOf(B) === null) &&
      !(Symbol.toStringTag in p) &&
      !(Symbol.iterator in p)
    );
  },
  ry = be("Date"),
  ay = be("File"),
  Ay = be("Blob"),
  oy = be("FileList"),
  hy = (p) => Kr(p) && Te(p.pipe),
  ly = (p) => {
    let B;
    return (
      p &&
      ((typeof FormData == "function" && p instanceof FormData) ||
        (Te(p.append) &&
          ((B = zr(p)) === "formdata" ||
            (B === "object" &&
              Te(p.toString) &&
              p.toString() === "[object FormData]"))))
    );
  },
  uy = be("URLSearchParams"),
  fy = (p) =>
    p.trim ? p.trim() : p.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
function un(p, B, { allOwnKeys: E = !1 } = {}) {
  if (p === null || typeof p > "u") return;
  let S, P;
  if ((typeof p != "object" && (p = [p]), vs(p)))
    for (S = 0, P = p.length; S < P; S++) B.call(null, p[S], S, p);
  else {
    const L = E ? Object.getOwnPropertyNames(p) : Object.keys(p),
      d = L.length;
    let y;
    for (S = 0; S < d; S++) ((y = L[S]), B.call(null, p[y], y, p));
  }
}
function Jf(p, B) {
  B = B.toLowerCase();
  const E = Object.keys(p);
  let S = E.length,
    P;
  for (; S-- > 0; ) if (((P = E[S]), B === P.toLowerCase())) return P;
  return null;
}
const Zf =
    typeof globalThis < "u"
      ? globalThis
      : typeof self < "u"
        ? self
        : typeof window < "u"
          ? window
          : global,
  $f = (p) => !en(p) && p !== Zf;
function TA() {
  const { caseless: p } =
      ($f(this) && _____WB$wombat$check$this$function_____(this)) || {},
    B = {},
    E = (S, P) => {
      const L = (p && Jf(B, P)) || P;
      kn(B[L]) && kn(S)
        ? (B[L] = TA(B[L], S))
        : kn(S)
          ? (B[L] = TA({}, S))
          : vs(S)
            ? (B[L] = S.slice())
            : (B[L] = S);
    };
  for (let S = 0, P = arguments.length; S < P; S++)
    arguments[S] && un(arguments[S], E);
  return B;
}
const dy = (p, B, E, { allOwnKeys: S } = {}) => (
    un(
      B,
      (P, L) => {
        E && Te(P) ? (p[L] = zf(P, E)) : (p[L] = P);
      },
      { allOwnKeys: S },
    ),
    p
  ),
  cy = (p) => (p.charCodeAt(0) === 65279 && (p = p.slice(1)), p),
  vy = (p, B, E, S) => {
    ((p.prototype = Object.create(B.prototype, S)),
      (p.prototype.constructor = p),
      Object.defineProperty(p, "super", { value: B.prototype }),
      E && Object.assign(p.prototype, E));
  },
  py = (p, B, E, S) => {
    let P, L, d;
    const y = {};
    if (((B = B || {}), p == null)) return B;
    do {
      for (P = Object.getOwnPropertyNames(p), L = P.length; L-- > 0; )
        ((d = P[L]),
          (!S || S(d, p, B)) && !y[d] && ((B[d] = p[d]), (y[d] = !0)));
      p = E !== !1 && io(p);
    } while (p && (!E || E(p, B)) && p !== Object.prototype);
    return B;
  },
  gy = (p, B, E) => {
    ((p = String(p)),
      (E === void 0 || E > p.length) && (E = p.length),
      (E -= B.length));
    const S = p.indexOf(B, E);
    return S !== -1 && S === E;
  },
  my = (p) => {
    if (!p) return null;
    if (vs(p)) return p;
    let B = p.length;
    if (!Kf(B)) return null;
    const E = new Array(B);
    for (; B-- > 0; ) E[B] = p[B];
    return E;
  },
  xy = (
    (p) => (B) =>
      p && B instanceof p
  )(typeof Uint8Array < "u" && io(Uint8Array)),
  By = (p, B) => {
    const S = (p && p[Symbol.iterator]).call(p);
    let P;
    for (; (P = S.next()) && !P.done; ) {
      const L = P.value;
      B.call(p, L[0], L[1]);
    }
  },
  yy = (p, B) => {
    let E;
    const S = [];
    for (; (E = p.exec(B)) !== null; ) S.push(E);
    return S;
  },
  Cy = be("HTMLFormElement"),
  Ty = (p) =>
    p.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function (E, S, P) {
      return S.toUpperCase() + P;
    }),
  cl = (
    ({ hasOwnProperty: p }) =>
    (B, E) =>
      p.call(B, E)
  )(Object.prototype),
  Ey = be("RegExp"),
  jf = (p, B) => {
    const E = Object.getOwnPropertyDescriptors(p),
      S = {};
    (un(E, (P, L) => {
      let d;
      (d = B(P, L, p)) !== !1 && (S[L] = d || P);
    }),
      Object.defineProperties(p, S));
  },
  Fy = (p) => {
    jf(p, (B, E) => {
      if (Te(p) && ["arguments", "caller", "callee"].indexOf(E) !== -1)
        return !1;
      const S = p[E];
      if (Te(S)) {
        if (((B.enumerable = !1), "writable" in B)) {
          B.writable = !1;
          return;
        }
        B.set ||
          (B.set = () => {
            throw Error("Can not rewrite read-only method '" + E + "'");
          });
      }
    });
  },
  Sy = (p, B) => {
    const E = {},
      S = (P) => {
        P.forEach((L) => {
          E[L] = !0;
        });
      };
    return (vs(p) ? S(p) : S(String(p).split(B)), E);
  },
  wy = () => {},
  My = (p, B) => ((p = +p), Number.isFinite(p) ? p : B),
  Sa = "abcdefghijklmnopqrstuvwxyz",
  vl = "0123456789",
  kf = { DIGIT: vl, ALPHA: Sa, ALPHA_DIGIT: Sa + Sa.toUpperCase() + vl },
  Py = (p = 16, B = kf.ALPHA_DIGIT) => {
    let E = "";
    const { length: S } = B;
    for (; p--; ) E += B[(Math.random() * S) | 0];
    return E;
  };
function Uy(p) {
  return !!(
    p &&
    Te(p.append) &&
    p[Symbol.toStringTag] === "FormData" &&
    p[Symbol.iterator]
  );
}
const Ry = (p) => {
    const B = new Array(10),
      E = (S, P) => {
        if (Kr(S)) {
          if (B.indexOf(S) >= 0) return;
          if (!("toJSON" in S)) {
            B[P] = S;
            const L = vs(S) ? [] : {};
            return (
              un(S, (d, y) => {
                const t = E(d, P + 1);
                !en(t) && (L[y] = t);
              }),
              (B[P] = void 0),
              L
            );
          }
        }
        return S;
      };
    return E(p, 0);
  },
  Ly = be("AsyncFunction"),
  Iy = (p) => p && (Kr(p) || Te(p)) && Te(p.then) && Te(p.catch),
  At = {
    isArray: vs,
    isArrayBuffer: Wf,
    isBuffer: ey,
    isFormData: ly,
    isArrayBufferView: iy,
    isString: sy,
    isNumber: Kf,
    isBoolean: ny,
    isObject: Kr,
    isPlainObject: kn,
    isUndefined: en,
    isDate: ry,
    isFile: ay,
    isBlob: Ay,
    isRegExp: Ey,
    isFunction: Te,
    isStream: hy,
    isURLSearchParams: uy,
    isTypedArray: xy,
    isFileList: oy,
    forEach: un,
    merge: TA,
    extend: dy,
    trim: fy,
    stripBOM: cy,
    inherits: vy,
    toFlatObject: py,
    kindOf: zr,
    kindOfTest: be,
    endsWith: gy,
    toArray: my,
    forEachEntry: By,
    matchAll: yy,
    isHTMLForm: Cy,
    hasOwnProperty: cl,
    hasOwnProp: cl,
    reduceDescriptors: jf,
    freezeMethods: Fy,
    toObjectSet: Sy,
    toCamelCase: Ty,
    noop: wy,
    toFiniteNumber: My,
    findKey: Jf,
    global: Zf,
    isContextDefined: $f,
    ALPHABET: kf,
    generateString: Py,
    isSpecCompliantForm: Uy,
    toJSONObject: Ry,
    isAsyncFn: Ly,
    isThenable: Iy,
  };
function Et(p, B, E, S, P) {
  (Error.call(this),
    Error.captureStackTrace
      ? Error.captureStackTrace(this, this.constructor)
      : (this.stack = new Error().stack),
    (this.message = p),
    (this.name = "AxiosError"),
    B && (this.code = B),
    E && (this.config = E),
    S && (this.request = S),
    P && (this.response = P));
}
At.inherits(Et, 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: At.toJSONObject(this.config),
      code: this.code,
      status:
        this.response && this.response.status ? this.response.status : null,
    };
  },
});
const qf = Et.prototype,
  _f = {};
[
  "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((p) => {
  _f[p] = { value: p };
});
Object.defineProperties(Et, _f);
Object.defineProperty(qf, "isAxiosError", { value: !0 });
Et.from = (p, B, E, S, P, L) => {
  const d = Object.create(qf);
  return (
    At.toFlatObject(
      p,
      d,
      function (t) {
        return t !== Error.prototype;
      },
      (y) => y !== "isAxiosError",
    ),
    Et.call(d, p.message, B, E, S, P),
    (d.cause = p),
    (d.name = p.name),
    L && Object.assign(d, L),
    d
  );
};
const Oy = null;
function EA(p) {
  return At.isPlainObject(p) || At.isArray(p);
}
function td(p) {
  return At.endsWith(p, "[]") ? p.slice(0, -2) : p;
}
function pl(p, B, E) {
  return p
    ? p
        .concat(B)
        .map(function (P, L) {
          return ((P = td(P)), !E && L ? "[" + P + "]" : P);
        })
        .join(E ? "." : "")
    : B;
}
function Qy(p) {
  return At.isArray(p) && !p.some(EA);
}
const Dy = At.toFlatObject(At, {}, null, function (B) {
  return /^is[A-Z]/.test(B);
});
function Jr(p, B, E) {
  if (!At.isObject(p)) throw new TypeError("target must be an object");
  ((B = B || new FormData()),
    (E = At.toFlatObject(
      E,
      { metaTokens: !0, dots: !1, indexes: !1 },
      !1,
      function (s, u) {
        return !At.isUndefined(u[s]);
      },
    )));
  const S = E.metaTokens,
    P = E.visitor || c,
    L = E.dots,
    d = E.indexes,
    t = (E.Blob || (typeof Blob < "u" && Blob)) && At.isSpecCompliantForm(B);
  if (!At.isFunction(P)) throw new TypeError("visitor must be a function");
  function A(e) {
    if (e === null) return "";
    if (At.isDate(e)) return e.toISOString();
    if (!t && At.isBlob(e))
      throw new Et("Blob is not supported. Use a Buffer instead.");
    return At.isArrayBuffer(e) || At.isTypedArray(e)
      ? t && typeof Blob == "function"
        ? new Blob([e])
        : Buffer.from(e)
      : e;
  }
  function c(e, s, u) {
    let i = e;
    if (e && !u && typeof e == "object") {
      if (At.endsWith(s, "{}"))
        ((s = S ? s : s.slice(0, -2)), (e = JSON.stringify(e)));
      else if (
        (At.isArray(e) && Qy(e)) ||
        ((At.isFileList(e) || At.endsWith(s, "[]")) && (i = At.toArray(e)))
      )
        return (
          (s = td(s)),
          i.forEach(function (h, l) {
            !(At.isUndefined(h) || h === null) &&
              B.append(
                d === !0 ? pl([s], l, L) : d === null ? s : s + "[]",
                A(h),
              );
          }),
          !1
        );
    }
    return EA(e) ? !0 : (B.append(pl(u, s, L), A(e)), !1);
  }
  const a = [],
    r = Object.assign(Dy, {
      defaultVisitor: c,
      convertValue: A,
      isVisitable: EA,
    });
  function n(e, s) {
    if (!At.isUndefined(e)) {
      if (a.indexOf(e) !== -1)
        throw Error("Circular reference detected in " + s.join("."));
      (a.push(e),
        At.forEach(e, function (i, o) {
          (!(At.isUndefined(i) || i === null) &&
            P.call(B, i, At.isString(o) ? o.trim() : o, s, r)) === !0 &&
            n(i, s ? s.concat(o) : [o]);
        }),
        a.pop());
    }
  }
  if (!At.isObject(p)) throw new TypeError("data must be an object");
  return (n(p), B);
}
function gl(p) {
  const B = {
    "!": "%21",
    "'": "%27",
    "(": "%28",
    ")": "%29",
    "~": "%7E",
    "%20": "+",
    "%00": "\0",
  };
  return encodeURIComponent(p).replace(/[!'()~]|%20|%00/g, function (S) {
    return B[S];
  });
}
function so(p, B) {
  ((this._pairs = []),
    p && Jr(p, _____WB$wombat$check$this$function_____(this), B));
}
const ed = so.prototype;
ed.append = function (B, E) {
  this._pairs.push([B, E]);
};
ed.toString = function (B) {
  const E = B
    ? function (S) {
        return B.call(this, S, gl);
      }
    : gl;
  return this._pairs
    .map(function (P) {
      return E(P[0]) + "=" + E(P[1]);
    }, "")
    .join("&");
};
function Hy(p) {
  return encodeURIComponent(p)
    .replace(/%3A/gi, ":")
    .replace(/%24/g, "$")
    .replace(/%2C/gi, ",")
    .replace(/%20/g, "+")
    .replace(/%5B/gi, "[")
    .replace(/%5D/gi, "]");
}
function id(p, B, E) {
  if (!B) return p;
  const S = (E && E.encode) || Hy,
    P = E && E.serialize;
  let L;
  if (
    (P
      ? (L = P(B, E))
      : (L = At.isURLSearchParams(B) ? B.toString() : new so(B, E).toString(S)),
    L)
  ) {
    const d = p.indexOf("#");
    (d !== -1 && (p = p.slice(0, d)),
      (p += (p.indexOf("?") === -1 ? "?" : "&") + L));
  }
  return p;
}
class Ny {
  constructor() {
    this.handlers = [];
  }
  use(B, E, S) {
    return (
      this.handlers.push({
        fulfilled: B,
        rejected: E,
        synchronous: S ? S.synchronous : !1,
        runWhen: S ? S.runWhen : null,
      }),
      this.handlers.length - 1
    );
  }
  eject(B) {
    this.handlers[B] && (this.handlers[B] = null);
  }
  clear() {
    this.handlers && (this.handlers = []);
  }
  forEach(B) {
    At.forEach(this.handlers, function (S) {
      S !== null && B(S);
    });
  }
}
const ml = Ny,
  sd = {
    silentJSONParsing: !0,
    forcedJSONParsing: !0,
    clarifyTimeoutError: !1,
  },
  Gy = typeof URLSearchParams < "u" ? URLSearchParams : so,
  by = typeof FormData < "u" ? FormData : null,
  Vy = typeof Blob < "u" ? Blob : null,
  Xy = {
    isBrowser: !0,
    classes: { URLSearchParams: Gy, FormData: by, Blob: Vy },
    protocols: ["http", "https", "file", "blob", "url", "data"],
  },
  nd = typeof window < "u" && typeof document < "u",
  Yy = ((p) => nd && ["ReactNative", "NativeScript", "NS"].indexOf(p) < 0)(
    typeof navigator < "u" && navigator.product,
  ),
  zy =
    typeof WorkerGlobalScope < "u" &&
    self instanceof WorkerGlobalScope &&
    typeof self.importScripts == "function",
  Wy = Object.freeze(
    Object.defineProperty(
      {
        __proto__: null,
        hasBrowserEnv: nd,
        hasStandardBrowserEnv: Yy,
        hasStandardBrowserWebWorkerEnv: zy,
      },
      Symbol.toStringTag,
      { value: "Module" },
    ),
  ),
  De = { ...Wy, ...Xy };
function Ky(p, B) {
  return Jr(
    p,
    new De.classes.URLSearchParams(),
    Object.assign(
      {
        visitor: function (E, S, P, L) {
          return De.isNode && At.isBuffer(E)
            ? (this.append(S, E.toString("base64")), !1)
            : L.defaultVisitor.apply(this, arguments);
        },
      },
      B,
    ),
  );
}
function Jy(p) {
  return At.matchAll(/\w+|\[(\w*)]/g, p).map((B) =>
    B[0] === "[]" ? "" : B[1] || B[0],
  );
}
function Zy(p) {
  const B = {},
    E = Object.keys(p);
  let S;
  const P = E.length;
  let L;
  for (S = 0; S < P; S++) ((L = E[S]), (B[L] = p[L]));
  return B;
}
function rd(p) {
  function B(E, S, P, L) {
    let d = E[L++];
    const y = Number.isFinite(+d),
      t = L >= E.length;
    return (
      (d = !d && At.isArray(P) ? P.length : d),
      t
        ? (At.hasOwnProp(P, d) ? (P[d] = [P[d], S]) : (P[d] = S), !y)
        : ((!P[d] || !At.isObject(P[d])) && (P[d] = []),
          B(E, S, P[d], L) && At.isArray(P[d]) && (P[d] = Zy(P[d])),
          !y)
    );
  }
  if (At.isFormData(p) && At.isFunction(p.entries)) {
    const E = {};
    return (
      At.forEachEntry(p, (S, P) => {
        B(Jy(S), P, E, 0);
      }),
      E
    );
  }
  return null;
}
function $y(p, B, E) {
  if (At.isString(p))
    try {
      return ((B || JSON.parse)(p), At.trim(p));
    } catch (S) {
      if (S.name !== "SyntaxError") throw S;
    }
  return (E || JSON.stringify)(p);
}
const no = {
  transitional: sd,
  adapter: ["xhr", "http"],
  transformRequest: [
    function (B, E) {
      const S = E.getContentType() || "",
        P = S.indexOf("application/json") > -1,
        L = At.isObject(B);
      if ((L && At.isHTMLForm(B) && (B = new FormData(B)), At.isFormData(B)))
        return P && P ? JSON.stringify(rd(B)) : B;
      if (
        At.isArrayBuffer(B) ||
        At.isBuffer(B) ||
        At.isStream(B) ||
        At.isFile(B) ||
        At.isBlob(B)
      )
        return B;
      if (At.isArrayBufferView(B)) return B.buffer;
      if (At.isURLSearchParams(B))
        return (
          E.setContentType(
            "application/x-www-form-urlencoded;charset=utf-8",
            !1,
          ),
          B.toString()
        );
      let y;
      if (L) {
        if (S.indexOf("application/x-www-form-urlencoded") > -1)
          return Ky(B, this.formSerializer).toString();
        if ((y = At.isFileList(B)) || S.indexOf("multipart/form-data") > -1) {
          const t = this.env && this.env.FormData;
          return Jr(
            y ? { "files[]": B } : B,
            t && new t(),
            this.formSerializer,
          );
        }
      }
      return L || P ? (E.setContentType("application/json", !1), $y(B)) : B;
    },
  ],
  transformResponse: [
    function (B) {
      const E = this.transitional || no.transitional,
        S = E && E.forcedJSONParsing,
        P = this.responseType === "json";
      if (B && At.isString(B) && ((S && !this.responseType) || P)) {
        const d = !(E && E.silentJSONParsing) && P;
        try {
          return JSON.parse(B);
        } catch (y) {
          if (d)
            throw y.name === "SyntaxError"
              ? Et.from(
                  y,
                  Et.ERR_BAD_RESPONSE,
                  _____WB$wombat$check$this$function_____(this),
                  null,
                  this.response,
                )
              : y;
        }
      }
      return B;
    },
  ],
  timeout: 0,
  xsrfCookieName: "XSRF-TOKEN",
  xsrfHeaderName: "X-XSRF-TOKEN",
  maxContentLength: -1,
  maxBodyLength: -1,
  env: { FormData: De.classes.FormData, Blob: De.classes.Blob },
  validateStatus: function (B) {
    return B >= 200 && B < 300;
  },
  headers: {
    common: {
      Accept: "application/json, text/plain, */*",
      "Content-Type": void 0,
    },
  },
};
At.forEach(["delete", "get", "head", "post", "put", "patch"], (p) => {
  no.headers[p] = {};
});
const ro = no,
  jy = At.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",
  ]),
  ky = (p) => {
    const B = {};
    let E, S, P;
    return (
      p &&
        p
          .split(
            `
`,
          )
          .forEach(function (d) {
            ((P = d.indexOf(":")),
              (E = d.substring(0, P).trim().toLowerCase()),
              (S = d.substring(P + 1).trim()),
              !(!E || (B[E] && jy[E])) &&
                (E === "set-cookie"
                  ? B[E]
                    ? B[E].push(S)
                    : (B[E] = [S])
                  : (B[E] = B[E] ? B[E] + ", " + S : S)));
          }),
      B
    );
  },
  xl = Symbol("internals");
function Es(p) {
  return p && String(p).trim().toLowerCase();
}
function qn(p) {
  return p === !1 || p == null ? p : At.isArray(p) ? p.map(qn) : String(p);
}
function qy(p) {
  const B = Object.create(null),
    E = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
  let S;
  for (; (S = E.exec(p)); ) B[S[1]] = S[2];
  return B;
}
const _y = (p) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(p.trim());
function wa(p, B, E, S, P) {
  if (At.isFunction(S)) return S.call(this, B, E);
  if ((P && (B = E), !!At.isString(B))) {
    if (At.isString(S)) return B.indexOf(S) !== -1;
    if (At.isRegExp(S)) return S.test(B);
  }
}
function tC(p) {
  return p
    .trim()
    .toLowerCase()
    .replace(/([a-z\d])(\w*)/g, (B, E, S) => E.toUpperCase() + S);
}
function eC(p, B) {
  const E = At.toCamelCase(" " + B);
  ["get", "set", "has"].forEach((S) => {
    Object.defineProperty(p, S + E, {
      value: function (P, L, d) {
        return _____WB$wombat$check$this$function_____(this)[S].call(
          this,
          B,
          P,
          L,
          d,
        );
      },
      configurable: !0,
    });
  });
}
class Zr {
  constructor(B) {
    B && this.set(B);
  }
  set(B, E, S) {
    const P = _____WB$wombat$check$this$function_____(this);
    function L(y, t, A) {
      const c = Es(t);
      if (!c) throw new Error("header name must be a non-empty string");
      const a = At.findKey(P, c);
      (!a || P[a] === void 0 || A === !0 || (A === void 0 && P[a] !== !1)) &&
        (P[a || t] = qn(y));
    }
    const d = (y, t) => At.forEach(y, (A, c) => L(A, c, t));
    return (
      At.isPlainObject(B) || B instanceof this.constructor
        ? d(B, E)
        : At.isString(B) && (B = B.trim()) && !_y(B)
          ? d(ky(B), E)
          : B != null && L(E, B, S),
      _____WB$wombat$check$this$function_____(this)
    );
  }
  get(B, E) {
    if (((B = Es(B)), B)) {
      const S = At.findKey(this, B);
      if (S) {
        const P = _____WB$wombat$check$this$function_____(this)[S];
        if (!E) return P;
        if (E === !0) return qy(P);
        if (At.isFunction(E)) return E.call(this, P, S);
        if (At.isRegExp(E)) return E.exec(P);
        throw new TypeError("parser must be boolean|regexp|function");
      }
    }
  }
  has(B, E) {
    if (((B = Es(B)), B)) {
      const S = At.findKey(this, B);
      return !!(
        S &&
        _____WB$wombat$check$this$function_____(this)[S] !== void 0 &&
        (!E || wa(this, _____WB$wombat$check$this$function_____(this)[S], S, E))
      );
    }
    return !1;
  }
  delete(B, E) {
    const S = _____WB$wombat$check$this$function_____(this);
    let P = !1;
    function L(d) {
      if (((d = Es(d)), d)) {
        const y = At.findKey(S, d);
        y && (!E || wa(S, S[y], y, E)) && (delete S[y], (P = !0));
      }
    }
    return (At.isArray(B) ? B.forEach(L) : L(B), P);
  }
  clear(B) {
    const E = Object.keys(this);
    let S = E.length,
      P = !1;
    for (; S--; ) {
      const L = E[S];
      (!B ||
        wa(this, _____WB$wombat$check$this$function_____(this)[L], L, B, !0)) &&
        (delete this[L], (P = !0));
    }
    return P;
  }
  normalize(B) {
    const E = _____WB$wombat$check$this$function_____(this),
      S = {};
    return (
      At.forEach(this, (P, L) => {
        const d = At.findKey(S, L);
        if (d) {
          ((E[d] = qn(P)), delete E[L]);
          return;
        }
        const y = B ? tC(L) : String(L).trim();
        (y !== L && delete E[L], (E[y] = qn(P)), (S[y] = !0));
      }),
      _____WB$wombat$check$this$function_____(this)
    );
  }
  concat(...B) {
    return this.constructor.concat(this, ...B);
  }
  toJSON(B) {
    const E = Object.create(null);
    return (
      At.forEach(this, (S, P) => {
        S != null && S !== !1 && (E[P] = B && At.isArray(S) ? S.join(", ") : S);
      }),
      E
    );
  }
  [Symbol.iterator]() {
    return Object.entries(this.toJSON())[Symbol.iterator]();
  }
  toString() {
    return Object.entries(this.toJSON()).map(([B, E]) => B + ": " + E).join(`
`);
  }
  get [Symbol.toStringTag]() {
    return "AxiosHeaders";
  }
  static from(B) {
    return B instanceof this ? B : new this(B);
  }
  static concat(B, ...E) {
    const S = new this(B);
    return (E.forEach((P) => S.set(P)), S);
  }
  static accessor(B) {
    const S = (this[xl] = _____WB$wombat$check$this$function_____(this)[xl] =
        { accessors: {} }).accessors,
      P = this.prototype;
    function L(d) {
      const y = Es(d);
      S[y] || (eC(P, d), (S[y] = !0));
    }
    return (
      At.isArray(B) ? B.forEach(L) : L(B),
      _____WB$wombat$check$this$function_____(this)
    );
  }
}
Zr.accessor([
  "Content-Type",
  "Content-Length",
  "Accept",
  "Accept-Encoding",
  "User-Agent",
  "Authorization",
]);
At.reduceDescriptors(Zr.prototype, ({ value: p }, B) => {
  let E = B[0].toUpperCase() + B.slice(1);
  return {
    get: () => p,
    set(S) {
      this[E] = S;
    },
  };
});
At.freezeMethods(Zr);
const $e = Zr;
function Ma(p, B) {
  const E = _____WB$wombat$check$this$function_____(this) || ro,
    S = B || E,
    P = $e.from(S.headers);
  let L = S.data;
  return (
    At.forEach(p, function (y) {
      L = y.call(E, L, P.normalize(), B ? B.status : void 0);
    }),
    P.normalize(),
    L
  );
}
function ad(p) {
  return !!(p && p.__CANCEL__);
}
function fn(p, B, E) {
  (Et.call(this, p ?? "canceled", Et.ERR_CANCELED, B, E),
    (this.name = "CanceledError"));
}
At.inherits(fn, Et, { __CANCEL__: !0 });
function iC(p, B, E) {
  const S = E.config.validateStatus;
  !E.status || !S || S(E.status)
    ? p(E)
    : B(
        new Et(
          "Request failed with status code " + E.status,
          [Et.ERR_BAD_REQUEST, Et.ERR_BAD_RESPONSE][
            Math.floor(E.status / 100) - 4
          ],
          E.config,
          E.request,
          E,
        ),
      );
}
const sC = De.hasStandardBrowserEnv
  ? {
      write(p, B, E, S, P, L) {
        const d = [p + "=" + encodeURIComponent(B)];
        (At.isNumber(E) && d.push("expires=" + new Date(E).toGMTString()),
          At.isString(S) && d.push("path=" + S),
          At.isString(P) && d.push("domain=" + P),
          L === !0 && d.push("secure"),
          (document.cookie = d.join("; ")));
      },
      read(p) {
        const B = document.cookie.match(
          new RegExp("(^|;\\s*)(" + p + ")=([^;]*)"),
        );
        return B ? decodeURIComponent(B[3]) : null;
      },
      remove(p) {
        this.write(p, "", Date.now() - 864e5);
      },
    }
  : {
      write() {},
      read() {
        return null;
      },
      remove() {},
    };
function nC(p) {
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(p);
}
function rC(p, B) {
  return B ? p.replace(/\/+$/, "") + "/" + B.replace(/^\/+/, "") : p;
}
function Ad(p, B) {
  return p && !nC(B) ? rC(p, B) : B;
}
const aC = De.hasStandardBrowserEnv
  ? (function () {
      const B = /(msie|trident)/i.test(navigator.userAgent),
        E = document.createElement("a");
      let S;
      function P(L) {
        let d = L;
        return (
          B && (E.setAttribute("href", d), (d = E.href)),
          E.setAttribute("href", d),
          {
            href: E.href,
            protocol: E.protocol ? E.protocol.replace(/:$/, "") : "",
            host: E.host,
            search: E.search ? E.search.replace(/^\?/, "") : "",
            hash: E.hash ? E.hash.replace(/^#/, "") : "",
            hostname: E.hostname,
            port: E.port,
            pathname:
              E.pathname.charAt(0) === "/" ? E.pathname : "/" + E.pathname,
          }
        );
      }
      return (
        (S = P(window.location.href)),
        function (d) {
          const y = At.isString(d) ? P(d) : d;
          return y.protocol === S.protocol && y.host === S.host;
        }
      );
    })()
  : (function () {
      return function () {
        return !0;
      };
    })();
function AC(p) {
  const B = /^([-+\w]{1,25})(:?\/\/|:)/.exec(p);
  return (B && B[1]) || "";
}
function oC(p, B) {
  p = p || 10;
  const E = new Array(p),
    S = new Array(p);
  let P = 0,
    L = 0,
    d;
  return (
    (B = B !== void 0 ? B : 1e3),
    function (t) {
      const A = Date.now(),
        c = S[L];
      (d || (d = A), (E[P] = t), (S[P] = A));
      let a = L,
        r = 0;
      for (; a !== P; ) ((r += E[a++]), (a = a % p));
      if (((P = (P + 1) % p), P === L && (L = (L + 1) % p), A - d < B)) return;
      const n = c && A - c;
      return n ? Math.round((r * 1e3) / n) : void 0;
    }
  );
}
function Bl(p, B) {
  let E = 0;
  const S = oC(50, 250);
  return (P) => {
    const L = P.loaded,
      d = P.lengthComputable ? P.total : void 0,
      y = L - E,
      t = S(y),
      A = L <= d;
    E = L;
    const c = {
      loaded: L,
      total: d,
      progress: d ? L / d : void 0,
      bytes: y,
      rate: t || void 0,
      estimated: t && d && A ? (d - L) / t : void 0,
      event: P,
    };
    ((c[B ? "download" : "upload"] = !0), p(c));
  };
}
const hC = typeof XMLHttpRequest < "u",
  lC =
    hC &&
    function (p) {
      return new Promise(function (E, S) {
        let P = p.data;
        const L = $e.from(p.headers).normalize();
        let { responseType: d, withXSRFToken: y } = p,
          t;
        function A() {
          (p.cancelToken && p.cancelToken.unsubscribe(t),
            p.signal && p.signal.removeEventListener("abort", t));
        }
        let c;
        if (At.isFormData(P)) {
          if (De.hasStandardBrowserEnv || De.hasStandardBrowserWebWorkerEnv)
            L.setContentType(!1);
          else if ((c = L.getContentType()) !== !1) {
            const [s, ...u] = c
              ? c
                  .split(";")
                  .map((i) => i.trim())
                  .filter(Boolean)
              : [];
            L.setContentType([s || "multipart/form-data", ...u].join("; "));
          }
        }
        let a = new XMLHttpRequest();
        if (p.auth) {
          const s = p.auth.username || "",
            u = p.auth.password
              ? unescape(encodeURIComponent(p.auth.password))
              : "";
          L.set("Authorization", "Basic " + btoa(s + ":" + u));
        }
        const r = Ad(p.baseURL, p.url);
        (a.open(
          p.method.toUpperCase(),
          id(r, p.params, p.paramsSerializer),
          !0,
        ),
          (a.timeout = p.timeout));
        function n() {
          if (!a) return;
          const s = $e.from(
              "getAllResponseHeaders" in a && a.getAllResponseHeaders(),
            ),
            i = {
              data:
                !d || d === "text" || d === "json"
                  ? a.responseText
                  : a.response,
              status: a.status,
              statusText: a.statusText,
              headers: s,
              config: p,
              request: a,
            };
          (iC(
            function (h) {
              (E(h), A());
            },
            function (h) {
              (S(h), A());
            },
            i,
          ),
            (a = null));
        }
        if (
          ("onloadend" in a
            ? (a.onloadend = n)
            : (a.onreadystatechange = function () {
                !a ||
                  a.readyState !== 4 ||
                  (a.status === 0 &&
                    !(a.responseURL && a.responseURL.indexOf("file:") === 0)) ||
                  setTimeout(n);
              }),
          (a.onabort = function () {
            a &&
              (S(new Et("Request aborted", Et.ECONNABORTED, p, a)), (a = null));
          }),
          (a.onerror = function () {
            (S(new Et("Network Error", Et.ERR_NETWORK, p, a)), (a = null));
          }),
          (a.ontimeout = function () {
            let u = p.timeout
              ? "timeout of " + p.timeout + "ms exceeded"
              : "timeout exceeded";
            const i = p.transitional || sd;
            (p.timeoutErrorMessage && (u = p.timeoutErrorMessage),
              S(
                new Et(
                  u,
                  i.clarifyTimeoutError ? Et.ETIMEDOUT : Et.ECONNABORTED,
                  p,
                  a,
                ),
              ),
              (a = null));
          }),
          De.hasStandardBrowserEnv &&
            (y && At.isFunction(y) && (y = y(p)), y || (y !== !1 && aC(r))))
        ) {
          const s =
            p.xsrfHeaderName && p.xsrfCookieName && sC.read(p.xsrfCookieName);
          s && L.set(p.xsrfHeaderName, s);
        }
        (P === void 0 && L.setContentType(null),
          "setRequestHeader" in a &&
            At.forEach(L.toJSON(), function (u, i) {
              a.setRequestHeader(i, u);
            }),
          At.isUndefined(p.withCredentials) ||
            (a.withCredentials = !!p.withCredentials),
          d && d !== "json" && (a.responseType = p.responseType),
          typeof p.onDownloadProgress == "function" &&
            a.addEventListener("progress", Bl(p.onDownloadProgress, !0)),
          typeof p.onUploadProgress == "function" &&
            a.upload &&
            a.upload.addEventListener("progress", Bl(p.onUploadProgress)),
          (p.cancelToken || p.signal) &&
            ((t = (s) => {
              a &&
                (S(!s || s.type ? new fn(null, p, a) : s),
                a.abort(),
                (a = null));
            }),
            p.cancelToken && p.cancelToken.subscribe(t),
            p.signal &&
              (p.signal.aborted
                ? t()
                : p.signal.addEventListener("abort", t))));
        const e = AC(r);
        if (e && De.protocols.indexOf(e) === -1) {
          S(new Et("Unsupported protocol " + e + ":", Et.ERR_BAD_REQUEST, p));
          return;
        }
        a.send(P || null);
      });
    },
  FA = { http: Oy, xhr: lC };
At.forEach(FA, (p, B) => {
  if (p) {
    try {
      Object.defineProperty(p, "name", { value: B });
    } catch {}
    Object.defineProperty(p, "adapterName", { value: B });
  }
});
const yl = (p) => `- ${p}`,
  uC = (p) => At.isFunction(p) || p === null || p === !1,
  od = {
    getAdapter: (p) => {
      p = At.isArray(p) ? p : [p];
      const { length: B } = p;
      let E, S;
      const P = {};
      for (let L = 0; L < B; L++) {
        E = p[L];
        let d;
        if (
          ((S = E),
          !uC(E) && ((S = FA[(d = String(E)).toLowerCase()]), S === void 0))
        )
          throw new Et(`Unknown adapter '${d}'`);
        if (S) break;
        P[d || "#" + L] = S;
      }
      if (!S) {
        const L = Object.entries(P).map(
          ([y, t]) =>
            `adapter ${y} ` +
            (t === !1
              ? "is not supported by the environment"
              : "is not available in the build"),
        );
        let d = B
          ? L.length > 1
            ? `since :
` +
              L.map(yl).join(`
`)
            : " " + yl(L[0])
          : "as no adapter specified";
        throw new Et(
          "There is no suitable adapter to dispatch the request " + d,
          "ERR_NOT_SUPPORT",
        );
      }
      return S;
    },
    adapters: FA,
  };
function Pa(p) {
  if (
    (p.cancelToken && p.cancelToken.throwIfRequested(),
    p.signal && p.signal.aborted)
  )
    throw new fn(null, p);
}
function Cl(p) {
  return (
    Pa(p),
    (p.headers = $e.from(p.headers)),
    (p.data = Ma.call(p, p.transformRequest)),
    ["post", "put", "patch"].indexOf(p.method) !== -1 &&
      p.headers.setContentType("application/x-www-form-urlencoded", !1),
    od
      .getAdapter(p.adapter || ro.adapter)(p)
      .then(
        function (S) {
          return (
            Pa(p),
            (S.data = Ma.call(p, p.transformResponse, S)),
            (S.headers = $e.from(S.headers)),
            S
          );
        },
        function (S) {
          return (
            ad(S) ||
              (Pa(p),
              S &&
                S.response &&
                ((S.response.data = Ma.call(
                  p,
                  p.transformResponse,
                  S.response,
                )),
                (S.response.headers = $e.from(S.response.headers)))),
            Promise.reject(S)
          );
        },
      )
  );
}
const Tl = (p) => (p instanceof $e ? p.toJSON() : p);
function ls(p, B) {
  B = B || {};
  const E = {};
  function S(A, c, a) {
    return At.isPlainObject(A) && At.isPlainObject(c)
      ? At.merge.call({ caseless: a }, A, c)
      : At.isPlainObject(c)
        ? At.merge({}, c)
        : At.isArray(c)
          ? c.slice()
          : c;
  }
  function P(A, c, a) {
    if (At.isUndefined(c)) {
      if (!At.isUndefined(A)) return S(void 0, A, a);
    } else return S(A, c, a);
  }
  function L(A, c) {
    if (!At.isUndefined(c)) return S(void 0, c);
  }
  function d(A, c) {
    if (At.isUndefined(c)) {
      if (!At.isUndefined(A)) return S(void 0, A);
    } else return S(void 0, c);
  }
  function y(A, c, a) {
    if (a in B) return S(A, c);
    if (a in p) return S(void 0, A);
  }
  const t = {
    url: L,
    method: L,
    data: L,
    baseURL: d,
    transformRequest: d,
    transformResponse: d,
    paramsSerializer: d,
    timeout: d,
    timeoutMessage: d,
    withCredentials: d,
    withXSRFToken: d,
    adapter: d,
    responseType: d,
    xsrfCookieName: d,
    xsrfHeaderName: d,
    onUploadProgress: d,
    onDownloadProgress: d,
    decompress: d,
    maxContentLength: d,
    maxBodyLength: d,
    beforeRedirect: d,
    transport: d,
    httpAgent: d,
    httpsAgent: d,
    cancelToken: d,
    socketPath: d,
    responseEncoding: d,
    validateStatus: y,
    headers: (A, c) => P(Tl(A), Tl(c), !0),
  };
  return (
    At.forEach(Object.keys(Object.assign({}, p, B)), function (c) {
      const a = t[c] || P,
        r = a(p[c], B[c], c);
      (At.isUndefined(r) && a !== y) || (E[c] = r);
    }),
    E
  );
}
const hd = "1.6.2",
  ao = {};
["object", "boolean", "number", "function", "string", "symbol"].forEach(
  (p, B) => {
    ao[p] = function (S) {
      return typeof S === p || "a" + (B < 1 ? "n " : " ") + p;
    };
  },
);
const El = {};
ao.transitional = function (B, E, S) {
  function P(L, d) {
    return (
      "[Axios v" +
      hd +
      "] Transitional option '" +
      L +
      "'" +
      d +
      (S ? ". " + S : "")
    );
  }
  return (L, d, y) => {
    if (B === !1)
      throw new Et(
        P(d, " has been removed" + (E ? " in " + E : "")),
        Et.ERR_DEPRECATED,
      );
    return (
      E &&
        !El[d] &&
        ((El[d] = !0),
        console.warn(
          P(
            d,
            " has been deprecated since v" +
              E +
              " and will be removed in the near future",
          ),
        )),
      B ? B(L, d, y) : !0
    );
  };
};
function fC(p, B, E) {
  if (typeof p != "object")
    throw new Et("options must be an object", Et.ERR_BAD_OPTION_VALUE);
  const S = Object.keys(p);
  let P = S.length;
  for (; P-- > 0; ) {
    const L = S[P],
      d = B[L];
    if (d) {
      const y = p[L],
        t = y === void 0 || d(y, L, p);
      if (t !== !0)
        throw new Et("option " + L + " must be " + t, Et.ERR_BAD_OPTION_VALUE);
      continue;
    }
    if (E !== !0) throw new Et("Unknown option " + L, Et.ERR_BAD_OPTION);
  }
}
const SA = { assertOptions: fC, validators: ao },
  ti = SA.validators;
class mr {
  constructor(B) {
    ((this.defaults = B),
      (this.interceptors = { request: new ml(), response: new ml() }));
  }
  request(B, E) {
    (typeof B == "string" ? ((E = E || {}), (E.url = B)) : (E = B || {}),
      (E = ls(this.defaults, E)));
    const { transitional: S, paramsSerializer: P, headers: L } = E;
    (S !== void 0 &&
      SA.assertOptions(
        S,
        {
          silentJSONParsing: ti.transitional(ti.boolean),
          forcedJSONParsing: ti.transitional(ti.boolean),
          clarifyTimeoutError: ti.transitional(ti.boolean),
        },
        !1,
      ),
      P != null &&
        (At.isFunction(P)
          ? (E.paramsSerializer = { serialize: P })
          : SA.assertOptions(
              P,
              { encode: ti.function, serialize: ti.function },
              !0,
            )),
      (E.method = (E.method || this.defaults.method || "get").toLowerCase()));
    let d = L && At.merge(L.common, L[E.method]);
    (L &&
      At.forEach(
        ["delete", "get", "head", "post", "put", "patch", "common"],
        (e) => {
          delete L[e];
        },
      ),
      (E.headers = $e.concat(d, L)));
    const y = [];
    let t = !0;
    this.interceptors.request.forEach(function (s) {
      (typeof s.runWhen == "function" && s.runWhen(E) === !1) ||
        ((t = t && s.synchronous), y.unshift(s.fulfilled, s.rejected));
    });
    const A = [];
    this.interceptors.response.forEach(function (s) {
      A.push(s.fulfilled, s.rejected);
    });
    let c,
      a = 0,
      r;
    if (!t) {
      const e = [Cl.bind(this), void 0];
      for (
        e.unshift.apply(e, y),
          e.push.apply(e, A),
          r = e.length,
          c = Promise.resolve(E);
        a < r;
      )
        c = c.then(e[a++], e[a++]);
      return c;
    }
    r = y.length;
    let n = E;
    for (a = 0; a < r; ) {
      const e = y[a++],
        s = y[a++];
      try {
        n = e(n);
      } catch (u) {
        s.call(this, u);
        break;
      }
    }
    try {
      c = Cl.call(this, n);
    } catch (e) {
      return Promise.reject(e);
    }
    for (a = 0, r = A.length; a < r; ) c = c.then(A[a++], A[a++]);
    return c;
  }
  getUri(B) {
    B = ls(this.defaults, B);
    const E = Ad(B.baseURL, B.url);
    return id(E, B.params, B.paramsSerializer);
  }
}
At.forEach(["delete", "get", "head", "options"], function (B) {
  mr.prototype[B] = function (E, S) {
    return this.request(
      ls(S || {}, { method: B, url: E, data: (S || {}).data }),
    );
  };
});
At.forEach(["post", "put", "patch"], function (B) {
  function E(S) {
    return function (L, d, y) {
      return this.request(
        ls(y || {}, {
          method: B,
          headers: S ? { "Content-Type": "multipart/form-data" } : {},
          url: L,
          data: d,
        }),
      );
    };
  }
  ((mr.prototype[B] = E()), (mr.prototype[B + "Form"] = E(!0)));
});
const _n = mr;
class Ao {
  constructor(B) {
    if (typeof B != "function")
      throw new TypeError("executor must be a function.");
    let E;
    this.promise = new Promise(function (L) {
      E = L;
    });
    const S = _____WB$wombat$check$this$function_____(this);
    (this.promise.then((P) => {
      if (!S._listeners) return;
      let L = S._listeners.length;
      for (; L-- > 0; ) S._listeners[L](P);
      S._listeners = null;
    }),
      (this.promise.then = (P) => {
        let L;
        const d = new Promise((y) => {
          (S.subscribe(y), (L = y));
        }).then(P);
        return (
          (d.cancel = function () {
            S.unsubscribe(L);
          }),
          d
        );
      }),
      B(function (L, d, y) {
        S.reason || ((S.reason = new fn(L, d, y)), E(S.reason));
      }));
  }
  throwIfRequested() {
    if (this.reason) throw this.reason;
  }
  subscribe(B) {
    if (this.reason) {
      B(this.reason);
      return;
    }
    this._listeners ? this._listeners.push(B) : (this._listeners = [B]);
  }
  unsubscribe(B) {
    if (!this._listeners) return;
    const E = this._listeners.indexOf(B);
    E !== -1 && this._listeners.splice(E, 1);
  }
  static source() {
    let B;
    return {
      token: new Ao(function (P) {
        B = P;
      }),
      cancel: B,
    };
  }
}
const dC = Ao;
function cC(p) {
  return function (E) {
    return p.apply(null, E);
  };
}
function vC(p) {
  return At.isObject(p) && p.isAxiosError === !0;
}
const wA = {
  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(wA).forEach(([p, B]) => {
  wA[B] = p;
});
const pC = wA;
function ld(p) {
  const B = new _n(p),
    E = zf(_n.prototype.request, B);
  return (
    At.extend(E, _n.prototype, B, { allOwnKeys: !0 }),
    At.extend(E, B, null, { allOwnKeys: !0 }),
    (E.create = function (P) {
      return ld(ls(p, P));
    }),
    E
  );
}
const zt = ld(ro);
zt.Axios = _n;
zt.CanceledError = fn;
zt.CancelToken = dC;
zt.isCancel = ad;
zt.VERSION = hd;
zt.toFormData = Jr;
zt.AxiosError = Et;
zt.Cancel = zt.CanceledError;
zt.all = function (B) {
  return Promise.all(B);
};
zt.spread = cC;
zt.isAxiosError = vC;
zt.mergeConfig = ls;
zt.AxiosHeaders = $e;
zt.formToJSON = (p) => rd(At.isHTMLForm(p) ? new FormData(p) : p);
zt.getAdapter = od.getAdapter;
zt.HttpStatusCode = pC;
zt.default = zt;
const xr = zt,
  zi = xt(localStorage.getItem("userId")),
  Ua = xt(localStorage.getItem("highscore") || 0),
  Fs = xt((localStorage.getItem("friends") || "").split(",")),
  oo = () => {
    zi.value ||
      ((zi.value = Math.random().toString(16).substring(2, 15)),
      localStorage.setItem("userId", zi.value));
    const p = (L) => {
        L > Ua.value && ((Ua.value = L), localStorage.setItem("highscore", L));
      },
      B = (L) => {
        Fs.value.includes(L) ||
          !L ||
          (Fs.value.push(L),
          localStorage.setItem("friends", Fs.value.join(",")));
      },
      E = xt(!1);
    return {
      userId: zi,
      highscore: Ua,
      loading: E,
      friends: Fs,
      setHighscore: p,
      addFriendId: B,
      fetchScores: async (L = !1) => {
        E.value = !0;
        const { data: d } = await xr.get(
          `/api/scores?userId=${zi.value}&daily=${L}`,
        );
        return ((E.value = !1), d);
      },
      fetchFriendsScores: async (L = !1) => {
        E.value = !0;
        const { data: d } = await xr.post("/api/friends-scores", {
          friends: Fs.value,
          me: zi.value,
          daily: L,
        });
        return ((E.value = !1), d);
      },
    };
  },
  gC = {
    __name: "Button",
    props: { icon: String, cta: Boolean },
    setup(p) {
      return (B, E) => (
        mt(),
        Bt("button", null, [
          p.icon
            ? (mt(),
              Bt("i", { key: 0, class: ce(["fas", `fa-${p.icon}`]) }, null, 2))
            : Wt("", !0),
          Tc(B.$slots, "default", {}, void 0, !0),
        ])
      );
    },
  },
  is = Di(gC, [["__scopeId", "data-v-d8bd9090"]]),
  ho = (p) => (an("data-v-038f59c1"), (p = p()), An(), p),
  mC = { class: "flex w-full -mt-10 z-40 absolute top-0 gap-2" },
  xC = ho(() => ht("div", { class: "title" }, "Your Best Score", -1)),
  BC = { class: "scores" },
  yC = { class: "score centered highlight" },
  CC = { class: "score__score" },
  TC = { key: 1, class: "loading" },
  EC = ho(() => ht("div", { class: "title" }, "World Ranking (Today)", -1)),
  FC = { class: "scores" },
  SC = { class: "score__position" },
  wC = { class: "score__score" },
  MC = ho(() => ht("div", { class: "title" }, "Your Best Score (Today)", -1)),
  PC = { class: "scores" },
  UC = { class: "score highlight" },
  RC = { class: "score__position" },
  LC = { class: "score__score" },
  IC = {
    __name: "Scores",
    setup(p) {
      const { fetchScores: B, loading: E, highscore: S } = oo(),
        P = xt(!1),
        L = xt([]);
      on(async () => {
        L.value = await B();
      });
      const d = async (y) => {
        ((P.value = y), (L.value = await B(P.value)));
      };
      return (y, t) => (
        mt(),
        Bt(
          "div",
          {
            class: ce([
              "scores-container bg relative !pt-6",
              { daily: P.value },
            ]),
          },
          [
            ht("div", mC, [
              Gt(
                is,
                { onClick: t[0] || (t[0] = (A) => d(!1)), class: "flex-1" },
                { default: Ri(() => [kt("Classic")]), _: 1 },
              ),
              Gt(
                is,
                { onClick: t[1] || (t[1] = (A) => d(!0)), class: "flex-1" },
                { default: Ri(() => [kt("Daily")]), _: 1 },
              ),
            ]),
            Tt(S) && !P.value
              ? (mt(),
                Bt(
                  It,
                  { key: 0 },
                  [
                    xC,
                    ht("div", BC, [
                      ht("div", yC, [ht("div", CC, le(Tt(S)), 1)]),
                    ]),
                  ],
                  64,
                ))
              : Wt("", !0),
            Tt(E)
              ? (mt(), Bt("div", TC, "Loading..."))
              : (mt(),
                Bt(
                  It,
                  { key: 2 },
                  [
                    EC,
                    ht("div", FC, [
                      (mt(!0),
                      Bt(
                        It,
                        null,
                        Pr(
                          L.value.scores,
                          (A, c) => (
                            mt(),
                            Bt(
                              "div",
                              {
                                class: ce(["score", { highlight: A.you }]),
                                key: A.id,
                              },
                              [
                                ht("div", SC, "#" + le(c + 1), 1),
                                ht("div", wC, le(A.score), 1),
                              ],
                              2,
                            )
                          ),
                        ),
                        128,
                      )),
                    ]),
                    L.value.myScore
                      ? (mt(),
                        Bt(
                          It,
                          { key: 0 },
                          [
                            MC,
                            ht("div", PC, [
                              ht("div", UC, [
                                ht(
                                  "div",
                                  RC,
                                  "#" + le(L.value.myScore.position),
                                  1,
                                ),
                                ht("div", LC, le(L.value.myScore.score), 1),
                              ]),
                            ]),
                          ],
                          64,
                        ))
                      : Wt("", !0),
                  ],
                  64,
                )),
          ],
          2,
        )
      );
    },
  },
  OC = Di(IC, [["__scopeId", "data-v-038f59c1"]]),
  lo = (p) => (an("data-v-b24e3e7b"), (p = p()), An(), p),
  QC = { class: "flex w-full -mt-10 z-40 absolute top-0 gap-2" },
  DC = lo(() =>
    ht("div", { class: "title" }, "You don't have any friends yet 😢😔", -1),
  ),
  HC = lo(() =>
    ht(
      "div",
      { class: "title" },
      "Share your link to compare your scores! And ask your friends for their link!",
      -1,
    ),
  ),
  NC = { key: 0, class: "loading" },
  GC = lo(() =>
    ht("div", { class: "title" }, "YOUR AND YOUR FIENDS' BEST SCORES", -1),
  ),
  bC = { class: "scores" },
  VC = { class: "score__position" },
  XC = { class: "score__score" },
  YC = {
    __name: "FriendsScores",
    setup(p) {
      const { fetchFriendsScores: B, friends: E, loading: S, userId: P } = oo(),
        L = xt(!1),
        d = xt([]),
        { copyToClipboard: y, copyingText: t } = Xf(),
        A = () => {
          y(window.location.href + "?friend=" + P.value);
        };
      on(async () => {
        d.value = await B();
      });
      const c = async (a) => {
        ((L.value = a), (d.value = await B(L.value)));
      };
      return (a, r) => (
        mt(),
        Bt(
          "div",
          {
            class: ce([
              "scores-container bg relative !pt-6",
              { daily: L.value },
            ]),
          },
          [
            ht("div", QC, [
              Gt(
                is,
                { onClick: r[0] || (r[0] = (n) => c(!1)), class: "flex-1" },
                { default: Ri(() => [kt("Classic")]), _: 1 },
              ),
              Gt(
                is,
                { onClick: r[1] || (r[1] = (n) => c(!0)), class: "flex-1" },
                { default: Ri(() => [kt("Daily")]), _: 1 },
              ),
            ]),
            Tt(E).length < 2
              ? (mt(), Bt(It, { key: 0 }, [DC, HC], 64))
              : (mt(),
                Bt(
                  It,
                  { key: 1 },
                  [
                    Tt(S)
                      ? (mt(), Bt("div", NC, "LOADING..."))
                      : (mt(),
                        Bt(
                          It,
                          { key: 1 },
                          [
                            GC,
                            ht("div", bC, [
                              (mt(!0),
                              Bt(
                                It,
                                null,
                                Pr(
                                  d.value.scores,
                                  (n, e) => (
                                    mt(),
                                    Bt(
                                      "div",
                                      {
                                        class: ce([
                                          "score",
                                          { highlight: n.you },
                                        ]),
                                        key: n.id,
                                      },
                                      [
                                        ht("div", VC, "#" + le(e + 1), 1),
                                        ht("div", XC, le(n.score), 1),
                                      ],
                                      2,
                                    )
                                  ),
                                ),
                                128,
                              )),
                            ]),
                          ],
                          64,
                        )),
                  ],
                  64,
                )),
            Gt(
              is,
              { onClick: A, icon: "link", class: "share-btn" },
              {
                default: Ri(() => [
                  Tt(t)
                    ? (mt(),
                      Bt(It, { key: 0 }, [kt("LINK COPIED! SHARE IT!")], 64))
                    : (mt(), Bt(It, { key: 1 }, [kt("SHARE YOUR LINK")], 64)),
                ]),
                _: 1,
              },
            ),
          ],
          2,
        )
      );
    },
  },
  zC = Di(YC, [["__scopeId", "data-v-b24e3e7b"]]),
  Ra = xt(null),
  WC = 50,
  KC = 3e3,
  Xn = xt(!1),
  JC = (p) => (
    window.removeEventListener("devicemotion", Ra.value),
    (Ra.value = p),
    window.addEventListener("devicemotion", function (B) {
      var E = B.accelerationIncludingGravity,
        S = Math.sqrt(E.x * E.x + E.y * E.y + E.z * E.z);
      S > WC &&
        (Xn.value ||
          (Ra.value(),
          (Xn.value = !0),
          setTimeout(function () {
            Xn.value = !1;
          }, KC)));
    }),
    { shaking: Xn }
  ),
  ue = (p) => (an("data-v-6fe4b50d"), (p = p()), An(), p),
  ZC = { key: 0, class: "container" },
  $C = { key: 0, class: "menu" },
  jC = { key: 0, class: "play-buttons-container" },
  kC = ["innerHTML"],
  qC = { key: 1, class: "menu__game-over" },
  _C = { class: "menu__score bg" },
  tT = Wc(
    '<div class="score-planet score-planet__first" data-v-6fe4b50d><img src="' +
      Dp +
      '" alt="earth" height="50" width="50" data-v-6fe4b50d></div><div class="score-planet score-planet__second" data-v-6fe4b50d><img src="' +
      Hp +
      '" alt="sun" height="60" width="60" data-v-6fe4b50d></div><div class="score-label" data-v-6fe4b50d>SCORE</div>',
    3,
  ),
  eT = { class: "score-value" },
  iT = ue(() => ht("div", { class: "score-label highscore" }, "HIGHSCORE", -1)),
  sT = { class: "score-value highscore" },
  nT = { class: "menu-footer" },
  rT = { class: "menu-footer__column" },
  aT = ue(() => ht("i", { class: "fas fa-play" }, null, -1)),
  AT = ue(() => ht("i", { class: "fa-solid fa-check" }, null, -1)),
  oT = ue(() => ht("i", { class: "fa-solid fa-copy" }, null, -1)),
  hT = ue(() => ht("i", { class: "fa-solid fa-ranking-star" }, null, -1)),
  lT = { class: "menu-footer__column" },
  uT = ue(() => ht("i", { class: "fas fa-download" }, null, -1)),
  fT = ["disabled"],
  dT = { key: 0, class: "fas fa-download" },
  cT = { key: 1, class: "fas fa-arrows-rotate" },
  vT = ue(() => ht("i", { class: "fa-solid fa-user-group" }, null, -1)),
  pT = { key: 0, class: "website-link" },
  gT = { class: "score" },
  mT = ue(() => ht("canvas", { id: "game" }, null, -1)),
  xT = { key: 0, class: "circuit-container" },
  BT = ["disabled"],
  yT = ue(() => ht("i", { class: "fas fa-meteor" }, null, -1)),
  CT = { class: "circuit bg" },
  TT = { key: 3, class: "devtool" },
  ET = ue(() =>
    ht("label", { for: "limitBarPosition" }, "Limit Bar Position", -1),
  ),
  FT = ue(() =>
    ht("label", { for: "limitBarThreshold" }, "Limit Bar Threshold", -1),
  ),
  ST = ue(() => ht("label", { for: "autospawn" }, "Auto Spawn", -1)),
  wT = { for: "gameWidth" },
  MT = ue(() => ht("label", { for: "autospawn" }, "reversed", -1)),
  PT = ue(() => ht("label", { for: "level" }, "level", -1)),
  UT = ue(() => ht("label", { for: "xxx" }, "XXXXX", -1)),
  RT = {
    __name: "MatterTest",
    setup(p) {
      Tv((W) => ({
        10594118: l.value,
        "3e002fd6": f.value,
        e8c2b206: v.value,
        "165265a2": T.value,
      }));
      const { handleUpdate: B, updateInProgress: E, needRefresh: S } = _B(),
        { install: P, isInstallable: L } = Yf(),
        { userId: d, setHighscore: y, highscore: t, addFriendId: A } = oo(),
        c = Qu();
      if (window.location.search.includes("friend")) {
        const W = window.location.search.split("=")[1];
        (A(W),
          window.history.replaceState(
            {},
            document.title,
            window.location.pathname,
          ));
      }
      const a = xt(window.location.origin.includes("localhost")),
        r = xt(!1),
        n = xt("menu"),
        e = xt("main"),
        s = xt({}),
        u = xt(!1),
        i = xt(!1),
        o = xt(!1),
        h = xt(!1),
        l = xt("430px"),
        f = xt("754px"),
        v = qt(() => (h.value ? f.value.replace("px", "") - 100 : 100) + "px"),
        m = qt(() => (h.value ? f.value.replace("px", "") - 50 : 50)),
        x = xt(0),
        g = xt(!1),
        C = xt(!0),
        T = xt("3s"),
        F = xt(0),
        w = xt(1),
        U = xt(!1),
        M = { gravity: 1.5, size: 1, friction: 0.06, restitution: 0.3 },
        I = xt({}),
        O = qt(() =>
          Object.keys(I.value)
            .map((W) => `${W} x${(I.value[W] / M[W]).toFixed(2)}`)
            .join("<br/>"),
        );
      xr.get("/api/daily-mod").then(({ data: W }) => {
        I.value = W;
      });
      const D = (W) => {
          F.value += W;
        },
        G = () => {
          ((e.value = "main"), (n.value = "menu"));
        },
        X = xt(null),
        z = async ({ daily: W } = { daily: !1 }) => {
          if (n.value === "playing") {
            e.value = "game";
            return;
          }
          U.value = W;
          let Z = { ...M };
          (W && (Z = { ...Z, ...I.value }),
            (h.value = !1),
            (e.value = "game"),
            (n.value = "playing"),
            (F.value = 0),
            (s.value = {}),
            (C.value = !0));
          const { game: j } = Xp({
            debug: a,
            autoSpawn: r,
            gameWidth: l,
            gameHeight: f,
            limitBarPosition: v,
            limitBarThreshold: x,
            limitBarActive: g,
            newBodyTopPosition: m,
            canShake: C,
            incrementScore: D,
            reversed: h,
            level: w,
            planetsCounts: s,
            modifiers: Z,
          });
          X.value = j;
        },
        K = () => {
          !X.value || !C.value || ((C.value = !1), X.value.shake());
        };
      JC(K);
      const N = () => {
        (J(),
          y(F.value),
          (n.value = "gameOver"),
          (e.value = "gameOver"),
          X.value.destroy(),
          (g.value = !1));
      };
      let b;
      _i(g, (W) => {
        W
          ? (b = setTimeout(() => {
              g.value && N();
            }, 4e3))
          : clearTimeout(b);
      });
      const { scale: R } = ag(),
        { captureAndCopy: H, copying: Q, copyEnded: V } = Xf(),
        Y = async () => {
          H(document.querySelector(".wrapper"));
        },
        J = async () => {
          function W() {
            const j = Math.floor(9 * Math.random()) + 2,
              k = Math.floor(91 * Math.random()) + 10;
            return { m: F.value * j + k, f: j, c: k };
          }
          function Z(j) {
            let k = [];
            for (let _ in j)
              j.hasOwnProperty(_) &&
                k.push(
                  String(j[_]).padStart(4, "0").split("").reverse().join(""),
                );
            return k.join("-");
          }
          await xr.post("/api/score", {
            ...W(),
            d: U.value,
            id: Z(s.value),
            userId: d.value,
          });
        },
        $ = xt([
          {
            id: 1,
            name: "Menu",
            icon: "home",
            active: qt(() => !["main", "gameOver"].includes(e.value)),
            onClick: () => {
              e.value = "main";
            },
          },
          {
            id: 2,
            name: "Rules",
            icon: "book",
            active: qt(() => n.value === "playing"),
            onClick: () => {
              o.value = !o.value;
            },
          },
          {
            id: 3,
            name: "Shake",
            icon: "meteor",
            active: qt(() => C.value && n.value === "playing"),
            cta: !0,
            onClick: K,
          },
        ]);
      return (W, Z) => {
        var j, k, _;
        return (
          mt(),
          Bt(
            It,
            null,
            [
              Tt(R)
                ? (mt(),
                  Bt("div", ZC, [
                    ht(
                      "div",
                      {
                        class: "wrapper",
                        style: nn({ transform: `scale(${Tt(R)})` }),
                      },
                      [
                        e.value !== "game" && !Tt(Q)
                          ? (mt(),
                            Bt("div", $C, [
                              e.value === "main" && !u.value && !i.value
                                ? (mt(),
                                  Bt("div", jC, [
                                    ht(
                                      "button",
                                      {
                                        class: "play-button !px-2",
                                        onClick: z,
                                      },
                                      "PLAY CLASSIC MODE",
                                    ),
                                    ht(
                                      "button",
                                      {
                                        class:
                                          "play-button cta flex flex-col !px-2",
                                        onClick:
                                          Z[0] ||
                                          (Z[0] = (q) => z({ daily: !0 })),
                                      },
                                      [
                                        kt(" PLAY DAILY MODE "),
                                        ht(
                                          "div",
                                          {
                                            class: "text-base uppercase",
                                            innerHTML: O.value,
                                          },
                                          null,
                                          8,
                                          kC,
                                        ),
                                      ],
                                    ),
                                  ]))
                                : Wt("", !0),
                              e.value === "gameOver"
                                ? (mt(),
                                  Bt("div", qC, [
                                    ht("div", _C, [
                                      tT,
                                      ht("div", eT, le(F.value), 1),
                                      iT,
                                      ht("div", sT, le(Tt(t)), 1),
                                    ]),
                                    Gt(
                                      is,
                                      { onClick: G },
                                      { default: Ri(() => [kt("Play")]), _: 1 },
                                    ),
                                  ]))
                                : Wt("", !0),
                              e.value === "scores"
                                ? (mt(), Mi(OC, { key: 2 }))
                                : Wt("", !0),
                              e.value === "friendsScores"
                                ? (mt(), Mi(zC, { key: 3 }))
                                : Wt("", !0),
                              ht("div", nT, [
                                ht("div", rT, [
                                  ["scores", "friendsScores"].includes(e.value)
                                    ? (mt(),
                                      Bt(
                                        "button",
                                        { key: 0, class: "cta", onClick: G },
                                        [aT, kt(" PLAY ")],
                                      ))
                                    : Wt("", !0),
                                  e.value === "gameOver"
                                    ? (mt(),
                                      Bt(
                                        "button",
                                        {
                                          key: 1,
                                          class: "share-button cta",
                                          onClick: Y,
                                        },
                                        [
                                          Tt(V)
                                            ? (mt(),
                                              Bt(
                                                It,
                                                { key: 0 },
                                                [AT, kt(" COPIED ! ")],
                                                64,
                                              ))
                                            : (mt(),
                                              Bt(
                                                It,
                                                { key: 1 },
                                                [oT, kt(" COPY SCORE ")],
                                                64,
                                              )),
                                        ],
                                      ))
                                    : Wt("", !0),
                                  ht(
                                    "button",
                                    {
                                      class: "classement-button",
                                      onClick:
                                        Z[1] ||
                                        (Z[1] = (q) => (e.value = "scores")),
                                    },
                                    [hT, kt(" WORLD RANKING ")],
                                  ),
                                ]),
                                ht("div", lT, [
                                  Tt(L)
                                    ? (mt(),
                                      Bt(
                                        "button",
                                        {
                                          key: 0,
                                          class: "install-pwa-button cta",
                                          onClick:
                                            Z[2] ||
                                            (Z[2] = (...q) =>
                                              Tt(P) && Tt(P)(...q)),
                                        },
                                        [uT, kt(" INSTALL GAME ")],
                                      ))
                                    : Wt("", !0),
                                  !Tt(L) && Tt(S)
                                    ? (mt(),
                                      Bt(
                                        "button",
                                        {
                                          key: 1,
                                          class: "install-pwa-button cta",
                                          onClick:
                                            Z[3] ||
                                            (Z[3] = (...q) =>
                                              Tt(B) && Tt(B)(...q)),
                                          disabled: Tt(E),
                                        },
                                        [
                                          Tt(E)
                                            ? (mt(), Bt("i", cT))
                                            : (mt(), Bt("i", dT)),
                                          kt(" UPDATE "),
                                        ],
                                        8,
                                        fT,
                                      ))
                                    : Wt("", !0),
                                  ht(
                                    "button",
                                    {
                                      class: "classement-button",
                                      onClick:
                                        Z[4] ||
                                        (Z[4] = (q) =>
                                          (e.value = "friendsScores")),
                                    },
                                    [vT, kt(" FRIENDS RANKING ")],
                                  ),
                                ]),
                              ]),
                            ]))
                          : Wt("", !0),
                        ht(
                          "div",
                          {
                            class: ce([
                              "background bg",
                              {
                                active: g.value,
                                daily: U.value,
                                copying: Tt(Q),
                                reversed: h.value,
                              },
                            ]),
                          },
                          [
                            Tt(Q)
                              ? (mt(),
                                Bt("div", pT, " www.little-planets.xyz "))
                              : Wt("", !0),
                            ht(
                              "div",
                              {
                                class: ce([
                                  "can-shake",
                                  { disabled: !C.value },
                                ]),
                              },
                              null,
                              2,
                            ),
                            ht("div", gT, [ht("span", null, le(F.value), 1)]),
                            ht(
                              "div",
                              { class: ce(["limit-bar", { active: g.value }]) },
                              null,
                              2,
                            ),
                          ],
                          2,
                        ),
                        mT,
                      ],
                      4,
                    ),
                    (j = Tt(c)) != null && j.isMobile
                      ? Wt("", !0)
                      : (mt(),
                        Bt("div", xT, [
                          n.value === "playing"
                            ? (mt(),
                              Bt(
                                "button",
                                {
                                  key: 0,
                                  class: "shake-button cta",
                                  onClick: K,
                                  disabled: !C.value,
                                },
                                [yT, kt(" Shake ")],
                                8,
                                BT,
                              ))
                            : Wt("", !0),
                          ht("div", CT, [Gt(Hu)]),
                        ])),
                  ]))
                : Wt("", !0),
              (k = Tt(c)) != null && k.isMobile
                ? (mt(), Mi(cg, { key: 1, menu: $.value }, null, 8, ["menu"]))
                : Wt("", !0),
              (_ = Tt(c)) != null && _.isMobile
                ? (mt(), Mi(mg, { key: 2, show: o.value }, null, 8, ["show"]))
                : Wt("", !0),
              a.value
                ? (mt(),
                  Bt("div", TT, [
                    ht("div", null, [
                      ET,
                      ps(
                        ht(
                          "input",
                          {
                            type: "text",
                            id: "limitBarPosition",
                            "onUpdate:modelValue":
                              Z[5] || (Z[5] = (q) => (v.value = q)),
                          },
                          null,
                          512,
                        ),
                        [[ea, v.value]],
                      ),
                    ]),
                    ht("div", null, [
                      FT,
                      ps(
                        ht(
                          "input",
                          {
                            type: "number",
                            id: "limitBarThreshold",
                            "onUpdate:modelValue":
                              Z[6] || (Z[6] = (q) => (x.value = q)),
                          },
                          null,
                          512,
                        ),
                        [[ea, x.value]],
                      ),
                    ]),
                    ht("div", null, [
                      ST,
                      ps(
                        ht(
                          "input",
                          {
                            type: "checkbox",
                            id: "autospawn",
                            "onUpdate:modelValue":
                              Z[7] || (Z[7] = (q) => (r.value = q)),
                          },
                          null,
                          512,
                        ),
                        [[zo, r.value]],
                      ),
                    ]),
                    ht("div", null, [
                      ht("label", wT, "Is mobile: " + le(Tt(c).isMobile), 1),
                    ]),
                    ht("div", null, [
                      ht("div", { onClick: Y }, "Copy score"),
                      ht("div", { onClick: N }, "game over"),
                    ]),
                    ht("div", null, [
                      ht(
                        "div",
                        { onClick: Z[8] || (Z[8] = () => X.value.shake()) },
                        "Shake",
                      ),
                    ]),
                    ht("div", null, [
                      MT,
                      ps(
                        ht(
                          "input",
                          {
                            type: "checkbox",
                            id: "autospawn",
                            "onUpdate:modelValue":
                              Z[9] || (Z[9] = (q) => (h.value = q)),
                          },
                          null,
                          512,
                        ),
                        [[zo, h.value]],
                      ),
                    ]),
                    ht("div", null, [
                      PT,
                      ps(
                        ht(
                          "input",
                          {
                            type: "number",
                            id: "level",
                            "onUpdate:modelValue":
                              Z[10] || (Z[10] = (q) => (w.value = q)),
                          },
                          null,
                          512,
                        ),
                        [[ea, w.value]],
                      ),
                    ]),
                    ht("div", null, [
                      UT,
                      ht("button", { id: "xxx", onClick: J }, "XXXXX"),
                    ]),
                    ht("div", null, [
                      ht("div", null, "game state: " + le(n.value), 1),
                      ht("div", null, "menu state: " + le(e.value), 1),
                    ]),
                    ht("div", null, le(s.value), 1),
                  ]))
                : Wt("", !0),
            ],
            64,
          )
        );
      };
    },
  },
  LT = Di(RT, [["__scopeId", "data-v-6fe4b50d"]]),
  IT = Ip({
    history: jv("/"),
    routes: [{ path: "/", name: "matter", component: LT }],
  }),
  { setPrompt: OT } = Yf();
window.addEventListener("beforeinstallprompt", (p) => {
  (p.preventDefault(), OT(p));
});
const uo = Mv(Qp);
uo.use(Lv());
uo.use(IT);
uo.mount("#app");
function __vite__mapDeps(indexes) {
  if (!__vite__mapDeps.viteFileDeps) {
    __vite__mapDeps.viteFileDeps = [];
  }
  return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]);
} /*
     FILE ARCHIVED ON 11:20:02 Dec 18, 2024 AND RETRIEVED FROM THE
     INTERNET ARCHIVE ON 23:45:08 Dec 10, 2025.
     JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.

     ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
     SECTION 108(a)(3)).
*/
/*
playback timings (ms):
  captures_list: 0.517
  exclusion.robots: 0.022
  exclusion.robots.policy: 0.009
  esindex: 0.01
  cdx.remote: 13.437
  LoadShardBlock: 113.529 (3)
  PetaboxLoader3.datanode: 95.131 (4)
  PetaboxLoader3.resolve: 61.477 (2)
  load_resource: 114.962
*/
