import { S as pe, b as me, s as ge, f as k, c as he, n as L, d as z, e as T, h as se, w as be, o as we, x as N, N as w, m, k as h, g as S, l as g, A as ye, p as M, E as A, F as Y, r as le, T as F, C as V, D as U, U as E, V as Z, I as ve, J as _e, K as ke, t as ze } from "./CasinoGameOverlay-BCNHuJyW.js";
import { f as G } from "./LotteryProgramWof-L_XhzqSJ.js";
import { $ as j, b as Te, a as Ce, i as Ie, c as Se } from "./CasinoMysteryChestContainer-Cvh18rRx.js";
const J = {
  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 Le({ withLocale: s, translations: e }) {
  j.subscribe((t) => {
    t == null && (Te.set(e), j.set(s));
  });
}
function re(s, e) {
  Ce(s, e);
}
function Me(s) {
  j.set(s);
}
const Ee = () => {
  Le({ withLocale: "en", translations: {} }), Object.keys(J).forEach((s) => {
    re(s, J[s]);
  });
};
if (typeof window != "undefined") {
  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-FVJWw2xG.js").then(({ default: e }) => {
    !customElements.get("prize-engine-history") && customElements.define("prize-engine-history", e.element);
  });
}
if (typeof window != "undefined") {
  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-C1zC_Hph.js").then(({ default: e }) => {
    !customElements.get("prize-engine-details") && customElements.define("prize-engine-details", e.element);
  });
}
if (typeof window != "undefined") {
  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-bua_b8Ou.js").then(({ default: e }) => {
    !customElements.get("prize-engine-list") && customElements.define("prize-engine-list", e.element);
  });
}
function De(s) {
  he(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 X(s) {
  let e, t, i, l, n, r, c, d = (
    /*isdrawer*/
    s[0] === "true" && Q(s)
  ), p = (
    /*tooltip*/
    s[8] && $(s)
  ), a = (
    /*isdrawer*/
    s[0] === "true" && /*currentView*/
    s[4] === "LIST" && ee(s)
  ), o = (
    /*currentView*/
    s[4] === "LIST" && te(s)
  );
  function y(f, v) {
    if (
      /*activeTab*/
      f[5] === "PLAY"
    )
      return xe;
    if (
      /*currentView*/
      f[4] === "LIST"
    )
      return Pe;
  }
  let _ = y(s), b = _ && _(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(), c = h("div"), b && b.c(), g(c, "class", "ViewContent svelte-iscrfi"), g(i, "class", "MainDrawer svelte-iscrfi"), w(
        i,
        "Drawer",
        /*isdrawer*/
        s[0] === "true"
      ), w(
        i,
        "full-width",
        /*currentView*/
        s[4] === "DETAILS"
      ), g(e, "class", "PrizeSuiteContainer svelte-iscrfi"), w(
        e,
        "is-drawer",
        /*isdrawer*/
        s[0] === "true"
      ), w(
        e,
        "Mobile",
        /*mobileView*/
        s[12]
      );
    },
    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, c), b && b.m(c, null), s[28](e);
    },
    p(f, v) {
      /*isdrawer*/
      f[0] === "true" ? d ? d.p(f, v) : (d = Q(f), d.c(), d.m(e, t)) : d && (d.d(1), d = null), /*tooltip*/
      f[8] ? p ? p.p(f, v) : (p = $(f), p.c(), p.m(i, l)) : p && (p.d(1), p = null), /*isdrawer*/
      f[0] === "true" && /*currentView*/
      f[4] === "LIST" ? a ? a.p(f, v) : (a = ee(f), a.c(), a.m(i, n)) : a && (a.d(1), a = null), /*currentView*/
      f[4] === "LIST" ? o ? o.p(f, v) : (o = te(f), o.c(), o.m(i, r)) : o && (o.d(1), o = null), _ === (_ = y(f)) && b ? b.p(f, v) : (b && b.d(1), b = _ && _(f), b && (b.c(), N(b, 1), b.m(c, null))), v & /*isdrawer*/
      1 && w(
        i,
        "Drawer",
        /*isdrawer*/
        f[0] === "true"
      ), v & /*currentView*/
      16 && w(
        i,
        "full-width",
        /*currentView*/
        f[4] === "DETAILS"
      ), v & /*isdrawer*/
      1 && w(
        e,
        "is-drawer",
        /*isdrawer*/
        f[0] === "true"
      );
    },
    d(f) {
      f && z(e), d && d.d(), p && p.d(), a && a.d(), o && o.d(), b && b.d(), s[28](null);
    }
  };
}
function Q(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[13]
      ), t = !0);
    },
    p: L,
    d(l) {
      l && z(e), t = !1, i();
    }
  };
}
function $(s) {
  let e, t, i, l, n, r = (
    /*$_*/
    s[2](
      /*dynamicTooltipKey*/
      s[10]
    ) + ""
  ), c, d, p;
  return {
    c() {
      e = h("div"), t = h("div"), i = h("button"), l = S(), n = h("span"), c = 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, c), d || (p = M(
        i,
        "click",
        /*showHideTooltip*/
        s[14]
      ), d = !0);
    },
    p(a, o) {
      o & /*$_, dynamicTooltipKey*/
      1028 && r !== (r = /*$_*/
      a[2](
        /*dynamicTooltipKey*/
        a[10]
      ) + "") && A(c, r);
    },
    d(a) {
      a && z(e), d = !1, p();
    }
  };
}
function ee(s) {
  let e, t, i, l, n, r, c, d, p;
  return {
    c() {
      e = h("div"), t = h("button"), i = S(), l = h("div"), n = Y(
        /*dynamicTitle*/
        s[11]
      ), r = S(), c = h("button"), g(t, "type", "button"), g(t, "class", "IconButton Help svelte-iscrfi"), g(l, "class", "HeaderTitle svelte-iscrfi"), g(c, "type", "button"), g(c, "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, c), d || (p = [
        M(
          t,
          "click",
          /*showHideTooltip*/
          s[14]
        ),
        M(
          c,
          "click",
          /*onClose*/
          s[13]
        )
      ], d = !0);
    },
    p(a, o) {
      o & /*dynamicTitle*/
      2048 && A(
        n,
        /*dynamicTitle*/
        a[11]
      );
    },
    d(a) {
      a && z(e), d = !1, le(p);
    }
  };
}
function te(s) {
  let e, t, i = (
    /*$_*/
    s[2]("Play") + ""
  ), l, n, r, c = (
    /*$_*/
    s[2]("History") + ""
  ), d, p, a;
  return {
    c() {
      e = h("div"), t = h("button"), l = Y(i), n = S(), r = h("button"), d = Y(c), g(t, "type", "button"), g(t, "class", "TabItem svelte-iscrfi"), w(
        t,
        "active",
        /*activeTab*/
        s[5] === "PLAY"
      ), g(r, "type", "button"), g(r, "class", "TabItem svelte-iscrfi"), w(
        r,
        "active",
        /*activeTab*/
        s[5] === "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[26]
        ),
        M(
          r,
          "click",
          /*click_handler_1*/
          s[27]
        )
      ], p = !0);
    },
    p(o, y) {
      y & /*$_*/
      4 && i !== (i = /*$_*/
      o[2]("Play") + "") && A(l, i), y & /*activeTab*/
      32 && w(
        t,
        "active",
        /*activeTab*/
        o[5] === "PLAY"
      ), y & /*$_*/
      4 && c !== (c = /*$_*/
      o[2]("History") + "") && A(d, c), y & /*activeTab*/
      32 && w(
        r,
        "active",
        /*activeTab*/
        o[5] === "HISTORY"
      );
    },
    d(o) {
      o && z(e), p = !1, le(a);
    }
  };
}
function Pe(s) {
  let e, t, i, l = [
    /*commonProps*/
    s[9]
  ], n = {};
  for (let r = 0; r < l.length; r += 1)
    n = F(n, l[r]);
  return {
    c() {
      e = h("div"), t = h("prize-engine-history"), E(t, n), w(t, "svelte-iscrfi", !0), g(e, "class", "TransitionWrapper svelte-iscrfi");
    },
    m(r, c) {
      T(r, e, c), m(e, t);
    },
    p(r, c) {
      E(t, n = Z(l, [c & /*commonProps*/
      512 && /*commonProps*/
      r[9]])), w(t, "svelte-iscrfi", !0);
    },
    i(r) {
      r && (i || V(() => {
        i = U(e, G, { duration: 250 }), i.start();
      }));
    },
    o: L,
    d(r) {
      r && z(e);
    }
  };
}
function xe(s) {
  let e;
  function t(n, r) {
    if (
      /*currentView*/
      n[4] === "LIST"
    )
      return Oe;
    if (
      /*currentView*/
      n[4] === "DETAILS"
    )
      return Be;
  }
  let i = t(s), l = i && i(s);
  return {
    c() {
      l && l.c(), e = se();
    },
    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(), N(l, 1), l.m(e.parentNode, e)));
    },
    i(n) {
      N(l);
    },
    o: L,
    d(n) {
      n && z(e), l && l.d(n);
    }
  };
}
function Be(s) {
  let e, t, i = (
    /*selectedGame*/
    s[6] && ie(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[6] ? i ? i.p(l, n) : (i = ie(l), i.c(), i.m(e, null)) : i && (i.d(1), i = null);
    },
    i(l) {
      l && (t || V(() => {
        t = U(e, G, { duration: 250 }), t.start();
      }));
    },
    o: L,
    d(l) {
      l && z(e), i && i.d();
    }
  };
}
function Oe(s) {
  let e, t, i, l = [
    /*commonProps*/
    s[9]
  ], n = {};
  for (let r = 0; r < l.length; r += 1)
    n = F(n, l[r]);
  return {
    c() {
      e = h("div"), t = h("prize-engine-list"), E(t, n), w(t, "svelte-iscrfi", !0), g(e, "class", "TransitionWrapper svelte-iscrfi");
    },
    m(r, c) {
      T(r, e, c), m(e, t);
    },
    p(r, c) {
      E(t, n = Z(l, [c & /*commonProps*/
      512 && /*commonProps*/
      r[9]])), w(t, "svelte-iscrfi", !0);
    },
    i(r) {
      r && (i || V(() => {
        i = U(e, G, { duration: 250 }), i.start();
      }));
    },
    o: L,
    d(r) {
      r && z(e);
    }
  };
}
function ie(s) {
  let e, t, i = [
    /*commonProps*/
    s[9],
    { data: (
      /*selectedGame*/
      s[6]
    ) },
    { programs: (
      /*allPrograms*/
      s[7]
    ) },
    {
      twostepdraw: t = /*selectedGame*/
      s[6].program.type === "wheelOfFortune" ? "true" : "false"
    }
  ], l = {};
  for (let n = 0; n < i.length; n += 1)
    l = F(l, i[n]);
  return {
    c() {
      e = h("prize-engine-details"), E(e, l), w(e, "svelte-iscrfi", !0);
    },
    m(n, r) {
      T(n, e, r);
    },
    p(n, r) {
      E(e, l = Z(i, [
        r & /*commonProps*/
        512 && /*commonProps*/
        n[9],
        r & /*selectedGame*/
        64 && { data: (
          /*selectedGame*/
          n[6]
        ) },
        r & /*allPrograms*/
        128 && { programs: (
          /*allPrograms*/
          n[7]
        ) },
        r & /*selectedGame*/
        64 && t !== (t = /*selectedGame*/
        n[6].program.type === "wheelOfFortune" ? "true" : "false") && {
          twostepdraw: t
        }
      ])), w(e, "svelte-iscrfi", !0);
    },
    d(n) {
      n && z(e);
    }
  };
}
function He(s) {
  let e, t = (
    /*isOpened*/
    (s[3] || /*isdrawer*/
    s[0] === "false") && X(s)
  );
  return {
    c() {
      t && t.c(), e = se();
    },
    m(i, l) {
      t && t.m(i, l), T(i, e, l);
    },
    p(i, [l]) {
      /*isOpened*/
      i[3] || /*isdrawer*/
      i[0] === "false" ? t ? t.p(i, l) : (t = X(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 Ae = null;
function Ye(s, e, t) {
  let i, l, n, r;
  be(s, Se, (u) => t(2, r = u));
  let { endpoint: c = "" } = e, { session: d = "" } = e, { lang: p = "en" } = e, { clientstyling: a = "" } = e, { clientstylingurl: o = "" } = e, { translationurl: y = "" } = e, { mbsource: _ = "" } = e, { isdrawer: b = "true" } = e, { type: f = "wheelOfFortune" } = e, { luckywheelsize: v = 324 } = e, { luckywheelmobilesize: R = 240 } = e, { opened: P = "false" } = e, C;
  const ne = Ie(window.navigator.userAgent);
  let x = P === "true";
  Ee();
  const oe = () => {
    fetch(y).then((I) => I.json()).then((I) => {
      Object.keys(I).forEach((D) => {
        re(D, I[D]);
      });
    });
  };
  let B = "LIST", O = "PLAY", H = null, K = [], W = !1;
  const q = (u) => {
    const { type: I, data: D } = u.data;
    I === "OpenPrizeGame" ? (t(6, H = D), t(4, B = "DETAILS")) : I === "BackToList" ? (t(4, B = "LIST"), t(6, H = null)) : I === "ClosePrizeEngineDrawer" ? t(3, x = !1) : I === "PrizeProgramsLoaded" && t(7, K = D);
  }, ae = () => {
    t(3, x = !1), window.postMessage({ type: "ClosePrizeEngineDrawer" }, "*");
  }, fe = () => {
    t(8, W = !W);
  };
  we(() => (window.addEventListener("message", q), () => {
    window.removeEventListener("message", q);
  }));
  const ce = () => t(5, O = "PLAY"), ue = () => t(5, O = "HISTORY");
  function de(u) {
    ye[u ? "unshift" : "push"](() => {
      C = u, t(1, C);
    });
  }
  return s.$$set = (u) => {
    "endpoint" in u && t(15, c = u.endpoint), "session" in u && t(16, d = u.session), "lang" in u && t(17, p = u.lang), "clientstyling" in u && t(18, a = u.clientstyling), "clientstylingurl" in u && t(19, o = u.clientstylingurl), "translationurl" in u && t(20, y = u.translationurl), "mbsource" in u && t(21, _ = u.mbsource), "isdrawer" in u && t(0, b = u.isdrawer), "type" in u && t(22, f = u.type), "luckywheelsize" in u && t(23, v = u.luckywheelsize), "luckywheelmobilesize" in u && t(24, R = u.luckywheelmobilesize), "opened" in u && t(25, P = u.opened);
  }, s.$$.update = () => {
    s.$$.dirty & /*opened*/
    33554432 && t(3, x = P === "true"), s.$$.dirty & /*lang*/
    131072 && p && Me(p), s.$$.dirty & /*translationurl*/
    1048576 && y && oe(), s.$$.dirty & /*type*/
    4194304 && f && (t(4, B = "LIST"), t(6, H = null), t(5, O = "PLAY")), s.$$.dirty & /*type, $_*/
    4194308 && t(11, i = r(f === "flipCoin" ? "CoinRoyale" : f === "mysteryChest" ? "MysteryChest" : "LuckyWheels")), s.$$.dirty & /*type*/
    4194304 && t(10, l = f === "flipCoin" ? "InfoTooltipCoin" : f === "mysteryChest" ? "InfoTooltipChest" : "InfoTooltipLuckywheel"), s.$$.dirty & /*clientstyling, rootContainer*/
    262146 && a && C && ve(C, a), s.$$.dirty & /*clientstylingurl, rootContainer*/
    524290 && o && C && _e(C, o), s.$$.dirty & /*mbsource, rootContainer*/
    2097154 && _ && C && ke(C, `${_}.Style`, Ae), s.$$.dirty & /*endpoint, session, lang, clientstyling, clientstylingurl, translationurl, mbsource, type, luckywheelsize, luckywheelmobilesize*/
    33521664 && t(9, n = {
      endpoint: c,
      session: d,
      lang: p,
      clientstyling: a,
      clientstylingurl: o,
      translationurl: y,
      mbsource: _,
      isdrawer: "false",
      type: f,
      luckywheelsize: v,
      luckywheelmobilesize: R
    });
  }, [
    b,
    C,
    r,
    x,
    B,
    O,
    H,
    K,
    W,
    n,
    l,
    i,
    ne,
    ae,
    fe,
    c,
    d,
    p,
    a,
    o,
    y,
    _,
    f,
    v,
    R,
    P,
    ce,
    ue,
    de
  ];
}
class Re extends pe {
  constructor(e) {
    super(), me(
      this,
      e,
      Ye,
      He,
      ge,
      {
        endpoint: 15,
        session: 16,
        lang: 17,
        clientstyling: 18,
        clientstylingurl: 19,
        translationurl: 20,
        mbsource: 21,
        isdrawer: 0,
        type: 22,
        luckywheelsize: 23,
        luckywheelmobilesize: 24,
        opened: 25
      },
      De
    );
  }
  get endpoint() {
    return this.$$.ctx[15];
  }
  set endpoint(e) {
    this.$$set({ endpoint: e }), k();
  }
  get session() {
    return this.$$.ctx[16];
  }
  set session(e) {
    this.$$set({ session: e }), k();
  }
  get lang() {
    return this.$$.ctx[17];
  }
  set lang(e) {
    this.$$set({ lang: e }), k();
  }
  get clientstyling() {
    return this.$$.ctx[18];
  }
  set clientstyling(e) {
    this.$$set({ clientstyling: e }), k();
  }
  get clientstylingurl() {
    return this.$$.ctx[19];
  }
  set clientstylingurl(e) {
    this.$$set({ clientstylingurl: e }), k();
  }
  get translationurl() {
    return this.$$.ctx[20];
  }
  set translationurl(e) {
    this.$$set({ translationurl: e }), k();
  }
  get mbsource() {
    return this.$$.ctx[21];
  }
  set mbsource(e) {
    this.$$set({ mbsource: e }), k();
  }
  get isdrawer() {
    return this.$$.ctx[0];
  }
  set isdrawer(e) {
    this.$$set({ isdrawer: e }), k();
  }
  get type() {
    return this.$$.ctx[22];
  }
  set type(e) {
    this.$$set({ type: e }), k();
  }
  get luckywheelsize() {
    return this.$$.ctx[23];
  }
  set luckywheelsize(e) {
    this.$$set({ luckywheelsize: e }), k();
  }
  get luckywheelmobilesize() {
    return this.$$.ctx[24];
  }
  set luckywheelmobilesize(e) {
    this.$$set({ luckywheelmobilesize: e }), k();
  }
  get opened() {
    return this.$$.ctx[25];
  }
  set opened(e) {
    this.$$set({ opened: e }), k();
  }
}
customElements.define("prize-engine-suite", ze(Re, { endpoint: {}, session: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, isdrawer: {}, type: {}, luckywheelsize: {}, luckywheelmobilesize: {}, opened: {} }, [], [], !0));
export {
  Re as default
};
