@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/{CasinoFavoritesSectionNd-BpKau9du.js → CasinoFavoritesSectionNd-_cQ5xRiv.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $ as E, O as M, S as R, i as j, f as l, c as z, s as G, b as H, e as O, y as N, d as A, G as q, j as D, o as T,
|
|
1
|
+
import { $ as E, O as M, S as R, i as j, f as l, c as z, s as G, b as H, e as O, y as N, d as A, G as q, j as D, o as T, l as U, m as V, H as s, q as B, r as J } from "./CasinoCalendar-CDNIjQ8T.js";
|
|
2
2
|
if (typeof window < "u") {
|
|
3
|
-
let
|
|
3
|
+
let n = function(e) {
|
|
4
4
|
return function(...t) {
|
|
5
5
|
try {
|
|
6
6
|
return e.apply(this, t);
|
|
@@ -11,112 +11,112 @@ if (typeof window < "u") {
|
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
|
-
customElements.define =
|
|
14
|
+
customElements.define = n(customElements.define), import("./CasinoGamesCategorySectionNd-DB97IVzG.js").then(({ default: e }) => {
|
|
15
15
|
!customElements.get("casino-games-category-section-nd") && customElements.define("casino-games-category-section-nd", e.element);
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
function K({ withLocale:
|
|
18
|
+
function K({ withLocale: n, translations: e }) {
|
|
19
19
|
E.subscribe((t) => {
|
|
20
|
-
t == null && (M.set(e), E.set(
|
|
20
|
+
t == null && (M.set(e), E.set(n));
|
|
21
21
|
});
|
|
22
22
|
}
|
|
23
|
-
function P(
|
|
24
|
-
H(
|
|
23
|
+
function P(n) {
|
|
24
|
+
H(n, "svelte-nazqps", ".CasinoFavoritesSectionContainer{font-family:inherit;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
|
|
25
25
|
}
|
|
26
|
-
function L(
|
|
26
|
+
function L(n) {
|
|
27
27
|
let e;
|
|
28
28
|
return {
|
|
29
29
|
c() {
|
|
30
|
-
e = O("casino-games-category-section-nd"),
|
|
30
|
+
e = O("casino-games-category-section-nd"), s(
|
|
31
31
|
e,
|
|
32
32
|
"session",
|
|
33
33
|
/*session*/
|
|
34
|
-
|
|
35
|
-
),
|
|
34
|
+
n[4]
|
|
35
|
+
), s(
|
|
36
36
|
e,
|
|
37
37
|
"userid",
|
|
38
38
|
/*userid*/
|
|
39
|
-
|
|
40
|
-
),
|
|
39
|
+
n[5]
|
|
40
|
+
), s(
|
|
41
41
|
e,
|
|
42
42
|
"endpoint",
|
|
43
43
|
/*endpoint*/
|
|
44
|
-
|
|
45
|
-
),
|
|
44
|
+
n[0]
|
|
45
|
+
), s(
|
|
46
46
|
e,
|
|
47
47
|
"datasource",
|
|
48
48
|
/*datasource*/
|
|
49
|
-
|
|
50
|
-
),
|
|
49
|
+
n[1]
|
|
50
|
+
), s(
|
|
51
51
|
e,
|
|
52
52
|
"lang",
|
|
53
53
|
/*lang*/
|
|
54
|
-
|
|
55
|
-
),
|
|
54
|
+
n[3]
|
|
55
|
+
), s(
|
|
56
56
|
e,
|
|
57
57
|
"currency",
|
|
58
58
|
/*currency*/
|
|
59
|
-
|
|
60
|
-
),
|
|
59
|
+
n[2]
|
|
60
|
+
), s(
|
|
61
61
|
e,
|
|
62
62
|
"favorites",
|
|
63
63
|
/*favorites*/
|
|
64
|
-
|
|
65
|
-
),
|
|
64
|
+
n[15]
|
|
65
|
+
), s(
|
|
66
66
|
e,
|
|
67
67
|
"fetchviaevent",
|
|
68
68
|
/*fetchviaevent*/
|
|
69
|
-
|
|
70
|
-
),
|
|
69
|
+
n[17]
|
|
70
|
+
), s(e, "categoryid", "FAVORITES"), s(e, "class", "CategoryContainer"), s(
|
|
71
71
|
e,
|
|
72
72
|
"showgamename",
|
|
73
73
|
/*showgamename*/
|
|
74
|
-
|
|
75
|
-
),
|
|
74
|
+
n[12]
|
|
75
|
+
), s(
|
|
76
76
|
e,
|
|
77
77
|
"clientstyling",
|
|
78
78
|
/*clientstyling*/
|
|
79
|
-
|
|
80
|
-
),
|
|
79
|
+
n[7]
|
|
80
|
+
), s(
|
|
81
81
|
e,
|
|
82
82
|
"clientstylingurl",
|
|
83
83
|
/*clientstylingurl*/
|
|
84
|
-
|
|
85
|
-
),
|
|
84
|
+
n[8]
|
|
85
|
+
), s(
|
|
86
86
|
e,
|
|
87
87
|
"livecasino",
|
|
88
88
|
/*livecasino*/
|
|
89
|
-
|
|
90
|
-
),
|
|
89
|
+
n[9]
|
|
90
|
+
), s(
|
|
91
91
|
e,
|
|
92
92
|
"visiblegames",
|
|
93
93
|
/*visiblegames*/
|
|
94
|
-
|
|
95
|
-
),
|
|
94
|
+
n[14]
|
|
95
|
+
), s(
|
|
96
96
|
e,
|
|
97
97
|
"gamepagemodalurl",
|
|
98
98
|
/*gamepagemodalurl*/
|
|
99
|
-
|
|
100
|
-
),
|
|
99
|
+
n[13]
|
|
100
|
+
), s(
|
|
101
101
|
e,
|
|
102
102
|
"integratedgameframedesktop",
|
|
103
103
|
/*integratedgameframedesktop*/
|
|
104
|
-
|
|
105
|
-
),
|
|
104
|
+
n[11]
|
|
105
|
+
), s(
|
|
106
106
|
e,
|
|
107
107
|
"integratedgameframemobile",
|
|
108
108
|
/*integratedgameframemobile*/
|
|
109
|
-
|
|
110
|
-
),
|
|
109
|
+
n[10]
|
|
110
|
+
), s(
|
|
111
111
|
e,
|
|
112
112
|
"casinomygames",
|
|
113
113
|
/*casinomygames*/
|
|
114
|
-
|
|
115
|
-
),
|
|
114
|
+
n[16]
|
|
115
|
+
), s(
|
|
116
116
|
e,
|
|
117
117
|
"mbsource",
|
|
118
118
|
/*mbsource*/
|
|
119
|
-
|
|
119
|
+
n[6]
|
|
120
120
|
);
|
|
121
121
|
},
|
|
122
122
|
m(t, a) {
|
|
@@ -124,109 +124,109 @@ function L(s) {
|
|
|
124
124
|
},
|
|
125
125
|
p(t, a) {
|
|
126
126
|
a & /*session*/
|
|
127
|
-
16 &&
|
|
127
|
+
16 && s(
|
|
128
128
|
e,
|
|
129
129
|
"session",
|
|
130
130
|
/*session*/
|
|
131
131
|
t[4]
|
|
132
132
|
), a & /*userid*/
|
|
133
|
-
32 &&
|
|
133
|
+
32 && s(
|
|
134
134
|
e,
|
|
135
135
|
"userid",
|
|
136
136
|
/*userid*/
|
|
137
137
|
t[5]
|
|
138
138
|
), a & /*endpoint*/
|
|
139
|
-
1 &&
|
|
139
|
+
1 && s(
|
|
140
140
|
e,
|
|
141
141
|
"endpoint",
|
|
142
142
|
/*endpoint*/
|
|
143
143
|
t[0]
|
|
144
144
|
), a & /*datasource*/
|
|
145
|
-
2 &&
|
|
145
|
+
2 && s(
|
|
146
146
|
e,
|
|
147
147
|
"datasource",
|
|
148
148
|
/*datasource*/
|
|
149
149
|
t[1]
|
|
150
150
|
), a & /*lang*/
|
|
151
|
-
8 &&
|
|
151
|
+
8 && s(
|
|
152
152
|
e,
|
|
153
153
|
"lang",
|
|
154
154
|
/*lang*/
|
|
155
155
|
t[3]
|
|
156
156
|
), a & /*currency*/
|
|
157
|
-
4 &&
|
|
157
|
+
4 && s(
|
|
158
158
|
e,
|
|
159
159
|
"currency",
|
|
160
160
|
/*currency*/
|
|
161
161
|
t[2]
|
|
162
162
|
), a & /*favorites*/
|
|
163
|
-
32768 &&
|
|
163
|
+
32768 && s(
|
|
164
164
|
e,
|
|
165
165
|
"favorites",
|
|
166
166
|
/*favorites*/
|
|
167
167
|
t[15]
|
|
168
168
|
), a & /*fetchviaevent*/
|
|
169
|
-
131072 &&
|
|
169
|
+
131072 && s(
|
|
170
170
|
e,
|
|
171
171
|
"fetchviaevent",
|
|
172
172
|
/*fetchviaevent*/
|
|
173
173
|
t[17]
|
|
174
174
|
), a & /*showgamename*/
|
|
175
|
-
4096 &&
|
|
175
|
+
4096 && s(
|
|
176
176
|
e,
|
|
177
177
|
"showgamename",
|
|
178
178
|
/*showgamename*/
|
|
179
179
|
t[12]
|
|
180
180
|
), a & /*clientstyling*/
|
|
181
|
-
128 &&
|
|
181
|
+
128 && s(
|
|
182
182
|
e,
|
|
183
183
|
"clientstyling",
|
|
184
184
|
/*clientstyling*/
|
|
185
185
|
t[7]
|
|
186
186
|
), a & /*clientstylingurl*/
|
|
187
|
-
256 &&
|
|
187
|
+
256 && s(
|
|
188
188
|
e,
|
|
189
189
|
"clientstylingurl",
|
|
190
190
|
/*clientstylingurl*/
|
|
191
191
|
t[8]
|
|
192
192
|
), a & /*livecasino*/
|
|
193
|
-
512 &&
|
|
193
|
+
512 && s(
|
|
194
194
|
e,
|
|
195
195
|
"livecasino",
|
|
196
196
|
/*livecasino*/
|
|
197
197
|
t[9]
|
|
198
198
|
), a & /*visiblegames*/
|
|
199
|
-
16384 &&
|
|
199
|
+
16384 && s(
|
|
200
200
|
e,
|
|
201
201
|
"visiblegames",
|
|
202
202
|
/*visiblegames*/
|
|
203
203
|
t[14]
|
|
204
204
|
), a & /*gamepagemodalurl*/
|
|
205
|
-
8192 &&
|
|
205
|
+
8192 && s(
|
|
206
206
|
e,
|
|
207
207
|
"gamepagemodalurl",
|
|
208
208
|
/*gamepagemodalurl*/
|
|
209
209
|
t[13]
|
|
210
210
|
), a & /*integratedgameframedesktop*/
|
|
211
|
-
2048 &&
|
|
211
|
+
2048 && s(
|
|
212
212
|
e,
|
|
213
213
|
"integratedgameframedesktop",
|
|
214
214
|
/*integratedgameframedesktop*/
|
|
215
215
|
t[11]
|
|
216
216
|
), a & /*integratedgameframemobile*/
|
|
217
|
-
1024 &&
|
|
217
|
+
1024 && s(
|
|
218
218
|
e,
|
|
219
219
|
"integratedgameframemobile",
|
|
220
220
|
/*integratedgameframemobile*/
|
|
221
221
|
t[10]
|
|
222
222
|
), a & /*casinomygames*/
|
|
223
|
-
65536 &&
|
|
223
|
+
65536 && s(
|
|
224
224
|
e,
|
|
225
225
|
"casinomygames",
|
|
226
226
|
/*casinomygames*/
|
|
227
227
|
t[16]
|
|
228
228
|
), a & /*mbsource*/
|
|
229
|
-
64 &&
|
|
229
|
+
64 && s(
|
|
230
230
|
e,
|
|
231
231
|
"mbsource",
|
|
232
232
|
/*mbsource*/
|
|
@@ -238,17 +238,17 @@ function L(s) {
|
|
|
238
238
|
}
|
|
239
239
|
};
|
|
240
240
|
}
|
|
241
|
-
function Q(
|
|
241
|
+
function Q(n) {
|
|
242
242
|
let e, t = (
|
|
243
243
|
/*session*/
|
|
244
|
-
|
|
244
|
+
n[4] && L(n)
|
|
245
245
|
);
|
|
246
246
|
return {
|
|
247
247
|
c() {
|
|
248
248
|
e = O("div"), t && t.c(), N(e, "class", "CasinoFavoritesSectionContainer");
|
|
249
249
|
},
|
|
250
250
|
m(a, g) {
|
|
251
|
-
A(a, e, g), t && t.m(e, null),
|
|
251
|
+
A(a, e, g), t && t.m(e, null), n[19](e);
|
|
252
252
|
},
|
|
253
253
|
p(a, [g]) {
|
|
254
254
|
/*session*/
|
|
@@ -257,26 +257,26 @@ function Q(s) {
|
|
|
257
257
|
i: q,
|
|
258
258
|
o: q,
|
|
259
259
|
d(a) {
|
|
260
|
-
a && D(e), t && t.d(),
|
|
260
|
+
a && D(e), t && t.d(), n[19](null);
|
|
261
261
|
}
|
|
262
262
|
};
|
|
263
263
|
}
|
|
264
|
-
function W(
|
|
264
|
+
function W(n, e, t) {
|
|
265
265
|
let { endpoint: a = "" } = e, { datasource: g = "" } = e, { currency: u = "" } = e, { lang: f = "" } = e, { session: h = "" } = e, { userid: d = "" } = e, { mbsource: r } = e, { clientstyling: o = "" } = e, { clientstylingurl: c = "" } = e, { livecasino: y = "false" } = e, { integratedgameframemobile: b = "false" } = e, { integratedgameframedesktop: v = "false" } = e, { showgamename: w = "" } = e, { gamepagemodalurl: _ = "false" } = e, { visiblegames: k = "" } = e, { favorites: C = "" } = e, { casinomygames: S = "false" } = e, { fetchviaevent: F = "true" } = e, m;
|
|
266
266
|
K({ withLocale: "en", translations: {} }), T(() => () => {
|
|
267
267
|
});
|
|
268
268
|
function I(i) {
|
|
269
|
-
|
|
269
|
+
B[i ? "unshift" : "push"](() => {
|
|
270
270
|
m = i, t(18, m);
|
|
271
271
|
});
|
|
272
272
|
}
|
|
273
|
-
return
|
|
273
|
+
return n.$$set = (i) => {
|
|
274
274
|
"endpoint" in i && t(0, a = i.endpoint), "datasource" in i && t(1, g = i.datasource), "currency" in i && t(2, u = i.currency), "lang" in i && t(3, f = i.lang), "session" in i && t(4, h = i.session), "userid" in i && t(5, d = i.userid), "mbsource" in i && t(6, r = i.mbsource), "clientstyling" in i && t(7, o = i.clientstyling), "clientstylingurl" in i && t(8, c = i.clientstylingurl), "livecasino" in i && t(9, y = i.livecasino), "integratedgameframemobile" in i && t(10, b = i.integratedgameframemobile), "integratedgameframedesktop" in i && t(11, v = i.integratedgameframedesktop), "showgamename" in i && t(12, w = i.showgamename), "gamepagemodalurl" in i && t(13, _ = i.gamepagemodalurl), "visiblegames" in i && t(14, k = i.visiblegames), "favorites" in i && t(15, C = i.favorites), "casinomygames" in i && t(16, S = i.casinomygames), "fetchviaevent" in i && t(17, F = i.fetchviaevent);
|
|
275
|
-
},
|
|
276
|
-
|
|
277
|
-
262272 && o && m &&
|
|
278
|
-
262400 && c && m &&
|
|
279
|
-
262208 && r && m &&
|
|
275
|
+
}, n.$$.update = () => {
|
|
276
|
+
n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
277
|
+
262272 && o && m && J(m, o), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
278
|
+
262400 && c && m && U(m, c), n.$$.dirty & /*mbsource, customStylingContainer*/
|
|
279
|
+
262208 && r && m && V(m, `${r}.Style`);
|
|
280
280
|
}, [
|
|
281
281
|
a,
|
|
282
282
|
g,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-B4OJuO_L.cjs");function ee({withLocale:i,translations:t}){e.$locale.subscribe(r=>{r==null&&(e.$dictionary.set(t),e.$locale.set(i))})}function G(i,t){e.addMessages(i,t)}const K={en:{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"},zh:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"},de:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},it:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},fr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},es:{providers:"Proveedores:",filterby:"Filtrar Por:",all:"Todos",clear:"Limpiar todos"},tr:{providers:"Sağlayıcılar:",filterby:"Filtrele:",all:"Hepsi",clear:"Tümünü Temizle"},ru:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ro:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hr:{providers:"Brendovi igara",filterby:"Filtrirati po:",all:"Sve",clear:"Očisti sve"},hu:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pt:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},"pt-br":{providers:"Provedores:",filterby:"Filtrar por",all:"Tudo",clear:"Apagar tudo"},"es-mx":{providers:"Proveedores:",filterby:"Filtrar por",all:"Todo",clear:"Borrar todo"},"en-us":{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"}};function te(i){e.append_styles(i,"svelte-14m0j7n",':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:17}.FilterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid var(--emw--color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emw--color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between;overflow:hidden}.FilterLabel .FilterItemLabel span.VendorName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}')}function Q(i,t,r){const a=i.slice();return a[37]=t[r],a[38]=t,a[39]=r,a}function le(i){let t,r,a,n,s,f,b,y,h=i[11]("filterby")+"",p,w,F,L,I=i[11]("providers")+"",k,x,m,u,o,S,A,E,j,v,O,H,P,B=i[11]("clear")+"",D,M,N,z,V,J;function q(l,c){return l[7]?ae:ie}let W=q(i),C=W(i),T=e.ensure_array_like(i[5]),_=[];for(let l=0;l<T.length;l+=1)_[l]=X(Q(i,T,l));return{c(){t=e.element("div"),r=e.element("div"),a=e.element("div"),n=e.svg_element("svg"),s=e.svg_element("path"),f=e.space(),b=e.element("div"),y=e.element("span"),p=e.text(h),w=e.space(),F=e.element("div"),L=e.element("span"),k=e.text(I),x=e.space(),C.c(),m=e.space(),u=e.element("span"),o=e.svg_element("svg"),S=e.svg_element("path"),j=e.space(),v=e.element("div"),O=e.element("ul");for(let l=0;l<_.length;l+=1)_[l].c();H=e.space(),P=e.element("button"),D=e.text(B),e.attr(s,"id","noun_filter_736223"),e.attr(s,"d","M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"),e.attr(s,"transform","translate(-5 -6.2)"),e.attr(s,"fill","#fff"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","16"),e.attr(n,"height","16"),e.attr(n,"viewBox","0 0 16 16"),e.attr(y,"class","FilterName"),e.attr(F,"class","FilterValueContainer"),e.attr(b,"class","FilterTextContainer"),e.attr(a,"class","FilterMainArea"),e.attr(S,"id","arrow"),e.attr(S,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),e.attr(S,"transform","translate(-274.511 -441.088)"),e.attr(S,"fill","#d1d1d1"),e.attr(o,"xmlns","http://www.w3.org/2000/svg"),e.attr(o,"width","14"),e.attr(o,"height","6.835"),e.attr(o,"viewBox","0 0 14 6.835"),e.attr(u,"class",A="TriangleInactive "+(i[4]?"TriangleActive":"")),e.attr(r,"class",E="FilterSelector "+(i[4]?"FilterSelectorOpen":"")),e.attr(O,"class","FilterDropdown"),e.attr(P,"class","ClearFilters"),P.disabled=M=i[7]&&i[6].length!=i[5].length,e.attr(v,"class",N="FilterDropdownContainer "+(i[4]?"FilterOpen":"")),e.attr(t,"class",z="FilterContainer "+(i[0]=="true"&&i[1]=="true"?"FilerContainerSplit":""))},m(l,c){e.insert(l,t,c),e.append(t,r),e.append(r,a),e.append(a,n),e.append(n,s),e.append(a,f),e.append(a,b),e.append(b,y),e.append(y,p),e.append(b,w),e.append(b,F),e.append(F,L),e.append(L,k),e.append(F,x),C.m(F,null),e.append(r,m),e.append(r,u),e.append(u,o),e.append(o,S),e.append(t,j),e.append(t,v),e.append(v,O);for(let d=0;d<_.length;d+=1)_[d]&&_[d].m(O,null);e.append(v,H),e.append(v,P),e.append(P,D),V||(J=[e.listen(r,"click",i[24]),e.listen(P,"click",i[27])],V=!0)},p(l,c){if(c[0]&2048&&h!==(h=l[11]("filterby")+"")&&e.set_data(p,h),c[0]&2048&&I!==(I=l[11]("providers")+"")&&e.set_data(k,I),W===(W=q(l))&&C?C.p(l,c):(C.d(1),C=W(l),C&&(C.c(),C.m(F,null))),c[0]&16&&A!==(A="TriangleInactive "+(l[4]?"TriangleActive":""))&&e.attr(u,"class",A),c[0]&16&&E!==(E="FilterSelector "+(l[4]?"FilterSelectorOpen":""))&&e.attr(r,"class",E),c[0]&8228){T=e.ensure_array_like(l[5]);let d;for(d=0;d<T.length;d+=1){const g=Q(l,T,d);_[d]?_[d].p(g,c):(_[d]=X(g),_[d].c(),_[d].m(O,null))}for(;d<_.length;d+=1)_[d].d(1);_.length=T.length}c[0]&2048&&B!==(B=l[11]("clear")+"")&&e.set_data(D,B),c[0]&224&&M!==(M=l[7]&&l[6].length!=l[5].length)&&(P.disabled=M),c[0]&16&&N!==(N="FilterDropdownContainer "+(l[4]?"FilterOpen":""))&&e.attr(v,"class",N),c[0]&3&&z!==(z="FilterContainer "+(l[0]=="true"&&l[1]=="true"?"FilerContainerSplit":""))&&e.attr(t,"class",z)},d(l){l&&e.detach(t),C.d(),e.destroy_each(_,l),V=!1,e.run_all(J)}}}function re(i){let t,r=i[11]("500")+"";return{c(){t=e.element("p"),e.attr(t,"class","SearchLoading")},m(a,n){e.insert(a,t,n),t.innerHTML=r},p(a,n){n[0]&2048&&r!==(r=a[11]("500")+"")&&(t.innerHTML=r)},d(a){a&&e.detach(t)}}}function ie(i){let t,r;return{c(){t=e.element("span"),r=e.text(i[8]),e.attr(t,"class","FilterCounter")},m(a,n){e.insert(a,t,n),e.append(t,r)},p(a,n){n[0]&256&&e.set_data(r,a[8])},d(a){a&&e.detach(t)}}}function ae(i){let t,r=i[11]("all")+"",a;return{c(){t=e.element("span"),a=e.text(r),e.attr(t,"class","FilterCounter")},m(n,s){e.insert(n,t,s),e.append(t,a)},p(n,s){s[0]&2048&&r!==(r=n[11]("all")+"")&&e.set_data(a,r)},d(n){n&&e.detach(t)}}}function ne(i){let t,r;return{c(){t=e.element("img"),e.src_url_equal(t.src,r=i[37].logo)||e.attr(t,"src",r),e.attr(t,"alt","vendor logo")},m(a,n){e.insert(a,t,n)},p(a,n){n[0]&32&&!e.src_url_equal(t.src,r=a[37].logo)&&e.attr(t,"src",r)},d(a){a&&e.detach(t)}}}function se(i){let t,r,a=i[37].name+"",n,s,f,b,y=i[37].games.total+"",h,p;return{c(){t=e.element("div"),r=e.element("span"),n=e.text(a),s=e.space(),f=e.element("span"),b=e.text("("),h=e.text(y),p=e.text(")"),e.attr(r,"class","VendorName"),e.attr(t,"class","FilterItemLabel")},m(w,F){e.insert(w,t,F),e.append(t,r),e.append(r,n),e.append(t,s),e.append(t,f),e.append(f,b),e.append(f,h),e.append(f,p)},p(w,F){F[0]&32&&a!==(a=w[37].name+"")&&e.set_data(n,a),F[0]&32&&y!==(y=w[37].games.total+"")&&e.set_data(h,y)},d(w){w&&e.detach(t)}}}function X(i){let t,r,a,n,s,f,b,y,h,p,w,F;function L(){i[25].call(a,i[38],i[39])}function I(){return i[26](i[37])}function k(u,o){if(u[2]==="false")return se;if(u[2]==="true")return ne}let x=k(i),m=x&&x(i);return{c(){t=e.element("li"),r=e.element("label"),a=e.element("input"),s=e.space(),f=e.element("span"),b=e.space(),m&&m.c(),y=e.space(),e.attr(a,"type","checkbox"),e.attr(a,"name","checkbox"),a.__value=n=i[37].name,e.set_input_value(a,a.__value),e.attr(f,"class","FiltersCheckmark"),e.attr(r,"class","FilterLabel"),e.attr(t,"class",h="FilterItem "+(i[2]==="true"?"FilterItemWithLogos":"")),t.value=p=i[37].name},m(u,o){e.insert(u,t,o),e.append(t,r),e.append(r,a),a.checked=i[37].isFilterSelected,e.append(r,s),e.append(r,f),e.append(r,b),m&&m.m(r,null),e.append(t,y),w||(F=[e.listen(a,"change",L),e.listen(a,"click",I)],w=!0)},p(u,o){i=u,o[0]&32&&n!==(n=i[37].name)&&(a.__value=n,e.set_input_value(a,a.__value)),o[0]&32&&(a.checked=i[37].isFilterSelected),x===(x=k(i))&&m?m.p(i,o):(m&&m.d(1),m=x&&x(i),m&&(m.c(),m.m(r,null))),o[0]&4&&h!==(h="FilterItem "+(i[2]==="true"?"FilterItemWithLogos":""))&&e.attr(t,"class",h),o[0]&32&&p!==(p=i[37].name)&&(t.value=p)},d(u){u&&e.detach(t),m&&m.d(),w=!1,e.run_all(F)}}}function oe(i){let t;function r(s,f){if(s[10])return re;if(!s[9])return le}let a=r(i),n=a&&a(i);return{c(){t=e.element("div"),n&&n.c()},m(s,f){e.insert(s,t,f),n&&n.m(t,null),i[28](t)},p(s,f){a===(a=r(s))&&n?n.p(s,f):(n&&n.d(1),n=a&&a(s),n&&(n.c(),n.m(t,null)))},i:e.noop,o:e.noop,d(s){s&&e.detach(t),n&&n.d(),i[28](null)}}}function ce(i,t,r){let a;e.component_subscribe(i,e.$format,l=>r(11,a=l));let{endpoint:n=""}=t,{datasource:s=""}=t,{lang:f=""}=t,{translationurl:b=""}=t,{clientstyling:y=""}=t,{clientstylingurl:h=""}=t,{categoryid:p=""}=t,{addfilterselector:w="false"}=t,{addsortingselector:F="false"}=t,{filterbylogo:L="false"}=t,{mbsource:I}=t,{usesinglevendorfilter:k="false"}=t,x=!1,m=window.navigator.userAgent,u=[],o=[],S={},A=!1,E=0,j=!0,v,O=!1,H;ee({withLocale:"en",translations:{}});const P=()=>{fetch(b).then(c=>c.json()).then(c=>{Object.keys(c).forEach(d=>{G(d,c[d])})}).catch(c=>{console.log(c)})};Object.keys(K).forEach(l=>{G(l,K[l])}),S[p]&&(S={[p]:[]});const B=()=>{r(4,x=!x),window.postMessage({type:"FilterOpened"},window.location.href)},D=l=>(r(9,j=!0),new Promise((c,d)=>{fetch(l).then(g=>g.json()).then(g=>{g=g.items,c(g.items),r(6,o=[]);let U=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));const $=k==="true"?"*":p;g.forEach(R=>{var Z;U||(U={currentCategoryId:[]}),((Z=U[$])==null?void 0:Z.indexOf(R.id))>=0?(R.isFilterSelected=!0,o.push(R)):R.isFilterSelected=!1}),r(5,u=g),N()}).catch(g=>{console.error(g),r(10,O=!0),d(g)}).finally(()=>{r(9,j=!1)})})),M=l=>{let c=localStorage.getItem("vendorFiltersByCategory");l.isFilterSelected=!l.isFilterSelected,!o.length||o.filter(g=>g.name===l.name).length==0?o.push(l):r(6,o=o.filter(g=>g.name!==l.name));const d=k==="true"?"*":p;c==null?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(S={[d]:o.map(g=>g.id)})):(c=JSON.parse(c),c[d]=o.map(g=>g.id),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(c))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),N()},N=()=>{r(7,A=o.length===u.length||o.length==0),r(8,E=o.length)},z=()=>{if(u.length&&k==="true")return;const l=new URL(`${n}/v1/casino/vendors`);r(4,x=!1),l.searchParams.append("fields","id,name,logo,subVendors,games"),l.searchParams.append("language",f),l.searchParams.append("datasource",s),l.searchParams.append("platform",e.getDevice(m)),k==="true"||((p.match(/\$/g)||[]).length>1?(l.searchParams.append("filter",`games(subGroups=${p})`),l.searchParams.append("subVendors",`games(subGroups=${p})`)):l.searchParams.append("filter",`games(groups=${p})`)),D(l)},V=()=>{r(6,o=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(S={[k==="true"?"*":p]:o.map(l=>l.id)})),u.forEach(l=>l.isFilterSelected=!1),r(5,u),window.postMessage({type:"ApplyFilters"},window.location.href),r(7,A=!0),r(4,x=!1)},J=l=>{l.data.type=="SortingOpened"&&r(4,x=!1)};e.onMount(()=>(window.addEventListener("message",J,!1),()=>{window.emMessageBus!=null&&H&&H.unsubscribe(),window.removeEventListener("message",J)}));const q=()=>B();function W(l,c){l[c].isFilterSelected=this.checked,r(5,u)}const C=l=>M(l),T=()=>V();function _(l){e.binding_callbacks[l?"unshift":"push"](()=>{v=l,r(3,v)})}return i.$$set=l=>{"endpoint"in l&&r(15,n=l.endpoint),"datasource"in l&&r(16,s=l.datasource),"lang"in l&&r(17,f=l.lang),"translationurl"in l&&r(18,b=l.translationurl),"clientstyling"in l&&r(19,y=l.clientstyling),"clientstylingurl"in l&&r(20,h=l.clientstylingurl),"categoryid"in l&&r(21,p=l.categoryid),"addfilterselector"in l&&r(0,w=l.addfilterselector),"addsortingselector"in l&&r(1,F=l.addsortingselector),"filterbylogo"in l&&r(2,L=l.filterbylogo),"mbsource"in l&&r(22,I=l.mbsource),"usesinglevendorfilter"in l&&r(23,k=l.usesinglevendorfilter)},i.$$.update=()=>{i.$$.dirty[0]&2195460&&n&&s&&p&&L&&z(),i.$$.dirty[0]&524296&&y&&v&&e.setClientStyling(v,y),i.$$.dirty[0]&1048584&&h&&v&&e.setClientStylingURL(v,h),i.$$.dirty[0]&4194312&&v&&e.setStreamStyling(v,`${I}.Style`),i.$$.dirty[0]&262144&&b&&P()},[w,F,L,v,x,u,o,A,E,j,O,a,B,M,V,n,s,f,b,y,h,p,I,k,q,W,C,T,_]}class Y extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ce,oe,e.safe_not_equal,{endpoint:15,datasource:16,lang:17,translationurl:18,clientstyling:19,clientstylingurl:20,categoryid:21,addfilterselector:0,addsortingselector:1,filterbylogo:2,mbsource:22,usesinglevendorfilter:23},te,[-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 translationurl(){return this.$$.ctx[18]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get categoryid(){return this.$$.ctx[21]}set categoryid(t){this.$$set({categoryid:t}),e.flush()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(t){this.$$set({addfilterselector:t}),e.flush()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(t){this.$$set({addsortingselector:t}),e.flush()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(t){this.$$set({filterbylogo:t}),e.flush()}get mbsource(){return this.$$.ctx[22]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get usesinglevendorfilter(){return this.$$.ctx[23]}set usesinglevendorfilter(t){this.$$set({usesinglevendorfilter:t}),e.flush()}}e.create_custom_element(Y,{endpoint:{},datasource:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},addfilterselector:{},addsortingselector:{},filterbylogo:{},mbsource:{},usesinglevendorfilter:{}},[],[],!0);exports.default=Y;
|