@everymatrix/player-account-controller 1.0.69 → 1.0.70
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/GeneralLogout-CA9TEW-a.cjs +8 -0
- package/components/GeneralLogout-DtE4YABi.js +4829 -0
- package/components/PlayerAccountBettingHistory-BcTxHKyO.js +328 -0
- package/components/PlayerAccountBettingHistory-NrSjgArQ.cjs +1 -0
- package/components/PlayerAccountBiometrics-BGnkL646.js +300 -0
- package/components/PlayerAccountBiometrics-Bl0LyqT2.cjs +1 -0
- package/components/PlayerAccountClosure-B3Zq9k2d.cjs +1 -0
- package/components/PlayerAccountClosure-CHDX6d_o.js +339 -0
- package/components/PlayerAccountController-CdygDjsk.js +6188 -0
- package/components/PlayerAccountController-D9QoMCz_.cjs +1 -0
- package/components/PlayerAccountGamingLimits-BSeZY_AM.cjs +1 -0
- package/components/PlayerAccountGamingLimits-CFEgRcLO.js +758 -0
- package/components/PlayerAccountGamingLimitsConfirmationModal-CETKCaaj.js +306 -0
- package/components/PlayerAccountGamingLimitsConfirmationModal-Zflhyn-z.cjs +1 -0
- package/components/PlayerAccountGamingLimitsGroupEdit-DPZ-Uvd4.js +4148 -0
- package/components/PlayerAccountGamingLimitsGroupEdit-_BasEjEB.cjs +10 -0
- package/components/PlayerAccountGamingLimitsHistory2-Bu-OW2oW.js +734 -0
- package/components/PlayerAccountGamingLimitsHistory2-FhMXdXTq.cjs +1 -0
- package/components/PlayerAccountGamingLimitsInfoCard-BUG8OODX.js +1488 -0
- package/components/PlayerAccountGamingLimitsInfoCard-sBX1tBDZ.cjs +1 -0
- package/components/PlayerAccountGamingLimitsPage2Gm16-BFnH54ZW.js +2764 -0
- package/components/PlayerAccountGamingLimitsPage2Gm16-CiGWLvn2.cjs +21 -0
- package/components/PlayerAccountGamingLimitsPopup-BrO_Lno2.cjs +1 -0
- package/components/PlayerAccountGamingLimitsPopup-CmAXnOQe.js +337 -0
- package/components/PlayerAccountGamingLimitsWrapper2-CQ1mGZNj.cjs +1 -0
- package/components/PlayerAccountGamingLimitsWrapper2-DWdHKdUm.js +844 -0
- package/components/PlayerAccountMenu-Bh0HKBfq.js +587 -0
- package/components/PlayerAccountMenu-D4sBRaIm.cjs +1 -0
- package/components/PlayerAccountModal-Blsborh1.js +198 -0
- package/components/PlayerAccountModal-DW8I9i4u.cjs +1 -0
- package/components/PlayerAccountNotifications-CEsL3JWV.cjs +1 -0
- package/components/PlayerAccountNotifications-DbUpordy.js +222 -0
- package/components/PlayerAccountSelfExclusion-BPADa27T.js +15842 -0
- package/components/PlayerAccountSelfExclusion-DxHpS1Fj.cjs +3693 -0
- package/components/PlayerAccountTimeout-BRQZuU_T.cjs +1 -0
- package/components/PlayerAccountTimeout-CSUT1HiR.js +448 -0
- package/components/PlayerActiveBonuses-CwHXPu9X.js +987 -0
- package/components/PlayerActiveBonuses-ReOEMRDU.cjs +1 -0
- package/components/PlayerBonusCard-665KSNoF.js +555 -0
- package/components/PlayerBonusCard-CQIuJjY5.cjs +1 -0
- package/components/PlayerBonusHistory-BaBcSSSm.js +824 -0
- package/components/PlayerBonusHistory-Dzk7jL5w.cjs +1 -0
- package/components/PlayerChangePassword-B78Gb7rT.js +1162 -0
- package/components/PlayerChangePassword-L1wYKbsT.cjs +3 -0
- package/components/PlayerDeposit-BO0nDKOB.cjs +1 -0
- package/components/PlayerDeposit-CqgNmu8i.js +395 -0
- package/components/PlayerGamingHistory-CmufIVok.cjs +1 -0
- package/components/PlayerGamingHistory-ovbzB3YP.js +920 -0
- package/components/PlayerPendingWithdrawals-CsC5mrrE.js +307 -0
- package/components/PlayerPendingWithdrawals-DXh2yA-M.cjs +1 -0
- package/components/PlayerProfileInfo-3Wp8IotN.js +1730 -0
- package/components/PlayerProfileInfo-BWzgjhyD.cjs +1 -0
- package/components/PlayerRealityCheck-8QghFLS2.cjs +1 -0
- package/components/PlayerRealityCheck-Cg1tL1KV.js +567 -0
- package/components/PlayerTransactionHistory-Cfq6pzue.js +311 -0
- package/components/PlayerTransactionHistory-iyQVlg_5.cjs +1 -0
- package/components/PlayerWithdrawal-BZdcsIWI.cjs +1 -0
- package/components/PlayerWithdrawal-DJfHPWUz.js +365 -0
- package/package.json +23 -22
|
@@ -0,0 +1,306 @@
|
|
|
1
|
+
import { a as U, $ as q, S as J, i as K, f as _, c as Q, s as V, b as X, D as Y, e as h, d as F, t as E, g as o, k as W, l as r, m as S, E as Z, F as $, G as tt, n as D, H as et, I as it, p as H, r as nt, q as at, u as ot, v as lt, x as st, w as T, o as rt, y as mt } from "./GeneralLogout-DtE4YABi.js";
|
|
2
|
+
function j(i, t) {
|
|
3
|
+
U(i, t);
|
|
4
|
+
}
|
|
5
|
+
function ct(i) {
|
|
6
|
+
q.set(i);
|
|
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
|
+
};
|
|
50
|
+
function dt(i) {
|
|
51
|
+
X(i, "svelte-lzwakw", '.svelte-lzwakw.svelte-lzwakw,.svelte-lzwakw.svelte-lzwakw::before,.svelte-lzwakw.svelte-lzwakw::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper.svelte-lzwakw.svelte-lzwakw{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:100;color:var(--emw--color-typography, #FFFFFF)}.GamingLimitsConfirmationContainer.svelte-lzwakw.svelte-lzwakw{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, 20px)}.GamingLimitsConfirmationContainer.svelte-lzwakw.svelte-lzwakw::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)}.GamingLimitsConfirmationContainer.svelte-lzwakw.svelte-lzwakw::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, 20px)}.GamingLimitsConfirmationContainerMobile.svelte-lzwakw.svelte-lzwakw{padding:40px;max-width:330px}.GamingLimitsConfirmationContainerMobile.svelte-lzwakw .GamingLimitsConfirmationControlAreaMobile .GamingLimitsCancelButton.svelte-lzwakw,.GamingLimitsConfirmationContainerMobile.svelte-lzwakw .GamingLimitsConfirmationControlAreaMobile .GamingLimitsConfirmButton.svelte-lzwakw{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GamingLimitsConfirmationContent.svelte-lzwakw.svelte-lzwakw{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea.svelte-lzwakw.svelte-lzwakw{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea.svelte-lzwakw .GamingLimitsCancelButton.svelte-lzwakw,.GamingLimitsConfirmationControlArea.svelte-lzwakw .GamingLimitsConfirmButton.svelte-lzwakw{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GamingLimitsConfirmationControlArea.svelte-lzwakw .GamingLimitsConfirmButton.svelte-lzwakw{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(--emfe-w-button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn.svelte-lzwakw.svelte-lzwakw{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.svelte-lzwakw svg.svelte-lzwakw{width:35px;height:40px}.ModalCloseBtn.svelte-lzwakw.svelte-lzwakw:hover{background:rgba(255, 255, 255, 0.2)}.GamingLimitsConfirmationMobileWrapper.svelte-lzwakw.svelte-lzwakw{border:none;padding:0}');
|
|
52
|
+
}
|
|
53
|
+
const wt = (i) => ({}), O = (i) => ({});
|
|
54
|
+
function gt(i) {
|
|
55
|
+
let t, n;
|
|
56
|
+
return {
|
|
57
|
+
c() {
|
|
58
|
+
t = T("svg"), n = T("path"), o(n, "stroke-linecap", "round"), o(n, "stroke-linejoin", "round"), o(n, "stroke-width", "2"), o(n, "d", "M6 18L18 6M6 6l12 12"), o(n, "class", "svelte-lzwakw"), o(t, "class", "w-6 h-6 svelte-lzwakw"), o(t, "fill", "none"), o(t, "stroke", "currentColor"), o(t, "viewBox", "0 0 24 24"), o(t, "xmlns", "http://www.w3.org/2000/svg");
|
|
59
|
+
},
|
|
60
|
+
m(l, k) {
|
|
61
|
+
W(l, t, k), r(t, n);
|
|
62
|
+
},
|
|
63
|
+
p: rt,
|
|
64
|
+
d(l) {
|
|
65
|
+
l && H(t);
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
function ut(i) {
|
|
70
|
+
let t, n, l, k, C, b, d, c, w, u = (
|
|
71
|
+
/*$_*/
|
|
72
|
+
i[2]("cancel") + ""
|
|
73
|
+
), v, B, s, z = (
|
|
74
|
+
/*$_*/
|
|
75
|
+
i[2]("confirm") + ""
|
|
76
|
+
), G, m, x, A;
|
|
77
|
+
const M = (
|
|
78
|
+
/*#slots*/
|
|
79
|
+
i[13].close
|
|
80
|
+
), y = Y(
|
|
81
|
+
M,
|
|
82
|
+
i,
|
|
83
|
+
/*$$scope*/
|
|
84
|
+
i[12],
|
|
85
|
+
O
|
|
86
|
+
), g = y || gt();
|
|
87
|
+
return {
|
|
88
|
+
c() {
|
|
89
|
+
t = h("div"), n = h("div"), l = h("span"), g && g.c(), k = F(), C = h("div"), b = E(
|
|
90
|
+
/*modaltext*/
|
|
91
|
+
i[0]
|
|
92
|
+
), d = F(), c = h("div"), w = h("button"), v = E(u), B = F(), s = h("button"), G = E(z), o(l, "class", "ModalCloseBtn svelte-lzwakw"), o(l, "role", "button"), o(C, "class", "GamingLimitsConfirmationContent svelte-lzwakw"), o(w, "class", "GamingLimitsCancelButton svelte-lzwakw"), o(s, "class", "GamingLimitsConfirmButton svelte-lzwakw"), o(c, "class", "GamingLimitsConfirmationControlArea " + /*isMobile*/
|
|
93
|
+
(i[3] ? "GamingLimitsConfirmationControlAreaMobile" : "") + " svelte-lzwakw"), o(n, "class", "GamingLimitsConfirmationContainer " + /*isMobile*/
|
|
94
|
+
(i[3] ? "GamingLimitsConfirmationContainerMobile" : "") + " svelte-lzwakw"), o(t, "class", "GamingLimitsConfirmationWrapper " + /*isMobile*/
|
|
95
|
+
(i[3] ? "GamingLimitsConfirmationMobileWrapper" : "") + " svelte-lzwakw");
|
|
96
|
+
},
|
|
97
|
+
m(a, f) {
|
|
98
|
+
W(a, t, f), r(t, n), r(n, l), g && g.m(l, null), r(n, k), r(n, C), r(C, b), r(n, d), r(n, c), r(c, w), r(w, v), r(c, B), r(c, s), r(s, G), i[14](t), m = !0, x || (A = [
|
|
99
|
+
S(
|
|
100
|
+
l,
|
|
101
|
+
"click",
|
|
102
|
+
/*close*/
|
|
103
|
+
i[4]
|
|
104
|
+
),
|
|
105
|
+
S(
|
|
106
|
+
w,
|
|
107
|
+
"click",
|
|
108
|
+
/*cancelChanges*/
|
|
109
|
+
i[6]
|
|
110
|
+
),
|
|
111
|
+
S(
|
|
112
|
+
s,
|
|
113
|
+
"click",
|
|
114
|
+
/*confirmChanges*/
|
|
115
|
+
i[5]
|
|
116
|
+
)
|
|
117
|
+
], x = !0);
|
|
118
|
+
},
|
|
119
|
+
p(a, [f]) {
|
|
120
|
+
y && y.p && (!m || f & /*$$scope*/
|
|
121
|
+
4096) && Z(
|
|
122
|
+
y,
|
|
123
|
+
M,
|
|
124
|
+
a,
|
|
125
|
+
/*$$scope*/
|
|
126
|
+
a[12],
|
|
127
|
+
m ? tt(
|
|
128
|
+
M,
|
|
129
|
+
/*$$scope*/
|
|
130
|
+
a[12],
|
|
131
|
+
f,
|
|
132
|
+
wt
|
|
133
|
+
) : $(
|
|
134
|
+
/*$$scope*/
|
|
135
|
+
a[12]
|
|
136
|
+
),
|
|
137
|
+
O
|
|
138
|
+
), (!m || f & /*modaltext*/
|
|
139
|
+
1) && D(
|
|
140
|
+
b,
|
|
141
|
+
/*modaltext*/
|
|
142
|
+
a[0]
|
|
143
|
+
), (!m || f & /*$_*/
|
|
144
|
+
4) && u !== (u = /*$_*/
|
|
145
|
+
a[2]("cancel") + "") && D(v, u), (!m || f & /*$_*/
|
|
146
|
+
4) && z !== (z = /*$_*/
|
|
147
|
+
a[2]("confirm") + "") && D(G, z);
|
|
148
|
+
},
|
|
149
|
+
i(a) {
|
|
150
|
+
m || (et(g, a), m = !0);
|
|
151
|
+
},
|
|
152
|
+
o(a) {
|
|
153
|
+
it(g, a), m = !1;
|
|
154
|
+
},
|
|
155
|
+
d(a) {
|
|
156
|
+
a && H(t), g && g.d(a), i[14](null), x = !1, nt(A);
|
|
157
|
+
}
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
function ft(i, t, n) {
|
|
161
|
+
let l;
|
|
162
|
+
at(i, mt, (e) => n(2, l = e));
|
|
163
|
+
let { $$slots: k = {}, $$scope: C } = t, { modaltext: b = "Are you sure that you want to perform this action?" } = t, { modalsource: d = "" } = t, { lang: c = "en" } = t, { clientstyling: w = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: v = "" } = t;
|
|
164
|
+
const B = () => {
|
|
165
|
+
fetch(v).then((p) => p.json()).then((p) => {
|
|
166
|
+
Object.keys(p).forEach((L) => {
|
|
167
|
+
j(L, p[L]);
|
|
168
|
+
});
|
|
169
|
+
}).catch((p) => {
|
|
170
|
+
console.log(p);
|
|
171
|
+
});
|
|
172
|
+
};
|
|
173
|
+
Object.keys(N).forEach((e) => {
|
|
174
|
+
j(e, N[e]);
|
|
175
|
+
});
|
|
176
|
+
let s, z = window.navigator.userAgent, G = ot(z) !== "PC", m = {}, x = "";
|
|
177
|
+
const A = () => {
|
|
178
|
+
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
179
|
+
}, M = () => {
|
|
180
|
+
d === "groupEdit" ? window.postMessage({ type: "GamingLimitsConfirmChanges" }, window.location.href) : d === "infoCard" && window.postMessage(
|
|
181
|
+
{
|
|
182
|
+
type: "PlayerAccountGamingLimitDelete",
|
|
183
|
+
limit: m,
|
|
184
|
+
name: x
|
|
185
|
+
},
|
|
186
|
+
window.location.href
|
|
187
|
+
), window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
188
|
+
}, y = () => {
|
|
189
|
+
d === "groupEdit" ? window.postMessage({ type: "CancelGamingLimitsChanges" }, window.location.href) : d === "infoCard" && window.postMessage({ type: "CancelGamingLimitsRemove" }, window.location.href), window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
190
|
+
}, g = (e) => e === "Time Limit" ? "cumulativeSessionLimits" : e === "Deposit Limit" ? "depositLimits" : e === "Wagering Limit" ? "wageringLimit" : "lossLimit", a = (e) => {
|
|
191
|
+
if (e.data)
|
|
192
|
+
switch (e.data.type) {
|
|
193
|
+
case "DeleteLimitsItem":
|
|
194
|
+
m = e.data.removeData, x = g(e.data.removeName);
|
|
195
|
+
break;
|
|
196
|
+
}
|
|
197
|
+
}, f = () => {
|
|
198
|
+
ct(c);
|
|
199
|
+
}, I = () => {
|
|
200
|
+
let e = document.createElement("style");
|
|
201
|
+
e.innerHTML = w, s.appendChild(e);
|
|
202
|
+
}, P = () => {
|
|
203
|
+
let e = new URL(u), p = document.createElement("style");
|
|
204
|
+
fetch(e.href).then((L) => L.text()).then((L) => {
|
|
205
|
+
p.innerHTML = L, setTimeout(
|
|
206
|
+
() => {
|
|
207
|
+
s.appendChild(p);
|
|
208
|
+
},
|
|
209
|
+
1
|
|
210
|
+
);
|
|
211
|
+
});
|
|
212
|
+
};
|
|
213
|
+
lt(() => (window.addEventListener("message", a, !1), () => {
|
|
214
|
+
window.removeEventListener("message", a);
|
|
215
|
+
}));
|
|
216
|
+
function R(e) {
|
|
217
|
+
st[e ? "unshift" : "push"](() => {
|
|
218
|
+
s = e, n(1, s);
|
|
219
|
+
});
|
|
220
|
+
}
|
|
221
|
+
return i.$$set = (e) => {
|
|
222
|
+
"modaltext" in e && n(0, b = e.modaltext), "modalsource" in e && n(7, d = e.modalsource), "lang" in e && n(8, c = e.lang), "clientstyling" in e && n(9, w = e.clientstyling), "clientstylingurl" in e && n(10, u = e.clientstylingurl), "translationurl" in e && n(11, v = e.translationurl), "$$scope" in e && n(12, C = e.$$scope);
|
|
223
|
+
}, i.$$.update = () => {
|
|
224
|
+
i.$$.dirty & /*modaltext, modalsource, lang*/
|
|
225
|
+
385 && b && d && c && f(), i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
226
|
+
514 && w && s && I(), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
227
|
+
1026 && u && s && P(), i.$$.dirty & /*translationurl*/
|
|
228
|
+
2048 && v && B();
|
|
229
|
+
}, [
|
|
230
|
+
b,
|
|
231
|
+
s,
|
|
232
|
+
l,
|
|
233
|
+
G,
|
|
234
|
+
A,
|
|
235
|
+
M,
|
|
236
|
+
y,
|
|
237
|
+
d,
|
|
238
|
+
c,
|
|
239
|
+
w,
|
|
240
|
+
u,
|
|
241
|
+
v,
|
|
242
|
+
C,
|
|
243
|
+
k,
|
|
244
|
+
R
|
|
245
|
+
];
|
|
246
|
+
}
|
|
247
|
+
class pt extends J {
|
|
248
|
+
constructor(t) {
|
|
249
|
+
super(), K(
|
|
250
|
+
this,
|
|
251
|
+
t,
|
|
252
|
+
ft,
|
|
253
|
+
ut,
|
|
254
|
+
V,
|
|
255
|
+
{
|
|
256
|
+
modaltext: 0,
|
|
257
|
+
modalsource: 7,
|
|
258
|
+
lang: 8,
|
|
259
|
+
clientstyling: 9,
|
|
260
|
+
clientstylingurl: 10,
|
|
261
|
+
translationurl: 11
|
|
262
|
+
},
|
|
263
|
+
dt
|
|
264
|
+
);
|
|
265
|
+
}
|
|
266
|
+
get modaltext() {
|
|
267
|
+
return this.$$.ctx[0];
|
|
268
|
+
}
|
|
269
|
+
set modaltext(t) {
|
|
270
|
+
this.$$set({ modaltext: t }), _();
|
|
271
|
+
}
|
|
272
|
+
get modalsource() {
|
|
273
|
+
return this.$$.ctx[7];
|
|
274
|
+
}
|
|
275
|
+
set modalsource(t) {
|
|
276
|
+
this.$$set({ modalsource: t }), _();
|
|
277
|
+
}
|
|
278
|
+
get lang() {
|
|
279
|
+
return this.$$.ctx[8];
|
|
280
|
+
}
|
|
281
|
+
set lang(t) {
|
|
282
|
+
this.$$set({ lang: t }), _();
|
|
283
|
+
}
|
|
284
|
+
get clientstyling() {
|
|
285
|
+
return this.$$.ctx[9];
|
|
286
|
+
}
|
|
287
|
+
set clientstyling(t) {
|
|
288
|
+
this.$$set({ clientstyling: t }), _();
|
|
289
|
+
}
|
|
290
|
+
get clientstylingurl() {
|
|
291
|
+
return this.$$.ctx[10];
|
|
292
|
+
}
|
|
293
|
+
set clientstylingurl(t) {
|
|
294
|
+
this.$$set({ clientstylingurl: t }), _();
|
|
295
|
+
}
|
|
296
|
+
get translationurl() {
|
|
297
|
+
return this.$$.ctx[11];
|
|
298
|
+
}
|
|
299
|
+
set translationurl(t) {
|
|
300
|
+
this.$$set({ translationurl: t }), _();
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
Q(pt, { modaltext: {}, modalsource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, ["close"], [], !0);
|
|
304
|
+
export {
|
|
305
|
+
pt as default
|
|
306
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-CA9TEW-a.cjs");function M(n,e){t.addMessages(n,e)}function j(n){t.$locale.set(n)}const B={en:{cancel:"Cancel",confirm:"Confirm"},fr:{cancel:"Annuler",confirm:"Confirmer"},ro:{cancel:"Anulează",confirm:"Confirmă"},es:{cancel:"Cancelar",confirm:"Confirmar"},pt:{cancel:"Cancelar",confirm:"Confirmar"},"zh-hk":{cancel:"取消",confirm:"確認"},hr:{cancel:"Otkaži",confirm:"Potvrdi"},"pt-br":{cancel:"Cancelar",confirm:"confirme"},"es-mx":{cancel:"Cancelar",confirm:"Confirmar"},tr:{cancel:"İptal etmek",confirm:"Onaylamak"}};function D(n){t.append_styles(n,"svelte-lzwakw",'.svelte-lzwakw.svelte-lzwakw,.svelte-lzwakw.svelte-lzwakw::before,.svelte-lzwakw.svelte-lzwakw::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper.svelte-lzwakw.svelte-lzwakw{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:100;color:var(--emw--color-typography, #FFFFFF)}.GamingLimitsConfirmationContainer.svelte-lzwakw.svelte-lzwakw{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, 20px)}.GamingLimitsConfirmationContainer.svelte-lzwakw.svelte-lzwakw::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)}.GamingLimitsConfirmationContainer.svelte-lzwakw.svelte-lzwakw::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, 20px)}.GamingLimitsConfirmationContainerMobile.svelte-lzwakw.svelte-lzwakw{padding:40px;max-width:330px}.GamingLimitsConfirmationContainerMobile.svelte-lzwakw .GamingLimitsConfirmationControlAreaMobile .GamingLimitsCancelButton.svelte-lzwakw,.GamingLimitsConfirmationContainerMobile.svelte-lzwakw .GamingLimitsConfirmationControlAreaMobile .GamingLimitsConfirmButton.svelte-lzwakw{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GamingLimitsConfirmationContent.svelte-lzwakw.svelte-lzwakw{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea.svelte-lzwakw.svelte-lzwakw{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea.svelte-lzwakw .GamingLimitsCancelButton.svelte-lzwakw,.GamingLimitsConfirmationControlArea.svelte-lzwakw .GamingLimitsConfirmButton.svelte-lzwakw{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GamingLimitsConfirmationControlArea.svelte-lzwakw .GamingLimitsConfirmButton.svelte-lzwakw{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(--emfe-w-button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn.svelte-lzwakw.svelte-lzwakw{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.svelte-lzwakw svg.svelte-lzwakw{width:35px;height:40px}.ModalCloseBtn.svelte-lzwakw.svelte-lzwakw:hover{background:rgba(255, 255, 255, 0.2)}.GamingLimitsConfirmationMobileWrapper.svelte-lzwakw.svelte-lzwakw{border:none;padding:0}')}const N=n=>({}),A=n=>({});function O(n){let e,a;return{c(){e=t.svg_element("svg"),a=t.svg_element("path"),t.attr(a,"stroke-linecap","round"),t.attr(a,"stroke-linejoin","round"),t.attr(a,"stroke-width","2"),t.attr(a,"d","M6 18L18 6M6 6l12 12"),t.attr(a,"class","svelte-lzwakw"),t.attr(e,"class","w-6 h-6 svelte-lzwakw"),t.attr(e,"fill","none"),t.attr(e,"stroke","currentColor"),t.attr(e,"viewBox","0 0 24 24"),t.attr(e,"xmlns","http://www.w3.org/2000/svg")},m(l,h){t.insert(l,e,h),t.append(e,a)},p:t.noop,d(l){l&&t.detach(e)}}}function P(n){let e,a,l,h,v,C,c,m,d,g=n[2]("cancel")+"",p,_,r,b=n[2]("confirm")+"",y,s,k,G;const L=n[13].close,z=t.create_slot(L,n,n[12],A),w=z||O();return{c(){e=t.element("div"),a=t.element("div"),l=t.element("span"),w&&w.c(),h=t.space(),v=t.element("div"),C=t.text(n[0]),c=t.space(),m=t.element("div"),d=t.element("button"),p=t.text(g),_=t.space(),r=t.element("button"),y=t.text(b),t.attr(l,"class","ModalCloseBtn svelte-lzwakw"),t.attr(l,"role","button"),t.attr(v,"class","GamingLimitsConfirmationContent svelte-lzwakw"),t.attr(d,"class","GamingLimitsCancelButton svelte-lzwakw"),t.attr(r,"class","GamingLimitsConfirmButton svelte-lzwakw"),t.attr(m,"class","GamingLimitsConfirmationControlArea "+(n[3]?"GamingLimitsConfirmationControlAreaMobile":"")+" svelte-lzwakw"),t.attr(a,"class","GamingLimitsConfirmationContainer "+(n[3]?"GamingLimitsConfirmationContainerMobile":"")+" svelte-lzwakw"),t.attr(e,"class","GamingLimitsConfirmationWrapper "+(n[3]?"GamingLimitsConfirmationMobileWrapper":"")+" svelte-lzwakw")},m(o,u){t.insert(o,e,u),t.append(e,a),t.append(a,l),w&&w.m(l,null),t.append(a,h),t.append(a,v),t.append(v,C),t.append(a,c),t.append(a,m),t.append(m,d),t.append(d,p),t.append(m,_),t.append(m,r),t.append(r,y),n[14](e),s=!0,k||(G=[t.listen(l,"click",n[4]),t.listen(d,"click",n[6]),t.listen(r,"click",n[5])],k=!0)},p(o,[u]){z&&z.p&&(!s||u&4096)&&t.update_slot_base(z,L,o,o[12],s?t.get_slot_changes(L,o[12],u,N):t.get_all_dirty_from_scope(o[12]),A),(!s||u&1)&&t.set_data(C,o[0]),(!s||u&4)&&g!==(g=o[2]("cancel")+"")&&t.set_data(p,g),(!s||u&4)&&b!==(b=o[2]("confirm")+"")&&t.set_data(y,b)},i(o){s||(t.transition_in(w,o),s=!0)},o(o){t.transition_out(w,o),s=!1},d(o){o&&t.detach(e),w&&w.d(o),n[14](null),k=!1,t.run_all(G)}}}function W(n,e,a){let l;t.component_subscribe(n,t.$format,i=>a(2,l=i));let{$$slots:h={},$$scope:v}=e,{modaltext:C="Are you sure that you want to perform this action?"}=e,{modalsource:c=""}=e,{lang:m="en"}=e,{clientstyling:d=""}=e,{clientstylingurl:g=""}=e,{translationurl:p=""}=e;const _=()=>{fetch(p).then(f=>f.json()).then(f=>{Object.keys(f).forEach(x=>{M(x,f[x])})}).catch(f=>{console.log(f)})};Object.keys(B).forEach(i=>{M(i,B[i])});let r,b=window.navigator.userAgent,y=t.getDevice(b)!=="PC",s={},k="";const G=()=>{window.postMessage({type:"ModalClosed"},window.location.href)},L=()=>{c==="groupEdit"?window.postMessage({type:"GamingLimitsConfirmChanges"},window.location.href):c==="infoCard"&&window.postMessage({type:"PlayerAccountGamingLimitDelete",limit:s,name:k},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)},z=()=>{c==="groupEdit"?window.postMessage({type:"CancelGamingLimitsChanges"},window.location.href):c==="infoCard"&&window.postMessage({type:"CancelGamingLimitsRemove"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)},w=i=>i==="Time Limit"?"cumulativeSessionLimits":i==="Deposit Limit"?"depositLimits":i==="Wagering Limit"?"wageringLimit":"lossLimit",o=i=>{if(i.data)switch(i.data.type){case"DeleteLimitsItem":s=i.data.removeData,k=w(i.data.removeName);break}},u=()=>{j(m)},E=()=>{let i=document.createElement("style");i.innerHTML=d,r.appendChild(i)},S=()=>{let i=new URL(g),f=document.createElement("style");fetch(i.href).then(x=>x.text()).then(x=>{f.innerHTML=x,setTimeout(()=>{r.appendChild(f)},1)})};t.onMount(()=>(window.addEventListener("message",o,!1),()=>{window.removeEventListener("message",o)}));function T(i){t.binding_callbacks[i?"unshift":"push"](()=>{r=i,a(1,r)})}return n.$$set=i=>{"modaltext"in i&&a(0,C=i.modaltext),"modalsource"in i&&a(7,c=i.modalsource),"lang"in i&&a(8,m=i.lang),"clientstyling"in i&&a(9,d=i.clientstyling),"clientstylingurl"in i&&a(10,g=i.clientstylingurl),"translationurl"in i&&a(11,p=i.translationurl),"$$scope"in i&&a(12,v=i.$$scope)},n.$$.update=()=>{n.$$.dirty&385&&C&&c&&m&&u(),n.$$.dirty&514&&d&&r&&E(),n.$$.dirty&1026&&g&&r&&S(),n.$$.dirty&2048&&p&&_()},[C,r,l,y,G,L,z,c,m,d,g,p,v,h,T]}class F extends t.SvelteComponent{constructor(e){super(),t.init(this,e,W,P,t.safe_not_equal,{modaltext:0,modalsource:7,lang:8,clientstyling:9,clientstylingurl:10,translationurl:11},D)}get modaltext(){return this.$$.ctx[0]}set modaltext(e){this.$$set({modaltext:e}),t.flush()}get modalsource(){return this.$$.ctx[7]}set modalsource(e){this.$$set({modalsource:e}),t.flush()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),t.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}}t.create_custom_element(F,{modaltext:{},modalsource:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{}},["close"],[],!0);exports.default=F;
|