@everymatrix/player-account-controller 1.49.2 → 1.50.0
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-DI0_2Ld2.js → GeneralLogout-CPJ_kgQc.js} +2 -2
- package/components/{GeneralLogout-bc8vhI_H.cjs → GeneralLogout-CnBIvtF1.cjs} +1 -1
- package/components/PlayerAccountBettingHistory-Cy59ufCv.cjs +1 -0
- package/components/{PlayerAccountBettingHistory-p8-C5d_q.js → PlayerAccountBettingHistory-DqCRu_Gb.js} +35 -35
- package/components/PlayerAccountBiometrics-BZ8i34dM.cjs +1 -0
- package/components/{PlayerAccountBiometrics-36-jzvmv.js → PlayerAccountBiometrics-_bzqGans.js} +38 -38
- package/components/PlayerAccountClosure-BbvKd11g.cjs +1 -0
- package/components/{PlayerAccountClosure-Buc1jxH3.js → PlayerAccountClosure-DgFBQW78.js} +26 -26
- package/components/{PlayerAccountController-BdLllhC8.js → PlayerAccountController-BxFXPyr1.js} +23 -23
- package/components/PlayerAccountController-DJ6AITI5.cjs +1 -0
- package/components/{PlayerAccountGamingLimits-X6i1dxNz.js → PlayerAccountGamingLimits-BOKXx_iz.js} +43 -43
- package/components/PlayerAccountGamingLimits-CV_NoRFx.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-_s70hpGn.js → PlayerAccountGamingLimitsConfirmationModal-Cu04ikT5.js} +21 -21
- package/components/PlayerAccountGamingLimitsConfirmationModal-Dzxus6A7.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-C0TmN9tW.cjs → PlayerAccountGamingLimitsGroupEdit-CZNV2Pxd.cjs} +4 -4
- package/components/{PlayerAccountGamingLimitsGroupEdit-BQ82HYJY.js → PlayerAccountGamingLimitsGroupEdit-DYzhhapL.js} +178 -178
- package/components/{PlayerAccountGamingLimitsHistory2-BkYPsgPu.js → PlayerAccountGamingLimitsHistory2-Bvh5seHB.js} +144 -144
- package/components/PlayerAccountGamingLimitsHistory2-DpBBoeDK.cjs +1 -0
- package/components/PlayerAccountGamingLimitsInfoCard-BjLZ3MaL.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsInfoCard-DQkGickX.js → PlayerAccountGamingLimitsInfoCard-pHxvjwrl.js} +80 -80
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CtJzX00K.js → PlayerAccountGamingLimitsPage2Gm16-CAHA7P8d.js} +113 -113
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CdbhXN3g.cjs → PlayerAccountGamingLimitsPage2Gm16-CKFzVtAJ.cjs} +4 -4
- package/components/{PlayerAccountGamingLimitsPopup-BRVwX_uG.js → PlayerAccountGamingLimitsPopup-BwCi8g0-.js} +14 -14
- package/components/PlayerAccountGamingLimitsPopup-Dz_qQuDe.cjs +1 -0
- package/components/PlayerAccountGamingLimitsWrapper2-BvV0-Dlq.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsWrapper2-DbRyF9CO.js → PlayerAccountGamingLimitsWrapper2-DPJCVbfG.js} +21 -21
- package/components/PlayerAccountMenu-BEWnz4-M.cjs +1 -0
- package/components/{PlayerAccountMenu-hM5ZxGE7.js → PlayerAccountMenu-WHbE7mMh.js} +43 -43
- package/components/{PlayerAccountModal-BK_133rp.js → PlayerAccountModal-B28RK7-M.js} +1 -1
- package/components/{PlayerAccountModal-CIR41mpM.cjs → PlayerAccountModal-DEtLb1RB.cjs} +1 -1
- package/components/PlayerAccountNotifications-DEqB-PVw.cjs +1 -0
- package/components/{PlayerAccountNotifications-COx0wvVZ.js → PlayerAccountNotifications-DmjuynrH.js} +4 -4
- package/components/{PlayerAccountSelfExclusion-Cd9TNqFJ.js → PlayerAccountSelfExclusion-CsS-h2Ai.js} +3 -3
- package/components/{PlayerAccountSelfExclusion-DhyhbeQg.cjs → PlayerAccountSelfExclusion-DqDkT8iy.cjs} +2 -2
- package/components/PlayerAccountTimeout-CXeEUwpu.cjs +1 -0
- package/components/{PlayerAccountTimeout-DMvUsWoq.js → PlayerAccountTimeout-D38oVKnz.js} +42 -42
- package/components/PlayerActiveBonuses-DA6p75G4.cjs +1 -0
- package/components/{PlayerActiveBonuses-CIvyQppa.js → PlayerActiveBonuses-DpYIsm4r.js} +33 -33
- package/components/{PlayerBonusCard-DGoTFlMq.js → PlayerBonusCard-BP0WYns1.js} +2 -2
- package/components/{PlayerBonusCard-DdxYH7lf.cjs → PlayerBonusCard-DCNIGmVp.cjs} +1 -1
- package/components/{PlayerBonusHistory-R8RT-te2.js → PlayerBonusHistory-BFvXTv4X.js} +4 -4
- package/components/{PlayerBonusHistory-Bm1MJlBw.cjs → PlayerBonusHistory-Cw5-GcW4.cjs} +1 -1
- package/components/{PlayerChangePassword-BkRFX3fB.js → PlayerChangePassword-BM5W2zIw.js} +1 -1
- package/components/{PlayerChangePassword-BDyXZ2_q.cjs → PlayerChangePassword-BxwRqAxy.cjs} +1 -1
- package/components/{PlayerDeposit-T-QxU0tF.js → PlayerDeposit-CznlyF3J.js} +1 -1
- package/components/{PlayerDeposit-CYpXuZIT.cjs → PlayerDeposit-bjlqIdhX.cjs} +1 -1
- package/components/{PlayerGamingHistory-BqyyldNf.js → PlayerGamingHistory-6e4kRRGF.js} +4 -4
- package/components/{PlayerGamingHistory-4xRJDl6N.cjs → PlayerGamingHistory-CKg80FAa.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-DR9D_EFU.js → PlayerPendingWithdrawals-BxlTm_jb.js} +1 -1
- package/components/{PlayerPendingWithdrawals-Dn63yKxo.cjs → PlayerPendingWithdrawals-C0HSC7tm.cjs} +1 -1
- package/components/{PlayerProfileInfo-DwpHwaIZ.js → PlayerProfileInfo-B6HDCWAZ.js} +1 -1
- package/components/{PlayerProfileInfo-i7DhTVz2.cjs → PlayerProfileInfo-CNKIiMA-.cjs} +1 -1
- package/components/PlayerRealityCheck-CtU2sJN0.cjs +1 -0
- package/components/{PlayerRealityCheck-CRHHpeWT.js → PlayerRealityCheck-Debik71V.js} +52 -52
- package/components/{PlayerTransactionHistory-DJICk5qY.cjs → PlayerTransactionHistory-Dg7CD0Zs.cjs} +1 -1
- package/components/{PlayerTransactionHistory-HQMXVkZj.js → PlayerTransactionHistory-Dn_B3c0-.js} +1 -1
- package/components/{PlayerWithdrawal-DuxGAxKs.cjs → PlayerWithdrawal-CGpOe7ya.cjs} +1 -1
- package/components/{PlayerWithdrawal-BToCctRz.js → PlayerWithdrawal-CIjAyGsf.js} +1 -1
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-04d3e726-B-NTRQkL.js → index-04d3e726-C5uhgmrG.js} +1 -1
- package/stencil/{index-04d3e726-DeGaIccQ.cjs → index-04d3e726-CRpZOD6z.cjs} +1 -1
- package/stencil/{index-065b5928-DELlxqkN.cjs → index-065b5928-BRUI7eV0.cjs} +1 -1
- package/stencil/{index-065b5928-DXYOROKQ.js → index-065b5928-CPoJDIU-.js} +1 -1
- package/stencil/{player-kyc-verification-CZYvrNVs.js → player-kyc-verification-BrLC5rYt.js} +12 -12
- package/stencil/{player-kyc-verification-3V5MFDaD.cjs → player-kyc-verification-Dg3VZ8QG.cjs} +12 -12
- package/stencil/{user-deposit-withdrawal-DLw9KjHG.cjs → user-deposit-withdrawal-CpNKQFA-.cjs} +8 -8
- package/stencil/{user-deposit-withdrawal-DlTyKrkT.js → user-deposit-withdrawal-T1uVOjwf.js} +8 -8
- package/components/PlayerAccountBettingHistory-BK6xPWSw.cjs +0 -1
- package/components/PlayerAccountBiometrics-C-3zrtyy.cjs +0 -1
- package/components/PlayerAccountClosure-C8BNtCld.cjs +0 -1
- package/components/PlayerAccountController-BFFK-NR4.cjs +0 -1
- package/components/PlayerAccountGamingLimits-a_ERECbs.cjs +0 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-l6qA-tGo.cjs +0 -1
- package/components/PlayerAccountGamingLimitsHistory2-BQABSfo3.cjs +0 -1
- package/components/PlayerAccountGamingLimitsInfoCard-0xDp-CBL.cjs +0 -1
- package/components/PlayerAccountGamingLimitsPopup-CRCoJtQR.cjs +0 -1
- package/components/PlayerAccountGamingLimitsWrapper2-BtHosvRh.cjs +0 -1
- package/components/PlayerAccountMenu-_QF6LQHb.cjs +0 -1
- package/components/PlayerAccountNotifications-DNWMsUnC.cjs +0 -1
- package/components/PlayerAccountTimeout-C0nlqzAC.cjs +0 -1
- package/components/PlayerActiveBonuses-D2PR-NJe.cjs +0 -1
- package/components/PlayerRealityCheck-BaBE_tNE.cjs +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
function
|
|
3
|
-
|
|
1
|
+
import { a as U, $ as q, S as J, i as K, f as M, c as Q, s as V, b as X, D as Y, e as x, d as E, t as z, g as a, k as W, l, m as S, E as Z, F as $, G as tt, n as D, H as it, I as et, p as H, r as nt, q as ot, u as at, v as rt, x as st, w as T, o as lt, y as mt } from "./GeneralLogout-CPJ_kgQc.js";
|
|
2
|
+
function j(e, t) {
|
|
3
|
+
U(e, t);
|
|
4
4
|
}
|
|
5
5
|
function ct(e) {
|
|
6
|
-
|
|
6
|
+
q.set(e);
|
|
7
7
|
}
|
|
8
8
|
const N = {
|
|
9
9
|
en: {
|
|
@@ -48,14 +48,14 @@ const N = {
|
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
50
|
function dt(e) {
|
|
51
|
-
X(e, "svelte-
|
|
51
|
+
X(e, "svelte-1pkvhrt", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{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:300;color:var(--emw--color-typography, #FFFFFF)}.GamingLimitsConfirmationContainer{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::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::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{padding:40px;max-width:330px}.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsCancelButton,.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{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 .GamingLimitsConfirmButton{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)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}');
|
|
52
52
|
}
|
|
53
53
|
const gt = (e) => ({}), O = (e) => ({});
|
|
54
54
|
function ut(e) {
|
|
55
55
|
let t, n;
|
|
56
56
|
return {
|
|
57
57
|
c() {
|
|
58
|
-
t =
|
|
58
|
+
t = T("svg"), n = T("path"), a(n, "stroke-linecap", "round"), a(n, "stroke-linejoin", "round"), a(n, "stroke-width", "2"), a(n, "d", "M6 18L18 6M6 6l12 12"), a(t, "class", "w-6 h-6"), a(t, "fill", "none"), a(t, "stroke", "currentColor"), a(t, "viewBox", "0 0 24 24"), a(t, "xmlns", "http://www.w3.org/2000/svg");
|
|
59
59
|
},
|
|
60
60
|
m(r, y) {
|
|
61
61
|
W(r, t, y), l(t, n);
|
|
@@ -67,10 +67,10 @@ function ut(e) {
|
|
|
67
67
|
};
|
|
68
68
|
}
|
|
69
69
|
function ft(e) {
|
|
70
|
-
let t, n, r, y,
|
|
70
|
+
let t, n, r, y, b, w, d, c, g, f = (
|
|
71
71
|
/*$_*/
|
|
72
72
|
e[2]("cancel") + ""
|
|
73
|
-
),
|
|
73
|
+
), h, A, s, L = (
|
|
74
74
|
/*$_*/
|
|
75
75
|
e[2]("confirm") + ""
|
|
76
76
|
), k, m, v, F;
|
|
@@ -86,16 +86,16 @@ function ft(e) {
|
|
|
86
86
|
), u = _ || ut();
|
|
87
87
|
return {
|
|
88
88
|
c() {
|
|
89
|
-
t = x("div"), n = x("div"), r = x("span"), u && u.c(), y = E(),
|
|
89
|
+
t = x("div"), n = x("div"), r = x("span"), u && u.c(), y = E(), b = x("div"), w = z(
|
|
90
90
|
/*modaltext*/
|
|
91
91
|
e[0]
|
|
92
|
-
), d = E(), c = x("div"), g = x("button"),
|
|
92
|
+
), d = E(), c = x("div"), g = x("button"), h = z(f), A = E(), s = x("button"), k = z(L), a(r, "class", "ModalCloseBtn"), a(r, "role", "button"), a(b, "class", "GamingLimitsConfirmationContent"), a(g, "class", "GamingLimitsCancelButton"), a(s, "class", "GamingLimitsConfirmButton"), a(c, "class", "GamingLimitsConfirmationControlArea " + /*isMobile*/
|
|
93
93
|
(e[3] ? "GamingLimitsConfirmationControlAreaMobile" : "")), a(n, "class", "GamingLimitsConfirmationContainer " + /*isMobile*/
|
|
94
94
|
(e[3] ? "GamingLimitsConfirmationContainerMobile" : "")), a(t, "class", "GamingLimitsConfirmationWrapper " + /*isMobile*/
|
|
95
95
|
(e[3] ? "GamingLimitsConfirmationMobileWrapper" : ""));
|
|
96
96
|
},
|
|
97
97
|
m(o, p) {
|
|
98
|
-
W(o, t, p), l(t, n), l(n, r), u && u.m(r, null), l(n, y), l(n,
|
|
98
|
+
W(o, t, p), l(t, n), l(n, r), u && u.m(r, null), l(n, y), l(n, b), l(b, w), l(n, d), l(n, c), l(c, g), l(g, h), l(c, A), l(c, s), l(s, k), e[14](t), m = !0, v || (F = [
|
|
99
99
|
S(
|
|
100
100
|
r,
|
|
101
101
|
"click",
|
|
@@ -136,15 +136,15 @@ function ft(e) {
|
|
|
136
136
|
),
|
|
137
137
|
O
|
|
138
138
|
), (!m || p & /*modaltext*/
|
|
139
|
-
1) &&
|
|
139
|
+
1) && D(
|
|
140
140
|
w,
|
|
141
141
|
/*modaltext*/
|
|
142
142
|
o[0]
|
|
143
143
|
), (!m || p & /*$_*/
|
|
144
144
|
4) && f !== (f = /*$_*/
|
|
145
|
-
o[2]("cancel") + "") &&
|
|
145
|
+
o[2]("cancel") + "") && D(h, f), (!m || p & /*$_*/
|
|
146
146
|
4) && L !== (L = /*$_*/
|
|
147
|
-
o[2]("confirm") + "") &&
|
|
147
|
+
o[2]("confirm") + "") && D(k, L);
|
|
148
148
|
},
|
|
149
149
|
i(o) {
|
|
150
150
|
m || (it(u, o), m = !0);
|
|
@@ -160,18 +160,18 @@ function ft(e) {
|
|
|
160
160
|
function pt(e, t, n) {
|
|
161
161
|
let r;
|
|
162
162
|
ot(e, mt, (i) => n(2, r = i));
|
|
163
|
-
let { $$slots: y = {}, $$scope:
|
|
163
|
+
let { $$slots: y = {}, $$scope: b } = t, { modaltext: w = "Are you sure that you want to perform this action?" } = t, { modalsource: d = "" } = t, { lang: c = "en" } = t, { clientstyling: g = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: h = "" } = t;
|
|
164
164
|
const A = () => {
|
|
165
|
-
fetch(
|
|
165
|
+
fetch(h).then((C) => C.json()).then((C) => {
|
|
166
166
|
Object.keys(C).forEach((G) => {
|
|
167
|
-
|
|
167
|
+
j(G, C[G]);
|
|
168
168
|
});
|
|
169
169
|
}).catch((C) => {
|
|
170
170
|
console.log(C);
|
|
171
171
|
});
|
|
172
172
|
};
|
|
173
173
|
Object.keys(N).forEach((i) => {
|
|
174
|
-
|
|
174
|
+
j(i, N[i]);
|
|
175
175
|
});
|
|
176
176
|
let s, L = window.navigator.userAgent, k = at(L) !== "PC", m = {}, v = "";
|
|
177
177
|
const F = () => {
|
|
@@ -219,13 +219,13 @@ function pt(e, t, n) {
|
|
|
219
219
|
});
|
|
220
220
|
}
|
|
221
221
|
return e.$$set = (i) => {
|
|
222
|
-
"modaltext" in i && n(0, w = i.modaltext), "modalsource" in i && n(7, d = i.modalsource), "lang" in i && n(8, c = i.lang), "clientstyling" in i && n(9, g = i.clientstyling), "clientstylingurl" in i && n(10, f = i.clientstylingurl), "translationurl" in i && n(11,
|
|
222
|
+
"modaltext" in i && n(0, w = i.modaltext), "modalsource" in i && n(7, d = i.modalsource), "lang" in i && n(8, c = i.lang), "clientstyling" in i && n(9, g = i.clientstyling), "clientstylingurl" in i && n(10, f = i.clientstylingurl), "translationurl" in i && n(11, h = i.translationurl), "$$scope" in i && n(12, b = i.$$scope);
|
|
223
223
|
}, e.$$.update = () => {
|
|
224
224
|
e.$$.dirty & /*modaltext, modalsource, lang*/
|
|
225
225
|
385 && w && d && c && p(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
226
226
|
514 && g && s && I(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
227
227
|
1026 && f && s && P(), e.$$.dirty & /*translationurl*/
|
|
228
|
-
2048 &&
|
|
228
|
+
2048 && h && A();
|
|
229
229
|
}, [
|
|
230
230
|
w,
|
|
231
231
|
s,
|
|
@@ -238,8 +238,8 @@ function pt(e, t, n) {
|
|
|
238
238
|
c,
|
|
239
239
|
g,
|
|
240
240
|
f,
|
|
241
|
-
b,
|
|
242
241
|
h,
|
|
242
|
+
b,
|
|
243
243
|
y,
|
|
244
244
|
R
|
|
245
245
|
];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./GeneralLogout-CnBIvtF1.cjs");function B(n,e){t.addMessages(n,e)}function j(n){t.$locale.set(n)}const A={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-1pkvhrt",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{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:300;color:var(--emw--color-typography, #FFFFFF)}.GamingLimitsConfirmationContainer{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::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::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{padding:40px;max-width:330px}.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsCancelButton,.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{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 .GamingLimitsConfirmButton{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)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}')}const N=n=>({}),F=n=>({});function O(n){let e,o;return{c(){e=t.svg_element("svg"),o=t.svg_element("path"),t.attr(o,"stroke-linecap","round"),t.attr(o,"stroke-linejoin","round"),t.attr(o,"stroke-width","2"),t.attr(o,"d","M6 18L18 6M6 6l12 12"),t.attr(e,"class","w-6 h-6"),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(r,w){t.insert(r,e,w),t.append(e,o)},p:t.noop,d(r){r&&t.detach(e)}}}function P(n){let e,o,r,w,h,b,c,m,d,u=n[2]("cancel")+"",C,M,l,x=n[2]("confirm")+"",_,s,y,k;const G=n[13].close,L=t.create_slot(G,n,n[12],F),g=L||O();return{c(){e=t.element("div"),o=t.element("div"),r=t.element("span"),g&&g.c(),w=t.space(),h=t.element("div"),b=t.text(n[0]),c=t.space(),m=t.element("div"),d=t.element("button"),C=t.text(u),M=t.space(),l=t.element("button"),_=t.text(x),t.attr(r,"class","ModalCloseBtn"),t.attr(r,"role","button"),t.attr(h,"class","GamingLimitsConfirmationContent"),t.attr(d,"class","GamingLimitsCancelButton"),t.attr(l,"class","GamingLimitsConfirmButton"),t.attr(m,"class","GamingLimitsConfirmationControlArea "+(n[3]?"GamingLimitsConfirmationControlAreaMobile":"")),t.attr(o,"class","GamingLimitsConfirmationContainer "+(n[3]?"GamingLimitsConfirmationContainerMobile":"")),t.attr(e,"class","GamingLimitsConfirmationWrapper "+(n[3]?"GamingLimitsConfirmationMobileWrapper":""))},m(a,f){t.insert(a,e,f),t.append(e,o),t.append(o,r),g&&g.m(r,null),t.append(o,w),t.append(o,h),t.append(h,b),t.append(o,c),t.append(o,m),t.append(m,d),t.append(d,C),t.append(m,M),t.append(m,l),t.append(l,_),n[14](e),s=!0,y||(k=[t.listen(r,"click",n[4]),t.listen(d,"click",n[6]),t.listen(l,"click",n[5])],y=!0)},p(a,[f]){L&&L.p&&(!s||f&4096)&&t.update_slot_base(L,G,a,a[12],s?t.get_slot_changes(G,a[12],f,N):t.get_all_dirty_from_scope(a[12]),F),(!s||f&1)&&t.set_data(b,a[0]),(!s||f&4)&&u!==(u=a[2]("cancel")+"")&&t.set_data(C,u),(!s||f&4)&&x!==(x=a[2]("confirm")+"")&&t.set_data(_,x)},i(a){s||(t.transition_in(g,a),s=!0)},o(a){t.transition_out(g,a),s=!1},d(a){a&&t.detach(e),g&&g.d(a),n[14](null),y=!1,t.run_all(k)}}}function W(n,e,o){let r;t.component_subscribe(n,t.$format,i=>o(2,r=i));let{$$slots:w={},$$scope:h}=e,{modaltext:b="Are you sure that you want to perform this action?"}=e,{modalsource:c=""}=e,{lang:m="en"}=e,{clientstyling:d=""}=e,{clientstylingurl:u=""}=e,{translationurl:C=""}=e;const M=()=>{fetch(C).then(p=>p.json()).then(p=>{Object.keys(p).forEach(v=>{B(v,p[v])})}).catch(p=>{console.log(p)})};Object.keys(A).forEach(i=>{B(i,A[i])});let l,x=window.navigator.userAgent,_=t.getDevice(x)!=="PC",s={},y="";const k=()=>{window.postMessage({type:"ModalClosed"},window.location.href)},G=()=>{c==="groupEdit"?window.postMessage({type:"GamingLimitsConfirmChanges"},window.location.href):c==="infoCard"&&window.postMessage({type:"PlayerAccountGamingLimitDelete",limit:s,name:y},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)},L=()=>{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)},g=i=>i==="Time Limit"?"cumulativeSessionLimits":i==="Deposit Limit"?"depositLimits":i==="Wagering Limit"?"wageringLimit":"lossLimit",a=i=>{if(i.data)switch(i.data.type){case"DeleteLimitsItem":s=i.data.removeData,y=g(i.data.removeName);break}},f=()=>{j(m)},z=()=>{let i=document.createElement("style");i.innerHTML=d,l.appendChild(i)},S=()=>{let i=new URL(u),p=document.createElement("style");fetch(i.href).then(v=>v.text()).then(v=>{p.innerHTML=v,setTimeout(()=>{l.appendChild(p)},1)})};t.onMount(()=>(window.addEventListener("message",a,!1),()=>{window.removeEventListener("message",a)}));function T(i){t.binding_callbacks[i?"unshift":"push"](()=>{l=i,o(1,l)})}return n.$$set=i=>{"modaltext"in i&&o(0,b=i.modaltext),"modalsource"in i&&o(7,c=i.modalsource),"lang"in i&&o(8,m=i.lang),"clientstyling"in i&&o(9,d=i.clientstyling),"clientstylingurl"in i&&o(10,u=i.clientstylingurl),"translationurl"in i&&o(11,C=i.translationurl),"$$scope"in i&&o(12,h=i.$$scope)},n.$$.update=()=>{n.$$.dirty&385&&b&&c&&m&&f(),n.$$.dirty&514&&d&&l&&z(),n.$$.dirty&1026&&u&&l&&S(),n.$$.dirty&2048&&C&&M()},[b,l,r,_,k,G,L,c,m,d,u,C,h,w,T]}class E 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(E,{modaltext:{},modalsource:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{}},["close"],[],!0);exports.default=E;
|