@everymatrix/casino-lobby 1.60.1 → 1.61.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (128) hide show
  1. package/components/CasinoCalendar-CR3NqEmo.cjs +22 -0
  2. package/components/{CasinoCalendar-Km8tdNHN.js → CasinoCalendar-DoAbSivX.js} +690 -712
  3. package/components/{CasinoCalendar-6ncpIgng.js → CasinoCalendar-m598e8c0.js} +696 -718
  4. package/components/CasinoCalendarDailyDetails-B-xYqIE0.js +694 -0
  5. package/components/CasinoCalendarDailyDetails-DwcDf4x5.js +694 -0
  6. package/components/CasinoCalendarDailyDetails-ihh2Fdl-.cjs +1 -0
  7. package/components/CasinoCalendarDailyItem-CVcykkiO.cjs +1 -0
  8. package/components/CasinoCalendarDailyItem-DD1zORXJ.js +307 -0
  9. package/components/CasinoCalendarDailyItem-Jx2wAoY3.js +307 -0
  10. package/components/CasinoCategoriesSlider-BqUXbvm-.cjs +1 -0
  11. package/components/{CasinoCategoriesSlider-DRIsr69C.js → CasinoCategoriesSlider-DE0uzQfF.js} +68 -68
  12. package/components/{CasinoCategoriesSlider-DYab11Z3.js → CasinoCategoriesSlider-DW81y1el.js} +69 -69
  13. package/components/{CasinoCollectionsProviders-pk8jpLQt.js → CasinoCollectionsProviders-CkxoIQMQ.js} +205 -203
  14. package/components/{CasinoCollectionsProviders-B7d5LuGP.js → CasinoCollectionsProviders-FTsSIZe7.js} +161 -160
  15. package/components/CasinoCollectionsProviders-tBs9i_s1.cjs +1 -0
  16. package/components/{CasinoFavoritesSection-a8e9F8Ga.js → CasinoFavoritesSection-CKWkFYb4.js} +26 -26
  17. package/components/{CasinoFavoritesSection-51a03OgV.cjs → CasinoFavoritesSection-CtF6Vrcg.cjs} +1 -1
  18. package/components/{CasinoFavoritesSection-uCNlSq84.js → CasinoFavoritesSection-MnxoGd6P.js} +26 -26
  19. package/components/CasinoFilter-C_1U3dc9.cjs +1 -0
  20. package/components/CasinoFilter-Cs9ZMDdP.js +633 -0
  21. package/components/CasinoFilter-D80YfaXW.js +632 -0
  22. package/components/{CasinoGamePage-ssKF-ZD1.js → CasinoGamePage-B8-ifO-z.js} +898 -897
  23. package/components/CasinoGamePage-BhfZPeFB.cjs +18 -0
  24. package/components/{CasinoGamePage-Cp2CKRka.js → CasinoGamePage-CLMVY2d0.js} +972 -971
  25. package/components/CasinoGameThumbnail-C3GiNGVC.js +1084 -0
  26. package/components/CasinoGameThumbnail-D6vWUaB6.js +1068 -0
  27. package/components/CasinoGameThumbnail-p0ydxgWU.cjs +30 -0
  28. package/components/{CasinoGamesCategorySection-CYKXSIYS.cjs → CasinoGamesCategorySection-BfmPSDQ9.cjs} +1 -1
  29. package/components/{CasinoGamesCategorySection-BGemjnwH.js → CasinoGamesCategorySection-CIfBLzjC.js} +247 -247
  30. package/components/{CasinoGamesCategorySection-CHynVnZ8.js → CasinoGamesCategorySection-o-CZJ4iD.js} +247 -247
  31. package/components/CasinoJackpotBanner-B3ZF9rcH.js +698 -0
  32. package/components/CasinoJackpotBanner-C8HGJTlE.cjs +1 -0
  33. package/components/CasinoJackpotBanner-CdD_15mU.js +694 -0
  34. package/components/{CasinoLastPlayedSection-B64b2eJF.cjs → CasinoLastPlayedSection-BKNOgkbn.cjs} +1 -1
  35. package/components/{CasinoLastPlayedSection-CyKppEbZ.js → CasinoLastPlayedSection-BPD5poPp.js} +44 -44
  36. package/components/{CasinoLastPlayedSection-BGk4k--h.js → CasinoLastPlayedSection-Dxbzb-4o.js} +44 -44
  37. package/components/{CasinoLobby-PcRgXAeR.js → CasinoLobby-6kkVRa0v.js} +54 -54
  38. package/components/{CasinoLobby-DddN7Gev.cjs → CasinoLobby-BfVpgZO6.cjs} +1 -1
  39. package/components/{CasinoLobby-CN5AmC5K.js → CasinoLobby-Bntp7e5i.js} +56 -56
  40. package/components/{CasinoModal-d1VUXUWj.cjs → CasinoModal-CX70u0Ty.cjs} +1 -1
  41. package/components/{CasinoModal-B9Gmdwc0.js → CasinoModal-QtSV_GhN.js} +37 -37
  42. package/components/{CasinoModal-DLgyWFbs.js → CasinoModal-bTxbu9d4.js} +37 -37
  43. package/components/{CasinoMostPlayedSection-C-D6CJKY.js → CasinoMostPlayedSection-B9_yeLMk.js} +49 -49
  44. package/components/{CasinoMostPlayedSection-qIiZdQQG.js → CasinoMostPlayedSection-D-VpqDyh.js} +49 -49
  45. package/components/{CasinoMostPlayedSection-QIdWMIjm.cjs → CasinoMostPlayedSection-mgY7J84H.cjs} +1 -1
  46. package/components/{CasinoMyGames-DjXz5K51.js → CasinoMyGames-BEUz5puH.js} +46 -46
  47. package/components/{CasinoMyGames-Wpdq0oL6.js → CasinoMyGames-BQtk1EEq.js} +49 -49
  48. package/components/{CasinoMyGames-Dy1sj15h.cjs → CasinoMyGames-CoK6Wgxp.cjs} +1 -1
  49. package/components/{CasinoPage-DhSkte5y.cjs → CasinoPage-CO6a5Btu.cjs} +1 -1
  50. package/components/{CasinoPage-DMCyJTE2.js → CasinoPage-CiONVvV8.js} +85 -85
  51. package/components/{CasinoPage-D1fSPDEj.js → CasinoPage-DOSD686t.js} +93 -93
  52. package/components/{CasinoRandomGame-CfOiAKHl.js → CasinoRandomGame-C7o1QBcd.js} +195 -194
  53. package/components/CasinoRandomGame-CpRxEK7p.cjs +2 -0
  54. package/components/{CasinoRandomGame-CqripZYr.js → CasinoRandomGame-DQXmOLue.js} +157 -156
  55. package/components/{CasinoSearch-BgD0xvTa.js → CasinoSearch-CTxffz7Z.js} +65 -65
  56. package/components/{CasinoSearch-CRhnd9Yq.cjs → CasinoSearch-D8oEWBOH.cjs} +1 -1
  57. package/components/{CasinoSearch-DOguc7Dt.js → CasinoSearch-DTglx2jN.js} +65 -65
  58. package/components/CasinoSlider-BU163_5n.cjs +1 -0
  59. package/components/{CasinoSlider---x4M_hm.js → CasinoSlider-CGpDul3G.js} +221 -220
  60. package/components/{CasinoSlider-PeKujgAE.js → CasinoSlider-pPfml1-U.js} +166 -165
  61. package/components/{CasinoSort-xZsxfLYC.js → CasinoSort-BSaxbC32.js} +110 -111
  62. package/components/{CasinoSort-C78a6veQ.cjs → CasinoSort-BVq-FyEW.cjs} +1 -1
  63. package/components/{CasinoSort-BRC8Jmi_.js → CasinoSort-DGdM4QXv.js} +104 -103
  64. package/components/{CasinoWinners-DD8ZyQkV.js → CasinoWinners-BwwKfUuN.js} +176 -175
  65. package/components/CasinoWinners-CtwqFnag.cjs +1 -0
  66. package/components/{CasinoWinners-BEOhs5WG.js → CasinoWinners-i5RqXY4N.js} +185 -184
  67. package/components/{GeneralAnimationLoading-CURVDkRT.js → GeneralAnimationLoading-BszAoL3H.js} +18 -18
  68. package/components/{GeneralAnimationLoading-Bl6_sP-d.cjs → GeneralAnimationLoading-CDwioZhT.cjs} +1 -1
  69. package/components/{GeneralAnimationLoading-uswxvfCW.js → GeneralAnimationLoading-Xq-D41Fg.js} +18 -18
  70. package/es2015/casino-lobby.cjs +1 -1
  71. package/es2015/casino-lobby.js +1 -1
  72. package/esnext/casino-lobby.js +1 -1
  73. package/package.json +1 -1
  74. package/stencil/app-globals-0f993ce5-4b17CI_n.cjs +1 -0
  75. package/stencil/{app-globals-0f993ce5-Cgk0KVAu.js → app-globals-0f993ce5-DfNOCk8l.js} +3 -1
  76. package/stencil/{casino-play-random-game-Bk7toWLj.js → casino-play-random-game-6EpPs13y.js} +4 -9
  77. package/stencil/{casino-play-random-game-BW66Civ1.js → casino-play-random-game-BUvMKyaw.js} +7 -12
  78. package/stencil/{casino-play-random-game-CKM_xKne.cjs → casino-play-random-game-IjQER553.cjs} +2 -2
  79. package/stencil/index-ab3202d6-9zuW-dLG.js +575 -0
  80. package/stencil/index-ab3202d6-CGVciVSL.js +559 -0
  81. package/stencil/index-ab3202d6-c7Vf1NJ1.cjs +1 -0
  82. package/stencil/index-b2193545-CGYrx6SV.js +503 -0
  83. package/stencil/index-b2193545-DU7jU8hT.cjs +1 -0
  84. package/stencil/index-b2193545-k_uiu1dU.js +519 -0
  85. package/stencil/index-b7bbd57e-BMsMsYAr.js +550 -0
  86. package/stencil/index-b7bbd57e-CPxyz2y0.js +534 -0
  87. package/stencil/index-b7bbd57e-CiQAmzc6.cjs +1 -0
  88. package/stencil/ui-image-38c3c15f--IPbitii.js +39 -0
  89. package/stencil/ui-image-38c3c15f-CQXMTl7T.js +39 -0
  90. package/stencil/ui-image-38c3c15f-Dv8v2u8d.cjs +1 -0
  91. package/stencil/ui-image-CV8AJ9cY.js +29 -0
  92. package/stencil/ui-image-DG3xEaHN.js +11 -0
  93. package/stencil/ui-image-LuWVcxjH.cjs +1 -0
  94. package/stencil/{ui-skeleton-sAoxznwb.js → ui-skeleton-22AocHRT.js} +8 -8
  95. package/stencil/{ui-skeleton-ea659b95-CaDtZrvR.js → ui-skeleton-6d1c12ae-4HBL8qol.js} +2 -2
  96. package/stencil/{ui-skeleton-ea659b95-CvOjl779.cjs → ui-skeleton-6d1c12ae-C3POR2WV.cjs} +2 -2
  97. package/stencil/{ui-skeleton-ea659b95-DmKUoob8.js → ui-skeleton-6d1c12ae-f1sFu8zZ.js} +2 -2
  98. package/stencil/{ui-skeleton-BpUWeWAr.js → ui-skeleton-CMD3xF0X.js} +5 -5
  99. package/stencil/{ui-skeleton-D2GYc4Vd.cjs → ui-skeleton-Di9b-pPK.cjs} +1 -1
  100. package/components/CasinoCalendar-CkNAiTx8.cjs +0 -22
  101. package/components/CasinoCalendarDailyDetails-CAbwFBvZ.js +0 -693
  102. package/components/CasinoCalendarDailyDetails-CGaAU2gc.js +0 -693
  103. package/components/CasinoCalendarDailyDetails-CsEZhtVE.cjs +0 -1
  104. package/components/CasinoCalendarDailyItem-5aqnKIMr.js +0 -306
  105. package/components/CasinoCalendarDailyItem-DSlC0F3s.cjs +0 -1
  106. package/components/CasinoCalendarDailyItem-D_MTrKed.js +0 -306
  107. package/components/CasinoCategoriesSlider-_X531XfJ.cjs +0 -1
  108. package/components/CasinoCollectionsProviders-B6occ8TF.cjs +0 -1
  109. package/components/CasinoFilter-BTof425X.js +0 -632
  110. package/components/CasinoFilter-BWjq7W1e.js +0 -631
  111. package/components/CasinoFilter-C2Q93qQz.cjs +0 -1
  112. package/components/CasinoGamePage-D2huRBJX.cjs +0 -18
  113. package/components/CasinoGameThumbnail-CrrXNmw1.js +0 -1882
  114. package/components/CasinoGameThumbnail-Dq26TPSU.cjs +0 -38
  115. package/components/CasinoGameThumbnail-GBvTkmL8.js +0 -1866
  116. package/components/CasinoJackpotBanner-CuP8WP5Q.js +0 -697
  117. package/components/CasinoJackpotBanner-Dl2rX6vI.js +0 -693
  118. package/components/CasinoJackpotBanner-DredUN6K.cjs +0 -1
  119. package/components/CasinoRandomGame-CBcSHzZL.cjs +0 -2
  120. package/components/CasinoSlider-BsszznrS.cjs +0 -1
  121. package/components/CasinoWinners-Cp1yMlzb.cjs +0 -1
  122. package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +0 -1
  123. package/stencil/index-ab3202d6-BW1TSmQg.js +0 -575
  124. package/stencil/index-ab3202d6-C6VFhXtX.cjs +0 -1
  125. package/stencil/index-ab3202d6-CkTejM5U.js +0 -559
  126. package/stencil/index-b2193545-BDVBrmNo.js +0 -503
  127. package/stencil/index-b2193545-CY979_sp.js +0 -519
  128. package/stencil/index-b2193545-DPplmtxO.cjs +0 -1
