@everymatrix/player-account-controller 1.68.0 → 1.69.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/{PlayerAccountController-BGIYoCkD.js → PlayerAccountController-Bj-XgQJE.js} +9 -9
- package/components/{PlayerAccountController-BckipwcO.js → PlayerAccountController-CvlVSeuD.js} +9 -9
- package/components/{PlayerAccountController-DCe0-Np2.cjs → PlayerAccountController-DOYR_ETm.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-BF1Dd_Yw.js → PlayerAccountGamingLimits-B0QALjVi.js} +1 -1
- package/components/{PlayerAccountGamingLimits-DZBzKFyv.cjs → PlayerAccountGamingLimits-BIXEO8qU.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-BKHRQo_P.js → PlayerAccountGamingLimits-C11On8aq.js} +1 -1
- package/components/PlayerAccountGamingLimitsGroupEdit-C40tSY9Z.js +4792 -0
- package/components/PlayerAccountGamingLimitsGroupEdit-CoayAtf0.js +4792 -0
- package/components/PlayerAccountGamingLimitsGroupEdit-Crtmu06d.cjs +2 -0
- package/components/{PlayerAccountGamingLimitsInfoCard-DWbZBNtU.cjs → PlayerAccountGamingLimitsInfoCard-COS0sgRr.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-BlMfsPqJ.js → PlayerAccountGamingLimitsInfoCard-D5Vpi7Gd.js} +2 -2
- package/components/{PlayerAccountGamingLimitsInfoCard-BqsEfU1b.js → PlayerAccountGamingLimitsInfoCard-blI001Nx.js} +2 -2
- package/components/PlayerAccountGeneralConfirmationModal-DHEkFez0.cjs +1 -0
- package/components/{PlayerAccountGeneralConfirmationModal-lHX_vmhB.js → PlayerAccountGeneralConfirmationModal-DbBEBukz.js} +114 -119
- package/components/{PlayerAccountGeneralConfirmationModal-DQ7Oklqf.js → PlayerAccountGeneralConfirmationModal-DzZ3ym_J.js} +114 -119
- package/components/{PlayerAccountProductRestriction-BDO7zmmM.js → PlayerAccountProductRestriction-BXXflOCi.js} +268 -283
- package/components/{PlayerAccountProductRestriction-D-EBC7dz.js → PlayerAccountProductRestriction-f6Ihr4uI.js} +268 -283
- package/components/{PlayerAccountProductRestriction-BK1qKxhK.cjs → PlayerAccountProductRestriction-uj_BwdJ0.cjs} +37 -37
- package/components/{PlayerAccountSelfExclusion-DNhGD82-.js → PlayerAccountSelfExclusion-B3xDcZXs.js} +2 -2
- package/components/{PlayerAccountSelfExclusion-CBfJvzsw.cjs → PlayerAccountSelfExclusion-NoFOWnwy.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusion-B1UJulje.js → PlayerAccountSelfExclusion-tzK5a7dq.js} +2 -2
- package/components/{PlayerAccountTimeout-C7TRf46n.js → PlayerAccountTimeout-DFM9IiTT.js} +2 -2
- package/components/{PlayerAccountTimeout-Cs6kPeQE.cjs → PlayerAccountTimeout-HZrAxL_1.cjs} +1 -1
- package/components/{PlayerAccountTimeout-CajByu4y.js → PlayerAccountTimeout-b0Nl9gfs.js} +2 -2
- package/components/{PlayerAccountTransactionsHistory-BaakM7i6.js → PlayerAccountTransactionsHistory-B_kH0Hjt.js} +2 -2
- package/components/{PlayerAccountTransactionsHistory-DlxuOGYF.js → PlayerAccountTransactionsHistory-DoyCBIgA.js} +2 -2
- package/components/{PlayerAccountTransactionsHistory-CXUQytDG.cjs → PlayerAccountTransactionsHistory-PIw_RR0i.cjs} +1 -1
- package/components/{PlayerActiveBonuses-DRc-ZvO7.js → PlayerActiveBonuses-CSDz-kWg.js} +489 -459
- package/components/{PlayerActiveBonuses-BbX2ugwN.js → PlayerActiveBonuses-CrOQdlJB.js} +492 -462
- package/components/PlayerActiveBonuses-wlP0A00N.cjs +1 -0
- package/components/PlayerBonusCard-BBQEU4zs.cjs +1 -0
- package/components/{PlayerBonusCard-CXbETnCF.js → PlayerBonusCard-Ca4GQeMu.js} +207 -191
- package/components/{PlayerBonusCard-6xOKi384.js → PlayerBonusCard-qHJ-z21x.js} +207 -191
- package/components/PlayerBonusHistory-2blkOHr3.js +1051 -0
- package/components/PlayerBonusHistory-ChzkBbAH.js +1040 -0
- package/components/PlayerBonusHistory-D2uJLN_3.cjs +1 -0
- package/components/PlayerGamingHistory-8wco0drZ.js +1016 -0
- package/components/{PlayerGamingHistory-BmwyIBJN.js → PlayerGamingHistory-CRFPc2yB.js} +472 -456
- package/components/PlayerGamingHistory-D5C8zTFo.cjs +1 -0
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-7c5e707a-C9R6jYpt.js → index-7c5e707a-2AC9SnQ7.js} +1 -1
- package/stencil/{index-7c5e707a-DvxqcEpc.js → index-7c5e707a-BM4sfR0h.js} +1 -1
- package/stencil/{index-7c5e707a-ESX_oqGB.cjs → index-7c5e707a-Cw-c3Bke.cjs} +1 -1
- package/stencil/user-transaction-history-7_yFZr3w.js +1645 -0
- package/stencil/user-transaction-history-DZZT2rYX.cjs +1 -0
- package/stencil/user-transaction-history-Dpd_aKdj.js +1621 -0
- package/components/PlayerAccountGamingLimitsGroupEdit-B7O4IGQB.js +0 -2891
- package/components/PlayerAccountGamingLimitsGroupEdit-BvnqlbPp.cjs +0 -1
- package/components/PlayerAccountGamingLimitsGroupEdit-DlaRG8Hg.js +0 -2891
- package/components/PlayerAccountGeneralConfirmationModal-BiNxgQbD.cjs +0 -1
- package/components/PlayerActiveBonuses-Bc5S3wl_.cjs +0 -1
- package/components/PlayerBonusCard-BNNcjGWn.cjs +0 -1
- package/components/PlayerBonusHistory-DrdkliDU.cjs +0 -1
- package/components/PlayerBonusHistory-MuL66Q-z.js +0 -985
- package/components/PlayerBonusHistory-bApDQYer.js +0 -986
- package/components/PlayerGamingHistory-AV5mZQlk.js +0 -975
- package/components/PlayerGamingHistory-BDzbgOBi.cjs +0 -1
- package/stencil/user-transaction-history-BAK7MHHa.js +0 -374
- package/stencil/user-transaction-history-DhQ6RqNc.js +0 -350
- package/stencil/user-transaction-history-DiRXpfbN.cjs +0 -1
|
@@ -26,9 +26,9 @@ var go = (r, e, t) => new Promise((i, o) => {
|
|
|
26
26
|
}, a = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(s, n);
|
|
27
27
|
a((t = t.apply(r, e)).next());
|
|
28
28
|
});
|
|
29
|
-
import { a4 as ba, a5 as ya, a as xa, $ as wa, S as Ca, i as Pa, s as ka, f as Ae, b as Aa, n as
|
|
29
|
+
import { a4 as ba, a5 as ya, a as xa, $ as wa, S as Ca, i as Pa, s as ka, f as Ae, b as Aa, n as Mt, d as oe, g as se, j as E, p as Ea, q as Ia, u as Sa, w as bo, O as pt, P as pi, h as _, k as U, o as P, e as F, r as Ta, c as ge, t as dt, l as Ot, v as Ne, m as _e, F as Da, x as Oa, y as Ra, z as za, A as Ma, B as Na } from "./GeneralLogout-CYE3twI-.js";
|
|
30
30
|
import "../stencil/ui-skeleton-DoX-UmRU.js";
|
|
31
|
-
import "./PlayerAccountGamingLimitsGroupEdit-
|
|
31
|
+
import "./PlayerAccountGamingLimitsGroupEdit-C40tSY9Z.js";
|
|
32
32
|
if (typeof window != "undefined") {
|
|
33
33
|
let r = function(e) {
|
|
34
34
|
return function(...t) {
|
|
@@ -41,7 +41,7 @@ if (typeof window != "undefined") {
|
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
};
|
|
44
|
-
customElements.define = r(customElements.define), import("./PlayerAccountGeneralConfirmationModal-
|
|
44
|
+
customElements.define = r(customElements.define), import("./PlayerAccountGeneralConfirmationModal-DzZ3ym_J.js").then(
|
|
45
45
|
({ default: e }) => {
|
|
46
46
|
!customElements.get("player-account-general-confirmation-modal") && customElements.define(
|
|
47
47
|
"player-account-general-confirmation-modal",
|
|
@@ -446,7 +446,7 @@ const Wa = (r) => new Rr(typeof r == "string" ? r : r + "", void 0, Or), x = (r,
|
|
|
446
446
|
* Copyright 2017 Google LLC
|
|
447
447
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
448
448
|
*/
|
|
449
|
-
const { is: qa, defineProperty: Ua, getOwnPropertyDescriptor: Ya, getOwnPropertyNames: Ka, getOwnPropertySymbols: Ga, getPrototypeOf: Ja } = Object, gt = globalThis, Co = gt.trustedTypes, Xa = Co ? Co.emptyScript : "", Po = gt.reactiveElementPolyfillSupport,
|
|
449
|
+
const { is: qa, defineProperty: Ua, getOwnPropertyDescriptor: Ya, getOwnPropertyNames: Ka, getOwnPropertySymbols: Ga, getPrototypeOf: Ja } = Object, gt = globalThis, Co = gt.trustedTypes, Xa = Co ? Co.emptyScript : "", Po = gt.reactiveElementPolyfillSupport, Rt = (r, e) => r, ar = { toAttribute(r, e) {
|
|
450
450
|
switch (e) {
|
|
451
451
|
case Boolean:
|
|
452
452
|
r = r ? Xa : null;
|
|
@@ -507,15 +507,15 @@ class ut extends HTMLElement {
|
|
|
507
507
|
return (t = this.elementProperties.get(e)) != null ? t : ko;
|
|
508
508
|
}
|
|
509
509
|
static _$Ei() {
|
|
510
|
-
if (this.hasOwnProperty(
|
|
510
|
+
if (this.hasOwnProperty(Rt("elementProperties")))
|
|
511
511
|
return;
|
|
512
512
|
const e = Ja(this);
|
|
513
513
|
e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
|
|
514
514
|
}
|
|
515
515
|
static finalize() {
|
|
516
|
-
if (this.hasOwnProperty(
|
|
516
|
+
if (this.hasOwnProperty(Rt("finalized")))
|
|
517
517
|
return;
|
|
518
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
|
518
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(Rt("properties"))) {
|
|
519
519
|
const t = this.properties, i = [...Ka(t), ...Ga(t)];
|
|
520
520
|
for (const o of i)
|
|
521
521
|
this.createProperty(o, t[o]);
|
|
@@ -697,14 +697,14 @@ class ut extends HTMLElement {
|
|
|
697
697
|
}
|
|
698
698
|
}
|
|
699
699
|
var Ao;
|
|
700
|
-
ut.elementStyles = [], ut.shadowRootOptions = { mode: "open" }, ut[
|
|
700
|
+
ut.elementStyles = [], ut.shadowRootOptions = { mode: "open" }, ut[Rt("elementProperties")] = /* @__PURE__ */ new Map(), ut[Rt("finalized")] = /* @__PURE__ */ new Map(), Po == null || Po({ ReactiveElement: ut }), ((Ao = gt.reactiveElementVersions) != null ? Ao : gt.reactiveElementVersions = []).push("2.1.0");
|
|
701
701
|
/**
|
|
702
702
|
* @license
|
|
703
703
|
* Copyright 2017 Google LLC
|
|
704
704
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
705
705
|
*/
|
|
706
|
-
const fi = globalThis, vi = fi.trustedTypes, Eo = vi ? vi.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, Ds = "$lit$", je = `lit$${Math.random().toFixed(9).slice(2)}$`, Os = "?" + je, Za = `<${Os}>`, et = document,
|
|
707
|
-
\f\r]`,
|
|
706
|
+
const fi = globalThis, vi = fi.trustedTypes, Eo = vi ? vi.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, Ds = "$lit$", je = `lit$${Math.random().toFixed(9).slice(2)}$`, Os = "?" + je, Za = `<${Os}>`, et = document, Nt = () => et.createComment(""), Lt = (r) => r === null || typeof r != "object" && typeof r != "function", zr = Array.isArray, Qa = (r) => zr(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", qi = `[
|
|
707
|
+
\f\r]`, Pt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Io = /-->/g, So = />/g, Je = RegExp(`>|${qi}(?:([^\\s"'>=/]+)(${qi}*=${qi}*(?:[^
|
|
708
708
|
\f\r"'\`<>=]|("|')|))|$)`, "g"), To = /'/g, Do = /"/g, Rs = /^(?:script|style|textarea|title)$/i, bt = Symbol.for("lit-noChange"), re = Symbol.for("lit-nothing"), Oo = /* @__PURE__ */ new WeakMap(), Xe = et.createTreeWalker(et, 129);
|
|
709
709
|
function zs(r, e) {
|
|
710
710
|
if (!zr(r) || !r.hasOwnProperty("raw"))
|
|
@@ -713,24 +713,24 @@ function zs(r, e) {
|
|
|
713
713
|
}
|
|
714
714
|
const el = (r, e) => {
|
|
715
715
|
const t = r.length - 1, i = [];
|
|
716
|
-
let o, s = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", n =
|
|
716
|
+
let o, s = e === 2 ? "<svg>" : e === 3 ? "<math>" : "", n = Pt;
|
|
717
717
|
for (let a = 0; a < t; a++) {
|
|
718
718
|
const l = r[a];
|
|
719
719
|
let d, c, h = -1, f = 0;
|
|
720
720
|
for (; f < l.length && (n.lastIndex = f, c = n.exec(l), c !== null); )
|
|
721
|
-
f = n.lastIndex, n ===
|
|
721
|
+
f = n.lastIndex, n === Pt ? c[1] === "!--" ? n = Io : c[1] !== void 0 ? n = So : c[2] !== void 0 ? (Rs.test(c[2]) && (o = RegExp("</" + c[2], "g")), n = Je) : c[3] !== void 0 && (n = Je) : n === Je ? c[0] === ">" ? (n = o != null ? o : Pt, h = -1) : c[1] === void 0 ? h = -2 : (h = n.lastIndex - c[2].length, d = c[1], n = c[3] === void 0 ? Je : c[3] === '"' ? Do : To) : n === Do || n === To ? n = Je : n === Io || n === So ? n = Pt : (n = Je, o = void 0);
|
|
722
722
|
const u = n === Je && r[a + 1].startsWith("/>") ? " " : "";
|
|
723
|
-
s += n ===
|
|
723
|
+
s += n === Pt ? l + Za : h >= 0 ? (i.push(d), l.slice(0, h) + Ds + l.slice(h) + je + u) : l + je + (h === -2 ? a : u);
|
|
724
724
|
}
|
|
725
725
|
return [zs(r, s + (r[t] || "<?>") + (e === 2 ? "</svg>" : e === 3 ? "</math>" : "")), i];
|
|
726
726
|
};
|
|
727
|
-
class
|
|
727
|
+
class Vt {
|
|
728
728
|
constructor({ strings: e, _$litType$: t }, i) {
|
|
729
729
|
let o;
|
|
730
730
|
this.parts = [];
|
|
731
731
|
let s = 0, n = 0;
|
|
732
732
|
const a = e.length - 1, l = this.parts, [d, c] = el(e, t);
|
|
733
|
-
if (this.el =
|
|
733
|
+
if (this.el = Vt.createElement(d, i), Xe.currentNode = this.el.content, t === 2 || t === 3) {
|
|
734
734
|
const h = this.el.content.firstChild;
|
|
735
735
|
h.replaceWith(...h.childNodes);
|
|
736
736
|
}
|
|
@@ -748,8 +748,8 @@ class Ft {
|
|
|
748
748
|
if (f > 0) {
|
|
749
749
|
o.textContent = vi ? vi.emptyScript : "";
|
|
750
750
|
for (let u = 0; u < f; u++)
|
|
751
|
-
o.append(h[u],
|
|
752
|
-
o.append(h[f],
|
|
751
|
+
o.append(h[u], Nt()), Xe.nextNode(), l.push({ type: 2, index: ++s });
|
|
752
|
+
o.append(h[f], Nt());
|
|
753
753
|
}
|
|
754
754
|
}
|
|
755
755
|
} else if (o.nodeType === 8)
|
|
@@ -773,7 +773,7 @@ function yt(r, e, t = r, i) {
|
|
|
773
773
|
if (e === bt)
|
|
774
774
|
return e;
|
|
775
775
|
let a = i !== void 0 ? (o = t._$Co) == null ? void 0 : o[i] : t._$Cl;
|
|
776
|
-
const l =
|
|
776
|
+
const l = Lt(e) ? void 0 : e._$litDirective$;
|
|
777
777
|
return (a == null ? void 0 : a.constructor) !== l && ((s = a == null ? void 0 : a._$AO) == null || s.call(a, !1), l === void 0 ? a = void 0 : (a = new l(r), a._$AT(r, t, i)), i !== void 0 ? ((n = t._$Co) != null ? n : t._$Co = [])[i] = a : t._$Cl = a), a !== void 0 && (e = yt(r, a._$AS(r, e.values), a, i)), e;
|
|
778
778
|
}
|
|
779
779
|
class tl {
|
|
@@ -794,7 +794,7 @@ class tl {
|
|
|
794
794
|
for (; d !== void 0; ) {
|
|
795
795
|
if (a === d.index) {
|
|
796
796
|
let c;
|
|
797
|
-
d.type === 2 ? c = new
|
|
797
|
+
d.type === 2 ? c = new Kt(n, n.nextSibling, this, e) : d.type === 1 ? c = new d.ctor(n, d.name, d.strings, this, e) : d.type === 6 && (c = new sl(n, this, e)), this._$AV.push(c), d = o[++l];
|
|
798
798
|
}
|
|
799
799
|
a !== (d == null ? void 0 : d.index) && (n = Xe.nextNode(), a++);
|
|
800
800
|
}
|
|
@@ -806,7 +806,7 @@ class tl {
|
|
|
806
806
|
i !== void 0 && (i.strings !== void 0 ? (i._$AI(e, i, t), t += i.strings.length - 2) : i._$AI(e[t])), t++;
|
|
807
807
|
}
|
|
808
808
|
}
|
|
809
|
-
class
|
|
809
|
+
class Kt {
|
|
810
810
|
get _$AU() {
|
|
811
811
|
var e, t;
|
|
812
812
|
return (t = (e = this._$AM) == null ? void 0 : e._$AU) != null ? t : this._$Cv;
|
|
@@ -827,7 +827,7 @@ class Gt {
|
|
|
827
827
|
return this._$AB;
|
|
828
828
|
}
|
|
829
829
|
_$AI(e, t = this) {
|
|
830
|
-
e = yt(this, e, t),
|
|
830
|
+
e = yt(this, e, t), Lt(e) ? e === re || e == null || e === "" ? (this._$AH !== re && this._$AR(), this._$AH = re) : e !== this._$AH && e !== bt && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : Qa(e) ? this.k(e) : this._(e);
|
|
831
831
|
}
|
|
832
832
|
O(e) {
|
|
833
833
|
return this._$AA.parentNode.insertBefore(e, this._$AB);
|
|
@@ -836,11 +836,11 @@ class Gt {
|
|
|
836
836
|
this._$AH !== e && (this._$AR(), this._$AH = this.O(e));
|
|
837
837
|
}
|
|
838
838
|
_(e) {
|
|
839
|
-
this._$AH !== re &&
|
|
839
|
+
this._$AH !== re && Lt(this._$AH) ? this._$AA.nextSibling.data = e : this.T(et.createTextNode(e)), this._$AH = e;
|
|
840
840
|
}
|
|
841
841
|
$(e) {
|
|
842
842
|
var t;
|
|
843
|
-
const { values: i, _$litType$: o } = e, s = typeof o == "number" ? this._$AC(e) : (o.el === void 0 && (o.el =
|
|
843
|
+
const { values: i, _$litType$: o } = e, s = typeof o == "number" ? this._$AC(e) : (o.el === void 0 && (o.el = Vt.createElement(zs(o.h, o.h[0]), this.options)), o);
|
|
844
844
|
if (((t = this._$AH) == null ? void 0 : t._$AD) === s)
|
|
845
845
|
this._$AH.p(i);
|
|
846
846
|
else {
|
|
@@ -850,14 +850,14 @@ class Gt {
|
|
|
850
850
|
}
|
|
851
851
|
_$AC(e) {
|
|
852
852
|
let t = Oo.get(e.strings);
|
|
853
|
-
return t === void 0 && Oo.set(e.strings, t = new
|
|
853
|
+
return t === void 0 && Oo.set(e.strings, t = new Vt(e)), t;
|
|
854
854
|
}
|
|
855
855
|
k(e) {
|
|
856
856
|
zr(this._$AH) || (this._$AH = [], this._$AR());
|
|
857
857
|
const t = this._$AH;
|
|
858
858
|
let i, o = 0;
|
|
859
859
|
for (const s of e)
|
|
860
|
-
o === t.length ? t.push(i = new
|
|
860
|
+
o === t.length ? t.push(i = new Kt(this.O(Nt()), this.O(Nt()), this, this.options)) : i = t[o], i._$AI(s), o++;
|
|
861
861
|
o < t.length && (this._$AR(i && i._$AB.nextSibling, o), t.length = o);
|
|
862
862
|
}
|
|
863
863
|
_$AR(e = this._$AA.nextSibling, t) {
|
|
@@ -886,12 +886,12 @@ class Ei {
|
|
|
886
886
|
const s = this.strings;
|
|
887
887
|
let n = !1;
|
|
888
888
|
if (s === void 0)
|
|
889
|
-
e = yt(this, e, t, 0), n = !
|
|
889
|
+
e = yt(this, e, t, 0), n = !Lt(e) || e !== this._$AH && e !== bt, n && (this._$AH = e);
|
|
890
890
|
else {
|
|
891
891
|
const a = e;
|
|
892
892
|
let l, d;
|
|
893
893
|
for (e = s[0], l = 0; l < s.length - 1; l++)
|
|
894
|
-
d = yt(this, a[i + l], t, l), d === bt && (d = this._$AH[l]), n || (n = !
|
|
894
|
+
d = yt(this, a[i + l], t, l), d === bt && (d = this._$AH[l]), n || (n = !Lt(d) || d !== this._$AH[l]), d === re ? e = re : e !== re && (e += (d != null ? d : "") + s[l + 1]), this._$AH[l] = d;
|
|
895
895
|
}
|
|
896
896
|
n && !o && this.j(e);
|
|
897
897
|
}
|
|
@@ -944,14 +944,14 @@ class sl {
|
|
|
944
944
|
}
|
|
945
945
|
const Ro = fi.litHtmlPolyfillSupport;
|
|
946
946
|
var zo;
|
|
947
|
-
Ro == null || Ro(
|
|
947
|
+
Ro == null || Ro(Vt, Kt), ((zo = fi.litHtmlVersions) != null ? zo : fi.litHtmlVersions = []).push("3.3.0");
|
|
948
948
|
const Ms = (r, e, t) => {
|
|
949
949
|
var i, o;
|
|
950
950
|
const s = (i = t == null ? void 0 : t.renderBefore) != null ? i : e;
|
|
951
951
|
let n = s._$litPart$;
|
|
952
952
|
if (n === void 0) {
|
|
953
953
|
const a = (o = t == null ? void 0 : t.renderBefore) != null ? o : null;
|
|
954
|
-
s._$litPart$ = n = new
|
|
954
|
+
s._$litPart$ = n = new Kt(e.insertBefore(Nt(), a), a, void 0, t != null ? t : {});
|
|
955
955
|
}
|
|
956
956
|
return n._$AI(r), n;
|
|
957
957
|
};
|
|
@@ -960,7 +960,7 @@ const Ms = (r, e, t) => {
|
|
|
960
960
|
* Copyright 2017 Google LLC
|
|
961
961
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
962
962
|
*/
|
|
963
|
-
const
|
|
963
|
+
const Ft = globalThis;
|
|
964
964
|
class mt extends ut {
|
|
965
965
|
constructor() {
|
|
966
966
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
@@ -987,11 +987,11 @@ class mt extends ut {
|
|
|
987
987
|
}
|
|
988
988
|
}
|
|
989
989
|
var Mo;
|
|
990
|
-
mt._$litElement$ = !0, mt.finalized = !0, (Mo =
|
|
991
|
-
const No =
|
|
990
|
+
mt._$litElement$ = !0, mt.finalized = !0, (Mo = Ft.litElementHydrateSupport) == null || Mo.call(Ft, { LitElement: mt });
|
|
991
|
+
const No = Ft.litElementPolyfillSupport;
|
|
992
992
|
No == null || No({ LitElement: mt });
|
|
993
993
|
var Lo;
|
|
994
|
-
((Lo =
|
|
994
|
+
((Lo = Ft.litElementVersions) != null ? Lo : Ft.litElementVersions = []).push("4.2.0");
|
|
995
995
|
/**
|
|
996
996
|
* @license
|
|
997
997
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -2006,7 +2006,7 @@ Code distributed by Google as part of the polymer project is also
|
|
|
2006
2006
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2007
2007
|
*/
|
|
2008
2008
|
let Cl = /(url\()([^)]*)(\))/g, Pl = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, ti, xe;
|
|
2009
|
-
function
|
|
2009
|
+
function zt(r, e) {
|
|
2010
2010
|
if (r && Pl.test(r) || r === "//")
|
|
2011
2011
|
return r;
|
|
2012
2012
|
if (ti === void 0) {
|
|
@@ -2027,7 +2027,7 @@ function Mt(r, e) {
|
|
|
2027
2027
|
}
|
|
2028
2028
|
function Nr(r, e) {
|
|
2029
2029
|
return r.replace(Cl, function(t, i, o, s) {
|
|
2030
|
-
return i + "'" +
|
|
2030
|
+
return i + "'" + zt(o.replace(/["']/g, ""), e) + "'" + s;
|
|
2031
2031
|
});
|
|
2032
2032
|
}
|
|
2033
2033
|
function Lr(r) {
|
|
@@ -2106,7 +2106,7 @@ function $o(r) {
|
|
|
2106
2106
|
function Rl(r) {
|
|
2107
2107
|
r.querySelector("style") && console.warn("dom-module %s has style outside template", r.id);
|
|
2108
2108
|
}
|
|
2109
|
-
class
|
|
2109
|
+
class Bt extends HTMLElement {
|
|
2110
2110
|
static get observedAttributes() {
|
|
2111
2111
|
return ["id"];
|
|
2112
2112
|
}
|
|
@@ -2122,7 +2122,7 @@ class $t extends HTMLElement {
|
|
|
2122
2122
|
}
|
|
2123
2123
|
get assetpath() {
|
|
2124
2124
|
if (!this.__assetpath) {
|
|
2125
|
-
const e = window.HTMLImports && HTMLImports.importForElement ? HTMLImports.importForElement(this) || document : this.ownerDocument, t =
|
|
2125
|
+
const e = window.HTMLImports && HTMLImports.importForElement ? HTMLImports.importForElement(this) || document : this.ownerDocument, t = zt(this.getAttribute("assetpath") || "", e.baseURI);
|
|
2126
2126
|
this.__assetpath = Lr(t);
|
|
2127
2127
|
}
|
|
2128
2128
|
return this.__assetpath;
|
|
@@ -2135,8 +2135,8 @@ class $t extends HTMLElement {
|
|
|
2135
2135
|
}
|
|
2136
2136
|
}
|
|
2137
2137
|
}
|
|
2138
|
-
|
|
2139
|
-
customElements.define("dom-module",
|
|
2138
|
+
Bt.prototype.modules = Vr;
|
|
2139
|
+
customElements.define("dom-module", Bt);
|
|
2140
2140
|
/**
|
|
2141
2141
|
@license
|
|
2142
2142
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -2148,7 +2148,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
2148
2148
|
*/
|
|
2149
2149
|
const zl = "link[rel=import][type~=css]", Ml = "include", Ho = "shady-unscoped";
|
|
2150
2150
|
function Ys(r) {
|
|
2151
|
-
return
|
|
2151
|
+
return Bt.import(r);
|
|
2152
2152
|
}
|
|
2153
2153
|
function jo(r) {
|
|
2154
2154
|
let e = r.body ? r.body : r;
|
|
@@ -2235,16 +2235,16 @@ function tt(r) {
|
|
|
2235
2235
|
function Js(r, e) {
|
|
2236
2236
|
return r.indexOf(e + ".") === 0;
|
|
2237
2237
|
}
|
|
2238
|
-
function
|
|
2238
|
+
function $t(r, e) {
|
|
2239
2239
|
return e.indexOf(r + ".") === 0;
|
|
2240
2240
|
}
|
|
2241
|
-
function
|
|
2241
|
+
function Ht(r, e, t) {
|
|
2242
2242
|
return e + t.slice(r.length);
|
|
2243
2243
|
}
|
|
2244
2244
|
function Fl(r, e) {
|
|
2245
|
-
return r === e || Js(r, e) ||
|
|
2245
|
+
return r === e || Js(r, e) || $t(r, e);
|
|
2246
2246
|
}
|
|
2247
|
-
function
|
|
2247
|
+
function St(r) {
|
|
2248
2248
|
if (Array.isArray(r)) {
|
|
2249
2249
|
let e = [];
|
|
2250
2250
|
for (let t = 0; t < r.length; t++) {
|
|
@@ -2257,7 +2257,7 @@ function Tt(r) {
|
|
|
2257
2257
|
return r;
|
|
2258
2258
|
}
|
|
2259
2259
|
function Xs(r) {
|
|
2260
|
-
return Array.isArray(r) ?
|
|
2260
|
+
return Array.isArray(r) ? St(r).split(".") : r.toString().split(".");
|
|
2261
2261
|
}
|
|
2262
2262
|
function ve(r, e, t) {
|
|
2263
2263
|
let i = r, o = Xs(e);
|
|
@@ -2723,8 +2723,8 @@ const sd = ee((r) => {
|
|
|
2723
2723
|
* Google as part of the polymer project is also subject to an additional IP
|
|
2724
2724
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2725
2725
|
*/
|
|
2726
|
-
let
|
|
2727
|
-
const
|
|
2726
|
+
let jt = 0;
|
|
2727
|
+
const Wt = [], B = { COMPUTE: "__computeEffects", REFLECT: "__reflectEffects", NOTIFY: "__notifyEffects", PROPAGATE: "__propagateEffects", OBSERVE: "__observeEffects", READ_ONLY: "__readOnly" }, nn = "__computeInfo", nd = /[A-Z]/;
|
|
2728
2728
|
function Ui(r, e, t) {
|
|
2729
2729
|
let i = r[e];
|
|
2730
2730
|
if (!i)
|
|
@@ -2737,10 +2737,10 @@ function Ui(r, e, t) {
|
|
|
2737
2737
|
}
|
|
2738
2738
|
return i;
|
|
2739
2739
|
}
|
|
2740
|
-
function
|
|
2740
|
+
function Tt(r, e, t, i, o, s) {
|
|
2741
2741
|
if (e) {
|
|
2742
2742
|
let n = !1;
|
|
2743
|
-
const a =
|
|
2743
|
+
const a = jt++;
|
|
2744
2744
|
for (let l in t) {
|
|
2745
2745
|
let d = o ? tt(l) : l, c = e[d];
|
|
2746
2746
|
if (c)
|
|
@@ -2761,7 +2761,7 @@ function ad(r, e, t, i, o, s, n, a) {
|
|
|
2761
2761
|
function Fr(r, e) {
|
|
2762
2762
|
if (e) {
|
|
2763
2763
|
let t = e.name;
|
|
2764
|
-
return t == r || !!(e.structured && Js(t, r)) || !!(e.wildcard &&
|
|
2764
|
+
return t == r || !!(e.structured && Js(t, r)) || !!(e.wildcard && $t(t, r));
|
|
2765
2765
|
} else
|
|
2766
2766
|
return !0;
|
|
2767
2767
|
}
|
|
@@ -2770,7 +2770,7 @@ function Yo(r, e, t, i, o) {
|
|
|
2770
2770
|
s ? s.call(r, r.__data[n], i[n]) : o.dynamicFn || console.warn("observer method `" + o.method + "` not defined");
|
|
2771
2771
|
}
|
|
2772
2772
|
function ld(r, e, t, i, o) {
|
|
2773
|
-
let s = r[B.NOTIFY], n, a =
|
|
2773
|
+
let s = r[B.NOTIFY], n, a = jt++;
|
|
2774
2774
|
for (let d in e)
|
|
2775
2775
|
e[d] && (s && ad(r, s, a, d, t, i, o) || o && dd(r, d, t)) && (n = !0);
|
|
2776
2776
|
let l;
|
|
@@ -2794,7 +2794,7 @@ function cd(r, e, t, i, o, s) {
|
|
|
2794
2794
|
}
|
|
2795
2795
|
function hd(r, e, t, i, o) {
|
|
2796
2796
|
let s, n = r.detail, a = n && n.path;
|
|
2797
|
-
a ? (i =
|
|
2797
|
+
a ? (i = Ht(t, i, a), s = n && n.value) : s = r.currentTarget[t], s = o ? !s : s, (!e[B.READ_ONLY] || !e[B.READ_ONLY][i]) && e._setPendingPropertyOrPath(i, s, !0, !!a) && (!n || !n.queueProperty) && e._invalidateProperties();
|
|
2798
2798
|
}
|
|
2799
2799
|
function ud(r, e, t, i, o) {
|
|
2800
2800
|
let s = r.__data[e];
|
|
@@ -2804,7 +2804,7 @@ function pd(r, e, t, i) {
|
|
|
2804
2804
|
let o = r[B.COMPUTE];
|
|
2805
2805
|
if (o)
|
|
2806
2806
|
if (Sl) {
|
|
2807
|
-
|
|
2807
|
+
jt++;
|
|
2808
2808
|
const s = _d(r), n = [];
|
|
2809
2809
|
for (let l in e)
|
|
2810
2810
|
Ko(l, o, n, s, i);
|
|
@@ -2814,7 +2814,7 @@ function pd(r, e, t, i) {
|
|
|
2814
2814
|
Object.assign(t, r.__dataOld), Object.assign(e, r.__dataPending), r.__dataPending = null;
|
|
2815
2815
|
} else {
|
|
2816
2816
|
let s = e;
|
|
2817
|
-
for (;
|
|
2817
|
+
for (; Tt(r, o, s, t, i); )
|
|
2818
2818
|
Object.assign(t, r.__dataOld), Object.assign(e, r.__dataPending), s = r.__dataPending, r.__dataPending = null;
|
|
2819
2819
|
}
|
|
2820
2820
|
}
|
|
@@ -2837,7 +2837,7 @@ const md = (r, e, t) => {
|
|
|
2837
2837
|
if (n)
|
|
2838
2838
|
for (let a = 0; a < n.length; a++) {
|
|
2839
2839
|
const l = n[a];
|
|
2840
|
-
l.info.lastRun !==
|
|
2840
|
+
l.info.lastRun !== jt && (!o || Fr(r, l.trigger)) && (l.info.lastRun = jt, md(l.info, t, i));
|
|
2841
2841
|
}
|
|
2842
2842
|
};
|
|
2843
2843
|
function _d(r) {
|
|
@@ -2871,7 +2871,7 @@ function fd(r) {
|
|
|
2871
2871
|
}
|
|
2872
2872
|
function ln(r, e, t, i, o) {
|
|
2873
2873
|
let s = pr(r, e, t, i, o);
|
|
2874
|
-
if (s ===
|
|
2874
|
+
if (s === Wt)
|
|
2875
2875
|
return !1;
|
|
2876
2876
|
let n = o.methodInfo;
|
|
2877
2877
|
return r.__dataHasAccessor && r.__dataHasAccessor[n] ? r._setPendingProperty(n, s, !0) : (r[n] = s, !1);
|
|
@@ -2882,7 +2882,7 @@ function vd(r, e, t) {
|
|
|
2882
2882
|
let o;
|
|
2883
2883
|
for (let s in i) {
|
|
2884
2884
|
let n = i[s];
|
|
2885
|
-
|
|
2885
|
+
$t(s, e) ? (o = Ht(s, n, e), r._setPendingPropertyOrPath(o, t, !0, !0)) : $t(n, e) && (o = Ht(n, s, e), r._setPendingPropertyOrPath(o, t, !0, !0));
|
|
2886
2886
|
}
|
|
2887
2887
|
}
|
|
2888
2888
|
}
|
|
@@ -2915,10 +2915,10 @@ function bd(r, e, t, i, o, s, n) {
|
|
|
2915
2915
|
let a = n[o.index], l = o.binding, d = o.part;
|
|
2916
2916
|
if (s && d.source && e.length > d.source.length && l.kind == "property" && !l.isCompound && a.__isPropertyEffectsClient && a.__dataHasAccessor && a.__dataHasAccessor[l.target]) {
|
|
2917
2917
|
let c = t[e];
|
|
2918
|
-
e =
|
|
2918
|
+
e = Ht(d.source, l.target, e), a._setPendingPropertyOrPath(e, c, !1, !0) && r._enqueueClient(a);
|
|
2919
2919
|
} else {
|
|
2920
2920
|
let c = o.evaluator._evaluateBinding(r, d, e, t, i, s);
|
|
2921
|
-
c !==
|
|
2921
|
+
c !== Wt && yd(r, a, l, d, c);
|
|
2922
2922
|
}
|
|
2923
2923
|
}
|
|
2924
2924
|
function yd(r, e, t, i, o) {
|
|
@@ -2980,7 +2980,7 @@ function pr(r, e, t, i, o) {
|
|
|
2980
2980
|
let s = r._methodHost || r, n = s[o.methodName];
|
|
2981
2981
|
if (n) {
|
|
2982
2982
|
let a = r._marshalArgs(o.args, e, t);
|
|
2983
|
-
return a ===
|
|
2983
|
+
return a === Wt ? Wt : n.apply(s, a);
|
|
2984
2984
|
} else
|
|
2985
2985
|
o.dynamicFn || console.warn("method `" + o.methodName + "` not defined");
|
|
2986
2986
|
}
|
|
@@ -3032,7 +3032,7 @@ function hn(r, e, t, i) {
|
|
|
3032
3032
|
const o = { indexSplices: i };
|
|
3033
3033
|
cr && !r._overrideLegacyUndefined && (e.splices = o), r.notifyPath(t + ".splices", o), r.notifyPath(t + ".length", e.length), cr && !r._overrideLegacyUndefined && (o.indexSplices = []);
|
|
3034
3034
|
}
|
|
3035
|
-
function
|
|
3035
|
+
function kt(r, e, t, i, o, s) {
|
|
3036
3036
|
hn(r, e, t, [{ index: i, addedCount: o, removed: s, object: e, type: "splice" }]);
|
|
3037
3037
|
}
|
|
3038
3038
|
function Fd(r) {
|
|
@@ -3051,8 +3051,8 @@ const Br = ee((r) => {
|
|
|
3051
3051
|
super._initializeProperties(), this._registerHost(), this.__dataClientsReady = !1, this.__dataPendingClients = null, this.__dataToNotify = null, this.__dataLinkedPaths = null, this.__dataHasPaths = !1, this.__dataCompoundStorage = this.__dataCompoundStorage || null, this.__dataHost = this.__dataHost || null, this.__dataTemp = {}, this.__dataClientsInitialized = !1;
|
|
3052
3052
|
}
|
|
3053
3053
|
_registerHost() {
|
|
3054
|
-
if (
|
|
3055
|
-
let o =
|
|
3054
|
+
if (At.length) {
|
|
3055
|
+
let o = At[At.length - 1];
|
|
3056
3056
|
o._enqueueClient(this), this.__dataHost = o;
|
|
3057
3057
|
}
|
|
3058
3058
|
}
|
|
@@ -3149,24 +3149,24 @@ const Br = ee((r) => {
|
|
|
3149
3149
|
let a = this.__dataHasPaths;
|
|
3150
3150
|
this.__dataHasPaths = !1;
|
|
3151
3151
|
let l;
|
|
3152
|
-
pd(this, s, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(s, n, a), this._flushClients(),
|
|
3152
|
+
pd(this, s, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(s, n, a), this._flushClients(), Tt(this, this[B.REFLECT], s, n, a), Tt(this, this[B.OBSERVE], s, n, a), l && ld(this, l, s, n, a), this.__dataCounter == 1 && (this.__dataTemp = {});
|
|
3153
3153
|
}
|
|
3154
3154
|
_propagatePropertyChanges(o, s, n) {
|
|
3155
|
-
this[B.PROPAGATE] &&
|
|
3155
|
+
this[B.PROPAGATE] && Tt(this, this[B.PROPAGATE], o, s, n), this.__templateInfo && this._runEffectsForTemplate(this.__templateInfo, o, s, n);
|
|
3156
3156
|
}
|
|
3157
3157
|
_runEffectsForTemplate(o, s, n, a) {
|
|
3158
3158
|
const l = (d, c) => {
|
|
3159
|
-
|
|
3159
|
+
Tt(this, o.propertyEffects, d, n, c, o.nodeList);
|
|
3160
3160
|
for (let h = o.firstChild; h; h = h.nextSibling)
|
|
3161
3161
|
this._runEffectsForTemplate(h, d, n, c);
|
|
3162
3162
|
};
|
|
3163
3163
|
o.runEffects ? o.runEffects(l, s, a) : l(s, a);
|
|
3164
3164
|
}
|
|
3165
3165
|
linkPaths(o, s) {
|
|
3166
|
-
o =
|
|
3166
|
+
o = St(o), s = St(s), this.__dataLinkedPaths = this.__dataLinkedPaths || {}, this.__dataLinkedPaths[o] = s;
|
|
3167
3167
|
}
|
|
3168
3168
|
unlinkPaths(o) {
|
|
3169
|
-
o =
|
|
3169
|
+
o = St(o), this.__dataLinkedPaths && delete this.__dataLinkedPaths[o];
|
|
3170
3170
|
}
|
|
3171
3171
|
notifySplices(o, s) {
|
|
3172
3172
|
let n = { path: "" }, a = ve(this, o, n);
|
|
@@ -3180,25 +3180,25 @@ const Br = ee((r) => {
|
|
|
3180
3180
|
}
|
|
3181
3181
|
push(o, ...s) {
|
|
3182
3182
|
let n = { path: "" }, a = ve(this, o, n), l = a.length, d = a.push(...s);
|
|
3183
|
-
return s.length &&
|
|
3183
|
+
return s.length && kt(this, a, n.path, l, s.length, []), d;
|
|
3184
3184
|
}
|
|
3185
3185
|
pop(o) {
|
|
3186
3186
|
let s = { path: "" }, n = ve(this, o, s), a = !!n.length, l = n.pop();
|
|
3187
|
-
return a &&
|
|
3187
|
+
return a && kt(this, n, s.path, n.length, 0, [l]), l;
|
|
3188
3188
|
}
|
|
3189
3189
|
splice(o, s, n, ...a) {
|
|
3190
3190
|
let l = { path: "" }, d = ve(this, o, l);
|
|
3191
3191
|
s < 0 ? s = d.length - Math.floor(-s) : s && (s = Math.floor(s));
|
|
3192
3192
|
let c;
|
|
3193
|
-
return arguments.length === 2 ? c = d.splice(s) : c = d.splice(s, n, ...a), (a.length || c.length) &&
|
|
3193
|
+
return arguments.length === 2 ? c = d.splice(s) : c = d.splice(s, n, ...a), (a.length || c.length) && kt(this, d, l.path, s, a.length, c), c;
|
|
3194
3194
|
}
|
|
3195
3195
|
shift(o) {
|
|
3196
3196
|
let s = { path: "" }, n = ve(this, o, s), a = !!n.length, l = n.shift();
|
|
3197
|
-
return a &&
|
|
3197
|
+
return a && kt(this, n, s.path, 0, 0, [l]), l;
|
|
3198
3198
|
}
|
|
3199
3199
|
unshift(o, ...s) {
|
|
3200
3200
|
let n = { path: "" }, a = ve(this, o, n), l = a.unshift(...s);
|
|
3201
|
-
return s.length &&
|
|
3201
|
+
return s.length && kt(this, a, n.path, 0, s.length, []), l;
|
|
3202
3202
|
}
|
|
3203
3203
|
notifyPath(o, s) {
|
|
3204
3204
|
let n;
|
|
@@ -3206,7 +3206,7 @@ const Br = ee((r) => {
|
|
|
3206
3206
|
let a = { path: "" };
|
|
3207
3207
|
s = ve(this, o, a), n = a.path;
|
|
3208
3208
|
} else
|
|
3209
|
-
Array.isArray(o) ? n =
|
|
3209
|
+
Array.isArray(o) ? n = St(o) : n = o;
|
|
3210
3210
|
this._setPendingPropertyOrPath(n, s, !0, !0) && this._invalidateProperties();
|
|
3211
3211
|
}
|
|
3212
3212
|
_createReadOnlyProperty(o, s) {
|
|
@@ -3244,12 +3244,12 @@ const Br = ee((r) => {
|
|
|
3244
3244
|
let { name: h, structured: f, wildcard: u, value: w, literal: D } = o[d];
|
|
3245
3245
|
if (!D)
|
|
3246
3246
|
if (u) {
|
|
3247
|
-
const I =
|
|
3247
|
+
const I = $t(h, s), R = Qo(a, n, I ? s : h);
|
|
3248
3248
|
w = { path: I ? s : h, value: R, base: I ? ve(a, h) : R };
|
|
3249
3249
|
} else
|
|
3250
3250
|
w = f ? Qo(a, n, h) : a[h];
|
|
3251
3251
|
if (cr && !this._overrideLegacyUndefined && w === void 0 && o.length > 1)
|
|
3252
|
-
return
|
|
3252
|
+
return Wt;
|
|
3253
3253
|
l[d] = w;
|
|
3254
3254
|
}
|
|
3255
3255
|
return l;
|
|
@@ -3301,9 +3301,9 @@ const Br = ee((r) => {
|
|
|
3301
3301
|
(l[s] = l[s] || []).push(n);
|
|
3302
3302
|
}
|
|
3303
3303
|
_stampTemplate(o, s) {
|
|
3304
|
-
s = s || this._bindTemplate(o, !0),
|
|
3304
|
+
s = s || this._bindTemplate(o, !0), At.push(this);
|
|
3305
3305
|
let n = super._stampTemplate(o, s);
|
|
3306
|
-
if (
|
|
3306
|
+
if (At.pop(), s.nodeList = n.nodeList, !s.wasPreBound) {
|
|
3307
3307
|
let a = s.childNodes = [];
|
|
3308
3308
|
for (let l = n.firstChild; l; l = l.nextSibling)
|
|
3309
3309
|
a.push(l);
|
|
@@ -3384,7 +3384,7 @@ const Br = ee((r) => {
|
|
|
3384
3384
|
}
|
|
3385
3385
|
}
|
|
3386
3386
|
return t;
|
|
3387
|
-
}),
|
|
3387
|
+
}), At = [];
|
|
3388
3388
|
/**
|
|
3389
3389
|
@license
|
|
3390
3390
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -3525,7 +3525,7 @@ const Hd = "3.5.2", es = window.ShadyCSS && window.ShadyCSS.cssBuild, jd = ee((r
|
|
|
3525
3525
|
}
|
|
3526
3526
|
function n(l) {
|
|
3527
3527
|
let d = null;
|
|
3528
|
-
if (l && (!yi || El) && (d =
|
|
3528
|
+
if (l && (!yi || El) && (d = Bt.import(l, "template"), yi && !d))
|
|
3529
3529
|
throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
3530
3530
|
return d;
|
|
3531
3531
|
}
|
|
@@ -3567,7 +3567,7 @@ const Hd = "3.5.2", es = window.ShadyCSS && window.ShadyCSS.cssBuild, jd = ee((r
|
|
|
3567
3567
|
if (d)
|
|
3568
3568
|
this._importPath = Lr(d.url);
|
|
3569
3569
|
else {
|
|
3570
|
-
const c =
|
|
3570
|
+
const c = Bt.import(this.is);
|
|
3571
3571
|
this._importPath = c && c.assetpath || Object.getPrototypeOf(this.prototype).constructor.importPath;
|
|
3572
3572
|
}
|
|
3573
3573
|
}
|
|
@@ -3598,7 +3598,7 @@ const Hd = "3.5.2", es = window.ShadyCSS && window.ShadyCSS.cssBuild, jd = ee((r
|
|
|
3598
3598
|
const c = this.prototype._template;
|
|
3599
3599
|
if (c && !c.__polymerFinalized) {
|
|
3600
3600
|
c.__polymerFinalized = !0;
|
|
3601
|
-
const h = this.importPath, f = h ?
|
|
3601
|
+
const h = this.importPath, f = h ? zt(h) : "";
|
|
3602
3602
|
s(this, c, d, f), this.prototype._bindTemplate(c);
|
|
3603
3603
|
}
|
|
3604
3604
|
}
|
|
@@ -3621,7 +3621,7 @@ const Hd = "3.5.2", es = window.ShadyCSS && window.ShadyCSS.cssBuild, jd = ee((r
|
|
|
3621
3621
|
window.ShadyCSS && window.ShadyCSS.styleSubtree(this, d);
|
|
3622
3622
|
}
|
|
3623
3623
|
resolveUrl(d, c) {
|
|
3624
|
-
return !c && this.importPath && (c =
|
|
3624
|
+
return !c && this.importPath && (c = zt(this.importPath)), zt(d, c);
|
|
3625
3625
|
}
|
|
3626
3626
|
static _parseTemplateContent(d, c, h) {
|
|
3627
3627
|
return c.dynamicFns = c.dynamicFns || this._properties, e._parseTemplateContent.call(this, d, c, h);
|
|
@@ -4246,7 +4246,7 @@ const We = { after(r) {
|
|
|
4246
4246
|
return window.setTimeout(r, e);
|
|
4247
4247
|
}, cancel(r) {
|
|
4248
4248
|
window.clearTimeout(r);
|
|
4249
|
-
} },
|
|
4249
|
+
} }, qt = { run(r) {
|
|
4250
4250
|
return window.requestAnimationFrame(r);
|
|
4251
4251
|
}, cancel(r) {
|
|
4252
4252
|
window.cancelAnimationFrame(r);
|
|
@@ -4275,7 +4275,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
4275
4275
|
Code distributed by Google as part of the polymer project is also
|
|
4276
4276
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
4277
4277
|
*/
|
|
4278
|
-
const
|
|
4278
|
+
const Ut = /* @__PURE__ */ new Set();
|
|
4279
4279
|
let we = class _r {
|
|
4280
4280
|
static debounce(e, t, i) {
|
|
4281
4281
|
return e instanceof _r ? e._cancelAsync() : e = new _r(), e.setConfig(t, i), e;
|
|
@@ -4285,11 +4285,11 @@ let we = class _r {
|
|
|
4285
4285
|
}
|
|
4286
4286
|
setConfig(e, t) {
|
|
4287
4287
|
this._asyncModule = e, this._callback = t, this._timer = this._asyncModule.run(() => {
|
|
4288
|
-
this._timer = null,
|
|
4288
|
+
this._timer = null, Ut.delete(this), this._callback();
|
|
4289
4289
|
});
|
|
4290
4290
|
}
|
|
4291
4291
|
cancel() {
|
|
4292
|
-
this.isActive() && (this._cancelAsync(),
|
|
4292
|
+
this.isActive() && (this._cancelAsync(), Ut.delete(this));
|
|
4293
4293
|
}
|
|
4294
4294
|
_cancelAsync() {
|
|
4295
4295
|
this.isActive() && (this._asyncModule.cancel(this._timer), this._timer = null);
|
|
@@ -4302,11 +4302,11 @@ let we = class _r {
|
|
|
4302
4302
|
}
|
|
4303
4303
|
};
|
|
4304
4304
|
function gn(r) {
|
|
4305
|
-
|
|
4305
|
+
Ut.add(r);
|
|
4306
4306
|
}
|
|
4307
4307
|
function ec() {
|
|
4308
|
-
const r = !!
|
|
4309
|
-
return
|
|
4308
|
+
const r = !!Ut.size;
|
|
4309
|
+
return Ut.forEach((e) => {
|
|
4310
4310
|
try {
|
|
4311
4311
|
e.flush();
|
|
4312
4312
|
} catch (t) {
|
|
@@ -4316,7 +4316,7 @@ function ec() {
|
|
|
4316
4316
|
}
|
|
4317
4317
|
}), r;
|
|
4318
4318
|
}
|
|
4319
|
-
const
|
|
4319
|
+
const Dt = () => {
|
|
4320
4320
|
let r;
|
|
4321
4321
|
do
|
|
4322
4322
|
r = ec();
|
|
@@ -4778,17 +4778,17 @@ Wr({ name: "downup", deps: ["mousedown", "touchstart", "touchend"], flow: { star
|
|
|
4778
4778
|
if (!Qe(r))
|
|
4779
4779
|
return;
|
|
4780
4780
|
const e = qe(r), t = this, i = (s) => {
|
|
4781
|
-
Qe(s) || (
|
|
4781
|
+
Qe(s) || (Et("up", e, s), vt(t.info));
|
|
4782
4782
|
}, o = (s) => {
|
|
4783
|
-
Qe(s) &&
|
|
4783
|
+
Qe(s) && Et("up", e, s), vt(t.info);
|
|
4784
4784
|
};
|
|
4785
|
-
Cn(this.info, i, o),
|
|
4785
|
+
Cn(this.info, i, o), Et("down", e, r);
|
|
4786
4786
|
}, touchstart(r) {
|
|
4787
|
-
|
|
4787
|
+
Et("down", qe(r), r.changedTouches[0], r);
|
|
4788
4788
|
}, touchend(r) {
|
|
4789
|
-
|
|
4789
|
+
Et("up", qe(r), r.changedTouches[0], r);
|
|
4790
4790
|
} });
|
|
4791
|
-
function
|
|
4791
|
+
function Et(r, e, t, i) {
|
|
4792
4792
|
e && qr(e, r, { x: t.clientX, y: t.clientY, sourceEvent: t, preventer: i, prevent(o) {
|
|
4793
4793
|
return Ci(o);
|
|
4794
4794
|
} });
|
|
@@ -5166,7 +5166,7 @@ const Jr = ee((r) => class extends r {
|
|
|
5166
5166
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
5167
5167
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5168
5168
|
*/
|
|
5169
|
-
const
|
|
5169
|
+
const Gt = ee((r) => class extends r {
|
|
5170
5170
|
static get properties() {
|
|
5171
5171
|
return { inputElement: { type: Object, readOnly: !0, observer: "_inputElementChanged" }, type: { type: String, readOnly: !0 }, value: { type: String, value: "", observer: "_valueChanged", notify: !0, sync: !0 }, _hasInputValue: { type: Boolean, value: !1, observer: "_hasInputValueChanged" } };
|
|
5172
5172
|
}
|
|
@@ -5228,7 +5228,7 @@ const Jt = ee((r) => class extends r {
|
|
|
5228
5228
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
5229
5229
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5230
5230
|
*/
|
|
5231
|
-
const Ac = ee((r) => class extends Jr(Ct(
|
|
5231
|
+
const Ac = ee((r) => class extends Jr(Ct(Gt(r))) {
|
|
5232
5232
|
static get properties() {
|
|
5233
5233
|
return { checked: { type: Boolean, value: !1, notify: !0, reflectToAttribute: !0 } };
|
|
5234
5234
|
}
|
|
@@ -5368,7 +5368,7 @@ document.body.appendChild(Se);
|
|
|
5368
5368
|
let ri;
|
|
5369
5369
|
function ui(r, e = {}) {
|
|
5370
5370
|
const t = e.mode || "polite", i = e.timeout === void 0 ? 150 : e.timeout;
|
|
5371
|
-
t === "alert" ? (Se.removeAttribute("aria-live"), Se.removeAttribute("role"), ri = we.debounce(ri,
|
|
5371
|
+
t === "alert" ? (Se.removeAttribute("aria-live"), Se.removeAttribute("role"), ri = we.debounce(ri, qt, () => {
|
|
5372
5372
|
Se.setAttribute("role", "alert");
|
|
5373
5373
|
})) : (ri && ri.cancel(), Se.removeAttribute("role"), Se.setAttribute("aria-live", t)), Se.textContent = "", setTimeout(() => {
|
|
5374
5374
|
Se.textContent = r;
|
|
@@ -5625,7 +5625,7 @@ const Ri = (r) => class extends Qr(Oc(Ke(r))) {
|
|
|
5625
5625
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
5626
5626
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5627
5627
|
*/
|
|
5628
|
-
class
|
|
5628
|
+
class Jt extends Oe {
|
|
5629
5629
|
constructor(e, t, i = {}) {
|
|
5630
5630
|
const { uniqueIdPrefix: o } = i;
|
|
5631
5631
|
super(e, "input", "input", { initializer: (s, n) => {
|
|
@@ -5638,7 +5638,7 @@ class Xt extends Oe {
|
|
|
5638
5638
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
5639
5639
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5640
5640
|
*/
|
|
5641
|
-
class
|
|
5641
|
+
class Xt {
|
|
5642
5642
|
constructor(e, t) {
|
|
5643
5643
|
this.input = e, this.__preventDuplicateLabelClick = this.__preventDuplicateLabelClick.bind(this), t.addEventListener("slot-content-changed", (i) => {
|
|
5644
5644
|
this.__initLabel(i.detail.node);
|
|
@@ -5676,9 +5676,9 @@ const Rc = (r) => class extends Ri(Ac(Oi(Ur(r)))) {
|
|
|
5676
5676
|
super(), this._setType("checkbox"), this._boundOnInputClick = this._onInputClick.bind(this), this.value = "on";
|
|
5677
5677
|
}
|
|
5678
5678
|
ready() {
|
|
5679
|
-
super.ready(), this.addController(new
|
|
5679
|
+
super.ready(), this.addController(new Jt(this, (e) => {
|
|
5680
5680
|
this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
|
|
5681
|
-
})), this.addController(new
|
|
5681
|
+
})), this.addController(new Xt(this.inputElement, this._labelController)), this._createMethodObserver("_checkedChanged(checked)");
|
|
5682
5682
|
}
|
|
5683
5683
|
_shouldSetActive(e) {
|
|
5684
5684
|
return this.readonly || e.target.localName === "a" || e.target === this._helperNode || e.target === this._errorNode ? !1 : super._shouldSetActive(e);
|
|
@@ -8342,7 +8342,7 @@ function mh(r, e, t = 0, i = 1) {
|
|
|
8342
8342
|
let o = e + Math.floor(r.getFullYear() / 100) * 100;
|
|
8343
8343
|
return r < new Date(o - 50, t, i) ? o -= 100 : r > new Date(o + 50, t, i) && (o += 100), o;
|
|
8344
8344
|
}
|
|
8345
|
-
function
|
|
8345
|
+
function It(r) {
|
|
8346
8346
|
const e = /^([-+]\d{1}|\d{2,4}|[-+]\d{6})-(\d{1,2})-(\d{1,2})$/u.exec(r);
|
|
8347
8347
|
if (!e)
|
|
8348
8348
|
return;
|
|
@@ -8374,11 +8374,11 @@ class Pi {
|
|
|
8374
8374
|
}
|
|
8375
8375
|
setConfig(e, t) {
|
|
8376
8376
|
this._asyncModule = e, this._callback = t, this._timer = this._asyncModule.run(() => {
|
|
8377
|
-
this._timer = null,
|
|
8377
|
+
this._timer = null, Yt.delete(this), this._callback();
|
|
8378
8378
|
});
|
|
8379
8379
|
}
|
|
8380
8380
|
cancel() {
|
|
8381
|
-
this.isActive() && (this._cancelAsync(),
|
|
8381
|
+
this.isActive() && (this._cancelAsync(), Yt.delete(this));
|
|
8382
8382
|
}
|
|
8383
8383
|
_cancelAsync() {
|
|
8384
8384
|
this.isActive() && (this._asyncModule.cancel(this._timer), this._timer = null);
|
|
@@ -8393,12 +8393,12 @@ class Pi {
|
|
|
8393
8393
|
return e instanceof Pi ? e._cancelAsync() : e = new Pi(), e.setConfig(t, i), e;
|
|
8394
8394
|
}
|
|
8395
8395
|
}
|
|
8396
|
-
let
|
|
8396
|
+
let Yt = /* @__PURE__ */ new Set();
|
|
8397
8397
|
const vh = function(r) {
|
|
8398
|
-
|
|
8398
|
+
Yt.add(r);
|
|
8399
8399
|
}, gh = function() {
|
|
8400
|
-
const r = !!
|
|
8401
|
-
return
|
|
8400
|
+
const r = !!Yt.size;
|
|
8401
|
+
return Yt.forEach((e) => {
|
|
8402
8402
|
try {
|
|
8403
8403
|
e.flush();
|
|
8404
8404
|
} catch (t) {
|
|
@@ -9053,7 +9053,7 @@ class ps extends Vh {
|
|
|
9053
9053
|
if (Fl(this.as, s)) {
|
|
9054
9054
|
let a = o[this.itemsIndexAs];
|
|
9055
9055
|
s == this.as && (this.items[a] = n);
|
|
9056
|
-
let l =
|
|
9056
|
+
let l = Ht(this.as, `${JSCompiler_renameProperty("items", this)}.${a}`, s);
|
|
9057
9057
|
this.notifyPath(l, n);
|
|
9058
9058
|
}
|
|
9059
9059
|
} });
|
|
@@ -9969,7 +9969,7 @@ const Gn = ee((r) => class extends r {
|
|
|
9969
9969
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9970
9970
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9971
9971
|
*/
|
|
9972
|
-
const Yh = (r) => class extends
|
|
9972
|
+
const Yh = (r) => class extends Gt(it(r)) {
|
|
9973
9973
|
static get properties() {
|
|
9974
9974
|
return { clearButtonVisible: { type: Boolean, reflectToAttribute: !0, value: !1 } };
|
|
9975
9975
|
}
|
|
@@ -9997,7 +9997,7 @@ const Yh = (r) => class extends Jt(it(r)) {
|
|
|
9997
9997
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9998
9998
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9999
9999
|
*/
|
|
10000
|
-
const uo = ee((r) => class extends Jr(Qr(
|
|
10000
|
+
const uo = ee((r) => class extends Jr(Qr(Gt(r))) {
|
|
10001
10001
|
static get constraints() {
|
|
10002
10002
|
return ["required"];
|
|
10003
10003
|
}
|
|
@@ -10232,7 +10232,7 @@ const Gh = (r) => class extends $i(Ke(Oi(uo(it(r))))) {
|
|
|
10232
10232
|
let o, s = i.getMonth(), n = i.getFullYear();
|
|
10233
10233
|
if (t.length === 3) {
|
|
10234
10234
|
if (s = parseInt(t[0]) - 1, o = parseInt(t[1]), n = parseInt(t[2]), t[2].length < 3 && n >= 0) {
|
|
10235
|
-
const a = this.referenceDate ?
|
|
10235
|
+
const a = this.referenceDate ? It(this.referenceDate) : /* @__PURE__ */ new Date();
|
|
10236
10236
|
n = mh(a, n, s, o);
|
|
10237
10237
|
}
|
|
10238
10238
|
} else
|
|
@@ -10309,7 +10309,7 @@ const Gh = (r) => class extends $i(Ke(Oi(uo(it(r))))) {
|
|
|
10309
10309
|
if (!this.i18n.parseDate)
|
|
10310
10310
|
return;
|
|
10311
10311
|
let t = this.i18n.parseDate(e);
|
|
10312
|
-
if (t && (t =
|
|
10312
|
+
if (t && (t = It(`${t.year}-${t.month + 1}-${t.day}`)), t && !isNaN(t.getTime()))
|
|
10313
10313
|
return t;
|
|
10314
10314
|
}
|
|
10315
10315
|
__formatDate(e) {
|
|
@@ -10365,7 +10365,7 @@ const Gh = (r) => class extends $i(Ke(Oi(uo(it(r))))) {
|
|
|
10365
10365
|
e === void 0 || t === void 0 || !this._ignoreFocusedDateChange && !this._noInput && this._applyInputValue(e);
|
|
10366
10366
|
}
|
|
10367
10367
|
_valueChanged(e, t) {
|
|
10368
|
-
const i =
|
|
10368
|
+
const i = It(e);
|
|
10369
10369
|
if (e && !i) {
|
|
10370
10370
|
this.value = t;
|
|
10371
10371
|
return;
|
|
@@ -10397,7 +10397,7 @@ const Gh = (r) => class extends $i(Ke(Oi(uo(it(r))))) {
|
|
|
10397
10397
|
this.__showOthers = Vn(s);
|
|
10398
10398
|
}
|
|
10399
10399
|
_getInitialPosition() {
|
|
10400
|
-
const e =
|
|
10400
|
+
const e = It(this.initialPosition), t = this._selectedDate || this._overlayContent.initialPosition || e || /* @__PURE__ */ new Date();
|
|
10401
10401
|
return e || xt(t, this._minDate, this._maxDate, this.isDateDisabled) ? t : this._minDate || this._maxDate ? Hn(t, [this._minDate, this._maxDate]) : /* @__PURE__ */ new Date();
|
|
10402
10402
|
}
|
|
10403
10403
|
__commitParsedOrFocusedDate() {
|
|
@@ -10471,7 +10471,7 @@ const Gh = (r) => class extends $i(Ke(Oi(uo(it(r))))) {
|
|
|
10471
10471
|
}
|
|
10472
10472
|
}
|
|
10473
10473
|
__computeMinOrMaxDate(e) {
|
|
10474
|
-
return
|
|
10474
|
+
return It(e);
|
|
10475
10475
|
}
|
|
10476
10476
|
};
|
|
10477
10477
|
/**
|
|
@@ -10552,9 +10552,9 @@ class Xh extends Gh(Fi(J(Re(H)))) {
|
|
|
10552
10552
|
return this.$.clearButton;
|
|
10553
10553
|
}
|
|
10554
10554
|
ready() {
|
|
10555
|
-
super.ready(), this.addController(new
|
|
10555
|
+
super.ready(), this.addController(new Jt(this, (e) => {
|
|
10556
10556
|
this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
|
|
10557
|
-
}, { uniqueIdPrefix: "search-input" })), this.addController(new
|
|
10557
|
+
}, { uniqueIdPrefix: "search-input" })), this.addController(new Xt(this.inputElement, this._labelController)), this._tooltipController = new Ye(this), this.addController(this._tooltipController), this._tooltipController.setPosition("top"), this._tooltipController.setAriaTarget(this.inputElement), this._tooltipController.setShouldShow((e) => !e.opened), this.shadowRoot.querySelector('[part="toggle-button"]').addEventListener("mousedown", (e) => e.preventDefault()), this.$.overlay.addEventListener("vaadin-overlay-close", this._onVaadinOverlayClose.bind(this));
|
|
10558
10558
|
}
|
|
10559
10559
|
_onVaadinOverlayClose(e) {
|
|
10560
10560
|
e.detail.sourceEvent && e.detail.sourceEvent.composedPath().includes(this) && e.preventDefault();
|
|
@@ -10626,9 +10626,9 @@ const Qh = (r) => class extends Zh(r) {
|
|
|
10626
10626
|
return this.$.clearButton;
|
|
10627
10627
|
}
|
|
10628
10628
|
ready() {
|
|
10629
|
-
super.ready(), this.addController(new
|
|
10629
|
+
super.ready(), this.addController(new Jt(this, (e) => {
|
|
10630
10630
|
this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
|
|
10631
|
-
})), this.addController(new
|
|
10631
|
+
})), this.addController(new Xt(this.inputElement, this._labelController));
|
|
10632
10632
|
}
|
|
10633
10633
|
};
|
|
10634
10634
|
/**
|
|
@@ -10746,7 +10746,7 @@ L(iu);
|
|
|
10746
10746
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
10747
10747
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10748
10748
|
*/
|
|
10749
|
-
const ru = (r) => class extends Gn(Ct(rt(
|
|
10749
|
+
const ru = (r) => class extends Gn(Ct(rt(Gt(r)))) {
|
|
10750
10750
|
static get properties() {
|
|
10751
10751
|
return { revealButtonHidden: { type: Boolean, observer: "_revealButtonHiddenChanged", value: !1 }, passwordVisible: { type: Boolean, value: !1, reflectToAttribute: !0, observer: "_passwordVisibleChanged", readOnly: !0 }, i18n: { type: Object, value: () => ({ reveal: "Show password" }) } };
|
|
10752
10752
|
}
|
|
@@ -11293,7 +11293,7 @@ const ms = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), cu
|
|
|
11293
11293
|
} else
|
|
11294
11294
|
this._virtualCount > 0 && (this.updateViewportBoundaries(), this._increasePoolIfNeeded(_s));
|
|
11295
11295
|
}, _itemsChanged(r) {
|
|
11296
|
-
r.path === "items" && (this._virtualStart = 0, this._physicalTop = 0, this._virtualCount = this.items ? this.items.length : 0, this._physicalIndexForKey = {}, this._firstVisibleIndexVal = null, this._lastVisibleIndexVal = null, this._physicalItems || (this._physicalItems = []), this._physicalSizes || (this._physicalSizes = []), this._physicalStart = 0, this._scrollTop > this._scrollOffset && this._resetScrollPosition(0), this._debounce("_render", this._render,
|
|
11296
|
+
r.path === "items" && (this._virtualStart = 0, this._physicalTop = 0, this._virtualCount = this.items ? this.items.length : 0, this._physicalIndexForKey = {}, this._firstVisibleIndexVal = null, this._lastVisibleIndexVal = null, this._physicalItems || (this._physicalItems = []), this._physicalSizes || (this._physicalSizes = []), this._physicalStart = 0, this._scrollTop > this._scrollOffset && this._resetScrollPosition(0), this._debounce("_render", this._render, qt));
|
|
11297
11297
|
}, _iterateItems(r, e) {
|
|
11298
11298
|
let t, i, o, s;
|
|
11299
11299
|
if (arguments.length === 2 && e) {
|
|
@@ -11331,7 +11331,7 @@ const ms = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), cu
|
|
|
11331
11331
|
const e = this._physicalBottom + Math.max(this._virtualCount - this._physicalCount - this._virtualStart, 0) * this._physicalAverage;
|
|
11332
11332
|
this._estScrollHeight = e, (r || this._scrollHeight === 0 || this._scrollPosition >= e - this._physicalSize || Math.abs(e - this._scrollHeight) >= this._viewportHeight) && (this.$.items.style.height = `${e}px`, this._scrollHeight = e);
|
|
11333
11333
|
}, scrollToIndex(r) {
|
|
11334
|
-
if (typeof r != "number" || r < 0 || r > this.items.length - 1 || (
|
|
11334
|
+
if (typeof r != "number" || r < 0 || r > this.items.length - 1 || (Dt(), this._physicalCount === 0))
|
|
11335
11335
|
return;
|
|
11336
11336
|
r = this._clamp(r, 0, this._virtualCount - 1), (!this._isIndexRendered(r) || r >= this._maxVirtualStart) && (this._virtualStart = r - 1), this._assignModels(), this._updateMetrics(), this._physicalTop = this._virtualStart * this._physicalAverage;
|
|
11337
11337
|
let e = this._physicalStart, t = this._virtualStart, i = 0;
|
|
@@ -11344,7 +11344,7 @@ const ms = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), cu
|
|
|
11344
11344
|
}, _resizeHandler() {
|
|
11345
11345
|
this._debounce("_render", () => {
|
|
11346
11346
|
this._firstVisibleIndexVal = null, this._lastVisibleIndexVal = null, this._isVisible ? (this.updateViewportBoundaries(), this.toggleScrollListener(!0), this._resetAverage(), this._render()) : this.toggleScrollListener(!1);
|
|
11347
|
-
},
|
|
11347
|
+
}, qt);
|
|
11348
11348
|
}, _isIndexRendered(r) {
|
|
11349
11349
|
return r >= this._virtualStart && r <= this._virtualEnd;
|
|
11350
11350
|
}, _getPhysicalIndex(r) {
|
|
@@ -11397,7 +11397,7 @@ class na {
|
|
|
11397
11397
|
this._virtualCount - i < t ? (i = this._virtualCount - (this.size - e), this._vidxOffset = this._maxVirtualIndexOffset) : i < t ? e < sr ? (i = e, this._vidxOffset = 0) : (i = sr, this._vidxOffset = e - i) : this._vidxOffset = e - i, this.__skipNextVirtualIndexAdjust = !0, super.scrollToIndex(i), this.adjustedFirstVisibleIndex !== e && this._scrollTop < this._maxScrollTop && !this.grid && (this._scrollTop -= this.__getIndexScrollOffset(e) || 0), this._scrollHandler(), this.__hasPlaceholders() && (this.__pendingScrollToIndex = e);
|
|
11398
11398
|
}
|
|
11399
11399
|
flush() {
|
|
11400
|
-
this.scrollTarget.offsetHeight !== 0 && (this._resizeHandler(),
|
|
11400
|
+
this.scrollTarget.offsetHeight !== 0 && (this._resizeHandler(), Dt(), this._scrollHandler(), this.__fixInvalidItemPositioningDebouncer && this.__fixInvalidItemPositioningDebouncer.flush(), this.__scrollReorderDebouncer && this.__scrollReorderDebouncer.flush(), this.__debouncerWheelAnimationFrame && this.__debouncerWheelAnimationFrame.flush());
|
|
11401
11401
|
}
|
|
11402
11402
|
update(e = 0, t = this.size - 1) {
|
|
11403
11403
|
const i = [];
|
|
@@ -11406,7 +11406,7 @@ class na {
|
|
|
11406
11406
|
}), this.__afterElementsUpdated(i);
|
|
11407
11407
|
}
|
|
11408
11408
|
_updateMetrics(e) {
|
|
11409
|
-
|
|
11409
|
+
Dt();
|
|
11410
11410
|
let t = 0, i = 0;
|
|
11411
11411
|
const o = this._physicalAverageCount, s = this._physicalAverage;
|
|
11412
11412
|
this._iterateItems((n, a) => {
|
|
@@ -11427,7 +11427,7 @@ class na {
|
|
|
11427
11427
|
e.forEach((t) => {
|
|
11428
11428
|
const i = t.offsetHeight;
|
|
11429
11429
|
if (i === 0)
|
|
11430
|
-
t.style.paddingTop = `${this.__placeholderHeight}px`, t.style.opacity = "0", t.__virtualizerPlaceholder = !0, this.__placeholderClearDebouncer = we.debounce(this.__placeholderClearDebouncer,
|
|
11430
|
+
t.style.paddingTop = `${this.__placeholderHeight}px`, t.style.opacity = "0", t.__virtualizerPlaceholder = !0, this.__placeholderClearDebouncer = we.debounce(this.__placeholderClearDebouncer, qt, () => this._resizeHandler());
|
|
11431
11431
|
else {
|
|
11432
11432
|
this.__elementHeightQueue.push(i), this.__elementHeightQueue.shift();
|
|
11433
11433
|
const o = this.__elementHeightQueue.filter((s) => s !== void 0);
|
|
@@ -11447,12 +11447,12 @@ class na {
|
|
|
11447
11447
|
return;
|
|
11448
11448
|
this.__fixInvalidItemPositioningDebouncer && this.__fixInvalidItemPositioningDebouncer.cancel(), this._debouncers && this._debouncers._increasePoolIfNeeded && this._debouncers._increasePoolIfNeeded.cancel(), this.__preventElementUpdates = !0;
|
|
11449
11449
|
let t, i;
|
|
11450
|
-
if (e > 0 && (t = this.adjustedFirstVisibleIndex, i = this.__getIndexScrollOffset(t)), this.__size = e, this._itemsChanged({ path: "items" }),
|
|
11450
|
+
if (e > 0 && (t = this.adjustedFirstVisibleIndex, i = this.__getIndexScrollOffset(t)), this.__size = e, this._itemsChanged({ path: "items" }), Dt(), e > 0) {
|
|
11451
11451
|
t = Math.min(t, e - 1), this.scrollToIndex(t);
|
|
11452
11452
|
const o = this.__getIndexScrollOffset(t);
|
|
11453
11453
|
i !== void 0 && o !== void 0 && (this._scrollTop += i - o);
|
|
11454
11454
|
}
|
|
11455
|
-
this.__preventElementUpdates = !1, this._isVisible || this._assignModels(), this.elementsContainer.children.length || requestAnimationFrame(() => this._resizeHandler()), this._resizeHandler(),
|
|
11455
|
+
this.__preventElementUpdates = !1, this._isVisible || this._assignModels(), this.elementsContainer.children.length || requestAnimationFrame(() => this._resizeHandler()), this._resizeHandler(), Dt(), this._debounce("_update", this._update, wi);
|
|
11456
11456
|
}
|
|
11457
11457
|
get _scrollTop() {
|
|
11458
11458
|
return this.scrollTarget.scrollTop;
|
|
@@ -11546,7 +11546,7 @@ class na {
|
|
|
11546
11546
|
this._deltaYAcc += t, e.preventDefault();
|
|
11547
11547
|
return;
|
|
11548
11548
|
}
|
|
11549
|
-
t += this._deltaYAcc, this._deltaYAcc = 0, this._wheelAnimationFrame = !0, this.__debouncerWheelAnimationFrame = we.debounce(this.__debouncerWheelAnimationFrame,
|
|
11549
|
+
t += this._deltaYAcc, this._deltaYAcc = 0, this._wheelAnimationFrame = !0, this.__debouncerWheelAnimationFrame = we.debounce(this.__debouncerWheelAnimationFrame, qt, () => {
|
|
11550
11550
|
this._wheelAnimationFrame = !1;
|
|
11551
11551
|
});
|
|
11552
11552
|
const i = Math.abs(e.deltaX) + Math.abs(t);
|
|
@@ -12121,7 +12121,7 @@ function fs(r) {
|
|
|
12121
12121
|
function vs(r, e) {
|
|
12122
12122
|
return r.findIndex((t) => t instanceof Ue ? !1 : e(t));
|
|
12123
12123
|
}
|
|
12124
|
-
const ha = (r) => class extends $i(Ke(Qr(rt(it(
|
|
12124
|
+
const ha = (r) => class extends $i(Ke(Qr(rt(it(Gt(Ct(r))))))) {
|
|
12125
12125
|
static get properties() {
|
|
12126
12126
|
return { opened: { type: Boolean, notify: !0, value: !1, reflectToAttribute: !0, sync: !0, observer: "_openedChanged" }, autoOpenDisabled: { type: Boolean, sync: !0 }, readonly: { type: Boolean, value: !1, reflectToAttribute: !0 }, renderer: { type: Object, sync: !0 }, items: { type: Array, sync: !0, observer: "_itemsChanged" }, allowCustomValue: { type: Boolean, value: !1 }, filteredItems: { type: Array, observer: "_filteredItemsChanged", sync: !0 }, _lastCommittedValue: String, loading: { type: Boolean, value: !1, reflectToAttribute: !0, sync: !0 }, _focusedIndex: { type: Number, observer: "_focusedIndexChanged", value: -1, sync: !0 }, filter: { type: String, value: "", notify: !0, sync: !0 }, selectedItem: { type: Object, notify: !0, sync: !0 }, itemClassNameGenerator: { type: Object }, itemLabelPath: { type: String, value: "label", observer: "_itemLabelPathChanged", sync: !0 }, itemValuePath: { type: String, value: "value", sync: !0 }, itemIdPath: { type: String, sync: !0 }, _toggleElement: { type: Object, observer: "_toggleElementChanged" }, _dropdownItems: { type: Array, sync: !0 }, _closeOnBlurIsPrevented: Boolean, _scroller: { type: Object, sync: !0 }, _overlayOpened: { type: Boolean, sync: !0, observer: "_overlayOpenedChanged" }, __keepOverlayOpened: { type: Boolean, sync: !0 } };
|
|
12127
12127
|
}
|
|
@@ -12500,9 +12500,9 @@ class vu extends ca(ha(_u(Fi(J(Re(H)))))) {
|
|
|
12500
12500
|
return this.$.clearButton;
|
|
12501
12501
|
}
|
|
12502
12502
|
ready() {
|
|
12503
|
-
super.ready(), this.addController(new
|
|
12503
|
+
super.ready(), this.addController(new Jt(this, (e) => {
|
|
12504
12504
|
this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
|
|
12505
|
-
})), this.addController(new
|
|
12505
|
+
})), this.addController(new Xt(this.inputElement, this._labelController)), this._tooltipController = new Ye(this), this.addController(this._tooltipController), this._tooltipController.setPosition("top"), this._tooltipController.setAriaTarget(this.inputElement), this._tooltipController.setShouldShow((e) => !e.opened), this._positionTarget = this.shadowRoot.querySelector('[part="input-field"]'), this._toggleElement = this.$.toggleButton;
|
|
12506
12506
|
}
|
|
12507
12507
|
_onClearButtonClick(e) {
|
|
12508
12508
|
e.stopPropagation(), super._onClearButtonClick(e);
|
|
@@ -13205,9 +13205,9 @@ class Tu extends Iu(Fi(J(Re(H)))) {
|
|
|
13205
13205
|
return this.selectedItems && this.selectedItems.length > 0;
|
|
13206
13206
|
}
|
|
13207
13207
|
ready() {
|
|
13208
|
-
super.ready(), this.addController(new
|
|
13208
|
+
super.ready(), this.addController(new Jt(this, (e) => {
|
|
13209
13209
|
this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
|
|
13210
|
-
})), this.addController(new
|
|
13210
|
+
})), this.addController(new Xt(this.inputElement, this._labelController)), this._tooltipController = new Ye(this), this.addController(this._tooltipController), this._tooltipController.setPosition("top"), this._tooltipController.setAriaTarget(this.inputElement), this._tooltipController.setShouldShow((e) => !e.opened), this._inputField = this.shadowRoot.querySelector('[part="input-field"]'), this._overflowController = new Oe(this, "overflow", "vaadin-multi-select-combo-box-chip", { initializer: (e) => {
|
|
13211
13211
|
e.addEventListener("mousedown", (t) => this._preventBlur(t)), this._overflow = e;
|
|
13212
13212
|
} }), this.addController(this._overflowController), this.__updateChips(), ji(this);
|
|
13213
13213
|
}
|
|
@@ -14790,10 +14790,9 @@ const bs = {
|
|
|
14790
14790
|
deniedProductText: "Restricted product until {date}",
|
|
14791
14791
|
temporaryProductRestriction: "Your product-restriction period will last until the {date} 23:59.",
|
|
14792
14792
|
permanentProductRestriction: "Your product-restriction period will be permanent.",
|
|
14793
|
-
confirmationModalTitle: "
|
|
14793
|
+
confirmationModalTitle: "Product Restriction",
|
|
14794
14794
|
productRestrictionSuccess: "Product restrcition active",
|
|
14795
|
-
confirmationModalTextPeriod: "
|
|
14796
|
-
confirmationModalTextUntil: "Are you sure you want to restrict the following products: {product} until {date}?",
|
|
14795
|
+
confirmationModalTextPeriod: "You are choosing to restrict yourself from the following products until {date} / for {period}. </br> {product} </br> This action cannot be reversed once confirmed </br> Please confirm you wish to proceed.",
|
|
14797
14796
|
errorProductRestrictionCall: "There was a problem while making the product restriction request.",
|
|
14798
14797
|
generalError: "There was an error while fetching the product restriction.",
|
|
14799
14798
|
InvalidSession: "The session is exipired."
|
|
@@ -14822,8 +14821,7 @@ const bs = {
|
|
|
14822
14821
|
permanentProductRestriction: "您的產品限制期將是永久的。",
|
|
14823
14822
|
confirmationModalTitle: "確認",
|
|
14824
14823
|
productRestrictionSuccess: "產品限制已激活",
|
|
14825
|
-
confirmationModalTextPeriod: "
|
|
14826
|
-
confirmationModalTextUntil: "您確定要限制以下產品:{product} 直到 {date} 嗎?",
|
|
14824
|
+
confirmationModalTextPeriod: "您選擇將自己限制使用以下產品,直到 {date} / 為期 {period}。 </br> {product} </br> 一旦確認,此操作無法撤銷 </br> 請確認您希望繼續。",
|
|
14827
14825
|
errorProductRestrictionCall: "在進行產品限制請求時出現問題。",
|
|
14828
14826
|
generalError: "獲取產品限制時出現錯誤。",
|
|
14829
14827
|
InvalidSession: "會話已過期。"
|
|
@@ -14852,8 +14850,7 @@ const bs = {
|
|
|
14852
14850
|
permanentProductRestriction: "Votre période de restriction de produit sera permanente.",
|
|
14853
14851
|
confirmationModalTitle: "Confirmation",
|
|
14854
14852
|
productRestrictionSuccess: "Restriction de produit active",
|
|
14855
|
-
confirmationModalTextPeriod: "
|
|
14856
|
-
confirmationModalTextUntil: "Êtes-vous sûr de vouloir restreindre les produits suivants : {product} jusqu'à {date} ?",
|
|
14853
|
+
confirmationModalTextPeriod: "Vous choisissez de vous restreindre des produits suivants jusqu'au {date} / pour {period}. </br> {product} </br> Cette action ne peut pas être annulée une fois confirmée </br> Veuillez confirmer que vous souhaitez continuer.",
|
|
14857
14854
|
errorProductRestrictionCall: "Il y a eu un problème lors de la demande de restriction de produit.",
|
|
14858
14855
|
generalError: "Il y a eu une erreur lors de la récupération de la restriction de produit.",
|
|
14859
14856
|
InvalidSession: "La session a expiré."
|
|
@@ -14882,8 +14879,7 @@ const bs = {
|
|
|
14882
14879
|
permanentProductRestriction: "Perioada dvs. de restricție de produs va fi permanentă.",
|
|
14883
14880
|
confirmationModalTitle: "Confirmare",
|
|
14884
14881
|
productRestrictionSuccess: "Restricție de produs activă",
|
|
14885
|
-
confirmationModalTextPeriod: "
|
|
14886
|
-
confirmationModalTextUntil: "Sunteți sigur că doriți să restricționați următoarele produse: {product} până la {date}?",
|
|
14882
|
+
confirmationModalTextPeriod: "Alegeți să vă restricționați de la următoarele produse până la {date} / pentru {period}. </br> {product} </br> Această acțiune nu poate fi inversată odată confirmată </br> Vă rugăm să confirmați că doriți să continuați.",
|
|
14887
14883
|
errorProductRestrictionCall: "A apărut o problemă în timpul solicitării de restricție de produs.",
|
|
14888
14884
|
generalError: "A apărut o eroare la preluarea restricției de produs.",
|
|
14889
14885
|
InvalidSession: "Sesiunea a expirat."
|
|
@@ -14912,8 +14908,7 @@ const bs = {
|
|
|
14912
14908
|
permanentProductRestriction: "Su período de restricción de producto será permanente.",
|
|
14913
14909
|
confirmationModalTitle: "Confirmación",
|
|
14914
14910
|
productRestrictionSuccess: "Restricción de producto activa",
|
|
14915
|
-
confirmationModalTextPeriod: "
|
|
14916
|
-
confirmationModalTextUntil: "¿Está seguro de que desea restringir los siguientes productos: {product} hasta {date}?",
|
|
14911
|
+
confirmationModalTextPeriod: "Está eligiendo restringirse de los siguientes productos hasta {date} / por {period}. </br> {product} </br> Esta acción no se puede revertir una vez confirmada </br> Por favor confirme que desea continuar.",
|
|
14917
14912
|
errorProductRestrictionCall: "Hubo un problema al realizar la solicitud de restricción de producto.",
|
|
14918
14913
|
generalError: "Hubo un error al obtener la restricción de producto.",
|
|
14919
14914
|
InvalidSession: "La sesión ha expirado."
|
|
@@ -14942,8 +14937,7 @@ const bs = {
|
|
|
14942
14937
|
permanentProductRestriction: "Seu período de restrição de produto será permanente.",
|
|
14943
14938
|
confirmationModalTitle: "Confirmação",
|
|
14944
14939
|
productRestrictionSuccess: "Restrição de produto ativa",
|
|
14945
|
-
confirmationModalTextPeriod: "
|
|
14946
|
-
confirmationModalTextUntil: "Tem certeza de que deseja restringir os seguintes produtos: {product} até {date}?",
|
|
14940
|
+
confirmationModalTextPeriod: "Você está escolhendo se restringir dos seguintes produtos até {date} / por {period}. </br> {product} </br> Esta ação não pode ser revertida uma vez confirmada </br> Por favor, confirme que deseja continuar.",
|
|
14947
14941
|
errorProductRestrictionCall: "Houve um problema ao fazer a solicitação de restrição de produto.",
|
|
14948
14942
|
generalError: "Houve um erro ao buscar a restrição de produto.",
|
|
14949
14943
|
InvalidSession: "A sessão expirou."
|
|
@@ -14972,8 +14966,7 @@ const bs = {
|
|
|
14972
14966
|
permanentProductRestriction: "Vaše razdoblje ograničenja proizvoda bit će trajno.",
|
|
14973
14967
|
confirmationModalTitle: "Potvrda",
|
|
14974
14968
|
productRestrictionSuccess: "Ograničenje proizvoda aktivno",
|
|
14975
|
-
confirmationModalTextPeriod: "
|
|
14976
|
-
confirmationModalTextUntil: "Jeste li sigurni da želite ograničiti sljedeće proizvode: {product} do {date}?",
|
|
14969
|
+
confirmationModalTextPeriod: "Odabirete ograničiti se od sljedećih proizvoda do {date} / za {period}. </br> {product} </br> Ova radnja se ne može poništiti nakon potvrde </br> Molimo potvrdite da želite nastaviti.",
|
|
14977
14970
|
errorProductRestrictionCall: "Došlo je do problema prilikom podnošenja zahtjeva za ograničenje proizvoda.",
|
|
14978
14971
|
generalError: "Došlo je do pogreške prilikom dohvaćanja ograničenja proizvoda.",
|
|
14979
14972
|
InvalidSession: "Sesija je istekla."
|
|
@@ -15002,8 +14995,7 @@ const bs = {
|
|
|
15002
14995
|
permanentProductRestriction: "Seu período de restrição de produto será permanente.",
|
|
15003
14996
|
confirmationModalTitle: "Confirmação",
|
|
15004
14997
|
productRestrictionSuccess: "Restrição de produto ativa",
|
|
15005
|
-
confirmationModalTextPeriod: "
|
|
15006
|
-
confirmationModalTextUntil: "Tem certeza de que deseja restringir os seguintes produtos: {product} até {date}?",
|
|
14998
|
+
confirmationModalTextPeriod: "Você está escolhendo se restringir dos seguintes produtos até {date} / por {period}. </br> {product} </br> Esta ação não pode ser revertida uma vez confirmada </br> Por favor, confirme que deseja continuar.",
|
|
15007
14999
|
errorProductRestrictionCall: "Houve um problema ao fazer a solicitação de restrição de produto.",
|
|
15008
15000
|
generalError: "Houve um erro ao buscar a restrição de produto.",
|
|
15009
15001
|
InvalidSession: "A sessão expirou."
|
|
@@ -15032,8 +15024,7 @@ const bs = {
|
|
|
15032
15024
|
permanentProductRestriction: "Su período de restricción de producto será permanente.",
|
|
15033
15025
|
confirmationModalTitle: "Confirmación",
|
|
15034
15026
|
productRestrictionSuccess: "Restricción de producto activa",
|
|
15035
|
-
confirmationModalTextPeriod: "
|
|
15036
|
-
confirmationModalTextUntil: "¿Está seguro de que desea restringir los siguientes productos: {product} hasta {date}?",
|
|
15027
|
+
confirmationModalTextPeriod: "Está eligiendo restringirse de los siguientes productos hasta {date} / por {period}. </br> {product} </br> Esta acción no se puede revertir una vez confirmada </br> Por favor confirme que desea continuar.",
|
|
15037
15028
|
errorProductRestrictionCall: "Hubo un problema al realizar la solicitud de restricción de producto.",
|
|
15038
15029
|
generalError: "Hubo un error al obtener la restricción de producto.",
|
|
15039
15030
|
InvalidSession: "La sesión ha expirado."
|
|
@@ -15062,8 +15053,7 @@ const bs = {
|
|
|
15062
15053
|
permanentProductRestriction: "Ürün kısıtlama süreniz kalıcı olacaktır.",
|
|
15063
15054
|
confirmationModalTitle: "Onay",
|
|
15064
15055
|
productRestrictionSuccess: "Ürün kısıtlaması aktif",
|
|
15065
|
-
confirmationModalTextPeriod: "Aşağıdaki
|
|
15066
|
-
confirmationModalTextUntil: "Aşağıdaki ürünleri {date} tarihine kadar kısıtlamak istediğinizden emin misiniz: {product}?",
|
|
15056
|
+
confirmationModalTextPeriod: "Aşağıdaki ürünlerden {date} tarihine kadar / {period} süresince kendinizi kısıtlamayı seçiyorsunuz. </br> {product} </br> Bu işlem onaylandıktan sonra geri alınamaz </br> Lütfen devam etmek istediğinizi onaylayın.",
|
|
15067
15057
|
errorProductRestrictionCall: "Ürün kısıtlama isteği yapılırken bir sorun oluştu.",
|
|
15068
15058
|
generalError: "Ürün kısıtlaması alınırken bir hata oluştu.",
|
|
15069
15059
|
InvalidSession: "Oturum süresi doldu."
|
|
@@ -15119,22 +15109,22 @@ function ip(r) {
|
|
|
15119
15109
|
), b, v, y, g, A, T, N, K, X, G, ie, fe, Ce, be, te, Q = (
|
|
15120
15110
|
/*$_*/
|
|
15121
15111
|
r[25]("save") + ""
|
|
15122
|
-
), me, ye, Pe,
|
|
15112
|
+
), me, ye, Pe, Zt, st, nt, at, Qt, ze = pt(
|
|
15123
15113
|
/*productRestrictionPeriods*/
|
|
15124
15114
|
r[9]
|
|
15125
15115
|
), ne = [];
|
|
15126
|
-
for (let
|
|
15127
|
-
ne[
|
|
15116
|
+
for (let p = 0; p < ze.length; p += 1)
|
|
15117
|
+
ne[p] = ws(xs(r, ze, p));
|
|
15128
15118
|
let ce = (
|
|
15129
15119
|
/*isUntilDate*/
|
|
15130
15120
|
r[20] && Cs(r)
|
|
15131
15121
|
);
|
|
15132
|
-
function ei(
|
|
15122
|
+
function ei(p, C) {
|
|
15133
15123
|
return (
|
|
15134
15124
|
/*isPermanentProductRestriction*/
|
|
15135
|
-
|
|
15125
|
+
p[19] ? np : (
|
|
15136
15126
|
/*selectedPeriod*/
|
|
15137
|
-
|
|
15127
|
+
p[15] ? op : sp
|
|
15138
15128
|
)
|
|
15139
15129
|
);
|
|
15140
15130
|
}
|
|
@@ -15142,12 +15132,12 @@ function ip(r) {
|
|
|
15142
15132
|
/*productTypes*/
|
|
15143
15133
|
r[11]
|
|
15144
15134
|
), ae = [];
|
|
15145
|
-
for (let
|
|
15146
|
-
ae[
|
|
15135
|
+
for (let p = 0; p < $e.length; p += 1)
|
|
15136
|
+
ae[p] = ks(ys(r, $e, p));
|
|
15147
15137
|
let he = (
|
|
15148
15138
|
/*isError*/
|
|
15149
15139
|
r[24] && As(r)
|
|
15150
|
-
),
|
|
15140
|
+
), m = (
|
|
15151
15141
|
/*showConfirmationModal*/
|
|
15152
15142
|
r[26] && ap(r)
|
|
15153
15143
|
);
|
|
@@ -15157,12 +15147,12 @@ function ip(r) {
|
|
|
15157
15147
|
fill: var(--emw--color-primary, #22b04e);
|
|
15158
15148
|
}
|
|
15159
15149
|
`), l = Ne("g"), d = Ne("g"), c = Ne("path"), h = U(), f = E("h2"), w = _e(u), D = U(), I = E("h2"), W = _e(R), q = U(), V = E("div"), Z = E("p"), Te = U(), Y = E("p"), j = U(), z = E("div"), de = E("div"), Ie = E("p"), b = _e(S), v = U(), y = Ne("svg"), g = Ne("g"), A = Ne("path"), T = U(), N = E("div");
|
|
15160
|
-
for (let
|
|
15161
|
-
ne[
|
|
15150
|
+
for (let p = 0; p < ne.length; p += 1)
|
|
15151
|
+
ne[p].c();
|
|
15162
15152
|
K = U(), ce && ce.c(), X = U(), G = E("div"), ke.c(), ie = U(), fe = E("div");
|
|
15163
|
-
for (let
|
|
15164
|
-
ae[
|
|
15165
|
-
Ce = U(), be = E("div"), te = E("button"), me = _e(Q),
|
|
15153
|
+
for (let p = 0; p < ae.length; p += 1)
|
|
15154
|
+
ae[p].c();
|
|
15155
|
+
Ce = U(), be = E("div"), te = E("button"), me = _e(Q), Zt = U(), he && he.c(), st = U(), m && m.c(), nt = Da(), P(c, "class", "svgClass"), P(c, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), P(c, "transform", "translate(15 15) rotate(180)"), P(d, "transform", "translate(20 158)"), P(l, "transform", "translate(-20 -158)"), P(o, "xmlns", "http://www.w3.org/2000/svg"), P(o, "width", "15"), P(o, "height", "15"), P(o, "viewBox", "0 0 15 15"), P(f, "class", "PlayerProductRestrictionTitleMobile"), P(i, "class", "MenuReturnButton"), P(I, "class", "PlayerProductRestrictionTitle"), P(Z, "class", "ProductRestrictionDescriptionText"), P(Y, "class", "ProductRestrictionDescriptionText"), P(V, "class", "ProductRestrictionDescription"), P(A, "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"), P(A, "stroke-linecap", "round"), P(y, "xmlns", "http://www.w3.org/2000/svg"), P(y, "xmlns:xlink", "http://www.w3.org/1999/xlink"), P(y, "version", "1.1"), P(y, "viewBox", "0 0 100 100"), P(y, "xml:space", "preserve"), P(y, "class", "ProductRestrictionConfigIcon"), dt(
|
|
15166
15156
|
y,
|
|
15167
15157
|
"active",
|
|
15168
15158
|
/*isPeriodDropDownToggled*/
|
|
@@ -15181,27 +15171,27 @@ function ip(r) {
|
|
|
15181
15171
|
(r[21] ? "active" : "")), te.disabled = Pe = !/*isFormValid*/
|
|
15182
15172
|
r[21], P(be, "class", "ProductRestrictionActionButtons"), P(t, "class", "ProductRestrictionWrapper"), P(e, "class", "ProductRestrictionContainer");
|
|
15183
15173
|
},
|
|
15184
|
-
m(
|
|
15185
|
-
se(
|
|
15174
|
+
m(p, C) {
|
|
15175
|
+
se(p, e, C), _(e, t), _(t, i), _(i, o), _(o, s), _(s, n), _(n, a), _(o, l), _(l, d), _(d, c), _(i, h), _(i, f), _(f, w), _(t, D), _(t, I), _(I, W), _(t, q), _(t, V), _(V, Z), Z.innerHTML = M, _(V, Te), _(V, Y), Y.innerHTML = pe, _(t, j), _(t, z), _(z, de), _(de, Ie), _(Ie, b), _(de, v), _(de, y), _(y, g), _(g, A), _(z, T), _(z, N);
|
|
15186
15176
|
for (let O = 0; O < ne.length; O += 1)
|
|
15187
15177
|
ne[O] && ne[O].m(N, null);
|
|
15188
15178
|
_(t, K), ce && ce.m(t, null), _(t, X), _(t, G), ke.m(G, null), _(t, ie), _(t, fe);
|
|
15189
15179
|
for (let O = 0; O < ae.length; O += 1)
|
|
15190
15180
|
ae[O] && ae[O].m(fe, null);
|
|
15191
|
-
_(t, Ce), _(t, be), _(be, te), _(te, me), _(t,
|
|
15192
|
-
|
|
15181
|
+
_(t, Ce), _(t, be), _(be, te), _(te, me), _(t, Zt), he && he.m(t, null), se(p, st, C), m && m.m(p, C), se(p, nt, C), at || (Qt = [
|
|
15182
|
+
Ot(
|
|
15193
15183
|
i,
|
|
15194
15184
|
"click",
|
|
15195
15185
|
/*click_handler*/
|
|
15196
15186
|
r[37]
|
|
15197
15187
|
),
|
|
15198
|
-
|
|
15188
|
+
Ot(
|
|
15199
15189
|
de,
|
|
15200
15190
|
"click",
|
|
15201
15191
|
/*click_handler_1*/
|
|
15202
15192
|
r[38]
|
|
15203
15193
|
),
|
|
15204
|
-
|
|
15194
|
+
Ot(
|
|
15205
15195
|
te,
|
|
15206
15196
|
"click",
|
|
15207
15197
|
/*click_handler_4*/
|
|
@@ -15209,44 +15199,44 @@ function ip(r) {
|
|
|
15209
15199
|
)
|
|
15210
15200
|
], at = !0);
|
|
15211
15201
|
},
|
|
15212
|
-
p(
|
|
15202
|
+
p(p, C) {
|
|
15213
15203
|
if (C[0] & /*$_*/
|
|
15214
15204
|
33554432 && u !== (u = /*$_*/
|
|
15215
|
-
|
|
15205
|
+
p[25]("titleProductRestriction") + "") && ge(w, u), C[0] & /*$_*/
|
|
15216
15206
|
33554432 && R !== (R = /*$_*/
|
|
15217
|
-
|
|
15207
|
+
p[25]("titleProductRestriction") + "") && ge(W, R), C[0] & /*$_, baseurl, lang*/
|
|
15218
15208
|
33554435 && M !== (M = /*$_*/
|
|
15219
|
-
|
|
15209
|
+
p[25]("productRestrictionText", {
|
|
15220
15210
|
values: {
|
|
15221
15211
|
baseurl: (
|
|
15222
15212
|
/*baseurl*/
|
|
15223
|
-
|
|
15213
|
+
p[1]
|
|
15224
15214
|
),
|
|
15225
15215
|
lang: (
|
|
15226
15216
|
/*lang*/
|
|
15227
|
-
|
|
15217
|
+
p[0]
|
|
15228
15218
|
)
|
|
15229
15219
|
}
|
|
15230
15220
|
}) + "") && (Z.innerHTML = M), C[0] & /*$_*/
|
|
15231
15221
|
33554432 && pe !== (pe = /*$_*/
|
|
15232
|
-
|
|
15222
|
+
p[25]("productRestrictionEmailText") + "") && (Y.innerHTML = pe), C[0] & /*$_, selectedPeriodKey*/
|
|
15233
15223
|
33619968 && S !== (S = /*$_*/
|
|
15234
|
-
|
|
15235
|
-
|
|
15224
|
+
p[25](`${/*selectedPeriodKey*/
|
|
15225
|
+
p[16]}`) + "") && ge(b, S), C[0] & /*isPeriodDropDownToggled*/
|
|
15236
15226
|
4194304 && dt(
|
|
15237
15227
|
y,
|
|
15238
15228
|
"active",
|
|
15239
15229
|
/*isPeriodDropDownToggled*/
|
|
15240
|
-
|
|
15230
|
+
p[22]
|
|
15241
15231
|
), C[0] & /*selectPeriod, productRestrictionPeriods*/
|
|
15242
15232
|
536871424) {
|
|
15243
15233
|
ze = pt(
|
|
15244
15234
|
/*productRestrictionPeriods*/
|
|
15245
|
-
|
|
15235
|
+
p[9]
|
|
15246
15236
|
);
|
|
15247
15237
|
let O;
|
|
15248
15238
|
for (O = 0; O < ze.length; O += 1) {
|
|
15249
|
-
const Me = xs(
|
|
15239
|
+
const Me = xs(p, ze, O);
|
|
15250
15240
|
ne[O] ? ne[O].p(Me, C) : (ne[O] = ws(Me), ne[O].c(), ne[O].m(N, null));
|
|
15251
15241
|
}
|
|
15252
15242
|
for (; O < ne.length; O += 1)
|
|
@@ -15258,23 +15248,23 @@ function ip(r) {
|
|
|
15258
15248
|
N,
|
|
15259
15249
|
"active",
|
|
15260
15250
|
/*isPeriodDropDownToggled*/
|
|
15261
|
-
|
|
15251
|
+
p[22]
|
|
15262
15252
|
), C[0] & /*isPeriodDropDownToggled*/
|
|
15263
15253
|
4194304 && dt(
|
|
15264
15254
|
z,
|
|
15265
15255
|
"active",
|
|
15266
15256
|
/*isPeriodDropDownToggled*/
|
|
15267
|
-
|
|
15257
|
+
p[22]
|
|
15268
15258
|
), /*isUntilDate*/
|
|
15269
|
-
|
|
15259
|
+
p[20] ? ce ? ce.p(p, C) : (ce = Cs(p), ce.c(), ce.m(t, X)) : ce && (ce.d(1), ce = null), lt === (lt = ei(p)) && ke ? ke.p(p, C) : (ke.d(1), ke = lt(p), ke && (ke.c(), ke.m(G, null))), C[0] & /*productTypes, toggleProductStatus, $_, denyProducts*/
|
|
15270
15260
|
167775232) {
|
|
15271
15261
|
$e = pt(
|
|
15272
15262
|
/*productTypes*/
|
|
15273
|
-
|
|
15263
|
+
p[11]
|
|
15274
15264
|
);
|
|
15275
15265
|
let O;
|
|
15276
15266
|
for (O = 0; O < $e.length; O += 1) {
|
|
15277
|
-
const Me = ys(
|
|
15267
|
+
const Me = ys(p, $e, O);
|
|
15278
15268
|
ae[O] ? ae[O].p(Me, C) : (ae[O] = ks(Me), ae[O].c(), ae[O].m(fe, null));
|
|
15279
15269
|
}
|
|
15280
15270
|
for (; O < ae.length; O += 1)
|
|
@@ -15283,16 +15273,16 @@ function ip(r) {
|
|
|
15283
15273
|
}
|
|
15284
15274
|
C[0] & /*$_*/
|
|
15285
15275
|
33554432 && Q !== (Q = /*$_*/
|
|
15286
|
-
|
|
15276
|
+
p[25]("save") + "") && ge(me, Q), C[0] & /*isFormValid*/
|
|
15287
15277
|
2097152 && ye !== (ye = "ProductRestrictionSave " + /*isFormValid*/
|
|
15288
|
-
(
|
|
15278
|
+
(p[21] ? "active" : "")) && P(te, "class", ye), C[0] & /*isFormValid*/
|
|
15289
15279
|
2097152 && Pe !== (Pe = !/*isFormValid*/
|
|
15290
|
-
|
|
15291
|
-
|
|
15292
|
-
|
|
15280
|
+
p[21]) && (te.disabled = Pe), /*isError*/
|
|
15281
|
+
p[24] ? he ? he.p(p, C) : (he = As(p), he.c(), he.m(t, null)) : he && (he.d(1), he = null), /*showConfirmationModal*/
|
|
15282
|
+
p[26] && m.p(p, C);
|
|
15293
15283
|
},
|
|
15294
|
-
d(
|
|
15295
|
-
|
|
15284
|
+
d(p) {
|
|
15285
|
+
p && (oe(e), oe(st), oe(nt)), pi(ne, p), ce && ce.d(), ke.d(), pi(ae, p), he && he.d(), m && m.d(p), at = !1, Ta(Qt);
|
|
15296
15286
|
}
|
|
15297
15287
|
};
|
|
15298
15288
|
}
|
|
@@ -15322,7 +15312,7 @@ function rp(r) {
|
|
|
15322
15312
|
Z[Y] && Z[Y].m(D, null);
|
|
15323
15313
|
_(t, I), _(t, R);
|
|
15324
15314
|
},
|
|
15325
|
-
p:
|
|
15315
|
+
p: Mt,
|
|
15326
15316
|
d(M) {
|
|
15327
15317
|
M && oe(e), pi(q, M), pi(Z, M);
|
|
15328
15318
|
}
|
|
@@ -15347,7 +15337,7 @@ function ws(r) {
|
|
|
15347
15337
|
e = E("div"), i = _e(t);
|
|
15348
15338
|
},
|
|
15349
15339
|
m(a, l) {
|
|
15350
|
-
se(a, e, l), _(e, i), o || (s =
|
|
15340
|
+
se(a, e, l), _(e, i), o || (s = Ot(e, "click", n), o = !0);
|
|
15351
15341
|
},
|
|
15352
15342
|
p(a, l) {
|
|
15353
15343
|
r = a, l[0] & /*productRestrictionPeriods*/
|
|
@@ -15576,7 +15566,7 @@ function ks(r) {
|
|
|
15576
15566
|
r[67].restricted ? "checked" : ""));
|
|
15577
15567
|
},
|
|
15578
15568
|
m(D, I) {
|
|
15579
|
-
se(D, e, I), _(e, t), _(e, i), _(e, o), _(o, s), _(s, a), _(o, l), u && u.m(o, null), _(e, d), h || (f =
|
|
15569
|
+
se(D, e, I), _(e, t), _(e, i), _(e, o), _(o, s), _(s, a), _(o, l), u && u.m(o, null), _(e, d), h || (f = Ot(e, "click", w), h = !0);
|
|
15580
15570
|
},
|
|
15581
15571
|
p(D, I) {
|
|
15582
15572
|
r = D, I[0] & /*$_, productTypes*/
|
|
@@ -15718,7 +15708,7 @@ function lp(r) {
|
|
|
15718
15708
|
m(o, s) {
|
|
15719
15709
|
se(o, e, s), se(o, t, s), se(o, i, s);
|
|
15720
15710
|
},
|
|
15721
|
-
p:
|
|
15711
|
+
p: Mt,
|
|
15722
15712
|
d(o) {
|
|
15723
15713
|
o && (oe(e), oe(t), oe(i));
|
|
15724
15714
|
}
|
|
@@ -15733,7 +15723,7 @@ function dp(r) {
|
|
|
15733
15723
|
m(t, i) {
|
|
15734
15724
|
se(t, e, i);
|
|
15735
15725
|
},
|
|
15736
|
-
p:
|
|
15726
|
+
p: Mt,
|
|
15737
15727
|
d(t) {
|
|
15738
15728
|
t && oe(e);
|
|
15739
15729
|
}
|
|
@@ -15758,8 +15748,8 @@ function cp(r) {
|
|
|
15758
15748
|
p(s, n) {
|
|
15759
15749
|
i === (i = t(s)) && o ? o.p(s, n) : (o.d(1), o = i(s), o && (o.c(), o.m(e, null)));
|
|
15760
15750
|
},
|
|
15761
|
-
i:
|
|
15762
|
-
o:
|
|
15751
|
+
i: Mt,
|
|
15752
|
+
o: Mt,
|
|
15763
15753
|
d(s) {
|
|
15764
15754
|
s && oe(e), o.d(), r[43](null);
|
|
15765
15755
|
}
|
|
@@ -15767,56 +15757,56 @@ function cp(r) {
|
|
|
15767
15757
|
}
|
|
15768
15758
|
function hp(r, e, t) {
|
|
15769
15759
|
let i;
|
|
15770
|
-
Ea(r, Na, (
|
|
15760
|
+
Ea(r, Na, (m) => t(25, i = m));
|
|
15771
15761
|
let { endpoint: o = "" } = e, { session: s = "" } = e, { playerid: n = "" } = e, { lang: a = "en" } = e, { baseurl: l = "" } = e, { hasconfirmationmodal: d = "false" } = e, { hascancelbutton: c = "" } = e, { dateformat: h = "DD/MM/YYYY" } = e, { clientstyling: f = "" } = e, { clientstylingurl: u = "" } = e, { mbsource: w } = e, { translationurl: D = "" } = e, I, R, W = [], q = {}, V = [], Z = window.navigator.userAgent, M, Te, Y = "", pe = "", j = "selectAPeriod", z = "", de = "", Ie = "", S = Ia(Z) !== "PC", b = !1, v = !1, y = !1, g = !1, A = d === "true", T = !0, N = !1;
|
|
15772
15762
|
const K = () => {
|
|
15773
|
-
fetch(D).then((
|
|
15774
|
-
Object.keys(
|
|
15775
|
-
gs(C,
|
|
15763
|
+
fetch(D).then((p) => p.json()).then((p) => {
|
|
15764
|
+
Object.keys(p).forEach((C) => {
|
|
15765
|
+
gs(C, p[C]);
|
|
15776
15766
|
});
|
|
15777
|
-
}).catch((
|
|
15778
|
-
console.log(
|
|
15767
|
+
}).catch((p) => {
|
|
15768
|
+
console.log(p);
|
|
15779
15769
|
});
|
|
15780
15770
|
};
|
|
15781
|
-
Object.keys(bs).forEach((
|
|
15782
|
-
gs(
|
|
15771
|
+
Object.keys(bs).forEach((m) => {
|
|
15772
|
+
gs(m, bs[m]);
|
|
15783
15773
|
});
|
|
15784
|
-
const X = (
|
|
15785
|
-
|
|
15786
|
-
}, G = (
|
|
15787
|
-
var
|
|
15788
|
-
if (
|
|
15789
|
-
return t(24, N = !0), de = (
|
|
15774
|
+
const X = (m) => {
|
|
15775
|
+
m.data.type === "setProductRestriction" && ze();
|
|
15776
|
+
}, G = (m) => go(this, null, function* () {
|
|
15777
|
+
var p;
|
|
15778
|
+
if (m.status >= 300)
|
|
15779
|
+
return t(24, N = !0), de = (p = (yield m.json()).thirdPartyResponse) == null ? void 0 : p.errorCode, t(18, Ie = i(de || "generalError")), window.postMessage(
|
|
15790
15780
|
{
|
|
15791
15781
|
type: "WidgetNotification",
|
|
15792
15782
|
data: { type: "error", message: Ie }
|
|
15793
15783
|
},
|
|
15794
15784
|
window.location.href
|
|
15795
15785
|
), Promise.reject(Ie);
|
|
15796
|
-
if (t(24, N = !1),
|
|
15797
|
-
let C = yield
|
|
15786
|
+
if (t(24, N = !1), m.headers.get("content-type")) {
|
|
15787
|
+
let C = yield m.json();
|
|
15798
15788
|
return Promise.resolve(C);
|
|
15799
15789
|
}
|
|
15800
15790
|
return Promise.resolve();
|
|
15801
15791
|
}), ie = () => {
|
|
15802
|
-
t(21, y = pe && V.some((
|
|
15803
|
-
}, fe = (
|
|
15804
|
-
t(11, V = Object.keys(
|
|
15805
|
-
type:
|
|
15792
|
+
t(21, y = pe && V.some((m) => m.checked)), A && y && st();
|
|
15793
|
+
}, fe = (m) => {
|
|
15794
|
+
t(11, V = Object.keys(m).map((p) => ({
|
|
15795
|
+
type: p,
|
|
15806
15796
|
checked: !1,
|
|
15807
15797
|
restricted: !1
|
|
15808
15798
|
})));
|
|
15809
|
-
}, Ce = (
|
|
15810
|
-
t(9, W =
|
|
15811
|
-
key: (
|
|
15812
|
-
text: i((
|
|
15799
|
+
}, Ce = (m) => {
|
|
15800
|
+
t(9, W = m.map((p) => ({
|
|
15801
|
+
key: (p.number || "") + p.unit,
|
|
15802
|
+
text: i((p.number || "") + p.unit)
|
|
15813
15803
|
})));
|
|
15814
|
-
}, be = (
|
|
15815
|
-
V[
|
|
15804
|
+
}, be = (m) => {
|
|
15805
|
+
V[m].restricted || (t(11, V[m].checked = !V[m].checked, V), ie());
|
|
15816
15806
|
}, te = () => {
|
|
15817
15807
|
t(22, g = !g);
|
|
15818
|
-
}, Q = (
|
|
15819
|
-
switch (t(15, pe =
|
|
15808
|
+
}, Q = (m) => {
|
|
15809
|
+
switch (t(15, pe = m.text), t(16, j = m.key), t(22, g = !1), t(19, b = !1), t(20, v = !1), j) {
|
|
15820
15810
|
case "Until":
|
|
15821
15811
|
t(20, v = !0), t(12, M = ct().add(6, "M").format("YYYY-MM-DD")), t(13, Te = ct().add(5, "y").format("YYYY-MM-DD")), t(14, Y = M);
|
|
15822
15812
|
break;
|
|
@@ -15824,14 +15814,14 @@ function hp(r, e, t) {
|
|
|
15824
15814
|
t(19, b = !b);
|
|
15825
15815
|
break;
|
|
15826
15816
|
default:
|
|
15827
|
-
const
|
|
15817
|
+
const p = j.match(/\d+/g)[0], C = j.match(/[a-zA-Z]+/g)[0], O = C.includes("Day") ? "days" : C.includes("Month") ? "months" : C.includes("Year") ? "years" : null;
|
|
15828
15818
|
if (!C)
|
|
15829
15819
|
return;
|
|
15830
|
-
t(14, Y = me(ct().add(Number(
|
|
15820
|
+
t(14, Y = me(ct().add(Number(p), O)));
|
|
15831
15821
|
break;
|
|
15832
15822
|
}
|
|
15833
15823
|
ie();
|
|
15834
|
-
}, me = (
|
|
15824
|
+
}, me = (m) => ct(m).format(h), ye = () => {
|
|
15835
15825
|
window.postMessage(
|
|
15836
15826
|
{
|
|
15837
15827
|
type: "PlayerAccountMenuActive",
|
|
@@ -15839,11 +15829,11 @@ function hp(r, e, t) {
|
|
|
15839
15829
|
},
|
|
15840
15830
|
window.location.href
|
|
15841
15831
|
);
|
|
15842
|
-
}, Pe = (
|
|
15843
|
-
t(14, Y =
|
|
15844
|
-
},
|
|
15832
|
+
}, Pe = (m) => {
|
|
15833
|
+
t(14, Y = m.target.value);
|
|
15834
|
+
}, Zt = () => {
|
|
15845
15835
|
R.addEventListener("change", Pe, !1);
|
|
15846
|
-
const
|
|
15836
|
+
const m = (C) => ct(new Date(C.year, C.month, C.day)).format(h), p = (C) => {
|
|
15847
15837
|
const O = ct(C, h);
|
|
15848
15838
|
return {
|
|
15849
15839
|
year: O.year(),
|
|
@@ -15851,36 +15841,32 @@ function hp(r, e, t) {
|
|
|
15851
15841
|
day: O.date()
|
|
15852
15842
|
};
|
|
15853
15843
|
};
|
|
15854
|
-
t(8, R.i18n = vo(fo({}, R.i18n), { formatDate:
|
|
15844
|
+
t(8, R.i18n = vo(fo({}, R.i18n), { formatDate: m, parseDate: p }), R);
|
|
15855
15845
|
}, st = () => {
|
|
15856
15846
|
if (!A || !pe || !Y) {
|
|
15857
15847
|
t(17, z = "");
|
|
15858
15848
|
return;
|
|
15859
15849
|
}
|
|
15860
|
-
let
|
|
15861
|
-
V.forEach((
|
|
15862
|
-
!
|
|
15863
|
-
}), t(17, z =
|
|
15864
|
-
values: {
|
|
15865
|
-
date: Y,
|
|
15866
|
-
product: p
|
|
15867
|
-
}
|
|
15868
|
-
}) : i("confirmationModalTextPeriod", {
|
|
15850
|
+
let m = "";
|
|
15851
|
+
V.forEach((p) => {
|
|
15852
|
+
!p.checked || p.restricted || (m = m ? `${m}, ${i(p.type)}` : `${i(p.type)}`);
|
|
15853
|
+
}), t(17, z = i("confirmationModalTextPeriod", {
|
|
15869
15854
|
values: {
|
|
15870
15855
|
period: i(pe),
|
|
15871
|
-
product:
|
|
15856
|
+
product: m,
|
|
15857
|
+
date: Y
|
|
15872
15858
|
}
|
|
15873
15859
|
}));
|
|
15874
|
-
}, nt = (
|
|
15875
|
-
|
|
15860
|
+
}, nt = (m) => {
|
|
15861
|
+
m.preventDefault(), A ? window.postMessage(
|
|
15876
15862
|
{
|
|
15877
15863
|
type: "ShowProductRestrictionConfirmationModal"
|
|
15878
15864
|
},
|
|
15879
15865
|
window.location.href
|
|
15880
15866
|
) : ze();
|
|
15881
15867
|
}, at = () => {
|
|
15882
|
-
const
|
|
15883
|
-
fetch(
|
|
15868
|
+
const m = new URL("/api/v1/gm/legislation/responsible-gambling/product-restrictions/metadata/", o);
|
|
15869
|
+
fetch(m, {
|
|
15884
15870
|
method: "GET",
|
|
15885
15871
|
headers: {
|
|
15886
15872
|
"X-SessionId": s,
|
|
@@ -15888,15 +15874,15 @@ function hp(r, e, t) {
|
|
|
15888
15874
|
Accept: "application/json"
|
|
15889
15875
|
}
|
|
15890
15876
|
}).then((C) => G(C)).then((C) => {
|
|
15891
|
-
fe(C.products), Ce(C.periods);
|
|
15877
|
+
fe(C.products), Ce(C.periods), Qt();
|
|
15892
15878
|
}).catch((C) => {
|
|
15893
15879
|
console.error(C);
|
|
15894
15880
|
}).finally(() => {
|
|
15895
15881
|
t(23, T = !1);
|
|
15896
15882
|
});
|
|
15897
|
-
},
|
|
15898
|
-
const
|
|
15899
|
-
fetch(
|
|
15883
|
+
}, Qt = () => {
|
|
15884
|
+
const m = new URL(`/api/v1/gm/legislation/responsible-gambling/user/${n}/deny-products/`, o);
|
|
15885
|
+
fetch(m, {
|
|
15900
15886
|
method: "GET",
|
|
15901
15887
|
headers: {
|
|
15902
15888
|
"X-SessionId": s,
|
|
@@ -15915,10 +15901,10 @@ function hp(r, e, t) {
|
|
|
15915
15901
|
});
|
|
15916
15902
|
}, ze = () => {
|
|
15917
15903
|
t(23, T = !0);
|
|
15918
|
-
const
|
|
15919
|
-
let
|
|
15904
|
+
const m = new URL(`/api/v1/gm/legislation/responsible-gambling/user/${n}/deny-products/`, o);
|
|
15905
|
+
let p = j.match(/\d+/g)[0], C = j.match(/[a-zA-Z]+/g)[0], Me = V.filter((He) => He.checked).map((He) => ({
|
|
15920
15906
|
productType: He.type,
|
|
15921
|
-
expirationPeriod: { unit: C, number:
|
|
15907
|
+
expirationPeriod: { unit: C, number: p }
|
|
15922
15908
|
})), Wi = {
|
|
15923
15909
|
method: "POST",
|
|
15924
15910
|
headers: {
|
|
@@ -15928,8 +15914,8 @@ function hp(r, e, t) {
|
|
|
15928
15914
|
},
|
|
15929
15915
|
body: JSON.stringify({ denyProductsRoles: Me })
|
|
15930
15916
|
};
|
|
15931
|
-
fetch(
|
|
15932
|
-
at(),
|
|
15917
|
+
fetch(m.href, Wi).then((He) => G(He)).then((He) => {
|
|
15918
|
+
at(), window.postMessage(
|
|
15933
15919
|
{
|
|
15934
15920
|
type: "WidgetNotification",
|
|
15935
15921
|
data: {
|
|
@@ -15950,26 +15936,25 @@ function hp(r, e, t) {
|
|
|
15950
15936
|
}));
|
|
15951
15937
|
const ne = () => {
|
|
15952
15938
|
Zu(a);
|
|
15953
|
-
}, ce = () => ye(), ei = () => te(), lt = (
|
|
15954
|
-
function ke(
|
|
15955
|
-
bo[
|
|
15956
|
-
R =
|
|
15939
|
+
}, ce = () => ye(), ei = () => te(), lt = (m) => Q(m);
|
|
15940
|
+
function ke(m) {
|
|
15941
|
+
bo[m ? "unshift" : "push"](() => {
|
|
15942
|
+
R = m, t(8, R);
|
|
15957
15943
|
});
|
|
15958
15944
|
}
|
|
15959
|
-
const $e = (
|
|
15960
|
-
function he(
|
|
15961
|
-
bo[
|
|
15962
|
-
I =
|
|
15945
|
+
const $e = (m) => be(m), ae = (m) => nt(m);
|
|
15946
|
+
function he(m) {
|
|
15947
|
+
bo[m ? "unshift" : "push"](() => {
|
|
15948
|
+
I = m, t(7, I);
|
|
15963
15949
|
});
|
|
15964
15950
|
}
|
|
15965
|
-
return r.$$set = (
|
|
15966
|
-
"endpoint" in
|
|
15951
|
+
return r.$$set = (m) => {
|
|
15952
|
+
"endpoint" in m && t(32, o = m.endpoint), "session" in m && t(33, s = m.session), "playerid" in m && t(34, n = m.playerid), "lang" in m && t(0, a = m.lang), "baseurl" in m && t(1, l = m.baseurl), "hasconfirmationmodal" in m && t(35, d = m.hasconfirmationmodal), "hascancelbutton" in m && t(2, c = m.hascancelbutton), "dateformat" in m && t(3, h = m.dateformat), "clientstyling" in m && t(4, f = m.clientstyling), "clientstylingurl" in m && t(5, u = m.clientstylingurl), "mbsource" in m && t(6, w = m.mbsource), "translationurl" in m && t(36, D = m.translationurl);
|
|
15967
15953
|
}, r.$$.update = () => {
|
|
15968
15954
|
r.$$.dirty[0] & /*lang*/
|
|
15969
|
-
1 && a && ne(), r.$$.dirty[1] & /*endpoint, session*/
|
|
15970
|
-
|
|
15971
|
-
|
|
15972
|
-
256 && R && Qt(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
15955
|
+
1 && a && ne(), r.$$.dirty[1] & /*endpoint, session, playerid*/
|
|
15956
|
+
14 && o && s && n && at(), r.$$.dirty[0] & /*calendar*/
|
|
15957
|
+
256 && R && Zt(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
15973
15958
|
144 && f && I && Oa(I, f), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
15974
15959
|
160 && u && I && Ra(I, u), r.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
15975
15960
|
192 && w && I && za(I, `${w}.Style`), r.$$.dirty[1] & /*translationurl*/
|