@everymatrix/casino-page 1.56.0 → 1.56.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.
Files changed (71) hide show
  1. package/components/{CasinoCalendar-DwKH1vl3.js → CasinoCalendar-Beb-D9v5.js} +1182 -1157
  2. package/components/{CasinoCalendar-tMtCN0uW.js → CasinoCalendar-qVpbXj-D.js} +931 -906
  3. package/components/CasinoCalendar-zkVoyaEl.cjs +19 -0
  4. package/components/{CasinoCalendarDailyDetails-B1yNq5WP.cjs → CasinoCalendarDailyDetails-C6Lmn7pW.cjs} +1 -1
  5. package/components/{CasinoCalendarDailyDetails-BP_ANGdX.js → CasinoCalendarDailyDetails-C6Shuvfx.js} +48 -48
  6. package/components/{CasinoCalendarDailyDetails-CehhK4Vt.js → CasinoCalendarDailyDetails-CmmQq8VR.js} +48 -48
  7. package/components/{CasinoCalendarDailyItem-DE7Q_O2x.js → CasinoCalendarDailyItem-BLMalLZx.js} +41 -41
  8. package/components/{CasinoCalendarDailyItem-C08Z_td-.cjs → CasinoCalendarDailyItem-D7q0pxAo.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-Cf-elj80.js → CasinoCalendarDailyItem-DlHg6exr.js} +41 -41
  10. package/components/{CasinoCollectionsProviders-Yt2ApEP5.js → CasinoCollectionsProviders-BU9Vdk7f.js} +257 -267
  11. package/components/CasinoCollectionsProviders-CKeIv7Lm.cjs +1 -0
  12. package/components/{CasinoCollectionsProviders-DoRepmON.js → CasinoCollectionsProviders-KxO7bWw9.js} +260 -270
  13. package/components/{CasinoFavoritesSection-M3wz4Hsn.js → CasinoFavoritesSection-BLcFCYkL.js} +30 -30
  14. package/components/{CasinoFavoritesSection-eK-e7FeC.cjs → CasinoFavoritesSection-Bt1qroiI.cjs} +1 -1
  15. package/components/{CasinoFavoritesSection-UtUw8bHl.js → CasinoFavoritesSection-DfWNsUcD.js} +30 -30
  16. package/components/{CasinoFilter-Cb7FySTm.js → CasinoFilter-5P8W2ayY.js} +236 -233
  17. package/components/CasinoFilter-BLgXtVi-.cjs +1 -0
  18. package/components/{CasinoFilter-BbKgy4VX.js → CasinoFilter-EmKNpmwo.js} +247 -242
  19. package/components/{CasinoGameThumbnail-BokqjU_3.js → CasinoGameThumbnail-B-j-s0zl.js} +1288 -1337
  20. package/components/{CasinoGameThumbnail-BZ8OnqL9.js → CasinoGameThumbnail-DLV5eXt3.js} +1233 -1282
  21. package/components/CasinoGameThumbnail-kYpO7OYd.cjs +47 -0
  22. package/components/{CasinoGamesCategorySection-BtYQ_Cmz.cjs → CasinoGamesCategorySection-C7wNGeVf.cjs} +1 -1
  23. package/components/{CasinoGamesCategorySection-mejOW_4O.js → CasinoGamesCategorySection-CGLL37Ll.js} +355 -348
  24. package/components/{CasinoGamesCategorySection-CeuGEQJP.js → CasinoGamesCategorySection-DxdFkiK0.js} +256 -249
  25. package/components/{CasinoJackpotBanner-BaqwOwIt.js → CasinoJackpotBanner-CJWjyexm.js} +81 -81
  26. package/components/{CasinoJackpotBanner-Dnu1YGvy.js → CasinoJackpotBanner-DquJdUya.js} +88 -88
  27. package/components/{CasinoJackpotBanner-DZZsX8IW.cjs → CasinoJackpotBanner-o_Mbn9dc.cjs} +1 -1
  28. package/components/{CasinoLastPlayedSection-BSbuszLI.js → CasinoLastPlayedSection-C1fXqsNf.js} +35 -35
  29. package/components/{CasinoLastPlayedSection-1vrPgQaO.cjs → CasinoLastPlayedSection-D3rQ6OIZ.cjs} +1 -1
  30. package/components/{CasinoLastPlayedSection-D1gqQwzF.js → CasinoLastPlayedSection-Mwvag7Ds.js} +35 -35
  31. package/components/{CasinoMostPlayedSection-CgUwp5nt.js → CasinoMostPlayedSection-BjERkNCF.js} +46 -46
  32. package/components/{CasinoMostPlayedSection-DtSDqrXG.cjs → CasinoMostPlayedSection-CbOy3yAA.cjs} +1 -1
  33. package/components/{CasinoMostPlayedSection-jWqnrmjv.js → CasinoMostPlayedSection-T3x41wRX.js} +46 -46
  34. package/components/{CasinoMyGames-BRGZxXY6.js → CasinoMyGames-5bW8Sgi5.js} +51 -47
  35. package/components/{CasinoMyGames-CPWV0sSu.cjs → CasinoMyGames-C_M_zFT2.cjs} +1 -1
  36. package/components/{CasinoMyGames-DrnKvqrj.js → CasinoMyGames-DCFnCBZ5.js} +53 -49
  37. package/components/{CasinoPage-CP0TDj2s.js → CasinoPage-AJMpJvaQ.js} +120 -116
  38. package/components/{CasinoPage-BxqUNSyB.cjs → CasinoPage-DMaRihI_.cjs} +1 -1
  39. package/components/{CasinoPage-oah0JVVU.js → CasinoPage-YB6CY7ON.js} +122 -118
  40. package/components/{CasinoRandomGame-D9BEuIS2.js → CasinoRandomGame-B9Eg9Cv4.js} +77 -75
  41. package/components/{CasinoRandomGame-B2FGgsW1.cjs → CasinoRandomGame-CUHxVoyq.cjs} +1 -1
  42. package/components/{CasinoRandomGame-T1GVZYOt.js → CasinoRandomGame-DR6TctHg.js} +78 -76
  43. package/components/{CasinoSearch-BX1qMF6U.js → CasinoSearch-Bjfocy3y.js} +93 -90
  44. package/components/{CasinoSearch-Cfj0uLun.js → CasinoSearch-Bx4-nMU3.js} +91 -88
  45. package/components/{CasinoSearch-DvRie_tr.cjs → CasinoSearch-CpBhzpsK.cjs} +1 -1
  46. package/components/{CasinoSort-BmkqSaqQ.cjs → CasinoSort-5x4S3mG_.cjs} +1 -1
  47. package/components/{CasinoSort-DykEVPy1.js → CasinoSort-BygFei5r.js} +103 -103
  48. package/components/{CasinoSort-BwNRVsYT.js → CasinoSort-DvLkFtIz.js} +111 -109
  49. package/components/{CasinoWinners-Dn6mLcJT.js → CasinoWinners-BZEiqOuZ.js} +162 -160
  50. package/components/{CasinoWinners-4fX-Jkcx.cjs → CasinoWinners-DbQvZp-o.cjs} +1 -1
  51. package/components/{CasinoWinners-DbNw8Ecj.js → CasinoWinners-tsFI0Qkd.js} +160 -158
  52. package/components/{GeneralAnimationLoading-D4L1aOk8.cjs → GeneralAnimationLoading-BFfW6U-2.cjs} +1 -1
  53. package/components/{GeneralAnimationLoading-C3AulHDZ.js → GeneralAnimationLoading-Bfdh1dfh.js} +16 -16
  54. package/components/{GeneralAnimationLoading-CKfD84TR.js → GeneralAnimationLoading-g0jjajHE.js} +16 -16
  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/stencil/{casino-play-random-game-CBXhEsCq.js → casino-play-random-game-B9yaAMOE.js} +6 -6
  60. package/stencil/{casino-play-random-game-PZXnDzfs.js → casino-play-random-game-BTXyM5es.js} +7 -7
  61. package/stencil/{casino-play-random-game-y8flXwPv.cjs → casino-play-random-game-a53bUW_d.cjs} +2 -2
  62. package/stencil/index-510a6ba4-B9_VY7vu.cjs +1 -0
  63. package/stencil/index-510a6ba4-CYFuKFRQ.js +564 -0
  64. package/stencil/index-510a6ba4-CzpWs0jf.js +548 -0
  65. package/components/CasinoCalendar-BUWW4Xzj.cjs +0 -6
  66. package/components/CasinoCollectionsProviders-C0mIOrt5.cjs +0 -1
  67. package/components/CasinoFilter-BYz1zKUs.cjs +0 -1
  68. package/components/CasinoGameThumbnail-10TTv4CH.cjs +0 -47
  69. package/stencil/index-29915e18-B3XYTzEC.cjs +0 -1
  70. package/stencil/index-29915e18-CQ_kWzEh.js +0 -630
  71. package/stencil/index-29915e18-MPiqo7vY.js +0 -646
