@everymatrix/player-account-self-exclusion 1.72.2 → 1.73.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountSelfExclusion-C4-j4vxA.cjs → PlayerAccountSelfExclusion-BKTRCHvf.cjs} +8 -8
- package/components/{PlayerAccountSelfExclusion-Dxkoz2JQ.js → PlayerAccountSelfExclusion-C7fMViub.js} +70 -71
- package/components/{PlayerAccountSelfExclusion-BgG904op.js → PlayerAccountSelfExclusion-CnnL0A6g.js} +98 -98
- 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-BgG904op.js → PlayerAccountSelfExclusion-CnnL0A6g.js}
RENAMED
|
@@ -26,7 +26,7 @@ var rt = (o, t, e) => new Promise((i, s) => {
|
|
|
26
26
|
}, a = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(r, n);
|
|
27
27
|
a((e = e.apply(o, t)).next());
|
|
28
28
|
});
|
|
29
|
-
import { B as hs, C as ps, D as Wr, $ as qr, S as Kr, a as Gr, f as
|
|
29
|
+
import { B as hs, C as ps, D as Wr, $ as qr, S as Kr, a as Gr, f as fe, s as Jr, A as Xr, b as Zr, E as _i, d as be, g as xe, q as T, F as Qr, G as en, o as tn, v as po, p as g, H as X, I, J as Xt, r as M, K as fo, L as on, M as sn, N as ye, O as We, P as zt, Q as _e, R as ke, T as rn, x as nn, y as an, z as ln } from "./PlayerAccountGeneralConfirmationModal-DTX1CBzd.js";
|
|
30
30
|
import "../stencil/ui-skeleton-Ca5rz3Hv.js";
|
|
31
31
|
var fs = { exports: {} };
|
|
32
32
|
(function(o, t) {
|
|
@@ -130,24 +130,24 @@ var fs = { exports: {} };
|
|
|
130
130
|
return A ? Y : Y.endOf(c);
|
|
131
131
|
}, H = function(Z, L) {
|
|
132
132
|
return k.w(_.toDate()[Z].apply(_.toDate("s"), (A ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(L)), _);
|
|
133
|
-
}, V = this.$W, W = this.$M, ee = this.$D,
|
|
133
|
+
}, V = this.$W, W = this.$M, ee = this.$D, he = "set" + (this.$u ? "UTC" : "");
|
|
134
134
|
switch (S) {
|
|
135
135
|
case p:
|
|
136
136
|
return A ? F(1, 0) : F(31, 11);
|
|
137
137
|
case d:
|
|
138
138
|
return A ? F(1, W) : F(0, W + 1);
|
|
139
139
|
case u:
|
|
140
|
-
var
|
|
140
|
+
var ce = this.$locale().weekStart || 0, te = (V < ce ? V + 7 : V) - ce;
|
|
141
141
|
return F(A ? ee - te : ee + (6 - te), W);
|
|
142
142
|
case c:
|
|
143
143
|
case y:
|
|
144
|
-
return H(
|
|
144
|
+
return H(he + "Hours", 0);
|
|
145
145
|
case l:
|
|
146
|
-
return H(
|
|
146
|
+
return H(he + "Minutes", 1);
|
|
147
147
|
case a:
|
|
148
|
-
return H(
|
|
148
|
+
return H(he + "Seconds", 2);
|
|
149
149
|
case n:
|
|
150
|
-
return H(
|
|
150
|
+
return H(he + "Milliseconds", 3);
|
|
151
151
|
default:
|
|
152
152
|
return this.clone();
|
|
153
153
|
}
|
|
@@ -188,17 +188,17 @@ var fs = { exports: {} };
|
|
|
188
188
|
var x = this, _ = this.$locale();
|
|
189
189
|
if (!this.isValid())
|
|
190
190
|
return _.invalidDate || f;
|
|
191
|
-
var A = m || "YYYY-MM-DDTHH:mm:ssZ", S = k.z(this), F = this.$H, H = this.$m, V = this.$M, W = _.weekdays, ee = _.months,
|
|
192
|
-
return L && (L[Y] || L(x, A)) ||
|
|
191
|
+
var A = m || "YYYY-MM-DDTHH:mm:ssZ", S = k.z(this), F = this.$H, H = this.$m, V = this.$M, W = _.weekdays, ee = _.months, he = _.meridiem, ce = function(L, Y, pe, ue) {
|
|
192
|
+
return L && (L[Y] || L(x, A)) || pe[Y].slice(0, ue);
|
|
193
193
|
}, te = function(L) {
|
|
194
194
|
return k.s(F % 12 || 12, L, "0");
|
|
195
|
-
}, Z =
|
|
196
|
-
var
|
|
197
|
-
return
|
|
195
|
+
}, Z = he || function(L, Y, pe) {
|
|
196
|
+
var ue = L < 12 ? "AM" : "PM";
|
|
197
|
+
return pe ? ue.toLowerCase() : ue;
|
|
198
198
|
};
|
|
199
199
|
return A.replace(D, function(L, Y) {
|
|
200
|
-
return Y || function(
|
|
201
|
-
switch (
|
|
200
|
+
return Y || function(pe) {
|
|
201
|
+
switch (pe) {
|
|
202
202
|
case "YY":
|
|
203
203
|
return String(x.$y).slice(-2);
|
|
204
204
|
case "YYYY":
|
|
@@ -208,9 +208,9 @@ var fs = { exports: {} };
|
|
|
208
208
|
case "MM":
|
|
209
209
|
return k.s(V + 1, 2, "0");
|
|
210
210
|
case "MMM":
|
|
211
|
-
return
|
|
211
|
+
return ce(_.monthsShort, V, ee, 3);
|
|
212
212
|
case "MMMM":
|
|
213
|
-
return
|
|
213
|
+
return ce(ee, V);
|
|
214
214
|
case "D":
|
|
215
215
|
return x.$D;
|
|
216
216
|
case "DD":
|
|
@@ -218,9 +218,9 @@ var fs = { exports: {} };
|
|
|
218
218
|
case "d":
|
|
219
219
|
return String(x.$W);
|
|
220
220
|
case "dd":
|
|
221
|
-
return
|
|
221
|
+
return ce(_.weekdaysMin, x.$W, W, 2);
|
|
222
222
|
case "ddd":
|
|
223
|
-
return
|
|
223
|
+
return ce(_.weekdaysShort, x.$W, W, 3);
|
|
224
224
|
case "dddd":
|
|
225
225
|
return W[x.$W];
|
|
226
226
|
case "H":
|
|
@@ -426,10 +426,10 @@ var ms = { exports: {} };
|
|
|
426
426
|
try {
|
|
427
427
|
if (["x", "X"].indexOf(x) > -1)
|
|
428
428
|
return new Date((x === "X" ? 1e3 : 1) * m);
|
|
429
|
-
var A = y(x)(m), S = A.year, F = A.month, H = A.day, V = A.hours, W = A.minutes, ee = A.seconds,
|
|
429
|
+
var A = y(x)(m), S = A.year, F = A.month, H = A.day, V = 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
|
-
var
|
|
432
|
-
return
|
|
431
|
+
var pe = V || 0, ue = W || 0, de = ee || 0, ge = he || 0;
|
|
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);
|
|
433
433
|
} catch (P) {
|
|
434
434
|
return /* @__PURE__ */ new Date("");
|
|
435
435
|
}
|
|
@@ -3904,7 +3904,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3904
3904
|
Code distributed by Google as part of the polymer project is also
|
|
3905
3905
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3906
3906
|
*/
|
|
3907
|
-
const
|
|
3907
|
+
const le = window.ShadyDOM && window.ShadyDOM.noPatch && window.ShadyDOM.wrap ? window.ShadyDOM.wrap : window.ShadyDOM ? (o) => ShadyDOM.patch(o) : (o) => o;
|
|
3908
3908
|
/**
|
|
3909
3909
|
@license
|
|
3910
3910
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -4463,7 +4463,7 @@ const Sa = Ws, qs = oe(
|
|
|
4463
4463
|
_valueToNodeAttribute(i, s, r) {
|
|
4464
4464
|
const n = this._serializeValue(s);
|
|
4465
4465
|
(r === "class" || r === "name" || r === "slot") && (i = /** @type {?Element} */
|
|
4466
|
-
|
|
4466
|
+
le(i)), n === void 0 ? i.removeAttribute(r) : i.setAttribute(
|
|
4467
4467
|
r,
|
|
4468
4468
|
// Closure's type for `setAttribute`'s second parameter incorrectly
|
|
4469
4469
|
// excludes `TrustedScript`.
|
|
@@ -5247,7 +5247,7 @@ function Xs(o, t, e, i) {
|
|
|
5247
5247
|
value: e,
|
|
5248
5248
|
queueProperty: !0
|
|
5249
5249
|
};
|
|
5250
|
-
i && (s.path = i),
|
|
5250
|
+
i && (s.path = i), le(
|
|
5251
5251
|
/** @type {!HTMLElement} */
|
|
5252
5252
|
o
|
|
5253
5253
|
).dispatchEvent(new CustomEvent(t, { detail: s }));
|
|
@@ -5457,7 +5457,7 @@ function il(o, t) {
|
|
|
5457
5457
|
for (let n = 0; n < i.length; n++)
|
|
5458
5458
|
s[n] = i[n].literal;
|
|
5459
5459
|
let r = t.target;
|
|
5460
|
-
e[r] = s, t.literal && t.kind == "property" && (r === "className" && (o =
|
|
5460
|
+
e[r] = s, t.literal && t.kind == "property" && (r === "className" && (o = le(o)), o[r] = t.literal);
|
|
5461
5461
|
}
|
|
5462
5462
|
}
|
|
5463
5463
|
function ol(o, t, e) {
|
|
@@ -5790,7 +5790,7 @@ const Gi = oe((o) => {
|
|
|
5790
5790
|
*/
|
|
5791
5791
|
_setUnmanagedPropertyToNode(s, r, n) {
|
|
5792
5792
|
(n !== s[r] || typeof n == "object") && (r === "className" && (s = /** @type {!Node} */
|
|
5793
|
-
|
|
5793
|
+
le(s)), s[r] = n);
|
|
5794
5794
|
}
|
|
5795
5795
|
/**
|
|
5796
5796
|
* Overrides the `PropertiesChanged` implementation to introduce special
|
|
@@ -6704,7 +6704,7 @@ const Gi = oe((o) => {
|
|
|
6704
6704
|
let c = r.childNodes;
|
|
6705
6705
|
for (let u = 0; u < c.length; u++) {
|
|
6706
6706
|
let d = c[u];
|
|
6707
|
-
|
|
6707
|
+
le(le(d).parentNode).removeChild(d);
|
|
6708
6708
|
}
|
|
6709
6709
|
}
|
|
6710
6710
|
/**
|
|
@@ -7452,7 +7452,7 @@ const bl = "3.5.2", jo = window.ShadyCSS && window.ShadyCSS.cssBuild, xl = oe((o
|
|
|
7452
7452
|
* @return {ShadowRoot} node to which the dom has been attached.
|
|
7453
7453
|
*/
|
|
7454
7454
|
_attachDom(c) {
|
|
7455
|
-
const u =
|
|
7455
|
+
const u = le(this);
|
|
7456
7456
|
if (u.attachShadow)
|
|
7457
7457
|
return c ? (u.shadowRoot || (u.attachShadow({ mode: "open", shadyUpgradeFragment: c }), u.shadowRoot.appendChild(c), this.constructor._styleSheet && (u.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), na && window.ShadyDOM && window.ShadyDOM.flushInitial(u.shadowRoot), u.shadowRoot) : null;
|
|
7458
7458
|
throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.");
|
|
@@ -11716,10 +11716,10 @@ function iu(o, t) {
|
|
|
11716
11716
|
o ? (i.__polymerTextContent__ = i.textContent, i.textContent = "") : i.textContent = i.__polymerTextContent__;
|
|
11717
11717
|
else if (i.localName === "slot")
|
|
11718
11718
|
if (o)
|
|
11719
|
-
i.__polymerReplaced__ = document.createComment("hidden-slot"),
|
|
11719
|
+
i.__polymerReplaced__ = document.createComment("hidden-slot"), le(le(i).parentNode).replaceChild(i.__polymerReplaced__, i);
|
|
11720
11720
|
else {
|
|
11721
11721
|
const s = i.__polymerReplaced__;
|
|
11722
|
-
s &&
|
|
11722
|
+
s && le(le(s).parentNode).replaceChild(i, s);
|
|
11723
11723
|
}
|
|
11724
11724
|
else
|
|
11725
11725
|
i.style && (o ? (i.__polymerDisplay__ = i.style.display, i.style.display = "none") : i.style.display = i.__polymerDisplay__);
|
|
@@ -11988,7 +11988,7 @@ function du(o, t) {
|
|
|
11988
11988
|
else
|
|
11989
11989
|
return e;
|
|
11990
11990
|
else
|
|
11991
|
-
t =
|
|
11991
|
+
t = le(t).parentNode;
|
|
11992
11992
|
return null;
|
|
11993
11993
|
}
|
|
11994
11994
|
/**
|
|
@@ -12202,7 +12202,7 @@ class is extends pu {
|
|
|
12202
12202
|
connectedCallback() {
|
|
12203
12203
|
if (super.connectedCallback(), hu() || (this.style.display = "none"), this.__isDetached) {
|
|
12204
12204
|
this.__isDetached = !1;
|
|
12205
|
-
let t =
|
|
12205
|
+
let t = le(le(this).parentNode);
|
|
12206
12206
|
for (let e = 0; e < this.__instances.length; e++)
|
|
12207
12207
|
this.__attachInstance(e, t);
|
|
12208
12208
|
this.__chunkingId && this.__render();
|
|
@@ -12370,7 +12370,7 @@ class is extends pu {
|
|
|
12370
12370
|
}
|
|
12371
12371
|
__detachInstance(t) {
|
|
12372
12372
|
let e = this.__instances[t];
|
|
12373
|
-
const i =
|
|
12373
|
+
const i = le(e.root);
|
|
12374
12374
|
for (let s = 0; s < e.children.length; s++) {
|
|
12375
12375
|
let r = e.children[s];
|
|
12376
12376
|
i.appendChild(r);
|
|
@@ -12391,7 +12391,7 @@ class is extends pu {
|
|
|
12391
12391
|
__insertInstance(t, e, i) {
|
|
12392
12392
|
const s = this.__stampInstance(t, e, i);
|
|
12393
12393
|
let r = this.__instances[e + 1], n = r ? r.children[0] : this;
|
|
12394
|
-
return
|
|
12394
|
+
return le(le(this).parentNode).insertBefore(s.root, n), this.__instances[e] = s, s;
|
|
12395
12395
|
}
|
|
12396
12396
|
// Implements extension point from Templatize mixin
|
|
12397
12397
|
/**
|
|
@@ -16316,7 +16316,7 @@ function qu(o) {
|
|
|
16316
16316
|
), G, U, O, k, j, se, E, v, m, x, _, A, S, F = (
|
|
16317
16317
|
/*$_*/
|
|
16318
16318
|
o[20]("save") + ""
|
|
16319
|
-
), H, V, W, ee,
|
|
16319
|
+
), H, V, W, ee, he, ce, te = (
|
|
16320
16320
|
/*isMobile*/
|
|
16321
16321
|
o[22] && Gu(o)
|
|
16322
16322
|
), Z = fo(
|
|
@@ -16329,7 +16329,7 @@ function qu(o) {
|
|
|
16329
16329
|
/*isUntilDate*/
|
|
16330
16330
|
o[16] && rs(o)
|
|
16331
16331
|
);
|
|
16332
|
-
function
|
|
16332
|
+
function pe(P, J) {
|
|
16333
16333
|
return (
|
|
16334
16334
|
/*isPermanentSelfExclusion*/
|
|
16335
16335
|
P[15] ? Zu : (
|
|
@@ -16338,7 +16338,7 @@ function qu(o) {
|
|
|
16338
16338
|
)
|
|
16339
16339
|
);
|
|
16340
16340
|
}
|
|
16341
|
-
let
|
|
16341
|
+
let ue = pe(o), de = ue(o), ge = (
|
|
16342
16342
|
/*showConfirmationModal*/
|
|
16343
16343
|
o[23] && Qu(o)
|
|
16344
16344
|
);
|
|
@@ -16350,7 +16350,7 @@ function qu(o) {
|
|
|
16350
16350
|
), z = X(), N = T("div"), $ = T("div"), q = T("p"), G = _e(K), U = X(), O = ke("svg"), k = ke("g"), j = ke("path"), se = X(), E = T("div");
|
|
16351
16351
|
for (let P = 0; P < L.length; P += 1)
|
|
16352
16352
|
L[P].c();
|
|
16353
|
-
v = X(), Y && Y.c(), m = X(), x = T("div"),
|
|
16353
|
+
v = X(), Y && Y.c(), m = X(), x = T("div"), de.c(), _ = X(), A = T("div"), S = T("button"), H = _e(F), ee = X(), ge && ge.c(), M(s, "class", "PlayerSelfExclusionTitle " + /*isMobile*/
|
|
16354
16354
|
(o[22] ? "PlayerSelfExclusionTitleNone" : "")), M(c, "class", "SelfExclusionDescriptionText"), M(b, "href", C = "mailto:" + /*supportemail*/
|
|
16355
16355
|
o[2]), M(h, "class", "SelfExclusionDescriptionText"), M(l, "class", "SelfExclusionDescription " + /*isMobile*/
|
|
16356
16356
|
(o[22] ? "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"), We(
|
|
@@ -16380,7 +16380,7 @@ function qu(o) {
|
|
|
16380
16380
|
xe(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($, U), g($, O), g(O, k), g(k, j), g(N, se), g(N, E);
|
|
16381
16381
|
for (let ie = 0; ie < L.length; ie += 1)
|
|
16382
16382
|
L[ie] && L[ie].m(E, null);
|
|
16383
|
-
g(e, v), Y && Y.m(e, null), g(e, m), g(e, x),
|
|
16383
|
+
g(e, v), Y && Y.m(e, null), g(e, m), g(e, x), de.m(x, null), g(e, _), g(e, A), g(A, S), g(S, H), g(t, ee), ge && ge.m(t, null), he || (ce = [
|
|
16384
16384
|
zt(
|
|
16385
16385
|
$,
|
|
16386
16386
|
"click",
|
|
@@ -16393,7 +16393,7 @@ function qu(o) {
|
|
|
16393
16393
|
/*click_handler_3*/
|
|
16394
16394
|
o[40]
|
|
16395
16395
|
)
|
|
16396
|
-
],
|
|
16396
|
+
], he = !0);
|
|
16397
16397
|
},
|
|
16398
16398
|
p(P, J) {
|
|
16399
16399
|
if (
|
|
@@ -16464,7 +16464,7 @@ function qu(o) {
|
|
|
16464
16464
|
/*isPeriodDropDownToggled*/
|
|
16465
16465
|
P[18]
|
|
16466
16466
|
), /*isUntilDate*/
|
|
16467
|
-
P[16] ? Y ? Y.p(P, J) : (Y = rs(P), Y.c(), Y.m(e, m)) : Y && (Y.d(1), Y = null),
|
|
16467
|
+
P[16] ? 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(x, null))), J[0] & /*$_*/
|
|
16468
16468
|
1048576 && F !== (F = /*$_*/
|
|
16469
16469
|
P[20]("save") + "") && ye(H, F), J[0] & /*isDateSelected*/
|
|
16470
16470
|
131072 && V !== (V = "SelfExclusionSave " + /*isDateSelected*/
|
|
@@ -16474,7 +16474,7 @@ function qu(o) {
|
|
|
16474
16474
|
P[23] && ge.p(P, J);
|
|
16475
16475
|
},
|
|
16476
16476
|
d(P) {
|
|
16477
|
-
P && be(t), te && te.d(), on(L, P), Y && Y.d(),
|
|
16477
|
+
P && be(t), te && te.d(), on(L, P), Y && Y.d(), de.d(), ge && ge.d(), he = !1, sn(ce);
|
|
16478
16478
|
}
|
|
16479
16479
|
};
|
|
16480
16480
|
}
|
|
@@ -16897,12 +16897,12 @@ function od(o, t, e) {
|
|
|
16897
16897
|
Qr(o, rn, (w) => e(20, i = w)), Ce.extend(dn);
|
|
16898
16898
|
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, U, O, k = "", j = "", se = "selectAPeriod", E = "", v = "", m = en(G) !== "PC", x = !1, _ = !1, A = !1, S = !1, F = b === "true", H = !0;
|
|
16899
16899
|
const V = () => {
|
|
16900
|
-
fetch(f).then((
|
|
16901
|
-
Object.keys(
|
|
16902
|
-
mo(
|
|
16900
|
+
fetch(f).then((ne) => ne.json()).then((ne) => {
|
|
16901
|
+
Object.keys(ne).forEach((ae) => {
|
|
16902
|
+
mo(ae, ne[ae]);
|
|
16903
16903
|
});
|
|
16904
|
-
}).catch((
|
|
16905
|
-
console.log(
|
|
16904
|
+
}).catch((ne) => {
|
|
16905
|
+
console.log(ne);
|
|
16906
16906
|
});
|
|
16907
16907
|
};
|
|
16908
16908
|
Object.keys(_o).forEach((w) => {
|
|
@@ -16916,30 +16916,30 @@ function od(o, t, e) {
|
|
|
16916
16916
|
"Content-Type": "application/json",
|
|
16917
16917
|
Accept: "application/json"
|
|
16918
16918
|
}
|
|
16919
|
-
}).then((
|
|
16920
|
-
e(9, $ =
|
|
16921
|
-
}).catch((
|
|
16922
|
-
console.log(
|
|
16923
|
-
}).finally(() => {
|
|
16924
|
-
e(19, H = !1);
|
|
16925
|
-
});
|
|
16926
|
-
}, ee = (w) => {
|
|
16927
|
-
w.data.type === "setSelfExclusion" && Y();
|
|
16928
|
-
}, ue = (w) => rt(this, null, function* () {
|
|
16929
|
-
if (w.status >= 300)
|
|
16930
|
-
q = yield w.json(), v = q.thirdPartyResponse.errorCode, console.error(i(v || "generalError")), window.postMessage(
|
|
16919
|
+
}).then((ae) => he(ae)).then((ae) => {
|
|
16920
|
+
e(9, $ = ae.periods);
|
|
16921
|
+
}).catch((ae) => {
|
|
16922
|
+
console.log(ae), window.postMessage(
|
|
16931
16923
|
{
|
|
16932
16924
|
type: "WidgetNotification",
|
|
16933
|
-
data: {
|
|
16934
|
-
type: "error",
|
|
16935
|
-
message: i(v || "generalError")
|
|
16936
|
-
}
|
|
16925
|
+
data: { type: "error", message: ae.message }
|
|
16937
16926
|
},
|
|
16938
16927
|
window.location.href
|
|
16939
16928
|
);
|
|
16940
|
-
|
|
16941
|
-
|
|
16942
|
-
|
|
16929
|
+
}).finally(() => {
|
|
16930
|
+
e(19, H = !1);
|
|
16931
|
+
});
|
|
16932
|
+
}, ee = (w) => {
|
|
16933
|
+
w.data.type === "setSelfExclusion" && Y();
|
|
16934
|
+
}, he = (w) => rt(this, null, function* () {
|
|
16935
|
+
var ne;
|
|
16936
|
+
if (!w.ok) {
|
|
16937
|
+
q = yield w.json(), v = (ne = q.thirdPartyResponse) == null ? void 0 : ne.errorCode;
|
|
16938
|
+
const ae = i(v || "generalError");
|
|
16939
|
+
throw new Error(ae);
|
|
16940
|
+
}
|
|
16941
|
+
return w.json();
|
|
16942
|
+
}), ce = () => {
|
|
16943
16943
|
e(18, S = !S);
|
|
16944
16944
|
}, te = (w) => {
|
|
16945
16945
|
switch (j = w.text, e(13, se = w.key), e(17, A = !0), e(18, S = !1), e(15, x = !1), e(16, _ = !1), j) {
|
|
@@ -16950,10 +16950,10 @@ function od(o, t, e) {
|
|
|
16950
16950
|
e(15, x = !x);
|
|
16951
16951
|
break;
|
|
16952
16952
|
default:
|
|
16953
|
-
const [
|
|
16953
|
+
const [ne, ae] = j.split(" "), Ne = ae.includes("Day") ? "days" : ae.includes("Month") ? "months" : ae.includes("Year") ? "years" : null;
|
|
16954
16954
|
if (!Ne)
|
|
16955
16955
|
return;
|
|
16956
|
-
e(12, k = Ce().add(Number(
|
|
16956
|
+
e(12, k = Ce().add(Number(ne), Ne).format("YYYY-MM-DD"));
|
|
16957
16957
|
break;
|
|
16958
16958
|
}
|
|
16959
16959
|
F && Z();
|
|
@@ -16976,7 +16976,7 @@ function od(o, t, e) {
|
|
|
16976
16976
|
)) : Y();
|
|
16977
16977
|
}, Y = () => {
|
|
16978
16978
|
e(19, H = !0);
|
|
16979
|
-
const w = new URL(`/v2/player/${n}/limits${l === "gm16" ? "/session" : ""}`, s),
|
|
16979
|
+
const w = new URL(`/v2/player/${n}/limits${l === "gm16" ? "/session" : ""}`, s), ae = {
|
|
16980
16980
|
method: "PUT",
|
|
16981
16981
|
headers: {
|
|
16982
16982
|
"X-SessionID": r,
|
|
@@ -16992,7 +16992,7 @@ function od(o, t, e) {
|
|
|
16992
16992
|
}
|
|
16993
16993
|
})
|
|
16994
16994
|
};
|
|
16995
|
-
fetch(w.href,
|
|
16995
|
+
fetch(w.href, ae).then((Ne) => he(Ne)).then((Ne) => {
|
|
16996
16996
|
window.postMessage(
|
|
16997
16997
|
{
|
|
16998
16998
|
type: "WidgetNotification",
|
|
@@ -17017,7 +17017,7 @@ function od(o, t, e) {
|
|
|
17017
17017
|
}).finally(() => {
|
|
17018
17018
|
e(19, H = !1);
|
|
17019
17019
|
});
|
|
17020
|
-
},
|
|
17020
|
+
}, pe = () => {
|
|
17021
17021
|
window.postMessage(
|
|
17022
17022
|
{
|
|
17023
17023
|
type: "PlayerAccountMenuActive",
|
|
@@ -17025,19 +17025,19 @@ function od(o, t, e) {
|
|
|
17025
17025
|
},
|
|
17026
17026
|
window.location.href
|
|
17027
17027
|
);
|
|
17028
|
-
},
|
|
17028
|
+
}, ue = (w) => {
|
|
17029
17029
|
e(12, k = w.target.value);
|
|
17030
|
-
},
|
|
17031
|
-
N.addEventListener("change",
|
|
17030
|
+
}, de = () => {
|
|
17031
|
+
N.addEventListener("change", ue, !1), e(
|
|
17032
17032
|
8,
|
|
17033
17033
|
N.i18n = kt(Dt({}, N.i18n), {
|
|
17034
17034
|
formatDate: (w) => Ce(new Date(w.year, w.month, w.day)).format(K),
|
|
17035
17035
|
parseDate: (w) => {
|
|
17036
|
-
const
|
|
17036
|
+
const ne = Ce(w, K);
|
|
17037
17037
|
return {
|
|
17038
|
-
year:
|
|
17039
|
-
month:
|
|
17040
|
-
day:
|
|
17038
|
+
year: ne.year(),
|
|
17039
|
+
month: ne.month(),
|
|
17040
|
+
day: ne.date()
|
|
17041
17041
|
};
|
|
17042
17042
|
}
|
|
17043
17043
|
}),
|
|
@@ -17045,11 +17045,11 @@ function od(o, t, e) {
|
|
|
17045
17045
|
);
|
|
17046
17046
|
};
|
|
17047
17047
|
tn(() => (window.addEventListener("message", ee, !1), () => {
|
|
17048
|
-
N.removeEventListener("change",
|
|
17048
|
+
N.removeEventListener("change", ue), window.removeEventListener("message", ee);
|
|
17049
17049
|
}));
|
|
17050
17050
|
const ge = () => {
|
|
17051
17051
|
hn(a);
|
|
17052
|
-
}, P = () =>
|
|
17052
|
+
}, P = () => pe(), J = () => ce(), ie = (w) => te(w);
|
|
17053
17053
|
function Ct(w) {
|
|
17054
17054
|
po[w ? "unshift" : "push"](() => {
|
|
17055
17055
|
N = w, e(8, N);
|
|
@@ -17068,7 +17068,7 @@ function od(o, t, e) {
|
|
|
17068
17068
|
1 && a && ge(), o.$$.dirty[0] & /*endpoint, session, userid*/
|
|
17069
17069
|
1879048192 | o.$$.dirty[1] & /*gmversion*/
|
|
17070
17070
|
1 && s && r && n && l && W(), o.$$.dirty[0] & /*calendar*/
|
|
17071
|
-
256 && N &&
|
|
17071
|
+
256 && N && de(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
17072
17072
|
144 && h && z && nn(z, h), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
17073
17073
|
160 && p && z && an(z, p), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
17074
17074
|
192 && y && z && ln(z, `${y}.Style`), o.$$.dirty[1] & /*translationurl*/
|
|
@@ -17098,10 +17098,10 @@ function od(o, t, e) {
|
|
|
17098
17098
|
K,
|
|
17099
17099
|
m,
|
|
17100
17100
|
F,
|
|
17101
|
-
|
|
17101
|
+
ce,
|
|
17102
17102
|
te,
|
|
17103
17103
|
L,
|
|
17104
|
-
|
|
17104
|
+
pe,
|
|
17105
17105
|
s,
|
|
17106
17106
|
r,
|
|
17107
17107
|
n,
|
|
@@ -17151,91 +17151,91 @@ class sd extends Kr {
|
|
|
17151
17151
|
return this.$$.ctx[28];
|
|
17152
17152
|
}
|
|
17153
17153
|
set endpoint(t) {
|
|
17154
|
-
this.$$set({ endpoint: t }),
|
|
17154
|
+
this.$$set({ endpoint: t }), fe();
|
|
17155
17155
|
}
|
|
17156
17156
|
get session() {
|
|
17157
17157
|
return this.$$.ctx[29];
|
|
17158
17158
|
}
|
|
17159
17159
|
set session(t) {
|
|
17160
|
-
this.$$set({ session: t }),
|
|
17160
|
+
this.$$set({ session: t }), fe();
|
|
17161
17161
|
}
|
|
17162
17162
|
get userid() {
|
|
17163
17163
|
return this.$$.ctx[30];
|
|
17164
17164
|
}
|
|
17165
17165
|
set userid(t) {
|
|
17166
|
-
this.$$set({ userid: t }),
|
|
17166
|
+
this.$$set({ userid: t }), fe();
|
|
17167
17167
|
}
|
|
17168
17168
|
get lang() {
|
|
17169
17169
|
return this.$$.ctx[0];
|
|
17170
17170
|
}
|
|
17171
17171
|
set lang(t) {
|
|
17172
|
-
this.$$set({ lang: t }),
|
|
17172
|
+
this.$$set({ lang: t }), fe();
|
|
17173
17173
|
}
|
|
17174
17174
|
get gmversion() {
|
|
17175
17175
|
return this.$$.ctx[31];
|
|
17176
17176
|
}
|
|
17177
17177
|
set gmversion(t) {
|
|
17178
|
-
this.$$set({ gmversion: t }),
|
|
17178
|
+
this.$$set({ gmversion: t }), fe();
|
|
17179
17179
|
}
|
|
17180
17180
|
get operator() {
|
|
17181
17181
|
return this.$$.ctx[1];
|
|
17182
17182
|
}
|
|
17183
17183
|
set operator(t) {
|
|
17184
|
-
this.$$set({ operator: t }),
|
|
17184
|
+
this.$$set({ operator: t }), fe();
|
|
17185
17185
|
}
|
|
17186
17186
|
get supportemail() {
|
|
17187
17187
|
return this.$$.ctx[2];
|
|
17188
17188
|
}
|
|
17189
17189
|
set supportemail(t) {
|
|
17190
|
-
this.$$set({ supportemail: t }),
|
|
17190
|
+
this.$$set({ supportemail: t }), fe();
|
|
17191
17191
|
}
|
|
17192
17192
|
get baseurl() {
|
|
17193
17193
|
return this.$$.ctx[3];
|
|
17194
17194
|
}
|
|
17195
17195
|
set baseurl(t) {
|
|
17196
|
-
this.$$set({ baseurl: t }),
|
|
17196
|
+
this.$$set({ baseurl: t }), fe();
|
|
17197
17197
|
}
|
|
17198
17198
|
get clientstyling() {
|
|
17199
17199
|
return this.$$.ctx[4];
|
|
17200
17200
|
}
|
|
17201
17201
|
set clientstyling(t) {
|
|
17202
|
-
this.$$set({ clientstyling: t }),
|
|
17202
|
+
this.$$set({ clientstyling: t }), fe();
|
|
17203
17203
|
}
|
|
17204
17204
|
get clientstylingurl() {
|
|
17205
17205
|
return this.$$.ctx[5];
|
|
17206
17206
|
}
|
|
17207
17207
|
set clientstylingurl(t) {
|
|
17208
|
-
this.$$set({ clientstylingurl: t }),
|
|
17208
|
+
this.$$set({ clientstylingurl: t }), fe();
|
|
17209
17209
|
}
|
|
17210
17210
|
get mbsource() {
|
|
17211
17211
|
return this.$$.ctx[6];
|
|
17212
17212
|
}
|
|
17213
17213
|
set mbsource(t) {
|
|
17214
|
-
this.$$set({ mbsource: t }),
|
|
17214
|
+
this.$$set({ mbsource: t }), fe();
|
|
17215
17215
|
}
|
|
17216
17216
|
get translationurl() {
|
|
17217
17217
|
return this.$$.ctx[32];
|
|
17218
17218
|
}
|
|
17219
17219
|
set translationurl(t) {
|
|
17220
|
-
this.$$set({ translationurl: t }),
|
|
17220
|
+
this.$$set({ translationurl: t }), fe();
|
|
17221
17221
|
}
|
|
17222
17222
|
get hasconfirmationmodal() {
|
|
17223
17223
|
return this.$$.ctx[33];
|
|
17224
17224
|
}
|
|
17225
17225
|
set hasconfirmationmodal(t) {
|
|
17226
|
-
this.$$set({ hasconfirmationmodal: t }),
|
|
17226
|
+
this.$$set({ hasconfirmationmodal: t }), fe();
|
|
17227
17227
|
}
|
|
17228
17228
|
get dateformat() {
|
|
17229
17229
|
return this.$$.ctx[34];
|
|
17230
17230
|
}
|
|
17231
17231
|
set dateformat(t) {
|
|
17232
|
-
this.$$set({ dateformat: t }),
|
|
17232
|
+
this.$$set({ dateformat: t }), fe();
|
|
17233
17233
|
}
|
|
17234
17234
|
get sendnotificationemail() {
|
|
17235
17235
|
return this.$$.ctx[35];
|
|
17236
17236
|
}
|
|
17237
17237
|
set sendnotificationemail(t) {
|
|
17238
|
-
this.$$set({ sendnotificationemail: t }),
|
|
17238
|
+
this.$$set({ sendnotificationemail: t }), fe();
|
|
17239
17239
|
}
|
|
17240
17240
|
}
|
|
17241
17241
|
Xr(sd, { endpoint: {}, session: {}, userid: {}, lang: {}, gmversion: {}, operator: {}, supportemail: {}, baseurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, hasconfirmationmodal: {}, dateformat: {}, sendnotificationemail: {} }, [], [], !0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountSelfExclusion-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountSelfExclusion-BKTRCHvf.cjs")).then(({default:t})=>{!customElements.get("player-account-self-exclusion")&&customElements.define("player-account-self-exclusion",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/PlayerAccountSelfExclusion-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/PlayerAccountSelfExclusion-CnnL0A6g.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("player-account-self-exclusion") && customElements.define("player-account-self-exclusion", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|