@everymatrix/player-account-controller-nd 1.86.26 → 1.86.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountControllerNd-Bl7-RTq_.js → PlayerAccountControllerNd-0stJPMdo.js} +8 -8
- package/components/{PlayerAccountControllerNd-B9rNevXt.cjs → PlayerAccountControllerNd-BO5xruiK.cjs} +1 -1
- package/components/{PlayerAccountControllerNd-DvEGdKnE.js → PlayerAccountControllerNd-qefdRYgZ.js} +8 -8
- package/components/{PlayerAccountProductRestriction-BedMU2W1.js → PlayerAccountProductRestriction-CTeRjLOm.js} +2404 -2404
- package/components/{PlayerAccountProductRestriction-BSsAA_q1.js → PlayerAccountProductRestriction-CYwbKK4y.js} +2386 -2386
- package/components/{PlayerAccountProductRestriction-D9r5CZOE.cjs → PlayerAccountProductRestriction-iB1RGRkJ.cjs} +271 -271
- package/components/{PlayerAccountSelfExclusionNd-BDeqi9_X.js → PlayerAccountSelfExclusionNd-D7XnGJ2R.js} +751 -751
- package/components/{PlayerAccountSelfExclusionNd-CAowfBaB.cjs → PlayerAccountSelfExclusionNd-DhQyYPye.cjs} +150 -150
- package/components/{PlayerAccountSelfExclusionNd-DDs_w4wd.js → PlayerAccountSelfExclusionNd-jzGUcmmG.js} +714 -714
- package/components/{PlayerAccountTimeout-CGK77zga.js → PlayerAccountTimeout-Bc3iW2us.js} +3 -3
- package/components/{PlayerAccountTimeout-7Ej1ywa0.cjs → PlayerAccountTimeout-BrTN6SIK.cjs} +1 -1
- package/components/{PlayerAccountTimeout-CwrsytJS.js → PlayerAccountTimeout-rTSiHrDL.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-eg7_cpE_.js → PlayerAccountTransactionsHistory-BJBXArq6.js} +2 -2
- package/components/{PlayerAccountTransactionsHistory-D1hgXl5L.js → PlayerAccountTransactionsHistory-BwR5hmR8.js} +2 -2
- package/components/{PlayerAccountTransactionsHistory-CauX4ejF.cjs → PlayerAccountTransactionsHistory-CWdrXr8j.cjs} +1 -1
- package/components/{PlayerBonusHistory-FT3LQnrk.cjs → PlayerBonusHistory-DIhVjnFh.cjs} +1 -1
- package/components/{PlayerBonusHistory-BPCIqQ00.js → PlayerBonusHistory-DkllZmUH.js} +1 -1
- package/components/{PlayerBonusHistory-CNuuYIwe.js → PlayerBonusHistory-DpDFhNfu.js} +1 -1
- package/components/{PlayerGamingHistory-iCjvte3Q.cjs → PlayerGamingHistory-CG3IxutB.cjs} +1 -1
- package/components/{PlayerGamingHistory-VSSnFY9r.js → PlayerGamingHistory-D8bC9RAK.js} +1 -1
- package/components/{PlayerGamingHistory-blDAmWs1.js → PlayerGamingHistory-vQFhfBWY.js} +1 -1
- package/es2015/player-account-controller-nd.cjs +1 -1
- package/es2015/player-account-controller-nd.js +1 -1
- package/esnext/player-account-controller-nd.js +1 -1
- package/lazy/{pam-change-password-if-T3Ydz.js → pam-change-password-BjnQSk7L.js} +1 -1
- package/lazy/{pam-change-password-WHMrvfB1.cjs → pam-change-password-CqycG-JP.cjs} +1 -1
- package/lazy/{pam-change-password-uPcUTduJ.js → pam-change-password-_fE_ySUB.js} +1 -1
- package/lazy/{player-account-product-restriction-Z-56DrY9.js → player-account-product-restriction-BR-gskz3.js} +1 -1
- package/lazy/{player-account-product-restriction-BQmsGVkV.js → player-account-product-restriction-Df0uPy77.js} +1 -1
- package/lazy/{player-account-product-restriction-CdjStD5M.cjs → player-account-product-restriction-wSKzQzGt.cjs} +1 -1
- package/lazy/{player-account-self-exclusion-nd-C7xmjRzQ.js → player-account-self-exclusion-nd-B0cO0gdi.js} +1 -1
- package/lazy/{player-account-self-exclusion-nd-BuPwW8iZ.cjs → player-account-self-exclusion-nd-Bi6nByYV.cjs} +1 -1
- package/lazy/{player-account-self-exclusion-nd-BJ4h6_98.js → player-account-self-exclusion-nd-Bnm-nVNx.js} +1 -1
- package/lazy/{player-account-timeout-C9ewM9zn.js → player-account-timeout-BEy3myY8.js} +1 -1
- package/lazy/{player-account-timeout-56rXPQAQ.cjs → player-account-timeout-BfxwuJcz.cjs} +1 -1
- package/lazy/{player-account-timeout-DvDmCweN.js → player-account-timeout-DGK3c6Ia.js} +1 -1
- package/lazy/{player-account-transactions-history-C1ov9awB.js → player-account-transactions-history-CAO1k5I4.js} +1 -1
- package/lazy/{player-account-transactions-history-BrNfilhK.cjs → player-account-transactions-history-CH3UFFXV.cjs} +1 -1
- package/lazy/{player-account-transactions-history-hBu_1TN6.js → player-account-transactions-history-CJfxk3to.js} +1 -1
- package/lazy/{player-bonus-history-DKLho6fi.js → player-bonus-history-CdhLo3Cx.js} +1 -1
- package/lazy/{player-bonus-history-Br7eaOww.cjs → player-bonus-history-D2d4fDQx.cjs} +1 -1
- package/lazy/{player-bonus-history-B6Axa7q9.js → player-bonus-history-DDiWVOD9.js} +1 -1
- package/lazy/{player-gaming-history-BYryXSQD.cjs → player-gaming-history-BdGaH7MD.cjs} +1 -1
- package/lazy/{player-gaming-history-LeWm1PXO.js → player-gaming-history-BprDyp3m.js} +1 -1
- package/lazy/{player-gaming-history-DFugciCd.js → player-gaming-history-CxU3yfaW.js} +1 -1
- package/lazy/{user-transaction-history-CVa9xgYI.cjs → user-transaction-history-B91xe-Pp.cjs} +1 -1
- package/lazy/{user-transaction-history-CHGEtZBx.js → user-transaction-history-BLupDBlt.js} +1 -1
- package/lazy/{user-transaction-history-CuRWzQ72.js → user-transaction-history-D8DLm_8b.js} +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_16-BgbN6ncQ.js → checkbox-group-input_16-2mebRRKb.js} +1193 -1193
- package/stencil/{checkbox-group-input_16-DVPrju8B.js → checkbox-group-input_16-C4n7_ELH.js} +1193 -1193
- package/stencil/{checkbox-group-input_16-Bm3fi3Mz.cjs → checkbox-group-input_16-DbEio_DX.cjs} +252 -252
- package/stencil/{pam-change-password-6b535bd5-Bn6mEv-8.cjs → pam-change-password-6b535bd5-BNrsx-1F.cjs} +1 -1
- package/stencil/{pam-change-password-6b535bd5-DsCyK8jx.js → pam-change-password-6b535bd5-SDJZeuis.js} +1 -1
- package/stencil/{pam-change-password-6b535bd5-Dt0dQacH.js → pam-change-password-6b535bd5-owhq6vzM.js} +1 -1
- package/stencil/{pam-change-password-LvtFwsme.js → pam-change-password-CYY5P74x.js} +2 -2
- package/stencil/{pam-change-password-Dl6GMZ3f.cjs → pam-change-password-DFrD21j9.cjs} +1 -1
- package/stencil/{pam-change-password-IS2ytdcz.js → pam-change-password-Dz1ophVp.js} +2 -2
- package/stencil/{user-transaction-history-yD0ZdhXz.js → user-transaction-history-BfPSa4ia.js} +2 -2
- package/stencil/{user-transaction-history-D31djAl9.cjs → user-transaction-history-D7eoRXas.cjs} +1 -1
- package/stencil/{user-transaction-history-BSJUCsOP.js → user-transaction-history-OpRaM0zM.js} +2 -2
- package/stencil/{user-transaction-history_2-CqtCMdoU.js → user-transaction-history_2-3zA9r-wE.js} +2728 -2750
- package/stencil/{user-transaction-history_2-DWit6pcG.js → user-transaction-history_2-BSYuOzxw.js} +3243 -3221
- package/stencil/{user-transaction-history_2-BPg0ZwEP.cjs → user-transaction-history_2-CUThFqsc.cjs} +270 -270
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var Yr = Object.defineProperty,
|
|
2
|
-
var
|
|
1
|
+
var Yr = Object.defineProperty, jr = Object.defineProperties;
|
|
2
|
+
var Vr = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var po = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
4
|
+
var Ur = Object.prototype.hasOwnProperty, Wr = Object.prototype.propertyIsEnumerable;
|
|
5
5
|
var fo = (o, t, e) => t in o ? Yr(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e, kt = (o, t) => {
|
|
6
6
|
for (var e in t || (t = {}))
|
|
7
|
-
|
|
7
|
+
Ur.call(t, e) && fo(o, e, t[e]);
|
|
8
8
|
if (po)
|
|
9
9
|
for (var e of po(t))
|
|
10
|
-
|
|
10
|
+
Wr.call(t, e) && fo(o, e, t[e]);
|
|
11
11
|
return o;
|
|
12
|
-
}, Dt = (o, t) =>
|
|
12
|
+
}, Dt = (o, t) => jr(o, Vr(t));
|
|
13
13
|
var nt = (o, t, e) => new Promise((i, s) => {
|
|
14
14
|
var r = (l) => {
|
|
15
15
|
try {
|
|
@@ -26,8 +26,8 @@ var nt = (o, t, e) => new Promise((i, s) => {
|
|
|
26
26
|
}, a = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(r, n);
|
|
27
27
|
a((e = e.apply(o, t)).next());
|
|
28
28
|
});
|
|
29
|
-
import { a5 as
|
|
30
|
-
import { d as Ae } from "./PlayerAccountProductRestriction-
|
|
29
|
+
import { a5 as qr, a6 as Kr, a as Gr, $ as Jr, S as Xr, i as Zr, s as Qr, f as ie, b as en, n as bi, d as ae, h as le, k as w, p as tn, q as on, u as sn, w as Zt, j as f, m as I, g as S, Y as Qt, e as E, C as mo, D as rn, r as nn, c as he, o as qe, l as Lt, t as ne, v as Pe, H as an, x as ln, y as cn, z as un, A as dn, B as hn } from "./GeneralLogout-DGJFiRsd.js";
|
|
30
|
+
import { d as Ae } from "./PlayerAccountProductRestriction-CTeRjLOm.js";
|
|
31
31
|
import "../stencil/ui-skeleton-Ur_BR5_B.js";
|
|
32
32
|
import "../lazy/player-account-modal-B-cfE8ua.js";
|
|
33
33
|
import "../lazy/player-account-general-confirmation-modal-DxR93csh.js";
|
|
@@ -57,18 +57,18 @@ function ve(o, t = "24.5.10") {
|
|
|
57
57
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
58
58
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
59
59
|
*/
|
|
60
|
-
class
|
|
60
|
+
class pn extends HTMLElement {
|
|
61
61
|
static get is() {
|
|
62
62
|
return "vaadin-lumo-styles";
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
ve(
|
|
65
|
+
ve(pn);
|
|
66
66
|
/**
|
|
67
67
|
* @license
|
|
68
68
|
* Copyright 2019 Google LLC
|
|
69
69
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
70
70
|
*/
|
|
71
|
-
const Nt = globalThis,
|
|
71
|
+
const Nt = globalThis, Yi = Nt.ShadowRoot && (Nt.ShadyCSS === void 0 || Nt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, ji = Symbol(), _o = /* @__PURE__ */ new WeakMap();
|
|
72
72
|
let Vi = class {
|
|
73
73
|
constructor(t, e, i) {
|
|
74
74
|
if (this._$cssResult$ = !0, i !== ji)
|
|
@@ -78,7 +78,7 @@ let Vi = class {
|
|
|
78
78
|
get styleSheet() {
|
|
79
79
|
let t = this.o;
|
|
80
80
|
const e = this.t;
|
|
81
|
-
if (
|
|
81
|
+
if (Yi && t === void 0) {
|
|
82
82
|
const i = e !== void 0 && e.length === 1;
|
|
83
83
|
i && (t = _o.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && _o.set(e, t));
|
|
84
84
|
}
|
|
@@ -88,7 +88,7 @@ let Vi = class {
|
|
|
88
88
|
return this.cssText;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
const
|
|
91
|
+
const fn = (o) => new Vi(typeof o == "string" ? o : o + "", void 0, ji), P = (o, ...t) => {
|
|
92
92
|
const e = o.length === 1 ? o[0] : t.reduce((i, s, r) => i + ((n) => {
|
|
93
93
|
if (n._$cssResult$ === !0)
|
|
94
94
|
return n.cssText;
|
|
@@ -97,29 +97,29 @@ const pn = (o) => new Vi(typeof o == "string" ? o : o + "", void 0, ji), P = (o,
|
|
|
97
97
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + n + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
98
98
|
})(s) + o[r + 1], o[0]);
|
|
99
99
|
return new Vi(e, o, ji);
|
|
100
|
-
},
|
|
101
|
-
if (
|
|
100
|
+
}, fs = (o, t) => {
|
|
101
|
+
if (Yi)
|
|
102
102
|
o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
103
103
|
else
|
|
104
104
|
for (const e of t) {
|
|
105
105
|
const i = document.createElement("style"), s = Nt.litNonce;
|
|
106
106
|
s !== void 0 && i.setAttribute("nonce", s), i.textContent = e.cssText, o.appendChild(i);
|
|
107
107
|
}
|
|
108
|
-
}, go =
|
|
108
|
+
}, go = Yi ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
|
|
109
109
|
let e = "";
|
|
110
110
|
for (const i of t.cssRules)
|
|
111
111
|
e += i.cssText;
|
|
112
|
-
return
|
|
112
|
+
return fn(e);
|
|
113
113
|
})(o) : o;
|
|
114
114
|
/**
|
|
115
115
|
* @license
|
|
116
116
|
* Copyright 2017 Google LLC
|
|
117
117
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
118
118
|
*/
|
|
119
|
-
const { is:
|
|
119
|
+
const { is: mn, defineProperty: _n, getOwnPropertyDescriptor: gn, getOwnPropertyNames: bn, getOwnPropertySymbols: vn, getPrototypeOf: yn } = Object, Oe = globalThis, bo = Oe.trustedTypes, xn = bo ? bo.emptyScript : "", ei = Oe.reactiveElementPolyfillSupport, ft = (o, t) => o, vi = { toAttribute(o, t) {
|
|
120
120
|
switch (t) {
|
|
121
121
|
case Boolean:
|
|
122
|
-
o = o ?
|
|
122
|
+
o = o ? xn : null;
|
|
123
123
|
break;
|
|
124
124
|
case Object:
|
|
125
125
|
case Array:
|
|
@@ -144,10 +144,10 @@ const { is: fn, defineProperty: mn, getOwnPropertyDescriptor: _n, getOwnProperty
|
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
return e;
|
|
147
|
-
} },
|
|
148
|
-
var
|
|
149
|
-
(
|
|
150
|
-
|
|
147
|
+
} }, ms = (o, t) => !mn(o, t), vo = { attribute: !0, type: String, converter: vi, reflect: !1, useDefault: !1, hasChanged: ms };
|
|
148
|
+
var ls, cs;
|
|
149
|
+
(ls = Symbol.metadata) != null || (Symbol.metadata = Symbol("metadata")), (cs = Oe.litPropertyMetadata) != null || (Oe.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
150
|
+
let Ge = class extends HTMLElement {
|
|
151
151
|
static addInitializer(t) {
|
|
152
152
|
var e;
|
|
153
153
|
this._$Ei(), ((e = this.l) != null ? e : this.l = []).push(t);
|
|
@@ -158,12 +158,12 @@ class Ge extends HTMLElement {
|
|
|
158
158
|
static createProperty(t, e = vo) {
|
|
159
159
|
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) {
|
|
160
160
|
const i = Symbol(), s = this.getPropertyDescriptor(t, i, e);
|
|
161
|
-
s !== void 0 &&
|
|
161
|
+
s !== void 0 && _n(this.prototype, t, s);
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
164
|
static getPropertyDescriptor(t, e, i) {
|
|
165
165
|
var n;
|
|
166
|
-
const { get: s, set: r } = (n =
|
|
166
|
+
const { get: s, set: r } = (n = gn(this.prototype, t)) != null ? n : { get() {
|
|
167
167
|
return this[e];
|
|
168
168
|
}, set(a) {
|
|
169
169
|
this[e] = a;
|
|
@@ -180,14 +180,14 @@ class Ge extends HTMLElement {
|
|
|
180
180
|
static _$Ei() {
|
|
181
181
|
if (this.hasOwnProperty(ft("elementProperties")))
|
|
182
182
|
return;
|
|
183
|
-
const t =
|
|
183
|
+
const t = yn(this);
|
|
184
184
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
185
185
|
}
|
|
186
186
|
static finalize() {
|
|
187
187
|
if (this.hasOwnProperty(ft("finalized")))
|
|
188
188
|
return;
|
|
189
189
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(ft("properties"))) {
|
|
190
|
-
const e = this.properties, i = [...
|
|
190
|
+
const e = this.properties, i = [...bn(e), ...vn(e)];
|
|
191
191
|
for (const s of i)
|
|
192
192
|
this.createProperty(s, e[s]);
|
|
193
193
|
}
|
|
@@ -243,7 +243,7 @@ class Ge extends HTMLElement {
|
|
|
243
243
|
createRenderRoot() {
|
|
244
244
|
var e;
|
|
245
245
|
const t = (e = this.shadowRoot) != null ? e : this.attachShadow(this.constructor.shadowRootOptions);
|
|
246
|
-
return
|
|
246
|
+
return fs(t, this.constructor.elementStyles), t;
|
|
247
247
|
}
|
|
248
248
|
connectedCallback() {
|
|
249
249
|
var t, e;
|
|
@@ -282,11 +282,11 @@ class Ge extends HTMLElement {
|
|
|
282
282
|
this[s] = (a = u != null ? u : (n = this._$Ej) == null ? void 0 : n.get(s)) != null ? a : u, this._$Em = null;
|
|
283
283
|
}
|
|
284
284
|
}
|
|
285
|
-
requestUpdate(t, e, i) {
|
|
286
|
-
var
|
|
285
|
+
requestUpdate(t, e, i, s = !1, r) {
|
|
286
|
+
var n, a;
|
|
287
287
|
if (t !== void 0) {
|
|
288
|
-
const
|
|
289
|
-
if (i != null || (i =
|
|
288
|
+
const l = this.constructor;
|
|
289
|
+
if (s === !1 && (r = this[t]), i != null || (i = l.getPropertyOptions(t)), !(((n = i.hasChanged) != null ? n : ms)(r, e) || i.useDefault && i.reflect && r === ((a = this._$Ej) == null ? void 0 : a.get(t)) && !this.hasAttribute(l._$Eu(t, i))))
|
|
290
290
|
return;
|
|
291
291
|
this.C(t, e, i);
|
|
292
292
|
}
|
|
@@ -368,41 +368,41 @@ class Ge extends HTMLElement {
|
|
|
368
368
|
}
|
|
369
369
|
firstUpdated(t) {
|
|
370
370
|
}
|
|
371
|
-
}
|
|
372
|
-
var
|
|
373
|
-
Ge.elementStyles = [], Ge.shadowRootOptions = { mode: "open" }, Ge[ft("elementProperties")] = /* @__PURE__ */ new Map(), Ge[ft("finalized")] = /* @__PURE__ */ new Map(), ei == null || ei({ ReactiveElement: Ge }), ((
|
|
371
|
+
};
|
|
372
|
+
var us;
|
|
373
|
+
Ge.elementStyles = [], Ge.shadowRootOptions = { mode: "open" }, Ge[ft("elementProperties")] = /* @__PURE__ */ new Map(), Ge[ft("finalized")] = /* @__PURE__ */ new Map(), ei == null || ei({ ReactiveElement: Ge }), ((us = Oe.reactiveElementVersions) != null ? us : Oe.reactiveElementVersions = []).push("2.1.2");
|
|
374
374
|
/**
|
|
375
375
|
* @license
|
|
376
376
|
* Copyright 2017 Google LLC
|
|
377
377
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
378
378
|
*/
|
|
379
|
-
const mt = globalThis, Rt = mt.trustedTypes,
|
|
380
|
-
\f\r]`, at = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
381
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
382
|
-
function
|
|
379
|
+
const mt = globalThis, yo = (o) => o, Rt = mt.trustedTypes, xo = Rt ? Rt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, _s = "$lit$", Me = `lit$${Math.random().toFixed(9).slice(2)}$`, gs = "?" + Me, wn = `<${gs}>`, je = document, gt = () => je.createComment(""), bt = (o) => o === null || typeof o != "object" && typeof o != "function", Ui = Array.isArray, En = (o) => Ui(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", ti = `[
|
|
380
|
+
\f\r]`, at = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, wo = /-->/g, Eo = />/g, Le = RegExp(`>|${ti}(?:([^\\s"'>=/]+)(${ti}*=${ti}*(?:[^
|
|
381
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), So = /'/g, Ao = /"/g, bs = /^(?:script|style|textarea|title)$/i, et = Symbol.for("lit-noChange"), K = Symbol.for("lit-nothing"), Co = /* @__PURE__ */ new WeakMap(), Re = je.createTreeWalker(je, 129);
|
|
382
|
+
function vs(o, t) {
|
|
383
383
|
if (!Ui(o) || !o.hasOwnProperty("raw"))
|
|
384
384
|
throw Error("invalid template strings array");
|
|
385
|
-
return
|
|
385
|
+
return xo !== void 0 ? xo.createHTML(t) : t;
|
|
386
386
|
}
|
|
387
|
-
const
|
|
387
|
+
const Sn = (o, t) => {
|
|
388
388
|
const e = o.length - 1, i = [];
|
|
389
389
|
let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = at;
|
|
390
390
|
for (let a = 0; a < e; a++) {
|
|
391
391
|
const l = o[a];
|
|
392
392
|
let c, u, d = -1, h = 0;
|
|
393
393
|
for (; h < l.length && (n.lastIndex = h, u = n.exec(l), u !== null); )
|
|
394
|
-
h = n.lastIndex, n === at ? u[1] === "!--" ? n =
|
|
394
|
+
h = n.lastIndex, n === at ? u[1] === "!--" ? n = wo : u[1] !== void 0 ? n = Eo : u[2] !== void 0 ? (bs.test(u[2]) && (s = RegExp("</" + u[2], "g")), n = Le) : u[3] !== void 0 && (n = Le) : n === Le ? u[0] === ">" ? (n = s != null ? s : at, d = -1) : u[1] === void 0 ? d = -2 : (d = n.lastIndex - u[2].length, c = u[1], n = u[3] === void 0 ? Le : u[3] === '"' ? Ao : So) : n === Ao || n === So ? n = Le : n === wo || n === Eo ? n = at : (n = Le, s = void 0);
|
|
395
395
|
const m = n === Le && o[a + 1].startsWith("/>") ? " " : "";
|
|
396
|
-
r += n === at ? l +
|
|
396
|
+
r += n === at ? l + wn : d >= 0 ? (i.push(c), l.slice(0, d) + _s + l.slice(d) + Me + m) : l + Me + (d === -2 ? a : m);
|
|
397
397
|
}
|
|
398
|
-
return [
|
|
398
|
+
return [vs(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
|
|
399
399
|
};
|
|
400
400
|
class vt {
|
|
401
401
|
constructor({ strings: t, _$litType$: e }, i) {
|
|
402
402
|
let s;
|
|
403
403
|
this.parts = [];
|
|
404
404
|
let r = 0, n = 0;
|
|
405
|
-
const a = t.length - 1, l = this.parts, [c, u] =
|
|
405
|
+
const a = t.length - 1, l = this.parts, [c, u] = Sn(t, e);
|
|
406
406
|
if (this.el = vt.createElement(c, i), Re.currentNode = this.el.content, e === 2 || e === 3) {
|
|
407
407
|
const d = this.el.content.firstChild;
|
|
408
408
|
d.replaceWith(...d.childNodes);
|
|
@@ -411,12 +411,12 @@ class vt {
|
|
|
411
411
|
if (s.nodeType === 1) {
|
|
412
412
|
if (s.hasAttributes())
|
|
413
413
|
for (const d of s.getAttributeNames())
|
|
414
|
-
if (d.endsWith(
|
|
414
|
+
if (d.endsWith(_s)) {
|
|
415
415
|
const h = u[n++], m = s.getAttribute(d).split(Me), b = /([.?@])?(.*)/.exec(h);
|
|
416
|
-
l.push({ type: 1, index: r, name: b[2], strings: m, ctor: b[1] === "." ?
|
|
416
|
+
l.push({ type: 1, index: r, name: b[2], strings: m, ctor: b[1] === "." ? Cn : b[1] === "?" ? Pn : b[1] === "@" ? kn : Wt }), s.removeAttribute(d);
|
|
417
417
|
} else
|
|
418
418
|
d.startsWith(Me) && (l.push({ type: 6, index: r }), s.removeAttribute(d));
|
|
419
|
-
if (
|
|
419
|
+
if (bs.test(s.tagName)) {
|
|
420
420
|
const d = s.textContent.split(Me), h = d.length - 1;
|
|
421
421
|
if (h > 0) {
|
|
422
422
|
s.textContent = Rt ? Rt.emptyScript : "";
|
|
@@ -426,7 +426,7 @@ class vt {
|
|
|
426
426
|
}
|
|
427
427
|
}
|
|
428
428
|
} else if (s.nodeType === 8)
|
|
429
|
-
if (s.data ===
|
|
429
|
+
if (s.data === gs)
|
|
430
430
|
l.push({ type: 2, index: r });
|
|
431
431
|
else {
|
|
432
432
|
let d = -1;
|
|
@@ -449,7 +449,7 @@ function tt(o, t, e = o, i) {
|
|
|
449
449
|
const r = bt(t) ? void 0 : t._$litDirective$;
|
|
450
450
|
return (s == null ? void 0 : s.constructor) !== r && ((a = s == null ? void 0 : s._$AO) == null || a.call(s, !1), r === void 0 ? s = void 0 : (s = new r(o), s._$AT(o, e, i)), i !== void 0 ? ((l = e._$Co) != null ? l : e._$Co = [])[i] = s : e._$Cl = s), s !== void 0 && (t = tt(o, s._$AS(o, t.values), s, i)), t;
|
|
451
451
|
}
|
|
452
|
-
class
|
|
452
|
+
class An {
|
|
453
453
|
constructor(t, e) {
|
|
454
454
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
|
455
455
|
}
|
|
@@ -467,7 +467,7 @@ class Sn {
|
|
|
467
467
|
for (; l !== void 0; ) {
|
|
468
468
|
if (n === l.index) {
|
|
469
469
|
let u;
|
|
470
|
-
l.type === 2 ? u = new Ct(r, r.nextSibling, this, t) : l.type === 1 ? u = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (u = new
|
|
470
|
+
l.type === 2 ? u = new Ct(r, r.nextSibling, this, t) : l.type === 1 ? u = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (u = new Dn(r, this, t)), this._$AV.push(u), l = i[++a];
|
|
471
471
|
}
|
|
472
472
|
n !== (l == null ? void 0 : l.index) && (r = Re.nextNode(), n++);
|
|
473
473
|
}
|
|
@@ -500,7 +500,7 @@ class Ct {
|
|
|
500
500
|
return this._$AB;
|
|
501
501
|
}
|
|
502
502
|
_$AI(t, e = this) {
|
|
503
|
-
t = tt(this, t, e), bt(t) ? t === K || t == null || t === "" ? (this._$AH !== K && this._$AR(), this._$AH = K) : t !== this._$AH && t !== et && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) :
|
|
503
|
+
t = tt(this, t, e), bt(t) ? t === K || t == null || t === "" ? (this._$AH !== K && this._$AR(), this._$AH = K) : t !== this._$AH && t !== et && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : En(t) ? this.k(t) : this._(t);
|
|
504
504
|
}
|
|
505
505
|
O(t) {
|
|
506
506
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -513,17 +513,17 @@ class Ct {
|
|
|
513
513
|
}
|
|
514
514
|
$(t) {
|
|
515
515
|
var r;
|
|
516
|
-
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = vt.createElement(
|
|
516
|
+
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = vt.createElement(vs(i.h, i.h[0]), this.options)), i);
|
|
517
517
|
if (((r = this._$AH) == null ? void 0 : r._$AD) === s)
|
|
518
518
|
this._$AH.p(e);
|
|
519
519
|
else {
|
|
520
|
-
const n = new
|
|
520
|
+
const n = new An(s, this), a = n.u(this.options);
|
|
521
521
|
n.p(e), this.T(a), this._$AH = n;
|
|
522
522
|
}
|
|
523
523
|
}
|
|
524
524
|
_$AC(t) {
|
|
525
|
-
let e =
|
|
526
|
-
return e === void 0 &&
|
|
525
|
+
let e = Co.get(t.strings);
|
|
526
|
+
return e === void 0 && Co.set(t.strings, e = new vt(t)), e;
|
|
527
527
|
}
|
|
528
528
|
k(t) {
|
|
529
529
|
Ui(this._$AH) || (this._$AH = [], this._$AR());
|
|
@@ -536,8 +536,8 @@ class Ct {
|
|
|
536
536
|
_$AR(t = this._$AA.nextSibling, e) {
|
|
537
537
|
var i;
|
|
538
538
|
for ((i = this._$AP) == null ? void 0 : i.call(this, !1, !0, e); t !== this._$AB; ) {
|
|
539
|
-
const s = t.nextSibling;
|
|
540
|
-
t.remove(), t = s;
|
|
539
|
+
const s = yo(t).nextSibling;
|
|
540
|
+
yo(t).remove(), t = s;
|
|
541
541
|
}
|
|
542
542
|
}
|
|
543
543
|
setConnected(t) {
|
|
@@ -572,7 +572,7 @@ class Wt {
|
|
|
572
572
|
t === K ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t != null ? t : "");
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
|
-
class
|
|
575
|
+
class Cn extends Wt {
|
|
576
576
|
constructor() {
|
|
577
577
|
super(...arguments), this.type = 3;
|
|
578
578
|
}
|
|
@@ -580,7 +580,7 @@ class An extends Wt {
|
|
|
580
580
|
this.element[this.name] = t === K ? void 0 : t;
|
|
581
581
|
}
|
|
582
582
|
}
|
|
583
|
-
class
|
|
583
|
+
class Pn extends Wt {
|
|
584
584
|
constructor() {
|
|
585
585
|
super(...arguments), this.type = 4;
|
|
586
586
|
}
|
|
@@ -588,7 +588,7 @@ class Cn extends Wt {
|
|
|
588
588
|
this.element.toggleAttribute(this.name, !!t && t !== K);
|
|
589
589
|
}
|
|
590
590
|
}
|
|
591
|
-
class
|
|
591
|
+
class kn extends Wt {
|
|
592
592
|
constructor(t, e, i, s, r) {
|
|
593
593
|
super(t, e, i, s, r), this.type = 5;
|
|
594
594
|
}
|
|
@@ -604,7 +604,7 @@ class Pn extends Wt {
|
|
|
604
604
|
typeof this._$AH == "function" ? this._$AH.call((i = (e = this.options) == null ? void 0 : e.host) != null ? i : this.element, t) : this._$AH.handleEvent(t);
|
|
605
605
|
}
|
|
606
606
|
}
|
|
607
|
-
class
|
|
607
|
+
class Dn {
|
|
608
608
|
constructor(t, e, i) {
|
|
609
609
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
|
|
610
610
|
}
|
|
@@ -616,9 +616,9 @@ class kn {
|
|
|
616
616
|
}
|
|
617
617
|
}
|
|
618
618
|
const ii = mt.litHtmlPolyfillSupport;
|
|
619
|
-
var
|
|
620
|
-
ii == null || ii(vt, Ct), ((
|
|
621
|
-
const
|
|
619
|
+
var ds;
|
|
620
|
+
ii == null || ii(vt, Ct), ((ds = mt.litHtmlVersions) != null ? ds : mt.litHtmlVersions = []).push("3.3.2");
|
|
621
|
+
const Tn = (o, t, e) => {
|
|
622
622
|
var r, n;
|
|
623
623
|
const i = (r = e == null ? void 0 : e.renderBefore) != null ? r : t;
|
|
624
624
|
let s = i._$litPart$;
|
|
@@ -633,7 +633,7 @@ const Dn = (o, t, e) => {
|
|
|
633
633
|
* Copyright 2017 Google LLC
|
|
634
634
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
635
635
|
*/
|
|
636
|
-
const
|
|
636
|
+
const $e = globalThis;
|
|
637
637
|
class Je extends Ge {
|
|
638
638
|
constructor() {
|
|
639
639
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
@@ -645,7 +645,7 @@ class Je extends Ge {
|
|
|
645
645
|
}
|
|
646
646
|
update(t) {
|
|
647
647
|
const e = this.render();
|
|
648
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do =
|
|
648
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Tn(e, this.renderRoot, this.renderOptions);
|
|
649
649
|
}
|
|
650
650
|
connectedCallback() {
|
|
651
651
|
var t;
|
|
@@ -659,18 +659,18 @@ class Je extends Ge {
|
|
|
659
659
|
return et;
|
|
660
660
|
}
|
|
661
661
|
}
|
|
662
|
-
var ds;
|
|
663
|
-
Je._$litElement$ = !0, Je.finalized = !0, (ds = Ye.litElementHydrateSupport) == null || ds.call(Ye, { LitElement: Je });
|
|
664
|
-
const oi = Ye.litElementPolyfillSupport;
|
|
665
|
-
oi == null || oi({ LitElement: Je });
|
|
666
662
|
var hs;
|
|
667
|
-
(
|
|
663
|
+
Je._$litElement$ = !0, Je.finalized = !0, (hs = $e.litElementHydrateSupport) == null || hs.call($e, { LitElement: Je });
|
|
664
|
+
const oi = $e.litElementPolyfillSupport;
|
|
665
|
+
oi == null || oi({ LitElement: Je });
|
|
666
|
+
var ps;
|
|
667
|
+
((ps = $e.litElementVersions) != null ? ps : $e.litElementVersions = []).push("4.2.2");
|
|
668
668
|
/**
|
|
669
669
|
* @license
|
|
670
670
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
671
671
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
672
672
|
*/
|
|
673
|
-
const
|
|
673
|
+
const Mn = (o) => class extends o {
|
|
674
674
|
static get properties() {
|
|
675
675
|
return {
|
|
676
676
|
/**
|
|
@@ -709,102 +709,102 @@ const Tn = (o) => class extends o {
|
|
|
709
709
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
710
710
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
711
711
|
*/
|
|
712
|
-
const
|
|
713
|
-
function
|
|
712
|
+
const ys = [], yi = /* @__PURE__ */ new Set(), Wi = /* @__PURE__ */ new Set();
|
|
713
|
+
function xs(o) {
|
|
714
714
|
return o && Object.prototype.hasOwnProperty.call(o, "__themes");
|
|
715
715
|
}
|
|
716
|
-
function
|
|
717
|
-
return
|
|
716
|
+
function On(o) {
|
|
717
|
+
return xs(customElements.get(o));
|
|
718
718
|
}
|
|
719
|
-
function
|
|
719
|
+
function In(o = []) {
|
|
720
720
|
return [o].flat(1 / 0).filter((t) => t instanceof Vi ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
|
|
721
721
|
}
|
|
722
|
-
function
|
|
722
|
+
function ws(o, t) {
|
|
723
723
|
return (o || "").split(" ").some((e) => new RegExp(`^${e.split("*").join(".*")}$`, "u").test(t));
|
|
724
724
|
}
|
|
725
|
-
function
|
|
725
|
+
function Es(o) {
|
|
726
726
|
return o.map((t) => t.cssText).join(`
|
|
727
727
|
`);
|
|
728
728
|
}
|
|
729
729
|
const Bt = "vaadin-themable-mixin-style";
|
|
730
|
-
function
|
|
730
|
+
function Fn(o, t) {
|
|
731
731
|
const e = document.createElement("style");
|
|
732
|
-
e.id = Bt, e.textContent =
|
|
732
|
+
e.id = Bt, e.textContent = Es(o), t.content.appendChild(e);
|
|
733
733
|
}
|
|
734
|
-
function
|
|
734
|
+
function Nn(o) {
|
|
735
735
|
if (!o.shadowRoot)
|
|
736
736
|
return;
|
|
737
737
|
const t = o.constructor;
|
|
738
738
|
if (o instanceof Je)
|
|
739
|
-
[...o.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()),
|
|
739
|
+
[...o.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()), fs(o.shadowRoot, t.elementStyles);
|
|
740
740
|
else {
|
|
741
741
|
const e = o.shadowRoot.getElementById(Bt), i = t.prototype._template;
|
|
742
742
|
e.textContent = i.content.getElementById(Bt).textContent;
|
|
743
743
|
}
|
|
744
744
|
}
|
|
745
|
-
function
|
|
745
|
+
function zn(o) {
|
|
746
746
|
yi.forEach((t) => {
|
|
747
747
|
const e = t.deref();
|
|
748
|
-
e instanceof o ?
|
|
748
|
+
e instanceof o ? Nn(e) : e || yi.delete(t);
|
|
749
749
|
});
|
|
750
750
|
}
|
|
751
|
-
function
|
|
751
|
+
function Ss(o) {
|
|
752
752
|
if (o.prototype instanceof Je)
|
|
753
753
|
o.elementStyles = o.finalizeStyles(o.styles);
|
|
754
754
|
else {
|
|
755
755
|
const t = o.prototype._template;
|
|
756
|
-
t.content.getElementById(Bt).textContent =
|
|
756
|
+
t.content.getElementById(Bt).textContent = Es(o.getStylesForThis());
|
|
757
757
|
}
|
|
758
758
|
Wi.forEach((t) => {
|
|
759
759
|
const e = customElements.get(t);
|
|
760
|
-
e !== o && e.prototype instanceof o &&
|
|
760
|
+
e !== o && e.prototype instanceof o && Ss(e);
|
|
761
761
|
});
|
|
762
762
|
}
|
|
763
|
-
function
|
|
763
|
+
function Ln(o, t) {
|
|
764
764
|
const e = o.__themes;
|
|
765
765
|
return !e || !t ? !1 : e.some(
|
|
766
766
|
(i) => i.styles.some((s) => t.some((r) => r.cssText === s.cssText))
|
|
767
767
|
);
|
|
768
768
|
}
|
|
769
769
|
function L(o, t, e = {}) {
|
|
770
|
-
t =
|
|
770
|
+
t = In(t), window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.registerStyles(o, t, e) : ys.push({
|
|
771
771
|
themeFor: o,
|
|
772
772
|
styles: t,
|
|
773
773
|
include: e.include,
|
|
774
774
|
moduleId: e.moduleId
|
|
775
775
|
}), o && Wi.forEach((i) => {
|
|
776
|
-
if (
|
|
776
|
+
if (ws(o, i) && On(i)) {
|
|
777
777
|
const s = customElements.get(i);
|
|
778
|
-
|
|
778
|
+
Ln(s, t) ? console.warn(`Registering styles that already exist for ${i}`) : (!window.Vaadin || !window.Vaadin.suppressPostFinalizeStylesWarning) && console.warn(
|
|
779
779
|
`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".`
|
|
780
|
-
),
|
|
780
|
+
), Ss(s), zn(s);
|
|
781
781
|
}
|
|
782
782
|
});
|
|
783
783
|
}
|
|
784
784
|
function xi() {
|
|
785
|
-
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() :
|
|
785
|
+
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() : ys;
|
|
786
786
|
}
|
|
787
|
-
function
|
|
787
|
+
function Rn(o = "") {
|
|
788
788
|
let t = 0;
|
|
789
789
|
return o.startsWith("lumo-") || o.startsWith("material-") ? t = 1 : o.startsWith("vaadin-") && (t = 2), t;
|
|
790
790
|
}
|
|
791
|
-
function
|
|
791
|
+
function As(o) {
|
|
792
792
|
const t = [];
|
|
793
793
|
return o.include && [].concat(o.include).forEach((e) => {
|
|
794
794
|
const i = xi().find((s) => s.moduleId === e);
|
|
795
|
-
i ? t.push(...
|
|
795
|
+
i ? t.push(...As(i), ...i.styles) : console.warn(`Included moduleId ${e} not found in style registry`);
|
|
796
796
|
}, o.styles), t;
|
|
797
797
|
}
|
|
798
|
-
function
|
|
799
|
-
const t = `${o}-default-theme`, e = xi().filter((i) => i.moduleId !== t &&
|
|
798
|
+
function Bn(o) {
|
|
799
|
+
const t = `${o}-default-theme`, e = xi().filter((i) => i.moduleId !== t && ws(i.themeFor, o)).map((i) => Dt(kt({}, i), {
|
|
800
800
|
// Prepend styles from included themes
|
|
801
|
-
styles: [...
|
|
801
|
+
styles: [...As(i), ...i.styles],
|
|
802
802
|
// Map moduleId to includePriority
|
|
803
|
-
includePriority:
|
|
803
|
+
includePriority: Rn(i.moduleId)
|
|
804
804
|
})).sort((i, s) => s.includePriority - i.includePriority);
|
|
805
805
|
return e.length > 0 ? e : xi().filter((i) => i.moduleId === t);
|
|
806
806
|
}
|
|
807
|
-
const Ve = (o) => class extends
|
|
807
|
+
const Ve = (o) => class extends Mn(o) {
|
|
808
808
|
constructor() {
|
|
809
809
|
super(), yi.add(new WeakRef(this));
|
|
810
810
|
}
|
|
@@ -816,7 +816,7 @@ const Ve = (o) => class extends Tn(o) {
|
|
|
816
816
|
if (super.finalize(), this.is && Wi.add(this.is), this.elementStyles)
|
|
817
817
|
return;
|
|
818
818
|
const e = this.prototype._template;
|
|
819
|
-
!e ||
|
|
819
|
+
!e || xs(this) || Fn(this.getStylesForThis(), e);
|
|
820
820
|
}
|
|
821
821
|
/**
|
|
822
822
|
* Covers LitElement based component styling
|
|
@@ -834,7 +834,7 @@ const Ve = (o) => class extends Tn(o) {
|
|
|
834
834
|
*/
|
|
835
835
|
static getStylesForThis() {
|
|
836
836
|
const e = o.__themes || [], i = Object.getPrototypeOf(this.prototype), s = (i ? i.constructor.__themes : []) || [];
|
|
837
|
-
this.__themes = [...e, ...s, ...
|
|
837
|
+
this.__themes = [...e, ...s, ...Bn(this.is)];
|
|
838
838
|
const r = this.__themes.flatMap((n) => n.styles);
|
|
839
839
|
return r.filter((n, a) => a === r.lastIndexOf(n));
|
|
840
840
|
}
|
|
@@ -844,19 +844,19 @@ const Ve = (o) => class extends Tn(o) {
|
|
|
844
844
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
845
845
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
846
846
|
*/
|
|
847
|
-
const
|
|
847
|
+
const Hn = (o, ...t) => {
|
|
848
848
|
const e = document.createElement("style");
|
|
849
849
|
e.id = o, e.textContent = t.map((i) => i.toString()).join(`
|
|
850
850
|
`).replace(":host", "html"), document.head.insertAdjacentElement("afterbegin", e);
|
|
851
851
|
}, st = (o, ...t) => {
|
|
852
|
-
|
|
852
|
+
Hn(`lumo-${o}`, t);
|
|
853
853
|
};
|
|
854
854
|
/**
|
|
855
855
|
* @license
|
|
856
856
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
857
857
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
858
858
|
*/
|
|
859
|
-
const
|
|
859
|
+
const $n = P`
|
|
860
860
|
:host {
|
|
861
861
|
--lumo-size-xs: 1.625rem;
|
|
862
862
|
--lumo-size-s: 1.875rem;
|
|
@@ -872,7 +872,7 @@ const Hn = P`
|
|
|
872
872
|
--lumo-icon-size: var(--lumo-icon-size-m);
|
|
873
873
|
}
|
|
874
874
|
`;
|
|
875
|
-
st("sizing-props",
|
|
875
|
+
st("sizing-props", $n);
|
|
876
876
|
/**
|
|
877
877
|
* @license
|
|
878
878
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -908,7 +908,7 @@ st("spacing-props", Yn);
|
|
|
908
908
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
909
909
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
910
910
|
*/
|
|
911
|
-
const
|
|
911
|
+
const jn = P`
|
|
912
912
|
:host {
|
|
913
913
|
/* Border radius */
|
|
914
914
|
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
@@ -1010,13 +1010,13 @@ P`
|
|
|
1010
1010
|
--vaadin-input-field-value-font-weight: 500;
|
|
1011
1011
|
}
|
|
1012
1012
|
`;
|
|
1013
|
-
st("style-props",
|
|
1013
|
+
st("style-props", jn);
|
|
1014
1014
|
/**
|
|
1015
1015
|
* @license
|
|
1016
1016
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1017
1017
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1018
1018
|
*/
|
|
1019
|
-
const
|
|
1019
|
+
const Vn = P`
|
|
1020
1020
|
:host {
|
|
1021
1021
|
/* Base (background) */
|
|
1022
1022
|
--lumo-base-color: #fff;
|
|
@@ -1102,8 +1102,8 @@ const jn = P`
|
|
|
1102
1102
|
}
|
|
1103
1103
|
}
|
|
1104
1104
|
`;
|
|
1105
|
-
st("color-props",
|
|
1106
|
-
const
|
|
1105
|
+
st("color-props", Vn);
|
|
1106
|
+
const Un = P`
|
|
1107
1107
|
[theme~='dark'] {
|
|
1108
1108
|
/* Base (background) */
|
|
1109
1109
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -1222,13 +1222,13 @@ const Vn = P`
|
|
|
1222
1222
|
background: transparent;
|
|
1223
1223
|
}
|
|
1224
1224
|
`;
|
|
1225
|
-
L("",
|
|
1225
|
+
L("", Un, { moduleId: "lumo-color" });
|
|
1226
1226
|
/**
|
|
1227
1227
|
* @license
|
|
1228
1228
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1229
1229
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1230
1230
|
*/
|
|
1231
|
-
const
|
|
1231
|
+
const Wn = P`
|
|
1232
1232
|
:host {
|
|
1233
1233
|
/* prettier-ignore */
|
|
1234
1234
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -1248,7 +1248,7 @@ const Un = P`
|
|
|
1248
1248
|
--lumo-line-height-s: 1.375;
|
|
1249
1249
|
--lumo-line-height-m: 1.625;
|
|
1250
1250
|
}
|
|
1251
|
-
`,
|
|
1251
|
+
`, qn = P`
|
|
1252
1252
|
body,
|
|
1253
1253
|
:host {
|
|
1254
1254
|
font-family: var(--lumo-font-family);
|
|
@@ -1341,14 +1341,14 @@ const Un = P`
|
|
|
1341
1341
|
border-right: 2px solid var(--lumo-contrast-30pct);
|
|
1342
1342
|
}
|
|
1343
1343
|
`;
|
|
1344
|
-
L("",
|
|
1345
|
-
st("typography-props",
|
|
1344
|
+
L("", qn, { moduleId: "lumo-typography" });
|
|
1345
|
+
st("typography-props", Wn);
|
|
1346
1346
|
/**
|
|
1347
1347
|
* @license
|
|
1348
1348
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1349
1349
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1350
1350
|
*/
|
|
1351
|
-
const
|
|
1351
|
+
const Cs = P`
|
|
1352
1352
|
:host {
|
|
1353
1353
|
top: var(--lumo-space-m);
|
|
1354
1354
|
right: var(--lumo-space-m);
|
|
@@ -1414,13 +1414,13 @@ const As = P`
|
|
|
1414
1414
|
}
|
|
1415
1415
|
}
|
|
1416
1416
|
`;
|
|
1417
|
-
L("",
|
|
1417
|
+
L("", Cs, { moduleId: "lumo-overlay" });
|
|
1418
1418
|
/**
|
|
1419
1419
|
* @license
|
|
1420
1420
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1421
1421
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1422
1422
|
*/
|
|
1423
|
-
const
|
|
1423
|
+
const Ps = P`
|
|
1424
1424
|
:host([opening]),
|
|
1425
1425
|
:host([closing]) {
|
|
1426
1426
|
animation: 0.14s lumo-overlay-dummy-animation;
|
|
@@ -1451,8 +1451,8 @@ const Cs = P`
|
|
|
1451
1451
|
}
|
|
1452
1452
|
}
|
|
1453
1453
|
`;
|
|
1454
|
-
L("",
|
|
1455
|
-
const
|
|
1454
|
+
L("", Ps, { moduleId: "lumo-menu-overlay-core" });
|
|
1455
|
+
const Kn = P`
|
|
1456
1456
|
/* Small viewport (bottom sheet) styles */
|
|
1457
1457
|
/* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
|
|
1458
1458
|
@media (max-width: 450px), (max-height: 450px) {
|
|
@@ -1514,9 +1514,9 @@ const qn = P`
|
|
|
1514
1514
|
transform: translateY(150%);
|
|
1515
1515
|
}
|
|
1516
1516
|
}
|
|
1517
|
-
`,
|
|
1518
|
-
L("",
|
|
1519
|
-
const
|
|
1517
|
+
`, ks = [Cs, Ps, Kn];
|
|
1518
|
+
L("", ks, { moduleId: "lumo-menu-overlay" });
|
|
1519
|
+
const Gn = P`
|
|
1520
1520
|
[part='overlay'] {
|
|
1521
1521
|
/*
|
|
1522
1522
|
Width:
|
|
@@ -1562,10 +1562,10 @@ const Kn = P`
|
|
|
1562
1562
|
}
|
|
1563
1563
|
}
|
|
1564
1564
|
`;
|
|
1565
|
-
L("vaadin-date-picker-overlay", [
|
|
1565
|
+
L("vaadin-date-picker-overlay", [ks, Gn], {
|
|
1566
1566
|
moduleId: "lumo-date-picker-overlay"
|
|
1567
1567
|
});
|
|
1568
|
-
const
|
|
1568
|
+
const Jn = P`
|
|
1569
1569
|
:host {
|
|
1570
1570
|
/* Sizing */
|
|
1571
1571
|
--lumo-button-size: var(--lumo-size-m);
|
|
@@ -1842,7 +1842,7 @@ const Gn = P`
|
|
|
1842
1842
|
margin-right: 0;
|
|
1843
1843
|
}
|
|
1844
1844
|
`;
|
|
1845
|
-
L("vaadin-button",
|
|
1845
|
+
L("vaadin-button", Jn, { moduleId: "lumo-button" });
|
|
1846
1846
|
L(
|
|
1847
1847
|
"vaadin-date-picker-year",
|
|
1848
1848
|
P`
|
|
@@ -2367,7 +2367,7 @@ L(
|
|
|
2367
2367
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2368
2368
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2369
2369
|
*/
|
|
2370
|
-
const
|
|
2370
|
+
const Xn = P`
|
|
2371
2371
|
@font-face {
|
|
2372
2372
|
font-family: 'lumo-icons';
|
|
2373
2373
|
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==)
|
|
@@ -2421,13 +2421,13 @@ const Jn = P`
|
|
|
2421
2421
|
--lumo-icons-user: '\\ea2a';
|
|
2422
2422
|
}
|
|
2423
2423
|
`;
|
|
2424
|
-
st("font-icons",
|
|
2424
|
+
st("font-icons", Xn);
|
|
2425
2425
|
/**
|
|
2426
2426
|
* @license
|
|
2427
2427
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2428
2428
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2429
2429
|
*/
|
|
2430
|
-
const
|
|
2430
|
+
const Ds = P`
|
|
2431
2431
|
[part$='button'] {
|
|
2432
2432
|
flex: none;
|
|
2433
2433
|
width: 1em;
|
|
@@ -2455,13 +2455,13 @@ const ks = P`
|
|
|
2455
2455
|
display: block;
|
|
2456
2456
|
}
|
|
2457
2457
|
`;
|
|
2458
|
-
L("",
|
|
2458
|
+
L("", Ds, { moduleId: "lumo-field-button" });
|
|
2459
2459
|
/**
|
|
2460
2460
|
* @license
|
|
2461
2461
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2462
2462
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2463
2463
|
*/
|
|
2464
|
-
const
|
|
2464
|
+
const Zn = P`
|
|
2465
2465
|
:host {
|
|
2466
2466
|
--_helper-spacing: var(--vaadin-input-field-helper-spacing, 0.4em);
|
|
2467
2467
|
}
|
|
@@ -2523,7 +2523,7 @@ const Xn = P`
|
|
|
2523
2523
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2524
2524
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2525
2525
|
*/
|
|
2526
|
-
const
|
|
2526
|
+
const Ts = P`
|
|
2527
2527
|
[part='label'] {
|
|
2528
2528
|
align-self: flex-start;
|
|
2529
2529
|
color: var(--vaadin-input-field-label-color, var(--lumo-secondary-text-color));
|
|
@@ -2636,13 +2636,13 @@ const Ds = P`
|
|
|
2636
2636
|
margin-right: calc(var(--lumo-border-radius-m) / 4);
|
|
2637
2637
|
}
|
|
2638
2638
|
`;
|
|
2639
|
-
L("",
|
|
2639
|
+
L("", Ts, { moduleId: "lumo-required-field" });
|
|
2640
2640
|
/**
|
|
2641
2641
|
* @license
|
|
2642
2642
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2643
2643
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2644
2644
|
*/
|
|
2645
|
-
const
|
|
2645
|
+
const Qn = P`
|
|
2646
2646
|
:host {
|
|
2647
2647
|
--lumo-text-field-size: var(--lumo-size-m);
|
|
2648
2648
|
color: var(--vaadin-input-field-value-color, var(--lumo-body-text-color));
|
|
@@ -2773,11 +2773,11 @@ const Zn = P`
|
|
|
2773
2773
|
[part='clear-button']::before {
|
|
2774
2774
|
content: var(--lumo-icons-cross);
|
|
2775
2775
|
}
|
|
2776
|
-
`,
|
|
2777
|
-
L("",
|
|
2776
|
+
`, Ms = [Ts, Ds, Zn, Qn];
|
|
2777
|
+
L("", Ms, {
|
|
2778
2778
|
moduleId: "lumo-input-field-shared-styles"
|
|
2779
2779
|
});
|
|
2780
|
-
const
|
|
2780
|
+
const ea = P`
|
|
2781
2781
|
[part='toggle-button']::before {
|
|
2782
2782
|
content: var(--lumo-icons-calendar);
|
|
2783
2783
|
}
|
|
@@ -2800,7 +2800,7 @@ const Qn = P`
|
|
|
2800
2800
|
--_lumo-text-field-overflow-mask-image: none;
|
|
2801
2801
|
}
|
|
2802
2802
|
`;
|
|
2803
|
-
L("vaadin-date-picker", [
|
|
2803
|
+
L("vaadin-date-picker", [Ms, ea], { moduleId: "lumo-date-picker" });
|
|
2804
2804
|
/**
|
|
2805
2805
|
@license
|
|
2806
2806
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -2822,9 +2822,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2822
2822
|
Code distributed by Google as part of the polymer project is also
|
|
2823
2823
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2824
2824
|
*/
|
|
2825
|
-
let
|
|
2825
|
+
let ta = /(url\()([^)]*)(\))/g, ia = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, Tt, de;
|
|
2826
2826
|
function _t(o, t) {
|
|
2827
|
-
if (o &&
|
|
2827
|
+
if (o && ia.test(o) || o === "//")
|
|
2828
2828
|
return o;
|
|
2829
2829
|
if (Tt === void 0) {
|
|
2830
2830
|
Tt = !1;
|
|
@@ -2843,7 +2843,7 @@ function _t(o, t) {
|
|
|
2843
2843
|
return de || (de = document.implementation.createHTMLDocument("temp"), de.base = de.createElement("base"), de.head.appendChild(de.base), de.anchor = de.createElement("a"), de.body.appendChild(de.anchor)), de.base.href = t, de.anchor.href = o, de.anchor.href || o;
|
|
2844
2844
|
}
|
|
2845
2845
|
function qi(o, t) {
|
|
2846
|
-
return o.replace(
|
|
2846
|
+
return o.replace(ta, function(e, i, s, r) {
|
|
2847
2847
|
return i + "'" + _t(s.replace(/["']/g, ""), t) + "'" + r;
|
|
2848
2848
|
});
|
|
2849
2849
|
}
|
|
@@ -2859,9 +2859,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2859
2859
|
Code distributed by Google as part of the polymer project is also
|
|
2860
2860
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2861
2861
|
*/
|
|
2862
|
-
const
|
|
2862
|
+
const Os = !window.ShadyDOM || !window.ShadyDOM.inUse;
|
|
2863
2863
|
!window.ShadyCSS || window.ShadyCSS.nativeCss;
|
|
2864
|
-
const
|
|
2864
|
+
const oa = Os && "adoptedStyleSheets" in Document.prototype && "replaceSync" in CSSStyleSheet.prototype && // Since spec may change, feature detect exact API we need
|
|
2865
2865
|
(() => {
|
|
2866
2866
|
try {
|
|
2867
2867
|
const o = new CSSStyleSheet();
|
|
@@ -2872,11 +2872,11 @@ const ia = Ms && "adoptedStyleSheets" in Document.prototype && "replaceSync" in
|
|
|
2872
2872
|
return !1;
|
|
2873
2873
|
}
|
|
2874
2874
|
})();
|
|
2875
|
-
let
|
|
2875
|
+
let sa = window.Polymer && window.Polymer.rootPath || Ki(document.baseURI || window.location.href), Ht = window.Polymer && window.Polymer.sanitizeDOMValue || void 0;
|
|
2876
2876
|
window.Polymer && window.Polymer.setPassiveTouchGestures;
|
|
2877
|
-
let
|
|
2877
|
+
let $t = window.Polymer && window.Polymer.strictTemplatePolicy || !1, ra = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, Is = window.Polymer && window.Polymer.legacyOptimizations || !1, Fs = window.Polymer && window.Polymer.legacyWarnings || !1, na = window.Polymer && window.Polymer.syncInitialRender || !1, wi = window.Polymer && window.Polymer.legacyUndefined || !1, aa = window.Polymer && window.Polymer.orderedComputed || !1, Po = window.Polymer && window.Polymer.removeNestedTemplates || !1, la = window.Polymer && window.Polymer.fastDomIf || !1, ko = window.Polymer && window.Polymer.suppressTemplateNotifications || !1;
|
|
2878
2878
|
window.Polymer && window.Polymer.legacyNoObservedAttributes;
|
|
2879
|
-
let
|
|
2879
|
+
let ca = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
|
|
2880
2880
|
/**
|
|
2881
2881
|
@license
|
|
2882
2882
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -2886,14 +2886,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2886
2886
|
Code distributed by Google as part of the polymer project is also
|
|
2887
2887
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2888
2888
|
*/
|
|
2889
|
-
let
|
|
2889
|
+
let ua = 0;
|
|
2890
2890
|
const W = function(o) {
|
|
2891
2891
|
let t = (
|
|
2892
2892
|
/** @type {!MixinFunction} */
|
|
2893
2893
|
o.__mixinApplications
|
|
2894
2894
|
);
|
|
2895
2895
|
t || (t = /* @__PURE__ */ new WeakMap(), o.__mixinApplications = t);
|
|
2896
|
-
let e =
|
|
2896
|
+
let e = ua++;
|
|
2897
2897
|
function i(s) {
|
|
2898
2898
|
let r = (
|
|
2899
2899
|
/** @type {!MixinFunction} */
|
|
@@ -2924,14 +2924,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2924
2924
|
Code distributed by Google as part of the polymer project is also
|
|
2925
2925
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2926
2926
|
*/
|
|
2927
|
-
let Gi = {},
|
|
2928
|
-
function
|
|
2929
|
-
Gi[o] =
|
|
2927
|
+
let Gi = {}, Ns = {};
|
|
2928
|
+
function Do(o, t) {
|
|
2929
|
+
Gi[o] = Ns[o.toLowerCase()] = t;
|
|
2930
2930
|
}
|
|
2931
|
-
function
|
|
2932
|
-
return Gi[o] ||
|
|
2931
|
+
function To(o) {
|
|
2932
|
+
return Gi[o] || Ns[o.toLowerCase()];
|
|
2933
2933
|
}
|
|
2934
|
-
function
|
|
2934
|
+
function da(o) {
|
|
2935
2935
|
o.querySelector("style") && console.warn("dom-module %s has style outside template", o.id);
|
|
2936
2936
|
}
|
|
2937
2937
|
class yt extends HTMLElement {
|
|
@@ -2952,7 +2952,7 @@ class yt extends HTMLElement {
|
|
|
2952
2952
|
*/
|
|
2953
2953
|
static import(t, e) {
|
|
2954
2954
|
if (t) {
|
|
2955
|
-
let i =
|
|
2955
|
+
let i = To(t);
|
|
2956
2956
|
return i && e ? i.querySelector(e) : i;
|
|
2957
2957
|
}
|
|
2958
2958
|
return null;
|
|
@@ -3000,9 +3000,9 @@ class yt extends HTMLElement {
|
|
|
3000
3000
|
*/
|
|
3001
3001
|
register(t) {
|
|
3002
3002
|
if (t = t || this.id, t) {
|
|
3003
|
-
if (
|
|
3004
|
-
throw
|
|
3005
|
-
this.id = t,
|
|
3003
|
+
if ($t && To(t) !== void 0)
|
|
3004
|
+
throw Do(t, null), new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);
|
|
3005
|
+
this.id = t, Do(t, this), da(this);
|
|
3006
3006
|
}
|
|
3007
3007
|
}
|
|
3008
3008
|
}
|
|
@@ -3017,14 +3017,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3017
3017
|
Code distributed by Google as part of the polymer project is also
|
|
3018
3018
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3019
3019
|
*/
|
|
3020
|
-
const
|
|
3021
|
-
function
|
|
3020
|
+
const ha = "link[rel=import][type~=css]", pa = "include", Mo = "shady-unscoped";
|
|
3021
|
+
function zs(o) {
|
|
3022
3022
|
return (
|
|
3023
3023
|
/** @type {?DomModule} */
|
|
3024
3024
|
yt.import(o)
|
|
3025
3025
|
);
|
|
3026
3026
|
}
|
|
3027
|
-
function
|
|
3027
|
+
function Oo(o) {
|
|
3028
3028
|
let t = o.body ? o.body : o;
|
|
3029
3029
|
const e = qi(
|
|
3030
3030
|
t.textContent,
|
|
@@ -3032,24 +3032,24 @@ function Mo(o) {
|
|
|
3032
3032
|
), i = document.createElement("style");
|
|
3033
3033
|
return i.textContent = e, i;
|
|
3034
3034
|
}
|
|
3035
|
-
function
|
|
3035
|
+
function fa(o) {
|
|
3036
3036
|
const t = o.trim().split(/\s+/), e = [];
|
|
3037
3037
|
for (let i = 0; i < t.length; i++)
|
|
3038
|
-
e.push(...
|
|
3038
|
+
e.push(...ma(t[i]));
|
|
3039
3039
|
return e;
|
|
3040
3040
|
}
|
|
3041
|
-
function
|
|
3042
|
-
const t =
|
|
3041
|
+
function ma(o) {
|
|
3042
|
+
const t = zs(o);
|
|
3043
3043
|
if (!t)
|
|
3044
3044
|
return console.warn("Could not find style data in module named", o), [];
|
|
3045
3045
|
if (t._styles === void 0) {
|
|
3046
3046
|
const e = [];
|
|
3047
|
-
e.push(...
|
|
3047
|
+
e.push(...Rs(t));
|
|
3048
3048
|
const i = (
|
|
3049
3049
|
/** @type {?HTMLTemplateElement} */
|
|
3050
3050
|
t.querySelector("template")
|
|
3051
3051
|
);
|
|
3052
|
-
i && e.push(...
|
|
3052
|
+
i && e.push(...Ls(
|
|
3053
3053
|
i,
|
|
3054
3054
|
/** @type {templateWithAssetPath} */
|
|
3055
3055
|
t.assetpath
|
|
@@ -3057,12 +3057,12 @@ function fa(o) {
|
|
|
3057
3057
|
}
|
|
3058
3058
|
return t._styles;
|
|
3059
3059
|
}
|
|
3060
|
-
function
|
|
3060
|
+
function Ls(o, t) {
|
|
3061
3061
|
if (!o._styles) {
|
|
3062
3062
|
const e = [], i = o.content.querySelectorAll("style");
|
|
3063
3063
|
for (let s = 0; s < i.length; s++) {
|
|
3064
|
-
let r = i[s], n = r.getAttribute(
|
|
3065
|
-
n && e.push(...
|
|
3064
|
+
let r = i[s], n = r.getAttribute(pa);
|
|
3065
|
+
n && e.push(...fa(n).filter(function(a, l, c) {
|
|
3066
3066
|
return c.indexOf(a) === l;
|
|
3067
3067
|
})), t && (r.textContent = qi(
|
|
3068
3068
|
r.textContent,
|
|
@@ -3074,21 +3074,21 @@ function zs(o, t) {
|
|
|
3074
3074
|
}
|
|
3075
3075
|
return o._styles;
|
|
3076
3076
|
}
|
|
3077
|
-
function
|
|
3078
|
-
let t =
|
|
3079
|
-
return t ?
|
|
3077
|
+
function _a(o) {
|
|
3078
|
+
let t = zs(o);
|
|
3079
|
+
return t ? Rs(t) : [];
|
|
3080
3080
|
}
|
|
3081
|
-
function
|
|
3082
|
-
const t = [], e = o.querySelectorAll(
|
|
3081
|
+
function Rs(o) {
|
|
3082
|
+
const t = [], e = o.querySelectorAll(ha);
|
|
3083
3083
|
for (let i = 0; i < e.length; i++) {
|
|
3084
3084
|
let s = e[i];
|
|
3085
3085
|
if (s.import) {
|
|
3086
|
-
const r = s.import, n = s.hasAttribute(
|
|
3086
|
+
const r = s.import, n = s.hasAttribute(Mo);
|
|
3087
3087
|
if (n && !r._unscopedStyle) {
|
|
3088
|
-
const a =
|
|
3089
|
-
a.setAttribute(
|
|
3088
|
+
const a = Oo(r);
|
|
3089
|
+
a.setAttribute(Mo, ""), r._unscopedStyle = a;
|
|
3090
3090
|
} else
|
|
3091
|
-
r._style || (r._style =
|
|
3091
|
+
r._style || (r._style = Oo(r));
|
|
3092
3092
|
t.push(n ? r._unscopedStyle : r._style);
|
|
3093
3093
|
}
|
|
3094
3094
|
}
|
|
@@ -3120,7 +3120,7 @@ function Ue(o) {
|
|
|
3120
3120
|
let t = o.indexOf(".");
|
|
3121
3121
|
return t === -1 ? o : o.slice(0, t);
|
|
3122
3122
|
}
|
|
3123
|
-
function
|
|
3123
|
+
function Bs(o, t) {
|
|
3124
3124
|
return o.indexOf(t + ".") === 0;
|
|
3125
3125
|
}
|
|
3126
3126
|
function xt(o, t) {
|
|
@@ -3129,8 +3129,8 @@ function xt(o, t) {
|
|
|
3129
3129
|
function wt(o, t, e) {
|
|
3130
3130
|
return t + e.slice(o.length);
|
|
3131
3131
|
}
|
|
3132
|
-
function
|
|
3133
|
-
return o === t ||
|
|
3132
|
+
function ga(o, t) {
|
|
3133
|
+
return o === t || Bs(o, t) || xt(o, t);
|
|
3134
3134
|
}
|
|
3135
3135
|
function ht(o) {
|
|
3136
3136
|
if (Array.isArray(o)) {
|
|
@@ -3144,11 +3144,11 @@ function ht(o) {
|
|
|
3144
3144
|
} else
|
|
3145
3145
|
return o;
|
|
3146
3146
|
}
|
|
3147
|
-
function
|
|
3147
|
+
function Hs(o) {
|
|
3148
3148
|
return Array.isArray(o) ? ht(o).split(".") : o.toString().split(".");
|
|
3149
3149
|
}
|
|
3150
3150
|
function re(o, t, e) {
|
|
3151
|
-
let i = o, s =
|
|
3151
|
+
let i = o, s = Hs(t);
|
|
3152
3152
|
for (let r = 0; r < s.length; r++) {
|
|
3153
3153
|
if (!i)
|
|
3154
3154
|
return;
|
|
@@ -3157,8 +3157,8 @@ function re(o, t, e) {
|
|
|
3157
3157
|
}
|
|
3158
3158
|
return e && (e.path = s.join(".")), i;
|
|
3159
3159
|
}
|
|
3160
|
-
function
|
|
3161
|
-
let i = o, s =
|
|
3160
|
+
function Io(o, t, e) {
|
|
3161
|
+
let i = o, s = Hs(t), r = s[s.length - 1];
|
|
3162
3162
|
if (s.length > 1) {
|
|
3163
3163
|
for (let n = 0; n < s.length - 1; n++) {
|
|
3164
3164
|
let a = s[n];
|
|
@@ -3179,15 +3179,15 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3179
3179
|
Code distributed by Google as part of the polymer project is also
|
|
3180
3180
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3181
3181
|
*/
|
|
3182
|
-
const
|
|
3183
|
-
function
|
|
3184
|
-
return
|
|
3185
|
-
|
|
3182
|
+
const Yt = {}, ba = /-[a-z]/g, va = /([A-Z])/g;
|
|
3183
|
+
function $s(o) {
|
|
3184
|
+
return Yt[o] || (Yt[o] = o.indexOf("-") < 0 ? o : o.replace(
|
|
3185
|
+
ba,
|
|
3186
3186
|
(t) => t[1].toUpperCase()
|
|
3187
3187
|
));
|
|
3188
3188
|
}
|
|
3189
3189
|
function qt(o) {
|
|
3190
|
-
return
|
|
3190
|
+
return Yt[o] || (Yt[o] = o.replace(va, "-$1").toLowerCase());
|
|
3191
3191
|
}
|
|
3192
3192
|
/**
|
|
3193
3193
|
@license
|
|
@@ -3198,9 +3198,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3198
3198
|
Code distributed by Google as part of the polymer project is also
|
|
3199
3199
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3200
3200
|
*/
|
|
3201
|
-
let
|
|
3202
|
-
new window.MutationObserver(
|
|
3203
|
-
function
|
|
3201
|
+
let ya = 0, Ys = 0, Xe = [], xa = 0, Si = !1, js = document.createTextNode("");
|
|
3202
|
+
new window.MutationObserver(wa).observe(js, { characterData: !0 });
|
|
3203
|
+
function wa() {
|
|
3204
3204
|
Si = !1;
|
|
3205
3205
|
const o = Xe.length;
|
|
3206
3206
|
for (let t = 0; t < o; t++) {
|
|
@@ -3216,7 +3216,7 @@ function xa() {
|
|
|
3216
3216
|
}
|
|
3217
3217
|
Xe.splice(0, o), Ys += o;
|
|
3218
3218
|
}
|
|
3219
|
-
const
|
|
3219
|
+
const Ea = {
|
|
3220
3220
|
/**
|
|
3221
3221
|
* Returns a sub-module with the async interface providing the provided
|
|
3222
3222
|
* delay.
|
|
@@ -3256,7 +3256,7 @@ const wa = {
|
|
|
3256
3256
|
cancel(o) {
|
|
3257
3257
|
window.clearTimeout(o);
|
|
3258
3258
|
}
|
|
3259
|
-
},
|
|
3259
|
+
}, Vs = {
|
|
3260
3260
|
/**
|
|
3261
3261
|
* Enqueues a function called at microtask timing.
|
|
3262
3262
|
*
|
|
@@ -3265,7 +3265,7 @@ const wa = {
|
|
|
3265
3265
|
* @return {number} Handle used for canceling task
|
|
3266
3266
|
*/
|
|
3267
3267
|
run(o) {
|
|
3268
|
-
return Si || (Si = !0,
|
|
3268
|
+
return Si || (Si = !0, js.textContent = xa++), Xe.push(o), ya++;
|
|
3269
3269
|
},
|
|
3270
3270
|
/**
|
|
3271
3271
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -3292,7 +3292,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3292
3292
|
Code distributed by Google as part of the polymer project is also
|
|
3293
3293
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3294
3294
|
*/
|
|
3295
|
-
const
|
|
3295
|
+
const Sa = Vs, Us = W(
|
|
3296
3296
|
/**
|
|
3297
3297
|
* @template T
|
|
3298
3298
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -3501,7 +3501,7 @@ const Ea = js, Vs = W(
|
|
|
3501
3501
|
* @override
|
|
3502
3502
|
*/
|
|
3503
3503
|
_invalidateProperties() {
|
|
3504
|
-
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0,
|
|
3504
|
+
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0, Sa.run(() => {
|
|
3505
3505
|
this.__dataInvalid && (this.__dataInvalid = !1, this._flushProperties());
|
|
3506
3506
|
}));
|
|
3507
3507
|
}
|
|
@@ -3728,23 +3728,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3728
3728
|
Code distributed by Google as part of the polymer project is also
|
|
3729
3729
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3730
3730
|
*/
|
|
3731
|
-
const
|
|
3731
|
+
const Ws = {};
|
|
3732
3732
|
let Mt = HTMLElement.prototype;
|
|
3733
3733
|
for (; Mt; ) {
|
|
3734
3734
|
let o = Object.getOwnPropertyNames(Mt);
|
|
3735
3735
|
for (let t = 0; t < o.length; t++)
|
|
3736
|
-
|
|
3736
|
+
Ws[o[t]] = !0;
|
|
3737
3737
|
Mt = Object.getPrototypeOf(Mt);
|
|
3738
3738
|
}
|
|
3739
|
-
const
|
|
3740
|
-
function
|
|
3741
|
-
if (!
|
|
3739
|
+
const Aa = window.trustedTypes ? (o) => trustedTypes.isHTML(o) || trustedTypes.isScript(o) || trustedTypes.isScriptURL(o) : () => !1;
|
|
3740
|
+
function Ca(o, t) {
|
|
3741
|
+
if (!Ws[t]) {
|
|
3742
3742
|
let e = o[t];
|
|
3743
3743
|
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));
|
|
3744
3744
|
}
|
|
3745
3745
|
}
|
|
3746
|
-
const
|
|
3747
|
-
const t =
|
|
3746
|
+
const Pa = W((o) => {
|
|
3747
|
+
const t = Us(o);
|
|
3748
3748
|
class e extends t {
|
|
3749
3749
|
/**
|
|
3750
3750
|
* Generates property accessors for all attributes in the standard
|
|
@@ -3762,7 +3762,7 @@ const Ca = W((o) => {
|
|
|
3762
3762
|
this.observedAttributes
|
|
3763
3763
|
);
|
|
3764
3764
|
for (let r = 0; r < s.length; r++)
|
|
3765
|
-
this.prototype._createPropertyAccessor(
|
|
3765
|
+
this.prototype._createPropertyAccessor($s(s[r]));
|
|
3766
3766
|
}
|
|
3767
3767
|
/**
|
|
3768
3768
|
* Returns an attribute name that corresponds to the given property.
|
|
@@ -3839,7 +3839,7 @@ const Ca = W((o) => {
|
|
|
3839
3839
|
if (s instanceof Date)
|
|
3840
3840
|
return s.toString();
|
|
3841
3841
|
if (s) {
|
|
3842
|
-
if (
|
|
3842
|
+
if (Aa(s))
|
|
3843
3843
|
return (
|
|
3844
3844
|
/** @type {?} */
|
|
3845
3845
|
s
|
|
@@ -3920,7 +3920,7 @@ const Ca = W((o) => {
|
|
|
3920
3920
|
* @override
|
|
3921
3921
|
*/
|
|
3922
3922
|
_definePropertyAccessor(s, r) {
|
|
3923
|
-
|
|
3923
|
+
Ca(this, s), super._definePropertyAccessor(s, r);
|
|
3924
3924
|
}
|
|
3925
3925
|
/**
|
|
3926
3926
|
* Returns true if this library created an accessor for the given property.
|
|
@@ -3955,23 +3955,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3955
3955
|
Code distributed by Google as part of the polymer project is also
|
|
3956
3956
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3957
3957
|
*/
|
|
3958
|
-
const
|
|
3958
|
+
const ka = {
|
|
3959
3959
|
"dom-if": !0,
|
|
3960
3960
|
"dom-repeat": !0
|
|
3961
3961
|
};
|
|
3962
|
-
let
|
|
3963
|
-
function
|
|
3964
|
-
if (!
|
|
3965
|
-
|
|
3962
|
+
let Fo = !1, No = !1;
|
|
3963
|
+
function Da() {
|
|
3964
|
+
if (!Fo) {
|
|
3965
|
+
Fo = !0;
|
|
3966
3966
|
const o = document.createElement("textarea");
|
|
3967
|
-
o.placeholder = "a",
|
|
3967
|
+
o.placeholder = "a", No = o.placeholder === o.textContent;
|
|
3968
3968
|
}
|
|
3969
|
-
return
|
|
3969
|
+
return No;
|
|
3970
3970
|
}
|
|
3971
|
-
function
|
|
3972
|
-
|
|
3971
|
+
function Ta(o) {
|
|
3972
|
+
Da() && o.localName === "textarea" && o.placeholder && o.placeholder === o.textContent && (o.textContent = null);
|
|
3973
3973
|
}
|
|
3974
|
-
const
|
|
3974
|
+
const Ma = (() => {
|
|
3975
3975
|
const o = window.trustedTypes && window.trustedTypes.createPolicy(
|
|
3976
3976
|
"polymer-template-event-attribute-policy",
|
|
3977
3977
|
{
|
|
@@ -3990,19 +3990,19 @@ const Ta = (() => {
|
|
|
3990
3990
|
t.setAttribute(i, s);
|
|
3991
3991
|
};
|
|
3992
3992
|
})();
|
|
3993
|
-
function
|
|
3993
|
+
function Oa(o) {
|
|
3994
3994
|
let t = o.getAttribute("is");
|
|
3995
|
-
if (t &&
|
|
3995
|
+
if (t && ka[t]) {
|
|
3996
3996
|
let e = o;
|
|
3997
3997
|
for (e.removeAttribute("is"), o = e.ownerDocument.createElement(t), e.parentNode.replaceChild(o, e), o.appendChild(e); e.attributes.length; ) {
|
|
3998
3998
|
const { name: i } = e.attributes[0];
|
|
3999
|
-
|
|
3999
|
+
Ma(o, e, i), e.removeAttribute(i);
|
|
4000
4000
|
}
|
|
4001
4001
|
}
|
|
4002
4002
|
return o;
|
|
4003
4003
|
}
|
|
4004
|
-
function
|
|
4005
|
-
let e = t.parentInfo &&
|
|
4004
|
+
function qs(o, t) {
|
|
4005
|
+
let e = t.parentInfo && qs(o, t.parentInfo);
|
|
4006
4006
|
if (e) {
|
|
4007
4007
|
for (let i = e.firstChild, s = 0; i; i = i.nextSibling)
|
|
4008
4008
|
if (t.parentIndex === s++)
|
|
@@ -4010,23 +4010,23 @@ function Ws(o, t) {
|
|
|
4010
4010
|
} else
|
|
4011
4011
|
return o;
|
|
4012
4012
|
}
|
|
4013
|
-
function
|
|
4013
|
+
function Ia(o, t, e, i) {
|
|
4014
4014
|
i.id && (t[i.id] = e);
|
|
4015
4015
|
}
|
|
4016
|
-
function
|
|
4016
|
+
function Fa(o, t, e) {
|
|
4017
4017
|
if (e.events && e.events.length)
|
|
4018
4018
|
for (let i = 0, s = e.events, r; i < s.length && (r = s[i]); i++)
|
|
4019
4019
|
o._addMethodEventListenerToNode(t, r.name, r.value, o);
|
|
4020
4020
|
}
|
|
4021
|
-
function
|
|
4021
|
+
function Na(o, t, e, i) {
|
|
4022
4022
|
e.templateInfo && (t._templateInfo = e.templateInfo, t._parentTemplateInfo = i);
|
|
4023
4023
|
}
|
|
4024
|
-
function
|
|
4024
|
+
function za(o, t, e) {
|
|
4025
4025
|
return o = o._methodHost || o, function(s) {
|
|
4026
4026
|
o[e] ? o[e](s, s.detail) : console.warn("listener method `" + e + "` not defined");
|
|
4027
4027
|
};
|
|
4028
4028
|
}
|
|
4029
|
-
const
|
|
4029
|
+
const La = W(
|
|
4030
4030
|
/**
|
|
4031
4031
|
* @template T
|
|
4032
4032
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -4153,7 +4153,7 @@ const za = W(
|
|
|
4153
4153
|
/** @type {!HTMLTemplateElement} */
|
|
4154
4154
|
i
|
|
4155
4155
|
);
|
|
4156
|
-
return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, s, r) || n : a.localName === "slot" && (s.hasInsertionPoint = !0),
|
|
4156
|
+
return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, s, r) || n : a.localName === "slot" && (s.hasInsertionPoint = !0), Ta(a), a.firstChild && this._parseTemplateChildNodes(a, s, r), a.hasAttributes && a.hasAttributes() && (n = this._parseTemplateNodeAttributes(a, s, r) || n), n || r.noted;
|
|
4157
4157
|
}
|
|
4158
4158
|
/**
|
|
4159
4159
|
* Parses template child nodes for the given root node.
|
|
@@ -4171,7 +4171,7 @@ const za = W(
|
|
|
4171
4171
|
static _parseTemplateChildNodes(i, s, r) {
|
|
4172
4172
|
if (!(i.localName === "script" || i.localName === "style"))
|
|
4173
4173
|
for (let n = i.firstChild, a = 0, l; n; n = l) {
|
|
4174
|
-
if (n.localName == "template" && (n =
|
|
4174
|
+
if (n.localName == "template" && (n = Oa(n)), l = n.nextSibling, n.nodeType === Node.TEXT_NODE) {
|
|
4175
4175
|
let u = l;
|
|
4176
4176
|
for (; u && u.nodeType === Node.TEXT_NODE; )
|
|
4177
4177
|
n.textContent += u.textContent, l = u.nextSibling, i.removeChild(u), u = l;
|
|
@@ -4306,8 +4306,8 @@ const za = W(
|
|
|
4306
4306
|
let l = a.nodeList = new Array(r.length);
|
|
4307
4307
|
a.$ = {};
|
|
4308
4308
|
for (let c = 0, u = r.length, d; c < u && (d = r[c]); c++) {
|
|
4309
|
-
let h = l[c] =
|
|
4310
|
-
|
|
4309
|
+
let h = l[c] = qs(a, d);
|
|
4310
|
+
Ia(this, a.$, h, d), Na(this, h, d, s), Fa(this, h, d);
|
|
4311
4311
|
}
|
|
4312
4312
|
return a = /** @type {!StampedTemplate} */
|
|
4313
4313
|
a, a;
|
|
@@ -4328,7 +4328,7 @@ const za = W(
|
|
|
4328
4328
|
*/
|
|
4329
4329
|
_addMethodEventListenerToNode(i, s, r, n) {
|
|
4330
4330
|
n = n || i;
|
|
4331
|
-
let a =
|
|
4331
|
+
let a = za(n, s, r);
|
|
4332
4332
|
return this._addEventListenerToNode(i, s, a), a;
|
|
4333
4333
|
}
|
|
4334
4334
|
/**
|
|
@@ -4378,7 +4378,7 @@ const St = [], D = {
|
|
|
4378
4378
|
PROPAGATE: "__propagateEffects",
|
|
4379
4379
|
OBSERVE: "__observeEffects",
|
|
4380
4380
|
READ_ONLY: "__readOnly"
|
|
4381
|
-
},
|
|
4381
|
+
}, Ks = "__computeInfo", Ra = /[A-Z]/;
|
|
4382
4382
|
function si(o, t, e) {
|
|
4383
4383
|
let i = o[t];
|
|
4384
4384
|
if (!i)
|
|
@@ -4405,7 +4405,7 @@ function pt(o, t, e, i, s, r) {
|
|
|
4405
4405
|
}
|
|
4406
4406
|
return !1;
|
|
4407
4407
|
}
|
|
4408
|
-
function
|
|
4408
|
+
function Ba(o, t, e, i, s, r, n, a) {
|
|
4409
4409
|
let l = !1, c = n ? Ue(i) : i, u = t[c];
|
|
4410
4410
|
if (u)
|
|
4411
4411
|
for (let d = 0, h = u.length, m; d < h && (m = u[d]); d++)
|
|
@@ -4418,30 +4418,30 @@ function Ji(o, t) {
|
|
|
4418
4418
|
/** @type {string} */
|
|
4419
4419
|
t.name
|
|
4420
4420
|
);
|
|
4421
|
-
return e == o || !!(t.structured &&
|
|
4421
|
+
return e == o || !!(t.structured && Bs(e, o)) || !!(t.wildcard && xt(e, o));
|
|
4422
4422
|
} else
|
|
4423
4423
|
return !0;
|
|
4424
4424
|
}
|
|
4425
|
-
function
|
|
4425
|
+
function zo(o, t, e, i, s) {
|
|
4426
4426
|
let r = typeof s.method == "string" ? o[s.method] : s.method, n = s.property;
|
|
4427
4427
|
r ? r.call(o, o.__data[n], i[n]) : s.dynamicFn || console.warn("observer method `" + s.method + "` not defined");
|
|
4428
4428
|
}
|
|
4429
|
-
function
|
|
4429
|
+
function Ha(o, t, e, i, s) {
|
|
4430
4430
|
let r = o[D.NOTIFY], n, a = Et++;
|
|
4431
4431
|
for (let c in t)
|
|
4432
|
-
t[c] && (r &&
|
|
4432
|
+
t[c] && (r && Ba(o, r, a, c, e, i, s) || s && $a(o, c, e)) && (n = !0);
|
|
4433
4433
|
let l;
|
|
4434
4434
|
n && (l = o.__dataHost) && l._invalidateProperties && l._invalidateProperties();
|
|
4435
4435
|
}
|
|
4436
|
-
function
|
|
4436
|
+
function $a(o, t, e) {
|
|
4437
4437
|
let i = Ue(t);
|
|
4438
4438
|
if (i !== t) {
|
|
4439
4439
|
let s = qt(i) + "-changed";
|
|
4440
|
-
return
|
|
4440
|
+
return Gs(o, s, e[t], t), !0;
|
|
4441
4441
|
}
|
|
4442
4442
|
return !1;
|
|
4443
4443
|
}
|
|
4444
|
-
function
|
|
4444
|
+
function Gs(o, t, e, i) {
|
|
4445
4445
|
let s = {
|
|
4446
4446
|
value: e,
|
|
4447
4447
|
queueProperty: !0
|
|
@@ -4453,16 +4453,16 @@ function Ks(o, t, e, i) {
|
|
|
4453
4453
|
}
|
|
4454
4454
|
function Ya(o, t, e, i, s, r) {
|
|
4455
4455
|
let a = (r ? Ue(t) : t) != t ? t : null, l = a ? re(o, a) : o.__data[t];
|
|
4456
|
-
a && l === void 0 && (l = e[t]),
|
|
4456
|
+
a && l === void 0 && (l = e[t]), Gs(o, s.eventName, l, a);
|
|
4457
4457
|
}
|
|
4458
|
-
function
|
|
4458
|
+
function ja(o, t, e, i, s) {
|
|
4459
4459
|
let r, n = (
|
|
4460
4460
|
/** @type {Object} */
|
|
4461
4461
|
o.detail
|
|
4462
4462
|
), a = n && n.path;
|
|
4463
4463
|
a ? (i = wt(e, i, a), r = n && n.value) : r = o.currentTarget[e], r = s ? !r : r, (!t[D.READ_ONLY] || !t[D.READ_ONLY][i]) && t._setPendingPropertyOrPath(i, r, !0, !!a) && (!n || !n.queueProperty) && t._invalidateProperties();
|
|
4464
4464
|
}
|
|
4465
|
-
function
|
|
4465
|
+
function Va(o, t, e, i, s) {
|
|
4466
4466
|
let r = o.__data[t];
|
|
4467
4467
|
Ht && (r = Ht(
|
|
4468
4468
|
r,
|
|
@@ -4472,17 +4472,17 @@ function ja(o, t, e, i, s) {
|
|
|
4472
4472
|
o
|
|
4473
4473
|
)), o._propertyToAttribute(t, s.attrName, r);
|
|
4474
4474
|
}
|
|
4475
|
-
function
|
|
4475
|
+
function Ua(o, t, e, i) {
|
|
4476
4476
|
let s = o[D.COMPUTE];
|
|
4477
4477
|
if (s)
|
|
4478
|
-
if (
|
|
4478
|
+
if (aa) {
|
|
4479
4479
|
Et++;
|
|
4480
|
-
const r =
|
|
4480
|
+
const r = qa(o), n = [];
|
|
4481
4481
|
for (let l in t)
|
|
4482
|
-
|
|
4482
|
+
Lo(l, s, n, r, i);
|
|
4483
4483
|
let a;
|
|
4484
4484
|
for (; a = n.shift(); )
|
|
4485
|
-
|
|
4485
|
+
Js(o, "", t, e, a) && Lo(a.methodInfo, s, n, r, i);
|
|
4486
4486
|
Object.assign(
|
|
4487
4487
|
/** @type {!Object} */
|
|
4488
4488
|
e,
|
|
@@ -4506,7 +4506,7 @@ function Va(o, t, e, i) {
|
|
|
4506
4506
|
), r = o.__dataPending, o.__dataPending = null;
|
|
4507
4507
|
}
|
|
4508
4508
|
}
|
|
4509
|
-
const
|
|
4509
|
+
const Wa = (o, t, e) => {
|
|
4510
4510
|
let i = 0, s = t.length - 1, r = -1;
|
|
4511
4511
|
for (; i <= s; ) {
|
|
4512
4512
|
const n = i + s >> 1, a = e.get(t[n].methodInfo) - e.get(o.methodInfo);
|
|
@@ -4520,20 +4520,20 @@ const Ua = (o, t, e) => {
|
|
|
4520
4520
|
}
|
|
4521
4521
|
}
|
|
4522
4522
|
r < 0 && (r = s + 1), t.splice(r, 0, o);
|
|
4523
|
-
},
|
|
4523
|
+
}, Lo = (o, t, e, i, s) => {
|
|
4524
4524
|
const r = s ? Ue(o) : o, n = t[r];
|
|
4525
4525
|
if (n)
|
|
4526
4526
|
for (let a = 0; a < n.length; a++) {
|
|
4527
4527
|
const l = n[a];
|
|
4528
|
-
l.info.lastRun !== Et && (!s || Ji(o, l.trigger)) && (l.info.lastRun = Et,
|
|
4528
|
+
l.info.lastRun !== Et && (!s || Ji(o, l.trigger)) && (l.info.lastRun = Et, Wa(l.info, e, i));
|
|
4529
4529
|
}
|
|
4530
4530
|
};
|
|
4531
|
-
function
|
|
4531
|
+
function qa(o) {
|
|
4532
4532
|
let t = o.constructor.__orderedComputedDeps;
|
|
4533
4533
|
if (!t) {
|
|
4534
4534
|
t = /* @__PURE__ */ new Map();
|
|
4535
4535
|
const e = o[D.COMPUTE];
|
|
4536
|
-
let { counts: i, ready: s, total: r } =
|
|
4536
|
+
let { counts: i, ready: s, total: r } = Ka(o), n;
|
|
4537
4537
|
for (; n = s.shift(); ) {
|
|
4538
4538
|
t.set(n, t.size);
|
|
4539
4539
|
const a = e[n];
|
|
@@ -4547,8 +4547,8 @@ function Wa(o) {
|
|
|
4547
4547
|
}
|
|
4548
4548
|
return t;
|
|
4549
4549
|
}
|
|
4550
|
-
function
|
|
4551
|
-
const t = o[
|
|
4550
|
+
function Ka(o) {
|
|
4551
|
+
const t = o[Ks], e = {}, i = o[D.COMPUTE], s = [];
|
|
4552
4552
|
let r = 0;
|
|
4553
4553
|
for (let n in t) {
|
|
4554
4554
|
const a = t[n];
|
|
@@ -4558,14 +4558,14 @@ function qa(o) {
|
|
|
4558
4558
|
t[n] || s.push(n);
|
|
4559
4559
|
return { counts: e, ready: s, total: r };
|
|
4560
4560
|
}
|
|
4561
|
-
function
|
|
4561
|
+
function Js(o, t, e, i, s) {
|
|
4562
4562
|
let r = Ai(o, t, e, i, s);
|
|
4563
4563
|
if (r === St)
|
|
4564
4564
|
return !1;
|
|
4565
4565
|
let n = s.methodInfo;
|
|
4566
4566
|
return o.__dataHasAccessor && o.__dataHasAccessor[n] ? o._setPendingProperty(n, r, !0) : (o[n] = r, !1);
|
|
4567
4567
|
}
|
|
4568
|
-
function
|
|
4568
|
+
function Ga(o, t, e) {
|
|
4569
4569
|
let i = o.__dataLinkedPaths;
|
|
4570
4570
|
if (i) {
|
|
4571
4571
|
let s;
|
|
@@ -4578,17 +4578,17 @@ function Ka(o, t, e) {
|
|
|
4578
4578
|
function ri(o, t, e, i, s, r, n) {
|
|
4579
4579
|
e.bindings = e.bindings || [];
|
|
4580
4580
|
let a = { kind: i, target: s, parts: r, literal: n, isCompound: r.length !== 1 };
|
|
4581
|
-
if (e.bindings.push(a),
|
|
4581
|
+
if (e.bindings.push(a), el(a)) {
|
|
4582
4582
|
let { event: c, negate: u } = a.parts[0];
|
|
4583
4583
|
a.listenerEvent = c || qt(s) + "-changed", a.listenerNegate = u;
|
|
4584
4584
|
}
|
|
4585
4585
|
let l = t.nodeInfoList.length;
|
|
4586
4586
|
for (let c = 0; c < a.parts.length; c++) {
|
|
4587
4587
|
let u = a.parts[c];
|
|
4588
|
-
u.compoundIndex = c,
|
|
4588
|
+
u.compoundIndex = c, Ja(o, t, a, u, l);
|
|
4589
4589
|
}
|
|
4590
4590
|
}
|
|
4591
|
-
function
|
|
4591
|
+
function Ja(o, t, e, i, s) {
|
|
4592
4592
|
if (!i.literal)
|
|
4593
4593
|
if (e.kind === "attribute" && e.target[0] === "-")
|
|
4594
4594
|
console.warn("Cannot set attribute " + e.target + ' because "-" is not a valid attribute starting character');
|
|
@@ -4596,26 +4596,26 @@ function Ga(o, t, e, i, s) {
|
|
|
4596
4596
|
let r = i.dependencies, n = { index: s, binding: e, part: i, evaluator: o };
|
|
4597
4597
|
for (let a = 0; a < r.length; a++) {
|
|
4598
4598
|
let l = r[a];
|
|
4599
|
-
typeof l == "string" && (l =
|
|
4600
|
-
fn:
|
|
4599
|
+
typeof l == "string" && (l = Zs(l), l.wildcard = !0), o._addTemplatePropertyEffect(t, l.rootProperty, {
|
|
4600
|
+
fn: Xa,
|
|
4601
4601
|
info: n,
|
|
4602
4602
|
trigger: l
|
|
4603
4603
|
});
|
|
4604
4604
|
}
|
|
4605
4605
|
}
|
|
4606
4606
|
}
|
|
4607
|
-
function
|
|
4607
|
+
function Xa(o, t, e, i, s, r, n) {
|
|
4608
4608
|
let a = n[s.index], l = s.binding, c = s.part;
|
|
4609
4609
|
if (r && c.source && t.length > c.source.length && l.kind == "property" && !l.isCompound && a.__isPropertyEffectsClient && a.__dataHasAccessor && a.__dataHasAccessor[l.target]) {
|
|
4610
4610
|
let u = e[t];
|
|
4611
4611
|
t = wt(c.source, l.target, t), a._setPendingPropertyOrPath(t, u, !1, !0) && o._enqueueClient(a);
|
|
4612
4612
|
} else {
|
|
4613
4613
|
let u = s.evaluator._evaluateBinding(o, c, t, e, i, r);
|
|
4614
|
-
u !== St &&
|
|
4614
|
+
u !== St && Za(o, a, l, c, u);
|
|
4615
4615
|
}
|
|
4616
4616
|
}
|
|
4617
|
-
function
|
|
4618
|
-
if (s =
|
|
4617
|
+
function Za(o, t, e, i, s) {
|
|
4618
|
+
if (s = Qa(t, s, e, i), Ht && (s = Ht(s, e.target, e.kind, t)), e.kind == "attribute")
|
|
4619
4619
|
o._valueToNodeAttribute(
|
|
4620
4620
|
/** @type {Element} */
|
|
4621
4621
|
t,
|
|
@@ -4627,17 +4627,17 @@ function Xa(o, t, e, i, s) {
|
|
|
4627
4627
|
t.__isPropertyEffectsClient && t.__dataHasAccessor && t.__dataHasAccessor[r] ? (!t[D.READ_ONLY] || !t[D.READ_ONLY][r]) && t._setPendingProperty(r, s) && o._enqueueClient(t) : o._setUnmanagedPropertyToNode(t, r, s);
|
|
4628
4628
|
}
|
|
4629
4629
|
}
|
|
4630
|
-
function
|
|
4630
|
+
function Qa(o, t, e, i) {
|
|
4631
4631
|
if (e.isCompound) {
|
|
4632
4632
|
let s = o.__dataCompoundStorage[e.target];
|
|
4633
4633
|
s[i.compoundIndex] = t, t = s.join("");
|
|
4634
4634
|
}
|
|
4635
4635
|
return e.kind !== "attribute" && (e.target === "textContent" || e.target === "value" && (o.localName === "input" || o.localName === "textarea")) && (t = t == null ? "" : t), t;
|
|
4636
4636
|
}
|
|
4637
|
-
function
|
|
4637
|
+
function el(o) {
|
|
4638
4638
|
return !!o.target && o.kind != "attribute" && o.kind != "text" && !o.isCompound && o.parts[0].mode === "{";
|
|
4639
4639
|
}
|
|
4640
|
-
function
|
|
4640
|
+
function tl(o, t) {
|
|
4641
4641
|
let { nodeList: e, nodeInfoList: i } = t;
|
|
4642
4642
|
if (i.length)
|
|
4643
4643
|
for (let s = 0; s < i.length; s++) {
|
|
@@ -4645,12 +4645,12 @@ function el(o, t) {
|
|
|
4645
4645
|
if (a)
|
|
4646
4646
|
for (let l = 0; l < a.length; l++) {
|
|
4647
4647
|
let c = a[l];
|
|
4648
|
-
|
|
4648
|
+
il(n, c), ol(n, o, c);
|
|
4649
4649
|
}
|
|
4650
4650
|
n.__dataHost = o;
|
|
4651
4651
|
}
|
|
4652
4652
|
}
|
|
4653
|
-
function
|
|
4653
|
+
function il(o, t) {
|
|
4654
4654
|
if (t.isCompound) {
|
|
4655
4655
|
let e = o.__dataCompoundStorage || (o.__dataCompoundStorage = {}), i = t.parts, s = new Array(i.length);
|
|
4656
4656
|
for (let n = 0; n < i.length; n++)
|
|
@@ -4659,15 +4659,15 @@ function tl(o, t) {
|
|
|
4659
4659
|
e[r] = s, t.literal && t.kind == "property" && (r === "className" && (o = J(o)), o[r] = t.literal);
|
|
4660
4660
|
}
|
|
4661
4661
|
}
|
|
4662
|
-
function
|
|
4662
|
+
function ol(o, t, e) {
|
|
4663
4663
|
if (e.listenerEvent) {
|
|
4664
4664
|
let i = e.parts[0];
|
|
4665
4665
|
o.addEventListener(e.listenerEvent, function(s) {
|
|
4666
|
-
|
|
4666
|
+
ja(s, t, e.target, i.source, i.negate);
|
|
4667
4667
|
});
|
|
4668
4668
|
}
|
|
4669
4669
|
}
|
|
4670
|
-
function
|
|
4670
|
+
function Ro(o, t, e, i, s, r) {
|
|
4671
4671
|
r = t.static || r && (typeof r != "object" || r[t.methodName]);
|
|
4672
4672
|
let n = {
|
|
4673
4673
|
methodName: t.methodName,
|
|
@@ -4694,8 +4694,8 @@ function Ai(o, t, e, i, s) {
|
|
|
4694
4694
|
} else
|
|
4695
4695
|
s.dynamicFn || console.warn("method `" + s.methodName + "` not defined");
|
|
4696
4696
|
}
|
|
4697
|
-
const
|
|
4698
|
-
function
|
|
4697
|
+
const sl = [], Xs = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", rl = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", nl = "(?:'(?:[^'\\\\]|\\\\.)*')", al = '(?:"(?:[^"\\\\]|\\\\.)*")', ll = "(?:" + nl + "|" + al + ")", Bo = "(?:(" + Xs + "|" + rl + "|" + ll + ")\\s*)", cl = "(?:" + Bo + "(?:,\\s*" + Bo + ")*)", ul = "(?:\\(\\s*(?:" + cl + "?)\\)\\s*)", dl = "(" + Xs + "\\s*" + ul + "?)", hl = "(\\[\\[|{{)\\s*", pl = "(?:]]|}})", fl = "(?:(!)\\s*)?", ml = hl + fl + dl + pl, Ho = new RegExp(ml, "g");
|
|
4698
|
+
function $o(o) {
|
|
4699
4699
|
let t = "";
|
|
4700
4700
|
for (let e = 0; e < o.length; e++) {
|
|
4701
4701
|
let i = o[e].literal;
|
|
@@ -4706,22 +4706,22 @@ function Ho(o) {
|
|
|
4706
4706
|
function ni(o) {
|
|
4707
4707
|
let t = o.match(/([^\s]+?)\(([\s\S]*)\)/);
|
|
4708
4708
|
if (t) {
|
|
4709
|
-
let i = { methodName: t[1], static: !0, args:
|
|
4709
|
+
let i = { methodName: t[1], static: !0, args: sl };
|
|
4710
4710
|
if (t[2].trim()) {
|
|
4711
4711
|
let s = t[2].replace(/\\,/g, ",").split(",");
|
|
4712
|
-
return
|
|
4712
|
+
return _l(s, i);
|
|
4713
4713
|
} else
|
|
4714
4714
|
return i;
|
|
4715
4715
|
}
|
|
4716
4716
|
return null;
|
|
4717
4717
|
}
|
|
4718
|
-
function
|
|
4718
|
+
function _l(o, t) {
|
|
4719
4719
|
return t.args = o.map(function(e) {
|
|
4720
|
-
let i =
|
|
4720
|
+
let i = Zs(e);
|
|
4721
4721
|
return i.literal || (t.static = !1), i;
|
|
4722
4722
|
}, this), t;
|
|
4723
4723
|
}
|
|
4724
|
-
function
|
|
4724
|
+
function Zs(o) {
|
|
4725
4725
|
let t = o.trim().replace(/,/g, ",").replace(/\\(.)/g, "$1"), e = {
|
|
4726
4726
|
name: t,
|
|
4727
4727
|
value: "",
|
|
@@ -4742,12 +4742,12 @@ function Yo(o, t, e) {
|
|
|
4742
4742
|
let i = re(o, e);
|
|
4743
4743
|
return i === void 0 && (i = t[e]), i;
|
|
4744
4744
|
}
|
|
4745
|
-
function
|
|
4745
|
+
function Qs(o, t, e, i) {
|
|
4746
4746
|
const s = { indexSplices: i };
|
|
4747
4747
|
wi && !o._overrideLegacyUndefined && (t.splices = s), o.notifyPath(e + ".splices", s), o.notifyPath(e + ".length", t.length), wi && !o._overrideLegacyUndefined && (s.indexSplices = []);
|
|
4748
4748
|
}
|
|
4749
4749
|
function lt(o, t, e, i, s, r) {
|
|
4750
|
-
|
|
4750
|
+
Qs(o, t, e, [{
|
|
4751
4751
|
index: i,
|
|
4752
4752
|
addedCount: s,
|
|
4753
4753
|
removed: r,
|
|
@@ -4755,11 +4755,11 @@ function lt(o, t, e, i, s, r) {
|
|
|
4755
4755
|
type: "splice"
|
|
4756
4756
|
}]);
|
|
4757
4757
|
}
|
|
4758
|
-
function
|
|
4758
|
+
function gl(o) {
|
|
4759
4759
|
return o[0].toUpperCase() + o.substring(1);
|
|
4760
4760
|
}
|
|
4761
4761
|
const Xi = W((o) => {
|
|
4762
|
-
const t =
|
|
4762
|
+
const t = La(Pa(o));
|
|
4763
4763
|
class e extends t {
|
|
4764
4764
|
constructor() {
|
|
4765
4765
|
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;
|
|
@@ -4938,7 +4938,7 @@ const Xi = W((o) => {
|
|
|
4938
4938
|
if (!a) {
|
|
4939
4939
|
let l = re(this, s);
|
|
4940
4940
|
if (s = /** @type {string} */
|
|
4941
|
-
|
|
4941
|
+
Io(this, s, r), !s || !super._shouldPropertyChange(s, r, l))
|
|
4942
4942
|
return !1;
|
|
4943
4943
|
}
|
|
4944
4944
|
if (this.__dataHasPaths = !0, this._setPendingProperty(
|
|
@@ -4947,7 +4947,7 @@ const Xi = W((o) => {
|
|
|
4947
4947
|
r,
|
|
4948
4948
|
n
|
|
4949
4949
|
))
|
|
4950
|
-
return
|
|
4950
|
+
return Ga(
|
|
4951
4951
|
this,
|
|
4952
4952
|
/**@type{string}*/
|
|
4953
4953
|
s,
|
|
@@ -5163,7 +5163,7 @@ const Xi = W((o) => {
|
|
|
5163
5163
|
let a = this.__dataHasPaths;
|
|
5164
5164
|
this.__dataHasPaths = !1;
|
|
5165
5165
|
let l;
|
|
5166
|
-
|
|
5166
|
+
Ua(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(), pt(this, this[D.REFLECT], r, n, a), pt(this, this[D.OBSERVE], r, n, a), l && Ha(this, l, r, n, a), this.__dataCounter == 1 && (this.__dataTemp = {});
|
|
5167
5167
|
}
|
|
5168
5168
|
/**
|
|
5169
5169
|
* Called to propagate any property changes to stamped template nodes
|
|
@@ -5260,7 +5260,7 @@ const Xi = W((o) => {
|
|
|
5260
5260
|
/** @type {Array} */
|
|
5261
5261
|
re(this, s, n)
|
|
5262
5262
|
);
|
|
5263
|
-
|
|
5263
|
+
Qs(this, a, n.path, r);
|
|
5264
5264
|
}
|
|
5265
5265
|
/**
|
|
5266
5266
|
* Convenience method for reading a value from a path.
|
|
@@ -5308,7 +5308,7 @@ const Xi = W((o) => {
|
|
|
5308
5308
|
* @public
|
|
5309
5309
|
*/
|
|
5310
5310
|
set(s, r, n) {
|
|
5311
|
-
n ?
|
|
5311
|
+
n ? Io(n, s, r) : (!this[D.READ_ONLY] || !this[D.READ_ONLY][
|
|
5312
5312
|
/** @type {string} */
|
|
5313
5313
|
s
|
|
5314
5314
|
]) && this._setPendingPropertyOrPath(s, r, !0) && this._invalidateProperties();
|
|
@@ -5463,7 +5463,7 @@ const Xi = W((o) => {
|
|
|
5463
5463
|
* @protected
|
|
5464
5464
|
*/
|
|
5465
5465
|
_createReadOnlyProperty(s, r) {
|
|
5466
|
-
this._addPropertyEffect(s, D.READ_ONLY), r && (this["_set" +
|
|
5466
|
+
this._addPropertyEffect(s, D.READ_ONLY), r && (this["_set" + gl(s)] = /** @this {PropertyEffects} */
|
|
5467
5467
|
function(n) {
|
|
5468
5468
|
this._setProperty(s, n);
|
|
5469
5469
|
});
|
|
@@ -5485,7 +5485,7 @@ const Xi = W((o) => {
|
|
|
5485
5485
|
_createPropertyObserver(s, r, n) {
|
|
5486
5486
|
let a = { property: s, method: r, dynamicFn: !!n };
|
|
5487
5487
|
this._addPropertyEffect(s, D.OBSERVE, {
|
|
5488
|
-
fn:
|
|
5488
|
+
fn: zo,
|
|
5489
5489
|
info: a,
|
|
5490
5490
|
trigger: { name: s }
|
|
5491
5491
|
}), n && this._addPropertyEffect(
|
|
@@ -5493,7 +5493,7 @@ const Xi = W((o) => {
|
|
|
5493
5493
|
r,
|
|
5494
5494
|
D.OBSERVE,
|
|
5495
5495
|
{
|
|
5496
|
-
fn:
|
|
5496
|
+
fn: zo,
|
|
5497
5497
|
info: a,
|
|
5498
5498
|
trigger: { name: r }
|
|
5499
5499
|
}
|
|
@@ -5515,7 +5515,7 @@ const Xi = W((o) => {
|
|
|
5515
5515
|
let n = ni(s);
|
|
5516
5516
|
if (!n)
|
|
5517
5517
|
throw new Error("Malformed observer expression '" + s + "'");
|
|
5518
|
-
|
|
5518
|
+
Ro(this, n, D.OBSERVE, Ai, null, r);
|
|
5519
5519
|
}
|
|
5520
5520
|
/**
|
|
5521
5521
|
* Equivalent to static `createNotifyingProperty` API but can be called on
|
|
@@ -5550,7 +5550,7 @@ const Xi = W((o) => {
|
|
|
5550
5550
|
_createReflectedProperty(s) {
|
|
5551
5551
|
let r = this.constructor.attributeNameForProperty(s);
|
|
5552
5552
|
r[0] === "-" ? console.warn("Property " + s + " cannot be reflected to attribute " + r + ' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.') : this._addPropertyEffect(s, D.REFLECT, {
|
|
5553
|
-
fn:
|
|
5553
|
+
fn: Va,
|
|
5554
5554
|
info: {
|
|
5555
5555
|
attrName: r
|
|
5556
5556
|
}
|
|
@@ -5573,8 +5573,8 @@ const Xi = W((o) => {
|
|
|
5573
5573
|
let a = ni(r);
|
|
5574
5574
|
if (!a)
|
|
5575
5575
|
throw new Error("Malformed computed expression '" + r + "'");
|
|
5576
|
-
const l =
|
|
5577
|
-
si(this,
|
|
5576
|
+
const l = Ro(this, a, D.COMPUTE, Js, s, n);
|
|
5577
|
+
si(this, Ks)[s] = l;
|
|
5578
5578
|
}
|
|
5579
5579
|
/**
|
|
5580
5580
|
* Gather the argument values for a method specified in the provided array
|
|
@@ -5885,7 +5885,7 @@ const Xi = W((o) => {
|
|
|
5885
5885
|
for (let l = n.firstChild; l; l = l.nextSibling)
|
|
5886
5886
|
a.push(l);
|
|
5887
5887
|
}
|
|
5888
|
-
return n.templateInfo = r,
|
|
5888
|
+
return n.templateInfo = r, tl(this, r), this.__dataClientsReady && (this._runEffectsForTemplate(r, this.__data, null, !1), this._flushClients()), n;
|
|
5889
5889
|
}
|
|
5890
5890
|
/**
|
|
5891
5891
|
* Removes and unbinds the nodes previously contained in the provided
|
|
@@ -5932,7 +5932,7 @@ const Xi = W((o) => {
|
|
|
5932
5932
|
);
|
|
5933
5933
|
if (s.nodeType === Node.TEXT_NODE) {
|
|
5934
5934
|
let l = this._parseBindings(s.textContent, r);
|
|
5935
|
-
l && (s.textContent =
|
|
5935
|
+
l && (s.textContent = $o(l) || " ", ri(this, r, n, "text", "textContent", l), a = !0);
|
|
5936
5936
|
}
|
|
5937
5937
|
return a;
|
|
5938
5938
|
}
|
|
@@ -5959,9 +5959,9 @@ const Xi = W((o) => {
|
|
|
5959
5959
|
let c = this._parseBindings(l, r);
|
|
5960
5960
|
if (c) {
|
|
5961
5961
|
let u = a, d = "property";
|
|
5962
|
-
|
|
5963
|
-
let h =
|
|
5964
|
-
return h && d == "attribute" && (a == "class" && s.hasAttribute("class") && (h += " " + s.getAttribute(a)), s.setAttribute(a, h)), d == "attribute" && u == "disable-upgrade$" && s.setAttribute(a, ""), s.localName === "input" && u === "value" && s.setAttribute(u, ""), s.removeAttribute(u), d === "property" && (a =
|
|
5962
|
+
Ra.test(a) ? d = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), d = "attribute");
|
|
5963
|
+
let h = $o(c);
|
|
5964
|
+
return h && d == "attribute" && (a == "class" && s.hasAttribute("class") && (h += " " + s.getAttribute(a)), s.setAttribute(a, h)), d == "attribute" && u == "disable-upgrade$" && s.setAttribute(a, ""), s.localName === "input" && u === "value" && s.setAttribute(u, ""), s.removeAttribute(u), d === "property" && (a = $s(a)), ri(this, r, n, d, a, c, h), !0;
|
|
5965
5965
|
} else
|
|
5966
5966
|
return t._parseTemplateNodeAttribute.call(
|
|
5967
5967
|
this,
|
|
@@ -5994,10 +5994,10 @@ const Xi = W((o) => {
|
|
|
5994
5994
|
n
|
|
5995
5995
|
);
|
|
5996
5996
|
const l = s.parentNode, c = n.templateInfo, u = l.localName === "dom-if", d = l.localName === "dom-repeat";
|
|
5997
|
-
|
|
5997
|
+
Po && (u || d) && (l.removeChild(s), n = n.parentInfo, n.templateInfo = c, n.noted = !0, a = !1);
|
|
5998
5998
|
let h = c.hostProps;
|
|
5999
|
-
if (
|
|
6000
|
-
h && (r.hostProps = Object.assign(r.hostProps || {}, h),
|
|
5999
|
+
if (la && u)
|
|
6000
|
+
h && (r.hostProps = Object.assign(r.hostProps || {}, h), Po || (n.parentInfo.noted = !0));
|
|
6001
6001
|
else {
|
|
6002
6002
|
let m = "{";
|
|
6003
6003
|
for (let b in h) {
|
|
@@ -6054,7 +6054,7 @@ const Xi = W((o) => {
|
|
|
6054
6054
|
*/
|
|
6055
6055
|
static _parseBindings(s, r) {
|
|
6056
6056
|
let n = [], a = 0, l;
|
|
6057
|
-
for (; (l =
|
|
6057
|
+
for (; (l = Ho.exec(s)) !== null; ) {
|
|
6058
6058
|
l.index > a && n.push({ literal: s.slice(a, l.index) });
|
|
6059
6059
|
let c = l[1][0], u = !!l[2], d = l[3].trim(), h = !1, m = "", b = -1;
|
|
6060
6060
|
c == "{" && (b = d.indexOf("::")) > 0 && (m = d.substring(b + 2), d = d.substring(0, b), h = !0);
|
|
@@ -6077,7 +6077,7 @@ const Xi = W((o) => {
|
|
|
6077
6077
|
signature: p,
|
|
6078
6078
|
dependencies: g,
|
|
6079
6079
|
event: m
|
|
6080
|
-
}), a =
|
|
6080
|
+
}), a = Ho.lastIndex;
|
|
6081
6081
|
}
|
|
6082
6082
|
if (a && a < s.length) {
|
|
6083
6083
|
let c = s.substring(a);
|
|
@@ -6127,7 +6127,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6127
6127
|
Code distributed by Google as part of the polymer project is also
|
|
6128
6128
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6129
6129
|
*/
|
|
6130
|
-
function
|
|
6130
|
+
function bl(o) {
|
|
6131
6131
|
const t = {};
|
|
6132
6132
|
for (let e in o) {
|
|
6133
6133
|
const i = o[e];
|
|
@@ -6135,8 +6135,8 @@ function gl(o) {
|
|
|
6135
6135
|
}
|
|
6136
6136
|
return t;
|
|
6137
6137
|
}
|
|
6138
|
-
const
|
|
6139
|
-
const t =
|
|
6138
|
+
const vl = W((o) => {
|
|
6139
|
+
const t = Us(o);
|
|
6140
6140
|
function e(r) {
|
|
6141
6141
|
const n = Object.getPrototypeOf(r);
|
|
6142
6142
|
return n.prototype instanceof s ? (
|
|
@@ -6149,7 +6149,7 @@ const bl = W((o) => {
|
|
|
6149
6149
|
let n = null;
|
|
6150
6150
|
if (r.hasOwnProperty(JSCompiler_renameProperty("properties", r))) {
|
|
6151
6151
|
const a = r.properties;
|
|
6152
|
-
a && (n =
|
|
6152
|
+
a && (n = bl(a));
|
|
6153
6153
|
}
|
|
6154
6154
|
r.__ownProperties = n;
|
|
6155
6155
|
}
|
|
@@ -6286,8 +6286,8 @@ const bl = W((o) => {
|
|
|
6286
6286
|
* Google as part of the polymer project is also subject to an additional IP
|
|
6287
6287
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6288
6288
|
*/
|
|
6289
|
-
const
|
|
6290
|
-
const t =
|
|
6289
|
+
const yl = "3.5.2", jo = window.ShadyCSS && window.ShadyCSS.cssBuild, xl = W((o) => {
|
|
6290
|
+
const t = vl(Xi(o));
|
|
6291
6291
|
function e(l) {
|
|
6292
6292
|
if (!l.hasOwnProperty(
|
|
6293
6293
|
JSCompiler_renameProperty("__propertyDefaults", l)
|
|
@@ -6315,8 +6315,8 @@ const vl = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, yl = W((o)
|
|
|
6315
6315
|
u.computed && (u.readOnly = !0), u.computed && (l._hasReadOnlyEffect(c) ? console.warn(`Cannot redefine computed property '${c}'.`) : l._createComputedProperty(c, u.computed, d)), u.readOnly && !l._hasReadOnlyEffect(c) ? l._createReadOnlyProperty(c, !u.computed) : u.readOnly === !1 && l._hasReadOnlyEffect(c) && console.warn(`Cannot make readOnly property '${c}' non-readOnly.`), u.reflectToAttribute && !l._hasReflectEffect(c) ? l._createReflectedProperty(c) : u.reflectToAttribute === !1 && l._hasReflectEffect(c) && console.warn(`Cannot make reflected property '${c}' non-reflected.`), u.notify && !l._hasNotifyEffect(c) ? l._createNotifyingProperty(c) : u.notify === !1 && l._hasNotifyEffect(c) && console.warn(`Cannot make notify property '${c}' non-notify.`), u.observer && l._createPropertyObserver(c, u.observer, d[u.observer]), l._addPropertyToAttributeMap(c);
|
|
6316
6316
|
}
|
|
6317
6317
|
function r(l, c, u, d) {
|
|
6318
|
-
if (
|
|
6319
|
-
const h = c.content.querySelectorAll("style"), m =
|
|
6318
|
+
if (!jo) {
|
|
6319
|
+
const h = c.content.querySelectorAll("style"), m = Ls(c), b = _a(u), p = c.content.firstElementChild;
|
|
6320
6320
|
for (let y = 0; y < b.length; y++) {
|
|
6321
6321
|
let v = b[y];
|
|
6322
6322
|
v.textContent = l._processStyleText(v.textContent, d), c.content.insertBefore(v, p);
|
|
@@ -6327,7 +6327,7 @@ const vl = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, yl = W((o)
|
|
|
6327
6327
|
C !== v ? (v = v.cloneNode(!0), C.parentNode.insertBefore(v, C)) : g++, v.textContent = l._processStyleText(v.textContent, d);
|
|
6328
6328
|
}
|
|
6329
6329
|
}
|
|
6330
|
-
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(c, u),
|
|
6330
|
+
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(c, u), ca && jo && oa) {
|
|
6331
6331
|
const h = c.content.querySelectorAll("style");
|
|
6332
6332
|
if (h) {
|
|
6333
6333
|
let m = "";
|
|
@@ -6339,8 +6339,8 @@ const vl = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, yl = W((o)
|
|
|
6339
6339
|
}
|
|
6340
6340
|
function n(l) {
|
|
6341
6341
|
let c = null;
|
|
6342
|
-
if (l && (
|
|
6343
|
-
yt.import(l, "template"),
|
|
6342
|
+
if (l && (!$t || ra) && (c = /** @type {?HTMLTemplateElement} */
|
|
6343
|
+
yt.import(l, "template"), $t && !c))
|
|
6344
6344
|
throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
6345
6345
|
return c;
|
|
6346
6346
|
}
|
|
@@ -6351,7 +6351,7 @@ const vl = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, yl = W((o)
|
|
|
6351
6351
|
* @nocollapse
|
|
6352
6352
|
*/
|
|
6353
6353
|
static get polymerElementVersion() {
|
|
6354
|
-
return
|
|
6354
|
+
return yl;
|
|
6355
6355
|
}
|
|
6356
6356
|
/**
|
|
6357
6357
|
* Override of PropertiesMixin _finalizeClass to create observers and
|
|
@@ -6372,7 +6372,7 @@ const vl = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, yl = W((o)
|
|
|
6372
6372
|
/** @type {PolymerElementConstructor} */
|
|
6373
6373
|
this.template
|
|
6374
6374
|
);
|
|
6375
|
-
c && (typeof c == "string" ? (console.error("template getter must return HTMLTemplateElement"), c = null) :
|
|
6375
|
+
c && (typeof c == "string" ? (console.error("template getter must return HTMLTemplateElement"), c = null) : Is || (c = c.cloneNode(!0))), this.prototype._template = c;
|
|
6376
6376
|
}
|
|
6377
6377
|
/**
|
|
6378
6378
|
* Override of PropertiesChanged createProperties to create accessors
|
|
@@ -6542,7 +6542,7 @@ const vl = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, yl = W((o)
|
|
|
6542
6542
|
this.constructor.finalize(), this.constructor._finalizeTemplate(
|
|
6543
6543
|
/** @type {!HTMLElement} */
|
|
6544
6544
|
this.localName
|
|
6545
|
-
), super._initializeProperties(), this.rootPath =
|
|
6545
|
+
), super._initializeProperties(), this.rootPath = sa, this.importPath = this.constructor.importPath;
|
|
6546
6546
|
let c = e(this.constructor);
|
|
6547
6547
|
if (c)
|
|
6548
6548
|
for (let u in c) {
|
|
@@ -6653,7 +6653,7 @@ const vl = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, yl = W((o)
|
|
|
6653
6653
|
_attachDom(c) {
|
|
6654
6654
|
const u = J(this);
|
|
6655
6655
|
if (u.attachShadow)
|
|
6656
|
-
return c ? (u.shadowRoot || (u.attachShadow({ mode: "open", shadyUpgradeFragment: c }), u.shadowRoot.appendChild(c), this.constructor._styleSheet && (u.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])),
|
|
6656
|
+
return c ? (u.shadowRoot || (u.attachShadow({ mode: "open", shadyUpgradeFragment: c }), u.shadowRoot.appendChild(c), this.constructor._styleSheet && (u.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), na && window.ShadyDOM && window.ShadyDOM.flushInitial(u.shadowRoot), u.shadowRoot) : null;
|
|
6657
6657
|
throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.");
|
|
6658
6658
|
}
|
|
6659
6659
|
/**
|
|
@@ -6738,7 +6738,7 @@ const vl = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, yl = W((o)
|
|
|
6738
6738
|
* @nocollapse
|
|
6739
6739
|
*/
|
|
6740
6740
|
static _addTemplatePropertyEffect(c, u, d) {
|
|
6741
|
-
return
|
|
6741
|
+
return Fs && !(u in this._properties) && // Methods used in templates with no dependencies (or only literal
|
|
6742
6742
|
// dependencies) become accessors with template effects; ignore these
|
|
6743
6743
|
!(d.info.part.signature && d.info.part.signature.static) && // Warnings for bindings added to nested templates are handled by
|
|
6744
6744
|
// templatizer so ignore both the host-to-template bindings
|
|
@@ -6763,16 +6763,16 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6763
6763
|
Code distributed by Google as part of the polymer project is also
|
|
6764
6764
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6765
6765
|
*/
|
|
6766
|
-
const
|
|
6767
|
-
class
|
|
6766
|
+
const Vo = window.trustedTypes && trustedTypes.createPolicy("polymer-html-literal", { createHTML: (o) => o });
|
|
6767
|
+
class er {
|
|
6768
6768
|
/**
|
|
6769
6769
|
* @param {!ITemplateArray} strings Constant parts of tagged template literal
|
|
6770
6770
|
* @param {!Array<*>} values Variable parts of tagged template literal
|
|
6771
6771
|
*/
|
|
6772
6772
|
constructor(t, e) {
|
|
6773
|
-
|
|
6773
|
+
ir(t, e);
|
|
6774
6774
|
const i = e.reduce(
|
|
6775
|
-
(s, r, n) => s +
|
|
6775
|
+
(s, r, n) => s + tr(r) + t[n + 1],
|
|
6776
6776
|
t[0]
|
|
6777
6777
|
);
|
|
6778
6778
|
this.value = i.toString();
|
|
@@ -6785,8 +6785,8 @@ class Qs {
|
|
|
6785
6785
|
return this.value;
|
|
6786
6786
|
}
|
|
6787
6787
|
}
|
|
6788
|
-
function
|
|
6789
|
-
if (o instanceof
|
|
6788
|
+
function tr(o) {
|
|
6789
|
+
if (o instanceof er)
|
|
6790
6790
|
return (
|
|
6791
6791
|
/** @type {!LiteralString} */
|
|
6792
6792
|
o.value
|
|
@@ -6795,30 +6795,30 @@ function er(o) {
|
|
|
6795
6795
|
`non-literal value passed to Polymer's htmlLiteral function: ${o}`
|
|
6796
6796
|
);
|
|
6797
6797
|
}
|
|
6798
|
-
function
|
|
6798
|
+
function wl(o) {
|
|
6799
6799
|
if (o instanceof HTMLTemplateElement)
|
|
6800
6800
|
return (
|
|
6801
6801
|
/** @type {!HTMLTemplateElement } */
|
|
6802
6802
|
o.innerHTML
|
|
6803
6803
|
);
|
|
6804
|
-
if (o instanceof
|
|
6805
|
-
return
|
|
6804
|
+
if (o instanceof er)
|
|
6805
|
+
return tr(o);
|
|
6806
6806
|
throw new Error(
|
|
6807
6807
|
`non-template value passed to Polymer's html function: ${o}`
|
|
6808
6808
|
);
|
|
6809
6809
|
}
|
|
6810
6810
|
const We = function(t, ...e) {
|
|
6811
|
-
|
|
6811
|
+
ir(t, e);
|
|
6812
6812
|
const i = (
|
|
6813
6813
|
/** @type {!HTMLTemplateElement} */
|
|
6814
6814
|
document.createElement("template")
|
|
6815
6815
|
);
|
|
6816
6816
|
let s = e.reduce(
|
|
6817
|
-
(r, n, a) => r +
|
|
6817
|
+
(r, n, a) => r + wl(n) + t[a + 1],
|
|
6818
6818
|
t[0]
|
|
6819
6819
|
);
|
|
6820
|
-
return
|
|
6821
|
-
},
|
|
6820
|
+
return Vo && (s = Vo.createHTML(s)), i.innerHTML = s, i;
|
|
6821
|
+
}, ir = (o, t) => {
|
|
6822
6822
|
if (!Array.isArray(o) || !Array.isArray(o.raw) || t.length !== o.length - 1)
|
|
6823
6823
|
throw new TypeError("Invalid call to the html template tag");
|
|
6824
6824
|
};
|
|
@@ -6831,7 +6831,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6831
6831
|
Code distributed by Google as part of the polymer project is also
|
|
6832
6832
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6833
6833
|
*/
|
|
6834
|
-
const Fe =
|
|
6834
|
+
const Fe = xl(HTMLElement);
|
|
6835
6835
|
/**
|
|
6836
6836
|
* @license
|
|
6837
6837
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
@@ -6844,14 +6844,14 @@ function Ci(o, t, e = o.getAttribute("dir")) {
|
|
|
6844
6844
|
function Pi() {
|
|
6845
6845
|
return document.documentElement.getAttribute("dir");
|
|
6846
6846
|
}
|
|
6847
|
-
function
|
|
6847
|
+
function El() {
|
|
6848
6848
|
const o = Pi();
|
|
6849
6849
|
Se.forEach((t) => {
|
|
6850
6850
|
Ci(t, o);
|
|
6851
6851
|
});
|
|
6852
6852
|
}
|
|
6853
|
-
const
|
|
6854
|
-
|
|
6853
|
+
const Sl = new MutationObserver(El);
|
|
6854
|
+
Sl.observe(document.documentElement, { attributes: !0, attributeFilter: ["dir"] });
|
|
6855
6855
|
const Kt = (o) => class extends o {
|
|
6856
6856
|
static get properties() {
|
|
6857
6857
|
return {
|
|
@@ -6913,7 +6913,7 @@ const Kt = (o) => class extends o {
|
|
|
6913
6913
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6914
6914
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6915
6915
|
*/
|
|
6916
|
-
const
|
|
6916
|
+
const Al = (o) => class extends o {
|
|
6917
6917
|
static get properties() {
|
|
6918
6918
|
return {
|
|
6919
6919
|
/**
|
|
@@ -6953,7 +6953,7 @@ const Sl = (o) => class extends o {
|
|
|
6953
6953
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6954
6954
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6955
6955
|
*/
|
|
6956
|
-
const
|
|
6956
|
+
const Cl = P`
|
|
6957
6957
|
:host {
|
|
6958
6958
|
display: flex;
|
|
6959
6959
|
align-items: center;
|
|
@@ -7024,8 +7024,8 @@ const Al = P`
|
|
|
7024
7024
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7025
7025
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7026
7026
|
*/
|
|
7027
|
-
L("vaadin-input-container",
|
|
7028
|
-
class
|
|
7027
|
+
L("vaadin-input-container", Cl, { moduleId: "vaadin-input-container-styles" });
|
|
7028
|
+
class Pl extends Al(Ve(Kt(Fe))) {
|
|
7029
7029
|
static get is() {
|
|
7030
7030
|
return "vaadin-input-container";
|
|
7031
7031
|
}
|
|
@@ -7037,13 +7037,13 @@ class Cl extends Sl(Ve(Kt(Fe))) {
|
|
|
7037
7037
|
`;
|
|
7038
7038
|
}
|
|
7039
7039
|
}
|
|
7040
|
-
ve(
|
|
7040
|
+
ve(Pl);
|
|
7041
7041
|
/**
|
|
7042
7042
|
* @license
|
|
7043
7043
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7044
7044
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7045
7045
|
*/
|
|
7046
|
-
const
|
|
7046
|
+
const kl = P`
|
|
7047
7047
|
:host {
|
|
7048
7048
|
z-index: 200;
|
|
7049
7049
|
position: fixed;
|
|
@@ -7132,21 +7132,21 @@ function ki() {
|
|
|
7132
7132
|
function Qi() {
|
|
7133
7133
|
return Zi;
|
|
7134
7134
|
}
|
|
7135
|
-
function
|
|
7135
|
+
function Dl(o) {
|
|
7136
7136
|
const t = o.style;
|
|
7137
7137
|
if (t.visibility === "hidden" || t.display === "none")
|
|
7138
7138
|
return !0;
|
|
7139
7139
|
const e = window.getComputedStyle(o);
|
|
7140
7140
|
return e.visibility === "hidden" || e.display === "none";
|
|
7141
7141
|
}
|
|
7142
|
-
function
|
|
7142
|
+
function Tl(o, t) {
|
|
7143
7143
|
const e = Math.max(o.tabIndex, 0), i = Math.max(t.tabIndex, 0);
|
|
7144
7144
|
return e === 0 || i === 0 ? i > e : e > i;
|
|
7145
7145
|
}
|
|
7146
|
-
function
|
|
7146
|
+
function Ml(o, t) {
|
|
7147
7147
|
const e = [];
|
|
7148
7148
|
for (; o.length > 0 && t.length > 0; )
|
|
7149
|
-
|
|
7149
|
+
Tl(o[0], t[0]) ? e.push(t.shift()) : e.push(o.shift());
|
|
7150
7150
|
return e.concat(o, t);
|
|
7151
7151
|
}
|
|
7152
7152
|
function Di(o) {
|
|
@@ -7154,37 +7154,37 @@ function Di(o) {
|
|
|
7154
7154
|
if (t < 2)
|
|
7155
7155
|
return o;
|
|
7156
7156
|
const e = Math.ceil(t / 2), i = Di(o.slice(0, e)), s = Di(o.slice(e));
|
|
7157
|
-
return
|
|
7157
|
+
return Ml(i, s);
|
|
7158
7158
|
}
|
|
7159
|
-
function
|
|
7159
|
+
function or(o) {
|
|
7160
7160
|
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]");
|
|
7161
7161
|
}
|
|
7162
|
-
function
|
|
7162
|
+
function Ol(o) {
|
|
7163
7163
|
return o.getRootNode().activeElement === o;
|
|
7164
7164
|
}
|
|
7165
|
-
function
|
|
7166
|
-
if (!
|
|
7165
|
+
function Il(o) {
|
|
7166
|
+
if (!or(o))
|
|
7167
7167
|
return -1;
|
|
7168
7168
|
const t = o.getAttribute("tabindex") || 0;
|
|
7169
7169
|
return Number(t);
|
|
7170
7170
|
}
|
|
7171
|
-
function
|
|
7172
|
-
if (o.nodeType !== Node.ELEMENT_NODE ||
|
|
7171
|
+
function sr(o, t) {
|
|
7172
|
+
if (o.nodeType !== Node.ELEMENT_NODE || Dl(o))
|
|
7173
7173
|
return !1;
|
|
7174
7174
|
const e = (
|
|
7175
7175
|
/** @type {HTMLElement} */
|
|
7176
7176
|
o
|
|
7177
|
-
), i =
|
|
7177
|
+
), i = Il(e);
|
|
7178
7178
|
let s = i > 0;
|
|
7179
7179
|
i >= 0 && t.push(e);
|
|
7180
7180
|
let r = [];
|
|
7181
7181
|
return e.localName === "slot" ? r = e.assignedNodes({ flatten: !0 }) : r = (e.shadowRoot || e).children, [...r].forEach((n) => {
|
|
7182
|
-
s =
|
|
7182
|
+
s = sr(n, t) || s;
|
|
7183
7183
|
}), s;
|
|
7184
7184
|
}
|
|
7185
|
-
function
|
|
7185
|
+
function Fl(o) {
|
|
7186
7186
|
const t = [];
|
|
7187
|
-
return
|
|
7187
|
+
return sr(o, t) ? Di(t) : t;
|
|
7188
7188
|
}
|
|
7189
7189
|
/**
|
|
7190
7190
|
@license
|
|
@@ -7195,23 +7195,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
7195
7195
|
Code distributed by Google as part of the polymer project is also
|
|
7196
7196
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7197
7197
|
*/
|
|
7198
|
-
let Ti = !1,
|
|
7199
|
-
function
|
|
7198
|
+
let Ti = !1, Nl = [], rr = [];
|
|
7199
|
+
function zl() {
|
|
7200
7200
|
Ti = !0, requestAnimationFrame(function() {
|
|
7201
|
-
Ti = !1,
|
|
7202
|
-
|
|
7201
|
+
Ti = !1, Ll(Nl), setTimeout(function() {
|
|
7202
|
+
Rl(rr);
|
|
7203
7203
|
});
|
|
7204
7204
|
});
|
|
7205
7205
|
}
|
|
7206
|
-
function
|
|
7206
|
+
function Ll(o) {
|
|
7207
7207
|
for (; o.length; )
|
|
7208
|
-
|
|
7208
|
+
nr(o.shift());
|
|
7209
7209
|
}
|
|
7210
|
-
function
|
|
7210
|
+
function Rl(o) {
|
|
7211
7211
|
for (let t = 0, e = o.length; t < e; t++)
|
|
7212
|
-
|
|
7212
|
+
nr(o.shift());
|
|
7213
7213
|
}
|
|
7214
|
-
function
|
|
7214
|
+
function nr(o) {
|
|
7215
7215
|
const t = o[0], e = o[1], i = o[2];
|
|
7216
7216
|
try {
|
|
7217
7217
|
e.apply(t, i);
|
|
@@ -7221,19 +7221,19 @@ function rr(o) {
|
|
|
7221
7221
|
});
|
|
7222
7222
|
}
|
|
7223
7223
|
}
|
|
7224
|
-
function
|
|
7225
|
-
Ti ||
|
|
7224
|
+
function ar(o, t, e) {
|
|
7225
|
+
Ti || zl(), rr.push([o, t, e]);
|
|
7226
7226
|
}
|
|
7227
7227
|
/**
|
|
7228
7228
|
* @license
|
|
7229
7229
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7230
7230
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7231
7231
|
*/
|
|
7232
|
-
const Gt = (o) => o.test(navigator.userAgent), Mi = (o) => o.test(navigator.platform),
|
|
7232
|
+
const Gt = (o) => o.test(navigator.userAgent), Mi = (o) => o.test(navigator.platform), Bl = (o) => o.test(navigator.vendor);
|
|
7233
7233
|
Gt(/Android/u);
|
|
7234
|
-
Gt(/Chrome/u) &&
|
|
7234
|
+
Gt(/Chrome/u) && Bl(/Google Inc/u);
|
|
7235
7235
|
Gt(/Firefox/u);
|
|
7236
|
-
const
|
|
7236
|
+
const Hl = Mi(/^iPad/u) || Mi(/^Mac/u) && navigator.maxTouchPoints > 1, $l = Mi(/^iPhone/u), lr = $l || Hl;
|
|
7237
7237
|
Gt(/^((?!chrome|android).)*safari/iu);
|
|
7238
7238
|
const Yl = (() => {
|
|
7239
7239
|
try {
|
|
@@ -7248,10 +7248,10 @@ const Yl = (() => {
|
|
|
7248
7248
|
* SPDX-License-Identifier: MIT
|
|
7249
7249
|
*/
|
|
7250
7250
|
let Ke = /* @__PURE__ */ new WeakMap(), Ot = /* @__PURE__ */ new WeakMap(), It = {}, ai = 0;
|
|
7251
|
-
const
|
|
7251
|
+
const Uo = (o) => o && o.nodeType === Node.ELEMENT_NODE, li = (...o) => {
|
|
7252
7252
|
console.error(`Error: ${o.join(" ")}. Skip setting aria-hidden.`);
|
|
7253
|
-
},
|
|
7254
|
-
if (!
|
|
7253
|
+
}, jl = (o, t) => Uo(o) ? t.map((e) => {
|
|
7254
|
+
if (!Uo(e))
|
|
7255
7255
|
return li(e, "is not a valid element"), null;
|
|
7256
7256
|
let i = e;
|
|
7257
7257
|
for (; i && i !== o; ) {
|
|
@@ -7260,8 +7260,8 @@ const Vo = (o) => o && o.nodeType === Node.ELEMENT_NODE, li = (...o) => {
|
|
|
7260
7260
|
i = i.getRootNode().host;
|
|
7261
7261
|
}
|
|
7262
7262
|
return li(e, "is not contained inside", o), null;
|
|
7263
|
-
}).filter((e) => !!e) : (li(o, "is not a valid element"), []),
|
|
7264
|
-
const s =
|
|
7263
|
+
}).filter((e) => !!e) : (li(o, "is not a valid element"), []), Vl = (o, t, e, i) => {
|
|
7264
|
+
const s = jl(t, Array.isArray(o) ? o : [o]);
|
|
7265
7265
|
It[e] || (It[e] = /* @__PURE__ */ new WeakMap());
|
|
7266
7266
|
const r = It[e], n = [], a = /* @__PURE__ */ new Set(), l = new Set(s), c = (d) => {
|
|
7267
7267
|
if (!d || a.has(d))
|
|
@@ -7291,16 +7291,16 @@ const Vo = (o) => o && o.nodeType === Node.ELEMENT_NODE, li = (...o) => {
|
|
|
7291
7291
|
Ke.set(d, h), r.set(d, m), h || (Ot.has(d) ? Ot.delete(d) : d.removeAttribute(i)), m || d.removeAttribute(e);
|
|
7292
7292
|
}), ai -= 1, ai || (Ke = /* @__PURE__ */ new WeakMap(), Ke = /* @__PURE__ */ new WeakMap(), Ot = /* @__PURE__ */ new WeakMap(), It = {});
|
|
7293
7293
|
};
|
|
7294
|
-
},
|
|
7294
|
+
}, cr = (o, t = document.body, e = "data-aria-hidden") => {
|
|
7295
7295
|
const i = Array.from(Array.isArray(o) ? o : [o]);
|
|
7296
|
-
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))),
|
|
7296
|
+
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))), Vl(i, t, e, "aria-hidden");
|
|
7297
7297
|
};
|
|
7298
7298
|
/**
|
|
7299
7299
|
* @license
|
|
7300
7300
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7301
7301
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7302
7302
|
*/
|
|
7303
|
-
class
|
|
7303
|
+
class Ul {
|
|
7304
7304
|
/**
|
|
7305
7305
|
* @param {HTMLElement} host
|
|
7306
7306
|
*/
|
|
@@ -7316,7 +7316,7 @@ class Vl {
|
|
|
7316
7316
|
*/
|
|
7317
7317
|
showModal() {
|
|
7318
7318
|
const t = this.callback();
|
|
7319
|
-
this.__showOthers =
|
|
7319
|
+
this.__showOthers = cr(t);
|
|
7320
7320
|
}
|
|
7321
7321
|
/**
|
|
7322
7322
|
* Remove `aria-hidden` from other elements unless there are any other
|
|
@@ -7331,7 +7331,7 @@ class Vl {
|
|
|
7331
7331
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7332
7332
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7333
7333
|
*/
|
|
7334
|
-
class
|
|
7334
|
+
class Wl {
|
|
7335
7335
|
/**
|
|
7336
7336
|
* Saves the given node as a target for restoring focus to
|
|
7337
7337
|
* when `restoreFocus()` is called. If no node is provided,
|
|
@@ -7359,7 +7359,7 @@ class Ul {
|
|
|
7359
7359
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7360
7360
|
*/
|
|
7361
7361
|
const ci = [];
|
|
7362
|
-
class
|
|
7362
|
+
class ql {
|
|
7363
7363
|
/**
|
|
7364
7364
|
* @param {HTMLElement} host
|
|
7365
7365
|
*/
|
|
@@ -7373,7 +7373,7 @@ class Wl {
|
|
|
7373
7373
|
* @private
|
|
7374
7374
|
*/
|
|
7375
7375
|
get __focusableElements() {
|
|
7376
|
-
return
|
|
7376
|
+
return Fl(this.__trapNode);
|
|
7377
7377
|
}
|
|
7378
7378
|
/**
|
|
7379
7379
|
* The index of the element inside the trap node that currently has focus.
|
|
@@ -7383,7 +7383,7 @@ class Wl {
|
|
|
7383
7383
|
*/
|
|
7384
7384
|
get __focusedElementIndex() {
|
|
7385
7385
|
const t = this.__focusableElements;
|
|
7386
|
-
return t.indexOf(t.filter(
|
|
7386
|
+
return t.indexOf(t.filter(Ol).pop());
|
|
7387
7387
|
}
|
|
7388
7388
|
hostConnected() {
|
|
7389
7389
|
document.addEventListener("keydown", this.__onKeyDown);
|
|
@@ -7496,7 +7496,7 @@ const rt = W((o) => typeof o.prototype.addController == "function" ? o : class e
|
|
|
7496
7496
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7497
7497
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7498
7498
|
*/
|
|
7499
|
-
const
|
|
7499
|
+
const Kl = (o) => class extends rt(o) {
|
|
7500
7500
|
static get properties() {
|
|
7501
7501
|
return {
|
|
7502
7502
|
/**
|
|
@@ -7527,7 +7527,7 @@ const ql = (o) => class extends rt(o) {
|
|
|
7527
7527
|
};
|
|
7528
7528
|
}
|
|
7529
7529
|
constructor() {
|
|
7530
|
-
super(), this.__ariaModalController = new
|
|
7530
|
+
super(), this.__ariaModalController = new Ul(this), this.__focusTrapController = new ql(this), this.__focusRestorationController = new Wl();
|
|
7531
7531
|
}
|
|
7532
7532
|
/** @protected */
|
|
7533
7533
|
ready() {
|
|
@@ -7598,7 +7598,7 @@ const ql = (o) => class extends rt(o) {
|
|
|
7598
7598
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7599
7599
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7600
7600
|
*/
|
|
7601
|
-
const
|
|
7601
|
+
const ur = () => Array.from(document.body.children).filter((o) => o instanceof HTMLElement && o._hasOverlayStackMixin && !o.hasAttribute("closing")).sort((o, t) => o.__zIndex - t.__zIndex || 0), Oi = () => ur().filter((o) => o.$.overlay), Gl = (o) => o === Oi().pop(), Jl = (o) => class extends o {
|
|
7602
7602
|
constructor() {
|
|
7603
7603
|
super(), this._hasOverlayStackMixin = !0;
|
|
7604
7604
|
}
|
|
@@ -7609,14 +7609,14 @@ const cr = () => Array.from(document.body.children).filter((o) => o instanceof H
|
|
|
7609
7609
|
* @protected
|
|
7610
7610
|
*/
|
|
7611
7611
|
get _last() {
|
|
7612
|
-
return
|
|
7612
|
+
return Gl(this);
|
|
7613
7613
|
}
|
|
7614
7614
|
/**
|
|
7615
7615
|
* Brings the overlay as visually the frontmost one.
|
|
7616
7616
|
*/
|
|
7617
7617
|
bringToFront() {
|
|
7618
7618
|
let e = "";
|
|
7619
|
-
const i =
|
|
7619
|
+
const i = ur().filter((s) => s !== this).pop();
|
|
7620
7620
|
i && (e = i.__zIndex + 1), this.style.zIndex = e, this.__zIndex = e || parseFloat(getComputedStyle(this).zIndex);
|
|
7621
7621
|
}
|
|
7622
7622
|
/** @protected */
|
|
@@ -7639,7 +7639,7 @@ const cr = () => Array.from(document.body.children).filter((o) => o instanceof H
|
|
|
7639
7639
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7640
7640
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7641
7641
|
*/
|
|
7642
|
-
const
|
|
7642
|
+
const Xl = (o) => class extends Kl(Jl(o)) {
|
|
7643
7643
|
static get properties() {
|
|
7644
7644
|
return {
|
|
7645
7645
|
/**
|
|
@@ -7712,7 +7712,7 @@ const Jl = (o) => class extends ql(Gl(o)) {
|
|
|
7712
7712
|
return ["_rendererOrDataChanged(renderer, owner, model, opened)"];
|
|
7713
7713
|
}
|
|
7714
7714
|
constructor() {
|
|
7715
|
-
super(), this._boundMouseDownListener = this._mouseDownListener.bind(this), this._boundMouseUpListener = this._mouseUpListener.bind(this), this._boundOutsideClickListener = this._outsideClickListener.bind(this), this._boundKeydownListener = this._keydownListener.bind(this),
|
|
7715
|
+
super(), this._boundMouseDownListener = this._mouseDownListener.bind(this), this._boundMouseUpListener = this._mouseUpListener.bind(this), this._boundOutsideClickListener = this._outsideClickListener.bind(this), this._boundKeydownListener = this._keydownListener.bind(this), lr && (this._boundIosResizeListener = () => this._detectIosNavbar());
|
|
7716
7716
|
}
|
|
7717
7717
|
/** @protected */
|
|
7718
7718
|
ready() {
|
|
@@ -7780,7 +7780,7 @@ const Jl = (o) => class extends ql(Gl(o)) {
|
|
|
7780
7780
|
}
|
|
7781
7781
|
/** @private */
|
|
7782
7782
|
_openedChanged(e, i) {
|
|
7783
|
-
e ? (this._saveFocus(), this._animatedOpening(),
|
|
7783
|
+
e ? (this._saveFocus(), this._animatedOpening(), ar(this, () => {
|
|
7784
7784
|
this._trapFocus();
|
|
7785
7785
|
const s = new CustomEvent("vaadin-overlay-open", { bubbles: !0 });
|
|
7786
7786
|
this.dispatchEvent(s);
|
|
@@ -7905,7 +7905,7 @@ const Jl = (o) => class extends ql(Gl(o)) {
|
|
|
7905
7905
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7906
7906
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7907
7907
|
*/
|
|
7908
|
-
function
|
|
7908
|
+
function Zl(o) {
|
|
7909
7909
|
const t = [];
|
|
7910
7910
|
for (; o; ) {
|
|
7911
7911
|
if (o.nodeType === Node.DOCUMENT_NODE) {
|
|
@@ -7930,11 +7930,11 @@ function eo(o) {
|
|
|
7930
7930
|
function Jt(o) {
|
|
7931
7931
|
return o ? [...o].join(" ") : "";
|
|
7932
7932
|
}
|
|
7933
|
-
function
|
|
7933
|
+
function dr(o, t, e) {
|
|
7934
7934
|
const i = eo(o.getAttribute(t));
|
|
7935
7935
|
i.add(e), o.setAttribute(t, Jt(i));
|
|
7936
7936
|
}
|
|
7937
|
-
function
|
|
7937
|
+
function Ql(o, t, e) {
|
|
7938
7938
|
const i = eo(o.getAttribute(t));
|
|
7939
7939
|
if (i.delete(e), i.size === 0) {
|
|
7940
7940
|
o.removeAttribute(t);
|
|
@@ -7942,7 +7942,7 @@ function Zl(o, t, e) {
|
|
|
7942
7942
|
}
|
|
7943
7943
|
o.setAttribute(t, Jt(i));
|
|
7944
7944
|
}
|
|
7945
|
-
function
|
|
7945
|
+
function ec(o) {
|
|
7946
7946
|
return o.nodeType === Node.TEXT_NODE && o.textContent.trim() === "";
|
|
7947
7947
|
}
|
|
7948
7948
|
/**
|
|
@@ -7950,7 +7950,7 @@ function Ql(o) {
|
|
|
7950
7950
|
* Copyright (c) 2024 Vaadin Ltd.
|
|
7951
7951
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7952
7952
|
*/
|
|
7953
|
-
function
|
|
7953
|
+
function tc(o, t) {
|
|
7954
7954
|
let e = null;
|
|
7955
7955
|
const i = document.documentElement;
|
|
7956
7956
|
function s() {
|
|
@@ -7990,13 +7990,13 @@ const ui = {
|
|
|
7990
7990
|
}, di = {
|
|
7991
7991
|
start: "left",
|
|
7992
7992
|
end: "right"
|
|
7993
|
-
},
|
|
7993
|
+
}, Wo = new ResizeObserver((o) => {
|
|
7994
7994
|
setTimeout(() => {
|
|
7995
7995
|
o.forEach((t) => {
|
|
7996
7996
|
t.target.__overlay && t.target.__overlay._updatePosition();
|
|
7997
7997
|
});
|
|
7998
7998
|
});
|
|
7999
|
-
}),
|
|
7999
|
+
}), ic = (o) => class extends o {
|
|
8000
8000
|
static get properties() {
|
|
8001
8001
|
return {
|
|
8002
8002
|
/**
|
|
@@ -8095,9 +8095,9 @@ const ui = {
|
|
|
8095
8095
|
}
|
|
8096
8096
|
/** @private */
|
|
8097
8097
|
__addUpdatePositionEventListeners() {
|
|
8098
|
-
window.visualViewport.addEventListener("resize", this._updatePosition), window.visualViewport.addEventListener("scroll", this.__onScroll, !0), this.__positionTargetAncestorRootNodes =
|
|
8098
|
+
window.visualViewport.addEventListener("resize", this._updatePosition), window.visualViewport.addEventListener("scroll", this.__onScroll, !0), this.__positionTargetAncestorRootNodes = Zl(this.positionTarget), this.__positionTargetAncestorRootNodes.forEach((e) => {
|
|
8099
8099
|
e.addEventListener("scroll", this.__onScroll, !0);
|
|
8100
|
-
}), this.positionTarget && (this.__observePositionTargetMove =
|
|
8100
|
+
}), this.positionTarget && (this.__observePositionTargetMove = tc(this.positionTarget, () => {
|
|
8101
8101
|
this._updatePosition();
|
|
8102
8102
|
}));
|
|
8103
8103
|
}
|
|
@@ -8109,7 +8109,7 @@ const ui = {
|
|
|
8109
8109
|
}
|
|
8110
8110
|
/** @private */
|
|
8111
8111
|
__overlayOpenedChanged(e, i) {
|
|
8112
|
-
if (this.__removeUpdatePositionEventListeners(), i && (i.__overlay = null,
|
|
8112
|
+
if (this.__removeUpdatePositionEventListeners(), i && (i.__overlay = null, Wo.unobserve(i), e && (this.__addUpdatePositionEventListeners(), i.__overlay = this, Wo.observe(i))), e) {
|
|
8113
8113
|
const s = getComputedStyle(this);
|
|
8114
8114
|
this.__margins || (this.__margins = {}, ["top", "bottom", "left", "right"].forEach((r) => {
|
|
8115
8115
|
this.__margins[r] = parseInt(s[r], 10);
|
|
@@ -8231,7 +8231,7 @@ const ui = {
|
|
|
8231
8231
|
* Copyright (c) 2015 - 2024 Vaadin Ltd.
|
|
8232
8232
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8233
8233
|
*/
|
|
8234
|
-
const
|
|
8234
|
+
const oc = (o) => class extends ic(Xl(o)) {
|
|
8235
8235
|
/**
|
|
8236
8236
|
* Override method inherited from `OverlayMixin` to not close on input click.
|
|
8237
8237
|
* Needed to ignore date-picker's own input in the mousedown listener below.
|
|
@@ -8248,7 +8248,7 @@ const ic = (o) => class extends tc(Jl(o)) {
|
|
|
8248
8248
|
* @override
|
|
8249
8249
|
*/
|
|
8250
8250
|
_mouseDownListener(e) {
|
|
8251
|
-
super._mouseDownListener(e), this._shouldCloseOnOutsideClick(e) && !
|
|
8251
|
+
super._mouseDownListener(e), this._shouldCloseOnOutsideClick(e) && !or(e.composedPath()[0]) && e.preventDefault();
|
|
8252
8252
|
}
|
|
8253
8253
|
};
|
|
8254
8254
|
/**
|
|
@@ -8256,7 +8256,7 @@ const ic = (o) => class extends tc(Jl(o)) {
|
|
|
8256
8256
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
8257
8257
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8258
8258
|
*/
|
|
8259
|
-
const
|
|
8259
|
+
const sc = P`
|
|
8260
8260
|
[part='overlay'] {
|
|
8261
8261
|
display: flex;
|
|
8262
8262
|
flex: auto;
|
|
@@ -8277,10 +8277,10 @@ const oc = P`
|
|
|
8277
8277
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
8278
8278
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8279
8279
|
*/
|
|
8280
|
-
L("vaadin-date-picker-overlay", [
|
|
8280
|
+
L("vaadin-date-picker-overlay", [kl, sc], {
|
|
8281
8281
|
moduleId: "vaadin-date-picker-overlay-styles"
|
|
8282
8282
|
});
|
|
8283
|
-
class
|
|
8283
|
+
class rc extends oc(Kt(Ve(Fe))) {
|
|
8284
8284
|
static get is() {
|
|
8285
8285
|
return "vaadin-date-picker-overlay";
|
|
8286
8286
|
}
|
|
@@ -8295,34 +8295,34 @@ class sc extends ic(Kt(Ve(Fe))) {
|
|
|
8295
8295
|
`;
|
|
8296
8296
|
}
|
|
8297
8297
|
}
|
|
8298
|
-
ve(
|
|
8299
|
-
const
|
|
8300
|
-
function
|
|
8298
|
+
ve(rc);
|
|
8299
|
+
const nc = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i, zt = window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients;
|
|
8300
|
+
function ac() {
|
|
8301
8301
|
function o() {
|
|
8302
8302
|
return !0;
|
|
8303
8303
|
}
|
|
8304
|
-
return
|
|
8304
|
+
return hr(o);
|
|
8305
8305
|
}
|
|
8306
|
-
function
|
|
8306
|
+
function lc() {
|
|
8307
8307
|
try {
|
|
8308
|
-
return
|
|
8308
|
+
return cc() ? !0 : uc() ? zt ? !dc() : !ac() : !1;
|
|
8309
8309
|
} catch (o) {
|
|
8310
8310
|
return !1;
|
|
8311
8311
|
}
|
|
8312
8312
|
}
|
|
8313
|
-
function
|
|
8313
|
+
function cc() {
|
|
8314
8314
|
return localStorage.getItem("vaadin.developmentmode.force");
|
|
8315
8315
|
}
|
|
8316
|
-
function
|
|
8316
|
+
function uc() {
|
|
8317
8317
|
return ["localhost", "127.0.0.1"].indexOf(window.location.hostname) >= 0;
|
|
8318
8318
|
}
|
|
8319
|
-
function
|
|
8319
|
+
function dc() {
|
|
8320
8320
|
return !!(zt && Object.keys(zt).map((t) => zt[t]).filter((t) => t.productionMode).length > 0);
|
|
8321
8321
|
}
|
|
8322
|
-
function
|
|
8322
|
+
function hr(o, t) {
|
|
8323
8323
|
if (typeof o != "function")
|
|
8324
8324
|
return;
|
|
8325
|
-
const e =
|
|
8325
|
+
const e = nc.exec(o.toString());
|
|
8326
8326
|
if (e)
|
|
8327
8327
|
try {
|
|
8328
8328
|
o = new Function(e[1]);
|
|
@@ -8332,12 +8332,12 @@ function dr(o, t) {
|
|
|
8332
8332
|
return o(t);
|
|
8333
8333
|
}
|
|
8334
8334
|
window.Vaadin = window.Vaadin || {};
|
|
8335
|
-
const
|
|
8335
|
+
const qo = function(o, t) {
|
|
8336
8336
|
if (window.Vaadin.developmentMode)
|
|
8337
|
-
return
|
|
8337
|
+
return hr(o, t);
|
|
8338
8338
|
};
|
|
8339
|
-
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode =
|
|
8340
|
-
function
|
|
8339
|
+
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode = lc());
|
|
8340
|
+
function hc() {
|
|
8341
8341
|
/*! vaadin-dev-mode:start
|
|
8342
8342
|
(function () {
|
|
8343
8343
|
'use strict';
|
|
@@ -8818,9 +8818,9 @@ function dc() {
|
|
|
8818
8818
|
|
|
8819
8819
|
vaadin-dev-mode:end **/
|
|
8820
8820
|
}
|
|
8821
|
-
const
|
|
8822
|
-
if (typeof
|
|
8823
|
-
return
|
|
8821
|
+
const pc = function() {
|
|
8822
|
+
if (typeof qo == "function")
|
|
8823
|
+
return qo(hc);
|
|
8824
8824
|
};
|
|
8825
8825
|
/**
|
|
8826
8826
|
* @license
|
|
@@ -8831,10 +8831,10 @@ const hc = function() {
|
|
|
8831
8831
|
* Code distributed by Google as part of the polymer project is also
|
|
8832
8832
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
8833
8833
|
*/
|
|
8834
|
-
let
|
|
8834
|
+
let Ko = 0, pr = 0;
|
|
8835
8835
|
const Ze = [];
|
|
8836
8836
|
let Ii = !1;
|
|
8837
|
-
function
|
|
8837
|
+
function fc() {
|
|
8838
8838
|
Ii = !1;
|
|
8839
8839
|
const o = Ze.length;
|
|
8840
8840
|
for (let t = 0; t < o; t++) {
|
|
@@ -8848,7 +8848,7 @@ function pc() {
|
|
|
8848
8848
|
});
|
|
8849
8849
|
}
|
|
8850
8850
|
}
|
|
8851
|
-
Ze.splice(0, o),
|
|
8851
|
+
Ze.splice(0, o), pr += o;
|
|
8852
8852
|
}
|
|
8853
8853
|
const jt = {
|
|
8854
8854
|
/**
|
|
@@ -8890,7 +8890,7 @@ const jt = {
|
|
|
8890
8890
|
cancel(o) {
|
|
8891
8891
|
window.clearTimeout(o);
|
|
8892
8892
|
}
|
|
8893
|
-
},
|
|
8893
|
+
}, mc = {
|
|
8894
8894
|
/**
|
|
8895
8895
|
* Enqueues a function called at `requestAnimationFrame` timing.
|
|
8896
8896
|
*
|
|
@@ -8911,7 +8911,7 @@ const jt = {
|
|
|
8911
8911
|
cancel(o) {
|
|
8912
8912
|
window.cancelAnimationFrame(o);
|
|
8913
8913
|
}
|
|
8914
|
-
},
|
|
8914
|
+
}, _c = {
|
|
8915
8915
|
/**
|
|
8916
8916
|
* Enqueues a function called at `requestIdleCallback` timing.
|
|
8917
8917
|
*
|
|
@@ -8932,7 +8932,7 @@ const jt = {
|
|
|
8932
8932
|
cancel(o) {
|
|
8933
8933
|
window.cancelIdleCallback ? window.cancelIdleCallback(o) : window.clearTimeout(o);
|
|
8934
8934
|
}
|
|
8935
|
-
},
|
|
8935
|
+
}, gc = {
|
|
8936
8936
|
/**
|
|
8937
8937
|
* Enqueues a function called at microtask timing.
|
|
8938
8938
|
*
|
|
@@ -8941,9 +8941,9 @@ const jt = {
|
|
|
8941
8941
|
* @return {number} Handle used for canceling task
|
|
8942
8942
|
*/
|
|
8943
8943
|
run(o) {
|
|
8944
|
-
Ii || (Ii = !0, queueMicrotask(() =>
|
|
8945
|
-
const t =
|
|
8946
|
-
return
|
|
8944
|
+
Ii || (Ii = !0, queueMicrotask(() => fc())), Ze.push(o);
|
|
8945
|
+
const t = Ko;
|
|
8946
|
+
return Ko += 1, t;
|
|
8947
8947
|
},
|
|
8948
8948
|
/**
|
|
8949
8949
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -8953,7 +8953,7 @@ const jt = {
|
|
|
8953
8953
|
* @return {void}
|
|
8954
8954
|
*/
|
|
8955
8955
|
cancel(o) {
|
|
8956
|
-
const t = o -
|
|
8956
|
+
const t = o - pr;
|
|
8957
8957
|
if (t >= 0) {
|
|
8958
8958
|
if (!Ze[t])
|
|
8959
8959
|
throw new Error(`invalid async handle: ${o}`);
|
|
@@ -9062,7 +9062,7 @@ let it = class Ni {
|
|
|
9062
9062
|
return this._timer != null;
|
|
9063
9063
|
}
|
|
9064
9064
|
};
|
|
9065
|
-
function
|
|
9065
|
+
function bc(o) {
|
|
9066
9066
|
Fi.add(o);
|
|
9067
9067
|
}
|
|
9068
9068
|
/**
|
|
@@ -9074,17 +9074,17 @@ window.Vaadin || (window.Vaadin = {});
|
|
|
9074
9074
|
window.Vaadin.registrations || (window.Vaadin.registrations = []);
|
|
9075
9075
|
window.Vaadin.developmentModeCallback || (window.Vaadin.developmentModeCallback = {});
|
|
9076
9076
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"] = function() {
|
|
9077
|
-
|
|
9077
|
+
pc();
|
|
9078
9078
|
};
|
|
9079
9079
|
let hi;
|
|
9080
|
-
const
|
|
9080
|
+
const Go = /* @__PURE__ */ new Set(), fr = (o) => class extends Kt(o) {
|
|
9081
9081
|
/** @protected */
|
|
9082
9082
|
static finalize() {
|
|
9083
9083
|
super.finalize();
|
|
9084
9084
|
const { is: e } = this;
|
|
9085
|
-
e && !
|
|
9085
|
+
e && !Go.has(e) && (window.Vaadin.registrations.push(this), Go.add(e), window.Vaadin.developmentModeCallback && (hi = it.debounce(hi, _c, () => {
|
|
9086
9086
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]();
|
|
9087
|
-
}),
|
|
9087
|
+
}), bc(hi)));
|
|
9088
9088
|
}
|
|
9089
9089
|
constructor() {
|
|
9090
9090
|
super(), document.doctype === null && console.warn(
|
|
@@ -9097,7 +9097,7 @@ const Ko = /* @__PURE__ */ new Set(), pr = (o) => class extends Kt(o) {
|
|
|
9097
9097
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
9098
9098
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9099
9099
|
*/
|
|
9100
|
-
class
|
|
9100
|
+
class vc {
|
|
9101
9101
|
constructor(t, e) {
|
|
9102
9102
|
this.slot = t, this.callback = e, this._storedNodes = [], this._connected = !1, this._scheduled = !1, this._boundSchedule = () => {
|
|
9103
9103
|
this._schedule();
|
|
@@ -9147,9 +9147,9 @@ class bc {
|
|
|
9147
9147
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9148
9148
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9149
9149
|
*/
|
|
9150
|
-
let
|
|
9151
|
-
function
|
|
9152
|
-
return
|
|
9150
|
+
let yc = 0;
|
|
9151
|
+
function mr() {
|
|
9152
|
+
return yc++;
|
|
9153
9153
|
}
|
|
9154
9154
|
/**
|
|
9155
9155
|
* @license
|
|
@@ -9166,7 +9166,7 @@ class Be extends EventTarget {
|
|
|
9166
9166
|
* @protected
|
|
9167
9167
|
*/
|
|
9168
9168
|
static generateId(t, e = "default") {
|
|
9169
|
-
return `${e}-${t.localName}-${
|
|
9169
|
+
return `${e}-${t.localName}-${mr()}`;
|
|
9170
9170
|
}
|
|
9171
9171
|
constructor(t, e, i, s = {}) {
|
|
9172
9172
|
super();
|
|
@@ -9258,8 +9258,8 @@ class Be extends EventTarget {
|
|
|
9258
9258
|
*/
|
|
9259
9259
|
observeSlot() {
|
|
9260
9260
|
const { slotName: t } = this, e = t === "" ? "slot:not([name])" : `slot[name=${t}]`, i = this.host.shadowRoot.querySelector(e);
|
|
9261
|
-
this.__slotObserver = new
|
|
9262
|
-
const n = this.multiple ? this.nodes : [this.node], a = s.filter((l) => !
|
|
9261
|
+
this.__slotObserver = new vc(i, ({ addedNodes: s, removedNodes: r }) => {
|
|
9262
|
+
const n = this.multiple ? this.nodes : [this.node], a = s.filter((l) => !ec(l) && !n.includes(l));
|
|
9263
9263
|
r.length && (this.nodes = n.filter((l) => !r.includes(l)), r.forEach((l) => {
|
|
9264
9264
|
this.teardownNode(l);
|
|
9265
9265
|
})), a && a.length > 0 && (this.multiple ? (this.defaultNode && this.defaultNode.remove(), this.nodes = [...n, ...a].filter((l) => l !== this.defaultNode), a.forEach((l) => {
|
|
@@ -9273,7 +9273,7 @@ class Be extends EventTarget {
|
|
|
9273
9273
|
* Copyright (c) 2022 - 2024 Vaadin Ltd.
|
|
9274
9274
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9275
9275
|
*/
|
|
9276
|
-
class
|
|
9276
|
+
class _r extends Be {
|
|
9277
9277
|
constructor(t) {
|
|
9278
9278
|
super(t, "tooltip"), this.setTarget(t);
|
|
9279
9279
|
}
|
|
@@ -9374,7 +9374,7 @@ class mr extends Be {
|
|
|
9374
9374
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
9375
9375
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9376
9376
|
*/
|
|
9377
|
-
const
|
|
9377
|
+
const xc = P`
|
|
9378
9378
|
:host {
|
|
9379
9379
|
display: inline-block;
|
|
9380
9380
|
position: relative;
|
|
@@ -9434,7 +9434,7 @@ const yc = P`
|
|
|
9434
9434
|
outline-color: GrayText;
|
|
9435
9435
|
}
|
|
9436
9436
|
}
|
|
9437
|
-
`,
|
|
9437
|
+
`, wc = (o) => o`
|
|
9438
9438
|
<div class="vaadin-button-container">
|
|
9439
9439
|
<span part="prefix" aria-hidden="true">
|
|
9440
9440
|
<slot name="prefix"></slot>
|
|
@@ -9457,7 +9457,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
9457
9457
|
Code distributed by Google as part of the polymer project is also
|
|
9458
9458
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
9459
9459
|
*/
|
|
9460
|
-
const
|
|
9460
|
+
const Ec = (o) => o, gr = typeof document.head.style.touchAction == "string", zi = "__polymerGestures", pi = "__polymerGesturesHandled", Li = "__polymerGesturesTouchAction", Jo = 25, Xo = 5, Sc = 2, Ac = ["mousedown", "mousemove", "mouseup", "click"], Cc = [0, 1, 4, 2], Pc = function() {
|
|
9461
9461
|
try {
|
|
9462
9462
|
return new MouseEvent("test", { buttons: 1 }).buttons === 1;
|
|
9463
9463
|
} catch (o) {
|
|
@@ -9465,25 +9465,25 @@ const wc = (o) => o, _r = typeof document.head.style.touchAction == "string", zi
|
|
|
9465
9465
|
}
|
|
9466
9466
|
}();
|
|
9467
9467
|
function to(o) {
|
|
9468
|
-
return
|
|
9468
|
+
return Ac.indexOf(o) > -1;
|
|
9469
9469
|
}
|
|
9470
|
-
let
|
|
9470
|
+
let kc = !1;
|
|
9471
9471
|
(function() {
|
|
9472
9472
|
try {
|
|
9473
9473
|
const o = Object.defineProperty({}, "passive", {
|
|
9474
9474
|
// eslint-disable-next-line getter-return
|
|
9475
9475
|
get() {
|
|
9476
|
-
|
|
9476
|
+
kc = !0;
|
|
9477
9477
|
}
|
|
9478
9478
|
});
|
|
9479
9479
|
window.addEventListener("test", null, o), window.removeEventListener("test", null, o);
|
|
9480
9480
|
} catch (o) {
|
|
9481
9481
|
}
|
|
9482
9482
|
})();
|
|
9483
|
-
function
|
|
9483
|
+
function Dc(o) {
|
|
9484
9484
|
to(o);
|
|
9485
9485
|
}
|
|
9486
|
-
const
|
|
9486
|
+
const Tc = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), Mc = {
|
|
9487
9487
|
button: !0,
|
|
9488
9488
|
command: !0,
|
|
9489
9489
|
fieldset: !0,
|
|
@@ -9494,17 +9494,17 @@ const Dc = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), Tc = {
|
|
|
9494
9494
|
select: !0,
|
|
9495
9495
|
textarea: !0
|
|
9496
9496
|
};
|
|
9497
|
-
function
|
|
9497
|
+
function Ye(o) {
|
|
9498
9498
|
const t = o.type;
|
|
9499
9499
|
if (!to(t))
|
|
9500
9500
|
return !1;
|
|
9501
9501
|
if (t === "mousemove") {
|
|
9502
9502
|
let i = o.buttons === void 0 ? 1 : o.buttons;
|
|
9503
|
-
return o instanceof window.MouseEvent && !
|
|
9503
|
+
return o instanceof window.MouseEvent && !Pc && (i = Cc[o.which] || 0), !!(i & 1);
|
|
9504
9504
|
}
|
|
9505
9505
|
return (o.button === void 0 ? 0 : o.button) === 0;
|
|
9506
9506
|
}
|
|
9507
|
-
function
|
|
9507
|
+
function Oc(o) {
|
|
9508
9508
|
if (o.type === "click") {
|
|
9509
9509
|
if (o.detail === 0)
|
|
9510
9510
|
return !0;
|
|
@@ -9528,9 +9528,9 @@ const Ce = {
|
|
|
9528
9528
|
scrollDecided: !1
|
|
9529
9529
|
}
|
|
9530
9530
|
};
|
|
9531
|
-
function
|
|
9531
|
+
function Ic(o) {
|
|
9532
9532
|
let t = "auto";
|
|
9533
|
-
const e =
|
|
9533
|
+
const e = vr(o);
|
|
9534
9534
|
for (let i = 0, s; i < e.length; i++)
|
|
9535
9535
|
if (s = e[i], s[Li]) {
|
|
9536
9536
|
t = s[Li];
|
|
@@ -9538,14 +9538,14 @@ function Oc(o) {
|
|
|
9538
9538
|
}
|
|
9539
9539
|
return t;
|
|
9540
9540
|
}
|
|
9541
|
-
function
|
|
9541
|
+
function br(o, t, e) {
|
|
9542
9542
|
o.movefn = t, o.upfn = e, document.addEventListener("mousemove", t), document.addEventListener("mouseup", e);
|
|
9543
9543
|
}
|
|
9544
9544
|
function Qe(o) {
|
|
9545
9545
|
document.removeEventListener("mousemove", o.movefn), document.removeEventListener("mouseup", o.upfn), o.movefn = null, o.upfn = null;
|
|
9546
9546
|
}
|
|
9547
|
-
const
|
|
9548
|
-
function
|
|
9547
|
+
const vr = window.ShadyDOM && window.ShadyDOM.noPatch ? window.ShadyDOM.composedPath : (o) => o.composedPath && o.composedPath() || [], io = {}, He = [];
|
|
9548
|
+
function Fc(o, t) {
|
|
9549
9549
|
let e = document.elementFromPoint(o, t), i = e;
|
|
9550
9550
|
for (; i && i.shadowRoot && !window.ShadyDOM; ) {
|
|
9551
9551
|
const s = i;
|
|
@@ -9556,13 +9556,13 @@ function Ic(o, t) {
|
|
|
9556
9556
|
return e;
|
|
9557
9557
|
}
|
|
9558
9558
|
function Ie(o) {
|
|
9559
|
-
const t =
|
|
9559
|
+
const t = vr(
|
|
9560
9560
|
/** @type {?Event} */
|
|
9561
9561
|
o
|
|
9562
9562
|
);
|
|
9563
9563
|
return t.length > 0 ? t[0] : o.target;
|
|
9564
9564
|
}
|
|
9565
|
-
function
|
|
9565
|
+
function Nc(o) {
|
|
9566
9566
|
const t = o.type, i = o.currentTarget[zi];
|
|
9567
9567
|
if (!i)
|
|
9568
9568
|
return;
|
|
@@ -9573,7 +9573,7 @@ function Fc(o) {
|
|
|
9573
9573
|
const n = o.changedTouches[0];
|
|
9574
9574
|
if (t === "touchstart" && o.touches.length === 1 && (Ce.touch.id = n.identifier), Ce.touch.id !== n.identifier)
|
|
9575
9575
|
return;
|
|
9576
|
-
|
|
9576
|
+
gr || (t === "touchstart" || t === "touchmove") && zc(o);
|
|
9577
9577
|
}
|
|
9578
9578
|
const r = o[pi];
|
|
9579
9579
|
if (!r.skip) {
|
|
@@ -9583,7 +9583,7 @@ function Fc(o) {
|
|
|
9583
9583
|
a = He[n], s[a.name] && !r[a.name] && (r[a.name] = !0, a[t](o));
|
|
9584
9584
|
}
|
|
9585
9585
|
}
|
|
9586
|
-
function
|
|
9586
|
+
function zc(o) {
|
|
9587
9587
|
const t = o.changedTouches[0], e = o.type;
|
|
9588
9588
|
if (e === "touchstart")
|
|
9589
9589
|
Ce.touch.x = t.clientX, Ce.touch.y = t.clientY, Ce.touch.scrollDecided = !1;
|
|
@@ -9591,29 +9591,29 @@ function Nc(o) {
|
|
|
9591
9591
|
if (Ce.touch.scrollDecided)
|
|
9592
9592
|
return;
|
|
9593
9593
|
Ce.touch.scrollDecided = !0;
|
|
9594
|
-
const i =
|
|
9594
|
+
const i = Ic(o);
|
|
9595
9595
|
let s = !1;
|
|
9596
9596
|
const r = Math.abs(Ce.touch.x - t.clientX), n = Math.abs(Ce.touch.y - t.clientY);
|
|
9597
9597
|
o.cancelable && (i === "none" ? s = !0 : i === "pan-x" ? s = n > r : i === "pan-y" && (s = r > n)), s ? o.preventDefault() : Vt("track");
|
|
9598
9598
|
}
|
|
9599
9599
|
}
|
|
9600
9600
|
function be(o, t, e) {
|
|
9601
|
-
return io[t] ? (
|
|
9601
|
+
return io[t] ? (Lc(o, t, e), !0) : !1;
|
|
9602
9602
|
}
|
|
9603
|
-
function
|
|
9603
|
+
function Lc(o, t, e) {
|
|
9604
9604
|
const i = io[t], s = i.deps, r = i.name;
|
|
9605
9605
|
let n = o[zi];
|
|
9606
9606
|
n || (o[zi] = n = {});
|
|
9607
9607
|
for (let a = 0, l, c; a < s.length; a++)
|
|
9608
|
-
l = s[a], !(
|
|
9609
|
-
o.addEventListener(t, e), i.touchAction &&
|
|
9608
|
+
l = s[a], !(Tc && to(l) && l !== "click") && (c = n[l], c || (n[l] = c = { _count: 0 }), c._count === 0 && o.addEventListener(l, Nc, Dc(l)), c[r] = (c[r] || 0) + 1, c._count = (c._count || 0) + 1);
|
|
9609
|
+
o.addEventListener(t, e), i.touchAction && yr(o, i.touchAction);
|
|
9610
9610
|
}
|
|
9611
9611
|
function oo(o) {
|
|
9612
9612
|
He.push(o), o.emits.forEach((t) => {
|
|
9613
9613
|
io[t] = o;
|
|
9614
9614
|
});
|
|
9615
9615
|
}
|
|
9616
|
-
function
|
|
9616
|
+
function Rc(o) {
|
|
9617
9617
|
for (let t = 0, e; t < He.length; t++) {
|
|
9618
9618
|
e = He[t];
|
|
9619
9619
|
for (let i = 0, s; i < e.emits.length; i++)
|
|
@@ -9622,14 +9622,14 @@ function Lc(o) {
|
|
|
9622
9622
|
}
|
|
9623
9623
|
return null;
|
|
9624
9624
|
}
|
|
9625
|
-
function
|
|
9626
|
-
|
|
9625
|
+
function yr(o, t) {
|
|
9626
|
+
gr && o instanceof HTMLElement && gc.run(() => {
|
|
9627
9627
|
o.style.touchAction = t;
|
|
9628
9628
|
}), o[Li] = t;
|
|
9629
9629
|
}
|
|
9630
9630
|
function so(o, t, e) {
|
|
9631
9631
|
const i = new Event(t, { bubbles: !0, cancelable: !0, composed: !0 });
|
|
9632
|
-
if (i.detail = e,
|
|
9632
|
+
if (i.detail = e, Ec(
|
|
9633
9633
|
/** @type {!Node} */
|
|
9634
9634
|
o
|
|
9635
9635
|
).dispatchEvent(i), i.defaultPrevented) {
|
|
@@ -9638,7 +9638,7 @@ function so(o, t, e) {
|
|
|
9638
9638
|
}
|
|
9639
9639
|
}
|
|
9640
9640
|
function Vt(o) {
|
|
9641
|
-
const t =
|
|
9641
|
+
const t = Rc(o);
|
|
9642
9642
|
t.info && (t.info.prevent = !0);
|
|
9643
9643
|
}
|
|
9644
9644
|
oo({
|
|
@@ -9666,14 +9666,14 @@ oo({
|
|
|
9666
9666
|
* @return {void}
|
|
9667
9667
|
*/
|
|
9668
9668
|
mousedown(o) {
|
|
9669
|
-
if (
|
|
9669
|
+
if (!Ye(o))
|
|
9670
9670
|
return;
|
|
9671
9671
|
const t = Ie(o), e = this, i = (r) => {
|
|
9672
|
-
|
|
9672
|
+
Ye(r) || (ut("up", t, r), Qe(e.info));
|
|
9673
9673
|
}, s = (r) => {
|
|
9674
|
-
|
|
9674
|
+
Ye(r) && ut("up", t, r), Qe(e.info);
|
|
9675
9675
|
};
|
|
9676
|
-
|
|
9676
|
+
br(this.info, i, s), ut("down", t, o);
|
|
9677
9677
|
},
|
|
9678
9678
|
/**
|
|
9679
9679
|
* @this {GestureRecognizer}
|
|
@@ -9720,7 +9720,7 @@ oo({
|
|
|
9720
9720
|
moves: [],
|
|
9721
9721
|
/** @this {GestureInfo} */
|
|
9722
9722
|
addMove(o) {
|
|
9723
|
-
this.moves.length >
|
|
9723
|
+
this.moves.length > Sc && this.moves.shift(), this.moves.push(o);
|
|
9724
9724
|
},
|
|
9725
9725
|
movefn: null,
|
|
9726
9726
|
upfn: null,
|
|
@@ -9739,15 +9739,15 @@ oo({
|
|
|
9739
9739
|
* @return {void}
|
|
9740
9740
|
*/
|
|
9741
9741
|
mousedown(o) {
|
|
9742
|
-
if (
|
|
9742
|
+
if (!Ye(o))
|
|
9743
9743
|
return;
|
|
9744
9744
|
const t = Ie(o), e = this, i = (r) => {
|
|
9745
9745
|
const n = r.clientX, a = r.clientY;
|
|
9746
|
-
|
|
9746
|
+
Zo(e.info, n, a) && (e.info.state = e.info.started ? r.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" && Vt("tap"), e.info.addMove({ x: n, y: a }), Ye(r) || (e.info.state = "end", Qe(e.info)), t && fi(e.info, t, r), e.info.started = !0);
|
|
9747
9747
|
}, s = (r) => {
|
|
9748
9748
|
e.info.started && i(r), Qe(e.info);
|
|
9749
9749
|
};
|
|
9750
|
-
|
|
9750
|
+
br(this.info, i, s), this.info.x = o.clientX, this.info.y = o.clientY;
|
|
9751
9751
|
},
|
|
9752
9752
|
/**
|
|
9753
9753
|
* @this {GestureRecognizer}
|
|
@@ -9765,7 +9765,7 @@ oo({
|
|
|
9765
9765
|
*/
|
|
9766
9766
|
touchmove(o) {
|
|
9767
9767
|
const t = Ie(o), e = o.changedTouches[0], i = e.clientX, s = e.clientY;
|
|
9768
|
-
|
|
9768
|
+
Zo(this.info, i, s) && (this.info.state === "start" && Vt("tap"), this.info.addMove({ x: i, y: s }), fi(this.info, t, e), this.info.state = "track", this.info.started = !0);
|
|
9769
9769
|
},
|
|
9770
9770
|
/**
|
|
9771
9771
|
* @this {GestureRecognizer}
|
|
@@ -9777,13 +9777,13 @@ oo({
|
|
|
9777
9777
|
this.info.started && (this.info.state = "end", this.info.addMove({ x: e.clientX, y: e.clientY }), fi(this.info, t, e));
|
|
9778
9778
|
}
|
|
9779
9779
|
});
|
|
9780
|
-
function
|
|
9780
|
+
function Zo(o, t, e) {
|
|
9781
9781
|
if (o.prevent)
|
|
9782
9782
|
return !1;
|
|
9783
9783
|
if (o.started)
|
|
9784
9784
|
return !0;
|
|
9785
9785
|
const i = Math.abs(o.x - t), s = Math.abs(o.y - e);
|
|
9786
|
-
return i >=
|
|
9786
|
+
return i >= Xo || s >= Xo;
|
|
9787
9787
|
}
|
|
9788
9788
|
function fi(o, t, e) {
|
|
9789
9789
|
if (!t)
|
|
@@ -9800,7 +9800,7 @@ function fi(o, t, e) {
|
|
|
9800
9800
|
ddy: l,
|
|
9801
9801
|
sourceEvent: e,
|
|
9802
9802
|
hover() {
|
|
9803
|
-
return
|
|
9803
|
+
return Fc(e.clientX, e.clientY);
|
|
9804
9804
|
}
|
|
9805
9805
|
});
|
|
9806
9806
|
}
|
|
@@ -9830,7 +9830,7 @@ oo({
|
|
|
9830
9830
|
* @return {void}
|
|
9831
9831
|
*/
|
|
9832
9832
|
mousedown(o) {
|
|
9833
|
-
|
|
9833
|
+
Ye(o) && (this.info.x = o.clientX, this.info.y = o.clientY);
|
|
9834
9834
|
},
|
|
9835
9835
|
/**
|
|
9836
9836
|
* @this {GestureRecognizer}
|
|
@@ -9838,7 +9838,7 @@ oo({
|
|
|
9838
9838
|
* @return {void}
|
|
9839
9839
|
*/
|
|
9840
9840
|
click(o) {
|
|
9841
|
-
|
|
9841
|
+
Ye(o) && Qo(this.info, o);
|
|
9842
9842
|
},
|
|
9843
9843
|
/**
|
|
9844
9844
|
* @this {GestureRecognizer}
|
|
@@ -9855,15 +9855,15 @@ oo({
|
|
|
9855
9855
|
* @return {void}
|
|
9856
9856
|
*/
|
|
9857
9857
|
touchend(o) {
|
|
9858
|
-
|
|
9858
|
+
Qo(this.info, o.changedTouches[0], o);
|
|
9859
9859
|
}
|
|
9860
9860
|
});
|
|
9861
|
-
function
|
|
9861
|
+
function Qo(o, t, e) {
|
|
9862
9862
|
const i = Math.abs(t.clientX - o.x), s = Math.abs(t.clientY - o.y), r = Ie(e || t);
|
|
9863
|
-
!r ||
|
|
9863
|
+
!r || Mc[
|
|
9864
9864
|
/** @type {!HTMLElement} */
|
|
9865
9865
|
r.localName
|
|
9866
|
-
] && r.hasAttribute("disabled") || (isNaN(i) || isNaN(s) || i <=
|
|
9866
|
+
] && r.hasAttribute("disabled") || (isNaN(i) || isNaN(s) || i <= Jo && s <= Jo || Oc(t)) && (o.prevent || so(r, "tap", {
|
|
9867
9867
|
x: t.clientX,
|
|
9868
9868
|
y: t.clientY,
|
|
9869
9869
|
sourceEvent: t,
|
|
@@ -9875,7 +9875,7 @@ function Zo(o, t, e) {
|
|
|
9875
9875
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9876
9876
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9877
9877
|
*/
|
|
9878
|
-
const
|
|
9878
|
+
const xr = W(
|
|
9879
9879
|
(o) => class extends o {
|
|
9880
9880
|
static get properties() {
|
|
9881
9881
|
return {
|
|
@@ -9982,7 +9982,7 @@ const Xt = W(
|
|
|
9982
9982
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9983
9983
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9984
9984
|
*/
|
|
9985
|
-
const
|
|
9985
|
+
const Bc = (o) => class extends xr(Xt(o)) {
|
|
9986
9986
|
/**
|
|
9987
9987
|
* An array of activation keys.
|
|
9988
9988
|
*
|
|
@@ -10102,7 +10102,7 @@ const ro = W(
|
|
|
10102
10102
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
10103
10103
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10104
10104
|
*/
|
|
10105
|
-
const
|
|
10105
|
+
const wr = (o) => class extends xr(o) {
|
|
10106
10106
|
static get properties() {
|
|
10107
10107
|
return {
|
|
10108
10108
|
/**
|
|
@@ -10153,7 +10153,7 @@ const xr = (o) => class extends yr(o) {
|
|
|
10153
10153
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10154
10154
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10155
10155
|
*/
|
|
10156
|
-
const
|
|
10156
|
+
const Hc = (o) => class extends Bc(wr(ro(o))) {
|
|
10157
10157
|
static get properties() {
|
|
10158
10158
|
return {
|
|
10159
10159
|
/**
|
|
@@ -10208,20 +10208,20 @@ const Bc = (o) => class extends Rc(xr(ro(o))) {
|
|
|
10208
10208
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10209
10209
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10210
10210
|
*/
|
|
10211
|
-
L("vaadin-button",
|
|
10212
|
-
class
|
|
10211
|
+
L("vaadin-button", xc, { moduleId: "vaadin-button-styles" });
|
|
10212
|
+
class $c extends Hc(fr(Ve(rt(Fe)))) {
|
|
10213
10213
|
static get is() {
|
|
10214
10214
|
return "vaadin-button";
|
|
10215
10215
|
}
|
|
10216
10216
|
static get template() {
|
|
10217
|
-
return
|
|
10217
|
+
return wc(We);
|
|
10218
10218
|
}
|
|
10219
10219
|
/** @protected */
|
|
10220
10220
|
ready() {
|
|
10221
|
-
super.ready(), this._tooltipController = new
|
|
10221
|
+
super.ready(), this._tooltipController = new _r(this), this.addController(this._tooltipController);
|
|
10222
10222
|
}
|
|
10223
10223
|
}
|
|
10224
|
-
ve(
|
|
10224
|
+
ve($c);
|
|
10225
10225
|
/**
|
|
10226
10226
|
* @license
|
|
10227
10227
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
@@ -10257,7 +10257,7 @@ function ot(o, t, e, i) {
|
|
|
10257
10257
|
}
|
|
10258
10258
|
return (!t || o >= t) && (!e || o <= e) && !s;
|
|
10259
10259
|
}
|
|
10260
|
-
function
|
|
10260
|
+
function Er(o, t) {
|
|
10261
10261
|
return t.filter((e) => e !== void 0).reduce((e, i) => {
|
|
10262
10262
|
if (!i)
|
|
10263
10263
|
return e;
|
|
@@ -10267,11 +10267,11 @@ function wr(o, t) {
|
|
|
10267
10267
|
return s < r ? i : e;
|
|
10268
10268
|
});
|
|
10269
10269
|
}
|
|
10270
|
-
function
|
|
10270
|
+
function Sr(o) {
|
|
10271
10271
|
const t = /* @__PURE__ */ new Date(), e = new Date(t);
|
|
10272
10272
|
return e.setDate(1), e.setMonth(parseInt(o) + t.getMonth()), e;
|
|
10273
10273
|
}
|
|
10274
|
-
function
|
|
10274
|
+
function jc(o, t, e = 0, i = 1) {
|
|
10275
10275
|
if (t > 99)
|
|
10276
10276
|
throw new Error("The provided year cannot have more than 2 digits.");
|
|
10277
10277
|
if (t < 0)
|
|
@@ -10286,15 +10286,15 @@ function dt(o) {
|
|
|
10286
10286
|
const e = new Date(0, 0);
|
|
10287
10287
|
return e.setFullYear(parseInt(t[1], 10)), e.setMonth(parseInt(t[2], 10) - 1), e.setDate(parseInt(t[3], 10)), e;
|
|
10288
10288
|
}
|
|
10289
|
-
function
|
|
10289
|
+
function Vc(o) {
|
|
10290
10290
|
const t = (l, c = "00") => (c + l).substr((c + l).length - c.length);
|
|
10291
10291
|
let e = "", i = "0000", s = o.year;
|
|
10292
10292
|
s < 0 ? (s = -s, e = "-", i = "000000") : o.year >= 1e4 && (e = "+", i = "000000");
|
|
10293
10293
|
const r = e + t(s, i), n = t(o.month + 1), a = t(o.day);
|
|
10294
10294
|
return [r, n, a].join("-");
|
|
10295
10295
|
}
|
|
10296
|
-
function
|
|
10297
|
-
return o instanceof Date ?
|
|
10296
|
+
function Uc(o) {
|
|
10297
|
+
return o instanceof Date ? Vc({
|
|
10298
10298
|
year: o.getFullYear(),
|
|
10299
10299
|
month: o.getMonth(),
|
|
10300
10300
|
day: o.getDate()
|
|
@@ -10401,9 +10401,9 @@ class Ut {
|
|
|
10401
10401
|
}
|
|
10402
10402
|
}
|
|
10403
10403
|
let At = /* @__PURE__ */ new Set();
|
|
10404
|
-
const
|
|
10404
|
+
const Wc = function(o) {
|
|
10405
10405
|
At.add(o);
|
|
10406
|
-
},
|
|
10406
|
+
}, qc = function() {
|
|
10407
10407
|
const o = !!At.size;
|
|
10408
10408
|
return At.forEach((t) => {
|
|
10409
10409
|
try {
|
|
@@ -10427,7 +10427,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
10427
10427
|
const ao = function() {
|
|
10428
10428
|
let o, t;
|
|
10429
10429
|
do
|
|
10430
|
-
o = window.ShadyDOM && ShadyDOM.flush(), window.ShadyCSS && window.ShadyCSS.ScopingShim && window.ShadyCSS.ScopingShim.flush(), t =
|
|
10430
|
+
o = window.ShadyDOM && ShadyDOM.flush(), window.ShadyCSS && window.ShadyCSS.ScopingShim && window.ShadyCSS.ScopingShim.flush(), t = qc();
|
|
10431
10431
|
while (o || t);
|
|
10432
10432
|
};
|
|
10433
10433
|
/**
|
|
@@ -10435,8 +10435,8 @@ const ao = function() {
|
|
|
10435
10435
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10436
10436
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10437
10437
|
*/
|
|
10438
|
-
const
|
|
10439
|
-
|
|
10438
|
+
const Ar = document.createElement("template");
|
|
10439
|
+
Ar.innerHTML = `
|
|
10440
10440
|
<style>
|
|
10441
10441
|
:host {
|
|
10442
10442
|
display: block;
|
|
@@ -10487,9 +10487,9 @@ Sr.innerHTML = `
|
|
|
10487
10487
|
<div id="fullHeight"></div>
|
|
10488
10488
|
</div>
|
|
10489
10489
|
`;
|
|
10490
|
-
class
|
|
10490
|
+
class Cr extends HTMLElement {
|
|
10491
10491
|
constructor() {
|
|
10492
|
-
super(), this.attachShadow({ mode: "open" }).appendChild(
|
|
10492
|
+
super(), this.attachShadow({ mode: "open" }).appendChild(Ar.content.cloneNode(!0)), this.bufferSize = 20, this._initialScroll = 5e5, this._initialIndex = 0, this._activated = !1;
|
|
10493
10493
|
}
|
|
10494
10494
|
/**
|
|
10495
10495
|
* @return {boolean}
|
|
@@ -10605,7 +10605,7 @@ class Ar extends HTMLElement {
|
|
|
10605
10605
|
for (let i = 0; i < this.bufferSize; i++) {
|
|
10606
10606
|
const s = document.createElement("div");
|
|
10607
10607
|
s.style.height = `${this.itemHeight}px`, s.instance = {};
|
|
10608
|
-
const r = `vaadin-infinite-scroller-item-content-${
|
|
10608
|
+
const r = `vaadin-infinite-scroller-item-content-${mr()}`, n = document.createElement("slot");
|
|
10609
10609
|
n.setAttribute("name", r), n._itemWrapper = s, e.appendChild(n), s.setAttribute("slot", r), this.appendChild(s), this._isVisible(s, t) && this._ensureStampedInstance(s);
|
|
10610
10610
|
}
|
|
10611
10611
|
}), requestAnimationFrame(() => {
|
|
@@ -10646,8 +10646,8 @@ class Ar extends HTMLElement {
|
|
|
10646
10646
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10647
10647
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10648
10648
|
*/
|
|
10649
|
-
const
|
|
10650
|
-
|
|
10649
|
+
const Pr = document.createElement("template");
|
|
10650
|
+
Pr.innerHTML = `
|
|
10651
10651
|
<style>
|
|
10652
10652
|
:host {
|
|
10653
10653
|
--vaadin-infinite-scroller-item-height: 270px;
|
|
@@ -10660,12 +10660,12 @@ Cr.innerHTML = `
|
|
|
10660
10660
|
}
|
|
10661
10661
|
</style>
|
|
10662
10662
|
`;
|
|
10663
|
-
class
|
|
10663
|
+
class Kc extends Cr {
|
|
10664
10664
|
static get is() {
|
|
10665
10665
|
return "vaadin-date-picker-month-scroller";
|
|
10666
10666
|
}
|
|
10667
10667
|
constructor() {
|
|
10668
|
-
super(), this.bufferSize = 3, this.shadowRoot.appendChild(
|
|
10668
|
+
super(), this.bufferSize = 3, this.shadowRoot.appendChild(Pr.content.cloneNode(!0));
|
|
10669
10669
|
}
|
|
10670
10670
|
/**
|
|
10671
10671
|
* @protected
|
|
@@ -10681,17 +10681,17 @@ class qc extends Ar {
|
|
|
10681
10681
|
* @override
|
|
10682
10682
|
*/
|
|
10683
10683
|
_updateElement(t, e) {
|
|
10684
|
-
t.month =
|
|
10684
|
+
t.month = Sr(e);
|
|
10685
10685
|
}
|
|
10686
10686
|
}
|
|
10687
|
-
ve(
|
|
10687
|
+
ve(Kc);
|
|
10688
10688
|
/**
|
|
10689
10689
|
* @license
|
|
10690
10690
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10691
10691
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10692
10692
|
*/
|
|
10693
|
-
const
|
|
10694
|
-
|
|
10693
|
+
const kr = document.createElement("template");
|
|
10694
|
+
kr.innerHTML = `
|
|
10695
10695
|
<style>
|
|
10696
10696
|
:host {
|
|
10697
10697
|
--vaadin-infinite-scroller-item-height: 80px;
|
|
@@ -10726,12 +10726,12 @@ Pr.innerHTML = `
|
|
|
10726
10726
|
}
|
|
10727
10727
|
</style>
|
|
10728
10728
|
`;
|
|
10729
|
-
class
|
|
10729
|
+
class Gc extends Cr {
|
|
10730
10730
|
static get is() {
|
|
10731
10731
|
return "vaadin-date-picker-year-scroller";
|
|
10732
10732
|
}
|
|
10733
10733
|
constructor() {
|
|
10734
|
-
super(), this.bufferSize = 12, this.shadowRoot.appendChild(
|
|
10734
|
+
super(), this.bufferSize = 12, this.shadowRoot.appendChild(kr.content.cloneNode(!0));
|
|
10735
10735
|
}
|
|
10736
10736
|
/**
|
|
10737
10737
|
* @protected
|
|
@@ -10755,13 +10755,13 @@ class Kc extends Ar {
|
|
|
10755
10755
|
return i.setFullYear(parseInt(t) + e.getFullYear()), i.getFullYear();
|
|
10756
10756
|
}
|
|
10757
10757
|
}
|
|
10758
|
-
ve(
|
|
10758
|
+
ve(Gc);
|
|
10759
10759
|
/**
|
|
10760
10760
|
* @license
|
|
10761
10761
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10762
10762
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10763
10763
|
*/
|
|
10764
|
-
const
|
|
10764
|
+
const Jc = (o) => class extends o {
|
|
10765
10765
|
static get properties() {
|
|
10766
10766
|
return {
|
|
10767
10767
|
year: {
|
|
@@ -10787,7 +10787,7 @@ const Gc = (o) => class extends o {
|
|
|
10787
10787
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10788
10788
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10789
10789
|
*/
|
|
10790
|
-
class
|
|
10790
|
+
class Xc extends Ve(Jc(Fe)) {
|
|
10791
10791
|
static get is() {
|
|
10792
10792
|
return "vaadin-date-picker-year";
|
|
10793
10793
|
}
|
|
@@ -10804,7 +10804,7 @@ class Jc extends Ve(Gc(Fe)) {
|
|
|
10804
10804
|
`;
|
|
10805
10805
|
}
|
|
10806
10806
|
}
|
|
10807
|
-
ve(
|
|
10807
|
+
ve(Xc);
|
|
10808
10808
|
/**
|
|
10809
10809
|
@license
|
|
10810
10810
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -10844,7 +10844,7 @@ const co = W((o) => {
|
|
|
10844
10844
|
}
|
|
10845
10845
|
}
|
|
10846
10846
|
return t;
|
|
10847
|
-
}),
|
|
10847
|
+
}), Zc = W((o) => {
|
|
10848
10848
|
class t extends o {
|
|
10849
10849
|
/** @nocollapse */
|
|
10850
10850
|
static get properties() {
|
|
@@ -10901,13 +10901,13 @@ Hi.prototype = Object.create(HTMLTemplateElement.prototype, {
|
|
|
10901
10901
|
writable: !0
|
|
10902
10902
|
}
|
|
10903
10903
|
});
|
|
10904
|
-
const
|
|
10905
|
-
function
|
|
10904
|
+
const Dr = Xi(Hi), Qc = co(Dr);
|
|
10905
|
+
function eu(o, t) {
|
|
10906
10906
|
Bi = o, Object.setPrototypeOf(o, t.prototype), new t(), Bi = null;
|
|
10907
10907
|
}
|
|
10908
|
-
const
|
|
10908
|
+
const tu = Xi(class {
|
|
10909
10909
|
});
|
|
10910
|
-
function
|
|
10910
|
+
function iu(o, t) {
|
|
10911
10911
|
for (let e = 0; e < t.length; e++) {
|
|
10912
10912
|
let i = t[e];
|
|
10913
10913
|
if (!!o != !!i.__hideTemplateChildren__)
|
|
@@ -10925,7 +10925,7 @@ function tu(o, t) {
|
|
|
10925
10925
|
i.__hideTemplateChildren__ = o, i._showHideChildren && i._showHideChildren(o);
|
|
10926
10926
|
}
|
|
10927
10927
|
}
|
|
10928
|
-
class Ne extends
|
|
10928
|
+
class Ne extends tu {
|
|
10929
10929
|
constructor(t) {
|
|
10930
10930
|
super(), this._configureProperties(t), this.root = this._stampTemplate(this.__dataHost);
|
|
10931
10931
|
let e = [];
|
|
@@ -10994,7 +10994,7 @@ class Ne extends eu {
|
|
|
10994
10994
|
* @protected
|
|
10995
10995
|
*/
|
|
10996
10996
|
_showHideChildren(t) {
|
|
10997
|
-
|
|
10997
|
+
iu(t, this.children);
|
|
10998
10998
|
}
|
|
10999
10999
|
/**
|
|
11000
11000
|
* Overrides default property-effects implementation to intercept
|
|
@@ -11047,31 +11047,31 @@ Ne.prototype.__templatizeOptions;
|
|
|
11047
11047
|
Ne.prototype._methodHost;
|
|
11048
11048
|
Ne.prototype.__templatizeOwner;
|
|
11049
11049
|
Ne.prototype.__hostProps;
|
|
11050
|
-
const
|
|
11050
|
+
const ou = co(
|
|
11051
11051
|
// This cast shouldn't be neccessary, but Closure doesn't understand that
|
|
11052
11052
|
// TemplateInstanceBase is a constructor function.
|
|
11053
11053
|
/** @type {function(new:TemplateInstanceBase)} */
|
|
11054
11054
|
Ne
|
|
11055
11055
|
);
|
|
11056
|
-
function
|
|
11056
|
+
function es(o) {
|
|
11057
11057
|
let t = o.__dataHost;
|
|
11058
11058
|
return t && t._methodHost || t;
|
|
11059
11059
|
}
|
|
11060
|
-
function
|
|
11061
|
-
let i = e.mutableData ?
|
|
11062
|
-
|
|
11060
|
+
function su(o, t, e) {
|
|
11061
|
+
let i = e.mutableData ? ou : Ne;
|
|
11062
|
+
$i.mixin && (i = $i.mixin(i));
|
|
11063
11063
|
let s = class extends i {
|
|
11064
11064
|
};
|
|
11065
|
-
return s.prototype.__templatizeOptions = e, s.prototype._bindTemplate(o),
|
|
11065
|
+
return s.prototype.__templatizeOptions = e, s.prototype._bindTemplate(o), au(s, o, t, e), s;
|
|
11066
11066
|
}
|
|
11067
|
-
function
|
|
11067
|
+
function ru(o, t, e, i) {
|
|
11068
11068
|
let s = e.forwardHostProp;
|
|
11069
11069
|
if (s && t.hasHostProps) {
|
|
11070
11070
|
const r = o.localName == "template";
|
|
11071
11071
|
let n = t.templatizeTemplateClass;
|
|
11072
11072
|
if (!n) {
|
|
11073
11073
|
if (r) {
|
|
11074
|
-
let l = e.mutableData ?
|
|
11074
|
+
let l = e.mutableData ? Qc : Dr;
|
|
11075
11075
|
class c extends l {
|
|
11076
11076
|
}
|
|
11077
11077
|
n = t.templatizeTemplateClass = c;
|
|
@@ -11086,12 +11086,12 @@ function su(o, t, e, i) {
|
|
|
11086
11086
|
n.prototype._addPropertyEffect(
|
|
11087
11087
|
"_host_" + l,
|
|
11088
11088
|
n.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE,
|
|
11089
|
-
{ fn:
|
|
11089
|
+
{ fn: nu(l, s) }
|
|
11090
11090
|
), n.prototype._createNotifyingProperty("_host_" + l);
|
|
11091
|
-
|
|
11091
|
+
Fs && i && uu(t, e, i);
|
|
11092
11092
|
}
|
|
11093
11093
|
if (o.__dataProto && Object.assign(o.__data, o.__dataProto), r)
|
|
11094
|
-
|
|
11094
|
+
eu(o, n), o.__dataTemp = {}, o.__dataPending = null, o.__dataOld = null, o._enableProperties();
|
|
11095
11095
|
else {
|
|
11096
11096
|
Object.setPrototypeOf(o, n.prototype);
|
|
11097
11097
|
const a = t.hostProps;
|
|
@@ -11103,7 +11103,7 @@ function su(o, t, e, i) {
|
|
|
11103
11103
|
}
|
|
11104
11104
|
}
|
|
11105
11105
|
}
|
|
11106
|
-
function
|
|
11106
|
+
function nu(o, t) {
|
|
11107
11107
|
return function(i, s, r) {
|
|
11108
11108
|
t.call(
|
|
11109
11109
|
i.__templatizeOwner,
|
|
@@ -11112,7 +11112,7 @@ function ru(o, t) {
|
|
|
11112
11112
|
);
|
|
11113
11113
|
};
|
|
11114
11114
|
}
|
|
11115
|
-
function
|
|
11115
|
+
function au(o, t, e, i) {
|
|
11116
11116
|
let s = e.hostProps || {};
|
|
11117
11117
|
for (let r in i.instanceProps) {
|
|
11118
11118
|
delete s[r];
|
|
@@ -11120,7 +11120,7 @@ function nu(o, t, e, i) {
|
|
|
11120
11120
|
n && o.prototype._addPropertyEffect(
|
|
11121
11121
|
r,
|
|
11122
11122
|
o.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,
|
|
11123
|
-
{ fn:
|
|
11123
|
+
{ fn: lu(r, n) }
|
|
11124
11124
|
);
|
|
11125
11125
|
}
|
|
11126
11126
|
if (i.forwardHostProp && t.__dataHost)
|
|
@@ -11128,10 +11128,10 @@ function nu(o, t, e, i) {
|
|
|
11128
11128
|
e.hasHostProps || (e.hasHostProps = !0), o.prototype._addPropertyEffect(
|
|
11129
11129
|
r,
|
|
11130
11130
|
o.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,
|
|
11131
|
-
{ fn:
|
|
11131
|
+
{ fn: cu() }
|
|
11132
11132
|
);
|
|
11133
11133
|
}
|
|
11134
|
-
function
|
|
11134
|
+
function lu(o, t) {
|
|
11135
11135
|
return function(i, s, r) {
|
|
11136
11136
|
t.call(
|
|
11137
11137
|
i.__templatizeOwner,
|
|
@@ -11141,22 +11141,22 @@ function au(o, t) {
|
|
|
11141
11141
|
);
|
|
11142
11142
|
};
|
|
11143
11143
|
}
|
|
11144
|
-
function
|
|
11144
|
+
function cu() {
|
|
11145
11145
|
return function(t, e, i) {
|
|
11146
11146
|
t.__dataHost._setPendingPropertyOrPath("_host_" + e, i[e], !0, !0);
|
|
11147
11147
|
};
|
|
11148
11148
|
}
|
|
11149
|
-
function
|
|
11150
|
-
if (
|
|
11149
|
+
function $i(o, t, e) {
|
|
11150
|
+
if ($t && !es(o))
|
|
11151
11151
|
throw new Error("strictTemplatePolicy: template owner not trusted");
|
|
11152
11152
|
if (e = /** @type {!TemplatizeOptions} */
|
|
11153
11153
|
e || {}, o.__templatizeOwner)
|
|
11154
11154
|
throw new Error("A <template> can only be templatized once");
|
|
11155
11155
|
o.__templatizeOwner = t;
|
|
11156
11156
|
let s = (t ? t.constructor : Ne)._parseTemplate(o), r = s.templatizeInstanceClass;
|
|
11157
|
-
r || (r =
|
|
11158
|
-
const n =
|
|
11159
|
-
|
|
11157
|
+
r || (r = su(o, s, e), s.templatizeInstanceClass = r);
|
|
11158
|
+
const n = es(o);
|
|
11159
|
+
ru(o, s, e, n);
|
|
11160
11160
|
let a = class extends r {
|
|
11161
11161
|
};
|
|
11162
11162
|
return a.prototype._methodHost = n, a.prototype.__dataHost = /** @type {!DataTemplate} */
|
|
@@ -11164,7 +11164,7 @@ function Yi(o, t, e) {
|
|
|
11164
11164
|
t, a.prototype.__hostProps = s.hostProps, a = /** @type {function(new:TemplateInstanceBase)} */
|
|
11165
11165
|
a, a;
|
|
11166
11166
|
}
|
|
11167
|
-
function
|
|
11167
|
+
function uu(o, t, e) {
|
|
11168
11168
|
const i = e.constructor._properties, { propertyEffects: s } = o, { instanceProps: r } = t;
|
|
11169
11169
|
for (let n in s)
|
|
11170
11170
|
if (!i[n] && !(r && r[n])) {
|
|
@@ -11178,7 +11178,7 @@ function cu(o, t, e) {
|
|
|
11178
11178
|
}
|
|
11179
11179
|
}
|
|
11180
11180
|
}
|
|
11181
|
-
function
|
|
11181
|
+
function du(o, t) {
|
|
11182
11182
|
let e;
|
|
11183
11183
|
for (; t; )
|
|
11184
11184
|
if (e = t.__dataHost ? t : t.__templatizeInstance)
|
|
@@ -11199,11 +11199,11 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11199
11199
|
Code distributed by Google as part of the polymer project is also
|
|
11200
11200
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11201
11201
|
*/
|
|
11202
|
-
let
|
|
11203
|
-
function
|
|
11204
|
-
if (
|
|
11205
|
-
if (!
|
|
11206
|
-
|
|
11202
|
+
let ts = !1;
|
|
11203
|
+
function hu() {
|
|
11204
|
+
if (Is && !Os) {
|
|
11205
|
+
if (!ts) {
|
|
11206
|
+
ts = !0;
|
|
11207
11207
|
const o = document.createElement("style");
|
|
11208
11208
|
o.textContent = "dom-bind,dom-if,dom-repeat{display:none;}", document.head.appendChild(o);
|
|
11209
11209
|
}
|
|
@@ -11220,8 +11220,8 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11220
11220
|
Code distributed by Google as part of the polymer project is also
|
|
11221
11221
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11222
11222
|
*/
|
|
11223
|
-
const
|
|
11224
|
-
class
|
|
11223
|
+
const pu = Zc(Fe);
|
|
11224
|
+
class is extends pu {
|
|
11225
11225
|
// Not needed to find template; can be removed once the analyzer
|
|
11226
11226
|
// can find the tag name from customElements.define call
|
|
11227
11227
|
static get is() {
|
|
@@ -11316,7 +11316,7 @@ class ts extends hu {
|
|
|
11316
11316
|
*/
|
|
11317
11317
|
renderedItemCount: {
|
|
11318
11318
|
type: Number,
|
|
11319
|
-
notify: !
|
|
11319
|
+
notify: !ko,
|
|
11320
11320
|
readOnly: !0
|
|
11321
11321
|
},
|
|
11322
11322
|
/**
|
|
@@ -11399,7 +11399,7 @@ class ts extends hu {
|
|
|
11399
11399
|
* @return {void}
|
|
11400
11400
|
*/
|
|
11401
11401
|
connectedCallback() {
|
|
11402
|
-
if (super.connectedCallback(),
|
|
11402
|
+
if (super.connectedCallback(), hu() || (this.style.display = "none"), this.__isDetached) {
|
|
11403
11403
|
this.__isDetached = !1;
|
|
11404
11404
|
let t = J(J(this).parentNode);
|
|
11405
11405
|
for (let e = 0; e < this.__instances.length; e++)
|
|
@@ -11428,7 +11428,7 @@ class ts extends hu {
|
|
|
11428
11428
|
return s.observe(this, { childList: !0 }), !1;
|
|
11429
11429
|
}
|
|
11430
11430
|
let i = {};
|
|
11431
|
-
i[this.as] = !0, i[this.indexAs] = !0, i[this.itemsIndexAs] = !0, this.__ctor =
|
|
11431
|
+
i[this.as] = !0, i[this.indexAs] = !0, i[this.itemsIndexAs] = !0, this.__ctor = $i(e, this, {
|
|
11432
11432
|
mutableData: this.mutableData,
|
|
11433
11433
|
parentModel: !0,
|
|
11434
11434
|
instanceProps: i,
|
|
@@ -11449,7 +11449,7 @@ class ts extends hu {
|
|
|
11449
11449
|
* @param {*} value Value to notify
|
|
11450
11450
|
*/
|
|
11451
11451
|
notifyInstanceProp: function(s, r, n) {
|
|
11452
|
-
if (
|
|
11452
|
+
if (ga(this.as, r)) {
|
|
11453
11453
|
let a = s[this.itemsIndexAs];
|
|
11454
11454
|
r == this.as && (this.items[a] = n);
|
|
11455
11455
|
let l = wt(this.as, `${JSCompiler_renameProperty("items", this)}.${a}`, r);
|
|
@@ -11505,9 +11505,9 @@ class ts extends hu {
|
|
|
11505
11505
|
__debounceRender(t, e = 0) {
|
|
11506
11506
|
this.__renderDebouncer = Ut.debounce(
|
|
11507
11507
|
this.__renderDebouncer,
|
|
11508
|
-
e > 0 ?
|
|
11508
|
+
e > 0 ? Ea.after(e) : Vs,
|
|
11509
11509
|
t.bind(this)
|
|
11510
|
-
),
|
|
11510
|
+
), Wc(this.__renderDebouncer);
|
|
11511
11511
|
}
|
|
11512
11512
|
/**
|
|
11513
11513
|
* Forces the element to render its content. Normally rendering is
|
|
@@ -11527,7 +11527,7 @@ class ts extends hu {
|
|
|
11527
11527
|
const e = this.__sortAndFilterItems(t), i = this.__calculateLimit(e.length);
|
|
11528
11528
|
this.__updateInstances(t, i, e), this.initialCount && (this.__shouldMeasureChunk || this.__shouldContinueChunking) && (cancelAnimationFrame(this.__chunkingId), this.__chunkingId = requestAnimationFrame(() => {
|
|
11529
11529
|
this.__chunkingId = null, this.__continueChunking();
|
|
11530
|
-
})), this._setRenderedItemCount(this.__instances.length), (!
|
|
11530
|
+
})), this._setRenderedItemCount(this.__instances.length), (!ko || this.notifyDomChange) && this.dispatchEvent(new CustomEvent("dom-change", {
|
|
11531
11531
|
bubbles: !0,
|
|
11532
11532
|
composed: !0
|
|
11533
11533
|
}));
|
|
@@ -11667,16 +11667,16 @@ class ts extends hu {
|
|
|
11667
11667
|
* the element.
|
|
11668
11668
|
*/
|
|
11669
11669
|
modelForElement(t) {
|
|
11670
|
-
return
|
|
11670
|
+
return du(this.template, t);
|
|
11671
11671
|
}
|
|
11672
11672
|
}
|
|
11673
|
-
customElements.define(
|
|
11673
|
+
customElements.define(is.is, is);
|
|
11674
11674
|
/**
|
|
11675
11675
|
* @license
|
|
11676
11676
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11677
11677
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11678
11678
|
*/
|
|
11679
|
-
const
|
|
11679
|
+
const fu = (o) => class extends ro(o) {
|
|
11680
11680
|
static get properties() {
|
|
11681
11681
|
return {
|
|
11682
11682
|
/**
|
|
@@ -11874,7 +11874,7 @@ const pu = (o) => class extends ro(o) {
|
|
|
11874
11874
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11875
11875
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11876
11876
|
*/
|
|
11877
|
-
const
|
|
11877
|
+
const mu = P`
|
|
11878
11878
|
:host {
|
|
11879
11879
|
display: block;
|
|
11880
11880
|
}
|
|
@@ -11936,10 +11936,10 @@ const fu = P`
|
|
|
11936
11936
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11937
11937
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11938
11938
|
*/
|
|
11939
|
-
L("vaadin-month-calendar",
|
|
11939
|
+
L("vaadin-month-calendar", mu, {
|
|
11940
11940
|
moduleId: "vaadin-month-calendar-styles"
|
|
11941
11941
|
});
|
|
11942
|
-
class
|
|
11942
|
+
class _u extends fu(Ve(Fe)) {
|
|
11943
11943
|
static get template() {
|
|
11944
11944
|
return We`
|
|
11945
11945
|
<div part="month-header" id="month-header" aria-hidden="true">[[_getTitle(month, i18n)]]</div>
|
|
@@ -12047,13 +12047,13 @@ class mu extends pu(Ve(Fe)) {
|
|
|
12047
12047
|
return this.__isDayFocused(t, e) ? "0" : "-1";
|
|
12048
12048
|
}
|
|
12049
12049
|
}
|
|
12050
|
-
ve(
|
|
12050
|
+
ve(_u);
|
|
12051
12051
|
/**
|
|
12052
12052
|
* @license
|
|
12053
12053
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12054
12054
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12055
12055
|
*/
|
|
12056
|
-
class
|
|
12056
|
+
class Tr {
|
|
12057
12057
|
constructor(t, e) {
|
|
12058
12058
|
this.query = t, this.callback = e, this._boundQueryHandler = this._queryHandler.bind(this);
|
|
12059
12059
|
}
|
|
@@ -12081,7 +12081,7 @@ class Dr {
|
|
|
12081
12081
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12082
12082
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12083
12083
|
*/
|
|
12084
|
-
const
|
|
12084
|
+
const gu = (o) => class extends o {
|
|
12085
12085
|
static get properties() {
|
|
12086
12086
|
return {
|
|
12087
12087
|
scrollDuration: {
|
|
@@ -12209,7 +12209,7 @@ const _u = (o) => class extends o {
|
|
|
12209
12209
|
}
|
|
12210
12210
|
/** @protected */
|
|
12211
12211
|
_addListeners() {
|
|
12212
|
-
|
|
12212
|
+
yr(this.$.scrollers, "pan-y"), be(this.$.scrollers, "track", this._track.bind(this)), be(this.shadowRoot.querySelector('[part="clear-button"]'), "tap", this._clear.bind(this)), be(this.shadowRoot.querySelector('[part="toggle-button"]'), "tap", this._cancel.bind(this)), be(
|
|
12213
12213
|
this.shadowRoot.querySelector('[part="years-toggle-button"]'),
|
|
12214
12214
|
"tap",
|
|
12215
12215
|
this._toggleYearScroller.bind(this)
|
|
@@ -12218,7 +12218,7 @@ const _u = (o) => class extends o {
|
|
|
12218
12218
|
/** @protected */
|
|
12219
12219
|
_initControllers() {
|
|
12220
12220
|
this.addController(
|
|
12221
|
-
new
|
|
12221
|
+
new Tr(this._desktopMediaQuery, (e) => {
|
|
12222
12222
|
this._desktopMode = e;
|
|
12223
12223
|
})
|
|
12224
12224
|
), this.addController(
|
|
@@ -12527,7 +12527,7 @@ const _u = (o) => class extends o {
|
|
|
12527
12527
|
}
|
|
12528
12528
|
/** @private */
|
|
12529
12529
|
_yearAfterXMonths(e) {
|
|
12530
|
-
return
|
|
12530
|
+
return Sr(e).getFullYear();
|
|
12531
12531
|
}
|
|
12532
12532
|
/** @private */
|
|
12533
12533
|
_differenceInMonths(e, i) {
|
|
@@ -12635,7 +12635,7 @@ const _u = (o) => class extends o {
|
|
|
12635
12635
|
focusDateElement(e = !0) {
|
|
12636
12636
|
return nt(this, null, function* () {
|
|
12637
12637
|
this.__pendingDateFocus = this.focusedDate, this.calendars.length || (yield new Promise((i) => {
|
|
12638
|
-
|
|
12638
|
+
ar(this, () => {
|
|
12639
12639
|
ao(), i();
|
|
12640
12640
|
});
|
|
12641
12641
|
})), e && this.revealDate(this.focusedDate), this._revealPromise && (yield this._revealPromise), this.__tryFocusDate();
|
|
@@ -12643,7 +12643,7 @@ const _u = (o) => class extends o {
|
|
|
12643
12643
|
}
|
|
12644
12644
|
/** @private */
|
|
12645
12645
|
_focusClosestDate(e) {
|
|
12646
|
-
this.focusDate(
|
|
12646
|
+
this.focusDate(Er(e, [this.minDate, this.maxDate]));
|
|
12647
12647
|
}
|
|
12648
12648
|
/** @private */
|
|
12649
12649
|
_focusAllowedDate(e, i, s) {
|
|
@@ -12694,7 +12694,7 @@ const _u = (o) => class extends o {
|
|
|
12694
12694
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12695
12695
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12696
12696
|
*/
|
|
12697
|
-
const
|
|
12697
|
+
const bu = P`
|
|
12698
12698
|
:host {
|
|
12699
12699
|
display: flex;
|
|
12700
12700
|
flex-direction: column;
|
|
@@ -12760,10 +12760,10 @@ const gu = P`
|
|
|
12760
12760
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12761
12761
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12762
12762
|
*/
|
|
12763
|
-
L("vaadin-date-picker-overlay-content",
|
|
12763
|
+
L("vaadin-date-picker-overlay-content", bu, {
|
|
12764
12764
|
moduleId: "vaadin-date-picker-overlay-content-styles"
|
|
12765
12765
|
});
|
|
12766
|
-
class
|
|
12766
|
+
class vu extends gu(
|
|
12767
12767
|
rt(Ve(Kt(Fe)))
|
|
12768
12768
|
) {
|
|
12769
12769
|
static get template() {
|
|
@@ -12797,14 +12797,14 @@ class bu extends _u(
|
|
|
12797
12797
|
super.ready(), this.setAttribute("role", "dialog"), this._addListeners(), this._initControllers();
|
|
12798
12798
|
}
|
|
12799
12799
|
}
|
|
12800
|
-
ve(
|
|
12800
|
+
ve(vu);
|
|
12801
12801
|
/**
|
|
12802
12802
|
* @license
|
|
12803
12803
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12804
12804
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12805
12805
|
*/
|
|
12806
|
-
const
|
|
12807
|
-
(o) => class extends ro(
|
|
12806
|
+
const Mr = W(
|
|
12807
|
+
(o) => class extends ro(wr(o)) {
|
|
12808
12808
|
static get properties() {
|
|
12809
12809
|
return {
|
|
12810
12810
|
/**
|
|
@@ -12961,14 +12961,14 @@ const Tr = W(
|
|
|
12961
12961
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12962
12962
|
*/
|
|
12963
12963
|
const mi = /* @__PURE__ */ new WeakMap();
|
|
12964
|
-
function
|
|
12964
|
+
function yu(o) {
|
|
12965
12965
|
return mi.has(o) || mi.set(o, /* @__PURE__ */ new Set()), mi.get(o);
|
|
12966
12966
|
}
|
|
12967
|
-
function
|
|
12967
|
+
function xu(o, t) {
|
|
12968
12968
|
const e = document.createElement("style");
|
|
12969
12969
|
e.textContent = o, t === document ? document.head.appendChild(e) : t.insertBefore(e, t.firstChild);
|
|
12970
12970
|
}
|
|
12971
|
-
const
|
|
12971
|
+
const wu = W(
|
|
12972
12972
|
(o) => class extends o {
|
|
12973
12973
|
/**
|
|
12974
12974
|
* List of styles to insert into root.
|
|
@@ -12983,9 +12983,9 @@ const xu = W(
|
|
|
12983
12983
|
}
|
|
12984
12984
|
/** @private */
|
|
12985
12985
|
__applySlotStyles() {
|
|
12986
|
-
const e = this.getRootNode(), i =
|
|
12986
|
+
const e = this.getRootNode(), i = yu(e);
|
|
12987
12987
|
this.slotStyles.forEach((s) => {
|
|
12988
|
-
i.has(s) || (
|
|
12988
|
+
i.has(s) || (xu(s, e), i.add(s));
|
|
12989
12989
|
});
|
|
12990
12990
|
}
|
|
12991
12991
|
}
|
|
@@ -12995,7 +12995,7 @@ const xu = W(
|
|
|
12995
12995
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12996
12996
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12997
12997
|
*/
|
|
12998
|
-
const
|
|
12998
|
+
const Or = W(
|
|
12999
12999
|
(o) => class extends o {
|
|
13000
13000
|
static get properties() {
|
|
13001
13001
|
return {
|
|
@@ -13199,7 +13199,7 @@ const Mr = W(
|
|
|
13199
13199
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13200
13200
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13201
13201
|
*/
|
|
13202
|
-
const
|
|
13202
|
+
const Eu = (o) => class extends Or(Xt(o)) {
|
|
13203
13203
|
static get properties() {
|
|
13204
13204
|
return {
|
|
13205
13205
|
/**
|
|
@@ -13278,10 +13278,10 @@ const _i = /* @__PURE__ */ new Map();
|
|
|
13278
13278
|
function uo(o) {
|
|
13279
13279
|
return _i.has(o) || _i.set(o, /* @__PURE__ */ new WeakMap()), _i.get(o);
|
|
13280
13280
|
}
|
|
13281
|
-
function
|
|
13281
|
+
function Ir(o, t) {
|
|
13282
13282
|
o && o.removeAttribute(t);
|
|
13283
13283
|
}
|
|
13284
|
-
function
|
|
13284
|
+
function Fr(o, t) {
|
|
13285
13285
|
if (!o || !t)
|
|
13286
13286
|
return;
|
|
13287
13287
|
const e = uo(t);
|
|
@@ -13290,11 +13290,11 @@ function Ir(o, t) {
|
|
|
13290
13290
|
const i = eo(o.getAttribute(t));
|
|
13291
13291
|
e.set(o, new Set(i));
|
|
13292
13292
|
}
|
|
13293
|
-
function
|
|
13293
|
+
function Su(o, t) {
|
|
13294
13294
|
if (!o || !t)
|
|
13295
13295
|
return;
|
|
13296
13296
|
const e = uo(t), i = e.get(o);
|
|
13297
|
-
!i || i.size === 0 ? o.removeAttribute(t) :
|
|
13297
|
+
!i || i.size === 0 ? o.removeAttribute(t) : dr(o, t, Jt(i)), e.delete(o);
|
|
13298
13298
|
}
|
|
13299
13299
|
function gi(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
13300
13300
|
if (!o || !t)
|
|
@@ -13304,19 +13304,19 @@ function gi(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
|
13304
13304
|
s && a.delete(s), i && a.add(i);
|
|
13305
13305
|
return;
|
|
13306
13306
|
}
|
|
13307
|
-
r && (a ? i || n.delete(o) :
|
|
13307
|
+
r && (a ? i || n.delete(o) : Fr(o, t), Ir(o, t)), Ql(o, t, s);
|
|
13308
13308
|
const l = i || Jt(a);
|
|
13309
|
-
l &&
|
|
13309
|
+
l && dr(o, t, l);
|
|
13310
13310
|
}
|
|
13311
|
-
function
|
|
13312
|
-
|
|
13311
|
+
function Au(o, t) {
|
|
13312
|
+
Fr(o, t), Ir(o, t);
|
|
13313
13313
|
}
|
|
13314
13314
|
/**
|
|
13315
13315
|
* @license
|
|
13316
13316
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13317
13317
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13318
13318
|
*/
|
|
13319
|
-
class
|
|
13319
|
+
class Cu {
|
|
13320
13320
|
constructor(t) {
|
|
13321
13321
|
this.host = t, this.__required = !1;
|
|
13322
13322
|
}
|
|
@@ -13389,7 +13389,7 @@ class Au {
|
|
|
13389
13389
|
* @private
|
|
13390
13390
|
* */
|
|
13391
13391
|
__setAriaLabelToAttribute(t) {
|
|
13392
|
-
this.__target && (t ? (
|
|
13392
|
+
this.__target && (t ? (Au(this.__target, "aria-labelledby"), this.__target.setAttribute("aria-label", t)) : this.__label && (Su(this.__target, "aria-labelledby"), this.__target.removeAttribute("aria-label")));
|
|
13393
13393
|
}
|
|
13394
13394
|
/**
|
|
13395
13395
|
* @param {string | null | undefined} labelId
|
|
@@ -13435,9 +13435,9 @@ me.style.clip = "rect(0px, 0px, 0px, 0px)";
|
|
|
13435
13435
|
me.setAttribute("aria-live", "polite");
|
|
13436
13436
|
document.body.appendChild(me);
|
|
13437
13437
|
let Ft;
|
|
13438
|
-
function
|
|
13438
|
+
function Pu(o, t = {}) {
|
|
13439
13439
|
const e = t.mode || "polite", i = t.timeout === void 0 ? 150 : t.timeout;
|
|
13440
|
-
e === "alert" ? (me.removeAttribute("aria-live"), me.removeAttribute("role"), Ft = it.debounce(Ft,
|
|
13440
|
+
e === "alert" ? (me.removeAttribute("aria-live"), me.removeAttribute("role"), Ft = it.debounce(Ft, mc, () => {
|
|
13441
13441
|
me.setAttribute("role", "alert");
|
|
13442
13442
|
})) : (Ft && Ft.cancel(), me.removeAttribute("role"), me.setAttribute("aria-live", e)), me.textContent = "", setTimeout(() => {
|
|
13443
13443
|
me.textContent = o;
|
|
@@ -13563,7 +13563,7 @@ class ho extends Be {
|
|
|
13563
13563
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13564
13564
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13565
13565
|
*/
|
|
13566
|
-
class
|
|
13566
|
+
class ku extends ho {
|
|
13567
13567
|
constructor(t) {
|
|
13568
13568
|
super(t, "error-message", "div");
|
|
13569
13569
|
}
|
|
@@ -13637,7 +13637,7 @@ class Pu extends ho {
|
|
|
13637
13637
|
*/
|
|
13638
13638
|
updateDefaultNode(t) {
|
|
13639
13639
|
const { errorMessage: e, invalid: i } = this, s = !!(i && e && e.trim() !== "");
|
|
13640
|
-
t && (t.textContent = s ? e : "", t.hidden = !s, s &&
|
|
13640
|
+
t && (t.textContent = s ? e : "", t.hidden = !s, s && Pu(e, { mode: "assertive" })), super.updateDefaultNode(t);
|
|
13641
13641
|
}
|
|
13642
13642
|
}
|
|
13643
13643
|
/**
|
|
@@ -13645,7 +13645,7 @@ class Pu extends ho {
|
|
|
13645
13645
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13646
13646
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13647
13647
|
*/
|
|
13648
|
-
class
|
|
13648
|
+
class Du extends ho {
|
|
13649
13649
|
constructor(t) {
|
|
13650
13650
|
super(t, "helper", null);
|
|
13651
13651
|
}
|
|
@@ -13700,7 +13700,7 @@ class ku extends ho {
|
|
|
13700
13700
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13701
13701
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13702
13702
|
*/
|
|
13703
|
-
class
|
|
13703
|
+
class Tu extends ho {
|
|
13704
13704
|
constructor(t) {
|
|
13705
13705
|
super(t, "label", "label");
|
|
13706
13706
|
}
|
|
@@ -13753,7 +13753,7 @@ class Du extends ho {
|
|
|
13753
13753
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13754
13754
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13755
13755
|
*/
|
|
13756
|
-
const
|
|
13756
|
+
const Mu = W(
|
|
13757
13757
|
(o) => class extends rt(o) {
|
|
13758
13758
|
static get properties() {
|
|
13759
13759
|
return {
|
|
@@ -13768,7 +13768,7 @@ const Tu = W(
|
|
|
13768
13768
|
};
|
|
13769
13769
|
}
|
|
13770
13770
|
constructor() {
|
|
13771
|
-
super(), this._labelController = new
|
|
13771
|
+
super(), this._labelController = new Tu(this), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
13772
13772
|
this.toggleAttribute("has-label", e.detail.hasContent);
|
|
13773
13773
|
});
|
|
13774
13774
|
}
|
|
@@ -13796,7 +13796,7 @@ const Tu = W(
|
|
|
13796
13796
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13797
13797
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13798
13798
|
*/
|
|
13799
|
-
const
|
|
13799
|
+
const Nr = W(
|
|
13800
13800
|
(o) => class extends o {
|
|
13801
13801
|
static get properties() {
|
|
13802
13802
|
return {
|
|
@@ -13868,7 +13868,7 @@ const Fr = W(
|
|
|
13868
13868
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13869
13869
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13870
13870
|
*/
|
|
13871
|
-
const
|
|
13871
|
+
const Ou = (o) => class extends Nr(Mu(rt(o))) {
|
|
13872
13872
|
static get properties() {
|
|
13873
13873
|
return {
|
|
13874
13874
|
/**
|
|
@@ -13918,7 +13918,7 @@ const Mu = (o) => class extends Fr(Tu(rt(o))) {
|
|
|
13918
13918
|
return ["_invalidChanged(invalid)", "_requiredChanged(required)"];
|
|
13919
13919
|
}
|
|
13920
13920
|
constructor() {
|
|
13921
|
-
super(), this._fieldAriaController = new
|
|
13921
|
+
super(), this._fieldAriaController = new Cu(this), this._helperController = new Du(this), this._errorController = new ku(this), this._errorController.addEventListener("slot-content-changed", (e) => {
|
|
13922
13922
|
this.toggleAttribute("has-error-message", e.detail.hasContent);
|
|
13923
13923
|
}), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
13924
13924
|
const { hasContent: i, node: s } = e.detail;
|
|
@@ -14009,7 +14009,7 @@ const Mu = (o) => class extends Fr(Tu(rt(o))) {
|
|
|
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
|
|
14012
|
+
const Iu = W(
|
|
14013
14013
|
(o) => class extends o {
|
|
14014
14014
|
static get properties() {
|
|
14015
14015
|
return {
|
|
@@ -14090,8 +14090,8 @@ const Ou = W(
|
|
|
14090
14090
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14091
14091
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14092
14092
|
*/
|
|
14093
|
-
const
|
|
14094
|
-
(o) => class extends
|
|
14093
|
+
const zr = W(
|
|
14094
|
+
(o) => class extends Iu(Nr(Or(o))) {
|
|
14095
14095
|
/**
|
|
14096
14096
|
* An array of attributes which participate in the input validation.
|
|
14097
14097
|
* Changing these attributes will cause the input to re-validate.
|
|
@@ -14175,8 +14175,8 @@ const Nr = W(
|
|
|
14175
14175
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14176
14176
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14177
14177
|
*/
|
|
14178
|
-
const
|
|
14179
|
-
|
|
14178
|
+
const Fu = (o) => class extends wu(
|
|
14179
|
+
Mr(zr(Ou(Eu(Xt(o)))))
|
|
14180
14180
|
) {
|
|
14181
14181
|
static get properties() {
|
|
14182
14182
|
return {
|
|
@@ -14362,7 +14362,7 @@ const Iu = (o) => class extends xu(
|
|
|
14362
14362
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14363
14363
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14364
14364
|
*/
|
|
14365
|
-
class
|
|
14365
|
+
class Nu extends Be {
|
|
14366
14366
|
constructor(t, e, i = {}) {
|
|
14367
14367
|
const { uniqueIdPrefix: s } = i;
|
|
14368
14368
|
super(t, "input", "input", {
|
|
@@ -14379,7 +14379,7 @@ class Fu extends Be {
|
|
|
14379
14379
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14380
14380
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14381
14381
|
*/
|
|
14382
|
-
class
|
|
14382
|
+
class zu {
|
|
14383
14383
|
constructor(t, e) {
|
|
14384
14384
|
this.input = t, this.__preventDuplicateLabelClick = this.__preventDuplicateLabelClick.bind(this), e.addEventListener("slot-content-changed", (i) => {
|
|
14385
14385
|
this.__initLabel(i.detail.node);
|
|
@@ -14412,7 +14412,7 @@ class Nu {
|
|
|
14412
14412
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14413
14413
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14414
14414
|
*/
|
|
14415
|
-
const
|
|
14415
|
+
const Lu = P`
|
|
14416
14416
|
[part='clear-button'] {
|
|
14417
14417
|
display: none;
|
|
14418
14418
|
cursor: default;
|
|
@@ -14431,7 +14431,7 @@ const zu = P`
|
|
|
14431
14431
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14432
14432
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14433
14433
|
*/
|
|
14434
|
-
const
|
|
14434
|
+
const Ru = P`
|
|
14435
14435
|
:host {
|
|
14436
14436
|
display: inline-flex;
|
|
14437
14437
|
outline: none;
|
|
@@ -14471,7 +14471,7 @@ const Lu = P`
|
|
|
14471
14471
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14472
14472
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14473
14473
|
*/
|
|
14474
|
-
const
|
|
14474
|
+
const Bu = P`
|
|
14475
14475
|
[class$='container'] {
|
|
14476
14476
|
display: flex;
|
|
14477
14477
|
flex-direction: column;
|
|
@@ -14485,13 +14485,13 @@ const Ru = P`
|
|
|
14485
14485
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14486
14486
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14487
14487
|
*/
|
|
14488
|
-
const
|
|
14488
|
+
const Hu = [Ru, Bu, Lu];
|
|
14489
14489
|
/**
|
|
14490
14490
|
* @license
|
|
14491
14491
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
14492
14492
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14493
14493
|
*/
|
|
14494
|
-
const
|
|
14494
|
+
const $u = (o) => class extends o {
|
|
14495
14495
|
static get properties() {
|
|
14496
14496
|
return {
|
|
14497
14497
|
/**
|
|
@@ -14557,8 +14557,8 @@ class Yu {
|
|
|
14557
14557
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
14558
14558
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14559
14559
|
*/
|
|
14560
|
-
const
|
|
14561
|
-
rt(
|
|
14560
|
+
const ju = (o) => class extends $u(
|
|
14561
|
+
rt(Mr(zr(Xt(o))))
|
|
14562
14562
|
) {
|
|
14563
14563
|
static get properties() {
|
|
14564
14564
|
return {
|
|
@@ -14763,7 +14763,7 @@ const $u = (o) => class extends Hu(
|
|
|
14763
14763
|
if (i.length === 3) {
|
|
14764
14764
|
if (n = parseInt(i[0]) - 1, r = parseInt(i[1]), a = parseInt(i[2]), i[2].length < 3 && a >= 0) {
|
|
14765
14765
|
const l = this.referenceDate ? dt(this.referenceDate) : /* @__PURE__ */ new Date();
|
|
14766
|
-
a =
|
|
14766
|
+
a = jc(l, a, n, r);
|
|
14767
14767
|
}
|
|
14768
14768
|
} else
|
|
14769
14769
|
i.length === 2 ? (n = parseInt(i[0]) - 1, r = parseInt(i[1])) : i.length === 1 && (r = parseInt(i[0]));
|
|
@@ -14837,7 +14837,7 @@ const $u = (o) => class extends Hu(
|
|
|
14837
14837
|
/** @private */
|
|
14838
14838
|
_ios: {
|
|
14839
14839
|
type: Boolean,
|
|
14840
|
-
value:
|
|
14840
|
+
value: lr
|
|
14841
14841
|
},
|
|
14842
14842
|
/** @private */
|
|
14843
14843
|
_focusOverlayOnOpen: Boolean,
|
|
@@ -14937,7 +14937,7 @@ const $u = (o) => class extends Hu(
|
|
|
14937
14937
|
/** @protected */
|
|
14938
14938
|
ready() {
|
|
14939
14939
|
super.ready(), this.addEventListener("click", this._boundOnClick), this.addController(
|
|
14940
|
-
new
|
|
14940
|
+
new Tr(this._fullscreenMediaQuery, (i) => {
|
|
14941
14941
|
this._fullscreen = i;
|
|
14942
14942
|
})
|
|
14943
14943
|
), this.addController(new Yu(this));
|
|
@@ -15098,7 +15098,7 @@ const $u = (o) => class extends Hu(
|
|
|
15098
15098
|
}
|
|
15099
15099
|
/** @private */
|
|
15100
15100
|
_formatISO(e) {
|
|
15101
|
-
return
|
|
15101
|
+
return Uc(e);
|
|
15102
15102
|
}
|
|
15103
15103
|
/** @protected */
|
|
15104
15104
|
_inputElementChanged(e) {
|
|
@@ -15164,12 +15164,12 @@ const $u = (o) => class extends Hu(
|
|
|
15164
15164
|
const r = this._nativeInput;
|
|
15165
15165
|
this._noInput && r && (r.blur(), this._overlayContent.focusDateElement());
|
|
15166
15166
|
const n = this._noInput ? e : [r, e];
|
|
15167
|
-
this.__showOthers =
|
|
15167
|
+
this.__showOthers = cr(n);
|
|
15168
15168
|
}
|
|
15169
15169
|
/** @private */
|
|
15170
15170
|
_getInitialPosition() {
|
|
15171
15171
|
const e = dt(this.initialPosition), i = this._selectedDate || this._overlayContent.initialPosition || e || /* @__PURE__ */ new Date();
|
|
15172
|
-
return e || ot(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ?
|
|
15172
|
+
return e || ot(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ? Er(i, [this._minDate, this._maxDate]) : /* @__PURE__ */ new Date();
|
|
15173
15173
|
}
|
|
15174
15174
|
/**
|
|
15175
15175
|
* Tries to parse the input element's value as a date. If the input value
|
|
@@ -15330,7 +15330,7 @@ const $u = (o) => class extends Hu(
|
|
|
15330
15330
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15331
15331
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15332
15332
|
*/
|
|
15333
|
-
const
|
|
15333
|
+
const Vu = P`
|
|
15334
15334
|
:host([opened]) {
|
|
15335
15335
|
pointer-events: auto;
|
|
15336
15336
|
}
|
|
@@ -15349,8 +15349,8 @@ const ju = P`
|
|
|
15349
15349
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15350
15350
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15351
15351
|
*/
|
|
15352
|
-
L("vaadin-date-picker", [
|
|
15353
|
-
class
|
|
15352
|
+
L("vaadin-date-picker", [Hu, Vu], { moduleId: "vaadin-date-picker-styles" });
|
|
15353
|
+
class Uu extends ju(Fu(Ve(fr(Fe)))) {
|
|
15354
15354
|
static get is() {
|
|
15355
15355
|
return "vaadin-date-picker";
|
|
15356
15356
|
}
|
|
@@ -15410,7 +15410,7 @@ class Vu extends $u(Iu(Ve(pr(Fe)))) {
|
|
|
15410
15410
|
/** @protected */
|
|
15411
15411
|
ready() {
|
|
15412
15412
|
super.ready(), this.addController(
|
|
15413
|
-
new
|
|
15413
|
+
new Nu(
|
|
15414
15414
|
this,
|
|
15415
15415
|
(e) => {
|
|
15416
15416
|
this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
|
|
@@ -15422,7 +15422,7 @@ class Vu extends $u(Iu(Ve(pr(Fe)))) {
|
|
|
15422
15422
|
uniqueIdPrefix: "search-input"
|
|
15423
15423
|
}
|
|
15424
15424
|
)
|
|
15425
|
-
), this.addController(new
|
|
15425
|
+
), this.addController(new zu(this.inputElement, this._labelController)), this._tooltipController = new _r(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));
|
|
15426
15426
|
}
|
|
15427
15427
|
/** @private */
|
|
15428
15428
|
_onVaadinOverlayClose(t) {
|
|
@@ -15438,12 +15438,12 @@ class Vu extends $u(Iu(Ve(pr(Fe)))) {
|
|
|
15438
15438
|
super._openedChanged(t), this.$.overlay.positionTarget = this.shadowRoot.querySelector('[part="input-field"]'), this.$.overlay.noVerticalOverlap = !0;
|
|
15439
15439
|
}
|
|
15440
15440
|
}
|
|
15441
|
-
ve(
|
|
15442
|
-
var
|
|
15441
|
+
ve(Uu);
|
|
15442
|
+
var Lr = { exports: {} };
|
|
15443
15443
|
(function(o, t) {
|
|
15444
15444
|
(function(e, i) {
|
|
15445
15445
|
o.exports = i();
|
|
15446
|
-
})(
|
|
15446
|
+
})(Kr, function() {
|
|
15447
15447
|
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) {
|
|
15448
15448
|
return (p = +p) + (p > 68 ? 1900 : 2e3);
|
|
15449
15449
|
}, c = function(p) {
|
|
@@ -15510,8 +15510,8 @@ var zr = { exports: {} };
|
|
|
15510
15510
|
return B || ce.slice(1);
|
|
15511
15511
|
});
|
|
15512
15512
|
})).match(i), C = v.length, A = 0; A < C; A += 1) {
|
|
15513
|
-
var k = v[A], X = m[k], q = X && X[0],
|
|
15514
|
-
v[A] =
|
|
15513
|
+
var k = v[A], X = m[k], q = X && X[0], $ = X && X[1];
|
|
15514
|
+
v[A] = $ ? { regex: q, parser: $ } : k.replace(/^\[|\]$/g, "");
|
|
15515
15515
|
}
|
|
15516
15516
|
return function(R) {
|
|
15517
15517
|
for (var T = {}, F = 0, N = 0; F < C; F += 1) {
|
|
@@ -15524,10 +15524,10 @@ var zr = { exports: {} };
|
|
|
15524
15524
|
}
|
|
15525
15525
|
}
|
|
15526
15526
|
return function(ee) {
|
|
15527
|
-
var
|
|
15528
|
-
if (
|
|
15527
|
+
var Y = ee.afternoon;
|
|
15528
|
+
if (Y !== void 0) {
|
|
15529
15529
|
var H = ee.hours;
|
|
15530
|
-
|
|
15530
|
+
Y ? H < 12 && (ee.hours += 12) : H === 12 && (ee.hours = 0), delete ee.afternoon;
|
|
15531
15531
|
}
|
|
15532
15532
|
}(T), T;
|
|
15533
15533
|
};
|
|
@@ -15538,24 +15538,24 @@ var zr = { exports: {} };
|
|
|
15538
15538
|
v.parse = function(A) {
|
|
15539
15539
|
var k = A.date, X = A.utc, q = A.args;
|
|
15540
15540
|
this.$u = X;
|
|
15541
|
-
var
|
|
15542
|
-
if (typeof
|
|
15541
|
+
var $ = q[1];
|
|
15542
|
+
if (typeof $ == "string") {
|
|
15543
15543
|
var R = q[2] === !0, T = q[3] === !0, F = R || T, N = q[2];
|
|
15544
15544
|
T && (N = q[2]), a = this.$locale(), !R && N && (a = y.Ls[N]), this.$d = function(pe, G, ee) {
|
|
15545
15545
|
try {
|
|
15546
15546
|
if (["x", "X"].indexOf(G) > -1)
|
|
15547
15547
|
return new Date((G === "X" ? 1e3 : 1) * pe);
|
|
15548
|
-
var
|
|
15548
|
+
var Y = b(G)(pe), H = Y.year, te = Y.month, _e = Y.day, ue = Y.hours, De = Y.minutes, ze = Y.seconds, Te = Y.milliseconds, ye = Y.zone, xe = /* @__PURE__ */ new Date(), oe = _e || (H || te ? 1 : xe.getDate()), se = H || xe.getFullYear(), O = 0;
|
|
15549
15549
|
H && !te || (O = te > 0 ? te - 1 : xe.getMonth());
|
|
15550
15550
|
var z = ue || 0, we = De || 0, fe = ze || 0, Q = Te || 0;
|
|
15551
15551
|
return ye ? new Date(Date.UTC(se, O, oe, z, we, fe, Q + 60 * ye.offset * 1e3)) : ee ? new Date(Date.UTC(se, O, oe, z, we, fe, Q)) : new Date(se, O, oe, z, we, fe, Q);
|
|
15552
15552
|
} catch (ge) {
|
|
15553
15553
|
return /* @__PURE__ */ new Date("");
|
|
15554
15554
|
}
|
|
15555
|
-
}(k,
|
|
15556
|
-
} else if (
|
|
15557
|
-
for (var Z =
|
|
15558
|
-
q[1] =
|
|
15555
|
+
}(k, $, X), this.init(), N && N !== !0 && (this.$L = this.locale(N).$L), F && k != this.format($) && (this.$d = /* @__PURE__ */ new Date("")), a = {};
|
|
15556
|
+
} else if ($ instanceof Array)
|
|
15557
|
+
for (var Z = $.length, B = 1; B <= Z; B += 1) {
|
|
15558
|
+
q[1] = $[B - 1];
|
|
15559
15559
|
var ce = y.apply(this, q);
|
|
15560
15560
|
if (ce.isValid()) {
|
|
15561
15561
|
this.$d = ce.$d, this.$L = ce.$L, this.init();
|
|
@@ -15568,16 +15568,16 @@ var zr = { exports: {} };
|
|
|
15568
15568
|
};
|
|
15569
15569
|
};
|
|
15570
15570
|
});
|
|
15571
|
-
})(
|
|
15572
|
-
var
|
|
15573
|
-
const
|
|
15574
|
-
function
|
|
15575
|
-
|
|
15571
|
+
})(Lr);
|
|
15572
|
+
var Wu = Lr.exports;
|
|
15573
|
+
const qu = /* @__PURE__ */ qr(Wu);
|
|
15574
|
+
function os(o, t) {
|
|
15575
|
+
Gr(o, t);
|
|
15576
15576
|
}
|
|
15577
|
-
function
|
|
15578
|
-
|
|
15577
|
+
function Ku(o) {
|
|
15578
|
+
Jr.set(o);
|
|
15579
15579
|
}
|
|
15580
|
-
const
|
|
15580
|
+
const ss = {
|
|
15581
15581
|
en: {
|
|
15582
15582
|
titleSelfExclusion: "Self-Exclusion",
|
|
15583
15583
|
selfExclusionText: "<p>While self-excluded, access to your account will be entirely restricted.</br>Self-exclusion can only be lifted after the period that you selected has passed by communicating with Customer Support, which will be subject to review and a cooling-off period. </br> Alternatively, you can choose to take a 'time out' (a break of up to 6 weeks) from our services via the '<a href='{baseurl}/{lang}/account/timeout'>Time out</a>' option. </br> If you would prefer just to close your account, '<a href='{baseurl}/{lang}/account/account-closure'>Account Closure</a>' you can choose to do so via the option.</br> We'd recommend you also read our '<a href='{baseurl}/{lang}/page/responsible-gambling'>Responsible Gambling</a>' help pages for further advice should you need it.",
|
|
@@ -15953,14 +15953,14 @@ const os = {
|
|
|
15953
15953
|
InvalidSession: "Oturum süresi doldu."
|
|
15954
15954
|
}
|
|
15955
15955
|
};
|
|
15956
|
-
function
|
|
15957
|
-
|
|
15956
|
+
function Gu(o) {
|
|
15957
|
+
en(o, "svelte-gvegix", 'a{cursor:pointer;text-decoration:underline;font-weight:600}.PlayerSelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.PlayerSelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerSelfExclusionTitleNone{display:none}.SelfExclusionContainer{border-radius:var(--emw--border-radius-medium, 10px);background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));container-type:inline-size}.SelfExclusionContainer .SelfExclusionWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px;border-radius:var(--emw--border-radius-medium, 10px);max-width:100%;min-height:500px;opacity:1;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.SelfExclusionContainer .SelfExclusionWrapper.SelfExclusionWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.MenuReturnButton{color:var(--emw--color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.SelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-bold, 700)}.SelfExclusionTitle.SelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px)}.SelfExclusionNotification{color:var(--emw--color-gray-300, #58586B);line-height:24px}.SelfExclusionNotification.SelfExclusionDescriptionMobile{font-size:var(--emw--font-size-x-small, 12px);line-height:19px}.SelfExclusionNotification .SelfExclusionDescriptionText p{font-size:16px}.SelfExclusionNotification .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px;min-height:180px}.SelfExclusionDescription p{font-size:16px}.SelfExclusionDescription a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}@container (max-width: 768px){.SelfExclusionDescription{font-size:var(--emw--font-size-x-small, 12px);line-height:19px;min-height:230px}}.SelfExclusionConfigWrapper{width:50%;position:relative;margin-bottom:var(--emw--spacing-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-radius:var(--emw--border-radius-medium, 10px);cursor:pointer}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px)}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:15px;height:15px;fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));transform:rotateZ(-90deg);transition:all 0.5s ease-in-out}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel p{margin:0;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon.active{transform:rotateZ(0deg)}.SelfExclusionConfigWrapper .SelfExclusionDropDown{max-height:0px;overflow:hidden;box-sizing:border-box;transition:all 0.5s ease-in-out;opacity:0;color:var(--emw--color-gray-300, #58586B);background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:0px 0px var(--emw--border-radius-medium, 10px) var(--emw--border-radius-medium, 10px)}.SelfExclusionConfigWrapper .SelfExclusionDropDown div{padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px);font-size:var(--emw--font-size-x-small, 12px);border-top:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));transition:all 0.5s ease-in-out;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionDropDown div:hover{color:var(--emw--color-white, #FFFFFF);background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionConfigWrapper .SelfExclusionDropDown.active{max-height:600px;opacity:1}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile{width:100%;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:10px;height:10px}.SelfExclusionDateWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.SelfExclusionDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions strong{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDateWrapper input{font-family:inherit;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:var(--emw--size-standard, 16px);line-height:18px}.SelfExclusionDateWrapper.SelfExclusionDateWrapperMobile{width:100%}.SelfExclusionRadioWrapper{display:block;position:relative;padding:4px 0 0 0;margin-bottom:16px;font-size:var(--emw--size-standard, 16px);user-select:none;line-height:18px}.SelfExclusionRadioWrapper label{font-size:var(--emw--size-standard, 16px);cursor:pointer;padding-left:35px}.SelfExclusionRadioWrapper input{font-family:inherit;position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SelfExclusionRadioWrapper .Checkmark{position:absolute;top:0;left:0;height:25px;width:25px;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.SelfExclusionRadioWrapper input:checked~.Checkmark{background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionRadioWrapper .Checkmark:after{content:"";position:absolute;display:none;left:9px;top:5px;width:5px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.SelfExclusionRadioWrapper input:checked~.Checkmark:after{display:block}.SelfExclusionRadioWrapper.SelfExclusionRadioWrapperMobile label{font-family:inherit;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionActionButtons{margin-top:40px;width:50%}.SelfExclusionActionButtons .SelfExclusionSave{font-family:var(--emw--button-typography);border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:var(--emw--color-primary, #23B04E);border-radius:var(--emw--border-radius-medium, 10px);padding:20px 0;font-size:var(--emw--font-size-large, 20px);color:var(--emw--button-text-color, #FFFFFF);cursor:pointer;border:none}.SelfExclusionActionButtons .SelfExclusionSave:hover{filter:brightness(0.9)}.SelfExclusionActionButtons .SelfExclusionSave:disabled{opacity:0.5;cursor:default}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile{width:100%;grid-template-columns:1fr 1fr}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile .SelfExclusionSave{height:40px;font-size:var(--emw--font-size-small, 14px);padding:20px 0}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
|
|
15958
15958
|
}
|
|
15959
|
-
function
|
|
15959
|
+
function rs(o, t, e) {
|
|
15960
15960
|
const i = o.slice();
|
|
15961
15961
|
return i[58] = t[e], i;
|
|
15962
15962
|
}
|
|
15963
|
-
function
|
|
15963
|
+
function Ju(o) {
|
|
15964
15964
|
let t, e, i, s, r = (
|
|
15965
15965
|
/*$_*/
|
|
15966
15966
|
o[23]("titleSelfExclusion") + ""
|
|
@@ -15989,44 +15989,44 @@ function Gu(o) {
|
|
|
15989
15989
|
/*$_*/
|
|
15990
15990
|
o[23](`${/*selectedPeriodKey*/
|
|
15991
15991
|
o[16]}`) + ""
|
|
15992
|
-
),
|
|
15992
|
+
), $, R, T, F, N, Z, B, ce, pe, G, ee, Y, H, te = (
|
|
15993
15993
|
/*$_*/
|
|
15994
15994
|
o[23]("save") + ""
|
|
15995
15995
|
), _e, ue, De, ze, Te, ye, xe, oe = (
|
|
15996
15996
|
/*isMobile*/
|
|
15997
|
-
o[25] &&
|
|
15997
|
+
o[25] && Zu(o)
|
|
15998
15998
|
), se = mo(
|
|
15999
15999
|
/*selfExclusionPeriods*/
|
|
16000
16000
|
o[12]
|
|
16001
16001
|
), O = [];
|
|
16002
16002
|
for (let x = 0; x < se.length; x += 1)
|
|
16003
|
-
O[x] = rs(
|
|
16003
|
+
O[x] = ns(rs(o, se, x));
|
|
16004
16004
|
let z = (
|
|
16005
16005
|
/*isUntilDate*/
|
|
16006
|
-
o[19] &&
|
|
16006
|
+
o[19] && as(o)
|
|
16007
16007
|
);
|
|
16008
16008
|
function we(x, M) {
|
|
16009
16009
|
return (
|
|
16010
16010
|
/*isPermanentSelfExclusion*/
|
|
16011
|
-
x[18] ?
|
|
16011
|
+
x[18] ? td : (
|
|
16012
16012
|
/*isDateSelected*/
|
|
16013
|
-
x[20] ?
|
|
16013
|
+
x[20] ? Qu : ed
|
|
16014
16014
|
)
|
|
16015
16015
|
);
|
|
16016
16016
|
}
|
|
16017
16017
|
let fe = we(o), Q = fe(o), ge = (
|
|
16018
16018
|
/*showConfirmationModal*/
|
|
16019
|
-
o[26] &&
|
|
16019
|
+
o[26] && id(o)
|
|
16020
16020
|
);
|
|
16021
16021
|
return {
|
|
16022
16022
|
c() {
|
|
16023
16023
|
t = w("div"), e = w("form"), oe && oe.c(), i = I(), s = w("h2"), n = ne(r), a = I(), l = w("div"), c = w("p"), d = I(), h = w("p"), b = ne(m), p = I(), g = w("a"), y = ne(
|
|
16024
16024
|
/*supportemail*/
|
|
16025
16025
|
o[4]
|
|
16026
|
-
), C = I(), A = w("div"), k = w("div"), X = w("p"),
|
|
16026
|
+
), C = I(), A = w("div"), k = w("div"), X = w("p"), $ = ne(q), R = I(), T = Pe("svg"), F = Pe("g"), N = Pe("path"), Z = I(), B = w("div");
|
|
16027
16027
|
for (let x = 0; x < O.length; x += 1)
|
|
16028
16028
|
O[x].c();
|
|
16029
|
-
ce = I(), z && z.c(), pe = I(), G = w("div"), Q.c(), ee = I(),
|
|
16029
|
+
ce = I(), z && z.c(), pe = I(), G = w("div"), Q.c(), ee = I(), Y = w("div"), H = w("button"), _e = ne(te), ze = I(), ge && ge.c(), Te = an(), E(s, "class", "PlayerSelfExclusionTitle " + /*isMobile*/
|
|
16030
16030
|
(o[25] ? "PlayerSelfExclusionTitleNone" : "")), E(c, "class", "SelfExclusionDescriptionText"), E(g, "href", v = "mailto:" + /*supportemail*/
|
|
16031
16031
|
o[4]), E(h, "class", "SelfExclusionDescriptionText"), E(l, "class", "SelfExclusionDescription " + /*isMobile*/
|
|
16032
16032
|
(o[25] ? "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"), qe(
|
|
@@ -16048,15 +16048,15 @@ function Gu(o) {
|
|
|
16048
16048
|
), E(G, "class", "SelfExclusionNotification " + /*isMobile*/
|
|
16049
16049
|
(o[25] ? "SelfExclusionDescriptionMobile" : "")), E(H, "class", ue = "SelfExclusionSave " + /*isDateSelected*/
|
|
16050
16050
|
(o[20] ? "active" : "")), H.disabled = De = !/*isDateSelected*/
|
|
16051
|
-
o[20], E(
|
|
16051
|
+
o[20], E(Y, "class", "SelfExclusionActionButtons " + /*isMobile*/
|
|
16052
16052
|
(o[25] ? "SelfExclusionActionButtonsMobile" : "")), E(e, "class", "SelfExclusionWrapper " + /*isMobile*/
|
|
16053
16053
|
(o[25] ? "SelfExclusionWrapperMobile" : "")), E(t, "class", "SelfExclusionContainer");
|
|
16054
16054
|
},
|
|
16055
16055
|
m(x, M) {
|
|
16056
|
-
le(x, t, M), f(t, e), oe && oe.m(e, null), f(e, i), f(e, s), f(s, n), f(e, a), f(e, l), f(l, c), c.innerHTML = u, f(l, d), f(l, h), f(h, b), f(h, p), f(h, g), f(g, y), f(e, C), f(e, A), f(A, k), f(k, X), f(X,
|
|
16056
|
+
le(x, t, M), f(t, e), oe && oe.m(e, null), f(e, i), f(e, s), f(s, n), f(e, a), f(e, l), f(l, c), c.innerHTML = u, f(l, d), f(l, h), f(h, b), f(h, p), f(h, g), f(g, y), f(e, C), f(e, A), f(A, k), f(k, X), f(X, $), f(k, R), f(k, T), f(T, F), f(F, N), f(A, Z), f(A, B);
|
|
16057
16057
|
for (let j = 0; j < O.length; j += 1)
|
|
16058
16058
|
O[j] && O[j].m(B, null);
|
|
16059
|
-
f(e, ce), z && z.m(e, null), f(e, pe), f(e, G), Q.m(G, null), f(e, ee), f(e,
|
|
16059
|
+
f(e, ce), z && z.m(e, null), f(e, pe), f(e, G), Q.m(G, null), f(e, ee), f(e, Y), f(Y, H), f(H, _e), le(x, ze, M), ge && ge.m(x, M), le(x, Te, M), ye || (xe = [
|
|
16060
16060
|
Lt(
|
|
16061
16061
|
k,
|
|
16062
16062
|
"click",
|
|
@@ -16105,7 +16105,7 @@ function Gu(o) {
|
|
|
16105
16105
|
x[4]) && E(g, "href", v), M[0] & /*$_, selectedPeriodKey*/
|
|
16106
16106
|
8454144 && q !== (q = /*$_*/
|
|
16107
16107
|
x[23](`${/*selectedPeriodKey*/
|
|
16108
|
-
x[16]}`) + "") && he(
|
|
16108
|
+
x[16]}`) + "") && he($, q), M[0] & /*isPeriodDropDownToggled*/
|
|
16109
16109
|
2097152 && qe(
|
|
16110
16110
|
T,
|
|
16111
16111
|
"active",
|
|
@@ -16120,8 +16120,8 @@ function Gu(o) {
|
|
|
16120
16120
|
);
|
|
16121
16121
|
let j;
|
|
16122
16122
|
for (j = 0; j < se.length; j += 1) {
|
|
16123
|
-
const Pt =
|
|
16124
|
-
O[j] ? O[j].p(Pt, M) : (O[j] =
|
|
16123
|
+
const Pt = rs(x, se, j);
|
|
16124
|
+
O[j] ? O[j].p(Pt, M) : (O[j] = ns(Pt), O[j].c(), O[j].m(B, null));
|
|
16125
16125
|
}
|
|
16126
16126
|
for (; j < O.length; j += 1)
|
|
16127
16127
|
O[j].d(1);
|
|
@@ -16140,7 +16140,7 @@ function Gu(o) {
|
|
|
16140
16140
|
/*isPeriodDropDownToggled*/
|
|
16141
16141
|
x[21]
|
|
16142
16142
|
), /*isUntilDate*/
|
|
16143
|
-
x[19] ? z ? z.p(x, M) : (z =
|
|
16143
|
+
x[19] ? z ? z.p(x, M) : (z = as(x), z.c(), z.m(e, pe)) : z && (z.d(1), z = null), fe === (fe = we(x)) && Q ? Q.p(x, M) : (Q.d(1), Q = fe(x), Q && (Q.c(), Q.m(G, null))), M[0] & /*$_*/
|
|
16144
16144
|
8388608 && te !== (te = /*$_*/
|
|
16145
16145
|
x[23]("save") + "") && he(_e, te), M[0] & /*isDateSelected*/
|
|
16146
16146
|
1048576 && ue !== (ue = "SelfExclusionSave " + /*isDateSelected*/
|
|
@@ -16150,22 +16150,22 @@ function Gu(o) {
|
|
|
16150
16150
|
x[26] && ge.p(x, M);
|
|
16151
16151
|
},
|
|
16152
16152
|
d(x) {
|
|
16153
|
-
x && (ae(t), ae(ze), ae(Te)), oe && oe.d(),
|
|
16153
|
+
x && (ae(t), ae(ze), ae(Te)), oe && oe.d(), rn(O, x), z && z.d(), Q.d(), ge && ge.d(x), ye = !1, nn(xe);
|
|
16154
16154
|
}
|
|
16155
16155
|
};
|
|
16156
16156
|
}
|
|
16157
|
-
function
|
|
16157
|
+
function Xu(o) {
|
|
16158
16158
|
let t, e, i, s, r, n, a, l, c, u, d, h, m, b, p, g, y, v, C, A, k;
|
|
16159
16159
|
function X(R, T) {
|
|
16160
16160
|
return (
|
|
16161
16161
|
/*isMobile*/
|
|
16162
|
-
R[25] ?
|
|
16162
|
+
R[25] ? sd : od
|
|
16163
16163
|
);
|
|
16164
16164
|
}
|
|
16165
|
-
let
|
|
16165
|
+
let $ = X(o)(o);
|
|
16166
16166
|
return {
|
|
16167
16167
|
c() {
|
|
16168
|
-
t = w("div"), e = w("div"),
|
|
16168
|
+
t = w("div"), e = w("div"), $.c(), i = I(), s = w("div"), r = w("ui-skeleton"), n = I(), a = w("div"), l = I(), c = w("ui-skeleton"), u = I(), d = w("div"), h = I(), m = w("div"), b = w("ui-skeleton"), p = I(), g = w("div"), y = I(), v = w("ui-skeleton"), C = I(), A = w("div"), k = w("ui-skeleton"), S(r, "structure", "text"), S(
|
|
16169
16169
|
r,
|
|
16170
16170
|
"height",
|
|
16171
16171
|
/*isMobile*/
|
|
@@ -16220,15 +16220,15 @@ function Ju(o) {
|
|
|
16220
16220
|
(o[25] ? "SelfExclusionWrapperMobile" : "")), E(t, "class", "SelfExclusionContainer");
|
|
16221
16221
|
},
|
|
16222
16222
|
m(R, T) {
|
|
16223
|
-
le(R, t, T), f(t, e),
|
|
16223
|
+
le(R, t, T), f(t, e), $.m(e, null), f(e, i), f(e, s), f(s, r), f(s, n), f(s, a), f(s, l), f(s, c), f(s, u), f(s, d), f(e, h), f(e, m), f(m, b), f(m, p), f(m, g), f(m, y), f(m, v), f(e, C), f(e, A), f(A, k);
|
|
16224
16224
|
},
|
|
16225
16225
|
p: bi,
|
|
16226
16226
|
d(R) {
|
|
16227
|
-
R && ae(t),
|
|
16227
|
+
R && ae(t), $.d();
|
|
16228
16228
|
}
|
|
16229
16229
|
};
|
|
16230
16230
|
}
|
|
16231
|
-
function
|
|
16231
|
+
function Zu(o) {
|
|
16232
16232
|
let t, e, i, s, r, n, a, l, c, u, d = (
|
|
16233
16233
|
/*$_*/
|
|
16234
16234
|
o[23]("titleSelfExclusion") + ""
|
|
@@ -16255,7 +16255,7 @@ function Xu(o) {
|
|
|
16255
16255
|
}
|
|
16256
16256
|
};
|
|
16257
16257
|
}
|
|
16258
|
-
function
|
|
16258
|
+
function ns(o) {
|
|
16259
16259
|
let t, e = (
|
|
16260
16260
|
/*$_*/
|
|
16261
16261
|
o[23](`${/*period*/
|
|
@@ -16288,7 +16288,7 @@ function rs(o) {
|
|
|
16288
16288
|
}
|
|
16289
16289
|
};
|
|
16290
16290
|
}
|
|
16291
|
-
function
|
|
16291
|
+
function as(o) {
|
|
16292
16292
|
let t, e, i = (
|
|
16293
16293
|
/*$_*/
|
|
16294
16294
|
o[23]("duration") + ""
|
|
@@ -16352,7 +16352,7 @@ function ns(o) {
|
|
|
16352
16352
|
}
|
|
16353
16353
|
};
|
|
16354
16354
|
}
|
|
16355
|
-
function
|
|
16355
|
+
function Qu(o) {
|
|
16356
16356
|
let t, e, i = (
|
|
16357
16357
|
/*$_*/
|
|
16358
16358
|
o[23]("temporarySelfExclusion", {
|
|
@@ -16394,7 +16394,7 @@ function Zu(o) {
|
|
|
16394
16394
|
}
|
|
16395
16395
|
};
|
|
16396
16396
|
}
|
|
16397
|
-
function
|
|
16397
|
+
function ed(o) {
|
|
16398
16398
|
let t, e, i = (
|
|
16399
16399
|
/*$_*/
|
|
16400
16400
|
o[23]("noPeriodSelected") + ""
|
|
@@ -16416,7 +16416,7 @@ function Qu(o) {
|
|
|
16416
16416
|
}
|
|
16417
16417
|
};
|
|
16418
16418
|
}
|
|
16419
|
-
function
|
|
16419
|
+
function td(o) {
|
|
16420
16420
|
let t, e, i = (
|
|
16421
16421
|
/*$_*/
|
|
16422
16422
|
o[23]("permanentSelfExclusion") + ""
|
|
@@ -16438,7 +16438,7 @@ function ed(o) {
|
|
|
16438
16438
|
}
|
|
16439
16439
|
};
|
|
16440
16440
|
}
|
|
16441
|
-
function
|
|
16441
|
+
function id(o) {
|
|
16442
16442
|
let t, e, i, s;
|
|
16443
16443
|
return {
|
|
16444
16444
|
c() {
|
|
@@ -16551,7 +16551,7 @@ function td(o) {
|
|
|
16551
16551
|
}
|
|
16552
16552
|
};
|
|
16553
16553
|
}
|
|
16554
|
-
function
|
|
16554
|
+
function od(o) {
|
|
16555
16555
|
let t;
|
|
16556
16556
|
return {
|
|
16557
16557
|
c() {
|
|
@@ -16565,7 +16565,7 @@ function id(o) {
|
|
|
16565
16565
|
}
|
|
16566
16566
|
};
|
|
16567
16567
|
}
|
|
16568
|
-
function
|
|
16568
|
+
function sd(o) {
|
|
16569
16569
|
let t;
|
|
16570
16570
|
return {
|
|
16571
16571
|
c() {
|
|
@@ -16579,12 +16579,12 @@ function od(o) {
|
|
|
16579
16579
|
}
|
|
16580
16580
|
};
|
|
16581
16581
|
}
|
|
16582
|
-
function
|
|
16582
|
+
function rd(o) {
|
|
16583
16583
|
let t;
|
|
16584
16584
|
function e(r, n) {
|
|
16585
16585
|
return (
|
|
16586
16586
|
/*skeletonLoading*/
|
|
16587
|
-
r[22] ?
|
|
16587
|
+
r[22] ? Xu : Ju
|
|
16588
16588
|
);
|
|
16589
16589
|
}
|
|
16590
16590
|
let i = e(o), s = i(o);
|
|
@@ -16605,21 +16605,21 @@ function sd(o) {
|
|
|
16605
16605
|
}
|
|
16606
16606
|
};
|
|
16607
16607
|
}
|
|
16608
|
-
function
|
|
16608
|
+
function nd(o, t, e) {
|
|
16609
16609
|
let i;
|
|
16610
|
-
|
|
16611
|
-
let { endpoint: s = "", session: r = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail: u = "", baseurl: d = "", clientstyling: h = "", clientstylingurl: m = "", mbsource: b, translationurl: p = "", hasconfirmationmodal: g = "false", dateformat: y = "DD/MM/YYYY", sendnotificationemail: v = "false" } = t, C, A, k = y.toUpperCase(), X = [], q = {},
|
|
16610
|
+
tn(o, hn, (_) => e(23, i = _)), Ae.extend(qu);
|
|
16611
|
+
let { endpoint: s = "", session: r = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail: u = "", baseurl: d = "", clientstyling: h = "", clientstylingurl: m = "", mbsource: b, translationurl: p = "", hasconfirmationmodal: g = "false", dateformat: y = "DD/MM/YYYY", sendnotificationemail: v = "false" } = t, C, A, k = y.toUpperCase(), X = [], q = {}, $ = window.navigator.userAgent, R, T, F = "", N = "", Z = "selectAPeriod", B = "", ce = "", pe = on($) !== "PC", G = !1, ee = !1, Y = !1, H = !1, te = g === "true", _e = !0, ue;
|
|
16612
16612
|
const De = () => {
|
|
16613
16613
|
fetch(p).then((V) => V.json()).then((V) => {
|
|
16614
16614
|
Object.keys(V).forEach((U) => {
|
|
16615
|
-
|
|
16615
|
+
os(U, V[U]);
|
|
16616
16616
|
});
|
|
16617
16617
|
}).catch((V) => {
|
|
16618
16618
|
console.log(V);
|
|
16619
16619
|
});
|
|
16620
16620
|
};
|
|
16621
|
-
Object.keys(
|
|
16622
|
-
|
|
16621
|
+
Object.keys(ss).forEach((_) => {
|
|
16622
|
+
os(_, ss[_]);
|
|
16623
16623
|
});
|
|
16624
16624
|
const ze = () => {
|
|
16625
16625
|
let _ = new URL(`${s}/v1/player/selfExclusionSettings`);
|
|
@@ -16656,7 +16656,7 @@ function rd(o, t, e) {
|
|
|
16656
16656
|
}), xe = () => {
|
|
16657
16657
|
e(21, H = !H);
|
|
16658
16658
|
}, oe = (_) => {
|
|
16659
|
-
switch (N = _.text, e(16, Z = _.key), e(20,
|
|
16659
|
+
switch (N = _.text, e(16, Z = _.key), e(20, Y = !0), e(21, H = !1), e(18, G = !1), e(19, ee = !1), N) {
|
|
16660
16660
|
case "Until":
|
|
16661
16661
|
e(19, ee = !0), e(13, R = Ae().add(6, "M").format("YYYY-MM-DD")), e(14, T = Ae().add(5, "y").format("YYYY-MM-DD")), e(15, F = R);
|
|
16662
16662
|
break;
|
|
@@ -16758,24 +16758,24 @@ function rd(o, t, e) {
|
|
|
16758
16758
|
A
|
|
16759
16759
|
);
|
|
16760
16760
|
};
|
|
16761
|
-
|
|
16761
|
+
sn(() => () => {
|
|
16762
16762
|
A.removeEventListener("change", fe), ue.removeEventListener("setSelfExclusion", Te);
|
|
16763
16763
|
});
|
|
16764
16764
|
const ge = () => {
|
|
16765
|
-
|
|
16765
|
+
Ku(a);
|
|
16766
16766
|
}, x = () => we(), M = () => xe(), j = (_) => oe(_);
|
|
16767
16767
|
function Pt(_) {
|
|
16768
16768
|
Zt[_ ? "unshift" : "push"](() => {
|
|
16769
16769
|
A = _, e(10, A);
|
|
16770
16770
|
});
|
|
16771
16771
|
}
|
|
16772
|
-
const
|
|
16773
|
-
function
|
|
16772
|
+
const Br = (_) => O(_);
|
|
16773
|
+
function Hr(_) {
|
|
16774
16774
|
Zt[_ ? "unshift" : "push"](() => {
|
|
16775
16775
|
ue = _, e(11, ue);
|
|
16776
16776
|
});
|
|
16777
16777
|
}
|
|
16778
|
-
function
|
|
16778
|
+
function $r(_) {
|
|
16779
16779
|
Zt[_ ? "unshift" : "push"](() => {
|
|
16780
16780
|
C = _, e(9, C);
|
|
16781
16781
|
});
|
|
@@ -16788,9 +16788,9 @@ function rd(o, t, e) {
|
|
|
16788
16788
|
3 | o.$$.dirty[1] & /*endpoint, gmversion*/
|
|
16789
16789
|
3 && s && r && n && l && ze(), o.$$.dirty[0] & /*calendar*/
|
|
16790
16790
|
1024 && A && Q(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
16791
|
-
576 && h && C &&
|
|
16792
|
-
640 && m && C &&
|
|
16793
|
-
768 && b && C &&
|
|
16791
|
+
576 && h && C && ln(C, h), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
16792
|
+
640 && m && C && cn(C, m), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
16793
|
+
768 && b && C && un(C, `${b}.Style`), o.$$.dirty[1] & /*translationurl*/
|
|
16794
16794
|
4 && p && De(), o.$$.dirty[0] & /*modalEl*/
|
|
16795
16795
|
2048 && ue && ue.addEventListener("setSelfExclusion", Te);
|
|
16796
16796
|
}, te && se(), [
|
|
@@ -16814,7 +16814,7 @@ function rd(o, t, e) {
|
|
|
16814
16814
|
B,
|
|
16815
16815
|
G,
|
|
16816
16816
|
ee,
|
|
16817
|
-
|
|
16817
|
+
Y,
|
|
16818
16818
|
H,
|
|
16819
16819
|
_e,
|
|
16820
16820
|
i,
|
|
@@ -16835,19 +16835,19 @@ function rd(o, t, e) {
|
|
|
16835
16835
|
M,
|
|
16836
16836
|
j,
|
|
16837
16837
|
Pt,
|
|
16838
|
-
Rr,
|
|
16839
16838
|
Br,
|
|
16840
|
-
Hr
|
|
16839
|
+
Hr,
|
|
16840
|
+
$r
|
|
16841
16841
|
];
|
|
16842
16842
|
}
|
|
16843
|
-
class
|
|
16843
|
+
class Rr extends Xr {
|
|
16844
16844
|
constructor(t) {
|
|
16845
|
-
super(),
|
|
16845
|
+
super(), Zr(
|
|
16846
16846
|
this,
|
|
16847
16847
|
t,
|
|
16848
|
+
nd,
|
|
16848
16849
|
rd,
|
|
16849
|
-
|
|
16850
|
-
Zr,
|
|
16850
|
+
Qr,
|
|
16851
16851
|
{
|
|
16852
16852
|
endpoint: 31,
|
|
16853
16853
|
session: 0,
|
|
@@ -16865,7 +16865,7 @@ class Lr extends Jr {
|
|
|
16865
16865
|
dateformat: 35,
|
|
16866
16866
|
sendnotificationemail: 36
|
|
16867
16867
|
},
|
|
16868
|
-
|
|
16868
|
+
Gu,
|
|
16869
16869
|
[-1, -1]
|
|
16870
16870
|
);
|
|
16871
16871
|
}
|
|
@@ -16960,12 +16960,12 @@ class Lr extends Jr {
|
|
|
16960
16960
|
this.$$set({ sendnotificationemail: t }), ie();
|
|
16961
16961
|
}
|
|
16962
16962
|
}
|
|
16963
|
-
|
|
16964
|
-
const
|
|
16963
|
+
dn(Rr, { endpoint: {}, session: {}, userid: {}, lang: {}, gmversion: {}, operator: {}, supportemail: {}, baseurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, hasconfirmationmodal: {}, dateformat: {}, sendnotificationemail: {} }, [], [], !0);
|
|
16964
|
+
const Kd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16965
16965
|
__proto__: null,
|
|
16966
|
-
default:
|
|
16966
|
+
default: Rr
|
|
16967
16967
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
16968
16968
|
export {
|
|
16969
|
-
|
|
16970
|
-
|
|
16969
|
+
qu as C,
|
|
16970
|
+
Kd as P
|
|
16971
16971
|
};
|