@everymatrix/casino-page-nd 1.74.3 → 1.74.5
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.
- package/components/CasinoCalendar-B4OJuO_L.cjs +19 -0
- package/components/{CasinoCalendar-DdMvhCOA.js → CasinoCalendar-BVD-g7V2.js} +1063 -1049
- package/components/{CasinoCalendar-BuZNkBai.js → CasinoCalendar-CDNIjQ8T.js} +1001 -987
- package/components/CasinoCalendarDailyDetails-BEUNC6Xh.cjs +1 -0
- package/components/{CasinoCalendarDailyDetails-ClfGxbko.js → CasinoCalendarDailyDetails-D_IsmUxa.js} +75 -75
- package/components/{CasinoCalendarDailyDetails-BCVIut1W.js → CasinoCalendarDailyDetails-Dun4o4bY.js} +75 -75
- package/components/{CasinoCalendarDailyItem-CYfiDQkf.js → CasinoCalendarDailyItem-SgYp_4Zc.js} +6 -6
- package/components/{CasinoCalendarDailyItem-C1ADnaTt.js → CasinoCalendarDailyItem-lgiTsDmQ.js} +6 -6
- package/components/{CasinoCalendarDailyItem-BdDom59r.cjs → CasinoCalendarDailyItem-r4x7VnIJ.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-4kHMGeo6.js → CasinoCollectionsProviders-Cfp1fpOk.js} +4 -4
- package/components/{CasinoCollectionsProviders-CM25qKz7.cjs → CasinoCollectionsProviders-DI8Ie4pa.cjs} +1 -1
- package/components/{CasinoCollectionsProviders-Br5ZzIwL.js → CasinoCollectionsProviders-GH5hTDgu.js} +4 -4
- package/components/{CasinoFavoritesSectionNd-DtMLhJwE.cjs → CasinoFavoritesSectionNd-4vIlan3H.cjs} +1 -1
- package/components/{CasinoFavoritesSectionNd-BpQfUsRD.js → CasinoFavoritesSectionNd-Dzg8AjIh.js} +74 -74
- package/components/{CasinoFavoritesSectionNd-BpKau9du.js → CasinoFavoritesSectionNd-_cQ5xRiv.js} +74 -74
- package/components/CasinoFilter-BX1QlpN6.cjs +1 -0
- package/components/{CasinoFilter-1-YLqdq0.js → CasinoFilter-DUp1Zmmm.js} +224 -225
- package/components/{CasinoFilter-akdowSz4.js → CasinoFilter-idsuQa6E.js} +254 -253
- package/components/{CasinoGameThumbnailNd-4vkDFOTQ.js → CasinoGameThumbnailNd-C33yCVXc.js} +653 -653
- package/components/{CasinoGameThumbnailNd-027TQl9L.js → CasinoGameThumbnailNd-CxAL5LP2.js} +651 -651
- package/components/{CasinoGameThumbnailNd-Ca2b8Stl.cjs → CasinoGameThumbnailNd-DbHe7zqB.cjs} +6 -6
- package/components/{CasinoGamesCategorySectionNd-FSqr3CSC.js → CasinoGamesCategorySectionNd-DB97IVzG.js} +77 -69
- package/components/{CasinoGamesCategorySectionNd-CGOJc4eo.js → CasinoGamesCategorySectionNd-iW8xVo8B.js} +350 -342
- package/components/CasinoGamesCategorySectionNd-wkSdhFLy.cjs +1 -0
- package/components/{CasinoJackpotBanner-Bdzek1XC.js → CasinoJackpotBanner-BAVC4_Yz.js} +8 -8
- package/components/{CasinoJackpotBanner-CyyNiIY2.cjs → CasinoJackpotBanner-ClvtHhmd.cjs} +1 -1
- package/components/{CasinoJackpotBanner--90-l4pm.js → CasinoJackpotBanner-Da0QCFOu.js} +8 -8
- package/components/{CasinoLastPlayedSectionNd-DSncRKaO.js → CasinoLastPlayedSectionNd-B0SywtOD.js} +10 -10
- package/components/{CasinoLastPlayedSectionNd-6oMHidCr.cjs → CasinoLastPlayedSectionNd-Bqsq8N1n.cjs} +1 -1
- package/components/{CasinoLastPlayedSectionNd-DilDkELD.js → CasinoLastPlayedSectionNd-DPsD96pl.js} +10 -10
- package/components/{CasinoMostPlayedSectionNd-BrdGaj7a.js → CasinoMostPlayedSectionNd-BLdrRJN3.js} +7 -7
- package/components/{CasinoMostPlayedSectionNd-B1xoI2QM.cjs → CasinoMostPlayedSectionNd-Bfmipga7.cjs} +1 -1
- package/components/{CasinoMostPlayedSectionNd-S6ts_CYh.js → CasinoMostPlayedSectionNd-RDJQtjfP.js} +7 -7
- package/components/CasinoMyGamesNd-B6Y-CQn4.js +1315 -0
- package/components/CasinoMyGamesNd-DRW6wUxl.js +1314 -0
- package/components/CasinoMyGamesNd-EsRtwVbW.cjs +1 -0
- package/components/{CasinoPageNd-DqENu2Tu.cjs → CasinoPageNd-BXM3LqAa.cjs} +1 -1
- package/components/{CasinoPageNd-BRWbTx8q.js → CasinoPageNd-C_8U853c.js} +15 -15
- package/components/{CasinoPageNd-mPiA5_16.js → CasinoPageNd-Cpz1P4Jg.js} +15 -15
- package/components/{CasinoRandomGame-CdQVMLbd.cjs → CasinoRandomGame-3uoEGw78.cjs} +2 -2
- package/components/{CasinoRandomGame-CtAOJXnF.js → CasinoRandomGame-9Yw_xC5j.js} +83 -83
- package/components/{CasinoRandomGame-D7RweU9Y.js → CasinoRandomGame-DpKfvMwV.js} +12 -12
- package/components/{CasinoSearchNd-DCZ8s3vo.js → CasinoSearchNd-BZFZIldj.js} +6 -6
- package/components/{CasinoSearchNd-CtwL1Nv0.js → CasinoSearchNd-DhC_9kHZ.js} +6 -6
- package/components/{CasinoSearchNd-DFcbrjhC.cjs → CasinoSearchNd-sbnm8-s3.cjs} +1 -1
- package/components/{CasinoSort-5WNP_G3S.js → CasinoSort-BYQvNOsF.js} +93 -94
- package/components/{CasinoSort-BawqALZV.js → CasinoSort-CUCsGytJ.js} +103 -102
- package/components/{CasinoSort-Du3lmlNe.cjs → CasinoSort-DEzzINXT.cjs} +1 -1
- package/components/{CasinoWinners-XkR8Kmij.cjs → CasinoWinners-COmepRdG.cjs} +1 -1
- package/components/{CasinoWinners-DCiuykjq.js → CasinoWinners-CQf5gEvU.js} +116 -116
- package/components/{CasinoWinners-BE029Vxq.js → CasinoWinners-Dr5wYAG5.js} +116 -116
- package/components/{GeneralAnimationLoading-BETs-Kib.js → GeneralAnimationLoading-CBPC5I1a.js} +7 -7
- package/components/{GeneralAnimationLoading-BlN4kA08.js → GeneralAnimationLoading-CKgGhHlf.js} +7 -7
- package/components/{GeneralAnimationLoading-lIyg2-0l.cjs → GeneralAnimationLoading-DTUTIYre.cjs} +1 -1
- package/es2015/casino-page-nd.cjs +1 -1
- package/es2015/casino-page-nd.js +1 -1
- package/esnext/casino-page-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-wi94nFPy.cjs → casino-play-random-game-C3hhQjhn.cjs} +2 -2
- package/stencil/{casino-play-random-game-Bc2XLGRl.js → casino-play-random-game-qroM0e64.js} +2 -2
- package/stencil/{casino-play-random-game-d1PoE_Vf.js → casino-play-random-game-uBjWXXLi.js} +2 -2
- package/stencil/{index-97d17652-DIpvPU9H.js → index-97d17652-BD-QREJe.js} +151 -151
- package/stencil/{index-97d17652-C7V2DWFg.js → index-97d17652-DJqGt8q2.js} +147 -147
- package/stencil/index-97d17652-tiiCeQFu.cjs +1 -0
- package/stencil/{index-ab3202d6-Cowbr6qN.js → index-ab3202d6-CSUArOSv.js} +209 -209
- package/stencil/{index-ab3202d6-CiI9jxo9.js → index-ab3202d6-CoRS04SH.js} +214 -214
- package/stencil/index-ab3202d6-DitihRZv.cjs +1 -0
- package/stencil/index-b2193545-3zPNeE9v.cjs +1 -0
- package/stencil/{index-b2193545-DdqB2rk5.js → index-b2193545-D_cUvAA-.js} +176 -176
- package/stencil/{index-b2193545-BL364Gzq.js → index-b2193545-kN0z2MLt.js} +169 -169
- package/stencil/{ui-image-CzGNxx73.js → ui-image-BAqS-hS6.js} +1 -1
- package/stencil/{ui-image-wubI3fkK.cjs → ui-image-CH2Jdp7k.cjs} +1 -1
- package/stencil/{ui-image-B_HWMBI-.js → ui-image-I_uR7pAI.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-D8-wEkoZ.js → ui-image-b7b48fe5-2Ir9VtWc.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-B-k0kWgx.js → ui-image-b7b48fe5-AJGQkQBu.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-yceZ9WkN.cjs → ui-image-b7b48fe5-pdIH5TBa.cjs} +1 -1
- package/stencil/{ui-image_2-Ha_4GYwN.cjs → ui-image_2-BGf0VFLf.cjs} +1 -1
- package/stencil/{ui-image_2-z5LhXZY2.js → ui-image_2-Dh5Eqdlm.js} +2 -2
- package/stencil/{ui-image_2-CzFe50WB.js → ui-image_2-_K8Pt3w9.js} +2 -2
- package/stencil/{ui-skeleton-DTQ__6LQ.cjs → ui-skeleton-5mt1L8pA.cjs} +1 -1
- package/stencil/{ui-skeleton-CsmgJUYN.js → ui-skeleton-C0GZ2ncD.js} +2 -2
- package/stencil/{ui-skeleton-yRWBmyfK.js → ui-skeleton-CYeeBz0Q.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-CxSezPtG.js → ui-skeleton-ae35c6f2-BSwiS43c.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-BRNiEwlg.js → ui-skeleton-ae35c6f2-BmKf7IvD.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-CZuWo9GO.cjs → ui-skeleton-ae35c6f2-CQ3pH6qH.cjs} +1 -1
- package/components/CasinoCalendar-CFUoQxq0.cjs +0 -19
- package/components/CasinoCalendarDailyDetails-Dqb6yp--.cjs +0 -1
- package/components/CasinoFilter-Cc3Yv48X.cjs +0 -1
- package/components/CasinoGamesCategorySectionNd-BAynLaaR.cjs +0 -1
- package/components/CasinoMyGamesNd-BS2PoJ2a.cjs +0 -1
- package/components/CasinoMyGamesNd-C2FLMGUe.js +0 -1350
- package/components/CasinoMyGamesNd-CkEhzUen.js +0 -1351
- package/stencil/index-97d17652-BgKdDb-e.cjs +0 -1
- package/stencil/index-ab3202d6-BwBGn0Oj.cjs +0 -1
- package/stencil/index-b2193545-DmjUkkS8.cjs +0 -1
package/components/{CasinoCalendarDailyDetails-BCVIut1W.js → CasinoCalendarDailyDetails-Dun4o4bY.js}
RENAMED
|
@@ -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
|
|
2
|
-
import "../stencil/ui-image-
|
|
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,
|
|
90
|
+
let e, t, i, r, u, f = (
|
|
91
91
|
/*$_*/
|
|
92
92
|
a[5](`${/*dailyday*/
|
|
93
93
|
a[0]}`) + ""
|
|
94
|
-
), h,
|
|
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
|
-
),
|
|
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"),
|
|
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
|
-
|
|
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),
|
|
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" : ""))) &&
|
|
169
|
+
(l[4] ? "Mobile" : ""))) && c(e, "class", b);
|
|
170
170
|
},
|
|
171
171
|
i(l) {
|
|
172
|
-
g || (N(
|
|
172
|
+
g || (N(d, l), g = !0);
|
|
173
173
|
},
|
|
174
174
|
o(l) {
|
|
175
|
-
A(
|
|
175
|
+
A(d, l), g = !1;
|
|
176
176
|
},
|
|
177
177
|
d(l) {
|
|
178
|
-
l && L(e),
|
|
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),
|
|
189
|
+
e = T("p"), i = z(t), c(e, "class", "SearchLoading");
|
|
190
190
|
},
|
|
191
|
-
m(r,
|
|
192
|
-
E(r, e,
|
|
191
|
+
m(r, u) {
|
|
192
|
+
E(r, e, u), m(e, i);
|
|
193
193
|
},
|
|
194
|
-
p(r,
|
|
195
|
-
|
|
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),
|
|
213
|
+
e = T("p"), i = z(t), c(e, "class", "SearchLoading");
|
|
214
214
|
},
|
|
215
|
-
m(r,
|
|
216
|
-
E(r, e,
|
|
215
|
+
m(r, u) {
|
|
216
|
+
E(r, e, u), m(e, i);
|
|
217
217
|
},
|
|
218
|
-
p(r,
|
|
219
|
-
|
|
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"),
|
|
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
|
-
),
|
|
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(),
|
|
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" : "")),
|
|
267
|
+
a[28].selectedTab ? "Active" : "")), c(t, "class", "Header"), c(e, "class", h = /*i*/
|
|
268
268
|
a[33] === /*event*/
|
|
269
|
-
a[28].selectedTab ? "SelectedTab" : ""),
|
|
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),
|
|
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 &&
|
|
278
|
+
4 && u !== (u = "HeaderButton " + /*i*/
|
|
279
279
|
(a[33] === /*event*/
|
|
280
|
-
a[28].selectedTab ? "Active" : "")) &&
|
|
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" : "") &&
|
|
283
|
+
a[28].selectedTab ? "SelectedTab" : "") && c(e, "class", h);
|
|
284
284
|
},
|
|
285
285
|
d(w) {
|
|
286
|
-
w && L(e),
|
|
286
|
+
w && L(e), y = !1, b();
|
|
287
287
|
}
|
|
288
288
|
};
|
|
289
289
|
}
|
|
290
290
|
function X(a) {
|
|
291
|
-
let e, t, i, r,
|
|
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
|
-
),
|
|
300
|
+
), d = [];
|
|
301
301
|
for (let s = 0; s < k.length; s += 1)
|
|
302
|
-
|
|
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"),
|
|
306
|
-
for (let s = 0; s <
|
|
307
|
-
|
|
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",
|
|
310
|
-
a[28].image),
|
|
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")),
|
|
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,
|
|
318
|
-
for (let l = 0; l <
|
|
319
|
-
|
|
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 &&
|
|
327
|
-
s[28].image) && I(i, "alt",
|
|
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
|
-
|
|
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 <
|
|
339
|
-
|
|
340
|
-
|
|
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")) &&
|
|
352
|
+
].expandedTab ? "" : "NotVisible")) && c(g, "class", _);
|
|
353
353
|
},
|
|
354
354
|
d(s) {
|
|
355
|
-
s && L(e), Z(
|
|
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
|
|
362
|
-
function h(
|
|
361
|
+
const u = [Ie, Fe, Le], f = [];
|
|
362
|
+
function h(y, b) {
|
|
363
363
|
return (
|
|
364
364
|
/*isLoading*/
|
|
365
|
-
|
|
365
|
+
y[3] ? 1 : 2
|
|
366
366
|
);
|
|
367
367
|
}
|
|
368
|
-
return t = h(a), i = f[t] =
|
|
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(
|
|
373
|
-
E(
|
|
372
|
+
m(y, b) {
|
|
373
|
+
E(y, e, b), f[t].m(e, null), a[21](e), r = !0;
|
|
374
374
|
},
|
|
375
|
-
p(
|
|
375
|
+
p(y, b) {
|
|
376
376
|
let g = t;
|
|
377
|
-
t = h(
|
|
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(
|
|
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(
|
|
381
|
+
i(y) {
|
|
382
382
|
r || (N(i), r = !0);
|
|
383
383
|
},
|
|
384
|
-
o(
|
|
384
|
+
o(y) {
|
|
385
385
|
A(i), r = !1;
|
|
386
386
|
},
|
|
387
|
-
d(
|
|
388
|
-
|
|
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:
|
|
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),
|
|
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
|
-
|
|
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,
|
|
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 &&
|
|
445
|
-
65538 &&
|
|
446
|
-
16386 && D && C &&
|
|
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
|
-
|
|
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
|
-
|
|
464
|
+
d,
|
|
465
465
|
s,
|
|
466
|
-
|
|
466
|
+
u,
|
|
467
467
|
r,
|
|
468
468
|
ae,
|
|
469
469
|
ie
|
package/components/{CasinoCalendarDailyItem-CYfiDQkf.js → CasinoCalendarDailyItem-SgYp_4Zc.js}
RENAMED
|
@@ -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,
|
|
2
|
-
import "../stencil/ui-image-
|
|
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(() => (
|
|
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 &&
|
|
189
|
-
16416 && h && o &&
|
|
190
|
-
4128 && v && o &&
|
|
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,
|
package/components/{CasinoCalendarDailyItem-C1ADnaTt.js → CasinoCalendarDailyItem-lgiTsDmQ.js}
RENAMED
|
@@ -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,
|
|
2
|
-
import "../stencil/ui-image-
|
|
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(() => (
|
|
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 &&
|
|
189
|
-
16416 && h && o &&
|
|
190
|
-
4128 && v && o &&
|
|
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,
|
package/components/{CasinoCalendarDailyItem-BdDom59r.cjs → CasinoCalendarDailyItem-r4x7VnIJ.cjs}
RENAMED
|
@@ -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"&>ag("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"&>ag("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;
|
package/components/{CasinoCollectionsProviders-4kHMGeo6.js → CasinoCollectionsProviders-Cfp1fpOk.js}
RENAMED
|
@@ -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,
|
|
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 =
|
|
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 &&
|
|
525
|
-
524320 && s && G &&
|
|
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"&>ag("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"&>ag("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;
|
package/components/{CasinoCollectionsProviders-Br5ZzIwL.js → CasinoCollectionsProviders-GH5hTDgu.js}
RENAMED
|
@@ -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,
|
|
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 =
|
|
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 &&
|
|
531
|
-
524320 && s && L &&
|
|
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();
|