@everymatrix/casino-most-played-section 1.59.0 → 1.59.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoFilter-D9VOcS4e.js → CasinoFilter-BEMZeS_g.js} +1024 -998
- package/components/{CasinoFilter-CBoZ_RpC.js → CasinoFilter-C_0ob48-.js} +991 -965
- package/components/CasinoFilter-DofohXbH.cjs +18 -0
- package/components/CasinoGameThumbnail-BcMbDBA2.cjs +47 -0
- package/components/{CasinoGameThumbnail-Cwm-Tv9Z.js → CasinoGameThumbnail-BlqmZREO.js} +1495 -1479
- package/components/{CasinoGameThumbnail-8SSlDp2s.js → CasinoGameThumbnail-KTwYvmqH.js} +1551 -1535
- package/components/{CasinoGamesCategorySection-BYQrH9_B.cjs → CasinoGamesCategorySection-B63svGQp.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-CIDyNXT6.js → CasinoGamesCategorySection-BBI2VM_A.js} +424 -419
- package/components/{CasinoGamesCategorySection-Dd6Sbxl3.js → CasinoGamesCategorySection-Dk5gIWUD.js} +517 -512
- package/components/{CasinoMostPlayedSection-Bdpwrllj.js → CasinoMostPlayedSection-C6gF3p6r.js} +61 -61
- package/components/{CasinoMostPlayedSection-ZCvcv5TT.js → CasinoMostPlayedSection-DYiOblDn.js} +67 -67
- package/components/{CasinoMostPlayedSection-C2atcWQN.cjs → CasinoMostPlayedSection-Ic2U2XCD.cjs} +1 -1
- package/components/{CasinoSort-BUVnl6Xi.js → CasinoSort-BlmGeGgO.js} +106 -107
- package/components/{CasinoSort-fSuvj-fz.js → CasinoSort-C0-xVhct.js} +114 -113
- package/components/{CasinoSort-Td9dTUIe.cjs → CasinoSort-M-DWe9Ma.cjs} +1 -1
- package/es2015/casino-most-played-section.cjs +1 -1
- package/es2015/casino-most-played-section.js +1 -1
- package/esnext/casino-most-played-section.js +1 -1
- package/package.json +3 -2
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
- package/stencil/index-ae04a8b1-DPYODDdm.cjs +1 -0
- package/stencil/index-ae04a8b1-DRAR7dln.js +532 -0
- package/stencil/index-ae04a8b1-eSktas_K.js +516 -0
- package/stencil/ui-skeleton-C1buDKbo.cjs +1 -0
- package/stencil/ui-skeleton-C5gPr5Xv.js +11 -0
- package/stencil/ui-skeleton-M7HNQCk1.js +29 -0
- package/stencil/ui-skeleton-a642cced-BFJMszWG.js +122 -0
- package/stencil/ui-skeleton-a642cced-DO34s50a.cjs +1 -0
- package/stencil/ui-skeleton-a642cced-p8tGooXk.js +122 -0
- package/components/CasinoFilter-CP2SsYcD.cjs +0 -18
- package/components/CasinoGameThumbnail-CHQxvhi_.cjs +0 -47
@@ -1,4 +1,4 @@
|
|
1
|
-
import { $ as q,
|
1
|
+
import { $ as q, M as et, a as rt, S as ot, i as nt, f as H, c as at, s as st, b as lt, e as m, k as P, o as U, p as R, q as it, r as ct, u as dt, A as pt, B as ut, C as gt, D as G, I as Z, d as I, t as K, h as r, l, w as tt, n as Q, E as ht, F as mt } from "./CasinoFilter-BEMZeS_g.js";
|
2
2
|
function ft({ withLocale: t, translations: e }) {
|
3
3
|
q.subscribe((o) => {
|
4
4
|
o == null && (et.set(e), q.set(t));
|
@@ -136,84 +136,84 @@ const X = {
|
|
136
136
|
}
|
137
137
|
};
|
138
138
|
function yt(t) {
|
139
|
-
|
139
|
+
lt(t, "svelte-54zse8", ':root{--min-height:50px}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.SorterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{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;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{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}.SorterDropdownContainer{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:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emw--color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}.ClearSorters{margin:20px auto;border:0;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));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}.ClearSorters: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){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}@media(max-width: 480px){.SorterSelector{min-height:var(--min-height)}.SorterDropdownContainer{top:var(--min-height)}}');
|
140
140
|
}
|
141
141
|
function Y(t, e, o) {
|
142
142
|
const a = t.slice();
|
143
143
|
return a[23] = e[o], a;
|
144
144
|
}
|
145
145
|
function wt(t) {
|
146
|
-
let e, o, a, s, i, d,
|
146
|
+
let e, o, a, s, i, d, f, u, k, b, g, w = (
|
147
147
|
/*$_*/
|
148
148
|
t[4]("sortby") + ""
|
149
|
-
),
|
149
|
+
), S, v, x, D, C = (
|
150
150
|
/*vendorSortingBy*/
|
151
151
|
(t[3] || /*$_*/
|
152
152
|
t[4]("all")) + ""
|
153
|
-
),
|
153
|
+
), L, T, F, A, N, B, M, n, p, _, E, j, V, O = G(Object.values(
|
154
154
|
/*vendorMap*/
|
155
155
|
t[5]
|
156
|
-
)),
|
157
|
-
for (let c = 0; c <
|
158
|
-
|
156
|
+
)), y = [];
|
157
|
+
for (let c = 0; c < O.length; c += 1)
|
158
|
+
y[c] = $(Y(t, O, c));
|
159
159
|
return {
|
160
160
|
c() {
|
161
|
-
e =
|
162
|
-
for (let c = 0; c <
|
163
|
-
|
164
|
-
r(d, "id", "Path_5267"), r(d, "data-name", "Path 5267"), r(d, "d", "M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"), r(d, "transform", "translate(-206.448 0)"), r(d, "fill", "#fff"), r(
|
165
|
-
(t[1] ? "TriangleActive" : "")), r(o, "class",
|
166
|
-
(t[1] ? "SorterSelectorOpen" : "")), r(
|
161
|
+
e = m("div"), o = m("div"), a = m("div"), s = Z("svg"), i = Z("g"), d = Z("path"), f = Z("path"), u = Z("path"), k = I(), b = m("div"), g = m("span"), S = K(w), v = I(), x = m("div"), D = m("span"), L = K(C), T = I(), F = m("span"), A = Z("svg"), N = Z("path"), n = I(), p = m("div"), _ = m("ul");
|
162
|
+
for (let c = 0; c < y.length; c += 1)
|
163
|
+
y[c].c();
|
164
|
+
r(d, "id", "Path_5267"), r(d, "data-name", "Path 5267"), r(d, "d", "M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"), r(d, "transform", "translate(-206.448 0)"), r(d, "fill", "#fff"), r(f, "id", "Path_5268"), r(f, "data-name", "Path 5268"), r(f, "d", "M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"), r(f, "transform", "translate(0 0)"), r(f, "fill", "#fff"), r(u, "id", "Path_5269"), r(u, "data-name", "Path 5269"), r(u, "d", "M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"), r(u, "transform", "translate(-412.896 0)"), r(u, "fill", "#fff"), r(i, "id", "sortby"), r(i, "transform", "translate(-306 -342)"), r(s, "xmlns", "http://www.w3.org/2000/svg"), r(s, "width", "20"), r(s, "height", "20"), r(s, "viewBox", "0 0 26.003 22.819"), r(g, "class", "SorterName"), r(x, "class", "SorterValueContainer"), r(b, "class", "SorterTextContainer"), r(a, "class", "SorterMainArea"), r(N, "id", "arrow"), r(N, "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"), r(N, "transform", "translate(-274.511 -441.088)"), r(N, "fill", "#d1d1d1"), r(A, "xmlns", "http://www.w3.org/2000/svg"), r(A, "width", "14"), r(A, "height", "6.835"), r(A, "viewBox", "0 0 14 6.835"), r(F, "class", B = "TriangleInactive " + /*isSorterActive*/
|
165
|
+
(t[1] ? "TriangleActive" : "")), r(o, "class", M = "SorterSelector " + /*isSorterActive*/
|
166
|
+
(t[1] ? "SorterSelectorOpen" : "")), r(_, "class", "SorterDropdown"), r(p, "class", E = "SorterDropdownContainer " + /*isSorterActive*/
|
167
167
|
(t[1] ? "SorterOpen" : "")), r(e, "class", "SorterContainer");
|
168
168
|
},
|
169
|
-
m(c,
|
170
|
-
|
171
|
-
for (let
|
172
|
-
|
173
|
-
|
169
|
+
m(c, z) {
|
170
|
+
P(c, e, z), l(e, o), l(o, a), l(a, s), l(s, i), l(i, d), l(i, f), l(i, u), l(a, k), l(a, b), l(b, g), l(g, S), l(b, v), l(b, x), l(x, D), l(D, L), l(o, T), l(o, F), l(F, A), l(A, N), l(e, n), l(e, p), l(p, _);
|
171
|
+
for (let h = 0; h < y.length; h += 1)
|
172
|
+
y[h] && y[h].m(_, null);
|
173
|
+
j || (V = tt(
|
174
174
|
o,
|
175
175
|
"click",
|
176
176
|
/*click_handler*/
|
177
177
|
t[14]
|
178
|
-
),
|
178
|
+
), j = !0);
|
179
179
|
},
|
180
|
-
p(c,
|
181
|
-
if (
|
182
|
-
16 &&
|
183
|
-
c[4]("sortby") + "") &&
|
184
|
-
24 &&
|
180
|
+
p(c, z) {
|
181
|
+
if (z & /*$_*/
|
182
|
+
16 && w !== (w = /*$_*/
|
183
|
+
c[4]("sortby") + "") && Q(S, w), z & /*vendorSortingBy, $_*/
|
184
|
+
24 && C !== (C = /*vendorSortingBy*/
|
185
185
|
(c[3] || /*$_*/
|
186
|
-
c[4]("all")) + "") &&
|
187
|
-
2 &&
|
188
|
-
(c[1] ? "TriangleActive" : "")) && r(
|
189
|
-
2 &&
|
190
|
-
(c[1] ? "SorterSelectorOpen" : "")) && r(o, "class",
|
186
|
+
c[4]("all")) + "") && Q(L, C), z & /*isSorterActive*/
|
187
|
+
2 && B !== (B = "TriangleInactive " + /*isSorterActive*/
|
188
|
+
(c[1] ? "TriangleActive" : "")) && r(F, "class", B), z & /*isSorterActive*/
|
189
|
+
2 && M !== (M = "SorterSelector " + /*isSorterActive*/
|
190
|
+
(c[1] ? "SorterSelectorOpen" : "")) && r(o, "class", M), z & /*Object, vendorMap, vendorSortingBy, undefined, $_, sortBy*/
|
191
191
|
120) {
|
192
|
-
|
192
|
+
O = G(Object.values(
|
193
193
|
/*vendorMap*/
|
194
194
|
c[5]
|
195
195
|
));
|
196
|
-
let
|
197
|
-
for (
|
198
|
-
const J = Y(c,
|
199
|
-
|
196
|
+
let h;
|
197
|
+
for (h = 0; h < O.length; h += 1) {
|
198
|
+
const J = Y(c, O, h);
|
199
|
+
y[h] ? y[h].p(J, z) : (y[h] = $(J), y[h].c(), y[h].m(_, null));
|
200
200
|
}
|
201
|
-
for (;
|
202
|
-
|
203
|
-
|
201
|
+
for (; h < y.length; h += 1)
|
202
|
+
y[h].d(1);
|
203
|
+
y.length = O.length;
|
204
204
|
}
|
205
|
-
|
206
|
-
2 &&
|
207
|
-
(c[1] ? "SorterOpen" : "")) && r(
|
205
|
+
z & /*isSorterActive*/
|
206
|
+
2 && E !== (E = "SorterDropdownContainer " + /*isSorterActive*/
|
207
|
+
(c[1] ? "SorterOpen" : "")) && r(p, "class", E);
|
208
208
|
},
|
209
209
|
d(c) {
|
210
|
-
c &&
|
210
|
+
c && R(e), ht(y, c), j = !1, V();
|
211
211
|
}
|
212
212
|
};
|
213
213
|
}
|
214
214
|
function $(t) {
|
215
|
-
let e, o, a, s, i, d,
|
216
|
-
function
|
215
|
+
let e, o, a, s, i, d, f, u, k, b, g;
|
216
|
+
function w() {
|
217
217
|
return (
|
218
218
|
/*click_handler_1*/
|
219
219
|
t[15](
|
@@ -224,8 +224,8 @@ function $(t) {
|
|
224
224
|
}
|
225
225
|
return {
|
226
226
|
c() {
|
227
|
-
e =
|
228
|
-
t[23]}`,
|
227
|
+
e = m("li"), o = m("label"), a = m("input"), i = I(), d = m("span"), f = I(), u = m("span"), u.textContent = `${/*sort*/
|
228
|
+
t[23]}`, k = I(), r(a, "type", "radio"), r(a, "name", "radio"), a.value = /*sort*/
|
229
229
|
t[23], a.checked = s = /*vendorSortingBy*/
|
230
230
|
t[3] == /*sort*/
|
231
231
|
t[23] ? !0 : (
|
@@ -236,11 +236,11 @@ function $(t) {
|
|
236
236
|
), r(d, "class", "SortersCheckmark"), r(o, "class", "SorterLabel CustomRadioButton"), r(e, "class", "SorterItem"), e.value = /*sort*/
|
237
237
|
t[23];
|
238
238
|
},
|
239
|
-
m(
|
240
|
-
|
239
|
+
m(S, v) {
|
240
|
+
P(S, e, v), l(e, o), l(o, a), l(o, i), l(o, d), l(o, f), l(o, u), l(e, k), b || (g = tt(a, "click", w), b = !0);
|
241
241
|
},
|
242
|
-
p(
|
243
|
-
t =
|
242
|
+
p(S, v) {
|
243
|
+
t = S, v & /*vendorSortingBy, $_*/
|
244
244
|
24 && s !== (s = /*vendorSortingBy*/
|
245
245
|
t[3] == /*sort*/
|
246
246
|
t[23] ? !0 : (
|
@@ -250,8 +250,8 @@ function $(t) {
|
|
250
250
|
t[4]("all")
|
251
251
|
)) && (a.checked = s);
|
252
252
|
},
|
253
|
-
d(
|
254
|
-
|
253
|
+
d(S) {
|
254
|
+
S && R(e), b = !1, g();
|
255
255
|
}
|
256
256
|
};
|
257
257
|
}
|
@@ -265,10 +265,10 @@ function bt(t) {
|
|
265
265
|
let a = o(t), s = a && a(t);
|
266
266
|
return {
|
267
267
|
c() {
|
268
|
-
e =
|
268
|
+
e = m("div"), s && s.c();
|
269
269
|
},
|
270
270
|
m(i, d) {
|
271
|
-
|
271
|
+
P(i, e, d), s && s.m(e, null), t[16](e);
|
272
272
|
},
|
273
273
|
p(i, [d]) {
|
274
274
|
a === (a = o(i)) && s ? s.p(i, d) : (s && s.d(1), s = a && a(i), s && (s.c(), s.m(e, null)));
|
@@ -276,22 +276,22 @@ function bt(t) {
|
|
276
276
|
i: U,
|
277
277
|
o: U,
|
278
278
|
d(i) {
|
279
|
-
i &&
|
279
|
+
i && R(e), s && s.d(), t[16](null);
|
280
280
|
}
|
281
281
|
};
|
282
282
|
}
|
283
283
|
function St(t, e, o) {
|
284
284
|
let a;
|
285
|
-
|
286
|
-
let { lang: s = "" } = e, { translationurl: i = "" } = e, { clientstyling: d = "" } = e, { clientstylingurl:
|
285
|
+
it(t, mt, (n) => o(4, a = n));
|
286
|
+
let { lang: s = "" } = e, { translationurl: i = "" } = e, { clientstyling: d = "" } = e, { clientstylingurl: f = "" } = e, { categoryid: u = "" } = e, { mbsource: k } = e, b, g, w = !1, S = !0, v = "", x = "All";
|
287
287
|
ft({ withLocale: "en", translations: {} });
|
288
|
-
const
|
289
|
-
fetch(i).then((
|
290
|
-
Object.keys(
|
291
|
-
W(
|
288
|
+
const D = () => {
|
289
|
+
fetch(i).then((p) => p.json()).then((p) => {
|
290
|
+
Object.keys(p).forEach((_) => {
|
291
|
+
W(_, p[_]);
|
292
292
|
});
|
293
|
-
}).catch((
|
294
|
-
console.log(
|
293
|
+
}).catch((p) => {
|
294
|
+
console.log(p);
|
295
295
|
});
|
296
296
|
};
|
297
297
|
Object.keys(X).forEach((n) => {
|
@@ -302,68 +302,69 @@ function St(t, e, o) {
|
|
302
302
|
name: a("az"),
|
303
303
|
isNew: a("newest"),
|
304
304
|
"advancedTags(name(hot))": a("hottest")
|
305
|
-
},
|
306
|
-
|
307
|
-
|
308
|
-
n
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
305
|
+
}, L = () => {
|
306
|
+
var p;
|
307
|
+
o(3, x = "All"), o(2, S = !1), o(1, w = !1);
|
308
|
+
let n = (p = JSON.parse(localStorage.getItem("vendorSortingBy"))) == null ? void 0 : p[u];
|
309
|
+
n ? o(3, x = n) : o(3, x = "All"), o(3, x = C[n]);
|
310
|
+
}, T = (n) => {
|
311
|
+
o(3, x = n);
|
312
|
+
let p = localStorage.getItem("vendorSortingBy");
|
313
|
+
v = n;
|
314
|
+
for (let _ in C)
|
315
|
+
if (C[_] === n) {
|
316
|
+
v = _;
|
316
317
|
break;
|
317
318
|
}
|
318
|
-
|
319
|
+
p == null ? localStorage.setItem("vendorSortingBy", JSON.stringify({ [u]: v })) : (p = JSON.parse(p), p[u] = v, localStorage.setItem("vendorSortingBy", JSON.stringify(p))), window.postMessage(
|
319
320
|
{
|
320
321
|
type: "ApplySorter",
|
321
|
-
sortBy:
|
322
|
-
itemId:
|
322
|
+
sortBy: v,
|
323
|
+
itemId: u
|
323
324
|
},
|
324
325
|
window.location.href
|
325
|
-
), o(1,
|
326
|
-
},
|
327
|
-
o(1,
|
328
|
-
},
|
329
|
-
n.data.type == "FilterOpened" && o(1,
|
326
|
+
), o(1, w = !w);
|
327
|
+
}, F = () => {
|
328
|
+
o(1, w = !w), window.postMessage({ type: "SortingOpened" }, window.location.href);
|
329
|
+
}, A = (n) => {
|
330
|
+
n.data.type == "FilterOpened" && o(1, w = !1);
|
330
331
|
};
|
331
|
-
|
332
|
-
window.removeEventListener("message",
|
332
|
+
ct(() => (window.addEventListener("message", A, !1), () => {
|
333
|
+
window.emMessageBus != null && b && b.unsubscribe(), window.removeEventListener("message", A);
|
333
334
|
}));
|
334
|
-
const
|
335
|
-
function
|
336
|
-
|
337
|
-
|
335
|
+
const N = () => F(), B = (n) => T(n);
|
336
|
+
function M(n) {
|
337
|
+
pt[n ? "unshift" : "push"](() => {
|
338
|
+
g = n, o(0, g);
|
338
339
|
});
|
339
340
|
}
|
340
341
|
return t.$$set = (n) => {
|
341
|
-
"lang" in n && o(8, s = n.lang), "translationurl" in n && o(9, i = n.translationurl), "clientstyling" in n && o(10, d = n.clientstyling), "clientstylingurl" in n && o(11,
|
342
|
+
"lang" in n && o(8, s = n.lang), "translationurl" in n && o(9, i = n.translationurl), "clientstyling" in n && o(10, d = n.clientstyling), "clientstylingurl" in n && o(11, f = n.clientstylingurl), "categoryid" in n && o(12, u = n.categoryid), "mbsource" in n && o(13, k = n.mbsource);
|
342
343
|
}, t.$$.update = () => {
|
343
344
|
t.$$.dirty & /*categoryid*/
|
344
|
-
4096 &&
|
345
|
-
1025 && d &&
|
346
|
-
2049 &&
|
347
|
-
8193 &&
|
348
|
-
512 && i &&
|
345
|
+
4096 && u && L(), t.$$.dirty & /*clientstyling, customStylingContainer*/
|
346
|
+
1025 && d && g && ut(g, d), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
347
|
+
2049 && f && g && dt(g, f), t.$$.dirty & /*customStylingContainer, mbsource*/
|
348
|
+
8193 && g && gt(g, `${k}.Style`), t.$$.dirty & /*translationurl*/
|
349
|
+
512 && i && D();
|
349
350
|
}, [
|
350
|
-
|
351
|
-
|
352
|
-
_,
|
351
|
+
g,
|
352
|
+
w,
|
353
353
|
S,
|
354
|
+
x,
|
354
355
|
a,
|
355
356
|
C,
|
356
|
-
|
357
|
-
|
357
|
+
T,
|
358
|
+
F,
|
358
359
|
s,
|
359
360
|
i,
|
360
361
|
d,
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
362
|
+
f,
|
363
|
+
u,
|
364
|
+
k,
|
365
|
+
N,
|
366
|
+
B,
|
367
|
+
M
|
367
368
|
];
|
368
369
|
}
|
369
370
|
class vt extends ot {
|
@@ -373,7 +374,7 @@ class vt extends ot {
|
|
373
374
|
e,
|
374
375
|
St,
|
375
376
|
bt,
|
376
|
-
|
377
|
+
st,
|
377
378
|
{
|
378
379
|
lang: 8,
|
379
380
|
translationurl: 9,
|
@@ -389,40 +390,40 @@ class vt extends ot {
|
|
389
390
|
return this.$$.ctx[8];
|
390
391
|
}
|
391
392
|
set lang(e) {
|
392
|
-
this.$$set({ lang: e }),
|
393
|
+
this.$$set({ lang: e }), H();
|
393
394
|
}
|
394
395
|
get translationurl() {
|
395
396
|
return this.$$.ctx[9];
|
396
397
|
}
|
397
398
|
set translationurl(e) {
|
398
|
-
this.$$set({ translationurl: e }),
|
399
|
+
this.$$set({ translationurl: e }), H();
|
399
400
|
}
|
400
401
|
get clientstyling() {
|
401
402
|
return this.$$.ctx[10];
|
402
403
|
}
|
403
404
|
set clientstyling(e) {
|
404
|
-
this.$$set({ clientstyling: e }),
|
405
|
+
this.$$set({ clientstyling: e }), H();
|
405
406
|
}
|
406
407
|
get clientstylingurl() {
|
407
408
|
return this.$$.ctx[11];
|
408
409
|
}
|
409
410
|
set clientstylingurl(e) {
|
410
|
-
this.$$set({ clientstylingurl: e }),
|
411
|
+
this.$$set({ clientstylingurl: e }), H();
|
411
412
|
}
|
412
413
|
get categoryid() {
|
413
414
|
return this.$$.ctx[12];
|
414
415
|
}
|
415
416
|
set categoryid(e) {
|
416
|
-
this.$$set({ categoryid: e }),
|
417
|
+
this.$$set({ categoryid: e }), H();
|
417
418
|
}
|
418
419
|
get mbsource() {
|
419
420
|
return this.$$.ctx[13];
|
420
421
|
}
|
421
422
|
set mbsource(e) {
|
422
|
-
this.$$set({ mbsource: e }),
|
423
|
+
this.$$set({ mbsource: e }), H();
|
423
424
|
}
|
424
425
|
}
|
425
|
-
|
426
|
+
at(vt, { lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, mbsource: {} }, [], [], !0);
|
426
427
|
export {
|
427
428
|
vt as default
|
428
429
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFilter-CP2SsYcD.cjs");function V({withLocale:e,translations:r}){t.$locale.subscribe(n=>{n==null&&(t.$dictionary.set(r),t.$locale.set(e))})}function T(e,r){t.addMessages(e,r)}const j={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sırala:",all:"Hepsi",az:"A-Z",newest:"En yeni",hottest:"Öne Çıkan"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"Poredaj po:",all:"Sve",az:"A-Z",newest:"Najnovije",hottest:"Hot igre"},hu:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pt:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},"pt-br":{sortby:"Organizar por:",all:"Todos",az:"A-Z",newest:"Mais recente",hottest:"mais quente"},"es-mx":{sortby:"Ordenar Por:",all:"Todo",az:"A-Z",newest:"Más nuevos",hottest:"Más calientes"},"en-us":{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"}};function J(e){t.append_styles(e,"svelte-54zse8",':root{--min-height:50px}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.SorterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{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;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{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}.SorterDropdownContainer{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:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emw--color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}.ClearSorters{margin:20px auto;border:0;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));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}.ClearSorters: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){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}@media(max-width: 480px){.SorterSelector{min-height:var(--min-height)}.SorterDropdownContainer{top:var(--min-height)}}')}function E(e,r,n){const o=e.slice();return o[23]=r[n],o}function q(e){let r,n,o,l,s,p,h,d,S,c,m,v=e[4]("sortby")+"",f,w,z,A,F=(e[3]||e[4]("all"))+"",N,O,k,_,C,Z,a,g,b,M,B,H,D,I=t.ensure_array_like(Object.values(e[5])),y=[];for(let i=0;i<I.length;i+=1)y[i]=P(E(e,I,i));return{c(){r=t.element("div"),n=t.element("div"),o=t.element("div"),l=t.svg_element("svg"),s=t.svg_element("g"),p=t.svg_element("path"),h=t.svg_element("path"),d=t.svg_element("path"),S=t.space(),c=t.element("div"),m=t.element("span"),f=t.text(v),w=t.space(),z=t.element("div"),A=t.element("span"),N=t.text(F),O=t.space(),k=t.element("span"),_=t.svg_element("svg"),C=t.svg_element("path"),g=t.space(),b=t.element("div"),M=t.element("ul");for(let i=0;i<y.length;i+=1)y[i].c();t.attr(p,"id","Path_5267"),t.attr(p,"data-name","Path 5267"),t.attr(p,"d","M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"),t.attr(p,"transform","translate(-206.448 0)"),t.attr(p,"fill","#fff"),t.attr(h,"id","Path_5268"),t.attr(h,"data-name","Path 5268"),t.attr(h,"d","M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"),t.attr(h,"transform","translate(0 0)"),t.attr(h,"fill","#fff"),t.attr(d,"id","Path_5269"),t.attr(d,"data-name","Path 5269"),t.attr(d,"d","M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"),t.attr(d,"transform","translate(-412.896 0)"),t.attr(d,"fill","#fff"),t.attr(s,"id","sortby"),t.attr(s,"transform","translate(-306 -342)"),t.attr(l,"xmlns","http://www.w3.org/2000/svg"),t.attr(l,"width","20"),t.attr(l,"height","20"),t.attr(l,"viewBox","0 0 26.003 22.819"),t.attr(m,"class","SorterName"),t.attr(z,"class","SorterValueContainer"),t.attr(c,"class","SorterTextContainer"),t.attr(o,"class","SorterMainArea"),t.attr(C,"id","arrow"),t.attr(C,"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"),t.attr(C,"transform","translate(-274.511 -441.088)"),t.attr(C,"fill","#d1d1d1"),t.attr(_,"xmlns","http://www.w3.org/2000/svg"),t.attr(_,"width","14"),t.attr(_,"height","6.835"),t.attr(_,"viewBox","0 0 14 6.835"),t.attr(k,"class",Z="TriangleInactive "+(e[1]?"TriangleActive":"")),t.attr(n,"class",a="SorterSelector "+(e[1]?"SorterSelectorOpen":"")),t.attr(M,"class","SorterDropdown"),t.attr(b,"class",B="SorterDropdownContainer "+(e[1]?"SorterOpen":"")),t.attr(r,"class","SorterContainer")},m(i,x){t.insert(i,r,x),t.append(r,n),t.append(n,o),t.append(o,l),t.append(l,s),t.append(s,p),t.append(s,h),t.append(s,d),t.append(o,S),t.append(o,c),t.append(c,m),t.append(m,f),t.append(c,w),t.append(c,z),t.append(z,A),t.append(A,N),t.append(n,O),t.append(n,k),t.append(k,_),t.append(_,C),t.append(r,g),t.append(r,b),t.append(b,M);for(let u=0;u<y.length;u+=1)y[u]&&y[u].m(M,null);H||(D=t.listen(n,"click",e[14]),H=!0)},p(i,x){if(x&16&&v!==(v=i[4]("sortby")+"")&&t.set_data(f,v),x&24&&F!==(F=(i[3]||i[4]("all"))+"")&&t.set_data(N,F),x&2&&Z!==(Z="TriangleInactive "+(i[1]?"TriangleActive":""))&&t.attr(k,"class",Z),x&2&&a!==(a="SorterSelector "+(i[1]?"SorterSelectorOpen":""))&&t.attr(n,"class",a),x&120){I=t.ensure_array_like(Object.values(i[5]));let u;for(u=0;u<I.length;u+=1){const L=E(i,I,u);y[u]?y[u].p(L,x):(y[u]=P(L),y[u].c(),y[u].m(M,null))}for(;u<y.length;u+=1)y[u].d(1);y.length=I.length}x&2&&B!==(B="SorterDropdownContainer "+(i[1]?"SorterOpen":""))&&t.attr(b,"class",B)},d(i){i&&t.detach(r),t.destroy_each(y,i),H=!1,D()}}}function P(e){let r,n,o,l,s,p,h,d,S,c,m;function v(){return e[15](e[23])}return{c(){r=t.element("li"),n=t.element("label"),o=t.element("input"),s=t.space(),p=t.element("span"),h=t.space(),d=t.element("span"),d.textContent=`${e[23]}`,S=t.space(),t.attr(o,"type","radio"),t.attr(o,"name","radio"),o.value=e[23],o.checked=l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"),t.attr(p,"class","SortersCheckmark"),t.attr(n,"class","SorterLabel CustomRadioButton"),t.attr(r,"class","SorterItem"),r.value=e[23]},m(f,w){t.insert(f,r,w),t.append(r,n),t.append(n,o),t.append(n,s),t.append(n,p),t.append(n,h),t.append(n,d),t.append(r,S),c||(m=t.listen(o,"click",v),c=!0)},p(f,w){e=f,w&24&&l!==(l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"))&&(o.checked=l)},d(f){f&&t.detach(r),c=!1,m()}}}function U(e){let r;function n(s,p){if(!s[2])return q}let o=n(e),l=o&&o(e);return{c(){r=t.element("div"),l&&l.c()},m(s,p){t.insert(s,r,p),l&&l.m(r,null),e[16](r)},p(s,[p]){o===(o=n(s))&&l?l.p(s,p):(l&&l.d(1),l=o&&o(s),l&&(l.c(),l.m(r,null)))},i:t.noop,o:t.noop,d(s){s&&t.detach(r),l&&l.d(),e[16](null)}}}function G(e,r,n){let o;t.component_subscribe(e,t.$format,a=>n(4,o=a));let{lang:l=""}=r,{translationurl:s=""}=r,{clientstyling:p=""}=r,{clientstylingurl:h=""}=r,{categoryid:d=""}=r,{mbsource:S}=r,c,m=!1,v=!0,f="",w="All";V({withLocale:"en",translations:{}});const z=()=>{fetch(s).then(g=>g.json()).then(g=>{Object.keys(g).forEach(b=>{T(b,g[b])})}).catch(g=>{console.log(g)})};Object.keys(j).forEach(a=>{T(a,j[a])});const A={All:o("all"),name:o("az"),isNew:o("newest"),"advancedTags(name(hot))":o("hottest")},F=()=>{var g;n(3,w="All"),n(2,v=!1),n(1,m=!1);let a=(g=JSON.parse(localStorage.getItem("vendorSortingBy")))==null?void 0:g[d];a?n(3,w=a):n(3,w="All"),n(3,w=A[a])},N=a=>{n(3,w=a);let g=localStorage.getItem("vendorSortingBy");f=a;for(let b in A)if(A[b]===a){f=b;break}g==null?localStorage.setItem("vendorSortingBy",JSON.stringify({[d]:f})):(g=JSON.parse(g),g[d]=f,localStorage.setItem("vendorSortingBy",JSON.stringify(g))),window.postMessage({type:"ApplySorter",sortBy:f,itemId:d},window.location.href),n(1,m=!m)},O=()=>{n(1,m=!m),window.postMessage({type:"SortingOpened"},window.location.href)},k=a=>{a.data.type=="FilterOpened"&&n(1,m=!1)};t.onMount(()=>(window.addEventListener("message",k,!1),()=>{window.removeEventListener("message",k)}));const _=()=>O(),C=a=>N(a);function Z(a){t.binding_callbacks[a?"unshift":"push"](()=>{c=a,n(0,c)})}return e.$$set=a=>{"lang"in a&&n(8,l=a.lang),"translationurl"in a&&n(9,s=a.translationurl),"clientstyling"in a&&n(10,p=a.clientstyling),"clientstylingurl"in a&&n(11,h=a.clientstylingurl),"categoryid"in a&&n(12,d=a.categoryid),"mbsource"in a&&n(13,S=a.mbsource)},e.$$.update=()=>{e.$$.dirty&4096&&d&&F(),e.$$.dirty&1025&&p&&c&&t.setClientStyling(c,p),e.$$.dirty&2049&&h&&c&&t.setClientStylingURL(c,h),e.$$.dirty&8193&&c&&t.setStreamStyling(c,`${S}.Style`),e.$$.dirty&512&&s&&z()},[c,m,v,w,o,A,N,O,l,s,p,h,d,S,_,C,Z]}class R extends t.SvelteComponent{constructor(r){super(),t.init(this,r,G,U,t.safe_not_equal,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12,mbsource:13},J)}get lang(){return this.$$.ctx[8]}set lang(r){this.$$set({lang:r}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(r){this.$$set({translationurl:r}),t.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(r){this.$$set({clientstyling:r}),t.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(r){this.$$set({clientstylingurl:r}),t.flush()}get categoryid(){return this.$$.ctx[12]}set categoryid(r){this.$$set({categoryid:r}),t.flush()}get mbsource(){return this.$$.ctx[13]}set mbsource(r){this.$$set({mbsource:r}),t.flush()}}t.create_custom_element(R,{lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},mbsource:{}},[],[],!0);exports.default=R;
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFilter-DofohXbH.cjs");function V({withLocale:e,translations:r}){t.$locale.subscribe(n=>{n==null&&(t.$dictionary.set(r),t.$locale.set(e))})}function T(e,r){t.addMessages(e,r)}const j={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sırala:",all:"Hepsi",az:"A-Z",newest:"En yeni",hottest:"Öne Çıkan"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"Poredaj po:",all:"Sve",az:"A-Z",newest:"Najnovije",hottest:"Hot igre"},hu:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pt:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},"pt-br":{sortby:"Organizar por:",all:"Todos",az:"A-Z",newest:"Mais recente",hottest:"mais quente"},"es-mx":{sortby:"Ordenar Por:",all:"Todo",az:"A-Z",newest:"Más nuevos",hottest:"Más calientes"},"en-us":{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"}};function J(e){t.append_styles(e,"svelte-54zse8",':root{--min-height:50px}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.SorterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{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;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{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}.SorterDropdownContainer{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:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emw--color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}.ClearSorters{margin:20px auto;border:0;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));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}.ClearSorters: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){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}@media(max-width: 480px){.SorterSelector{min-height:var(--min-height)}.SorterDropdownContainer{top:var(--min-height)}}')}function E(e,r,n){const a=e.slice();return a[23]=r[n],a}function q(e){let r,n,a,l,s,p,m,d,x,y,u,f=e[4]("sortby")+"",b,w,S,I,A=(e[3]||e[4]("all"))+"",O,M,C,_,z,F,N,o,c,v,B,H,D,Z=t.ensure_array_like(Object.values(e[5])),h=[];for(let i=0;i<Z.length;i+=1)h[i]=P(E(e,Z,i));return{c(){r=t.element("div"),n=t.element("div"),a=t.element("div"),l=t.svg_element("svg"),s=t.svg_element("g"),p=t.svg_element("path"),m=t.svg_element("path"),d=t.svg_element("path"),x=t.space(),y=t.element("div"),u=t.element("span"),b=t.text(f),w=t.space(),S=t.element("div"),I=t.element("span"),O=t.text(A),M=t.space(),C=t.element("span"),_=t.svg_element("svg"),z=t.svg_element("path"),o=t.space(),c=t.element("div"),v=t.element("ul");for(let i=0;i<h.length;i+=1)h[i].c();t.attr(p,"id","Path_5267"),t.attr(p,"data-name","Path 5267"),t.attr(p,"d","M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"),t.attr(p,"transform","translate(-206.448 0)"),t.attr(p,"fill","#fff"),t.attr(m,"id","Path_5268"),t.attr(m,"data-name","Path 5268"),t.attr(m,"d","M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"),t.attr(m,"transform","translate(0 0)"),t.attr(m,"fill","#fff"),t.attr(d,"id","Path_5269"),t.attr(d,"data-name","Path 5269"),t.attr(d,"d","M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"),t.attr(d,"transform","translate(-412.896 0)"),t.attr(d,"fill","#fff"),t.attr(s,"id","sortby"),t.attr(s,"transform","translate(-306 -342)"),t.attr(l,"xmlns","http://www.w3.org/2000/svg"),t.attr(l,"width","20"),t.attr(l,"height","20"),t.attr(l,"viewBox","0 0 26.003 22.819"),t.attr(u,"class","SorterName"),t.attr(S,"class","SorterValueContainer"),t.attr(y,"class","SorterTextContainer"),t.attr(a,"class","SorterMainArea"),t.attr(z,"id","arrow"),t.attr(z,"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"),t.attr(z,"transform","translate(-274.511 -441.088)"),t.attr(z,"fill","#d1d1d1"),t.attr(_,"xmlns","http://www.w3.org/2000/svg"),t.attr(_,"width","14"),t.attr(_,"height","6.835"),t.attr(_,"viewBox","0 0 14 6.835"),t.attr(C,"class",F="TriangleInactive "+(e[1]?"TriangleActive":"")),t.attr(n,"class",N="SorterSelector "+(e[1]?"SorterSelectorOpen":"")),t.attr(v,"class","SorterDropdown"),t.attr(c,"class",B="SorterDropdownContainer "+(e[1]?"SorterOpen":"")),t.attr(r,"class","SorterContainer")},m(i,k){t.insert(i,r,k),t.append(r,n),t.append(n,a),t.append(a,l),t.append(l,s),t.append(s,p),t.append(s,m),t.append(s,d),t.append(a,x),t.append(a,y),t.append(y,u),t.append(u,b),t.append(y,w),t.append(y,S),t.append(S,I),t.append(I,O),t.append(n,M),t.append(n,C),t.append(C,_),t.append(_,z),t.append(r,o),t.append(r,c),t.append(c,v);for(let g=0;g<h.length;g+=1)h[g]&&h[g].m(v,null);H||(D=t.listen(n,"click",e[14]),H=!0)},p(i,k){if(k&16&&f!==(f=i[4]("sortby")+"")&&t.set_data(b,f),k&24&&A!==(A=(i[3]||i[4]("all"))+"")&&t.set_data(O,A),k&2&&F!==(F="TriangleInactive "+(i[1]?"TriangleActive":""))&&t.attr(C,"class",F),k&2&&N!==(N="SorterSelector "+(i[1]?"SorterSelectorOpen":""))&&t.attr(n,"class",N),k&120){Z=t.ensure_array_like(Object.values(i[5]));let g;for(g=0;g<Z.length;g+=1){const L=E(i,Z,g);h[g]?h[g].p(L,k):(h[g]=P(L),h[g].c(),h[g].m(v,null))}for(;g<h.length;g+=1)h[g].d(1);h.length=Z.length}k&2&&B!==(B="SorterDropdownContainer "+(i[1]?"SorterOpen":""))&&t.attr(c,"class",B)},d(i){i&&t.detach(r),t.destroy_each(h,i),H=!1,D()}}}function P(e){let r,n,a,l,s,p,m,d,x,y,u;function f(){return e[15](e[23])}return{c(){r=t.element("li"),n=t.element("label"),a=t.element("input"),s=t.space(),p=t.element("span"),m=t.space(),d=t.element("span"),d.textContent=`${e[23]}`,x=t.space(),t.attr(a,"type","radio"),t.attr(a,"name","radio"),a.value=e[23],a.checked=l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"),t.attr(p,"class","SortersCheckmark"),t.attr(n,"class","SorterLabel CustomRadioButton"),t.attr(r,"class","SorterItem"),r.value=e[23]},m(b,w){t.insert(b,r,w),t.append(r,n),t.append(n,a),t.append(n,s),t.append(n,p),t.append(n,m),t.append(n,d),t.append(r,x),y||(u=t.listen(a,"click",f),y=!0)},p(b,w){e=b,w&24&&l!==(l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"))&&(a.checked=l)},d(b){b&&t.detach(r),y=!1,u()}}}function U(e){let r;function n(s,p){if(!s[2])return q}let a=n(e),l=a&&a(e);return{c(){r=t.element("div"),l&&l.c()},m(s,p){t.insert(s,r,p),l&&l.m(r,null),e[16](r)},p(s,[p]){a===(a=n(s))&&l?l.p(s,p):(l&&l.d(1),l=a&&a(s),l&&(l.c(),l.m(r,null)))},i:t.noop,o:t.noop,d(s){s&&t.detach(r),l&&l.d(),e[16](null)}}}function G(e,r,n){let a;t.component_subscribe(e,t.$format,o=>n(4,a=o));let{lang:l=""}=r,{translationurl:s=""}=r,{clientstyling:p=""}=r,{clientstylingurl:m=""}=r,{categoryid:d=""}=r,{mbsource:x}=r,y,u,f=!1,b=!0,w="",S="All";V({withLocale:"en",translations:{}});const I=()=>{fetch(s).then(c=>c.json()).then(c=>{Object.keys(c).forEach(v=>{T(v,c[v])})}).catch(c=>{console.log(c)})};Object.keys(j).forEach(o=>{T(o,j[o])});const A={All:a("all"),name:a("az"),isNew:a("newest"),"advancedTags(name(hot))":a("hottest")},O=()=>{var c;n(3,S="All"),n(2,b=!1),n(1,f=!1);let o=(c=JSON.parse(localStorage.getItem("vendorSortingBy")))==null?void 0:c[d];o?n(3,S=o):n(3,S="All"),n(3,S=A[o])},M=o=>{n(3,S=o);let c=localStorage.getItem("vendorSortingBy");w=o;for(let v in A)if(A[v]===o){w=v;break}c==null?localStorage.setItem("vendorSortingBy",JSON.stringify({[d]:w})):(c=JSON.parse(c),c[d]=w,localStorage.setItem("vendorSortingBy",JSON.stringify(c))),window.postMessage({type:"ApplySorter",sortBy:w,itemId:d},window.location.href),n(1,f=!f)},C=()=>{n(1,f=!f),window.postMessage({type:"SortingOpened"},window.location.href)},_=o=>{o.data.type=="FilterOpened"&&n(1,f=!1)};t.onMount(()=>(window.addEventListener("message",_,!1),()=>{window.emMessageBus!=null&&y&&y.unsubscribe(),window.removeEventListener("message",_)}));const z=()=>C(),F=o=>M(o);function N(o){t.binding_callbacks[o?"unshift":"push"](()=>{u=o,n(0,u)})}return e.$$set=o=>{"lang"in o&&n(8,l=o.lang),"translationurl"in o&&n(9,s=o.translationurl),"clientstyling"in o&&n(10,p=o.clientstyling),"clientstylingurl"in o&&n(11,m=o.clientstylingurl),"categoryid"in o&&n(12,d=o.categoryid),"mbsource"in o&&n(13,x=o.mbsource)},e.$$.update=()=>{e.$$.dirty&4096&&d&&O(),e.$$.dirty&1025&&p&&u&&t.setClientStyling(u,p),e.$$.dirty&2049&&m&&u&&t.setClientStylingURL(u,m),e.$$.dirty&8193&&u&&t.setStreamStyling(u,`${x}.Style`),e.$$.dirty&512&&s&&I()},[u,f,b,S,a,A,M,C,l,s,p,m,d,x,z,F,N]}class R extends t.SvelteComponent{constructor(r){super(),t.init(this,r,G,U,t.safe_not_equal,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12,mbsource:13},J)}get lang(){return this.$$.ctx[8]}set lang(r){this.$$set({lang:r}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(r){this.$$set({translationurl:r}),t.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(r){this.$$set({clientstyling:r}),t.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(r){this.$$set({clientstylingurl:r}),t.flush()}get categoryid(){return this.$$.ctx[12]}set categoryid(r){this.$$set({categoryid:r}),t.flush()}get mbsource(){return this.$$.ctx[13]}set mbsource(r){this.$$set({mbsource:r}),t.flush()}}t.create_custom_element(R,{lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},mbsource:{}},[],[],!0);exports.default=R;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoMostPlayedSection-
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoMostPlayedSection-Ic2U2XCD.cjs")).then(({default:t})=>{!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",t.element)})}
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
10
10
|
}
|
11
11
|
};
|
12
12
|
};
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoMostPlayedSection-
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoMostPlayedSection-DYiOblDn.js").then(({ default: t }) => {
|
14
14
|
!customElements.get("casino-most-played-section") && customElements.define("casino-most-played-section", t.element);
|
15
15
|
});
|
16
16
|
}
|
package/package.json
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
{
|
2
2
|
"name": "@everymatrix/casino-most-played-section",
|
3
|
-
"version": "1.59.
|
3
|
+
"version": "1.59.2",
|
4
4
|
"type": "module",
|
5
5
|
"main": "esnext/casino-most-played-section.js",
|
6
6
|
"module": "esnext/casino-most-played-section.js",
|
7
7
|
"exports": {
|
8
8
|
".": {
|
9
|
-
"import": "./esnext/casino-most-played-section.js"
|
9
|
+
"import": "./esnext/casino-most-played-section.js",
|
10
|
+
"require": "./es2015/casino-most-played-section.cjs"
|
10
11
|
},
|
11
12
|
"./es2015/casino-most-played-section.cjs": "./es2015/casino-most-played-section.cjs",
|
12
13
|
"./es2015/casino-most-played-section.js": "./es2015/casino-most-played-section.js"
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";const s=()=>{};exports.globalScripts=s;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";var L=(e,t,n)=>new Promise((s,r)=>{var a=o=>{try{i(n.next(o))}catch(c){r(c)}},l=o=>{try{i(n.throw(o))}catch(c){r(c)}},i=o=>o.done?s(o.value):Promise.resolve(o.value).then(a,l);i((n=n.apply(e,t)).next())});const ue="ui-skeleton",I={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,cmpDidRender:!1,cmpDidUnload:!1,cmpDidUpdate:!1,cmpShouldUpdate:!1,cmpWillLoad:!1,cmpWillRender:!1,cmpWillUpdate:!1,connectedCallback:!1,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!1,element:!1,event:!1,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!1,hasRenderFn:!0,hostListener:!1,hostListenerTarget:!1,hostListenerTargetBody:!1,hostListenerTargetDocument:!1,hostListenerTargetParent:!1,hostListenerTargetWindow:!1,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,hydratedSelectorName:"hydrated",initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!1,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propMutable:!1,propNumber:!0,propString:!0,reflect:!1,scoped:!1,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!1,shadowDom:!1,slot:!1,slotChildNodesFix:!1,slotRelocation:!1,state:!1,style:!0,svg:!1,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!1,vdomKey:!0,vdomListener:!1,vdomPropOrAttr:!1,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!1,vdomXlink:!1,watchCallback:!0};var me=Object.defineProperty,ve=(e,t)=>{for(var n in t)me(e,n,{get:t[n],enumerable:!0})},N=new WeakMap,b=e=>N.get(e),pe=(e,t)=>N.set(t.$lazyInstance$=e,t),he=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onReadyPromise$=new Promise(s=>n.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],N.set(e,n)},k=(e,t)=>(0,console.error)(e,t),_=new Map,ge=(e,t,n)=>{const s=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const a=_.get(r);if(a)return a[s];{const l=i=>(_.set(r,i),i[s]);switch(r){case"ui-skeleton":return Promise.resolve().then(()=>require("./ui-skeleton-C1buDKbo.cjs")).then(l,k)}}return import(`./${r}.entry.js`).then(l=>(_.set(r,l),l[s]),k)},x=new Map,ye="{visibility:hidden}.hydrated{visibility:inherit}",G="slot-fb{display:contents}slot-fb[hidden]{display:none}",z=typeof window!="undefined"?window:{},y=z.document||{head:{}},p={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},Se=I.shadowDom,J=e=>Promise.resolve(e),be=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),j=!1,F=[],K=[],ke=(e,t)=>n=>{e.push(n),j||(j=!0,p.$flags$&4?B(C):p.raf(C))},q=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){k(n)}e.length=0},C=()=>{q(F),q(K),(j=F.length>0)&&p.raf(C)},B=e=>J().then(e),Ee=ke(K),W={},X=e=>(e=typeof e,e==="object"||e==="function");function Z(e){var t,n,s;return(s=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?s:void 0}var we={};ve(we,{err:()=>V,map:()=>Le,ok:()=>D,unwrap:()=>Te,unwrapErr:()=>Pe});var D=e=>({isOk:!0,isErr:!1,value:e}),V=e=>({isOk:!1,isErr:!0,value:e});function Le(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(s=>D(s)):D(n)}if(e.isErr){const n=e.value;return V(n)}throw"should never get here"}var Te=e=>{if(e.isOk)return e.value;throw e.value},Pe=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},xe=(e,t)=>()=>{},ee=(e,t,...n)=>{let s=null,r=null,a=!1,l=!1;const i=[],o=$=>{for(let f=0;f<$.length;f++)s=$[f],Array.isArray(s)?o(s):s!=null&&typeof s!="boolean"&&((a=typeof e!="function"&&!X(s))&&(s=String(s)),a&&l?i[i.length-1].$text$+=s:i.push(a?U(null,s):s),l=a)};if(o(n),t){t.key&&(r=t.key);{const $=t.className||t.class;$&&(t.class=typeof $!="object"?$:Object.keys($).filter(f=>$[f]).join(" "))}}const c=U(e,null);return c.$attrs$=t,i.length>0&&(c.$children$=i),c.$key$=r,c},U=(e,t)=>{const n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n},Ae={},Oe=e=>e&&e.$tag$===Ae,_e=(e,t)=>e!=null&&!X(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,je=(e,t,n)=>{const s=p.ce(t,n);return e.dispatchEvent(s),s},M=new WeakMap,Ce=(e,t,n)=>{let s=x.get(e);be&&n?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,x.set(e,s)},De=(e,t,n)=>{var s;const r=te(t),a=x.get(r);if(e=e.nodeType===11?e:y,a)if(typeof a=="string"){e=e.head||e;let l=M.get(e),i;if(l||M.set(e,l=new Set),!l.has(r)){{i=y.createElement("style"),i.innerHTML=a;const o=(s=p.$nonce$)!=null?s:Z(y);o!=null&&i.setAttribute("nonce",o),e.insertBefore(i,e.querySelector("link"))}t.$flags$&4&&(i.innerHTML+=G),l&&l.add(r)}}else e.adoptedStyleSheets.includes(a)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,a]);return r},Ue=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,s=S("attachStyles",t.$tagName$);De(n.getRootNode(),t),s()},te=(e,t)=>"sc-"+e.$tagName$,Q=(e,t,n,s,r,a)=>{if(n!==s)if(t.toLowerCase(),t==="class"){const l=e.classList,i=R(n),o=R(s);l.remove(...i.filter(c=>c&&!o.includes(c))),l.add(...o.filter(c=>c&&!i.includes(c)))}else if(t==="style"){for(const l in n)(!s||s[l]==null)&&(l.includes("-")?e.style.removeProperty(l):e.style[l]="");for(const l in s)(!n||s[l]!==n[l])&&(l.includes("-")?e.style.setProperty(l,s[l]):e.style[l]=s[l])}else t==="key"||t==="ref"&&s&&s(e)},Ie=/\s/,R=e=>e?e.split(Ie):[],se=(e,t,n)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||W,a=t.$attrs$||W;for(const l of Y(Object.keys(r)))l in a||Q(s,l,r[l],void 0);for(const l of Y(Object.keys(a)))Q(s,l,r[l],a[l])};function Y(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var ne,re=!1,A=(e,t,n,s)=>{const r=t.$children$[n];let a=0,l,i;if(l=r.$elm$=y.createElement(!re&&I.slotRelocation&&r.$flags$&2?"slot-fb":r.$tag$),se(null,r),r.$children$)for(a=0;a<r.$children$.length;++a)i=A(e,r,a),i&&l.appendChild(i);return l["s-hn"]=ne,l},le=(e,t,n,s,r,a)=>{let l=e,i;for(;r<=a;++r)s[r]&&(i=A(null,n,r),i&&(s[r].$elm$=i,P(l,i,t)))},ae=(e,t,n)=>{for(let s=t;s<=n;++s){const r=e[s];if(r){const a=r.$elm$;oe(r),a&&a.remove()}}},Ne=(e,t,n,s,r=!1)=>{let a=0,l=0,i=0,o=0,c=t.length-1,$=t[0],f=t[c],d=s.length-1,u=s[0],m=s[d],v,h;for(;a<=c&&l<=d;)if($==null)$=t[++a];else if(f==null)f=t[--c];else if(u==null)u=s[++l];else if(m==null)m=s[--d];else if(T($,u,r))E($,u,r),$=t[++a],u=s[++l];else if(T(f,m,r))E(f,m,r),f=t[--c],m=s[--d];else if(T($,m,r))E($,m,r),P(e,$.$elm$,f.$elm$.nextSibling),$=t[++a],m=s[--d];else if(T(f,u,r))E(f,u,r),P(e,f.$elm$,$.$elm$),f=t[--c],u=s[++l];else{for(i=-1,o=a;o<=c;++o)if(t[o]&&t[o].$key$!==null&&t[o].$key$===u.$key$){i=o;break}i>=0?(h=t[i],h.$tag$!==u.$tag$?v=A(t&&t[l],n,i):(E(h,u,r),t[i]=void 0,v=h.$elm$),u=s[++l]):(v=A(t&&t[l],n,l),u=s[++l]),v&&P($.$elm$.parentNode,v,$.$elm$)}a>c?le(e,s[d+1]==null?null:s[d+1].$elm$,n,s,l,d):l>d&&ae(t,a,c)},T=(e,t,n=!1)=>e.$tag$===t.$tag$?n?!0:e.$key$===t.$key$:!1,E=(e,t,n=!1)=>{const s=t.$elm$=e.$elm$,r=e.$children$,a=t.$children$;se(e,t),r!==null&&a!==null?Ne(s,r,t,a,n):a!==null?le(s,null,t,a,0,a.length-1):r!==null&&ae(r,0,r.length-1)},oe=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(oe)},P=(e,t,n)=>e==null?void 0:e.insertBefore(t,n),ze=(e,t,n=!1)=>{const s=e.$hostElement$,r=e.$vnode$||U(null,null),a=Oe(t)?t:ee(null,null,t);if(ne=s.tagName,n&&a.$attrs$)for(const l of Object.keys(a.$attrs$))s.hasAttribute(l)&&!["key","ref","style","class"].includes(l)&&(a.$attrs$[l]=s[l]);a.$tag$=null,a.$flags$|=4,e.$vnode$=a,a.$elm$=r.$elm$=s,re=Se,E(r,a,n)},ie=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(n=>e.$onRenderResolve$=n))},H=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ie(e,e.$ancestorComponent$),Ee(()=>Be(e,t))},Be=(e,t)=>{const n=e.$hostElement$,s=S("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let a;return s(),He(a,()=>qe(e,r,t))},He=(e,t)=>Fe(e)?e.then(t).catch(n=>{console.error(n),t()}):t(),Fe=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",qe=(e,t,n)=>L(exports,null,function*(){var s;const r=e.$hostElement$,a=S("update",e.$cmpMeta$.$tagName$),l=r["s-rc"];n&&Ue(e);const i=S("render",e.$cmpMeta$.$tagName$);We(e,t,r,n),l&&(l.map(o=>o()),r["s-rc"]=void 0),i(),a();{const o=(s=r["s-p"])!=null?s:[],c=()=>Me(e);o.length===0?c():(Promise.all(o).then(c),e.$flags$|=4,o.length=0)}}),We=(e,t,n,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,ze(e,t,s)}catch(r){k(r,e.$hostElement$)}return null},Me=e=>{const t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,s=S("postUpdate",t),r=e.$lazyInstance$,a=e.$ancestorComponent$;e.$flags$&64?s():(e.$flags$|=64,$e(n),Qe(r,"componentDidLoad"),s(),e.$onReadyResolve$(n),a||ce()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&B(()=>H(e,!1)),e.$flags$&=-517},ce=e=>{$e(y.documentElement),B(()=>je(z,"appload",{detail:{namespace:ue}}))},Qe=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(s){k(s)}},$e=e=>{var t;return e.classList.add((t=I.hydratedSelectorName)!=null?t:"hydrated")},Re=(e,t)=>b(e).$instanceValues$.get(t),Ye=(e,t,n,s)=>{const r=b(e);if(!r)throw new Error(`Couldn't find host element for "${s.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const a=r.$hostElement$,l=r.$instanceValues$.get(t),i=r.$flags$,o=r.$lazyInstance$;n=_e(n,s.$members$[t][0]);const c=Number.isNaN(l)&&Number.isNaN(n),$=n!==l&&!c;if((!(i&8)||l===void 0)&&$&&(r.$instanceValues$.set(t,n),o)){if(s.$watchers$&&i&128){const f=s.$watchers$[t];f&&f.map(d=>{try{o[d](n,l,t)}catch(u){k(u,a)}})}(i&18)===2&&H(r,!1)}},fe=(e,t,n)=>{var s,r;const a=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((s=t.$members$)!=null?s:{});if(l.map(([i,[o]])=>{(o&31||n&2&&o&32)&&Object.defineProperty(a,i,{get(){return Re(this,i)},set(c){Ye(this,i,c,t)},configurable:!0,enumerable:!0})}),n&1){const i=new Map;a.attributeChangedCallback=function(o,c,$){p.jmp(()=>{var f;const d=i.get(o);if(this.hasOwnProperty(d))$=this[d],delete this[d];else{if(a.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==$)return;if(d==null){const u=b(this),m=u==null?void 0:u.$flags$;if(m&&!(m&8)&&m&128&&$!==c){const v=u.$lazyInstance$,h=(f=t.$watchers$)==null?void 0:f[o];h==null||h.forEach(g=>{v[g]!=null&&v[g].call(v,$,c,o)})}return}}this[d]=$===null&&typeof this[d]=="boolean"?!1:$})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...l.filter(([o,c])=>c[0]&15).map(([o,c])=>{const $=c[1]||o;return i.set($,o),$})]))}}return e},Ge=(e,t,n,s)=>L(exports,null,function*(){let r;if(!(t.$flags$&32)){if(t.$flags$|=32,n.$lazyBundleId$){const o=ge(n);if(o&&"then"in o){const $=xe();r=yield o,$()}else r=o;if(!r)throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(n.$watchers$=r.watchers,fe(r,n,2),r.isProxied=!0);const c=S("createInstance",n.$tagName$);t.$flags$|=8;try{new r(t)}catch($){k($)}t.$flags$&=-9,t.$flags$|=128,c()}else{r=e.constructor;const o=e.localName;customElements.whenDefined(o).then(()=>t.$flags$|=128)}if(r&&r.style){let o;typeof r.style=="string"&&(o=r.style);const c=te(n);if(!x.has(c)){const $=S("registerStyles",n.$tagName$);Ce(c,o,!!(n.$flags$&1)),$()}}}const a=t.$ancestorComponent$,l=()=>H(t,!0);a&&a["s-rc"]?a["s-rc"].push(l):l()}),Je=e=>{},Ke=e=>{if(!(p.$flags$&1)){const t=b(e),n=t.$cmpMeta$,s=S("connectedCallback",n.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Je());else{t.$flags$|=1;{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){ie(t,t.$ancestorComponent$=r);break}}n.$members$&&Object.entries(n.$members$).map(([r,[a]])=>{if(a&31&&e.hasOwnProperty(r)){const l=e[r];delete e[r],e[r]=l}}),Ge(e,t,n)}s()}},Xe=e=>{},Ze=e=>L(exports,null,function*(){if(!(p.$flags$&1)){const t=b(e);t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>Xe())}}),Ve=(e,t={})=>{var n;const s=S(),r=[],a=t.exclude||[],l=z.customElements,i=y.head,o=i.querySelector("meta[charset]"),c=y.createElement("style"),$=[];let f,d=!0;Object.assign(p,t),p.$resourcesUrl$=new URL(t.resourcesUrl||"./",y.baseURI).href;let u=!1;if(e.map(m=>{m[1].map(v=>{var h;const g={$flags$:v[0],$tagName$:v[1],$members$:v[2],$listeners$:v[3]};g.$flags$&4&&(u=!0),g.$members$=v[2],g.$watchers$=(h=v[4])!=null?h:{};const w=g.$tagName$,de=class extends HTMLElement{constructor(O){super(O),this.hasRegisteredEventListeners=!1,O=this,he(O,g)}connectedCallback(){b(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),d?$.push(this):p.jmp(()=>Ke(this))}disconnectedCallback(){p.jmp(()=>Ze(this))}componentOnReady(){return b(this).$onReadyPromise$}};g.$lazyBundleId$=m[0],!a.includes(w)&&!l.get(w)&&(r.push(w),l.define(w,fe(de,g,1)))})}),r.length>0&&(u&&(c.textContent+=G),c.textContent+=r.sort()+ye,c.innerHTML.length)){c.setAttribute("data-styles","");const m=(n=p.$nonce$)!=null?n:Z(y);m!=null&&c.setAttribute("nonce",m),i.insertBefore(c,o?o.nextSibling:i.firstChild)}d=!1,$.length?$.map(m=>m.connectedCallback()):p.jmp(()=>f=setTimeout(ce,30)),s()};exports.bootstrapLazy=Ve;exports.h=ee;exports.promiseResolve=J;exports.registerInstance=pe;
|