@everymatrix/player-account-gaming-limits 1.76.1 → 1.76.3
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/{PlayerAccountGamingLimits-DtzP7G6K.js → PlayerAccountGamingLimits-CqmOKdVH.js} +1463 -1477
- package/components/{PlayerAccountGamingLimits-DZxeJ9O6.js → PlayerAccountGamingLimits-DCaWtkE6.js} +1228 -1242
- package/components/PlayerAccountGamingLimits-T5-mSITY.cjs +21 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Cojk6mIA.js → PlayerAccountGamingLimitsConfirmationModal-BFdGoRdT.js} +38 -38
- package/components/PlayerAccountGamingLimitsConfirmationModal-BcmMpc4k.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Coe5msP4.js → PlayerAccountGamingLimitsConfirmationModal-OGalQefI.js} +38 -38
- package/components/{PlayerAccountGamingLimitsGroupEdit-DnDtGiqd.js → PlayerAccountGamingLimitsGroupEdit-5QD1HV33.js} +379 -379
- package/components/{PlayerAccountGamingLimitsGroupEdit-oQYdpkFq.cjs → PlayerAccountGamingLimitsGroupEdit-BN0PwZvT.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-CuYXb_Td.js → PlayerAccountGamingLimitsGroupEdit-CSUNPJOB.js} +379 -379
- package/components/{PlayerAccountGamingLimitsInfoCard-x9MVFt7G.js → PlayerAccountGamingLimitsInfoCard-BR08lfFb.js} +7 -7
- package/components/{PlayerAccountGamingLimitsInfoCard-DDFrYx0M.js → PlayerAccountGamingLimitsInfoCard-BUt4LvKE.js} +7 -7
- package/components/{PlayerAccountGamingLimitsInfoCard-CtpmE0je.cjs → PlayerAccountGamingLimitsInfoCard-DWoR16RN.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-DjnXMxiO.cjs → PlayerAccountGamingLimitsPopup-CLICaYT2.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-BHOTrnnB.js → PlayerAccountGamingLimitsPopup-CVwe9722.js} +6 -6
- package/components/{PlayerAccountGamingLimitsPopup-9t0My0ez.js → PlayerAccountGamingLimitsPopup-D9Pjzy7_.js} +6 -6
- package/components/{PlayerAccountModal-BaTp6xqc.js → PlayerAccountModal-BECvIT3d.js} +10 -10
- package/components/{PlayerAccountModal-Dv-RPvC_.js → PlayerAccountModal-BcLiGXkj.js} +10 -10
- package/components/{PlayerAccountModal-CUiC1zgO.cjs → PlayerAccountModal-ioLlN0au.cjs} +1 -1
- package/es2015/player-account-gaming-limits.cjs +1 -1
- package/es2015/player-account-gaming-limits.js +1 -1
- package/esnext/player-account-gaming-limits.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountGamingLimits-B7Ae4m4I.cjs +0 -21
- package/components/PlayerAccountGamingLimitsConfirmationModal-DsRj01Df.cjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as q, $ as U, S as H, i as J, f as y, c as K, s as Q, b as V, d as X, e as L, g as F, t as z, h as a, j as P, k as l, l as E, u as Y, m as Z, n as $, o as S, p as tt, q as it, r as T, v as et, w as nt, x as ot, y as at, z as rt, A as st, B as lt, C as mt, D, E as ct, F as dt } from "./PlayerAccountGamingLimits-
|
|
1
|
+
import { a as q, $ as U, S as H, i as J, f as y, c as K, s as Q, b as V, d as X, e as L, g as F, t as z, h as a, j as P, k as l, l as E, u as Y, m as Z, n as $, o as S, p as tt, q as it, r as T, v as et, w as nt, x as ot, y as at, z as rt, A as st, B as lt, C as mt, D, E as ct, F as dt } from "./PlayerAccountGamingLimits-CqmOKdVH.js";
|
|
2
2
|
function N(e, t) {
|
|
3
3
|
q(e, t);
|
|
4
4
|
}
|
|
@@ -71,10 +71,10 @@ function Ct(e) {
|
|
|
71
71
|
};
|
|
72
72
|
}
|
|
73
73
|
function pt(e) {
|
|
74
|
-
let t, n, s, v,
|
|
74
|
+
let t, n, s, v, p, b, d, m, g, f = (
|
|
75
75
|
/*$_*/
|
|
76
76
|
e[2]("cancel") + ""
|
|
77
|
-
),
|
|
77
|
+
), C, h, w, r = (
|
|
78
78
|
/*$_*/
|
|
79
79
|
e[2]("confirm") + ""
|
|
80
80
|
), k, c, _, B;
|
|
@@ -87,19 +87,19 @@ function pt(e) {
|
|
|
87
87
|
/*$$scope*/
|
|
88
88
|
e[13],
|
|
89
89
|
W
|
|
90
|
-
),
|
|
90
|
+
), x = G || Ct();
|
|
91
91
|
return {
|
|
92
92
|
c() {
|
|
93
|
-
t = L("div"), n = L("div"), s = L("span"),
|
|
93
|
+
t = L("div"), n = L("div"), s = L("span"), x.c(), v = F(), p = L("div"), b = z(
|
|
94
94
|
/*modaltext*/
|
|
95
95
|
e[0]
|
|
96
|
-
), d = F(), m = L("div"), g = L("button"),
|
|
96
|
+
), d = F(), m = L("div"), g = L("button"), C = z(f), h = F(), w = L("button"), k = z(r), a(s, "class", "ModalCloseBtn"), a(s, "role", "button"), a(p, "class", "GamingLimitsConfirmationContent"), a(g, "class", "GamingLimitsCancelButton"), a(w, "class", "GamingLimitsConfirmButton"), a(m, "class", "GamingLimitsConfirmationControlArea " + /*isMobile*/
|
|
97
97
|
(e[3] ? "GamingLimitsConfirmationControlAreaMobile" : "")), a(n, "class", "GamingLimitsConfirmationContainer " + /*isMobile*/
|
|
98
98
|
(e[3] ? "GamingLimitsConfirmationContainerMobile" : "")), a(t, "class", "GamingLimitsConfirmationWrapper " + /*isMobile*/
|
|
99
99
|
(e[3] ? "GamingLimitsConfirmationMobileWrapper" : ""));
|
|
100
100
|
},
|
|
101
|
-
m(o,
|
|
102
|
-
P(o, t,
|
|
101
|
+
m(o, u) {
|
|
102
|
+
P(o, t, u), l(t, n), l(n, s), x.m(s, null), l(n, v), l(n, p), l(p, b), l(n, d), l(n, m), l(m, g), l(g, C), l(m, h), l(m, w), l(w, k), e[15](t), c = !0, _ || (B = [
|
|
103
103
|
E(
|
|
104
104
|
s,
|
|
105
105
|
"click",
|
|
@@ -113,15 +113,15 @@ function pt(e) {
|
|
|
113
113
|
e[6]
|
|
114
114
|
),
|
|
115
115
|
E(
|
|
116
|
-
|
|
116
|
+
w,
|
|
117
117
|
"click",
|
|
118
118
|
/*confirmChanges*/
|
|
119
119
|
e[5]
|
|
120
120
|
)
|
|
121
121
|
], _ = !0);
|
|
122
122
|
},
|
|
123
|
-
p(o, [
|
|
124
|
-
G && G.p && (!c ||
|
|
123
|
+
p(o, [u]) {
|
|
124
|
+
G && G.p && (!c || u & /*$$scope*/
|
|
125
125
|
8192) && Y(
|
|
126
126
|
G,
|
|
127
127
|
A,
|
|
@@ -132,41 +132,41 @@ function pt(e) {
|
|
|
132
132
|
A,
|
|
133
133
|
/*$$scope*/
|
|
134
134
|
o[13],
|
|
135
|
-
|
|
135
|
+
u,
|
|
136
136
|
ft
|
|
137
137
|
) : Z(
|
|
138
138
|
/*$$scope*/
|
|
139
139
|
o[13]
|
|
140
140
|
),
|
|
141
141
|
W
|
|
142
|
-
), (!c ||
|
|
142
|
+
), (!c || u & /*modaltext*/
|
|
143
143
|
1) && S(
|
|
144
|
-
|
|
144
|
+
b,
|
|
145
145
|
/*modaltext*/
|
|
146
146
|
o[0]
|
|
147
|
-
), (!c ||
|
|
148
|
-
4) &&
|
|
149
|
-
o[2]("cancel") + "") && S(
|
|
147
|
+
), (!c || u & /*$_*/
|
|
148
|
+
4) && f !== (f = /*$_*/
|
|
149
|
+
o[2]("cancel") + "") && S(C, f), (!c || u & /*$_*/
|
|
150
150
|
4) && r !== (r = /*$_*/
|
|
151
151
|
o[2]("confirm") + "") && S(k, r);
|
|
152
152
|
},
|
|
153
153
|
i(o) {
|
|
154
|
-
c || (tt(
|
|
154
|
+
c || (tt(x, o), c = !0);
|
|
155
155
|
},
|
|
156
156
|
o(o) {
|
|
157
|
-
it(
|
|
157
|
+
it(x, o), c = !1;
|
|
158
158
|
},
|
|
159
159
|
d(o) {
|
|
160
|
-
o && T(t),
|
|
160
|
+
o && T(t), x.d(o), e[15](null), _ = !1, et(B);
|
|
161
161
|
}
|
|
162
162
|
};
|
|
163
163
|
}
|
|
164
164
|
function bt(e, t, n) {
|
|
165
165
|
let s;
|
|
166
166
|
nt(e, dt, (i) => n(2, s = i));
|
|
167
|
-
let { $$slots: v = {}, $$scope:
|
|
168
|
-
const
|
|
169
|
-
fetch(
|
|
167
|
+
let { $$slots: v = {}, $$scope: p } = t, { modaltext: b = "Are you sure that you want to perform this action?" } = t, { modalsource: d = "" } = t, { lang: m = "en" } = t, { clientstyling: g = "" } = t, { clientstylingurl: f = "" } = t, { mbsource: C } = t, { translationurl: h = "" } = t;
|
|
168
|
+
const w = () => {
|
|
169
|
+
fetch(h).then((M) => M.json()).then((M) => {
|
|
170
170
|
Object.keys(M).forEach((j) => {
|
|
171
171
|
N(j, M[j]);
|
|
172
172
|
});
|
|
@@ -189,9 +189,9 @@ function bt(e, t, n) {
|
|
|
189
189
|
},
|
|
190
190
|
window.location.href
|
|
191
191
|
), window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
192
|
-
},
|
|
192
|
+
}, x = () => {
|
|
193
193
|
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);
|
|
194
|
-
}, o = (i) => i === "Time Limit" ? "cumulativeSessionLimits" : i === "Deposit Limit" ? "depositLimits" : i === "Wagering Limit" ? "wageringLimit" : "lossLimit",
|
|
194
|
+
}, o = (i) => i === "Time Limit" ? "cumulativeSessionLimits" : i === "Deposit Limit" ? "depositLimits" : i === "Wagering Limit" ? "wageringLimit" : "lossLimit", u = (i) => {
|
|
195
195
|
if (i.data)
|
|
196
196
|
switch (i.data.type) {
|
|
197
197
|
case "DeleteLimitsItem":
|
|
@@ -201,38 +201,38 @@ function bt(e, t, n) {
|
|
|
201
201
|
}, I = () => {
|
|
202
202
|
gt(m);
|
|
203
203
|
};
|
|
204
|
-
at(() => (window.addEventListener("message",
|
|
205
|
-
window.removeEventListener("message",
|
|
204
|
+
at(() => (window.addEventListener("message", u, !1), () => {
|
|
205
|
+
window.removeEventListener("message", u);
|
|
206
206
|
}));
|
|
207
207
|
function R(i) {
|
|
208
|
-
|
|
208
|
+
rt[i ? "unshift" : "push"](() => {
|
|
209
209
|
r = i, n(1, r);
|
|
210
210
|
});
|
|
211
211
|
}
|
|
212
212
|
return e.$$set = (i) => {
|
|
213
|
-
"modaltext" in i && n(0,
|
|
213
|
+
"modaltext" in i && n(0, b = i.modaltext), "modalsource" in i && n(7, d = i.modalsource), "lang" in i && n(8, m = i.lang), "clientstyling" in i && n(9, g = i.clientstyling), "clientstylingurl" in i && n(10, f = i.clientstylingurl), "mbsource" in i && n(11, C = i.mbsource), "translationurl" in i && n(12, h = i.translationurl), "$$scope" in i && n(13, p = i.$$scope);
|
|
214
214
|
}, e.$$.update = () => {
|
|
215
215
|
e.$$.dirty & /*modaltext, modalsource, lang*/
|
|
216
|
-
385 &&
|
|
217
|
-
514 && g && r &&
|
|
218
|
-
1026 &&
|
|
219
|
-
2050 &&
|
|
220
|
-
4096 &&
|
|
216
|
+
385 && b && d && m && I(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
217
|
+
514 && g && r && st(r, g), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
218
|
+
1026 && f && r && lt(r, f), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
219
|
+
2050 && C && r && mt(r, `${C}.Style`), e.$$.dirty & /*translationurl*/
|
|
220
|
+
4096 && h && w();
|
|
221
221
|
}, [
|
|
222
|
-
|
|
222
|
+
b,
|
|
223
223
|
r,
|
|
224
224
|
s,
|
|
225
225
|
c,
|
|
226
226
|
A,
|
|
227
227
|
G,
|
|
228
|
-
|
|
228
|
+
x,
|
|
229
229
|
d,
|
|
230
230
|
m,
|
|
231
231
|
g,
|
|
232
|
+
f,
|
|
232
233
|
C,
|
|
234
|
+
h,
|
|
233
235
|
p,
|
|
234
|
-
w,
|
|
235
|
-
b,
|
|
236
236
|
v,
|
|
237
237
|
R
|
|
238
238
|
];
|