@everymatrix/casino-page 1.94.3 → 1.94.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/components/{CasinoCalendar-iX5FwPys.cjs → CasinoCalendar-C_xNmRaY.cjs} +1 -1
  2. package/components/{CasinoCalendar-DdiZxohs.js → CasinoCalendar-DoiSP2I7.js} +19 -19
  3. package/components/{CasinoCalendar-BHeQ80tF.js → CasinoCalendar-_CWLjC1Y.js} +19 -19
  4. package/components/{CasinoCalendarDailyDetails-C9xNw0VK.js → CasinoCalendarDailyDetails-B_8f8qzU.js} +45 -45
  5. package/components/{CasinoCalendarDailyDetails-rJ0lw1Bf.js → CasinoCalendarDailyDetails-DNbGCFHk.js} +45 -45
  6. package/components/{CasinoCalendarDailyDetails-B9BrMN4H.cjs → CasinoCalendarDailyDetails-YEjcNmsF.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-12W3CM9z.js → CasinoCalendarDailyItem-CqS8Ln6p.js} +35 -35
  8. package/components/{CasinoCalendarDailyItem--9fOdz4H.js → CasinoCalendarDailyItem-Cvbbh3vk.js} +35 -35
  9. package/components/{CasinoCalendarDailyItem-heQht4N8.cjs → CasinoCalendarDailyItem-Cx0R3UXy.cjs} +1 -1
  10. package/components/{CasinoCollectionsProviders-C9Ous_Ql.js → CasinoCollectionsProviders-BA0B8THH.js} +84 -84
  11. package/components/{CasinoCollectionsProviders-DPvvU3Av.js → CasinoCollectionsProviders-BTgMKpir.js} +81 -81
  12. package/components/{CasinoCollectionsProviders-Dv-fgI1R.cjs → CasinoCollectionsProviders-DCU6_3Wg.cjs} +1 -1
  13. package/components/{CasinoFavoritesSection-BkIAYJSC.js → CasinoFavoritesSection-8MiofleI.js} +23 -23
  14. package/components/{CasinoFavoritesSection-DteeubNI.js → CasinoFavoritesSection-Cmmacvha.js} +28 -28
  15. package/components/{CasinoFavoritesSection-BnlTienl.cjs → CasinoFavoritesSection-qpggR3Qy.cjs} +1 -1
  16. package/components/{CasinoFilter-D1j1LhxK.cjs → CasinoFilter-BswGziub.cjs} +1 -1
  17. package/components/{CasinoFilter-D8MkH-4Q.js → CasinoFilter-COdEoLjO.js} +54 -54
  18. package/components/{CasinoFilter-C55Lrry3.js → CasinoFilter-TtmhdKfx.js} +54 -54
  19. package/components/{CasinoGameThumbnail-DYyzolvn.cjs → CasinoGameThumbnail-DE-NMEuD.cjs} +1 -1
  20. package/components/{CasinoGameThumbnail-DTnruajK.js → CasinoGameThumbnail-N0cDXPXp.js} +43 -43
  21. package/components/{CasinoGameThumbnail-BNEufhwb.js → CasinoGameThumbnail-pwrLIXix.js} +43 -43
  22. package/components/{CasinoGamesCategorySection-B7Ta1_M4.js → CasinoGamesCategorySection-BYHWSV0p.js} +82 -82
  23. package/components/{CasinoGamesCategorySection-DTEqJ_KB.js → CasinoGamesCategorySection-C66IQnHS.js} +82 -82
  24. package/components/{CasinoGamesCategorySection-D940qem2.cjs → CasinoGamesCategorySection-Txs4kY7i.cjs} +2 -2
  25. package/components/{CasinoJackpotBanner-ByWwJ4C5.js → CasinoJackpotBanner-CY7oG81S.js} +102 -102
  26. package/components/{CasinoJackpotBanner-DK4BrTug.js → CasinoJackpotBanner-D425xvs0.js} +134 -134
  27. package/components/{CasinoJackpotBanner-yhREwK_H.cjs → CasinoJackpotBanner-DqudSIOc.cjs} +1 -1
  28. package/components/{CasinoLastPlayedSection-B1vBZ7l9.js → CasinoLastPlayedSection-BqU5YDmM.js} +19 -19
  29. package/components/{CasinoLastPlayedSection-B0JTjuBB.cjs → CasinoLastPlayedSection-C9UO4Qz7.cjs} +1 -1
  30. package/components/{CasinoLastPlayedSection-ExzDPIbt.js → CasinoLastPlayedSection-De8G3raR.js} +23 -23
  31. package/components/{CasinoMostPlayedSection-Bsk9FXm3.js → CasinoMostPlayedSection-CV7AJd8z.js} +18 -18
  32. package/components/{CasinoMostPlayedSection-DQIQnM1X.cjs → CasinoMostPlayedSection-D2Rlw1f1.cjs} +1 -1
  33. package/components/{CasinoMostPlayedSection-Ame3-jcv.js → CasinoMostPlayedSection-W9-m-sR8.js} +31 -31
  34. package/components/{CasinoMyGames-DfamQkx2.js → CasinoMyGames-DFMmpy81.js} +28 -28
  35. package/components/{CasinoMyGames-B-X6yrUU.js → CasinoMyGames-D_KzlM9N.js} +29 -29
  36. package/components/{CasinoMyGames-BWgXDtlO.cjs → CasinoMyGames-XpXtcAlx.cjs} +1 -1
  37. package/components/{CasinoPage-Ce3vvxMH.js → CasinoPage-D4PlCd03.js} +62 -62
  38. package/components/{CasinoPage-CHVt9han.cjs → CasinoPage-eCv6pYb2.cjs} +1 -1
  39. package/components/{CasinoPage-nKYoHhhQ.js → CasinoPage-mjm62-7D.js} +62 -62
  40. package/components/{CasinoRandomGame-QERWgnCn.js → CasinoRandomGame-BdAsD-Ea.js} +32 -32
  41. package/components/{CasinoRandomGame-COJQL0lT.cjs → CasinoRandomGame-D6NekiHl.cjs} +1 -1
  42. package/components/{CasinoRandomGame-DnTWVNlN.js → CasinoRandomGame-DVm9BGzt.js} +31 -31
  43. package/components/{CasinoSearch-BefbNgYb.cjs → CasinoSearch-BWgZwgU4.cjs} +1 -1
  44. package/components/{CasinoSearch-R__GMn2Q.js → CasinoSearch-CBwcnKDo.js} +57 -57
  45. package/components/{CasinoSearch-D3yM26T4.js → CasinoSearch-CO236ngV.js} +55 -55
  46. package/components/{CasinoSort-w_c_Casp.js → CasinoSort-CHqs-Ttt.js} +44 -44
  47. package/components/{CasinoSort-DLTTSyjd.cjs → CasinoSort-Cffcaqi0.cjs} +1 -1
  48. package/components/{CasinoSort-DIeg_AZz.js → CasinoSort-H2zd8iw-.js} +60 -60
  49. package/components/{CasinoWinners-CwSpkdaG.js → CasinoWinners-C5vj7iay.js} +342 -324
  50. package/components/CasinoWinners-DTz1XF6s.cjs +1 -0
  51. package/components/CasinoWinners-D_coj2DG.js +1012 -0
  52. package/components/{GeneralAnimationLoading-CVQbbqfD.js → GeneralAnimationLoading-B4pGZ94-.js} +6 -6
  53. package/components/{GeneralAnimationLoading-Cj3h7Z1Q.js → GeneralAnimationLoading-BkgOGtdu.js} +7 -7
  54. package/components/{GeneralAnimationLoading-CZktzcW8.cjs → GeneralAnimationLoading-oA1BDcyB.cjs} +1 -1
  55. package/es2015/casino-page.cjs +1 -1
  56. package/es2015/casino-page.js +1 -1
  57. package/esnext/casino-page.js +1 -1
  58. package/package.json +1 -1
  59. package/components/CasinoWinners-9D47i5gK.js +0 -994
  60. package/components/CasinoWinners-Dm-upaG0.cjs +0 -1
