@everymatrix/casino-page 1.74.10 → 1.75.0

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 (96) hide show
  1. package/components/CasinoCalendar-B4OJuO_L.cjs +19 -0
  2. package/components/{CasinoCalendar-DdMvhCOA.js → CasinoCalendar-BVD-g7V2.js} +1063 -1049
  3. package/components/{CasinoCalendar-BuZNkBai.js → CasinoCalendar-CDNIjQ8T.js} +1001 -987
  4. package/components/CasinoCalendarDailyDetails-BEUNC6Xh.cjs +1 -0
  5. package/components/{CasinoCalendarDailyDetails-ClfGxbko.js → CasinoCalendarDailyDetails-D_IsmUxa.js} +75 -75
  6. package/components/{CasinoCalendarDailyDetails-BCVIut1W.js → CasinoCalendarDailyDetails-Dun4o4bY.js} +75 -75
  7. package/components/{CasinoCalendarDailyItem-CYfiDQkf.js → CasinoCalendarDailyItem-SgYp_4Zc.js} +6 -6
  8. package/components/{CasinoCalendarDailyItem-C1ADnaTt.js → CasinoCalendarDailyItem-lgiTsDmQ.js} +6 -6
  9. package/components/{CasinoCalendarDailyItem-BdDom59r.cjs → CasinoCalendarDailyItem-r4x7VnIJ.cjs} +1 -1
  10. package/components/{CasinoCollectionsProviders-4kHMGeo6.js → CasinoCollectionsProviders-Cfp1fpOk.js} +4 -4
  11. package/components/{CasinoCollectionsProviders-CM25qKz7.cjs → CasinoCollectionsProviders-DI8Ie4pa.cjs} +1 -1
  12. package/components/{CasinoCollectionsProviders-Br5ZzIwL.js → CasinoCollectionsProviders-GH5hTDgu.js} +4 -4
  13. package/components/{CasinoFavoritesSection-kK1TQ8ht.js → CasinoFavoritesSection-BFy1do0y.js} +5 -5
  14. package/components/{CasinoFavoritesSection-rhkzJ6zc.cjs → CasinoFavoritesSection-VMDrouZv.cjs} +1 -1
  15. package/components/{CasinoFavoritesSection-DFbJjl93.js → CasinoFavoritesSection-a8lLeyfm.js} +5 -5
  16. package/components/CasinoFilter-BX1QlpN6.cjs +1 -0
  17. package/components/{CasinoFilter-1-YLqdq0.js → CasinoFilter-DUp1Zmmm.js} +224 -225
  18. package/components/{CasinoFilter-akdowSz4.js → CasinoFilter-idsuQa6E.js} +254 -253
  19. package/components/{CasinoGameThumbnail-QX8Y_4Bo.js → CasinoGameThumbnail-C8VWWEBL.js} +752 -768
  20. package/components/CasinoGameThumbnail-D4tCeYJQ.cjs +47 -0
  21. package/components/{CasinoGameThumbnail--7-bfdJ_.js → CasinoGameThumbnail-DMHcWul3.js} +1255 -1239
  22. package/components/{CasinoGamesCategorySection-BH9sWCiX.js → CasinoGamesCategorySection-B_x3-ce_.js} +216 -216
  23. package/components/{CasinoGamesCategorySection-BS3bBGLM.js → CasinoGamesCategorySection-BmQ5Kyco.js} +230 -230
  24. package/components/CasinoGamesCategorySection-DeeY3KIg.cjs +1 -0
  25. package/components/{CasinoJackpotBanner-Bdzek1XC.js → CasinoJackpotBanner-BAVC4_Yz.js} +8 -8
  26. package/components/{CasinoJackpotBanner-CyyNiIY2.cjs → CasinoJackpotBanner-ClvtHhmd.cjs} +1 -1
  27. package/components/{CasinoJackpotBanner--90-l4pm.js → CasinoJackpotBanner-Da0QCFOu.js} +8 -8
  28. package/components/{CasinoLastPlayedSection-CCsVR0LD.js → CasinoLastPlayedSection-B6i62lDv.js} +5 -5
  29. package/components/{CasinoLastPlayedSection-tXVS9NQ9.cjs → CasinoLastPlayedSection-DiovJKyt.cjs} +1 -1
  30. package/components/{CasinoLastPlayedSection-r6Hevjnc.js → CasinoLastPlayedSection-VRpXRKSJ.js} +5 -5
  31. package/components/{CasinoMostPlayedSection-BruSwyS_.js → CasinoMostPlayedSection-B7KfZc37.js} +7 -7
  32. package/components/{CasinoMostPlayedSection-D6Yst0g3.js → CasinoMostPlayedSection-D0ds51Be.js} +7 -7
  33. package/components/{CasinoMostPlayedSection-BKTnsvK3.cjs → CasinoMostPlayedSection-DyYZcTqL.cjs} +1 -1
  34. package/components/{CasinoMyGames-BRX-YJoI.js → CasinoMyGames-CZOenAE2.js} +8 -8
  35. package/components/{CasinoMyGames-DrEpKT_U.cjs → CasinoMyGames-CbS5XU09.cjs} +1 -1
  36. package/components/{CasinoMyGames-D7WgWfaZ.js → CasinoMyGames-J7BSQxiB.js} +8 -8
  37. package/components/{CasinoPage-Dg6SmIwZ.js → CasinoPage-CEoJhZAV.js} +15 -15
  38. package/components/{CasinoPage-D8d0F_pn.js → CasinoPage-DN6FeqQq.js} +15 -15
  39. package/components/{CasinoPage-CnqHLjYJ.cjs → CasinoPage-DOM7VMqT.cjs} +1 -1
  40. package/components/{CasinoRandomGame-CdQVMLbd.cjs → CasinoRandomGame-3uoEGw78.cjs} +2 -2
  41. package/components/{CasinoRandomGame-CtAOJXnF.js → CasinoRandomGame-9Yw_xC5j.js} +83 -83
  42. package/components/{CasinoRandomGame-D7RweU9Y.js → CasinoRandomGame-DpKfvMwV.js} +12 -12
  43. package/components/{CasinoSearch-DPGpSaAE.js → CasinoSearch-Cz5a7IL7.js} +5 -5
  44. package/components/{CasinoSearch-J_mR3sz-.js → CasinoSearch-DvY5WITU.js} +5 -5
  45. package/components/{CasinoSearch-BbEHE2ze.cjs → CasinoSearch-pPULoiZA.cjs} +1 -1
  46. package/components/{CasinoSort-5WNP_G3S.js → CasinoSort-BYQvNOsF.js} +93 -94
  47. package/components/{CasinoSort-BawqALZV.js → CasinoSort-CUCsGytJ.js} +103 -102
  48. package/components/{CasinoSort-Du3lmlNe.cjs → CasinoSort-DEzzINXT.cjs} +1 -1
  49. package/components/{CasinoWinners-XkR8Kmij.cjs → CasinoWinners-COmepRdG.cjs} +1 -1
  50. package/components/{CasinoWinners-DCiuykjq.js → CasinoWinners-CQf5gEvU.js} +116 -116
  51. package/components/{CasinoWinners-BE029Vxq.js → CasinoWinners-Dr5wYAG5.js} +116 -116
  52. package/components/{GeneralAnimationLoading-BETs-Kib.js → GeneralAnimationLoading-CBPC5I1a.js} +7 -7
  53. package/components/{GeneralAnimationLoading-BlN4kA08.js → GeneralAnimationLoading-CKgGhHlf.js} +7 -7
  54. package/components/{GeneralAnimationLoading-lIyg2-0l.cjs → GeneralAnimationLoading-DTUTIYre.cjs} +1 -1
  55. package/es2015/casino-page.cjs +1 -1
  56. package/es2015/casino-page.js +1 -1
  57. package/esnext/casino-page.js +1 -1
  58. package/package.json +1 -1
  59. package/stencil/{casino-play-random-game-BGnpW6-t.js → casino-play-random-game-CNwOj3DJ.js} +1 -1
  60. package/stencil/{casino-play-random-game-_u9t_R_K.cjs → casino-play-random-game-CWyr5H4d.cjs} +1 -1
  61. package/stencil/{casino-play-random-game-Dkt8_s5i.js → casino-play-random-game-Cchj3hDo.js} +1 -1
  62. package/stencil/{casino-play-random-game_2-CO_ycbvG.js → casino-play-random-game_2-BBqDze0C.js} +2 -2
  63. package/stencil/{casino-play-random-game_2-OLkBGlKQ.js → casino-play-random-game_2-BoSB4X57.js} +2 -2
  64. package/stencil/{casino-play-random-game_2-BxEiwCaH.cjs → casino-play-random-game_2-DVELgSp-.cjs} +2 -2
  65. package/stencil/index-328e660d-04xW6326.cjs +1 -0
  66. package/stencil/{index-328e660d-CgCMs0nk.js → index-328e660d-BUOKdOvn.js} +195 -195
  67. package/stencil/{index-328e660d-DIiqSVTN.js → index-328e660d-O5RXzgXA.js} +186 -186
  68. package/stencil/{index-97d17652-DIpvPU9H.js → index-97d17652-BD-QREJe.js} +151 -151
  69. package/stencil/{index-97d17652-C7V2DWFg.js → index-97d17652-DJqGt8q2.js} +147 -147
  70. package/stencil/index-97d17652-tiiCeQFu.cjs +1 -0
  71. package/stencil/index-b2193545-3zPNeE9v.cjs +1 -0
  72. package/stencil/{index-b2193545-DdqB2rk5.js → index-b2193545-D_cUvAA-.js} +176 -176
  73. package/stencil/{index-b2193545-BL364Gzq.js → index-b2193545-kN0z2MLt.js} +169 -169
  74. package/stencil/{ui-image-CzGNxx73.js → ui-image-BAqS-hS6.js} +1 -1
  75. package/stencil/{ui-image-wubI3fkK.cjs → ui-image-CH2Jdp7k.cjs} +1 -1
  76. package/stencil/{ui-image-B_HWMBI-.js → ui-image-I_uR7pAI.js} +1 -1
  77. package/stencil/{ui-image-b7b48fe5-B-k0kWgx.js → ui-image-b7b48fe5-2Ir9VtWc.js} +1 -1
  78. package/stencil/{ui-image-b7b48fe5-D8-wEkoZ.js → ui-image-b7b48fe5-AJGQkQBu.js} +1 -1
  79. package/stencil/{ui-image-b7b48fe5-yceZ9WkN.cjs → ui-image-b7b48fe5-pdIH5TBa.cjs} +1 -1
  80. package/stencil/{ui-image_2-Ha_4GYwN.cjs → ui-image_2-BGf0VFLf.cjs} +1 -1
  81. package/stencil/{ui-image_2-z5LhXZY2.js → ui-image_2-Dh5Eqdlm.js} +2 -2
  82. package/stencil/{ui-image_2-CzFe50WB.js → ui-image_2-_K8Pt3w9.js} +2 -2
  83. package/stencil/{ui-skeleton-DTQ__6LQ.cjs → ui-skeleton-5mt1L8pA.cjs} +1 -1
  84. package/stencil/{ui-skeleton-CsmgJUYN.js → ui-skeleton-C0GZ2ncD.js} +2 -2
  85. package/stencil/{ui-skeleton-yRWBmyfK.js → ui-skeleton-CYeeBz0Q.js} +2 -2
  86. package/stencil/{ui-skeleton-ae35c6f2-CxSezPtG.js → ui-skeleton-ae35c6f2-BSwiS43c.js} +1 -1
  87. package/stencil/{ui-skeleton-ae35c6f2-BRNiEwlg.js → ui-skeleton-ae35c6f2-BmKf7IvD.js} +1 -1
  88. package/stencil/{ui-skeleton-ae35c6f2-CZuWo9GO.cjs → ui-skeleton-ae35c6f2-CQ3pH6qH.cjs} +1 -1
  89. package/components/CasinoCalendar-CFUoQxq0.cjs +0 -19
  90. package/components/CasinoCalendarDailyDetails-Dqb6yp--.cjs +0 -1
  91. package/components/CasinoFilter-Cc3Yv48X.cjs +0 -1
  92. package/components/CasinoGameThumbnail-BpBjsCjD.cjs +0 -47
  93. package/components/CasinoGamesCategorySection-ZZs5EAVv.cjs +0 -1
  94. package/stencil/index-328e660d-pKNw3-4H.cjs +0 -1
  95. package/stencil/index-97d17652-BgKdDb-e.cjs +0 -1
  96. package/stencil/index-b2193545-DmjUkkS8.cjs +0 -1
