@everymatrix/casino-lobby 1.41.0 → 1.42.69

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 (165) hide show
  1. package/components/CasinoCalendar-BQx5-rlk.cjs +9 -0
  2. package/components/CasinoCalendar-CGBzMgQt.cjs +9 -0
  3. package/components/CasinoCalendar-C_GWg7fU.js +5215 -0
  4. package/components/CasinoCalendar-D8A7V_p_.js +5176 -0
  5. package/components/CasinoCalendar-T2eu_ijJ.js +5213 -0
  6. package/components/CasinoCalendar-wabXB62Y.js +5174 -0
  7. package/components/CasinoCalendarDailyDetails-BsuvGAH5.js +701 -0
  8. package/components/CasinoCalendarDailyDetails-CXJQEBiD.js +701 -0
  9. package/components/CasinoCalendarDailyDetails-DD9ivry_.js +701 -0
  10. package/components/CasinoCalendarDailyDetails-DuTGv4cR.cjs +1 -0
  11. package/components/CasinoCalendarDailyDetails-DxoETvny.cjs +1 -0
  12. package/components/CasinoCalendarDailyDetails-HgqSzjsm.js +701 -0
  13. package/components/CasinoCalendarDailyItem-9ZdOdWc1.js +315 -0
  14. package/components/CasinoCalendarDailyItem-BQH_cu-K.cjs +1 -0
  15. package/components/CasinoCalendarDailyItem-Cij4qSkW.js +315 -0
  16. package/components/CasinoCalendarDailyItem-DieqmO8j.js +315 -0
  17. package/components/CasinoCalendarDailyItem-DynzkhlT.js +315 -0
  18. package/components/CasinoCalendarDailyItem-W6jJ8Vef.cjs +1 -0
  19. package/components/CasinoCategoriesSlider-CCBzNNkz.cjs +1 -0
  20. package/components/CasinoCategoriesSlider-Dg6UQ05U.js +594 -0
  21. package/components/CasinoCategoriesSlider-DqNp_BOt.js +594 -0
  22. package/components/CasinoCategoriesSlider-GrF0HXC7.cjs +1 -0
  23. package/components/CasinoCategoriesSlider-_w_55gG7.js +594 -0
  24. package/components/CasinoCategoriesSlider-pHVM7RZL.js +594 -0
  25. package/components/CasinoCollectionsProviders-BIcovGJ8.js +646 -0
  26. package/components/CasinoCollectionsProviders-CH2GAKzC.cjs +1 -0
  27. package/components/CasinoCollectionsProviders-D45_hU-I.js +646 -0
  28. package/components/CasinoCollectionsProviders-DMj_7QBU.cjs +1 -0
  29. package/components/CasinoCollectionsProviders-DfgvvOqL.js +651 -0
  30. package/components/CasinoCollectionsProviders-N_n3oOYS.js +651 -0
  31. package/components/CasinoFavoritesSection-B0uLh581.js +426 -0
  32. package/components/CasinoFavoritesSection-BD3Pecym.cjs +1 -0
  33. package/components/CasinoFavoritesSection-BMVarhje.cjs +1 -0
  34. package/components/CasinoFavoritesSection-B_tSVGIY.js +426 -0
  35. package/components/CasinoFavoritesSection-Da-NSsar.js +426 -0
  36. package/components/CasinoFavoritesSection-Dm0HviHl.js +426 -0
  37. package/components/CasinoFilter-B9sKxzVS.js +620 -0
  38. package/components/CasinoFilter-CMVqOmbG.js +619 -0
  39. package/components/CasinoFilter-Cf00T9dk.js +620 -0
  40. package/components/CasinoFilter-D3HxH1PB.cjs +1 -0
  41. package/components/CasinoFilter-DD3HMkSy.js +619 -0
  42. package/components/CasinoFilter-c8_bvC4c.cjs +1 -0
  43. package/components/CasinoGamePage-BundiLLb.js +4266 -0
  44. package/components/CasinoGamePage-C10RyyZp.cjs +18 -0
  45. package/components/CasinoGamePage-CfbBY5CU.cjs +18 -0
  46. package/components/CasinoGamePage-DC-LoQTc.js +4266 -0
  47. package/components/CasinoGamePage-OZnVr_Bg.js +4287 -0
  48. package/components/CasinoGamePage-yVND0I7w.js +4287 -0
  49. package/components/CasinoGameThumbnail-B1NNWJ0K.js +1820 -0
  50. package/components/CasinoGameThumbnail-Bc66QenW.cjs +38 -0
  51. package/components/CasinoGameThumbnail-CIGOC4uM.js +1820 -0
  52. package/components/CasinoGameThumbnail-DA3jcFAi.js +1836 -0
  53. package/components/CasinoGameThumbnail-DT9ORm8q.js +1836 -0
  54. package/components/CasinoGameThumbnail-DcqwhTjb.cjs +38 -0
  55. package/components/CasinoGamesCategorySection-BNYOO745.cjs +1 -0
  56. package/components/CasinoGamesCategorySection-C78ehK4U.js +2991 -0
  57. package/components/CasinoGamesCategorySection-Cagm02Ih.js +3020 -0
  58. package/components/CasinoGamesCategorySection-DBr4EIfz.js +2991 -0
  59. package/components/CasinoGamesCategorySection-Kzwpz7w5.js +3020 -0
  60. package/components/CasinoGamesCategorySection-_vABwskz.cjs +1 -0
  61. package/components/CasinoJackpotBanner-5cCB-mh2.js +592 -0
  62. package/components/CasinoJackpotBanner-Agfg0mZ0.js +592 -0
  63. package/components/CasinoJackpotBanner-BAhiOMZp.cjs +1 -0
  64. package/components/CasinoJackpotBanner-D7ZMZfDV.cjs +1 -0
  65. package/components/CasinoJackpotBanner-DR-ZzHCR.js +596 -0
  66. package/components/CasinoJackpotBanner-QB6MSrF4.js +596 -0
  67. package/components/CasinoLastPlayedSection-BjhQKUSK.js +556 -0
  68. package/components/CasinoLastPlayedSection-BxzCwcL-.js +556 -0
  69. package/components/CasinoLastPlayedSection-D4vCeonE.js +556 -0
  70. package/components/CasinoLastPlayedSection-Dwe4Td9f.cjs +1 -0
  71. package/components/CasinoLastPlayedSection-XK5dzsj-.js +556 -0
  72. package/components/CasinoLastPlayedSection-v0aQnExT.cjs +1 -0
  73. package/components/CasinoLobby-AFKKESbR.cjs +1 -0
  74. package/components/CasinoLobby-CHvuexFs.js +2315 -0
  75. package/components/CasinoLobby-ClhYpfUU.js +2315 -0
  76. package/components/CasinoLobby-DALY2Dhs.cjs +1 -0
  77. package/components/CasinoLobby-hrKaH7qN.js +2315 -0
  78. package/components/CasinoLobby-ouSesgdC.js +2315 -0
  79. package/components/CasinoModal-BIVMlWQX.js +359 -0
  80. package/components/CasinoModal-BYKM2vRV.cjs +1 -0
  81. package/components/CasinoModal-C3wpERtX.js +359 -0
  82. package/components/CasinoModal-Cabai4o3.js +359 -0
  83. package/components/CasinoModal-DRyqJh1Q.cjs +1 -0
  84. package/components/CasinoModal-Dw_y4THL.js +359 -0
  85. package/components/CasinoMostPlayedSection-C3K0hu8_.js +583 -0
  86. package/components/CasinoMostPlayedSection-CJYMI9VB.js +583 -0
  87. package/components/CasinoMostPlayedSection-DJQuOa6_.js +583 -0
  88. package/components/CasinoMostPlayedSection-DmUpsWqs.cjs +1 -0
  89. package/components/CasinoMostPlayedSection-OUtCsU0t.cjs +1 -0
  90. package/components/CasinoMostPlayedSection-Y5er9Bjh.js +583 -0
  91. package/components/CasinoMyGames-BIxyEUtK.js +1306 -0
  92. package/components/CasinoMyGames-D5rJT74m.cjs +1 -0
  93. package/components/CasinoMyGames-DI1lwYc8.js +1305 -0
  94. package/components/CasinoMyGames-DTHVNaKn.cjs +1 -0
  95. package/components/CasinoMyGames-DwUV6CBn.js +1305 -0
  96. package/components/CasinoMyGames-ctBoKyAg.js +1306 -0
  97. package/components/CasinoPage-BGO7Qjz8.js +3535 -0
  98. package/components/CasinoPage-Bw9pVfhj.cjs +1 -0
  99. package/components/CasinoPage-Ccz2mt9L.js +3535 -0
  100. package/components/CasinoPage-D4SKFGBe.cjs +1 -0
  101. package/components/CasinoPage-DLYXRAgH.js +3538 -0
  102. package/components/CasinoPage-OtILzfbb.js +3538 -0
  103. package/components/CasinoRandomGame-CtZOIJcN.js +658 -0
  104. package/components/CasinoRandomGame-Cveyjhn1.js +642 -0
  105. package/components/CasinoRandomGame-DALiyns2.cjs +2 -0
  106. package/components/CasinoRandomGame-DVoXDVJK.cjs +2 -0
  107. package/components/CasinoRandomGame-DbeS8lnM.js +642 -0
  108. package/components/CasinoRandomGame-HLWP49DK.js +658 -0
  109. package/components/CasinoSearch-B8OpEZBN.cjs +1 -0
  110. package/components/CasinoSearch-BMZWS8yv.js +1058 -0
  111. package/components/CasinoSearch-BQe9Q-5N.js +1060 -0
  112. package/components/CasinoSearch-B_Yrv4Uo.cjs +1 -0
  113. package/components/CasinoSearch-CbqN_jyR.js +1058 -0
  114. package/components/CasinoSearch-D9U7Yh_K.js +1060 -0
  115. package/components/CasinoSlider-BOVT94iB.js +794 -0
  116. package/components/CasinoSlider-BSHGeAYd.js +788 -0
  117. package/components/CasinoSlider-BvS3IBvk.cjs +1 -0
  118. package/components/CasinoSlider-CF-wUwQR.cjs +1 -0
  119. package/components/CasinoSlider-CrHKe4Xk.js +803 -0
  120. package/components/CasinoSlider-Cxh3sOkP.js +797 -0
  121. package/components/CasinoSort-BOWrHLh_.js +420 -0
  122. package/components/CasinoSort-BwnNTnFA.js +420 -0
  123. package/components/CasinoSort-DTw1r10v.js +419 -0
  124. package/components/CasinoSort-DWtBvm9D.cjs +1 -0
  125. package/components/CasinoSort-LblMuLP4.js +419 -0
  126. package/components/CasinoSort-hnzXlXWX.cjs +1 -0
  127. package/components/CasinoWinners-C9izX5Hz.js +955 -0
  128. package/components/CasinoWinners-CO3x7y86.js +955 -0
  129. package/components/CasinoWinners-CZWuAxEs.js +953 -0
  130. package/components/CasinoWinners-CjaKY4pX.cjs +1 -0
  131. package/components/CasinoWinners-DOucg2Bq.js +953 -0
  132. package/components/CasinoWinners-xdJkyzy9.cjs +1 -0
  133. package/components/GeneralAnimationLoading-C4-n6eKC.cjs +1 -0
  134. package/components/GeneralAnimationLoading-CGGvPAzb.js +75 -0
  135. package/components/GeneralAnimationLoading-Ch_RgnSg.js +75 -0
  136. package/components/GeneralAnimationLoading-DBrwarIl.js +75 -0
  137. package/components/GeneralAnimationLoading-YY_Qislb.cjs +1 -0
  138. package/components/GeneralAnimationLoading-qKrL3K2W.js +75 -0
  139. package/es2015/casino-lobby.cjs +1 -0
  140. package/es2015/casino-lobby.js +16 -0
  141. package/esnext/casino-lobby.js +14 -0
  142. package/package.json +19 -34
  143. package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
  144. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
  145. package/stencil/casino-play-random-game-CE7d8ftV.js +559 -0
  146. package/stencil/casino-play-random-game-JlSgoZ7I.js +577 -0
  147. package/stencil/casino-play-random-game-fmski7eY.cjs +371 -0
  148. package/stencil/index-bc02f5d1-CGWk9tpa.js +609 -0
  149. package/stencil/index-bc02f5d1-Cfiraoh4.js +625 -0
  150. package/stencil/index-bc02f5d1-zY9WEQOW.cjs +1 -0
  151. package/CHANGELOG.md +0 -39
  152. package/README.md +0 -0
  153. package/dist/casino-lobby.js +0 -33
  154. package/dist/casino-lobby.js.map +0 -1
  155. package/documentation.md +0 -176
  156. package/index.html +0 -50
  157. package/index.js +0 -1
  158. package/public/favicon.png +0 -0
  159. package/public/reset.css +0 -48
  160. package/rollup.config.js +0 -67
  161. package/src/CasinoLobby.svelte +0 -454
  162. package/src/i18n.js +0 -25
  163. package/src/index.ts +0 -4
  164. package/stories/CasinoLobby.stories.js +0 -13
  165. package/tsconfig.json +0 -6
