@everymatrix/casino-lobby 1.54.12 → 1.55.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 (101) hide show
  1. package/components/{CasinoCalendar-CKCvu8d9.js → CasinoCalendar-BKvw2GLN.js} +1135 -1091
  2. package/components/{CasinoCalendar-D3cTwZsW.js → CasinoCalendar-CRnGs6mI.js} +953 -909
  3. package/components/CasinoCalendar-P6bQ-mxN.cjs +9 -0
  4. package/components/{CasinoCalendarDailyDetails-CCIR8eIp.js → CasinoCalendarDailyDetails-B-FOmYEZ.js} +45 -45
  5. package/components/{CasinoCalendarDailyDetails-B7hChP4v.js → CasinoCalendarDailyDetails-DYTiZ7iE.js} +45 -45
  6. package/components/{CasinoCalendarDailyDetails-C1T0xNcn.cjs → CasinoCalendarDailyDetails-DicGOCGy.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-1iPwEmjb.js → CasinoCalendarDailyItem-BsUUCx7a.js} +46 -46
  8. package/components/{CasinoCalendarDailyItem-Bp_PImhJ.cjs → CasinoCalendarDailyItem-DDm6oH8O.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-BNNa1Jdv.js → CasinoCalendarDailyItem-DIhsLlMC.js} +46 -46
  10. package/components/{CasinoCategoriesSlider-06Zx2Iq-.js → CasinoCategoriesSlider-C7hbpydX.js} +204 -197
  11. package/components/{CasinoCategoriesSlider-Bjd1r5S5.js → CasinoCategoriesSlider-hJChLXnm.js} +205 -198
  12. package/components/CasinoCategoriesSlider-wt-dJlF9.cjs +1 -0
  13. package/components/CasinoCollectionsProviders-B0h7SupJ.cjs +1 -0
  14. package/components/{CasinoCollectionsProviders-BQPjVzK8.js → CasinoCollectionsProviders-CTvTqZY1.js} +273 -278
  15. package/components/{CasinoCollectionsProviders-CVDFBiI0.js → CasinoCollectionsProviders-Cyc5HYpW.js} +260 -265
  16. package/components/{CasinoFavoritesSection-Dumr9yPV.js → CasinoFavoritesSection-B4JlTRNa.js} +139 -133
  17. package/components/CasinoFavoritesSection-CcyN5mtI.cjs +1 -0
  18. package/components/{CasinoFavoritesSection-WWaIxjOj.js → CasinoFavoritesSection-D4v8HNn9.js} +139 -133
  19. package/components/{CasinoFilter-CT6gjm3V.js → CasinoFilter-CgPbbuBc.js} +178 -184
  20. package/components/{CasinoFilter-C10Tgn3c.cjs → CasinoFilter-EA285UxQ.cjs} +1 -1
  21. package/components/{CasinoFilter-ckjDwsuD.js → CasinoFilter-ZQCeB5st.js} +175 -181
  22. package/components/{CasinoGamePage-DOzefHFS.cjs → CasinoGamePage-D2VGIU0X.cjs} +6 -6
  23. package/components/{CasinoGamePage-BUpAQtEi.js → CasinoGamePage-DnFlR6PD.js} +1044 -1050
  24. package/components/{CasinoGamePage-VEREng8k.js → CasinoGamePage-lOejw_q6.js} +1018 -1024
  25. package/components/{CasinoGameThumbnail-nmpLDgoF.js → CasinoGameThumbnail-Aj4sPAss.js} +403 -424
  26. package/components/{CasinoGameThumbnail-CWQWsl_s.cjs → CasinoGameThumbnail-ClSBiG0I.cjs} +13 -13
  27. package/components/{CasinoGameThumbnail-D08-4naW.js → CasinoGameThumbnail-h69vAUbV.js} +523 -512
  28. package/components/{CasinoGamesCategorySection-u0JnTvTn.js → CasinoGamesCategorySection-C9FCv7PW.js} +736 -674
  29. package/components/{CasinoGamesCategorySection-DK9t7zLa.js → CasinoGamesCategorySection-PiRBRWmh.js} +1168 -1106
  30. package/components/CasinoGamesCategorySection-X0aDh13K.cjs +1 -0
  31. package/components/CasinoJackpotBanner-BdzgC-lW.js +690 -0
  32. package/components/CasinoJackpotBanner-Dx_3WwEw.js +686 -0
  33. package/components/CasinoJackpotBanner-rV5P1O6d.cjs +1 -0
  34. package/components/CasinoLastPlayedSection-BP9oa18h.cjs +1 -0
  35. package/components/{CasinoLastPlayedSection-CChe4Dsm.js → CasinoLastPlayedSection-BXGcYUad.js} +148 -139
  36. package/components/{CasinoLastPlayedSection-BoyL9RQI.js → CasinoLastPlayedSection-r73sTCi9.js} +148 -139
  37. package/components/{CasinoLobby-ClLV4i9d.js → CasinoLobby-60oTKJCK.js} +555 -525
  38. package/components/CasinoLobby-CB5KGhNa.cjs +1 -0
  39. package/components/{CasinoLobby-DUYjTD-X.js → CasinoLobby-DHl1_-VE.js} +555 -525
  40. package/components/CasinoModal-B7R5L0mw.js +368 -0
  41. package/components/CasinoModal-B7pt3Gcb.cjs +1 -0
  42. package/components/CasinoModal-wz-kI5U1.js +368 -0
  43. package/components/{CasinoMostPlayedSection-DQ_xJPuX.cjs → CasinoMostPlayedSection-CaHWOtw_.cjs} +1 -1
  44. package/components/{CasinoMostPlayedSection-DIF7og_k.js → CasinoMostPlayedSection-CpO0b2PN.js} +34 -34
  45. package/components/{CasinoMostPlayedSection-qZnaHjV9.js → CasinoMostPlayedSection-CxQrM8-U.js} +34 -34
  46. package/components/{CasinoMyGames-BfCr8pSL.js → CasinoMyGames-B0AvdkLy.js} +124 -128
  47. package/components/{CasinoMyGames-B0pWVqCz.cjs → CasinoMyGames-R7NrCxgd.cjs} +1 -1
  48. package/components/{CasinoMyGames-Bu2sU_i0.js → CasinoMyGames-ieyBjArx.js} +139 -141
  49. package/components/{CasinoPage-CoKfFrmH.js → CasinoPage-CcV-qeX_.js} +903 -805
  50. package/components/{CasinoPage-BAJC3ryR.js → CasinoPage-E4Nn1l0F.js} +573 -481
  51. package/components/CasinoPage-azRHPGyF.cjs +1 -0
  52. package/components/{CasinoRandomGame-Df62wtxc.js → CasinoRandomGame-BEOONr7N.js} +244 -246
  53. package/components/{CasinoRandomGame-C6-dDxie.cjs → CasinoRandomGame-D1gqYJkg.cjs} +2 -2
  54. package/components/{CasinoRandomGame-DXFHIw0O.js → CasinoRandomGame-DoSJSKrA.js} +225 -227
  55. package/components/CasinoSearch-3nC8pR7D.cjs +1 -0
  56. package/components/{CasinoSearch-DP4hDzq5.js → CasinoSearch-BOSoxjjv.js} +394 -387
  57. package/components/{CasinoSearch-U2PDpXMA.js → CasinoSearch-DqfKG5Mj.js} +443 -436
  58. package/components/{CasinoSlider-BjpV4pLV.js → CasinoSlider-DlBcdeDm.js} +294 -297
  59. package/components/{CasinoSlider-BDjskQjI.cjs → CasinoSlider-Zgasc58K.cjs} +1 -1
  60. package/components/{CasinoSlider-BWEc4YT5.js → CasinoSlider-ylo7nRmY.js} +317 -320
  61. package/components/CasinoSort-CVwRicsk.js +427 -0
  62. package/components/CasinoSort-D3rxrF3Z.cjs +1 -0
  63. package/components/CasinoSort-D9KTb90Q.js +428 -0
  64. package/components/CasinoWinners-Br_rOUdI.cjs +1 -0
  65. package/components/{CasinoWinners-6mr0X-kZ.js → CasinoWinners-CSDCICsh.js} +355 -352
  66. package/components/{CasinoWinners-CADOvOsd.js → CasinoWinners-CeLmSRE4.js} +338 -335
  67. package/components/{GeneralAnimationLoading-CX9baArf.js → GeneralAnimationLoading-BRBLoSEB.js} +8 -8
  68. package/components/{GeneralAnimationLoading-BG_QynCK.cjs → GeneralAnimationLoading-Bu4_iets.cjs} +1 -1
  69. package/components/{GeneralAnimationLoading-DVLCsjn0.js → GeneralAnimationLoading-DoN4gYz0.js} +8 -8
  70. package/es2015/casino-lobby.cjs +1 -1
  71. package/es2015/casino-lobby.js +1 -1
  72. package/esnext/casino-lobby.js +1 -1
  73. package/package.json +1 -1
  74. package/stencil/{casino-play-random-game-NI77_BKB.js → casino-play-random-game-B5g4-G4Z.js} +3 -3
  75. package/stencil/{casino-play-random-game-DEBmcc-I.cjs → casino-play-random-game-CQe5iDJ8.cjs} +2 -2
  76. package/stencil/{casino-play-random-game-BxdfOAZj.js → casino-play-random-game-Cphp76Jq.js} +3 -3
  77. package/stencil/index-eac6b960-BaE9i06M.cjs +1 -0
  78. package/stencil/index-eac6b960-DXIu1GM6.js +579 -0
  79. package/stencil/index-eac6b960-Dvyvd5zP.js +563 -0
  80. package/components/CasinoCalendar-BlfnJwZ-.cjs +0 -9
  81. package/components/CasinoCategoriesSlider-DVgkuNtk.cjs +0 -1
  82. package/components/CasinoCollectionsProviders-CSISd5u6.cjs +0 -1
  83. package/components/CasinoFavoritesSection-Dc3krq_m.cjs +0 -1
  84. package/components/CasinoGamesCategorySection-LHUR2_EB.cjs +0 -1
  85. package/components/CasinoJackpotBanner-D3s92J-3.js +0 -614
  86. package/components/CasinoJackpotBanner-q02RPv4N.js +0 -618
  87. package/components/CasinoJackpotBanner-uWVFzOiI.cjs +0 -1
  88. package/components/CasinoLastPlayedSection-BVbeW3YI.cjs +0 -1
  89. package/components/CasinoLobby-bvh2k3lg.cjs +0 -1
  90. package/components/CasinoModal-C1oW3YF4.js +0 -372
  91. package/components/CasinoModal-DRtZi6gR.cjs +0 -1
  92. package/components/CasinoModal-IbVlgg7Z.js +0 -372
  93. package/components/CasinoPage-CoSWrE10.cjs +0 -1
  94. package/components/CasinoSearch-Cnu1-6cZ.cjs +0 -1
  95. package/components/CasinoSort-CS53Uvnz.cjs +0 -1
  96. package/components/CasinoSort-DFdgT3Dt.js +0 -432
  97. package/components/CasinoSort-DFljh5Sg.js +0 -431
  98. package/components/CasinoWinners-DU3xFq2b.cjs +0 -1
  99. package/stencil/index-8b2c4ca7-BNDGCsVn.js +0 -629
  100. package/stencil/index-8b2c4ca7-CtUqBgXG.js +0 -645
  101. package/stencil/index-8b2c4ca7-DAQdcMA3.cjs +0 -1