@@ -1,631 +0,0 @@
1
- import { $ as le, U as fe, a as ue, S as ge, i as me, f as I, c as he, s as Fe, b as be, e as m, d as B, G as re, j as V, k as ye, o as ve, l as we, O as _e, q as Ce, r as ke, m as xe, v as ie, J as ee, w as D, x as T, y as o, z as s, A as te, E as j, F as Se, R as pe, V as ae, I as Ie, H as ne } from "./CasinoCalendar-Km8tdNHN.js";
2
- function Le({ withLocale: r, translations: e }) {
3
- le.subscribe((t) => {
4
- t == null && (fe.set(e), le.set(r));
5
- });
6
- }
7
- function oe(r, e) {
8
- ue(r, e);
9
- }
10
- const se = {
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 Pe(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 ce(r, e, t) {
124
- const i = r.slice();
125
- return i[36] = e[t], i[37] = e, i[38] = t, i;
126
- }
127
- function Ae(r) {
128
- let e, t, i, a, c, h, v, w, b = (
129
- /*$_*/
130
- r[11]("filterby") + ""
131
- ), u, _, y, N, L = (
132
- /*$_*/
133
- r[11]("providers") + ""
134
- ), C, S, g, d, F, P, W, E, k, A, M, Q, O, R = (
135
- /*$_*/
136
- r[11]("clear") + ""
137
- ), U, J, q, H, G, X;
138
- function Y(n, f) {
139
- return (
140
- /*fullSelection*/
141
- n[7] ? Te : De
142
- );
143
- }
144
- let Z = Y(r), x = Z(r), z = ie(
145
- /*vendorArray*/
146
- r[5]
147
- ), l = [];
148
- for (let n = 0; n < z.length; n += 1)
149
- l[n] = de(ce(r, z, n));
150
- return {
151
- c() {
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"), U = 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", q = "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, 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, U), G || (X = [
170
- te(
171
- t,
172
- "click",
173
- /*click_handler*/
174
- r[23]
175
- ),
176
- te(
177
- O,
178
- "click",
179
- /*click_handler_2*/
180
- r[26]
181
- )
182
- ], G = !0);
183
- },
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
- 8228) {
195
- z = ie(
196
- /*vendorArray*/
197
- n[5]
198
- );
199
- let p;
200
- for (p = 0; p < z.length; p += 1) {
201
- const K = ce(n, z, p);
202
- l[p] ? l[p].p(K, f) : (l[p] = de(K), l[p].c(), l[p].m(M, null));
203
- }
204
- for (; p < l.length; p += 1)
205
- l[p].d(1);
206
- l.length = z.length;
207
- }
208
- f[0] & /*$_*/
209
- 2048 && R !== (R = /*$_*/
210
- n[11]("clear") + "") && j(U, R), f[0] & /*fullSelection, selectedVendorArray, vendorArray*/
211
- 224 && J !== (J = /*fullSelection*/
212
- n[7] && /*selectedVendorArray*/
213
- n[6].length != /*vendorArray*/
214
- n[5].length) && (O.disabled = J), f[0] & /*isFilterActive*/
215
- 16 && q !== (q = "FilterDropdownContainer " + /*isFilterActive*/
216
- (n[4] ? "FilterOpen" : "")) && o(A, "class", q), 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 && V(e), x.d(), Se(l, n), G = !1, pe(X);
223
- }
224
- };
225
- }
226
- function Oe(r) {
227
- let e, t = (
228
- /*$_*/
229
- r[11]("500") + ""
230
- ), i;
231
- return {
232
- c() {
233
- e = m("p"), i = T(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 && V(e);
245
- }
246
- };
247
- }
248
- function De(r) {
249
- let e, t;
250
- return {
251
- c() {
252
- e = m("span"), t = T(
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 && V(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 = m("span"), i = T(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 && V(e);
292
- }
293
- };
294
- }
295
- function Ne(r) {
296
- let e, t;
297
- return {
298
- c() {
299
- e = m("img"), ne(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 && !ne(e.src, t = /*vendor*/
308
- i[36].logo) && o(e, "src", t);
309
- },
310
- d(i) {
311
- i && V(e);
312
- }
313
- };
314
- }
315
- function Ee(r) {
316
- let e, t, i = (
317
- /*vendor*/
318
- r[36].name + ""
319
- ), a, c, h, v, w = (
320
- /*vendor*/
321
- r[36].games.total + ""
322
- ), b, u;
323
- return {
324
- c() {
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
- },
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
- },
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.total + "") && j(b, w);
336
- },
337
- d(_) {
338
- _ && V(e);
339
- }
340
- };
341
- }
342
- function de(r) {
343
- let e, t, i, a, c, h, v, w, b, u, _, y;
344
- function N() {
345
- r[24].call(
346
- i,
347
- /*each_value*/
348
- r[37],
349
- /*vendor_index*/
350
- r[38]
351
- );
352
- }
353
- function L() {
354
- return (
355
- /*click_handler_1*/
356
- r[25](
357
- /*vendor*/
358
- r[36]
359
- )
360
- );
361
- }
362
- function C(d, F) {
363
- if (
364
- /*filterbylogo*/
365
- d[2] === "false"
366
- )
367
- return Ee;
368
- if (
369
- /*filterbylogo*/
370
- d[2] === "true"
371
- )
372
- return Ne;
373
- }
374
- let S = C(r), g = S && S(r);
375
- return {
376
- c() {
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, ae(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;
381
- },
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);
388
- },
389
- p(d, F) {
390
- r = d, F[0] & /*vendorArray*/
391
- 32 && a !== (a = /*vendor*/
392
- r[36].name) && (i.__value = a, ae(i, i.__value)), F[0] & /*vendorArray*/
393
- 32 && (i.checked = /*vendor*/
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);
399
- },
400
- d(d) {
401
- d && V(e), g && g.d(), _ = !1, pe(y);
402
- }
403
- };
404
- }
405
- function Me(r) {
406
- let e;
407
- function t(c, h) {
408
- if (
409
- /*hasErrors*/
410
- c[10]
411
- )
412
- return Oe;
413
- if (!/*isLoading*/
414
- c[9])
415
- return Ae;
416
- }
417
- let i = t(r), a = i && i(r);
418
- return {
419
- c() {
420
- e = m("div"), a && a.c();
421
- },
422
- m(c, h) {
423
- B(c, e, h), a && a.m(e, null), r[27](e);
424
- },
425
- p(c, h) {
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)));
427
- },
428
- i: re,
429
- o: re,
430
- d(c) {
431
- c && V(e), a && a.d(), r[27](null);
432
- }
433
- };
434
- }
435
- function ze(r, e, t) {
436
- let i;
437
- ye(r, Ie, (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
- Le({ withLocale: "en", translations: {} });
440
- const Q = () => {
441
- fetch(v).then((n) => n.json()).then((n) => {
442
- Object.keys(n).forEach((f) => {
443
- oe(f, n[f]);
444
- });
445
- }).catch((n) => {
446
- console.log(n);
447
- });
448
- };
449
- Object.keys(se).forEach((l) => {
450
- oe(l, se[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
- K || (K = { currentCategoryId: [] }), K[u]?.indexOf($.id) >= 0 ? ($.isFilterSelected = !0, d.push($)) : $.isFilterSelected = !1;
460
- }), t(5, g = p), J();
461
- }).catch((p) => {
462
- console.error(p), t(10, A = !0), f(p);
463
- }).finally(() => {
464
- t(9, E = !1);
465
- });
466
- })), U = (l) => {
467
- let n = localStorage.getItem("vendorFiltersByCategory");
468
- 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 = {
469
- [u]: d.map((f) => f.id)
470
- })) : (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();
471
- }, J = () => {
472
- t(7, P = d.length === g.length || d.length == 0), t(8, W = d.length);
473
- }, q = () => {
474
- const l = new URL(`${a}/v1/casino/vendors`);
475
- 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", _e(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);
476
- }, H = () => {
477
- t(6, d = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(F = {
478
- [u]: d.map((l) => l.id)
479
- })), g.forEach((l) => l.isFilterSelected = !1), t(5, g), window.postMessage({ type: "ApplyFilters" }, window.location.href), t(7, P = !0), t(4, C = !1);
480
- }, G = (l) => {
481
- l.data.type == "SortingOpened" && t(4, C = !1);
482
- };
483
- ve(() => (window.addEventListener("message", G, !1), () => {
484
- window.emMessageBus != null && M && M.unsubscribe(), window.removeEventListener("message", G);
485
- }));
486
- const X = () => O();
487
- function Y(l, n) {
488
- l[n].isFilterSelected = this.checked, t(5, g);
489
- }
490
- const Z = (l) => U(l), x = () => H();
491
- function z(l) {
492
- Ce[l ? "unshift" : "push"](() => {
493
- k = l, t(3, k);
494
- });
495
- }
496
- return r.$$set = (l) => {
497
- "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);
498
- }, r.$$.update = () => {
499
- r.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
500
- 2195460 && a && c && u && N && q(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
501
- 524296 && w && k && ke(k, w), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
502
- 1048584 && b && k && we(k, b), r.$$.dirty[0] & /*customStylingContainer, mbsource*/
503
- 4194312 && k && xe(k, `${L}.Style`), r.$$.dirty[0] & /*translationurl*/
504
- 262144 && v && Q();
505
- }, [
506
- _,
507
- y,
508
- N,
509
- k,
510
- C,
511
- g,
512
- d,
513
- P,
514
- W,
515
- E,
516
- A,
517
- i,
518
- O,
519
- U,
520
- H,
521
- a,
522
- c,
523
- h,
524
- v,
525
- w,
526
- b,
527
- u,
528
- L,
529
- X,
530
- Y,
531
- Z,
532
- x,
533
- z
534
- ];
535
- }
536
- class je extends ge {
537
- constructor(e) {
538
- super(), me(
539
- this,
540
- e,
541
- ze,
542
- Me,
543
- Fe,
544
- {
545
- endpoint: 15,
546
- datasource: 16,
547
- lang: 17,
548
- translationurl: 18,
549
- clientstyling: 19,
550
- clientstylingurl: 20,
551
- categoryid: 21,
552
- addfilterselector: 0,
553
- addsortingselector: 1,
554
- filterbylogo: 2,
555
- mbsource: 22
556
- },
557
- Pe,
558
- [-1, -1]
559
- );
560
- }
561
- get endpoint() {
562
- return this.$$.ctx[15];
563
- }
564
- set endpoint(e) {
565
- this.$$set({ endpoint: e }), I();
566
- }
567
- get datasource() {
568
- return this.$$.ctx[16];
569
- }
570
- set datasource(e) {
571
- this.$$set({ datasource: e }), I();
572
- }
573
- get lang() {
574
- return this.$$.ctx[17];
575
- }
576
- set lang(e) {
577
- this.$$set({ lang: e }), I();
578
- }
579
- get translationurl() {
580
- return this.$$.ctx[18];
581
- }
582
- set translationurl(e) {
583
- this.$$set({ translationurl: e }), I();
584
- }
585
- get clientstyling() {
586
- return this.$$.ctx[19];
587
- }
588
- set clientstyling(e) {
589
- this.$$set({ clientstyling: e }), I();
590
- }
591
- get clientstylingurl() {
592
- return this.$$.ctx[20];
593
- }
594
- set clientstylingurl(e) {
595
- this.$$set({ clientstylingurl: e }), I();
596
- }
597
- get categoryid() {
598
- return this.$$.ctx[21];
599
- }
600
- set categoryid(e) {
601
- this.$$set({ categoryid: e }), I();
602
- }
603
- get addfilterselector() {
604
- return this.$$.ctx[0];
605
- }
606
- set addfilterselector(e) {
607
- this.$$set({ addfilterselector: e }), I();
608
- }
609
- get addsortingselector() {
610
- return this.$$.ctx[1];
611
- }
612
- set addsortingselector(e) {
613
- this.$$set({ addsortingselector: e }), I();
614
- }
615
- get filterbylogo() {
616
- return this.$$.ctx[2];
617
- }
618
- set filterbylogo(e) {
619
- this.$$set({ filterbylogo: e }), I();
620
- }
621
- get mbsource() {
622
- return this.$$.ctx[22];
623
- }
624
- set mbsource(e) {
625
- this.$$set({ mbsource: e }), I();
626
- }
627
- }
628
- he(je, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, mbsource: {} }, [], [], !0);
629
- export {
630
- je as default
631
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-CkNAiTx8.cjs");function Y({withLocale:i,translations:t}){e.$locale.subscribe(l=>{l==null&&(e.$dictionary.set(t),e.$locale.set(i))})}function Z(i,t){e.addMessages(i,t)}const G={en:{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"},zh:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"},de:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},it:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},fr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},es:{providers:"Proveedores:",filterby:"Filtrar Por:",all:"Todos",clear:"Limpiar todos"},tr:{providers:"Sağlayıcılar:",filterby:"Filtrele:",all:"Hepsi",clear:"Tümünü Temizle"},ru:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ro:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hr:{providers:"Brendovi igara",filterby:"Filtrirati po:",all:"Sve",clear:"Očisti sve"},hu:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pt:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},"pt-br":{providers:"Provedores:",filterby:"Filtrar por",all:"Tudo",clear:"Apagar tudo"},"es-mx":{providers:"Proveedores:",filterby:"Filtrar por",all:"Todo",clear:"Borrar todo"},"en-us":{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"}};function $(i){e.append_styles(i,"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%}}')}function K(i,t,l){const a=i.slice();return a[36]=t[l],a[37]=t,a[38]=l,a}function ee(i){let t,l,a,n,s,g,b,y,h=i[11]("filterby")+"",u,v,F,P,k=i[11]("providers")+"",_,x,f,c,m,S,T,A,w,I,O,J,L,E=i[11]("clear")+"",j,M,z,N,B,q;function H(o,p){return o[7]?re:le}let V=H(i),C=V(i),D=e.ensure_array_like(i[5]),r=[];for(let o=0;o<D.length;o+=1)r[o]=Q(K(i,D,o));return{c(){t=e.element("div"),l=e.element("div"),a=e.element("div"),n=e.svg_element("svg"),s=e.svg_element("path"),g=e.space(),b=e.element("div"),y=e.element("span"),u=e.text(h),v=e.space(),F=e.element("div"),P=e.element("span"),_=e.text(k),x=e.space(),C.c(),f=e.space(),c=e.element("span"),m=e.svg_element("svg"),S=e.svg_element("path"),w=e.space(),I=e.element("div"),O=e.element("ul");for(let o=0;o<r.length;o+=1)r[o].c();J=e.space(),L=e.element("button"),j=e.text(E),e.attr(s,"id","noun_filter_736223"),e.attr(s,"d","M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"),e.attr(s,"transform","translate(-5 -6.2)"),e.attr(s,"fill","#fff"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","16"),e.attr(n,"height","16"),e.attr(n,"viewBox","0 0 16 16"),e.attr(y,"class","FilterName"),e.attr(F,"class","FilterValueContainer"),e.attr(b,"class","FilterTextContainer"),e.attr(a,"class","FilterMainArea"),e.attr(S,"id","arrow"),e.attr(S,"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"),e.attr(S,"transform","translate(-274.511 -441.088)"),e.attr(S,"fill","#d1d1d1"),e.attr(m,"xmlns","http://www.w3.org/2000/svg"),e.attr(m,"width","14"),e.attr(m,"height","6.835"),e.attr(m,"viewBox","0 0 14 6.835"),e.attr(c,"class",T="TriangleInactive "+(i[4]?"TriangleActive":"")),e.attr(l,"class",A="FilterSelector "+(i[4]?"FilterSelectorOpen":"")),e.attr(O,"class","FilterDropdown"),e.attr(L,"class","ClearFilters"),L.disabled=M=i[7]&&i[6].length!=i[5].length,e.attr(I,"class",z="FilterDropdownContainer "+(i[4]?"FilterOpen":"")),e.attr(t,"class",N="FilterContainer "+(i[0]=="true"&&i[1]=="true"?"FilerContainerSplit":""))},m(o,p){e.insert(o,t,p),e.append(t,l),e.append(l,a),e.append(a,n),e.append(n,s),e.append(a,g),e.append(a,b),e.append(b,y),e.append(y,u),e.append(b,v),e.append(b,F),e.append(F,P),e.append(P,_),e.append(F,x),C.m(F,null),e.append(l,f),e.append(l,c),e.append(c,m),e.append(m,S),e.append(t,w),e.append(t,I),e.append(I,O);for(let d=0;d<r.length;d+=1)r[d]&&r[d].m(O,null);e.append(I,J),e.append(I,L),e.append(L,j),B||(q=[e.listen(l,"click",i[23]),e.listen(L,"click",i[26])],B=!0)},p(o,p){if(p[0]&2048&&h!==(h=o[11]("filterby")+"")&&e.set_data(u,h),p[0]&2048&&k!==(k=o[11]("providers")+"")&&e.set_data(_,k),V===(V=H(o))&&C?C.p(o,p):(C.d(1),C=V(o),C&&(C.c(),C.m(F,null))),p[0]&16&&T!==(T="TriangleInactive "+(o[4]?"TriangleActive":""))&&e.attr(c,"class",T),p[0]&16&&A!==(A="FilterSelector "+(o[4]?"FilterSelectorOpen":""))&&e.attr(l,"class",A),p[0]&8228){D=e.ensure_array_like(o[5]);let d;for(d=0;d<D.length;d+=1){const W=K(o,D,d);r[d]?r[d].p(W,p):(r[d]=Q(W),r[d].c(),r[d].m(O,null))}for(;d<r.length;d+=1)r[d].d(1);r.length=D.length}p[0]&2048&&E!==(E=o[11]("clear")+"")&&e.set_data(j,E),p[0]&224&&M!==(M=o[7]&&o[6].length!=o[5].length)&&(L.disabled=M),p[0]&16&&z!==(z="FilterDropdownContainer "+(o[4]?"FilterOpen":""))&&e.attr(I,"class",z),p[0]&3&&N!==(N="FilterContainer "+(o[0]=="true"&&o[1]=="true"?"FilerContainerSplit":""))&&e.attr(t,"class",N)},d(o){o&&e.detach(t),C.d(),e.destroy_each(r,o),B=!1,e.run_all(q)}}}function te(i){let t,l=i[11]("500")+"",a;return{c(){t=e.element("p"),a=e.text(l),e.attr(t,"class","SearchLoading")},m(n,s){e.insert(n,t,s),e.append(t,a)},p(n,s){s[0]&2048&&l!==(l=n[11]("500")+"")&&e.set_data(a,l)},d(n){n&&e.detach(t)}}}function le(i){let t,l;return{c(){t=e.element("span"),l=e.text(i[8]),e.attr(t,"class","FilterCounter")},m(a,n){e.insert(a,t,n),e.append(t,l)},p(a,n){n[0]&256&&e.set_data(l,a[8])},d(a){a&&e.detach(t)}}}function re(i){let t,l=i[11]("all")+"",a;return{c(){t=e.element("span"),a=e.text(l),e.attr(t,"class","FilterCounter")},m(n,s){e.insert(n,t,s),e.append(t,a)},p(n,s){s[0]&2048&&l!==(l=n[11]("all")+"")&&e.set_data(a,l)},d(n){n&&e.detach(t)}}}function ie(i){let t,l;return{c(){t=e.element("img"),e.src_url_equal(t.src,l=i[36].logo)||e.attr(t,"src",l),e.attr(t,"alt","vendor logo")},m(a,n){e.insert(a,t,n)},p(a,n){n[0]&32&&!e.src_url_equal(t.src,l=a[36].logo)&&e.attr(t,"src",l)},d(a){a&&e.detach(t)}}}function ae(i){let t,l,a=i[36].name+"",n,s,g,b,y=i[36].games.total+"",h,u;return{c(){t=e.element("div"),l=e.element("span"),n=e.text(a),s=e.space(),g=e.element("span"),b=e.text("("),h=e.text(y),u=e.text(")"),e.attr(l,"class","VendorName"),e.attr(t,"class","FilterItemLabel")},m(v,F){e.insert(v,t,F),e.append(t,l),e.append(l,n),e.append(t,s),e.append(t,g),e.append(g,b),e.append(g,h),e.append(g,u)},p(v,F){F[0]&32&&a!==(a=v[36].name+"")&&e.set_data(n,a),F[0]&32&&y!==(y=v[36].games.total+"")&&e.set_data(h,y)},d(v){v&&e.detach(t)}}}function Q(i){let t,l,a,n,s,g,b,y,h,u,v,F;function P(){i[24].call(a,i[37],i[38])}function k(){return i[25](i[36])}function _(c,m){if(c[2]==="false")return ae;if(c[2]==="true")return ie}let x=_(i),f=x&&x(i);return{c(){t=e.element("li"),l=e.element("label"),a=e.element("input"),s=e.space(),g=e.element("span"),b=e.space(),f&&f.c(),y=e.space(),e.attr(a,"type","checkbox"),e.attr(a,"name","checkbox"),a.__value=n=i[36].name,e.set_input_value(a,a.__value),e.attr(g,"class","FiltersCheckmark"),e.attr(l,"class","FilterLabel"),e.attr(t,"class",h="FilterItem "+(i[2]==="true"?"FilterItemWithLogos":"")),t.value=u=i[36].name},m(c,m){e.insert(c,t,m),e.append(t,l),e.append(l,a),a.checked=i[36].isFilterSelected,e.append(l,s),e.append(l,g),e.append(l,b),f&&f.m(l,null),e.append(t,y),v||(F=[e.listen(a,"change",P),e.listen(a,"click",k)],v=!0)},p(c,m){i=c,m[0]&32&&n!==(n=i[36].name)&&(a.__value=n,e.set_input_value(a,a.__value)),m[0]&32&&(a.checked=i[36].isFilterSelected),x===(x=_(i))&&f?f.p(i,m):(f&&f.d(1),f=x&&x(i),f&&(f.c(),f.m(l,null))),m[0]&4&&h!==(h="FilterItem "+(i[2]==="true"?"FilterItemWithLogos":""))&&e.attr(t,"class",h),m[0]&32&&u!==(u=i[36].name)&&(t.value=u)},d(c){c&&e.detach(t),f&&f.d(),v=!1,e.run_all(F)}}}function ne(i){let t;function l(s,g){if(s[10])return te;if(!s[9])return ee}let a=l(i),n=a&&a(i);return{c(){t=e.element("div"),n&&n.c()},m(s,g){e.insert(s,t,g),n&&n.m(t,null),i[27](t)},p(s,g){a===(a=l(s))&&n?n.p(s,g):(n&&n.d(1),n=a&&a(s),n&&(n.c(),n.m(t,null)))},i:e.noop,o:e.noop,d(s){s&&e.detach(t),n&&n.d(),i[27](null)}}}function oe(i,t,l){let a;e.component_subscribe(i,e.$format,r=>l(11,a=r));let{endpoint:n=""}=t,{datasource:s=""}=t,{lang:g=""}=t,{translationurl:b=""}=t,{clientstyling:y=""}=t,{clientstylingurl:h=""}=t,{categoryid:u=""}=t,{addfilterselector:v="false"}=t,{addsortingselector:F="false"}=t,{filterbylogo:P="false"}=t,{mbsource:k}=t,_=!1,x=window.navigator.userAgent,f=[],c=[],m={},S=!1,T=0,A=!0,w,I=!1,O;Y({withLocale:"en",translations:{}});const J=()=>{fetch(b).then(o=>o.json()).then(o=>{Object.keys(o).forEach(p=>{Z(p,o[p])})}).catch(o=>{console.log(o)})};Object.keys(G).forEach(r=>{Z(r,G[r])}),m[u]&&(m={[u]:[]});const L=()=>{l(4,_=!_),window.postMessage({type:"FilterOpened"},window.location.href)},E=r=>(l(9,A=!0),new Promise((o,p)=>{fetch(r).then(d=>d.json()).then(d=>{d=d.items,o(d.items),l(6,c=[]);let W=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));d.forEach(R=>{var U;W||(W={currentCategoryId:[]}),((U=W[u])==null?void 0:U.indexOf(R.id))>=0?(R.isFilterSelected=!0,c.push(R)):R.isFilterSelected=!1}),l(5,f=d),M()}).catch(d=>{console.error(d),l(10,I=!0),p(d)}).finally(()=>{l(9,A=!1)})})),j=r=>{let o=localStorage.getItem("vendorFiltersByCategory");r.isFilterSelected=!r.isFilterSelected,!c.length||c.filter(p=>p.name===r.name).length==0?c.push(r):l(6,c=c.filter(p=>p.name!==r.name)),o==null?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(m={[u]:c.map(p=>p.id)})):(o=JSON.parse(o),o[u]=c.map(p=>p.id),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(o))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),M()},M=()=>{l(7,S=c.length===f.length||c.length==0),l(8,T=c.length)},z=()=>{const r=new URL(`${n}/v1/casino/vendors`);l(4,_=!1),r.searchParams.append("fields","id,name,logo,subVendors,games"),r.searchParams.append("language",g),r.searchParams.append("datasource",s),r.searchParams.append("platform",e.getDevice(x)),(u.match(/\$/g)||[]).length>1?(r.searchParams.append("filter",`games(subGroups=${u})`),r.searchParams.append("subVendors",`games(subGroups=${u})`)):r.searchParams.append("filter",`games(groups=${u})`),E(r)},N=()=>{l(6,c=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(m={[u]:c.map(r=>r.id)})),f.forEach(r=>r.isFilterSelected=!1),l(5,f),window.postMessage({type:"ApplyFilters"},window.location.href),l(7,S=!0),l(4,_=!1)},B=r=>{r.data.type=="SortingOpened"&&l(4,_=!1)};e.onMount(()=>(window.addEventListener("message",B,!1),()=>{window.emMessageBus!=null&&O&&O.unsubscribe(),window.removeEventListener("message",B)}));const q=()=>L();function H(r,o){r[o].isFilterSelected=this.checked,l(5,f)}const V=r=>j(r),C=()=>N();function D(r){e.binding_callbacks[r?"unshift":"push"](()=>{w=r,l(3,w)})}return i.$$set=r=>{"endpoint"in r&&l(15,n=r.endpoint),"datasource"in r&&l(16,s=r.datasource),"lang"in r&&l(17,g=r.lang),"translationurl"in r&&l(18,b=r.translationurl),"clientstyling"in r&&l(19,y=r.clientstyling),"clientstylingurl"in r&&l(20,h=r.clientstylingurl),"categoryid"in r&&l(21,u=r.categoryid),"addfilterselector"in r&&l(0,v=r.addfilterselector),"addsortingselector"in r&&l(1,F=r.addsortingselector),"filterbylogo"in r&&l(2,P=r.filterbylogo),"mbsource"in r&&l(22,k=r.mbsource)},i.$$.update=()=>{i.$$.dirty[0]&2195460&&n&&s&&u&&P&&z(),i.$$.dirty[0]&524296&&y&&w&&e.setClientStyling(w,y),i.$$.dirty[0]&1048584&&h&&w&&e.setClientStylingURL(w,h),i.$$.dirty[0]&4194312&&w&&e.setStreamStyling(w,`${k}.Style`),i.$$.dirty[0]&262144&&b&&J()},[v,F,P,w,_,f,c,S,T,A,I,a,L,j,N,n,s,g,b,y,h,u,k,q,H,V,C,D]}class X extends e.SvelteComponent{constructor(t){super(),e.init(this,t,oe,ne,e.safe_not_equal,{endpoint:15,datasource:16,lang:17,translationurl:18,clientstyling:19,clientstylingurl:20,categoryid:21,addfilterselector:0,addsortingselector:1,filterbylogo:2,mbsource:22},$,[-1,-1])}get endpoint(){return this.$$.ctx[15]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[16]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),e.flush()}get translationurl(){return this.$$.ctx[18]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get categoryid(){return this.$$.ctx[21]}set categoryid(t){this.$$set({categoryid:t}),e.flush()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(t){this.$$set({addfilterselector:t}),e.flush()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(t){this.$$set({addsortingselector:t}),e.flush()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(t){this.$$set({filterbylogo:t}),e.flush()}get mbsource(){return this.$$.ctx[22]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(X,{endpoint:{},datasource:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},addfilterselector:{},addsortingselector:{},filterbylogo:{},mbsource:{}},[],[],!0);exports.default=X;