@everymatrix/player-account-self-exclusion-nd 1.72.2 → 1.73.1

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.
@@ -26,7 +26,7 @@ var nt = (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 fs, C as ps, D as Wr, $ as qr, S as Kr, a as Gr, f as de, s as Jr, A as Xr, b as Zr, E as gi, d as ge, g as ve, q as T, F as Qr, G as en, o as tn, v as po, p as g, H as Z, I, J as Zt, r as M, K as mo, L as on, M as sn, N as be, O as qe, P as Lt, Q as _e, R as Pe, h as rn, T as nn, x as an, y as ln, z as cn } from "./PlayerAccountGeneralConfirmationModal-DTX1CBzd.js";
29
+ import { B as fs, 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 gi, d as ge, g as ve, q as T, F as Qr, G as en, o as tn, v as po, p as g, H as Z, I, J as Zt, r as M, K as mo, L as on, M as sn, N as be, O as qe, P as Lt, Q as _e, R as Pe, h as rn, T as nn, x as an, y as ln, z as cn } from "./PlayerAccountGeneralConfirmationModal-DTX1CBzd.js";
30
30
  import "../stencil/ui-skeleton-Ca5rz3Hv.js";
31
31
  var ms = { exports: {} };
32
32
  (function(o, t) {
@@ -130,24 +130,24 @@ var ms = { exports: {} };
130
130
  return A ? H : H.endOf(c);
131
131
  }, R = function(X, Y) {
132
132
  return k.w(_.toDate()[X].apply(_.toDate("s"), (A ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Y)), _);
133
- }, V = this.$W, K = this.$M, ee = this.$D, ce = "set" + (this.$u ? "UTC" : "");
133
+ }, V = this.$W, K = this.$M, ee = this.$D, de = "set" + (this.$u ? "UTC" : "");
134
134
  switch (S) {
135
135
  case f:
136
136
  return A ? F(1, 0) : F(31, 11);
137
137
  case d:
138
138
  return A ? F(1, K) : F(0, K + 1);
139
139
  case u:
140
- var ne = this.$locale().weekStart || 0, ue = (V < ne ? V + 7 : V) - ne;
141
- return F(A ? ee - ue : ee + (6 - ue), K);
140
+ var ne = this.$locale().weekStart || 0, he = (V < ne ? V + 7 : V) - ne;
141
+ return F(A ? ee - he : ee + (6 - he), K);
142
142
  case c:
143
143
  case y:
144
- return R(ce + "Hours", 0);
144
+ return R(de + "Hours", 0);
145
145
  case l:
146
- return R(ce + "Minutes", 1);
146
+ return R(de + "Minutes", 1);
147
147
  case a:
148
- return R(ce + "Seconds", 2);
148
+ return R(de + "Seconds", 2);
149
149
  case n:
150
- return R(ce + "Milliseconds", 3);
150
+ return R(de + "Milliseconds", 3);
151
151
  default:
152
152
  return this.clone();
153
153
  }
@@ -188,13 +188,13 @@ var ms = { exports: {} };
188
188
  var x = this, _ = this.$locale();
189
189
  if (!this.isValid())
190
190
  return _.invalidDate || p;
