@everymatrix/casino-lobby 1.54.6 → 1.54.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/components/CasinoCalendar-BlfnJwZ-.cjs +9 -0
  2. package/components/{CasinoCalendar-Ic3lq1UY.js → CasinoCalendar-CKCvu8d9.js} +1370 -1378
  3. package/components/CasinoCalendar-D3cTwZsW.js +5197 -0
  4. package/components/{CasinoCalendarDailyDetails-buDoufAV.js → CasinoCalendarDailyDetails-B7hChP4v.js} +90 -90
  5. package/components/CasinoCalendarDailyDetails-C1T0xNcn.cjs +1 -0
  6. package/components/CasinoCalendarDailyDetails-CCIR8eIp.js +701 -0
  7. package/components/{CasinoCalendarDailyItem-koPRd703.js → CasinoCalendarDailyItem-1iPwEmjb.js} +46 -46
  8. package/components/CasinoCalendarDailyItem-BNNa1Jdv.js +315 -0
  9. package/components/CasinoCalendarDailyItem-Bp_PImhJ.cjs +1 -0
  10. package/components/{CasinoCategoriesSlider-Bp9JHeM_.js → CasinoCategoriesSlider-06Zx2Iq-.js} +29 -29
  11. package/components/CasinoCategoriesSlider-Bjd1r5S5.js +606 -0
  12. package/components/CasinoCategoriesSlider-DVgkuNtk.cjs +1 -0
  13. package/components/{CasinoCollectionsProviders-CrpNb22N.js → CasinoCollectionsProviders-BQPjVzK8.js} +58 -58
  14. package/components/CasinoCollectionsProviders-CSISd5u6.cjs +1 -0
  15. package/components/CasinoCollectionsProviders-CVDFBiI0.js +664 -0
  16. package/components/{CasinoFavoritesSection-D4Du3N5n.js → CasinoFavoritesSection-BtAZ0obR.js} +16 -16
  17. package/components/CasinoFavoritesSection-CeNe7gym.js +439 -0
  18. package/components/CasinoFavoritesSection-D7g9PfaJ.cjs +1 -0
  19. package/components/CasinoFilter-C10Tgn3c.cjs +1 -0
  20. package/components/CasinoFilter-CT6gjm3V.js +634 -0
  21. package/components/{CasinoFilter-CYZHW74M.js → CasinoFilter-ckjDwsuD.js} +55 -55
  22. package/components/CasinoGamePage-BXEw8hFH.js +4300 -0
  23. package/components/{CasinoGamePage-C0VvUfCV.js → CasinoGamePage-CtPmWXKS.js} +90 -90
  24. package/components/CasinoGamePage-DishJnnG.cjs +18 -0
  25. package/components/{CasinoGameThumbnail-C-zG9Jn9.js → CasinoGameThumbnail-CPtgI_Ou.js} +63 -63
  26. package/components/CasinoGameThumbnail-DEA-lJVL.cjs +38 -0
  27. package/components/CasinoGameThumbnail-DlUjmcUF.js +1850 -0
  28. package/components/CasinoGamesCategorySection-C004qi0F.cjs +1 -0
  29. package/components/CasinoGamesCategorySection-DNDGzt_C.js +3032 -0
  30. package/components/{CasinoGamesCategorySection-DVd_DDkc.js → CasinoGamesCategorySection-DeKVT6Qy.js} +125 -125
  31. package/components/{CasinoJackpotBanner-CL7SMQDH.js → CasinoJackpotBanner-D3s92J-3.js} +68 -68
  32. package/components/CasinoJackpotBanner-q02RPv4N.js +618 -0
  33. package/components/CasinoJackpotBanner-uWVFzOiI.cjs +1 -0
  34. package/components/{CasinoLastPlayedSection-VbQH2qG2.js → CasinoLastPlayedSection-CRSWVIu_.js} +29 -29
  35. package/components/CasinoLastPlayedSection-tgXO-MUK.cjs +1 -0
  36. package/components/CasinoLastPlayedSection-vWwXDUsk.js +566 -0
  37. package/components/CasinoLobby-CzD2DAYm.cjs +1 -0
  38. package/components/{CasinoLobby-CSsnpzSn.js → CasinoLobby-aK6BWuTG.js} +49 -49
  39. package/components/CasinoLobby-cHs3HImA.js +2337 -0
  40. package/components/{CasinoModal-z0xixUlG.js → CasinoModal-C1oW3YF4.js} +69 -69
  41. package/components/CasinoModal-DRtZi6gR.cjs +1 -0
  42. package/components/CasinoModal-IbVlgg7Z.js +372 -0
  43. package/components/CasinoMostPlayedSection-1h4sJVZB.cjs +1 -0
  44. package/components/{CasinoMostPlayedSection-BIXY9riB.js → CasinoMostPlayedSection-CqCeL-T3.js} +32 -32
  45. package/components/CasinoMostPlayedSection-GdgKELMj.js +583 -0
  46. package/components/CasinoMyGames-B_NJlfMk.cjs +1 -0
  47. package/components/{CasinoMyGames-DqRPb7fX.js → CasinoMyGames-C96xDtTs.js} +52 -52
  48. package/components/CasinoMyGames-crupH86Y.js +1318 -0
  49. package/components/CasinoPage-BP3C9X12.cjs +1 -0
  50. package/components/{CasinoPage-Cm-vD67m.js → CasinoPage-BmaJqL6b.js} +123 -123
  51. package/components/CasinoPage-LZWtHc8W.js +3550 -0
  52. package/components/CasinoRandomGame-C6-dDxie.cjs +2 -0
  53. package/components/CasinoRandomGame-DXFHIw0O.js +668 -0
  54. package/components/{CasinoRandomGame-efA8CEqy.js → CasinoRandomGame-Df62wtxc.js} +51 -51
  55. package/components/CasinoSearch-BcFA6QGN.js +1072 -0
  56. package/components/CasinoSearch-Dnm7_nuc.cjs +1 -0
  57. package/components/{CasinoSearch-BEXK-fFP.js → CasinoSearch-akpXIDh-.js} +83 -83
  58. package/components/CasinoSlider-BDjskQjI.cjs +1 -0
  59. package/components/{CasinoSlider-BPqJIB5d.js → CasinoSlider-BWEc4YT5.js} +78 -78
  60. package/components/CasinoSlider-BjpV4pLV.js +806 -0
  61. package/components/CasinoSort-CS53Uvnz.cjs +1 -0
  62. package/components/CasinoSort-DFdgT3Dt.js +432 -0
  63. package/components/{CasinoSort-CBtcK7i0.js → CasinoSort-DFljh5Sg.js} +16 -16
  64. package/components/CasinoWinners-6mr0X-kZ.js +971 -0
  65. package/components/{CasinoWinners-Db2ivy-R.js → CasinoWinners-CADOvOsd.js} +62 -62
  66. package/components/CasinoWinners-DU3xFq2b.cjs +1 -0
  67. package/components/GeneralAnimationLoading-BG_QynCK.cjs +1 -0
  68. package/components/{GeneralAnimationLoading-DiwFEyef.js → GeneralAnimationLoading-CX9baArf.js} +8 -8
  69. package/components/GeneralAnimationLoading-DVLCsjn0.js +75 -0
  70. package/es2015/casino-lobby.cjs +1 -0
  71. package/es2015/casino-lobby.js +16 -0
  72. package/esnext/casino-lobby.js +1 -1
  73. package/package.json +4 -1
  74. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
  75. package/stencil/{casino-play-random-game-BrayzMrR.js → casino-play-random-game-CoygOtgn.js} +1 -1
  76. package/stencil/casino-play-random-game-DjMkr-Sg.cjs +371 -0
  77. package/stencil/casino-play-random-game-DkjQlTyE.js +577 -0
  78. package/stencil/index-f923e8d1-D64rZ7vf.js +645 -0
  79. package/stencil/index-f923e8d1-D8EldEUs.js +629 -0
  80. package/stencil/index-f923e8d1-QzT30J3F.cjs +1 -0
  81. package/stencil/index-47910d1c-CWwDm8i3.js +0 -623