@@ -1,5 +1,5 @@
1
- import { a as ne, $ as se, S as re, i as oe, f as S, c as de, s as ce, b as ue, e as T, d as E, t as A, g as ye, h as N, j as L, k as ge, o as fe, l as he, m as me, n as be, p as _e, q as pe, r as we, u as ve, v as H, w as F, x as z, y as d, z as m, A as Y, B as ke, C as Te, D as xe, E as W, F as Z, G as B, H as I, I as O, J as Ce, K as U, L as De } from "./CasinoCalendar-BuZNkBai.js";
2
- import "../stencil/ui-image-B_HWMBI-.js";
1
+ import { a as ne, $ as se, S as re, i as oe, f as S, c as de, s as ce, b as ue, e as T, d as E, t as A, g as ye, h as N, j as L, k as ge, o as fe, l as he, m as me, n as be, p as _e, q as pe, r as we, u as ve, v as H, w as F, x as z, y as c, z as m, A as Y, B as ke, C as Te, D as xe, E as W, F as Z, G as B, H as I, I as O, J as Ce, K as U, L as De } from "./CasinoCalendar-BVD-g7V2.js";
2
+ import "../stencil/ui-image-BAqS-hS6.js";
3
3
  function P(a, e) {
4
4
  ne(a, e);
5
5
  }
@@ -87,11 +87,11 @@ function J(a, e, t) {
87
87
  }
88
88
  const Ee = (a) => ({}), K = (a) => ({});
