@everymatrix/casino-page-nd 1.54.12 → 1.56.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 (97) hide show
  1. package/components/CasinoCalendar-BUWW4Xzj.cjs +6 -0
  2. package/components/{CasinoCalendar-DqqWE3PZ.js → CasinoCalendar-DwKH1vl3.js} +972 -928
  3. package/components/{CasinoCalendar-BzhZkzgP.js → CasinoCalendar-tMtCN0uW.js} +939 -895
  4. package/components/CasinoCalendarDailyDetails-B1yNq5WP.cjs +1 -0
  5. package/components/CasinoCalendarDailyDetails-BP_ANGdX.js +693 -0
  6. package/components/CasinoCalendarDailyDetails-CehhK4Vt.js +693 -0
  7. package/components/CasinoCalendarDailyItem-C08Z_td-.cjs +1 -0
  8. package/components/CasinoCalendarDailyItem-Cf-elj80.js +306 -0
  9. package/components/CasinoCalendarDailyItem-DE7Q_O2x.js +306 -0
  10. package/components/CasinoCollectionsProviders-C0mIOrt5.cjs +1 -0
  11. package/components/CasinoCollectionsProviders-DoRepmON.js +659 -0
  12. package/components/CasinoCollectionsProviders-Yt2ApEP5.js +654 -0
  13. package/components/{CasinoFavoritesSectionNd-BaYSblX2.js → CasinoFavoritesSectionNd-B02g5uyD.js} +149 -142
  14. package/components/{CasinoFavoritesSectionNd-DPO11eIl.js → CasinoFavoritesSectionNd-Bza8UQ0r.js} +149 -142
  15. package/components/CasinoFavoritesSectionNd-CnSYWIJi.cjs +1 -0
  16. package/components/CasinoFilter-BYz1zKUs.cjs +1 -0
  17. package/components/{CasinoFilter-CQA5tRXc.js → CasinoFilter-BbKgy4VX.js} +240 -247
  18. package/components/{CasinoFilter-DarCjn7O.js → CasinoFilter-Cb7FySTm.js} +236 -241
  19. package/components/{CasinoGameThumbnailNd-C8JF_kRW.js → CasinoGameThumbnailNd-6P122Pbb.js} +1335 -1338
  20. package/components/CasinoGameThumbnailNd-DlUJ8jo8.cjs +39 -0
  21. package/components/{CasinoGameThumbnailNd-CMWvCrxU.js → CasinoGameThumbnailNd-Dtq6Pf7M.js} +1335 -1338
  22. package/components/CasinoGamesCategorySectionNd-C1OvVakY.js +3029 -0
  23. package/components/CasinoGamesCategorySectionNd-C1iO2_SR.cjs +1 -0
  24. package/components/{CasinoGamesCategorySectionNd-D97PLCZQ.js → CasinoGamesCategorySectionNd-vmZnCjR8.js} +1135 -1109
  25. package/components/CasinoJackpotBanner-BaqwOwIt.js +688 -0
  26. package/components/CasinoJackpotBanner-DZZsX8IW.cjs +1 -0
  27. package/components/CasinoJackpotBanner-Dnu1YGvy.js +692 -0
  28. package/components/CasinoLastPlayedSectionNd-CYoHFQEu.js +575 -0
  29. package/components/CasinoLastPlayedSectionNd-D-71OOLA.cjs +1 -0
  30. package/components/CasinoLastPlayedSectionNd-DVAEB9Kf.js +575 -0
  31. package/components/{CasinoMostPlayedSectionNd-DBY9uW22.js → CasinoMostPlayedSectionNd-Ce4mFMX2.js} +172 -163
  32. package/components/{CasinoMostPlayedSectionNd-DT0BhU2p.js → CasinoMostPlayedSectionNd-Comi_0uw.js} +172 -163
  33. package/components/CasinoMostPlayedSectionNd-DOFhn6t3.cjs +1 -0
  34. package/components/{CasinoMyGamesNd-BYler1NB.js → CasinoMyGamesNd-C2159D_C.js} +493 -463
  35. package/components/{CasinoMyGamesNd-tEImAPBs.js → CasinoMyGamesNd-CI-YgB5L.js} +499 -469
  36. package/components/CasinoMyGamesNd-Do0Jd4Yy.cjs +1 -0
  37. package/components/{CasinoPageNd-BbdpaE5v.js → CasinoPageNd-CHw9KY4G.js} +1305 -1146
  38. package/components/{CasinoPageNd-CbP1X2KC.js → CasinoPageNd-Cl9m0NgT.js} +1299 -1140
  39. package/components/CasinoPageNd-q_CaW-NM.cjs +1 -0
  40. package/components/{CasinoRandomGame-D1NgXW5u.cjs → CasinoRandomGame-B2FGgsW1.cjs} +2 -2
  41. package/components/{CasinoRandomGame-CGpFFaoE.js → CasinoRandomGame-D9BEuIS2.js} +226 -228
  42. package/components/{CasinoRandomGame-CWMW9E0i.js → CasinoRandomGame-T1GVZYOt.js} +243 -245
  43. package/components/{CasinoSearchNd-BnS9e06D.js → CasinoSearchNd-8l70r1-j.js} +449 -442
  44. package/components/{CasinoSearchNd-Dr-tu25u.js → CasinoSearchNd-DI3QD6gc.js} +486 -479
  45. package/components/CasinoSearchNd-r3Xsk168.cjs +1 -0
  46. package/components/CasinoSort-BmkqSaqQ.cjs +1 -0
  47. package/components/CasinoSort-BwNRVsYT.js +427 -0
  48. package/components/CasinoSort-DykEVPy1.js +428 -0
  49. package/components/CasinoWinners-4fX-Jkcx.cjs +1 -0
  50. package/components/{CasinoWinners-CFPyLxtr.js → CasinoWinners-DbNw8Ecj.js} +345 -342
  51. package/components/{CasinoWinners-Brfa3DHB.js → CasinoWinners-Dn6mLcJT.js} +355 -352
  52. package/components/GeneralAnimationLoading-C3AulHDZ.js +84 -0
  53. package/components/GeneralAnimationLoading-CKfD84TR.js +84 -0
  54. package/components/GeneralAnimationLoading-D4L1aOk8.cjs +1 -0
  55. package/es2015/casino-page-nd.cjs +1 -1
  56. package/es2015/casino-page-nd.js +1 -1
  57. package/esnext/casino-page-nd.js +1 -1
  58. package/package.json +1 -1
  59. package/stencil/{casino-play-random-game-NI77_BKB.js → casino-play-random-game-CBXhEsCq.js} +54 -29
  60. package/stencil/{casino-play-random-game-BxdfOAZj.js → casino-play-random-game-PZXnDzfs.js} +73 -48
  61. package/stencil/{casino-play-random-game-DEBmcc-I.cjs → casino-play-random-game-y8flXwPv.cjs} +2 -2
  62. package/stencil/index-29915e18-B3XYTzEC.cjs +1 -0
  63. package/stencil/{index-8b2c4ca7-BNDGCsVn.js → index-29915e18-CQ_kWzEh.js} +134 -133
  64. package/stencil/{index-8b2c4ca7-CtUqBgXG.js → index-29915e18-MPiqo7vY.js} +131 -130
  65. package/components/CasinoCalendar-D2xyIjnZ.cjs +0 -6
  66. package/components/CasinoCalendarDailyDetails-CNKPmgJW.cjs +0 -1
  67. package/components/CasinoCalendarDailyDetails-DazppRF9.js +0 -701
  68. package/components/CasinoCalendarDailyDetails-qLuUx2VZ.js +0 -701
  69. package/components/CasinoCalendarDailyItem-DKZuA435.js +0 -315
  70. package/components/CasinoCalendarDailyItem-DcdOBbU8.js +0 -315
  71. package/components/CasinoCalendarDailyItem-Dm-IKJx0.cjs +0 -1
  72. package/components/CasinoCollectionsProviders-BpPCl2Cs.cjs +0 -1
  73. package/components/CasinoCollectionsProviders-DDg-M4Ky.js +0 -664
  74. package/components/CasinoCollectionsProviders-DPXPW7Wb.js +0 -659
  75. package/components/CasinoFavoritesSectionNd-BseQ6ntB.cjs +0 -1
  76. package/components/CasinoFilter-bjRSwwQj.cjs +0 -1
  77. package/components/CasinoGameThumbnailNd-M5MyMQqb.cjs +0 -39
  78. package/components/CasinoGamesCategorySectionNd-B7bxi7wJ.js +0 -3003
  79. package/components/CasinoGamesCategorySectionNd-DzkueBMw.cjs +0 -1
  80. package/components/CasinoJackpotBanner-BzQTQP0g.js +0 -618
  81. package/components/CasinoJackpotBanner-CyMIq-Hw.js +0 -614
  82. package/components/CasinoJackpotBanner-DrH5T9F0.cjs +0 -1
  83. package/components/CasinoLastPlayedSectionNd-C-VkTH2C.js +0 -566
  84. package/components/CasinoLastPlayedSectionNd-D7cVedev.js +0 -566
  85. package/components/CasinoLastPlayedSectionNd-K-wgzihy.cjs +0 -1
  86. package/components/CasinoMostPlayedSectionNd-DLd7wPNf.cjs +0 -1
  87. package/components/CasinoMyGamesNd-DQQ8Lo5B.cjs +0 -1
  88. package/components/CasinoPageNd-D9CuZV8a.cjs +0 -1
  89. package/components/CasinoSearchNd-BNECYNN3.cjs +0 -1
  90. package/components/CasinoSort-B5j-QwSa.cjs +0 -1
  91. package/components/CasinoSort-BKXVp_Q-.js +0 -432
  92. package/components/CasinoSort-mWbCQ4MJ.js +0 -431
  93. package/components/CasinoWinners-WPMrk6iO.cjs +0 -1
  94. package/components/GeneralAnimationLoading-CM50RqcF.js +0 -75
  95. package/components/GeneralAnimationLoading-DVXxEF3S.js +0 -75
  96. package/components/GeneralAnimationLoading-DqRALFbY.cjs +0 -1
  97. package/stencil/index-8b2c4ca7-DAQdcMA3.cjs +0 -1
