@everymatrix/casino-lobby 1.61.1 → 1.62.1

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 (118) hide show
  1. package/components/CasinoCalendar-C8B0eACb.cjs +22 -0
  2. package/components/{CasinoCalendar-WuTw9Z8d.js → CasinoCalendar-izYyDxua.js} +912 -869
  3. package/components/{CasinoCalendar-C4nbeq1g.js → CasinoCalendar-lTuMef5g.js} +1136 -1093
  4. package/components/{CasinoCalendarDailyDetails-CHONyOB5.js → CasinoCalendarDailyDetails-BO_acJjS.js} +3 -3
  5. package/components/{CasinoCalendarDailyDetails-BAGuydyF.js → CasinoCalendarDailyDetails-BRtsgmSz.js} +3 -3
  6. package/components/{CasinoCalendarDailyDetails-DrcJ9qsj.cjs → CasinoCalendarDailyDetails-DB-0YZ9U.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-eOgZSp2O.js → CasinoCalendarDailyItem-CE-i7Rjk.js} +2 -2
  8. package/components/{CasinoCalendarDailyItem-CPM6-0C8.js → CasinoCalendarDailyItem-CearDjmk.js} +2 -2
  9. package/components/{CasinoCalendarDailyItem-B3npUDyl.cjs → CasinoCalendarDailyItem-DAkal_aw.cjs} +1 -1
  10. package/components/{CasinoCategoriesSlider-DgQayYzE.js → CasinoCategoriesSlider-CbZRQLJS.js} +2 -2
  11. package/components/{CasinoCategoriesSlider-DyNiM5Xn.js → CasinoCategoriesSlider-CtsT7oWX.js} +2 -2
  12. package/components/{CasinoCategoriesSlider-CWcGEpfR.cjs → CasinoCategoriesSlider-DtDec725.cjs} +1 -1
  13. package/components/CasinoCollectionsProviders-Bs5ioZVG.cjs +1 -0
  14. package/components/{CasinoCollectionsProviders-5PJh4coY.js → CasinoCollectionsProviders-BsANDUWq.js} +33 -33
  15. package/components/{CasinoCollectionsProviders-DvICMch1.js → CasinoCollectionsProviders-C6vH48GA.js} +31 -31
  16. package/components/{CasinoFavoritesSection-BLswksE3.js → CasinoFavoritesSection-6WkSSin3.js} +2 -2
  17. package/components/{CasinoFavoritesSection-D57jT5yq.js → CasinoFavoritesSection-Binip-ga.js} +2 -2
  18. package/components/{CasinoFavoritesSection-DXEM7KtA.cjs → CasinoFavoritesSection-Xa7P63xe.cjs} +1 -1
  19. package/components/CasinoFilter-Dg58c3Om.cjs +1 -0
  20. package/components/CasinoFilter-N8qvxcNm.js +645 -0
  21. package/components/CasinoFilter-xLSNxOV2.js +644 -0
  22. package/components/{CasinoGamePage-NTjXPK0_.js → CasinoGamePage-AxIvVXWI.js} +6 -6
  23. package/components/{CasinoGamePage-D4oYftHp.js → CasinoGamePage-DJFhafR6.js} +110 -110
  24. package/components/{CasinoGamePage-DhNoxzWb.cjs → CasinoGamePage-DQL-yFsp.cjs} +2 -2
  25. package/components/CasinoGameThumbnail-BjLYh64K.js +1836 -0
  26. package/components/CasinoGameThumbnail-CYUpL3dx.cjs +38 -0
  27. package/components/CasinoGameThumbnail-dOxN1fba.js +1852 -0
  28. package/components/{CasinoGamesCategorySection-Br-ZBeEp.js → CasinoGamesCategorySection-BUxtHhON.js} +756 -742
  29. package/components/CasinoGamesCategorySection-C0zpuZl3.cjs +1 -0
  30. package/components/{CasinoGamesCategorySection-DrL01BnG.js → CasinoGamesCategorySection-pmibtuJd.js} +1048 -1035
  31. package/components/{CasinoJackpotBanner-Yo5HGzmD.js → CasinoJackpotBanner-CdjXlJzV.js} +48 -48
  32. package/components/{CasinoJackpotBanner-CG4fFV2M.js → CasinoJackpotBanner-DcU4dn5c.js} +92 -92
  33. package/components/CasinoJackpotBanner-DkGsDt5a.cjs +1 -0
  34. package/components/{CasinoLastPlayedSection-BUIc0ZEt.js → CasinoLastPlayedSection-BP5rPSQ_.js} +2 -2
  35. package/components/{CasinoLastPlayedSection-CFEzl7GR.cjs → CasinoLastPlayedSection-D0h-rsdy.cjs} +1 -1
  36. package/components/{CasinoLastPlayedSection-DjRKGJ8F.js → CasinoLastPlayedSection-vlivUYOC.js} +2 -2
  37. package/components/{CasinoLobby-L5w-S2-2.js → CasinoLobby-CPaRNRtp.js} +262 -242
  38. package/components/{CasinoLobby-CQVjJ22J.js → CasinoLobby-CyDr4hqy.js} +262 -242
  39. package/components/CasinoLobby-Ds5HlH8Y.cjs +1 -0
  40. package/components/{CasinoModal-CeEDc631.cjs → CasinoModal-Cr5ZiTlh.cjs} +1 -1
  41. package/components/{CasinoModal-Cx4skobD.js → CasinoModal-D9IpMDiG.js} +1 -1
  42. package/components/{CasinoModal-DrALs71O.js → CasinoModal-Dk3TnqEW.js} +1 -1
  43. package/components/{CasinoMostPlayedSection-BrjuU2ad.js → CasinoMostPlayedSection-20MO7enx.js} +2 -2
  44. package/components/{CasinoMostPlayedSection-Dru8l_gX.js → CasinoMostPlayedSection-CbfiaETY.js} +2 -2
  45. package/components/{CasinoMostPlayedSection-D72Posxa.cjs → CasinoMostPlayedSection-D26xQEsr.cjs} +1 -1
  46. package/components/{CasinoMyGames-DP5VtRtX.cjs → CasinoMyGames-BpDT9BLf.cjs} +1 -1
  47. package/components/{CasinoMyGames-Cc8aQUy5.js → CasinoMyGames-CFxQ8X8x.js} +4 -4
  48. package/components/{CasinoMyGames-Eco1Z13t.js → CasinoMyGames-CadZECEx.js} +4 -4
  49. package/components/CasinoPage-CqUxa6JX.cjs +1 -0
  50. package/components/CasinoPage-DFLtQdP3.js +4071 -0
  51. package/components/{CasinoPage-BvKvwzQq.js → CasinoPage-jKeNqwgL.js} +1698 -1543
  52. package/components/{CasinoRandomGame-RYfnY5_c.js → CasinoRandomGame-CMMdb6MX.js} +192 -193
  53. package/components/CasinoRandomGame-CQSoF_L9.cjs +2 -0
  54. package/components/{CasinoRandomGame-5kYiDYSm.js → CasinoRandomGame-Dfk5ExSm.js} +153 -154
  55. package/components/{CasinoSearch-CnWoNOtX.js → CasinoSearch-B-DNLDkb.js} +4 -4
  56. package/components/{CasinoSearch-D-hwTHcV.cjs → CasinoSearch-CBYRtC_2.cjs} +1 -1
  57. package/components/{CasinoSearch-Nqv4h_zq.js → CasinoSearch-ulzQNNP2.js} +4 -4
  58. package/components/CasinoSlider-Bvy9S6qQ.cjs +1 -0
  59. package/components/{CasinoSlider-D1JzP31y.js → CasinoSlider-DCODvBVc.js} +141 -142
  60. package/components/{CasinoSlider-Cr-fAktO.js → CasinoSlider-M-ePf6YF.js} +208 -209
  61. package/components/{CasinoSort-ByAjtAxn.cjs → CasinoSort-CMyP4b81.cjs} +1 -1
  62. package/components/{CasinoSort-D51DNHxk.js → CasinoSort-Cz8W-yKd.js} +1 -1
  63. package/components/{CasinoSort-DXiP4dA5.js → CasinoSort-DJlRNRiq.js} +1 -1
  64. package/components/{CasinoWinners-B1BXrca1.js → CasinoWinners-B11A2z1V.js} +4 -4
  65. package/components/{CasinoWinners-pzI08CdT.js → CasinoWinners-B44zvyCP.js} +4 -4
  66. package/components/{CasinoWinners-CEq9st2v.cjs → CasinoWinners-CTbjyBxP.cjs} +1 -1
  67. package/components/{GeneralAnimationLoading-CI4qqgO_.js → GeneralAnimationLoading-N8PSBBga.js} +1 -1
  68. package/components/{GeneralAnimationLoading-DiZmxxRF.cjs → GeneralAnimationLoading-s32ZAU4z.cjs} +1 -1
  69. package/components/{GeneralAnimationLoading-CIaY2Gvf.js → GeneralAnimationLoading-yZge1VnD.js} +1 -1
  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/index-97d17652-CCalHFFZ.js +558 -0
  75. package/stencil/index-97d17652-CeszPuI-.cjs +1 -0
  76. package/stencil/index-97d17652-De_e2iwD.js +542 -0
  77. package/stencil/{index-b2193545-k_uiu1dU.js → index-b2193545-60VR4wV3.js} +1 -1
  78. package/stencil/{index-b2193545-CGYrx6SV.js → index-b2193545-LYFajSbf.js} +1 -1
  79. package/stencil/{index-b2193545-DU7jU8hT.cjs → index-b2193545-nJb2J-aJ.cjs} +1 -1
  80. package/stencil/ui-image-3911756b-B-U8CxGn.cjs +1 -0
  81. package/stencil/ui-image-3911756b-C-PJ3oso.js +39 -0
  82. package/stencil/ui-image-3911756b-D1cmuQAe.js +39 -0
  83. package/stencil/ui-image-CUjXE1FQ.js +25 -0
  84. package/stencil/ui-image-DO4by88q.js +7 -0
  85. package/stencil/ui-image-DgVuZYOM.cjs +1 -0
  86. package/stencil/ui-image_2-8wL-gGdE.cjs +73 -0
  87. package/stencil/ui-image_2-BcBI-Hq7.js +154 -0
  88. package/stencil/ui-image_2-CIsvIZfV.js +154 -0
  89. package/stencil/{ui-skeleton-6d1c12ae-f1sFu8zZ.js → ui-skeleton-1cb75d00-BWUmrSx4.js} +4 -4
  90. package/stencil/{ui-skeleton-6d1c12ae-C3POR2WV.cjs → ui-skeleton-1cb75d00-C9ZtbYpX.cjs} +2 -2
  91. package/stencil/{ui-skeleton-6d1c12ae-4HBL8qol.js → ui-skeleton-1cb75d00-D5AevndQ.js} +4 -4
  92. package/stencil/{ui-skeleton-22AocHRT.js → ui-skeleton-CDhNSEbX.js} +2 -2
  93. package/stencil/{ui-skeleton-Di9b-pPK.cjs → ui-skeleton-CUmVjhrn.cjs} +1 -1
  94. package/stencil/{ui-skeleton-CMD3xF0X.js → ui-skeleton-D5ACyLBl.js} +2 -2
  95. package/components/CasinoCalendar-BaQd3tuL.cjs +0 -22
  96. package/components/CasinoCollectionsProviders-BMFI1FD2.cjs +0 -1
  97. package/components/CasinoFilter-B9G8cs2A.cjs +0 -1
  98. package/components/CasinoFilter-BH7-Laxf.js +0 -632
  99. package/components/CasinoFilter-COinUQ6E.js +0 -633
  100. package/components/CasinoGameThumbnail-C_F6ViBB.js +0 -1068
  101. package/components/CasinoGameThumbnail-DWRrHNvN.cjs +0 -30
  102. package/components/CasinoGameThumbnail-pajQYCwc.js +0 -1084
  103. package/components/CasinoGamesCategorySection-BXWd7Cck.cjs +0 -1
  104. package/components/CasinoJackpotBanner-BoWCKFIJ.cjs +0 -1
  105. package/components/CasinoLobby-DnBSVJ5P.cjs +0 -1
  106. package/components/CasinoPage-DAptP7ZQ.cjs +0 -1
  107. package/components/CasinoPage-mARxTyiZ.js +0 -3916
  108. package/components/CasinoRandomGame-BJiVFaRb.cjs +0 -2
  109. package/components/CasinoSlider-B3dV89iI.cjs +0 -1
  110. package/stencil/index-b7bbd57e-BMsMsYAr.js +0 -550
  111. package/stencil/index-b7bbd57e-CPxyz2y0.js +0 -534
  112. package/stencil/index-b7bbd57e-CiQAmzc6.cjs +0 -1
  113. package/stencil/ui-image-38c3c15f--IPbitii.js +0 -39
  114. package/stencil/ui-image-38c3c15f-CQXMTl7T.js +0 -39
  115. package/stencil/ui-image-38c3c15f-Dv8v2u8d.cjs +0 -1
  116. package/stencil/ui-image-CV8AJ9cY.js +0 -29
  117. package/stencil/ui-image-DG3xEaHN.js +0 -11
  118. package/stencil/ui-image-LuWVcxjH.cjs +0 -1