@@ -0,0 +1,620 @@
1
+ import { $ as te, W as pe, a as fe, S as ge, i as ue, f as P, c as me, s as he, b as Fe, e as u, d as z, D as le, j as V, k as be, o as ye, K as ve, n as we, L as _e, M as Ce, N as ke, q as re, G as $, r as A, u as D, v as n, w as s, x as ee, B as j, C as xe, U as de, X as ie, F as Se, E as ae } from "./CasinoCalendar-T2eu_ijJ.js";
2
+ function Ie({ withLocale: l, translations: e }) {
3
+ te.subscribe((t) => {
4
+ t == null && (pe.set(e), te.set(l));
5
+ });
6
+ }
7
+ function ne(l, e) {
8
+ fe(l, e);
9
+ }
10
+ const oe = {
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 Le(l) {
121
+ Fe(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%}}');
122
+ }
123
+ function se(l, e, t) {
124
+ const i = l.slice();
125
+ return i[35] = e[t], i[36] = e, i[37] = t, i;
126
+ }
127
+ function Pe(l) {
128
+ let e, t, i, a, c, h, w, _, C = (
129
+ /*$_*/
130
+ l[11]("filterby") + ""
131
+ ), f, k, y, O, I = (
132
+ /*$_*/
133
+ l[11]("providers") + ""
134
+ ), M, x, d, b, F, N, E, S, G, T, B, X, L, W = (
135
+ /*$_*/
136
+ l[11]("clear") + ""
137
+ ), R, J, H, U, Z, Q;
138
+ function Y(o, v) {
139
+ return (
140
+ /*fullSelection*/
141
+ o[7] ? Oe : De
142
+ );
143
+ }
144
+ let q = Y(l), r = q(l), g = re(
145
+ /*vendorArray*/
146
+ l[5]
147
+ ), p = [];
148
+ for (let o = 0; o < g.length; o += 1)
149
+ p[o] = ce(se(l, g, o));
150
+ return {
151
+ c() {
152
+ e = u("div"), t = u("div"), i = u("div"), a = $("svg"), c = $("path"), h = A(), w = u("div"), _ = u("span"), f = D(C), k = A(), y = u("div"), O = u("span"), M = D(I), x = A(), r.c(), d = A(), b = u("span"), F = $("svg"), N = $("path"), G = A(), T = u("div"), B = u("ul");
153
+ for (let o = 0; o < p.length; o += 1)
154
+ p[o].c();
155
+ X = A(), L = u("button"), R = D(W), n(c, "id", "noun_filter_736223"), n(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"), n(c, "transform", "translate(-5 -6.2)"), n(c, "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(_, "class", "FilterName"), n(y, "class", "FilterValueContainer"), n(w, "class", "FilterTextContainer"), n(i, "class", "FilterMainArea"), n(N, "id", "arrow"), n(N, "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(N, "transform", "translate(-274.511 -441.088)"), n(N, "fill", "#d1d1d1"), n(F, "xmlns", "http://www.w3.org/2000/svg"), n(F, "width", "14"), n(F, "height", "6.835"), n(F, "viewBox", "0 0 14 6.835"), n(b, "class", E = "TriangleInactive " + /*isFilterActive*/
156
+ (l[4] ? "TriangleActive" : "")), n(t, "class", S = "FilterSelector " + /*isFilterActive*/
157
+ (l[4] ? "FilterSelectorOpen" : "")), n(B, "class", "FilterDropdown"), n(L, "class", "ClearFilters"), L.disabled = J = /*fullSelection*/
158
+ l[7] && /*selectedVendorArray*/
159
+ l[6].length != /*vendorArray*/
160
+ l[5].length, n(T, "class", H = "FilterDropdownContainer " + /*isFilterActive*/
161
+ (l[4] ? "FilterOpen" : "")), n(e, "class", U = "FilterContainer " + /*addfilterselector*/
162
+ (l[0] == "true" && /*addsortingselector*/
163
+ l[1] == "true" ? "FilerContainerSplit" : ""));
164
+ },
165
+ m(o, v) {
166
+ z(o, e, v), s(e, t), s(t, i), s(i, a), s(a, c), s(i, h), s(i, w), s(w, _), s(_, f), s(w, k), s(w, y), s(y, O), s(O, M), s(y, x), r.m(y, null), s(t, d), s(t, b), s(b, F), s(F, N), s(e, G), s(e, T), s(T, B);
167
+ for (let m = 0; m < p.length; m += 1)
168
+ p[m] && p[m].m(B, null);
169
+ s(T, X), s(T, L), s(L, R), Z || (Q = [
170
+ ee(
171
+ t,
172
+ "click",
173
+ /*click_handler*/
174
+ l[22]
175
+ ),
176
+ ee(
177
+ L,
178
+ "click",
179
+ /*click_handler_2*/
180
+ l[25]
181
+ )
182
+ ], Z = !0);
183
+ },
184
+ p(o, v) {
185
+ if (v[0] & /*$_*/
186
+ 2048 && C !== (C = /*$_*/
187
+ o[11]("filterby") + "") && j(f, C), v[0] & /*$_*/
188
+ 2048 && I !== (I = /*$_*/
189
+ o[11]("providers") + "") && j(M, I), q === (q = Y(o)) && r ? r.p(o, v) : (r.d(1), r = q(o), r && (r.c(), r.m(y, null))), v[0] & /*isFilterActive*/
190
+ 16 && E !== (E = "TriangleInactive " + /*isFilterActive*/
191
+ (o[4] ? "TriangleActive" : "")) && n(b, "class", E), v[0] & /*isFilterActive*/
192
+ 16 && S !== (S = "FilterSelector " + /*isFilterActive*/
193
+ (o[4] ? "FilterSelectorOpen" : "")) && n(t, "class", S), v[0] & /*filterbylogo, vendorArray, filterByVendors*/
194
+ 8228) {
195
+ g = re(
196
+ /*vendorArray*/
197
+ o[5]
198
+ );
199
+ let m;
200
+ for (m = 0; m < g.length; m += 1) {
201
+ const K = se(o, g, m);
202
+ p[m] ? p[m].p(K, v) : (p[m] = ce(K), p[m].c(), p[m].m(B, null));
203
+ }
204
+ for (; m < p.length; m += 1)
205
+ p[m].d(1);
206
+ p.length = g.length;
207
+ }
208
+ v[0] & /*$_*/
209
+ 2048 && W !== (W = /*$_*/
210
+ o[11]("clear") + "") && j(R, W), v[0] & /*fullSelection, selectedVendorArray, vendorArray*/
211
+ 224 && J !== (J = /*fullSelection*/
212
+ o[7] && /*selectedVendorArray*/
213
+ o[6].length != /*vendorArray*/
214
+ o[5].length) && (L.disabled = J), v[0] & /*isFilterActive*/
215
+ 16 && H !== (H = "FilterDropdownContainer " + /*isFilterActive*/
216
+ (o[4] ? "FilterOpen" : "")) && n(T, "class", H), v[0] & /*addfilterselector, addsortingselector*/
217
+ 3 && U !== (U = "FilterContainer " + /*addfilterselector*/
218
+ (o[0] == "true" && /*addsortingselector*/
219
+ o[1] == "true" ? "FilerContainerSplit" : "")) && n(e, "class", U);
220
+ },
221
+ d(o) {
222
+ o && V(e), r.d(), xe(p, o), Z = !1, de(Q);
223
+ }
224
+ };
225
+ }
226
+ function Ae(l) {
227
+ let e, t = (
228
+ /*$_*/
229
+ l[11]("500") + ""
230
+ ), i;
231
+ return {
232
+ c() {
233
+ e = u("p"), i = D(t), n(e, "class", "SearchLoading");
234
+ },
235
+ m(a, c) {
236
+ z(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 && V(e);
245
+ }
246
+ };
247
+ }
248
+ function De(l) {
249
+ let e, t;
250
+ return {
251
+ c() {
252
+ e = u("span"), t = D(
253
+ /*selectionNumber*/
254
+ l[8]
255
+ ), n(e, "class", "FilterCounter");
256
+ },
257
+ m(i, a) {
258
+ z(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 && V(e);
270
+ }
271
+ };
272
+ }
273
+ function Oe(l) {
274
+ let e, t = (
275
+ /*$_*/
276
+ l[11]("all") + ""
277
+ ), i;
278
+ return {
279
+ c() {
280
+ e = u("span"), i = D(t), n(e, "class", "FilterCounter");
281
+ },
282
+ m(a, c) {
283
+ z(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 && V(e);
292
+ }
293
+ };
294
+ }
295
+ function Ne(l) {
296
+ let e, t;
297
+ return {
298
+ c() {
299
+ e = u("img"), ae(e.src, t = /*vendor*/
300
+ l[35].logo) || n(e, "src", t), n(e, "alt", "vendor logo");
301
+ },
302
+ m(i, a) {
303
+ z(i, e, a);
304
+ },
305
+ p(i, a) {
306
+ a[0] & /*vendorArray*/
307
+ 32 && !ae(e.src, t = /*vendor*/
308
+ i[35].logo) && n(e, "src", t);
309
+ },
310
+ d(i) {
311
+ i && V(e);
312
+ }
313
+ };
314
+ }
315
+ function Te(l) {
316
+ let e, t, i = (
317
+ /*vendor*/
318
+ l[35].name + ""
319
+ ), a, c, h, w, _ = (
320
+ /*vendor*/
321
+ l[35].games.count + ""
322
+ ), C, f;
323
+ return {
324
+ c() {
325
+ e = u("div"), t = u("span"), a = D(i), c = A(), h = u("span"), w = D("("), C = D(_), f = D(")"), n(t, "class", "VendorName"), n(e, "class", "FilterItemLabel");
326
+ },
327
+ m(k, y) {
328
+ z(k, e, y), s(e, t), s(t, a), s(e, c), s(e, h), s(h, w), s(h, C), s(h, f);
329
+ },
330
+ p(k, y) {
331
+ y[0] & /*vendorArray*/
332
+ 32 && i !== (i = /*vendor*/
333
+ k[35].name + "") && j(a, i), y[0] & /*vendorArray*/
334
+ 32 && _ !== (_ = /*vendor*/
335
+ k[35].games.count + "") && j(C, _);
336
+ },
337
+ d(k) {
338
+ k && V(e);
339
+ }
340
+ };
341
+ }
342
+ function ce(l) {
343
+ let e, t, i, a, c, h, w, _, C, f, k, y;
344
+ function O() {
345
+ l[23].call(
346
+ i,
347
+ /*each_value*/
348
+ l[36],
349
+ /*vendor_index*/
350
+ l[37]
351
+ );
352
+ }
353
+ function I() {
354
+ return (
355
+ /*click_handler_1*/
356
+ l[24](
357
+ /*vendor*/
358
+ l[35]
359
+ )
360
+ );
361
+ }
362
+ function M(b, F) {
363
+ if (
364
+ /*filterbylogo*/
365
+ b[2] === "false"
366
+ ) return Te;
367
+ if (
368
+ /*filterbylogo*/
369
+ b[2] === "true"
370
+ ) return Ne;
371
+ }
372
+ let x = M(l), d = x && x(l);
373
+ return {
374
+ c() {
375
+ e = u("li"), t = u("label"), i = u("input"), c = A(), h = u("span"), w = A(), d && d.c(), _ = A(), n(i, "type", "checkbox"), n(i, "name", "checkbox"), i.__value = a = /*vendor*/
376
+ l[35].name, ie(i, i.__value), n(h, "class", "FiltersCheckmark"), n(t, "class", "FilterLabel"), n(e, "class", C = "FilterItem " + /*filterbylogo*/
377
+ (l[2] === "true" ? "FilterItemWithLogos" : "")), e.value = f = /*vendor*/
378
+ l[35].name;
379
+ },
380
+ m(b, F) {
381
+ z(b, e, F), s(e, t), s(t, i), i.checked = /*vendor*/
382
+ l[35].isFilterSelected, s(t, c), s(t, h), s(t, w), d && d.m(t, null), s(e, _), k || (y = [
383
+ ee(i, "change", O),
384
+ ee(i, "click", I)
385
+ ], k = !0);
386
+ },
387
+ p(b, F) {
388
+ l = b, F[0] & /*vendorArray*/
389
+ 32 && a !== (a = /*vendor*/
390
+ l[35].name) && (i.__value = a, ie(i, i.__value)), F[0] & /*vendorArray*/
391
+ 32 && (i.checked = /*vendor*/
392
+ l[35].isFilterSelected), x === (x = M(l)) && d ? d.p(l, F) : (d && d.d(1), d = x && x(l), d && (d.c(), d.m(t, null))), F[0] & /*filterbylogo*/
393
+ 4 && C !== (C = "FilterItem " + /*filterbylogo*/
394
+ (l[2] === "true" ? "FilterItemWithLogos" : "")) && n(e, "class", C), F[0] & /*vendorArray*/
395
+ 32 && f !== (f = /*vendor*/
396
+ l[35].name) && (e.value = f);
397
+ },
398
+ d(b) {
399
+ b && V(e), d && d.d(), k = !1, de(y);
400
+ }
401
+ };
402
+ }
403
+ function Me(l) {
404
+ let e;
405
+ function t(c, h) {
406
+ if (
407
+ /*hasErrors*/
408
+ c[10]
409
+ ) return Ae;
410
+ if (!/*isLoading*/
411
+ c[9]) return Pe;
412
+ }
413
+ let i = t(l), a = i && i(l);
414
+ return {
415
+ c() {
416
+ e = u("div"), a && a.c();
417
+ },
418
+ m(c, h) {
419
+ z(c, e, h), a && a.m(e, null), l[26](e);
420
+ },
421
+ p(c, h) {
422
+ 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
+ },
424
+ i: le,
425
+ o: le,
426
+ d(c) {
427
+ c && V(e), a && a.d(), l[26](null);
428
+ }
429
+ };
430
+ }
431
+ function Ee(l, e, t) {
432
+ let i;
433
+ be(l, Se, (r) => t(11, i = r));
434
+ let { endpoint: a = "" } = e, { datasource: c = "" } = e, { lang: h = "" } = e, { translationurl: w = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: C = "" } = e, { categoryid: f = "" } = e, { addfilterselector: k = "false" } = e, { addsortingselector: y = "false" } = e, { filterbylogo: O = "false" } = e, I = !1, M = window.navigator.userAgent, x = [], d = [], b = {}, F = !1, N = 0, E = !0, S, G = !1;
435
+ Ie({ withLocale: "en", translations: {} });
436
+ const T = () => {
437
+ fetch(w).then((g) => g.json()).then((g) => {
438
+ Object.keys(g).forEach((p) => {
439
+ ne(p, g[p]);
440
+ });
441
+ }).catch((g) => {
442
+ console.log(g);
443
+ });
444
+ };
445
+ Object.keys(oe).forEach((r) => {
446
+ ne(r, oe[r]);
447
+ }), b[f] && (b = { [f]: [] });
448
+ const B = () => {
449
+ t(4, I = !I), window.postMessage({ type: "FilterOpened" }, window.location.href);
450
+ }, X = (r) => (t(9, E = !0), new Promise((g, p) => {
451
+ fetch(r).then((o) => o.json()).then((o) => {
452
+ o = o.items, g(o.items), t(6, d = []);
453
+ let v = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
454
+ o.forEach((m) => {
455
+ var K;
456
+ v || (v = { currentCategoryId: [] }), ((K = v[f]) == null ? void 0 : K.indexOf(m.id)) >= 0 ? (m.isFilterSelected = !0, d.push(m)) : m.isFilterSelected = !1;
457
+ }), t(5, x = o), W();
458
+ }).catch((o) => {
459
+ console.error(o), t(10, G = !0), p(o);
460
+ }).finally(() => {
461
+ t(9, E = !1);
462
+ });
463
+ })), L = (r) => {
464
+ let g = localStorage.getItem("vendorFiltersByCategory");
465
+ r.isFilterSelected = !r.isFilterSelected, !d.length || d.filter((p) => p.name === r.name).length == 0 ? d.push(r) : t(6, d = d.filter((p) => p.name !== r.name)), g == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(b = {
466
+ [f]: d.map((p) => p.id)
467
+ })) : (g = JSON.parse(g), g[f] = d.map((p) => p.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(g))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), W();
468
+ }, W = () => {
469
+ t(7, F = d.length === x.length || d.length == 0), t(8, N = d.length);
470
+ }, R = () => {
471
+ const r = new URL(`${a}/v1/casino/vendors`);
472
+ t(4, I = !1), r.searchParams.append("fields", "id,name,logo,subVendors,games"), r.searchParams.append("language", h), r.searchParams.append("datasource", c), r.searchParams.append("platform", ve(M)), (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})`), X(r);
473
+ }, J = () => {
474
+ t(6, d = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(b = {
475
+ [f]: d.map((r) => r.id)
476
+ })), x.forEach((r) => r.isFilterSelected = !1), t(5, x), window.postMessage({ type: "ApplyFilters" }, window.location.href), t(7, F = !0), t(4, I = !1);
477
+ }, H = (r) => {
478
+ r.data.type == "SortingOpened" && t(4, I = !1);
479
+ };
480
+ ye(() => (window.addEventListener("message", H, !1), () => {
481
+ window.removeEventListener("message", H);
482
+ }));
483
+ const U = () => B();
484
+ function Z(r, g) {
485
+ r[g].isFilterSelected = this.checked, t(5, x);
486
+ }
487
+ const Q = (r) => L(r), Y = () => J();
488
+ function q(r) {
489
+ we[r ? "unshift" : "push"](() => {
490
+ S = r, t(3, S);
491
+ });
492
+ }
493
+ return l.$$set = (r) => {
494
+ "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, C = r.clientstylingurl), "categoryid" in r && t(21, f = r.categoryid), "addfilterselector" in r && t(0, k = r.addfilterselector), "addsortingselector" in r && t(1, y = r.addsortingselector), "filterbylogo" in r && t(2, O = r.filterbylogo);
495
+ }, l.$$.update = () => {
496
+ l.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
497
+ 2195460 && a && c && f && O && R(), l.$$.dirty[0] & /*clientstyling, customStylingContainer*/
498
+ 524296 && _ && S && _e(S, _), l.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
499
+ 1048584 && C && S && Ce(S), l.$$.dirty[0] & /*customStylingContainer*/
500
+ 8 && S && ke(S, "Casino.Style"), l.$$.dirty[0] & /*translationurl*/
501
+ 262144 && w && T();
502
+ }, [
503
+ k,
504
+ y,
505
+ O,
506
+ S,
507
+ I,
508
+ x,
509
+ d,
510
+ F,
511
+ N,
512
+ E,
513
+ G,
514
+ i,
515
+ B,
516
+ L,
517
+ J,
518
+ a,
519
+ c,
520
+ h,
521
+ w,
522
+ _,
523
+ C,
524
+ f,
525
+ U,
526
+ Z,
527
+ Q,
528
+ Y,
529
+ q
530
+ ];
531
+ }
532
+ class Be extends ge {
533
+ constructor(e) {
534
+ super(), ue(
535
+ this,
536
+ e,
537
+ Ee,
538
+ Me,
539
+ he,
540
+ {
541
+ endpoint: 15,
542
+ datasource: 16,
543
+ lang: 17,
544
+ translationurl: 18,
545
+ clientstyling: 19,
546
+ clientstylingurl: 20,
547
+ categoryid: 21,
548
+ addfilterselector: 0,
549
+ addsortingselector: 1,
550
+ filterbylogo: 2
551
+ },
552
+ Le,
553
+ [-1, -1]
554
+ );
555
+ }
556
+ get endpoint() {
557
+ return this.$$.ctx[15];
558
+ }
559
+ set endpoint(e) {
560
+ this.$$set({ endpoint: e }), P();
561
+ }
562
+ get datasource() {
563
+ return this.$$.ctx[16];
564
+ }
565
+ set datasource(e) {
566
+ this.$$set({ datasource: e }), P();
567
+ }
568
+ get lang() {
569
+ return this.$$.ctx[17];
570
+ }
571
+ set lang(e) {
572
+ this.$$set({ lang: e }), P();
573
+ }
574
+ get translationurl() {
575
+ return this.$$.ctx[18];
576
+ }
577
+ set translationurl(e) {
578
+ this.$$set({ translationurl: e }), P();
579
+ }
580
+ get clientstyling() {
581
+ return this.$$.ctx[19];
582
+ }
583
+ set clientstyling(e) {
584
+ this.$$set({ clientstyling: e }), P();
585
+ }
586
+ get clientstylingurl() {
587
+ return this.$$.ctx[20];
588
+ }
589
+ set clientstylingurl(e) {
590
+ this.$$set({ clientstylingurl: e }), P();
591
+ }
592
+ get categoryid() {
593
+ return this.$$.ctx[21];
594
+ }
595
+ set categoryid(e) {
596
+ this.$$set({ categoryid: e }), P();
597
+ }
598
+ get addfilterselector() {
599
+ return this.$$.ctx[0];
600
+ }
601
+ set addfilterselector(e) {
602
+ this.$$set({ addfilterselector: e }), P();
603
+ }
604
+ get addsortingselector() {
605
+ return this.$$.ctx[1];
606
+ }
607
+ set addsortingselector(e) {
608
+ this.$$set({ addsortingselector: e }), P();
609
+ }
610
+ get filterbylogo() {
611
+ return this.$$.ctx[2];
612
+ }
613
+ set filterbylogo(e) {
614
+ this.$$set({ filterbylogo: e }), P();
615
+ }
616
+ }
617
+ me(Be, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {} }, [], [], !0);
618
+ export {
619
+ Be as default
620
+ };