@everymatrix/casino-lobby 1.47.3 → 1.48.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.
@@ -1,8 +1,8 @@
1
- import { I as le, S as re, i as ce, f as c, c as me, s as ge, b as ue, e as N, d as j, C as S, j as F, J as ye, K as fe, L as he, m as de, M as o, u as E, v as be, N as Ne, O as we } from "./CasinoCalendar-BuNYmxT2.js";
2
- function Q(i, e) {
3
- le(i, e);
1
+ import { I as re, S as ce, i as me, f as c, c as ge, s as ue, b as ye, e as w, d as j, C as S, j as F, J as fe, o as de, K as he, L as be, m as we, M as o, u as E, v as Ne, N as Le, O as Ce } from "./CasinoCalendar-BuNYmxT2.js";
2
+ function W(i, e) {
3
+ re(i, e);
4
4
  }
5
- const V = {
5
+ const X = {
6
6
  en: {
7
7
  lobbyName: "Lobby",
8
8
  myGamesName: "My games"
@@ -84,18 +84,18 @@ if (typeof window != "undefined") {
84
84
  }
85
85
  };
86
86
  };
87
- customElements.define = i(customElements.define), import("./CasinoSlider-B1E3wbGI.js").then(({ default: e }) => {
87
+ customElements.define = i(customElements.define), import("./CasinoSlider-kGTpzOy8.js").then(({ default: e }) => {
88
88
  !customElements.get("casino-slider") && customElements.define("casino-slider", e.element);
89
89
  });
90
90
  }
91
- function Le(i) {
92
- ue(i, "svelte-1ydghqy", ".CasinoCategoriesLoading.svelte-1ydghqy{height:52px}p.svelte-1ydghqy{color:var( --emfe-w-categories-typography, var(--emfe-w-color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-1ydghqy{background:var( --emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C))}");
91
+ function Me(i) {
92
+ ye(i, "svelte-1ydghqy", ".CasinoCategoriesLoading.svelte-1ydghqy{height:52px}p.svelte-1ydghqy{color:var( --emfe-w-categories-typography, var(--emfe-w-color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-1ydghqy{background:var( --emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C))}");
93
93
  }
94
- function Ce(i) {
94
+ function _e(i) {
95
95
  let e, t, l, r;
96
96
  return {
97
97
  c() {
98
- e = N("div"), t = N("casino-slider"), o(
98
+ e = w("div"), t = w("casino-slider"), o(
99
99
  t,
100
100
  "lang",
101
101
  /*lang*/
@@ -110,7 +110,7 @@ function Ce(i) {
110
110
  "endpoint",
111
111
  /*endpoint*/
112
112
  i[1]
113
- ), o(t, "identity", W), o(
113
+ ), o(t, "identity", A), o(
114
114
  t,
115
115
  "favoritesnumber",
116
116
  /*numberOfFavoredGames*/
@@ -163,7 +163,7 @@ function Ce(i) {
163
163
  ), E(e, "class", "CasinoCategoriesContainer svelte-1ydghqy"), E(e, "part", "CasinoCategoriesContainer");
164
164
  },
165
165
  m(a, n) {
166
- j(a, e, n), be(e, t), l || (r = Ne(
166
+ j(a, e, n), Ne(e, t), l || (r = Le(
167
167
  /*sendSliderData*/
168
168
  i[16].call(null, t)
169
169
  ), l = !0);
@@ -254,11 +254,11 @@ function Ce(i) {
254
254
  }
255
255
  };
256
256
  }
257
- function Me(i) {
257
+ function ve(i) {
258
258
  let e;
259
259
  return {
260
260
  c() {
261
- e = N("p"), e.textContent = "500 Error - Internal Server Error.", E(e, "class", "SearchLoading svelte-1ydghqy");
261
+ e = w("p"), e.textContent = "500 Error - Internal Server Error.", E(e, "class", "SearchLoading svelte-1ydghqy");
262
262
  },
263
263
  m(t, l) {
264
264
  j(t, e, l);
@@ -269,11 +269,11 @@ function Me(i) {
269
269
  }
270
270
  };
271
271
  }
272
- function _e(i) {
272
+ function Ge(i) {
273
273
  let e;
274
274
  return {
275
275
  c() {
276
- e = N("div"), E(e, "class", "CasinoCategoriesLoading svelte-1ydghqy");
276
+ e = w("div"), E(e, "class", "CasinoCategoriesLoading svelte-1ydghqy");
277
277
  },
278
278
  m(t, l) {
279
279
  j(t, e, l);
@@ -284,21 +284,21 @@ function _e(i) {
284
284
  }
285
285
  };
286
286
  }
287
- function ve(i) {
287
+ function ke(i) {
288
288
  let e;
289
289
  function t(a, n) {
290
290
  return (
291
291
  /*isLoading*/
292
- a[12] || Ge || ke ? _e : (
292
+ a[12] || Se || Ee ? Ge : (
293
293
  /*hasErrors*/
294
- a[14] ? Me : Ce
294
+ a[14] ? ve : _e
295
295
  )
296
296
  );
297
297
  }
298
298
  let l = t(i), r = l(i);
299
299
  return {
300
300
  c() {
301
- e = N("div"), r.c();
301
+ e = w("div"), r.c();
302
302
  },
303
303
  m(a, n) {
304
304
  j(a, e, n), r.m(e, null), i[26](e);
@@ -313,47 +313,47 @@ function ve(i) {
313
313
  }
314
314
  };
315
315
  }
316
- let W = "CasinoSliderData", Ge = !1, ke = !1;
317
- function Se(i, e, t) {
316
+ let A = "CasinoSliderData", Se = !1, Ee = !1;
317
+ function je(i, e, t) {
318
318
  let l;
319
- ye(i, we, (s) => t(32, l = s));
320
- let { endpoint: r = "" } = e, { datasource: a = "" } = e, { lang: n = "" } = e, { userid: q = "" } = e, { session: w = "" } = e, { mostplayed: L = "" } = e, { lastplayed: C = "false" } = e, { favorites: M = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: v = "" } = e, { activecategory: u = "" } = e, { actionevent: A = "" } = e, { sessioncheck: D = "" } = e, { location: O = "secondaryMenu" } = e, { showsubgroups: R = "false" } = e, { filteredcategories: G = "" } = e, { translationurl: k = "" } = e, { categoriesicon: U = "" } = e, { lobbyiconimage: I = "" } = e, { mygamesiconimage: B = "" } = e, H, Y, y = !0, d, b = [], f = !1, X = window.navigator.userAgent, h, x, z = !1, T = !1;
321
- const Z = () => {
319
+ fe(i, Ce, (s) => t(32, l = s));
320
+ let { endpoint: r = "" } = e, { datasource: a = "" } = e, { lang: n = "" } = e, { userid: D = "" } = e, { session: N = "" } = e, { mostplayed: L = "" } = e, { lastplayed: C = "false" } = e, { favorites: M = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: v = "" } = e, { activecategory: u = "" } = e, { actionevent: O = "" } = e, { sessioncheck: R = "" } = e, { location: U = "secondaryMenu" } = e, { showsubgroups: I = "false" } = e, { filteredcategories: G = "" } = e, { translationurl: k = "" } = e, { categoriesicon: H = "" } = e, { lobbyiconimage: B = "" } = e, { mygamesiconimage: Y = "" } = e, x, z, y = !0, h, b = [], f = !1, Z = window.navigator.userAgent, d, J, K = !1, T = !1;
321
+ const p = () => {
322
322
  fetch(k).then((m) => m.json()).then((m) => {
323
323
  Object.keys(m).forEach((g) => {
324
- Q(g, m[g]);
324
+ W(g, m[g]);
325
325
  });
326
326
  }).catch((m) => {
327
327
  console.log(m);
328
328
  });
329
329
  };
330
- Object.keys(V).forEach((s) => {
331
- Q(s, V[s]);
330
+ Object.keys(X).forEach((s) => {
331
+ W(s, X[s]);
332
332
  });
333
- const p = () => {
334
- z == !1 && (M == "true" || L == "true" || C == "true") && b.splice(1, 0, {
333
+ const $ = () => {
334
+ K == !1 && (M == "true" || L == "true" || C == "true") && b.splice(1, 0, {
335
335
  // @ts-ignore
336
336
  id: "MYGAMES",
337
- name: H,
337
+ name: x,
338
338
  href: "",
339
339
  games: []
340
- }), fe(), z = !0, t(25, T = !0), J();
341
- }, $ = () => (r || (d = "Endpoint is missing! Please provide a valid endpointURL.", t(14, f = !0), t(12, y = !1), console.error(d)), a || (d = "Datasource is missing! Please provide a valid datasource.", t(14, f = !0), t(12, y = !1), console.error(d)), (!n || n.length < 2) && (d = "Language is missing! Please provide a valid language (alpha2code)", t(14, f = !0), t(12, y = !1), console.error(d)), f), ee = () => {
342
- if (H = l("myGamesName"), Y = l("lobbyName"), !$()) {
340
+ }), he(), K = !0, t(25, T = !0), P();
341
+ }, ee = () => (r || (h = "Endpoint is missing! Please provide a valid endpointURL.", t(14, f = !0), t(12, y = !1), console.error(h)), a || (h = "Datasource is missing! Please provide a valid datasource.", t(14, f = !0), t(12, y = !1), console.error(h)), (!n || n.length < 2) && (h = "Language is missing! Please provide a valid language (alpha2code)", t(14, f = !0), t(12, y = !1), console.error(h)), f), te = () => {
342
+ if (x = l("myGamesName"), z = l("lobbyName"), !ee()) {
343
343
  let s = new URL(`${r}/v1/casino/groups/${a}`);
344
- s.searchParams.append("datasource", a), s.searchParams.append("language", n), s.searchParams.append("platform", he(X)), fetch(s).then((m) => m.json()).then(
344
+ s.searchParams.append("datasource", a), s.searchParams.append("language", n), s.searchParams.append("platform", be(Z)), fetch(s).then((m) => m.json()).then(
345
345
  (m) => {
346
- let g = G.split(","), ne = m.items.filter((K) => {
347
- let P = !1;
348
- if (K.games.total > 0 && (P = !0, G))
349
- for (let oe of g)
350
- K.flags == oe && (P = !1);
351
- return P;
346
+ let g = G.split(","), oe = m.items.filter((V) => {
347
+ let q = !1;
348
+ if (V.games.total > 0 && (q = !0, G))
349
+ for (let le of g)
350
+ V.flags == le && (q = !1);
351
+ return q;
352
352
  });
353
- b = [], b = b.concat(ne), b.unshift({
353
+ b = [], b = b.concat(oe), b.unshift({
354
354
  // @ts-ignore
355
355
  id: "LOBBY",
356
- name: Y,
356
+ name: z,
357
357
  href: "",
358
358
  games: []
359
359
  }), t(12, y = !1), window.postMessage({ type: "CategoriesLoadedForSlider" }, window.location.href);
@@ -365,85 +365,90 @@ function Se(i, e, t) {
365
365
  t(14, f = !0), console.error("There was an error while fetching the categories", m);
366
366
  });
367
367
  }
368
- }, te = () => {
368
+ }, se = () => {
369
369
  let s = u.split("$");
370
370
  t(0, u = s.length > 2 ? u.split("$").slice(0, 2).join("$") : u);
371
- }, se = () => {
372
- let s = document.createElement("style");
373
- s.innerHTML = _, h.appendChild(s);
374
371
  }, ie = () => {
372
+ let s = document.createElement("style");
373
+ s.innerHTML = _, d.appendChild(s);
374
+ }, ae = () => {
375
375
  let s = document.createElement("style"), m = new URL(v);
376
376
  fetch(m.href).then((g) => g.text()).then((g) => {
377
377
  s.innerHTML = g, setTimeout(
378
378
  () => {
379
- h.appendChild(s);
379
+ d.appendChild(s);
380
380
  },
381
381
  1
382
382
  );
383
383
  });
384
- }, J = () => {
384
+ }, P = () => {
385
385
  window.postMessage(
386
386
  {
387
387
  type: "SliderData",
388
- identity: W,
388
+ identity: A,
389
389
  data: b
390
390
  },
391
391
  window.location.href
392
392
  );
393
+ }, Q = (s) => {
394
+ s.data && s.data.type == "SliderLoaded" && A == s.data.identity && P();
393
395
  };
394
- function ae(s) {
395
- de[s ? "unshift" : "push"](() => {
396
- h = s, t(13, h);
396
+ de(() => (window.addEventListener("message", Q, !1), () => {
397
+ window.removeEventListener("message", Q);
398
+ }));
399
+ function ne(s) {
400
+ we[s ? "unshift" : "push"](() => {
401
+ d = s, t(13, d);
397
402
  });
398
403
  }
399
404
  return i.$$set = (s) => {
400
- "endpoint" in s && t(1, r = s.endpoint), "datasource" in s && t(2, a = s.datasource), "lang" in s && t(3, n = s.lang), "userid" in s && t(17, q = s.userid), "session" in s && t(18, w = s.session), "mostplayed" in s && t(19, L = s.mostplayed), "lastplayed" in s && t(20, C = s.lastplayed), "favorites" in s && t(21, M = s.favorites), "clientstyling" in s && t(4, _ = s.clientstyling), "clientstylingurl" in s && t(5, v = s.clientstylingurl), "activecategory" in s && t(0, u = s.activecategory), "actionevent" in s && t(6, A = s.actionevent), "sessioncheck" in s && t(22, D = s.sessioncheck), "location" in s && t(7, O = s.location), "showsubgroups" in s && t(8, R = s.showsubgroups), "filteredcategories" in s && t(23, G = s.filteredcategories), "translationurl" in s && t(24, k = s.translationurl), "categoriesicon" in s && t(9, U = s.categoriesicon), "lobbyiconimage" in s && t(10, I = s.lobbyiconimage), "mygamesiconimage" in s && t(11, B = s.mygamesiconimage);
405
+ "endpoint" in s && t(1, r = s.endpoint), "datasource" in s && t(2, a = s.datasource), "lang" in s && t(3, n = s.lang), "userid" in s && t(17, D = s.userid), "session" in s && t(18, N = s.session), "mostplayed" in s && t(19, L = s.mostplayed), "lastplayed" in s && t(20, C = s.lastplayed), "favorites" in s && t(21, M = s.favorites), "clientstyling" in s && t(4, _ = s.clientstyling), "clientstylingurl" in s && t(5, v = s.clientstylingurl), "activecategory" in s && t(0, u = s.activecategory), "actionevent" in s && t(6, O = s.actionevent), "sessioncheck" in s && t(22, R = s.sessioncheck), "location" in s && t(7, U = s.location), "showsubgroups" in s && t(8, I = s.showsubgroups), "filteredcategories" in s && t(23, G = s.filteredcategories), "translationurl" in s && t(24, k = s.translationurl), "categoriesicon" in s && t(9, H = s.categoriesicon), "lobbyiconimage" in s && t(10, B = s.lobbyiconimage), "mygamesiconimage" in s && t(11, Y = s.mygamesiconimage);
401
406
  }, i.$$.update = () => {
402
407
  i.$$.dirty[0] & /*endpoint, datasource, lang*/
403
- 14 && r && a && n && ee(), i.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
404
- 3936258 && r && w && (L || C || M) && !y && p(), i.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
405
- 33820673 && !y && u && (!w || T) && te(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
406
- 8208 && _ && h && se(), i.$$.dirty[0] & /*translationurl*/
407
- 16777216 && k && Z(), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
408
- 8224 && v && h && ie();
409
- }, t(15, x = 0), [
408
+ 14 && r && a && n && te(), i.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
409
+ 3936258 && r && N && (L || C || M) && !y && $(), i.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
410
+ 33820673 && !y && u && (!N || T) && se(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
411
+ 8208 && _ && d && ie(), i.$$.dirty[0] & /*translationurl*/
412
+ 16777216 && k && p(), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
413
+ 8224 && v && d && ae();
414
+ }, t(15, J = 0), [
410
415
  u,
411
416
  r,
412
417
  a,
413
418
  n,
414
419
  _,
415
420
  v,
416
- A,
417
421
  O,
418
- R,
419
422
  U,
420
423
  I,
424
+ H,
421
425
  B,
426
+ Y,
422
427
  y,
423
- h,
428
+ d,
424
429
  f,
425
- x,
426
430
  J,
427
- q,
428
- w,
431
+ P,
432
+ D,
433
+ N,
429
434
  L,
430
435
  C,
431
436
  M,
432
- D,
437
+ R,
433
438
  G,
434
439
  k,
435
440
  T,
436
- ae
441
+ ne
437
442
  ];
438
443
  }
439
- class Ee extends re {
444
+ class Fe extends ce {
440
445
  constructor(e) {
441
- super(), ce(
446
+ super(), me(
442
447
  this,
443
448
  e,
444
- Se,
445
- ve,
446
- ge,
449
+ je,
450
+ ke,
451
+ ue,
447
452
  {
448
453
  endpoint: 1,
449
454
  datasource: 2,
@@ -466,7 +471,7 @@ class Ee extends re {
466
471
  lobbyiconimage: 10,
467
472
  mygamesiconimage: 11
468
473
  },
469
- Le,
474
+ Me,
470
475
  [-1, -1]
471
476
  );
472
477
  }
@@ -591,7 +596,7 @@ class Ee extends re {
591
596
  this.$$set({ mygamesiconimage: e }), c();
592
597
  }
593
598
  }
594
- me(Ee, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {} }, [], [], !0);
599
+ ge(Fe, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {} }, [], [], !0);
595
600
  export {
596
- Ee as default
601
+ Fe as default
597
602
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-B3jjGeXh.cjs");function z(n,e){t.addMessages(n,e)}const x={en:{lobbyName:"Lobby",myGamesName:"My games"},de:{lobbyName:"Lobby",myGamesName:"My games"},es:{lobbyName:"Sala",myGamesName:"Mis juegos"},"zh-hk":{lobbyName:"Lobby",myGamesName:"My games"},it:{lobbyName:"Lobby",myGamesName:"My games"},fr:{lobbyName:"Lobby",myGamesName:"My games"},tr:{lobbyName:"Lobi",myGamesName:"Oyunlarım"},ru:{lobbyName:"Lobby",myGamesName:"My games"},ro:{lobbyName:"Lobby",myGamesName:"My games"},hr:{lobbyName:"Moj casino",myGamesName:"Moje igre"},hu:{lobbyName:"Lobby",myGamesName:"My games"},pl:{lobbyName:"Lobby",myGamesName:"My games"},pt:{lobbyName:"Lobby",myGamesName:"My games"},sl:{lobbyName:"Lobby",myGamesName:"My games"},sr:{lobbyName:"Lobby",myGamesName:"My games"},"pt-br":{lobbyName:"Lobby",myGamesName:"Meus jogos"},"es-mx":{lobbyName:"Lobby",myGamesName:"Mis juegos"}};if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CasinoSlider-Cyun8L26.cjs")).then(({default:e})=>{!customElements.get("casino-slider")&&customElements.define("casino-slider",e.element)})}function ae(n){t.append_styles(n,"svelte-1ydghqy",".CasinoCategoriesLoading.svelte-1ydghqy{height:52px}p.svelte-1ydghqy{color:var( --emfe-w-categories-typography, var(--emfe-w-color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-1ydghqy{background:var( --emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C))}")}function ne(n){let e,s,l,r;return{c(){e=t.element("div"),s=t.element("casino-slider"),t.set_custom_element_data(s,"lang",n[3]),t.set_custom_element_data(s,"datasource",n[2]),t.set_custom_element_data(s,"endpoint",n[1]),t.set_custom_element_data(s,"identity",E),t.set_custom_element_data(s,"favoritesnumber",n[15]),t.set_custom_element_data(s,"showsubgroups",n[8]),t.set_custom_element_data(s,"clientstyling",n[4]),t.set_custom_element_data(s,"clientstylingurl",n[5]),t.set_custom_element_data(s,"activeindex",n[0]),t.set_custom_element_data(s,"actionevent",n[6]),t.set_custom_element_data(s,"location",n[7]),t.set_custom_element_data(s,"categoriesicon",n[9]),t.set_custom_element_data(s,"lobbyiconimage",n[10]),t.set_custom_element_data(s,"mygamesiconimage",n[11]),t.attr(e,"class","CasinoCategoriesContainer svelte-1ydghqy"),t.attr(e,"part","CasinoCategoriesContainer")},m(i,o){t.insert(i,e,o),t.append(e,s),l||(r=t.action_destroyer(n[16].call(null,s)),l=!0)},p(i,o){o[0]&8&&t.set_custom_element_data(s,"lang",i[3]),o[0]&4&&t.set_custom_element_data(s,"datasource",i[2]),o[0]&2&&t.set_custom_element_data(s,"endpoint",i[1]),o[0]&32768&&t.set_custom_element_data(s,"favoritesnumber",i[15]),o[0]&256&&t.set_custom_element_data(s,"showsubgroups",i[8]),o[0]&16&&t.set_custom_element_data(s,"clientstyling",i[4]),o[0]&32&&t.set_custom_element_data(s,"clientstylingurl",i[5]),o[0]&1&&t.set_custom_element_data(s,"activeindex",i[0]),o[0]&64&&t.set_custom_element_data(s,"actionevent",i[6]),o[0]&128&&t.set_custom_element_data(s,"location",i[7]),o[0]&512&&t.set_custom_element_data(s,"categoriesicon",i[9]),o[0]&1024&&t.set_custom_element_data(s,"lobbyiconimage",i[10]),o[0]&2048&&t.set_custom_element_data(s,"mygamesiconimage",i[11])},d(i){i&&t.detach(e),l=!1,r()}}}function ie(n){let e;return{c(){e=t.element("p"),e.textContent="500 Error - Internal Server Error.",t.attr(e,"class","SearchLoading svelte-1ydghqy")},m(s,l){t.insert(s,e,l)},p:t.noop,d(s){s&&t.detach(e)}}}function oe(n){let e;return{c(){e=t.element("div"),t.attr(e,"class","CasinoCategoriesLoading svelte-1ydghqy")},m(s,l){t.insert(s,e,l)},p:t.noop,d(s){s&&t.detach(e)}}}function le(n){let e;function s(i,o){return i[12]||re||ce?oe:i[14]?ie:ne}let l=s(n),r=l(n);return{c(){e=t.element("div"),r.c()},m(i,o){t.insert(i,e,o),r.m(e,null),n[26](e)},p(i,o){l===(l=s(i))&&r?r.p(i,o):(r.d(1),r=l(i),r&&(r.c(),r.m(e,null)))},i:t.noop,o:t.noop,d(i){i&&t.detach(e),r.d(),n[26](null)}}}let E="CasinoSliderData",re=!1,ce=!1;function me(n,e,s){let l;t.component_subscribe(n,t.$format,a=>s(32,l=a));let{endpoint:r=""}=e,{datasource:i=""}=e,{lang:o=""}=e,{userid:j=""}=e,{session:b=""}=e,{mostplayed:_=""}=e,{lastplayed:w="false"}=e,{favorites:N=""}=e,{clientstyling:L=""}=e,{clientstylingurl:C=""}=e,{activecategory:u=""}=e,{actionevent:P=""}=e,{sessioncheck:T=""}=e,{location:q="secondaryMenu"}=e,{showsubgroups:F="false"}=e,{filteredcategories:M=""}=e,{translationurl:v=""}=e,{categoriesicon:A=""}=e,{lobbyiconimage:D=""}=e,{mygamesiconimage:O=""}=e,R,U,g=!0,f,h=[],y=!1,K=window.navigator.userAgent,d,H,I=!1,G=!1;const Q=()=>{fetch(v).then(c=>c.json()).then(c=>{Object.keys(c).forEach(m=>{z(m,c[m])})}).catch(c=>{console.log(c)})};Object.keys(x).forEach(a=>{z(a,x[a])});const V=()=>{I==!1&&(N=="true"||_=="true"||w=="true")&&h.splice(1,0,{id:"MYGAMES",name:R,href:"",games:[]}),t.tick(),I=!0,s(25,G=!0),k()},W=()=>(r||(f="Endpoint is missing! Please provide a valid endpointURL.",s(14,y=!0),s(12,g=!1),console.error(f)),i||(f="Datasource is missing! Please provide a valid datasource.",s(14,y=!0),s(12,g=!1),console.error(f)),(!o||o.length<2)&&(f="Language is missing! Please provide a valid language (alpha2code)",s(14,y=!0),s(12,g=!1),console.error(f)),y),X=()=>{if(R=l("myGamesName"),U=l("lobbyName"),!W()){let a=new URL(`${r}/v1/casino/groups/${i}`);a.searchParams.append("datasource",i),a.searchParams.append("language",o),a.searchParams.append("platform",t.getDevice(K)),fetch(a).then(c=>c.json()).then(c=>{let m=M.split(","),te=c.items.filter(Y=>{let S=!1;if(Y.games.total>0&&(S=!0,M))for(let se of m)Y.flags==se&&(S=!1);return S});h=[],h=h.concat(te),h.unshift({id:"LOBBY",name:U,href:"",games:[]}),s(12,g=!1),window.postMessage({type:"CategoriesLoadedForSlider"},window.location.href)},c=>{s(14,y=!0),console.error("There was an error while fetching the categories",c)}).catch(c=>{s(14,y=!0),console.error("There was an error while fetching the categories",c)})}},Z=()=>{let a=u.split("$");s(0,u=a.length>2?u.split("$").slice(0,2).join("$"):u)},p=()=>{let a=document.createElement("style");a.innerHTML=L,d.appendChild(a)},$=()=>{let a=document.createElement("style"),c=new URL(C);fetch(c.href).then(m=>m.text()).then(m=>{a.innerHTML=m,setTimeout(()=>{d.appendChild(a)},1)})},k=()=>{window.postMessage({type:"SliderData",identity:E,data:h},window.location.href)},B=a=>{a.data&&a.data.type=="SliderLoaded"&&E==a.data.identity&&k()};t.onMount(()=>(window.addEventListener("message",B,!1),()=>{window.removeEventListener("message",B)}));function ee(a){t.binding_callbacks[a?"unshift":"push"](()=>{d=a,s(13,d)})}return n.$$set=a=>{"endpoint"in a&&s(1,r=a.endpoint),"datasource"in a&&s(2,i=a.datasource),"lang"in a&&s(3,o=a.lang),"userid"in a&&s(17,j=a.userid),"session"in a&&s(18,b=a.session),"mostplayed"in a&&s(19,_=a.mostplayed),"lastplayed"in a&&s(20,w=a.lastplayed),"favorites"in a&&s(21,N=a.favorites),"clientstyling"in a&&s(4,L=a.clientstyling),"clientstylingurl"in a&&s(5,C=a.clientstylingurl),"activecategory"in a&&s(0,u=a.activecategory),"actionevent"in a&&s(6,P=a.actionevent),"sessioncheck"in a&&s(22,T=a.sessioncheck),"location"in a&&s(7,q=a.location),"showsubgroups"in a&&s(8,F=a.showsubgroups),"filteredcategories"in a&&s(23,M=a.filteredcategories),"translationurl"in a&&s(24,v=a.translationurl),"categoriesicon"in a&&s(9,A=a.categoriesicon),"lobbyiconimage"in a&&s(10,D=a.lobbyiconimage),"mygamesiconimage"in a&&s(11,O=a.mygamesiconimage)},n.$$.update=()=>{n.$$.dirty[0]&14&&r&&i&&o&&X(),n.$$.dirty[0]&3936258&&r&&b&&(_||w||N)&&!g&&V(),n.$$.dirty[0]&33820673&&!g&&u&&(!b||G)&&Z(),n.$$.dirty[0]&8208&&L&&d&&p(),n.$$.dirty[0]&16777216&&v&&Q(),n.$$.dirty[0]&8224&&C&&d&&$()},s(15,H=0),[u,r,i,o,L,C,P,q,F,A,D,O,g,d,y,H,k,j,b,_,w,N,T,M,v,G,ee]}class J extends t.SvelteComponent{constructor(e){super(),t.init(this,e,me,le,t.safe_not_equal,{endpoint:1,datasource:2,lang:3,userid:17,session:18,mostplayed:19,lastplayed:20,favorites:21,clientstyling:4,clientstylingurl:5,activecategory:0,actionevent:6,sessioncheck:22,location:7,showsubgroups:8,filteredcategories:23,translationurl:24,categoriesicon:9,lobbyiconimage:10,mygamesiconimage:11},ae,[-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[2]}set datasource(e){this.$$set({datasource:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get userid(){return this.$$.ctx[17]}set userid(e){this.$$set({userid:e}),t.flush()}get session(){return this.$$.ctx[18]}set session(e){this.$$set({session:e}),t.flush()}get mostplayed(){return this.$$.ctx[19]}set mostplayed(e){this.$$set({mostplayed:e}),t.flush()}get lastplayed(){return this.$$.ctx[20]}set lastplayed(e){this.$$set({lastplayed:e}),t.flush()}get favorites(){return this.$$.ctx[21]}set favorites(e){this.$$set({favorites:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get activecategory(){return this.$$.ctx[0]}set activecategory(e){this.$$set({activecategory:e}),t.flush()}get actionevent(){return this.$$.ctx[6]}set actionevent(e){this.$$set({actionevent:e}),t.flush()}get sessioncheck(){return this.$$.ctx[22]}set sessioncheck(e){this.$$set({sessioncheck:e}),t.flush()}get location(){return this.$$.ctx[7]}set location(e){this.$$set({location:e}),t.flush()}get showsubgroups(){return this.$$.ctx[8]}set showsubgroups(e){this.$$set({showsubgroups:e}),t.flush()}get filteredcategories(){return this.$$.ctx[23]}set filteredcategories(e){this.$$set({filteredcategories:e}),t.flush()}get translationurl(){return this.$$.ctx[24]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get categoriesicon(){return this.$$.ctx[9]}set categoriesicon(e){this.$$set({categoriesicon:e}),t.flush()}get lobbyiconimage(){return this.$$.ctx[10]}set lobbyiconimage(e){this.$$set({lobbyiconimage:e}),t.flush()}get mygamesiconimage(){return this.$$.ctx[11]}set mygamesiconimage(e){this.$$set({mygamesiconimage:e}),t.flush()}}t.create_custom_element(J,{endpoint:{},datasource:{},lang:{},userid:{},session:{},mostplayed:{},lastplayed:{},favorites:{},clientstyling:{},clientstylingurl:{},activecategory:{},actionevent:{},sessioncheck:{},location:{},showsubgroups:{},filteredcategories:{},translationurl:{},categoriesicon:{},lobbyiconimage:{},mygamesiconimage:{}},[],[],!0);exports.default=J;
@@ -19,7 +19,7 @@ if (typeof window != "undefined") {
19
19
  }
20
20
  };
21
21
  };
22
- customElements.define = a(customElements.define), import("./CasinoCategoriesSlider-zaQfM9aV.js").then(({ default: e }) => {
22
+ customElements.define = a(customElements.define), import("./CasinoCategoriesSlider-CQ2jtwmC.js").then(({ default: e }) => {
23
23
  !customElements.get("casino-categories-slider") && customElements.define("casino-categories-slider", e.element);
24
24
  });
25
25
  }
@@ -35,7 +35,7 @@ if (typeof window != "undefined") {
35
35
  }
36
36
  };
37
37
  };
38
- customElements.define = a(customElements.define), import("./CasinoPage-6L1WKOYd.js").then(({ default: e }) => {
38
+ customElements.define = a(customElements.define), import("./CasinoPage-BILjSGW2.js").then(({ default: e }) => {
39
39
  !customElements.get("casino-page") && customElements.define("casino-page", e.element);
40
40
  });
41
41
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-B3jjGeXh.cjs");function _t({withLocale:i,translations:t}){e.$locale.subscribe(a=>{a==null&&(e.$dictionary.set(t),e.$locale.set(i))})}function $e(i){e.$locale.set(i)}if(typeof window!="undefined"){let i=function(t){return function(...a){try{return t.apply(this,a)}catch(c){if(c instanceof DOMException&&c.message.includes("has already been used with this registry")||c.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw c}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CasinoCategoriesSlider-bjuRGQVb.cjs")).then(({default:t})=>{!customElements.get("casino-categories-slider")&&customElements.define("casino-categories-slider",t.element)})}if(typeof window!="undefined"){let i=function(t){return function(...a){try{return t.apply(this,a)}catch(c){if(c instanceof DOMException&&c.message.includes("has already been used with this registry")||c.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw c}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CasinoPage-DqINO6SW.cjs")).then(({default:t})=>{!customElements.get("casino-page")&&customElements.define("casino-page",t.element)})}if(typeof window!="undefined"){let i=function(t){return function(...a){try{return t.apply(this,a)}catch(c){if(c instanceof DOMException&&c.message.includes("has already been used with this registry")||c.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw c}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CasinoModal-B71hMJhL.cjs")).then(({default:t})=>{!customElements.get("casino-modal")&&customElements.define("casino-modal",t.element)})}if(typeof window!="undefined"){let i=function(t){return function(...a){try{return t.apply(this,a)}catch(c){if(c instanceof DOMException&&c.message.includes("has already been used with this registry")||c.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw c}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CasinoGamePage-oxi03_5O.cjs")).then(t=>t.CasinoGamePage_ce).then(({default:t})=>{!customElements.get("casino-game-page")&&customElements.define("casino-game-page",t.element)})}function rt(i){e.append_styles(i,"svelte-1me4s20","*{margin:0;padding:0;box-sizing:border-box}.CasinoLobby{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));width:100%;margin:0 auto;min-height:100vh}.DisplayNone{display:none}.WidgetsSection{padding-bottom:40px}")}const dt=i=>({}),et=i=>({});function ft(i){let t,a,c,_,r,y,u,h,n,f,b,o;const w=i[95].content,g=e.create_slot(w,i,i[94],et);let d=i[22]=="true"&&tt(i);return{c(){t=e.element("div"),a=e.element("div"),c=e.element("div"),_=e.space(),r=e.element("div"),y=e.space(),u=e.element("casino-categories-slider"),h=e.space(),n=e.element("casino-page"),f=e.element("div"),g&&g.c(),b=e.space(),d&&d.c(),e.attr(c,"class","HeaderPlaceholder"),e.set_style(c,"height",i[86]+"px"),e.attr(r,"class","ScrollTop"),e.set_custom_element_data(u,"endpoint",i[79]),e.set_custom_element_data(u,"datasource",i[80]),e.set_custom_element_data(u,"lang",i[81]),e.set_custom_element_data(u,"session",i[85]),e.set_custom_element_data(u,"userid",i[4]),e.set_custom_element_data(u,"sessioncheck","false"),e.set_custom_element_data(u,"actionevent",i[18]),e.set_custom_element_data(u,"filteredcategories",i[9]),e.set_custom_element_data(u,"mostplayed",i[64]),e.set_custom_element_data(u,"lastplayed",i[66]),e.set_custom_element_data(u,"favorites",i[16]),e.set_custom_element_data(u,"activecategory",i[1]),e.set_custom_element_data(u,"translationurl",i[11]),e.set_custom_element_data(u,"clientstyling",i[5]),e.set_custom_element_data(u,"clientstylingurl",i[6]),e.set_custom_element_data(u,"location","secondaryMenu"),e.set_custom_element_data(u,"showsubgroups",i[53]),e.set_custom_element_data(u,"categoriesicon",i[30]),e.set_custom_element_data(u,"lobbyiconimage",i[31]),e.set_custom_element_data(u,"mygamesiconimage",i[32]),e.attr(f,"slot","je-jackpots-widget"),e.set_custom_element_data(n,"session",i[85]),e.set_custom_element_data(n,"userid",i[4]),e.set_custom_element_data(n,"endpoint",i[79]),e.set_custom_element_data(n,"datasource",i[80]),e.set_custom_element_data(n,"lang",i[81]),e.set_custom_element_data(n,"showgamename",i[21]),e.set_custom_element_data(n,"cmsendpoint",i[2]),e.set_custom_element_data(n,"env",i[3]),e.set_custom_element_data(n,"translationurl",i[11]),e.set_custom_element_data(n,"visiblegames",i[25]),e.set_custom_element_data(n,"playrandomgame",i[23]),e.set_custom_element_data(n,"randomgameslider",i[24]),e.set_custom_element_data(n,"specificcategory",i[67]),e.set_custom_element_data(n,"launchbygamecard",i[68]),e.set_custom_element_data(n,"iconvisible",i[69]),e.set_custom_element_data(n,"iconvisibleonanim",i[70]),e.set_custom_element_data(n,"activecategory",i[1]),e.set_custom_element_data(n,"favorites",i[16]),e.set_custom_element_data(n,"clientstyling",i[5]),e.set_custom_element_data(n,"clientstylingurl",i[6]),e.set_custom_element_data(n,"lobbyid",i[8]),e.set_custom_element_data(n,"haspanicbutton",i[17]),e.set_custom_element_data(n,"livecasino",i[19]),e.set_custom_element_data(n,"currency",i[0]),e.set_custom_element_data(n,"filteredcategories",i[9]),e.set_custom_element_data(n,"gamepagemodalurl",i[28]),e.set_custom_element_data(n,"randombuttonicon",i[72]),e.set_custom_element_data(n,"positioncasinocalendar",i[58]),e.set_custom_element_data(n,"filteredrandomgamecategories",i[73]),e.set_custom_element_data(n,"positionwinnerswidget",i[33]),e.set_custom_element_data(n,"periodrecent",i[38]),e.set_custom_element_data(n,"periodtop",i[39]),e.set_custom_element_data(n,"userroles",i[10]),e.set_custom_element_data(n,"numberusersrecent",i[40]),e.set_custom_element_data(n,"numberuserstop",i[41]),e.set_custom_element_data(n,"amountlimit",i[42]),e.set_custom_element_data(n,"isrecentavailable",i[37]),e.set_custom_element_data(n,"istopavailable",i[36]),e.set_custom_element_data(n,"integratedgameframedesktop",i[26]),e.set_custom_element_data(n,"integratedgameframemobile",i[27]),e.set_custom_element_data(n,"defaultcurrency",i[43]),e.set_custom_element_data(n,"enableautoscroll",i[35]),e.set_custom_element_data(n,"collectionprovidersgamenames",i[57]),e.set_custom_element_data(n,"tabsorder",i[34]),e.set_custom_element_data(n,"positionjackpotbanners",i[44]),e.set_custom_element_data(n,"backgroundsrc",i[49]),e.set_custom_element_data(n,"backgroundsrcmobile",i[50]),e.set_custom_element_data(n,"titlelogopath",i[51]),e.set_custom_element_data(n,"caticon0",i[45]),e.set_custom_element_data(n,"caticon1",i[46]),e.set_custom_element_data(n,"caticon2",i[47]),e.set_custom_element_data(n,"caticon3",i[48]),e.set_custom_element_data(n,"iconlabels",i[52]),e.set_custom_element_data(n,"positioncollections",i[54]),e.set_custom_element_data(n,"type",i[55]),e.set_custom_element_data(n,"titletype",i[56]),e.set_custom_element_data(n,"casinomygames",bt),e.set_custom_element_data(n,"filterbylogo",i[76]),e.set_custom_element_data(n,"addfilterselector",i[74]),e.set_custom_element_data(n,"addsortingselector",i[75]),e.set_custom_element_data(n,"lastplayedunique",i[63]),e.set_custom_element_data(n,"lastplayedlimit",i[62]),e.set_custom_element_data(n,"lastplayedorder",i[61]),e.set_custom_element_data(n,"mostplayedrounds",i[65]),e.set_custom_element_data(n,"mostplayed",i[64]),e.set_custom_element_data(n,"lastplayed",i[66]),e.set_custom_element_data(n,"lastplayedperiod",i[59]),e.set_custom_element_data(n,"mostplayedperiod",i[60]),e.set_custom_element_data(n,"showsubgroups",i[53]),e.set_custom_element_data(n,"winnersdatasources",i[77]),e.set_custom_element_data(n,"casinogamesgridslider",i[29]),e.set_custom_element_data(n,"positionjelobbywidget",i[71]),e.attr(a,"class","WidgetsSection"),e.attr(t,"class","CasinoLobby")},m(l,m){e.insert(l,t,m),e.append(t,a),e.append(a,c),e.append(a,_),e.append(a,r),e.append(a,y),e.append(a,u),e.append(a,h),e.append(a,n),e.append(n,f),g&&g.m(f,null),e.append(a,b),d&&d.m(a,null),o=!0},p(l,m){(!o||m[2]&16777216)&&e.set_style(c,"height",l[86]+"px"),(!o||m[2]&131072)&&e.set_custom_element_data(u,"endpoint",l[79]),(!o||m[2]&262144)&&e.set_custom_element_data(u,"datasource",l[80]),(!o||m[2]&524288)&&e.set_custom_element_data(u,"lang",l[81]),(!o||m[2]&8388608)&&e.set_custom_element_data(u,"session",l[85]),(!o||m[0]&16)&&e.set_custom_element_data(u,"userid",l[4]),(!o||m[0]&262144)&&e.set_custom_element_data(u,"actionevent",l[18]),(!o||m[0]&512)&&e.set_custom_element_data(u,"filteredcategories",l[9]),(!o||m[2]&4)&&e.set_custom_element_data(u,"mostplayed",l[64]),(!o||m[2]&16)&&e.set_custom_element_data(u,"lastplayed",l[66]),(!o||m[0]&65536)&&e.set_custom_element_data(u,"favorites",l[16]),(!o||m[0]&2)&&e.set_custom_element_data(u,"activecategory",l[1]),(!o||m[0]&2048)&&e.set_custom_element_data(u,"translationurl",l[11]),(!o||m[0]&32)&&e.set_custom_element_data(u,"clientstyling",l[5]),(!o||m[0]&64)&&e.set_custom_element_data(u,"clientstylingurl",l[6]),(!o||m[1]&4194304)&&e.set_custom_element_data(u,"showsubgroups",l[53]),(!o||m[0]&1073741824)&&e.set_custom_element_data(u,"categoriesicon",l[30]),(!o||m[1]&1)&&e.set_custom_element_data(u,"lobbyiconimage",l[31]),(!o||m[1]&2)&&e.set_custom_element_data(u,"mygamesiconimage",l[32]),g&&g.p&&(!o||m[3]&2)&&e.update_slot_base(g,w,l,l[94],o?e.get_slot_changes(w,l[94],m,dt):e.get_all_dirty_from_scope(l[94]),et),(!o||m[2]&8388608)&&e.set_custom_element_data(n,"session",l[85]),(!o||m[0]&16)&&e.set_custom_element_data(n,"userid",l[4]),(!o||m[2]&131072)&&e.set_custom_element_data(n,"endpoint",l[79]),(!o||m[2]&262144)&&e.set_custom_element_data(n,"datasource",l[80]),(!o||m[2]&524288)&&e.set_custom_element_data(n,"lang",l[81]),(!o||m[0]&2097152)&&e.set_custom_element_data(n,"showgamename",l[21]),(!o||m[0]&4)&&e.set_custom_element_data(n,"cmsendpoint",l[2]),(!o||m[0]&8)&&e.set_custom_element_data(n,"env",l[3]),(!o||m[0]&2048)&&e.set_custom_element_data(n,"translationurl",l[11]),(!o||m[0]&33554432)&&e.set_custom_element_data(n,"visiblegames",l[25]),(!o||m[0]&8388608)&&e.set_custom_element_data(n,"playrandomgame",l[23]),(!o||m[0]&16777216)&&e.set_custom_element_data(n,"randomgameslider",l[24]),(!o||m[2]&32)&&e.set_custom_element_data(n,"specificcategory",l[67]),(!o||m[2]&64)&&e.set_custom_element_data(n,"launchbygamecard",l[68]),(!o||m[2]&128)&&e.set_custom_element_data(n,"iconvisible",l[69]),(!o||m[2]&256)&&e.set_custom_element_data(n,"iconvisibleonanim",l[70]),(!o||m[0]&2)&&e.set_custom_element_data(n,"activecategory",l[1]),(!o||m[0]&65536)&&e.set_custom_element_data(n,"favorites",l[16]),(!o||m[0]&32)&&e.set_custom_element_data(n,"clientstyling",l[5]),(!o||m[0]&64)&&e.set_custom_element_data(n,"clientstylingurl",l[6]),(!o||m[0]&256)&&e.set_custom_element_data(n,"lobbyid",l[8]),(!o||m[0]&131072)&&e.set_custom_element_data(n,"haspanicbutton",l[17]),(!o||m[0]&524288)&&e.set_custom_element_data(n,"livecasino",l[19]),(!o||m[0]&1)&&e.set_custom_element_data(n,"currency",l[0]),(!o||m[0]&512)&&e.set_custom_element_data(n,"filteredcategories",l[9]),(!o||m[0]&268435456)&&e.set_custom_element_data(n,"gamepagemodalurl",l[28]),(!o||m[2]&1024)&&e.set_custom_element_data(n,"randombuttonicon",l[72]),(!o||m[1]&134217728)&&e.set_custom_element_data(n,"positioncasinocalendar",l[58]),(!o||m[2]&2048)&&e.set_custom_element_data(n,"filteredrandomgamecategories",l[73]),(!o||m[1]&4)&&e.set_custom_element_data(n,"positionwinnerswidget",l[33]),(!o||m[1]&128)&&e.set_custom_element_data(n,"periodrecent",l[38]),(!o||m[1]&256)&&e.set_custom_element_data(n,"periodtop",l[39]),(!o||m[0]&1024)&&e.set_custom_element_data(n,"userroles",l[10]),(!o||m[1]&512)&&e.set_custom_element_data(n,"numberusersrecent",l[40]),(!o||m[1]&1024)&&e.set_custom_element_data(n,"numberuserstop",l[41]),(!o||m[1]&2048)&&e.set_custom_element_data(n,"amountlimit",l[42]),(!o||m[1]&64)&&e.set_custom_element_data(n,"isrecentavailable",l[37]),(!o||m[1]&32)&&e.set_custom_element_data(n,"istopavailable",l[36]),(!o||m[0]&67108864)&&e.set_custom_element_data(n,"integratedgameframedesktop",l[26]),(!o||m[0]&134217728)&&e.set_custom_element_data(n,"integratedgameframemobile",l[27]),(!o||m[1]&4096)&&e.set_custom_element_data(n,"defaultcurrency",l[43]),(!o||m[1]&16)&&e.set_custom_element_data(n,"enableautoscroll",l[35]),(!o||m[1]&67108864)&&e.set_custom_element_data(n,"collectionprovidersgamenames",l[57]),(!o||m[1]&8)&&e.set_custom_element_data(n,"tabsorder",l[34]),(!o||m[1]&8192)&&e.set_custom_element_data(n,"positionjackpotbanners",l[44]),(!o||m[1]&262144)&&e.set_custom_element_data(n,"backgroundsrc",l[49]),(!o||m[1]&524288)&&e.set_custom_element_data(n,"backgroundsrcmobile",l[50]),(!o||m[1]&1048576)&&e.set_custom_element_data(n,"titlelogopath",l[51]),(!o||m[1]&16384)&&e.set_custom_element_data(n,"caticon0",l[45]),(!o||m[1]&32768)&&e.set_custom_element_data(n,"caticon1",l[46]),(!o||m[1]&65536)&&e.set_custom_element_data(n,"caticon2",l[47]),(!o||m[1]&131072)&&e.set_custom_element_data(n,"caticon3",l[48]),(!o||m[1]&2097152)&&e.set_custom_element_data(n,"iconlabels",l[52]),(!o||m[1]&8388608)&&e.set_custom_element_data(n,"positioncollections",l[54]),(!o||m[1]&16777216)&&e.set_custom_element_data(n,"type",l[55]),(!o||m[1]&33554432)&&e.set_custom_element_data(n,"titletype",l[56]),(!o||m[2]&16384)&&e.set_custom_element_data(n,"filterbylogo",l[76]),(!o||m[2]&4096)&&e.set_custom_element_data(n,"addfilterselector",l[74]),(!o||m[2]&8192)&&e.set_custom_element_data(n,"addsortingselector",l[75]),(!o||m[2]&2)&&e.set_custom_element_data(n,"lastplayedunique",l[63]),(!o||m[2]&1)&&e.set_custom_element_data(n,"lastplayedlimit",l[62]),(!o||m[1]&1073741824)&&e.set_custom_element_data(n,"lastplayedorder",l[61]),(!o||m[2]&8)&&e.set_custom_element_data(n,"mostplayedrounds",l[65]),(!o||m[2]&4)&&e.set_custom_element_data(n,"mostplayed",l[64]),(!o||m[2]&16)&&e.set_custom_element_data(n,"lastplayed",l[66]),(!o||m[1]&268435456)&&e.set_custom_element_data(n,"lastplayedperiod",l[59]),(!o||m[1]&536870912)&&e.set_custom_element_data(n,"mostplayedperiod",l[60]),(!o||m[1]&4194304)&&e.set_custom_element_data(n,"showsubgroups",l[53]),(!o||m[2]&32768)&&e.set_custom_element_data(n,"winnersdatasources",l[77]),(!o||m[0]&536870912)&&e.set_custom_element_data(n,"casinogamesgridslider",l[29]),(!o||m[2]&512)&&e.set_custom_element_data(n,"positionjelobbywidget",l[71]),l[22]=="true"?d?d.p(l,m):(d=tt(l),d.c(),d.m(a,null)):d&&(d.d(1),d=null)},i(l){o||(e.transition_in(g,l),o=!0)},o(l){e.transition_out(g,l),o=!1},d(l){l&&e.detach(t),g&&g.d(l),d&&d.d()}}}function gt(i){let t,a;return{c(){t=e.element("p"),a=e.text(i[84]),e.set_style(t,"color","var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))")},m(c,_){e.insert(c,t,_),e.append(t,a)},p(c,_){_[2]&4194304&&e.set_data(a,c[84])},i:e.noop,o:e.noop,d(c){c&&e.detach(t)}}}function tt(i){let t,a;return{c(){t=e.element("casino-modal"),a=e.element("casino-game-page"),e.set_custom_element_data(a,"session",i[85]),e.set_custom_element_data(a,"userid",i[4]),e.set_custom_element_data(a,"endpoint",i[79]),e.set_custom_element_data(a,"datasource",i[80]),e.set_custom_element_data(a,"lang",i[81]),e.set_custom_element_data(a,"loginevent",i[12]),e.set_custom_element_data(a,"registerevent",i[13]),e.set_custom_element_data(a,"depositevent",i[14]),e.set_custom_element_data(a,"checksession","false"),e.set_custom_element_data(a,"playforfun",i[20]),e.set_custom_element_data(a,"translationurl",i[11]),e.set_custom_element_data(a,"shortcashierenabled",i[15]),e.set_custom_element_data(a,"favorites",i[16]),e.set_custom_element_data(a,"clientstyling",i[5]),e.set_custom_element_data(a,"clientstylingurl",i[6]),e.set_custom_element_data(a,"clockformat",i[7]),e.set_custom_element_data(a,"haspanicbutton",i[17]),e.set_custom_element_data(a,"currency",i[0]),e.set_custom_element_data(a,"integratedgameframedesktop",i[26]),e.set_custom_element_data(a,"integratedgameframemobile",i[27]),e.set_custom_element_data(t,"session",i[85]),e.set_custom_element_data(t,"userid",i[4]),e.set_custom_element_data(t,"endpoint",i[79]),e.set_custom_element_data(t,"datasource",i[80]),e.set_custom_element_data(t,"lang",i[81]),e.set_custom_element_data(t,"sessioncheck","false"),e.set_custom_element_data(t,"translationurl",i[11]),e.set_custom_element_data(t,"clientstyling",i[5]),e.set_custom_element_data(t,"clientstylingurl",i[6]),e.set_custom_element_data(t,"gamepagemodalurl",i[28]),e.set_custom_element_data(t,"haspanicbutton",i[17]),e.set_custom_element_data(t,"integratedgameframedesktop",i[26]),e.set_custom_element_data(t,"identifier","Lobby")},m(c,_){e.insert(c,t,_),e.append(t,a)},p(c,_){_[2]&8388608&&e.set_custom_element_data(a,"session",c[85]),_[0]&16&&e.set_custom_element_data(a,"userid",c[4]),_[2]&131072&&e.set_custom_element_data(a,"endpoint",c[79]),_[2]&262144&&e.set_custom_element_data(a,"datasource",c[80]),_[2]&524288&&e.set_custom_element_data(a,"lang",c[81]),_[0]&4096&&e.set_custom_element_data(a,"loginevent",c[12]),_[0]&8192&&e.set_custom_element_data(a,"registerevent",c[13]),_[0]&16384&&e.set_custom_element_data(a,"depositevent",c[14]),_[0]&1048576&&e.set_custom_element_data(a,"playforfun",c[20]),_[0]&2048&&e.set_custom_element_data(a,"translationurl",c[11]),_[0]&32768&&e.set_custom_element_data(a,"shortcashierenabled",c[15]),_[0]&65536&&e.set_custom_element_data(a,"favorites",c[16]),_[0]&32&&e.set_custom_element_data(a,"clientstyling",c[5]),_[0]&64&&e.set_custom_element_data(a,"clientstylingurl",c[6]),_[0]&128&&e.set_custom_element_data(a,"clockformat",c[7]),_[0]&131072&&e.set_custom_element_data(a,"haspanicbutton",c[17]),_[0]&1&&e.set_custom_element_data(a,"currency",c[0]),_[0]&67108864&&e.set_custom_element_data(a,"integratedgameframedesktop",c[26]),_[0]&134217728&&e.set_custom_element_data(a,"integratedgameframemobile",c[27]),_[2]&8388608&&e.set_custom_element_data(t,"session",c[85]),_[0]&16&&e.set_custom_element_data(t,"userid",c[4]),_[2]&131072&&e.set_custom_element_data(t,"endpoint",c[79]),_[2]&262144&&e.set_custom_element_data(t,"datasource",c[80]),_[2]&524288&&e.set_custom_element_data(t,"lang",c[81]),_[0]&2048&&e.set_custom_element_data(t,"translationurl",c[11]),_[0]&32&&e.set_custom_element_data(t,"clientstyling",c[5]),_[0]&64&&e.set_custom_element_data(t,"clientstylingurl",c[6]),_[0]&268435456&&e.set_custom_element_data(t,"gamepagemodalurl",c[28]),_[0]&131072&&e.set_custom_element_data(t,"haspanicbutton",c[17]),_[0]&67108864&&e.set_custom_element_data(t,"integratedgameframedesktop",c[26])},d(c){c&&e.detach(t)}}}function ht(i){let t,a,c,_,r;const y=[gt,ft],u=[];function h(n,f){return n[83]?0:1}return a=h(i),c=u[a]=y[a](i),{c(){t=e.element("div"),c.c(),e.attr(t,"class",_=i[82]?"DisplayNone":"")},m(n,f){e.insert(n,t,f),u[a].m(t,null),i[96](t),r=!0},p(n,f){let b=a;a=h(n),a===b?u[a].p(n,f):(e.group_outros(),e.transition_out(u[b],1,1,()=>{u[b]=null}),e.check_outros(),c=u[a],c?c.p(n,f):(c=u[a]=y[a](n),c.c()),e.transition_in(c,1),c.m(t,null)),(!r||f[2]&1048576&&_!==(_=n[82]?"DisplayNone":""))&&e.attr(t,"class",_)},i(n){r||(e.transition_in(c),r=!0)},o(n){e.transition_out(c),r=!1},d(n){n&&e.detach(t),u[a].d(),i[96](null)}}}let bt="false";function yt(i,t,a){let{$$slots:c={},$$scope:_}=t,{endpoint:r=""}=t,{cmsendpoint:y="https://wt1-stage.everymatrix.com/apijson"}=t,{env:u=""}=t,{datasource:h=""}=t,{lang:n=""}=t,{session:f=""}=t,{userid:b=""}=t,{opsession:o=""}=t,{clientstyling:w=""}=t,{clientstylingurl:g=""}=t,{clockformat:d=""}=t,{lobbyid:l=""}=t,{currency:m=""}=t,{filteredcategories:U=""}=t,{userroles:A=""}=t,{translationurl:R=""}=t,{loginevent:G=""}=t,{registerevent:H=""}=t,{depositevent:N=""}=t,{shortcashierenabled:W=""}=t,{favorites:S=""}=t,{desktopoffset:j="0"}=t,{mobileoffset:L="0"}=t,{haspanicbutton:z="false"}=t,{activecategory:q="LOBBY"}=t,{actionevent:B="CategoryChange"}=t,{livecasino:Y="false"}=t,{playforfun:J="true"}=t,{showgamename:K="false"}=t,{gamemodal:Q="true"}=t,{playrandomgame:V="false"}=t,{randomgameslider:X="false"}=t,{visiblegames:Z="10"}=t,{integratedgameframedesktop:p="false"}=t,{integratedgameframemobile:x="false"}=t,{gamepagemodalurl:$="false"}=t,{casinogamesgridslider:ee="false"}=t,{categoriesicon:te="false"}=t,{lobbyiconimage:se=""}=t,{mygamesiconimage:ae=""}=t,{positionwinnerswidget:ne=""}=t,{tabsorder:ie=""}=t,{enableautoscroll:le=""}=t,{istopavailable:oe=""}=t,{isrecentavailable:me=""}=t,{periodrecent:ce=""}=t,{periodtop:ue=""}=t,{numberusersrecent:_e=""}=t,{numberuserstop:re=""}=t,{amountlimit:de=""}=t,{defaultcurrency:fe=""}=t,{positionjackpotbanners:ge=""}=t,{caticon0:he=""}=t,{caticon1:be=""}=t,{caticon2:ye=""}=t,{caticon3:we=""}=t,{backgroundsrc:ke=""}=t,{backgroundsrcmobile:ve=""}=t,{titlelogopath:Ee=""}=t,{iconlabels:Ce=""}=t,{showsubgroups:je="false"}=t,{positioncollections:Le=""}=t,{type:De=""}=t,{titletype:Se=""}=t,{collectionprovidersgamenames:qe=""}=t,{positioncasinocalendar:Me=""}=t,{lastplayedperiod:Pe="Last30Days"}=t,{mostplayedperiod:Ie="Last30Days"}=t,{lastplayedorder:Te=""}=t,{lastplayedlimit:Fe=""}=t,{lastplayedunique:Oe="true"}=t,{mostplayed:M=""}=t,{mostplayedrounds:Ue=""}=t,{lastplayed:P="false"}=t,{specificcategory:Ae=""}=t,{launchbygamecard:Re=""}=t,{iconvisible:Ge=""}=t,{iconvisibleonanim:He=""}=t,{positionjelobbywidget:Ne=""}=t,{randombuttonicon:We=""}=t,{filteredrandomgamecategories:ze=""}=t,{addfilterselector:Be="false"}=t,{addsortingselector:Ye="false"}=t,{filterbylogo:Je="false"}=t,{winnersdatasources:Ke=""}=t,Qe,Ve,Xe,I=!1,E=!1,v="Loading, please wait ...",D="",T=window.navigator.userAgent,F=!1,C=0,Ze=!1,k;_t({withLocale:"en",translations:{}});const pe=s=>{if(s.data)switch(s.data.type){case"searchCancelled":F=!0;break;case"WidgetTopReference":Ze=s.data.scrollTop,Ze&&(C||a(86,C=e.getDevice(T)==="PC"?parseInt(j):parseInt(L)),!F&&window.scrollTo({top:C}),F=!1);break;case"OpenGameFrame":window.postMessage({type:"ShowGameModal",gameId:s.data.gameId,isMobile:e.isMobile(T),gamefunmode:s.data.gamefunmode,gamepagemodalurl:s.data.gamepagemodalurl,identifier:"Lobby"},window.location.href);break;case"UserSessionID":a(85,D=s.data.session),s.data.userID;break;case"CategoryChange":a(1,q=s.data.itemId);break}},at=()=>(r||(a(84,v="Endpoint is missing! Please provide a valid endpointURL."),a(83,E=!0),console.error(v)),h||(a(84,v="Datasource is missing! Please provide a valid datasource."),a(83,E=!0),console.error(v)),(!n||n.length<2)&&(a(84,v="Language is missing! Please provide a valid language (alpha2code)"),a(83,E=!0),console.error(v)),E),nt=()=>{$e(n)},it=()=>{at(),$e(n),a(79,Qe=r),a(80,Ve=h),a(81,Xe=n),a(83,E=!1)},lt=()=>{e.checkSession(r,f).then(s=>{a(85,D=s.Guid),s.UserID,a(0,m=s.Currency)},s=>{console.error("Error while checking the session - ",s)})},ot=()=>{a(85,D=o)},mt=()=>{let s=document.createElement("style");s.innerHTML=w,k.appendChild(s)},ct=()=>{a(82,I=!0);let s=new URL(g),xe=document.createElement("style");fetch(s.href).then(O=>O.text()).then(O=>{xe.innerHTML=O,k&&(setTimeout(()=>{k.appendChild(xe)},1),setTimeout(()=>{a(82,I=!1)},500))})};e.onMount(()=>(window.addEventListener("message",pe,!1),a(86,C=e.getDevice(T)==="PC"?parseInt(j):parseInt(L)),()=>{window.removeEventListener("message",pe)}));function ut(s){e.binding_callbacks[s?"unshift":"push"](()=>{k=s,a(78,k)})}return i.$$set=s=>{"endpoint"in s&&a(87,r=s.endpoint),"cmsendpoint"in s&&a(2,y=s.cmsendpoint),"env"in s&&a(3,u=s.env),"datasource"in s&&a(88,h=s.datasource),"lang"in s&&a(89,n=s.lang),"session"in s&&a(90,f=s.session),"userid"in s&&a(4,b=s.userid),"opsession"in s&&a(91,o=s.opsession),"clientstyling"in s&&a(5,w=s.clientstyling),"clientstylingurl"in s&&a(6,g=s.clientstylingurl),"clockformat"in s&&a(7,d=s.clockformat),"lobbyid"in s&&a(8,l=s.lobbyid),"currency"in s&&a(0,m=s.currency),"filteredcategories"in s&&a(9,U=s.filteredcategories),"userroles"in s&&a(10,A=s.userroles),"translationurl"in s&&a(11,R=s.translationurl),"loginevent"in s&&a(12,G=s.loginevent),"registerevent"in s&&a(13,H=s.registerevent),"depositevent"in s&&a(14,N=s.depositevent),"shortcashierenabled"in s&&a(15,W=s.shortcashierenabled),"favorites"in s&&a(16,S=s.favorites),"desktopoffset"in s&&a(92,j=s.desktopoffset),"mobileoffset"in s&&a(93,L=s.mobileoffset),"haspanicbutton"in s&&a(17,z=s.haspanicbutton),"activecategory"in s&&a(1,q=s.activecategory),"actionevent"in s&&a(18,B=s.actionevent),"livecasino"in s&&a(19,Y=s.livecasino),"playforfun"in s&&a(20,J=s.playforfun),"showgamename"in s&&a(21,K=s.showgamename),"gamemodal"in s&&a(22,Q=s.gamemodal),"playrandomgame"in s&&a(23,V=s.playrandomgame),"randomgameslider"in s&&a(24,X=s.randomgameslider),"visiblegames"in s&&a(25,Z=s.visiblegames),"integratedgameframedesktop"in s&&a(26,p=s.integratedgameframedesktop),"integratedgameframemobile"in s&&a(27,x=s.integratedgameframemobile),"gamepagemodalurl"in s&&a(28,$=s.gamepagemodalurl),"casinogamesgridslider"in s&&a(29,ee=s.casinogamesgridslider),"categoriesicon"in s&&a(30,te=s.categoriesicon),"lobbyiconimage"in s&&a(31,se=s.lobbyiconimage),"mygamesiconimage"in s&&a(32,ae=s.mygamesiconimage),"positionwinnerswidget"in s&&a(33,ne=s.positionwinnerswidget),"tabsorder"in s&&a(34,ie=s.tabsorder),"enableautoscroll"in s&&a(35,le=s.enableautoscroll),"istopavailable"in s&&a(36,oe=s.istopavailable),"isrecentavailable"in s&&a(37,me=s.isrecentavailable),"periodrecent"in s&&a(38,ce=s.periodrecent),"periodtop"in s&&a(39,ue=s.periodtop),"numberusersrecent"in s&&a(40,_e=s.numberusersrecent),"numberuserstop"in s&&a(41,re=s.numberuserstop),"amountlimit"in s&&a(42,de=s.amountlimit),"defaultcurrency"in s&&a(43,fe=s.defaultcurrency),"positionjackpotbanners"in s&&a(44,ge=s.positionjackpotbanners),"caticon0"in s&&a(45,he=s.caticon0),"caticon1"in s&&a(46,be=s.caticon1),"caticon2"in s&&a(47,ye=s.caticon2),"caticon3"in s&&a(48,we=s.caticon3),"backgroundsrc"in s&&a(49,ke=s.backgroundsrc),"backgroundsrcmobile"in s&&a(50,ve=s.backgroundsrcmobile),"titlelogopath"in s&&a(51,Ee=s.titlelogopath),"iconlabels"in s&&a(52,Ce=s.iconlabels),"showsubgroups"in s&&a(53,je=s.showsubgroups),"positioncollections"in s&&a(54,Le=s.positioncollections),"type"in s&&a(55,De=s.type),"titletype"in s&&a(56,Se=s.titletype),"collectionprovidersgamenames"in s&&a(57,qe=s.collectionprovidersgamenames),"positioncasinocalendar"in s&&a(58,Me=s.positioncasinocalendar),"lastplayedperiod"in s&&a(59,Pe=s.lastplayedperiod),"mostplayedperiod"in s&&a(60,Ie=s.mostplayedperiod),"lastplayedorder"in s&&a(61,Te=s.lastplayedorder),"lastplayedlimit"in s&&a(62,Fe=s.lastplayedlimit),"lastplayedunique"in s&&a(63,Oe=s.lastplayedunique),"mostplayed"in s&&a(64,M=s.mostplayed),"mostplayedrounds"in s&&a(65,Ue=s.mostplayedrounds),"lastplayed"in s&&a(66,P=s.lastplayed),"specificcategory"in s&&a(67,Ae=s.specificcategory),"launchbygamecard"in s&&a(68,Re=s.launchbygamecard),"iconvisible"in s&&a(69,Ge=s.iconvisible),"iconvisibleonanim"in s&&a(70,He=s.iconvisibleonanim),"positionjelobbywidget"in s&&a(71,Ne=s.positionjelobbywidget),"randombuttonicon"in s&&a(72,We=s.randombuttonicon),"filteredrandomgamecategories"in s&&a(73,ze=s.filteredrandomgamecategories),"addfilterselector"in s&&a(74,Be=s.addfilterselector),"addsortingselector"in s&&a(75,Ye=s.addsortingselector),"filterbylogo"in s&&a(76,Je=s.filterbylogo),"winnersdatasources"in s&&a(77,Ke=s.winnersdatasources),"$$scope"in s&&a(94,_=s.$$scope)},i.$$.update=()=>{i.$$.dirty[2]&134217728&&n&&nt(),i.$$.dirty[0]&16|i.$$.dirty[2]&301989888&&f&&b&&r&&lt(),i.$$.dirty[0]&65536|i.$$.dirty[2]&234881044&&r&&h&&n&&M&&P&&S&&it(),i.$$.dirty[2]&536870912&&o&&ot(),i.$$.dirty[0]&32|i.$$.dirty[2]&65536&&w&&k&&mt(),i.$$.dirty[0]&64|i.$$.dirty[2]&65536&&g&&k&&ct()},[m,q,y,u,b,w,g,d,l,U,A,R,G,H,N,W,S,z,B,Y,J,K,Q,V,X,Z,p,x,$,ee,te,se,ae,ne,ie,le,oe,me,ce,ue,_e,re,de,fe,ge,he,be,ye,we,ke,ve,Ee,Ce,je,Le,De,Se,qe,Me,Pe,Ie,Te,Fe,Oe,M,Ue,P,Ae,Re,Ge,He,Ne,We,ze,Be,Ye,Je,Ke,k,Qe,Ve,Xe,I,E,v,D,C,r,h,n,f,o,j,L,_,c,ut]}class st extends e.SvelteComponent{constructor(t){super(),e.init(this,t,yt,ht,e.safe_not_equal,{endpoint:87,cmsendpoint:2,env:3,datasource:88,lang:89,session:90,userid:4,opsession:91,clientstyling:5,clientstylingurl:6,clockformat:7,lobbyid:8,currency:0,filteredcategories:9,userroles:10,translationurl:11,loginevent:12,registerevent:13,depositevent:14,shortcashierenabled:15,favorites:16,desktopoffset:92,mobileoffset:93,haspanicbutton:17,activecategory:1,actionevent:18,livecasino:19,playforfun:20,showgamename:21,gamemodal:22,playrandomgame:23,randomgameslider:24,visiblegames:25,integratedgameframedesktop:26,integratedgameframemobile:27,gamepagemodalurl:28,casinogamesgridslider:29,categoriesicon:30,lobbyiconimage:31,mygamesiconimage:32,positionwinnerswidget:33,tabsorder:34,enableautoscroll:35,istopavailable:36,isrecentavailable:37,periodrecent:38,periodtop:39,numberusersrecent:40,numberuserstop:41,amountlimit:42,defaultcurrency:43,positionjackpotbanners:44,caticon0:45,caticon1:46,caticon2:47,caticon3:48,backgroundsrc:49,backgroundsrcmobile:50,titlelogopath:51,iconlabels:52,showsubgroups:53,positioncollections:54,type:55,titletype:56,collectionprovidersgamenames:57,positioncasinocalendar:58,lastplayedperiod:59,mostplayedperiod:60,lastplayedorder:61,lastplayedlimit:62,lastplayedunique:63,mostplayed:64,mostplayedrounds:65,lastplayed:66,specificcategory:67,launchbygamecard:68,iconvisible:69,iconvisibleonanim:70,positionjelobbywidget:71,randombuttonicon:72,filteredrandomgamecategories:73,addfilterselector:74,addsortingselector:75,filterbylogo:76,winnersdatasources:77},rt,[-1,-1,-1,-1])}get endpoint(){return this.$$.ctx[87]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[2]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[3]}set env(t){this.$$set({env:t}),e.flush()}get datasource(){return this.$$.ctx[88]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[89]}set lang(t){this.$$set({lang:t}),e.flush()}get session(){return this.$$.ctx[90]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[4]}set userid(t){this.$$set({userid:t}),e.flush()}get opsession(){return this.$$.ctx[91]}set opsession(t){this.$$set({opsession:t}),e.flush()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get clockformat(){return this.$$.ctx[7]}set clockformat(t){this.$$set({clockformat:t}),e.flush()}get lobbyid(){return this.$$.ctx[8]}set lobbyid(t){this.$$set({lobbyid:t}),e.flush()}get currency(){return this.$$.ctx[0]}set currency(t){this.$$set({currency:t}),e.flush()}get filteredcategories(){return this.$$.ctx[9]}set filteredcategories(t){this.$$set({filteredcategories:t}),e.flush()}get userroles(){return this.$$.ctx[10]}set userroles(t){this.$$set({userroles:t}),e.flush()}get translationurl(){return this.$$.ctx[11]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get loginevent(){return this.$$.ctx[12]}set loginevent(t){this.$$set({loginevent:t}),e.flush()}get registerevent(){return this.$$.ctx[13]}set registerevent(t){this.$$set({registerevent:t}),e.flush()}get depositevent(){return this.$$.ctx[14]}set depositevent(t){this.$$set({depositevent:t}),e.flush()}get shortcashierenabled(){return this.$$.ctx[15]}set shortcashierenabled(t){this.$$set({shortcashierenabled:t}),e.flush()}get favorites(){return this.$$.ctx[16]}set favorites(t){this.$$set({favorites:t}),e.flush()}get desktopoffset(){return this.$$.ctx[92]}set desktopoffset(t){this.$$set({desktopoffset:t}),e.flush()}get mobileoffset(){return this.$$.ctx[93]}set mobileoffset(t){this.$$set({mobileoffset:t}),e.flush()}get haspanicbutton(){return this.$$.ctx[17]}set haspanicbutton(t){this.$$set({haspanicbutton:t}),e.flush()}get activecategory(){return this.$$.ctx[1]}set activecategory(t){this.$$set({activecategory:t}),e.flush()}get actionevent(){return this.$$.ctx[18]}set actionevent(t){this.$$set({actionevent:t}),e.flush()}get livecasino(){return this.$$.ctx[19]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get playforfun(){return this.$$.ctx[20]}set playforfun(t){this.$$set({playforfun:t}),e.flush()}get showgamename(){return this.$$.ctx[21]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get gamemodal(){return this.$$.ctx[22]}set gamemodal(t){this.$$set({gamemodal:t}),e.flush()}get playrandomgame(){return this.$$.ctx[23]}set playrandomgame(t){this.$$set({playrandomgame:t}),e.flush()}get randomgameslider(){return this.$$.ctx[24]}set randomgameslider(t){this.$$set({randomgameslider:t}),e.flush()}get visiblegames(){return this.$$.ctx[25]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[26]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[27]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[28]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get casinogamesgridslider(){return this.$$.ctx[29]}set casinogamesgridslider(t){this.$$set({casinogamesgridslider:t}),e.flush()}get categoriesicon(){return this.$$.ctx[30]}set categoriesicon(t){this.$$set({categoriesicon:t}),e.flush()}get lobbyiconimage(){return this.$$.ctx[31]}set lobbyiconimage(t){this.$$set({lobbyiconimage:t}),e.flush()}get mygamesiconimage(){return this.$$.ctx[32]}set mygamesiconimage(t){this.$$set({mygamesiconimage:t}),e.flush()}get positionwinnerswidget(){return this.$$.ctx[33]}set positionwinnerswidget(t){this.$$set({positionwinnerswidget:t}),e.flush()}get tabsorder(){return this.$$.ctx[34]}set tabsorder(t){this.$$set({tabsorder:t}),e.flush()}get enableautoscroll(){return this.$$.ctx[35]}set enableautoscroll(t){this.$$set({enableautoscroll:t}),e.flush()}get istopavailable(){return this.$$.ctx[36]}set istopavailable(t){this.$$set({istopavailable:t}),e.flush()}get isrecentavailable(){return this.$$.ctx[37]}set isrecentavailable(t){this.$$set({isrecentavailable:t}),e.flush()}get periodrecent(){return this.$$.ctx[38]}set periodrecent(t){this.$$set({periodrecent:t}),e.flush()}get periodtop(){return this.$$.ctx[39]}set periodtop(t){this.$$set({periodtop:t}),e.flush()}get numberusersrecent(){return this.$$.ctx[40]}set numberusersrecent(t){this.$$set({numberusersrecent:t}),e.flush()}get numberuserstop(){return this.$$.ctx[41]}set numberuserstop(t){this.$$set({numberuserstop:t}),e.flush()}get amountlimit(){return this.$$.ctx[42]}set amountlimit(t){this.$$set({amountlimit:t}),e.flush()}get defaultcurrency(){return this.$$.ctx[43]}set defaultcurrency(t){this.$$set({defaultcurrency:t}),e.flush()}get positionjackpotbanners(){return this.$$.ctx[44]}set positionjackpotbanners(t){this.$$set({positionjackpotbanners:t}),e.flush()}get caticon0(){return this.$$.ctx[45]}set caticon0(t){this.$$set({caticon0:t}),e.flush()}get caticon1(){return this.$$.ctx[46]}set caticon1(t){this.$$set({caticon1:t}),e.flush()}get caticon2(){return this.$$.ctx[47]}set caticon2(t){this.$$set({caticon2:t}),e.flush()}get caticon3(){return this.$$.ctx[48]}set caticon3(t){this.$$set({caticon3:t}),e.flush()}get backgroundsrc(){return this.$$.ctx[49]}set backgroundsrc(t){this.$$set({backgroundsrc:t}),e.flush()}get backgroundsrcmobile(){return this.$$.ctx[50]}set backgroundsrcmobile(t){this.$$set({backgroundsrcmobile:t}),e.flush()}get titlelogopath(){return this.$$.ctx[51]}set titlelogopath(t){this.$$set({titlelogopath:t}),e.flush()}get iconlabels(){return this.$$.ctx[52]}set iconlabels(t){this.$$set({iconlabels:t}),e.flush()}get showsubgroups(){return this.$$.ctx[53]}set showsubgroups(t){this.$$set({showsubgroups:t}),e.flush()}get positioncollections(){return this.$$.ctx[54]}set positioncollections(t){this.$$set({positioncollections:t}),e.flush()}get type(){return this.$$.ctx[55]}set type(t){this.$$set({type:t}),e.flush()}get titletype(){return this.$$.ctx[56]}set titletype(t){this.$$set({titletype:t}),e.flush()}get collectionprovidersgamenames(){return this.$$.ctx[57]}set collectionprovidersgamenames(t){this.$$set({collectionprovidersgamenames:t}),e.flush()}get positioncasinocalendar(){return this.$$.ctx[58]}set positioncasinocalendar(t){this.$$set({positioncasinocalendar:t}),e.flush()}get lastplayedperiod(){return this.$$.ctx[59]}set lastplayedperiod(t){this.$$set({lastplayedperiod:t}),e.flush()}get mostplayedperiod(){return this.$$.ctx[60]}set mostplayedperiod(t){this.$$set({mostplayedperiod:t}),e.flush()}get lastplayedorder(){return this.$$.ctx[61]}set lastplayedorder(t){this.$$set({lastplayedorder:t}),e.flush()}get lastplayedlimit(){return this.$$.ctx[62]}set lastplayedlimit(t){this.$$set({lastplayedlimit:t}),e.flush()}get lastplayedunique(){return this.$$.ctx[63]}set lastplayedunique(t){this.$$set({lastplayedunique:t}),e.flush()}get mostplayed(){return this.$$.ctx[64]}set mostplayed(t){this.$$set({mostplayed:t}),e.flush()}get mostplayedrounds(){return this.$$.ctx[65]}set mostplayedrounds(t){this.$$set({mostplayedrounds:t}),e.flush()}get lastplayed(){return this.$$.ctx[66]}set lastplayed(t){this.$$set({lastplayed:t}),e.flush()}get specificcategory(){return this.$$.ctx[67]}set specificcategory(t){this.$$set({specificcategory:t}),e.flush()}get launchbygamecard(){return this.$$.ctx[68]}set launchbygamecard(t){this.$$set({launchbygamecard:t}),e.flush()}get iconvisible(){return this.$$.ctx[69]}set iconvisible(t){this.$$set({iconvisible:t}),e.flush()}get iconvisibleonanim(){return this.$$.ctx[70]}set iconvisibleonanim(t){this.$$set({iconvisibleonanim:t}),e.flush()}get positionjelobbywidget(){return this.$$.ctx[71]}set positionjelobbywidget(t){this.$$set({positionjelobbywidget:t}),e.flush()}get randombuttonicon(){return this.$$.ctx[72]}set randombuttonicon(t){this.$$set({randombuttonicon:t}),e.flush()}get filteredrandomgamecategories(){return this.$$.ctx[73]}set filteredrandomgamecategories(t){this.$$set({filteredrandomgamecategories:t}),e.flush()}get addfilterselector(){return this.$$.ctx[74]}set addfilterselector(t){this.$$set({addfilterselector:t}),e.flush()}get addsortingselector(){return this.$$.ctx[75]}set addsortingselector(t){this.$$set({addsortingselector:t}),e.flush()}get filterbylogo(){return this.$$.ctx[76]}set filterbylogo(t){this.$$set({filterbylogo:t}),e.flush()}get winnersdatasources(){return this.$$.ctx[77]}set winnersdatasources(t){this.$$set({winnersdatasources:t}),e.flush()}}e.create_custom_element(st,{endpoint:{},cmsendpoint:{},env:{},datasource:{},lang:{},session:{},userid:{},opsession:{},clientstyling:{},clientstylingurl:{},clockformat:{},lobbyid:{},currency:{},filteredcategories:{},userroles:{},translationurl:{},loginevent:{},registerevent:{},depositevent:{},shortcashierenabled:{},favorites:{},desktopoffset:{},mobileoffset:{},haspanicbutton:{},activecategory:{},actionevent:{},livecasino:{},playforfun:{},showgamename:{},gamemodal:{},playrandomgame:{},randomgameslider:{},visiblegames:{},integratedgameframedesktop:{},integratedgameframemobile:{},gamepagemodalurl:{},casinogamesgridslider:{},categoriesicon:{},lobbyiconimage:{},mygamesiconimage:{},positionwinnerswidget:{},tabsorder:{},enableautoscroll:{},istopavailable:{},isrecentavailable:{},periodrecent:{},periodtop:{},numberusersrecent:{},numberuserstop:{},amountlimit:{},defaultcurrency:{},positionjackpotbanners:{},caticon0:{},caticon1:{},caticon2:{},caticon3:{},backgroundsrc:{},backgroundsrcmobile:{},titlelogopath:{},iconlabels:{},showsubgroups:{},positioncollections:{},type:{},titletype:{},collectionprovidersgamenames:{},positioncasinocalendar:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayed:{},mostplayedrounds:{},lastplayed:{},specificcategory:{},launchbygamecard:{},iconvisible:{},iconvisibleonanim:{},positionjelobbywidget:{},randombuttonicon:{},filteredrandomgamecategories:{},addfilterselector:{},addsortingselector:{},filterbylogo:{},winnersdatasources:{}},["content"],[],!0);exports.default=st;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-B3jjGeXh.cjs");function _t({withLocale:i,translations:t}){e.$locale.subscribe(a=>{a==null&&(e.$dictionary.set(t),e.$locale.set(i))})}function $e(i){e.$locale.set(i)}if(typeof window!="undefined"){let i=function(t){return function(...a){try{return t.apply(this,a)}catch(c){if(c instanceof DOMException&&c.message.includes("has already been used with this registry")||c.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw c}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CasinoCategoriesSlider-DI2g7-y8.cjs")).then(({default:t})=>{!customElements.get("casino-categories-slider")&&customElements.define("casino-categories-slider",t.element)})}if(typeof window!="undefined"){let i=function(t){return function(...a){try{return t.apply(this,a)}catch(c){if(c instanceof DOMException&&c.message.includes("has already been used with this registry")||c.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw c}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CasinoPage-BUf9o6ay.cjs")).then(({default:t})=>{!customElements.get("casino-page")&&customElements.define("casino-page",t.element)})}if(typeof window!="undefined"){let i=function(t){return function(...a){try{return t.apply(this,a)}catch(c){if(c instanceof DOMException&&c.message.includes("has already been used with this registry")||c.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw c}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CasinoModal-B71hMJhL.cjs")).then(({default:t})=>{!customElements.get("casino-modal")&&customElements.define("casino-modal",t.element)})}if(typeof window!="undefined"){let i=function(t){return function(...a){try{return t.apply(this,a)}catch(c){if(c instanceof DOMException&&c.message.includes("has already been used with this registry")||c.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw c}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CasinoGamePage-oxi03_5O.cjs")).then(t=>t.CasinoGamePage_ce).then(({default:t})=>{!customElements.get("casino-game-page")&&customElements.define("casino-game-page",t.element)})}function rt(i){e.append_styles(i,"svelte-1me4s20","*{margin:0;padding:0;box-sizing:border-box}.CasinoLobby{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));width:100%;margin:0 auto;min-height:100vh}.DisplayNone{display:none}.WidgetsSection{padding-bottom:40px}")}const dt=i=>({}),et=i=>({});function ft(i){let t,a,c,_,r,y,u,h,n,f,b,o;const w=i[95].content,g=e.create_slot(w,i,i[94],et);let d=i[22]=="true"&&tt(i);return{c(){t=e.element("div"),a=e.element("div"),c=e.element("div"),_=e.space(),r=e.element("div"),y=e.space(),u=e.element("casino-categories-slider"),h=e.space(),n=e.element("casino-page"),f=e.element("div"),g&&g.c(),b=e.space(),d&&d.c(),e.attr(c,"class","HeaderPlaceholder"),e.set_style(c,"height",i[86]+"px"),e.attr(r,"class","ScrollTop"),e.set_custom_element_data(u,"endpoint",i[79]),e.set_custom_element_data(u,"datasource",i[80]),e.set_custom_element_data(u,"lang",i[81]),e.set_custom_element_data(u,"session",i[85]),e.set_custom_element_data(u,"userid",i[4]),e.set_custom_element_data(u,"sessioncheck","false"),e.set_custom_element_data(u,"actionevent",i[18]),e.set_custom_element_data(u,"filteredcategories",i[9]),e.set_custom_element_data(u,"mostplayed",i[64]),e.set_custom_element_data(u,"lastplayed",i[66]),e.set_custom_element_data(u,"favorites",i[16]),e.set_custom_element_data(u,"activecategory",i[1]),e.set_custom_element_data(u,"translationurl",i[11]),e.set_custom_element_data(u,"clientstyling",i[5]),e.set_custom_element_data(u,"clientstylingurl",i[6]),e.set_custom_element_data(u,"location","secondaryMenu"),e.set_custom_element_data(u,"showsubgroups",i[53]),e.set_custom_element_data(u,"categoriesicon",i[30]),e.set_custom_element_data(u,"lobbyiconimage",i[31]),e.set_custom_element_data(u,"mygamesiconimage",i[32]),e.attr(f,"slot","je-jackpots-widget"),e.set_custom_element_data(n,"session",i[85]),e.set_custom_element_data(n,"userid",i[4]),e.set_custom_element_data(n,"endpoint",i[79]),e.set_custom_element_data(n,"datasource",i[80]),e.set_custom_element_data(n,"lang",i[81]),e.set_custom_element_data(n,"showgamename",i[21]),e.set_custom_element_data(n,"cmsendpoint",i[2]),e.set_custom_element_data(n,"env",i[3]),e.set_custom_element_data(n,"translationurl",i[11]),e.set_custom_element_data(n,"visiblegames",i[25]),e.set_custom_element_data(n,"playrandomgame",i[23]),e.set_custom_element_data(n,"randomgameslider",i[24]),e.set_custom_element_data(n,"specificcategory",i[67]),e.set_custom_element_data(n,"launchbygamecard",i[68]),e.set_custom_element_data(n,"iconvisible",i[69]),e.set_custom_element_data(n,"iconvisibleonanim",i[70]),e.set_custom_element_data(n,"activecategory",i[1]),e.set_custom_element_data(n,"favorites",i[16]),e.set_custom_element_data(n,"clientstyling",i[5]),e.set_custom_element_data(n,"clientstylingurl",i[6]),e.set_custom_element_data(n,"lobbyid",i[8]),e.set_custom_element_data(n,"haspanicbutton",i[17]),e.set_custom_element_data(n,"livecasino",i[19]),e.set_custom_element_data(n,"currency",i[0]),e.set_custom_element_data(n,"filteredcategories",i[9]),e.set_custom_element_data(n,"gamepagemodalurl",i[28]),e.set_custom_element_data(n,"randombuttonicon",i[72]),e.set_custom_element_data(n,"positioncasinocalendar",i[58]),e.set_custom_element_data(n,"filteredrandomgamecategories",i[73]),e.set_custom_element_data(n,"positionwinnerswidget",i[33]),e.set_custom_element_data(n,"periodrecent",i[38]),e.set_custom_element_data(n,"periodtop",i[39]),e.set_custom_element_data(n,"userroles",i[10]),e.set_custom_element_data(n,"numberusersrecent",i[40]),e.set_custom_element_data(n,"numberuserstop",i[41]),e.set_custom_element_data(n,"amountlimit",i[42]),e.set_custom_element_data(n,"isrecentavailable",i[37]),e.set_custom_element_data(n,"istopavailable",i[36]),e.set_custom_element_data(n,"integratedgameframedesktop",i[26]),e.set_custom_element_data(n,"integratedgameframemobile",i[27]),e.set_custom_element_data(n,"defaultcurrency",i[43]),e.set_custom_element_data(n,"enableautoscroll",i[35]),e.set_custom_element_data(n,"collectionprovidersgamenames",i[57]),e.set_custom_element_data(n,"tabsorder",i[34]),e.set_custom_element_data(n,"positionjackpotbanners",i[44]),e.set_custom_element_data(n,"backgroundsrc",i[49]),e.set_custom_element_data(n,"backgroundsrcmobile",i[50]),e.set_custom_element_data(n,"titlelogopath",i[51]),e.set_custom_element_data(n,"caticon0",i[45]),e.set_custom_element_data(n,"caticon1",i[46]),e.set_custom_element_data(n,"caticon2",i[47]),e.set_custom_element_data(n,"caticon3",i[48]),e.set_custom_element_data(n,"iconlabels",i[52]),e.set_custom_element_data(n,"positioncollections",i[54]),e.set_custom_element_data(n,"type",i[55]),e.set_custom_element_data(n,"titletype",i[56]),e.set_custom_element_data(n,"casinomygames",bt),e.set_custom_element_data(n,"filterbylogo",i[76]),e.set_custom_element_data(n,"addfilterselector",i[74]),e.set_custom_element_data(n,"addsortingselector",i[75]),e.set_custom_element_data(n,"lastplayedunique",i[63]),e.set_custom_element_data(n,"lastplayedlimit",i[62]),e.set_custom_element_data(n,"lastplayedorder",i[61]),e.set_custom_element_data(n,"mostplayedrounds",i[65]),e.set_custom_element_data(n,"mostplayed",i[64]),e.set_custom_element_data(n,"lastplayed",i[66]),e.set_custom_element_data(n,"lastplayedperiod",i[59]),e.set_custom_element_data(n,"mostplayedperiod",i[60]),e.set_custom_element_data(n,"showsubgroups",i[53]),e.set_custom_element_data(n,"winnersdatasources",i[77]),e.set_custom_element_data(n,"casinogamesgridslider",i[29]),e.set_custom_element_data(n,"positionjelobbywidget",i[71]),e.attr(a,"class","WidgetsSection"),e.attr(t,"class","CasinoLobby")},m(l,m){e.insert(l,t,m),e.append(t,a),e.append(a,c),e.append(a,_),e.append(a,r),e.append(a,y),e.append(a,u),e.append(a,h),e.append(a,n),e.append(n,f),g&&g.m(f,null),e.append(a,b),d&&d.m(a,null),o=!0},p(l,m){(!o||m[2]&16777216)&&e.set_style(c,"height",l[86]+"px"),(!o||m[2]&131072)&&e.set_custom_element_data(u,"endpoint",l[79]),(!o||m[2]&262144)&&e.set_custom_element_data(u,"datasource",l[80]),(!o||m[2]&524288)&&e.set_custom_element_data(u,"lang",l[81]),(!o||m[2]&8388608)&&e.set_custom_element_data(u,"session",l[85]),(!o||m[0]&16)&&e.set_custom_element_data(u,"userid",l[4]),(!o||m[0]&262144)&&e.set_custom_element_data(u,"actionevent",l[18]),(!o||m[0]&512)&&e.set_custom_element_data(u,"filteredcategories",l[9]),(!o||m[2]&4)&&e.set_custom_element_data(u,"mostplayed",l[64]),(!o||m[2]&16)&&e.set_custom_element_data(u,"lastplayed",l[66]),(!o||m[0]&65536)&&e.set_custom_element_data(u,"favorites",l[16]),(!o||m[0]&2)&&e.set_custom_element_data(u,"activecategory",l[1]),(!o||m[0]&2048)&&e.set_custom_element_data(u,"translationurl",l[11]),(!o||m[0]&32)&&e.set_custom_element_data(u,"clientstyling",l[5]),(!o||m[0]&64)&&e.set_custom_element_data(u,"clientstylingurl",l[6]),(!o||m[1]&4194304)&&e.set_custom_element_data(u,"showsubgroups",l[53]),(!o||m[0]&1073741824)&&e.set_custom_element_data(u,"categoriesicon",l[30]),(!o||m[1]&1)&&e.set_custom_element_data(u,"lobbyiconimage",l[31]),(!o||m[1]&2)&&e.set_custom_element_data(u,"mygamesiconimage",l[32]),g&&g.p&&(!o||m[3]&2)&&e.update_slot_base(g,w,l,l[94],o?e.get_slot_changes(w,l[94],m,dt):e.get_all_dirty_from_scope(l[94]),et),(!o||m[2]&8388608)&&e.set_custom_element_data(n,"session",l[85]),(!o||m[0]&16)&&e.set_custom_element_data(n,"userid",l[4]),(!o||m[2]&131072)&&e.set_custom_element_data(n,"endpoint",l[79]),(!o||m[2]&262144)&&e.set_custom_element_data(n,"datasource",l[80]),(!o||m[2]&524288)&&e.set_custom_element_data(n,"lang",l[81]),(!o||m[0]&2097152)&&e.set_custom_element_data(n,"showgamename",l[21]),(!o||m[0]&4)&&e.set_custom_element_data(n,"cmsendpoint",l[2]),(!o||m[0]&8)&&e.set_custom_element_data(n,"env",l[3]),(!o||m[0]&2048)&&e.set_custom_element_data(n,"translationurl",l[11]),(!o||m[0]&33554432)&&e.set_custom_element_data(n,"visiblegames",l[25]),(!o||m[0]&8388608)&&e.set_custom_element_data(n,"playrandomgame",l[23]),(!o||m[0]&16777216)&&e.set_custom_element_data(n,"randomgameslider",l[24]),(!o||m[2]&32)&&e.set_custom_element_data(n,"specificcategory",l[67]),(!o||m[2]&64)&&e.set_custom_element_data(n,"launchbygamecard",l[68]),(!o||m[2]&128)&&e.set_custom_element_data(n,"iconvisible",l[69]),(!o||m[2]&256)&&e.set_custom_element_data(n,"iconvisibleonanim",l[70]),(!o||m[0]&2)&&e.set_custom_element_data(n,"activecategory",l[1]),(!o||m[0]&65536)&&e.set_custom_element_data(n,"favorites",l[16]),(!o||m[0]&32)&&e.set_custom_element_data(n,"clientstyling",l[5]),(!o||m[0]&64)&&e.set_custom_element_data(n,"clientstylingurl",l[6]),(!o||m[0]&256)&&e.set_custom_element_data(n,"lobbyid",l[8]),(!o||m[0]&131072)&&e.set_custom_element_data(n,"haspanicbutton",l[17]),(!o||m[0]&524288)&&e.set_custom_element_data(n,"livecasino",l[19]),(!o||m[0]&1)&&e.set_custom_element_data(n,"currency",l[0]),(!o||m[0]&512)&&e.set_custom_element_data(n,"filteredcategories",l[9]),(!o||m[0]&268435456)&&e.set_custom_element_data(n,"gamepagemodalurl",l[28]),(!o||m[2]&1024)&&e.set_custom_element_data(n,"randombuttonicon",l[72]),(!o||m[1]&134217728)&&e.set_custom_element_data(n,"positioncasinocalendar",l[58]),(!o||m[2]&2048)&&e.set_custom_element_data(n,"filteredrandomgamecategories",l[73]),(!o||m[1]&4)&&e.set_custom_element_data(n,"positionwinnerswidget",l[33]),(!o||m[1]&128)&&e.set_custom_element_data(n,"periodrecent",l[38]),(!o||m[1]&256)&&e.set_custom_element_data(n,"periodtop",l[39]),(!o||m[0]&1024)&&e.set_custom_element_data(n,"userroles",l[10]),(!o||m[1]&512)&&e.set_custom_element_data(n,"numberusersrecent",l[40]),(!o||m[1]&1024)&&e.set_custom_element_data(n,"numberuserstop",l[41]),(!o||m[1]&2048)&&e.set_custom_element_data(n,"amountlimit",l[42]),(!o||m[1]&64)&&e.set_custom_element_data(n,"isrecentavailable",l[37]),(!o||m[1]&32)&&e.set_custom_element_data(n,"istopavailable",l[36]),(!o||m[0]&67108864)&&e.set_custom_element_data(n,"integratedgameframedesktop",l[26]),(!o||m[0]&134217728)&&e.set_custom_element_data(n,"integratedgameframemobile",l[27]),(!o||m[1]&4096)&&e.set_custom_element_data(n,"defaultcurrency",l[43]),(!o||m[1]&16)&&e.set_custom_element_data(n,"enableautoscroll",l[35]),(!o||m[1]&67108864)&&e.set_custom_element_data(n,"collectionprovidersgamenames",l[57]),(!o||m[1]&8)&&e.set_custom_element_data(n,"tabsorder",l[34]),(!o||m[1]&8192)&&e.set_custom_element_data(n,"positionjackpotbanners",l[44]),(!o||m[1]&262144)&&e.set_custom_element_data(n,"backgroundsrc",l[49]),(!o||m[1]&524288)&&e.set_custom_element_data(n,"backgroundsrcmobile",l[50]),(!o||m[1]&1048576)&&e.set_custom_element_data(n,"titlelogopath",l[51]),(!o||m[1]&16384)&&e.set_custom_element_data(n,"caticon0",l[45]),(!o||m[1]&32768)&&e.set_custom_element_data(n,"caticon1",l[46]),(!o||m[1]&65536)&&e.set_custom_element_data(n,"caticon2",l[47]),(!o||m[1]&131072)&&e.set_custom_element_data(n,"caticon3",l[48]),(!o||m[1]&2097152)&&e.set_custom_element_data(n,"iconlabels",l[52]),(!o||m[1]&8388608)&&e.set_custom_element_data(n,"positioncollections",l[54]),(!o||m[1]&16777216)&&e.set_custom_element_data(n,"type",l[55]),(!o||m[1]&33554432)&&e.set_custom_element_data(n,"titletype",l[56]),(!o||m[2]&16384)&&e.set_custom_element_data(n,"filterbylogo",l[76]),(!o||m[2]&4096)&&e.set_custom_element_data(n,"addfilterselector",l[74]),(!o||m[2]&8192)&&e.set_custom_element_data(n,"addsortingselector",l[75]),(!o||m[2]&2)&&e.set_custom_element_data(n,"lastplayedunique",l[63]),(!o||m[2]&1)&&e.set_custom_element_data(n,"lastplayedlimit",l[62]),(!o||m[1]&1073741824)&&e.set_custom_element_data(n,"lastplayedorder",l[61]),(!o||m[2]&8)&&e.set_custom_element_data(n,"mostplayedrounds",l[65]),(!o||m[2]&4)&&e.set_custom_element_data(n,"mostplayed",l[64]),(!o||m[2]&16)&&e.set_custom_element_data(n,"lastplayed",l[66]),(!o||m[1]&268435456)&&e.set_custom_element_data(n,"lastplayedperiod",l[59]),(!o||m[1]&536870912)&&e.set_custom_element_data(n,"mostplayedperiod",l[60]),(!o||m[1]&4194304)&&e.set_custom_element_data(n,"showsubgroups",l[53]),(!o||m[2]&32768)&&e.set_custom_element_data(n,"winnersdatasources",l[77]),(!o||m[0]&536870912)&&e.set_custom_element_data(n,"casinogamesgridslider",l[29]),(!o||m[2]&512)&&e.set_custom_element_data(n,"positionjelobbywidget",l[71]),l[22]=="true"?d?d.p(l,m):(d=tt(l),d.c(),d.m(a,null)):d&&(d.d(1),d=null)},i(l){o||(e.transition_in(g,l),o=!0)},o(l){e.transition_out(g,l),o=!1},d(l){l&&e.detach(t),g&&g.d(l),d&&d.d()}}}function gt(i){let t,a;return{c(){t=e.element("p"),a=e.text(i[84]),e.set_style(t,"color","var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))")},m(c,_){e.insert(c,t,_),e.append(t,a)},p(c,_){_[2]&4194304&&e.set_data(a,c[84])},i:e.noop,o:e.noop,d(c){c&&e.detach(t)}}}function tt(i){let t,a;return{c(){t=e.element("casino-modal"),a=e.element("casino-game-page"),e.set_custom_element_data(a,"session",i[85]),e.set_custom_element_data(a,"userid",i[4]),e.set_custom_element_data(a,"endpoint",i[79]),e.set_custom_element_data(a,"datasource",i[80]),e.set_custom_element_data(a,"lang",i[81]),e.set_custom_element_data(a,"loginevent",i[12]),e.set_custom_element_data(a,"registerevent",i[13]),e.set_custom_element_data(a,"depositevent",i[14]),e.set_custom_element_data(a,"checksession","false"),e.set_custom_element_data(a,"playforfun",i[20]),e.set_custom_element_data(a,"translationurl",i[11]),e.set_custom_element_data(a,"shortcashierenabled",i[15]),e.set_custom_element_data(a,"favorites",i[16]),e.set_custom_element_data(a,"clientstyling",i[5]),e.set_custom_element_data(a,"clientstylingurl",i[6]),e.set_custom_element_data(a,"clockformat",i[7]),e.set_custom_element_data(a,"haspanicbutton",i[17]),e.set_custom_element_data(a,"currency",i[0]),e.set_custom_element_data(a,"integratedgameframedesktop",i[26]),e.set_custom_element_data(a,"integratedgameframemobile",i[27]),e.set_custom_element_data(t,"session",i[85]),e.set_custom_element_data(t,"userid",i[4]),e.set_custom_element_data(t,"endpoint",i[79]),e.set_custom_element_data(t,"datasource",i[80]),e.set_custom_element_data(t,"lang",i[81]),e.set_custom_element_data(t,"sessioncheck","false"),e.set_custom_element_data(t,"translationurl",i[11]),e.set_custom_element_data(t,"clientstyling",i[5]),e.set_custom_element_data(t,"clientstylingurl",i[6]),e.set_custom_element_data(t,"gamepagemodalurl",i[28]),e.set_custom_element_data(t,"haspanicbutton",i[17]),e.set_custom_element_data(t,"integratedgameframedesktop",i[26]),e.set_custom_element_data(t,"identifier","Lobby")},m(c,_){e.insert(c,t,_),e.append(t,a)},p(c,_){_[2]&8388608&&e.set_custom_element_data(a,"session",c[85]),_[0]&16&&e.set_custom_element_data(a,"userid",c[4]),_[2]&131072&&e.set_custom_element_data(a,"endpoint",c[79]),_[2]&262144&&e.set_custom_element_data(a,"datasource",c[80]),_[2]&524288&&e.set_custom_element_data(a,"lang",c[81]),_[0]&4096&&e.set_custom_element_data(a,"loginevent",c[12]),_[0]&8192&&e.set_custom_element_data(a,"registerevent",c[13]),_[0]&16384&&e.set_custom_element_data(a,"depositevent",c[14]),_[0]&1048576&&e.set_custom_element_data(a,"playforfun",c[20]),_[0]&2048&&e.set_custom_element_data(a,"translationurl",c[11]),_[0]&32768&&e.set_custom_element_data(a,"shortcashierenabled",c[15]),_[0]&65536&&e.set_custom_element_data(a,"favorites",c[16]),_[0]&32&&e.set_custom_element_data(a,"clientstyling",c[5]),_[0]&64&&e.set_custom_element_data(a,"clientstylingurl",c[6]),_[0]&128&&e.set_custom_element_data(a,"clockformat",c[7]),_[0]&131072&&e.set_custom_element_data(a,"haspanicbutton",c[17]),_[0]&1&&e.set_custom_element_data(a,"currency",c[0]),_[0]&67108864&&e.set_custom_element_data(a,"integratedgameframedesktop",c[26]),_[0]&134217728&&e.set_custom_element_data(a,"integratedgameframemobile",c[27]),_[2]&8388608&&e.set_custom_element_data(t,"session",c[85]),_[0]&16&&e.set_custom_element_data(t,"userid",c[4]),_[2]&131072&&e.set_custom_element_data(t,"endpoint",c[79]),_[2]&262144&&e.set_custom_element_data(t,"datasource",c[80]),_[2]&524288&&e.set_custom_element_data(t,"lang",c[81]),_[0]&2048&&e.set_custom_element_data(t,"translationurl",c[11]),_[0]&32&&e.set_custom_element_data(t,"clientstyling",c[5]),_[0]&64&&e.set_custom_element_data(t,"clientstylingurl",c[6]),_[0]&268435456&&e.set_custom_element_data(t,"gamepagemodalurl",c[28]),_[0]&131072&&e.set_custom_element_data(t,"haspanicbutton",c[17]),_[0]&67108864&&e.set_custom_element_data(t,"integratedgameframedesktop",c[26])},d(c){c&&e.detach(t)}}}function ht(i){let t,a,c,_,r;const y=[gt,ft],u=[];function h(n,f){return n[83]?0:1}return a=h(i),c=u[a]=y[a](i),{c(){t=e.element("div"),c.c(),e.attr(t,"class",_=i[82]?"DisplayNone":"")},m(n,f){e.insert(n,t,f),u[a].m(t,null),i[96](t),r=!0},p(n,f){let b=a;a=h(n),a===b?u[a].p(n,f):(e.group_outros(),e.transition_out(u[b],1,1,()=>{u[b]=null}),e.check_outros(),c=u[a],c?c.p(n,f):(c=u[a]=y[a](n),c.c()),e.transition_in(c,1),c.m(t,null)),(!r||f[2]&1048576&&_!==(_=n[82]?"DisplayNone":""))&&e.attr(t,"class",_)},i(n){r||(e.transition_in(c),r=!0)},o(n){e.transition_out(c),r=!1},d(n){n&&e.detach(t),u[a].d(),i[96](null)}}}let bt="false";function yt(i,t,a){let{$$slots:c={},$$scope:_}=t,{endpoint:r=""}=t,{cmsendpoint:y="https://wt1-stage.everymatrix.com/apijson"}=t,{env:u=""}=t,{datasource:h=""}=t,{lang:n=""}=t,{session:f=""}=t,{userid:b=""}=t,{opsession:o=""}=t,{clientstyling:w=""}=t,{clientstylingurl:g=""}=t,{clockformat:d=""}=t,{lobbyid:l=""}=t,{currency:m=""}=t,{filteredcategories:U=""}=t,{userroles:A=""}=t,{translationurl:R=""}=t,{loginevent:G=""}=t,{registerevent:H=""}=t,{depositevent:N=""}=t,{shortcashierenabled:W=""}=t,{favorites:S=""}=t,{desktopoffset:j="0"}=t,{mobileoffset:L="0"}=t,{haspanicbutton:z="false"}=t,{activecategory:q="LOBBY"}=t,{actionevent:B="CategoryChange"}=t,{livecasino:Y="false"}=t,{playforfun:J="true"}=t,{showgamename:K="false"}=t,{gamemodal:Q="true"}=t,{playrandomgame:V="false"}=t,{randomgameslider:X="false"}=t,{visiblegames:Z="10"}=t,{integratedgameframedesktop:p="false"}=t,{integratedgameframemobile:x="false"}=t,{gamepagemodalurl:$="false"}=t,{casinogamesgridslider:ee="false"}=t,{categoriesicon:te="false"}=t,{lobbyiconimage:se=""}=t,{mygamesiconimage:ae=""}=t,{positionwinnerswidget:ne=""}=t,{tabsorder:ie=""}=t,{enableautoscroll:le=""}=t,{istopavailable:oe=""}=t,{isrecentavailable:me=""}=t,{periodrecent:ce=""}=t,{periodtop:ue=""}=t,{numberusersrecent:_e=""}=t,{numberuserstop:re=""}=t,{amountlimit:de=""}=t,{defaultcurrency:fe=""}=t,{positionjackpotbanners:ge=""}=t,{caticon0:he=""}=t,{caticon1:be=""}=t,{caticon2:ye=""}=t,{caticon3:we=""}=t,{backgroundsrc:ke=""}=t,{backgroundsrcmobile:ve=""}=t,{titlelogopath:Ee=""}=t,{iconlabels:Ce=""}=t,{showsubgroups:je="false"}=t,{positioncollections:Le=""}=t,{type:De=""}=t,{titletype:Se=""}=t,{collectionprovidersgamenames:qe=""}=t,{positioncasinocalendar:Me=""}=t,{lastplayedperiod:Pe="Last30Days"}=t,{mostplayedperiod:Ie="Last30Days"}=t,{lastplayedorder:Te=""}=t,{lastplayedlimit:Fe=""}=t,{lastplayedunique:Oe="true"}=t,{mostplayed:M=""}=t,{mostplayedrounds:Ue=""}=t,{lastplayed:P="false"}=t,{specificcategory:Ae=""}=t,{launchbygamecard:Re=""}=t,{iconvisible:Ge=""}=t,{iconvisibleonanim:He=""}=t,{positionjelobbywidget:Ne=""}=t,{randombuttonicon:We=""}=t,{filteredrandomgamecategories:ze=""}=t,{addfilterselector:Be="false"}=t,{addsortingselector:Ye="false"}=t,{filterbylogo:Je="false"}=t,{winnersdatasources:Ke=""}=t,Qe,Ve,Xe,I=!1,E=!1,v="Loading, please wait ...",D="",T=window.navigator.userAgent,F=!1,C=0,Ze=!1,k;_t({withLocale:"en",translations:{}});const pe=s=>{if(s.data)switch(s.data.type){case"searchCancelled":F=!0;break;case"WidgetTopReference":Ze=s.data.scrollTop,Ze&&(C||a(86,C=e.getDevice(T)==="PC"?parseInt(j):parseInt(L)),!F&&window.scrollTo({top:C}),F=!1);break;case"OpenGameFrame":window.postMessage({type:"ShowGameModal",gameId:s.data.gameId,isMobile:e.isMobile(T),gamefunmode:s.data.gamefunmode,gamepagemodalurl:s.data.gamepagemodalurl,identifier:"Lobby"},window.location.href);break;case"UserSessionID":a(85,D=s.data.session),s.data.userID;break;case"CategoryChange":a(1,q=s.data.itemId);break}},at=()=>(r||(a(84,v="Endpoint is missing! Please provide a valid endpointURL."),a(83,E=!0),console.error(v)),h||(a(84,v="Datasource is missing! Please provide a valid datasource."),a(83,E=!0),console.error(v)),(!n||n.length<2)&&(a(84,v="Language is missing! Please provide a valid language (alpha2code)"),a(83,E=!0),console.error(v)),E),nt=()=>{$e(n)},it=()=>{at(),$e(n),a(79,Qe=r),a(80,Ve=h),a(81,Xe=n),a(83,E=!1)},lt=()=>{e.checkSession(r,f).then(s=>{a(85,D=s.Guid),s.UserID,a(0,m=s.Currency)},s=>{console.error("Error while checking the session - ",s)})},ot=()=>{a(85,D=o)},mt=()=>{let s=document.createElement("style");s.innerHTML=w,k.appendChild(s)},ct=()=>{a(82,I=!0);let s=new URL(g),xe=document.createElement("style");fetch(s.href).then(O=>O.text()).then(O=>{xe.innerHTML=O,k&&(setTimeout(()=>{k.appendChild(xe)},1),setTimeout(()=>{a(82,I=!1)},500))})};e.onMount(()=>(window.addEventListener("message",pe,!1),a(86,C=e.getDevice(T)==="PC"?parseInt(j):parseInt(L)),()=>{window.removeEventListener("message",pe)}));function ut(s){e.binding_callbacks[s?"unshift":"push"](()=>{k=s,a(78,k)})}return i.$$set=s=>{"endpoint"in s&&a(87,r=s.endpoint),"cmsendpoint"in s&&a(2,y=s.cmsendpoint),"env"in s&&a(3,u=s.env),"datasource"in s&&a(88,h=s.datasource),"lang"in s&&a(89,n=s.lang),"session"in s&&a(90,f=s.session),"userid"in s&&a(4,b=s.userid),"opsession"in s&&a(91,o=s.opsession),"clientstyling"in s&&a(5,w=s.clientstyling),"clientstylingurl"in s&&a(6,g=s.clientstylingurl),"clockformat"in s&&a(7,d=s.clockformat),"lobbyid"in s&&a(8,l=s.lobbyid),"currency"in s&&a(0,m=s.currency),"filteredcategories"in s&&a(9,U=s.filteredcategories),"userroles"in s&&a(10,A=s.userroles),"translationurl"in s&&a(11,R=s.translationurl),"loginevent"in s&&a(12,G=s.loginevent),"registerevent"in s&&a(13,H=s.registerevent),"depositevent"in s&&a(14,N=s.depositevent),"shortcashierenabled"in s&&a(15,W=s.shortcashierenabled),"favorites"in s&&a(16,S=s.favorites),"desktopoffset"in s&&a(92,j=s.desktopoffset),"mobileoffset"in s&&a(93,L=s.mobileoffset),"haspanicbutton"in s&&a(17,z=s.haspanicbutton),"activecategory"in s&&a(1,q=s.activecategory),"actionevent"in s&&a(18,B=s.actionevent),"livecasino"in s&&a(19,Y=s.livecasino),"playforfun"in s&&a(20,J=s.playforfun),"showgamename"in s&&a(21,K=s.showgamename),"gamemodal"in s&&a(22,Q=s.gamemodal),"playrandomgame"in s&&a(23,V=s.playrandomgame),"randomgameslider"in s&&a(24,X=s.randomgameslider),"visiblegames"in s&&a(25,Z=s.visiblegames),"integratedgameframedesktop"in s&&a(26,p=s.integratedgameframedesktop),"integratedgameframemobile"in s&&a(27,x=s.integratedgameframemobile),"gamepagemodalurl"in s&&a(28,$=s.gamepagemodalurl),"casinogamesgridslider"in s&&a(29,ee=s.casinogamesgridslider),"categoriesicon"in s&&a(30,te=s.categoriesicon),"lobbyiconimage"in s&&a(31,se=s.lobbyiconimage),"mygamesiconimage"in s&&a(32,ae=s.mygamesiconimage),"positionwinnerswidget"in s&&a(33,ne=s.positionwinnerswidget),"tabsorder"in s&&a(34,ie=s.tabsorder),"enableautoscroll"in s&&a(35,le=s.enableautoscroll),"istopavailable"in s&&a(36,oe=s.istopavailable),"isrecentavailable"in s&&a(37,me=s.isrecentavailable),"periodrecent"in s&&a(38,ce=s.periodrecent),"periodtop"in s&&a(39,ue=s.periodtop),"numberusersrecent"in s&&a(40,_e=s.numberusersrecent),"numberuserstop"in s&&a(41,re=s.numberuserstop),"amountlimit"in s&&a(42,de=s.amountlimit),"defaultcurrency"in s&&a(43,fe=s.defaultcurrency),"positionjackpotbanners"in s&&a(44,ge=s.positionjackpotbanners),"caticon0"in s&&a(45,he=s.caticon0),"caticon1"in s&&a(46,be=s.caticon1),"caticon2"in s&&a(47,ye=s.caticon2),"caticon3"in s&&a(48,we=s.caticon3),"backgroundsrc"in s&&a(49,ke=s.backgroundsrc),"backgroundsrcmobile"in s&&a(50,ve=s.backgroundsrcmobile),"titlelogopath"in s&&a(51,Ee=s.titlelogopath),"iconlabels"in s&&a(52,Ce=s.iconlabels),"showsubgroups"in s&&a(53,je=s.showsubgroups),"positioncollections"in s&&a(54,Le=s.positioncollections),"type"in s&&a(55,De=s.type),"titletype"in s&&a(56,Se=s.titletype),"collectionprovidersgamenames"in s&&a(57,qe=s.collectionprovidersgamenames),"positioncasinocalendar"in s&&a(58,Me=s.positioncasinocalendar),"lastplayedperiod"in s&&a(59,Pe=s.lastplayedperiod),"mostplayedperiod"in s&&a(60,Ie=s.mostplayedperiod),"lastplayedorder"in s&&a(61,Te=s.lastplayedorder),"lastplayedlimit"in s&&a(62,Fe=s.lastplayedlimit),"lastplayedunique"in s&&a(63,Oe=s.lastplayedunique),"mostplayed"in s&&a(64,M=s.mostplayed),"mostplayedrounds"in s&&a(65,Ue=s.mostplayedrounds),"lastplayed"in s&&a(66,P=s.lastplayed),"specificcategory"in s&&a(67,Ae=s.specificcategory),"launchbygamecard"in s&&a(68,Re=s.launchbygamecard),"iconvisible"in s&&a(69,Ge=s.iconvisible),"iconvisibleonanim"in s&&a(70,He=s.iconvisibleonanim),"positionjelobbywidget"in s&&a(71,Ne=s.positionjelobbywidget),"randombuttonicon"in s&&a(72,We=s.randombuttonicon),"filteredrandomgamecategories"in s&&a(73,ze=s.filteredrandomgamecategories),"addfilterselector"in s&&a(74,Be=s.addfilterselector),"addsortingselector"in s&&a(75,Ye=s.addsortingselector),"filterbylogo"in s&&a(76,Je=s.filterbylogo),"winnersdatasources"in s&&a(77,Ke=s.winnersdatasources),"$$scope"in s&&a(94,_=s.$$scope)},i.$$.update=()=>{i.$$.dirty[2]&134217728&&n&&nt(),i.$$.dirty[0]&16|i.$$.dirty[2]&301989888&&f&&b&&r&&lt(),i.$$.dirty[0]&65536|i.$$.dirty[2]&234881044&&r&&h&&n&&M&&P&&S&&it(),i.$$.dirty[2]&536870912&&o&&ot(),i.$$.dirty[0]&32|i.$$.dirty[2]&65536&&w&&k&&mt(),i.$$.dirty[0]&64|i.$$.dirty[2]&65536&&g&&k&&ct()},[m,q,y,u,b,w,g,d,l,U,A,R,G,H,N,W,S,z,B,Y,J,K,Q,V,X,Z,p,x,$,ee,te,se,ae,ne,ie,le,oe,me,ce,ue,_e,re,de,fe,ge,he,be,ye,we,ke,ve,Ee,Ce,je,Le,De,Se,qe,Me,Pe,Ie,Te,Fe,Oe,M,Ue,P,Ae,Re,Ge,He,Ne,We,ze,Be,Ye,Je,Ke,k,Qe,Ve,Xe,I,E,v,D,C,r,h,n,f,o,j,L,_,c,ut]}class st extends e.SvelteComponent{constructor(t){super(),e.init(this,t,yt,ht,e.safe_not_equal,{endpoint:87,cmsendpoint:2,env:3,datasource:88,lang:89,session:90,userid:4,opsession:91,clientstyling:5,clientstylingurl:6,clockformat:7,lobbyid:8,currency:0,filteredcategories:9,userroles:10,translationurl:11,loginevent:12,registerevent:13,depositevent:14,shortcashierenabled:15,favorites:16,desktopoffset:92,mobileoffset:93,haspanicbutton:17,activecategory:1,actionevent:18,livecasino:19,playforfun:20,showgamename:21,gamemodal:22,playrandomgame:23,randomgameslider:24,visiblegames:25,integratedgameframedesktop:26,integratedgameframemobile:27,gamepagemodalurl:28,casinogamesgridslider:29,categoriesicon:30,lobbyiconimage:31,mygamesiconimage:32,positionwinnerswidget:33,tabsorder:34,enableautoscroll:35,istopavailable:36,isrecentavailable:37,periodrecent:38,periodtop:39,numberusersrecent:40,numberuserstop:41,amountlimit:42,defaultcurrency:43,positionjackpotbanners:44,caticon0:45,caticon1:46,caticon2:47,caticon3:48,backgroundsrc:49,backgroundsrcmobile:50,titlelogopath:51,iconlabels:52,showsubgroups:53,positioncollections:54,type:55,titletype:56,collectionprovidersgamenames:57,positioncasinocalendar:58,lastplayedperiod:59,mostplayedperiod:60,lastplayedorder:61,lastplayedlimit:62,lastplayedunique:63,mostplayed:64,mostplayedrounds:65,lastplayed:66,specificcategory:67,launchbygamecard:68,iconvisible:69,iconvisibleonanim:70,positionjelobbywidget:71,randombuttonicon:72,filteredrandomgamecategories:73,addfilterselector:74,addsortingselector:75,filterbylogo:76,winnersdatasources:77},rt,[-1,-1,-1,-1])}get endpoint(){return this.$$.ctx[87]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[2]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get env(){return this.$$.ctx[3]}set env(t){this.$$set({env:t}),e.flush()}get datasource(){return this.$$.ctx[88]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[89]}set lang(t){this.$$set({lang:t}),e.flush()}get session(){return this.$$.ctx[90]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[4]}set userid(t){this.$$set({userid:t}),e.flush()}get opsession(){return this.$$.ctx[91]}set opsession(t){this.$$set({opsession:t}),e.flush()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get clockformat(){return this.$$.ctx[7]}set clockformat(t){this.$$set({clockformat:t}),e.flush()}get lobbyid(){return this.$$.ctx[8]}set lobbyid(t){this.$$set({lobbyid:t}),e.flush()}get currency(){return this.$$.ctx[0]}set currency(t){this.$$set({currency:t}),e.flush()}get filteredcategories(){return this.$$.ctx[9]}set filteredcategories(t){this.$$set({filteredcategories:t}),e.flush()}get userroles(){return this.$$.ctx[10]}set userroles(t){this.$$set({userroles:t}),e.flush()}get translationurl(){return this.$$.ctx[11]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get loginevent(){return this.$$.ctx[12]}set loginevent(t){this.$$set({loginevent:t}),e.flush()}get registerevent(){return this.$$.ctx[13]}set registerevent(t){this.$$set({registerevent:t}),e.flush()}get depositevent(){return this.$$.ctx[14]}set depositevent(t){this.$$set({depositevent:t}),e.flush()}get shortcashierenabled(){return this.$$.ctx[15]}set shortcashierenabled(t){this.$$set({shortcashierenabled:t}),e.flush()}get favorites(){return this.$$.ctx[16]}set favorites(t){this.$$set({favorites:t}),e.flush()}get desktopoffset(){return this.$$.ctx[92]}set desktopoffset(t){this.$$set({desktopoffset:t}),e.flush()}get mobileoffset(){return this.$$.ctx[93]}set mobileoffset(t){this.$$set({mobileoffset:t}),e.flush()}get haspanicbutton(){return this.$$.ctx[17]}set haspanicbutton(t){this.$$set({haspanicbutton:t}),e.flush()}get activecategory(){return this.$$.ctx[1]}set activecategory(t){this.$$set({activecategory:t}),e.flush()}get actionevent(){return this.$$.ctx[18]}set actionevent(t){this.$$set({actionevent:t}),e.flush()}get livecasino(){return this.$$.ctx[19]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get playforfun(){return this.$$.ctx[20]}set playforfun(t){this.$$set({playforfun:t}),e.flush()}get showgamename(){return this.$$.ctx[21]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get gamemodal(){return this.$$.ctx[22]}set gamemodal(t){this.$$set({gamemodal:t}),e.flush()}get playrandomgame(){return this.$$.ctx[23]}set playrandomgame(t){this.$$set({playrandomgame:t}),e.flush()}get randomgameslider(){return this.$$.ctx[24]}set randomgameslider(t){this.$$set({randomgameslider:t}),e.flush()}get visiblegames(){return this.$$.ctx[25]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[26]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[27]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[28]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get casinogamesgridslider(){return this.$$.ctx[29]}set casinogamesgridslider(t){this.$$set({casinogamesgridslider:t}),e.flush()}get categoriesicon(){return this.$$.ctx[30]}set categoriesicon(t){this.$$set({categoriesicon:t}),e.flush()}get lobbyiconimage(){return this.$$.ctx[31]}set lobbyiconimage(t){this.$$set({lobbyiconimage:t}),e.flush()}get mygamesiconimage(){return this.$$.ctx[32]}set mygamesiconimage(t){this.$$set({mygamesiconimage:t}),e.flush()}get positionwinnerswidget(){return this.$$.ctx[33]}set positionwinnerswidget(t){this.$$set({positionwinnerswidget:t}),e.flush()}get tabsorder(){return this.$$.ctx[34]}set tabsorder(t){this.$$set({tabsorder:t}),e.flush()}get enableautoscroll(){return this.$$.ctx[35]}set enableautoscroll(t){this.$$set({enableautoscroll:t}),e.flush()}get istopavailable(){return this.$$.ctx[36]}set istopavailable(t){this.$$set({istopavailable:t}),e.flush()}get isrecentavailable(){return this.$$.ctx[37]}set isrecentavailable(t){this.$$set({isrecentavailable:t}),e.flush()}get periodrecent(){return this.$$.ctx[38]}set periodrecent(t){this.$$set({periodrecent:t}),e.flush()}get periodtop(){return this.$$.ctx[39]}set periodtop(t){this.$$set({periodtop:t}),e.flush()}get numberusersrecent(){return this.$$.ctx[40]}set numberusersrecent(t){this.$$set({numberusersrecent:t}),e.flush()}get numberuserstop(){return this.$$.ctx[41]}set numberuserstop(t){this.$$set({numberuserstop:t}),e.flush()}get amountlimit(){return this.$$.ctx[42]}set amountlimit(t){this.$$set({amountlimit:t}),e.flush()}get defaultcurrency(){return this.$$.ctx[43]}set defaultcurrency(t){this.$$set({defaultcurrency:t}),e.flush()}get positionjackpotbanners(){return this.$$.ctx[44]}set positionjackpotbanners(t){this.$$set({positionjackpotbanners:t}),e.flush()}get caticon0(){return this.$$.ctx[45]}set caticon0(t){this.$$set({caticon0:t}),e.flush()}get caticon1(){return this.$$.ctx[46]}set caticon1(t){this.$$set({caticon1:t}),e.flush()}get caticon2(){return this.$$.ctx[47]}set caticon2(t){this.$$set({caticon2:t}),e.flush()}get caticon3(){return this.$$.ctx[48]}set caticon3(t){this.$$set({caticon3:t}),e.flush()}get backgroundsrc(){return this.$$.ctx[49]}set backgroundsrc(t){this.$$set({backgroundsrc:t}),e.flush()}get backgroundsrcmobile(){return this.$$.ctx[50]}set backgroundsrcmobile(t){this.$$set({backgroundsrcmobile:t}),e.flush()}get titlelogopath(){return this.$$.ctx[51]}set titlelogopath(t){this.$$set({titlelogopath:t}),e.flush()}get iconlabels(){return this.$$.ctx[52]}set iconlabels(t){this.$$set({iconlabels:t}),e.flush()}get showsubgroups(){return this.$$.ctx[53]}set showsubgroups(t){this.$$set({showsubgroups:t}),e.flush()}get positioncollections(){return this.$$.ctx[54]}set positioncollections(t){this.$$set({positioncollections:t}),e.flush()}get type(){return this.$$.ctx[55]}set type(t){this.$$set({type:t}),e.flush()}get titletype(){return this.$$.ctx[56]}set titletype(t){this.$$set({titletype:t}),e.flush()}get collectionprovidersgamenames(){return this.$$.ctx[57]}set collectionprovidersgamenames(t){this.$$set({collectionprovidersgamenames:t}),e.flush()}get positioncasinocalendar(){return this.$$.ctx[58]}set positioncasinocalendar(t){this.$$set({positioncasinocalendar:t}),e.flush()}get lastplayedperiod(){return this.$$.ctx[59]}set lastplayedperiod(t){this.$$set({lastplayedperiod:t}),e.flush()}get mostplayedperiod(){return this.$$.ctx[60]}set mostplayedperiod(t){this.$$set({mostplayedperiod:t}),e.flush()}get lastplayedorder(){return this.$$.ctx[61]}set lastplayedorder(t){this.$$set({lastplayedorder:t}),e.flush()}get lastplayedlimit(){return this.$$.ctx[62]}set lastplayedlimit(t){this.$$set({lastplayedlimit:t}),e.flush()}get lastplayedunique(){return this.$$.ctx[63]}set lastplayedunique(t){this.$$set({lastplayedunique:t}),e.flush()}get mostplayed(){return this.$$.ctx[64]}set mostplayed(t){this.$$set({mostplayed:t}),e.flush()}get mostplayedrounds(){return this.$$.ctx[65]}set mostplayedrounds(t){this.$$set({mostplayedrounds:t}),e.flush()}get lastplayed(){return this.$$.ctx[66]}set lastplayed(t){this.$$set({lastplayed:t}),e.flush()}get specificcategory(){return this.$$.ctx[67]}set specificcategory(t){this.$$set({specificcategory:t}),e.flush()}get launchbygamecard(){return this.$$.ctx[68]}set launchbygamecard(t){this.$$set({launchbygamecard:t}),e.flush()}get iconvisible(){return this.$$.ctx[69]}set iconvisible(t){this.$$set({iconvisible:t}),e.flush()}get iconvisibleonanim(){return this.$$.ctx[70]}set iconvisibleonanim(t){this.$$set({iconvisibleonanim:t}),e.flush()}get positionjelobbywidget(){return this.$$.ctx[71]}set positionjelobbywidget(t){this.$$set({positionjelobbywidget:t}),e.flush()}get randombuttonicon(){return this.$$.ctx[72]}set randombuttonicon(t){this.$$set({randombuttonicon:t}),e.flush()}get filteredrandomgamecategories(){return this.$$.ctx[73]}set filteredrandomgamecategories(t){this.$$set({filteredrandomgamecategories:t}),e.flush()}get addfilterselector(){return this.$$.ctx[74]}set addfilterselector(t){this.$$set({addfilterselector:t}),e.flush()}get addsortingselector(){return this.$$.ctx[75]}set addsortingselector(t){this.$$set({addsortingselector:t}),e.flush()}get filterbylogo(){return this.$$.ctx[76]}set filterbylogo(t){this.$$set({filterbylogo:t}),e.flush()}get winnersdatasources(){return this.$$.ctx[77]}set winnersdatasources(t){this.$$set({winnersdatasources:t}),e.flush()}}e.create_custom_element(st,{endpoint:{},cmsendpoint:{},env:{},datasource:{},lang:{},session:{},userid:{},opsession:{},clientstyling:{},clientstylingurl:{},clockformat:{},lobbyid:{},currency:{},filteredcategories:{},userroles:{},translationurl:{},loginevent:{},registerevent:{},depositevent:{},shortcashierenabled:{},favorites:{},desktopoffset:{},mobileoffset:{},haspanicbutton:{},activecategory:{},actionevent:{},livecasino:{},playforfun:{},showgamename:{},gamemodal:{},playrandomgame:{},randomgameslider:{},visiblegames:{},integratedgameframedesktop:{},integratedgameframemobile:{},gamepagemodalurl:{},casinogamesgridslider:{},categoriesicon:{},lobbyiconimage:{},mygamesiconimage:{},positionwinnerswidget:{},tabsorder:{},enableautoscroll:{},istopavailable:{},isrecentavailable:{},periodrecent:{},periodtop:{},numberusersrecent:{},numberuserstop:{},amountlimit:{},defaultcurrency:{},positionjackpotbanners:{},caticon0:{},caticon1:{},caticon2:{},caticon3:{},backgroundsrc:{},backgroundsrcmobile:{},titlelogopath:{},iconlabels:{},showsubgroups:{},positioncollections:{},type:{},titletype:{},collectionprovidersgamenames:{},positioncasinocalendar:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayed:{},mostplayedrounds:{},lastplayed:{},specificcategory:{},launchbygamecard:{},iconvisible:{},iconvisibleonanim:{},positionjelobbywidget:{},randombuttonicon:{},filteredrandomgamecategories:{},addfilterselector:{},addsortingselector:{},filterbylogo:{},winnersdatasources:{}},["content"],[],!0);exports.default=st;
@@ -238,7 +238,7 @@ if (typeof window != "undefined") {
238
238
  }
239
239
  };
240
240
  };
241
- customElements.define = n(customElements.define), import("./CasinoRandomGame-DLcF2u3L.js").then(({ default: e }) => {
241
+ customElements.define = n(customElements.define), import("./CasinoRandomGame-DwCzuOyV.js").then(({ default: e }) => {
242
242
  !customElements.get("casino-random-game") && customElements.define("casino-random-game", e.element);
243
243
  });
244
244
  }
@@ -254,7 +254,7 @@ if (typeof window != "undefined") {
254
254
  }
255
255
  };
256
256
  };
257
- customElements.define = n(customElements.define), import("./CasinoWinners-CA6s2Z0J.js").then(({ default: e }) => {
257
+ customElements.define = n(customElements.define), import("./CasinoWinners-D6fP2vkl.js").then(({ default: e }) => {
258
258
  !customElements.get("casino-winners") && customElements.define("casino-winners", e.element);
259
259
  });
260
260
  }