89
89
  function Le(a) {
90
- let e, t, i, r, c, f = (
90
+ let e, t, i, r, u, f = (
91
91
  /*$_*/
92
92
  a[5](`${/*dailyday*/
93
93
  a[0]}`) + ""
94
- ), h, u, b, g, w, _;
94
+ ), h, y, b, g, w, _;
95
95
  const D = (
96
96
  /*#slots*/
97
97
  a[19].close
@@ -101,7 +101,7 @@ function Le(a) {
101
101
  /*$$scope*/
102
102
  a[18],
103
103
  K
104
- ), y = k || Be();
104
+ ), d = k || Be();
105
105
  let s = H(
106
106
  /*dailyeventsDetails*/
107
107
  a[2]
@@ -110,14 +110,14 @@ function Le(a) {
110
110
  o[l] = X(G(a, s, l));
111
111
  return {
112
112
  c() {
113
- e = T("div"), t = T("div"), i = T("span"), y.c(), r = F(), c = T("div"), h = z(f), u = F();
113
+ e = T("div"), t = T("div"), i = T("span"), d && d.c(), r = F(), u = T("div"), h = z(f), y = F();
114
114
  for (let l = 0; l < o.length; l += 1)
115
115
  o[l].c();
116
- d(i, "class", "ModalCloseBtn"), d(i, "role", "button"), d(c, "class", "CasinoCalendarDailyDay"), d(t, "class", "HeaderDailyDetails"), d(e, "class", b = "CasinoCalendarDailyDetailsBackground " + /*mobileView*/
116
+ c(i, "class", "ModalCloseBtn"), c(i, "role", "button"), c(u, "class", "CasinoCalendarDailyDay"), c(t, "class", "HeaderDailyDetails"), c(e, "class", b = "CasinoCalendarDailyDetailsBackground " + /*mobileView*/
117
117
  (a[4] ? "Mobile" : ""));
118
118
  },
119
119
  m(l, x) {
120
- E(l, e, x), m(e, t), m(t, i), y.m(i, null), m(t, r), m(t, c), m(c, h), m(e, u);
120
+ E(l, e, x), m(e, t), m(t, i), d && d.m(i, null), m(t, r), m(t, u), m(u, h), m(e, y);
121
121
  for (let p = 0; p < o.length; p += 1)
122
122
  o[p] && o[p].m(e, null);
123
123
  g = !0, w || (_ = Y(
@@ -166,16 +166,16 @@ function Le(a) {
166
166
  }
167
167
  (!g || x[0] & /*mobileView*/
168
168
  16 && b !== (b = "CasinoCalendarDailyDetailsBackground " + /*mobileView*/
169
- (l[4] ? "Mobile" : ""))) && d(e, "class", b);
169
+ (l[4] ? "Mobile" : ""))) && c(e, "class", b);
170
170
  },
171
171
  i(l) {
172
- g || (N(y, l), g = !0);
172
+ g || (N(d, l), g = !0);
173
173
  },
174
174
  o(l) {
175
- A(y, l), g = !1;
175
+ A(d, l), g = !1;
176
176
  },
177
177
  d(l) {
178
- l && L(e), y.d(l), Z(o, l), w = !1, _();
178
+ l && L(e), d && d.d(l), Z(o, l), w = !1, _();
179
179
  }
180
180
  };
181
181
  }
@@ -186,13 +186,13 @@ function Fe(a) {
186
186
  ), i;
187
187
  return {
188
188
  c() {
189
- e = T("p"), i = z(t), d(e, "class", "SearchLoading");
189
+ e = T("p"), i = z(t), c(e, "class", "SearchLoading");
190
190
  },
191
- m(r, c) {
192
- E(r, e, c), m(e, i);
191
+ m(r, u) {
192
+ E(r, e, u), m(e, i);
193
193
  },
194
- p(r, c) {
195
- c[0] & /*$_*/
194
+ p(r, u) {
195
+ u[0] & /*$_*/
196
196
  32 && t !== (t = /*$_*/
197
197
  r[5]("loading") + "") && W(i, t);
198
198
  },
@@ -210,13 +210,13 @@ function Ie(a) {
210
210
  ), i;
211
211
  return {
212
212
  c() {
213
- e = T("p"), i = z(t), d(e, "class", "SearchLoading");
213
+ e = T("p"), i = z(t), c(e, "class", "SearchLoading");
214
214
  },
215
- m(r, c) {
216
- E(r, e, c), m(e, i);
215
+ m(r, u) {
216
+ E(r, e, u), m(e, i);
217
217
  },
218
- p(r, c) {
219
- c[0] & /*$_*/
218
+ p(r, u) {
219
+ u[0] & /*$_*/
220
220
  32 && t !== (t = /*$_*/
221
221
  r[5]("error") + "") && W(i, t);
222
222
  },
@@ -231,7 +231,7 @@ function Be(a) {
231
231
  let e, t;
232
232
  return {
233
233
  c() {
234
- e = U("svg"), t = U("path"), d(t, "stroke-linecap", "round"), d(t, "stroke-linejoin", "round"), d(t, "stroke-width", "2"), d(t, "d", "M6 18L18 6M6 6l12 12"), d(e, "class", "w-6 h-6"), d(e, "fill", "none"), d(e, "stroke", "currentColor"), d(e, "viewBox", "0 0 24 24"), d(e, "xmlns", "http://www.w3.org/2000/svg");
234
+ e = U("svg"), t = U("path"), c(t, "stroke-linecap", "round"), c(t, "stroke-linejoin", "round"), c(t, "stroke-width", "2"), c(t, "d", "M6 18L18 6M6 6l12 12"), c(e, "class", "w-6 h-6"), c(e, "fill", "none"), c(e, "stroke", "currentColor"), c(e, "viewBox", "0 0 24 24"), c(e, "xmlns", "http://www.w3.org/2000/svg");
235
235
  },
236
236
  m(i, r) {
237
237
  E(i, e, r), m(e, t);
@@ -246,7 +246,7 @@ function Q(a) {
246
246
  let e, t, i, r = (
247
247
  /*detail*/
248
248
  a[31].title + ""
249
- ), c, f, h, u, b;
249
+ ), u, f, h, y, b;
250
250
  function g() {
251
251
  return (
252
252
  /*click_handler*/
@@ -262,33 +262,33 @@ function Q(a) {
262
262
  }
263
263
  return {
264
264
  c() {
265
- e = T("div"), t = T("div"), i = T("button"), f = F(), d(i, "class", c = "HeaderButton " + /*i*/
265
+ e = T("div"), t = T("div"), i = T("button"), f = F(), c(i, "class", u = "HeaderButton " + /*i*/
266
266
  (a[33] === /*event*/
267
- a[28].selectedTab ? "Active" : "")), d(t, "class", "Header"), d(e, "class", h = /*i*/
267
+ a[28].selectedTab ? "Active" : "")), c(t, "class", "Header"), c(e, "class", h = /*i*/
268
268
  a[33] === /*event*/
269
- a[28].selectedTab ? "SelectedTab" : ""), d(e, "id", "CollapseMoreInfoButton"), De(e, "height", "100%");
269
+ a[28].selectedTab ? "SelectedTab" : ""), c(e, "id", "CollapseMoreInfoButton"), De(e, "height", "100%");
270
270
  },
271
271
  m(w, _) {
272
- E(w, e, _), m(e, t), m(t, i), i.innerHTML = r, m(e, f), u || (b = Y(i, "click", g), u = !0);
272
+ E(w, e, _), m(e, t), m(t, i), i.innerHTML = r, m(e, f), y || (b = Y(i, "click", g), y = !0);
273
273
  },
274
274
  p(w, _) {
275
275
  a = w, _[0] & /*dailyeventsDetails*/
276
276
  4 && r !== (r = /*detail*/
277
277
  a[31].title + "") && (i.innerHTML = r), _[0] & /*dailyeventsDetails*/
278
- 4 && c !== (c = "HeaderButton " + /*i*/
278
+ 4 && u !== (u = "HeaderButton " + /*i*/
279
279
  (a[33] === /*event*/
280
- a[28].selectedTab ? "Active" : "")) && d(i, "class", c), _[0] & /*dailyeventsDetails*/
280
+ a[28].selectedTab ? "Active" : "")) && c(i, "class", u), _[0] & /*dailyeventsDetails*/
281
281
  4 && h !== (h = /*i*/
282
282
  a[33] === /*event*/
283
- a[28].selectedTab ? "SelectedTab" : "") && d(e, "class", h);
283
+ a[28].selectedTab ? "SelectedTab" : "") && c(e, "class", h);
284
284
  },
285
285
  d(w) {
286
- w && L(e), u = !1, b();
286
+ w && L(e), y = !1, b();
287
287
  }
288
288
  };
289
289
  }
290
290
  function X(a) {
291
- let e, t, i, r, c, f, h, u, b, g, w = (
291
+ let e, t, i, r, u, f, h, y, b, g, w = (
292
292
  /*event*/
293
293
  a[28].details[
294
294
  /*event*/
@@ -297,34 +297,34 @@ function X(a) {
297
297
  ), _, D, k = H(
298
298
  /*event*/
299
299
  a[28].details
300
- ), y = [];
300
+ ), d = [];
301
301
  for (let s = 0; s < k.length; s += 1)
302
- y[s] = Q(J(a, k, s));
302
+ d[s] = Q(J(a, k, s));
303
303
  return {
304
304
  c() {
305
- e = T("div"), t = T("div"), i = T("ui-image"), f = F(), h = T("div"), u = T("div");
306
- for (let s = 0; s < y.length; s += 1)
307
- y[s].c();
305
+ e = T("div"), t = T("div"), i = T("ui-image"), f = F(), h = T("div"), y = T("div");
306
+ for (let s = 0; s < d.length; s += 1)
307
+ d[s].c();
308
308
  b = F(), g = T("div"), D = F(), I(i, "class", "CasinoCalendarFitImage"), O(i.src, r = /*event*/
309
- a[28].image) || I(i, "src", r), I(i, "alt", c = /*event*/
310
- a[28].image), d(t, "class", "CasinoCalendarImage"), d(u, "class", "DetailsTabsTitles"), d(g, "class", _ = "DetailTabsDescription " + /*event*/
309
+ a[28].image) || I(i, "src", r), I(i, "alt", u = /*event*/
310
+ a[28].image), c(t, "class", "CasinoCalendarImage"), c(y, "class", "DetailsTabsTitles"), c(g, "class", _ = "DetailTabsDescription " + /*event*/
311
311
  (a[28].details[
312
312
  /*event*/
313
313
  a[28].selectedTab
314
- ].expandedTab ? "" : "NotVisible")), d(h, "class", "CasinoCalendarTabs"), d(e, "class", "CasinoCalendarDailyDetailsParent");
314
+ ].expandedTab ? "" : "NotVisible")), c(h, "class", "CasinoCalendarTabs"), c(e, "class", "CasinoCalendarDailyDetailsParent");
315
315
  },
316
316
  m(s, o) {
317
- E(s, e, o), m(e, t), m(t, i), m(e, f), m(e, h), m(h, u);
318
- for (let l = 0; l < y.length; l += 1)
319
- y[l] && y[l].m(u, null);
317
+ E(s, e, o), m(e, t), m(t, i), m(e, f), m(e, h), m(h, y);
318
+ for (let l = 0; l < d.length; l += 1)
319
+ d[l] && d[l].m(y, null);
320
320
  m(h, b), m(h, g), g.innerHTML = w, m(e, D);
321
321
  },
322
322
  p(s, o) {
323
323
  if (o[0] & /*dailyeventsDetails*/
324
324
  4 && !O(i.src, r = /*event*/
325
325
  s[28].image) && I(i, "src", r), o[0] & /*dailyeventsDetails*/
326
- 4 && c !== (c = /*event*/
327
- s[28].image) && I(i, "alt", c), o[0] & /*dailyeventsDetails, setActiveTab*/
326
+ 4 && u !== (u = /*event*/
327
+ s[28].image) && I(i, "alt", u), o[0] & /*dailyeventsDetails, setActiveTab*/
328
328
  132) {
329
329
  k = H(
330
330
  /*event*/
@@ -333,11 +333,11 @@ function X(a) {
333
333
  let l;
334
334
  for (l = 0; l < k.length; l += 1) {
335
335
  const x = J(s, k, l);
336
- y[l] ? y[l].p(x, o) : (y[l] = Q(x), y[l].c(), y[l].m(u, null));
336
+ d[l] ? d[l].p(x, o) : (d[l] = Q(x), d[l].c(), d[l].m(y, null));
337
337
  }
338
- for (; l < y.length; l += 1)
339
- y[l].d(1);
340
- y.length = k.length;
338
+ for (; l < d.length; l += 1)
339
+ d[l].d(1);
340
+ d.length = k.length;
341
341
  }
342
342
  o[0] & /*dailyeventsDetails*/
343
343
  4 && w !== (w = /*event*/
@@ -349,50 +349,50 @@ function X(a) {
349
349
  (s[28].details[
350
350
  /*event*/
351
351
  s[28].selectedTab
352
- ].expandedTab ? "" : "NotVisible")) && d(g, "class", _);
352
+ ].expandedTab ? "" : "NotVisible")) && c(g, "class", _);
353
353
  },
354
354
  d(s) {
355
- s && L(e), Z(y, s);
355
+ s && L(e), Z(d, s);
356
356
  }
357
357
  };
358
358
  }
359
359
  function je(a) {
360
360
  let e, t, i, r;
361
- const c = [Ie, Fe, Le], f = [];
362
- function h(u, b) {
361
+ const u = [Ie, Fe, Le], f = [];
362
+ function h(y, b) {
363
363
  return (
364
364
  /*isLoading*/
365
- u[3] ? 1 : 2
365
+ y[3] ? 1 : 2
366
366
  );
367
367
  }
368
- return t = h(a), i = f[t] = c[t](a), {
368
+ return t = h(a), i = f[t] = u[t](a), {
369
369
  c() {
370
370
  e = T("div"), i.c();
371
371
  },
372
- m(u, b) {
373
- E(u, e, b), f[t].m(e, null), a[21](e), r = !0;
372
+ m(y, b) {
373
+ E(y, e, b), f[t].m(e, null), a[21](e), r = !0;
374
374
  },
375
- p(u, b) {
375
+ p(y, b) {
376
376
  let g = t;
377
- t = h(u), t === g ? f[t].p(u, b) : (he(), A(f[g], 1, 1, () => {
377
+ t = h(y), t === g ? f[t].p(y, b) : (be(), A(f[g], 1, 1, () => {
378
378
  f[g] = null;
379
- }), ye(), i = f[t], i ? i.p(u, b) : (i = f[t] = c[t](u), i.c()), N(i, 1), i.m(e, null));
379
+ }), ye(), i = f[t], i ? i.p(y, b) : (i = f[t] = u[t](y), i.c()), N(i, 1), i.m(e, null));
380
380
  },
381
- i(u) {
381
+ i(y) {
382
382
  r || (N(i), r = !0);
383
383
  },
384
- o(u) {
384
+ o(y) {
385
385
  A(i), r = !1;
386
386
  },
387
- d(u) {
388
- u && L(e), f[t].d(), a[21](null);
387
+ d(y) {
388
+ y && L(e), f[t].d(), a[21](null);
389
389
  }
390
390
  };
391
391
  }
392
392
  function He(a, e, t) {
393
393
  let i;
394
394
  ge(a, Ce, (n) => t(5, i = n));
395
- let { $$slots: r = {}, $$scope: c } = e, { dailybackground: f = "" } = e, { dailybuttontitle: h = "" } = e, { dailyday: u = "" } = e, { dailydescription: b = "<p></p>" } = e, { dailyicon: g = "" } = e, { dailytitle: w = "" } = e, { lang: _ = "en" } = e, { mbsource: D } = e, { clientstyling: k = "" } = e, { clientstylingurl: y = "" } = e, { translationurl: s = "" } = e, o = [], l = !0, x = !1, p = window.navigator.userAgent, C;
395
+ let { $$slots: r = {}, $$scope: u } = e, { dailybackground: f = "" } = e, { dailybuttontitle: h = "" } = e, { dailyday: y = "" } = e, { dailydescription: b = "<p></p>" } = e, { dailyicon: g = "" } = e, { dailytitle: w = "" } = e, { lang: _ = "en" } = e, { mbsource: D } = e, { clientstyling: k = "" } = e, { clientstylingurl: d = "" } = e, { translationurl: s = "" } = e, o = [], l = !0, x = !1, p = window.navigator.userAgent, C;
396
396
  const $ = () => {
397
397
  Se(_);
398
398
  };
@@ -424,28 +424,28 @@ function He(a, e, t) {
424
424
  o[M].selectedTab != le ? j.expandedTab = !1 : j.expandedTab = !0;
425
425
  });
426
426
  };
427
- fe(() => (window.addEventListener("message", q, !1), me(p) && t(4, x = !0), () => {
427
+ fe(() => (window.addEventListener("message", q, !1), _e(p) && t(4, x = !0), () => {
428
428
  window.removeEventListener("message", q);
429
429
  }));
430
430
  const ae = (n, v, M) => {
431
431
  V(n, v, M);
432
432
  };
433
433
  function ie(n) {
434
- be[n ? "unshift" : "push"](() => {
434
+ pe[n ? "unshift" : "push"](() => {
435
435
  C = n, t(1, C);
436
436
  });
437
437
  }
438
438
  return a.$$set = (n) => {
439
- "dailybackground" in n && t(8, f = n.dailybackground), "dailybuttontitle" in n && t(9, h = n.dailybuttontitle), "dailyday" in n && t(0, u = n.dailyday), "dailydescription" in n && t(10, b = n.dailydescription), "dailyicon" in n && t(11, g = n.dailyicon), "dailytitle" in n && t(12, w = n.dailytitle), "lang" in n && t(13, _ = n.lang), "mbsource" in n && t(14, D = n.mbsource), "clientstyling" in n && t(15, k = n.clientstyling), "clientstylingurl" in n && t(16, y = n.clientstylingurl), "translationurl" in n && t(17, s = n.translationurl), "$$scope" in n && t(18, c = n.$$scope);
439
+ "dailybackground" in n && t(8, f = n.dailybackground), "dailybuttontitle" in n && t(9, h = n.dailybuttontitle), "dailyday" in n && t(0, y = n.dailyday), "dailydescription" in n && t(10, b = n.dailydescription), "dailyicon" in n && t(11, g = n.dailyicon), "dailytitle" in n && t(12, w = n.dailytitle), "lang" in n && t(13, _ = n.lang), "mbsource" in n && t(14, D = n.mbsource), "clientstyling" in n && t(15, k = n.clientstyling), "clientstylingurl" in n && t(16, d = n.clientstylingurl), "translationurl" in n && t(17, s = n.translationurl), "$$scope" in n && t(18, u = n.$$scope);
440
440
  }, a.$$.update = () => {
441
441
  a.$$.dirty[0] & /*lang*/
442
442
  8192 && _ && $(), a.$$.dirty[0] & /*lang, translationurl*/
443
443
  139264 && _ && s && ee(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
444
- 32770 && k && C && _e(C, k), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
445
- 65538 && y && C && pe(C, y), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
446
- 16386 && D && C && we(C, `${D}.Style`);
444
+ 32770 && k && C && we(C, k), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
445
+ 65538 && d && C && he(C, d), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
446
+ 16386 && D && C && me(C, `${D}.Style`);
447
447
  }, [
448
- u,
448
+ y,
449
449
  C,
450
450
  o,
451
451
  l,
@@ -461,9 +461,9 @@ function He(a, e, t) {
461
461
  _,
462
462
  D,
463
463
  k,
464
- y,
464
+ d,
465
465
  s,
466
- c,
466
+ u,
467
467
  r,
468
468
  ae,
469
469
  ie
@@ -1,5 +1,5 @@
1
- import { a as N, $ as U, S as G, i as J, f as y, c as V, s as K, b as Q, e as u, w as L, x as D, y as c, I as R, H as B, L as A, d as X, z as r, A as Y, E as O, G as W, j as Z, k as $, o as ee, m as te, n as P, p as ae, q as ie, r as ne, J as re } from "./CasinoCalendar-DdMvhCOA.js";
2
- import "../stencil/ui-image-CzGNxx73.js";
1
+ import { a as N, $ as U, S as G, i as J, f as y, c as V, s as K, b as Q, e as u, w as L, x as D, y as c, I as R, H as B, L as A, d as X, z as r, A as Y, E as O, G as W, j as Z, k as $, o as ee, l as te, m as ae, p as ie, q as P, r as ne, J as re } from "./CasinoCalendar-BVD-g7V2.js";
2
+ import "../stencil/ui-image-BAqS-hS6.js";
3
3
  function q(a, t) {
4
4
  N(a, t);
5
5
  }
@@ -165,7 +165,7 @@ function se(a, t, i) {
165
165
  }, k = () => {
166
166
  window.postMessage({ type: "OpenCalendar", index: m }, window.location.href), typeof gtag == "function" && gtag("event", "MoreInfo", { context: "CalendarWidgetItem" });
167
167
  };
168
- ee(() => (te(_) && i(7, z = !0), () => {
168
+ ee(() => (ie(_) && i(7, z = !0), () => {
169
169
  }));
170
170
  function E(e) {
171
171
  P[e ? "unshift" : "push"](() => {
@@ -185,9 +185,9 @@ function se(a, t, i) {
185
185
  1024 && l && C(), a.$$.dirty & /*lang, translationurl*/
186
186
  33792 && l && x && T(), a.$$.dirty & /*dailyicon, dailyday, dailydescription, dailybuttontitle, dailybackground*/
187
187
  2063 && F && n && g && s && f && S(), a.$$.dirty & /*clientstyling, customStylingContainer*/
188
- 8224 && b && o && ae(o, b), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
189
- 16416 && h && o && ie(o, h), a.$$.dirty & /*mbsource, customStylingContainer*/
190
- 4128 && v && o && ne(o, `${v}.Style`);
188
+ 8224 && b && o && ne(o, b), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
189
+ 16416 && h && o && te(o, h), a.$$.dirty & /*mbsource, customStylingContainer*/
190
+ 4128 && v && o && ae(o, `${v}.Style`);
191
191
  }, [
192
192
  f,
193
193
  F,
@@ -1,5 +1,5 @@
1
- import { a as N, $ as U, S as G, i as J, f as y, c as V, s as K, b as Q, e as u, w as L, x as D, y as c, I as R, H as B, L as A, d as X, z as r, A as Y, E as O, G as W, j as Z, k as $, o as ee, m as te, n as P, p as ae, q as ie, r as ne, J as re } from "./CasinoCalendar-BuZNkBai.js";
2
- import "../stencil/ui-image-B_HWMBI-.js";
1
+ import { a as N, $ as U, S as G, i as J, f as y, c as V, s as K, b as Q, e as u, w as L, x as D, y as c, I as R, H as B, L as A, d as X, z as r, A as Y, E as O, G as W, j as Z, k as $, o as ee, l as te, m as ae, p as ie, q as P, r as ne, J as re } from "./CasinoCalendar-CDNIjQ8T.js";
2
+ import "../stencil/ui-image-I_uR7pAI.js";
3
3
  function q(a, t) {
4
4
  N(a, t);
5
5
  }
@@ -165,7 +165,7 @@ function se(a, t, i) {
165
165
  }, k = () => {
166
166
  window.postMessage({ type: "OpenCalendar", index: m }, window.location.href), typeof gtag == "function" && gtag("event", "MoreInfo", { context: "CalendarWidgetItem" });
167
167
  };
168
- ee(() => (te(_) && i(7, z = !0), () => {
168
+ ee(() => (ie(_) && i(7, z = !0), () => {
169
169
  }));
170
170
  function E(e) {
171
171
  P[e ? "unshift" : "push"](() => {
@@ -185,9 +185,9 @@ function se(a, t, i) {
185
185
  1024 && l && C(), a.$$.dirty & /*lang, translationurl*/
186
186
  33792 && l && x && T(), a.$$.dirty & /*dailyicon, dailyday, dailydescription, dailybuttontitle, dailybackground*/
187
187
  2063 && F && n && g && s && f && S(), a.$$.dirty & /*clientstyling, customStylingContainer*/
188
- 8224 && b && o && ae(o, b), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
189
- 16416 && h && o && ie(o, h), a.$$.dirty & /*mbsource, customStylingContainer*/
190
- 4128 && v && o && ne(o, `${v}.Style`);
188
+ 8224 && b && o && ne(o, b), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
189
+ 16416 && h && o && te(o, h), a.$$.dirty & /*mbsource, customStylingContainer*/
190
+ 4128 && v && o && ae(o, `${v}.Style`);
191
191
  }, [
192
192
  f,
193
193
  F,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-CFUoQxq0.cjs");require("../stencil/ui-image-wubI3fkK.cjs");function z(n,a){e.addMessages(n,a)}function B(n){e.$locale.set(n)}const E={en:{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},hr:{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"ponedjeljak",tuesday:"utorak",wednesday:"srijeda",thursday:"četvrtak",friday:"petak",saturday:"subota",sunday:"nedjelja"},"pt-br":{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},"es-mx":{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},tr:{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},"en-us":{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"}};function j(n){e.append_styles(n,"svelte-l9b1y7",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.Container{display:flex;overflow-x:unset;justify-content:space-between;position:relative;width:100%;border-radius:0 0 5px 5px}.Container::-webkit-scrollbar{display:none}.CalendarBar{width:100%;height:28px;background:rgba(156, 163, 175, 0.25);border-radius:4px 4px 0 0;border-bottom:3px solid rgba(156, 163, 175, 0.5);display:block;z-index:2}.CalendarBar::before{content:"";position:absolute;z-index:-1}.RingLeft::before{content:"";width:8px;height:24px;border-radius:10px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;left:22px;position:absolute;z-index:1}.RingLeft::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:var(--emw--border-radius-medium, 10px);box-shadow:0 1px 1px var(--emw--color-white, #FFFFFF);top:6px;right:20px;position:absolute;z-index:0}.RingRight::before{content:"";width:8px;height:24px;border-radius:10px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;right:22px;position:absolute;z-index:1}.RingRight::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:var(--emw--border-radius-medium, 10px);box-shadow:0 1px 1px #fff;top:6px;left:20px;position:absolute;z-index:0}.CalendarPage{width:100%;min-width:170px;height:170px;padding:8px 8px 30px 8px;text-align:center;border-radius:0 0 2px 2px;color:var(--emw--color-white, #FFFFFF);position:relative;z-index:0}.CalendarPage.Tear{animation:tearoff 1.5s both;transform-origin:0 100%;box-shadow:-1px -1px 4px rgba(0, 0, 0, 0.4)}@keyframes tearoff{0%{top:0}40%{transform:rotate(4deg);top:10px;opacity:1}65%{opacity:1}90%{transform:rotate(4deg);top:20px;opacity:0}95%{transform:rotate(0deg);top:0px;opacity:0}100%{transform:rotate(0deg);top:0px;opacity:1}}.CalendarCard{margin:16px 0 12px;width:170px;height:240px;text-align:center;border-radius:5px;color:var(--emw--color-white, #FFFFFF);position:relative;display:block}.CasinoCalendarItems{width:100%}.CasinoCalendarItemBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;color:var(--emw--color-white, #FFFFFF);background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-position:center;background-size:cover;background-blend-mode:multiply;background-image:linear-gradient(var(--emw--color-gray-300, rgba(88, 88, 107, 0.9019607843)), var(--emw--color-gray-300, rgba(88, 88, 107, 0.9019607843))), var(--background-image-url);background-size:cover;background-position:center;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;height:100%;width:100%;border-radius:0 0 5px 5px}.CasinoCalendarDailyIcon{height:20px;margin:15px}.CasinoCalendarDailyIcon ui-image img{max-height:28px}.CasinoCalendarDailyTitle{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription{padding:15px;margin-bottom:20px;font-size:14px;height:90px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton{width:100%;text-align:center}.MoreInfoButton{display:flex;justify-content:center;width:100%;padding:8px 6px;border-radius:5px;border:none;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 10px);cursor:pointer;transition:border 150ms ease-in-out}')}function D(n){let a,i,h,l,g,v,r,u,s,p,f,c,y=n[8](`${n[2]}`)+"",m,b,d,F,C,x,S,k,w,I,T;return{c(){a=e.element("div"),i=e.element("div"),h=e.element("div"),l=e.element("div"),g=e.element("div"),g.innerHTML='<div class="RingLeft"></div> <div class="RingRight"></div>',v=e.space(),r=e.element("div"),u=e.element("div"),s=e.element("ui-image"),f=e.space(),c=e.element("div"),m=e.text(y),b=e.space(),d=e.element("div"),F=e.space(),C=e.element("div"),x=e.element("button"),S=e.text(n[3]),e.attr(g,"class","CalendarBar"),e.src_url_equal(s.src,p=n[1])||e.set_custom_element_data(s,"src",p),e.set_custom_element_data(s,"alt",n[1]),e.attr(u,"class","CasinoCalendarDailyIcon"),e.attr(c,"class","CasinoCalendarDailyTitle"),e.attr(d,"class","CasinoCalendarDailyItemDescription"),e.attr(x,"class","MoreInfoButton"),e.attr(C,"class","CasinoCalendarDailyItemButton"),e.attr(r,"class",k="CasinoCalendarItemBackground CalendarPage "+(n[4]=="OpenCalendarModal"?"Tear":"")),e.set_style(r,"--background-image-url","url('"+n[0]+"')"),e.attr(l,"class","CalendarCard"),e.attr(h,"class","CasinoCalendarItems"),e.attr(i,"class",w="Container "+(n[7]?"Mobile":""))},m(o,t){e.insert(o,a,t),e.append(a,i),e.append(i,h),e.append(h,l),e.append(l,g),e.append(l,v),e.append(l,r),e.append(r,u),e.append(u,s),e.append(r,f),e.append(r,c),e.append(c,m),e.append(r,b),e.append(r,d),n[16](d),e.append(r,F),e.append(r,C),e.append(C,x),e.append(x,S),n[18](a),I||(T=e.listen(x,"click",n[17]),I=!0)},p(o,[t]){t&2&&!e.src_url_equal(s.src,p=o[1])&&e.set_custom_element_data(s,"src",p),t&2&&e.set_custom_element_data(s,"alt",o[1]),t&260&&y!==(y=o[8](`${o[2]}`)+"")&&e.set_data(m,y),t&8&&e.set_data(S,o[3]),t&16&&k!==(k="CasinoCalendarItemBackground CalendarPage "+(o[4]=="OpenCalendarModal"?"Tear":""))&&e.attr(r,"class",k),t&1&&e.set_style(r,"--background-image-url","url('"+o[0]+"')"),t&128&&w!==(w="Container "+(o[7]?"Mobile":""))&&e.attr(i,"class",w)},i:e.noop,o:e.noop,d(o){o&&e.detach(a),n[16](null),n[18](null),I=!1,T()}}}function R(n,a,i){let h;e.component_subscribe(n,e.$format,t=>i(8,h=t));let{lang:l=""}=a,{dailybackground:g=""}=a,{dailyicon:v=""}=a,{dailyday:r=""}=a,{dailydescription:u="<p></p>"}=a,{dailybuttontitle:s=""}=a,{index:p="0"}=a,{mbsource:f}=a,{clientstyling:c=""}=a,{clientstylingurl:y=""}=a,{translationurl:m=""}=a,b,d,F=!1,C=window.navigator.userAgent;const x=()=>{B(l)};Object.keys(E).forEach(t=>{z(t,E[t])});const S=()=>{let t=m;if(t)return fetch(t).then(_=>_.json()).then(_=>{Object.keys(_).forEach(M=>{z(M,_[M])})}).catch(_=>{console.log(_)})},k=()=>{let t=document.createElement("div");t.innerHTML=u,b&&b.append(t)},w=()=>{window.postMessage({type:"OpenCalendar",index:p},window.location.href),typeof gtag=="function"&&gtag("event","MoreInfo",{context:"CalendarWidgetItem"})};e.onMount(()=>(e.isMobile(C)&&i(7,F=!0),()=>{}));function I(t){e.binding_callbacks[t?"unshift":"push"](()=>{b=t,i(6,b)})}const T=()=>w();function o(t){e.binding_callbacks[t?"unshift":"push"](()=>{d=t,i(5,d)})}return n.$$set=t=>{"lang"in t&&i(10,l=t.lang),"dailybackground"in t&&i(0,g=t.dailybackground),"dailyicon"in t&&i(1,v=t.dailyicon),"dailyday"in t&&i(2,r=t.dailyday),"dailydescription"in t&&i(11,u=t.dailydescription),"dailybuttontitle"in t&&i(3,s=t.dailybuttontitle),"index"in t&&i(4,p=t.index),"mbsource"in t&&i(12,f=t.mbsource),"clientstyling"in t&&i(13,c=t.clientstyling),"clientstylingurl"in t&&i(14,y=t.clientstylingurl),"translationurl"in t&&i(15,m=t.translationurl)},n.$$.update=()=>{n.$$.dirty&1024&&l&&x(),n.$$.dirty&33792&&l&&m&&S(),n.$$.dirty&2063&&v&&r&&u&&s&&g&&k(),n.$$.dirty&8224&&c&&d&&e.setClientStyling(d,c),n.$$.dirty&16416&&y&&d&&e.setClientStylingURL(d,y),n.$$.dirty&4128&&f&&d&&e.setStreamStyling(d,`${f}.Style`)},[g,v,r,s,p,d,b,F,h,w,l,u,f,c,y,m,I,T,o]}class L extends e.SvelteComponent{constructor(a){super(),e.init(this,a,R,D,e.safe_not_equal,{lang:10,dailybackground:0,dailyicon:1,dailyday:2,dailydescription:11,dailybuttontitle:3,index:4,mbsource:12,clientstyling:13,clientstylingurl:14,translationurl:15},j)}get lang(){return this.$$.ctx[10]}set lang(a){this.$$set({lang:a}),e.flush()}get dailybackground(){return this.$$.ctx[0]}set dailybackground(a){this.$$set({dailybackground:a}),e.flush()}get dailyicon(){return this.$$.ctx[1]}set dailyicon(a){this.$$set({dailyicon:a}),e.flush()}get dailyday(){return this.$$.ctx[2]}set dailyday(a){this.$$set({dailyday:a}),e.flush()}get dailydescription(){return this.$$.ctx[11]}set dailydescription(a){this.$$set({dailydescription:a}),e.flush()}get dailybuttontitle(){return this.$$.ctx[3]}set dailybuttontitle(a){this.$$set({dailybuttontitle:a}),e.flush()}get index(){return this.$$.ctx[4]}set index(a){this.$$set({index:a}),e.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(a){this.$$set({mbsource:a}),e.flush()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(a){this.$$set({clientstyling:a}),e.flush()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(a){this.$$set({clientstylingurl:a}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(a){this.$$set({translationurl:a}),e.flush()}}e.create_custom_element(L,{lang:{},dailybackground:{},dailyicon:{},dailyday:{},dailydescription:{},dailybuttontitle:{},index:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=L;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-B4OJuO_L.cjs");require("../stencil/ui-image-CH2Jdp7k.cjs");function z(n,a){e.addMessages(n,a)}function B(n){e.$locale.set(n)}const E={en:{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},hr:{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"ponedjeljak",tuesday:"utorak",wednesday:"srijeda",thursday:"četvrtak",friday:"petak",saturday:"subota",sunday:"nedjelja"},"pt-br":{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},"es-mx":{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},tr:{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},"en-us":{error:"500 Error - Internal Server Error",loading:"Loading ...",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"}};function j(n){e.append_styles(n,"svelte-l9b1y7",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.Container{display:flex;overflow-x:unset;justify-content:space-between;position:relative;width:100%;border-radius:0 0 5px 5px}.Container::-webkit-scrollbar{display:none}.CalendarBar{width:100%;height:28px;background:rgba(156, 163, 175, 0.25);border-radius:4px 4px 0 0;border-bottom:3px solid rgba(156, 163, 175, 0.5);display:block;z-index:2}.CalendarBar::before{content:"";position:absolute;z-index:-1}.RingLeft::before{content:"";width:8px;height:24px;border-radius:10px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;left:22px;position:absolute;z-index:1}.RingLeft::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:var(--emw--border-radius-medium, 10px);box-shadow:0 1px 1px var(--emw--color-white, #FFFFFF);top:6px;right:20px;position:absolute;z-index:0}.RingRight::before{content:"";width:8px;height:24px;border-radius:10px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;right:22px;position:absolute;z-index:1}.RingRight::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:var(--emw--border-radius-medium, 10px);box-shadow:0 1px 1px #fff;top:6px;left:20px;position:absolute;z-index:0}.CalendarPage{width:100%;min-width:170px;height:170px;padding:8px 8px 30px 8px;text-align:center;border-radius:0 0 2px 2px;color:var(--emw--color-white, #FFFFFF);position:relative;z-index:0}.CalendarPage.Tear{animation:tearoff 1.5s both;transform-origin:0 100%;box-shadow:-1px -1px 4px rgba(0, 0, 0, 0.4)}@keyframes tearoff{0%{top:0}40%{transform:rotate(4deg);top:10px;opacity:1}65%{opacity:1}90%{transform:rotate(4deg);top:20px;opacity:0}95%{transform:rotate(0deg);top:0px;opacity:0}100%{transform:rotate(0deg);top:0px;opacity:1}}.CalendarCard{margin:16px 0 12px;width:170px;height:240px;text-align:center;border-radius:5px;color:var(--emw--color-white, #FFFFFF);position:relative;display:block}.CasinoCalendarItems{width:100%}.CasinoCalendarItemBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;color:var(--emw--color-white, #FFFFFF);background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-position:center;background-size:cover;background-blend-mode:multiply;background-image:linear-gradient(var(--emw--color-gray-300, rgba(88, 88, 107, 0.9019607843)), var(--emw--color-gray-300, rgba(88, 88, 107, 0.9019607843))), var(--background-image-url);background-size:cover;background-position:center;-webkit-background-size:cover;-moz-background-size:cover;-o-background-size:cover;height:100%;width:100%;border-radius:0 0 5px 5px}.CasinoCalendarDailyIcon{height:20px;margin:15px}.CasinoCalendarDailyIcon ui-image img{max-height:28px}.CasinoCalendarDailyTitle{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription{padding:15px;margin-bottom:20px;font-size:14px;height:90px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton{width:100%;text-align:center}.MoreInfoButton{display:flex;justify-content:center;width:100%;padding:8px 6px;border-radius:5px;border:none;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 10px);cursor:pointer;transition:border 150ms ease-in-out}')}function D(n){let a,i,h,l,g,v,r,u,s,p,f,c,y=n[8](`${n[2]}`)+"",m,b,d,F,C,x,S,k,w,I,T;return{c(){a=e.element("div"),i=e.element("div"),h=e.element("div"),l=e.element("div"),g=e.element("div"),g.innerHTML='<div class="RingLeft"></div> <div class="RingRight"></div>',v=e.space(),r=e.element("div"),u=e.element("div"),s=e.element("ui-image"),f=e.space(),c=e.element("div"),m=e.text(y),b=e.space(),d=e.element("div"),F=e.space(),C=e.element("div"),x=e.element("button"),S=e.text(n[3]),e.attr(g,"class","CalendarBar"),e.src_url_equal(s.src,p=n[1])||e.set_custom_element_data(s,"src",p),e.set_custom_element_data(s,"alt",n[1]),e.attr(u,"class","CasinoCalendarDailyIcon"),e.attr(c,"class","CasinoCalendarDailyTitle"),e.attr(d,"class","CasinoCalendarDailyItemDescription"),e.attr(x,"class","MoreInfoButton"),e.attr(C,"class","CasinoCalendarDailyItemButton"),e.attr(r,"class",k="CasinoCalendarItemBackground CalendarPage "+(n[4]=="OpenCalendarModal"?"Tear":"")),e.set_style(r,"--background-image-url","url('"+n[0]+"')"),e.attr(l,"class","CalendarCard"),e.attr(h,"class","CasinoCalendarItems"),e.attr(i,"class",w="Container "+(n[7]?"Mobile":""))},m(o,t){e.insert(o,a,t),e.append(a,i),e.append(i,h),e.append(h,l),e.append(l,g),e.append(l,v),e.append(l,r),e.append(r,u),e.append(u,s),e.append(r,f),e.append(r,c),e.append(c,m),e.append(r,b),e.append(r,d),n[16](d),e.append(r,F),e.append(r,C),e.append(C,x),e.append(x,S),n[18](a),I||(T=e.listen(x,"click",n[17]),I=!0)},p(o,[t]){t&2&&!e.src_url_equal(s.src,p=o[1])&&e.set_custom_element_data(s,"src",p),t&2&&e.set_custom_element_data(s,"alt",o[1]),t&260&&y!==(y=o[8](`${o[2]}`)+"")&&e.set_data(m,y),t&8&&e.set_data(S,o[3]),t&16&&k!==(k="CasinoCalendarItemBackground CalendarPage "+(o[4]=="OpenCalendarModal"?"Tear":""))&&e.attr(r,"class",k),t&1&&e.set_style(r,"--background-image-url","url('"+o[0]+"')"),t&128&&w!==(w="Container "+(o[7]?"Mobile":""))&&e.attr(i,"class",w)},i:e.noop,o:e.noop,d(o){o&&e.detach(a),n[16](null),n[18](null),I=!1,T()}}}function R(n,a,i){let h;e.component_subscribe(n,e.$format,t=>i(8,h=t));let{lang:l=""}=a,{dailybackground:g=""}=a,{dailyicon:v=""}=a,{dailyday:r=""}=a,{dailydescription:u="<p></p>"}=a,{dailybuttontitle:s=""}=a,{index:p="0"}=a,{mbsource:f}=a,{clientstyling:c=""}=a,{clientstylingurl:y=""}=a,{translationurl:m=""}=a,b,d,F=!1,C=window.navigator.userAgent;const x=()=>{B(l)};Object.keys(E).forEach(t=>{z(t,E[t])});const S=()=>{let t=m;if(t)return fetch(t).then(_=>_.json()).then(_=>{Object.keys(_).forEach(M=>{z(M,_[M])})}).catch(_=>{console.log(_)})},k=()=>{let t=document.createElement("div");t.innerHTML=u,b&&b.append(t)},w=()=>{window.postMessage({type:"OpenCalendar",index:p},window.location.href),typeof gtag=="function"&&gtag("event","MoreInfo",{context:"CalendarWidgetItem"})};e.onMount(()=>(e.isMobile(C)&&i(7,F=!0),()=>{}));function I(t){e.binding_callbacks[t?"unshift":"push"](()=>{b=t,i(6,b)})}const T=()=>w();function o(t){e.binding_callbacks[t?"unshift":"push"](()=>{d=t,i(5,d)})}return n.$$set=t=>{"lang"in t&&i(10,l=t.lang),"dailybackground"in t&&i(0,g=t.dailybackground),"dailyicon"in t&&i(1,v=t.dailyicon),"dailyday"in t&&i(2,r=t.dailyday),"dailydescription"in t&&i(11,u=t.dailydescription),"dailybuttontitle"in t&&i(3,s=t.dailybuttontitle),"index"in t&&i(4,p=t.index),"mbsource"in t&&i(12,f=t.mbsource),"clientstyling"in t&&i(13,c=t.clientstyling),"clientstylingurl"in t&&i(14,y=t.clientstylingurl),"translationurl"in t&&i(15,m=t.translationurl)},n.$$.update=()=>{n.$$.dirty&1024&&l&&x(),n.$$.dirty&33792&&l&&m&&S(),n.$$.dirty&2063&&v&&r&&u&&s&&g&&k(),n.$$.dirty&8224&&c&&d&&e.setClientStyling(d,c),n.$$.dirty&16416&&y&&d&&e.setClientStylingURL(d,y),n.$$.dirty&4128&&f&&d&&e.setStreamStyling(d,`${f}.Style`)},[g,v,r,s,p,d,b,F,h,w,l,u,f,c,y,m,I,T,o]}class L extends e.SvelteComponent{constructor(a){super(),e.init(this,a,R,D,e.safe_not_equal,{lang:10,dailybackground:0,dailyicon:1,dailyday:2,dailydescription:11,dailybuttontitle:3,index:4,mbsource:12,clientstyling:13,clientstylingurl:14,translationurl:15},j)}get lang(){return this.$$.ctx[10]}set lang(a){this.$$set({lang:a}),e.flush()}get dailybackground(){return this.$$.ctx[0]}set dailybackground(a){this.$$set({dailybackground:a}),e.flush()}get dailyicon(){return this.$$.ctx[1]}set dailyicon(a){this.$$set({dailyicon:a}),e.flush()}get dailyday(){return this.$$.ctx[2]}set dailyday(a){this.$$set({dailyday:a}),e.flush()}get dailydescription(){return this.$$.ctx[11]}set dailydescription(a){this.$$set({dailydescription:a}),e.flush()}get dailybuttontitle(){return this.$$.ctx[3]}set dailybuttontitle(a){this.$$set({dailybuttontitle:a}),e.flush()}get index(){return this.$$.ctx[4]}set index(a){this.$$set({index:a}),e.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(a){this.$$set({mbsource:a}),e.flush()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(a){this.$$set({clientstyling:a}),e.flush()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(a){this.$$set({clientstylingurl:a}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(a){this.$$set({translationurl:a}),e.flush()}}e.create_custom_element(L,{lang:{},dailybackground:{},dailyicon:{},dailyday:{},dailydescription:{},dailybuttontitle:{},index:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=L;
@@ -1,4 +1,4 @@
1
- import { a as be, $ as Ce, S as ye, i as _e, f as M, c as we, s as Se, b as ke, e as y, d as x, G as T, j, k as Ge, o as Pe, m as Le, n as Y, p as Me, q as xe, r as je, v as B, x as I, w as F, y as m, z as b, E as R, F as ne, A as z, M as Fe, L as N, J as Te, I as O, N as Be } from "./CasinoCalendar-BuZNkBai.js";
1
+ import { a as be, $ as Ce, S as ye, i as _e, f as M, c as we, s as Se, b as ke, e as y, d as x, G as T, j, k as Ge, o as Pe, l as Le, p as Me, q as Y, r as xe, m as je, v as B, x as I, w as F, y as m, z as b, E as R, F as ne, A as z, M as Fe, L as N, J as Te, I as O, N as Be } from "./CasinoCalendar-CDNIjQ8T.js";
2
2
  function Q(t, e) {
3
3
  be(t, e);
4
4
  }
@@ -501,7 +501,7 @@ function Re(t, e, i) {
501
501
  }, ue = () => {
502
502
  ze(c);
503
503
  };
504
- Pe(() => (i(9, V = Le(re)), () => {
504
+ Pe(() => (i(9, V = Me(re)), () => {
505
505
  }));
506
506
  const me = (o) => Z(o.gameId, o.launchUrl, o.name, o.subVendor), fe = (o) => X(o.id);
507
507
  function pe(o) {
@@ -521,8 +521,8 @@ function Re(t, e, i) {
521
521
  229376 && l && r && c && W(), t.$$.dirty[0] & /*gameCategories, categoriesSlider*/
522
522
  24 && g && u && J(), t.$$.dirty[0] & /*lang*/
523
523
  131072 && c && ue(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
524
- 262176 && S && G && Me(G, S), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
525
- 524320 && s && G && xe(G, s), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
524
+ 262176 && S && G && xe(G, S), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
525
+ 524320 && s && G && Le(G, s), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
526
526
  2097184 && G && je(G, `${d}.Style`), t.$$.dirty[0] & /*translationurl*/
527
527
  1048576 && f && ae(), t.$$.dirty[0] & /*paginationrequired*/
528
528
  4194304 && A && W();
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-CFUoQxq0.cjs");function q(i,t){e.addMessages(i,t)}function ae(i){e.$locale.set(i)}const R={en:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"zh-hk":{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."},de:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."},it:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},fr:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."},es:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"},el:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."},tr:{collections:"Oyun Koleksiyonları",providers:"Oyun Sağlayıcıları",loading:"Yükleniyor, lütfen bekleyin..."},ru:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},ro:{collections:"Selectie Jocuri",providers:"Furnizori",loading:"Se încarcă, asteptati ..."},hr:{collections:"Kolekcije igara",providers:"Brendovi igara",loading:"Učitavam"},hu:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."},pl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},pt:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."},sl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},sr:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"pt-br":{collections:"Coleções de jogos",providers:"Provedores de jogos",Loading:"Carregando, por favor espere..."},"es-mx":{collections:"Colecciones de juego",providers:"Proveedores de juego",Loading:"Cargando, por favor espere..."},"en-us":{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}};function se(i){e.append_styles(i,"svelte-nnjza6",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));background-color:inherit;font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:var(--emw--border-radius-medium, 10px);display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:var(--emw--border-radius-medium, 10px);width:70px;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:var(--emw--border-radius-medium, 10px);width:60px;height:40px;object-fit:cover}.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--casino-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function I(i,t,l){const r=i.slice();return r[41]=t[l],r}function U(i,t,l){const r=i.slice();return r[44]=t[l],r}function de(i){let t,l,r,o=(i[0]==="vendor"?i[10]("providers"):i[10]("collections"))+"",a,g,_,v,w,d=i[7]>i[8]&&V(i),m=e.ensure_array_like(i[3]),s=[];for(let c=0;c<m.length;c+=1)s[c]=Z(I(i,m,c));return{c(){t=e.element("div"),l=e.element("div"),r=e.element("p"),a=e.text(o),g=e.space(),d&&d.c(),_=e.space(),v=e.element("div");for(let c=0;c<s.length;c+=1)s[c].c();e.attr(r,"class","Title"),e.attr(l,"class","CategoriesHeader"),e.attr(v,"class","CategoriesSlider"),e.attr(t,"class",w="CasinoCollectionsProviders "+(i[9]?"Mobile":"")+" "+(i[0]==="vendor"?"Providers":"Collections"))},m(c,u){e.insert(c,t,u),e.append(t,l),e.append(l,r),e.append(r,a),e.append(l,g),d&&d.m(l,null),e.append(t,_),e.append(t,v);for(let h=0;h<s.length;h+=1)s[h]&&s[h].m(v,null);i[25](v)},p(c,u){if(u[0]&1025&&o!==(o=(c[0]==="vendor"?c[10]("providers"):c[10]("collections"))+"")&&e.set_data(a,o),c[7]>c[8]?d?d.p(c,u):(d=V(c),d.c(),d.m(l,null)):d&&(d.d(1),d=null),u[0]&24590){m=e.ensure_array_like(c[3]);let h;for(h=0;h<m.length;h+=1){const p=I(c,m,h);s[h]?s[h].p(p,u):(s[h]=Z(p),s[h].c(),s[h].m(v,null))}for(;h<s.length;h+=1)s[h].d(1);s.length=m.length}u[0]&513&&w!==(w="CasinoCollectionsProviders "+(c[9]?"Mobile":"")+" "+(c[0]==="vendor"?"Providers":"Collections"))&&e.attr(t,"class",w)},d(c){c&&e.detach(t),d&&d.d(),e.destroy_each(s,c),i[25](null)}}}function ce(i){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner")},m(l,r){e.insert(l,t,r)},p:e.noop,d(l){l&&e.detach(t)}}}function V(i){let t,l,r,o,a,g;return{c(){t=e.element("div"),l=e.element("button"),l.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>',r=e.space(),o=e.element("button"),o.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>',e.attr(t,"class","ButtonsContainer")},m(_,v){e.insert(_,t,v),e.append(t,l),e.append(t,r),e.append(t,o),a||(g=[e.listen(l,"click",i[11]),e.listen(o,"click",i[12])],a=!0)},p:e.noop,d(_){_&&e.detach(t),a=!1,e.run_all(g)}}}function ge(i){let t,l=i[41].name+"",r;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"class","CategorySlideTitle")},m(o,a){e.insert(o,t,a),e.append(t,r)},p(o,a){a[0]&8&&l!==(l=o[41].name+"")&&e.set_data(r,l)},d(o){o&&e.detach(t)}}}function ue(i){let t,l,r;return{c(){t=e.element("img"),e.attr(t,"class","CategorySlideLogo"),e.src_url_equal(t.src,l=i[41].icon)||e.attr(t,"src",l),e.attr(t,"alt",r=i[41].name+" icon")},m(o,a){e.insert(o,t,a)},p(o,a){a[0]&8&&!e.src_url_equal(t.src,l=o[41].icon)&&e.attr(t,"src",l),a[0]&8&&r!==(r=o[41].name+" icon")&&e.attr(t,"alt",r)},d(o){o&&e.detach(t)}}}function W(i){let t,l=i[44].name+"",r,o;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"title",o=i[44].name)},m(a,g){e.insert(a,t,g),e.append(t,r)},p(a,g){g[0]&8&&l!==(l=a[44].name+"")&&e.set_data(r,l),g[0]&8&&o!==(o=a[44].name)&&e.attr(t,"title",o)},d(a){a&&e.detach(t)}}}function K(i){let t,l,r,o,a,g,_,v;function w(){return i[23](i[44])}let d=i[2]=="true"&&W(i);return{c(){t=e.element("div"),l=e.element("img"),a=e.space(),d&&d.c(),g=e.space(),e.attr(l,"class","CategorySlideGameImage"),e.src_url_equal(l.src,r=i[44].defaultThumbnail)||e.attr(l,"src",r),e.attr(l,"alt",o=i[44].name),e.attr(t,"class","CategorySlideGames")},m(m,s){e.insert(m,t,s),e.append(t,l),e.append(t,a),d&&d.m(t,null),e.append(t,g),_||(v=e.listen(l,"click",e.stop_propagation(w)),_=!0)},p(m,s){i=m,s[0]&8&&!e.src_url_equal(l.src,r=i[44].defaultThumbnail)&&e.attr(l,"src",r),s[0]&8&&o!==(o=i[44].name)&&e.attr(l,"alt",o),i[2]=="true"?d?d.p(i,s):(d=W(i),d.c(),d.m(t,g)):d&&(d.d(1),d=null)},d(m){m&&e.detach(t),d&&d.d(),_=!1,v()}}}function Z(i){let t,l,r,o,a,g,_,v,w;function d(p,f){if(p[1]==="logo")return ue;if(p[1]==="title")return ge}let m=d(i),s=m&&m(i),c=e.ensure_array_like(i[41].games),u=[];for(let p=0;p<c.length;p+=1)u[p]=K(U(i,c,p));function h(){return i[24](i[41])}return{c(){var p,f;t=e.element("div"),l=e.element("div"),r=e.element("div"),s&&s.c(),o=e.space(),a=e.element("div");for(let b=0;b<u.length;b+=1)u[b].c();_=e.space(),e.attr(r,"class","CategorySlideTopContainer"),e.attr(a,"class","CategorySlideGameContainer"),e.attr(l,"class",g="CategorySlide "+(((p=i[41])==null?void 0:p.flag[0])==="vendor"?"CategorySlideNoHighlight":"")),e.set_style(l,"background-image","url("+((f=i[41])==null?void 0:f.background)+")"),e.set_style(l,"background-size","cover"),e.attr(t,"class","CategoriesSliderWrapper Animation")},m(p,f){e.insert(p,t,f),e.append(t,l),e.append(l,r),s&&s.m(r,null),e.append(l,o),e.append(l,a);for(let b=0;b<u.length;b+=1)u[b]&&u[b].m(a,null);e.append(t,_),v||(w=e.listen(l,"click",h),v=!0)},p(p,f){var b,k;if(i=p,m===(m=d(i))&&s?s.p(i,f):(s&&s.d(1),s=m&&m(i),s&&(s.c(),s.m(r,null))),f[0]&8204){c=e.ensure_array_like(i[41].games);let C;for(C=0;C<c.length;C+=1){const L=U(i,c,C);u[C]?u[C].p(L,f):(u[C]=K(L),u[C].c(),u[C].m(a,null))}for(;C<u.length;C+=1)u[C].d(1);u.length=c.length}f[0]&8&&g!==(g="CategorySlide "+(((b=i[41])==null?void 0:b.flag[0])==="vendor"?"CategorySlideNoHighlight":""))&&e.attr(l,"class",g),f[0]&8&&e.set_style(l,"background-image","url("+((k=i[41])==null?void 0:k.background)+")")},d(p){p&&e.detach(t),s&&s.d(),e.destroy_each(u,p),v=!1,w()}}}function pe(i){let t;function l(a,g){return a[6]?ce:de}let r=l(i),o=r(i);return{c(){t=e.element("div"),o.c()},m(a,g){e.insert(a,t,g),o.m(t,null),i[26](t)},p(a,g){r===(r=l(a))&&o?o.p(a,g):(o.d(1),o=r(a),o&&(o.c(),o.m(t,null)))},i:e.noop,o:e.noop,d(a){a&&e.detach(t),o.d(),i[26](null)}}}function me(i,t,l){let r;e.component_subscribe(i,e.$format,n=>l(10,r=n));let{endpoint:o=""}=t,{datasource:a=""}=t,{lang:g=""}=t,{type:_=""}=t,{titletype:v=""}=t,{clientstyling:w=""}=t,{clientstylingurl:d=""}=t,{translationurl:m=""}=t,{collectionprovidersgamenames:s=""}=t,{mbsource:c}=t,u=[],h=!0,p,f=0,b=0,k=0,C,L,j=0,M=50,x=!1,G,X=window.navigator.userAgent,T;const Y=()=>{fetch(m).then(y=>y.json()).then(y=>{Object.keys(y).forEach(P=>{q(P,y[P])})}).catch(y=>{console.log(y)})};Object.keys(R).forEach(n=>{q(n,R[n])});const F=()=>{const n=new URL(`${o}/v2/casino/groups/${a}`);n.searchParams.append("language",g),n.searchParams.append("expand","games"),n.searchParams.append("filter",`$and(flags=${_})`),n.searchParams.append("pagination",`offset=${j},limit=${M}`),fetch(n.href).then(y=>y.json()).then(y=>{l(6,h=!1),y.total>M&&(j+=50,M+=50,l(22,x=!0));let P=y.items.map(S=>{var E,A,N;return{id:S.id,name:S.name,icon:S.icon?S.icon:(N=(A=(E=S.vendors)==null?void 0:E.items[0])==null?void 0:A.subVendors[0])==null?void 0:N.logo,games:S.games.items.slice(0,4).map(re=>re),background:S.background,flag:S.flags}});l(3,u=[...u,...P]),l(7,b=u.length),Q()})},Q=()=>{const n=G.getRootNode().host;n.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:n}}))},B=n=>{var y;L=[...p.children],L.forEach((P,S)=>{P.style.transform=`translateX(${100*(n?S-n:S)}%)`}),C=(y=L[0])==null?void 0:y.getBoundingClientRect().width,D()},D=()=>{l(8,k=Math.floor(p.clientWidth/C))},O=()=>{B(f)},$=()=>{f===0?f=b-k:f-k<-1?f=0:f--,O()},ee=()=>{f===b-k?f=0:b-k<f+1?f=b-k:f++,O()},z=(n,y,P,S)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:n,launchUrl:y,gameName:P,subVendor:S},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"CollectionsProviders",gameName:`${P}`})},H=n=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:n},window.location.href)},te=()=>{ae(g)};e.onMount(()=>(l(9,T=e.isMobile(X)),()=>{}));const ie=n=>z(n.gameId,n.launchUrl,n.name,n.subVendor),le=n=>H(n.id);function ne(n){e.binding_callbacks[n?"unshift":"push"](()=>{p=n,l(4,p)})}function oe(n){e.binding_callbacks[n?"unshift":"push"](()=>{G=n,l(5,G)})}return i.$$set=n=>{"endpoint"in n&&l(15,o=n.endpoint),"datasource"in n&&l(16,a=n.datasource),"lang"in n&&l(17,g=n.lang),"type"in n&&l(0,_=n.type),"titletype"in n&&l(1,v=n.titletype),"clientstyling"in n&&l(18,w=n.clientstyling),"clientstylingurl"in n&&l(19,d=n.clientstylingurl),"translationurl"in n&&l(20,m=n.translationurl),"collectionprovidersgamenames"in n&&l(2,s=n.collectionprovidersgamenames),"mbsource"in n&&l(21,c=n.mbsource)},i.$$.update=()=>{i.$$.dirty[0]&229376&&o&&a&&g&&F(),i.$$.dirty[0]&24&&u&&p&&B(),i.$$.dirty[0]&131072&&g&&te(),i.$$.dirty[0]&262176&&w&&G&&e.setClientStyling(G,w),i.$$.dirty[0]&524320&&d&&G&&e.setClientStylingURL(G,d),i.$$.dirty[0]&2097184&&G&&e.setStreamStyling(G,`${c}.Style`),i.$$.dirty[0]&1048576&&m&&Y(),i.$$.dirty[0]&4194304&&x&&F()},[_,v,s,u,p,G,h,b,k,T,r,$,ee,z,H,o,a,g,w,d,m,c,x,ie,le,ne,oe]}class J extends e.SvelteComponent{constructor(t){super(),e.init(this,t,me,pe,e.safe_not_equal,{endpoint:15,datasource:16,lang:17,type:0,titletype:1,clientstyling:18,clientstylingurl:19,translationurl:20,collectionprovidersgamenames:2,mbsource:21},se,[-1,-1])}get endpoint(){return this.$$.ctx[15]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[16]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),e.flush()}get type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),e.flush()}get titletype(){return this.$$.ctx[1]}set titletype(t){this.$$set({titletype:t}),e.flush()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get collectionprovidersgamenames(){return this.$$.ctx[2]}set collectionprovidersgamenames(t){this.$$set({collectionprovidersgamenames:t}),e.flush()}get mbsource(){return this.$$.ctx[21]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(J,{endpoint:{},datasource:{},lang:{},type:{},titletype:{},clientstyling:{},clientstylingurl:{},translationurl:{},collectionprovidersgamenames:{},mbsource:{}},[],[],!0);exports.default=J;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-B4OJuO_L.cjs");function q(i,t){e.addMessages(i,t)}function ae(i){e.$locale.set(i)}const R={en:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"zh-hk":{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."},de:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."},it:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},fr:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."},es:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"},el:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."},tr:{collections:"Oyun Koleksiyonları",providers:"Oyun Sağlayıcıları",loading:"Yükleniyor, lütfen bekleyin..."},ru:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},ro:{collections:"Selectie Jocuri",providers:"Furnizori",loading:"Se încarcă, asteptati ..."},hr:{collections:"Kolekcije igara",providers:"Brendovi igara",loading:"Učitavam"},hu:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."},pl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},pt:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."},sl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},sr:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"pt-br":{collections:"Coleções de jogos",providers:"Provedores de jogos",Loading:"Carregando, por favor espere..."},"es-mx":{collections:"Colecciones de juego",providers:"Proveedores de juego",Loading:"Cargando, por favor espere..."},"en-us":{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}};function se(i){e.append_styles(i,"svelte-nnjza6",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));background-color:inherit;font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:var(--emw--border-radius-medium, 10px);display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:var(--emw--border-radius-medium, 10px);width:70px;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:var(--emw--border-radius-medium, 10px);width:60px;height:40px;object-fit:cover}.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--casino-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function I(i,t,l){const r=i.slice();return r[41]=t[l],r}function U(i,t,l){const r=i.slice();return r[44]=t[l],r}function de(i){let t,l,r,o=(i[0]==="vendor"?i[10]("providers"):i[10]("collections"))+"",a,g,_,v,w,d=i[7]>i[8]&&V(i),m=e.ensure_array_like(i[3]),s=[];for(let c=0;c<m.length;c+=1)s[c]=Z(I(i,m,c));return{c(){t=e.element("div"),l=e.element("div"),r=e.element("p"),a=e.text(o),g=e.space(),d&&d.c(),_=e.space(),v=e.element("div");for(let c=0;c<s.length;c+=1)s[c].c();e.attr(r,"class","Title"),e.attr(l,"class","CategoriesHeader"),e.attr(v,"class","CategoriesSlider"),e.attr(t,"class",w="CasinoCollectionsProviders "+(i[9]?"Mobile":"")+" "+(i[0]==="vendor"?"Providers":"Collections"))},m(c,u){e.insert(c,t,u),e.append(t,l),e.append(l,r),e.append(r,a),e.append(l,g),d&&d.m(l,null),e.append(t,_),e.append(t,v);for(let h=0;h<s.length;h+=1)s[h]&&s[h].m(v,null);i[25](v)},p(c,u){if(u[0]&1025&&o!==(o=(c[0]==="vendor"?c[10]("providers"):c[10]("collections"))+"")&&e.set_data(a,o),c[7]>c[8]?d?d.p(c,u):(d=V(c),d.c(),d.m(l,null)):d&&(d.d(1),d=null),u[0]&24590){m=e.ensure_array_like(c[3]);let h;for(h=0;h<m.length;h+=1){const p=I(c,m,h);s[h]?s[h].p(p,u):(s[h]=Z(p),s[h].c(),s[h].m(v,null))}for(;h<s.length;h+=1)s[h].d(1);s.length=m.length}u[0]&513&&w!==(w="CasinoCollectionsProviders "+(c[9]?"Mobile":"")+" "+(c[0]==="vendor"?"Providers":"Collections"))&&e.attr(t,"class",w)},d(c){c&&e.detach(t),d&&d.d(),e.destroy_each(s,c),i[25](null)}}}function ce(i){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner")},m(l,r){e.insert(l,t,r)},p:e.noop,d(l){l&&e.detach(t)}}}function V(i){let t,l,r,o,a,g;return{c(){t=e.element("div"),l=e.element("button"),l.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>',r=e.space(),o=e.element("button"),o.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>',e.attr(t,"class","ButtonsContainer")},m(_,v){e.insert(_,t,v),e.append(t,l),e.append(t,r),e.append(t,o),a||(g=[e.listen(l,"click",i[11]),e.listen(o,"click",i[12])],a=!0)},p:e.noop,d(_){_&&e.detach(t),a=!1,e.run_all(g)}}}function ge(i){let t,l=i[41].name+"",r;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"class","CategorySlideTitle")},m(o,a){e.insert(o,t,a),e.append(t,r)},p(o,a){a[0]&8&&l!==(l=o[41].name+"")&&e.set_data(r,l)},d(o){o&&e.detach(t)}}}function ue(i){let t,l,r;return{c(){t=e.element("img"),e.attr(t,"class","CategorySlideLogo"),e.src_url_equal(t.src,l=i[41].icon)||e.attr(t,"src",l),e.attr(t,"alt",r=i[41].name+" icon")},m(o,a){e.insert(o,t,a)},p(o,a){a[0]&8&&!e.src_url_equal(t.src,l=o[41].icon)&&e.attr(t,"src",l),a[0]&8&&r!==(r=o[41].name+" icon")&&e.attr(t,"alt",r)},d(o){o&&e.detach(t)}}}function W(i){let t,l=i[44].name+"",r,o;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"title",o=i[44].name)},m(a,g){e.insert(a,t,g),e.append(t,r)},p(a,g){g[0]&8&&l!==(l=a[44].name+"")&&e.set_data(r,l),g[0]&8&&o!==(o=a[44].name)&&e.attr(t,"title",o)},d(a){a&&e.detach(t)}}}function K(i){let t,l,r,o,a,g,_,v;function w(){return i[23](i[44])}let d=i[2]=="true"&&W(i);return{c(){t=e.element("div"),l=e.element("img"),a=e.space(),d&&d.c(),g=e.space(),e.attr(l,"class","CategorySlideGameImage"),e.src_url_equal(l.src,r=i[44].defaultThumbnail)||e.attr(l,"src",r),e.attr(l,"alt",o=i[44].name),e.attr(t,"class","CategorySlideGames")},m(m,s){e.insert(m,t,s),e.append(t,l),e.append(t,a),d&&d.m(t,null),e.append(t,g),_||(v=e.listen(l,"click",e.stop_propagation(w)),_=!0)},p(m,s){i=m,s[0]&8&&!e.src_url_equal(l.src,r=i[44].defaultThumbnail)&&e.attr(l,"src",r),s[0]&8&&o!==(o=i[44].name)&&e.attr(l,"alt",o),i[2]=="true"?d?d.p(i,s):(d=W(i),d.c(),d.m(t,g)):d&&(d.d(1),d=null)},d(m){m&&e.detach(t),d&&d.d(),_=!1,v()}}}function Z(i){let t,l,r,o,a,g,_,v,w;function d(p,f){if(p[1]==="logo")return ue;if(p[1]==="title")return ge}let m=d(i),s=m&&m(i),c=e.ensure_array_like(i[41].games),u=[];for(let p=0;p<c.length;p+=1)u[p]=K(U(i,c,p));function h(){return i[24](i[41])}return{c(){var p,f;t=e.element("div"),l=e.element("div"),r=e.element("div"),s&&s.c(),o=e.space(),a=e.element("div");for(let b=0;b<u.length;b+=1)u[b].c();_=e.space(),e.attr(r,"class","CategorySlideTopContainer"),e.attr(a,"class","CategorySlideGameContainer"),e.attr(l,"class",g="CategorySlide "+(((p=i[41])==null?void 0:p.flag[0])==="vendor"?"CategorySlideNoHighlight":"")),e.set_style(l,"background-image","url("+((f=i[41])==null?void 0:f.background)+")"),e.set_style(l,"background-size","cover"),e.attr(t,"class","CategoriesSliderWrapper Animation")},m(p,f){e.insert(p,t,f),e.append(t,l),e.append(l,r),s&&s.m(r,null),e.append(l,o),e.append(l,a);for(let b=0;b<u.length;b+=1)u[b]&&u[b].m(a,null);e.append(t,_),v||(w=e.listen(l,"click",h),v=!0)},p(p,f){var b,k;if(i=p,m===(m=d(i))&&s?s.p(i,f):(s&&s.d(1),s=m&&m(i),s&&(s.c(),s.m(r,null))),f[0]&8204){c=e.ensure_array_like(i[41].games);let C;for(C=0;C<c.length;C+=1){const L=U(i,c,C);u[C]?u[C].p(L,f):(u[C]=K(L),u[C].c(),u[C].m(a,null))}for(;C<u.length;C+=1)u[C].d(1);u.length=c.length}f[0]&8&&g!==(g="CategorySlide "+(((b=i[41])==null?void 0:b.flag[0])==="vendor"?"CategorySlideNoHighlight":""))&&e.attr(l,"class",g),f[0]&8&&e.set_style(l,"background-image","url("+((k=i[41])==null?void 0:k.background)+")")},d(p){p&&e.detach(t),s&&s.d(),e.destroy_each(u,p),v=!1,w()}}}function pe(i){let t;function l(a,g){return a[6]?ce:de}let r=l(i),o=r(i);return{c(){t=e.element("div"),o.c()},m(a,g){e.insert(a,t,g),o.m(t,null),i[26](t)},p(a,g){r===(r=l(a))&&o?o.p(a,g):(o.d(1),o=r(a),o&&(o.c(),o.m(t,null)))},i:e.noop,o:e.noop,d(a){a&&e.detach(t),o.d(),i[26](null)}}}function me(i,t,l){let r;e.component_subscribe(i,e.$format,n=>l(10,r=n));let{endpoint:o=""}=t,{datasource:a=""}=t,{lang:g=""}=t,{type:_=""}=t,{titletype:v=""}=t,{clientstyling:w=""}=t,{clientstylingurl:d=""}=t,{translationurl:m=""}=t,{collectionprovidersgamenames:s=""}=t,{mbsource:c}=t,u=[],h=!0,p,f=0,b=0,k=0,C,L,j=0,M=50,x=!1,G,X=window.navigator.userAgent,T;const Y=()=>{fetch(m).then(y=>y.json()).then(y=>{Object.keys(y).forEach(P=>{q(P,y[P])})}).catch(y=>{console.log(y)})};Object.keys(R).forEach(n=>{q(n,R[n])});const F=()=>{const n=new URL(`${o}/v2/casino/groups/${a}`);n.searchParams.append("language",g),n.searchParams.append("expand","games"),n.searchParams.append("filter",`$and(flags=${_})`),n.searchParams.append("pagination",`offset=${j},limit=${M}`),fetch(n.href).then(y=>y.json()).then(y=>{l(6,h=!1),y.total>M&&(j+=50,M+=50,l(22,x=!0));let P=y.items.map(S=>{var E,A,N;return{id:S.id,name:S.name,icon:S.icon?S.icon:(N=(A=(E=S.vendors)==null?void 0:E.items[0])==null?void 0:A.subVendors[0])==null?void 0:N.logo,games:S.games.items.slice(0,4).map(re=>re),background:S.background,flag:S.flags}});l(3,u=[...u,...P]),l(7,b=u.length),Q()})},Q=()=>{const n=G.getRootNode().host;n.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:n}}))},B=n=>{var y;L=[...p.children],L.forEach((P,S)=>{P.style.transform=`translateX(${100*(n?S-n:S)}%)`}),C=(y=L[0])==null?void 0:y.getBoundingClientRect().width,D()},D=()=>{l(8,k=Math.floor(p.clientWidth/C))},O=()=>{B(f)},$=()=>{f===0?f=b-k:f-k<-1?f=0:f--,O()},ee=()=>{f===b-k?f=0:b-k<f+1?f=b-k:f++,O()},z=(n,y,P,S)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:n,launchUrl:y,gameName:P,subVendor:S},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"CollectionsProviders",gameName:`${P}`})},H=n=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:n},window.location.href)},te=()=>{ae(g)};e.onMount(()=>(l(9,T=e.isMobile(X)),()=>{}));const ie=n=>z(n.gameId,n.launchUrl,n.name,n.subVendor),le=n=>H(n.id);function ne(n){e.binding_callbacks[n?"unshift":"push"](()=>{p=n,l(4,p)})}function oe(n){e.binding_callbacks[n?"unshift":"push"](()=>{G=n,l(5,G)})}return i.$$set=n=>{"endpoint"in n&&l(15,o=n.endpoint),"datasource"in n&&l(16,a=n.datasource),"lang"in n&&l(17,g=n.lang),"type"in n&&l(0,_=n.type),"titletype"in n&&l(1,v=n.titletype),"clientstyling"in n&&l(18,w=n.clientstyling),"clientstylingurl"in n&&l(19,d=n.clientstylingurl),"translationurl"in n&&l(20,m=n.translationurl),"collectionprovidersgamenames"in n&&l(2,s=n.collectionprovidersgamenames),"mbsource"in n&&l(21,c=n.mbsource)},i.$$.update=()=>{i.$$.dirty[0]&229376&&o&&a&&g&&F(),i.$$.dirty[0]&24&&u&&p&&B(),i.$$.dirty[0]&131072&&g&&te(),i.$$.dirty[0]&262176&&w&&G&&e.setClientStyling(G,w),i.$$.dirty[0]&524320&&d&&G&&e.setClientStylingURL(G,d),i.$$.dirty[0]&2097184&&G&&e.setStreamStyling(G,`${c}.Style`),i.$$.dirty[0]&1048576&&m&&Y(),i.$$.dirty[0]&4194304&&x&&F()},[_,v,s,u,p,G,h,b,k,T,r,$,ee,z,H,o,a,g,w,d,m,c,x,ie,le,ne,oe]}class J extends e.SvelteComponent{constructor(t){super(),e.init(this,t,me,pe,e.safe_not_equal,{endpoint:15,datasource:16,lang:17,type:0,titletype:1,clientstyling:18,clientstylingurl:19,translationurl:20,collectionprovidersgamenames:2,mbsource:21},se,[-1,-1])}get endpoint(){return this.$$.ctx[15]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[16]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),e.flush()}get type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),e.flush()}get titletype(){return this.$$.ctx[1]}set titletype(t){this.$$set({titletype:t}),e.flush()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get collectionprovidersgamenames(){return this.$$.ctx[2]}set collectionprovidersgamenames(t){this.$$set({collectionprovidersgamenames:t}),e.flush()}get mbsource(){return this.$$.ctx[21]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(J,{endpoint:{},datasource:{},lang:{},type:{},titletype:{},clientstyling:{},clientstylingurl:{},translationurl:{},collectionprovidersgamenames:{},mbsource:{}},[],[],!0);exports.default=J;
@@ -1,4 +1,4 @@
1
- import { a as _e, $ as we, S as Se, i as ke, f as M, c as Ge, s as Pe, b as Le, e as y, d as j, G as z, j as F, k as Me, o as xe, m as je, n as $, p as Fe, q as Te, r as Be, v as O, x as R, w as T, y as m, z as v, E as U, F as se, A as E, M as ze, L as I, J as Oe, I as H, N as Ee } from "./CasinoCalendar-DdMvhCOA.js";
1
+ import { a as _e, $ as we, S as Se, i as ke, f as M, c as Ge, s as Pe, b as Le, e as y, d as j, G as z, j as F, k as Me, o as xe, l as je, p as Fe, q as $, r as Te, m as Be, v as O, x as R, w as T, y as m, z as v, E as U, F as se, A as E, M as ze, L as I, J as Oe, I as H, N as Ee } from "./CasinoCalendar-BVD-g7V2.js";
2
2
  function ee(t, e) {
3
3
  _e(t, e);
4
4
  }
@@ -507,7 +507,7 @@ function Ve(t, e, i) {
507
507
  }, pe = () => {
508
508
  He(c);
509
509
  };
510
- xe(() => (i(9, V = je(de)), () => {
510
+ xe(() => (i(9, V = Fe(de)), () => {
511
511
  }));
512
512
  const he = (o) => Z(o.gameId, o.launchUrl, o.name, o.subVendor), ve = (o) => X(o.id);
513
513
  function be(o) {
@@ -527,8 +527,8 @@ function Ve(t, e, i) {
527
527
  229376 && l && r && c && W(), t.$$.dirty[0] & /*gameCategories, categoriesSlider*/
528
528
  24 && g && u && J(), t.$$.dirty[0] & /*lang*/
529
529
  131072 && c && pe(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
530
- 262176 && k && L && Fe(L, k), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
531
- 524320 && s && L && Te(L, s), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
530
+ 262176 && k && L && Te(L, k), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
531
+ 524320 && s && L && je(L, s), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
532
532
  2097184 && L && Be(L, `${d}.Style`), t.$$.dirty[0] & /*translationurl*/
533
533
  1048576 && f && ce(), t.$$.dirty[0] & /*paginationrequired*/
534
534
  4194304 && N && W();