@@ -1,4 +1,4 @@
1
- import { $ as re, I as pe, a as me, S as he, i as Fe, s as be, f as L, b as ye, n as ie, d as z, e as V, g, j as ve, k as we, u as _e, l as ke, h as n, x as ae, B as Ce, T as ue, v as q, q as o, C as te, D as ee, r as E, w as B, Y as ne, R as oe, F as xe, G as Se, H as Ie, c as Le, E as Pe } from "./CasinoPage-Ce3vvxMH.js";
1
+ import { b as re, $ as pe, c as me, S as he, w as Fe, G as be, r as L, e as ye, A as ie, n as z, x as V, o as g, i as ve, D as we, s as _e, g as ke, f as n, q as ae, m as Ce, F as ue, M as q, d as o, z as te, T as ee, P as O, U as B, N as ne, Q as oe, I as xe, J as Se, K as Ie, j as Le, a as Pe } from "./CasinoPage-D4PlCd03.js";
2
2
  function Ae({ withLocale: r, translations: e }) {
3
3
  re.subscribe((l) => {
4
4
  l == null && (pe.set(e), re.set(r));
@@ -117,31 +117,31 @@ const ce = {
117
117
  clear: "Clear all"
118
118
  }
119
119
  };
120
- function Ee(r) {
120
+ function Oe(r) {
121
121
  ye(r, "svelte-14m0j7n", ':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:17}.FilterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid var(--emw--color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emw--color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between;overflow:hidden}.FilterLabel .FilterItemLabel span.VendorName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}');
122
122
  }
123
123
  function de(r, e, l) {
124
124
  const i = r.slice();
125
125
  return i[37] = e[l], i[38] = e, i[39] = l, i;
126
126
  }
127
- function Oe(r) {
127
+ function Te(r) {
128
128
  let e, l, i, a, s, m, v, w, b = (
129
129
  /*$_*/
130
130
  r[11]("filterby") + ""
131
- ), u, C, y, O, P = (
131
+ ), u, C, y, T, P = (
132
132
  /*$_*/
133
133
  r[11]("providers") + ""
134
- ), S, x, F, p, c, A, M, W, G, _, N, D, T, H = (
134
+ ), S, x, F, p, c, A, M, W, G, _, N, D, E, H = (
135
135
  /*$_*/
136
136
  r[11]("clear") + ""
137
- ), U, J, R, Z, K, Q;
138
- function X(t, d) {
137
+ ), K, J, U, R, Z, X;
138
+ function Y(t, d) {
139
139
  return (
140
140
  /*fullSelection*/
141
141
  t[7] ? Me : Be
142
142
  );
143
143
  }
144
- let Y = X(r), I = Y(r), j = ae(
144
+ let Q = Y(r), I = Q(r), j = ae(
145
145
  /*vendorArray*/
146
146
  r[5]
147
147
  ), k = [];
@@ -149,24 +149,24 @@ function Oe(r) {
149
149
  k[t] = fe(de(r, j, t));
150
150
  return {
151
151
  c() {
152
- e = g("div"), l = g("div"), i = g("div"), a = ee("svg"), s = ee("path"), m = E(), v = g("div"), w = g("span"), u = B(b), C = E(), y = g("div"), O = g("span"), S = B(P), x = E(), I.c(), F = E(), p = g("span"), c = ee("svg"), A = ee("path"), G = E(), _ = g("div"), N = g("ul");
152
+ e = g("div"), l = g("div"), i = g("div"), a = ee("svg"), s = ee("path"), m = O(), v = g("div"), w = g("span"), u = B(b), C = O(), y = g("div"), T = g("span"), S = B(P), x = O(), I.c(), F = O(), p = g("span"), c = ee("svg"), A = ee("path"), G = O(), _ = g("div"), N = g("ul");
153
153
  for (let t = 0; t < k.length; t += 1)
154
154
  k[t].c();
155
- D = E(), T = g("button"), U = B(H), n(s, "id", "noun_filter_736223"), n(s, "d", "M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"), n(s, "transform", "translate(-5 -6.2)"), n(s, "fill", "#fff"), n(a, "xmlns", "http://www.w3.org/2000/svg"), n(a, "width", "16"), n(a, "height", "16"), n(a, "viewBox", "0 0 16 16"), n(w, "class", "FilterName"), n(y, "class", "FilterValueContainer"), n(v, "class", "FilterTextContainer"), n(i, "class", "FilterMainArea"), n(A, "id", "arrow"), n(A, "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"), n(A, "transform", "translate(-274.511 -441.088)"), n(A, "fill", "#d1d1d1"), n(c, "xmlns", "http://www.w3.org/2000/svg"), n(c, "width", "14"), n(c, "height", "6.835"), n(c, "viewBox", "0 0 14 6.835"), n(p, "class", M = "TriangleInactive " + /*isFilterActive*/
155
+ D = O(), E = g("button"), K = B(H), n(s, "id", "noun_filter_736223"), n(s, "d", "M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"), n(s, "transform", "translate(-5 -6.2)"), n(s, "fill", "#fff"), n(a, "xmlns", "http://www.w3.org/2000/svg"), n(a, "width", "16"), n(a, "height", "16"), n(a, "viewBox", "0 0 16 16"), n(w, "class", "FilterName"), n(y, "class", "FilterValueContainer"), n(v, "class", "FilterTextContainer"), n(i, "class", "FilterMainArea"), n(A, "id", "arrow"), n(A, "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"), n(A, "transform", "translate(-274.511 -441.088)"), n(A, "fill", "#d1d1d1"), n(c, "xmlns", "http://www.w3.org/2000/svg"), n(c, "width", "14"), n(c, "height", "6.835"), n(c, "viewBox", "0 0 14 6.835"), n(p, "class", M = "TriangleInactive " + /*isFilterActive*/
156
156
  (r[4] ? "TriangleActive" : "")), n(l, "class", W = "FilterSelector " + /*isFilterActive*/
157
- (r[4] ? "FilterSelectorOpen" : "")), n(N, "class", "FilterDropdown"), n(T, "class", "ClearFilters"), T.disabled = J = /*fullSelection*/
157
+ (r[4] ? "FilterSelectorOpen" : "")), n(N, "class", "FilterDropdown"), n(E, "class", "ClearFilters"), E.disabled = J = /*fullSelection*/
158
158
  r[7] && /*selectedVendorArray*/
159
159
  r[6].length != /*vendorArray*/
160
- r[5].length, n(_, "class", R = "FilterDropdownContainer " + /*isFilterActive*/
161
- (r[4] ? "FilterOpen" : "")), n(e, "class", Z = "FilterContainer " + /*addfilterselector*/
160
+ r[5].length, n(_, "class", U = "FilterDropdownContainer " + /*isFilterActive*/
161
+ (r[4] ? "FilterOpen" : "")), n(e, "class", R = "FilterContainer " + /*addfilterselector*/
162
162
  (r[0] == "true" && /*addsortingselector*/
163
163
  r[1] == "true" ? "FilerContainerSplit" : ""));
164
164
  },
165
165
  m(t, d) {
166
- V(t, e, d), o(e, l), o(l, i), o(i, a), o(a, s), o(i, m), o(i, v), o(v, w), o(w, u), o(v, C), o(v, y), o(y, O), o(O, S), o(y, x), I.m(y, null), o(l, F), o(l, p), o(p, c), o(c, A), o(e, G), o(e, _), o(_, N);
166
+ V(t, e, d), o(e, l), o(l, i), o(i, a), o(a, s), o(i, m), o(i, v), o(v, w), o(w, u), o(v, C), o(v, y), o(y, T), o(T, S), o(y, x), I.m(y, null), o(l, F), o(l, p), o(p, c), o(c, A), o(e, G), o(e, _), o(_, N);
167
167
  for (let f = 0; f < k.length; f += 1)
168
168
  k[f] && k[f].m(N, null);
169
- o(_, D), o(_, T), o(T, U), K || (Q = [
169
+ o(_, D), o(_, E), o(E, K), Z || (X = [
170
170
  te(
171
171
  l,
172
172
  "click",
@@ -174,19 +174,19 @@ function Oe(r) {
174
174
  r[25]
175
175
  ),
176
176
  te(
177
- T,
177
+ E,
178
178
  "click",
179
179
  /*click_handler_2*/
180
180
  r[28]
181
181
  )
182
- ], K = !0);
182
+ ], Z = !0);
183
183
  },
184
184
  p(t, d) {
185
185
  if (d[0] & /*$_*/
186
186
  2048 && b !== (b = /*$_*/
187
187
  t[11]("filterby") + "") && q(u, b), d[0] & /*$_*/
188
188
  2048 && P !== (P = /*$_*/
189
- t[11]("providers") + "") && q(S, P), Y === (Y = X(t)) && I ? I.p(t, d) : (I.d(1), I = Y(t), I && (I.c(), I.m(y, null))), d[0] & /*isFilterActive*/
189
+ t[11]("providers") + "") && q(S, P), Q === (Q = Y(t)) && I ? I.p(t, d) : (I.d(1), I = Q(t), I && (I.c(), I.m(y, null))), d[0] & /*isFilterActive*/
190
190
  16 && M !== (M = "TriangleInactive " + /*isFilterActive*/
191
191
  (t[4] ? "TriangleActive" : "")) && n(p, "class", M), d[0] & /*isFilterActive*/
192
192
  16 && W !== (W = "FilterSelector " + /*isFilterActive*/
@@ -207,23 +207,23 @@ function Oe(r) {
207
207
  }
208
208
  d[0] & /*$_*/
209
209
  2048 && H !== (H = /*$_*/
210
- t[11]("clear") + "") && q(U, H), d[0] & /*fullSelection, selectedVendorArray, vendorArray*/
210
+ t[11]("clear") + "") && q(K, H), d[0] & /*fullSelection, selectedVendorArray, vendorArray*/
211
211
  224 && J !== (J = /*fullSelection*/
212
212
  t[7] && /*selectedVendorArray*/
213
213
  t[6].length != /*vendorArray*/
214
- t[5].length) && (T.disabled = J), d[0] & /*isFilterActive*/
215
- 16 && R !== (R = "FilterDropdownContainer " + /*isFilterActive*/
216
- (t[4] ? "FilterOpen" : "")) && n(_, "class", R), d[0] & /*addfilterselector, addsortingselector*/
217
- 3 && Z !== (Z = "FilterContainer " + /*addfilterselector*/
214
+ t[5].length) && (E.disabled = J), d[0] & /*isFilterActive*/
215
+ 16 && U !== (U = "FilterDropdownContainer " + /*isFilterActive*/
216
+ (t[4] ? "FilterOpen" : "")) && n(_, "class", U), d[0] & /*addfilterselector, addsortingselector*/
217
+ 3 && R !== (R = "FilterContainer " + /*addfilterselector*/
218
218
  (t[0] == "true" && /*addsortingselector*/
219
- t[1] == "true" ? "FilerContainerSplit" : "")) && n(e, "class", Z);
219
+ t[1] == "true" ? "FilerContainerSplit" : "")) && n(e, "class", R);
220
220
  },
221
221
  d(t) {
222
- t && z(e), I.d(), Ce(k, t), K = !1, ue(Q);
222
+ t && z(e), I.d(), Ce(k, t), Z = !1, ue(X);
223
223
  }
224
224
  };
225
225
  }
226
- function Te(r) {
226
+ function Ee(r) {
227
227
  let e, l = (
228
228
  /*$_*/
229
229
  r[11]("500") + ""
@@ -322,7 +322,7 @@ function De(r) {
322
322
  ), b, u;
323
323
  return {
324
324
  c() {
325
- e = g("div"), l = g("span"), a = B(i), s = E(), m = g("span"), v = B("("), b = B(w), u = B(")"), n(l, "class", "VendorName"), n(e, "class", "FilterItemLabel");
325
+ e = g("div"), l = g("span"), a = B(i), s = O(), m = g("span"), v = B("("), b = B(w), u = B(")"), n(l, "class", "VendorName"), n(e, "class", "FilterItemLabel");
326
326
  },
327
327
  m(C, y) {
328
328
  V(C, e, y), o(e, l), o(l, a), o(e, s), o(e, m), o(m, v), o(m, b), o(m, u);
@@ -341,7 +341,7 @@ function De(r) {
341
341
  }
342
342
  function fe(r) {
343
343
  let e, l, i, a, s, m, v, w, b, u, C, y;
344
- function O() {
344
+ function T() {
345
345
  r[26].call(
346
346
  i,
347
347
  /*each_value*/
@@ -374,7 +374,7 @@ function fe(r) {
374
374
  let x = S(r), F = x && x(r);
375
375
  return {
376
376
  c() {
377
- e = g("li"), l = g("label"), i = g("input"), s = E(), m = g("span"), v = E(), F && F.c(), w = E(), n(i, "type", "checkbox"), n(i, "name", "checkbox"), i.__value = a = /*vendor*/
377
+ e = g("li"), l = g("label"), i = g("input"), s = O(), m = g("span"), v = O(), F && F.c(), w = O(), n(i, "type", "checkbox"), n(i, "name", "checkbox"), i.__value = a = /*vendor*/
378
378
  r[37].name, ne(i, i.__value), n(m, "class", "FiltersCheckmark"), n(l, "class", "FilterLabel"), n(e, "class", b = "FilterItem " + /*filterbylogo*/
379
379
  (r[2] === "true" ? "FilterItemWithLogos" : "")), e.value = u = /*vendor*/
380
380
  r[37].name;
@@ -382,7 +382,7 @@ function fe(r) {
382
382
  m(p, c) {
383
383
  V(p, e, c), o(e, l), o(l, i), i.checked = /*vendor*/
384
384
  r[37].isFilterSelected, o(l, s), o(l, m), o(l, v), F && F.m(l, null), o(e, w), C || (y = [
385
- te(i, "change", O),
385
+ te(i, "change", T),
386
386
  te(i, "click", P)
387
387
  ], C = !0);
388
388
  },
@@ -409,10 +409,10 @@ function je(r) {
409
409
  /*hasErrors*/
410
410
  s[10]
411
411
  )
412
- return Te;
412
+ return Ee;
413
413
  if (!/*isLoading*/
414
414
  s[9])
415
- return Oe;
415
+ return Te;
416
416
  }
417
417
  let i = l(r), a = i && i(r);
418
418
  return {
@@ -435,9 +435,9 @@ function je(r) {
435
435
  function ze(r, e, l) {
436
436
  let i;
437
437
  ve(r, Pe, (t) => l(11, i = t));
438
- let { endpoint: a = "" } = e, { datasource: s = "" } = e, { lang: m = "" } = e, { translationurl: v = "" } = e, { clientstyling: w = "" } = e, { clientstylingurl: b = "" } = e, { categoryid: u = "" } = e, { addfilterselector: C = "false" } = e, { addsortingselector: y = "false" } = e, { filterbylogo: O = "false" } = e, { mbsource: P } = e, { usesinglevendorfilter: S = "false" } = e, x = !1, F = window.navigator.userAgent, p = [], c = [], A = {}, M = !1, W = 0, G = !0, _, N = !1, D;
438
+ let { endpoint: a = "" } = e, { datasource: s = "" } = e, { lang: m = "" } = e, { translationurl: v = "" } = e, { clientstyling: w = "" } = e, { clientstylingurl: b = "" } = e, { categoryid: u = "" } = e, { addfilterselector: C = "false" } = e, { addsortingselector: y = "false" } = e, { filterbylogo: T = "false" } = e, { mbsource: P } = e, { usesinglevendorfilter: S = "false" } = e, x = !1, F = window.navigator.userAgent, p = [], c = [], A = {}, M = !1, W = 0, G = !0, _, N = !1, D;
439
439
  Ae({ withLocale: "en", translations: {} });
440
- const T = () => {
440
+ const E = () => {
441
441
  fetch(v).then((d) => d.json()).then((d) => {
442
442
  Object.keys(d).forEach((f) => {
443
443
  se(f, d[f]);
@@ -451,14 +451,14 @@ function ze(r, e, l) {
451
451
  }), A[u] && (A = { [u]: [] });
452
452
  const H = () => {
453
453
  l(4, x = !x), window.postMessage({ type: "FilterOpened" }, window.location.href);
454
- }, U = (t) => (l(9, G = !0), new Promise((d, f) => {
454
+ }, K = (t) => (l(9, G = !0), new Promise((d, f) => {
455
455
  fetch(t).then((h) => h.json()).then((h) => {
456
456
  h = h.items, d(h.items), l(6, c = []);
457
457
  let le = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
458
458
  const ge = S === "true" ? "*" : u;
459
459
  h.forEach(($) => {
460
460
  le || (le = { currentCategoryId: [] }), le[ge]?.indexOf($.id) >= 0 ? ($.isFilterSelected = !0, c.push($)) : $.isFilterSelected = !1;
461
- }), l(5, p = h), R();
461
+ }), l(5, p = h), U();
462
462
  }).catch((h) => {
463
463
  console.error(h), l(10, N = !0), f(h);
464
464
  }).finally(() => {
@@ -470,47 +470,47 @@ function ze(r, e, l) {
470
470
  const f = S === "true" ? "*" : u;
471
471
  d == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(A = {
472
472
  [f]: c.map((h) => h.id)
473
- })) : (d = JSON.parse(d), d[f] = c.map((h) => h.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(d))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), R();
474
- }, R = () => {
473
+ })) : (d = JSON.parse(d), d[f] = c.map((h) => h.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(d))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), U();
474
+ }, U = () => {
475
475
  l(7, M = c.length === p.length || c.length == 0), l(8, W = c.length);
476
- }, Z = () => {
476
+ }, R = () => {
477
477
  if (p.length && S === "true")
478
478
  return;
479
479
  const t = new URL(`${a}/v1/casino/vendors`);
480
- l(4, x = !1), t.searchParams.append("fields", "id,name,logo,subVendors,games"), t.searchParams.append("language", m), t.searchParams.append("datasource", s), t.searchParams.append("platform", _e(F)), S === "true" || ((u.match(/\$/g) || []).length > 1 ? (t.searchParams.append("filter", `games(subGroups=${u})`), t.searchParams.append("subVendors", `games(subGroups=${u})`)) : t.searchParams.append("filter", `games(groups=${u})`)), U(t);
481
- }, K = () => {
480
+ l(4, x = !1), t.searchParams.append("fields", "id,name,logo,subVendors,games"), t.searchParams.append("language", m), t.searchParams.append("datasource", s), t.searchParams.append("platform", _e(F)), S === "true" || ((u.match(/\$/g) || []).length > 1 ? (t.searchParams.append("filter", `games(subGroups=${u})`), t.searchParams.append("subVendors", `games(subGroups=${u})`)) : t.searchParams.append("filter", `games(groups=${u})`)), K(t);
481
+ }, Z = () => {
482
482
  l(6, c = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(A = {
483
483
  [S === "true" ? "*" : u]: c.map((t) => t.id)
484
484
  })), p.forEach((t) => t.isFilterSelected = !1), l(5, p), window.postMessage({ type: "ApplyFilters" }, window.location.href), l(7, M = !0), l(4, x = !1);
485
- }, Q = (t) => {
485
+ }, X = (t) => {
486
486
  t.data.type == "SortingOpened" && l(4, x = !1);
487
487
  };
488
- we(() => (window.addEventListener("message", Q, !1), () => {
489
- window.emMessageBus != null && D && D.unsubscribe(), window.removeEventListener("message", Q);
488
+ we(() => (window.addEventListener("message", X, !1), () => {
489
+ window.emMessageBus != null && D && D.unsubscribe(), window.removeEventListener("message", X);
490
490
  }));
491
- const X = () => H();
492
- function Y(t, d) {
491
+ const Y = () => H();
492
+ function Q(t, d) {
493
493
  t[d].isFilterSelected = this.checked, l(5, p);
494
494
  }
495
- const I = (t) => J(t), j = () => K();
495
+ const I = (t) => J(t), j = () => Z();
496
496
  function k(t) {
497
497
  ke[t ? "unshift" : "push"](() => {
498
498
  _ = t, l(3, _);
499
499
  });
500
500
  }
501
501
  return r.$$set = (t) => {
502
- "endpoint" in t && l(15, a = t.endpoint), "datasource" in t && l(16, s = t.datasource), "lang" in t && l(17, m = t.lang), "translationurl" in t && l(18, v = t.translationurl), "clientstyling" in t && l(19, w = t.clientstyling), "clientstylingurl" in t && l(20, b = t.clientstylingurl), "categoryid" in t && l(21, u = t.categoryid), "addfilterselector" in t && l(0, C = t.addfilterselector), "addsortingselector" in t && l(1, y = t.addsortingselector), "filterbylogo" in t && l(2, O = t.filterbylogo), "mbsource" in t && l(22, P = t.mbsource), "usesinglevendorfilter" in t && l(23, S = t.usesinglevendorfilter);
502
+ "endpoint" in t && l(15, a = t.endpoint), "datasource" in t && l(16, s = t.datasource), "lang" in t && l(17, m = t.lang), "translationurl" in t && l(18, v = t.translationurl), "clientstyling" in t && l(19, w = t.clientstyling), "clientstylingurl" in t && l(20, b = t.clientstylingurl), "categoryid" in t && l(21, u = t.categoryid), "addfilterselector" in t && l(0, C = t.addfilterselector), "addsortingselector" in t && l(1, y = t.addsortingselector), "filterbylogo" in t && l(2, T = t.filterbylogo), "mbsource" in t && l(22, P = t.mbsource), "usesinglevendorfilter" in t && l(23, S = t.usesinglevendorfilter);
503
503
  }, r.$$.update = () => {
504
504
  r.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
505
- 2195460 && a && s && u && O && Z(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
505
+ 2195460 && a && s && u && T && R(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
506
506
  524296 && w && _ && xe(_, w), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
507
507
  1048584 && b && _ && Se(_, b), r.$$.dirty[0] & /*mbsource, customStylingContainer, styleSubscription*/
508
508
  20971528 && P && _ && l(24, D = Ie(_, `${P}.Style`, D, !0)), r.$$.dirty[0] & /*translationurl*/
509
- 262144 && v && T();
509
+ 262144 && v && E();
510
510
  }, [
511
511
  C,
512
512
  y,
513
- O,
513
+ T,
514
514
  _,
515
515
  x,
516
516
  p,
@@ -522,7 +522,7 @@ function ze(r, e, l) {
522
522
  i,
523
523
  H,
524
524
  J,
525
- K,
525
+ Z,
526
526
  a,
527
527
  s,
528
528
  m,
@@ -533,8 +533,8 @@ function ze(r, e, l) {
533
533
  P,
534
534
  S,
535
535
  D,
536
- X,
537
536
  Y,
537
+ Q,
538
538
  I,
539
539
  j,
540
540
  k
@@ -562,7 +562,7 @@ class Ve extends he {
562
562
  mbsource: 22,
563
563
  usesinglevendorfilter: 23
564
564
  },
565
- Ee,
565
+ Oe,
566
566
  [-1, -1]
567
567
  );
568
568
  }
@@ -1,5 +1,5 @@
1
- import { $ as ie, I as me, a as he, S as Fe, i as be, s as ye, f as L, b as ve, n as ae, d as z, c as V, e as g, h as we, j as _e, t as ke, k as Ce, g as n, w as ne, A as xe, T as ge, u as q, m as o, B as te, C as ee, q as E, v as B, Y as oe, R as se, D as Se, E as Ie, F as Le, G as Pe, H as Ae } from "./CasinoPage-nKYoHhhQ.js";
2
- function Ee({ withLocale: r, translations: e }) {
1
+ import { b as ie, $ as me, c as he, S as Fe, w as be, G as ye, r as L, e as ve, A as ae, n as z, x as V, o as g, i as we, D as _e, s as ke, g as Ce, f as n, q as ne, m as xe, F as ge, M as q, d as o, z as te, T as ee, P as O, U as B, N as oe, Q as se, I as Se, J as Ie, K as Le, j as Pe, a as Ae } from "./CasinoPage-mjm62-7D.js";
2
+ function Oe({ withLocale: r, translations: e }) {
3
3
  ie.subscribe((l) => {
4
4
  l == null && (me.set(e), ie.set(r));
5
5
  });
@@ -117,31 +117,31 @@ const de = {
117
117
  clear: "Clear all"
118
118
  }
119
119
  };
120
- function Oe(r) {
120
+ function Te(r) {
121
121
  ve(r, "svelte-14m0j7n", ':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:17}.FilterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid var(--emw--color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emw--color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between;overflow:hidden}.FilterLabel .FilterItemLabel span.VendorName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}');
122
122
  }
123
123
  function fe(r, e, l) {
124
124
  const i = r.slice();
125
125
  return i[37] = e[l], i[38] = e, i[39] = l, i;
126
126
  }
127
- function Te(r) {
127
+ function Ee(r) {
128
128
  let e, l, i, a, s, m, v, w, b = (
129
129
  /*$_*/
130
130
  r[11]("filterby") + ""
131
- ), u, C, y, O, P = (
131
+ ), u, C, y, T, P = (
132
132
  /*$_*/
133
133
  r[11]("providers") + ""
134
- ), S, x, F, p, c, A, M, W, G, _, N, D, T, H = (
134
+ ), S, x, F, p, c, A, M, W, G, _, N, D, E, H = (
135
135
  /*$_*/
136
136
  r[11]("clear") + ""
137
- ), U, J, R, Z, K, Q;
138
- function X(t, d) {
137
+ ), K, J, U, R, Z, X;
138
+ function Y(t, d) {
139
139
  return (
140
140
  /*fullSelection*/
141
141
  t[7] ? Ne : Me
142
142
  );
143
143
  }
144
- let Y = X(r), I = Y(r), j = ne(
144
+ let Q = Y(r), I = Q(r), j = ne(
145
145
  /*vendorArray*/
146
146
  r[5]
147
147
  ), k = [];
@@ -149,24 +149,24 @@ function Te(r) {
149
149
  k[t] = ue(fe(r, j, t));
150
150
  return {
151
151
  c() {
152
- e = g("div"), l = g("div"), i = g("div"), a = ee("svg"), s = ee("path"), m = E(), v = g("div"), w = g("span"), u = B(b), C = E(), y = g("div"), O = g("span"), S = B(P), x = E(), I.c(), F = E(), p = g("span"), c = ee("svg"), A = ee("path"), G = E(), _ = g("div"), N = g("ul");
152
+ e = g("div"), l = g("div"), i = g("div"), a = ee("svg"), s = ee("path"), m = O(), v = g("div"), w = g("span"), u = B(b), C = O(), y = g("div"), T = g("span"), S = B(P), x = O(), I.c(), F = O(), p = g("span"), c = ee("svg"), A = ee("path"), G = O(), _ = g("div"), N = g("ul");
153
153
  for (let t = 0; t < k.length; t += 1)
154
154
  k[t].c();
155
- D = E(), T = g("button"), U = B(H), n(s, "id", "noun_filter_736223"), n(s, "d", "M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"), n(s, "transform", "translate(-5 -6.2)"), n(s, "fill", "#fff"), n(a, "xmlns", "http://www.w3.org/2000/svg"), n(a, "width", "16"), n(a, "height", "16"), n(a, "viewBox", "0 0 16 16"), n(w, "class", "FilterName"), n(y, "class", "FilterValueContainer"), n(v, "class", "FilterTextContainer"), n(i, "class", "FilterMainArea"), n(A, "id", "arrow"), n(A, "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"), n(A, "transform", "translate(-274.511 -441.088)"), n(A, "fill", "#d1d1d1"), n(c, "xmlns", "http://www.w3.org/2000/svg"), n(c, "width", "14"), n(c, "height", "6.835"), n(c, "viewBox", "0 0 14 6.835"), n(p, "class", M = "TriangleInactive " + /*isFilterActive*/
155
+ D = O(), E = g("button"), K = B(H), n(s, "id", "noun_filter_736223"), n(s, "d", "M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"), n(s, "transform", "translate(-5 -6.2)"), n(s, "fill", "#fff"), n(a, "xmlns", "http://www.w3.org/2000/svg"), n(a, "width", "16"), n(a, "height", "16"), n(a, "viewBox", "0 0 16 16"), n(w, "class", "FilterName"), n(y, "class", "FilterValueContainer"), n(v, "class", "FilterTextContainer"), n(i, "class", "FilterMainArea"), n(A, "id", "arrow"), n(A, "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"), n(A, "transform", "translate(-274.511 -441.088)"), n(A, "fill", "#d1d1d1"), n(c, "xmlns", "http://www.w3.org/2000/svg"), n(c, "width", "14"), n(c, "height", "6.835"), n(c, "viewBox", "0 0 14 6.835"), n(p, "class", M = "TriangleInactive " + /*isFilterActive*/
156
156
  (r[4] ? "TriangleActive" : "")), n(l, "class", W = "FilterSelector " + /*isFilterActive*/
157
- (r[4] ? "FilterSelectorOpen" : "")), n(N, "class", "FilterDropdown"), n(T, "class", "ClearFilters"), T.disabled = J = /*fullSelection*/
157
+ (r[4] ? "FilterSelectorOpen" : "")), n(N, "class", "FilterDropdown"), n(E, "class", "ClearFilters"), E.disabled = J = /*fullSelection*/
158
158
  r[7] && /*selectedVendorArray*/
159
159
  r[6].length != /*vendorArray*/
160
- r[5].length, n(_, "class", R = "FilterDropdownContainer " + /*isFilterActive*/
161
- (r[4] ? "FilterOpen" : "")), n(e, "class", Z = "FilterContainer " + /*addfilterselector*/
160
+ r[5].length, n(_, "class", U = "FilterDropdownContainer " + /*isFilterActive*/
161
+ (r[4] ? "FilterOpen" : "")), n(e, "class", R = "FilterContainer " + /*addfilterselector*/
162
162
  (r[0] == "true" && /*addsortingselector*/
163
163
  r[1] == "true" ? "FilerContainerSplit" : ""));
164
164
  },
165
165
  m(t, d) {
166
- V(t, e, d), o(e, l), o(l, i), o(i, a), o(a, s), o(i, m), o(i, v), o(v, w), o(w, u), o(v, C), o(v, y), o(y, O), o(O, S), o(y, x), I.m(y, null), o(l, F), o(l, p), o(p, c), o(c, A), o(e, G), o(e, _), o(_, N);
166
+ V(t, e, d), o(e, l), o(l, i), o(i, a), o(a, s), o(i, m), o(i, v), o(v, w), o(w, u), o(v, C), o(v, y), o(y, T), o(T, S), o(y, x), I.m(y, null), o(l, F), o(l, p), o(p, c), o(c, A), o(e, G), o(e, _), o(_, N);
167
167
  for (let f = 0; f < k.length; f += 1)
168
168
  k[f] && k[f].m(N, null);
169
- o(_, D), o(_, T), o(T, U), K || (Q = [
169
+ o(_, D), o(_, E), o(E, K), Z || (X = [
170
170
  te(
171
171
  l,
172
172
  "click",
@@ -174,19 +174,19 @@ function Te(r) {
174
174
  r[25]
175
175
  ),
176
176
  te(
177
- T,
177
+ E,
178
178
  "click",
179
179
  /*click_handler_2*/
180
180
  r[28]
181
181
  )
182
- ], K = !0);
182
+ ], Z = !0);
183
183
  },
184
184
  p(t, d) {
185
185
  if (d[0] & /*$_*/
186
186
  2048 && b !== (b = /*$_*/
187
187
  t[11]("filterby") + "") && q(u, b), d[0] & /*$_*/
188
188
  2048 && P !== (P = /*$_*/
189
- t[11]("providers") + "") && q(S, P), Y === (Y = X(t)) && I ? I.p(t, d) : (I.d(1), I = Y(t), I && (I.c(), I.m(y, null))), d[0] & /*isFilterActive*/
189
+ t[11]("providers") + "") && q(S, P), Q === (Q = Y(t)) && I ? I.p(t, d) : (I.d(1), I = Q(t), I && (I.c(), I.m(y, null))), d[0] & /*isFilterActive*/
190
190
  16 && M !== (M = "TriangleInactive " + /*isFilterActive*/
191
191
  (t[4] ? "TriangleActive" : "")) && n(p, "class", M), d[0] & /*isFilterActive*/
192
192
  16 && W !== (W = "FilterSelector " + /*isFilterActive*/
@@ -207,19 +207,19 @@ function Te(r) {
207
207
  }
208
208
  d[0] & /*$_*/
209
209
  2048 && H !== (H = /*$_*/
210
- t[11]("clear") + "") && q(U, H), d[0] & /*fullSelection, selectedVendorArray, vendorArray*/
210
+ t[11]("clear") + "") && q(K, H), d[0] & /*fullSelection, selectedVendorArray, vendorArray*/
211
211
  224 && J !== (J = /*fullSelection*/
212
212
  t[7] && /*selectedVendorArray*/
213
213
  t[6].length != /*vendorArray*/
214
- t[5].length) && (T.disabled = J), d[0] & /*isFilterActive*/
215
- 16 && R !== (R = "FilterDropdownContainer " + /*isFilterActive*/
216
- (t[4] ? "FilterOpen" : "")) && n(_, "class", R), d[0] & /*addfilterselector, addsortingselector*/
217
- 3 && Z !== (Z = "FilterContainer " + /*addfilterselector*/
214
+ t[5].length) && (E.disabled = J), d[0] & /*isFilterActive*/
215
+ 16 && U !== (U = "FilterDropdownContainer " + /*isFilterActive*/
216
+ (t[4] ? "FilterOpen" : "")) && n(_, "class", U), d[0] & /*addfilterselector, addsortingselector*/
217
+ 3 && R !== (R = "FilterContainer " + /*addfilterselector*/
218
218
  (t[0] == "true" && /*addsortingselector*/
219
- t[1] == "true" ? "FilerContainerSplit" : "")) && n(e, "class", Z);
219
+ t[1] == "true" ? "FilerContainerSplit" : "")) && n(e, "class", R);
220
220
  },
221
221
  d(t) {
222
- t && z(e), I.d(), xe(k, t), K = !1, ge(Q);
222
+ t && z(e), I.d(), xe(k, t), Z = !1, ge(X);
223
223
  }
224
224
  };
225
225
  }
@@ -322,7 +322,7 @@ function je(r) {
322
322
  ), b, u;
323
323
  return {
324
324
  c() {
325
- e = g("div"), l = g("span"), a = B(i), s = E(), m = g("span"), v = B("("), b = B(w), u = B(")"), n(l, "class", "VendorName"), n(e, "class", "FilterItemLabel");
325
+ e = g("div"), l = g("span"), a = B(i), s = O(), m = g("span"), v = B("("), b = B(w), u = B(")"), n(l, "class", "VendorName"), n(e, "class", "FilterItemLabel");
326
326
  },
327
327
  m(C, y) {
328
328
  V(C, e, y), o(e, l), o(l, a), o(e, s), o(e, m), o(m, v), o(m, b), o(m, u);
@@ -341,7 +341,7 @@ function je(r) {
341
341
  }
342
342
  function ue(r) {
343
343
  let e, l, i, a, s, m, v, w, b, u, C, y;
344
- function O() {
344
+ function T() {
345
345
  r[26].call(
346
346
  i,
347
347
  /*each_value*/
@@ -374,7 +374,7 @@ function ue(r) {
374
374
  let x = S(r), F = x && x(r);
375
375
  return {
376
376
  c() {
377
- e = g("li"), l = g("label"), i = g("input"), s = E(), m = g("span"), v = E(), F && F.c(), w = E(), n(i, "type", "checkbox"), n(i, "name", "checkbox"), i.__value = a = /*vendor*/
377
+ e = g("li"), l = g("label"), i = g("input"), s = O(), m = g("span"), v = O(), F && F.c(), w = O(), n(i, "type", "checkbox"), n(i, "name", "checkbox"), i.__value = a = /*vendor*/
378
378
  r[37].name, oe(i, i.__value), n(m, "class", "FiltersCheckmark"), n(l, "class", "FilterLabel"), n(e, "class", b = "FilterItem " + /*filterbylogo*/
379
379
  (r[2] === "true" ? "FilterItemWithLogos" : "")), e.value = u = /*vendor*/
380
380
  r[37].name;
@@ -382,7 +382,7 @@ function ue(r) {
382
382
  m(p, c) {
383
383
  V(p, e, c), o(e, l), o(l, i), i.checked = /*vendor*/
384
384
  r[37].isFilterSelected, o(l, s), o(l, m), o(l, v), F && F.m(l, null), o(e, w), C || (y = [
385
- te(i, "change", O),
385
+ te(i, "change", T),
386
386
  te(i, "click", P)
387
387
  ], C = !0);
388
388
  },
@@ -412,7 +412,7 @@ function ze(r) {
412
412
  return Be;
413
413
  if (!/*isLoading*/
414
414
  s[9])
415
- return Te;
415
+ return Ee;
416
416
  }
417
417
  let i = l(r), a = i && i(r);
418
418
  return {
@@ -435,9 +435,9 @@ function ze(r) {
435
435
  function Ve(r, e, l) {
436
436
  let i;
437
437
  we(r, Ae, (t) => l(11, i = t));
438
- let { endpoint: a = "" } = e, { datasource: s = "" } = e, { lang: m = "" } = e, { translationurl: v = "" } = e, { clientstyling: w = "" } = e, { clientstylingurl: b = "" } = e, { categoryid: u = "" } = e, { addfilterselector: C = "false" } = e, { addsortingselector: y = "false" } = e, { filterbylogo: O = "false" } = e, { mbsource: P } = e, { usesinglevendorfilter: S = "false" } = e, x = !1, F = window.navigator.userAgent, p = [], c = [], A = {}, M = !1, W = 0, G = !0, _, N = !1, D;
439
- Ee({ withLocale: "en", translations: {} });
440
- const T = () => {
438
+ let { endpoint: a = "" } = e, { datasource: s = "" } = e, { lang: m = "" } = e, { translationurl: v = "" } = e, { clientstyling: w = "" } = e, { clientstylingurl: b = "" } = e, { categoryid: u = "" } = e, { addfilterselector: C = "false" } = e, { addsortingselector: y = "false" } = e, { filterbylogo: T = "false" } = e, { mbsource: P } = e, { usesinglevendorfilter: S = "false" } = e, x = !1, F = window.navigator.userAgent, p = [], c = [], A = {}, M = !1, W = 0, G = !0, _, N = !1, D;
439
+ Oe({ withLocale: "en", translations: {} });
440
+ const E = () => {
441
441
  fetch(v).then((d) => d.json()).then((d) => {
442
442
  Object.keys(d).forEach((f) => {
443
443
  ce(f, d[f]);
@@ -451,7 +451,7 @@ function Ve(r, e, l) {
451
451
  }), A[u] && (A = { [u]: [] });
452
452
  const H = () => {
453
453
  l(4, x = !x), window.postMessage({ type: "FilterOpened" }, window.location.href);
454
- }, U = (t) => (l(9, G = !0), new Promise((d, f) => {
454
+ }, K = (t) => (l(9, G = !0), new Promise((d, f) => {
455
455
  fetch(t).then((h) => h.json()).then((h) => {
456
456
  h = h.items, d(h.items), l(6, c = []);
457
457
  let le = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
@@ -459,7 +459,7 @@ function Ve(r, e, l) {
459
459
  h.forEach(($) => {
460
460
  var re;
461
461
  le || (le = { currentCategoryId: [] }), ((re = le[pe]) == null ? void 0 : re.indexOf($.id)) >= 0 ? ($.isFilterSelected = !0, c.push($)) : $.isFilterSelected = !1;
462
- }), l(5, p = h), R();
462
+ }), l(5, p = h), U();
463
463
  }).catch((h) => {
464
464
  console.error(h), l(10, N = !0), f(h);
465
465
  }).finally(() => {
@@ -471,47 +471,47 @@ function Ve(r, e, l) {
471
471
  const f = S === "true" ? "*" : u;
472
472
  d == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(A = {
473
473
  [f]: c.map((h) => h.id)
474
- })) : (d = JSON.parse(d), d[f] = c.map((h) => h.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(d))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), R();
475
- }, R = () => {
474
+ })) : (d = JSON.parse(d), d[f] = c.map((h) => h.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(d))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), U();
475
+ }, U = () => {
476
476
  l(7, M = c.length === p.length || c.length == 0), l(8, W = c.length);
477
- }, Z = () => {
477
+ }, R = () => {
478
478
  if (p.length && S === "true")
479
479
  return;
480
480
  const t = new URL(`${a}/v1/casino/vendors`);
481
- l(4, x = !1), t.searchParams.append("fields", "id,name,logo,subVendors,games"), t.searchParams.append("language", m), t.searchParams.append("datasource", s), t.searchParams.append("platform", ke(F)), S === "true" || ((u.match(/\$/g) || []).length > 1 ? (t.searchParams.append("filter", `games(subGroups=${u})`), t.searchParams.append("subVendors", `games(subGroups=${u})`)) : t.searchParams.append("filter", `games(groups=${u})`)), U(t);
482
- }, K = () => {
481
+ l(4, x = !1), t.searchParams.append("fields", "id,name,logo,subVendors,games"), t.searchParams.append("language", m), t.searchParams.append("datasource", s), t.searchParams.append("platform", ke(F)), S === "true" || ((u.match(/\$/g) || []).length > 1 ? (t.searchParams.append("filter", `games(subGroups=${u})`), t.searchParams.append("subVendors", `games(subGroups=${u})`)) : t.searchParams.append("filter", `games(groups=${u})`)), K(t);
482
+ }, Z = () => {
483
483
  l(6, c = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(A = {
484
484
  [S === "true" ? "*" : u]: c.map((t) => t.id)
485
485
  })), p.forEach((t) => t.isFilterSelected = !1), l(5, p), window.postMessage({ type: "ApplyFilters" }, window.location.href), l(7, M = !0), l(4, x = !1);
486
- }, Q = (t) => {
486
+ }, X = (t) => {
487
487
  t.data.type == "SortingOpened" && l(4, x = !1);
488
488
  };
489
- _e(() => (window.addEventListener("message", Q, !1), () => {
490
- window.emMessageBus != null && D && D.unsubscribe(), window.removeEventListener("message", Q);
489
+ _e(() => (window.addEventListener("message", X, !1), () => {
490
+ window.emMessageBus != null && D && D.unsubscribe(), window.removeEventListener("message", X);
491
491
  }));
492
- const X = () => H();
493
- function Y(t, d) {
492
+ const Y = () => H();
493
+ function Q(t, d) {
494
494
  t[d].isFilterSelected = this.checked, l(5, p);
495
495
  }
496
- const I = (t) => J(t), j = () => K();
496
+ const I = (t) => J(t), j = () => Z();
497
497
  function k(t) {
498
498
  Ce[t ? "unshift" : "push"](() => {
499
499
  _ = t, l(3, _);
500
500
  });
501
501
  }
502
502
  return r.$$set = (t) => {
503
- "endpoint" in t && l(15, a = t.endpoint), "datasource" in t && l(16, s = t.datasource), "lang" in t && l(17, m = t.lang), "translationurl" in t && l(18, v = t.translationurl), "clientstyling" in t && l(19, w = t.clientstyling), "clientstylingurl" in t && l(20, b = t.clientstylingurl), "categoryid" in t && l(21, u = t.categoryid), "addfilterselector" in t && l(0, C = t.addfilterselector), "addsortingselector" in t && l(1, y = t.addsortingselector), "filterbylogo" in t && l(2, O = t.filterbylogo), "mbsource" in t && l(22, P = t.mbsource), "usesinglevendorfilter" in t && l(23, S = t.usesinglevendorfilter);
503
+ "endpoint" in t && l(15, a = t.endpoint), "datasource" in t && l(16, s = t.datasource), "lang" in t && l(17, m = t.lang), "translationurl" in t && l(18, v = t.translationurl), "clientstyling" in t && l(19, w = t.clientstyling), "clientstylingurl" in t && l(20, b = t.clientstylingurl), "categoryid" in t && l(21, u = t.categoryid), "addfilterselector" in t && l(0, C = t.addfilterselector), "addsortingselector" in t && l(1, y = t.addsortingselector), "filterbylogo" in t && l(2, T = t.filterbylogo), "mbsource" in t && l(22, P = t.mbsource), "usesinglevendorfilter" in t && l(23, S = t.usesinglevendorfilter);
504
504
  }, r.$$.update = () => {
505
505
  r.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
506
- 2195460 && a && s && u && O && Z(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
506
+ 2195460 && a && s && u && T && R(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
507
507
  524296 && w && _ && Se(_, w), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
508
508
  1048584 && b && _ && Ie(_, b), r.$$.dirty[0] & /*mbsource, customStylingContainer, styleSubscription*/
509
509
  20971528 && P && _ && l(24, D = Le(_, `${P}.Style`, D, !0)), r.$$.dirty[0] & /*translationurl*/
510
- 262144 && v && T();
510
+ 262144 && v && E();
511
511
  }, [
512
512
  C,
513
513
  y,
514
- O,
514
+ T,
515
515
  _,
516
516
  x,
517
517
  p,
@@ -523,7 +523,7 @@ function Ve(r, e, l) {
523
523
  i,
524
524
  H,
525
525
  J,
526
- K,
526
+ Z,
527
527
  a,
528
528
  s,
529
529
  m,
@@ -534,8 +534,8 @@ function Ve(r, e, l) {
534
534
  P,
535
535
  S,
536
536
  D,
537
- X,
538
537
  Y,
538
+ Q,
539
539
  I,
540
540
  j,
541
541
  k
@@ -563,7 +563,7 @@ class We extends Fe {
563
563
  mbsource: 22,
564
564
  usesinglevendorfilter: 23
565
565
  },
566
- Oe,
566
+ Te,
567
567
  [-1, -1]
568
568
  );
569
569
  }