@everymatrix/casino-lobby 1.49.1 → 1.50.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoCalendar-CCQut7OA.js → CasinoCalendar-CU0bhyNM.js} +110 -110
- package/components/{CasinoCalendar-B3jjGeXh.cjs → CasinoCalendar-DTrgRvkr.cjs} +5 -5
- package/components/CasinoCalendarDailyDetails-C2n3SWH7.cjs +1 -0
- package/components/{CasinoCalendarDailyDetails-AzSENZXw.js → CasinoCalendarDailyDetails-CykJzFwP.js} +61 -61
- package/components/CasinoCalendarDailyItem-BEkt_1Do.js +220 -0
- package/components/CasinoCalendarDailyItem-CQwxWA_v.cjs +1 -0
- package/components/CasinoCategoriesSlider-Buv5zR45.cjs +1 -0
- package/components/{CasinoCategoriesSlider-Dd30AvK0.js → CasinoCategoriesSlider-_yDrcbTO.js} +38 -38
- package/components/CasinoCollectionsProviders-D4JZYg7_.cjs +1 -0
- package/components/{CasinoCollectionsProviders-Cc1u_orw.js → CasinoCollectionsProviders-qOKabkUt.js} +2 -2
- package/components/{CasinoFavoritesSection-j7VNOnAg.js → CasinoFavoritesSection-BrsEOslo.js} +18 -18
- package/components/CasinoFavoritesSection-NO1j-7mE.cjs +1 -0
- package/components/CasinoFilter-Cf4cNc7k.cjs +1 -0
- package/components/{CasinoFilter-BpyfHAnH.js → CasinoFilter-mUcHYwDN.js} +39 -39
- package/components/{CasinoGamePage-BLWJ4xsU.js → CasinoGamePage-7LZuh3F5.js} +1337 -1329
- package/components/CasinoGamePage-DsYb8vKH.cjs +18 -0
- package/components/{CasinoGameThumbnail-EBuJE9IZ.js → CasinoGameThumbnail-4nj8cja2.js} +82 -82
- package/components/CasinoGameThumbnail-DT8kcpDh.cjs +38 -0
- package/components/{CasinoGamesCategorySection-DXn5u5SK.js → CasinoGamesCategorySection-CnOh62zY.js} +534 -524
- package/components/CasinoGamesCategorySection-JbKTC4fO.cjs +1 -0
- package/components/CasinoJackpotBanner-C1EEittB.cjs +1 -0
- package/components/{CasinoJackpotBanner-CJJFsnyb.js → CasinoJackpotBanner-uqcCImgm.js} +2 -2
- package/components/CasinoLastPlayedSection-BbpHwVio.cjs +1 -0
- package/components/{CasinoLastPlayedSection-bvzxolz1.js → CasinoLastPlayedSection-CDiGo0Qz.js} +3 -3
- package/components/CasinoLobby-CQRwnMOa.cjs +1 -0
- package/components/{CasinoLobby-BPSflitf.js → CasinoLobby-CyZPXk4c.js} +7 -7
- package/components/CasinoModal-BAtB2Zp0.cjs +1 -0
- package/components/{CasinoModal-lLGEeGcU.js → CasinoModal-BP6PqH63.js} +2 -2
- package/components/CasinoMostPlayedSection-BKHWbGbu.cjs +1 -0
- package/components/{CasinoMostPlayedSection-eQH77h-f.js → CasinoMostPlayedSection-rtUmTTeg.js} +17 -17
- package/components/CasinoMyGames-DLUbkmuj.cjs +1 -0
- package/components/{CasinoMyGames-BJX2ZAvW.js → CasinoMyGames-DoyRc7uz.js} +44 -44
- package/components/{CasinoPage-Bq3eE915.js → CasinoPage-DdBraeHA.js} +188 -188
- package/components/CasinoPage-w4BcVJtb.cjs +1 -0
- package/components/{CasinoRandomGame-DiITGB_u.cjs → CasinoRandomGame-DyKtBBfl.cjs} +2 -2
- package/components/{CasinoRandomGame-DGD52sa7.js → CasinoRandomGame-qxTb-XNd.js} +15 -15
- package/components/CasinoSearch-B4KK-d_w.cjs +1 -0
- package/components/{CasinoSearch-DlG1jylC.js → CasinoSearch-DJA6Cl2Z.js} +90 -90
- package/components/CasinoSlider-CPgcncvZ.cjs +1 -0
- package/components/{CasinoSlider-CyXzUPtq.js → CasinoSlider-Dcowmwyl.js} +56 -56
- package/components/{CasinoSort-D1UmVqPT.js → CasinoSort-BU-2yzMG.js} +23 -23
- package/components/CasinoSort-fDJhfT-5.cjs +1 -0
- package/components/CasinoWinners-BT42Al2t.cjs +1 -0
- package/components/{CasinoWinners-DSCWZZgk.js → CasinoWinners-DyBdvsh8.js} +49 -49
- package/components/{GeneralAnimationLoading-DmhAiTlH.cjs → GeneralAnimationLoading-COOEMnWE.cjs} +1 -1
- package/components/{GeneralAnimationLoading-DE8HSm4C.js → GeneralAnimationLoading-Id2HhvsJ.js} +1 -1
- package/es2015/casino-lobby.cjs +1 -1
- package/es2015/casino-lobby.js +1 -1
- package/package.json +1 -1
- package/components/CasinoCalendarDailyDetails-D1jKEWfR.cjs +0 -1
- package/components/CasinoCalendarDailyItem-DD924Zcr.js +0 -220
- package/components/CasinoCalendarDailyItem-zl4-e9DC.cjs +0 -1
- package/components/CasinoCategoriesSlider-DI2g7-y8.cjs +0 -1
- package/components/CasinoCollectionsProviders-CHDbSVYn.cjs +0 -1
- package/components/CasinoFavoritesSection-Co24_74o.cjs +0 -1
- package/components/CasinoFilter-DXA7jKT_.cjs +0 -1
- package/components/CasinoGamePage-CCbldgKZ.cjs +0 -18
- package/components/CasinoGameThumbnail-DNpT4OO7.cjs +0 -38
- package/components/CasinoGamesCategorySection-B2JOakf0.cjs +0 -1
- package/components/CasinoJackpotBanner-AjhcDuUc.cjs +0 -1
- package/components/CasinoLastPlayedSection-Cey1ENpO.cjs +0 -1
- package/components/CasinoLobby-B0BMaElu.cjs +0 -1
- package/components/CasinoModal-B71hMJhL.cjs +0 -1
- package/components/CasinoMostPlayedSection-B6vs4hfK.cjs +0 -1
- package/components/CasinoMyGames-DirVyeaV.cjs +0 -1
- package/components/CasinoPage--saBxGwI.cjs +0 -1
- package/components/CasinoSearch-3NrItprI.cjs +0 -1
- package/components/CasinoSlider-Cyun8L26.cjs +0 -1
- package/components/CasinoSort-ersVtC7e.cjs +0 -1
- package/components/CasinoWinners-CflzKW0N.cjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as re, a as ge, I as ue, S as me, i as he, f as L, c as Fe, s as be, b as ye, e as u, d as z, C as ie, j as B, J as ve, o as we, L as _e, m as Ce, p as ae, E as ee, q as P, r as A, u as o, v as s, w as te, A as j, B as ke, R as
|
|
1
|
+
import { $ as re, a as ge, I as ue, S as me, i as he, f as L, c as Fe, s as be, b as ye, e as u, d as z, C as ie, j as B, J as ve, o as we, L as _e, m as Ce, p as ae, E as ee, q as P, r as A, u as o, v as s, w as te, A as j, B as ke, R as fe, U as ne, O as xe, D as oe } from "./CasinoCalendar-CU0bhyNM.js";
|
|
2
2
|
function Se({ withLocale: r, translations: e }) {
|
|
3
3
|
re.subscribe((t) => {
|
|
4
4
|
t == null && (ge.set(e), re.set(r));
|
|
@@ -112,7 +112,7 @@ const ce = {
|
|
|
112
112
|
}
|
|
113
113
|
};
|
|
114
114
|
function Ie(r) {
|
|
115
|
-
ye(r, "svelte-
|
|
115
|
+
ye(r, "svelte-ub9f39", ':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.FilterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{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))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emw--color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emw--color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #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}.ClearFilters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}');
|
|
116
116
|
}
|
|
117
117
|
function de(r, e, t) {
|
|
118
118
|
const i = r.slice();
|
|
@@ -129,7 +129,7 @@ function Le(r) {
|
|
|
129
129
|
/*$_*/
|
|
130
130
|
r[11]("clear") + ""
|
|
131
131
|
), R, W, U, H, q, X;
|
|
132
|
-
function Y(n,
|
|
132
|
+
function Y(n, f) {
|
|
133
133
|
return (
|
|
134
134
|
/*fullSelection*/
|
|
135
135
|
n[7] ? Oe : Ae
|
|
@@ -140,7 +140,7 @@ function Le(r) {
|
|
|
140
140
|
r[5]
|
|
141
141
|
), l = [];
|
|
142
142
|
for (let n = 0; n < N.length; n += 1)
|
|
143
|
-
l[n] =
|
|
143
|
+
l[n] = pe(de(r, N, n));
|
|
144
144
|
return {
|
|
145
145
|
c() {
|
|
146
146
|
e = u("div"), t = u("div"), i = u("div"), a = ee("svg"), c = ee("path"), m = P(), v = u("div"), w = u("span"), g = A(b), _ = P(), y = u("div"), O = u("span"), E = A(k), C = P(), S.c(), d = P(), F = u("span"), h = ee("svg"), D = ee("path"), K = P(), T = u("div"), V = u("ul");
|
|
@@ -156,10 +156,10 @@ function Le(r) {
|
|
|
156
156
|
(r[0] == "true" && /*addsortingselector*/
|
|
157
157
|
r[1] == "true" ? "FilerContainerSplit" : ""));
|
|
158
158
|
},
|
|
159
|
-
m(n,
|
|
160
|
-
z(n, e,
|
|
161
|
-
for (let
|
|
162
|
-
l[
|
|
159
|
+
m(n, f) {
|
|
160
|
+
z(n, e, f), s(e, t), s(t, i), s(i, a), s(a, c), s(i, m), s(i, v), s(v, w), s(w, g), s(v, _), s(v, y), s(y, O), s(O, E), s(y, C), S.m(y, null), s(t, d), s(t, F), s(F, h), s(h, D), s(e, K), s(e, T), s(T, V);
|
|
161
|
+
for (let p = 0; p < l.length; p += 1)
|
|
162
|
+
l[p] && l[p].m(V, null);
|
|
163
163
|
s(T, Q), s(T, I), s(I, R), q || (X = [
|
|
164
164
|
te(
|
|
165
165
|
t,
|
|
@@ -175,45 +175,45 @@ function Le(r) {
|
|
|
175
175
|
)
|
|
176
176
|
], q = !0);
|
|
177
177
|
},
|
|
178
|
-
p(n,
|
|
179
|
-
if (
|
|
178
|
+
p(n, f) {
|
|
179
|
+
if (f[0] & /*$_*/
|
|
180
180
|
2048 && b !== (b = /*$_*/
|
|
181
|
-
n[11]("filterby") + "") && j(g, b),
|
|
181
|
+
n[11]("filterby") + "") && j(g, b), f[0] & /*$_*/
|
|
182
182
|
2048 && k !== (k = /*$_*/
|
|
183
|
-
n[11]("providers") + "") && j(E, k), Z === (Z = Y(n)) && S ? S.p(n,
|
|
183
|
+
n[11]("providers") + "") && j(E, k), Z === (Z = Y(n)) && S ? S.p(n, f) : (S.d(1), S = Z(n), S && (S.c(), S.m(y, null))), f[0] & /*isFilterActive*/
|
|
184
184
|
16 && M !== (M = "TriangleInactive " + /*isFilterActive*/
|
|
185
|
-
(n[4] ? "TriangleActive" : "")) && o(F, "class", M),
|
|
185
|
+
(n[4] ? "TriangleActive" : "")) && o(F, "class", M), f[0] & /*isFilterActive*/
|
|
186
186
|
16 && x !== (x = "FilterSelector " + /*isFilterActive*/
|
|
187
|
-
(n[4] ? "FilterSelectorOpen" : "")) && o(t, "class", x),
|
|
187
|
+
(n[4] ? "FilterSelectorOpen" : "")) && o(t, "class", x), f[0] & /*filterbylogo, vendorArray, filterByVendors*/
|
|
188
188
|
8228) {
|
|
189
189
|
N = ae(
|
|
190
190
|
/*vendorArray*/
|
|
191
191
|
n[5]
|
|
192
192
|
);
|
|
193
|
-
let
|
|
194
|
-
for (
|
|
195
|
-
const G = de(n, N,
|
|
196
|
-
l[
|
|
193
|
+
let p;
|
|
194
|
+
for (p = 0; p < N.length; p += 1) {
|
|
195
|
+
const G = de(n, N, p);
|
|
196
|
+
l[p] ? l[p].p(G, f) : (l[p] = pe(G), l[p].c(), l[p].m(V, null));
|
|
197
197
|
}
|
|
198
|
-
for (;
|
|
199
|
-
l[
|
|
198
|
+
for (; p < l.length; p += 1)
|
|
199
|
+
l[p].d(1);
|
|
200
200
|
l.length = N.length;
|
|
201
201
|
}
|
|
202
|
-
|
|
202
|
+
f[0] & /*$_*/
|
|
203
203
|
2048 && J !== (J = /*$_*/
|
|
204
|
-
n[11]("clear") + "") && j(R, J),
|
|
204
|
+
n[11]("clear") + "") && j(R, J), f[0] & /*fullSelection, selectedVendorArray, vendorArray*/
|
|
205
205
|
224 && W !== (W = /*fullSelection*/
|
|
206
206
|
n[7] && /*selectedVendorArray*/
|
|
207
207
|
n[6].length != /*vendorArray*/
|
|
208
|
-
n[5].length) && (I.disabled = W),
|
|
208
|
+
n[5].length) && (I.disabled = W), f[0] & /*isFilterActive*/
|
|
209
209
|
16 && U !== (U = "FilterDropdownContainer " + /*isFilterActive*/
|
|
210
|
-
(n[4] ? "FilterOpen" : "")) && o(T, "class", U),
|
|
210
|
+
(n[4] ? "FilterOpen" : "")) && o(T, "class", U), f[0] & /*addfilterselector, addsortingselector*/
|
|
211
211
|
3 && H !== (H = "FilterContainer " + /*addfilterselector*/
|
|
212
212
|
(n[0] == "true" && /*addsortingselector*/
|
|
213
213
|
n[1] == "true" ? "FilerContainerSplit" : "")) && o(e, "class", H);
|
|
214
214
|
},
|
|
215
215
|
d(n) {
|
|
216
|
-
n && B(e), S.d(), ke(l, n), q = !1,
|
|
216
|
+
n && B(e), S.d(), ke(l, n), q = !1, fe(X);
|
|
217
217
|
}
|
|
218
218
|
};
|
|
219
219
|
}
|
|
@@ -333,7 +333,7 @@ function Te(r) {
|
|
|
333
333
|
}
|
|
334
334
|
};
|
|
335
335
|
}
|
|
336
|
-
function
|
|
336
|
+
function pe(r) {
|
|
337
337
|
let e, t, i, a, c, m, v, w, b, g, _, y;
|
|
338
338
|
function O() {
|
|
339
339
|
r[23].call(
|
|
@@ -390,7 +390,7 @@ function fe(r) {
|
|
|
390
390
|
r[36].name) && (e.value = g);
|
|
391
391
|
},
|
|
392
392
|
d(F) {
|
|
393
|
-
F && B(e), d && d.d(), _ = !1,
|
|
393
|
+
F && B(e), d && d.d(), _ = !1, fe(y);
|
|
394
394
|
}
|
|
395
395
|
};
|
|
396
396
|
}
|
|
@@ -429,8 +429,8 @@ function Me(r, e, t) {
|
|
|
429
429
|
Se({ withLocale: "en", translations: {} });
|
|
430
430
|
const T = () => {
|
|
431
431
|
fetch(v).then((n) => n.json()).then((n) => {
|
|
432
|
-
Object.keys(n).forEach((
|
|
433
|
-
se(
|
|
432
|
+
Object.keys(n).forEach((f) => {
|
|
433
|
+
se(f, n[f]);
|
|
434
434
|
});
|
|
435
435
|
}).catch((n) => {
|
|
436
436
|
console.log(n);
|
|
@@ -456,24 +456,24 @@ function Me(r, e, t) {
|
|
|
456
456
|
F[g] && (F = { [g]: [] });
|
|
457
457
|
const I = () => {
|
|
458
458
|
t(4, k = !k), window.postMessage({ type: "FilterOpened" }, window.location.href);
|
|
459
|
-
}, J = (l) => (t(9, M = !0), new Promise((n,
|
|
460
|
-
fetch(l).then((
|
|
461
|
-
|
|
459
|
+
}, J = (l) => (t(9, M = !0), new Promise((n, f) => {
|
|
460
|
+
fetch(l).then((p) => p.json()).then((p) => {
|
|
461
|
+
p = p.items, n(p.items), t(6, d = []);
|
|
462
462
|
let G = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
|
|
463
|
-
|
|
463
|
+
p.forEach(($) => {
|
|
464
464
|
var le;
|
|
465
465
|
G || (G = { currentCategoryId: [] }), ((le = G[g]) == null ? void 0 : le.indexOf($.id)) >= 0 ? ($.isFilterSelected = !0, d.push($)) : $.isFilterSelected = !1;
|
|
466
|
-
}), t(5, C =
|
|
467
|
-
}).catch((
|
|
468
|
-
console.error(
|
|
466
|
+
}), t(5, C = p), W();
|
|
467
|
+
}).catch((p) => {
|
|
468
|
+
console.error(p), t(10, K = !0), f(p);
|
|
469
469
|
}).finally(() => {
|
|
470
470
|
t(9, M = !1);
|
|
471
471
|
});
|
|
472
472
|
})), R = (l) => {
|
|
473
473
|
let n = localStorage.getItem("vendorFiltersByCategory");
|
|
474
|
-
l.isFilterSelected = !l.isFilterSelected, !d.length || d.filter((
|
|
475
|
-
[g]: d.map((
|
|
476
|
-
})) : (n = JSON.parse(n), n[g] = d.map((
|
|
474
|
+
l.isFilterSelected = !l.isFilterSelected, !d.length || d.filter((f) => f.name === l.name).length == 0 ? d.push(l) : t(6, d = d.filter((f) => f.name !== l.name)), n == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(F = {
|
|
475
|
+
[g]: d.map((f) => f.id)
|
|
476
|
+
})) : (n = JSON.parse(n), n[g] = d.map((f) => f.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(n))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), W();
|
|
477
477
|
}, W = () => {
|
|
478
478
|
t(7, h = d.length === C.length || d.length == 0), t(8, D = d.length);
|
|
479
479
|
}, U = () => {
|