@@ -1,12 +1,12 @@
1
- import { a as te, $ as ae, S as se, i as ie, s as ne, f as l, b as le, n as H, d as A, h as M, p as K, j as k, r as q, k as re, C as oe, m as ce, q as ue, L as i, K as ge, I as me, J as de } from "./CasinoCalendar-D3cTwZsW.js";
2
- import "./CasinoFavoritesSection-WWaIxjOj.js";
3
- function I(s, e) {
4
- te(s, e);
1
+ import { a as ee, $ as te, S as ae, i as se, f as l, c as ie, s as ne, b as le, e as P, v as A, d as M, w as V, D as B, j as D, k as re, o as oe, K as ue, n as ce, N as ge, O as me, P as i, u as de, B as fe, F as he, M as ye } from "./CasinoCalendar-CRnGs6mI.js";
2
+ import "./CasinoFavoritesSection-D4v8HNn9.js";
3
+ function H(s, e) {
4
+ ee(s, e);
5
5
  }
6
- function fe(s) {
7
- ae.set(s);
6
+ function be(s) {
7
+ te.set(s);
8
8
  }
9
- const J = {
9
+ const K = {
10
10
  en: {
11
11
  noRecentGames: "You haven't played yet but here you will find in the future a list of your games."
12
12
  },
@@ -32,14 +32,14 @@ const J = {
32
32
  noRecentGames: "You haven't played yet but here you will find in the future a list of your games."
33
33
  }
34
34
  };
35
- function he(s) {
35
+ function ve(s) {
36
36
  le(s, "svelte-w4ziup", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
37
37
  }
38
- function ye(s) {
38
+ function we(s) {
39
39
  let e;
40
40
  return {
41
41
  c() {
42
- e = k("casino-games-category-section"), i(
42
+ e = P("casino-games-category-section"), i(
43
43
  e,
44
44
  "session",
45
45
  /*session*/
@@ -80,6 +80,11 @@ function ye(s) {
80
80
  /*fetchviaevent*/
81
81
  s[16]
82
82
  ), i(e, "categoryid", "LASTPLAYED"), i(e, "categoryindex", "1"), i(e, "categorygames", "9"), i(e, "class", "CategoryContainer"), i(
83
+ e,
84
+ "mbsource",
85
+ /*mbsource*/
86
+ s[17]
87
+ ), i(
83
88
  e,
84
89
  "showgamename",
85
90
  /*showgamename*/
@@ -126,278 +131,275 @@ function ye(s) {
126
131
  s[15]
127
132
  );
128
133
  },
129
- m(a, n) {
130
- M(a, e, n);
134
+ m(t, n) {
135
+ M(t, e, n);
131
136
  },
132
- p(a, n) {
137
+ p(t, n) {
133
138
  n[0] & /*session*/
134
139
  16 && i(
135
140
  e,
136
141
  "session",
137
142
  /*session*/
138
- a[4]
143
+ t[4]
139
144
  ), n[0] & /*userid*/
140
145
  32 && i(
141
146
  e,
142
147
  "userid",
143
148
  /*userid*/
144
- a[5]
149
+ t[5]
145
150
  ), n[0] & /*endpoint*/
146
151
  1 && i(
147
152
  e,
148
153
  "endpoint",
149
154
  /*endpoint*/
150
- a[0]
155
+ t[0]
151
156
  ), n[0] & /*datasource*/
152
157
  2 && i(
153
158
  e,
154
159
  "datasource",
155
160
  /*datasource*/
156
- a[1]
161
+ t[1]
157
162
  ), n[0] & /*lang*/
158
163
  8 && i(
159
164
  e,
160
165
  "lang",
161
166
  /*lang*/
162
- a[3]
167
+ t[3]
163
168
  ), n[0] & /*currency*/
164
169
  4 && i(
165
170
  e,
166
171
  "currency",
167
172
  /*currency*/
168
- a[2]
173
+ t[2]
169
174
  ), n[0] & /*favorites*/
170
175
  16384 && i(
171
176
  e,
172
177
  "favorites",
173
178
  /*favorites*/
174
- a[14]
179
+ t[14]
175
180
  ), n[0] & /*fetchviaevent*/
176
181
  65536 && i(
177
182
  e,
178
183
  "fetchviaevent",
179
184
  /*fetchviaevent*/
180
- a[16]
185
+ t[16]
186
+ ), n[0] & /*mbsource*/
187
+ 131072 && i(
188
+ e,
189
+ "mbsource",
190
+ /*mbsource*/
191
+ t[17]
181
192
  ), n[0] & /*showgamename*/
182
193
  4096 && i(
183
194
  e,
184
195
  "showgamename",
185
196
  /*showgamename*/
186
- a[12]
197
+ t[12]
187
198
  ), n[0] & /*clientstyling*/
188
199
  64 && i(
189
200
  e,
190
201
  "clientstyling",
191
202
  /*clientstyling*/
192
- a[6]
203
+ t[6]
193
204
  ), n[0] & /*clientstylingurl*/
194
205
  128 && i(
195
206
  e,
196
207
  "clientstylingurl",
197
208
  /*clientstylingurl*/
198
- a[7]
209
+ t[7]
199
210
  ), n[0] & /*livecasino*/
200
211
  256 && i(
201
212
  e,
202
213
  "livecasino",
203
214
  /*livecasino*/
204
- a[8]
215
+ t[8]
205
216
  ), n[0] & /*visiblegames*/
206
217
  8192 && i(
207
218
  e,
208
219
  "visiblegames",
209
220
  /*visiblegames*/
210
- a[13]
221
+ t[13]
211
222
  ), n[0] & /*gamepagemodalurl*/
212
223
  2048 && i(
213
224
  e,
214
225
  "gamepagemodalurl",
215
226
  /*gamepagemodalurl*/
216
- a[11]
227
+ t[11]
217
228
  ), n[0] & /*integratedgameframedesktop*/
218
229
  1024 && i(
219
230
  e,
220
231
  "integratedgameframedesktop",
221
232
  /*integratedgameframedesktop*/
222
- a[10]
233
+ t[10]
223
234
  ), n[0] & /*integratedgameframemobile*/
224
235
  512 && i(
225
236
  e,
226
237
  "integratedgameframemobile",
227
238
  /*integratedgameframemobile*/
228
- a[9]
239
+ t[9]
229
240
  ), n[0] & /*casinomygames*/
230
241
  32768 && i(
231
242
  e,
232
243
  "casinomygames",
233
244
  /*casinomygames*/
234
- a[15]
245
+ t[15]
235
246
  );
236
247
  },
237
- d(a) {
238
- a && A(e);
248
+ d(t) {
249
+ t && D(e);
239
250
  }
240
251
  };
241
252
  }
242
- function be(s) {
243
- let e, a = (
253
+ function _e(s) {
254
+ let e, t = (
244
255
  /*$_*/
245
- s[19]("noRecentGames") + ""
256
+ s[20]("noRecentGames") + ""
246
257
  ), n;
247
258
  return {
248
259
  c() {
249
- e = k("p"), n = ue(a), q(e, "class", "SearchLoading");
260
+ e = P("p"), n = de(t), A(e, "class", "SearchLoading");
250
261
  },
251
262
  m(o, r) {
252
- M(o, e, r), K(e, n);
263
+ M(o, e, r), V(e, n);
253
264
  },
254
265
  p(o, r) {
255
266
  r[0] & /*$_*/
256
- 524288 && a !== (a = /*$_*/
257
- o[19]("noRecentGames") + "") && ce(n, a);
267
+ 1048576 && t !== (t = /*$_*/
268
+ o[20]("noRecentGames") + "") && fe(n, t);
258
269
  },
259
270
  d(o) {
260
- o && A(e);
271
+ o && D(e);
261
272
  }
262
273
  };
263
274
  }
264
- function ve(s) {
265
- let e, a;
266
- function n(m, d) {
275
+ function ke(s) {
276
+ let e, t;
277
+ function n(g, d) {
267
278
  return (
268
279
  /*lastPlayedEmpty*/
269
- m[18] ? be : ye
280
+ g[19] ? _e : we
270
281
  );
271
282
  }
272
283
  let o = n(s), r = o(s);
273
284
  return {
274
285
  c() {
275
- e = k("div"), a = k("div"), r.c(), q(a, "class", "CasinoLastPlayedSection"), q(e, "class", "CasinoGamesCategorySectionContainer");
286
+ e = P("div"), t = P("div"), r.c(), A(t, "class", "CasinoLastPlayedSection"), A(e, "class", "CasinoGamesCategorySectionContainer");
276
287
  },
277
- m(m, d) {
278
- M(m, e, d), K(e, a), r.m(a, null), s[25](e);
288
+ m(g, d) {
289
+ M(g, e, d), V(e, t), r.m(t, null), s[26](e);
279
290
  },
280
- p(m, d) {
281
- o === (o = n(m)) && r ? r.p(m, d) : (r.d(1), r = o(m), r && (r.c(), r.m(a, null)));
291
+ p(g, d) {
292
+ o === (o = n(g)) && r ? r.p(g, d) : (r.d(1), r = o(g), r && (r.c(), r.m(t, null)));
282
293
  },
283
- i: H,
284
- o: H,
285
- d(m) {
286
- m && A(e), r.d(), s[25](null);
294
+ i: B,
295
+ o: B,
296
+ d(g) {
297
+ g && D(e), r.d(), s[26](null);
287
298
  }
288
299
  };
289
300
  }
290
- function we(s, e, a) {
301
+ function Pe(s, e, t) {
291
302
  let n;
292
- re(s, de, (t) => a(19, n = t));
293
- let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: E = "" } = e, { userid: y = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: w = "" } = e, { livecasino: _ = "false" } = e, { integratedgameframemobile: T = "false" } = e, { integratedgameframedesktop: D = "false" } = e, { gamepagemodalurl: F = "false" } = e, { showgamename: z = "" } = e, { visiblegames: C = "" } = e, { favorites: N = "" } = e, { lastplayedperiod: P = "Last30Days" } = e, { lastplayedorder: j = "" } = e, { lastplayedlimit: S = "" } = e, { casinomygames: R = "false" } = e, { lastplayedunique: G = "true" } = e, { fetchviaevent: O = "true" } = e, V = window.navigator.userAgent, U = !1, L = [], p, h;
294
- const Z = () => {
295
- fetch(w).then((c) => c.json()).then((c) => {
296
- Object.keys(c).forEach((u) => {
297
- I(u, c[u]);
303
+ re(s, he, (a) => t(20, n = a));
304
+ let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: d = "" } = e, { session: F = "" } = e, { userid: y = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: w = "" } = e, { livecasino: _ = "false" } = e, { integratedgameframemobile: N = "false" } = e, { integratedgameframedesktop: z = "false" } = e, { gamepagemodalurl: E = "false" } = e, { showgamename: O = "" } = e, { visiblegames: L = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: S = "Last30Days" } = e, { lastplayedorder: C = "" } = e, { lastplayedlimit: j = "" } = e, { casinomygames: G = "false" } = e, { lastplayedunique: R = "true" } = e, { fetchviaevent: U = "true" } = e, { mbsource: q } = e, Z = window.navigator.userAgent, Y = !1, k = [], I, f;
305
+ const Q = () => {
306
+ fetch(w).then((m) => m.json()).then((m) => {
307
+ Object.keys(m).forEach((u) => {
308
+ H(u, m[u]);
298
309
  });
299
- }).catch((c) => {
300
- console.log(c);
310
+ }).catch((m) => {
311
+ console.log(m);
301
312
  });
302
313
  };
303
- Object.keys(J).forEach((t) => {
304
- I(t, J[t]);
314
+ Object.keys(K).forEach((a) => {
315
+ H(a, K[a]);
305
316
  });
306
- const B = () => new Promise((t, c) => {
317
+ const W = () => new Promise((a, m) => {
307
318
  let u = new URL(`${o}/v1/player/${y}/games/last-played`);
308
- u.searchParams.append("unique", G), u.searchParams.append("limit", S), u.searchParams.append("order", j), u.searchParams.append("period", P), ge(V) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), p = _ ? u : u.href, fetch(p).then((g) => g.json()).then((g) => {
309
- g.items = g.items.filter((ee) => {
310
- let Y = !0;
311
- return ee.gameCode == "OddsMatrix2" && (g.count--, Y = !1), Y;
312
- }), t(g), window.postMessage(
319
+ u.searchParams.append("unique", R), u.searchParams.append("limit", j), u.searchParams.append("order", C), u.searchParams.append("period", S), ye(Z) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), I = _ ? u : u.href, fetch(I).then((c) => c.json()).then((c) => {
320
+ c.items = c.items.filter(($) => {
321
+ let J = !0;
322
+ return $.gameCode == "OddsMatrix2" && (c.count--, J = !1), J;
323
+ }), a(c), window.postMessage(
313
324
  {
314
325
  type: "AddNewCategory",
315
326
  category: { name: "Last Played", id: "LASTPLAYED" }
316
327
  },
317
328
  window.location.href
318
- ), window.postMessage({ type: "LastPlayedGames", data: g }, window.location.href);
319
- }).catch((g) => {
320
- console.error(g), c(g);
329
+ ), window.postMessage({ type: "LastPlayedGames", data: c }, window.location.href);
330
+ }).catch((c) => {
331
+ console.error(c), m(c);
321
332
  });
322
- }), Q = () => {
323
- B().then((t) => {
324
- if (t.count > 0) {
325
- let c = [];
326
- t.items.forEach((u) => {
327
- let f = new URL(`${o}/v1/casino/games/${u.gameId}`);
328
- f.searchParams.append("datasource", r), _ ? c.push(fetch(f.href).then((g) => g.json())) : c.push(fetch(f.href).then((g) => g.json()));
329
- }), Promise.all(c).then((u) => {
330
- L = u.filter((f) => !("error" in f)).map((f) => f[0]), R === "true" && (L = L.slice(0, JSON.parse(C))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: L }, window.location.href);
333
+ }), X = () => {
334
+ W().then((a) => {
335
+ if (a.count > 0) {
336
+ let m = [];
337
+ a.items.forEach((u) => {
338
+ let h = new URL(`${o}/v1/casino/games/${u.gameId}`);
339
+ h.searchParams.append("datasource", r), _ ? m.push(fetch(h.href).then((c) => c.json())) : m.push(fetch(h.href).then((c) => c.json()));
340
+ }), Promise.all(m).then((u) => {
341
+ k = u.filter((h) => !("error" in h)).map((h) => h[0]), G === "true" && (k = k.slice(0, JSON.parse(L))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: k }, window.location.href);
331
342
  });
332
343
  } else
333
- a(18, U = !0);
334
- });
335
- }, W = () => {
336
- fe(d);
337
- }, X = () => {
338
- let t = document.createElement("style");
339
- t.innerHTML = b, h.appendChild(t);
340
- }, x = () => {
341
- let t = document.createElement("style");
342
- fetch(new URL(v)).then((c) => c.text()).then((c) => {
343
- t.innerHTML = c, setTimeout(
344
- () => {
345
- h.appendChild(t);
346
- },
347
- 1
348
- );
344
+ t(19, Y = !0);
349
345
  });
346
+ }, p = () => {
347
+ be(d);
350
348
  };
351
- function $(t) {
352
- oe[t ? "unshift" : "push"](() => {
353
- h = t, a(17, h);
349
+ oe(() => () => {
350
+ });
351
+ function x(a) {
352
+ ce[a ? "unshift" : "push"](() => {
353
+ f = a, t(18, f);
354
354
  });
355
355
  }
356
- return s.$$set = (t) => {
357
- "endpoint" in t && a(0, o = t.endpoint), "datasource" in t && a(1, r = t.datasource), "currency" in t && a(2, m = t.currency), "lang" in t && a(3, d = t.lang), "session" in t && a(4, E = t.session), "userid" in t && a(5, y = t.userid), "clientstyling" in t && a(6, b = t.clientstyling), "clientstylingurl" in t && a(7, v = t.clientstylingurl), "translationurl" in t && a(20, w = t.translationurl), "livecasino" in t && a(8, _ = t.livecasino), "integratedgameframemobile" in t && a(9, T = t.integratedgameframemobile), "integratedgameframedesktop" in t && a(10, D = t.integratedgameframedesktop), "gamepagemodalurl" in t && a(11, F = t.gamepagemodalurl), "showgamename" in t && a(12, z = t.showgamename), "visiblegames" in t && a(13, C = t.visiblegames), "favorites" in t && a(14, N = t.favorites), "lastplayedperiod" in t && a(21, P = t.lastplayedperiod), "lastplayedorder" in t && a(22, j = t.lastplayedorder), "lastplayedlimit" in t && a(23, S = t.lastplayedlimit), "casinomygames" in t && a(15, R = t.casinomygames), "lastplayedunique" in t && a(24, G = t.lastplayedunique), "fetchviaevent" in t && a(16, O = t.fetchviaevent);
356
+ return s.$$set = (a) => {
357
+ "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, g = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, F = a.session), "userid" in a && t(5, y = a.userid), "clientstyling" in a && t(6, b = a.clientstyling), "clientstylingurl" in a && t(7, v = a.clientstylingurl), "translationurl" in a && t(21, w = a.translationurl), "livecasino" in a && t(8, _ = a.livecasino), "integratedgameframemobile" in a && t(9, N = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(10, z = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(11, E = a.gamepagemodalurl), "showgamename" in a && t(12, O = a.showgamename), "visiblegames" in a && t(13, L = a.visiblegames), "favorites" in a && t(14, T = a.favorites), "lastplayedperiod" in a && t(22, S = a.lastplayedperiod), "lastplayedorder" in a && t(23, C = a.lastplayedorder), "lastplayedlimit" in a && t(24, j = a.lastplayedlimit), "casinomygames" in a && t(15, G = a.casinomygames), "lastplayedunique" in a && t(25, R = a.lastplayedunique), "fetchviaevent" in a && t(16, U = a.fetchviaevent), "mbsource" in a && t(17, q = a.mbsource);
358
358
  }, s.$$.update = () => {
359
359
  s.$$.dirty[0] & /*endpoint, userid, lang*/
360
- 41 && o && y && d && Q(), s.$$.dirty[0] & /*translationurl*/
361
- 1048576 && w && Z(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
362
- 131136 && b && h && X(), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
363
- 131200 && v && h && x(), s.$$.dirty[0] & /*lang*/
364
- 8 && d && W();
360
+ 41 && o && y && d && X(), s.$$.dirty[0] & /*translationurl*/
361
+ 2097152 && w && Q(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
362
+ 262208 && b && f && ge(f, b), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
363
+ 262272 && v && f && ue(f, v), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
364
+ 393216 && f && me(f, `${q}.Style`), s.$$.dirty[0] & /*lang*/
365
+ 8 && d && p();
365
366
  }, [
366
367
  o,
367
368
  r,
368
- m,
369
+ g,
369
370
  d,
370
- E,
371
+ F,
371
372
  y,
372
373
  b,
373
374
  v,
374
375
  _,
375
- T,
376
- D,
377
- F,
378
- z,
379
- C,
380
376
  N,
381
- R,
377
+ z,
378
+ E,
382
379
  O,
383
- h,
380
+ L,
381
+ T,
382
+ G,
384
383
  U,
384
+ q,
385
+ f,
386
+ Y,
385
387
  n,
386
388
  w,
387
- P,
388
- j,
389
389
  S,
390
- G,
391
- $
390
+ C,
391
+ j,
392
+ R,
393
+ x
392
394
  ];
393
395
  }
394
- class _e extends se {
396
+ class Le extends ae {
395
397
  constructor(e) {
396
- super(), ie(
398
+ super(), se(
397
399
  this,
398
400
  e,
399
- we,
400
- ve,
401
+ Pe,
402
+ ke,
401
403
  ne,
402
404
  {
403
405
  endpoint: 0,
@@ -408,7 +410,7 @@ class _e extends se {
408
410
  userid: 5,
409
411
  clientstyling: 6,
410
412
  clientstylingurl: 7,
411
- translationurl: 20,
413
+ translationurl: 21,
412
414
  livecasino: 8,
413
415
  integratedgameframemobile: 9,
414
416
  integratedgameframedesktop: 10,
@@ -416,14 +418,15 @@ class _e extends se {
416
418
  showgamename: 12,
417
419
  visiblegames: 13,
418
420
  favorites: 14,
419
- lastplayedperiod: 21,
420
- lastplayedorder: 22,
421
- lastplayedlimit: 23,
421
+ lastplayedperiod: 22,
422
+ lastplayedorder: 23,
423
+ lastplayedlimit: 24,
422
424
  casinomygames: 15,
423
- lastplayedunique: 24,
424
- fetchviaevent: 16
425
+ lastplayedunique: 25,
426
+ fetchviaevent: 16,
427
+ mbsource: 17
425
428
  },
426
- he,
429
+ ve,
427
430
  [-1, -1]
428
431
  );
429
432
  }
@@ -476,7 +479,7 @@ class _e extends se {
476
479
  this.$$set({ clientstylingurl: e }), l();
477
480
  }
478
481
  get translationurl() {
479
- return this.$$.ctx[20];
482
+ return this.$$.ctx[21];
480
483
  }
481
484
  set translationurl(e) {
482
485
  this.$$set({ translationurl: e }), l();
@@ -524,19 +527,19 @@ class _e extends se {
524
527
  this.$$set({ favorites: e }), l();
525
528
  }
526
529
  get lastplayedperiod() {
527
- return this.$$.ctx[21];
530
+ return this.$$.ctx[22];
528
531
  }
529
532
  set lastplayedperiod(e) {
530
533
  this.$$set({ lastplayedperiod: e }), l();
531
534
  }
532
535
  get lastplayedorder() {
533
- return this.$$.ctx[22];
536
+ return this.$$.ctx[23];
534
537
  }
535
538
  set lastplayedorder(e) {
536
539
  this.$$set({ lastplayedorder: e }), l();
537
540
  }
538
541
  get lastplayedlimit() {
539
- return this.$$.ctx[23];
542
+ return this.$$.ctx[24];
540
543
  }
541
544
  set lastplayedlimit(e) {
542
545
  this.$$set({ lastplayedlimit: e }), l();
@@ -548,7 +551,7 @@ class _e extends se {
548
551
  this.$$set({ casinomygames: e }), l();
549
552
  }
550
553
  get lastplayedunique() {
551
- return this.$$.ctx[24];
554
+ return this.$$.ctx[25];
552
555
  }
553
556
  set lastplayedunique(e) {
554
557
  this.$$set({ lastplayedunique: e }), l();
@@ -559,8 +562,14 @@ class _e extends se {
559
562
  set fetchviaevent(e) {
560
563
  this.$$set({ fetchviaevent: e }), l();
561
564
  }
565
+ get mbsource() {
566
+ return this.$$.ctx[17];
567
+ }
568
+ set mbsource(e) {
569
+ this.$$set({ mbsource: e }), l();
570
+ }
562
571
  }
563
- me(_e, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {} }, [], [], !0);
572
+ ie(Le, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
564
573
  export {
565
- _e as default
574
+ Le as default
566
575
  };