@everymatrix/player-account-self-exclusion 1.74.6 → 1.74.8
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-DuGcwZpC.js → PlayerAccountSelfExclusion-9rv40tnZ.js}
RENAMED
|
@@ -37,16 +37,16 @@ var fs = { exports: {} };
|
|
|
37
37
|
var v = ["th", "st", "nd", "rd"], m = E % 100;
|
|
38
38
|
return "[" + E + (v[(m - 20) % 10] || v[m] || v[0]) + "]";
|
|
39
39
|
} }, z = function(E, v, m) {
|
|
40
|
-
var
|
|
41
|
-
return !
|
|
40
|
+
var w = String(E);
|
|
41
|
+
return !w || w.length >= v ? E : "" + Array(v + 1 - w.length).join(m) + E;
|
|
42
42
|
}, N = { s: z, z: function(E) {
|
|
43
|
-
var v = -E.utcOffset(), m = Math.abs(v),
|
|
44
|
-
return (v <= 0 ? "+" : "-") + z(
|
|
43
|
+
var v = -E.utcOffset(), m = Math.abs(v), w = Math.floor(m / 60), _ = m % 60;
|
|
44
|
+
return (v <= 0 ? "+" : "-") + z(w, 2, "0") + ":" + z(_, 2, "0");
|
|
45
45
|
}, m: function E(v, m) {
|
|
46
46
|
if (v.date() < m.date())
|
|
47
47
|
return -E(m, v);
|
|
48
|
-
var
|
|
49
|
-
return +(-(
|
|
48
|
+
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);
|
|
49
|
+
return +(-(w + (m - _) / (A ? _ - S : S - _)) || 0);
|
|
50
50
|
}, a: function(E) {
|
|
51
51
|
return E < 0 ? Math.ceil(E) || 0 : Math.floor(E);
|
|
52
52
|
}, p: function(E) {
|
|
@@ -57,7 +57,7 @@ var fs = { exports: {} };
|
|
|
57
57
|
q[$] = C;
|
|
58
58
|
var K = "$isDayjsObject", G = function(E) {
|
|
59
59
|
return E instanceof j || !(!E || !E[K]);
|
|
60
|
-
}, V = function E(v, m,
|
|
60
|
+
}, V = function E(v, m, w) {
|
|
61
61
|
var _;
|
|
62
62
|
if (!v)
|
|
63
63
|
return $;
|
|
@@ -71,7 +71,7 @@ var fs = { exports: {} };
|
|
|
71
71
|
var F = v.name;
|
|
72
72
|
q[F] = v, _ = F;
|
|
73
73
|
}
|
|
74
|
-
return !
|
|
74
|
+
return !w && _ && ($ = _), _ || !w && $;
|
|
75
75
|
}, O = function(E, v) {
|
|
76
76
|
if (G(E))
|
|
77
77
|
return E.clone();
|
|
@@ -87,8 +87,8 @@ var fs = { exports: {} };
|
|
|
87
87
|
}
|
|
88
88
|
var v = E.prototype;
|
|
89
89
|
return v.parse = function(m) {
|
|
90
|
-
this.$d = function(
|
|
91
|
-
var _ =
|
|
90
|
+
this.$d = function(w) {
|
|
91
|
+
var _ = w.date, A = w.utc;
|
|
92
92
|
if (_ === null)
|
|
93
93
|
return /* @__PURE__ */ new Date(NaN);
|
|
94
94
|
if (k.u(_))
|
|
@@ -111,21 +111,21 @@ var fs = { exports: {} };
|
|
|
111
111
|
return k;
|
|
112
112
|
}, v.isValid = function() {
|
|
113
113
|
return this.$d.toString() !== f;
|
|
114
|
-
}, v.isSame = function(m,
|
|
114
|
+
}, v.isSame = function(m, w) {
|
|
115
115
|
var _ = O(m);
|
|
116
|
-
return this.startOf(
|
|
117
|
-
}, v.isAfter = function(m,
|
|
118
|
-
return O(m) < this.startOf(
|
|
119
|
-
}, v.isBefore = function(m,
|
|
120
|
-
return this.endOf(
|
|
121
|
-
}, v.$g = function(m,
|
|
122
|
-
return k.u(m) ? this[
|
|
116
|
+
return this.startOf(w) <= _ && _ <= this.endOf(w);
|
|
117
|
+
}, v.isAfter = function(m, w) {
|
|
118
|
+
return O(m) < this.startOf(w);
|
|
119
|
+
}, v.isBefore = function(m, w) {
|
|
120
|
+
return this.endOf(w) < O(m);
|
|
121
|
+
}, v.$g = function(m, w, _) {
|
|
122
|
+
return k.u(m) ? this[w] : this.set(_, m);
|
|
123
123
|
}, v.unix = function() {
|
|
124
124
|
return Math.floor(this.valueOf() / 1e3);
|
|
125
125
|
}, v.valueOf = function() {
|
|
126
126
|
return this.$d.getTime();
|
|
127
|
-
}, v.startOf = function(m,
|
|
128
|
-
var _ = this, A = !!k.u(
|
|
127
|
+
}, v.startOf = function(m, w) {
|
|
128
|
+
var _ = this, A = !!k.u(w) || w, S = k.p(m), F = function(Z, L) {
|
|
129
129
|
var Y = k.w(_.$u ? Date.UTC(_.$y, L, Z) : new Date(_.$y, L, Z), _);
|
|
130
130
|
return A ? Y : Y.endOf(c);
|
|
131
131
|
}, H = function(Z, L) {
|
|
@@ -153,22 +153,22 @@ var fs = { exports: {} };
|
|
|
153
153
|
}
|
|
154
154
|
}, v.endOf = function(m) {
|
|
155
155
|
return this.startOf(m, !1);
|
|
156
|
-
}, v.$set = function(m,
|
|
157
|
-
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 + (
|
|
156
|
+
}, v.$set = function(m, w) {
|
|
157
|
+
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;
|
|
158
158
|
if (A === d || A === p) {
|
|
159
159
|
var U = this.clone().set(y, 1);
|
|
160
160
|
U.$d[F](H), U.init(), this.$d = U.set(y, Math.min(this.$D, U.daysInMonth())).$d;
|
|
161
161
|
} else
|
|
162
162
|
F && this.$d[F](H);
|
|
163
163
|
return this.init(), this;
|
|
164
|
-
}, v.set = function(m,
|
|
165
|
-
return this.clone().$set(m,
|
|
164
|
+
}, v.set = function(m, w) {
|
|
165
|
+
return this.clone().$set(m, w);
|
|
166
166
|
}, v.get = function(m) {
|
|
167
167
|
return this[k.p(m)]();
|
|
168
|
-
}, v.add = function(m,
|
|
168
|
+
}, v.add = function(m, w) {
|
|
169
169
|
var _, A = this;
|
|
170
170
|
m = Number(m);
|
|
171
|
-
var S = k.p(
|
|
171
|
+
var S = k.p(w), F = function(W) {
|
|
172
172
|
var ee = O(A);
|
|
173
173
|
return k.w(ee.date(ee.date() + Math.round(W * m)), A);
|
|
174
174
|
};
|
|
@@ -182,14 +182,14 @@ var fs = { exports: {} };
|
|
|
182
182
|
return F(7);
|
|
183
183
|
var H = (_ = {}, _[a] = i, _[l] = s, _[n] = e, _)[S] || 1, U = this.$d.getTime() + m * H;
|
|
184
184
|
return k.w(U, this);
|
|
185
|
-
}, v.subtract = function(m,
|
|
186
|
-
return this.add(-1 * m,
|
|
185
|
+
}, v.subtract = function(m, w) {
|
|
186
|
+
return this.add(-1 * m, w);
|
|
187
187
|
}, v.format = function(m) {
|
|
188
|
-
var
|
|
188
|
+
var w = this, _ = this.$locale();
|
|
189
189
|
if (!this.isValid())
|
|
190
190
|
return _.invalidDate || f;
|
|
191
191
|
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, he = _.meridiem, ce = function(L, Y, pe, ue) {
|
|
192
|
-
return L && (L[Y] || L(
|
|
192
|
+
return L && (L[Y] || L(w, A)) || pe[Y].slice(0, ue);
|
|
193
193
|
}, te = function(L) {
|
|
194
194
|
return k.s(F % 12 || 12, L, "0");
|
|
195
195
|
}, Z = he || function(L, Y, pe) {
|
|
@@ -200,9 +200,9 @@ var fs = { exports: {} };
|
|
|
200
200
|
return Y || function(pe) {
|
|
201
201
|
switch (pe) {
|
|
202
202
|
case "YY":
|
|
203
|
-
return String(
|
|
203
|
+
return String(w.$y).slice(-2);
|
|
204
204
|
case "YYYY":
|
|
205
|
-
return k.s(
|
|
205
|
+
return k.s(w.$y, 4, "0");
|
|
206
206
|
case "M":
|
|
207
207
|
return U + 1;
|
|
208
208
|
case "MM":
|
|
@@ -212,17 +212,17 @@ var fs = { exports: {} };
|
|
|
212
212
|
case "MMMM":
|
|
213
213
|
return ce(ee, U);
|
|
214
214
|
case "D":
|
|
215
|
-
return
|
|
215
|
+
return w.$D;
|
|
216
216
|
case "DD":
|
|
217
|
-
return k.s(
|
|
217
|
+
return k.s(w.$D, 2, "0");
|
|
218
218
|
case "d":
|
|
219
|
-
return String(
|
|
219
|
+
return String(w.$W);
|
|
220
220
|
case "dd":
|
|
221
|
-
return ce(_.weekdaysMin,
|
|
221
|
+
return ce(_.weekdaysMin, w.$W, W, 2);
|
|
222
222
|
case "ddd":
|
|
223
|
-
return ce(_.weekdaysShort,
|
|
223
|
+
return ce(_.weekdaysShort, w.$W, W, 3);
|
|
224
224
|
case "dddd":
|
|
225
|
-
return W[
|
|
225
|
+
return W[w.$W];
|
|
226
226
|
case "H":
|
|
227
227
|
return String(F);
|
|
228
228
|
case "HH":
|
|
@@ -240,11 +240,11 @@ var fs = { exports: {} };
|
|
|
240
240
|
case "mm":
|
|
241
241
|
return k.s(H, 2, "0");
|
|
242
242
|
case "s":
|
|
243
|
-
return String(
|
|
243
|
+
return String(w.$s);
|
|
244
244
|
case "ss":
|
|
245
|
-
return k.s(
|
|
245
|
+
return k.s(w.$s, 2, "0");
|
|
246
246
|
case "SSS":
|
|
247
|
-
return k.s(
|
|
247
|
+
return k.s(w.$ms, 3, "0");
|
|
248
248
|
case "Z":
|
|
249
249
|
return S;
|
|
250
250
|
}
|
|
@@ -253,8 +253,8 @@ var fs = { exports: {} };
|
|
|
253
253
|
});
|
|
254
254
|
}, v.utcOffset = function() {
|
|
255
255
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
256
|
-
}, v.diff = function(m,
|
|
257
|
-
var A, S = this, F = k.p(
|
|
256
|
+
}, v.diff = function(m, w, _) {
|
|
257
|
+
var A, S = this, F = k.p(w), H = O(m), U = (H.utcOffset() - this.utcOffset()) * i, W = this - H, ee = function() {
|
|
258
258
|
return k.m(S, H);
|
|
259
259
|
};
|
|
260
260
|
switch (F) {
|
|
@@ -290,10 +290,10 @@ var fs = { exports: {} };
|
|
|
290
290
|
return this.endOf(d).$D;
|
|
291
291
|
}, v.$locale = function() {
|
|
292
292
|
return q[this.$L];
|
|
293
|
-
}, v.locale = function(m,
|
|
293
|
+
}, v.locale = function(m, w) {
|
|
294
294
|
if (!m)
|
|
295
295
|
return this.$L;
|
|
296
|
-
var _ = this.clone(), A = V(m,
|
|
296
|
+
var _ = this.clone(), A = V(m, w, !0);
|
|
297
297
|
return A && (_.$L = A), _;
|
|
298
298
|
}, v.clone = function() {
|
|
299
299
|
return k.w(this.$d, this);
|
|
@@ -400,8 +400,8 @@ var ms = { exports: {} };
|
|
|
400
400
|
if (typeof ie == "string")
|
|
401
401
|
j += ie.length;
|
|
402
402
|
else {
|
|
403
|
-
var E = ie.regex, v = ie.parser, m = V.slice(j),
|
|
404
|
-
v.call(O,
|
|
403
|
+
var E = ie.regex, v = ie.parser, m = V.slice(j), w = E.exec(m)[0];
|
|
404
|
+
v.call(O, w), V = V.replace(w, "");
|
|
405
405
|
}
|
|
406
406
|
}
|
|
407
407
|
return function(_) {
|
|
@@ -422,11 +422,11 @@ var ms = { exports: {} };
|
|
|
422
422
|
var G = K[1];
|
|
423
423
|
if (typeof G == "string") {
|
|
424
424
|
var V = K[2] === !0, O = K[3] === !0, k = V || O, j = K[2];
|
|
425
|
-
O && (j = K[2]), a = this.$locale(), !V && j && (a = D.Ls[j]), this.$d = function(m,
|
|
425
|
+
O && (j = K[2]), a = this.$locale(), !V && j && (a = D.Ls[j]), this.$d = function(m, w, _) {
|
|
426
426
|
try {
|
|
427
|
-
if (["x", "X"].indexOf(
|
|
428
|
-
return new Date((
|
|
429
|
-
var A = y(
|
|
427
|
+
if (["x", "X"].indexOf(w) > -1)
|
|
428
|
+
return new Date((w === "X" ? 1e3 : 1) * m);
|
|
429
|
+
var A = y(w)(m), S = A.year, F = A.month, H = A.day, U = A.hours, W = A.minutes, ee = A.seconds, he = A.milliseconds, ce = A.zone, te = /* @__PURE__ */ new Date(), Z = H || (S || F ? 1 : te.getDate()), L = S || te.getFullYear(), Y = 0;
|
|
430
430
|
S && !F || (Y = F > 0 ? F - 1 : te.getMonth());
|
|
431
431
|
var pe = U || 0, ue = W || 0, de = ee || 0, ge = he || 0;
|
|
432
432
|
return ce ? new Date(Date.UTC(L, Y, Z, pe, ue, de, ge + 60 * ce.offset * 1e3)) : _ ? new Date(Date.UTC(L, Y, Z, pe, ue, de, ge)) : new Date(L, Y, Z, pe, ue, de, ge);
|
|
@@ -16290,100 +16290,100 @@ function os(o, t, e) {
|
|
|
16290
16290
|
function qu(o) {
|
|
16291
16291
|
let t, e, i, s, r = (
|
|
16292
16292
|
/*$_*/
|
|
16293
|
-
o[
|
|
16293
|
+
o[22]("titleSelfExclusion") + ""
|
|
16294
16294
|
), n, a, l, c, u = (
|
|
16295
16295
|
/*$_*/
|
|
16296
|
-
o[
|
|
16296
|
+
o[22]("selfExclusionText", {
|
|
16297
16297
|
values: {
|
|
16298
16298
|
operatorname: (
|
|
16299
16299
|
/*operator*/
|
|
16300
|
-
o[
|
|
16300
|
+
o[3]
|
|
16301
16301
|
),
|
|
16302
16302
|
baseurl: (
|
|
16303
16303
|
/*baseurl*/
|
|
16304
|
-
o[
|
|
16304
|
+
o[5]
|
|
16305
16305
|
),
|
|
16306
16306
|
lang: (
|
|
16307
16307
|
/*lang*/
|
|
16308
|
-
o[
|
|
16308
|
+
o[2]
|
|
16309
16309
|
)
|
|
16310
16310
|
}
|
|
16311
16311
|
}) + ""
|
|
16312
16312
|
), d, h, p = (
|
|
16313
16313
|
/*$_*/
|
|
16314
|
-
o[
|
|
16314
|
+
o[22]("selfExclusionEmailText") + ""
|
|
16315
16315
|
), y, f, b, D, C, z, N, $, q, K = (
|
|
16316
16316
|
/*$_*/
|
|
16317
|
-
o[
|
|
16318
|
-
o[
|
|
16319
|
-
), G, V, O, k, j, ie, E, v, m,
|
|
16317
|
+
o[22](`${/*selectedPeriodKey*/
|
|
16318
|
+
o[15]}`) + ""
|
|
16319
|
+
), G, V, O, k, j, ie, E, v, m, w, _, A, S, F = (
|
|
16320
16320
|
/*$_*/
|
|
16321
|
-
o[
|
|
16321
|
+
o[22]("save") + ""
|
|
16322
16322
|
), H, U, W, ee, he, ce, te = (
|
|
16323
16323
|
/*isMobile*/
|
|
16324
|
-
o[
|
|
16324
|
+
o[24] && Gu(o)
|
|
16325
16325
|
), Z = fo(
|
|
16326
16326
|
/*selfExclusionPeriods*/
|
|
16327
|
-
o[
|
|
16327
|
+
o[11]
|
|
16328
16328
|
), L = [];
|
|
16329
16329
|
for (let P = 0; P < Z.length; P += 1)
|
|
16330
16330
|
L[P] = ss(os(o, Z, P));
|
|
16331
16331
|
let Y = (
|
|
16332
16332
|
/*isUntilDate*/
|
|
16333
|
-
o[
|
|
16333
|
+
o[18] && rs(o)
|
|
16334
16334
|
);
|
|
16335
16335
|
function pe(P, J) {
|
|
16336
16336
|
return (
|
|
16337
16337
|
/*isPermanentSelfExclusion*/
|
|
16338
|
-
P[
|
|
16338
|
+
P[17] ? Zu : (
|
|
16339
16339
|
/*isDateSelected*/
|
|
16340
|
-
P[
|
|
16340
|
+
P[19] ? Ju : Xu
|
|
16341
16341
|
)
|
|
16342
16342
|
);
|
|
16343
16343
|
}
|
|
16344
16344
|
let ue = pe(o), de = ue(o), ge = (
|
|
16345
16345
|
/*showConfirmationModal*/
|
|
16346
|
-
o[
|
|
16346
|
+
o[25] && Qu(o)
|
|
16347
16347
|
);
|
|
16348
16348
|
return {
|
|
16349
16349
|
c() {
|
|
16350
16350
|
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(
|
|
16351
16351
|
/*supportemail*/
|
|
16352
|
-
o[
|
|
16352
|
+
o[4]
|
|
16353
16353
|
), 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");
|
|
16354
16354
|
for (let P = 0; P < L.length; P += 1)
|
|
16355
16355
|
L[P].c();
|
|
16356
|
-
v = X(), Y && Y.c(), m = X(),
|
|
16357
|
-
(o[
|
|
16358
|
-
o[
|
|
16359
|
-
(o[
|
|
16356
|
+
v = X(), Y && Y.c(), m = X(), w = T("div"), de.c(), _ = X(), A = T("div"), S = T("button"), H = _e(F), ee = X(), ge && ge.c(), M(s, "class", "PlayerSelfExclusionTitle " + /*isMobile*/
|
|
16357
|
+
(o[24] ? "PlayerSelfExclusionTitleNone" : "")), M(c, "class", "SelfExclusionDescriptionText"), M(b, "href", C = "mailto:" + /*supportemail*/
|
|
16358
|
+
o[4]), M(h, "class", "SelfExclusionDescriptionText"), M(l, "class", "SelfExclusionDescription " + /*isMobile*/
|
|
16359
|
+
(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"), Ve(
|
|
16360
16360
|
O,
|
|
16361
16361
|
"active",
|
|
16362
16362
|
/*isPeriodDropDownToggled*/
|
|
16363
|
-
o[
|
|
16363
|
+
o[20]
|
|
16364
16364
|
), M($, "class", "SelfExclusionConfigLabel"), M(E, "class", "SelfExclusionDropDown"), Ve(
|
|
16365
16365
|
E,
|
|
16366
16366
|
"active",
|
|
16367
16367
|
/*isPeriodDropDownToggled*/
|
|
16368
|
-
o[
|
|
16368
|
+
o[20]
|
|
16369
16369
|
), M(N, "class", "SelfExclusionConfigWrapper " + /*isMobile*/
|
|
16370
|
-
(o[
|
|
16370
|
+
(o[24] ? "SelfExclusionConfigWrapperMobile" : "")), Ve(
|
|
16371
16371
|
N,
|
|
16372
16372
|
"active",
|
|
16373
16373
|
/*isPeriodDropDownToggled*/
|
|
16374
|
-
o[
|
|
16375
|
-
), M(
|
|
16376
|
-
(o[
|
|
16377
|
-
(o[
|
|
16378
|
-
o[
|
|
16379
|
-
(o[
|
|
16380
|
-
(o[
|
|
16374
|
+
o[20]
|
|
16375
|
+
), M(w, "class", "SelfExclusionDescription " + /*isMobile*/
|
|
16376
|
+
(o[24] ? "SelfExclusionDescriptionMobile" : "")), M(S, "class", U = "SelfExclusionSave " + /*isDateSelected*/
|
|
16377
|
+
(o[19] ? "active" : "")), S.disabled = W = !/*isDateSelected*/
|
|
16378
|
+
o[19], M(A, "class", "SelfExclusionActionButtons " + /*isMobile*/
|
|
16379
|
+
(o[24] ? "SelfExclusionActionButtonsMobile" : "")), M(e, "class", "SelfExclusionWrapper " + /*isMobile*/
|
|
16380
|
+
(o[24] ? "SelfExclusionWrapperMobile" : "")), M(t, "class", "SelfExclusionContainer");
|
|
16381
16381
|
},
|
|
16382
16382
|
m(P, J) {
|
|
16383
16383
|
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);
|
|
16384
16384
|
for (let oe = 0; oe < L.length; oe += 1)
|
|
16385
16385
|
L[oe] && L[oe].m(E, null);
|
|
16386
|
-
g(e, v), Y && Y.m(e, null), g(e, m), g(e,
|
|
16386
|
+
g(e, v), Y && Y.m(e, null), g(e, m), g(e, w), de.m(w, null), g(e, _), g(e, A), g(A, S), g(S, H), g(t, ee), ge && ge.m(t, null), he || (ce = [
|
|
16387
16387
|
Nt(
|
|
16388
16388
|
$,
|
|
16389
16389
|
"click",
|
|
@@ -16401,49 +16401,49 @@ function qu(o) {
|
|
|
16401
16401
|
p(P, J) {
|
|
16402
16402
|
if (
|
|
16403
16403
|
/*isMobile*/
|
|
16404
|
-
P[
|
|
16405
|
-
|
|
16406
|
-
P[
|
|
16407
|
-
|
|
16408
|
-
P[
|
|
16404
|
+
P[24] && te.p(P, J), J[0] & /*$_*/
|
|
16405
|
+
4194304 && r !== (r = /*$_*/
|
|
16406
|
+
P[22]("titleSelfExclusion") + "") && ye(n, r), J[0] & /*$_, operator, baseurl, lang*/
|
|
16407
|
+
4194348 && u !== (u = /*$_*/
|
|
16408
|
+
P[22]("selfExclusionText", {
|
|
16409
16409
|
values: {
|
|
16410
16410
|
operatorname: (
|
|
16411
16411
|
/*operator*/
|
|
16412
|
-
P[
|
|
16412
|
+
P[3]
|
|
16413
16413
|
),
|
|
16414
16414
|
baseurl: (
|
|
16415
16415
|
/*baseurl*/
|
|
16416
|
-
P[
|
|
16416
|
+
P[5]
|
|
16417
16417
|
),
|
|
16418
16418
|
lang: (
|
|
16419
16419
|
/*lang*/
|
|
16420
|
-
P[
|
|
16420
|
+
P[2]
|
|
16421
16421
|
)
|
|
16422
16422
|
}
|
|
16423
16423
|
}) + "") && (c.innerHTML = u), J[0] & /*$_*/
|
|
16424
|
-
|
|
16425
|
-
P[
|
|
16426
|
-
|
|
16424
|
+
4194304 && p !== (p = /*$_*/
|
|
16425
|
+
P[22]("selfExclusionEmailText") + "") && ye(y, p), J[0] & /*supportemail*/
|
|
16426
|
+
16 && ye(
|
|
16427
16427
|
D,
|
|
16428
16428
|
/*supportemail*/
|
|
16429
|
-
P[
|
|
16429
|
+
P[4]
|
|
16430
16430
|
), J[0] & /*supportemail*/
|
|
16431
|
-
|
|
16432
|
-
P[
|
|
16433
|
-
|
|
16434
|
-
P[
|
|
16435
|
-
P[
|
|
16436
|
-
|
|
16431
|
+
16 && C !== (C = "mailto:" + /*supportemail*/
|
|
16432
|
+
P[4]) && M(b, "href", C), J[0] & /*$_, selectedPeriodKey*/
|
|
16433
|
+
4227072 && K !== (K = /*$_*/
|
|
16434
|
+
P[22](`${/*selectedPeriodKey*/
|
|
16435
|
+
P[15]}`) + "") && ye(G, K), J[0] & /*isPeriodDropDownToggled*/
|
|
16436
|
+
1048576 && Ve(
|
|
16437
16437
|
O,
|
|
16438
16438
|
"active",
|
|
16439
16439
|
/*isPeriodDropDownToggled*/
|
|
16440
|
-
P[
|
|
16440
|
+
P[20]
|
|
16441
16441
|
), J[0] & /*selectPeriod, selfExclusionPeriods, $_*/
|
|
16442
|
-
|
|
16442
|
+
138414080
|
|
16443
16443
|
) {
|
|
16444
16444
|
Z = fo(
|
|
16445
16445
|
/*selfExclusionPeriods*/
|
|
16446
|
-
P[
|
|
16446
|
+
P[11]
|
|
16447
16447
|
);
|
|
16448
16448
|
let oe;
|
|
16449
16449
|
for (oe = 0; oe < Z.length; oe += 1) {
|
|
@@ -16455,26 +16455,26 @@ function qu(o) {
|
|
|
16455
16455
|
L.length = Z.length;
|
|
16456
16456
|
}
|
|
16457
16457
|
J[0] & /*isPeriodDropDownToggled*/
|
|
16458
|
-
|
|
16458
|
+
1048576 && Ve(
|
|
16459
16459
|
E,
|
|
16460
16460
|
"active",
|
|
16461
16461
|
/*isPeriodDropDownToggled*/
|
|
16462
|
-
P[
|
|
16462
|
+
P[20]
|
|
16463
16463
|
), J[0] & /*isPeriodDropDownToggled*/
|
|
16464
|
-
|
|
16464
|
+
1048576 && Ve(
|
|
16465
16465
|
N,
|
|
16466
16466
|
"active",
|
|
16467
16467
|
/*isPeriodDropDownToggled*/
|
|
16468
|
-
P[
|
|
16468
|
+
P[20]
|
|
16469
16469
|
), /*isUntilDate*/
|
|
16470
|
-
P[
|
|
16471
|
-
|
|
16472
|
-
P[
|
|
16473
|
-
|
|
16474
|
-
(P[
|
|
16475
|
-
|
|
16476
|
-
P[
|
|
16477
|
-
P[
|
|
16470
|
+
P[18] ? Y ? Y.p(P, J) : (Y = rs(P), Y.c(), Y.m(e, m)) : Y && (Y.d(1), Y = null), ue === (ue = pe(P)) && de ? de.p(P, J) : (de.d(1), de = ue(P), de && (de.c(), de.m(w, null))), J[0] & /*$_*/
|
|
16471
|
+
4194304 && F !== (F = /*$_*/
|
|
16472
|
+
P[22]("save") + "") && ye(H, F), J[0] & /*isDateSelected*/
|
|
16473
|
+
524288 && U !== (U = "SelfExclusionSave " + /*isDateSelected*/
|
|
16474
|
+
(P[19] ? "active" : "")) && M(S, "class", U), J[0] & /*isDateSelected*/
|
|
16475
|
+
524288 && W !== (W = !/*isDateSelected*/
|
|
16476
|
+
P[19]) && (S.disabled = W), /*showConfirmationModal*/
|
|
16477
|
+
P[25] && ge.p(P, J);
|
|
16478
16478
|
},
|
|
16479
16479
|
d(P) {
|
|
16480
16480
|
P && xe(t), te && te.d(), nn(L, P), Y && Y.d(), de.d(), ge && ge.d(), he = !1, an(ce);
|
|
@@ -16486,7 +16486,7 @@ function Ku(o) {
|
|
|
16486
16486
|
function q(V, O) {
|
|
16487
16487
|
return (
|
|
16488
16488
|
/*isMobile*/
|
|
16489
|
-
V[
|
|
16489
|
+
V[24] ? td : ed
|
|
16490
16490
|
);
|
|
16491
16491
|
}
|
|
16492
16492
|
let G = q(o)(o);
|
|
@@ -16496,45 +16496,45 @@ function Ku(o) {
|
|
|
16496
16496
|
r,
|
|
16497
16497
|
"height",
|
|
16498
16498
|
/*isMobile*/
|
|
16499
|
-
o[
|
|
16499
|
+
o[24] ? "15px" : "20px"
|
|
16500
16500
|
), I(r, "rows", "6"), I(r, "width", "100%"), Jt(
|
|
16501
16501
|
a,
|
|
16502
16502
|
"height",
|
|
16503
16503
|
/*isMobile*/
|
|
16504
|
-
o[
|
|
16504
|
+
o[24] ? "10px" : "20px"
|
|
16505
16505
|
), I(c, "structure", "text"), I(
|
|
16506
16506
|
c,
|
|
16507
16507
|
"height",
|
|
16508
16508
|
/*isMobile*/
|
|
16509
|
-
o[
|
|
16509
|
+
o[24] ? "15px" : "20px"
|
|
16510
16510
|
), I(c, "width", "30%"), Jt(d, "height", "10px"), M(s, "class", "SelfExclusionDescription"), I(y, "structure", "rectangle"), I(
|
|
16511
16511
|
y,
|
|
16512
16512
|
"width",
|
|
16513
16513
|
/*isMobile*/
|
|
16514
|
-
o[
|
|
16514
|
+
o[24] ? "100%" : "50%"
|
|
16515
16515
|
), I(
|
|
16516
16516
|
y,
|
|
16517
16517
|
"height",
|
|
16518
16518
|
/*isMobile*/
|
|
16519
|
-
o[
|
|
16519
|
+
o[24] ? "30px" : "44px"
|
|
16520
16520
|
), Jt(
|
|
16521
16521
|
b,
|
|
16522
16522
|
"height",
|
|
16523
16523
|
/*isMobile*/
|
|
16524
|
-
o[
|
|
16524
|
+
o[24] ? "15px" : "20px"
|
|
16525
16525
|
), I(C, "structure", "text"), I(
|
|
16526
16526
|
C,
|
|
16527
16527
|
"height",
|
|
16528
16528
|
/*isMobile*/
|
|
16529
|
-
o[
|
|
16529
|
+
o[24] ? "15px" : "20px"
|
|
16530
16530
|
), I(C, "width", "30%"), M(p, "class", "SelfExclusionConfig"), I($, "structure", "rectangle"), I($, "width", "100%"), I(
|
|
16531
16531
|
$,
|
|
16532
16532
|
"height",
|
|
16533
16533
|
/*isMobile*/
|
|
16534
|
-
o[
|
|
16534
|
+
o[24] ? "35px" : "50px"
|
|
16535
16535
|
), M(N, "class", "SelfExclusionActionButtons " + /*isMobile*/
|
|
16536
|
-
(o[
|
|
16537
|
-
(o[
|
|
16536
|
+
(o[24] ? "SelfExclusionActionButtonsMobile" : "")), M(e, "class", "SelfExclusionWrapper " + /*isMobile*/
|
|
16537
|
+
(o[24] ? "SelfExclusionWrapperMobile" : "")), M(t, "class", "SelfExclusionContainer");
|
|
16538
16538
|
},
|
|
16539
16539
|
m(V, O) {
|
|
16540
16540
|
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, $);
|
|
@@ -16548,7 +16548,7 @@ function Ku(o) {
|
|
|
16548
16548
|
function Gu(o) {
|
|
16549
16549
|
let t, e, i, s, r, n, a, l, c, u, d = (
|
|
16550
16550
|
/*$_*/
|
|
16551
|
-
o[
|
|
16551
|
+
o[22]("titleSelfExclusion") + ""
|
|
16552
16552
|
), h, p, y;
|
|
16553
16553
|
return {
|
|
16554
16554
|
c() {
|
|
@@ -16564,8 +16564,8 @@ function Gu(o) {
|
|
|
16564
16564
|
},
|
|
16565
16565
|
p(f, b) {
|
|
16566
16566
|
b[0] & /*$_*/
|
|
16567
|
-
|
|
16568
|
-
f[
|
|
16567
|
+
4194304 && d !== (d = /*$_*/
|
|
16568
|
+
f[22]("titleSelfExclusion") + "") && ye(h, d);
|
|
16569
16569
|
},
|
|
16570
16570
|
d(f) {
|
|
16571
16571
|
f && xe(t), p = !1, y();
|
|
@@ -16575,7 +16575,7 @@ function Gu(o) {
|
|
|
16575
16575
|
function ss(o) {
|
|
16576
16576
|
let t, e = (
|
|
16577
16577
|
/*$_*/
|
|
16578
|
-
o[
|
|
16578
|
+
o[22](`${/*period*/
|
|
16579
16579
|
o[56].key}`) + ""
|
|
16580
16580
|
), i, s, r;
|
|
16581
16581
|
function n() {
|
|
@@ -16596,8 +16596,8 @@ function ss(o) {
|
|
|
16596
16596
|
},
|
|
16597
16597
|
p(a, l) {
|
|
16598
16598
|
o = a, l[0] & /*$_, selfExclusionPeriods*/
|
|
16599
|
-
|
|
16600
|
-
o[
|
|
16599
|
+
4196352 && e !== (e = /*$_*/
|
|
16600
|
+
o[22](`${/*period*/
|
|
16601
16601
|
o[56].key}`) + "") && ye(i, e);
|
|
16602
16602
|
},
|
|
16603
16603
|
d(a) {
|
|
@@ -16608,60 +16608,60 @@ function ss(o) {
|
|
|
16608
16608
|
function rs(o) {
|
|
16609
16609
|
let t, e, i = (
|
|
16610
16610
|
/*$_*/
|
|
16611
|
-
o[
|
|
16611
|
+
o[22]("duration") + ""
|
|
16612
16612
|
), s, r, n, a = (
|
|
16613
16613
|
/*$_*/
|
|
16614
|
-
o[
|
|
16614
|
+
o[22]("dateInstructions") + ""
|
|
16615
16615
|
), l, c, u, d, h, p, y;
|
|
16616
16616
|
return {
|
|
16617
16617
|
c() {
|
|
16618
16618
|
t = T("div"), e = T("label"), s = _e(i), r = X(), n = T("span"), l = _e(a), c = X(), u = T("strong"), d = _e(
|
|
16619
16619
|
/*validDateformat*/
|
|
16620
|
-
o[
|
|
16620
|
+
o[23]
|
|
16621
16621
|
), h = T("strong"), p = X(), y = T("vaadin-date-picker"), M(e, "for", "SelfExclusionDate"), M(n, "class", "SelfExclusionDateInstructions"), I(
|
|
16622
16622
|
y,
|
|
16623
16623
|
"min",
|
|
16624
16624
|
/*minDate*/
|
|
16625
|
-
o[
|
|
16625
|
+
o[12]
|
|
16626
16626
|
), I(
|
|
16627
16627
|
y,
|
|
16628
16628
|
"max",
|
|
16629
16629
|
/*maxDate*/
|
|
16630
|
-
o[
|
|
16630
|
+
o[13]
|
|
16631
16631
|
), I(
|
|
16632
16632
|
y,
|
|
16633
16633
|
"value",
|
|
16634
16634
|
/*selfExclusionExpiryDate*/
|
|
16635
|
-
o[
|
|
16635
|
+
o[14]
|
|
16636
16636
|
), M(t, "class", "SelfExclusionDateWrapper " + /*isMobile*/
|
|
16637
|
-
(o[
|
|
16637
|
+
(o[24] ? "SelfExclusionDateWrapperMobile" : ""));
|
|
16638
16638
|
},
|
|
16639
16639
|
m(f, b) {
|
|
16640
16640
|
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);
|
|
16641
16641
|
},
|
|
16642
16642
|
p(f, b) {
|
|
16643
16643
|
b[0] & /*$_*/
|
|
16644
|
-
|
|
16645
|
-
f[
|
|
16646
|
-
|
|
16647
|
-
f[
|
|
16648
|
-
|
|
16644
|
+
4194304 && i !== (i = /*$_*/
|
|
16645
|
+
f[22]("duration") + "") && ye(s, i), b[0] & /*$_*/
|
|
16646
|
+
4194304 && a !== (a = /*$_*/
|
|
16647
|
+
f[22]("dateInstructions") + "") && ye(l, a), b[0] & /*minDate*/
|
|
16648
|
+
4096 && I(
|
|
16649
16649
|
y,
|
|
16650
16650
|
"min",
|
|
16651
16651
|
/*minDate*/
|
|
16652
|
-
f[
|
|
16652
|
+
f[12]
|
|
16653
16653
|
), b[0] & /*maxDate*/
|
|
16654
|
-
|
|
16654
|
+
8192 && I(
|
|
16655
16655
|
y,
|
|
16656
16656
|
"max",
|
|
16657
16657
|
/*maxDate*/
|
|
16658
|
-
f[
|
|
16658
|
+
f[13]
|
|
16659
16659
|
), b[0] & /*selfExclusionExpiryDate*/
|
|
16660
|
-
|
|
16660
|
+
16384 && I(
|
|
16661
16661
|
y,
|
|
16662
16662
|
"value",
|
|
16663
16663
|
/*selfExclusionExpiryDate*/
|
|
16664
|
-
f[
|
|
16664
|
+
f[14]
|
|
16665
16665
|
);
|
|
16666
16666
|
},
|
|
16667
16667
|
d(f) {
|
|
@@ -16672,14 +16672,14 @@ function rs(o) {
|
|
|
16672
16672
|
function Ju(o) {
|
|
16673
16673
|
let t, e, i = (
|
|
16674
16674
|
/*$_*/
|
|
16675
|
-
o[
|
|
16675
|
+
o[22]("temporarySelfExclusion", {
|
|
16676
16676
|
values: {
|
|
16677
16677
|
date: Ce(
|
|
16678
16678
|
/*selfExclusionExpiryDate*/
|
|
16679
|
-
o[
|
|
16679
|
+
o[14]
|
|
16680
16680
|
).format(
|
|
16681
16681
|
/*validDateformat*/
|
|
16682
|
-
o[
|
|
16682
|
+
o[23]
|
|
16683
16683
|
)
|
|
16684
16684
|
}
|
|
16685
16685
|
}) + ""
|
|
@@ -16693,15 +16693,15 @@ function Ju(o) {
|
|
|
16693
16693
|
},
|
|
16694
16694
|
p(r, n) {
|
|
16695
16695
|
n[0] & /*$_, selfExclusionExpiryDate*/
|
|
16696
|
-
|
|
16697
|
-
r[
|
|
16696
|
+
4210688 && i !== (i = /*$_*/
|
|
16697
|
+
r[22]("temporarySelfExclusion", {
|
|
16698
16698
|
values: {
|
|
16699
16699
|
date: Ce(
|
|
16700
16700
|
/*selfExclusionExpiryDate*/
|
|
16701
|
-
r[
|
|
16701
|
+
r[14]
|
|
16702
16702
|
).format(
|
|
16703
16703
|
/*validDateformat*/
|
|
16704
|
-
r[
|
|
16704
|
+
r[23]
|
|
16705
16705
|
)
|
|
16706
16706
|
}
|
|
16707
16707
|
}) + "") && ye(s, i);
|
|
@@ -16714,7 +16714,7 @@ function Ju(o) {
|
|
|
16714
16714
|
function Xu(o) {
|
|
16715
16715
|
let t, e, i = (
|
|
16716
16716
|
/*$_*/
|
|
16717
|
-
o[
|
|
16717
|
+
o[22]("noPeriodSelected") + ""
|
|
16718
16718
|
), s;
|
|
16719
16719
|
return {
|
|
16720
16720
|
c() {
|
|
@@ -16725,8 +16725,8 @@ function Xu(o) {
|
|
|
16725
16725
|
},
|
|
16726
16726
|
p(r, n) {
|
|
16727
16727
|
n[0] & /*$_*/
|
|
16728
|
-
|
|
16729
|
-
r[
|
|
16728
|
+
4194304 && i !== (i = /*$_*/
|
|
16729
|
+
r[22]("noPeriodSelected") + "") && ye(s, i);
|
|
16730
16730
|
},
|
|
16731
16731
|
d(r) {
|
|
16732
16732
|
r && xe(t);
|
|
@@ -16736,7 +16736,7 @@ function Xu(o) {
|
|
|
16736
16736
|
function Zu(o) {
|
|
16737
16737
|
let t, e, i = (
|
|
16738
16738
|
/*$_*/
|
|
16739
|
-
o[
|
|
16739
|
+
o[22]("permanentSelfExclusion") + ""
|
|
16740
16740
|
), s;
|
|
16741
16741
|
return {
|
|
16742
16742
|
c() {
|
|
@@ -16747,8 +16747,8 @@ function Zu(o) {
|
|
|
16747
16747
|
},
|
|
16748
16748
|
p(r, n) {
|
|
16749
16749
|
n[0] & /*$_*/
|
|
16750
|
-
|
|
16751
|
-
r[
|
|
16750
|
+
4194304 && i !== (i = /*$_*/
|
|
16751
|
+
r[22]("permanentSelfExclusion") + "") && ye(s, i);
|
|
16752
16752
|
},
|
|
16753
16753
|
d(r) {
|
|
16754
16754
|
r && xe(t);
|
|
@@ -16760,46 +16760,50 @@ function Qu(o) {
|
|
|
16760
16760
|
return {
|
|
16761
16761
|
c() {
|
|
16762
16762
|
t = T("player-account-modal"), e = T("player-account-general-confirmation-modal"), I(e, "modaltitle", i = /*$_*/
|
|
16763
|
-
o[
|
|
16763
|
+
o[22]("confirmationModalTitle")), I(
|
|
16764
16764
|
e,
|
|
16765
16765
|
"modaltext",
|
|
16766
16766
|
/*confirmationModalText*/
|
|
16767
|
-
o[
|
|
16767
|
+
o[16]
|
|
16768
16768
|
), I(e, "hascancelbutton", !1), I(e, "modalconfirmevent", s = {
|
|
16769
16769
|
type: "setSelfExclusion",
|
|
16770
16770
|
userid: (
|
|
16771
16771
|
/*userid*/
|
|
16772
|
-
o[
|
|
16772
|
+
o[1]
|
|
16773
16773
|
),
|
|
16774
16774
|
selectedPeriodKey: (
|
|
16775
16775
|
/*selectedPeriodKey*/
|
|
16776
|
-
o[
|
|
16776
|
+
o[15]
|
|
16777
|
+
),
|
|
16778
|
+
session: (
|
|
16779
|
+
/*session*/
|
|
16780
|
+
o[0]
|
|
16777
16781
|
)
|
|
16778
16782
|
}), I(
|
|
16779
16783
|
e,
|
|
16780
16784
|
"mbsource",
|
|
16781
16785
|
/*mbsource*/
|
|
16782
|
-
o[
|
|
16786
|
+
o[8]
|
|
16783
16787
|
), I(
|
|
16784
16788
|
e,
|
|
16785
16789
|
"lang",
|
|
16786
16790
|
/*lang*/
|
|
16787
|
-
o[
|
|
16791
|
+
o[2]
|
|
16788
16792
|
), I(
|
|
16789
16793
|
t,
|
|
16790
16794
|
"clientstyling",
|
|
16791
16795
|
/*clientstyling*/
|
|
16792
|
-
o[
|
|
16796
|
+
o[6]
|
|
16793
16797
|
), I(
|
|
16794
16798
|
t,
|
|
16795
16799
|
"clientstylingurl",
|
|
16796
16800
|
/*clientstylingurl*/
|
|
16797
|
-
o[
|
|
16801
|
+
o[7]
|
|
16798
16802
|
), I(
|
|
16799
16803
|
t,
|
|
16800
16804
|
"mbsource",
|
|
16801
16805
|
/*mbsource*/
|
|
16802
|
-
o[
|
|
16806
|
+
o[8]
|
|
16803
16807
|
), I(t, "showmodaleventname", "ShowSelfExclusionConfirmationModal");
|
|
16804
16808
|
},
|
|
16805
16809
|
m(r, n) {
|
|
@@ -16807,54 +16811,58 @@ function Qu(o) {
|
|
|
16807
16811
|
},
|
|
16808
16812
|
p(r, n) {
|
|
16809
16813
|
n[0] & /*$_*/
|
|
16810
|
-
|
|
16811
|
-
r[
|
|
16812
|
-
|
|
16814
|
+
4194304 && i !== (i = /*$_*/
|
|
16815
|
+
r[22]("confirmationModalTitle")) && I(e, "modaltitle", i), n[0] & /*confirmationModalText*/
|
|
16816
|
+
65536 && I(
|
|
16813
16817
|
e,
|
|
16814
16818
|
"modaltext",
|
|
16815
16819
|
/*confirmationModalText*/
|
|
16816
|
-
r[
|
|
16817
|
-
), n[0] & /*userid, selectedPeriodKey*/
|
|
16818
|
-
|
|
16820
|
+
r[16]
|
|
16821
|
+
), n[0] & /*userid, selectedPeriodKey, session*/
|
|
16822
|
+
32771 && s !== (s = {
|
|
16819
16823
|
type: "setSelfExclusion",
|
|
16820
16824
|
userid: (
|
|
16821
16825
|
/*userid*/
|
|
16822
|
-
r[
|
|
16826
|
+
r[1]
|
|
16823
16827
|
),
|
|
16824
16828
|
selectedPeriodKey: (
|
|
16825
16829
|
/*selectedPeriodKey*/
|
|
16826
|
-
r[
|
|
16830
|
+
r[15]
|
|
16831
|
+
),
|
|
16832
|
+
session: (
|
|
16833
|
+
/*session*/
|
|
16834
|
+
r[0]
|
|
16827
16835
|
)
|
|
16828
16836
|
}) && I(e, "modalconfirmevent", s), n[0] & /*mbsource*/
|
|
16829
|
-
|
|
16837
|
+
256 && I(
|
|
16830
16838
|
e,
|
|
16831
16839
|
"mbsource",
|
|
16832
16840
|
/*mbsource*/
|
|
16833
|
-
r[
|
|
16841
|
+
r[8]
|
|
16834
16842
|
), n[0] & /*lang*/
|
|
16835
|
-
|
|
16843
|
+
4 && I(
|
|
16836
16844
|
e,
|
|
16837
16845
|
"lang",
|
|
16838
16846
|
/*lang*/
|
|
16839
|
-
r[
|
|
16847
|
+
r[2]
|
|
16840
16848
|
), n[0] & /*clientstyling*/
|
|
16841
|
-
|
|
16849
|
+
64 && I(
|
|
16842
16850
|
t,
|
|
16843
16851
|
"clientstyling",
|
|
16844
16852
|
/*clientstyling*/
|
|
16845
|
-
r[
|
|
16853
|
+
r[6]
|
|
16846
16854
|
), n[0] & /*clientstylingurl*/
|
|
16847
|
-
|
|
16855
|
+
128 && I(
|
|
16848
16856
|
t,
|
|
16849
16857
|
"clientstylingurl",
|
|
16850
16858
|
/*clientstylingurl*/
|
|
16851
|
-
r[
|
|
16859
|
+
r[7]
|
|
16852
16860
|
), n[0] & /*mbsource*/
|
|
16853
|
-
|
|
16861
|
+
256 && I(
|
|
16854
16862
|
t,
|
|
16855
16863
|
"mbsource",
|
|
16856
16864
|
/*mbsource*/
|
|
16857
|
-
r[
|
|
16865
|
+
r[8]
|
|
16858
16866
|
);
|
|
16859
16867
|
},
|
|
16860
16868
|
d(r) {
|
|
@@ -16895,7 +16903,7 @@ function id(o) {
|
|
|
16895
16903
|
function e(r, n) {
|
|
16896
16904
|
return (
|
|
16897
16905
|
/*skeletonLoading*/
|
|
16898
|
-
r[
|
|
16906
|
+
r[21] ? Ku : qu
|
|
16899
16907
|
);
|
|
16900
16908
|
}
|
|
16901
16909
|
let i = e(o), s = i(o);
|
|
@@ -16918,8 +16926,8 @@ function id(o) {
|
|
|
16918
16926
|
}
|
|
16919
16927
|
function od(o, t, e) {
|
|
16920
16928
|
let i;
|
|
16921
|
-
Qr(o, ln, (
|
|
16922
|
-
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 = en(G) !== "PC",
|
|
16929
|
+
Qr(o, ln, (x) => e(22, i = x)), Ce.extend(dn);
|
|
16930
|
+
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 = en(G) !== "PC", w = !1, _ = !1, A = !1, S = !1, F = b === "true", H = !0;
|
|
16923
16931
|
const U = () => {
|
|
16924
16932
|
fetch(f).then((ne) => ne.json()).then((ne) => {
|
|
16925
16933
|
Object.keys(ne).forEach((ae) => {
|
|
@@ -16929,19 +16937,19 @@ function od(o, t, e) {
|
|
|
16929
16937
|
console.log(ne);
|
|
16930
16938
|
});
|
|
16931
16939
|
};
|
|
16932
|
-
Object.keys(_o).forEach((
|
|
16933
|
-
mo(
|
|
16940
|
+
Object.keys(_o).forEach((x) => {
|
|
16941
|
+
mo(x, _o[x]);
|
|
16934
16942
|
});
|
|
16935
16943
|
const W = () => {
|
|
16936
|
-
let
|
|
16937
|
-
fetch(
|
|
16944
|
+
let x = new URL(`${s}/v1/player/selfExclusionSettings`);
|
|
16945
|
+
fetch(x, {
|
|
16938
16946
|
method: "GET",
|
|
16939
16947
|
headers: {
|
|
16940
16948
|
"Content-Type": "application/json",
|
|
16941
16949
|
Accept: "application/json"
|
|
16942
16950
|
}
|
|
16943
16951
|
}).then((ae) => he(ae)).then((ae) => {
|
|
16944
|
-
e(
|
|
16952
|
+
e(11, $ = ae.periods);
|
|
16945
16953
|
}).catch((ae) => {
|
|
16946
16954
|
console.log(ae), window.postMessage(
|
|
16947
16955
|
{
|
|
@@ -16951,56 +16959,56 @@ function od(o, t, e) {
|
|
|
16951
16959
|
window.location.href
|
|
16952
16960
|
);
|
|
16953
16961
|
}).finally(() => {
|
|
16954
|
-
e(
|
|
16962
|
+
e(21, H = !1);
|
|
16955
16963
|
});
|
|
16956
|
-
}, ee = (
|
|
16957
|
-
|
|
16958
|
-
}, he = (
|
|
16964
|
+
}, ee = (x) => {
|
|
16965
|
+
x.data.type === "setSelfExclusion" && (e(1, n = x.data.userid), e(15, ie = x.data.selectedPeriodKey), e(0, r = x.data.session), Y());
|
|
16966
|
+
}, he = (x) => st(this, null, function* () {
|
|
16959
16967
|
var ne;
|
|
16960
|
-
if (!
|
|
16961
|
-
q = yield
|
|
16968
|
+
if (!x.ok) {
|
|
16969
|
+
q = yield x.json(), v = (ne = q.thirdPartyResponse) == null ? void 0 : ne.errorCode;
|
|
16962
16970
|
const ae = i(v || "generalError");
|
|
16963
16971
|
throw new Error(ae);
|
|
16964
16972
|
}
|
|
16965
|
-
return
|
|
16973
|
+
return x.json();
|
|
16966
16974
|
}), ce = () => {
|
|
16967
|
-
e(
|
|
16968
|
-
}, te = (
|
|
16969
|
-
switch (j =
|
|
16975
|
+
e(20, S = !S);
|
|
16976
|
+
}, te = (x) => {
|
|
16977
|
+
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) {
|
|
16970
16978
|
case "Until":
|
|
16971
|
-
e(
|
|
16979
|
+
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);
|
|
16972
16980
|
break;
|
|
16973
16981
|
case "Permanent":
|
|
16974
|
-
e(
|
|
16982
|
+
e(17, w = !w);
|
|
16975
16983
|
break;
|
|
16976
16984
|
default:
|
|
16977
16985
|
const [ne, ae] = j.split(" "), Ne = ae.includes("Day") ? "days" : ae.includes("Month") ? "months" : ae.includes("Year") ? "years" : null;
|
|
16978
16986
|
if (!Ne)
|
|
16979
16987
|
return;
|
|
16980
|
-
e(
|
|
16988
|
+
e(14, k = Ce().add(Number(ne), Ne).format("YYYY-MM-DD"));
|
|
16981
16989
|
break;
|
|
16982
16990
|
}
|
|
16983
16991
|
F && Z();
|
|
16984
16992
|
}, Z = () => {
|
|
16985
16993
|
if (!F || !j || !k) {
|
|
16986
|
-
e(
|
|
16994
|
+
e(16, E = "");
|
|
16987
16995
|
return;
|
|
16988
16996
|
}
|
|
16989
|
-
e(
|
|
16997
|
+
e(16, E = _ ? i("confirmationModalTextUntilSelfExclusion", {
|
|
16990
16998
|
values: {
|
|
16991
16999
|
date: Ce(k).format(K)
|
|
16992
17000
|
}
|
|
16993
17001
|
}) : i("confirmationModalTextPeriodSelfExclusion", { values: { period: i(j) } }));
|
|
16994
|
-
}, L = (
|
|
16995
|
-
|
|
17002
|
+
}, L = (x) => {
|
|
17003
|
+
x.preventDefault(), F ? (Z(), window.postMessage(
|
|
16996
17004
|
{
|
|
16997
17005
|
type: "ShowSelfExclusionConfirmationModal"
|
|
16998
17006
|
},
|
|
16999
17007
|
window.location.href
|
|
17000
17008
|
)) : Y();
|
|
17001
17009
|
}, Y = () => {
|
|
17002
|
-
e(
|
|
17003
|
-
const
|
|
17010
|
+
e(21, H = !0);
|
|
17011
|
+
const x = new URL(`${s}/v2/player/${n}/limits${l === "gm16" ? "/session" : ""}`), ae = {
|
|
17004
17012
|
method: "PUT",
|
|
17005
17013
|
headers: {
|
|
17006
17014
|
"X-SessionID": r,
|
|
@@ -17016,7 +17024,7 @@ function od(o, t, e) {
|
|
|
17016
17024
|
}
|
|
17017
17025
|
})
|
|
17018
17026
|
};
|
|
17019
|
-
fetch(
|
|
17027
|
+
fetch(x.href, ae).then((Ne) => he(Ne)).then((Ne) => {
|
|
17020
17028
|
window.postMessage(
|
|
17021
17029
|
{
|
|
17022
17030
|
type: "WidgetNotification",
|
|
@@ -17039,7 +17047,7 @@ function od(o, t, e) {
|
|
|
17039
17047
|
window.location.href
|
|
17040
17048
|
);
|
|
17041
17049
|
}).finally(() => {
|
|
17042
|
-
e(
|
|
17050
|
+
e(21, H = !1);
|
|
17043
17051
|
});
|
|
17044
17052
|
}, pe = () => {
|
|
17045
17053
|
window.postMessage(
|
|
@@ -17049,15 +17057,15 @@ function od(o, t, e) {
|
|
|
17049
17057
|
},
|
|
17050
17058
|
window.location.href
|
|
17051
17059
|
);
|
|
17052
|
-
}, ue = (
|
|
17053
|
-
e(
|
|
17060
|
+
}, ue = (x) => {
|
|
17061
|
+
e(14, k = x.target.value);
|
|
17054
17062
|
}, de = () => {
|
|
17055
17063
|
N.addEventListener("change", ue, !1), e(
|
|
17056
|
-
|
|
17064
|
+
10,
|
|
17057
17065
|
N.i18n = Dt(Ct({}, N.i18n), {
|
|
17058
|
-
formatDate: (
|
|
17059
|
-
parseDate: (
|
|
17060
|
-
const ne = Ce(
|
|
17066
|
+
formatDate: (x) => Ce(new Date(x.year, x.month, x.day)).format(K),
|
|
17067
|
+
parseDate: (x) => {
|
|
17068
|
+
const ne = Ce(x, K);
|
|
17061
17069
|
return {
|
|
17062
17070
|
year: ne.year(),
|
|
17063
17071
|
month: ne.month(),
|
|
@@ -17073,31 +17081,32 @@ function od(o, t, e) {
|
|
|
17073
17081
|
}));
|
|
17074
17082
|
const ge = () => {
|
|
17075
17083
|
hn(a);
|
|
17076
|
-
}, P = () => pe(), J = () => ce(), oe = (
|
|
17077
|
-
function At(
|
|
17078
|
-
po[
|
|
17079
|
-
N =
|
|
17084
|
+
}, P = () => pe(), J = () => ce(), oe = (x) => te(x);
|
|
17085
|
+
function At(x) {
|
|
17086
|
+
po[x ? "unshift" : "push"](() => {
|
|
17087
|
+
N = x, e(10, N);
|
|
17080
17088
|
});
|
|
17081
17089
|
}
|
|
17082
|
-
const Rr = (
|
|
17083
|
-
function Hr(
|
|
17084
|
-
po[
|
|
17085
|
-
z =
|
|
17090
|
+
const Rr = (x) => L(x);
|
|
17091
|
+
function Hr(x) {
|
|
17092
|
+
po[x ? "unshift" : "push"](() => {
|
|
17093
|
+
z = x, e(9, z);
|
|
17086
17094
|
});
|
|
17087
17095
|
}
|
|
17088
|
-
return o.$$set = (
|
|
17089
|
-
"endpoint" in
|
|
17096
|
+
return o.$$set = (x) => {
|
|
17097
|
+
"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);
|
|
17090
17098
|
}, o.$$.update = () => {
|
|
17091
17099
|
o.$$.dirty[0] & /*lang*/
|
|
17092
|
-
|
|
17093
|
-
|
|
17100
|
+
4 && a && ge(), o.$$.dirty[0] & /*endpoint, session, userid*/
|
|
17101
|
+
1073741827 | o.$$.dirty[1] & /*gmversion*/
|
|
17094
17102
|
1 && s && r && n && l && W(), o.$$.dirty[0] & /*calendar*/
|
|
17095
|
-
|
|
17096
|
-
|
|
17097
|
-
|
|
17098
|
-
|
|
17103
|
+
1024 && N && de(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
17104
|
+
576 && h && z && rn(z, h), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
17105
|
+
640 && p && z && on(z, p), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
17106
|
+
768 && y && z && sn(z, `${y}.Style`), o.$$.dirty[1] & /*translationurl*/
|
|
17099
17107
|
2 && f && U();
|
|
17100
17108
|
}, F && Z(), [
|
|
17109
|
+
r,
|
|
17101
17110
|
n,
|
|
17102
17111
|
a,
|
|
17103
17112
|
c,
|
|
@@ -17114,7 +17123,7 @@ function od(o, t, e) {
|
|
|
17114
17123
|
k,
|
|
17115
17124
|
ie,
|
|
17116
17125
|
E,
|
|
17117
|
-
|
|
17126
|
+
w,
|
|
17118
17127
|
_,
|
|
17119
17128
|
A,
|
|
17120
17129
|
S,
|
|
@@ -17128,7 +17137,6 @@ function od(o, t, e) {
|
|
|
17128
17137
|
L,
|
|
17129
17138
|
pe,
|
|
17130
17139
|
s,
|
|
17131
|
-
r,
|
|
17132
17140
|
l,
|
|
17133
17141
|
f,
|
|
17134
17142
|
b,
|
|
@@ -17151,17 +17159,17 @@ class sd extends Kr {
|
|
|
17151
17159
|
id,
|
|
17152
17160
|
Xr,
|
|
17153
17161
|
{
|
|
17154
|
-
endpoint:
|
|
17155
|
-
session:
|
|
17156
|
-
userid:
|
|
17157
|
-
lang:
|
|
17162
|
+
endpoint: 30,
|
|
17163
|
+
session: 0,
|
|
17164
|
+
userid: 1,
|
|
17165
|
+
lang: 2,
|
|
17158
17166
|
gmversion: 31,
|
|
17159
|
-
operator:
|
|
17160
|
-
supportemail:
|
|
17161
|
-
baseurl:
|
|
17162
|
-
clientstyling:
|
|
17163
|
-
clientstylingurl:
|
|
17164
|
-
mbsource:
|
|
17167
|
+
operator: 3,
|
|
17168
|
+
supportemail: 4,
|
|
17169
|
+
baseurl: 5,
|
|
17170
|
+
clientstyling: 6,
|
|
17171
|
+
clientstylingurl: 7,
|
|
17172
|
+
mbsource: 8,
|
|
17165
17173
|
translationurl: 32,
|
|
17166
17174
|
hasconfirmationmodal: 33,
|
|
17167
17175
|
dateformat: 34,
|
|
@@ -17172,25 +17180,25 @@ class sd extends Kr {
|
|
|
17172
17180
|
);
|
|
17173
17181
|
}
|
|
17174
17182
|
get endpoint() {
|
|
17175
|
-
return this.$$.ctx[
|
|
17183
|
+
return this.$$.ctx[30];
|
|
17176
17184
|
}
|
|
17177
17185
|
set endpoint(t) {
|
|
17178
17186
|
this.$$set({ endpoint: t }), fe();
|
|
17179
17187
|
}
|
|
17180
17188
|
get session() {
|
|
17181
|
-
return this.$$.ctx[
|
|
17189
|
+
return this.$$.ctx[0];
|
|
17182
17190
|
}
|
|
17183
17191
|
set session(t) {
|
|
17184
17192
|
this.$$set({ session: t }), fe();
|
|
17185
17193
|
}
|
|
17186
17194
|
get userid() {
|
|
17187
|
-
return this.$$.ctx[
|
|
17195
|
+
return this.$$.ctx[1];
|
|
17188
17196
|
}
|
|
17189
17197
|
set userid(t) {
|
|
17190
17198
|
this.$$set({ userid: t }), fe();
|
|
17191
17199
|
}
|
|
17192
17200
|
get lang() {
|
|
17193
|
-
return this.$$.ctx[
|
|
17201
|
+
return this.$$.ctx[2];
|
|
17194
17202
|
}
|
|
17195
17203
|
set lang(t) {
|
|
17196
17204
|
this.$$set({ lang: t }), fe();
|
|
@@ -17202,37 +17210,37 @@ class sd extends Kr {
|
|
|
17202
17210
|
this.$$set({ gmversion: t }), fe();
|
|
17203
17211
|
}
|
|
17204
17212
|
get operator() {
|
|
17205
|
-
return this.$$.ctx[
|
|
17213
|
+
return this.$$.ctx[3];
|
|
17206
17214
|
}
|
|
17207
17215
|
set operator(t) {
|
|
17208
17216
|
this.$$set({ operator: t }), fe();
|
|
17209
17217
|
}
|
|
17210
17218
|
get supportemail() {
|
|
17211
|
-
return this.$$.ctx[
|
|
17219
|
+
return this.$$.ctx[4];
|
|
17212
17220
|
}
|
|
17213
17221
|
set supportemail(t) {
|
|
17214
17222
|
this.$$set({ supportemail: t }), fe();
|
|
17215
17223
|
}
|
|
17216
17224
|
get baseurl() {
|
|
17217
|
-
return this.$$.ctx[
|
|
17225
|
+
return this.$$.ctx[5];
|
|
17218
17226
|
}
|
|
17219
17227
|
set baseurl(t) {
|
|
17220
17228
|
this.$$set({ baseurl: t }), fe();
|
|
17221
17229
|
}
|
|
17222
17230
|
get clientstyling() {
|
|
17223
|
-
return this.$$.ctx[
|
|
17231
|
+
return this.$$.ctx[6];
|
|
17224
17232
|
}
|
|
17225
17233
|
set clientstyling(t) {
|
|
17226
17234
|
this.$$set({ clientstyling: t }), fe();
|
|
17227
17235
|
}
|
|
17228
17236
|
get clientstylingurl() {
|
|
17229
|
-
return this.$$.ctx[
|
|
17237
|
+
return this.$$.ctx[7];
|
|
17230
17238
|
}
|
|
17231
17239
|
set clientstylingurl(t) {
|
|
17232
17240
|
this.$$set({ clientstylingurl: t }), fe();
|
|
17233
17241
|
}
|
|
17234
17242
|
get mbsource() {
|
|
17235
|
-
return this.$$.ctx[
|
|
17243
|
+
return this.$$.ctx[8];
|
|
17236
17244
|
}
|
|
17237
17245
|
set mbsource(t) {
|
|
17238
17246
|
this.$$set({ mbsource: t }), fe();
|