@everymatrix/player-account-self-exclusion-nd 1.87.26 → 1.87.27
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/PlayerAccountGeneralConfirmationModal-CyA0qYSm.js +375 -0
- package/components/PlayerAccountGeneralConfirmationModal-D2yKLHx5.cjs +1 -0
- package/components/PlayerAccountGeneralConfirmationModal-DGzywDg_.js +375 -0
- package/components/PlayerAccountModal-DXLKt8wG.cjs +1 -0
- package/components/{PlayerAccountModal-DADOkfPP.js → PlayerAccountModal-EVuV7KG1.js} +17 -17
- package/components/{PlayerAccountModal-B2zOkRj3.js → PlayerAccountModal-saaxZ-KJ.js} +17 -17
- package/components/PlayerAccountSelfExclusionNd-Bs4sZpbb.cjs +3575 -0
- package/components/{PlayerAccountSelfExclusionNd-BrWmz5vg.js → PlayerAccountSelfExclusionNd-ByEyD-tB.js} +9076 -4533
- package/components/{PlayerAccountSelfExclusionNd-67Kv5nAI.js → PlayerAccountSelfExclusionNd-CEsGoeKp.js} +8689 -4132
- package/es2015/player-account-self-exclusion-nd.cjs +1 -1
- package/es2015/player-account-self-exclusion-nd.js +7 -7
- package/esnext/player-account-self-exclusion-nd.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountGeneralConfirmationModal-CIRi6wCb.js +0 -4902
- package/components/PlayerAccountGeneralConfirmationModal-CX85nlMy.js +0 -4939
- package/components/PlayerAccountGeneralConfirmationModal-xg8r2qzc.cjs +0 -21
- package/components/PlayerAccountModal-CpbKOwmO.cjs +0 -1
- package/components/PlayerAccountSelfExclusionNd-siERw39s.cjs +0 -3555
|
@@ -0,0 +1,375 @@
|
|
|
1
|
+
import { B as K, $ as Q, S as V, a as X, s as Y, f as h, b as Z, l as $, d as S, C as ee, t as te, e as ne, u as oe, p as ae, q as re, D as E, j as L, r as d, E as j, v as _, F as B, G as T, w as i, H as ie, I as le, o as se, J as ce, K as W, x as me, y as fe, z as de, A as ue, c as be, L as ge } from "./PlayerAccountSelfExclusionNd-ByEyD-tB.js";
|
|
2
|
+
function H(n, e) {
|
|
3
|
+
K(n, e);
|
|
4
|
+
}
|
|
5
|
+
function he(n) {
|
|
6
|
+
Q.set(n);
|
|
7
|
+
}
|
|
8
|
+
const N = {
|
|
9
|
+
en: {
|
|
10
|
+
cancel: "Cancel",
|
|
11
|
+
confirm: "Confirm"
|
|
12
|
+
},
|
|
13
|
+
fr: {
|
|
14
|
+
cancel: "Annuler",
|
|
15
|
+
confirm: "Confirmer"
|
|
16
|
+
},
|
|
17
|
+
ro: {
|
|
18
|
+
cancel: "Anulează",
|
|
19
|
+
confirm: "Confirmă"
|
|
20
|
+
},
|
|
21
|
+
es: {
|
|
22
|
+
cancel: "Cancelar",
|
|
23
|
+
confirm: "Confirmar"
|
|
24
|
+
},
|
|
25
|
+
pt: {
|
|
26
|
+
cancel: "Cancelar",
|
|
27
|
+
confirm: "Confirmar"
|
|
28
|
+
},
|
|
29
|
+
"zh-hk": {
|
|
30
|
+
cancel: "取消",
|
|
31
|
+
confirm: "確認"
|
|
32
|
+
},
|
|
33
|
+
hr: {
|
|
34
|
+
cancel: "Otkaži",
|
|
35
|
+
confirm: "Potvrdi"
|
|
36
|
+
},
|
|
37
|
+
"pt-br": {
|
|
38
|
+
cancel: "Cancelar",
|
|
39
|
+
confirm: "confirme"
|
|
40
|
+
},
|
|
41
|
+
"es-mx": {
|
|
42
|
+
cancel: "Cancelar",
|
|
43
|
+
confirm: "Confirmar"
|
|
44
|
+
},
|
|
45
|
+
tr: {
|
|
46
|
+
cancel: "İptal etmek",
|
|
47
|
+
confirm: "Onaylamak"
|
|
48
|
+
},
|
|
49
|
+
"en-us": {
|
|
50
|
+
cancel: "Cancel",
|
|
51
|
+
confirm: "Confirm"
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
function Ce(n) {
|
|
55
|
+
Z(n, "svelte-8g0wf4", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #ffffff)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013e5c));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-secondary, #e98b0f) 80%, black 20%), #22b04e);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013e5c) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #bfcbc3);color:var(--emw--color-gray-100, #bfcbc3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #063b17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
|
|
56
|
+
}
|
|
57
|
+
const pe = (n) => ({}), P = (n) => ({});
|
|
58
|
+
function xe(n) {
|
|
59
|
+
let e, t;
|
|
60
|
+
return {
|
|
61
|
+
c() {
|
|
62
|
+
e = W("svg"), t = W("path"), i(t, "stroke-linecap", "round"), i(t, "stroke-linejoin", "round"), i(t, "stroke-width", "2"), i(t, "d", "M6 18L18 6M6 6l12 12"), i(e, "class", "w-6 h-6"), i(e, "fill", "none"), i(e, "stroke", "currentColor"), i(e, "viewBox", "0 0 24 24"), i(e, "xmlns", "http://www.w3.org/2000/svg");
|
|
63
|
+
},
|
|
64
|
+
m(r, l) {
|
|
65
|
+
L(r, e, l), d(e, t);
|
|
66
|
+
},
|
|
67
|
+
p: ce,
|
|
68
|
+
d(r) {
|
|
69
|
+
r && S(e);
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
function q(n) {
|
|
74
|
+
let e, t, r;
|
|
75
|
+
return {
|
|
76
|
+
c() {
|
|
77
|
+
e = _("div"), t = _("h2"), r = T(
|
|
78
|
+
/*modaltitle*/
|
|
79
|
+
n[1]
|
|
80
|
+
), i(e, "class", "GeneralConfirmationTitle");
|
|
81
|
+
},
|
|
82
|
+
m(l, u) {
|
|
83
|
+
L(l, e, u), d(e, t), d(t, r);
|
|
84
|
+
},
|
|
85
|
+
p(l, u) {
|
|
86
|
+
u & /*modaltitle*/
|
|
87
|
+
2 && E(
|
|
88
|
+
r,
|
|
89
|
+
/*modaltitle*/
|
|
90
|
+
l[1]
|
|
91
|
+
);
|
|
92
|
+
},
|
|
93
|
+
d(l) {
|
|
94
|
+
l && S(e);
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
function D(n) {
|
|
99
|
+
let e, t = (
|
|
100
|
+
/*$_*/
|
|
101
|
+
n[4]("cancel") + ""
|
|
102
|
+
), r, l, u;
|
|
103
|
+
return {
|
|
104
|
+
c() {
|
|
105
|
+
e = _("button"), r = T(t), i(e, "class", "GeneralCancelButton");
|
|
106
|
+
},
|
|
107
|
+
m(f, v) {
|
|
108
|
+
L(f, e, v), d(e, r), l || (u = j(
|
|
109
|
+
e,
|
|
110
|
+
"click",
|
|
111
|
+
/*click_handler*/
|
|
112
|
+
n[18]
|
|
113
|
+
), l = !0);
|
|
114
|
+
},
|
|
115
|
+
p(f, v) {
|
|
116
|
+
v & /*$_*/
|
|
117
|
+
16 && t !== (t = /*$_*/
|
|
118
|
+
f[4]("cancel") + "") && E(r, t);
|
|
119
|
+
},
|
|
120
|
+
d(f) {
|
|
121
|
+
f && S(e), l = !1, u();
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
function ve(n) {
|
|
126
|
+
let e, t, r, l, u, f, v, C, y, p, w = (
|
|
127
|
+
/*$_*/
|
|
128
|
+
n[4]("confirm") + ""
|
|
129
|
+
), k, b, G, A;
|
|
130
|
+
const M = (
|
|
131
|
+
/*#slots*/
|
|
132
|
+
n[17].close
|
|
133
|
+
), s = $(
|
|
134
|
+
M,
|
|
135
|
+
n,
|
|
136
|
+
/*$$scope*/
|
|
137
|
+
n[16],
|
|
138
|
+
P
|
|
139
|
+
), x = s || xe();
|
|
140
|
+
let c = (
|
|
141
|
+
/*modaltitle*/
|
|
142
|
+
n[1] && q(n)
|
|
143
|
+
), m = (
|
|
144
|
+
/*hascancelbutton*/
|
|
145
|
+
n[2] && D(n)
|
|
146
|
+
);
|
|
147
|
+
return {
|
|
148
|
+
c() {
|
|
149
|
+
e = _("div"), t = _("div"), r = _("span"), x && x.c(), l = B(), c && c.c(), u = B(), f = _("div"), v = B(), C = _("div"), m && m.c(), y = B(), p = _("button"), k = T(w), i(r, "class", "ModalCloseBtn"), i(r, "role", "button"), i(f, "class", "GeneralConfirmationContent"), i(p, "class", "GeneralConfirmButton"), i(C, "class", "GeneralConfirmationControlArea " + /*isMobile*/
|
|
150
|
+
(n[5] ? "GeneralConfirmationControlAreaMobile" : "")), i(t, "class", "GeneralConfirmationContainer " + /*isMobile*/
|
|
151
|
+
(n[5] ? "GeneralConfirmationContainerMobile" : "")), i(e, "class", "GeneralConfirmationWrapper " + /*isMobile*/
|
|
152
|
+
(n[5] ? "GeneralConfirmationMobileWrapper" : ""));
|
|
153
|
+
},
|
|
154
|
+
m(a, g) {
|
|
155
|
+
L(a, e, g), d(e, t), d(t, r), x && x.m(r, null), d(t, l), c && c.m(t, null), d(t, u), d(t, f), f.innerHTML = /*modaltext*/
|
|
156
|
+
n[0], d(t, v), d(t, C), m && m.m(C, null), d(C, y), d(C, p), d(p, k), n[20](e), b = !0, G || (A = [
|
|
157
|
+
j(
|
|
158
|
+
r,
|
|
159
|
+
"click",
|
|
160
|
+
/*close*/
|
|
161
|
+
n[6]
|
|
162
|
+
),
|
|
163
|
+
j(
|
|
164
|
+
p,
|
|
165
|
+
"click",
|
|
166
|
+
/*click_handler_1*/
|
|
167
|
+
n[19]
|
|
168
|
+
)
|
|
169
|
+
], G = !0);
|
|
170
|
+
},
|
|
171
|
+
p(a, [g]) {
|
|
172
|
+
s && s.p && (!b || g & /*$$scope*/
|
|
173
|
+
65536) && oe(
|
|
174
|
+
s,
|
|
175
|
+
M,
|
|
176
|
+
a,
|
|
177
|
+
/*$$scope*/
|
|
178
|
+
a[16],
|
|
179
|
+
b ? re(
|
|
180
|
+
M,
|
|
181
|
+
/*$$scope*/
|
|
182
|
+
a[16],
|
|
183
|
+
g,
|
|
184
|
+
pe
|
|
185
|
+
) : ae(
|
|
186
|
+
/*$$scope*/
|
|
187
|
+
a[16]
|
|
188
|
+
),
|
|
189
|
+
P
|
|
190
|
+
), /*modaltitle*/
|
|
191
|
+
a[1] ? c ? c.p(a, g) : (c = q(a), c.c(), c.m(t, u)) : c && (c.d(1), c = null), (!b || g & /*modaltext*/
|
|
192
|
+
1) && (f.innerHTML = /*modaltext*/
|
|
193
|
+
a[0]), /*hascancelbutton*/
|
|
194
|
+
a[2] ? m ? m.p(a, g) : (m = D(a), m.c(), m.m(C, y)) : m && (m.d(1), m = null), (!b || g & /*$_*/
|
|
195
|
+
16) && w !== (w = /*$_*/
|
|
196
|
+
a[4]("confirm") + "") && E(k, w);
|
|
197
|
+
},
|
|
198
|
+
i(a) {
|
|
199
|
+
b || (ne(x, a), b = !0);
|
|
200
|
+
},
|
|
201
|
+
o(a) {
|
|
202
|
+
te(x, a), b = !1;
|
|
203
|
+
},
|
|
204
|
+
d(a) {
|
|
205
|
+
a && S(e), x && x.d(a), c && c.d(), m && m.d(), n[20](null), G = !1, ee(A);
|
|
206
|
+
}
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
function _e(n, e, t) {
|
|
210
|
+
let r;
|
|
211
|
+
ie(n, ge, (o) => t(4, r = o));
|
|
212
|
+
let { $$slots: l = {}, $$scope: u } = e, { modaltext: f = "Are you sure that you want to perform this action?" } = e, { modaltitle: v = "" } = e, { hascancelbutton: C = !1 } = e, { modalconfirmevent: y = "" } = e, { modalcancelevent: p = "" } = e, { modalconfirmdata: w = {} } = e, { lang: k = "en" } = e, { clientstyling: b = "" } = e, { clientstylingurl: G = "" } = e, { translationurl: A = "" } = e, { mbsource: M } = e, s, x, c = window.navigator.userAgent, m = le(c) !== "PC";
|
|
213
|
+
const a = () => {
|
|
214
|
+
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
215
|
+
}, g = (o) => {
|
|
216
|
+
o === "confirm" && y && s.dispatchEvent(new CustomEvent(
|
|
217
|
+
y,
|
|
218
|
+
{
|
|
219
|
+
detail: w,
|
|
220
|
+
// payload
|
|
221
|
+
bubbles: !0,
|
|
222
|
+
composed: !0
|
|
223
|
+
}
|
|
224
|
+
)), o === "cancel" && p && s.dispatchEvent(new CustomEvent(p, { bubbles: !0, composed: !0 })), a();
|
|
225
|
+
}, I = () => {
|
|
226
|
+
fetch(A).then((z) => z.json()).then((z) => {
|
|
227
|
+
Object.keys(z).forEach((O) => {
|
|
228
|
+
H(O, z[O]);
|
|
229
|
+
});
|
|
230
|
+
}).catch((z) => {
|
|
231
|
+
console.log(z);
|
|
232
|
+
});
|
|
233
|
+
};
|
|
234
|
+
Object.keys(N).forEach((o) => {
|
|
235
|
+
H(o, N[o]);
|
|
236
|
+
});
|
|
237
|
+
const R = () => {
|
|
238
|
+
he(k);
|
|
239
|
+
};
|
|
240
|
+
se(() => () => {
|
|
241
|
+
});
|
|
242
|
+
const U = () => g("cancel"), F = () => g("confirm");
|
|
243
|
+
function J(o) {
|
|
244
|
+
me[o ? "unshift" : "push"](() => {
|
|
245
|
+
s = o, t(3, s);
|
|
246
|
+
});
|
|
247
|
+
}
|
|
248
|
+
return n.$$set = (o) => {
|
|
249
|
+
"modaltext" in o && t(0, f = o.modaltext), "modaltitle" in o && t(1, v = o.modaltitle), "hascancelbutton" in o && t(2, C = o.hascancelbutton), "modalconfirmevent" in o && t(8, y = o.modalconfirmevent), "modalcancelevent" in o && t(9, p = o.modalcancelevent), "modalconfirmdata" in o && t(10, w = o.modalconfirmdata), "lang" in o && t(11, k = o.lang), "clientstyling" in o && t(12, b = o.clientstyling), "clientstylingurl" in o && t(13, G = o.clientstylingurl), "translationurl" in o && t(14, A = o.translationurl), "mbsource" in o && t(15, M = o.mbsource), "$$scope" in o && t(16, u = o.$$scope);
|
|
250
|
+
}, n.$$.update = () => {
|
|
251
|
+
n.$$.dirty & /*modaltext, lang*/
|
|
252
|
+
2049 && f && k && R(), n.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
253
|
+
4104 && b && s && fe(s, b), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
254
|
+
8200 && G && s && de(s, G), n.$$.dirty & /*mbsource, customStylingContainer*/
|
|
255
|
+
32776 && M && s && ue(s, `${M}.Style`, x), n.$$.dirty & /*translationurl*/
|
|
256
|
+
16384 && A && I();
|
|
257
|
+
}, [
|
|
258
|
+
f,
|
|
259
|
+
v,
|
|
260
|
+
C,
|
|
261
|
+
s,
|
|
262
|
+
r,
|
|
263
|
+
m,
|
|
264
|
+
a,
|
|
265
|
+
g,
|
|
266
|
+
y,
|
|
267
|
+
p,
|
|
268
|
+
w,
|
|
269
|
+
k,
|
|
270
|
+
b,
|
|
271
|
+
G,
|
|
272
|
+
A,
|
|
273
|
+
M,
|
|
274
|
+
u,
|
|
275
|
+
l,
|
|
276
|
+
U,
|
|
277
|
+
F,
|
|
278
|
+
J
|
|
279
|
+
];
|
|
280
|
+
}
|
|
281
|
+
class ye extends V {
|
|
282
|
+
constructor(e) {
|
|
283
|
+
super(), X(
|
|
284
|
+
this,
|
|
285
|
+
e,
|
|
286
|
+
_e,
|
|
287
|
+
ve,
|
|
288
|
+
Y,
|
|
289
|
+
{
|
|
290
|
+
modaltext: 0,
|
|
291
|
+
modaltitle: 1,
|
|
292
|
+
hascancelbutton: 2,
|
|
293
|
+
modalconfirmevent: 8,
|
|
294
|
+
modalcancelevent: 9,
|
|
295
|
+
modalconfirmdata: 10,
|
|
296
|
+
lang: 11,
|
|
297
|
+
clientstyling: 12,
|
|
298
|
+
clientstylingurl: 13,
|
|
299
|
+
translationurl: 14,
|
|
300
|
+
mbsource: 15
|
|
301
|
+
},
|
|
302
|
+
Ce
|
|
303
|
+
);
|
|
304
|
+
}
|
|
305
|
+
get modaltext() {
|
|
306
|
+
return this.$$.ctx[0];
|
|
307
|
+
}
|
|
308
|
+
set modaltext(e) {
|
|
309
|
+
this.$$set({ modaltext: e }), h();
|
|
310
|
+
}
|
|
311
|
+
get modaltitle() {
|
|
312
|
+
return this.$$.ctx[1];
|
|
313
|
+
}
|
|
314
|
+
set modaltitle(e) {
|
|
315
|
+
this.$$set({ modaltitle: e }), h();
|
|
316
|
+
}
|
|
317
|
+
get hascancelbutton() {
|
|
318
|
+
return this.$$.ctx[2];
|
|
319
|
+
}
|
|
320
|
+
set hascancelbutton(e) {
|
|
321
|
+
this.$$set({ hascancelbutton: e }), h();
|
|
322
|
+
}
|
|
323
|
+
get modalconfirmevent() {
|
|
324
|
+
return this.$$.ctx[8];
|
|
325
|
+
}
|
|
326
|
+
set modalconfirmevent(e) {
|
|
327
|
+
this.$$set({ modalconfirmevent: e }), h();
|
|
328
|
+
}
|
|
329
|
+
get modalcancelevent() {
|
|
330
|
+
return this.$$.ctx[9];
|
|
331
|
+
}
|
|
332
|
+
set modalcancelevent(e) {
|
|
333
|
+
this.$$set({ modalcancelevent: e }), h();
|
|
334
|
+
}
|
|
335
|
+
get modalconfirmdata() {
|
|
336
|
+
return this.$$.ctx[10];
|
|
337
|
+
}
|
|
338
|
+
set modalconfirmdata(e) {
|
|
339
|
+
this.$$set({ modalconfirmdata: e }), h();
|
|
340
|
+
}
|
|
341
|
+
get lang() {
|
|
342
|
+
return this.$$.ctx[11];
|
|
343
|
+
}
|
|
344
|
+
set lang(e) {
|
|
345
|
+
this.$$set({ lang: e }), h();
|
|
346
|
+
}
|
|
347
|
+
get clientstyling() {
|
|
348
|
+
return this.$$.ctx[12];
|
|
349
|
+
}
|
|
350
|
+
set clientstyling(e) {
|
|
351
|
+
this.$$set({ clientstyling: e }), h();
|
|
352
|
+
}
|
|
353
|
+
get clientstylingurl() {
|
|
354
|
+
return this.$$.ctx[13];
|
|
355
|
+
}
|
|
356
|
+
set clientstylingurl(e) {
|
|
357
|
+
this.$$set({ clientstylingurl: e }), h();
|
|
358
|
+
}
|
|
359
|
+
get translationurl() {
|
|
360
|
+
return this.$$.ctx[14];
|
|
361
|
+
}
|
|
362
|
+
set translationurl(e) {
|
|
363
|
+
this.$$set({ translationurl: e }), h();
|
|
364
|
+
}
|
|
365
|
+
get mbsource() {
|
|
366
|
+
return this.$$.ctx[15];
|
|
367
|
+
}
|
|
368
|
+
set mbsource(e) {
|
|
369
|
+
this.$$set({ mbsource: e }), h();
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
be(ye, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, modalconfirmdata: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
|
|
373
|
+
export {
|
|
374
|
+
ye as default
|
|
375
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountSelfExclusionNd-Bs4sZpbb.cjs");function g(n,{delay:e=0,duration:i=400,easing:l=t.identity}={}){const s=+getComputedStyle(n).opacity;return{delay:e,duration:i,easing:l,css:r=>`opacity: ${r*s}`}}function M(n){t.append_styles(n,"svelte-126fglp","*,*::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}")}function y(n){let e,i,l,s,r;const f=n[9].default,a=t.create_slot(f,n,n[8],null);return{c(){e=t.element("div"),i=t.element("div"),l=t.element("div"),a&&a.c(),t.attr(l,"class","ModalContainer"),t.attr(i,"class","ModalWindow"),t.attr(i,"id","Modal")},m(u,c){t.insert(u,e,c),t.append(e,i),t.append(i,l),a&&a.m(l,null),n[10](i),n[11](e),r=!0},p(u,c){n=u,a&&a.p&&(!r||c&256)&&t.update_slot_base(a,f,n,n[8],r?t.get_slot_changes(f,n[8],c,null):t.get_all_dirty_from_scope(n[8]),null)},i(u){r||(t.transition_in(a,u),u&&t.add_render_callback(()=>{r&&(s||(s=t.create_bidirectional_transition(i,g,{transitionDuration:n[1]},!0)),s.run(1))}),r=!0)},o(u){t.transition_out(a,u),u&&(s||(s=t.create_bidirectional_transition(i,g,{transitionDuration:n[1]},!1)),s.run(0)),r=!1},d(u){u&&t.detach(e),a&&a.d(u),n[10](null),u&&s&&s.end(),n[11](null)}}}function k(n){let e,i,l=n[0]&&y(n);return{c(){l&&l.c(),e=t.empty()},m(s,r){l&&l.m(s,r),t.insert(s,e,r),i=!0},p(s,[r]){s[0]?l?(l.p(s,r),r&1&&t.transition_in(l,1)):(l=y(s),l.c(),t.transition_in(l,1),l.m(e.parentNode,e)):l&&(t.group_outros(),t.transition_out(l,1,1,()=>{l=null}),t.check_outros())},i(s){i||(t.transition_in(l),i=!0)},o(s){t.transition_out(l),i=!1},d(s){s&&t.detach(e),l&&l.d(s)}}}function C(n,e,i){let{$$slots:l={},$$scope:s}=e,{show:r=!1}=e,{duration:f=350}=e,{clientstyling:a=""}=e,{clientstylingurl:u=""}=e,{mbsource:c}=e,{showmodaleventname:m="ShowLimitsConfirmationModal"}=e,d,w,_;const h=o=>{switch(o.data.type){case"ModalClosed":i(0,r=!1);break;case m:i(0,r=!0),window.postMessage({type:"DisableScroll"},window.location.href);break}};t.onMount(()=>(window.addEventListener("message",h,!1),()=>{window.removeEventListener("message",h)}));function S(o){t.binding_callbacks[o?"unshift":"push"](()=>{_=o,i(3,_)})}function v(o){t.binding_callbacks[o?"unshift":"push"](()=>{d=o,i(2,d)})}return n.$$set=o=>{"show"in o&&i(0,r=o.show),"duration"in o&&i(1,f=o.duration),"clientstyling"in o&&i(4,a=o.clientstyling),"clientstylingurl"in o&&i(5,u=o.clientstylingurl),"mbsource"in o&&i(6,c=o.mbsource),"showmodaleventname"in o&&i(7,m=o.showmodaleventname),"$$scope"in o&&i(8,s=o.$$scope)},n.$$.update=()=>{n.$$.dirty&20&&a&&d&&t.setClientStyling(d,a),n.$$.dirty&36&&u&&d&&t.setClientStylingURL(d,u),n.$$.dirty&68&&c&&d&&t.setStreamStyling(d,`${c}.Style`,w)},[r,f,d,_,a,u,c,m,s,l,S,v]}class b extends t.SvelteComponent{constructor(e){super(),t.init(this,e,C,k,t.safe_not_equal,{show:0,duration:1,clientstyling:4,clientstylingurl:5,mbsource:6,showmodaleventname:7},M)}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),t.flush()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration: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 mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get showmodaleventname(){return this.$$.ctx[7]}set showmodaleventname(e){this.$$set({showmodaleventname:e}),t.flush()}}t.create_custom_element(b,{show:{type:"Boolean"},duration:{},clientstyling:{},clientstylingurl:{},mbsource:{},showmodaleventname:{}},["default"],[],!0);exports.default=b;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as
|
|
2
|
-
function M(e, { delay: t = 0, duration: n = 400, easing: i =
|
|
1
|
+
import { i as q, S as A, a as W, s as B, f, b as H, d as L, t as w, c as m, e as N, g as z, h as P, o as R, j as U, k as S, l as p, u as F, m as G, n as I, p as v, q as _, r as y, v as k, w as J, x as K, y as O, z as Q, A as T } from "./PlayerAccountSelfExclusionNd-CEsGoeKp.js";
|
|
2
|
+
function M(e, { delay: t = 0, duration: n = 400, easing: i = q } = {}) {
|
|
3
3
|
const s = +getComputedStyle(e).opacity;
|
|
4
4
|
return {
|
|
5
5
|
delay: t,
|
|
@@ -9,14 +9,14 @@ function M(e, { delay: t = 0, duration: n = 400, easing: i = j } = {}) {
|
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
11
|
function V(e) {
|
|
12
|
-
|
|
12
|
+
H(e, "svelte-126fglp", "*,*::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}");
|
|
13
13
|
}
|
|
14
14
|
function C(e) {
|
|
15
15
|
let t, n, i, s, o;
|
|
16
16
|
const d = (
|
|
17
17
|
/*#slots*/
|
|
18
18
|
e[9].default
|
|
19
|
-
), r =
|
|
19
|
+
), r = U(
|
|
20
20
|
d,
|
|
21
21
|
e,
|
|
22
22
|
/*$$scope*/
|
|
@@ -52,7 +52,7 @@ function C(e) {
|
|
|
52
52
|
);
|
|
53
53
|
},
|
|
54
54
|
i(a) {
|
|
55
|
-
o || (m(r, a), a &&
|
|
55
|
+
o || (m(r, a), a && p(() => {
|
|
56
56
|
o && (s || (s = S(n, M, { transitionDuration: (
|
|
57
57
|
/*duration*/
|
|
58
58
|
e[1]
|
|
@@ -77,7 +77,7 @@ function X(e) {
|
|
|
77
77
|
);
|
|
78
78
|
return {
|
|
79
79
|
c() {
|
|
80
|
-
i && i.c(), t =
|
|
80
|
+
i && i.c(), t = P();
|
|
81
81
|
},
|
|
82
82
|
m(s, o) {
|
|
83
83
|
i && i.m(s, o), z(s, t, o), n = !0;
|
|
@@ -87,7 +87,7 @@ function X(e) {
|
|
|
87
87
|
s[0] ? i ? (i.p(s, o), o & /*show*/
|
|
88
88
|
1 && m(i, 1)) : (i = C(s), i.c(), m(i, 1), i.m(t.parentNode, t)) : i && (J(), w(i, 1, 1, () => {
|
|
89
89
|
i = null;
|
|
90
|
-
}),
|
|
90
|
+
}), N());
|
|
91
91
|
},
|
|
92
92
|
i(s) {
|
|
93
93
|
n || (m(i), n = !0);
|
|
@@ -101,7 +101,7 @@ function X(e) {
|
|
|
101
101
|
};
|
|
102
102
|
}
|
|
103
103
|
function Y(e, t, n) {
|
|
104
|
-
let { $$slots: i = {}, $$scope: s } = t, { show: o = !1 } = t, { duration: d = 350 } = t, { clientstyling: r = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: u } = t, { showmodaleventname: g = "ShowLimitsConfirmationModal" } = t, c, h;
|
|
104
|
+
let { $$slots: i = {}, $$scope: s } = t, { show: o = !1 } = t, { duration: d = 350 } = t, { clientstyling: r = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: u } = t, { showmodaleventname: g = "ShowLimitsConfirmationModal" } = t, c, D, h;
|
|
105
105
|
const b = (l) => {
|
|
106
106
|
switch (l.data.type) {
|
|
107
107
|
case "ModalClosed":
|
|
@@ -112,15 +112,15 @@ function Y(e, t, n) {
|
|
|
112
112
|
break;
|
|
113
113
|
}
|
|
114
114
|
};
|
|
115
|
-
|
|
115
|
+
R(() => (window.addEventListener("message", b, !1), () => {
|
|
116
116
|
window.removeEventListener("message", b);
|
|
117
117
|
}));
|
|
118
|
-
function
|
|
118
|
+
function E(l) {
|
|
119
119
|
k[l ? "unshift" : "push"](() => {
|
|
120
120
|
h = l, n(3, h);
|
|
121
121
|
});
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function j(l) {
|
|
124
124
|
k[l ? "unshift" : "push"](() => {
|
|
125
125
|
c = l, n(2, c);
|
|
126
126
|
});
|
|
@@ -131,7 +131,7 @@ function Y(e, t, n) {
|
|
|
131
131
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
132
132
|
20 && r && c && K(c, r), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
133
133
|
36 && a && c && O(c, a), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
134
|
-
68 && u && c && Q(c, `${u}.Style
|
|
134
|
+
68 && u && c && Q(c, `${u}.Style`, D);
|
|
135
135
|
}, [
|
|
136
136
|
o,
|
|
137
137
|
d,
|
|
@@ -143,18 +143,18 @@ function Y(e, t, n) {
|
|
|
143
143
|
g,
|
|
144
144
|
s,
|
|
145
145
|
i,
|
|
146
|
-
|
|
147
|
-
|
|
146
|
+
E,
|
|
147
|
+
j
|
|
148
148
|
];
|
|
149
149
|
}
|
|
150
|
-
class Z extends
|
|
150
|
+
class Z extends A {
|
|
151
151
|
constructor(t) {
|
|
152
|
-
super(),
|
|
152
|
+
super(), W(
|
|
153
153
|
this,
|
|
154
154
|
t,
|
|
155
155
|
Y,
|
|
156
156
|
X,
|
|
157
|
-
|
|
157
|
+
B,
|
|
158
158
|
{
|
|
159
159
|
show: 0,
|
|
160
160
|
duration: 1,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as
|
|
2
|
-
function M(e, { delay: t = 0, duration: n = 400, easing: i =
|
|
1
|
+
import { i as q, S as A, a as W, f, s as B, c as H, b as N, d as L, t as w, e as m, g as P, h as R, j as z, k as U, o as p, l as F, m as S, n as G, u as I, p as J, q as K, r as v, v as _, w as y, x as k, y as O, z as Q, A as T } from "./PlayerAccountSelfExclusionNd-ByEyD-tB.js";
|
|
2
|
+
function M(e, { delay: t = 0, duration: n = 400, easing: i = q } = {}) {
|
|
3
3
|
const s = +getComputedStyle(e).opacity;
|
|
4
4
|
return {
|
|
5
5
|
delay: t,
|
|
@@ -9,7 +9,7 @@ function M(e, { delay: t = 0, duration: n = 400, easing: i = j } = {}) {
|
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
11
|
function V(e) {
|
|
12
|
-
|
|
12
|
+
N(e, "svelte-126fglp", "*,*::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}");
|
|
13
13
|
}
|
|
14
14
|
function C(e) {
|
|
15
15
|
let t, n, i, s, o;
|
|
@@ -77,7 +77,7 @@ function X(e) {
|
|
|
77
77
|
);
|
|
78
78
|
return {
|
|
79
79
|
c() {
|
|
80
|
-
i && i.c(), t =
|
|
80
|
+
i && i.c(), t = U();
|
|
81
81
|
},
|
|
82
82
|
m(s, o) {
|
|
83
83
|
i && i.m(s, o), z(s, t, o), n = !0;
|
|
@@ -85,9 +85,9 @@ function X(e) {
|
|
|
85
85
|
p(s, [o]) {
|
|
86
86
|
/*show*/
|
|
87
87
|
s[0] ? i ? (i.p(s, o), o & /*show*/
|
|
88
|
-
1 && m(i, 1)) : (i = C(s), i.c(), m(i, 1), i.m(t.parentNode, t)) : i && (
|
|
88
|
+
1 && m(i, 1)) : (i = C(s), i.c(), m(i, 1), i.m(t.parentNode, t)) : i && (P(), w(i, 1, 1, () => {
|
|
89
89
|
i = null;
|
|
90
|
-
}),
|
|
90
|
+
}), R());
|
|
91
91
|
},
|
|
92
92
|
i(s) {
|
|
93
93
|
n || (m(i), n = !0);
|
|
@@ -101,7 +101,7 @@ function X(e) {
|
|
|
101
101
|
};
|
|
102
102
|
}
|
|
103
103
|
function Y(e, t, n) {
|
|
104
|
-
let { $$slots: i = {}, $$scope: s } = t, { show: o = !1 } = t, { duration: d = 350 } = t, { clientstyling: r = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: u } = t, { showmodaleventname: g = "ShowLimitsConfirmationModal" } = t, c, h;
|
|
104
|
+
let { $$slots: i = {}, $$scope: s } = t, { show: o = !1 } = t, { duration: d = 350 } = t, { clientstyling: r = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: u } = t, { showmodaleventname: g = "ShowLimitsConfirmationModal" } = t, c, D, h;
|
|
105
105
|
const b = (l) => {
|
|
106
106
|
switch (l.data.type) {
|
|
107
107
|
case "ModalClosed":
|
|
@@ -112,15 +112,15 @@ function Y(e, t, n) {
|
|
|
112
112
|
break;
|
|
113
113
|
}
|
|
114
114
|
};
|
|
115
|
-
|
|
115
|
+
p(() => (window.addEventListener("message", b, !1), () => {
|
|
116
116
|
window.removeEventListener("message", b);
|
|
117
117
|
}));
|
|
118
|
-
function
|
|
118
|
+
function E(l) {
|
|
119
119
|
k[l ? "unshift" : "push"](() => {
|
|
120
120
|
h = l, n(3, h);
|
|
121
121
|
});
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function j(l) {
|
|
124
124
|
k[l ? "unshift" : "push"](() => {
|
|
125
125
|
c = l, n(2, c);
|
|
126
126
|
});
|
|
@@ -131,7 +131,7 @@ function Y(e, t, n) {
|
|
|
131
131
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
132
132
|
20 && r && c && O(c, r), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
133
133
|
36 && a && c && Q(c, a), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
134
|
-
68 && u && c && T(c, `${u}.Style
|
|
134
|
+
68 && u && c && T(c, `${u}.Style`, D);
|
|
135
135
|
}, [
|
|
136
136
|
o,
|
|
137
137
|
d,
|
|
@@ -143,18 +143,18 @@ function Y(e, t, n) {
|
|
|
143
143
|
g,
|
|
144
144
|
s,
|
|
145
145
|
i,
|
|
146
|
-
|
|
147
|
-
|
|
146
|
+
E,
|
|
147
|
+
j
|
|
148
148
|
];
|
|
149
149
|
}
|
|
150
|
-
class Z extends
|
|
150
|
+
class Z extends A {
|
|
151
151
|
constructor(t) {
|
|
152
|
-
super(),
|
|
152
|
+
super(), W(
|
|
153
153
|
this,
|
|
154
154
|
t,
|
|
155
155
|
Y,
|
|
156
156
|
X,
|
|
157
|
-
|
|
157
|
+
B,
|
|
158
158
|
{
|
|
159
159
|
show: 0,
|
|
160
160
|
duration: 1,
|
|
@@ -203,7 +203,7 @@ class Z extends q {
|
|
|
203
203
|
this.$$set({ showmodaleventname: t }), f();
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
|
-
|
|
206
|
+
H(Z, { show: { type: "Boolean" }, duration: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, showmodaleventname: {} }, ["default"], [], !0);
|
|
207
207
|
export {
|
|
208
208
|
Z as default
|
|
209
209
|
};
|