@everymatrix/casino-most-played-section 1.67.0 → 1.67.3
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-5tOlVA2J.cjs +18 -0
- package/components/{CasinoFilter-fITDy2f1.js → CasinoFilter-CVr-_1Je.js} +885 -920
- package/components/{CasinoFilter-CZl1cztJ.js → CasinoFilter-DT7oAwTf.js} +842 -877
- package/components/{CasinoGameThumbnail-BaX6mLdw.js → CasinoGameThumbnail-C-40ZnYW.js} +66 -66
- package/components/{CasinoGameThumbnail-CYDuVrC6.cjs → CasinoGameThumbnail-Crx-3GhB.cjs} +1 -1
- package/components/{CasinoGameThumbnail-BS8fymkb.js → CasinoGameThumbnail-D0wIOkmi.js} +66 -66
- package/components/{CasinoGamesCategorySection-fgHQUZ4F.js → CasinoGamesCategorySection-BUfbpJeT.js} +122 -122
- package/components/CasinoGamesCategorySection-C7h4U536.cjs +1 -0
- package/components/{CasinoGamesCategorySection-DtM-qLXG.js → CasinoGamesCategorySection-D4PdEMBr.js} +136 -136
- package/components/{CasinoMostPlayedSection-Bywnxo_6.js → CasinoMostPlayedSection-CUFjb1XZ.js} +28 -28
- package/components/{CasinoMostPlayedSection-DkjX_LCw.js → CasinoMostPlayedSection-DKjNsKBV.js} +47 -47
- package/components/{CasinoMostPlayedSection-CcSJLqHm.cjs → CasinoMostPlayedSection-LxpJacbq.cjs} +1 -1
- package/components/{CasinoSort-b4vaEPet.js → CasinoSort-BLZ3SeBj.js} +16 -16
- package/components/{CasinoSort-C9ECfUlx.js → CasinoSort-D0I9EWJw.js} +16 -16
- package/components/{CasinoSort-C_DOIYQz.cjs → CasinoSort-iKKy4hj8.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 +1 -1
- package/stencil/{index-97d17652-BEnqZAxL.js → index-97d17652-ChRvzjAp.js} +186 -186
- package/stencil/{index-97d17652-WK_DbPS4.js → index-97d17652-DKsTmN3Z.js} +175 -175
- package/stencil/index-97d17652-qWThG1U9.cjs +1 -0
- package/stencil/{ui-image-CMb1eK44.cjs → ui-image-B2ynFkLT.cjs} +1 -1
- package/stencil/{ui-image-CQQDA5b0.js → ui-image-D7A7MInC.js} +1 -1
- package/stencil/{ui-image-CmwNU-jf.js → ui-image-D_Js9Evk.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-Cf9Vq5pI.js → ui-image-b7b48fe5-B43lELFk.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DCck2kk1.cjs → ui-image-b7b48fe5-CRQDt62Z.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-V9vp4faA.js → ui-image-b7b48fe5-DVcK_myk.js} +1 -1
- package/stencil/{ui-image_2-YkYxLKu7.cjs → ui-image_2-CyHaM9Na.cjs} +1 -1
- package/stencil/{ui-image_2-B56t6kXT.js → ui-image_2-Df0q0jE8.js} +2 -2
- package/stencil/{ui-image_2-BncuYpLi.js → ui-image_2-EP2dwjfi.js} +2 -2
- package/components/CasinoFilter-WNFrQkQJ.cjs +0 -18
- package/components/CasinoGamesCategorySection-BCeh01vB.cjs +0 -1
- package/stencil/index-97d17652-D5_8Vwfn.cjs +0 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
import { $ as q, M as et, a as rt, S as ot, i as nt,
|
1
|
+
import { $ as q, M as et, a as rt, S as ot, i as nt, f as E, c as at, s as lt, b as st, e as h, l as P, o as U, p as R, q as it, r as ct, y as dt, z as pt, A as gt, B as ut, C as G, G as N, d as Z, t as K, j as r, m as s, u as tt, n as Q, D as ht, E as mt } from "./CasinoFilter-DT7oAwTf.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,7 +136,7 @@ const X = {
|
|
136
136
|
}
|
137
137
|
};
|
138
138
|
function yt(t) {
|
139
|
-
|
139
|
+
st(t, "svelte-p37neu", ':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, #22B04E));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, #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}.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();
|
@@ -158,7 +158,7 @@ function wt(t) {
|
|
158
158
|
b[c] = $(Y(t, H, c));
|
159
159
|
return {
|
160
160
|
c() {
|
161
|
-
e = h("div"), o = h("div"), a = h("div"), l = N("svg"), i = N("g"), d = N("path"), m = N("path"), g = N("path"), x = Z(), p = h("div"), f = h("span"), y =
|
161
|
+
e = h("div"), o = h("div"), a = h("div"), l = N("svg"), i = N("g"), d = N("path"), m = N("path"), g = N("path"), x = Z(), p = h("div"), f = h("span"), y = K(_), S = Z(), B = h("div"), C = h("span"), O = K(I), L = Z(), z = h("span"), A = N("svg"), F = N("path"), w = Z(), v = h("div"), T = h("ul");
|
162
162
|
for (let c = 0; c < b.length; c += 1)
|
163
163
|
b[c].c();
|
164
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(m, "id", "Path_5268"), r(m, "data-name", "Path 5268"), r(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"), r(m, "transform", "translate(0 0)"), r(m, "fill", "#fff"), r(g, "id", "Path_5269"), r(g, "data-name", "Path 5269"), r(g, "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(g, "transform", "translate(-412.896 0)"), r(g, "fill", "#fff"), r(i, "id", "sortby"), r(i, "transform", "translate(-306 -342)"), r(l, "xmlns", "http://www.w3.org/2000/svg"), r(l, "width", "20"), r(l, "height", "20"), r(l, "viewBox", "0 0 26.003 22.819"), r(f, "class", "SorterName"), r(B, "class", "SorterValueContainer"), r(p, "class", "SorterTextContainer"), r(a, "class", "SorterMainArea"), r(F, "id", "arrow"), r(F, "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(F, "transform", "translate(-274.511 -441.088)"), r(F, "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(z, "class", M = "TriangleInactive " + /*isSorterActive*/
|
@@ -167,7 +167,7 @@ function wt(t) {
|
|
167
167
|
(t[1] ? "SorterOpen" : "")), r(e, "class", "SorterContainer");
|
168
168
|
},
|
169
169
|
m(c, k) {
|
170
|
-
|
170
|
+
P(c, e, k), s(e, o), s(o, a), s(a, l), s(l, i), s(i, d), s(i, m), s(i, g), s(a, x), s(a, p), s(p, f), s(f, y), s(p, S), s(p, B), s(B, C), s(C, O), s(o, L), s(o, z), s(z, A), s(A, F), s(e, w), s(e, v), s(v, T);
|
171
171
|
for (let u = 0; u < b.length; u += 1)
|
172
172
|
b[u] && b[u].m(T, null);
|
173
173
|
j || (V = tt(
|
@@ -180,10 +180,10 @@ function wt(t) {
|
|
180
180
|
p(c, k) {
|
181
181
|
if (k & /*$_*/
|
182
182
|
16 && _ !== (_ = /*$_*/
|
183
|
-
c[4]("sortby") + "") &&
|
183
|
+
c[4]("sortby") + "") && Q(y, _), k & /*vendorSortingBy, $_*/
|
184
184
|
24 && I !== (I = /*vendorSortingBy*/
|
185
185
|
(c[3] || /*$_*/
|
186
|
-
c[4]("all")) + "") &&
|
186
|
+
c[4]("all")) + "") && Q(O, I), k & /*isSorterActive*/
|
187
187
|
2 && M !== (M = "TriangleInactive " + /*isSorterActive*/
|
188
188
|
(c[1] ? "TriangleActive" : "")) && r(z, "class", M), k & /*isSorterActive*/
|
189
189
|
2 && n !== (n = "SorterSelector " + /*isSorterActive*/
|
@@ -207,7 +207,7 @@ function wt(t) {
|
|
207
207
|
(c[1] ? "SorterOpen" : "")) && r(v, "class", D);
|
208
208
|
},
|
209
209
|
d(c) {
|
210
|
-
c &&
|
210
|
+
c && R(e), ht(b, c), j = !1, V();
|
211
211
|
}
|
212
212
|
};
|
213
213
|
}
|
@@ -237,7 +237,7 @@ function $(t) {
|
|
237
237
|
t[23];
|
238
238
|
},
|
239
239
|
m(y, S) {
|
240
|
-
|
240
|
+
P(y, e, S), s(e, o), s(o, a), s(o, i), s(o, d), s(o, m), s(o, g), s(e, x), p || (f = tt(a, "click", _), p = !0);
|
241
241
|
},
|
242
242
|
p(y, S) {
|
243
243
|
t = y, S & /*vendorSortingBy, $_*/
|
@@ -251,7 +251,7 @@ function $(t) {
|
|
251
251
|
)) && (a.checked = l);
|
252
252
|
},
|
253
253
|
d(y) {
|
254
|
-
y &&
|
254
|
+
y && R(e), p = !1, f();
|
255
255
|
}
|
256
256
|
};
|
257
257
|
}
|
@@ -268,7 +268,7 @@ function bt(t) {
|
|
268
268
|
e = h("div"), l && l.c();
|
269
269
|
},
|
270
270
|
m(i, d) {
|
271
|
-
|
271
|
+
P(i, e, d), l && l.m(e, null), t[16](e);
|
272
272
|
},
|
273
273
|
p(i, [d]) {
|
274
274
|
a === (a = o(i)) && l ? l.p(i, d) : (l && l.d(1), l = a && a(i), l && (l.c(), l.m(e, null)));
|
@@ -276,13 +276,13 @@ function bt(t) {
|
|
276
276
|
i: U,
|
277
277
|
o: U,
|
278
278
|
d(i) {
|
279
|
-
i &&
|
279
|
+
i && R(e), l && l.d(), t[16](null);
|
280
280
|
}
|
281
281
|
};
|
282
282
|
}
|
283
283
|
function St(t, e, o) {
|
284
284
|
let a;
|
285
|
-
|
285
|
+
it(t, mt, (n) => o(4, a = n));
|
286
286
|
let { lang: l = "" } = e, { translationurl: i = "" } = e, { clientstyling: d = "" } = e, { clientstylingurl: m = "" } = e, { categoryid: g = "" } = e, { mbsource: x } = e, p, f = !1, _ = !0, y = "", S = "All";
|
287
287
|
ft({ withLocale: "en", translations: {} });
|
288
288
|
const B = () => {
|
@@ -328,12 +328,12 @@ function St(t, e, o) {
|
|
328
328
|
}, z = (n) => {
|
329
329
|
n.data.type == "FilterOpened" && o(1, f = !1);
|
330
330
|
};
|
331
|
-
|
331
|
+
ct(() => (window.addEventListener("message", z, !1), () => {
|
332
332
|
window.removeEventListener("message", z);
|
333
333
|
}));
|
334
334
|
const A = () => L(), F = (n) => O(n);
|
335
335
|
function M(n) {
|
336
|
-
|
336
|
+
dt[n ? "unshift" : "push"](() => {
|
337
337
|
p = n, o(0, p);
|
338
338
|
});
|
339
339
|
}
|
@@ -373,7 +373,7 @@ class vt extends ot {
|
|
373
373
|
e,
|
374
374
|
St,
|
375
375
|
bt,
|
376
|
-
|
376
|
+
lt,
|
377
377
|
{
|
378
378
|
lang: 8,
|
379
379
|
translationurl: 9,
|
@@ -422,7 +422,7 @@ class vt extends ot {
|
|
422
422
|
this.$$set({ mbsource: e }), E();
|
423
423
|
}
|
424
424
|
}
|
425
|
-
|
425
|
+
at(vt, { lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, mbsource: {} }, [], [], !0);
|
426
426
|
export {
|
427
427
|
vt as default
|
428
428
|
};
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFilter-WNFrQkQJ.cjs");function V({withLocale:e,translations:r}){t.$locale.subscribe(n=>{n==null&&(t.$dictionary.set(r),t.$locale.set(e))})}function E(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-p37neu",':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, #22B04E));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, #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}.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 D(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,I,k,_,C,Z,a,g,b,O,M,H,L,B=t.ensure_array_like(Object.values(e[5])),y=[];for(let i=0;i<B.length;i+=1)y[i]=P(D(e,B,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),I=t.space(),k=t.element("span"),_=t.svg_element("svg"),C=t.svg_element("path"),g=t.space(),b=t.element("div"),O=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(O,"class","SorterDropdown"),t.attr(b,"class",M="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,I),t.append(n,k),t.append(k,_),t.append(_,C),t.append(r,g),t.append(r,b),t.append(b,O);for(let u=0;u<y.length;u+=1)y[u]&&y[u].m(O,null);H||(L=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){B=t.ensure_array_like(Object.values(i[5]));let u;for(u=0;u<B.length;u+=1){const T=D(i,B,u);y[u]?y[u].p(T,x):(y[u]=P(T),y[u].c(),y[u].m(O,null))}for(;u<y.length;u+=1)y[u].d(1);y.length=B.length}x&2&&M!==(M="SorterDropdownContainer "+(i[1]?"SorterOpen":""))&&t.attr(b,"class",M)},d(i){i&&t.detach(r),t.destroy_each(y,i),H=!1,L()}}}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=>{E(b,g[b])})}).catch(g=>{console.log(g)})};Object.keys(j).forEach(a=>{E(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)},I=()=>{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 _=()=>I(),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,I,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-5tOlVA2J.cjs");function V({withLocale:e,translations:r}){t.$locale.subscribe(n=>{n==null&&(t.$dictionary.set(r),t.$locale.set(e))})}function E(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-p37neu",':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, #22B04E));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, #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}.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 D(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,I,k,_,C,Z,a,g,b,O,M,H,L,B=t.ensure_array_like(Object.values(e[5])),y=[];for(let i=0;i<B.length;i+=1)y[i]=P(D(e,B,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),I=t.space(),k=t.element("span"),_=t.svg_element("svg"),C=t.svg_element("path"),g=t.space(),b=t.element("div"),O=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(O,"class","SorterDropdown"),t.attr(b,"class",M="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,I),t.append(n,k),t.append(k,_),t.append(_,C),t.append(r,g),t.append(r,b),t.append(b,O);for(let u=0;u<y.length;u+=1)y[u]&&y[u].m(O,null);H||(L=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){B=t.ensure_array_like(Object.values(i[5]));let u;for(u=0;u<B.length;u+=1){const T=D(i,B,u);y[u]?y[u].p(T,x):(y[u]=P(T),y[u].c(),y[u].m(O,null))}for(;u<y.length;u+=1)y[u].d(1);y.length=B.length}x&2&&M!==(M="SorterDropdownContainer "+(i[1]?"SorterOpen":""))&&t.attr(b,"class",M)},d(i){i&&t.detach(r),t.destroy_each(y,i),H=!1,L()}}}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=>{E(b,g[b])})}).catch(g=>{console.log(g)})};Object.keys(j).forEach(a=>{E(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)},I=()=>{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 _=()=>I(),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,I,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 +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-LxpJacbq.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-DKjNsKBV.js").then(({ default: t }) => {
|
14
14
|
!customElements.get("casino-most-played-section") && customElements.define("casino-most-played-section", t.element);
|
15
15
|
});
|
16
16
|
}
|