@everymatrix/casino-lobby 1.54.4 → 1.54.8
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.
- package/components/{CasinoCalendar-Ic3lq1UY.js → CasinoCalendar-B6zL0TaE.js} +506 -514
- package/components/CasinoCalendar-BMfA7KN3.cjs +9 -0
- package/components/CasinoCalendar-yoWAbEkY.js +5197 -0
- package/components/{CasinoCalendarDailyDetails-buDoufAV.js → CasinoCalendarDailyDetails-CHjjPOPl.js} +90 -90
- package/components/CasinoCalendarDailyDetails-CfDJdZRl.cjs +1 -0
- package/components/CasinoCalendarDailyDetails-D3u4HZe8.js +701 -0
- package/components/{CasinoCalendarDailyItem-koPRd703.js → CasinoCalendarDailyItem-C0cqN7uc.js} +46 -46
- package/components/CasinoCalendarDailyItem-CUUQD6LO.cjs +1 -0
- package/components/CasinoCalendarDailyItem-DMCRSt77.js +315 -0
- package/components/CasinoCategoriesSlider-BcJr5qw4.js +606 -0
- package/components/{CasinoCategoriesSlider-Bp9JHeM_.js → CasinoCategoriesSlider-ClyY2tVk.js} +29 -29
- package/components/CasinoCategoriesSlider-Du23Vwbe.cjs +1 -0
- package/components/CasinoCollectionsProviders-D_RrWmcu.js +664 -0
- package/components/{CasinoCollectionsProviders-CrpNb22N.js → CasinoCollectionsProviders-DfPQERZb.js} +58 -58
- package/components/CasinoCollectionsProviders-okanqqGb.cjs +1 -0
- package/components/CasinoFavoritesSection-6Sdpq5gN.cjs +1 -0
- package/components/CasinoFavoritesSection-B73CXUAy.js +439 -0
- package/components/{CasinoFavoritesSection-D_VjX8kh.js → CasinoFavoritesSection-Bueg3sTp.js} +16 -16
- package/components/CasinoFilter-CLgilXuM.js +634 -0
- package/components/{CasinoFilter-CYZHW74M.js → CasinoFilter-Ck2-RKNG.js} +55 -55
- package/components/CasinoFilter-d5NvPsIU.cjs +1 -0
- package/components/{CasinoGamePage-CCqWDOmI.js → CasinoGamePage-B9T32UnC.js} +769 -769
- package/components/CasinoGamePage-BvAh0DGO.js +4300 -0
- package/components/CasinoGamePage-C99GYj8V.cjs +18 -0
- package/components/{CasinoGameThumbnail-DuQXK0BS.js → CasinoGameThumbnail-Bl2lRTS5.js} +66 -66
- package/components/CasinoGameThumbnail-Cnth3w2v.js +1850 -0
- package/components/CasinoGameThumbnail-DFxPFhew.cjs +38 -0
- package/components/CasinoGamesCategorySection-Cy8ehDrS.cjs +1 -0
- package/components/{CasinoGamesCategorySection-B7unf50a.js → CasinoGamesCategorySection-DU23YHrX.js} +157 -157
- package/components/CasinoGamesCategorySection-Vx-6j2_y.js +3032 -0
- package/components/{CasinoJackpotBanner-CL7SMQDH.js → CasinoJackpotBanner-CwBo5Mul.js} +68 -68
- package/components/CasinoJackpotBanner-D8mirkf9.js +618 -0
- package/components/CasinoJackpotBanner-pF19c3bB.cjs +1 -0
- package/components/CasinoLastPlayedSection-CTeLaz5e.cjs +1 -0
- package/components/{CasinoLastPlayedSection-DtUKV7qS.js → CasinoLastPlayedSection-D2i1KYd6.js} +29 -29
- package/components/CasinoLastPlayedSection-DeHKMRjb.js +566 -0
- package/components/{CasinoLobby-Bhufm6di.js → CasinoLobby-DIuXNBMc.js} +49 -49
- package/components/CasinoLobby-DjqoKJ_Z.cjs +1 -0
- package/components/CasinoLobby-Ds8nok67.js +2337 -0
- package/components/{CasinoModal-z0xixUlG.js → CasinoModal-CdxckMSF.js} +69 -69
- package/components/CasinoModal-Cj4CFSu2.cjs +1 -0
- package/components/CasinoModal-_ukjEJqy.js +372 -0
- package/components/CasinoMostPlayedSection-BRG_Uq6C.cjs +1 -0
- package/components/{CasinoMostPlayedSection-DATKT5NZ.js → CasinoMostPlayedSection-BvIjl5pV.js} +32 -32
- package/components/CasinoMostPlayedSection-C9ey8EVj.js +583 -0
- package/components/CasinoMyGames-BH19YGDz.js +1318 -0
- package/components/{CasinoMyGames-CT8sf3p5.js → CasinoMyGames-CO15Aytm.js} +52 -52
- package/components/CasinoMyGames-DNs8c3Rb.cjs +1 -0
- package/components/CasinoPage-BEFfjziT.js +3550 -0
- package/components/{CasinoPage-CLrMZJtx.js → CasinoPage-DXue0b0t.js} +123 -123
- package/components/CasinoPage-sSUBPWhS.cjs +1 -0
- package/components/CasinoRandomGame-C57JuHHz.cjs +2 -0
- package/components/CasinoRandomGame-r6ZN573_.js +668 -0
- package/components/{CasinoRandomGame-efA8CEqy.js → CasinoRandomGame-z14CxLuC.js} +51 -51
- package/components/CasinoSearch-C5_rhVBG.js +1072 -0
- package/components/{CasinoSearch-DuPhm9II.js → CasinoSearch-Cbyb3s0J.js} +83 -83
- package/components/CasinoSearch-D1uEkiG3.cjs +1 -0
- package/components/CasinoSlider-C7bHIIsP.js +806 -0
- package/components/{CasinoSlider-BPqJIB5d.js → CasinoSlider-C90aPXd2.js} +78 -78
- package/components/CasinoSlider-D1u-7DmV.cjs +1 -0
- package/components/CasinoSort-5a6WYp-y.cjs +1 -0
- package/components/{CasinoSort-CBtcK7i0.js → CasinoSort-B9ucfWgD.js} +16 -16
- package/components/CasinoSort-DWu-WSlc.js +432 -0
- package/components/{CasinoWinners-Db2ivy-R.js → CasinoWinners-BFkE1Nu3.js} +62 -62
- package/components/CasinoWinners-D-KQ7v4o.cjs +1 -0
- package/components/CasinoWinners-fPZD2C86.js +971 -0
- package/components/{GeneralAnimationLoading-DiwFEyef.js → GeneralAnimationLoading-BCUksgAT.js} +8 -8
- package/components/GeneralAnimationLoading-BtZxU34J.cjs +1 -0
- package/components/GeneralAnimationLoading-DSCrLTeR.js +75 -0
- package/es2015/casino-lobby.cjs +1 -0
- package/es2015/casino-lobby.js +16 -0
- package/esnext/casino-lobby.js +1 -1
- package/package.json +4 -1
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
- package/stencil/casino-play-random-game-BKQH1Zx1.cjs +371 -0
- package/stencil/casino-play-random-game-BqK1nKDT.js +577 -0
- package/stencil/{casino-play-random-game-BrayzMrR.js → casino-play-random-game-pLVMnBV9.js} +1 -1
- package/stencil/index-f923e8d1-BWfXmHlD.js +645 -0
- package/stencil/index-f923e8d1-DEpJEd5d.cjs +1 -0
- package/stencil/index-f923e8d1-DkIbJRWP.js +629 -0
- package/stencil/index-47910d1c-CWwDm8i3.js +0 -623
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a0 as ie, S as ne, i as se,
|
|
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-yoWAbEkY.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
|
-
|
|
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,
|
|
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
|
-
),
|
|
29
|
+
), m = j(
|
|
30
30
|
M,
|
|
31
31
|
n,
|
|
32
32
|
/*$$scope*/
|
|
33
33
|
n[18],
|
|
34
34
|
V
|
|
35
|
-
),
|
|
35
|
+
), f = m || ye();
|
|
36
36
|
return {
|
|
37
37
|
c() {
|
|
38
|
-
e = W("div"), i = W("div"), s = W("div"), d && d.c(), o =
|
|
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"),
|
|
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,
|
|
46
|
-
|
|
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 =
|
|
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,
|
|
58
|
-
n = l, d && d.p && (!u ||
|
|
59
|
-
262144) &&
|
|
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 ?
|
|
65
|
+
u ? U(
|
|
66
66
|
C,
|
|
67
67
|
/*$$scope*/
|
|
68
68
|
n[18],
|
|
69
|
-
|
|
69
|
+
h,
|
|
70
70
|
null
|
|
71
|
-
) :
|
|
71
|
+
) : T(
|
|
72
72
|
/*$$scope*/
|
|
73
73
|
n[18]
|
|
74
74
|
),
|
|
75
75
|
null
|
|
76
|
-
),
|
|
77
|
-
262144) &&
|
|
78
|
-
|
|
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 ?
|
|
83
|
+
u ? U(
|
|
84
84
|
M,
|
|
85
85
|
/*$$scope*/
|
|
86
86
|
n[18],
|
|
87
|
-
|
|
87
|
+
h,
|
|
88
88
|
pe
|
|
89
|
-
) :
|
|
89
|
+
) : T(
|
|
90
90
|
/*$$scope*/
|
|
91
91
|
n[18]
|
|
92
92
|
),
|
|
93
93
|
V
|
|
94
|
-
), (!u ||
|
|
95
|
-
10 &&
|
|
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",
|
|
97
|
+
n[3] ? "ModalPanicCloseButton" : ""))) && r(a, "class", w);
|
|
98
98
|
},
|
|
99
99
|
i(l) {
|
|
100
|
-
u || (L(d, l), L(
|
|
101
|
-
u && (c || (c =
|
|
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(
|
|
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 &&
|
|
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
|
-
|
|
125
|
+
R(s, e, o), F(e, i);
|
|
126
126
|
},
|
|
127
|
-
p:
|
|
127
|
+
p: he,
|
|
128
128
|
d(s) {
|
|
129
|
-
s &&
|
|
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 =
|
|
140
|
+
s && s.c(), e = de();
|
|
141
141
|
},
|
|
142
142
|
m(o, a) {
|
|
143
|
-
s && s.m(o, a),
|
|
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 && (
|
|
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
|
-
}),
|
|
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 &&
|
|
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:
|
|
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 =
|
|
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
|
-
},
|
|
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" && (
|
|
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
|
-
),
|
|
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
|
-
),
|
|
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" && (
|
|
196
|
+
t.data.type === "GameStateOnResize" && (h = t.data.detailsObtained);
|
|
197
197
|
}, Q = (t) => {
|
|
198
|
-
if (
|
|
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" &&
|
|
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((
|
|
220
|
-
z.innerHTML =
|
|
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 =
|
|
229
|
-
window.removeEventListener("message",
|
|
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,
|
|
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,
|
|
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 &&
|
|
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
|
-
|
|
258
|
+
E,
|
|
259
259
|
S,
|
|
260
260
|
K,
|
|
261
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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 }),
|
|
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 }),
|
|
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 }),
|
|
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 }),
|
|
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 }),
|
|
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 }),
|
|
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 }),
|
|
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 }),
|
|
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 }),
|
|
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 }),
|
|
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 }),
|
|
366
|
+
this.$$set({ integratedgameframedesktop: e }), g();
|
|
367
367
|
}
|
|
368
368
|
}
|
|
369
|
-
|
|
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-BMfA7KN3.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;
|