@everymatrix/casino-lobby-nd 1.91.0 → 1.91.2

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 (132) hide show
  1. package/components/{CasinoCalendar-BwneImQ1.js → CasinoCalendar-BPcMFgNd.js} +3 -3
  2. package/components/{CasinoCalendar-CPc_nGFU.cjs → CasinoCalendar-CZ6SqVud.cjs} +1 -1
  3. package/components/{CasinoCalendar-pFR1UiyW.js → CasinoCalendar-CqO4AIsB.js} +3 -3
  4. package/components/{CasinoCalendarDailyDetails-Dl2lCHc6.js → CasinoCalendarDailyDetails-42lNyJrs.js} +1 -1
  5. package/components/{CasinoCalendarDailyDetails-UkrKgqvW.js → CasinoCalendarDailyDetails-D8kLpNMV.js} +1 -1
  6. package/components/{CasinoCalendarDailyDetails-DohJWzpS.cjs → CasinoCalendarDailyDetails-DhfYVv2D.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-ByGqz6lG.js → CasinoCalendarDailyItem-CB1JuK9H.js} +1 -1
  8. package/components/{CasinoCalendarDailyItem-csUg0xk3.cjs → CasinoCalendarDailyItem-DfgXeMcF.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-DkAOp2kO.js → CasinoCalendarDailyItem-uenjc0DK.js} +1 -1
  10. package/components/CasinoCategoriesSliderNd-BjKlZ7yV.js +667 -0
  11. package/components/CasinoCategoriesSliderNd-Dsph6Hxw.cjs +1 -0
  12. package/components/{CasinoCategoriesSliderNd-L-fJRvBT.js → CasinoCategoriesSliderNd-v73jZ75J.js} +175 -150
  13. package/components/{CasinoCollectionsProviders-olNTznO8.js → CasinoCollectionsProviders-BkucxKca.js} +1 -1
  14. package/components/{CasinoCollectionsProviders-CEdwngKT.cjs → CasinoCollectionsProviders-dk7p2ttr.cjs} +1 -1
  15. package/components/{CasinoCollectionsProviders-DFr7fT4X.js → CasinoCollectionsProviders-j40pwO7K.js} +1 -1
  16. package/components/{CasinoFavoritesSectionNd-DKwDsLRo.cjs → CasinoFavoritesSectionNd-BEbCn4QR.cjs} +1 -1
  17. package/components/{CasinoFavoritesSectionNd-D0BE5ylC.js → CasinoFavoritesSectionNd-CbtIdUHT.js} +2 -2
  18. package/components/{CasinoFavoritesSectionNd-CPLGK1h8.js → CasinoFavoritesSectionNd-loMpT_s2.js} +2 -2
  19. package/components/{CasinoFilter-SxxgItLU.js → CasinoFilter-BSYfKnfu.js} +1 -1
  20. package/components/{CasinoFilter-6tLD_n0v.cjs → CasinoFilter-BwW9UM-g.cjs} +1 -1
  21. package/components/{CasinoFilter-Br5RRO7T.js → CasinoFilter-CClun-th.js} +1 -1
  22. package/components/{CasinoGameThumbnailNd-CWwE6yTn.cjs → CasinoGameThumbnailNd-5fAr7awv.cjs} +1 -1
  23. package/components/{CasinoGameThumbnailNd-DVXyq_bj.js → CasinoGameThumbnailNd-CaW65T18.js} +3 -3
  24. package/components/{CasinoGameThumbnailNd-D4ztOQVz.js → CasinoGameThumbnailNd-Vwi3_peb.js} +3 -3
  25. package/components/{CasinoGamesCategorySectionNd-CQSUwBfm.js → CasinoGamesCategorySectionNd-BHd3EAum.js} +5 -5
  26. package/components/{CasinoGamesCategorySectionNd-BYwf0ZzC.js → CasinoGamesCategorySectionNd-CQ_uM3H6.js} +5 -5
  27. package/components/{CasinoGamesCategorySectionNd-CznZuil1.cjs → CasinoGamesCategorySectionNd-DzrIbaWO.cjs} +1 -1
  28. package/components/{CasinoJackpotBanner-BREbIw3K.cjs → CasinoJackpotBanner-BpASYMlO.cjs} +1 -1
  29. package/components/{CasinoJackpotBanner-aYEy4Kyl.js → CasinoJackpotBanner-CZX0DIgG.js} +1 -1
  30. package/components/{CasinoJackpotBanner-mAt4lKU-.js → CasinoJackpotBanner-rA9YRxri.js} +1 -1
  31. package/components/{CasinoLastPlayedSectionNd-BRD4bqwg.js → CasinoLastPlayedSectionNd-7Y4PA8oA.js} +3 -3
  32. package/components/{CasinoLastPlayedSectionNd-Dh-uKa19.cjs → CasinoLastPlayedSectionNd-B4QZN568.cjs} +1 -1
  33. package/components/{CasinoLastPlayedSectionNd-ClujrUqA.js → CasinoLastPlayedSectionNd-CTYNtNPX.js} +3 -3
  34. package/components/{CasinoLobbyNd-DxldwI_g.js → CasinoLobbyNd-8wmWQuuM.js} +2 -2
  35. package/components/{CasinoLobbyNd-C_9G9_g5.cjs → CasinoLobbyNd-ByfltJlD.cjs} +1 -1
  36. package/components/{CasinoLobbyNd-bbR93r1z.js → CasinoLobbyNd-XZW290tF.js} +2 -2
  37. package/components/{CasinoMostPlayedSectionNd-CEoHKdml.js → CasinoMostPlayedSectionNd-B-1vTpOO.js} +3 -3
  38. package/components/{CasinoMostPlayedSectionNd-CxyY4Lf6.js → CasinoMostPlayedSectionNd-D0Q9cdUl.js} +3 -3
  39. package/components/{CasinoMostPlayedSectionNd-CCZDqJ-V.cjs → CasinoMostPlayedSectionNd-qX46o9qu.cjs} +1 -1
  40. package/components/{CasinoMyGamesNd-BJ95nvHG.cjs → CasinoMyGamesNd-BnQztCVN.cjs} +1 -1
  41. package/components/{CasinoMyGamesNd-Ccb7r6z9.js → CasinoMyGamesNd-CzvJgQD9.js} +5 -5
  42. package/components/{CasinoMyGamesNd-B2oh92d3.js → CasinoMyGamesNd-DtOi0CM8.js} +5 -5
  43. package/components/{CasinoPageNd-Bhy-0sYf.js → CasinoPageNd-DcffI7-B.js} +381 -378
  44. package/components/{CasinoPageNd-DC68SkdX.js → CasinoPageNd-_q4-sNdL.js} +366 -363
  45. package/components/{CasinoPageNd-B_P13DSW.cjs → CasinoPageNd-ihFBeiP3.cjs} +1 -1
  46. package/components/{CasinoRandomGame-CH-eukMA.js → CasinoRandomGame-B_CduD9L.js} +1 -1
  47. package/components/{CasinoRandomGame-VtthH6fZ.cjs → CasinoRandomGame-CizKh9L_.cjs} +1 -1
  48. package/components/{CasinoRandomGame-xS7vlZYb.js → CasinoRandomGame-xOlt8fJf.js} +1 -1
  49. package/components/{CasinoSearchNd-DfBSL_NV.cjs → CasinoSearchNd-CJfURNmQ.cjs} +1 -1
  50. package/components/{CasinoSearchNd-av9rdeoE.js → CasinoSearchNd-CmGHZRNS.js} +4 -4
  51. package/components/{CasinoSearchNd-CY-xf4b7.js → CasinoSearchNd-NUQEWJ3V.js} +4 -4
  52. package/components/CasinoSliderNd-DCRB6r1D.cjs +1 -0
  53. package/components/CasinoSliderNd-Y8zK0g8N.js +1251 -0
  54. package/components/CasinoSliderNd-ittiGYeQ.js +1285 -0
  55. package/components/{CasinoSort-B0_2kCnL.cjs → CasinoSort-DHfTc4o2.cjs} +1 -1
  56. package/components/{CasinoSort-CLnj8P9G.js → CasinoSort-DSS6l9wT.js} +1 -1
  57. package/components/{CasinoSort-C1X1akxl.js → CasinoSort-VrXH8BFj.js} +1 -1
  58. package/components/{CasinoWinners-C1u2KsQJ.js → CasinoWinners-BnE4z2W-.js} +3 -3
  59. package/components/{CasinoWinners-DJQLnW-d.js → CasinoWinners-D9j1Xnpc.js} +3 -3
  60. package/components/{CasinoWinners-DsC_LMLf.cjs → CasinoWinners-qLK9YUoI.cjs} +1 -1
  61. package/components/{GeneralAnimationLoading-BBEJjc5H.js → GeneralAnimationLoading-CA-H6SgS.js} +1 -1
  62. package/components/{GeneralAnimationLoading-Ct_wY7ZB.cjs → GeneralAnimationLoading-DKQF2gOQ.cjs} +1 -1
  63. package/components/{GeneralAnimationLoading-CQp4jtm8.js → GeneralAnimationLoading-lvt_3Hec.js} +1 -1
  64. package/es2015/casino-lobby-nd.cjs +1 -1
  65. package/es2015/casino-lobby-nd.js +1 -1
  66. package/esnext/casino-lobby-nd.js +1 -1
  67. package/lazy/{casino-calendar-CYFgtit5.js → casino-calendar-Cd5zyNax.js} +1 -1
  68. package/lazy/{casino-calendar-Bd0aUcnv.cjs → casino-calendar-Om4TEXwY.cjs} +1 -1
  69. package/lazy/{casino-calendar-daily-details-ChbVeHo8.cjs → casino-calendar-daily-details-BmbriwCq.cjs} +1 -1
  70. package/lazy/{casino-calendar-daily-details-MGEm6LI6.js → casino-calendar-daily-details-BmoaC8uF.js} +1 -1
  71. package/lazy/{casino-calendar-daily-details-BOY0JVdX.js → casino-calendar-daily-details-CMS4cbCl.js} +1 -1
  72. package/lazy/{casino-calendar-daily-item-CisuEzga.cjs → casino-calendar-daily-item-8ldGaO65.cjs} +1 -1
  73. package/lazy/{casino-calendar-daily-item-S0mPBhPv.js → casino-calendar-daily-item-BDoY6vMQ.js} +1 -1
  74. package/lazy/{casino-calendar-daily-item-DHG1BwW2.js → casino-calendar-daily-item-BaopCnFD.js} +1 -1
  75. package/lazy/{casino-calendar-Cwn_6u7d.js → casino-calendar-lvx4QAud.js} +1 -1
  76. package/lazy/{casino-categories-slider-nd-Bve57ebZ.js → casino-categories-slider-nd-CGgejOwS.js} +1 -1
  77. package/lazy/{casino-categories-slider-nd-D2OP9T4q.js → casino-categories-slider-nd-DzdUH17J.js} +1 -1
  78. package/lazy/{casino-categories-slider-nd-C1NxkCyw.cjs → casino-categories-slider-nd-UkxUJxsa.cjs} +1 -1
  79. package/lazy/{casino-collections-providers-Dm3pbO8O.js → casino-collections-providers-CgqFcebj.js} +1 -1
  80. package/lazy/{casino-collections-providers-B69TwWUd.js → casino-collections-providers-PSYMINnA.js} +1 -1
  81. package/lazy/{casino-collections-providers-C7wJns3B.cjs → casino-collections-providers-SFPT-wjH.cjs} +1 -1
  82. package/lazy/{casino-favorites-section-nd-DFdZuP0B.js → casino-favorites-section-nd-B1zsSvdo.js} +1 -1
  83. package/lazy/{casino-favorites-section-nd-FnYsmsja.js → casino-favorites-section-nd-BTMU_7cg.js} +1 -1
  84. package/lazy/{casino-favorites-section-nd-BMTqWiP6.cjs → casino-favorites-section-nd-CMqPG8sI.cjs} +1 -1
  85. package/lazy/{casino-filter-fvQuljTB.cjs → casino-filter-BaeANekd.cjs} +1 -1
  86. package/lazy/{casino-filter-CxKYjz8d.js → casino-filter-BewvnsvO.js} +1 -1
  87. package/lazy/{casino-filter-CAcBvtFH.js → casino-filter-D9IyVCPI.js} +1 -1
  88. package/lazy/{casino-game-thumbnail-nd-DZjv9Ur1.js → casino-game-thumbnail-nd-Biqcos9Z.js} +1 -1
  89. package/lazy/{casino-game-thumbnail-nd-Bk97vWXT.cjs → casino-game-thumbnail-nd-CaI17XbG.cjs} +1 -1
  90. package/lazy/{casino-game-thumbnail-nd-DGUYSZL5.js → casino-game-thumbnail-nd-CfejtZN7.js} +1 -1
  91. package/lazy/{casino-games-category-section-nd-CtSKk9pk.cjs → casino-games-category-section-nd-Bfp3mOj_.cjs} +1 -1
  92. package/lazy/{casino-games-category-section-nd-f9EkLQe8.js → casino-games-category-section-nd-CHBK_XW1.js} +1 -1
  93. package/lazy/{casino-games-category-section-nd-AoBtBdFG.js → casino-games-category-section-nd-Debx7Z32.js} +1 -1
  94. package/lazy/{casino-jackpot-banner-DmTqMIqr.js → casino-jackpot-banner-2JuJ9x3T.js} +1 -1
  95. package/lazy/{casino-jackpot-banner-BaZzUj4y.js → casino-jackpot-banner-Cc8O_qbp.js} +1 -1
  96. package/lazy/{casino-jackpot-banner-C46y-l3p.cjs → casino-jackpot-banner-DGTsgO7k.cjs} +1 -1
  97. package/lazy/{casino-last-played-section-nd-PyOsinBF.cjs → casino-last-played-section-nd-D6DQTEAn.cjs} +1 -1
  98. package/lazy/{casino-last-played-section-nd-CNXE869m.js → casino-last-played-section-nd-DRfmKdzq.js} +1 -1
  99. package/lazy/{casino-last-played-section-nd-D0CwP5on.js → casino-last-played-section-nd-vrzSlc45.js} +1 -1
  100. package/lazy/{casino-most-played-section-nd-qAn5qtFJ.js → casino-most-played-section-nd-BkPE8FVS.js} +1 -1
  101. package/lazy/{casino-most-played-section-nd-m8oWcvAX.js → casino-most-played-section-nd-C4gjKxri.js} +1 -1
  102. package/lazy/{casino-most-played-section-nd-DAe_Aop7.cjs → casino-most-played-section-nd-D_NnW1VJ.cjs} +1 -1
  103. package/lazy/{casino-my-games-nd-Rud_7CaP.cjs → casino-my-games-nd-8M8JnazH.cjs} +1 -1
  104. package/lazy/{casino-my-games-nd-DtG96vEH.js → casino-my-games-nd-BWOGwd4Y.js} +1 -1
  105. package/lazy/{casino-my-games-nd-JlXF7Yqj.js → casino-my-games-nd-CoSnUh5P.js} +1 -1
  106. package/lazy/{casino-page-nd-BLD1yykk.js → casino-page-nd-C6lgTU4j.js} +1 -1
  107. package/lazy/{casino-page-nd-D_3V2g9k.cjs → casino-page-nd-CzQMoUsW.cjs} +1 -1
  108. package/lazy/{casino-page-nd-B0UeOHdZ.js → casino-page-nd-DgOGPr7B.js} +1 -1
  109. package/lazy/{casino-random-game-D0t_lWsf.cjs → casino-random-game-C4cBxYFF.cjs} +1 -1
  110. package/lazy/{casino-random-game-Di_1JYAA.js → casino-random-game-CTc1dtR9.js} +1 -1
  111. package/lazy/{casino-random-game-DEUBCvfL.js → casino-random-game-CilaaT6o.js} +1 -1
  112. package/lazy/{casino-search-nd-aINujef6.cjs → casino-search-nd-BxRPu318.cjs} +1 -1
  113. package/lazy/{casino-search-nd-4ETz-9KT.js → casino-search-nd-CeWW8s23.js} +1 -1
  114. package/lazy/{casino-search-nd-CZeOfvJM.js → casino-search-nd-IJkshl1_.js} +1 -1
  115. package/lazy/{casino-slider-nd-DR9YVN6H.cjs → casino-slider-nd--A3HsaGh.cjs} +1 -1
  116. package/lazy/{casino-slider-nd-CG2E0B6P.js → casino-slider-nd-4WmDb_Lv.js} +1 -1
  117. package/lazy/{casino-slider-nd-B2XkQQZX.js → casino-slider-nd-D-2v2VvS.js} +1 -1
  118. package/lazy/{casino-sort-zvE8Kmt7.cjs → casino-sort-Dls_qYMV.cjs} +1 -1
  119. package/lazy/{casino-sort-BbRWquG9.js → casino-sort-dwbN73ru.js} +1 -1
  120. package/lazy/{casino-sort-DL9cNYB9.js → casino-sort-lHt0tT7R.js} +1 -1
  121. package/lazy/{casino-winners-DaW2OCUA.cjs → casino-winners-BbwiVhmT.cjs} +1 -1
  122. package/lazy/{casino-winners-8jD44L9m.js → casino-winners-DET-WDs0.js} +1 -1
  123. package/lazy/{casino-winners-CRNp9Lln.js → casino-winners-Di2HfkLT.js} +1 -1
  124. package/lazy/{general-animation-loading-JrvTTH8W.js → general-animation-loading-BZ3KRZMG.js} +1 -1
  125. package/lazy/{general-animation-loading-VpVgJjyZ.cjs → general-animation-loading-Bcy_MaDJ.cjs} +1 -1
  126. package/lazy/{general-animation-loading-XRTnl_1h.js → general-animation-loading-CIF0GqX1.js} +1 -1
  127. package/package.json +1 -1
  128. package/components/CasinoCategoriesSliderNd-CZnT_tZ8.cjs +0 -1
  129. package/components/CasinoCategoriesSliderNd-saQRkCiz.js +0 -613
  130. package/components/CasinoSliderNd-C4HgSY3d.js +0 -1101
  131. package/components/CasinoSliderNd-Cl9HlK-D.js +0 -1082
  132. package/components/CasinoSliderNd-OVONYmzK.cjs +0 -1
