@everymatrix/player-account-controller 1.70.0 → 1.70.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountController-BRsvfCew.js → PlayerAccountController-BXYtygsP.js} +7 -7
- package/components/{PlayerAccountController-BgXQNsvX.cjs → PlayerAccountController-CMyW_1-T.cjs} +1 -1
- package/components/{PlayerAccountController-BVI65NyY.js → PlayerAccountController-DHLtX3XO.js} +7 -7
- package/components/{PlayerAccountSelfExclusion-aPMGQrTu.cjs → PlayerAccountSelfExclusion-BgMjbGLs.cjs} +31 -31
- package/components/{PlayerAccountSelfExclusion-BdH1YfUH.js → PlayerAccountSelfExclusion-C65zyQu1.js} +612 -535
- package/components/{PlayerAccountSelfExclusion-CL4bEd37.js → PlayerAccountSelfExclusion-CJHCaxBb.js} +577 -500
- package/components/{PlayerAccountTimeout-CJRir9eR.cjs → PlayerAccountTimeout-4Aa1s5jR.cjs} +1 -1
- package/components/{PlayerAccountTimeout-CNXL9TVu.js → PlayerAccountTimeout-DUBkD9d2.js} +1 -1
- package/components/{PlayerAccountTimeout-Cm_QTYSz.js → PlayerAccountTimeout-npDnQAdR.js} +1 -1
- package/components/{PlayerAccountTransactionsHistory-C-xmag8z.cjs → PlayerAccountTransactionsHistory-BQH631zi.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-DPpaRiaX.js → PlayerAccountTransactionsHistory-D5v-reW0.js} +1 -1
- package/components/{PlayerAccountTransactionsHistory-D6QxHI6o.js → PlayerAccountTransactionsHistory-DnLoeUPl.js} +1 -1
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
package/components/{PlayerAccountSelfExclusion-CL4bEd37.js → PlayerAccountSelfExclusion-CJHCaxBb.js}
RENAMED
|
@@ -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 ee, b as Or, n as li, d as de, g as he, j as w, p as Ir, q as Fr, u as Nr, w as so, h as f, k as O, e as S, Z as Wt, o as E, O as ro, P as zr, r as Lr, c as ue, t as Ve, l as Tt, m as ae, v as Ee, x as Rr, y as Br, z as Hr, A as $r, B as Yr } from "./GeneralLogout-CgxHUYZx.js";
|
|
2
2
|
import { d as xe } from "./PlayerAccountProductRestriction-BLkXP0pX.js";
|
|
3
3
|
import "../stencil/ui-skeleton-mkMdvWYI.js";
|
|
4
4
|
import "./PlayerAccountGamingLimitsGroupEdit-CoayAtf0.js";
|
|
@@ -40,7 +40,7 @@ be(jr);
|
|
|
40
40
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
41
41
|
*/
|
|
42
42
|
const kt = globalThis, Oi = kt.ShadowRoot && (kt.ShadyCSS === void 0 || kt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Ii = Symbol(), no = /* @__PURE__ */ new WeakMap();
|
|
43
|
-
let
|
|
43
|
+
let Fi = class {
|
|
44
44
|
constructor(t, e, i) {
|
|
45
45
|
if (this._$cssResult$ = !0, i !== Ii)
|
|
46
46
|
throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
@@ -59,7 +59,7 @@ let Ni = class {
|
|
|
59
59
|
return this.cssText;
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
|
-
const Vr = (o) => new
|
|
62
|
+
const Vr = (o) => new Fi(typeof o == "string" ? o : o + "", void 0, Ii), 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 Vr = (o) => new Ni(typeof o == "string" ? o : o + "", void 0, Ii), 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 Fi(e, o, Ii);
|
|
71
71
|
}, Zo = (o, t) => {
|
|
72
72
|
if (Oi)
|
|
73
73
|
o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
@@ -87,7 +87,7 @@ const Vr = (o) => new Ni(typeof o == "string" ? o : o + "", void 0, Ii), P = (o,
|
|
|
87
87
|
* Copyright 2017 Google LLC
|
|
88
88
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
89
89
|
*/
|
|
90
|
-
const { is: Ur, defineProperty: Wr, getOwnPropertyDescriptor: qr, getOwnPropertyNames: Kr, getOwnPropertySymbols: Gr, getPrototypeOf: Jr } = Object, Bt = globalThis, lo = Bt.trustedTypes, Xr = lo ? lo.emptyScript : "", Zr = Bt.reactiveElementPolyfillSupport,
|
|
90
|
+
const { is: Ur, defineProperty: Wr, getOwnPropertyDescriptor: qr, getOwnPropertyNames: Kr, getOwnPropertySymbols: Gr, getPrototypeOf: Jr } = Object, Bt = globalThis, lo = Bt.trustedTypes, Xr = lo ? lo.emptyScript : "", Zr = Bt.reactiveElementPolyfillSupport, ut = (o, t) => o, ci = { toAttribute(o, t) {
|
|
91
91
|
switch (t) {
|
|
92
92
|
case Boolean:
|
|
93
93
|
o = o ? Xr : null;
|
|
@@ -145,15 +145,15 @@ class We extends HTMLElement {
|
|
|
145
145
|
return this.elementProperties.get(t) ?? co;
|
|
146
146
|
}
|
|
147
147
|
static _$Ei() {
|
|
148
|
-
if (this.hasOwnProperty(
|
|
148
|
+
if (this.hasOwnProperty(ut("elementProperties")))
|
|
149
149
|
return;
|
|
150
150
|
const t = Jr(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(ut("finalized")))
|
|
155
155
|
return;
|
|
156
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
|
156
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(ut("properties"))) {
|
|
157
157
|
const e = this.properties, i = [...Kr(e), ...Gr(e)];
|
|
158
158
|
for (const s of i)
|
|
159
159
|
this.createProperty(s, e[s]);
|
|
@@ -308,17 +308,17 @@ class We extends HTMLElement {
|
|
|
308
308
|
firstUpdated(t) {
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
|
-
We.elementStyles = [], We.shadowRootOptions = { mode: "open" }, We[
|
|
311
|
+
We.elementStyles = [], We.shadowRootOptions = { mode: "open" }, We[ut("elementProperties")] = /* @__PURE__ */ new Map(), We[ut("finalized")] = /* @__PURE__ */ new Map(), Zr?.({ ReactiveElement: We }), (Bt.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]`, ot = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ho = /-->/g, po = />/g,
|
|
319
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), fo = /'/g, mo = /"/g, is = /^(?:script|style|textarea|title)$/i, Xe = Symbol.for("lit-noChange"), W = Symbol.for("lit-nothing"), _o = /* @__PURE__ */ new WeakMap(),
|
|
317
|
+
const Ni = globalThis, Mt = Ni.trustedTypes, uo = Mt ? Mt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, es = "$lit$", De = `lit$${Math.random().toFixed(9).slice(2)}$`, ts = "?" + De, Qr = `<${ts}>`, He = document, ht = () => He.createComment(""), pt = (o) => o === null || typeof o != "object" && typeof o != "function", zi = Array.isArray, en = (o) => zi(o) || typeof o?.[Symbol.iterator] == "function", qt = `[
|
|
318
|
+
\f\r]`, ot = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ho = /-->/g, po = />/g, Ne = RegExp(`>|${qt}(?:([^\\s"'>=/]+)(${qt}*=${qt}*(?:[^
|
|
319
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), fo = /'/g, mo = /"/g, is = /^(?:script|style|textarea|title)$/i, Xe = Symbol.for("lit-noChange"), W = Symbol.for("lit-nothing"), _o = /* @__PURE__ */ new WeakMap(), ze = He.createTreeWalker(He, 129);
|
|
320
320
|
function os(o, t) {
|
|
321
|
-
if (!
|
|
321
|
+
if (!zi(o) || !o.hasOwnProperty("raw"))
|
|
322
322
|
throw Error("invalid template strings array");
|
|
323
323
|
return uo !== void 0 ? uo.createHTML(t) : t;
|
|
324
324
|
}
|
|
@@ -327,11 +327,11 @@ const tn = (o, t) => {
|
|
|
327
327
|
let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = ot;
|
|
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 === ot ?
|
|
333
|
-
const m = n ===
|
|
334
|
-
r += n === ot ? l + Qr :
|
|
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 === ot ? u[1] === "!--" ? n = ho : u[1] !== void 0 ? n = po : u[2] !== void 0 ? (is.test(u[2]) && (s = RegExp("</" + u[2], "g")), n = Ne) : u[3] !== void 0 && (n = Ne) : n === Ne ? u[0] === ">" ? (n = s ?? ot, d = -1) : u[1] === void 0 ? d = -2 : (d = n.lastIndex - u[2].length, c = u[1], n = u[3] === void 0 ? Ne : u[3] === '"' ? mo : fo) : n === mo || n === fo ? n = Ne : n === ho || n === po ? n = ot : (n = Ne, s = void 0);
|
|
333
|
+
const m = n === Ne && o[a + 1].startsWith("/>") ? " " : "";
|
|
334
|
+
r += n === ot ? l + Qr : d >= 0 ? (i.push(c), l.slice(0, d) + es + l.slice(d) + De + m) : l + De + (d === -2 ? a : m);
|
|
335
335
|
}
|
|
336
336
|
return [os(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
|
|
337
337
|
};
|
|
@@ -340,36 +340,36 @@ class ft {
|
|
|
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,
|
|
344
|
-
if (this.el = ft.createElement(c, i),
|
|
345
|
-
const
|
|
346
|
-
|
|
343
|
+
const a = t.length - 1, l = this.parts, [c, u] = tn(t, e);
|
|
344
|
+
if (this.el = ft.createElement(c, i), ze.currentNode = this.el.content, e === 2 || e === 3) {
|
|
345
|
+
const d = this.el.content.firstChild;
|
|
346
|
+
d.replaceWith(...d.childNodes);
|
|
347
347
|
}
|
|
348
|
-
for (; (s =
|
|
348
|
+
for (; (s = ze.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] === "." ? sn : g[1] === "?" ? rn : g[1] === "@" ? nn : Ht }), s.removeAttribute(
|
|
351
|
+
for (const d of s.getAttributeNames())
|
|
352
|
+
if (d.endsWith(es)) {
|
|
353
|
+
const h = u[n++], m = s.getAttribute(d).split(De), g = /([.?@])?(.*)/.exec(h);
|
|
354
|
+
l.push({ type: 1, index: r, name: g[2], strings: m, ctor: g[1] === "." ? sn : g[1] === "?" ? rn : g[1] === "@" ? nn : Ht }), s.removeAttribute(d);
|
|
355
355
|
} else
|
|
356
|
-
|
|
356
|
+
d.startsWith(De) && (l.push({ type: 6, index: r }), s.removeAttribute(d));
|
|
357
357
|
if (is.test(s.tagName)) {
|
|
358
|
-
const
|
|
358
|
+
const d = s.textContent.split(De), h = d.length - 1;
|
|
359
359
|
if (h > 0) {
|
|
360
360
|
s.textContent = Mt ? Mt.emptyScript : "";
|
|
361
361
|
for (let m = 0; m < h; m++)
|
|
362
|
-
s.append(
|
|
363
|
-
s.append(
|
|
362
|
+
s.append(d[m], ht()), ze.nextNode(), l.push({ type: 2, index: ++r });
|
|
363
|
+
s.append(d[h], ht());
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
366
|
} else if (s.nodeType === 8)
|
|
367
367
|
if (s.data === ts)
|
|
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(De, d + 1)) !== -1; )
|
|
372
|
+
l.push({ type: 7, index: r }), d += De.length - 1;
|
|
373
373
|
}
|
|
374
374
|
r++;
|
|
375
375
|
}
|
|
@@ -398,16 +398,16 @@ class on {
|
|
|
398
398
|
}
|
|
399
399
|
u(t) {
|
|
400
400
|
const { el: { content: e }, parts: i } = this._$AD, s = (t?.creationScope ?? He).importNode(e, !0);
|
|
401
|
-
|
|
402
|
-
let r =
|
|
401
|
+
ze.currentNode = s;
|
|
402
|
+
let r = ze.nextNode(), n = 0, a = 0, l = i[0];
|
|
403
403
|
for (; l !== void 0; ) {
|
|
404
404
|
if (n === l.index) {
|
|
405
405
|
let c;
|
|
406
406
|
l.type === 2 ? c = new xt(r, r.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (c = new an(r, this, t)), this._$AV.push(c), l = i[++a];
|
|
407
407
|
}
|
|
408
|
-
n !== l?.index && (r =
|
|
408
|
+
n !== l?.index && (r = ze.nextNode(), n++);
|
|
409
409
|
}
|
|
410
|
-
return
|
|
410
|
+
return ze.currentNode = He, s;
|
|
411
411
|
}
|
|
412
412
|
p(t) {
|
|
413
413
|
let e = 0;
|
|
@@ -459,7 +459,7 @@ class xt {
|
|
|
459
459
|
return e === void 0 && _o.set(t.strings, e = new ft(t)), e;
|
|
460
460
|
}
|
|
461
461
|
k(t) {
|
|
462
|
-
|
|
462
|
+
zi(this._$AH) || (this._$AH = [], this._$AR());
|
|
463
463
|
const e = this._$AH;
|
|
464
464
|
let i, s = 0;
|
|
465
465
|
for (const r of t)
|
|
@@ -544,8 +544,8 @@ class an {
|
|
|
544
544
|
Ze(this, t);
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
|
-
const ln =
|
|
548
|
-
ln?.(ft, xt), (
|
|
547
|
+
const ln = Ni.litHtmlPolyfillSupport;
|
|
548
|
+
ln?.(ft, xt), (Ni.litHtmlVersions ??= []).push("3.3.0");
|
|
549
549
|
const cn = (o, t, e) => {
|
|
550
550
|
const i = e?.renderBefore ?? t;
|
|
551
551
|
let s = i._$litPart$;
|
|
@@ -584,15 +584,15 @@ class qe extends We {
|
|
|
584
584
|
}
|
|
585
585
|
}
|
|
586
586
|
qe._$litElement$ = !0, qe.finalized = !0, Li.litElementHydrateSupport?.({ LitElement: qe });
|
|
587
|
-
const
|
|
588
|
-
|
|
587
|
+
const un = Li.litElementPolyfillSupport;
|
|
588
|
+
un?.({ LitElement: qe });
|
|
589
589
|
(Li.litElementVersions ??= []).push("4.2.0");
|
|
590
590
|
/**
|
|
591
591
|
* @license
|
|
592
592
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
593
593
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
594
594
|
*/
|
|
595
|
-
const
|
|
595
|
+
const dn = (o) => class extends o {
|
|
596
596
|
static get properties() {
|
|
597
597
|
return {
|
|
598
598
|
/**
|
|
@@ -631,7 +631,7 @@ const un = (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 ss = [],
|
|
634
|
+
const ss = [], ui = /* @__PURE__ */ new Set(), Ri = /* @__PURE__ */ new Set();
|
|
635
635
|
function rs(o) {
|
|
636
636
|
return o && Object.prototype.hasOwnProperty.call(o, "__themes");
|
|
637
637
|
}
|
|
@@ -639,7 +639,7 @@ function hn(o) {
|
|
|
639
639
|
return rs(customElements.get(o));
|
|
640
640
|
}
|
|
641
641
|
function pn(o = []) {
|
|
642
|
-
return [o].flat(1 / 0).filter((t) => t instanceof
|
|
642
|
+
return [o].flat(1 / 0).filter((t) => t instanceof Fi ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
|
|
643
643
|
}
|
|
644
644
|
function ns(o, t) {
|
|
645
645
|
return (o || "").split(" ").some((e) => new RegExp(`^${e.split("*").join(".*")}$`, "u").test(t));
|
|
@@ -665,9 +665,9 @@ function mn(o) {
|
|
|
665
665
|
}
|
|
666
666
|
}
|
|
667
667
|
function _n(o) {
|
|
668
|
-
|
|
668
|
+
ui.forEach((t) => {
|
|
669
669
|
const e = t.deref();
|
|
670
|
-
e instanceof o ? mn(e) : e ||
|
|
670
|
+
e instanceof o ? mn(e) : e || ui.delete(t);
|
|
671
671
|
});
|
|
672
672
|
}
|
|
673
673
|
function ls(o) {
|
|
@@ -703,7 +703,7 @@ function L(o, t, e = {}) {
|
|
|
703
703
|
}
|
|
704
704
|
});
|
|
705
705
|
}
|
|
706
|
-
function
|
|
706
|
+
function di() {
|
|
707
707
|
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() : ss;
|
|
708
708
|
}
|
|
709
709
|
function bn(o = "") {
|
|
@@ -713,23 +713,23 @@ function bn(o = "") {
|
|
|
713
713
|
function cs(o) {
|
|
714
714
|
const t = [];
|
|
715
715
|
return o.include && [].concat(o.include).forEach((e) => {
|
|
716
|
-
const i =
|
|
716
|
+
const i = di().find((s) => s.moduleId === e);
|
|
717
717
|
i ? t.push(...cs(i), ...i.styles) : console.warn(`Included moduleId ${e} not found in style registry`);
|
|
718
718
|
}, o.styles), t;
|
|
719
719
|
}
|
|
720
720
|
function vn(o) {
|
|
721
|
-
const t = `${o}-default-theme`, e =
|
|
721
|
+
const t = `${o}-default-theme`, e = di().filter((i) => i.moduleId !== t && ns(i.themeFor, o)).map((i) => ({
|
|
722
722
|
...i,
|
|
723
723
|
// Prepend styles from included themes
|
|
724
724
|
styles: [...cs(i), ...i.styles],
|
|
725
725
|
// Map moduleId to includePriority
|
|
726
726
|
includePriority: bn(i.moduleId)
|
|
727
727
|
})).sort((i, s) => s.includePriority - i.includePriority);
|
|
728
|
-
return e.length > 0 ? e :
|
|
728
|
+
return e.length > 0 ? e : di().filter((i) => i.moduleId === t);
|
|
729
729
|
}
|
|
730
|
-
const $e = (o) => class extends
|
|
730
|
+
const $e = (o) => class extends dn(o) {
|
|
731
731
|
constructor() {
|
|
732
|
-
super(),
|
|
732
|
+
super(), ui.add(new WeakRef(this));
|
|
733
733
|
}
|
|
734
734
|
/**
|
|
735
735
|
* Covers PolymerElement based component styling
|
|
@@ -1026,7 +1026,7 @@ const Sn = P`
|
|
|
1026
1026
|
}
|
|
1027
1027
|
`;
|
|
1028
1028
|
tt("color-props", Sn);
|
|
1029
|
-
const
|
|
1029
|
+
const An = P`
|
|
1030
1030
|
[theme~='dark'] {
|
|
1031
1031
|
/* Base (background) */
|
|
1032
1032
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -1145,13 +1145,13 @@ const Cn = P`
|
|
|
1145
1145
|
background: transparent;
|
|
1146
1146
|
}
|
|
1147
1147
|
`;
|
|
1148
|
-
L("",
|
|
1148
|
+
L("", An, { moduleId: "lumo-color" });
|
|
1149
1149
|
/**
|
|
1150
1150
|
* @license
|
|
1151
1151
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1152
1152
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1153
1153
|
*/
|
|
1154
|
-
const
|
|
1154
|
+
const Cn = P`
|
|
1155
1155
|
:host {
|
|
1156
1156
|
/* prettier-ignore */
|
|
1157
1157
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -1265,13 +1265,13 @@ const An = P`
|
|
|
1265
1265
|
}
|
|
1266
1266
|
`;
|
|
1267
1267
|
L("", Pn, { moduleId: "lumo-typography" });
|
|
1268
|
-
tt("typography-props",
|
|
1268
|
+
tt("typography-props", Cn);
|
|
1269
1269
|
/**
|
|
1270
1270
|
* @license
|
|
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 us = P`
|
|
1275
1275
|
:host {
|
|
1276
1276
|
top: var(--lumo-space-m);
|
|
1277
1277
|
right: var(--lumo-space-m);
|
|
@@ -1337,13 +1337,13 @@ const ds = P`
|
|
|
1337
1337
|
}
|
|
1338
1338
|
}
|
|
1339
1339
|
`;
|
|
1340
|
-
L("",
|
|
1340
|
+
L("", us, { moduleId: "lumo-overlay" });
|
|
1341
1341
|
/**
|
|
1342
1342
|
* @license
|
|
1343
1343
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1344
1344
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1345
1345
|
*/
|
|
1346
|
-
const
|
|
1346
|
+
const ds = P`
|
|
1347
1347
|
:host([opening]),
|
|
1348
1348
|
:host([closing]) {
|
|
1349
1349
|
animation: 0.14s lumo-overlay-dummy-animation;
|
|
@@ -1374,7 +1374,7 @@ const us = P`
|
|
|
1374
1374
|
}
|
|
1375
1375
|
}
|
|
1376
1376
|
`;
|
|
1377
|
-
L("",
|
|
1377
|
+
L("", ds, { moduleId: "lumo-menu-overlay-core" });
|
|
1378
1378
|
const kn = P`
|
|
1379
1379
|
/* Small viewport (bottom sheet) styles */
|
|
1380
1380
|
/* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
|
|
@@ -1437,7 +1437,7 @@ const kn = P`
|
|
|
1437
1437
|
transform: translateY(150%);
|
|
1438
1438
|
}
|
|
1439
1439
|
}
|
|
1440
|
-
`, hs = [
|
|
1440
|
+
`, hs = [us, ds, kn];
|
|
1441
1441
|
L("", hs, { moduleId: "lumo-menu-overlay" });
|
|
1442
1442
|
const Dn = P`
|
|
1443
1443
|
[part='overlay'] {
|
|
@@ -2700,7 +2700,7 @@ const In = P`
|
|
|
2700
2700
|
L("", ms, {
|
|
2701
2701
|
moduleId: "lumo-input-field-shared-styles"
|
|
2702
2702
|
});
|
|
2703
|
-
const
|
|
2703
|
+
const Fn = P`
|
|
2704
2704
|
[part='toggle-button']::before {
|
|
2705
2705
|
content: var(--lumo-icons-calendar);
|
|
2706
2706
|
}
|
|
@@ -2723,7 +2723,7 @@ const Nn = P`
|
|
|
2723
2723
|
--_lumo-text-field-overflow-mask-image: none;
|
|
2724
2724
|
}
|
|
2725
2725
|
`;
|
|
2726
|
-
L("vaadin-date-picker", [ms,
|
|
2726
|
+
L("vaadin-date-picker", [ms, Fn], { moduleId: "lumo-date-picker" });
|
|
2727
2727
|
/**
|
|
2728
2728
|
@license
|
|
2729
2729
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -2745,9 +2745,9 @@ 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
|
|
2749
|
-
function
|
|
2750
|
-
if (o &&
|
|
2748
|
+
let Nn = /(url\()([^)]*)(\))/g, zn = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, Et, ce;
|
|
2749
|
+
function dt(o, t) {
|
|
2750
|
+
if (o && zn.test(o) || o === "//")
|
|
2751
2751
|
return o;
|
|
2752
2752
|
if (Et === void 0) {
|
|
2753
2753
|
Et = !1;
|
|
@@ -2766,8 +2766,8 @@ function ut(o, t) {
|
|
|
2766
2766
|
return ce || (ce = document.implementation.createHTMLDocument("temp"), ce.base = ce.createElement("base"), ce.head.appendChild(ce.base), ce.anchor = ce.createElement("a"), ce.body.appendChild(ce.anchor)), ce.base.href = t, ce.anchor.href = o, ce.anchor.href || o;
|
|
2767
2767
|
}
|
|
2768
2768
|
function Bi(o, t) {
|
|
2769
|
-
return o.replace(
|
|
2770
|
-
return i + "'" +
|
|
2769
|
+
return o.replace(Nn, function(e, i, s, r) {
|
|
2770
|
+
return i + "'" + dt(s.replace(/["']/g, ""), t) + "'" + r;
|
|
2771
2771
|
});
|
|
2772
2772
|
}
|
|
2773
2773
|
function Hi(o) {
|
|
@@ -2797,7 +2797,7 @@ const Ln = _s && "adoptedStyleSheets" in Document.prototype && "replaceSync" in
|
|
|
2797
2797
|
})();
|
|
2798
2798
|
let Rn = window.Polymer && window.Polymer.rootPath || Hi(document.baseURI || window.location.href), It = window.Polymer && window.Polymer.sanitizeDOMValue || void 0;
|
|
2799
2799
|
window.Polymer && window.Polymer.setPassiveTouchGestures;
|
|
2800
|
-
let
|
|
2800
|
+
let Ft = window.Polymer && window.Polymer.strictTemplatePolicy || !1, Bn = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, gs = window.Polymer && window.Polymer.legacyOptimizations || !1, bs = window.Polymer && window.Polymer.legacyWarnings || !1, Hn = window.Polymer && window.Polymer.syncInitialRender || !1, hi = window.Polymer && window.Polymer.legacyUndefined || !1, $n = window.Polymer && window.Polymer.orderedComputed || !1, go = window.Polymer && window.Polymer.removeNestedTemplates || !1, Yn = window.Polymer && window.Polymer.fastDomIf || !1, bo = window.Polymer && window.Polymer.suppressTemplateNotifications || !1;
|
|
2801
2801
|
window.Polymer && window.Polymer.legacyNoObservedAttributes;
|
|
2802
2802
|
let jn = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
|
|
2803
2803
|
/**
|
|
@@ -2906,7 +2906,7 @@ class mt extends HTMLElement {
|
|
|
2906
2906
|
*/
|
|
2907
2907
|
get assetpath() {
|
|
2908
2908
|
if (!this.__assetpath) {
|
|
2909
|
-
const t = window.HTMLImports && HTMLImports.importForElement ? HTMLImports.importForElement(this) || document : this.ownerDocument, e =
|
|
2909
|
+
const t = window.HTMLImports && HTMLImports.importForElement ? HTMLImports.importForElement(this) || document : this.ownerDocument, e = dt(
|
|
2910
2910
|
this.getAttribute("assetpath") || "",
|
|
2911
2911
|
t.baseURI
|
|
2912
2912
|
);
|
|
@@ -2923,7 +2923,7 @@ class mt extends HTMLElement {
|
|
|
2923
2923
|
*/
|
|
2924
2924
|
register(t) {
|
|
2925
2925
|
if (t = t || this.id, t) {
|
|
2926
|
-
if (
|
|
2926
|
+
if (Ft && yo(t) !== void 0)
|
|
2927
2927
|
throw vo(t, null), new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);
|
|
2928
2928
|
this.id = t, vo(t, this), Un(this);
|
|
2929
2929
|
}
|
|
@@ -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 Nt = {}, Zn = /-[a-z]/g, Qn = /([A-Z])/g;
|
|
3106
|
+
function As(o) {
|
|
3107
|
+
return Nt[o] || (Nt[o] = o.indexOf("-") < 0 ? o : o.replace(
|
|
3108
3108
|
Zn,
|
|
3109
3109
|
(t) => t[1].toUpperCase()
|
|
3110
3110
|
));
|
|
3111
3111
|
}
|
|
3112
3112
|
function $t(o) {
|
|
3113
|
-
return
|
|
3113
|
+
return Nt[o] || (Nt[o] = o.replace(Qn, "-$1").toLowerCase());
|
|
3114
3114
|
}
|
|
3115
3115
|
/**
|
|
3116
3116
|
@license
|
|
@@ -3121,7 +3121,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3121
3121
|
Code distributed by Google as part of the polymer project is also
|
|
3122
3122
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3123
3123
|
*/
|
|
3124
|
-
let ea = 0,
|
|
3124
|
+
let ea = 0, Cs = 0, Ke = [], ta = 0, fi = !1, Ps = document.createTextNode("");
|
|
3125
3125
|
new window.MutationObserver(ia).observe(Ps, { characterData: !0 });
|
|
3126
3126
|
function ia() {
|
|
3127
3127
|
fi = !1;
|
|
@@ -3137,7 +3137,7 @@ function ia() {
|
|
|
3137
3137
|
});
|
|
3138
3138
|
}
|
|
3139
3139
|
}
|
|
3140
|
-
Ke.splice(0, o),
|
|
3140
|
+
Ke.splice(0, o), Cs += o;
|
|
3141
3141
|
}
|
|
3142
3142
|
const oa = {
|
|
3143
3143
|
/**
|
|
@@ -3198,7 +3198,7 @@ const oa = {
|
|
|
3198
3198
|
* @return {void}
|
|
3199
3199
|
*/
|
|
3200
3200
|
cancel(o) {
|
|
3201
|
-
const t = o -
|
|
3201
|
+
const t = o - Cs;
|
|
3202
3202
|
if (t >= 0) {
|
|
3203
3203
|
if (!Ke[t])
|
|
3204
3204
|
throw new Error("invalid async handle: " + o);
|
|
@@ -3685,7 +3685,7 @@ const aa = U((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(As(s[r]));
|
|
3689
3689
|
}
|
|
3690
3690
|
/**
|
|
3691
3691
|
* Returns an attribute name that corresponds to the given property.
|
|
@@ -3882,19 +3882,19 @@ const la = {
|
|
|
3882
3882
|
"dom-if": !0,
|
|
3883
3883
|
"dom-repeat": !0
|
|
3884
3884
|
};
|
|
3885
|
-
let So = !1,
|
|
3885
|
+
let So = !1, Ao = !1;
|
|
3886
3886
|
function ca() {
|
|
3887
3887
|
if (!So) {
|
|
3888
3888
|
So = !0;
|
|
3889
3889
|
const o = document.createElement("textarea");
|
|
3890
|
-
o.placeholder = "a",
|
|
3890
|
+
o.placeholder = "a", Ao = o.placeholder === o.textContent;
|
|
3891
3891
|
}
|
|
3892
|
-
return
|
|
3892
|
+
return Ao;
|
|
3893
3893
|
}
|
|
3894
|
-
function
|
|
3894
|
+
function ua(o) {
|
|
3895
3895
|
ca() && o.localName === "textarea" && o.placeholder && o.placeholder === o.textContent && (o.textContent = null);
|
|
3896
3896
|
}
|
|
3897
|
-
const
|
|
3897
|
+
const da = (() => {
|
|
3898
3898
|
const o = window.trustedTypes && window.trustedTypes.createPolicy(
|
|
3899
3899
|
"polymer-template-event-attribute-policy",
|
|
3900
3900
|
{
|
|
@@ -3919,7 +3919,7 @@ function ha(o) {
|
|
|
3919
3919
|
let e = o;
|
|
3920
3920
|
for (e.removeAttribute("is"), o = e.ownerDocument.createElement(t), e.parentNode.replaceChild(o, e), o.appendChild(e); e.attributes.length; ) {
|
|
3921
3921
|
const { name: i } = e.attributes[0];
|
|
3922
|
-
|
|
3922
|
+
da(o, e, i), e.removeAttribute(i);
|
|
3923
3923
|
}
|
|
3924
3924
|
}
|
|
3925
3925
|
return o;
|
|
@@ -4076,7 +4076,7 @@ const ga = U(
|
|
|
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), ua(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 ga = U(
|
|
|
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 = ha(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 ga = U(
|
|
|
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] = Ms(a,
|
|
4233
|
-
pa(this, a.$, h,
|
|
4231
|
+
for (let c = 0, u = r.length, d; c < u && (d = r[c]); c++) {
|
|
4232
|
+
let h = l[c] = Ms(a, d);
|
|
4233
|
+
pa(this, a.$, h, d), ma(this, h, d, s), fa(this, h, d);
|
|
4234
4234
|
}
|
|
4235
4235
|
return a = /** @type {!StampedTemplate} */
|
|
4236
4236
|
a, a;
|
|
@@ -4319,9 +4319,9 @@ function ct(o, t, e, i, s, r) {
|
|
|
4319
4319
|
let n = !1;
|
|
4320
4320
|
const a = bt++;
|
|
4321
4321
|
for (let l in e) {
|
|
4322
|
-
let c = s ? Ye(l) : l,
|
|
4323
|
-
if (
|
|
4324
|
-
for (let
|
|
4322
|
+
let c = s ? Ye(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 || Yi(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 ct(o, t, e, i, s, r) {
|
|
|
4329
4329
|
return !1;
|
|
4330
4330
|
}
|
|
4331
4331
|
function va(o, t, e, i, s, r, n, a) {
|
|
4332
|
-
let l = !1, c = n ? Ye(i) : i,
|
|
4333
|
-
if (
|
|
4334
|
-
for (let
|
|
4332
|
+
let l = !1, c = n ? Ye(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 || Yi(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
|
}
|
|
@@ -4345,7 +4345,7 @@ function Yi(o, t) {
|
|
|
4345
4345
|
} else
|
|
4346
4346
|
return !0;
|
|
4347
4347
|
}
|
|
4348
|
-
function
|
|
4348
|
+
function Co(o, t, e, i, s) {
|
|
4349
4349
|
let r = typeof s.method == "string" ? o[s.method] : s.method, n = s.property;
|
|
4350
4350
|
r ? r.call(o, o.__data[n], i[n]) : s.dynamicFn || console.warn("observer method `" + s.method + "` not defined");
|
|
4351
4351
|
}
|
|
@@ -4395,7 +4395,7 @@ function Sa(o, t, e, i, s) {
|
|
|
4395
4395
|
o
|
|
4396
4396
|
)), o._propertyToAttribute(t, s.attrName, r);
|
|
4397
4397
|
}
|
|
4398
|
-
function
|
|
4398
|
+
function Aa(o, t, e, i) {
|
|
4399
4399
|
let s = o[k.COMPUTE];
|
|
4400
4400
|
if (s)
|
|
4401
4401
|
if ($n) {
|
|
@@ -4405,7 +4405,7 @@ function Ca(o, t, e, i) {
|
|
|
4405
4405
|
Po(l, s, n, r, i);
|
|
4406
4406
|
let a;
|
|
4407
4407
|
for (; a = n.shift(); )
|
|
4408
|
-
|
|
4408
|
+
Fs(o, "", t, e, a) && Po(a.methodInfo, s, n, r, i);
|
|
4409
4409
|
Object.assign(
|
|
4410
4410
|
/** @type {!Object} */
|
|
4411
4411
|
e,
|
|
@@ -4429,7 +4429,7 @@ function Ca(o, t, e, i) {
|
|
|
4429
4429
|
), r = o.__dataPending, o.__dataPending = null;
|
|
4430
4430
|
}
|
|
4431
4431
|
}
|
|
4432
|
-
const
|
|
4432
|
+
const Ca = (o, t, e) => {
|
|
4433
4433
|
let i = 0, s = t.length - 1, r = -1;
|
|
4434
4434
|
for (; i <= s; ) {
|
|
4435
4435
|
const n = i + s >> 1, a = e.get(t[n].methodInfo) - e.get(o.methodInfo);
|
|
@@ -4448,7 +4448,7 @@ const Aa = (o, t, e) => {
|
|
|
4448
4448
|
if (n)
|
|
4449
4449
|
for (let a = 0; a < n.length; a++) {
|
|
4450
4450
|
const l = n[a];
|
|
4451
|
-
l.info.lastRun !== bt && (!s || Yi(o, l.trigger)) && (l.info.lastRun = bt,
|
|
4451
|
+
l.info.lastRun !== bt && (!s || Yi(o, l.trigger)) && (l.info.lastRun = bt, Ca(l.info, e, i));
|
|
4452
4452
|
}
|
|
4453
4453
|
};
|
|
4454
4454
|
function Pa(o) {
|
|
@@ -4481,7 +4481,7 @@ function ka(o) {
|
|
|
4481
4481
|
t[n] || s.push(n);
|
|
4482
4482
|
return { counts: e, ready: s, total: r };
|
|
4483
4483
|
}
|
|
4484
|
-
function
|
|
4484
|
+
function Fs(o, t, e, i, s) {
|
|
4485
4485
|
let r = mi(o, t, e, i, s);
|
|
4486
4486
|
if (r === vt)
|
|
4487
4487
|
return !1;
|
|
@@ -4501,14 +4501,14 @@ function Da(o, t, e) {
|
|
|
4501
4501
|
function Gt(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 || $t(s) + "-changed", a.listenerNegate =
|
|
4504
|
+
if (e.bindings.push(a), Fa(a)) {
|
|
4505
|
+
let { event: c, negate: u } = a.parts[0];
|
|
4506
|
+
a.listenerEvent = c || $t(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, Ta(o, t, a, u, l);
|
|
4512
4512
|
}
|
|
4513
4513
|
}
|
|
4514
4514
|
function Ta(o, t, e, i, s) {
|
|
@@ -4519,7 +4519,7 @@ function Ta(o, t, e, i, s) {
|
|
|
4519
4519
|
let r = i.dependencies, n = { index: s, binding: e, part: i, evaluator: o };
|
|
4520
4520
|
for (let a = 0; a < r.length; a++) {
|
|
4521
4521
|
let l = r[a];
|
|
4522
|
-
typeof l == "string" && (l =
|
|
4522
|
+
typeof l == "string" && (l = zs(l), l.wildcard = !0), o._addTemplatePropertyEffect(t, l.rootProperty, {
|
|
4523
4523
|
fn: Ma,
|
|
4524
4524
|
info: n,
|
|
4525
4525
|
trigger: l
|
|
@@ -4530,11 +4530,11 @@ function Ta(o, t, e, i, s) {
|
|
|
4530
4530
|
function Ma(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 = gt(c.source, l.target, t), a._setPendingPropertyOrPath(t,
|
|
4533
|
+
let u = e[t];
|
|
4534
|
+
t = gt(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 !== vt && Oa(o, a, l, c, u);
|
|
4538
4538
|
}
|
|
4539
4539
|
}
|
|
4540
4540
|
function Oa(o, t, e, i, s) {
|
|
@@ -4557,10 +4557,10 @@ function Ia(o, t, e, i) {
|
|
|
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 Fa(o) {
|
|
4561
4561
|
return !!o.target && o.kind != "attribute" && o.kind != "text" && !o.isCompound && o.parts[0].mode === "{";
|
|
4562
4562
|
}
|
|
4563
|
-
function
|
|
4563
|
+
function Na(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++) {
|
|
@@ -4568,12 +4568,12 @@ function za(o, t) {
|
|
|
4568
4568
|
if (a)
|
|
4569
4569
|
for (let l = 0; l < a.length; l++) {
|
|
4570
4570
|
let c = a[l];
|
|
4571
|
-
|
|
4571
|
+
za(n, c), La(n, o, c);
|
|
4572
4572
|
}
|
|
4573
4573
|
n.__dataHost = o;
|
|
4574
4574
|
}
|
|
4575
4575
|
}
|
|
4576
|
-
function
|
|
4576
|
+
function za(o, t) {
|
|
4577
4577
|
if (t.isCompound) {
|
|
4578
4578
|
let e = o.__dataCompoundStorage || (o.__dataCompoundStorage = {}), i = t.parts, s = new Array(i.length);
|
|
4579
4579
|
for (let n = 0; n < i.length; n++)
|
|
@@ -4617,7 +4617,7 @@ function mi(o, t, e, i, s) {
|
|
|
4617
4617
|
} else
|
|
4618
4618
|
s.dynamicFn || console.warn("method `" + s.methodName + "` not defined");
|
|
4619
4619
|
}
|
|
4620
|
-
const Ra = [],
|
|
4620
|
+
const Ra = [], Ns = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", Ba = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", Ha = "(?:'(?:[^'\\\\]|\\\\.)*')", $a = '(?:"(?:[^"\\\\]|\\\\.)*")', Ya = "(?:" + Ha + "|" + $a + ")", Do = "(?:(" + Ns + "|" + Ba + "|" + Ya + ")\\s*)", ja = "(?:" + Do + "(?:,\\s*" + Do + ")*)", Va = "(?:\\(\\s*(?:" + ja + "?)\\)\\s*)", Ua = "(" + Ns + "\\s*" + Va + "?)", Wa = "(\\[\\[|{{)\\s*", qa = "(?:]]|}})", Ka = "(?:(!)\\s*)?", Ga = Wa + Ka + Ua + qa, To = new RegExp(Ga, "g");
|
|
4621
4621
|
function Mo(o) {
|
|
4622
4622
|
let t = "";
|
|
4623
4623
|
for (let e = 0; e < o.length; e++) {
|
|
@@ -4640,11 +4640,11 @@ function Jt(o) {
|
|
|
4640
4640
|
}
|
|
4641
4641
|
function Ja(o, t) {
|
|
4642
4642
|
return t.args = o.map(function(e) {
|
|
4643
|
-
let i =
|
|
4643
|
+
let i = zs(e);
|
|
4644
4644
|
return i.literal || (t.static = !1), i;
|
|
4645
4645
|
}, this), t;
|
|
4646
4646
|
}
|
|
4647
|
-
function
|
|
4647
|
+
function zs(o) {
|
|
4648
4648
|
let t = o.trim().replace(/,/g, ",").replace(/\\(.)/g, "$1"), e = {
|
|
4649
4649
|
name: t,
|
|
4650
4650
|
value: "",
|
|
@@ -5086,7 +5086,7 @@ const ji = U((o) => {
|
|
|
5086
5086
|
let a = this.__dataHasPaths;
|
|
5087
5087
|
this.__dataHasPaths = !1;
|
|
5088
5088
|
let l;
|
|
5089
|
-
|
|
5089
|
+
Aa(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(), ct(this, this[k.REFLECT], r, n, a), ct(this, this[k.OBSERVE], r, n, a), l && ya(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
|
|
@@ -5103,17 +5103,17 @@ const ji = U((o) => {
|
|
|
5103
5103
|
this[k.PROPAGATE] && ct(this, this[k.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,
|
|
5106
|
+
const l = (c, u) => {
|
|
5107
5107
|
ct(
|
|
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 ji = U((o) => {
|
|
|
5303
5303
|
ne(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) && st(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.
|
|
@@ -5408,7 +5408,7 @@ const ji = U((o) => {
|
|
|
5408
5408
|
_createPropertyObserver(s, r, n) {
|
|
5409
5409
|
let a = { property: s, method: r, dynamicFn: !!n };
|
|
5410
5410
|
this._addPropertyEffect(s, k.OBSERVE, {
|
|
5411
|
-
fn:
|
|
5411
|
+
fn: Co,
|
|
5412
5412
|
info: a,
|
|
5413
5413
|
trigger: { name: s }
|
|
5414
5414
|
}), n && this._addPropertyEffect(
|
|
@@ -5416,7 +5416,7 @@ const ji = U((o) => {
|
|
|
5416
5416
|
r,
|
|
5417
5417
|
k.OBSERVE,
|
|
5418
5418
|
{
|
|
5419
|
-
fn:
|
|
5419
|
+
fn: Co,
|
|
5420
5420
|
info: a,
|
|
5421
5421
|
trigger: { name: r }
|
|
5422
5422
|
}
|
|
@@ -5496,7 +5496,7 @@ const ji = U((o) => {
|
|
|
5496
5496
|
let a = Jt(r);
|
|
5497
5497
|
if (!a)
|
|
5498
5498
|
throw new Error("Malformed computed expression '" + r + "'");
|
|
5499
|
-
const l = ko(this, a, k.COMPUTE,
|
|
5499
|
+
const l = ko(this, a, k.COMPUTE, Fs, s, n);
|
|
5500
5500
|
Kt(this, Os)[s] = l;
|
|
5501
5501
|
}
|
|
5502
5502
|
/**
|
|
@@ -5514,18 +5514,18 @@ const ji = U((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 _ = _t(
|
|
5521
|
+
const _ = _t(d, r), y = Oo(a, n, _ ? r : d);
|
|
5522
5522
|
g = {
|
|
5523
|
-
path: _ ? r :
|
|
5523
|
+
path: _ ? r : d,
|
|
5524
5524
|
value: y,
|
|
5525
|
-
base: _ ? ne(a,
|
|
5525
|
+
base: _ ? ne(a, d) : y
|
|
5526
5526
|
};
|
|
5527
5527
|
} else
|
|
5528
|
-
g = h ? Oo(a, n,
|
|
5528
|
+
g = h ? Oo(a, n, d) : a[d];
|
|
5529
5529
|
if (hi && !this._overrideLegacyUndefined && g === void 0 && s.length > 1)
|
|
5530
5530
|
return vt;
|
|
5531
5531
|
l[c] = g;
|
|
@@ -5808,7 +5808,7 @@ const ji = U((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, Na(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 ji = U((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 ji = U((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
|
-
ba.test(a) ?
|
|
5884
|
+
let u = a, d = "property";
|
|
5885
|
+
ba.test(a) ? d = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), d = "attribute");
|
|
5886
5886
|
let h = Mo(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 = As(a)), Gt(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 ji = U((o) => {
|
|
|
5916
5916
|
r,
|
|
5917
5917
|
n
|
|
5918
5918
|
);
|
|
5919
|
-
const l = s.parentNode, c = n.templateInfo,
|
|
5920
|
-
go && (
|
|
5919
|
+
const l = s.parentNode, c = n.templateInfo, u = l.localName === "dom-if", d = l.localName === "dom-repeat";
|
|
5920
|
+
go && (u || d) && (l.removeChild(s), n = n.parentInfo, n.templateInfo = c, n.noted = !0, a = !1);
|
|
5921
5921
|
let h = c.hostProps;
|
|
5922
|
-
if (Yn &&
|
|
5922
|
+
if (Yn && u)
|
|
5923
5923
|
h && (r.hostProps = Object.assign(r.hostProps || {}, h), go || (n.parentInfo.noted = !0));
|
|
5924
5924
|
else {
|
|
5925
5925
|
let m = "{";
|
|
@@ -5979,23 +5979,23 @@ const ji = U((o) => {
|
|
|
5979
5979
|
let n = [], a = 0, l;
|
|
5980
5980
|
for (; (l = To.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 = Jt(
|
|
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 = Jt(d), _ = [];
|
|
5985
5985
|
if (p) {
|
|
5986
5986
|
let { args: y, methodName: v } = p;
|
|
5987
|
-
for (let
|
|
5988
|
-
let D = y[
|
|
5987
|
+
for (let A = 0; A < y.length; A++) {
|
|
5988
|
+
let D = y[A];
|
|
5989
5989
|
D.literal || _.push(D);
|
|
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 ji = U((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 = mi(s, n, a, l, r.signature) : n != r.source ? u = ne(s, r.source) : c && pi(n) ? u = ne(s, n) : u = s.__data[n], r.negate && (u = !u), u;
|
|
6031
6031
|
}
|
|
6032
6032
|
}
|
|
6033
6033
|
return e;
|
|
@@ -6217,9 +6217,9 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((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 el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((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,
|
|
6240
|
+
function r(l, c, u, d) {
|
|
6241
6241
|
if (!Io) {
|
|
6242
|
-
const h = c.content.querySelectorAll("style"), m = xs(c), g = Jn(
|
|
6242
|
+
const h = c.content.querySelectorAll("style"), m = xs(c), g = Jn(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), jn && Io && Ln) {
|
|
6254
6254
|
const h = c.content.querySelectorAll("style");
|
|
6255
6255
|
if (h) {
|
|
6256
6256
|
let m = "";
|
|
@@ -6262,8 +6262,8 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((o)
|
|
|
6262
6262
|
}
|
|
6263
6263
|
function n(l) {
|
|
6264
6264
|
let c = null;
|
|
6265
|
-
if (l && (!
|
|
6266
|
-
mt.import(l, "template"),
|
|
6265
|
+
if (l && (!Ft || Bn) && (c = /** @type {?HTMLTemplateElement} */
|
|
6266
|
+
mt.import(l, "template"), Ft && !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 el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((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 el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((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 el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((o)
|
|
|
6434
6434
|
if (c)
|
|
6435
6435
|
this._importPath = Hi(c.url);
|
|
6436
6436
|
else {
|
|
6437
|
-
const
|
|
6437
|
+
const u = mt.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 el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((o)
|
|
|
6468
6468
|
), super._initializeProperties(), this.rootPath = Rn, 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 el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((o)
|
|
|
6496
6496
|
* @protected
|
|
6497
6497
|
* @nocollapse
|
|
6498
6498
|
*/
|
|
6499
|
-
static _processStyleText(c,
|
|
6500
|
-
return Bi(c,
|
|
6499
|
+
static _processStyleText(c, u) {
|
|
6500
|
+
return Bi(c, u);
|
|
6501
6501
|
}
|
|
6502
6502
|
/**
|
|
6503
6503
|
* Configures an element `proto` to function with a given `template`.
|
|
@@ -6510,11 +6510,11 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((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 ? dt(d) : "";
|
|
6517
|
+
r(this, u, c, h), this.prototype._bindTemplate(u);
|
|
6518
6518
|
}
|
|
6519
6519
|
}
|
|
6520
6520
|
/**
|
|
@@ -6574,9 +6574,9 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((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])), Hn && 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 el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((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 = dt(this.importPath)), dt(c, u);
|
|
6629
6629
|
}
|
|
6630
6630
|
/**
|
|
6631
6631
|
* Overrides `PropertyEffects` to add map of dynamic functions on
|
|
@@ -6640,12 +6640,12 @@ const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((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 el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((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 bs && !(
|
|
6663
|
+
static _addTemplatePropertyEffect(c, u, d) {
|
|
6664
|
+
return bs && !(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 Fo = window.trustedTypes && trustedTypes.createPolicy("polymer-html-literal", { createHTML: (o) => o });
|
|
6690
6690
|
class Rs {
|
|
6691
6691
|
/**
|
|
6692
6692
|
* @param {!ITemplateArray} strings Constant parts of tagged template literal
|
|
@@ -6740,7 +6740,7 @@ const je = function(t, ...e) {
|
|
|
6740
6740
|
(r, n, a) => r + il(n) + t[a + 1],
|
|
6741
6741
|
t[0]
|
|
6742
6742
|
);
|
|
6743
|
-
return
|
|
6743
|
+
return Fo && (s = Fo.createHTML(s)), i.innerHTML = s, i;
|
|
6744
6744
|
}, Hs = (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");
|
|
@@ -7062,14 +7062,14 @@ function cl(o) {
|
|
|
7062
7062
|
const e = window.getComputedStyle(o);
|
|
7063
7063
|
return e.visibility === "hidden" || e.display === "none";
|
|
7064
7064
|
}
|
|
7065
|
-
function
|
|
7065
|
+
function ul(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
|
-
function
|
|
7069
|
+
function dl(o, t) {
|
|
7070
7070
|
const e = [];
|
|
7071
7071
|
for (; o.length > 0 && t.length > 0; )
|
|
7072
|
-
|
|
7072
|
+
ul(o[0], t[0]) ? e.push(t.shift()) : e.push(o.shift());
|
|
7073
7073
|
return e.concat(o, t);
|
|
7074
7074
|
}
|
|
7075
7075
|
function vi(o) {
|
|
@@ -7077,7 +7077,7 @@ function vi(o) {
|
|
|
7077
7077
|
if (t < 2)
|
|
7078
7078
|
return o;
|
|
7079
7079
|
const e = Math.ceil(t / 2), i = vi(o.slice(0, e)), s = vi(o.slice(e));
|
|
7080
|
-
return
|
|
7080
|
+
return dl(i, s);
|
|
7081
7081
|
}
|
|
7082
7082
|
function $s(o) {
|
|
7083
7083
|
return o.matches('[tabindex="-1"]') ? !1 : o.matches("input, select, textarea, button, object") ? o.matches(":not([disabled])") : o.matches("a[href], area[href], iframe, [tabindex], [contentEditable]");
|
|
@@ -7170,11 +7170,11 @@ const wl = (() => {
|
|
|
7170
7170
|
* Copyright (c) 2017 Anton Korzunov
|
|
7171
7171
|
* SPDX-License-Identifier: MIT
|
|
7172
7172
|
*/
|
|
7173
|
-
let Ue = /* @__PURE__ */ new WeakMap(),
|
|
7174
|
-
const
|
|
7173
|
+
let Ue = /* @__PURE__ */ new WeakMap(), At = /* @__PURE__ */ new WeakMap(), Ct = {}, Xt = 0;
|
|
7174
|
+
const No = (o) => o && o.nodeType === Node.ELEMENT_NODE, Zt = (...o) => {
|
|
7175
7175
|
console.error(`Error: ${o.join(" ")}. Skip setting aria-hidden.`);
|
|
7176
|
-
}, El = (o, t) =>
|
|
7177
|
-
if (!
|
|
7176
|
+
}, El = (o, t) => No(o) ? t.map((e) => {
|
|
7177
|
+
if (!No(e))
|
|
7178
7178
|
return Zt(e, "is not a valid element"), null;
|
|
7179
7179
|
let i = e;
|
|
7180
7180
|
for (; i && i !== o; ) {
|
|
@@ -7185,34 +7185,34 @@ const zo = (o) => o && o.nodeType === Node.ELEMENT_NODE, Zt = (...o) => {
|
|
|
7185
7185
|
return Zt(e, "is not contained inside", o), null;
|
|
7186
7186
|
}).filter((e) => !!e) : (Zt(o, "is not a valid element"), []), Sl = (o, t, e, i) => {
|
|
7187
7187
|
const s = El(t, Array.isArray(o) ? o : [o]);
|
|
7188
|
-
|
|
7189
|
-
const r =
|
|
7190
|
-
if (!
|
|
7188
|
+
Ct[e] || (Ct[e] = /* @__PURE__ */ new WeakMap());
|
|
7189
|
+
const r = Ct[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 = (Ue.get(g) || 0) + 1, v = (r.get(g) || 0) + 1;
|
|
7207
|
-
Ue.set(g, y), r.set(g, v), n.push(g), y === 1 && _ &&
|
|
7207
|
+
Ue.set(g, y), r.set(g, v), n.push(g), y === 1 && _ && At.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 = Ue.get(
|
|
7214
|
-
Ue.set(
|
|
7215
|
-
}), Xt -= 1, Xt || (Ue = /* @__PURE__ */ new WeakMap(), Ue = /* @__PURE__ */ new WeakMap(),
|
|
7211
|
+
return u(t), a.clear(), Xt += 1, () => {
|
|
7212
|
+
n.forEach((d) => {
|
|
7213
|
+
const h = Ue.get(d) - 1, m = r.get(d) - 1;
|
|
7214
|
+
Ue.set(d, h), r.set(d, m), h || (At.has(d) ? At.delete(d) : d.removeAttribute(i)), m || d.removeAttribute(e);
|
|
7215
|
+
}), Xt -= 1, Xt || (Ue = /* @__PURE__ */ new WeakMap(), Ue = /* @__PURE__ */ new WeakMap(), At = /* @__PURE__ */ new WeakMap(), Ct = {});
|
|
7216
7216
|
};
|
|
7217
7217
|
}, qs = (o, t = document.body, e = "data-aria-hidden") => {
|
|
7218
7218
|
const i = Array.from(Array.isArray(o) ? o : [o]);
|
|
@@ -7223,7 +7223,7 @@ const zo = (o) => o && o.nodeType === Node.ELEMENT_NODE, Zt = (...o) => {
|
|
|
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 Al {
|
|
7227
7227
|
/**
|
|
7228
7228
|
* @param {HTMLElement} host
|
|
7229
7229
|
*/
|
|
@@ -7254,7 +7254,7 @@ class Cl {
|
|
|
7254
7254
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7255
7255
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7256
7256
|
*/
|
|
7257
|
-
class
|
|
7257
|
+
class Cl {
|
|
7258
7258
|
/**
|
|
7259
7259
|
* Saves the given node as a target for restoring focus to
|
|
7260
7260
|
* when `restoreFocus()` is called. If no node is provided,
|
|
@@ -7450,7 +7450,7 @@ const kl = (o) => class extends it(o) {
|
|
|
7450
7450
|
};
|
|
7451
7451
|
}
|
|
7452
7452
|
constructor() {
|
|
7453
|
-
super(), this.__ariaModalController = new
|
|
7453
|
+
super(), this.__ariaModalController = new Al(this), this.__focusTrapController = new Pl(this), this.__focusRestorationController = new Cl();
|
|
7454
7454
|
}
|
|
7455
7455
|
/** @protected */
|
|
7456
7456
|
ready() {
|
|
@@ -7865,7 +7865,7 @@ function Il(o, t, e) {
|
|
|
7865
7865
|
}
|
|
7866
7866
|
o.setAttribute(t, Vt(i));
|
|
7867
7867
|
}
|
|
7868
|
-
function
|
|
7868
|
+
function Fl(o) {
|
|
7869
7869
|
return o.nodeType === Node.TEXT_NODE && o.textContent.trim() === "";
|
|
7870
7870
|
}
|
|
7871
7871
|
/**
|
|
@@ -7873,7 +7873,7 @@ function Nl(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 Nl(o, t) {
|
|
7877
7877
|
let e = null;
|
|
7878
7878
|
const i = document.documentElement;
|
|
7879
7879
|
function s() {
|
|
@@ -7881,16 +7881,16 @@ function zl(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 D =
|
|
7892
|
+
function C(A) {
|
|
7893
|
+
let D = A[0].intersectionRatio;
|
|
7894
7894
|
if (D !== a) {
|
|
7895
7895
|
if (!v)
|
|
7896
7896
|
return r();
|
|
@@ -7898,7 +7898,7 @@ function zl(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
|
}
|
|
@@ -7913,13 +7913,13 @@ const ei = {
|
|
|
7913
7913
|
}, ti = {
|
|
7914
7914
|
start: "left",
|
|
7915
7915
|
end: "right"
|
|
7916
|
-
},
|
|
7916
|
+
}, zo = new ResizeObserver((o) => {
|
|
7917
7917
|
setTimeout(() => {
|
|
7918
7918
|
o.forEach((t) => {
|
|
7919
7919
|
t.target.__overlay && t.target.__overlay._updatePosition();
|
|
7920
7920
|
});
|
|
7921
7921
|
});
|
|
7922
|
-
}),
|
|
7922
|
+
}), zl = (o) => class extends o {
|
|
7923
7923
|
static get properties() {
|
|
7924
7924
|
return {
|
|
7925
7925
|
/**
|
|
@@ -8020,7 +8020,7 @@ const ei = {
|
|
|
8020
8020
|
__addUpdatePositionEventListeners() {
|
|
8021
8021
|
window.visualViewport.addEventListener("resize", this._updatePosition), window.visualViewport.addEventListener("scroll", this.__onScroll, !0), this.__positionTargetAncestorRootNodes = Ol(this.positionTarget), this.__positionTargetAncestorRootNodes.forEach((e) => {
|
|
8022
8022
|
e.addEventListener("scroll", this.__onScroll, !0);
|
|
8023
|
-
}), this.positionTarget && (this.__observePositionTargetMove =
|
|
8023
|
+
}), this.positionTarget && (this.__observePositionTargetMove = Nl(this.positionTarget, () => {
|
|
8024
8024
|
this._updatePosition();
|
|
8025
8025
|
}));
|
|
8026
8026
|
}
|
|
@@ -8032,7 +8032,7 @@ const ei = {
|
|
|
8032
8032
|
}
|
|
8033
8033
|
/** @private */
|
|
8034
8034
|
__overlayOpenedChanged(e, i) {
|
|
8035
|
-
if (this.__removeUpdatePositionEventListeners(), i && (i.__overlay = null,
|
|
8035
|
+
if (this.__removeUpdatePositionEventListeners(), i && (i.__overlay = null, zo.unobserve(i), e && (this.__addUpdatePositionEventListeners(), i.__overlay = this, zo.observe(i))), e) {
|
|
8036
8036
|
const s = getComputedStyle(this);
|
|
8037
8037
|
this.__margins || (this.__margins = {}, ["top", "bottom", "left", "right"].forEach((r) => {
|
|
8038
8038
|
this.__margins[r] = parseInt(s[r], 10);
|
|
@@ -8105,7 +8105,7 @@ const ei = {
|
|
|
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 ei = {
|
|
|
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]: ""
|
|
@@ -8154,7 +8154,7 @@ const ei = {
|
|
|
8154
8154
|
* Copyright (c) 2015 - 2024 Vaadin Ltd.
|
|
8155
8155
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8156
8156
|
*/
|
|
8157
|
-
const Ll = (o) => class extends
|
|
8157
|
+
const Ll = (o) => class extends zl(Ml(o)) {
|
|
8158
8158
|
/**
|
|
8159
8159
|
* Override method inherited from `OverlayMixin` to not close on input click.
|
|
8160
8160
|
* Needed to ignore date-picker's own input in the mousedown listener below.
|
|
@@ -8773,7 +8773,7 @@ function Kl() {
|
|
|
8773
8773
|
}
|
|
8774
8774
|
Ge.splice(0, o), Xs += o;
|
|
8775
8775
|
}
|
|
8776
|
-
const
|
|
8776
|
+
const zt = {
|
|
8777
8777
|
/**
|
|
8778
8778
|
* Returns a sub-module with the async interface providing the provided
|
|
8779
8779
|
* delay.
|
|
@@ -8894,7 +8894,7 @@ 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
8896
|
const Si = /* @__PURE__ */ new Set();
|
|
8897
|
-
let Qe = class
|
|
8897
|
+
let Qe = class Ai {
|
|
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 Qe = class Ci {
|
|
|
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 Ai ? t._cancelAsync() : t = new Ai(), t.setConfig(e, i), t;
|
|
8934
8934
|
}
|
|
8935
8935
|
constructor() {
|
|
8936
8936
|
this._asyncModule = null, this._callback = null, this._timer = null;
|
|
@@ -9182,7 +9182,7 @@ class Le 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 Ql(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) => !Fl(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) => {
|
|
@@ -9380,7 +9380,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
9380
9380
|
Code distributed by Google as part of the polymer project is also
|
|
9381
9381
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
9382
9382
|
*/
|
|
9383
|
-
const oc = (o) => o, tr = typeof document.head.style.touchAction == "string",
|
|
9383
|
+
const oc = (o) => o, tr = typeof document.head.style.touchAction == "string", Ci = "__polymerGestures", oi = "__polymerGesturesHandled", Pi = "__polymerGesturesTouchAction", Ho = 25, $o = 5, sc = 2, rc = ["mousedown", "mousemove", "mouseup", "click"], nc = [0, 1, 4, 2], ac = function() {
|
|
9384
9384
|
try {
|
|
9385
9385
|
return new MouseEvent("test", { buttons: 1 }).buttons === 1;
|
|
9386
9386
|
} catch {
|
|
@@ -9406,7 +9406,7 @@ let lc = !1;
|
|
|
9406
9406
|
function cc(o) {
|
|
9407
9407
|
qi(o);
|
|
9408
9408
|
}
|
|
9409
|
-
const
|
|
9409
|
+
const uc = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), dc = {
|
|
9410
9410
|
button: !0,
|
|
9411
9411
|
command: !0,
|
|
9412
9412
|
fieldset: !0,
|
|
@@ -9486,7 +9486,7 @@ function Te(o) {
|
|
|
9486
9486
|
return t.length > 0 ? t[0] : o.target;
|
|
9487
9487
|
}
|
|
9488
9488
|
function mc(o) {
|
|
9489
|
-
const t = o.type, i = o.currentTarget[
|
|
9489
|
+
const t = o.type, i = o.currentTarget[Ci];
|
|
9490
9490
|
if (!i)
|
|
9491
9491
|
return;
|
|
9492
9492
|
const s = i[t];
|
|
@@ -9525,10 +9525,10 @@ function ge(o, t, e) {
|
|
|
9525
9525
|
}
|
|
9526
9526
|
function gc(o, t, e) {
|
|
9527
9527
|
const i = Ki[t], s = i.deps, r = i.name;
|
|
9528
|
-
let n = o[
|
|
9529
|
-
n || (o[
|
|
9528
|
+
let n = o[Ci];
|
|
9529
|
+
n || (o[Ci] = n = {});
|
|
9530
9530
|
for (let a = 0, l, c; a < s.length; a++)
|
|
9531
|
-
l = s[a], !(
|
|
9531
|
+
l = s[a], !(uc && qi(l) && l !== "click") && (c = n[l], c || (n[l] = c = { _count: 0 }), c._count === 0 && o.addEventListener(l, mc, cc(l)), c[r] = (c[r] || 0) + 1, c._count = (c._count || 0) + 1);
|
|
9532
9532
|
o.addEventListener(t, e), i.touchAction && sr(o, i.touchAction);
|
|
9533
9533
|
}
|
|
9534
9534
|
function Gi(o) {
|
|
@@ -9783,7 +9783,7 @@ Gi({
|
|
|
9783
9783
|
});
|
|
9784
9784
|
function jo(o, t, e) {
|
|
9785
9785
|
const i = Math.abs(t.clientX - o.x), s = Math.abs(t.clientY - o.y), r = Te(e || t);
|
|
9786
|
-
!r ||
|
|
9786
|
+
!r || dc[
|
|
9787
9787
|
/** @type {!HTMLElement} */
|
|
9788
9788
|
r.localName
|
|
9789
9789
|
] && r.hasAttribute("disabled") || (isNaN(i) || isNaN(s) || i <= Ho && s <= Ho || hc(t)) && (o.prevent || Ji(r, "tap", {
|
|
@@ -10216,7 +10216,7 @@ function Sc(o) {
|
|
|
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
|
|
10219
|
+
function Ac(o) {
|
|
10220
10220
|
return o instanceof Date ? Sc({
|
|
10221
10221
|
year: o.getFullYear(),
|
|
10222
10222
|
month: o.getMonth(),
|
|
@@ -10324,7 +10324,7 @@ class Rt {
|
|
|
10324
10324
|
}
|
|
10325
10325
|
}
|
|
10326
10326
|
let yt = /* @__PURE__ */ new Set();
|
|
10327
|
-
const
|
|
10327
|
+
const Cc = function(o) {
|
|
10328
10328
|
yt.add(o);
|
|
10329
10329
|
}, Pc = function() {
|
|
10330
10330
|
const o = !!yt.size;
|
|
@@ -10410,7 +10410,7 @@ cr.innerHTML = `
|
|
|
10410
10410
|
<div id="fullHeight"></div>
|
|
10411
10411
|
</div>
|
|
10412
10412
|
`;
|
|
10413
|
-
class
|
|
10413
|
+
class ur extends HTMLElement {
|
|
10414
10414
|
constructor() {
|
|
10415
10415
|
super(), this.attachShadow({ mode: "open" }).appendChild(cr.content.cloneNode(!0)), this.bufferSize = 20, this._initialScroll = 5e5, this._initialIndex = 0, this._activated = !1;
|
|
10416
10416
|
}
|
|
@@ -10508,7 +10508,7 @@ class dr extends HTMLElement {
|
|
|
10508
10508
|
const t = this.$.scroller.scrollTop;
|
|
10509
10509
|
(t < this._bufferHeight || t > this._initialScroll * 2 - this._bufferHeight) && (this._initialIndex = ~~this.position, this._reset());
|
|
10510
10510
|
const e = this.itemHeight + this.bufferOffset, i = t > this._buffers[1].translateY + e, s = t < this._buffers[0].translateY + e;
|
|
10511
|
-
(i || s) && (this._translateBuffer(s), this._updateClones()), this._preventScrollEvent || (this.dispatchEvent(new CustomEvent("custom-scroll", { bubbles: !1, composed: !0 })), this._mayHaveMomentum = !0), this._preventScrollEvent = !1, this._debouncerScrollFinish = Qe.debounce(this._debouncerScrollFinish,
|
|
10511
|
+
(i || s) && (this._translateBuffer(s), this._updateClones()), this._preventScrollEvent || (this.dispatchEvent(new CustomEvent("custom-scroll", { bubbles: !1, composed: !0 })), this._mayHaveMomentum = !0), this._preventScrollEvent = !1, this._debouncerScrollFinish = Qe.debounce(this._debouncerScrollFinish, zt.after(200), () => {
|
|
10512
10512
|
const r = this.$.scroller.getBoundingClientRect();
|
|
10513
10513
|
!this._isVisible(this._buffers[0], r) && !this._isVisible(this._buffers[1], r) && (this.position = this.position);
|
|
10514
10514
|
});
|
|
@@ -10517,7 +10517,7 @@ class dr extends HTMLElement {
|
|
|
10517
10517
|
_reset() {
|
|
10518
10518
|
this._scrollDisabled = !0, this.$.scroller.scrollTop = this._initialScroll, this._buffers[0].translateY = this._initialScroll - this._bufferHeight, this._buffers[1].translateY = this._initialScroll, this._buffers.forEach((t) => {
|
|
10519
10519
|
t.style.transform = `translate3d(0, ${t.translateY}px, 0)`;
|
|
10520
|
-
}), this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(!0), this._debouncerUpdateClones = Qe.debounce(this._debouncerUpdateClones,
|
|
10520
|
+
}), this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(!0), this._debouncerUpdateClones = Qe.debounce(this._debouncerUpdateClones, zt.after(200), () => {
|
|
10521
10521
|
this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones();
|
|
10522
10522
|
}), this._scrollDisabled = !1;
|
|
10523
10523
|
}
|
|
@@ -10569,8 +10569,8 @@ class dr extends HTMLElement {
|
|
|
10569
10569
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10570
10570
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10571
10571
|
*/
|
|
10572
|
-
const
|
|
10573
|
-
|
|
10572
|
+
const dr = document.createElement("template");
|
|
10573
|
+
dr.innerHTML = `
|
|
10574
10574
|
<style>
|
|
10575
10575
|
:host {
|
|
10576
10576
|
--vaadin-infinite-scroller-item-height: 270px;
|
|
@@ -10583,12 +10583,12 @@ ur.innerHTML = `
|
|
|
10583
10583
|
}
|
|
10584
10584
|
</style>
|
|
10585
10585
|
`;
|
|
10586
|
-
class kc extends
|
|
10586
|
+
class kc extends ur {
|
|
10587
10587
|
static get is() {
|
|
10588
10588
|
return "vaadin-date-picker-month-scroller";
|
|
10589
10589
|
}
|
|
10590
10590
|
constructor() {
|
|
10591
|
-
super(), this.bufferSize = 3, this.shadowRoot.appendChild(
|
|
10591
|
+
super(), this.bufferSize = 3, this.shadowRoot.appendChild(dr.content.cloneNode(!0));
|
|
10592
10592
|
}
|
|
10593
10593
|
/**
|
|
10594
10594
|
* @protected
|
|
@@ -10649,7 +10649,7 @@ hr.innerHTML = `
|
|
|
10649
10649
|
}
|
|
10650
10650
|
</style>
|
|
10651
10651
|
`;
|
|
10652
|
-
class Dc extends
|
|
10652
|
+
class Dc extends ur {
|
|
10653
10653
|
static get is() {
|
|
10654
10654
|
return "vaadin-date-picker-year-scroller";
|
|
10655
10655
|
}
|
|
@@ -10825,12 +10825,12 @@ Ti.prototype = Object.create(HTMLTemplateElement.prototype, {
|
|
|
10825
10825
|
}
|
|
10826
10826
|
});
|
|
10827
10827
|
const pr = ji(Ti), Ic = to(pr);
|
|
10828
|
-
function
|
|
10828
|
+
function Fc(o, t) {
|
|
10829
10829
|
Di = o, Object.setPrototypeOf(o, t.prototype), new t(), Di = null;
|
|
10830
10830
|
}
|
|
10831
|
-
const
|
|
10831
|
+
const Nc = ji(class {
|
|
10832
10832
|
});
|
|
10833
|
-
function
|
|
10833
|
+
function zc(o, t) {
|
|
10834
10834
|
for (let e = 0; e < t.length; e++) {
|
|
10835
10835
|
let i = t[e];
|
|
10836
10836
|
if (!!o != !!i.__hideTemplateChildren__)
|
|
@@ -10848,7 +10848,7 @@ function Fc(o, t) {
|
|
|
10848
10848
|
i.__hideTemplateChildren__ = o, i._showHideChildren && i._showHideChildren(o);
|
|
10849
10849
|
}
|
|
10850
10850
|
}
|
|
10851
|
-
class Oe extends
|
|
10851
|
+
class Oe extends Nc {
|
|
10852
10852
|
constructor(t) {
|
|
10853
10853
|
super(), this._configureProperties(t), this.root = this._stampTemplate(this.__dataHost);
|
|
10854
10854
|
let e = [];
|
|
@@ -10917,7 +10917,7 @@ class Oe extends zc {
|
|
|
10917
10917
|
* @protected
|
|
10918
10918
|
*/
|
|
10919
10919
|
_showHideChildren(t) {
|
|
10920
|
-
|
|
10920
|
+
zc(t, this.children);
|
|
10921
10921
|
}
|
|
10922
10922
|
/**
|
|
10923
10923
|
* Overrides default property-effects implementation to intercept
|
|
@@ -11014,7 +11014,7 @@ function Bc(o, t, e, i) {
|
|
|
11014
11014
|
bs && i && Vc(t, e, i);
|
|
11015
11015
|
}
|
|
11016
11016
|
if (o.__dataProto && Object.assign(o.__data, o.__dataProto), r)
|
|
11017
|
-
|
|
11017
|
+
Fc(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,7 +11070,7 @@ function jc() {
|
|
|
11070
11070
|
};
|
|
11071
11071
|
}
|
|
11072
11072
|
function Mi(o, t, e) {
|
|
11073
|
-
if (
|
|
11073
|
+
if (Ft && !Vo(o))
|
|
11074
11074
|
throw new Error("strictTemplatePolicy: template owner not trusted");
|
|
11075
11075
|
if (e = /** @type {!TemplatizeOptions} */
|
|
11076
11076
|
e || {}, o.__templatizeOwner)
|
|
@@ -11430,7 +11430,7 @@ class Wo extends qc {
|
|
|
11430
11430
|
this.__renderDebouncer,
|
|
11431
11431
|
e > 0 ? oa.after(e) : ks,
|
|
11432
11432
|
t.bind(this)
|
|
11433
|
-
),
|
|
11433
|
+
), Cc(this.__renderDebouncer);
|
|
11434
11434
|
}
|
|
11435
11435
|
/**
|
|
11436
11436
|
* Forces the element to render its content. Normally rendering is
|
|
@@ -11732,9 +11732,9 @@ const Kc = (o) => class extends Xi(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 */
|
|
@@ -12228,9 +12228,9 @@ const Xc = (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 */
|
|
@@ -12327,7 +12327,7 @@ const Xc = (o) => class extends o {
|
|
|
12327
12327
|
}
|
|
12328
12328
|
/** @private */
|
|
12329
12329
|
_doIgnoreTaps() {
|
|
12330
|
-
this._ignoreTaps = !0, this._debouncer = Qe.debounce(this._debouncer,
|
|
12330
|
+
this._ignoreTaps = !0, this._debouncer = Qe.debounce(this._debouncer, zt.after(300), () => {
|
|
12331
12331
|
this._ignoreTaps = !1;
|
|
12332
12332
|
});
|
|
12333
12333
|
}
|
|
@@ -12366,19 +12366,19 @@ const Xc = (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", {
|
|
@@ -12880,14 +12880,14 @@ const mr = U(
|
|
|
12880
12880
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12881
12881
|
*/
|
|
12882
12882
|
const ri = /* @__PURE__ */ new WeakMap();
|
|
12883
|
-
function
|
|
12883
|
+
function eu(o) {
|
|
12884
12884
|
return ri.has(o) || ri.set(o, /* @__PURE__ */ new Set()), ri.get(o);
|
|
12885
12885
|
}
|
|
12886
|
-
function
|
|
12886
|
+
function tu(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 iu = U(
|
|
12891
12891
|
(o) => class extends o {
|
|
12892
12892
|
/**
|
|
12893
12893
|
* List of styles to insert into root.
|
|
@@ -12902,9 +12902,9 @@ const id = U(
|
|
|
12902
12902
|
}
|
|
12903
12903
|
/** @private */
|
|
12904
12904
|
__applySlotStyles() {
|
|
12905
|
-
const e = this.getRootNode(), i =
|
|
12905
|
+
const e = this.getRootNode(), i = eu(e);
|
|
12906
12906
|
this.slotStyles.forEach((s) => {
|
|
12907
|
-
i.has(s) || (
|
|
12907
|
+
i.has(s) || (tu(s, e), i.add(s));
|
|
12908
12908
|
});
|
|
12909
12909
|
}
|
|
12910
12910
|
}
|
|
@@ -13118,7 +13118,7 @@ const _r = U(
|
|
|
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 ou = (o) => class extends _r(Ut(o)) {
|
|
13122
13122
|
static get properties() {
|
|
13123
13123
|
return {
|
|
13124
13124
|
/**
|
|
@@ -13209,7 +13209,7 @@ function br(o, t) {
|
|
|
13209
13209
|
const i = Wi(o.getAttribute(t));
|
|
13210
13210
|
e.set(o, new Set(i));
|
|
13211
13211
|
}
|
|
13212
|
-
function
|
|
13212
|
+
function su(o, t) {
|
|
13213
13213
|
if (!o)
|
|
13214
13214
|
return;
|
|
13215
13215
|
const e = io(t), i = e.get(o);
|
|
@@ -13227,7 +13227,7 @@ function ai(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
|
13227
13227
|
const l = i || Vt(a);
|
|
13228
13228
|
l && Gs(o, t, l);
|
|
13229
13229
|
}
|
|
13230
|
-
function
|
|
13230
|
+
function ru(o, t) {
|
|
13231
13231
|
br(o, t), gr(o, t);
|
|
13232
13232
|
}
|
|
13233
13233
|
/**
|
|
@@ -13235,7 +13235,7 @@ function rd(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 nu {
|
|
13239
13239
|
constructor(t) {
|
|
13240
13240
|
this.host = t, this.__required = !1;
|
|
13241
13241
|
}
|
|
@@ -13308,7 +13308,7 @@ class nd {
|
|
|
13308
13308
|
* @private
|
|
13309
13309
|
* */
|
|
13310
13310
|
__setAriaLabelToAttribute(t) {
|
|
13311
|
-
this.__target && (t ? (
|
|
13311
|
+
this.__target && (t ? (ru(this.__target, "aria-labelledby"), this.__target.setAttribute("aria-label", t)) : this.__label && (su(this.__target, "aria-labelledby"), this.__target.removeAttribute("aria-label")));
|
|
13312
13312
|
}
|
|
13313
13313
|
/**
|
|
13314
13314
|
* @param {string | null | undefined} labelId
|
|
@@ -13354,7 +13354,7 @@ me.style.clip = "rect(0px, 0px, 0px, 0px)";
|
|
|
13354
13354
|
me.setAttribute("aria-live", "polite");
|
|
13355
13355
|
document.body.appendChild(me);
|
|
13356
13356
|
let Pt;
|
|
13357
|
-
function
|
|
13357
|
+
function au(o, t = {}) {
|
|
13358
13358
|
const e = t.mode || "polite", i = t.timeout === void 0 ? 150 : t.timeout;
|
|
13359
13359
|
e === "alert" ? (me.removeAttribute("aria-live"), me.removeAttribute("role"), Pt = Qe.debounce(Pt, Gl, () => {
|
|
13360
13360
|
me.setAttribute("role", "alert");
|
|
@@ -13482,7 +13482,7 @@ class oo extends Le {
|
|
|
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 lu extends oo {
|
|
13486
13486
|
constructor(t) {
|
|
13487
13487
|
super(t, "error-message", "div");
|
|
13488
13488
|
}
|
|
@@ -13556,7 +13556,7 @@ class ld extends oo {
|
|
|
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 && au(e, { mode: "assertive" })), super.updateDefaultNode(t);
|
|
13560
13560
|
}
|
|
13561
13561
|
}
|
|
13562
13562
|
/**
|
|
@@ -13564,7 +13564,7 @@ class ld extends oo {
|
|
|
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 cu extends oo {
|
|
13568
13568
|
constructor(t) {
|
|
13569
13569
|
super(t, "helper", null);
|
|
13570
13570
|
}
|
|
@@ -13619,7 +13619,7 @@ class cd extends oo {
|
|
|
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 uu extends oo {
|
|
13623
13623
|
constructor(t) {
|
|
13624
13624
|
super(t, "label", "label");
|
|
13625
13625
|
}
|
|
@@ -13672,7 +13672,7 @@ class dd extends oo {
|
|
|
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 du = U(
|
|
13676
13676
|
(o) => class extends it(o) {
|
|
13677
13677
|
static get properties() {
|
|
13678
13678
|
return {
|
|
@@ -13687,7 +13687,7 @@ const ud = U(
|
|
|
13687
13687
|
};
|
|
13688
13688
|
}
|
|
13689
13689
|
constructor() {
|
|
13690
|
-
super(), this._labelController = new
|
|
13690
|
+
super(), this._labelController = new uu(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 vr = U(
|
|
|
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 hu = (o) => class extends vr(du(it(o))) {
|
|
13791
13791
|
static get properties() {
|
|
13792
13792
|
return {
|
|
13793
13793
|
/**
|
|
@@ -13837,7 +13837,7 @@ const hd = (o) => class extends vr(ud(it(o))) {
|
|
|
13837
13837
|
return ["_invalidChanged(invalid)", "_requiredChanged(required)"];
|
|
13838
13838
|
}
|
|
13839
13839
|
constructor() {
|
|
13840
|
-
super(), this._fieldAriaController = new
|
|
13840
|
+
super(), this._fieldAriaController = new nu(this), this._helperController = new cu(this), this._errorController = new lu(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 hd = (o) => class extends vr(ud(it(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 pu = U(
|
|
13932
13932
|
(o) => class extends o {
|
|
13933
13933
|
static get properties() {
|
|
13934
13934
|
return {
|
|
@@ -14010,7 +14010,7 @@ const pd = U(
|
|
|
14010
14010
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14011
14011
|
*/
|
|
14012
14012
|
const yr = U(
|
|
14013
|
-
(o) => class extends
|
|
14013
|
+
(o) => class extends pu(vr(_r(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 yr = U(
|
|
|
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
|
-
mr(yr(
|
|
14097
|
+
const fu = (o) => class extends iu(
|
|
14098
|
+
mr(yr(hu(ou(Ut(o)))))
|
|
14099
14099
|
) {
|
|
14100
14100
|
static get properties() {
|
|
14101
14101
|
return {
|
|
@@ -14227,7 +14227,7 @@ const fd = (o) => class extends id(
|
|
|
14227
14227
|
}
|
|
14228
14228
|
/** @protected */
|
|
14229
14229
|
_markInputPrevented() {
|
|
14230
|
-
this.setAttribute("input-prevented", ""), this._preventInputDebouncer = Qe.debounce(this._preventInputDebouncer,
|
|
14230
|
+
this.setAttribute("input-prevented", ""), this._preventInputDebouncer = Qe.debounce(this._preventInputDebouncer, zt.after(200), () => {
|
|
14231
14231
|
this.removeAttribute("input-prevented");
|
|
14232
14232
|
});
|
|
14233
14233
|
}
|
|
@@ -14281,7 +14281,7 @@ const fd = (o) => class extends id(
|
|
|
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 mu extends Le {
|
|
14285
14285
|
constructor(t, e, i = {}) {
|
|
14286
14286
|
const { uniqueIdPrefix: s } = i;
|
|
14287
14287
|
super(t, "input", "input", {
|
|
@@ -14298,7 +14298,7 @@ class md extends Le {
|
|
|
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 _u {
|
|
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 _d {
|
|
|
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 gu = P`
|
|
14335
14335
|
[part='clear-button'] {
|
|
14336
14336
|
display: none;
|
|
14337
14337
|
cursor: default;
|
|
@@ -14350,7 +14350,7 @@ const gd = 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 bu = P`
|
|
14354
14354
|
:host {
|
|
14355
14355
|
display: inline-flex;
|
|
14356
14356
|
outline: none;
|
|
@@ -14390,7 +14390,7 @@ const bd = 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 vu = P`
|
|
14394
14394
|
[class$='container'] {
|
|
14395
14395
|
display: flex;
|
|
14396
14396
|
flex-direction: column;
|
|
@@ -14404,13 +14404,13 @@ const vd = 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 yu = [bu, vu, gu];
|
|
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 xu = (o) => class extends o {
|
|
14414
14414
|
static get properties() {
|
|
14415
14415
|
return {
|
|
14416
14416
|
/**
|
|
@@ -14457,7 +14457,7 @@ const xd = (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 wu {
|
|
14461
14461
|
/**
|
|
14462
14462
|
* @param {{ inputElement?: HTMLElement; opened: boolean } & HTMLElement} host
|
|
14463
14463
|
*/
|
|
@@ -14476,7 +14476,7 @@ class wd {
|
|
|
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 Eu = (o) => class extends xu(
|
|
14480
14480
|
it(mr(yr(Ut(o))))
|
|
14481
14481
|
) {
|
|
14482
14482
|
static get properties() {
|
|
@@ -14859,7 +14859,7 @@ const Ed = (o) => class extends xd(
|
|
|
14859
14859
|
new fr(this._fullscreenMediaQuery, (i) => {
|
|
14860
14860
|
this._fullscreen = i;
|
|
14861
14861
|
})
|
|
14862
|
-
), this.addController(new
|
|
14862
|
+
), this.addController(new wu(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 Ed = (o) => class extends xd(
|
|
|
15017
15017
|
}
|
|
15018
15018
|
/** @private */
|
|
15019
15019
|
_formatISO(e) {
|
|
15020
|
-
return
|
|
15020
|
+
return Ac(e);
|
|
15021
15021
|
}
|
|
15022
15022
|
/** @protected */
|
|
15023
15023
|
_inputElementChanged(e) {
|
|
@@ -15057,8 +15057,8 @@ const Ed = (o) => class extends xd(
|
|
|
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) {
|
|
@@ -15249,7 +15249,7 @@ const Ed = (o) => class extends xd(
|
|
|
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 Su = P`
|
|
15253
15253
|
:host([opened]) {
|
|
15254
15254
|
pointer-events: auto;
|
|
15255
15255
|
}
|
|
@@ -15268,8 +15268,8 @@ const Sd = 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", [yu, Su], { moduleId: "vaadin-date-picker-styles" });
|
|
15272
|
+
class Au extends Eu(fu($e(Zs(Me)))) {
|
|
15273
15273
|
static get is() {
|
|
15274
15274
|
return "vaadin-date-picker";
|
|
15275
15275
|
}
|
|
@@ -15329,7 +15329,7 @@ class Cd extends Ed(fd($e(Zs(Me)))) {
|
|
|
15329
15329
|
/** @protected */
|
|
15330
15330
|
ready() {
|
|
15331
15331
|
super.ready(), this.addController(
|
|
15332
|
-
new
|
|
15332
|
+
new mu(
|
|
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 Cd extends Ed(fd($e(Zs(Me)))) {
|
|
|
15341
15341
|
uniqueIdPrefix: "search-input"
|
|
15342
15342
|
}
|
|
15343
15343
|
)
|
|
15344
|
-
), this.addController(new
|
|
15344
|
+
), this.addController(new _u(this.inputElement, this._labelController)), this._tooltipController = new er(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 Cd extends Ed(fd($e(Zs(Me)))) {
|
|
|
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(Au);
|
|
15361
15361
|
var xr = { 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 xr = { 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
15426
|
for (var v = (p = _.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(B, T, I) {
|
|
15427
|
-
var
|
|
15428
|
-
return T || y[I] || e[I] || y[
|
|
15427
|
+
var F = I && I.toUpperCase();
|
|
15428
|
+
return T || y[I] || e[I] || y[F].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(X, H, te) {
|
|
15429
15429
|
return H || te.slice(1);
|
|
15430
15430
|
});
|
|
15431
|
-
})).match(i),
|
|
15432
|
-
var D = v[
|
|
15433
|
-
v[
|
|
15431
|
+
})).match(i), C = v.length, A = 0; A < C; A += 1) {
|
|
15432
|
+
var D = v[A], G = m[D], R = G && G[0], Y = G && G[1];
|
|
15433
|
+
v[A] = Y ? { regex: R, parser: Y } : D.replace(/^\[|\]$/g, "");
|
|
15434
15434
|
}
|
|
15435
15435
|
return function(B) {
|
|
15436
|
-
for (var T = {}, I = 0,
|
|
15436
|
+
for (var T = {}, I = 0, F = 0; I < C; I += 1) {
|
|
15437
15437
|
var X = v[I];
|
|
15438
15438
|
if (typeof X == "string")
|
|
15439
|
-
|
|
15439
|
+
F += X.length;
|
|
15440
15440
|
else {
|
|
15441
|
-
var H = X.regex, te = X.parser, pe = B.slice(
|
|
15441
|
+
var H = X.regex, te = X.parser, pe = B.slice(F), q = H.exec(pe)[0];
|
|
15442
15442
|
te.call(T, q), B = B.replace(q, "");
|
|
15443
15443
|
}
|
|
15444
15444
|
}
|
|
@@ -15453,25 +15453,25 @@ var xr = { 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 D =
|
|
15456
|
+
var v = _.prototype, C = v.parse;
|
|
15457
|
+
v.parse = function(A) {
|
|
15458
|
+
var D = A.date, G = A.utc, R = A.args;
|
|
15459
15459
|
this.$u = G;
|
|
15460
15460
|
var Y = R[1];
|
|
15461
15461
|
if (typeof Y == "string") {
|
|
15462
|
-
var B = R[2] === !0, T = R[3] === !0, I = B || T,
|
|
15463
|
-
T && (
|
|
15462
|
+
var B = R[2] === !0, T = R[3] === !0, I = B || T, F = R[2];
|
|
15463
|
+
T && (F = R[2]), a = this.$locale(), !B && F && (a = y.Ls[F]), this.$d = function(pe, q, Z) {
|
|
15464
15464
|
try {
|
|
15465
15465
|
if (["x", "X"].indexOf(q) > -1)
|
|
15466
15466
|
return new Date((q === "X" ? 1e3 : 1) * pe);
|
|
15467
|
-
var j = g(q)(pe), $ = j.year, Q = j.month, _e = j.day,
|
|
15468
|
-
$ && !Q || (
|
|
15469
|
-
var ve =
|
|
15470
|
-
return ke ? new Date(Date.UTC(
|
|
15467
|
+
var j = g(q)(pe), $ = j.year, Q = j.month, _e = j.day, Ae = j.hours, Ce = j.minutes, Ie = j.seconds, Pe = j.milliseconds, ke = j.zone, ie = /* @__PURE__ */ new Date(), oe = _e || ($ || Q ? 1 : ie.getDate()), N = $ || ie.getFullYear(), z = 0;
|
|
15468
|
+
$ && !Q || (z = Q > 0 ? Q - 1 : ie.getMonth());
|
|
15469
|
+
var ve = Ae || 0, fe = Ce || 0, J = Ie || 0, le = Pe || 0;
|
|
15470
|
+
return ke ? new Date(Date.UTC(N, z, oe, ve, fe, J, le + 60 * ke.offset * 1e3)) : Z ? new Date(Date.UTC(N, z, oe, ve, fe, J, le)) : new Date(N, z, oe, ve, fe, J, le);
|
|
15471
15471
|
} catch {
|
|
15472
15472
|
return /* @__PURE__ */ new Date("");
|
|
15473
15473
|
}
|
|
15474
|
-
}(D, Y, G), this.init(),
|
|
15474
|
+
}(D, Y, G), this.init(), F && F !== !0 && (this.$L = this.locale(F).$L), I && D != this.format(Y) && (this.$d = /* @__PURE__ */ new Date("")), a = {};
|
|
15475
15475
|
} else if (Y instanceof Array)
|
|
15476
15476
|
for (var X = Y.length, H = 1; H <= X; H += 1) {
|
|
15477
15477
|
R[1] = Y[H - 1];
|
|
@@ -15483,17 +15483,17 @@ var xr = { exports: {} };
|
|
|
15483
15483
|
H === 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
|
})(xr);
|
|
15491
|
-
var
|
|
15492
|
-
const
|
|
15491
|
+
var Cu = xr.exports;
|
|
15492
|
+
const Pu = /* @__PURE__ */ Ar(Cu);
|
|
15493
15493
|
function qo(o, t) {
|
|
15494
15494
|
Pr(o, t);
|
|
15495
15495
|
}
|
|
15496
|
-
function
|
|
15496
|
+
function ku(o) {
|
|
15497
15497
|
kr.set(o);
|
|
15498
15498
|
}
|
|
15499
15499
|
const Ko = {
|
|
@@ -15510,7 +15510,14 @@ const Ko = {
|
|
|
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 Ko = {
|
|
|
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 Ko = {
|
|
|
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 Ko = {
|
|
|
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 Ko = {
|
|
|
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 Ko = {
|
|
|
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 Ko = {
|
|
|
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 Ko = {
|
|
|
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 Ko = {
|
|
|
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 Ko = {
|
|
|
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 Ko = {
|
|
|
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 Ko = {
|
|
|
15795
15872
|
InvalidSession: "Oturum süresi doldu."
|
|
15796
15873
|
}
|
|
15797
15874
|
};
|
|
15798
|
-
function
|
|
15799
|
-
Or(o, "svelte-
|
|
15875
|
+
function Du(o) {
|
|
15876
|
+
Or(o, "svelte-st6cko", 'a{cursor:pointer;text-decoration:underline;font-weight:600}.PlayerSelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.PlayerSelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerSelfExclusionTitleNone{display:none}.SelfExclusionContainer{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));container-type:inline-size}.SelfExclusionContainer .SelfExclusionWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px;border-radius:10px;max-width:100%;min-height:500px;opacity:1;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.SelfExclusionContainer .SelfExclusionWrapper.SelfExclusionWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.MenuReturnButton{color:var(--emw--color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.SelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-bold, 700)}.SelfExclusionTitle.SelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px)}.SelfExclusionNotification{color:var(--emw--color-gray-300, #58586B);line-height:24px}.SelfExclusionNotification.SelfExclusionDescriptionMobile{font-size:var(--emw--font-size-x-small, 12px);line-height:19px}.SelfExclusionNotification .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px;min-height:180px}@container (max-width: 768px){.SelfExclusionDescription{font-size:var(--emw--font-size-x-small, 12px);line-height:19px;min-height:230px}.SelfExclusionDescription .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}}.SelfExclusionConfigWrapper{width:50%;height:100%;position:relative;margin-bottom:var(--emw--spacing-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-radius:var(--emw--border-radius-medium, 10px);cursor:pointer}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px)}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:15px;height:15px;fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));transform:rotateZ(-90deg);transition:all 0.5s ease-in-out}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel p{margin:0;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon.active{transform:rotateZ(0deg)}.SelfExclusionConfigWrapper .SelfExclusionDropDown{max-height:0px;overflow:hidden;box-sizing:border-box;transition:all 0.5s ease-in-out;opacity:0;color:var(--emw--color-gray-300, #58586B);background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:0px 0px var(--emw--border-radius-medium, 10px) var(--emw--border-radius-medium, 10px)}.SelfExclusionConfigWrapper .SelfExclusionDropDown div{padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px);font-size:var(--emw--font-size-x-small, 12px);border-top:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));transition:all 0.5s ease-in-out;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionDropDown div:hover{color:var(--emw--color-white, #FFFFFF);background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionConfigWrapper .SelfExclusionDropDown.active{max-height:600px;opacity:1}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile{width:100%;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:10px;height:10px}.SelfExclusionDateWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.SelfExclusionDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions strong{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDateWrapper input{font-family:inherit;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:var(--emw--size-standard, 16px);line-height:18px}.SelfExclusionDateWrapper.SelfExclusionDateWrapperMobile{width:100%}.SelfExclusionRadioWrapper{display:block;position:relative;padding:4px 0 0 0;margin-bottom:16px;font-size:var(--emw--size-standard, 16px);user-select:none;line-height:18px}.SelfExclusionRadioWrapper label{font-size:var(--emw--size-standard, 16px);cursor:pointer;padding-left:35px}.SelfExclusionRadioWrapper input{font-family:inherit;position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SelfExclusionRadioWrapper .Checkmark{position:absolute;top:0;left:0;height:25px;width:25px;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.SelfExclusionRadioWrapper input:checked~.Checkmark{background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionRadioWrapper .Checkmark:after{content:"";position:absolute;display:none;left:9px;top:5px;width:5px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.SelfExclusionRadioWrapper input:checked~.Checkmark:after{display:block}.SelfExclusionRadioWrapper.SelfExclusionRadioWrapperMobile label{font-family:inherit;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionActionButtons{margin-top:40px;width:50%}.SelfExclusionActionButtons .SelfExclusionSave{font-family:var(--emw--button-typography);border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:var(--emw--color-primary, #23B04E);border-radius:var(--emw--border-radius-medium, 10px);padding:30px 0;font-size:var(--emw--font-size-large, 20px);color:var(--emw--button-text-color, #FFFFFF)}.SelfExclusionActionButtons .SelfExclusionSave:hover{color:white;background:var(--emw--color-primary);opacity:0.6}.SelfExclusionActionButtons .SelfExclusionSave:active{background:var(--emw--color-primary);opacity:0.6}.SelfExclusionActionButtons .SelfExclusionSave.active{cursor:pointer;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924)}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile{width:100%;grid-template-columns:1fr 1fr}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile .SelfExclusionSave{height:40px;font-size:var(--emw--font-size-small, 14px);padding:20px 0}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
|
|
15800
15877
|
}
|
|
15801
15878
|
function Go(o, t, e) {
|
|
15802
15879
|
const i = o.slice();
|
|
15803
15880
|
return i[56] = t[e], i;
|
|
15804
15881
|
}
|
|
15805
|
-
function
|
|
15882
|
+
function Tu(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 Td(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, D, G, R = (
|
|
15831
15908
|
/*$_*/
|
|
15832
15909
|
o[20](`${/*selectedPeriodKey*/
|
|
15833
15910
|
o[13]}`) + ""
|
|
15834
|
-
), Y, B, T, I,
|
|
15911
|
+
), Y, B, T, I, F, X, H, te, pe, q, Z, j, $, Q = (
|
|
15835
15912
|
/*$_*/
|
|
15836
15913
|
o[20]("save") + ""
|
|
15837
|
-
), _e,
|
|
15914
|
+
), _e, Ae, Ce, Ie, Pe, ke, ie = (
|
|
15838
15915
|
/*isMobile*/
|
|
15839
|
-
o[22] &&
|
|
15916
|
+
o[22] && Ou(o)
|
|
15840
15917
|
), oe = ro(
|
|
15841
15918
|
/*selfExclusionPeriods*/
|
|
15842
15919
|
o[9]
|
|
15843
|
-
),
|
|
15920
|
+
), N = [];
|
|
15844
15921
|
for (let x = 0; x < oe.length; x += 1)
|
|
15845
|
-
|
|
15846
|
-
let
|
|
15922
|
+
N[x] = Jo(Go(o, oe, x));
|
|
15923
|
+
let z = (
|
|
15847
15924
|
/*isUntilDate*/
|
|
15848
15925
|
o[16] && Xo(o)
|
|
15849
15926
|
);
|
|
15850
15927
|
function ve(x, M) {
|
|
15851
15928
|
return (
|
|
15852
15929
|
/*isPermanentSelfExclusion*/
|
|
15853
|
-
x[15] ?
|
|
15930
|
+
x[15] ? Nu : (
|
|
15854
15931
|
/*isDateSelected*/
|
|
15855
|
-
x[17] ?
|
|
15932
|
+
x[17] ? Iu : Fu
|
|
15856
15933
|
)
|
|
15857
15934
|
);
|
|
15858
15935
|
}
|
|
15859
15936
|
let fe = ve(o), J = fe(o), le = (
|
|
15860
15937
|
/*showConfirmationModal*/
|
|
15861
|
-
o[23] &&
|
|
15938
|
+
o[23] && zu(o)
|
|
15862
15939
|
);
|
|
15863
15940
|
return {
|
|
15864
15941
|
c() {
|
|
15865
|
-
t = w("div"), e = w("form"), ie && ie.c(), i = O(), s = w("h2"), n = ae(r), a = O(), l = w("div"), c = w("p"),
|
|
15942
|
+
t = w("div"), e = w("form"), ie && ie.c(), i = O(), s = w("h2"), n = ae(r), a = O(), l = w("div"), c = w("p"), d = O(), h = w("p"), g = ae(m), p = O(), _ = w("a"), y = ae(
|
|
15866
15943
|
/*supportemail*/
|
|
15867
15944
|
o[2]
|
|
15868
|
-
),
|
|
15869
|
-
for (let x = 0; x <
|
|
15870
|
-
|
|
15871
|
-
te = O(),
|
|
15945
|
+
), C = O(), A = w("div"), D = w("div"), G = w("p"), Y = ae(R), B = O(), T = Ee("svg"), I = Ee("g"), F = Ee("path"), X = O(), H = w("div");
|
|
15946
|
+
for (let x = 0; x < N.length; x += 1)
|
|
15947
|
+
N[x].c();
|
|
15948
|
+
te = O(), z && z.c(), pe = O(), q = w("div"), J.c(), Z = O(), j = w("div"), $ = w("button"), _e = ae(Q), Ie = O(), le && le.c(), 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(F, "d", "M 90 24.25 c 0 -0.896 -0.342 -1.792 -1.025 -2.475 c -1.366 -1.367 -3.583 -1.367 -4.949 0 L 45 60.8 L 5.975 21.775 c -1.367 -1.367 -3.583 -1.367 -4.95 0 c -1.366 1.367 -1.366 3.583 0 4.95 l 41.5 41.5 c 1.366 1.367 3.583 1.367 4.949 0 l 41.5 -41.5 C 89.658 26.042 90 25.146 90 24.25 z"), E(F, "stroke-linecap", "round"), E(T, "xmlns", "http://www.w3.org/2000/svg"), E(T, "xmlns:xlink", "http://www.w3.org/1999/xlink"), E(T, "version", "1.1"), E(T, "viewBox", "0 0 100 100"), E(T, "xml:space", "preserve"), E(T, "class", "SelfExclusionConfigIcon"), Ve(
|
|
15875
15952
|
T,
|
|
15876
15953
|
"active",
|
|
15877
15954
|
/*isPeriodDropDownToggled*/
|
|
@@ -15881,24 +15958,24 @@ function Td(o) {
|
|
|
15881
15958
|
"active",
|
|
15882
15959
|
/*isPeriodDropDownToggled*/
|
|
15883
15960
|
o[18]
|
|
15884
|
-
), E(
|
|
15961
|
+
), E(A, "class", "SelfExclusionConfigWrapper " + /*isMobile*/
|
|
15885
15962
|
(o[22] ? "SelfExclusionConfigWrapperMobile" : "")), Ve(
|
|
15886
|
-
|
|
15963
|
+
A,
|
|
15887
15964
|
"active",
|
|
15888
15965
|
/*isPeriodDropDownToggled*/
|
|
15889
15966
|
o[18]
|
|
15890
15967
|
), E(q, "class", "SelfExclusionDescription " + /*isMobile*/
|
|
15891
|
-
(o[22] ? "SelfExclusionDescriptionMobile" : "")), E($, "class",
|
|
15892
|
-
(o[17] ? "active" : "")), $.disabled =
|
|
15968
|
+
(o[22] ? "SelfExclusionDescriptionMobile" : "")), E($, "class", Ae = "SelfExclusionSave " + /*isDateSelected*/
|
|
15969
|
+
(o[17] ? "active" : "")), $.disabled = Ce = !/*isDateSelected*/
|
|
15893
15970
|
o[17], E(j, "class", "SelfExclusionActionButtons " + /*isMobile*/
|
|
15894
15971
|
(o[22] ? "SelfExclusionActionButtonsMobile" : "")), E(e, "class", "SelfExclusionWrapper " + /*isMobile*/
|
|
15895
15972
|
(o[22] ? "SelfExclusionWrapperMobile" : "")), E(t, "class", "SelfExclusionContainer");
|
|
15896
15973
|
},
|
|
15897
15974
|
m(x, M) {
|
|
15898
|
-
he(x, t, M), f(t, e), ie && ie.m(e, null), f(e, i), f(e, s), f(s, n), f(e, a), f(e, l), f(l, c), c.innerHTML =
|
|
15899
|
-
for (let V = 0; V <
|
|
15900
|
-
|
|
15901
|
-
f(e, te),
|
|
15975
|
+
he(x, t, M), f(t, e), ie && ie.m(e, null), f(e, i), f(e, s), f(s, n), f(e, a), f(e, l), f(l, c), c.innerHTML = u, f(l, d), f(l, h), f(h, g), f(h, p), f(h, _), f(_, y), f(e, C), f(e, A), f(A, D), f(D, G), f(G, Y), f(D, B), f(D, T), f(T, I), f(I, F), f(A, X), f(A, H);
|
|
15976
|
+
for (let V = 0; V < N.length; V += 1)
|
|
15977
|
+
N[V] && N[V].m(H, null);
|
|
15978
|
+
f(e, te), z && z.m(e, null), f(e, pe), f(e, q), J.m(q, null), f(e, Z), f(e, j), f(j, $), f($, _e), f(t, Ie), le && le.m(t, null), Pe || (ke = [
|
|
15902
15979
|
Tt(
|
|
15903
15980
|
D,
|
|
15904
15981
|
"click",
|
|
@@ -15918,8 +15995,8 @@ function Td(o) {
|
|
|
15918
15995
|
/*isMobile*/
|
|
15919
15996
|
x[22] && ie.p(x, M), M[0] & /*$_*/
|
|
15920
15997
|
1048576 && r !== (r = /*$_*/
|
|
15921
|
-
x[20]("titleSelfExclusion") + "") &&
|
|
15922
|
-
1048587 &&
|
|
15998
|
+
x[20]("titleSelfExclusion") + "") && ue(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 Td(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") + "") && ue(g, m), M[0] & /*supportemail*/
|
|
16018
|
+
4 && ue(
|
|
15942
16019
|
y,
|
|
15943
16020
|
/*supportemail*/
|
|
15944
16021
|
x[2]
|
|
@@ -15947,7 +16024,7 @@ function Td(o) {
|
|
|
15947
16024
|
x[2]) && E(_, "href", v), M[0] & /*$_, selectedPeriodKey*/
|
|
15948
16025
|
1056768 && R !== (R = /*$_*/
|
|
15949
16026
|
x[20](`${/*selectedPeriodKey*/
|
|
15950
|
-
x[13]}`) + "") &&
|
|
16027
|
+
x[13]}`) + "") && ue(Y, R), M[0] & /*isPeriodDropDownToggled*/
|
|
15951
16028
|
262144 && Ve(
|
|
15952
16029
|
T,
|
|
15953
16030
|
"active",
|
|
@@ -15963,11 +16040,11 @@ function Td(o) {
|
|
|
15963
16040
|
let V;
|
|
15964
16041
|
for (V = 0; V < oe.length; V += 1) {
|
|
15965
16042
|
const wt = Go(x, oe, V);
|
|
15966
|
-
|
|
16043
|
+
N[V] ? N[V].p(wt, M) : (N[V] = Jo(wt), N[V].c(), N[V].m(H, null));
|
|
15967
16044
|
}
|
|
15968
|
-
for (; V <
|
|
15969
|
-
|
|
15970
|
-
|
|
16045
|
+
for (; V < N.length; V += 1)
|
|
16046
|
+
N[V].d(1);
|
|
16047
|
+
N.length = oe.length;
|
|
15971
16048
|
}
|
|
15972
16049
|
M[0] & /*isPeriodDropDownToggled*/
|
|
15973
16050
|
262144 && Ve(
|
|
@@ -15977,37 +16054,37 @@ function Td(o) {
|
|
|
15977
16054
|
x[18]
|
|
15978
16055
|
), M[0] & /*isPeriodDropDownToggled*/
|
|
15979
16056
|
262144 && Ve(
|
|
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 = Xo(x), z.c(), z.m(e, pe)) : z && (z.d(1), z = null), fe === (fe = ve(x)) && J ? J.p(x, M) : (J.d(1), J = fe(x), J && (J.c(), J.m(q, null))), M[0] & /*$_*/
|
|
15986
16063
|
1048576 && Q !== (Q = /*$_*/
|
|
15987
|
-
x[20]("save") + "") &&
|
|
15988
|
-
131072 &&
|
|
15989
|
-
(x[17] ? "active" : "")) && E($, "class",
|
|
15990
|
-
131072 &&
|
|
15991
|
-
x[17]) && ($.disabled =
|
|
16064
|
+
x[20]("save") + "") && ue(_e, Q), M[0] & /*isDateSelected*/
|
|
16065
|
+
131072 && Ae !== (Ae = "SelfExclusionSave " + /*isDateSelected*/
|
|
16066
|
+
(x[17] ? "active" : "")) && E($, "class", Ae), M[0] & /*isDateSelected*/
|
|
16067
|
+
131072 && Ce !== (Ce = !/*isDateSelected*/
|
|
16068
|
+
x[17]) && ($.disabled = Ce), /*showConfirmationModal*/
|
|
15992
16069
|
x[23] && le.p(x, M);
|
|
15993
16070
|
},
|
|
15994
16071
|
d(x) {
|
|
15995
|
-
x &&
|
|
16072
|
+
x && de(t), ie && ie.d(), zr(N, x), z && z.d(), J.d(), le && le.d(), Pe = !1, Lr(ke);
|
|
15996
16073
|
}
|
|
15997
16074
|
};
|
|
15998
16075
|
}
|
|
15999
|
-
function
|
|
16000
|
-
let t, e, i, s, r, n, a, l, c,
|
|
16076
|
+
function Mu(o) {
|
|
16077
|
+
let t, e, i, s, r, n, a, l, c, u, d, h, m, g, p, _, y, v, C, A, D;
|
|
16001
16078
|
function G(B, T) {
|
|
16002
16079
|
return (
|
|
16003
16080
|
/*isMobile*/
|
|
16004
|
-
B[22] ?
|
|
16081
|
+
B[22] ? Ru : Lu
|
|
16005
16082
|
);
|
|
16006
16083
|
}
|
|
16007
16084
|
let Y = G(o)(o);
|
|
16008
16085
|
return {
|
|
16009
16086
|
c() {
|
|
16010
|
-
t = w("div"), e = w("div"), Y.c(), i = O(), s = w("div"), r = w("ui-skeleton"), n = O(), a = w("div"), l = O(), c = w("ui-skeleton"),
|
|
16087
|
+
t = w("div"), e = w("div"), Y.c(), i = O(), s = w("div"), r = w("ui-skeleton"), n = O(), a = w("div"), l = O(), c = w("ui-skeleton"), u = O(), d = w("div"), h = O(), m = w("div"), g = w("ui-skeleton"), p = O(), _ = w("div"), y = O(), v = w("ui-skeleton"), C = O(), A = w("div"), D = w("ui-skeleton"), S(r, "structure", "text"), S(
|
|
16011
16088
|
r,
|
|
16012
16089
|
"height",
|
|
16013
16090
|
/*isMobile*/
|
|
@@ -16022,7 +16099,7 @@ function Md(o) {
|
|
|
16022
16099
|
"height",
|
|
16023
16100
|
/*isMobile*/
|
|
16024
16101
|
o[22] ? "15px" : "20px"
|
|
16025
|
-
), S(c, "width", "30%"), Wt(
|
|
16102
|
+
), S(c, "width", "30%"), Wt(d, "height", "10px"), E(s, "class", "SelfExclusionDescription"), S(g, "structure", "rectangle"), S(
|
|
16026
16103
|
g,
|
|
16027
16104
|
"width",
|
|
16028
16105
|
/*isMobile*/
|
|
@@ -16047,30 +16124,30 @@ function Md(o) {
|
|
|
16047
16124
|
"height",
|
|
16048
16125
|
/*isMobile*/
|
|
16049
16126
|
o[22] ? "35px" : "50px"
|
|
16050
|
-
), E(
|
|
16127
|
+
), E(A, "class", "SelfExclusionActionButtons " + /*isMobile*/
|
|
16051
16128
|
(o[22] ? "SelfExclusionActionButtonsMobile" : "")), E(e, "class", "SelfExclusionWrapper " + /*isMobile*/
|
|
16052
16129
|
(o[22] ? "SelfExclusionWrapperMobile" : "")), E(t, "class", "SelfExclusionContainer");
|
|
16053
16130
|
},
|
|
16054
16131
|
m(B, T) {
|
|
16055
|
-
he(B, t, T), f(t, e), Y.m(e, null), f(e, i), f(e, s), f(s, r), f(s, n), f(s, a), f(s, l), f(s, c), f(s,
|
|
16132
|
+
he(B, t, T), f(t, e), Y.m(e, null), f(e, i), f(e, s), f(s, r), f(s, n), f(s, a), f(s, l), f(s, c), f(s, u), f(s, d), f(e, h), f(e, m), f(m, g), f(m, p), f(m, _), f(m, y), f(m, v), f(e, C), f(e, A), f(A, D);
|
|
16056
16133
|
},
|
|
16057
16134
|
p: li,
|
|
16058
16135
|
d(B) {
|
|
16059
|
-
B &&
|
|
16136
|
+
B && de(t), Y.d();
|
|
16060
16137
|
}
|
|
16061
16138
|
};
|
|
16062
16139
|
}
|
|
16063
|
-
function
|
|
16064
|
-
let t, e, i, s, r, n, a, l, c,
|
|
16140
|
+
function Ou(o) {
|
|
16141
|
+
let t, e, i, s, r, n, a, l, c, u, d = (
|
|
16065
16142
|
/*$_*/
|
|
16066
16143
|
o[20]("titleSelfExclusion") + ""
|
|
16067
16144
|
), h, m, g;
|
|
16068
16145
|
return {
|
|
16069
16146
|
c() {
|
|
16070
|
-
t = w("div"), e = Ee("svg"), i = Ee("defs"), s = Ee("style"), r = ae(".aaa{fill:var(--emw--color-primary, #22B04E);}"), n = Ee("g"), a = Ee("g"), l = Ee("path"), c = O(),
|
|
16147
|
+
t = w("div"), e = Ee("svg"), i = Ee("defs"), s = Ee("style"), r = ae(".aaa{fill:var(--emw--color-primary, #22B04E);}"), n = Ee("g"), a = Ee("g"), l = Ee("path"), c = O(), u = w("h2"), h = ae(d), E(l, "class", "aaa"), E(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), E(l, "transform", "translate(15 15) rotate(180)"), E(a, "transform", "translate(20 158)"), E(n, "transform", "translate(-20 -158)"), E(e, "xmlns", "http://www.w3.org/2000/svg"), E(e, "width", "15"), E(e, "height", "15"), E(e, "viewBox", "0 0 15 15"), E(u, "class", "PlayerSelfExclusionTitleMobile"), E(t, "class", "MenuReturnButton");
|
|
16071
16148
|
},
|
|
16072
16149
|
m(p, _) {
|
|
16073
|
-
he(p, t, _), f(t, e), f(e, i), f(i, s), f(s, r), f(e, n), f(n, a), f(a, l), f(t, c), f(t,
|
|
16150
|
+
he(p, t, _), f(t, e), f(e, i), f(i, s), f(s, r), f(e, n), f(n, a), f(a, l), f(t, c), f(t, u), f(u, h), m || (g = Tt(
|
|
16074
16151
|
t,
|
|
16075
16152
|
"click",
|
|
16076
16153
|
/*click_handler*/
|
|
@@ -16079,11 +16156,11 @@ function Od(o) {
|
|
|
16079
16156
|
},
|
|
16080
16157
|
p(p, _) {
|
|
16081
16158
|
_[0] & /*$_*/
|
|
16082
|
-
1048576 &&
|
|
16083
|
-
p[20]("titleSelfExclusion") + "") &&
|
|
16159
|
+
1048576 && d !== (d = /*$_*/
|
|
16160
|
+
p[20]("titleSelfExclusion") + "") && ue(h, d);
|
|
16084
16161
|
},
|
|
16085
16162
|
d(p) {
|
|
16086
|
-
p &&
|
|
16163
|
+
p && de(t), m = !1, g();
|
|
16087
16164
|
}
|
|
16088
16165
|
};
|
|
16089
16166
|
}
|
|
@@ -16113,10 +16190,10 @@ function Jo(o) {
|
|
|
16113
16190
|
o = a, l[0] & /*$_, selfExclusionPeriods*/
|
|
16114
16191
|
1049088 && e !== (e = /*$_*/
|
|
16115
16192
|
o[20](`${/*period*/
|
|
16116
|
-
o[56].key}`) + "") &&
|
|
16193
|
+
o[56].key}`) + "") && ue(i, e);
|
|
16117
16194
|
},
|
|
16118
16195
|
d(a) {
|
|
16119
|
-
a &&
|
|
16196
|
+
a && de(t), s = !1, r();
|
|
16120
16197
|
}
|
|
16121
16198
|
};
|
|
16122
16199
|
}
|
|
@@ -16127,10 +16204,10 @@ function Xo(o) {
|
|
|
16127
16204
|
), s, r, n, a = (
|
|
16128
16205
|
/*$_*/
|
|
16129
16206
|
o[20]("dateInstructions") + ""
|
|
16130
|
-
), l, c,
|
|
16207
|
+
), l, c, u, d, h, m, g;
|
|
16131
16208
|
return {
|
|
16132
16209
|
c() {
|
|
16133
|
-
t = w("div"), e = w("label"), s = ae(i), r = O(), n = w("span"), l = ae(a), c = O(),
|
|
16210
|
+
t = w("div"), e = w("label"), s = ae(i), r = O(), n = w("span"), l = ae(a), c = O(), u = w("strong"), d = ae(
|
|
16134
16211
|
/*validDateformat*/
|
|
16135
16212
|
o[21]
|
|
16136
16213
|
), h = w("strong"), m = O(), g = w("vaadin-date-picker"), E(e, "for", "SelfExclusionDate"), E(n, "class", "SelfExclusionDateInstructions"), S(
|
|
@@ -16152,14 +16229,14 @@ function Xo(o) {
|
|
|
16152
16229
|
(o[22] ? "SelfExclusionDateWrapperMobile" : ""));
|
|
16153
16230
|
},
|
|
16154
16231
|
m(p, _) {
|
|
16155
|
-
he(p, t, _), f(t, e), f(e, s), f(t, r), f(t, n), f(n, l), f(n, c), f(n,
|
|
16232
|
+
he(p, t, _), f(t, e), f(e, s), f(t, r), f(t, n), f(n, l), f(n, c), f(n, u), f(u, d), f(u, h), f(t, m), f(t, g), o[39](g);
|
|
16156
16233
|
},
|
|
16157
16234
|
p(p, _) {
|
|
16158
16235
|
_[0] & /*$_*/
|
|
16159
16236
|
1048576 && i !== (i = /*$_*/
|
|
16160
|
-
p[20]("duration") + "") &&
|
|
16237
|
+
p[20]("duration") + "") && ue(s, i), _[0] & /*$_*/
|
|
16161
16238
|
1048576 && a !== (a = /*$_*/
|
|
16162
|
-
p[20]("dateInstructions") + "") &&
|
|
16239
|
+
p[20]("dateInstructions") + "") && ue(l, a), _[0] & /*minDate*/
|
|
16163
16240
|
1024 && S(
|
|
16164
16241
|
g,
|
|
16165
16242
|
"min",
|
|
@@ -16180,11 +16257,11 @@ function Xo(o) {
|
|
|
16180
16257
|
);
|
|
16181
16258
|
},
|
|
16182
16259
|
d(p) {
|
|
16183
|
-
p &&
|
|
16260
|
+
p && de(t), o[39](null);
|
|
16184
16261
|
}
|
|
16185
16262
|
};
|
|
16186
16263
|
}
|
|
16187
|
-
function
|
|
16264
|
+
function Iu(o) {
|
|
16188
16265
|
let t, e, i = (
|
|
16189
16266
|
/*$_*/
|
|
16190
16267
|
o[20]("temporarySelfExclusion", {
|
|
@@ -16219,14 +16296,14 @@ function Id(o) {
|
|
|
16219
16296
|
r[21]
|
|
16220
16297
|
)
|
|
16221
16298
|
}
|
|
16222
|
-
}) + "") &&
|
|
16299
|
+
}) + "") && ue(s, i);
|
|
16223
16300
|
},
|
|
16224
16301
|
d(r) {
|
|
16225
|
-
r &&
|
|
16302
|
+
r && de(t);
|
|
16226
16303
|
}
|
|
16227
16304
|
};
|
|
16228
16305
|
}
|
|
16229
|
-
function
|
|
16306
|
+
function Fu(o) {
|
|
16230
16307
|
let t, e, i = (
|
|
16231
16308
|
/*$_*/
|
|
16232
16309
|
o[20]("noPeriodSelected") + ""
|
|
@@ -16241,14 +16318,14 @@ function Nd(o) {
|
|
|
16241
16318
|
p(r, n) {
|
|
16242
16319
|
n[0] & /*$_*/
|
|
16243
16320
|
1048576 && i !== (i = /*$_*/
|
|
16244
|
-
r[20]("noPeriodSelected") + "") &&
|
|
16321
|
+
r[20]("noPeriodSelected") + "") && ue(s, i);
|
|
16245
16322
|
},
|
|
16246
16323
|
d(r) {
|
|
16247
|
-
r &&
|
|
16324
|
+
r && de(t);
|
|
16248
16325
|
}
|
|
16249
16326
|
};
|
|
16250
16327
|
}
|
|
16251
|
-
function
|
|
16328
|
+
function Nu(o) {
|
|
16252
16329
|
let t, e, i = (
|
|
16253
16330
|
/*$_*/
|
|
16254
16331
|
o[20]("permanentSelfExclusion") + ""
|
|
@@ -16263,14 +16340,14 @@ function zd(o) {
|
|
|
16263
16340
|
p(r, n) {
|
|
16264
16341
|
n[0] & /*$_*/
|
|
16265
16342
|
1048576 && i !== (i = /*$_*/
|
|
16266
|
-
r[20]("permanentSelfExclusion") + "") &&
|
|
16343
|
+
r[20]("permanentSelfExclusion") + "") && ue(s, i);
|
|
16267
16344
|
},
|
|
16268
16345
|
d(r) {
|
|
16269
|
-
r &&
|
|
16346
|
+
r && de(t);
|
|
16270
16347
|
}
|
|
16271
16348
|
};
|
|
16272
16349
|
}
|
|
16273
|
-
function
|
|
16350
|
+
function zu(o) {
|
|
16274
16351
|
let t, e, i;
|
|
16275
16352
|
return {
|
|
16276
16353
|
c() {
|
|
@@ -16352,11 +16429,11 @@ function Fd(o) {
|
|
|
16352
16429
|
);
|
|
16353
16430
|
},
|
|
16354
16431
|
d(s) {
|
|
16355
|
-
s &&
|
|
16432
|
+
s && de(t);
|
|
16356
16433
|
}
|
|
16357
16434
|
};
|
|
16358
16435
|
}
|
|
16359
|
-
function
|
|
16436
|
+
function Lu(o) {
|
|
16360
16437
|
let t;
|
|
16361
16438
|
return {
|
|
16362
16439
|
c() {
|
|
@@ -16366,11 +16443,11 @@ function Ld(o) {
|
|
|
16366
16443
|
he(e, t, i);
|
|
16367
16444
|
},
|
|
16368
16445
|
d(e) {
|
|
16369
|
-
e &&
|
|
16446
|
+
e && de(t);
|
|
16370
16447
|
}
|
|
16371
16448
|
};
|
|
16372
16449
|
}
|
|
16373
|
-
function
|
|
16450
|
+
function Ru(o) {
|
|
16374
16451
|
let t;
|
|
16375
16452
|
return {
|
|
16376
16453
|
c() {
|
|
@@ -16380,16 +16457,16 @@ function Rd(o) {
|
|
|
16380
16457
|
he(e, t, i);
|
|
16381
16458
|
},
|
|
16382
16459
|
d(e) {
|
|
16383
|
-
e &&
|
|
16460
|
+
e && de(t);
|
|
16384
16461
|
}
|
|
16385
16462
|
};
|
|
16386
16463
|
}
|
|
16387
|
-
function
|
|
16464
|
+
function Bu(o) {
|
|
16388
16465
|
let t;
|
|
16389
16466
|
function e(r, n) {
|
|
16390
16467
|
return (
|
|
16391
16468
|
/*skeletonLoading*/
|
|
16392
|
-
r[19] ?
|
|
16469
|
+
r[19] ? Mu : Tu
|
|
16393
16470
|
);
|
|
16394
16471
|
}
|
|
16395
16472
|
let i = e(o), s = i(o);
|
|
@@ -16406,15 +16483,15 @@ function Bd(o) {
|
|
|
16406
16483
|
i: li,
|
|
16407
16484
|
o: li,
|
|
16408
16485
|
d(r) {
|
|
16409
|
-
r &&
|
|
16486
|
+
r && de(t), s.d(), o[41](null);
|
|
16410
16487
|
}
|
|
16411
16488
|
};
|
|
16412
16489
|
}
|
|
16413
|
-
function
|
|
16490
|
+
function Hu(o, t, e) {
|
|
16414
16491
|
let i;
|
|
16415
|
-
Ir(o, Yr, (b) => e(20, i = b)), xe.extend(
|
|
16416
|
-
let { endpoint: s = "", session: r = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail:
|
|
16417
|
-
const
|
|
16492
|
+
Ir(o, Yr, (b) => e(20, i = b)), xe.extend(Pu);
|
|
16493
|
+
let { endpoint: s = "", session: r = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail: u = "", baseurl: d = "", clientstyling: h = "", clientstylingurl: m = "", mbsource: g, translationurl: p = "", hasconfirmationmodal: _ = "false", dateformat: y = "DD/MM/YYYY", sendnotificationemail: v = "false" } = t, C, A, D = [], G = {}, R = y.toUpperCase(), Y = window.navigator.userAgent, B, T, I = "", F = "", X = "selectAPeriod", H = "", te = "", pe = Fr(Y) !== "PC", q = !1, Z = !1, j = !1, $ = !1, Q = _ === "true", _e = !0;
|
|
16494
|
+
const Ae = () => {
|
|
16418
16495
|
fetch(p).then((se) => se.json()).then((se) => {
|
|
16419
16496
|
Object.keys(se).forEach((re) => {
|
|
16420
16497
|
qo(re, se[re]);
|
|
@@ -16426,7 +16503,7 @@ function Hd(o, t, e) {
|
|
|
16426
16503
|
Object.keys(Ko).forEach((b) => {
|
|
16427
16504
|
qo(b, Ko[b]);
|
|
16428
16505
|
});
|
|
16429
|
-
const
|
|
16506
|
+
const Ce = () => {
|
|
16430
16507
|
let b = new URL(`${s}/v1/player/selfExclusionSettings`);
|
|
16431
16508
|
fetch(b, {
|
|
16432
16509
|
method: "GET",
|
|
@@ -16442,7 +16519,7 @@ function Hd(o, t, e) {
|
|
|
16442
16519
|
e(19, _e = !1);
|
|
16443
16520
|
});
|
|
16444
16521
|
}, Ie = (b) => {
|
|
16445
|
-
b.data.type === "setSelfExclusion" &&
|
|
16522
|
+
b.data.type === "setSelfExclusion" && z();
|
|
16446
16523
|
}, Pe = async (b) => {
|
|
16447
16524
|
if (b.status >= 300)
|
|
16448
16525
|
G = await b.json(), te = G.thirdPartyResponse.errorCode, console.error(i(te || "generalError")), window.postMessage(
|
|
@@ -16460,7 +16537,7 @@ function Hd(o, t, e) {
|
|
|
16460
16537
|
}, ke = () => {
|
|
16461
16538
|
e(18, $ = !$);
|
|
16462
16539
|
}, ie = (b) => {
|
|
16463
|
-
switch (
|
|
16540
|
+
switch (F = b.text, e(13, X = b.key), e(17, j = !0), e(18, $ = !1), e(15, q = !1), e(16, Z = !1), F) {
|
|
16464
16541
|
case "Until":
|
|
16465
16542
|
e(16, Z = !0), e(10, B = xe().add(6, "months").format("YYYY-MM-DD")), e(11, T = xe().add(5, "years").format("YYYY-MM-DD")), e(12, I = B);
|
|
16466
16543
|
break;
|
|
@@ -16468,15 +16545,15 @@ function Hd(o, t, e) {
|
|
|
16468
16545
|
e(15, q = !q);
|
|
16469
16546
|
break;
|
|
16470
16547
|
default:
|
|
16471
|
-
const [se, re] =
|
|
16472
|
-
if (!
|
|
16548
|
+
const [se, re] = F.split(" "), Fe = re.includes("Day") ? "days" : re.includes("Month") ? "months" : re.includes("Year") ? "years" : null;
|
|
16549
|
+
if (!Fe)
|
|
16473
16550
|
return;
|
|
16474
|
-
e(12, I = xe().add(Number(se),
|
|
16551
|
+
e(12, I = xe().add(Number(se), Fe).format("YYYY-MM-DD"));
|
|
16475
16552
|
break;
|
|
16476
16553
|
}
|
|
16477
16554
|
Q && oe();
|
|
16478
16555
|
}, oe = () => {
|
|
16479
|
-
if (!Q || !
|
|
16556
|
+
if (!Q || !F || !I) {
|
|
16480
16557
|
e(14, H = "");
|
|
16481
16558
|
return;
|
|
16482
16559
|
}
|
|
@@ -16484,15 +16561,15 @@ function Hd(o, t, e) {
|
|
|
16484
16561
|
values: {
|
|
16485
16562
|
date: xe(I).format(R)
|
|
16486
16563
|
}
|
|
16487
|
-
}) : i("confirmationModalTextPeriodSelfExclusion", { values: { period: i(
|
|
16488
|
-
},
|
|
16564
|
+
}) : i("confirmationModalTextPeriodSelfExclusion", { values: { period: i(F) } }));
|
|
16565
|
+
}, N = (b) => {
|
|
16489
16566
|
b.preventDefault(), Q ? (oe(), window.postMessage(
|
|
16490
16567
|
{
|
|
16491
16568
|
type: "ShowSelfExclusionConfirmationModal"
|
|
16492
16569
|
},
|
|
16493
16570
|
window.location.href
|
|
16494
|
-
)) :
|
|
16495
|
-
},
|
|
16571
|
+
)) : z();
|
|
16572
|
+
}, z = () => {
|
|
16496
16573
|
e(19, _e = !0);
|
|
16497
16574
|
const b = new URL(`/v2/player/${n}/limits${l === "gm16" ? "/session" : ""}`, s), re = {
|
|
16498
16575
|
method: "PUT",
|
|
@@ -16510,7 +16587,7 @@ function Hd(o, t, e) {
|
|
|
16510
16587
|
}
|
|
16511
16588
|
})
|
|
16512
16589
|
};
|
|
16513
|
-
fetch(b.href, re).then((
|
|
16590
|
+
fetch(b.href, re).then((Fe) => Pe(Fe)).then((Fe) => {
|
|
16514
16591
|
window.postMessage(
|
|
16515
16592
|
{
|
|
16516
16593
|
type: "WidgetNotification",
|
|
@@ -16521,8 +16598,8 @@ function Hd(o, t, e) {
|
|
|
16521
16598
|
},
|
|
16522
16599
|
window.location.href
|
|
16523
16600
|
), window.postMessage({ type: "LogoutSuccessfull" }, window.location.href);
|
|
16524
|
-
}).catch((
|
|
16525
|
-
console.error(i("errorSelfExclusionCall"),
|
|
16601
|
+
}).catch((Fe) => {
|
|
16602
|
+
console.error(i("errorSelfExclusionCall"), Fe), window.postMessage(
|
|
16526
16603
|
{
|
|
16527
16604
|
type: "WidgetNotification",
|
|
16528
16605
|
data: {
|
|
@@ -16546,10 +16623,10 @@ function Hd(o, t, e) {
|
|
|
16546
16623
|
}, fe = (b) => {
|
|
16547
16624
|
e(12, I = b.target.value);
|
|
16548
16625
|
}, J = () => {
|
|
16549
|
-
|
|
16626
|
+
A.addEventListener("change", fe, !1), e(
|
|
16550
16627
|
8,
|
|
16551
|
-
|
|
16552
|
-
...
|
|
16628
|
+
A.i18n = {
|
|
16629
|
+
...A.i18n,
|
|
16553
16630
|
formatDate: (b) => xe(new Date(b.year, b.month, b.day)).format(R),
|
|
16554
16631
|
parseDate: (b) => {
|
|
16555
16632
|
const se = xe(b, R);
|
|
@@ -16560,48 +16637,48 @@ function Hd(o, t, e) {
|
|
|
16560
16637
|
};
|
|
16561
16638
|
}
|
|
16562
16639
|
},
|
|
16563
|
-
|
|
16640
|
+
A
|
|
16564
16641
|
);
|
|
16565
16642
|
};
|
|
16566
|
-
|
|
16567
|
-
|
|
16643
|
+
Nr(() => (window.addEventListener("message", Ie, !1), () => {
|
|
16644
|
+
A.removeEventListener("change", fe), window.removeEventListener("message", Ie);
|
|
16568
16645
|
}));
|
|
16569
16646
|
const le = () => {
|
|
16570
|
-
|
|
16647
|
+
ku(a);
|
|
16571
16648
|
}, x = () => ve(), M = () => ke(), V = (b) => ie(b);
|
|
16572
16649
|
function wt(b) {
|
|
16573
16650
|
so[b ? "unshift" : "push"](() => {
|
|
16574
|
-
|
|
16651
|
+
A = b, e(8, A);
|
|
16575
16652
|
});
|
|
16576
16653
|
}
|
|
16577
|
-
const Er = (b) =>
|
|
16654
|
+
const Er = (b) => N(b);
|
|
16578
16655
|
function Sr(b) {
|
|
16579
16656
|
so[b ? "unshift" : "push"](() => {
|
|
16580
|
-
|
|
16657
|
+
C = b, e(7, C);
|
|
16581
16658
|
});
|
|
16582
16659
|
}
|
|
16583
16660
|
return o.$$set = (b) => {
|
|
16584
|
-
"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,
|
|
16661
|
+
"endpoint" in b && e(28, s = b.endpoint), "session" in b && e(29, r = b.session), "userid" in b && e(30, n = b.userid), "lang" in b && e(0, a = b.lang), "gmversion" in b && e(31, l = b.gmversion), "operator" in b && e(1, c = b.operator), "supportemail" in b && e(2, 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);
|
|
16585
16662
|
}, o.$$.update = () => {
|
|
16586
16663
|
o.$$.dirty[0] & /*lang*/
|
|
16587
16664
|
1 && a && le(), o.$$.dirty[0] & /*endpoint, session, userid*/
|
|
16588
16665
|
1879048192 | o.$$.dirty[1] & /*gmversion*/
|
|
16589
|
-
1 && s && r && n && l &&
|
|
16590
|
-
256 &&
|
|
16591
|
-
144 && h &&
|
|
16592
|
-
160 && m &&
|
|
16593
|
-
192 && g &&
|
|
16594
|
-
2 && p &&
|
|
16666
|
+
1 && s && r && n && l && Ce(), o.$$.dirty[0] & /*calendar*/
|
|
16667
|
+
256 && A && J(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
16668
|
+
144 && h && C && Rr(C, h), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
16669
|
+
160 && m && C && Br(C, m), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
16670
|
+
192 && g && C && Hr(C, `${g}.Style`), o.$$.dirty[1] & /*translationurl*/
|
|
16671
|
+
2 && p && Ae();
|
|
16595
16672
|
}, Q && oe(), [
|
|
16596
16673
|
a,
|
|
16597
16674
|
c,
|
|
16598
|
-
d,
|
|
16599
16675
|
u,
|
|
16676
|
+
d,
|
|
16600
16677
|
h,
|
|
16601
16678
|
m,
|
|
16602
16679
|
g,
|
|
16603
|
-
A,
|
|
16604
16680
|
C,
|
|
16681
|
+
A,
|
|
16605
16682
|
D,
|
|
16606
16683
|
B,
|
|
16607
16684
|
T,
|
|
@@ -16619,7 +16696,7 @@ function Hd(o, t, e) {
|
|
|
16619
16696
|
Q,
|
|
16620
16697
|
ke,
|
|
16621
16698
|
ie,
|
|
16622
|
-
|
|
16699
|
+
N,
|
|
16623
16700
|
ve,
|
|
16624
16701
|
s,
|
|
16625
16702
|
r,
|
|
@@ -16642,8 +16719,8 @@ class wr extends Dr {
|
|
|
16642
16719
|
super(), Tr(
|
|
16643
16720
|
this,
|
|
16644
16721
|
t,
|
|
16645
|
-
|
|
16646
|
-
|
|
16722
|
+
Hu,
|
|
16723
|
+
Bu,
|
|
16647
16724
|
Mr,
|
|
16648
16725
|
{
|
|
16649
16726
|
endpoint: 28,
|
|
@@ -16662,7 +16739,7 @@ class wr extends Dr {
|
|
|
16662
16739
|
dateformat: 34,
|
|
16663
16740
|
sendnotificationemail: 35
|
|
16664
16741
|
},
|
|
16665
|
-
|
|
16742
|
+
Du,
|
|
16666
16743
|
[-1, -1]
|
|
16667
16744
|
);
|
|
16668
16745
|
}
|
|
@@ -16758,11 +16835,11 @@ class wr extends Dr {
|
|
|
16758
16835
|
}
|
|
16759
16836
|
}
|
|
16760
16837
|
$r(wr, { endpoint: {}, session: {}, userid: {}, lang: {}, gmversion: {}, operator: {}, supportemail: {}, baseurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, hasconfirmationmodal: {}, dateformat: {}, sendnotificationemail: {} }, [], [], !0);
|
|
16761
|
-
const
|
|
16838
|
+
const Ad = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16762
16839
|
__proto__: null,
|
|
16763
16840
|
default: wr
|
|
16764
16841
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
16765
16842
|
export {
|
|
16766
|
-
|
|
16767
|
-
|
|
16843
|
+
Pu as C,
|
|
16844
|
+
Ad as P
|
|
16768
16845
|
};
|