@@ -1,13 +1,13 @@
1
- import { $ as te, R as pe, a as fe, S as ge, i as ue, s as me, f as L, b as he, n as le, d as z, h as B, j as m, k as Fe, o as be, U as ye, C as ve, m as j, p as s, q as T, r as o, v as re, w as we, P as de, A as ee, E as $, B as O, V as ie, D as ae, I as _e, J as Ce, K as ke, L as xe, M as Se } from "./CasinoCalendar-tMtCN0uW.js";
2
- function Ie({ withLocale: l, translations: e }) {
3
- te.subscribe((t) => {
4
- t == null && (pe.set(e), te.set(l));
1
+ import { $ as re, P as ue, a as ge, S as me, i as he, f as I, c as Fe, s as be, b as ye, e as m, d as B, G as ie, j as V, k as ve, o as we, l as _e, R as Ce, q as ke, r as xe, m as Se, v as ae, J as ee, w as D, x as T, y as o, z as s, A as te, E as j, F as Ie, N as fe, T as ne, I as Le, H as oe } from "./CasinoCalendar-Beb-D9v5.js";
2
+ function Pe({ withLocale: r, translations: e }) {
3
+ re.subscribe((t) => {
4
+ t == null && (ue.set(e), re.set(r));
5
5
  });
6
6
  }
7
- function ne(l, e) {
8
- fe(l, e);
7
+ function se(r, e) {
8
+ ge(r, e);
9
9
  }
10
- const oe = {
10
+ const ce = {
11
11
  en: {
12
12
  providers: "Providers:",
13
13
  filterby: "Filter by:",
@@ -117,116 +117,116 @@ const oe = {
117
117
  clear: "Clear all"
118
118
  }
119
119
  };
120
- function Le(l) {
121
- he(l, "svelte-1v7rv6n", ':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;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, #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%}}');
120
+ function Ae(r) {
121
+ ye(r, "svelte-1v7rv6n", ':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;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, #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%}}');
122
122
  }
123
- function se(l, e, t) {
124
- const i = l.slice();
123
+ function de(r, e, t) {
124
+ const i = r.slice();
125
125
  return i[36] = e[t], i[37] = e, i[38] = t, i;
126
126
  }
127
- function Pe(l) {
128
- let e, t, i, a, c, h, w, _, y = (
127
+ function Oe(r) {
128
+ let e, t, i, a, c, h, v, w, b = (
129
129
  /*$_*/
130
- l[11]("filterby") + ""
131
- ), f, C, v, N, P = (
130
+ r[11]("filterby") + ""
131
+ ), u, _, y, N, L = (
132
132
  /*$_*/
133
- l[11]("providers") + ""
134
- ), k, I, u, p, F, A, V, M, x, D, W, K, E, J = (
133
+ r[11]("providers") + ""
134
+ ), C, S, g, d, F, P, W, E, k, A, M, Q, O, R = (
135
135
  /*$_*/
136
- l[11]("clear") + ""
137
- ), q, Z, H, R, Q, X;
138
- function Y(n, g) {
136
+ r[11]("clear") + ""
137
+ ), q, J, G, H, U, X;
138
+ function Y(n, f) {
139
139
  return (
140
140
  /*fullSelection*/
141
- n[7] ? Oe : De
141
+ n[7] ? Ne : Te
142
142
  );
143
143
  }
144
- let G = Y(l), S = G(l), r = re(
144
+ let Z = Y(r), x = Z(r), z = ae(
145
145
  /*vendorArray*/
146
- l[5]
147
- ), d = [];
148
- for (let n = 0; n < r.length; n += 1)
149
- d[n] = ce(se(l, r, n));
146
+ r[5]
147
+ ), l = [];
148
+ for (let n = 0; n < z.length; n += 1)
149
+ l[n] = pe(de(r, z, n));
150
150
  return {
151
151
  c() {
152
- e = m("div"), t = m("div"), i = m("div"), a = $("svg"), c = $("path"), h = O(), w = m("div"), _ = m("span"), f = T(y), C = O(), v = m("div"), N = m("span"), k = T(P), I = O(), S.c(), u = O(), p = m("span"), F = $("svg"), A = $("path"), x = O(), D = m("div"), W = m("ul");
153
- for (let n = 0; n < d.length; n += 1)
154
- d[n].c();
155
- K = O(), E = m("button"), q = T(J), o(c, "id", "noun_filter_736223"), o(c, "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"), o(c, "transform", "translate(-5 -6.2)"), o(c, "fill", "#fff"), o(a, "xmlns", "http://www.w3.org/2000/svg"), o(a, "width", "16"), o(a, "height", "16"), o(a, "viewBox", "0 0 16 16"), o(_, "class", "FilterName"), o(v, "class", "FilterValueContainer"), o(w, "class", "FilterTextContainer"), o(i, "class", "FilterMainArea"), o(A, "id", "arrow"), o(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"), o(A, "transform", "translate(-274.511 -441.088)"), o(A, "fill", "#d1d1d1"), o(F, "xmlns", "http://www.w3.org/2000/svg"), o(F, "width", "14"), o(F, "height", "6.835"), o(F, "viewBox", "0 0 14 6.835"), o(p, "class", V = "TriangleInactive " + /*isFilterActive*/
156
- (l[4] ? "TriangleActive" : "")), o(t, "class", M = "FilterSelector " + /*isFilterActive*/
157
- (l[4] ? "FilterSelectorOpen" : "")), o(W, "class", "FilterDropdown"), o(E, "class", "ClearFilters"), E.disabled = Z = /*fullSelection*/
158
- l[7] && /*selectedVendorArray*/
159
- l[6].length != /*vendorArray*/
160
- l[5].length, o(D, "class", H = "FilterDropdownContainer " + /*isFilterActive*/
161
- (l[4] ? "FilterOpen" : "")), o(e, "class", R = "FilterContainer " + /*addfilterselector*/
162
- (l[0] == "true" && /*addsortingselector*/
163
- l[1] == "true" ? "FilerContainerSplit" : ""));
152
+ e = m("div"), t = m("div"), i = m("div"), a = ee("svg"), c = ee("path"), h = D(), v = m("div"), w = m("span"), u = T(b), _ = D(), y = m("div"), N = m("span"), C = T(L), S = D(), x.c(), g = D(), d = m("span"), F = ee("svg"), P = ee("path"), k = D(), A = m("div"), M = m("ul");
153
+ for (let n = 0; n < l.length; n += 1)
154
+ l[n].c();
155
+ Q = D(), O = m("button"), q = T(R), o(c, "id", "noun_filter_736223"), o(c, "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"), o(c, "transform", "translate(-5 -6.2)"), o(c, "fill", "#fff"), o(a, "xmlns", "http://www.w3.org/2000/svg"), o(a, "width", "16"), o(a, "height", "16"), o(a, "viewBox", "0 0 16 16"), o(w, "class", "FilterName"), o(y, "class", "FilterValueContainer"), o(v, "class", "FilterTextContainer"), o(i, "class", "FilterMainArea"), o(P, "id", "arrow"), o(P, "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"), o(P, "transform", "translate(-274.511 -441.088)"), o(P, "fill", "#d1d1d1"), o(F, "xmlns", "http://www.w3.org/2000/svg"), o(F, "width", "14"), o(F, "height", "6.835"), o(F, "viewBox", "0 0 14 6.835"), o(d, "class", W = "TriangleInactive " + /*isFilterActive*/
156
+ (r[4] ? "TriangleActive" : "")), o(t, "class", E = "FilterSelector " + /*isFilterActive*/
157
+ (r[4] ? "FilterSelectorOpen" : "")), o(M, "class", "FilterDropdown"), o(O, "class", "ClearFilters"), O.disabled = J = /*fullSelection*/
158
+ r[7] && /*selectedVendorArray*/
159
+ r[6].length != /*vendorArray*/
160
+ r[5].length, o(A, "class", G = "FilterDropdownContainer " + /*isFilterActive*/
161
+ (r[4] ? "FilterOpen" : "")), o(e, "class", H = "FilterContainer " + /*addfilterselector*/
162
+ (r[0] == "true" && /*addsortingselector*/
163
+ r[1] == "true" ? "FilerContainerSplit" : ""));
164
164
  },
165
- m(n, g) {
166
- B(n, e, g), s(e, t), s(t, i), s(i, a), s(a, c), s(i, h), s(i, w), s(w, _), s(_, f), s(w, C), s(w, v), s(v, N), s(N, k), s(v, I), S.m(v, null), s(t, u), s(t, p), s(p, F), s(F, A), s(e, x), s(e, D), s(D, W);
167
- for (let b = 0; b < d.length; b += 1)
168
- d[b] && d[b].m(W, null);
169
- s(D, K), s(D, E), s(E, q), Q || (X = [
170
- ee(
165
+ m(n, f) {
166
+ B(n, e, f), s(e, t), s(t, i), s(i, a), s(a, c), s(i, h), s(i, v), s(v, w), s(w, u), s(v, _), s(v, y), s(y, N), s(N, C), s(y, S), x.m(y, null), s(t, g), s(t, d), s(d, F), s(F, P), s(e, k), s(e, A), s(A, M);
167
+ for (let p = 0; p < l.length; p += 1)
168
+ l[p] && l[p].m(M, null);
169
+ s(A, Q), s(A, O), s(O, q), U || (X = [
170
+ te(
171
171
  t,
172
172
  "click",
173
173
  /*click_handler*/
174
- l[23]
174
+ r[23]
175
175
  ),
176
- ee(
177
- E,
176
+ te(
177
+ O,
178
178
  "click",
179
179
  /*click_handler_2*/
180
- l[26]
180
+ r[26]
181
181
  )
182
- ], Q = !0);
182
+ ], U = !0);
183
183
  },
184
- p(n, g) {
185
- if (g[0] & /*$_*/
186
- 2048 && y !== (y = /*$_*/
187
- n[11]("filterby") + "") && j(f, y), g[0] & /*$_*/
188
- 2048 && P !== (P = /*$_*/
189
- n[11]("providers") + "") && j(k, P), G === (G = Y(n)) && S ? S.p(n, g) : (S.d(1), S = G(n), S && (S.c(), S.m(v, null))), g[0] & /*isFilterActive*/
190
- 16 && V !== (V = "TriangleInactive " + /*isFilterActive*/
191
- (n[4] ? "TriangleActive" : "")) && o(p, "class", V), g[0] & /*isFilterActive*/
192
- 16 && M !== (M = "FilterSelector " + /*isFilterActive*/
193
- (n[4] ? "FilterSelectorOpen" : "")) && o(t, "class", M), g[0] & /*filterbylogo, vendorArray, filterByVendors*/
184
+ p(n, f) {
185
+ if (f[0] & /*$_*/
186
+ 2048 && b !== (b = /*$_*/
187
+ n[11]("filterby") + "") && j(u, b), f[0] & /*$_*/
188
+ 2048 && L !== (L = /*$_*/
189
+ n[11]("providers") + "") && j(C, L), Z === (Z = Y(n)) && x ? x.p(n, f) : (x.d(1), x = Z(n), x && (x.c(), x.m(y, null))), f[0] & /*isFilterActive*/
190
+ 16 && W !== (W = "TriangleInactive " + /*isFilterActive*/
191
+ (n[4] ? "TriangleActive" : "")) && o(d, "class", W), f[0] & /*isFilterActive*/
192
+ 16 && E !== (E = "FilterSelector " + /*isFilterActive*/
193
+ (n[4] ? "FilterSelectorOpen" : "")) && o(t, "class", E), f[0] & /*filterbylogo, vendorArray, filterByVendors*/
194
194
  8228) {
195
- r = re(
195
+ z = ae(
196
196
  /*vendorArray*/
197
197
  n[5]
198
198
  );
199
- let b;
200
- for (b = 0; b < r.length; b += 1) {
201
- const U = se(n, r, b);
202
- d[b] ? d[b].p(U, g) : (d[b] = ce(U), d[b].c(), d[b].m(W, null));
199
+ let p;
200
+ for (p = 0; p < z.length; p += 1) {
201
+ const K = de(n, z, p);
202
+ l[p] ? l[p].p(K, f) : (l[p] = pe(K), l[p].c(), l[p].m(M, null));
203
203
  }
204
- for (; b < d.length; b += 1)
205
- d[b].d(1);
206
- d.length = r.length;
204
+ for (; p < l.length; p += 1)
205
+ l[p].d(1);
206
+ l.length = z.length;
207
207
  }
208
- g[0] & /*$_*/
209
- 2048 && J !== (J = /*$_*/
210
- n[11]("clear") + "") && j(q, J), g[0] & /*fullSelection, selectedVendorArray, vendorArray*/
211
- 224 && Z !== (Z = /*fullSelection*/
208
+ f[0] & /*$_*/
209
+ 2048 && R !== (R = /*$_*/
210
+ n[11]("clear") + "") && j(q, R), f[0] & /*fullSelection, selectedVendorArray, vendorArray*/
211
+ 224 && J !== (J = /*fullSelection*/
212
212
  n[7] && /*selectedVendorArray*/
213
213
  n[6].length != /*vendorArray*/
214
- n[5].length) && (E.disabled = Z), g[0] & /*isFilterActive*/
215
- 16 && H !== (H = "FilterDropdownContainer " + /*isFilterActive*/
216
- (n[4] ? "FilterOpen" : "")) && o(D, "class", H), g[0] & /*addfilterselector, addsortingselector*/
217
- 3 && R !== (R = "FilterContainer " + /*addfilterselector*/
214
+ n[5].length) && (O.disabled = J), f[0] & /*isFilterActive*/
215
+ 16 && G !== (G = "FilterDropdownContainer " + /*isFilterActive*/
216
+ (n[4] ? "FilterOpen" : "")) && o(A, "class", G), f[0] & /*addfilterselector, addsortingselector*/
217
+ 3 && H !== (H = "FilterContainer " + /*addfilterselector*/
218
218
  (n[0] == "true" && /*addsortingselector*/
219
- n[1] == "true" ? "FilerContainerSplit" : "")) && o(e, "class", R);
219
+ n[1] == "true" ? "FilerContainerSplit" : "")) && o(e, "class", H);
220
220
  },
221
221
  d(n) {
222
- n && z(e), S.d(), we(d, n), Q = !1, de(X);
222
+ n && V(e), x.d(), Ie(l, n), U = !1, fe(X);
223
223
  }
224
224
  };
225
225
  }
226
- function Ae(l) {
226
+ function De(r) {
227
227
  let e, t = (
228
228
  /*$_*/
229
- l[11]("500") + ""
229
+ r[11]("500") + ""
230
230
  ), i;
231
231
  return {
232
232
  c() {
@@ -241,17 +241,17 @@ function Ae(l) {
241
241
  a[11]("500") + "") && j(i, t);
242
242
  },
243
243
  d(a) {
244
- a && z(e);
244
+ a && V(e);
245
245
  }
246
246
  };
247
247
  }
248
- function De(l) {
248
+ function Te(r) {
249
249
  let e, t;
250
250
  return {
251
251
  c() {
252
252
  e = m("span"), t = T(
253
253
  /*selectionNumber*/
254
- l[8]
254
+ r[8]
255
255
  ), o(e, "class", "FilterCounter");
256
256
  },
257
257
  m(i, a) {
@@ -266,14 +266,14 @@ function De(l) {
266
266
  );
267
267
  },
268
268
  d(i) {
269
- i && z(e);
269
+ i && V(e);
270
270
  }
271
271
  };
272
272
  }
273
- function Oe(l) {
273
+ function Ne(r) {
274
274
  let e, t = (
275
275
  /*$_*/
276
- l[11]("all") + ""
276
+ r[11]("all") + ""
277
277
  ), i;
278
278
  return {
279
279
  c() {
@@ -288,255 +288,260 @@ function Oe(l) {
288
288
  a[11]("all") + "") && j(i, t);
289
289
  },
290
290
  d(a) {
291
- a && z(e);
291
+ a && V(e);
292
292
  }
293
293
  };
294
294
  }
295
- function Te(l) {
295
+ function Ee(r) {
296
296
  let e, t;
297
297
  return {
298
298
  c() {
299
- e = m("img"), ae(e.src, t = /*vendor*/
300
- l[36].logo) || o(e, "src", t), o(e, "alt", "vendor logo");
299
+ e = m("img"), oe(e.src, t = /*vendor*/
300
+ r[36].logo) || o(e, "src", t), o(e, "alt", "vendor logo");
301
301
  },
302
302
  m(i, a) {
303
303
  B(i, e, a);
304
304
  },
305
305
  p(i, a) {
306
306
  a[0] & /*vendorArray*/
307
- 32 && !ae(e.src, t = /*vendor*/
307
+ 32 && !oe(e.src, t = /*vendor*/
308
308
  i[36].logo) && o(e, "src", t);
309
309
  },
310
310
  d(i) {
311
- i && z(e);
311
+ i && V(e);
312
312
  }
313
313
  };
314
314
  }
315
- function Ne(l) {
315
+ function Me(r) {
316
316
  let e, t, i = (
317
317
  /*vendor*/
318
- l[36].name + ""
319
- ), a, c, h, w, _ = (
318
+ r[36].name + ""
319
+ ), a, c, h, v, w = (
320
320
  /*vendor*/
321
- l[36].games.count + ""
322
- ), y, f;
321
+ r[36].games.count + ""
322
+ ), b, u;
323
323
  return {
324
324
  c() {
325
- e = m("div"), t = m("span"), a = T(i), c = O(), h = m("span"), w = T("("), y = T(_), f = T(")"), o(t, "class", "VendorName"), o(e, "class", "FilterItemLabel");
325
+ e = m("div"), t = m("span"), a = T(i), c = D(), h = m("span"), v = T("("), b = T(w), u = T(")"), o(t, "class", "VendorName"), o(e, "class", "FilterItemLabel");
326
326
  },
327
- m(C, v) {
328
- B(C, e, v), s(e, t), s(t, a), s(e, c), s(e, h), s(h, w), s(h, y), s(h, f);
327
+ m(_, y) {
328
+ B(_, e, y), s(e, t), s(t, a), s(e, c), s(e, h), s(h, v), s(h, b), s(h, u);
329
329
  },
330
- p(C, v) {
331
- v[0] & /*vendorArray*/
330
+ p(_, y) {
331
+ y[0] & /*vendorArray*/
332
332
  32 && i !== (i = /*vendor*/
333
- C[36].name + "") && j(a, i), v[0] & /*vendorArray*/
334
- 32 && _ !== (_ = /*vendor*/
335
- C[36].games.count + "") && j(y, _);
333
+ _[36].name + "") && j(a, i), y[0] & /*vendorArray*/
334
+ 32 && w !== (w = /*vendor*/
335
+ _[36].games.count + "") && j(b, w);
336
336
  },
337
- d(C) {
338
- C && z(e);
337
+ d(_) {
338
+ _ && V(e);
339
339
  }
340
340
  };
341
341
  }
342
- function ce(l) {
343
- let e, t, i, a, c, h, w, _, y, f, C, v;
342
+ function pe(r) {
343
+ let e, t, i, a, c, h, v, w, b, u, _, y;
344
344
  function N() {
345
- l[24].call(
345
+ r[24].call(
346
346
  i,
347
347
  /*each_value*/
348
- l[37],
348
+ r[37],
349
349
  /*vendor_index*/
350
- l[38]
350
+ r[38]
351
351
  );
352
352
  }
353
- function P() {
353
+ function L() {
354
354
  return (
355
355
  /*click_handler_1*/
356
- l[25](
356
+ r[25](
357
357
  /*vendor*/
358
- l[36]
358
+ r[36]
359
359
  )
360
360
  );
361
361
  }
362
- function k(p, F) {
362
+ function C(d, F) {
363
363
  if (
364
364
  /*filterbylogo*/
365
- p[2] === "false"
366
- ) return Ne;
365
+ d[2] === "false"
366
+ )
367
+ return Me;
367
368
  if (
368
369
  /*filterbylogo*/
369
- p[2] === "true"
370
- ) return Te;
370
+ d[2] === "true"
371
+ )
372
+ return Ee;
371
373
  }
372
- let I = k(l), u = I && I(l);
374
+ let S = C(r), g = S && S(r);
373
375
  return {
374
376
  c() {
375
- e = m("li"), t = m("label"), i = m("input"), c = O(), h = m("span"), w = O(), u && u.c(), _ = O(), o(i, "type", "checkbox"), o(i, "name", "checkbox"), i.__value = a = /*vendor*/
376
- l[36].name, ie(i, i.__value), o(h, "class", "FiltersCheckmark"), o(t, "class", "FilterLabel"), o(e, "class", y = "FilterItem " + /*filterbylogo*/
377
- (l[2] === "true" ? "FilterItemWithLogos" : "")), e.value = f = /*vendor*/
378
- l[36].name;
377
+ e = m("li"), t = m("label"), i = m("input"), c = D(), h = m("span"), v = D(), g && g.c(), w = D(), o(i, "type", "checkbox"), o(i, "name", "checkbox"), i.__value = a = /*vendor*/
378
+ r[36].name, ne(i, i.__value), o(h, "class", "FiltersCheckmark"), o(t, "class", "FilterLabel"), o(e, "class", b = "FilterItem " + /*filterbylogo*/
379
+ (r[2] === "true" ? "FilterItemWithLogos" : "")), e.value = u = /*vendor*/
380
+ r[36].name;
379
381
  },
380
- m(p, F) {
381
- B(p, e, F), s(e, t), s(t, i), i.checked = /*vendor*/
382
- l[36].isFilterSelected, s(t, c), s(t, h), s(t, w), u && u.m(t, null), s(e, _), C || (v = [
383
- ee(i, "change", N),
384
- ee(i, "click", P)
385
- ], C = !0);
382
+ m(d, F) {
383
+ B(d, e, F), s(e, t), s(t, i), i.checked = /*vendor*/
384
+ r[36].isFilterSelected, s(t, c), s(t, h), s(t, v), g && g.m(t, null), s(e, w), _ || (y = [
385
+ te(i, "change", N),
386
+ te(i, "click", L)
387
+ ], _ = !0);
386
388
  },
387
- p(p, F) {
388
- l = p, F[0] & /*vendorArray*/
389
+ p(d, F) {
390
+ r = d, F[0] & /*vendorArray*/
389
391
  32 && a !== (a = /*vendor*/
390
- l[36].name) && (i.__value = a, ie(i, i.__value)), F[0] & /*vendorArray*/
392
+ r[36].name) && (i.__value = a, ne(i, i.__value)), F[0] & /*vendorArray*/
391
393
  32 && (i.checked = /*vendor*/
392
- l[36].isFilterSelected), I === (I = k(l)) && u ? u.p(l, F) : (u && u.d(1), u = I && I(l), u && (u.c(), u.m(t, null))), F[0] & /*filterbylogo*/
393
- 4 && y !== (y = "FilterItem " + /*filterbylogo*/
394
- (l[2] === "true" ? "FilterItemWithLogos" : "")) && o(e, "class", y), F[0] & /*vendorArray*/
395
- 32 && f !== (f = /*vendor*/
396
- l[36].name) && (e.value = f);
394
+ r[36].isFilterSelected), S === (S = C(r)) && g ? g.p(r, F) : (g && g.d(1), g = S && S(r), g && (g.c(), g.m(t, null))), F[0] & /*filterbylogo*/
395
+ 4 && b !== (b = "FilterItem " + /*filterbylogo*/
396
+ (r[2] === "true" ? "FilterItemWithLogos" : "")) && o(e, "class", b), F[0] & /*vendorArray*/
397
+ 32 && u !== (u = /*vendor*/
398
+ r[36].name) && (e.value = u);
397
399
  },
398
- d(p) {
399
- p && z(e), u && u.d(), C = !1, de(v);
400
+ d(d) {
401
+ d && V(e), g && g.d(), _ = !1, fe(y);
400
402
  }
401
403
  };
402
404
  }
403
- function Ee(l) {
405
+ function ze(r) {
404
406
  let e;
405
407
  function t(c, h) {
406
408
  if (
407
409
  /*hasErrors*/
408
410
  c[10]
409
- ) return Ae;
411
+ )
412
+ return De;
410
413
  if (!/*isLoading*/
411
- c[9]) return Pe;
414
+ c[9])
415
+ return Oe;
412
416
  }
413
- let i = t(l), a = i && i(l);
417
+ let i = t(r), a = i && i(r);
414
418
  return {
415
419
  c() {
416
420
  e = m("div"), a && a.c();
417
421
  },
418
422
  m(c, h) {
419
- B(c, e, h), a && a.m(e, null), l[27](e);
423
+ B(c, e, h), a && a.m(e, null), r[27](e);
420
424
  },
421
425
  p(c, h) {
422
426
  i === (i = t(c)) && a ? a.p(c, h) : (a && a.d(1), a = i && i(c), a && (a.c(), a.m(e, null)));
423
427
  },
424
- i: le,
425
- o: le,
428
+ i: ie,
429
+ o: ie,
426
430
  d(c) {
427
- c && z(e), a && a.d(), l[27](null);
431
+ c && V(e), a && a.d(), r[27](null);
428
432
  }
429
433
  };
430
434
  }
431
- function Me(l, e, t) {
435
+ function je(r, e, t) {
432
436
  let i;
433
- Fe(l, Se, (r) => t(11, i = r));
434
- let { endpoint: a = "" } = e, { datasource: c = "" } = e, { lang: h = "" } = e, { translationurl: w = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: y = "" } = e, { categoryid: f = "" } = e, { addfilterselector: C = "false" } = e, { addsortingselector: v = "false" } = e, { filterbylogo: N = "false" } = e, { mbsource: P } = e, k = !1, I = window.navigator.userAgent, u = [], p = [], F = {}, A = !1, V = 0, M = !0, x, D = !1;
435
- Ie({ withLocale: "en", translations: {} });
436
- const W = () => {
437
- fetch(w).then((d) => d.json()).then((d) => {
438
- Object.keys(d).forEach((n) => {
439
- ne(n, d[n]);
437
+ ve(r, Le, (l) => t(11, i = l));
438
+ let { endpoint: a = "" } = e, { datasource: c = "" } = e, { lang: h = "" } = e, { translationurl: v = "" } = e, { clientstyling: w = "" } = e, { clientstylingurl: b = "" } = e, { categoryid: u = "" } = e, { addfilterselector: _ = "false" } = e, { addsortingselector: y = "false" } = e, { filterbylogo: N = "false" } = e, { mbsource: L } = e, C = !1, S = window.navigator.userAgent, g = [], d = [], F = {}, P = !1, W = 0, E = !0, k, A = !1, M;
439
+ Pe({ withLocale: "en", translations: {} });
440
+ const Q = () => {
441
+ fetch(v).then((n) => n.json()).then((n) => {
442
+ Object.keys(n).forEach((f) => {
443
+ se(f, n[f]);
440
444
  });
441
- }).catch((d) => {
442
- console.log(d);
445
+ }).catch((n) => {
446
+ console.log(n);
443
447
  });
444
448
  };
445
- Object.keys(oe).forEach((r) => {
446
- ne(r, oe[r]);
447
- }), F[f] && (F = { [f]: [] });
448
- const K = () => {
449
- t(4, k = !k), window.postMessage({ type: "FilterOpened" }, window.location.href);
450
- }, E = (r) => (t(9, M = !0), new Promise((d, n) => {
451
- fetch(r).then((g) => g.json()).then((g) => {
452
- g = g.items, d(g.items), t(6, p = []);
453
- let b = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
454
- g.forEach((U) => {
455
- b || (b = { currentCategoryId: [] }), b[f]?.indexOf(U.id) >= 0 ? (U.isFilterSelected = !0, p.push(U)) : U.isFilterSelected = !1;
456
- }), t(5, u = g), q();
457
- }).catch((g) => {
458
- console.error(g), t(10, D = !0), n(g);
449
+ Object.keys(ce).forEach((l) => {
450
+ se(l, ce[l]);
451
+ }), F[u] && (F = { [u]: [] });
452
+ const O = () => {
453
+ t(4, C = !C), window.postMessage({ type: "FilterOpened" }, window.location.href);
454
+ }, R = (l) => (t(9, E = !0), new Promise((n, f) => {
455
+ fetch(l).then((p) => p.json()).then((p) => {
456
+ p = p.items, n(p.items), t(6, d = []);
457
+ let K = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
458
+ p.forEach(($) => {
459
+ var le;
460
+ K || (K = { currentCategoryId: [] }), ((le = K[u]) == null ? void 0 : le.indexOf($.id)) >= 0 ? ($.isFilterSelected = !0, d.push($)) : $.isFilterSelected = !1;
461
+ }), t(5, g = p), J();
462
+ }).catch((p) => {
463
+ console.error(p), t(10, A = !0), f(p);
459
464
  }).finally(() => {
460
- t(9, M = !1);
465
+ t(9, E = !1);
461
466
  });
462
- })), J = (r) => {
463
- let d = localStorage.getItem("vendorFiltersByCategory");
464
- r.isFilterSelected = !r.isFilterSelected, !p.length || p.filter((n) => n.name === r.name).length == 0 ? p.push(r) : t(6, p = p.filter((n) => n.name !== r.name)), d == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(F = {
465
- [f]: p.map((n) => n.id)
466
- })) : (d = JSON.parse(d), d[f] = p.map((n) => n.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(d))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), q();
467
- }, q = () => {
468
- t(7, A = p.length === u.length || p.length == 0), t(8, V = p.length);
469
- }, Z = () => {
470
- const r = new URL(`${a}/v1/casino/vendors`);
471
- t(4, k = !1), r.searchParams.append("fields", "id,name,logo,subVendors,games"), r.searchParams.append("language", h), r.searchParams.append("datasource", c), r.searchParams.append("platform", ye(I)), (f.match(/\$/g) || []).length > 1 ? (r.searchParams.append("filter", `games(subGroups=${f})`), r.searchParams.append("subVendors", `games(subGroups=${f})`)) : r.searchParams.append("filter", `games(groups=${f})`), E(r);
467
+ })), q = (l) => {
468
+ let n = localStorage.getItem("vendorFiltersByCategory");
469
+ 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 = {
470
+ [u]: d.map((f) => f.id)
471
+ })) : (n = JSON.parse(n), n[u] = d.map((f) => f.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(n))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), J();
472
+ }, J = () => {
473
+ t(7, P = d.length === g.length || d.length == 0), t(8, W = d.length);
474
+ }, G = () => {
475
+ const l = new URL(`${a}/v1/casino/vendors`);
476
+ t(4, C = !1), l.searchParams.append("fields", "id,name,logo,subVendors,games"), l.searchParams.append("language", h), l.searchParams.append("datasource", c), l.searchParams.append("platform", Ce(S)), (u.match(/\$/g) || []).length > 1 ? (l.searchParams.append("filter", `games(subGroups=${u})`), l.searchParams.append("subVendors", `games(subGroups=${u})`)) : l.searchParams.append("filter", `games(groups=${u})`), R(l);
472
477
  }, H = () => {
473
- t(6, p = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(F = {
474
- [f]: p.map((r) => r.id)
475
- })), u.forEach((r) => r.isFilterSelected = !1), t(5, u), window.postMessage({ type: "ApplyFilters" }, window.location.href), t(7, A = !0), t(4, k = !1);
476
- }, R = (r) => {
477
- r.data.type == "SortingOpened" && t(4, k = !1);
478
+ t(6, d = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(F = {
479
+ [u]: d.map((l) => l.id)
480
+ })), g.forEach((l) => l.isFilterSelected = !1), t(5, g), window.postMessage({ type: "ApplyFilters" }, window.location.href), t(7, P = !0), t(4, C = !1);
481
+ }, U = (l) => {
482
+ l.data.type == "SortingOpened" && t(4, C = !1);
478
483
  };
479
- be(() => (window.addEventListener("message", R, !1), () => {
480
- window.removeEventListener("message", R);
484
+ we(() => (window.addEventListener("message", U, !1), () => {
485
+ window.emMessageBus != null && M && M.unsubscribe(), window.removeEventListener("message", U);
481
486
  }));
482
- const Q = () => K();
483
- function X(r, d) {
484
- r[d].isFilterSelected = this.checked, t(5, u);
487
+ const X = () => O();
488
+ function Y(l, n) {
489
+ l[n].isFilterSelected = this.checked, t(5, g);
485
490
  }
486
- const Y = (r) => J(r), G = () => H();
487
- function S(r) {
488
- ve[r ? "unshift" : "push"](() => {
489
- x = r, t(3, x);
491
+ const Z = (l) => q(l), x = () => H();
492
+ function z(l) {
493
+ ke[l ? "unshift" : "push"](() => {
494
+ k = l, t(3, k);
490
495
  });
491
496
  }
492
- return l.$$set = (r) => {
493
- "endpoint" in r && t(15, a = r.endpoint), "datasource" in r && t(16, c = r.datasource), "lang" in r && t(17, h = r.lang), "translationurl" in r && t(18, w = r.translationurl), "clientstyling" in r && t(19, _ = r.clientstyling), "clientstylingurl" in r && t(20, y = r.clientstylingurl), "categoryid" in r && t(21, f = r.categoryid), "addfilterselector" in r && t(0, C = r.addfilterselector), "addsortingselector" in r && t(1, v = r.addsortingselector), "filterbylogo" in r && t(2, N = r.filterbylogo), "mbsource" in r && t(22, P = r.mbsource);
494
- }, l.$$.update = () => {
495
- l.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
496
- 2195460 && a && c && f && N && Z(), l.$$.dirty[0] & /*clientstyling, customStylingContainer*/
497
- 524296 && _ && x && _e(x, _), l.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
498
- 1048584 && y && x && Ce(x, y), l.$$.dirty[0] & /*customStylingContainer, mbsource*/
499
- 4194312 && x && ke(x, `${P}.Style`), l.$$.dirty[0] & /*translationurl*/
500
- 262144 && w && W();
497
+ return r.$$set = (l) => {
498
+ "endpoint" in l && t(15, a = l.endpoint), "datasource" in l && t(16, c = l.datasource), "lang" in l && t(17, h = l.lang), "translationurl" in l && t(18, v = l.translationurl), "clientstyling" in l && t(19, w = l.clientstyling), "clientstylingurl" in l && t(20, b = l.clientstylingurl), "categoryid" in l && t(21, u = l.categoryid), "addfilterselector" in l && t(0, _ = l.addfilterselector), "addsortingselector" in l && t(1, y = l.addsortingselector), "filterbylogo" in l && t(2, N = l.filterbylogo), "mbsource" in l && t(22, L = l.mbsource);
499
+ }, r.$$.update = () => {
500
+ r.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
501
+ 2195460 && a && c && u && N && G(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
502
+ 524296 && w && k && xe(k, w), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
503
+ 1048584 && b && k && _e(k, b), r.$$.dirty[0] & /*customStylingContainer, mbsource*/
504
+ 4194312 && k && Se(k, `${L}.Style`), r.$$.dirty[0] & /*translationurl*/
505
+ 262144 && v && Q();
501
506
  }, [
502
- C,
503
- v,
507
+ _,
508
+ y,
504
509
  N,
505
- x,
506
510
  k,
507
- u,
508
- p,
511
+ C,
512
+ g,
513
+ d,
514
+ P,
515
+ W,
516
+ E,
509
517
  A,
510
- V,
511
- M,
512
- D,
513
518
  i,
514
- K,
515
- J,
519
+ O,
520
+ q,
516
521
  H,
517
522
  a,
518
523
  c,
519
524
  h,
525
+ v,
520
526
  w,
521
- _,
522
- y,
523
- f,
524
- P,
525
- Q,
527
+ b,
528
+ u,
529
+ L,
526
530
  X,
527
531
  Y,
528
- G,
529
- S
532
+ Z,
533
+ x,
534
+ z
530
535
  ];
531
536
  }
532
- class je extends ge {
537
+ class Be extends me {
533
538
  constructor(e) {
534
- super(), ue(
539
+ super(), he(
535
540
  this,
536
541
  e,
537
- Me,
538
- Ee,
539
- me,
542
+ je,
543
+ ze,
544
+ be,
540
545
  {
541
546
  endpoint: 15,
542
547
  datasource: 16,
@@ -550,7 +555,7 @@ class je extends ge {
550
555
  filterbylogo: 2,
551
556
  mbsource: 22
552
557
  },
553
- Le,
558
+ Ae,
554
559
  [-1, -1]
555
560
  );
556
561
  }
@@ -558,70 +563,70 @@ class je extends ge {
558
563
  return this.$$.ctx[15];
559
564
  }
560
565
  set endpoint(e) {
561
- this.$$set({ endpoint: e }), L();
566
+ this.$$set({ endpoint: e }), I();
562
567
  }
563
568
  get datasource() {
564
569
  return this.$$.ctx[16];
565
570
  }
566
571
  set datasource(e) {
567
- this.$$set({ datasource: e }), L();
572
+ this.$$set({ datasource: e }), I();
568
573
  }
569
574
  get lang() {
570
575
  return this.$$.ctx[17];
571
576
  }
572
577
  set lang(e) {
573
- this.$$set({ lang: e }), L();
578
+ this.$$set({ lang: e }), I();
574
579
  }
575
580
  get translationurl() {
576
581
  return this.$$.ctx[18];
577
582
  }
578
583
  set translationurl(e) {
579
- this.$$set({ translationurl: e }), L();
584
+ this.$$set({ translationurl: e }), I();
580
585
  }
581
586
  get clientstyling() {
582
587
  return this.$$.ctx[19];
583
588
  }
584
589
  set clientstyling(e) {
585
- this.$$set({ clientstyling: e }), L();
590
+ this.$$set({ clientstyling: e }), I();
586
591
  }
587
592
  get clientstylingurl() {
588
593
  return this.$$.ctx[20];
589
594
  }
590
595
  set clientstylingurl(e) {
591
- this.$$set({ clientstylingurl: e }), L();
596
+ this.$$set({ clientstylingurl: e }), I();
592
597
  }
593
598
  get categoryid() {
594
599
  return this.$$.ctx[21];
595
600
  }
596
601
  set categoryid(e) {
597
- this.$$set({ categoryid: e }), L();
602
+ this.$$set({ categoryid: e }), I();
598
603
  }
599
604
  get addfilterselector() {
600
605
  return this.$$.ctx[0];
601
606
  }
602
607
  set addfilterselector(e) {
603
- this.$$set({ addfilterselector: e }), L();
608
+ this.$$set({ addfilterselector: e }), I();
604
609
  }
605
610
  get addsortingselector() {
606
611
  return this.$$.ctx[1];
607
612
  }
608
613
  set addsortingselector(e) {
609
- this.$$set({ addsortingselector: e }), L();
614
+ this.$$set({ addsortingselector: e }), I();
610
615
  }
611
616
  get filterbylogo() {
612
617
  return this.$$.ctx[2];
613
618
  }
614
619
  set filterbylogo(e) {
615
- this.$$set({ filterbylogo: e }), L();
620
+ this.$$set({ filterbylogo: e }), I();
616
621
  }
617
622
  get mbsource() {
618
623
  return this.$$.ctx[22];
619
624
  }
620
625
  set mbsource(e) {
621
- this.$$set({ mbsource: e }), L();
626
+ this.$$set({ mbsource: e }), I();
622
627
  }
623
628
  }
624
- xe(je, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, mbsource: {} }, [], [], !0);
629
+ Fe(Be, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, mbsource: {} }, [], [], !0);
625
630
  export {
626
- je as default
631
+ Be as default
627
632
  };