@everymatrix/casino-lobby 1.71.1 → 1.72.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 (110) hide show
  1. package/components/CasinoCalendar-CqIFh2Q5.cjs +19 -0
  2. package/components/{CasinoCalendar-BsOWkLVp.js → CasinoCalendar-D8285A_4.js} +858 -837
  3. package/components/{CasinoCalendar-RmQ6YNrd.js → CasinoCalendar-DaqInWFB.js} +1031 -1010
  4. package/components/{CasinoCalendarDailyDetails-CIDfmzEU.cjs → CasinoCalendarDailyDetails-B_q2ojzj.cjs} +1 -1
  5. package/components/{CasinoCalendarDailyDetails-CZvv-VEw.js → CasinoCalendarDailyDetails-Bawf2lVh.js} +38 -38
  6. package/components/{CasinoCalendarDailyDetails-CgySlNqk.js → CasinoCalendarDailyDetails-D17fJmHk.js} +38 -38
  7. package/components/{CasinoCalendarDailyItem-Bqhwdp9N.js → CasinoCalendarDailyItem-C-jXPiMc.js} +34 -34
  8. package/components/{CasinoCalendarDailyItem-6fstg8rl.js → CasinoCalendarDailyItem-CNU2dbWb.js} +34 -34
  9. package/components/{CasinoCalendarDailyItem-BofIs4hH.cjs → CasinoCalendarDailyItem-Dn8aZPDI.cjs} +1 -1
  10. package/components/{CasinoCategoriesSlider-BrMd9akG.js → CasinoCategoriesSlider-CeLXgUCx.js} +73 -73
  11. package/components/{CasinoCategoriesSlider-rcQ6H4dN.js → CasinoCategoriesSlider-DH7-Jx22.js} +72 -72
  12. package/components/CasinoCategoriesSlider-Xyi6Epkq.cjs +1 -0
  13. package/components/{CasinoCollectionsProviders-RmY6DCmf.js → CasinoCollectionsProviders-BMYO5_oZ.js} +77 -77
  14. package/components/{CasinoCollectionsProviders-X_gMs4dQ.js → CasinoCollectionsProviders-BvTs6B-x.js} +64 -64
  15. package/components/{CasinoCollectionsProviders-Iwvjux90.cjs → CasinoCollectionsProviders-DYgLBp3O.cjs} +1 -1
  16. package/components/{CasinoFavoritesSection-b-j22ATa.js → CasinoFavoritesSection-BKqd6QPI.js} +17 -17
  17. package/components/{CasinoFavoritesSection-D1C6HI9v.js → CasinoFavoritesSection-C70AjovE.js} +17 -17
  18. package/components/{CasinoFavoritesSection-Db99Uv7P.cjs → CasinoFavoritesSection-XYINNBSA.cjs} +1 -1
  19. package/components/CasinoFilter-BcJ-9hhc.js +645 -0
  20. package/components/CasinoFilter-DENEZ_Ic.cjs +1 -0
  21. package/components/CasinoFilter-dnkB-x_S.js +644 -0
  22. package/components/CasinoGameThumbnail-DhG_1DP9.cjs +47 -0
  23. package/components/{CasinoGameThumbnail-MrOCBFNA.js → CasinoGameThumbnail-DoFtJNVa.js} +1253 -1269
  24. package/components/{CasinoGameThumbnail-CeT997Kx.js → CasinoGameThumbnail-fh7soJLK.js} +778 -762
  25. package/components/{CasinoGamesCategorySection-CxiyhVqf.js → CasinoGamesCategorySection-BUme-Htd.js} +246 -246
  26. package/components/{CasinoGamesCategorySection-C8xeG4sY.cjs → CasinoGamesCategorySection-CR3TsCIr.cjs} +1 -1
  27. package/components/{CasinoGamesCategorySection-Dk6YpheO.js → CasinoGamesCategorySection-DvtiqWF7.js} +249 -249
  28. package/components/{CasinoJackpotBanner-g0X8UAFW.js → CasinoJackpotBanner-Afzkq4td.js} +119 -119
  29. package/components/{CasinoJackpotBanner-CpGio5N4.cjs → CasinoJackpotBanner-SH08_0Ad.cjs} +1 -1
  30. package/components/{CasinoJackpotBanner-CUP2An9A.js → CasinoJackpotBanner-THaCe8Q8.js} +113 -113
  31. package/components/{CasinoLastPlayedSection-lO1pohBq.cjs → CasinoLastPlayedSection-1yhfRFjo.cjs} +1 -1
  32. package/components/{CasinoLastPlayedSection-B668qxot.js → CasinoLastPlayedSection-Rb4msFL_.js} +37 -37
  33. package/components/{CasinoLastPlayedSection-D_0OBhSj.js → CasinoLastPlayedSection-oGkfGBwG.js} +37 -37
  34. package/components/{CasinoLobby-DwdNm6xo.js → CasinoLobby-CQ3V0-l_.js} +57 -57
  35. package/components/{CasinoLobby-BaQGWp9s.js → CasinoLobby-DnWoXtXL.js} +56 -56
  36. package/components/{CasinoLobby-lkQTAmN7.cjs → CasinoLobby-aB9f0zFp.cjs} +1 -1
  37. package/components/{CasinoMostPlayedSection-C5gy3zyh.js → CasinoMostPlayedSection-BVvh0OQ0.js} +46 -46
  38. package/components/{CasinoMostPlayedSection-87nEdbm3.cjs → CasinoMostPlayedSection-CZOxOZVF.cjs} +1 -1
  39. package/components/{CasinoMostPlayedSection-CGXfghDB.js → CasinoMostPlayedSection-CckjcAvV.js} +46 -46
  40. package/components/{CasinoMyGames-BC98Tqse.js → CasinoMyGames-BUX8JdRW.js} +39 -39
  41. package/components/{CasinoMyGames-BkWFi0SD.js → CasinoMyGames-DBk0qpL0.js} +42 -42
  42. package/components/{CasinoMyGames-B4eUiwD2.cjs → CasinoMyGames-DMeOP0Ir.cjs} +1 -1
  43. package/components/{CasinoPage-mW7N_X4p.js → CasinoPage-963K0qkA.js} +881 -881
  44. package/components/{CasinoPage-DCj9ufQS.js → CasinoPage-CTQ4pjz5.js} +203 -203
  45. package/components/CasinoPage-DBbBQIRX.cjs +1 -0
  46. package/components/{CasinoRandomGame-CP2us9wQ.cjs → CasinoRandomGame-BtYuGyAc.cjs} +1 -1
  47. package/components/{CasinoRandomGame-BOlMftfW.js → CasinoRandomGame-DR9ShIKc.js} +56 -56
  48. package/components/{CasinoRandomGame-BPoQwGvz.js → CasinoRandomGame-DdY0LMqV.js} +57 -57
  49. package/components/{CasinoSearch-CxY1btEF.js → CasinoSearch-BFj2WAB3.js} +95 -95
  50. package/components/{CasinoSearch-_PkKs4Jp.cjs → CasinoSearch-D41XnJOo.cjs} +1 -1
  51. package/components/{CasinoSearch-DYeI3pnX.js → CasinoSearch-O8BFfuMh.js} +98 -98
  52. package/components/{CasinoSlider-CKrkEFp2.cjs → CasinoSlider-BxMmHxNN.cjs} +1 -1
  53. package/components/{CasinoSlider-mFk7hXGi.js → CasinoSlider-DxPhvmx5.js} +95 -95
  54. package/components/{CasinoSlider-D5pUgU6y.js → CasinoSlider-zDcdSGZI.js} +68 -68
  55. package/components/{CasinoSort-Bu7GAVyk.js → CasinoSort-BqIqZPtn.js} +103 -102
  56. package/components/{CasinoSort-CR3_Z1HP.js → CasinoSort-Bv9Xm47a.js} +111 -112
  57. package/components/{CasinoSort-DnffDijG.cjs → CasinoSort-CU7Sv-_a.cjs} +1 -1
  58. package/components/{CasinoWinners-CgGvis-Q.cjs → CasinoWinners-BJ15FnbR.cjs} +1 -1
  59. package/components/{CasinoWinners-BTigQx6l.js → CasinoWinners-C9LGaZlh.js} +145 -145
  60. package/components/{CasinoWinners-BHsWULT4.js → CasinoWinners-CkNCqfiv.js} +152 -152
  61. package/components/{GeneralAnimationLoading-CB353I6v.cjs → GeneralAnimationLoading-3ff4R40K.cjs} +1 -1
  62. package/components/{GeneralAnimationLoading-BYX0Qvf2.js → GeneralAnimationLoading-Dnw96YoY.js} +16 -16
  63. package/components/{GeneralAnimationLoading-DkDspmaZ.js → GeneralAnimationLoading-oBd_asJT.js} +16 -16
  64. package/es2015/casino-lobby.cjs +1 -1
  65. package/es2015/casino-lobby.js +1 -1
  66. package/esnext/casino-lobby.js +1 -1
  67. package/package.json +1 -1
  68. package/stencil/{casino-play-random-game-C3hhQjhn.cjs → casino-play-random-game-BMX5GkhL.cjs} +2 -2
  69. package/stencil/{casino-play-random-game-qroM0e64.js → casino-play-random-game-Ct3VSPhq.js} +2 -2
  70. package/stencil/{casino-play-random-game-uBjWXXLi.js → casino-play-random-game-DyfvRpYv.js} +2 -2
  71. package/stencil/index-97d17652--F7PvMq9.js +542 -0
  72. package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
  73. package/stencil/index-97d17652-CCFHkzJw.js +558 -0
  74. package/stencil/index-ab3202d6-BXlsno-y.js +559 -0
  75. package/stencil/index-ab3202d6-Dv-5ZSZX.cjs +1 -0
  76. package/stencil/index-ab3202d6-ncf4oQhs.js +575 -0
  77. package/stencil/index-b2193545-DVT8jgVo.cjs +1 -0
  78. package/stencil/index-b2193545-Dxw-xjac.js +503 -0
  79. package/stencil/index-b2193545-TbRClz6K.js +519 -0
  80. package/stencil/{ui-image-BAqS-hS6.js → ui-image-2_i-_1cj.js} +1 -1
  81. package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
  82. package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
  83. package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
  84. package/stencil/{ui-image-I_uR7pAI.js → ui-image-bN_3pDWc.js} +1 -1
  85. package/stencil/{ui-image-CH2Jdp7k.cjs → ui-image-eY8BEG3a.cjs} +1 -1
  86. package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-Bm97-wkj.js} +2 -2
  87. package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
  88. package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-qO3reSlr.js} +2 -2
  89. package/stencil/{ui-skeleton-C0GZ2ncD.js → ui-skeleton-CSMUbPcJ.js} +2 -2
  90. package/stencil/{ui-skeleton-CYeeBz0Q.js → ui-skeleton-CiszU04_.js} +2 -2
  91. package/stencil/{ui-skeleton-5mt1L8pA.cjs → ui-skeleton-DcmFcn7k.cjs} +1 -1
  92. package/stencil/{ui-skeleton-ae35c6f2-BmKf7IvD.js → ui-skeleton-ae35c6f2-9hZ7WFQc.js} +1 -1
  93. package/stencil/{ui-skeleton-ae35c6f2-CQ3pH6qH.cjs → ui-skeleton-ae35c6f2-D1Tb0H8D.cjs} +1 -1
  94. package/stencil/{ui-skeleton-ae35c6f2-BSwiS43c.js → ui-skeleton-ae35c6f2-DDHvWmVB.js} +1 -1
  95. package/components/CasinoCalendar-wYGJExu0.cjs +0 -19
  96. package/components/CasinoCategoriesSlider-DXG58TlK.cjs +0 -1
  97. package/components/CasinoFilter-BG-xQ7Z9.js +0 -645
  98. package/components/CasinoFilter-Czto4aq6.js +0 -644
  99. package/components/CasinoFilter-DSxqwRvu.cjs +0 -1
  100. package/components/CasinoGameThumbnail-0cRYBNZ8.cjs +0 -47
  101. package/components/CasinoPage-CJXFGWAG.cjs +0 -1
  102. package/stencil/index-97d17652-BD-QREJe.js +0 -558
  103. package/stencil/index-97d17652-DJqGt8q2.js +0 -542
  104. package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
  105. package/stencil/index-ab3202d6-CSUArOSv.js +0 -559
  106. package/stencil/index-ab3202d6-CoRS04SH.js +0 -575
  107. package/stencil/index-ab3202d6-DitihRZv.cjs +0 -1
  108. package/stencil/index-b2193545-3zPNeE9v.cjs +0 -1
  109. package/stencil/index-b2193545-D_cUvAA-.js +0 -519
  110. package/stencil/index-b2193545-kN0z2MLt.js +0 -503
