@everymatrix/casino-lobby 1.54.6 → 1.54.9

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 (81) hide show
  1. package/components/CasinoCalendar-BlfnJwZ-.cjs +9 -0
  2. package/components/{CasinoCalendar-Ic3lq1UY.js → CasinoCalendar-CKCvu8d9.js} +1370 -1378
  3. package/components/CasinoCalendar-D3cTwZsW.js +5197 -0
  4. package/components/{CasinoCalendarDailyDetails-buDoufAV.js → CasinoCalendarDailyDetails-B7hChP4v.js} +90 -90
  5. package/components/CasinoCalendarDailyDetails-C1T0xNcn.cjs +1 -0
  6. package/components/CasinoCalendarDailyDetails-CCIR8eIp.js +701 -0
  7. package/components/{CasinoCalendarDailyItem-koPRd703.js → CasinoCalendarDailyItem-1iPwEmjb.js} +46 -46
  8. package/components/CasinoCalendarDailyItem-BNNa1Jdv.js +315 -0
  9. package/components/CasinoCalendarDailyItem-Bp_PImhJ.cjs +1 -0
  10. package/components/{CasinoCategoriesSlider-Bp9JHeM_.js → CasinoCategoriesSlider-06Zx2Iq-.js} +29 -29
  11. package/components/CasinoCategoriesSlider-Bjd1r5S5.js +606 -0
  12. package/components/CasinoCategoriesSlider-DVgkuNtk.cjs +1 -0
  13. package/components/{CasinoCollectionsProviders-CrpNb22N.js → CasinoCollectionsProviders-BQPjVzK8.js} +58 -58
  14. package/components/CasinoCollectionsProviders-CSISd5u6.cjs +1 -0
  15. package/components/CasinoCollectionsProviders-CVDFBiI0.js +664 -0
  16. package/components/{CasinoFavoritesSection-D4Du3N5n.js → CasinoFavoritesSection-BtAZ0obR.js} +16 -16
  17. package/components/CasinoFavoritesSection-CeNe7gym.js +439 -0
  18. package/components/CasinoFavoritesSection-D7g9PfaJ.cjs +1 -0
  19. package/components/CasinoFilter-C10Tgn3c.cjs +1 -0
  20. package/components/CasinoFilter-CT6gjm3V.js +634 -0
  21. package/components/{CasinoFilter-CYZHW74M.js → CasinoFilter-ckjDwsuD.js} +55 -55
  22. package/components/CasinoGamePage-BXEw8hFH.js +4300 -0
  23. package/components/{CasinoGamePage-C0VvUfCV.js → CasinoGamePage-CtPmWXKS.js} +90 -90
  24. package/components/CasinoGamePage-DishJnnG.cjs +18 -0
  25. package/components/{CasinoGameThumbnail-C-zG9Jn9.js → CasinoGameThumbnail-CPtgI_Ou.js} +63 -63
  26. package/components/CasinoGameThumbnail-DEA-lJVL.cjs +38 -0
  27. package/components/CasinoGameThumbnail-DlUjmcUF.js +1850 -0
  28. package/components/CasinoGamesCategorySection-C004qi0F.cjs +1 -0
  29. package/components/CasinoGamesCategorySection-DNDGzt_C.js +3032 -0
  30. package/components/{CasinoGamesCategorySection-DVd_DDkc.js → CasinoGamesCategorySection-DeKVT6Qy.js} +125 -125
  31. package/components/{CasinoJackpotBanner-CL7SMQDH.js → CasinoJackpotBanner-D3s92J-3.js} +68 -68
  32. package/components/CasinoJackpotBanner-q02RPv4N.js +618 -0
  33. package/components/CasinoJackpotBanner-uWVFzOiI.cjs +1 -0
  34. package/components/{CasinoLastPlayedSection-VbQH2qG2.js → CasinoLastPlayedSection-CRSWVIu_.js} +29 -29
  35. package/components/CasinoLastPlayedSection-tgXO-MUK.cjs +1 -0
  36. package/components/CasinoLastPlayedSection-vWwXDUsk.js +566 -0
  37. package/components/CasinoLobby-CzD2DAYm.cjs +1 -0
  38. package/components/{CasinoLobby-CSsnpzSn.js → CasinoLobby-aK6BWuTG.js} +49 -49
  39. package/components/CasinoLobby-cHs3HImA.js +2337 -0
  40. package/components/{CasinoModal-z0xixUlG.js → CasinoModal-C1oW3YF4.js} +69 -69
  41. package/components/CasinoModal-DRtZi6gR.cjs +1 -0
  42. package/components/CasinoModal-IbVlgg7Z.js +372 -0
  43. package/components/CasinoMostPlayedSection-1h4sJVZB.cjs +1 -0
  44. package/components/{CasinoMostPlayedSection-BIXY9riB.js → CasinoMostPlayedSection-CqCeL-T3.js} +32 -32
  45. package/components/CasinoMostPlayedSection-GdgKELMj.js +583 -0
  46. package/components/CasinoMyGames-B_NJlfMk.cjs +1 -0
  47. package/components/{CasinoMyGames-DqRPb7fX.js → CasinoMyGames-C96xDtTs.js} +52 -52
  48. package/components/CasinoMyGames-crupH86Y.js +1318 -0
  49. package/components/CasinoPage-BP3C9X12.cjs +1 -0
  50. package/components/{CasinoPage-Cm-vD67m.js → CasinoPage-BmaJqL6b.js} +123 -123
  51. package/components/CasinoPage-LZWtHc8W.js +3550 -0
  52. package/components/CasinoRandomGame-C6-dDxie.cjs +2 -0
  53. package/components/CasinoRandomGame-DXFHIw0O.js +668 -0
  54. package/components/{CasinoRandomGame-efA8CEqy.js → CasinoRandomGame-Df62wtxc.js} +51 -51
  55. package/components/CasinoSearch-BcFA6QGN.js +1072 -0
  56. package/components/CasinoSearch-Dnm7_nuc.cjs +1 -0
  57. package/components/{CasinoSearch-BEXK-fFP.js → CasinoSearch-akpXIDh-.js} +83 -83
  58. package/components/CasinoSlider-BDjskQjI.cjs +1 -0
  59. package/components/{CasinoSlider-BPqJIB5d.js → CasinoSlider-BWEc4YT5.js} +78 -78
  60. package/components/CasinoSlider-BjpV4pLV.js +806 -0
  61. package/components/CasinoSort-CS53Uvnz.cjs +1 -0
  62. package/components/CasinoSort-DFdgT3Dt.js +432 -0
  63. package/components/{CasinoSort-CBtcK7i0.js → CasinoSort-DFljh5Sg.js} +16 -16
  64. package/components/CasinoWinners-6mr0X-kZ.js +971 -0
  65. package/components/{CasinoWinners-Db2ivy-R.js → CasinoWinners-CADOvOsd.js} +62 -62
  66. package/components/CasinoWinners-DU3xFq2b.cjs +1 -0
  67. package/components/GeneralAnimationLoading-BG_QynCK.cjs +1 -0
  68. package/components/{GeneralAnimationLoading-DiwFEyef.js → GeneralAnimationLoading-CX9baArf.js} +8 -8
  69. package/components/GeneralAnimationLoading-DVLCsjn0.js +75 -0
  70. package/es2015/casino-lobby.cjs +1 -0
  71. package/es2015/casino-lobby.js +16 -0
  72. package/esnext/casino-lobby.js +1 -1
  73. package/package.json +4 -1
  74. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
  75. package/stencil/{casino-play-random-game-BrayzMrR.js → casino-play-random-game-CoygOtgn.js} +1 -1
  76. package/stencil/casino-play-random-game-DjMkr-Sg.cjs +371 -0
  77. package/stencil/casino-play-random-game-DkjQlTyE.js +577 -0
  78. package/stencil/index-f923e8d1-D64rZ7vf.js +645 -0
  79. package/stencil/index-f923e8d1-D8EldEUs.js +629 -0
  80. package/stencil/index-f923e8d1-QzT30J3F.cjs +1 -0
  81. package/stencil/index-47910d1c-CWwDm8i3.js +0 -623
