@everymatrix/casino-game-overlay 1.92.0 → 1.92.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/components/{CasinoCoinroyaleContainer-DHTzWkTJ.cjs → CasinoCoinroyaleContainer-B6wbsPdK.cjs} +1 -1
  2. package/components/{CasinoCoinroyaleContainer-CLLpK1Ed.js → CasinoCoinroyaleContainer-CrybPu4T.js} +4 -4
  3. package/components/{CasinoCoinroyaleContainer-DqnKbBE7.js → CasinoCoinroyaleContainer-D6xDTfst.js} +4 -4
  4. package/components/{CasinoCoinroyaleDetails-Em4xQoca.cjs → CasinoCoinroyaleDetails-BZ_WCvfy.cjs} +1 -1
  5. package/components/{CasinoCoinroyaleDetails-X9TUrtj4.js → CasinoCoinroyaleDetails-BrHolmjt.js} +2 -2
  6. package/components/{CasinoCoinroyaleDetails-BdVDEPTm.js → CasinoCoinroyaleDetails-BzsNEQvn.js} +2 -2
  7. package/components/{CasinoCoinroyaleList-DVSWGc29.js → CasinoCoinroyaleList-BJt-xLxA.js} +3 -3
  8. package/components/{CasinoCoinroyaleList-IplknfV1.js → CasinoCoinroyaleList-BsE7E11H.js} +3 -3
  9. package/components/{CasinoCoinroyaleList-C6hKfOYw.cjs → CasinoCoinroyaleList-DusBLc66.cjs} +1 -1
  10. package/components/{CasinoGameOverlay-V7LdfRMk.js → CasinoGameOverlay-DUEK-4c8.js} +336 -327
  11. package/components/{CasinoGameOverlay-BtzBFnKd.js → CasinoGameOverlay-Dk_e7S5S.js} +385 -376
  12. package/components/CasinoGameOverlay-DxVFecV1.cjs +4 -0
  13. package/components/{CasinoMysteryChestContainer-BckJ8kSf.cjs → CasinoMysteryChestContainer-BcbLPo0Z.cjs} +1 -1
  14. package/components/{CasinoMysteryChestContainer-2q39nbfp.js → CasinoMysteryChestContainer-DeILjbeG.js} +4 -4
  15. package/components/{CasinoMysteryChestContainer-Bu5soH27.js → CasinoMysteryChestContainer-DlHO957g.js} +4 -4
  16. package/components/{CasinoMysteryChestDetails-DJ6gz5xx.cjs → CasinoMysteryChestDetails-B92naIHC.cjs} +1 -1
  17. package/components/{CasinoMysteryChestDetails-B29xnOYi.js → CasinoMysteryChestDetails-LmsHymHc.js} +3 -3
  18. package/components/{CasinoMysteryChestDetails-Dd_ZCPFZ.js → CasinoMysteryChestDetails-zh82UlHz.js} +3 -3
  19. package/components/{CasinoMysteryChestModal-liWPvZLw.js → CasinoMysteryChestModal-7NOlJhOA.js} +1 -1
  20. package/components/{CasinoMysteryChestModal-CPrsQruR.cjs → CasinoMysteryChestModal-G7V3hPTw.cjs} +1 -1
  21. package/components/{CasinoMysteryChestModal-D8hCr0GS.js → CasinoMysteryChestModal-mavYFXxw.js} +1 -1
  22. package/components/{CasinoMysteryChestsList-Bn1f7GtL.js → CasinoMysteryChestsList-BlwtQ2Oi.js} +2 -2
  23. package/components/{CasinoMysteryChestsList-CV29Ly-U.js → CasinoMysteryChestsList-CZmqS9RH.js} +2 -2
  24. package/components/{CasinoMysteryChestsList-ZlpUP-_c.cjs → CasinoMysteryChestsList-D7Ei_zWb.cjs} +1 -1
  25. package/components/{LotteryProgramWof-BXO9ySHI.cjs → LotteryProgramWof-CYN4QdNW.cjs} +1 -1
  26. package/components/{LotteryProgramWof-BKlE0kKR.js → LotteryProgramWof-CYsXhvmg.js} +2 -2
  27. package/components/{LotteryProgramWof-CONWAs8w.js → LotteryProgramWof-vN_-5rCj.js} +2 -2
  28. package/components/{PrizeEngineChest-DQ2V6oL0.js → PrizeEngineChest-D-1AzkWP.js} +4 -4
  29. package/components/{PrizeEngineChest-D-GSJmRs.js → PrizeEngineChest-D9x8mDNy.js} +4 -4
  30. package/components/{PrizeEngineChest-BpgJBZ-Y.cjs → PrizeEngineChest-ZtbR30GF.cjs} +1 -1
  31. package/components/{PrizeEngineCoin-DMf_jPUy.cjs → PrizeEngineCoin-DHoWaMXY.cjs} +1 -1
  32. package/components/{PrizeEngineCoin-C7AvFwNL.js → PrizeEngineCoin-DTs1myVC.js} +2 -2
  33. package/components/{PrizeEngineCoin-jRTdpoLr.js → PrizeEngineCoin-DbFl_eCf.js} +2 -2
  34. package/components/{PrizeEngineDetails-Bok3RJt0.js → PrizeEngineDetails-Bi94BkB1.js} +200 -190
  35. package/components/{PrizeEngineDetails-BwwbWZIV.js → PrizeEngineDetails-C7LLHM3M.js} +276 -265
  36. package/components/{PrizeEngineDetails-B32Oyuua.cjs → PrizeEngineDetails-CjTT3Hyz.cjs} +1 -1
  37. package/components/{PrizeEngineHistory--7ch2ibC.js → PrizeEngineHistory-ANnDH8E1.js} +4 -4
  38. package/components/{PrizeEngineHistory-CT4oW3nn.js → PrizeEngineHistory-CyE8rjCd.js} +4 -4
  39. package/components/{PrizeEngineHistory-BS2YDAR_.cjs → PrizeEngineHistory-DY_OdvA7.cjs} +1 -1
  40. package/components/{PrizeEngineList-BtST-Ok-.js → PrizeEngineList-BQEAk_AP.js} +123 -123
  41. package/components/{PrizeEngineList-C8K3okMV.js → PrizeEngineList-DlEj5e0E.js} +98 -98
  42. package/components/PrizeEngineList-DrZtvkgK.cjs +1 -0
  43. package/components/{PrizeEngineLuckywheel-CDAcodqf.js → PrizeEngineLuckywheel-B4E2aj2l.js} +3 -3
  44. package/components/{PrizeEngineLuckywheel-sIZh84m_.js → PrizeEngineLuckywheel-BUfIMpmo.js} +3 -3
  45. package/components/{PrizeEngineLuckywheel-B_dOeIeL.cjs → PrizeEngineLuckywheel-C8w1Ot_M.cjs} +1 -1
  46. package/components/{PrizeEngineSuite-MfBz9bMX.js → PrizeEngineSuite-D7TII_gi.js} +263 -255
  47. package/components/{PrizeEngineSuite-SzG6RFWp.js → PrizeEngineSuite-DCaGWMFT.js} +263 -255
  48. package/components/PrizeEngineSuite-DLimogfH.cjs +1 -0
  49. package/components/{WheelSVG-BKSG01DQ.js → WheelSVG-CUwIGmaM.js} +2 -2
  50. package/components/{WheelSVG-ClHiUv-P.js → WheelSVG-CqaqxytJ.js} +2 -2
  51. package/components/{WheelSVG-BVu6Gymg.cjs → WheelSVG-DlM6XfJR.cjs} +1 -1
  52. package/es2015/casino-game-overlay.cjs +1 -1
  53. package/es2015/casino-game-overlay.js +1 -1
  54. package/esnext/casino-game-overlay.js +1 -1
  55. package/package.json +1 -1
  56. package/components/CasinoGameOverlay-DcfvouvT.cjs +0 -4
  57. package/components/PrizeEngineList-CzJMqs2M.cjs +0 -1
  58. package/components/PrizeEngineSuite-CZAGeW2x.cjs +0 -1