191
- var A = m || "YYYY-MM-DDTHH:mm:ssZ", S = k.z(this), F = this.$H, R = this.$m, V = this.$M, K = _.weekdays, ee = _.months, ce = _.meridiem, ne = function(Y, H, U, he) {
192
- return Y && (Y[H] || Y(x, A)) || U[H].slice(0, he);
193
- }, ue = function(Y) {
191
+ var A = m || "YYYY-MM-DDTHH:mm:ssZ", S = k.z(this), F = this.$H, R = this.$m, V = this.$M, K = _.weekdays, ee = _.months, de = _.meridiem, ne = function(Y, H, U, pe) {
192
+ return Y && (Y[H] || Y(x, A)) || U[H].slice(0, pe);
193
+ }, he = function(Y) {
194
194
  return k.s(F % 12 || 12, Y, "0");
195
- }, X = ce || function(Y, H, U) {
196
- var he = Y < 12 ? "AM" : "PM";
197
- return U ? he.toLowerCase() : he;
195
+ }, X = de || function(Y, H, U) {
196
+ var pe = Y < 12 ? "AM" : "PM";
197
+ return U ? pe.toLowerCase() : pe;
198
198
  };
199
199
  return A.replace(D, function(Y, H) {
200
200
  return H || function(U) {
@@ -228,9 +228,9 @@ var ms = { exports: {} };
228
228
  case "HH":
229
229
  return k.s(F, 2, "0");
230
230
  case "h":
231
- return ue(1);
231
+ return he(1);
232
232
  case "hh":
233
- return ue(2);
233
+ return he(2);
234
234
  case "a":
235
235
  return X(F, R, !0);
236
236
  case "A":
@@ -426,10 +426,10 @@ var _s = { 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, R = A.day, V = A.hours, K = A.minutes, ee = A.seconds, ce = A.milliseconds, ne = A.zone, ue = /* @__PURE__ */ new Date(), X = R || (S || F ? 1 : ue.getDate()), Y = S || ue.getFullYear(), H = 0;
430
- S && !F || (H = F > 0 ? F - 1 : ue.getMonth());
431
- var U = V || 0, he = K || 0, we = ee || 0, le = ce || 0;
432
- return ne ? new Date(Date.UTC(Y, H, X, U, he, we, le + 60 * ne.offset * 1e3)) : _ ? new Date(Date.UTC(Y, H, X, U, he, we, le)) : new Date(Y, H, X, U, he, we, le);
429
+ var A = y(x)(m), S = A.year, F = A.month, R = A.day, V = A.hours, K = A.minutes, ee = A.seconds, de = A.milliseconds, ne = A.zone, he = /* @__PURE__ */ new Date(), X = R || (S || F ? 1 : he.getDate()), Y = S || he.getFullYear(), H = 0;
430
+ S && !F || (H = F > 0 ? F - 1 : he.getMonth());
431
+ var U = V || 0, pe = K || 0, we = ee || 0, ue = de || 0;
432
+ return ne ? new Date(Date.UTC(Y, H, X, U, pe, we, ue + 60 * ne.offset * 1e3)) : _ ? new Date(Date.UTC(Y, H, X, U, pe, we, ue)) : new Date(Y, H, X, U, pe, we, ue);
433
433
  } catch (Ee) {
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 ae = window.ShadyDOM && window.ShadyDOM.noPatch && window.ShadyDOM.wrap ? window.ShadyDOM.wrap : window.ShadyDOM ? (o) => ShadyDOM.patch(o) : (o) => o;
3907
+ const ce = 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 Aa = qs, Ks = 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
- ae(i)), n === void 0 ? i.removeAttribute(r) : i.setAttribute(
4466
+ ce(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 Zs(o, t, e, i) {
5247
5247
  value: e,
5248
5248
  queueProperty: !0
5249
5249
  };
5250
- i && (s.path = i), ae(
5250
+ i && (s.path = i), ce(
5251
5251
  /** @type {!HTMLElement} */
5252
5252
  o
5253
5253
  ).dispatchEvent(new CustomEvent(t, { detail: s }));
@@ -5457,7 +5457,7 @@ function ol(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 = ae(o)), o[r] = t.literal);
5460
+ e[r] = s, t.literal && t.kind == "property" && (r === "className" && (o = ce(o)), o[r] = t.literal);
5461
5461
  }
5462
5462
  }
5463
5463
  function sl(o, t, e) {
@@ -5790,7 +5790,7 @@ const Ji = oe((o) => {
5790
5790
  */
5791
5791
  _setUnmanagedPropertyToNode(s, r, n) {
5792
5792
  (n !== s[r] || typeof n == "object") && (r === "className" && (s = /** @type {!Node} */
5793
- ae(s)), s[r] = n);
5793
+ ce(s)), s[r] = n);
5794
5794
  }
5795
5795
  /**
5796
5796
  * Overrides the `PropertiesChanged` implementation to introduce special
@@ -6704,7 +6704,7 @@ const Ji = 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
- ae(ae(d).parentNode).removeChild(d);
6707
+ ce(ce(d).parentNode).removeChild(d);
6708
6708
  }
6709
6709
  }
6710
6710
  /**
@@ -7452,7 +7452,7 @@ const xl = "3.5.2", Vo = window.ShadyCSS && window.ShadyCSS.cssBuild, wl = oe((o
7452
7452
  * @return {ShadowRoot} node to which the dom has been attached.
7453
7453
  */
7454
7454
  _attachDom(c) {
7455
- const u = ae(this);
7455
+ const u = ce(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])), aa && 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 ou(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"), ae(ae(i).parentNode).replaceChild(i.__polymerReplaced__, i);
11719
+ i.__polymerReplaced__ = document.createComment("hidden-slot"), ce(ce(i).parentNode).replaceChild(i.__polymerReplaced__, i);
11720
11720
  else {
11721
11721
  const s = i.__polymerReplaced__;
11722
- s && ae(ae(s).parentNode).replaceChild(i, s);
11722
+ s && ce(ce(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 hu(o, t) {
11988
11988
  else
11989
11989
  return e;
11990
11990
  else
11991
- t = ae(t).parentNode;
11991
+ t = ce(t).parentNode;
11992
11992
  return null;
11993
11993
  }
11994
11994
  /**
@@ -12202,7 +12202,7 @@ class os extends pu {
12202
12202
  connectedCallback() {
12203
12203
  if (super.connectedCallback(), fu() || (this.style.display = "none"), this.__isDetached) {
12204
12204
  this.__isDetached = !1;
12205
- let t = ae(ae(this).parentNode);
12205
+ let t = ce(ce(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 os extends pu {
12370
12370
  }
12371
12371
  __detachInstance(t) {
12372
12372
  let e = this.__instances[t];
12373
- const i = ae(e.root);
12373
+ const i = ce(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 os 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 ae(ae(this).parentNode).insertBefore(s.root, n), this.__instances[e] = s, s;
12394
+ return ce(ce(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 Ku(o) {
16316
16316
  ), J, q, O, k, j, se, E, v, m, x, _, A, S, F = (
16317
16317
  /*$_*/
16318
16318
  o[20]("save") + ""
16319
- ), R, V, K, ee, ce, ne, ue, X = (
16319
+ ), R, V, K, ee, de, ne, he, X = (
16320
16320
  /*isMobile*/
16321
16321
  o[22] && Ju(o)
16322
16322
  ), Y = mo(
@@ -16329,7 +16329,7 @@ function Ku(o) {
16329
16329
  /*isUntilDate*/
16330
16330
  o[16] && ns(o)
16331
16331
  );
16332
- function he(P, W) {
16332
+ function pe(P, W) {
16333
16333
  return (
16334
16334
  /*isPermanentSelfExclusion*/
16335
16335
  P[15] ? Qu : (
@@ -16338,7 +16338,7 @@ function Ku(o) {
16338
16338
  )
16339
16339
  );
16340
16340
  }
16341
- let we = he(o), le = we(o), Ee = (
16341
+ let we = pe(o), ue = we(o), Ee = (
16342
16342
  /*showConfirmationModal*/
16343
16343
  o[23] && ed(o)
16344
16344
  );
@@ -16350,7 +16350,7 @@ function Ku(o) {
16350
16350
  ), z = Z(), N = T("div"), L = T("div"), G = T("p"), J = _e(Q), q = Z(), O = Pe("svg"), k = Pe("g"), j = Pe("path"), se = Z(), E = T("div");
16351
16351
  for (let P = 0; P < H.length; P += 1)
16352
16352
  H[P].c();
16353
- v = Z(), U && U.c(), m = Z(), x = T("div"), le.c(), _ = Z(), A = T("div"), S = T("button"), R = _e(F), ee = Z(), Ee && Ee.c(), ce = rn(), M(s, "class", "PlayerSelfExclusionTitle " + /*isMobile*/
16353
+ v = Z(), U && U.c(), m = Z(), x = T("div"), ue.c(), _ = Z(), A = T("div"), S = T("button"), R = _e(F), ee = Z(), Ee && Ee.c(), de = rn(), 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"), qe(
@@ -16380,7 +16380,7 @@ function Ku(o) {
16380
16380
  ve(P, t, W), g(t, e), X && X.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, p), g(h, b), g(b, D), g(e, z), g(e, N), g(N, L), g(L, G), g(G, J), g(L, q), g(L, O), g(O, k), g(k, j), g(N, se), g(N, E);
16381
16381
  for (let ie = 0; ie < H.length; ie += 1)
16382
16382
  H[ie] && H[ie].m(E, null);
16383
- g(e, v), U && U.m(e, null), g(e, m), g(e, x), le.m(x, null), g(e, _), g(e, A), g(A, S), g(S, R), ve(P, ee, W), Ee && Ee.m(P, W), ve(P, ce, W), ne || (ue = [
16383
+ g(e, v), U && U.m(e, null), g(e, m), g(e, x), ue.m(x, null), g(e, _), g(e, A), g(A, S), g(S, R), ve(P, ee, W), Ee && Ee.m(P, W), ve(P, de, W), ne || (he = [
16384
16384
  Lt(
16385
16385
  L,
16386
16386
  "click",
@@ -16464,7 +16464,7 @@ function Ku(o) {
16464
16464
  /*isPeriodDropDownToggled*/
16465
16465
  P[18]
16466
16466
  ), /*isUntilDate*/
16467
- P[16] ? U ? U.p(P, W) : (U = ns(P), U.c(), U.m(e, m)) : U && (U.d(1), U = null), we === (we = he(P)) && le ? le.p(P, W) : (le.d(1), le = we(P), le && (le.c(), le.m(x, null))), W[0] & /*$_*/
16467
+ P[16] ? U ? U.p(P, W) : (U = ns(P), U.c(), U.m(e, m)) : U && (U.d(1), U = null), we === (we = pe(P)) && ue ? ue.p(P, W) : (ue.d(1), ue = we(P), ue && (ue.c(), ue.m(x, null))), W[0] & /*$_*/
16468
16468
  1048576 && F !== (F = /*$_*/
16469
16469
  P[20]("save") + "") && be(R, F), W[0] & /*isDateSelected*/
16470
16470
  131072 && V !== (V = "SelfExclusionSave " + /*isDateSelected*/
@@ -16474,7 +16474,7 @@ function Ku(o) {
16474
16474
  P[23] && Ee.p(P, W);
16475
16475
  },
16476
16476
  d(P) {
16477
- P && (ge(t), ge(ee), ge(ce)), X && X.d(), on(H, P), U && U.d(), le.d(), Ee && Ee.d(P), ne = !1, sn(ue);
16477
+ P && (ge(t), ge(ee), ge(de)), X && X.d(), on(H, P), U && U.d(), ue.d(), Ee && Ee.d(P), ne = !1, sn(he);
16478
16478
  }
16479
16479
  };
16480
16480
  }
@@ -16907,12 +16907,12 @@ function sd(o, t, e) {
16907
16907
  Qr(o, nn, (w) => e(20, i = w)), De.extend(hn);
16908
16908
  let { endpoint: s = "", session: r = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail: u = "", baseurl: d = "", clientstyling: h = "", clientstylingurl: f = "", mbsource: y, translationurl: p = "", hasconfirmationmodal: b = "false", dateformat: D = "DD/MM/YYYY", sendnotificationemail: C = "false" } = t, z, N, L = D.toUpperCase(), G = [], Q = {}, J = window.navigator.userAgent, q, O, k = "", j = "", se = "selectAPeriod", E = "", v = "", m = en(J) !== "PC", x = !1, _ = !1, A = !1, S = !1, F = b === "true", R = !0;
16909
16909
  const V = () => {
16910
- fetch(p).then((fe) => fe.json()).then((fe) => {
16911
- Object.keys(fe).forEach((pe) => {
16912
- _o(pe, fe[pe]);
16910
+ fetch(p).then((ae) => ae.json()).then((ae) => {
16911
+ Object.keys(ae).forEach((le) => {
16912
+ _o(le, ae[le]);
16913
16913
  });
16914
- }).catch((fe) => {
16915
- console.log(fe);
16914
+ }).catch((ae) => {
16915
+ console.log(ae);
16916
16916
  });
16917
16917
  };
16918
16918
  Object.keys(go).forEach((w) => {
@@ -16926,32 +16926,32 @@ function sd(o, t, e) {
16926
16926
  "Content-Type": "application/json",
16927
16927
  Accept: "application/json"
16928
16928
  }
16929
- }).then((pe) => ce(pe)).then((pe) => {
16930
- e(9, G = pe.periods);
16931
- }).catch((pe) => {
16932
- console.log(pe);
16933
- }).finally(() => {
16934
- e(19, R = !1);
16935
- });
16936
- }, ee = (w) => {
16937
- w.data.type === "setSelfExclusion" && H();
16938
- }, ce = (w) => nt(this, null, function* () {
16939
- if (w.status >= 300)
16940
- Q = yield w.json(), v = Q.thirdPartyResponse.errorCode, console.error(i(v || "generalError")), window.postMessage(
16929
+ }).then((le) => de(le)).then((le) => {
16930
+ e(9, G = le.periods);
16931
+ }).catch((le) => {
16932
+ console.log(le), window.postMessage(
16941
16933
  {
16942
16934
  type: "WidgetNotification",
16943
- data: {
16944
- type: "error",
16945
- message: i(v || "generalError")
16946
- }
16935
+ data: { type: "error", message: le.message }
16947
16936
  },
16948
16937
  window.location.href
16949
16938
  );
16950
- else
16951
- return w.json();
16939
+ }).finally(() => {
16940
+ e(19, R = !1);
16941
+ });
16942
+ }, ee = (w) => {
16943
+ w.data.type === "setSelfExclusion" && H();
16944
+ }, de = (w) => nt(this, null, function* () {
16945
+ var ae;
16946
+ if (!w.ok) {
16947
+ Q = yield w.json(), v = (ae = Q.thirdPartyResponse) == null ? void 0 : ae.errorCode;
16948
+ const le = i(v || "generalError");
16949
+ throw new Error(le);
16950
+ }
16951
+ return w.json();
16952
16952
  }), ne = () => {
16953
16953
  e(18, S = !S);
16954
- }, ue = (w) => {
16954
+ }, he = (w) => {
16955
16955
  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) {
16956
16956
  case "Until":
16957
16957
  e(16, _ = !0), e(10, q = De().add(6, "M").format("YYYY-MM-DD")), e(11, O = De().add(5, "y").format("YYYY-MM-DD")), e(12, k = q);
@@ -16960,10 +16960,10 @@ function sd(o, t, e) {
16960
16960
  e(15, x = !x);
16961
16961
  break;
16962
16962
  default:
16963
- const [fe, pe] = j.split(" "), ze = pe.includes("Day") ? "days" : pe.includes("Month") ? "months" : pe.includes("Year") ? "years" : null;
16963
+ const [ae, le] = j.split(" "), ze = le.includes("Day") ? "days" : le.includes("Month") ? "months" : le.includes("Year") ? "years" : null;
16964
16964
  if (!ze)
16965
16965
  return;
16966
- e(12, k = De().add(Number(fe), ze).format("YYYY-MM-DD"));
16966
+ e(12, k = De().add(Number(ae), ze).format("YYYY-MM-DD"));
16967
16967
  break;
16968
16968
  }
16969
16969
  F && X();
@@ -16986,7 +16986,7 @@ function sd(o, t, e) {
16986
16986
  )) : H();
16987
16987
  }, H = () => {
16988
16988
  e(19, R = !0);
16989
- const w = new URL(`/v2/player/${n}/limits${l === "gm16" ? "/session" : ""}`, s), pe = {
16989
+ const w = new URL(`/v2/player/${n}/limits${l === "gm16" ? "/session" : ""}`, s), le = {
16990
16990
  method: "PUT",
16991
16991
  headers: {
16992
16992
  "X-SessionID": r,
@@ -17002,7 +17002,7 @@ function sd(o, t, e) {
17002
17002
  }
17003
17003
  })
17004
17004
  };
17005
- fetch(w.href, pe).then((ze) => ce(ze)).then((ze) => {
17005
+ fetch(w.href, le).then((ze) => de(ze)).then((ze) => {
17006
17006
  window.postMessage(
17007
17007
  {
17008
17008
  type: "WidgetNotification",
@@ -17035,19 +17035,19 @@ function sd(o, t, e) {
17035
17035
  },
17036
17036
  window.location.href
17037
17037
  );
17038
- }, he = (w) => {
17038
+ }, pe = (w) => {
17039
17039
  e(12, k = w.target.value);
17040
17040
  }, we = () => {
17041
- N.addEventListener("change", he, !1), e(
17041
+ N.addEventListener("change", pe, !1), e(
17042
17042
  8,
17043
17043
  N.i18n = Pt(kt({}, N.i18n), {
17044
17044
  formatDate: (w) => De(new Date(w.year, w.month, w.day)).format(L),
17045
17045
  parseDate: (w) => {
17046
- const fe = De(w, L);
17046
+ const ae = De(w, L);
17047
17047
  return {
17048
- year: fe.year(),
17049
- month: fe.month(),
17050
- day: fe.date()
17048
+ year: ae.year(),
17049
+ month: ae.month(),
17050
+ day: ae.date()
17051
17051
  };
17052
17052
  }
17053
17053
  }),
@@ -17055,11 +17055,11 @@ function sd(o, t, e) {
17055
17055
  );
17056
17056
  };
17057
17057
  tn(() => (window.addEventListener("message", ee, !1), () => {
17058
- N.removeEventListener("change", he), window.removeEventListener("message", ee);
17058
+ N.removeEventListener("change", pe), window.removeEventListener("message", ee);
17059
17059
  }));
17060
- const le = () => {
17060
+ const ue = () => {
17061
17061
  fn(a);
17062
- }, Ee = () => U(), P = () => ne(), W = (w) => ue(w);
17062
+ }, Ee = () => U(), P = () => ne(), W = (w) => he(w);
17063
17063
  function ie(w) {
17064
17064
  po[w ? "unshift" : "push"](() => {
17065
17065
  N = w, e(8, N);
@@ -17075,7 +17075,7 @@ function sd(o, t, e) {
17075
17075
  "endpoint" in w && e(28, s = w.endpoint), "session" in w && e(29, r = w.session), "userid" in w && e(30, n = w.userid), "lang" in w && e(0, a = w.lang), "gmversion" in w && e(31, l = w.gmversion), "operator" in w && e(1, c = w.operator), "supportemail" in w && e(2, u = w.supportemail), "baseurl" in w && e(3, d = w.baseurl), "clientstyling" in w && e(4, h = w.clientstyling), "clientstylingurl" in w && e(5, f = w.clientstylingurl), "mbsource" in w && e(6, y = w.mbsource), "translationurl" in w && e(32, p = w.translationurl), "hasconfirmationmodal" in w && e(33, b = w.hasconfirmationmodal), "dateformat" in w && e(34, D = w.dateformat), "sendnotificationemail" in w && e(35, C = w.sendnotificationemail);
17076
17076
  }, o.$$.update = () => {
17077
17077
  o.$$.dirty[0] & /*lang*/
17078
- 1 && a && le(), o.$$.dirty[0] & /*endpoint, session, userid*/
17078
+ 1 && a && ue(), o.$$.dirty[0] & /*endpoint, session, userid*/
17079
17079
  1879048192 | o.$$.dirty[1] & /*gmversion*/
17080
17080
  1 && s && r && n && l && K(), o.$$.dirty[0] & /*calendar*/
17081
17081
  256 && N && we(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
@@ -17109,7 +17109,7 @@ function sd(o, t, e) {
17109
17109
  m,
17110
17110
  F,
17111
17111
  ne,
17112
- ue,
17112
+ he,
17113
17113
  Y,
17114
17114
  U,
17115
17115
  s,
@@ -17161,91 +17161,91 @@ class rd extends Kr {
17161
17161
  return this.$$.ctx[28];
17162
17162
  }
17163
17163
  set endpoint(t) {
17164
- this.$$set({ endpoint: t }), de();
17164
+ this.$$set({ endpoint: t }), fe();
17165
17165
  }
17166
17166
  get session() {
17167
17167
  return this.$$.ctx[29];
17168
17168
  }
17169
17169
  set session(t) {
17170
- this.$$set({ session: t }), de();
17170
+ this.$$set({ session: t }), fe();
17171
17171
  }
17172
17172
  get userid() {
17173
17173
  return this.$$.ctx[30];
17174
17174
  }
17175
17175
  set userid(t) {
17176
- this.$$set({ userid: t }), de();
17176
+ this.$$set({ userid: t }), fe();
17177
17177
  }
17178
17178
  get lang() {
17179
17179
  return this.$$.ctx[0];
17180
17180
  }
17181
17181
  set lang(t) {
17182
- this.$$set({ lang: t }), de();
17182
+ this.$$set({ lang: t }), fe();
17183
17183
  }
17184
17184
  get gmversion() {
17185
17185
  return this.$$.ctx[31];
17186
17186
  }
17187
17187
  set gmversion(t) {
17188
- this.$$set({ gmversion: t }), de();
17188
+ this.$$set({ gmversion: t }), fe();
17189
17189
  }
17190
17190
  get operator() {
17191
17191
  return this.$$.ctx[1];
17192
17192
  }
17193
17193
  set operator(t) {
17194
- this.$$set({ operator: t }), de();
17194
+ this.$$set({ operator: t }), fe();
17195
17195
  }
17196
17196
  get supportemail() {
17197
17197
  return this.$$.ctx[2];
17198
17198
  }
17199
17199
  set supportemail(t) {
17200
- this.$$set({ supportemail: t }), de();
17200
+ this.$$set({ supportemail: t }), fe();
17201
17201
  }
17202
17202
  get baseurl() {
17203
17203
  return this.$$.ctx[3];
17204
17204
  }
17205
17205
  set baseurl(t) {
17206
- this.$$set({ baseurl: t }), de();
17206
+ this.$$set({ baseurl: t }), fe();
17207
17207
  }
17208
17208
  get clientstyling() {
17209
17209
  return this.$$.ctx[4];
17210
17210
  }
17211
17211
  set clientstyling(t) {
17212
- this.$$set({ clientstyling: t }), de();
17212
+ this.$$set({ clientstyling: t }), fe();
17213
17213
  }
17214
17214
  get clientstylingurl() {
17215
17215
  return this.$$.ctx[5];
17216
17216
  }
17217
17217
  set clientstylingurl(t) {
17218
- this.$$set({ clientstylingurl: t }), de();
17218
+ this.$$set({ clientstylingurl: t }), fe();
17219
17219
  }
17220
17220
  get mbsource() {
17221
17221
  return this.$$.ctx[6];
17222
17222
  }
17223
17223
  set mbsource(t) {
17224
- this.$$set({ mbsource: t }), de();
17224
+ this.$$set({ mbsource: t }), fe();
17225
17225
  }
17226
17226
  get translationurl() {
17227
17227
  return this.$$.ctx[32];
17228
17228
  }
17229
17229
  set translationurl(t) {
17230
- this.$$set({ translationurl: t }), de();
17230
+ this.$$set({ translationurl: t }), fe();
17231
17231
  }
17232
17232
  get hasconfirmationmodal() {
17233
17233
  return this.$$.ctx[33];
17234
17234
  }
17235
17235
  set hasconfirmationmodal(t) {
17236
- this.$$set({ hasconfirmationmodal: t }), de();
17236
+ this.$$set({ hasconfirmationmodal: t }), fe();
17237
17237
  }
17238
17238
  get dateformat() {
17239
17239
  return this.$$.ctx[34];
17240
17240
  }
17241
17241
  set dateformat(t) {
17242
- this.$$set({ dateformat: t }), de();
17242
+ this.$$set({ dateformat: t }), fe();
17243
17243
  }
17244
17244
  get sendnotificationemail() {
17245
17245
  return this.$$.ctx[35];
17246
17246
  }
17247
17247
  set sendnotificationemail(t) {
17248
- this.$$set({ sendnotificationemail: t }), de();
17248
+ this.$$set({ sendnotificationemail: t }), fe();
17249
17249
  }
17250
17250
  }
17251
17251
  Xr(rd, { endpoint: {}, session: {}, userid: {}, lang: {}, gmversion: {}, operator: {}, supportemail: {}, baseurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, hasconfirmationmodal: {}, dateformat: {}, sendnotificationemail: {} }, [], [], !0);