@@ -1,644 +0,0 @@
1
- import { $ as re, Q as pe, a as me, S as he, i as Fe, f as L, c as be, s as ye, b as ve, e as g, d as j, G as ie, j as V, k as we, o as _e, l as ke, N as Ce, q as xe, r as Se, m as Ie, v as ae, K as ee, w as O, x as E, y as n, z as o, A as te, E as D, F as Le, O as ue, R as ne, J as Pe, I as oe } from "./CasinoCalendar-BsOWkLVp.js";
2
- function Ae({ withLocale: r, translations: e }) {
3
- re.subscribe((l) => {
4
- l == null && (pe.set(e), re.set(r));
5
- });
6
- }
7
- function se(r, e) {
8
- me(r, e);
9
- }
10
- const ce = {
11
- en: {
12
- providers: "Providers:",
13
- filterby: "Filter by:",
14
- all: "All",
15
- clear: "Clear all"
16
- },
17
- zh: {
18
- providers: "Providers:",
19
- filterby: "Filter by",
20
- all: "all",
21
- clear: "Clear all"
22
- },
23
- de: {
24
- providers: "Providers:",
25
- filterby: "Filter by:",
26
- all: "all",
27
- clear: "Clear all"
28
- },
29
- it: {
30
- providers: "Providers:",
31
- filterby: "Filter by:",
32
- all: "all",
33
- clear: "Clear all"
34
- },
35
- fr: {
36
- providers: "Providers:",
37
- filterby: "Filter by:",
38
- all: "all",
39
- clear: "Clear all"
40
- },
41
- es: {
42
- providers: "Proveedores:",
43
- filterby: "Filtrar Por:",
44
- all: "Todos",
45
- clear: "Limpiar todos"
46
- },
47
- tr: {
48
- providers: "Sağlayıcılar:",
49
- filterby: "Filtrele:",
50
- all: "Hepsi",
51
- clear: "Tümünü Temizle"
52
- },
53
- ru: {
54
- providers: "Providers:",
55
- filterby: "Filter by:",
56
- all: "all",
57
- clear: "Clear all"
58
- },
59
- ro: {
60
- providers: "Providers:",
61
- filterby: "Filter by:",
62
- all: "all",
63
- clear: "Clear all"
64
- },
65
- hr: {
66
- providers: "Brendovi igara",
67
- filterby: "Filtrirati po:",
68
- all: "Sve",
69
- clear: "Očisti sve"
70
- },
71
- hu: {
72
- providers: "Providers:",
73
- filterby: "Filter by:",
74
- all: "all",
75
- clear: "Clear all"
76
- },
77
- pl: {
78
- providers: "Providers:",
79
- filterby: "Filter by:",
80
- all: "all",
81
- clear: "Clear all"
82
- },
83
- pt: {
84
- providers: "Providers:",
85
- filterby: "Filter by:",
86
- all: "all",
87
- clear: "Clear all"
88
- },
89
- sl: {
90
- providers: "Providers:",
91
- filterby: "Filter by:",
92
- all: "all",
93
- clear: "Clear all"
94
- },
95
- sr: {
96
- providers: "Providers:",
97
- filterby: "Filter by:",
98
- all: "all",
99
- clear: "Clear all"
100
- },
101
- "pt-br": {
102
- providers: "Provedores:",
103
- filterby: "Filtrar por",
104
- all: "Tudo",
105
- clear: "Apagar tudo"
106
- },
107
- "es-mx": {
108
- providers: "Proveedores:",
109
- filterby: "Filtrar por",
110
- all: "Todo",
111
- clear: "Borrar todo"
112
- },
113
- "en-us": {
114
- providers: "Providers:",
115
- filterby: "Filter by:",
116
- all: "All",
117
- clear: "Clear all"
118
- }
119
- };
120
- function Oe(r) {
121
- ve(r, "svelte-1rlsu2u", ':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:17}.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, #22B04E))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.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, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}');
122
- }
123
- function de(r, e, l) {
124
- const i = r.slice();
125
- return i[37] = e[l], i[38] = e, i[39] = l, i;
126
- }
127
- function Ee(r) {
128
- let e, l, i, a, s, m, v, w, b = (
129
- /*$_*/
130
- r[11]("filterby") + ""
131
- ), u, C, y, B, A = (
132
- /*$_*/
133
- r[11]("providers") + ""
134
- ), S, x, F, p, c, P, T, W, q, _, M, Q, N, J = (
135
- /*$_*/
136
- r[11]("clear") + ""
137
- ), G, H, R, K, U, X;
138
- function Y(t, d) {
139
- return (
140
- /*fullSelection*/
141
- t[7] ? Te : Ne
142
- );
143
- }
144
- let Z = Y(r), I = Z(r), z = ae(
145
- /*vendorArray*/
146
- r[5]
147
- ), k = [];
148
- for (let t = 0; t < z.length; t += 1)
149
- k[t] = fe(de(r, z, t));
150
- return {
151
- c() {
152
- e = g("div"), l = g("div"), i = g("div"), a = ee("svg"), s = ee("path"), m = O(), v = g("div"), w = g("span"), u = E(b), C = O(), y = g("div"), B = g("span"), S = E(A), x = O(), I.c(), F = O(), p = g("span"), c = ee("svg"), P = ee("path"), q = O(), _ = g("div"), M = g("ul");
153
- for (let t = 0; t < k.length; t += 1)
154
- k[t].c();
155
- Q = O(), N = g("button"), G = E(J), n(s, "id", "noun_filter_736223"), n(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"), n(s, "transform", "translate(-5 -6.2)"), n(s, "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(w, "class", "FilterName"), n(y, "class", "FilterValueContainer"), n(v, "class", "FilterTextContainer"), n(i, "class", "FilterMainArea"), n(P, "id", "arrow"), n(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"), n(P, "transform", "translate(-274.511 -441.088)"), n(P, "fill", "#d1d1d1"), n(c, "xmlns", "http://www.w3.org/2000/svg"), n(c, "width", "14"), n(c, "height", "6.835"), n(c, "viewBox", "0 0 14 6.835"), n(p, "class", T = "TriangleInactive " + /*isFilterActive*/
156
- (r[4] ? "TriangleActive" : "")), n(l, "class", W = "FilterSelector " + /*isFilterActive*/
157
- (r[4] ? "FilterSelectorOpen" : "")), n(M, "class", "FilterDropdown"), n(N, "class", "ClearFilters"), N.disabled = H = /*fullSelection*/
158
- r[7] && /*selectedVendorArray*/
159
- r[6].length != /*vendorArray*/
160
- r[5].length, n(_, "class", R = "FilterDropdownContainer " + /*isFilterActive*/
161
- (r[4] ? "FilterOpen" : "")), n(e, "class", K = "FilterContainer " + /*addfilterselector*/
162
- (r[0] == "true" && /*addsortingselector*/
163
- r[1] == "true" ? "FilerContainerSplit" : ""));
164
- },
165
- m(t, d) {
166
- j(t, e, d), o(e, l), o(l, i), o(i, a), o(a, s), o(i, m), o(i, v), o(v, w), o(w, u), o(v, C), o(v, y), o(y, B), o(B, S), o(y, x), I.m(y, null), o(l, F), o(l, p), o(p, c), o(c, P), o(e, q), o(e, _), o(_, M);
167
- for (let f = 0; f < k.length; f += 1)
168
- k[f] && k[f].m(M, null);
169
- o(_, Q), o(_, N), o(N, G), U || (X = [
170
- te(
171
- l,
172
- "click",
173
- /*click_handler*/
174
- r[24]
175
- ),
176
- te(
177
- N,
178
- "click",
179
- /*click_handler_2*/
180
- r[27]
181
- )
182
- ], U = !0);
183
- },
184
- p(t, d) {
185
- if (d[0] & /*$_*/
186
- 2048 && b !== (b = /*$_*/
187
- t[11]("filterby") + "") && D(u, b), d[0] & /*$_*/
188
- 2048 && A !== (A = /*$_*/
189
- t[11]("providers") + "") && D(S, A), Z === (Z = Y(t)) && I ? I.p(t, d) : (I.d(1), I = Z(t), I && (I.c(), I.m(y, null))), d[0] & /*isFilterActive*/
190
- 16 && T !== (T = "TriangleInactive " + /*isFilterActive*/
191
- (t[4] ? "TriangleActive" : "")) && n(p, "class", T), d[0] & /*isFilterActive*/
192
- 16 && W !== (W = "FilterSelector " + /*isFilterActive*/
193
- (t[4] ? "FilterSelectorOpen" : "")) && n(l, "class", W), d[0] & /*filterbylogo, vendorArray, filterByVendors*/
194
- 8228) {
195
- z = ae(
196
- /*vendorArray*/
197
- t[5]
198
- );
199
- let f;
200
- for (f = 0; f < z.length; f += 1) {
201
- const h = de(t, z, f);
202
- k[f] ? k[f].p(h, d) : (k[f] = fe(h), k[f].c(), k[f].m(M, null));
203
- }
204
- for (; f < k.length; f += 1)
205
- k[f].d(1);
206
- k.length = z.length;
207
- }
208
- d[0] & /*$_*/
209
- 2048 && J !== (J = /*$_*/
210
- t[11]("clear") + "") && D(G, J), d[0] & /*fullSelection, selectedVendorArray, vendorArray*/
211
- 224 && H !== (H = /*fullSelection*/
212
- t[7] && /*selectedVendorArray*/
213
- t[6].length != /*vendorArray*/
214
- t[5].length) && (N.disabled = H), d[0] & /*isFilterActive*/
215
- 16 && R !== (R = "FilterDropdownContainer " + /*isFilterActive*/
216
- (t[4] ? "FilterOpen" : "")) && n(_, "class", R), d[0] & /*addfilterselector, addsortingselector*/
217
- 3 && K !== (K = "FilterContainer " + /*addfilterselector*/
218
- (t[0] == "true" && /*addsortingselector*/
219
- t[1] == "true" ? "FilerContainerSplit" : "")) && n(e, "class", K);
220
- },
221
- d(t) {
222
- t && V(e), I.d(), Le(k, t), U = !1, ue(X);
223
- }
224
- };
225
- }
226
- function Be(r) {
227
- let e, l = (
228
- /*$_*/
229
- r[11]("500") + ""
230
- ), i;
231
- return {
232
- c() {
233
- e = g("p"), i = E(l), n(e, "class", "SearchLoading");
234
- },
235
- m(a, s) {
236
- j(a, e, s), o(e, i);
237
- },
238
- p(a, s) {
239
- s[0] & /*$_*/
240
- 2048 && l !== (l = /*$_*/
241
- a[11]("500") + "") && D(i, l);
242
- },
243
- d(a) {
244
- a && V(e);
245
- }
246
- };
247
- }
248
- function Ne(r) {
249
- let e, l;
250
- return {
251
- c() {
252
- e = g("span"), l = E(
253
- /*selectionNumber*/
254
- r[8]
255
- ), n(e, "class", "FilterCounter");
256
- },
257
- m(i, a) {
258
- j(i, e, a), o(e, l);
259
- },
260
- p(i, a) {
261
- a[0] & /*selectionNumber*/
262
- 256 && D(
263
- l,
264
- /*selectionNumber*/
265
- i[8]
266
- );
267
- },
268
- d(i) {
269
- i && V(e);
270
- }
271
- };
272
- }
273
- function Te(r) {
274
- let e, l = (
275
- /*$_*/
276
- r[11]("all") + ""
277
- ), i;
278
- return {
279
- c() {
280
- e = g("span"), i = E(l), n(e, "class", "FilterCounter");
281
- },
282
- m(a, s) {
283
- j(a, e, s), o(e, i);
284
- },
285
- p(a, s) {
286
- s[0] & /*$_*/
287
- 2048 && l !== (l = /*$_*/
288
- a[11]("all") + "") && D(i, l);
289
- },
290
- d(a) {
291
- a && V(e);
292
- }
293
- };
294
- }
295
- function Me(r) {
296
- let e, l;
297
- return {
298
- c() {
299
- e = g("img"), oe(e.src, l = /*vendor*/
300
- r[37].logo) || n(e, "src", l), n(e, "alt", "vendor logo");
301
- },
302
- m(i, a) {
303
- j(i, e, a);
304
- },
305
- p(i, a) {
306
- a[0] & /*vendorArray*/
307
- 32 && !oe(e.src, l = /*vendor*/
308
- i[37].logo) && n(e, "src", l);
309
- },
310
- d(i) {
311
- i && V(e);
312
- }
313
- };
314
- }
315
- function ze(r) {
316
- let e, l, i = (
317
- /*vendor*/
318
- r[37].name + ""
319
- ), a, s, m, v, w = (
320
- /*vendor*/
321
- r[37].games.total + ""
322
- ), b, u;
323
- return {
324
- c() {
325
- e = g("div"), l = g("span"), a = E(i), s = O(), m = g("span"), v = E("("), b = E(w), u = E(")"), n(l, "class", "VendorName"), n(e, "class", "FilterItemLabel");
326
- },
327
- m(C, y) {
328
- j(C, e, y), o(e, l), o(l, a), o(e, s), o(e, m), o(m, v), o(m, b), o(m, u);
329
- },
330
- p(C, y) {
331
- y[0] & /*vendorArray*/
332
- 32 && i !== (i = /*vendor*/
333
- C[37].name + "") && D(a, i), y[0] & /*vendorArray*/
334
- 32 && w !== (w = /*vendor*/
335
- C[37].games.total + "") && D(b, w);
336
- },
337
- d(C) {
338
- C && V(e);
339
- }
340
- };
341
- }
342
- function fe(r) {
343
- let e, l, i, a, s, m, v, w, b, u, C, y;
344
- function B() {
345
- r[25].call(
346
- i,
347
- /*each_value*/
348
- r[38],
349
- /*vendor_index*/
350
- r[39]
351
- );
352
- }
353
- function A() {
354
- return (
355
- /*click_handler_1*/
356
- r[26](
357
- /*vendor*/
358
- r[37]
359
- )
360
- );
361
- }
362
- function S(p, c) {
363
- if (
364
- /*filterbylogo*/
365
- p[2] === "false"
366
- )
367
- return ze;
368
- if (
369
- /*filterbylogo*/
370
- p[2] === "true"
371
- )
372
- return Me;
373
- }
374
- let x = S(r), F = x && x(r);
375
- return {
376
- c() {
377
- e = g("li"), l = g("label"), i = g("input"), s = O(), m = g("span"), v = O(), F && F.c(), w = O(), n(i, "type", "checkbox"), n(i, "name", "checkbox"), i.__value = a = /*vendor*/
378
- r[37].name, ne(i, i.__value), n(m, "class", "FiltersCheckmark"), n(l, "class", "FilterLabel"), n(e, "class", b = "FilterItem " + /*filterbylogo*/
379
- (r[2] === "true" ? "FilterItemWithLogos" : "")), e.value = u = /*vendor*/
380
- r[37].name;
381
- },
382
- m(p, c) {
383
- j(p, e, c), o(e, l), o(l, i), i.checked = /*vendor*/
384
- r[37].isFilterSelected, o(l, s), o(l, m), o(l, v), F && F.m(l, null), o(e, w), C || (y = [
385
- te(i, "change", B),
386
- te(i, "click", A)
387
- ], C = !0);
388
- },
389
- p(p, c) {
390
- r = p, c[0] & /*vendorArray*/
391
- 32 && a !== (a = /*vendor*/
392
- r[37].name) && (i.__value = a, ne(i, i.__value)), c[0] & /*vendorArray*/
393
- 32 && (i.checked = /*vendor*/
394
- r[37].isFilterSelected), x === (x = S(r)) && F ? F.p(r, c) : (F && F.d(1), F = x && x(r), F && (F.c(), F.m(l, null))), c[0] & /*filterbylogo*/
395
- 4 && b !== (b = "FilterItem " + /*filterbylogo*/
396
- (r[2] === "true" ? "FilterItemWithLogos" : "")) && n(e, "class", b), c[0] & /*vendorArray*/
397
- 32 && u !== (u = /*vendor*/
398
- r[37].name) && (e.value = u);
399
- },
400
- d(p) {
401
- p && V(e), F && F.d(), C = !1, ue(y);
402
- }
403
- };
404
- }
405
- function De(r) {
406
- let e;
407
- function l(s, m) {
408
- if (
409
- /*hasErrors*/
410
- s[10]
411
- )
412
- return Be;
413
- if (!/*isLoading*/
414
- s[9])
415
- return Ee;
416
- }
417
- let i = l(r), a = i && i(r);
418
- return {
419
- c() {
420
- e = g("div"), a && a.c();
421
- },
422
- m(s, m) {
423
- j(s, e, m), a && a.m(e, null), r[28](e);
424
- },
425
- p(s, m) {
426
- i === (i = l(s)) && a ? a.p(s, m) : (a && a.d(1), a = i && i(s), a && (a.c(), a.m(e, null)));
427
- },
428
- i: ie,
429
- o: ie,
430
- d(s) {
431
- s && V(e), a && a.d(), r[28](null);
432
- }
433
- };
434
- }
435
- function je(r, e, l) {
436
- let i;
437
- we(r, Pe, (t) => l(11, i = t));
438
- let { endpoint: a = "" } = e, { datasource: s = "" } = e, { lang: m = "" } = e, { translationurl: v = "" } = e, { clientstyling: w = "" } = e, { clientstylingurl: b = "" } = e, { categoryid: u = "" } = e, { addfilterselector: C = "false" } = e, { addsortingselector: y = "false" } = e, { filterbylogo: B = "false" } = e, { mbsource: A } = e, { usesinglevendorfilter: S = "false" } = e, x = !1, F = window.navigator.userAgent, p = [], c = [], P = {}, T = !1, W = 0, q = !0, _, M = !1, Q;
439
- Ae({ withLocale: "en", translations: {} });
440
- const N = () => {
441
- fetch(v).then((d) => d.json()).then((d) => {
442
- Object.keys(d).forEach((f) => {
443
- se(f, d[f]);
444
- });
445
- }).catch((d) => {
446
- console.log(d);
447
- });
448
- };
449
- Object.keys(ce).forEach((t) => {
450
- se(t, ce[t]);
451
- }), P[u] && (P = { [u]: [] });
452
- const J = () => {
453
- l(4, x = !x), window.postMessage({ type: "FilterOpened" }, window.location.href);
454
- }, G = (t) => (l(9, q = !0), new Promise((d, f) => {
455
- fetch(t).then((h) => h.json()).then((h) => {
456
- h = h.items, d(h.items), l(6, c = []);
457
- let le = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
458
- const ge = S === "true" ? "*" : u;
459
- h.forEach(($) => {
460
- le || (le = { currentCategoryId: [] }), le[ge]?.indexOf($.id) >= 0 ? ($.isFilterSelected = !0, c.push($)) : $.isFilterSelected = !1;
461
- }), l(5, p = h), R();
462
- }).catch((h) => {
463
- console.error(h), l(10, M = !0), f(h);
464
- }).finally(() => {
465
- l(9, q = !1);
466
- });
467
- })), H = (t) => {
468
- let d = localStorage.getItem("vendorFiltersByCategory");
469
- t.isFilterSelected = !t.isFilterSelected, !c.length || c.filter((h) => h.name === t.name).length == 0 ? c.push(t) : l(6, c = c.filter((h) => h.name !== t.name));
470
- const f = S === "true" ? "*" : u;
471
- d == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(P = {
472
- [f]: c.map((h) => h.id)
473
- })) : (d = JSON.parse(d), d[f] = c.map((h) => h.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(d))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), R();
474
- }, R = () => {
475
- l(7, T = c.length === p.length || c.length == 0), l(8, W = c.length);
476
- }, K = () => {
477
- if (p.length && S === "true")
478
- return;
479
- const t = new URL(`${a}/v1/casino/vendors`);
480
- l(4, x = !1), t.searchParams.append("fields", "id,name,logo,subVendors,games"), t.searchParams.append("language", m), t.searchParams.append("datasource", s), t.searchParams.append("platform", Ce(F)), S === "true" || ((u.match(/\$/g) || []).length > 1 ? (t.searchParams.append("filter", `games(subGroups=${u})`), t.searchParams.append("subVendors", `games(subGroups=${u})`)) : t.searchParams.append("filter", `games(groups=${u})`)), G(t);
481
- }, U = () => {
482
- l(6, c = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(P = {
483
- [S === "true" ? "*" : u]: c.map((t) => t.id)
484
- })), p.forEach((t) => t.isFilterSelected = !1), l(5, p), window.postMessage({ type: "ApplyFilters" }, window.location.href), l(7, T = !0), l(4, x = !1);
485
- }, X = (t) => {
486
- t.data.type == "SortingOpened" && l(4, x = !1);
487
- };
488
- _e(() => (window.addEventListener("message", X, !1), () => {
489
- window.emMessageBus != null && Q && Q.unsubscribe(), window.removeEventListener("message", X);
490
- }));
491
- const Y = () => J();
492
- function Z(t, d) {
493
- t[d].isFilterSelected = this.checked, l(5, p);
494
- }
495
- const I = (t) => H(t), z = () => U();
496
- function k(t) {
497
- xe[t ? "unshift" : "push"](() => {
498
- _ = t, l(3, _);
499
- });
500
- }
501
- return r.$$set = (t) => {
502
- "endpoint" in t && l(15, a = t.endpoint), "datasource" in t && l(16, s = t.datasource), "lang" in t && l(17, m = t.lang), "translationurl" in t && l(18, v = t.translationurl), "clientstyling" in t && l(19, w = t.clientstyling), "clientstylingurl" in t && l(20, b = t.clientstylingurl), "categoryid" in t && l(21, u = t.categoryid), "addfilterselector" in t && l(0, C = t.addfilterselector), "addsortingselector" in t && l(1, y = t.addsortingselector), "filterbylogo" in t && l(2, B = t.filterbylogo), "mbsource" in t && l(22, A = t.mbsource), "usesinglevendorfilter" in t && l(23, S = t.usesinglevendorfilter);
503
- }, r.$$.update = () => {
504
- r.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
505
- 2195460 && a && s && u && B && K(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
506
- 524296 && w && _ && Se(_, w), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
507
- 1048584 && b && _ && ke(_, b), r.$$.dirty[0] & /*customStylingContainer, mbsource*/
508
- 4194312 && _ && Ie(_, `${A}.Style`), r.$$.dirty[0] & /*translationurl*/
509
- 262144 && v && N();
510
- }, [
511
- C,
512
- y,
513
- B,
514
- _,
515
- x,
516
- p,
517
- c,
518
- T,
519
- W,
520
- q,
521
- M,
522
- i,
523
- J,
524
- H,
525
- U,
526
- a,
527
- s,
528
- m,
529
- v,
530
- w,
531
- b,
532
- u,
533
- A,
534
- S,
535
- Y,
536
- Z,
537
- I,
538
- z,
539
- k
540
- ];
541
- }
542
- class Ve extends he {
543
- constructor(e) {
544
- super(), Fe(
545
- this,
546
- e,
547
- je,
548
- De,
549
- ye,
550
- {
551
- endpoint: 15,
552
- datasource: 16,
553
- lang: 17,
554
- translationurl: 18,
555
- clientstyling: 19,
556
- clientstylingurl: 20,
557
- categoryid: 21,
558
- addfilterselector: 0,
559
- addsortingselector: 1,
560
- filterbylogo: 2,
561
- mbsource: 22,
562
- usesinglevendorfilter: 23
563
- },
564
- Oe,
565
- [-1, -1]
566
- );
567
- }
568
- get endpoint() {
569
- return this.$$.ctx[15];
570
- }
571
- set endpoint(e) {
572
- this.$$set({ endpoint: e }), L();
573
- }
574
- get datasource() {
575
- return this.$$.ctx[16];
576
- }
577
- set datasource(e) {
578
- this.$$set({ datasource: e }), L();
579
- }
580
- get lang() {
581
- return this.$$.ctx[17];
582
- }
583
- set lang(e) {
584
- this.$$set({ lang: e }), L();
585
- }
586
- get translationurl() {
587
- return this.$$.ctx[18];
588
- }
589
- set translationurl(e) {
590
- this.$$set({ translationurl: e }), L();
591
- }
592
- get clientstyling() {
593
- return this.$$.ctx[19];
594
- }
595
- set clientstyling(e) {
596
- this.$$set({ clientstyling: e }), L();
597
- }
598
- get clientstylingurl() {
599
- return this.$$.ctx[20];
600
- }
601
- set clientstylingurl(e) {
602
- this.$$set({ clientstylingurl: e }), L();
603
- }
604
- get categoryid() {
605
- return this.$$.ctx[21];
606
- }
607
- set categoryid(e) {
608
- this.$$set({ categoryid: e }), L();
609
- }
610
- get addfilterselector() {
611
- return this.$$.ctx[0];
612
- }
613
- set addfilterselector(e) {
614
- this.$$set({ addfilterselector: e }), L();
615
- }
616
- get addsortingselector() {
617
- return this.$$.ctx[1];
618
- }
619
- set addsortingselector(e) {
620
- this.$$set({ addsortingselector: e }), L();
621
- }
622
- get filterbylogo() {
623
- return this.$$.ctx[2];
624
- }
625
- set filterbylogo(e) {
626
- this.$$set({ filterbylogo: e }), L();
627
- }
628
- get mbsource() {
629
- return this.$$.ctx[22];
630
- }
631
- set mbsource(e) {
632
- this.$$set({ mbsource: e }), L();
633
- }
634
- get usesinglevendorfilter() {
635
- return this.$$.ctx[23];
636
- }
637
- set usesinglevendorfilter(e) {
638
- this.$$set({ usesinglevendorfilter: e }), L();
639
- }
640
- }
641
- be(Ve, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, mbsource: {}, usesinglevendorfilter: {} }, [], [], !0);
642
- export {
643
- Ve as default
644
- };