@everymatrix/player-account-controller-nd 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/{PlayerAccountControllerNd-CdfGI1SH.js → PlayerAccountControllerNd-C1b1AGzM.js} +7 -7
- package/components/{PlayerAccountControllerNd-CwaeOSde.cjs → PlayerAccountControllerNd-C33ICkyg.cjs} +1 -1
- package/components/{PlayerAccountControllerNd-DiYk8bzy.js → PlayerAccountControllerNd-CVnajMw_.js} +7 -7
- package/components/{PlayerAccountSelfExclusionNd-DIZ9IAuu.js → PlayerAccountSelfExclusionNd-BDt34Cwv.js} +563 -486
- package/components/{PlayerAccountSelfExclusionNd-exVecYLr.cjs → PlayerAccountSelfExclusionNd-DbjwBA63.cjs} +37 -37
- package/components/{PlayerAccountSelfExclusionNd-BM0uuQ_R.js → PlayerAccountSelfExclusionNd-pdOCK_f4.js} +610 -533
- package/components/{PlayerAccountTimeout-X15-Nspy.js → PlayerAccountTimeout-DrdFtiYr.js} +1 -1
- package/components/{PlayerAccountTimeout-BG_XwF9S.cjs → PlayerAccountTimeout-Dwk3qNrp.cjs} +1 -1
- package/components/{PlayerAccountTimeout-CbCgtPFQ.js → PlayerAccountTimeout-HsLSYM7W.js} +1 -1
- package/components/{PlayerAccountTransactionsHistory-B7pz2TCR.js → PlayerAccountTransactionsHistory-BREZvoV0.js} +1 -1
- package/components/{PlayerAccountTransactionsHistory-D9VuHD09.js → PlayerAccountTransactionsHistory-CAUCRimI.js} +1 -1
- package/components/{PlayerAccountTransactionsHistory-CgiiI8DD.cjs → PlayerAccountTransactionsHistory-VAN769PL.cjs} +1 -1
- package/es2015/player-account-controller-nd.cjs +1 -1
- package/es2015/player-account-controller-nd.js +1 -1
- package/esnext/player-account-controller-nd.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a4 as
|
|
1
|
+
import { a4 as Ar, a5 as Cr, a as Pr, $ as kr, S as Dr, i as Tr, s as Mr, f as te, b as Or, n as ci, d as ae, g as le, j as w, p as Ir, q as Fr, u as Nr, w as ro, h as f, k as I, e as S, Y as qt, o as E, O as no, P as zr, r as Lr, c as de, t as Ue, l as Mt, m as ne, v as Ae, F as Rr, x as Br, y as Hr, z as $r, A as Yr, B as jr } from "./GeneralLogout-D_LZ6noj.js";
|
|
2
2
|
import { d as Ee } from "./PlayerAccountProductRestriction-Bo8RstAq.js";
|
|
3
3
|
import "../stencil/ui-skeleton-mkMdvWYI.js";
|
|
4
4
|
import "./PlayerAccountGamingLimitsGroupEdit-5Xl-352p.js";
|
|
@@ -39,10 +39,10 @@ be(Vr);
|
|
|
39
39
|
* Copyright 2019 Google LLC
|
|
40
40
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
41
41
|
*/
|
|
42
|
-
const Dt = globalThis, Ii = Dt.ShadowRoot && (Dt.ShadyCSS === void 0 || Dt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype,
|
|
43
|
-
let
|
|
42
|
+
const Dt = globalThis, Ii = Dt.ShadowRoot && (Dt.ShadyCSS === void 0 || Dt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Fi = Symbol(), ao = /* @__PURE__ */ new WeakMap();
|
|
43
|
+
let Ni = class {
|
|
44
44
|
constructor(t, e, i) {
|
|
45
|
-
if (this._$cssResult$ = !0, i !==
|
|
45
|
+
if (this._$cssResult$ = !0, i !== Fi)
|
|
46
46
|
throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
47
47
|
this.cssText = t, this.t = e;
|
|
48
48
|
}
|
|
@@ -59,7 +59,7 @@ let zi = class {
|
|
|
59
59
|
return this.cssText;
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
|
-
const Ur = (o) => new
|
|
62
|
+
const Ur = (o) => new Ni(typeof o == "string" ? o : o + "", void 0, Fi), P = (o, ...t) => {
|
|
63
63
|
const e = o.length === 1 ? o[0] : t.reduce((i, s, r) => i + ((n) => {
|
|
64
64
|
if (n._$cssResult$ === !0)
|
|
65
65
|
return n.cssText;
|
|
@@ -67,7 +67,7 @@ const Ur = (o) => new zi(typeof o == "string" ? o : o + "", void 0, Ni), P = (o,
|
|
|
67
67
|
return n;
|
|
68
68
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + n + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
69
69
|
})(s) + o[r + 1], o[0]);
|
|
70
|
-
return new
|
|
70
|
+
return new Ni(e, o, Fi);
|
|
71
71
|
}, Qo = (o, t) => {
|
|
72
72
|
if (Ii)
|
|
73
73
|
o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
@@ -87,7 +87,7 @@ const Ur = (o) => new zi(typeof o == "string" ? o : o + "", void 0, Ni), P = (o,
|
|
|
87
87
|
* Copyright 2017 Google LLC
|
|
88
88
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
89
89
|
*/
|
|
90
|
-
const { is: Wr, defineProperty: qr, getOwnPropertyDescriptor: Kr, getOwnPropertyNames: Gr, getOwnPropertySymbols: Jr, getPrototypeOf: Xr } = Object, Ht = globalThis, co = Ht.trustedTypes, Zr = co ? co.emptyScript : "", Qr = Ht.reactiveElementPolyfillSupport,
|
|
90
|
+
const { is: Wr, defineProperty: qr, getOwnPropertyDescriptor: Kr, getOwnPropertyNames: Gr, getOwnPropertySymbols: Jr, getPrototypeOf: Xr } = Object, Ht = globalThis, co = Ht.trustedTypes, Zr = co ? co.emptyScript : "", Qr = Ht.reactiveElementPolyfillSupport, dt = (o, t) => o, ui = { toAttribute(o, t) {
|
|
91
91
|
switch (t) {
|
|
92
92
|
case Boolean:
|
|
93
93
|
o = o ? Zr : null;
|
|
@@ -115,7 +115,7 @@ const { is: Wr, defineProperty: qr, getOwnPropertyDescriptor: Kr, getOwnProperty
|
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
return e;
|
|
118
|
-
} }, es = (o, t) => !Wr(o, t), uo = { attribute: !0, type: String, converter:
|
|
118
|
+
} }, es = (o, t) => !Wr(o, t), uo = { attribute: !0, type: String, converter: ui, reflect: !1, useDefault: !1, hasChanged: es };
|
|
119
119
|
Symbol.metadata ??= Symbol("metadata"), Ht.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
|
|
120
120
|
class qe extends HTMLElement {
|
|
121
121
|
static addInitializer(t) {
|
|
@@ -145,15 +145,15 @@ class qe extends HTMLElement {
|
|
|
145
145
|
return this.elementProperties.get(t) ?? uo;
|
|
146
146
|
}
|
|
147
147
|
static _$Ei() {
|
|
148
|
-
if (this.hasOwnProperty(
|
|
148
|
+
if (this.hasOwnProperty(dt("elementProperties")))
|
|
149
149
|
return;
|
|
150
150
|
const t = Xr(this);
|
|
151
151
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
152
152
|
}
|
|
153
153
|
static finalize() {
|
|
154
|
-
if (this.hasOwnProperty(
|
|
154
|
+
if (this.hasOwnProperty(dt("finalized")))
|
|
155
155
|
return;
|
|
156
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
|
156
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(dt("properties"))) {
|
|
157
157
|
const e = this.properties, i = [...Gr(e), ...Jr(e)];
|
|
158
158
|
for (const s of i)
|
|
159
159
|
this.createProperty(s, e[s]);
|
|
@@ -222,14 +222,14 @@ class qe extends HTMLElement {
|
|
|
222
222
|
_$ET(t, e) {
|
|
223
223
|
const i = this.constructor.elementProperties.get(t), s = this.constructor._$Eu(t, i);
|
|
224
224
|
if (s !== void 0 && i.reflect === !0) {
|
|
225
|
-
const r = (i.converter?.toAttribute !== void 0 ? i.converter :
|
|
225
|
+
const r = (i.converter?.toAttribute !== void 0 ? i.converter : ui).toAttribute(e, i.type);
|
|
226
226
|
this._$Em = t, r == null ? this.removeAttribute(s) : this.setAttribute(s, r), this._$Em = null;
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
229
|
_$AK(t, e) {
|
|
230
230
|
const i = this.constructor, s = i._$Eh.get(t);
|
|
231
231
|
if (s !== void 0 && this._$Em !== s) {
|
|
232
|
-
const r = i.getPropertyOptions(s), n = typeof r.converter == "function" ? { fromAttribute: r.converter } : r.converter?.fromAttribute !== void 0 ? r.converter :
|
|
232
|
+
const r = i.getPropertyOptions(s), n = typeof r.converter == "function" ? { fromAttribute: r.converter } : r.converter?.fromAttribute !== void 0 ? r.converter : ui;
|
|
233
233
|
this._$Em = s, this[s] = n.fromAttribute(e, r.type) ?? this._$Ej?.get(s) ?? null, this._$Em = null;
|
|
234
234
|
}
|
|
235
235
|
}
|
|
@@ -308,14 +308,14 @@ class qe extends HTMLElement {
|
|
|
308
308
|
firstUpdated(t) {
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
|
-
qe.elementStyles = [], qe.shadowRootOptions = { mode: "open" }, qe[
|
|
311
|
+
qe.elementStyles = [], qe.shadowRootOptions = { mode: "open" }, qe[dt("elementProperties")] = /* @__PURE__ */ new Map(), qe[dt("finalized")] = /* @__PURE__ */ new Map(), Qr?.({ ReactiveElement: qe }), (Ht.reactiveElementVersions ??= []).push("2.1.0");
|
|
312
312
|
/**
|
|
313
313
|
* @license
|
|
314
314
|
* Copyright 2017 Google LLC
|
|
315
315
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
316
316
|
*/
|
|
317
|
-
const
|
|
318
|
-
\f\r]`, st = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, po = /-->/g, fo = />/g,
|
|
317
|
+
const zi = globalThis, Ot = zi.trustedTypes, ho = Ot ? Ot.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, ts = "$lit$", Me = `lit$${Math.random().toFixed(9).slice(2)}$`, is = "?" + Me, en = `<${is}>`, $e = document, pt = () => $e.createComment(""), ft = (o) => o === null || typeof o != "object" && typeof o != "function", Li = Array.isArray, tn = (o) => Li(o) || typeof o?.[Symbol.iterator] == "function", Kt = `[
|
|
318
|
+
\f\r]`, st = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, po = /-->/g, fo = />/g, ze = RegExp(`>|${Kt}(?:([^\\s"'>=/]+)(${Kt}*=${Kt}*(?:[^
|
|
319
319
|
\f\r"'\`<>=]|("|')|))|$)`, "g"), mo = /'/g, _o = /"/g, os = /^(?:script|style|textarea|title)$/i, Ze = Symbol.for("lit-noChange"), W = Symbol.for("lit-nothing"), go = /* @__PURE__ */ new WeakMap(), Le = $e.createTreeWalker($e, 129);
|
|
320
320
|
function ss(o, t) {
|
|
321
321
|
if (!Li(o) || !o.hasOwnProperty("raw"))
|
|
@@ -327,11 +327,11 @@ const on = (o, t) => {
|
|
|
327
327
|
let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = st;
|
|
328
328
|
for (let a = 0; a < e; a++) {
|
|
329
329
|
const l = o[a];
|
|
330
|
-
let c,
|
|
331
|
-
for (; h < l.length && (n.lastIndex = h,
|
|
332
|
-
h = n.lastIndex, n === st ?
|
|
333
|
-
const m = n ===
|
|
334
|
-
r += n === st ? l + en :
|
|
330
|
+
let c, u, d = -1, h = 0;
|
|
331
|
+
for (; h < l.length && (n.lastIndex = h, u = n.exec(l), u !== null); )
|
|
332
|
+
h = n.lastIndex, n === st ? u[1] === "!--" ? n = po : u[1] !== void 0 ? n = fo : u[2] !== void 0 ? (os.test(u[2]) && (s = RegExp("</" + u[2], "g")), n = ze) : u[3] !== void 0 && (n = ze) : n === ze ? u[0] === ">" ? (n = s ?? st, 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] === '"' ? _o : mo) : n === _o || n === mo ? n = ze : n === po || n === fo ? n = st : (n = ze, s = void 0);
|
|
333
|
+
const m = n === ze && o[a + 1].startsWith("/>") ? " " : "";
|
|
334
|
+
r += n === st ? l + en : d >= 0 ? (i.push(c), l.slice(0, d) + ts + l.slice(d) + Me + m) : l + Me + (d === -2 ? a : m);
|
|
335
335
|
}
|
|
336
336
|
return [ss(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
|
|
337
337
|
};
|
|
@@ -340,36 +340,36 @@ class mt {
|
|
|
340
340
|
let s;
|
|
341
341
|
this.parts = [];
|
|
342
342
|
let r = 0, n = 0;
|
|
343
|
-
const a = t.length - 1, l = this.parts, [c,
|
|
343
|
+
const a = t.length - 1, l = this.parts, [c, u] = on(t, e);
|
|
344
344
|
if (this.el = mt.createElement(c, i), Le.currentNode = this.el.content, e === 2 || e === 3) {
|
|
345
|
-
const
|
|
346
|
-
|
|
345
|
+
const d = this.el.content.firstChild;
|
|
346
|
+
d.replaceWith(...d.childNodes);
|
|
347
347
|
}
|
|
348
348
|
for (; (s = Le.nextNode()) !== null && l.length < a; ) {
|
|
349
349
|
if (s.nodeType === 1) {
|
|
350
350
|
if (s.hasAttributes())
|
|
351
|
-
for (const
|
|
352
|
-
if (
|
|
353
|
-
const h =
|
|
354
|
-
l.push({ type: 1, index: r, name: g[2], strings: m, ctor: g[1] === "." ? rn : g[1] === "?" ? nn : g[1] === "@" ? an : $t }), s.removeAttribute(
|
|
351
|
+
for (const d of s.getAttributeNames())
|
|
352
|
+
if (d.endsWith(ts)) {
|
|
353
|
+
const h = u[n++], m = s.getAttribute(d).split(Me), g = /([.?@])?(.*)/.exec(h);
|
|
354
|
+
l.push({ type: 1, index: r, name: g[2], strings: m, ctor: g[1] === "." ? rn : g[1] === "?" ? nn : g[1] === "@" ? an : $t }), s.removeAttribute(d);
|
|
355
355
|
} else
|
|
356
|
-
|
|
356
|
+
d.startsWith(Me) && (l.push({ type: 6, index: r }), s.removeAttribute(d));
|
|
357
357
|
if (os.test(s.tagName)) {
|
|
358
|
-
const
|
|
358
|
+
const d = s.textContent.split(Me), h = d.length - 1;
|
|
359
359
|
if (h > 0) {
|
|
360
360
|
s.textContent = Ot ? Ot.emptyScript : "";
|
|
361
361
|
for (let m = 0; m < h; m++)
|
|
362
|
-
s.append(
|
|
363
|
-
s.append(
|
|
362
|
+
s.append(d[m], pt()), Le.nextNode(), l.push({ type: 2, index: ++r });
|
|
363
|
+
s.append(d[h], pt());
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
366
|
} else if (s.nodeType === 8)
|
|
367
367
|
if (s.data === is)
|
|
368
368
|
l.push({ type: 2, index: r });
|
|
369
369
|
else {
|
|
370
|
-
let
|
|
371
|
-
for (; (
|
|
372
|
-
l.push({ type: 7, index: r }),
|
|
370
|
+
let d = -1;
|
|
371
|
+
for (; (d = s.data.indexOf(Me, d + 1)) !== -1; )
|
|
372
|
+
l.push({ type: 7, index: r }), d += Me.length - 1;
|
|
373
373
|
}
|
|
374
374
|
r++;
|
|
375
375
|
}
|
|
@@ -544,9 +544,9 @@ class ln {
|
|
|
544
544
|
Qe(this, t);
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
|
-
const cn =
|
|
548
|
-
cn?.(mt, wt), (
|
|
549
|
-
const
|
|
547
|
+
const cn = zi.litHtmlPolyfillSupport;
|
|
548
|
+
cn?.(mt, wt), (zi.litHtmlVersions ??= []).push("3.3.0");
|
|
549
|
+
const un = (o, t, e) => {
|
|
550
550
|
const i = e?.renderBefore ?? t;
|
|
551
551
|
let s = i._$litPart$;
|
|
552
552
|
if (s === void 0) {
|
|
@@ -571,7 +571,7 @@ class Ke extends qe {
|
|
|
571
571
|
}
|
|
572
572
|
update(t) {
|
|
573
573
|
const e = this.render();
|
|
574
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do =
|
|
574
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = un(e, this.renderRoot, this.renderOptions);
|
|
575
575
|
}
|
|
576
576
|
connectedCallback() {
|
|
577
577
|
super.connectedCallback(), this._$Do?.setConnected(!0);
|
|
@@ -584,8 +584,8 @@ class Ke extends qe {
|
|
|
584
584
|
}
|
|
585
585
|
}
|
|
586
586
|
Ke._$litElement$ = !0, Ke.finalized = !0, Ri.litElementHydrateSupport?.({ LitElement: Ke });
|
|
587
|
-
const
|
|
588
|
-
|
|
587
|
+
const dn = Ri.litElementPolyfillSupport;
|
|
588
|
+
dn?.({ LitElement: Ke });
|
|
589
589
|
(Ri.litElementVersions ??= []).push("4.2.0");
|
|
590
590
|
/**
|
|
591
591
|
* @license
|
|
@@ -631,7 +631,7 @@ const hn = (o) => class extends o {
|
|
|
631
631
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
632
632
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
633
633
|
*/
|
|
634
|
-
const rs = [],
|
|
634
|
+
const rs = [], di = /* @__PURE__ */ new Set(), Bi = /* @__PURE__ */ new Set();
|
|
635
635
|
function ns(o) {
|
|
636
636
|
return o && Object.prototype.hasOwnProperty.call(o, "__themes");
|
|
637
637
|
}
|
|
@@ -639,7 +639,7 @@ function pn(o) {
|
|
|
639
639
|
return ns(customElements.get(o));
|
|
640
640
|
}
|
|
641
641
|
function fn(o = []) {
|
|
642
|
-
return [o].flat(1 / 0).filter((t) => t instanceof
|
|
642
|
+
return [o].flat(1 / 0).filter((t) => t instanceof Ni ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
|
|
643
643
|
}
|
|
644
644
|
function as(o, t) {
|
|
645
645
|
return (o || "").split(" ").some((e) => new RegExp(`^${e.split("*").join(".*")}$`, "u").test(t));
|
|
@@ -665,9 +665,9 @@ function _n(o) {
|
|
|
665
665
|
}
|
|
666
666
|
}
|
|
667
667
|
function gn(o) {
|
|
668
|
-
|
|
668
|
+
di.forEach((t) => {
|
|
669
669
|
const e = t.deref();
|
|
670
|
-
e instanceof o ? _n(e) : e ||
|
|
670
|
+
e instanceof o ? _n(e) : e || di.delete(t);
|
|
671
671
|
});
|
|
672
672
|
}
|
|
673
673
|
function cs(o) {
|
|
@@ -710,18 +710,18 @@ function vn(o = "") {
|
|
|
710
710
|
let t = 0;
|
|
711
711
|
return o.startsWith("lumo-") || o.startsWith("material-") ? t = 1 : o.startsWith("vaadin-") && (t = 2), t;
|
|
712
712
|
}
|
|
713
|
-
function
|
|
713
|
+
function us(o) {
|
|
714
714
|
const t = [];
|
|
715
715
|
return o.include && [].concat(o.include).forEach((e) => {
|
|
716
716
|
const i = hi().find((s) => s.moduleId === e);
|
|
717
|
-
i ? t.push(...
|
|
717
|
+
i ? t.push(...us(i), ...i.styles) : console.warn(`Included moduleId ${e} not found in style registry`);
|
|
718
718
|
}, o.styles), t;
|
|
719
719
|
}
|
|
720
720
|
function yn(o) {
|
|
721
721
|
const t = `${o}-default-theme`, e = hi().filter((i) => i.moduleId !== t && as(i.themeFor, o)).map((i) => ({
|
|
722
722
|
...i,
|
|
723
723
|
// Prepend styles from included themes
|
|
724
|
-
styles: [...
|
|
724
|
+
styles: [...us(i), ...i.styles],
|
|
725
725
|
// Map moduleId to includePriority
|
|
726
726
|
includePriority: vn(i.moduleId)
|
|
727
727
|
})).sort((i, s) => s.includePriority - i.includePriority);
|
|
@@ -729,7 +729,7 @@ function yn(o) {
|
|
|
729
729
|
}
|
|
730
730
|
const Ye = (o) => class extends hn(o) {
|
|
731
731
|
constructor() {
|
|
732
|
-
super(),
|
|
732
|
+
super(), di.add(new WeakRef(this));
|
|
733
733
|
}
|
|
734
734
|
/**
|
|
735
735
|
* Covers PolymerElement based component styling
|
|
@@ -939,7 +939,7 @@ it("style-props", Sn);
|
|
|
939
939
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
940
940
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
941
941
|
*/
|
|
942
|
-
const
|
|
942
|
+
const An = P`
|
|
943
943
|
:host {
|
|
944
944
|
/* Base (background) */
|
|
945
945
|
--lumo-base-color: #fff;
|
|
@@ -1025,8 +1025,8 @@ const Cn = P`
|
|
|
1025
1025
|
}
|
|
1026
1026
|
}
|
|
1027
1027
|
`;
|
|
1028
|
-
it("color-props",
|
|
1029
|
-
const
|
|
1028
|
+
it("color-props", An);
|
|
1029
|
+
const Cn = P`
|
|
1030
1030
|
[theme~='dark'] {
|
|
1031
1031
|
/* Base (background) */
|
|
1032
1032
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -1145,7 +1145,7 @@ const An = P`
|
|
|
1145
1145
|
background: transparent;
|
|
1146
1146
|
}
|
|
1147
1147
|
`;
|
|
1148
|
-
L("",
|
|
1148
|
+
L("", Cn, { moduleId: "lumo-color" });
|
|
1149
1149
|
/**
|
|
1150
1150
|
* @license
|
|
1151
1151
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -1271,7 +1271,7 @@ it("typography-props", Pn);
|
|
|
1271
1271
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1272
1272
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1273
1273
|
*/
|
|
1274
|
-
const
|
|
1274
|
+
const ds = P`
|
|
1275
1275
|
:host {
|
|
1276
1276
|
top: var(--lumo-space-m);
|
|
1277
1277
|
right: var(--lumo-space-m);
|
|
@@ -1337,7 +1337,7 @@ const us = P`
|
|
|
1337
1337
|
}
|
|
1338
1338
|
}
|
|
1339
1339
|
`;
|
|
1340
|
-
L("",
|
|
1340
|
+
L("", ds, { moduleId: "lumo-overlay" });
|
|
1341
1341
|
/**
|
|
1342
1342
|
* @license
|
|
1343
1343
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -1437,7 +1437,7 @@ const Dn = P`
|
|
|
1437
1437
|
transform: translateY(150%);
|
|
1438
1438
|
}
|
|
1439
1439
|
}
|
|
1440
|
-
`, ps = [
|
|
1440
|
+
`, ps = [ds, hs, Dn];
|
|
1441
1441
|
L("", ps, { moduleId: "lumo-menu-overlay" });
|
|
1442
1442
|
const Tn = P`
|
|
1443
1443
|
[part='overlay'] {
|
|
@@ -2565,7 +2565,7 @@ L("", ms, { moduleId: "lumo-required-field" });
|
|
|
2565
2565
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2566
2566
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2567
2567
|
*/
|
|
2568
|
-
const
|
|
2568
|
+
const Fn = P`
|
|
2569
2569
|
:host {
|
|
2570
2570
|
--lumo-text-field-size: var(--lumo-size-m);
|
|
2571
2571
|
color: var(--vaadin-input-field-value-color, var(--lumo-body-text-color));
|
|
@@ -2696,11 +2696,11 @@ const Nn = P`
|
|
|
2696
2696
|
[part='clear-button']::before {
|
|
2697
2697
|
content: var(--lumo-icons-cross);
|
|
2698
2698
|
}
|
|
2699
|
-
`, _s = [ms, fs, In,
|
|
2699
|
+
`, _s = [ms, fs, In, Fn];
|
|
2700
2700
|
L("", _s, {
|
|
2701
2701
|
moduleId: "lumo-input-field-shared-styles"
|
|
2702
2702
|
});
|
|
2703
|
-
const
|
|
2703
|
+
const Nn = P`
|
|
2704
2704
|
[part='toggle-button']::before {
|
|
2705
2705
|
content: var(--lumo-icons-calendar);
|
|
2706
2706
|
}
|
|
@@ -2723,7 +2723,7 @@ const zn = P`
|
|
|
2723
2723
|
--_lumo-text-field-overflow-mask-image: none;
|
|
2724
2724
|
}
|
|
2725
2725
|
`;
|
|
2726
|
-
L("vaadin-date-picker", [_s,
|
|
2726
|
+
L("vaadin-date-picker", [_s, Nn], { moduleId: "lumo-date-picker" });
|
|
2727
2727
|
/**
|
|
2728
2728
|
@license
|
|
2729
2729
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -2745,7 +2745,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2745
2745
|
Code distributed by Google as part of the polymer project is also
|
|
2746
2746
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2747
2747
|
*/
|
|
2748
|
-
let
|
|
2748
|
+
let zn = /(url\()([^)]*)(\))/g, Ln = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, St, ue;
|
|
2749
2749
|
function ht(o, t) {
|
|
2750
2750
|
if (o && Ln.test(o) || o === "//")
|
|
2751
2751
|
return o;
|
|
@@ -2763,10 +2763,10 @@ function ht(o, t) {
|
|
|
2763
2763
|
} catch {
|
|
2764
2764
|
return o;
|
|
2765
2765
|
}
|
|
2766
|
-
return
|
|
2766
|
+
return ue || (ue = document.implementation.createHTMLDocument("temp"), ue.base = ue.createElement("base"), ue.head.appendChild(ue.base), ue.anchor = ue.createElement("a"), ue.body.appendChild(ue.anchor)), ue.base.href = t, ue.anchor.href = o, ue.anchor.href || o;
|
|
2767
2767
|
}
|
|
2768
2768
|
function Hi(o, t) {
|
|
2769
|
-
return o.replace(
|
|
2769
|
+
return o.replace(zn, function(e, i, s, r) {
|
|
2770
2770
|
return i + "'" + ht(s.replace(/["']/g, ""), t) + "'" + r;
|
|
2771
2771
|
});
|
|
2772
2772
|
}
|
|
@@ -2795,9 +2795,9 @@ const Rn = gs && "adoptedStyleSheets" in Document.prototype && "replaceSync" in
|
|
|
2795
2795
|
return !1;
|
|
2796
2796
|
}
|
|
2797
2797
|
})();
|
|
2798
|
-
let Bn = window.Polymer && window.Polymer.rootPath || $i(document.baseURI || window.location.href),
|
|
2798
|
+
let Bn = window.Polymer && window.Polymer.rootPath || $i(document.baseURI || window.location.href), Ft = window.Polymer && window.Polymer.sanitizeDOMValue || void 0;
|
|
2799
2799
|
window.Polymer && window.Polymer.setPassiveTouchGestures;
|
|
2800
|
-
let
|
|
2800
|
+
let Nt = window.Polymer && window.Polymer.strictTemplatePolicy || !1, Hn = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, bs = window.Polymer && window.Polymer.legacyOptimizations || !1, vs = window.Polymer && window.Polymer.legacyWarnings || !1, $n = window.Polymer && window.Polymer.syncInitialRender || !1, pi = window.Polymer && window.Polymer.legacyUndefined || !1, Yn = window.Polymer && window.Polymer.orderedComputed || !1, bo = window.Polymer && window.Polymer.removeNestedTemplates || !1, jn = window.Polymer && window.Polymer.fastDomIf || !1, vo = window.Polymer && window.Polymer.suppressTemplateNotifications || !1;
|
|
2801
2801
|
window.Polymer && window.Polymer.legacyNoObservedAttributes;
|
|
2802
2802
|
let Vn = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
|
|
2803
2803
|
/**
|
|
@@ -2923,7 +2923,7 @@ class _t extends HTMLElement {
|
|
|
2923
2923
|
*/
|
|
2924
2924
|
register(t) {
|
|
2925
2925
|
if (t = t || this.id, t) {
|
|
2926
|
-
if (
|
|
2926
|
+
if (Nt && xo(t) !== void 0)
|
|
2927
2927
|
throw yo(t, null), new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);
|
|
2928
2928
|
this.id = t, yo(t, this), Wn(this);
|
|
2929
2929
|
}
|
|
@@ -3067,11 +3067,11 @@ function ct(o) {
|
|
|
3067
3067
|
} else
|
|
3068
3068
|
return o;
|
|
3069
3069
|
}
|
|
3070
|
-
function
|
|
3070
|
+
function As(o) {
|
|
3071
3071
|
return Array.isArray(o) ? ct(o).split(".") : o.toString().split(".");
|
|
3072
3072
|
}
|
|
3073
3073
|
function re(o, t, e) {
|
|
3074
|
-
let i = o, s =
|
|
3074
|
+
let i = o, s = As(t);
|
|
3075
3075
|
for (let r = 0; r < s.length; r++) {
|
|
3076
3076
|
if (!i)
|
|
3077
3077
|
return;
|
|
@@ -3081,7 +3081,7 @@ function re(o, t, e) {
|
|
|
3081
3081
|
return e && (e.path = s.join(".")), i;
|
|
3082
3082
|
}
|
|
3083
3083
|
function So(o, t, e) {
|
|
3084
|
-
let i = o, s =
|
|
3084
|
+
let i = o, s = As(t), r = s[s.length - 1];
|
|
3085
3085
|
if (s.length > 1) {
|
|
3086
3086
|
for (let n = 0; n < s.length - 1; n++) {
|
|
3087
3087
|
let a = s[n];
|
|
@@ -3102,15 +3102,15 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3102
3102
|
Code distributed by Google as part of the polymer project is also
|
|
3103
3103
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3104
3104
|
*/
|
|
3105
|
-
const
|
|
3106
|
-
function
|
|
3107
|
-
return
|
|
3105
|
+
const zt = {}, Qn = /-[a-z]/g, ea = /([A-Z])/g;
|
|
3106
|
+
function Cs(o) {
|
|
3107
|
+
return zt[o] || (zt[o] = o.indexOf("-") < 0 ? o : o.replace(
|
|
3108
3108
|
Qn,
|
|
3109
3109
|
(t) => t[1].toUpperCase()
|
|
3110
3110
|
));
|
|
3111
3111
|
}
|
|
3112
3112
|
function Yt(o) {
|
|
3113
|
-
return
|
|
3113
|
+
return zt[o] || (zt[o] = o.replace(ea, "-$1").toLowerCase());
|
|
3114
3114
|
}
|
|
3115
3115
|
/**
|
|
3116
3116
|
@license
|
|
@@ -3652,12 +3652,12 @@ Code distributed by Google as part of the polymer project is also
|
|
|
3652
3652
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3653
3653
|
*/
|
|
3654
3654
|
const Ms = {};
|
|
3655
|
-
let
|
|
3656
|
-
for (;
|
|
3657
|
-
let o = Object.getOwnPropertyNames(
|
|
3655
|
+
let At = HTMLElement.prototype;
|
|
3656
|
+
for (; At; ) {
|
|
3657
|
+
let o = Object.getOwnPropertyNames(At);
|
|
3658
3658
|
for (let t = 0; t < o.length; t++)
|
|
3659
3659
|
Ms[o[t]] = !0;
|
|
3660
|
-
|
|
3660
|
+
At = Object.getPrototypeOf(At);
|
|
3661
3661
|
}
|
|
3662
3662
|
const na = window.trustedTypes ? (o) => trustedTypes.isHTML(o) || trustedTypes.isScript(o) || trustedTypes.isScriptURL(o) : () => !1;
|
|
3663
3663
|
function aa(o, t) {
|
|
@@ -3685,7 +3685,7 @@ const la = V((o) => {
|
|
|
3685
3685
|
this.observedAttributes
|
|
3686
3686
|
);
|
|
3687
3687
|
for (let r = 0; r < s.length; r++)
|
|
3688
|
-
this.prototype._createPropertyAccessor(
|
|
3688
|
+
this.prototype._createPropertyAccessor(Cs(s[r]));
|
|
3689
3689
|
}
|
|
3690
3690
|
/**
|
|
3691
3691
|
* Returns an attribute name that corresponds to the given property.
|
|
@@ -3882,17 +3882,17 @@ const ca = {
|
|
|
3882
3882
|
"dom-if": !0,
|
|
3883
3883
|
"dom-repeat": !0
|
|
3884
3884
|
};
|
|
3885
|
-
let
|
|
3886
|
-
function
|
|
3887
|
-
if (!
|
|
3888
|
-
|
|
3885
|
+
let Ao = !1, Co = !1;
|
|
3886
|
+
function ua() {
|
|
3887
|
+
if (!Ao) {
|
|
3888
|
+
Ao = !0;
|
|
3889
3889
|
const o = document.createElement("textarea");
|
|
3890
|
-
o.placeholder = "a",
|
|
3890
|
+
o.placeholder = "a", Co = o.placeholder === o.textContent;
|
|
3891
3891
|
}
|
|
3892
|
-
return
|
|
3892
|
+
return Co;
|
|
3893
3893
|
}
|
|
3894
|
-
function
|
|
3895
|
-
|
|
3894
|
+
function da(o) {
|
|
3895
|
+
ua() && o.localName === "textarea" && o.placeholder && o.placeholder === o.textContent && (o.textContent = null);
|
|
3896
3896
|
}
|
|
3897
3897
|
const ha = (() => {
|
|
3898
3898
|
const o = window.trustedTypes && window.trustedTypes.createPolicy(
|
|
@@ -4076,7 +4076,7 @@ const ba = V(
|
|
|
4076
4076
|
/** @type {!HTMLTemplateElement} */
|
|
4077
4077
|
i
|
|
4078
4078
|
);
|
|
4079
|
-
return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, s, r) || n : a.localName === "slot" && (s.hasInsertionPoint = !0),
|
|
4079
|
+
return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, s, r) || n : a.localName === "slot" && (s.hasInsertionPoint = !0), da(a), a.firstChild && this._parseTemplateChildNodes(a, s, r), a.hasAttributes && a.hasAttributes() && (n = this._parseTemplateNodeAttributes(a, s, r) || n), n || r.noted;
|
|
4080
4080
|
}
|
|
4081
4081
|
/**
|
|
4082
4082
|
* Parses template child nodes for the given root node.
|
|
@@ -4095,9 +4095,9 @@ const ba = V(
|
|
|
4095
4095
|
if (!(i.localName === "script" || i.localName === "style"))
|
|
4096
4096
|
for (let n = i.firstChild, a = 0, l; n; n = l) {
|
|
4097
4097
|
if (n.localName == "template" && (n = pa(n)), l = n.nextSibling, n.nodeType === Node.TEXT_NODE) {
|
|
4098
|
-
let
|
|
4099
|
-
for (;
|
|
4100
|
-
n.textContent +=
|
|
4098
|
+
let u = l;
|
|
4099
|
+
for (; u && u.nodeType === Node.TEXT_NODE; )
|
|
4100
|
+
n.textContent += u.textContent, l = u.nextSibling, i.removeChild(u), u = l;
|
|
4101
4101
|
if (s.stripWhiteSpace && !n.textContent.trim()) {
|
|
4102
4102
|
i.removeChild(n);
|
|
4103
4103
|
continue;
|
|
@@ -4228,9 +4228,9 @@ const ba = V(
|
|
|
4228
4228
|
a.__noInsertionPoint = !s.hasInsertionPoint;
|
|
4229
4229
|
let l = a.nodeList = new Array(r.length);
|
|
4230
4230
|
a.$ = {};
|
|
4231
|
-
for (let c = 0,
|
|
4232
|
-
let h = l[c] = Os(a,
|
|
4233
|
-
fa(this, a.$, h,
|
|
4231
|
+
for (let c = 0, u = r.length, d; c < u && (d = r[c]); c++) {
|
|
4232
|
+
let h = l[c] = Os(a, d);
|
|
4233
|
+
fa(this, a.$, h, d), _a(this, h, d, s), ma(this, h, d);
|
|
4234
4234
|
}
|
|
4235
4235
|
return a = /** @type {!StampedTemplate} */
|
|
4236
4236
|
a, a;
|
|
@@ -4314,14 +4314,14 @@ function Gt(o, t, e) {
|
|
|
4314
4314
|
}
|
|
4315
4315
|
return i;
|
|
4316
4316
|
}
|
|
4317
|
-
function
|
|
4317
|
+
function ut(o, t, e, i, s, r) {
|
|
4318
4318
|
if (t) {
|
|
4319
4319
|
let n = !1;
|
|
4320
4320
|
const a = vt++;
|
|
4321
4321
|
for (let l in e) {
|
|
4322
|
-
let c = s ? je(l) : l,
|
|
4323
|
-
if (
|
|
4324
|
-
for (let
|
|
4322
|
+
let c = s ? je(l) : l, u = t[c];
|
|
4323
|
+
if (u)
|
|
4324
|
+
for (let d = 0, h = u.length, m; d < h && (m = u[d]); d++)
|
|
4325
4325
|
(!m.info || m.info.lastRun !== a) && (!s || ji(l, m.trigger)) && (m.info && (m.info.lastRun = a), m.fn(o, l, e, i, m.info, s, r), n = !0);
|
|
4326
4326
|
}
|
|
4327
4327
|
return n;
|
|
@@ -4329,9 +4329,9 @@ function dt(o, t, e, i, s, r) {
|
|
|
4329
4329
|
return !1;
|
|
4330
4330
|
}
|
|
4331
4331
|
function ya(o, t, e, i, s, r, n, a) {
|
|
4332
|
-
let l = !1, c = n ? je(i) : i,
|
|
4333
|
-
if (
|
|
4334
|
-
for (let
|
|
4332
|
+
let l = !1, c = n ? je(i) : i, u = t[c];
|
|
4333
|
+
if (u)
|
|
4334
|
+
for (let d = 0, h = u.length, m; d < h && (m = u[d]); d++)
|
|
4335
4335
|
(!m.info || m.info.lastRun !== e) && (!n || ji(i, m.trigger)) && (m.info && (m.info.lastRun = e), m.fn(o, i, s, r, m.info, n, a), l = !0);
|
|
4336
4336
|
return l;
|
|
4337
4337
|
}
|
|
@@ -4360,11 +4360,11 @@ function wa(o, t, e) {
|
|
|
4360
4360
|
let i = je(t);
|
|
4361
4361
|
if (i !== t) {
|
|
4362
4362
|
let s = Yt(i) + "-changed";
|
|
4363
|
-
return
|
|
4363
|
+
return Fs(o, s, e[t], t), !0;
|
|
4364
4364
|
}
|
|
4365
4365
|
return !1;
|
|
4366
4366
|
}
|
|
4367
|
-
function
|
|
4367
|
+
function Fs(o, t, e, i) {
|
|
4368
4368
|
let s = {
|
|
4369
4369
|
value: e,
|
|
4370
4370
|
queueProperty: !0
|
|
@@ -4376,7 +4376,7 @@ function Ns(o, t, e, i) {
|
|
|
4376
4376
|
}
|
|
4377
4377
|
function Ea(o, t, e, i, s, r) {
|
|
4378
4378
|
let a = (r ? je(t) : t) != t ? t : null, l = a ? re(o, a) : o.__data[t];
|
|
4379
|
-
a && l === void 0 && (l = e[t]),
|
|
4379
|
+
a && l === void 0 && (l = e[t]), Fs(o, s.eventName, l, a);
|
|
4380
4380
|
}
|
|
4381
4381
|
function Sa(o, t, e, i, s) {
|
|
4382
4382
|
let r, n = (
|
|
@@ -4385,9 +4385,9 @@ function Sa(o, t, e, i, s) {
|
|
|
4385
4385
|
), a = n && n.path;
|
|
4386
4386
|
a ? (i = bt(e, i, a), r = n && n.value) : r = o.currentTarget[e], r = s ? !r : r, (!t[D.READ_ONLY] || !t[D.READ_ONLY][i]) && t._setPendingPropertyOrPath(i, r, !0, !!a) && (!n || !n.queueProperty) && t._invalidateProperties();
|
|
4387
4387
|
}
|
|
4388
|
-
function
|
|
4388
|
+
function Aa(o, t, e, i, s) {
|
|
4389
4389
|
let r = o.__data[t];
|
|
4390
|
-
|
|
4390
|
+
Ft && (r = Ft(
|
|
4391
4391
|
r,
|
|
4392
4392
|
s.attrName,
|
|
4393
4393
|
"attribute",
|
|
@@ -4395,7 +4395,7 @@ function Ca(o, t, e, i, s) {
|
|
|
4395
4395
|
o
|
|
4396
4396
|
)), o._propertyToAttribute(t, s.attrName, r);
|
|
4397
4397
|
}
|
|
4398
|
-
function
|
|
4398
|
+
function Ca(o, t, e, i) {
|
|
4399
4399
|
let s = o[D.COMPUTE];
|
|
4400
4400
|
if (s)
|
|
4401
4401
|
if (Yn) {
|
|
@@ -4405,7 +4405,7 @@ function Aa(o, t, e, i) {
|
|
|
4405
4405
|
ko(l, s, n, r, i);
|
|
4406
4406
|
let a;
|
|
4407
4407
|
for (; a = n.shift(); )
|
|
4408
|
-
|
|
4408
|
+
Ns(o, "", t, e, a) && ko(a.methodInfo, s, n, r, i);
|
|
4409
4409
|
Object.assign(
|
|
4410
4410
|
/** @type {!Object} */
|
|
4411
4411
|
e,
|
|
@@ -4417,7 +4417,7 @@ function Aa(o, t, e, i) {
|
|
|
4417
4417
|
), o.__dataPending = null;
|
|
4418
4418
|
} else {
|
|
4419
4419
|
let r = t;
|
|
4420
|
-
for (;
|
|
4420
|
+
for (; ut(o, s, r, e, i); )
|
|
4421
4421
|
Object.assign(
|
|
4422
4422
|
/** @type {!Object} */
|
|
4423
4423
|
e,
|
|
@@ -4481,7 +4481,7 @@ function Da(o) {
|
|
|
4481
4481
|
t[n] || s.push(n);
|
|
4482
4482
|
return { counts: e, ready: s, total: r };
|
|
4483
4483
|
}
|
|
4484
|
-
function
|
|
4484
|
+
function Ns(o, t, e, i, s) {
|
|
4485
4485
|
let r = _i(o, t, e, i, s);
|
|
4486
4486
|
if (r === yt)
|
|
4487
4487
|
return !1;
|
|
@@ -4501,14 +4501,14 @@ function Ta(o, t, e) {
|
|
|
4501
4501
|
function Jt(o, t, e, i, s, r, n) {
|
|
4502
4502
|
e.bindings = e.bindings || [];
|
|
4503
4503
|
let a = { kind: i, target: s, parts: r, literal: n, isCompound: r.length !== 1 };
|
|
4504
|
-
if (e.bindings.push(a),
|
|
4505
|
-
let { event: c, negate:
|
|
4506
|
-
a.listenerEvent = c || Yt(s) + "-changed", a.listenerNegate =
|
|
4504
|
+
if (e.bindings.push(a), Na(a)) {
|
|
4505
|
+
let { event: c, negate: u } = a.parts[0];
|
|
4506
|
+
a.listenerEvent = c || Yt(s) + "-changed", a.listenerNegate = u;
|
|
4507
4507
|
}
|
|
4508
4508
|
let l = t.nodeInfoList.length;
|
|
4509
4509
|
for (let c = 0; c < a.parts.length; c++) {
|
|
4510
|
-
let
|
|
4511
|
-
|
|
4510
|
+
let u = a.parts[c];
|
|
4511
|
+
u.compoundIndex = c, Ma(o, t, a, u, l);
|
|
4512
4512
|
}
|
|
4513
4513
|
}
|
|
4514
4514
|
function Ma(o, t, e, i, s) {
|
|
@@ -4530,15 +4530,15 @@ function Ma(o, t, e, i, s) {
|
|
|
4530
4530
|
function Oa(o, t, e, i, s, r, n) {
|
|
4531
4531
|
let a = n[s.index], l = s.binding, c = s.part;
|
|
4532
4532
|
if (r && c.source && t.length > c.source.length && l.kind == "property" && !l.isCompound && a.__isPropertyEffectsClient && a.__dataHasAccessor && a.__dataHasAccessor[l.target]) {
|
|
4533
|
-
let
|
|
4534
|
-
t = bt(c.source, l.target, t), a._setPendingPropertyOrPath(t,
|
|
4533
|
+
let u = e[t];
|
|
4534
|
+
t = bt(c.source, l.target, t), a._setPendingPropertyOrPath(t, u, !1, !0) && o._enqueueClient(a);
|
|
4535
4535
|
} else {
|
|
4536
|
-
let
|
|
4537
|
-
|
|
4536
|
+
let u = s.evaluator._evaluateBinding(o, c, t, e, i, r);
|
|
4537
|
+
u !== yt && Ia(o, a, l, c, u);
|
|
4538
4538
|
}
|
|
4539
4539
|
}
|
|
4540
4540
|
function Ia(o, t, e, i, s) {
|
|
4541
|
-
if (s =
|
|
4541
|
+
if (s = Fa(t, s, e, i), Ft && (s = Ft(s, e.target, e.kind, t)), e.kind == "attribute")
|
|
4542
4542
|
o._valueToNodeAttribute(
|
|
4543
4543
|
/** @type {Element} */
|
|
4544
4544
|
t,
|
|
@@ -4550,17 +4550,17 @@ function Ia(o, t, e, i, s) {
|
|
|
4550
4550
|
t.__isPropertyEffectsClient && t.__dataHasAccessor && t.__dataHasAccessor[r] ? (!t[D.READ_ONLY] || !t[D.READ_ONLY][r]) && t._setPendingProperty(r, s) && o._enqueueClient(t) : o._setUnmanagedPropertyToNode(t, r, s);
|
|
4551
4551
|
}
|
|
4552
4552
|
}
|
|
4553
|
-
function
|
|
4553
|
+
function Fa(o, t, e, i) {
|
|
4554
4554
|
if (e.isCompound) {
|
|
4555
4555
|
let s = o.__dataCompoundStorage[e.target];
|
|
4556
4556
|
s[i.compoundIndex] = t, t = s.join("");
|
|
4557
4557
|
}
|
|
4558
4558
|
return e.kind !== "attribute" && (e.target === "textContent" || e.target === "value" && (o.localName === "input" || o.localName === "textarea")) && (t = t ?? ""), t;
|
|
4559
4559
|
}
|
|
4560
|
-
function
|
|
4560
|
+
function Na(o) {
|
|
4561
4561
|
return !!o.target && o.kind != "attribute" && o.kind != "text" && !o.isCompound && o.parts[0].mode === "{";
|
|
4562
4562
|
}
|
|
4563
|
-
function
|
|
4563
|
+
function za(o, t) {
|
|
4564
4564
|
let { nodeList: e, nodeInfoList: i } = t;
|
|
4565
4565
|
if (i.length)
|
|
4566
4566
|
for (let s = 0; s < i.length; s++) {
|
|
@@ -4617,7 +4617,7 @@ function _i(o, t, e, i, s) {
|
|
|
4617
4617
|
} else
|
|
4618
4618
|
s.dynamicFn || console.warn("method `" + s.methodName + "` not defined");
|
|
4619
4619
|
}
|
|
4620
|
-
const Ba = [],
|
|
4620
|
+
const Ba = [], zs = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", Ha = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", $a = "(?:'(?:[^'\\\\]|\\\\.)*')", Ya = '(?:"(?:[^"\\\\]|\\\\.)*")', ja = "(?:" + $a + "|" + Ya + ")", To = "(?:(" + zs + "|" + Ha + "|" + ja + ")\\s*)", Va = "(?:" + To + "(?:,\\s*" + To + ")*)", Ua = "(?:\\(\\s*(?:" + Va + "?)\\)\\s*)", Wa = "(" + zs + "\\s*" + Ua + "?)", qa = "(\\[\\[|{{)\\s*", Ka = "(?:]]|}})", Ga = "(?:(!)\\s*)?", Ja = qa + Ga + Wa + Ka, Mo = new RegExp(Ja, "g");
|
|
4621
4621
|
function Oo(o) {
|
|
4622
4622
|
let t = "";
|
|
4623
4623
|
for (let e = 0; e < o.length; e++) {
|
|
@@ -5086,7 +5086,7 @@ const Vi = V((o) => {
|
|
|
5086
5086
|
let a = this.__dataHasPaths;
|
|
5087
5087
|
this.__dataHasPaths = !1;
|
|
5088
5088
|
let l;
|
|
5089
|
-
|
|
5089
|
+
Ca(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(), ut(this, this[D.REFLECT], r, n, a), ut(this, this[D.OBSERVE], r, n, a), l && xa(this, l, r, n, a), this.__dataCounter == 1 && (this.__dataTemp = {});
|
|
5090
5090
|
}
|
|
5091
5091
|
/**
|
|
5092
5092
|
* Called to propagate any property changes to stamped template nodes
|
|
@@ -5100,20 +5100,20 @@ const Vi = V((o) => {
|
|
|
5100
5100
|
* @protected
|
|
5101
5101
|
*/
|
|
5102
5102
|
_propagatePropertyChanges(s, r, n) {
|
|
5103
|
-
this[D.PROPAGATE] &&
|
|
5103
|
+
this[D.PROPAGATE] && ut(this, this[D.PROPAGATE], s, r, n), this.__templateInfo && this._runEffectsForTemplate(this.__templateInfo, s, r, n);
|
|
5104
5104
|
}
|
|
5105
5105
|
_runEffectsForTemplate(s, r, n, a) {
|
|
5106
|
-
const l = (c,
|
|
5107
|
-
|
|
5106
|
+
const l = (c, u) => {
|
|
5107
|
+
ut(
|
|
5108
5108
|
this,
|
|
5109
5109
|
s.propertyEffects,
|
|
5110
5110
|
c,
|
|
5111
5111
|
n,
|
|
5112
|
-
|
|
5112
|
+
u,
|
|
5113
5113
|
s.nodeList
|
|
5114
5114
|
);
|
|
5115
|
-
for (let
|
|
5116
|
-
this._runEffectsForTemplate(
|
|
5115
|
+
for (let d = s.firstChild; d; d = d.nextSibling)
|
|
5116
|
+
this._runEffectsForTemplate(d, c, n, u);
|
|
5117
5117
|
};
|
|
5118
5118
|
s.runEffects ? s.runEffects(l, r, a) : l(r, a);
|
|
5119
5119
|
}
|
|
@@ -5303,8 +5303,8 @@ const Vi = V((o) => {
|
|
|
5303
5303
|
re(this, s, l)
|
|
5304
5304
|
);
|
|
5305
5305
|
r < 0 ? r = c.length - Math.floor(-r) : r && (r = Math.floor(r));
|
|
5306
|
-
let
|
|
5307
|
-
return arguments.length === 2 ?
|
|
5306
|
+
let u;
|
|
5307
|
+
return arguments.length === 2 ? u = c.splice(r) : u = c.splice(r, n, ...a), (a.length || u.length) && rt(this, c, l.path, r, a.length, u), u;
|
|
5308
5308
|
}
|
|
5309
5309
|
/**
|
|
5310
5310
|
* Removes an item from the beginning of array at the path specified.
|
|
@@ -5473,7 +5473,7 @@ const Vi = V((o) => {
|
|
|
5473
5473
|
_createReflectedProperty(s) {
|
|
5474
5474
|
let r = this.constructor.attributeNameForProperty(s);
|
|
5475
5475
|
r[0] === "-" ? console.warn("Property " + s + " cannot be reflected to attribute " + r + ' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.') : this._addPropertyEffect(s, D.REFLECT, {
|
|
5476
|
-
fn:
|
|
5476
|
+
fn: Aa,
|
|
5477
5477
|
info: {
|
|
5478
5478
|
attrName: r
|
|
5479
5479
|
}
|
|
@@ -5496,7 +5496,7 @@ const Vi = V((o) => {
|
|
|
5496
5496
|
let a = Xt(r);
|
|
5497
5497
|
if (!a)
|
|
5498
5498
|
throw new Error("Malformed computed expression '" + r + "'");
|
|
5499
|
-
const l = Do(this, a, D.COMPUTE,
|
|
5499
|
+
const l = Do(this, a, D.COMPUTE, Ns, s, n);
|
|
5500
5500
|
Gt(this, Is)[s] = l;
|
|
5501
5501
|
}
|
|
5502
5502
|
/**
|
|
@@ -5514,18 +5514,18 @@ const Vi = V((o) => {
|
|
|
5514
5514
|
*/
|
|
5515
5515
|
_marshalArgs(s, r, n) {
|
|
5516
5516
|
const a = this.__data, l = [];
|
|
5517
|
-
for (let c = 0,
|
|
5518
|
-
let { name:
|
|
5517
|
+
for (let c = 0, u = s.length; c < u; c++) {
|
|
5518
|
+
let { name: d, structured: h, wildcard: m, value: g, literal: p } = s[c];
|
|
5519
5519
|
if (!p)
|
|
5520
5520
|
if (m) {
|
|
5521
|
-
const _ = gt(
|
|
5521
|
+
const _ = gt(d, r), y = Io(a, n, _ ? r : d);
|
|
5522
5522
|
g = {
|
|
5523
|
-
path: _ ? r :
|
|
5523
|
+
path: _ ? r : d,
|
|
5524
5524
|
value: y,
|
|
5525
|
-
base: _ ? re(a,
|
|
5525
|
+
base: _ ? re(a, d) : y
|
|
5526
5526
|
};
|
|
5527
5527
|
} else
|
|
5528
|
-
g = h ? Io(a, n,
|
|
5528
|
+
g = h ? Io(a, n, d) : a[d];
|
|
5529
5529
|
if (pi && !this._overrideLegacyUndefined && g === void 0 && s.length > 1)
|
|
5530
5530
|
return yt;
|
|
5531
5531
|
l[c] = g;
|
|
@@ -5808,7 +5808,7 @@ const Vi = V((o) => {
|
|
|
5808
5808
|
for (let l = n.firstChild; l; l = l.nextSibling)
|
|
5809
5809
|
a.push(l);
|
|
5810
5810
|
}
|
|
5811
|
-
return n.templateInfo = r,
|
|
5811
|
+
return n.templateInfo = r, za(this, r), this.__dataClientsReady && (this._runEffectsForTemplate(r, this.__data, null, !1), this._flushClients()), n;
|
|
5812
5812
|
}
|
|
5813
5813
|
/**
|
|
5814
5814
|
* Removes and unbinds the nodes previously contained in the provided
|
|
@@ -5824,9 +5824,9 @@ const Vi = V((o) => {
|
|
|
5824
5824
|
const r = s.templateInfo, { previousSibling: n, nextSibling: a, parent: l } = r;
|
|
5825
5825
|
n ? n.nextSibling = a : l && (l.firstChild = a), a ? a.previousSibling = n : l && (l.lastChild = n), r.nextSibling = r.previousSibling = null;
|
|
5826
5826
|
let c = r.childNodes;
|
|
5827
|
-
for (let
|
|
5828
|
-
let
|
|
5829
|
-
K(K(
|
|
5827
|
+
for (let u = 0; u < c.length; u++) {
|
|
5828
|
+
let d = c[u];
|
|
5829
|
+
K(K(d).parentNode).removeChild(d);
|
|
5830
5830
|
}
|
|
5831
5831
|
}
|
|
5832
5832
|
/**
|
|
@@ -5881,10 +5881,10 @@ const Vi = V((o) => {
|
|
|
5881
5881
|
static _parseTemplateNodeAttribute(s, r, n, a, l) {
|
|
5882
5882
|
let c = this._parseBindings(l, r);
|
|
5883
5883
|
if (c) {
|
|
5884
|
-
let
|
|
5885
|
-
va.test(a) ?
|
|
5884
|
+
let u = a, d = "property";
|
|
5885
|
+
va.test(a) ? d = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), d = "attribute");
|
|
5886
5886
|
let h = Oo(c);
|
|
5887
|
-
return h &&
|
|
5887
|
+
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 = Cs(a)), Jt(this, r, n, d, a, c, h), !0;
|
|
5888
5888
|
} else
|
|
5889
5889
|
return t._parseTemplateNodeAttribute.call(
|
|
5890
5890
|
this,
|
|
@@ -5916,10 +5916,10 @@ const Vi = V((o) => {
|
|
|
5916
5916
|
r,
|
|
5917
5917
|
n
|
|
5918
5918
|
);
|
|
5919
|
-
const l = s.parentNode, c = n.templateInfo,
|
|
5920
|
-
bo && (
|
|
5919
|
+
const l = s.parentNode, c = n.templateInfo, u = l.localName === "dom-if", d = l.localName === "dom-repeat";
|
|
5920
|
+
bo && (u || d) && (l.removeChild(s), n = n.parentInfo, n.templateInfo = c, n.noted = !0, a = !1);
|
|
5921
5921
|
let h = c.hostProps;
|
|
5922
|
-
if (jn &&
|
|
5922
|
+
if (jn && u)
|
|
5923
5923
|
h && (r.hostProps = Object.assign(r.hostProps || {}, h), bo || (n.parentInfo.noted = !0));
|
|
5924
5924
|
else {
|
|
5925
5925
|
let m = "{";
|
|
@@ -5979,23 +5979,23 @@ const Vi = V((o) => {
|
|
|
5979
5979
|
let n = [], a = 0, l;
|
|
5980
5980
|
for (; (l = Mo.exec(s)) !== null; ) {
|
|
5981
5981
|
l.index > a && n.push({ literal: s.slice(a, l.index) });
|
|
5982
|
-
let c = l[1][0],
|
|
5983
|
-
c == "{" && (g =
|
|
5984
|
-
let p = Xt(
|
|
5982
|
+
let c = l[1][0], u = !!l[2], d = l[3].trim(), h = !1, m = "", g = -1;
|
|
5983
|
+
c == "{" && (g = d.indexOf("::")) > 0 && (m = d.substring(g + 2), d = d.substring(0, g), h = !0);
|
|
5984
|
+
let p = Xt(d), _ = [];
|
|
5985
5985
|
if (p) {
|
|
5986
5986
|
let { args: y, methodName: v } = p;
|
|
5987
|
-
for (let
|
|
5988
|
-
let k = y[
|
|
5987
|
+
for (let A = 0; A < y.length; A++) {
|
|
5988
|
+
let k = y[A];
|
|
5989
5989
|
k.literal || _.push(k);
|
|
5990
5990
|
}
|
|
5991
|
-
let
|
|
5992
|
-
(
|
|
5991
|
+
let C = r.dynamicFns;
|
|
5992
|
+
(C && C[v] || p.static) && (_.push(v), p.dynamicFn = !0);
|
|
5993
5993
|
} else
|
|
5994
|
-
_.push(
|
|
5994
|
+
_.push(d);
|
|
5995
5995
|
n.push({
|
|
5996
|
-
source:
|
|
5996
|
+
source: d,
|
|
5997
5997
|
mode: c,
|
|
5998
|
-
negate:
|
|
5998
|
+
negate: u,
|
|
5999
5999
|
customEvent: h,
|
|
6000
6000
|
signature: p,
|
|
6001
6001
|
dependencies: _,
|
|
@@ -6026,8 +6026,8 @@ const Vi = V((o) => {
|
|
|
6026
6026
|
* @nocollapse
|
|
6027
6027
|
*/
|
|
6028
6028
|
static _evaluateBinding(s, r, n, a, l, c) {
|
|
6029
|
-
let
|
|
6030
|
-
return r.signature ?
|
|
6029
|
+
let u;
|
|
6030
|
+
return r.signature ? u = _i(s, n, a, l, r.signature) : n != r.source ? u = re(s, r.source) : c && fi(n) ? u = re(s, n) : u = s.__data[n], r.negate && (u = !u), u;
|
|
6031
6031
|
}
|
|
6032
6032
|
}
|
|
6033
6033
|
return e;
|
|
@@ -6209,7 +6209,7 @@ const el = V((o) => {
|
|
|
6209
6209
|
* Google as part of the polymer project is also subject to an additional IP
|
|
6210
6210
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6211
6211
|
*/
|
|
6212
|
-
const tl = "3.5.2",
|
|
6212
|
+
const tl = "3.5.2", Fo = window.ShadyCSS && window.ShadyCSS.cssBuild, il = V((o) => {
|
|
6213
6213
|
const t = el(Vi(o));
|
|
6214
6214
|
function e(l) {
|
|
6215
6215
|
if (!l.hasOwnProperty(
|
|
@@ -6217,9 +6217,9 @@ const tl = "3.5.2", No = window.ShadyCSS && window.ShadyCSS.cssBuild, il = V((o)
|
|
|
6217
6217
|
)) {
|
|
6218
6218
|
l.__propertyDefaults = null;
|
|
6219
6219
|
let c = l._properties;
|
|
6220
|
-
for (let
|
|
6221
|
-
let
|
|
6222
|
-
"value" in
|
|
6220
|
+
for (let u in c) {
|
|
6221
|
+
let d = c[u];
|
|
6222
|
+
"value" in d && (l.__propertyDefaults = l.__propertyDefaults || {}, l.__propertyDefaults[u] = d);
|
|
6223
6223
|
}
|
|
6224
6224
|
}
|
|
6225
6225
|
return l.__propertyDefaults;
|
|
@@ -6234,23 +6234,23 @@ const tl = "3.5.2", No = window.ShadyCSS && window.ShadyCSS.cssBuild, il = V((o)
|
|
|
6234
6234
|
l.observers
|
|
6235
6235
|
) : null), l.__ownObservers;
|
|
6236
6236
|
}
|
|
6237
|
-
function s(l, c,
|
|
6238
|
-
|
|
6237
|
+
function s(l, c, u, d) {
|
|
6238
|
+
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);
|
|
6239
6239
|
}
|
|
6240
|
-
function r(l, c,
|
|
6241
|
-
if (!
|
|
6242
|
-
const h = c.content.querySelectorAll("style"), m = ws(c), g = Xn(
|
|
6240
|
+
function r(l, c, u, d) {
|
|
6241
|
+
if (!Fo) {
|
|
6242
|
+
const h = c.content.querySelectorAll("style"), m = ws(c), g = Xn(u), p = c.content.firstElementChild;
|
|
6243
6243
|
for (let y = 0; y < g.length; y++) {
|
|
6244
6244
|
let v = g[y];
|
|
6245
|
-
v.textContent = l._processStyleText(v.textContent,
|
|
6245
|
+
v.textContent = l._processStyleText(v.textContent, d), c.content.insertBefore(v, p);
|
|
6246
6246
|
}
|
|
6247
6247
|
let _ = 0;
|
|
6248
6248
|
for (let y = 0; y < m.length; y++) {
|
|
6249
|
-
let v = m[y],
|
|
6250
|
-
|
|
6249
|
+
let v = m[y], C = h[_];
|
|
6250
|
+
C !== v ? (v = v.cloneNode(!0), C.parentNode.insertBefore(v, C)) : _++, v.textContent = l._processStyleText(v.textContent, d);
|
|
6251
6251
|
}
|
|
6252
6252
|
}
|
|
6253
|
-
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(c,
|
|
6253
|
+
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(c, u), Vn && Fo && Rn) {
|
|
6254
6254
|
const h = c.content.querySelectorAll("style");
|
|
6255
6255
|
if (h) {
|
|
6256
6256
|
let m = "";
|
|
@@ -6262,8 +6262,8 @@ const tl = "3.5.2", No = window.ShadyCSS && window.ShadyCSS.cssBuild, il = V((o)
|
|
|
6262
6262
|
}
|
|
6263
6263
|
function n(l) {
|
|
6264
6264
|
let c = null;
|
|
6265
|
-
if (l && (!
|
|
6266
|
-
_t.import(l, "template"),
|
|
6265
|
+
if (l && (!Nt || Hn) && (c = /** @type {?HTMLTemplateElement} */
|
|
6266
|
+
_t.import(l, "template"), Nt && !c))
|
|
6267
6267
|
throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
6268
6268
|
return c;
|
|
6269
6269
|
}
|
|
@@ -6306,12 +6306,12 @@ const tl = "3.5.2", No = window.ShadyCSS && window.ShadyCSS.cssBuild, il = V((o)
|
|
|
6306
6306
|
* @nocollapse
|
|
6307
6307
|
*/
|
|
6308
6308
|
static createProperties(c) {
|
|
6309
|
-
for (let
|
|
6309
|
+
for (let u in c)
|
|
6310
6310
|
s(
|
|
6311
6311
|
/** @type {?} */
|
|
6312
6312
|
this.prototype,
|
|
6313
|
-
|
|
6314
|
-
c[
|
|
6313
|
+
u,
|
|
6314
|
+
c[u],
|
|
6315
6315
|
c
|
|
6316
6316
|
);
|
|
6317
6317
|
}
|
|
@@ -6327,10 +6327,10 @@ const tl = "3.5.2", No = window.ShadyCSS && window.ShadyCSS.cssBuild, il = V((o)
|
|
|
6327
6327
|
* @protected
|
|
6328
6328
|
* @nocollapse
|
|
6329
6329
|
*/
|
|
6330
|
-
static createObservers(c,
|
|
6331
|
-
const
|
|
6330
|
+
static createObservers(c, u) {
|
|
6331
|
+
const d = this.prototype;
|
|
6332
6332
|
for (let h = 0; h < c.length; h++)
|
|
6333
|
-
|
|
6333
|
+
d._createMethodObserver(c[h], u);
|
|
6334
6334
|
}
|
|
6335
6335
|
/**
|
|
6336
6336
|
* Returns the template that will be stamped into this element's shadow root.
|
|
@@ -6434,11 +6434,11 @@ const tl = "3.5.2", No = window.ShadyCSS && window.ShadyCSS.cssBuild, il = V((o)
|
|
|
6434
6434
|
if (c)
|
|
6435
6435
|
this._importPath = $i(c.url);
|
|
6436
6436
|
else {
|
|
6437
|
-
const
|
|
6437
|
+
const u = _t.import(
|
|
6438
6438
|
/** @type {PolymerElementConstructor} */
|
|
6439
6439
|
this.is
|
|
6440
6440
|
);
|
|
6441
|
-
this._importPath =
|
|
6441
|
+
this._importPath = u && u.assetpath || Object.getPrototypeOf(
|
|
6442
6442
|
/** @type {PolymerElementConstructor}*/
|
|
6443
6443
|
this.prototype
|
|
6444
6444
|
).constructor.importPath;
|
|
@@ -6468,11 +6468,11 @@ const tl = "3.5.2", No = window.ShadyCSS && window.ShadyCSS.cssBuild, il = V((o)
|
|
|
6468
6468
|
), super._initializeProperties(), this.rootPath = Bn, this.importPath = this.constructor.importPath;
|
|
6469
6469
|
let c = e(this.constructor);
|
|
6470
6470
|
if (c)
|
|
6471
|
-
for (let
|
|
6472
|
-
let
|
|
6473
|
-
if (this._canApplyPropertyDefault(
|
|
6474
|
-
let h = typeof
|
|
6475
|
-
this._hasAccessor(
|
|
6471
|
+
for (let u in c) {
|
|
6472
|
+
let d = c[u];
|
|
6473
|
+
if (this._canApplyPropertyDefault(u)) {
|
|
6474
|
+
let h = typeof d.value == "function" ? d.value.call(this) : d.value;
|
|
6475
|
+
this._hasAccessor(u) ? this._setPendingProperty(u, h, !0) : this[u] = h;
|
|
6476
6476
|
}
|
|
6477
6477
|
}
|
|
6478
6478
|
}
|
|
@@ -6496,8 +6496,8 @@ const tl = "3.5.2", No = window.ShadyCSS && window.ShadyCSS.cssBuild, il = V((o)
|
|
|
6496
6496
|
* @protected
|
|
6497
6497
|
* @nocollapse
|
|
6498
6498
|
*/
|
|
6499
|
-
static _processStyleText(c,
|
|
6500
|
-
return Hi(c,
|
|
6499
|
+
static _processStyleText(c, u) {
|
|
6500
|
+
return Hi(c, u);
|
|
6501
6501
|
}
|
|
6502
6502
|
/**
|
|
6503
6503
|
* Configures an element `proto` to function with a given `template`.
|
|
@@ -6510,11 +6510,11 @@ const tl = "3.5.2", No = window.ShadyCSS && window.ShadyCSS.cssBuild, il = V((o)
|
|
|
6510
6510
|
* @nocollapse
|
|
6511
6511
|
*/
|
|
6512
6512
|
static _finalizeTemplate(c) {
|
|
6513
|
-
const
|
|
6514
|
-
if (
|
|
6515
|
-
|
|
6516
|
-
const
|
|
6517
|
-
r(this,
|
|
6513
|
+
const u = this.prototype._template;
|
|
6514
|
+
if (u && !u.__polymerFinalized) {
|
|
6515
|
+
u.__polymerFinalized = !0;
|
|
6516
|
+
const d = this.importPath, h = d ? ht(d) : "";
|
|
6517
|
+
r(this, u, c, h), this.prototype._bindTemplate(u);
|
|
6518
6518
|
}
|
|
6519
6519
|
}
|
|
6520
6520
|
/**
|
|
@@ -6574,9 +6574,9 @@ const tl = "3.5.2", No = window.ShadyCSS && window.ShadyCSS.cssBuild, il = V((o)
|
|
|
6574
6574
|
* @return {ShadowRoot} node to which the dom has been attached.
|
|
6575
6575
|
*/
|
|
6576
6576
|
_attachDom(c) {
|
|
6577
|
-
const
|
|
6578
|
-
if (
|
|
6579
|
-
return c ? (
|
|
6577
|
+
const u = K(this);
|
|
6578
|
+
if (u.attachShadow)
|
|
6579
|
+
return c ? (u.shadowRoot || (u.attachShadow({ mode: "open", shadyUpgradeFragment: c }), u.shadowRoot.appendChild(c), this.constructor._styleSheet && (u.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), $n && window.ShadyDOM && window.ShadyDOM.flushInitial(u.shadowRoot), u.shadowRoot) : null;
|
|
6580
6580
|
throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.");
|
|
6581
6581
|
}
|
|
6582
6582
|
/**
|
|
@@ -6624,8 +6624,8 @@ const tl = "3.5.2", No = window.ShadyCSS && window.ShadyCSS.cssBuild, il = V((o)
|
|
|
6624
6624
|
* to the element's `importPath`
|
|
6625
6625
|
* @return {string} Rewritten URL relative to base
|
|
6626
6626
|
*/
|
|
6627
|
-
resolveUrl(c,
|
|
6628
|
-
return !
|
|
6627
|
+
resolveUrl(c, u) {
|
|
6628
|
+
return !u && this.importPath && (u = ht(this.importPath)), ht(c, u);
|
|
6629
6629
|
}
|
|
6630
6630
|
/**
|
|
6631
6631
|
* Overrides `PropertyEffects` to add map of dynamic functions on
|
|
@@ -6640,12 +6640,12 @@ const tl = "3.5.2", No = window.ShadyCSS && window.ShadyCSS.cssBuild, il = V((o)
|
|
|
6640
6640
|
* @suppress {missingProperties} Interfaces in closure do not inherit statics, but classes do
|
|
6641
6641
|
* @nocollapse
|
|
6642
6642
|
*/
|
|
6643
|
-
static _parseTemplateContent(c,
|
|
6644
|
-
return
|
|
6643
|
+
static _parseTemplateContent(c, u, d) {
|
|
6644
|
+
return u.dynamicFns = u.dynamicFns || this._properties, t._parseTemplateContent.call(
|
|
6645
6645
|
this,
|
|
6646
6646
|
c,
|
|
6647
|
-
|
|
6648
|
-
|
|
6647
|
+
u,
|
|
6648
|
+
d
|
|
6649
6649
|
);
|
|
6650
6650
|
}
|
|
6651
6651
|
/**
|
|
@@ -6660,18 +6660,18 @@ const tl = "3.5.2", No = window.ShadyCSS && window.ShadyCSS.cssBuild, il = V((o)
|
|
|
6660
6660
|
* @suppress {missingProperties} Interfaces in closure do not inherit statics, but classes do
|
|
6661
6661
|
* @nocollapse
|
|
6662
6662
|
*/
|
|
6663
|
-
static _addTemplatePropertyEffect(c,
|
|
6664
|
-
return vs && !(
|
|
6663
|
+
static _addTemplatePropertyEffect(c, u, d) {
|
|
6664
|
+
return vs && !(u in this._properties) && // Methods used in templates with no dependencies (or only literal
|
|
6665
6665
|
// dependencies) become accessors with template effects; ignore these
|
|
6666
|
-
!(
|
|
6666
|
+
!(d.info.part.signature && d.info.part.signature.static) && // Warnings for bindings added to nested templates are handled by
|
|
6667
6667
|
// templatizer so ignore both the host-to-template bindings
|
|
6668
6668
|
// (`hostProp`) and TemplateInstance-to-child bindings
|
|
6669
6669
|
// (`nestedTemplate`)
|
|
6670
|
-
!
|
|
6670
|
+
!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(
|
|
6671
6671
|
this,
|
|
6672
6672
|
c,
|
|
6673
|
-
|
|
6674
|
-
|
|
6673
|
+
u,
|
|
6674
|
+
d
|
|
6675
6675
|
);
|
|
6676
6676
|
}
|
|
6677
6677
|
}
|
|
@@ -6686,7 +6686,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6686
6686
|
Code distributed by Google as part of the polymer project is also
|
|
6687
6687
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6688
6688
|
*/
|
|
6689
|
-
const
|
|
6689
|
+
const No = window.trustedTypes && trustedTypes.createPolicy("polymer-html-literal", { createHTML: (o) => o });
|
|
6690
6690
|
class Bs {
|
|
6691
6691
|
/**
|
|
6692
6692
|
* @param {!ITemplateArray} strings Constant parts of tagged template literal
|
|
@@ -6740,7 +6740,7 @@ const Ve = function(t, ...e) {
|
|
|
6740
6740
|
(r, n, a) => r + ol(n) + t[a + 1],
|
|
6741
6741
|
t[0]
|
|
6742
6742
|
);
|
|
6743
|
-
return
|
|
6743
|
+
return No && (s = No.createHTML(s)), i.innerHTML = s, i;
|
|
6744
6744
|
}, $s = (o, t) => {
|
|
6745
6745
|
if (!Array.isArray(o) || !Array.isArray(o.raw) || t.length !== o.length - 1)
|
|
6746
6746
|
throw new TypeError("Invalid call to the html template tag");
|
|
@@ -7055,21 +7055,21 @@ function vi() {
|
|
|
7055
7055
|
function Wi() {
|
|
7056
7056
|
return Ui;
|
|
7057
7057
|
}
|
|
7058
|
-
function
|
|
7058
|
+
function ul(o) {
|
|
7059
7059
|
const t = o.style;
|
|
7060
7060
|
if (t.visibility === "hidden" || t.display === "none")
|
|
7061
7061
|
return !0;
|
|
7062
7062
|
const e = window.getComputedStyle(o);
|
|
7063
7063
|
return e.visibility === "hidden" || e.display === "none";
|
|
7064
7064
|
}
|
|
7065
|
-
function
|
|
7065
|
+
function dl(o, t) {
|
|
7066
7066
|
const e = Math.max(o.tabIndex, 0), i = Math.max(t.tabIndex, 0);
|
|
7067
7067
|
return e === 0 || i === 0 ? i > e : e > i;
|
|
7068
7068
|
}
|
|
7069
7069
|
function hl(o, t) {
|
|
7070
7070
|
const e = [];
|
|
7071
7071
|
for (; o.length > 0 && t.length > 0; )
|
|
7072
|
-
|
|
7072
|
+
dl(o[0], t[0]) ? e.push(t.shift()) : e.push(o.shift());
|
|
7073
7073
|
return e.concat(o, t);
|
|
7074
7074
|
}
|
|
7075
7075
|
function yi(o) {
|
|
@@ -7092,7 +7092,7 @@ function fl(o) {
|
|
|
7092
7092
|
return Number(t);
|
|
7093
7093
|
}
|
|
7094
7094
|
function js(o, t) {
|
|
7095
|
-
if (o.nodeType !== Node.ELEMENT_NODE ||
|
|
7095
|
+
if (o.nodeType !== Node.ELEMENT_NODE || ul(o))
|
|
7096
7096
|
return !1;
|
|
7097
7097
|
const e = (
|
|
7098
7098
|
/** @type {HTMLElement} */
|
|
@@ -7170,11 +7170,11 @@ const El = (() => {
|
|
|
7170
7170
|
* Copyright (c) 2017 Anton Korzunov
|
|
7171
7171
|
* SPDX-License-Identifier: MIT
|
|
7172
7172
|
*/
|
|
7173
|
-
let We = /* @__PURE__ */ new WeakMap(),
|
|
7174
|
-
const
|
|
7173
|
+
let We = /* @__PURE__ */ new WeakMap(), Ct = /* @__PURE__ */ new WeakMap(), Pt = {}, Zt = 0;
|
|
7174
|
+
const zo = (o) => o && o.nodeType === Node.ELEMENT_NODE, Qt = (...o) => {
|
|
7175
7175
|
console.error(`Error: ${o.join(" ")}. Skip setting aria-hidden.`);
|
|
7176
|
-
}, Sl = (o, t) =>
|
|
7177
|
-
if (!
|
|
7176
|
+
}, Sl = (o, t) => zo(o) ? t.map((e) => {
|
|
7177
|
+
if (!zo(e))
|
|
7178
7178
|
return Qt(e, "is not a valid element"), null;
|
|
7179
7179
|
let i = e;
|
|
7180
7180
|
for (; i && i !== o; ) {
|
|
@@ -7183,47 +7183,47 @@ const Fo = (o) => o && o.nodeType === Node.ELEMENT_NODE, Qt = (...o) => {
|
|
|
7183
7183
|
i = i.getRootNode().host;
|
|
7184
7184
|
}
|
|
7185
7185
|
return Qt(e, "is not contained inside", o), null;
|
|
7186
|
-
}).filter((e) => !!e) : (Qt(o, "is not a valid element"), []),
|
|
7186
|
+
}).filter((e) => !!e) : (Qt(o, "is not a valid element"), []), Al = (o, t, e, i) => {
|
|
7187
7187
|
const s = Sl(t, Array.isArray(o) ? o : [o]);
|
|
7188
7188
|
Pt[e] || (Pt[e] = /* @__PURE__ */ new WeakMap());
|
|
7189
|
-
const r = Pt[e], n = [], a = /* @__PURE__ */ new Set(), l = new Set(s), c = (
|
|
7190
|
-
if (!
|
|
7189
|
+
const r = Pt[e], n = [], a = /* @__PURE__ */ new Set(), l = new Set(s), c = (d) => {
|
|
7190
|
+
if (!d || a.has(d))
|
|
7191
7191
|
return;
|
|
7192
|
-
a.add(
|
|
7193
|
-
const h =
|
|
7194
|
-
h && c(h), c(
|
|
7192
|
+
a.add(d);
|
|
7193
|
+
const h = d.assignedSlot;
|
|
7194
|
+
h && c(h), c(d.parentNode || d.host);
|
|
7195
7195
|
};
|
|
7196
7196
|
s.forEach(c);
|
|
7197
|
-
const
|
|
7198
|
-
if (!
|
|
7197
|
+
const u = (d) => {
|
|
7198
|
+
if (!d || l.has(d))
|
|
7199
7199
|
return;
|
|
7200
|
-
const h =
|
|
7201
|
-
(h ? [...
|
|
7200
|
+
const h = d.shadowRoot;
|
|
7201
|
+
(h ? [...d.children, ...h.children] : [...d.children]).forEach((g) => {
|
|
7202
7202
|
if (!["template", "script", "style"].includes(g.localName))
|
|
7203
7203
|
if (a.has(g))
|
|
7204
|
-
|
|
7204
|
+
u(g);
|
|
7205
7205
|
else {
|
|
7206
7206
|
const p = g.getAttribute(i), _ = p !== null && p !== "false", y = (We.get(g) || 0) + 1, v = (r.get(g) || 0) + 1;
|
|
7207
|
-
We.set(g, y), r.set(g, v), n.push(g), y === 1 && _ &&
|
|
7207
|
+
We.set(g, y), r.set(g, v), n.push(g), y === 1 && _ && Ct.set(g, !0), v === 1 && g.setAttribute(e, "true"), _ || g.setAttribute(i, "true");
|
|
7208
7208
|
}
|
|
7209
7209
|
});
|
|
7210
7210
|
};
|
|
7211
|
-
return
|
|
7212
|
-
n.forEach((
|
|
7213
|
-
const h = We.get(
|
|
7214
|
-
We.set(
|
|
7215
|
-
}), Zt -= 1, Zt || (We = /* @__PURE__ */ new WeakMap(), We = /* @__PURE__ */ new WeakMap(),
|
|
7211
|
+
return u(t), a.clear(), Zt += 1, () => {
|
|
7212
|
+
n.forEach((d) => {
|
|
7213
|
+
const h = We.get(d) - 1, m = r.get(d) - 1;
|
|
7214
|
+
We.set(d, h), r.set(d, m), h || (Ct.has(d) ? Ct.delete(d) : d.removeAttribute(i)), m || d.removeAttribute(e);
|
|
7215
|
+
}), Zt -= 1, Zt || (We = /* @__PURE__ */ new WeakMap(), We = /* @__PURE__ */ new WeakMap(), Ct = /* @__PURE__ */ new WeakMap(), Pt = {});
|
|
7216
7216
|
};
|
|
7217
7217
|
}, Ks = (o, t = document.body, e = "data-aria-hidden") => {
|
|
7218
7218
|
const i = Array.from(Array.isArray(o) ? o : [o]);
|
|
7219
|
-
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))),
|
|
7219
|
+
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))), Al(i, t, e, "aria-hidden");
|
|
7220
7220
|
};
|
|
7221
7221
|
/**
|
|
7222
7222
|
* @license
|
|
7223
7223
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7224
7224
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7225
7225
|
*/
|
|
7226
|
-
class
|
|
7226
|
+
class Cl {
|
|
7227
7227
|
/**
|
|
7228
7228
|
* @param {HTMLElement} host
|
|
7229
7229
|
*/
|
|
@@ -7450,7 +7450,7 @@ const Dl = (o) => class extends ot(o) {
|
|
|
7450
7450
|
};
|
|
7451
7451
|
}
|
|
7452
7452
|
constructor() {
|
|
7453
|
-
super(), this.__ariaModalController = new
|
|
7453
|
+
super(), this.__ariaModalController = new Cl(this), this.__focusTrapController = new kl(this), this.__focusRestorationController = new Pl();
|
|
7454
7454
|
}
|
|
7455
7455
|
/** @protected */
|
|
7456
7456
|
ready() {
|
|
@@ -7857,7 +7857,7 @@ function Js(o, t, e) {
|
|
|
7857
7857
|
const i = qi(o.getAttribute(t));
|
|
7858
7858
|
i.add(e), o.setAttribute(t, Ut(i));
|
|
7859
7859
|
}
|
|
7860
|
-
function
|
|
7860
|
+
function Fl(o, t, e) {
|
|
7861
7861
|
const i = qi(o.getAttribute(t));
|
|
7862
7862
|
if (i.delete(e), i.size === 0) {
|
|
7863
7863
|
o.removeAttribute(t);
|
|
@@ -7865,7 +7865,7 @@ function Nl(o, t, e) {
|
|
|
7865
7865
|
}
|
|
7866
7866
|
o.setAttribute(t, Ut(i));
|
|
7867
7867
|
}
|
|
7868
|
-
function
|
|
7868
|
+
function Nl(o) {
|
|
7869
7869
|
return o.nodeType === Node.TEXT_NODE && o.textContent.trim() === "";
|
|
7870
7870
|
}
|
|
7871
7871
|
/**
|
|
@@ -7873,7 +7873,7 @@ function zl(o) {
|
|
|
7873
7873
|
* Copyright (c) 2024 Vaadin Ltd.
|
|
7874
7874
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7875
7875
|
*/
|
|
7876
|
-
function
|
|
7876
|
+
function zl(o, t) {
|
|
7877
7877
|
let e = null;
|
|
7878
7878
|
const i = document.documentElement;
|
|
7879
7879
|
function s() {
|
|
@@ -7881,16 +7881,16 @@ function Fl(o, t) {
|
|
|
7881
7881
|
}
|
|
7882
7882
|
function r(n = !1, a = 1) {
|
|
7883
7883
|
s();
|
|
7884
|
-
const { left: l, top: c, width:
|
|
7885
|
-
if (n || t(), !
|
|
7884
|
+
const { left: l, top: c, width: u, height: d } = o.getBoundingClientRect();
|
|
7885
|
+
if (n || t(), !u || !d)
|
|
7886
7886
|
return;
|
|
7887
|
-
const h = Math.floor(c), m = Math.floor(i.clientWidth - (l +
|
|
7887
|
+
const h = Math.floor(c), m = Math.floor(i.clientWidth - (l + u)), g = Math.floor(i.clientHeight - (c + d)), p = Math.floor(l), y = {
|
|
7888
7888
|
rootMargin: `${-h}px ${-m}px ${-g}px ${-p}px`,
|
|
7889
7889
|
threshold: Math.max(0, Math.min(1, a)) || 1
|
|
7890
7890
|
};
|
|
7891
7891
|
let v = !0;
|
|
7892
|
-
function A
|
|
7893
|
-
let k =
|
|
7892
|
+
function C(A) {
|
|
7893
|
+
let k = A[0].intersectionRatio;
|
|
7894
7894
|
if (k !== a) {
|
|
7895
7895
|
if (!v)
|
|
7896
7896
|
return r();
|
|
@@ -7898,7 +7898,7 @@ function Fl(o, t) {
|
|
|
7898
7898
|
}
|
|
7899
7899
|
v = !1;
|
|
7900
7900
|
}
|
|
7901
|
-
e = new IntersectionObserver(
|
|
7901
|
+
e = new IntersectionObserver(C, y), e.observe(o);
|
|
7902
7902
|
}
|
|
7903
7903
|
return r(!0), s;
|
|
7904
7904
|
}
|
|
@@ -8020,7 +8020,7 @@ const ti = {
|
|
|
8020
8020
|
__addUpdatePositionEventListeners() {
|
|
8021
8021
|
window.visualViewport.addEventListener("resize", this._updatePosition), window.visualViewport.addEventListener("scroll", this.__onScroll, !0), this.__positionTargetAncestorRootNodes = Il(this.positionTarget), this.__positionTargetAncestorRootNodes.forEach((e) => {
|
|
8022
8022
|
e.addEventListener("scroll", this.__onScroll, !0);
|
|
8023
|
-
}), this.positionTarget && (this.__observePositionTargetMove =
|
|
8023
|
+
}), this.positionTarget && (this.__observePositionTargetMove = zl(this.positionTarget, () => {
|
|
8024
8024
|
this._updatePosition();
|
|
8025
8025
|
}));
|
|
8026
8026
|
}
|
|
@@ -8105,7 +8105,7 @@ const ti = {
|
|
|
8105
8105
|
}
|
|
8106
8106
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
8107
8107
|
__shouldAlignStart(e, i, s, r, n, a, l) {
|
|
8108
|
-
const c = s - e[a ? l.end : l.start] - r[l.end],
|
|
8108
|
+
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;
|
|
8109
8109
|
return n === m;
|
|
8110
8110
|
}
|
|
8111
8111
|
/**
|
|
@@ -8142,7 +8142,7 @@ const ti = {
|
|
|
8142
8142
|
*/
|
|
8143
8143
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
8144
8144
|
__calculatePositionInOneDimension(e, i, s, r, n, a) {
|
|
8145
|
-
const l = a ? r.start : r.end, c = a ? r.end : r.start,
|
|
8145
|
+
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`;
|
|
8146
8146
|
return {
|
|
8147
8147
|
[l]: m,
|
|
8148
8148
|
[c]: ""
|
|
@@ -8893,8 +8893,8 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
8893
8893
|
Code distributed by Google as part of the polymer project is also
|
|
8894
8894
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
8895
8895
|
*/
|
|
8896
|
-
const
|
|
8897
|
-
let et = class
|
|
8896
|
+
const Ai = /* @__PURE__ */ new Set();
|
|
8897
|
+
let et = class Ci {
|
|
8898
8898
|
/**
|
|
8899
8899
|
* Creates a debouncer if no debouncer is passed as a parameter
|
|
8900
8900
|
* or it cancels an active debouncer otherwise. The following
|
|
@@ -8930,7 +8930,7 @@ let et = class Ai {
|
|
|
8930
8930
|
* @return {!Debouncer} Returns a debouncer object.
|
|
8931
8931
|
*/
|
|
8932
8932
|
static debounce(t, e, i) {
|
|
8933
|
-
return t instanceof
|
|
8933
|
+
return t instanceof Ci ? t._cancelAsync() : t = new Ci(), t.setConfig(e, i), t;
|
|
8934
8934
|
}
|
|
8935
8935
|
constructor() {
|
|
8936
8936
|
this._asyncModule = null, this._callback = null, this._timer = null;
|
|
@@ -8946,7 +8946,7 @@ let et = class Ai {
|
|
|
8946
8946
|
*/
|
|
8947
8947
|
setConfig(t, e) {
|
|
8948
8948
|
this._asyncModule = t, this._callback = e, this._timer = this._asyncModule.run(() => {
|
|
8949
|
-
this._timer = null,
|
|
8949
|
+
this._timer = null, Ai.delete(this), this._callback();
|
|
8950
8950
|
});
|
|
8951
8951
|
}
|
|
8952
8952
|
/**
|
|
@@ -8955,7 +8955,7 @@ let et = class Ai {
|
|
|
8955
8955
|
* @return {void}
|
|
8956
8956
|
*/
|
|
8957
8957
|
cancel() {
|
|
8958
|
-
this.isActive() && (this._cancelAsync(),
|
|
8958
|
+
this.isActive() && (this._cancelAsync(), Ai.delete(this));
|
|
8959
8959
|
}
|
|
8960
8960
|
/**
|
|
8961
8961
|
* Cancels a debouncer's async callback.
|
|
@@ -8986,7 +8986,7 @@ let et = class Ai {
|
|
|
8986
8986
|
}
|
|
8987
8987
|
};
|
|
8988
8988
|
function Ql(o) {
|
|
8989
|
-
|
|
8989
|
+
Ai.add(o);
|
|
8990
8990
|
}
|
|
8991
8991
|
/**
|
|
8992
8992
|
* @license
|
|
@@ -9182,7 +9182,7 @@ class Re extends EventTarget {
|
|
|
9182
9182
|
observeSlot() {
|
|
9183
9183
|
const { slotName: t } = this, e = t === "" ? "slot:not([name])" : `slot[name=${t}]`, i = this.host.shadowRoot.querySelector(e);
|
|
9184
9184
|
this.__slotObserver = new ec(i, ({ addedNodes: s, removedNodes: r }) => {
|
|
9185
|
-
const n = this.multiple ? this.nodes : [this.node], a = s.filter((l) => !
|
|
9185
|
+
const n = this.multiple ? this.nodes : [this.node], a = s.filter((l) => !Nl(l) && !n.includes(l));
|
|
9186
9186
|
r.length && (this.nodes = n.filter((l) => !r.includes(l)), r.forEach((l) => {
|
|
9187
9187
|
this.teardownNode(l);
|
|
9188
9188
|
})), a && a.length > 0 && (this.multiple ? (this.defaultNode && this.defaultNode.remove(), this.nodes = [...n, ...a].filter((l) => l !== this.defaultNode), a.forEach((l) => {
|
|
@@ -9403,10 +9403,10 @@ let cc = !1;
|
|
|
9403
9403
|
} catch {
|
|
9404
9404
|
}
|
|
9405
9405
|
})();
|
|
9406
|
-
function
|
|
9406
|
+
function uc(o) {
|
|
9407
9407
|
Ki(o);
|
|
9408
9408
|
}
|
|
9409
|
-
const
|
|
9409
|
+
const dc = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), hc = {
|
|
9410
9410
|
button: !0,
|
|
9411
9411
|
command: !0,
|
|
9412
9412
|
fieldset: !0,
|
|
@@ -9528,7 +9528,7 @@ function bc(o, t, e) {
|
|
|
9528
9528
|
let n = o[Pi];
|
|
9529
9529
|
n || (o[Pi] = n = {});
|
|
9530
9530
|
for (let a = 0, l, c; a < s.length; a++)
|
|
9531
|
-
l = s[a], !(
|
|
9531
|
+
l = s[a], !(dc && Ki(l) && l !== "click") && (c = n[l], c || (n[l] = c = { _count: 0 }), c._count === 0 && o.addEventListener(l, _c, uc(l)), c[r] = (c[r] || 0) + 1, c._count = (c._count || 0) + 1);
|
|
9532
9532
|
o.addEventListener(t, e), i.touchAction && rr(o, i.touchAction);
|
|
9533
9533
|
}
|
|
9534
9534
|
function Ji(o) {
|
|
@@ -10162,7 +10162,7 @@ function Di(o) {
|
|
|
10162
10162
|
const t = new Date(o);
|
|
10163
10163
|
return t.setHours(0, 0, 0, 0), t;
|
|
10164
10164
|
}
|
|
10165
|
-
function
|
|
10165
|
+
function Ce(o, t, e = Di) {
|
|
10166
10166
|
return o instanceof Date && t instanceof Date && e(o).getTime() === e(t).getTime();
|
|
10167
10167
|
}
|
|
10168
10168
|
function Qi(o) {
|
|
@@ -10209,15 +10209,15 @@ function lt(o) {
|
|
|
10209
10209
|
const e = new Date(0, 0);
|
|
10210
10210
|
return e.setFullYear(parseInt(t[1], 10)), e.setMonth(parseInt(t[2], 10) - 1), e.setDate(parseInt(t[3], 10)), e;
|
|
10211
10211
|
}
|
|
10212
|
-
function
|
|
10212
|
+
function Ac(o) {
|
|
10213
10213
|
const t = (l, c = "00") => (c + l).substr((c + l).length - c.length);
|
|
10214
10214
|
let e = "", i = "0000", s = o.year;
|
|
10215
10215
|
s < 0 ? (s = -s, e = "-", i = "000000") : o.year >= 1e4 && (e = "+", i = "000000");
|
|
10216
10216
|
const r = e + t(s, i), n = t(o.month + 1), a = t(o.day);
|
|
10217
10217
|
return [r, n, a].join("-");
|
|
10218
10218
|
}
|
|
10219
|
-
function
|
|
10220
|
-
return o instanceof Date ?
|
|
10219
|
+
function Cc(o) {
|
|
10220
|
+
return o instanceof Date ? Ac({
|
|
10221
10221
|
year: o.getFullYear(),
|
|
10222
10222
|
month: o.getMonth(),
|
|
10223
10223
|
day: o.getDate()
|
|
@@ -10358,8 +10358,8 @@ const eo = function() {
|
|
|
10358
10358
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10359
10359
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10360
10360
|
*/
|
|
10361
|
-
const
|
|
10362
|
-
|
|
10361
|
+
const ur = document.createElement("template");
|
|
10362
|
+
ur.innerHTML = `
|
|
10363
10363
|
<style>
|
|
10364
10364
|
:host {
|
|
10365
10365
|
display: block;
|
|
@@ -10410,9 +10410,9 @@ dr.innerHTML = `
|
|
|
10410
10410
|
<div id="fullHeight"></div>
|
|
10411
10411
|
</div>
|
|
10412
10412
|
`;
|
|
10413
|
-
class
|
|
10413
|
+
class dr extends HTMLElement {
|
|
10414
10414
|
constructor() {
|
|
10415
|
-
super(), this.attachShadow({ mode: "open" }).appendChild(
|
|
10415
|
+
super(), this.attachShadow({ mode: "open" }).appendChild(ur.content.cloneNode(!0)), this.bufferSize = 20, this._initialScroll = 5e5, this._initialIndex = 0, this._activated = !1;
|
|
10416
10416
|
}
|
|
10417
10417
|
/**
|
|
10418
10418
|
* @return {boolean}
|
|
@@ -10583,7 +10583,7 @@ hr.innerHTML = `
|
|
|
10583
10583
|
}
|
|
10584
10584
|
</style>
|
|
10585
10585
|
`;
|
|
10586
|
-
class Dc extends
|
|
10586
|
+
class Dc extends dr {
|
|
10587
10587
|
static get is() {
|
|
10588
10588
|
return "vaadin-date-picker-month-scroller";
|
|
10589
10589
|
}
|
|
@@ -10649,7 +10649,7 @@ pr.innerHTML = `
|
|
|
10649
10649
|
}
|
|
10650
10650
|
</style>
|
|
10651
10651
|
`;
|
|
10652
|
-
class Tc extends
|
|
10652
|
+
class Tc extends dr {
|
|
10653
10653
|
static get is() {
|
|
10654
10654
|
return "vaadin-date-picker-year-scroller";
|
|
10655
10655
|
}
|
|
@@ -10824,11 +10824,11 @@ Mi.prototype = Object.create(HTMLTemplateElement.prototype, {
|
|
|
10824
10824
|
writable: !0
|
|
10825
10825
|
}
|
|
10826
10826
|
});
|
|
10827
|
-
const fr = Vi(Mi),
|
|
10828
|
-
function
|
|
10827
|
+
const fr = Vi(Mi), Fc = io(fr);
|
|
10828
|
+
function Nc(o, t) {
|
|
10829
10829
|
Ti = o, Object.setPrototypeOf(o, t.prototype), new t(), Ti = null;
|
|
10830
10830
|
}
|
|
10831
|
-
const
|
|
10831
|
+
const zc = Vi(class {
|
|
10832
10832
|
});
|
|
10833
10833
|
function Lc(o, t) {
|
|
10834
10834
|
for (let e = 0; e < t.length; e++) {
|
|
@@ -10848,7 +10848,7 @@ function Lc(o, t) {
|
|
|
10848
10848
|
i.__hideTemplateChildren__ = o, i._showHideChildren && i._showHideChildren(o);
|
|
10849
10849
|
}
|
|
10850
10850
|
}
|
|
10851
|
-
class
|
|
10851
|
+
class Fe extends zc {
|
|
10852
10852
|
constructor(t) {
|
|
10853
10853
|
super(), this._configureProperties(t), this.root = this._stampTemplate(this.__dataHost);
|
|
10854
10854
|
let e = [];
|
|
@@ -10965,23 +10965,23 @@ class Ne extends Fc {
|
|
|
10965
10965
|
return !0;
|
|
10966
10966
|
}
|
|
10967
10967
|
}
|
|
10968
|
-
|
|
10969
|
-
|
|
10970
|
-
|
|
10971
|
-
|
|
10972
|
-
|
|
10968
|
+
Fe.prototype.__dataHost;
|
|
10969
|
+
Fe.prototype.__templatizeOptions;
|
|
10970
|
+
Fe.prototype._methodHost;
|
|
10971
|
+
Fe.prototype.__templatizeOwner;
|
|
10972
|
+
Fe.prototype.__hostProps;
|
|
10973
10973
|
const Rc = io(
|
|
10974
10974
|
// This cast shouldn't be neccessary, but Closure doesn't understand that
|
|
10975
10975
|
// TemplateInstanceBase is a constructor function.
|
|
10976
10976
|
/** @type {function(new:TemplateInstanceBase)} */
|
|
10977
|
-
|
|
10977
|
+
Fe
|
|
10978
10978
|
);
|
|
10979
10979
|
function Uo(o) {
|
|
10980
10980
|
let t = o.__dataHost;
|
|
10981
10981
|
return t && t._methodHost || t;
|
|
10982
10982
|
}
|
|
10983
10983
|
function Bc(o, t, e) {
|
|
10984
|
-
let i = e.mutableData ? Rc :
|
|
10984
|
+
let i = e.mutableData ? Rc : Fe;
|
|
10985
10985
|
Oi.mixin && (i = Oi.mixin(i));
|
|
10986
10986
|
let s = class extends i {
|
|
10987
10987
|
};
|
|
@@ -10994,7 +10994,7 @@ function Hc(o, t, e, i) {
|
|
|
10994
10994
|
let n = t.templatizeTemplateClass;
|
|
10995
10995
|
if (!n) {
|
|
10996
10996
|
if (r) {
|
|
10997
|
-
let l = e.mutableData ?
|
|
10997
|
+
let l = e.mutableData ? Fc : fr;
|
|
10998
10998
|
class c extends l {
|
|
10999
10999
|
}
|
|
11000
11000
|
n = t.templatizeTemplateClass = c;
|
|
@@ -11014,7 +11014,7 @@ function Hc(o, t, e, i) {
|
|
|
11014
11014
|
vs && i && Uc(t, e, i);
|
|
11015
11015
|
}
|
|
11016
11016
|
if (o.__dataProto && Object.assign(o.__data, o.__dataProto), r)
|
|
11017
|
-
|
|
11017
|
+
Nc(o, n), o.__dataTemp = {}, o.__dataPending = null, o.__dataOld = null, o._enableProperties();
|
|
11018
11018
|
else {
|
|
11019
11019
|
Object.setPrototypeOf(o, n.prototype);
|
|
11020
11020
|
const a = t.hostProps;
|
|
@@ -11070,13 +11070,13 @@ function Vc() {
|
|
|
11070
11070
|
};
|
|
11071
11071
|
}
|
|
11072
11072
|
function Oi(o, t, e) {
|
|
11073
|
-
if (
|
|
11073
|
+
if (Nt && !Uo(o))
|
|
11074
11074
|
throw new Error("strictTemplatePolicy: template owner not trusted");
|
|
11075
11075
|
if (e = /** @type {!TemplatizeOptions} */
|
|
11076
11076
|
e || {}, o.__templatizeOwner)
|
|
11077
11077
|
throw new Error("A <template> can only be templatized once");
|
|
11078
11078
|
o.__templatizeOwner = t;
|
|
11079
|
-
let s = (t ? t.constructor :
|
|
11079
|
+
let s = (t ? t.constructor : Fe)._parseTemplate(o), r = s.templatizeInstanceClass;
|
|
11080
11080
|
r || (r = Bc(o, s, e), s.templatizeInstanceClass = r);
|
|
11081
11081
|
const n = Uo(o);
|
|
11082
11082
|
Hc(o, s, e, n);
|
|
@@ -11691,7 +11691,7 @@ const Gc = (o) => class extends Zi(o) {
|
|
|
11691
11691
|
return ["__focusedDateChanged(focusedDate, _days)"];
|
|
11692
11692
|
}
|
|
11693
11693
|
get focusableDateElement() {
|
|
11694
|
-
return [...this.shadowRoot.querySelectorAll("[part~=date]")].find((e) =>
|
|
11694
|
+
return [...this.shadowRoot.querySelectorAll("[part~=date]")].find((e) => Ce(e.date, this.focusedDate));
|
|
11695
11695
|
}
|
|
11696
11696
|
/** @protected */
|
|
11697
11697
|
ready() {
|
|
@@ -11732,14 +11732,14 @@ const Gc = (o) => class extends Zi(o) {
|
|
|
11732
11732
|
if (e === void 0 || i === void 0)
|
|
11733
11733
|
return [];
|
|
11734
11734
|
const { weekdays: s, weekdaysShort: r, firstDayOfWeek: n } = e, a = this._applyFirstDayOfWeek(r, n);
|
|
11735
|
-
return this._applyFirstDayOfWeek(s, n).map((c,
|
|
11735
|
+
return this._applyFirstDayOfWeek(s, n).map((c, u) => ({
|
|
11736
11736
|
weekDay: c,
|
|
11737
|
-
weekDayShort: a[
|
|
11737
|
+
weekDayShort: a[u]
|
|
11738
11738
|
})).slice(0, 7);
|
|
11739
11739
|
}
|
|
11740
11740
|
/** @private */
|
|
11741
11741
|
__focusedDateChanged(e, i) {
|
|
11742
|
-
Array.isArray(i) && i.some((s) =>
|
|
11742
|
+
Array.isArray(i) && i.some((s) => Ce(s, e)) ? this.removeAttribute("aria-hidden") : this.setAttribute("aria-hidden", "true");
|
|
11743
11743
|
}
|
|
11744
11744
|
/** @protected */
|
|
11745
11745
|
_getDate(e) {
|
|
@@ -11751,7 +11751,7 @@ const Gc = (o) => class extends Zi(o) {
|
|
|
11751
11751
|
}
|
|
11752
11752
|
/** @protected */
|
|
11753
11753
|
_isToday(e) {
|
|
11754
|
-
return
|
|
11754
|
+
return Ce(/* @__PURE__ */ new Date(), e);
|
|
11755
11755
|
}
|
|
11756
11756
|
/** @protected */
|
|
11757
11757
|
_getDays(e, i) {
|
|
@@ -11945,11 +11945,11 @@ class Xc extends Gc(Ye(Ie)) {
|
|
|
11945
11945
|
}
|
|
11946
11946
|
/** @private */
|
|
11947
11947
|
__isDayFocused(t, e) {
|
|
11948
|
-
return
|
|
11948
|
+
return Ce(t, e);
|
|
11949
11949
|
}
|
|
11950
11950
|
/** @private */
|
|
11951
11951
|
__isDaySelected(t, e) {
|
|
11952
|
-
return
|
|
11952
|
+
return Ce(t, e);
|
|
11953
11953
|
}
|
|
11954
11954
|
/** @private */
|
|
11955
11955
|
__getDayAriaSelected(t, e) {
|
|
@@ -12228,9 +12228,9 @@ const Zc = (o) => class extends o {
|
|
|
12228
12228
|
e && (e.textContent = i && i.today, e.disabled = !this._isTodayAllowed(s, r, n));
|
|
12229
12229
|
}
|
|
12230
12230
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
12231
|
-
__updateCalendars(e, i, s, r, n, a, l, c,
|
|
12231
|
+
__updateCalendars(e, i, s, r, n, a, l, c, u, d) {
|
|
12232
12232
|
e && e.length && e.forEach((h) => {
|
|
12233
|
-
h.i18n = i, h.minDate = s, h.maxDate = r, h.isDateDisabled =
|
|
12233
|
+
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");
|
|
12234
12234
|
});
|
|
12235
12235
|
}
|
|
12236
12236
|
/** @private */
|
|
@@ -12366,19 +12366,19 @@ const Zc = (o) => class extends o {
|
|
|
12366
12366
|
this._revealPromise = new Promise((c) => {
|
|
12367
12367
|
s = c;
|
|
12368
12368
|
});
|
|
12369
|
-
const r = (c,
|
|
12369
|
+
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));
|
|
12370
12370
|
let n = 0;
|
|
12371
12371
|
const a = this._monthScroller.position, l = (c) => {
|
|
12372
12372
|
n || (n = c);
|
|
12373
|
-
const
|
|
12374
|
-
if (
|
|
12375
|
-
const
|
|
12376
|
-
|
|
12373
|
+
const u = c - n;
|
|
12374
|
+
if (u < this.scrollDuration) {
|
|
12375
|
+
const d = r(
|
|
12376
|
+
u,
|
|
12377
12377
|
a,
|
|
12378
12378
|
this._targetPosition - a,
|
|
12379
12379
|
this.scrollDuration
|
|
12380
12380
|
);
|
|
12381
|
-
this._monthScroller.position =
|
|
12381
|
+
this._monthScroller.position = d, window.requestAnimationFrame(l);
|
|
12382
12382
|
} else
|
|
12383
12383
|
this.dispatchEvent(
|
|
12384
12384
|
new CustomEvent("scroll-animation-finished", {
|
|
@@ -12474,7 +12474,7 @@ const Zc = (o) => class extends o {
|
|
|
12474
12474
|
}
|
|
12475
12475
|
/** @private */
|
|
12476
12476
|
__toggleDate(e) {
|
|
12477
|
-
|
|
12477
|
+
Ce(e, this.selectedDate) ? (this._clear(), this.focusedDate = e) : this._selectDate(e);
|
|
12478
12478
|
}
|
|
12479
12479
|
/** @private */
|
|
12480
12480
|
__onMonthCalendarKeyDown(e) {
|
|
@@ -12546,7 +12546,7 @@ const Zc = (o) => class extends o {
|
|
|
12546
12546
|
__tryFocusDate() {
|
|
12547
12547
|
if (this.__pendingDateFocus) {
|
|
12548
12548
|
const i = this.focusableDateElement;
|
|
12549
|
-
i &&
|
|
12549
|
+
i && Ce(i.date, this.__pendingDateFocus) && (delete this.__pendingDateFocus, i.focus());
|
|
12550
12550
|
}
|
|
12551
12551
|
}
|
|
12552
12552
|
async focusDate(e, i) {
|
|
@@ -12682,7 +12682,7 @@ const Qc = P`
|
|
|
12682
12682
|
L("vaadin-date-picker-overlay-content", Qc, {
|
|
12683
12683
|
moduleId: "vaadin-date-picker-overlay-content-styles"
|
|
12684
12684
|
});
|
|
12685
|
-
class
|
|
12685
|
+
class eu extends Zc(
|
|
12686
12686
|
ot(Ye(jt(Ie)))
|
|
12687
12687
|
) {
|
|
12688
12688
|
static get template() {
|
|
@@ -12716,7 +12716,7 @@ class ed extends Zc(
|
|
|
12716
12716
|
super.ready(), this.setAttribute("role", "dialog"), this._addListeners(), this._initControllers();
|
|
12717
12717
|
}
|
|
12718
12718
|
}
|
|
12719
|
-
be(
|
|
12719
|
+
be(eu);
|
|
12720
12720
|
/**
|
|
12721
12721
|
* @license
|
|
12722
12722
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
@@ -12880,14 +12880,14 @@ const _r = V(
|
|
|
12880
12880
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12881
12881
|
*/
|
|
12882
12882
|
const ni = /* @__PURE__ */ new WeakMap();
|
|
12883
|
-
function
|
|
12883
|
+
function tu(o) {
|
|
12884
12884
|
return ni.has(o) || ni.set(o, /* @__PURE__ */ new Set()), ni.get(o);
|
|
12885
12885
|
}
|
|
12886
|
-
function
|
|
12886
|
+
function iu(o, t) {
|
|
12887
12887
|
const e = document.createElement("style");
|
|
12888
12888
|
e.textContent = o, t === document ? document.head.appendChild(e) : t.insertBefore(e, t.firstChild);
|
|
12889
12889
|
}
|
|
12890
|
-
const
|
|
12890
|
+
const ou = V(
|
|
12891
12891
|
(o) => class extends o {
|
|
12892
12892
|
/**
|
|
12893
12893
|
* List of styles to insert into root.
|
|
@@ -12902,9 +12902,9 @@ const od = V(
|
|
|
12902
12902
|
}
|
|
12903
12903
|
/** @private */
|
|
12904
12904
|
__applySlotStyles() {
|
|
12905
|
-
const e = this.getRootNode(), i =
|
|
12905
|
+
const e = this.getRootNode(), i = tu(e);
|
|
12906
12906
|
this.slotStyles.forEach((s) => {
|
|
12907
|
-
i.has(s) || (
|
|
12907
|
+
i.has(s) || (iu(s, e), i.add(s));
|
|
12908
12908
|
});
|
|
12909
12909
|
}
|
|
12910
12910
|
}
|
|
@@ -13118,7 +13118,7 @@ const gr = V(
|
|
|
13118
13118
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13119
13119
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13120
13120
|
*/
|
|
13121
|
-
const
|
|
13121
|
+
const su = (o) => class extends gr(Wt(o)) {
|
|
13122
13122
|
static get properties() {
|
|
13123
13123
|
return {
|
|
13124
13124
|
/**
|
|
@@ -13209,7 +13209,7 @@ function vr(o, t) {
|
|
|
13209
13209
|
const i = qi(o.getAttribute(t));
|
|
13210
13210
|
e.set(o, new Set(i));
|
|
13211
13211
|
}
|
|
13212
|
-
function
|
|
13212
|
+
function ru(o, t) {
|
|
13213
13213
|
if (!o)
|
|
13214
13214
|
return;
|
|
13215
13215
|
const e = oo(t), i = e.get(o);
|
|
@@ -13223,11 +13223,11 @@ function li(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
|
13223
13223
|
s && a.delete(s), i && a.add(i);
|
|
13224
13224
|
return;
|
|
13225
13225
|
}
|
|
13226
|
-
r && (a ? i || n.delete(o) : vr(o, t), br(o, t)),
|
|
13226
|
+
r && (a ? i || n.delete(o) : vr(o, t), br(o, t)), Fl(o, t, s);
|
|
13227
13227
|
const l = i || Ut(a);
|
|
13228
13228
|
l && Js(o, t, l);
|
|
13229
13229
|
}
|
|
13230
|
-
function
|
|
13230
|
+
function nu(o, t) {
|
|
13231
13231
|
vr(o, t), br(o, t);
|
|
13232
13232
|
}
|
|
13233
13233
|
/**
|
|
@@ -13235,7 +13235,7 @@ function nd(o, t) {
|
|
|
13235
13235
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13236
13236
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13237
13237
|
*/
|
|
13238
|
-
class
|
|
13238
|
+
class au {
|
|
13239
13239
|
constructor(t) {
|
|
13240
13240
|
this.host = t, this.__required = !1;
|
|
13241
13241
|
}
|
|
@@ -13308,7 +13308,7 @@ class ad {
|
|
|
13308
13308
|
* @private
|
|
13309
13309
|
* */
|
|
13310
13310
|
__setAriaLabelToAttribute(t) {
|
|
13311
|
-
this.__target && (t ? (
|
|
13311
|
+
this.__target && (t ? (nu(this.__target, "aria-labelledby"), this.__target.setAttribute("aria-label", t)) : this.__label && (ru(this.__target, "aria-labelledby"), this.__target.removeAttribute("aria-label")));
|
|
13312
13312
|
}
|
|
13313
13313
|
/**
|
|
13314
13314
|
* @param {string | null | undefined} labelId
|
|
@@ -13354,7 +13354,7 @@ pe.style.clip = "rect(0px, 0px, 0px, 0px)";
|
|
|
13354
13354
|
pe.setAttribute("aria-live", "polite");
|
|
13355
13355
|
document.body.appendChild(pe);
|
|
13356
13356
|
let kt;
|
|
13357
|
-
function
|
|
13357
|
+
function lu(o, t = {}) {
|
|
13358
13358
|
const e = t.mode || "polite", i = t.timeout === void 0 ? 150 : t.timeout;
|
|
13359
13359
|
e === "alert" ? (pe.removeAttribute("aria-live"), pe.removeAttribute("role"), kt = et.debounce(kt, Jl, () => {
|
|
13360
13360
|
pe.setAttribute("role", "alert");
|
|
@@ -13482,7 +13482,7 @@ class so extends Re {
|
|
|
13482
13482
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13483
13483
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13484
13484
|
*/
|
|
13485
|
-
class
|
|
13485
|
+
class cu extends so {
|
|
13486
13486
|
constructor(t) {
|
|
13487
13487
|
super(t, "error-message", "div");
|
|
13488
13488
|
}
|
|
@@ -13556,7 +13556,7 @@ class cd extends so {
|
|
|
13556
13556
|
*/
|
|
13557
13557
|
updateDefaultNode(t) {
|
|
13558
13558
|
const { errorMessage: e, invalid: i } = this, s = !!(i && e && e.trim() !== "");
|
|
13559
|
-
t && (t.textContent = s ? e : "", t.hidden = !s, s &&
|
|
13559
|
+
t && (t.textContent = s ? e : "", t.hidden = !s, s && lu(e, { mode: "assertive" })), super.updateDefaultNode(t);
|
|
13560
13560
|
}
|
|
13561
13561
|
}
|
|
13562
13562
|
/**
|
|
@@ -13564,7 +13564,7 @@ class cd extends so {
|
|
|
13564
13564
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13565
13565
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13566
13566
|
*/
|
|
13567
|
-
class
|
|
13567
|
+
class uu extends so {
|
|
13568
13568
|
constructor(t) {
|
|
13569
13569
|
super(t, "helper", null);
|
|
13570
13570
|
}
|
|
@@ -13619,7 +13619,7 @@ class dd extends so {
|
|
|
13619
13619
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13620
13620
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13621
13621
|
*/
|
|
13622
|
-
class
|
|
13622
|
+
class du extends so {
|
|
13623
13623
|
constructor(t) {
|
|
13624
13624
|
super(t, "label", "label");
|
|
13625
13625
|
}
|
|
@@ -13672,7 +13672,7 @@ class ud extends so {
|
|
|
13672
13672
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13673
13673
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13674
13674
|
*/
|
|
13675
|
-
const
|
|
13675
|
+
const hu = V(
|
|
13676
13676
|
(o) => class extends ot(o) {
|
|
13677
13677
|
static get properties() {
|
|
13678
13678
|
return {
|
|
@@ -13687,7 +13687,7 @@ const hd = V(
|
|
|
13687
13687
|
};
|
|
13688
13688
|
}
|
|
13689
13689
|
constructor() {
|
|
13690
|
-
super(), this._labelController = new
|
|
13690
|
+
super(), this._labelController = new du(this), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
13691
13691
|
this.toggleAttribute("has-label", e.detail.hasContent);
|
|
13692
13692
|
});
|
|
13693
13693
|
}
|
|
@@ -13787,7 +13787,7 @@ const yr = V(
|
|
|
13787
13787
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13788
13788
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13789
13789
|
*/
|
|
13790
|
-
const
|
|
13790
|
+
const pu = (o) => class extends yr(hu(ot(o))) {
|
|
13791
13791
|
static get properties() {
|
|
13792
13792
|
return {
|
|
13793
13793
|
/**
|
|
@@ -13837,7 +13837,7 @@ const pd = (o) => class extends yr(hd(ot(o))) {
|
|
|
13837
13837
|
return ["_invalidChanged(invalid)", "_requiredChanged(required)"];
|
|
13838
13838
|
}
|
|
13839
13839
|
constructor() {
|
|
13840
|
-
super(), this._fieldAriaController = new
|
|
13840
|
+
super(), this._fieldAriaController = new au(this), this._helperController = new uu(this), this._errorController = new cu(this), this._errorController.addEventListener("slot-content-changed", (e) => {
|
|
13841
13841
|
this.toggleAttribute("has-error-message", e.detail.hasContent);
|
|
13842
13842
|
}), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
13843
13843
|
const { hasContent: i, node: s } = e.detail;
|
|
@@ -13928,7 +13928,7 @@ const pd = (o) => class extends yr(hd(ot(o))) {
|
|
|
13928
13928
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13929
13929
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13930
13930
|
*/
|
|
13931
|
-
const
|
|
13931
|
+
const fu = V(
|
|
13932
13932
|
(o) => class extends o {
|
|
13933
13933
|
static get properties() {
|
|
13934
13934
|
return {
|
|
@@ -14010,7 +14010,7 @@ const fd = V(
|
|
|
14010
14010
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14011
14011
|
*/
|
|
14012
14012
|
const xr = V(
|
|
14013
|
-
(o) => class extends
|
|
14013
|
+
(o) => class extends fu(yr(gr(o))) {
|
|
14014
14014
|
/**
|
|
14015
14015
|
* An array of attributes which participate in the input validation.
|
|
14016
14016
|
* Changing these attributes will cause the input to re-validate.
|
|
@@ -14094,8 +14094,8 @@ const xr = V(
|
|
|
14094
14094
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14095
14095
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14096
14096
|
*/
|
|
14097
|
-
const
|
|
14098
|
-
_r(xr(
|
|
14097
|
+
const mu = (o) => class extends ou(
|
|
14098
|
+
_r(xr(pu(su(Wt(o)))))
|
|
14099
14099
|
) {
|
|
14100
14100
|
static get properties() {
|
|
14101
14101
|
return {
|
|
@@ -14281,7 +14281,7 @@ const md = (o) => class extends od(
|
|
|
14281
14281
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14282
14282
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14283
14283
|
*/
|
|
14284
|
-
class
|
|
14284
|
+
class _u extends Re {
|
|
14285
14285
|
constructor(t, e, i = {}) {
|
|
14286
14286
|
const { uniqueIdPrefix: s } = i;
|
|
14287
14287
|
super(t, "input", "input", {
|
|
@@ -14298,7 +14298,7 @@ class _d extends Re {
|
|
|
14298
14298
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14299
14299
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14300
14300
|
*/
|
|
14301
|
-
class
|
|
14301
|
+
class gu {
|
|
14302
14302
|
constructor(t, e) {
|
|
14303
14303
|
this.input = t, this.__preventDuplicateLabelClick = this.__preventDuplicateLabelClick.bind(this), e.addEventListener("slot-content-changed", (i) => {
|
|
14304
14304
|
this.__initLabel(i.detail.node);
|
|
@@ -14331,7 +14331,7 @@ class gd {
|
|
|
14331
14331
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14332
14332
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14333
14333
|
*/
|
|
14334
|
-
const
|
|
14334
|
+
const bu = P`
|
|
14335
14335
|
[part='clear-button'] {
|
|
14336
14336
|
display: none;
|
|
14337
14337
|
cursor: default;
|
|
@@ -14350,7 +14350,7 @@ const bd = P`
|
|
|
14350
14350
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14351
14351
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14352
14352
|
*/
|
|
14353
|
-
const
|
|
14353
|
+
const vu = P`
|
|
14354
14354
|
:host {
|
|
14355
14355
|
display: inline-flex;
|
|
14356
14356
|
outline: none;
|
|
@@ -14390,7 +14390,7 @@ const vd = P`
|
|
|
14390
14390
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14391
14391
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14392
14392
|
*/
|
|
14393
|
-
const
|
|
14393
|
+
const yu = P`
|
|
14394
14394
|
[class$='container'] {
|
|
14395
14395
|
display: flex;
|
|
14396
14396
|
flex-direction: column;
|
|
@@ -14404,13 +14404,13 @@ const yd = P`
|
|
|
14404
14404
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14405
14405
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14406
14406
|
*/
|
|
14407
|
-
const
|
|
14407
|
+
const xu = [vu, yu, bu];
|
|
14408
14408
|
/**
|
|
14409
14409
|
* @license
|
|
14410
14410
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
14411
14411
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14412
14412
|
*/
|
|
14413
|
-
const
|
|
14413
|
+
const wu = (o) => class extends o {
|
|
14414
14414
|
static get properties() {
|
|
14415
14415
|
return {
|
|
14416
14416
|
/**
|
|
@@ -14457,7 +14457,7 @@ const wd = (o) => class extends o {
|
|
|
14457
14457
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14458
14458
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14459
14459
|
*/
|
|
14460
|
-
class
|
|
14460
|
+
class Eu {
|
|
14461
14461
|
/**
|
|
14462
14462
|
* @param {{ inputElement?: HTMLElement; opened: boolean } & HTMLElement} host
|
|
14463
14463
|
*/
|
|
@@ -14476,7 +14476,7 @@ class Ed {
|
|
|
14476
14476
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
14477
14477
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14478
14478
|
*/
|
|
14479
|
-
const
|
|
14479
|
+
const Su = (o) => class extends wu(
|
|
14480
14480
|
ot(_r(xr(Wt(o))))
|
|
14481
14481
|
) {
|
|
14482
14482
|
static get properties() {
|
|
@@ -14859,7 +14859,7 @@ const Sd = (o) => class extends wd(
|
|
|
14859
14859
|
new mr(this._fullscreenMediaQuery, (i) => {
|
|
14860
14860
|
this._fullscreen = i;
|
|
14861
14861
|
})
|
|
14862
|
-
), this.addController(new
|
|
14862
|
+
), this.addController(new Eu(this));
|
|
14863
14863
|
const e = this.$.overlay;
|
|
14864
14864
|
this._overlayElement = e, e.renderer = this._boundOverlayRenderer, this.addEventListener("mousedown", () => this.__bringToFront()), this.addEventListener("touchstart", () => this.__bringToFront());
|
|
14865
14865
|
}
|
|
@@ -15017,7 +15017,7 @@ const Sd = (o) => class extends wd(
|
|
|
15017
15017
|
}
|
|
15018
15018
|
/** @private */
|
|
15019
15019
|
_formatISO(e) {
|
|
15020
|
-
return
|
|
15020
|
+
return Cc(e);
|
|
15021
15021
|
}
|
|
15022
15022
|
/** @protected */
|
|
15023
15023
|
_inputElementChanged(e) {
|
|
@@ -15053,12 +15053,12 @@ const Sd = (o) => class extends wd(
|
|
|
15053
15053
|
this.value = i;
|
|
15054
15054
|
return;
|
|
15055
15055
|
}
|
|
15056
|
-
e ?
|
|
15056
|
+
e ? Ce(this._selectedDate, s) || (this._selectedDate = s, i !== void 0 && this.validate()) : this._selectedDate = null, this.__keepCommittedValue || (this.__committedValue = this.value, this.__committedUnparsableValue = ""), this._toggleHasValue(this._hasValue);
|
|
15057
15057
|
}
|
|
15058
15058
|
/** @private */
|
|
15059
15059
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
15060
|
-
__updateOverlayContent(e, i, s, r, n, a, l, c,
|
|
15061
|
-
e && (e.i18n = i, e.label = s, e.minDate = r, e.maxDate = n, e.focusedDate = a, e.selectedDate = l, e.showWeekNumbers = c, e.isDateDisabled =
|
|
15060
|
+
__updateOverlayContent(e, i, s, r, n, a, l, c, u) {
|
|
15061
|
+
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);
|
|
15062
15062
|
}
|
|
15063
15063
|
/** @private */
|
|
15064
15064
|
__updateOverlayContentTheme(e, i) {
|
|
@@ -15221,7 +15221,7 @@ const Sd = (o) => class extends wd(
|
|
|
15221
15221
|
_onInput() {
|
|
15222
15222
|
if (!this.opened && this._inputElementValue && !this.autoOpenDisabled && this.open(), this._inputElementValue) {
|
|
15223
15223
|
const e = this.__parseDate(this._inputElementValue);
|
|
15224
|
-
e && (this._ignoreFocusedDateChange = !0,
|
|
15224
|
+
e && (this._ignoreFocusedDateChange = !0, Ce(e, this._focusedDate) || (this._focusedDate = e), this._ignoreFocusedDateChange = !1);
|
|
15225
15225
|
}
|
|
15226
15226
|
}
|
|
15227
15227
|
/** @private */
|
|
@@ -15249,7 +15249,7 @@ const Sd = (o) => class extends wd(
|
|
|
15249
15249
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15250
15250
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15251
15251
|
*/
|
|
15252
|
-
const
|
|
15252
|
+
const Au = P`
|
|
15253
15253
|
:host([opened]) {
|
|
15254
15254
|
pointer-events: auto;
|
|
15255
15255
|
}
|
|
@@ -15268,8 +15268,8 @@ const Cd = P`
|
|
|
15268
15268
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15269
15269
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15270
15270
|
*/
|
|
15271
|
-
L("vaadin-date-picker", [
|
|
15272
|
-
class
|
|
15271
|
+
L("vaadin-date-picker", [xu, Au], { moduleId: "vaadin-date-picker-styles" });
|
|
15272
|
+
class Cu extends Su(mu(Ye(Qs(Ie)))) {
|
|
15273
15273
|
static get is() {
|
|
15274
15274
|
return "vaadin-date-picker";
|
|
15275
15275
|
}
|
|
@@ -15329,7 +15329,7 @@ class Ad extends Sd(md(Ye(Qs(Ie)))) {
|
|
|
15329
15329
|
/** @protected */
|
|
15330
15330
|
ready() {
|
|
15331
15331
|
super.ready(), this.addController(
|
|
15332
|
-
new
|
|
15332
|
+
new _u(
|
|
15333
15333
|
this,
|
|
15334
15334
|
(e) => {
|
|
15335
15335
|
this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
|
|
@@ -15341,7 +15341,7 @@ class Ad extends Sd(md(Ye(Qs(Ie)))) {
|
|
|
15341
15341
|
uniqueIdPrefix: "search-input"
|
|
15342
15342
|
}
|
|
15343
15343
|
)
|
|
15344
|
-
), this.addController(new
|
|
15344
|
+
), this.addController(new gu(this.inputElement, this._labelController)), this._tooltipController = new tr(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));
|
|
15345
15345
|
}
|
|
15346
15346
|
/** @private */
|
|
15347
15347
|
_onVaadinOverlayClose(t) {
|
|
@@ -15357,34 +15357,34 @@ class Ad extends Sd(md(Ye(Qs(Ie)))) {
|
|
|
15357
15357
|
super._openedChanged(t), this.$.overlay.positionTarget = this.shadowRoot.querySelector('[part="input-field"]'), this.$.overlay.noVerticalOverlap = !0;
|
|
15358
15358
|
}
|
|
15359
15359
|
}
|
|
15360
|
-
be(
|
|
15360
|
+
be(Cu);
|
|
15361
15361
|
var wr = { exports: {} };
|
|
15362
15362
|
(function(o, t) {
|
|
15363
15363
|
(function(e, i) {
|
|
15364
15364
|
o.exports = i();
|
|
15365
|
-
})(
|
|
15365
|
+
})(Cr, function() {
|
|
15366
15366
|
var e = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, i = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, s = /\d\d/, r = /\d\d?/, n = /\d*[^-_:/,()\s\d]+/, a = {}, l = function(p) {
|
|
15367
15367
|
return (p = +p) + (p > 68 ? 1900 : 2e3);
|
|
15368
15368
|
}, c = function(p) {
|
|
15369
15369
|
return function(_) {
|
|
15370
15370
|
this[p] = +_;
|
|
15371
15371
|
};
|
|
15372
|
-
},
|
|
15372
|
+
}, u = [/[+-]\d\d:?(\d\d)?|Z/, function(p) {
|
|
15373
15373
|
(this.zone || (this.zone = {})).offset = function(_) {
|
|
15374
15374
|
if (!_ || _ === "Z")
|
|
15375
15375
|
return 0;
|
|
15376
15376
|
var y = _.match(/([+-]|\d\d)/g), v = 60 * y[1] + (+y[2] || 0);
|
|
15377
15377
|
return v === 0 ? 0 : y[0] === "+" ? -v : v;
|
|
15378
15378
|
}(p);
|
|
15379
|
-
}],
|
|
15379
|
+
}], d = function(p) {
|
|
15380
15380
|
var _ = a[p];
|
|
15381
15381
|
return _ && (_.indexOf ? _ : _.s.concat(_.f));
|
|
15382
15382
|
}, h = function(p, _) {
|
|
15383
15383
|
var y, v = a.meridiem;
|
|
15384
15384
|
if (v) {
|
|
15385
|
-
for (var
|
|
15386
|
-
if (p.indexOf(v(
|
|
15387
|
-
y =
|
|
15385
|
+
for (var C = 1; C <= 24; C += 1)
|
|
15386
|
+
if (p.indexOf(v(C, 0, _)) > -1) {
|
|
15387
|
+
y = C > 12;
|
|
15388
15388
|
break;
|
|
15389
15389
|
}
|
|
15390
15390
|
} else
|
|
@@ -15406,39 +15406,39 @@ var wr = { exports: {} };
|
|
|
15406
15406
|
for (var v = 1; v <= 31; v += 1)
|
|
15407
15407
|
_(v).replace(/\[|\]/g, "") === p && (this.day = v);
|
|
15408
15408
|
}], M: [r, c("month")], MM: [s, c("month")], MMM: [n, function(p) {
|
|
15409
|
-
var _ =
|
|
15409
|
+
var _ = d("months"), y = (d("monthsShort") || _.map(function(v) {
|
|
15410
15410
|
return v.slice(0, 3);
|
|
15411
15411
|
})).indexOf(p) + 1;
|
|
15412
15412
|
if (y < 1)
|
|
15413
15413
|
throw new Error();
|
|
15414
15414
|
this.month = y % 12 || y;
|
|
15415
15415
|
}], MMMM: [n, function(p) {
|
|
15416
|
-
var _ =
|
|
15416
|
+
var _ = d("months").indexOf(p) + 1;
|
|
15417
15417
|
if (_ < 1)
|
|
15418
15418
|
throw new Error();
|
|
15419
15419
|
this.month = _ % 12 || _;
|
|
15420
15420
|
}], Y: [/[+-]?\d+/, c("year")], YY: [s, function(p) {
|
|
15421
15421
|
this.year = l(p);
|
|
15422
|
-
}], YYYY: [/\d{4}/, c("year")], Z:
|
|
15422
|
+
}], YYYY: [/\d{4}/, c("year")], Z: u, ZZ: u };
|
|
15423
15423
|
function g(p) {
|
|
15424
15424
|
var _, y;
|
|
15425
15425
|
_ = p, y = a && a.formats;
|
|
15426
|
-
for (var v = (p = _.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(R, T,
|
|
15427
|
-
var
|
|
15428
|
-
return T || y[
|
|
15426
|
+
for (var v = (p = _.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(R, T, F) {
|
|
15427
|
+
var N = F && F.toUpperCase();
|
|
15428
|
+
return T || y[F] || e[F] || y[N].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(X, B, ie) {
|
|
15429
15429
|
return B || ie.slice(1);
|
|
15430
15430
|
});
|
|
15431
|
-
})).match(i),
|
|
15432
|
-
var k = v[
|
|
15433
|
-
v[
|
|
15431
|
+
})).match(i), C = v.length, A = 0; A < C; A += 1) {
|
|
15432
|
+
var k = v[A], G = m[k], U = G && G[0], $ = G && G[1];
|
|
15433
|
+
v[A] = $ ? { regex: U, parser: $ } : k.replace(/^\[|\]$/g, "");
|
|
15434
15434
|
}
|
|
15435
15435
|
return function(R) {
|
|
15436
|
-
for (var T = {},
|
|
15437
|
-
var X = v[
|
|
15436
|
+
for (var T = {}, F = 0, N = 0; F < C; F += 1) {
|
|
15437
|
+
var X = v[F];
|
|
15438
15438
|
if (typeof X == "string")
|
|
15439
|
-
|
|
15439
|
+
N += X.length;
|
|
15440
15440
|
else {
|
|
15441
|
-
var B = X.regex, ie = X.parser, he = R.slice(
|
|
15441
|
+
var B = X.regex, ie = X.parser, he = R.slice(N), q = B.exec(he)[0];
|
|
15442
15442
|
ie.call(T, q), R = R.replace(q, "");
|
|
15443
15443
|
}
|
|
15444
15444
|
}
|
|
@@ -15453,25 +15453,25 @@ var wr = { exports: {} };
|
|
|
15453
15453
|
}
|
|
15454
15454
|
return function(p, _, y) {
|
|
15455
15455
|
y.p.customParseFormat = !0, p && p.parseTwoDigitYear && (l = p.parseTwoDigitYear);
|
|
15456
|
-
var v = _.prototype,
|
|
15457
|
-
v.parse = function(
|
|
15458
|
-
var k =
|
|
15456
|
+
var v = _.prototype, C = v.parse;
|
|
15457
|
+
v.parse = function(A) {
|
|
15458
|
+
var k = A.date, G = A.utc, U = A.args;
|
|
15459
15459
|
this.$u = G;
|
|
15460
15460
|
var $ = U[1];
|
|
15461
15461
|
if (typeof $ == "string") {
|
|
15462
|
-
var R = U[2] === !0, T = U[3] === !0,
|
|
15463
|
-
T && (
|
|
15462
|
+
var R = U[2] === !0, T = U[3] === !0, F = R || T, N = U[2];
|
|
15463
|
+
T && (N = U[2]), a = this.$locale(), !R && N && (a = y.Ls[N]), this.$d = function(he, q, Z) {
|
|
15464
15464
|
try {
|
|
15465
15465
|
if (["x", "X"].indexOf(q) > -1)
|
|
15466
15466
|
return new Date((q === "X" ? 1e3 : 1) * he);
|
|
15467
15467
|
var Y = g(q)(he), H = Y.year, Q = Y.month, fe = Y.day, Pe = Y.hours, ke = Y.minutes, De = Y.seconds, Te = Y.milliseconds, ve = Y.zone, ye = /* @__PURE__ */ new Date(), ee = fe || (H || Q ? 1 : ye.getDate()), ce = H || ye.getFullYear(), O = 0;
|
|
15468
15468
|
H && !Q || (O = Q > 0 ? Q - 1 : ye.getMonth());
|
|
15469
|
-
var
|
|
15470
|
-
return ve ? new Date(Date.UTC(ce, O, ee,
|
|
15469
|
+
var z = Pe || 0, xe = ke || 0, me = De || 0, J = Te || 0;
|
|
15470
|
+
return ve ? new Date(Date.UTC(ce, O, ee, z, xe, me, J + 60 * ve.offset * 1e3)) : Z ? new Date(Date.UTC(ce, O, ee, z, xe, me, J)) : new Date(ce, O, ee, z, xe, me, J);
|
|
15471
15471
|
} catch {
|
|
15472
15472
|
return /* @__PURE__ */ new Date("");
|
|
15473
15473
|
}
|
|
15474
|
-
}(k, $, G), this.init(),
|
|
15474
|
+
}(k, $, G), this.init(), N && N !== !0 && (this.$L = this.locale(N).$L), F && k != this.format($) && (this.$d = /* @__PURE__ */ new Date("")), a = {};
|
|
15475
15475
|
} else if ($ instanceof Array)
|
|
15476
15476
|
for (var X = $.length, B = 1; B <= X; B += 1) {
|
|
15477
15477
|
U[1] = $[B - 1];
|
|
@@ -15483,17 +15483,17 @@ var wr = { exports: {} };
|
|
|
15483
15483
|
B === X && (this.$d = /* @__PURE__ */ new Date(""));
|
|
15484
15484
|
}
|
|
15485
15485
|
else
|
|
15486
|
-
|
|
15486
|
+
C.call(this, A);
|
|
15487
15487
|
};
|
|
15488
15488
|
};
|
|
15489
15489
|
});
|
|
15490
15490
|
})(wr);
|
|
15491
|
-
var
|
|
15492
|
-
const
|
|
15491
|
+
var Pu = wr.exports;
|
|
15492
|
+
const ku = /* @__PURE__ */ Ar(Pu);
|
|
15493
15493
|
function Ko(o, t) {
|
|
15494
15494
|
Pr(o, t);
|
|
15495
15495
|
}
|
|
15496
|
-
function
|
|
15496
|
+
function Du(o) {
|
|
15497
15497
|
kr.set(o);
|
|
15498
15498
|
}
|
|
15499
15499
|
const Go = {
|
|
@@ -15510,7 +15510,14 @@ const Go = {
|
|
|
15510
15510
|
temporarySelfExclusion: "Your self-exclusion period will last until the {date} 23:59.",
|
|
15511
15511
|
permanentSelfExclusion: "Your self-exclusion period will be permanent.",
|
|
15512
15512
|
SelfExclusionFor30Days: "30 Days",
|
|
15513
|
+
SelfExclusionFor2Months: "2 Months",
|
|
15514
|
+
SelfExclusionFor3Months: "3 Months",
|
|
15513
15515
|
SelfExclusionFor6Months: "6 Months",
|
|
15516
|
+
SelfExclusionFor7Months: "7 Months",
|
|
15517
|
+
SelfExclusionFor8Months: "8 Months",
|
|
15518
|
+
SelfExclusionFor9Months: "9 Months",
|
|
15519
|
+
SelfExclusionFor10Months: "10 Months",
|
|
15520
|
+
SelfExclusionFor11Months: "11 Months",
|
|
15514
15521
|
SelfExclusionFor1Year: "1 Year",
|
|
15515
15522
|
SelfExclusionFor2Years: "2 Years",
|
|
15516
15523
|
SelfExclusionFor5Years: "5 Years",
|
|
@@ -15537,7 +15544,14 @@ const Go = {
|
|
|
15537
15544
|
temporarySelfExclusion: "Your self-exclusion period will last until the {date} 23:59.",
|
|
15538
15545
|
permanentSelfExclusion: "Your self-exclusion period will be permanent.",
|
|
15539
15546
|
SelfExclusionFor30Days: "30 Days",
|
|
15547
|
+
SelfExclusionFor2Months: "2 Months",
|
|
15548
|
+
SelfExclusionFor3Months: "3 Months",
|
|
15540
15549
|
SelfExclusionFor6Months: "6 Months",
|
|
15550
|
+
SelfExclusionFor7Months: "7 Months",
|
|
15551
|
+
SelfExclusionFor8Months: "8 Months",
|
|
15552
|
+
SelfExclusionFor9Months: "9 Months",
|
|
15553
|
+
SelfExclusionFor10Months: "10 Months",
|
|
15554
|
+
SelfExclusionFor11Months: "11 Months",
|
|
15541
15555
|
SelfExclusionFor1Year: "1 Year",
|
|
15542
15556
|
SelfExclusionFor2Years: "2 Years",
|
|
15543
15557
|
SelfExclusionFor5Years: "5 Years",
|
|
@@ -15564,7 +15578,14 @@ const Go = {
|
|
|
15564
15578
|
temporarySelfExclusion: "您的自我排除期將持續到 {date} 23:59。",
|
|
15565
15579
|
permanentSelfExclusion: "您的自我排除期將是永久性的。",
|
|
15566
15580
|
SelfExclusionFor30Days: "30天",
|
|
15581
|
+
SelfExclusionFor2Months: "2個月",
|
|
15582
|
+
SelfExclusionFor3Months: "3個月",
|
|
15567
15583
|
SelfExclusionFor6Months: "6個月",
|
|
15584
|
+
SelfExclusionFor7Months: "7個月",
|
|
15585
|
+
SelfExclusionFor8Months: "8個月",
|
|
15586
|
+
SelfExclusionFor9Months: "9個月",
|
|
15587
|
+
SelfExclusionFor10Months: "10個月",
|
|
15588
|
+
SelfExclusionFor11Months: "11個月",
|
|
15568
15589
|
SelfExclusionFor1Year: "1年",
|
|
15569
15590
|
SelfExclusionFor2Years: "2年",
|
|
15570
15591
|
SelfExclusionFor5Years: "5年",
|
|
@@ -15591,7 +15612,14 @@ const Go = {
|
|
|
15591
15612
|
temporarySelfExclusion: "Votre période d'auto-exclusion durera jusqu'au {date} 23:59.",
|
|
15592
15613
|
permanentSelfExclusion: "Votre période d'auto-exclusion sera permanente.",
|
|
15593
15614
|
SelfExclusionFor30Days: "30 Jours",
|
|
15615
|
+
SelfExclusionFor2Months: "2 Mois",
|
|
15616
|
+
SelfExclusionFor3Months: "3 Mois",
|
|
15594
15617
|
SelfExclusionFor6Months: "6 Mois",
|
|
15618
|
+
SelfExclusionFor7Months: "7 Mois",
|
|
15619
|
+
SelfExclusionFor8Months: "8 Mois",
|
|
15620
|
+
SelfExclusionFor9Months: "9 Mois",
|
|
15621
|
+
SelfExclusionFor10Months: "10 Mois",
|
|
15622
|
+
SelfExclusionFor11Months: "11 Mois",
|
|
15595
15623
|
SelfExclusionFor1Year: "1 An",
|
|
15596
15624
|
SelfExclusionFor2Years: "2 Ans",
|
|
15597
15625
|
SelfExclusionFor5Years: "5 Ans",
|
|
@@ -15618,7 +15646,14 @@ const Go = {
|
|
|
15618
15646
|
temporarySelfExclusion: "Perioada dvs. de auto-excludere va dura până la {date} 23:59.",
|
|
15619
15647
|
permanentSelfExclusion: "Perioada dvs. de auto-excludere va fi permanentă.",
|
|
15620
15648
|
SelfExclusionFor30Days: "30 de Zile",
|
|
15649
|
+
SelfExclusionFor2Months: "2 Luni",
|
|
15650
|
+
SelfExclusionFor3Months: "3 Luni",
|
|
15621
15651
|
SelfExclusionFor6Months: "6 Luni",
|
|
15652
|
+
SelfExclusionFor7Months: "7 Luni",
|
|
15653
|
+
SelfExclusionFor8Months: "8 Luni",
|
|
15654
|
+
SelfExclusionFor9Months: "9 Luni",
|
|
15655
|
+
SelfExclusionFor10Months: "10 Luni",
|
|
15656
|
+
SelfExclusionFor11Months: "11 Luni",
|
|
15622
15657
|
SelfExclusionFor1Year: "1 An",
|
|
15623
15658
|
SelfExclusionFor2Years: "2 Ani",
|
|
15624
15659
|
SelfExclusionFor5Years: "5 Ani",
|
|
@@ -15645,7 +15680,14 @@ const Go = {
|
|
|
15645
15680
|
temporarySelfExclusion: "Su período de autoexclusión durará hasta el {date} a las 23:59.",
|
|
15646
15681
|
permanentSelfExclusion: "Su período de autoexclusión será permanente.",
|
|
15647
15682
|
SelfExclusionFor30Days: "30 Días",
|
|
15683
|
+
SelfExclusionFor2Months: "2 Meses",
|
|
15684
|
+
SelfExclusionFor3Months: "3 Meses",
|
|
15648
15685
|
SelfExclusionFor6Months: "6 Meses",
|
|
15686
|
+
SelfExclusionFor7Months: "7 Meses",
|
|
15687
|
+
SelfExclusionFor8Months: "8 Meses",
|
|
15688
|
+
SelfExclusionFor9Months: "9 Meses",
|
|
15689
|
+
SelfExclusionFor10Months: "10 Meses",
|
|
15690
|
+
SelfExclusionFor11Months: "11 Meses",
|
|
15649
15691
|
SelfExclusionFor1Year: "1 Año",
|
|
15650
15692
|
SelfExclusionFor2Years: "2 Años",
|
|
15651
15693
|
SelfExclusionFor5Years: "5 Años",
|
|
@@ -15672,7 +15714,14 @@ const Go = {
|
|
|
15672
15714
|
temporarySelfExclusion: "O seu período de autoexclusão durará até às {date} 23:59.",
|
|
15673
15715
|
permanentSelfExclusion: "O seu período de autoexclusão será permanente.",
|
|
15674
15716
|
SelfExclusionFor30Days: "30 Dias",
|
|
15717
|
+
SelfExclusionFor2Months: "2 Meses",
|
|
15718
|
+
SelfExclusionFor3Months: "3 Meses",
|
|
15675
15719
|
SelfExclusionFor6Months: "6 Meses",
|
|
15720
|
+
SelfExclusionFor7Months: "7 Meses",
|
|
15721
|
+
SelfExclusionFor8Months: "8 Meses",
|
|
15722
|
+
SelfExclusionFor9Months: "9 Meses",
|
|
15723
|
+
SelfExclusionFor10Months: "10 Meses",
|
|
15724
|
+
SelfExclusionFor11Months: "11 Meses",
|
|
15676
15725
|
SelfExclusionFor1Year: "1 Ano",
|
|
15677
15726
|
SelfExclusionFor2Years: "2 Anos",
|
|
15678
15727
|
SelfExclusionFor5Years: "5 Anos",
|
|
@@ -15699,7 +15748,14 @@ const Go = {
|
|
|
15699
15748
|
temporarySelfExclusion: "Vaše razdoblje samoisključenja trajat će do {date} 23:59.",
|
|
15700
15749
|
permanentSelfExclusion: "Vaše razdoblje samoisključenja bit će trajno.",
|
|
15701
15750
|
SelfExclusionFor30Days: "30 Dana",
|
|
15751
|
+
SelfExclusionFor2Months: "2 Mjeseca",
|
|
15752
|
+
SelfExclusionFor3Months: "3 Mjeseca",
|
|
15702
15753
|
SelfExclusionFor6Months: "6 Mjeseci",
|
|
15754
|
+
SelfExclusionFor7Months: "7 Mjeseci",
|
|
15755
|
+
SelfExclusionFor8Months: "8 Mjeseci",
|
|
15756
|
+
SelfExclusionFor9Months: "9 Mjeseci",
|
|
15757
|
+
SelfExclusionFor10Months: "10 Mjeseci",
|
|
15758
|
+
SelfExclusionFor11Months: "11 Mjeseci",
|
|
15703
15759
|
SelfExclusionFor1Year: "1 Godina",
|
|
15704
15760
|
SelfExclusionFor2Years: "2 Godina",
|
|
15705
15761
|
SelfExclusionFor5Years: "5 Godina",
|
|
@@ -15726,7 +15782,14 @@ const Go = {
|
|
|
15726
15782
|
temporarySelfExclusion: "Seu período de autoexclusão durará até {date} às 23:59.",
|
|
15727
15783
|
permanentSelfExclusion: "Seu período de autoexclusão será permanente.",
|
|
15728
15784
|
SelfExclusionFor30Days: "30 Dias",
|
|
15785
|
+
SelfExclusionFor2Months: "2 Meses",
|
|
15786
|
+
SelfExclusionFor3Months: "3 Meses",
|
|
15729
15787
|
SelfExclusionFor6Months: "6 Meses",
|
|
15788
|
+
SelfExclusionFor7Months: "7 Meses",
|
|
15789
|
+
SelfExclusionFor8Months: "8 Meses",
|
|
15790
|
+
SelfExclusionFor9Months: "9 Meses",
|
|
15791
|
+
SelfExclusionFor10Months: "10 Meses",
|
|
15792
|
+
SelfExclusionFor11Months: "11 Meses",
|
|
15730
15793
|
SelfExclusionFor1Year: "1 Ano",
|
|
15731
15794
|
SelfExclusionFor2Years: "2 Anos",
|
|
15732
15795
|
SelfExclusionFor5Years: "5 Anos",
|
|
@@ -15753,7 +15816,14 @@ const Go = {
|
|
|
15753
15816
|
temporarySelfExclusion: "Su período de autoexclusión durará hasta el {date} a las 23:59.",
|
|
15754
15817
|
permanentSelfExclusion: "Su período de autoexclusión será permanente.",
|
|
15755
15818
|
SelfExclusionFor30Days: "30 Días",
|
|
15819
|
+
SelfExclusionFor2Months: "2 Meses",
|
|
15820
|
+
SelfExclusionFor3Months: "3 Meses",
|
|
15756
15821
|
SelfExclusionFor6Months: "6 Meses",
|
|
15822
|
+
SelfExclusionFor7Months: "7 Meses",
|
|
15823
|
+
SelfExclusionFor8Months: "8 Meses",
|
|
15824
|
+
SelfExclusionFor9Months: "9 Meses",
|
|
15825
|
+
SelfExclusionFor10Months: "10 Meses",
|
|
15826
|
+
SelfExclusionFor11Months: "11 Meses",
|
|
15757
15827
|
SelfExclusionFor1Year: "1 Año",
|
|
15758
15828
|
SelfExclusionFor2Years: "2 Anos",
|
|
15759
15829
|
SelfExclusionFor5Years: "5 Años",
|
|
@@ -15780,7 +15850,14 @@ const Go = {
|
|
|
15780
15850
|
temporarySelfExclusion: "Kendi kendini hariç tutma süreniz {date} saat 23:59'a kadar sürecektir.",
|
|
15781
15851
|
permanentSelfExclusion: "Kendi kendini hariç tutma süreniz kalıcı olacaktır.",
|
|
15782
15852
|
SelfExclusionFor30Days: "30 Gün",
|
|
15853
|
+
SelfExclusionFor2Months: "2 Ay",
|
|
15854
|
+
SelfExclusionFor3Months: "3 Ay",
|
|
15783
15855
|
SelfExclusionFor6Months: "6 Ay",
|
|
15856
|
+
SelfExclusionFor7Months: "7 Ay",
|
|
15857
|
+
SelfExclusionFor8Months: "8 Ay",
|
|
15858
|
+
SelfExclusionFor9Months: "9 Ay",
|
|
15859
|
+
SelfExclusionFor10Months: "10 Ay",
|
|
15860
|
+
SelfExclusionFor11Months: "11 Ay",
|
|
15784
15861
|
SelfExclusionFor1Year: "1 Yıl",
|
|
15785
15862
|
SelfExclusionFor2Years: "2 Yıl",
|
|
15786
15863
|
SelfExclusionFor5Years: "5 Yıl",
|
|
@@ -15795,18 +15872,18 @@ const Go = {
|
|
|
15795
15872
|
InvalidSession: "Oturum süresi doldu."
|
|
15796
15873
|
}
|
|
15797
15874
|
};
|
|
15798
|
-
function
|
|
15799
|
-
Or(o, "svelte-
|
|
15875
|
+
function Tu(o) {
|
|
15876
|
+
Or(o, "svelte-gvegix", '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{border-radius:var(--emw--border-radius-medium, 10px);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:var(--emw--border-radius-medium, 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 p{font-size:16px}.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}.SelfExclusionDescription p{font-size:16px}.SelfExclusionDescription a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}@container (max-width: 768px){.SelfExclusionDescription{font-size:var(--emw--font-size-x-small, 12px);line-height:19px;min-height:230px}}.SelfExclusionConfigWrapper{width:50%;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:20px 0;font-size:var(--emw--font-size-large, 20px);color:var(--emw--button-text-color, #FFFFFF);cursor:pointer;border:none}.SelfExclusionActionButtons .SelfExclusionSave:hover{filter:brightness(0.9)}.SelfExclusionActionButtons .SelfExclusionSave:disabled{opacity:0.5;cursor:default}.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}}');
|
|
15800
15877
|
}
|
|
15801
15878
|
function Jo(o, t, e) {
|
|
15802
15879
|
const i = o.slice();
|
|
15803
15880
|
return i[56] = t[e], i;
|
|
15804
15881
|
}
|
|
15805
|
-
function
|
|
15882
|
+
function Mu(o) {
|
|
15806
15883
|
let t, e, i, s, r = (
|
|
15807
15884
|
/*$_*/
|
|
15808
15885
|
o[20]("titleSelfExclusion") + ""
|
|
15809
|
-
), n, a, l, c,
|
|
15886
|
+
), n, a, l, c, u = (
|
|
15810
15887
|
/*$_*/
|
|
15811
15888
|
o[20]("selfExclusionText", {
|
|
15812
15889
|
values: {
|
|
@@ -15824,54 +15901,54 @@ function Md(o) {
|
|
|
15824
15901
|
)
|
|
15825
15902
|
}
|
|
15826
15903
|
}) + ""
|
|
15827
|
-
),
|
|
15904
|
+
), d, h, m = (
|
|
15828
15905
|
/*$_*/
|
|
15829
15906
|
o[20]("selfExclusionEmailText") + ""
|
|
15830
|
-
), g, p, _, y, v,
|
|
15907
|
+
), g, p, _, y, v, C, A, k, G, U = (
|
|
15831
15908
|
/*$_*/
|
|
15832
15909
|
o[20](`${/*selectedPeriodKey*/
|
|
15833
15910
|
o[13]}`) + ""
|
|
15834
|
-
), $, R, T,
|
|
15911
|
+
), $, R, T, F, N, X, B, ie, he, q, Z, Y, H, Q = (
|
|
15835
15912
|
/*$_*/
|
|
15836
15913
|
o[20]("save") + ""
|
|
15837
15914
|
), fe, Pe, ke, De, Te, ve, ye, ee = (
|
|
15838
15915
|
/*isMobile*/
|
|
15839
|
-
o[22] &&
|
|
15916
|
+
o[22] && Iu(o)
|
|
15840
15917
|
), ce = no(
|
|
15841
15918
|
/*selfExclusionPeriods*/
|
|
15842
15919
|
o[9]
|
|
15843
15920
|
), O = [];
|
|
15844
15921
|
for (let x = 0; x < ce.length; x += 1)
|
|
15845
15922
|
O[x] = Xo(Jo(o, ce, x));
|
|
15846
|
-
let
|
|
15923
|
+
let z = (
|
|
15847
15924
|
/*isUntilDate*/
|
|
15848
15925
|
o[16] && Zo(o)
|
|
15849
15926
|
);
|
|
15850
15927
|
function xe(x, M) {
|
|
15851
15928
|
return (
|
|
15852
15929
|
/*isPermanentSelfExclusion*/
|
|
15853
|
-
x[15] ?
|
|
15930
|
+
x[15] ? zu : (
|
|
15854
15931
|
/*isDateSelected*/
|
|
15855
|
-
x[17] ?
|
|
15932
|
+
x[17] ? Fu : Nu
|
|
15856
15933
|
)
|
|
15857
15934
|
);
|
|
15858
15935
|
}
|
|
15859
15936
|
let me = xe(o), J = me(o), _e = (
|
|
15860
15937
|
/*showConfirmationModal*/
|
|
15861
|
-
o[23] &&
|
|
15938
|
+
o[23] && Lu(o)
|
|
15862
15939
|
);
|
|
15863
15940
|
return {
|
|
15864
15941
|
c() {
|
|
15865
|
-
t = w("div"), e = w("form"), ee && ee.c(), i = I(), s = w("h2"), n = ne(r), a = I(), l = w("div"), c = w("p"),
|
|
15942
|
+
t = w("div"), e = w("form"), ee && ee.c(), i = I(), s = w("h2"), n = ne(r), a = I(), l = w("div"), c = w("p"), d = I(), h = w("p"), g = ne(m), p = I(), _ = w("a"), y = ne(
|
|
15866
15943
|
/*supportemail*/
|
|
15867
15944
|
o[2]
|
|
15868
|
-
),
|
|
15945
|
+
), C = I(), A = w("div"), k = w("div"), G = w("p"), $ = ne(U), R = I(), T = Ae("svg"), F = Ae("g"), N = Ae("path"), X = I(), B = w("div");
|
|
15869
15946
|
for (let x = 0; x < O.length; x += 1)
|
|
15870
15947
|
O[x].c();
|
|
15871
|
-
ie = I(),
|
|
15948
|
+
ie = I(), z && z.c(), he = I(), q = w("div"), J.c(), Z = I(), Y = w("div"), H = w("button"), fe = ne(Q), De = I(), _e && _e.c(), Te = Rr(), E(s, "class", "PlayerSelfExclusionTitle " + /*isMobile*/
|
|
15872
15949
|
(o[22] ? "PlayerSelfExclusionTitleNone" : "")), E(c, "class", "SelfExclusionDescriptionText"), E(_, "href", v = "mailto:" + /*supportemail*/
|
|
15873
15950
|
o[2]), E(h, "class", "SelfExclusionDescriptionText"), E(l, "class", "SelfExclusionDescription " + /*isMobile*/
|
|
15874
|
-
(o[22] ? "SelfExclusionDescriptionMobile" : "")), E(
|
|
15951
|
+
(o[22] ? "SelfExclusionDescriptionMobile" : "")), E(N, "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(N, "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"), Ue(
|
|
15875
15952
|
T,
|
|
15876
15953
|
"active",
|
|
15877
15954
|
/*isPeriodDropDownToggled*/
|
|
@@ -15881,9 +15958,9 @@ function Md(o) {
|
|
|
15881
15958
|
"active",
|
|
15882
15959
|
/*isPeriodDropDownToggled*/
|
|
15883
15960
|
o[18]
|
|
15884
|
-
), E(
|
|
15961
|
+
), E(A, "class", "SelfExclusionConfigWrapper " + /*isMobile*/
|
|
15885
15962
|
(o[22] ? "SelfExclusionConfigWrapperMobile" : "")), Ue(
|
|
15886
|
-
|
|
15963
|
+
A,
|
|
15887
15964
|
"active",
|
|
15888
15965
|
/*isPeriodDropDownToggled*/
|
|
15889
15966
|
o[18]
|
|
@@ -15895,10 +15972,10 @@ function Md(o) {
|
|
|
15895
15972
|
(o[22] ? "SelfExclusionWrapperMobile" : "")), E(t, "class", "SelfExclusionContainer");
|
|
15896
15973
|
},
|
|
15897
15974
|
m(x, M) {
|
|
15898
|
-
le(x, t, M), f(t, e), ee && ee.m(e, null), f(e, i), f(e, s), f(s, n), f(e, a), f(e, l), f(l, c), c.innerHTML =
|
|
15975
|
+
le(x, t, M), f(t, e), ee && ee.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, k), f(k, G), f(G, $), f(k, R), f(k, T), f(T, F), f(F, N), f(A, X), f(A, B);
|
|
15899
15976
|
for (let j = 0; j < O.length; j += 1)
|
|
15900
15977
|
O[j] && O[j].m(B, null);
|
|
15901
|
-
f(e, ie),
|
|
15978
|
+
f(e, ie), z && z.m(e, null), f(e, he), f(e, q), J.m(q, null), f(e, Z), f(e, Y), f(Y, H), f(H, fe), le(x, De, M), _e && _e.m(x, M), le(x, Te, M), ve || (ye = [
|
|
15902
15979
|
Mt(
|
|
15903
15980
|
k,
|
|
15904
15981
|
"click",
|
|
@@ -15918,8 +15995,8 @@ function Md(o) {
|
|
|
15918
15995
|
/*isMobile*/
|
|
15919
15996
|
x[22] && ee.p(x, M), M[0] & /*$_*/
|
|
15920
15997
|
1048576 && r !== (r = /*$_*/
|
|
15921
|
-
x[20]("titleSelfExclusion") + "") &&
|
|
15922
|
-
1048587 &&
|
|
15998
|
+
x[20]("titleSelfExclusion") + "") && de(n, r), M[0] & /*$_, operator, baseurl, lang*/
|
|
15999
|
+
1048587 && u !== (u = /*$_*/
|
|
15923
16000
|
x[20]("selfExclusionText", {
|
|
15924
16001
|
values: {
|
|
15925
16002
|
operatorname: (
|
|
@@ -15935,10 +16012,10 @@ function Md(o) {
|
|
|
15935
16012
|
x[0]
|
|
15936
16013
|
)
|
|
15937
16014
|
}
|
|
15938
|
-
}) + "") && (c.innerHTML =
|
|
16015
|
+
}) + "") && (c.innerHTML = u), M[0] & /*$_*/
|
|
15939
16016
|
1048576 && m !== (m = /*$_*/
|
|
15940
|
-
x[20]("selfExclusionEmailText") + "") &&
|
|
15941
|
-
4 &&
|
|
16017
|
+
x[20]("selfExclusionEmailText") + "") && de(g, m), M[0] & /*supportemail*/
|
|
16018
|
+
4 && de(
|
|
15942
16019
|
y,
|
|
15943
16020
|
/*supportemail*/
|
|
15944
16021
|
x[2]
|
|
@@ -15947,7 +16024,7 @@ function Md(o) {
|
|
|
15947
16024
|
x[2]) && E(_, "href", v), M[0] & /*$_, selectedPeriodKey*/
|
|
15948
16025
|
1056768 && U !== (U = /*$_*/
|
|
15949
16026
|
x[20](`${/*selectedPeriodKey*/
|
|
15950
|
-
x[13]}`) + "") &&
|
|
16027
|
+
x[13]}`) + "") && de($, U), M[0] & /*isPeriodDropDownToggled*/
|
|
15951
16028
|
262144 && Ue(
|
|
15952
16029
|
T,
|
|
15953
16030
|
"active",
|
|
@@ -15977,14 +16054,14 @@ function Md(o) {
|
|
|
15977
16054
|
x[18]
|
|
15978
16055
|
), M[0] & /*isPeriodDropDownToggled*/
|
|
15979
16056
|
262144 && Ue(
|
|
15980
|
-
|
|
16057
|
+
A,
|
|
15981
16058
|
"active",
|
|
15982
16059
|
/*isPeriodDropDownToggled*/
|
|
15983
16060
|
x[18]
|
|
15984
16061
|
), /*isUntilDate*/
|
|
15985
|
-
x[16] ?
|
|
16062
|
+
x[16] ? z ? z.p(x, M) : (z = Zo(x), z.c(), z.m(e, he)) : z && (z.d(1), z = null), me === (me = xe(x)) && J ? J.p(x, M) : (J.d(1), J = me(x), J && (J.c(), J.m(q, null))), M[0] & /*$_*/
|
|
15986
16063
|
1048576 && Q !== (Q = /*$_*/
|
|
15987
|
-
x[20]("save") + "") &&
|
|
16064
|
+
x[20]("save") + "") && de(fe, Q), M[0] & /*isDateSelected*/
|
|
15988
16065
|
131072 && Pe !== (Pe = "SelfExclusionSave " + /*isDateSelected*/
|
|
15989
16066
|
(x[17] ? "active" : "")) && E(H, "class", Pe), M[0] & /*isDateSelected*/
|
|
15990
16067
|
131072 && ke !== (ke = !/*isDateSelected*/
|
|
@@ -15992,22 +16069,22 @@ function Md(o) {
|
|
|
15992
16069
|
x[23] && _e.p(x, M);
|
|
15993
16070
|
},
|
|
15994
16071
|
d(x) {
|
|
15995
|
-
x && (ae(t), ae(De), ae(Te)), ee && ee.d(),
|
|
16072
|
+
x && (ae(t), ae(De), ae(Te)), ee && ee.d(), zr(O, x), z && z.d(), J.d(), _e && _e.d(x), ve = !1, Lr(ye);
|
|
15996
16073
|
}
|
|
15997
16074
|
};
|
|
15998
16075
|
}
|
|
15999
|
-
function
|
|
16000
|
-
let t, e, i, s, r, n, a, l, c,
|
|
16076
|
+
function Ou(o) {
|
|
16077
|
+
let t, e, i, s, r, n, a, l, c, u, d, h, m, g, p, _, y, v, C, A, k;
|
|
16001
16078
|
function G(R, T) {
|
|
16002
16079
|
return (
|
|
16003
16080
|
/*isMobile*/
|
|
16004
|
-
R[22] ?
|
|
16081
|
+
R[22] ? Bu : Ru
|
|
16005
16082
|
);
|
|
16006
16083
|
}
|
|
16007
16084
|
let $ = G(o)(o);
|
|
16008
16085
|
return {
|
|
16009
16086
|
c() {
|
|
16010
|
-
t = w("div"), e = w("div"), $.c(), i = I(), s = w("div"), r = w("ui-skeleton"), n = I(), a = w("div"), l = I(), c = w("ui-skeleton"),
|
|
16087
|
+
t = w("div"), e = w("div"), $.c(), i = I(), s = w("div"), r = w("ui-skeleton"), n = I(), a = w("div"), l = I(), c = w("ui-skeleton"), u = I(), d = w("div"), h = I(), m = w("div"), g = w("ui-skeleton"), p = I(), _ = w("div"), y = I(), v = w("ui-skeleton"), C = I(), A = w("div"), k = w("ui-skeleton"), S(r, "structure", "text"), S(
|
|
16011
16088
|
r,
|
|
16012
16089
|
"height",
|
|
16013
16090
|
/*isMobile*/
|
|
@@ -16032,7 +16109,7 @@ function Od(o) {
|
|
|
16032
16109
|
"height",
|
|
16033
16110
|
/*isMobile*/
|
|
16034
16111
|
o[22] ? "15px" : "20px"
|
|
16035
|
-
), S(c, "width", "30%"), qt(
|
|
16112
|
+
), S(c, "width", "30%"), qt(d, "height", "10px"), E(s, "class", "SelfExclusionDescription"), S(g, "structure", "rectangle"), S(
|
|
16036
16113
|
g,
|
|
16037
16114
|
"width",
|
|
16038
16115
|
/*isMobile*/
|
|
@@ -16057,12 +16134,12 @@ function Od(o) {
|
|
|
16057
16134
|
"height",
|
|
16058
16135
|
/*isMobile*/
|
|
16059
16136
|
o[22] ? "35px" : "50px"
|
|
16060
|
-
), E(
|
|
16137
|
+
), E(A, "class", "SelfExclusionActionButtons " + /*isMobile*/
|
|
16061
16138
|
(o[22] ? "SelfExclusionActionButtonsMobile" : "")), E(e, "class", "SelfExclusionWrapper " + /*isMobile*/
|
|
16062
16139
|
(o[22] ? "SelfExclusionWrapperMobile" : "")), E(t, "class", "SelfExclusionContainer");
|
|
16063
16140
|
},
|
|
16064
16141
|
m(R, T) {
|
|
16065
|
-
le(R, t, T), f(t, e), $.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,
|
|
16142
|
+
le(R, t, T), f(t, e), $.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, k);
|
|
16066
16143
|
},
|
|
16067
16144
|
p: ci,
|
|
16068
16145
|
d(R) {
|
|
@@ -16070,17 +16147,17 @@ function Od(o) {
|
|
|
16070
16147
|
}
|
|
16071
16148
|
};
|
|
16072
16149
|
}
|
|
16073
|
-
function
|
|
16074
|
-
let t, e, i, s, r, n, a, l, c,
|
|
16150
|
+
function Iu(o) {
|
|
16151
|
+
let t, e, i, s, r, n, a, l, c, u, d = (
|
|
16075
16152
|
/*$_*/
|
|
16076
16153
|
o[20]("titleSelfExclusion") + ""
|
|
16077
16154
|
), h, m, g;
|
|
16078
16155
|
return {
|
|
16079
16156
|
c() {
|
|
16080
|
-
t = w("div"), e =
|
|
16157
|
+
t = w("div"), e = Ae("svg"), i = Ae("defs"), s = Ae("style"), r = ne(".aaa{fill:var(--emw--color-primary, #22B04E);}"), n = Ae("g"), a = Ae("g"), l = Ae("path"), c = I(), u = w("h2"), h = ne(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");
|
|
16081
16158
|
},
|
|
16082
16159
|
m(p, _) {
|
|
16083
|
-
le(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,
|
|
16160
|
+
le(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 = Mt(
|
|
16084
16161
|
t,
|
|
16085
16162
|
"click",
|
|
16086
16163
|
/*click_handler*/
|
|
@@ -16089,8 +16166,8 @@ function Id(o) {
|
|
|
16089
16166
|
},
|
|
16090
16167
|
p(p, _) {
|
|
16091
16168
|
_[0] & /*$_*/
|
|
16092
|
-
1048576 &&
|
|
16093
|
-
p[20]("titleSelfExclusion") + "") &&
|
|
16169
|
+
1048576 && d !== (d = /*$_*/
|
|
16170
|
+
p[20]("titleSelfExclusion") + "") && de(h, d);
|
|
16094
16171
|
},
|
|
16095
16172
|
d(p) {
|
|
16096
16173
|
p && ae(t), m = !1, g();
|
|
@@ -16123,7 +16200,7 @@ function Xo(o) {
|
|
|
16123
16200
|
o = a, l[0] & /*$_, selfExclusionPeriods*/
|
|
16124
16201
|
1049088 && e !== (e = /*$_*/
|
|
16125
16202
|
o[20](`${/*period*/
|
|
16126
|
-
o[56].key}`) + "") &&
|
|
16203
|
+
o[56].key}`) + "") && de(i, e);
|
|
16127
16204
|
},
|
|
16128
16205
|
d(a) {
|
|
16129
16206
|
a && ae(t), s = !1, r();
|
|
@@ -16137,10 +16214,10 @@ function Zo(o) {
|
|
|
16137
16214
|
), s, r, n, a = (
|
|
16138
16215
|
/*$_*/
|
|
16139
16216
|
o[20]("dateInstructions") + ""
|
|
16140
|
-
), l, c,
|
|
16217
|
+
), l, c, u, d, h, m, g;
|
|
16141
16218
|
return {
|
|
16142
16219
|
c() {
|
|
16143
|
-
t = w("div"), e = w("label"), s = ne(i), r = I(), n = w("span"), l = ne(a), c = I(),
|
|
16220
|
+
t = w("div"), e = w("label"), s = ne(i), r = I(), n = w("span"), l = ne(a), c = I(), u = w("strong"), d = ne(
|
|
16144
16221
|
/*validDateformat*/
|
|
16145
16222
|
o[21]
|
|
16146
16223
|
), h = w("strong"), m = I(), g = w("vaadin-date-picker"), E(e, "for", "SelfExclusionDate"), E(n, "class", "SelfExclusionDateInstructions"), S(
|
|
@@ -16162,14 +16239,14 @@ function Zo(o) {
|
|
|
16162
16239
|
(o[22] ? "SelfExclusionDateWrapperMobile" : ""));
|
|
16163
16240
|
},
|
|
16164
16241
|
m(p, _) {
|
|
16165
|
-
le(p, t, _), f(t, e), f(e, s), f(t, r), f(t, n), f(n, l), f(n, c), f(n,
|
|
16242
|
+
le(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);
|
|
16166
16243
|
},
|
|
16167
16244
|
p(p, _) {
|
|
16168
16245
|
_[0] & /*$_*/
|
|
16169
16246
|
1048576 && i !== (i = /*$_*/
|
|
16170
|
-
p[20]("duration") + "") &&
|
|
16247
|
+
p[20]("duration") + "") && de(s, i), _[0] & /*$_*/
|
|
16171
16248
|
1048576 && a !== (a = /*$_*/
|
|
16172
|
-
p[20]("dateInstructions") + "") &&
|
|
16249
|
+
p[20]("dateInstructions") + "") && de(l, a), _[0] & /*minDate*/
|
|
16173
16250
|
1024 && S(
|
|
16174
16251
|
g,
|
|
16175
16252
|
"min",
|
|
@@ -16194,7 +16271,7 @@ function Zo(o) {
|
|
|
16194
16271
|
}
|
|
16195
16272
|
};
|
|
16196
16273
|
}
|
|
16197
|
-
function
|
|
16274
|
+
function Fu(o) {
|
|
16198
16275
|
let t, e, i = (
|
|
16199
16276
|
/*$_*/
|
|
16200
16277
|
o[20]("temporarySelfExclusion", {
|
|
@@ -16229,14 +16306,14 @@ function Nd(o) {
|
|
|
16229
16306
|
r[21]
|
|
16230
16307
|
)
|
|
16231
16308
|
}
|
|
16232
|
-
}) + "") &&
|
|
16309
|
+
}) + "") && de(s, i);
|
|
16233
16310
|
},
|
|
16234
16311
|
d(r) {
|
|
16235
16312
|
r && ae(t);
|
|
16236
16313
|
}
|
|
16237
16314
|
};
|
|
16238
16315
|
}
|
|
16239
|
-
function
|
|
16316
|
+
function Nu(o) {
|
|
16240
16317
|
let t, e, i = (
|
|
16241
16318
|
/*$_*/
|
|
16242
16319
|
o[20]("noPeriodSelected") + ""
|
|
@@ -16251,14 +16328,14 @@ function zd(o) {
|
|
|
16251
16328
|
p(r, n) {
|
|
16252
16329
|
n[0] & /*$_*/
|
|
16253
16330
|
1048576 && i !== (i = /*$_*/
|
|
16254
|
-
r[20]("noPeriodSelected") + "") &&
|
|
16331
|
+
r[20]("noPeriodSelected") + "") && de(s, i);
|
|
16255
16332
|
},
|
|
16256
16333
|
d(r) {
|
|
16257
16334
|
r && ae(t);
|
|
16258
16335
|
}
|
|
16259
16336
|
};
|
|
16260
16337
|
}
|
|
16261
|
-
function
|
|
16338
|
+
function zu(o) {
|
|
16262
16339
|
let t, e, i = (
|
|
16263
16340
|
/*$_*/
|
|
16264
16341
|
o[20]("permanentSelfExclusion") + ""
|
|
@@ -16273,14 +16350,14 @@ function Fd(o) {
|
|
|
16273
16350
|
p(r, n) {
|
|
16274
16351
|
n[0] & /*$_*/
|
|
16275
16352
|
1048576 && i !== (i = /*$_*/
|
|
16276
|
-
r[20]("permanentSelfExclusion") + "") &&
|
|
16353
|
+
r[20]("permanentSelfExclusion") + "") && de(s, i);
|
|
16277
16354
|
},
|
|
16278
16355
|
d(r) {
|
|
16279
16356
|
r && ae(t);
|
|
16280
16357
|
}
|
|
16281
16358
|
};
|
|
16282
16359
|
}
|
|
16283
|
-
function
|
|
16360
|
+
function Lu(o) {
|
|
16284
16361
|
let t, e, i;
|
|
16285
16362
|
return {
|
|
16286
16363
|
c() {
|
|
@@ -16366,7 +16443,7 @@ function Ld(o) {
|
|
|
16366
16443
|
}
|
|
16367
16444
|
};
|
|
16368
16445
|
}
|
|
16369
|
-
function
|
|
16446
|
+
function Ru(o) {
|
|
16370
16447
|
let t;
|
|
16371
16448
|
return {
|
|
16372
16449
|
c() {
|
|
@@ -16380,7 +16457,7 @@ function Rd(o) {
|
|
|
16380
16457
|
}
|
|
16381
16458
|
};
|
|
16382
16459
|
}
|
|
16383
|
-
function
|
|
16460
|
+
function Bu(o) {
|
|
16384
16461
|
let t;
|
|
16385
16462
|
return {
|
|
16386
16463
|
c() {
|
|
@@ -16394,12 +16471,12 @@ function Bd(o) {
|
|
|
16394
16471
|
}
|
|
16395
16472
|
};
|
|
16396
16473
|
}
|
|
16397
|
-
function
|
|
16474
|
+
function Hu(o) {
|
|
16398
16475
|
let t;
|
|
16399
16476
|
function e(r, n) {
|
|
16400
16477
|
return (
|
|
16401
16478
|
/*skeletonLoading*/
|
|
16402
|
-
r[19] ?
|
|
16479
|
+
r[19] ? Ou : Mu
|
|
16403
16480
|
);
|
|
16404
16481
|
}
|
|
16405
16482
|
let i = e(o), s = i(o);
|
|
@@ -16420,10 +16497,10 @@ function Hd(o) {
|
|
|
16420
16497
|
}
|
|
16421
16498
|
};
|
|
16422
16499
|
}
|
|
16423
|
-
function $
|
|
16500
|
+
function $u(o, t, e) {
|
|
16424
16501
|
let i;
|
|
16425
|
-
Ir(o, jr, (b) => e(20, i = b)), Ee.extend(
|
|
16426
|
-
let { endpoint: s = "", session: r = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail:
|
|
16502
|
+
Ir(o, jr, (b) => e(20, i = b)), Ee.extend(ku);
|
|
16503
|
+
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, k = y.toUpperCase(), G = [], U = {}, $ = window.navigator.userAgent, R, T, F = "", N = "", X = "selectAPeriod", B = "", ie = "", he = Fr($) !== "PC", q = !1, Z = !1, Y = !1, H = !1, Q = _ === "true", fe = !0;
|
|
16427
16504
|
const Pe = () => {
|
|
16428
16505
|
fetch(p).then((oe) => oe.json()).then((oe) => {
|
|
16429
16506
|
Object.keys(oe).forEach((se) => {
|
|
@@ -16470,31 +16547,31 @@ function $d(o, t, e) {
|
|
|
16470
16547
|
}, ve = () => {
|
|
16471
16548
|
e(18, H = !H);
|
|
16472
16549
|
}, ye = (b) => {
|
|
16473
|
-
switch (
|
|
16550
|
+
switch (N = b.text, e(13, X = b.key), e(17, Y = !0), e(18, H = !1), e(15, q = !1), e(16, Z = !1), N) {
|
|
16474
16551
|
case "Until":
|
|
16475
|
-
e(16, Z = !0), e(10, R = Ee().add(6, "M").format("YYYY-MM-DD")), e(11, T = Ee().add(5, "y").format("YYYY-MM-DD")), e(12,
|
|
16552
|
+
e(16, Z = !0), e(10, R = Ee().add(6, "M").format("YYYY-MM-DD")), e(11, T = Ee().add(5, "y").format("YYYY-MM-DD")), e(12, F = R);
|
|
16476
16553
|
break;
|
|
16477
16554
|
case "Permanent":
|
|
16478
16555
|
e(15, q = !q);
|
|
16479
16556
|
break;
|
|
16480
16557
|
default:
|
|
16481
|
-
const [oe, se] =
|
|
16482
|
-
if (!
|
|
16558
|
+
const [oe, se] = N.split(" "), Ne = se.includes("Day") ? "days" : se.includes("Month") ? "months" : se.includes("Year") ? "years" : null;
|
|
16559
|
+
if (!Ne)
|
|
16483
16560
|
return;
|
|
16484
|
-
e(12,
|
|
16561
|
+
e(12, F = Ee().add(Number(oe), Ne).format("YYYY-MM-DD"));
|
|
16485
16562
|
break;
|
|
16486
16563
|
}
|
|
16487
16564
|
Q && ee();
|
|
16488
16565
|
}, ee = () => {
|
|
16489
|
-
if (!Q || !
|
|
16566
|
+
if (!Q || !N || !F) {
|
|
16490
16567
|
e(14, B = "");
|
|
16491
16568
|
return;
|
|
16492
16569
|
}
|
|
16493
16570
|
e(14, B = Z ? i("confirmationModalTextUntilSelfExclusion", {
|
|
16494
16571
|
values: {
|
|
16495
|
-
date: Ee(
|
|
16572
|
+
date: Ee(F).format(k)
|
|
16496
16573
|
}
|
|
16497
|
-
}) : i("confirmationModalTextPeriodSelfExclusion", { values: { period: i(
|
|
16574
|
+
}) : i("confirmationModalTextPeriodSelfExclusion", { values: { period: i(N) } }));
|
|
16498
16575
|
}, ce = (b) => {
|
|
16499
16576
|
b.preventDefault(), Q ? (ee(), window.postMessage(
|
|
16500
16577
|
{
|
|
@@ -16514,13 +16591,13 @@ function $d(o, t, e) {
|
|
|
16514
16591
|
body: JSON.stringify({
|
|
16515
16592
|
selfExclusion: {
|
|
16516
16593
|
period: X,
|
|
16517
|
-
expiryDate:
|
|
16594
|
+
expiryDate: F,
|
|
16518
16595
|
selfExclusionReason: "UserRequest",
|
|
16519
16596
|
sendNotificationEmail: v === "true"
|
|
16520
16597
|
}
|
|
16521
16598
|
})
|
|
16522
16599
|
};
|
|
16523
|
-
fetch(b.href, se).then((
|
|
16600
|
+
fetch(b.href, se).then((Ne) => Te(Ne)).then((Ne) => {
|
|
16524
16601
|
window.postMessage(
|
|
16525
16602
|
{
|
|
16526
16603
|
type: "WidgetNotification",
|
|
@@ -16531,8 +16608,8 @@ function $d(o, t, e) {
|
|
|
16531
16608
|
},
|
|
16532
16609
|
window.location.href
|
|
16533
16610
|
), window.postMessage({ type: "LogoutSuccessfull" }, window.location.href);
|
|
16534
|
-
}).catch((
|
|
16535
|
-
console.error(i("errorSelfExclusionCall"),
|
|
16611
|
+
}).catch((Ne) => {
|
|
16612
|
+
console.error(i("errorSelfExclusionCall"), Ne), window.postMessage(
|
|
16536
16613
|
{
|
|
16537
16614
|
type: "WidgetNotification",
|
|
16538
16615
|
data: {
|
|
@@ -16545,7 +16622,7 @@ function $d(o, t, e) {
|
|
|
16545
16622
|
}).finally(() => {
|
|
16546
16623
|
e(19, fe = !1);
|
|
16547
16624
|
});
|
|
16548
|
-
},
|
|
16625
|
+
}, z = () => {
|
|
16549
16626
|
window.postMessage(
|
|
16550
16627
|
{
|
|
16551
16628
|
type: "PlayerAccountMenuActive",
|
|
@@ -16554,12 +16631,12 @@ function $d(o, t, e) {
|
|
|
16554
16631
|
window.location.href
|
|
16555
16632
|
);
|
|
16556
16633
|
}, xe = (b) => {
|
|
16557
|
-
e(12,
|
|
16634
|
+
e(12, F = b.target.value);
|
|
16558
16635
|
}, me = () => {
|
|
16559
|
-
|
|
16636
|
+
A.addEventListener("change", xe, !1), e(
|
|
16560
16637
|
8,
|
|
16561
|
-
|
|
16562
|
-
...
|
|
16638
|
+
A.i18n = {
|
|
16639
|
+
...A.i18n,
|
|
16563
16640
|
formatDate: (b) => Ee(new Date(b.year, b.month, b.day)).format(k),
|
|
16564
16641
|
parseDate: (b) => {
|
|
16565
16642
|
const oe = Ee(b, k);
|
|
@@ -16570,52 +16647,52 @@ function $d(o, t, e) {
|
|
|
16570
16647
|
};
|
|
16571
16648
|
}
|
|
16572
16649
|
},
|
|
16573
|
-
|
|
16650
|
+
A
|
|
16574
16651
|
);
|
|
16575
16652
|
};
|
|
16576
|
-
|
|
16577
|
-
|
|
16653
|
+
Nr(() => (window.addEventListener("message", De, !1), () => {
|
|
16654
|
+
A.removeEventListener("change", xe), window.removeEventListener("message", De);
|
|
16578
16655
|
}));
|
|
16579
16656
|
const J = () => {
|
|
16580
|
-
|
|
16581
|
-
}, _e = () =>
|
|
16657
|
+
Du(a);
|
|
16658
|
+
}, _e = () => z(), x = () => ve(), M = (b) => ye(b);
|
|
16582
16659
|
function j(b) {
|
|
16583
16660
|
ro[b ? "unshift" : "push"](() => {
|
|
16584
|
-
|
|
16661
|
+
A = b, e(8, A);
|
|
16585
16662
|
});
|
|
16586
16663
|
}
|
|
16587
16664
|
const Et = (b) => ce(b);
|
|
16588
16665
|
function Sr(b) {
|
|
16589
16666
|
ro[b ? "unshift" : "push"](() => {
|
|
16590
|
-
|
|
16667
|
+
C = b, e(7, C);
|
|
16591
16668
|
});
|
|
16592
16669
|
}
|
|
16593
16670
|
return o.$$set = (b) => {
|
|
16594
|
-
"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,
|
|
16671
|
+
"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);
|
|
16595
16672
|
}, o.$$.update = () => {
|
|
16596
16673
|
o.$$.dirty[0] & /*lang*/
|
|
16597
16674
|
1 && a && J(), o.$$.dirty[0] & /*endpoint, session, userid*/
|
|
16598
16675
|
1879048192 | o.$$.dirty[1] & /*gmversion*/
|
|
16599
16676
|
1 && s && r && n && l && ke(), o.$$.dirty[0] & /*calendar*/
|
|
16600
|
-
256 &&
|
|
16601
|
-
144 && h &&
|
|
16602
|
-
160 && m &&
|
|
16603
|
-
192 && g &&
|
|
16677
|
+
256 && A && me(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
16678
|
+
144 && h && C && Br(C, h), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
16679
|
+
160 && m && C && Hr(C, m), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
16680
|
+
192 && g && C && $r(C, `${g}.Style`), o.$$.dirty[1] & /*translationurl*/
|
|
16604
16681
|
2 && p && Pe();
|
|
16605
16682
|
}, Q && ee(), [
|
|
16606
16683
|
a,
|
|
16607
16684
|
c,
|
|
16608
|
-
d,
|
|
16609
16685
|
u,
|
|
16686
|
+
d,
|
|
16610
16687
|
h,
|
|
16611
16688
|
m,
|
|
16612
16689
|
g,
|
|
16613
|
-
A,
|
|
16614
16690
|
C,
|
|
16691
|
+
A,
|
|
16615
16692
|
G,
|
|
16616
16693
|
R,
|
|
16617
16694
|
T,
|
|
16618
|
-
|
|
16695
|
+
F,
|
|
16619
16696
|
X,
|
|
16620
16697
|
B,
|
|
16621
16698
|
q,
|
|
@@ -16630,7 +16707,7 @@ function $d(o, t, e) {
|
|
|
16630
16707
|
ve,
|
|
16631
16708
|
ye,
|
|
16632
16709
|
ce,
|
|
16633
|
-
|
|
16710
|
+
z,
|
|
16634
16711
|
s,
|
|
16635
16712
|
r,
|
|
16636
16713
|
n,
|
|
@@ -16652,8 +16729,8 @@ class Er extends Dr {
|
|
|
16652
16729
|
super(), Tr(
|
|
16653
16730
|
this,
|
|
16654
16731
|
t,
|
|
16655
|
-
$
|
|
16656
|
-
|
|
16732
|
+
$u,
|
|
16733
|
+
Hu,
|
|
16657
16734
|
Mr,
|
|
16658
16735
|
{
|
|
16659
16736
|
endpoint: 28,
|
|
@@ -16672,7 +16749,7 @@ class Er extends Dr {
|
|
|
16672
16749
|
dateformat: 34,
|
|
16673
16750
|
sendnotificationemail: 35
|
|
16674
16751
|
},
|
|
16675
|
-
|
|
16752
|
+
Tu,
|
|
16676
16753
|
[-1, -1]
|
|
16677
16754
|
);
|
|
16678
16755
|
}
|
|
@@ -16768,11 +16845,11 @@ class Er extends Dr {
|
|
|
16768
16845
|
}
|
|
16769
16846
|
}
|
|
16770
16847
|
Yr(Er, { endpoint: {}, session: {}, userid: {}, lang: {}, gmversion: {}, operator: {}, supportemail: {}, baseurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, hasconfirmationmodal: {}, dateformat: {}, sendnotificationemail: {} }, [], [], !0);
|
|
16771
|
-
const
|
|
16848
|
+
const Cd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16772
16849
|
__proto__: null,
|
|
16773
16850
|
default: Er
|
|
16774
16851
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
16775
16852
|
export {
|
|
16776
|
-
|
|
16777
|
-
|
|
16853
|
+
ku as C,
|
|
16854
|
+
Cd as P
|
|
16778
16855
|
};
|