@@ -9,7 +9,7 @@ var Ye = (A, e, t) => e in A ? bt(A, e, { enumerable: !0, configurable: !0, writ
9
9
  kt.call(e, t) && Ye(A, t, e[t]);
10
10
  return A;
11
11
  };
12
- var we = (A, e, t) => new Promise((n, i) => {
12
+ var fe = (A, e, t) => new Promise((n, i) => {
13
13
  var l = (c) => {
14
14
  try {
15
15
  o(t.next(c));
@@ -25,9 +25,9 @@ var we = (A, e, t) => new Promise((n, i) => {
25
25
  }, o = (c) => c.done ? n(c.value) : Promise.resolve(c.value).then(l, s);
26
26
  o((t = t.apply(A, e)).next());
27
27
  });
28
- import { S as Bt, b as Ct, s as Pe, f as ie, c as Mt, n as Xe, d as M, x as Me, e as R, m as a, k as f, g as H, l as p, w as Rt, o as Ht, r as ct, E as X, N as fe, G as ft, y as ut, z as dt, p as ue, F as L, h as Je, C as Ee, D as Fe, A as Qt, B as gt, j as h, L as Ie, M as ht, q as je, i as Ge, I as Tt, J as zt, K as Dt, t as Wt } from "./CasinoGameOverlay-BtzBFnKd.js";
29
- import { f as Lt, a as xe } from "./LotteryProgramWof-CONWAs8w.js";
30
- import { $ as Ne, a as Pt, b as It, i as jt, c as xt } from "./CasinoMysteryChestContainer-2q39nbfp.js";
28
+ import { S as Bt, b as Ct, s as Pe, f as ie, c as Mt, n as Xe, d as M, x as Me, e as R, m as a, k as f, g as H, l as p, w as Rt, o as Ht, r as ct, E as X, N as ue, G as ft, y as ut, z as dt, p as de, F as L, h as Je, C as Ee, D as Fe, A as Qt, B as gt, j as h, L as je, M as ht, q as Ie, i as Ge, I as Tt, J as zt, K as Dt, t as Wt } from "./CasinoGameOverlay-Dk_e7S5S.js";
29
+ import { f as Lt, a as xe } from "./LotteryProgramWof-vN_-5rCj.js";
30
+ import { $ as Ne, a as Pt, b as jt, i as It, c as xt } from "./CasinoMysteryChestContainer-DeILjbeG.js";
31
31
  import "../stencil/ui-skeleton-xXZA3rYO.js";
32
32
  const Ve = {
33
33
  en: {
@@ -112,7 +112,7 @@ const Ve = {
112
112
  };
113
113
  function Xt({ withLocale: A, translations: e }) {
114
114
  Ne.subscribe((t) => {
115
- t == null && (It.set(e), Ne.set(A));
115
+ t == null && (jt.set(e), Ne.set(A));
116
116
  });
117
117
  }
118
118
  function Se(A, e) {
@@ -138,7 +138,7 @@ if (typeof window != "undefined") {
138
138
  }
139
139
  };
140
140
  };
141
- customElements.define = A(customElements.define), import("./PrizeEngineChest-DQ2V6oL0.js").then(({ default: e }) => {
141
+ customElements.define = A(customElements.define), import("./PrizeEngineChest-D-1AzkWP.js").then(({ default: e }) => {
142
142
  !customElements.get("prize-engine-chest") && customElements.define("prize-engine-chest", e.element);
143
143
  });
144
144
  }
@@ -154,7 +154,7 @@ if (typeof window != "undefined") {
154
154
  }
155
155
  };
156
156
  };
157
- customElements.define = A(customElements.define), import("./PrizeEngineCoin-C7AvFwNL.js").then(({ default: e }) => {
157
+ customElements.define = A(customElements.define), import("./PrizeEngineCoin-DTs1myVC.js").then(({ default: e }) => {
158
158
  !customElements.get("prize-engine-coin") && customElements.define("prize-engine-coin", e.element);
159
159
  });
160
160
  }
@@ -170,7 +170,7 @@ if (typeof window != "undefined") {
170
170
  }
171
171
  };
172
172
  };
173
- customElements.define = A(customElements.define), import("./PrizeEngineLuckywheel-sIZh84m_.js").then(({ default: e }) => {
173
+ customElements.define = A(customElements.define), import("./PrizeEngineLuckywheel-BUfIMpmo.js").then(({ default: e }) => {
174
174
  !customElements.get("prize-engine-luckywheel") && customElements.define("prize-engine-luckywheel", e.element);
175
175
  });
176
176
  }
@@ -194,10 +194,10 @@ function Ke(A) {
194
194
  A[2]
195
195
  ] || /*activeGame*/
196
196
  A[9].program.name["*"]) + ""
197
- ), o, c, r, u, v, b, w, B, F, G, P, U, se = (
197
+ ), o, c, r, d, w, b, v, C, O, V, P, K, se = (
198
198
  /*$_*/
199
199
  A[15]("Rules") + ""
200
- ), pe, $, d, J, le, E, I;
200
+ ), pe, ee, u, J, le, E, j;
201
201
  function T(y, x) {
202
202
  if (
203
203
  /*gameType*/
@@ -215,15 +215,15 @@ function Ke(A) {
215
215
  )
216
216
  return Vt;
217
217
  }
218
- let N = T(A), D = N && N(A);
219
- function V(y, x) {
218
+ let Z = T(A), D = Z && Z(A);
219
+ function F(y, x) {
220
220
  return (
221
221
  /*gameType*/
222
222
  y[14] !== "wheelOfFortune" || /*themeIndex*/
223
223
  y[21] === 7 ? _t : Kt
224
224
  );
225
225
  }
226
- let Ae = V(A), Z = Ae(A), j = (
226
+ let Ae = F(A), N = Ae(A), I = (
227
227
  /*displayExpiry*/
228
228
  A[23] && _e(A)
229
229
  ), W = (
@@ -232,12 +232,12 @@ function Ke(A) {
232
232
  );
233
233
  return {
234
234
  c() {
235
- e = f("div"), t = f("div"), n = f("button"), i = H(), l = f("div"), o = L(s), c = H(), r = f("button"), u = H(), v = f("div"), b = f("div"), D && D.c(), w = H(), B = f("div"), Z.c(), F = H(), j && j.c(), G = H(), P = f("button"), U = f("span"), pe = L(se), $ = H(), d = f("span"), J = H(), W && W.c(), le = Je(), p(n, "type", "button"), p(n, "class", "IconButton Back svelte-1m851ap"), p(l, "class", "HeaderTitle svelte-1m851ap"), p(r, "type", "button"), p(r, "class", "IconButton Close svelte-1m851ap"), p(t, "class", "Header svelte-1m851ap"), p(b, "class", "GameComponentContainer svelte-1m851ap"), p(d, "class", "ChevronUp svelte-1m851ap"), p(P, "type", "button"), p(P, "class", "RulesToggle svelte-1m851ap"), p(B, "class", "InfoSection svelte-1m851ap"), p(v, "class", "ViewWrapper svelte-1m851ap"), p(e, "class", "ViewLayer GameLayer svelte-1m851ap"), fe(
235
+ e = f("div"), t = f("div"), n = f("button"), i = H(), l = f("div"), o = L(s), c = H(), r = f("button"), d = H(), w = f("div"), b = f("div"), D && D.c(), v = H(), C = f("div"), N.c(), O = H(), I && I.c(), V = H(), P = f("button"), K = f("span"), pe = L(se), ee = H(), u = f("span"), J = H(), W && W.c(), le = Je(), p(n, "type", "button"), p(n, "class", "IconButton Back svelte-1m851ap"), p(l, "class", "HeaderTitle svelte-1m851ap"), p(r, "type", "button"), p(r, "class", "IconButton Close svelte-1m851ap"), p(t, "class", "Header svelte-1m851ap"), p(b, "class", "GameComponentContainer svelte-1m851ap"), p(u, "class", "ChevronUp svelte-1m851ap"), p(P, "type", "button"), p(P, "class", "RulesToggle svelte-1m851ap"), p(C, "class", "InfoSection svelte-1m851ap"), p(w, "class", "ViewWrapper svelte-1m851ap"), p(e, "class", "ViewLayer GameLayer svelte-1m851ap"), ue(
236
236
  e,
237
237
  "Mobile",
238
238
  /*mobileView*/
239
239
  A[24]
240
- ), fe(
240
+ ), ue(
241
241
  e,
242
242
  "hidden",
243
243
  /*showRulesOverlay*/
@@ -246,20 +246,20 @@ function Ke(A) {
246
246
  );
247
247
  },
248
248
  m(y, x) {
249
- R(y, e, x), a(e, t), a(t, n), a(t, i), a(t, l), a(l, o), a(t, c), a(t, r), a(e, u), a(e, v), a(v, b), D && D.m(b, null), a(v, w), a(v, B), Z.m(B, null), a(B, F), j && j.m(B, null), a(B, G), a(B, P), a(P, U), a(U, pe), a(P, $), a(P, d), R(y, J, x), W && W.m(y, x), R(y, le, x), E || (I = [
250
- ue(
249
+ R(y, e, x), a(e, t), a(t, n), a(t, i), a(t, l), a(l, o), a(t, c), a(t, r), a(e, d), a(e, w), a(w, b), D && D.m(b, null), a(w, v), a(w, C), N.m(C, null), a(C, O), I && I.m(C, null), a(C, V), a(C, P), a(P, K), a(K, pe), a(P, ee), a(P, u), R(y, J, x), W && W.m(y, x), R(y, le, x), E || (j = [
250
+ de(
251
251
  n,
252
252
  "click",
253
253
  /*onBack*/
254
254
  A[29]
255
255
  ),
256
- ue(
256
+ de(
257
257
  r,
258
258
  "click",
259
259
  /*onClose*/
260
260
  A[30]
261
261
  ),
262
- ue(
262
+ de(
263
263
  P,
264
264
  "click",
265
265
  /*click_handler*/
@@ -274,11 +274,11 @@ function Ke(A) {
274
274
  /*lang*/
275
275
  y[2]
276
276
  ] || /*activeGame*/
277
- y[9].program.name["*"]) + "") && X(o, s), N === (N = T(y)) && D ? D.p(y, x) : (D && D.d(1), D = N && N(y), D && (D.c(), D.m(b, null))), Ae === (Ae = V(y)) && Z ? Z.p(y, x) : (Z.d(1), Z = Ae(y), Z && (Z.c(), Z.m(B, F))), /*displayExpiry*/
278
- y[23] ? j ? j.p(y, x) : (j = _e(y), j.c(), j.m(B, G)) : j && (j.d(1), j = null), x[0] & /*$_*/
277
+ y[9].program.name["*"]) + "") && X(o, s), Z === (Z = T(y)) && D ? D.p(y, x) : (D && D.d(1), D = Z && Z(y), D && (D.c(), D.m(b, null))), Ae === (Ae = F(y)) && N ? N.p(y, x) : (N.d(1), N = Ae(y), N && (N.c(), N.m(C, O))), /*displayExpiry*/
278
+ y[23] ? I ? I.p(y, x) : (I = _e(y), I.c(), I.m(C, V)) : I && (I.d(1), I = null), x[0] & /*$_*/
279
279
  32768 && se !== (se = /*$_*/
280
280
  y[15]("Rules") + "") && X(pe, se), x[0] & /*showRulesOverlay, isMessageShown*/
281
- 264192 && fe(
281
+ 264192 && ue(
282
282
  e,
283
283
  "hidden",
284
284
  /*showRulesOverlay*/
@@ -291,7 +291,7 @@ function Ke(A) {
291
291
  }), dt());
292
292
  },
293
293
  d(y) {
294
- y && (M(e), M(J), M(le)), D && D.d(), Z.d(), j && j.d(), W && W.d(y), E = !1, ct(I);
294
+ y && (M(e), M(J), M(le)), D && D.d(), N.d(), I && I.d(), W && W.d(y), E = !1, ct(j);
295
295
  }
296
296
  };
297
297
  }
@@ -636,23 +636,23 @@ function Kt(A) {
636
636
  let e, t, n = (
637
637
  /*$_*/
638
638
  A[15]("RemainingTimes") + ""
639
- ), i, l, s, o, c, r, u = (
639
+ ), i, l, s, o, c, r, d = (
640
640
  /*activeGame*/
641
641
  A[9].current.remainingTimes + ""
642
- ), v;
642
+ ), w;
643
643
  return {
644
644
  c() {
645
- e = f("div"), t = f("span"), i = L(n), l = L(":"), s = H(), o = f("span"), o.innerHTML = `<img src="${Yt}" alt="Key"/>`, c = H(), r = f("span"), v = L(u), p(o, "class", "SmallIcon svelte-1m851ap"), p(e, "class", "InfoItem svelte-1m851ap");
645
+ e = f("div"), t = f("span"), i = L(n), l = L(":"), s = H(), o = f("span"), o.innerHTML = `<img src="${Yt}" alt="Key"/>`, c = H(), r = f("span"), w = L(d), p(o, "class", "SmallIcon svelte-1m851ap"), p(e, "class", "InfoItem svelte-1m851ap");
646
646
  },
647
- m(b, w) {
648
- R(b, e, w), a(e, t), a(t, i), a(t, l), a(e, s), a(e, o), a(e, c), a(e, r), a(r, v);
647
+ m(b, v) {
648
+ R(b, e, v), a(e, t), a(t, i), a(t, l), a(e, s), a(e, o), a(e, c), a(e, r), a(r, w);
649
649
  },
650
- p(b, w) {
651
- w[0] & /*$_*/
650
+ p(b, v) {
651
+ v[0] & /*$_*/
652
652
  32768 && n !== (n = /*$_*/
653
- b[15]("RemainingTimes") + "") && X(i, n), w[0] & /*activeGame*/
654
- 512 && u !== (u = /*activeGame*/
655
- b[9].current.remainingTimes + "") && X(v, u);
653
+ b[15]("RemainingTimes") + "") && X(i, n), v[0] & /*activeGame*/
654
+ 512 && d !== (d = /*activeGame*/
655
+ b[9].current.remainingTimes + "") && X(w, d);
656
656
  },
657
657
  d(b) {
658
658
  b && M(e);
@@ -666,35 +666,35 @@ function _t(A) {
666
666
  ), i, l, s, o, c, r = (
667
667
  /*buttonTextParts*/
668
668
  A[19].count + ""
669
- ), u, v, b, w;
669
+ ), d, w, b, v;
670
670
  return {
671
671
  c() {
672
- var B;
673
- e = f("button"), t = f("span"), i = L(n), l = H(), s = f("span"), s.textContent = "×", o = H(), c = f("span"), u = L(r), p(t, "class", "ButtonBase svelte-1m851ap"), p(s, "class", "ButtonCross svelte-1m851ap"), p(c, "class", "ButtonCount svelte-1m851ap"), p(e, "type", "button"), p(e, "class", "ActionButton primary svelte-1m851ap"), e.disabled = v = /*isDrawing*/
672
+ var C;
673
+ e = f("button"), t = f("span"), i = L(n), l = H(), s = f("span"), s.textContent = "×", o = H(), c = f("span"), d = L(r), p(t, "class", "ButtonBase svelte-1m851ap"), p(s, "class", "ButtonCross svelte-1m851ap"), p(c, "class", "ButtonCount svelte-1m851ap"), p(e, "type", "button"), p(e, "class", "ActionButton primary svelte-1m851ap"), e.disabled = w = /*isDrawing*/
674
674
  A[17] || !/*activeGame*/
675
- ((B = A[9].current) != null && B.remainingTimes);
675
+ ((C = A[9].current) != null && C.remainingTimes);
676
676
  },
677
- m(B, F) {
678
- R(B, e, F), a(e, t), a(t, i), a(e, l), a(e, s), a(e, o), a(e, c), a(c, u), b || (w = ue(
677
+ m(C, O) {
678
+ R(C, e, O), a(e, t), a(t, i), a(e, l), a(e, s), a(e, o), a(e, c), a(c, d), b || (v = de(
679
679
  e,
680
680
  "click",
681
681
  /*performDraw*/
682
682
  A[27]
683
683
  ), b = !0);
684
684
  },
685
- p(B, F) {
686
- var G;
687
- F[0] & /*buttonTextParts*/
685
+ p(C, O) {
686
+ var V;
687
+ O[0] & /*buttonTextParts*/
688
688
  524288 && n !== (n = /*buttonTextParts*/
689
- B[19].base + "") && X(i, n), F[0] & /*buttonTextParts*/
689
+ C[19].base + "") && X(i, n), O[0] & /*buttonTextParts*/
690
690
  524288 && r !== (r = /*buttonTextParts*/
691
- B[19].count + "") && X(u, r), F[0] & /*isDrawing, activeGame*/
692
- 131584 && v !== (v = /*isDrawing*/
693
- B[17] || !/*activeGame*/
694
- ((G = B[9].current) != null && G.remainingTimes)) && (e.disabled = v);
691
+ C[19].count + "") && X(d, r), O[0] & /*isDrawing, activeGame*/
692
+ 131584 && w !== (w = /*isDrawing*/
693
+ C[17] || !/*activeGame*/
694
+ ((V = C[9].current) != null && V.remainingTimes)) && (e.disabled = w);
695
695
  },
696
- d(B) {
697
- B && M(e), b = !1, w();
696
+ d(C) {
697
+ C && M(e), b = !1, v();
698
698
  }
699
699
  };
700
700
  }
@@ -728,31 +728,31 @@ function $e(A) {
728
728
  let e, t, n, i, l, s = (
729
729
  /*$_*/
730
730
  A[15]("Rules") + ""
731
- ), o, c, r, u, v, b, w = (
731
+ ), o, c, r, d, w, b, v = (
732
732
  /*$_*/
733
733
  A[15]("RulesDescription") + ""
734
- ), B, F, G, P, U, se, pe, $, d, J = (
734
+ ), C, O, V, P, K, se, pe, ee, u, J = (
735
735
  /*$_*/
736
736
  A[15]("AvailablePeriod") + ""
737
- ), le, E, I, T = (
737
+ ), le, E, j, T = (
738
738
  /*formatDateTime*/
739
739
  A[31](
740
740
  /*activeGame*/
741
741
  (Re = A[9].program.trigger) == null ? void 0 : Re.startTime
742
742
  ) + ""
743
- ), N, D, V = (
743
+ ), Z, D, F = (
744
744
  /*formatDateTime*/
745
745
  A[31](
746
746
  /*activeGame*/
747
747
  (He = A[9].program.trigger) == null ? void 0 : He.endTime
748
748
  ) + ""
749
- ), Ae, Z, j, W, y, x, oe, be, ye = (
749
+ ), Ae, N, I, W, y, x, oe, be, ye = (
750
750
  /*$_*/
751
751
  A[15]("TopRewards") + ""
752
- ), q, de, ge, he, ce, K, ke, ve, O = (
752
+ ), q, ge, he, we, ce, _, ke, ve, Y = (
753
753
  /*effectiveTermsUrl*/
754
754
  A[22] && et(A)
755
- ), Y = (
755
+ ), G = (
756
756
  /*activeGame*/
757
757
  ((ze = (Te = (Qe = A[9]) == null ? void 0 : Qe.program) == null ? void 0 : Te.trigger) == null ? void 0 : ze.periods) && tt(A)
758
758
  ), S = (
@@ -761,56 +761,56 @@ function $e(A) {
761
761
  );
762
762
  return {
763
763
  c() {
764
- e = f("div"), t = f("div"), n = f("div"), i = H(), l = f("div"), o = L(s), c = H(), r = f("button"), u = H(), v = f("div"), b = f("div"), B = L(w), F = H(), O && O.c(), G = H(), P = f("div"), U = f("div"), se = f("span"), pe = H(), $ = f("div"), d = f("strong"), le = L(J), E = H(), I = f("span"), N = L(T), D = L(" ~ "), Ae = L(V), Z = H(), Y && Y.c(), j = H(), W = f("div"), y = f("span"), x = H(), oe = f("div"), be = f("strong"), q = L(ye), de = H(), ge = f("span"), S && S.c(), p(n, "class", "HeaderPlaceholder svelte-1m851ap"), p(l, "class", "HeaderTitle svelte-1m851ap"), p(r, "type", "button"), p(r, "class", "IconButton Close svelte-1m851ap"), p(t, "class", "Header svelte-1m851ap"), p(b, "class", "GameDescription svelte-1m851ap"), p(se, "class", "Icon History svelte-1m851ap"), p(d, "class", "svelte-1m851ap"), p(I, "class", "svelte-1m851ap"), p($, "class", "DetailText"), p(U, "class", "DetailItem svelte-1m851ap"), p(y, "class", "Icon Cup svelte-1m851ap"), p(be, "class", "svelte-1m851ap"), p(ge, "class", "RewardList svelte-1m851ap"), p(oe, "class", "DetailText"), p(W, "class", "DetailItem Rewards svelte-1m851ap"), p(P, "class", "DetailsGrid svelte-1m851ap"), p(v, "class", "LayerContent svelte-1m851ap"), p(e, "class", "ViewLayer RulesLayer svelte-1m851ap"), fe(
764
+ e = f("div"), t = f("div"), n = f("div"), i = H(), l = f("div"), o = L(s), c = H(), r = f("button"), d = H(), w = f("div"), b = f("div"), C = L(v), O = H(), Y && Y.c(), V = H(), P = f("div"), K = f("div"), se = f("span"), pe = H(), ee = f("div"), u = f("strong"), le = L(J), E = H(), j = f("span"), Z = L(T), D = L(" ~ "), Ae = L(F), N = H(), G && G.c(), I = H(), W = f("div"), y = f("span"), x = H(), oe = f("div"), be = f("strong"), q = L(ye), ge = H(), he = f("span"), S && S.c(), p(n, "class", "HeaderPlaceholder svelte-1m851ap"), p(l, "class", "HeaderTitle svelte-1m851ap"), p(r, "type", "button"), p(r, "class", "IconButton Close svelte-1m851ap"), p(t, "class", "Header svelte-1m851ap"), p(b, "class", "GameDescription svelte-1m851ap"), p(se, "class", "Icon History svelte-1m851ap"), p(u, "class", "svelte-1m851ap"), p(j, "class", "svelte-1m851ap"), p(ee, "class", "DetailText"), p(K, "class", "DetailItem svelte-1m851ap"), p(y, "class", "Icon Cup svelte-1m851ap"), p(be, "class", "svelte-1m851ap"), p(he, "class", "RewardList svelte-1m851ap"), p(oe, "class", "DetailText"), p(W, "class", "DetailItem Rewards svelte-1m851ap"), p(P, "class", "DetailsGrid svelte-1m851ap"), p(w, "class", "LayerContent svelte-1m851ap"), p(e, "class", "ViewLayer RulesLayer svelte-1m851ap"), ue(
765
765
  e,
766
766
  "Mobile",
767
767
  /*mobileView*/
768
768
  A[24]
769
769
  );
770
770
  },
771
- m(z, ee) {
772
- R(z, e, ee), a(e, t), a(t, n), a(t, i), a(t, l), a(l, o), a(t, c), a(t, r), a(e, u), a(e, v), a(v, b), a(b, B), a(v, F), O && O.m(v, null), a(v, G), a(v, P), a(P, U), a(U, se), a(U, pe), a(U, $), a($, d), a(d, le), a($, E), a($, I), a(I, N), a(I, D), a(I, Ae), a(P, Z), Y && Y.m(P, null), a(P, j), a(P, W), a(W, y), a(W, x), a(W, oe), a(oe, be), a(be, q), a(oe, de), a(oe, ge), S && S.m(ge, null), K = !0, ke || (ve = ue(
771
+ m(z, te) {
772
+ R(z, e, te), a(e, t), a(t, n), a(t, i), a(t, l), a(l, o), a(t, c), a(t, r), a(e, d), a(e, w), a(w, b), a(b, C), a(w, O), Y && Y.m(w, null), a(w, V), a(w, P), a(P, K), a(K, se), a(K, pe), a(K, ee), a(ee, u), a(u, le), a(ee, E), a(ee, j), a(j, Z), a(j, D), a(j, Ae), a(P, N), G && G.m(P, null), a(P, I), a(P, W), a(W, y), a(W, x), a(W, oe), a(oe, be), a(be, q), a(oe, ge), a(oe, he), S && S.m(he, null), _ = !0, ke || (ve = de(
773
773
  r,
774
774
  "click",
775
775
  /*click_handler_1*/
776
776
  A[38]
777
777
  ), ke = !0);
778
778
  },
779
- p(z, ee) {
780
- var We, m, g, C, Q, k;
781
- (!K || ee[0] & /*$_*/
779
+ p(z, te) {
780
+ var We, m, g, Q, k, B;
781
+ (!_ || te[0] & /*$_*/
782
782
  32768) && s !== (s = /*$_*/
783
- z[15]("Rules") + "") && X(o, s), (!K || ee[0] & /*$_*/
784
- 32768) && w !== (w = /*$_*/
785
- z[15]("RulesDescription") + "") && X(B, w), /*effectiveTermsUrl*/
786
- z[22] ? O ? O.p(z, ee) : (O = et(z), O.c(), O.m(v, G)) : O && (O.d(1), O = null), (!K || ee[0] & /*$_*/
783
+ z[15]("Rules") + "") && X(o, s), (!_ || te[0] & /*$_*/
784
+ 32768) && v !== (v = /*$_*/
785
+ z[15]("RulesDescription") + "") && X(C, v), /*effectiveTermsUrl*/
786
+ z[22] ? Y ? Y.p(z, te) : (Y = et(z), Y.c(), Y.m(w, V)) : Y && (Y.d(1), Y = null), (!_ || te[0] & /*$_*/
787
787
  32768) && J !== (J = /*$_*/
788
- z[15]("AvailablePeriod") + "") && X(le, J), (!K || ee[0] & /*activeGame*/
788
+ z[15]("AvailablePeriod") + "") && X(le, J), (!_ || te[0] & /*activeGame*/
789
789
  512) && T !== (T = /*formatDateTime*/
790
790
  z[31](
791
791
  /*activeGame*/
792
792
  (We = z[9].program.trigger) == null ? void 0 : We.startTime
793
- ) + "") && X(N, T), (!K || ee[0] & /*activeGame*/
794
- 512) && V !== (V = /*formatDateTime*/
793
+ ) + "") && X(Z, T), (!_ || te[0] & /*activeGame*/
794
+ 512) && F !== (F = /*formatDateTime*/
795
795
  z[31](
796
796
  /*activeGame*/
797
797
  (m = z[9].program.trigger) == null ? void 0 : m.endTime
798
- ) + "") && X(Ae, V), /*activeGame*/
799
- (Q = (C = (g = z[9]) == null ? void 0 : g.program) == null ? void 0 : C.trigger) != null && Q.periods ? Y ? Y.p(z, ee) : (Y = tt(z), Y.c(), Y.m(P, j)) : Y && (Y.d(1), Y = null), (!K || ee[0] & /*$_*/
798
+ ) + "") && X(Ae, F), /*activeGame*/
799
+ (k = (Q = (g = z[9]) == null ? void 0 : g.program) == null ? void 0 : Q.trigger) != null && k.periods ? G ? G.p(z, te) : (G = tt(z), G.c(), G.m(P, I)) : G && (G.d(1), G = null), (!_ || te[0] & /*$_*/
800
800
  32768) && ye !== (ye = /*$_*/
801
801
  z[15]("TopRewards") + "") && X(q, ye), /*activeGame*/
802
- (k = z[9].program.wheelOfFortune) != null && k.partitions ? S ? S.p(z, ee) : (S = nt(z), S.c(), S.m(ge, null)) : S && (S.d(1), S = null);
802
+ (B = z[9].program.wheelOfFortune) != null && B.partitions ? S ? S.p(z, te) : (S = nt(z), S.c(), S.m(he, null)) : S && (S.d(1), S = null);
803
803
  },
804
804
  i(z) {
805
- K || (z && Ee(() => {
806
- K && (ce && ce.end(1), he = Fe(e, xe, { y: "100%", duration: 400 }), he.start());
807
- }), K = !0);
805
+ _ || (z && Ee(() => {
806
+ _ && (ce && ce.end(1), we = Fe(e, xe, { y: "100%", duration: 400 }), we.start());
807
+ }), _ = !0);
808
808
  },
809
809
  o(z) {
810
- he && he.invalidate(), z && (ce = gt(e, xe, { y: "100%", duration: 400 })), K = !1;
810
+ we && we.invalidate(), z && (ce = gt(e, xe, { y: "100%", duration: 400 })), _ = !1;
811
811
  },
812
812
  d(z) {
813
- z && M(e), O && O.d(), Y && Y.d(), S && S.d(), z && ce && ce.end(), ke = !1, ve();
813
+ z && M(e), Y && Y.d(), G && G.d(), S && S.d(), z && ce && ce.end(), ke = !1, ve();
814
814
  }
815
815
  };
816
816
  }
@@ -848,7 +848,7 @@ function et(A) {
848
848
  };
849
849
  }
850
850
  function tt(A) {
851
- let e, t = Ie(
851
+ let e, t = je(
852
852
  /*activeGame*/
853
853
  A[9].program.trigger.periods
854
854
  ), n = [];
@@ -868,7 +868,7 @@ function tt(A) {
868
868
  p(i, l) {
869
869
  if (l[0] & /*getRecurrenceText, activeGame, $_*/
870
870
  33587712) {
871
- t = Ie(
871
+ t = je(
872
872
  /*activeGame*/
873
873
  i[9].program.trigger.periods
874
874
  );
@@ -891,37 +891,37 @@ function At(A) {
891
891
  let e, t, n, i, l, s = (
892
892
  /*$_*/
893
893
  A[15]("Recurrence") + ""
894
- ), o, c, r, u = (
894
+ ), o, c, r, d = (
895
895
  /*getRecurrenceText*/
896
896
  A[25](
897
897
  /*period*/
898
898
  A[60]
899
899
  ) + ""
900
- ), v, b;
900
+ ), w, b;
901
901
  return {
902
902
  c() {
903
- e = f("div"), t = f("span"), n = H(), i = f("div"), l = f("strong"), o = L(s), c = H(), r = f("span"), v = L(u), b = H(), p(t, "class", "Icon History svelte-1m851ap"), p(l, "class", "svelte-1m851ap"), p(r, "class", "svelte-1m851ap"), p(i, "class", "DetailText"), p(e, "class", "DetailItem svelte-1m851ap");
903
+ e = f("div"), t = f("span"), n = H(), i = f("div"), l = f("strong"), o = L(s), c = H(), r = f("span"), w = L(d), b = H(), p(t, "class", "Icon History svelte-1m851ap"), p(l, "class", "svelte-1m851ap"), p(r, "class", "svelte-1m851ap"), p(i, "class", "DetailText"), p(e, "class", "DetailItem svelte-1m851ap");
904
904
  },
905
- m(w, B) {
906
- R(w, e, B), a(e, t), a(e, n), a(e, i), a(i, l), a(l, o), a(i, c), a(i, r), a(r, v), a(e, b);
905
+ m(v, C) {
906
+ R(v, e, C), a(e, t), a(e, n), a(e, i), a(i, l), a(l, o), a(i, c), a(i, r), a(r, w), a(e, b);
907
907
  },
908
- p(w, B) {
909
- B[0] & /*$_*/
908
+ p(v, C) {
909
+ C[0] & /*$_*/
910
910
  32768 && s !== (s = /*$_*/
911
- w[15]("Recurrence") + "") && X(o, s), B[0] & /*activeGame*/
912
- 512 && u !== (u = /*getRecurrenceText*/
913
- w[25](
911
+ v[15]("Recurrence") + "") && X(o, s), C[0] & /*activeGame*/
912
+ 512 && d !== (d = /*getRecurrenceText*/
913
+ v[25](
914
914
  /*period*/
915
- w[60]
916
- ) + "") && X(v, u);
915
+ v[60]
916
+ ) + "") && X(w, d);
917
917
  },
918
- d(w) {
919
- w && M(e);
918
+ d(v) {
919
+ v && M(e);
920
920
  }
921
921
  };
922
922
  }
923
923
  function nt(A) {
924
- let e, t = Ie(
924
+ let e, t = je(
925
925
  /*activeGame*/
926
926
  A[9].program.wheelOfFortune.partitions
927
927
  ), n = [];
@@ -941,7 +941,7 @@ function nt(A) {
941
941
  p(i, l) {
942
942
  if (l[0] & /*activeGame, lang*/
943
943
  516) {
944
- t = Ie(
944
+ t = je(
945
945
  /*activeGame*/
946
946
  i[9].program.wheelOfFortune.partitions
947
947
  );
@@ -964,7 +964,7 @@ function $t(A) {
964
964
  let e, t;
965
965
  return {
966
966
  c() {
967
- e = f("img"), p(e, "class", "RewardIcon svelte-1m851ap"), je(e.src, t = /*partition*/
967
+ e = f("img"), p(e, "class", "RewardIcon svelte-1m851ap"), Ie(e.src, t = /*partition*/
968
968
  A[57].image1[
969
969
  /*lang*/
970
970
  A[2]
@@ -976,7 +976,7 @@ function $t(A) {
976
976
  },
977
977
  p(n, i) {
978
978
  i[0] & /*activeGame, lang*/
979
- 516 && !je(e.src, t = /*partition*/
979
+ 516 && !Ie(e.src, t = /*partition*/
980
980
  n[57].image1[
981
981
  /*lang*/
982
982
  n[2]
@@ -1093,7 +1093,7 @@ function tA(A) {
1093
1093
  /*viewData*/
1094
1094
  A[20].key
1095
1095
  ), n, i, l = ot(A);
1096
- function s(r, u) {
1096
+ function s(r, d) {
1097
1097
  return (
1098
1098
  /*messageMode*/
1099
1099
  r[12] === "gift" ? iA : nA
@@ -1102,32 +1102,32 @@ function tA(A) {
1102
1102
  let o = s(A), c = o(A);
1103
1103
  return {
1104
1104
  c() {
1105
- e = f("div"), l.c(), n = H(), i = f("div"), c.c(), p(e, "class", "ViewDataContainer svelte-1m851ap"), fe(
1105
+ e = f("div"), l.c(), n = H(), i = f("div"), c.c(), p(e, "class", "ViewDataContainer svelte-1m851ap"), ue(
1106
1106
  e,
1107
1107
  "shifted",
1108
1108
  /*internalMode*/
1109
1109
  A[13] === "confirmReject"
1110
- ), p(i, "class", "ButtonGroup svelte-1m851ap"), fe(
1110
+ ), p(i, "class", "ButtonGroup svelte-1m851ap"), ue(
1111
1111
  i,
1112
1112
  "wide-buttons",
1113
1113
  /*internalMode*/
1114
1114
  A[13] === "confirmReject"
1115
1115
  );
1116
1116
  },
1117
- m(r, u) {
1118
- R(r, e, u), l.m(e, null), R(r, n, u), R(r, i, u), c.m(i, null);
1117
+ m(r, d) {
1118
+ R(r, e, d), l.m(e, null), R(r, n, d), R(r, i, d), c.m(i, null);
1119
1119
  },
1120
- p(r, u) {
1121
- u[0] & /*viewData*/
1120
+ p(r, d) {
1121
+ d[0] & /*viewData*/
1122
1122
  1048576 && Pe(t, t = /*viewData*/
1123
- r[20].key) ? (ft(), ut(l, 1, 1, Xe), dt(), l = ot(r), l.c(), Me(l, 1), l.m(e, null)) : l.p(r, u), u[0] & /*internalMode*/
1124
- 8192 && fe(
1123
+ r[20].key) ? (ft(), ut(l, 1, 1, Xe), dt(), l = ot(r), l.c(), Me(l, 1), l.m(e, null)) : l.p(r, d), d[0] & /*internalMode*/
1124
+ 8192 && ue(
1125
1125
  e,
1126
1126
  "shifted",
1127
1127
  /*internalMode*/
1128
1128
  r[13] === "confirmReject"
1129
- ), o === (o = s(r)) && c ? c.p(r, u) : (c.d(1), c = o(r), c && (c.c(), c.m(i, null))), u[0] & /*internalMode*/
1130
- 8192 && fe(
1129
+ ), o === (o = s(r)) && c ? c.p(r, d) : (c.d(1), c = o(r), c && (c.c(), c.m(i, null))), d[0] & /*internalMode*/
1130
+ 8192 && ue(
1131
1131
  i,
1132
1132
  "wide-buttons",
1133
1133
  /*internalMode*/
@@ -1158,7 +1158,7 @@ function lt(A) {
1158
1158
  let e, t, n;
1159
1159
  return {
1160
1160
  c() {
1161
- e = f("div"), t = f("img"), je(t.src, n = /*viewData*/
1161
+ e = f("div"), t = f("img"), Ie(t.src, n = /*viewData*/
1162
1162
  A[20].image) || p(t, "src", n), p(t, "alt", ""), p(t, "class", "GiftImage svelte-1m851ap"), p(e, "class", "ImageWrapper svelte-1m851ap");
1163
1163
  },
1164
1164
  m(i, l) {
@@ -1166,7 +1166,7 @@ function lt(A) {
1166
1166
  },
1167
1167
  p(i, l) {
1168
1168
  l[0] & /*viewData*/
1169
- 1048576 && !je(t.src, n = /*viewData*/
1169
+ 1048576 && !Ie(t.src, n = /*viewData*/
1170
1170
  i[20].image) && p(t, "src", n);
1171
1171
  },
1172
1172
  d(i) {
@@ -1233,17 +1233,17 @@ function ot(A) {
1233
1233
  c() {
1234
1234
  e = f("div"), o && o.c(), t = H(), c && c.c(), n = H(), r && r.c(), p(e, "class", "ViewDataContent svelte-1m851ap");
1235
1235
  },
1236
- m(u, v) {
1237
- R(u, e, v), o && o.m(e, null), a(e, t), c && c.m(e, null), a(e, n), r && r.m(e, null), s = !0;
1236
+ m(d, w) {
1237
+ R(d, e, w), o && o.m(e, null), a(e, t), c && c.m(e, null), a(e, n), r && r.m(e, null), s = !0;
1238
1238
  },
1239
- p(u, v) {
1240
- A = u, /*viewData*/
1241
- A[20].image ? o ? o.p(A, v) : (o = lt(A), o.c(), o.m(e, t)) : o && (o.d(1), o = null), /*viewData*/
1242
- A[20].title ? c ? c.p(A, v) : (c = rt(A), c.c(), c.m(e, n)) : c && (c.d(1), c = null), /*viewData*/
1243
- A[20].text ? r ? r.p(A, v) : (r = at(A), r.c(), r.m(e, null)) : r && (r.d(1), r = null);
1239
+ p(d, w) {
1240
+ A = d, /*viewData*/
1241
+ A[20].image ? o ? o.p(A, w) : (o = lt(A), o.c(), o.m(e, t)) : o && (o.d(1), o = null), /*viewData*/
1242
+ A[20].title ? c ? c.p(A, w) : (c = rt(A), c.c(), c.m(e, n)) : c && (c.d(1), c = null), /*viewData*/
1243
+ A[20].text ? r ? r.p(A, w) : (r = at(A), r.c(), r.m(e, null)) : r && (r.d(1), r = null);
1244
1244
  },
1245
- i(u) {
1246
- s || (u && Ee(() => {
1245
+ i(d) {
1246
+ s || (d && Ee(() => {
1247
1247
  s && (l && l.end(1), i = Fe(e, xe, {
1248
1248
  y: (
1249
1249
  /*internalMode*/
@@ -1254,8 +1254,8 @@ function ot(A) {
1254
1254
  }), i.start());
1255
1255
  }), s = !0);
1256
1256
  },
1257
- o(u) {
1258
- i && i.invalidate(), u && (l = gt(e, xe, {
1257
+ o(d) {
1258
+ i && i.invalidate(), d && (l = gt(e, xe, {
1259
1259
  y: (
1260
1260
  /*internalMode*/
1261
1261
  A[13] === "confirmReject" ? -10 : 10
@@ -1263,8 +1263,8 @@ function ot(A) {
1263
1263
  duration: 150
1264
1264
  })), s = !1;
1265
1265
  },
1266
- d(u) {
1267
- u && M(e), o && o.d(), c && c.d(), r && r.d(), u && l && l.end();
1266
+ d(d) {
1267
+ d && M(e), o && o.d(), c && c.d(), r && r.d(), d && l && l.end();
1268
1268
  }
1269
1269
  };
1270
1270
  }
@@ -1285,7 +1285,7 @@ function nA(A) {
1285
1285
  e = f("button"), s.c(), p(e, "type", "button"), p(e, "class", "ActionButton primary svelte-1m851ap");
1286
1286
  },
1287
1287
  m(o, c) {
1288
- R(o, e, c), s.m(e, null), t || (n = ue(
1288
+ R(o, e, c), s.m(e, null), t || (n = de(
1289
1289
  e,
1290
1290
  "click",
1291
1291
  /*click_handler_6*/
@@ -1307,16 +1307,16 @@ function iA(A) {
1307
1307
  ), i, l, s, o = (
1308
1308
  /*internalMode*/
1309
1309
  A[13]
1310
- ), c, r, u = mt(A), v = pt(A);
1310
+ ), c, r, d = mt(A), w = pt(A);
1311
1311
  return {
1312
1312
  c() {
1313
- e = f("button"), t = f("div"), u.c(), i = H(), l = f("button"), s = f("div"), v.c(), p(t, "class", "ButtonTextWrapper svelte-1m851ap"), p(e, "type", "button"), p(e, "class", "ActionButton primary svelte-1m851ap"), e.disabled = /*internalLoading*/
1313
+ e = f("button"), t = f("div"), d.c(), i = H(), l = f("button"), s = f("div"), w.c(), p(t, "class", "ButtonTextWrapper svelte-1m851ap"), p(e, "type", "button"), p(e, "class", "ActionButton primary svelte-1m851ap"), e.disabled = /*internalLoading*/
1314
1314
  A[16], p(s, "class", "ButtonTextWrapper svelte-1m851ap"), p(l, "type", "button"), p(l, "class", "ActionButton outline svelte-1m851ap"), l.disabled = /*internalLoading*/
1315
1315
  A[16];
1316
1316
  },
1317
- m(b, w) {
1318
- R(b, e, w), a(e, t), u.m(t, null), R(b, i, w), R(b, l, w), a(l, s), v.m(s, null), c || (r = [
1319
- ue(e, "click", function() {
1317
+ m(b, v) {
1318
+ R(b, e, v), a(e, t), d.m(t, null), R(b, i, v), R(b, l, v), a(l, s), w.m(s, null), c || (r = [
1319
+ de(e, "click", function() {
1320
1320
  Ge(
1321
1321
  /*internalMode*/
1322
1322
  A[13] === "confirmReject" ? (
@@ -1335,7 +1335,7 @@ function iA(A) {
1335
1335
  A[40]
1336
1336
  )).apply(this, arguments);
1337
1337
  }),
1338
- ue(l, "click", function() {
1338
+ de(l, "click", function() {
1339
1339
  Ge(
1340
1340
  /*internalMode*/
1341
1341
  A[13] === "confirmReject" ? (
@@ -1356,19 +1356,19 @@ function iA(A) {
1356
1356
  })
1357
1357
  ], c = !0);
1358
1358
  },
1359
- p(b, w) {
1360
- A = b, w[0] & /*internalMode*/
1359
+ p(b, v) {
1360
+ A = b, v[0] & /*internalMode*/
1361
1361
  8192 && Pe(n, n = /*internalMode*/
1362
- A[13]) ? (u.d(1), u = mt(A), u.c(), u.m(t, null)) : u.p(A, w), w[0] & /*internalLoading*/
1362
+ A[13]) ? (d.d(1), d = mt(A), d.c(), d.m(t, null)) : d.p(A, v), v[0] & /*internalLoading*/
1363
1363
  65536 && (e.disabled = /*internalLoading*/
1364
- A[16]), w[0] & /*internalMode*/
1364
+ A[16]), v[0] & /*internalMode*/
1365
1365
  8192 && Pe(o, o = /*internalMode*/
1366
- A[13]) ? (v.d(1), v = pt(A), v.c(), v.m(s, null)) : v.p(A, w), w[0] & /*internalLoading*/
1366
+ A[13]) ? (w.d(1), w = pt(A), w.c(), w.m(s, null)) : w.p(A, v), v[0] & /*internalLoading*/
1367
1367
  65536 && (l.disabled = /*internalLoading*/
1368
1368
  A[16]);
1369
1369
  },
1370
1370
  d(b) {
1371
- b && (M(e), M(i), M(l)), u.d(b), v.d(b), c = !1, ct(r);
1371
+ b && (M(e), M(i), M(l)), d.d(b), w.d(b), c = !1, ct(r);
1372
1372
  }
1373
1373
  };
1374
1374
  }
@@ -1540,17 +1540,17 @@ let oA = null;
1540
1540
  function mA(A, e, t) {
1541
1541
  let n, i, l, s, o, c, r;
1542
1542
  Rt(A, xt, (m) => t(15, r = m));
1543
- let { data: u = null } = e, { endpoint: v = "" } = e, { session: b = "" } = e, { lang: w = "en" } = e, { clientstyling: B = "" } = e, { clientstylingurl: F = "" } = e, { translationurl: G = "" } = e, { mbsource: P = "" } = e, { twostepdraw: U = "false" } = e, { luckywheelsize: se = 324 } = e, { luckywheelmobilesize: pe = 240 } = e, { programs: $ = [] } = e, d = null, J;
1544
- const le = jt(window.navigator.userAgent);
1545
- let E = !1, I = "", T = null, N = !1, D = !1, V = "", Ae = "", Z = !1, j = Date.now(), W = null;
1543
+ let { data: d = null } = e, { endpoint: w = "" } = e, { session: b = "" } = e, { lang: v = "en" } = e, { clientstyling: C = "" } = e, { clientstylingurl: O = "" } = e, { translationurl: V = "" } = e, { mbsource: P = "" } = e, { twostepdraw: K = "false" } = e, { luckywheelsize: se = 324 } = e, { luckywheelmobilesize: pe = 240 } = e, { programs: ee = [] } = e, u = null, J;
1544
+ const le = It(window.navigator.userAgent);
1545
+ let E = !1, j = "", T = null, Z = !1, D = !1, F = "", Ae = "", N = !1, I = Date.now(), W = null;
1546
1546
  const y = (m, g) => {
1547
1547
  if (!m)
1548
1548
  return "";
1549
- const Q = new Date(m).getTime() - g;
1550
- if (Q <= 0)
1549
+ const k = new Date(m).getTime() - g;
1550
+ if (k <= 0)
1551
1551
  return "00d:00h:00m";
1552
- const k = Math.floor(Q / (1e3 * 60 * 60 * 24)), me = Math.floor(Q % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)), re = Math.floor(Q % (1e3 * 60 * 60) / (1e3 * 60));
1553
- return `${k.toString().padStart(2, "0")}d:${me.toString().padStart(2, "0")}h:${re.toString().padStart(2, "0")}m`;
1552
+ const B = Math.floor(k / (1e3 * 60 * 60 * 24)), me = Math.floor(k % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)), re = Math.floor(k % (1e3 * 60 * 60) / (1e3 * 60));
1553
+ return `${B.toString().padStart(2, "0")}d:${me.toString().padStart(2, "0")}h:${re.toString().padStart(2, "0")}m`;
1554
1554
  }, x = (m) => [
1555
1555
  "",
1556
1556
  r("Monday"),
@@ -1561,53 +1561,53 @@ function mA(A, e, t) {
1561
1561
  r("Saturday"),
1562
1562
  r("Sunday")
1563
1563
  ][m] || "", oe = (m) => {
1564
- const g = ["th", "st", "nd", "rd"], C = m % 100;
1565
- return m + (g[(C - 20) % 10] || g[C] || g[0]);
1564
+ const g = ["th", "st", "nd", "rd"], Q = m % 100;
1565
+ return m + (g[(Q - 20) % 10] || g[Q] || g[0]);
1566
1566
  }, be = (m) => {
1567
1567
  if (!m)
1568
1568
  return "";
1569
- const { recurrenceType: g, frequency: C, dayFrom: Q, dayTo: k, maxImplicitTickets: me, startTime: re, endTime: ae } = m, te = me || 0, Be = te > 1 ? r("Spins") : r("Spin");
1570
- let _ = `${te} ${Be}`;
1571
- const Ce = r("Every"), ne = C || 1;
1569
+ const { recurrenceType: g, frequency: Q, dayFrom: k, dayTo: B, maxImplicitTickets: me, startTime: re, endTime: ae } = m, U = me || 0, Be = U > 1 ? r("Spins") : r("Spin");
1570
+ let $ = `${U} ${Be}`;
1571
+ const Ce = r("Every"), ne = Q || 1;
1572
1572
  switch (g == null ? void 0 : g.toLowerCase()) {
1573
1573
  case "single":
1574
- _ += ` ${r("InThisPeriod")}`;
1574
+ $ += ` ${r("InThisPeriod")}`;
1575
1575
  break;
1576
1576
  case "minute":
1577
- const vt = ne > 1 ? r("Minutes") : r("Minute");
1578
- _ += ` ${Ce} ${ne > 1 ? ne + " " : ""}${vt}`;
1577
+ const wt = ne > 1 ? r("Minutes") : r("Minute");
1578
+ $ += ` ${Ce} ${ne > 1 ? ne + " " : ""}${wt}`;
1579
1579
  break;
1580
1580
  case "day":
1581
- const wt = ne > 1 ? r("Days") : r("Day");
1582
- _ += ` ${Ce} ${ne > 1 ? ne + " " : ""}${wt}`;
1581
+ const vt = ne > 1 ? r("Days") : r("Day");
1582
+ $ += ` ${Ce} ${ne > 1 ? ne + " " : ""}${vt}`;
1583
1583
  break;
1584
1584
  case "week":
1585
- if (Q && k)
1586
- Q === k ? _ += ` ${Ce} ${x(Q)}` : _ += ` ${r("From")} ${x(Q)} ${r("To")} ${x(k)} ${r("EveryWeek")}`;
1585
+ if (k && B)
1586
+ k === B ? $ += ` ${Ce} ${x(k)}` : $ += ` ${r("From")} ${x(k)} ${r("To")} ${x(B)} ${r("EveryWeek")}`;
1587
1587
  else {
1588
1588
  const Ze = ne > 1 ? r("Weeks") : r("Week");
1589
- _ += ` ${Ce} ${ne > 1 ? ne + " " : ""}${Ze}`;
1589
+ $ += ` ${Ce} ${ne > 1 ? ne + " " : ""}${Ze}`;
1590
1590
  }
1591
1591
  break;
1592
1592
  case "month":
1593
- if (Q && k)
1594
- Q === k ? _ += ` ${Ce} ${oe(Q)} ${r("EachMonth")}` : _ += ` ${r("From")} ${oe(Q)} ${r("To")} ${oe(k)} ${r("EachMonth")}`;
1593
+ if (k && B)
1594
+ k === B ? $ += ` ${Ce} ${oe(k)} ${r("EachMonth")}` : $ += ` ${r("From")} ${oe(k)} ${r("To")} ${oe(B)} ${r("EachMonth")}`;
1595
1595
  else {
1596
1596
  const Ze = ne > 1 ? r("Months") : r("Month");
1597
- _ += ` ${Ce} ${ne > 1 ? ne + " " : ""}${Ze}`;
1597
+ $ += ` ${Ce} ${ne > 1 ? ne + " " : ""}${Ze}`;
1598
1598
  }
1599
1599
  break;
1600
1600
  default:
1601
- _ += ` ${r("InThisPeriod")}`;
1601
+ $ += ` ${r("InThisPeriod")}`;
1602
1602
  }
1603
- return `${_} [${S(re)} ~ ${S(ae)}]`;
1603
+ return `${$} [${S(re)} ~ ${S(ae)}]`;
1604
1604
  };
1605
1605
  Nt();
1606
- const ye = (m) => we(this, null, function* () {
1606
+ const ye = (m) => fe(this, null, function* () {
1607
1607
  try {
1608
- const C = yield (yield fetch(m)).json();
1609
- Object.keys(C).forEach((Q) => {
1610
- Se(Q, C[Q]);
1608
+ const Q = yield (yield fetch(m)).json();
1609
+ Object.keys(Q).forEach((k) => {
1610
+ Se(k, Q[k]);
1611
1611
  });
1612
1612
  } catch (g) {
1613
1613
  console.error("[PrizeDetails] Failed to load translations", g);
@@ -1617,10 +1617,10 @@ function mA(A, e, t) {
1617
1617
  (function(m) {
1618
1618
  m[m.Assign = 0] = "Assign", m[m.Reward = 1] = "Reward", m[m.Reject = 2] = "Reject";
1619
1619
  })(q || (q = {}));
1620
- const de = (C, ...Q) => we(this, [C, ...Q], function* (m, g = {}) {
1621
- const k = new URL(v + "/v1" + m);
1622
- g.params && Object.keys(g.params).forEach((ae) => k.searchParams.append(ae, g.params[ae]));
1623
- const re = yield (yield fetch(k.toString(), {
1620
+ const ge = (Q, ...k) => fe(this, [Q, ...k], function* (m, g = {}) {
1621
+ const B = new URL(w + "/v1" + m);
1622
+ g.params && Object.keys(g.params).forEach((ae) => B.searchParams.append(ae, g.params[ae]));
1623
+ const re = yield (yield fetch(B.toString(), {
1624
1624
  method: g.method || "GET",
1625
1625
  headers: Le(Le({
1626
1626
  "Content-Type": "application/json",
@@ -1633,50 +1633,60 @@ function mA(A, e, t) {
1633
1633
  } catch (ae) {
1634
1634
  return re;
1635
1635
  }
1636
- }), ge = () => "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (m) => {
1636
+ }), he = () => "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (m) => {
1637
1637
  const g = Math.random() * 16 | 0;
1638
1638
  return (m === "x" ? g : g & 3 | 8).toString(16);
1639
- }), he = () => we(this, null, function* () {
1640
- var C;
1641
- if (!d)
1639
+ }), we = () => fe(this, null, function* () {
1640
+ var Q;
1641
+ if (!u)
1642
1642
  return;
1643
- const m = yield de("/wof/remainingTimes", {
1643
+ const m = yield ge("/wof/remainingTimes", {
1644
1644
  params: {
1645
- filter: `ProgramId[]=${d.program.id}`
1645
+ filter: `ProgramId[]=${u.program.id}`
1646
1646
  }
1647
1647
  });
1648
1648
  let g = 0;
1649
- if (((C = m == null ? void 0 : m.items) == null ? void 0 : C.length) > 0) {
1650
- const Q = m.items.find((k) => k.programId === d.program.id);
1651
- Q && (g = +Q.remainingTimes || 0);
1649
+ if (((Q = m == null ? void 0 : m.items) == null ? void 0 : Q.length) > 0) {
1650
+ const k = m.items.find((B) => B.programId === u.program.id);
1651
+ k && (g = +k.remainingTimes || 0);
1652
1652
  }
1653
- t(9, d.current.remainingTimes = g, d), t(9, d = Le({}, d)), t(32, u = JSON.stringify(d));
1654
- }), ce = () => we(this, null, function* () {
1655
- if (!d)
1653
+ t(9, u.current.remainingTimes = g, u), t(9, u = Le({}, u)), t(32, d = JSON.stringify(u)), window.postMessage(
1654
+ {
1655
+ type: "PrizeGameRemainingTimesUpdated",
1656
+ data: u
1657
+ },
1658
+ "*"
1659
+ );
1660
+ }), ce = () => fe(this, null, function* () {
1661
+ if (!u)
1656
1662
  return;
1657
- let m = $;
1658
- if (!m || m.length === 0)
1659
- try {
1660
- const C = yield de("/wof/lotteries");
1661
- m = (C == null ? void 0 : C.items) || [];
1662
- } catch (C) {
1663
- console.error("[PrizeDetails] Check next program failed", C);
1664
- }
1665
- const g = m == null ? void 0 : m.find((C) => C.program.id === d.program.id);
1666
- g && g.current ? (t(12, I = "show-next"), t(35, T = {
1667
- startTime: S(g.current.startTime),
1668
- name: g.program.name[w] || g.program.name["*"]
1669
- })) : t(12, I = "no-next"), t(11, E = !0);
1670
- }), K = () => we(this, null, function* () {
1663
+ let m = u.next;
1664
+ if (!m) {
1665
+ let g = ee;
1666
+ if (!g || g.length === 0)
1667
+ try {
1668
+ const k = yield ge("/wof/lotteries");
1669
+ g = (k == null ? void 0 : k.items) || [];
1670
+ } catch (k) {
1671
+ console.error("[PrizeDetails] Check next program failed", k);
1672
+ }
1673
+ const Q = g == null ? void 0 : g.find((k) => k.program.id === u.program.id);
1674
+ m = Q == null ? void 0 : Q.next;
1675
+ }
1676
+ m ? (t(12, j = "show-next"), t(35, T = {
1677
+ startTime: S(m.startTime),
1678
+ name: u.program.name[v] || u.program.name["*"]
1679
+ })) : t(12, j = "no-next"), t(11, E = !0);
1680
+ }), _ = () => fe(this, null, function* () {
1671
1681
  var m;
1672
- if (!(!d || N || D || E) && ((m = d.current) == null ? void 0 : m.remainingTimes) !== 0) {
1673
- Ae = ge(), t(16, N = !0), t(17, D = !0), t(18, Z = !1), window.postMessage({ type: "PrizeGameStartAnimation" }, "*");
1682
+ if (!(!u || Z || D || E) && ((m = u.current) == null ? void 0 : m.remainingTimes) !== 0) {
1683
+ Ae = he(), t(16, Z = !0), t(17, D = !0), t(18, N = !1), window.postMessage({ type: "PrizeGameStartAnimation" }, "*");
1674
1684
  try {
1675
- const g = U === "true" ? q.Reward : q.Assign, C = yield de(`/wof/draw/${d.program.id}`, {
1685
+ const g = K === "true" ? q.Reward : q.Assign, Q = yield ge(`/wof/draw/${u.program.id}`, {
1676
1686
  method: "PUT",
1677
1687
  body: JSON.stringify({ guid: Ae, action: g })
1678
1688
  });
1679
- ke(C, g);
1689
+ yield ke(Q, g);
1680
1690
  } catch (g) {
1681
1691
  window.postMessage(
1682
1692
  {
@@ -1684,22 +1694,22 @@ function mA(A, e, t) {
1684
1694
  data: { error: !0 }
1685
1695
  },
1686
1696
  "*"
1687
- ), t(12, I = "error"), t(11, E = !0), t(16, N = !1), t(17, D = !1);
1697
+ ), t(12, j = "error"), t(11, E = !0), t(16, Z = !1), t(17, D = !1);
1688
1698
  }
1689
1699
  }
1690
- }), ke = (m, g) => {
1691
- var C, Q;
1692
- if (t(16, N = !1), ((C = m == null ? void 0 : m.item) == null ? void 0 : C.state) === "fulfilled" || ((Q = m == null ? void 0 : m.item) == null ? void 0 : Q.state) === "drawn") {
1700
+ }), ke = (m, g) => fe(this, null, function* () {
1701
+ var Q, k;
1702
+ if (((Q = m == null ? void 0 : m.item) == null ? void 0 : Q.state) === "fulfilled" || ((k = m == null ? void 0 : m.item) == null ? void 0 : k.state) === "drawn") {
1693
1703
  window.postMessage({ type: "PrizeGameResult", data: m }, "*");
1694
- const k = d.program.wheelOfFortune.partitions[m.item.result.wheelOfFortunePartitionIndex], me = (k == null ? void 0 : k.prizeText[w]) || (k == null ? void 0 : k.prizeText["*"]) || "", re = (k == null ? void 0 : k.name[w]) || (k == null ? void 0 : k.name["*"]) || "", ae = (k == null ? void 0 : k.prizeImage[w]) || (k == null ? void 0 : k.prizeImage["*"]) || "";
1695
- m.item.result.outcomes.some((Be) => {
1696
- var _;
1697
- return ((_ = Be.action) == null ? void 0 : _.type) === "noprize";
1698
- }) ? (t(12, I = "noprize"), t(35, T = { text: me, image: ae })) : (g === q.Assign && I === "gift" ? t(12, I = "success") : t(12, I = g === q.Reward ? "gift" : "success-draw"), t(35, T = {
1704
+ const B = u.program.wheelOfFortune.partitions[m.item.result.wheelOfFortunePartitionIndex], me = (B == null ? void 0 : B.prizeText[v]) || (B == null ? void 0 : B.prizeText["*"]) || "", re = (B == null ? void 0 : B.name[v]) || (B == null ? void 0 : B.name["*"]) || "", ae = (B == null ? void 0 : B.prizeImage[v]) || (B == null ? void 0 : B.prizeImage["*"]) || "", U = m.item.result.outcomes.some((Be) => {
1705
+ var $;
1706
+ return (($ = Be.action) == null ? void 0 : $.type) === "noprize";
1707
+ });
1708
+ U ? (t(12, j = "noprize"), t(35, T = { text: me, image: ae })) : (g === q.Assign && j === "gift" ? t(12, j = "success") : t(12, j = g === q.Reward ? "gift" : "success-draw"), t(35, T = {
1699
1709
  text: me,
1700
1710
  image: ae,
1701
1711
  bold: re
1702
- })), t(13, V = ""), g !== q.Reward && he();
1712
+ })), t(13, F = ""), (g !== q.Reward || U) && (yield we());
1703
1713
  } else
1704
1714
  window.postMessage(
1705
1715
  {
@@ -1707,43 +1717,44 @@ function mA(A, e, t) {
1707
1717
  data: { error: !0 }
1708
1718
  },
1709
1719
  "*"
1710
- ), t(12, I = "error"), t(11, E = !0), t(17, D = !1);
1711
- }, ve = (m) => we(this, null, function* () {
1712
- var C;
1713
- if (!d || N)
1720
+ ), t(12, j = "error"), t(11, E = !0), t(17, D = !1);
1721
+ t(16, Z = !1);
1722
+ }), ve = (m) => fe(this, null, function* () {
1723
+ var Q;
1724
+ if (!u || Z)
1714
1725
  return;
1715
- t(16, N = !0);
1726
+ t(16, Z = !0);
1716
1727
  const g = m === "Assign" ? q.Assign : q.Reject;
1717
1728
  try {
1718
- const Q = yield de(`/wof/draw/${d.program.id}`, {
1729
+ const k = yield ge(`/wof/draw/${u.program.id}`, {
1719
1730
  method: "PUT",
1720
1731
  body: JSON.stringify({ guid: Ae, action: g })
1721
1732
  });
1722
- g === q.Assign ? ke(Q, q.Assign) : (t(11, E = !1), t(17, D = !1), yield he(), ((C = d.current) == null ? void 0 : C.remainingTimes) === 0 && ce());
1723
- } catch (Q) {
1733
+ g === q.Assign ? yield ke(k, q.Assign) : (yield we(), t(17, D = !1), t(16, Z = !1), ((Q = u.current) == null ? void 0 : Q.remainingTimes) === 0 ? (t(13, F = ""), ce()) : (t(11, E = !1), t(13, F = ""), window.postMessage({ type: "PrizeResultClose" }, "*")));
1734
+ } catch (k) {
1724
1735
  window.postMessage(
1725
1736
  {
1726
1737
  type: "PrizeGameResult",
1727
1738
  data: { error: !0 }
1728
1739
  },
1729
1740
  "*"
1730
- ), t(12, I = "error"), t(11, E = !0), t(16, N = !1), t(17, D = !1);
1741
+ ), t(12, j = "error"), t(11, E = !0), t(16, Z = !1), t(17, D = !1);
1731
1742
  }
1732
- }), O = () => window.postMessage({ type: "BackToList" }, "*"), Y = () => window.postMessage({ type: "ClosePrizeEngineDrawer" }, "*"), S = (m) => m ? new Date(m).toISOString().replace("T", " ").substring(0, 19).replace(/-/g, "/") : "", Re = (m) => {
1733
- const { type: g, action: C } = m.data;
1734
- g === "PrizeGameRequestDraw" ? K() : g === "PrizeResultAction" ? ve(C) : g === "PrizeResultClose" ? (t(11, E = !1), t(17, D = !1), t(13, V = "")) : g === "PrizeGameToggleRules" ? t(18, Z = !Z) : g === "PrizeGameSpinEnd" && (t(11, E = !0), t(17, D = !1));
1743
+ }), Y = () => window.postMessage({ type: "BackToList" }, "*"), G = () => window.postMessage({ type: "ClosePrizeEngineDrawer" }, "*"), S = (m) => m ? new Date(m).toISOString().replace("T", " ").substring(0, 19).replace(/-/g, "/") : "", Re = (m) => {
1744
+ const { type: g, action: Q } = m.data;
1745
+ g === "PrizeGameRequestDraw" ? _() : g === "PrizeResultAction" ? ve(Q) : g === "PrizeResultClose" ? (t(11, E = !1), t(17, D = !1), t(13, F = "")) : g === "PrizeGameToggleRules" ? t(18, N = !N) : g === "PrizeGameSpinEnd" && (t(11, E = !0), t(17, D = !1));
1735
1746
  };
1736
1747
  Ht(() => (W = setInterval(
1737
1748
  () => {
1738
- t(36, j = Date.now());
1749
+ t(36, I = Date.now());
1739
1750
  },
1740
1751
  6e4
1741
1752
  ), window.addEventListener("message", Re), () => {
1742
1753
  window.removeEventListener("message", Re), W && clearInterval(W);
1743
1754
  }));
1744
- const He = () => t(18, Z = !0), Qe = () => t(18, Z = !1), Te = () => t(13, V = ""), ze = () => ve("Assign"), De = () => ve("Reject"), z = () => t(13, V = "confirmReject"), ee = () => {
1755
+ const He = () => t(18, N = !0), Qe = () => t(18, N = !1), Te = () => t(13, F = ""), ze = () => ve("Assign"), De = () => ve("Reject"), z = () => t(13, F = "confirmReject"), te = () => {
1745
1756
  var m;
1746
- ((m = d == null ? void 0 : d.current) == null ? void 0 : m.remainingTimes) === 0 && ["success", "noprize", "success-draw"].includes(I) ? ce() : (t(11, E = !1), t(13, V = ""), window.postMessage({ type: "PrizeResultClose" }, "*"));
1757
+ ((m = u == null ? void 0 : u.current) == null ? void 0 : m.remainingTimes) === 0 && ["success", "noprize", "success-draw", "error"].includes(j) ? (t(13, F = ""), ce()) : (t(11, E = !1), t(13, F = ""), window.postMessage({ type: "PrizeResultClose" }, "*"));
1747
1758
  };
1748
1759
  function We(m) {
1749
1760
  Qt[m ? "unshift" : "push"](() => {
@@ -1751,45 +1762,45 @@ function mA(A, e, t) {
1751
1762
  });
1752
1763
  }
1753
1764
  return A.$$set = (m) => {
1754
- "data" in m && t(32, u = m.data), "endpoint" in m && t(0, v = m.endpoint), "session" in m && t(1, b = m.session), "lang" in m && t(2, w = m.lang), "clientstyling" in m && t(3, B = m.clientstyling), "clientstylingurl" in m && t(4, F = m.clientstylingurl), "translationurl" in m && t(5, G = m.translationurl), "mbsource" in m && t(6, P = m.mbsource), "twostepdraw" in m && t(33, U = m.twostepdraw), "luckywheelsize" in m && t(7, se = m.luckywheelsize), "luckywheelmobilesize" in m && t(8, pe = m.luckywheelmobilesize), "programs" in m && t(34, $ = m.programs);
1765
+ "data" in m && t(32, d = m.data), "endpoint" in m && t(0, w = m.endpoint), "session" in m && t(1, b = m.session), "lang" in m && t(2, v = m.lang), "clientstyling" in m && t(3, C = m.clientstyling), "clientstylingurl" in m && t(4, O = m.clientstylingurl), "translationurl" in m && t(5, V = m.translationurl), "mbsource" in m && t(6, P = m.mbsource), "twostepdraw" in m && t(33, K = m.twostepdraw), "luckywheelsize" in m && t(7, se = m.luckywheelsize), "luckywheelmobilesize" in m && t(8, pe = m.luckywheelmobilesize), "programs" in m && t(34, ee = m.programs);
1755
1766
  }, A.$$.update = () => {
1756
- var m, g, C, Q, k, me, re, ae;
1767
+ var m, g, Q, k, B, me, re, ae;
1757
1768
  if (A.$$.dirty[1] & /*data*/
1758
1769
  2)
1759
- if (typeof u == "string")
1770
+ if (typeof d == "string")
1760
1771
  try {
1761
- t(9, d = JSON.parse(u));
1762
- } catch (te) {
1763
- console.error("[PrizeDetails] Parse failed", te);
1772
+ t(9, u = JSON.parse(d));
1773
+ } catch (U) {
1774
+ console.error("[PrizeDetails] Parse failed", U);
1764
1775
  }
1765
1776
  else
1766
- t(9, d = u);
1777
+ t(9, u = d);
1767
1778
  A.$$.dirty[0] & /*activeGame*/
1768
1779
  512 | A.$$.dirty[1] & /*now*/
1769
- 32 && t(23, n = (m = d == null ? void 0 : d.current) != null && m.expiryTime ? y(d.current.expiryTime, j) : ""), A.$$.dirty[0] & /*activeGame, lang*/
1770
- 516 && t(22, i = ((C = (g = d == null ? void 0 : d.program) == null ? void 0 : g.termsUrl) == null ? void 0 : C[w]) || ((k = (Q = d == null ? void 0 : d.program) == null ? void 0 : Q.termsUrl) == null ? void 0 : k["*"])), A.$$.dirty[0] & /*translationurl*/
1771
- 32 && G && ye(G), A.$$.dirty[0] & /*lang*/
1772
- 4 && w && Zt(w), A.$$.dirty[0] & /*activeGame*/
1773
- 512 && d != null && d.translations && Object.keys(d.translations).forEach((te) => {
1774
- Se(te, d.translations[te]);
1780
+ 32 && t(23, n = (m = u == null ? void 0 : u.current) != null && m.expiryTime ? y(u.current.expiryTime, I) : ""), A.$$.dirty[0] & /*activeGame, lang*/
1781
+ 516 && t(22, i = ((Q = (g = u == null ? void 0 : u.program) == null ? void 0 : g.termsUrl) == null ? void 0 : Q[v]) || ((B = (k = u == null ? void 0 : u.program) == null ? void 0 : k.termsUrl) == null ? void 0 : B["*"])), A.$$.dirty[0] & /*translationurl*/
1782
+ 32 && V && ye(V), A.$$.dirty[0] & /*lang*/
1783
+ 4 && v && Zt(v), A.$$.dirty[0] & /*activeGame*/
1784
+ 512 && u != null && u.translations && Object.keys(u.translations).forEach((U) => {
1785
+ Se(U, u.translations[U]);
1775
1786
  }), A.$$.dirty[0] & /*clientstyling, rootContainer*/
1776
- 1032 && B && J && Tt(J, B), A.$$.dirty[0] & /*clientstylingurl, rootContainer*/
1777
- 1040 && F && J && zt(J, F), A.$$.dirty[0] & /*mbsource, rootContainer*/
1787
+ 1032 && C && J && Tt(J, C), A.$$.dirty[0] & /*clientstylingurl, rootContainer*/
1788
+ 1040 && O && J && zt(J, O), A.$$.dirty[0] & /*mbsource, rootContainer*/
1778
1789
  1088 && P && J && Dt(J, `${P}.Style`, oA), A.$$.dirty[0] & /*activeGame*/
1779
- 512 && t(14, l = (me = d == null ? void 0 : d.program) == null ? void 0 : me.type), A.$$.dirty[0] & /*activeGame*/
1780
- 512 && t(21, s = Number((ae = (re = d == null ? void 0 : d.program) == null ? void 0 : re.metadata) == null ? void 0 : ae.template) || 0), A.$$.dirty[0] & /*isMessageShown, internalMode, $_, messageMode*/
1790
+ 512 && t(14, l = (me = u == null ? void 0 : u.program) == null ? void 0 : me.type), A.$$.dirty[0] & /*activeGame*/
1791
+ 512 && t(21, s = Number((ae = (re = u == null ? void 0 : u.program) == null ? void 0 : re.metadata) == null ? void 0 : ae.template) || 0), A.$$.dirty[0] & /*isMessageShown, internalMode, $_, messageMode*/
1781
1792
  47104 | A.$$.dirty[1] & /*messageValue*/
1782
1793
  16 && t(20, o = (() => {
1783
1794
  if (!E)
1784
1795
  return null;
1785
- if (V === "confirmReject")
1796
+ if (F === "confirmReject")
1786
1797
  return {
1787
1798
  key: "confirmReject",
1788
1799
  image: Ft,
1789
1800
  title: r("AreYouSure"),
1790
1801
  text: r("RejectWarningText")
1791
1802
  };
1792
- switch (I) {
1803
+ switch (j) {
1793
1804
  case "error":
1794
1805
  return {
1795
1806
  key: "error",
@@ -1806,7 +1817,7 @@ function mA(A, e, t) {
1806
1817
  case "gift":
1807
1818
  case "success-draw":
1808
1819
  return {
1809
- key: I,
1820
+ key: j,
1810
1821
  image: (T == null ? void 0 : T.image) || St,
1811
1822
  title: r("Congratulation"),
1812
1823
  text: (T == null ? void 0 : T.text) || r("Success", {
@@ -1837,32 +1848,32 @@ function mA(A, e, t) {
1837
1848
  })()), A.$$.dirty[0] & /*$_, gameType, activeGame*/
1838
1849
  49664 && t(19, c = (() => {
1839
1850
  var Be;
1840
- let te = r("Play");
1841
- return l === "wheelOfFortune" ? te = r("Spin") : l === "flipCoin" ? te = r("FlipCoin") : l === "mysteryChest" && (te = r("OpenChest")), {
1842
- base: te,
1843
- count: ((Be = d == null ? void 0 : d.current) == null ? void 0 : Be.remainingTimes) || 0
1851
+ let U = r("Play");
1852
+ return l === "wheelOfFortune" ? U = r("Spin") : l === "flipCoin" ? U = r("FlipCoin") : l === "mysteryChest" && (U = r("OpenChest")), {
1853
+ base: U,
1854
+ count: ((Be = u == null ? void 0 : u.current) == null ? void 0 : Be.remainingTimes) || 0
1844
1855
  };
1845
1856
  })());
1846
1857
  }, [
1847
- v,
1848
- b,
1849
1858
  w,
1850
- B,
1851
- F,
1852
- G,
1859
+ b,
1860
+ v,
1861
+ C,
1862
+ O,
1863
+ V,
1853
1864
  P,
1854
1865
  se,
1855
1866
  pe,
1856
- d,
1867
+ u,
1857
1868
  J,
1858
1869
  E,
1859
- I,
1860
- V,
1870
+ j,
1871
+ F,
1861
1872
  l,
1862
1873
  r,
1863
- N,
1864
- D,
1865
1874
  Z,
1875
+ D,
1876
+ N,
1866
1877
  c,
1867
1878
  o,
1868
1879
  s,
@@ -1871,23 +1882,23 @@ function mA(A, e, t) {
1871
1882
  le,
1872
1883
  be,
1873
1884
  ce,
1874
- K,
1885
+ _,
1875
1886
  ve,
1876
- O,
1877
1887
  Y,
1888
+ G,
1878
1889
  S,
1879
- u,
1880
- U,
1881
- $,
1890
+ d,
1891
+ K,
1892
+ ee,
1882
1893
  T,
1883
- j,
1894
+ I,
1884
1895
  He,
1885
1896
  Qe,
1886
1897
  Te,
1887
1898
  ze,
1888
1899
  De,
1889
1900
  z,
1890
- ee,
1901
+ te,
1891
1902
  We
1892
1903
  ];
1893
1904
  }