@everymatrix/casino-game-overlay 0.8.3 → 1.70.1
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/CasinoCoinroyaleContainer-BgtHuBp9.cjs +18 -0
- package/components/CasinoCoinroyaleContainer-D9k7i57b.js +4844 -0
- package/components/CasinoCoinroyaleContainer-DtpSh_fd.js +4889 -0
- package/components/CasinoCoinroyaleDetails-CChe_Ht0.js +470 -0
- package/components/CasinoCoinroyaleDetails-DnKN1CLM.cjs +2 -0
- package/components/CasinoCoinroyaleDetails-GDRjYHPf.js +512 -0
- package/components/CasinoCoinroyaleList-BEdmTcEU.cjs +1 -0
- package/components/CasinoCoinroyaleList-CRcT0rBz.js +2205 -0
- package/components/CasinoCoinroyaleList-TWLzYA-s.js +2162 -0
- package/components/CasinoGameOverlay-BAWGOpb1.js +380 -0
- package/components/CasinoGameOverlay-CqmQdqll.cjs +1 -0
- package/components/CasinoGameOverlay-DgaM5fTp.js +414 -0
- package/components/CasinoMysteryChestContainer-D9g9lN7U.cjs +1 -0
- package/components/CasinoMysteryChestContainer-SYxzIj7Y.js +522 -0
- package/components/CasinoMysteryChestContainer-poX1US08.js +511 -0
- package/components/{CasinoMysteryChestDetails-BgNPkInT.js → CasinoMysteryChestDetails-AyBcarTM.js} +28 -29
- package/components/{CasinoMysteryChestDetails-NOcxZc0D.js → CasinoMysteryChestDetails-BOgwf3A3.js} +31 -32
- package/components/CasinoMysteryChestDetails-EZZHFTGo.cjs +2 -0
- package/components/{CasinoMysteryChestModal-Z9ncUjsj.js → CasinoMysteryChestModal-BT9M8GwH.js} +8 -8
- package/components/CasinoMysteryChestModal-DdMeTnKH.cjs +1 -0
- package/components/{CasinoMysteryChestModal-Bfi5s9Ft.js → CasinoMysteryChestModal-Dw9N73cZ.js} +12 -12
- package/components/CasinoMysteryChestsList-Bx8TJAxU.cjs +1 -0
- package/components/CasinoMysteryChestsList-CRKuUNe0.js +931 -0
- package/components/CasinoMysteryChestsList-Coc0hV94.js +974 -0
- package/components/{GeneralAnimationLoading-DOGoUxcL.js → GeneralAnimationLoading-CT8Vfpo8.js} +8 -7
- package/components/{GeneralAnimationLoading-DSRknRMt.js → GeneralAnimationLoading-CY1sZFSS.js} +10 -9
- package/components/GeneralAnimationLoading-CtSXYOM9.cjs +1 -0
- package/es2015/casino-game-overlay.cjs +1 -1
- package/es2015/casino-game-overlay.js +7 -7
- package/esnext/casino-game-overlay.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
- package/stencil/index-b2193545-BeKKnKhR.js +519 -0
- package/stencil/index-b2193545-HC0t7mHa.js +503 -0
- package/stencil/index-b2193545-YW9b062G.cjs +1 -0
- package/stencil/ui-skeleton-BL4789dS.cjs +1 -0
- package/stencil/ui-skeleton-Ca5rz3Hv.js +29 -0
- package/stencil/ui-skeleton-ae35c6f2-BDBUiN3S.js +155 -0
- package/stencil/ui-skeleton-ae35c6f2-Cn0ZM_hs.js +155 -0
- package/stencil/ui-skeleton-ae35c6f2-xLf3HyeB.cjs +55 -0
- package/stencil/ui-skeleton-hI4GeaLk.js +11 -0
- package/components/CasinoGameOverlay-B4fmPt-6.js +0 -831
- package/components/CasinoGameOverlay-D_eBABXn.js +0 -879
- package/components/CasinoGameOverlay-Dh1TQe_g.cjs +0 -1
- package/components/CasinoMysteryChestContainer-B4lSPYc5.cjs +0 -18
- package/components/CasinoMysteryChestContainer-CP66Zhf-.js +0 -4326
- package/components/CasinoMysteryChestContainer-c21xTovs.js +0 -4315
- package/components/CasinoMysteryChestDetails-CCtDkMES.cjs +0 -2
- package/components/CasinoMysteryChestModal-DHOS9He6.cjs +0 -1
- package/components/CasinoMysteryChestsList-CX_D9fNt.cjs +0 -1
- package/components/CasinoMysteryChestsList-Ck7fKo5Z.js +0 -2231
- package/components/CasinoMysteryChestsList-o6ZeGRkS.js +0 -2188
- package/components/GeneralAnimationLoading-CocnPJaM.cjs +0 -1
package/components/{CasinoMysteryChestDetails-BgNPkInT.js → CasinoMysteryChestDetails-AyBcarTM.js}
RENAMED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as ne, $ as oe, i as se, b as ce } from "./CasinoMysteryChestContainer-c21xTovs.js";
|
|
1
|
+
import { a as z, $ as X, o as N, S as W, i as _, s as $, f as V, b as ee, n as b, d as f, r as te, c as M, k as A, v as D, e as u, g as l, l as v, h, j as F, t as y, m as ie, p as ne, q as oe, w as se, x as ce } from "./CasinoCoinroyaleContainer-D9k7i57b.js";
|
|
3
2
|
function T(t, e) {
|
|
4
|
-
|
|
3
|
+
z(t, e);
|
|
5
4
|
}
|
|
6
5
|
function le(t) {
|
|
7
|
-
|
|
6
|
+
X.set(t);
|
|
8
7
|
}
|
|
9
8
|
const G = (t) => window.postMessage(t, window.location.href), re = (t) => (i) => {
|
|
10
9
|
Object.keys(t).map((c) => {
|
|
@@ -15,7 +14,7 @@ const G = (t) => window.postMessage(t, window.location.href), re = (t) => (i) =>
|
|
|
15
14
|
});
|
|
16
15
|
}, ge = (t) => {
|
|
17
16
|
const e = re(t);
|
|
18
|
-
|
|
17
|
+
N(() => (window.addEventListener("message", e), () => {
|
|
19
18
|
window.removeEventListener("message", e);
|
|
20
19
|
}));
|
|
21
20
|
};
|
|
@@ -67,7 +66,7 @@ const x = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMkAAADLCAYAAADEDrcOAAA
|
|
|
67
66
|
}
|
|
68
67
|
};
|
|
69
68
|
function Ee(t) {
|
|
70
|
-
|
|
69
|
+
ee(t, "svelte-n31egl", `.mobile.drawer{width:100%;height:100%;border-top-left-radius:28px;border-top-right-radius:28px;padding:20px 28px}.mobile .icon-button{width:24px;height:24px}.mobile .chest-header__title{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-medium, 500);line-height:14px}.mobile .chest-icon{width:initial;height:initial}.mobile .chest-icon__container{flex-grow:1;padding:0}.mobile .chest-footer{gap:10px}.mobile .chest-footer__btn{width:170px;height:48px;font-size:var(--emw--font-size-medium, 16px)}.mobile .chest-footer__text{font-size:var(--emw--font-size-x-small, 12px);line-height:14px}.mobile .chest-footer__keys{font-size:var(--emw--font-size-small, 14px);line-height:16px}.drawer{position:fixed;left:50%;transform:translateX(-50%);background:linear-gradient(180deg, var(--emw--color-background, #213841) 0%, var(--emw--color-background-secondary, #0c1a1c) 100%);box-sizing:border-box;z-index:10;transition:bottom 0.5s ease-in-out;bottom:0px;opacity:1;width:60%;height:90%;border-top-left-radius:72px;border-top-right-radius:72px;padding:40px 80px;display:flex;flex-direction:column}.overlay{border:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:var(--emw--color-gray-transparency-20, rgba(21, 43, 48, 0.5019607843));z-index:0;opacity:0;bottom:0px;opacity:1;transition:opacity 0.5s ease-in-out}.icon-button{width:30px;height:30px;border:0px;cursor:pointer}.icon-button.back{background:center/100% url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M10.3579 5.26604C10.0032 4.91132 9.42806 4.91132 9.07334 5.26604L5.26604 9.07334C4.91132 9.42806 4.91132 10.0032 5.26604 10.3579L9.07334 14.1652C9.42806 14.5199 10.0032 14.5199 10.3579 14.1652C10.7126 13.8105 10.7126 13.2354 10.3579 12.8806L8.10118 10.6239H10.7817C12.0761 10.6239 12.9922 10.6246 13.7085 10.6832C14.4142 10.7408 14.8455 10.85 15.1847 11.0229C15.8735 11.3738 16.4335 11.9338 16.7844 12.6226C16.9573 12.9618 17.0665 13.3931 17.1241 14.0989C17.1827 14.8151 17.1834 15.7312 17.1834 17.0256V18.0917C17.1834 18.5933 17.59 19 18.0917 19C18.5933 19 19 18.5933 19 18.0917V16.9854C19 15.74 19 14.7498 18.9347 13.9509C18.8679 13.1329 18.7281 12.4359 18.403 11.7978C17.8779 10.7673 17.04 9.92938 16.0095 9.40427C15.3714 9.07918 14.6744 8.9394 13.8564 8.87257C13.0575 8.80729 12.0673 8.8073 10.8219 8.8073H8.10118L10.3579 6.55059C10.7126 6.19587 10.7126 5.62076 10.3579 5.26604Z" fill="%23729787"/></svg>') no-repeat}.icon-button.close{background:center/100% url('data:image/svg+xml,<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M18 6 6 18M6 6l12 12" stroke="%23729787" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat}.chest-header{display:flex;justify-content:space-between;align-items:center;padding:12px 8px 8px}.chest-header__title{color:var(--emw--color-primary, #d3ffed);font-size:var(--emw--font-size-large, 22px);font-weight:var(--emw--font-weight-bold, 700);line-height:25px}.additional-chest-glare{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%) rotate(-40deg);background:linear-gradient(317.36deg, #91caff 3.8%, #f3ffc2 100%);filter:blur(50px);mix-blend-mode:hard-light;width:325px;height:325px;border-radius:40px}.chest-icon{position:relative;z-index:1;width:265px}.chest-icon__container{position:relative;padding:100px 0;align-self:center;align-content:center}.chest-icon__container::after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%) rotate(-15deg);background:linear-gradient(317.36deg, #91caff 3.8%, #f3ffc2 100%);filter:blur(30px);mix-blend-mode:hard-light;width:225px;height:225px;border-radius:40px;pointer-events:none}.chest-icon.empty{filter:grayscale(100%)}.chest-footer{display:flex;flex-direction:column;gap:20px;align-items:center;padding:32px 0}.chest-footer__btn{cursor:pointer;width:280px;height:60px;border-radius:54px;border:none;background:linear-gradient(90deg, var(--emw--button-border-color, #75ffe9) 0%, var(--emw--button-border-color-secondary, #b2ff6d) 100%);font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-medium-plus, 18px);line-height:18px;letter-spacing:0px;color:var(--emw--color-background-secondary, #0c1a1c)}.chest-footer__text{margin:0;font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-x-small, 16px);line-height:32px;letter-spacing:0px;text-align:center;color:var(--emw--color-primary, #d3ffed);display:flex;align-items:center;gap:8px}.chest-footer__keys{display:flex;align-items:center;gap:3px;font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-x-small, 16px);line-height:32px;letter-spacing:0px;text-align:center}`);
|
|
71
70
|
}
|
|
72
71
|
function P(t) {
|
|
73
72
|
let e;
|
|
@@ -160,7 +159,7 @@ function me(t) {
|
|
|
160
159
|
/*opening*/
|
|
161
160
|
t[4] && P()
|
|
162
161
|
);
|
|
163
|
-
function n(Q,
|
|
162
|
+
function n(Q, j) {
|
|
164
163
|
return (
|
|
165
164
|
/*activeChest*/
|
|
166
165
|
Q[0].current.remainingTimes ? Ue : Ce
|
|
@@ -174,8 +173,8 @@ function me(t) {
|
|
|
174
173
|
t[3]) || A(U, "src", E), A(U, "alt", "Mystery chest"), A(S, "class", "chest-icon__container"), A(B, "class", "chest-footer"), A(s, "class", "drawer " + /*mobileView*/
|
|
175
174
|
(t[6] ? "mobile" : "")), A(e, "part", "CustomStylingContainer");
|
|
176
175
|
},
|
|
177
|
-
m(Q,
|
|
178
|
-
u(Q, e,
|
|
176
|
+
m(Q, j) {
|
|
177
|
+
u(Q, e, j), l(e, i), l(e, c), l(e, s), l(s, o), l(o, a), l(o, J), l(o, r), l(r, I), l(o, w), l(o, d), l(s, K), l(s, S), m && m.m(S, null), l(S, k), l(S, U), l(s, R), l(s, B), p.m(B, null), t[15](e), O || (L = [
|
|
179
178
|
v(
|
|
180
179
|
i,
|
|
181
180
|
"click",
|
|
@@ -196,31 +195,31 @@ function me(t) {
|
|
|
196
195
|
)
|
|
197
196
|
], O = !0);
|
|
198
197
|
},
|
|
199
|
-
p(Q, [
|
|
200
|
-
|
|
198
|
+
p(Q, [j]) {
|
|
199
|
+
j & /*activeChest, lang*/
|
|
201
200
|
3 && g !== (g = /*activeChest*/
|
|
202
201
|
(Q[0].program.name[
|
|
203
202
|
/*lang*/
|
|
204
203
|
Q[1]
|
|
205
204
|
] || /*activeChest*/
|
|
206
205
|
Q[0].program.name[Y.default]) + "") && M(I, g), /*opening*/
|
|
207
|
-
Q[4] ? m || (m = P(), m.c(), m.m(S, k)) : m && (m.d(1), m = null),
|
|
206
|
+
Q[4] ? m || (m = P(), m.c(), m.m(S, k)) : m && (m.d(1), m = null), j & /*activeChest*/
|
|
208
207
|
1 && q !== (q = "chest-icon " + /*activeChest*/
|
|
209
|
-
(Q[0].current.remainingTimes ? "" : "empty")) && A(U, "class", q),
|
|
208
|
+
(Q[0].current.remainingTimes ? "" : "empty")) && A(U, "class", q), j & /*chestImg*/
|
|
210
209
|
8 && !D(U.src, E = /*chestImg*/
|
|
211
|
-
Q[3]) && A(U, "src", E), C === (C = n(Q)) && p ? p.p(Q,
|
|
210
|
+
Q[3]) && A(U, "src", E), C === (C = n(Q)) && p ? p.p(Q, j) : (p.d(1), p = C(Q), p && (p.c(), p.m(B, null)));
|
|
212
211
|
},
|
|
213
212
|
i: b,
|
|
214
213
|
o: b,
|
|
215
214
|
d(Q) {
|
|
216
|
-
Q && f(e), m && m.d(), p.d(), t[15](null), O = !1,
|
|
215
|
+
Q && f(e), m && m.d(), p.d(), t[15](null), O = !1, te(L);
|
|
217
216
|
}
|
|
218
217
|
};
|
|
219
218
|
}
|
|
220
219
|
function Qe(t, e, i) {
|
|
221
220
|
let c;
|
|
222
|
-
|
|
223
|
-
let { lang: s = Y.en } = e, { endpoint: o = "" } = e, { session: a = "" } = e, { clientstyling: J = "" } = e, { clientstylingurl: r = "" } = e, { translationurl: g = "" } = e, { activeChest: I } = e, w = window.navigator.userAgent, d =
|
|
221
|
+
ie(t, ce, (n) => i(5, c = n));
|
|
222
|
+
let { lang: s = Y.en } = e, { endpoint: o = "" } = e, { session: a = "" } = e, { clientstyling: J = "" } = e, { clientstylingurl: r = "" } = e, { translationurl: g = "" } = e, { activeChest: I } = e, w = window.navigator.userAgent, d = ne(w), K, S = x, k = !1;
|
|
224
223
|
const U = () => {
|
|
225
224
|
let n = document.createElement("style");
|
|
226
225
|
n.innerHTML = J, K.appendChild(n);
|
|
@@ -269,7 +268,7 @@ function Qe(t, e, i) {
|
|
|
269
268
|
}
|
|
270
269
|
});
|
|
271
270
|
function m(n) {
|
|
272
|
-
|
|
271
|
+
oe[n ? "unshift" : "push"](() => {
|
|
273
272
|
K = n, i(2, K);
|
|
274
273
|
});
|
|
275
274
|
}
|
|
@@ -300,14 +299,14 @@ function Qe(t, e, i) {
|
|
|
300
299
|
m
|
|
301
300
|
];
|
|
302
301
|
}
|
|
303
|
-
class Ke extends
|
|
302
|
+
class Ke extends W {
|
|
304
303
|
constructor(e) {
|
|
305
|
-
super(),
|
|
304
|
+
super(), _(
|
|
306
305
|
this,
|
|
307
306
|
e,
|
|
308
307
|
Qe,
|
|
309
308
|
me,
|
|
310
|
-
|
|
309
|
+
$,
|
|
311
310
|
{
|
|
312
311
|
lang: 1,
|
|
313
312
|
endpoint: 10,
|
|
@@ -324,46 +323,46 @@ class Ke extends X {
|
|
|
324
323
|
return this.$$.ctx[1];
|
|
325
324
|
}
|
|
326
325
|
set lang(e) {
|
|
327
|
-
this.$$set({ lang: e }),
|
|
326
|
+
this.$$set({ lang: e }), V();
|
|
328
327
|
}
|
|
329
328
|
get endpoint() {
|
|
330
329
|
return this.$$.ctx[10];
|
|
331
330
|
}
|
|
332
331
|
set endpoint(e) {
|
|
333
|
-
this.$$set({ endpoint: e }),
|
|
332
|
+
this.$$set({ endpoint: e }), V();
|
|
334
333
|
}
|
|
335
334
|
get session() {
|
|
336
335
|
return this.$$.ctx[11];
|
|
337
336
|
}
|
|
338
337
|
set session(e) {
|
|
339
|
-
this.$$set({ session: e }),
|
|
338
|
+
this.$$set({ session: e }), V();
|
|
340
339
|
}
|
|
341
340
|
get clientstyling() {
|
|
342
341
|
return this.$$.ctx[12];
|
|
343
342
|
}
|
|
344
343
|
set clientstyling(e) {
|
|
345
|
-
this.$$set({ clientstyling: e }),
|
|
344
|
+
this.$$set({ clientstyling: e }), V();
|
|
346
345
|
}
|
|
347
346
|
get clientstylingurl() {
|
|
348
347
|
return this.$$.ctx[13];
|
|
349
348
|
}
|
|
350
349
|
set clientstylingurl(e) {
|
|
351
|
-
this.$$set({ clientstylingurl: e }),
|
|
350
|
+
this.$$set({ clientstylingurl: e }), V();
|
|
352
351
|
}
|
|
353
352
|
get translationurl() {
|
|
354
353
|
return this.$$.ctx[14];
|
|
355
354
|
}
|
|
356
355
|
set translationurl(e) {
|
|
357
|
-
this.$$set({ translationurl: e }),
|
|
356
|
+
this.$$set({ translationurl: e }), V();
|
|
358
357
|
}
|
|
359
358
|
get activeChest() {
|
|
360
359
|
return this.$$.ctx[0];
|
|
361
360
|
}
|
|
362
361
|
set activeChest(e) {
|
|
363
|
-
this.$$set({ activeChest: e }),
|
|
362
|
+
this.$$set({ activeChest: e }), V();
|
|
364
363
|
}
|
|
365
364
|
}
|
|
366
|
-
|
|
365
|
+
se(Ke, { lang: {}, endpoint: {}, session: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activeChest: {} }, [], [], !0);
|
|
367
366
|
export {
|
|
368
367
|
Ke as default
|
|
369
368
|
};
|
package/components/{CasinoMysteryChestDetails-NOcxZc0D.js → CasinoMysteryChestDetails-BOgwf3A3.js}
RENAMED
|
@@ -35,13 +35,12 @@ var y = (t, e, i) => new Promise((s, n) => {
|
|
|
35
35
|
}, h = (l) => l.done ? s(l.value) : Promise.resolve(l.value).then(o, g);
|
|
36
36
|
h((i = i.apply(t, e)).next());
|
|
37
37
|
});
|
|
38
|
-
import {
|
|
39
|
-
import { a as Se, $ as pe, i as Je, b as Ee } from "./CasinoMysteryChestContainer-CP66Zhf-.js";
|
|
38
|
+
import { a as se, $ as ce, o as le, S as re, i as ge, s as Ae, f as V, b as ae, n as W, d as f, r as Ie, c as v, k as a, v as T, e as u, g as A, l as Y, h as p, j as F, t as O, m as he, p as Se, q as pe, w as Je, x as Ee } from "./CasinoCoinroyaleContainer-DtpSh_fd.js";
|
|
40
39
|
function _(t, e) {
|
|
41
|
-
|
|
40
|
+
se(t, e);
|
|
42
41
|
}
|
|
43
42
|
function Ce(t) {
|
|
44
|
-
|
|
43
|
+
ce.set(t);
|
|
45
44
|
}
|
|
46
45
|
const M = (t) => window.postMessage(t, window.location.href), Ue = (t) => (i) => {
|
|
47
46
|
Object.keys(t).map((s) => {
|
|
@@ -52,7 +51,7 @@ const M = (t) => window.postMessage(t, window.location.href), Ue = (t) => (i) =>
|
|
|
52
51
|
});
|
|
53
52
|
}, me = (t) => {
|
|
54
53
|
const e = Ue(t);
|
|
55
|
-
|
|
54
|
+
le(() => (window.addEventListener("message", e), () => {
|
|
56
55
|
window.removeEventListener("message", e);
|
|
57
56
|
}));
|
|
58
57
|
};
|
|
@@ -104,7 +103,7 @@ const $ = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMkAAADLCAYAAADEDrcOAAA
|
|
|
104
103
|
}
|
|
105
104
|
};
|
|
106
105
|
function fe(t) {
|
|
107
|
-
|
|
106
|
+
ae(t, "svelte-n31egl", `.mobile.drawer{width:100%;height:100%;border-top-left-radius:28px;border-top-right-radius:28px;padding:20px 28px}.mobile .icon-button{width:24px;height:24px}.mobile .chest-header__title{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-medium, 500);line-height:14px}.mobile .chest-icon{width:initial;height:initial}.mobile .chest-icon__container{flex-grow:1;padding:0}.mobile .chest-footer{gap:10px}.mobile .chest-footer__btn{width:170px;height:48px;font-size:var(--emw--font-size-medium, 16px)}.mobile .chest-footer__text{font-size:var(--emw--font-size-x-small, 12px);line-height:14px}.mobile .chest-footer__keys{font-size:var(--emw--font-size-small, 14px);line-height:16px}.drawer{position:fixed;left:50%;transform:translateX(-50%);background:linear-gradient(180deg, var(--emw--color-background, #213841) 0%, var(--emw--color-background-secondary, #0c1a1c) 100%);box-sizing:border-box;z-index:10;transition:bottom 0.5s ease-in-out;bottom:0px;opacity:1;width:60%;height:90%;border-top-left-radius:72px;border-top-right-radius:72px;padding:40px 80px;display:flex;flex-direction:column}.overlay{border:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:var(--emw--color-gray-transparency-20, rgba(21, 43, 48, 0.5019607843));z-index:0;opacity:0;bottom:0px;opacity:1;transition:opacity 0.5s ease-in-out}.icon-button{width:30px;height:30px;border:0px;cursor:pointer}.icon-button.back{background:center/100% url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M10.3579 5.26604C10.0032 4.91132 9.42806 4.91132 9.07334 5.26604L5.26604 9.07334C4.91132 9.42806 4.91132 10.0032 5.26604 10.3579L9.07334 14.1652C9.42806 14.5199 10.0032 14.5199 10.3579 14.1652C10.7126 13.8105 10.7126 13.2354 10.3579 12.8806L8.10118 10.6239H10.7817C12.0761 10.6239 12.9922 10.6246 13.7085 10.6832C14.4142 10.7408 14.8455 10.85 15.1847 11.0229C15.8735 11.3738 16.4335 11.9338 16.7844 12.6226C16.9573 12.9618 17.0665 13.3931 17.1241 14.0989C17.1827 14.8151 17.1834 15.7312 17.1834 17.0256V18.0917C17.1834 18.5933 17.59 19 18.0917 19C18.5933 19 19 18.5933 19 18.0917V16.9854C19 15.74 19 14.7498 18.9347 13.9509C18.8679 13.1329 18.7281 12.4359 18.403 11.7978C17.8779 10.7673 17.04 9.92938 16.0095 9.40427C15.3714 9.07918 14.6744 8.9394 13.8564 8.87257C13.0575 8.80729 12.0673 8.8073 10.8219 8.8073H8.10118L10.3579 6.55059C10.7126 6.19587 10.7126 5.62076 10.3579 5.26604Z" fill="%23729787"/></svg>') no-repeat}.icon-button.close{background:center/100% url('data:image/svg+xml,<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M18 6 6 18M6 6l12 12" stroke="%23729787" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat}.chest-header{display:flex;justify-content:space-between;align-items:center;padding:12px 8px 8px}.chest-header__title{color:var(--emw--color-primary, #d3ffed);font-size:var(--emw--font-size-large, 22px);font-weight:var(--emw--font-weight-bold, 700);line-height:25px}.additional-chest-glare{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%) rotate(-40deg);background:linear-gradient(317.36deg, #91caff 3.8%, #f3ffc2 100%);filter:blur(50px);mix-blend-mode:hard-light;width:325px;height:325px;border-radius:40px}.chest-icon{position:relative;z-index:1;width:265px}.chest-icon__container{position:relative;padding:100px 0;align-self:center;align-content:center}.chest-icon__container::after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%) rotate(-15deg);background:linear-gradient(317.36deg, #91caff 3.8%, #f3ffc2 100%);filter:blur(30px);mix-blend-mode:hard-light;width:225px;height:225px;border-radius:40px;pointer-events:none}.chest-icon.empty{filter:grayscale(100%)}.chest-footer{display:flex;flex-direction:column;gap:20px;align-items:center;padding:32px 0}.chest-footer__btn{cursor:pointer;width:280px;height:60px;border-radius:54px;border:none;background:linear-gradient(90deg, var(--emw--button-border-color, #75ffe9) 0%, var(--emw--button-border-color-secondary, #b2ff6d) 100%);font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-medium-plus, 18px);line-height:18px;letter-spacing:0px;color:var(--emw--color-background-secondary, #0c1a1c)}.chest-footer__text{margin:0;font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-x-small, 16px);line-height:32px;letter-spacing:0px;text-align:center;color:var(--emw--color-primary, #d3ffed);display:flex;align-items:center;gap:8px}.chest-footer__keys{display:flex;align-items:center;gap:3px;font-weight:var(--emw--font-weight-bold, 700);font-size:var(--emw--font-size-x-small, 16px);line-height:32px;letter-spacing:0px;text-align:center}`);
|
|
108
107
|
}
|
|
109
108
|
function te(t) {
|
|
110
109
|
let e;
|
|
@@ -197,7 +196,7 @@ function Be(t) {
|
|
|
197
196
|
/*opening*/
|
|
198
197
|
t[4] && te()
|
|
199
198
|
);
|
|
200
|
-
function c(Q,
|
|
199
|
+
function c(Q, j) {
|
|
201
200
|
return (
|
|
202
201
|
/*activeChest*/
|
|
203
202
|
Q[0].current.remainingTimes ? we : ue
|
|
@@ -211,8 +210,8 @@ function Be(t) {
|
|
|
211
210
|
t[3]) || a(C, "src", E), a(C, "alt", "Mystery chest"), a(J, "class", "chest-icon__container"), a(B, "class", "chest-footer"), a(n, "class", "drawer " + /*mobileView*/
|
|
212
211
|
(t[6] ? "mobile" : "")), a(e, "part", "CustomStylingContainer");
|
|
213
212
|
},
|
|
214
|
-
m(Q,
|
|
215
|
-
u(Q, e,
|
|
213
|
+
m(Q, j) {
|
|
214
|
+
u(Q, e, j), A(e, i), A(e, s), A(e, n), A(n, o), A(o, g), A(o, h), A(o, l), A(l, S), A(o, w), A(o, d), A(n, K), A(n, J), U && U.m(J, null), A(J, k), A(J, C), A(n, R), A(n, B), I.m(B, null), t[15](e), G || (D = [
|
|
216
215
|
Y(
|
|
217
216
|
i,
|
|
218
217
|
"click",
|
|
@@ -233,31 +232,31 @@ function Be(t) {
|
|
|
233
232
|
)
|
|
234
233
|
], G = !0);
|
|
235
234
|
},
|
|
236
|
-
p(Q, [
|
|
237
|
-
|
|
235
|
+
p(Q, [j]) {
|
|
236
|
+
j & /*activeChest, lang*/
|
|
238
237
|
3 && r !== (r = /*activeChest*/
|
|
239
238
|
(Q[0].program.name[
|
|
240
239
|
/*lang*/
|
|
241
240
|
Q[1]
|
|
242
241
|
] || /*activeChest*/
|
|
243
242
|
Q[0].program.name[L.default]) + "") && v(S, r), /*opening*/
|
|
244
|
-
Q[4] ? U || (U = te(), U.c(), U.m(J, k)) : U && (U.d(1), U = null),
|
|
243
|
+
Q[4] ? U || (U = te(), U.c(), U.m(J, k)) : U && (U.d(1), U = null), j & /*activeChest*/
|
|
245
244
|
1 && q !== (q = "chest-icon " + /*activeChest*/
|
|
246
|
-
(Q[0].current.remainingTimes ? "" : "empty")) && a(C, "class", q),
|
|
245
|
+
(Q[0].current.remainingTimes ? "" : "empty")) && a(C, "class", q), j & /*chestImg*/
|
|
247
246
|
8 && !T(C.src, E = /*chestImg*/
|
|
248
|
-
Q[3]) && a(C, "src", E), m === (m = c(Q)) && I ? I.p(Q,
|
|
247
|
+
Q[3]) && a(C, "src", E), m === (m = c(Q)) && I ? I.p(Q, j) : (I.d(1), I = m(Q), I && (I.c(), I.m(B, null)));
|
|
249
248
|
},
|
|
250
249
|
i: W,
|
|
251
250
|
o: W,
|
|
252
251
|
d(Q) {
|
|
253
|
-
Q && f(e), U && U.d(), I.d(), t[15](null), G = !1,
|
|
252
|
+
Q && f(e), U && U.d(), I.d(), t[15](null), G = !1, Ie(D);
|
|
254
253
|
}
|
|
255
254
|
};
|
|
256
255
|
}
|
|
257
|
-
function
|
|
256
|
+
function je(t, e, i) {
|
|
258
257
|
let s;
|
|
259
|
-
|
|
260
|
-
let { lang: n = L.en } = e, { endpoint: o = "" } = e, { session: g = "" } = e, { clientstyling: h = "" } = e, { clientstylingurl: l = "" } = e, { translationurl: r = "" } = e, { activeChest: S } = e, w = window.navigator.userAgent, d =
|
|
258
|
+
he(t, Ee, (c) => i(5, s = c));
|
|
259
|
+
let { lang: n = L.en } = e, { endpoint: o = "" } = e, { session: g = "" } = e, { clientstyling: h = "" } = e, { clientstylingurl: l = "" } = e, { translationurl: r = "" } = e, { activeChest: S } = e, w = window.navigator.userAgent, d = Se(w), K, J = $, k = !1;
|
|
261
260
|
const C = () => {
|
|
262
261
|
let c = document.createElement("style");
|
|
263
262
|
c.innerHTML = h, K.appendChild(c);
|
|
@@ -307,7 +306,7 @@ function Ve(t, e, i) {
|
|
|
307
306
|
}
|
|
308
307
|
});
|
|
309
308
|
function U(c) {
|
|
310
|
-
|
|
309
|
+
pe[c ? "unshift" : "push"](() => {
|
|
311
310
|
K = c, i(2, K);
|
|
312
311
|
});
|
|
313
312
|
}
|
|
@@ -338,14 +337,14 @@ function Ve(t, e, i) {
|
|
|
338
337
|
U
|
|
339
338
|
];
|
|
340
339
|
}
|
|
341
|
-
class
|
|
340
|
+
class Ve extends re {
|
|
342
341
|
constructor(e) {
|
|
343
|
-
super(),
|
|
342
|
+
super(), ge(
|
|
344
343
|
this,
|
|
345
344
|
e,
|
|
346
|
-
|
|
345
|
+
je,
|
|
347
346
|
Be,
|
|
348
|
-
|
|
347
|
+
Ae,
|
|
349
348
|
{
|
|
350
349
|
lang: 1,
|
|
351
350
|
endpoint: 10,
|
|
@@ -362,46 +361,46 @@ class je extends ce {
|
|
|
362
361
|
return this.$$.ctx[1];
|
|
363
362
|
}
|
|
364
363
|
set lang(e) {
|
|
365
|
-
this.$$set({ lang: e }),
|
|
364
|
+
this.$$set({ lang: e }), V();
|
|
366
365
|
}
|
|
367
366
|
get endpoint() {
|
|
368
367
|
return this.$$.ctx[10];
|
|
369
368
|
}
|
|
370
369
|
set endpoint(e) {
|
|
371
|
-
this.$$set({ endpoint: e }),
|
|
370
|
+
this.$$set({ endpoint: e }), V();
|
|
372
371
|
}
|
|
373
372
|
get session() {
|
|
374
373
|
return this.$$.ctx[11];
|
|
375
374
|
}
|
|
376
375
|
set session(e) {
|
|
377
|
-
this.$$set({ session: e }),
|
|
376
|
+
this.$$set({ session: e }), V();
|
|
378
377
|
}
|
|
379
378
|
get clientstyling() {
|
|
380
379
|
return this.$$.ctx[12];
|
|
381
380
|
}
|
|
382
381
|
set clientstyling(e) {
|
|
383
|
-
this.$$set({ clientstyling: e }),
|
|
382
|
+
this.$$set({ clientstyling: e }), V();
|
|
384
383
|
}
|
|
385
384
|
get clientstylingurl() {
|
|
386
385
|
return this.$$.ctx[13];
|
|
387
386
|
}
|
|
388
387
|
set clientstylingurl(e) {
|
|
389
|
-
this.$$set({ clientstylingurl: e }),
|
|
388
|
+
this.$$set({ clientstylingurl: e }), V();
|
|
390
389
|
}
|
|
391
390
|
get translationurl() {
|
|
392
391
|
return this.$$.ctx[14];
|
|
393
392
|
}
|
|
394
393
|
set translationurl(e) {
|
|
395
|
-
this.$$set({ translationurl: e }),
|
|
394
|
+
this.$$set({ translationurl: e }), V();
|
|
396
395
|
}
|
|
397
396
|
get activeChest() {
|
|
398
397
|
return this.$$.ctx[0];
|
|
399
398
|
}
|
|
400
399
|
set activeChest(e) {
|
|
401
|
-
this.$$set({ activeChest: e }),
|
|
400
|
+
this.$$set({ activeChest: e }), V();
|
|
402
401
|
}
|
|
403
402
|
}
|
|
404
|
-
|
|
403
|
+
Je(Ve, { lang: {}, endpoint: {}, session: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activeChest: {} }, [], [], !0);
|
|
405
404
|
export {
|
|
406
|
-
|
|
405
|
+
Ve as default
|
|
407
406
|
};
|