@@ -1,13 +1,13 @@
1
- import { a as He, $ as qe, S as We, i as Oe, s as Ue, f as T, b as Ve, n as le, d as E, M as Je, r as f, R as ie, h as j, p as S, A as J, j as y, B as N, E as ce, Q as ee, k as Ze, o as Ye, m as q, q as W, C as ue, v as he, w as Ke, F as ye, P as d, I as Xe, J as Qe } from "./CasinoCalendar-DqqWE3PZ.js";
2
- import "./CasinoGamesCategorySectionNd-D97PLCZQ.js";
3
- import { h as Q } from "./CasinoGameThumbnailNd-CMWvCrxU.js";
4
- function de(a, e) {
5
- He(a, e);
1
+ import { a as De, $ as He, S as qe, i as We, s as Oe, f as L, b as Ue, n as ie, d as j, P as Ve, r as f, V as ce, h as I, p as S, A as Z, j as y, B as N, E as ue, U as te, k as Je, o as Ze, m as H, q, C as he, v as de, w as Ye, F as Re, T as u, I as Ke, J as Xe, K as Qe, L as $e, M as et } from "./CasinoCalendar-DwKH1vl3.js";
2
+ import "./CasinoGamesCategorySectionNd-vmZnCjR8.js";
3
+ import { h as $ } from "./CasinoGameThumbnailNd-Dtq6Pf7M.js";
4
+ function me(a, e) {
5
+ De(a, e);
6
6
  }
7
- function $e(a) {
8
- qe.set(a);
7
+ function tt(a) {
8
+ He.set(a);
9
9
  }
10
- const me = {
10
+ const ge = {
11
11
  en: {
12
12
  recentSearch: "Recent search",
13
13
  placeHolderSearchGames: "Search for Games",
@@ -190,788 +190,789 @@ const me = {
190
190
  noRecentSearches: "No recent searches yet. Search for any of our games."
191
191
  }
192
192
  };
193
- function et(a) {
194
- Ve(a, "svelte-2xbwo7", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.CasinoSearch{margin:30px 40px;position:relative}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;margin-bottom:20px;z-index:5}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;color:var(--emw--color-gray-100, #E6E6E6);border:none;background:-webkit-linear-gradient(to left, 90deg, rgb(35, 172, 77) 0%, rgb(18, 62, 33) 100%);background:linear-gradient(90deg, rgb(35, 172, 77) 0%, rgb(18, 62, 33) 100%);border-radius:var(--emw--border-radius-medium, 20px);display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%;transition:3s}.SearchInput::placeholder{color:var(--emw--color-white, #FFF);font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid var(--emw--color-white, #FFF);background:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));padding-right:28px}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emw--color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emw--color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}@media screen and (max-width: 480px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}}@media screen and (max-width: 385px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}casino-game-thumbnail{z-index:5}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:30px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.Desktop .ResultsContainerError.WithIcon{top:60%}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchAnimation{transform:scaleX(110%)}.Desktop .SearchAnimation Input{outline:none;box-shadow:0 5px 7px rgba(0, 0, 0, 0.25);background:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E))}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}");
193
+ function at(a) {
194
+ Ue(a, "svelte-2xbwo7", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.CasinoSearch{margin:30px 40px;position:relative}.SearchWrap{width:100%;margin:auto}.OverlayCancel{width:100%;height:100vh;position:absolute;translate:0 -100px;z-index:2}.LoadingContent{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Search{display:flex;align-items:center;position:relative;margin-bottom:20px;z-index:5}.SearchIcon{position:absolute;left:15px;top:50%;z-index:1;transform:translateY(-50%)}.SearchIcon svg{height:14px;width:13px}.SearchInput{border-radius:4px;color:var(--emw--color-gray-100, #E6E6E6);border:none;background:-webkit-linear-gradient(to left, 90deg, rgb(35, 172, 77) 0%, rgb(18, 62, 33) 100%);background:linear-gradient(90deg, rgb(35, 172, 77) 0%, rgb(18, 62, 33) 100%);border-radius:var(--emw--border-radius-medium, 20px);display:block;font-size:16px;font-weight:300;padding:14px 5px 14px 46px;width:100%;transition:3s}.SearchInput::placeholder{color:var(--emw--color-white, #FFF);font-size:16px;font-weight:300}.SearchInput:focus{outline:1px solid var(--emw--color-white, #FFF);background:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));padding-right:28px}.SearchInput::-webkit-search-decoration,.SearchInput::-webkit-search-cancel-button,.SearchInput::-webkit-search-results-button,.SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchClearButton{position:absolute;top:30%;right:65px;cursor:pointer}.SearchClearButton.WithoutCancel{right:18px}.SearchCancelButton{color:var(--emw--color-contrast, #E6E6E6);font-weight:300;margin-left:8px;cursor:pointer}.SearchMessage{font-size:18px;font-weight:600;margin:24px 0;color:var(--emw--color-contrast, #000000)}.SearchErrorIcon{height:170px;filter:drop-shadow(1px 5px 5px rgba(0, 0, 0, 0.1))}.SearchResultsContainer{display:grid;gap:28px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}@media screen and (max-width: 480px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}}@media screen and (max-width: 385px){.SearchResultsContainer{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}}@media screen and (min-width: 1100px){.SearchResultsContainer{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}@media screen and (max-width: 1300px){.SearchResultsContainer{padding:0 2.4%}}.ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}casino-game-thumbnail{z-index:5}.NotVisible{display:none}.Desktop .NotVisible{opacity:0;visibility:hidden;display:inline}.Desktop .SearchWrap{width:50%;margin:auto}.Desktop.CasinoSearch{margin:30px auto;position:relative}.Desktop .ResultsContainerError{text-align:center;width:300px;color:var(--emw--color-contrast, #828282);font-weight:300;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);z-index:1;margin-top:120px}.Desktop .ResultsContainerError.WithIcon{top:60%}.Desktop .Search{display:flex;align-items:center;justify-content:center;transition:all 0.2s cubic-bezier(1, 0, 0.46, 1.03)}.Desktop .SearchIcon{position:relative;top:0;left:0;transform:translateY(0);margin-right:-28px}.Desktop .SearchClearButton{position:relative;top:0;right:0;margin-left:-23px}.Desktop .SearchCancelButton{margin-left:20px}.Desktop .SearchAnimation{transform:scaleX(110%)}.Desktop .SearchAnimation Input{outline:none;box-shadow:0 5px 7px rgba(0, 0, 0, 0.25);background:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E))}.Desktop .SearchMessage{font-size:18px;font-weight:600;margin:24px 0;margin-top:90px}.Desktop .SearchErrorIcon{height:190px;margin-bottom:-70px}.Desktop .OverlayCancel{height:90vh;z-index:2}");
195
195
  }
196
- function ge(a, e, t) {
196
+ function fe(a, e, t) {
197
197
  const n = a.slice();
198
198
  return n[53] = e[t], n;
199
199
  }
200
- function fe(a) {
200
+ function pe(a) {
201
201
  let e, t = (
202
202
  /*$_*/
203
- a[20]("cancel") + ""
204
- ), n, o, l, s;
203
+ a[21]("cancel") + ""
204
+ ), n, r, l, s;
205
205
  return {
206
206
  c() {
207
- e = y("small"), n = W(t), f(e, "class", o = "SearchCancelButton " + /*searchCancelled*/
208
- (a[12] ? "NotVisible" : ""));
207
+ e = y("small"), n = q(t), f(e, "class", r = "SearchCancelButton " + /*searchCancelled*/
208
+ (a[13] ? "NotVisible" : ""));
209
209
  },
210
210
  m(i, c) {
211
- j(i, e, c), S(e, n), l || (s = J(
211
+ I(i, e, c), S(e, n), l || (s = Z(
212
212
  e,
213
213
  "click",
214
214
  /*click_handler_1*/
215
- a[35]
215
+ a[36]
216
216
  ), l = !0);
217
217
  },
218
218
  p(i, c) {
219
219
  c[0] & /*$_*/
220
- 1048576 && t !== (t = /*$_*/
221
- i[20]("cancel") + "") && q(n, t), c[0] & /*searchCancelled*/
222
- 4096 && o !== (o = "SearchCancelButton " + /*searchCancelled*/
223
- (i[12] ? "NotVisible" : "")) && f(e, "class", o);
220
+ 2097152 && t !== (t = /*$_*/
221
+ i[21]("cancel") + "") && H(n, t), c[0] & /*searchCancelled*/
222
+ 8192 && r !== (r = "SearchCancelButton " + /*searchCancelled*/
223
+ (i[13] ? "NotVisible" : "")) && f(e, "class", r);
224
224
  },
225
225
  d(i) {
226
- i && E(e), l = !1, s();
226
+ i && j(e), l = !1, s();
227
227
  }
228
228
  };
229
229
  }
230
- function tt(a) {
231
- let e, t, n, o;
232
- function l(u, g) {
230
+ function nt(a) {
231
+ let e, t, n, r;
232
+ function l(h, m) {
233
233
  if (
234
234
  /*searchActive*/
235
- u[16] == !0 && /*searchValue*/
236
- u[11].length < 2
237
- ) return rt;
235
+ h[17] == !0 && /*searchValue*/
236
+ h[12].length < 2
237
+ ) return st;
238
238
  if (
239
239
  /*searchArray*/
240
- u[14].length != 0
241
- ) return nt;
240
+ h[15].length != 0
241
+ ) return ot;
242
242
  }
243
243
  let s = l(a), i = s && s(a), c = (
244
244
  /*searchCancelled*/
245
- a[12] === !1 && we(a)
246
- ), m = (
245
+ a[13] === !1 && we(a)
246
+ ), g = (
247
247
  /*searchValue*/
248
- a[11].length >= 2 && /*searchArray*/
249
- a[14].length == 0 && ve(a)
248
+ a[12].length >= 2 && /*searchArray*/
249
+ a[15].length == 0 && ke(a)
250
250
  );
251
251
  return {
252
252
  c() {
253
- i && i.c(), e = N(), t = y("div"), c && c.c(), n = N(), m && m.c(), f(t, "class", o = "SearchResultsContainer " + /*searchActive*/
254
- (a[16] == !0 ? "" : "NotVisible"));
253
+ i && i.c(), e = N(), t = y("div"), c && c.c(), n = N(), g && g.c(), f(t, "class", r = "SearchResultsContainer " + /*searchActive*/
254
+ (a[17] == !0 ? "" : "NotVisible"));
255
255
  },
256
- m(u, g) {
257
- i && i.m(u, g), j(u, e, g), j(u, t, g), c && c.m(t, null), S(t, n), m && m.m(t, null);
256
+ m(h, m) {
257
+ i && i.m(h, m), I(h, e, m), I(h, t, m), c && c.m(t, null), S(t, n), g && g.m(t, null);
258
258
  },
259
- p(u, g) {
260
- s === (s = l(u)) && i ? i.p(u, g) : (i && i.d(1), i = s && s(u), i && (i.c(), i.m(e.parentNode, e))), /*searchCancelled*/
261
- u[12] === !1 ? c ? c.p(u, g) : (c = we(u), c.c(), c.m(t, n)) : c && (c.d(1), c = null), /*searchValue*/
262
- u[11].length >= 2 && /*searchArray*/
263
- u[14].length == 0 ? m ? m.p(u, g) : (m = ve(u), m.c(), m.m(t, null)) : m && (m.d(1), m = null), g[0] & /*searchActive*/
264
- 65536 && o !== (o = "SearchResultsContainer " + /*searchActive*/
265
- (u[16] == !0 ? "" : "NotVisible")) && f(t, "class", o);
259
+ p(h, m) {
260
+ s === (s = l(h)) && i ? i.p(h, m) : (i && i.d(1), i = s && s(h), i && (i.c(), i.m(e.parentNode, e))), /*searchCancelled*/
261
+ h[13] === !1 ? c ? c.p(h, m) : (c = we(h), c.c(), c.m(t, n)) : c && (c.d(1), c = null), /*searchValue*/
262
+ h[12].length >= 2 && /*searchArray*/
263
+ h[15].length == 0 ? g ? g.p(h, m) : (g = ke(h), g.c(), g.m(t, null)) : g && (g.d(1), g = null), m[0] & /*searchActive*/
264
+ 131072 && r !== (r = "SearchResultsContainer " + /*searchActive*/
265
+ (h[17] == !0 ? "" : "NotVisible")) && f(t, "class", r);
266
266
  },
267
- d(u) {
268
- u && (E(e), E(t)), i && i.d(u), c && c.d(), m && m.d();
267
+ d(h) {
268
+ h && (j(e), j(t)), i && i.d(h), c && c.d(), g && g.d();
269
269
  }
270
270
  };
271
271
  }
272
- function at(a) {
272
+ function rt(a) {
273
273
  let e, t = (
274
274
  /*$_*/
275
- a[20]("loading") + ""
275
+ a[21]("loading") + ""
276
276
  ), n;
277
277
  return {
278
278
  c() {
279
- e = y("p"), n = W(t), f(e, "class", "LoadingContent");
279
+ e = y("p"), n = q(t), f(e, "class", "LoadingContent");
280
280
  },
281
- m(o, l) {
282
- j(o, e, l), S(e, n);
281
+ m(r, l) {
282
+ I(r, e, l), S(e, n);
283
283
  },
284
- p(o, l) {
284
+ p(r, l) {
285
285
  l[0] & /*$_*/
286
- 1048576 && t !== (t = /*$_*/
287
- o[20]("loading") + "") && q(n, t);
286
+ 2097152 && t !== (t = /*$_*/
287
+ r[21]("loading") + "") && H(n, t);
288
288
  },
289
- d(o) {
290
- o && E(e);
289
+ d(r) {
290
+ r && j(e);
291
291
  }
292
292
  };
293
293
  }
294
- function nt(a) {
294
+ function ot(a) {
295
295
  let e, t = (
296
296
  /*$_*/
297
- a[20]("searchResult") + ""
297
+ a[21]("searchResult") + ""
298
298
  ), n;
299
299
  return {
300
300
  c() {
301
- e = y("p"), n = W(t), f(e, "class", "SearchMessage");
301
+ e = y("p"), n = q(t), f(e, "class", "SearchMessage");
302
302
  },
303
- m(o, l) {
304
- j(o, e, l), S(e, n);
303
+ m(r, l) {
304
+ I(r, e, l), S(e, n);
305
305
  },
306
- p(o, l) {
306
+ p(r, l) {
307
307
  l[0] & /*$_*/
308
- 1048576 && t !== (t = /*$_*/
309
- o[20]("searchResult") + "") && q(n, t);
308
+ 2097152 && t !== (t = /*$_*/
309
+ r[21]("searchResult") + "") && H(n, t);
310
310
  },
311
- d(o) {
312
- o && E(e);
311
+ d(r) {
312
+ r && j(e);
313
313
  }
314
314
  };
315
315
  }
316
- function rt(a) {
316
+ function st(a) {
317
317
  let e, t, n = (
318
318
  /*searchArray*/
319
- a[14].length !== 0 && pe(a)
320
- ), o = (
319
+ a[15].length !== 0 && _e(a)
320
+ ), r = (
321
321
  /*searchArray*/
322
- a[14].length == 0 && _e(a)
322
+ a[15].length == 0 && Se(a)
323
323
  );
324
324
  return {
325
325
  c() {
326
- n && n.c(), e = N(), o && o.c(), t = ye();
326
+ n && n.c(), e = N(), r && r.c(), t = Re();
327
327
  },
328
328
  m(l, s) {
329
- n && n.m(l, s), j(l, e, s), o && o.m(l, s), j(l, t, s);
329
+ n && n.m(l, s), I(l, e, s), r && r.m(l, s), I(l, t, s);
330
330
  },
331
331
  p(l, s) {
332
332
  /*searchArray*/
333
- l[14].length !== 0 ? n ? n.p(l, s) : (n = pe(l), n.c(), n.m(e.parentNode, e)) : n && (n.d(1), n = null), /*searchArray*/
334
- l[14].length == 0 ? o ? o.p(l, s) : (o = _e(l), o.c(), o.m(t.parentNode, t)) : o && (o.d(1), o = null);
333
+ l[15].length !== 0 ? n ? n.p(l, s) : (n = _e(l), n.c(), n.m(e.parentNode, e)) : n && (n.d(1), n = null), /*searchArray*/
334
+ l[15].length == 0 ? r ? r.p(l, s) : (r = Se(l), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
335
335
  },
336
336
  d(l) {
337
- l && (E(e), E(t)), n && n.d(l), o && o.d(l);
337
+ l && (j(e), j(t)), n && n.d(l), r && r.d(l);
338
338
  }
339
339
  };
340
340
  }
341
- function pe(a) {
341
+ function _e(a) {
342
342
  let e, t = (
343
343
  /*$_*/
344
- a[20]("recentSearch") + ""
344
+ a[21]("recentSearch") + ""
345
345
  ), n;
346
346
  return {
347
347
  c() {
348
- e = y("p"), n = W(t), f(e, "class", "SearchMessage");
348
+ e = y("p"), n = q(t), f(e, "class", "SearchMessage");
349
349
  },
350
- m(o, l) {
351
- j(o, e, l), S(e, n);
350
+ m(r, l) {
351
+ I(r, e, l), S(e, n);
352
352
  },
353
- p(o, l) {
353
+ p(r, l) {
354
354
  l[0] & /*$_*/
355
- 1048576 && t !== (t = /*$_*/
356
- o[20]("recentSearch") + "") && q(n, t);
355
+ 2097152 && t !== (t = /*$_*/
356
+ r[21]("recentSearch") + "") && H(n, t);
357
357
  },
358
- d(o) {
359
- o && E(e);
358
+ d(r) {
359
+ r && j(e);
360
360
  }
361
361
  };
362
362
  }
363
- function _e(a) {
364
- let e, t, n, o = (
363
+ function Se(a) {
364
+ let e, t, n, r = (
365
365
  /*$_*/
366
- a[20]("noRecentSearches") + ""
366
+ a[21]("noRecentSearches") + ""
367
367
  ), l, s, i = (
368
368
  /*notfoundicon*/
369
- a[10] === "true" && Se()
369
+ a[11] === "true" && be()
370
370
  );
371
371
  return {
372
372
  c() {
373
- e = y("div"), i && i.c(), t = N(), n = y("p"), l = W(o), f(n, "class", "SearchMessage"), f(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
374
- (a[10] == "true" ? "WithIcon" : ""));
373
+ e = y("div"), i && i.c(), t = N(), n = y("p"), l = q(r), f(n, "class", "SearchMessage"), f(e, "class", s = "ResultsContainerError " + /*notfoundicon*/
374
+ (a[11] == "true" ? "WithIcon" : ""));
375
375
  },
376
- m(c, m) {
377
- j(c, e, m), i && i.m(e, null), S(e, t), S(e, n), S(n, l);
376
+ m(c, g) {
377
+ I(c, e, g), i && i.m(e, null), S(e, t), S(e, n), S(n, l);
378
378
  },
379
- p(c, m) {
379
+ p(c, g) {
380
380
  /*notfoundicon*/
381
- c[10] === "true" ? i || (i = Se(), i.c(), i.m(e, t)) : i && (i.d(1), i = null), m[0] & /*$_*/
382
- 1048576 && o !== (o = /*$_*/
383
- c[20]("noRecentSearches") + "") && q(l, o), m[0] & /*notfoundicon*/
384
- 1024 && s !== (s = "ResultsContainerError " + /*notfoundicon*/
385
- (c[10] == "true" ? "WithIcon" : "")) && f(e, "class", s);
381
+ c[11] === "true" ? i || (i = be(), i.c(), i.m(e, t)) : i && (i.d(1), i = null), g[0] & /*$_*/
382
+ 2097152 && r !== (r = /*$_*/
383
+ c[21]("noRecentSearches") + "") && H(l, r), g[0] & /*notfoundicon*/
384
+ 2048 && s !== (s = "ResultsContainerError " + /*notfoundicon*/
385
+ (c[11] == "true" ? "WithIcon" : "")) && f(e, "class", s);
386
386
  },
387
387
  d(c) {
388
- c && E(e), i && i.d();
388
+ c && j(e), i && i.d();
389
389
  }
390
390
  };
391
391
  }
392
- function Se(a) {
392
+ function be(a) {
393
393
  let e;
394
394
  return {
395
395
  c() {
396
396
  e = y("div"), e.innerHTML = '<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>', f(e, "class", "SearchErrorIcon");
397
397
  },
398
398
  m(t, n) {
399
- j(t, e, n);
399
+ I(t, e, n);
400
400
  },
401
401
  d(t) {
402
- t && E(e);
402
+ t && j(e);
403
403
  }
404
404
  };
405
405
  }
406
406
  function we(a) {
407
- let e, t = he(
407
+ let e, t = de(
408
408
  /*searchArray*/
409
- a[14]
409
+ a[15]
410
410
  ), n = [];
411
- for (let o = 0; o < t.length; o += 1)
412
- n[o] = be(ge(a, t, o));
411
+ for (let r = 0; r < t.length; r += 1)
412
+ n[r] = ve(fe(a, t, r));
413
413
  return {
414
414
  c() {
415
- for (let o = 0; o < n.length; o += 1)
416
- n[o].c();
417
- e = ye();
415
+ for (let r = 0; r < n.length; r += 1)
416
+ n[r].c();
417
+ e = Re();
418
418
  },
419
- m(o, l) {
419
+ m(r, l) {
420
420
  for (let s = 0; s < n.length; s += 1)
421
- n[s] && n[s].m(o, l);
422
- j(o, e, l);
421
+ n[s] && n[s].m(r, l);
422
+ I(r, e, l);
423
423
  },
424
- p(o, l) {
425
- if (l[0] & /*endpoint, sessionID, playerID, showfavorites, lang, searchArray, addGameTag, showgamename, integratedgameframedesktop, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl*/
426
- 17580543) {
427
- t = he(
424
+ p(r, l) {
425
+ if (l[0] & /*endpoint, sessionID, playerID, showfavorites, lang, searchArray, addGameTag, showgamename, integratedgameframedesktop, integratedgameframemobile, clientstyling, clientstylingurl, gamepagemodalurl, mbsource*/
426
+ 35161087) {
427
+ t = de(
428
428
  /*searchArray*/
429
- o[14]
429
+ r[15]
430
430
  );
431
431
  let s;
432
432
  for (s = 0; s < t.length; s += 1) {
433
- const i = ge(o, t, s);
434
- n[s] ? n[s].p(i, l) : (n[s] = be(i), n[s].c(), n[s].m(e.parentNode, e));
433
+ const i = fe(r, t, s);
434
+ n[s] ? n[s].p(i, l) : (n[s] = ve(i), n[s].c(), n[s].m(e.parentNode, e));
435
435
  }
436
436
  for (; s < n.length; s += 1)
437
437
  n[s].d(1);
438
438
  n.length = t.length;
439
439
  }
440
440
  },
441
- d(o) {
442
- o && E(e), Ke(n, o);
441
+ d(r) {
442
+ r && j(e), Ye(n, r);
443
443
  }
444
444
  };
445
445
  }
446
- function be(a) {
447
- let e, t, n, o, l, s, i, c, m, u, g, k;
446
+ function ve(a) {
447
+ let e, t, n, r, l, s, i, c, g, h, m, w;
448
448
  return {
449
449
  c() {
450
- var h;
451
- e = y("casino-game-thumbnail-nd"), d(
450
+ var d;
451
+ e = y("casino-game-thumbnail-nd"), u(
452
452
  e,
453
453
  "endpoint",
454
454
  /*endpoint*/
455
455
  a[0]
456
- ), d(
456
+ ), u(
457
457
  e,
458
458
  "session",
459
459
  /*sessionID*/
460
- a[18]
461
- ), d(
460
+ a[19]
461
+ ), u(
462
462
  e,
463
463
  "userid",
464
464
  /*playerID*/
465
- a[19]
466
- ), d(
465
+ a[20]
466
+ ), u(
467
467
  e,
468
468
  "favorites",
469
469
  /*showfavorites*/
470
- a[8]
471
- ), d(
470
+ a[9]
471
+ ), u(
472
472
  e,
473
473
  "lang",
474
474
  /*lang*/
475
475
  a[1]
476
- ), d(e, "gamethumbnail", t = /*game*/
477
- a[53].thumbnail), d(e, "gamename", n = /*game*/
478
- a[53].name), d(e, "gamevendor", o = /*game*/
479
- a[53].vendor.name), d(e, "gameLaunchUrl", l = /*game*/
480
- a[53].launchUrl), d(e, "gameisnew", s = /*game*/
481
- a[53].isNew), d(e, "gametag", i = /*game*/
482
- ((h = a[53].advancedTags) == null ? void 0 : h.length) > 0 && /*addGameTag*/
483
- a[24](
476
+ ), u(e, "gamethumbnail", t = /*game*/
477
+ a[53].thumbnail), u(e, "gamename", n = /*game*/
478
+ a[53].name), u(e, "gamevendor", r = /*game*/
479
+ a[53].vendor.name), u(e, "gameLaunchUrl", l = /*game*/
480
+ a[53].launchUrl), u(e, "gameisnew", s = /*game*/
481
+ a[53].isNew), u(e, "gametag", i = /*game*/
482
+ ((d = a[53].advancedTags) == null ? void 0 : d.length) > 0 && /*addGameTag*/
483
+ a[25](
484
484
  /*game*/
485
485
  a[53].advancedTags
486
- )), d(e, "gamecellsize", c = /*game*/
487
- a[53].cellSize), d(e, "gameid", m = /*game*/
488
- a[53].id), d(
486
+ )), u(e, "gamecellsize", c = /*game*/
487
+ a[53].cellSize), u(e, "gameid", g = /*game*/
488
+ a[53].id), u(
489
489
  e,
490
490
  "showgamename",
491
491
  /*showgamename*/
492
- a[6]
493
- ), d(e, "gamefunmode", u = /*game*/
494
- a[53].hasFunMode), d(e, "gamefavorite", g = /*game*/
495
- a[53].isFavorite), d(e, "livelobbyendpoint", k = /*game*/
492
+ a[7]
493
+ ), u(e, "gamefunmode", h = /*game*/
494
+ a[53].hasFunMode), u(e, "gamefavorite", m = /*game*/
495
+ a[53].isFavorite), u(e, "livelobbyendpoint", w = /*game*/
496
496
  a[53].details ? (
497
497
  /*game*/
498
498
  a[53].launchUrl
499
- ) : ""), d(
499
+ ) : ""), u(
500
500
  e,
501
501
  "integratedgameframedesktop",
502
502
  /*integratedgameframedesktop*/
503
- a[4]
504
- ), d(
503
+ a[5]
504
+ ), u(
505
505
  e,
506
506
  "integratedgameframemobile",
507
507
  /*integratedgameframemobile*/
508
- a[5]
509
- ), d(
508
+ a[6]
509
+ ), u(
510
510
  e,
511
511
  "clientstyling",
512
512
  /*clientstyling*/
513
- a[2]
514
- ), d(
513
+ a[3]
514
+ ), u(
515
515
  e,
516
516
  "clientstylingurl",
517
517
  /*clientstylingurl*/
518
- a[3]
519
- ), d(
518
+ a[4]
519
+ ), u(
520
520
  e,
521
521
  "gamepagemodalurl",
522
522
  /*gamepagemodalurl*/
523
- a[7]
523
+ a[8]
524
+ ), u(
525
+ e,
526
+ "mbsource",
527
+ /*mbsource*/
528
+ a[2]
524
529
  );
525
530
  },
526
- m(h, _) {
527
- j(h, e, _);
531
+ m(d, p) {
532
+ I(d, e, p);
528
533
  },
529
- p(h, _) {
530
- var P;
531
- _[0] & /*endpoint*/
532
- 1 && d(
534
+ p(d, p) {
535
+ var A;
536
+ p[0] & /*endpoint*/
537
+ 1 && u(
533
538
  e,
534
539
  "endpoint",
535
540
  /*endpoint*/
536
- h[0]
537
- ), _[0] & /*sessionID*/
538
- 262144 && d(
541
+ d[0]
542
+ ), p[0] & /*sessionID*/
543
+ 524288 && u(
539
544
  e,
540
545
  "session",
541
546
  /*sessionID*/
542
- h[18]
543
- ), _[0] & /*playerID*/
544
- 524288 && d(
547
+ d[19]
548
+ ), p[0] & /*playerID*/
549
+ 1048576 && u(
545
550
  e,
546
551
  "userid",
547
552
  /*playerID*/
548
- h[19]
549
- ), _[0] & /*showfavorites*/
550
- 256 && d(
553
+ d[20]
554
+ ), p[0] & /*showfavorites*/
555
+ 512 && u(
551
556
  e,
552
557
  "favorites",
553
558
  /*showfavorites*/
554
- h[8]
555
- ), _[0] & /*lang*/
556
- 2 && d(
559
+ d[9]
560
+ ), p[0] & /*lang*/
561
+ 2 && u(
557
562
  e,
558
563
  "lang",
559
564
  /*lang*/
560
- h[1]
561
- ), _[0] & /*searchArray*/
562
- 16384 && t !== (t = /*game*/
563
- h[53].thumbnail) && d(e, "gamethumbnail", t), _[0] & /*searchArray*/
564
- 16384 && n !== (n = /*game*/
565
- h[53].name) && d(e, "gamename", n), _[0] & /*searchArray*/
566
- 16384 && o !== (o = /*game*/
567
- h[53].vendor.name) && d(e, "gamevendor", o), _[0] & /*searchArray*/
568
- 16384 && l !== (l = /*game*/
569
- h[53].launchUrl) && d(e, "gameLaunchUrl", l), _[0] & /*searchArray*/
570
- 16384 && s !== (s = /*game*/
571
- h[53].isNew) && d(e, "gameisnew", s), _[0] & /*searchArray*/
572
- 16384 && i !== (i = /*game*/
573
- ((P = h[53].advancedTags) == null ? void 0 : P.length) > 0 && /*addGameTag*/
574
- h[24](
565
+ d[1]
566
+ ), p[0] & /*searchArray*/
567
+ 32768 && t !== (t = /*game*/
568
+ d[53].thumbnail) && u(e, "gamethumbnail", t), p[0] & /*searchArray*/
569
+ 32768 && n !== (n = /*game*/
570
+ d[53].name) && u(e, "gamename", n), p[0] & /*searchArray*/
571
+ 32768 && r !== (r = /*game*/
572
+ d[53].vendor.name) && u(e, "gamevendor", r), p[0] & /*searchArray*/
573
+ 32768 && l !== (l = /*game*/
574
+ d[53].launchUrl) && u(e, "gameLaunchUrl", l), p[0] & /*searchArray*/
575
+ 32768 && s !== (s = /*game*/
576
+ d[53].isNew) && u(e, "gameisnew", s), p[0] & /*searchArray*/
577
+ 32768 && i !== (i = /*game*/
578
+ ((A = d[53].advancedTags) == null ? void 0 : A.length) > 0 && /*addGameTag*/
579
+ d[25](
575
580
  /*game*/
576
- h[53].advancedTags
577
- )) && d(e, "gametag", i), _[0] & /*searchArray*/
578
- 16384 && c !== (c = /*game*/
579
- h[53].cellSize) && d(e, "gamecellsize", c), _[0] & /*searchArray*/
580
- 16384 && m !== (m = /*game*/
581
- h[53].id) && d(e, "gameid", m), _[0] & /*showgamename*/
582
- 64 && d(
581
+ d[53].advancedTags
582
+ )) && u(e, "gametag", i), p[0] & /*searchArray*/
583
+ 32768 && c !== (c = /*game*/
584
+ d[53].cellSize) && u(e, "gamecellsize", c), p[0] & /*searchArray*/
585
+ 32768 && g !== (g = /*game*/
586
+ d[53].id) && u(e, "gameid", g), p[0] & /*showgamename*/
587
+ 128 && u(
583
588
  e,
584
589
  "showgamename",
585
590
  /*showgamename*/
586
- h[6]
587
- ), _[0] & /*searchArray*/
588
- 16384 && u !== (u = /*game*/
589
- h[53].hasFunMode) && d(e, "gamefunmode", u), _[0] & /*searchArray*/
590
- 16384 && g !== (g = /*game*/
591
- h[53].isFavorite) && d(e, "gamefavorite", g), _[0] & /*searchArray*/
592
- 16384 && k !== (k = /*game*/
593
- h[53].details ? (
591
+ d[7]
592
+ ), p[0] & /*searchArray*/
593
+ 32768 && h !== (h = /*game*/
594
+ d[53].hasFunMode) && u(e, "gamefunmode", h), p[0] & /*searchArray*/
595
+ 32768 && m !== (m = /*game*/
596
+ d[53].isFavorite) && u(e, "gamefavorite", m), p[0] & /*searchArray*/
597
+ 32768 && w !== (w = /*game*/
598
+ d[53].details ? (
594
599
  /*game*/
595
- h[53].launchUrl
596
- ) : "") && d(e, "livelobbyendpoint", k), _[0] & /*integratedgameframedesktop*/
597
- 16 && d(
600
+ d[53].launchUrl
601
+ ) : "") && u(e, "livelobbyendpoint", w), p[0] & /*integratedgameframedesktop*/
602
+ 32 && u(
598
603
  e,
599
604
  "integratedgameframedesktop",
600
605
  /*integratedgameframedesktop*/
601
- h[4]
602
- ), _[0] & /*integratedgameframemobile*/
603
- 32 && d(
606
+ d[5]
607
+ ), p[0] & /*integratedgameframemobile*/
608
+ 64 && u(
604
609
  e,
605
610
  "integratedgameframemobile",
606
611
  /*integratedgameframemobile*/
607
- h[5]
608
- ), _[0] & /*clientstyling*/
609
- 4 && d(
612
+ d[6]
613
+ ), p[0] & /*clientstyling*/
614
+ 8 && u(
610
615
  e,
611
616
  "clientstyling",
612
617
  /*clientstyling*/
613
- h[2]
614
- ), _[0] & /*clientstylingurl*/
615
- 8 && d(
618
+ d[3]
619
+ ), p[0] & /*clientstylingurl*/
620
+ 16 && u(
616
621
  e,
617
622
  "clientstylingurl",
618
623
  /*clientstylingurl*/
619
- h[3]
620
- ), _[0] & /*gamepagemodalurl*/
621
- 128 && d(
624
+ d[4]
625
+ ), p[0] & /*gamepagemodalurl*/
626
+ 256 && u(
622
627
  e,
623
628
  "gamepagemodalurl",
624
629
  /*gamepagemodalurl*/
625
- h[7]
630
+ d[8]
631
+ ), p[0] & /*mbsource*/
632
+ 4 && u(
633
+ e,
634
+ "mbsource",
635
+ /*mbsource*/
636
+ d[2]
626
637
  );
627
638
  },
628
- d(h) {
629
- h && E(e);
639
+ d(d) {
640
+ d && j(e);
630
641
  }
631
642
  };
632
643
  }
633
- function ve(a) {
634
- let e, t, n, o = (
644
+ function ke(a) {
645
+ let e, t, n, r = (
635
646
  /*$_*/
636
- a[20]("notFound") + ""
647
+ a[21]("notFound") + ""
637
648
  ), l, s, i, c = (
638
649
  /*$_*/
639
- a[20]("notFoundText") + ""
640
- ), m, u, g = (
650
+ a[21]("notFoundText") + ""
651
+ ), g, h, m = (
641
652
  /*notfoundicon*/
642
- a[10] === "true" && ke()
653
+ a[11] === "true" && ye()
643
654
  );
644
655
  return {
645
656
  c() {
646
- e = y("div"), g && g.c(), t = N(), n = y("p"), l = W(o), s = N(), i = y("p"), m = W(c), f(n, "class", "SearchMessage"), f(e, "class", u = "ResultsContainerError " + /*notfoundicon*/
647
- (a[10] == "true" ? "WithIcon" : ""));
657
+ e = y("div"), m && m.c(), t = N(), n = y("p"), l = q(r), s = N(), i = y("p"), g = q(c), f(n, "class", "SearchMessage"), f(e, "class", h = "ResultsContainerError " + /*notfoundicon*/
658
+ (a[11] == "true" ? "WithIcon" : ""));
648
659
  },
649
- m(k, h) {
650
- j(k, e, h), g && g.m(e, null), S(e, t), S(e, n), S(n, l), S(e, s), S(e, i), S(i, m);
660
+ m(w, d) {
661
+ I(w, e, d), m && m.m(e, null), S(e, t), S(e, n), S(n, l), S(e, s), S(e, i), S(i, g);
651
662
  },
652
- p(k, h) {
663
+ p(w, d) {
653
664
  /*notfoundicon*/
654
- k[10] === "true" ? g || (g = ke(), g.c(), g.m(e, t)) : g && (g.d(1), g = null), h[0] & /*$_*/
655
- 1048576 && o !== (o = /*$_*/
656
- k[20]("notFound") + "") && q(l, o), h[0] & /*$_*/
657
- 1048576 && c !== (c = /*$_*/
658
- k[20]("notFoundText") + "") && q(m, c), h[0] & /*notfoundicon*/
659
- 1024 && u !== (u = "ResultsContainerError " + /*notfoundicon*/
660
- (k[10] == "true" ? "WithIcon" : "")) && f(e, "class", u);
665
+ w[11] === "true" ? m || (m = ye(), m.c(), m.m(e, t)) : m && (m.d(1), m = null), d[0] & /*$_*/
666
+ 2097152 && r !== (r = /*$_*/
667
+ w[21]("notFound") + "") && H(l, r), d[0] & /*$_*/
668
+ 2097152 && c !== (c = /*$_*/
669
+ w[21]("notFoundText") + "") && H(g, c), d[0] & /*notfoundicon*/
670
+ 2048 && h !== (h = "ResultsContainerError " + /*notfoundicon*/
671
+ (w[11] == "true" ? "WithIcon" : "")) && f(e, "class", h);
661
672
  },
662
- d(k) {
663
- k && E(e), g && g.d();
673
+ d(w) {
674
+ w && j(e), m && m.d();
664
675
  }
665
676
  };
666
677
  }
667
- function ke(a) {
678
+ function ye(a) {
668
679
  let e;
669
680
  return {
670
681
  c() {
671
682
  e = y("div"), e.innerHTML = '<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>', f(e, "class", "SearchErrorIcon");
672
683
  },
673
684
  m(t, n) {
674
- j(t, e, n);
685
+ I(t, e, n);
675
686
  },
676
687
  d(t) {
677
- t && E(e);
688
+ t && j(e);
678
689
  }
679
690
  };
680
691
  }
681
- function ot(a) {
682
- let e, t, n, o, l, s, i, c, m, u, g, k, h, _, P, x, A, U, B, M, v = (
692
+ function lt(a) {
693
+ let e, t, n, r, l, s, i, c, g, h, m, w, d, p, A, P, M, W, O, U, v = (
683
694
  /*cancelbutton*/
684
- a[9] === "true" && fe(a)
695
+ a[10] === "true" && pe(a)
685
696
  );
686
- function O(b, F) {
697
+ function G(b, T) {
687
698
  return (
688
699
  /*isLoading*/
689
- b[17] ? at : tt
700
+ b[18] ? rt : nt
690
701
  );
691
702
  }
692
- let I = O(a), L = I(a);
703
+ let B = G(a), R = B(a);
693
704
  return {
694
705
  c() {
695
- e = y("div"), t = y("div"), n = y("div"), o = y("div"), o.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#FFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#FFF" stroke-width="1.5"></circle></svg>', l = N(), s = y("input"), c = N(), m = y("span"), u = ce("svg"), g = ce("path"), h = N(), v && v.c(), P = N(), x = y("div"), U = N(), L.c(), f(o, "class", "SearchIcon"), f(s, "class", "SearchInput"), f(s, "type", "search"), f(s, "placeholder", i = /*$_*/
696
- a[20]("placeHolderSearchGames")), f(s, "maxlength", st), f(g, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8"), f(g, "stroke", "#717171"), f(g, "stroke-width", "2"), f(g, "stroke-linecap", "round"), f(g, "stroke-linejoin", "round"), f(u, "width", "11"), f(u, "height", "11"), f(u, "fill", "none"), f(u, "xmlns", "http://www.w3.org/2000/svg"), f(m, "class", k = "SearchClearButton " + /*cancelbutton*/
697
- (a[9] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
698
- (a[11].length != 0 ? "" : "NotVisible")), f(n, "class", _ = "Search " + /*searchCancelled*/
699
- (a[12] ? "" : "SearchAnimation")), f(t, "class", "SearchWrap"), f(x, "class", A = /*cancelbutton*/
700
- a[9] != "true" ? "OverlayCancel" : ""), f(e, "class", (ee(
706
+ e = y("div"), t = y("div"), n = y("div"), r = y("div"), r.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#FFF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#FFF" stroke-width="1.5"></circle></svg>', l = N(), s = y("input"), c = N(), g = y("span"), h = ue("svg"), m = ue("path"), d = N(), v && v.c(), A = N(), P = y("div"), W = N(), R.c(), f(r, "class", "SearchIcon"), f(s, "class", "SearchInput"), f(s, "type", "search"), f(s, "placeholder", i = /*$_*/
707
+ a[21]("placeHolderSearchGames")), f(s, "maxlength", it), f(m, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8"), f(m, "stroke", "#717171"), f(m, "stroke-width", "2"), f(m, "stroke-linecap", "round"), f(m, "stroke-linejoin", "round"), f(h, "width", "11"), f(h, "height", "11"), f(h, "fill", "none"), f(h, "xmlns", "http://www.w3.org/2000/svg"), f(g, "class", w = "SearchClearButton " + /*cancelbutton*/
708
+ (a[10] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
709
+ (a[12].length != 0 ? "" : "NotVisible")), f(n, "class", p = "Search " + /*searchCancelled*/
710
+ (a[13] ? "" : "SearchAnimation")), f(t, "class", "SearchWrap"), f(P, "class", M = /*cancelbutton*/
711
+ a[10] != "true" ? "OverlayCancel" : ""), f(e, "class", (te(
701
712
  /*userAgent*/
702
- a[21]
713
+ a[22]
703
714
  ) !== "PC" ? "" : "Desktop") + " CasinoSearch");
704
715
  },
705
- m(b, F) {
706
- j(b, e, F), S(e, t), S(t, n), S(n, o), S(n, l), S(n, s), ie(
716
+ m(b, T) {
717
+ I(b, e, T), S(e, t), S(t, n), S(n, r), S(n, l), S(n, s), ce(
707
718
  s,
708
719
  /*searchValue*/
709
- a[11]
710
- ), a[33](s), S(n, c), S(n, m), S(m, u), S(u, g), S(n, h), v && v.m(n, null), S(e, P), S(e, x), S(e, U), L.m(e, null), a[36](e), B || (M = [
711
- J(
720
+ a[12]
721
+ ), a[34](s), S(n, c), S(n, g), S(g, h), S(h, m), S(n, d), v && v.m(n, null), S(e, A), S(e, P), S(e, W), R.m(e, null), a[37](e), O || (U = [
722
+ Z(
712
723
  s,
713
724
  "input",
714
725
  /*input_input_handler*/
715
- a[32]
726
+ a[33]
716
727
  ),
717
- J(
728
+ Z(
718
729
  s,
719
730
  "focus",
720
731
  /*onFocus*/
721
- a[22]
732
+ a[23]
722
733
  ),
723
- J(
724
- m,
734
+ Z(
735
+ g,
725
736
  "click",
726
737
  /*click_handler*/
727
- a[34]
738
+ a[35]
728
739
  ),
729
- J(
730
- x,
740
+ Z(
741
+ P,
731
742
  "click",
732
743
  /*handleOverlay*/
733
- a[23]
744
+ a[24]
734
745
  )
735
- ], B = !0);
746
+ ], O = !0);
736
747
  },
737
- p(b, F) {
738
- F[0] & /*$_*/
739
- 1048576 && i !== (i = /*$_*/
740
- b[20]("placeHolderSearchGames")) && f(s, "placeholder", i), F[0] & /*searchValue*/
741
- 2048 && s.value !== /*searchValue*/
742
- b[11] && ie(
748
+ p(b, T) {
749
+ T[0] & /*$_*/
750
+ 2097152 && i !== (i = /*$_*/
751
+ b[21]("placeHolderSearchGames")) && f(s, "placeholder", i), T[0] & /*searchValue*/
752
+ 4096 && s.value !== /*searchValue*/
753
+ b[12] && ce(
743
754
  s,
744
755
  /*searchValue*/
745
- b[11]
746
- ), F[0] & /*cancelbutton, searchValue*/
747
- 2560 && k !== (k = "SearchClearButton " + /*cancelbutton*/
748
- (b[9] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
749
- (b[11].length != 0 ? "" : "NotVisible")) && f(m, "class", k), /*cancelbutton*/
750
- b[9] === "true" ? v ? v.p(b, F) : (v = fe(b), v.c(), v.m(n, null)) : v && (v.d(1), v = null), F[0] & /*searchCancelled*/
751
- 4096 && _ !== (_ = "Search " + /*searchCancelled*/
752
- (b[12] ? "" : "SearchAnimation")) && f(n, "class", _), F[0] & /*cancelbutton*/
753
- 512 && A !== (A = /*cancelbutton*/
754
- b[9] != "true" ? "OverlayCancel" : "") && f(x, "class", A), I === (I = O(b)) && L ? L.p(b, F) : (L.d(1), L = I(b), L && (L.c(), L.m(e, null)));
756
+ b[12]
757
+ ), T[0] & /*cancelbutton, searchValue*/
758
+ 5120 && w !== (w = "SearchClearButton " + /*cancelbutton*/
759
+ (b[10] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
760
+ (b[12].length != 0 ? "" : "NotVisible")) && f(g, "class", w), /*cancelbutton*/
761
+ b[10] === "true" ? v ? v.p(b, T) : (v = pe(b), v.c(), v.m(n, null)) : v && (v.d(1), v = null), T[0] & /*searchCancelled*/
762
+ 8192 && p !== (p = "Search " + /*searchCancelled*/
763
+ (b[13] ? "" : "SearchAnimation")) && f(n, "class", p), T[0] & /*cancelbutton*/
764
+ 1024 && M !== (M = /*cancelbutton*/
765
+ b[10] != "true" ? "OverlayCancel" : "") && f(P, "class", M), B === (B = G(b)) && R ? R.p(b, T) : (R.d(1), R = B(b), R && (R.c(), R.m(e, null)));
755
766
  },
756
- i: le,
757
- o: le,
767
+ i: ie,
768
+ o: ie,
758
769
  d(b) {
759
- b && E(e), a[33](null), v && v.d(), L.d(), a[36](null), B = !1, Je(M);
770
+ b && j(e), a[34](null), v && v.d(), R.d(), a[37](null), O = !1, Ve(U);
760
771
  }
761
772
  };
762
773
  }
763
- let st = 50;
764
- function lt(a, e, t) {
774
+ let it = 50;
775
+ function ct(a, e, t) {
765
776
  let n;
766
- Ze(a, Qe, (r) => t(20, n = r));
767
- let { endpoint: o = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { clientstyling: m = "" } = e, { clientstylingurl: u = "" } = e, { integratedgameframedesktop: g = "false" } = e, { integratedgameframemobile: k = "false" } = e, { showgamename: h = "" } = e, { gamepagemodalurl: _ = "true" } = e, { translationurl: P = "" } = e, { showfavorites: x = "" } = e, { cancelbutton: A = "true" } = e, { notfoundicon: U = "false" } = e, B = window.navigator.userAgent, M = [], v = [], O = {}, I = "", L, b = !0, F = !1, z = !1, D, Z = !1, Y, K, te = [];
768
- const Re = () => {
769
- fetch(P).then((p) => p.json()).then((p) => {
770
- Object.keys(p).forEach((w) => {
771
- de(w, p[w]);
777
+ Je(a, et, (o) => t(21, n = o));
778
+ let { endpoint: r = "" } = e, { datasource: l = "" } = e, { session: s = "" } = e, { userid: i = "" } = e, { lang: c = "en" } = e, { mbsource: g } = e, { clientstyling: h = "" } = e, { clientstylingurl: m = "" } = e, { integratedgameframedesktop: w = "false" } = e, { integratedgameframemobile: d = "false" } = e, { showgamename: p = "" } = e, { gamepagemodalurl: A = "true" } = e, { translationurl: P = "" } = e, { showfavorites: M = "" } = e, { cancelbutton: W = "true" } = e, { notfoundicon: O = "false" } = e, U = window.navigator.userAgent, v = [], G = [], B = {}, R = "", b, T = !0, V = !1, z = !1, x, Y = !1, K, X, ae = [];
779
+ const Ce = () => {
780
+ fetch(P).then((_) => _.json()).then((_) => {
781
+ Object.keys(_).forEach((k) => {
782
+ me(k, _[k]);
772
783
  });
773
- }).catch((p) => {
774
- console.log(p);
784
+ }).catch((_) => {
785
+ console.log(_);
775
786
  });
776
787
  };
777
- Object.keys(me).forEach((r) => {
778
- de(r, me[r]);
788
+ Object.keys(ge).forEach((o) => {
789
+ me(o, ge[o]);
779
790
  });
780
- const ae = (r) => {
781
- r.data && r.data.type == "SearchedItemClicked" && Ie(r.data.gameId), r.data.type == "UserSessionID" && (t(18, Y = r.data.session), t(19, K = r.data.userid), t(31, Z = !0)), r.data.type == "CategoryChange" && X();
782
- }, ne = () => {
783
- if (t(12, b = !1), t(16, F = !0), o && l && c && I.length < 2) {
784
- t(14, M = []);
785
- let r = localStorage.getItem("searchedGamesWds_casino"), p = [];
786
- r && (p = r.split(","));
787
- let w = [], R = 0, C = p.length;
788
- if (C > 0) {
789
- for (R = 0; R < C; R++) {
790
- let G = new URL(`${o}/v1/casino/games/${p[R]}`);
791
- G.searchParams.append("language", c), G.searchParams.append("datasource", l), G.searchParams.append("platform", ee(B)), w.push(Le(G, p[R]));
791
+ const ne = (o) => {
792
+ o.data && o.data.type == "SearchedItemClicked" && Ge(o.data.gameId), o.data.type == "UserSessionID" && (t(19, K = o.data.session), t(20, X = o.data.userid), t(32, Y = !0)), o.data.type == "CategoryChange" && Q();
793
+ }, re = () => {
794
+ if (t(13, T = !1), t(17, V = !0), r && l && c && R.length < 2) {
795
+ t(15, v = []);
796
+ let o = localStorage.getItem("searchedGamesWds_casino"), _ = [];
797
+ o && (_ = o.split(","));
798
+ let k = [], C = 0, F = _.length;
799
+ if (F > 0) {
800
+ for (C = 0; C < F; C++) {
801
+ let E = new URL(`${r}/v1/casino/games/${_[C]}`);
802
+ E.searchParams.append("language", c), E.searchParams.append("datasource", l), E.searchParams.append("platform", te(U)), k.push(Te(E, _[C]));
792
803
  }
793
- Promise.all(w).then((G) => {
794
- G = G.filter(function(H) {
795
- return !!H;
796
- }), t(14, M = G.map((H) => (H.isFavorite = re(H.id), H))), M.length ? V("searchSuccess", "SearchWidget") : V("searchFail", "SearchWidget");
797
- }).catch((G) => {
798
- V("searchError", "SearchWidget");
804
+ Promise.all(k).then((E) => {
805
+ E = E.filter(function(D) {
806
+ return !!D;
807
+ }), t(15, v = E.map((D) => (D.isFavorite = oe(D.id), D))), v.length ? J("searchSuccess", "SearchWidget") : J("searchFail", "SearchWidget");
808
+ }).catch((E) => {
809
+ J("searchError", "SearchWidget");
799
810
  });
800
811
  }
801
812
  }
802
- se(F), V("searchAttempt", "SearchWidget"), V("SearchInitialized", "SearchWidget");
803
- }, V = (r, p) => {
804
- typeof gtag == "function" && gtag("event", r, { context: p });
805
- }, Ce = () => {
806
- A != "true" && X();
807
- }, Fe = (r) => new Promise((p, w) => {
808
- t(17, z = !0), fetch(r.href).then((R) => R.json()).then((R) => {
809
- t(17, z = !1), p(R);
810
- }).catch((R) => {
811
- t(17, z = !1), console.error(R), w(R);
812
- });
813
- }), Le = (r, p) => new Promise((w, R) => {
814
- t(17, z = !0), p && Object.keys(O).indexOf(p) >= 0 ? (t(17, z = !1), w(O[p])) : fetch(r).then((C) => C.json()).then((C) => {
815
- t(17, z = !1), C.error || (O[C[0].gameId] = C[0]), w(C[0]);
813
+ le(V), J("searchAttempt", "SearchWidget"), J("SearchInitialized", "SearchWidget");
814
+ }, J = (o, _) => {
815
+ typeof gtag == "function" && gtag("event", o, { context: _ });
816
+ }, Fe = () => {
817
+ W != "true" && Q();
818
+ }, Le = (o) => new Promise((_, k) => {
819
+ t(18, z = !0), fetch(o.href).then((C) => C.json()).then((C) => {
820
+ t(18, z = !1), _(C);
816
821
  }).catch((C) => {
817
- t(17, z = !1), console.error(C), R(C);
822
+ t(18, z = !1), console.error(C), k(C);
823
+ });
824
+ }), Te = (o, _) => new Promise((k, C) => {
825
+ t(18, z = !0), _ && Object.keys(B).indexOf(_) >= 0 ? (t(18, z = !1), k(B[_])) : fetch(o).then((F) => F.json()).then((F) => {
826
+ t(18, z = !1), F.error || (B[F[0].gameId] = F[0]), k(F[0]);
827
+ }).catch((F) => {
828
+ t(18, z = !1), console.error(F), C(F);
818
829
  });
819
- }), Te = () => {
820
- const r = new URL(`${o}/v1/player/${K}/favorites/`);
821
- t(17, z = !0);
822
- let p = {
830
+ }), je = () => {
831
+ const o = new URL(`${r}/v1/player/${X}/favorites/`);
832
+ t(18, z = !0);
833
+ let _ = {
823
834
  method: "GET",
824
- headers: { "X-SessionID": Y }
835
+ headers: { "X-SessionID": K }
825
836
  };
826
- fetch(r.href, p).then((w) => w.json()).then((w) => {
827
- t(17, z = !1), te = w.items.map((R) => R.id);
837
+ fetch(o.href, _).then((k) => k.json()).then((k) => {
838
+ t(18, z = !1), ae = k.items.map((C) => C.id);
828
839
  });
829
- }, Ee = () => {
830
- t(31, Z = !0), t(18, Y = s), t(19, K = i);
831
- }, re = (r) => te.findIndex((p) => p == r) !== -1, je = (r) => {
832
- if ((r == null ? void 0 : r.length) === 0) return "";
833
- let p, w = 99999999999, R;
834
- const C = new Date(Date.now());
835
- return r.forEach((G, H) => {
836
- const De = new Date(G.schedules[0].startTime), $ = new Date(G.schedules[0].endTime);
837
- Q($).diff(C) < w && (w = Q($).diff(C), R = H), Q(C).isAfter(De) && Q(C).isBefore($) && (p = r[R].name);
838
- }), p;
839
- }, Ie = (r) => {
840
- if (v = localStorage.getItem("searchedGamesWds_casino"), v ? v = v.split(",") : v = [], v.indexOf(r) === -1) {
841
- let p;
842
- v.unshift(r), p = v.join(","), localStorage.setItem("searchedGamesWds_casino", p);
840
+ }, Ie = () => {
841
+ t(32, Y = !0), t(19, K = s), t(20, X = i);
842
+ }, oe = (o) => ae.findIndex((_) => _ == o) !== -1, Ee = (o) => {
843
+ if ((o == null ? void 0 : o.length) === 0) return "";
844
+ let _, k = 99999999999, C;
845
+ const F = new Date(Date.now());
846
+ return o.forEach((E, D) => {
847
+ const Be = new Date(E.schedules[0].startTime), ee = new Date(E.schedules[0].endTime);
848
+ $(ee).diff(F) < k && (k = $(ee).diff(F), C = D), $(F).isAfter(Be) && $(F).isBefore(ee) && (_ = o[C].name);
849
+ }), _;
850
+ }, Ge = (o) => {
851
+ if (G = localStorage.getItem("searchedGamesWds_casino"), G ? G = G.split(",") : G = [], G.indexOf(o) === -1) {
852
+ let _;
853
+ G.unshift(o), _ = G.join(","), localStorage.setItem("searchedGamesWds_casino", _);
843
854
  }
844
- }, X = () => {
845
- t(11, I = ""), t(12, b = !0), t(17, z = !1), t(14, M = []), t(16, F = !1), se(F);
846
- }, oe = () => {
847
- t(11, I = ""), L.focus();
848
- }, se = (r) => {
855
+ }, Q = () => {
856
+ t(12, R = ""), t(13, T = !0), t(18, z = !1), t(15, v = []), t(17, V = !1), le(V);
857
+ }, se = () => {
858
+ t(12, R = ""), b.focus();
859
+ }, le = (o) => {
849
860
  window.postMessage(
850
861
  {
851
- type: r === !0 ? "searchActive" : "searchCancelled",
852
- searchStatus: r
862
+ type: o === !0 ? "searchActive" : "searchCancelled",
863
+ searchStatus: o
853
864
  },
854
865
  window.location.href
855
866
  );
856
- }, Ge = () => {
857
- $e(c);
858
867
  }, ze = () => {
859
- let r = document.createElement("style");
860
- r.innerHTML = m, D.appendChild(r);
861
- }, Ne = () => {
862
- let r = new URL(u), p = document.createElement("style");
863
- fetch(r.href).then((w) => w.text()).then((w) => {
864
- p.innerHTML = w, setTimeout(
865
- () => {
866
- D.appendChild(p);
867
- },
868
- 1
869
- );
870
- });
868
+ tt(c);
871
869
  };
872
- Ye(() => (window.addEventListener("message", ae, !1), () => {
873
- window.removeEventListener("message", ae);
870
+ Ze(() => (window.addEventListener("message", ne, !1), () => {
871
+ window.removeEventListener("message", ne);
874
872
  }));
875
- function Pe() {
876
- I = this.value, t(11, I);
873
+ function Ne() {
874
+ R = this.value, t(12, R);
877
875
  }
878
- function xe(r) {
879
- ue[r ? "unshift" : "push"](() => {
880
- L = r, t(15, L);
876
+ function Pe(o) {
877
+ he[o ? "unshift" : "push"](() => {
878
+ b = o, t(16, b);
881
879
  });
882
880
  }
883
- const Me = () => oe(), Ae = () => X();
884
- function Be(r) {
885
- ue[r ? "unshift" : "push"](() => {
886
- D = r, t(13, D);
881
+ const xe = () => se(), Ae = () => Q();
882
+ function Me(o) {
883
+ he[o ? "unshift" : "push"](() => {
884
+ x = o, t(14, x);
887
885
  });
888
886
  }
889
- return a.$$set = (r) => {
890
- "endpoint" in r && t(0, o = r.endpoint), "datasource" in r && t(27, l = r.datasource), "session" in r && t(28, s = r.session), "userid" in r && t(29, i = r.userid), "lang" in r && t(1, c = r.lang), "clientstyling" in r && t(2, m = r.clientstyling), "clientstylingurl" in r && t(3, u = r.clientstylingurl), "integratedgameframedesktop" in r && t(4, g = r.integratedgameframedesktop), "integratedgameframemobile" in r && t(5, k = r.integratedgameframemobile), "showgamename" in r && t(6, h = r.showgamename), "gamepagemodalurl" in r && t(7, _ = r.gamepagemodalurl), "translationurl" in r && t(30, P = r.translationurl), "showfavorites" in r && t(8, x = r.showfavorites), "cancelbutton" in r && t(9, A = r.cancelbutton), "notfoundicon" in r && t(10, U = r.notfoundicon);
887
+ return a.$$set = (o) => {
888
+ "endpoint" in o && t(0, r = o.endpoint), "datasource" in o && t(28, l = o.datasource), "session" in o && t(29, s = o.session), "userid" in o && t(30, i = o.userid), "lang" in o && t(1, c = o.lang), "mbsource" in o && t(2, g = o.mbsource), "clientstyling" in o && t(3, h = o.clientstyling), "clientstylingurl" in o && t(4, m = o.clientstylingurl), "integratedgameframedesktop" in o && t(5, w = o.integratedgameframedesktop), "integratedgameframemobile" in o && t(6, d = o.integratedgameframemobile), "showgamename" in o && t(7, p = o.showgamename), "gamepagemodalurl" in o && t(8, A = o.gamepagemodalurl), "translationurl" in o && t(31, P = o.translationurl), "showfavorites" in o && t(9, M = o.showfavorites), "cancelbutton" in o && t(10, W = o.cancelbutton), "notfoundicon" in o && t(11, O = o.notfoundicon);
891
889
  }, a.$$.update = () => {
892
890
  if (a.$$.dirty[0] & /*searchValue, endpoint, datasource, lang, searchCancelled*/
893
- 134223875)
894
- if (I.length >= 2) {
895
- const r = new URL(`${o}/v1/casino/games`);
896
- r.searchParams.append("datasource", l), r.searchParams.append("expand", "vendor"), r.searchParams.append("platform", ee(B)), r.searchParams.append("language", c), r.searchParams.append("pagination", "offset=0,limit=30"), r.searchParams.append("filter", `name=${I}`), Fe(r).then((p) => {
897
- t(14, M = p.items.map((w) => (w.isFavorite = re(w.id), w)));
891
+ 268447747)
892
+ if (R.length >= 2) {
893
+ const o = new URL(`${r}/v1/casino/games`);
894
+ o.searchParams.append("datasource", l), o.searchParams.append("expand", "vendor"), o.searchParams.append("platform", te(U)), o.searchParams.append("language", c), o.searchParams.append("pagination", "offset=0,limit=30"), o.searchParams.append("filter", `name=${R}`), Le(o).then((_) => {
895
+ t(15, v = _.items.map((k) => (k.isFavorite = oe(k.id), k)));
898
896
  });
899
897
  } else
900
- b || ne();
898
+ T || re();
901
899
  a.$$.dirty[0] & /*lang*/
902
- 2 && c && Ge(), a.$$.dirty[0] & /*translationurl*/
903
- 1073741824 && P && Re(), a.$$.dirty[0] & /*session, userid*/
904
- 805306368 && s && i && Ee(), a.$$.dirty[0] & /*showfavorites*/
905
- 256 | a.$$.dirty[1] & /*isLoggedIn*/
906
- 1 && x && Z && Te(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
907
- 8196 && m && D && ze(), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
908
- 8200 && u && D && Ne();
900
+ 2 && c && ze(), a.$$.dirty[1] & /*translationurl*/
901
+ 1 && P && Ce(), a.$$.dirty[0] & /*session, userid*/
902
+ 1610612736 && s && i && Ie(), a.$$.dirty[0] & /*showfavorites*/
903
+ 512 | a.$$.dirty[1] & /*isLoggedIn*/
904
+ 2 && M && Y && je(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
905
+ 16392 && h && x && Ke(x, h), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
906
+ 16400 && m && x && Xe(x, m), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
907
+ 16388 && g && x && Qe(x, `${g}.Style`);
909
908
  }, [
910
- o,
909
+ r,
911
910
  c,
912
- m,
913
- u,
914
911
  g,
915
- k,
916
912
  h,
917
- _,
918
- x,
913
+ m,
914
+ w,
915
+ d,
916
+ p,
919
917
  A,
920
- U,
921
- I,
922
- b,
923
- D,
924
918
  M,
925
- L,
926
- F,
919
+ W,
920
+ O,
921
+ R,
922
+ T,
923
+ x,
924
+ v,
925
+ b,
926
+ V,
927
927
  z,
928
- Y,
929
928
  K,
930
- n,
931
- B,
932
- ne,
933
- Ce,
934
- je,
935
929
  X,
936
- oe,
930
+ n,
931
+ U,
932
+ re,
933
+ Fe,
934
+ Ee,
935
+ Q,
936
+ se,
937
937
  l,
938
938
  s,
939
939
  i,
940
940
  P,
941
- Z,
941
+ Y,
942
+ Ne,
942
943
  Pe,
943
944
  xe,
944
- Me,
945
945
  Ae,
946
- Be
946
+ Me
947
947
  ];
948
948
  }
949
- class it extends We {
949
+ class ut extends qe {
950
950
  constructor(e) {
951
- super(), Oe(
951
+ super(), We(
952
952
  this,
953
953
  e,
954
+ ct,
954
955
  lt,
955
- ot,
956
- Ue,
956
+ Oe,
957
957
  {
958
958
  endpoint: 0,
959
- datasource: 27,
960
- session: 28,
961
- userid: 29,
959
+ datasource: 28,
960
+ session: 29,
961
+ userid: 30,
962
962
  lang: 1,
963
- clientstyling: 2,
964
- clientstylingurl: 3,
965
- integratedgameframedesktop: 4,
966
- integratedgameframemobile: 5,
967
- showgamename: 6,
968
- gamepagemodalurl: 7,
969
- translationurl: 30,
970
- showfavorites: 8,
971
- cancelbutton: 9,
972
- notfoundicon: 10
963
+ mbsource: 2,
964
+ clientstyling: 3,
965
+ clientstylingurl: 4,
966
+ integratedgameframedesktop: 5,
967
+ integratedgameframemobile: 6,
968
+ showgamename: 7,
969
+ gamepagemodalurl: 8,
970
+ translationurl: 31,
971
+ showfavorites: 9,
972
+ cancelbutton: 10,
973
+ notfoundicon: 11
973
974
  },
974
- et,
975
+ at,
975
976
  [-1, -1]
976
977
  );
977
978
  }
@@ -979,94 +980,100 @@ class it extends We {
979
980
  return this.$$.ctx[0];
980
981
  }
981
982
  set endpoint(e) {
982
- this.$$set({ endpoint: e }), T();
983
+ this.$$set({ endpoint: e }), L();
983
984
  }
984
985
  get datasource() {
985
- return this.$$.ctx[27];
986
+ return this.$$.ctx[28];
986
987
  }
987
988
  set datasource(e) {
988
- this.$$set({ datasource: e }), T();
989
+ this.$$set({ datasource: e }), L();
989
990
  }
990
991
  get session() {
991
- return this.$$.ctx[28];
992
+ return this.$$.ctx[29];
992
993
  }
993
994
  set session(e) {
994
- this.$$set({ session: e }), T();
995
+ this.$$set({ session: e }), L();
995
996
  }
996
997
  get userid() {
997
- return this.$$.ctx[29];
998
+ return this.$$.ctx[30];
998
999
  }
999
1000
  set userid(e) {
1000
- this.$$set({ userid: e }), T();
1001
+ this.$$set({ userid: e }), L();
1001
1002
  }
1002
1003
  get lang() {
1003
1004
  return this.$$.ctx[1];
1004
1005
  }
1005
1006
  set lang(e) {
1006
- this.$$set({ lang: e }), T();
1007
+ this.$$set({ lang: e }), L();
1007
1008
  }
1008
- get clientstyling() {
1009
+ get mbsource() {
1009
1010
  return this.$$.ctx[2];
1010
1011
  }
1012
+ set mbsource(e) {
1013
+ this.$$set({ mbsource: e }), L();
1014
+ }
1015
+ get clientstyling() {
1016
+ return this.$$.ctx[3];
1017
+ }
1011
1018
  set clientstyling(e) {
1012
- this.$$set({ clientstyling: e }), T();
1019
+ this.$$set({ clientstyling: e }), L();
1013
1020
  }
1014
1021
  get clientstylingurl() {
1015
- return this.$$.ctx[3];
1022
+ return this.$$.ctx[4];
1016
1023
  }
1017
1024
  set clientstylingurl(e) {
1018
- this.$$set({ clientstylingurl: e }), T();
1025
+ this.$$set({ clientstylingurl: e }), L();
1019
1026
  }
1020
1027
  get integratedgameframedesktop() {
1021
- return this.$$.ctx[4];
1028
+ return this.$$.ctx[5];
1022
1029
  }
1023
1030
  set integratedgameframedesktop(e) {
1024
- this.$$set({ integratedgameframedesktop: e }), T();
1031
+ this.$$set({ integratedgameframedesktop: e }), L();
1025
1032
  }
1026
1033
  get integratedgameframemobile() {
1027
- return this.$$.ctx[5];
1034
+ return this.$$.ctx[6];
1028
1035
  }
1029
1036
  set integratedgameframemobile(e) {
1030
- this.$$set({ integratedgameframemobile: e }), T();
1037
+ this.$$set({ integratedgameframemobile: e }), L();
1031
1038
  }
1032
1039
  get showgamename() {
1033
- return this.$$.ctx[6];
1040
+ return this.$$.ctx[7];
1034
1041
  }
1035
1042
  set showgamename(e) {
1036
- this.$$set({ showgamename: e }), T();
1043
+ this.$$set({ showgamename: e }), L();
1037
1044
  }
1038
1045
  get gamepagemodalurl() {
1039
- return this.$$.ctx[7];
1046
+ return this.$$.ctx[8];
1040
1047
  }
1041
1048
  set gamepagemodalurl(e) {
1042
- this.$$set({ gamepagemodalurl: e }), T();
1049
+ this.$$set({ gamepagemodalurl: e }), L();
1043
1050
  }
1044
1051
  get translationurl() {
1045
- return this.$$.ctx[30];
1052
+ return this.$$.ctx[31];
1046
1053
  }
1047
1054
  set translationurl(e) {
1048
- this.$$set({ translationurl: e }), T();
1055
+ this.$$set({ translationurl: e }), L();
1049
1056
  }
1050
1057
  get showfavorites() {
1051
- return this.$$.ctx[8];
1058
+ return this.$$.ctx[9];
1052
1059
  }
1053
1060
  set showfavorites(e) {
1054
- this.$$set({ showfavorites: e }), T();
1061
+ this.$$set({ showfavorites: e }), L();
1055
1062
  }
1056
1063
  get cancelbutton() {
1057
- return this.$$.ctx[9];
1064
+ return this.$$.ctx[10];
1058
1065
  }
1059
1066
  set cancelbutton(e) {
1060
- this.$$set({ cancelbutton: e }), T();
1067
+ this.$$set({ cancelbutton: e }), L();
1061
1068
  }
1062
1069
  get notfoundicon() {
1063
- return this.$$.ctx[10];
1070
+ return this.$$.ctx[11];
1064
1071
  }
1065
1072
  set notfoundicon(e) {
1066
- this.$$set({ notfoundicon: e }), T();
1073
+ this.$$set({ notfoundicon: e }), L();
1067
1074
  }
1068
1075
  }
1069
- Xe(it, { endpoint: {}, datasource: {}, session: {}, userid: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, showgamename: {}, gamepagemodalurl: {}, translationurl: {}, showfavorites: {}, cancelbutton: {}, notfoundicon: {} }, [], [], !0);
1076
+ $e(ut, { endpoint: {}, datasource: {}, session: {}, userid: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, showgamename: {}, gamepagemodalurl: {}, translationurl: {}, showfavorites: {}, cancelbutton: {}, notfoundicon: {} }, [], [], !0);
1070
1077
  export {
1071
- it as default
1078
+ ut as default
1072
1079
  };