@everymatrix/casino-lobby 1.59.1 → 1.59.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 (97) hide show
  1. package/components/{CasinoCalendar-CI-C6zUY.js → CasinoCalendar-6ncpIgng.js} +718 -696
  2. package/components/CasinoCalendar-CkNAiTx8.cjs +22 -0
  3. package/components/{CasinoCalendar-BYTytQgJ.js → CasinoCalendar-Km8tdNHN.js} +712 -690
  4. package/components/{CasinoCalendarDailyDetails-Xi-Uo8v-.js → CasinoCalendarDailyDetails-CAbwFBvZ.js} +48 -48
  5. package/components/{CasinoCalendarDailyDetails-DQB9Y3_Q.js → CasinoCalendarDailyDetails-CGaAU2gc.js} +48 -48
  6. package/components/{CasinoCalendarDailyDetails-DUQWFLJJ.cjs → CasinoCalendarDailyDetails-CsEZhtVE.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-DC91__VM.js → CasinoCalendarDailyItem-5aqnKIMr.js} +41 -41
  8. package/components/{CasinoCalendarDailyItem-CVt2FFo1.cjs → CasinoCalendarDailyItem-DSlC0F3s.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-CjRZKnnD.js → CasinoCalendarDailyItem-D_MTrKed.js} +41 -41
  10. package/components/{CasinoCategoriesSlider-BeqGvJrA.js → CasinoCategoriesSlider-CZHyRC-C.js} +67 -67
  11. package/components/CasinoCategoriesSlider-DMR3iCVW.cjs +1 -0
  12. package/components/{CasinoCategoriesSlider-Cvb-krxJ.js → CasinoCategoriesSlider-Dm2i_QTf.js} +66 -66
  13. package/components/{CasinoCollectionsProviders-FGrPURo4.cjs → CasinoCollectionsProviders-B6occ8TF.cjs} +1 -1
  14. package/components/{CasinoCollectionsProviders-BMyAx20Y.js → CasinoCollectionsProviders-B7d5LuGP.js} +73 -73
  15. package/components/{CasinoCollectionsProviders-B_4F6cIK.js → CasinoCollectionsProviders-pk8jpLQt.js} +71 -71
  16. package/components/{CasinoFavoritesSection-BZmf5I3g.js → CasinoFavoritesSection-C949lfcK.js} +26 -26
  17. package/components/{CasinoFavoritesSection-Dmko0_Ik.js → CasinoFavoritesSection-V5ybOUJC.js} +26 -26
  18. package/components/{CasinoFavoritesSection-CBb3Eo8J.cjs → CasinoFavoritesSection-hHKNAcoS.cjs} +1 -1
  19. package/components/{CasinoFilter-Dt8GhenI.js → CasinoFilter-BTof425X.js} +247 -246
  20. package/components/{CasinoFilter-BHLJqOwW.js → CasinoFilter-BWjq7W1e.js} +234 -235
  21. package/components/CasinoFilter-C2Q93qQz.cjs +1 -0
  22. package/components/{CasinoGamePage-D_TzJsC-.js → CasinoGamePage-Cp2CKRka.js} +742 -742
  23. package/components/{CasinoGamePage-BmgERtPr.cjs → CasinoGamePage-D2huRBJX.cjs} +6 -6
  24. package/components/{CasinoGamePage-5moXxd0d.js → CasinoGamePage-ssKF-ZD1.js} +741 -741
  25. package/components/{CasinoGameThumbnail-DSjNVacg.js → CasinoGameThumbnail-CVz7FpsB.js} +528 -512
  26. package/components/{CasinoGameThumbnail-OrvrYv4V.cjs → CasinoGameThumbnail-DK9cpR-G.cjs} +15 -15
  27. package/components/{CasinoGameThumbnail-DqBpfUwf.js → CasinoGameThumbnail-NLieCJGe.js} +420 -436
  28. package/components/{CasinoGamesCategorySection-DEh7yuGp.cjs → CasinoGamesCategorySection-BAcJus2G.cjs} +1 -1
  29. package/components/{CasinoGamesCategorySection-Ce43OSOZ.js → CasinoGamesCategorySection-BP3bZsZg.js} +247 -247
  30. package/components/{CasinoGamesCategorySection-d8QOFywW.js → CasinoGamesCategorySection-Bpy9vh6D.js} +247 -247
  31. package/components/{CasinoJackpotBanner-Dxq2Y_-S.js → CasinoJackpotBanner-CuP8WP5Q.js} +74 -74
  32. package/components/{CasinoJackpotBanner-UQaC63Zv.js → CasinoJackpotBanner-Dl2rX6vI.js} +69 -69
  33. package/components/{CasinoJackpotBanner-B_CnR3Kj.cjs → CasinoJackpotBanner-DredUN6K.cjs} +1 -1
  34. package/components/{CasinoLastPlayedSection-BVANPPTi.js → CasinoLastPlayedSection-B9I2fZm5.js} +43 -43
  35. package/components/{CasinoLastPlayedSection-CyL83M3y.cjs → CasinoLastPlayedSection-COAM1aoc.cjs} +1 -1
  36. package/components/{CasinoLastPlayedSection-Bmr8n1pA.js → CasinoLastPlayedSection-CVEuFsbi.js} +43 -43
  37. package/components/{CasinoLobby-CWzN0imw.js → CasinoLobby-AoZlXLOV.js} +45 -45
  38. package/components/{CasinoLobby-DUI1Ki3q.js → CasinoLobby-BRiasSXJ.js} +47 -47
  39. package/components/{CasinoLobby-os94WdnE.cjs → CasinoLobby-CYqI5Bvp.cjs} +1 -1
  40. package/components/{CasinoModal-BaV1FE12.js → CasinoModal-B9Gmdwc0.js} +41 -41
  41. package/components/{CasinoModal-Bn6r73ff.js → CasinoModal-DLgyWFbs.js} +41 -41
  42. package/components/{CasinoModal-DWbCqr0p.cjs → CasinoModal-d1VUXUWj.cjs} +1 -1
  43. package/components/{CasinoMostPlayedSection-B4SHGVp4.js → CasinoMostPlayedSection-9B6X9czZ.js} +50 -50
  44. package/components/{CasinoMostPlayedSection-y-GWnOes.cjs → CasinoMostPlayedSection-BUwIld9p.cjs} +1 -1
  45. package/components/{CasinoMostPlayedSection-CD00UC6r.js → CasinoMostPlayedSection-DwZh0uxo.js} +50 -50
  46. package/components/{CasinoMyGames-BBsq56wQ.js → CasinoMyGames-76IMIo9z.js} +50 -50
  47. package/components/{CasinoMyGames-DRCL87dq.js → CasinoMyGames-DRCxYUHg.js} +53 -53
  48. package/components/{CasinoMyGames-DKu8rYmc.cjs → CasinoMyGames-DTGaTHyO.cjs} +1 -1
  49. package/components/{CasinoPage-DXP80Vgm.js → CasinoPage-BPxxsTeq.js} +85 -85
  50. package/components/{CasinoPage-BJ2hLXJb.js → CasinoPage-CikRIum6.js} +93 -93
  51. package/components/{CasinoPage-CXAKd3oS.cjs → CasinoPage-DZ6Yhwli.cjs} +1 -1
  52. package/components/{CasinoRandomGame-BO7BqLXA.cjs → CasinoRandomGame-CBcSHzZL.cjs} +1 -1
  53. package/components/{CasinoRandomGame-CsA5xgwc.js → CasinoRandomGame-CfOiAKHl.js} +63 -63
  54. package/components/{CasinoRandomGame-DLzqJj4x.js → CasinoRandomGame-CqripZYr.js} +64 -64
  55. package/components/{CasinoSearch-CzUqsTgU.js → CasinoSearch-CCcjmB9U.js} +72 -72
  56. package/components/{CasinoSearch-CxFbGTdy.cjs → CasinoSearch-CZSrkWFZ.cjs} +1 -1
  57. package/components/{CasinoSearch-atJ6AGYa.js → CasinoSearch-Cs8FRwGb.js} +72 -72
  58. package/components/{CasinoSlider-DjqwMakd.js → CasinoSlider-0rdHVHjG.js} +65 -65
  59. package/components/{CasinoSlider-CgiDJzPs.cjs → CasinoSlider-CMKmgXUK.cjs} +1 -1
  60. package/components/{CasinoSlider-zHVThApL.js → CasinoSlider-CleETLFf.js} +74 -74
  61. package/components/{CasinoSort-DtUIrmuZ.js → CasinoSort-BRC8Jmi_.js} +103 -104
  62. package/components/{CasinoSort-23PYwtO1.cjs → CasinoSort-C78a6veQ.cjs} +1 -1
  63. package/components/{CasinoSort-B3A_Ar_A.js → CasinoSort-xZsxfLYC.js} +111 -110
  64. package/components/{CasinoWinners-Gb2w2dXe.js → CasinoWinners-BEOhs5WG.js} +179 -179
  65. package/components/{CasinoWinners-KEY7dD3z.cjs → CasinoWinners-Cp1yMlzb.cjs} +1 -1
  66. package/components/{CasinoWinners-CF_PptIS.js → CasinoWinners-DD8ZyQkV.js} +162 -162
  67. package/components/{GeneralAnimationLoading-B-6s0l9d.cjs → GeneralAnimationLoading-Bl6_sP-d.cjs} +1 -1
  68. package/components/{GeneralAnimationLoading-8TvNjXay.js → GeneralAnimationLoading-CURVDkRT.js} +16 -16
  69. package/components/{GeneralAnimationLoading-Bbxdne1m.js → GeneralAnimationLoading-uswxvfCW.js} +16 -16
  70. package/es2015/casino-lobby.cjs +1 -1
  71. package/es2015/casino-lobby.js +1 -1
  72. package/esnext/casino-lobby.js +1 -1
  73. package/package.json +1 -1
  74. package/stencil/{casino-play-random-game-Dm8A9dTR.js → casino-play-random-game-BW66Civ1.js} +2 -2
  75. package/stencil/{casino-play-random-game-CLSQBVzD.js → casino-play-random-game-Bk7toWLj.js} +2 -2
  76. package/stencil/{casino-play-random-game-CdZKN03s.cjs → casino-play-random-game-CKM_xKne.cjs} +2 -2
  77. package/stencil/index-ab3202d6-BW1TSmQg.js +575 -0
  78. package/stencil/index-ab3202d6-C6VFhXtX.cjs +1 -0
  79. package/stencil/index-ab3202d6-CkTejM5U.js +559 -0
  80. package/stencil/index-ae04a8b1-BvZmaj3p.js +532 -0
  81. package/stencil/index-ae04a8b1-DoeYpoC5.js +516 -0
  82. package/stencil/index-ae04a8b1-OBbo8Dzb.cjs +1 -0
  83. package/stencil/{ui-skeleton-DDYD_XHU.js → ui-skeleton-C02hm1pt.js} +2 -2
  84. package/stencil/{ui-skeleton-Bz6cw7xJ.js → ui-skeleton-DET4YE0J.js} +2 -2
  85. package/stencil/{ui-skeleton-D9k-xWaS.cjs → ui-skeleton-DlNNnOZy.cjs} +1 -1
  86. package/stencil/{ui-skeleton-a642cced-Bg6oYmhk.js → ui-skeleton-a642cced-7C4Fyb2d.js} +1 -1
  87. package/stencil/{ui-skeleton-a642cced-CVw8zpGJ.cjs → ui-skeleton-a642cced-BhVS1i2r.cjs} +1 -1
  88. package/stencil/{ui-skeleton-a642cced-MvzXi5-c.js → ui-skeleton-a642cced-Dn9GOtgo.js} +1 -1
  89. package/components/CasinoCalendar-DqS7aKva.cjs +0 -22
  90. package/components/CasinoCategoriesSlider-DZpvR9sw.cjs +0 -1
  91. package/components/CasinoFilter-Bg-VilMd.cjs +0 -1
  92. package/stencil/index-ab3202d6-C1hgKWrC.cjs +0 -1
  93. package/stencil/index-ab3202d6-OPh7hJp9.js +0 -575
  94. package/stencil/index-ab3202d6-hGs51skN.js +0 -559
  95. package/stencil/index-ae04a8b1-BhaHMrLE.js +0 -516
  96. package/stencil/index-ae04a8b1-Dn3cponN.js +0 -532
  97. package/stencil/index-ae04a8b1-jEvGbYrB.cjs +0 -1
