@everymatrix/player-account-controller 1.70.0 → 1.70.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountController-BRsvfCew.js → PlayerAccountController-BXYtygsP.js} +7 -7
- package/components/{PlayerAccountController-BgXQNsvX.cjs → PlayerAccountController-CMyW_1-T.cjs} +1 -1
- package/components/{PlayerAccountController-BVI65NyY.js → PlayerAccountController-DHLtX3XO.js} +7 -7
- package/components/{PlayerAccountSelfExclusion-aPMGQrTu.cjs → PlayerAccountSelfExclusion-BgMjbGLs.cjs} +31 -31
- package/components/{PlayerAccountSelfExclusion-BdH1YfUH.js → PlayerAccountSelfExclusion-C65zyQu1.js} +612 -535
- package/components/{PlayerAccountSelfExclusion-CL4bEd37.js → PlayerAccountSelfExclusion-CJHCaxBb.js} +577 -500
- package/components/{PlayerAccountTimeout-CJRir9eR.cjs → PlayerAccountTimeout-4Aa1s5jR.cjs} +1 -1
- package/components/{PlayerAccountTimeout-CNXL9TVu.js → PlayerAccountTimeout-DUBkD9d2.js} +1 -1
- package/components/{PlayerAccountTimeout-Cm_QTYSz.js → PlayerAccountTimeout-npDnQAdR.js} +1 -1
- package/components/{PlayerAccountTransactionsHistory-C-xmag8z.cjs → PlayerAccountTransactionsHistory-BQH631zi.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-DPpaRiaX.js → PlayerAccountTransactionsHistory-D5v-reW0.js} +1 -1
- package/components/{PlayerAccountTransactionsHistory-D6QxHI6o.js → PlayerAccountTransactionsHistory-DnLoeUPl.js} +1 -1
- 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/components/{PlayerAccountSelfExclusion-BdH1YfUH.js → PlayerAccountSelfExclusion-C65zyQu1.js}
RENAMED
|
@@ -26,7 +26,7 @@ var rt = (o, t, e) => new Promise((i, s) => {
|
|
|
26
26
|
}, a = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(r, n);
|
|
27
27
|
a((e = e.apply(o, t)).next());
|
|
28
28
|
});
|
|
29
|
-
import { a4 as Vr, a5 as Ur, a as Wr, $ as qr, S as Kr, i as Gr, s as Jr, f as ee, b as Xr, n as _i, d as
|
|
29
|
+
import { a4 as Vr, a5 as Ur, a as Wr, $ as qr, S as Kr, i as Gr, s as Jr, f as ee, b as Xr, n as _i, d as de, g as he, j as w, p as Zr, q as Qr, u as en, w as po, h as f, k as O, e as S, Z as Xt, o as E, O as fo, P as tn, r as on, c as ue, t as We, l as zt, m as ae, v as Ee, x as sn, y as rn, z as nn, A as an, B as ln } from "./GeneralLogout-CYE3twI-.js";
|
|
30
30
|
import { d as xe } from "./PlayerAccountProductRestriction-4IgUKLLe.js";
|
|
31
31
|
import "../stencil/ui-skeleton-C_FDz0NJ.js";
|
|
32
32
|
import "./PlayerAccountGamingLimitsGroupEdit-C40tSY9Z.js";
|
|
@@ -67,7 +67,7 @@ be(cn);
|
|
|
67
67
|
* Copyright 2019 Google LLC
|
|
68
68
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
69
69
|
*/
|
|
70
|
-
const
|
|
70
|
+
const Ft = globalThis, Hi = Ft.ShadowRoot && (Ft.ShadyCSS === void 0 || Ft.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, $i = Symbol(), mo = /* @__PURE__ */ new WeakMap();
|
|
71
71
|
let Yi = class {
|
|
72
72
|
constructor(t, e, i) {
|
|
73
73
|
if (this._$cssResult$ = !0, i !== $i)
|
|
@@ -87,7 +87,7 @@ let Yi = class {
|
|
|
87
87
|
return this.cssText;
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
|
-
const
|
|
90
|
+
const un = (o) => new Yi(typeof o == "string" ? o : o + "", void 0, $i), P = (o, ...t) => {
|
|
91
91
|
const e = o.length === 1 ? o[0] : t.reduce((i, s, r) => i + ((n) => {
|
|
92
92
|
if (n._$cssResult$ === !0)
|
|
93
93
|
return n.cssText;
|
|
@@ -101,21 +101,21 @@ const dn = (o) => new Yi(typeof o == "string" ? o : o + "", void 0, $i), P = (o,
|
|
|
101
101
|
o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
102
102
|
else
|
|
103
103
|
for (const e of t) {
|
|
104
|
-
const i = document.createElement("style"), s =
|
|
104
|
+
const i = document.createElement("style"), s = Ft.litNonce;
|
|
105
105
|
s !== void 0 && i.setAttribute("nonce", s), i.textContent = e.cssText, o.appendChild(i);
|
|
106
106
|
}
|
|
107
107
|
}, _o = Hi ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
|
|
108
108
|
let e = "";
|
|
109
109
|
for (const i of t.cssRules)
|
|
110
110
|
e += i.cssText;
|
|
111
|
-
return
|
|
111
|
+
return un(e);
|
|
112
112
|
})(o) : o;
|
|
113
113
|
/**
|
|
114
114
|
* @license
|
|
115
115
|
* Copyright 2017 Google LLC
|
|
116
116
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
117
117
|
*/
|
|
118
|
-
const { is:
|
|
118
|
+
const { is: dn, defineProperty: hn, getOwnPropertyDescriptor: pn, getOwnPropertyNames: fn, getOwnPropertySymbols: mn, getPrototypeOf: _n } = Object, Te = globalThis, go = Te.trustedTypes, gn = go ? go.emptyScript : "", Zt = Te.reactiveElementPolyfillSupport, pt = (o, t) => o, gi = { toAttribute(o, t) {
|
|
119
119
|
switch (t) {
|
|
120
120
|
case Boolean:
|
|
121
121
|
o = o ? gn : null;
|
|
@@ -143,7 +143,7 @@ const { is: un, defineProperty: hn, getOwnPropertyDescriptor: pn, getOwnProperty
|
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
return e;
|
|
146
|
-
} }, ps = (o, t) => !
|
|
146
|
+
} }, ps = (o, t) => !dn(o, t), bo = { attribute: !0, type: String, converter: gi, reflect: !1, useDefault: !1, hasChanged: ps };
|
|
147
147
|
var ns, as;
|
|
148
148
|
(ns = Symbol.metadata) != null || (Symbol.metadata = Symbol("metadata")), (as = Te.litPropertyMetadata) != null || (Te.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
149
149
|
class Ke extends HTMLElement {
|
|
@@ -275,8 +275,8 @@ class Ke extends HTMLElement {
|
|
|
275
275
|
var r, n, a, l;
|
|
276
276
|
const i = this.constructor, s = i._$Eh.get(t);
|
|
277
277
|
if (s !== void 0 && this._$Em !== s) {
|
|
278
|
-
const c = i.getPropertyOptions(s),
|
|
279
|
-
this._$Em = s, this[s] = (l = (a =
|
|
278
|
+
const c = i.getPropertyOptions(s), u = typeof c.converter == "function" ? { fromAttribute: c.converter } : ((r = c.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? c.converter : gi;
|
|
279
|
+
this._$Em = s, this[s] = (l = (a = u.fromAttribute(e, c.type)) != null ? a : (n = this._$Ej) == null ? void 0 : n.get(s)) != null ? l : null, this._$Em = null;
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
282
|
requestUpdate(t, e, i) {
|
|
@@ -374,7 +374,7 @@ Ke.elementStyles = [], Ke.shadowRootOptions = { mode: "open" }, Ke[pt("elementPr
|
|
|
374
374
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
375
375
|
*/
|
|
376
376
|
const ft = globalThis, Lt = ft.trustedTypes, vo = Lt ? Lt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, fs = "$lit$", De = `lit$${Math.random().toFixed(9).slice(2)}$`, ms = "?" + De, bn = `<${ms}>`, Ye = document, _t = () => Ye.createComment(""), gt = (o) => o === null || typeof o != "object" && typeof o != "function", ji = Array.isArray, vn = (o) => ji(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", Qt = `[
|
|
377
|
-
\f\r]`, nt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, yo = /-->/g, xo = />/g,
|
|
377
|
+
\f\r]`, nt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, yo = /-->/g, xo = />/g, ze = RegExp(`>|${Qt}(?:([^\\s"'>=/]+)(${Qt}*=${Qt}*(?:[^
|
|
378
378
|
\f\r"'\`<>=]|("|')|))|$)`, "g"), wo = /'/g, Eo = /"/g, _s = /^(?:script|style|textarea|title)$/i, Qe = Symbol.for("lit-noChange"), W = Symbol.for("lit-nothing"), So = /* @__PURE__ */ new WeakMap(), Le = Ye.createTreeWalker(Ye, 129);
|
|
379
379
|
function gs(o, t) {
|
|
380
380
|
if (!ji(o) || !o.hasOwnProperty("raw"))
|
|
@@ -386,11 +386,11 @@ const yn = (o, t) => {
|
|
|
386
386
|
let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = nt;
|
|
387
387
|
for (let a = 0; a < e; a++) {
|
|
388
388
|
const l = o[a];
|
|
389
|
-
let c,
|
|
390
|
-
for (; h < l.length && (n.lastIndex = h,
|
|
391
|
-
h = n.lastIndex, n === nt ?
|
|
392
|
-
const m = n ===
|
|
393
|
-
r += n === nt ? l + bn :
|
|
389
|
+
let c, u, d = -1, h = 0;
|
|
390
|
+
for (; h < l.length && (n.lastIndex = h, u = n.exec(l), u !== null); )
|
|
391
|
+
h = n.lastIndex, n === nt ? u[1] === "!--" ? n = yo : u[1] !== void 0 ? n = xo : u[2] !== void 0 ? (_s.test(u[2]) && (s = RegExp("</" + u[2], "g")), n = ze) : u[3] !== void 0 && (n = ze) : n === ze ? u[0] === ">" ? (n = s != null ? s : nt, d = -1) : u[1] === void 0 ? d = -2 : (d = n.lastIndex - u[2].length, c = u[1], n = u[3] === void 0 ? ze : u[3] === '"' ? Eo : wo) : n === Eo || n === wo ? n = ze : n === yo || n === xo ? n = nt : (n = ze, s = void 0);
|
|
392
|
+
const m = n === ze && o[a + 1].startsWith("/>") ? " " : "";
|
|
393
|
+
r += n === nt ? l + bn : d >= 0 ? (i.push(c), l.slice(0, d) + fs + l.slice(d) + De + m) : l + De + (d === -2 ? a : m);
|
|
394
394
|
}
|
|
395
395
|
return [gs(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
|
|
396
396
|
};
|
|
@@ -399,36 +399,36 @@ class bt {
|
|
|
399
399
|
let s;
|
|
400
400
|
this.parts = [];
|
|
401
401
|
let r = 0, n = 0;
|
|
402
|
-
const a = t.length - 1, l = this.parts, [c,
|
|
402
|
+
const a = t.length - 1, l = this.parts, [c, u] = yn(t, e);
|
|
403
403
|
if (this.el = bt.createElement(c, i), Le.currentNode = this.el.content, e === 2 || e === 3) {
|
|
404
|
-
const
|
|
405
|
-
|
|
404
|
+
const d = this.el.content.firstChild;
|
|
405
|
+
d.replaceWith(...d.childNodes);
|
|
406
406
|
}
|
|
407
407
|
for (; (s = Le.nextNode()) !== null && l.length < a; ) {
|
|
408
408
|
if (s.nodeType === 1) {
|
|
409
409
|
if (s.hasAttributes())
|
|
410
|
-
for (const
|
|
411
|
-
if (
|
|
412
|
-
const h =
|
|
413
|
-
l.push({ type: 1, index: r, name: g[2], strings: m, ctor: g[1] === "." ? wn : g[1] === "?" ? En : g[1] === "@" ? Sn : Ut }), s.removeAttribute(
|
|
410
|
+
for (const d of s.getAttributeNames())
|
|
411
|
+
if (d.endsWith(fs)) {
|
|
412
|
+
const h = u[n++], m = s.getAttribute(d).split(De), g = /([.?@])?(.*)/.exec(h);
|
|
413
|
+
l.push({ type: 1, index: r, name: g[2], strings: m, ctor: g[1] === "." ? wn : g[1] === "?" ? En : g[1] === "@" ? Sn : Ut }), s.removeAttribute(d);
|
|
414
414
|
} else
|
|
415
|
-
|
|
415
|
+
d.startsWith(De) && (l.push({ type: 6, index: r }), s.removeAttribute(d));
|
|
416
416
|
if (_s.test(s.tagName)) {
|
|
417
|
-
const
|
|
417
|
+
const d = s.textContent.split(De), h = d.length - 1;
|
|
418
418
|
if (h > 0) {
|
|
419
419
|
s.textContent = Lt ? Lt.emptyScript : "";
|
|
420
420
|
for (let m = 0; m < h; m++)
|
|
421
|
-
s.append(
|
|
422
|
-
s.append(
|
|
421
|
+
s.append(d[m], _t()), Le.nextNode(), l.push({ type: 2, index: ++r });
|
|
422
|
+
s.append(d[h], _t());
|
|
423
423
|
}
|
|
424
424
|
}
|
|
425
425
|
} else if (s.nodeType === 8)
|
|
426
426
|
if (s.data === ms)
|
|
427
427
|
l.push({ type: 2, index: r });
|
|
428
428
|
else {
|
|
429
|
-
let
|
|
430
|
-
for (; (
|
|
431
|
-
l.push({ type: 7, index: r }),
|
|
429
|
+
let d = -1;
|
|
430
|
+
for (; (d = s.data.indexOf(De, d + 1)) !== -1; )
|
|
431
|
+
l.push({ type: 7, index: r }), d += De.length - 1;
|
|
432
432
|
}
|
|
433
433
|
r++;
|
|
434
434
|
}
|
|
@@ -463,8 +463,8 @@ class xn {
|
|
|
463
463
|
let r = Le.nextNode(), n = 0, a = 0, l = i[0];
|
|
464
464
|
for (; l !== void 0; ) {
|
|
465
465
|
if (n === l.index) {
|
|
466
|
-
let
|
|
467
|
-
l.type === 2 ?
|
|
466
|
+
let u;
|
|
467
|
+
l.type === 2 ? u = new At(r, r.nextSibling, this, t) : l.type === 1 ? u = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (u = new An(r, this, t)), this._$AV.push(u), l = i[++a];
|
|
468
468
|
}
|
|
469
469
|
n !== (l == null ? void 0 : l.index) && (r = Le.nextNode(), n++);
|
|
470
470
|
}
|
|
@@ -476,7 +476,7 @@ class xn {
|
|
|
476
476
|
i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, e), e += i.strings.length - 2) : i._$AI(t[e])), e++;
|
|
477
477
|
}
|
|
478
478
|
}
|
|
479
|
-
class
|
|
479
|
+
class At {
|
|
480
480
|
get _$AU() {
|
|
481
481
|
var t, e;
|
|
482
482
|
return (e = (t = this._$AM) == null ? void 0 : t._$AU) != null ? e : this._$Cv;
|
|
@@ -527,7 +527,7 @@ class Ct {
|
|
|
527
527
|
const e = this._$AH;
|
|
528
528
|
let i, s = 0;
|
|
529
529
|
for (const r of t)
|
|
530
|
-
s === e.length ? e.push(i = new
|
|
530
|
+
s === e.length ? e.push(i = new At(this.O(_t()), this.O(_t()), this, this.options)) : i = e[s], i._$AI(r), s++;
|
|
531
531
|
s < e.length && (this._$AR(i && i._$AB.nextSibling, s), e.length = s);
|
|
532
532
|
}
|
|
533
533
|
_$AR(t = this._$AA.nextSibling, e) {
|
|
@@ -601,7 +601,7 @@ class Sn extends Ut {
|
|
|
601
601
|
typeof this._$AH == "function" ? this._$AH.call((i = (e = this.options) == null ? void 0 : e.host) != null ? i : this.element, t) : this._$AH.handleEvent(t);
|
|
602
602
|
}
|
|
603
603
|
}
|
|
604
|
-
class
|
|
604
|
+
class An {
|
|
605
605
|
constructor(t, e, i) {
|
|
606
606
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
|
|
607
607
|
}
|
|
@@ -614,14 +614,14 @@ class Cn {
|
|
|
614
614
|
}
|
|
615
615
|
const ei = ft.litHtmlPolyfillSupport;
|
|
616
616
|
var cs;
|
|
617
|
-
ei == null || ei(bt,
|
|
618
|
-
const
|
|
617
|
+
ei == null || ei(bt, At), ((cs = ft.litHtmlVersions) != null ? cs : ft.litHtmlVersions = []).push("3.3.0");
|
|
618
|
+
const Cn = (o, t, e) => {
|
|
619
619
|
var r, n;
|
|
620
620
|
const i = (r = e == null ? void 0 : e.renderBefore) != null ? r : t;
|
|
621
621
|
let s = i._$litPart$;
|
|
622
622
|
if (s === void 0) {
|
|
623
623
|
const a = (n = e == null ? void 0 : e.renderBefore) != null ? n : null;
|
|
624
|
-
i._$litPart$ = s = new
|
|
624
|
+
i._$litPart$ = s = new At(t.insertBefore(_t(), a), a, void 0, e != null ? e : {});
|
|
625
625
|
}
|
|
626
626
|
return s._$AI(o), s;
|
|
627
627
|
};
|
|
@@ -642,7 +642,7 @@ class Ge extends Ke {
|
|
|
642
642
|
}
|
|
643
643
|
update(t) {
|
|
644
644
|
const e = this.render();
|
|
645
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do =
|
|
645
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Cn(e, this.renderRoot, this.renderOptions);
|
|
646
646
|
}
|
|
647
647
|
connectedCallback() {
|
|
648
648
|
var t;
|
|
@@ -656,12 +656,12 @@ class Ge extends Ke {
|
|
|
656
656
|
return Qe;
|
|
657
657
|
}
|
|
658
658
|
}
|
|
659
|
-
var
|
|
660
|
-
Ge._$litElement$ = !0, Ge.finalized = !0, (
|
|
659
|
+
var us;
|
|
660
|
+
Ge._$litElement$ = !0, Ge.finalized = !0, (us = He.litElementHydrateSupport) == null || us.call(He, { LitElement: Ge });
|
|
661
661
|
const ti = He.litElementPolyfillSupport;
|
|
662
662
|
ti == null || ti({ LitElement: Ge });
|
|
663
|
-
var
|
|
664
|
-
((
|
|
663
|
+
var ds;
|
|
664
|
+
((ds = He.litElementVersions) != null ? ds : He.litElementVersions = []).push("4.2.0");
|
|
665
665
|
/**
|
|
666
666
|
* @license
|
|
667
667
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -781,7 +781,7 @@ function L(o, t, e = {}) {
|
|
|
781
781
|
function vi() {
|
|
782
782
|
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() : bs;
|
|
783
783
|
}
|
|
784
|
-
function
|
|
784
|
+
function Fn(o = "") {
|
|
785
785
|
let t = 0;
|
|
786
786
|
return o.startsWith("lumo-") || o.startsWith("material-") ? t = 1 : o.startsWith("vaadin-") && (t = 2), t;
|
|
787
787
|
}
|
|
@@ -792,12 +792,12 @@ function Es(o) {
|
|
|
792
792
|
i ? t.push(...Es(i), ...i.styles) : console.warn(`Included moduleId ${e} not found in style registry`);
|
|
793
793
|
}, o.styles), t;
|
|
794
794
|
}
|
|
795
|
-
function
|
|
795
|
+
function Nn(o) {
|
|
796
796
|
const t = `${o}-default-theme`, e = vi().filter((i) => i.moduleId !== t && ys(i.themeFor, o)).map((i) => kt(Pt({}, i), {
|
|
797
797
|
// Prepend styles from included themes
|
|
798
798
|
styles: [...Es(i), ...i.styles],
|
|
799
799
|
// Map moduleId to includePriority
|
|
800
|
-
includePriority:
|
|
800
|
+
includePriority: Fn(i.moduleId)
|
|
801
801
|
})).sort((i, s) => s.includePriority - i.includePriority);
|
|
802
802
|
return e.length > 0 ? e : vi().filter((i) => i.moduleId === t);
|
|
803
803
|
}
|
|
@@ -831,7 +831,7 @@ const je = (o) => class extends Pn(o) {
|
|
|
831
831
|
*/
|
|
832
832
|
static getStylesForThis() {
|
|
833
833
|
const e = o.__themes || [], i = Object.getPrototypeOf(this.prototype), s = (i ? i.constructor.__themes : []) || [];
|
|
834
|
-
this.__themes = [...e, ...s, ...
|
|
834
|
+
this.__themes = [...e, ...s, ...Nn(this.is)];
|
|
835
835
|
const r = this.__themes.flatMap((n) => n.styles);
|
|
836
836
|
return r.filter((n, a) => a === r.lastIndexOf(n));
|
|
837
837
|
}
|
|
@@ -841,12 +841,12 @@ const je = (o) => class extends Pn(o) {
|
|
|
841
841
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
842
842
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
843
843
|
*/
|
|
844
|
-
const
|
|
844
|
+
const zn = (o, ...t) => {
|
|
845
845
|
const e = document.createElement("style");
|
|
846
846
|
e.id = o, e.textContent = t.map((i) => i.toString()).join(`
|
|
847
847
|
`).replace(":host", "html"), document.head.insertAdjacentElement("afterbegin", e);
|
|
848
848
|
}, ot = (o, ...t) => {
|
|
849
|
-
|
|
849
|
+
zn(`lumo-${o}`, t);
|
|
850
850
|
};
|
|
851
851
|
/**
|
|
852
852
|
* @license
|
|
@@ -1417,7 +1417,7 @@ L("", Ss, { moduleId: "lumo-overlay" });
|
|
|
1417
1417
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1418
1418
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1419
1419
|
*/
|
|
1420
|
-
const
|
|
1420
|
+
const As = P`
|
|
1421
1421
|
:host([opening]),
|
|
1422
1422
|
:host([closing]) {
|
|
1423
1423
|
animation: 0.14s lumo-overlay-dummy-animation;
|
|
@@ -1448,7 +1448,7 @@ const Cs = P`
|
|
|
1448
1448
|
}
|
|
1449
1449
|
}
|
|
1450
1450
|
`;
|
|
1451
|
-
L("",
|
|
1451
|
+
L("", As, { moduleId: "lumo-menu-overlay-core" });
|
|
1452
1452
|
const Vn = P`
|
|
1453
1453
|
/* Small viewport (bottom sheet) styles */
|
|
1454
1454
|
/* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
|
|
@@ -1511,8 +1511,8 @@ const Vn = P`
|
|
|
1511
1511
|
transform: translateY(150%);
|
|
1512
1512
|
}
|
|
1513
1513
|
}
|
|
1514
|
-
`,
|
|
1515
|
-
L("",
|
|
1514
|
+
`, Cs = [Ss, As, Vn];
|
|
1515
|
+
L("", Cs, { moduleId: "lumo-menu-overlay" });
|
|
1516
1516
|
const Un = P`
|
|
1517
1517
|
[part='overlay'] {
|
|
1518
1518
|
/*
|
|
@@ -1559,7 +1559,7 @@ const Un = P`
|
|
|
1559
1559
|
}
|
|
1560
1560
|
}
|
|
1561
1561
|
`;
|
|
1562
|
-
L("vaadin-date-picker-overlay", [
|
|
1562
|
+
L("vaadin-date-picker-overlay", [Cs, Un], {
|
|
1563
1563
|
moduleId: "lumo-date-picker-overlay"
|
|
1564
1564
|
});
|
|
1565
1565
|
const Wn = P`
|
|
@@ -2871,7 +2871,7 @@ const Qn = Ts && "adoptedStyleSheets" in Document.prototype && "replaceSync" in
|
|
|
2871
2871
|
})();
|
|
2872
2872
|
let ea = window.Polymer && window.Polymer.rootPath || Wi(document.baseURI || window.location.href), Bt = window.Polymer && window.Polymer.sanitizeDOMValue || void 0;
|
|
2873
2873
|
window.Polymer && window.Polymer.setPassiveTouchGestures;
|
|
2874
|
-
let Ht = window.Polymer && window.Polymer.strictTemplatePolicy || !1, ta = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, Ms = window.Polymer && window.Polymer.legacyOptimizations || !1, Os = window.Polymer && window.Polymer.legacyWarnings || !1, ia = window.Polymer && window.Polymer.syncInitialRender || !1, yi = window.Polymer && window.Polymer.legacyUndefined || !1, oa = window.Polymer && window.Polymer.orderedComputed || !1,
|
|
2874
|
+
let Ht = window.Polymer && window.Polymer.strictTemplatePolicy || !1, ta = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, Ms = window.Polymer && window.Polymer.legacyOptimizations || !1, Os = window.Polymer && window.Polymer.legacyWarnings || !1, ia = window.Polymer && window.Polymer.syncInitialRender || !1, yi = window.Polymer && window.Polymer.legacyUndefined || !1, oa = window.Polymer && window.Polymer.orderedComputed || !1, Ao = window.Polymer && window.Polymer.removeNestedTemplates || !1, sa = window.Polymer && window.Polymer.fastDomIf || !1, Co = window.Polymer && window.Polymer.suppressTemplateNotifications || !1;
|
|
2875
2875
|
window.Polymer && window.Polymer.legacyNoObservedAttributes;
|
|
2876
2876
|
let ra = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
|
|
2877
2877
|
/**
|
|
@@ -3015,7 +3015,7 @@ Code distributed by Google as part of the polymer project is also
|
|
|
3015
3015
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3016
3016
|
*/
|
|
3017
3017
|
const la = "link[rel=import][type~=css]", ca = "include", Do = "shady-unscoped";
|
|
3018
|
-
function
|
|
3018
|
+
function Fs(o) {
|
|
3019
3019
|
return (
|
|
3020
3020
|
/** @type {?DomModule} */
|
|
3021
3021
|
vt.import(o)
|
|
@@ -3029,24 +3029,24 @@ function To(o) {
|
|
|
3029
3029
|
), i = document.createElement("style");
|
|
3030
3030
|
return i.textContent = e, i;
|
|
3031
3031
|
}
|
|
3032
|
-
function
|
|
3032
|
+
function ua(o) {
|
|
3033
3033
|
const t = o.trim().split(/\s+/), e = [];
|
|
3034
3034
|
for (let i = 0; i < t.length; i++)
|
|
3035
|
-
e.push(...
|
|
3035
|
+
e.push(...da(t[i]));
|
|
3036
3036
|
return e;
|
|
3037
3037
|
}
|
|
3038
|
-
function
|
|
3039
|
-
const t =
|
|
3038
|
+
function da(o) {
|
|
3039
|
+
const t = Fs(o);
|
|
3040
3040
|
if (!t)
|
|
3041
3041
|
return console.warn("Could not find style data in module named", o), [];
|
|
3042
3042
|
if (t._styles === void 0) {
|
|
3043
3043
|
const e = [];
|
|
3044
|
-
e.push(...
|
|
3044
|
+
e.push(...zs(t));
|
|
3045
3045
|
const i = (
|
|
3046
3046
|
/** @type {?HTMLTemplateElement} */
|
|
3047
3047
|
t.querySelector("template")
|
|
3048
3048
|
);
|
|
3049
|
-
i && e.push(...
|
|
3049
|
+
i && e.push(...Ns(
|
|
3050
3050
|
i,
|
|
3051
3051
|
/** @type {templateWithAssetPath} */
|
|
3052
3052
|
t.assetpath
|
|
@@ -3054,12 +3054,12 @@ function ua(o) {
|
|
|
3054
3054
|
}
|
|
3055
3055
|
return t._styles;
|
|
3056
3056
|
}
|
|
3057
|
-
function
|
|
3057
|
+
function Ns(o, t) {
|
|
3058
3058
|
if (!o._styles) {
|
|
3059
3059
|
const e = [], i = o.content.querySelectorAll("style");
|
|
3060
3060
|
for (let s = 0; s < i.length; s++) {
|
|
3061
3061
|
let r = i[s], n = r.getAttribute(ca);
|
|
3062
|
-
n && e.push(...
|
|
3062
|
+
n && e.push(...ua(n).filter(function(a, l, c) {
|
|
3063
3063
|
return c.indexOf(a) === l;
|
|
3064
3064
|
})), t && (r.textContent = Ui(
|
|
3065
3065
|
r.textContent,
|
|
@@ -3072,10 +3072,10 @@ function zs(o, t) {
|
|
|
3072
3072
|
return o._styles;
|
|
3073
3073
|
}
|
|
3074
3074
|
function ha(o) {
|
|
3075
|
-
let t =
|
|
3076
|
-
return t ?
|
|
3075
|
+
let t = Fs(o);
|
|
3076
|
+
return t ? zs(t) : [];
|
|
3077
3077
|
}
|
|
3078
|
-
function
|
|
3078
|
+
function zs(o) {
|
|
3079
3079
|
const t = [], e = o.querySelectorAll(la);
|
|
3080
3080
|
for (let i = 0; i < e.length; i++) {
|
|
3081
3081
|
let s = e[i];
|
|
@@ -3129,7 +3129,7 @@ function xt(o, t, e) {
|
|
|
3129
3129
|
function pa(o, t) {
|
|
3130
3130
|
return o === t || Ls(o, t) || yt(o, t);
|
|
3131
3131
|
}
|
|
3132
|
-
function
|
|
3132
|
+
function dt(o) {
|
|
3133
3133
|
if (Array.isArray(o)) {
|
|
3134
3134
|
let t = [];
|
|
3135
3135
|
for (let e = 0; e < o.length; e++) {
|
|
@@ -3142,7 +3142,7 @@ function ut(o) {
|
|
|
3142
3142
|
return o;
|
|
3143
3143
|
}
|
|
3144
3144
|
function Rs(o) {
|
|
3145
|
-
return Array.isArray(o) ?
|
|
3145
|
+
return Array.isArray(o) ? dt(o).split(".") : o.toString().split(".");
|
|
3146
3146
|
}
|
|
3147
3147
|
function ne(o, t, e) {
|
|
3148
3148
|
let i = o, s = Rs(t);
|
|
@@ -3957,7 +3957,7 @@ const Sa = {
|
|
|
3957
3957
|
"dom-repeat": !0
|
|
3958
3958
|
};
|
|
3959
3959
|
let Oo = !1, Io = !1;
|
|
3960
|
-
function
|
|
3960
|
+
function Aa() {
|
|
3961
3961
|
if (!Oo) {
|
|
3962
3962
|
Oo = !0;
|
|
3963
3963
|
const o = document.createElement("textarea");
|
|
@@ -3965,8 +3965,8 @@ function Ca() {
|
|
|
3965
3965
|
}
|
|
3966
3966
|
return Io;
|
|
3967
3967
|
}
|
|
3968
|
-
function
|
|
3969
|
-
|
|
3968
|
+
function Ca(o) {
|
|
3969
|
+
Aa() && o.localName === "textarea" && o.placeholder && o.placeholder === o.textContent && (o.textContent = null);
|
|
3970
3970
|
}
|
|
3971
3971
|
const Pa = (() => {
|
|
3972
3972
|
const o = window.trustedTypes && window.trustedTypes.createPolicy(
|
|
@@ -4150,7 +4150,7 @@ const Ia = U(
|
|
|
4150
4150
|
/** @type {!HTMLTemplateElement} */
|
|
4151
4151
|
i
|
|
4152
4152
|
);
|
|
4153
|
-
return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, s, r) || n : a.localName === "slot" && (s.hasInsertionPoint = !0),
|
|
4153
|
+
return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, s, r) || n : a.localName === "slot" && (s.hasInsertionPoint = !0), Ca(a), a.firstChild && this._parseTemplateChildNodes(a, s, r), a.hasAttributes && a.hasAttributes() && (n = this._parseTemplateNodeAttributes(a, s, r) || n), n || r.noted;
|
|
4154
4154
|
}
|
|
4155
4155
|
/**
|
|
4156
4156
|
* Parses template child nodes for the given root node.
|
|
@@ -4169,9 +4169,9 @@ const Ia = U(
|
|
|
4169
4169
|
if (!(i.localName === "script" || i.localName === "style"))
|
|
4170
4170
|
for (let n = i.firstChild, a = 0, l; n; n = l) {
|
|
4171
4171
|
if (n.localName == "template" && (n = ka(n)), l = n.nextSibling, n.nodeType === Node.TEXT_NODE) {
|
|
4172
|
-
let
|
|
4173
|
-
for (;
|
|
4174
|
-
n.textContent +=
|
|
4172
|
+
let u = l;
|
|
4173
|
+
for (; u && u.nodeType === Node.TEXT_NODE; )
|
|
4174
|
+
n.textContent += u.textContent, l = u.nextSibling, i.removeChild(u), u = l;
|
|
4175
4175
|
if (s.stripWhiteSpace && !n.textContent.trim()) {
|
|
4176
4176
|
i.removeChild(n);
|
|
4177
4177
|
continue;
|
|
@@ -4302,9 +4302,9 @@ const Ia = U(
|
|
|
4302
4302
|
a.__noInsertionPoint = !s.hasInsertionPoint;
|
|
4303
4303
|
let l = a.nodeList = new Array(r.length);
|
|
4304
4304
|
a.$ = {};
|
|
4305
|
-
for (let c = 0,
|
|
4306
|
-
let h = l[c] = Us(a,
|
|
4307
|
-
Da(this, a.$, h,
|
|
4305
|
+
for (let c = 0, u = r.length, d; c < u && (d = r[c]); c++) {
|
|
4306
|
+
let h = l[c] = Us(a, d);
|
|
4307
|
+
Da(this, a.$, h, d), Ma(this, h, d, s), Ta(this, h, d);
|
|
4308
4308
|
}
|
|
4309
4309
|
return a = /** @type {!StampedTemplate} */
|
|
4310
4310
|
a, a;
|
|
@@ -4375,7 +4375,7 @@ const Et = [], k = {
|
|
|
4375
4375
|
PROPAGATE: "__propagateEffects",
|
|
4376
4376
|
OBSERVE: "__observeEffects",
|
|
4377
4377
|
READ_ONLY: "__readOnly"
|
|
4378
|
-
}, Ws = "__computeInfo",
|
|
4378
|
+
}, Ws = "__computeInfo", Fa = /[A-Z]/;
|
|
4379
4379
|
function ii(o, t, e) {
|
|
4380
4380
|
let i = o[t];
|
|
4381
4381
|
if (!i)
|
|
@@ -4393,19 +4393,19 @@ function ht(o, t, e, i, s, r) {
|
|
|
4393
4393
|
let n = !1;
|
|
4394
4394
|
const a = wt++;
|
|
4395
4395
|
for (let l in e) {
|
|
4396
|
-
let c = s ? Ve(l) : l,
|
|
4397
|
-
if (
|
|
4398
|
-
for (let
|
|
4396
|
+
let c = s ? Ve(l) : l, u = t[c];
|
|
4397
|
+
if (u)
|
|
4398
|
+
for (let d = 0, h = u.length, m; d < h && (m = u[d]); d++)
|
|
4399
4399
|
(!m.info || m.info.lastRun !== a) && (!s || Ki(l, m.trigger)) && (m.info && (m.info.lastRun = a), m.fn(o, l, e, i, m.info, s, r), n = !0);
|
|
4400
4400
|
}
|
|
4401
4401
|
return n;
|
|
4402
4402
|
}
|
|
4403
4403
|
return !1;
|
|
4404
4404
|
}
|
|
4405
|
-
function
|
|
4406
|
-
let l = !1, c = n ? Ve(i) : i,
|
|
4407
|
-
if (
|
|
4408
|
-
for (let
|
|
4405
|
+
function Na(o, t, e, i, s, r, n, a) {
|
|
4406
|
+
let l = !1, c = n ? Ve(i) : i, u = t[c];
|
|
4407
|
+
if (u)
|
|
4408
|
+
for (let d = 0, h = u.length, m; d < h && (m = u[d]); d++)
|
|
4409
4409
|
(!m.info || m.info.lastRun !== e) && (!n || Ki(i, m.trigger)) && (m.info && (m.info.lastRun = e), m.fn(o, i, s, r, m.info, n, a), l = !0);
|
|
4410
4410
|
return l;
|
|
4411
4411
|
}
|
|
@@ -4419,14 +4419,14 @@ function Ki(o, t) {
|
|
|
4419
4419
|
} else
|
|
4420
4420
|
return !0;
|
|
4421
4421
|
}
|
|
4422
|
-
function
|
|
4422
|
+
function Fo(o, t, e, i, s) {
|
|
4423
4423
|
let r = typeof s.method == "string" ? o[s.method] : s.method, n = s.property;
|
|
4424
4424
|
r ? r.call(o, o.__data[n], i[n]) : s.dynamicFn || console.warn("observer method `" + s.method + "` not defined");
|
|
4425
4425
|
}
|
|
4426
|
-
function
|
|
4426
|
+
function za(o, t, e, i, s) {
|
|
4427
4427
|
let r = o[k.NOTIFY], n, a = wt++;
|
|
4428
4428
|
for (let c in t)
|
|
4429
|
-
t[c] && (r &&
|
|
4429
|
+
t[c] && (r && Na(o, r, a, c, e, i, s) || s && La(o, c, e)) && (n = !0);
|
|
4430
4430
|
let l;
|
|
4431
4431
|
n && (l = o.__dataHost) && l._invalidateProperties && l._invalidateProperties();
|
|
4432
4432
|
}
|
|
@@ -4476,10 +4476,10 @@ function $a(o, t, e, i) {
|
|
|
4476
4476
|
wt++;
|
|
4477
4477
|
const r = ja(o), n = [];
|
|
4478
4478
|
for (let l in t)
|
|
4479
|
-
|
|
4479
|
+
No(l, s, n, r, i);
|
|
4480
4480
|
let a;
|
|
4481
4481
|
for (; a = n.shift(); )
|
|
4482
|
-
Ks(o, "", t, e, a) &&
|
|
4482
|
+
Ks(o, "", t, e, a) && No(a.methodInfo, s, n, r, i);
|
|
4483
4483
|
Object.assign(
|
|
4484
4484
|
/** @type {!Object} */
|
|
4485
4485
|
e,
|
|
@@ -4517,7 +4517,7 @@ const Ya = (o, t, e) => {
|
|
|
4517
4517
|
}
|
|
4518
4518
|
}
|
|
4519
4519
|
r < 0 && (r = s + 1), t.splice(r, 0, o);
|
|
4520
|
-
},
|
|
4520
|
+
}, No = (o, t, e, i, s) => {
|
|
4521
4521
|
const r = s ? Ve(o) : o, n = t[r];
|
|
4522
4522
|
if (n)
|
|
4523
4523
|
for (let a = 0; a < n.length; a++) {
|
|
@@ -4576,13 +4576,13 @@ function oi(o, t, e, i, s, r, n) {
|
|
|
4576
4576
|
e.bindings = e.bindings || [];
|
|
4577
4577
|
let a = { kind: i, target: s, parts: r, literal: n, isCompound: r.length !== 1 };
|
|
4578
4578
|
if (e.bindings.push(a), Ja(a)) {
|
|
4579
|
-
let { event: c, negate:
|
|
4580
|
-
a.listenerEvent = c || Wt(s) + "-changed", a.listenerNegate =
|
|
4579
|
+
let { event: c, negate: u } = a.parts[0];
|
|
4580
|
+
a.listenerEvent = c || Wt(s) + "-changed", a.listenerNegate = u;
|
|
4581
4581
|
}
|
|
4582
4582
|
let l = t.nodeInfoList.length;
|
|
4583
4583
|
for (let c = 0; c < a.parts.length; c++) {
|
|
4584
|
-
let
|
|
4585
|
-
|
|
4584
|
+
let u = a.parts[c];
|
|
4585
|
+
u.compoundIndex = c, Wa(o, t, a, u, l);
|
|
4586
4586
|
}
|
|
4587
4587
|
}
|
|
4588
4588
|
function Wa(o, t, e, i, s) {
|
|
@@ -4604,11 +4604,11 @@ function Wa(o, t, e, i, s) {
|
|
|
4604
4604
|
function qa(o, t, e, i, s, r, n) {
|
|
4605
4605
|
let a = n[s.index], l = s.binding, c = s.part;
|
|
4606
4606
|
if (r && c.source && t.length > c.source.length && l.kind == "property" && !l.isCompound && a.__isPropertyEffectsClient && a.__dataHasAccessor && a.__dataHasAccessor[l.target]) {
|
|
4607
|
-
let
|
|
4608
|
-
t = xt(c.source, l.target, t), a._setPendingPropertyOrPath(t,
|
|
4607
|
+
let u = e[t];
|
|
4608
|
+
t = xt(c.source, l.target, t), a._setPendingPropertyOrPath(t, u, !1, !0) && o._enqueueClient(a);
|
|
4609
4609
|
} else {
|
|
4610
|
-
let
|
|
4611
|
-
|
|
4610
|
+
let u = s.evaluator._evaluateBinding(o, c, t, e, i, r);
|
|
4611
|
+
u !== Et && Ka(o, a, l, c, u);
|
|
4612
4612
|
}
|
|
4613
4613
|
}
|
|
4614
4614
|
function Ka(o, t, e, i, s) {
|
|
@@ -4664,7 +4664,7 @@ function Qa(o, t, e) {
|
|
|
4664
4664
|
});
|
|
4665
4665
|
}
|
|
4666
4666
|
}
|
|
4667
|
-
function
|
|
4667
|
+
function zo(o, t, e, i, s, r) {
|
|
4668
4668
|
r = t.static || r && (typeof r != "object" || r[t.methodName]);
|
|
4669
4669
|
let n = {
|
|
4670
4670
|
methodName: t.methodName,
|
|
@@ -4691,7 +4691,7 @@ function Ei(o, t, e, i, s) {
|
|
|
4691
4691
|
} else
|
|
4692
4692
|
s.dynamicFn || console.warn("method `" + s.methodName + "` not defined");
|
|
4693
4693
|
}
|
|
4694
|
-
const el = [], Gs = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", tl = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", il = "(?:'(?:[^'\\\\]|\\\\.)*')", ol = '(?:"(?:[^"\\\\]|\\\\.)*")', sl = "(?:" + il + "|" + ol + ")", Lo = "(?:(" + Gs + "|" + tl + "|" + sl + ")\\s*)", rl = "(?:" + Lo + "(?:,\\s*" + Lo + ")*)", nl = "(?:\\(\\s*(?:" + rl + "?)\\)\\s*)", al = "(" + Gs + "\\s*" + nl + "?)", ll = "(\\[\\[|{{)\\s*", cl = "(?:]]|}})",
|
|
4694
|
+
const el = [], Gs = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", tl = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", il = "(?:'(?:[^'\\\\]|\\\\.)*')", ol = '(?:"(?:[^"\\\\]|\\\\.)*")', sl = "(?:" + il + "|" + ol + ")", Lo = "(?:(" + Gs + "|" + tl + "|" + sl + ")\\s*)", rl = "(?:" + Lo + "(?:,\\s*" + Lo + ")*)", nl = "(?:\\(\\s*(?:" + rl + "?)\\)\\s*)", al = "(" + Gs + "\\s*" + nl + "?)", ll = "(\\[\\[|{{)\\s*", cl = "(?:]]|}})", ul = "(?:(!)\\s*)?", dl = ll + ul + al + cl, Ro = new RegExp(dl, "g");
|
|
4695
4695
|
function Bo(o) {
|
|
4696
4696
|
let t = "";
|
|
4697
4697
|
for (let e = 0; e < o.length; e++) {
|
|
@@ -5160,7 +5160,7 @@ const Gi = U((o) => {
|
|
|
5160
5160
|
let a = this.__dataHasPaths;
|
|
5161
5161
|
this.__dataHasPaths = !1;
|
|
5162
5162
|
let l;
|
|
5163
|
-
$a(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(), ht(this, this[k.REFLECT], r, n, a), ht(this, this[k.OBSERVE], r, n, a), l &&
|
|
5163
|
+
$a(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(), ht(this, this[k.REFLECT], r, n, a), ht(this, this[k.OBSERVE], r, n, a), l && za(this, l, r, n, a), this.__dataCounter == 1 && (this.__dataTemp = {});
|
|
5164
5164
|
}
|
|
5165
5165
|
/**
|
|
5166
5166
|
* Called to propagate any property changes to stamped template nodes
|
|
@@ -5177,17 +5177,17 @@ const Gi = U((o) => {
|
|
|
5177
5177
|
this[k.PROPAGATE] && ht(this, this[k.PROPAGATE], s, r, n), this.__templateInfo && this._runEffectsForTemplate(this.__templateInfo, s, r, n);
|
|
5178
5178
|
}
|
|
5179
5179
|
_runEffectsForTemplate(s, r, n, a) {
|
|
5180
|
-
const l = (c,
|
|
5180
|
+
const l = (c, u) => {
|
|
5181
5181
|
ht(
|
|
5182
5182
|
this,
|
|
5183
5183
|
s.propertyEffects,
|
|
5184
5184
|
c,
|
|
5185
5185
|
n,
|
|
5186
|
-
|
|
5186
|
+
u,
|
|
5187
5187
|
s.nodeList
|
|
5188
5188
|
);
|
|
5189
|
-
for (let
|
|
5190
|
-
this._runEffectsForTemplate(
|
|
5189
|
+
for (let d = s.firstChild; d; d = d.nextSibling)
|
|
5190
|
+
this._runEffectsForTemplate(d, c, n, u);
|
|
5191
5191
|
};
|
|
5192
5192
|
s.runEffects ? s.runEffects(l, r, a) : l(r, a);
|
|
5193
5193
|
}
|
|
@@ -5202,7 +5202,7 @@ const Gi = U((o) => {
|
|
|
5202
5202
|
* @public
|
|
5203
5203
|
*/
|
|
5204
5204
|
linkPaths(s, r) {
|
|
5205
|
-
s =
|
|
5205
|
+
s = dt(s), r = dt(r), this.__dataLinkedPaths = this.__dataLinkedPaths || {}, this.__dataLinkedPaths[s] = r;
|
|
5206
5206
|
}
|
|
5207
5207
|
/**
|
|
5208
5208
|
* Removes a data path alias previously established with `_linkPaths`.
|
|
@@ -5216,7 +5216,7 @@ const Gi = U((o) => {
|
|
|
5216
5216
|
* @public
|
|
5217
5217
|
*/
|
|
5218
5218
|
unlinkPaths(s) {
|
|
5219
|
-
s =
|
|
5219
|
+
s = dt(s), this.__dataLinkedPaths && delete this.__dataLinkedPaths[s];
|
|
5220
5220
|
}
|
|
5221
5221
|
/**
|
|
5222
5222
|
* Notify that an array has changed.
|
|
@@ -5377,8 +5377,8 @@ const Gi = U((o) => {
|
|
|
5377
5377
|
ne(this, s, l)
|
|
5378
5378
|
);
|
|
5379
5379
|
r < 0 ? r = c.length - Math.floor(-r) : r && (r = Math.floor(r));
|
|
5380
|
-
let
|
|
5381
|
-
return arguments.length === 2 ?
|
|
5380
|
+
let u;
|
|
5381
|
+
return arguments.length === 2 ? u = c.splice(r) : u = c.splice(r, n, ...a), (a.length || u.length) && at(this, c, l.path, r, a.length, u), u;
|
|
5382
5382
|
}
|
|
5383
5383
|
/**
|
|
5384
5384
|
* Removes an item from the beginning of array at the path specified.
|
|
@@ -5443,7 +5443,7 @@ const Gi = U((o) => {
|
|
|
5443
5443
|
let a = { path: "" };
|
|
5444
5444
|
r = ne(this, s, a), n = a.path;
|
|
5445
5445
|
} else
|
|
5446
|
-
Array.isArray(s) ? n =
|
|
5446
|
+
Array.isArray(s) ? n = dt(s) : n = /** @type{string} */
|
|
5447
5447
|
s;
|
|
5448
5448
|
this._setPendingPropertyOrPath(n, r, !0, !0) && this._invalidateProperties();
|
|
5449
5449
|
}
|
|
@@ -5482,7 +5482,7 @@ const Gi = U((o) => {
|
|
|
5482
5482
|
_createPropertyObserver(s, r, n) {
|
|
5483
5483
|
let a = { property: s, method: r, dynamicFn: !!n };
|
|
5484
5484
|
this._addPropertyEffect(s, k.OBSERVE, {
|
|
5485
|
-
fn:
|
|
5485
|
+
fn: Fo,
|
|
5486
5486
|
info: a,
|
|
5487
5487
|
trigger: { name: s }
|
|
5488
5488
|
}), n && this._addPropertyEffect(
|
|
@@ -5490,7 +5490,7 @@ const Gi = U((o) => {
|
|
|
5490
5490
|
r,
|
|
5491
5491
|
k.OBSERVE,
|
|
5492
5492
|
{
|
|
5493
|
-
fn:
|
|
5493
|
+
fn: Fo,
|
|
5494
5494
|
info: a,
|
|
5495
5495
|
trigger: { name: r }
|
|
5496
5496
|
}
|
|
@@ -5512,7 +5512,7 @@ const Gi = U((o) => {
|
|
|
5512
5512
|
let n = si(s);
|
|
5513
5513
|
if (!n)
|
|
5514
5514
|
throw new Error("Malformed observer expression '" + s + "'");
|
|
5515
|
-
|
|
5515
|
+
zo(this, n, k.OBSERVE, Ei, null, r);
|
|
5516
5516
|
}
|
|
5517
5517
|
/**
|
|
5518
5518
|
* Equivalent to static `createNotifyingProperty` API but can be called on
|
|
@@ -5570,7 +5570,7 @@ const Gi = U((o) => {
|
|
|
5570
5570
|
let a = si(r);
|
|
5571
5571
|
if (!a)
|
|
5572
5572
|
throw new Error("Malformed computed expression '" + r + "'");
|
|
5573
|
-
const l =
|
|
5573
|
+
const l = zo(this, a, k.COMPUTE, Ks, s, n);
|
|
5574
5574
|
ii(this, Ws)[s] = l;
|
|
5575
5575
|
}
|
|
5576
5576
|
/**
|
|
@@ -5588,18 +5588,18 @@ const Gi = U((o) => {
|
|
|
5588
5588
|
*/
|
|
5589
5589
|
_marshalArgs(s, r, n) {
|
|
5590
5590
|
const a = this.__data, l = [];
|
|
5591
|
-
for (let c = 0,
|
|
5592
|
-
let { name:
|
|
5591
|
+
for (let c = 0, u = s.length; c < u; c++) {
|
|
5592
|
+
let { name: d, structured: h, wildcard: m, value: g, literal: p } = s[c];
|
|
5593
5593
|
if (!p)
|
|
5594
5594
|
if (m) {
|
|
5595
|
-
const _ = yt(
|
|
5595
|
+
const _ = yt(d, r), y = Ho(a, n, _ ? r : d);
|
|
5596
5596
|
g = {
|
|
5597
|
-
path: _ ? r :
|
|
5597
|
+
path: _ ? r : d,
|
|
5598
5598
|
value: y,
|
|
5599
|
-
base: _ ? ne(a,
|
|
5599
|
+
base: _ ? ne(a, d) : y
|
|
5600
5600
|
};
|
|
5601
5601
|
} else
|
|
5602
|
-
g = h ? Ho(a, n,
|
|
5602
|
+
g = h ? Ho(a, n, d) : a[d];
|
|
5603
5603
|
if (yi && !this._overrideLegacyUndefined && g === void 0 && s.length > 1)
|
|
5604
5604
|
return Et;
|
|
5605
5605
|
l[c] = g;
|
|
@@ -5898,9 +5898,9 @@ const Gi = U((o) => {
|
|
|
5898
5898
|
const r = s.templateInfo, { previousSibling: n, nextSibling: a, parent: l } = r;
|
|
5899
5899
|
n ? n.nextSibling = a : l && (l.firstChild = a), a ? a.previousSibling = n : l && (l.lastChild = n), r.nextSibling = r.previousSibling = null;
|
|
5900
5900
|
let c = r.childNodes;
|
|
5901
|
-
for (let
|
|
5902
|
-
let
|
|
5903
|
-
K(K(
|
|
5901
|
+
for (let u = 0; u < c.length; u++) {
|
|
5902
|
+
let d = c[u];
|
|
5903
|
+
K(K(d).parentNode).removeChild(d);
|
|
5904
5904
|
}
|
|
5905
5905
|
}
|
|
5906
5906
|
/**
|
|
@@ -5955,10 +5955,10 @@ const Gi = U((o) => {
|
|
|
5955
5955
|
static _parseTemplateNodeAttribute(s, r, n, a, l) {
|
|
5956
5956
|
let c = this._parseBindings(l, r);
|
|
5957
5957
|
if (c) {
|
|
5958
|
-
let
|
|
5959
|
-
|
|
5958
|
+
let u = a, d = "property";
|
|
5959
|
+
Fa.test(a) ? d = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), d = "attribute");
|
|
5960
5960
|
let h = Bo(c);
|
|
5961
|
-
return h &&
|
|
5961
|
+
return h && d == "attribute" && (a == "class" && s.hasAttribute("class") && (h += " " + s.getAttribute(a)), s.setAttribute(a, h)), d == "attribute" && u == "disable-upgrade$" && s.setAttribute(a, ""), s.localName === "input" && u === "value" && s.setAttribute(u, ""), s.removeAttribute(u), d === "property" && (a = Bs(a)), oi(this, r, n, d, a, c, h), !0;
|
|
5962
5962
|
} else
|
|
5963
5963
|
return t._parseTemplateNodeAttribute.call(
|
|
5964
5964
|
this,
|
|
@@ -5990,11 +5990,11 @@ const Gi = U((o) => {
|
|
|
5990
5990
|
r,
|
|
5991
5991
|
n
|
|
5992
5992
|
);
|
|
5993
|
-
const l = s.parentNode, c = n.templateInfo,
|
|
5994
|
-
|
|
5993
|
+
const l = s.parentNode, c = n.templateInfo, u = l.localName === "dom-if", d = l.localName === "dom-repeat";
|
|
5994
|
+
Ao && (u || d) && (l.removeChild(s), n = n.parentInfo, n.templateInfo = c, n.noted = !0, a = !1);
|
|
5995
5995
|
let h = c.hostProps;
|
|
5996
|
-
if (sa &&
|
|
5997
|
-
h && (r.hostProps = Object.assign(r.hostProps || {}, h),
|
|
5996
|
+
if (sa && u)
|
|
5997
|
+
h && (r.hostProps = Object.assign(r.hostProps || {}, h), Ao || (n.parentInfo.noted = !0));
|
|
5998
5998
|
else {
|
|
5999
5999
|
let m = "{";
|
|
6000
6000
|
for (let g in h) {
|
|
@@ -6053,23 +6053,23 @@ const Gi = U((o) => {
|
|
|
6053
6053
|
let n = [], a = 0, l;
|
|
6054
6054
|
for (; (l = Ro.exec(s)) !== null; ) {
|
|
6055
6055
|
l.index > a && n.push({ literal: s.slice(a, l.index) });
|
|
6056
|
-
let c = l[1][0],
|
|
6057
|
-
c == "{" && (g =
|
|
6058
|
-
let p = si(
|
|
6056
|
+
let c = l[1][0], u = !!l[2], d = l[3].trim(), h = !1, m = "", g = -1;
|
|
6057
|
+
c == "{" && (g = d.indexOf("::")) > 0 && (m = d.substring(g + 2), d = d.substring(0, g), h = !0);
|
|
6058
|
+
let p = si(d), _ = [];
|
|
6059
6059
|
if (p) {
|
|
6060
6060
|
let { args: y, methodName: v } = p;
|
|
6061
|
-
for (let
|
|
6062
|
-
let D = y[
|
|
6061
|
+
for (let A = 0; A < y.length; A++) {
|
|
6062
|
+
let D = y[A];
|
|
6063
6063
|
D.literal || _.push(D);
|
|
6064
6064
|
}
|
|
6065
|
-
let
|
|
6066
|
-
(
|
|
6065
|
+
let C = r.dynamicFns;
|
|
6066
|
+
(C && C[v] || p.static) && (_.push(v), p.dynamicFn = !0);
|
|
6067
6067
|
} else
|
|
6068
|
-
_.push(
|
|
6068
|
+
_.push(d);
|
|
6069
6069
|
n.push({
|
|
6070
|
-
source:
|
|
6070
|
+
source: d,
|
|
6071
6071
|
mode: c,
|
|
6072
|
-
negate:
|
|
6072
|
+
negate: u,
|
|
6073
6073
|
customEvent: h,
|
|
6074
6074
|
signature: p,
|
|
6075
6075
|
dependencies: _,
|
|
@@ -6100,8 +6100,8 @@ const Gi = U((o) => {
|
|
|
6100
6100
|
* @nocollapse
|
|
6101
6101
|
*/
|
|
6102
6102
|
static _evaluateBinding(s, r, n, a, l, c) {
|
|
6103
|
-
let
|
|
6104
|
-
return r.signature ?
|
|
6103
|
+
let u;
|
|
6104
|
+
return r.signature ? u = Ei(s, n, a, l, r.signature) : n != r.source ? u = ne(s, r.source) : c && xi(n) ? u = ne(s, n) : u = s.__data[n], r.negate && (u = !u), u;
|
|
6105
6105
|
}
|
|
6106
6106
|
}
|
|
6107
6107
|
return e;
|
|
@@ -6291,9 +6291,9 @@ const _l = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, gl = U((o)
|
|
|
6291
6291
|
)) {
|
|
6292
6292
|
l.__propertyDefaults = null;
|
|
6293
6293
|
let c = l._properties;
|
|
6294
|
-
for (let
|
|
6295
|
-
let
|
|
6296
|
-
"value" in
|
|
6294
|
+
for (let u in c) {
|
|
6295
|
+
let d = c[u];
|
|
6296
|
+
"value" in d && (l.__propertyDefaults = l.__propertyDefaults || {}, l.__propertyDefaults[u] = d);
|
|
6297
6297
|
}
|
|
6298
6298
|
}
|
|
6299
6299
|
return l.__propertyDefaults;
|
|
@@ -6308,23 +6308,23 @@ const _l = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, gl = U((o)
|
|
|
6308
6308
|
l.observers
|
|
6309
6309
|
) : null), l.__ownObservers;
|
|
6310
6310
|
}
|
|
6311
|
-
function s(l, c,
|
|
6312
|
-
|
|
6311
|
+
function s(l, c, u, d) {
|
|
6312
|
+
u.computed && (u.readOnly = !0), u.computed && (l._hasReadOnlyEffect(c) ? console.warn(`Cannot redefine computed property '${c}'.`) : l._createComputedProperty(c, u.computed, d)), u.readOnly && !l._hasReadOnlyEffect(c) ? l._createReadOnlyProperty(c, !u.computed) : u.readOnly === !1 && l._hasReadOnlyEffect(c) && console.warn(`Cannot make readOnly property '${c}' non-readOnly.`), u.reflectToAttribute && !l._hasReflectEffect(c) ? l._createReflectedProperty(c) : u.reflectToAttribute === !1 && l._hasReflectEffect(c) && console.warn(`Cannot make reflected property '${c}' non-reflected.`), u.notify && !l._hasNotifyEffect(c) ? l._createNotifyingProperty(c) : u.notify === !1 && l._hasNotifyEffect(c) && console.warn(`Cannot make notify property '${c}' non-notify.`), u.observer && l._createPropertyObserver(c, u.observer, d[u.observer]), l._addPropertyToAttributeMap(c);
|
|
6313
6313
|
}
|
|
6314
|
-
function r(l, c,
|
|
6314
|
+
function r(l, c, u, d) {
|
|
6315
6315
|
if (!$o) {
|
|
6316
|
-
const h = c.content.querySelectorAll("style"), m =
|
|
6316
|
+
const h = c.content.querySelectorAll("style"), m = Ns(c), g = ha(u), p = c.content.firstElementChild;
|
|
6317
6317
|
for (let y = 0; y < g.length; y++) {
|
|
6318
6318
|
let v = g[y];
|
|
6319
|
-
v.textContent = l._processStyleText(v.textContent,
|
|
6319
|
+
v.textContent = l._processStyleText(v.textContent, d), c.content.insertBefore(v, p);
|
|
6320
6320
|
}
|
|
6321
6321
|
let _ = 0;
|
|
6322
6322
|
for (let y = 0; y < m.length; y++) {
|
|
6323
|
-
let v = m[y],
|
|
6324
|
-
|
|
6323
|
+
let v = m[y], C = h[_];
|
|
6324
|
+
C !== v ? (v = v.cloneNode(!0), C.parentNode.insertBefore(v, C)) : _++, v.textContent = l._processStyleText(v.textContent, d);
|
|
6325
6325
|
}
|
|
6326
6326
|
}
|
|
6327
|
-
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(c,
|
|
6327
|
+
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(c, u), ra && $o && Qn) {
|
|
6328
6328
|
const h = c.content.querySelectorAll("style");
|
|
6329
6329
|
if (h) {
|
|
6330
6330
|
let m = "";
|
|
@@ -6380,12 +6380,12 @@ const _l = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, gl = U((o)
|
|
|
6380
6380
|
* @nocollapse
|
|
6381
6381
|
*/
|
|
6382
6382
|
static createProperties(c) {
|
|
6383
|
-
for (let
|
|
6383
|
+
for (let u in c)
|
|
6384
6384
|
s(
|
|
6385
6385
|
/** @type {?} */
|
|
6386
6386
|
this.prototype,
|
|
6387
|
-
|
|
6388
|
-
c[
|
|
6387
|
+
u,
|
|
6388
|
+
c[u],
|
|
6389
6389
|
c
|
|
6390
6390
|
);
|
|
6391
6391
|
}
|
|
@@ -6401,10 +6401,10 @@ const _l = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, gl = U((o)
|
|
|
6401
6401
|
* @protected
|
|
6402
6402
|
* @nocollapse
|
|
6403
6403
|
*/
|
|
6404
|
-
static createObservers(c,
|
|
6405
|
-
const
|
|
6404
|
+
static createObservers(c, u) {
|
|
6405
|
+
const d = this.prototype;
|
|
6406
6406
|
for (let h = 0; h < c.length; h++)
|
|
6407
|
-
|
|
6407
|
+
d._createMethodObserver(c[h], u);
|
|
6408
6408
|
}
|
|
6409
6409
|
/**
|
|
6410
6410
|
* Returns the template that will be stamped into this element's shadow root.
|
|
@@ -6508,11 +6508,11 @@ const _l = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, gl = U((o)
|
|
|
6508
6508
|
if (c)
|
|
6509
6509
|
this._importPath = Wi(c.url);
|
|
6510
6510
|
else {
|
|
6511
|
-
const
|
|
6511
|
+
const u = vt.import(
|
|
6512
6512
|
/** @type {PolymerElementConstructor} */
|
|
6513
6513
|
this.is
|
|
6514
6514
|
);
|
|
6515
|
-
this._importPath =
|
|
6515
|
+
this._importPath = u && u.assetpath || Object.getPrototypeOf(
|
|
6516
6516
|
/** @type {PolymerElementConstructor}*/
|
|
6517
6517
|
this.prototype
|
|
6518
6518
|
).constructor.importPath;
|
|
@@ -6542,11 +6542,11 @@ const _l = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, gl = U((o)
|
|
|
6542
6542
|
), super._initializeProperties(), this.rootPath = ea, this.importPath = this.constructor.importPath;
|
|
6543
6543
|
let c = e(this.constructor);
|
|
6544
6544
|
if (c)
|
|
6545
|
-
for (let
|
|
6546
|
-
let
|
|
6547
|
-
if (this._canApplyPropertyDefault(
|
|
6548
|
-
let h = typeof
|
|
6549
|
-
this._hasAccessor(
|
|
6545
|
+
for (let u in c) {
|
|
6546
|
+
let d = c[u];
|
|
6547
|
+
if (this._canApplyPropertyDefault(u)) {
|
|
6548
|
+
let h = typeof d.value == "function" ? d.value.call(this) : d.value;
|
|
6549
|
+
this._hasAccessor(u) ? this._setPendingProperty(u, h, !0) : this[u] = h;
|
|
6550
6550
|
}
|
|
6551
6551
|
}
|
|
6552
6552
|
}
|
|
@@ -6570,8 +6570,8 @@ const _l = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, gl = U((o)
|
|
|
6570
6570
|
* @protected
|
|
6571
6571
|
* @nocollapse
|
|
6572
6572
|
*/
|
|
6573
|
-
static _processStyleText(c,
|
|
6574
|
-
return Ui(c,
|
|
6573
|
+
static _processStyleText(c, u) {
|
|
6574
|
+
return Ui(c, u);
|
|
6575
6575
|
}
|
|
6576
6576
|
/**
|
|
6577
6577
|
* Configures an element `proto` to function with a given `template`.
|
|
@@ -6584,11 +6584,11 @@ const _l = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, gl = U((o)
|
|
|
6584
6584
|
* @nocollapse
|
|
6585
6585
|
*/
|
|
6586
6586
|
static _finalizeTemplate(c) {
|
|
6587
|
-
const
|
|
6588
|
-
if (
|
|
6589
|
-
|
|
6590
|
-
const
|
|
6591
|
-
r(this,
|
|
6587
|
+
const u = this.prototype._template;
|
|
6588
|
+
if (u && !u.__polymerFinalized) {
|
|
6589
|
+
u.__polymerFinalized = !0;
|
|
6590
|
+
const d = this.importPath, h = d ? mt(d) : "";
|
|
6591
|
+
r(this, u, c, h), this.prototype._bindTemplate(u);
|
|
6592
6592
|
}
|
|
6593
6593
|
}
|
|
6594
6594
|
/**
|
|
@@ -6648,9 +6648,9 @@ const _l = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, gl = U((o)
|
|
|
6648
6648
|
* @return {ShadowRoot} node to which the dom has been attached.
|
|
6649
6649
|
*/
|
|
6650
6650
|
_attachDom(c) {
|
|
6651
|
-
const
|
|
6652
|
-
if (
|
|
6653
|
-
return c ? (
|
|
6651
|
+
const u = K(this);
|
|
6652
|
+
if (u.attachShadow)
|
|
6653
|
+
return c ? (u.shadowRoot || (u.attachShadow({ mode: "open", shadyUpgradeFragment: c }), u.shadowRoot.appendChild(c), this.constructor._styleSheet && (u.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), ia && window.ShadyDOM && window.ShadyDOM.flushInitial(u.shadowRoot), u.shadowRoot) : null;
|
|
6654
6654
|
throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.");
|
|
6655
6655
|
}
|
|
6656
6656
|
/**
|
|
@@ -6698,8 +6698,8 @@ const _l = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, gl = U((o)
|
|
|
6698
6698
|
* to the element's `importPath`
|
|
6699
6699
|
* @return {string} Rewritten URL relative to base
|
|
6700
6700
|
*/
|
|
6701
|
-
resolveUrl(c,
|
|
6702
|
-
return !
|
|
6701
|
+
resolveUrl(c, u) {
|
|
6702
|
+
return !u && this.importPath && (u = mt(this.importPath)), mt(c, u);
|
|
6703
6703
|
}
|
|
6704
6704
|
/**
|
|
6705
6705
|
* Overrides `PropertyEffects` to add map of dynamic functions on
|
|
@@ -6714,12 +6714,12 @@ const _l = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, gl = U((o)
|
|
|
6714
6714
|
* @suppress {missingProperties} Interfaces in closure do not inherit statics, but classes do
|
|
6715
6715
|
* @nocollapse
|
|
6716
6716
|
*/
|
|
6717
|
-
static _parseTemplateContent(c,
|
|
6718
|
-
return
|
|
6717
|
+
static _parseTemplateContent(c, u, d) {
|
|
6718
|
+
return u.dynamicFns = u.dynamicFns || this._properties, t._parseTemplateContent.call(
|
|
6719
6719
|
this,
|
|
6720
6720
|
c,
|
|
6721
|
-
|
|
6722
|
-
|
|
6721
|
+
u,
|
|
6722
|
+
d
|
|
6723
6723
|
);
|
|
6724
6724
|
}
|
|
6725
6725
|
/**
|
|
@@ -6734,18 +6734,18 @@ const _l = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, gl = U((o)
|
|
|
6734
6734
|
* @suppress {missingProperties} Interfaces in closure do not inherit statics, but classes do
|
|
6735
6735
|
* @nocollapse
|
|
6736
6736
|
*/
|
|
6737
|
-
static _addTemplatePropertyEffect(c,
|
|
6738
|
-
return Os && !(
|
|
6737
|
+
static _addTemplatePropertyEffect(c, u, d) {
|
|
6738
|
+
return Os && !(u in this._properties) && // Methods used in templates with no dependencies (or only literal
|
|
6739
6739
|
// dependencies) become accessors with template effects; ignore these
|
|
6740
|
-
!(
|
|
6740
|
+
!(d.info.part.signature && d.info.part.signature.static) && // Warnings for bindings added to nested templates are handled by
|
|
6741
6741
|
// templatizer so ignore both the host-to-template bindings
|
|
6742
6742
|
// (`hostProp`) and TemplateInstance-to-child bindings
|
|
6743
6743
|
// (`nestedTemplate`)
|
|
6744
|
-
!
|
|
6744
|
+
!d.info.part.hostProp && !c.nestedTemplate && console.warn(`Property '${u}' used in template but not declared in 'properties'; attribute will not be observed.`), t._addTemplatePropertyEffect.call(
|
|
6745
6745
|
this,
|
|
6746
6746
|
c,
|
|
6747
|
-
|
|
6748
|
-
|
|
6747
|
+
u,
|
|
6748
|
+
d
|
|
6749
6749
|
);
|
|
6750
6750
|
}
|
|
6751
6751
|
}
|
|
@@ -6838,11 +6838,11 @@ const ye = [];
|
|
|
6838
6838
|
function Si(o, t, e = o.getAttribute("dir")) {
|
|
6839
6839
|
t ? o.setAttribute("dir", t) : e != null && o.removeAttribute("dir");
|
|
6840
6840
|
}
|
|
6841
|
-
function
|
|
6841
|
+
function Ai() {
|
|
6842
6842
|
return document.documentElement.getAttribute("dir");
|
|
6843
6843
|
}
|
|
6844
6844
|
function vl() {
|
|
6845
|
-
const o =
|
|
6845
|
+
const o = Ai();
|
|
6846
6846
|
ye.forEach((t) => {
|
|
6847
6847
|
Si(t, o);
|
|
6848
6848
|
});
|
|
@@ -6875,13 +6875,13 @@ const qt = (o) => class extends o {
|
|
|
6875
6875
|
}
|
|
6876
6876
|
/** @protected */
|
|
6877
6877
|
connectedCallback() {
|
|
6878
|
-
super.connectedCallback(), (!this.hasAttribute("dir") || this.__restoreSubscription) && (this.__subscribe(), Si(this,
|
|
6878
|
+
super.connectedCallback(), (!this.hasAttribute("dir") || this.__restoreSubscription) && (this.__subscribe(), Si(this, Ai(), null));
|
|
6879
6879
|
}
|
|
6880
6880
|
/** @protected */
|
|
6881
6881
|
attributeChangedCallback(e, i, s) {
|
|
6882
6882
|
if (super.attributeChangedCallback(e, i, s), e !== "dir")
|
|
6883
6883
|
return;
|
|
6884
|
-
const r =
|
|
6884
|
+
const r = Ai(), n = s === r && ye.indexOf(this) === -1, a = !s && i && ye.indexOf(this) === -1;
|
|
6885
6885
|
n || a ? (this.__subscribe(), Si(this, r, s)) : s !== r && i === r && this.__unsubscribe();
|
|
6886
6886
|
}
|
|
6887
6887
|
/** @protected */
|
|
@@ -7120,7 +7120,7 @@ window.addEventListener(
|
|
|
7120
7120
|
},
|
|
7121
7121
|
{ capture: !0 }
|
|
7122
7122
|
);
|
|
7123
|
-
function
|
|
7123
|
+
function Ci() {
|
|
7124
7124
|
let o = document.activeElement || document.body;
|
|
7125
7125
|
for (; o.shadowRoot && o.shadowRoot.activeElement; )
|
|
7126
7126
|
o = o.shadowRoot.activeElement;
|
|
@@ -7129,21 +7129,21 @@ function Ai() {
|
|
|
7129
7129
|
function Xi() {
|
|
7130
7130
|
return Ji;
|
|
7131
7131
|
}
|
|
7132
|
-
function
|
|
7132
|
+
function Al(o) {
|
|
7133
7133
|
const t = o.style;
|
|
7134
7134
|
if (t.visibility === "hidden" || t.display === "none")
|
|
7135
7135
|
return !0;
|
|
7136
7136
|
const e = window.getComputedStyle(o);
|
|
7137
7137
|
return e.visibility === "hidden" || e.display === "none";
|
|
7138
7138
|
}
|
|
7139
|
-
function
|
|
7139
|
+
function Cl(o, t) {
|
|
7140
7140
|
const e = Math.max(o.tabIndex, 0), i = Math.max(t.tabIndex, 0);
|
|
7141
7141
|
return e === 0 || i === 0 ? i > e : e > i;
|
|
7142
7142
|
}
|
|
7143
7143
|
function Pl(o, t) {
|
|
7144
7144
|
const e = [];
|
|
7145
7145
|
for (; o.length > 0 && t.length > 0; )
|
|
7146
|
-
|
|
7146
|
+
Cl(o[0], t[0]) ? e.push(t.shift()) : e.push(o.shift());
|
|
7147
7147
|
return e.concat(o, t);
|
|
7148
7148
|
}
|
|
7149
7149
|
function Pi(o) {
|
|
@@ -7166,7 +7166,7 @@ function Dl(o) {
|
|
|
7166
7166
|
return Number(t);
|
|
7167
7167
|
}
|
|
7168
7168
|
function ir(o, t) {
|
|
7169
|
-
if (o.nodeType !== Node.ELEMENT_NODE ||
|
|
7169
|
+
if (o.nodeType !== Node.ELEMENT_NODE || Al(o))
|
|
7170
7170
|
return !1;
|
|
7171
7171
|
const e = (
|
|
7172
7172
|
/** @type {HTMLElement} */
|
|
@@ -7196,7 +7196,7 @@ let ki = !1, Ml = [], or = [];
|
|
|
7196
7196
|
function Ol() {
|
|
7197
7197
|
ki = !0, requestAnimationFrame(function() {
|
|
7198
7198
|
ki = !1, Il(Ml), setTimeout(function() {
|
|
7199
|
-
|
|
7199
|
+
Fl(or);
|
|
7200
7200
|
});
|
|
7201
7201
|
});
|
|
7202
7202
|
}
|
|
@@ -7204,7 +7204,7 @@ function Il(o) {
|
|
|
7204
7204
|
for (; o.length; )
|
|
7205
7205
|
sr(o.shift());
|
|
7206
7206
|
}
|
|
7207
|
-
function
|
|
7207
|
+
function Fl(o) {
|
|
7208
7208
|
for (let t = 0, e = o.length; t < e; t++)
|
|
7209
7209
|
sr(o.shift());
|
|
7210
7210
|
}
|
|
@@ -7226,11 +7226,11 @@ function rr(o, t, e) {
|
|
|
7226
7226
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7227
7227
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7228
7228
|
*/
|
|
7229
|
-
const Kt = (o) => o.test(navigator.userAgent), Di = (o) => o.test(navigator.platform),
|
|
7229
|
+
const Kt = (o) => o.test(navigator.userAgent), Di = (o) => o.test(navigator.platform), Nl = (o) => o.test(navigator.vendor);
|
|
7230
7230
|
Kt(/Android/u);
|
|
7231
|
-
Kt(/Chrome/u) &&
|
|
7231
|
+
Kt(/Chrome/u) && Nl(/Google Inc/u);
|
|
7232
7232
|
Kt(/Firefox/u);
|
|
7233
|
-
const
|
|
7233
|
+
const zl = Di(/^iPad/u) || Di(/^Mac/u) && navigator.maxTouchPoints > 1, Ll = Di(/^iPhone/u), nr = Ll || zl;
|
|
7234
7234
|
Kt(/^((?!chrome|android).)*safari/iu);
|
|
7235
7235
|
const Rl = (() => {
|
|
7236
7236
|
try {
|
|
@@ -7260,32 +7260,32 @@ const jo = (o) => o && o.nodeType === Node.ELEMENT_NODE, ni = (...o) => {
|
|
|
7260
7260
|
}).filter((e) => !!e) : (ni(o, "is not a valid element"), []), Hl = (o, t, e, i) => {
|
|
7261
7261
|
const s = Bl(t, Array.isArray(o) ? o : [o]);
|
|
7262
7262
|
Ot[e] || (Ot[e] = /* @__PURE__ */ new WeakMap());
|
|
7263
|
-
const r = Ot[e], n = [], a = /* @__PURE__ */ new Set(), l = new Set(s), c = (
|
|
7264
|
-
if (!
|
|
7263
|
+
const r = Ot[e], n = [], a = /* @__PURE__ */ new Set(), l = new Set(s), c = (d) => {
|
|
7264
|
+
if (!d || a.has(d))
|
|
7265
7265
|
return;
|
|
7266
|
-
a.add(
|
|
7267
|
-
const h =
|
|
7268
|
-
h && c(h), c(
|
|
7266
|
+
a.add(d);
|
|
7267
|
+
const h = d.assignedSlot;
|
|
7268
|
+
h && c(h), c(d.parentNode || d.host);
|
|
7269
7269
|
};
|
|
7270
7270
|
s.forEach(c);
|
|
7271
|
-
const
|
|
7272
|
-
if (!
|
|
7271
|
+
const u = (d) => {
|
|
7272
|
+
if (!d || l.has(d))
|
|
7273
7273
|
return;
|
|
7274
|
-
const h =
|
|
7275
|
-
(h ? [...
|
|
7274
|
+
const h = d.shadowRoot;
|
|
7275
|
+
(h ? [...d.children, ...h.children] : [...d.children]).forEach((g) => {
|
|
7276
7276
|
if (!["template", "script", "style"].includes(g.localName))
|
|
7277
7277
|
if (a.has(g))
|
|
7278
|
-
|
|
7278
|
+
u(g);
|
|
7279
7279
|
else {
|
|
7280
7280
|
const p = g.getAttribute(i), _ = p !== null && p !== "false", y = (qe.get(g) || 0) + 1, v = (r.get(g) || 0) + 1;
|
|
7281
7281
|
qe.set(g, y), r.set(g, v), n.push(g), y === 1 && _ && Mt.set(g, !0), v === 1 && g.setAttribute(e, "true"), _ || g.setAttribute(i, "true");
|
|
7282
7282
|
}
|
|
7283
7283
|
});
|
|
7284
7284
|
};
|
|
7285
|
-
return
|
|
7286
|
-
n.forEach((
|
|
7287
|
-
const h = qe.get(
|
|
7288
|
-
qe.set(
|
|
7285
|
+
return u(t), a.clear(), ri += 1, () => {
|
|
7286
|
+
n.forEach((d) => {
|
|
7287
|
+
const h = qe.get(d) - 1, m = r.get(d) - 1;
|
|
7288
|
+
qe.set(d, h), r.set(d, m), h || (Mt.has(d) ? Mt.delete(d) : d.removeAttribute(i)), m || d.removeAttribute(e);
|
|
7289
7289
|
}), ri -= 1, ri || (qe = /* @__PURE__ */ new WeakMap(), qe = /* @__PURE__ */ new WeakMap(), Mt = /* @__PURE__ */ new WeakMap(), Ot = {});
|
|
7290
7290
|
};
|
|
7291
7291
|
}, ar = (o, t = document.body, e = "data-aria-hidden") => {
|
|
@@ -7337,7 +7337,7 @@ class Yl {
|
|
|
7337
7337
|
* @param {Node | null | undefined} focusNode
|
|
7338
7338
|
*/
|
|
7339
7339
|
saveFocus(t) {
|
|
7340
|
-
this.focusNode = t ||
|
|
7340
|
+
this.focusNode = t || Ci();
|
|
7341
7341
|
}
|
|
7342
7342
|
/**
|
|
7343
7343
|
* Restores focus to the target node that was saved previously with `saveFocus()`.
|
|
@@ -7347,7 +7347,7 @@ class Yl {
|
|
|
7347
7347
|
if (!e)
|
|
7348
7348
|
return;
|
|
7349
7349
|
const i = t ? t.preventScroll : !1;
|
|
7350
|
-
|
|
7350
|
+
Ci() === document.body ? setTimeout(() => e.focus({ preventScroll: i })) : e.focus({ preventScroll: i }), this.focusNode = null;
|
|
7351
7351
|
}
|
|
7352
7352
|
}
|
|
7353
7353
|
/**
|
|
@@ -7569,7 +7569,7 @@ const Vl = (o) => class extends st(o) {
|
|
|
7569
7569
|
* @return {boolean}
|
|
7570
7570
|
*/
|
|
7571
7571
|
_shouldRestoreFocus() {
|
|
7572
|
-
const e =
|
|
7572
|
+
const e = Ci();
|
|
7573
7573
|
return e === document.body || this._deepContains(e);
|
|
7574
7574
|
}
|
|
7575
7575
|
/**
|
|
@@ -7955,16 +7955,16 @@ function Xl(o, t) {
|
|
|
7955
7955
|
}
|
|
7956
7956
|
function r(n = !1, a = 1) {
|
|
7957
7957
|
s();
|
|
7958
|
-
const { left: l, top: c, width:
|
|
7959
|
-
if (n || t(), !
|
|
7958
|
+
const { left: l, top: c, width: u, height: d } = o.getBoundingClientRect();
|
|
7959
|
+
if (n || t(), !u || !d)
|
|
7960
7960
|
return;
|
|
7961
|
-
const h = Math.floor(c), m = Math.floor(i.clientWidth - (l +
|
|
7961
|
+
const h = Math.floor(c), m = Math.floor(i.clientWidth - (l + u)), g = Math.floor(i.clientHeight - (c + d)), p = Math.floor(l), y = {
|
|
7962
7962
|
rootMargin: `${-h}px ${-m}px ${-g}px ${-p}px`,
|
|
7963
7963
|
threshold: Math.max(0, Math.min(1, a)) || 1
|
|
7964
7964
|
};
|
|
7965
7965
|
let v = !0;
|
|
7966
|
-
function A
|
|
7967
|
-
let D =
|
|
7966
|
+
function C(A) {
|
|
7967
|
+
let D = A[0].intersectionRatio;
|
|
7968
7968
|
if (D !== a) {
|
|
7969
7969
|
if (!v)
|
|
7970
7970
|
return r();
|
|
@@ -7972,7 +7972,7 @@ function Xl(o, t) {
|
|
|
7972
7972
|
}
|
|
7973
7973
|
v = !1;
|
|
7974
7974
|
}
|
|
7975
|
-
e = new IntersectionObserver(
|
|
7975
|
+
e = new IntersectionObserver(C, y), e.observe(o);
|
|
7976
7976
|
}
|
|
7977
7977
|
return r(!0), s;
|
|
7978
7978
|
}
|
|
@@ -8179,7 +8179,7 @@ const li = {
|
|
|
8179
8179
|
}
|
|
8180
8180
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
8181
8181
|
__shouldAlignStart(e, i, s, r, n, a, l) {
|
|
8182
|
-
const c = s - e[a ? l.end : l.start] - r[l.end],
|
|
8182
|
+
const c = s - e[a ? l.end : l.start] - r[l.end], u = e[a ? l.start : l.end] - r[l.start], d = n ? c : u, m = d > (n ? u : c) || d > i;
|
|
8183
8183
|
return n === m;
|
|
8184
8184
|
}
|
|
8185
8185
|
/**
|
|
@@ -8216,7 +8216,7 @@ const li = {
|
|
|
8216
8216
|
*/
|
|
8217
8217
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
8218
8218
|
__calculatePositionInOneDimension(e, i, s, r, n, a) {
|
|
8219
|
-
const l = a ? r.start : r.end, c = a ? r.end : r.start,
|
|
8219
|
+
const l = a ? r.start : r.end, c = a ? r.end : r.start, u = parseFloat(n.style[l] || getComputedStyle(n)[l]), d = this.__adjustBottomProperty(l, r, u), h = i[a ? r.start : r.end] - e[s === a ? r.end : r.start], m = d ? `${d}px` : `${u + h * (a ? -1 : 1)}px`;
|
|
8220
8220
|
return {
|
|
8221
8221
|
[l]: m,
|
|
8222
8222
|
[c]: ""
|
|
@@ -8293,16 +8293,16 @@ class tc extends Ql(qt(je(Oe))) {
|
|
|
8293
8293
|
}
|
|
8294
8294
|
}
|
|
8295
8295
|
be(tc);
|
|
8296
|
-
const ic = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i,
|
|
8296
|
+
const ic = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i, Nt = window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients;
|
|
8297
8297
|
function oc() {
|
|
8298
8298
|
function o() {
|
|
8299
8299
|
return !0;
|
|
8300
8300
|
}
|
|
8301
|
-
return
|
|
8301
|
+
return ur(o);
|
|
8302
8302
|
}
|
|
8303
8303
|
function sc() {
|
|
8304
8304
|
try {
|
|
8305
|
-
return rc() ? !0 : nc() ?
|
|
8305
|
+
return rc() ? !0 : nc() ? Nt ? !ac() : !oc() : !1;
|
|
8306
8306
|
} catch (o) {
|
|
8307
8307
|
return !1;
|
|
8308
8308
|
}
|
|
@@ -8314,9 +8314,9 @@ function nc() {
|
|
|
8314
8314
|
return ["localhost", "127.0.0.1"].indexOf(window.location.hostname) >= 0;
|
|
8315
8315
|
}
|
|
8316
8316
|
function ac() {
|
|
8317
|
-
return !!(
|
|
8317
|
+
return !!(Nt && Object.keys(Nt).map((t) => Nt[t]).filter((t) => t.productionMode).length > 0);
|
|
8318
8318
|
}
|
|
8319
|
-
function
|
|
8319
|
+
function ur(o, t) {
|
|
8320
8320
|
if (typeof o != "function")
|
|
8321
8321
|
return;
|
|
8322
8322
|
const e = ic.exec(o.toString());
|
|
@@ -8331,7 +8331,7 @@ function dr(o, t) {
|
|
|
8331
8331
|
window.Vaadin = window.Vaadin || {};
|
|
8332
8332
|
const Uo = function(o, t) {
|
|
8333
8333
|
if (window.Vaadin.developmentMode)
|
|
8334
|
-
return
|
|
8334
|
+
return ur(o, t);
|
|
8335
8335
|
};
|
|
8336
8336
|
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode = sc());
|
|
8337
8337
|
function lc() {
|
|
@@ -8828,10 +8828,10 @@ const cc = function() {
|
|
|
8828
8828
|
* Code distributed by Google as part of the polymer project is also
|
|
8829
8829
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
8830
8830
|
*/
|
|
8831
|
-
let Wo = 0,
|
|
8831
|
+
let Wo = 0, dr = 0;
|
|
8832
8832
|
const Xe = [];
|
|
8833
8833
|
let Mi = !1;
|
|
8834
|
-
function
|
|
8834
|
+
function uc() {
|
|
8835
8835
|
Mi = !1;
|
|
8836
8836
|
const o = Xe.length;
|
|
8837
8837
|
for (let t = 0; t < o; t++) {
|
|
@@ -8845,7 +8845,7 @@ function dc() {
|
|
|
8845
8845
|
});
|
|
8846
8846
|
}
|
|
8847
8847
|
}
|
|
8848
|
-
Xe.splice(0, o),
|
|
8848
|
+
Xe.splice(0, o), dr += o;
|
|
8849
8849
|
}
|
|
8850
8850
|
const Yt = {
|
|
8851
8851
|
/**
|
|
@@ -8887,7 +8887,7 @@ const Yt = {
|
|
|
8887
8887
|
cancel(o) {
|
|
8888
8888
|
window.clearTimeout(o);
|
|
8889
8889
|
}
|
|
8890
|
-
},
|
|
8890
|
+
}, dc = {
|
|
8891
8891
|
/**
|
|
8892
8892
|
* Enqueues a function called at `requestAnimationFrame` timing.
|
|
8893
8893
|
*
|
|
@@ -8938,7 +8938,7 @@ const Yt = {
|
|
|
8938
8938
|
* @return {number} Handle used for canceling task
|
|
8939
8939
|
*/
|
|
8940
8940
|
run(o) {
|
|
8941
|
-
Mi || (Mi = !0, queueMicrotask(() =>
|
|
8941
|
+
Mi || (Mi = !0, queueMicrotask(() => uc())), Xe.push(o);
|
|
8942
8942
|
const t = Wo;
|
|
8943
8943
|
return Wo += 1, t;
|
|
8944
8944
|
},
|
|
@@ -8950,7 +8950,7 @@ const Yt = {
|
|
|
8950
8950
|
* @return {void}
|
|
8951
8951
|
*/
|
|
8952
8952
|
cancel(o) {
|
|
8953
|
-
const t = o -
|
|
8953
|
+
const t = o - dr;
|
|
8954
8954
|
if (t >= 0) {
|
|
8955
8955
|
if (!Xe[t])
|
|
8956
8956
|
throw new Error(`invalid async handle: ${o}`);
|
|
@@ -9073,15 +9073,15 @@ window.Vaadin.developmentModeCallback || (window.Vaadin.developmentModeCallback
|
|
|
9073
9073
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"] = function() {
|
|
9074
9074
|
cc();
|
|
9075
9075
|
};
|
|
9076
|
-
let
|
|
9076
|
+
let ui;
|
|
9077
9077
|
const qo = /* @__PURE__ */ new Set(), hr = (o) => class extends qt(o) {
|
|
9078
9078
|
/** @protected */
|
|
9079
9079
|
static finalize() {
|
|
9080
9080
|
super.finalize();
|
|
9081
9081
|
const { is: e } = this;
|
|
9082
|
-
e && !qo.has(e) && (window.Vaadin.registrations.push(this), qo.add(e), window.Vaadin.developmentModeCallback && (
|
|
9082
|
+
e && !qo.has(e) && (window.Vaadin.registrations.push(this), qo.add(e), window.Vaadin.developmentModeCallback && (ui = tt.debounce(ui, hc, () => {
|
|
9083
9083
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]();
|
|
9084
|
-
}), fc(
|
|
9084
|
+
}), fc(ui)));
|
|
9085
9085
|
}
|
|
9086
9086
|
constructor() {
|
|
9087
9087
|
super(), document.doctype === null && console.warn(
|
|
@@ -9454,7 +9454,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
9454
9454
|
Code distributed by Google as part of the polymer project is also
|
|
9455
9455
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
9456
9456
|
*/
|
|
9457
|
-
const vc = (o) => o, mr = typeof document.head.style.touchAction == "string",
|
|
9457
|
+
const vc = (o) => o, mr = typeof document.head.style.touchAction == "string", Fi = "__polymerGestures", di = "__polymerGesturesHandled", Ni = "__polymerGesturesTouchAction", Ko = 25, Go = 5, yc = 2, xc = ["mousedown", "mousemove", "mouseup", "click"], wc = [0, 1, 4, 2], Ec = function() {
|
|
9458
9458
|
try {
|
|
9459
9459
|
return new MouseEvent("test", { buttons: 1 }).buttons === 1;
|
|
9460
9460
|
} catch (o) {
|
|
@@ -9477,10 +9477,10 @@ let Sc = !1;
|
|
|
9477
9477
|
} catch (o) {
|
|
9478
9478
|
}
|
|
9479
9479
|
})();
|
|
9480
|
-
function
|
|
9480
|
+
function Ac(o) {
|
|
9481
9481
|
Qi(o);
|
|
9482
9482
|
}
|
|
9483
|
-
const
|
|
9483
|
+
const Cc = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), Pc = {
|
|
9484
9484
|
button: !0,
|
|
9485
9485
|
command: !0,
|
|
9486
9486
|
fieldset: !0,
|
|
@@ -9529,8 +9529,8 @@ function Dc(o) {
|
|
|
9529
9529
|
let t = "auto";
|
|
9530
9530
|
const e = gr(o);
|
|
9531
9531
|
for (let i = 0, s; i < e.length; i++)
|
|
9532
|
-
if (s = e[i], s[
|
|
9533
|
-
t = s[
|
|
9532
|
+
if (s = e[i], s[Ni]) {
|
|
9533
|
+
t = s[Ni];
|
|
9534
9534
|
break;
|
|
9535
9535
|
}
|
|
9536
9536
|
return t;
|
|
@@ -9560,19 +9560,19 @@ function Me(o) {
|
|
|
9560
9560
|
return t.length > 0 ? t[0] : o.target;
|
|
9561
9561
|
}
|
|
9562
9562
|
function Mc(o) {
|
|
9563
|
-
const t = o.type, i = o.currentTarget[
|
|
9563
|
+
const t = o.type, i = o.currentTarget[Fi];
|
|
9564
9564
|
if (!i)
|
|
9565
9565
|
return;
|
|
9566
9566
|
const s = i[t];
|
|
9567
9567
|
if (!s)
|
|
9568
9568
|
return;
|
|
9569
|
-
if (!o[
|
|
9569
|
+
if (!o[di] && (o[di] = {}, t.startsWith("touch"))) {
|
|
9570
9570
|
const n = o.changedTouches[0];
|
|
9571
9571
|
if (t === "touchstart" && o.touches.length === 1 && (we.touch.id = n.identifier), we.touch.id !== n.identifier)
|
|
9572
9572
|
return;
|
|
9573
9573
|
mr || (t === "touchstart" || t === "touchmove") && Oc(o);
|
|
9574
9574
|
}
|
|
9575
|
-
const r = o[
|
|
9575
|
+
const r = o[di];
|
|
9576
9576
|
if (!r.skip) {
|
|
9577
9577
|
for (let n = 0, a; n < Be.length; n++)
|
|
9578
9578
|
a = Be[n], s[a.name] && !r[a.name] && a.flow && a.flow.start.indexOf(o.type) > -1 && a.reset && a.reset();
|
|
@@ -9599,10 +9599,10 @@ function ge(o, t, e) {
|
|
|
9599
9599
|
}
|
|
9600
9600
|
function Ic(o, t, e) {
|
|
9601
9601
|
const i = eo[t], s = i.deps, r = i.name;
|
|
9602
|
-
let n = o[
|
|
9603
|
-
n || (o[
|
|
9602
|
+
let n = o[Fi];
|
|
9603
|
+
n || (o[Fi] = n = {});
|
|
9604
9604
|
for (let a = 0, l, c; a < s.length; a++)
|
|
9605
|
-
l = s[a], !(
|
|
9605
|
+
l = s[a], !(Cc && Qi(l) && l !== "click") && (c = n[l], c || (n[l] = c = { _count: 0 }), c._count === 0 && o.addEventListener(l, Mc, Ac(l)), c[r] = (c[r] || 0) + 1, c._count = (c._count || 0) + 1);
|
|
9606
9606
|
o.addEventListener(t, e), i.touchAction && br(o, i.touchAction);
|
|
9607
9607
|
}
|
|
9608
9608
|
function to(o) {
|
|
@@ -9610,7 +9610,7 @@ function to(o) {
|
|
|
9610
9610
|
eo[t] = o;
|
|
9611
9611
|
});
|
|
9612
9612
|
}
|
|
9613
|
-
function
|
|
9613
|
+
function Fc(o) {
|
|
9614
9614
|
for (let t = 0, e; t < Be.length; t++) {
|
|
9615
9615
|
e = Be[t];
|
|
9616
9616
|
for (let i = 0, s; i < e.emits.length; i++)
|
|
@@ -9622,7 +9622,7 @@ function Nc(o) {
|
|
|
9622
9622
|
function br(o, t) {
|
|
9623
9623
|
mr && o instanceof HTMLElement && pc.run(() => {
|
|
9624
9624
|
o.style.touchAction = t;
|
|
9625
|
-
}), o[
|
|
9625
|
+
}), o[Ni] = t;
|
|
9626
9626
|
}
|
|
9627
9627
|
function io(o, t, e) {
|
|
9628
9628
|
const i = new Event(t, { bubbles: !0, cancelable: !0, composed: !0 });
|
|
@@ -9635,7 +9635,7 @@ function io(o, t, e) {
|
|
|
9635
9635
|
}
|
|
9636
9636
|
}
|
|
9637
9637
|
function jt(o) {
|
|
9638
|
-
const t =
|
|
9638
|
+
const t = Fc(o);
|
|
9639
9639
|
t.info && (t.info.prevent = !0);
|
|
9640
9640
|
}
|
|
9641
9641
|
to({
|
|
@@ -9979,7 +9979,7 @@ const Jt = U(
|
|
|
9979
9979
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9980
9980
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9981
9981
|
*/
|
|
9982
|
-
const
|
|
9982
|
+
const Nc = (o) => class extends vr(Jt(o)) {
|
|
9983
9983
|
/**
|
|
9984
9984
|
* An array of activation keys.
|
|
9985
9985
|
*
|
|
@@ -10150,7 +10150,7 @@ const yr = (o) => class extends vr(o) {
|
|
|
10150
10150
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10151
10151
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10152
10152
|
*/
|
|
10153
|
-
const
|
|
10153
|
+
const zc = (o) => class extends Nc(yr(oo(o))) {
|
|
10154
10154
|
static get properties() {
|
|
10155
10155
|
return {
|
|
10156
10156
|
/**
|
|
@@ -10206,7 +10206,7 @@ const Fc = (o) => class extends zc(yr(oo(o))) {
|
|
|
10206
10206
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10207
10207
|
*/
|
|
10208
10208
|
L("vaadin-button", gc, { moduleId: "vaadin-button-styles" });
|
|
10209
|
-
class Lc extends
|
|
10209
|
+
class Lc extends zc(hr(je(st(Oe)))) {
|
|
10210
10210
|
static get is() {
|
|
10211
10211
|
return "vaadin-button";
|
|
10212
10212
|
}
|
|
@@ -10232,11 +10232,11 @@ function Rc(o) {
|
|
|
10232
10232
|
const r = i.getTime() - s.getTime(), n = Math.round(r / (24 * 3600 * 1e3));
|
|
10233
10233
|
return Math.floor(n / 7 + 1);
|
|
10234
10234
|
}
|
|
10235
|
-
function
|
|
10235
|
+
function zi(o) {
|
|
10236
10236
|
const t = new Date(o);
|
|
10237
10237
|
return t.setHours(0, 0, 0, 0), t;
|
|
10238
10238
|
}
|
|
10239
|
-
function Se(o, t, e =
|
|
10239
|
+
function Se(o, t, e = zi) {
|
|
10240
10240
|
return o instanceof Date && t instanceof Date && e(o).getTime() === e(t).getTime();
|
|
10241
10241
|
}
|
|
10242
10242
|
function so(o) {
|
|
@@ -10276,7 +10276,7 @@ function Bc(o, t, e = 0, i = 1) {
|
|
|
10276
10276
|
let s = t + Math.floor(o.getFullYear() / 100) * 100;
|
|
10277
10277
|
return o < new Date(s - 50, e, i) ? s -= 100 : o > new Date(s + 50, e, i) && (s += 100), s;
|
|
10278
10278
|
}
|
|
10279
|
-
function
|
|
10279
|
+
function ut(o) {
|
|
10280
10280
|
const t = /^([-+]\d{1}|\d{2,4}|[-+]\d{6})-(\d{1,2})-(\d{1,2})$/u.exec(o);
|
|
10281
10281
|
if (!t)
|
|
10282
10282
|
return;
|
|
@@ -10643,8 +10643,8 @@ class Sr extends HTMLElement {
|
|
|
10643
10643
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10644
10644
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10645
10645
|
*/
|
|
10646
|
-
const
|
|
10647
|
-
|
|
10646
|
+
const Ar = document.createElement("template");
|
|
10647
|
+
Ar.innerHTML = `
|
|
10648
10648
|
<style>
|
|
10649
10649
|
:host {
|
|
10650
10650
|
--vaadin-infinite-scroller-item-height: 270px;
|
|
@@ -10662,7 +10662,7 @@ class Vc extends Sr {
|
|
|
10662
10662
|
return "vaadin-date-picker-month-scroller";
|
|
10663
10663
|
}
|
|
10664
10664
|
constructor() {
|
|
10665
|
-
super(), this.bufferSize = 3, this.shadowRoot.appendChild(
|
|
10665
|
+
super(), this.bufferSize = 3, this.shadowRoot.appendChild(Ar.content.cloneNode(!0));
|
|
10666
10666
|
}
|
|
10667
10667
|
/**
|
|
10668
10668
|
* @protected
|
|
@@ -10687,8 +10687,8 @@ be(Vc);
|
|
|
10687
10687
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10688
10688
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10689
10689
|
*/
|
|
10690
|
-
const
|
|
10691
|
-
|
|
10690
|
+
const Cr = document.createElement("template");
|
|
10691
|
+
Cr.innerHTML = `
|
|
10692
10692
|
<style>
|
|
10693
10693
|
:host {
|
|
10694
10694
|
--vaadin-infinite-scroller-item-height: 80px;
|
|
@@ -10728,7 +10728,7 @@ class Uc extends Sr {
|
|
|
10728
10728
|
return "vaadin-date-picker-year-scroller";
|
|
10729
10729
|
}
|
|
10730
10730
|
constructor() {
|
|
10731
|
-
super(), this.bufferSize = 12, this.shadowRoot.appendChild(
|
|
10731
|
+
super(), this.bufferSize = 12, this.shadowRoot.appendChild(Cr.content.cloneNode(!0));
|
|
10732
10732
|
}
|
|
10733
10733
|
/**
|
|
10734
10734
|
* @protected
|
|
@@ -11054,14 +11054,14 @@ function Zo(o) {
|
|
|
11054
11054
|
let t = o.__dataHost;
|
|
11055
11055
|
return t && t._methodHost || t;
|
|
11056
11056
|
}
|
|
11057
|
-
function
|
|
11057
|
+
function eu(o, t, e) {
|
|
11058
11058
|
let i = e.mutableData ? Qc : Ie;
|
|
11059
11059
|
Bi.mixin && (i = Bi.mixin(i));
|
|
11060
11060
|
let s = class extends i {
|
|
11061
11061
|
};
|
|
11062
|
-
return s.prototype.__templatizeOptions = e, s.prototype._bindTemplate(o),
|
|
11062
|
+
return s.prototype.__templatizeOptions = e, s.prototype._bindTemplate(o), ou(s, o, t, e), s;
|
|
11063
11063
|
}
|
|
11064
|
-
function
|
|
11064
|
+
function tu(o, t, e, i) {
|
|
11065
11065
|
let s = e.forwardHostProp;
|
|
11066
11066
|
if (s && t.hasHostProps) {
|
|
11067
11067
|
const r = o.localName == "template";
|
|
@@ -11083,9 +11083,9 @@ function td(o, t, e, i) {
|
|
|
11083
11083
|
n.prototype._addPropertyEffect(
|
|
11084
11084
|
"_host_" + l,
|
|
11085
11085
|
n.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE,
|
|
11086
|
-
{ fn:
|
|
11086
|
+
{ fn: iu(l, s) }
|
|
11087
11087
|
), n.prototype._createNotifyingProperty("_host_" + l);
|
|
11088
|
-
Os && i &&
|
|
11088
|
+
Os && i && nu(t, e, i);
|
|
11089
11089
|
}
|
|
11090
11090
|
if (o.__dataProto && Object.assign(o.__data, o.__dataProto), r)
|
|
11091
11091
|
Jc(o, n), o.__dataTemp = {}, o.__dataPending = null, o.__dataOld = null, o._enableProperties();
|
|
@@ -11100,7 +11100,7 @@ function td(o, t, e, i) {
|
|
|
11100
11100
|
}
|
|
11101
11101
|
}
|
|
11102
11102
|
}
|
|
11103
|
-
function
|
|
11103
|
+
function iu(o, t) {
|
|
11104
11104
|
return function(i, s, r) {
|
|
11105
11105
|
t.call(
|
|
11106
11106
|
i.__templatizeOwner,
|
|
@@ -11109,7 +11109,7 @@ function id(o, t) {
|
|
|
11109
11109
|
);
|
|
11110
11110
|
};
|
|
11111
11111
|
}
|
|
11112
|
-
function
|
|
11112
|
+
function ou(o, t, e, i) {
|
|
11113
11113
|
let s = e.hostProps || {};
|
|
11114
11114
|
for (let r in i.instanceProps) {
|
|
11115
11115
|
delete s[r];
|
|
@@ -11117,7 +11117,7 @@ function od(o, t, e, i) {
|
|
|
11117
11117
|
n && o.prototype._addPropertyEffect(
|
|
11118
11118
|
r,
|
|
11119
11119
|
o.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,
|
|
11120
|
-
{ fn:
|
|
11120
|
+
{ fn: su(r, n) }
|
|
11121
11121
|
);
|
|
11122
11122
|
}
|
|
11123
11123
|
if (i.forwardHostProp && t.__dataHost)
|
|
@@ -11125,10 +11125,10 @@ function od(o, t, e, i) {
|
|
|
11125
11125
|
e.hasHostProps || (e.hasHostProps = !0), o.prototype._addPropertyEffect(
|
|
11126
11126
|
r,
|
|
11127
11127
|
o.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,
|
|
11128
|
-
{ fn:
|
|
11128
|
+
{ fn: ru() }
|
|
11129
11129
|
);
|
|
11130
11130
|
}
|
|
11131
|
-
function
|
|
11131
|
+
function su(o, t) {
|
|
11132
11132
|
return function(i, s, r) {
|
|
11133
11133
|
t.call(
|
|
11134
11134
|
i.__templatizeOwner,
|
|
@@ -11138,7 +11138,7 @@ function sd(o, t) {
|
|
|
11138
11138
|
);
|
|
11139
11139
|
};
|
|
11140
11140
|
}
|
|
11141
|
-
function
|
|
11141
|
+
function ru() {
|
|
11142
11142
|
return function(t, e, i) {
|
|
11143
11143
|
t.__dataHost._setPendingPropertyOrPath("_host_" + e, i[e], !0, !0);
|
|
11144
11144
|
};
|
|
@@ -11151,9 +11151,9 @@ function Bi(o, t, e) {
|
|
|
11151
11151
|
throw new Error("A <template> can only be templatized once");
|
|
11152
11152
|
o.__templatizeOwner = t;
|
|
11153
11153
|
let s = (t ? t.constructor : Ie)._parseTemplate(o), r = s.templatizeInstanceClass;
|
|
11154
|
-
r || (r =
|
|
11154
|
+
r || (r = eu(o, s, e), s.templatizeInstanceClass = r);
|
|
11155
11155
|
const n = Zo(o);
|
|
11156
|
-
|
|
11156
|
+
tu(o, s, e, n);
|
|
11157
11157
|
let a = class extends r {
|
|
11158
11158
|
};
|
|
11159
11159
|
return a.prototype._methodHost = n, a.prototype.__dataHost = /** @type {!DataTemplate} */
|
|
@@ -11161,7 +11161,7 @@ function Bi(o, t, e) {
|
|
|
11161
11161
|
t, a.prototype.__hostProps = s.hostProps, a = /** @type {function(new:TemplateInstanceBase)} */
|
|
11162
11162
|
a, a;
|
|
11163
11163
|
}
|
|
11164
|
-
function
|
|
11164
|
+
function nu(o, t, e) {
|
|
11165
11165
|
const i = e.constructor._properties, { propertyEffects: s } = o, { instanceProps: r } = t;
|
|
11166
11166
|
for (let n in s)
|
|
11167
11167
|
if (!i[n] && !(r && r[n])) {
|
|
@@ -11175,7 +11175,7 @@ function nd(o, t, e) {
|
|
|
11175
11175
|
}
|
|
11176
11176
|
}
|
|
11177
11177
|
}
|
|
11178
|
-
function
|
|
11178
|
+
function au(o, t) {
|
|
11179
11179
|
let e;
|
|
11180
11180
|
for (; t; )
|
|
11181
11181
|
if (e = t.__dataHost ? t : t.__templatizeInstance)
|
|
@@ -11197,7 +11197,7 @@ Code distributed by Google as part of the polymer project is also
|
|
|
11197
11197
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11198
11198
|
*/
|
|
11199
11199
|
let Qo = !1;
|
|
11200
|
-
function
|
|
11200
|
+
function lu() {
|
|
11201
11201
|
if (Ms && !Ts) {
|
|
11202
11202
|
if (!Qo) {
|
|
11203
11203
|
Qo = !0;
|
|
@@ -11217,8 +11217,8 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11217
11217
|
Code distributed by Google as part of the polymer project is also
|
|
11218
11218
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11219
11219
|
*/
|
|
11220
|
-
const
|
|
11221
|
-
class es extends
|
|
11220
|
+
const cu = Kc(Oe);
|
|
11221
|
+
class es extends cu {
|
|
11222
11222
|
// Not needed to find template; can be removed once the analyzer
|
|
11223
11223
|
// can find the tag name from customElements.define call
|
|
11224
11224
|
static get is() {
|
|
@@ -11313,7 +11313,7 @@ class es extends cd {
|
|
|
11313
11313
|
*/
|
|
11314
11314
|
renderedItemCount: {
|
|
11315
11315
|
type: Number,
|
|
11316
|
-
notify: !
|
|
11316
|
+
notify: !Co,
|
|
11317
11317
|
readOnly: !0
|
|
11318
11318
|
},
|
|
11319
11319
|
/**
|
|
@@ -11396,7 +11396,7 @@ class es extends cd {
|
|
|
11396
11396
|
* @return {void}
|
|
11397
11397
|
*/
|
|
11398
11398
|
connectedCallback() {
|
|
11399
|
-
if (super.connectedCallback(),
|
|
11399
|
+
if (super.connectedCallback(), lu() || (this.style.display = "none"), this.__isDetached) {
|
|
11400
11400
|
this.__isDetached = !1;
|
|
11401
11401
|
let t = K(K(this).parentNode);
|
|
11402
11402
|
for (let e = 0; e < this.__instances.length; e++)
|
|
@@ -11524,7 +11524,7 @@ class es extends cd {
|
|
|
11524
11524
|
const e = this.__sortAndFilterItems(t), i = this.__calculateLimit(e.length);
|
|
11525
11525
|
this.__updateInstances(t, i, e), this.initialCount && (this.__shouldMeasureChunk || this.__shouldContinueChunking) && (cancelAnimationFrame(this.__chunkingId), this.__chunkingId = requestAnimationFrame(() => {
|
|
11526
11526
|
this.__chunkingId = null, this.__continueChunking();
|
|
11527
|
-
})), this._setRenderedItemCount(this.__instances.length), (!
|
|
11527
|
+
})), this._setRenderedItemCount(this.__instances.length), (!Co || this.notifyDomChange) && this.dispatchEvent(new CustomEvent("dom-change", {
|
|
11528
11528
|
bubbles: !0,
|
|
11529
11529
|
composed: !0
|
|
11530
11530
|
}));
|
|
@@ -11664,7 +11664,7 @@ class es extends cd {
|
|
|
11664
11664
|
* the element.
|
|
11665
11665
|
*/
|
|
11666
11666
|
modelForElement(t) {
|
|
11667
|
-
return
|
|
11667
|
+
return au(this.template, t);
|
|
11668
11668
|
}
|
|
11669
11669
|
}
|
|
11670
11670
|
customElements.define(es.is, es);
|
|
@@ -11673,7 +11673,7 @@ customElements.define(es.is, es);
|
|
|
11673
11673
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11674
11674
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11675
11675
|
*/
|
|
11676
|
-
const
|
|
11676
|
+
const uu = (o) => class extends oo(o) {
|
|
11677
11677
|
static get properties() {
|
|
11678
11678
|
return {
|
|
11679
11679
|
/**
|
|
@@ -11806,9 +11806,9 @@ const dd = (o) => class extends oo(o) {
|
|
|
11806
11806
|
if (e === void 0 || i === void 0)
|
|
11807
11807
|
return [];
|
|
11808
11808
|
const { weekdays: s, weekdaysShort: r, firstDayOfWeek: n } = e, a = this._applyFirstDayOfWeek(r, n);
|
|
11809
|
-
return this._applyFirstDayOfWeek(s, n).map((c,
|
|
11809
|
+
return this._applyFirstDayOfWeek(s, n).map((c, u) => ({
|
|
11810
11810
|
weekDay: c,
|
|
11811
|
-
weekDayShort: a[
|
|
11811
|
+
weekDayShort: a[u]
|
|
11812
11812
|
})).slice(0, 7);
|
|
11813
11813
|
}
|
|
11814
11814
|
/** @private */
|
|
@@ -11871,7 +11871,7 @@ const dd = (o) => class extends oo(o) {
|
|
|
11871
11871
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11872
11872
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11873
11873
|
*/
|
|
11874
|
-
const
|
|
11874
|
+
const du = P`
|
|
11875
11875
|
:host {
|
|
11876
11876
|
display: block;
|
|
11877
11877
|
}
|
|
@@ -11933,10 +11933,10 @@ const ud = P`
|
|
|
11933
11933
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11934
11934
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11935
11935
|
*/
|
|
11936
|
-
L("vaadin-month-calendar",
|
|
11936
|
+
L("vaadin-month-calendar", du, {
|
|
11937
11937
|
moduleId: "vaadin-month-calendar-styles"
|
|
11938
11938
|
});
|
|
11939
|
-
class
|
|
11939
|
+
class hu extends uu(je(Oe)) {
|
|
11940
11940
|
static get template() {
|
|
11941
11941
|
return Ue`
|
|
11942
11942
|
<div part="month-header" id="month-header" aria-hidden="true">[[_getTitle(month, i18n)]]</div>
|
|
@@ -12014,7 +12014,7 @@ class hd extends dd(je(Oe)) {
|
|
|
12014
12014
|
/** @private */
|
|
12015
12015
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
12016
12016
|
__getDatePart(t, e, i, s, r, n) {
|
|
12017
|
-
const a = ["date"], l = t >
|
|
12017
|
+
const a = ["date"], l = t > zi(/* @__PURE__ */ new Date()), c = t < zi(/* @__PURE__ */ new Date());
|
|
12018
12018
|
return this.__isDayDisabled(t, s, r, n) && a.push("disabled"), this.__isDayFocused(t, e) && a.push("focused"), this.__isDaySelected(t, i) && a.push("selected"), this._isToday(t) && a.push("today"), c && a.push("past"), l && a.push("future"), a.join(" ");
|
|
12019
12019
|
}
|
|
12020
12020
|
/** @private */
|
|
@@ -12044,7 +12044,7 @@ class hd extends dd(je(Oe)) {
|
|
|
12044
12044
|
return this.__isDayFocused(t, e) ? "0" : "-1";
|
|
12045
12045
|
}
|
|
12046
12046
|
}
|
|
12047
|
-
be(
|
|
12047
|
+
be(hu);
|
|
12048
12048
|
/**
|
|
12049
12049
|
* @license
|
|
12050
12050
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
@@ -12078,7 +12078,7 @@ class kr {
|
|
|
12078
12078
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12079
12079
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12080
12080
|
*/
|
|
12081
|
-
const
|
|
12081
|
+
const pu = (o) => class extends o {
|
|
12082
12082
|
static get properties() {
|
|
12083
12083
|
return {
|
|
12084
12084
|
scrollDuration: {
|
|
@@ -12302,9 +12302,9 @@ const pd = (o) => class extends o {
|
|
|
12302
12302
|
e && (e.textContent = i && i.today, e.disabled = !this._isTodayAllowed(s, r, n));
|
|
12303
12303
|
}
|
|
12304
12304
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
12305
|
-
__updateCalendars(e, i, s, r, n, a, l, c,
|
|
12305
|
+
__updateCalendars(e, i, s, r, n, a, l, c, u, d) {
|
|
12306
12306
|
e && e.length && e.forEach((h) => {
|
|
12307
|
-
h.i18n = i, h.minDate = s, h.maxDate = r, h.isDateDisabled =
|
|
12307
|
+
h.i18n = i, h.minDate = s, h.maxDate = r, h.isDateDisabled = d, h.focusedDate = a, h.selectedDate = n, h.showWeekNumbers = l, h.ignoreTaps = c, u ? h.setAttribute("theme", u) : h.removeAttribute("theme");
|
|
12308
12308
|
});
|
|
12309
12309
|
}
|
|
12310
12310
|
/** @private */
|
|
@@ -12440,19 +12440,19 @@ const pd = (o) => class extends o {
|
|
|
12440
12440
|
this._revealPromise = new Promise((c) => {
|
|
12441
12441
|
s = c;
|
|
12442
12442
|
});
|
|
12443
|
-
const r = (c,
|
|
12443
|
+
const r = (c, u, d, h) => (c /= h / 2, c < 1 ? d / 2 * c * c + u : (c -= 1, -d / 2 * (c * (c - 2) - 1) + u));
|
|
12444
12444
|
let n = 0;
|
|
12445
12445
|
const a = this._monthScroller.position, l = (c) => {
|
|
12446
12446
|
n || (n = c);
|
|
12447
|
-
const
|
|
12448
|
-
if (
|
|
12449
|
-
const
|
|
12450
|
-
|
|
12447
|
+
const u = c - n;
|
|
12448
|
+
if (u < this.scrollDuration) {
|
|
12449
|
+
const d = r(
|
|
12450
|
+
u,
|
|
12451
12451
|
a,
|
|
12452
12452
|
this._targetPosition - a,
|
|
12453
12453
|
this.scrollDuration
|
|
12454
12454
|
);
|
|
12455
|
-
this._monthScroller.position =
|
|
12455
|
+
this._monthScroller.position = d, window.requestAnimationFrame(l);
|
|
12456
12456
|
} else
|
|
12457
12457
|
this.dispatchEvent(
|
|
12458
12458
|
new CustomEvent("scroll-animation-finished", {
|
|
@@ -12691,7 +12691,7 @@ const pd = (o) => class extends o {
|
|
|
12691
12691
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12692
12692
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12693
12693
|
*/
|
|
12694
|
-
const
|
|
12694
|
+
const fu = P`
|
|
12695
12695
|
:host {
|
|
12696
12696
|
display: flex;
|
|
12697
12697
|
flex-direction: column;
|
|
@@ -12757,10 +12757,10 @@ const fd = P`
|
|
|
12757
12757
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12758
12758
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12759
12759
|
*/
|
|
12760
|
-
L("vaadin-date-picker-overlay-content",
|
|
12760
|
+
L("vaadin-date-picker-overlay-content", fu, {
|
|
12761
12761
|
moduleId: "vaadin-date-picker-overlay-content-styles"
|
|
12762
12762
|
});
|
|
12763
|
-
class
|
|
12763
|
+
class mu extends pu(
|
|
12764
12764
|
st(je(qt(Oe)))
|
|
12765
12765
|
) {
|
|
12766
12766
|
static get template() {
|
|
@@ -12794,7 +12794,7 @@ class md extends pd(
|
|
|
12794
12794
|
super.ready(), this.setAttribute("role", "dialog"), this._addListeners(), this._initControllers();
|
|
12795
12795
|
}
|
|
12796
12796
|
}
|
|
12797
|
-
be(
|
|
12797
|
+
be(mu);
|
|
12798
12798
|
/**
|
|
12799
12799
|
* @license
|
|
12800
12800
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
@@ -12958,14 +12958,14 @@ const Dr = U(
|
|
|
12958
12958
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12959
12959
|
*/
|
|
12960
12960
|
const pi = /* @__PURE__ */ new WeakMap();
|
|
12961
|
-
function
|
|
12961
|
+
function _u(o) {
|
|
12962
12962
|
return pi.has(o) || pi.set(o, /* @__PURE__ */ new Set()), pi.get(o);
|
|
12963
12963
|
}
|
|
12964
|
-
function
|
|
12964
|
+
function gu(o, t) {
|
|
12965
12965
|
const e = document.createElement("style");
|
|
12966
12966
|
e.textContent = o, t === document ? document.head.appendChild(e) : t.insertBefore(e, t.firstChild);
|
|
12967
12967
|
}
|
|
12968
|
-
const
|
|
12968
|
+
const bu = U(
|
|
12969
12969
|
(o) => class extends o {
|
|
12970
12970
|
/**
|
|
12971
12971
|
* List of styles to insert into root.
|
|
@@ -12980,9 +12980,9 @@ const bd = U(
|
|
|
12980
12980
|
}
|
|
12981
12981
|
/** @private */
|
|
12982
12982
|
__applySlotStyles() {
|
|
12983
|
-
const e = this.getRootNode(), i =
|
|
12983
|
+
const e = this.getRootNode(), i = _u(e);
|
|
12984
12984
|
this.slotStyles.forEach((s) => {
|
|
12985
|
-
i.has(s) || (
|
|
12985
|
+
i.has(s) || (gu(s, e), i.add(s));
|
|
12986
12986
|
});
|
|
12987
12987
|
}
|
|
12988
12988
|
}
|
|
@@ -13196,7 +13196,7 @@ const Tr = U(
|
|
|
13196
13196
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13197
13197
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13198
13198
|
*/
|
|
13199
|
-
const
|
|
13199
|
+
const vu = (o) => class extends Tr(Jt(o)) {
|
|
13200
13200
|
static get properties() {
|
|
13201
13201
|
return {
|
|
13202
13202
|
/**
|
|
@@ -13287,7 +13287,7 @@ function Or(o, t) {
|
|
|
13287
13287
|
const i = Zi(o.getAttribute(t));
|
|
13288
13288
|
e.set(o, new Set(i));
|
|
13289
13289
|
}
|
|
13290
|
-
function
|
|
13290
|
+
function yu(o, t) {
|
|
13291
13291
|
if (!o)
|
|
13292
13292
|
return;
|
|
13293
13293
|
const e = lo(t), i = e.get(o);
|
|
@@ -13305,7 +13305,7 @@ function mi(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
|
13305
13305
|
const l = i || Gt(a);
|
|
13306
13306
|
l && cr(o, t, l);
|
|
13307
13307
|
}
|
|
13308
|
-
function
|
|
13308
|
+
function xu(o, t) {
|
|
13309
13309
|
Or(o, t), Mr(o, t);
|
|
13310
13310
|
}
|
|
13311
13311
|
/**
|
|
@@ -13313,7 +13313,7 @@ function xd(o, t) {
|
|
|
13313
13313
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13314
13314
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13315
13315
|
*/
|
|
13316
|
-
class
|
|
13316
|
+
class wu {
|
|
13317
13317
|
constructor(t) {
|
|
13318
13318
|
this.host = t, this.__required = !1;
|
|
13319
13319
|
}
|
|
@@ -13386,7 +13386,7 @@ class wd {
|
|
|
13386
13386
|
* @private
|
|
13387
13387
|
* */
|
|
13388
13388
|
__setAriaLabelToAttribute(t) {
|
|
13389
|
-
this.__target && (t ? (
|
|
13389
|
+
this.__target && (t ? (xu(this.__target, "aria-labelledby"), this.__target.setAttribute("aria-label", t)) : this.__label && (yu(this.__target, "aria-labelledby"), this.__target.removeAttribute("aria-label")));
|
|
13390
13390
|
}
|
|
13391
13391
|
/**
|
|
13392
13392
|
* @param {string | null | undefined} labelId
|
|
@@ -13432,9 +13432,9 @@ me.style.clip = "rect(0px, 0px, 0px, 0px)";
|
|
|
13432
13432
|
me.setAttribute("aria-live", "polite");
|
|
13433
13433
|
document.body.appendChild(me);
|
|
13434
13434
|
let It;
|
|
13435
|
-
function
|
|
13435
|
+
function Eu(o, t = {}) {
|
|
13436
13436
|
const e = t.mode || "polite", i = t.timeout === void 0 ? 150 : t.timeout;
|
|
13437
|
-
e === "alert" ? (me.removeAttribute("aria-live"), me.removeAttribute("role"), It = tt.debounce(It,
|
|
13437
|
+
e === "alert" ? (me.removeAttribute("aria-live"), me.removeAttribute("role"), It = tt.debounce(It, dc, () => {
|
|
13438
13438
|
me.setAttribute("role", "alert");
|
|
13439
13439
|
})) : (It && It.cancel(), me.removeAttribute("role"), me.setAttribute("aria-live", e)), me.textContent = "", setTimeout(() => {
|
|
13440
13440
|
me.textContent = o;
|
|
@@ -13560,7 +13560,7 @@ class co extends Re {
|
|
|
13560
13560
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13561
13561
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13562
13562
|
*/
|
|
13563
|
-
class
|
|
13563
|
+
class Su extends co {
|
|
13564
13564
|
constructor(t) {
|
|
13565
13565
|
super(t, "error-message", "div");
|
|
13566
13566
|
}
|
|
@@ -13634,7 +13634,7 @@ class Sd extends co {
|
|
|
13634
13634
|
*/
|
|
13635
13635
|
updateDefaultNode(t) {
|
|
13636
13636
|
const { errorMessage: e, invalid: i } = this, s = !!(i && e && e.trim() !== "");
|
|
13637
|
-
t && (t.textContent = s ? e : "", t.hidden = !s, s &&
|
|
13637
|
+
t && (t.textContent = s ? e : "", t.hidden = !s, s && Eu(e, { mode: "assertive" })), super.updateDefaultNode(t);
|
|
13638
13638
|
}
|
|
13639
13639
|
}
|
|
13640
13640
|
/**
|
|
@@ -13642,7 +13642,7 @@ class Sd extends co {
|
|
|
13642
13642
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13643
13643
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13644
13644
|
*/
|
|
13645
|
-
class
|
|
13645
|
+
class Au extends co {
|
|
13646
13646
|
constructor(t) {
|
|
13647
13647
|
super(t, "helper", null);
|
|
13648
13648
|
}
|
|
@@ -13697,7 +13697,7 @@ class Cd extends co {
|
|
|
13697
13697
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13698
13698
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13699
13699
|
*/
|
|
13700
|
-
class
|
|
13700
|
+
class Cu extends co {
|
|
13701
13701
|
constructor(t) {
|
|
13702
13702
|
super(t, "label", "label");
|
|
13703
13703
|
}
|
|
@@ -13750,7 +13750,7 @@ class Ad extends co {
|
|
|
13750
13750
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13751
13751
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13752
13752
|
*/
|
|
13753
|
-
const
|
|
13753
|
+
const Pu = U(
|
|
13754
13754
|
(o) => class extends st(o) {
|
|
13755
13755
|
static get properties() {
|
|
13756
13756
|
return {
|
|
@@ -13765,7 +13765,7 @@ const Pd = U(
|
|
|
13765
13765
|
};
|
|
13766
13766
|
}
|
|
13767
13767
|
constructor() {
|
|
13768
|
-
super(), this._labelController = new
|
|
13768
|
+
super(), this._labelController = new Cu(this), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
13769
13769
|
this.toggleAttribute("has-label", e.detail.hasContent);
|
|
13770
13770
|
});
|
|
13771
13771
|
}
|
|
@@ -13865,7 +13865,7 @@ const Ir = U(
|
|
|
13865
13865
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13866
13866
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13867
13867
|
*/
|
|
13868
|
-
const
|
|
13868
|
+
const ku = (o) => class extends Ir(Pu(st(o))) {
|
|
13869
13869
|
static get properties() {
|
|
13870
13870
|
return {
|
|
13871
13871
|
/**
|
|
@@ -13915,7 +13915,7 @@ const kd = (o) => class extends Ir(Pd(st(o))) {
|
|
|
13915
13915
|
return ["_invalidChanged(invalid)", "_requiredChanged(required)"];
|
|
13916
13916
|
}
|
|
13917
13917
|
constructor() {
|
|
13918
|
-
super(), this._fieldAriaController = new
|
|
13918
|
+
super(), this._fieldAriaController = new wu(this), this._helperController = new Au(this), this._errorController = new Su(this), this._errorController.addEventListener("slot-content-changed", (e) => {
|
|
13919
13919
|
this.toggleAttribute("has-error-message", e.detail.hasContent);
|
|
13920
13920
|
}), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
13921
13921
|
const { hasContent: i, node: s } = e.detail;
|
|
@@ -14006,7 +14006,7 @@ const kd = (o) => class extends Ir(Pd(st(o))) {
|
|
|
14006
14006
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14007
14007
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14008
14008
|
*/
|
|
14009
|
-
const
|
|
14009
|
+
const Du = U(
|
|
14010
14010
|
(o) => class extends o {
|
|
14011
14011
|
static get properties() {
|
|
14012
14012
|
return {
|
|
@@ -14087,8 +14087,8 @@ const Dd = U(
|
|
|
14087
14087
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14088
14088
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14089
14089
|
*/
|
|
14090
|
-
const
|
|
14091
|
-
(o) => class extends
|
|
14090
|
+
const Fr = U(
|
|
14091
|
+
(o) => class extends Du(Ir(Tr(o))) {
|
|
14092
14092
|
/**
|
|
14093
14093
|
* An array of attributes which participate in the input validation.
|
|
14094
14094
|
* Changing these attributes will cause the input to re-validate.
|
|
@@ -14172,8 +14172,8 @@ const Nr = U(
|
|
|
14172
14172
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14173
14173
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14174
14174
|
*/
|
|
14175
|
-
const
|
|
14176
|
-
Dr(
|
|
14175
|
+
const Tu = (o) => class extends bu(
|
|
14176
|
+
Dr(Fr(ku(vu(Jt(o)))))
|
|
14177
14177
|
) {
|
|
14178
14178
|
static get properties() {
|
|
14179
14179
|
return {
|
|
@@ -14359,7 +14359,7 @@ const Td = (o) => class extends bd(
|
|
|
14359
14359
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14360
14360
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14361
14361
|
*/
|
|
14362
|
-
class
|
|
14362
|
+
class Mu extends Re {
|
|
14363
14363
|
constructor(t, e, i = {}) {
|
|
14364
14364
|
const { uniqueIdPrefix: s } = i;
|
|
14365
14365
|
super(t, "input", "input", {
|
|
@@ -14376,7 +14376,7 @@ class Md extends Re {
|
|
|
14376
14376
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14377
14377
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14378
14378
|
*/
|
|
14379
|
-
class
|
|
14379
|
+
class Ou {
|
|
14380
14380
|
constructor(t, e) {
|
|
14381
14381
|
this.input = t, this.__preventDuplicateLabelClick = this.__preventDuplicateLabelClick.bind(this), e.addEventListener("slot-content-changed", (i) => {
|
|
14382
14382
|
this.__initLabel(i.detail.node);
|
|
@@ -14409,7 +14409,7 @@ class Od {
|
|
|
14409
14409
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14410
14410
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14411
14411
|
*/
|
|
14412
|
-
const
|
|
14412
|
+
const Iu = P`
|
|
14413
14413
|
[part='clear-button'] {
|
|
14414
14414
|
display: none;
|
|
14415
14415
|
cursor: default;
|
|
@@ -14428,7 +14428,7 @@ const Id = P`
|
|
|
14428
14428
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14429
14429
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14430
14430
|
*/
|
|
14431
|
-
const
|
|
14431
|
+
const Fu = P`
|
|
14432
14432
|
:host {
|
|
14433
14433
|
display: inline-flex;
|
|
14434
14434
|
outline: none;
|
|
@@ -14468,7 +14468,7 @@ const Nd = P`
|
|
|
14468
14468
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14469
14469
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14470
14470
|
*/
|
|
14471
|
-
const
|
|
14471
|
+
const Nu = P`
|
|
14472
14472
|
[class$='container'] {
|
|
14473
14473
|
display: flex;
|
|
14474
14474
|
flex-direction: column;
|
|
@@ -14482,13 +14482,13 @@ const zd = P`
|
|
|
14482
14482
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14483
14483
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14484
14484
|
*/
|
|
14485
|
-
const
|
|
14485
|
+
const zu = [Fu, Nu, Iu];
|
|
14486
14486
|
/**
|
|
14487
14487
|
* @license
|
|
14488
14488
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
14489
14489
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14490
14490
|
*/
|
|
14491
|
-
const
|
|
14491
|
+
const Lu = (o) => class extends o {
|
|
14492
14492
|
static get properties() {
|
|
14493
14493
|
return {
|
|
14494
14494
|
/**
|
|
@@ -14535,7 +14535,7 @@ const Ld = (o) => class extends o {
|
|
|
14535
14535
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14536
14536
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14537
14537
|
*/
|
|
14538
|
-
class
|
|
14538
|
+
class Ru {
|
|
14539
14539
|
/**
|
|
14540
14540
|
* @param {{ inputElement?: HTMLElement; opened: boolean } & HTMLElement} host
|
|
14541
14541
|
*/
|
|
@@ -14554,8 +14554,8 @@ class Rd {
|
|
|
14554
14554
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
14555
14555
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14556
14556
|
*/
|
|
14557
|
-
const
|
|
14558
|
-
st(Dr(
|
|
14557
|
+
const Bu = (o) => class extends Lu(
|
|
14558
|
+
st(Dr(Fr(Jt(o))))
|
|
14559
14559
|
) {
|
|
14560
14560
|
static get properties() {
|
|
14561
14561
|
return {
|
|
@@ -14759,7 +14759,7 @@ const Bd = (o) => class extends Ld(
|
|
|
14759
14759
|
let r, n = s.getMonth(), a = s.getFullYear();
|
|
14760
14760
|
if (i.length === 3) {
|
|
14761
14761
|
if (n = parseInt(i[0]) - 1, r = parseInt(i[1]), a = parseInt(i[2]), i[2].length < 3 && a >= 0) {
|
|
14762
|
-
const l = this.referenceDate ?
|
|
14762
|
+
const l = this.referenceDate ? ut(this.referenceDate) : /* @__PURE__ */ new Date();
|
|
14763
14763
|
a = Bc(l, a, n, r);
|
|
14764
14764
|
}
|
|
14765
14765
|
} else
|
|
@@ -14937,7 +14937,7 @@ const Bd = (o) => class extends Ld(
|
|
|
14937
14937
|
new kr(this._fullscreenMediaQuery, (i) => {
|
|
14938
14938
|
this._fullscreen = i;
|
|
14939
14939
|
})
|
|
14940
|
-
), this.addController(new
|
|
14940
|
+
), this.addController(new Ru(this));
|
|
14941
14941
|
const e = this.$.overlay;
|
|
14942
14942
|
this._overlayElement = e, e.renderer = this._boundOverlayRenderer, this.addEventListener("mousedown", () => this.__bringToFront()), this.addEventListener("touchstart", () => this.__bringToFront());
|
|
14943
14943
|
}
|
|
@@ -14984,7 +14984,7 @@ const Bd = (o) => class extends Ld(
|
|
|
14984
14984
|
if (!this.i18n.parseDate)
|
|
14985
14985
|
return;
|
|
14986
14986
|
let i = this.i18n.parseDate(e);
|
|
14987
|
-
if (i && (i =
|
|
14987
|
+
if (i && (i = ut(`${i.year}-${i.month + 1}-${i.day}`)), i && !isNaN(i.getTime()))
|
|
14988
14988
|
return i;
|
|
14989
14989
|
}
|
|
14990
14990
|
/**
|
|
@@ -15126,7 +15126,7 @@ const Bd = (o) => class extends Ld(
|
|
|
15126
15126
|
* @override
|
|
15127
15127
|
*/
|
|
15128
15128
|
_valueChanged(e, i) {
|
|
15129
|
-
const s =
|
|
15129
|
+
const s = ut(e);
|
|
15130
15130
|
if (e && !s) {
|
|
15131
15131
|
this.value = i;
|
|
15132
15132
|
return;
|
|
@@ -15135,8 +15135,8 @@ const Bd = (o) => class extends Ld(
|
|
|
15135
15135
|
}
|
|
15136
15136
|
/** @private */
|
|
15137
15137
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
15138
|
-
__updateOverlayContent(e, i, s, r, n, a, l, c,
|
|
15139
|
-
e && (e.i18n = i, e.label = s, e.minDate = r, e.maxDate = n, e.focusedDate = a, e.selectedDate = l, e.showWeekNumbers = c, e.isDateDisabled =
|
|
15138
|
+
__updateOverlayContent(e, i, s, r, n, a, l, c, u) {
|
|
15139
|
+
e && (e.i18n = i, e.label = s, e.minDate = r, e.maxDate = n, e.focusedDate = a, e.selectedDate = l, e.showWeekNumbers = c, e.isDateDisabled = u);
|
|
15140
15140
|
}
|
|
15141
15141
|
/** @private */
|
|
15142
15142
|
__updateOverlayContentTheme(e, i) {
|
|
@@ -15165,7 +15165,7 @@ const Bd = (o) => class extends Ld(
|
|
|
15165
15165
|
}
|
|
15166
15166
|
/** @private */
|
|
15167
15167
|
_getInitialPosition() {
|
|
15168
|
-
const e =
|
|
15168
|
+
const e = ut(this.initialPosition), i = this._selectedDate || this._overlayContent.initialPosition || e || /* @__PURE__ */ new Date();
|
|
15169
15169
|
return e || it(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ? xr(i, [this._minDate, this._maxDate]) : /* @__PURE__ */ new Date();
|
|
15170
15170
|
}
|
|
15171
15171
|
/**
|
|
@@ -15304,7 +15304,7 @@ const Bd = (o) => class extends Ld(
|
|
|
15304
15304
|
}
|
|
15305
15305
|
/** @private */
|
|
15306
15306
|
__computeMinOrMaxDate(e) {
|
|
15307
|
-
return
|
|
15307
|
+
return ut(e);
|
|
15308
15308
|
}
|
|
15309
15309
|
/**
|
|
15310
15310
|
* Fired when the user commits a value change.
|
|
@@ -15327,7 +15327,7 @@ const Bd = (o) => class extends Ld(
|
|
|
15327
15327
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15328
15328
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15329
15329
|
*/
|
|
15330
|
-
const
|
|
15330
|
+
const Hu = P`
|
|
15331
15331
|
:host([opened]) {
|
|
15332
15332
|
pointer-events: auto;
|
|
15333
15333
|
}
|
|
@@ -15346,8 +15346,8 @@ const Hd = P`
|
|
|
15346
15346
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15347
15347
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15348
15348
|
*/
|
|
15349
|
-
L("vaadin-date-picker", [
|
|
15350
|
-
class $
|
|
15349
|
+
L("vaadin-date-picker", [zu, Hu], { moduleId: "vaadin-date-picker-styles" });
|
|
15350
|
+
class $u extends Bu(Tu(je(hr(Oe)))) {
|
|
15351
15351
|
static get is() {
|
|
15352
15352
|
return "vaadin-date-picker";
|
|
15353
15353
|
}
|
|
@@ -15407,7 +15407,7 @@ class $d extends Bd(Td(je(hr(Oe)))) {
|
|
|
15407
15407
|
/** @protected */
|
|
15408
15408
|
ready() {
|
|
15409
15409
|
super.ready(), this.addController(
|
|
15410
|
-
new
|
|
15410
|
+
new Mu(
|
|
15411
15411
|
this,
|
|
15412
15412
|
(e) => {
|
|
15413
15413
|
this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
|
|
@@ -15419,7 +15419,7 @@ class $d extends Bd(Td(je(hr(Oe)))) {
|
|
|
15419
15419
|
uniqueIdPrefix: "search-input"
|
|
15420
15420
|
}
|
|
15421
15421
|
)
|
|
15422
|
-
), this.addController(new
|
|
15422
|
+
), this.addController(new Ou(this.inputElement, this._labelController)), this._tooltipController = new fr(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));
|
|
15423
15423
|
}
|
|
15424
15424
|
/** @private */
|
|
15425
15425
|
_onVaadinOverlayClose(t) {
|
|
@@ -15435,8 +15435,8 @@ class $d extends Bd(Td(je(hr(Oe)))) {
|
|
|
15435
15435
|
super._openedChanged(t), this.$.overlay.positionTarget = this.shadowRoot.querySelector('[part="input-field"]'), this.$.overlay.noVerticalOverlap = !0;
|
|
15436
15436
|
}
|
|
15437
15437
|
}
|
|
15438
|
-
be($
|
|
15439
|
-
var
|
|
15438
|
+
be($u);
|
|
15439
|
+
var Nr = { exports: {} };
|
|
15440
15440
|
(function(o, t) {
|
|
15441
15441
|
(function(e, i) {
|
|
15442
15442
|
o.exports = i();
|
|
@@ -15447,22 +15447,22 @@ var zr = { exports: {} };
|
|
|
15447
15447
|
return function(_) {
|
|
15448
15448
|
this[p] = +_;
|
|
15449
15449
|
};
|
|
15450
|
-
},
|
|
15450
|
+
}, u = [/[+-]\d\d:?(\d\d)?|Z/, function(p) {
|
|
15451
15451
|
(this.zone || (this.zone = {})).offset = function(_) {
|
|
15452
15452
|
if (!_ || _ === "Z")
|
|
15453
15453
|
return 0;
|
|
15454
15454
|
var y = _.match(/([+-]|\d\d)/g), v = 60 * y[1] + (+y[2] || 0);
|
|
15455
15455
|
return v === 0 ? 0 : y[0] === "+" ? -v : v;
|
|
15456
15456
|
}(p);
|
|
15457
|
-
}],
|
|
15457
|
+
}], d = function(p) {
|
|
15458
15458
|
var _ = a[p];
|
|
15459
15459
|
return _ && (_.indexOf ? _ : _.s.concat(_.f));
|
|
15460
15460
|
}, h = function(p, _) {
|
|
15461
15461
|
var y, v = a.meridiem;
|
|
15462
15462
|
if (v) {
|
|
15463
|
-
for (var
|
|
15464
|
-
if (p.indexOf(v(
|
|
15465
|
-
y =
|
|
15463
|
+
for (var C = 1; C <= 24; C += 1)
|
|
15464
|
+
if (p.indexOf(v(C, 0, _)) > -1) {
|
|
15465
|
+
y = C > 12;
|
|
15466
15466
|
break;
|
|
15467
15467
|
}
|
|
15468
15468
|
} else
|
|
@@ -15484,39 +15484,39 @@ var zr = { exports: {} };
|
|
|
15484
15484
|
for (var v = 1; v <= 31; v += 1)
|
|
15485
15485
|
_(v).replace(/\[|\]/g, "") === p && (this.day = v);
|
|
15486
15486
|
}], M: [r, c("month")], MM: [s, c("month")], MMM: [n, function(p) {
|
|
15487
|
-
var _ =
|
|
15487
|
+
var _ = d("months"), y = (d("monthsShort") || _.map(function(v) {
|
|
15488
15488
|
return v.slice(0, 3);
|
|
15489
15489
|
})).indexOf(p) + 1;
|
|
15490
15490
|
if (y < 1)
|
|
15491
15491
|
throw new Error();
|
|
15492
15492
|
this.month = y % 12 || y;
|
|
15493
15493
|
}], MMMM: [n, function(p) {
|
|
15494
|
-
var _ =
|
|
15494
|
+
var _ = d("months").indexOf(p) + 1;
|
|
15495
15495
|
if (_ < 1)
|
|
15496
15496
|
throw new Error();
|
|
15497
15497
|
this.month = _ % 12 || _;
|
|
15498
15498
|
}], Y: [/[+-]?\d+/, c("year")], YY: [s, function(p) {
|
|
15499
15499
|
this.year = l(p);
|
|
15500
|
-
}], YYYY: [/\d{4}/, c("year")], Z:
|
|
15500
|
+
}], YYYY: [/\d{4}/, c("year")], Z: u, ZZ: u };
|
|
15501
15501
|
function g(p) {
|
|
15502
15502
|
var _, y;
|
|
15503
15503
|
_ = p, y = a && a.formats;
|
|
15504
15504
|
for (var v = (p = _.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(B, T, I) {
|
|
15505
|
-
var
|
|
15506
|
-
return T || y[I] || e[I] || y[
|
|
15505
|
+
var F = I && I.toUpperCase();
|
|
15506
|
+
return T || y[I] || e[I] || y[F].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(X, H, te) {
|
|
15507
15507
|
return H || te.slice(1);
|
|
15508
15508
|
});
|
|
15509
|
-
})).match(i),
|
|
15510
|
-
var D = v[
|
|
15511
|
-
v[
|
|
15509
|
+
})).match(i), C = v.length, A = 0; A < C; A += 1) {
|
|
15510
|
+
var D = v[A], G = m[D], R = G && G[0], Y = G && G[1];
|
|
15511
|
+
v[A] = Y ? { regex: R, parser: Y } : D.replace(/^\[|\]$/g, "");
|
|
15512
15512
|
}
|
|
15513
15513
|
return function(B) {
|
|
15514
|
-
for (var T = {}, I = 0,
|
|
15514
|
+
for (var T = {}, I = 0, F = 0; I < C; I += 1) {
|
|
15515
15515
|
var X = v[I];
|
|
15516
15516
|
if (typeof X == "string")
|
|
15517
|
-
|
|
15517
|
+
F += X.length;
|
|
15518
15518
|
else {
|
|
15519
|
-
var H = X.regex, te = X.parser, pe = B.slice(
|
|
15519
|
+
var H = X.regex, te = X.parser, pe = B.slice(F), q = H.exec(pe)[0];
|
|
15520
15520
|
te.call(T, q), B = B.replace(q, "");
|
|
15521
15521
|
}
|
|
15522
15522
|
}
|
|
@@ -15531,25 +15531,25 @@ var zr = { exports: {} };
|
|
|
15531
15531
|
}
|
|
15532
15532
|
return function(p, _, y) {
|
|
15533
15533
|
y.p.customParseFormat = !0, p && p.parseTwoDigitYear && (l = p.parseTwoDigitYear);
|
|
15534
|
-
var v = _.prototype,
|
|
15535
|
-
v.parse = function(
|
|
15536
|
-
var D =
|
|
15534
|
+
var v = _.prototype, C = v.parse;
|
|
15535
|
+
v.parse = function(A) {
|
|
15536
|
+
var D = A.date, G = A.utc, R = A.args;
|
|
15537
15537
|
this.$u = G;
|
|
15538
15538
|
var Y = R[1];
|
|
15539
15539
|
if (typeof Y == "string") {
|
|
15540
|
-
var B = R[2] === !0, T = R[3] === !0, I = B || T,
|
|
15541
|
-
T && (
|
|
15540
|
+
var B = R[2] === !0, T = R[3] === !0, I = B || T, F = R[2];
|
|
15541
|
+
T && (F = R[2]), a = this.$locale(), !B && F && (a = y.Ls[F]), this.$d = function(pe, q, Z) {
|
|
15542
15542
|
try {
|
|
15543
15543
|
if (["x", "X"].indexOf(q) > -1)
|
|
15544
15544
|
return new Date((q === "X" ? 1e3 : 1) * pe);
|
|
15545
|
-
var j = g(q)(pe), $ = j.year, Q = j.month, _e = j.day,
|
|
15546
|
-
$ && !Q || (
|
|
15547
|
-
var ve =
|
|
15548
|
-
return ke ? new Date(Date.UTC(
|
|
15545
|
+
var j = g(q)(pe), $ = j.year, Q = j.month, _e = j.day, Ae = j.hours, Ce = j.minutes, Fe = j.seconds, Pe = j.milliseconds, ke = j.zone, ie = /* @__PURE__ */ new Date(), oe = _e || ($ || Q ? 1 : ie.getDate()), N = $ || ie.getFullYear(), z = 0;
|
|
15546
|
+
$ && !Q || (z = Q > 0 ? Q - 1 : ie.getMonth());
|
|
15547
|
+
var ve = Ae || 0, fe = Ce || 0, J = Fe || 0, le = Pe || 0;
|
|
15548
|
+
return ke ? new Date(Date.UTC(N, z, oe, ve, fe, J, le + 60 * ke.offset * 1e3)) : Z ? new Date(Date.UTC(N, z, oe, ve, fe, J, le)) : new Date(N, z, oe, ve, fe, J, le);
|
|
15549
15549
|
} catch (x) {
|
|
15550
15550
|
return /* @__PURE__ */ new Date("");
|
|
15551
15551
|
}
|
|
15552
|
-
}(D, Y, G), this.init(),
|
|
15552
|
+
}(D, Y, G), this.init(), F && F !== !0 && (this.$L = this.locale(F).$L), I && D != this.format(Y) && (this.$d = /* @__PURE__ */ new Date("")), a = {};
|
|
15553
15553
|
} else if (Y instanceof Array)
|
|
15554
15554
|
for (var X = Y.length, H = 1; H <= X; H += 1) {
|
|
15555
15555
|
R[1] = Y[H - 1];
|
|
@@ -15561,17 +15561,17 @@ var zr = { exports: {} };
|
|
|
15561
15561
|
H === X && (this.$d = /* @__PURE__ */ new Date(""));
|
|
15562
15562
|
}
|
|
15563
15563
|
else
|
|
15564
|
-
|
|
15564
|
+
C.call(this, A);
|
|
15565
15565
|
};
|
|
15566
15566
|
};
|
|
15567
15567
|
});
|
|
15568
|
-
})(
|
|
15569
|
-
var
|
|
15570
|
-
const
|
|
15568
|
+
})(Nr);
|
|
15569
|
+
var Yu = Nr.exports;
|
|
15570
|
+
const ju = /* @__PURE__ */ Vr(Yu);
|
|
15571
15571
|
function ts(o, t) {
|
|
15572
15572
|
Wr(o, t);
|
|
15573
15573
|
}
|
|
15574
|
-
function
|
|
15574
|
+
function Vu(o) {
|
|
15575
15575
|
qr.set(o);
|
|
15576
15576
|
}
|
|
15577
15577
|
const is = {
|
|
@@ -15588,7 +15588,14 @@ const is = {
|
|
|
15588
15588
|
temporarySelfExclusion: "Your self-exclusion period will last until the {date} 23:59.",
|
|
15589
15589
|
permanentSelfExclusion: "Your self-exclusion period will be permanent.",
|
|
15590
15590
|
SelfExclusionFor30Days: "30 Days",
|
|
15591
|
+
SelfExclusionFor2Months: "2 Months",
|
|
15592
|
+
SelfExclusionFor3Months: "3 Months",
|
|
15591
15593
|
SelfExclusionFor6Months: "6 Months",
|
|
15594
|
+
SelfExclusionFor7Months: "7 Months",
|
|
15595
|
+
SelfExclusionFor8Months: "8 Months",
|
|
15596
|
+
SelfExclusionFor9Months: "9 Months",
|
|
15597
|
+
SelfExclusionFor10Months: "10 Months",
|
|
15598
|
+
SelfExclusionFor11Months: "11 Months",
|
|
15592
15599
|
SelfExclusionFor1Year: "1 Year",
|
|
15593
15600
|
SelfExclusionFor2Years: "2 Years",
|
|
15594
15601
|
SelfExclusionFor5Years: "5 Years",
|
|
@@ -15615,7 +15622,14 @@ const is = {
|
|
|
15615
15622
|
temporarySelfExclusion: "Your self-exclusion period will last until the {date} 23:59.",
|
|
15616
15623
|
permanentSelfExclusion: "Your self-exclusion period will be permanent.",
|
|
15617
15624
|
SelfExclusionFor30Days: "30 Days",
|
|
15625
|
+
SelfExclusionFor2Months: "2 Months",
|
|
15626
|
+
SelfExclusionFor3Months: "3 Months",
|
|
15618
15627
|
SelfExclusionFor6Months: "6 Months",
|
|
15628
|
+
SelfExclusionFor7Months: "7 Months",
|
|
15629
|
+
SelfExclusionFor8Months: "8 Months",
|
|
15630
|
+
SelfExclusionFor9Months: "9 Months",
|
|
15631
|
+
SelfExclusionFor10Months: "10 Months",
|
|
15632
|
+
SelfExclusionFor11Months: "11 Months",
|
|
15619
15633
|
SelfExclusionFor1Year: "1 Year",
|
|
15620
15634
|
SelfExclusionFor2Years: "2 Years",
|
|
15621
15635
|
SelfExclusionFor5Years: "5 Years",
|
|
@@ -15642,7 +15656,14 @@ const is = {
|
|
|
15642
15656
|
temporarySelfExclusion: "您的自我排除期將持續到 {date} 23:59。",
|
|
15643
15657
|
permanentSelfExclusion: "您的自我排除期將是永久性的。",
|
|
15644
15658
|
SelfExclusionFor30Days: "30天",
|
|
15659
|
+
SelfExclusionFor2Months: "2個月",
|
|
15660
|
+
SelfExclusionFor3Months: "3個月",
|
|
15645
15661
|
SelfExclusionFor6Months: "6個月",
|
|
15662
|
+
SelfExclusionFor7Months: "7個月",
|
|
15663
|
+
SelfExclusionFor8Months: "8個月",
|
|
15664
|
+
SelfExclusionFor9Months: "9個月",
|
|
15665
|
+
SelfExclusionFor10Months: "10個月",
|
|
15666
|
+
SelfExclusionFor11Months: "11個月",
|
|
15646
15667
|
SelfExclusionFor1Year: "1年",
|
|
15647
15668
|
SelfExclusionFor2Years: "2年",
|
|
15648
15669
|
SelfExclusionFor5Years: "5年",
|
|
@@ -15669,7 +15690,14 @@ const is = {
|
|
|
15669
15690
|
temporarySelfExclusion: "Votre période d'auto-exclusion durera jusqu'au {date} 23:59.",
|
|
15670
15691
|
permanentSelfExclusion: "Votre période d'auto-exclusion sera permanente.",
|
|
15671
15692
|
SelfExclusionFor30Days: "30 Jours",
|
|
15693
|
+
SelfExclusionFor2Months: "2 Mois",
|
|
15694
|
+
SelfExclusionFor3Months: "3 Mois",
|
|
15672
15695
|
SelfExclusionFor6Months: "6 Mois",
|
|
15696
|
+
SelfExclusionFor7Months: "7 Mois",
|
|
15697
|
+
SelfExclusionFor8Months: "8 Mois",
|
|
15698
|
+
SelfExclusionFor9Months: "9 Mois",
|
|
15699
|
+
SelfExclusionFor10Months: "10 Mois",
|
|
15700
|
+
SelfExclusionFor11Months: "11 Mois",
|
|
15673
15701
|
SelfExclusionFor1Year: "1 An",
|
|
15674
15702
|
SelfExclusionFor2Years: "2 Ans",
|
|
15675
15703
|
SelfExclusionFor5Years: "5 Ans",
|
|
@@ -15696,7 +15724,14 @@ const is = {
|
|
|
15696
15724
|
temporarySelfExclusion: "Perioada dvs. de auto-excludere va dura până la {date} 23:59.",
|
|
15697
15725
|
permanentSelfExclusion: "Perioada dvs. de auto-excludere va fi permanentă.",
|
|
15698
15726
|
SelfExclusionFor30Days: "30 de Zile",
|
|
15727
|
+
SelfExclusionFor2Months: "2 Luni",
|
|
15728
|
+
SelfExclusionFor3Months: "3 Luni",
|
|
15699
15729
|
SelfExclusionFor6Months: "6 Luni",
|
|
15730
|
+
SelfExclusionFor7Months: "7 Luni",
|
|
15731
|
+
SelfExclusionFor8Months: "8 Luni",
|
|
15732
|
+
SelfExclusionFor9Months: "9 Luni",
|
|
15733
|
+
SelfExclusionFor10Months: "10 Luni",
|
|
15734
|
+
SelfExclusionFor11Months: "11 Luni",
|
|
15700
15735
|
SelfExclusionFor1Year: "1 An",
|
|
15701
15736
|
SelfExclusionFor2Years: "2 Ani",
|
|
15702
15737
|
SelfExclusionFor5Years: "5 Ani",
|
|
@@ -15723,7 +15758,14 @@ const is = {
|
|
|
15723
15758
|
temporarySelfExclusion: "Su período de autoexclusión durará hasta el {date} a las 23:59.",
|
|
15724
15759
|
permanentSelfExclusion: "Su período de autoexclusión será permanente.",
|
|
15725
15760
|
SelfExclusionFor30Days: "30 Días",
|
|
15761
|
+
SelfExclusionFor2Months: "2 Meses",
|
|
15762
|
+
SelfExclusionFor3Months: "3 Meses",
|
|
15726
15763
|
SelfExclusionFor6Months: "6 Meses",
|
|
15764
|
+
SelfExclusionFor7Months: "7 Meses",
|
|
15765
|
+
SelfExclusionFor8Months: "8 Meses",
|
|
15766
|
+
SelfExclusionFor9Months: "9 Meses",
|
|
15767
|
+
SelfExclusionFor10Months: "10 Meses",
|
|
15768
|
+
SelfExclusionFor11Months: "11 Meses",
|
|
15727
15769
|
SelfExclusionFor1Year: "1 Año",
|
|
15728
15770
|
SelfExclusionFor2Years: "2 Años",
|
|
15729
15771
|
SelfExclusionFor5Years: "5 Años",
|
|
@@ -15750,7 +15792,14 @@ const is = {
|
|
|
15750
15792
|
temporarySelfExclusion: "O seu período de autoexclusão durará até às {date} 23:59.",
|
|
15751
15793
|
permanentSelfExclusion: "O seu período de autoexclusão será permanente.",
|
|
15752
15794
|
SelfExclusionFor30Days: "30 Dias",
|
|
15795
|
+
SelfExclusionFor2Months: "2 Meses",
|
|
15796
|
+
SelfExclusionFor3Months: "3 Meses",
|
|
15753
15797
|
SelfExclusionFor6Months: "6 Meses",
|
|
15798
|
+
SelfExclusionFor7Months: "7 Meses",
|
|
15799
|
+
SelfExclusionFor8Months: "8 Meses",
|
|
15800
|
+
SelfExclusionFor9Months: "9 Meses",
|
|
15801
|
+
SelfExclusionFor10Months: "10 Meses",
|
|
15802
|
+
SelfExclusionFor11Months: "11 Meses",
|
|
15754
15803
|
SelfExclusionFor1Year: "1 Ano",
|
|
15755
15804
|
SelfExclusionFor2Years: "2 Anos",
|
|
15756
15805
|
SelfExclusionFor5Years: "5 Anos",
|
|
@@ -15777,7 +15826,14 @@ const is = {
|
|
|
15777
15826
|
temporarySelfExclusion: "Vaše razdoblje samoisključenja trajat će do {date} 23:59.",
|
|
15778
15827
|
permanentSelfExclusion: "Vaše razdoblje samoisključenja bit će trajno.",
|
|
15779
15828
|
SelfExclusionFor30Days: "30 Dana",
|
|
15829
|
+
SelfExclusionFor2Months: "2 Mjeseca",
|
|
15830
|
+
SelfExclusionFor3Months: "3 Mjeseca",
|
|
15780
15831
|
SelfExclusionFor6Months: "6 Mjeseci",
|
|
15832
|
+
SelfExclusionFor7Months: "7 Mjeseci",
|
|
15833
|
+
SelfExclusionFor8Months: "8 Mjeseci",
|
|
15834
|
+
SelfExclusionFor9Months: "9 Mjeseci",
|
|
15835
|
+
SelfExclusionFor10Months: "10 Mjeseci",
|
|
15836
|
+
SelfExclusionFor11Months: "11 Mjeseci",
|
|
15781
15837
|
SelfExclusionFor1Year: "1 Godina",
|
|
15782
15838
|
SelfExclusionFor2Years: "2 Godina",
|
|
15783
15839
|
SelfExclusionFor5Years: "5 Godina",
|
|
@@ -15804,7 +15860,14 @@ const is = {
|
|
|
15804
15860
|
temporarySelfExclusion: "Seu período de autoexclusão durará até {date} às 23:59.",
|
|
15805
15861
|
permanentSelfExclusion: "Seu período de autoexclusão será permanente.",
|
|
15806
15862
|
SelfExclusionFor30Days: "30 Dias",
|
|
15863
|
+
SelfExclusionFor2Months: "2 Meses",
|
|
15864
|
+
SelfExclusionFor3Months: "3 Meses",
|
|
15807
15865
|
SelfExclusionFor6Months: "6 Meses",
|
|
15866
|
+
SelfExclusionFor7Months: "7 Meses",
|
|
15867
|
+
SelfExclusionFor8Months: "8 Meses",
|
|
15868
|
+
SelfExclusionFor9Months: "9 Meses",
|
|
15869
|
+
SelfExclusionFor10Months: "10 Meses",
|
|
15870
|
+
SelfExclusionFor11Months: "11 Meses",
|
|
15808
15871
|
SelfExclusionFor1Year: "1 Ano",
|
|
15809
15872
|
SelfExclusionFor2Years: "2 Anos",
|
|
15810
15873
|
SelfExclusionFor5Years: "5 Anos",
|
|
@@ -15831,7 +15894,14 @@ const is = {
|
|
|
15831
15894
|
temporarySelfExclusion: "Su período de autoexclusión durará hasta el {date} a las 23:59.",
|
|
15832
15895
|
permanentSelfExclusion: "Su período de autoexclusión será permanente.",
|
|
15833
15896
|
SelfExclusionFor30Days: "30 Días",
|
|
15897
|
+
SelfExclusionFor2Months: "2 Meses",
|
|
15898
|
+
SelfExclusionFor3Months: "3 Meses",
|
|
15834
15899
|
SelfExclusionFor6Months: "6 Meses",
|
|
15900
|
+
SelfExclusionFor7Months: "7 Meses",
|
|
15901
|
+
SelfExclusionFor8Months: "8 Meses",
|
|
15902
|
+
SelfExclusionFor9Months: "9 Meses",
|
|
15903
|
+
SelfExclusionFor10Months: "10 Meses",
|
|
15904
|
+
SelfExclusionFor11Months: "11 Meses",
|
|
15835
15905
|
SelfExclusionFor1Year: "1 Año",
|
|
15836
15906
|
SelfExclusionFor2Years: "2 Anos",
|
|
15837
15907
|
SelfExclusionFor5Years: "5 Años",
|
|
@@ -15858,7 +15928,14 @@ const is = {
|
|
|
15858
15928
|
temporarySelfExclusion: "Kendi kendini hariç tutma süreniz {date} saat 23:59'a kadar sürecektir.",
|
|
15859
15929
|
permanentSelfExclusion: "Kendi kendini hariç tutma süreniz kalıcı olacaktır.",
|
|
15860
15930
|
SelfExclusionFor30Days: "30 Gün",
|
|
15931
|
+
SelfExclusionFor2Months: "2 Ay",
|
|
15932
|
+
SelfExclusionFor3Months: "3 Ay",
|
|
15861
15933
|
SelfExclusionFor6Months: "6 Ay",
|
|
15934
|
+
SelfExclusionFor7Months: "7 Ay",
|
|
15935
|
+
SelfExclusionFor8Months: "8 Ay",
|
|
15936
|
+
SelfExclusionFor9Months: "9 Ay",
|
|
15937
|
+
SelfExclusionFor10Months: "10 Ay",
|
|
15938
|
+
SelfExclusionFor11Months: "11 Ay",
|
|
15862
15939
|
SelfExclusionFor1Year: "1 Yıl",
|
|
15863
15940
|
SelfExclusionFor2Years: "2 Yıl",
|
|
15864
15941
|
SelfExclusionFor5Years: "5 Yıl",
|
|
@@ -15873,18 +15950,18 @@ const is = {
|
|
|
15873
15950
|
InvalidSession: "Oturum süresi doldu."
|
|
15874
15951
|
}
|
|
15875
15952
|
};
|
|
15876
|
-
function
|
|
15877
|
-
Xr(o, "svelte-
|
|
15953
|
+
function Uu(o) {
|
|
15954
|
+
Xr(o, "svelte-st6cko", 'a{cursor:pointer;text-decoration:underline;font-weight:600}.PlayerSelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.PlayerSelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerSelfExclusionTitleNone{display:none}.SelfExclusionContainer{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));container-type:inline-size}.SelfExclusionContainer .SelfExclusionWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px;border-radius:10px;max-width:100%;min-height:500px;opacity:1;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.SelfExclusionContainer .SelfExclusionWrapper.SelfExclusionWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.MenuReturnButton{color:var(--emw--color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.SelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-bold, 700)}.SelfExclusionTitle.SelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px)}.SelfExclusionNotification{color:var(--emw--color-gray-300, #58586B);line-height:24px}.SelfExclusionNotification.SelfExclusionDescriptionMobile{font-size:var(--emw--font-size-x-small, 12px);line-height:19px}.SelfExclusionNotification .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px;min-height:180px}@container (max-width: 768px){.SelfExclusionDescription{font-size:var(--emw--font-size-x-small, 12px);line-height:19px;min-height:230px}.SelfExclusionDescription .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}}.SelfExclusionConfigWrapper{width:50%;height:100%;position:relative;margin-bottom:var(--emw--spacing-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-radius:var(--emw--border-radius-medium, 10px);cursor:pointer}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px)}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:15px;height:15px;fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));transform:rotateZ(-90deg);transition:all 0.5s ease-in-out}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel p{margin:0;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon.active{transform:rotateZ(0deg)}.SelfExclusionConfigWrapper .SelfExclusionDropDown{max-height:0px;overflow:hidden;box-sizing:border-box;transition:all 0.5s ease-in-out;opacity:0;color:var(--emw--color-gray-300, #58586B);background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:0px 0px var(--emw--border-radius-medium, 10px) var(--emw--border-radius-medium, 10px)}.SelfExclusionConfigWrapper .SelfExclusionDropDown div{padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px);font-size:var(--emw--font-size-x-small, 12px);border-top:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));transition:all 0.5s ease-in-out;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionDropDown div:hover{color:var(--emw--color-white, #FFFFFF);background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionConfigWrapper .SelfExclusionDropDown.active{max-height:600px;opacity:1}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile{width:100%;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:10px;height:10px}.SelfExclusionDateWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.SelfExclusionDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions strong{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDateWrapper input{font-family:inherit;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:var(--emw--size-standard, 16px);line-height:18px}.SelfExclusionDateWrapper.SelfExclusionDateWrapperMobile{width:100%}.SelfExclusionRadioWrapper{display:block;position:relative;padding:4px 0 0 0;margin-bottom:16px;font-size:var(--emw--size-standard, 16px);user-select:none;line-height:18px}.SelfExclusionRadioWrapper label{font-size:var(--emw--size-standard, 16px);cursor:pointer;padding-left:35px}.SelfExclusionRadioWrapper input{font-family:inherit;position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SelfExclusionRadioWrapper .Checkmark{position:absolute;top:0;left:0;height:25px;width:25px;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.SelfExclusionRadioWrapper input:checked~.Checkmark{background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionRadioWrapper .Checkmark:after{content:"";position:absolute;display:none;left:9px;top:5px;width:5px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.SelfExclusionRadioWrapper input:checked~.Checkmark:after{display:block}.SelfExclusionRadioWrapper.SelfExclusionRadioWrapperMobile label{font-family:inherit;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionActionButtons{margin-top:40px;width:50%}.SelfExclusionActionButtons .SelfExclusionSave{font-family:var(--emw--button-typography);border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:var(--emw--color-primary, #23B04E);border-radius:var(--emw--border-radius-medium, 10px);padding:30px 0;font-size:var(--emw--font-size-large, 20px);color:var(--emw--button-text-color, #FFFFFF)}.SelfExclusionActionButtons .SelfExclusionSave:hover{color:white;background:var(--emw--color-primary);opacity:0.6}.SelfExclusionActionButtons .SelfExclusionSave:active{background:var(--emw--color-primary);opacity:0.6}.SelfExclusionActionButtons .SelfExclusionSave.active{cursor:pointer;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924)}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile{width:100%;grid-template-columns:1fr 1fr}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile .SelfExclusionSave{height:40px;font-size:var(--emw--font-size-small, 14px);padding:20px 0}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
|
|
15878
15955
|
}
|
|
15879
15956
|
function os(o, t, e) {
|
|
15880
15957
|
const i = o.slice();
|
|
15881
15958
|
return i[56] = t[e], i;
|
|
15882
15959
|
}
|
|
15883
|
-
function
|
|
15960
|
+
function Wu(o) {
|
|
15884
15961
|
let t, e, i, s, r = (
|
|
15885
15962
|
/*$_*/
|
|
15886
15963
|
o[20]("titleSelfExclusion") + ""
|
|
15887
|
-
), n, a, l, c,
|
|
15964
|
+
), n, a, l, c, u = (
|
|
15888
15965
|
/*$_*/
|
|
15889
15966
|
o[20]("selfExclusionText", {
|
|
15890
15967
|
values: {
|
|
@@ -15902,54 +15979,54 @@ function Wd(o) {
|
|
|
15902
15979
|
)
|
|
15903
15980
|
}
|
|
15904
15981
|
}) + ""
|
|
15905
|
-
),
|
|
15982
|
+
), d, h, m = (
|
|
15906
15983
|
/*$_*/
|
|
15907
15984
|
o[20]("selfExclusionEmailText") + ""
|
|
15908
|
-
), g, p, _, y, v,
|
|
15985
|
+
), g, p, _, y, v, C, A, D, G, R = (
|
|
15909
15986
|
/*$_*/
|
|
15910
15987
|
o[20](`${/*selectedPeriodKey*/
|
|
15911
15988
|
o[13]}`) + ""
|
|
15912
|
-
), Y, B, T, I,
|
|
15989
|
+
), Y, B, T, I, F, X, H, te, pe, q, Z, j, $, Q = (
|
|
15913
15990
|
/*$_*/
|
|
15914
15991
|
o[20]("save") + ""
|
|
15915
|
-
), _e,
|
|
15992
|
+
), _e, Ae, Ce, Fe, Pe, ke, ie = (
|
|
15916
15993
|
/*isMobile*/
|
|
15917
|
-
o[22] &&
|
|
15994
|
+
o[22] && Ku(o)
|
|
15918
15995
|
), oe = fo(
|
|
15919
15996
|
/*selfExclusionPeriods*/
|
|
15920
15997
|
o[9]
|
|
15921
|
-
),
|
|
15998
|
+
), N = [];
|
|
15922
15999
|
for (let x = 0; x < oe.length; x += 1)
|
|
15923
|
-
|
|
15924
|
-
let
|
|
16000
|
+
N[x] = ss(os(o, oe, x));
|
|
16001
|
+
let z = (
|
|
15925
16002
|
/*isUntilDate*/
|
|
15926
16003
|
o[16] && rs(o)
|
|
15927
16004
|
);
|
|
15928
16005
|
function ve(x, M) {
|
|
15929
16006
|
return (
|
|
15930
16007
|
/*isPermanentSelfExclusion*/
|
|
15931
|
-
x[15] ?
|
|
16008
|
+
x[15] ? Xu : (
|
|
15932
16009
|
/*isDateSelected*/
|
|
15933
|
-
x[17] ?
|
|
16010
|
+
x[17] ? Gu : Ju
|
|
15934
16011
|
)
|
|
15935
16012
|
);
|
|
15936
16013
|
}
|
|
15937
16014
|
let fe = ve(o), J = fe(o), le = (
|
|
15938
16015
|
/*showConfirmationModal*/
|
|
15939
|
-
o[23] &&
|
|
16016
|
+
o[23] && Zu(o)
|
|
15940
16017
|
);
|
|
15941
16018
|
return {
|
|
15942
16019
|
c() {
|
|
15943
|
-
t = w("div"), e = w("form"), ie && ie.c(), i = O(), s = w("h2"), n = ae(r), a = O(), l = w("div"), c = w("p"),
|
|
16020
|
+
t = w("div"), e = w("form"), ie && ie.c(), i = O(), s = w("h2"), n = ae(r), a = O(), l = w("div"), c = w("p"), d = O(), h = w("p"), g = ae(m), p = O(), _ = w("a"), y = ae(
|
|
15944
16021
|
/*supportemail*/
|
|
15945
16022
|
o[2]
|
|
15946
|
-
),
|
|
15947
|
-
for (let x = 0; x <
|
|
15948
|
-
|
|
15949
|
-
te = O(),
|
|
16023
|
+
), C = O(), A = w("div"), D = w("div"), G = w("p"), Y = ae(R), B = O(), T = Ee("svg"), I = Ee("g"), F = Ee("path"), X = O(), H = w("div");
|
|
16024
|
+
for (let x = 0; x < N.length; x += 1)
|
|
16025
|
+
N[x].c();
|
|
16026
|
+
te = O(), z && z.c(), pe = O(), q = w("div"), J.c(), Z = O(), j = w("div"), $ = w("button"), _e = ae(Q), Fe = O(), le && le.c(), E(s, "class", "PlayerSelfExclusionTitle " + /*isMobile*/
|
|
15950
16027
|
(o[22] ? "PlayerSelfExclusionTitleNone" : "")), E(c, "class", "SelfExclusionDescriptionText"), E(_, "href", v = "mailto:" + /*supportemail*/
|
|
15951
16028
|
o[2]), E(h, "class", "SelfExclusionDescriptionText"), E(l, "class", "SelfExclusionDescription " + /*isMobile*/
|
|
15952
|
-
(o[22] ? "SelfExclusionDescriptionMobile" : "")), E(
|
|
16029
|
+
(o[22] ? "SelfExclusionDescriptionMobile" : "")), E(F, "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"), E(F, "stroke-linecap", "round"), E(T, "xmlns", "http://www.w3.org/2000/svg"), E(T, "xmlns:xlink", "http://www.w3.org/1999/xlink"), E(T, "version", "1.1"), E(T, "viewBox", "0 0 100 100"), E(T, "xml:space", "preserve"), E(T, "class", "SelfExclusionConfigIcon"), We(
|
|
15953
16030
|
T,
|
|
15954
16031
|
"active",
|
|
15955
16032
|
/*isPeriodDropDownToggled*/
|
|
@@ -15959,31 +16036,31 @@ function Wd(o) {
|
|
|
15959
16036
|
"active",
|
|
15960
16037
|
/*isPeriodDropDownToggled*/
|
|
15961
16038
|
o[18]
|
|
15962
|
-
), E(
|
|
16039
|
+
), E(A, "class", "SelfExclusionConfigWrapper " + /*isMobile*/
|
|
15963
16040
|
(o[22] ? "SelfExclusionConfigWrapperMobile" : "")), We(
|
|
15964
|
-
|
|
16041
|
+
A,
|
|
15965
16042
|
"active",
|
|
15966
16043
|
/*isPeriodDropDownToggled*/
|
|
15967
16044
|
o[18]
|
|
15968
16045
|
), E(q, "class", "SelfExclusionDescription " + /*isMobile*/
|
|
15969
|
-
(o[22] ? "SelfExclusionDescriptionMobile" : "")), E($, "class",
|
|
15970
|
-
(o[17] ? "active" : "")), $.disabled =
|
|
16046
|
+
(o[22] ? "SelfExclusionDescriptionMobile" : "")), E($, "class", Ae = "SelfExclusionSave " + /*isDateSelected*/
|
|
16047
|
+
(o[17] ? "active" : "")), $.disabled = Ce = !/*isDateSelected*/
|
|
15971
16048
|
o[17], E(j, "class", "SelfExclusionActionButtons " + /*isMobile*/
|
|
15972
16049
|
(o[22] ? "SelfExclusionActionButtonsMobile" : "")), E(e, "class", "SelfExclusionWrapper " + /*isMobile*/
|
|
15973
16050
|
(o[22] ? "SelfExclusionWrapperMobile" : "")), E(t, "class", "SelfExclusionContainer");
|
|
15974
16051
|
},
|
|
15975
16052
|
m(x, M) {
|
|
15976
|
-
he(x, t, M), f(t, e), ie && ie.m(e, null), f(e, i), f(e, s), f(s, n), f(e, a), f(e, l), f(l, c), c.innerHTML =
|
|
15977
|
-
for (let V = 0; V <
|
|
15978
|
-
|
|
15979
|
-
f(e, te),
|
|
15980
|
-
|
|
16053
|
+
he(x, t, M), f(t, e), ie && ie.m(e, null), f(e, i), f(e, s), f(s, n), f(e, a), f(e, l), f(l, c), c.innerHTML = u, f(l, d), f(l, h), f(h, g), f(h, p), f(h, _), f(_, y), f(e, C), f(e, A), f(A, D), f(D, G), f(G, Y), f(D, B), f(D, T), f(T, I), f(I, F), f(A, X), f(A, H);
|
|
16054
|
+
for (let V = 0; V < N.length; V += 1)
|
|
16055
|
+
N[V] && N[V].m(H, null);
|
|
16056
|
+
f(e, te), z && z.m(e, null), f(e, pe), f(e, q), J.m(q, null), f(e, Z), f(e, j), f(j, $), f($, _e), f(t, Fe), le && le.m(t, null), Pe || (ke = [
|
|
16057
|
+
zt(
|
|
15981
16058
|
D,
|
|
15982
16059
|
"click",
|
|
15983
16060
|
/*click_handler_1*/
|
|
15984
16061
|
o[37]
|
|
15985
16062
|
),
|
|
15986
|
-
|
|
16063
|
+
zt(
|
|
15987
16064
|
$,
|
|
15988
16065
|
"click",
|
|
15989
16066
|
/*click_handler_3*/
|
|
@@ -15996,8 +16073,8 @@ function Wd(o) {
|
|
|
15996
16073
|
/*isMobile*/
|
|
15997
16074
|
x[22] && ie.p(x, M), M[0] & /*$_*/
|
|
15998
16075
|
1048576 && r !== (r = /*$_*/
|
|
15999
|
-
x[20]("titleSelfExclusion") + "") &&
|
|
16000
|
-
1048587 &&
|
|
16076
|
+
x[20]("titleSelfExclusion") + "") && ue(n, r), M[0] & /*$_, operator, baseurl, lang*/
|
|
16077
|
+
1048587 && u !== (u = /*$_*/
|
|
16001
16078
|
x[20]("selfExclusionText", {
|
|
16002
16079
|
values: {
|
|
16003
16080
|
operatorname: (
|
|
@@ -16013,10 +16090,10 @@ function Wd(o) {
|
|
|
16013
16090
|
x[0]
|
|
16014
16091
|
)
|
|
16015
16092
|
}
|
|
16016
|
-
}) + "") && (c.innerHTML =
|
|
16093
|
+
}) + "") && (c.innerHTML = u), M[0] & /*$_*/
|
|
16017
16094
|
1048576 && m !== (m = /*$_*/
|
|
16018
|
-
x[20]("selfExclusionEmailText") + "") &&
|
|
16019
|
-
4 &&
|
|
16095
|
+
x[20]("selfExclusionEmailText") + "") && ue(g, m), M[0] & /*supportemail*/
|
|
16096
|
+
4 && ue(
|
|
16020
16097
|
y,
|
|
16021
16098
|
/*supportemail*/
|
|
16022
16099
|
x[2]
|
|
@@ -16025,7 +16102,7 @@ function Wd(o) {
|
|
|
16025
16102
|
x[2]) && E(_, "href", v), M[0] & /*$_, selectedPeriodKey*/
|
|
16026
16103
|
1056768 && R !== (R = /*$_*/
|
|
16027
16104
|
x[20](`${/*selectedPeriodKey*/
|
|
16028
|
-
x[13]}`) + "") &&
|
|
16105
|
+
x[13]}`) + "") && ue(Y, R), M[0] & /*isPeriodDropDownToggled*/
|
|
16029
16106
|
262144 && We(
|
|
16030
16107
|
T,
|
|
16031
16108
|
"active",
|
|
@@ -16040,12 +16117,12 @@ function Wd(o) {
|
|
|
16040
16117
|
);
|
|
16041
16118
|
let V;
|
|
16042
16119
|
for (V = 0; V < oe.length; V += 1) {
|
|
16043
|
-
const
|
|
16044
|
-
|
|
16120
|
+
const Ct = os(x, oe, V);
|
|
16121
|
+
N[V] ? N[V].p(Ct, M) : (N[V] = ss(Ct), N[V].c(), N[V].m(H, null));
|
|
16045
16122
|
}
|
|
16046
|
-
for (; V <
|
|
16047
|
-
|
|
16048
|
-
|
|
16123
|
+
for (; V < N.length; V += 1)
|
|
16124
|
+
N[V].d(1);
|
|
16125
|
+
N.length = oe.length;
|
|
16049
16126
|
}
|
|
16050
16127
|
M[0] & /*isPeriodDropDownToggled*/
|
|
16051
16128
|
262144 && We(
|
|
@@ -16055,37 +16132,37 @@ function Wd(o) {
|
|
|
16055
16132
|
x[18]
|
|
16056
16133
|
), M[0] & /*isPeriodDropDownToggled*/
|
|
16057
16134
|
262144 && We(
|
|
16058
|
-
|
|
16135
|
+
A,
|
|
16059
16136
|
"active",
|
|
16060
16137
|
/*isPeriodDropDownToggled*/
|
|
16061
16138
|
x[18]
|
|
16062
16139
|
), /*isUntilDate*/
|
|
16063
|
-
x[16] ?
|
|
16140
|
+
x[16] ? z ? z.p(x, M) : (z = rs(x), z.c(), z.m(e, pe)) : z && (z.d(1), z = null), fe === (fe = ve(x)) && J ? J.p(x, M) : (J.d(1), J = fe(x), J && (J.c(), J.m(q, null))), M[0] & /*$_*/
|
|
16064
16141
|
1048576 && Q !== (Q = /*$_*/
|
|
16065
|
-
x[20]("save") + "") &&
|
|
16066
|
-
131072 &&
|
|
16067
|
-
(x[17] ? "active" : "")) && E($, "class",
|
|
16068
|
-
131072 &&
|
|
16069
|
-
x[17]) && ($.disabled =
|
|
16142
|
+
x[20]("save") + "") && ue(_e, Q), M[0] & /*isDateSelected*/
|
|
16143
|
+
131072 && Ae !== (Ae = "SelfExclusionSave " + /*isDateSelected*/
|
|
16144
|
+
(x[17] ? "active" : "")) && E($, "class", Ae), M[0] & /*isDateSelected*/
|
|
16145
|
+
131072 && Ce !== (Ce = !/*isDateSelected*/
|
|
16146
|
+
x[17]) && ($.disabled = Ce), /*showConfirmationModal*/
|
|
16070
16147
|
x[23] && le.p(x, M);
|
|
16071
16148
|
},
|
|
16072
16149
|
d(x) {
|
|
16073
|
-
x &&
|
|
16150
|
+
x && de(t), ie && ie.d(), tn(N, x), z && z.d(), J.d(), le && le.d(), Pe = !1, on(ke);
|
|
16074
16151
|
}
|
|
16075
16152
|
};
|
|
16076
16153
|
}
|
|
16077
|
-
function
|
|
16078
|
-
let t, e, i, s, r, n, a, l, c,
|
|
16154
|
+
function qu(o) {
|
|
16155
|
+
let t, e, i, s, r, n, a, l, c, u, d, h, m, g, p, _, y, v, C, A, D;
|
|
16079
16156
|
function G(B, T) {
|
|
16080
16157
|
return (
|
|
16081
16158
|
/*isMobile*/
|
|
16082
|
-
B[22] ?
|
|
16159
|
+
B[22] ? ed : Qu
|
|
16083
16160
|
);
|
|
16084
16161
|
}
|
|
16085
16162
|
let Y = G(o)(o);
|
|
16086
16163
|
return {
|
|
16087
16164
|
c() {
|
|
16088
|
-
t = w("div"), e = w("div"), Y.c(), i = O(), s = w("div"), r = w("ui-skeleton"), n = O(), a = w("div"), l = O(), c = w("ui-skeleton"),
|
|
16165
|
+
t = w("div"), e = w("div"), Y.c(), i = O(), s = w("div"), r = w("ui-skeleton"), n = O(), a = w("div"), l = O(), c = w("ui-skeleton"), u = O(), d = w("div"), h = O(), m = w("div"), g = w("ui-skeleton"), p = O(), _ = w("div"), y = O(), v = w("ui-skeleton"), C = O(), A = w("div"), D = w("ui-skeleton"), S(r, "structure", "text"), S(
|
|
16089
16166
|
r,
|
|
16090
16167
|
"height",
|
|
16091
16168
|
/*isMobile*/
|
|
@@ -16100,7 +16177,7 @@ function qd(o) {
|
|
|
16100
16177
|
"height",
|
|
16101
16178
|
/*isMobile*/
|
|
16102
16179
|
o[22] ? "15px" : "20px"
|
|
16103
|
-
), S(c, "width", "30%"), Xt(
|
|
16180
|
+
), S(c, "width", "30%"), Xt(d, "height", "10px"), E(s, "class", "SelfExclusionDescription"), S(g, "structure", "rectangle"), S(
|
|
16104
16181
|
g,
|
|
16105
16182
|
"width",
|
|
16106
16183
|
/*isMobile*/
|
|
@@ -16125,30 +16202,30 @@ function qd(o) {
|
|
|
16125
16202
|
"height",
|
|
16126
16203
|
/*isMobile*/
|
|
16127
16204
|
o[22] ? "35px" : "50px"
|
|
16128
|
-
), E(
|
|
16205
|
+
), E(A, "class", "SelfExclusionActionButtons " + /*isMobile*/
|
|
16129
16206
|
(o[22] ? "SelfExclusionActionButtonsMobile" : "")), E(e, "class", "SelfExclusionWrapper " + /*isMobile*/
|
|
16130
16207
|
(o[22] ? "SelfExclusionWrapperMobile" : "")), E(t, "class", "SelfExclusionContainer");
|
|
16131
16208
|
},
|
|
16132
16209
|
m(B, T) {
|
|
16133
|
-
he(B, t, T), f(t, e), Y.m(e, null), f(e, i), f(e, s), f(s, r), f(s, n), f(s, a), f(s, l), f(s, c), f(s,
|
|
16210
|
+
he(B, t, T), f(t, e), Y.m(e, null), f(e, i), f(e, s), f(s, r), f(s, n), f(s, a), f(s, l), f(s, c), f(s, u), f(s, d), f(e, h), f(e, m), f(m, g), f(m, p), f(m, _), f(m, y), f(m, v), f(e, C), f(e, A), f(A, D);
|
|
16134
16211
|
},
|
|
16135
16212
|
p: _i,
|
|
16136
16213
|
d(B) {
|
|
16137
|
-
B &&
|
|
16214
|
+
B && de(t), Y.d();
|
|
16138
16215
|
}
|
|
16139
16216
|
};
|
|
16140
16217
|
}
|
|
16141
|
-
function
|
|
16142
|
-
let t, e, i, s, r, n, a, l, c,
|
|
16218
|
+
function Ku(o) {
|
|
16219
|
+
let t, e, i, s, r, n, a, l, c, u, d = (
|
|
16143
16220
|
/*$_*/
|
|
16144
16221
|
o[20]("titleSelfExclusion") + ""
|
|
16145
16222
|
), h, m, g;
|
|
16146
16223
|
return {
|
|
16147
16224
|
c() {
|
|
16148
|
-
t = w("div"), e = Ee("svg"), i = Ee("defs"), s = Ee("style"), r = ae(".aaa{fill:var(--emw--color-primary, #22B04E);}"), n = Ee("g"), a = Ee("g"), l = Ee("path"), c = O(),
|
|
16225
|
+
t = w("div"), e = Ee("svg"), i = Ee("defs"), s = Ee("style"), r = ae(".aaa{fill:var(--emw--color-primary, #22B04E);}"), n = Ee("g"), a = Ee("g"), l = Ee("path"), c = O(), u = w("h2"), h = ae(d), E(l, "class", "aaa"), E(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), E(l, "transform", "translate(15 15) rotate(180)"), E(a, "transform", "translate(20 158)"), E(n, "transform", "translate(-20 -158)"), E(e, "xmlns", "http://www.w3.org/2000/svg"), E(e, "width", "15"), E(e, "height", "15"), E(e, "viewBox", "0 0 15 15"), E(u, "class", "PlayerSelfExclusionTitleMobile"), E(t, "class", "MenuReturnButton");
|
|
16149
16226
|
},
|
|
16150
16227
|
m(p, _) {
|
|
16151
|
-
he(p, t, _), f(t, e), f(e, i), f(i, s), f(s, r), f(e, n), f(n, a), f(a, l), f(t, c), f(t,
|
|
16228
|
+
he(p, t, _), f(t, e), f(e, i), f(i, s), f(s, r), f(e, n), f(n, a), f(a, l), f(t, c), f(t, u), f(u, h), m || (g = zt(
|
|
16152
16229
|
t,
|
|
16153
16230
|
"click",
|
|
16154
16231
|
/*click_handler*/
|
|
@@ -16157,11 +16234,11 @@ function Kd(o) {
|
|
|
16157
16234
|
},
|
|
16158
16235
|
p(p, _) {
|
|
16159
16236
|
_[0] & /*$_*/
|
|
16160
|
-
1048576 &&
|
|
16161
|
-
p[20]("titleSelfExclusion") + "") &&
|
|
16237
|
+
1048576 && d !== (d = /*$_*/
|
|
16238
|
+
p[20]("titleSelfExclusion") + "") && ue(h, d);
|
|
16162
16239
|
},
|
|
16163
16240
|
d(p) {
|
|
16164
|
-
p &&
|
|
16241
|
+
p && de(t), m = !1, g();
|
|
16165
16242
|
}
|
|
16166
16243
|
};
|
|
16167
16244
|
}
|
|
@@ -16185,16 +16262,16 @@ function ss(o) {
|
|
|
16185
16262
|
t = w("div"), i = ae(e);
|
|
16186
16263
|
},
|
|
16187
16264
|
m(a, l) {
|
|
16188
|
-
he(a, t, l), f(t, i), s || (r =
|
|
16265
|
+
he(a, t, l), f(t, i), s || (r = zt(t, "click", n), s = !0);
|
|
16189
16266
|
},
|
|
16190
16267
|
p(a, l) {
|
|
16191
16268
|
o = a, l[0] & /*$_, selfExclusionPeriods*/
|
|
16192
16269
|
1049088 && e !== (e = /*$_*/
|
|
16193
16270
|
o[20](`${/*period*/
|
|
16194
|
-
o[56].key}`) + "") &&
|
|
16271
|
+
o[56].key}`) + "") && ue(i, e);
|
|
16195
16272
|
},
|
|
16196
16273
|
d(a) {
|
|
16197
|
-
a &&
|
|
16274
|
+
a && de(t), s = !1, r();
|
|
16198
16275
|
}
|
|
16199
16276
|
};
|
|
16200
16277
|
}
|
|
@@ -16205,10 +16282,10 @@ function rs(o) {
|
|
|
16205
16282
|
), s, r, n, a = (
|
|
16206
16283
|
/*$_*/
|
|
16207
16284
|
o[20]("dateInstructions") + ""
|
|
16208
|
-
), l, c,
|
|
16285
|
+
), l, c, u, d, h, m, g;
|
|
16209
16286
|
return {
|
|
16210
16287
|
c() {
|
|
16211
|
-
t = w("div"), e = w("label"), s = ae(i), r = O(), n = w("span"), l = ae(a), c = O(),
|
|
16288
|
+
t = w("div"), e = w("label"), s = ae(i), r = O(), n = w("span"), l = ae(a), c = O(), u = w("strong"), d = ae(
|
|
16212
16289
|
/*validDateformat*/
|
|
16213
16290
|
o[21]
|
|
16214
16291
|
), h = w("strong"), m = O(), g = w("vaadin-date-picker"), E(e, "for", "SelfExclusionDate"), E(n, "class", "SelfExclusionDateInstructions"), S(
|
|
@@ -16230,14 +16307,14 @@ function rs(o) {
|
|
|
16230
16307
|
(o[22] ? "SelfExclusionDateWrapperMobile" : ""));
|
|
16231
16308
|
},
|
|
16232
16309
|
m(p, _) {
|
|
16233
|
-
he(p, t, _), f(t, e), f(e, s), f(t, r), f(t, n), f(n, l), f(n, c), f(n,
|
|
16310
|
+
he(p, t, _), f(t, e), f(e, s), f(t, r), f(t, n), f(n, l), f(n, c), f(n, u), f(u, d), f(u, h), f(t, m), f(t, g), o[39](g);
|
|
16234
16311
|
},
|
|
16235
16312
|
p(p, _) {
|
|
16236
16313
|
_[0] & /*$_*/
|
|
16237
16314
|
1048576 && i !== (i = /*$_*/
|
|
16238
|
-
p[20]("duration") + "") &&
|
|
16315
|
+
p[20]("duration") + "") && ue(s, i), _[0] & /*$_*/
|
|
16239
16316
|
1048576 && a !== (a = /*$_*/
|
|
16240
|
-
p[20]("dateInstructions") + "") &&
|
|
16317
|
+
p[20]("dateInstructions") + "") && ue(l, a), _[0] & /*minDate*/
|
|
16241
16318
|
1024 && S(
|
|
16242
16319
|
g,
|
|
16243
16320
|
"min",
|
|
@@ -16258,11 +16335,11 @@ function rs(o) {
|
|
|
16258
16335
|
);
|
|
16259
16336
|
},
|
|
16260
16337
|
d(p) {
|
|
16261
|
-
p &&
|
|
16338
|
+
p && de(t), o[39](null);
|
|
16262
16339
|
}
|
|
16263
16340
|
};
|
|
16264
16341
|
}
|
|
16265
|
-
function
|
|
16342
|
+
function Gu(o) {
|
|
16266
16343
|
let t, e, i = (
|
|
16267
16344
|
/*$_*/
|
|
16268
16345
|
o[20]("temporarySelfExclusion", {
|
|
@@ -16297,14 +16374,14 @@ function Gd(o) {
|
|
|
16297
16374
|
r[21]
|
|
16298
16375
|
)
|
|
16299
16376
|
}
|
|
16300
|
-
}) + "") &&
|
|
16377
|
+
}) + "") && ue(s, i);
|
|
16301
16378
|
},
|
|
16302
16379
|
d(r) {
|
|
16303
|
-
r &&
|
|
16380
|
+
r && de(t);
|
|
16304
16381
|
}
|
|
16305
16382
|
};
|
|
16306
16383
|
}
|
|
16307
|
-
function
|
|
16384
|
+
function Ju(o) {
|
|
16308
16385
|
let t, e, i = (
|
|
16309
16386
|
/*$_*/
|
|
16310
16387
|
o[20]("noPeriodSelected") + ""
|
|
@@ -16319,14 +16396,14 @@ function Jd(o) {
|
|
|
16319
16396
|
p(r, n) {
|
|
16320
16397
|
n[0] & /*$_*/
|
|
16321
16398
|
1048576 && i !== (i = /*$_*/
|
|
16322
|
-
r[20]("noPeriodSelected") + "") &&
|
|
16399
|
+
r[20]("noPeriodSelected") + "") && ue(s, i);
|
|
16323
16400
|
},
|
|
16324
16401
|
d(r) {
|
|
16325
|
-
r &&
|
|
16402
|
+
r && de(t);
|
|
16326
16403
|
}
|
|
16327
16404
|
};
|
|
16328
16405
|
}
|
|
16329
|
-
function
|
|
16406
|
+
function Xu(o) {
|
|
16330
16407
|
let t, e, i = (
|
|
16331
16408
|
/*$_*/
|
|
16332
16409
|
o[20]("permanentSelfExclusion") + ""
|
|
@@ -16341,14 +16418,14 @@ function Xd(o) {
|
|
|
16341
16418
|
p(r, n) {
|
|
16342
16419
|
n[0] & /*$_*/
|
|
16343
16420
|
1048576 && i !== (i = /*$_*/
|
|
16344
|
-
r[20]("permanentSelfExclusion") + "") &&
|
|
16421
|
+
r[20]("permanentSelfExclusion") + "") && ue(s, i);
|
|
16345
16422
|
},
|
|
16346
16423
|
d(r) {
|
|
16347
|
-
r &&
|
|
16424
|
+
r && de(t);
|
|
16348
16425
|
}
|
|
16349
16426
|
};
|
|
16350
16427
|
}
|
|
16351
|
-
function
|
|
16428
|
+
function Zu(o) {
|
|
16352
16429
|
let t, e, i;
|
|
16353
16430
|
return {
|
|
16354
16431
|
c() {
|
|
@@ -16430,11 +16507,11 @@ function Zd(o) {
|
|
|
16430
16507
|
);
|
|
16431
16508
|
},
|
|
16432
16509
|
d(s) {
|
|
16433
|
-
s &&
|
|
16510
|
+
s && de(t);
|
|
16434
16511
|
}
|
|
16435
16512
|
};
|
|
16436
16513
|
}
|
|
16437
|
-
function
|
|
16514
|
+
function Qu(o) {
|
|
16438
16515
|
let t;
|
|
16439
16516
|
return {
|
|
16440
16517
|
c() {
|
|
@@ -16444,11 +16521,11 @@ function Qd(o) {
|
|
|
16444
16521
|
he(e, t, i);
|
|
16445
16522
|
},
|
|
16446
16523
|
d(e) {
|
|
16447
|
-
e &&
|
|
16524
|
+
e && de(t);
|
|
16448
16525
|
}
|
|
16449
16526
|
};
|
|
16450
16527
|
}
|
|
16451
|
-
function
|
|
16528
|
+
function ed(o) {
|
|
16452
16529
|
let t;
|
|
16453
16530
|
return {
|
|
16454
16531
|
c() {
|
|
@@ -16458,16 +16535,16 @@ function eu(o) {
|
|
|
16458
16535
|
he(e, t, i);
|
|
16459
16536
|
},
|
|
16460
16537
|
d(e) {
|
|
16461
|
-
e &&
|
|
16538
|
+
e && de(t);
|
|
16462
16539
|
}
|
|
16463
16540
|
};
|
|
16464
16541
|
}
|
|
16465
|
-
function
|
|
16542
|
+
function td(o) {
|
|
16466
16543
|
let t;
|
|
16467
16544
|
function e(r, n) {
|
|
16468
16545
|
return (
|
|
16469
16546
|
/*skeletonLoading*/
|
|
16470
|
-
r[19] ?
|
|
16547
|
+
r[19] ? qu : Wu
|
|
16471
16548
|
);
|
|
16472
16549
|
}
|
|
16473
16550
|
let i = e(o), s = i(o);
|
|
@@ -16484,15 +16561,15 @@ function tu(o) {
|
|
|
16484
16561
|
i: _i,
|
|
16485
16562
|
o: _i,
|
|
16486
16563
|
d(r) {
|
|
16487
|
-
r &&
|
|
16564
|
+
r && de(t), s.d(), o[41](null);
|
|
16488
16565
|
}
|
|
16489
16566
|
};
|
|
16490
16567
|
}
|
|
16491
|
-
function
|
|
16568
|
+
function id(o, t, e) {
|
|
16492
16569
|
let i;
|
|
16493
|
-
Zr(o, ln, (b) => e(20, i = b)), xe.extend(
|
|
16494
|
-
let { endpoint: s = "", session: r = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail:
|
|
16495
|
-
const
|
|
16570
|
+
Zr(o, ln, (b) => e(20, i = b)), xe.extend(ju);
|
|
16571
|
+
let { endpoint: s = "", session: r = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail: u = "", baseurl: d = "", clientstyling: h = "", clientstylingurl: m = "", mbsource: g, translationurl: p = "", hasconfirmationmodal: _ = "false", dateformat: y = "DD/MM/YYYY", sendnotificationemail: v = "false" } = t, C, A, D = [], G = {}, R = y.toUpperCase(), Y = window.navigator.userAgent, B, T, I = "", F = "", X = "selectAPeriod", H = "", te = "", pe = Qr(Y) !== "PC", q = !1, Z = !1, j = !1, $ = !1, Q = _ === "true", _e = !0;
|
|
16572
|
+
const Ae = () => {
|
|
16496
16573
|
fetch(p).then((se) => se.json()).then((se) => {
|
|
16497
16574
|
Object.keys(se).forEach((re) => {
|
|
16498
16575
|
ts(re, se[re]);
|
|
@@ -16504,7 +16581,7 @@ function iu(o, t, e) {
|
|
|
16504
16581
|
Object.keys(is).forEach((b) => {
|
|
16505
16582
|
ts(b, is[b]);
|
|
16506
16583
|
});
|
|
16507
|
-
const
|
|
16584
|
+
const Ce = () => {
|
|
16508
16585
|
let b = new URL(`${s}/v1/player/selfExclusionSettings`);
|
|
16509
16586
|
fetch(b, {
|
|
16510
16587
|
method: "GET",
|
|
@@ -16519,8 +16596,8 @@ function iu(o, t, e) {
|
|
|
16519
16596
|
}).finally(() => {
|
|
16520
16597
|
e(19, _e = !1);
|
|
16521
16598
|
});
|
|
16522
|
-
},
|
|
16523
|
-
b.data.type === "setSelfExclusion" &&
|
|
16599
|
+
}, Fe = (b) => {
|
|
16600
|
+
b.data.type === "setSelfExclusion" && z();
|
|
16524
16601
|
}, Pe = (b) => rt(this, null, function* () {
|
|
16525
16602
|
if (b.status >= 300)
|
|
16526
16603
|
G = yield b.json(), te = G.thirdPartyResponse.errorCode, console.error(i(te || "generalError")), window.postMessage(
|
|
@@ -16538,7 +16615,7 @@ function iu(o, t, e) {
|
|
|
16538
16615
|
}), ke = () => {
|
|
16539
16616
|
e(18, $ = !$);
|
|
16540
16617
|
}, ie = (b) => {
|
|
16541
|
-
switch (
|
|
16618
|
+
switch (F = b.text, e(13, X = b.key), e(17, j = !0), e(18, $ = !1), e(15, q = !1), e(16, Z = !1), F) {
|
|
16542
16619
|
case "Until":
|
|
16543
16620
|
e(16, Z = !0), e(10, B = xe().add(6, "months").format("YYYY-MM-DD")), e(11, T = xe().add(5, "years").format("YYYY-MM-DD")), e(12, I = B);
|
|
16544
16621
|
break;
|
|
@@ -16546,15 +16623,15 @@ function iu(o, t, e) {
|
|
|
16546
16623
|
e(15, q = !q);
|
|
16547
16624
|
break;
|
|
16548
16625
|
default:
|
|
16549
|
-
const [se, re] =
|
|
16550
|
-
if (!
|
|
16626
|
+
const [se, re] = F.split(" "), Ne = re.includes("Day") ? "days" : re.includes("Month") ? "months" : re.includes("Year") ? "years" : null;
|
|
16627
|
+
if (!Ne)
|
|
16551
16628
|
return;
|
|
16552
|
-
e(12, I = xe().add(Number(se),
|
|
16629
|
+
e(12, I = xe().add(Number(se), Ne).format("YYYY-MM-DD"));
|
|
16553
16630
|
break;
|
|
16554
16631
|
}
|
|
16555
16632
|
Q && oe();
|
|
16556
16633
|
}, oe = () => {
|
|
16557
|
-
if (!Q || !
|
|
16634
|
+
if (!Q || !F || !I) {
|
|
16558
16635
|
e(14, H = "");
|
|
16559
16636
|
return;
|
|
16560
16637
|
}
|
|
@@ -16562,15 +16639,15 @@ function iu(o, t, e) {
|
|
|
16562
16639
|
values: {
|
|
16563
16640
|
date: xe(I).format(R)
|
|
16564
16641
|
}
|
|
16565
|
-
}) : i("confirmationModalTextPeriodSelfExclusion", { values: { period: i(
|
|
16566
|
-
},
|
|
16642
|
+
}) : i("confirmationModalTextPeriodSelfExclusion", { values: { period: i(F) } }));
|
|
16643
|
+
}, N = (b) => {
|
|
16567
16644
|
b.preventDefault(), Q ? (oe(), window.postMessage(
|
|
16568
16645
|
{
|
|
16569
16646
|
type: "ShowSelfExclusionConfirmationModal"
|
|
16570
16647
|
},
|
|
16571
16648
|
window.location.href
|
|
16572
|
-
)) :
|
|
16573
|
-
},
|
|
16649
|
+
)) : z();
|
|
16650
|
+
}, z = () => {
|
|
16574
16651
|
e(19, _e = !0);
|
|
16575
16652
|
const b = new URL(`/v2/player/${n}/limits${l === "gm16" ? "/session" : ""}`, s), re = {
|
|
16576
16653
|
method: "PUT",
|
|
@@ -16588,7 +16665,7 @@ function iu(o, t, e) {
|
|
|
16588
16665
|
}
|
|
16589
16666
|
})
|
|
16590
16667
|
};
|
|
16591
|
-
fetch(b.href, re).then((
|
|
16668
|
+
fetch(b.href, re).then((Ne) => Pe(Ne)).then((Ne) => {
|
|
16592
16669
|
window.postMessage(
|
|
16593
16670
|
{
|
|
16594
16671
|
type: "WidgetNotification",
|
|
@@ -16599,8 +16676,8 @@ function iu(o, t, e) {
|
|
|
16599
16676
|
},
|
|
16600
16677
|
window.location.href
|
|
16601
16678
|
), window.postMessage({ type: "LogoutSuccessfull" }, window.location.href);
|
|
16602
|
-
}).catch((
|
|
16603
|
-
console.error(i("errorSelfExclusionCall"),
|
|
16679
|
+
}).catch((Ne) => {
|
|
16680
|
+
console.error(i("errorSelfExclusionCall"), Ne), window.postMessage(
|
|
16604
16681
|
{
|
|
16605
16682
|
type: "WidgetNotification",
|
|
16606
16683
|
data: {
|
|
@@ -16624,9 +16701,9 @@ function iu(o, t, e) {
|
|
|
16624
16701
|
}, fe = (b) => {
|
|
16625
16702
|
e(12, I = b.target.value);
|
|
16626
16703
|
}, J = () => {
|
|
16627
|
-
|
|
16704
|
+
A.addEventListener("change", fe, !1), e(
|
|
16628
16705
|
8,
|
|
16629
|
-
|
|
16706
|
+
A.i18n = kt(Pt({}, A.i18n), {
|
|
16630
16707
|
formatDate: (b) => xe(new Date(b.year, b.month, b.day)).format(R),
|
|
16631
16708
|
parseDate: (b) => {
|
|
16632
16709
|
const se = xe(b, R);
|
|
@@ -16637,48 +16714,48 @@ function iu(o, t, e) {
|
|
|
16637
16714
|
};
|
|
16638
16715
|
}
|
|
16639
16716
|
}),
|
|
16640
|
-
|
|
16717
|
+
A
|
|
16641
16718
|
);
|
|
16642
16719
|
};
|
|
16643
|
-
en(() => (window.addEventListener("message",
|
|
16644
|
-
|
|
16720
|
+
en(() => (window.addEventListener("message", Fe, !1), () => {
|
|
16721
|
+
A.removeEventListener("change", fe), window.removeEventListener("message", Fe);
|
|
16645
16722
|
}));
|
|
16646
16723
|
const le = () => {
|
|
16647
|
-
|
|
16724
|
+
Vu(a);
|
|
16648
16725
|
}, x = () => ve(), M = () => ke(), V = (b) => ie(b);
|
|
16649
|
-
function
|
|
16726
|
+
function Ct(b) {
|
|
16650
16727
|
po[b ? "unshift" : "push"](() => {
|
|
16651
|
-
|
|
16728
|
+
A = b, e(8, A);
|
|
16652
16729
|
});
|
|
16653
16730
|
}
|
|
16654
|
-
const Lr = (b) =>
|
|
16731
|
+
const Lr = (b) => N(b);
|
|
16655
16732
|
function Rr(b) {
|
|
16656
16733
|
po[b ? "unshift" : "push"](() => {
|
|
16657
|
-
|
|
16734
|
+
C = b, e(7, C);
|
|
16658
16735
|
});
|
|
16659
16736
|
}
|
|
16660
16737
|
return o.$$set = (b) => {
|
|
16661
|
-
"endpoint" in b && e(28, s = b.endpoint), "session" in b && e(29, r = b.session), "userid" in b && e(30, n = b.userid), "lang" in b && e(0, a = b.lang), "gmversion" in b && e(31, l = b.gmversion), "operator" in b && e(1, c = b.operator), "supportemail" in b && e(2,
|
|
16738
|
+
"endpoint" in b && e(28, s = b.endpoint), "session" in b && e(29, r = b.session), "userid" in b && e(30, n = b.userid), "lang" in b && e(0, a = b.lang), "gmversion" in b && e(31, l = b.gmversion), "operator" in b && e(1, c = b.operator), "supportemail" in b && e(2, u = b.supportemail), "baseurl" in b && e(3, d = b.baseurl), "clientstyling" in b && e(4, h = b.clientstyling), "clientstylingurl" in b && e(5, m = b.clientstylingurl), "mbsource" in b && e(6, g = b.mbsource), "translationurl" in b && e(32, p = b.translationurl), "hasconfirmationmodal" in b && e(33, _ = b.hasconfirmationmodal), "dateformat" in b && e(34, y = b.dateformat), "sendnotificationemail" in b && e(35, v = b.sendnotificationemail);
|
|
16662
16739
|
}, o.$$.update = () => {
|
|
16663
16740
|
o.$$.dirty[0] & /*lang*/
|
|
16664
16741
|
1 && a && le(), o.$$.dirty[0] & /*endpoint, session, userid*/
|
|
16665
16742
|
1879048192 | o.$$.dirty[1] & /*gmversion*/
|
|
16666
|
-
1 && s && r && n && l &&
|
|
16667
|
-
256 &&
|
|
16668
|
-
144 && h &&
|
|
16669
|
-
160 && m &&
|
|
16670
|
-
192 && g &&
|
|
16671
|
-
2 && p &&
|
|
16743
|
+
1 && s && r && n && l && Ce(), o.$$.dirty[0] & /*calendar*/
|
|
16744
|
+
256 && A && J(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
16745
|
+
144 && h && C && sn(C, h), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
16746
|
+
160 && m && C && rn(C, m), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
16747
|
+
192 && g && C && nn(C, `${g}.Style`), o.$$.dirty[1] & /*translationurl*/
|
|
16748
|
+
2 && p && Ae();
|
|
16672
16749
|
}, Q && oe(), [
|
|
16673
16750
|
a,
|
|
16674
16751
|
c,
|
|
16675
|
-
d,
|
|
16676
16752
|
u,
|
|
16753
|
+
d,
|
|
16677
16754
|
h,
|
|
16678
16755
|
m,
|
|
16679
16756
|
g,
|
|
16680
|
-
A,
|
|
16681
16757
|
C,
|
|
16758
|
+
A,
|
|
16682
16759
|
D,
|
|
16683
16760
|
B,
|
|
16684
16761
|
T,
|
|
@@ -16696,7 +16773,7 @@ function iu(o, t, e) {
|
|
|
16696
16773
|
Q,
|
|
16697
16774
|
ke,
|
|
16698
16775
|
ie,
|
|
16699
|
-
|
|
16776
|
+
N,
|
|
16700
16777
|
ve,
|
|
16701
16778
|
s,
|
|
16702
16779
|
r,
|
|
@@ -16709,18 +16786,18 @@ function iu(o, t, e) {
|
|
|
16709
16786
|
x,
|
|
16710
16787
|
M,
|
|
16711
16788
|
V,
|
|
16712
|
-
|
|
16789
|
+
Ct,
|
|
16713
16790
|
Lr,
|
|
16714
16791
|
Rr
|
|
16715
16792
|
];
|
|
16716
16793
|
}
|
|
16717
|
-
class
|
|
16794
|
+
class zr extends Kr {
|
|
16718
16795
|
constructor(t) {
|
|
16719
16796
|
super(), Gr(
|
|
16720
16797
|
this,
|
|
16721
16798
|
t,
|
|
16722
|
-
|
|
16723
|
-
|
|
16799
|
+
id,
|
|
16800
|
+
td,
|
|
16724
16801
|
Jr,
|
|
16725
16802
|
{
|
|
16726
16803
|
endpoint: 28,
|
|
@@ -16739,7 +16816,7 @@ class Fr extends Kr {
|
|
|
16739
16816
|
dateformat: 34,
|
|
16740
16817
|
sendnotificationemail: 35
|
|
16741
16818
|
},
|
|
16742
|
-
|
|
16819
|
+
Uu,
|
|
16743
16820
|
[-1, -1]
|
|
16744
16821
|
);
|
|
16745
16822
|
}
|
|
@@ -16834,12 +16911,12 @@ class Fr extends Kr {
|
|
|
16834
16911
|
this.$$set({ sendnotificationemail: t }), ee();
|
|
16835
16912
|
}
|
|
16836
16913
|
}
|
|
16837
|
-
an(
|
|
16838
|
-
const
|
|
16914
|
+
an(zr, { endpoint: {}, session: {}, userid: {}, lang: {}, gmversion: {}, operator: {}, supportemail: {}, baseurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, hasconfirmationmodal: {}, dateformat: {}, sendnotificationemail: {} }, [], [], !0);
|
|
16915
|
+
const Yd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16839
16916
|
__proto__: null,
|
|
16840
|
-
default:
|
|
16917
|
+
default: zr
|
|
16841
16918
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
16842
16919
|
export {
|
|
16843
|
-
|
|
16844
|
-
|
|
16920
|
+
ju as C,
|
|
16921
|
+
Yd as P
|
|
16845
16922
|
};
|