@@ -0,0 +1,634 @@
1
+ import { $ as re, T as ge, a as ue, S as me, i as he, s as Fe, f as L, b as be, n as ie, d as z, h as B, j as u, k as ye, o as ve, K as we, C as _e, m as j, p as s, q as A, r as o, v as ae, w as Ce, Q as fe, A as te, E as ee, B as P, U as ne, D as oe, I as ke, J as xe } from "./CasinoCalendar-D3cTwZsW.js";
2
+ function Se({ withLocale: r, translations: e }) {
3
+ re.subscribe((t) => {
4
+ t == null && (ge.set(e), re.set(r));
5
+ });
6
+ }
7
+ function se(r, e) {
8
+ ue(r, e);
9
+ }
10
+ const ce = {
11
+ en: {
12
+ providers: "Providers:",
13
+ filterby: "Filter by:",
14
+ all: "All",
15
+ clear: "Clear all"
16
+ },
17
+ zh: {
18
+ providers: "Providers:",
19
+ filterby: "Filter by",
20
+ all: "all",
21
+ clear: "Clear all"
22
+ },
23
+ de: {
24
+ providers: "Providers:",
25
+ filterby: "Filter by:",
26
+ all: "all",
27
+ clear: "Clear all"
28
+ },
29
+ it: {
30
+ providers: "Providers:",
31
+ filterby: "Filter by:",
32
+ all: "all",
33
+ clear: "Clear all"
34
+ },
35
+ fr: {
36
+ providers: "Providers:",
37
+ filterby: "Filter by:",
38
+ all: "all",
39
+ clear: "Clear all"
40
+ },
41
+ es: {
42
+ providers: "Proveedores:",
43
+ filterby: "Filtrar Por:",
44
+ all: "Todos",
45
+ clear: "Limpiar todos"
46
+ },
47
+ tr: {
48
+ providers: "Sağlayıcılar:",
49
+ filterby: "Filtrele:",
50
+ all: "Hepsi",
51
+ clear: "Tümünü Temizle"
52
+ },
53
+ ru: {
54
+ providers: "Providers:",
55
+ filterby: "Filter by:",
56
+ all: "all",
57
+ clear: "Clear all"
58
+ },
59
+ ro: {
60
+ providers: "Providers:",
61
+ filterby: "Filter by:",
62
+ all: "all",
63
+ clear: "Clear all"
64
+ },
65
+ hr: {
66
+ providers: "Brendovi igara",
67
+ filterby: "Filtrirati po:",
68
+ all: "Sve",
69
+ clear: "Očisti sve"
70
+ },
71
+ hu: {
72
+ providers: "Providers:",
73
+ filterby: "Filter by:",
74
+ all: "all",
75
+ clear: "Clear all"
76
+ },
77
+ pl: {
78
+ providers: "Providers:",
79
+ filterby: "Filter by:",
80
+ all: "all",
81
+ clear: "Clear all"
82
+ },
83
+ pt: {
84
+ providers: "Providers:",
85
+ filterby: "Filter by:",
86
+ all: "all",
87
+ clear: "Clear all"
88
+ },
89
+ sl: {
90
+ providers: "Providers:",
91
+ filterby: "Filter by:",
92
+ all: "all",
93
+ clear: "Clear all"
94
+ },
95
+ sr: {
96
+ providers: "Providers:",
97
+ filterby: "Filter by:",
98
+ all: "all",
99
+ clear: "Clear all"
100
+ },
101
+ "pt-br": {
102
+ providers: "Provedores:",
103
+ filterby: "Filtrar por",
104
+ all: "Tudo",
105
+ clear: "Apagar tudo"
106
+ },
107
+ "es-mx": {
108
+ providers: "Proveedores:",
109
+ filterby: "Filtrar por",
110
+ all: "Todo",
111
+ clear: "Borrar todo"
112
+ },
113
+ "en-us": {
114
+ providers: "Providers:",
115
+ filterby: "Filter by:",
116
+ all: "All",
117
+ clear: "Clear all"
118
+ }
119
+ };
120
+ function Ie(r) {
121
+ be(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
+ }
123
+ function de(r, e, t) {
124
+ const i = r.slice();
125
+ return i[36] = e[t], i[37] = e, i[38] = t, i;
126
+ }
127
+ function Le(r) {
128
+ let e, t, i, a, c, m, v, w, b = (
129
+ /*$_*/
130
+ r[11]("filterby") + ""
131
+ ), g, _, y, T, k = (
132
+ /*$_*/
133
+ r[11]("providers") + ""
134
+ ), E, C, d, F, h, D, M, x, K, O, V, Q, I, J = (
135
+ /*$_*/
136
+ r[11]("clear") + ""
137
+ ), U, W, R, H, q, X;
138
+ function Y(n, f) {
139
+ return (
140
+ /*fullSelection*/
141
+ n[7] ? Te : Ae
142
+ );
143
+ }
144
+ let Z = Y(r), S = Z(r), N = ae(
145
+ /*vendorArray*/
146
+ r[5]
147
+ ), l = [];
148
+ for (let n = 0; n < N.length; n += 1)
149
+ l[n] = pe(de(r, N, n));
150
+ return {
151
+ c() {
152
+ e = u("div"), t = u("div"), i = u("div"), a = ee("svg"), c = ee("path"), m = P(), v = u("div"), w = u("span"), g = A(b), _ = P(), y = u("div"), T = u("span"), E = A(k), C = P(), S.c(), d = P(), F = u("span"), h = ee("svg"), D = ee("path"), K = P(), O = u("div"), V = u("ul");
153
+ for (let n = 0; n < l.length; n += 1)
154
+ l[n].c();
155
+ Q = P(), I = u("button"), U = A(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(w, "class", "FilterName"), o(y, "class", "FilterValueContainer"), o(v, "class", "FilterTextContainer"), o(i, "class", "FilterMainArea"), o(D, "id", "arrow"), o(D, "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(D, "transform", "translate(-274.511 -441.088)"), o(D, "fill", "#d1d1d1"), o(h, "xmlns", "http://www.w3.org/2000/svg"), o(h, "width", "14"), o(h, "height", "6.835"), o(h, "viewBox", "0 0 14 6.835"), o(F, "class", M = "TriangleInactive " + /*isFilterActive*/
156
+ (r[4] ? "TriangleActive" : "")), o(t, "class", x = "FilterSelector " + /*isFilterActive*/
157
+ (r[4] ? "FilterSelectorOpen" : "")), o(V, "class", "FilterDropdown"), o(I, "class", "ClearFilters"), I.disabled = W = /*fullSelection*/
158
+ r[7] && /*selectedVendorArray*/
159
+ r[6].length != /*vendorArray*/
160
+ r[5].length, o(O, "class", R = "FilterDropdownContainer " + /*isFilterActive*/
161
+ (r[4] ? "FilterOpen" : "")), o(e, "class", H = "FilterContainer " + /*addfilterselector*/
162
+ (r[0] == "true" && /*addsortingselector*/
163
+ r[1] == "true" ? "FilerContainerSplit" : ""));
164
+ },
165
+ m(n, f) {
166
+ B(n, e, f), s(e, t), s(t, i), s(i, a), s(a, c), s(i, m), s(i, v), s(v, w), s(w, g), s(v, _), s(v, y), s(y, T), s(T, E), s(y, C), S.m(y, null), s(t, d), s(t, F), s(F, h), s(h, D), s(e, K), s(e, O), s(O, V);
167
+ for (let p = 0; p < l.length; p += 1)
168
+ l[p] && l[p].m(V, null);
169
+ s(O, Q), s(O, I), s(I, U), q || (X = [
170
+ te(
171
+ t,
172
+ "click",
173
+ /*click_handler*/
174
+ r[22]
175
+ ),
176
+ te(
177
+ I,
178
+ "click",
179
+ /*click_handler_2*/
180
+ r[25]
181
+ )
182
+ ], q = !0);
183
+ },
184
+ p(n, f) {
185
+ if (f[0] & /*$_*/
186
+ 2048 && b !== (b = /*$_*/
187
+ n[11]("filterby") + "") && j(g, b), f[0] & /*$_*/
188
+ 2048 && k !== (k = /*$_*/
189
+ n[11]("providers") + "") && j(E, k), Z === (Z = Y(n)) && S ? S.p(n, f) : (S.d(1), S = Z(n), S && (S.c(), S.m(y, null))), f[0] & /*isFilterActive*/
190
+ 16 && M !== (M = "TriangleInactive " + /*isFilterActive*/
191
+ (n[4] ? "TriangleActive" : "")) && o(F, "class", M), f[0] & /*isFilterActive*/
192
+ 16 && x !== (x = "FilterSelector " + /*isFilterActive*/
193
+ (n[4] ? "FilterSelectorOpen" : "")) && o(t, "class", x), f[0] & /*filterbylogo, vendorArray, filterByVendors*/
194
+ 8228) {
195
+ N = ae(
196
+ /*vendorArray*/
197
+ n[5]
198
+ );
199
+ let p;
200
+ for (p = 0; p < N.length; p += 1) {
201
+ const G = de(n, N, p);
202
+ l[p] ? l[p].p(G, f) : (l[p] = pe(G), l[p].c(), l[p].m(V, null));
203
+ }
204
+ for (; p < l.length; p += 1)
205
+ l[p].d(1);
206
+ l.length = N.length;
207
+ }
208
+ f[0] & /*$_*/
209
+ 2048 && J !== (J = /*$_*/
210
+ n[11]("clear") + "") && j(U, J), f[0] & /*fullSelection, selectedVendorArray, vendorArray*/
211
+ 224 && W !== (W = /*fullSelection*/
212
+ n[7] && /*selectedVendorArray*/
213
+ n[6].length != /*vendorArray*/
214
+ n[5].length) && (I.disabled = W), f[0] & /*isFilterActive*/
215
+ 16 && R !== (R = "FilterDropdownContainer " + /*isFilterActive*/
216
+ (n[4] ? "FilterOpen" : "")) && o(O, "class", R), f[0] & /*addfilterselector, addsortingselector*/
217
+ 3 && H !== (H = "FilterContainer " + /*addfilterselector*/
218
+ (n[0] == "true" && /*addsortingselector*/
219
+ n[1] == "true" ? "FilerContainerSplit" : "")) && o(e, "class", H);
220
+ },
221
+ d(n) {
222
+ n && z(e), S.d(), Ce(l, n), q = !1, fe(X);
223
+ }
224
+ };
225
+ }
226
+ function Pe(r) {
227
+ let e, t = (
228
+ /*$_*/
229
+ r[11]("500") + ""
230
+ ), i;
231
+ return {
232
+ c() {
233
+ e = u("p"), i = A(t), o(e, "class", "SearchLoading");
234
+ },
235
+ m(a, c) {
236
+ B(a, e, c), s(e, i);
237
+ },
238
+ p(a, c) {
239
+ c[0] & /*$_*/
240
+ 2048 && t !== (t = /*$_*/
241
+ a[11]("500") + "") && j(i, t);
242
+ },
243
+ d(a) {
244
+ a && z(e);
245
+ }
246
+ };
247
+ }
248
+ function Ae(r) {
249
+ let e, t;
250
+ return {
251
+ c() {
252
+ e = u("span"), t = A(
253
+ /*selectionNumber*/
254
+ r[8]
255
+ ), o(e, "class", "FilterCounter");
256
+ },
257
+ m(i, a) {
258
+ B(i, e, a), s(e, t);
259
+ },
260
+ p(i, a) {
261
+ a[0] & /*selectionNumber*/
262
+ 256 && j(
263
+ t,
264
+ /*selectionNumber*/
265
+ i[8]
266
+ );
267
+ },
268
+ d(i) {
269
+ i && z(e);
270
+ }
271
+ };
272
+ }
273
+ function Te(r) {
274
+ let e, t = (
275
+ /*$_*/
276
+ r[11]("all") + ""
277
+ ), i;
278
+ return {
279
+ c() {
280
+ e = u("span"), i = A(t), o(e, "class", "FilterCounter");
281
+ },
282
+ m(a, c) {
283
+ B(a, e, c), s(e, i);
284
+ },
285
+ p(a, c) {
286
+ c[0] & /*$_*/
287
+ 2048 && t !== (t = /*$_*/
288
+ a[11]("all") + "") && j(i, t);
289
+ },
290
+ d(a) {
291
+ a && z(e);
292
+ }
293
+ };
294
+ }
295
+ function De(r) {
296
+ let e, t;
297
+ return {
298
+ c() {
299
+ e = u("img"), oe(e.src, t = /*vendor*/
300
+ r[36].logo) || o(e, "src", t), o(e, "alt", "vendor logo");
301
+ },
302
+ m(i, a) {
303
+ B(i, e, a);
304
+ },
305
+ p(i, a) {
306
+ a[0] & /*vendorArray*/
307
+ 32 && !oe(e.src, t = /*vendor*/
308
+ i[36].logo) && o(e, "src", t);
309
+ },
310
+ d(i) {
311
+ i && z(e);
312
+ }
313
+ };
314
+ }
315
+ function Oe(r) {
316
+ let e, t, i = (
317
+ /*vendor*/
318
+ r[36].name + ""
319
+ ), a, c, m, v, w = (
320
+ /*vendor*/
321
+ r[36].games.count + ""
322
+ ), b, g;
323
+ return {
324
+ c() {
325
+ e = u("div"), t = u("span"), a = A(i), c = P(), m = u("span"), v = A("("), b = A(w), g = A(")"), o(t, "class", "VendorName"), o(e, "class", "FilterItemLabel");
326
+ },
327
+ m(_, y) {
328
+ B(_, e, y), s(e, t), s(t, a), s(e, c), s(e, m), s(m, v), s(m, b), s(m, g);
329
+ },
330
+ p(_, y) {
331
+ y[0] & /*vendorArray*/
332
+ 32 && i !== (i = /*vendor*/
333
+ _[36].name + "") && j(a, i), y[0] & /*vendorArray*/
334
+ 32 && w !== (w = /*vendor*/
335
+ _[36].games.count + "") && j(b, w);
336
+ },
337
+ d(_) {
338
+ _ && z(e);
339
+ }
340
+ };
341
+ }
342
+ function pe(r) {
343
+ let e, t, i, a, c, m, v, w, b, g, _, y;
344
+ function T() {
345
+ r[23].call(
346
+ i,
347
+ /*each_value*/
348
+ r[37],
349
+ /*vendor_index*/
350
+ r[38]
351
+ );
352
+ }
353
+ function k() {
354
+ return (
355
+ /*click_handler_1*/
356
+ r[24](
357
+ /*vendor*/
358
+ r[36]
359
+ )
360
+ );
361
+ }
362
+ function E(F, h) {
363
+ if (
364
+ /*filterbylogo*/
365
+ F[2] === "false"
366
+ ) return Oe;
367
+ if (
368
+ /*filterbylogo*/
369
+ F[2] === "true"
370
+ ) return De;
371
+ }
372
+ let C = E(r), d = C && C(r);
373
+ return {
374
+ c() {
375
+ e = u("li"), t = u("label"), i = u("input"), c = P(), m = u("span"), v = P(), d && d.c(), w = P(), o(i, "type", "checkbox"), o(i, "name", "checkbox"), i.__value = a = /*vendor*/
376
+ r[36].name, ne(i, i.__value), o(m, "class", "FiltersCheckmark"), o(t, "class", "FilterLabel"), o(e, "class", b = "FilterItem " + /*filterbylogo*/
377
+ (r[2] === "true" ? "FilterItemWithLogos" : "")), e.value = g = /*vendor*/
378
+ r[36].name;
379
+ },
380
+ m(F, h) {
381
+ B(F, e, h), s(e, t), s(t, i), i.checked = /*vendor*/
382
+ r[36].isFilterSelected, s(t, c), s(t, m), s(t, v), d && d.m(t, null), s(e, w), _ || (y = [
383
+ te(i, "change", T),
384
+ te(i, "click", k)
385
+ ], _ = !0);
386
+ },
387
+ p(F, h) {
388
+ r = F, h[0] & /*vendorArray*/
389
+ 32 && a !== (a = /*vendor*/
390
+ r[36].name) && (i.__value = a, ne(i, i.__value)), h[0] & /*vendorArray*/
391
+ 32 && (i.checked = /*vendor*/
392
+ r[36].isFilterSelected), C === (C = E(r)) && d ? d.p(r, h) : (d && d.d(1), d = C && C(r), d && (d.c(), d.m(t, null))), h[0] & /*filterbylogo*/
393
+ 4 && b !== (b = "FilterItem " + /*filterbylogo*/
394
+ (r[2] === "true" ? "FilterItemWithLogos" : "")) && o(e, "class", b), h[0] & /*vendorArray*/
395
+ 32 && g !== (g = /*vendor*/
396
+ r[36].name) && (e.value = g);
397
+ },
398
+ d(F) {
399
+ F && z(e), d && d.d(), _ = !1, fe(y);
400
+ }
401
+ };
402
+ }
403
+ function Ee(r) {
404
+ let e;
405
+ function t(c, m) {
406
+ if (
407
+ /*hasErrors*/
408
+ c[10]
409
+ ) return Pe;
410
+ if (!/*isLoading*/
411
+ c[9]) return Le;
412
+ }
413
+ let i = t(r), a = i && i(r);
414
+ return {
415
+ c() {
416
+ e = u("div"), a && a.c();
417
+ },
418
+ m(c, m) {
419
+ B(c, e, m), a && a.m(e, null), r[26](e);
420
+ },
421
+ p(c, m) {
422
+ i === (i = t(c)) && a ? a.p(c, m) : (a && a.d(1), a = i && i(c), a && (a.c(), a.m(e, null)));
423
+ },
424
+ i: ie,
425
+ o: ie,
426
+ d(c) {
427
+ c && z(e), a && a.d(), r[26](null);
428
+ }
429
+ };
430
+ }
431
+ function Me(r, e, t) {
432
+ let i;
433
+ ye(r, xe, (l) => t(11, i = l));
434
+ let { endpoint: a = "" } = e, { datasource: c = "" } = e, { lang: m = "" } = e, { translationurl: v = "" } = e, { clientstyling: w = "" } = e, { clientstylingurl: b = "" } = e, { categoryid: g = "" } = e, { addfilterselector: _ = "false" } = e, { addsortingselector: y = "false" } = e, { filterbylogo: T = "false" } = e, k = !1, E = window.navigator.userAgent, C = [], d = [], F = {}, h = !1, D = 0, M = !0, x, K = !1;
435
+ Se({ withLocale: "en", translations: {} });
436
+ const O = () => {
437
+ fetch(v).then((n) => n.json()).then((n) => {
438
+ Object.keys(n).forEach((f) => {
439
+ se(f, n[f]);
440
+ });
441
+ }).catch((n) => {
442
+ console.log(n);
443
+ });
444
+ };
445
+ Object.keys(ce).forEach((l) => {
446
+ se(l, ce[l]);
447
+ });
448
+ const V = () => {
449
+ let l = document.createElement("style");
450
+ l.innerHTML = w, x.appendChild(l);
451
+ }, Q = () => {
452
+ let l = document.createElement("style");
453
+ fetch(new URL(b)).then((n) => n.text()).then((n) => {
454
+ l.innerHTML = n, setTimeout(
455
+ () => {
456
+ x.appendChild(l);
457
+ },
458
+ 1
459
+ );
460
+ });
461
+ };
462
+ F[g] && (F = { [g]: [] });
463
+ const I = () => {
464
+ t(4, k = !k), window.postMessage({ type: "FilterOpened" }, window.location.href);
465
+ }, J = (l) => (t(9, M = !0), new Promise((n, f) => {
466
+ fetch(l).then((p) => p.json()).then((p) => {
467
+ p = p.items, n(p.items), t(6, d = []);
468
+ let G = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
469
+ p.forEach(($) => {
470
+ var le;
471
+ G || (G = { currentCategoryId: [] }), ((le = G[g]) == null ? void 0 : le.indexOf($.id)) >= 0 ? ($.isFilterSelected = !0, d.push($)) : $.isFilterSelected = !1;
472
+ }), t(5, C = p), W();
473
+ }).catch((p) => {
474
+ console.error(p), t(10, K = !0), f(p);
475
+ }).finally(() => {
476
+ t(9, M = !1);
477
+ });
478
+ })), U = (l) => {
479
+ let n = localStorage.getItem("vendorFiltersByCategory");
480
+ 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 = {
481
+ [g]: d.map((f) => f.id)
482
+ })) : (n = JSON.parse(n), n[g] = d.map((f) => f.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(n))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), W();
483
+ }, W = () => {
484
+ t(7, h = d.length === C.length || d.length == 0), t(8, D = d.length);
485
+ }, R = () => {
486
+ const l = new URL(`${a}/v1/casino/vendors`);
487
+ t(4, k = !1), l.searchParams.append("fields", "id,name,logo,subVendors,games"), l.searchParams.append("language", m), l.searchParams.append("datasource", c), l.searchParams.append("platform", we(E)), (g.match(/\$/g) || []).length > 1 ? (l.searchParams.append("filter", `games(subGroups=${g})`), l.searchParams.append("subVendors", `games(subGroups=${g})`)) : l.searchParams.append("filter", `games(groups=${g})`), J(l);
488
+ }, H = () => {
489
+ t(6, d = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(F = {
490
+ [g]: d.map((l) => l.id)
491
+ })), C.forEach((l) => l.isFilterSelected = !1), t(5, C), window.postMessage({ type: "ApplyFilters" }, window.location.href), t(7, h = !0), t(4, k = !1);
492
+ }, q = (l) => {
493
+ l.data.type == "SortingOpened" && t(4, k = !1);
494
+ };
495
+ ve(() => (window.addEventListener("message", q, !1), () => {
496
+ window.removeEventListener("message", q);
497
+ }));
498
+ const X = () => I();
499
+ function Y(l, n) {
500
+ l[n].isFilterSelected = this.checked, t(5, C);
501
+ }
502
+ const Z = (l) => U(l), S = () => H();
503
+ function N(l) {
504
+ _e[l ? "unshift" : "push"](() => {
505
+ x = l, t(3, x);
506
+ });
507
+ }
508
+ return r.$$set = (l) => {
509
+ "endpoint" in l && t(15, a = l.endpoint), "datasource" in l && t(16, c = l.datasource), "lang" in l && t(17, m = 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, g = l.categoryid), "addfilterselector" in l && t(0, _ = l.addfilterselector), "addsortingselector" in l && t(1, y = l.addsortingselector), "filterbylogo" in l && t(2, T = l.filterbylogo);
510
+ }, r.$$.update = () => {
511
+ r.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
512
+ 2195460 && a && c && g && T && R(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
513
+ 524296 && w && x && V(), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
514
+ 1048584 && b && x && Q(), r.$$.dirty[0] & /*translationurl*/
515
+ 262144 && v && O();
516
+ }, [
517
+ _,
518
+ y,
519
+ T,
520
+ x,
521
+ k,
522
+ C,
523
+ d,
524
+ h,
525
+ D,
526
+ M,
527
+ K,
528
+ i,
529
+ I,
530
+ U,
531
+ H,
532
+ a,
533
+ c,
534
+ m,
535
+ v,
536
+ w,
537
+ b,
538
+ g,
539
+ X,
540
+ Y,
541
+ Z,
542
+ S,
543
+ N
544
+ ];
545
+ }
546
+ class Ne extends me {
547
+ constructor(e) {
548
+ super(), he(
549
+ this,
550
+ e,
551
+ Me,
552
+ Ee,
553
+ Fe,
554
+ {
555
+ endpoint: 15,
556
+ datasource: 16,
557
+ lang: 17,
558
+ translationurl: 18,
559
+ clientstyling: 19,
560
+ clientstylingurl: 20,
561
+ categoryid: 21,
562
+ addfilterselector: 0,
563
+ addsortingselector: 1,
564
+ filterbylogo: 2
565
+ },
566
+ Ie,
567
+ [-1, -1]
568
+ );
569
+ }
570
+ get endpoint() {
571
+ return this.$$.ctx[15];
572
+ }
573
+ set endpoint(e) {
574
+ this.$$set({ endpoint: e }), L();
575
+ }
576
+ get datasource() {
577
+ return this.$$.ctx[16];
578
+ }
579
+ set datasource(e) {
580
+ this.$$set({ datasource: e }), L();
581
+ }
582
+ get lang() {
583
+ return this.$$.ctx[17];
584
+ }
585
+ set lang(e) {
586
+ this.$$set({ lang: e }), L();
587
+ }
588
+ get translationurl() {
589
+ return this.$$.ctx[18];
590
+ }
591
+ set translationurl(e) {
592
+ this.$$set({ translationurl: e }), L();
593
+ }
594
+ get clientstyling() {
595
+ return this.$$.ctx[19];
596
+ }
597
+ set clientstyling(e) {
598
+ this.$$set({ clientstyling: e }), L();
599
+ }
600
+ get clientstylingurl() {
601
+ return this.$$.ctx[20];
602
+ }
603
+ set clientstylingurl(e) {
604
+ this.$$set({ clientstylingurl: e }), L();
605
+ }
606
+ get categoryid() {
607
+ return this.$$.ctx[21];
608
+ }
609
+ set categoryid(e) {
610
+ this.$$set({ categoryid: e }), L();
611
+ }
612
+ get addfilterselector() {
613
+ return this.$$.ctx[0];
614
+ }
615
+ set addfilterselector(e) {
616
+ this.$$set({ addfilterselector: e }), L();
617
+ }
618
+ get addsortingselector() {
619
+ return this.$$.ctx[1];
620
+ }
621
+ set addsortingselector(e) {
622
+ this.$$set({ addsortingselector: e }), L();
623
+ }
624
+ get filterbylogo() {
625
+ return this.$$.ctx[2];
626
+ }
627
+ set filterbylogo(e) {
628
+ this.$$set({ filterbylogo: e }), L();
629
+ }
630
+ }
631
+ ke(Ne, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {} }, [], [], !0);
632
+ export {
633
+ Ne as default
634
+ };