@@ -1,9 +1,9 @@
1
- import { a as ge, S as ue, i as ye, f as r, s as be, c as fe, b as he, n as q, d as j, e as T, g as _, h as P, j as de, o as Ne, k as we, l as _e, m as o, p as Le, $ as Me, q as ve, r as Se, t as Ce, u as Ge } from "./CasinoLobbyNd-bbR93r1z.js";
2
- import "../lazy/casino-slider-nd-CG2E0B6P.js";
3
- function ke(i, e) {
4
- ge(i, e);
1
+ import { a as Ne, S as Ge, i as _e, f as r, s as Le, c as we, b as ve, n as j, d as F, e as P, g as w, h as z, j as Me, o as Se, k as Ce, l as ke, m as o, p as Te, $ as Ae, q as qe, r as je, t as Fe, u as Pe } from "./CasinoLobbyNd-XZW290tF.js";
2
+ import "../lazy/casino-slider-nd-4WmDb_Lv.js";
3
+ function ze(i, e) {
4
+ Ne(i, e);
5
5
  }
6
- const qe = {
6
+ const Ee = {
7
7
  en: {
8
8
  lobbyName: "Lobby",
9
9
  myGamesName: "My games"
@@ -77,17 +77,17 @@ const qe = {
77
77
  myGamesName: "My games"
78
78
  }
79
79
  };
80
- function je(i, e, t) {
80
+ function Oe(i, e, t) {
81
81
  return window.emMessageBus && (e = window.emMessageBus.subscribe(i, t)), e;
82
82
  }
83
- function Te(i) {
84
- he(i, "svelte-ciaihq", ".svelte-ciaihq{font-family:inherit}.CasinoCategoriesLoading.svelte-ciaihq{height:52px}p.svelte-ciaihq{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-ciaihq{background:transparent;border-radius:var(--emw--border-radius-medium, 10px);padding-top:20px}");
83
+ function Be(i) {
84
+ ve(i, "svelte-ciaihq", ".svelte-ciaihq{font-family:inherit}.CasinoCategoriesLoading.svelte-ciaihq{height:52px}p.svelte-ciaihq{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-ciaihq{background:transparent;border-radius:var(--emw--border-radius-medium, 10px);padding-top:20px}");
85
85
  }
86
- function Pe(i) {
86
+ function De(i) {
87
87
  let e, t;
88
88
  return {
89
89
  c() {
90
- e = _("div"), t = _("casino-slider-nd"), o(
90
+ e = w("div"), t = w("casino-slider-nd"), o(
91
91
  t,
92
92
  "lang",
93
93
  /*lang*/
@@ -102,7 +102,7 @@ function Pe(i) {
102
102
  "endpoint",
103
103
  /*endpoint*/
104
104
  i[1]
105
- ), o(t, "identity", O), o(
105
+ ), o(t, "identity", I), o(
106
106
  t,
107
107
  "favoritesnumber",
108
108
  /*numberOfFavoredGames*/
@@ -122,6 +122,11 @@ function Pe(i) {
122
122
  "clientstylingurl",
123
123
  /*clientstylingurl*/
124
124
  i[6]
125
+ ), o(
126
+ t,
127
+ "initialactivecategory",
128
+ /*initialactivecategory*/
129
+ i[17]
125
130
  ), o(
126
131
  t,
127
132
  "activeindex",
@@ -157,10 +162,10 @@ function Pe(i) {
157
162
  "mbsource",
158
163
  /*mbsource*/
159
164
  i[4]
160
- ), o(t, "class", "svelte-ciaihq"), P(e, "class", "CasinoCategoriesContainer svelte-ciaihq");
165
+ ), o(t, "class", "svelte-ciaihq"), z(e, "class", "CasinoCategoriesContainer svelte-ciaihq");
161
166
  },
162
167
  m(n, a) {
163
- T(n, e, a), Le(e, t);
168
+ P(n, e, a), Te(e, t);
164
169
  },
165
170
  p(n, a) {
166
171
  a[0] & /*lang*/
@@ -250,222 +255,242 @@ function Pe(i) {
250
255
  );
251
256
  },
252
257
  d(n) {
253
- n && j(e);
258
+ n && F(e);
254
259
  }
255
260
  };
256
261
  }
257
- function ze(i) {
262
+ function Re(i) {
258
263
  let e;
259
264
  return {
260
265
  c() {
261
- e = _("p"), e.textContent = "500 Error - Internal Server Error.", P(e, "class", "SearchLoading svelte-ciaihq");
266
+ e = w("p"), e.textContent = "500 Error - Internal Server Error.", z(e, "class", "SearchLoading svelte-ciaihq");
262
267
  },
263
268
  m(t, n) {
264
- T(t, e, n);
269
+ P(t, e, n);
265
270
  },
266
- p: q,
271
+ p: j,
267
272
  d(t) {
268
- t && j(e);
273
+ t && F(e);
269
274
  }
270
275
  };
271
276
  }
272
- function Fe(i) {
277
+ function Ue(i) {
273
278
  let e;
274
279
  return {
275
280
  c() {
276
- e = _("div"), P(e, "class", "CasinoCategoriesLoading svelte-ciaihq");
281
+ e = w("div"), z(e, "class", "CasinoCategoriesLoading svelte-ciaihq");
277
282
  },
278
283
  m(t, n) {
279
- T(t, e, n);
284
+ P(t, e, n);
280
285
  },
281
- p: q,
286
+ p: j,
282
287
  d(t) {
283
- t && j(e);
288
+ t && F(e);
284
289
  }
285
290
  };
286
291
  }
287
- function Ae(i) {
292
+ function Ie(i) {
288
293
  let e;
289
- function t(l, c) {
294
+ function t(m, u) {
290
295
  return (
291
296
  /*isLoading*/
292
- l[13] || Ee || Oe ? Fe : (
297
+ m[13] || He || Ye ? Ue : (
293
298
  /*hasErrors*/
294
- l[15] ? ze : Pe
299
+ m[15] ? Re : De
295
300
  )
296
301
  );
297
302
  }
298
303
  let n = t(i), a = n(i);
299
304
  return {
300
305
  c() {
301
- e = _("div"), a.c(), P(e, "class", "svelte-ciaihq");
306
+ e = w("div"), a.c(), z(e, "class", "svelte-ciaihq");
302
307
  },
303
- m(l, c) {
304
- T(l, e, c), a.m(e, null), i[27](e);
308
+ m(m, u) {
309
+ P(m, e, u), a.m(e, null), i[28](e);
305
310
  },
306
- p(l, c) {
307
- n === (n = t(l)) && a ? a.p(l, c) : (a.d(1), a = n(l), a && (a.c(), a.m(e, null)));
311
+ p(m, u) {
312
+ n === (n = t(m)) && a ? a.p(m, u) : (a.d(1), a = n(m), a && (a.c(), a.m(e, null)));
308
313
  },
309
- i: q,
310
- o: q,
311
- d(l) {
312
- l && j(e), a.d(), i[27](null);
314
+ i: j,
315
+ o: j,
316
+ d(m) {
317
+ m && F(e), a.d(), i[28](null);
313
318
  }
314
319
  };
315
320
  }
316
- let O = "CasinoSliderData", Ee = !1, Oe = !1;
317
- function Be(i, e, t) {
321
+ let I = "CasinoSliderData", He = !1, Ye = !1;
322
+ function xe(i, e, t) {
318
323
  let n;
319
- de(i, Me, (s) => t(33, n = s));
320
- let { endpoint: a = "" } = e, { datasource: l = "" } = e, { lang: c = "" } = e, { userid: B = "" } = e, { session: L = "" } = e, { mostplayed: M = "" } = e, { lastplayed: v = "false" } = e, { favorites: S = "" } = e, { mbsource: h } = e, { clientstyling: C = "" } = e, { clientstylingurl: G = "" } = e, { activecategory: u = "" } = e, { actionevent: D = "" } = e, { sessioncheck: R = "" } = e, { location: U = "secondaryMenu" } = e, { showsubgroups: I = "false" } = e, { filteredcategories: k = "" } = e, { translationurl: w = "" } = e, { categoriesicon: x = "" } = e, { lobbyiconimage: Y = "" } = e, { mygamesiconimage: H = "" } = e, { customizecategoryicon: z = "false" } = e, J, K, y = !0, d, N = [], b = !1, $ = window.navigator.userAgent, g, ee, te, Q, V = !1, F = !1;
321
- const A = (s) => {
322
- Object.keys(s).forEach((m) => {
323
- ke(m, s[m]);
324
+ Me(i, Ae, (s) => t(34, n = s));
325
+ let { endpoint: a = "" } = e, { datasource: m = "" } = e, { lang: u = "" } = e, { userid: H = "" } = e, { session: v = "" } = e, { mostplayed: M = "" } = e, { lastplayed: S = "false" } = e, { favorites: C = "" } = e, { mbsource: d } = e, { clientstyling: k = "" } = e, { clientstylingurl: T = "" } = e, { activecategory: b = "" } = e, { actionevent: Y = "" } = e, { sessioncheck: x = "" } = e, { location: W = "secondaryMenu" } = e, { showsubgroups: E = "false" } = e, { filteredcategories: A = "" } = e, { translationurl: _ = "" } = e, { categoriesicon: J = "" } = e, { lobbyiconimage: K = "" } = e, { mygamesiconimage: Q = "" } = e, { customizecategoryicon: O = "false" } = e, V, X, f = !0, N, G = [], h = !1, te = window.navigator.userAgent, y, se, ie, Z, p = !1, B = !1, ae = b;
326
+ const D = (s) => {
327
+ Object.keys(s).forEach((l) => {
328
+ ze(l, s[l]);
324
329
  });
325
- }, se = () => {
326
- fetch(w).then((m) => m.json()).then((m) => {
327
- A(m);
328
- }).catch((m) => {
329
- console.log(m);
330
+ }, ne = () => {
331
+ fetch(_).then((l) => l.json()).then((l) => {
332
+ D(l);
333
+ }).catch((l) => {
334
+ console.log(l);
330
335
  });
331
336
  };
332
- A(qe);
333
- const ie = () => {
334
- V == !1 && (S == "true" || M == "true" || v == "true") && N.splice(1, 0, {
337
+ D(Ee);
338
+ const oe = () => {
339
+ p == !1 && (C == "true" || M == "true" || S == "true") && G.splice(1, 0, {
335
340
  // @ts-ignore
336
341
  id: "MYGAMES",
337
- name: J,
342
+ name: V,
338
343
  href: "",
339
344
  games: []
340
- }), Ge(), V = !0, t(26, F = !0), W();
341
- }, ae = () => (a || (d = "Endpoint is missing! Please provide a valid endpointURL.", t(15, b = !0), t(13, y = !1), console.error(d)), l || (d = "Datasource is missing! Please provide a valid datasource.", t(15, b = !0), t(13, y = !1), console.error(d)), (!c || c.length < 2) && (d = "Language is missing! Please provide a valid language (alpha2code)", t(15, b = !0), t(13, y = !1), console.error(d)), b), ne = () => {
342
- if (J = n("myGamesName"), K = n("lobbyName"), !ae()) {
343
- let s = new URL(`${a}/v2/casino/groups/${l}`);
344
- s.searchParams.append("language", c), s.searchParams.append("platform", we($));
345
- let m = "id,name,games(href),flags";
346
- z === "true" && (m += ",icon"), s.searchParams.append("fields", m), fetch(s).then((f) => f.json()).then(
347
- (f) => {
348
- let le = k.split(","), ce = f.items.filter((Z) => {
349
- let E = !1;
350
- if (Z.games.total > 0 && (E = !0, k))
351
- for (let me of le)
352
- Z.flags == me && (E = !1);
353
- return E;
354
- });
355
- N = [], N = N.concat(ce), N.unshift({
345
+ }), Pe(), p = !0, t(27, B = !0), R();
346
+ }, re = () => (a || (N = "Endpoint is missing! Please provide a valid endpointURL.", t(15, h = !0), t(13, f = !1), console.error(N)), m || (N = "Datasource is missing! Please provide a valid datasource.", t(15, h = !0), t(13, f = !1), console.error(N)), (!u || u.length < 2) && (N = "Language is missing! Please provide a valid language (alpha2code)", t(15, h = !0), t(13, f = !1), console.error(N)), h), le = (s) => (s?.gamesTotal ?? 0) > 0, ce = (s) => Array.isArray(s?.subGroups?.items) && s.subGroups.items.some((l) => (l?.gamesTotal ?? 0) > 0), me = (s) => le(s) || ce(s), ge = (s) => {
347
+ const l = s?.subGroups?.items ?? null;
348
+ if (!Array.isArray(l))
349
+ return s;
350
+ const g = l.filter((U) => (U?.gamesTotal ?? 0) > 0);
351
+ return g.length === l.length ? s : {
352
+ ...s,
353
+ subGroups: {
354
+ ...s.subGroups,
355
+ items: g,
356
+ count: g.length,
357
+ total: g.length
358
+ }
359
+ };
360
+ }, ue = () => {
361
+ if (V = n("myGamesName"), X = n("lobbyName"), !re()) {
362
+ let s = new URL(`${a}/v2/casino/groups/${m}`);
363
+ s.searchParams.append("language", u), s.searchParams.append("platform", Ce(te));
364
+ let l = "id,name,games(href),flags";
365
+ O === "true" && (l += ",icon"), s.searchParams.append("fields", l), fetch(s).then((g) => g.json()).then(
366
+ (g) => {
367
+ const U = new Set(A ? A.split(",").map((c) => c.trim()).filter(Boolean) : []), fe = (c) => c ? Array.isArray(c) ? c : [c] : [], he = (c) => !fe(c.flags).some((de) => U.has(de));
368
+ let L = g.items.filter(he).map((c) => ({
369
+ ...c,
370
+ gamesTotal: c?.games?.total ?? c?.gamesTotal ?? 0,
371
+ subGroups: c?.subGroups ? {
372
+ ...c.subGroups,
373
+ items: (c.subGroups.items ?? []).map((q) => ({
374
+ ...q,
375
+ gamesTotal: q?.games?.total ?? q?.gamesTotal ?? 0
376
+ }))
377
+ } : void 0
378
+ }));
379
+ E === "true" ? L = L.map(ge).filter(me) : L = L.filter((c) => (c?.gamesTotal ?? 0) > 0), G = [], G = G.concat(L), G.unshift({
356
380
  // @ts-ignore
357
381
  id: "LOBBY",
358
- name: K,
382
+ name: X,
359
383
  href: "",
360
384
  games: []
361
- }), t(13, y = !1);
385
+ }), R(), t(13, f = !1);
362
386
  },
363
- (f) => {
364
- t(15, b = !0), console.error("There was an error while fetching the categories", f);
387
+ (g) => {
388
+ t(15, h = !0), console.error("There was an error while fetching the categories", g);
365
389
  }
366
- ).catch((f) => {
367
- t(15, b = !0), console.error("There was an error while fetching the categories", f);
390
+ ).catch((g) => {
391
+ t(15, h = !0), console.error("There was an error while fetching the categories", g);
368
392
  });
369
393
  }
370
- }, oe = () => {
371
- let s = u.split("$");
372
- t(0, u = s.length > 2 ? u.split("$").slice(0, 2).join("$") : u);
373
- }, W = () => {
394
+ }, ye = () => {
395
+ let s = b.split("$");
396
+ t(0, b = s.length > 2 ? b.split("$").slice(0, 2).join("$") : b);
397
+ }, R = () => {
374
398
  window.postMessage(
375
399
  {
376
400
  type: "SliderData",
377
- identity: O,
378
- data: N
401
+ identity: I,
402
+ data: G
379
403
  },
380
404
  window.location.href
381
405
  );
382
- }, X = (s) => {
383
- s.data && s.data.type == "SliderMounted" && s.data.identity == O && W();
406
+ }, $ = (s) => {
407
+ s.data && s.data.type == "SliderMounted" && s.data.identity == I && R();
384
408
  };
385
- Ne(() => (window.addEventListener("message", X), () => {
386
- window.removeEventListener("message", X);
409
+ Se(() => (window.addEventListener("message", $), () => {
410
+ window.removeEventListener("message", $);
387
411
  }));
388
- function re(s) {
389
- _e[s ? "unshift" : "push"](() => {
390
- g = s, t(14, g);
412
+ function be(s) {
413
+ ke[s ? "unshift" : "push"](() => {
414
+ y = s, t(14, y);
391
415
  });
392
416
  }
393
417
  return i.$$set = (s) => {
394
- "endpoint" in s && t(1, a = s.endpoint), "datasource" in s && t(2, l = s.datasource), "lang" in s && t(3, c = s.lang), "userid" in s && t(17, B = s.userid), "session" in s && t(18, L = s.session), "mostplayed" in s && t(19, M = s.mostplayed), "lastplayed" in s && t(20, v = s.lastplayed), "favorites" in s && t(21, S = s.favorites), "mbsource" in s && t(4, h = s.mbsource), "clientstyling" in s && t(5, C = s.clientstyling), "clientstylingurl" in s && t(6, G = s.clientstylingurl), "activecategory" in s && t(0, u = s.activecategory), "actionevent" in s && t(7, D = s.actionevent), "sessioncheck" in s && t(22, R = s.sessioncheck), "location" in s && t(8, U = s.location), "showsubgroups" in s && t(9, I = s.showsubgroups), "filteredcategories" in s && t(23, k = s.filteredcategories), "translationurl" in s && t(24, w = s.translationurl), "categoriesicon" in s && t(10, x = s.categoriesicon), "lobbyiconimage" in s && t(11, Y = s.lobbyiconimage), "mygamesiconimage" in s && t(12, H = s.mygamesiconimage), "customizecategoryicon" in s && t(25, z = s.customizecategoryicon);
418
+ "endpoint" in s && t(1, a = s.endpoint), "datasource" in s && t(2, m = s.datasource), "lang" in s && t(3, u = s.lang), "userid" in s && t(18, H = s.userid), "session" in s && t(19, v = s.session), "mostplayed" in s && t(20, M = s.mostplayed), "lastplayed" in s && t(21, S = s.lastplayed), "favorites" in s && t(22, C = s.favorites), "mbsource" in s && t(4, d = s.mbsource), "clientstyling" in s && t(5, k = s.clientstyling), "clientstylingurl" in s && t(6, T = s.clientstylingurl), "activecategory" in s && t(0, b = s.activecategory), "actionevent" in s && t(7, Y = s.actionevent), "sessioncheck" in s && t(23, x = s.sessioncheck), "location" in s && t(8, W = s.location), "showsubgroups" in s && t(9, E = s.showsubgroups), "filteredcategories" in s && t(24, A = s.filteredcategories), "translationurl" in s && t(25, _ = s.translationurl), "categoriesicon" in s && t(10, J = s.categoriesicon), "lobbyiconimage" in s && t(11, K = s.lobbyiconimage), "mygamesiconimage" in s && t(12, Q = s.mygamesiconimage), "customizecategoryicon" in s && t(26, O = s.customizecategoryicon);
395
419
  }, i.$$.update = () => {
396
420
  i.$$.dirty[0] & /*endpoint, datasource, lang*/
397
- 14 && a && l && c && ne(), i.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
398
- 3940354 && a && L && (M || v || S) && !y && ie(), i.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
399
- 67379201 && !y && u && (!L || F) && oe(), i.$$.dirty[0] & /*translationurl*/
400
- 16777216 && w && se(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
401
- 16416 && C && g && ve(g, C), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
402
- 16448 && G && g && Se(g, G), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
403
- 16400 && h && g && Ce(g, `${h}.Style`, ee), i.$$.dirty[0] & /*mbsource, translationurl*/
404
- 16777232 && h && !w && je(`${h}.Translation`, te, A);
405
- }, t(16, Q = 0), [
406
- u,
421
+ 14 && a && m && u && ue(), i.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
422
+ 7872514 && a && v && (M || S || C) && !f && oe(), i.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
423
+ 134750209 && !f && b && (!v || B) && ye(), i.$$.dirty[0] & /*translationurl*/
424
+ 33554432 && _ && ne(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
425
+ 16416 && k && y && qe(y, k), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
426
+ 16448 && T && y && je(y, T), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
427
+ 16400 && d && y && Fe(y, `${d}.Style`, se), i.$$.dirty[0] & /*mbsource, translationurl*/
428
+ 33554448 && d && !_ && Oe(`${d}.Translation`, ie, D);
429
+ }, t(16, Z = 0), [
430
+ b,
407
431
  a,
408
- l,
409
- c,
410
- h,
411
- C,
412
- G,
413
- D,
414
- U,
415
- I,
416
- x,
432
+ m,
433
+ u,
434
+ d,
435
+ k,
436
+ T,
417
437
  Y,
418
- H,
419
- y,
420
- g,
421
- b,
438
+ W,
439
+ E,
440
+ J,
441
+ K,
422
442
  Q,
423
- B,
424
- L,
425
- M,
443
+ f,
444
+ y,
445
+ h,
446
+ Z,
447
+ ae,
448
+ H,
426
449
  v,
450
+ M,
427
451
  S,
428
- R,
429
- k,
430
- w,
431
- z,
432
- F,
433
- re
452
+ C,
453
+ x,
454
+ A,
455
+ _,
456
+ O,
457
+ B,
458
+ be
434
459
  ];
435
460
  }
436
- class p extends ue {
461
+ class ee extends Ge {
437
462
  constructor(e) {
438
- super(), ye(
463
+ super(), _e(
439
464
  this,
440
465
  e,
441
- Be,
442
- Ae,
443
- be,
466
+ xe,
467
+ Ie,
468
+ Le,
444
469
  {
445
470
  endpoint: 1,
446
471
  datasource: 2,
447
472
  lang: 3,
448
- userid: 17,
449
- session: 18,
450
- mostplayed: 19,
451
- lastplayed: 20,
452
- favorites: 21,
473
+ userid: 18,
474
+ session: 19,
475
+ mostplayed: 20,
476
+ lastplayed: 21,
477
+ favorites: 22,
453
478
  mbsource: 4,
454
479
  clientstyling: 5,
455
480
  clientstylingurl: 6,
456
481
  activecategory: 0,
457
482
  actionevent: 7,
458
- sessioncheck: 22,
483
+ sessioncheck: 23,
459
484
  location: 8,
460
485
  showsubgroups: 9,
461
- filteredcategories: 23,
462
- translationurl: 24,
486
+ filteredcategories: 24,
487
+ translationurl: 25,
463
488
  categoriesicon: 10,
464
489
  lobbyiconimage: 11,
465
490
  mygamesiconimage: 12,
466
- customizecategoryicon: 25
491
+ customizecategoryicon: 26
467
492
  },
468
- Te,
493
+ Be,
469
494
  [-1, -1]
470
495
  );
471
496
  }
@@ -488,31 +513,31 @@ class p extends ue {
488
513
  this.$$set({ lang: e }), r();
489
514
  }
490
515
  get userid() {
491
- return this.$$.ctx[17];
516
+ return this.$$.ctx[18];
492
517
  }
493
518
  set userid(e) {
494
519
  this.$$set({ userid: e }), r();
495
520
  }
496
521
  get session() {
497
- return this.$$.ctx[18];
522
+ return this.$$.ctx[19];
498
523
  }
499
524
  set session(e) {
500
525
  this.$$set({ session: e }), r();
501
526
  }
502
527
  get mostplayed() {
503
- return this.$$.ctx[19];
528
+ return this.$$.ctx[20];
504
529
  }
505
530
  set mostplayed(e) {
506
531
  this.$$set({ mostplayed: e }), r();
507
532
  }
508
533
  get lastplayed() {
509
- return this.$$.ctx[20];
534
+ return this.$$.ctx[21];
510
535
  }
511
536
  set lastplayed(e) {
512
537
  this.$$set({ lastplayed: e }), r();
513
538
  }
514
539
  get favorites() {
515
- return this.$$.ctx[21];
540
+ return this.$$.ctx[22];
516
541
  }
517
542
  set favorites(e) {
518
543
  this.$$set({ favorites: e }), r();
@@ -548,7 +573,7 @@ class p extends ue {
548
573
  this.$$set({ actionevent: e }), r();
549
574
  }
550
575
  get sessioncheck() {
551
- return this.$$.ctx[22];
576
+ return this.$$.ctx[23];
552
577
  }
553
578
  set sessioncheck(e) {
554
579
  this.$$set({ sessioncheck: e }), r();
@@ -566,13 +591,13 @@ class p extends ue {
566
591
  this.$$set({ showsubgroups: e }), r();
567
592
  }
568
593
  get filteredcategories() {
569
- return this.$$.ctx[23];
594
+ return this.$$.ctx[24];
570
595
  }
571
596
  set filteredcategories(e) {
572
597
  this.$$set({ filteredcategories: e }), r();
573
598
  }
574
599
  get translationurl() {
575
- return this.$$.ctx[24];
600
+ return this.$$.ctx[25];
576
601
  }
577
602
  set translationurl(e) {
578
603
  this.$$set({ translationurl: e }), r();
@@ -596,18 +621,18 @@ class p extends ue {
596
621
  this.$$set({ mygamesiconimage: e }), r();
597
622
  }
598
623
  get customizecategoryicon() {
599
- return this.$$.ctx[25];
624
+ return this.$$.ctx[26];
600
625
  }
601
626
  set customizecategoryicon(e) {
602
627
  this.$$set({ customizecategoryicon: e }), r();
603
628
  }
604
629
  }
605
- fe(p, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, customizecategoryicon: {} }, [], [], !0);
606
- const Ue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
630
+ we(ee, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, customizecategoryicon: {} }, [], [], !0);
631
+ const Ke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
607
632
  __proto__: null,
608
- default: p
633
+ default: ee
609
634
  }, Symbol.toStringTag, { value: "Module" }));
610
635
  export {
611
- Ue as C,
612
- je as g
636
+ Ke as C,
637
+ Oe as g
613
638
  };
@@ -1,4 +1,4 @@
1
- import { a as we, v as Se, S as ke, i as Ge, s as Pe, f as M, b as Le, n as O, d as j, c as F, e as y, h as Me, o as xe, A as je, k as $, g as m, J as z, W as se, C as R, m as v, D as U, E as T, L as Fe, I as E, M as I, Y as H, _ as Te, p as Be, q as Oe, r as ze, t as Ee, $ as He } from "./CasinoLobbyNd-DxldwI_g.js";
1
+ import { a as we, v as Se, S as ke, i as Ge, s as Pe, f as M, b as Le, n as O, d as j, c as F, e as y, h as Me, o as xe, A as je, k as $, g as m, J as z, W as se, C as R, m as v, D as U, E as T, L as Fe, I as E, M as I, Y as H, _ as Te, p as Be, q as Oe, r as ze, t as Ee, $ as He } from "./CasinoLobbyNd-8wmWQuuM.js";
2
2
  function ee(t, e) {
3
3
  we(t, e);
4
4
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoLobbyNd-C_9G9_g5.cjs");function q(i,t){e.addMessages(i,t)}function se(i){e.$locale.set(i)}const R={en:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"zh-hk":{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."},de:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."},it:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},fr:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."},es:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"},el:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."},tr:{collections:"Oyun Koleksiyonları",providers:"Oyun Sağlayıcıları",loading:"Yükleniyor, lütfen bekleyin..."},ru:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},ro:{collections:"Selectie Jocuri",providers:"Furnizori",loading:"Se încarcă, asteptati ..."},hr:{collections:"Kolekcije igara",providers:"Brendovi igara",loading:"Učitavam"},hu:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."},pl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},pt:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."},sl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},sr:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"pt-br":{collections:"Coleções de jogos",providers:"Provedores de jogos",Loading:"Carregando, por favor espere..."},"es-mx":{collections:"Colecciones de juego",providers:"Proveedores de juego",Loading:"Cargando, por favor espere..."},"en-us":{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}};function de(i){e.append_styles(i,"svelte-nnjza6",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));background-color:inherit;font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:var(--emw--border-radius-medium, 10px);display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:var(--emw--border-radius-medium, 10px);width:70px;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:var(--emw--border-radius-medium, 10px);width:60px;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function I(i,t,l){const r=i.slice();return r[41]=t[l],r}function U(i,t,l){const r=i.slice();return r[44]=t[l],r}function ce(i){let t,l,r,o=(i[0]==="vendor"?i[10]("providers"):i[10]("collections"))+"",a,g,_,v,w,d=i[7]>i[8]&&V(i),m=e.ensure_array_like(i[3]),s=[];for(let c=0;c<m.length;c+=1)s[c]=Z(I(i,m,c));return{c(){t=e.element("div"),l=e.element("div"),r=e.element("p"),a=e.text(o),g=e.space(),d&&d.c(),_=e.space(),v=e.element("div");for(let c=0;c<s.length;c+=1)s[c].c();e.attr(r,"class","Title"),e.attr(l,"class","CategoriesHeader"),e.attr(v,"class","CategoriesSlider"),e.attr(t,"class",w="CasinoCollectionsProviders "+(i[9]?"Mobile":"")+" "+(i[0]==="vendor"?"Providers":"Collections"))},m(c,u){e.insert(c,t,u),e.append(t,l),e.append(l,r),e.append(r,a),e.append(l,g),d&&d.m(l,null),e.append(t,_),e.append(t,v);for(let h=0;h<s.length;h+=1)s[h]&&s[h].m(v,null);i[25](v)},p(c,u){if(u[0]&1025&&o!==(o=(c[0]==="vendor"?c[10]("providers"):c[10]("collections"))+"")&&e.set_data(a,o),c[7]>c[8]?d?d.p(c,u):(d=V(c),d.c(),d.m(l,null)):d&&(d.d(1),d=null),u[0]&24590){m=e.ensure_array_like(c[3]);let h;for(h=0;h<m.length;h+=1){const p=I(c,m,h);s[h]?s[h].p(p,u):(s[h]=Z(p),s[h].c(),s[h].m(v,null))}for(;h<s.length;h+=1)s[h].d(1);s.length=m.length}u[0]&513&&w!==(w="CasinoCollectionsProviders "+(c[9]?"Mobile":"")+" "+(c[0]==="vendor"?"Providers":"Collections"))&&e.attr(t,"class",w)},d(c){c&&e.detach(t),d&&d.d(),e.destroy_each(s,c),i[25](null)}}}function ge(i){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner")},m(l,r){e.insert(l,t,r)},p:e.noop,d(l){l&&e.detach(t)}}}function V(i){let t,l,r,o,a,g;return{c(){t=e.element("div"),l=e.element("button"),l.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>',r=e.space(),o=e.element("button"),o.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>',e.attr(t,"class","ButtonsContainer")},m(_,v){e.insert(_,t,v),e.append(t,l),e.append(t,r),e.append(t,o),a||(g=[e.listen(l,"click",i[11]),e.listen(o,"click",i[12])],a=!0)},p:e.noop,d(_){_&&e.detach(t),a=!1,e.run_all(g)}}}function ue(i){let t,l=i[41].name+"",r;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"class","CategorySlideTitle")},m(o,a){e.insert(o,t,a),e.append(t,r)},p(o,a){a[0]&8&&l!==(l=o[41].name+"")&&e.set_data(r,l)},d(o){o&&e.detach(t)}}}function pe(i){let t,l,r;return{c(){t=e.element("img"),e.attr(t,"class","CategorySlideLogo"),e.src_url_equal(t.src,l=i[41].icon)||e.attr(t,"src",l),e.attr(t,"alt",r=i[41].name+" icon")},m(o,a){e.insert(o,t,a)},p(o,a){a[0]&8&&!e.src_url_equal(t.src,l=o[41].icon)&&e.attr(t,"src",l),a[0]&8&&r!==(r=o[41].name+" icon")&&e.attr(t,"alt",r)},d(o){o&&e.detach(t)}}}function W(i){let t,l=i[44].name+"",r,o;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"title",o=i[44].name)},m(a,g){e.insert(a,t,g),e.append(t,r)},p(a,g){g[0]&8&&l!==(l=a[44].name+"")&&e.set_data(r,l),g[0]&8&&o!==(o=a[44].name)&&e.attr(t,"title",o)},d(a){a&&e.detach(t)}}}function K(i){let t,l,r,o,a,g,_,v;function w(){return i[23](i[44])}let d=i[2]=="true"&&W(i);return{c(){t=e.element("div"),l=e.element("img"),a=e.space(),d&&d.c(),g=e.space(),e.attr(l,"class","CategorySlideGameImage"),e.src_url_equal(l.src,r=i[44].defaultThumbnail)||e.attr(l,"src",r),e.attr(l,"alt",o=i[44].name),e.attr(t,"class","CategorySlideGames")},m(m,s){e.insert(m,t,s),e.append(t,l),e.append(t,a),d&&d.m(t,null),e.append(t,g),_||(v=e.listen(l,"click",e.stop_propagation(w)),_=!0)},p(m,s){i=m,s[0]&8&&!e.src_url_equal(l.src,r=i[44].defaultThumbnail)&&e.attr(l,"src",r),s[0]&8&&o!==(o=i[44].name)&&e.attr(l,"alt",o),i[2]=="true"?d?d.p(i,s):(d=W(i),d.c(),d.m(t,g)):d&&(d.d(1),d=null)},d(m){m&&e.detach(t),d&&d.d(),_=!1,v()}}}function Z(i){let t,l,r,o,a,g,_,v,w;function d(p,f){if(p[1]==="logo")return pe;if(p[1]==="title")return ue}let m=d(i),s=m&&m(i),c=e.ensure_array_like(i[41].games),u=[];for(let p=0;p<c.length;p+=1)u[p]=K(U(i,c,p));function h(){return i[24](i[41])}return{c(){var p,f;t=e.element("div"),l=e.element("div"),r=e.element("div"),s&&s.c(),o=e.space(),a=e.element("div");for(let b=0;b<u.length;b+=1)u[b].c();_=e.space(),e.attr(r,"class","CategorySlideTopContainer"),e.attr(a,"class","CategorySlideGameContainer"),e.attr(l,"class",g="CategorySlide "+(((p=i[41])==null?void 0:p.flag[0])==="vendor"?"CategorySlideNoHighlight":"")),e.set_style(l,"background-image","url("+((f=i[41])==null?void 0:f.background)+")"),e.set_style(l,"background-size","cover"),e.attr(t,"class","CategoriesSliderWrapper Animation")},m(p,f){e.insert(p,t,f),e.append(t,l),e.append(l,r),s&&s.m(r,null),e.append(l,o),e.append(l,a);for(let b=0;b<u.length;b+=1)u[b]&&u[b].m(a,null);e.append(t,_),v||(w=e.listen(l,"click",h),v=!0)},p(p,f){var b,k;if(i=p,m===(m=d(i))&&s?s.p(i,f):(s&&s.d(1),s=m&&m(i),s&&(s.c(),s.m(r,null))),f[0]&8204){c=e.ensure_array_like(i[41].games);let C;for(C=0;C<c.length;C+=1){const L=U(i,c,C);u[C]?u[C].p(L,f):(u[C]=K(L),u[C].c(),u[C].m(a,null))}for(;C<u.length;C+=1)u[C].d(1);u.length=c.length}f[0]&8&&g!==(g="CategorySlide "+(((b=i[41])==null?void 0:b.flag[0])==="vendor"?"CategorySlideNoHighlight":""))&&e.attr(l,"class",g),f[0]&8&&e.set_style(l,"background-image","url("+((k=i[41])==null?void 0:k.background)+")")},d(p){p&&e.detach(t),s&&s.d(),e.destroy_each(u,p),v=!1,w()}}}function me(i){let t;function l(a,g){return a[6]?ge:ce}let r=l(i),o=r(i);return{c(){t=e.element("div"),o.c()},m(a,g){e.insert(a,t,g),o.m(t,null),i[26](t)},p(a,g){r===(r=l(a))&&o?o.p(a,g):(o.d(1),o=r(a),o&&(o.c(),o.m(t,null)))},i:e.noop,o:e.noop,d(a){a&&e.detach(t),o.d(),i[26](null)}}}function fe(i,t,l){let r;e.component_subscribe(i,e.$format,n=>l(10,r=n));let{endpoint:o=""}=t,{datasource:a=""}=t,{lang:g=""}=t,{type:_=""}=t,{titletype:v=""}=t,{clientstyling:w=""}=t,{clientstylingurl:d=""}=t,{translationurl:m=""}=t,{collectionprovidersgamenames:s=""}=t,{mbsource:c}=t,u=[],h=!0,p,f=0,b=0,k=0,C,L,j=0,M=50,x=!1,G,X=window.navigator.userAgent,T,Y;const Q=()=>{fetch(m).then(y=>y.json()).then(y=>{Object.keys(y).forEach(P=>{q(P,y[P])})}).catch(y=>{console.log(y)})};Object.keys(R).forEach(n=>{q(n,R[n])});const F=()=>{const n=new URL(`${o}/v2/casino/groups/${a}`);n.searchParams.append("language",g),n.searchParams.append("expand","games"),n.searchParams.append("filter",`$and(flags=${_})`),n.searchParams.append("pagination",`offset=${j},limit=${M}`),fetch(n.href).then(y=>y.json()).then(y=>{l(6,h=!1),y.total>M&&(j+=50,M+=50,l(22,x=!0));let P=y.items.map(S=>{var E,N,A;return{id:S.id,name:S.name,icon:S.icon?S.icon:(A=(N=(E=S.vendors)==null?void 0:E.items[0])==null?void 0:N.subVendors[0])==null?void 0:A.logo,games:S.games.items.slice(0,4).map(ae=>ae),background:S.background,flag:S.flags}});l(3,u=[...u,...P]),l(7,b=u.length),D()})},D=()=>{const n=G.getRootNode().host;n.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:n}}))},B=n=>{var y;L=[...p.children],L.forEach((P,S)=>{P.style.transform=`translateX(${100*(n?S-n:S)}%)`}),C=(y=L[0])==null?void 0:y.getBoundingClientRect().width,$()},$=()=>{l(8,k=Math.floor(p.clientWidth/C))},O=()=>{B(f)},ee=()=>{f===0?f=b-k:f-k<-1?f=0:f--,O()},te=()=>{f===b-k?f=0:b-k<f+1?f=b-k:f++,O()},z=(n,y,P,S)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:n,launchUrl:y,gameName:P,subVendor:S},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"CollectionsProviders",gameName:`${P}`})},H=n=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:n},window.location.href)},ie=()=>{se(g)};e.onMount(()=>(l(9,T=e.isMobile(X)),()=>{}));const le=n=>z(n.gameId,n.launchUrl,n.name,n.subVendor),ne=n=>H(n.id);function oe(n){e.binding_callbacks[n?"unshift":"push"](()=>{p=n,l(4,p)})}function re(n){e.binding_callbacks[n?"unshift":"push"](()=>{G=n,l(5,G)})}return i.$$set=n=>{"endpoint"in n&&l(15,o=n.endpoint),"datasource"in n&&l(16,a=n.datasource),"lang"in n&&l(17,g=n.lang),"type"in n&&l(0,_=n.type),"titletype"in n&&l(1,v=n.titletype),"clientstyling"in n&&l(18,w=n.clientstyling),"clientstylingurl"in n&&l(19,d=n.clientstylingurl),"translationurl"in n&&l(20,m=n.translationurl),"collectionprovidersgamenames"in n&&l(2,s=n.collectionprovidersgamenames),"mbsource"in n&&l(21,c=n.mbsource)},i.$$.update=()=>{i.$$.dirty[0]&229376&&o&&a&&g&&F(),i.$$.dirty[0]&24&&u&&p&&B(),i.$$.dirty[0]&131072&&g&&ie(),i.$$.dirty[0]&262176&&w&&G&&e.setClientStyling(G,w),i.$$.dirty[0]&524320&&d&&G&&e.setClientStylingURL(G,d),i.$$.dirty[0]&2097184&&G&&e.setStreamStyling(G,`${c}.Style`,Y),i.$$.dirty[0]&1048576&&m&&Q(),i.$$.dirty[0]&4194304&&x&&F()},[_,v,s,u,p,G,h,b,k,T,r,ee,te,z,H,o,a,g,w,d,m,c,x,le,ne,oe,re]}class J extends e.SvelteComponent{constructor(t){super(),e.init(this,t,fe,me,e.safe_not_equal,{endpoint:15,datasource:16,lang:17,type:0,titletype:1,clientstyling:18,clientstylingurl:19,translationurl:20,collectionprovidersgamenames:2,mbsource:21},de,[-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 type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),e.flush()}get titletype(){return this.$$.ctx[1]}set titletype(t){this.$$set({titletype:t}),e.flush()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get collectionprovidersgamenames(){return this.$$.ctx[2]}set collectionprovidersgamenames(t){this.$$set({collectionprovidersgamenames:t}),e.flush()}get mbsource(){return this.$$.ctx[21]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(J,{endpoint:{},datasource:{},lang:{},type:{},titletype:{},clientstyling:{},clientstylingurl:{},translationurl:{},collectionprovidersgamenames:{},mbsource:{}},[],[],!0);exports.default=J;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoLobbyNd-ByfltJlD.cjs");function q(i,t){e.addMessages(i,t)}function se(i){e.$locale.set(i)}const R={en:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"zh-hk":{collections:"收藏品",providers:"供应商",loading:"加載請稍候 ..."},de:{collections:"Game Collections",providers:"Game Providers",loading:"Laden, bitte warten..."},it:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},fr:{collections:"Collections",providers:"Fournisseurs",loading:"Chargement, veuillez patienter ..."},es:{collections:"Colecciones de juegos",providers:"Proveedores de juegos",loading:"Cargando…"},el:{collections:"Game Collections",providers:"Game Providers",loading:"Φορτώνει, παρακαλούμε περιμένετε ..."},tr:{collections:"Oyun Koleksiyonları",providers:"Oyun Sağlayıcıları",loading:"Yükleniyor, lütfen bekleyin..."},ru:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},ro:{collections:"Selectie Jocuri",providers:"Furnizori",loading:"Se încarcă, asteptati ..."},hr:{collections:"Kolekcije igara",providers:"Brendovi igara",loading:"Učitavam"},hu:{collections:"Game Collections",providers:"Game Providers",loading:"Betöltés, kérjük várjon..."},pl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},pt:{collections:"Game Collections",providers:"Game Providers",loading:"Carregando, por favor espere ..."},sl:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},sr:{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."},"pt-br":{collections:"Coleções de jogos",providers:"Provedores de jogos",Loading:"Carregando, por favor espere..."},"es-mx":{collections:"Colecciones de juego",providers:"Proveedores de juego",Loading:"Cargando, por favor espere..."},"en-us":{collections:"Game Collections",providers:"Game Providers",loading:"Loading, please wait ..."}};function de(i){e.append_styles(i,"svelte-nnjza6",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));background-color:inherit;font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:var(--emw--border-radius-medium, 10px);display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:var(--emw--border-radius-medium, 10px);width:70px;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:var(--emw--border-radius-medium, 10px);width:60px;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function I(i,t,l){const r=i.slice();return r[41]=t[l],r}function U(i,t,l){const r=i.slice();return r[44]=t[l],r}function ce(i){let t,l,r,o=(i[0]==="vendor"?i[10]("providers"):i[10]("collections"))+"",a,g,_,v,w,d=i[7]>i[8]&&V(i),m=e.ensure_array_like(i[3]),s=[];for(let c=0;c<m.length;c+=1)s[c]=Z(I(i,m,c));return{c(){t=e.element("div"),l=e.element("div"),r=e.element("p"),a=e.text(o),g=e.space(),d&&d.c(),_=e.space(),v=e.element("div");for(let c=0;c<s.length;c+=1)s[c].c();e.attr(r,"class","Title"),e.attr(l,"class","CategoriesHeader"),e.attr(v,"class","CategoriesSlider"),e.attr(t,"class",w="CasinoCollectionsProviders "+(i[9]?"Mobile":"")+" "+(i[0]==="vendor"?"Providers":"Collections"))},m(c,u){e.insert(c,t,u),e.append(t,l),e.append(l,r),e.append(r,a),e.append(l,g),d&&d.m(l,null),e.append(t,_),e.append(t,v);for(let h=0;h<s.length;h+=1)s[h]&&s[h].m(v,null);i[25](v)},p(c,u){if(u[0]&1025&&o!==(o=(c[0]==="vendor"?c[10]("providers"):c[10]("collections"))+"")&&e.set_data(a,o),c[7]>c[8]?d?d.p(c,u):(d=V(c),d.c(),d.m(l,null)):d&&(d.d(1),d=null),u[0]&24590){m=e.ensure_array_like(c[3]);let h;for(h=0;h<m.length;h+=1){const p=I(c,m,h);s[h]?s[h].p(p,u):(s[h]=Z(p),s[h].c(),s[h].m(v,null))}for(;h<s.length;h+=1)s[h].d(1);s.length=m.length}u[0]&513&&w!==(w="CasinoCollectionsProviders "+(c[9]?"Mobile":"")+" "+(c[0]==="vendor"?"Providers":"Collections"))&&e.attr(t,"class",w)},d(c){c&&e.detach(t),d&&d.d(),e.destroy_each(s,c),i[25](null)}}}function ge(i){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner")},m(l,r){e.insert(l,t,r)},p:e.noop,d(l){l&&e.detach(t)}}}function V(i){let t,l,r,o,a,g;return{c(){t=e.element("div"),l=e.element("button"),l.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>',r=e.space(),o=e.element("button"),o.innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>',e.attr(t,"class","ButtonsContainer")},m(_,v){e.insert(_,t,v),e.append(t,l),e.append(t,r),e.append(t,o),a||(g=[e.listen(l,"click",i[11]),e.listen(o,"click",i[12])],a=!0)},p:e.noop,d(_){_&&e.detach(t),a=!1,e.run_all(g)}}}function ue(i){let t,l=i[41].name+"",r;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"class","CategorySlideTitle")},m(o,a){e.insert(o,t,a),e.append(t,r)},p(o,a){a[0]&8&&l!==(l=o[41].name+"")&&e.set_data(r,l)},d(o){o&&e.detach(t)}}}function pe(i){let t,l,r;return{c(){t=e.element("img"),e.attr(t,"class","CategorySlideLogo"),e.src_url_equal(t.src,l=i[41].icon)||e.attr(t,"src",l),e.attr(t,"alt",r=i[41].name+" icon")},m(o,a){e.insert(o,t,a)},p(o,a){a[0]&8&&!e.src_url_equal(t.src,l=o[41].icon)&&e.attr(t,"src",l),a[0]&8&&r!==(r=o[41].name+" icon")&&e.attr(t,"alt",r)},d(o){o&&e.detach(t)}}}function W(i){let t,l=i[44].name+"",r,o;return{c(){t=e.element("p"),r=e.text(l),e.attr(t,"title",o=i[44].name)},m(a,g){e.insert(a,t,g),e.append(t,r)},p(a,g){g[0]&8&&l!==(l=a[44].name+"")&&e.set_data(r,l),g[0]&8&&o!==(o=a[44].name)&&e.attr(t,"title",o)},d(a){a&&e.detach(t)}}}function K(i){let t,l,r,o,a,g,_,v;function w(){return i[23](i[44])}let d=i[2]=="true"&&W(i);return{c(){t=e.element("div"),l=e.element("img"),a=e.space(),d&&d.c(),g=e.space(),e.attr(l,"class","CategorySlideGameImage"),e.src_url_equal(l.src,r=i[44].defaultThumbnail)||e.attr(l,"src",r),e.attr(l,"alt",o=i[44].name),e.attr(t,"class","CategorySlideGames")},m(m,s){e.insert(m,t,s),e.append(t,l),e.append(t,a),d&&d.m(t,null),e.append(t,g),_||(v=e.listen(l,"click",e.stop_propagation(w)),_=!0)},p(m,s){i=m,s[0]&8&&!e.src_url_equal(l.src,r=i[44].defaultThumbnail)&&e.attr(l,"src",r),s[0]&8&&o!==(o=i[44].name)&&e.attr(l,"alt",o),i[2]=="true"?d?d.p(i,s):(d=W(i),d.c(),d.m(t,g)):d&&(d.d(1),d=null)},d(m){m&&e.detach(t),d&&d.d(),_=!1,v()}}}function Z(i){let t,l,r,o,a,g,_,v,w;function d(p,f){if(p[1]==="logo")return pe;if(p[1]==="title")return ue}let m=d(i),s=m&&m(i),c=e.ensure_array_like(i[41].games),u=[];for(let p=0;p<c.length;p+=1)u[p]=K(U(i,c,p));function h(){return i[24](i[41])}return{c(){var p,f;t=e.element("div"),l=e.element("div"),r=e.element("div"),s&&s.c(),o=e.space(),a=e.element("div");for(let b=0;b<u.length;b+=1)u[b].c();_=e.space(),e.attr(r,"class","CategorySlideTopContainer"),e.attr(a,"class","CategorySlideGameContainer"),e.attr(l,"class",g="CategorySlide "+(((p=i[41])==null?void 0:p.flag[0])==="vendor"?"CategorySlideNoHighlight":"")),e.set_style(l,"background-image","url("+((f=i[41])==null?void 0:f.background)+")"),e.set_style(l,"background-size","cover"),e.attr(t,"class","CategoriesSliderWrapper Animation")},m(p,f){e.insert(p,t,f),e.append(t,l),e.append(l,r),s&&s.m(r,null),e.append(l,o),e.append(l,a);for(let b=0;b<u.length;b+=1)u[b]&&u[b].m(a,null);e.append(t,_),v||(w=e.listen(l,"click",h),v=!0)},p(p,f){var b,k;if(i=p,m===(m=d(i))&&s?s.p(i,f):(s&&s.d(1),s=m&&m(i),s&&(s.c(),s.m(r,null))),f[0]&8204){c=e.ensure_array_like(i[41].games);let C;for(C=0;C<c.length;C+=1){const L=U(i,c,C);u[C]?u[C].p(L,f):(u[C]=K(L),u[C].c(),u[C].m(a,null))}for(;C<u.length;C+=1)u[C].d(1);u.length=c.length}f[0]&8&&g!==(g="CategorySlide "+(((b=i[41])==null?void 0:b.flag[0])==="vendor"?"CategorySlideNoHighlight":""))&&e.attr(l,"class",g),f[0]&8&&e.set_style(l,"background-image","url("+((k=i[41])==null?void 0:k.background)+")")},d(p){p&&e.detach(t),s&&s.d(),e.destroy_each(u,p),v=!1,w()}}}function me(i){let t;function l(a,g){return a[6]?ge:ce}let r=l(i),o=r(i);return{c(){t=e.element("div"),o.c()},m(a,g){e.insert(a,t,g),o.m(t,null),i[26](t)},p(a,g){r===(r=l(a))&&o?o.p(a,g):(o.d(1),o=r(a),o&&(o.c(),o.m(t,null)))},i:e.noop,o:e.noop,d(a){a&&e.detach(t),o.d(),i[26](null)}}}function fe(i,t,l){let r;e.component_subscribe(i,e.$format,n=>l(10,r=n));let{endpoint:o=""}=t,{datasource:a=""}=t,{lang:g=""}=t,{type:_=""}=t,{titletype:v=""}=t,{clientstyling:w=""}=t,{clientstylingurl:d=""}=t,{translationurl:m=""}=t,{collectionprovidersgamenames:s=""}=t,{mbsource:c}=t,u=[],h=!0,p,f=0,b=0,k=0,C,L,j=0,M=50,x=!1,G,X=window.navigator.userAgent,T,Y;const Q=()=>{fetch(m).then(y=>y.json()).then(y=>{Object.keys(y).forEach(P=>{q(P,y[P])})}).catch(y=>{console.log(y)})};Object.keys(R).forEach(n=>{q(n,R[n])});const F=()=>{const n=new URL(`${o}/v2/casino/groups/${a}`);n.searchParams.append("language",g),n.searchParams.append("expand","games"),n.searchParams.append("filter",`$and(flags=${_})`),n.searchParams.append("pagination",`offset=${j},limit=${M}`),fetch(n.href).then(y=>y.json()).then(y=>{l(6,h=!1),y.total>M&&(j+=50,M+=50,l(22,x=!0));let P=y.items.map(S=>{var E,N,A;return{id:S.id,name:S.name,icon:S.icon?S.icon:(A=(N=(E=S.vendors)==null?void 0:E.items[0])==null?void 0:N.subVendors[0])==null?void 0:A.logo,games:S.games.items.slice(0,4).map(ae=>ae),background:S.background,flag:S.flags}});l(3,u=[...u,...P]),l(7,b=u.length),D()})},D=()=>{const n=G.getRootNode().host;n.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:n}}))},B=n=>{var y;L=[...p.children],L.forEach((P,S)=>{P.style.transform=`translateX(${100*(n?S-n:S)}%)`}),C=(y=L[0])==null?void 0:y.getBoundingClientRect().width,$()},$=()=>{l(8,k=Math.floor(p.clientWidth/C))},O=()=>{B(f)},ee=()=>{f===0?f=b-k:f-k<-1?f=0:f--,O()},te=()=>{f===b-k?f=0:b-k<f+1?f=b-k:f++,O()},z=(n,y,P,S)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:n,launchUrl:y,gameName:P,subVendor:S},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"CollectionsProviders",gameName:`${P}`})},H=n=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:n},window.location.href)},ie=()=>{se(g)};e.onMount(()=>(l(9,T=e.isMobile(X)),()=>{}));const le=n=>z(n.gameId,n.launchUrl,n.name,n.subVendor),ne=n=>H(n.id);function oe(n){e.binding_callbacks[n?"unshift":"push"](()=>{p=n,l(4,p)})}function re(n){e.binding_callbacks[n?"unshift":"push"](()=>{G=n,l(5,G)})}return i.$$set=n=>{"endpoint"in n&&l(15,o=n.endpoint),"datasource"in n&&l(16,a=n.datasource),"lang"in n&&l(17,g=n.lang),"type"in n&&l(0,_=n.type),"titletype"in n&&l(1,v=n.titletype),"clientstyling"in n&&l(18,w=n.clientstyling),"clientstylingurl"in n&&l(19,d=n.clientstylingurl),"translationurl"in n&&l(20,m=n.translationurl),"collectionprovidersgamenames"in n&&l(2,s=n.collectionprovidersgamenames),"mbsource"in n&&l(21,c=n.mbsource)},i.$$.update=()=>{i.$$.dirty[0]&229376&&o&&a&&g&&F(),i.$$.dirty[0]&24&&u&&p&&B(),i.$$.dirty[0]&131072&&g&&ie(),i.$$.dirty[0]&262176&&w&&G&&e.setClientStyling(G,w),i.$$.dirty[0]&524320&&d&&G&&e.setClientStylingURL(G,d),i.$$.dirty[0]&2097184&&G&&e.setStreamStyling(G,`${c}.Style`,Y),i.$$.dirty[0]&1048576&&m&&Q(),i.$$.dirty[0]&4194304&&x&&F()},[_,v,s,u,p,G,h,b,k,T,r,ee,te,z,H,o,a,g,w,d,m,c,x,le,ne,oe,re]}class J extends e.SvelteComponent{constructor(t){super(),e.init(this,t,fe,me,e.safe_not_equal,{endpoint:15,datasource:16,lang:17,type:0,titletype:1,clientstyling:18,clientstylingurl:19,translationurl:20,collectionprovidersgamenames:2,mbsource:21},de,[-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 type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),e.flush()}get titletype(){return this.$$.ctx[1]}set titletype(t){this.$$set({titletype:t}),e.flush()}get clientstyling(){return this.$$.ctx[18]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[19]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get collectionprovidersgamenames(){return this.$$.ctx[2]}set collectionprovidersgamenames(t){this.$$set({collectionprovidersgamenames:t}),e.flush()}get mbsource(){return this.$$.ctx[21]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(J,{endpoint:{},datasource:{},lang:{},type:{},titletype:{},clientstyling:{},clientstylingurl:{},translationurl:{},collectionprovidersgamenames:{},mbsource:{}},[],[],!0);exports.default=J;
@@ -1,4 +1,4 @@
1
- import { a as Ce, v as ye, S as _e, i as we, s as Se, f as M, b as ke, n as T, d as j, e as x, g as y, j as Ge, o as Pe, A as Le, l as Y, h as m, K as B, X as ne, D as R, p as b, E as I, F, M as Me, J as O, N, Z as z, a0 as je, q as xe, r as Fe, t as Te, c as Be, $ as Oe } from "./CasinoLobbyNd-bbR93r1z.js";
1
+ import { a as Ce, v as ye, S as _e, i as we, s as Se, f as M, b as ke, n as T, d as j, e as x, g as y, j as Ge, o as Pe, A as Le, l as Y, h as m, K as B, X as ne, D as R, p as b, E as I, F, M as Me, J as O, N, Z as z, a0 as je, q as xe, r as Fe, t as Te, c as Be, $ as Oe } from "./CasinoLobbyNd-XZW290tF.js";
2
2
  function D(t, e) {
3
3
  Ce(t, e);
4
4
  }