@everymatrix/player-account-controller 1.69.2 → 1.70.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountController-DKzAloCz.js → PlayerAccountController-BRsvfCew.js} +13 -13
- package/components/{PlayerAccountController-C1jhz8iz.js → PlayerAccountController-BVI65NyY.js} +13 -13
- package/components/{PlayerAccountController-DQEf6TPh.cjs → PlayerAccountController-BgXQNsvX.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CrXrmOOR.js → PlayerAccountGamingLimitsPage2Gm16-BAQqtUjc.js} +920 -937
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DGEsvVnD.js → PlayerAccountGamingLimitsPage2Gm16-Cov3S01u.js} +998 -1015
- package/components/PlayerAccountGamingLimitsPage2Gm16-Dpo-wqo-.cjs +26 -0
- package/components/{PlayerAccountGamingLimitsWrapper2-C3JxPyTO.cjs → PlayerAccountGamingLimitsWrapper2-B0QUbGaJ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-QK_u6gkN.js → PlayerAccountGamingLimitsWrapper2-CeTGUdpp.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-CV9Ppspb.js → PlayerAccountGamingLimitsWrapper2-LAdy0FnH.js} +1 -1
- package/components/{PlayerAccountMenu-C1a12Lr9.js → PlayerAccountMenu-T7u8nYfI.js} +1 -1
- package/components/{PlayerAccountMenu-Bc1xqfD5.cjs → PlayerAccountMenu-_Le7yvP5.cjs} +1 -1
- package/components/{PlayerAccountMenu-BfzPa4Td.js → PlayerAccountMenu-_Qnpkznr.js} +1 -1
- package/components/{PlayerAccountNotifications-CtpF-_nl.js → PlayerAccountNotifications-B0Nsdovh.js} +1 -1
- package/components/{PlayerAccountNotifications-DhH9cLSi.js → PlayerAccountNotifications-BeabE333.js} +1 -1
- package/components/{PlayerAccountNotifications-D8r2XtCv.cjs → PlayerAccountNotifications-aQgcZXcD.cjs} +1 -1
- package/components/{PlayerAccountProductRestriction-BqqmqIFv.js → PlayerAccountProductRestriction-4IgUKLLe.js} +2 -2
- package/components/{PlayerAccountProductRestriction-DXk8fZVl.js → PlayerAccountProductRestriction-BLkXP0pX.js} +2 -2
- package/components/{PlayerAccountProductRestriction-cB-XKLa3.cjs → PlayerAccountProductRestriction-BiiJjJv1.cjs} +2 -2
- package/components/{PlayerAccountSelfExclusion-BwP1k1J1.js → PlayerAccountSelfExclusion-BdH1YfUH.js} +868 -861
- package/components/{PlayerAccountSelfExclusion-C7osAw2S.js → PlayerAccountSelfExclusion-CL4bEd37.js} +864 -857
- package/components/{PlayerAccountSelfExclusion-DnD8S8cP.cjs → PlayerAccountSelfExclusion-aPMGQrTu.cjs} +146 -146
- package/components/{PlayerAccountTimeout-C7stuQYF.cjs → PlayerAccountTimeout-CJRir9eR.cjs} +1 -1
- package/components/{PlayerAccountTimeout-C3t3hMBv.js → PlayerAccountTimeout-CNXL9TVu.js} +4 -4
- package/components/{PlayerAccountTimeout-DPijcv-j.js → PlayerAccountTimeout-Cm_QTYSz.js} +4 -4
- package/components/{PlayerAccountTransactionsHistory-CCjDcfUg.cjs → PlayerAccountTransactionsHistory-C-xmag8z.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-Bq1HR2Zs.js → PlayerAccountTransactionsHistory-D6QxHI6o.js} +613 -613
- package/components/{PlayerAccountTransactionsHistory-BdDeZqv4.js → PlayerAccountTransactionsHistory-DPpaRiaX.js} +593 -593
- package/components/{PlayerActiveBonuses-CrOQdlJB.js → PlayerActiveBonuses-CaQNGq0m.js} +1 -1
- package/components/{PlayerActiveBonuses-CSDz-kWg.js → PlayerActiveBonuses-DX872Zcz.js} +1 -1
- package/components/{PlayerActiveBonuses-wlP0A00N.cjs → PlayerActiveBonuses-Dpef1XJD.cjs} +1 -1
- package/components/PlayerBonusCard-7dIqFpfg.cjs +1 -0
- package/components/{PlayerBonusCard-Ca4GQeMu.js → PlayerBonusCard-Cu5bJlh_.js} +13 -13
- package/components/{PlayerBonusCard-qHJ-z21x.js → PlayerBonusCard-ZY8S04oT.js} +13 -13
- package/components/{PlayerBonusHistory-CutjzsY9.js → PlayerBonusHistory-BOE5Bgah.js} +2 -2
- package/components/{PlayerBonusHistory-DTc1ryET.js → PlayerBonusHistory-DqsmaMeU.js} +2 -2
- package/components/{PlayerBonusHistory-Cwyo5GX1.cjs → PlayerBonusHistory-ppwY60rv.cjs} +1 -1
- package/components/{PlayerGamingHistory-BarHy4b8.js → PlayerGamingHistory-DaYcMM-N.js} +1 -1
- package/components/{PlayerGamingHistory-CqcOOClH.cjs → PlayerGamingHistory-Hs5LWwEP.cjs} +1 -1
- package/components/{PlayerGamingHistory-hRGbv9h5.js → PlayerGamingHistory-ShE-DHwW.js} +1 -1
- package/components/{PlayerProfileInfo-BLq56d0K.js → PlayerProfileInfo-C8q-cLYa.js} +241 -242
- package/components/{PlayerProfileInfo-B_Ljin_V.cjs → PlayerProfileInfo-DFw4ourA.cjs} +2 -2
- package/components/{PlayerProfileInfo-CNMMJLIu.js → PlayerProfileInfo-bwbHpI6M.js} +233 -234
- package/components/{PlayerRealityCheck-Ct9eoa4T.js → PlayerRealityCheck-BGNjgzIq.js} +1 -1
- package/components/{PlayerRealityCheck-4r0QyLS4.js → PlayerRealityCheck-C2w5S2fe.js} +1 -1
- package/components/{PlayerRealityCheck-BjYYGdSA.cjs → PlayerRealityCheck-Dr_ZpTwE.cjs} +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/stencil/{checkbox-group-input_14-uRy46KSq.cjs → checkbox-group-input_15-CfJ8hwGl.cjs} +244 -262
- package/stencil/{checkbox-group-input_14-BFSnZagr.js → checkbox-group-input_15-DV3L45BU.js} +2840 -2709
- package/stencil/{checkbox-group-input_14-GLjTTxmH.js → checkbox-group-input_15-Nrj9GHCK.js} +2837 -2706
- package/stencil/{index-13661b98-D2nlyS8e.js → index-13661b98-BCPnsSSE.js} +2 -2
- package/stencil/{index-13661b98-4yXy6CPB.cjs → index-13661b98-BUI3AeLv.cjs} +1 -1
- package/stencil/{index-13661b98-DIbjgfzn.js → index-13661b98-DffousLf.js} +2 -2
- package/stencil/{index-b2193545-BabAkr0e.cjs → index-b2193545-DQUvHUpa.cjs} +1 -1
- package/stencil/{index-b2193545-BiOpH9En.js → index-b2193545-DoYU_tL8.js} +1 -1
- package/stencil/{index-b2193545-Ce-13pAo.js → index-b2193545-_I2wisuY.js} +1 -1
- package/stencil/pam-change-password-B5GD5Hl4.js +7 -0
- package/stencil/pam-change-password-DMG1L_LG.js +25 -0
- package/stencil/{pam-change-password-f4a1e7e7-C9NkOxiM.js → pam-change-password-f4a1e7e7-C1ItXOg5.js} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-D-bYL6gs.cjs → pam-change-password-f4a1e7e7-CHySnF1q.cjs} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-BWQCkDNb.js → pam-change-password-f4a1e7e7-DCoikg7H.js} +1 -1
- package/stencil/pam-change-password-ubzmglA0.cjs +1 -0
- package/stencil/ui-skeleton-C_FDz0NJ.js +29 -0
- package/stencil/ui-skeleton-GEqIXVxo.cjs +1 -0
- package/stencil/{ui-skeleton-161699c3-D0o9EmS0.js → ui-skeleton-ae35c6f2-BreM325l.js} +12 -29
- package/stencil/ui-skeleton-ae35c6f2-CeNpgiKf.cjs +55 -0
- package/stencil/{ui-skeleton-161699c3-B6lE-0Wi.js → ui-skeleton-ae35c6f2-e6Wte4qi.js} +12 -29
- package/stencil/ui-skeleton-mkMdvWYI.js +11 -0
- package/components/PlayerAccountGamingLimitsPage2Gm16-B8fTk_-o.cjs +0 -26
- package/components/PlayerBonusCard-BBQEU4zs.cjs +0 -1
- package/stencil/pam-change-password-BJkxTpcZ.js +0 -25
- package/stencil/pam-change-password-DBQlR2TU.cjs +0 -1
- package/stencil/pam-change-password-iLjG4ryi.js +0 -7
- package/stencil/ui-skeleton-161699c3-B01ZhhJT.cjs +0 -73
- package/stencil/ui-skeleton-B3VBr2Bz.js +0 -29
- package/stencil/ui-skeleton-BENu4NGl.js +0 -11
- package/stencil/ui-skeleton-DQD9osiT.cjs +0 -1
package/components/{PlayerAccountSelfExclusion-C7osAw2S.js → PlayerAccountSelfExclusion-CL4bEd37.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { a4 as
|
|
2
|
-
import { d as xe } from "./PlayerAccountProductRestriction-
|
|
3
|
-
import "../stencil/ui-skeleton-
|
|
1
|
+
import { a4 as Cr, a5 as Ar, 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 ue, g as he, j as w, p as Ir, q as Nr, u as zr, w as so, h as f, k as O, e as S, Z as Wt, o as E, O as ro, P as Fr, r as Lr, c as de, 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
|
+
import { d as xe } from "./PlayerAccountProductRestriction-BLkXP0pX.js";
|
|
3
|
+
import "../stencil/ui-skeleton-mkMdvWYI.js";
|
|
4
4
|
import "./PlayerAccountGamingLimitsGroupEdit-CoayAtf0.js";
|
|
5
5
|
/**
|
|
6
6
|
* @license
|
|
7
7
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8
8
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9
9
|
*/
|
|
10
|
-
function
|
|
10
|
+
function be(o, t = "24.5.12") {
|
|
11
11
|
Object.defineProperty(o, "version", {
|
|
12
12
|
get() {
|
|
13
13
|
return t;
|
|
@@ -28,12 +28,12 @@ function ge(o, t = "24.5.12") {
|
|
|
28
28
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
29
29
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
30
30
|
*/
|
|
31
|
-
class
|
|
31
|
+
class jr extends HTMLElement {
|
|
32
32
|
static get is() {
|
|
33
33
|
return "vaadin-lumo-styles";
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
|
|
36
|
+
be(jr);
|
|
37
37
|
/**
|
|
38
38
|
* @license
|
|
39
39
|
* Copyright 2019 Google LLC
|
|
@@ -59,7 +59,7 @@ let Ni = class {
|
|
|
59
59
|
return this.cssText;
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
|
-
const
|
|
62
|
+
const Vr = (o) => new Ni(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;
|
|
@@ -80,17 +80,17 @@ const jr = (o) => new Ni(typeof o == "string" ? o : o + "", void 0, Ii), P = (o,
|
|
|
80
80
|
let e = "";
|
|
81
81
|
for (const i of t.cssRules)
|
|
82
82
|
e += i.cssText;
|
|
83
|
-
return
|
|
83
|
+
return Vr(e);
|
|
84
84
|
})(o) : o;
|
|
85
85
|
/**
|
|
86
86
|
* @license
|
|
87
87
|
* Copyright 2017 Google LLC
|
|
88
88
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
89
89
|
*/
|
|
90
|
-
const { is:
|
|
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, dt = (o, t) => o, ci = { toAttribute(o, t) {
|
|
91
91
|
switch (t) {
|
|
92
92
|
case Boolean:
|
|
93
|
-
o = o ?
|
|
93
|
+
o = o ? Xr : null;
|
|
94
94
|
break;
|
|
95
95
|
case Object:
|
|
96
96
|
case Array:
|
|
@@ -115,7 +115,7 @@ const { is: Vr, defineProperty: Ur, getOwnPropertyDescriptor: Wr, getOwnProperty
|
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
return e;
|
|
118
|
-
} }, Qo = (o, t) => !
|
|
118
|
+
} }, Qo = (o, t) => !Ur(o, t), co = { attribute: !0, type: String, converter: ci, reflect: !1, useDefault: !1, hasChanged: Qo };
|
|
119
119
|
Symbol.metadata ??= Symbol("metadata"), Bt.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
|
|
120
120
|
class We extends HTMLElement {
|
|
121
121
|
static addInitializer(t) {
|
|
@@ -127,11 +127,11 @@ class We extends HTMLElement {
|
|
|
127
127
|
static createProperty(t, e = co) {
|
|
128
128
|
if (e.state && (e.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(t) && ((e = Object.create(e)).wrapped = !0), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
129
129
|
const i = Symbol(), s = this.getPropertyDescriptor(t, i, e);
|
|
130
|
-
s !== void 0 &&
|
|
130
|
+
s !== void 0 && Wr(this.prototype, t, s);
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
133
|
static getPropertyDescriptor(t, e, i) {
|
|
134
|
-
const { get: s, set: r } =
|
|
134
|
+
const { get: s, set: r } = qr(this.prototype, t) ?? { get() {
|
|
135
135
|
return this[e];
|
|
136
136
|
}, set(n) {
|
|
137
137
|
this[e] = n;
|
|
@@ -147,14 +147,14 @@ class We extends HTMLElement {
|
|
|
147
147
|
static _$Ei() {
|
|
148
148
|
if (this.hasOwnProperty(dt("elementProperties")))
|
|
149
149
|
return;
|
|
150
|
-
const t =
|
|
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
154
|
if (this.hasOwnProperty(dt("finalized")))
|
|
155
155
|
return;
|
|
156
156
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(dt("properties"))) {
|
|
157
|
-
const e = this.properties, i = [...
|
|
157
|
+
const e = this.properties, i = [...Kr(e), ...Gr(e)];
|
|
158
158
|
for (const s of i)
|
|
159
159
|
this.createProperty(s, e[s]);
|
|
160
160
|
}
|
|
@@ -308,21 +308,21 @@ class We extends HTMLElement {
|
|
|
308
308
|
firstUpdated(t) {
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
|
-
We.elementStyles = [], We.shadowRootOptions = { mode: "open" }, We[dt("elementProperties")] = /* @__PURE__ */ new Map(), We[dt("finalized")] = /* @__PURE__ */ new Map(),
|
|
311
|
+
We.elementStyles = [], We.shadowRootOptions = { mode: "open" }, We[dt("elementProperties")] = /* @__PURE__ */ new Map(), We[dt("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 zi = globalThis, Mt = zi.trustedTypes, uo = Mt ? Mt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, es = "$lit$",
|
|
317
|
+
const zi = globalThis, Mt = zi.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", Fi = Array.isArray, en = (o) => Fi(o) || typeof o?.[Symbol.iterator] == "function", qt = `[
|
|
318
318
|
\f\r]`, ot = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ho = /-->/g, po = />/g, ze = RegExp(`>|${qt}(?:([^\\s"'>=/]+)(${qt}*=${qt}*(?:[^
|
|
319
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), fo = /'/g, mo = /"/g, is = /^(?:script|style|textarea|title)$/i, Xe = Symbol.for("lit-noChange"),
|
|
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(), Fe = He.createTreeWalker(He, 129);
|
|
320
320
|
function os(o, t) {
|
|
321
321
|
if (!Fi(o) || !o.hasOwnProperty("raw"))
|
|
322
322
|
throw Error("invalid template strings array");
|
|
323
323
|
return uo !== void 0 ? uo.createHTML(t) : t;
|
|
324
324
|
}
|
|
325
|
-
const
|
|
325
|
+
const tn = (o, t) => {
|
|
326
326
|
const e = o.length - 1, i = [];
|
|
327
327
|
let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = ot;
|
|
328
328
|
for (let a = 0; a < e; a++) {
|
|
@@ -331,7 +331,7 @@ const en = (o, t) => {
|
|
|
331
331
|
for (; h < l.length && (n.lastIndex = h, d = n.exec(l), d !== null); )
|
|
332
332
|
h = n.lastIndex, n === ot ? d[1] === "!--" ? n = ho : d[1] !== void 0 ? n = po : d[2] !== void 0 ? (is.test(d[2]) && (s = RegExp("</" + d[2], "g")), n = ze) : d[3] !== void 0 && (n = ze) : n === ze ? d[0] === ">" ? (n = s ?? ot, u = -1) : d[1] === void 0 ? u = -2 : (u = n.lastIndex - d[2].length, c = d[1], n = d[3] === void 0 ? ze : d[3] === '"' ? mo : fo) : n === mo || n === fo ? n = ze : n === ho || n === po ? n = ot : (n = ze, s = void 0);
|
|
333
333
|
const m = n === ze && o[a + 1].startsWith("/>") ? " " : "";
|
|
334
|
-
r += n === ot ? l +
|
|
334
|
+
r += n === ot ? l + Qr : u >= 0 ? (i.push(c), l.slice(0, u) + es + l.slice(u) + De + m) : l + De + (u === -2 ? a : m);
|
|
335
335
|
}
|
|
336
336
|
return [os(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
|
|
337
337
|
};
|
|
@@ -340,7 +340,7 @@ 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, d] =
|
|
343
|
+
const a = t.length - 1, l = this.parts, [c, d] = tn(t, e);
|
|
344
344
|
if (this.el = ft.createElement(c, i), Fe.currentNode = this.el.content, e === 2 || e === 3) {
|
|
345
345
|
const u = this.el.content.firstChild;
|
|
346
346
|
u.replaceWith(...u.childNodes);
|
|
@@ -350,12 +350,12 @@ class ft {
|
|
|
350
350
|
if (s.hasAttributes())
|
|
351
351
|
for (const u of s.getAttributeNames())
|
|
352
352
|
if (u.endsWith(es)) {
|
|
353
|
-
const h = d[n++], m = s.getAttribute(u).split(
|
|
354
|
-
l.push({ type: 1, index: r, name: g[2], strings: m, ctor: g[1] === "." ?
|
|
353
|
+
const h = d[n++], m = s.getAttribute(u).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(u);
|
|
355
355
|
} else
|
|
356
|
-
u.startsWith(
|
|
356
|
+
u.startsWith(De) && (l.push({ type: 6, index: r }), s.removeAttribute(u));
|
|
357
357
|
if (is.test(s.tagName)) {
|
|
358
|
-
const u = s.textContent.split(
|
|
358
|
+
const u = s.textContent.split(De), h = u.length - 1;
|
|
359
359
|
if (h > 0) {
|
|
360
360
|
s.textContent = Mt ? Mt.emptyScript : "";
|
|
361
361
|
for (let m = 0; m < h; m++)
|
|
@@ -368,8 +368,8 @@ class ft {
|
|
|
368
368
|
l.push({ type: 2, index: r });
|
|
369
369
|
else {
|
|
370
370
|
let u = -1;
|
|
371
|
-
for (; (u = s.data.indexOf(
|
|
372
|
-
l.push({ type: 7, index: r }), u +=
|
|
371
|
+
for (; (u = s.data.indexOf(De, u + 1)) !== -1; )
|
|
372
|
+
l.push({ type: 7, index: r }), u += De.length - 1;
|
|
373
373
|
}
|
|
374
374
|
r++;
|
|
375
375
|
}
|
|
@@ -386,7 +386,7 @@ function Ze(o, t, e = o, i) {
|
|
|
386
386
|
const r = pt(t) ? void 0 : t._$litDirective$;
|
|
387
387
|
return s?.constructor !== r && (s?._$AO?.(!1), r === void 0 ? s = void 0 : (s = new r(o), s._$AT(o, e, i)), i !== void 0 ? (e._$Co ??= [])[i] = s : e._$Cl = s), s !== void 0 && (t = Ze(o, s._$AS(o, t.values), s, i)), t;
|
|
388
388
|
}
|
|
389
|
-
class
|
|
389
|
+
class on {
|
|
390
390
|
constructor(t, e) {
|
|
391
391
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
|
392
392
|
}
|
|
@@ -403,7 +403,7 @@ class tn {
|
|
|
403
403
|
for (; l !== void 0; ) {
|
|
404
404
|
if (n === l.index) {
|
|
405
405
|
let c;
|
|
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
|
|
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
408
|
n !== l?.index && (r = Fe.nextNode(), n++);
|
|
409
409
|
}
|
|
@@ -420,7 +420,7 @@ class xt {
|
|
|
420
420
|
return this._$AM?._$AU ?? this._$Cv;
|
|
421
421
|
}
|
|
422
422
|
constructor(t, e, i, s) {
|
|
423
|
-
this.type = 2, this._$AH =
|
|
423
|
+
this.type = 2, this._$AH = W, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = i, this.options = s, this._$Cv = s?.isConnected ?? !0;
|
|
424
424
|
}
|
|
425
425
|
get parentNode() {
|
|
426
426
|
let t = this._$AA.parentNode;
|
|
@@ -434,7 +434,7 @@ class xt {
|
|
|
434
434
|
return this._$AB;
|
|
435
435
|
}
|
|
436
436
|
_$AI(t, e = this) {
|
|
437
|
-
t = Ze(this, t, e), pt(t) ? t ===
|
|
437
|
+
t = Ze(this, t, e), pt(t) ? t === W || t == null || t === "" ? (this._$AH !== W && this._$AR(), this._$AH = W) : t !== this._$AH && t !== Xe && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : en(t) ? this.k(t) : this._(t);
|
|
438
438
|
}
|
|
439
439
|
O(t) {
|
|
440
440
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -443,14 +443,14 @@ class xt {
|
|
|
443
443
|
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
|
444
444
|
}
|
|
445
445
|
_(t) {
|
|
446
|
-
this._$AH !==
|
|
446
|
+
this._$AH !== W && pt(this._$AH) ? this._$AA.nextSibling.data = t : this.T(He.createTextNode(t)), this._$AH = t;
|
|
447
447
|
}
|
|
448
448
|
$(t) {
|
|
449
449
|
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = ft.createElement(os(i.h, i.h[0]), this.options)), i);
|
|
450
450
|
if (this._$AH?._$AD === s)
|
|
451
451
|
this._$AH.p(e);
|
|
452
452
|
else {
|
|
453
|
-
const r = new
|
|
453
|
+
const r = new on(s, this), n = r.u(this.options);
|
|
454
454
|
r.p(e), this.T(n), this._$AH = r;
|
|
455
455
|
}
|
|
456
456
|
}
|
|
@@ -484,7 +484,7 @@ class Ht {
|
|
|
484
484
|
return this._$AM._$AU;
|
|
485
485
|
}
|
|
486
486
|
constructor(t, e, i, s, r) {
|
|
487
|
-
this.type = 1, this._$AH =
|
|
487
|
+
this.type = 1, this._$AH = W, this._$AN = void 0, this.element = t, this.name = e, this._$AM = s, this.options = r, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = W;
|
|
488
488
|
}
|
|
489
489
|
_$AI(t, e = this, i, s) {
|
|
490
490
|
const r = this.strings;
|
|
@@ -495,45 +495,45 @@ class Ht {
|
|
|
495
495
|
const a = t;
|
|
496
496
|
let l, c;
|
|
497
497
|
for (t = r[0], l = 0; l < r.length - 1; l++)
|
|
498
|
-
c = Ze(this, a[i + l], e, l), c === Xe && (c = this._$AH[l]), n ||= !pt(c) || c !== this._$AH[l], c ===
|
|
498
|
+
c = Ze(this, a[i + l], e, l), c === Xe && (c = this._$AH[l]), n ||= !pt(c) || c !== this._$AH[l], c === W ? t = W : t !== W && (t += (c ?? "") + r[l + 1]), this._$AH[l] = c;
|
|
499
499
|
}
|
|
500
500
|
n && !s && this.j(t);
|
|
501
501
|
}
|
|
502
502
|
j(t) {
|
|
503
|
-
t ===
|
|
503
|
+
t === W ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
504
504
|
}
|
|
505
505
|
}
|
|
506
|
-
class
|
|
506
|
+
class sn extends Ht {
|
|
507
507
|
constructor() {
|
|
508
508
|
super(...arguments), this.type = 3;
|
|
509
509
|
}
|
|
510
510
|
j(t) {
|
|
511
|
-
this.element[this.name] = t ===
|
|
511
|
+
this.element[this.name] = t === W ? void 0 : t;
|
|
512
512
|
}
|
|
513
513
|
}
|
|
514
|
-
class
|
|
514
|
+
class rn extends Ht {
|
|
515
515
|
constructor() {
|
|
516
516
|
super(...arguments), this.type = 4;
|
|
517
517
|
}
|
|
518
518
|
j(t) {
|
|
519
|
-
this.element.toggleAttribute(this.name, !!t && t !==
|
|
519
|
+
this.element.toggleAttribute(this.name, !!t && t !== W);
|
|
520
520
|
}
|
|
521
521
|
}
|
|
522
|
-
class
|
|
522
|
+
class nn extends Ht {
|
|
523
523
|
constructor(t, e, i, s, r) {
|
|
524
524
|
super(t, e, i, s, r), this.type = 5;
|
|
525
525
|
}
|
|
526
526
|
_$AI(t, e = this) {
|
|
527
|
-
if ((t = Ze(this, t, e, 0) ??
|
|
527
|
+
if ((t = Ze(this, t, e, 0) ?? W) === Xe)
|
|
528
528
|
return;
|
|
529
|
-
const i = this._$AH, s = t ===
|
|
529
|
+
const i = this._$AH, s = t === W && i !== W || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, r = t !== W && (i === W || s);
|
|
530
530
|
s && this.element.removeEventListener(this.name, this, i), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
531
531
|
}
|
|
532
532
|
handleEvent(t) {
|
|
533
533
|
typeof this._$AH == "function" ? this._$AH.call(this.options?.host ?? this.element, t) : this._$AH.handleEvent(t);
|
|
534
534
|
}
|
|
535
535
|
}
|
|
536
|
-
class
|
|
536
|
+
class an {
|
|
537
537
|
constructor(t, e, i) {
|
|
538
538
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
|
|
539
539
|
}
|
|
@@ -544,9 +544,9 @@ class nn {
|
|
|
544
544
|
Ze(this, t);
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
|
-
const
|
|
548
|
-
|
|
549
|
-
const
|
|
547
|
+
const ln = zi.litHtmlPolyfillSupport;
|
|
548
|
+
ln?.(ft, xt), (zi.litHtmlVersions ??= []).push("3.3.0");
|
|
549
|
+
const cn = (o, t, e) => {
|
|
550
550
|
const i = e?.renderBefore ?? t;
|
|
551
551
|
let s = i._$litPart$;
|
|
552
552
|
if (s === void 0) {
|
|
@@ -571,7 +571,7 @@ class qe extends We {
|
|
|
571
571
|
}
|
|
572
572
|
update(t) {
|
|
573
573
|
const e = this.render();
|
|
574
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do =
|
|
574
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = cn(e, this.renderRoot, this.renderOptions);
|
|
575
575
|
}
|
|
576
576
|
connectedCallback() {
|
|
577
577
|
super.connectedCallback(), this._$Do?.setConnected(!0);
|
|
@@ -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 dn = Li.litElementPolyfillSupport;
|
|
588
|
+
dn?.({ 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 un = (o) => class extends o {
|
|
596
596
|
static get properties() {
|
|
597
597
|
return {
|
|
598
598
|
/**
|
|
@@ -635,10 +635,10 @@ const ss = [], di = /* @__PURE__ */ new Set(), Ri = /* @__PURE__ */ new Set();
|
|
|
635
635
|
function rs(o) {
|
|
636
636
|
return o && Object.prototype.hasOwnProperty.call(o, "__themes");
|
|
637
637
|
}
|
|
638
|
-
function
|
|
638
|
+
function hn(o) {
|
|
639
639
|
return rs(customElements.get(o));
|
|
640
640
|
}
|
|
641
|
-
function
|
|
641
|
+
function pn(o = []) {
|
|
642
642
|
return [o].flat(1 / 0).filter((t) => t instanceof Ni ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
|
|
643
643
|
}
|
|
644
644
|
function ns(o, t) {
|
|
@@ -649,11 +649,11 @@ function as(o) {
|
|
|
649
649
|
`);
|
|
650
650
|
}
|
|
651
651
|
const Ot = "vaadin-themable-mixin-style";
|
|
652
|
-
function
|
|
652
|
+
function fn(o, t) {
|
|
653
653
|
const e = document.createElement("style");
|
|
654
654
|
e.id = Ot, e.textContent = as(o), t.content.appendChild(e);
|
|
655
655
|
}
|
|
656
|
-
function
|
|
656
|
+
function mn(o) {
|
|
657
657
|
if (!o.shadowRoot)
|
|
658
658
|
return;
|
|
659
659
|
const t = o.constructor;
|
|
@@ -664,10 +664,10 @@ function fn(o) {
|
|
|
664
664
|
e.textContent = i.content.getElementById(Ot).textContent;
|
|
665
665
|
}
|
|
666
666
|
}
|
|
667
|
-
function
|
|
667
|
+
function _n(o) {
|
|
668
668
|
di.forEach((t) => {
|
|
669
669
|
const e = t.deref();
|
|
670
|
-
e instanceof o ?
|
|
670
|
+
e instanceof o ? mn(e) : e || di.delete(t);
|
|
671
671
|
});
|
|
672
672
|
}
|
|
673
673
|
function ls(o) {
|
|
@@ -682,31 +682,31 @@ function ls(o) {
|
|
|
682
682
|
e !== o && e.prototype instanceof o && ls(e);
|
|
683
683
|
});
|
|
684
684
|
}
|
|
685
|
-
function
|
|
685
|
+
function gn(o, t) {
|
|
686
686
|
const e = o.__themes;
|
|
687
687
|
return !e || !t ? !1 : e.some(
|
|
688
688
|
(i) => i.styles.some((s) => t.some((r) => r.cssText === s.cssText))
|
|
689
689
|
);
|
|
690
690
|
}
|
|
691
|
-
function
|
|
692
|
-
t =
|
|
691
|
+
function L(o, t, e = {}) {
|
|
692
|
+
t = pn(t), window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.registerStyles(o, t, e) : ss.push({
|
|
693
693
|
themeFor: o,
|
|
694
694
|
styles: t,
|
|
695
695
|
include: e.include,
|
|
696
696
|
moduleId: e.moduleId
|
|
697
697
|
}), o && Ri.forEach((i) => {
|
|
698
|
-
if (ns(o, i) &&
|
|
698
|
+
if (ns(o, i) && hn(i)) {
|
|
699
699
|
const s = customElements.get(i);
|
|
700
|
-
|
|
700
|
+
gn(s, t) ? console.warn(`Registering styles that already exist for ${i}`) : (!window.Vaadin || !window.Vaadin.suppressPostFinalizeStylesWarning) && console.warn(
|
|
701
701
|
`The custom element definition for "${i}" was finalized before a style module was registered. Ideally, import component specific style modules before importing the corresponding custom element. This warning can be suppressed by setting "window.Vaadin.suppressPostFinalizeStylesWarning = true".`
|
|
702
|
-
), ls(s),
|
|
702
|
+
), ls(s), _n(s);
|
|
703
703
|
}
|
|
704
704
|
});
|
|
705
705
|
}
|
|
706
706
|
function ui() {
|
|
707
707
|
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() : ss;
|
|
708
708
|
}
|
|
709
|
-
function
|
|
709
|
+
function bn(o = "") {
|
|
710
710
|
let t = 0;
|
|
711
711
|
return o.startsWith("lumo-") || o.startsWith("material-") ? t = 1 : o.startsWith("vaadin-") && (t = 2), t;
|
|
712
712
|
}
|
|
@@ -717,17 +717,17 @@ function cs(o) {
|
|
|
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
|
-
function
|
|
720
|
+
function vn(o) {
|
|
721
721
|
const t = `${o}-default-theme`, e = ui().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
|
-
includePriority:
|
|
726
|
+
includePriority: bn(i.moduleId)
|
|
727
727
|
})).sort((i, s) => s.includePriority - i.includePriority);
|
|
728
728
|
return e.length > 0 ? e : ui().filter((i) => i.moduleId === t);
|
|
729
729
|
}
|
|
730
|
-
const $e = (o) => class extends
|
|
730
|
+
const $e = (o) => class extends un(o) {
|
|
731
731
|
constructor() {
|
|
732
732
|
super(), di.add(new WeakRef(this));
|
|
733
733
|
}
|
|
@@ -739,7 +739,7 @@ const $e = (o) => class extends dn(o) {
|
|
|
739
739
|
if (super.finalize(), this.is && Ri.add(this.is), this.elementStyles)
|
|
740
740
|
return;
|
|
741
741
|
const e = this.prototype._template;
|
|
742
|
-
!e || rs(this) ||
|
|
742
|
+
!e || rs(this) || fn(this.getStylesForThis(), e);
|
|
743
743
|
}
|
|
744
744
|
/**
|
|
745
745
|
* Covers LitElement based component styling
|
|
@@ -757,7 +757,7 @@ const $e = (o) => class extends dn(o) {
|
|
|
757
757
|
*/
|
|
758
758
|
static getStylesForThis() {
|
|
759
759
|
const e = o.__themes || [], i = Object.getPrototypeOf(this.prototype), s = (i ? i.constructor.__themes : []) || [];
|
|
760
|
-
this.__themes = [...e, ...s, ...
|
|
760
|
+
this.__themes = [...e, ...s, ...vn(this.is)];
|
|
761
761
|
const r = this.__themes.flatMap((n) => n.styles);
|
|
762
762
|
return r.filter((n, a) => a === r.lastIndexOf(n));
|
|
763
763
|
}
|
|
@@ -767,19 +767,19 @@ const $e = (o) => class extends dn(o) {
|
|
|
767
767
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
768
768
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
769
769
|
*/
|
|
770
|
-
const
|
|
770
|
+
const yn = (o, ...t) => {
|
|
771
771
|
const e = document.createElement("style");
|
|
772
772
|
e.id = o, e.textContent = t.map((i) => i.toString()).join(`
|
|
773
773
|
`).replace(":host", "html"), document.head.insertAdjacentElement("afterbegin", e);
|
|
774
774
|
}, tt = (o, ...t) => {
|
|
775
|
-
|
|
775
|
+
yn(`lumo-${o}`, t);
|
|
776
776
|
};
|
|
777
777
|
/**
|
|
778
778
|
* @license
|
|
779
779
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
780
780
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
781
781
|
*/
|
|
782
|
-
const
|
|
782
|
+
const xn = P`
|
|
783
783
|
:host {
|
|
784
784
|
--lumo-size-xs: 1.625rem;
|
|
785
785
|
--lumo-size-s: 1.875rem;
|
|
@@ -795,13 +795,13 @@ const yn = P`
|
|
|
795
795
|
--lumo-icon-size: var(--lumo-icon-size-m);
|
|
796
796
|
}
|
|
797
797
|
`;
|
|
798
|
-
tt("sizing-props",
|
|
798
|
+
tt("sizing-props", xn);
|
|
799
799
|
/**
|
|
800
800
|
* @license
|
|
801
801
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
802
802
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
803
803
|
*/
|
|
804
|
-
const
|
|
804
|
+
const wn = P`
|
|
805
805
|
:host {
|
|
806
806
|
/* Square */
|
|
807
807
|
--lumo-space-xs: 0.25rem;
|
|
@@ -825,13 +825,13 @@ const xn = P`
|
|
|
825
825
|
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
|
826
826
|
}
|
|
827
827
|
`;
|
|
828
|
-
tt("spacing-props",
|
|
828
|
+
tt("spacing-props", wn);
|
|
829
829
|
/**
|
|
830
830
|
* @license
|
|
831
831
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
832
832
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
833
833
|
*/
|
|
834
|
-
const
|
|
834
|
+
const En = P`
|
|
835
835
|
:host {
|
|
836
836
|
/* Border radius */
|
|
837
837
|
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
@@ -933,13 +933,13 @@ P`
|
|
|
933
933
|
--vaadin-input-field-value-font-weight: 500;
|
|
934
934
|
}
|
|
935
935
|
`;
|
|
936
|
-
tt("style-props",
|
|
936
|
+
tt("style-props", En);
|
|
937
937
|
/**
|
|
938
938
|
* @license
|
|
939
939
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
940
940
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
941
941
|
*/
|
|
942
|
-
const
|
|
942
|
+
const Sn = P`
|
|
943
943
|
:host {
|
|
944
944
|
/* Base (background) */
|
|
945
945
|
--lumo-base-color: #fff;
|
|
@@ -1025,8 +1025,8 @@ const En = P`
|
|
|
1025
1025
|
}
|
|
1026
1026
|
}
|
|
1027
1027
|
`;
|
|
1028
|
-
tt("color-props",
|
|
1029
|
-
const
|
|
1028
|
+
tt("color-props", Sn);
|
|
1029
|
+
const Cn = P`
|
|
1030
1030
|
[theme~='dark'] {
|
|
1031
1031
|
/* Base (background) */
|
|
1032
1032
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -1145,13 +1145,13 @@ const Sn = P`
|
|
|
1145
1145
|
background: transparent;
|
|
1146
1146
|
}
|
|
1147
1147
|
`;
|
|
1148
|
-
|
|
1148
|
+
L("", Cn, { 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 An = 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';
|
|
@@ -1171,7 +1171,7 @@ const Cn = P`
|
|
|
1171
1171
|
--lumo-line-height-s: 1.375;
|
|
1172
1172
|
--lumo-line-height-m: 1.625;
|
|
1173
1173
|
}
|
|
1174
|
-
`,
|
|
1174
|
+
`, Pn = P`
|
|
1175
1175
|
body,
|
|
1176
1176
|
:host {
|
|
1177
1177
|
font-family: var(--lumo-font-family);
|
|
@@ -1264,8 +1264,8 @@ const Cn = P`
|
|
|
1264
1264
|
border-right: 2px solid var(--lumo-contrast-30pct);
|
|
1265
1265
|
}
|
|
1266
1266
|
`;
|
|
1267
|
-
|
|
1268
|
-
tt("typography-props",
|
|
1267
|
+
L("", Pn, { moduleId: "lumo-typography" });
|
|
1268
|
+
tt("typography-props", An);
|
|
1269
1269
|
/**
|
|
1270
1270
|
* @license
|
|
1271
1271
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -1337,7 +1337,7 @@ const ds = P`
|
|
|
1337
1337
|
}
|
|
1338
1338
|
}
|
|
1339
1339
|
`;
|
|
1340
|
-
|
|
1340
|
+
L("", ds, { moduleId: "lumo-overlay" });
|
|
1341
1341
|
/**
|
|
1342
1342
|
* @license
|
|
1343
1343
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -1374,8 +1374,8 @@ const us = P`
|
|
|
1374
1374
|
}
|
|
1375
1375
|
}
|
|
1376
1376
|
`;
|
|
1377
|
-
|
|
1378
|
-
const
|
|
1377
|
+
L("", us, { moduleId: "lumo-menu-overlay-core" });
|
|
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 */
|
|
1381
1381
|
@media (max-width: 450px), (max-height: 450px) {
|
|
@@ -1437,9 +1437,9 @@ const Pn = P`
|
|
|
1437
1437
|
transform: translateY(150%);
|
|
1438
1438
|
}
|
|
1439
1439
|
}
|
|
1440
|
-
`, hs = [ds, us,
|
|
1441
|
-
|
|
1442
|
-
const
|
|
1440
|
+
`, hs = [ds, us, kn];
|
|
1441
|
+
L("", hs, { moduleId: "lumo-menu-overlay" });
|
|
1442
|
+
const Dn = P`
|
|
1443
1443
|
[part='overlay'] {
|
|
1444
1444
|
/*
|
|
1445
1445
|
Width:
|
|
@@ -1485,10 +1485,10 @@ const kn = P`
|
|
|
1485
1485
|
}
|
|
1486
1486
|
}
|
|
1487
1487
|
`;
|
|
1488
|
-
|
|
1488
|
+
L("vaadin-date-picker-overlay", [hs, Dn], {
|
|
1489
1489
|
moduleId: "lumo-date-picker-overlay"
|
|
1490
1490
|
});
|
|
1491
|
-
const
|
|
1491
|
+
const Tn = P`
|
|
1492
1492
|
:host {
|
|
1493
1493
|
/* Sizing */
|
|
1494
1494
|
--lumo-button-size: var(--lumo-size-m);
|
|
@@ -1765,8 +1765,8 @@ const Dn = P`
|
|
|
1765
1765
|
margin-right: 0;
|
|
1766
1766
|
}
|
|
1767
1767
|
`;
|
|
1768
|
-
|
|
1769
|
-
|
|
1768
|
+
L("vaadin-button", Tn, { moduleId: "lumo-button" });
|
|
1769
|
+
L(
|
|
1770
1770
|
"vaadin-date-picker-year",
|
|
1771
1771
|
P`
|
|
1772
1772
|
:host([current]) [part='year-number'] {
|
|
@@ -1795,7 +1795,7 @@ R(
|
|
|
1795
1795
|
`,
|
|
1796
1796
|
{ moduleId: "lumo-date-picker-year" }
|
|
1797
1797
|
);
|
|
1798
|
-
|
|
1798
|
+
L(
|
|
1799
1799
|
"vaadin-date-picker-overlay-content",
|
|
1800
1800
|
P`
|
|
1801
1801
|
:host {
|
|
@@ -1950,7 +1950,7 @@ R(
|
|
|
1950
1950
|
`,
|
|
1951
1951
|
{ moduleId: "lumo-date-picker-overlay-content" }
|
|
1952
1952
|
);
|
|
1953
|
-
|
|
1953
|
+
L(
|
|
1954
1954
|
"vaadin-month-calendar",
|
|
1955
1955
|
P`
|
|
1956
1956
|
:host {
|
|
@@ -2102,7 +2102,7 @@ R(
|
|
|
2102
2102
|
`,
|
|
2103
2103
|
{ moduleId: "lumo-month-calendar" }
|
|
2104
2104
|
);
|
|
2105
|
-
|
|
2105
|
+
L(
|
|
2106
2106
|
"vaadin-input-container",
|
|
2107
2107
|
P`
|
|
2108
2108
|
:host {
|
|
@@ -2290,7 +2290,7 @@ R(
|
|
|
2290
2290
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2291
2291
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2292
2292
|
*/
|
|
2293
|
-
const
|
|
2293
|
+
const Mn = P`
|
|
2294
2294
|
@font-face {
|
|
2295
2295
|
font-family: 'lumo-icons';
|
|
2296
2296
|
src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABEgAAsAAAAAIjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuKY21hcAAAAYgAAAD4AAADrsCU8d5nbHlmAAACgAAAC2cAABeAWri7U2hlYWQAAA3oAAAAMAAAADZa/6SsaGhlYQAADhgAAAAdAAAAJAbpA35obXR4AAAOOAAAABAAAACspBAAAGxvY2EAAA5IAAAAWAAAAFh57oA4bWF4cAAADqAAAAAfAAAAIAFKAXBuYW1lAAAOwAAAATEAAAIuUUJZCHBvc3QAAA/0AAABKwAAAelm8SzVeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS+yDiBgZWBgamKaQ8DA0MPhGZ8wGDIyAQUZWBlZsAKAtJcUxgcXjG+0mIO+p/FEMUcxDANKMwIkgMABn8MLQB4nO3SWW6DMABF0UtwCEnIPM/zhLK8LqhfXRybSP14XUYtHV9hGYQwQBNIo3cUIPkhQeM7rib1ekqnXg981XuC1qvy84lzojleh3puxL0hPjGjRU473teloEefAUNGjJkwZcacBUtWrNmwZceeA0dOnLlw5cadB09elPGhGf+j0NTI/65KfXerT6JhqKnpRKtgOpuqaTrtKjPUlqHmhto21I7pL6i6hlqY3q7qGWrfUAeGOjTUkaGODXViqFNDnRnq3FAXhro01JWhrg11Y6hbQ90Z6t5QD4Z6NNSToZ4N9WKoV0O9GerdUB+G+jTUl6GWRvkL24BkEXictVh9bFvVFb/nxvbz+7Rf/N6zHcd2bCfP+Wic1Z9N0jpNHCD9SNqqoVBgbQoMjY+pjA4hNnWa2pV1rHSIif0DGkyT2k10Kmu1Cag6huj4ZpqYBHSqJsTEJgZCG3TaVBFv595nO3ZIv4RIrPPuvefe884599zzO/cRF8G/tgn6CFFImNgkR0ggX8wlspbhSSWSdrC5ozd30s2dw5afzvgtyz9/zG9t1hV4RtF1pXolowvtzc2z6L2aYUQM45jKH9WDTvd1LRDoDASYWhfTzTyvboXz6uZX4ARX5wrF39y+HM2+CJ8d0pkyqBIqoze3D12ez4DrFoYzxI8dWwMrDlZ2DMqQAR9AROsJU+2smlTPaTTco52BVxXa2a2+I8vvqd2dVHm1LoPeTn/AZPRYGthDYOeZjBjKoFsVGulR3lGU95SeCK44oHU7MhWUGUKZDT3oSUcG2GWuh+EDDfUYA/jhIhl0TOsJNYSEu7mQmi3UzfXwZKA4BsVsHLXQYGgJW95qEtpJ1VcW9HiTriZBlFEqxsDjA09yCNUoQxxwd7KWSTt2y3GTKifkqHRCoWZc3m11Wa/dKdFgXD4kSYfkeJBKd8KMz7J8dZn/cGRCcLGDnA2Ge3bKzcvlnTDNthFWLH7Xt80ua5FMjA4WKelWv5Xo16vHuYzpRbJhhdVlftuRK0VlR27D9lu5TF0DPBi60OrHNO0AfP/uRWvhn/U3LXICE+nh+3IHPUJ8JE6GyBjZQLbjGchlrSgYngF8zyrIF4NJD3atUcgWsWunGN/UHX5B5/yg7uF87Nqp4Gf52F3gH73DjEZNRoqCKAr9giQJp5rGJABpiVE2htNhW9R8nw0jqYjCYcY4LIjwYNScf4WN06IZnZCEqsI4cFaQbo4Z1TsZBx40YhXkHOecaYE5oY37IIQ+iJJ+UsDYSun5MuRSBRZRUUhlY2DqOGajOR6zrSU/5My6l2DnusH1GQgnw5BZP7iuYM/ahcfQ7Z8y51ddfutvuwNqWQ0cBYr8fj0U0vsHpwerVaB2sWhXT2NExi2r1KUE2tUuVMnkepVQrxTmpQrZTG4iu8he8iPyM3KcPE/+RP5KPoE2CEAKclCBzXATxkYOtUY/o961PWRqsj0chRrHFBbtrjP9/P0ven5pcbRdpL94vfsy33e5+izuwz3nFLFPVNayPZx/jdG1fOChflFRvYzsW6L18efgLrSWIgvcqnGJYi4skO4xREURjbDuxKke5v0T3Mrzkt2fi31uyZlLLrqIpEuXXsMlgw442Jb0GAxjS1DM20kBoCzHLXm/jEm0IltdcvU0fEW24jgiwwRjVd9u4NJHcIyoHJcwvyVqgqj5hqBJ1ZWSJryh9p56UWhX1XbhRbW2ZopuZWsQd5y8mEQ8M+C6xjRYxZbDKWf5AgY+Qq/l6wSPk16zDFjowYuu+wjx13mfkxbyDDxadYT/LijZyI0THB+6yfLaWsRcO82zo9mWTNtpO18qlorZoIVMwSN40tky5DOQ1MCIAe24mvlsuwIIxPb10+uXDQ4uWz/9m3rj+ql7p6bufZARuPVq5tXtsn6KwfP8Jy0TeWOyNhUJN6mhX5rkUTtUppQWEMNTqEdaCGKFYKJaQrCE4JtDLYOlNEKmO5kBTPGY2A0N2sY3+dVlo1N9ycBsIGtOjQ2p/tlZvzo0ur4v6cOh8NTospB7U/X40KahoU3bGIH97dnwmtHlYffVG3R1YOwKM2vNhrPhCT5zk64sG53oS4b31aYjqe/B7+kQiXBN+b6h21hNUPMq29B8CU4elINdygMPKF1B+WBTG7Z9ZshpN/xwEuuDQZR+nuoo4CDaAiiwXmLpmukMQyPf/JMclqgL1ixZQ/nnP2VbdUODFGt2fgBvL123rlLYu/6A9ckb7F3K0/CyBMEu6aQoPscroCcacVehvyQyCZAsizsWWBkoLC+WAiWnOksLKaeuQDzGuqSk42aiYTiJ4zf9afl17SrqaTO1f+XlZAfIuYcq7/IqYMaMrksOJ6vHkOCPDq943xcCnHqVD9pHFRpMqSPXrIua1WNs+tOz1U+ciTCDpPk+c4QYJIHnYhxP/kVPAq+ahFpVhPcHp8qyarhiF+HsBU9Hrl+UZa876fbKipL0KqB6OdUveErgtOI97fZ63ae9SvWU6k2w1JfwqnUbHsYcFCJFrC/W12zIMMirWYEHxMPs6LGYSdkSZ5TsNP9PCpwnWC3HKZ1lydNjWHC2Mn3l6vL0dHn1ldP3LTSrX+vKrBqv7KmMr8p0SR6P1NqF63or6XRlIyO90f7+kf7+myOhvt4tq7f09oUiTc2/dycGgqFQcCDRLYmi1NL7fk0CknVMxEg/cdfs/TnpJMNkgqwj17B8beVazSrVbU4lG67IZYOCnWrYy3yBR9cyWcChywos3LJBEdhhFoAdYjiw0rLGm0xU5OzoGm5/ZfmHjVZpNNg6SznzGKDdwv2cCtVn6Eaxo12cfxLprpVtTcZ6hVx6dow7Yq7e8LXO8PY9Jgjoze9yCtU5FNbegcKkQMdCbt9au/te4Ebe0jkc0ukUL32eYnTpNs20h0KpUOhZPYwVcfhZnfdqeCvDfXiuCbAoYWcXERPc/mDQD3/hdF+wK4i/xv3kYfprIpAuMkk2kW3kdtS0kBIKpZwp8KxmsCyfM1MFzAss9LBkDxRyThiaqTLwKYKJVTwmWTudMyz+yks09346MDh4m72yOxCKrt1XMlQ1qPVlTEVVQ1ofdK/sCWjtZu9qGwZ8YZ9PPWlo1IV3eW3+U0aXblP39zrt+JPf6UhEQ1rUjNBULN+utyuaDNW34kpAVuSOeMTyWbSNWnooFu+QFNWQ4d/Ox4IPWx41fP/fB/Rjeoz08ezPA9TysMtmnOXfGN7Ui3xIYLDALrlDLOP09qtJuY2OeL0+QZXdRnR1nxRVBF/SOyKKPpcrn9mWzH4rH9IidE+PTNU2182+hOgSItrE1slByS24vaLvJpxOqe4Pduf3HJkZ+jLqUz9rRzB7p8gKcgWZwV1L8JtUS5Z2JxZSOCuBoMTQihMzLbCPA0KqGMAljRQjONklW/wjnXKy8vxT/Elvm3/KiMUMOoV0/vnDYlhec0SMKtt3/kKMyOt33tj2bqxQLsTjSGLl+EAsNhCnTyRGktW55EgCn/A4PlnWn+Mg8bgZrWqHxTbPwMuyy1u5YeZF2SUM7JRhddwRgiRuxpmgJmxn9ZW7XpcF3ViX/ar6ptRpGJ0S9Adg4qhb9sI3vbL7qNJV/y4i07t5TZBiho1imFoMz3gED+CtjYUxvP4SOxov4bFoNPg5aR1e+G4UgDPoedJTpogyCJ7oYvRqoVS0MQAy+CoNEdTDUjok5ZHZL/WtjV7rFj3PKQE3iKp7ou+rIxN3b9LB1dGjeT4cvKo3FrnWpYpuaFd/h3dtV8UeKN1Y9hpR3dt4p0H/zKuPQq0kZQUIIpuDfoiETsnIk+gCWMJZUXHtE8V9LkUc2TE8vOMbO4ax/MACabzyaGXc7u3FBr11ThBdB8SIeMAlCntG2KThHSPsaj2Dc9KNyY2a0KZ7ODaTHoRiFkeYz+shZBpCS4X6471KKKnuHd84edfk5F37d1XO5bbkcltu2ZLNbvnPXiUVAnVvprJrP+NObryjxrllS65md6Tm6wzFHRR4dY3QUUjb7MgxaIixU8hspi98fl/Xc+IB4iU66eCVL9YfAfahiSUt4TONS8x0D8W7u8vd3fGWx6OXlM/U1IoU/s61PGhpyXRFa3eReq2qG56lvmYtXavCC1iN7lbiBpWxXHU+cSlztVLVz0tVN600fVsLxaVDknhYioeoXP3t4lqV1r79MAw0GCI1FTL1YIGzPL1MMlJ9ZsN9P7lvA2yr9ZFUzwzPrVgxN/x/SS+chwB4nGNgZGBgAOLPrYdY4vltvjJwM78AijDUqG5oRND/XzNPZboF5HIwMIFEAU/lC+J4nGNgZGBgDvqfBSRfMAAB81QGRgZUoA0AVvYDbwAAAHicY2BgYGB+MTQwAM8EJo8AAAAAAE4AmgDoAQoBLAFOAXABmgHEAe4CGgKcAugEmgS8BNYE8gUOBSoFegXQBf4GRAZmBrYHGAeQCBgIUghqCP4JRgm+CdoKBAo+CoQKugr0C1QLmgvAeJxjYGRgYNBmTGEQZQABJiDmAkIGhv9gPgMAGJQBvAB4nG2RPU7DMBiG3/QP0UoIBGJh8QILavozdmRo9w7d09RpUzlx5LgVvQMn4BAcgoEzcAgOwVvzSZVQbcnf48fvFysJgGt8IcJxROiG9TgauODuj5ukG+EW+UG4jR4ehTv0Q+EunjER7uEWmk+IWpc0d3gVbuAKb8JN+nfhFvlDuI17fAp36L+Fu1jgR7iHp+jF7Arbz1Nb1nO93pnEncSJFtrVuS3VKB6e5EyX2iVer9TyoOr9eux9pjJnCzW1pdfGWFU5u9WpjzfeV5PBIBMfp7aAwQ4FLPrIkbKWqDHn+67pDRK4s4lzbsEux5qHvcIIMb/nueSMyTKkE3jWFdNLHLjW2PPmMa1Hxn3GjGW/wjT0HtOG09JU4WxLk9LH2ISuiv9twJn9y8fh9uIXI+BknAAAAHicbY7ZboMwEEW5CVBCSLrv+76kfJRjTwHFsdGAG+Xvy5JUfehIHp0rnxmNN/D6ir3/a4YBhvARIMQOIowQY4wEE0yxiz3s4wCHOMIxTnCKM5zjApe4wjVucIs73OMBj3jCM17wije84wMzfHqJ0EVmUkmmJo77oOmrHvfIRZbXsTCZplTZldlgb3TYGVHProwFs11t1A57tcON2rErR3PBqcwF1/6ctI6k0GSU4JHMSS6WghdJQ99sTbfuN7QLJ9vQ37dNrgyktnIxlDYLJNuqitpRbYWKFNuyDT6pog6oOYKHtKakeakqKjHXpPwlGRcsC+OqxLIiJpXqoqqDMreG2l5bv9Ri3TRX+c23DZna9WFFgmXuO6Ps1Jm/w6ErW8N3FbHn/QC444j0AA==)
|
|
@@ -2344,7 +2344,7 @@ const Tn = P`
|
|
|
2344
2344
|
--lumo-icons-user: '\\ea2a';
|
|
2345
2345
|
}
|
|
2346
2346
|
`;
|
|
2347
|
-
tt("font-icons",
|
|
2347
|
+
tt("font-icons", Mn);
|
|
2348
2348
|
/**
|
|
2349
2349
|
* @license
|
|
2350
2350
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -2378,13 +2378,13 @@ const ps = P`
|
|
|
2378
2378
|
display: block;
|
|
2379
2379
|
}
|
|
2380
2380
|
`;
|
|
2381
|
-
|
|
2381
|
+
L("", ps, { moduleId: "lumo-field-button" });
|
|
2382
2382
|
/**
|
|
2383
2383
|
* @license
|
|
2384
2384
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2385
2385
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2386
2386
|
*/
|
|
2387
|
-
const
|
|
2387
|
+
const On = P`
|
|
2388
2388
|
:host {
|
|
2389
2389
|
--_helper-spacing: var(--vaadin-input-field-helper-spacing, 0.4em);
|
|
2390
2390
|
}
|
|
@@ -2559,13 +2559,13 @@ const fs = P`
|
|
|
2559
2559
|
margin-right: calc(var(--lumo-border-radius-m) / 4);
|
|
2560
2560
|
}
|
|
2561
2561
|
`;
|
|
2562
|
-
|
|
2562
|
+
L("", fs, { moduleId: "lumo-required-field" });
|
|
2563
2563
|
/**
|
|
2564
2564
|
* @license
|
|
2565
2565
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2566
2566
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2567
2567
|
*/
|
|
2568
|
-
const
|
|
2568
|
+
const In = P`
|
|
2569
2569
|
:host {
|
|
2570
2570
|
--lumo-text-field-size: var(--lumo-size-m);
|
|
2571
2571
|
color: var(--vaadin-input-field-value-color, var(--lumo-body-text-color));
|
|
@@ -2696,11 +2696,11 @@ const On = P`
|
|
|
2696
2696
|
[part='clear-button']::before {
|
|
2697
2697
|
content: var(--lumo-icons-cross);
|
|
2698
2698
|
}
|
|
2699
|
-
`, ms = [fs, ps,
|
|
2700
|
-
|
|
2699
|
+
`, ms = [fs, ps, On, In];
|
|
2700
|
+
L("", ms, {
|
|
2701
2701
|
moduleId: "lumo-input-field-shared-styles"
|
|
2702
2702
|
});
|
|
2703
|
-
const
|
|
2703
|
+
const Nn = P`
|
|
2704
2704
|
[part='toggle-button']::before {
|
|
2705
2705
|
content: var(--lumo-icons-calendar);
|
|
2706
2706
|
}
|
|
@@ -2723,7 +2723,7 @@ const In = P`
|
|
|
2723
2723
|
--_lumo-text-field-overflow-mask-image: none;
|
|
2724
2724
|
}
|
|
2725
2725
|
`;
|
|
2726
|
-
|
|
2726
|
+
L("vaadin-date-picker", [ms, Nn], { 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
|
|
2748
|
+
let zn = /(url\()([^)]*)(\))/g, Fn = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, Et, ce;
|
|
2749
2749
|
function ut(o, t) {
|
|
2750
|
-
if (o &&
|
|
2750
|
+
if (o && Fn.test(o) || o === "//")
|
|
2751
2751
|
return o;
|
|
2752
2752
|
if (Et === void 0) {
|
|
2753
2753
|
Et = !1;
|
|
@@ -2763,10 +2763,10 @@ function ut(o, t) {
|
|
|
2763
2763
|
} catch {
|
|
2764
2764
|
return o;
|
|
2765
2765
|
}
|
|
2766
|
-
return
|
|
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(
|
|
2769
|
+
return o.replace(zn, function(e, i, s, r) {
|
|
2770
2770
|
return i + "'" + ut(s.replace(/["']/g, ""), t) + "'" + r;
|
|
2771
2771
|
});
|
|
2772
2772
|
}
|
|
@@ -2784,7 +2784,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
2784
2784
|
*/
|
|
2785
2785
|
const _s = !window.ShadyDOM || !window.ShadyDOM.inUse;
|
|
2786
2786
|
!window.ShadyCSS || window.ShadyCSS.nativeCss;
|
|
2787
|
-
const
|
|
2787
|
+
const Ln = _s && "adoptedStyleSheets" in Document.prototype && "replaceSync" in CSSStyleSheet.prototype && // Since spec may change, feature detect exact API we need
|
|
2788
2788
|
(() => {
|
|
2789
2789
|
try {
|
|
2790
2790
|
const o = new CSSStyleSheet();
|
|
@@ -2795,11 +2795,11 @@ const Fn = _s && "adoptedStyleSheets" in Document.prototype && "replaceSync" in
|
|
|
2795
2795
|
return !1;
|
|
2796
2796
|
}
|
|
2797
2797
|
})();
|
|
2798
|
-
let
|
|
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 Nt = window.Polymer && window.Polymer.strictTemplatePolicy || !1,
|
|
2800
|
+
let Nt = 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
|
-
let
|
|
2802
|
+
let jn = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
|
|
2803
2803
|
/**
|
|
2804
2804
|
@license
|
|
2805
2805
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -2809,14 +2809,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2809
2809
|
Code distributed by Google as part of the polymer project is also
|
|
2810
2810
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2811
2811
|
*/
|
|
2812
|
-
let
|
|
2813
|
-
const
|
|
2812
|
+
let Vn = 0;
|
|
2813
|
+
const U = function(o) {
|
|
2814
2814
|
let t = (
|
|
2815
2815
|
/** @type {!MixinFunction} */
|
|
2816
2816
|
o.__mixinApplications
|
|
2817
2817
|
);
|
|
2818
2818
|
t || (t = /* @__PURE__ */ new WeakMap(), o.__mixinApplications = t);
|
|
2819
|
-
let e =
|
|
2819
|
+
let e = Vn++;
|
|
2820
2820
|
function i(s) {
|
|
2821
2821
|
let r = (
|
|
2822
2822
|
/** @type {!MixinFunction} */
|
|
@@ -2854,7 +2854,7 @@ function vo(o, t) {
|
|
|
2854
2854
|
function yo(o) {
|
|
2855
2855
|
return $i[o] || vs[o.toLowerCase()];
|
|
2856
2856
|
}
|
|
2857
|
-
function
|
|
2857
|
+
function Un(o) {
|
|
2858
2858
|
o.querySelector("style") && console.warn("dom-module %s has style outside template", o.id);
|
|
2859
2859
|
}
|
|
2860
2860
|
class mt extends HTMLElement {
|
|
@@ -2925,7 +2925,7 @@ class mt extends HTMLElement {
|
|
|
2925
2925
|
if (t = t || this.id, t) {
|
|
2926
2926
|
if (Nt && yo(t) !== void 0)
|
|
2927
2927
|
throw vo(t, null), new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);
|
|
2928
|
-
this.id = t, vo(t, this),
|
|
2928
|
+
this.id = t, vo(t, this), Un(this);
|
|
2929
2929
|
}
|
|
2930
2930
|
}
|
|
2931
2931
|
}
|
|
@@ -2940,7 +2940,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2940
2940
|
Code distributed by Google as part of the polymer project is also
|
|
2941
2941
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2942
2942
|
*/
|
|
2943
|
-
const
|
|
2943
|
+
const Wn = "link[rel=import][type~=css]", qn = "include", xo = "shady-unscoped";
|
|
2944
2944
|
function ys(o) {
|
|
2945
2945
|
return (
|
|
2946
2946
|
/** @type {?DomModule} */
|
|
@@ -2955,13 +2955,13 @@ function wo(o) {
|
|
|
2955
2955
|
), i = document.createElement("style");
|
|
2956
2956
|
return i.textContent = e, i;
|
|
2957
2957
|
}
|
|
2958
|
-
function
|
|
2958
|
+
function Kn(o) {
|
|
2959
2959
|
const t = o.trim().split(/\s+/), e = [];
|
|
2960
2960
|
for (let i = 0; i < t.length; i++)
|
|
2961
|
-
e.push(...
|
|
2961
|
+
e.push(...Gn(t[i]));
|
|
2962
2962
|
return e;
|
|
2963
2963
|
}
|
|
2964
|
-
function
|
|
2964
|
+
function Gn(o) {
|
|
2965
2965
|
const t = ys(o);
|
|
2966
2966
|
if (!t)
|
|
2967
2967
|
return console.warn("Could not find style data in module named", o), [];
|
|
@@ -2984,8 +2984,8 @@ function xs(o, t) {
|
|
|
2984
2984
|
if (!o._styles) {
|
|
2985
2985
|
const e = [], i = o.content.querySelectorAll("style");
|
|
2986
2986
|
for (let s = 0; s < i.length; s++) {
|
|
2987
|
-
let r = i[s], n = r.getAttribute(
|
|
2988
|
-
n && e.push(...
|
|
2987
|
+
let r = i[s], n = r.getAttribute(qn);
|
|
2988
|
+
n && e.push(...Kn(n).filter(function(a, l, c) {
|
|
2989
2989
|
return c.indexOf(a) === l;
|
|
2990
2990
|
})), t && (r.textContent = Bi(
|
|
2991
2991
|
r.textContent,
|
|
@@ -2997,12 +2997,12 @@ function xs(o, t) {
|
|
|
2997
2997
|
}
|
|
2998
2998
|
return o._styles;
|
|
2999
2999
|
}
|
|
3000
|
-
function
|
|
3000
|
+
function Jn(o) {
|
|
3001
3001
|
let t = ys(o);
|
|
3002
3002
|
return t ? ws(t) : [];
|
|
3003
3003
|
}
|
|
3004
3004
|
function ws(o) {
|
|
3005
|
-
const t = [], e = o.querySelectorAll(
|
|
3005
|
+
const t = [], e = o.querySelectorAll(Wn);
|
|
3006
3006
|
for (let i = 0; i < e.length; i++) {
|
|
3007
3007
|
let s = e[i];
|
|
3008
3008
|
if (s.import) {
|
|
@@ -3052,7 +3052,7 @@ function _t(o, t) {
|
|
|
3052
3052
|
function gt(o, t, e) {
|
|
3053
3053
|
return t + e.slice(o.length);
|
|
3054
3054
|
}
|
|
3055
|
-
function
|
|
3055
|
+
function Xn(o, t) {
|
|
3056
3056
|
return o === t || Es(o, t) || _t(o, t);
|
|
3057
3057
|
}
|
|
3058
3058
|
function lt(o) {
|
|
@@ -3070,7 +3070,7 @@ function lt(o) {
|
|
|
3070
3070
|
function Ss(o) {
|
|
3071
3071
|
return Array.isArray(o) ? lt(o).split(".") : o.toString().split(".");
|
|
3072
3072
|
}
|
|
3073
|
-
function
|
|
3073
|
+
function ne(o, t, e) {
|
|
3074
3074
|
let i = o, s = Ss(t);
|
|
3075
3075
|
for (let r = 0; r < s.length; r++) {
|
|
3076
3076
|
if (!i)
|
|
@@ -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 zt = {},
|
|
3105
|
+
const zt = {}, Zn = /-[a-z]/g, Qn = /([A-Z])/g;
|
|
3106
3106
|
function Cs(o) {
|
|
3107
3107
|
return zt[o] || (zt[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 zt[o] || (zt[o] = o.replace(
|
|
3113
|
+
return zt[o] || (zt[o] = o.replace(Qn, "-$1").toLowerCase());
|
|
3114
3114
|
}
|
|
3115
3115
|
/**
|
|
3116
3116
|
@license
|
|
@@ -3121,9 +3121,9 @@ 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
|
|
3125
|
-
new window.MutationObserver(
|
|
3126
|
-
function
|
|
3124
|
+
let ea = 0, As = 0, Ke = [], ta = 0, fi = !1, Ps = document.createTextNode("");
|
|
3125
|
+
new window.MutationObserver(ia).observe(Ps, { characterData: !0 });
|
|
3126
|
+
function ia() {
|
|
3127
3127
|
fi = !1;
|
|
3128
3128
|
const o = Ke.length;
|
|
3129
3129
|
for (let t = 0; t < o; t++) {
|
|
@@ -3139,7 +3139,7 @@ function ta() {
|
|
|
3139
3139
|
}
|
|
3140
3140
|
Ke.splice(0, o), As += o;
|
|
3141
3141
|
}
|
|
3142
|
-
const
|
|
3142
|
+
const oa = {
|
|
3143
3143
|
/**
|
|
3144
3144
|
* Returns a sub-module with the async interface providing the provided
|
|
3145
3145
|
* delay.
|
|
@@ -3188,7 +3188,7 @@ const ia = {
|
|
|
3188
3188
|
* @return {number} Handle used for canceling task
|
|
3189
3189
|
*/
|
|
3190
3190
|
run(o) {
|
|
3191
|
-
return fi || (fi = !0, Ps.textContent =
|
|
3191
|
+
return fi || (fi = !0, Ps.textContent = ta++), Ke.push(o), ea++;
|
|
3192
3192
|
},
|
|
3193
3193
|
/**
|
|
3194
3194
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -3215,7 +3215,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3215
3215
|
Code distributed by Google as part of the polymer project is also
|
|
3216
3216
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3217
3217
|
*/
|
|
3218
|
-
const
|
|
3218
|
+
const sa = ks, Ds = U(
|
|
3219
3219
|
/**
|
|
3220
3220
|
* @template T
|
|
3221
3221
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -3424,7 +3424,7 @@ const oa = ks, Ds = V(
|
|
|
3424
3424
|
* @override
|
|
3425
3425
|
*/
|
|
3426
3426
|
_invalidateProperties() {
|
|
3427
|
-
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0,
|
|
3427
|
+
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0, sa.run(() => {
|
|
3428
3428
|
this.__dataInvalid && (this.__dataInvalid = !1, this._flushProperties());
|
|
3429
3429
|
}));
|
|
3430
3430
|
}
|
|
@@ -3659,14 +3659,14 @@ for (; St; ) {
|
|
|
3659
3659
|
Ts[o[t]] = !0;
|
|
3660
3660
|
St = Object.getPrototypeOf(St);
|
|
3661
3661
|
}
|
|
3662
|
-
const
|
|
3663
|
-
function
|
|
3662
|
+
const ra = window.trustedTypes ? (o) => trustedTypes.isHTML(o) || trustedTypes.isScript(o) || trustedTypes.isScriptURL(o) : () => !1;
|
|
3663
|
+
function na(o, t) {
|
|
3664
3664
|
if (!Ts[t]) {
|
|
3665
3665
|
let e = o[t];
|
|
3666
3666
|
e !== void 0 && (o.__data ? o._setPendingProperty(t, e) : (o.__dataProto ? o.hasOwnProperty(JSCompiler_renameProperty("__dataProto", o)) || (o.__dataProto = Object.create(o.__dataProto)) : o.__dataProto = {}, o.__dataProto[t] = e));
|
|
3667
3667
|
}
|
|
3668
3668
|
}
|
|
3669
|
-
const
|
|
3669
|
+
const aa = U((o) => {
|
|
3670
3670
|
const t = Ds(o);
|
|
3671
3671
|
class e extends t {
|
|
3672
3672
|
/**
|
|
@@ -3762,7 +3762,7 @@ const na = V((o) => {
|
|
|
3762
3762
|
if (s instanceof Date)
|
|
3763
3763
|
return s.toString();
|
|
3764
3764
|
if (s) {
|
|
3765
|
-
if (
|
|
3765
|
+
if (ra(s))
|
|
3766
3766
|
return (
|
|
3767
3767
|
/** @type {?} */
|
|
3768
3768
|
s
|
|
@@ -3843,7 +3843,7 @@ const na = V((o) => {
|
|
|
3843
3843
|
* @override
|
|
3844
3844
|
*/
|
|
3845
3845
|
_definePropertyAccessor(s, r) {
|
|
3846
|
-
|
|
3846
|
+
na(this, s), super._definePropertyAccessor(s, r);
|
|
3847
3847
|
}
|
|
3848
3848
|
/**
|
|
3849
3849
|
* Returns true if this library created an accessor for the given property.
|
|
@@ -3878,12 +3878,12 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3878
3878
|
Code distributed by Google as part of the polymer project is also
|
|
3879
3879
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3880
3880
|
*/
|
|
3881
|
-
const
|
|
3881
|
+
const la = {
|
|
3882
3882
|
"dom-if": !0,
|
|
3883
3883
|
"dom-repeat": !0
|
|
3884
3884
|
};
|
|
3885
3885
|
let So = !1, Co = !1;
|
|
3886
|
-
function
|
|
3886
|
+
function ca() {
|
|
3887
3887
|
if (!So) {
|
|
3888
3888
|
So = !0;
|
|
3889
3889
|
const o = document.createElement("textarea");
|
|
@@ -3891,10 +3891,10 @@ function la() {
|
|
|
3891
3891
|
}
|
|
3892
3892
|
return Co;
|
|
3893
3893
|
}
|
|
3894
|
-
function
|
|
3895
|
-
|
|
3894
|
+
function da(o) {
|
|
3895
|
+
ca() && o.localName === "textarea" && o.placeholder && o.placeholder === o.textContent && (o.textContent = null);
|
|
3896
3896
|
}
|
|
3897
|
-
const
|
|
3897
|
+
const ua = (() => {
|
|
3898
3898
|
const o = window.trustedTypes && window.trustedTypes.createPolicy(
|
|
3899
3899
|
"polymer-template-event-attribute-policy",
|
|
3900
3900
|
{
|
|
@@ -3913,13 +3913,13 @@ const da = (() => {
|
|
|
3913
3913
|
t.setAttribute(i, s);
|
|
3914
3914
|
};
|
|
3915
3915
|
})();
|
|
3916
|
-
function
|
|
3916
|
+
function ha(o) {
|
|
3917
3917
|
let t = o.getAttribute("is");
|
|
3918
|
-
if (t &&
|
|
3918
|
+
if (t && la[t]) {
|
|
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
|
+
ua(o, e, i), e.removeAttribute(i);
|
|
3923
3923
|
}
|
|
3924
3924
|
}
|
|
3925
3925
|
return o;
|
|
@@ -3933,23 +3933,23 @@ function Ms(o, t) {
|
|
|
3933
3933
|
} else
|
|
3934
3934
|
return o;
|
|
3935
3935
|
}
|
|
3936
|
-
function
|
|
3936
|
+
function pa(o, t, e, i) {
|
|
3937
3937
|
i.id && (t[i.id] = e);
|
|
3938
3938
|
}
|
|
3939
|
-
function
|
|
3939
|
+
function fa(o, t, e) {
|
|
3940
3940
|
if (e.events && e.events.length)
|
|
3941
3941
|
for (let i = 0, s = e.events, r; i < s.length && (r = s[i]); i++)
|
|
3942
3942
|
o._addMethodEventListenerToNode(t, r.name, r.value, o);
|
|
3943
3943
|
}
|
|
3944
|
-
function
|
|
3944
|
+
function ma(o, t, e, i) {
|
|
3945
3945
|
e.templateInfo && (t._templateInfo = e.templateInfo, t._parentTemplateInfo = i);
|
|
3946
3946
|
}
|
|
3947
|
-
function
|
|
3947
|
+
function _a(o, t, e) {
|
|
3948
3948
|
return o = o._methodHost || o, function(s) {
|
|
3949
3949
|
o[e] ? o[e](s, s.detail) : console.warn("listener method `" + e + "` not defined");
|
|
3950
3950
|
};
|
|
3951
3951
|
}
|
|
3952
|
-
const
|
|
3952
|
+
const ga = U(
|
|
3953
3953
|
/**
|
|
3954
3954
|
* @template T
|
|
3955
3955
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -4076,7 +4076,7 @@ const _a = V(
|
|
|
4076
4076
|
/** @type {!HTMLTemplateElement} */
|
|
4077
4077
|
i
|
|
4078
4078
|
);
|
|
4079
|
-
return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, s, r) || n : a.localName === "slot" && (s.hasInsertionPoint = !0),
|
|
4079
|
+
return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, s, r) || n : a.localName === "slot" && (s.hasInsertionPoint = !0), da(a), a.firstChild && this._parseTemplateChildNodes(a, s, r), a.hasAttributes && a.hasAttributes() && (n = this._parseTemplateNodeAttributes(a, s, r) || n), n || r.noted;
|
|
4080
4080
|
}
|
|
4081
4081
|
/**
|
|
4082
4082
|
* Parses template child nodes for the given root node.
|
|
@@ -4094,7 +4094,7 @@ const _a = V(
|
|
|
4094
4094
|
static _parseTemplateChildNodes(i, s, r) {
|
|
4095
4095
|
if (!(i.localName === "script" || i.localName === "style"))
|
|
4096
4096
|
for (let n = i.firstChild, a = 0, l; n; n = l) {
|
|
4097
|
-
if (n.localName == "template" && (n =
|
|
4097
|
+
if (n.localName == "template" && (n = ha(n)), l = n.nextSibling, n.nodeType === Node.TEXT_NODE) {
|
|
4098
4098
|
let d = l;
|
|
4099
4099
|
for (; d && d.nodeType === Node.TEXT_NODE; )
|
|
4100
4100
|
n.textContent += d.textContent, l = d.nextSibling, i.removeChild(d), d = l;
|
|
@@ -4230,7 +4230,7 @@ const _a = V(
|
|
|
4230
4230
|
a.$ = {};
|
|
4231
4231
|
for (let c = 0, d = r.length, u; c < d && (u = r[c]); c++) {
|
|
4232
4232
|
let h = l[c] = Ms(a, u);
|
|
4233
|
-
|
|
4233
|
+
pa(this, a.$, h, u), ma(this, h, u, s), fa(this, h, u);
|
|
4234
4234
|
}
|
|
4235
4235
|
return a = /** @type {!StampedTemplate} */
|
|
4236
4236
|
a, a;
|
|
@@ -4251,7 +4251,7 @@ const _a = V(
|
|
|
4251
4251
|
*/
|
|
4252
4252
|
_addMethodEventListenerToNode(i, s, r, n) {
|
|
4253
4253
|
n = n || i;
|
|
4254
|
-
let a =
|
|
4254
|
+
let a = _a(n, s, r);
|
|
4255
4255
|
return this._addEventListenerToNode(i, s, a), a;
|
|
4256
4256
|
}
|
|
4257
4257
|
/**
|
|
@@ -4301,7 +4301,7 @@ const vt = [], k = {
|
|
|
4301
4301
|
PROPAGATE: "__propagateEffects",
|
|
4302
4302
|
OBSERVE: "__observeEffects",
|
|
4303
4303
|
READ_ONLY: "__readOnly"
|
|
4304
|
-
}, Os = "__computeInfo",
|
|
4304
|
+
}, Os = "__computeInfo", ba = /[A-Z]/;
|
|
4305
4305
|
function Kt(o, t, e) {
|
|
4306
4306
|
let i = o[t];
|
|
4307
4307
|
if (!i)
|
|
@@ -4328,7 +4328,7 @@ function ct(o, t, e, i, s, r) {
|
|
|
4328
4328
|
}
|
|
4329
4329
|
return !1;
|
|
4330
4330
|
}
|
|
4331
|
-
function
|
|
4331
|
+
function va(o, t, e, i, s, r, n, a) {
|
|
4332
4332
|
let l = !1, c = n ? Ye(i) : i, d = t[c];
|
|
4333
4333
|
if (d)
|
|
4334
4334
|
for (let u = 0, h = d.length, m; u < h && (m = d[u]); u++)
|
|
@@ -4349,14 +4349,14 @@ function Ao(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
|
}
|
|
4352
|
-
function
|
|
4352
|
+
function ya(o, t, e, i, s) {
|
|
4353
4353
|
let r = o[k.NOTIFY], n, a = bt++;
|
|
4354
4354
|
for (let c in t)
|
|
4355
|
-
t[c] && (r &&
|
|
4355
|
+
t[c] && (r && va(o, r, a, c, e, i, s) || s && xa(o, c, e)) && (n = !0);
|
|
4356
4356
|
let l;
|
|
4357
4357
|
n && (l = o.__dataHost) && l._invalidateProperties && l._invalidateProperties();
|
|
4358
4358
|
}
|
|
4359
|
-
function
|
|
4359
|
+
function xa(o, t, e) {
|
|
4360
4360
|
let i = Ye(t);
|
|
4361
4361
|
if (i !== t) {
|
|
4362
4362
|
let s = $t(i) + "-changed";
|
|
@@ -4374,18 +4374,18 @@ function Is(o, t, e, i) {
|
|
|
4374
4374
|
o
|
|
4375
4375
|
).dispatchEvent(new CustomEvent(t, { detail: s }));
|
|
4376
4376
|
}
|
|
4377
|
-
function
|
|
4378
|
-
let a = (r ? Ye(t) : t) != t ? t : null, l = a ?
|
|
4377
|
+
function wa(o, t, e, i, s, r) {
|
|
4378
|
+
let a = (r ? Ye(t) : t) != t ? t : null, l = a ? ne(o, a) : o.__data[t];
|
|
4379
4379
|
a && l === void 0 && (l = e[t]), Is(o, s.eventName, l, a);
|
|
4380
4380
|
}
|
|
4381
|
-
function
|
|
4381
|
+
function Ea(o, t, e, i, s) {
|
|
4382
4382
|
let r, n = (
|
|
4383
4383
|
/** @type {Object} */
|
|
4384
4384
|
o.detail
|
|
4385
4385
|
), a = n && n.path;
|
|
4386
4386
|
a ? (i = gt(e, i, a), r = n && n.value) : r = o.currentTarget[e], r = s ? !r : r, (!t[k.READ_ONLY] || !t[k.READ_ONLY][i]) && t._setPendingPropertyOrPath(i, r, !0, !!a) && (!n || !n.queueProperty) && t._invalidateProperties();
|
|
4387
4387
|
}
|
|
4388
|
-
function
|
|
4388
|
+
function Sa(o, t, e, i, s) {
|
|
4389
4389
|
let r = o.__data[t];
|
|
4390
4390
|
It && (r = It(
|
|
4391
4391
|
r,
|
|
@@ -4395,12 +4395,12 @@ function Ea(o, t, e, i, s) {
|
|
|
4395
4395
|
o
|
|
4396
4396
|
)), o._propertyToAttribute(t, s.attrName, r);
|
|
4397
4397
|
}
|
|
4398
|
-
function
|
|
4398
|
+
function Ca(o, t, e, i) {
|
|
4399
4399
|
let s = o[k.COMPUTE];
|
|
4400
4400
|
if (s)
|
|
4401
|
-
if (
|
|
4401
|
+
if ($n) {
|
|
4402
4402
|
bt++;
|
|
4403
|
-
const r =
|
|
4403
|
+
const r = Pa(o), n = [];
|
|
4404
4404
|
for (let l in t)
|
|
4405
4405
|
Po(l, s, n, r, i);
|
|
4406
4406
|
let a;
|
|
@@ -4429,7 +4429,7 @@ function Sa(o, t, e, i) {
|
|
|
4429
4429
|
), r = o.__dataPending, o.__dataPending = null;
|
|
4430
4430
|
}
|
|
4431
4431
|
}
|
|
4432
|
-
const
|
|
4432
|
+
const Aa = (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,15 +4448,15 @@ const Ca = (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, Aa(l.info, e, i));
|
|
4452
4452
|
}
|
|
4453
4453
|
};
|
|
4454
|
-
function
|
|
4454
|
+
function Pa(o) {
|
|
4455
4455
|
let t = o.constructor.__orderedComputedDeps;
|
|
4456
4456
|
if (!t) {
|
|
4457
4457
|
t = /* @__PURE__ */ new Map();
|
|
4458
4458
|
const e = o[k.COMPUTE];
|
|
4459
|
-
let { counts: i, ready: s, total: r } =
|
|
4459
|
+
let { counts: i, ready: s, total: r } = ka(o), n;
|
|
4460
4460
|
for (; n = s.shift(); ) {
|
|
4461
4461
|
t.set(n, t.size);
|
|
4462
4462
|
const a = e[n];
|
|
@@ -4470,7 +4470,7 @@ function Aa(o) {
|
|
|
4470
4470
|
}
|
|
4471
4471
|
return t;
|
|
4472
4472
|
}
|
|
4473
|
-
function
|
|
4473
|
+
function ka(o) {
|
|
4474
4474
|
const t = o[Os], e = {}, i = o[k.COMPUTE], s = [];
|
|
4475
4475
|
let r = 0;
|
|
4476
4476
|
for (let n in t) {
|
|
@@ -4488,7 +4488,7 @@ function Ns(o, t, e, i, s) {
|
|
|
4488
4488
|
let n = s.methodInfo;
|
|
4489
4489
|
return o.__dataHasAccessor && o.__dataHasAccessor[n] ? o._setPendingProperty(n, r, !0) : (o[n] = r, !1);
|
|
4490
4490
|
}
|
|
4491
|
-
function
|
|
4491
|
+
function Da(o, t, e) {
|
|
4492
4492
|
let i = o.__dataLinkedPaths;
|
|
4493
4493
|
if (i) {
|
|
4494
4494
|
let s;
|
|
@@ -4501,17 +4501,17 @@ function ka(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),
|
|
4504
|
+
if (e.bindings.push(a), Na(a)) {
|
|
4505
4505
|
let { event: c, negate: d } = a.parts[0];
|
|
4506
4506
|
a.listenerEvent = c || $t(s) + "-changed", a.listenerNegate = d;
|
|
4507
4507
|
}
|
|
4508
4508
|
let l = t.nodeInfoList.length;
|
|
4509
4509
|
for (let c = 0; c < a.parts.length; c++) {
|
|
4510
4510
|
let d = a.parts[c];
|
|
4511
|
-
d.compoundIndex = c,
|
|
4511
|
+
d.compoundIndex = c, Ta(o, t, a, d, l);
|
|
4512
4512
|
}
|
|
4513
4513
|
}
|
|
4514
|
-
function
|
|
4514
|
+
function Ta(o, t, e, i, s) {
|
|
4515
4515
|
if (!i.literal)
|
|
4516
4516
|
if (e.kind === "attribute" && e.target[0] === "-")
|
|
4517
4517
|
console.warn("Cannot set attribute " + e.target + ' because "-" is not a valid attribute starting character');
|
|
@@ -4520,25 +4520,25 @@ function Da(o, t, e, i, s) {
|
|
|
4520
4520
|
for (let a = 0; a < r.length; a++) {
|
|
4521
4521
|
let l = r[a];
|
|
4522
4522
|
typeof l == "string" && (l = Fs(l), l.wildcard = !0), o._addTemplatePropertyEffect(t, l.rootProperty, {
|
|
4523
|
-
fn:
|
|
4523
|
+
fn: Ma,
|
|
4524
4524
|
info: n,
|
|
4525
4525
|
trigger: l
|
|
4526
4526
|
});
|
|
4527
4527
|
}
|
|
4528
4528
|
}
|
|
4529
4529
|
}
|
|
4530
|
-
function
|
|
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
4533
|
let d = e[t];
|
|
4534
4534
|
t = gt(c.source, l.target, t), a._setPendingPropertyOrPath(t, d, !1, !0) && o._enqueueClient(a);
|
|
4535
4535
|
} else {
|
|
4536
4536
|
let d = s.evaluator._evaluateBinding(o, c, t, e, i, r);
|
|
4537
|
-
d !== vt &&
|
|
4537
|
+
d !== vt && Oa(o, a, l, c, d);
|
|
4538
4538
|
}
|
|
4539
4539
|
}
|
|
4540
|
-
function
|
|
4541
|
-
if (s =
|
|
4540
|
+
function Oa(o, t, e, i, s) {
|
|
4541
|
+
if (s = Ia(t, s, e, i), It && (s = It(s, e.target, e.kind, t)), e.kind == "attribute")
|
|
4542
4542
|
o._valueToNodeAttribute(
|
|
4543
4543
|
/** @type {Element} */
|
|
4544
4544
|
t,
|
|
@@ -4550,17 +4550,17 @@ function Ma(o, t, e, i, s) {
|
|
|
4550
4550
|
t.__isPropertyEffectsClient && t.__dataHasAccessor && t.__dataHasAccessor[r] ? (!t[k.READ_ONLY] || !t[k.READ_ONLY][r]) && t._setPendingProperty(r, s) && o._enqueueClient(t) : o._setUnmanagedPropertyToNode(t, r, s);
|
|
4551
4551
|
}
|
|
4552
4552
|
}
|
|
4553
|
-
function
|
|
4553
|
+
function Ia(o, t, e, i) {
|
|
4554
4554
|
if (e.isCompound) {
|
|
4555
4555
|
let s = o.__dataCompoundStorage[e.target];
|
|
4556
4556
|
s[i.compoundIndex] = t, t = s.join("");
|
|
4557
4557
|
}
|
|
4558
4558
|
return e.kind !== "attribute" && (e.target === "textContent" || e.target === "value" && (o.localName === "input" || o.localName === "textarea")) && (t = t ?? ""), t;
|
|
4559
4559
|
}
|
|
4560
|
-
function
|
|
4560
|
+
function Na(o) {
|
|
4561
4561
|
return !!o.target && o.kind != "attribute" && o.kind != "text" && !o.isCompound && o.parts[0].mode === "{";
|
|
4562
4562
|
}
|
|
4563
|
-
function
|
|
4563
|
+
function za(o, t) {
|
|
4564
4564
|
let { nodeList: e, nodeInfoList: i } = t;
|
|
4565
4565
|
if (i.length)
|
|
4566
4566
|
for (let s = 0; s < i.length; s++) {
|
|
@@ -4568,12 +4568,12 @@ function Na(o, t) {
|
|
|
4568
4568
|
if (a)
|
|
4569
4569
|
for (let l = 0; l < a.length; l++) {
|
|
4570
4570
|
let c = a[l];
|
|
4571
|
-
|
|
4571
|
+
Fa(n, c), La(n, o, c);
|
|
4572
4572
|
}
|
|
4573
4573
|
n.__dataHost = o;
|
|
4574
4574
|
}
|
|
4575
4575
|
}
|
|
4576
|
-
function
|
|
4576
|
+
function Fa(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++)
|
|
@@ -4582,11 +4582,11 @@ function za(o, t) {
|
|
|
4582
4582
|
e[r] = s, t.literal && t.kind == "property" && (r === "className" && (o = K(o)), o[r] = t.literal);
|
|
4583
4583
|
}
|
|
4584
4584
|
}
|
|
4585
|
-
function
|
|
4585
|
+
function La(o, t, e) {
|
|
4586
4586
|
if (e.listenerEvent) {
|
|
4587
4587
|
let i = e.parts[0];
|
|
4588
4588
|
o.addEventListener(e.listenerEvent, function(s) {
|
|
4589
|
-
|
|
4589
|
+
Ea(s, t, e.target, i.source, i.negate);
|
|
4590
4590
|
});
|
|
4591
4591
|
}
|
|
4592
4592
|
}
|
|
@@ -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
|
|
4620
|
+
const Ra = [], zs = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", Ba = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", Ha = "(?:'(?:[^'\\\\]|\\\\.)*')", $a = '(?:"(?:[^"\\\\]|\\\\.)*")', Ya = "(?:" + Ha + "|" + $a + ")", Do = "(?:(" + zs + "|" + Ba + "|" + Ya + ")\\s*)", ja = "(?:" + Do + "(?:,\\s*" + Do + ")*)", Va = "(?:\\(\\s*(?:" + ja + "?)\\)\\s*)", Ua = "(" + zs + "\\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++) {
|
|
@@ -4629,16 +4629,16 @@ function Mo(o) {
|
|
|
4629
4629
|
function Jt(o) {
|
|
4630
4630
|
let t = o.match(/([^\s]+?)\(([\s\S]*)\)/);
|
|
4631
4631
|
if (t) {
|
|
4632
|
-
let i = { methodName: t[1], static: !0, args:
|
|
4632
|
+
let i = { methodName: t[1], static: !0, args: Ra };
|
|
4633
4633
|
if (t[2].trim()) {
|
|
4634
4634
|
let s = t[2].replace(/\\,/g, ",").split(",");
|
|
4635
|
-
return
|
|
4635
|
+
return Ja(s, i);
|
|
4636
4636
|
} else
|
|
4637
4637
|
return i;
|
|
4638
4638
|
}
|
|
4639
4639
|
return null;
|
|
4640
4640
|
}
|
|
4641
|
-
function
|
|
4641
|
+
function Ja(o, t) {
|
|
4642
4642
|
return t.args = o.map(function(e) {
|
|
4643
4643
|
let i = Fs(e);
|
|
4644
4644
|
return i.literal || (t.static = !1), i;
|
|
@@ -4662,7 +4662,7 @@ function Fs(o) {
|
|
|
4662
4662
|
return e.literal || (e.rootProperty = Ye(t), e.structured = pi(t), e.structured && (e.wildcard = t.slice(-2) == ".*", e.wildcard && (e.name = t.slice(0, -2)))), e;
|
|
4663
4663
|
}
|
|
4664
4664
|
function Oo(o, t, e) {
|
|
4665
|
-
let i =
|
|
4665
|
+
let i = ne(o, e);
|
|
4666
4666
|
return i === void 0 && (i = t[e]), i;
|
|
4667
4667
|
}
|
|
4668
4668
|
function Ls(o, t, e, i) {
|
|
@@ -4678,11 +4678,11 @@ function st(o, t, e, i, s, r) {
|
|
|
4678
4678
|
type: "splice"
|
|
4679
4679
|
}]);
|
|
4680
4680
|
}
|
|
4681
|
-
function
|
|
4681
|
+
function Xa(o) {
|
|
4682
4682
|
return o[0].toUpperCase() + o.substring(1);
|
|
4683
4683
|
}
|
|
4684
|
-
const ji =
|
|
4685
|
-
const t =
|
|
4684
|
+
const ji = U((o) => {
|
|
4685
|
+
const t = ga(aa(o));
|
|
4686
4686
|
class e extends t {
|
|
4687
4687
|
constructor() {
|
|
4688
4688
|
super(), this.__isPropertyEffectsClient = !0, this.__dataClientsReady, this.__dataPendingClients, this.__dataToNotify, this.__dataLinkedPaths, this.__dataHasPaths, this.__dataCompoundStorage, this.__dataHost, this.__dataTemp, this.__dataClientsInitialized, this.__data, this.__dataPending, this.__dataOld, this.__computeEffects, this.__computeInfo, this.__reflectEffects, this.__notifyEffects, this.__propagateEffects, this.__observeEffects, this.__readOnly, this.__templateInfo, this._overrideLegacyUndefined;
|
|
@@ -4859,7 +4859,7 @@ const ji = V((o) => {
|
|
|
4859
4859
|
_setPendingPropertyOrPath(s, r, n, a) {
|
|
4860
4860
|
if (a || Ye(Array.isArray(s) ? s[0] : s) !== s) {
|
|
4861
4861
|
if (!a) {
|
|
4862
|
-
let l =
|
|
4862
|
+
let l = ne(this, s);
|
|
4863
4863
|
if (s = /** @type {string} */
|
|
4864
4864
|
Eo(this, s, r), !s || !super._shouldPropertyChange(s, r, l))
|
|
4865
4865
|
return !1;
|
|
@@ -4870,7 +4870,7 @@ const ji = V((o) => {
|
|
|
4870
4870
|
r,
|
|
4871
4871
|
n
|
|
4872
4872
|
))
|
|
4873
|
-
return
|
|
4873
|
+
return Da(
|
|
4874
4874
|
this,
|
|
4875
4875
|
/**@type{string}*/
|
|
4876
4876
|
s,
|
|
@@ -5086,7 +5086,7 @@ const ji = V((o) => {
|
|
|
5086
5086
|
let a = this.__dataHasPaths;
|
|
5087
5087
|
this.__dataHasPaths = !1;
|
|
5088
5088
|
let l;
|
|
5089
|
-
|
|
5089
|
+
Ca(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(), 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
|
|
@@ -5181,7 +5181,7 @@ const ji = V((o) => {
|
|
|
5181
5181
|
notifySplices(s, r) {
|
|
5182
5182
|
let n = { path: "" }, a = (
|
|
5183
5183
|
/** @type {Array} */
|
|
5184
|
-
|
|
5184
|
+
ne(this, s, n)
|
|
5185
5185
|
);
|
|
5186
5186
|
Ls(this, a, n.path, r);
|
|
5187
5187
|
}
|
|
@@ -5206,7 +5206,7 @@ const ji = V((o) => {
|
|
|
5206
5206
|
* @public
|
|
5207
5207
|
*/
|
|
5208
5208
|
get(s, r) {
|
|
5209
|
-
return
|
|
5209
|
+
return ne(r || this, s);
|
|
5210
5210
|
}
|
|
5211
5211
|
/**
|
|
5212
5212
|
* Convenience method for setting a value to a path and notifying any
|
|
@@ -5254,7 +5254,7 @@ const ji = V((o) => {
|
|
|
5254
5254
|
push(s, ...r) {
|
|
5255
5255
|
let n = { path: "" }, a = (
|
|
5256
5256
|
/** @type {Array}*/
|
|
5257
|
-
|
|
5257
|
+
ne(this, s, n)
|
|
5258
5258
|
), l = a.length, c = a.push(...r);
|
|
5259
5259
|
return r.length && st(this, a, n.path, l, r.length, []), c;
|
|
5260
5260
|
}
|
|
@@ -5275,7 +5275,7 @@ const ji = V((o) => {
|
|
|
5275
5275
|
pop(s) {
|
|
5276
5276
|
let r = { path: "" }, n = (
|
|
5277
5277
|
/** @type {Array} */
|
|
5278
|
-
|
|
5278
|
+
ne(this, s, r)
|
|
5279
5279
|
), a = !!n.length, l = n.pop();
|
|
5280
5280
|
return a && st(this, n, r.path, n.length, 0, [l]), l;
|
|
5281
5281
|
}
|
|
@@ -5300,7 +5300,7 @@ const ji = V((o) => {
|
|
|
5300
5300
|
splice(s, r, n, ...a) {
|
|
5301
5301
|
let l = { path: "" }, c = (
|
|
5302
5302
|
/** @type {Array} */
|
|
5303
|
-
|
|
5303
|
+
ne(this, s, l)
|
|
5304
5304
|
);
|
|
5305
5305
|
r < 0 ? r = c.length - Math.floor(-r) : r && (r = Math.floor(r));
|
|
5306
5306
|
let d;
|
|
@@ -5323,7 +5323,7 @@ const ji = V((o) => {
|
|
|
5323
5323
|
shift(s) {
|
|
5324
5324
|
let r = { path: "" }, n = (
|
|
5325
5325
|
/** @type {Array} */
|
|
5326
|
-
|
|
5326
|
+
ne(this, s, r)
|
|
5327
5327
|
), a = !!n.length, l = n.shift();
|
|
5328
5328
|
return a && st(this, n, r.path, 0, 0, [l]), l;
|
|
5329
5329
|
}
|
|
@@ -5345,7 +5345,7 @@ const ji = V((o) => {
|
|
|
5345
5345
|
unshift(s, ...r) {
|
|
5346
5346
|
let n = { path: "" }, a = (
|
|
5347
5347
|
/** @type {Array} */
|
|
5348
|
-
|
|
5348
|
+
ne(this, s, n)
|
|
5349
5349
|
), l = a.unshift(...r);
|
|
5350
5350
|
return r.length && st(this, a, n.path, 0, r.length, []), l;
|
|
5351
5351
|
}
|
|
@@ -5367,7 +5367,7 @@ const ji = V((o) => {
|
|
|
5367
5367
|
let n;
|
|
5368
5368
|
if (arguments.length == 1) {
|
|
5369
5369
|
let a = { path: "" };
|
|
5370
|
-
r =
|
|
5370
|
+
r = ne(this, s, a), n = a.path;
|
|
5371
5371
|
} else
|
|
5372
5372
|
Array.isArray(s) ? n = lt(s) : n = /** @type{string} */
|
|
5373
5373
|
s;
|
|
@@ -5386,7 +5386,7 @@ const ji = V((o) => {
|
|
|
5386
5386
|
* @protected
|
|
5387
5387
|
*/
|
|
5388
5388
|
_createReadOnlyProperty(s, r) {
|
|
5389
|
-
this._addPropertyEffect(s, k.READ_ONLY), r && (this["_set" +
|
|
5389
|
+
this._addPropertyEffect(s, k.READ_ONLY), r && (this["_set" + Xa(s)] = /** @this {PropertyEffects} */
|
|
5390
5390
|
function(n) {
|
|
5391
5391
|
this._setProperty(s, n);
|
|
5392
5392
|
});
|
|
@@ -5452,7 +5452,7 @@ const ji = V((o) => {
|
|
|
5452
5452
|
*/
|
|
5453
5453
|
_createNotifyingProperty(s) {
|
|
5454
5454
|
this._addPropertyEffect(s, k.NOTIFY, {
|
|
5455
|
-
fn:
|
|
5455
|
+
fn: wa,
|
|
5456
5456
|
info: {
|
|
5457
5457
|
eventName: $t(s) + "-changed",
|
|
5458
5458
|
property: s
|
|
@@ -5473,7 +5473,7 @@ const ji = V((o) => {
|
|
|
5473
5473
|
_createReflectedProperty(s) {
|
|
5474
5474
|
let r = this.constructor.attributeNameForProperty(s);
|
|
5475
5475
|
r[0] === "-" ? console.warn("Property " + s + " cannot be reflected to attribute " + r + ' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.') : this._addPropertyEffect(s, k.REFLECT, {
|
|
5476
|
-
fn:
|
|
5476
|
+
fn: Sa,
|
|
5477
5477
|
info: {
|
|
5478
5478
|
attrName: r
|
|
5479
5479
|
}
|
|
@@ -5522,7 +5522,7 @@ const ji = V((o) => {
|
|
|
5522
5522
|
g = {
|
|
5523
5523
|
path: _ ? r : u,
|
|
5524
5524
|
value: y,
|
|
5525
|
-
base: _ ?
|
|
5525
|
+
base: _ ? ne(a, u) : y
|
|
5526
5526
|
};
|
|
5527
5527
|
} else
|
|
5528
5528
|
g = h ? Oo(a, n, u) : a[u];
|
|
@@ -5808,7 +5808,7 @@ const ji = V((o) => {
|
|
|
5808
5808
|
for (let l = n.firstChild; l; l = l.nextSibling)
|
|
5809
5809
|
a.push(l);
|
|
5810
5810
|
}
|
|
5811
|
-
return n.templateInfo = r,
|
|
5811
|
+
return n.templateInfo = r, za(this, r), this.__dataClientsReady && (this._runEffectsForTemplate(r, this.__data, null, !1), this._flushClients()), n;
|
|
5812
5812
|
}
|
|
5813
5813
|
/**
|
|
5814
5814
|
* Removes and unbinds the nodes previously contained in the provided
|
|
@@ -5882,7 +5882,7 @@ const ji = V((o) => {
|
|
|
5882
5882
|
let c = this._parseBindings(l, r);
|
|
5883
5883
|
if (c) {
|
|
5884
5884
|
let d = a, u = "property";
|
|
5885
|
-
|
|
5885
|
+
ba.test(a) ? u = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), u = "attribute");
|
|
5886
5886
|
let h = Mo(c);
|
|
5887
5887
|
return h && u == "attribute" && (a == "class" && s.hasAttribute("class") && (h += " " + s.getAttribute(a)), s.setAttribute(a, h)), u == "attribute" && d == "disable-upgrade$" && s.setAttribute(a, ""), s.localName === "input" && d === "value" && s.setAttribute(d, ""), s.removeAttribute(d), u === "property" && (a = Cs(a)), Gt(this, r, n, u, a, c, h), !0;
|
|
5888
5888
|
} else
|
|
@@ -5919,7 +5919,7 @@ const ji = V((o) => {
|
|
|
5919
5919
|
const l = s.parentNode, c = n.templateInfo, d = l.localName === "dom-if", u = l.localName === "dom-repeat";
|
|
5920
5920
|
go && (d || u) && (l.removeChild(s), n = n.parentInfo, n.templateInfo = c, n.noted = !0, a = !1);
|
|
5921
5921
|
let h = c.hostProps;
|
|
5922
|
-
if (
|
|
5922
|
+
if (Yn && d)
|
|
5923
5923
|
h && (r.hostProps = Object.assign(r.hostProps || {}, h), go || (n.parentInfo.noted = !0));
|
|
5924
5924
|
else {
|
|
5925
5925
|
let m = "{";
|
|
@@ -5985,8 +5985,8 @@ const ji = V((o) => {
|
|
|
5985
5985
|
if (p) {
|
|
5986
5986
|
let { args: y, methodName: v } = p;
|
|
5987
5987
|
for (let C = 0; C < y.length; C++) {
|
|
5988
|
-
let
|
|
5989
|
-
|
|
5988
|
+
let D = y[C];
|
|
5989
|
+
D.literal || _.push(D);
|
|
5990
5990
|
}
|
|
5991
5991
|
let A = r.dynamicFns;
|
|
5992
5992
|
(A && A[v] || p.static) && (_.push(v), p.dynamicFn = !0);
|
|
@@ -6027,7 +6027,7 @@ const ji = V((o) => {
|
|
|
6027
6027
|
*/
|
|
6028
6028
|
static _evaluateBinding(s, r, n, a, l, c) {
|
|
6029
6029
|
let d;
|
|
6030
|
-
return r.signature ? d = mi(s, n, a, l, r.signature) : n != r.source ? d =
|
|
6030
|
+
return r.signature ? d = mi(s, n, a, l, r.signature) : n != r.source ? d = ne(s, r.source) : c && pi(n) ? d = ne(s, n) : d = s.__data[n], r.negate && (d = !d), d;
|
|
6031
6031
|
}
|
|
6032
6032
|
}
|
|
6033
6033
|
return e;
|
|
@@ -6050,7 +6050,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6050
6050
|
Code distributed by Google as part of the polymer project is also
|
|
6051
6051
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6052
6052
|
*/
|
|
6053
|
-
function
|
|
6053
|
+
function Za(o) {
|
|
6054
6054
|
const t = {};
|
|
6055
6055
|
for (let e in o) {
|
|
6056
6056
|
const i = o[e];
|
|
@@ -6058,7 +6058,7 @@ function Xa(o) {
|
|
|
6058
6058
|
}
|
|
6059
6059
|
return t;
|
|
6060
6060
|
}
|
|
6061
|
-
const
|
|
6061
|
+
const Qa = U((o) => {
|
|
6062
6062
|
const t = Ds(o);
|
|
6063
6063
|
function e(r) {
|
|
6064
6064
|
const n = Object.getPrototypeOf(r);
|
|
@@ -6072,7 +6072,7 @@ const Za = V((o) => {
|
|
|
6072
6072
|
let n = null;
|
|
6073
6073
|
if (r.hasOwnProperty(JSCompiler_renameProperty("properties", r))) {
|
|
6074
6074
|
const a = r.properties;
|
|
6075
|
-
a && (n =
|
|
6075
|
+
a && (n = Za(a));
|
|
6076
6076
|
}
|
|
6077
6077
|
r.__ownProperties = n;
|
|
6078
6078
|
}
|
|
@@ -6209,8 +6209,8 @@ const Za = V((o) => {
|
|
|
6209
6209
|
* Google as part of the polymer project is also subject to an additional IP
|
|
6210
6210
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6211
6211
|
*/
|
|
6212
|
-
const
|
|
6213
|
-
const t =
|
|
6212
|
+
const el = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, tl = U((o) => {
|
|
6213
|
+
const t = Qa(ji(o));
|
|
6214
6214
|
function e(l) {
|
|
6215
6215
|
if (!l.hasOwnProperty(
|
|
6216
6216
|
JSCompiler_renameProperty("__propertyDefaults", l)
|
|
@@ -6239,7 +6239,7 @@ const Qa = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, el = V((o)
|
|
|
6239
6239
|
}
|
|
6240
6240
|
function r(l, c, d, u) {
|
|
6241
6241
|
if (!Io) {
|
|
6242
|
-
const h = c.content.querySelectorAll("style"), m = xs(c), g =
|
|
6242
|
+
const h = c.content.querySelectorAll("style"), m = xs(c), g = Jn(d), p = c.content.firstElementChild;
|
|
6243
6243
|
for (let y = 0; y < g.length; y++) {
|
|
6244
6244
|
let v = g[y];
|
|
6245
6245
|
v.textContent = l._processStyleText(v.textContent, u), c.content.insertBefore(v, p);
|
|
@@ -6250,7 +6250,7 @@ const Qa = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, el = V((o)
|
|
|
6250
6250
|
A !== v ? (v = v.cloneNode(!0), A.parentNode.insertBefore(v, A)) : _++, v.textContent = l._processStyleText(v.textContent, u);
|
|
6251
6251
|
}
|
|
6252
6252
|
}
|
|
6253
|
-
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(c, d),
|
|
6253
|
+
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(c, d), jn && Io && Ln) {
|
|
6254
6254
|
const h = c.content.querySelectorAll("style");
|
|
6255
6255
|
if (h) {
|
|
6256
6256
|
let m = "";
|
|
@@ -6262,7 +6262,7 @@ const Qa = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, el = V((o)
|
|
|
6262
6262
|
}
|
|
6263
6263
|
function n(l) {
|
|
6264
6264
|
let c = null;
|
|
6265
|
-
if (l && (!Nt ||
|
|
6265
|
+
if (l && (!Nt || Bn) && (c = /** @type {?HTMLTemplateElement} */
|
|
6266
6266
|
mt.import(l, "template"), Nt && !c))
|
|
6267
6267
|
throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
6268
6268
|
return c;
|
|
@@ -6274,7 +6274,7 @@ const Qa = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, el = V((o)
|
|
|
6274
6274
|
* @nocollapse
|
|
6275
6275
|
*/
|
|
6276
6276
|
static get polymerElementVersion() {
|
|
6277
|
-
return
|
|
6277
|
+
return el;
|
|
6278
6278
|
}
|
|
6279
6279
|
/**
|
|
6280
6280
|
* Override of PropertiesMixin _finalizeClass to create observers and
|
|
@@ -6465,7 +6465,7 @@ const Qa = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, el = V((o)
|
|
|
6465
6465
|
this.constructor.finalize(), this.constructor._finalizeTemplate(
|
|
6466
6466
|
/** @type {!HTMLElement} */
|
|
6467
6467
|
this.localName
|
|
6468
|
-
), super._initializeProperties(), this.rootPath =
|
|
6468
|
+
), super._initializeProperties(), this.rootPath = Rn, this.importPath = this.constructor.importPath;
|
|
6469
6469
|
let c = e(this.constructor);
|
|
6470
6470
|
if (c)
|
|
6471
6471
|
for (let d in c) {
|
|
@@ -6576,7 +6576,7 @@ const Qa = "3.5.2", Io = window.ShadyCSS && window.ShadyCSS.cssBuild, el = V((o)
|
|
|
6576
6576
|
_attachDom(c) {
|
|
6577
6577
|
const d = K(this);
|
|
6578
6578
|
if (d.attachShadow)
|
|
6579
|
-
return c ? (d.shadowRoot || (d.attachShadow({ mode: "open", shadyUpgradeFragment: c }), d.shadowRoot.appendChild(c), this.constructor._styleSheet && (d.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])),
|
|
6579
|
+
return c ? (d.shadowRoot || (d.attachShadow({ mode: "open", shadyUpgradeFragment: c }), d.shadowRoot.appendChild(c), this.constructor._styleSheet && (d.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), Hn && window.ShadyDOM && window.ShadyDOM.flushInitial(d.shadowRoot), d.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
|
/**
|
|
@@ -6718,7 +6718,7 @@ function Bs(o) {
|
|
|
6718
6718
|
`non-literal value passed to Polymer's htmlLiteral function: ${o}`
|
|
6719
6719
|
);
|
|
6720
6720
|
}
|
|
6721
|
-
function
|
|
6721
|
+
function il(o) {
|
|
6722
6722
|
if (o instanceof HTMLTemplateElement)
|
|
6723
6723
|
return (
|
|
6724
6724
|
/** @type {!HTMLTemplateElement } */
|
|
@@ -6737,7 +6737,7 @@ const je = function(t, ...e) {
|
|
|
6737
6737
|
document.createElement("template")
|
|
6738
6738
|
);
|
|
6739
6739
|
let s = e.reduce(
|
|
6740
|
-
(r, n, a) => r +
|
|
6740
|
+
(r, n, a) => r + il(n) + t[a + 1],
|
|
6741
6741
|
t[0]
|
|
6742
6742
|
);
|
|
6743
6743
|
return No && (s = No.createHTML(s)), i.innerHTML = s, i;
|
|
@@ -6754,7 +6754,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6754
6754
|
Code distributed by Google as part of the polymer project is also
|
|
6755
6755
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6756
6756
|
*/
|
|
6757
|
-
const
|
|
6757
|
+
const Me = tl(HTMLElement);
|
|
6758
6758
|
/**
|
|
6759
6759
|
* @license
|
|
6760
6760
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
@@ -6767,14 +6767,14 @@ function _i(o, t, e = o.getAttribute("dir")) {
|
|
|
6767
6767
|
function gi() {
|
|
6768
6768
|
return document.documentElement.getAttribute("dir");
|
|
6769
6769
|
}
|
|
6770
|
-
function
|
|
6770
|
+
function ol() {
|
|
6771
6771
|
const o = gi();
|
|
6772
6772
|
ye.forEach((t) => {
|
|
6773
6773
|
_i(t, o);
|
|
6774
6774
|
});
|
|
6775
6775
|
}
|
|
6776
|
-
const
|
|
6777
|
-
|
|
6776
|
+
const sl = new MutationObserver(ol);
|
|
6777
|
+
sl.observe(document.documentElement, { attributes: !0, attributeFilter: ["dir"] });
|
|
6778
6778
|
const Yt = (o) => class extends o {
|
|
6779
6779
|
static get properties() {
|
|
6780
6780
|
return {
|
|
@@ -6836,7 +6836,7 @@ const Yt = (o) => class extends o {
|
|
|
6836
6836
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6837
6837
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6838
6838
|
*/
|
|
6839
|
-
const
|
|
6839
|
+
const rl = (o) => class extends o {
|
|
6840
6840
|
static get properties() {
|
|
6841
6841
|
return {
|
|
6842
6842
|
/**
|
|
@@ -6876,7 +6876,7 @@ const sl = (o) => class extends o {
|
|
|
6876
6876
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6877
6877
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6878
6878
|
*/
|
|
6879
|
-
const
|
|
6879
|
+
const nl = P`
|
|
6880
6880
|
:host {
|
|
6881
6881
|
display: flex;
|
|
6882
6882
|
align-items: center;
|
|
@@ -6947,8 +6947,8 @@ const rl = P`
|
|
|
6947
6947
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6948
6948
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6949
6949
|
*/
|
|
6950
|
-
|
|
6951
|
-
class
|
|
6950
|
+
L("vaadin-input-container", nl, { moduleId: "vaadin-input-container-styles" });
|
|
6951
|
+
class al extends rl($e(Yt(Me))) {
|
|
6952
6952
|
static get is() {
|
|
6953
6953
|
return "vaadin-input-container";
|
|
6954
6954
|
}
|
|
@@ -6960,13 +6960,13 @@ class nl extends sl($e(Yt(Te))) {
|
|
|
6960
6960
|
`;
|
|
6961
6961
|
}
|
|
6962
6962
|
}
|
|
6963
|
-
|
|
6963
|
+
be(al);
|
|
6964
6964
|
/**
|
|
6965
6965
|
* @license
|
|
6966
6966
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
6967
6967
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6968
6968
|
*/
|
|
6969
|
-
const
|
|
6969
|
+
const ll = P`
|
|
6970
6970
|
:host {
|
|
6971
6971
|
z-index: 200;
|
|
6972
6972
|
position: fixed;
|
|
@@ -7055,21 +7055,21 @@ function bi() {
|
|
|
7055
7055
|
function Ui() {
|
|
7056
7056
|
return Vi;
|
|
7057
7057
|
}
|
|
7058
|
-
function
|
|
7058
|
+
function cl(o) {
|
|
7059
7059
|
const t = o.style;
|
|
7060
7060
|
if (t.visibility === "hidden" || t.display === "none")
|
|
7061
7061
|
return !0;
|
|
7062
7062
|
const e = window.getComputedStyle(o);
|
|
7063
7063
|
return e.visibility === "hidden" || e.display === "none";
|
|
7064
7064
|
}
|
|
7065
|
-
function
|
|
7065
|
+
function dl(o, t) {
|
|
7066
7066
|
const e = Math.max(o.tabIndex, 0), i = Math.max(t.tabIndex, 0);
|
|
7067
7067
|
return e === 0 || i === 0 ? i > e : e > i;
|
|
7068
7068
|
}
|
|
7069
|
-
function
|
|
7069
|
+
function ul(o, t) {
|
|
7070
7070
|
const e = [];
|
|
7071
7071
|
for (; o.length > 0 && t.length > 0; )
|
|
7072
|
-
|
|
7072
|
+
dl(o[0], t[0]) ? e.push(t.shift()) : e.push(o.shift());
|
|
7073
7073
|
return e.concat(o, t);
|
|
7074
7074
|
}
|
|
7075
7075
|
function vi(o) {
|
|
@@ -7077,27 +7077,27 @@ 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 ul(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]");
|
|
7084
7084
|
}
|
|
7085
|
-
function
|
|
7085
|
+
function hl(o) {
|
|
7086
7086
|
return o.getRootNode().activeElement === o;
|
|
7087
7087
|
}
|
|
7088
|
-
function
|
|
7088
|
+
function pl(o) {
|
|
7089
7089
|
if (!$s(o))
|
|
7090
7090
|
return -1;
|
|
7091
7091
|
const t = o.getAttribute("tabindex") || 0;
|
|
7092
7092
|
return Number(t);
|
|
7093
7093
|
}
|
|
7094
7094
|
function Ys(o, t) {
|
|
7095
|
-
if (o.nodeType !== Node.ELEMENT_NODE ||
|
|
7095
|
+
if (o.nodeType !== Node.ELEMENT_NODE || cl(o))
|
|
7096
7096
|
return !1;
|
|
7097
7097
|
const e = (
|
|
7098
7098
|
/** @type {HTMLElement} */
|
|
7099
7099
|
o
|
|
7100
|
-
), i =
|
|
7100
|
+
), i = pl(e);
|
|
7101
7101
|
let s = i > 0;
|
|
7102
7102
|
i >= 0 && t.push(e);
|
|
7103
7103
|
let r = [];
|
|
@@ -7105,7 +7105,7 @@ function Ys(o, t) {
|
|
|
7105
7105
|
s = Ys(n, t) || s;
|
|
7106
7106
|
}), s;
|
|
7107
7107
|
}
|
|
7108
|
-
function
|
|
7108
|
+
function fl(o) {
|
|
7109
7109
|
const t = [];
|
|
7110
7110
|
return Ys(o, t) ? vi(t) : t;
|
|
7111
7111
|
}
|
|
@@ -7118,19 +7118,19 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
7118
7118
|
Code distributed by Google as part of the polymer project is also
|
|
7119
7119
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7120
7120
|
*/
|
|
7121
|
-
let yi = !1,
|
|
7122
|
-
function
|
|
7121
|
+
let yi = !1, ml = [], js = [];
|
|
7122
|
+
function _l() {
|
|
7123
7123
|
yi = !0, requestAnimationFrame(function() {
|
|
7124
|
-
yi = !1,
|
|
7125
|
-
|
|
7124
|
+
yi = !1, gl(ml), setTimeout(function() {
|
|
7125
|
+
bl(js);
|
|
7126
7126
|
});
|
|
7127
7127
|
});
|
|
7128
7128
|
}
|
|
7129
|
-
function
|
|
7129
|
+
function gl(o) {
|
|
7130
7130
|
for (; o.length; )
|
|
7131
7131
|
Vs(o.shift());
|
|
7132
7132
|
}
|
|
7133
|
-
function
|
|
7133
|
+
function bl(o) {
|
|
7134
7134
|
for (let t = 0, e = o.length; t < e; t++)
|
|
7135
7135
|
Vs(o.shift());
|
|
7136
7136
|
}
|
|
@@ -7145,20 +7145,20 @@ function Vs(o) {
|
|
|
7145
7145
|
}
|
|
7146
7146
|
}
|
|
7147
7147
|
function Us(o, t, e) {
|
|
7148
|
-
yi ||
|
|
7148
|
+
yi || _l(), js.push([o, t, e]);
|
|
7149
7149
|
}
|
|
7150
7150
|
/**
|
|
7151
7151
|
* @license
|
|
7152
7152
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7153
7153
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7154
7154
|
*/
|
|
7155
|
-
const jt = (o) => o.test(navigator.userAgent), xi = (o) => o.test(navigator.platform),
|
|
7155
|
+
const jt = (o) => o.test(navigator.userAgent), xi = (o) => o.test(navigator.platform), vl = (o) => o.test(navigator.vendor);
|
|
7156
7156
|
jt(/Android/u);
|
|
7157
|
-
jt(/Chrome/u) &&
|
|
7157
|
+
jt(/Chrome/u) && vl(/Google Inc/u);
|
|
7158
7158
|
jt(/Firefox/u);
|
|
7159
|
-
const
|
|
7159
|
+
const yl = xi(/^iPad/u) || xi(/^Mac/u) && navigator.maxTouchPoints > 1, xl = xi(/^iPhone/u), Ws = xl || yl;
|
|
7160
7160
|
jt(/^((?!chrome|android).)*safari/iu);
|
|
7161
|
-
const
|
|
7161
|
+
const wl = (() => {
|
|
7162
7162
|
try {
|
|
7163
7163
|
return document.createEvent("TouchEvent"), !0;
|
|
7164
7164
|
} catch {
|
|
@@ -7173,7 +7173,7 @@ const xl = (() => {
|
|
|
7173
7173
|
let Ue = /* @__PURE__ */ new WeakMap(), Ct = /* @__PURE__ */ new WeakMap(), At = {}, Xt = 0;
|
|
7174
7174
|
const zo = (o) => o && o.nodeType === Node.ELEMENT_NODE, Zt = (...o) => {
|
|
7175
7175
|
console.error(`Error: ${o.join(" ")}. Skip setting aria-hidden.`);
|
|
7176
|
-
},
|
|
7176
|
+
}, El = (o, t) => zo(o) ? t.map((e) => {
|
|
7177
7177
|
if (!zo(e))
|
|
7178
7178
|
return Zt(e, "is not a valid element"), null;
|
|
7179
7179
|
let i = e;
|
|
@@ -7183,8 +7183,8 @@ const zo = (o) => o && o.nodeType === Node.ELEMENT_NODE, Zt = (...o) => {
|
|
|
7183
7183
|
i = i.getRootNode().host;
|
|
7184
7184
|
}
|
|
7185
7185
|
return Zt(e, "is not contained inside", o), null;
|
|
7186
|
-
}).filter((e) => !!e) : (Zt(o, "is not a valid element"), []),
|
|
7187
|
-
const s =
|
|
7186
|
+
}).filter((e) => !!e) : (Zt(o, "is not a valid element"), []), Sl = (o, t, e, i) => {
|
|
7187
|
+
const s = El(t, Array.isArray(o) ? o : [o]);
|
|
7188
7188
|
At[e] || (At[e] = /* @__PURE__ */ new WeakMap());
|
|
7189
7189
|
const r = At[e], n = [], a = /* @__PURE__ */ new Set(), l = new Set(s), c = (u) => {
|
|
7190
7190
|
if (!u || a.has(u))
|
|
@@ -7216,14 +7216,14 @@ const zo = (o) => o && o.nodeType === Node.ELEMENT_NODE, Zt = (...o) => {
|
|
|
7216
7216
|
};
|
|
7217
7217
|
}, qs = (o, t = document.body, e = "data-aria-hidden") => {
|
|
7218
7218
|
const i = Array.from(Array.isArray(o) ? o : [o]);
|
|
7219
|
-
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))),
|
|
7219
|
+
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))), Sl(i, t, e, "aria-hidden");
|
|
7220
7220
|
};
|
|
7221
7221
|
/**
|
|
7222
7222
|
* @license
|
|
7223
7223
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7224
7224
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7225
7225
|
*/
|
|
7226
|
-
class
|
|
7226
|
+
class Cl {
|
|
7227
7227
|
/**
|
|
7228
7228
|
* @param {HTMLElement} host
|
|
7229
7229
|
*/
|
|
@@ -7254,7 +7254,7 @@ class Sl {
|
|
|
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 Al {
|
|
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,
|
|
@@ -7282,7 +7282,7 @@ class Cl {
|
|
|
7282
7282
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7283
7283
|
*/
|
|
7284
7284
|
const Qt = [];
|
|
7285
|
-
class
|
|
7285
|
+
class Pl {
|
|
7286
7286
|
/**
|
|
7287
7287
|
* @param {HTMLElement} host
|
|
7288
7288
|
*/
|
|
@@ -7296,7 +7296,7 @@ class Al {
|
|
|
7296
7296
|
* @private
|
|
7297
7297
|
*/
|
|
7298
7298
|
get __focusableElements() {
|
|
7299
|
-
return
|
|
7299
|
+
return fl(this.__trapNode);
|
|
7300
7300
|
}
|
|
7301
7301
|
/**
|
|
7302
7302
|
* The index of the element inside the trap node that currently has focus.
|
|
@@ -7306,7 +7306,7 @@ class Al {
|
|
|
7306
7306
|
*/
|
|
7307
7307
|
get __focusedElementIndex() {
|
|
7308
7308
|
const t = this.__focusableElements;
|
|
7309
|
-
return t.indexOf(t.filter(
|
|
7309
|
+
return t.indexOf(t.filter(hl).pop());
|
|
7310
7310
|
}
|
|
7311
7311
|
hostConnected() {
|
|
7312
7312
|
document.addEventListener("keydown", this.__onKeyDown);
|
|
@@ -7379,7 +7379,7 @@ class Al {
|
|
|
7379
7379
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7380
7380
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7381
7381
|
*/
|
|
7382
|
-
const it =
|
|
7382
|
+
const it = U((o) => typeof o.prototype.addController == "function" ? o : class extends o {
|
|
7383
7383
|
constructor() {
|
|
7384
7384
|
super(), this.__controllers = /* @__PURE__ */ new Set();
|
|
7385
7385
|
}
|
|
@@ -7419,7 +7419,7 @@ const it = V((o) => typeof o.prototype.addController == "function" ? o : class e
|
|
|
7419
7419
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7420
7420
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7421
7421
|
*/
|
|
7422
|
-
const
|
|
7422
|
+
const kl = (o) => class extends it(o) {
|
|
7423
7423
|
static get properties() {
|
|
7424
7424
|
return {
|
|
7425
7425
|
/**
|
|
@@ -7450,7 +7450,7 @@ const Pl = (o) => class extends it(o) {
|
|
|
7450
7450
|
};
|
|
7451
7451
|
}
|
|
7452
7452
|
constructor() {
|
|
7453
|
-
super(), this.__ariaModalController = new
|
|
7453
|
+
super(), this.__ariaModalController = new Cl(this), this.__focusTrapController = new Pl(this), this.__focusRestorationController = new Al();
|
|
7454
7454
|
}
|
|
7455
7455
|
/** @protected */
|
|
7456
7456
|
ready() {
|
|
@@ -7521,7 +7521,7 @@ const Pl = (o) => class extends it(o) {
|
|
|
7521
7521
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7522
7522
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7523
7523
|
*/
|
|
7524
|
-
const Ks = () => Array.from(document.body.children).filter((o) => o instanceof HTMLElement && o._hasOverlayStackMixin && !o.hasAttribute("closing")).sort((o, t) => o.__zIndex - t.__zIndex || 0), wi = () => Ks().filter((o) => o.$.overlay),
|
|
7524
|
+
const Ks = () => Array.from(document.body.children).filter((o) => o instanceof HTMLElement && o._hasOverlayStackMixin && !o.hasAttribute("closing")).sort((o, t) => o.__zIndex - t.__zIndex || 0), wi = () => Ks().filter((o) => o.$.overlay), Dl = (o) => o === wi().pop(), Tl = (o) => class extends o {
|
|
7525
7525
|
constructor() {
|
|
7526
7526
|
super(), this._hasOverlayStackMixin = !0;
|
|
7527
7527
|
}
|
|
@@ -7532,7 +7532,7 @@ const Ks = () => Array.from(document.body.children).filter((o) => o instanceof H
|
|
|
7532
7532
|
* @protected
|
|
7533
7533
|
*/
|
|
7534
7534
|
get _last() {
|
|
7535
|
-
return
|
|
7535
|
+
return Dl(this);
|
|
7536
7536
|
}
|
|
7537
7537
|
/**
|
|
7538
7538
|
* Brings the overlay as visually the frontmost one.
|
|
@@ -7562,7 +7562,7 @@ const Ks = () => Array.from(document.body.children).filter((o) => o instanceof H
|
|
|
7562
7562
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7563
7563
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7564
7564
|
*/
|
|
7565
|
-
const
|
|
7565
|
+
const Ml = (o) => class extends kl(Tl(o)) {
|
|
7566
7566
|
static get properties() {
|
|
7567
7567
|
return {
|
|
7568
7568
|
/**
|
|
@@ -7828,7 +7828,7 @@ const Tl = (o) => class extends Pl(Dl(o)) {
|
|
|
7828
7828
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7829
7829
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7830
7830
|
*/
|
|
7831
|
-
function
|
|
7831
|
+
function Ol(o) {
|
|
7832
7832
|
const t = [];
|
|
7833
7833
|
for (; o; ) {
|
|
7834
7834
|
if (o.nodeType === Node.DOCUMENT_NODE) {
|
|
@@ -7857,7 +7857,7 @@ function Gs(o, t, e) {
|
|
|
7857
7857
|
const i = Wi(o.getAttribute(t));
|
|
7858
7858
|
i.add(e), o.setAttribute(t, Vt(i));
|
|
7859
7859
|
}
|
|
7860
|
-
function
|
|
7860
|
+
function Il(o, t, e) {
|
|
7861
7861
|
const i = Wi(o.getAttribute(t));
|
|
7862
7862
|
if (i.delete(e), i.size === 0) {
|
|
7863
7863
|
o.removeAttribute(t);
|
|
@@ -7865,7 +7865,7 @@ function Ol(o, t, e) {
|
|
|
7865
7865
|
}
|
|
7866
7866
|
o.setAttribute(t, Vt(i));
|
|
7867
7867
|
}
|
|
7868
|
-
function
|
|
7868
|
+
function Nl(o) {
|
|
7869
7869
|
return o.nodeType === Node.TEXT_NODE && o.textContent.trim() === "";
|
|
7870
7870
|
}
|
|
7871
7871
|
/**
|
|
@@ -7873,7 +7873,7 @@ function Il(o) {
|
|
|
7873
7873
|
* Copyright (c) 2024 Vaadin Ltd.
|
|
7874
7874
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7875
7875
|
*/
|
|
7876
|
-
function
|
|
7876
|
+
function zl(o, t) {
|
|
7877
7877
|
let e = null;
|
|
7878
7878
|
const i = document.documentElement;
|
|
7879
7879
|
function s() {
|
|
@@ -7890,11 +7890,11 @@ function Nl(o, t) {
|
|
|
7890
7890
|
};
|
|
7891
7891
|
let v = !0;
|
|
7892
7892
|
function A(C) {
|
|
7893
|
-
let
|
|
7894
|
-
if (
|
|
7893
|
+
let D = C[0].intersectionRatio;
|
|
7894
|
+
if (D !== a) {
|
|
7895
7895
|
if (!v)
|
|
7896
7896
|
return r();
|
|
7897
|
-
|
|
7897
|
+
D === 0 && (D = 1e-7), r(!1, D);
|
|
7898
7898
|
}
|
|
7899
7899
|
v = !1;
|
|
7900
7900
|
}
|
|
@@ -7919,7 +7919,7 @@ const ei = {
|
|
|
7919
7919
|
t.target.__overlay && t.target.__overlay._updatePosition();
|
|
7920
7920
|
});
|
|
7921
7921
|
});
|
|
7922
|
-
}),
|
|
7922
|
+
}), Fl = (o) => class extends o {
|
|
7923
7923
|
static get properties() {
|
|
7924
7924
|
return {
|
|
7925
7925
|
/**
|
|
@@ -8018,9 +8018,9 @@ const ei = {
|
|
|
8018
8018
|
}
|
|
8019
8019
|
/** @private */
|
|
8020
8020
|
__addUpdatePositionEventListeners() {
|
|
8021
|
-
window.visualViewport.addEventListener("resize", this._updatePosition), window.visualViewport.addEventListener("scroll", this.__onScroll, !0), this.__positionTargetAncestorRootNodes =
|
|
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 = zl(this.positionTarget, () => {
|
|
8024
8024
|
this._updatePosition();
|
|
8025
8025
|
}));
|
|
8026
8026
|
}
|
|
@@ -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
|
|
8157
|
+
const Ll = (o) => class extends Fl(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.
|
|
@@ -8179,7 +8179,7 @@ const Fl = (o) => class extends zl(Tl(o)) {
|
|
|
8179
8179
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
8180
8180
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8181
8181
|
*/
|
|
8182
|
-
const
|
|
8182
|
+
const Rl = P`
|
|
8183
8183
|
[part='overlay'] {
|
|
8184
8184
|
display: flex;
|
|
8185
8185
|
flex: auto;
|
|
@@ -8200,10 +8200,10 @@ const Ll = P`
|
|
|
8200
8200
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
8201
8201
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8202
8202
|
*/
|
|
8203
|
-
|
|
8203
|
+
L("vaadin-date-picker-overlay", [ll, Rl], {
|
|
8204
8204
|
moduleId: "vaadin-date-picker-overlay-styles"
|
|
8205
8205
|
});
|
|
8206
|
-
class
|
|
8206
|
+
class Bl extends Ll(Yt($e(Me))) {
|
|
8207
8207
|
static get is() {
|
|
8208
8208
|
return "vaadin-date-picker-overlay";
|
|
8209
8209
|
}
|
|
@@ -8218,34 +8218,34 @@ class Rl extends Fl(Yt($e(Te))) {
|
|
|
8218
8218
|
`;
|
|
8219
8219
|
}
|
|
8220
8220
|
}
|
|
8221
|
-
|
|
8222
|
-
const
|
|
8223
|
-
function
|
|
8221
|
+
be(Bl);
|
|
8222
|
+
const Hl = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i, Dt = window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients;
|
|
8223
|
+
function $l() {
|
|
8224
8224
|
function o() {
|
|
8225
8225
|
return !0;
|
|
8226
8226
|
}
|
|
8227
8227
|
return Js(o);
|
|
8228
8228
|
}
|
|
8229
|
-
function
|
|
8229
|
+
function Yl() {
|
|
8230
8230
|
try {
|
|
8231
|
-
return
|
|
8231
|
+
return jl() ? !0 : Vl() ? Dt ? !Ul() : !$l() : !1;
|
|
8232
8232
|
} catch {
|
|
8233
8233
|
return !1;
|
|
8234
8234
|
}
|
|
8235
8235
|
}
|
|
8236
|
-
function
|
|
8236
|
+
function jl() {
|
|
8237
8237
|
return localStorage.getItem("vaadin.developmentmode.force");
|
|
8238
8238
|
}
|
|
8239
|
-
function
|
|
8239
|
+
function Vl() {
|
|
8240
8240
|
return ["localhost", "127.0.0.1"].indexOf(window.location.hostname) >= 0;
|
|
8241
8241
|
}
|
|
8242
|
-
function
|
|
8242
|
+
function Ul() {
|
|
8243
8243
|
return !!(Dt && Object.keys(Dt).map((t) => Dt[t]).filter((t) => t.productionMode).length > 0);
|
|
8244
8244
|
}
|
|
8245
8245
|
function Js(o, t) {
|
|
8246
8246
|
if (typeof o != "function")
|
|
8247
8247
|
return;
|
|
8248
|
-
const e =
|
|
8248
|
+
const e = Hl.exec(o.toString());
|
|
8249
8249
|
if (e)
|
|
8250
8250
|
try {
|
|
8251
8251
|
o = new Function(e[1]);
|
|
@@ -8259,8 +8259,8 @@ const Lo = function(o, t) {
|
|
|
8259
8259
|
if (window.Vaadin.developmentMode)
|
|
8260
8260
|
return Js(o, t);
|
|
8261
8261
|
};
|
|
8262
|
-
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode =
|
|
8263
|
-
function
|
|
8262
|
+
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode = Yl());
|
|
8263
|
+
function Wl() {
|
|
8264
8264
|
/*! vaadin-dev-mode:start
|
|
8265
8265
|
(function () {
|
|
8266
8266
|
'use strict';
|
|
@@ -8741,9 +8741,9 @@ function Ul() {
|
|
|
8741
8741
|
|
|
8742
8742
|
vaadin-dev-mode:end **/
|
|
8743
8743
|
}
|
|
8744
|
-
const
|
|
8744
|
+
const ql = function() {
|
|
8745
8745
|
if (typeof Lo == "function")
|
|
8746
|
-
return Lo(
|
|
8746
|
+
return Lo(Wl);
|
|
8747
8747
|
};
|
|
8748
8748
|
/**
|
|
8749
8749
|
* @license
|
|
@@ -8757,7 +8757,7 @@ const Wl = function() {
|
|
|
8757
8757
|
let Ro = 0, Xs = 0;
|
|
8758
8758
|
const Ge = [];
|
|
8759
8759
|
let Ei = !1;
|
|
8760
|
-
function
|
|
8760
|
+
function Kl() {
|
|
8761
8761
|
Ei = !1;
|
|
8762
8762
|
const o = Ge.length;
|
|
8763
8763
|
for (let t = 0; t < o; t++) {
|
|
@@ -8813,7 +8813,7 @@ const Ft = {
|
|
|
8813
8813
|
cancel(o) {
|
|
8814
8814
|
window.clearTimeout(o);
|
|
8815
8815
|
}
|
|
8816
|
-
},
|
|
8816
|
+
}, Gl = {
|
|
8817
8817
|
/**
|
|
8818
8818
|
* Enqueues a function called at `requestAnimationFrame` timing.
|
|
8819
8819
|
*
|
|
@@ -8834,7 +8834,7 @@ const Ft = {
|
|
|
8834
8834
|
cancel(o) {
|
|
8835
8835
|
window.cancelAnimationFrame(o);
|
|
8836
8836
|
}
|
|
8837
|
-
},
|
|
8837
|
+
}, Jl = {
|
|
8838
8838
|
/**
|
|
8839
8839
|
* Enqueues a function called at `requestIdleCallback` timing.
|
|
8840
8840
|
*
|
|
@@ -8855,7 +8855,7 @@ const Ft = {
|
|
|
8855
8855
|
cancel(o) {
|
|
8856
8856
|
window.cancelIdleCallback ? window.cancelIdleCallback(o) : window.clearTimeout(o);
|
|
8857
8857
|
}
|
|
8858
|
-
},
|
|
8858
|
+
}, Xl = {
|
|
8859
8859
|
/**
|
|
8860
8860
|
* Enqueues a function called at microtask timing.
|
|
8861
8861
|
*
|
|
@@ -8864,7 +8864,7 @@ const Ft = {
|
|
|
8864
8864
|
* @return {number} Handle used for canceling task
|
|
8865
8865
|
*/
|
|
8866
8866
|
run(o) {
|
|
8867
|
-
Ei || (Ei = !0, queueMicrotask(() =>
|
|
8867
|
+
Ei || (Ei = !0, queueMicrotask(() => Kl())), Ge.push(o);
|
|
8868
8868
|
const t = Ro;
|
|
8869
8869
|
return Ro += 1, t;
|
|
8870
8870
|
},
|
|
@@ -8985,7 +8985,7 @@ let Qe = class Ci {
|
|
|
8985
8985
|
return this._timer != null;
|
|
8986
8986
|
}
|
|
8987
8987
|
};
|
|
8988
|
-
function
|
|
8988
|
+
function Zl(o) {
|
|
8989
8989
|
Si.add(o);
|
|
8990
8990
|
}
|
|
8991
8991
|
/**
|
|
@@ -8997,7 +8997,7 @@ window.Vaadin || (window.Vaadin = {});
|
|
|
8997
8997
|
window.Vaadin.registrations || (window.Vaadin.registrations = []);
|
|
8998
8998
|
window.Vaadin.developmentModeCallback || (window.Vaadin.developmentModeCallback = {});
|
|
8999
8999
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"] = function() {
|
|
9000
|
-
|
|
9000
|
+
ql();
|
|
9001
9001
|
};
|
|
9002
9002
|
let ii;
|
|
9003
9003
|
const Bo = /* @__PURE__ */ new Set(), Zs = (o) => class extends Yt(o) {
|
|
@@ -9005,9 +9005,9 @@ const Bo = /* @__PURE__ */ new Set(), Zs = (o) => class extends Yt(o) {
|
|
|
9005
9005
|
static finalize() {
|
|
9006
9006
|
super.finalize();
|
|
9007
9007
|
const { is: e } = this;
|
|
9008
|
-
e && !Bo.has(e) && (window.Vaadin.registrations.push(this), Bo.add(e), window.Vaadin.developmentModeCallback && (ii = Qe.debounce(ii,
|
|
9008
|
+
e && !Bo.has(e) && (window.Vaadin.registrations.push(this), Bo.add(e), window.Vaadin.developmentModeCallback && (ii = Qe.debounce(ii, Jl, () => {
|
|
9009
9009
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]();
|
|
9010
|
-
}),
|
|
9010
|
+
}), Zl(ii)));
|
|
9011
9011
|
}
|
|
9012
9012
|
constructor() {
|
|
9013
9013
|
super(), document.doctype === null && console.warn(
|
|
@@ -9020,7 +9020,7 @@ const Bo = /* @__PURE__ */ new Set(), Zs = (o) => class extends Yt(o) {
|
|
|
9020
9020
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
9021
9021
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9022
9022
|
*/
|
|
9023
|
-
class
|
|
9023
|
+
class Ql {
|
|
9024
9024
|
constructor(t, e) {
|
|
9025
9025
|
this.slot = t, this.callback = e, this._storedNodes = [], this._connected = !1, this._scheduled = !1, this._boundSchedule = () => {
|
|
9026
9026
|
this._schedule();
|
|
@@ -9070,9 +9070,9 @@ class Zl {
|
|
|
9070
9070
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9071
9071
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9072
9072
|
*/
|
|
9073
|
-
let
|
|
9073
|
+
let ec = 0;
|
|
9074
9074
|
function Qs() {
|
|
9075
|
-
return
|
|
9075
|
+
return ec++;
|
|
9076
9076
|
}
|
|
9077
9077
|
/**
|
|
9078
9078
|
* @license
|
|
@@ -9181,8 +9181,8 @@ class Le extends EventTarget {
|
|
|
9181
9181
|
*/
|
|
9182
9182
|
observeSlot() {
|
|
9183
9183
|
const { slotName: t } = this, e = t === "" ? "slot:not([name])" : `slot[name=${t}]`, i = this.host.shadowRoot.querySelector(e);
|
|
9184
|
-
this.__slotObserver = new
|
|
9185
|
-
const n = this.multiple ? this.nodes : [this.node], a = s.filter((l) => !
|
|
9184
|
+
this.__slotObserver = new Ql(i, ({ addedNodes: s, removedNodes: r }) => {
|
|
9185
|
+
const n = this.multiple ? this.nodes : [this.node], a = s.filter((l) => !Nl(l) && !n.includes(l));
|
|
9186
9186
|
r.length && (this.nodes = n.filter((l) => !r.includes(l)), r.forEach((l) => {
|
|
9187
9187
|
this.teardownNode(l);
|
|
9188
9188
|
})), a && a.length > 0 && (this.multiple ? (this.defaultNode && this.defaultNode.remove(), this.nodes = [...n, ...a].filter((l) => l !== this.defaultNode), a.forEach((l) => {
|
|
@@ -9297,7 +9297,7 @@ class er extends Le {
|
|
|
9297
9297
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
9298
9298
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9299
9299
|
*/
|
|
9300
|
-
const
|
|
9300
|
+
const tc = P`
|
|
9301
9301
|
:host {
|
|
9302
9302
|
display: inline-block;
|
|
9303
9303
|
position: relative;
|
|
@@ -9357,7 +9357,7 @@ const ec = P`
|
|
|
9357
9357
|
outline-color: GrayText;
|
|
9358
9358
|
}
|
|
9359
9359
|
}
|
|
9360
|
-
`,
|
|
9360
|
+
`, ic = (o) => o`
|
|
9361
9361
|
<div class="vaadin-button-container">
|
|
9362
9362
|
<span part="prefix" aria-hidden="true">
|
|
9363
9363
|
<slot name="prefix"></slot>
|
|
@@ -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
|
|
9383
|
+
const oc = (o) => o, tr = typeof document.head.style.touchAction == "string", Ai = "__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 {
|
|
@@ -9388,25 +9388,25 @@ const ic = (o) => o, tr = typeof document.head.style.touchAction == "string", Ai
|
|
|
9388
9388
|
}
|
|
9389
9389
|
}();
|
|
9390
9390
|
function qi(o) {
|
|
9391
|
-
return
|
|
9391
|
+
return rc.indexOf(o) > -1;
|
|
9392
9392
|
}
|
|
9393
|
-
let
|
|
9393
|
+
let lc = !1;
|
|
9394
9394
|
(function() {
|
|
9395
9395
|
try {
|
|
9396
9396
|
const o = Object.defineProperty({}, "passive", {
|
|
9397
9397
|
// eslint-disable-next-line getter-return
|
|
9398
9398
|
get() {
|
|
9399
|
-
|
|
9399
|
+
lc = !0;
|
|
9400
9400
|
}
|
|
9401
9401
|
});
|
|
9402
9402
|
window.addEventListener("test", null, o), window.removeEventListener("test", null, o);
|
|
9403
9403
|
} catch {
|
|
9404
9404
|
}
|
|
9405
9405
|
})();
|
|
9406
|
-
function
|
|
9406
|
+
function cc(o) {
|
|
9407
9407
|
qi(o);
|
|
9408
9408
|
}
|
|
9409
|
-
const
|
|
9409
|
+
const dc = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), uc = {
|
|
9410
9410
|
button: !0,
|
|
9411
9411
|
command: !0,
|
|
9412
9412
|
fieldset: !0,
|
|
@@ -9423,15 +9423,15 @@ function Be(o) {
|
|
|
9423
9423
|
return !1;
|
|
9424
9424
|
if (t === "mousemove") {
|
|
9425
9425
|
let i = o.buttons === void 0 ? 1 : o.buttons;
|
|
9426
|
-
return o instanceof window.MouseEvent && !
|
|
9426
|
+
return o instanceof window.MouseEvent && !ac && (i = nc[o.which] || 0), !!(i & 1);
|
|
9427
9427
|
}
|
|
9428
9428
|
return (o.button === void 0 ? 0 : o.button) === 0;
|
|
9429
9429
|
}
|
|
9430
|
-
function
|
|
9430
|
+
function hc(o) {
|
|
9431
9431
|
if (o.type === "click") {
|
|
9432
9432
|
if (o.detail === 0)
|
|
9433
9433
|
return !0;
|
|
9434
|
-
const t =
|
|
9434
|
+
const t = Te(o);
|
|
9435
9435
|
if (!t.nodeType || /** @type {Element} */
|
|
9436
9436
|
t.nodeType !== Node.ELEMENT_NODE)
|
|
9437
9437
|
return !0;
|
|
@@ -9451,7 +9451,7 @@ const we = {
|
|
|
9451
9451
|
scrollDecided: !1
|
|
9452
9452
|
}
|
|
9453
9453
|
};
|
|
9454
|
-
function
|
|
9454
|
+
function pc(o) {
|
|
9455
9455
|
let t = "auto";
|
|
9456
9456
|
const e = or(o);
|
|
9457
9457
|
for (let i = 0, s; i < e.length; i++)
|
|
@@ -9468,7 +9468,7 @@ function Je(o) {
|
|
|
9468
9468
|
document.removeEventListener("mousemove", o.movefn), document.removeEventListener("mouseup", o.upfn), o.movefn = null, o.upfn = null;
|
|
9469
9469
|
}
|
|
9470
9470
|
const or = window.ShadyDOM && window.ShadyDOM.noPatch ? window.ShadyDOM.composedPath : (o) => o.composedPath && o.composedPath() || [], Ki = {}, Re = [];
|
|
9471
|
-
function
|
|
9471
|
+
function fc(o, t) {
|
|
9472
9472
|
let e = document.elementFromPoint(o, t), i = e;
|
|
9473
9473
|
for (; i && i.shadowRoot && !window.ShadyDOM; ) {
|
|
9474
9474
|
const s = i;
|
|
@@ -9478,14 +9478,14 @@ function pc(o, t) {
|
|
|
9478
9478
|
}
|
|
9479
9479
|
return e;
|
|
9480
9480
|
}
|
|
9481
|
-
function
|
|
9481
|
+
function Te(o) {
|
|
9482
9482
|
const t = or(
|
|
9483
9483
|
/** @type {?Event} */
|
|
9484
9484
|
o
|
|
9485
9485
|
);
|
|
9486
9486
|
return t.length > 0 ? t[0] : o.target;
|
|
9487
9487
|
}
|
|
9488
|
-
function
|
|
9488
|
+
function mc(o) {
|
|
9489
9489
|
const t = o.type, i = o.currentTarget[Ai];
|
|
9490
9490
|
if (!i)
|
|
9491
9491
|
return;
|
|
@@ -9496,7 +9496,7 @@ function fc(o) {
|
|
|
9496
9496
|
const n = o.changedTouches[0];
|
|
9497
9497
|
if (t === "touchstart" && o.touches.length === 1 && (we.touch.id = n.identifier), we.touch.id !== n.identifier)
|
|
9498
9498
|
return;
|
|
9499
|
-
tr || (t === "touchstart" || t === "touchmove") &&
|
|
9499
|
+
tr || (t === "touchstart" || t === "touchmove") && _c(o);
|
|
9500
9500
|
}
|
|
9501
9501
|
const r = o[oi];
|
|
9502
9502
|
if (!r.skip) {
|
|
@@ -9506,7 +9506,7 @@ function fc(o) {
|
|
|
9506
9506
|
a = Re[n], s[a.name] && !r[a.name] && (r[a.name] = !0, a[t](o));
|
|
9507
9507
|
}
|
|
9508
9508
|
}
|
|
9509
|
-
function
|
|
9509
|
+
function _c(o) {
|
|
9510
9510
|
const t = o.changedTouches[0], e = o.type;
|
|
9511
9511
|
if (e === "touchstart")
|
|
9512
9512
|
we.touch.x = t.clientX, we.touch.y = t.clientY, we.touch.scrollDecided = !1;
|
|
@@ -9514,21 +9514,21 @@ function mc(o) {
|
|
|
9514
9514
|
if (we.touch.scrollDecided)
|
|
9515
9515
|
return;
|
|
9516
9516
|
we.touch.scrollDecided = !0;
|
|
9517
|
-
const i =
|
|
9517
|
+
const i = pc(o);
|
|
9518
9518
|
let s = !1;
|
|
9519
9519
|
const r = Math.abs(we.touch.x - t.clientX), n = Math.abs(we.touch.y - t.clientY);
|
|
9520
9520
|
o.cancelable && (i === "none" ? s = !0 : i === "pan-x" ? s = n > r : i === "pan-y" && (s = r > n)), s ? o.preventDefault() : Lt("track");
|
|
9521
9521
|
}
|
|
9522
9522
|
}
|
|
9523
|
-
function
|
|
9524
|
-
return Ki[t] ? (
|
|
9523
|
+
function ge(o, t, e) {
|
|
9524
|
+
return Ki[t] ? (gc(o, t, e), !0) : !1;
|
|
9525
9525
|
}
|
|
9526
|
-
function
|
|
9526
|
+
function gc(o, t, e) {
|
|
9527
9527
|
const i = Ki[t], s = i.deps, r = i.name;
|
|
9528
9528
|
let n = o[Ai];
|
|
9529
9529
|
n || (o[Ai] = n = {});
|
|
9530
9530
|
for (let a = 0, l, c; a < s.length; a++)
|
|
9531
|
-
l = s[a], !(
|
|
9531
|
+
l = s[a], !(dc && 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) {
|
|
@@ -9536,7 +9536,7 @@ function Gi(o) {
|
|
|
9536
9536
|
Ki[t] = o;
|
|
9537
9537
|
});
|
|
9538
9538
|
}
|
|
9539
|
-
function
|
|
9539
|
+
function bc(o) {
|
|
9540
9540
|
for (let t = 0, e; t < Re.length; t++) {
|
|
9541
9541
|
e = Re[t];
|
|
9542
9542
|
for (let i = 0, s; i < e.emits.length; i++)
|
|
@@ -9546,13 +9546,13 @@ function gc(o) {
|
|
|
9546
9546
|
return null;
|
|
9547
9547
|
}
|
|
9548
9548
|
function sr(o, t) {
|
|
9549
|
-
tr && o instanceof HTMLElement &&
|
|
9549
|
+
tr && o instanceof HTMLElement && Xl.run(() => {
|
|
9550
9550
|
o.style.touchAction = t;
|
|
9551
9551
|
}), o[Pi] = t;
|
|
9552
9552
|
}
|
|
9553
9553
|
function Ji(o, t, e) {
|
|
9554
9554
|
const i = new Event(t, { bubbles: !0, cancelable: !0, composed: !0 });
|
|
9555
|
-
if (i.detail = e,
|
|
9555
|
+
if (i.detail = e, oc(
|
|
9556
9556
|
/** @type {!Node} */
|
|
9557
9557
|
o
|
|
9558
9558
|
).dispatchEvent(i), i.defaultPrevented) {
|
|
@@ -9561,7 +9561,7 @@ function Ji(o, t, e) {
|
|
|
9561
9561
|
}
|
|
9562
9562
|
}
|
|
9563
9563
|
function Lt(o) {
|
|
9564
|
-
const t =
|
|
9564
|
+
const t = bc(o);
|
|
9565
9565
|
t.info && (t.info.prevent = !0);
|
|
9566
9566
|
}
|
|
9567
9567
|
Gi({
|
|
@@ -9591,7 +9591,7 @@ Gi({
|
|
|
9591
9591
|
mousedown(o) {
|
|
9592
9592
|
if (!Be(o))
|
|
9593
9593
|
return;
|
|
9594
|
-
const t =
|
|
9594
|
+
const t = Te(o), e = this, i = (r) => {
|
|
9595
9595
|
Be(r) || (nt("up", t, r), Je(e.info));
|
|
9596
9596
|
}, s = (r) => {
|
|
9597
9597
|
Be(r) && nt("up", t, r), Je(e.info);
|
|
@@ -9604,7 +9604,7 @@ Gi({
|
|
|
9604
9604
|
* @return {void}
|
|
9605
9605
|
*/
|
|
9606
9606
|
touchstart(o) {
|
|
9607
|
-
nt("down",
|
|
9607
|
+
nt("down", Te(o), o.changedTouches[0], o);
|
|
9608
9608
|
},
|
|
9609
9609
|
/**
|
|
9610
9610
|
* @this {GestureRecognizer}
|
|
@@ -9612,7 +9612,7 @@ Gi({
|
|
|
9612
9612
|
* @return {void}
|
|
9613
9613
|
*/
|
|
9614
9614
|
touchend(o) {
|
|
9615
|
-
nt("up",
|
|
9615
|
+
nt("up", Te(o), o.changedTouches[0], o);
|
|
9616
9616
|
}
|
|
9617
9617
|
});
|
|
9618
9618
|
function nt(o, t, e, i) {
|
|
@@ -9643,7 +9643,7 @@ Gi({
|
|
|
9643
9643
|
moves: [],
|
|
9644
9644
|
/** @this {GestureInfo} */
|
|
9645
9645
|
addMove(o) {
|
|
9646
|
-
this.moves.length >
|
|
9646
|
+
this.moves.length > sc && this.moves.shift(), this.moves.push(o);
|
|
9647
9647
|
},
|
|
9648
9648
|
movefn: null,
|
|
9649
9649
|
upfn: null,
|
|
@@ -9664,7 +9664,7 @@ Gi({
|
|
|
9664
9664
|
mousedown(o) {
|
|
9665
9665
|
if (!Be(o))
|
|
9666
9666
|
return;
|
|
9667
|
-
const t =
|
|
9667
|
+
const t = Te(o), e = this, i = (r) => {
|
|
9668
9668
|
const n = r.clientX, a = r.clientY;
|
|
9669
9669
|
Yo(e.info, n, a) && (e.info.state = e.info.started ? r.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" && Lt("tap"), e.info.addMove({ x: n, y: a }), Be(r) || (e.info.state = "end", Je(e.info)), t && si(e.info, t, r), e.info.started = !0);
|
|
9670
9670
|
}, s = (r) => {
|
|
@@ -9687,7 +9687,7 @@ Gi({
|
|
|
9687
9687
|
* @return {void}
|
|
9688
9688
|
*/
|
|
9689
9689
|
touchmove(o) {
|
|
9690
|
-
const t =
|
|
9690
|
+
const t = Te(o), e = o.changedTouches[0], i = e.clientX, s = e.clientY;
|
|
9691
9691
|
Yo(this.info, i, s) && (this.info.state === "start" && Lt("tap"), this.info.addMove({ x: i, y: s }), si(this.info, t, e), this.info.state = "track", this.info.started = !0);
|
|
9692
9692
|
},
|
|
9693
9693
|
/**
|
|
@@ -9696,7 +9696,7 @@ Gi({
|
|
|
9696
9696
|
* @return {void}
|
|
9697
9697
|
*/
|
|
9698
9698
|
touchend(o) {
|
|
9699
|
-
const t =
|
|
9699
|
+
const t = Te(o), e = o.changedTouches[0];
|
|
9700
9700
|
this.info.started && (this.info.state = "end", this.info.addMove({ x: e.clientX, y: e.clientY }), si(this.info, t, e));
|
|
9701
9701
|
}
|
|
9702
9702
|
});
|
|
@@ -9723,7 +9723,7 @@ function si(o, t, e) {
|
|
|
9723
9723
|
ddy: l,
|
|
9724
9724
|
sourceEvent: e,
|
|
9725
9725
|
hover() {
|
|
9726
|
-
return
|
|
9726
|
+
return fc(e.clientX, e.clientY);
|
|
9727
9727
|
}
|
|
9728
9728
|
});
|
|
9729
9729
|
}
|
|
@@ -9782,11 +9782,11 @@ Gi({
|
|
|
9782
9782
|
}
|
|
9783
9783
|
});
|
|
9784
9784
|
function jo(o, t, e) {
|
|
9785
|
-
const i = Math.abs(t.clientX - o.x), s = Math.abs(t.clientY - o.y), r =
|
|
9786
|
-
!r ||
|
|
9785
|
+
const i = Math.abs(t.clientX - o.x), s = Math.abs(t.clientY - o.y), r = Te(e || t);
|
|
9786
|
+
!r || uc[
|
|
9787
9787
|
/** @type {!HTMLElement} */
|
|
9788
9788
|
r.localName
|
|
9789
|
-
] && r.hasAttribute("disabled") || (isNaN(i) || isNaN(s) || i <= Ho && s <= Ho ||
|
|
9789
|
+
] && r.hasAttribute("disabled") || (isNaN(i) || isNaN(s) || i <= Ho && s <= Ho || hc(t)) && (o.prevent || Ji(r, "tap", {
|
|
9790
9790
|
x: t.clientX,
|
|
9791
9791
|
y: t.clientY,
|
|
9792
9792
|
sourceEvent: t,
|
|
@@ -9798,7 +9798,7 @@ function jo(o, t, e) {
|
|
|
9798
9798
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9799
9799
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9800
9800
|
*/
|
|
9801
|
-
const rr =
|
|
9801
|
+
const rr = U(
|
|
9802
9802
|
(o) => class extends o {
|
|
9803
9803
|
static get properties() {
|
|
9804
9804
|
return {
|
|
@@ -9843,7 +9843,7 @@ const rr = V(
|
|
|
9843
9843
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9844
9844
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9845
9845
|
*/
|
|
9846
|
-
const Ut =
|
|
9846
|
+
const Ut = U(
|
|
9847
9847
|
(o) => class extends o {
|
|
9848
9848
|
/** @protected */
|
|
9849
9849
|
ready() {
|
|
@@ -9905,7 +9905,7 @@ const Ut = V(
|
|
|
9905
9905
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9906
9906
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9907
9907
|
*/
|
|
9908
|
-
const
|
|
9908
|
+
const vc = (o) => class extends rr(Ut(o)) {
|
|
9909
9909
|
/**
|
|
9910
9910
|
* An array of activation keys.
|
|
9911
9911
|
*
|
|
@@ -9920,9 +9920,9 @@ const bc = (o) => class extends rr(Ut(o)) {
|
|
|
9920
9920
|
}
|
|
9921
9921
|
/** @protected */
|
|
9922
9922
|
ready() {
|
|
9923
|
-
super.ready(),
|
|
9923
|
+
super.ready(), ge(this, "down", (e) => {
|
|
9924
9924
|
this._shouldSetActive(e) && this._setActive(!0);
|
|
9925
|
-
}),
|
|
9925
|
+
}), ge(this, "up", () => {
|
|
9926
9926
|
this._setActive(!1);
|
|
9927
9927
|
});
|
|
9928
9928
|
}
|
|
@@ -9968,7 +9968,7 @@ const bc = (o) => class extends rr(Ut(o)) {
|
|
|
9968
9968
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9969
9969
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9970
9970
|
*/
|
|
9971
|
-
const Xi =
|
|
9971
|
+
const Xi = U(
|
|
9972
9972
|
(o) => class extends o {
|
|
9973
9973
|
/**
|
|
9974
9974
|
* @protected
|
|
@@ -10076,7 +10076,7 @@ const nr = (o) => class extends rr(o) {
|
|
|
10076
10076
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10077
10077
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10078
10078
|
*/
|
|
10079
|
-
const
|
|
10079
|
+
const yc = (o) => class extends vc(nr(Xi(o))) {
|
|
10080
10080
|
static get properties() {
|
|
10081
10081
|
return {
|
|
10082
10082
|
/**
|
|
@@ -10131,26 +10131,26 @@ const vc = (o) => class extends bc(nr(Xi(o))) {
|
|
|
10131
10131
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10132
10132
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10133
10133
|
*/
|
|
10134
|
-
|
|
10135
|
-
class
|
|
10134
|
+
L("vaadin-button", tc, { moduleId: "vaadin-button-styles" });
|
|
10135
|
+
class xc extends yc(Zs($e(it(Me)))) {
|
|
10136
10136
|
static get is() {
|
|
10137
10137
|
return "vaadin-button";
|
|
10138
10138
|
}
|
|
10139
10139
|
static get template() {
|
|
10140
|
-
return
|
|
10140
|
+
return ic(je);
|
|
10141
10141
|
}
|
|
10142
10142
|
/** @protected */
|
|
10143
10143
|
ready() {
|
|
10144
10144
|
super.ready(), this._tooltipController = new er(this), this.addController(this._tooltipController);
|
|
10145
10145
|
}
|
|
10146
10146
|
}
|
|
10147
|
-
|
|
10147
|
+
be(xc);
|
|
10148
10148
|
/**
|
|
10149
10149
|
* @license
|
|
10150
10150
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10151
10151
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10152
10152
|
*/
|
|
10153
|
-
function
|
|
10153
|
+
function wc(o) {
|
|
10154
10154
|
let t = o.getDay();
|
|
10155
10155
|
t === 0 && (t = 7);
|
|
10156
10156
|
const e = 4 - t, i = new Date(o.getTime() + e * 24 * 3600 * 1e3), s = new Date(0, 0);
|
|
@@ -10194,7 +10194,7 @@ function lr(o) {
|
|
|
10194
10194
|
const t = /* @__PURE__ */ new Date(), e = new Date(t);
|
|
10195
10195
|
return e.setDate(1), e.setMonth(parseInt(o) + t.getMonth()), e;
|
|
10196
10196
|
}
|
|
10197
|
-
function
|
|
10197
|
+
function Ec(o, t, e = 0, i = 1) {
|
|
10198
10198
|
if (t > 99)
|
|
10199
10199
|
throw new Error("The provided year cannot have more than 2 digits.");
|
|
10200
10200
|
if (t < 0)
|
|
@@ -10209,15 +10209,15 @@ function at(o) {
|
|
|
10209
10209
|
const e = new Date(0, 0);
|
|
10210
10210
|
return e.setFullYear(parseInt(t[1], 10)), e.setMonth(parseInt(t[2], 10) - 1), e.setDate(parseInt(t[3], 10)), e;
|
|
10211
10211
|
}
|
|
10212
|
-
function
|
|
10212
|
+
function Sc(o) {
|
|
10213
10213
|
const t = (l, c = "00") => (c + l).substr((c + l).length - c.length);
|
|
10214
10214
|
let e = "", i = "0000", s = o.year;
|
|
10215
10215
|
s < 0 ? (s = -s, e = "-", i = "000000") : o.year >= 1e4 && (e = "+", i = "000000");
|
|
10216
10216
|
const r = e + t(s, i), n = t(o.month + 1), a = t(o.day);
|
|
10217
10217
|
return [r, n, a].join("-");
|
|
10218
10218
|
}
|
|
10219
|
-
function
|
|
10220
|
-
return o instanceof Date ?
|
|
10219
|
+
function Cc(o) {
|
|
10220
|
+
return o instanceof Date ? Sc({
|
|
10221
10221
|
year: o.getFullYear(),
|
|
10222
10222
|
month: o.getMonth(),
|
|
10223
10223
|
day: o.getDate()
|
|
@@ -10324,9 +10324,9 @@ class Rt {
|
|
|
10324
10324
|
}
|
|
10325
10325
|
}
|
|
10326
10326
|
let yt = /* @__PURE__ */ new Set();
|
|
10327
|
-
const
|
|
10327
|
+
const Ac = function(o) {
|
|
10328
10328
|
yt.add(o);
|
|
10329
|
-
},
|
|
10329
|
+
}, Pc = function() {
|
|
10330
10330
|
const o = !!yt.size;
|
|
10331
10331
|
return yt.forEach((t) => {
|
|
10332
10332
|
try {
|
|
@@ -10350,7 +10350,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
10350
10350
|
const Qi = function() {
|
|
10351
10351
|
let o, t;
|
|
10352
10352
|
do
|
|
10353
|
-
o = window.ShadyDOM && ShadyDOM.flush(), window.ShadyCSS && window.ShadyCSS.ScopingShim && window.ShadyCSS.ScopingShim.flush(), t =
|
|
10353
|
+
o = window.ShadyDOM && ShadyDOM.flush(), window.ShadyCSS && window.ShadyCSS.ScopingShim && window.ShadyCSS.ScopingShim.flush(), t = Pc();
|
|
10354
10354
|
while (o || t);
|
|
10355
10355
|
};
|
|
10356
10356
|
/**
|
|
@@ -10583,7 +10583,7 @@ ur.innerHTML = `
|
|
|
10583
10583
|
}
|
|
10584
10584
|
</style>
|
|
10585
10585
|
`;
|
|
10586
|
-
class
|
|
10586
|
+
class kc extends dr {
|
|
10587
10587
|
static get is() {
|
|
10588
10588
|
return "vaadin-date-picker-month-scroller";
|
|
10589
10589
|
}
|
|
@@ -10607,7 +10607,7 @@ class Pc extends dr {
|
|
|
10607
10607
|
t.month = lr(e);
|
|
10608
10608
|
}
|
|
10609
10609
|
}
|
|
10610
|
-
|
|
10610
|
+
be(kc);
|
|
10611
10611
|
/**
|
|
10612
10612
|
* @license
|
|
10613
10613
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
@@ -10649,7 +10649,7 @@ hr.innerHTML = `
|
|
|
10649
10649
|
}
|
|
10650
10650
|
</style>
|
|
10651
10651
|
`;
|
|
10652
|
-
class
|
|
10652
|
+
class Dc extends dr {
|
|
10653
10653
|
static get is() {
|
|
10654
10654
|
return "vaadin-date-picker-year-scroller";
|
|
10655
10655
|
}
|
|
@@ -10678,13 +10678,13 @@ class kc extends dr {
|
|
|
10678
10678
|
return i.setFullYear(parseInt(t) + e.getFullYear()), i.getFullYear();
|
|
10679
10679
|
}
|
|
10680
10680
|
}
|
|
10681
|
-
|
|
10681
|
+
be(Dc);
|
|
10682
10682
|
/**
|
|
10683
10683
|
* @license
|
|
10684
10684
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10685
10685
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10686
10686
|
*/
|
|
10687
|
-
const
|
|
10687
|
+
const Tc = (o) => class extends o {
|
|
10688
10688
|
static get properties() {
|
|
10689
10689
|
return {
|
|
10690
10690
|
year: {
|
|
@@ -10710,7 +10710,7 @@ const Dc = (o) => class extends o {
|
|
|
10710
10710
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10711
10711
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10712
10712
|
*/
|
|
10713
|
-
class
|
|
10713
|
+
class Mc extends $e(Tc(Me)) {
|
|
10714
10714
|
static get is() {
|
|
10715
10715
|
return "vaadin-date-picker-year";
|
|
10716
10716
|
}
|
|
@@ -10727,7 +10727,7 @@ class Tc extends $e(Dc(Te)) {
|
|
|
10727
10727
|
`;
|
|
10728
10728
|
}
|
|
10729
10729
|
}
|
|
10730
|
-
|
|
10730
|
+
be(Mc);
|
|
10731
10731
|
/**
|
|
10732
10732
|
@license
|
|
10733
10733
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -10743,7 +10743,7 @@ function eo(o, t, e, i, s) {
|
|
|
10743
10743
|
let n = i !== e && (i === i || e === e);
|
|
10744
10744
|
return r && n && (o.__dataTemp[t] = e), n;
|
|
10745
10745
|
}
|
|
10746
|
-
const to =
|
|
10746
|
+
const to = U((o) => {
|
|
10747
10747
|
class t extends o {
|
|
10748
10748
|
/**
|
|
10749
10749
|
* Overrides `PropertyEffects` to provide option for skipping
|
|
@@ -10767,7 +10767,7 @@ const to = V((o) => {
|
|
|
10767
10767
|
}
|
|
10768
10768
|
}
|
|
10769
10769
|
return t;
|
|
10770
|
-
}),
|
|
10770
|
+
}), Oc = U((o) => {
|
|
10771
10771
|
class t extends o {
|
|
10772
10772
|
/** @nocollapse */
|
|
10773
10773
|
static get properties() {
|
|
@@ -10824,13 +10824,13 @@ Ti.prototype = Object.create(HTMLTemplateElement.prototype, {
|
|
|
10824
10824
|
writable: !0
|
|
10825
10825
|
}
|
|
10826
10826
|
});
|
|
10827
|
-
const pr = ji(Ti),
|
|
10828
|
-
function
|
|
10827
|
+
const pr = ji(Ti), Ic = to(pr);
|
|
10828
|
+
function Nc(o, t) {
|
|
10829
10829
|
Di = o, Object.setPrototypeOf(o, t.prototype), new t(), Di = null;
|
|
10830
10830
|
}
|
|
10831
|
-
const
|
|
10831
|
+
const zc = ji(class {
|
|
10832
10832
|
});
|
|
10833
|
-
function
|
|
10833
|
+
function Fc(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 zc(o, t) {
|
|
|
10848
10848
|
i.__hideTemplateChildren__ = o, i._showHideChildren && i._showHideChildren(o);
|
|
10849
10849
|
}
|
|
10850
10850
|
}
|
|
10851
|
-
class
|
|
10851
|
+
class Oe extends zc {
|
|
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 Me extends Nc {
|
|
|
10917
10917
|
* @protected
|
|
10918
10918
|
*/
|
|
10919
10919
|
_showHideChildren(t) {
|
|
10920
|
-
|
|
10920
|
+
Fc(t, this.children);
|
|
10921
10921
|
}
|
|
10922
10922
|
/**
|
|
10923
10923
|
* Overrides default property-effects implementation to intercept
|
|
@@ -10965,36 +10965,36 @@ class Me extends Nc {
|
|
|
10965
10965
|
return !0;
|
|
10966
10966
|
}
|
|
10967
10967
|
}
|
|
10968
|
-
|
|
10969
|
-
|
|
10970
|
-
|
|
10971
|
-
|
|
10972
|
-
|
|
10973
|
-
const
|
|
10968
|
+
Oe.prototype.__dataHost;
|
|
10969
|
+
Oe.prototype.__templatizeOptions;
|
|
10970
|
+
Oe.prototype._methodHost;
|
|
10971
|
+
Oe.prototype.__templatizeOwner;
|
|
10972
|
+
Oe.prototype.__hostProps;
|
|
10973
|
+
const Lc = to(
|
|
10974
10974
|
// This cast shouldn't be neccessary, but Closure doesn't understand that
|
|
10975
10975
|
// TemplateInstanceBase is a constructor function.
|
|
10976
10976
|
/** @type {function(new:TemplateInstanceBase)} */
|
|
10977
|
-
|
|
10977
|
+
Oe
|
|
10978
10978
|
);
|
|
10979
10979
|
function Vo(o) {
|
|
10980
10980
|
let t = o.__dataHost;
|
|
10981
10981
|
return t && t._methodHost || t;
|
|
10982
10982
|
}
|
|
10983
|
-
function
|
|
10984
|
-
let i = e.mutableData ?
|
|
10983
|
+
function Rc(o, t, e) {
|
|
10984
|
+
let i = e.mutableData ? Lc : Oe;
|
|
10985
10985
|
Mi.mixin && (i = Mi.mixin(i));
|
|
10986
10986
|
let s = class extends i {
|
|
10987
10987
|
};
|
|
10988
|
-
return s.prototype.__templatizeOptions = e, s.prototype._bindTemplate(o),
|
|
10988
|
+
return s.prototype.__templatizeOptions = e, s.prototype._bindTemplate(o), $c(s, o, t, e), s;
|
|
10989
10989
|
}
|
|
10990
|
-
function
|
|
10990
|
+
function Bc(o, t, e, i) {
|
|
10991
10991
|
let s = e.forwardHostProp;
|
|
10992
10992
|
if (s && t.hasHostProps) {
|
|
10993
10993
|
const r = o.localName == "template";
|
|
10994
10994
|
let n = t.templatizeTemplateClass;
|
|
10995
10995
|
if (!n) {
|
|
10996
10996
|
if (r) {
|
|
10997
|
-
let l = e.mutableData ?
|
|
10997
|
+
let l = e.mutableData ? Ic : pr;
|
|
10998
10998
|
class c extends l {
|
|
10999
10999
|
}
|
|
11000
11000
|
n = t.templatizeTemplateClass = c;
|
|
@@ -11009,12 +11009,12 @@ function Rc(o, t, e, i) {
|
|
|
11009
11009
|
n.prototype._addPropertyEffect(
|
|
11010
11010
|
"_host_" + l,
|
|
11011
11011
|
n.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE,
|
|
11012
|
-
{ fn:
|
|
11012
|
+
{ fn: Hc(l, s) }
|
|
11013
11013
|
), n.prototype._createNotifyingProperty("_host_" + l);
|
|
11014
|
-
bs && i &&
|
|
11014
|
+
bs && i && Vc(t, e, i);
|
|
11015
11015
|
}
|
|
11016
11016
|
if (o.__dataProto && Object.assign(o.__data, o.__dataProto), r)
|
|
11017
|
-
|
|
11017
|
+
Nc(o, n), o.__dataTemp = {}, o.__dataPending = null, o.__dataOld = null, o._enableProperties();
|
|
11018
11018
|
else {
|
|
11019
11019
|
Object.setPrototypeOf(o, n.prototype);
|
|
11020
11020
|
const a = t.hostProps;
|
|
@@ -11026,7 +11026,7 @@ function Rc(o, t, e, i) {
|
|
|
11026
11026
|
}
|
|
11027
11027
|
}
|
|
11028
11028
|
}
|
|
11029
|
-
function
|
|
11029
|
+
function Hc(o, t) {
|
|
11030
11030
|
return function(i, s, r) {
|
|
11031
11031
|
t.call(
|
|
11032
11032
|
i.__templatizeOwner,
|
|
@@ -11035,7 +11035,7 @@ function Bc(o, t) {
|
|
|
11035
11035
|
);
|
|
11036
11036
|
};
|
|
11037
11037
|
}
|
|
11038
|
-
function
|
|
11038
|
+
function $c(o, t, e, i) {
|
|
11039
11039
|
let s = e.hostProps || {};
|
|
11040
11040
|
for (let r in i.instanceProps) {
|
|
11041
11041
|
delete s[r];
|
|
@@ -11043,7 +11043,7 @@ function Hc(o, t, e, i) {
|
|
|
11043
11043
|
n && o.prototype._addPropertyEffect(
|
|
11044
11044
|
r,
|
|
11045
11045
|
o.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,
|
|
11046
|
-
{ fn:
|
|
11046
|
+
{ fn: Yc(r, n) }
|
|
11047
11047
|
);
|
|
11048
11048
|
}
|
|
11049
11049
|
if (i.forwardHostProp && t.__dataHost)
|
|
@@ -11051,10 +11051,10 @@ function Hc(o, t, e, i) {
|
|
|
11051
11051
|
e.hasHostProps || (e.hasHostProps = !0), o.prototype._addPropertyEffect(
|
|
11052
11052
|
r,
|
|
11053
11053
|
o.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,
|
|
11054
|
-
{ fn:
|
|
11054
|
+
{ fn: jc() }
|
|
11055
11055
|
);
|
|
11056
11056
|
}
|
|
11057
|
-
function
|
|
11057
|
+
function Yc(o, t) {
|
|
11058
11058
|
return function(i, s, r) {
|
|
11059
11059
|
t.call(
|
|
11060
11060
|
i.__templatizeOwner,
|
|
@@ -11064,7 +11064,7 @@ function $c(o, t) {
|
|
|
11064
11064
|
);
|
|
11065
11065
|
};
|
|
11066
11066
|
}
|
|
11067
|
-
function
|
|
11067
|
+
function jc() {
|
|
11068
11068
|
return function(t, e, i) {
|
|
11069
11069
|
t.__dataHost._setPendingPropertyOrPath("_host_" + e, i[e], !0, !0);
|
|
11070
11070
|
};
|
|
@@ -11076,10 +11076,10 @@ function Mi(o, t, e) {
|
|
|
11076
11076
|
e || {}, o.__templatizeOwner)
|
|
11077
11077
|
throw new Error("A <template> can only be templatized once");
|
|
11078
11078
|
o.__templatizeOwner = t;
|
|
11079
|
-
let s = (t ? t.constructor :
|
|
11080
|
-
r || (r =
|
|
11079
|
+
let s = (t ? t.constructor : Oe)._parseTemplate(o), r = s.templatizeInstanceClass;
|
|
11080
|
+
r || (r = Rc(o, s, e), s.templatizeInstanceClass = r);
|
|
11081
11081
|
const n = Vo(o);
|
|
11082
|
-
|
|
11082
|
+
Bc(o, s, e, n);
|
|
11083
11083
|
let a = class extends r {
|
|
11084
11084
|
};
|
|
11085
11085
|
return a.prototype._methodHost = n, a.prototype.__dataHost = /** @type {!DataTemplate} */
|
|
@@ -11087,7 +11087,7 @@ function Mi(o, t, e) {
|
|
|
11087
11087
|
t, a.prototype.__hostProps = s.hostProps, a = /** @type {function(new:TemplateInstanceBase)} */
|
|
11088
11088
|
a, a;
|
|
11089
11089
|
}
|
|
11090
|
-
function
|
|
11090
|
+
function Vc(o, t, e) {
|
|
11091
11091
|
const i = e.constructor._properties, { propertyEffects: s } = o, { instanceProps: r } = t;
|
|
11092
11092
|
for (let n in s)
|
|
11093
11093
|
if (!i[n] && !(r && r[n])) {
|
|
@@ -11101,7 +11101,7 @@ function jc(o, t, e) {
|
|
|
11101
11101
|
}
|
|
11102
11102
|
}
|
|
11103
11103
|
}
|
|
11104
|
-
function
|
|
11104
|
+
function Uc(o, t) {
|
|
11105
11105
|
let e;
|
|
11106
11106
|
for (; t; )
|
|
11107
11107
|
if (e = t.__dataHost ? t : t.__templatizeInstance)
|
|
@@ -11123,7 +11123,7 @@ Code distributed by Google as part of the polymer project is also
|
|
|
11123
11123
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11124
11124
|
*/
|
|
11125
11125
|
let Uo = !1;
|
|
11126
|
-
function
|
|
11126
|
+
function Wc() {
|
|
11127
11127
|
if (gs && !_s) {
|
|
11128
11128
|
if (!Uo) {
|
|
11129
11129
|
Uo = !0;
|
|
@@ -11143,8 +11143,8 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11143
11143
|
Code distributed by Google as part of the polymer project is also
|
|
11144
11144
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11145
11145
|
*/
|
|
11146
|
-
const
|
|
11147
|
-
class Wo extends
|
|
11146
|
+
const qc = Oc(Me);
|
|
11147
|
+
class Wo extends qc {
|
|
11148
11148
|
// Not needed to find template; can be removed once the analyzer
|
|
11149
11149
|
// can find the tag name from customElements.define call
|
|
11150
11150
|
static get is() {
|
|
@@ -11322,7 +11322,7 @@ class Wo extends Wc {
|
|
|
11322
11322
|
* @return {void}
|
|
11323
11323
|
*/
|
|
11324
11324
|
connectedCallback() {
|
|
11325
|
-
if (super.connectedCallback(),
|
|
11325
|
+
if (super.connectedCallback(), Wc() || (this.style.display = "none"), this.__isDetached) {
|
|
11326
11326
|
this.__isDetached = !1;
|
|
11327
11327
|
let t = K(K(this).parentNode);
|
|
11328
11328
|
for (let e = 0; e < this.__instances.length; e++)
|
|
@@ -11372,7 +11372,7 @@ class Wo extends Wc {
|
|
|
11372
11372
|
* @param {*} value Value to notify
|
|
11373
11373
|
*/
|
|
11374
11374
|
notifyInstanceProp: function(s, r, n) {
|
|
11375
|
-
if (
|
|
11375
|
+
if (Xn(this.as, r)) {
|
|
11376
11376
|
let a = s[this.itemsIndexAs];
|
|
11377
11377
|
r == this.as && (this.items[a] = n);
|
|
11378
11378
|
let l = gt(this.as, `${JSCompiler_renameProperty("items", this)}.${a}`, r);
|
|
@@ -11428,9 +11428,9 @@ class Wo extends Wc {
|
|
|
11428
11428
|
__debounceRender(t, e = 0) {
|
|
11429
11429
|
this.__renderDebouncer = Rt.debounce(
|
|
11430
11430
|
this.__renderDebouncer,
|
|
11431
|
-
e > 0 ?
|
|
11431
|
+
e > 0 ? oa.after(e) : ks,
|
|
11432
11432
|
t.bind(this)
|
|
11433
|
-
),
|
|
11433
|
+
), Ac(this.__renderDebouncer);
|
|
11434
11434
|
}
|
|
11435
11435
|
/**
|
|
11436
11436
|
* Forces the element to render its content. Normally rendering is
|
|
@@ -11590,7 +11590,7 @@ class Wo extends Wc {
|
|
|
11590
11590
|
* the element.
|
|
11591
11591
|
*/
|
|
11592
11592
|
modelForElement(t) {
|
|
11593
|
-
return
|
|
11593
|
+
return Uc(this.template, t);
|
|
11594
11594
|
}
|
|
11595
11595
|
}
|
|
11596
11596
|
customElements.define(Wo.is, Wo);
|
|
@@ -11599,7 +11599,7 @@ customElements.define(Wo.is, Wo);
|
|
|
11599
11599
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11600
11600
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11601
11601
|
*/
|
|
11602
|
-
const
|
|
11602
|
+
const Kc = (o) => class extends Xi(o) {
|
|
11603
11603
|
static get properties() {
|
|
11604
11604
|
return {
|
|
11605
11605
|
/**
|
|
@@ -11695,7 +11695,7 @@ const qc = (o) => class extends Xi(o) {
|
|
|
11695
11695
|
}
|
|
11696
11696
|
/** @protected */
|
|
11697
11697
|
ready() {
|
|
11698
|
-
super.ready(),
|
|
11698
|
+
super.ready(), ge(this.$.monthGrid, "tap", this._handleTap.bind(this));
|
|
11699
11699
|
}
|
|
11700
11700
|
/**
|
|
11701
11701
|
* Returns true if all the dates in the month are out of the allowed range
|
|
@@ -11782,7 +11782,7 @@ const qc = (o) => class extends Xi(o) {
|
|
|
11782
11782
|
/** @protected */
|
|
11783
11783
|
__getWeekNumber(e) {
|
|
11784
11784
|
const i = e.reduce((s, r) => !s && r ? r : s);
|
|
11785
|
-
return
|
|
11785
|
+
return wc(i);
|
|
11786
11786
|
}
|
|
11787
11787
|
/** @protected */
|
|
11788
11788
|
__getDayAriaLabel(e) {
|
|
@@ -11797,7 +11797,7 @@ const qc = (o) => class extends Xi(o) {
|
|
|
11797
11797
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11798
11798
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11799
11799
|
*/
|
|
11800
|
-
const
|
|
11800
|
+
const Gc = P`
|
|
11801
11801
|
:host {
|
|
11802
11802
|
display: block;
|
|
11803
11803
|
}
|
|
@@ -11859,10 +11859,10 @@ const Kc = P`
|
|
|
11859
11859
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11860
11860
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11861
11861
|
*/
|
|
11862
|
-
|
|
11862
|
+
L("vaadin-month-calendar", Gc, {
|
|
11863
11863
|
moduleId: "vaadin-month-calendar-styles"
|
|
11864
11864
|
});
|
|
11865
|
-
class
|
|
11865
|
+
class Jc extends Kc($e(Me)) {
|
|
11866
11866
|
static get template() {
|
|
11867
11867
|
return je`
|
|
11868
11868
|
<div part="month-header" id="month-header" aria-hidden="true">[[_getTitle(month, i18n)]]</div>
|
|
@@ -11970,7 +11970,7 @@ class Gc extends qc($e(Te)) {
|
|
|
11970
11970
|
return this.__isDayFocused(t, e) ? "0" : "-1";
|
|
11971
11971
|
}
|
|
11972
11972
|
}
|
|
11973
|
-
|
|
11973
|
+
be(Jc);
|
|
11974
11974
|
/**
|
|
11975
11975
|
* @license
|
|
11976
11976
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
@@ -12004,7 +12004,7 @@ class fr {
|
|
|
12004
12004
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12005
12005
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12006
12006
|
*/
|
|
12007
|
-
const
|
|
12007
|
+
const Xc = (o) => class extends o {
|
|
12008
12008
|
static get properties() {
|
|
12009
12009
|
return {
|
|
12010
12010
|
scrollDuration: {
|
|
@@ -12132,7 +12132,7 @@ const Jc = (o) => class extends o {
|
|
|
12132
12132
|
}
|
|
12133
12133
|
/** @protected */
|
|
12134
12134
|
_addListeners() {
|
|
12135
|
-
sr(this.$.scrollers, "pan-y"),
|
|
12135
|
+
sr(this.$.scrollers, "pan-y"), ge(this.$.scrollers, "track", this._track.bind(this)), ge(this.shadowRoot.querySelector('[part="clear-button"]'), "tap", this._clear.bind(this)), ge(this.shadowRoot.querySelector('[part="toggle-button"]'), "tap", this._cancel.bind(this)), ge(
|
|
12136
12136
|
this.shadowRoot.querySelector('[part="years-toggle-button"]'),
|
|
12137
12137
|
"tap",
|
|
12138
12138
|
this._toggleYearScroller.bind(this)
|
|
@@ -12148,14 +12148,14 @@ const Jc = (o) => class extends o {
|
|
|
12148
12148
|
new Le(this, "today-button", "vaadin-button", {
|
|
12149
12149
|
observe: !1,
|
|
12150
12150
|
initializer: (e) => {
|
|
12151
|
-
e.setAttribute("theme", "tertiary"), e.addEventListener("keydown", (i) => this.__onTodayButtonKeyDown(i)),
|
|
12151
|
+
e.setAttribute("theme", "tertiary"), e.addEventListener("keydown", (i) => this.__onTodayButtonKeyDown(i)), ge(e, "tap", this._onTodayTap.bind(this)), this._todayButton = e;
|
|
12152
12152
|
}
|
|
12153
12153
|
})
|
|
12154
12154
|
), this.addController(
|
|
12155
12155
|
new Le(this, "cancel-button", "vaadin-button", {
|
|
12156
12156
|
observe: !1,
|
|
12157
12157
|
initializer: (e) => {
|
|
12158
|
-
e.setAttribute("theme", "tertiary"), e.addEventListener("keydown", (i) => this.__onCancelButtonKeyDown(i)),
|
|
12158
|
+
e.setAttribute("theme", "tertiary"), e.addEventListener("keydown", (i) => this.__onCancelButtonKeyDown(i)), ge(e, "tap", this._cancel.bind(this)), this._cancelButton = e;
|
|
12159
12159
|
}
|
|
12160
12160
|
})
|
|
12161
12161
|
), this.__initMonthScroller(), this.__initYearScroller();
|
|
@@ -12206,7 +12206,7 @@ const Jc = (o) => class extends o {
|
|
|
12206
12206
|
new Le(this, "years", "vaadin-date-picker-year-scroller", {
|
|
12207
12207
|
observe: !1,
|
|
12208
12208
|
initializer: (e) => {
|
|
12209
|
-
e.setAttribute("aria-hidden", "true"),
|
|
12209
|
+
e.setAttribute("aria-hidden", "true"), ge(e, "tap", (i) => {
|
|
12210
12210
|
this._onYearTap(i);
|
|
12211
12211
|
}), e.addEventListener("custom-scroll", () => {
|
|
12212
12212
|
this._onYearScroll();
|
|
@@ -12613,7 +12613,7 @@ const Jc = (o) => class extends o {
|
|
|
12613
12613
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12614
12614
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12615
12615
|
*/
|
|
12616
|
-
const
|
|
12616
|
+
const Zc = P`
|
|
12617
12617
|
:host {
|
|
12618
12618
|
display: flex;
|
|
12619
12619
|
flex-direction: column;
|
|
@@ -12679,11 +12679,11 @@ const Xc = P`
|
|
|
12679
12679
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12680
12680
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12681
12681
|
*/
|
|
12682
|
-
|
|
12682
|
+
L("vaadin-date-picker-overlay-content", Zc, {
|
|
12683
12683
|
moduleId: "vaadin-date-picker-overlay-content-styles"
|
|
12684
12684
|
});
|
|
12685
|
-
class
|
|
12686
|
-
it($e(Yt(
|
|
12685
|
+
class Qc extends Xc(
|
|
12686
|
+
it($e(Yt(Me)))
|
|
12687
12687
|
) {
|
|
12688
12688
|
static get template() {
|
|
12689
12689
|
return je`
|
|
@@ -12716,13 +12716,13 @@ class Zc extends Jc(
|
|
|
12716
12716
|
super.ready(), this.setAttribute("role", "dialog"), this._addListeners(), this._initControllers();
|
|
12717
12717
|
}
|
|
12718
12718
|
}
|
|
12719
|
-
|
|
12719
|
+
be(Qc);
|
|
12720
12720
|
/**
|
|
12721
12721
|
* @license
|
|
12722
12722
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12723
12723
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12724
12724
|
*/
|
|
12725
|
-
const mr =
|
|
12725
|
+
const mr = U(
|
|
12726
12726
|
(o) => class extends Xi(nr(o)) {
|
|
12727
12727
|
static get properties() {
|
|
12728
12728
|
return {
|
|
@@ -12880,14 +12880,14 @@ const mr = V(
|
|
|
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 ed(o) {
|
|
12884
12884
|
return ri.has(o) || ri.set(o, /* @__PURE__ */ new Set()), ri.get(o);
|
|
12885
12885
|
}
|
|
12886
|
-
function
|
|
12886
|
+
function td(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 id = U(
|
|
12891
12891
|
(o) => class extends o {
|
|
12892
12892
|
/**
|
|
12893
12893
|
* List of styles to insert into root.
|
|
@@ -12902,9 +12902,9 @@ const td = V(
|
|
|
12902
12902
|
}
|
|
12903
12903
|
/** @private */
|
|
12904
12904
|
__applySlotStyles() {
|
|
12905
|
-
const e = this.getRootNode(), i =
|
|
12905
|
+
const e = this.getRootNode(), i = ed(e);
|
|
12906
12906
|
this.slotStyles.forEach((s) => {
|
|
12907
|
-
i.has(s) || (
|
|
12907
|
+
i.has(s) || (td(s, e), i.add(s));
|
|
12908
12908
|
});
|
|
12909
12909
|
}
|
|
12910
12910
|
}
|
|
@@ -12914,7 +12914,7 @@ const td = V(
|
|
|
12914
12914
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12915
12915
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12916
12916
|
*/
|
|
12917
|
-
const _r =
|
|
12917
|
+
const _r = U(
|
|
12918
12918
|
(o) => class extends o {
|
|
12919
12919
|
static get properties() {
|
|
12920
12920
|
return {
|
|
@@ -13118,7 +13118,7 @@ const _r = V(
|
|
|
13118
13118
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13119
13119
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13120
13120
|
*/
|
|
13121
|
-
const
|
|
13121
|
+
const od = (o) => class extends _r(Ut(o)) {
|
|
13122
13122
|
static get properties() {
|
|
13123
13123
|
return {
|
|
13124
13124
|
/**
|
|
@@ -13163,7 +13163,7 @@ const id = (o) => class extends _r(Ut(o)) {
|
|
|
13163
13163
|
* @protected
|
|
13164
13164
|
*/
|
|
13165
13165
|
_onClearButtonMouseDown(e) {
|
|
13166
|
-
e.preventDefault(),
|
|
13166
|
+
e.preventDefault(), wl || this.inputElement.focus();
|
|
13167
13167
|
}
|
|
13168
13168
|
/**
|
|
13169
13169
|
* Override an event listener inherited from `KeydownMixin` to clear on Esc.
|
|
@@ -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 sd(o, t) {
|
|
13213
13213
|
if (!o)
|
|
13214
13214
|
return;
|
|
13215
13215
|
const e = io(t), i = e.get(o);
|
|
@@ -13223,11 +13223,11 @@ function ai(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
|
13223
13223
|
s && a.delete(s), i && a.add(i);
|
|
13224
13224
|
return;
|
|
13225
13225
|
}
|
|
13226
|
-
r && (a ? i || n.delete(o) : br(o, t), gr(o, t)),
|
|
13226
|
+
r && (a ? i || n.delete(o) : br(o, t), gr(o, t)), Il(o, t, s);
|
|
13227
13227
|
const l = i || Vt(a);
|
|
13228
13228
|
l && Gs(o, t, l);
|
|
13229
13229
|
}
|
|
13230
|
-
function
|
|
13230
|
+
function rd(o, t) {
|
|
13231
13231
|
br(o, t), gr(o, t);
|
|
13232
13232
|
}
|
|
13233
13233
|
/**
|
|
@@ -13235,7 +13235,7 @@ function sd(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 nd {
|
|
13239
13239
|
constructor(t) {
|
|
13240
13240
|
this.host = t, this.__required = !1;
|
|
13241
13241
|
}
|
|
@@ -13308,7 +13308,7 @@ class rd {
|
|
|
13308
13308
|
* @private
|
|
13309
13309
|
* */
|
|
13310
13310
|
__setAriaLabelToAttribute(t) {
|
|
13311
|
-
this.__target && (t ? (
|
|
13311
|
+
this.__target && (t ? (rd(this.__target, "aria-labelledby"), this.__target.setAttribute("aria-label", t)) : this.__label && (sd(this.__target, "aria-labelledby"), this.__target.removeAttribute("aria-label")));
|
|
13312
13312
|
}
|
|
13313
13313
|
/**
|
|
13314
13314
|
* @param {string | null | undefined} labelId
|
|
@@ -13348,18 +13348,18 @@ class rd {
|
|
|
13348
13348
|
* Copyright (c) 2022 - 2024 Vaadin Ltd.
|
|
13349
13349
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13350
13350
|
*/
|
|
13351
|
-
const
|
|
13352
|
-
|
|
13353
|
-
|
|
13354
|
-
|
|
13355
|
-
document.body.appendChild(
|
|
13351
|
+
const me = document.createElement("div");
|
|
13352
|
+
me.style.position = "fixed";
|
|
13353
|
+
me.style.clip = "rect(0px, 0px, 0px, 0px)";
|
|
13354
|
+
me.setAttribute("aria-live", "polite");
|
|
13355
|
+
document.body.appendChild(me);
|
|
13356
13356
|
let Pt;
|
|
13357
|
-
function
|
|
13357
|
+
function ad(o, t = {}) {
|
|
13358
13358
|
const e = t.mode || "polite", i = t.timeout === void 0 ? 150 : t.timeout;
|
|
13359
|
-
e === "alert" ? (
|
|
13360
|
-
|
|
13361
|
-
})) : (Pt && Pt.cancel(),
|
|
13362
|
-
|
|
13359
|
+
e === "alert" ? (me.removeAttribute("aria-live"), me.removeAttribute("role"), Pt = Qe.debounce(Pt, Gl, () => {
|
|
13360
|
+
me.setAttribute("role", "alert");
|
|
13361
|
+
})) : (Pt && Pt.cancel(), me.removeAttribute("role"), me.setAttribute("aria-live", e)), me.textContent = "", setTimeout(() => {
|
|
13362
|
+
me.textContent = o;
|
|
13363
13363
|
}, i);
|
|
13364
13364
|
}
|
|
13365
13365
|
/**
|
|
@@ -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 ld extends oo {
|
|
13486
13486
|
constructor(t) {
|
|
13487
13487
|
super(t, "error-message", "div");
|
|
13488
13488
|
}
|
|
@@ -13556,7 +13556,7 @@ class ad 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 && ad(e, { mode: "assertive" })), super.updateDefaultNode(t);
|
|
13560
13560
|
}
|
|
13561
13561
|
}
|
|
13562
13562
|
/**
|
|
@@ -13564,7 +13564,7 @@ class ad 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 cd extends oo {
|
|
13568
13568
|
constructor(t) {
|
|
13569
13569
|
super(t, "helper", null);
|
|
13570
13570
|
}
|
|
@@ -13619,7 +13619,7 @@ class ld 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 dd extends oo {
|
|
13623
13623
|
constructor(t) {
|
|
13624
13624
|
super(t, "label", "label");
|
|
13625
13625
|
}
|
|
@@ -13672,7 +13672,7 @@ class cd 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 ud = U(
|
|
13676
13676
|
(o) => class extends it(o) {
|
|
13677
13677
|
static get properties() {
|
|
13678
13678
|
return {
|
|
@@ -13687,7 +13687,7 @@ const dd = V(
|
|
|
13687
13687
|
};
|
|
13688
13688
|
}
|
|
13689
13689
|
constructor() {
|
|
13690
|
-
super(), this._labelController = new
|
|
13690
|
+
super(), this._labelController = new dd(this), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
13691
13691
|
this.toggleAttribute("has-label", e.detail.hasContent);
|
|
13692
13692
|
});
|
|
13693
13693
|
}
|
|
@@ -13715,7 +13715,7 @@ const dd = V(
|
|
|
13715
13715
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13716
13716
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13717
13717
|
*/
|
|
13718
|
-
const vr =
|
|
13718
|
+
const vr = U(
|
|
13719
13719
|
(o) => class extends o {
|
|
13720
13720
|
static get properties() {
|
|
13721
13721
|
return {
|
|
@@ -13787,7 +13787,7 @@ const vr = V(
|
|
|
13787
13787
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13788
13788
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13789
13789
|
*/
|
|
13790
|
-
const
|
|
13790
|
+
const hd = (o) => class extends vr(ud(it(o))) {
|
|
13791
13791
|
static get properties() {
|
|
13792
13792
|
return {
|
|
13793
13793
|
/**
|
|
@@ -13837,7 +13837,7 @@ const ud = (o) => class extends vr(dd(it(o))) {
|
|
|
13837
13837
|
return ["_invalidChanged(invalid)", "_requiredChanged(required)"];
|
|
13838
13838
|
}
|
|
13839
13839
|
constructor() {
|
|
13840
|
-
super(), this._fieldAriaController = new
|
|
13840
|
+
super(), this._fieldAriaController = new nd(this), this._helperController = new cd(this), this._errorController = new ld(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 ud = (o) => class extends vr(dd(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 pd = U(
|
|
13932
13932
|
(o) => class extends o {
|
|
13933
13933
|
static get properties() {
|
|
13934
13934
|
return {
|
|
@@ -14009,8 +14009,8 @@ const hd = V(
|
|
|
14009
14009
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14010
14010
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14011
14011
|
*/
|
|
14012
|
-
const yr =
|
|
14013
|
-
(o) => class extends
|
|
14012
|
+
const yr = U(
|
|
14013
|
+
(o) => class extends pd(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 = V(
|
|
|
14094
14094
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14095
14095
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14096
14096
|
*/
|
|
14097
|
-
const
|
|
14098
|
-
mr(yr(
|
|
14097
|
+
const fd = (o) => class extends id(
|
|
14098
|
+
mr(yr(hd(od(Ut(o)))))
|
|
14099
14099
|
) {
|
|
14100
14100
|
static get properties() {
|
|
14101
14101
|
return {
|
|
@@ -14281,7 +14281,7 @@ const pd = (o) => class extends td(
|
|
|
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 md 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 fd 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 _d {
|
|
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 md {
|
|
|
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 gd = P`
|
|
14335
14335
|
[part='clear-button'] {
|
|
14336
14336
|
display: none;
|
|
14337
14337
|
cursor: default;
|
|
@@ -14350,7 +14350,7 @@ const _d = 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 bd = P`
|
|
14354
14354
|
:host {
|
|
14355
14355
|
display: inline-flex;
|
|
14356
14356
|
outline: none;
|
|
@@ -14390,7 +14390,7 @@ const gd = 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 vd = P`
|
|
14394
14394
|
[class$='container'] {
|
|
14395
14395
|
display: flex;
|
|
14396
14396
|
flex-direction: column;
|
|
@@ -14404,13 +14404,13 @@ const bd = 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 yd = [bd, vd, gd];
|
|
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 xd = (o) => class extends o {
|
|
14414
14414
|
static get properties() {
|
|
14415
14415
|
return {
|
|
14416
14416
|
/**
|
|
@@ -14457,7 +14457,7 @@ const yd = (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 wd {
|
|
14461
14461
|
/**
|
|
14462
14462
|
* @param {{ inputElement?: HTMLElement; opened: boolean } & HTMLElement} host
|
|
14463
14463
|
*/
|
|
@@ -14476,7 +14476,7 @@ class xd {
|
|
|
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 Ed = (o) => class extends xd(
|
|
14480
14480
|
it(mr(yr(Ut(o))))
|
|
14481
14481
|
) {
|
|
14482
14482
|
static get properties() {
|
|
@@ -14682,7 +14682,7 @@ const wd = (o) => class extends yd(
|
|
|
14682
14682
|
if (i.length === 3) {
|
|
14683
14683
|
if (n = parseInt(i[0]) - 1, r = parseInt(i[1]), a = parseInt(i[2]), i[2].length < 3 && a >= 0) {
|
|
14684
14684
|
const l = this.referenceDate ? at(this.referenceDate) : /* @__PURE__ */ new Date();
|
|
14685
|
-
a =
|
|
14685
|
+
a = Ec(l, a, n, r);
|
|
14686
14686
|
}
|
|
14687
14687
|
} else
|
|
14688
14688
|
i.length === 2 ? (n = parseInt(i[0]) - 1, r = parseInt(i[1])) : i.length === 1 && (r = parseInt(i[0]));
|
|
@@ -14859,7 +14859,7 @@ const wd = (o) => class extends yd(
|
|
|
14859
14859
|
new fr(this._fullscreenMediaQuery, (i) => {
|
|
14860
14860
|
this._fullscreen = i;
|
|
14861
14861
|
})
|
|
14862
|
-
), this.addController(new
|
|
14862
|
+
), this.addController(new wd(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 wd = (o) => class extends yd(
|
|
|
15017
15017
|
}
|
|
15018
15018
|
/** @private */
|
|
15019
15019
|
_formatISO(e) {
|
|
15020
|
-
return
|
|
15020
|
+
return Cc(e);
|
|
15021
15021
|
}
|
|
15022
15022
|
/** @protected */
|
|
15023
15023
|
_inputElementChanged(e) {
|
|
@@ -15249,7 +15249,7 @@ const wd = (o) => class extends yd(
|
|
|
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 Sd = P`
|
|
15253
15253
|
:host([opened]) {
|
|
15254
15254
|
pointer-events: auto;
|
|
15255
15255
|
}
|
|
@@ -15268,8 +15268,8 @@ const Ed = 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
|
-
|
|
15272
|
-
class
|
|
15271
|
+
L("vaadin-date-picker", [yd, Sd], { moduleId: "vaadin-date-picker-styles" });
|
|
15272
|
+
class Cd extends Ed(fd($e(Zs(Me)))) {
|
|
15273
15273
|
static get is() {
|
|
15274
15274
|
return "vaadin-date-picker";
|
|
15275
15275
|
}
|
|
@@ -15329,7 +15329,7 @@ class Sd extends wd(pd($e(Zs(Te)))) {
|
|
|
15329
15329
|
/** @protected */
|
|
15330
15330
|
ready() {
|
|
15331
15331
|
super.ready(), this.addController(
|
|
15332
|
-
new
|
|
15332
|
+
new md(
|
|
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 Sd extends wd(pd($e(Zs(Te)))) {
|
|
|
15341
15341
|
uniqueIdPrefix: "search-input"
|
|
15342
15342
|
}
|
|
15343
15343
|
)
|
|
15344
|
-
), this.addController(new
|
|
15344
|
+
), this.addController(new _d(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,12 +15357,12 @@ class Sd extends wd(pd($e(Zs(Te)))) {
|
|
|
15357
15357
|
super._openedChanged(t), this.$.overlay.positionTarget = this.shadowRoot.querySelector('[part="input-field"]'), this.$.overlay.noVerticalOverlap = !0;
|
|
15358
15358
|
}
|
|
15359
15359
|
}
|
|
15360
|
-
|
|
15360
|
+
be(Cd);
|
|
15361
15361
|
var xr = { exports: {} };
|
|
15362
15362
|
(function(o, t) {
|
|
15363
15363
|
(function(e, i) {
|
|
15364
15364
|
o.exports = i();
|
|
15365
|
-
})(
|
|
15365
|
+
})(Ar, 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) {
|
|
@@ -15423,64 +15423,64 @@ var xr = { exports: {} };
|
|
|
15423
15423
|
function g(p) {
|
|
15424
15424
|
var _, y;
|
|
15425
15425
|
_ = p, y = a && a.formats;
|
|
15426
|
-
for (var v = (p = _.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(
|
|
15427
|
-
var
|
|
15428
|
-
return
|
|
15429
|
-
return
|
|
15426
|
+
for (var v = (p = _.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(B, T, I) {
|
|
15427
|
+
var N = I && I.toUpperCase();
|
|
15428
|
+
return T || y[I] || e[I] || y[N].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(X, H, te) {
|
|
15429
|
+
return H || te.slice(1);
|
|
15430
15430
|
});
|
|
15431
15431
|
})).match(i), A = v.length, C = 0; C < A; C += 1) {
|
|
15432
|
-
var
|
|
15433
|
-
v[C] =
|
|
15432
|
+
var D = v[C], G = m[D], R = G && G[0], Y = G && G[1];
|
|
15433
|
+
v[C] = Y ? { regex: R, parser: Y } : D.replace(/^\[|\]$/g, "");
|
|
15434
15434
|
}
|
|
15435
|
-
return function(
|
|
15436
|
-
for (var
|
|
15437
|
-
var X = v[
|
|
15435
|
+
return function(B) {
|
|
15436
|
+
for (var T = {}, I = 0, N = 0; I < A; I += 1) {
|
|
15437
|
+
var X = v[I];
|
|
15438
15438
|
if (typeof X == "string")
|
|
15439
|
-
|
|
15439
|
+
N += X.length;
|
|
15440
15440
|
else {
|
|
15441
|
-
var
|
|
15442
|
-
|
|
15441
|
+
var H = X.regex, te = X.parser, pe = B.slice(N), q = H.exec(pe)[0];
|
|
15442
|
+
te.call(T, q), B = B.replace(q, "");
|
|
15443
15443
|
}
|
|
15444
15444
|
}
|
|
15445
|
-
return function(
|
|
15446
|
-
var
|
|
15447
|
-
if (
|
|
15448
|
-
var
|
|
15449
|
-
|
|
15445
|
+
return function(Z) {
|
|
15446
|
+
var j = Z.afternoon;
|
|
15447
|
+
if (j !== void 0) {
|
|
15448
|
+
var $ = Z.hours;
|
|
15449
|
+
j ? $ < 12 && (Z.hours += 12) : $ === 12 && (Z.hours = 0), delete Z.afternoon;
|
|
15450
15450
|
}
|
|
15451
|
-
}(
|
|
15451
|
+
}(T), T;
|
|
15452
15452
|
};
|
|
15453
15453
|
}
|
|
15454
15454
|
return function(p, _, y) {
|
|
15455
15455
|
y.p.customParseFormat = !0, p && p.parseTwoDigitYear && (l = p.parseTwoDigitYear);
|
|
15456
15456
|
var v = _.prototype, A = v.parse;
|
|
15457
15457
|
v.parse = function(C) {
|
|
15458
|
-
var
|
|
15458
|
+
var D = C.date, G = C.utc, R = C.args;
|
|
15459
15459
|
this.$u = G;
|
|
15460
|
-
var
|
|
15461
|
-
if (typeof
|
|
15462
|
-
var
|
|
15463
|
-
|
|
15460
|
+
var Y = R[1];
|
|
15461
|
+
if (typeof Y == "string") {
|
|
15462
|
+
var B = R[2] === !0, T = R[3] === !0, I = B || T, N = R[2];
|
|
15463
|
+
T && (N = R[2]), a = this.$locale(), !B && N && (a = y.Ls[N]), this.$d = function(pe, q, Z) {
|
|
15464
15464
|
try {
|
|
15465
15465
|
if (["x", "X"].indexOf(q) > -1)
|
|
15466
|
-
return new Date((q === "X" ? 1e3 : 1) *
|
|
15467
|
-
var
|
|
15468
|
-
|
|
15469
|
-
var ve = Ce || 0,
|
|
15470
|
-
return
|
|
15466
|
+
return new Date((q === "X" ? 1e3 : 1) * pe);
|
|
15467
|
+
var j = g(q)(pe), $ = j.year, Q = j.month, _e = j.day, Ce = j.hours, Ae = j.minutes, Ie = j.seconds, Pe = j.milliseconds, ke = j.zone, ie = /* @__PURE__ */ new Date(), oe = _e || ($ || Q ? 1 : ie.getDate()), z = $ || ie.getFullYear(), F = 0;
|
|
15468
|
+
$ && !Q || (F = Q > 0 ? Q - 1 : ie.getMonth());
|
|
15469
|
+
var ve = Ce || 0, fe = Ae || 0, J = Ie || 0, le = Pe || 0;
|
|
15470
|
+
return ke ? new Date(Date.UTC(z, F, oe, ve, fe, J, le + 60 * ke.offset * 1e3)) : Z ? new Date(Date.UTC(z, F, oe, ve, fe, J, le)) : new Date(z, F, oe, ve, fe, J, le);
|
|
15471
15471
|
} catch {
|
|
15472
15472
|
return /* @__PURE__ */ new Date("");
|
|
15473
15473
|
}
|
|
15474
|
-
}(
|
|
15475
|
-
} else if (
|
|
15476
|
-
for (var X =
|
|
15477
|
-
|
|
15478
|
-
var
|
|
15479
|
-
if (
|
|
15480
|
-
this.$d =
|
|
15474
|
+
}(D, Y, G), this.init(), N && N !== !0 && (this.$L = this.locale(N).$L), I && D != this.format(Y) && (this.$d = /* @__PURE__ */ new Date("")), a = {};
|
|
15475
|
+
} else if (Y instanceof Array)
|
|
15476
|
+
for (var X = Y.length, H = 1; H <= X; H += 1) {
|
|
15477
|
+
R[1] = Y[H - 1];
|
|
15478
|
+
var te = y.apply(this, R);
|
|
15479
|
+
if (te.isValid()) {
|
|
15480
|
+
this.$d = te.$d, this.$L = te.$L, this.init();
|
|
15481
15481
|
break;
|
|
15482
15482
|
}
|
|
15483
|
-
|
|
15483
|
+
H === X && (this.$d = /* @__PURE__ */ new Date(""));
|
|
15484
15484
|
}
|
|
15485
15485
|
else
|
|
15486
15486
|
A.call(this, C);
|
|
@@ -15488,13 +15488,13 @@ var xr = { exports: {} };
|
|
|
15488
15488
|
};
|
|
15489
15489
|
});
|
|
15490
15490
|
})(xr);
|
|
15491
|
-
var
|
|
15492
|
-
const
|
|
15491
|
+
var Ad = xr.exports;
|
|
15492
|
+
const Pd = /* @__PURE__ */ Cr(Ad);
|
|
15493
15493
|
function qo(o, t) {
|
|
15494
|
-
|
|
15494
|
+
Pr(o, t);
|
|
15495
15495
|
}
|
|
15496
|
-
function
|
|
15497
|
-
|
|
15496
|
+
function kd(o) {
|
|
15497
|
+
kr.set(o);
|
|
15498
15498
|
}
|
|
15499
15499
|
const Ko = {
|
|
15500
15500
|
en: {
|
|
@@ -15512,6 +15512,7 @@ const Ko = {
|
|
|
15512
15512
|
SelfExclusionFor30Days: "30 Days",
|
|
15513
15513
|
SelfExclusionFor6Months: "6 Months",
|
|
15514
15514
|
SelfExclusionFor1Year: "1 Year",
|
|
15515
|
+
SelfExclusionFor2Years: "2 Years",
|
|
15515
15516
|
SelfExclusionFor5Years: "5 Years",
|
|
15516
15517
|
SelfExclusionPermanent: "Permanent",
|
|
15517
15518
|
SelfExclusionUntilSelectedDate: "Until",
|
|
@@ -15538,6 +15539,7 @@ const Ko = {
|
|
|
15538
15539
|
SelfExclusionFor30Days: "30 Days",
|
|
15539
15540
|
SelfExclusionFor6Months: "6 Months",
|
|
15540
15541
|
SelfExclusionFor1Year: "1 Year",
|
|
15542
|
+
SelfExclusionFor2Years: "2 Years",
|
|
15541
15543
|
SelfExclusionFor5Years: "5 Years",
|
|
15542
15544
|
SelfExclusionPermanent: "Permanent",
|
|
15543
15545
|
SelfExclusionUntilSelectedDate: "Until",
|
|
@@ -15564,6 +15566,7 @@ const Ko = {
|
|
|
15564
15566
|
SelfExclusionFor30Days: "30天",
|
|
15565
15567
|
SelfExclusionFor6Months: "6個月",
|
|
15566
15568
|
SelfExclusionFor1Year: "1年",
|
|
15569
|
+
SelfExclusionFor2Years: "2年",
|
|
15567
15570
|
SelfExclusionFor5Years: "5年",
|
|
15568
15571
|
SelfExclusionPermanent: "永久",
|
|
15569
15572
|
SelfExclusionUntilSelectedDate: "直到",
|
|
@@ -15590,6 +15593,7 @@ const Ko = {
|
|
|
15590
15593
|
SelfExclusionFor30Days: "30 Jours",
|
|
15591
15594
|
SelfExclusionFor6Months: "6 Mois",
|
|
15592
15595
|
SelfExclusionFor1Year: "1 An",
|
|
15596
|
+
SelfExclusionFor2Years: "2 Ans",
|
|
15593
15597
|
SelfExclusionFor5Years: "5 Ans",
|
|
15594
15598
|
SelfExclusionPermanent: "Permanent",
|
|
15595
15599
|
SelfExclusionUntilSelectedDate: "Jusqu'à",
|
|
@@ -15616,6 +15620,7 @@ const Ko = {
|
|
|
15616
15620
|
SelfExclusionFor30Days: "30 de Zile",
|
|
15617
15621
|
SelfExclusionFor6Months: "6 Luni",
|
|
15618
15622
|
SelfExclusionFor1Year: "1 An",
|
|
15623
|
+
SelfExclusionFor2Years: "2 Ani",
|
|
15619
15624
|
SelfExclusionFor5Years: "5 Ani",
|
|
15620
15625
|
SelfExclusionPermanent: "Permanent",
|
|
15621
15626
|
SelfExclusionUntilSelectedDate: "Până la",
|
|
@@ -15642,6 +15647,7 @@ const Ko = {
|
|
|
15642
15647
|
SelfExclusionFor30Days: "30 Días",
|
|
15643
15648
|
SelfExclusionFor6Months: "6 Meses",
|
|
15644
15649
|
SelfExclusionFor1Year: "1 Año",
|
|
15650
|
+
SelfExclusionFor2Years: "2 Años",
|
|
15645
15651
|
SelfExclusionFor5Years: "5 Años",
|
|
15646
15652
|
SelfExclusionPermanent: "Permanente",
|
|
15647
15653
|
SelfExclusionUntilSelectedDate: "Hasta",
|
|
@@ -15668,6 +15674,7 @@ const Ko = {
|
|
|
15668
15674
|
SelfExclusionFor30Days: "30 Dias",
|
|
15669
15675
|
SelfExclusionFor6Months: "6 Meses",
|
|
15670
15676
|
SelfExclusionFor1Year: "1 Ano",
|
|
15677
|
+
SelfExclusionFor2Years: "2 Anos",
|
|
15671
15678
|
SelfExclusionFor5Years: "5 Anos",
|
|
15672
15679
|
SelfExclusionPermanent: "Permanente",
|
|
15673
15680
|
SelfExclusionUntilSelectedDate: "Até",
|
|
@@ -15694,6 +15701,7 @@ const Ko = {
|
|
|
15694
15701
|
SelfExclusionFor30Days: "30 Dana",
|
|
15695
15702
|
SelfExclusionFor6Months: "6 Mjeseci",
|
|
15696
15703
|
SelfExclusionFor1Year: "1 Godina",
|
|
15704
|
+
SelfExclusionFor2Years: "2 Godina",
|
|
15697
15705
|
SelfExclusionFor5Years: "5 Godina",
|
|
15698
15706
|
SelfExclusionPermanent: "Trajno",
|
|
15699
15707
|
SelfExclusionUntilSelectedDate: "Do",
|
|
@@ -15720,6 +15728,7 @@ const Ko = {
|
|
|
15720
15728
|
SelfExclusionFor30Days: "30 Dias",
|
|
15721
15729
|
SelfExclusionFor6Months: "6 Meses",
|
|
15722
15730
|
SelfExclusionFor1Year: "1 Ano",
|
|
15731
|
+
SelfExclusionFor2Years: "2 Anos",
|
|
15723
15732
|
SelfExclusionFor5Years: "5 Anos",
|
|
15724
15733
|
SelfExclusionPermanent: "Permanente",
|
|
15725
15734
|
SelfExclusionUntilSelectedDate: "Até",
|
|
@@ -15746,6 +15755,7 @@ const Ko = {
|
|
|
15746
15755
|
SelfExclusionFor30Days: "30 Días",
|
|
15747
15756
|
SelfExclusionFor6Months: "6 Meses",
|
|
15748
15757
|
SelfExclusionFor1Year: "1 Año",
|
|
15758
|
+
SelfExclusionFor2Years: "2 Anos",
|
|
15749
15759
|
SelfExclusionFor5Years: "5 Años",
|
|
15750
15760
|
SelfExclusionPermanent: "Permanente",
|
|
15751
15761
|
SelfExclusionUntilSelectedDate: "Hasta",
|
|
@@ -15772,6 +15782,7 @@ const Ko = {
|
|
|
15772
15782
|
SelfExclusionFor30Days: "30 Gün",
|
|
15773
15783
|
SelfExclusionFor6Months: "6 Ay",
|
|
15774
15784
|
SelfExclusionFor1Year: "1 Yıl",
|
|
15785
|
+
SelfExclusionFor2Years: "2 Yıl",
|
|
15775
15786
|
SelfExclusionFor5Years: "5 Yıl",
|
|
15776
15787
|
SelfExclusionPermanent: "Kalıcı",
|
|
15777
15788
|
SelfExclusionUntilSelectedDate: "Tarihe kadar",
|
|
@@ -15784,20 +15795,20 @@ const Ko = {
|
|
|
15784
15795
|
InvalidSession: "Oturum süresi doldu."
|
|
15785
15796
|
}
|
|
15786
15797
|
};
|
|
15787
|
-
function
|
|
15788
|
-
|
|
15798
|
+
function Dd(o) {
|
|
15799
|
+
Or(o, "svelte-e7t4wf", '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:300px;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}}');
|
|
15789
15800
|
}
|
|
15790
15801
|
function Go(o, t, e) {
|
|
15791
15802
|
const i = o.slice();
|
|
15792
|
-
return i[
|
|
15803
|
+
return i[56] = t[e], i;
|
|
15793
15804
|
}
|
|
15794
|
-
function
|
|
15805
|
+
function Td(o) {
|
|
15795
15806
|
let t, e, i, s, r = (
|
|
15796
15807
|
/*$_*/
|
|
15797
|
-
o[
|
|
15808
|
+
o[20]("titleSelfExclusion") + ""
|
|
15798
15809
|
), n, a, l, c, d = (
|
|
15799
15810
|
/*$_*/
|
|
15800
|
-
o[
|
|
15811
|
+
o[20]("selfExclusionText", {
|
|
15801
15812
|
values: {
|
|
15802
15813
|
operatorname: (
|
|
15803
15814
|
/*operator*/
|
|
@@ -15815,101 +15826,101 @@ function Dd(o) {
|
|
|
15815
15826
|
}) + ""
|
|
15816
15827
|
), u, h, m = (
|
|
15817
15828
|
/*$_*/
|
|
15818
|
-
o[
|
|
15819
|
-
), g, p, _, y, v, A, C,
|
|
15829
|
+
o[20]("selfExclusionEmailText") + ""
|
|
15830
|
+
), g, p, _, y, v, A, C, D, G, R = (
|
|
15820
15831
|
/*$_*/
|
|
15821
|
-
o[
|
|
15822
|
-
o[
|
|
15823
|
-
),
|
|
15832
|
+
o[20](`${/*selectedPeriodKey*/
|
|
15833
|
+
o[13]}`) + ""
|
|
15834
|
+
), Y, B, T, I, N, X, H, te, pe, q, Z, j, $, Q = (
|
|
15824
15835
|
/*$_*/
|
|
15825
|
-
o[
|
|
15826
|
-
),
|
|
15836
|
+
o[20]("save") + ""
|
|
15837
|
+
), _e, Ce, Ae, Ie, Pe, ke, ie = (
|
|
15827
15838
|
/*isMobile*/
|
|
15828
|
-
o[22] &&
|
|
15829
|
-
),
|
|
15839
|
+
o[22] && Od(o)
|
|
15840
|
+
), oe = ro(
|
|
15830
15841
|
/*selfExclusionPeriods*/
|
|
15831
|
-
o[
|
|
15832
|
-
),
|
|
15833
|
-
for (let x = 0; x <
|
|
15834
|
-
|
|
15835
|
-
let
|
|
15842
|
+
o[9]
|
|
15843
|
+
), z = [];
|
|
15844
|
+
for (let x = 0; x < oe.length; x += 1)
|
|
15845
|
+
z[x] = Jo(Go(o, oe, x));
|
|
15846
|
+
let F = (
|
|
15836
15847
|
/*isUntilDate*/
|
|
15837
|
-
o[
|
|
15848
|
+
o[16] && Xo(o)
|
|
15838
15849
|
);
|
|
15839
15850
|
function ve(x, M) {
|
|
15840
15851
|
return (
|
|
15841
15852
|
/*isPermanentSelfExclusion*/
|
|
15842
|
-
x[
|
|
15853
|
+
x[15] ? zd : (
|
|
15843
15854
|
/*isDateSelected*/
|
|
15844
|
-
x[
|
|
15855
|
+
x[17] ? Id : Nd
|
|
15845
15856
|
)
|
|
15846
15857
|
);
|
|
15847
15858
|
}
|
|
15848
|
-
let
|
|
15859
|
+
let fe = ve(o), J = fe(o), le = (
|
|
15849
15860
|
/*showConfirmationModal*/
|
|
15850
|
-
o[23] &&
|
|
15861
|
+
o[23] && Fd(o)
|
|
15851
15862
|
);
|
|
15852
15863
|
return {
|
|
15853
15864
|
c() {
|
|
15854
|
-
t = w("div"), e = w("form"),
|
|
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"), u = O(), h = w("p"), g = ae(m), p = O(), _ = w("a"), y = ae(
|
|
15855
15866
|
/*supportemail*/
|
|
15856
15867
|
o[2]
|
|
15857
|
-
), A = O(), C = w("div"),
|
|
15858
|
-
for (let x = 0; x <
|
|
15859
|
-
|
|
15860
|
-
|
|
15868
|
+
), A = O(), C = w("div"), D = w("div"), G = w("p"), Y = ae(R), B = O(), T = Ee("svg"), I = Ee("g"), N = Ee("path"), X = O(), H = w("div");
|
|
15869
|
+
for (let x = 0; x < z.length; x += 1)
|
|
15870
|
+
z[x].c();
|
|
15871
|
+
te = O(), F && F.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*/
|
|
15861
15872
|
(o[22] ? "PlayerSelfExclusionTitleNone" : "")), E(c, "class", "SelfExclusionDescriptionText"), E(_, "href", v = "mailto:" + /*supportemail*/
|
|
15862
15873
|
o[2]), E(h, "class", "SelfExclusionDescriptionText"), E(l, "class", "SelfExclusionDescription " + /*isMobile*/
|
|
15863
|
-
(o[22] ? "SelfExclusionDescriptionMobile" : "")), E(
|
|
15864
|
-
|
|
15874
|
+
(o[22] ? "SelfExclusionDescriptionMobile" : "")), E(N, "d", "M 90 24.25 c 0 -0.896 -0.342 -1.792 -1.025 -2.475 c -1.366 -1.367 -3.583 -1.367 -4.949 0 L 45 60.8 L 5.975 21.775 c -1.367 -1.367 -3.583 -1.367 -4.95 0 c -1.366 1.367 -1.366 3.583 0 4.95 l 41.5 41.5 c 1.366 1.367 3.583 1.367 4.949 0 l 41.5 -41.5 C 89.658 26.042 90 25.146 90 24.25 z"), E(N, "stroke-linecap", "round"), E(T, "xmlns", "http://www.w3.org/2000/svg"), E(T, "xmlns:xlink", "http://www.w3.org/1999/xlink"), E(T, "version", "1.1"), E(T, "viewBox", "0 0 100 100"), E(T, "xml:space", "preserve"), E(T, "class", "SelfExclusionConfigIcon"), Ve(
|
|
15875
|
+
T,
|
|
15865
15876
|
"active",
|
|
15866
15877
|
/*isPeriodDropDownToggled*/
|
|
15867
|
-
o[
|
|
15868
|
-
), E(
|
|
15869
|
-
|
|
15878
|
+
o[18]
|
|
15879
|
+
), E(D, "class", "SelfExclusionConfigLabel"), E(H, "class", "SelfExclusionDropDown"), Ve(
|
|
15880
|
+
H,
|
|
15870
15881
|
"active",
|
|
15871
15882
|
/*isPeriodDropDownToggled*/
|
|
15872
|
-
o[
|
|
15883
|
+
o[18]
|
|
15873
15884
|
), E(C, "class", "SelfExclusionConfigWrapper " + /*isMobile*/
|
|
15874
15885
|
(o[22] ? "SelfExclusionConfigWrapperMobile" : "")), Ve(
|
|
15875
15886
|
C,
|
|
15876
15887
|
"active",
|
|
15877
15888
|
/*isPeriodDropDownToggled*/
|
|
15878
|
-
o[
|
|
15889
|
+
o[18]
|
|
15879
15890
|
), E(q, "class", "SelfExclusionDescription " + /*isMobile*/
|
|
15880
|
-
(o[22] ? "SelfExclusionDescriptionMobile" : "")), E(
|
|
15881
|
-
(o[
|
|
15882
|
-
o[
|
|
15891
|
+
(o[22] ? "SelfExclusionDescriptionMobile" : "")), E($, "class", Ce = "SelfExclusionSave " + /*isDateSelected*/
|
|
15892
|
+
(o[17] ? "active" : "")), $.disabled = Ae = !/*isDateSelected*/
|
|
15893
|
+
o[17], E(j, "class", "SelfExclusionActionButtons " + /*isMobile*/
|
|
15883
15894
|
(o[22] ? "SelfExclusionActionButtonsMobile" : "")), E(e, "class", "SelfExclusionWrapper " + /*isMobile*/
|
|
15884
15895
|
(o[22] ? "SelfExclusionWrapperMobile" : "")), E(t, "class", "SelfExclusionContainer");
|
|
15885
15896
|
},
|
|
15886
15897
|
m(x, M) {
|
|
15887
|
-
|
|
15888
|
-
for (let
|
|
15889
|
-
|
|
15890
|
-
f(e,
|
|
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 = d, f(l, u), f(l, h), f(h, g), f(h, p), f(h, _), f(_, y), f(e, A), f(e, C), f(C, D), f(D, G), f(G, Y), f(D, B), f(D, T), f(T, I), f(I, N), f(C, X), f(C, H);
|
|
15899
|
+
for (let V = 0; V < z.length; V += 1)
|
|
15900
|
+
z[V] && z[V].m(H, null);
|
|
15901
|
+
f(e, te), F && F.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 = [
|
|
15891
15902
|
Tt(
|
|
15892
|
-
|
|
15903
|
+
D,
|
|
15893
15904
|
"click",
|
|
15894
15905
|
/*click_handler_1*/
|
|
15895
|
-
o[
|
|
15906
|
+
o[37]
|
|
15896
15907
|
),
|
|
15897
15908
|
Tt(
|
|
15898
|
-
|
|
15909
|
+
$,
|
|
15899
15910
|
"click",
|
|
15900
15911
|
/*click_handler_3*/
|
|
15901
|
-
o[
|
|
15912
|
+
o[40]
|
|
15902
15913
|
)
|
|
15903
|
-
],
|
|
15914
|
+
], Pe = !0);
|
|
15904
15915
|
},
|
|
15905
15916
|
p(x, M) {
|
|
15906
15917
|
if (
|
|
15907
15918
|
/*isMobile*/
|
|
15908
|
-
x[22] &&
|
|
15909
|
-
|
|
15910
|
-
x[
|
|
15911
|
-
|
|
15912
|
-
x[
|
|
15919
|
+
x[22] && ie.p(x, M), M[0] & /*$_*/
|
|
15920
|
+
1048576 && r !== (r = /*$_*/
|
|
15921
|
+
x[20]("titleSelfExclusion") + "") && de(n, r), M[0] & /*$_, operator, baseurl, lang*/
|
|
15922
|
+
1048587 && d !== (d = /*$_*/
|
|
15923
|
+
x[20]("selfExclusionText", {
|
|
15913
15924
|
values: {
|
|
15914
15925
|
operatorname: (
|
|
15915
15926
|
/*operator*/
|
|
@@ -15925,78 +15936,78 @@ function Dd(o) {
|
|
|
15925
15936
|
)
|
|
15926
15937
|
}
|
|
15927
15938
|
}) + "") && (c.innerHTML = d), M[0] & /*$_*/
|
|
15928
|
-
|
|
15929
|
-
x[
|
|
15930
|
-
4 &&
|
|
15939
|
+
1048576 && m !== (m = /*$_*/
|
|
15940
|
+
x[20]("selfExclusionEmailText") + "") && de(g, m), M[0] & /*supportemail*/
|
|
15941
|
+
4 && de(
|
|
15931
15942
|
y,
|
|
15932
15943
|
/*supportemail*/
|
|
15933
15944
|
x[2]
|
|
15934
15945
|
), M[0] & /*supportemail*/
|
|
15935
15946
|
4 && v !== (v = "mailto:" + /*supportemail*/
|
|
15936
15947
|
x[2]) && E(_, "href", v), M[0] & /*$_, selectedPeriodKey*/
|
|
15937
|
-
|
|
15938
|
-
x[
|
|
15939
|
-
x[
|
|
15940
|
-
|
|
15941
|
-
|
|
15948
|
+
1056768 && R !== (R = /*$_*/
|
|
15949
|
+
x[20](`${/*selectedPeriodKey*/
|
|
15950
|
+
x[13]}`) + "") && de(Y, R), M[0] & /*isPeriodDropDownToggled*/
|
|
15951
|
+
262144 && Ve(
|
|
15952
|
+
T,
|
|
15942
15953
|
"active",
|
|
15943
15954
|
/*isPeriodDropDownToggled*/
|
|
15944
|
-
x[
|
|
15955
|
+
x[18]
|
|
15945
15956
|
), M[0] & /*selectPeriod, selfExclusionPeriods, $_*/
|
|
15946
|
-
|
|
15957
|
+
34603520
|
|
15947
15958
|
) {
|
|
15948
|
-
|
|
15959
|
+
oe = ro(
|
|
15949
15960
|
/*selfExclusionPeriods*/
|
|
15950
|
-
x[
|
|
15961
|
+
x[9]
|
|
15951
15962
|
);
|
|
15952
|
-
let
|
|
15953
|
-
for (
|
|
15954
|
-
const wt = Go(x,
|
|
15955
|
-
|
|
15963
|
+
let V;
|
|
15964
|
+
for (V = 0; V < oe.length; V += 1) {
|
|
15965
|
+
const wt = Go(x, oe, V);
|
|
15966
|
+
z[V] ? z[V].p(wt, M) : (z[V] = Jo(wt), z[V].c(), z[V].m(H, null));
|
|
15956
15967
|
}
|
|
15957
|
-
for (;
|
|
15958
|
-
|
|
15959
|
-
|
|
15968
|
+
for (; V < z.length; V += 1)
|
|
15969
|
+
z[V].d(1);
|
|
15970
|
+
z.length = oe.length;
|
|
15960
15971
|
}
|
|
15961
15972
|
M[0] & /*isPeriodDropDownToggled*/
|
|
15962
|
-
|
|
15963
|
-
|
|
15973
|
+
262144 && Ve(
|
|
15974
|
+
H,
|
|
15964
15975
|
"active",
|
|
15965
15976
|
/*isPeriodDropDownToggled*/
|
|
15966
|
-
x[
|
|
15977
|
+
x[18]
|
|
15967
15978
|
), M[0] & /*isPeriodDropDownToggled*/
|
|
15968
|
-
|
|
15979
|
+
262144 && Ve(
|
|
15969
15980
|
C,
|
|
15970
15981
|
"active",
|
|
15971
15982
|
/*isPeriodDropDownToggled*/
|
|
15972
|
-
x[
|
|
15983
|
+
x[18]
|
|
15973
15984
|
), /*isUntilDate*/
|
|
15974
|
-
x[
|
|
15975
|
-
|
|
15976
|
-
x[
|
|
15977
|
-
|
|
15978
|
-
(x[
|
|
15979
|
-
|
|
15980
|
-
x[
|
|
15981
|
-
x[23] &&
|
|
15985
|
+
x[16] ? F ? F.p(x, M) : (F = Xo(x), F.c(), F.m(e, pe)) : F && (F.d(1), F = 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
|
+
1048576 && Q !== (Q = /*$_*/
|
|
15987
|
+
x[20]("save") + "") && de(_e, Q), M[0] & /*isDateSelected*/
|
|
15988
|
+
131072 && Ce !== (Ce = "SelfExclusionSave " + /*isDateSelected*/
|
|
15989
|
+
(x[17] ? "active" : "")) && E($, "class", Ce), M[0] & /*isDateSelected*/
|
|
15990
|
+
131072 && Ae !== (Ae = !/*isDateSelected*/
|
|
15991
|
+
x[17]) && ($.disabled = Ae), /*showConfirmationModal*/
|
|
15992
|
+
x[23] && le.p(x, M);
|
|
15982
15993
|
},
|
|
15983
15994
|
d(x) {
|
|
15984
|
-
x &&
|
|
15995
|
+
x && ue(t), ie && ie.d(), Fr(z, x), F && F.d(), J.d(), le && le.d(), Pe = !1, Lr(ke);
|
|
15985
15996
|
}
|
|
15986
15997
|
};
|
|
15987
15998
|
}
|
|
15988
|
-
function
|
|
15989
|
-
let t, e, i, s, r, n, a, l, c, d, u, h, m, g, p, _, y, v, A, C,
|
|
15990
|
-
function G(
|
|
15999
|
+
function Md(o) {
|
|
16000
|
+
let t, e, i, s, r, n, a, l, c, d, u, h, m, g, p, _, y, v, A, C, D;
|
|
16001
|
+
function G(B, T) {
|
|
15991
16002
|
return (
|
|
15992
16003
|
/*isMobile*/
|
|
15993
|
-
|
|
16004
|
+
B[22] ? Rd : Ld
|
|
15994
16005
|
);
|
|
15995
16006
|
}
|
|
15996
|
-
let
|
|
16007
|
+
let Y = G(o)(o);
|
|
15997
16008
|
return {
|
|
15998
16009
|
c() {
|
|
15999
|
-
t = w("div"), e = w("div"),
|
|
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"), d = O(), u = w("div"), h = O(), m = w("div"), g = w("ui-skeleton"), p = O(), _ = w("div"), y = O(), v = w("ui-skeleton"), A = O(), C = w("div"), D = w("ui-skeleton"), S(r, "structure", "text"), S(
|
|
16000
16011
|
r,
|
|
16001
16012
|
"height",
|
|
16002
16013
|
/*isMobile*/
|
|
@@ -16031,8 +16042,8 @@ function Td(o) {
|
|
|
16031
16042
|
"height",
|
|
16032
16043
|
/*isMobile*/
|
|
16033
16044
|
o[22] ? "15px" : "20px"
|
|
16034
|
-
), S(v, "width", "30%"), E(m, "class", "SelfExclusionConfig"), S(
|
|
16035
|
-
|
|
16045
|
+
), S(v, "width", "30%"), E(m, "class", "SelfExclusionConfig"), S(D, "structure", "rectangle"), S(D, "width", "100%"), S(
|
|
16046
|
+
D,
|
|
16036
16047
|
"height",
|
|
16037
16048
|
/*isMobile*/
|
|
16038
16049
|
o[22] ? "35px" : "50px"
|
|
@@ -16040,240 +16051,235 @@ function Td(o) {
|
|
|
16040
16051
|
(o[22] ? "SelfExclusionActionButtonsMobile" : "")), E(e, "class", "SelfExclusionWrapper " + /*isMobile*/
|
|
16041
16052
|
(o[22] ? "SelfExclusionWrapperMobile" : "")), E(t, "class", "SelfExclusionContainer");
|
|
16042
16053
|
},
|
|
16043
|
-
m(
|
|
16044
|
-
|
|
16054
|
+
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, d), f(s, u), f(e, h), f(e, m), f(m, g), f(m, p), f(m, _), f(m, y), f(m, v), f(e, A), f(e, C), f(C, D);
|
|
16045
16056
|
},
|
|
16046
16057
|
p: li,
|
|
16047
|
-
d(
|
|
16048
|
-
|
|
16058
|
+
d(B) {
|
|
16059
|
+
B && ue(t), Y.d();
|
|
16049
16060
|
}
|
|
16050
16061
|
};
|
|
16051
16062
|
}
|
|
16052
|
-
function
|
|
16063
|
+
function Od(o) {
|
|
16053
16064
|
let t, e, i, s, r, n, a, l, c, d, u = (
|
|
16054
16065
|
/*$_*/
|
|
16055
|
-
o[
|
|
16066
|
+
o[20]("titleSelfExclusion") + ""
|
|
16056
16067
|
), h, m, g;
|
|
16057
16068
|
return {
|
|
16058
16069
|
c() {
|
|
16059
|
-
t = w("div"), e = Ee("svg"), i = Ee("defs"), s = Ee("style"), r =
|
|
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(), d = w("h2"), h = ae(u), 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(d, "class", "PlayerSelfExclusionTitleMobile"), E(t, "class", "MenuReturnButton");
|
|
16060
16071
|
},
|
|
16061
16072
|
m(p, _) {
|
|
16062
|
-
|
|
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, d), f(d, h), m || (g = Tt(
|
|
16063
16074
|
t,
|
|
16064
16075
|
"click",
|
|
16065
16076
|
/*click_handler*/
|
|
16066
|
-
o[
|
|
16077
|
+
o[36]
|
|
16067
16078
|
), m = !0);
|
|
16068
16079
|
},
|
|
16069
16080
|
p(p, _) {
|
|
16070
16081
|
_[0] & /*$_*/
|
|
16071
|
-
|
|
16072
|
-
p[
|
|
16082
|
+
1048576 && u !== (u = /*$_*/
|
|
16083
|
+
p[20]("titleSelfExclusion") + "") && de(h, u);
|
|
16073
16084
|
},
|
|
16074
16085
|
d(p) {
|
|
16075
|
-
p &&
|
|
16086
|
+
p && ue(t), m = !1, g();
|
|
16076
16087
|
}
|
|
16077
16088
|
};
|
|
16078
16089
|
}
|
|
16079
16090
|
function Jo(o) {
|
|
16080
16091
|
let t, e = (
|
|
16081
16092
|
/*$_*/
|
|
16082
|
-
o[
|
|
16083
|
-
o[
|
|
16093
|
+
o[20](`${/*period*/
|
|
16094
|
+
o[56].key}`) + ""
|
|
16084
16095
|
), i, s, r;
|
|
16085
16096
|
function n() {
|
|
16086
16097
|
return (
|
|
16087
16098
|
/*click_handler_2*/
|
|
16088
|
-
o[
|
|
16099
|
+
o[38](
|
|
16089
16100
|
/*period*/
|
|
16090
|
-
o[
|
|
16101
|
+
o[56]
|
|
16091
16102
|
)
|
|
16092
16103
|
);
|
|
16093
16104
|
}
|
|
16094
16105
|
return {
|
|
16095
16106
|
c() {
|
|
16096
|
-
t = w("div"), i =
|
|
16107
|
+
t = w("div"), i = ae(e);
|
|
16097
16108
|
},
|
|
16098
16109
|
m(a, l) {
|
|
16099
|
-
|
|
16110
|
+
he(a, t, l), f(t, i), s || (r = Tt(t, "click", n), s = !0);
|
|
16100
16111
|
},
|
|
16101
16112
|
p(a, l) {
|
|
16102
16113
|
o = a, l[0] & /*$_, selfExclusionPeriods*/
|
|
16103
|
-
|
|
16104
|
-
o[
|
|
16105
|
-
o[
|
|
16114
|
+
1049088 && e !== (e = /*$_*/
|
|
16115
|
+
o[20](`${/*period*/
|
|
16116
|
+
o[56].key}`) + "") && de(i, e);
|
|
16106
16117
|
},
|
|
16107
16118
|
d(a) {
|
|
16108
|
-
a &&
|
|
16119
|
+
a && ue(t), s = !1, r();
|
|
16109
16120
|
}
|
|
16110
16121
|
};
|
|
16111
16122
|
}
|
|
16112
16123
|
function Xo(o) {
|
|
16113
16124
|
let t, e, i = (
|
|
16114
16125
|
/*$_*/
|
|
16115
|
-
o[
|
|
16126
|
+
o[20]("duration") + ""
|
|
16116
16127
|
), s, r, n, a = (
|
|
16117
16128
|
/*$_*/
|
|
16118
|
-
o[
|
|
16129
|
+
o[20]("dateInstructions") + ""
|
|
16119
16130
|
), l, c, d, u, h, m, g;
|
|
16120
16131
|
return {
|
|
16121
16132
|
c() {
|
|
16122
|
-
t = w("div"), e = w("label"), s =
|
|
16123
|
-
/*
|
|
16124
|
-
o[
|
|
16133
|
+
t = w("div"), e = w("label"), s = ae(i), r = O(), n = w("span"), l = ae(a), c = O(), d = w("strong"), u = ae(
|
|
16134
|
+
/*validDateformat*/
|
|
16135
|
+
o[21]
|
|
16125
16136
|
), h = w("strong"), m = O(), g = w("vaadin-date-picker"), E(e, "for", "SelfExclusionDate"), E(n, "class", "SelfExclusionDateInstructions"), S(
|
|
16126
16137
|
g,
|
|
16127
16138
|
"min",
|
|
16128
16139
|
/*minDate*/
|
|
16129
|
-
o[
|
|
16140
|
+
o[10]
|
|
16130
16141
|
), S(
|
|
16131
16142
|
g,
|
|
16132
16143
|
"max",
|
|
16133
16144
|
/*maxDate*/
|
|
16134
|
-
o[
|
|
16145
|
+
o[11]
|
|
16135
16146
|
), S(
|
|
16136
16147
|
g,
|
|
16137
16148
|
"value",
|
|
16138
16149
|
/*selfExclusionExpiryDate*/
|
|
16139
|
-
o[
|
|
16150
|
+
o[12]
|
|
16140
16151
|
), E(t, "class", "SelfExclusionDateWrapper " + /*isMobile*/
|
|
16141
16152
|
(o[22] ? "SelfExclusionDateWrapperMobile" : ""));
|
|
16142
16153
|
},
|
|
16143
16154
|
m(p, _) {
|
|
16144
|
-
|
|
16155
|
+
he(p, t, _), f(t, e), f(e, s), f(t, r), f(t, n), f(n, l), f(n, c), f(n, d), f(d, u), f(d, h), f(t, m), f(t, g), o[39](g);
|
|
16145
16156
|
},
|
|
16146
16157
|
p(p, _) {
|
|
16147
16158
|
_[0] & /*$_*/
|
|
16148
|
-
|
|
16149
|
-
p[
|
|
16150
|
-
|
|
16151
|
-
p[
|
|
16152
|
-
|
|
16153
|
-
u,
|
|
16154
|
-
/*dateformat*/
|
|
16155
|
-
p[7]
|
|
16156
|
-
), _[0] & /*minDate*/
|
|
16157
|
-
2048 && S(
|
|
16159
|
+
1048576 && i !== (i = /*$_*/
|
|
16160
|
+
p[20]("duration") + "") && de(s, i), _[0] & /*$_*/
|
|
16161
|
+
1048576 && a !== (a = /*$_*/
|
|
16162
|
+
p[20]("dateInstructions") + "") && de(l, a), _[0] & /*minDate*/
|
|
16163
|
+
1024 && S(
|
|
16158
16164
|
g,
|
|
16159
16165
|
"min",
|
|
16160
16166
|
/*minDate*/
|
|
16161
|
-
p[
|
|
16167
|
+
p[10]
|
|
16162
16168
|
), _[0] & /*maxDate*/
|
|
16163
|
-
|
|
16169
|
+
2048 && S(
|
|
16164
16170
|
g,
|
|
16165
16171
|
"max",
|
|
16166
16172
|
/*maxDate*/
|
|
16167
|
-
p[
|
|
16173
|
+
p[11]
|
|
16168
16174
|
), _[0] & /*selfExclusionExpiryDate*/
|
|
16169
|
-
|
|
16175
|
+
4096 && S(
|
|
16170
16176
|
g,
|
|
16171
16177
|
"value",
|
|
16172
16178
|
/*selfExclusionExpiryDate*/
|
|
16173
|
-
p[
|
|
16179
|
+
p[12]
|
|
16174
16180
|
);
|
|
16175
16181
|
},
|
|
16176
16182
|
d(p) {
|
|
16177
|
-
p &&
|
|
16183
|
+
p && ue(t), o[39](null);
|
|
16178
16184
|
}
|
|
16179
16185
|
};
|
|
16180
16186
|
}
|
|
16181
|
-
function
|
|
16187
|
+
function Id(o) {
|
|
16182
16188
|
let t, e, i = (
|
|
16183
16189
|
/*$_*/
|
|
16184
|
-
o[
|
|
16190
|
+
o[20]("temporarySelfExclusion", {
|
|
16185
16191
|
values: {
|
|
16186
16192
|
date: xe(
|
|
16187
16193
|
/*selfExclusionExpiryDate*/
|
|
16188
|
-
o[
|
|
16194
|
+
o[12]
|
|
16189
16195
|
).format(
|
|
16190
|
-
/*
|
|
16191
|
-
o[
|
|
16196
|
+
/*validDateformat*/
|
|
16197
|
+
o[21]
|
|
16192
16198
|
)
|
|
16193
16199
|
}
|
|
16194
16200
|
}) + ""
|
|
16195
16201
|
), s;
|
|
16196
16202
|
return {
|
|
16197
16203
|
c() {
|
|
16198
|
-
t = w("p"), e = w("strong"), s =
|
|
16204
|
+
t = w("p"), e = w("strong"), s = ae(i), E(t, "class", "SelfExclusionDescriptionText");
|
|
16199
16205
|
},
|
|
16200
16206
|
m(r, n) {
|
|
16201
|
-
|
|
16207
|
+
he(r, t, n), f(t, e), f(e, s);
|
|
16202
16208
|
},
|
|
16203
16209
|
p(r, n) {
|
|
16204
|
-
n[0] & /*$_, selfExclusionExpiryDate
|
|
16205
|
-
|
|
16206
|
-
r[
|
|
16210
|
+
n[0] & /*$_, selfExclusionExpiryDate*/
|
|
16211
|
+
1052672 && i !== (i = /*$_*/
|
|
16212
|
+
r[20]("temporarySelfExclusion", {
|
|
16207
16213
|
values: {
|
|
16208
16214
|
date: xe(
|
|
16209
16215
|
/*selfExclusionExpiryDate*/
|
|
16210
|
-
r[
|
|
16216
|
+
r[12]
|
|
16211
16217
|
).format(
|
|
16212
|
-
/*
|
|
16213
|
-
r[
|
|
16218
|
+
/*validDateformat*/
|
|
16219
|
+
r[21]
|
|
16214
16220
|
)
|
|
16215
16221
|
}
|
|
16216
|
-
}) + "") &&
|
|
16222
|
+
}) + "") && de(s, i);
|
|
16217
16223
|
},
|
|
16218
16224
|
d(r) {
|
|
16219
|
-
r &&
|
|
16225
|
+
r && ue(t);
|
|
16220
16226
|
}
|
|
16221
16227
|
};
|
|
16222
16228
|
}
|
|
16223
|
-
function
|
|
16229
|
+
function Nd(o) {
|
|
16224
16230
|
let t, e, i = (
|
|
16225
16231
|
/*$_*/
|
|
16226
|
-
o[
|
|
16232
|
+
o[20]("noPeriodSelected") + ""
|
|
16227
16233
|
), s;
|
|
16228
16234
|
return {
|
|
16229
16235
|
c() {
|
|
16230
|
-
t = w("p"), e = w("strong"), s =
|
|
16236
|
+
t = w("p"), e = w("strong"), s = ae(i), E(t, "class", "SelfExclusionDescriptionText");
|
|
16231
16237
|
},
|
|
16232
16238
|
m(r, n) {
|
|
16233
|
-
|
|
16239
|
+
he(r, t, n), f(t, e), f(e, s);
|
|
16234
16240
|
},
|
|
16235
16241
|
p(r, n) {
|
|
16236
16242
|
n[0] & /*$_*/
|
|
16237
|
-
|
|
16238
|
-
r[
|
|
16243
|
+
1048576 && i !== (i = /*$_*/
|
|
16244
|
+
r[20]("noPeriodSelected") + "") && de(s, i);
|
|
16239
16245
|
},
|
|
16240
16246
|
d(r) {
|
|
16241
|
-
r &&
|
|
16247
|
+
r && ue(t);
|
|
16242
16248
|
}
|
|
16243
16249
|
};
|
|
16244
16250
|
}
|
|
16245
|
-
function
|
|
16251
|
+
function zd(o) {
|
|
16246
16252
|
let t, e, i = (
|
|
16247
16253
|
/*$_*/
|
|
16248
|
-
o[
|
|
16254
|
+
o[20]("permanentSelfExclusion") + ""
|
|
16249
16255
|
), s;
|
|
16250
16256
|
return {
|
|
16251
16257
|
c() {
|
|
16252
|
-
t = w("p"), e = w("strong"), s =
|
|
16258
|
+
t = w("p"), e = w("strong"), s = ae(i), E(t, "class", "SelfExclusionDescriptionText");
|
|
16253
16259
|
},
|
|
16254
16260
|
m(r, n) {
|
|
16255
|
-
|
|
16261
|
+
he(r, t, n), f(t, e), f(e, s);
|
|
16256
16262
|
},
|
|
16257
16263
|
p(r, n) {
|
|
16258
16264
|
n[0] & /*$_*/
|
|
16259
|
-
|
|
16260
|
-
r[
|
|
16265
|
+
1048576 && i !== (i = /*$_*/
|
|
16266
|
+
r[20]("permanentSelfExclusion") + "") && de(s, i);
|
|
16261
16267
|
},
|
|
16262
16268
|
d(r) {
|
|
16263
|
-
r &&
|
|
16269
|
+
r && ue(t);
|
|
16264
16270
|
}
|
|
16265
16271
|
};
|
|
16266
16272
|
}
|
|
16267
|
-
function
|
|
16273
|
+
function Fd(o) {
|
|
16268
16274
|
let t, e, i;
|
|
16269
16275
|
return {
|
|
16270
16276
|
c() {
|
|
16271
16277
|
t = w("player-account-modal"), e = w("player-account-general-confirmation-modal"), S(e, "modaltitle", i = /*$_*/
|
|
16272
|
-
o[
|
|
16278
|
+
o[20]("confirmationModalTitle")), S(
|
|
16273
16279
|
e,
|
|
16274
16280
|
"modaltext",
|
|
16275
16281
|
/*confirmationModalText*/
|
|
16276
|
-
o[
|
|
16282
|
+
o[14]
|
|
16277
16283
|
), S(e, "hascancelbutton", !1), S(e, "modalconfirmevent", { type: "setSelfExclusion" }), S(
|
|
16278
16284
|
e,
|
|
16279
16285
|
"mbsource",
|
|
@@ -16302,17 +16308,17 @@ function zd(o) {
|
|
|
16302
16308
|
), S(t, "showmodaleventname", "ShowSelfExclusionConfirmationModal");
|
|
16303
16309
|
},
|
|
16304
16310
|
m(s, r) {
|
|
16305
|
-
|
|
16311
|
+
he(s, t, r), f(t, e);
|
|
16306
16312
|
},
|
|
16307
16313
|
p(s, r) {
|
|
16308
16314
|
r[0] & /*$_*/
|
|
16309
|
-
|
|
16310
|
-
s[
|
|
16311
|
-
|
|
16315
|
+
1048576 && i !== (i = /*$_*/
|
|
16316
|
+
s[20]("confirmationModalTitle")) && S(e, "modaltitle", i), r[0] & /*confirmationModalText*/
|
|
16317
|
+
16384 && S(
|
|
16312
16318
|
e,
|
|
16313
16319
|
"modaltext",
|
|
16314
16320
|
/*confirmationModalText*/
|
|
16315
|
-
s[
|
|
16321
|
+
s[14]
|
|
16316
16322
|
), r[0] & /*mbsource*/
|
|
16317
16323
|
64 && S(
|
|
16318
16324
|
e,
|
|
@@ -16346,44 +16352,44 @@ function zd(o) {
|
|
|
16346
16352
|
);
|
|
16347
16353
|
},
|
|
16348
16354
|
d(s) {
|
|
16349
|
-
s &&
|
|
16355
|
+
s && ue(t);
|
|
16350
16356
|
}
|
|
16351
16357
|
};
|
|
16352
16358
|
}
|
|
16353
|
-
function
|
|
16359
|
+
function Ld(o) {
|
|
16354
16360
|
let t;
|
|
16355
16361
|
return {
|
|
16356
16362
|
c() {
|
|
16357
16363
|
t = w("ui-skeleton"), S(t, "structure", "title"), S(t, "width", "100px"), S(t, "margin-top", "20px"), S(t, "margin-bottom", "20px");
|
|
16358
16364
|
},
|
|
16359
16365
|
m(e, i) {
|
|
16360
|
-
|
|
16366
|
+
he(e, t, i);
|
|
16361
16367
|
},
|
|
16362
16368
|
d(e) {
|
|
16363
|
-
e &&
|
|
16369
|
+
e && ue(t);
|
|
16364
16370
|
}
|
|
16365
16371
|
};
|
|
16366
16372
|
}
|
|
16367
|
-
function
|
|
16373
|
+
function Rd(o) {
|
|
16368
16374
|
let t;
|
|
16369
16375
|
return {
|
|
16370
16376
|
c() {
|
|
16371
16377
|
t = w("div"), t.innerHTML = '<ui-skeleton structure="title" width="20px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton> <ui-skeleton structure="title" width="100px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton>', E(t, "class", "MenuReturnButton");
|
|
16372
16378
|
},
|
|
16373
16379
|
m(e, i) {
|
|
16374
|
-
|
|
16380
|
+
he(e, t, i);
|
|
16375
16381
|
},
|
|
16376
16382
|
d(e) {
|
|
16377
|
-
e &&
|
|
16383
|
+
e && ue(t);
|
|
16378
16384
|
}
|
|
16379
16385
|
};
|
|
16380
16386
|
}
|
|
16381
|
-
function
|
|
16387
|
+
function Bd(o) {
|
|
16382
16388
|
let t;
|
|
16383
16389
|
function e(r, n) {
|
|
16384
16390
|
return (
|
|
16385
16391
|
/*skeletonLoading*/
|
|
16386
|
-
r[
|
|
16392
|
+
r[19] ? Md : Td
|
|
16387
16393
|
);
|
|
16388
16394
|
}
|
|
16389
16395
|
let i = e(o), s = i(o);
|
|
@@ -16392,7 +16398,7 @@ function Rd(o) {
|
|
|
16392
16398
|
t = w("div"), s.c();
|
|
16393
16399
|
},
|
|
16394
16400
|
m(r, n) {
|
|
16395
|
-
|
|
16401
|
+
he(r, t, n), s.m(t, null), o[41](t);
|
|
16396
16402
|
},
|
|
16397
16403
|
p(r, n) {
|
|
16398
16404
|
i === (i = e(r)) && s ? s.p(r, n) : (s.d(1), s = i(r), s && (s.c(), s.m(t, null)));
|
|
@@ -16400,27 +16406,27 @@ function Rd(o) {
|
|
|
16400
16406
|
i: li,
|
|
16401
16407
|
o: li,
|
|
16402
16408
|
d(r) {
|
|
16403
|
-
r &&
|
|
16409
|
+
r && ue(t), s.d(), o[41](null);
|
|
16404
16410
|
}
|
|
16405
16411
|
};
|
|
16406
16412
|
}
|
|
16407
|
-
function
|
|
16413
|
+
function Hd(o, t, e) {
|
|
16408
16414
|
let i;
|
|
16409
|
-
|
|
16410
|
-
let { endpoint: s = "", session: r = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail: d = "", baseurl: u = "", clientstyling: h = "", clientstylingurl: m = "", mbsource: g, translationurl: p = "", hasconfirmationmodal: _ = "false", dateformat: y = "DD/MM/YYYY", sendnotificationemail: v = "false" } = t, A, C,
|
|
16411
|
-
const
|
|
16412
|
-
fetch(p).then((
|
|
16413
|
-
Object.keys(
|
|
16414
|
-
qo(
|
|
16415
|
+
Ir(o, Yr, (b) => e(20, i = b)), xe.extend(Pd);
|
|
16416
|
+
let { endpoint: s = "", session: r = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail: d = "", baseurl: u = "", clientstyling: h = "", clientstylingurl: m = "", mbsource: g, translationurl: p = "", hasconfirmationmodal: _ = "false", dateformat: y = "DD/MM/YYYY", sendnotificationemail: v = "false" } = t, A, C, D = [], G = {}, R = y.toUpperCase(), Y = window.navigator.userAgent, B, T, I = "", N = "", X = "selectAPeriod", H = "", te = "", pe = Nr(Y) !== "PC", q = !1, Z = !1, j = !1, $ = !1, Q = _ === "true", _e = !0;
|
|
16417
|
+
const Ce = () => {
|
|
16418
|
+
fetch(p).then((se) => se.json()).then((se) => {
|
|
16419
|
+
Object.keys(se).forEach((re) => {
|
|
16420
|
+
qo(re, se[re]);
|
|
16415
16421
|
});
|
|
16416
|
-
}).catch((
|
|
16417
|
-
console.log(
|
|
16422
|
+
}).catch((se) => {
|
|
16423
|
+
console.log(se);
|
|
16418
16424
|
});
|
|
16419
16425
|
};
|
|
16420
16426
|
Object.keys(Ko).forEach((b) => {
|
|
16421
16427
|
qo(b, Ko[b]);
|
|
16422
16428
|
});
|
|
16423
|
-
const
|
|
16429
|
+
const Ae = () => {
|
|
16424
16430
|
let b = new URL(`${s}/v1/player/selfExclusionSettings`);
|
|
16425
16431
|
fetch(b, {
|
|
16426
16432
|
method: "GET",
|
|
@@ -16428,67 +16434,67 @@ function Bd(o, t, e) {
|
|
|
16428
16434
|
"Content-Type": "application/json",
|
|
16429
16435
|
Accept: "application/json"
|
|
16430
16436
|
}
|
|
16431
|
-
}).then((
|
|
16432
|
-
e(
|
|
16433
|
-
}).catch((
|
|
16434
|
-
console.log(
|
|
16437
|
+
}).then((re) => Pe(re)).then((re) => {
|
|
16438
|
+
e(9, D = re.periods);
|
|
16439
|
+
}).catch((re) => {
|
|
16440
|
+
console.log(re);
|
|
16435
16441
|
}).finally(() => {
|
|
16436
|
-
e(
|
|
16442
|
+
e(19, _e = !1);
|
|
16437
16443
|
});
|
|
16438
|
-
},
|
|
16439
|
-
b.data.type === "setSelfExclusion" &&
|
|
16440
|
-
},
|
|
16444
|
+
}, Ie = (b) => {
|
|
16445
|
+
b.data.type === "setSelfExclusion" && F();
|
|
16446
|
+
}, Pe = async (b) => {
|
|
16441
16447
|
if (b.status >= 300)
|
|
16442
|
-
G = await b.json(),
|
|
16448
|
+
G = await b.json(), te = G.thirdPartyResponse.errorCode, console.error(i(te || "generalError")), window.postMessage(
|
|
16443
16449
|
{
|
|
16444
16450
|
type: "WidgetNotification",
|
|
16445
16451
|
data: {
|
|
16446
16452
|
type: "error",
|
|
16447
|
-
message: i(
|
|
16453
|
+
message: i(te || "generalError")
|
|
16448
16454
|
}
|
|
16449
16455
|
},
|
|
16450
16456
|
window.location.href
|
|
16451
16457
|
);
|
|
16452
16458
|
else
|
|
16453
16459
|
return b.json();
|
|
16454
|
-
},
|
|
16455
|
-
e(
|
|
16456
|
-
},
|
|
16457
|
-
switch (
|
|
16460
|
+
}, ke = () => {
|
|
16461
|
+
e(18, $ = !$);
|
|
16462
|
+
}, ie = (b) => {
|
|
16463
|
+
switch (N = b.text, e(13, X = b.key), e(17, j = !0), e(18, $ = !1), e(15, q = !1), e(16, Z = !1), N) {
|
|
16458
16464
|
case "Until":
|
|
16459
|
-
e(
|
|
16465
|
+
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);
|
|
16460
16466
|
break;
|
|
16461
16467
|
case "Permanent":
|
|
16462
|
-
e(
|
|
16468
|
+
e(15, q = !q);
|
|
16463
16469
|
break;
|
|
16464
16470
|
default:
|
|
16465
|
-
const [
|
|
16471
|
+
const [se, re] = N.split(" "), Ne = re.includes("Day") ? "days" : re.includes("Month") ? "months" : re.includes("Year") ? "years" : null;
|
|
16466
16472
|
if (!Ne)
|
|
16467
16473
|
return;
|
|
16468
|
-
e(
|
|
16474
|
+
e(12, I = xe().add(Number(se), Ne).format("YYYY-MM-DD"));
|
|
16469
16475
|
break;
|
|
16470
16476
|
}
|
|
16471
|
-
|
|
16472
|
-
},
|
|
16473
|
-
if (!
|
|
16474
|
-
e(
|
|
16477
|
+
Q && oe();
|
|
16478
|
+
}, oe = () => {
|
|
16479
|
+
if (!Q || !N || !I) {
|
|
16480
|
+
e(14, H = "");
|
|
16475
16481
|
return;
|
|
16476
16482
|
}
|
|
16477
|
-
e(
|
|
16483
|
+
e(14, H = Z ? i("confirmationModalTextUntilSelfExclusion", {
|
|
16478
16484
|
values: {
|
|
16479
|
-
date: xe(
|
|
16485
|
+
date: xe(I).format(R)
|
|
16480
16486
|
}
|
|
16481
|
-
}) : i("
|
|
16482
|
-
},
|
|
16483
|
-
b.preventDefault(),
|
|
16487
|
+
}) : i("confirmationModalTextPeriodSelfExclusion", { values: { period: i(N) } }));
|
|
16488
|
+
}, z = (b) => {
|
|
16489
|
+
b.preventDefault(), Q ? (oe(), window.postMessage(
|
|
16484
16490
|
{
|
|
16485
16491
|
type: "ShowSelfExclusionConfirmationModal"
|
|
16486
16492
|
},
|
|
16487
16493
|
window.location.href
|
|
16488
|
-
)) :
|
|
16489
|
-
},
|
|
16490
|
-
e(
|
|
16491
|
-
const b = new URL(`/v2/player/${n}/limits${l === "gm16" ? "/session" : ""}`, s),
|
|
16494
|
+
)) : F();
|
|
16495
|
+
}, F = () => {
|
|
16496
|
+
e(19, _e = !0);
|
|
16497
|
+
const b = new URL(`/v2/player/${n}/limits${l === "gm16" ? "/session" : ""}`, s), re = {
|
|
16492
16498
|
method: "PUT",
|
|
16493
16499
|
headers: {
|
|
16494
16500
|
"X-SessionID": r,
|
|
@@ -16497,14 +16503,14 @@ function Bd(o, t, e) {
|
|
|
16497
16503
|
},
|
|
16498
16504
|
body: JSON.stringify({
|
|
16499
16505
|
selfExclusion: {
|
|
16500
|
-
period:
|
|
16501
|
-
expiryDate:
|
|
16506
|
+
period: X,
|
|
16507
|
+
expiryDate: I,
|
|
16502
16508
|
selfExclusionReason: "UserRequest",
|
|
16503
16509
|
sendNotificationEmail: v === "true"
|
|
16504
16510
|
}
|
|
16505
16511
|
})
|
|
16506
16512
|
};
|
|
16507
|
-
fetch(b.href,
|
|
16513
|
+
fetch(b.href, re).then((Ne) => Pe(Ne)).then((Ne) => {
|
|
16508
16514
|
window.postMessage(
|
|
16509
16515
|
{
|
|
16510
16516
|
type: "WidgetNotification",
|
|
@@ -16527,66 +16533,66 @@ function Bd(o, t, e) {
|
|
|
16527
16533
|
window.location.href
|
|
16528
16534
|
);
|
|
16529
16535
|
}).finally(() => {
|
|
16530
|
-
e(
|
|
16536
|
+
e(19, _e = !1);
|
|
16531
16537
|
});
|
|
16532
|
-
},
|
|
16538
|
+
}, ve = () => {
|
|
16533
16539
|
window.postMessage(
|
|
16534
16540
|
{
|
|
16535
16541
|
type: "PlayerAccountMenuActive",
|
|
16536
|
-
isMobile:
|
|
16542
|
+
isMobile: pe
|
|
16537
16543
|
},
|
|
16538
16544
|
window.location.href
|
|
16539
16545
|
);
|
|
16540
|
-
},
|
|
16541
|
-
e(
|
|
16542
|
-
},
|
|
16543
|
-
C.addEventListener("change",
|
|
16544
|
-
|
|
16546
|
+
}, fe = (b) => {
|
|
16547
|
+
e(12, I = b.target.value);
|
|
16548
|
+
}, J = () => {
|
|
16549
|
+
C.addEventListener("change", fe, !1), e(
|
|
16550
|
+
8,
|
|
16545
16551
|
C.i18n = {
|
|
16546
16552
|
...C.i18n,
|
|
16547
|
-
formatDate: (b) => xe(new Date(b.year, b.month, b.day)).format(
|
|
16553
|
+
formatDate: (b) => xe(new Date(b.year, b.month, b.day)).format(R),
|
|
16548
16554
|
parseDate: (b) => {
|
|
16549
|
-
const
|
|
16555
|
+
const se = xe(b, R);
|
|
16550
16556
|
return {
|
|
16551
|
-
year:
|
|
16552
|
-
month:
|
|
16553
|
-
day:
|
|
16557
|
+
year: se.year(),
|
|
16558
|
+
month: se.month(),
|
|
16559
|
+
day: se.date()
|
|
16554
16560
|
};
|
|
16555
16561
|
}
|
|
16556
16562
|
},
|
|
16557
16563
|
C
|
|
16558
16564
|
);
|
|
16559
16565
|
};
|
|
16560
|
-
|
|
16561
|
-
C.removeEventListener("change",
|
|
16566
|
+
zr(() => (window.addEventListener("message", Ie, !1), () => {
|
|
16567
|
+
C.removeEventListener("change", fe), window.removeEventListener("message", Ie);
|
|
16562
16568
|
}));
|
|
16563
|
-
const
|
|
16564
|
-
|
|
16565
|
-
},
|
|
16566
|
-
function
|
|
16569
|
+
const le = () => {
|
|
16570
|
+
kd(a);
|
|
16571
|
+
}, x = () => ve(), M = () => ke(), V = (b) => ie(b);
|
|
16572
|
+
function wt(b) {
|
|
16567
16573
|
so[b ? "unshift" : "push"](() => {
|
|
16568
|
-
C = b, e(
|
|
16574
|
+
C = b, e(8, C);
|
|
16569
16575
|
});
|
|
16570
16576
|
}
|
|
16571
|
-
const
|
|
16572
|
-
function
|
|
16577
|
+
const Er = (b) => z(b);
|
|
16578
|
+
function Sr(b) {
|
|
16573
16579
|
so[b ? "unshift" : "push"](() => {
|
|
16574
|
-
A = b, e(
|
|
16580
|
+
A = b, e(7, A);
|
|
16575
16581
|
});
|
|
16576
16582
|
}
|
|
16577
16583
|
return o.$$set = (b) => {
|
|
16578
|
-
"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, d = b.supportemail), "baseurl" in b && e(3, u = 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(
|
|
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, d = b.supportemail), "baseurl" in b && e(3, u = 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);
|
|
16579
16585
|
}, o.$$.update = () => {
|
|
16580
16586
|
o.$$.dirty[0] & /*lang*/
|
|
16581
|
-
1 && a &&
|
|
16587
|
+
1 && a && le(), o.$$.dirty[0] & /*endpoint, session, userid*/
|
|
16582
16588
|
1879048192 | o.$$.dirty[1] & /*gmversion*/
|
|
16583
|
-
1 && s && r && n && l &&
|
|
16584
|
-
|
|
16585
|
-
|
|
16586
|
-
|
|
16587
|
-
|
|
16588
|
-
2 && p &&
|
|
16589
|
-
},
|
|
16589
|
+
1 && s && r && n && l && Ae(), o.$$.dirty[0] & /*calendar*/
|
|
16590
|
+
256 && C && J(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
16591
|
+
144 && h && A && Rr(A, h), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
16592
|
+
160 && m && A && Br(A, m), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
16593
|
+
192 && g && A && Hr(A, `${g}.Style`), o.$$.dirty[1] & /*translationurl*/
|
|
16594
|
+
2 && p && Ce();
|
|
16595
|
+
}, Q && oe(), [
|
|
16590
16596
|
a,
|
|
16591
16597
|
c,
|
|
16592
16598
|
d,
|
|
@@ -16594,50 +16600,51 @@ function Bd(o, t, e) {
|
|
|
16594
16600
|
h,
|
|
16595
16601
|
m,
|
|
16596
16602
|
g,
|
|
16597
|
-
y,
|
|
16598
16603
|
A,
|
|
16599
16604
|
C,
|
|
16600
|
-
T,
|
|
16601
|
-
z,
|
|
16602
|
-
Y,
|
|
16603
16605
|
D,
|
|
16604
|
-
|
|
16606
|
+
B,
|
|
16607
|
+
T,
|
|
16608
|
+
I,
|
|
16605
16609
|
X,
|
|
16606
|
-
|
|
16610
|
+
H,
|
|
16607
16611
|
q,
|
|
16608
|
-
|
|
16609
|
-
|
|
16610
|
-
|
|
16612
|
+
Z,
|
|
16613
|
+
j,
|
|
16614
|
+
$,
|
|
16615
|
+
_e,
|
|
16611
16616
|
i,
|
|
16612
|
-
|
|
16613
|
-
|
|
16614
|
-
|
|
16615
|
-
|
|
16616
|
-
|
|
16617
|
-
|
|
16617
|
+
R,
|
|
16618
|
+
pe,
|
|
16619
|
+
Q,
|
|
16620
|
+
ke,
|
|
16621
|
+
ie,
|
|
16622
|
+
z,
|
|
16623
|
+
ve,
|
|
16618
16624
|
s,
|
|
16619
16625
|
r,
|
|
16620
16626
|
n,
|
|
16621
16627
|
l,
|
|
16622
16628
|
p,
|
|
16623
16629
|
_,
|
|
16630
|
+
y,
|
|
16624
16631
|
v,
|
|
16625
|
-
ce,
|
|
16626
16632
|
x,
|
|
16627
16633
|
M,
|
|
16628
|
-
|
|
16634
|
+
V,
|
|
16629
16635
|
wt,
|
|
16630
|
-
Er
|
|
16636
|
+
Er,
|
|
16637
|
+
Sr
|
|
16631
16638
|
];
|
|
16632
16639
|
}
|
|
16633
|
-
class wr extends
|
|
16640
|
+
class wr extends Dr {
|
|
16634
16641
|
constructor(t) {
|
|
16635
|
-
super(),
|
|
16642
|
+
super(), Tr(
|
|
16636
16643
|
this,
|
|
16637
16644
|
t,
|
|
16645
|
+
Hd,
|
|
16638
16646
|
Bd,
|
|
16639
|
-
|
|
16640
|
-
Tr,
|
|
16647
|
+
Mr,
|
|
16641
16648
|
{
|
|
16642
16649
|
endpoint: 28,
|
|
16643
16650
|
session: 29,
|
|
@@ -16652,10 +16659,10 @@ class wr extends kr {
|
|
|
16652
16659
|
mbsource: 6,
|
|
16653
16660
|
translationurl: 32,
|
|
16654
16661
|
hasconfirmationmodal: 33,
|
|
16655
|
-
dateformat:
|
|
16656
|
-
sendnotificationemail:
|
|
16662
|
+
dateformat: 34,
|
|
16663
|
+
sendnotificationemail: 35
|
|
16657
16664
|
},
|
|
16658
|
-
|
|
16665
|
+
Dd,
|
|
16659
16666
|
[-1, -1]
|
|
16660
16667
|
);
|
|
16661
16668
|
}
|
|
@@ -16663,99 +16670,99 @@ class wr extends kr {
|
|
|
16663
16670
|
return this.$$.ctx[28];
|
|
16664
16671
|
}
|
|
16665
16672
|
set endpoint(t) {
|
|
16666
|
-
this.$$set({ endpoint: t }),
|
|
16673
|
+
this.$$set({ endpoint: t }), ee();
|
|
16667
16674
|
}
|
|
16668
16675
|
get session() {
|
|
16669
16676
|
return this.$$.ctx[29];
|
|
16670
16677
|
}
|
|
16671
16678
|
set session(t) {
|
|
16672
|
-
this.$$set({ session: t }),
|
|
16679
|
+
this.$$set({ session: t }), ee();
|
|
16673
16680
|
}
|
|
16674
16681
|
get userid() {
|
|
16675
16682
|
return this.$$.ctx[30];
|
|
16676
16683
|
}
|
|
16677
16684
|
set userid(t) {
|
|
16678
|
-
this.$$set({ userid: t }),
|
|
16685
|
+
this.$$set({ userid: t }), ee();
|
|
16679
16686
|
}
|
|
16680
16687
|
get lang() {
|
|
16681
16688
|
return this.$$.ctx[0];
|
|
16682
16689
|
}
|
|
16683
16690
|
set lang(t) {
|
|
16684
|
-
this.$$set({ lang: t }),
|
|
16691
|
+
this.$$set({ lang: t }), ee();
|
|
16685
16692
|
}
|
|
16686
16693
|
get gmversion() {
|
|
16687
16694
|
return this.$$.ctx[31];
|
|
16688
16695
|
}
|
|
16689
16696
|
set gmversion(t) {
|
|
16690
|
-
this.$$set({ gmversion: t }),
|
|
16697
|
+
this.$$set({ gmversion: t }), ee();
|
|
16691
16698
|
}
|
|
16692
16699
|
get operator() {
|
|
16693
16700
|
return this.$$.ctx[1];
|
|
16694
16701
|
}
|
|
16695
16702
|
set operator(t) {
|
|
16696
|
-
this.$$set({ operator: t }),
|
|
16703
|
+
this.$$set({ operator: t }), ee();
|
|
16697
16704
|
}
|
|
16698
16705
|
get supportemail() {
|
|
16699
16706
|
return this.$$.ctx[2];
|
|
16700
16707
|
}
|
|
16701
16708
|
set supportemail(t) {
|
|
16702
|
-
this.$$set({ supportemail: t }),
|
|
16709
|
+
this.$$set({ supportemail: t }), ee();
|
|
16703
16710
|
}
|
|
16704
16711
|
get baseurl() {
|
|
16705
16712
|
return this.$$.ctx[3];
|
|
16706
16713
|
}
|
|
16707
16714
|
set baseurl(t) {
|
|
16708
|
-
this.$$set({ baseurl: t }),
|
|
16715
|
+
this.$$set({ baseurl: t }), ee();
|
|
16709
16716
|
}
|
|
16710
16717
|
get clientstyling() {
|
|
16711
16718
|
return this.$$.ctx[4];
|
|
16712
16719
|
}
|
|
16713
16720
|
set clientstyling(t) {
|
|
16714
|
-
this.$$set({ clientstyling: t }),
|
|
16721
|
+
this.$$set({ clientstyling: t }), ee();
|
|
16715
16722
|
}
|
|
16716
16723
|
get clientstylingurl() {
|
|
16717
16724
|
return this.$$.ctx[5];
|
|
16718
16725
|
}
|
|
16719
16726
|
set clientstylingurl(t) {
|
|
16720
|
-
this.$$set({ clientstylingurl: t }),
|
|
16727
|
+
this.$$set({ clientstylingurl: t }), ee();
|
|
16721
16728
|
}
|
|
16722
16729
|
get mbsource() {
|
|
16723
16730
|
return this.$$.ctx[6];
|
|
16724
16731
|
}
|
|
16725
16732
|
set mbsource(t) {
|
|
16726
|
-
this.$$set({ mbsource: t }),
|
|
16733
|
+
this.$$set({ mbsource: t }), ee();
|
|
16727
16734
|
}
|
|
16728
16735
|
get translationurl() {
|
|
16729
16736
|
return this.$$.ctx[32];
|
|
16730
16737
|
}
|
|
16731
16738
|
set translationurl(t) {
|
|
16732
|
-
this.$$set({ translationurl: t }),
|
|
16739
|
+
this.$$set({ translationurl: t }), ee();
|
|
16733
16740
|
}
|
|
16734
16741
|
get hasconfirmationmodal() {
|
|
16735
16742
|
return this.$$.ctx[33];
|
|
16736
16743
|
}
|
|
16737
16744
|
set hasconfirmationmodal(t) {
|
|
16738
|
-
this.$$set({ hasconfirmationmodal: t }),
|
|
16745
|
+
this.$$set({ hasconfirmationmodal: t }), ee();
|
|
16739
16746
|
}
|
|
16740
16747
|
get dateformat() {
|
|
16741
|
-
return this.$$.ctx[
|
|
16748
|
+
return this.$$.ctx[34];
|
|
16742
16749
|
}
|
|
16743
16750
|
set dateformat(t) {
|
|
16744
|
-
this.$$set({ dateformat: t }),
|
|
16751
|
+
this.$$set({ dateformat: t }), ee();
|
|
16745
16752
|
}
|
|
16746
16753
|
get sendnotificationemail() {
|
|
16747
|
-
return this.$$.ctx[
|
|
16754
|
+
return this.$$.ctx[35];
|
|
16748
16755
|
}
|
|
16749
16756
|
set sendnotificationemail(t) {
|
|
16750
|
-
this.$$set({ sendnotificationemail: t }),
|
|
16757
|
+
this.$$set({ sendnotificationemail: t }), ee();
|
|
16751
16758
|
}
|
|
16752
16759
|
}
|
|
16753
|
-
|
|
16754
|
-
const
|
|
16760
|
+
$r(wr, { endpoint: {}, session: {}, userid: {}, lang: {}, gmversion: {}, operator: {}, supportemail: {}, baseurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, hasconfirmationmodal: {}, dateformat: {}, sendnotificationemail: {} }, [], [], !0);
|
|
16761
|
+
const Cu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16755
16762
|
__proto__: null,
|
|
16756
16763
|
default: wr
|
|
16757
16764
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
16758
16765
|
export {
|
|
16759
|
-
|
|
16760
|
-
|
|
16766
|
+
Pd as C,
|
|
16767
|
+
Cu as P
|
|
16761
16768
|
};
|