@@ -1,4 +1,4 @@
1
- import { a0 as ie, S as ne, i as se, f, c as oe, s as le, b as ae, H as re, d as v, h as L, t as B, g as de, j as R, o as ue, p as j, e as W, r as ce, v as r, O, w as F, P as fe, x as ge, y as P, z as A, A as T, a1 as U, l as me, m as I, W as he, n as q, G as x, D as we } from "./CasinoCalendar-Ic3lq1UY.js";
1
+ import { a0 as ie, S as ne, i as se, s as oe, f as g, b as le, d as v, t as B, c as L, g as ae, e as re, h as R, F as de, o as ue, l as H, u as j, a1 as O, P, x as A, y as T, z as U, r, p as F, O as ce, A as fe, j as W, B as ge, W as me, C as q, n as he, E as x, I as we } from "./CasinoCalendar-D3cTwZsW.js";
2
2
  function N(n, { delay: e = 0, duration: i = 400, easing: s = ie } = {}) {
3
3
  const o = +getComputedStyle(n).opacity;
4
4
  return {
@@ -9,11 +9,11 @@ function N(n, { delay: e = 0, duration: i = 400, easing: s = ie } = {}) {
9
9
  };
10
10
  }
11
11
  function _e(n) {
12
- ae(n, "svelte-n85m9z", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}");
12
+ le(n, "svelte-n85m9z", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}");
13
13
  }
14
14
  const pe = (n) => ({}), V = (n) => ({});
15
15
  function J(n) {
16
- let e, i, s, o, a, h, k, c, u, p, y;
16
+ let e, i, s, o, a, w, k, c, u, p, y;
17
17
  const C = (
18
18
  /*#slots*/
19
19
  n[19].default
@@ -26,92 +26,92 @@ function J(n) {
26
26
  ), M = (
27
27
  /*#slots*/
28
28
  n[19].close
29
- ), g = j(
29
+ ), m = j(
30
30
  M,
31
31
  n,
32
32
  /*$$scope*/
33
33
  n[18],
34
34
  V
35
- ), w = g || ye();
35
+ ), f = m || ye();
36
36
  return {
37
37
  c() {
38
- e = W("div"), i = W("div"), s = W("div"), d && d.c(), o = ce(), a = W("span"), w.c(), r(s, "class", "ModalContainer"), r(s, "part", "ModalContainer"), r(a, "class", h = "ModalCloseBtn " + /*haspanicbutton*/
38
+ e = W("div"), i = W("div"), s = W("div"), d && d.c(), o = ge(), a = W("span"), f && f.c(), r(s, "class", "ModalContainer"), r(s, "part", "ModalContainer"), r(a, "class", w = "ModalCloseBtn " + /*haspanicbutton*/
39
39
  (n[1] == "true" && /*mobileView*/
40
- n[3] ? "ModalPanicCloseButton" : "")), r(a, "role", "button"), r(i, "class", "ModalWindow"), r(i, "part", "ModalWindow"), r(i, "id", "Modal"), O(() => (
40
+ n[3] ? "ModalPanicCloseButton" : "")), r(a, "role", "button"), r(i, "class", "ModalWindow"), r(i, "part", "ModalWindow"), r(i, "id", "Modal"), P(() => (
41
41
  /*div1_elementresize_handler*/
42
42
  n[21].call(i)
43
43
  )), r(e, "part", "CustomStylingContainer");
44
44
  },
45
- m(l, m) {
46
- v(l, e, m), F(e, i), F(i, s), d && d.m(s, null), F(i, o), F(i, a), w.m(a, null), n[20](i), k = fe(
45
+ m(l, h) {
46
+ R(l, e, h), F(e, i), F(i, s), d && d.m(s, null), F(i, o), F(i, a), f && f.m(a, null), n[20](i), k = ce(
47
47
  i,
48
48
  /*div1_elementresize_handler*/
49
49
  n[21].bind(i)
50
- ), n[22](e), u = !0, p || (y = ge(
50
+ ), n[22](e), u = !0, p || (y = fe(
51
51
  a,
52
52
  "click",
53
53
  /*close*/
54
54
  n[8]
55
55
  ), p = !0);
56
56
  },
57
- p(l, m) {
58
- n = l, d && d.p && (!u || m[0] & /*$$scope*/
59
- 262144) && P(
57
+ p(l, h) {
58
+ n = l, d && d.p && (!u || h[0] & /*$$scope*/
59
+ 262144) && A(
60
60
  d,
61
61
  C,
62
62
  n,
63
63
  /*$$scope*/
64
64
  n[18],
65
- u ? T(
65
+ u ? U(
66
66
  C,
67
67
  /*$$scope*/
68
68
  n[18],
69
- m,
69
+ h,
70
70
  null
71
- ) : A(
71
+ ) : T(
72
72
  /*$$scope*/
73
73
  n[18]
74
74
  ),
75
75
  null
76
- ), g && g.p && (!u || m[0] & /*$$scope*/
77
- 262144) && P(
78
- g,
76
+ ), m && m.p && (!u || h[0] & /*$$scope*/
77
+ 262144) && A(
78
+ m,
79
79
  M,
80
80
  n,
81
81
  /*$$scope*/
82
82
  n[18],
83
- u ? T(
83
+ u ? U(
84
84
  M,
85
85
  /*$$scope*/
86
86
  n[18],
87
- m,
87
+ h,
88
88
  pe
89
- ) : A(
89
+ ) : T(
90
90
  /*$$scope*/
91
91
  n[18]
92
92
  ),
93
93
  V
94
- ), (!u || m[0] & /*haspanicbutton, mobileView*/
95
- 10 && h !== (h = "ModalCloseBtn " + /*haspanicbutton*/
94
+ ), (!u || h[0] & /*haspanicbutton, mobileView*/
95
+ 10 && w !== (w = "ModalCloseBtn " + /*haspanicbutton*/
96
96
  (n[1] == "true" && /*mobileView*/
97
- n[3] ? "ModalPanicCloseButton" : ""))) && r(a, "class", h);
97
+ n[3] ? "ModalPanicCloseButton" : ""))) && r(a, "class", w);
98
98
  },
99
99
  i(l) {
100
- u || (L(d, l), L(w, l), l && O(() => {
101
- u && (c || (c = U(i, N, { transitionDuration: (
100
+ u || (L(d, l), L(f, l), l && P(() => {
101
+ u && (c || (c = O(i, N, { transitionDuration: (
102
102
  /*duration*/
103
103
  n[0]
104
104
  ) }, !0)), c.run(1));
105
105
  }), u = !0);
106
106
  },
107
107
  o(l) {
108
- B(d, l), B(w, l), l && (c || (c = U(i, N, { transitionDuration: (
108
+ B(d, l), B(f, l), l && (c || (c = O(i, N, { transitionDuration: (
109
109
  /*duration*/
110
110
  n[0]
111
111
  ) }, !1)), c.run(0)), u = !1;
112
112
  },
113
113
  d(l) {
114
- l && R(e), d && d.d(l), w.d(l), n[20](null), k(), l && c && c.end(), n[22](null), p = !1, y();
114
+ l && v(e), d && d.d(l), f && f.d(l), n[20](null), k(), l && c && c.end(), n[22](null), p = !1, y();
115
115
  }
116
116
  };
117
117
  }
@@ -122,11 +122,11 @@ function ye(n) {
122
122
  e = x("svg"), i = x("path"), r(i, "stroke-linecap", "round"), r(i, "stroke-linejoin", "round"), r(i, "stroke-width", "2"), r(i, "d", "M6 18L18 6M6 6l12 12"), r(e, "class", "w-6 h-6"), r(e, "fill", "none"), r(e, "stroke", "currentColor"), r(e, "viewBox", "0 0 24 24"), r(e, "xmlns", "http://www.w3.org/2000/svg");
123
123
  },
124
124
  m(s, o) {
125
- v(s, e, o), F(e, i);
125
+ R(s, e, o), F(e, i);
126
126
  },
127
- p: we,
127
+ p: he,
128
128
  d(s) {
129
- s && R(e);
129
+ s && v(e);
130
130
  }
131
131
  };
132
132
  }
@@ -137,17 +137,17 @@ function Me(n) {
137
137
  );
138
138
  return {
139
139
  c() {
140
- s && s.c(), e = re();
140
+ s && s.c(), e = de();
141
141
  },
142
142
  m(o, a) {
143
- s && s.m(o, a), v(o, e, a), i = !0;
143
+ s && s.m(o, a), R(o, e, a), i = !0;
144
144
  },
145
145
  p(o, a) {
146
146
  /*show*/
147
147
  o[7] ? s ? (s.p(o, a), a[0] & /*show*/
148
- 128 && L(s, 1)) : (s = J(o), s.c(), L(s, 1), s.m(e.parentNode, e)) : s && (me(), B(s, 1, 1, () => {
148
+ 128 && L(s, 1)) : (s = J(o), s.c(), L(s, 1), s.m(e.parentNode, e)) : s && (ae(), B(s, 1, 1, () => {
149
149
  s = null;
150
- }), de());
150
+ }), re());
151
151
  },
152
152
  i(o) {
153
153
  i || (L(s), i = !0);
@@ -156,14 +156,14 @@ function Me(n) {
156
156
  B(s), i = !1;
157
157
  },
158
158
  d(o) {
159
- o && R(e), s && s.d(o);
159
+ o && v(e), s && s.d(o);
160
160
  }
161
161
  };
162
162
  }
163
163
  function be(n, e, i) {
164
- let { $$slots: s = {}, $$scope: o } = e, { duration: a = 350 } = e, { session: h = "" } = e, { userid: k = "" } = e, { clientstyling: c = "" } = e, { identifier: u = "" } = e, { clientstylingurl: p = "" } = e, { endpoint: y = "" } = e, { haspanicbutton: C = "false" } = e, { gamepagemodalurl: d = "false" } = e, { sessioncheck: M = "true" } = e, { integratedgameframedesktop: g = "false" } = e, w = window.navigator.userAgent, l = !1, m = !1, _, b, D, G, S = !1;
164
+ let { $$slots: s = {}, $$scope: o } = e, { duration: a = 350 } = e, { session: w = "" } = e, { userid: k = "" } = e, { clientstyling: c = "" } = e, { identifier: u = "" } = e, { clientstylingurl: p = "" } = e, { endpoint: y = "" } = e, { haspanicbutton: C = "false" } = e, { gamepagemodalurl: d = "false" } = e, { sessioncheck: M = "true" } = e, { integratedgameframedesktop: m = "false" } = e, f = window.navigator.userAgent, l = !1, h = !1, _, b, D, E, S = !1;
165
165
  const K = () => {
166
- i(7, S = !1), i(3, l = I(w)), window.postMessage(
166
+ i(7, S = !1), i(3, l = H(f)), window.postMessage(
167
167
  {
168
168
  type: "ModalClosed",
169
169
  gamepagemodalurl: d,
@@ -172,30 +172,30 @@ function be(n, e, i) {
172
172
  },
173
173
  window.location.href
174
174
  );
175
- }, H = (t) => {
176
- if (t.data.type == "ShowModal" && u == t.data.identifier && (i(7, S = !0), window.postMessage({ type: "DisableScroll" }, window.location.href)), t.data.type == "ModalClosed" && (g === "true" || I(w)) && i(7, S = !1), t.data.type === "ShowGameModal" && (i(7, S = !0), window.postMessage(
175
+ }, I = (t) => {
176
+ if (t.data.type == "ShowModal" && u == t.data.identifier && (i(7, S = !0), window.postMessage({ type: "DisableScroll" }, window.location.href)), t.data.type == "ModalClosed" && (m === "true" || H(f)) && i(7, S = !1), t.data.type === "ShowGameModal" && (i(7, S = !0), window.postMessage(
177
177
  {
178
178
  type: "GameLaunchID",
179
179
  gameId: t.data.gameId
180
180
  },
181
181
  window.location.href
182
- ), g === "false" && window.postMessage({ type: "DisableScroll" }, window.location.href)), t.data.type === "OpenGameFrameModal" && (i(7, S = !0), window.postMessage(
182
+ ), m === "false" && window.postMessage({ type: "DisableScroll" }, window.location.href)), t.data.type === "OpenGameFrameModal" && (i(7, S = !0), window.postMessage(
183
183
  {
184
184
  type: "LaunchGameFrame",
185
185
  gameId: t.data.gameId,
186
186
  gameFunMode: t.data.gamefunmode
187
187
  },
188
188
  window.location.href
189
- ), g === "false" && window.postMessage({ type: "DisableScroll" }, window.location.href)), t.data.type === "RequestModalSize") {
189
+ ), m === "false" && window.postMessage({ type: "DisableScroll" }, window.location.href)), t.data.type === "RequestModalSize") {
190
190
  let z = {
191
191
  modalWidth: _ ? getComputedStyle(_).width : null,
192
192
  modalHeight: _ ? getComputedStyle(_).height : null
193
193
  };
194
194
  window.postMessage({ type: "ModalSize", modalContainerSize: z }, window.location.href);
195
195
  }
196
- t.data.type === "GameStateOnResize" && (m = t.data.detailsObtained);
196
+ t.data.type === "GameStateOnResize" && (h = t.data.detailsObtained);
197
197
  }, Q = (t) => {
198
- if (m) {
198
+ if (h) {
199
199
  let z = {
200
200
  modalWidth: getComputedStyle(_).width,
201
201
  modalHeight: getComputedStyle(_).height
@@ -203,7 +203,7 @@ function be(n, e, i) {
203
203
  window.postMessage({ type: "ModalSize", modalContainerSize: z }, window.location.href);
204
204
  }
205
205
  }, X = () => {
206
- M == "true" && he(y, h).then(
206
+ M == "true" && me(y, w).then(
207
207
  (t) => {
208
208
  t.Guid, t.UserID;
209
209
  },
@@ -216,8 +216,8 @@ function be(n, e, i) {
216
216
  t.innerHTML = c, b.appendChild(t);
217
217
  }, Z = () => {
218
218
  let t = new URL(p), z = document.createElement("style");
219
- fetch(t.href).then((E) => E.text()).then((E) => {
220
- z.innerHTML = E, setTimeout(
219
+ fetch(t.href).then((G) => G.text()).then((G) => {
220
+ z.innerHTML = G, setTimeout(
221
221
  () => {
222
222
  b.appendChild(z);
223
223
  },
@@ -225,8 +225,8 @@ function be(n, e, i) {
225
225
  );
226
226
  });
227
227
  };
228
- ue(() => (i(3, l = I(w)), window.addEventListener("message", H, !1), window.addEventListener("resize", Q, !1), () => {
229
- window.removeEventListener("message", H), window.removeEventListener("resize", H);
228
+ ue(() => (i(3, l = H(f)), window.addEventListener("message", I, !1), window.addEventListener("resize", Q, !1), () => {
229
+ window.removeEventListener("message", I), window.removeEventListener("resize", I);
230
230
  }));
231
231
  function $(t) {
232
232
  q[t ? "unshift" : "push"](() => {
@@ -234,7 +234,7 @@ function be(n, e, i) {
234
234
  });
235
235
  }
236
236
  function ee() {
237
- D = this.clientWidth, G = this.clientHeight, i(5, D), i(6, G);
237
+ D = this.clientWidth, E = this.clientHeight, i(5, D), i(6, E);
238
238
  }
239
239
  function te(t) {
240
240
  q[t ? "unshift" : "push"](() => {
@@ -242,10 +242,10 @@ function be(n, e, i) {
242
242
  });
243
243
  }
244
244
  return n.$$set = (t) => {
245
- "duration" in t && i(0, a = t.duration), "session" in t && i(9, h = t.session), "userid" in t && i(10, k = t.userid), "clientstyling" in t && i(11, c = t.clientstyling), "identifier" in t && i(12, u = t.identifier), "clientstylingurl" in t && i(13, p = t.clientstylingurl), "endpoint" in t && i(14, y = t.endpoint), "haspanicbutton" in t && i(1, C = t.haspanicbutton), "gamepagemodalurl" in t && i(15, d = t.gamepagemodalurl), "sessioncheck" in t && i(16, M = t.sessioncheck), "integratedgameframedesktop" in t && i(17, g = t.integratedgameframedesktop), "$$scope" in t && i(18, o = t.$$scope);
245
+ "duration" in t && i(0, a = t.duration), "session" in t && i(9, w = t.session), "userid" in t && i(10, k = t.userid), "clientstyling" in t && i(11, c = t.clientstyling), "identifier" in t && i(12, u = t.identifier), "clientstylingurl" in t && i(13, p = t.clientstylingurl), "endpoint" in t && i(14, y = t.endpoint), "haspanicbutton" in t && i(1, C = t.haspanicbutton), "gamepagemodalurl" in t && i(15, d = t.gamepagemodalurl), "sessioncheck" in t && i(16, M = t.sessioncheck), "integratedgameframedesktop" in t && i(17, m = t.integratedgameframedesktop), "$$scope" in t && i(18, o = t.$$scope);
246
246
  }, n.$$.update = () => {
247
247
  n.$$.dirty[0] & /*session, userid, endpoint*/
248
- 17920 && h && k && y && X(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
248
+ 17920 && w && k && y && X(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
249
249
  2052 && c && b && Y(), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
250
250
  8196 && p && b && Z();
251
251
  }, [
@@ -255,10 +255,10 @@ function be(n, e, i) {
255
255
  l,
256
256
  _,
257
257
  D,
258
- G,
258
+ E,
259
259
  S,
260
260
  K,
261
- h,
261
+ w,
262
262
  k,
263
263
  c,
264
264
  u,
@@ -266,7 +266,7 @@ function be(n, e, i) {
266
266
  y,
267
267
  d,
268
268
  M,
269
- g,
269
+ m,
270
270
  o,
271
271
  s,
272
272
  $,
@@ -281,7 +281,7 @@ class ke extends ne {
281
281
  e,
282
282
  be,
283
283
  Me,
284
- le,
284
+ oe,
285
285
  {
286
286
  duration: 0,
287
287
  session: 9,
@@ -303,70 +303,70 @@ class ke extends ne {
303
303
  return this.$$.ctx[0];
304
304
  }
305
305
  set duration(e) {
306
- this.$$set({ duration: e }), f();
306
+ this.$$set({ duration: e }), g();
307
307
  }
308
308
  get session() {
309
309
  return this.$$.ctx[9];
310
310
  }
311
311
  set session(e) {
312
- this.$$set({ session: e }), f();
312
+ this.$$set({ session: e }), g();
313
313
  }
314
314
  get userid() {
315
315
  return this.$$.ctx[10];
316
316
  }
317
317
  set userid(e) {
318
- this.$$set({ userid: e }), f();
318
+ this.$$set({ userid: e }), g();
319
319
  }
320
320
  get clientstyling() {
321
321
  return this.$$.ctx[11];
322
322
  }
323
323
  set clientstyling(e) {
324
- this.$$set({ clientstyling: e }), f();
324
+ this.$$set({ clientstyling: e }), g();
325
325
  }
326
326
  get identifier() {
327
327
  return this.$$.ctx[12];
328
328
  }
329
329
  set identifier(e) {
330
- this.$$set({ identifier: e }), f();
330
+ this.$$set({ identifier: e }), g();
331
331
  }
332
332
  get clientstylingurl() {
333
333
  return this.$$.ctx[13];
334
334
  }
335
335
  set clientstylingurl(e) {
336
- this.$$set({ clientstylingurl: e }), f();
336
+ this.$$set({ clientstylingurl: e }), g();
337
337
  }
338
338
  get endpoint() {
339
339
  return this.$$.ctx[14];
340
340
  }
341
341
  set endpoint(e) {
342
- this.$$set({ endpoint: e }), f();
342
+ this.$$set({ endpoint: e }), g();
343
343
  }
344
344
  get haspanicbutton() {
345
345
  return this.$$.ctx[1];
346
346
  }
347
347
  set haspanicbutton(e) {
348
- this.$$set({ haspanicbutton: e }), f();
348
+ this.$$set({ haspanicbutton: e }), g();
349
349
  }
350
350
  get gamepagemodalurl() {
351
351
  return this.$$.ctx[15];
352
352
  }
353
353
  set gamepagemodalurl(e) {
354
- this.$$set({ gamepagemodalurl: e }), f();
354
+ this.$$set({ gamepagemodalurl: e }), g();
355
355
  }
356
356
  get sessioncheck() {
357
357
  return this.$$.ctx[16];
358
358
  }
359
359
  set sessioncheck(e) {
360
- this.$$set({ sessioncheck: e }), f();
360
+ this.$$set({ sessioncheck: e }), g();
361
361
  }
362
362
  get integratedgameframedesktop() {
363
363
  return this.$$.ctx[17];
364
364
  }
365
365
  set integratedgameframedesktop(e) {
366
- this.$$set({ integratedgameframedesktop: e }), f();
366
+ this.$$set({ integratedgameframedesktop: e }), g();
367
367
  }
368
368
  }
369
- oe(ke, { duration: {}, session: {}, userid: {}, clientstyling: {}, identifier: {}, clientstylingurl: {}, endpoint: {}, haspanicbutton: {}, gamepagemodalurl: {}, sessioncheck: {}, integratedgameframedesktop: {} }, ["default", "close"], [], !0);
369
+ we(ke, { duration: {}, session: {}, userid: {}, clientstyling: {}, identifier: {}, clientstylingurl: {}, endpoint: {}, haspanicbutton: {}, gamepagemodalurl: {}, sessioncheck: {}, integratedgameframedesktop: {} }, ["default", "close"], [], !0);
370
370
  export {
371
371
  ke as default
372
372
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-BlfnJwZ-.cjs");function B(s,{delay:t=0,duration:n=400,easing:o=e.identity}={}){const l=+getComputedStyle(s).opacity;return{delay:t,duration:n,easing:o,css:r=>`opacity: ${r*l}`}}function q(s){e.append_styles(s,"svelte-n85m9z","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}")}const U=s=>({}),D=s=>({});function v(s){let t,n,o,l,r,m,M,c,u,w,p;const k=s[19].default,d=e.create_slot(k,s,s[18],null),y=s[19].close,g=e.create_slot(y,s,s[18],D),f=g||A();return{c(){t=e.element("div"),n=e.element("div"),o=e.element("div"),d&&d.c(),l=e.space(),r=e.element("span"),f&&f.c(),e.attr(o,"class","ModalContainer"),e.attr(o,"part","ModalContainer"),e.attr(r,"class",m="ModalCloseBtn "+(s[1]=="true"&&s[3]?"ModalPanicCloseButton":"")),e.attr(r,"role","button"),e.attr(n,"class","ModalWindow"),e.attr(n,"part","ModalWindow"),e.attr(n,"id","Modal"),e.add_render_callback(()=>s[21].call(n)),e.attr(t,"part","CustomStylingContainer")},m(a,h){e.insert(a,t,h),e.append(t,n),e.append(n,o),d&&d.m(o,null),e.append(n,l),e.append(n,r),f&&f.m(r,null),s[20](n),M=e.add_iframe_resize_listener(n,s[21].bind(n)),s[22](t),u=!0,w||(p=e.listen(r,"click",s[8]),w=!0)},p(a,h){s=a,d&&d.p&&(!u||h[0]&262144)&&e.update_slot_base(d,k,s,s[18],u?e.get_slot_changes(k,s[18],h,null):e.get_all_dirty_from_scope(s[18]),null),g&&g.p&&(!u||h[0]&262144)&&e.update_slot_base(g,y,s,s[18],u?e.get_slot_changes(y,s[18],h,U):e.get_all_dirty_from_scope(s[18]),D),(!u||h[0]&10&&m!==(m="ModalCloseBtn "+(s[1]=="true"&&s[3]?"ModalPanicCloseButton":"")))&&e.attr(r,"class",m)},i(a){u||(e.transition_in(d,a),e.transition_in(f,a),a&&e.add_render_callback(()=>{u&&(c||(c=e.create_bidirectional_transition(n,B,{transitionDuration:s[0]},!0)),c.run(1))}),u=!0)},o(a){e.transition_out(d,a),e.transition_out(f,a),a&&(c||(c=e.create_bidirectional_transition(n,B,{transitionDuration:s[0]},!1)),c.run(0)),u=!1},d(a){a&&e.detach(t),d&&d.d(a),f&&f.d(a),s[20](null),M(),a&&c&&c.end(),s[22](null),w=!1,p()}}}function A(s){let t,n;return{c(){t=e.svg_element("svg"),n=e.svg_element("path"),e.attr(n,"stroke-linecap","round"),e.attr(n,"stroke-linejoin","round"),e.attr(n,"stroke-width","2"),e.attr(n,"d","M6 18L18 6M6 6l12 12"),e.attr(t,"class","w-6 h-6"),e.attr(t,"fill","none"),e.attr(t,"stroke","currentColor"),e.attr(t,"viewBox","0 0 24 24"),e.attr(t,"xmlns","http://www.w3.org/2000/svg")},m(o,l){e.insert(o,t,l),e.append(t,n)},p:e.noop,d(o){o&&e.detach(t)}}}function N(s){let t,n,o=s[7]&&v(s);return{c(){o&&o.c(),t=e.empty()},m(l,r){o&&o.m(l,r),e.insert(l,t,r),n=!0},p(l,r){l[7]?o?(o.p(l,r),r[0]&128&&e.transition_in(o,1)):(o=v(l),o.c(),e.transition_in(o,1),o.m(t.parentNode,t)):o&&(e.group_outros(),e.transition_out(o,1,1,()=>{o=null}),e.check_outros())},i(l){n||(e.transition_in(o),n=!0)},o(l){e.transition_out(o),n=!1},d(l){l&&e.detach(t),o&&o.d(l)}}}function V(s,t,n){let{$$slots:o={},$$scope:l}=t,{duration:r=350}=t,{session:m=""}=t,{userid:M=""}=t,{clientstyling:c=""}=t,{identifier:u=""}=t,{clientstylingurl:w=""}=t,{endpoint:p=""}=t,{haspanicbutton:k="false"}=t,{gamepagemodalurl:d="false"}=t,{sessioncheck:y="true"}=t,{integratedgameframedesktop:g="false"}=t,f=window.navigator.userAgent,a=!1,h=!1,_,b,z,F,C=!1;const G=()=>{n(7,C=!1),n(3,a=e.isMobile(f)),window.postMessage({type:"ModalClosed",gamepagemodalurl:d,mobileView:a,closeIntegratedGameFrameDesktop:!0},window.location.href)},L=i=>{if(i.data.type=="ShowModal"&&u==i.data.identifier&&(n(7,C=!0),window.postMessage({type:"DisableScroll"},window.location.href)),i.data.type=="ModalClosed"&&(g==="true"||e.isMobile(f))&&n(7,C=!1),i.data.type==="ShowGameModal"&&(n(7,C=!0),window.postMessage({type:"GameLaunchID",gameId:i.data.gameId},window.location.href),g==="false"&&window.postMessage({type:"DisableScroll"},window.location.href)),i.data.type==="OpenGameFrameModal"&&(n(7,C=!0),window.postMessage({type:"LaunchGameFrame",gameId:i.data.gameId,gameFunMode:i.data.gamefunmode},window.location.href),g==="false"&&window.postMessage({type:"DisableScroll"},window.location.href)),i.data.type==="RequestModalSize"){let S={modalWidth:_?getComputedStyle(_).width:null,modalHeight:_?getComputedStyle(_).height:null};window.postMessage({type:"ModalSize",modalContainerSize:S},window.location.href)}i.data.type==="GameStateOnResize"&&(h=i.data.detailsObtained)},H=i=>{if(h){let S={modalWidth:getComputedStyle(_).width,modalHeight:getComputedStyle(_).height};window.postMessage({type:"ModalSize",modalContainerSize:S},window.location.href)}},I=()=>{y=="true"&&e.checkSession(p,m).then(i=>{i.Guid,i.UserID},i=>{console.error("err on session",i)})},R=()=>{let i=document.createElement("style");i.innerHTML=c,b.appendChild(i)},j=()=>{let i=new URL(w),S=document.createElement("style");fetch(i.href).then(W=>W.text()).then(W=>{S.innerHTML=W,setTimeout(()=>{b.appendChild(S)},1)})};e.onMount(()=>(n(3,a=e.isMobile(f)),window.addEventListener("message",L,!1),window.addEventListener("resize",H,!1),()=>{window.removeEventListener("message",L),window.removeEventListener("resize",L)}));function O(i){e.binding_callbacks[i?"unshift":"push"](()=>{_=i,n(4,_)})}function P(){z=this.clientWidth,F=this.clientHeight,n(5,z),n(6,F)}function T(i){e.binding_callbacks[i?"unshift":"push"](()=>{b=i,n(2,b)})}return s.$$set=i=>{"duration"in i&&n(0,r=i.duration),"session"in i&&n(9,m=i.session),"userid"in i&&n(10,M=i.userid),"clientstyling"in i&&n(11,c=i.clientstyling),"identifier"in i&&n(12,u=i.identifier),"clientstylingurl"in i&&n(13,w=i.clientstylingurl),"endpoint"in i&&n(14,p=i.endpoint),"haspanicbutton"in i&&n(1,k=i.haspanicbutton),"gamepagemodalurl"in i&&n(15,d=i.gamepagemodalurl),"sessioncheck"in i&&n(16,y=i.sessioncheck),"integratedgameframedesktop"in i&&n(17,g=i.integratedgameframedesktop),"$$scope"in i&&n(18,l=i.$$scope)},s.$$.update=()=>{s.$$.dirty[0]&17920&&m&&M&&p&&I(),s.$$.dirty[0]&2052&&c&&b&&R(),s.$$.dirty[0]&8196&&w&&b&&j()},[r,k,b,a,_,z,F,C,G,m,M,c,u,w,p,d,y,g,l,o,O,P,T]}class E extends e.SvelteComponent{constructor(t){super(),e.init(this,t,V,N,e.safe_not_equal,{duration:0,session:9,userid:10,clientstyling:11,identifier:12,clientstylingurl:13,endpoint:14,haspanicbutton:1,gamepagemodalurl:15,sessioncheck:16,integratedgameframedesktop:17},q,[-1,-1])}get duration(){return this.$$.ctx[0]}set duration(t){this.$$set({duration:t}),e.flush()}get session(){return this.$$.ctx[9]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[10]}set userid(t){this.$$set({userid:t}),e.flush()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get identifier(){return this.$$.ctx[12]}set identifier(t){this.$$set({identifier:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get endpoint(){return this.$$.ctx[14]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(t){this.$$set({haspanicbutton:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[15]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get sessioncheck(){return this.$$.ctx[16]}set sessioncheck(t){this.$$set({sessioncheck:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[17]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}}e.create_custom_element(E,{duration:{},session:{},userid:{},clientstyling:{},identifier:{},clientstylingurl:{},endpoint:{},haspanicbutton:{},gamepagemodalurl:{},sessioncheck:{},integratedgameframedesktop:{}},["default","close"],[],!0);exports.default=E;