@everymatrix/player-account-self-exclusion 1.74.6 → 1.74.7
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/{PlayerAccountSelfExclusion-DuGcwZpC.js → PlayerAccountSelfExclusion-9rv40tnZ.js} +271 -263
- package/components/{PlayerAccountSelfExclusion-ypycNpI7.js → PlayerAccountSelfExclusion-AFSSdKA9.js} +271 -263
- package/components/{PlayerAccountSelfExclusion-CLi71VFN.cjs → PlayerAccountSelfExclusion-DeQSE8Na.cjs} +2 -2
- package/es2015/player-account-self-exclusion.cjs +1 -1
- package/es2015/player-account-self-exclusion.js +1 -1
- package/esnext/player-account-self-exclusion.js +1 -1
- package/package.json +1 -1
package/components/{PlayerAccountSelfExclusion-ypycNpI7.js → PlayerAccountSelfExclusion-AFSSdKA9.js}
RENAMED
|
@@ -9,16 +9,16 @@ var es = { exports: {} };
|
|
|
9
9
|
var v = ["th", "st", "nd", "rd"], m = E % 100;
|
|
10
10
|
return "[" + E + (v[(m - 20) % 10] || v[m] || v[0]) + "]";
|
|
11
11
|
} }, z = function(E, v, m) {
|
|
12
|
-
var
|
|
13
|
-
return !
|
|
12
|
+
var w = String(E);
|
|
13
|
+
return !w || w.length >= v ? E : "" + Array(v + 1 - w.length).join(m) + E;
|
|
14
14
|
}, N = { s: z, z: function(E) {
|
|
15
|
-
var v = -E.utcOffset(), m = Math.abs(v),
|
|
16
|
-
return (v <= 0 ? "+" : "-") + z(
|
|
15
|
+
var v = -E.utcOffset(), m = Math.abs(v), w = Math.floor(m / 60), _ = m % 60;
|
|
16
|
+
return (v <= 0 ? "+" : "-") + z(w, 2, "0") + ":" + z(_, 2, "0");
|
|
17
17
|
}, m: function E(v, m) {
|
|
18
18
|
if (v.date() < m.date())
|
|
19
19
|
return -E(m, v);
|
|
20
|
-
var
|
|
21
|
-
return +(-(
|
|
20
|
+
var w = 12 * (m.year() - v.year()) + (m.month() - v.month()), _ = v.clone().add(w, d), A = m - _ < 0, S = v.clone().add(w + (A ? -1 : 1), d);
|
|
21
|
+
return +(-(w + (m - _) / (A ? _ - S : S - _)) || 0);
|
|
22
22
|
}, a: function(E) {
|
|
23
23
|
return E < 0 ? Math.ceil(E) || 0 : Math.floor(E);
|
|
24
24
|
}, p: function(E) {
|
|
@@ -29,7 +29,7 @@ var es = { exports: {} };
|
|
|
29
29
|
q[$] = C;
|
|
30
30
|
var K = "$isDayjsObject", G = function(E) {
|
|
31
31
|
return E instanceof j || !(!E || !E[K]);
|
|
32
|
-
}, V = function E(v, m,
|
|
32
|
+
}, V = function E(v, m, w) {
|
|
33
33
|
var _;
|
|
34
34
|
if (!v)
|
|
35
35
|
return $;
|
|
@@ -43,7 +43,7 @@ var es = { exports: {} };
|
|
|
43
43
|
var F = v.name;
|
|
44
44
|
q[F] = v, _ = F;
|
|
45
45
|
}
|
|
46
|
-
return !
|
|
46
|
+
return !w && _ && ($ = _), _ || !w && $;
|
|
47
47
|
}, O = function(E, v) {
|
|
48
48
|
if (G(E))
|
|
49
49
|
return E.clone();
|
|
@@ -59,8 +59,8 @@ var es = { exports: {} };
|
|
|
59
59
|
}
|
|
60
60
|
var v = E.prototype;
|
|
61
61
|
return v.parse = function(m) {
|
|
62
|
-
this.$d = function(
|
|
63
|
-
var _ =
|
|
62
|
+
this.$d = function(w) {
|
|
63
|
+
var _ = w.date, A = w.utc;
|
|
64
64
|
if (_ === null)
|
|
65
65
|
return /* @__PURE__ */ new Date(NaN);
|
|
66
66
|
if (k.u(_))
|
|
@@ -83,21 +83,21 @@ var es = { exports: {} };
|
|
|
83
83
|
return k;
|
|
84
84
|
}, v.isValid = function() {
|
|
85
85
|
return this.$d.toString() !== f;
|
|
86
|
-
}, v.isSame = function(m,
|
|
86
|
+
}, v.isSame = function(m, w) {
|
|
87
87
|
var _ = O(m);
|
|
88
|
-
return this.startOf(
|
|
89
|
-
}, v.isAfter = function(m,
|
|
90
|
-
return O(m) < this.startOf(
|
|
91
|
-
}, v.isBefore = function(m,
|
|
92
|
-
return this.endOf(
|
|
93
|
-
}, v.$g = function(m,
|
|
94
|
-
return k.u(m) ? this[
|
|
88
|
+
return this.startOf(w) <= _ && _ <= this.endOf(w);
|
|
89
|
+
}, v.isAfter = function(m, w) {
|
|
90
|
+
return O(m) < this.startOf(w);
|
|
91
|
+
}, v.isBefore = function(m, w) {
|
|
92
|
+
return this.endOf(w) < O(m);
|
|
93
|
+
}, v.$g = function(m, w, _) {
|
|
94
|
+
return k.u(m) ? this[w] : this.set(_, m);
|
|
95
95
|
}, v.unix = function() {
|
|
96
96
|
return Math.floor(this.valueOf() / 1e3);
|
|
97
97
|
}, v.valueOf = function() {
|
|
98
98
|
return this.$d.getTime();
|
|
99
|
-
}, v.startOf = function(m,
|
|
100
|
-
var _ = this, A = !!k.u(
|
|
99
|
+
}, v.startOf = function(m, w) {
|
|
100
|
+
var _ = this, A = !!k.u(w) || w, S = k.p(m), F = function(Z, L) {
|
|
101
101
|
var Y = k.w(_.$u ? Date.UTC(_.$y, L, Z) : new Date(_.$y, L, Z), _);
|
|
102
102
|
return A ? Y : Y.endOf(c);
|
|
103
103
|
}, H = function(Z, L) {
|
|
@@ -125,22 +125,22 @@ var es = { exports: {} };
|
|
|
125
125
|
}
|
|
126
126
|
}, v.endOf = function(m) {
|
|
127
127
|
return this.startOf(m, !1);
|
|
128
|
-
}, v.$set = function(m,
|
|
129
|
-
var _, A = k.p(m), S = "set" + (this.$u ? "UTC" : ""), F = (_ = {}, _[c] = S + "Date", _[y] = S + "Date", _[d] = S + "Month", _[p] = S + "FullYear", _[l] = S + "Hours", _[a] = S + "Minutes", _[n] = S + "Seconds", _[r] = S + "Milliseconds", _)[A], H = A === c ? this.$D + (
|
|
128
|
+
}, v.$set = function(m, w) {
|
|
129
|
+
var _, A = k.p(m), S = "set" + (this.$u ? "UTC" : ""), F = (_ = {}, _[c] = S + "Date", _[y] = S + "Date", _[d] = S + "Month", _[p] = S + "FullYear", _[l] = S + "Hours", _[a] = S + "Minutes", _[n] = S + "Seconds", _[r] = S + "Milliseconds", _)[A], H = A === c ? this.$D + (w - this.$W) : w;
|
|
130
130
|
if (A === d || A === p) {
|
|
131
131
|
var U = this.clone().set(y, 1);
|
|
132
132
|
U.$d[F](H), U.init(), this.$d = U.set(y, Math.min(this.$D, U.daysInMonth())).$d;
|
|
133
133
|
} else
|
|
134
134
|
F && this.$d[F](H);
|
|
135
135
|
return this.init(), this;
|
|
136
|
-
}, v.set = function(m,
|
|
137
|
-
return this.clone().$set(m,
|
|
136
|
+
}, v.set = function(m, w) {
|
|
137
|
+
return this.clone().$set(m, w);
|
|
138
138
|
}, v.get = function(m) {
|
|
139
139
|
return this[k.p(m)]();
|
|
140
|
-
}, v.add = function(m,
|
|
140
|
+
}, v.add = function(m, w) {
|
|
141
141
|
var _, A = this;
|
|
142
142
|
m = Number(m);
|
|
143
|
-
var S = k.p(
|
|
143
|
+
var S = k.p(w), F = function(W) {
|
|
144
144
|
var ee = O(A);
|
|
145
145
|
return k.w(ee.date(ee.date() + Math.round(W * m)), A);
|
|
146
146
|
};
|
|
@@ -154,14 +154,14 @@ var es = { exports: {} };
|
|
|
154
154
|
return F(7);
|
|
155
155
|
var H = (_ = {}, _[a] = i, _[l] = s, _[n] = e, _)[S] || 1, U = this.$d.getTime() + m * H;
|
|
156
156
|
return k.w(U, this);
|
|
157
|
-
}, v.subtract = function(m,
|
|
158
|
-
return this.add(-1 * m,
|
|
157
|
+
}, v.subtract = function(m, w) {
|
|
158
|
+
return this.add(-1 * m, w);
|
|
159
159
|
}, v.format = function(m) {
|
|
160
|
-
var
|
|
160
|
+
var w = this, _ = this.$locale();
|
|
161
161
|
if (!this.isValid())
|
|
162
162
|
return _.invalidDate || f;
|
|
163
163
|
var A = m || "YYYY-MM-DDTHH:mm:ssZ", S = k.z(this), F = this.$H, H = this.$m, U = this.$M, W = _.weekdays, ee = _.months, de = _.meridiem, ae = function(L, Y, he, le) {
|
|
164
|
-
return L && (L[Y] || L(
|
|
164
|
+
return L && (L[Y] || L(w, A)) || he[Y].slice(0, le);
|
|
165
165
|
}, te = function(L) {
|
|
166
166
|
return k.s(F % 12 || 12, L, "0");
|
|
167
167
|
}, Z = de || function(L, Y, he) {
|
|
@@ -172,9 +172,9 @@ var es = { exports: {} };
|
|
|
172
172
|
return Y || function(he) {
|
|
173
173
|
switch (he) {
|
|
174
174
|
case "YY":
|
|
175
|
-
return String(
|
|
175
|
+
return String(w.$y).slice(-2);
|
|
176
176
|
case "YYYY":
|
|
177
|
-
return k.s(
|
|
177
|
+
return k.s(w.$y, 4, "0");
|
|
178
178
|
case "M":
|
|
179
179
|
return U + 1;
|
|
180
180
|
case "MM":
|
|
@@ -184,17 +184,17 @@ var es = { exports: {} };
|
|
|
184
184
|
case "MMMM":
|
|
185
185
|
return ae(ee, U);
|
|
186
186
|
case "D":
|
|
187
|
-
return
|
|
187
|
+
return w.$D;
|
|
188
188
|
case "DD":
|
|
189
|
-
return k.s(
|
|
189
|
+
return k.s(w.$D, 2, "0");
|
|
190
190
|
case "d":
|
|
191
|
-
return String(
|
|
191
|
+
return String(w.$W);
|
|
192
192
|
case "dd":
|
|
193
|
-
return ae(_.weekdaysMin,
|
|
193
|
+
return ae(_.weekdaysMin, w.$W, W, 2);
|
|
194
194
|
case "ddd":
|
|
195
|
-
return ae(_.weekdaysShort,
|
|
195
|
+
return ae(_.weekdaysShort, w.$W, W, 3);
|
|
196
196
|
case "dddd":
|
|
197
|
-
return W[
|
|
197
|
+
return W[w.$W];
|
|
198
198
|
case "H":
|
|
199
199
|
return String(F);
|
|
200
200
|
case "HH":
|
|
@@ -212,11 +212,11 @@ var es = { exports: {} };
|
|
|
212
212
|
case "mm":
|
|
213
213
|
return k.s(H, 2, "0");
|
|
214
214
|
case "s":
|
|
215
|
-
return String(
|
|
215
|
+
return String(w.$s);
|
|
216
216
|
case "ss":
|
|
217
|
-
return k.s(
|
|
217
|
+
return k.s(w.$s, 2, "0");
|
|
218
218
|
case "SSS":
|
|
219
|
-
return k.s(
|
|
219
|
+
return k.s(w.$ms, 3, "0");
|
|
220
220
|
case "Z":
|
|
221
221
|
return S;
|
|
222
222
|
}
|
|
@@ -225,8 +225,8 @@ var es = { exports: {} };
|
|
|
225
225
|
});
|
|
226
226
|
}, v.utcOffset = function() {
|
|
227
227
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
228
|
-
}, v.diff = function(m,
|
|
229
|
-
var A, S = this, F = k.p(
|
|
228
|
+
}, v.diff = function(m, w, _) {
|
|
229
|
+
var A, S = this, F = k.p(w), H = O(m), U = (H.utcOffset() - this.utcOffset()) * i, W = this - H, ee = function() {
|
|
230
230
|
return k.m(S, H);
|
|
231
231
|
};
|
|
232
232
|
switch (F) {
|
|
@@ -262,10 +262,10 @@ var es = { exports: {} };
|
|
|
262
262
|
return this.endOf(d).$D;
|
|
263
263
|
}, v.$locale = function() {
|
|
264
264
|
return q[this.$L];
|
|
265
|
-
}, v.locale = function(m,
|
|
265
|
+
}, v.locale = function(m, w) {
|
|
266
266
|
if (!m)
|
|
267
267
|
return this.$L;
|
|
268
|
-
var _ = this.clone(), A = V(m,
|
|
268
|
+
var _ = this.clone(), A = V(m, w, !0);
|
|
269
269
|
return A && (_.$L = A), _;
|
|
270
270
|
}, v.clone = function() {
|
|
271
271
|
return k.w(this.$d, this);
|
|
@@ -372,8 +372,8 @@ var ts = { exports: {} };
|
|
|
372
372
|
if (typeof ie == "string")
|
|
373
373
|
j += ie.length;
|
|
374
374
|
else {
|
|
375
|
-
var E = ie.regex, v = ie.parser, m = V.slice(j),
|
|
376
|
-
v.call(O,
|
|
375
|
+
var E = ie.regex, v = ie.parser, m = V.slice(j), w = E.exec(m)[0];
|
|
376
|
+
v.call(O, w), V = V.replace(w, "");
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
379
|
return function(_) {
|
|
@@ -394,11 +394,11 @@ var ts = { exports: {} };
|
|
|
394
394
|
var G = K[1];
|
|
395
395
|
if (typeof G == "string") {
|
|
396
396
|
var V = K[2] === !0, O = K[3] === !0, k = V || O, j = K[2];
|
|
397
|
-
O && (j = K[2]), a = this.$locale(), !V && j && (a = D.Ls[j]), this.$d = function(m,
|
|
397
|
+
O && (j = K[2]), a = this.$locale(), !V && j && (a = D.Ls[j]), this.$d = function(m, w, _) {
|
|
398
398
|
try {
|
|
399
|
-
if (["x", "X"].indexOf(
|
|
400
|
-
return new Date((
|
|
401
|
-
var A = y(
|
|
399
|
+
if (["x", "X"].indexOf(w) > -1)
|
|
400
|
+
return new Date((w === "X" ? 1e3 : 1) * m);
|
|
401
|
+
var A = y(w)(m), S = A.year, F = A.month, H = A.day, U = A.hours, W = A.minutes, ee = A.seconds, de = A.milliseconds, ae = A.zone, te = /* @__PURE__ */ new Date(), Z = H || (S || F ? 1 : te.getDate()), L = S || te.getFullYear(), Y = 0;
|
|
402
402
|
S && !F || (Y = F > 0 ? F - 1 : te.getMonth());
|
|
403
403
|
var he = U || 0, le = W || 0, ce = ee || 0, ge = de || 0;
|
|
404
404
|
return ae ? new Date(Date.UTC(L, Y, Z, he, le, ce, ge + 60 * ae.offset * 1e3)) : _ ? new Date(Date.UTC(L, Y, Z, he, le, ce, ge)) : new Date(L, Y, Z, he, le, ce, ge);
|
|
@@ -16212,100 +16212,100 @@ function Go(o, t, e) {
|
|
|
16212
16212
|
function Mu(o) {
|
|
16213
16213
|
let t, e, i, s, r = (
|
|
16214
16214
|
/*$_*/
|
|
16215
|
-
o[
|
|
16215
|
+
o[22]("titleSelfExclusion") + ""
|
|
16216
16216
|
), n, a, l, c, u = (
|
|
16217
16217
|
/*$_*/
|
|
16218
|
-
o[
|
|
16218
|
+
o[22]("selfExclusionText", {
|
|
16219
16219
|
values: {
|
|
16220
16220
|
operatorname: (
|
|
16221
16221
|
/*operator*/
|
|
16222
|
-
o[
|
|
16222
|
+
o[3]
|
|
16223
16223
|
),
|
|
16224
16224
|
baseurl: (
|
|
16225
16225
|
/*baseurl*/
|
|
16226
|
-
o[
|
|
16226
|
+
o[5]
|
|
16227
16227
|
),
|
|
16228
16228
|
lang: (
|
|
16229
16229
|
/*lang*/
|
|
16230
|
-
o[
|
|
16230
|
+
o[2]
|
|
16231
16231
|
)
|
|
16232
16232
|
}
|
|
16233
16233
|
}) + ""
|
|
16234
16234
|
), d, h, p = (
|
|
16235
16235
|
/*$_*/
|
|
16236
|
-
o[
|
|
16236
|
+
o[22]("selfExclusionEmailText") + ""
|
|
16237
16237
|
), y, f, b, D, C, z, N, $, q, K = (
|
|
16238
16238
|
/*$_*/
|
|
16239
|
-
o[
|
|
16240
|
-
o[
|
|
16241
|
-
), G, V, O, k, j, ie, E, v, m,
|
|
16239
|
+
o[22](`${/*selectedPeriodKey*/
|
|
16240
|
+
o[15]}`) + ""
|
|
16241
|
+
), G, V, O, k, j, ie, E, v, m, w, _, A, S, F = (
|
|
16242
16242
|
/*$_*/
|
|
16243
|
-
o[
|
|
16243
|
+
o[22]("save") + ""
|
|
16244
16244
|
), H, U, W, ee, de, ae, te = (
|
|
16245
16245
|
/*isMobile*/
|
|
16246
|
-
o[
|
|
16246
|
+
o[24] && Iu(o)
|
|
16247
16247
|
), Z = ro(
|
|
16248
16248
|
/*selfExclusionPeriods*/
|
|
16249
|
-
o[
|
|
16249
|
+
o[11]
|
|
16250
16250
|
), L = [];
|
|
16251
16251
|
for (let P = 0; P < Z.length; P += 1)
|
|
16252
16252
|
L[P] = Jo(Go(o, Z, P));
|
|
16253
16253
|
let Y = (
|
|
16254
16254
|
/*isUntilDate*/
|
|
16255
|
-
o[
|
|
16255
|
+
o[18] && Xo(o)
|
|
16256
16256
|
);
|
|
16257
16257
|
function he(P, J) {
|
|
16258
16258
|
return (
|
|
16259
16259
|
/*isPermanentSelfExclusion*/
|
|
16260
|
-
P[
|
|
16260
|
+
P[17] ? zu : (
|
|
16261
16261
|
/*isDateSelected*/
|
|
16262
|
-
P[
|
|
16262
|
+
P[19] ? Fu : Nu
|
|
16263
16263
|
)
|
|
16264
16264
|
);
|
|
16265
16265
|
}
|
|
16266
16266
|
let le = he(o), ce = le(o), ge = (
|
|
16267
16267
|
/*showConfirmationModal*/
|
|
16268
|
-
o[
|
|
16268
|
+
o[25] && Lu(o)
|
|
16269
16269
|
);
|
|
16270
16270
|
return {
|
|
16271
16271
|
c() {
|
|
16272
16272
|
t = T("div"), e = T("form"), te && te.c(), i = X(), s = T("h2"), n = _e(r), a = X(), l = T("div"), c = T("p"), d = X(), h = T("p"), y = _e(p), f = X(), b = T("a"), D = _e(
|
|
16273
16273
|
/*supportemail*/
|
|
16274
|
-
o[
|
|
16274
|
+
o[4]
|
|
16275
16275
|
), z = X(), N = T("div"), $ = T("div"), q = T("p"), G = _e(K), V = X(), O = ke("svg"), k = ke("g"), j = ke("path"), ie = X(), E = T("div");
|
|
16276
16276
|
for (let P = 0; P < L.length; P += 1)
|
|
16277
16277
|
L[P].c();
|
|
16278
|
-
v = X(), Y && Y.c(), m = X(),
|
|
16279
|
-
(o[
|
|
16280
|
-
o[
|
|
16281
|
-
(o[
|
|
16278
|
+
v = X(), Y && Y.c(), m = X(), w = T("div"), ce.c(), _ = X(), A = T("div"), S = T("button"), H = _e(F), ee = X(), ge && ge.c(), M(s, "class", "PlayerSelfExclusionTitle " + /*isMobile*/
|
|
16279
|
+
(o[24] ? "PlayerSelfExclusionTitleNone" : "")), M(c, "class", "SelfExclusionDescriptionText"), M(b, "href", C = "mailto:" + /*supportemail*/
|
|
16280
|
+
o[4]), M(h, "class", "SelfExclusionDescriptionText"), M(l, "class", "SelfExclusionDescription " + /*isMobile*/
|
|
16281
|
+
(o[24] ? "SelfExclusionDescriptionMobile" : "")), M(j, "d", "M 90 24.25 c 0 -0.896 -0.342 -1.792 -1.025 -2.475 c -1.366 -1.367 -3.583 -1.367 -4.949 0 L 45 60.8 L 5.975 21.775 c -1.367 -1.367 -3.583 -1.367 -4.95 0 c -1.366 1.367 -1.366 3.583 0 4.95 l 41.5 41.5 c 1.366 1.367 3.583 1.367 4.949 0 l 41.5 -41.5 C 89.658 26.042 90 25.146 90 24.25 z"), M(j, "stroke-linecap", "round"), M(O, "xmlns", "http://www.w3.org/2000/svg"), M(O, "xmlns:xlink", "http://www.w3.org/1999/xlink"), M(O, "version", "1.1"), M(O, "viewBox", "0 0 100 100"), M(O, "xml:space", "preserve"), M(O, "class", "SelfExclusionConfigIcon"), Ue(
|
|
16282
16282
|
O,
|
|
16283
16283
|
"active",
|
|
16284
16284
|
/*isPeriodDropDownToggled*/
|
|
16285
|
-
o[
|
|
16285
|
+
o[20]
|
|
16286
16286
|
), M($, "class", "SelfExclusionConfigLabel"), M(E, "class", "SelfExclusionDropDown"), Ue(
|
|
16287
16287
|
E,
|
|
16288
16288
|
"active",
|
|
16289
16289
|
/*isPeriodDropDownToggled*/
|
|
16290
|
-
o[
|
|
16290
|
+
o[20]
|
|
16291
16291
|
), M(N, "class", "SelfExclusionConfigWrapper " + /*isMobile*/
|
|
16292
|
-
(o[
|
|
16292
|
+
(o[24] ? "SelfExclusionConfigWrapperMobile" : "")), Ue(
|
|
16293
16293
|
N,
|
|
16294
16294
|
"active",
|
|
16295
16295
|
/*isPeriodDropDownToggled*/
|
|
16296
|
-
o[
|
|
16297
|
-
), M(
|
|
16298
|
-
(o[
|
|
16299
|
-
(o[
|
|
16300
|
-
o[
|
|
16301
|
-
(o[
|
|
16302
|
-
(o[
|
|
16296
|
+
o[20]
|
|
16297
|
+
), M(w, "class", "SelfExclusionDescription " + /*isMobile*/
|
|
16298
|
+
(o[24] ? "SelfExclusionDescriptionMobile" : "")), M(S, "class", U = "SelfExclusionSave " + /*isDateSelected*/
|
|
16299
|
+
(o[19] ? "active" : "")), S.disabled = W = !/*isDateSelected*/
|
|
16300
|
+
o[19], M(A, "class", "SelfExclusionActionButtons " + /*isMobile*/
|
|
16301
|
+
(o[24] ? "SelfExclusionActionButtonsMobile" : "")), M(e, "class", "SelfExclusionWrapper " + /*isMobile*/
|
|
16302
|
+
(o[24] ? "SelfExclusionWrapperMobile" : "")), M(t, "class", "SelfExclusionContainer");
|
|
16303
16303
|
},
|
|
16304
16304
|
m(P, J) {
|
|
16305
16305
|
be(P, t, J), g(t, e), te && te.m(e, null), g(e, i), g(e, s), g(s, n), g(e, a), g(e, l), g(l, c), c.innerHTML = u, g(l, d), g(l, h), g(h, y), g(h, f), g(h, b), g(b, D), g(e, z), g(e, N), g(N, $), g($, q), g(q, G), g($, V), g($, O), g(O, k), g(k, j), g(N, ie), g(N, E);
|
|
16306
16306
|
for (let oe = 0; oe < L.length; oe += 1)
|
|
16307
16307
|
L[oe] && L[oe].m(E, null);
|
|
16308
|
-
g(e, v), Y && Y.m(e, null), g(e, m), g(e,
|
|
16308
|
+
g(e, v), Y && Y.m(e, null), g(e, m), g(e, w), ce.m(w, null), g(e, _), g(e, A), g(A, S), g(S, H), g(t, ee), ge && ge.m(t, null), de || (ae = [
|
|
16309
16309
|
Tt(
|
|
16310
16310
|
$,
|
|
16311
16311
|
"click",
|
|
@@ -16323,49 +16323,49 @@ function Mu(o) {
|
|
|
16323
16323
|
p(P, J) {
|
|
16324
16324
|
if (
|
|
16325
16325
|
/*isMobile*/
|
|
16326
|
-
P[
|
|
16327
|
-
|
|
16328
|
-
P[
|
|
16329
|
-
|
|
16330
|
-
P[
|
|
16326
|
+
P[24] && te.p(P, J), J[0] & /*$_*/
|
|
16327
|
+
4194304 && r !== (r = /*$_*/
|
|
16328
|
+
P[22]("titleSelfExclusion") + "") && ye(n, r), J[0] & /*$_, operator, baseurl, lang*/
|
|
16329
|
+
4194348 && u !== (u = /*$_*/
|
|
16330
|
+
P[22]("selfExclusionText", {
|
|
16331
16331
|
values: {
|
|
16332
16332
|
operatorname: (
|
|
16333
16333
|
/*operator*/
|
|
16334
|
-
P[
|
|
16334
|
+
P[3]
|
|
16335
16335
|
),
|
|
16336
16336
|
baseurl: (
|
|
16337
16337
|
/*baseurl*/
|
|
16338
|
-
P[
|
|
16338
|
+
P[5]
|
|
16339
16339
|
),
|
|
16340
16340
|
lang: (
|
|
16341
16341
|
/*lang*/
|
|
16342
|
-
P[
|
|
16342
|
+
P[2]
|
|
16343
16343
|
)
|
|
16344
16344
|
}
|
|
16345
16345
|
}) + "") && (c.innerHTML = u), J[0] & /*$_*/
|
|
16346
|
-
|
|
16347
|
-
P[
|
|
16348
|
-
|
|
16346
|
+
4194304 && p !== (p = /*$_*/
|
|
16347
|
+
P[22]("selfExclusionEmailText") + "") && ye(y, p), J[0] & /*supportemail*/
|
|
16348
|
+
16 && ye(
|
|
16349
16349
|
D,
|
|
16350
16350
|
/*supportemail*/
|
|
16351
|
-
P[
|
|
16351
|
+
P[4]
|
|
16352
16352
|
), J[0] & /*supportemail*/
|
|
16353
|
-
|
|
16354
|
-
P[
|
|
16355
|
-
|
|
16356
|
-
P[
|
|
16357
|
-
P[
|
|
16358
|
-
|
|
16353
|
+
16 && C !== (C = "mailto:" + /*supportemail*/
|
|
16354
|
+
P[4]) && M(b, "href", C), J[0] & /*$_, selectedPeriodKey*/
|
|
16355
|
+
4227072 && K !== (K = /*$_*/
|
|
16356
|
+
P[22](`${/*selectedPeriodKey*/
|
|
16357
|
+
P[15]}`) + "") && ye(G, K), J[0] & /*isPeriodDropDownToggled*/
|
|
16358
|
+
1048576 && Ue(
|
|
16359
16359
|
O,
|
|
16360
16360
|
"active",
|
|
16361
16361
|
/*isPeriodDropDownToggled*/
|
|
16362
|
-
P[
|
|
16362
|
+
P[20]
|
|
16363
16363
|
), J[0] & /*selectPeriod, selfExclusionPeriods, $_*/
|
|
16364
|
-
|
|
16364
|
+
138414080
|
|
16365
16365
|
) {
|
|
16366
16366
|
Z = ro(
|
|
16367
16367
|
/*selfExclusionPeriods*/
|
|
16368
|
-
P[
|
|
16368
|
+
P[11]
|
|
16369
16369
|
);
|
|
16370
16370
|
let oe;
|
|
16371
16371
|
for (oe = 0; oe < Z.length; oe += 1) {
|
|
@@ -16377,26 +16377,26 @@ function Mu(o) {
|
|
|
16377
16377
|
L.length = Z.length;
|
|
16378
16378
|
}
|
|
16379
16379
|
J[0] & /*isPeriodDropDownToggled*/
|
|
16380
|
-
|
|
16380
|
+
1048576 && Ue(
|
|
16381
16381
|
E,
|
|
16382
16382
|
"active",
|
|
16383
16383
|
/*isPeriodDropDownToggled*/
|
|
16384
|
-
P[
|
|
16384
|
+
P[20]
|
|
16385
16385
|
), J[0] & /*isPeriodDropDownToggled*/
|
|
16386
|
-
|
|
16386
|
+
1048576 && Ue(
|
|
16387
16387
|
N,
|
|
16388
16388
|
"active",
|
|
16389
16389
|
/*isPeriodDropDownToggled*/
|
|
16390
|
-
P[
|
|
16390
|
+
P[20]
|
|
16391
16391
|
), /*isUntilDate*/
|
|
16392
|
-
P[
|
|
16393
|
-
|
|
16394
|
-
P[
|
|
16395
|
-
|
|
16396
|
-
(P[
|
|
16397
|
-
|
|
16398
|
-
P[
|
|
16399
|
-
P[
|
|
16392
|
+
P[18] ? Y ? Y.p(P, J) : (Y = Xo(P), Y.c(), Y.m(e, m)) : Y && (Y.d(1), Y = null), le === (le = he(P)) && ce ? ce.p(P, J) : (ce.d(1), ce = le(P), ce && (ce.c(), ce.m(w, null))), J[0] & /*$_*/
|
|
16393
|
+
4194304 && F !== (F = /*$_*/
|
|
16394
|
+
P[22]("save") + "") && ye(H, F), J[0] & /*isDateSelected*/
|
|
16395
|
+
524288 && U !== (U = "SelfExclusionSave " + /*isDateSelected*/
|
|
16396
|
+
(P[19] ? "active" : "")) && M(S, "class", U), J[0] & /*isDateSelected*/
|
|
16397
|
+
524288 && W !== (W = !/*isDateSelected*/
|
|
16398
|
+
P[19]) && (S.disabled = W), /*showConfirmationModal*/
|
|
16399
|
+
P[25] && ge.p(P, J);
|
|
16400
16400
|
},
|
|
16401
16401
|
d(P) {
|
|
16402
16402
|
P && xe(t), te && te.d(), Hr(L, P), Y && Y.d(), ce.d(), ge && ge.d(), de = !1, Br(ae);
|
|
@@ -16408,7 +16408,7 @@ function Ou(o) {
|
|
|
16408
16408
|
function q(V, O) {
|
|
16409
16409
|
return (
|
|
16410
16410
|
/*isMobile*/
|
|
16411
|
-
V[
|
|
16411
|
+
V[24] ? Ru : $u
|
|
16412
16412
|
);
|
|
16413
16413
|
}
|
|
16414
16414
|
let G = q(o)(o);
|
|
@@ -16418,45 +16418,45 @@ function Ou(o) {
|
|
|
16418
16418
|
r,
|
|
16419
16419
|
"height",
|
|
16420
16420
|
/*isMobile*/
|
|
16421
|
-
o[
|
|
16421
|
+
o[24] ? "15px" : "20px"
|
|
16422
16422
|
), I(r, "rows", "6"), I(r, "width", "100%"), Wt(
|
|
16423
16423
|
a,
|
|
16424
16424
|
"height",
|
|
16425
16425
|
/*isMobile*/
|
|
16426
|
-
o[
|
|
16426
|
+
o[24] ? "10px" : "20px"
|
|
16427
16427
|
), I(c, "structure", "text"), I(
|
|
16428
16428
|
c,
|
|
16429
16429
|
"height",
|
|
16430
16430
|
/*isMobile*/
|
|
16431
|
-
o[
|
|
16431
|
+
o[24] ? "15px" : "20px"
|
|
16432
16432
|
), I(c, "width", "30%"), Wt(d, "height", "10px"), M(s, "class", "SelfExclusionDescription"), I(y, "structure", "rectangle"), I(
|
|
16433
16433
|
y,
|
|
16434
16434
|
"width",
|
|
16435
16435
|
/*isMobile*/
|
|
16436
|
-
o[
|
|
16436
|
+
o[24] ? "100%" : "50%"
|
|
16437
16437
|
), I(
|
|
16438
16438
|
y,
|
|
16439
16439
|
"height",
|
|
16440
16440
|
/*isMobile*/
|
|
16441
|
-
o[
|
|
16441
|
+
o[24] ? "30px" : "44px"
|
|
16442
16442
|
), Wt(
|
|
16443
16443
|
b,
|
|
16444
16444
|
"height",
|
|
16445
16445
|
/*isMobile*/
|
|
16446
|
-
o[
|
|
16446
|
+
o[24] ? "15px" : "20px"
|
|
16447
16447
|
), I(C, "structure", "text"), I(
|
|
16448
16448
|
C,
|
|
16449
16449
|
"height",
|
|
16450
16450
|
/*isMobile*/
|
|
16451
|
-
o[
|
|
16451
|
+
o[24] ? "15px" : "20px"
|
|
16452
16452
|
), I(C, "width", "30%"), M(p, "class", "SelfExclusionConfig"), I($, "structure", "rectangle"), I($, "width", "100%"), I(
|
|
16453
16453
|
$,
|
|
16454
16454
|
"height",
|
|
16455
16455
|
/*isMobile*/
|
|
16456
|
-
o[
|
|
16456
|
+
o[24] ? "35px" : "50px"
|
|
16457
16457
|
), M(N, "class", "SelfExclusionActionButtons " + /*isMobile*/
|
|
16458
|
-
(o[
|
|
16459
|
-
(o[
|
|
16458
|
+
(o[24] ? "SelfExclusionActionButtonsMobile" : "")), M(e, "class", "SelfExclusionWrapper " + /*isMobile*/
|
|
16459
|
+
(o[24] ? "SelfExclusionWrapperMobile" : "")), M(t, "class", "SelfExclusionContainer");
|
|
16460
16460
|
},
|
|
16461
16461
|
m(V, O) {
|
|
16462
16462
|
be(V, t, O), g(t, e), G.m(e, null), g(e, i), g(e, s), g(s, r), g(s, n), g(s, a), g(s, l), g(s, c), g(s, u), g(s, d), g(e, h), g(e, p), g(p, y), g(p, f), g(p, b), g(p, D), g(p, C), g(e, z), g(e, N), g(N, $);
|
|
@@ -16470,7 +16470,7 @@ function Ou(o) {
|
|
|
16470
16470
|
function Iu(o) {
|
|
16471
16471
|
let t, e, i, s, r, n, a, l, c, u, d = (
|
|
16472
16472
|
/*$_*/
|
|
16473
|
-
o[
|
|
16473
|
+
o[22]("titleSelfExclusion") + ""
|
|
16474
16474
|
), h, p, y;
|
|
16475
16475
|
return {
|
|
16476
16476
|
c() {
|
|
@@ -16486,8 +16486,8 @@ function Iu(o) {
|
|
|
16486
16486
|
},
|
|
16487
16487
|
p(f, b) {
|
|
16488
16488
|
b[0] & /*$_*/
|
|
16489
|
-
|
|
16490
|
-
f[
|
|
16489
|
+
4194304 && d !== (d = /*$_*/
|
|
16490
|
+
f[22]("titleSelfExclusion") + "") && ye(h, d);
|
|
16491
16491
|
},
|
|
16492
16492
|
d(f) {
|
|
16493
16493
|
f && xe(t), p = !1, y();
|
|
@@ -16497,7 +16497,7 @@ function Iu(o) {
|
|
|
16497
16497
|
function Jo(o) {
|
|
16498
16498
|
let t, e = (
|
|
16499
16499
|
/*$_*/
|
|
16500
|
-
o[
|
|
16500
|
+
o[22](`${/*period*/
|
|
16501
16501
|
o[56].key}`) + ""
|
|
16502
16502
|
), i, s, r;
|
|
16503
16503
|
function n() {
|
|
@@ -16518,8 +16518,8 @@ function Jo(o) {
|
|
|
16518
16518
|
},
|
|
16519
16519
|
p(a, l) {
|
|
16520
16520
|
o = a, l[0] & /*$_, selfExclusionPeriods*/
|
|
16521
|
-
|
|
16522
|
-
o[
|
|
16521
|
+
4196352 && e !== (e = /*$_*/
|
|
16522
|
+
o[22](`${/*period*/
|
|
16523
16523
|
o[56].key}`) + "") && ye(i, e);
|
|
16524
16524
|
},
|
|
16525
16525
|
d(a) {
|
|
@@ -16530,60 +16530,60 @@ function Jo(o) {
|
|
|
16530
16530
|
function Xo(o) {
|
|
16531
16531
|
let t, e, i = (
|
|
16532
16532
|
/*$_*/
|
|
16533
|
-
o[
|
|
16533
|
+
o[22]("duration") + ""
|
|
16534
16534
|
), s, r, n, a = (
|
|
16535
16535
|
/*$_*/
|
|
16536
|
-
o[
|
|
16536
|
+
o[22]("dateInstructions") + ""
|
|
16537
16537
|
), l, c, u, d, h, p, y;
|
|
16538
16538
|
return {
|
|
16539
16539
|
c() {
|
|
16540
16540
|
t = T("div"), e = T("label"), s = _e(i), r = X(), n = T("span"), l = _e(a), c = X(), u = T("strong"), d = _e(
|
|
16541
16541
|
/*validDateformat*/
|
|
16542
|
-
o[
|
|
16542
|
+
o[23]
|
|
16543
16543
|
), h = T("strong"), p = X(), y = T("vaadin-date-picker"), M(e, "for", "SelfExclusionDate"), M(n, "class", "SelfExclusionDateInstructions"), I(
|
|
16544
16544
|
y,
|
|
16545
16545
|
"min",
|
|
16546
16546
|
/*minDate*/
|
|
16547
|
-
o[
|
|
16547
|
+
o[12]
|
|
16548
16548
|
), I(
|
|
16549
16549
|
y,
|
|
16550
16550
|
"max",
|
|
16551
16551
|
/*maxDate*/
|
|
16552
|
-
o[
|
|
16552
|
+
o[13]
|
|
16553
16553
|
), I(
|
|
16554
16554
|
y,
|
|
16555
16555
|
"value",
|
|
16556
16556
|
/*selfExclusionExpiryDate*/
|
|
16557
|
-
o[
|
|
16557
|
+
o[14]
|
|
16558
16558
|
), M(t, "class", "SelfExclusionDateWrapper " + /*isMobile*/
|
|
16559
|
-
(o[
|
|
16559
|
+
(o[24] ? "SelfExclusionDateWrapperMobile" : ""));
|
|
16560
16560
|
},
|
|
16561
16561
|
m(f, b) {
|
|
16562
16562
|
be(f, t, b), g(t, e), g(e, s), g(t, r), g(t, n), g(n, l), g(n, c), g(n, u), g(u, d), g(u, h), g(t, p), g(t, y), o[39](y);
|
|
16563
16563
|
},
|
|
16564
16564
|
p(f, b) {
|
|
16565
16565
|
b[0] & /*$_*/
|
|
16566
|
-
|
|
16567
|
-
f[
|
|
16568
|
-
|
|
16569
|
-
f[
|
|
16570
|
-
|
|
16566
|
+
4194304 && i !== (i = /*$_*/
|
|
16567
|
+
f[22]("duration") + "") && ye(s, i), b[0] & /*$_*/
|
|
16568
|
+
4194304 && a !== (a = /*$_*/
|
|
16569
|
+
f[22]("dateInstructions") + "") && ye(l, a), b[0] & /*minDate*/
|
|
16570
|
+
4096 && I(
|
|
16571
16571
|
y,
|
|
16572
16572
|
"min",
|
|
16573
16573
|
/*minDate*/
|
|
16574
|
-
f[
|
|
16574
|
+
f[12]
|
|
16575
16575
|
), b[0] & /*maxDate*/
|
|
16576
|
-
|
|
16576
|
+
8192 && I(
|
|
16577
16577
|
y,
|
|
16578
16578
|
"max",
|
|
16579
16579
|
/*maxDate*/
|
|
16580
|
-
f[
|
|
16580
|
+
f[13]
|
|
16581
16581
|
), b[0] & /*selfExclusionExpiryDate*/
|
|
16582
|
-
|
|
16582
|
+
16384 && I(
|
|
16583
16583
|
y,
|
|
16584
16584
|
"value",
|
|
16585
16585
|
/*selfExclusionExpiryDate*/
|
|
16586
|
-
f[
|
|
16586
|
+
f[14]
|
|
16587
16587
|
);
|
|
16588
16588
|
},
|
|
16589
16589
|
d(f) {
|
|
@@ -16594,14 +16594,14 @@ function Xo(o) {
|
|
|
16594
16594
|
function Fu(o) {
|
|
16595
16595
|
let t, e, i = (
|
|
16596
16596
|
/*$_*/
|
|
16597
|
-
o[
|
|
16597
|
+
o[22]("temporarySelfExclusion", {
|
|
16598
16598
|
values: {
|
|
16599
16599
|
date: Ce(
|
|
16600
16600
|
/*selfExclusionExpiryDate*/
|
|
16601
|
-
o[
|
|
16601
|
+
o[14]
|
|
16602
16602
|
).format(
|
|
16603
16603
|
/*validDateformat*/
|
|
16604
|
-
o[
|
|
16604
|
+
o[23]
|
|
16605
16605
|
)
|
|
16606
16606
|
}
|
|
16607
16607
|
}) + ""
|
|
@@ -16615,15 +16615,15 @@ function Fu(o) {
|
|
|
16615
16615
|
},
|
|
16616
16616
|
p(r, n) {
|
|
16617
16617
|
n[0] & /*$_, selfExclusionExpiryDate*/
|
|
16618
|
-
|
|
16619
|
-
r[
|
|
16618
|
+
4210688 && i !== (i = /*$_*/
|
|
16619
|
+
r[22]("temporarySelfExclusion", {
|
|
16620
16620
|
values: {
|
|
16621
16621
|
date: Ce(
|
|
16622
16622
|
/*selfExclusionExpiryDate*/
|
|
16623
|
-
r[
|
|
16623
|
+
r[14]
|
|
16624
16624
|
).format(
|
|
16625
16625
|
/*validDateformat*/
|
|
16626
|
-
r[
|
|
16626
|
+
r[23]
|
|
16627
16627
|
)
|
|
16628
16628
|
}
|
|
16629
16629
|
}) + "") && ye(s, i);
|
|
@@ -16636,7 +16636,7 @@ function Fu(o) {
|
|
|
16636
16636
|
function Nu(o) {
|
|
16637
16637
|
let t, e, i = (
|
|
16638
16638
|
/*$_*/
|
|
16639
|
-
o[
|
|
16639
|
+
o[22]("noPeriodSelected") + ""
|
|
16640
16640
|
), s;
|
|
16641
16641
|
return {
|
|
16642
16642
|
c() {
|
|
@@ -16647,8 +16647,8 @@ function Nu(o) {
|
|
|
16647
16647
|
},
|
|
16648
16648
|
p(r, n) {
|
|
16649
16649
|
n[0] & /*$_*/
|
|
16650
|
-
|
|
16651
|
-
r[
|
|
16650
|
+
4194304 && i !== (i = /*$_*/
|
|
16651
|
+
r[22]("noPeriodSelected") + "") && ye(s, i);
|
|
16652
16652
|
},
|
|
16653
16653
|
d(r) {
|
|
16654
16654
|
r && xe(t);
|
|
@@ -16658,7 +16658,7 @@ function Nu(o) {
|
|
|
16658
16658
|
function zu(o) {
|
|
16659
16659
|
let t, e, i = (
|
|
16660
16660
|
/*$_*/
|
|
16661
|
-
o[
|
|
16661
|
+
o[22]("permanentSelfExclusion") + ""
|
|
16662
16662
|
), s;
|
|
16663
16663
|
return {
|
|
16664
16664
|
c() {
|
|
@@ -16669,8 +16669,8 @@ function zu(o) {
|
|
|
16669
16669
|
},
|
|
16670
16670
|
p(r, n) {
|
|
16671
16671
|
n[0] & /*$_*/
|
|
16672
|
-
|
|
16673
|
-
r[
|
|
16672
|
+
4194304 && i !== (i = /*$_*/
|
|
16673
|
+
r[22]("permanentSelfExclusion") + "") && ye(s, i);
|
|
16674
16674
|
},
|
|
16675
16675
|
d(r) {
|
|
16676
16676
|
r && xe(t);
|
|
@@ -16682,46 +16682,50 @@ function Lu(o) {
|
|
|
16682
16682
|
return {
|
|
16683
16683
|
c() {
|
|
16684
16684
|
t = T("player-account-modal"), e = T("player-account-general-confirmation-modal"), I(e, "modaltitle", i = /*$_*/
|
|
16685
|
-
o[
|
|
16685
|
+
o[22]("confirmationModalTitle")), I(
|
|
16686
16686
|
e,
|
|
16687
16687
|
"modaltext",
|
|
16688
16688
|
/*confirmationModalText*/
|
|
16689
|
-
o[
|
|
16689
|
+
o[16]
|
|
16690
16690
|
), I(e, "hascancelbutton", !1), I(e, "modalconfirmevent", s = {
|
|
16691
16691
|
type: "setSelfExclusion",
|
|
16692
16692
|
userid: (
|
|
16693
16693
|
/*userid*/
|
|
16694
|
-
o[
|
|
16694
|
+
o[1]
|
|
16695
16695
|
),
|
|
16696
16696
|
selectedPeriodKey: (
|
|
16697
16697
|
/*selectedPeriodKey*/
|
|
16698
|
-
o[
|
|
16698
|
+
o[15]
|
|
16699
|
+
),
|
|
16700
|
+
session: (
|
|
16701
|
+
/*session*/
|
|
16702
|
+
o[0]
|
|
16699
16703
|
)
|
|
16700
16704
|
}), I(
|
|
16701
16705
|
e,
|
|
16702
16706
|
"mbsource",
|
|
16703
16707
|
/*mbsource*/
|
|
16704
|
-
o[
|
|
16708
|
+
o[8]
|
|
16705
16709
|
), I(
|
|
16706
16710
|
e,
|
|
16707
16711
|
"lang",
|
|
16708
16712
|
/*lang*/
|
|
16709
|
-
o[
|
|
16713
|
+
o[2]
|
|
16710
16714
|
), I(
|
|
16711
16715
|
t,
|
|
16712
16716
|
"clientstyling",
|
|
16713
16717
|
/*clientstyling*/
|
|
16714
|
-
o[
|
|
16718
|
+
o[6]
|
|
16715
16719
|
), I(
|
|
16716
16720
|
t,
|
|
16717
16721
|
"clientstylingurl",
|
|
16718
16722
|
/*clientstylingurl*/
|
|
16719
|
-
o[
|
|
16723
|
+
o[7]
|
|
16720
16724
|
), I(
|
|
16721
16725
|
t,
|
|
16722
16726
|
"mbsource",
|
|
16723
16727
|
/*mbsource*/
|
|
16724
|
-
o[
|
|
16728
|
+
o[8]
|
|
16725
16729
|
), I(t, "showmodaleventname", "ShowSelfExclusionConfirmationModal");
|
|
16726
16730
|
},
|
|
16727
16731
|
m(r, n) {
|
|
@@ -16729,54 +16733,58 @@ function Lu(o) {
|
|
|
16729
16733
|
},
|
|
16730
16734
|
p(r, n) {
|
|
16731
16735
|
n[0] & /*$_*/
|
|
16732
|
-
|
|
16733
|
-
r[
|
|
16734
|
-
|
|
16736
|
+
4194304 && i !== (i = /*$_*/
|
|
16737
|
+
r[22]("confirmationModalTitle")) && I(e, "modaltitle", i), n[0] & /*confirmationModalText*/
|
|
16738
|
+
65536 && I(
|
|
16735
16739
|
e,
|
|
16736
16740
|
"modaltext",
|
|
16737
16741
|
/*confirmationModalText*/
|
|
16738
|
-
r[
|
|
16739
|
-
), n[0] & /*userid, selectedPeriodKey*/
|
|
16740
|
-
|
|
16742
|
+
r[16]
|
|
16743
|
+
), n[0] & /*userid, selectedPeriodKey, session*/
|
|
16744
|
+
32771 && s !== (s = {
|
|
16741
16745
|
type: "setSelfExclusion",
|
|
16742
16746
|
userid: (
|
|
16743
16747
|
/*userid*/
|
|
16744
|
-
r[
|
|
16748
|
+
r[1]
|
|
16745
16749
|
),
|
|
16746
16750
|
selectedPeriodKey: (
|
|
16747
16751
|
/*selectedPeriodKey*/
|
|
16748
|
-
r[
|
|
16752
|
+
r[15]
|
|
16753
|
+
),
|
|
16754
|
+
session: (
|
|
16755
|
+
/*session*/
|
|
16756
|
+
r[0]
|
|
16749
16757
|
)
|
|
16750
16758
|
}) && I(e, "modalconfirmevent", s), n[0] & /*mbsource*/
|
|
16751
|
-
|
|
16759
|
+
256 && I(
|
|
16752
16760
|
e,
|
|
16753
16761
|
"mbsource",
|
|
16754
16762
|
/*mbsource*/
|
|
16755
|
-
r[
|
|
16763
|
+
r[8]
|
|
16756
16764
|
), n[0] & /*lang*/
|
|
16757
|
-
|
|
16765
|
+
4 && I(
|
|
16758
16766
|
e,
|
|
16759
16767
|
"lang",
|
|
16760
16768
|
/*lang*/
|
|
16761
|
-
r[
|
|
16769
|
+
r[2]
|
|
16762
16770
|
), n[0] & /*clientstyling*/
|
|
16763
|
-
|
|
16771
|
+
64 && I(
|
|
16764
16772
|
t,
|
|
16765
16773
|
"clientstyling",
|
|
16766
16774
|
/*clientstyling*/
|
|
16767
|
-
r[
|
|
16775
|
+
r[6]
|
|
16768
16776
|
), n[0] & /*clientstylingurl*/
|
|
16769
|
-
|
|
16777
|
+
128 && I(
|
|
16770
16778
|
t,
|
|
16771
16779
|
"clientstylingurl",
|
|
16772
16780
|
/*clientstylingurl*/
|
|
16773
|
-
r[
|
|
16781
|
+
r[7]
|
|
16774
16782
|
), n[0] & /*mbsource*/
|
|
16775
|
-
|
|
16783
|
+
256 && I(
|
|
16776
16784
|
t,
|
|
16777
16785
|
"mbsource",
|
|
16778
16786
|
/*mbsource*/
|
|
16779
|
-
r[
|
|
16787
|
+
r[8]
|
|
16780
16788
|
);
|
|
16781
16789
|
},
|
|
16782
16790
|
d(r) {
|
|
@@ -16817,7 +16825,7 @@ function Hu(o) {
|
|
|
16817
16825
|
function e(r, n) {
|
|
16818
16826
|
return (
|
|
16819
16827
|
/*skeletonLoading*/
|
|
16820
|
-
r[
|
|
16828
|
+
r[21] ? Ou : Mu
|
|
16821
16829
|
);
|
|
16822
16830
|
}
|
|
16823
16831
|
let i = e(o), s = i(o);
|
|
@@ -16840,8 +16848,8 @@ function Hu(o) {
|
|
|
16840
16848
|
}
|
|
16841
16849
|
function Bu(o, t, e) {
|
|
16842
16850
|
let i;
|
|
16843
|
-
Fr(o, Yr, (
|
|
16844
|
-
let { endpoint: s = "", session: r = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail: u = "", baseurl: d = "", clientstyling: h = "", clientstylingurl: p = "", mbsource: y, translationurl: f = "", hasconfirmationmodal: b = "false", dateformat: D = "DD/MM/YYYY", sendnotificationemail: C = "false" } = t, z, N, $ = [], q = {}, K = D.toUpperCase(), G = window.navigator.userAgent, V, O, k = "", j = "", ie = "selectAPeriod", E = "", v = "", m = Nr(G) !== "PC",
|
|
16851
|
+
Fr(o, Yr, (x) => e(22, i = x)), Ce.extend(Vr);
|
|
16852
|
+
let { endpoint: s = "", session: r = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail: u = "", baseurl: d = "", clientstyling: h = "", clientstylingurl: p = "", mbsource: y, translationurl: f = "", hasconfirmationmodal: b = "false", dateformat: D = "DD/MM/YYYY", sendnotificationemail: C = "false" } = t, z, N, $ = [], q = {}, K = D.toUpperCase(), G = window.navigator.userAgent, V, O, k = "", j = "", ie = "selectAPeriod", E = "", v = "", m = Nr(G) !== "PC", w = !1, _ = !1, A = !1, S = !1, F = b === "true", H = !0;
|
|
16845
16853
|
const U = () => {
|
|
16846
16854
|
fetch(f).then((ue) => ue.json()).then((ue) => {
|
|
16847
16855
|
Object.keys(ue).forEach((pe) => {
|
|
@@ -16851,19 +16859,19 @@ function Bu(o, t, e) {
|
|
|
16851
16859
|
console.log(ue);
|
|
16852
16860
|
});
|
|
16853
16861
|
};
|
|
16854
|
-
Object.keys(ao).forEach((
|
|
16855
|
-
no(
|
|
16862
|
+
Object.keys(ao).forEach((x) => {
|
|
16863
|
+
no(x, ao[x]);
|
|
16856
16864
|
});
|
|
16857
16865
|
const W = () => {
|
|
16858
|
-
let
|
|
16859
|
-
fetch(
|
|
16866
|
+
let x = new URL(`${s}/v1/player/selfExclusionSettings`);
|
|
16867
|
+
fetch(x, {
|
|
16860
16868
|
method: "GET",
|
|
16861
16869
|
headers: {
|
|
16862
16870
|
"Content-Type": "application/json",
|
|
16863
16871
|
Accept: "application/json"
|
|
16864
16872
|
}
|
|
16865
16873
|
}).then((pe) => de(pe)).then((pe) => {
|
|
16866
|
-
e(
|
|
16874
|
+
e(11, $ = pe.periods);
|
|
16867
16875
|
}).catch((pe) => {
|
|
16868
16876
|
console.log(pe), window.postMessage(
|
|
16869
16877
|
{
|
|
@@ -16873,55 +16881,55 @@ function Bu(o, t, e) {
|
|
|
16873
16881
|
window.location.href
|
|
16874
16882
|
);
|
|
16875
16883
|
}).finally(() => {
|
|
16876
|
-
e(
|
|
16884
|
+
e(21, H = !1);
|
|
16877
16885
|
});
|
|
16878
|
-
}, ee = (
|
|
16879
|
-
|
|
16880
|
-
}, de = async (
|
|
16881
|
-
if (!
|
|
16882
|
-
q = await
|
|
16886
|
+
}, ee = (x) => {
|
|
16887
|
+
x.data.type === "setSelfExclusion" && (e(1, n = x.data.userid), e(15, ie = x.data.selectedPeriodKey), e(0, r = x.data.session), Y());
|
|
16888
|
+
}, de = async (x) => {
|
|
16889
|
+
if (!x.ok) {
|
|
16890
|
+
q = await x.json(), v = q.thirdPartyResponse?.errorCode;
|
|
16883
16891
|
const ue = i(v || "generalError");
|
|
16884
16892
|
throw new Error(ue);
|
|
16885
16893
|
}
|
|
16886
|
-
return
|
|
16894
|
+
return x.json();
|
|
16887
16895
|
}, ae = () => {
|
|
16888
|
-
e(
|
|
16889
|
-
}, te = (
|
|
16890
|
-
switch (j =
|
|
16896
|
+
e(20, S = !S);
|
|
16897
|
+
}, te = (x) => {
|
|
16898
|
+
switch (j = x.text, e(15, ie = x.key), e(19, A = !0), e(20, S = !1), e(17, w = !1), e(18, _ = !1), j) {
|
|
16891
16899
|
case "Until":
|
|
16892
|
-
e(
|
|
16900
|
+
e(18, _ = !0), e(12, V = Ce().add(6, "months").format("YYYY-MM-DD")), e(13, O = Ce().add(5, "years").format("YYYY-MM-DD")), e(14, k = V);
|
|
16893
16901
|
break;
|
|
16894
16902
|
case "Permanent":
|
|
16895
|
-
e(
|
|
16903
|
+
e(17, w = !w);
|
|
16896
16904
|
break;
|
|
16897
16905
|
default:
|
|
16898
16906
|
const [ue, pe] = j.split(" "), Fe = pe.includes("Day") ? "days" : pe.includes("Month") ? "months" : pe.includes("Year") ? "years" : null;
|
|
16899
16907
|
if (!Fe)
|
|
16900
16908
|
return;
|
|
16901
|
-
e(
|
|
16909
|
+
e(14, k = Ce().add(Number(ue), Fe).format("YYYY-MM-DD"));
|
|
16902
16910
|
break;
|
|
16903
16911
|
}
|
|
16904
16912
|
F && Z();
|
|
16905
16913
|
}, Z = () => {
|
|
16906
16914
|
if (!F || !j || !k) {
|
|
16907
|
-
e(
|
|
16915
|
+
e(16, E = "");
|
|
16908
16916
|
return;
|
|
16909
16917
|
}
|
|
16910
|
-
e(
|
|
16918
|
+
e(16, E = _ ? i("confirmationModalTextUntilSelfExclusion", {
|
|
16911
16919
|
values: {
|
|
16912
16920
|
date: Ce(k).format(K)
|
|
16913
16921
|
}
|
|
16914
16922
|
}) : i("confirmationModalTextPeriodSelfExclusion", { values: { period: i(j) } }));
|
|
16915
|
-
}, L = (
|
|
16916
|
-
|
|
16923
|
+
}, L = (x) => {
|
|
16924
|
+
x.preventDefault(), F ? (Z(), window.postMessage(
|
|
16917
16925
|
{
|
|
16918
16926
|
type: "ShowSelfExclusionConfirmationModal"
|
|
16919
16927
|
},
|
|
16920
16928
|
window.location.href
|
|
16921
16929
|
)) : Y();
|
|
16922
16930
|
}, Y = () => {
|
|
16923
|
-
e(
|
|
16924
|
-
const
|
|
16931
|
+
e(21, H = !0);
|
|
16932
|
+
const x = new URL(`${s}/v2/player/${n}/limits${l === "gm16" ? "/session" : ""}`), pe = {
|
|
16925
16933
|
method: "PUT",
|
|
16926
16934
|
headers: {
|
|
16927
16935
|
"X-SessionID": r,
|
|
@@ -16937,7 +16945,7 @@ function Bu(o, t, e) {
|
|
|
16937
16945
|
}
|
|
16938
16946
|
})
|
|
16939
16947
|
};
|
|
16940
|
-
fetch(
|
|
16948
|
+
fetch(x.href, pe).then((Fe) => de(Fe)).then((Fe) => {
|
|
16941
16949
|
window.postMessage(
|
|
16942
16950
|
{
|
|
16943
16951
|
type: "WidgetNotification",
|
|
@@ -16960,7 +16968,7 @@ function Bu(o, t, e) {
|
|
|
16960
16968
|
window.location.href
|
|
16961
16969
|
);
|
|
16962
16970
|
}).finally(() => {
|
|
16963
|
-
e(
|
|
16971
|
+
e(21, H = !1);
|
|
16964
16972
|
});
|
|
16965
16973
|
}, he = () => {
|
|
16966
16974
|
window.postMessage(
|
|
@@ -16970,16 +16978,16 @@ function Bu(o, t, e) {
|
|
|
16970
16978
|
},
|
|
16971
16979
|
window.location.href
|
|
16972
16980
|
);
|
|
16973
|
-
}, le = (
|
|
16974
|
-
e(
|
|
16981
|
+
}, le = (x) => {
|
|
16982
|
+
e(14, k = x.target.value);
|
|
16975
16983
|
}, ce = () => {
|
|
16976
16984
|
N.addEventListener("change", le, !1), e(
|
|
16977
|
-
|
|
16985
|
+
10,
|
|
16978
16986
|
N.i18n = {
|
|
16979
16987
|
...N.i18n,
|
|
16980
|
-
formatDate: (
|
|
16981
|
-
parseDate: (
|
|
16982
|
-
const ue = Ce(
|
|
16988
|
+
formatDate: (x) => Ce(new Date(x.year, x.month, x.day)).format(K),
|
|
16989
|
+
parseDate: (x) => {
|
|
16990
|
+
const ue = Ce(x, K);
|
|
16983
16991
|
return {
|
|
16984
16992
|
year: ue.year(),
|
|
16985
16993
|
month: ue.month(),
|
|
@@ -16995,31 +17003,32 @@ function Bu(o, t, e) {
|
|
|
16995
17003
|
}));
|
|
16996
17004
|
const ge = () => {
|
|
16997
17005
|
Wr(a);
|
|
16998
|
-
}, P = () => he(), J = () => ae(), oe = (
|
|
16999
|
-
function wt(
|
|
17000
|
-
so[
|
|
17001
|
-
N =
|
|
17006
|
+
}, P = () => he(), J = () => ae(), oe = (x) => te(x);
|
|
17007
|
+
function wt(x) {
|
|
17008
|
+
so[x ? "unshift" : "push"](() => {
|
|
17009
|
+
N = x, e(10, N);
|
|
17002
17010
|
});
|
|
17003
17011
|
}
|
|
17004
|
-
const Ar = (
|
|
17005
|
-
function Cr(
|
|
17006
|
-
so[
|
|
17007
|
-
z =
|
|
17012
|
+
const Ar = (x) => L(x);
|
|
17013
|
+
function Cr(x) {
|
|
17014
|
+
so[x ? "unshift" : "push"](() => {
|
|
17015
|
+
z = x, e(9, z);
|
|
17008
17016
|
});
|
|
17009
17017
|
}
|
|
17010
|
-
return o.$$set = (
|
|
17011
|
-
"endpoint" in
|
|
17018
|
+
return o.$$set = (x) => {
|
|
17019
|
+
"endpoint" in x && e(30, s = x.endpoint), "session" in x && e(0, r = x.session), "userid" in x && e(1, n = x.userid), "lang" in x && e(2, a = x.lang), "gmversion" in x && e(31, l = x.gmversion), "operator" in x && e(3, c = x.operator), "supportemail" in x && e(4, u = x.supportemail), "baseurl" in x && e(5, d = x.baseurl), "clientstyling" in x && e(6, h = x.clientstyling), "clientstylingurl" in x && e(7, p = x.clientstylingurl), "mbsource" in x && e(8, y = x.mbsource), "translationurl" in x && e(32, f = x.translationurl), "hasconfirmationmodal" in x && e(33, b = x.hasconfirmationmodal), "dateformat" in x && e(34, D = x.dateformat), "sendnotificationemail" in x && e(35, C = x.sendnotificationemail);
|
|
17012
17020
|
}, o.$$.update = () => {
|
|
17013
17021
|
o.$$.dirty[0] & /*lang*/
|
|
17014
|
-
|
|
17015
|
-
|
|
17022
|
+
4 && a && ge(), o.$$.dirty[0] & /*endpoint, session, userid*/
|
|
17023
|
+
1073741827 | o.$$.dirty[1] & /*gmversion*/
|
|
17016
17024
|
1 && s && r && n && l && W(), o.$$.dirty[0] & /*calendar*/
|
|
17017
|
-
|
|
17018
|
-
|
|
17019
|
-
|
|
17020
|
-
|
|
17025
|
+
1024 && N && ce(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
17026
|
+
576 && h && z && Rr(z, h), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
17027
|
+
640 && p && z && Lr(z, p), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
17028
|
+
768 && y && z && $r(z, `${y}.Style`), o.$$.dirty[1] & /*translationurl*/
|
|
17021
17029
|
2 && f && U();
|
|
17022
17030
|
}, F && Z(), [
|
|
17031
|
+
r,
|
|
17023
17032
|
n,
|
|
17024
17033
|
a,
|
|
17025
17034
|
c,
|
|
@@ -17036,7 +17045,7 @@ function Bu(o, t, e) {
|
|
|
17036
17045
|
k,
|
|
17037
17046
|
ie,
|
|
17038
17047
|
E,
|
|
17039
|
-
|
|
17048
|
+
w,
|
|
17040
17049
|
_,
|
|
17041
17050
|
A,
|
|
17042
17051
|
S,
|
|
@@ -17050,7 +17059,6 @@ function Bu(o, t, e) {
|
|
|
17050
17059
|
L,
|
|
17051
17060
|
he,
|
|
17052
17061
|
s,
|
|
17053
|
-
r,
|
|
17054
17062
|
l,
|
|
17055
17063
|
f,
|
|
17056
17064
|
b,
|
|
@@ -17073,17 +17081,17 @@ class Yu extends Tr {
|
|
|
17073
17081
|
Hu,
|
|
17074
17082
|
Or,
|
|
17075
17083
|
{
|
|
17076
|
-
endpoint:
|
|
17077
|
-
session:
|
|
17078
|
-
userid:
|
|
17079
|
-
lang:
|
|
17084
|
+
endpoint: 30,
|
|
17085
|
+
session: 0,
|
|
17086
|
+
userid: 1,
|
|
17087
|
+
lang: 2,
|
|
17080
17088
|
gmversion: 31,
|
|
17081
|
-
operator:
|
|
17082
|
-
supportemail:
|
|
17083
|
-
baseurl:
|
|
17084
|
-
clientstyling:
|
|
17085
|
-
clientstylingurl:
|
|
17086
|
-
mbsource:
|
|
17089
|
+
operator: 3,
|
|
17090
|
+
supportemail: 4,
|
|
17091
|
+
baseurl: 5,
|
|
17092
|
+
clientstyling: 6,
|
|
17093
|
+
clientstylingurl: 7,
|
|
17094
|
+
mbsource: 8,
|
|
17087
17095
|
translationurl: 32,
|
|
17088
17096
|
hasconfirmationmodal: 33,
|
|
17089
17097
|
dateformat: 34,
|
|
@@ -17094,25 +17102,25 @@ class Yu extends Tr {
|
|
|
17094
17102
|
);
|
|
17095
17103
|
}
|
|
17096
17104
|
get endpoint() {
|
|
17097
|
-
return this.$$.ctx[
|
|
17105
|
+
return this.$$.ctx[30];
|
|
17098
17106
|
}
|
|
17099
17107
|
set endpoint(t) {
|
|
17100
17108
|
this.$$set({ endpoint: t }), fe();
|
|
17101
17109
|
}
|
|
17102
17110
|
get session() {
|
|
17103
|
-
return this.$$.ctx[
|
|
17111
|
+
return this.$$.ctx[0];
|
|
17104
17112
|
}
|
|
17105
17113
|
set session(t) {
|
|
17106
17114
|
this.$$set({ session: t }), fe();
|
|
17107
17115
|
}
|
|
17108
17116
|
get userid() {
|
|
17109
|
-
return this.$$.ctx[
|
|
17117
|
+
return this.$$.ctx[1];
|
|
17110
17118
|
}
|
|
17111
17119
|
set userid(t) {
|
|
17112
17120
|
this.$$set({ userid: t }), fe();
|
|
17113
17121
|
}
|
|
17114
17122
|
get lang() {
|
|
17115
|
-
return this.$$.ctx[
|
|
17123
|
+
return this.$$.ctx[2];
|
|
17116
17124
|
}
|
|
17117
17125
|
set lang(t) {
|
|
17118
17126
|
this.$$set({ lang: t }), fe();
|
|
@@ -17124,37 +17132,37 @@ class Yu extends Tr {
|
|
|
17124
17132
|
this.$$set({ gmversion: t }), fe();
|
|
17125
17133
|
}
|
|
17126
17134
|
get operator() {
|
|
17127
|
-
return this.$$.ctx[
|
|
17135
|
+
return this.$$.ctx[3];
|
|
17128
17136
|
}
|
|
17129
17137
|
set operator(t) {
|
|
17130
17138
|
this.$$set({ operator: t }), fe();
|
|
17131
17139
|
}
|
|
17132
17140
|
get supportemail() {
|
|
17133
|
-
return this.$$.ctx[
|
|
17141
|
+
return this.$$.ctx[4];
|
|
17134
17142
|
}
|
|
17135
17143
|
set supportemail(t) {
|
|
17136
17144
|
this.$$set({ supportemail: t }), fe();
|
|
17137
17145
|
}
|
|
17138
17146
|
get baseurl() {
|
|
17139
|
-
return this.$$.ctx[
|
|
17147
|
+
return this.$$.ctx[5];
|
|
17140
17148
|
}
|
|
17141
17149
|
set baseurl(t) {
|
|
17142
17150
|
this.$$set({ baseurl: t }), fe();
|
|
17143
17151
|
}
|
|
17144
17152
|
get clientstyling() {
|
|
17145
|
-
return this.$$.ctx[
|
|
17153
|
+
return this.$$.ctx[6];
|
|
17146
17154
|
}
|
|
17147
17155
|
set clientstyling(t) {
|
|
17148
17156
|
this.$$set({ clientstyling: t }), fe();
|
|
17149
17157
|
}
|
|
17150
17158
|
get clientstylingurl() {
|
|
17151
|
-
return this.$$.ctx[
|
|
17159
|
+
return this.$$.ctx[7];
|
|
17152
17160
|
}
|
|
17153
17161
|
set clientstylingurl(t) {
|
|
17154
17162
|
this.$$set({ clientstylingurl: t }), fe();
|
|
17155
17163
|
}
|
|
17156
17164
|
get mbsource() {
|
|
17157
|
-
return this.$$.ctx[
|
|
17165
|
+
return this.$$.ctx[8];
|
|
17158
17166
|
}
|
|
17159
17167
|
set mbsource(t) {
|
|
17160
17168
|
this.$$set({ mbsource: t }), fe();
|