import { S as me, b as ge, s as he, f as _, d as we, n as L, e as z, g as T, j as le, w as be, o as ye, x as j, N as b, p as m, l as h, h as S, m as g, A as ve, q as M, E as A, F as Y, r as re, T as V, C as U, D as Z, U as E, V as F, I as _e, J as ke, K as ze, c as Te } from "./CasinoGameOverlay-8T89JqAi.js";
import { f as q } from "./LotteryProgramWof-DS_7y7AG.js";
import { $ as N, b as Ce, a as Ie, i as Se, c as Le } from "./CasinoMysteryChestContainer-DbmkGTID.js";
const X = {
  en: {
    History: "History",
    Play: "Play",
    CoinRoyale: "CoinRoyale",
    MysteryChest: "MysteryChest",
    LuckyWheels: "LuckyWheels",
    InfoTooltipCoin: "Flip a virtual coin and take a chance to win!",
    InfoTooltipChest: "Open Mystery Chest and find your reward!",
    InfoTooltipLuckywheel: "Spin a lucky wheel and take a chance to win!"
  }
};
function Me({ withLocale: s, translations: e }) {
  N.subscribe((t) => {
    t == null && (Ce.set(e), N.set(s));
  });
}
function ne(s, e) {
  Ie(s, e);
}
function Ee(s) {
  N.set(s);
}
const De = () => {
  Me({ withLocale: "en", translations: {} }), Object.keys(X).forEach((s) => {
    ne(s, X[s]);
  });
};
if (typeof window < "u") {
  let s = function(e) {
    return function(...t) {
      try {
        return e.apply(this, t);
      } catch (i) {
        if (i instanceof DOMException && i.message.includes("has already been used with this registry") || i.message.includes("Cannot define multiple custom elements with the same tag name"))
          return !1;
        throw i;
      }
    };
  };
  customElements.define = s(customElements.define), import("./PrizeEngineHistory-B04ivRsS.js").then(({ default: e }) => {
    !customElements.get("prize-engine-history") && customElements.define("prize-engine-history", e.element);
  });
}
if (typeof window < "u") {
  let s = function(e) {
    return function(...t) {
      try {
        return e.apply(this, t);
      } catch (i) {
        if (i instanceof DOMException && i.message.includes("has already been used with this registry") || i.message.includes("Cannot define multiple custom elements with the same tag name"))
          return !1;
        throw i;
      }
    };
  };
  customElements.define = s(customElements.define), import("./PrizeEngineDetails-BB0SGxFi.js").then(({ default: e }) => {
    !customElements.get("prize-engine-details") && customElements.define("prize-engine-details", e.element);
  });
}
if (typeof window < "u") {
  let s = function(e) {
    return function(...t) {
      try {
        return e.apply(this, t);
      } catch (i) {
        if (i instanceof DOMException && i.message.includes("has already been used with this registry") || i.message.includes("Cannot define multiple custom elements with the same tag name"))
          return !1;
        throw i;
      }
    };
  };
  customElements.define = s(customElements.define), import("./PrizeEngineList-RpWgCFmD.js").then(({ default: e }) => {
    !customElements.get("prize-engine-list") && customElements.define("prize-engine-list", e.element);
  });
}
function Pe(s) {
  we(s, "svelte-iscrfi", `.PrizeSuiteContainer.svelte-iscrfi.svelte-iscrfi{width:100%;height:100%;position:relative;font-family:var(--emw--font-family-primary, "Ubuntu", sans-serif)}.PrizeSuiteContainer.Mobile.svelte-iscrfi .MainDrawer.Drawer.svelte-iscrfi{width:100%;height:100%;border-top-left-radius:28px;border-top-right-radius:28px;padding:20px 28px}.PrizeSuiteContainer.Mobile.svelte-iscrfi .MainDrawer.Drawer.full-width.svelte-iscrfi{padding:0}.PrizeSuiteContainer.Mobile.svelte-iscrfi .MainDrawer.Drawer .HeaderTitle.svelte-iscrfi{font-size:var(--emw--font-size-medium, 16px);font-weight:500}.PrizeSuiteContainer.Mobile.svelte-iscrfi .IconButton.svelte-iscrfi{width:24px;height:24px}.PrizeSuiteContainer.Mobile.svelte-iscrfi .TooltipBackdrop.svelte-iscrfi{padding:60px 20px 0;border-top-left-radius:28px;border-top-right-radius:28px}.PrizeSuiteContainer.Mobile.svelte-iscrfi .TooltipBackdrop .Tooltip.svelte-iscrfi{padding:20px;font-size:var(--emw--font-size-x-small, 12px)}.PrizeSuiteContainer.Mobile.svelte-iscrfi .TabItem.svelte-iscrfi{font-size:var(--emw--font-size-xs, 10px);font-weight:700}.Overlay.svelte-iscrfi.svelte-iscrfi{border:none;position:fixed;top:0;left:0;width:100%;height:100%;z-index:99;background-color:var(--emw--color-gray-transparency-20, rgba(21, 43, 48, 0.5));padding:0;cursor:default}.MainDrawer.svelte-iscrfi.svelte-iscrfi{width:100%;height:100%;display:flex;flex-direction:column;box-sizing:border-box;position:relative;overflow:hidden}.MainDrawer.Drawer.svelte-iscrfi.svelte-iscrfi{position:fixed;left:50%;transform:translateX(-50%);bottom:0px;z-index:100;width:60%;height:90%;border-top-left-radius:72px;border-top-right-radius:72px;padding:40px 80px;background:linear-gradient(180deg, var(--emw--color-background, #213841) 0%, var(--emw--color-background-secondary, #0c1a1c) 100%)}.MainDrawer.Drawer.full-width.svelte-iscrfi.svelte-iscrfi{padding:0}.Header.svelte-iscrfi.svelte-iscrfi{display:flex;justify-content:space-between;align-items:center;padding:12px 8px 24px;flex-shrink:0}.Header.svelte-iscrfi .HeaderTitle.svelte-iscrfi{color:var(--emw--color-primary, #d3ffed);font-size:var(--emw--font-size-large, 22px);font-weight:700;text-align:center;flex-grow:1}.IconButton.svelte-iscrfi.svelte-iscrfi{width:30px;height:30px;border:0;cursor:pointer;background-color:transparent;background-size:100%;background-repeat:no-repeat;padding:0}.IconButton.Close.svelte-iscrfi.svelte-iscrfi{background-image:url('data:image/svg+xml,<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M18 6 6 18M6 6l12 12" stroke="%23729787" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>')}.IconButton.Help.svelte-iscrfi.svelte-iscrfi{background-image:url('data:image/svg+xml,<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M11.708 4.583a7.125 7.125 0 1 0 0 14.25 7.125 7.125 0 0 0 0-14.25ZM3 11.708a8.708 8.708 0 1 1 17.417 0 8.708 8.708 0 0 1-17.417 0Zm8.913-3.147a1.583 1.583 0 0 0-1.762 1.035.792.792 0 0 1-1.493-.525 3.167 3.167 0 0 1 6.154 1.055c0 1.211-.899 2.011-1.54 2.439a6.37 6.37 0 0 1-1.335.672l-.028.01-.008.002-.003.001h-.002l-.251-.75.25.751a.792.792 0 0 1-.5-1.502l.011-.004.06-.022a4.778 4.778 0 0 0 .928-.476c.545-.363.834-.75.834-1.122v-.001a1.583 1.583 0 0 0-1.315-1.563Zm-.996 7.106c0-.438.354-.792.791-.792h.008a.792.792 0 1 1 0 1.583h-.008a.792.792 0 0 1-.791-.791Z" fill="%23729787"/></svg>')}.TooltipBackdrop.svelte-iscrfi.svelte-iscrfi{box-sizing:border-box;z-index:200;position:absolute;width:100%;height:100%;inset:0;background-color:rgba(0, 0, 0, 0.5);padding:90px 30px 0;border-top-left-radius:72px;border-top-right-radius:72px}.TooltipBackdrop.svelte-iscrfi .Tooltip.svelte-iscrfi{border:1px solid var(--emw--button-border-color, #75ffe9);background:var(--emw--color-background, #213841);border-radius:8px;line-height:24px;color:var(--emw--color-secondary, #bbb9c3);position:relative;padding:32px;font-size:var(--emw--font-size-medium, 16px)}.TooltipBackdrop.svelte-iscrfi .Tooltip .IconButton.Close.svelte-iscrfi{top:12px;right:12px;position:absolute}.TabBar.svelte-iscrfi.svelte-iscrfi{display:flex;border-bottom:2px solid var(--emw--color-secondary, #729787);margin:0 0 20px;flex-shrink:0}.TabBar.svelte-iscrfi .TabItem.svelte-iscrfi{flex:1;padding:12px;background:transparent;border:none;color:var(--emw--color-gray-300, #729787);font-weight:700;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);transition:all 0.2s}.TabBar.svelte-iscrfi .TabItem.active.svelte-iscrfi{color:var(--emw--color-white, #ffffff);border-bottom:2px solid var(--emw--button-border-color, #75ffe9);margin-bottom:-2px}.ViewContent.svelte-iscrfi.svelte-iscrfi{flex-grow:1;overflow:hidden;display:flex;flex-direction:column}.TransitionWrapper.svelte-iscrfi.svelte-iscrfi{height:100%;width:100%;display:flex;flex-direction:column;flex-grow:1}`);
}
function Q(s) {
  let e, t, i, l, n, r, u, d = (
    /*isdrawer*/
    s[0] === "true" && $(s)
  ), p = (
    /*tooltip*/
    s[9] && ee(s)
  ), a = (
    /*isdrawer*/
    s[0] === "true" && /*currentView*/
    s[5] === "LIST" && te(s)
  ), o = (
    /*currentView*/
    s[5] === "LIST" && ie(s)
  );
  function y(f, v) {
    if (
      /*activeTab*/
      f[6] === "PLAY"
    )
      return Be;
    if (
      /*currentView*/
      f[5] === "LIST"
    )
      return xe;
  }
  let k = y(s), w = k && k(s);
  return {
    c() {
      e = h("div"), d && d.c(), t = S(), i = h("div"), p && p.c(), l = S(), a && a.c(), n = S(), o && o.c(), r = S(), u = h("div"), w && w.c(), g(u, "class", "ViewContent svelte-iscrfi"), g(i, "class", "MainDrawer svelte-iscrfi"), b(
        i,
        "Drawer",
        /*isdrawer*/
        s[0] === "true"
      ), b(
        i,
        "full-width",
        /*currentView*/
        s[5] === "DETAILS"
      ), g(e, "class", "PrizeSuiteContainer svelte-iscrfi"), b(
        e,
        "is-drawer",
        /*isdrawer*/
        s[0] === "true"
      ), b(
        e,
        "Mobile",
        /*mobileView*/
        s[13]
      );
    },
    m(f, v) {
      T(f, e, v), d && d.m(e, null), m(e, t), m(e, i), p && p.m(i, null), m(i, l), a && a.m(i, null), m(i, n), o && o.m(i, null), m(i, r), m(i, u), w && w.m(u, null), s[29](e);
    },
    p(f, v) {
      /*isdrawer*/
      f[0] === "true" ? d ? d.p(f, v) : (d = $(f), d.c(), d.m(e, t)) : d && (d.d(1), d = null), /*tooltip*/
      f[9] ? p ? p.p(f, v) : (p = ee(f), p.c(), p.m(i, l)) : p && (p.d(1), p = null), /*isdrawer*/
      f[0] === "true" && /*currentView*/
      f[5] === "LIST" ? a ? a.p(f, v) : (a = te(f), a.c(), a.m(i, n)) : a && (a.d(1), a = null), /*currentView*/
      f[5] === "LIST" ? o ? o.p(f, v) : (o = ie(f), o.c(), o.m(i, r)) : o && (o.d(1), o = null), k === (k = y(f)) && w ? w.p(f, v) : (w && w.d(1), w = k && k(f), w && (w.c(), j(w, 1), w.m(u, null))), v[0] & /*isdrawer*/
      1 && b(
        i,
        "Drawer",
        /*isdrawer*/
        f[0] === "true"
      ), v[0] & /*currentView*/
      32 && b(
        i,
        "full-width",
        /*currentView*/
        f[5] === "DETAILS"
      ), v[0] & /*isdrawer*/
      1 && b(
        e,
        "is-drawer",
        /*isdrawer*/
        f[0] === "true"
      );
    },
    d(f) {
      f && z(e), d && d.d(), p && p.d(), a && a.d(), o && o.d(), w && w.d(), s[29](null);
    }
  };
}
function $(s) {
  let e, t, i;
  return {
    c() {
      e = h("button"), g(e, "type", "button"), g(e, "class", "Overlay svelte-iscrfi");
    },
    m(l, n) {
      T(l, e, n), t || (i = M(
        e,
        "click",
        /*onClose*/
        s[14]
      ), t = !0);
    },
    p: L,
    d(l) {
      l && z(e), t = !1, i();
    }
  };
}
function ee(s) {
  let e, t, i, l, n, r = (
    /*$_*/
    s[3](
      /*dynamicTooltipKey*/
      s[11]
    ) + ""
  ), u, d, p;
  return {
    c() {
      e = h("div"), t = h("div"), i = h("button"), l = S(), n = h("span"), u = Y(r), g(i, "type", "button"), g(i, "class", "IconButton Close svelte-iscrfi"), g(t, "class", "Tooltip svelte-iscrfi"), g(e, "class", "TooltipBackdrop svelte-iscrfi");
    },
    m(a, o) {
      T(a, e, o), m(e, t), m(t, i), m(t, l), m(t, n), m(n, u), d || (p = M(
        i,
        "click",
        /*showHideTooltip*/
        s[15]
      ), d = !0);
    },
    p(a, o) {
      o[0] & /*$_, dynamicTooltipKey*/
      2056 && r !== (r = /*$_*/
      a[3](
        /*dynamicTooltipKey*/
        a[11]
      ) + "") && A(u, r);
    },
    d(a) {
      a && z(e), d = !1, p();
    }
  };
}
function te(s) {
  let e, t, i, l, n, r, u, d, p;
  return {
    c() {
      e = h("div"), t = h("button"), i = S(), l = h("div"), n = Y(
        /*dynamicTitle*/
        s[12]
      ), r = S(), u = h("button"), g(t, "type", "button"), g(t, "class", "IconButton Help svelte-iscrfi"), g(l, "class", "HeaderTitle svelte-iscrfi"), g(u, "type", "button"), g(u, "class", "IconButton Close svelte-iscrfi"), g(e, "class", "Header svelte-iscrfi");
    },
    m(a, o) {
      T(a, e, o), m(e, t), m(e, i), m(e, l), m(l, n), m(e, r), m(e, u), d || (p = [
        M(
          t,
          "click",
          /*showHideTooltip*/
          s[15]
        ),
        M(
          u,
          "click",
          /*onClose*/
          s[14]
        )
      ], d = !0);
    },
    p(a, o) {
      o[0] & /*dynamicTitle*/
      4096 && A(
        n,
        /*dynamicTitle*/
        a[12]
      );
    },
    d(a) {
      a && z(e), d = !1, re(p);
    }
  };
}
function ie(s) {
  let e, t, i = (
    /*$_*/
    s[3]("Play") + ""
  ), l, n, r, u = (
    /*$_*/
    s[3]("History") + ""
  ), d, p, a;
  return {
    c() {
      e = h("div"), t = h("button"), l = Y(i), n = S(), r = h("button"), d = Y(u), g(t, "type", "button"), g(t, "class", "TabItem svelte-iscrfi"), b(
        t,
        "active",
        /*activeTab*/
        s[6] === "PLAY"
      ), g(r, "type", "button"), g(r, "class", "TabItem svelte-iscrfi"), b(
        r,
        "active",
        /*activeTab*/
        s[6] === "HISTORY"
      ), g(e, "class", "TabBar svelte-iscrfi");
    },
    m(o, y) {
      T(o, e, y), m(e, t), m(t, l), m(e, n), m(e, r), m(r, d), p || (a = [
        M(
          t,
          "click",
          /*click_handler*/
          s[27]
        ),
        M(
          r,
          "click",
          /*click_handler_1*/
          s[28]
        )
      ], p = !0);
    },
    p(o, y) {
      y[0] & /*$_*/
      8 && i !== (i = /*$_*/
      o[3]("Play") + "") && A(l, i), y[0] & /*activeTab*/
      64 && b(
        t,
        "active",
        /*activeTab*/
        o[6] === "PLAY"
      ), y[0] & /*$_*/
      8 && u !== (u = /*$_*/
      o[3]("History") + "") && A(d, u), y[0] & /*activeTab*/
      64 && b(
        r,
        "active",
        /*activeTab*/
        o[6] === "HISTORY"
      );
    },
    d(o) {
      o && z(e), p = !1, re(a);
    }
  };
}
function xe(s) {
  let e, t, i, l = [
    /*commonProps*/
    s[10]
  ], n = {};
  for (let r = 0; r < l.length; r += 1)
    n = V(n, l[r]);
  return {
    c() {
      e = h("div"), t = h("prize-engine-history"), E(t, n), b(t, "svelte-iscrfi", !0), g(e, "class", "TransitionWrapper svelte-iscrfi");
    },
    m(r, u) {
      T(r, e, u), m(e, t);
    },
    p(r, u) {
      E(t, n = F(l, [u[0] & /*commonProps*/
      1024 && /*commonProps*/
      r[10]])), b(t, "svelte-iscrfi", !0);
    },
    i(r) {
      r && (i || U(() => {
        i = Z(e, q, { duration: 250 }), i.start();
      }));
    },
    o: L,
    d(r) {
      r && z(e);
    }
  };
}
function Be(s) {
  let e;
  function t(n, r) {
    if (
      /*currentView*/
      n[5] === "LIST"
    )
      return Oe;
    if (
      /*currentView*/
      n[5] === "DETAILS"
    )
      return He;
  }
  let i = t(s), l = i && i(s);
  return {
    c() {
      l && l.c(), e = le();
    },
    m(n, r) {
      l && l.m(n, r), T(n, e, r);
    },
    p(n, r) {
      i === (i = t(n)) && l ? l.p(n, r) : (l && l.d(1), l = i && i(n), l && (l.c(), j(l, 1), l.m(e.parentNode, e)));
    },
    i(n) {
      j(l);
    },
    o: L,
    d(n) {
      n && z(e), l && l.d(n);
    }
  };
}
function He(s) {
  let e, t, i = (
    /*selectedGame*/
    s[7] && se(s)
  );
  return {
    c() {
      e = h("div"), i && i.c(), g(e, "class", "TransitionWrapper svelte-iscrfi");
    },
    m(l, n) {
      T(l, e, n), i && i.m(e, null);
    },
    p(l, n) {
      /*selectedGame*/
      l[7] ? i ? i.p(l, n) : (i = se(l), i.c(), i.m(e, null)) : i && (i.d(1), i = null);
    },
    i(l) {
      l && (t || U(() => {
        t = Z(e, q, { duration: 250 }), t.start();
      }));
    },
    o: L,
    d(l) {
      l && z(e), i && i.d();
    }
  };
}
function Oe(s) {
  let e, t, i, l = [
    /*commonProps*/
    s[10]
  ], n = {};
  for (let r = 0; r < l.length; r += 1)
    n = V(n, l[r]);
  return {
    c() {
      e = h("div"), t = h("prize-engine-list"), E(t, n), b(t, "svelte-iscrfi", !0), g(e, "class", "TransitionWrapper svelte-iscrfi");
    },
    m(r, u) {
      T(r, e, u), m(e, t);
    },
    p(r, u) {
      E(t, n = F(l, [u[0] & /*commonProps*/
      1024 && /*commonProps*/
      r[10]])), b(t, "svelte-iscrfi", !0);
    },
    i(r) {
      r && (i || U(() => {
        i = Z(e, q, { duration: 250 }), i.start();
      }));
    },
    o: L,
    d(r) {
      r && z(e);
    }
  };
}
function se(s) {
  let e, t = [
    /*commonProps*/
    s[10],
    { data: (
      /*selectedGame*/
      s[7]
    ) },
    { programs: (
      /*allPrograms*/
      s[8]
    ) },
    { twostepdraw: (
      /*twostepdraw*/
      s[1]
    ) }
  ], i = {};
  for (let l = 0; l < t.length; l += 1)
    i = V(i, t[l]);
  return {
    c() {
      e = h("prize-engine-details"), E(e, i), b(e, "svelte-iscrfi", !0);
    },
    m(l, n) {
      T(l, e, n);
    },
    p(l, n) {
      E(e, i = F(t, [
        n[0] & /*commonProps*/
        1024 && /*commonProps*/
        l[10],
        n[0] & /*selectedGame*/
        128 && { data: (
          /*selectedGame*/
          l[7]
        ) },
        n[0] & /*allPrograms*/
        256 && { programs: (
          /*allPrograms*/
          l[8]
        ) },
        n[0] & /*twostepdraw*/
        2 && { twostepdraw: (
          /*twostepdraw*/
          l[1]
        ) }
      ])), b(e, "svelte-iscrfi", !0);
    },
    d(l) {
      l && z(e);
    }
  };
}
function Ae(s) {
  let e, t = (
    /*isOpened*/
    (s[4] || /*isdrawer*/
    s[0] === "false") && Q(s)
  );
  return {
    c() {
      t && t.c(), e = le();
    },
    m(i, l) {
      t && t.m(i, l), T(i, e, l);
    },
    p(i, l) {
      /*isOpened*/
      i[4] || /*isdrawer*/
      i[0] === "false" ? t ? t.p(i, l) : (t = Q(i), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
    },
    i: L,
    o: L,
    d(i) {
      i && z(e), t && t.d(i);
    }
  };
}
let Ye = null;
function Re(s, e, t) {
  let i, l, n, r;
  be(s, Le, (c) => t(3, r = c));
  let { endpoint: u = "" } = e, { session: d = "" } = e, { lang: p = "en" } = e, { clientstyling: a = "" } = e, { clientstylingurl: o = "" } = e, { translationurl: y = "" } = e, { mbsource: k = "" } = e, { isdrawer: w = "true" } = e, { type: f = "wheelOfFortune" } = e, { luckywheelsize: v = 324 } = e, { luckywheelmobilesize: R = 240 } = e, { opened: P = "false" } = e, { twostepdraw: G = "false" } = e, C;
  const oe = Se(window.navigator.userAgent);
  let x = P === "true";
  De();
  const ae = () => {
    fetch(y).then((I) => I.json()).then((I) => {
      Object.keys(I).forEach((D) => {
        ne(D, I[D]);
      });
    });
  };
  let B = "LIST", H = "PLAY", O = null, K = [], W = !1;
  const J = (c) => {
    const { type: I, data: D } = c.data;
    I === "OpenPrizeGame" ? (t(7, O = D), t(5, B = "DETAILS")) : I === "BackToList" ? (t(5, B = "LIST"), t(7, O = null)) : I === "ClosePrizeEngineDrawer" ? t(4, x = !1) : I === "PrizeProgramsLoaded" && t(8, K = D);
  }, fe = () => {
    t(4, x = !1), window.postMessage({ type: "ClosePrizeEngineDrawer" }, "*");
  }, ce = () => {
    t(9, W = !W);
  };
  ye(() => (window.addEventListener("message", J), () => {
    window.removeEventListener("message", J);
  }));
  const ue = () => t(6, H = "PLAY"), de = () => t(6, H = "HISTORY");
  function pe(c) {
    ve[c ? "unshift" : "push"](() => {
      C = c, t(2, C);
    });
  }
  return s.$$set = (c) => {
    "endpoint" in c && t(16, u = c.endpoint), "session" in c && t(17, d = c.session), "lang" in c && t(18, p = c.lang), "clientstyling" in c && t(19, a = c.clientstyling), "clientstylingurl" in c && t(20, o = c.clientstylingurl), "translationurl" in c && t(21, y = c.translationurl), "mbsource" in c && t(22, k = c.mbsource), "isdrawer" in c && t(0, w = c.isdrawer), "type" in c && t(23, f = c.type), "luckywheelsize" in c && t(24, v = c.luckywheelsize), "luckywheelmobilesize" in c && t(25, R = c.luckywheelmobilesize), "opened" in c && t(26, P = c.opened), "twostepdraw" in c && t(1, G = c.twostepdraw);
  }, s.$$.update = () => {
    s.$$.dirty[0] & /*opened*/
    67108864 && t(4, x = P === "true"), s.$$.dirty[0] & /*lang*/
    262144 && p && Ee(p), s.$$.dirty[0] & /*translationurl*/
    2097152 && y && ae(), s.$$.dirty[0] & /*type*/
    8388608 && f && (t(5, B = "LIST"), t(7, O = null), t(6, H = "PLAY")), s.$$.dirty[0] & /*type, $_*/
    8388616 && t(12, i = r(f === "flipCoin" ? "CoinRoyale" : f === "mysteryChest" ? "MysteryChest" : "LuckyWheels")), s.$$.dirty[0] & /*type*/
    8388608 && t(11, l = f === "flipCoin" ? "InfoTooltipCoin" : f === "mysteryChest" ? "InfoTooltipChest" : "InfoTooltipLuckywheel"), s.$$.dirty[0] & /*clientstyling, rootContainer*/
    524292 && a && C && _e(C, a), s.$$.dirty[0] & /*clientstylingurl, rootContainer*/
    1048580 && o && C && ke(C, o), s.$$.dirty[0] & /*mbsource, rootContainer*/
    4194308 && k && C && ze(C, `${k}.Style`, Ye), s.$$.dirty[0] & /*endpoint, session, lang, clientstyling, clientstylingurl, translationurl, mbsource, type, luckywheelsize, luckywheelmobilesize*/
    67043328 && t(10, n = {
      endpoint: u,
      session: d,
      lang: p,
      clientstyling: a,
      clientstylingurl: o,
      translationurl: y,
      mbsource: k,
      type: f,
      luckywheelsize: v,
      luckywheelmobilesize: R
    });
  }, [
    w,
    G,
    C,
    r,
    x,
    B,
    H,
    O,
    K,
    W,
    n,
    l,
    i,
    oe,
    fe,
    ce,
    u,
    d,
    p,
    a,
    o,
    y,
    k,
    f,
    v,
    R,
    P,
    ue,
    de,
    pe
  ];
}
class We extends me {
  constructor(e) {
    super(), ge(
      this,
      e,
      Re,
      Ae,
      he,
      {
        endpoint: 16,
        session: 17,
        lang: 18,
        clientstyling: 19,
        clientstylingurl: 20,
        translationurl: 21,
        mbsource: 22,
        isdrawer: 0,
        type: 23,
        luckywheelsize: 24,
        luckywheelmobilesize: 25,
        opened: 26,
        twostepdraw: 1
      },
      Pe,
      [-1, -1]
    );
  }
  get endpoint() {
    return this.$$.ctx[16];
  }
  set endpoint(e) {
    this.$$set({ endpoint: e }), _();
  }
  get session() {
    return this.$$.ctx[17];
  }
  set session(e) {
    this.$$set({ session: e }), _();
  }
  get lang() {
    return this.$$.ctx[18];
  }
  set lang(e) {
    this.$$set({ lang: e }), _();
  }
  get clientstyling() {
    return this.$$.ctx[19];
  }
  set clientstyling(e) {
    this.$$set({ clientstyling: e }), _();
  }
  get clientstylingurl() {
    return this.$$.ctx[20];
  }
  set clientstylingurl(e) {
    this.$$set({ clientstylingurl: e }), _();
  }
  get translationurl() {
    return this.$$.ctx[21];
  }
  set translationurl(e) {
    this.$$set({ translationurl: e }), _();
  }
  get mbsource() {
    return this.$$.ctx[22];
  }
  set mbsource(e) {
    this.$$set({ mbsource: e }), _();
  }
  get isdrawer() {
    return this.$$.ctx[0];
  }
  set isdrawer(e) {
    this.$$set({ isdrawer: e }), _();
  }
  get type() {
    return this.$$.ctx[23];
  }
  set type(e) {
    this.$$set({ type: e }), _();
  }
  get luckywheelsize() {
    return this.$$.ctx[24];
  }
  set luckywheelsize(e) {
    this.$$set({ luckywheelsize: e }), _();
  }
  get luckywheelmobilesize() {
    return this.$$.ctx[25];
  }
  set luckywheelmobilesize(e) {
    this.$$set({ luckywheelmobilesize: e }), _();
  }
  get opened() {
    return this.$$.ctx[26];
  }
  set opened(e) {
    this.$$set({ opened: e }), _();
  }
  get twostepdraw() {
    return this.$$.ctx[1];
  }
  set twostepdraw(e) {
    this.$$set({ twostepdraw: e }), _();
  }
}
customElements.define("prize-engine-suite", Te(We, { endpoint: {}, session: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, isdrawer: {}, type: {}, luckywheelsize: {}, luckywheelmobilesize: {}, opened: {}, twostepdraw: {} }, [], [], !0));
export {
  We as default
};