@@ -1,8 +1,8 @@
1
- import { a as Te, $ as xe, S as We, i as Ae, s as Ie, f as w, b as Je, n as be, d as q, h as F, j as o, o as Ve, a1 as De, C as Ee, r, G as ye, D as J, p as n, A as ze, B, l as Ue, v as we, w as Ne, F as Re, m as W, q as A, I as Be, J as Oe, K as Me, L as Pe } from "./CasinoCalendar-BYTytQgJ.js";
1
+ import { a as Te, $ as xe, S as We, i as Ae, f as w, c as Ie, s as Ve, b as Je, e as o, d as P, G as be, j as q, o as Ee, a1 as De, l as ze, m as Ue, p as Ne, q as Re, r as Be, w as B, y as r, L as ye, H as V, z as n, A as Oe, x as W, E as A, v as we, K as Me, F as He } from "./CasinoCalendar-Km8tdNHN.js";
2
2
  function Ce(t, e) {
3
3
  Te(t, e);
4
4
  }
5
- function qe(t) {
5
+ function Pe(t) {
6
6
  xe.set(t);
7
7
  }
8
8
  const Le = {
@@ -43,14 +43,14 @@ const Le = {
43
43
  loadingText: "Loading, please wait..."
44
44
  }
45
45
  };
46
- function Fe(t) {
46
+ function qe(t) {
47
47
  Je(t, "svelte-5y37b4", ':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--color-primary, #D0046C);border-color:var(--emw--color-primary, #D0046C) transparent var(--emw--color-primary, #D0046C) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
48
48
  }
49
49
  function je(t, e, a) {
50
50
  const l = t.slice();
51
51
  return l[53] = e[a], l[55] = a, l;
52
52
  }
53
- function He(t) {
53
+ function Fe(t) {
54
54
  let e, a, l, s, d, c, C, _, h, L, b, x, I;
55
55
  function k(f, y) {
56
56
  return (
@@ -62,7 +62,7 @@ function He(t) {
62
62
  return {
63
63
  c() {
64
64
  e = o("div"), a = o("div"), l = o("div"), s = o("div"), d = B(), c = o("div"), m.c(), C = B(), _ = o("div"), h = o("img"), r(s, "class", "vendorLogo"), ye(s, "background-image", "url(" + /*vendorIcon*/
65
- t[7] + ")"), r(c, "class", "displayContainer"), J(h.src, L = /*titleLogoImg*/
65
+ t[7] + ")"), r(c, "class", "displayContainer"), V(h.src, L = /*titleLogoImg*/
66
66
  t[12]) || r(h, "src", L), r(h, "alt", ""), r(_, "class", "title"), r(l, "class", b = "mainWrapper " + /*visualstructure*/
67
67
  t[0] + " " + /*mobileView*/
68
68
  (t[5] && !/*tabletView*/
@@ -73,7 +73,7 @@ function He(t) {
73
73
  t[11] + ")"), r(a, "class", "jackpotBanner"), r(e, "class", "");
74
74
  },
75
75
  m(f, y) {
76
- F(f, e, y), n(e, a), n(a, l), n(l, s), n(l, d), n(l, c), m.m(c, null), n(l, C), n(l, _), n(_, h), x || (I = ze(
76
+ P(f, e, y), n(e, a), n(a, l), n(l, s), n(l, d), n(l, c), m.m(c, null), n(l, C), n(l, _), n(_, h), x || (I = Oe(
77
77
  a,
78
78
  "click",
79
79
  /*click_handler*/
@@ -84,7 +84,7 @@ function He(t) {
84
84
  y[0] & /*vendorIcon*/
85
85
  128 && ye(s, "background-image", "url(" + /*vendorIcon*/
86
86
  f[7] + ")"), p === (p = k(f)) && m ? m.p(f, y) : (m.d(1), m = p(f), m && (m.c(), m.m(c, null))), y[0] & /*titleLogoImg*/
87
- 4096 && !J(h.src, L = /*titleLogoImg*/
87
+ 4096 && !V(h.src, L = /*titleLogoImg*/
88
88
  f[12]) && r(h, "src", L), y[0] & /*visualstructure, mobileView, tabletView*/
89
89
  97 && b !== (b = "mainWrapper " + /*visualstructure*/
90
90
  f[0] + " " + /*mobileView*/
@@ -108,7 +108,7 @@ function Ge(t) {
108
108
  e = o("div"), r(e, "class", "LoadingSpinner");
109
109
  },
110
110
  m(a, l) {
111
- F(a, e, l);
111
+ P(a, e, l);
112
112
  },
113
113
  p: be,
114
114
  d(a) {
@@ -123,7 +123,7 @@ function Ke(t) {
123
123
  e = o("p"), e.textContent = "500 Server error";
124
124
  },
125
125
  m(a, l) {
126
- F(a, e, l);
126
+ P(a, e, l);
127
127
  },
128
128
  p: be,
129
129
  d(a) {
@@ -147,7 +147,7 @@ function Ye(t) {
147
147
  ), x, I, k, p, m, f, y, S, O, M, te = (
148
148
  /*formattedLabels*/
149
149
  t[9][1] + ""
150
- ), Q, E, X, H = (
150
+ ), Q, D, X, F = (
151
151
  /*realtimeupdate*/
152
152
  (t[2] === "true" ? (
153
153
  /*updatedJackpotValues*/
@@ -156,7 +156,7 @@ function Ye(t) {
156
156
  /*formattedJackpotValues*/
157
157
  t[8][1]
158
158
  )) + ""
159
- ), G, de, Z, ae, ie, z, T, U, V, K, D, P = (
159
+ ), G, de, Z, ae, ie, z, T, U, J, K, E, H = (
160
160
  /*formattedLabels*/
161
161
  t[9][2] + ""
162
162
  ), ue, N, ne, le = (
@@ -183,33 +183,33 @@ function Ye(t) {
183
183
  ), ke, _e, he, ve;
184
184
  return {
185
185
  c() {
186
- e = o("div"), a = o("div"), l = o("div"), s = o("img"), c = o("span"), _ = A(C), h = o("span"), L = o("span"), x = A(b), I = B(), k = o("span"), p = A(
186
+ e = o("div"), a = o("div"), l = o("div"), s = o("img"), c = o("span"), _ = W(C), h = o("span"), L = o("span"), x = W(b), I = B(), k = o("span"), p = W(
187
187
  /*currency*/
188
188
  t[1]
189
- ), m = B(), f = o("div"), y = o("div"), S = o("img"), M = o("span"), Q = A(te), E = o("span"), X = o("span"), G = A(H), de = B(), Z = o("span"), ae = A(
189
+ ), m = B(), f = o("div"), y = o("div"), S = o("img"), M = o("span"), Q = W(te), D = o("span"), X = o("span"), G = W(F), de = B(), Z = o("span"), ae = W(
190
190
  /*currency*/
191
191
  t[1]
192
- ), ie = B(), z = o("div"), T = o("div"), U = o("div"), V = o("img"), D = o("span"), ue = A(P), N = o("span"), ne = o("span"), pe = A(le), fe = B(), re = o("span"), se = A(
192
+ ), ie = B(), z = o("div"), T = o("div"), U = o("div"), J = o("img"), E = o("span"), ue = W(H), N = o("span"), ne = o("span"), pe = W(le), fe = B(), re = o("span"), se = W(
193
193
  /*currency*/
194
194
  t[1]
195
- ), me = B(), $ = o("div"), Y = o("div"), R = o("img"), oe = o("span"), ge = A(ce), i = o("span"), g = o("span"), ke = A(j), _e = B(), he = o("span"), ve = A(
195
+ ), me = B(), $ = o("div"), Y = o("div"), R = o("img"), oe = o("span"), ge = W(ce), i = o("span"), g = o("span"), ke = W(j), _e = B(), he = o("span"), ve = W(
196
196
  /*currency*/
197
197
  t[1]
198
- ), r(s, "class", "displayCardIcon"), J(s.src, d = /*caticons*/
199
- t[10][0]) || r(s, "src", d), r(s, "alt", ""), r(c, "class", "cardLabel"), r(l, "class", "iconWrapper"), r(L, "class", "jackpotValue"), r(k, "class", "jackpot-currency"), r(h, "class", "cardTextWrapper"), r(a, "class", "displayCard"), r(S, "class", "displayCardIcon"), J(S.src, O = /*caticons*/
200
- t[10][1]) || r(S, "src", O), r(S, "alt", ""), r(M, "class", "cardLabel"), r(y, "class", "iconWrapper"), r(X, "class", "jackpotValue"), r(Z, "class", "jackpot-currency"), r(E, "class", "cardTextWrapper"), r(f, "class", "displayCard"), r(e, "class", "pairWrapper"), r(V, "class", "displayCardIcon"), J(V.src, K = /*caticons*/
201
- t[10][2]) || r(V, "src", K), r(V, "alt", ""), r(D, "class", "cardLabel"), r(U, "class", "iconWrapper"), r(ne, "class", "jackpotValue"), r(re, "class", "jackpot-currency"), r(N, "class", "cardTextWrapper"), r(T, "class", "displayCard"), r(R, "class", "displayCardIcon"), J(R.src, ee = /*caticons*/
198
+ ), r(s, "class", "displayCardIcon"), V(s.src, d = /*caticons*/
199
+ t[10][0]) || r(s, "src", d), r(s, "alt", ""), r(c, "class", "cardLabel"), r(l, "class", "iconWrapper"), r(L, "class", "jackpotValue"), r(k, "class", "jackpot-currency"), r(h, "class", "cardTextWrapper"), r(a, "class", "displayCard"), r(S, "class", "displayCardIcon"), V(S.src, O = /*caticons*/
200
+ t[10][1]) || r(S, "src", O), r(S, "alt", ""), r(M, "class", "cardLabel"), r(y, "class", "iconWrapper"), r(X, "class", "jackpotValue"), r(Z, "class", "jackpot-currency"), r(D, "class", "cardTextWrapper"), r(f, "class", "displayCard"), r(e, "class", "pairWrapper"), r(J, "class", "displayCardIcon"), V(J.src, K = /*caticons*/
201
+ t[10][2]) || r(J, "src", K), r(J, "alt", ""), r(E, "class", "cardLabel"), r(U, "class", "iconWrapper"), r(ne, "class", "jackpotValue"), r(re, "class", "jackpot-currency"), r(N, "class", "cardTextWrapper"), r(T, "class", "displayCard"), r(R, "class", "displayCardIcon"), V(R.src, ee = /*caticons*/
202
202
  t[10][3]) || r(R, "src", ee), r(R, "alt", ""), r(oe, "class", "cardLabel"), r(Y, "class", "iconWrapper"), r(g, "class", "jackpotValue"), r(he, "class", "jackpot-currency"), r(i, "class", "cardTextWrapper"), r($, "class", "displayCard"), r(z, "class", "pairWrapper");
203
203
  },
204
204
  m(u, v) {
205
- F(u, e, v), n(e, a), n(a, l), n(l, s), n(l, c), n(c, _), n(a, h), n(h, L), n(L, x), n(h, I), n(h, k), n(k, p), n(e, m), n(e, f), n(f, y), n(y, S), n(y, M), n(M, Q), n(f, E), n(E, X), n(X, G), n(E, de), n(E, Z), n(Z, ae), F(u, ie, v), F(u, z, v), n(z, T), n(T, U), n(U, V), n(U, D), n(D, ue), n(T, N), n(N, ne), n(ne, pe), n(N, fe), n(N, re), n(re, se), n(z, me), n(z, $), n($, Y), n(Y, R), n(Y, oe), n(oe, ge), n($, i), n(i, g), n(g, ke), n(i, _e), n(i, he), n(he, ve);
205
+ P(u, e, v), n(e, a), n(a, l), n(l, s), n(l, c), n(c, _), n(a, h), n(h, L), n(L, x), n(h, I), n(h, k), n(k, p), n(e, m), n(e, f), n(f, y), n(y, S), n(y, M), n(M, Q), n(f, D), n(D, X), n(X, G), n(D, de), n(D, Z), n(Z, ae), P(u, ie, v), P(u, z, v), n(z, T), n(T, U), n(U, J), n(U, E), n(E, ue), n(T, N), n(N, ne), n(ne, pe), n(N, fe), n(N, re), n(re, se), n(z, me), n(z, $), n($, Y), n(Y, R), n(Y, oe), n(oe, ge), n($, i), n(i, g), n(g, ke), n(i, _e), n(i, he), n(he, ve);
206
206
  },
207
207
  p(u, v) {
208
208
  v[0] & /*caticons*/
209
- 1024 && !J(s.src, d = /*caticons*/
209
+ 1024 && !V(s.src, d = /*caticons*/
210
210
  u[10][0]) && r(s, "src", d), v[0] & /*formattedLabels*/
211
211
  512 && C !== (C = /*formattedLabels*/
212
- u[9][0] + "") && W(_, C), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
212
+ u[9][0] + "") && A(_, C), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
213
213
  16644 && b !== (b = /*realtimeupdate*/
214
214
  (u[2] === "true" ? (
215
215
  /*updatedJackpotValues*/
@@ -217,33 +217,33 @@ function Ye(t) {
217
217
  ) : (
218
218
  /*formattedJackpotValues*/
219
219
  u[8][0]
220
- )) + "") && W(x, b), v[0] & /*currency*/
221
- 2 && W(
220
+ )) + "") && A(x, b), v[0] & /*currency*/
221
+ 2 && A(
222
222
  p,
223
223
  /*currency*/
224
224
  u[1]
225
225
  ), v[0] & /*caticons*/
226
- 1024 && !J(S.src, O = /*caticons*/
226
+ 1024 && !V(S.src, O = /*caticons*/
227
227
  u[10][1]) && r(S, "src", O), v[0] & /*formattedLabels*/
228
228
  512 && te !== (te = /*formattedLabels*/
229
- u[9][1] + "") && W(Q, te), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
230
- 16644 && H !== (H = /*realtimeupdate*/
229
+ u[9][1] + "") && A(Q, te), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
230
+ 16644 && F !== (F = /*realtimeupdate*/
231
231
  (u[2] === "true" ? (
232
232
  /*updatedJackpotValues*/
233
233
  u[14][1]
234
234
  ) : (
235
235
  /*formattedJackpotValues*/
236
236
  u[8][1]
237
- )) + "") && W(G, H), v[0] & /*currency*/
238
- 2 && W(
237
+ )) + "") && A(G, F), v[0] & /*currency*/
238
+ 2 && A(
239
239
  ae,
240
240
  /*currency*/
241
241
  u[1]
242
242
  ), v[0] & /*caticons*/
243
- 1024 && !J(V.src, K = /*caticons*/
244
- u[10][2]) && r(V, "src", K), v[0] & /*formattedLabels*/
245
- 512 && P !== (P = /*formattedLabels*/
246
- u[9][2] + "") && W(ue, P), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
243
+ 1024 && !V(J.src, K = /*caticons*/
244
+ u[10][2]) && r(J, "src", K), v[0] & /*formattedLabels*/
245
+ 512 && H !== (H = /*formattedLabels*/
246
+ u[9][2] + "") && A(ue, H), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
247
247
  16644 && le !== (le = /*realtimeupdate*/
248
248
  (u[2] === "true" ? (
249
249
  /*updatedJackpotValues*/
@@ -251,16 +251,16 @@ function Ye(t) {
251
251
  ) : (
252
252
  /*formattedJackpotValues*/
253
253
  u[8][2]
254
- )) + "") && W(pe, le), v[0] & /*currency*/
255
- 2 && W(
254
+ )) + "") && A(pe, le), v[0] & /*currency*/
255
+ 2 && A(
256
256
  se,
257
257
  /*currency*/
258
258
  u[1]
259
259
  ), v[0] & /*caticons*/
260
- 1024 && !J(R.src, ee = /*caticons*/
260
+ 1024 && !V(R.src, ee = /*caticons*/
261
261
  u[10][3]) && r(R, "src", ee), v[0] & /*formattedLabels*/
262
262
  512 && ce !== (ce = /*formattedLabels*/
263
- u[9][3] + "") && W(ge, ce), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
263
+ u[9][3] + "") && A(ge, ce), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
264
264
  16644 && j !== (j = /*realtimeupdate*/
265
265
  (u[2] === "true" ? (
266
266
  /*updatedJackpotValues*/
@@ -268,8 +268,8 @@ function Ye(t) {
268
268
  ) : (
269
269
  /*formattedJackpotValues*/
270
270
  u[8][3]
271
- )) + "") && W(ke, j), v[0] & /*currency*/
272
- 2 && W(
271
+ )) + "") && A(ke, j), v[0] & /*currency*/
272
+ 2 && A(
273
273
  ve,
274
274
  /*currency*/
275
275
  u[1]
@@ -288,12 +288,12 @@ function Qe(t) {
288
288
  c() {
289
289
  for (let s = 0; s < l.length; s += 1)
290
290
  l[s].c();
291
- e = Re();
291
+ e = Me();
292
292
  },
293
293
  m(s, d) {
294
294
  for (let c = 0; c < l.length; c += 1)
295
295
  l[c] && l[c].m(s, d);
296
- F(s, e, d);
296
+ P(s, e, d);
297
297
  },
298
298
  p(s, d) {
299
299
  if (d[0] & /*currency, realtimeupdate, updatedJackpotValues, formattedJackpotValues, formattedLabels, caticons*/
@@ -310,7 +310,7 @@ function Qe(t) {
310
310
  }
311
311
  },
312
312
  d(s) {
313
- s && q(e), Ne(l, s);
313
+ s && q(e), He(l, s);
314
314
  }
315
315
  };
316
316
  }
@@ -339,21 +339,21 @@ function Se(t) {
339
339
  ), b, x, I, k;
340
340
  return {
341
341
  c() {
342
- e = o("div"), a = o("div"), l = o("img"), d = o("span"), C = A(c), _ = o("span"), h = o("span"), b = A(L), x = B(), I = o("span"), k = A(
342
+ e = o("div"), a = o("div"), l = o("img"), d = o("span"), C = W(c), _ = o("span"), h = o("span"), b = W(L), x = B(), I = o("span"), k = W(
343
343
  /*currency*/
344
344
  t[1]
345
- ), r(l, "class", "displayCardIcon"), J(l.src, s = /*caticons*/
345
+ ), r(l, "class", "displayCardIcon"), V(l.src, s = /*caticons*/
346
346
  t[10][
347
347
  /*i*/
348
348
  t[55]
349
349
  ]) || r(l, "src", s), r(l, "alt", ""), r(d, "class", "cardLabel"), r(a, "class", "iconWrapper"), r(h, "class", "jackpotValue"), r(I, "class", "jackpot-currency"), r(_, "class", "cardTextWrapper"), r(e, "class", "displayCard");
350
350
  },
351
351
  m(p, m) {
352
- F(p, e, m), n(e, a), n(a, l), n(a, d), n(d, C), n(e, _), n(_, h), n(h, b), n(_, x), n(_, I), n(I, k);
352
+ P(p, e, m), n(e, a), n(a, l), n(a, d), n(d, C), n(e, _), n(_, h), n(h, b), n(_, x), n(_, I), n(I, k);
353
353
  },
354
354
  p(p, m) {
355
355
  m[0] & /*caticons*/
356
- 1024 && !J(l.src, s = /*caticons*/
356
+ 1024 && !V(l.src, s = /*caticons*/
357
357
  p[10][
358
358
  /*i*/
359
359
  p[55]
@@ -362,7 +362,7 @@ function Se(t) {
362
362
  p[9][
363
363
  /*i*/
364
364
  p[55]
365
- ] + "") && W(C, c), m[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
365
+ ] + "") && A(C, c), m[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
366
366
  16644 && L !== (L = /*realtimeupdate*/
367
367
  (p[2] === "true" ? (
368
368
  /*updatedJackpotValues*/
@@ -376,8 +376,8 @@ function Se(t) {
376
376
  /*i*/
377
377
  p[55]
378
378
  ] ?? ""
379
- )) + "") && W(b, L), m[0] & /*currency*/
380
- 2 && W(
379
+ )) + "") && A(b, L), m[0] & /*currency*/
380
+ 2 && A(
381
381
  k,
382
382
  /*currency*/
383
383
  p[1]
@@ -395,7 +395,7 @@ function Xe(t) {
395
395
  /*hasErrors*/
396
396
  d[13] ? Ke : (
397
397
  /*isLoading*/
398
- d[4] ? Ge : He
398
+ d[4] ? Ge : Fe
399
399
  )
400
400
  );
401
401
  }
@@ -405,7 +405,7 @@ function Xe(t) {
405
405
  e = o("div"), s.c();
406
406
  },
407
407
  m(d, c) {
408
- F(d, e, c), s.m(e, null), t[34](e);
408
+ P(d, e, c), s.m(e, null), t[34](e);
409
409
  },
410
410
  p(d, c) {
411
411
  l === (l = a(d)) && s ? s.p(d, c) : (s.d(1), s = l(d), s && (s.c(), s.m(e, null)));
@@ -418,7 +418,7 @@ function Xe(t) {
418
418
  };
419
419
  }
420
420
  function Ze(t, e, a) {
421
- let { visualstructure: l = "" } = e, { title: s = "" } = e, { caticon0: d = "" } = e, { caticon1: c = "" } = e, { caticon2: C = "" } = e, { caticon3: _ = "" } = e, { iconlabels: h = "" } = e, { backgroundsrc: L = "" } = e, { currency: b = "" } = e, { backgroundsrcmobile: x = "" } = e, { titlelogopath: I = "" } = e, { lang: k = "en" } = e, { clientstyling: p = "" } = e, { clientstylingurl: m = "" } = e, { translationurl: f = "" } = e, { endpoint: y = "" } = e, { gameid: S = "" } = e, { mbsource: O } = e, { realtimeupdate: M = "false" } = e, te = window.navigator.userAgent, Q = !1, E = !1, X = "", H = [], G = [], de = [], Z = [], ae = [], ie = "", z = "", T, U = !0, V = !1, K, D = null, P = [];
421
+ let { visualstructure: l = "" } = e, { title: s = "" } = e, { caticon0: d = "" } = e, { caticon1: c = "" } = e, { caticon2: C = "" } = e, { caticon3: _ = "" } = e, { iconlabels: h = "" } = e, { backgroundsrc: L = "" } = e, { currency: b = "" } = e, { backgroundsrcmobile: x = "" } = e, { titlelogopath: I = "" } = e, { lang: k = "en" } = e, { clientstyling: p = "" } = e, { clientstylingurl: m = "" } = e, { translationurl: f = "" } = e, { endpoint: y = "" } = e, { gameid: S = "" } = e, { mbsource: O } = e, { realtimeupdate: M = "false" } = e, te = window.navigator.userAgent, Q = !1, D = !1, X = "", F = [], G = [], de = [], Z = [], ae = [], ie = "", z = "", T, U = !0, J = !1, K, E = null, H = [];
422
422
  const ue = () => {
423
423
  fetch(f).then((g) => g.json()).then((g) => {
424
424
  Object.keys(g).forEach((j) => {
@@ -433,7 +433,7 @@ function Ze(t, e, a) {
433
433
  });
434
434
  const N = ["typeSpread", "typeLeft"], ne = (i) => {
435
435
  const g = i?.items[0]?.additionalData;
436
- g && Object.values(g).forEach((j) => H.push(+j));
436
+ g && Object.values(g).forEach((j) => F.push(+j));
437
437
  }, le = (i) => {
438
438
  a(7, X = i?.items[0]?.vendorLogo || "");
439
439
  }, pe = () => {
@@ -442,7 +442,7 @@ function Ze(t, e, a) {
442
442
  i.searchParams.append("filter", `id=${S}`), i.searchParams.append("language", k), i.searchParams.append("additionalDataCurrency", b), fetch(i.href).then((g) => g.json().then((j) => {
443
443
  a(4, U = !1), K = j, G.includes(S) && (ne(K), le(K));
444
444
  }).catch((j) => {
445
- a(13, V = !0), a(4, U = !1), console.error(j);
445
+ a(13, J = !0), a(4, U = !1), console.error(j);
446
446
  }).finally(() => {
447
447
  fe();
448
448
  }));
@@ -456,7 +456,7 @@ function Ze(t, e, a) {
456
456
  a(32, G = g.egtJackpotIds.map((j) => j));
457
457
  });
458
458
  }, se = () => {
459
- a(5, Q = Ue(te) && window.innerHeight / window.innerWidth > 1), a(6, E = $()), H.length !== 0 && a(8, de = me(H)), a(9, Z = h ? h.split(",").map((i) => i.trim().toUpperCase()) : new Array(4).fill("")), N.includes(l.trim()) ? a(0, l = l.trim()) : (console.warn(`Invalid Attribute Value: "${l}" is not a valid value for the "visualstructure" attribute. Defaulting to "${N[0]}"`), a(0, l = N[0])), a(11, ie = x && Q && !E ? x : L), a(12, z = I), a(10, ae = [d, c, C, _]);
459
+ a(5, Q = Ne(te) && window.innerHeight / window.innerWidth > 1), a(6, D = $()), F.length !== 0 && a(8, de = me(F)), a(9, Z = h ? h.split(",").map((i) => i.trim().toUpperCase()) : new Array(4).fill("")), N.includes(l.trim()) ? a(0, l = l.trim()) : (console.warn(`Invalid Attribute Value: "${l}" is not a valid value for the "visualstructure" attribute. Defaulting to "${N[0]}"`), a(0, l = N[0])), a(11, ie = x && Q && !D ? x : L), a(12, z = I), a(10, ae = [d, c, C, _]);
460
460
  }, me = (i) => i.map((g) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(g)), $ = () => {
461
461
  const i = window.innerHeight / window.innerWidth;
462
462
  return 0.75 < i && i < 1.6;
@@ -466,23 +466,23 @@ function Ze(t, e, a) {
466
466
  gameId: `${S}`
467
467
  });
468
468
  }, R = () => {
469
- qe(k);
469
+ Pe(k);
470
470
  }, ee = (i) => {
471
471
  const g = JSON.parse(i.data);
472
472
  if (g.success && g.data.messageType === "UpdateEgtJackpotBalance" && g.data.jackpotAlias.split("_")[0] === S) {
473
473
  const j = Number(g.data.jackpotAlias.split("_")[1]) - 1;
474
- a(14, P[j] = g.data.data[`${b}`].balance.toString(), P);
474
+ a(14, H[j] = g.data.data[`${b}`].balance.toString(), H);
475
475
  }
476
476
  }, oe = () => {
477
- M === "true" && (se(), a(14, P = ["", "", "", ""]), D = new EventSource(`${y}/v1/encoder/jackpot/*/update`), D.addEventListener("message", ee));
477
+ M === "true" && (se(), a(14, H = ["", "", "", ""]), E = new EventSource(`${y}/v1/encoder/jackpot/*/update`), E.addEventListener("message", ee));
478
478
  };
479
- Ve(() => () => {
479
+ Ee(() => () => {
480
480
  }), De(() => {
481
- D && (D.removeEventListener("message", ee), D.close(), D = null);
481
+ E && (E.removeEventListener("message", ee), E.close(), E = null);
482
482
  });
483
483
  const ce = () => Y();
484
484
  function ge(i) {
485
- Ee[i ? "unshift" : "push"](() => {
485
+ Re[i ? "unshift" : "push"](() => {
486
486
  T = i, a(3, T);
487
487
  });
488
488
  }
@@ -492,9 +492,9 @@ function Ze(t, e, a) {
492
492
  t.$$.dirty[0] & /*endpoint*/
493
493
  536870912 && y && re(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
494
494
  67108872 && p && T && Be(T, p), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
495
- 134217736 && m && T && Oe(T, m), t.$$.dirty[0] & /*customStylingContainer*/
495
+ 134217736 && m && T && ze(T, m), t.$$.dirty[0] & /*customStylingContainer*/
496
496
  8 | t.$$.dirty[1] & /*mbsource*/
497
- 1 && O && T && Me(T, `${O}.Style`), t.$$.dirty[0] & /*endpoint, lang, currency*/
497
+ 1 && O && T && Ue(T, `${O}.Style`), t.$$.dirty[0] & /*endpoint, lang, currency*/
498
498
  570425346 | t.$$.dirty[1] & /*validGameIds*/
499
499
  2 && y && k && b && G.length > 0 && pe(), t.$$.dirty[0] & /*currency, lang, isLoading*/
500
500
  33554450 && b && k && !U && se(), t.$$.dirty[0] & /*lang*/
@@ -508,15 +508,15 @@ function Ze(t, e, a) {
508
508
  T,
509
509
  U,
510
510
  Q,
511
- E,
511
+ D,
512
512
  X,
513
513
  de,
514
514
  Z,
515
515
  ae,
516
516
  ie,
517
517
  z,
518
- V,
519
- P,
518
+ J,
519
+ H,
520
520
  Y,
521
521
  s,
522
522
  d,
@@ -546,7 +546,7 @@ class $e extends We {
546
546
  e,
547
547
  Ze,
548
548
  Xe,
549
- Ie,
549
+ Ve,
550
550
  {
551
551
  visualstructure: 0,
552
552
  title: 16,
@@ -568,7 +568,7 @@ class $e extends We {
568
568
  mbsource: 31,
569
569
  realtimeupdate: 2
570
570
  },
571
- Fe,
571
+ qe,
572
572
  [-1, -1]
573
573
  );
574
574
  }
@@ -687,7 +687,7 @@ class $e extends We {
687
687
  this.$$set({ realtimeupdate: e }), w();
688
688
  }
689
689
  }
690
- Pe($e, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {}, mbsource: {}, realtimeupdate: {} }, [], [], !0);
690
+ Ie($e, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {}, mbsource: {}, realtimeupdate: {} }, [], [], !0);
691
691
  export {
692
692
  $e as default
693
693
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-DqS7aKva.cjs");function pe(n,t){e.addMessages(n,t)}function he(n){e.$locale.set(n)}const ue={en:{loadingText:"Loading, please wait..."},"zh-hk":{loadingText:"加载请稍候 ..."},fr:{loadingText:"Chargement, veuillez patienter..."},ro:{loadingText:"Se incarca, va rugam asteptati..."},es:{loadingText:"Cargando"},pt:{loadingText:"Carregando, por favor espere..."},de:{loadingText:"Laden, bitte warten..."},hr:{loadingText:"Učitavanje"},"pt-br":{CarregandoText:"Carregando"},"es-mx":{CargandoText:"Cargando, por favor espere…"},tr:{loadingText:"Yükleniyor, lütfen bekleyin..."},"en-us":{loadingText:"Loading, please wait..."}};function ye(n){e.append_styles(n,"svelte-5y37b4",':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--color-primary, #D0046C);border-color:var(--emw--color-primary, #D0046C) transparent var(--emw--color-primary, #D0046C) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function ge(n,t,l){const i=n.slice();return i[53]=t[l],i[55]=l,i}function be(n){let t,l,i,r,o,s,_,b,f,v,m,x,j;function h(c,g){return c[6]?ke:Ce}let C=h(n),d=C(n);return{c(){t=e.element("div"),l=e.element("div"),i=e.element("div"),r=e.element("div"),o=e.space(),s=e.element("div"),d.c(),_=e.space(),b=e.element("div"),f=e.element("img"),e.attr(r,"class","vendorLogo"),e.set_style(r,"background-image","url("+n[7]+")"),e.attr(s,"class","displayContainer"),e.src_url_equal(f.src,v=n[12])||e.attr(f,"src",v),e.attr(f,"alt",""),e.attr(b,"class","title"),e.attr(i,"class",m="mainWrapper "+n[0]+" "+(n[5]&&!n[6]?"mobile":n[6]?"tablet":"")),e.set_style(i,"background","url("+n[11]+")"),e.attr(l,"class","jackpotBanner"),e.attr(t,"class","")},m(c,g){e.insert(c,t,g),e.append(t,l),e.append(l,i),e.append(i,r),e.append(i,o),e.append(i,s),d.m(s,null),e.append(i,_),e.append(i,b),e.append(b,f),x||(j=e.listen(l,"click",n[33]),x=!0)},p(c,g){g[0]&128&&e.set_style(r,"background-image","url("+c[7]+")"),C===(C=h(c))&&d?d.p(c,g):(d.d(1),d=C(c),d&&(d.c(),d.m(s,null))),g[0]&4096&&!e.src_url_equal(f.src,v=c[12])&&e.attr(f,"src",v),g[0]&97&&m!==(m="mainWrapper "+c[0]+" "+(c[5]&&!c[6]?"mobile":c[6]?"tablet":""))&&e.attr(i,"class",m),g[0]&2048&&e.set_style(i,"background","url("+c[11]+")")},d(c){c&&e.detach(t),d.d(),x=!1,j()}}}function _e(n){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner")},m(l,i){e.insert(l,t,i)},p:e.noop,d(l){l&&e.detach(t)}}}function ve(n){let t;return{c(){t=e.element("p"),t.textContent="500 Server error"},m(l,i){e.insert(l,t,i)},p:e.noop,d(l){l&&e.detach(t)}}}function ke(n){let t,l,i,r,o,s,_=n[9][0]+"",b,f,v,m=(n[2]==="true"?n[14][0]:n[8][0])+"",x,j,h,C,d,c,g,w,q,E,F=n[9][1]+"",B,W,M,U=(n[2]==="true"?n[14][1]:n[8][1])+"",N,te,P,G,Y,A,L,I,S,R,T,z=n[9][2]+"",ae,V,K,Q=(n[2]==="true"?n[14][2]:n[8][2])+"",ne,re,X,Z,se,D,O,J,H,$,ee=n[9][3]+"",le,a,p,k=(n[2]==="true"?n[14][3]:n[8][3])+"",ie,de,ce,oe;return{c(){t=e.element("div"),l=e.element("div"),i=e.element("div"),r=e.element("img"),s=e.element("span"),b=e.text(_),f=e.element("span"),v=e.element("span"),x=e.text(m),j=e.space(),h=e.element("span"),C=e.text(n[1]),d=e.space(),c=e.element("div"),g=e.element("div"),w=e.element("img"),E=e.element("span"),B=e.text(F),W=e.element("span"),M=e.element("span"),N=e.text(U),te=e.space(),P=e.element("span"),G=e.text(n[1]),Y=e.space(),A=e.element("div"),L=e.element("div"),I=e.element("div"),S=e.element("img"),T=e.element("span"),ae=e.text(z),V=e.element("span"),K=e.element("span"),ne=e.text(Q),re=e.space(),X=e.element("span"),Z=e.text(n[1]),se=e.space(),D=e.element("div"),O=e.element("div"),J=e.element("img"),$=e.element("span"),le=e.text(ee),a=e.element("span"),p=e.element("span"),ie=e.text(k),de=e.space(),ce=e.element("span"),oe=e.text(n[1]),e.attr(r,"class","displayCardIcon"),e.src_url_equal(r.src,o=n[10][0])||e.attr(r,"src",o),e.attr(r,"alt",""),e.attr(s,"class","cardLabel"),e.attr(i,"class","iconWrapper"),e.attr(v,"class","jackpotValue"),e.attr(h,"class","jackpot-currency"),e.attr(f,"class","cardTextWrapper"),e.attr(l,"class","displayCard"),e.attr(w,"class","displayCardIcon"),e.src_url_equal(w.src,q=n[10][1])||e.attr(w,"src",q),e.attr(w,"alt",""),e.attr(E,"class","cardLabel"),e.attr(g,"class","iconWrapper"),e.attr(M,"class","jackpotValue"),e.attr(P,"class","jackpot-currency"),e.attr(W,"class","cardTextWrapper"),e.attr(c,"class","displayCard"),e.attr(t,"class","pairWrapper"),e.attr(S,"class","displayCardIcon"),e.src_url_equal(S.src,R=n[10][2])||e.attr(S,"src",R),e.attr(S,"alt",""),e.attr(T,"class","cardLabel"),e.attr(I,"class","iconWrapper"),e.attr(K,"class","jackpotValue"),e.attr(X,"class","jackpot-currency"),e.attr(V,"class","cardTextWrapper"),e.attr(L,"class","displayCard"),e.attr(J,"class","displayCardIcon"),e.src_url_equal(J.src,H=n[10][3])||e.attr(J,"src",H),e.attr(J,"alt",""),e.attr($,"class","cardLabel"),e.attr(O,"class","iconWrapper"),e.attr(p,"class","jackpotValue"),e.attr(ce,"class","jackpot-currency"),e.attr(a,"class","cardTextWrapper"),e.attr(D,"class","displayCard"),e.attr(A,"class","pairWrapper")},m(u,y){e.insert(u,t,y),e.append(t,l),e.append(l,i),e.append(i,r),e.append(i,s),e.append(s,b),e.append(l,f),e.append(f,v),e.append(v,x),e.append(f,j),e.append(f,h),e.append(h,C),e.append(t,d),e.append(t,c),e.append(c,g),e.append(g,w),e.append(g,E),e.append(E,B),e.append(c,W),e.append(W,M),e.append(M,N),e.append(W,te),e.append(W,P),e.append(P,G),e.insert(u,Y,y),e.insert(u,A,y),e.append(A,L),e.append(L,I),e.append(I,S),e.append(I,T),e.append(T,ae),e.append(L,V),e.append(V,K),e.append(K,ne),e.append(V,re),e.append(V,X),e.append(X,Z),e.append(A,se),e.append(A,D),e.append(D,O),e.append(O,J),e.append(O,$),e.append($,le),e.append(D,a),e.append(a,p),e.append(p,ie),e.append(a,de),e.append(a,ce),e.append(ce,oe)},p(u,y){y[0]&1024&&!e.src_url_equal(r.src,o=u[10][0])&&e.attr(r,"src",o),y[0]&512&&_!==(_=u[9][0]+"")&&e.set_data(b,_),y[0]&16644&&m!==(m=(u[2]==="true"?u[14][0]:u[8][0])+"")&&e.set_data(x,m),y[0]&2&&e.set_data(C,u[1]),y[0]&1024&&!e.src_url_equal(w.src,q=u[10][1])&&e.attr(w,"src",q),y[0]&512&&F!==(F=u[9][1]+"")&&e.set_data(B,F),y[0]&16644&&U!==(U=(u[2]==="true"?u[14][1]:u[8][1])+"")&&e.set_data(N,U),y[0]&2&&e.set_data(G,u[1]),y[0]&1024&&!e.src_url_equal(S.src,R=u[10][2])&&e.attr(S,"src",R),y[0]&512&&z!==(z=u[9][2]+"")&&e.set_data(ae,z),y[0]&16644&&Q!==(Q=(u[2]==="true"?u[14][2]:u[8][2])+"")&&e.set_data(ne,Q),y[0]&2&&e.set_data(Z,u[1]),y[0]&1024&&!e.src_url_equal(J.src,H=u[10][3])&&e.attr(J,"src",H),y[0]&512&&ee!==(ee=u[9][3]+"")&&e.set_data(le,ee),y[0]&16644&&k!==(k=(u[2]==="true"?u[14][3]:u[8][3])+"")&&e.set_data(ie,k),y[0]&2&&e.set_data(oe,u[1])},d(u){u&&(e.detach(t),e.detach(Y),e.detach(A))}}}function Ce(n){let t,l=e.ensure_array_like(Array(4)),i=[];for(let r=0;r<l.length;r+=1)i[r]=fe(ge(n,l,r));return{c(){for(let r=0;r<i.length;r+=1)i[r].c();t=e.empty()},m(r,o){for(let s=0;s<i.length;s+=1)i[s]&&i[s].m(r,o);e.insert(r,t,o)},p(r,o){if(o[0]&18182){l=e.ensure_array_like(Array(4));let s;for(s=0;s<l.length;s+=1){const _=ge(r,l,s);i[s]?i[s].p(_,o):(i[s]=fe(_),i[s].c(),i[s].m(t.parentNode,t))}for(;s<i.length;s+=1)i[s].d(1);i.length=l.length}},d(r){r&&e.detach(t),e.destroy_each(i,r)}}}function fe(n){var C;let t,l,i,r,o,s=n[9][n[55]]+"",_,b,f,v=(n[2]==="true"?n[14][n[55]]:(C=n[8][n[55]])!=null?C:"")+"",m,x,j,h;return{c(){t=e.element("div"),l=e.element("div"),i=e.element("img"),o=e.element("span"),_=e.text(s),b=e.element("span"),f=e.element("span"),m=e.text(v),x=e.space(),j=e.element("span"),h=e.text(n[1]),e.attr(i,"class","displayCardIcon"),e.src_url_equal(i.src,r=n[10][n[55]])||e.attr(i,"src",r),e.attr(i,"alt",""),e.attr(o,"class","cardLabel"),e.attr(l,"class","iconWrapper"),e.attr(f,"class","jackpotValue"),e.attr(j,"class","jackpot-currency"),e.attr(b,"class","cardTextWrapper"),e.attr(t,"class","displayCard")},m(d,c){e.insert(d,t,c),e.append(t,l),e.append(l,i),e.append(l,o),e.append(o,_),e.append(t,b),e.append(b,f),e.append(f,m),e.append(b,x),e.append(b,j),e.append(j,h)},p(d,c){var g;c[0]&1024&&!e.src_url_equal(i.src,r=d[10][d[55]])&&e.attr(i,"src",r),c[0]&512&&s!==(s=d[9][d[55]]+"")&&e.set_data(_,s),c[0]&16644&&v!==(v=(d[2]==="true"?d[14][d[55]]:(g=d[8][d[55]])!=null?g:"")+"")&&e.set_data(m,v),c[0]&2&&e.set_data(h,d[1])},d(d){d&&e.detach(t)}}}function we(n){let t;function l(o,s){return o[13]?ve:o[4]?_e:be}let i=l(n),r=i(n);return{c(){t=e.element("div"),r.c()},m(o,s){e.insert(o,t,s),r.m(t,null),n[34](t)},p(o,s){i===(i=l(o))&&r?r.p(o,s):(r.d(1),r=i(o),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(o){o&&e.detach(t),r.d(),n[34](null)}}}function Le(n,t,l){let{visualstructure:i=""}=t,{title:r=""}=t,{caticon0:o=""}=t,{caticon1:s=""}=t,{caticon2:_=""}=t,{caticon3:b=""}=t,{iconlabels:f=""}=t,{backgroundsrc:v=""}=t,{currency:m=""}=t,{backgroundsrcmobile:x=""}=t,{titlelogopath:j=""}=t,{lang:h="en"}=t,{clientstyling:C=""}=t,{clientstylingurl:d=""}=t,{translationurl:c=""}=t,{endpoint:g=""}=t,{gameid:w=""}=t,{mbsource:q}=t,{realtimeupdate:E="false"}=t,F=window.navigator.userAgent,B=!1,W=!1,M="",U=[],N=[],te=[],P=[],G=[],Y="",A="",L,I=!0,S=!1,R,T=null,z=[];const ae=()=>{fetch(c).then(p=>p.json()).then(p=>{Object.keys(p).forEach(k=>{pe(k,p[k])})}).catch(p=>{console.log(p)})};Object.keys(ue).forEach(a=>{pe(a,ue[a])});const V=["typeSpread","typeLeft"],K=a=>{var k;const p=(k=a==null?void 0:a.items[0])==null?void 0:k.additionalData;p&&Object.values(p).forEach(ie=>U.push(+ie))},Q=a=>{var p;l(7,M=((p=a==null?void 0:a.items[0])==null?void 0:p.vendorLogo)||"")},ne=()=>{if(g&&h&&m){let a=new URL(`${g}/v1/casino/jackpots`);a.searchParams.append("filter",`id=${w}`),a.searchParams.append("language",h),a.searchParams.append("additionalDataCurrency",m),fetch(a.href).then(p=>p.json().then(k=>{l(4,I=!1),R=k,N.includes(w)&&(K(R),Q(R))}).catch(k=>{l(13,S=!0),l(4,I=!1),console.error(k)}).finally(()=>{re()}))}},re=()=>{const a=L.getRootNode().host;a.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:a}}))},X=()=>{let a=new URL(`${g}/v1/casino/jackpots/config`);fetch(a.href).then(p=>p.json()).then(p=>{l(32,N=p.egtJackpotIds.map(k=>k))})},Z=()=>{l(5,B=e.isMobile(F)&&window.innerHeight/window.innerWidth>1),l(6,W=D()),U.length!==0&&l(8,te=se(U)),l(9,P=f?f.split(",").map(a=>a.trim().toUpperCase()):new Array(4).fill("")),V.includes(i.trim())?l(0,i=i.trim()):(console.warn(`Invalid Attribute Value: "${i}" is not a valid value for the "visualstructure" attribute. Defaulting to "${V[0]}"`),l(0,i=V[0])),l(11,Y=x&&B&&!W?x:v),l(12,A=j),l(10,G=[o,s,_,b])},se=a=>a.map(p=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(p)),D=()=>{const a=window.innerHeight/window.innerWidth;return .75<a&&a<1.6},O=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:w},window.location.href),typeof gtag=="function"&&gtag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:`${w}`})},J=()=>{he(h)},H=a=>{const p=JSON.parse(a.data);if(p.success&&p.data.messageType==="UpdateEgtJackpotBalance"&&p.data.jackpotAlias.split("_")[0]===w){const k=Number(p.data.jackpotAlias.split("_")[1])-1;l(14,z[k]=p.data.data[`${m}`].balance.toString(),z)}},$=()=>{E==="true"&&(Z(),l(14,z=["","","",""]),T=new EventSource(`${g}/v1/encoder/jackpot/*/update`),T.addEventListener("message",H))};e.onMount(()=>()=>{}),e.onDestroy(()=>{T&&(T.removeEventListener("message",H),T.close(),T=null)});const ee=()=>O();function le(a){e.binding_callbacks[a?"unshift":"push"](()=>{L=a,l(3,L)})}return n.$$set=a=>{"visualstructure"in a&&l(0,i=a.visualstructure),"title"in a&&l(16,r=a.title),"caticon0"in a&&l(17,o=a.caticon0),"caticon1"in a&&l(18,s=a.caticon1),"caticon2"in a&&l(19,_=a.caticon2),"caticon3"in a&&l(20,b=a.caticon3),"iconlabels"in a&&l(21,f=a.iconlabels),"backgroundsrc"in a&&l(22,v=a.backgroundsrc),"currency"in a&&l(1,m=a.currency),"backgroundsrcmobile"in a&&l(23,x=a.backgroundsrcmobile),"titlelogopath"in a&&l(24,j=a.titlelogopath),"lang"in a&&l(25,h=a.lang),"clientstyling"in a&&l(26,C=a.clientstyling),"clientstylingurl"in a&&l(27,d=a.clientstylingurl),"translationurl"in a&&l(28,c=a.translationurl),"endpoint"in a&&l(29,g=a.endpoint),"gameid"in a&&l(30,w=a.gameid),"mbsource"in a&&l(31,q=a.mbsource),"realtimeupdate"in a&&l(2,E=a.realtimeupdate)},n.$$.update=()=>{n.$$.dirty[0]&536870912&&g&&X(),n.$$.dirty[0]&67108872&&C&&L&&e.setClientStyling(L,C),n.$$.dirty[0]&134217736&&d&&L&&e.setClientStylingURL(L,d),n.$$.dirty[0]&8|n.$$.dirty[1]&1&&q&&L&&e.setStreamStyling(L,`${q}.Style`),n.$$.dirty[0]&570425346|n.$$.dirty[1]&2&&g&&h&&m&&N.length>0&&ne(),n.$$.dirty[0]&33554450&&m&&h&&!I&&Z(),n.$$.dirty[0]&33554432&&h&&J(),n.$$.dirty[0]&268435456&&c&&ae(),n.$$.dirty[0]&4&&E&&$()},[i,m,E,L,I,B,W,M,te,P,G,Y,A,S,z,O,r,o,s,_,b,f,v,x,j,h,C,d,c,g,w,q,N,ee,le]}class me extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Le,we,e.safe_not_equal,{visualstructure:0,title:16,caticon0:17,caticon1:18,caticon2:19,caticon3:20,iconlabels:21,backgroundsrc:22,currency:1,backgroundsrcmobile:23,titlelogopath:24,lang:25,clientstyling:26,clientstylingurl:27,translationurl:28,endpoint:29,gameid:30,mbsource:31,realtimeupdate:2},ye,[-1,-1])}get visualstructure(){return this.$$.ctx[0]}set visualstructure(t){this.$$set({visualstructure:t}),e.flush()}get title(){return this.$$.ctx[16]}set title(t){this.$$set({title:t}),e.flush()}get caticon0(){return this.$$.ctx[17]}set caticon0(t){this.$$set({caticon0:t}),e.flush()}get caticon1(){return this.$$.ctx[18]}set caticon1(t){this.$$set({caticon1:t}),e.flush()}get caticon2(){return this.$$.ctx[19]}set caticon2(t){this.$$set({caticon2:t}),e.flush()}get caticon3(){return this.$$.ctx[20]}set caticon3(t){this.$$set({caticon3:t}),e.flush()}get iconlabels(){return this.$$.ctx[21]}set iconlabels(t){this.$$set({iconlabels:t}),e.flush()}get backgroundsrc(){return this.$$.ctx[22]}set backgroundsrc(t){this.$$set({backgroundsrc:t}),e.flush()}get currency(){return this.$$.ctx[1]}set currency(t){this.$$set({currency:t}),e.flush()}get backgroundsrcmobile(){return this.$$.ctx[23]}set backgroundsrcmobile(t){this.$$set({backgroundsrcmobile:t}),e.flush()}get titlelogopath(){return this.$$.ctx[24]}set titlelogopath(t){this.$$set({titlelogopath:t}),e.flush()}get lang(){return this.$$.ctx[25]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[28]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get endpoint(){return this.$$.ctx[29]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get gameid(){return this.$$.ctx[30]}set gameid(t){this.$$set({gameid:t}),e.flush()}get mbsource(){return this.$$.ctx[31]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get realtimeupdate(){return this.$$.ctx[2]}set realtimeupdate(t){this.$$set({realtimeupdate:t}),e.flush()}}e.create_custom_element(me,{visualstructure:{},title:{},caticon0:{},caticon1:{},caticon2:{},caticon3:{},iconlabels:{},backgroundsrc:{},currency:{},backgroundsrcmobile:{},titlelogopath:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},endpoint:{},gameid:{},mbsource:{},realtimeupdate:{}},[],[],!0);exports.default=me;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-CkNAiTx8.cjs");function pe(n,t){e.addMessages(n,t)}function he(n){e.$locale.set(n)}const ue={en:{loadingText:"Loading, please wait..."},"zh-hk":{loadingText:"加载请稍候 ..."},fr:{loadingText:"Chargement, veuillez patienter..."},ro:{loadingText:"Se incarca, va rugam asteptati..."},es:{loadingText:"Cargando"},pt:{loadingText:"Carregando, por favor espere..."},de:{loadingText:"Laden, bitte warten..."},hr:{loadingText:"Učitavanje"},"pt-br":{CarregandoText:"Carregando"},"es-mx":{CargandoText:"Cargando, por favor espere…"},tr:{loadingText:"Yükleniyor, lütfen bekleyin..."},"en-us":{loadingText:"Loading, please wait..."}};function ye(n){e.append_styles(n,"svelte-5y37b4",':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--color-primary, #D0046C);border-color:var(--emw--color-primary, #D0046C) transparent var(--emw--color-primary, #D0046C) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function ge(n,t,l){const i=n.slice();return i[53]=t[l],i[55]=l,i}function be(n){let t,l,i,r,o,s,_,b,f,v,m,x,j;function h(c,g){return c[6]?ke:Ce}let C=h(n),d=C(n);return{c(){t=e.element("div"),l=e.element("div"),i=e.element("div"),r=e.element("div"),o=e.space(),s=e.element("div"),d.c(),_=e.space(),b=e.element("div"),f=e.element("img"),e.attr(r,"class","vendorLogo"),e.set_style(r,"background-image","url("+n[7]+")"),e.attr(s,"class","displayContainer"),e.src_url_equal(f.src,v=n[12])||e.attr(f,"src",v),e.attr(f,"alt",""),e.attr(b,"class","title"),e.attr(i,"class",m="mainWrapper "+n[0]+" "+(n[5]&&!n[6]?"mobile":n[6]?"tablet":"")),e.set_style(i,"background","url("+n[11]+")"),e.attr(l,"class","jackpotBanner"),e.attr(t,"class","")},m(c,g){e.insert(c,t,g),e.append(t,l),e.append(l,i),e.append(i,r),e.append(i,o),e.append(i,s),d.m(s,null),e.append(i,_),e.append(i,b),e.append(b,f),x||(j=e.listen(l,"click",n[33]),x=!0)},p(c,g){g[0]&128&&e.set_style(r,"background-image","url("+c[7]+")"),C===(C=h(c))&&d?d.p(c,g):(d.d(1),d=C(c),d&&(d.c(),d.m(s,null))),g[0]&4096&&!e.src_url_equal(f.src,v=c[12])&&e.attr(f,"src",v),g[0]&97&&m!==(m="mainWrapper "+c[0]+" "+(c[5]&&!c[6]?"mobile":c[6]?"tablet":""))&&e.attr(i,"class",m),g[0]&2048&&e.set_style(i,"background","url("+c[11]+")")},d(c){c&&e.detach(t),d.d(),x=!1,j()}}}function _e(n){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner")},m(l,i){e.insert(l,t,i)},p:e.noop,d(l){l&&e.detach(t)}}}function ve(n){let t;return{c(){t=e.element("p"),t.textContent="500 Server error"},m(l,i){e.insert(l,t,i)},p:e.noop,d(l){l&&e.detach(t)}}}function ke(n){let t,l,i,r,o,s,_=n[9][0]+"",b,f,v,m=(n[2]==="true"?n[14][0]:n[8][0])+"",x,j,h,C,d,c,g,w,q,E,F=n[9][1]+"",B,W,M,U=(n[2]==="true"?n[14][1]:n[8][1])+"",N,te,P,G,Y,A,L,I,S,R,T,z=n[9][2]+"",ae,V,K,Q=(n[2]==="true"?n[14][2]:n[8][2])+"",ne,re,X,Z,se,D,O,J,H,$,ee=n[9][3]+"",le,a,p,k=(n[2]==="true"?n[14][3]:n[8][3])+"",ie,de,ce,oe;return{c(){t=e.element("div"),l=e.element("div"),i=e.element("div"),r=e.element("img"),s=e.element("span"),b=e.text(_),f=e.element("span"),v=e.element("span"),x=e.text(m),j=e.space(),h=e.element("span"),C=e.text(n[1]),d=e.space(),c=e.element("div"),g=e.element("div"),w=e.element("img"),E=e.element("span"),B=e.text(F),W=e.element("span"),M=e.element("span"),N=e.text(U),te=e.space(),P=e.element("span"),G=e.text(n[1]),Y=e.space(),A=e.element("div"),L=e.element("div"),I=e.element("div"),S=e.element("img"),T=e.element("span"),ae=e.text(z),V=e.element("span"),K=e.element("span"),ne=e.text(Q),re=e.space(),X=e.element("span"),Z=e.text(n[1]),se=e.space(),D=e.element("div"),O=e.element("div"),J=e.element("img"),$=e.element("span"),le=e.text(ee),a=e.element("span"),p=e.element("span"),ie=e.text(k),de=e.space(),ce=e.element("span"),oe=e.text(n[1]),e.attr(r,"class","displayCardIcon"),e.src_url_equal(r.src,o=n[10][0])||e.attr(r,"src",o),e.attr(r,"alt",""),e.attr(s,"class","cardLabel"),e.attr(i,"class","iconWrapper"),e.attr(v,"class","jackpotValue"),e.attr(h,"class","jackpot-currency"),e.attr(f,"class","cardTextWrapper"),e.attr(l,"class","displayCard"),e.attr(w,"class","displayCardIcon"),e.src_url_equal(w.src,q=n[10][1])||e.attr(w,"src",q),e.attr(w,"alt",""),e.attr(E,"class","cardLabel"),e.attr(g,"class","iconWrapper"),e.attr(M,"class","jackpotValue"),e.attr(P,"class","jackpot-currency"),e.attr(W,"class","cardTextWrapper"),e.attr(c,"class","displayCard"),e.attr(t,"class","pairWrapper"),e.attr(S,"class","displayCardIcon"),e.src_url_equal(S.src,R=n[10][2])||e.attr(S,"src",R),e.attr(S,"alt",""),e.attr(T,"class","cardLabel"),e.attr(I,"class","iconWrapper"),e.attr(K,"class","jackpotValue"),e.attr(X,"class","jackpot-currency"),e.attr(V,"class","cardTextWrapper"),e.attr(L,"class","displayCard"),e.attr(J,"class","displayCardIcon"),e.src_url_equal(J.src,H=n[10][3])||e.attr(J,"src",H),e.attr(J,"alt",""),e.attr($,"class","cardLabel"),e.attr(O,"class","iconWrapper"),e.attr(p,"class","jackpotValue"),e.attr(ce,"class","jackpot-currency"),e.attr(a,"class","cardTextWrapper"),e.attr(D,"class","displayCard"),e.attr(A,"class","pairWrapper")},m(u,y){e.insert(u,t,y),e.append(t,l),e.append(l,i),e.append(i,r),e.append(i,s),e.append(s,b),e.append(l,f),e.append(f,v),e.append(v,x),e.append(f,j),e.append(f,h),e.append(h,C),e.append(t,d),e.append(t,c),e.append(c,g),e.append(g,w),e.append(g,E),e.append(E,B),e.append(c,W),e.append(W,M),e.append(M,N),e.append(W,te),e.append(W,P),e.append(P,G),e.insert(u,Y,y),e.insert(u,A,y),e.append(A,L),e.append(L,I),e.append(I,S),e.append(I,T),e.append(T,ae),e.append(L,V),e.append(V,K),e.append(K,ne),e.append(V,re),e.append(V,X),e.append(X,Z),e.append(A,se),e.append(A,D),e.append(D,O),e.append(O,J),e.append(O,$),e.append($,le),e.append(D,a),e.append(a,p),e.append(p,ie),e.append(a,de),e.append(a,ce),e.append(ce,oe)},p(u,y){y[0]&1024&&!e.src_url_equal(r.src,o=u[10][0])&&e.attr(r,"src",o),y[0]&512&&_!==(_=u[9][0]+"")&&e.set_data(b,_),y[0]&16644&&m!==(m=(u[2]==="true"?u[14][0]:u[8][0])+"")&&e.set_data(x,m),y[0]&2&&e.set_data(C,u[1]),y[0]&1024&&!e.src_url_equal(w.src,q=u[10][1])&&e.attr(w,"src",q),y[0]&512&&F!==(F=u[9][1]+"")&&e.set_data(B,F),y[0]&16644&&U!==(U=(u[2]==="true"?u[14][1]:u[8][1])+"")&&e.set_data(N,U),y[0]&2&&e.set_data(G,u[1]),y[0]&1024&&!e.src_url_equal(S.src,R=u[10][2])&&e.attr(S,"src",R),y[0]&512&&z!==(z=u[9][2]+"")&&e.set_data(ae,z),y[0]&16644&&Q!==(Q=(u[2]==="true"?u[14][2]:u[8][2])+"")&&e.set_data(ne,Q),y[0]&2&&e.set_data(Z,u[1]),y[0]&1024&&!e.src_url_equal(J.src,H=u[10][3])&&e.attr(J,"src",H),y[0]&512&&ee!==(ee=u[9][3]+"")&&e.set_data(le,ee),y[0]&16644&&k!==(k=(u[2]==="true"?u[14][3]:u[8][3])+"")&&e.set_data(ie,k),y[0]&2&&e.set_data(oe,u[1])},d(u){u&&(e.detach(t),e.detach(Y),e.detach(A))}}}function Ce(n){let t,l=e.ensure_array_like(Array(4)),i=[];for(let r=0;r<l.length;r+=1)i[r]=fe(ge(n,l,r));return{c(){for(let r=0;r<i.length;r+=1)i[r].c();t=e.empty()},m(r,o){for(let s=0;s<i.length;s+=1)i[s]&&i[s].m(r,o);e.insert(r,t,o)},p(r,o){if(o[0]&18182){l=e.ensure_array_like(Array(4));let s;for(s=0;s<l.length;s+=1){const _=ge(r,l,s);i[s]?i[s].p(_,o):(i[s]=fe(_),i[s].c(),i[s].m(t.parentNode,t))}for(;s<i.length;s+=1)i[s].d(1);i.length=l.length}},d(r){r&&e.detach(t),e.destroy_each(i,r)}}}function fe(n){var C;let t,l,i,r,o,s=n[9][n[55]]+"",_,b,f,v=(n[2]==="true"?n[14][n[55]]:(C=n[8][n[55]])!=null?C:"")+"",m,x,j,h;return{c(){t=e.element("div"),l=e.element("div"),i=e.element("img"),o=e.element("span"),_=e.text(s),b=e.element("span"),f=e.element("span"),m=e.text(v),x=e.space(),j=e.element("span"),h=e.text(n[1]),e.attr(i,"class","displayCardIcon"),e.src_url_equal(i.src,r=n[10][n[55]])||e.attr(i,"src",r),e.attr(i,"alt",""),e.attr(o,"class","cardLabel"),e.attr(l,"class","iconWrapper"),e.attr(f,"class","jackpotValue"),e.attr(j,"class","jackpot-currency"),e.attr(b,"class","cardTextWrapper"),e.attr(t,"class","displayCard")},m(d,c){e.insert(d,t,c),e.append(t,l),e.append(l,i),e.append(l,o),e.append(o,_),e.append(t,b),e.append(b,f),e.append(f,m),e.append(b,x),e.append(b,j),e.append(j,h)},p(d,c){var g;c[0]&1024&&!e.src_url_equal(i.src,r=d[10][d[55]])&&e.attr(i,"src",r),c[0]&512&&s!==(s=d[9][d[55]]+"")&&e.set_data(_,s),c[0]&16644&&v!==(v=(d[2]==="true"?d[14][d[55]]:(g=d[8][d[55]])!=null?g:"")+"")&&e.set_data(m,v),c[0]&2&&e.set_data(h,d[1])},d(d){d&&e.detach(t)}}}function we(n){let t;function l(o,s){return o[13]?ve:o[4]?_e:be}let i=l(n),r=i(n);return{c(){t=e.element("div"),r.c()},m(o,s){e.insert(o,t,s),r.m(t,null),n[34](t)},p(o,s){i===(i=l(o))&&r?r.p(o,s):(r.d(1),r=i(o),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(o){o&&e.detach(t),r.d(),n[34](null)}}}function Le(n,t,l){let{visualstructure:i=""}=t,{title:r=""}=t,{caticon0:o=""}=t,{caticon1:s=""}=t,{caticon2:_=""}=t,{caticon3:b=""}=t,{iconlabels:f=""}=t,{backgroundsrc:v=""}=t,{currency:m=""}=t,{backgroundsrcmobile:x=""}=t,{titlelogopath:j=""}=t,{lang:h="en"}=t,{clientstyling:C=""}=t,{clientstylingurl:d=""}=t,{translationurl:c=""}=t,{endpoint:g=""}=t,{gameid:w=""}=t,{mbsource:q}=t,{realtimeupdate:E="false"}=t,F=window.navigator.userAgent,B=!1,W=!1,M="",U=[],N=[],te=[],P=[],G=[],Y="",A="",L,I=!0,S=!1,R,T=null,z=[];const ae=()=>{fetch(c).then(p=>p.json()).then(p=>{Object.keys(p).forEach(k=>{pe(k,p[k])})}).catch(p=>{console.log(p)})};Object.keys(ue).forEach(a=>{pe(a,ue[a])});const V=["typeSpread","typeLeft"],K=a=>{var k;const p=(k=a==null?void 0:a.items[0])==null?void 0:k.additionalData;p&&Object.values(p).forEach(ie=>U.push(+ie))},Q=a=>{var p;l(7,M=((p=a==null?void 0:a.items[0])==null?void 0:p.vendorLogo)||"")},ne=()=>{if(g&&h&&m){let a=new URL(`${g}/v1/casino/jackpots`);a.searchParams.append("filter",`id=${w}`),a.searchParams.append("language",h),a.searchParams.append("additionalDataCurrency",m),fetch(a.href).then(p=>p.json().then(k=>{l(4,I=!1),R=k,N.includes(w)&&(K(R),Q(R))}).catch(k=>{l(13,S=!0),l(4,I=!1),console.error(k)}).finally(()=>{re()}))}},re=()=>{const a=L.getRootNode().host;a.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:a}}))},X=()=>{let a=new URL(`${g}/v1/casino/jackpots/config`);fetch(a.href).then(p=>p.json()).then(p=>{l(32,N=p.egtJackpotIds.map(k=>k))})},Z=()=>{l(5,B=e.isMobile(F)&&window.innerHeight/window.innerWidth>1),l(6,W=D()),U.length!==0&&l(8,te=se(U)),l(9,P=f?f.split(",").map(a=>a.trim().toUpperCase()):new Array(4).fill("")),V.includes(i.trim())?l(0,i=i.trim()):(console.warn(`Invalid Attribute Value: "${i}" is not a valid value for the "visualstructure" attribute. Defaulting to "${V[0]}"`),l(0,i=V[0])),l(11,Y=x&&B&&!W?x:v),l(12,A=j),l(10,G=[o,s,_,b])},se=a=>a.map(p=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(p)),D=()=>{const a=window.innerHeight/window.innerWidth;return .75<a&&a<1.6},O=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:w},window.location.href),typeof gtag=="function"&&gtag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:`${w}`})},J=()=>{he(h)},H=a=>{const p=JSON.parse(a.data);if(p.success&&p.data.messageType==="UpdateEgtJackpotBalance"&&p.data.jackpotAlias.split("_")[0]===w){const k=Number(p.data.jackpotAlias.split("_")[1])-1;l(14,z[k]=p.data.data[`${m}`].balance.toString(),z)}},$=()=>{E==="true"&&(Z(),l(14,z=["","","",""]),T=new EventSource(`${g}/v1/encoder/jackpot/*/update`),T.addEventListener("message",H))};e.onMount(()=>()=>{}),e.onDestroy(()=>{T&&(T.removeEventListener("message",H),T.close(),T=null)});const ee=()=>O();function le(a){e.binding_callbacks[a?"unshift":"push"](()=>{L=a,l(3,L)})}return n.$$set=a=>{"visualstructure"in a&&l(0,i=a.visualstructure),"title"in a&&l(16,r=a.title),"caticon0"in a&&l(17,o=a.caticon0),"caticon1"in a&&l(18,s=a.caticon1),"caticon2"in a&&l(19,_=a.caticon2),"caticon3"in a&&l(20,b=a.caticon3),"iconlabels"in a&&l(21,f=a.iconlabels),"backgroundsrc"in a&&l(22,v=a.backgroundsrc),"currency"in a&&l(1,m=a.currency),"backgroundsrcmobile"in a&&l(23,x=a.backgroundsrcmobile),"titlelogopath"in a&&l(24,j=a.titlelogopath),"lang"in a&&l(25,h=a.lang),"clientstyling"in a&&l(26,C=a.clientstyling),"clientstylingurl"in a&&l(27,d=a.clientstylingurl),"translationurl"in a&&l(28,c=a.translationurl),"endpoint"in a&&l(29,g=a.endpoint),"gameid"in a&&l(30,w=a.gameid),"mbsource"in a&&l(31,q=a.mbsource),"realtimeupdate"in a&&l(2,E=a.realtimeupdate)},n.$$.update=()=>{n.$$.dirty[0]&536870912&&g&&X(),n.$$.dirty[0]&67108872&&C&&L&&e.setClientStyling(L,C),n.$$.dirty[0]&134217736&&d&&L&&e.setClientStylingURL(L,d),n.$$.dirty[0]&8|n.$$.dirty[1]&1&&q&&L&&e.setStreamStyling(L,`${q}.Style`),n.$$.dirty[0]&570425346|n.$$.dirty[1]&2&&g&&h&&m&&N.length>0&&ne(),n.$$.dirty[0]&33554450&&m&&h&&!I&&Z(),n.$$.dirty[0]&33554432&&h&&J(),n.$$.dirty[0]&268435456&&c&&ae(),n.$$.dirty[0]&4&&E&&$()},[i,m,E,L,I,B,W,M,te,P,G,Y,A,S,z,O,r,o,s,_,b,f,v,x,j,h,C,d,c,g,w,q,N,ee,le]}class me extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Le,we,e.safe_not_equal,{visualstructure:0,title:16,caticon0:17,caticon1:18,caticon2:19,caticon3:20,iconlabels:21,backgroundsrc:22,currency:1,backgroundsrcmobile:23,titlelogopath:24,lang:25,clientstyling:26,clientstylingurl:27,translationurl:28,endpoint:29,gameid:30,mbsource:31,realtimeupdate:2},ye,[-1,-1])}get visualstructure(){return this.$$.ctx[0]}set visualstructure(t){this.$$set({visualstructure:t}),e.flush()}get title(){return this.$$.ctx[16]}set title(t){this.$$set({title:t}),e.flush()}get caticon0(){return this.$$.ctx[17]}set caticon0(t){this.$$set({caticon0:t}),e.flush()}get caticon1(){return this.$$.ctx[18]}set caticon1(t){this.$$set({caticon1:t}),e.flush()}get caticon2(){return this.$$.ctx[19]}set caticon2(t){this.$$set({caticon2:t}),e.flush()}get caticon3(){return this.$$.ctx[20]}set caticon3(t){this.$$set({caticon3:t}),e.flush()}get iconlabels(){return this.$$.ctx[21]}set iconlabels(t){this.$$set({iconlabels:t}),e.flush()}get backgroundsrc(){return this.$$.ctx[22]}set backgroundsrc(t){this.$$set({backgroundsrc:t}),e.flush()}get currency(){return this.$$.ctx[1]}set currency(t){this.$$set({currency:t}),e.flush()}get backgroundsrcmobile(){return this.$$.ctx[23]}set backgroundsrcmobile(t){this.$$set({backgroundsrcmobile:t}),e.flush()}get titlelogopath(){return this.$$.ctx[24]}set titlelogopath(t){this.$$set({titlelogopath:t}),e.flush()}get lang(){return this.$$.ctx[25]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[28]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get endpoint(){return this.$$.ctx[29]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get gameid(){return this.$$.ctx[30]}set gameid(t){this.$$set({gameid:t}),e.flush()}get mbsource(){return this.$$.ctx[31]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get realtimeupdate(){return this.$$.ctx[2]}set realtimeupdate(t){this.$$set({realtimeupdate:t}),e.flush()}}e.create_custom_element(me,{visualstructure:{},title:{},caticon0:{},caticon1:{},caticon2:{},caticon3:{},iconlabels:{},backgroundsrc:{},currency:{},backgroundsrcmobile:{},titlelogopath:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},endpoint:{},gameid:{},mbsource:{},realtimeupdate:{}},[],[],!0);exports.default=me;