@@ -1,633 +0,0 @@
1
- import { $ as re, U as ue, a as ge, 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 m, k as ye, o as ve, O as we, C as _e, m as j, p as s, q as N, r as o, v as ae, w as Ce, R as fe, A as ee, F as $, B as D, V as ne, D as oe, E as te, J as ke, K as xe, L as Se, M as Ie, N as Le } from "./CasinoCalendar-WuTw9Z8d.js";
2
- import "../stencil/ui-image-CV8AJ9cY.js";
3
- function Pe({ withLocale: l, translations: e }) {
4
- re.subscribe((t) => {
5
- t == null && (ue.set(e), re.set(l));
6
- });
7
- }
8
- function se(l, e) {
9
- ge(l, e);
10
- }
11
- const ce = {
12
- en: {
13
- providers: "Providers:",
14
- filterby: "Filter by:",
15
- all: "All",
16
- clear: "Clear all"
17
- },
18
- zh: {
19
- providers: "Providers:",
20
- filterby: "Filter by",
21
- all: "all",
22
- clear: "Clear all"
23
- },
24
- de: {
25
- providers: "Providers:",
26
- filterby: "Filter by:",
27
- all: "all",
28
- clear: "Clear all"
29
- },
30
- it: {
31
- providers: "Providers:",
32
- filterby: "Filter by:",
33
- all: "all",
34
- clear: "Clear all"
35
- },
36
- fr: {
37
- providers: "Providers:",
38
- filterby: "Filter by:",
39
- all: "all",
40
- clear: "Clear all"
41
- },
42
- es: {
43
- providers: "Proveedores:",
44
- filterby: "Filtrar Por:",
45
- all: "Todos",
46
- clear: "Limpiar todos"
47
- },
48
- tr: {
49
- providers: "Sağlayıcılar:",
50
- filterby: "Filtrele:",
51
- all: "Hepsi",
52
- clear: "Tümünü Temizle"
53
- },
54
- ru: {
55
- providers: "Providers:",
56
- filterby: "Filter by:",
57
- all: "all",
58
- clear: "Clear all"
59
- },
60
- ro: {
61
- providers: "Providers:",
62
- filterby: "Filter by:",
63
- all: "all",
64
- clear: "Clear all"
65
- },
66
- hr: {
67
- providers: "Brendovi igara",
68
- filterby: "Filtrirati po:",
69
- all: "Sve",
70
- clear: "Očisti sve"
71
- },
72
- hu: {
73
- providers: "Providers:",
74
- filterby: "Filter by:",
75
- all: "all",
76
- clear: "Clear all"
77
- },
78
- pl: {
79
- providers: "Providers:",
80
- filterby: "Filter by:",
81
- all: "all",
82
- clear: "Clear all"
83
- },
84
- pt: {
85
- providers: "Providers:",
86
- filterby: "Filter by:",
87
- all: "all",
88
- clear: "Clear all"
89
- },
90
- sl: {
91
- providers: "Providers:",
92
- filterby: "Filter by:",
93
- all: "all",
94
- clear: "Clear all"
95
- },
96
- sr: {
97
- providers: "Providers:",
98
- filterby: "Filter by:",
99
- all: "all",
100
- clear: "Clear all"
101
- },
102
- "pt-br": {
103
- providers: "Provedores:",
104
- filterby: "Filtrar por",
105
- all: "Tudo",
106
- clear: "Apagar tudo"
107
- },
108
- "es-mx": {
109
- providers: "Proveedores:",
110
- filterby: "Filtrar por",
111
- all: "Todo",
112
- clear: "Borrar todo"
113
- },
114
- "en-us": {
115
- providers: "Providers:",
116
- filterby: "Filter by:",
117
- all: "All",
118
- clear: "Clear all"
119
- }
120
- };
121
- function Ae(l) {
122
- be(l, "svelte-rcu873", ':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 ui-image 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%}}');
123
- }
124
- function de(l, e, t) {
125
- const i = l.slice();
126
- return i[36] = e[t], i[37] = e, i[38] = t, i;
127
- }
128
- function Oe(l) {
129
- let e, t, i, a, c, h, w, _, y = (
130
- /*$_*/
131
- l[11]("filterby") + ""
132
- ), f, C, v, T, P = (
133
- /*$_*/
134
- l[11]("providers") + ""
135
- ), k, I, g, p, F, A, V, M, x, O, W, K, E, J = (
136
- /*$_*/
137
- l[11]("clear") + ""
138
- ), q, Z, H, R, Q, X;
139
- function Y(n, u) {
140
- return (
141
- /*fullSelection*/
142
- n[7] ? Te : Ne
143
- );
144
- }
145
- let G = Y(l), S = G(l), r = ae(
146
- /*vendorArray*/
147
- l[5]
148
- ), d = [];
149
- for (let n = 0; n < r.length; n += 1)
150
- d[n] = pe(de(l, r, n));
151
- return {
152
- c() {
153
- e = m("div"), t = m("div"), i = m("div"), a = $("svg"), c = $("path"), h = D(), w = m("div"), _ = m("span"), f = N(y), C = D(), v = m("div"), T = m("span"), k = N(P), I = D(), S.c(), g = D(), p = m("span"), F = $("svg"), A = $("path"), x = D(), O = m("div"), W = m("ul");
154
- for (let n = 0; n < d.length; n += 1)
155
- d[n].c();
156
- K = D(), E = m("button"), q = N(J), o(c, "id", "noun_filter_736223"), o(c, "d", "M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"), o(c, "transform", "translate(-5 -6.2)"), o(c, "fill", "#fff"), o(a, "xmlns", "http://www.w3.org/2000/svg"), o(a, "width", "16"), o(a, "height", "16"), o(a, "viewBox", "0 0 16 16"), o(_, "class", "FilterName"), o(v, "class", "FilterValueContainer"), o(w, "class", "FilterTextContainer"), o(i, "class", "FilterMainArea"), o(A, "id", "arrow"), o(A, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), o(A, "transform", "translate(-274.511 -441.088)"), o(A, "fill", "#d1d1d1"), o(F, "xmlns", "http://www.w3.org/2000/svg"), o(F, "width", "14"), o(F, "height", "6.835"), o(F, "viewBox", "0 0 14 6.835"), o(p, "class", V = "TriangleInactive " + /*isFilterActive*/
157
- (l[4] ? "TriangleActive" : "")), o(t, "class", M = "FilterSelector " + /*isFilterActive*/
158
- (l[4] ? "FilterSelectorOpen" : "")), o(W, "class", "FilterDropdown"), o(E, "class", "ClearFilters"), E.disabled = Z = /*fullSelection*/
159
- l[7] && /*selectedVendorArray*/
160
- l[6].length != /*vendorArray*/
161
- l[5].length, o(O, "class", H = "FilterDropdownContainer " + /*isFilterActive*/
162
- (l[4] ? "FilterOpen" : "")), o(e, "class", R = "FilterContainer " + /*addfilterselector*/
163
- (l[0] == "true" && /*addsortingselector*/
164
- l[1] == "true" ? "FilerContainerSplit" : ""));
165
- },
166
- m(n, u) {
167
- B(n, e, u), s(e, t), s(t, i), s(i, a), s(a, c), s(i, h), s(i, w), s(w, _), s(_, f), s(w, C), s(w, v), s(v, T), s(T, k), s(v, I), S.m(v, null), s(t, g), s(t, p), s(p, F), s(F, A), s(e, x), s(e, O), s(O, W);
168
- for (let b = 0; b < d.length; b += 1)
169
- d[b] && d[b].m(W, null);
170
- s(O, K), s(O, E), s(E, q), Q || (X = [
171
- ee(
172
- t,
173
- "click",
174
- /*click_handler*/
175
- l[23]
176
- ),
177
- ee(
178
- E,
179
- "click",
180
- /*click_handler_2*/
181
- l[26]
182
- )
183
- ], Q = !0);
184
- },
185
- p(n, u) {
186
- if (u[0] & /*$_*/
187
- 2048 && y !== (y = /*$_*/
188
- n[11]("filterby") + "") && j(f, y), u[0] & /*$_*/
189
- 2048 && P !== (P = /*$_*/
190
- n[11]("providers") + "") && j(k, P), G === (G = Y(n)) && S ? S.p(n, u) : (S.d(1), S = G(n), S && (S.c(), S.m(v, null))), u[0] & /*isFilterActive*/
191
- 16 && V !== (V = "TriangleInactive " + /*isFilterActive*/
192
- (n[4] ? "TriangleActive" : "")) && o(p, "class", V), u[0] & /*isFilterActive*/
193
- 16 && M !== (M = "FilterSelector " + /*isFilterActive*/
194
- (n[4] ? "FilterSelectorOpen" : "")) && o(t, "class", M), u[0] & /*filterbylogo, vendorArray, filterByVendors*/
195
- 8228) {
196
- r = ae(
197
- /*vendorArray*/
198
- n[5]
199
- );
200
- let b;
201
- for (b = 0; b < r.length; b += 1) {
202
- const U = de(n, r, b);
203
- d[b] ? d[b].p(U, u) : (d[b] = pe(U), d[b].c(), d[b].m(W, null));
204
- }
205
- for (; b < d.length; b += 1)
206
- d[b].d(1);
207
- d.length = r.length;
208
- }
209
- u[0] & /*$_*/
210
- 2048 && J !== (J = /*$_*/
211
- n[11]("clear") + "") && j(q, J), u[0] & /*fullSelection, selectedVendorArray, vendorArray*/
212
- 224 && Z !== (Z = /*fullSelection*/
213
- n[7] && /*selectedVendorArray*/
214
- n[6].length != /*vendorArray*/
215
- n[5].length) && (E.disabled = Z), u[0] & /*isFilterActive*/
216
- 16 && H !== (H = "FilterDropdownContainer " + /*isFilterActive*/
217
- (n[4] ? "FilterOpen" : "")) && o(O, "class", H), u[0] & /*addfilterselector, addsortingselector*/
218
- 3 && R !== (R = "FilterContainer " + /*addfilterselector*/
219
- (n[0] == "true" && /*addsortingselector*/
220
- n[1] == "true" ? "FilerContainerSplit" : "")) && o(e, "class", R);
221
- },
222
- d(n) {
223
- n && z(e), S.d(), Ce(d, n), Q = !1, fe(X);
224
- }
225
- };
226
- }
227
- function De(l) {
228
- let e, t = (
229
- /*$_*/
230
- l[11]("500") + ""
231
- ), i;
232
- return {
233
- c() {
234
- e = m("p"), i = N(t), o(e, "class", "SearchLoading");
235
- },
236
- m(a, c) {
237
- B(a, e, c), s(e, i);
238
- },
239
- p(a, c) {
240
- c[0] & /*$_*/
241
- 2048 && t !== (t = /*$_*/
242
- a[11]("500") + "") && j(i, t);
243
- },
244
- d(a) {
245
- a && z(e);
246
- }
247
- };
248
- }
249
- function Ne(l) {
250
- let e, t;
251
- return {
252
- c() {
253
- e = m("span"), t = N(
254
- /*selectionNumber*/
255
- l[8]
256
- ), o(e, "class", "FilterCounter");
257
- },
258
- m(i, a) {
259
- B(i, e, a), s(e, t);
260
- },
261
- p(i, a) {
262
- a[0] & /*selectionNumber*/
263
- 256 && j(
264
- t,
265
- /*selectionNumber*/
266
- i[8]
267
- );
268
- },
269
- d(i) {
270
- i && z(e);
271
- }
272
- };
273
- }
274
- function Te(l) {
275
- let e, t = (
276
- /*$_*/
277
- l[11]("all") + ""
278
- ), i;
279
- return {
280
- c() {
281
- e = m("span"), i = N(t), o(e, "class", "FilterCounter");
282
- },
283
- m(a, c) {
284
- B(a, e, c), s(e, i);
285
- },
286
- p(a, c) {
287
- c[0] & /*$_*/
288
- 2048 && t !== (t = /*$_*/
289
- a[11]("all") + "") && j(i, t);
290
- },
291
- d(a) {
292
- a && z(e);
293
- }
294
- };
295
- }
296
- function Ee(l) {
297
- let e, t;
298
- return {
299
- c() {
300
- e = m("ui-image"), oe(e.src, t = /*vendor*/
301
- l[36].logo) || te(e, "src", t), te(e, "alt", "vendor logo");
302
- },
303
- m(i, a) {
304
- B(i, e, a);
305
- },
306
- p(i, a) {
307
- a[0] & /*vendorArray*/
308
- 32 && !oe(e.src, t = /*vendor*/
309
- i[36].logo) && te(e, "src", t);
310
- },
311
- d(i) {
312
- i && z(e);
313
- }
314
- };
315
- }
316
- function Me(l) {
317
- let e, t, i = (
318
- /*vendor*/
319
- l[36].name + ""
320
- ), a, c, h, w, _ = (
321
- /*vendor*/
322
- l[36].games.total + ""
323
- ), y, f;
324
- return {
325
- c() {
326
- e = m("div"), t = m("span"), a = N(i), c = D(), h = m("span"), w = N("("), y = N(_), f = N(")"), o(t, "class", "VendorName"), o(e, "class", "FilterItemLabel");
327
- },
328
- m(C, v) {
329
- B(C, e, v), s(e, t), s(t, a), s(e, c), s(e, h), s(h, w), s(h, y), s(h, f);
330
- },
331
- p(C, v) {
332
- v[0] & /*vendorArray*/
333
- 32 && i !== (i = /*vendor*/
334
- C[36].name + "") && j(a, i), v[0] & /*vendorArray*/
335
- 32 && _ !== (_ = /*vendor*/
336
- C[36].games.total + "") && j(y, _);
337
- },
338
- d(C) {
339
- C && z(e);
340
- }
341
- };
342
- }
343
- function pe(l) {
344
- let e, t, i, a, c, h, w, _, y, f, C, v;
345
- function T() {
346
- l[24].call(
347
- i,
348
- /*each_value*/
349
- l[37],
350
- /*vendor_index*/
351
- l[38]
352
- );
353
- }
354
- function P() {
355
- return (
356
- /*click_handler_1*/
357
- l[25](
358
- /*vendor*/
359
- l[36]
360
- )
361
- );
362
- }
363
- function k(p, F) {
364
- if (
365
- /*filterbylogo*/
366
- p[2] === "false"
367
- )
368
- return Me;
369
- if (
370
- /*filterbylogo*/
371
- p[2] === "true"
372
- )
373
- return Ee;
374
- }
375
- let I = k(l), g = I && I(l);
376
- return {
377
- c() {
378
- e = m("li"), t = m("label"), i = m("input"), c = D(), h = m("span"), w = D(), g && g.c(), _ = D(), o(i, "type", "checkbox"), o(i, "name", "checkbox"), i.__value = a = /*vendor*/
379
- l[36].name, ne(i, i.__value), o(h, "class", "FiltersCheckmark"), o(t, "class", "FilterLabel"), o(e, "class", y = "FilterItem " + /*filterbylogo*/
380
- (l[2] === "true" ? "FilterItemWithLogos" : "")), e.value = f = /*vendor*/
381
- l[36].name;
382
- },
383
- m(p, F) {
384
- B(p, e, F), s(e, t), s(t, i), i.checked = /*vendor*/
385
- l[36].isFilterSelected, s(t, c), s(t, h), s(t, w), g && g.m(t, null), s(e, _), C || (v = [
386
- ee(i, "change", T),
387
- ee(i, "click", P)
388
- ], C = !0);
389
- },
390
- p(p, F) {
391
- l = p, F[0] & /*vendorArray*/
392
- 32 && a !== (a = /*vendor*/
393
- l[36].name) && (i.__value = a, ne(i, i.__value)), F[0] & /*vendorArray*/
394
- 32 && (i.checked = /*vendor*/
395
- l[36].isFilterSelected), I === (I = k(l)) && g ? g.p(l, F) : (g && g.d(1), g = I && I(l), g && (g.c(), g.m(t, null))), F[0] & /*filterbylogo*/
396
- 4 && y !== (y = "FilterItem " + /*filterbylogo*/
397
- (l[2] === "true" ? "FilterItemWithLogos" : "")) && o(e, "class", y), F[0] & /*vendorArray*/
398
- 32 && f !== (f = /*vendor*/
399
- l[36].name) && (e.value = f);
400
- },
401
- d(p) {
402
- p && z(e), g && g.d(), C = !1, fe(v);
403
- }
404
- };
405
- }
406
- function je(l) {
407
- let e;
408
- function t(c, h) {
409
- if (
410
- /*hasErrors*/
411
- c[10]
412
- )
413
- return De;
414
- if (!/*isLoading*/
415
- c[9])
416
- return Oe;
417
- }
418
- let i = t(l), a = i && i(l);
419
- return {
420
- c() {
421
- e = m("div"), a && a.c();
422
- },
423
- m(c, h) {
424
- B(c, e, h), a && a.m(e, null), l[27](e);
425
- },
426
- p(c, h) {
427
- i === (i = t(c)) && a ? a.p(c, h) : (a && a.d(1), a = i && i(c), a && (a.c(), a.m(e, null)));
428
- },
429
- i: ie,
430
- o: ie,
431
- d(c) {
432
- c && z(e), a && a.d(), l[27](null);
433
- }
434
- };
435
- }
436
- function ze(l, e, t) {
437
- let i;
438
- ye(l, Le, (r) => t(11, i = r));
439
- let { endpoint: a = "" } = e, { datasource: c = "" } = e, { lang: h = "" } = e, { translationurl: w = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: y = "" } = e, { categoryid: f = "" } = e, { addfilterselector: C = "false" } = e, { addsortingselector: v = "false" } = e, { filterbylogo: T = "false" } = e, { mbsource: P } = e, k = !1, I = window.navigator.userAgent, g = [], p = [], F = {}, A = !1, V = 0, M = !0, x, O = !1;
440
- Pe({ withLocale: "en", translations: {} });
441
- const W = () => {
442
- fetch(w).then((d) => d.json()).then((d) => {
443
- Object.keys(d).forEach((n) => {
444
- se(n, d[n]);
445
- });
446
- }).catch((d) => {
447
- console.log(d);
448
- });
449
- };
450
- Object.keys(ce).forEach((r) => {
451
- se(r, ce[r]);
452
- }), F[f] && (F = { [f]: [] });
453
- const K = () => {
454
- t(4, k = !k), window.postMessage({ type: "FilterOpened" }, window.location.href);
455
- }, E = (r) => (t(9, M = !0), new Promise((d, n) => {
456
- fetch(r).then((u) => u.json()).then((u) => {
457
- u = u.items, d(u.items), t(6, p = []);
458
- let b = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
459
- u.forEach((U) => {
460
- var le;
461
- b || (b = { currentCategoryId: [] }), ((le = b[f]) == null ? void 0 : le.indexOf(U.id)) >= 0 ? (U.isFilterSelected = !0, p.push(U)) : U.isFilterSelected = !1;
462
- }), t(5, g = u), q();
463
- }).catch((u) => {
464
- console.error(u), t(10, O = !0), n(u);
465
- }).finally(() => {
466
- t(9, M = !1);
467
- });
468
- })), J = (r) => {
469
- let d = localStorage.getItem("vendorFiltersByCategory");
470
- r.isFilterSelected = !r.isFilterSelected, !p.length || p.filter((n) => n.name === r.name).length == 0 ? p.push(r) : t(6, p = p.filter((n) => n.name !== r.name)), d == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(F = {
471
- [f]: p.map((n) => n.id)
472
- })) : (d = JSON.parse(d), d[f] = p.map((n) => n.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(d))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), q();
473
- }, q = () => {
474
- t(7, A = p.length === g.length || p.length == 0), t(8, V = p.length);
475
- }, Z = () => {
476
- const r = new URL(`${a}/v1/casino/vendors`);
477
- t(4, k = !1), r.searchParams.append("fields", "id,name,logo,subVendors,games"), r.searchParams.append("language", h), r.searchParams.append("datasource", c), r.searchParams.append("platform", we(I)), (f.match(/\$/g) || []).length > 1 ? (r.searchParams.append("filter", `games(subGroups=${f})`), r.searchParams.append("subVendors", `games(subGroups=${f})`)) : r.searchParams.append("filter", `games(groups=${f})`), E(r);
478
- }, H = () => {
479
- t(6, p = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(F = {
480
- [f]: p.map((r) => r.id)
481
- })), g.forEach((r) => r.isFilterSelected = !1), t(5, g), window.postMessage({ type: "ApplyFilters" }, window.location.href), t(7, A = !0), t(4, k = !1);
482
- }, R = (r) => {
483
- r.data.type == "SortingOpened" && t(4, k = !1);
484
- };
485
- ve(() => (window.addEventListener("message", R, !1), () => {
486
- window.removeEventListener("message", R);
487
- }));
488
- const Q = () => K();
489
- function X(r, d) {
490
- r[d].isFilterSelected = this.checked, t(5, g);
491
- }
492
- const Y = (r) => J(r), G = () => H();
493
- function S(r) {
494
- _e[r ? "unshift" : "push"](() => {
495
- x = r, t(3, x);
496
- });
497
- }
498
- return l.$$set = (r) => {
499
- "endpoint" in r && t(15, a = r.endpoint), "datasource" in r && t(16, c = r.datasource), "lang" in r && t(17, h = r.lang), "translationurl" in r && t(18, w = r.translationurl), "clientstyling" in r && t(19, _ = r.clientstyling), "clientstylingurl" in r && t(20, y = r.clientstylingurl), "categoryid" in r && t(21, f = r.categoryid), "addfilterselector" in r && t(0, C = r.addfilterselector), "addsortingselector" in r && t(1, v = r.addsortingselector), "filterbylogo" in r && t(2, T = r.filterbylogo), "mbsource" in r && t(22, P = r.mbsource);
500
- }, l.$$.update = () => {
501
- l.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
502
- 2195460 && a && c && f && T && Z(), l.$$.dirty[0] & /*clientstyling, customStylingContainer*/
503
- 524296 && _ && x && ke(x, _), l.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
504
- 1048584 && y && x && xe(x, y), l.$$.dirty[0] & /*customStylingContainer, mbsource*/
505
- 4194312 && x && Se(x, `${P}.Style`), l.$$.dirty[0] & /*translationurl*/
506
- 262144 && w && W();
507
- }, [
508
- C,
509
- v,
510
- T,
511
- x,
512
- k,
513
- g,
514
- p,
515
- A,
516
- V,
517
- M,
518
- O,
519
- i,
520
- K,
521
- J,
522
- H,
523
- a,
524
- c,
525
- h,
526
- w,
527
- _,
528
- y,
529
- f,
530
- P,
531
- Q,
532
- X,
533
- Y,
534
- G,
535
- S
536
- ];
537
- }
538
- class Be extends me {
539
- constructor(e) {
540
- super(), he(
541
- this,
542
- e,
543
- ze,
544
- je,
545
- Fe,
546
- {
547
- endpoint: 15,
548
- datasource: 16,
549
- lang: 17,
550
- translationurl: 18,
551
- clientstyling: 19,
552
- clientstylingurl: 20,
553
- categoryid: 21,
554
- addfilterselector: 0,
555
- addsortingselector: 1,
556
- filterbylogo: 2,
557
- mbsource: 22
558
- },
559
- Ae,
560
- [-1, -1]
561
- );
562
- }
563
- get endpoint() {
564
- return this.$$.ctx[15];
565
- }
566
- set endpoint(e) {
567
- this.$$set({ endpoint: e }), L();
568
- }
569
- get datasource() {
570
- return this.$$.ctx[16];
571
- }
572
- set datasource(e) {
573
- this.$$set({ datasource: e }), L();
574
- }
575
- get lang() {
576
- return this.$$.ctx[17];
577
- }
578
- set lang(e) {
579
- this.$$set({ lang: e }), L();
580
- }
581
- get translationurl() {
582
- return this.$$.ctx[18];
583
- }
584
- set translationurl(e) {
585
- this.$$set({ translationurl: e }), L();
586
- }
587
- get clientstyling() {
588
- return this.$$.ctx[19];
589
- }
590
- set clientstyling(e) {
591
- this.$$set({ clientstyling: e }), L();
592
- }
593
- get clientstylingurl() {
594
- return this.$$.ctx[20];
595
- }
596
- set clientstylingurl(e) {
597
- this.$$set({ clientstylingurl: e }), L();
598
- }
599
- get categoryid() {
600
- return this.$$.ctx[21];
601
- }
602
- set categoryid(e) {
603
- this.$$set({ categoryid: e }), L();
604
- }
605
- get addfilterselector() {
606
- return this.$$.ctx[0];
607
- }
608
- set addfilterselector(e) {
609
- this.$$set({ addfilterselector: e }), L();
610
- }
611
- get addsortingselector() {
612
- return this.$$.ctx[1];
613
- }
614
- set addsortingselector(e) {
615
- this.$$set({ addsortingselector: e }), L();
616
- }
617
- get filterbylogo() {
618
- return this.$$.ctx[2];
619
- }
620
- set filterbylogo(e) {
621
- this.$$set({ filterbylogo: e }), L();
622
- }
623
- get mbsource() {
624
- return this.$$.ctx[22];
625
- }
626
- set mbsource(e) {
627
- this.$$set({ mbsource: e }), L();
628
- }
629
- }
630
- Ie(Be, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, mbsource: {} }, [], [], !0);
631
- export {
632
- Be as default
633
- };