@everymatrix/player-account-controller-nd 1.86.27 → 1.86.29
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-DvEGdKnE.js → PlayerAccountControllerNd-CUdIReJq.js} +20 -20
- package/components/{PlayerAccountControllerNd-Bl7-RTq_.js → PlayerAccountControllerNd-DV6ketO_.js} +20 -20
- package/components/PlayerAccountControllerNd-aBrI_j9T.cjs +1 -0
- 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
- package/components/PlayerAccountControllerNd-B9rNevXt.cjs +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a5 as
|
|
2
|
-
import { d as Ae } from "./PlayerAccountProductRestriction-
|
|
1
|
+
import { a5 as kr, a6 as Dr, a as Tr, $ as Mr, S as Or, i as Ir, s as Fr, f as ie, b as Nr, n as ui, d as ae, h as le, k as w, p as zr, q as Lr, u as Rr, v as Br, x as qt, j as f, m as I, g as S, Y as Kt, e as E, C as no, D as Hr, r as $r, c as he, o as Ue, l as Mt, t as ne, w as Pe, H as Yr, y as jr, z as Vr, A as Ur, B as Wr } from "./GeneralLogout-BpYAti4c.js";
|
|
2
|
+
import { d as Ae } from "./PlayerAccountProductRestriction-CYwbKK4y.js";
|
|
3
3
|
import "../stencil/ui-skeleton--3Oejuq9.js";
|
|
4
4
|
import "../lazy/player-account-modal-BqeaiWC2.js";
|
|
5
5
|
import "../lazy/player-account-general-confirmation-modal-DIPQMnVq.js";
|
|
@@ -29,12 +29,12 @@ function ve(o, t = "24.5.10") {
|
|
|
29
29
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
30
30
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
31
31
|
*/
|
|
32
|
-
class
|
|
32
|
+
class qr extends HTMLElement {
|
|
33
33
|
static get is() {
|
|
34
34
|
return "vaadin-lumo-styles";
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
ve(
|
|
37
|
+
ve(qr);
|
|
38
38
|
/**
|
|
39
39
|
* @license
|
|
40
40
|
* Copyright 2019 Google LLC
|
|
@@ -60,7 +60,7 @@ let zi = class {
|
|
|
60
60
|
return this.cssText;
|
|
61
61
|
}
|
|
62
62
|
};
|
|
63
|
-
const
|
|
63
|
+
const Kr = (o) => new zi(typeof o == "string" ? o : o + "", void 0, Ni), P = (o, ...t) => {
|
|
64
64
|
const e = o.length === 1 ? o[0] : t.reduce((i, s, r) => i + ((n) => {
|
|
65
65
|
if (n._$cssResult$ === !0)
|
|
66
66
|
return n.cssText;
|
|
@@ -69,7 +69,7 @@ const qr = (o) => new zi(typeof o == "string" ? o : o + "", void 0, Ni), P = (o,
|
|
|
69
69
|
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.");
|
|
70
70
|
})(s) + o[r + 1], o[0]);
|
|
71
71
|
return new zi(e, o, Ni);
|
|
72
|
-
},
|
|
72
|
+
}, es = (o, t) => {
|
|
73
73
|
if (Fi)
|
|
74
74
|
o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
75
75
|
else
|
|
@@ -81,17 +81,17 @@ const qr = (o) => new zi(typeof o == "string" ? o : o + "", void 0, Ni), P = (o,
|
|
|
81
81
|
let e = "";
|
|
82
82
|
for (const i of t.cssRules)
|
|
83
83
|
e += i.cssText;
|
|
84
|
-
return
|
|
84
|
+
return Kr(e);
|
|
85
85
|
})(o) : o;
|
|
86
86
|
/**
|
|
87
87
|
* @license
|
|
88
88
|
* Copyright 2017 Google LLC
|
|
89
89
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
90
90
|
*/
|
|
91
|
-
const { is:
|
|
91
|
+
const { is: Gr, defineProperty: Jr, getOwnPropertyDescriptor: Xr, getOwnPropertyNames: Zr, getOwnPropertySymbols: Qr, getPrototypeOf: en } = Object, Ht = globalThis, co = Ht.trustedTypes, tn = co ? co.emptyScript : "", on = Ht.reactiveElementPolyfillSupport, dt = (o, t) => o, di = { toAttribute(o, t) {
|
|
92
92
|
switch (t) {
|
|
93
93
|
case Boolean:
|
|
94
|
-
o = o ?
|
|
94
|
+
o = o ? tn : null;
|
|
95
95
|
break;
|
|
96
96
|
case Object:
|
|
97
97
|
case Array:
|
|
@@ -116,9 +116,9 @@ const { is: Kr, defineProperty: Gr, getOwnPropertyDescriptor: Jr, getOwnProperty
|
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
return e;
|
|
119
|
-
} },
|
|
119
|
+
} }, ts = (o, t) => !Gr(o, t), uo = { attribute: !0, type: String, converter: di, reflect: !1, useDefault: !1, hasChanged: ts };
|
|
120
120
|
Symbol.metadata ??= Symbol("metadata"), Ht.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
|
|
121
|
-
|
|
121
|
+
let qe = class extends HTMLElement {
|
|
122
122
|
static addInitializer(t) {
|
|
123
123
|
this._$Ei(), (this.l ??= []).push(t);
|
|
124
124
|
}
|
|
@@ -128,11 +128,11 @@ class qe extends HTMLElement {
|
|
|
128
128
|
static createProperty(t, e = uo) {
|
|
129
129
|
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) {
|
|
130
130
|
const i = Symbol(), s = this.getPropertyDescriptor(t, i, e);
|
|
131
|
-
s !== void 0 &&
|
|
131
|
+
s !== void 0 && Jr(this.prototype, t, s);
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
134
|
static getPropertyDescriptor(t, e, i) {
|
|
135
|
-
const { get: s, set: r } =
|
|
135
|
+
const { get: s, set: r } = Xr(this.prototype, t) ?? { get() {
|
|
136
136
|
return this[e];
|
|
137
137
|
}, set(n) {
|
|
138
138
|
this[e] = n;
|
|
@@ -148,14 +148,14 @@ class qe extends HTMLElement {
|
|
|
148
148
|
static _$Ei() {
|
|
149
149
|
if (this.hasOwnProperty(dt("elementProperties")))
|
|
150
150
|
return;
|
|
151
|
-
const t =
|
|
151
|
+
const t = en(this);
|
|
152
152
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
153
153
|
}
|
|
154
154
|
static finalize() {
|
|
155
155
|
if (this.hasOwnProperty(dt("finalized")))
|
|
156
156
|
return;
|
|
157
157
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(dt("properties"))) {
|
|
158
|
-
const e = this.properties, i = [...
|
|
158
|
+
const e = this.properties, i = [...Zr(e), ...Qr(e)];
|
|
159
159
|
for (const s of i)
|
|
160
160
|
this.createProperty(s, e[s]);
|
|
161
161
|
}
|
|
@@ -207,7 +207,7 @@ class qe extends HTMLElement {
|
|
|
207
207
|
}
|
|
208
208
|
createRenderRoot() {
|
|
209
209
|
const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
210
|
-
return
|
|
210
|
+
return es(t, this.constructor.elementStyles), t;
|
|
211
211
|
}
|
|
212
212
|
connectedCallback() {
|
|
213
213
|
this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(!0), this._$EO?.forEach((t) => t.hostConnected?.());
|
|
@@ -236,10 +236,10 @@ class qe extends HTMLElement {
|
|
|
236
236
|
this[s] = a ?? this._$Ej?.get(s) ?? a, this._$Em = null;
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
|
-
requestUpdate(t, e, i) {
|
|
239
|
+
requestUpdate(t, e, i, s = !1, r) {
|
|
240
240
|
if (t !== void 0) {
|
|
241
|
-
const
|
|
242
|
-
if (i ??=
|
|
241
|
+
const n = this.constructor;
|
|
242
|
+
if (s === !1 && (r = this[t]), i ??= n.getPropertyOptions(t), !((i.hasChanged ?? ts)(r, e) || i.useDefault && i.reflect && r === this._$Ej?.get(t) && !this.hasAttribute(n._$Eu(t, i))))
|
|
243
243
|
return;
|
|
244
244
|
this.C(t, e, i);
|
|
245
245
|
}
|
|
@@ -310,40 +310,40 @@ class qe extends HTMLElement {
|
|
|
310
310
|
}
|
|
311
311
|
firstUpdated(t) {
|
|
312
312
|
}
|
|
313
|
-
}
|
|
314
|
-
qe.elementStyles = [], qe.shadowRootOptions = { mode: "open" }, qe[dt("elementProperties")] = /* @__PURE__ */ new Map(), qe[dt("finalized")] = /* @__PURE__ */ new Map(),
|
|
313
|
+
};
|
|
314
|
+
qe.elementStyles = [], qe.shadowRootOptions = { mode: "open" }, qe[dt("elementProperties")] = /* @__PURE__ */ new Map(), qe[dt("finalized")] = /* @__PURE__ */ new Map(), on?.({ ReactiveElement: qe }), (Ht.reactiveElementVersions ??= []).push("2.1.2");
|
|
315
315
|
/**
|
|
316
316
|
* @license
|
|
317
317
|
* Copyright 2017 Google LLC
|
|
318
318
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
319
319
|
*/
|
|
320
|
-
const Li = globalThis, Ot = Li.trustedTypes,
|
|
321
|
-
\f\r]`, st = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
322
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
323
|
-
function
|
|
320
|
+
const Li = globalThis, ho = (o) => o, Ot = Li.trustedTypes, po = Ot ? Ot.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, is = "$lit$", Me = `lit$${Math.random().toFixed(9).slice(2)}$`, os = "?" + Me, sn = `<${os}>`, $e = document, pt = () => $e.createComment(""), ft = (o) => o === null || typeof o != "object" && typeof o != "function", Ri = Array.isArray, rn = (o) => Ri(o) || typeof o?.[Symbol.iterator] == "function", Gt = `[
|
|
321
|
+
\f\r]`, st = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, fo = /-->/g, mo = />/g, ze = RegExp(`>|${Gt}(?:([^\\s"'>=/]+)(${Gt}*=${Gt}*(?:[^
|
|
322
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), _o = /'/g, go = /"/g, ss = /^(?:script|style|textarea|title)$/i, Ze = Symbol.for("lit-noChange"), q = Symbol.for("lit-nothing"), bo = /* @__PURE__ */ new WeakMap(), Le = $e.createTreeWalker($e, 129);
|
|
323
|
+
function rs(o, t) {
|
|
324
324
|
if (!Ri(o) || !o.hasOwnProperty("raw"))
|
|
325
325
|
throw Error("invalid template strings array");
|
|
326
|
-
return
|
|
326
|
+
return po !== void 0 ? po.createHTML(t) : t;
|
|
327
327
|
}
|
|
328
|
-
const
|
|
328
|
+
const nn = (o, t) => {
|
|
329
329
|
const e = o.length - 1, i = [];
|
|
330
330
|
let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = st;
|
|
331
331
|
for (let a = 0; a < e; a++) {
|
|
332
332
|
const l = o[a];
|
|
333
333
|
let c, u, d = -1, h = 0;
|
|
334
334
|
for (; h < l.length && (n.lastIndex = h, u = n.exec(l), u !== null); )
|
|
335
|
-
h = n.lastIndex, n === st ? u[1] === "!--" ? n =
|
|
335
|
+
h = n.lastIndex, n === st ? u[1] === "!--" ? n = fo : u[1] !== void 0 ? n = mo : u[2] !== void 0 ? (ss.test(u[2]) && (s = RegExp("</" + u[2], "g")), n = ze) : u[3] !== void 0 && (n = ze) : n === ze ? u[0] === ">" ? (n = s ?? st, d = -1) : u[1] === void 0 ? d = -2 : (d = n.lastIndex - u[2].length, c = u[1], n = u[3] === void 0 ? ze : u[3] === '"' ? go : _o) : n === go || n === _o ? n = ze : n === fo || n === mo ? n = st : (n = ze, s = void 0);
|
|
336
336
|
const m = n === ze && o[a + 1].startsWith("/>") ? " " : "";
|
|
337
|
-
r += n === st ? l +
|
|
337
|
+
r += n === st ? l + sn : d >= 0 ? (i.push(c), l.slice(0, d) + is + l.slice(d) + Me + m) : l + Me + (d === -2 ? a : m);
|
|
338
338
|
}
|
|
339
|
-
return [
|
|
339
|
+
return [rs(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
|
|
340
340
|
};
|
|
341
341
|
class mt {
|
|
342
342
|
constructor({ strings: t, _$litType$: e }, i) {
|
|
343
343
|
let s;
|
|
344
344
|
this.parts = [];
|
|
345
345
|
let r = 0, n = 0;
|
|
346
|
-
const a = t.length - 1, l = this.parts, [c, u] =
|
|
346
|
+
const a = t.length - 1, l = this.parts, [c, u] = nn(t, e);
|
|
347
347
|
if (this.el = mt.createElement(c, i), Le.currentNode = this.el.content, e === 2 || e === 3) {
|
|
348
348
|
const d = this.el.content.firstChild;
|
|
349
349
|
d.replaceWith(...d.childNodes);
|
|
@@ -352,12 +352,12 @@ class mt {
|
|
|
352
352
|
if (s.nodeType === 1) {
|
|
353
353
|
if (s.hasAttributes())
|
|
354
354
|
for (const d of s.getAttributeNames())
|
|
355
|
-
if (d.endsWith(
|
|
355
|
+
if (d.endsWith(is)) {
|
|
356
356
|
const h = u[n++], m = s.getAttribute(d).split(Me), b = /([.?@])?(.*)/.exec(h);
|
|
357
|
-
l.push({ type: 1, index: r, name: b[2], strings: m, ctor: b[1] === "." ?
|
|
357
|
+
l.push({ type: 1, index: r, name: b[2], strings: m, ctor: b[1] === "." ? ln : b[1] === "?" ? cn : b[1] === "@" ? un : $t }), s.removeAttribute(d);
|
|
358
358
|
} else
|
|
359
359
|
d.startsWith(Me) && (l.push({ type: 6, index: r }), s.removeAttribute(d));
|
|
360
|
-
if (
|
|
360
|
+
if (ss.test(s.tagName)) {
|
|
361
361
|
const d = s.textContent.split(Me), h = d.length - 1;
|
|
362
362
|
if (h > 0) {
|
|
363
363
|
s.textContent = Ot ? Ot.emptyScript : "";
|
|
@@ -367,7 +367,7 @@ class mt {
|
|
|
367
367
|
}
|
|
368
368
|
}
|
|
369
369
|
} else if (s.nodeType === 8)
|
|
370
|
-
if (s.data ===
|
|
370
|
+
if (s.data === os)
|
|
371
371
|
l.push({ type: 2, index: r });
|
|
372
372
|
else {
|
|
373
373
|
let d = -1;
|
|
@@ -389,7 +389,7 @@ function Qe(o, t, e = o, i) {
|
|
|
389
389
|
const r = ft(t) ? void 0 : t._$litDirective$;
|
|
390
390
|
return s?.constructor !== r && (s?._$AO?.(!1), r === void 0 ? s = void 0 : (s = new r(o), s._$AT(o, e, i)), i !== void 0 ? (e._$Co ??= [])[i] = s : e._$Cl = s), s !== void 0 && (t = Qe(o, s._$AS(o, t.values), s, i)), t;
|
|
391
391
|
}
|
|
392
|
-
class
|
|
392
|
+
class an {
|
|
393
393
|
constructor(t, e) {
|
|
394
394
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
|
395
395
|
}
|
|
@@ -406,7 +406,7 @@ class nn {
|
|
|
406
406
|
for (; l !== void 0; ) {
|
|
407
407
|
if (n === l.index) {
|
|
408
408
|
let c;
|
|
409
|
-
l.type === 2 ? c = new wt(r, r.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (c = new
|
|
409
|
+
l.type === 2 ? c = new wt(r, r.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (c = new dn(r, this, t)), this._$AV.push(c), l = i[++a];
|
|
410
410
|
}
|
|
411
411
|
n !== l?.index && (r = Le.nextNode(), n++);
|
|
412
412
|
}
|
|
@@ -437,7 +437,7 @@ class wt {
|
|
|
437
437
|
return this._$AB;
|
|
438
438
|
}
|
|
439
439
|
_$AI(t, e = this) {
|
|
440
|
-
t = Qe(this, t, e), ft(t) ? t === q || t == null || t === "" ? (this._$AH !== q && this._$AR(), this._$AH = q) : t !== this._$AH && t !== Ze && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) :
|
|
440
|
+
t = Qe(this, t, e), ft(t) ? t === q || t == null || t === "" ? (this._$AH !== q && this._$AR(), this._$AH = q) : t !== this._$AH && t !== Ze && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : rn(t) ? this.k(t) : this._(t);
|
|
441
441
|
}
|
|
442
442
|
O(t) {
|
|
443
443
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -449,17 +449,17 @@ class wt {
|
|
|
449
449
|
this._$AH !== q && ft(this._$AH) ? this._$AA.nextSibling.data = t : this.T($e.createTextNode(t)), this._$AH = t;
|
|
450
450
|
}
|
|
451
451
|
$(t) {
|
|
452
|
-
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = mt.createElement(
|
|
452
|
+
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = mt.createElement(rs(i.h, i.h[0]), this.options)), i);
|
|
453
453
|
if (this._$AH?._$AD === s)
|
|
454
454
|
this._$AH.p(e);
|
|
455
455
|
else {
|
|
456
|
-
const r = new
|
|
456
|
+
const r = new an(s, this), n = r.u(this.options);
|
|
457
457
|
r.p(e), this.T(n), this._$AH = r;
|
|
458
458
|
}
|
|
459
459
|
}
|
|
460
460
|
_$AC(t) {
|
|
461
|
-
let e =
|
|
462
|
-
return e === void 0 &&
|
|
461
|
+
let e = bo.get(t.strings);
|
|
462
|
+
return e === void 0 && bo.set(t.strings, e = new mt(t)), e;
|
|
463
463
|
}
|
|
464
464
|
k(t) {
|
|
465
465
|
Ri(this._$AH) || (this._$AH = [], this._$AR());
|
|
@@ -471,8 +471,8 @@ class wt {
|
|
|
471
471
|
}
|
|
472
472
|
_$AR(t = this._$AA.nextSibling, e) {
|
|
473
473
|
for (this._$AP?.(!1, !0, e); t !== this._$AB; ) {
|
|
474
|
-
const i = t.nextSibling;
|
|
475
|
-
t.remove(), t = i;
|
|
474
|
+
const i = ho(t).nextSibling;
|
|
475
|
+
ho(t).remove(), t = i;
|
|
476
476
|
}
|
|
477
477
|
}
|
|
478
478
|
setConnected(t) {
|
|
@@ -506,7 +506,7 @@ class $t {
|
|
|
506
506
|
t === q ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
507
507
|
}
|
|
508
508
|
}
|
|
509
|
-
class
|
|
509
|
+
class ln extends $t {
|
|
510
510
|
constructor() {
|
|
511
511
|
super(...arguments), this.type = 3;
|
|
512
512
|
}
|
|
@@ -514,7 +514,7 @@ class an extends $t {
|
|
|
514
514
|
this.element[this.name] = t === q ? void 0 : t;
|
|
515
515
|
}
|
|
516
516
|
}
|
|
517
|
-
class
|
|
517
|
+
class cn extends $t {
|
|
518
518
|
constructor() {
|
|
519
519
|
super(...arguments), this.type = 4;
|
|
520
520
|
}
|
|
@@ -522,7 +522,7 @@ class ln extends $t {
|
|
|
522
522
|
this.element.toggleAttribute(this.name, !!t && t !== q);
|
|
523
523
|
}
|
|
524
524
|
}
|
|
525
|
-
class
|
|
525
|
+
class un extends $t {
|
|
526
526
|
constructor(t, e, i, s, r) {
|
|
527
527
|
super(t, e, i, s, r), this.type = 5;
|
|
528
528
|
}
|
|
@@ -536,7 +536,7 @@ class cn extends $t {
|
|
|
536
536
|
typeof this._$AH == "function" ? this._$AH.call(this.options?.host ?? this.element, t) : this._$AH.handleEvent(t);
|
|
537
537
|
}
|
|
538
538
|
}
|
|
539
|
-
class
|
|
539
|
+
class dn {
|
|
540
540
|
constructor(t, e, i) {
|
|
541
541
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
|
|
542
542
|
}
|
|
@@ -547,9 +547,9 @@ class un {
|
|
|
547
547
|
Qe(this, t);
|
|
548
548
|
}
|
|
549
549
|
}
|
|
550
|
-
const
|
|
551
|
-
|
|
552
|
-
const
|
|
550
|
+
const hn = Li.litHtmlPolyfillSupport;
|
|
551
|
+
hn?.(mt, wt), (Li.litHtmlVersions ??= []).push("3.3.2");
|
|
552
|
+
const pn = (o, t, e) => {
|
|
553
553
|
const i = e?.renderBefore ?? t;
|
|
554
554
|
let s = i._$litPart$;
|
|
555
555
|
if (s === void 0) {
|
|
@@ -574,7 +574,7 @@ class Ke extends qe {
|
|
|
574
574
|
}
|
|
575
575
|
update(t) {
|
|
576
576
|
const e = this.render();
|
|
577
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do =
|
|
577
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = pn(e, this.renderRoot, this.renderOptions);
|
|
578
578
|
}
|
|
579
579
|
connectedCallback() {
|
|
580
580
|
super.connectedCallback(), this._$Do?.setConnected(!0);
|
|
@@ -587,15 +587,15 @@ class Ke extends qe {
|
|
|
587
587
|
}
|
|
588
588
|
}
|
|
589
589
|
Ke._$litElement$ = !0, Ke.finalized = !0, Bi.litElementHydrateSupport?.({ LitElement: Ke });
|
|
590
|
-
const
|
|
591
|
-
|
|
592
|
-
(Bi.litElementVersions ??= []).push("4.2.
|
|
590
|
+
const fn = Bi.litElementPolyfillSupport;
|
|
591
|
+
fn?.({ LitElement: Ke });
|
|
592
|
+
(Bi.litElementVersions ??= []).push("4.2.2");
|
|
593
593
|
/**
|
|
594
594
|
* @license
|
|
595
595
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
596
596
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
597
597
|
*/
|
|
598
|
-
const
|
|
598
|
+
const mn = (o) => class extends o {
|
|
599
599
|
static get properties() {
|
|
600
600
|
return {
|
|
601
601
|
/**
|
|
@@ -634,103 +634,103 @@ const fn = (o) => class extends o {
|
|
|
634
634
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
635
635
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
636
636
|
*/
|
|
637
|
-
const
|
|
638
|
-
function
|
|
637
|
+
const ns = [], hi = /* @__PURE__ */ new Set(), Hi = /* @__PURE__ */ new Set();
|
|
638
|
+
function as(o) {
|
|
639
639
|
return o && Object.prototype.hasOwnProperty.call(o, "__themes");
|
|
640
640
|
}
|
|
641
|
-
function
|
|
642
|
-
return
|
|
641
|
+
function _n(o) {
|
|
642
|
+
return as(customElements.get(o));
|
|
643
643
|
}
|
|
644
|
-
function
|
|
644
|
+
function gn(o = []) {
|
|
645
645
|
return [o].flat(1 / 0).filter((t) => t instanceof zi ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
|
|
646
646
|
}
|
|
647
|
-
function
|
|
647
|
+
function ls(o, t) {
|
|
648
648
|
return (o || "").split(" ").some((e) => new RegExp(`^${e.split("*").join(".*")}$`, "u").test(t));
|
|
649
649
|
}
|
|
650
|
-
function
|
|
650
|
+
function cs(o) {
|
|
651
651
|
return o.map((t) => t.cssText).join(`
|
|
652
652
|
`);
|
|
653
653
|
}
|
|
654
654
|
const It = "vaadin-themable-mixin-style";
|
|
655
|
-
function
|
|
655
|
+
function bn(o, t) {
|
|
656
656
|
const e = document.createElement("style");
|
|
657
|
-
e.id = It, e.textContent =
|
|
657
|
+
e.id = It, e.textContent = cs(o), t.content.appendChild(e);
|
|
658
658
|
}
|
|
659
|
-
function
|
|
659
|
+
function vn(o) {
|
|
660
660
|
if (!o.shadowRoot)
|
|
661
661
|
return;
|
|
662
662
|
const t = o.constructor;
|
|
663
663
|
if (o instanceof Ke)
|
|
664
|
-
[...o.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()),
|
|
664
|
+
[...o.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()), es(o.shadowRoot, t.elementStyles);
|
|
665
665
|
else {
|
|
666
666
|
const e = o.shadowRoot.getElementById(It), i = t.prototype._template;
|
|
667
667
|
e.textContent = i.content.getElementById(It).textContent;
|
|
668
668
|
}
|
|
669
669
|
}
|
|
670
|
-
function
|
|
670
|
+
function yn(o) {
|
|
671
671
|
hi.forEach((t) => {
|
|
672
672
|
const e = t.deref();
|
|
673
|
-
e instanceof o ?
|
|
673
|
+
e instanceof o ? vn(e) : e || hi.delete(t);
|
|
674
674
|
});
|
|
675
675
|
}
|
|
676
|
-
function
|
|
676
|
+
function us(o) {
|
|
677
677
|
if (o.prototype instanceof Ke)
|
|
678
678
|
o.elementStyles = o.finalizeStyles(o.styles);
|
|
679
679
|
else {
|
|
680
680
|
const t = o.prototype._template;
|
|
681
|
-
t.content.getElementById(It).textContent =
|
|
681
|
+
t.content.getElementById(It).textContent = cs(o.getStylesForThis());
|
|
682
682
|
}
|
|
683
683
|
Hi.forEach((t) => {
|
|
684
684
|
const e = customElements.get(t);
|
|
685
|
-
e !== o && e.prototype instanceof o &&
|
|
685
|
+
e !== o && e.prototype instanceof o && us(e);
|
|
686
686
|
});
|
|
687
687
|
}
|
|
688
|
-
function
|
|
688
|
+
function xn(o, t) {
|
|
689
689
|
const e = o.__themes;
|
|
690
690
|
return !e || !t ? !1 : e.some(
|
|
691
691
|
(i) => i.styles.some((s) => t.some((r) => r.cssText === s.cssText))
|
|
692
692
|
);
|
|
693
693
|
}
|
|
694
694
|
function L(o, t, e = {}) {
|
|
695
|
-
t =
|
|
695
|
+
t = gn(t), window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.registerStyles(o, t, e) : ns.push({
|
|
696
696
|
themeFor: o,
|
|
697
697
|
styles: t,
|
|
698
698
|
include: e.include,
|
|
699
699
|
moduleId: e.moduleId
|
|
700
700
|
}), o && Hi.forEach((i) => {
|
|
701
|
-
if (
|
|
701
|
+
if (ls(o, i) && _n(i)) {
|
|
702
702
|
const s = customElements.get(i);
|
|
703
|
-
|
|
703
|
+
xn(s, t) ? console.warn(`Registering styles that already exist for ${i}`) : (!window.Vaadin || !window.Vaadin.suppressPostFinalizeStylesWarning) && console.warn(
|
|
704
704
|
`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".`
|
|
705
|
-
),
|
|
705
|
+
), us(s), yn(s);
|
|
706
706
|
}
|
|
707
707
|
});
|
|
708
708
|
}
|
|
709
709
|
function pi() {
|
|
710
|
-
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() :
|
|
710
|
+
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() : ns;
|
|
711
711
|
}
|
|
712
|
-
function
|
|
712
|
+
function wn(o = "") {
|
|
713
713
|
let t = 0;
|
|
714
714
|
return o.startsWith("lumo-") || o.startsWith("material-") ? t = 1 : o.startsWith("vaadin-") && (t = 2), t;
|
|
715
715
|
}
|
|
716
|
-
function
|
|
716
|
+
function ds(o) {
|
|
717
717
|
const t = [];
|
|
718
718
|
return o.include && [].concat(o.include).forEach((e) => {
|
|
719
719
|
const i = pi().find((s) => s.moduleId === e);
|
|
720
|
-
i ? t.push(...
|
|
720
|
+
i ? t.push(...ds(i), ...i.styles) : console.warn(`Included moduleId ${e} not found in style registry`);
|
|
721
721
|
}, o.styles), t;
|
|
722
722
|
}
|
|
723
|
-
function
|
|
724
|
-
const t = `${o}-default-theme`, e = pi().filter((i) => i.moduleId !== t &&
|
|
723
|
+
function En(o) {
|
|
724
|
+
const t = `${o}-default-theme`, e = pi().filter((i) => i.moduleId !== t && ls(i.themeFor, o)).map((i) => ({
|
|
725
725
|
...i,
|
|
726
726
|
// Prepend styles from included themes
|
|
727
|
-
styles: [...
|
|
727
|
+
styles: [...ds(i), ...i.styles],
|
|
728
728
|
// Map moduleId to includePriority
|
|
729
|
-
includePriority:
|
|
729
|
+
includePriority: wn(i.moduleId)
|
|
730
730
|
})).sort((i, s) => s.includePriority - i.includePriority);
|
|
731
731
|
return e.length > 0 ? e : pi().filter((i) => i.moduleId === t);
|
|
732
732
|
}
|
|
733
|
-
const Ye = (o) => class extends
|
|
733
|
+
const Ye = (o) => class extends mn(o) {
|
|
734
734
|
constructor() {
|
|
735
735
|
super(), hi.add(new WeakRef(this));
|
|
736
736
|
}
|
|
@@ -742,7 +742,7 @@ const Ye = (o) => class extends fn(o) {
|
|
|
742
742
|
if (super.finalize(), this.is && Hi.add(this.is), this.elementStyles)
|
|
743
743
|
return;
|
|
744
744
|
const e = this.prototype._template;
|
|
745
|
-
!e ||
|
|
745
|
+
!e || as(this) || bn(this.getStylesForThis(), e);
|
|
746
746
|
}
|
|
747
747
|
/**
|
|
748
748
|
* Covers LitElement based component styling
|
|
@@ -760,7 +760,7 @@ const Ye = (o) => class extends fn(o) {
|
|
|
760
760
|
*/
|
|
761
761
|
static getStylesForThis() {
|
|
762
762
|
const e = o.__themes || [], i = Object.getPrototypeOf(this.prototype), s = (i ? i.constructor.__themes : []) || [];
|
|
763
|
-
this.__themes = [...e, ...s, ...
|
|
763
|
+
this.__themes = [...e, ...s, ...En(this.is)];
|
|
764
764
|
const r = this.__themes.flatMap((n) => n.styles);
|
|
765
765
|
return r.filter((n, a) => a === r.lastIndexOf(n));
|
|
766
766
|
}
|
|
@@ -770,19 +770,19 @@ const Ye = (o) => class extends fn(o) {
|
|
|
770
770
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
771
771
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
772
772
|
*/
|
|
773
|
-
const
|
|
773
|
+
const Sn = (o, ...t) => {
|
|
774
774
|
const e = document.createElement("style");
|
|
775
775
|
e.id = o, e.textContent = t.map((i) => i.toString()).join(`
|
|
776
776
|
`).replace(":host", "html"), document.head.insertAdjacentElement("afterbegin", e);
|
|
777
777
|
}, it = (o, ...t) => {
|
|
778
|
-
|
|
778
|
+
Sn(`lumo-${o}`, t);
|
|
779
779
|
};
|
|
780
780
|
/**
|
|
781
781
|
* @license
|
|
782
782
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
783
783
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
784
784
|
*/
|
|
785
|
-
const
|
|
785
|
+
const An = P`
|
|
786
786
|
:host {
|
|
787
787
|
--lumo-size-xs: 1.625rem;
|
|
788
788
|
--lumo-size-s: 1.875rem;
|
|
@@ -798,13 +798,13 @@ const Sn = P`
|
|
|
798
798
|
--lumo-icon-size: var(--lumo-icon-size-m);
|
|
799
799
|
}
|
|
800
800
|
`;
|
|
801
|
-
it("sizing-props",
|
|
801
|
+
it("sizing-props", An);
|
|
802
802
|
/**
|
|
803
803
|
* @license
|
|
804
804
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
805
805
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
806
806
|
*/
|
|
807
|
-
const
|
|
807
|
+
const Cn = P`
|
|
808
808
|
:host {
|
|
809
809
|
/* Square */
|
|
810
810
|
--lumo-space-xs: 0.25rem;
|
|
@@ -828,13 +828,13 @@ const An = P`
|
|
|
828
828
|
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
|
829
829
|
}
|
|
830
830
|
`;
|
|
831
|
-
it("spacing-props",
|
|
831
|
+
it("spacing-props", Cn);
|
|
832
832
|
/**
|
|
833
833
|
* @license
|
|
834
834
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
835
835
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
836
836
|
*/
|
|
837
|
-
const
|
|
837
|
+
const Pn = P`
|
|
838
838
|
:host {
|
|
839
839
|
/* Border radius */
|
|
840
840
|
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
@@ -936,13 +936,13 @@ P`
|
|
|
936
936
|
--vaadin-input-field-value-font-weight: 500;
|
|
937
937
|
}
|
|
938
938
|
`;
|
|
939
|
-
it("style-props",
|
|
939
|
+
it("style-props", Pn);
|
|
940
940
|
/**
|
|
941
941
|
* @license
|
|
942
942
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
943
943
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
944
944
|
*/
|
|
945
|
-
const
|
|
945
|
+
const kn = P`
|
|
946
946
|
:host {
|
|
947
947
|
/* Base (background) */
|
|
948
948
|
--lumo-base-color: #fff;
|
|
@@ -1028,8 +1028,8 @@ const Pn = P`
|
|
|
1028
1028
|
}
|
|
1029
1029
|
}
|
|
1030
1030
|
`;
|
|
1031
|
-
it("color-props",
|
|
1032
|
-
const
|
|
1031
|
+
it("color-props", kn);
|
|
1032
|
+
const Dn = P`
|
|
1033
1033
|
[theme~='dark'] {
|
|
1034
1034
|
/* Base (background) */
|
|
1035
1035
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -1148,13 +1148,13 @@ const kn = P`
|
|
|
1148
1148
|
background: transparent;
|
|
1149
1149
|
}
|
|
1150
1150
|
`;
|
|
1151
|
-
L("",
|
|
1151
|
+
L("", Dn, { moduleId: "lumo-color" });
|
|
1152
1152
|
/**
|
|
1153
1153
|
* @license
|
|
1154
1154
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1155
1155
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1156
1156
|
*/
|
|
1157
|
-
const
|
|
1157
|
+
const Tn = P`
|
|
1158
1158
|
:host {
|
|
1159
1159
|
/* prettier-ignore */
|
|
1160
1160
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -1174,7 +1174,7 @@ const Dn = P`
|
|
|
1174
1174
|
--lumo-line-height-s: 1.375;
|
|
1175
1175
|
--lumo-line-height-m: 1.625;
|
|
1176
1176
|
}
|
|
1177
|
-
`,
|
|
1177
|
+
`, Mn = P`
|
|
1178
1178
|
body,
|
|
1179
1179
|
:host {
|
|
1180
1180
|
font-family: var(--lumo-font-family);
|
|
@@ -1267,14 +1267,14 @@ const Dn = P`
|
|
|
1267
1267
|
border-right: 2px solid var(--lumo-contrast-30pct);
|
|
1268
1268
|
}
|
|
1269
1269
|
`;
|
|
1270
|
-
L("",
|
|
1271
|
-
it("typography-props",
|
|
1270
|
+
L("", Mn, { moduleId: "lumo-typography" });
|
|
1271
|
+
it("typography-props", Tn);
|
|
1272
1272
|
/**
|
|
1273
1273
|
* @license
|
|
1274
1274
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1275
1275
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1276
1276
|
*/
|
|
1277
|
-
const
|
|
1277
|
+
const hs = P`
|
|
1278
1278
|
:host {
|
|
1279
1279
|
top: var(--lumo-space-m);
|
|
1280
1280
|
right: var(--lumo-space-m);
|
|
@@ -1340,13 +1340,13 @@ const ds = P`
|
|
|
1340
1340
|
}
|
|
1341
1341
|
}
|
|
1342
1342
|
`;
|
|
1343
|
-
L("",
|
|
1343
|
+
L("", hs, { moduleId: "lumo-overlay" });
|
|
1344
1344
|
/**
|
|
1345
1345
|
* @license
|
|
1346
1346
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1347
1347
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1348
1348
|
*/
|
|
1349
|
-
const
|
|
1349
|
+
const ps = P`
|
|
1350
1350
|
:host([opening]),
|
|
1351
1351
|
:host([closing]) {
|
|
1352
1352
|
animation: 0.14s lumo-overlay-dummy-animation;
|
|
@@ -1377,8 +1377,8 @@ const hs = P`
|
|
|
1377
1377
|
}
|
|
1378
1378
|
}
|
|
1379
1379
|
`;
|
|
1380
|
-
L("",
|
|
1381
|
-
const
|
|
1380
|
+
L("", ps, { moduleId: "lumo-menu-overlay-core" });
|
|
1381
|
+
const On = P`
|
|
1382
1382
|
/* Small viewport (bottom sheet) styles */
|
|
1383
1383
|
/* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
|
|
1384
1384
|
@media (max-width: 450px), (max-height: 450px) {
|
|
@@ -1440,9 +1440,9 @@ const Mn = P`
|
|
|
1440
1440
|
transform: translateY(150%);
|
|
1441
1441
|
}
|
|
1442
1442
|
}
|
|
1443
|
-
`,
|
|
1444
|
-
L("",
|
|
1445
|
-
const
|
|
1443
|
+
`, fs = [hs, ps, On];
|
|
1444
|
+
L("", fs, { moduleId: "lumo-menu-overlay" });
|
|
1445
|
+
const In = P`
|
|
1446
1446
|
[part='overlay'] {
|
|
1447
1447
|
/*
|
|
1448
1448
|
Width:
|
|
@@ -1488,10 +1488,10 @@ const On = P`
|
|
|
1488
1488
|
}
|
|
1489
1489
|
}
|
|
1490
1490
|
`;
|
|
1491
|
-
L("vaadin-date-picker-overlay", [
|
|
1491
|
+
L("vaadin-date-picker-overlay", [fs, In], {
|
|
1492
1492
|
moduleId: "lumo-date-picker-overlay"
|
|
1493
1493
|
});
|
|
1494
|
-
const
|
|
1494
|
+
const Fn = P`
|
|
1495
1495
|
:host {
|
|
1496
1496
|
/* Sizing */
|
|
1497
1497
|
--lumo-button-size: var(--lumo-size-m);
|
|
@@ -1768,7 +1768,7 @@ const In = P`
|
|
|
1768
1768
|
margin-right: 0;
|
|
1769
1769
|
}
|
|
1770
1770
|
`;
|
|
1771
|
-
L("vaadin-button",
|
|
1771
|
+
L("vaadin-button", Fn, { moduleId: "lumo-button" });
|
|
1772
1772
|
L(
|
|
1773
1773
|
"vaadin-date-picker-year",
|
|
1774
1774
|
P`
|
|
@@ -2293,7 +2293,7 @@ L(
|
|
|
2293
2293
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2294
2294
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2295
2295
|
*/
|
|
2296
|
-
const
|
|
2296
|
+
const Nn = P`
|
|
2297
2297
|
@font-face {
|
|
2298
2298
|
font-family: 'lumo-icons';
|
|
2299
2299
|
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==)
|
|
@@ -2347,13 +2347,13 @@ const Fn = P`
|
|
|
2347
2347
|
--lumo-icons-user: '\\ea2a';
|
|
2348
2348
|
}
|
|
2349
2349
|
`;
|
|
2350
|
-
it("font-icons",
|
|
2350
|
+
it("font-icons", Nn);
|
|
2351
2351
|
/**
|
|
2352
2352
|
* @license
|
|
2353
2353
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2354
2354
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2355
2355
|
*/
|
|
2356
|
-
const
|
|
2356
|
+
const ms = P`
|
|
2357
2357
|
[part$='button'] {
|
|
2358
2358
|
flex: none;
|
|
2359
2359
|
width: 1em;
|
|
@@ -2381,13 +2381,13 @@ const fs = P`
|
|
|
2381
2381
|
display: block;
|
|
2382
2382
|
}
|
|
2383
2383
|
`;
|
|
2384
|
-
L("",
|
|
2384
|
+
L("", ms, { moduleId: "lumo-field-button" });
|
|
2385
2385
|
/**
|
|
2386
2386
|
* @license
|
|
2387
2387
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2388
2388
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2389
2389
|
*/
|
|
2390
|
-
const
|
|
2390
|
+
const zn = P`
|
|
2391
2391
|
:host {
|
|
2392
2392
|
--_helper-spacing: var(--vaadin-input-field-helper-spacing, 0.4em);
|
|
2393
2393
|
}
|
|
@@ -2449,7 +2449,7 @@ const Nn = P`
|
|
|
2449
2449
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2450
2450
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2451
2451
|
*/
|
|
2452
|
-
const
|
|
2452
|
+
const _s = P`
|
|
2453
2453
|
[part='label'] {
|
|
2454
2454
|
align-self: flex-start;
|
|
2455
2455
|
color: var(--vaadin-input-field-label-color, var(--lumo-secondary-text-color));
|
|
@@ -2562,13 +2562,13 @@ const ms = P`
|
|
|
2562
2562
|
margin-right: calc(var(--lumo-border-radius-m) / 4);
|
|
2563
2563
|
}
|
|
2564
2564
|
`;
|
|
2565
|
-
L("",
|
|
2565
|
+
L("", _s, { moduleId: "lumo-required-field" });
|
|
2566
2566
|
/**
|
|
2567
2567
|
* @license
|
|
2568
2568
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2569
2569
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2570
2570
|
*/
|
|
2571
|
-
const
|
|
2571
|
+
const Ln = P`
|
|
2572
2572
|
:host {
|
|
2573
2573
|
--lumo-text-field-size: var(--lumo-size-m);
|
|
2574
2574
|
color: var(--vaadin-input-field-value-color, var(--lumo-body-text-color));
|
|
@@ -2699,11 +2699,11 @@ const zn = P`
|
|
|
2699
2699
|
[part='clear-button']::before {
|
|
2700
2700
|
content: var(--lumo-icons-cross);
|
|
2701
2701
|
}
|
|
2702
|
-
`,
|
|
2703
|
-
L("",
|
|
2702
|
+
`, gs = [_s, ms, zn, Ln];
|
|
2703
|
+
L("", gs, {
|
|
2704
2704
|
moduleId: "lumo-input-field-shared-styles"
|
|
2705
2705
|
});
|
|
2706
|
-
const
|
|
2706
|
+
const Rn = P`
|
|
2707
2707
|
[part='toggle-button']::before {
|
|
2708
2708
|
content: var(--lumo-icons-calendar);
|
|
2709
2709
|
}
|
|
@@ -2726,7 +2726,7 @@ const Ln = P`
|
|
|
2726
2726
|
--_lumo-text-field-overflow-mask-image: none;
|
|
2727
2727
|
}
|
|
2728
2728
|
`;
|
|
2729
|
-
L("vaadin-date-picker", [
|
|
2729
|
+
L("vaadin-date-picker", [gs, Rn], { moduleId: "lumo-date-picker" });
|
|
2730
2730
|
/**
|
|
2731
2731
|
@license
|
|
2732
2732
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -2748,9 +2748,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2748
2748
|
Code distributed by Google as part of the polymer project is also
|
|
2749
2749
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2750
2750
|
*/
|
|
2751
|
-
let
|
|
2751
|
+
let Bn = /(url\()([^)]*)(\))/g, Hn = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, St, de;
|
|
2752
2752
|
function ht(o, t) {
|
|
2753
|
-
if (o &&
|
|
2753
|
+
if (o && Hn.test(o) || o === "//")
|
|
2754
2754
|
return o;
|
|
2755
2755
|
if (St === void 0) {
|
|
2756
2756
|
St = !1;
|
|
@@ -2769,7 +2769,7 @@ function ht(o, t) {
|
|
|
2769
2769
|
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;
|
|
2770
2770
|
}
|
|
2771
2771
|
function $i(o, t) {
|
|
2772
|
-
return o.replace(
|
|
2772
|
+
return o.replace(Bn, function(e, i, s, r) {
|
|
2773
2773
|
return i + "'" + ht(s.replace(/["']/g, ""), t) + "'" + r;
|
|
2774
2774
|
});
|
|
2775
2775
|
}
|
|
@@ -2785,9 +2785,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2785
2785
|
Code distributed by Google as part of the polymer project is also
|
|
2786
2786
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2787
2787
|
*/
|
|
2788
|
-
const
|
|
2788
|
+
const bs = !window.ShadyDOM || !window.ShadyDOM.inUse;
|
|
2789
2789
|
!window.ShadyCSS || window.ShadyCSS.nativeCss;
|
|
2790
|
-
const
|
|
2790
|
+
const $n = bs && "adoptedStyleSheets" in Document.prototype && "replaceSync" in CSSStyleSheet.prototype && // Since spec may change, feature detect exact API we need
|
|
2791
2791
|
(() => {
|
|
2792
2792
|
try {
|
|
2793
2793
|
const o = new CSSStyleSheet();
|
|
@@ -2798,11 +2798,11 @@ const Hn = gs && "adoptedStyleSheets" in Document.prototype && "replaceSync" in
|
|
|
2798
2798
|
return !1;
|
|
2799
2799
|
}
|
|
2800
2800
|
})();
|
|
2801
|
-
let
|
|
2801
|
+
let Yn = window.Polymer && window.Polymer.rootPath || Yi(document.baseURI || window.location.href), Ft = window.Polymer && window.Polymer.sanitizeDOMValue || void 0;
|
|
2802
2802
|
window.Polymer && window.Polymer.setPassiveTouchGestures;
|
|
2803
|
-
let Nt = window.Polymer && window.Polymer.strictTemplatePolicy || !1,
|
|
2803
|
+
let Nt = window.Polymer && window.Polymer.strictTemplatePolicy || !1, jn = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, vs = window.Polymer && window.Polymer.legacyOptimizations || !1, ys = window.Polymer && window.Polymer.legacyWarnings || !1, Vn = window.Polymer && window.Polymer.syncInitialRender || !1, fi = window.Polymer && window.Polymer.legacyUndefined || !1, Un = window.Polymer && window.Polymer.orderedComputed || !1, vo = window.Polymer && window.Polymer.removeNestedTemplates || !1, Wn = window.Polymer && window.Polymer.fastDomIf || !1, yo = window.Polymer && window.Polymer.suppressTemplateNotifications || !1;
|
|
2804
2804
|
window.Polymer && window.Polymer.legacyNoObservedAttributes;
|
|
2805
|
-
let
|
|
2805
|
+
let qn = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
|
|
2806
2806
|
/**
|
|
2807
2807
|
@license
|
|
2808
2808
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -2812,14 +2812,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2812
2812
|
Code distributed by Google as part of the polymer project is also
|
|
2813
2813
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2814
2814
|
*/
|
|
2815
|
-
let
|
|
2815
|
+
let Kn = 0;
|
|
2816
2816
|
const V = function(o) {
|
|
2817
2817
|
let t = (
|
|
2818
2818
|
/** @type {!MixinFunction} */
|
|
2819
2819
|
o.__mixinApplications
|
|
2820
2820
|
);
|
|
2821
2821
|
t || (t = /* @__PURE__ */ new WeakMap(), o.__mixinApplications = t);
|
|
2822
|
-
let e =
|
|
2822
|
+
let e = Kn++;
|
|
2823
2823
|
function i(s) {
|
|
2824
2824
|
let r = (
|
|
2825
2825
|
/** @type {!MixinFunction} */
|
|
@@ -2850,14 +2850,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2850
2850
|
Code distributed by Google as part of the polymer project is also
|
|
2851
2851
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2852
2852
|
*/
|
|
2853
|
-
let ji = {},
|
|
2854
|
-
function
|
|
2855
|
-
ji[o] =
|
|
2853
|
+
let ji = {}, xs = {};
|
|
2854
|
+
function xo(o, t) {
|
|
2855
|
+
ji[o] = xs[o.toLowerCase()] = t;
|
|
2856
2856
|
}
|
|
2857
|
-
function
|
|
2858
|
-
return ji[o] ||
|
|
2857
|
+
function wo(o) {
|
|
2858
|
+
return ji[o] || xs[o.toLowerCase()];
|
|
2859
2859
|
}
|
|
2860
|
-
function
|
|
2860
|
+
function Gn(o) {
|
|
2861
2861
|
o.querySelector("style") && console.warn("dom-module %s has style outside template", o.id);
|
|
2862
2862
|
}
|
|
2863
2863
|
class _t extends HTMLElement {
|
|
@@ -2878,7 +2878,7 @@ class _t extends HTMLElement {
|
|
|
2878
2878
|
*/
|
|
2879
2879
|
static import(t, e) {
|
|
2880
2880
|
if (t) {
|
|
2881
|
-
let i =
|
|
2881
|
+
let i = wo(t);
|
|
2882
2882
|
return i && e ? i.querySelector(e) : i;
|
|
2883
2883
|
}
|
|
2884
2884
|
return null;
|
|
@@ -2926,9 +2926,9 @@ class _t extends HTMLElement {
|
|
|
2926
2926
|
*/
|
|
2927
2927
|
register(t) {
|
|
2928
2928
|
if (t = t || this.id, t) {
|
|
2929
|
-
if (Nt &&
|
|
2930
|
-
throw
|
|
2931
|
-
this.id = t,
|
|
2929
|
+
if (Nt && wo(t) !== void 0)
|
|
2930
|
+
throw xo(t, null), new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);
|
|
2931
|
+
this.id = t, xo(t, this), Gn(this);
|
|
2932
2932
|
}
|
|
2933
2933
|
}
|
|
2934
2934
|
}
|
|
@@ -2943,14 +2943,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2943
2943
|
Code distributed by Google as part of the polymer project is also
|
|
2944
2944
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2945
2945
|
*/
|
|
2946
|
-
const
|
|
2947
|
-
function
|
|
2946
|
+
const Jn = "link[rel=import][type~=css]", Xn = "include", Eo = "shady-unscoped";
|
|
2947
|
+
function ws(o) {
|
|
2948
2948
|
return (
|
|
2949
2949
|
/** @type {?DomModule} */
|
|
2950
2950
|
_t.import(o)
|
|
2951
2951
|
);
|
|
2952
2952
|
}
|
|
2953
|
-
function
|
|
2953
|
+
function So(o) {
|
|
2954
2954
|
let t = o.body ? o.body : o;
|
|
2955
2955
|
const e = $i(
|
|
2956
2956
|
t.textContent,
|
|
@@ -2958,24 +2958,24 @@ function Eo(o) {
|
|
|
2958
2958
|
), i = document.createElement("style");
|
|
2959
2959
|
return i.textContent = e, i;
|
|
2960
2960
|
}
|
|
2961
|
-
function
|
|
2961
|
+
function Zn(o) {
|
|
2962
2962
|
const t = o.trim().split(/\s+/), e = [];
|
|
2963
2963
|
for (let i = 0; i < t.length; i++)
|
|
2964
|
-
e.push(...
|
|
2964
|
+
e.push(...Qn(t[i]));
|
|
2965
2965
|
return e;
|
|
2966
2966
|
}
|
|
2967
|
-
function
|
|
2968
|
-
const t =
|
|
2967
|
+
function Qn(o) {
|
|
2968
|
+
const t = ws(o);
|
|
2969
2969
|
if (!t)
|
|
2970
2970
|
return console.warn("Could not find style data in module named", o), [];
|
|
2971
2971
|
if (t._styles === void 0) {
|
|
2972
2972
|
const e = [];
|
|
2973
|
-
e.push(...
|
|
2973
|
+
e.push(...Ss(t));
|
|
2974
2974
|
const i = (
|
|
2975
2975
|
/** @type {?HTMLTemplateElement} */
|
|
2976
2976
|
t.querySelector("template")
|
|
2977
2977
|
);
|
|
2978
|
-
i && e.push(...
|
|
2978
|
+
i && e.push(...Es(
|
|
2979
2979
|
i,
|
|
2980
2980
|
/** @type {templateWithAssetPath} */
|
|
2981
2981
|
t.assetpath
|
|
@@ -2983,12 +2983,12 @@ function Zn(o) {
|
|
|
2983
2983
|
}
|
|
2984
2984
|
return t._styles;
|
|
2985
2985
|
}
|
|
2986
|
-
function
|
|
2986
|
+
function Es(o, t) {
|
|
2987
2987
|
if (!o._styles) {
|
|
2988
2988
|
const e = [], i = o.content.querySelectorAll("style");
|
|
2989
2989
|
for (let s = 0; s < i.length; s++) {
|
|
2990
|
-
let r = i[s], n = r.getAttribute(
|
|
2991
|
-
n && e.push(...
|
|
2990
|
+
let r = i[s], n = r.getAttribute(Xn);
|
|
2991
|
+
n && e.push(...Zn(n).filter(function(a, l, c) {
|
|
2992
2992
|
return c.indexOf(a) === l;
|
|
2993
2993
|
})), t && (r.textContent = $i(
|
|
2994
2994
|
r.textContent,
|
|
@@ -3000,21 +3000,21 @@ function ws(o, t) {
|
|
|
3000
3000
|
}
|
|
3001
3001
|
return o._styles;
|
|
3002
3002
|
}
|
|
3003
|
-
function
|
|
3004
|
-
let t =
|
|
3005
|
-
return t ?
|
|
3003
|
+
function ea(o) {
|
|
3004
|
+
let t = ws(o);
|
|
3005
|
+
return t ? Ss(t) : [];
|
|
3006
3006
|
}
|
|
3007
|
-
function
|
|
3008
|
-
const t = [], e = o.querySelectorAll(
|
|
3007
|
+
function Ss(o) {
|
|
3008
|
+
const t = [], e = o.querySelectorAll(Jn);
|
|
3009
3009
|
for (let i = 0; i < e.length; i++) {
|
|
3010
3010
|
let s = e[i];
|
|
3011
3011
|
if (s.import) {
|
|
3012
|
-
const r = s.import, n = s.hasAttribute(
|
|
3012
|
+
const r = s.import, n = s.hasAttribute(Eo);
|
|
3013
3013
|
if (n && !r._unscopedStyle) {
|
|
3014
|
-
const a =
|
|
3015
|
-
a.setAttribute(
|
|
3014
|
+
const a = So(r);
|
|
3015
|
+
a.setAttribute(Eo, ""), r._unscopedStyle = a;
|
|
3016
3016
|
} else
|
|
3017
|
-
r._style || (r._style =
|
|
3017
|
+
r._style || (r._style = So(r));
|
|
3018
3018
|
t.push(n ? r._unscopedStyle : r._style);
|
|
3019
3019
|
}
|
|
3020
3020
|
}
|
|
@@ -3046,7 +3046,7 @@ function je(o) {
|
|
|
3046
3046
|
let t = o.indexOf(".");
|
|
3047
3047
|
return t === -1 ? o : o.slice(0, t);
|
|
3048
3048
|
}
|
|
3049
|
-
function
|
|
3049
|
+
function As(o, t) {
|
|
3050
3050
|
return o.indexOf(t + ".") === 0;
|
|
3051
3051
|
}
|
|
3052
3052
|
function gt(o, t) {
|
|
@@ -3055,8 +3055,8 @@ function gt(o, t) {
|
|
|
3055
3055
|
function bt(o, t, e) {
|
|
3056
3056
|
return t + e.slice(o.length);
|
|
3057
3057
|
}
|
|
3058
|
-
function
|
|
3059
|
-
return o === t ||
|
|
3058
|
+
function ta(o, t) {
|
|
3059
|
+
return o === t || As(o, t) || gt(o, t);
|
|
3060
3060
|
}
|
|
3061
3061
|
function ct(o) {
|
|
3062
3062
|
if (Array.isArray(o)) {
|
|
@@ -3070,11 +3070,11 @@ function ct(o) {
|
|
|
3070
3070
|
} else
|
|
3071
3071
|
return o;
|
|
3072
3072
|
}
|
|
3073
|
-
function
|
|
3073
|
+
function Cs(o) {
|
|
3074
3074
|
return Array.isArray(o) ? ct(o).split(".") : o.toString().split(".");
|
|
3075
3075
|
}
|
|
3076
3076
|
function re(o, t, e) {
|
|
3077
|
-
let i = o, s =
|
|
3077
|
+
let i = o, s = Cs(t);
|
|
3078
3078
|
for (let r = 0; r < s.length; r++) {
|
|
3079
3079
|
if (!i)
|
|
3080
3080
|
return;
|
|
@@ -3083,8 +3083,8 @@ function re(o, t, e) {
|
|
|
3083
3083
|
}
|
|
3084
3084
|
return e && (e.path = s.join(".")), i;
|
|
3085
3085
|
}
|
|
3086
|
-
function
|
|
3087
|
-
let i = o, s =
|
|
3086
|
+
function Ao(o, t, e) {
|
|
3087
|
+
let i = o, s = Cs(t), r = s[s.length - 1];
|
|
3088
3088
|
if (s.length > 1) {
|
|
3089
3089
|
for (let n = 0; n < s.length - 1; n++) {
|
|
3090
3090
|
let a = s[n];
|
|
@@ -3105,15 +3105,15 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3105
3105
|
Code distributed by Google as part of the polymer project is also
|
|
3106
3106
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3107
3107
|
*/
|
|
3108
|
-
const zt = {},
|
|
3109
|
-
function
|
|
3108
|
+
const zt = {}, ia = /-[a-z]/g, oa = /([A-Z])/g;
|
|
3109
|
+
function Ps(o) {
|
|
3110
3110
|
return zt[o] || (zt[o] = o.indexOf("-") < 0 ? o : o.replace(
|
|
3111
|
-
|
|
3111
|
+
ia,
|
|
3112
3112
|
(t) => t[1].toUpperCase()
|
|
3113
3113
|
));
|
|
3114
3114
|
}
|
|
3115
3115
|
function Yt(o) {
|
|
3116
|
-
return zt[o] || (zt[o] = o.replace(
|
|
3116
|
+
return zt[o] || (zt[o] = o.replace(oa, "-$1").toLowerCase());
|
|
3117
3117
|
}
|
|
3118
3118
|
/**
|
|
3119
3119
|
@license
|
|
@@ -3124,9 +3124,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3124
3124
|
Code distributed by Google as part of the polymer project is also
|
|
3125
3125
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3126
3126
|
*/
|
|
3127
|
-
let
|
|
3128
|
-
new window.MutationObserver(
|
|
3129
|
-
function
|
|
3127
|
+
let sa = 0, ks = 0, Ge = [], ra = 0, _i = !1, Ds = document.createTextNode("");
|
|
3128
|
+
new window.MutationObserver(na).observe(Ds, { characterData: !0 });
|
|
3129
|
+
function na() {
|
|
3130
3130
|
_i = !1;
|
|
3131
3131
|
const o = Ge.length;
|
|
3132
3132
|
for (let t = 0; t < o; t++) {
|
|
@@ -3140,9 +3140,9 @@ function ra() {
|
|
|
3140
3140
|
});
|
|
3141
3141
|
}
|
|
3142
3142
|
}
|
|
3143
|
-
Ge.splice(0, o),
|
|
3143
|
+
Ge.splice(0, o), ks += o;
|
|
3144
3144
|
}
|
|
3145
|
-
const
|
|
3145
|
+
const aa = {
|
|
3146
3146
|
/**
|
|
3147
3147
|
* Returns a sub-module with the async interface providing the provided
|
|
3148
3148
|
* delay.
|
|
@@ -3182,7 +3182,7 @@ const na = {
|
|
|
3182
3182
|
cancel(o) {
|
|
3183
3183
|
window.clearTimeout(o);
|
|
3184
3184
|
}
|
|
3185
|
-
},
|
|
3185
|
+
}, Ts = {
|
|
3186
3186
|
/**
|
|
3187
3187
|
* Enqueues a function called at microtask timing.
|
|
3188
3188
|
*
|
|
@@ -3191,7 +3191,7 @@ const na = {
|
|
|
3191
3191
|
* @return {number} Handle used for canceling task
|
|
3192
3192
|
*/
|
|
3193
3193
|
run(o) {
|
|
3194
|
-
return _i || (_i = !0,
|
|
3194
|
+
return _i || (_i = !0, Ds.textContent = ra++), Ge.push(o), sa++;
|
|
3195
3195
|
},
|
|
3196
3196
|
/**
|
|
3197
3197
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -3201,7 +3201,7 @@ const na = {
|
|
|
3201
3201
|
* @return {void}
|
|
3202
3202
|
*/
|
|
3203
3203
|
cancel(o) {
|
|
3204
|
-
const t = o -
|
|
3204
|
+
const t = o - ks;
|
|
3205
3205
|
if (t >= 0) {
|
|
3206
3206
|
if (!Ge[t])
|
|
3207
3207
|
throw new Error("invalid async handle: " + o);
|
|
@@ -3218,7 +3218,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3218
3218
|
Code distributed by Google as part of the polymer project is also
|
|
3219
3219
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3220
3220
|
*/
|
|
3221
|
-
const
|
|
3221
|
+
const la = Ts, Ms = V(
|
|
3222
3222
|
/**
|
|
3223
3223
|
* @template T
|
|
3224
3224
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -3427,7 +3427,7 @@ const aa = Ds, Ts = V(
|
|
|
3427
3427
|
* @override
|
|
3428
3428
|
*/
|
|
3429
3429
|
_invalidateProperties() {
|
|
3430
|
-
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0,
|
|
3430
|
+
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0, la.run(() => {
|
|
3431
3431
|
this.__dataInvalid && (this.__dataInvalid = !1, this._flushProperties());
|
|
3432
3432
|
}));
|
|
3433
3433
|
}
|
|
@@ -3654,23 +3654,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3654
3654
|
Code distributed by Google as part of the polymer project is also
|
|
3655
3655
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3656
3656
|
*/
|
|
3657
|
-
const
|
|
3657
|
+
const Os = {};
|
|
3658
3658
|
let At = HTMLElement.prototype;
|
|
3659
3659
|
for (; At; ) {
|
|
3660
3660
|
let o = Object.getOwnPropertyNames(At);
|
|
3661
3661
|
for (let t = 0; t < o.length; t++)
|
|
3662
|
-
|
|
3662
|
+
Os[o[t]] = !0;
|
|
3663
3663
|
At = Object.getPrototypeOf(At);
|
|
3664
3664
|
}
|
|
3665
|
-
const
|
|
3666
|
-
function
|
|
3667
|
-
if (!
|
|
3665
|
+
const ca = window.trustedTypes ? (o) => trustedTypes.isHTML(o) || trustedTypes.isScript(o) || trustedTypes.isScriptURL(o) : () => !1;
|
|
3666
|
+
function ua(o, t) {
|
|
3667
|
+
if (!Os[t]) {
|
|
3668
3668
|
let e = o[t];
|
|
3669
3669
|
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));
|
|
3670
3670
|
}
|
|
3671
3671
|
}
|
|
3672
|
-
const
|
|
3673
|
-
const t =
|
|
3672
|
+
const da = V((o) => {
|
|
3673
|
+
const t = Ms(o);
|
|
3674
3674
|
class e extends t {
|
|
3675
3675
|
/**
|
|
3676
3676
|
* Generates property accessors for all attributes in the standard
|
|
@@ -3688,7 +3688,7 @@ const ua = V((o) => {
|
|
|
3688
3688
|
this.observedAttributes
|
|
3689
3689
|
);
|
|
3690
3690
|
for (let r = 0; r < s.length; r++)
|
|
3691
|
-
this.prototype._createPropertyAccessor(
|
|
3691
|
+
this.prototype._createPropertyAccessor(Ps(s[r]));
|
|
3692
3692
|
}
|
|
3693
3693
|
/**
|
|
3694
3694
|
* Returns an attribute name that corresponds to the given property.
|
|
@@ -3765,7 +3765,7 @@ const ua = V((o) => {
|
|
|
3765
3765
|
if (s instanceof Date)
|
|
3766
3766
|
return s.toString();
|
|
3767
3767
|
if (s) {
|
|
3768
|
-
if (
|
|
3768
|
+
if (ca(s))
|
|
3769
3769
|
return (
|
|
3770
3770
|
/** @type {?} */
|
|
3771
3771
|
s
|
|
@@ -3846,7 +3846,7 @@ const ua = V((o) => {
|
|
|
3846
3846
|
* @override
|
|
3847
3847
|
*/
|
|
3848
3848
|
_definePropertyAccessor(s, r) {
|
|
3849
|
-
|
|
3849
|
+
ua(this, s), super._definePropertyAccessor(s, r);
|
|
3850
3850
|
}
|
|
3851
3851
|
/**
|
|
3852
3852
|
* Returns true if this library created an accessor for the given property.
|
|
@@ -3881,23 +3881,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3881
3881
|
Code distributed by Google as part of the polymer project is also
|
|
3882
3882
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3883
3883
|
*/
|
|
3884
|
-
const
|
|
3884
|
+
const ha = {
|
|
3885
3885
|
"dom-if": !0,
|
|
3886
3886
|
"dom-repeat": !0
|
|
3887
3887
|
};
|
|
3888
|
-
let
|
|
3889
|
-
function
|
|
3890
|
-
if (!
|
|
3891
|
-
|
|
3888
|
+
let Co = !1, Po = !1;
|
|
3889
|
+
function pa() {
|
|
3890
|
+
if (!Co) {
|
|
3891
|
+
Co = !0;
|
|
3892
3892
|
const o = document.createElement("textarea");
|
|
3893
|
-
o.placeholder = "a",
|
|
3893
|
+
o.placeholder = "a", Po = o.placeholder === o.textContent;
|
|
3894
3894
|
}
|
|
3895
|
-
return
|
|
3895
|
+
return Po;
|
|
3896
3896
|
}
|
|
3897
|
-
function
|
|
3898
|
-
|
|
3897
|
+
function fa(o) {
|
|
3898
|
+
pa() && o.localName === "textarea" && o.placeholder && o.placeholder === o.textContent && (o.textContent = null);
|
|
3899
3899
|
}
|
|
3900
|
-
const
|
|
3900
|
+
const ma = (() => {
|
|
3901
3901
|
const o = window.trustedTypes && window.trustedTypes.createPolicy(
|
|
3902
3902
|
"polymer-template-event-attribute-policy",
|
|
3903
3903
|
{
|
|
@@ -3916,19 +3916,19 @@ const fa = (() => {
|
|
|
3916
3916
|
t.setAttribute(i, s);
|
|
3917
3917
|
};
|
|
3918
3918
|
})();
|
|
3919
|
-
function
|
|
3919
|
+
function _a(o) {
|
|
3920
3920
|
let t = o.getAttribute("is");
|
|
3921
|
-
if (t &&
|
|
3921
|
+
if (t && ha[t]) {
|
|
3922
3922
|
let e = o;
|
|
3923
3923
|
for (e.removeAttribute("is"), o = e.ownerDocument.createElement(t), e.parentNode.replaceChild(o, e), o.appendChild(e); e.attributes.length; ) {
|
|
3924
3924
|
const { name: i } = e.attributes[0];
|
|
3925
|
-
|
|
3925
|
+
ma(o, e, i), e.removeAttribute(i);
|
|
3926
3926
|
}
|
|
3927
3927
|
}
|
|
3928
3928
|
return o;
|
|
3929
3929
|
}
|
|
3930
|
-
function
|
|
3931
|
-
let e = t.parentInfo &&
|
|
3930
|
+
function Is(o, t) {
|
|
3931
|
+
let e = t.parentInfo && Is(o, t.parentInfo);
|
|
3932
3932
|
if (e) {
|
|
3933
3933
|
for (let i = e.firstChild, s = 0; i; i = i.nextSibling)
|
|
3934
3934
|
if (t.parentIndex === s++)
|
|
@@ -3936,23 +3936,23 @@ function Os(o, t) {
|
|
|
3936
3936
|
} else
|
|
3937
3937
|
return o;
|
|
3938
3938
|
}
|
|
3939
|
-
function
|
|
3939
|
+
function ga(o, t, e, i) {
|
|
3940
3940
|
i.id && (t[i.id] = e);
|
|
3941
3941
|
}
|
|
3942
|
-
function
|
|
3942
|
+
function ba(o, t, e) {
|
|
3943
3943
|
if (e.events && e.events.length)
|
|
3944
3944
|
for (let i = 0, s = e.events, r; i < s.length && (r = s[i]); i++)
|
|
3945
3945
|
o._addMethodEventListenerToNode(t, r.name, r.value, o);
|
|
3946
3946
|
}
|
|
3947
|
-
function
|
|
3947
|
+
function va(o, t, e, i) {
|
|
3948
3948
|
e.templateInfo && (t._templateInfo = e.templateInfo, t._parentTemplateInfo = i);
|
|
3949
3949
|
}
|
|
3950
|
-
function
|
|
3950
|
+
function ya(o, t, e) {
|
|
3951
3951
|
return o = o._methodHost || o, function(s) {
|
|
3952
3952
|
o[e] ? o[e](s, s.detail) : console.warn("listener method `" + e + "` not defined");
|
|
3953
3953
|
};
|
|
3954
3954
|
}
|
|
3955
|
-
const
|
|
3955
|
+
const xa = V(
|
|
3956
3956
|
/**
|
|
3957
3957
|
* @template T
|
|
3958
3958
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -4079,7 +4079,7 @@ const ya = V(
|
|
|
4079
4079
|
/** @type {!HTMLTemplateElement} */
|
|
4080
4080
|
i
|
|
4081
4081
|
);
|
|
4082
|
-
return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, s, r) || n : a.localName === "slot" && (s.hasInsertionPoint = !0),
|
|
4082
|
+
return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, s, r) || n : a.localName === "slot" && (s.hasInsertionPoint = !0), fa(a), a.firstChild && this._parseTemplateChildNodes(a, s, r), a.hasAttributes && a.hasAttributes() && (n = this._parseTemplateNodeAttributes(a, s, r) || n), n || r.noted;
|
|
4083
4083
|
}
|
|
4084
4084
|
/**
|
|
4085
4085
|
* Parses template child nodes for the given root node.
|
|
@@ -4097,7 +4097,7 @@ const ya = V(
|
|
|
4097
4097
|
static _parseTemplateChildNodes(i, s, r) {
|
|
4098
4098
|
if (!(i.localName === "script" || i.localName === "style"))
|
|
4099
4099
|
for (let n = i.firstChild, a = 0, l; n; n = l) {
|
|
4100
|
-
if (n.localName == "template" && (n =
|
|
4100
|
+
if (n.localName == "template" && (n = _a(n)), l = n.nextSibling, n.nodeType === Node.TEXT_NODE) {
|
|
4101
4101
|
let u = l;
|
|
4102
4102
|
for (; u && u.nodeType === Node.TEXT_NODE; )
|
|
4103
4103
|
n.textContent += u.textContent, l = u.nextSibling, i.removeChild(u), u = l;
|
|
@@ -4232,8 +4232,8 @@ const ya = V(
|
|
|
4232
4232
|
let l = a.nodeList = new Array(r.length);
|
|
4233
4233
|
a.$ = {};
|
|
4234
4234
|
for (let c = 0, u = r.length, d; c < u && (d = r[c]); c++) {
|
|
4235
|
-
let h = l[c] =
|
|
4236
|
-
|
|
4235
|
+
let h = l[c] = Is(a, d);
|
|
4236
|
+
ga(this, a.$, h, d), va(this, h, d, s), ba(this, h, d);
|
|
4237
4237
|
}
|
|
4238
4238
|
return a = /** @type {!StampedTemplate} */
|
|
4239
4239
|
a, a;
|
|
@@ -4254,7 +4254,7 @@ const ya = V(
|
|
|
4254
4254
|
*/
|
|
4255
4255
|
_addMethodEventListenerToNode(i, s, r, n) {
|
|
4256
4256
|
n = n || i;
|
|
4257
|
-
let a =
|
|
4257
|
+
let a = ya(n, s, r);
|
|
4258
4258
|
return this._addEventListenerToNode(i, s, a), a;
|
|
4259
4259
|
}
|
|
4260
4260
|
/**
|
|
@@ -4304,7 +4304,7 @@ const yt = [], D = {
|
|
|
4304
4304
|
PROPAGATE: "__propagateEffects",
|
|
4305
4305
|
OBSERVE: "__observeEffects",
|
|
4306
4306
|
READ_ONLY: "__readOnly"
|
|
4307
|
-
},
|
|
4307
|
+
}, Fs = "__computeInfo", wa = /[A-Z]/;
|
|
4308
4308
|
function Jt(o, t, e) {
|
|
4309
4309
|
let i = o[t];
|
|
4310
4310
|
if (!i)
|
|
@@ -4331,7 +4331,7 @@ function ut(o, t, e, i, s, r) {
|
|
|
4331
4331
|
}
|
|
4332
4332
|
return !1;
|
|
4333
4333
|
}
|
|
4334
|
-
function
|
|
4334
|
+
function Ea(o, t, e, i, s, r, n, a) {
|
|
4335
4335
|
let l = !1, c = n ? je(i) : i, u = t[c];
|
|
4336
4336
|
if (u)
|
|
4337
4337
|
for (let d = 0, h = u.length, m; d < h && (m = u[d]); d++)
|
|
@@ -4344,30 +4344,30 @@ function Vi(o, t) {
|
|
|
4344
4344
|
/** @type {string} */
|
|
4345
4345
|
t.name
|
|
4346
4346
|
);
|
|
4347
|
-
return e == o || !!(t.structured &&
|
|
4347
|
+
return e == o || !!(t.structured && As(e, o)) || !!(t.wildcard && gt(e, o));
|
|
4348
4348
|
} else
|
|
4349
4349
|
return !0;
|
|
4350
4350
|
}
|
|
4351
|
-
function
|
|
4351
|
+
function ko(o, t, e, i, s) {
|
|
4352
4352
|
let r = typeof s.method == "string" ? o[s.method] : s.method, n = s.property;
|
|
4353
4353
|
r ? r.call(o, o.__data[n], i[n]) : s.dynamicFn || console.warn("observer method `" + s.method + "` not defined");
|
|
4354
4354
|
}
|
|
4355
|
-
function
|
|
4355
|
+
function Sa(o, t, e, i, s) {
|
|
4356
4356
|
let r = o[D.NOTIFY], n, a = vt++;
|
|
4357
4357
|
for (let c in t)
|
|
4358
|
-
t[c] && (r &&
|
|
4358
|
+
t[c] && (r && Ea(o, r, a, c, e, i, s) || s && Aa(o, c, e)) && (n = !0);
|
|
4359
4359
|
let l;
|
|
4360
4360
|
n && (l = o.__dataHost) && l._invalidateProperties && l._invalidateProperties();
|
|
4361
4361
|
}
|
|
4362
|
-
function
|
|
4362
|
+
function Aa(o, t, e) {
|
|
4363
4363
|
let i = je(t);
|
|
4364
4364
|
if (i !== t) {
|
|
4365
4365
|
let s = Yt(i) + "-changed";
|
|
4366
|
-
return
|
|
4366
|
+
return Ns(o, s, e[t], t), !0;
|
|
4367
4367
|
}
|
|
4368
4368
|
return !1;
|
|
4369
4369
|
}
|
|
4370
|
-
function
|
|
4370
|
+
function Ns(o, t, e, i) {
|
|
4371
4371
|
let s = {
|
|
4372
4372
|
value: e,
|
|
4373
4373
|
queueProperty: !0
|
|
@@ -4377,18 +4377,18 @@ function Fs(o, t, e, i) {
|
|
|
4377
4377
|
o
|
|
4378
4378
|
).dispatchEvent(new CustomEvent(t, { detail: s }));
|
|
4379
4379
|
}
|
|
4380
|
-
function
|
|
4380
|
+
function Ca(o, t, e, i, s, r) {
|
|
4381
4381
|
let a = (r ? je(t) : t) != t ? t : null, l = a ? re(o, a) : o.__data[t];
|
|
4382
|
-
a && l === void 0 && (l = e[t]),
|
|
4382
|
+
a && l === void 0 && (l = e[t]), Ns(o, s.eventName, l, a);
|
|
4383
4383
|
}
|
|
4384
|
-
function
|
|
4384
|
+
function Pa(o, t, e, i, s) {
|
|
4385
4385
|
let r, n = (
|
|
4386
4386
|
/** @type {Object} */
|
|
4387
4387
|
o.detail
|
|
4388
4388
|
), a = n && n.path;
|
|
4389
4389
|
a ? (i = bt(e, i, a), r = n && n.value) : r = o.currentTarget[e], r = s ? !r : r, (!t[D.READ_ONLY] || !t[D.READ_ONLY][i]) && t._setPendingPropertyOrPath(i, r, !0, !!a) && (!n || !n.queueProperty) && t._invalidateProperties();
|
|
4390
4390
|
}
|
|
4391
|
-
function
|
|
4391
|
+
function ka(o, t, e, i, s) {
|
|
4392
4392
|
let r = o.__data[t];
|
|
4393
4393
|
Ft && (r = Ft(
|
|
4394
4394
|
r,
|
|
@@ -4398,17 +4398,17 @@ function Pa(o, t, e, i, s) {
|
|
|
4398
4398
|
o
|
|
4399
4399
|
)), o._propertyToAttribute(t, s.attrName, r);
|
|
4400
4400
|
}
|
|
4401
|
-
function
|
|
4401
|
+
function Da(o, t, e, i) {
|
|
4402
4402
|
let s = o[D.COMPUTE];
|
|
4403
4403
|
if (s)
|
|
4404
|
-
if (
|
|
4404
|
+
if (Un) {
|
|
4405
4405
|
vt++;
|
|
4406
|
-
const r =
|
|
4406
|
+
const r = Ma(o), n = [];
|
|
4407
4407
|
for (let l in t)
|
|
4408
|
-
|
|
4408
|
+
Do(l, s, n, r, i);
|
|
4409
4409
|
let a;
|
|
4410
4410
|
for (; a = n.shift(); )
|
|
4411
|
-
|
|
4411
|
+
zs(o, "", t, e, a) && Do(a.methodInfo, s, n, r, i);
|
|
4412
4412
|
Object.assign(
|
|
4413
4413
|
/** @type {!Object} */
|
|
4414
4414
|
e,
|
|
@@ -4432,7 +4432,7 @@ function ka(o, t, e, i) {
|
|
|
4432
4432
|
), r = o.__dataPending, o.__dataPending = null;
|
|
4433
4433
|
}
|
|
4434
4434
|
}
|
|
4435
|
-
const
|
|
4435
|
+
const Ta = (o, t, e) => {
|
|
4436
4436
|
let i = 0, s = t.length - 1, r = -1;
|
|
4437
4437
|
for (; i <= s; ) {
|
|
4438
4438
|
const n = i + s >> 1, a = e.get(t[n].methodInfo) - e.get(o.methodInfo);
|
|
@@ -4446,20 +4446,20 @@ const Da = (o, t, e) => {
|
|
|
4446
4446
|
}
|
|
4447
4447
|
}
|
|
4448
4448
|
r < 0 && (r = s + 1), t.splice(r, 0, o);
|
|
4449
|
-
},
|
|
4449
|
+
}, Do = (o, t, e, i, s) => {
|
|
4450
4450
|
const r = s ? je(o) : o, n = t[r];
|
|
4451
4451
|
if (n)
|
|
4452
4452
|
for (let a = 0; a < n.length; a++) {
|
|
4453
4453
|
const l = n[a];
|
|
4454
|
-
l.info.lastRun !== vt && (!s || Vi(o, l.trigger)) && (l.info.lastRun = vt,
|
|
4454
|
+
l.info.lastRun !== vt && (!s || Vi(o, l.trigger)) && (l.info.lastRun = vt, Ta(l.info, e, i));
|
|
4455
4455
|
}
|
|
4456
4456
|
};
|
|
4457
|
-
function
|
|
4457
|
+
function Ma(o) {
|
|
4458
4458
|
let t = o.constructor.__orderedComputedDeps;
|
|
4459
4459
|
if (!t) {
|
|
4460
4460
|
t = /* @__PURE__ */ new Map();
|
|
4461
4461
|
const e = o[D.COMPUTE];
|
|
4462
|
-
let { counts: i, ready: s, total: r } =
|
|
4462
|
+
let { counts: i, ready: s, total: r } = Oa(o), n;
|
|
4463
4463
|
for (; n = s.shift(); ) {
|
|
4464
4464
|
t.set(n, t.size);
|
|
4465
4465
|
const a = e[n];
|
|
@@ -4473,8 +4473,8 @@ function Ta(o) {
|
|
|
4473
4473
|
}
|
|
4474
4474
|
return t;
|
|
4475
4475
|
}
|
|
4476
|
-
function
|
|
4477
|
-
const t = o[
|
|
4476
|
+
function Oa(o) {
|
|
4477
|
+
const t = o[Fs], e = {}, i = o[D.COMPUTE], s = [];
|
|
4478
4478
|
let r = 0;
|
|
4479
4479
|
for (let n in t) {
|
|
4480
4480
|
const a = t[n];
|
|
@@ -4484,14 +4484,14 @@ function Ma(o) {
|
|
|
4484
4484
|
t[n] || s.push(n);
|
|
4485
4485
|
return { counts: e, ready: s, total: r };
|
|
4486
4486
|
}
|
|
4487
|
-
function
|
|
4487
|
+
function zs(o, t, e, i, s) {
|
|
4488
4488
|
let r = gi(o, t, e, i, s);
|
|
4489
4489
|
if (r === yt)
|
|
4490
4490
|
return !1;
|
|
4491
4491
|
let n = s.methodInfo;
|
|
4492
4492
|
return o.__dataHasAccessor && o.__dataHasAccessor[n] ? o._setPendingProperty(n, r, !0) : (o[n] = r, !1);
|
|
4493
4493
|
}
|
|
4494
|
-
function
|
|
4494
|
+
function Ia(o, t, e) {
|
|
4495
4495
|
let i = o.__dataLinkedPaths;
|
|
4496
4496
|
if (i) {
|
|
4497
4497
|
let s;
|
|
@@ -4504,17 +4504,17 @@ function Oa(o, t, e) {
|
|
|
4504
4504
|
function Xt(o, t, e, i, s, r, n) {
|
|
4505
4505
|
e.bindings = e.bindings || [];
|
|
4506
4506
|
let a = { kind: i, target: s, parts: r, literal: n, isCompound: r.length !== 1 };
|
|
4507
|
-
if (e.bindings.push(a),
|
|
4507
|
+
if (e.bindings.push(a), Ra(a)) {
|
|
4508
4508
|
let { event: c, negate: u } = a.parts[0];
|
|
4509
4509
|
a.listenerEvent = c || Yt(s) + "-changed", a.listenerNegate = u;
|
|
4510
4510
|
}
|
|
4511
4511
|
let l = t.nodeInfoList.length;
|
|
4512
4512
|
for (let c = 0; c < a.parts.length; c++) {
|
|
4513
4513
|
let u = a.parts[c];
|
|
4514
|
-
u.compoundIndex = c,
|
|
4514
|
+
u.compoundIndex = c, Fa(o, t, a, u, l);
|
|
4515
4515
|
}
|
|
4516
4516
|
}
|
|
4517
|
-
function
|
|
4517
|
+
function Fa(o, t, e, i, s) {
|
|
4518
4518
|
if (!i.literal)
|
|
4519
4519
|
if (e.kind === "attribute" && e.target[0] === "-")
|
|
4520
4520
|
console.warn("Cannot set attribute " + e.target + ' because "-" is not a valid attribute starting character');
|
|
@@ -4522,26 +4522,26 @@ function Ia(o, t, e, i, s) {
|
|
|
4522
4522
|
let r = i.dependencies, n = { index: s, binding: e, part: i, evaluator: o };
|
|
4523
4523
|
for (let a = 0; a < r.length; a++) {
|
|
4524
4524
|
let l = r[a];
|
|
4525
|
-
typeof l == "string" && (l =
|
|
4526
|
-
fn:
|
|
4525
|
+
typeof l == "string" && (l = Rs(l), l.wildcard = !0), o._addTemplatePropertyEffect(t, l.rootProperty, {
|
|
4526
|
+
fn: Na,
|
|
4527
4527
|
info: n,
|
|
4528
4528
|
trigger: l
|
|
4529
4529
|
});
|
|
4530
4530
|
}
|
|
4531
4531
|
}
|
|
4532
4532
|
}
|
|
4533
|
-
function
|
|
4533
|
+
function Na(o, t, e, i, s, r, n) {
|
|
4534
4534
|
let a = n[s.index], l = s.binding, c = s.part;
|
|
4535
4535
|
if (r && c.source && t.length > c.source.length && l.kind == "property" && !l.isCompound && a.__isPropertyEffectsClient && a.__dataHasAccessor && a.__dataHasAccessor[l.target]) {
|
|
4536
4536
|
let u = e[t];
|
|
4537
4537
|
t = bt(c.source, l.target, t), a._setPendingPropertyOrPath(t, u, !1, !0) && o._enqueueClient(a);
|
|
4538
4538
|
} else {
|
|
4539
4539
|
let u = s.evaluator._evaluateBinding(o, c, t, e, i, r);
|
|
4540
|
-
u !== yt &&
|
|
4540
|
+
u !== yt && za(o, a, l, c, u);
|
|
4541
4541
|
}
|
|
4542
4542
|
}
|
|
4543
|
-
function
|
|
4544
|
-
if (s =
|
|
4543
|
+
function za(o, t, e, i, s) {
|
|
4544
|
+
if (s = La(t, s, e, i), Ft && (s = Ft(s, e.target, e.kind, t)), e.kind == "attribute")
|
|
4545
4545
|
o._valueToNodeAttribute(
|
|
4546
4546
|
/** @type {Element} */
|
|
4547
4547
|
t,
|
|
@@ -4553,17 +4553,17 @@ function Na(o, t, e, i, s) {
|
|
|
4553
4553
|
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);
|
|
4554
4554
|
}
|
|
4555
4555
|
}
|
|
4556
|
-
function
|
|
4556
|
+
function La(o, t, e, i) {
|
|
4557
4557
|
if (e.isCompound) {
|
|
4558
4558
|
let s = o.__dataCompoundStorage[e.target];
|
|
4559
4559
|
s[i.compoundIndex] = t, t = s.join("");
|
|
4560
4560
|
}
|
|
4561
4561
|
return e.kind !== "attribute" && (e.target === "textContent" || e.target === "value" && (o.localName === "input" || o.localName === "textarea")) && (t = t ?? ""), t;
|
|
4562
4562
|
}
|
|
4563
|
-
function
|
|
4563
|
+
function Ra(o) {
|
|
4564
4564
|
return !!o.target && o.kind != "attribute" && o.kind != "text" && !o.isCompound && o.parts[0].mode === "{";
|
|
4565
4565
|
}
|
|
4566
|
-
function
|
|
4566
|
+
function Ba(o, t) {
|
|
4567
4567
|
let { nodeList: e, nodeInfoList: i } = t;
|
|
4568
4568
|
if (i.length)
|
|
4569
4569
|
for (let s = 0; s < i.length; s++) {
|
|
@@ -4571,12 +4571,12 @@ function Ra(o, t) {
|
|
|
4571
4571
|
if (a)
|
|
4572
4572
|
for (let l = 0; l < a.length; l++) {
|
|
4573
4573
|
let c = a[l];
|
|
4574
|
-
|
|
4574
|
+
Ha(n, c), $a(n, o, c);
|
|
4575
4575
|
}
|
|
4576
4576
|
n.__dataHost = o;
|
|
4577
4577
|
}
|
|
4578
4578
|
}
|
|
4579
|
-
function
|
|
4579
|
+
function Ha(o, t) {
|
|
4580
4580
|
if (t.isCompound) {
|
|
4581
4581
|
let e = o.__dataCompoundStorage || (o.__dataCompoundStorage = {}), i = t.parts, s = new Array(i.length);
|
|
4582
4582
|
for (let n = 0; n < i.length; n++)
|
|
@@ -4585,15 +4585,15 @@ function Ba(o, t) {
|
|
|
4585
4585
|
e[r] = s, t.literal && t.kind == "property" && (r === "className" && (o = J(o)), o[r] = t.literal);
|
|
4586
4586
|
}
|
|
4587
4587
|
}
|
|
4588
|
-
function
|
|
4588
|
+
function $a(o, t, e) {
|
|
4589
4589
|
if (e.listenerEvent) {
|
|
4590
4590
|
let i = e.parts[0];
|
|
4591
4591
|
o.addEventListener(e.listenerEvent, function(s) {
|
|
4592
|
-
|
|
4592
|
+
Pa(s, t, e.target, i.source, i.negate);
|
|
4593
4593
|
});
|
|
4594
4594
|
}
|
|
4595
4595
|
}
|
|
4596
|
-
function
|
|
4596
|
+
function To(o, t, e, i, s, r) {
|
|
4597
4597
|
r = t.static || r && (typeof r != "object" || r[t.methodName]);
|
|
4598
4598
|
let n = {
|
|
4599
4599
|
methodName: t.methodName,
|
|
@@ -4620,8 +4620,8 @@ function gi(o, t, e, i, s) {
|
|
|
4620
4620
|
} else
|
|
4621
4621
|
s.dynamicFn || console.warn("method `" + s.methodName + "` not defined");
|
|
4622
4622
|
}
|
|
4623
|
-
const
|
|
4624
|
-
function
|
|
4623
|
+
const Ya = [], Ls = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", ja = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", Va = "(?:'(?:[^'\\\\]|\\\\.)*')", Ua = '(?:"(?:[^"\\\\]|\\\\.)*")', Wa = "(?:" + Va + "|" + Ua + ")", Mo = "(?:(" + Ls + "|" + ja + "|" + Wa + ")\\s*)", qa = "(?:" + Mo + "(?:,\\s*" + Mo + ")*)", Ka = "(?:\\(\\s*(?:" + qa + "?)\\)\\s*)", Ga = "(" + Ls + "\\s*" + Ka + "?)", Ja = "(\\[\\[|{{)\\s*", Xa = "(?:]]|}})", Za = "(?:(!)\\s*)?", Qa = Ja + Za + Ga + Xa, Oo = new RegExp(Qa, "g");
|
|
4624
|
+
function Io(o) {
|
|
4625
4625
|
let t = "";
|
|
4626
4626
|
for (let e = 0; e < o.length; e++) {
|
|
4627
4627
|
let i = o[e].literal;
|
|
@@ -4632,22 +4632,22 @@ function Oo(o) {
|
|
|
4632
4632
|
function Zt(o) {
|
|
4633
4633
|
let t = o.match(/([^\s]+?)\(([\s\S]*)\)/);
|
|
4634
4634
|
if (t) {
|
|
4635
|
-
let i = { methodName: t[1], static: !0, args:
|
|
4635
|
+
let i = { methodName: t[1], static: !0, args: Ya };
|
|
4636
4636
|
if (t[2].trim()) {
|
|
4637
4637
|
let s = t[2].replace(/\\,/g, ",").split(",");
|
|
4638
|
-
return
|
|
4638
|
+
return el(s, i);
|
|
4639
4639
|
} else
|
|
4640
4640
|
return i;
|
|
4641
4641
|
}
|
|
4642
4642
|
return null;
|
|
4643
4643
|
}
|
|
4644
|
-
function
|
|
4644
|
+
function el(o, t) {
|
|
4645
4645
|
return t.args = o.map(function(e) {
|
|
4646
|
-
let i =
|
|
4646
|
+
let i = Rs(e);
|
|
4647
4647
|
return i.literal || (t.static = !1), i;
|
|
4648
4648
|
}, this), t;
|
|
4649
4649
|
}
|
|
4650
|
-
function
|
|
4650
|
+
function Rs(o) {
|
|
4651
4651
|
let t = o.trim().replace(/,/g, ",").replace(/\\(.)/g, "$1"), e = {
|
|
4652
4652
|
name: t,
|
|
4653
4653
|
value: "",
|
|
@@ -4664,16 +4664,16 @@ function Ls(o) {
|
|
|
4664
4664
|
}
|
|
4665
4665
|
return e.literal || (e.rootProperty = je(t), e.structured = mi(t), e.structured && (e.wildcard = t.slice(-2) == ".*", e.wildcard && (e.name = t.slice(0, -2)))), e;
|
|
4666
4666
|
}
|
|
4667
|
-
function
|
|
4667
|
+
function Fo(o, t, e) {
|
|
4668
4668
|
let i = re(o, e);
|
|
4669
4669
|
return i === void 0 && (i = t[e]), i;
|
|
4670
4670
|
}
|
|
4671
|
-
function
|
|
4671
|
+
function Bs(o, t, e, i) {
|
|
4672
4672
|
const s = { indexSplices: i };
|
|
4673
4673
|
fi && !o._overrideLegacyUndefined && (t.splices = s), o.notifyPath(e + ".splices", s), o.notifyPath(e + ".length", t.length), fi && !o._overrideLegacyUndefined && (s.indexSplices = []);
|
|
4674
4674
|
}
|
|
4675
4675
|
function rt(o, t, e, i, s, r) {
|
|
4676
|
-
|
|
4676
|
+
Bs(o, t, e, [{
|
|
4677
4677
|
index: i,
|
|
4678
4678
|
addedCount: s,
|
|
4679
4679
|
removed: r,
|
|
@@ -4681,11 +4681,11 @@ function rt(o, t, e, i, s, r) {
|
|
|
4681
4681
|
type: "splice"
|
|
4682
4682
|
}]);
|
|
4683
4683
|
}
|
|
4684
|
-
function
|
|
4684
|
+
function tl(o) {
|
|
4685
4685
|
return o[0].toUpperCase() + o.substring(1);
|
|
4686
4686
|
}
|
|
4687
4687
|
const Ui = V((o) => {
|
|
4688
|
-
const t =
|
|
4688
|
+
const t = xa(da(o));
|
|
4689
4689
|
class e extends t {
|
|
4690
4690
|
constructor() {
|
|
4691
4691
|
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;
|
|
@@ -4864,7 +4864,7 @@ const Ui = V((o) => {
|
|
|
4864
4864
|
if (!a) {
|
|
4865
4865
|
let l = re(this, s);
|
|
4866
4866
|
if (s = /** @type {string} */
|
|
4867
|
-
|
|
4867
|
+
Ao(this, s, r), !s || !super._shouldPropertyChange(s, r, l))
|
|
4868
4868
|
return !1;
|
|
4869
4869
|
}
|
|
4870
4870
|
if (this.__dataHasPaths = !0, this._setPendingProperty(
|
|
@@ -4873,7 +4873,7 @@ const Ui = V((o) => {
|
|
|
4873
4873
|
r,
|
|
4874
4874
|
n
|
|
4875
4875
|
))
|
|
4876
|
-
return
|
|
4876
|
+
return Ia(
|
|
4877
4877
|
this,
|
|
4878
4878
|
/**@type{string}*/
|
|
4879
4879
|
s,
|
|
@@ -5089,7 +5089,7 @@ const Ui = V((o) => {
|
|
|
5089
5089
|
let a = this.__dataHasPaths;
|
|
5090
5090
|
this.__dataHasPaths = !1;
|
|
5091
5091
|
let l;
|
|
5092
|
-
|
|
5092
|
+
Da(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(), ut(this, this[D.REFLECT], r, n, a), ut(this, this[D.OBSERVE], r, n, a), l && Sa(this, l, r, n, a), this.__dataCounter == 1 && (this.__dataTemp = {});
|
|
5093
5093
|
}
|
|
5094
5094
|
/**
|
|
5095
5095
|
* Called to propagate any property changes to stamped template nodes
|
|
@@ -5186,7 +5186,7 @@ const Ui = V((o) => {
|
|
|
5186
5186
|
/** @type {Array} */
|
|
5187
5187
|
re(this, s, n)
|
|
5188
5188
|
);
|
|
5189
|
-
|
|
5189
|
+
Bs(this, a, n.path, r);
|
|
5190
5190
|
}
|
|
5191
5191
|
/**
|
|
5192
5192
|
* Convenience method for reading a value from a path.
|
|
@@ -5234,7 +5234,7 @@ const Ui = V((o) => {
|
|
|
5234
5234
|
* @public
|
|
5235
5235
|
*/
|
|
5236
5236
|
set(s, r, n) {
|
|
5237
|
-
n ?
|
|
5237
|
+
n ? Ao(n, s, r) : (!this[D.READ_ONLY] || !this[D.READ_ONLY][
|
|
5238
5238
|
/** @type {string} */
|
|
5239
5239
|
s
|
|
5240
5240
|
]) && this._setPendingPropertyOrPath(s, r, !0) && this._invalidateProperties();
|
|
@@ -5389,7 +5389,7 @@ const Ui = V((o) => {
|
|
|
5389
5389
|
* @protected
|
|
5390
5390
|
*/
|
|
5391
5391
|
_createReadOnlyProperty(s, r) {
|
|
5392
|
-
this._addPropertyEffect(s, D.READ_ONLY), r && (this["_set" +
|
|
5392
|
+
this._addPropertyEffect(s, D.READ_ONLY), r && (this["_set" + tl(s)] = /** @this {PropertyEffects} */
|
|
5393
5393
|
function(n) {
|
|
5394
5394
|
this._setProperty(s, n);
|
|
5395
5395
|
});
|
|
@@ -5411,7 +5411,7 @@ const Ui = V((o) => {
|
|
|
5411
5411
|
_createPropertyObserver(s, r, n) {
|
|
5412
5412
|
let a = { property: s, method: r, dynamicFn: !!n };
|
|
5413
5413
|
this._addPropertyEffect(s, D.OBSERVE, {
|
|
5414
|
-
fn:
|
|
5414
|
+
fn: ko,
|
|
5415
5415
|
info: a,
|
|
5416
5416
|
trigger: { name: s }
|
|
5417
5417
|
}), n && this._addPropertyEffect(
|
|
@@ -5419,7 +5419,7 @@ const Ui = V((o) => {
|
|
|
5419
5419
|
r,
|
|
5420
5420
|
D.OBSERVE,
|
|
5421
5421
|
{
|
|
5422
|
-
fn:
|
|
5422
|
+
fn: ko,
|
|
5423
5423
|
info: a,
|
|
5424
5424
|
trigger: { name: r }
|
|
5425
5425
|
}
|
|
@@ -5441,7 +5441,7 @@ const Ui = V((o) => {
|
|
|
5441
5441
|
let n = Zt(s);
|
|
5442
5442
|
if (!n)
|
|
5443
5443
|
throw new Error("Malformed observer expression '" + s + "'");
|
|
5444
|
-
|
|
5444
|
+
To(this, n, D.OBSERVE, gi, null, r);
|
|
5445
5445
|
}
|
|
5446
5446
|
/**
|
|
5447
5447
|
* Equivalent to static `createNotifyingProperty` API but can be called on
|
|
@@ -5455,7 +5455,7 @@ const Ui = V((o) => {
|
|
|
5455
5455
|
*/
|
|
5456
5456
|
_createNotifyingProperty(s) {
|
|
5457
5457
|
this._addPropertyEffect(s, D.NOTIFY, {
|
|
5458
|
-
fn:
|
|
5458
|
+
fn: Ca,
|
|
5459
5459
|
info: {
|
|
5460
5460
|
eventName: Yt(s) + "-changed",
|
|
5461
5461
|
property: s
|
|
@@ -5476,7 +5476,7 @@ const Ui = V((o) => {
|
|
|
5476
5476
|
_createReflectedProperty(s) {
|
|
5477
5477
|
let r = this.constructor.attributeNameForProperty(s);
|
|
5478
5478
|
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, {
|
|
5479
|
-
fn:
|
|
5479
|
+
fn: ka,
|
|
5480
5480
|
info: {
|
|
5481
5481
|
attrName: r
|
|
5482
5482
|
}
|
|
@@ -5499,8 +5499,8 @@ const Ui = V((o) => {
|
|
|
5499
5499
|
let a = Zt(r);
|
|
5500
5500
|
if (!a)
|
|
5501
5501
|
throw new Error("Malformed computed expression '" + r + "'");
|
|
5502
|
-
const l =
|
|
5503
|
-
Jt(this,
|
|
5502
|
+
const l = To(this, a, D.COMPUTE, zs, s, n);
|
|
5503
|
+
Jt(this, Fs)[s] = l;
|
|
5504
5504
|
}
|
|
5505
5505
|
/**
|
|
5506
5506
|
* Gather the argument values for a method specified in the provided array
|
|
@@ -5521,14 +5521,14 @@ const Ui = V((o) => {
|
|
|
5521
5521
|
let { name: d, structured: h, wildcard: m, value: b, literal: p } = s[c];
|
|
5522
5522
|
if (!p)
|
|
5523
5523
|
if (m) {
|
|
5524
|
-
const g = gt(d, r), y =
|
|
5524
|
+
const g = gt(d, r), y = Fo(a, n, g ? r : d);
|
|
5525
5525
|
b = {
|
|
5526
5526
|
path: g ? r : d,
|
|
5527
5527
|
value: y,
|
|
5528
5528
|
base: g ? re(a, d) : y
|
|
5529
5529
|
};
|
|
5530
5530
|
} else
|
|
5531
|
-
b = h ?
|
|
5531
|
+
b = h ? Fo(a, n, d) : a[d];
|
|
5532
5532
|
if (fi && !this._overrideLegacyUndefined && b === void 0 && s.length > 1)
|
|
5533
5533
|
return yt;
|
|
5534
5534
|
l[c] = b;
|
|
@@ -5811,7 +5811,7 @@ const Ui = V((o) => {
|
|
|
5811
5811
|
for (let l = n.firstChild; l; l = l.nextSibling)
|
|
5812
5812
|
a.push(l);
|
|
5813
5813
|
}
|
|
5814
|
-
return n.templateInfo = r,
|
|
5814
|
+
return n.templateInfo = r, Ba(this, r), this.__dataClientsReady && (this._runEffectsForTemplate(r, this.__data, null, !1), this._flushClients()), n;
|
|
5815
5815
|
}
|
|
5816
5816
|
/**
|
|
5817
5817
|
* Removes and unbinds the nodes previously contained in the provided
|
|
@@ -5858,7 +5858,7 @@ const Ui = V((o) => {
|
|
|
5858
5858
|
);
|
|
5859
5859
|
if (s.nodeType === Node.TEXT_NODE) {
|
|
5860
5860
|
let l = this._parseBindings(s.textContent, r);
|
|
5861
|
-
l && (s.textContent =
|
|
5861
|
+
l && (s.textContent = Io(l) || " ", Xt(this, r, n, "text", "textContent", l), a = !0);
|
|
5862
5862
|
}
|
|
5863
5863
|
return a;
|
|
5864
5864
|
}
|
|
@@ -5885,9 +5885,9 @@ const Ui = V((o) => {
|
|
|
5885
5885
|
let c = this._parseBindings(l, r);
|
|
5886
5886
|
if (c) {
|
|
5887
5887
|
let u = a, d = "property";
|
|
5888
|
-
|
|
5889
|
-
let h =
|
|
5890
|
-
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 =
|
|
5888
|
+
wa.test(a) ? d = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), d = "attribute");
|
|
5889
|
+
let h = Io(c);
|
|
5890
|
+
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 = Ps(a)), Xt(this, r, n, d, a, c, h), !0;
|
|
5891
5891
|
} else
|
|
5892
5892
|
return t._parseTemplateNodeAttribute.call(
|
|
5893
5893
|
this,
|
|
@@ -5920,10 +5920,10 @@ const Ui = V((o) => {
|
|
|
5920
5920
|
n
|
|
5921
5921
|
);
|
|
5922
5922
|
const l = s.parentNode, c = n.templateInfo, u = l.localName === "dom-if", d = l.localName === "dom-repeat";
|
|
5923
|
-
|
|
5923
|
+
vo && (u || d) && (l.removeChild(s), n = n.parentInfo, n.templateInfo = c, n.noted = !0, a = !1);
|
|
5924
5924
|
let h = c.hostProps;
|
|
5925
|
-
if (
|
|
5926
|
-
h && (r.hostProps = Object.assign(r.hostProps || {}, h),
|
|
5925
|
+
if (Wn && u)
|
|
5926
|
+
h && (r.hostProps = Object.assign(r.hostProps || {}, h), vo || (n.parentInfo.noted = !0));
|
|
5927
5927
|
else {
|
|
5928
5928
|
let m = "{";
|
|
5929
5929
|
for (let b in h) {
|
|
@@ -5980,7 +5980,7 @@ const Ui = V((o) => {
|
|
|
5980
5980
|
*/
|
|
5981
5981
|
static _parseBindings(s, r) {
|
|
5982
5982
|
let n = [], a = 0, l;
|
|
5983
|
-
for (; (l =
|
|
5983
|
+
for (; (l = Oo.exec(s)) !== null; ) {
|
|
5984
5984
|
l.index > a && n.push({ literal: s.slice(a, l.index) });
|
|
5985
5985
|
let c = l[1][0], u = !!l[2], d = l[3].trim(), h = !1, m = "", b = -1;
|
|
5986
5986
|
c == "{" && (b = d.indexOf("::")) > 0 && (m = d.substring(b + 2), d = d.substring(0, b), h = !0);
|
|
@@ -6003,7 +6003,7 @@ const Ui = V((o) => {
|
|
|
6003
6003
|
signature: p,
|
|
6004
6004
|
dependencies: g,
|
|
6005
6005
|
event: m
|
|
6006
|
-
}), a =
|
|
6006
|
+
}), a = Oo.lastIndex;
|
|
6007
6007
|
}
|
|
6008
6008
|
if (a && a < s.length) {
|
|
6009
6009
|
let c = s.substring(a);
|
|
@@ -6053,7 +6053,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6053
6053
|
Code distributed by Google as part of the polymer project is also
|
|
6054
6054
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6055
6055
|
*/
|
|
6056
|
-
function
|
|
6056
|
+
function il(o) {
|
|
6057
6057
|
const t = {};
|
|
6058
6058
|
for (let e in o) {
|
|
6059
6059
|
const i = o[e];
|
|
@@ -6061,8 +6061,8 @@ function tl(o) {
|
|
|
6061
6061
|
}
|
|
6062
6062
|
return t;
|
|
6063
6063
|
}
|
|
6064
|
-
const
|
|
6065
|
-
const t =
|
|
6064
|
+
const ol = V((o) => {
|
|
6065
|
+
const t = Ms(o);
|
|
6066
6066
|
function e(r) {
|
|
6067
6067
|
const n = Object.getPrototypeOf(r);
|
|
6068
6068
|
return n.prototype instanceof s ? (
|
|
@@ -6075,7 +6075,7 @@ const il = V((o) => {
|
|
|
6075
6075
|
let n = null;
|
|
6076
6076
|
if (r.hasOwnProperty(JSCompiler_renameProperty("properties", r))) {
|
|
6077
6077
|
const a = r.properties;
|
|
6078
|
-
a && (n =
|
|
6078
|
+
a && (n = il(a));
|
|
6079
6079
|
}
|
|
6080
6080
|
r.__ownProperties = n;
|
|
6081
6081
|
}
|
|
@@ -6212,8 +6212,8 @@ const il = V((o) => {
|
|
|
6212
6212
|
* Google as part of the polymer project is also subject to an additional IP
|
|
6213
6213
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6214
6214
|
*/
|
|
6215
|
-
const
|
|
6216
|
-
const t =
|
|
6215
|
+
const sl = "3.5.2", No = window.ShadyCSS && window.ShadyCSS.cssBuild, rl = V((o) => {
|
|
6216
|
+
const t = ol(Ui(o));
|
|
6217
6217
|
function e(l) {
|
|
6218
6218
|
if (!l.hasOwnProperty(
|
|
6219
6219
|
JSCompiler_renameProperty("__propertyDefaults", l)
|
|
@@ -6241,8 +6241,8 @@ const ol = "3.5.2", Fo = window.ShadyCSS && window.ShadyCSS.cssBuild, sl = V((o)
|
|
|
6241
6241
|
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);
|
|
6242
6242
|
}
|
|
6243
6243
|
function r(l, c, u, d) {
|
|
6244
|
-
if (!
|
|
6245
|
-
const h = c.content.querySelectorAll("style"), m =
|
|
6244
|
+
if (!No) {
|
|
6245
|
+
const h = c.content.querySelectorAll("style"), m = Es(c), b = ea(u), p = c.content.firstElementChild;
|
|
6246
6246
|
for (let y = 0; y < b.length; y++) {
|
|
6247
6247
|
let v = b[y];
|
|
6248
6248
|
v.textContent = l._processStyleText(v.textContent, d), c.content.insertBefore(v, p);
|
|
@@ -6253,7 +6253,7 @@ const ol = "3.5.2", Fo = window.ShadyCSS && window.ShadyCSS.cssBuild, sl = V((o)
|
|
|
6253
6253
|
C !== v ? (v = v.cloneNode(!0), C.parentNode.insertBefore(v, C)) : g++, v.textContent = l._processStyleText(v.textContent, d);
|
|
6254
6254
|
}
|
|
6255
6255
|
}
|
|
6256
|
-
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(c, u),
|
|
6256
|
+
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(c, u), qn && No && $n) {
|
|
6257
6257
|
const h = c.content.querySelectorAll("style");
|
|
6258
6258
|
if (h) {
|
|
6259
6259
|
let m = "";
|
|
@@ -6265,7 +6265,7 @@ const ol = "3.5.2", Fo = window.ShadyCSS && window.ShadyCSS.cssBuild, sl = V((o)
|
|
|
6265
6265
|
}
|
|
6266
6266
|
function n(l) {
|
|
6267
6267
|
let c = null;
|
|
6268
|
-
if (l && (!Nt ||
|
|
6268
|
+
if (l && (!Nt || jn) && (c = /** @type {?HTMLTemplateElement} */
|
|
6269
6269
|
_t.import(l, "template"), Nt && !c))
|
|
6270
6270
|
throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
6271
6271
|
return c;
|
|
@@ -6277,7 +6277,7 @@ const ol = "3.5.2", Fo = window.ShadyCSS && window.ShadyCSS.cssBuild, sl = V((o)
|
|
|
6277
6277
|
* @nocollapse
|
|
6278
6278
|
*/
|
|
6279
6279
|
static get polymerElementVersion() {
|
|
6280
|
-
return
|
|
6280
|
+
return sl;
|
|
6281
6281
|
}
|
|
6282
6282
|
/**
|
|
6283
6283
|
* Override of PropertiesMixin _finalizeClass to create observers and
|
|
@@ -6298,7 +6298,7 @@ const ol = "3.5.2", Fo = window.ShadyCSS && window.ShadyCSS.cssBuild, sl = V((o)
|
|
|
6298
6298
|
/** @type {PolymerElementConstructor} */
|
|
6299
6299
|
this.template
|
|
6300
6300
|
);
|
|
6301
|
-
c && (typeof c == "string" ? (console.error("template getter must return HTMLTemplateElement"), c = null) :
|
|
6301
|
+
c && (typeof c == "string" ? (console.error("template getter must return HTMLTemplateElement"), c = null) : vs || (c = c.cloneNode(!0))), this.prototype._template = c;
|
|
6302
6302
|
}
|
|
6303
6303
|
/**
|
|
6304
6304
|
* Override of PropertiesChanged createProperties to create accessors
|
|
@@ -6468,7 +6468,7 @@ const ol = "3.5.2", Fo = window.ShadyCSS && window.ShadyCSS.cssBuild, sl = V((o)
|
|
|
6468
6468
|
this.constructor.finalize(), this.constructor._finalizeTemplate(
|
|
6469
6469
|
/** @type {!HTMLElement} */
|
|
6470
6470
|
this.localName
|
|
6471
|
-
), super._initializeProperties(), this.rootPath =
|
|
6471
|
+
), super._initializeProperties(), this.rootPath = Yn, this.importPath = this.constructor.importPath;
|
|
6472
6472
|
let c = e(this.constructor);
|
|
6473
6473
|
if (c)
|
|
6474
6474
|
for (let u in c) {
|
|
@@ -6579,7 +6579,7 @@ const ol = "3.5.2", Fo = window.ShadyCSS && window.ShadyCSS.cssBuild, sl = V((o)
|
|
|
6579
6579
|
_attachDom(c) {
|
|
6580
6580
|
const u = J(this);
|
|
6581
6581
|
if (u.attachShadow)
|
|
6582
|
-
return c ? (u.shadowRoot || (u.attachShadow({ mode: "open", shadyUpgradeFragment: c }), u.shadowRoot.appendChild(c), this.constructor._styleSheet && (u.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])),
|
|
6582
|
+
return c ? (u.shadowRoot || (u.attachShadow({ mode: "open", shadyUpgradeFragment: c }), u.shadowRoot.appendChild(c), this.constructor._styleSheet && (u.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), Vn && window.ShadyDOM && window.ShadyDOM.flushInitial(u.shadowRoot), u.shadowRoot) : null;
|
|
6583
6583
|
throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.");
|
|
6584
6584
|
}
|
|
6585
6585
|
/**
|
|
@@ -6664,7 +6664,7 @@ const ol = "3.5.2", Fo = window.ShadyCSS && window.ShadyCSS.cssBuild, sl = V((o)
|
|
|
6664
6664
|
* @nocollapse
|
|
6665
6665
|
*/
|
|
6666
6666
|
static _addTemplatePropertyEffect(c, u, d) {
|
|
6667
|
-
return
|
|
6667
|
+
return ys && !(u in this._properties) && // Methods used in templates with no dependencies (or only literal
|
|
6668
6668
|
// dependencies) become accessors with template effects; ignore these
|
|
6669
6669
|
!(d.info.part.signature && d.info.part.signature.static) && // Warnings for bindings added to nested templates are handled by
|
|
6670
6670
|
// templatizer so ignore both the host-to-template bindings
|
|
@@ -6689,16 +6689,16 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6689
6689
|
Code distributed by Google as part of the polymer project is also
|
|
6690
6690
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6691
6691
|
*/
|
|
6692
|
-
const
|
|
6693
|
-
class
|
|
6692
|
+
const zo = window.trustedTypes && trustedTypes.createPolicy("polymer-html-literal", { createHTML: (o) => o });
|
|
6693
|
+
class Hs {
|
|
6694
6694
|
/**
|
|
6695
6695
|
* @param {!ITemplateArray} strings Constant parts of tagged template literal
|
|
6696
6696
|
* @param {!Array<*>} values Variable parts of tagged template literal
|
|
6697
6697
|
*/
|
|
6698
6698
|
constructor(t, e) {
|
|
6699
|
-
|
|
6699
|
+
Ys(t, e);
|
|
6700
6700
|
const i = e.reduce(
|
|
6701
|
-
(s, r, n) => s +
|
|
6701
|
+
(s, r, n) => s + $s(r) + t[n + 1],
|
|
6702
6702
|
t[0]
|
|
6703
6703
|
);
|
|
6704
6704
|
this.value = i.toString();
|
|
@@ -6711,8 +6711,8 @@ class Bs {
|
|
|
6711
6711
|
return this.value;
|
|
6712
6712
|
}
|
|
6713
6713
|
}
|
|
6714
|
-
function
|
|
6715
|
-
if (o instanceof
|
|
6714
|
+
function $s(o) {
|
|
6715
|
+
if (o instanceof Hs)
|
|
6716
6716
|
return (
|
|
6717
6717
|
/** @type {!LiteralString} */
|
|
6718
6718
|
o.value
|
|
@@ -6721,30 +6721,30 @@ function Hs(o) {
|
|
|
6721
6721
|
`non-literal value passed to Polymer's htmlLiteral function: ${o}`
|
|
6722
6722
|
);
|
|
6723
6723
|
}
|
|
6724
|
-
function
|
|
6724
|
+
function nl(o) {
|
|
6725
6725
|
if (o instanceof HTMLTemplateElement)
|
|
6726
6726
|
return (
|
|
6727
6727
|
/** @type {!HTMLTemplateElement } */
|
|
6728
6728
|
o.innerHTML
|
|
6729
6729
|
);
|
|
6730
|
-
if (o instanceof
|
|
6731
|
-
return
|
|
6730
|
+
if (o instanceof Hs)
|
|
6731
|
+
return $s(o);
|
|
6732
6732
|
throw new Error(
|
|
6733
6733
|
`non-template value passed to Polymer's html function: ${o}`
|
|
6734
6734
|
);
|
|
6735
6735
|
}
|
|
6736
6736
|
const Ve = function(t, ...e) {
|
|
6737
|
-
|
|
6737
|
+
Ys(t, e);
|
|
6738
6738
|
const i = (
|
|
6739
6739
|
/** @type {!HTMLTemplateElement} */
|
|
6740
6740
|
document.createElement("template")
|
|
6741
6741
|
);
|
|
6742
6742
|
let s = e.reduce(
|
|
6743
|
-
(r, n, a) => r +
|
|
6743
|
+
(r, n, a) => r + nl(n) + t[a + 1],
|
|
6744
6744
|
t[0]
|
|
6745
6745
|
);
|
|
6746
|
-
return
|
|
6747
|
-
},
|
|
6746
|
+
return zo && (s = zo.createHTML(s)), i.innerHTML = s, i;
|
|
6747
|
+
}, Ys = (o, t) => {
|
|
6748
6748
|
if (!Array.isArray(o) || !Array.isArray(o.raw) || t.length !== o.length - 1)
|
|
6749
6749
|
throw new TypeError("Invalid call to the html template tag");
|
|
6750
6750
|
};
|
|
@@ -6757,7 +6757,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6757
6757
|
Code distributed by Google as part of the polymer project is also
|
|
6758
6758
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6759
6759
|
*/
|
|
6760
|
-
const Ie =
|
|
6760
|
+
const Ie = rl(HTMLElement);
|
|
6761
6761
|
/**
|
|
6762
6762
|
* @license
|
|
6763
6763
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
@@ -6770,14 +6770,14 @@ function bi(o, t, e = o.getAttribute("dir")) {
|
|
|
6770
6770
|
function vi() {
|
|
6771
6771
|
return document.documentElement.getAttribute("dir");
|
|
6772
6772
|
}
|
|
6773
|
-
function
|
|
6773
|
+
function al() {
|
|
6774
6774
|
const o = vi();
|
|
6775
6775
|
Se.forEach((t) => {
|
|
6776
6776
|
bi(t, o);
|
|
6777
6777
|
});
|
|
6778
6778
|
}
|
|
6779
|
-
const
|
|
6780
|
-
|
|
6779
|
+
const ll = new MutationObserver(al);
|
|
6780
|
+
ll.observe(document.documentElement, { attributes: !0, attributeFilter: ["dir"] });
|
|
6781
6781
|
const jt = (o) => class extends o {
|
|
6782
6782
|
static get properties() {
|
|
6783
6783
|
return {
|
|
@@ -6839,7 +6839,7 @@ const jt = (o) => class extends o {
|
|
|
6839
6839
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6840
6840
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6841
6841
|
*/
|
|
6842
|
-
const
|
|
6842
|
+
const cl = (o) => class extends o {
|
|
6843
6843
|
static get properties() {
|
|
6844
6844
|
return {
|
|
6845
6845
|
/**
|
|
@@ -6879,7 +6879,7 @@ const ll = (o) => class extends o {
|
|
|
6879
6879
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6880
6880
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6881
6881
|
*/
|
|
6882
|
-
const
|
|
6882
|
+
const ul = P`
|
|
6883
6883
|
:host {
|
|
6884
6884
|
display: flex;
|
|
6885
6885
|
align-items: center;
|
|
@@ -6950,8 +6950,8 @@ const cl = P`
|
|
|
6950
6950
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6951
6951
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6952
6952
|
*/
|
|
6953
|
-
L("vaadin-input-container",
|
|
6954
|
-
class
|
|
6953
|
+
L("vaadin-input-container", ul, { moduleId: "vaadin-input-container-styles" });
|
|
6954
|
+
class dl extends cl(Ye(jt(Ie))) {
|
|
6955
6955
|
static get is() {
|
|
6956
6956
|
return "vaadin-input-container";
|
|
6957
6957
|
}
|
|
@@ -6963,13 +6963,13 @@ class ul extends ll(Ye(jt(Ie))) {
|
|
|
6963
6963
|
`;
|
|
6964
6964
|
}
|
|
6965
6965
|
}
|
|
6966
|
-
ve(
|
|
6966
|
+
ve(dl);
|
|
6967
6967
|
/**
|
|
6968
6968
|
* @license
|
|
6969
6969
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
6970
6970
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6971
6971
|
*/
|
|
6972
|
-
const
|
|
6972
|
+
const hl = P`
|
|
6973
6973
|
:host {
|
|
6974
6974
|
z-index: 200;
|
|
6975
6975
|
position: fixed;
|
|
@@ -7058,21 +7058,21 @@ function yi() {
|
|
|
7058
7058
|
function qi() {
|
|
7059
7059
|
return Wi;
|
|
7060
7060
|
}
|
|
7061
|
-
function
|
|
7061
|
+
function pl(o) {
|
|
7062
7062
|
const t = o.style;
|
|
7063
7063
|
if (t.visibility === "hidden" || t.display === "none")
|
|
7064
7064
|
return !0;
|
|
7065
7065
|
const e = window.getComputedStyle(o);
|
|
7066
7066
|
return e.visibility === "hidden" || e.display === "none";
|
|
7067
7067
|
}
|
|
7068
|
-
function
|
|
7068
|
+
function fl(o, t) {
|
|
7069
7069
|
const e = Math.max(o.tabIndex, 0), i = Math.max(t.tabIndex, 0);
|
|
7070
7070
|
return e === 0 || i === 0 ? i > e : e > i;
|
|
7071
7071
|
}
|
|
7072
|
-
function
|
|
7072
|
+
function ml(o, t) {
|
|
7073
7073
|
const e = [];
|
|
7074
7074
|
for (; o.length > 0 && t.length > 0; )
|
|
7075
|
-
|
|
7075
|
+
fl(o[0], t[0]) ? e.push(t.shift()) : e.push(o.shift());
|
|
7076
7076
|
return e.concat(o, t);
|
|
7077
7077
|
}
|
|
7078
7078
|
function xi(o) {
|
|
@@ -7080,37 +7080,37 @@ function xi(o) {
|
|
|
7080
7080
|
if (t < 2)
|
|
7081
7081
|
return o;
|
|
7082
7082
|
const e = Math.ceil(t / 2), i = xi(o.slice(0, e)), s = xi(o.slice(e));
|
|
7083
|
-
return
|
|
7083
|
+
return ml(i, s);
|
|
7084
7084
|
}
|
|
7085
|
-
function
|
|
7085
|
+
function js(o) {
|
|
7086
7086
|
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]");
|
|
7087
7087
|
}
|
|
7088
|
-
function
|
|
7088
|
+
function _l(o) {
|
|
7089
7089
|
return o.getRootNode().activeElement === o;
|
|
7090
7090
|
}
|
|
7091
|
-
function
|
|
7092
|
-
if (!
|
|
7091
|
+
function gl(o) {
|
|
7092
|
+
if (!js(o))
|
|
7093
7093
|
return -1;
|
|
7094
7094
|
const t = o.getAttribute("tabindex") || 0;
|
|
7095
7095
|
return Number(t);
|
|
7096
7096
|
}
|
|
7097
|
-
function
|
|
7098
|
-
if (o.nodeType !== Node.ELEMENT_NODE ||
|
|
7097
|
+
function Vs(o, t) {
|
|
7098
|
+
if (o.nodeType !== Node.ELEMENT_NODE || pl(o))
|
|
7099
7099
|
return !1;
|
|
7100
7100
|
const e = (
|
|
7101
7101
|
/** @type {HTMLElement} */
|
|
7102
7102
|
o
|
|
7103
|
-
), i =
|
|
7103
|
+
), i = gl(e);
|
|
7104
7104
|
let s = i > 0;
|
|
7105
7105
|
i >= 0 && t.push(e);
|
|
7106
7106
|
let r = [];
|
|
7107
7107
|
return e.localName === "slot" ? r = e.assignedNodes({ flatten: !0 }) : r = (e.shadowRoot || e).children, [...r].forEach((n) => {
|
|
7108
|
-
s =
|
|
7108
|
+
s = Vs(n, t) || s;
|
|
7109
7109
|
}), s;
|
|
7110
7110
|
}
|
|
7111
|
-
function
|
|
7111
|
+
function bl(o) {
|
|
7112
7112
|
const t = [];
|
|
7113
|
-
return
|
|
7113
|
+
return Vs(o, t) ? xi(t) : t;
|
|
7114
7114
|
}
|
|
7115
7115
|
/**
|
|
7116
7116
|
@license
|
|
@@ -7121,23 +7121,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
7121
7121
|
Code distributed by Google as part of the polymer project is also
|
|
7122
7122
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7123
7123
|
*/
|
|
7124
|
-
let wi = !1,
|
|
7125
|
-
function
|
|
7124
|
+
let wi = !1, vl = [], Us = [];
|
|
7125
|
+
function yl() {
|
|
7126
7126
|
wi = !0, requestAnimationFrame(function() {
|
|
7127
|
-
wi = !1,
|
|
7128
|
-
|
|
7127
|
+
wi = !1, xl(vl), setTimeout(function() {
|
|
7128
|
+
wl(Us);
|
|
7129
7129
|
});
|
|
7130
7130
|
});
|
|
7131
7131
|
}
|
|
7132
|
-
function
|
|
7132
|
+
function xl(o) {
|
|
7133
7133
|
for (; o.length; )
|
|
7134
|
-
|
|
7134
|
+
Ws(o.shift());
|
|
7135
7135
|
}
|
|
7136
|
-
function
|
|
7136
|
+
function wl(o) {
|
|
7137
7137
|
for (let t = 0, e = o.length; t < e; t++)
|
|
7138
|
-
|
|
7138
|
+
Ws(o.shift());
|
|
7139
7139
|
}
|
|
7140
|
-
function
|
|
7140
|
+
function Ws(o) {
|
|
7141
7141
|
const t = o[0], e = o[1], i = o[2];
|
|
7142
7142
|
try {
|
|
7143
7143
|
e.apply(t, i);
|
|
@@ -7147,21 +7147,21 @@ function Us(o) {
|
|
|
7147
7147
|
});
|
|
7148
7148
|
}
|
|
7149
7149
|
}
|
|
7150
|
-
function
|
|
7151
|
-
wi ||
|
|
7150
|
+
function qs(o, t, e) {
|
|
7151
|
+
wi || yl(), Us.push([o, t, e]);
|
|
7152
7152
|
}
|
|
7153
7153
|
/**
|
|
7154
7154
|
* @license
|
|
7155
7155
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7156
7156
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7157
7157
|
*/
|
|
7158
|
-
const Vt = (o) => o.test(navigator.userAgent), Ei = (o) => o.test(navigator.platform),
|
|
7158
|
+
const Vt = (o) => o.test(navigator.userAgent), Ei = (o) => o.test(navigator.platform), El = (o) => o.test(navigator.vendor);
|
|
7159
7159
|
Vt(/Android/u);
|
|
7160
|
-
Vt(/Chrome/u) &&
|
|
7160
|
+
Vt(/Chrome/u) && El(/Google Inc/u);
|
|
7161
7161
|
Vt(/Firefox/u);
|
|
7162
|
-
const
|
|
7162
|
+
const Sl = Ei(/^iPad/u) || Ei(/^Mac/u) && navigator.maxTouchPoints > 1, Al = Ei(/^iPhone/u), Ks = Al || Sl;
|
|
7163
7163
|
Vt(/^((?!chrome|android).)*safari/iu);
|
|
7164
|
-
const
|
|
7164
|
+
const Cl = (() => {
|
|
7165
7165
|
try {
|
|
7166
7166
|
return document.createEvent("TouchEvent"), !0;
|
|
7167
7167
|
} catch {
|
|
@@ -7174,10 +7174,10 @@ const Al = (() => {
|
|
|
7174
7174
|
* SPDX-License-Identifier: MIT
|
|
7175
7175
|
*/
|
|
7176
7176
|
let We = /* @__PURE__ */ new WeakMap(), Ct = /* @__PURE__ */ new WeakMap(), Pt = {}, Qt = 0;
|
|
7177
|
-
const
|
|
7177
|
+
const Lo = (o) => o && o.nodeType === Node.ELEMENT_NODE, ei = (...o) => {
|
|
7178
7178
|
console.error(`Error: ${o.join(" ")}. Skip setting aria-hidden.`);
|
|
7179
|
-
},
|
|
7180
|
-
if (!
|
|
7179
|
+
}, Pl = (o, t) => Lo(o) ? t.map((e) => {
|
|
7180
|
+
if (!Lo(e))
|
|
7181
7181
|
return ei(e, "is not a valid element"), null;
|
|
7182
7182
|
let i = e;
|
|
7183
7183
|
for (; i && i !== o; ) {
|
|
@@ -7186,8 +7186,8 @@ const zo = (o) => o && o.nodeType === Node.ELEMENT_NODE, ei = (...o) => {
|
|
|
7186
7186
|
i = i.getRootNode().host;
|
|
7187
7187
|
}
|
|
7188
7188
|
return ei(e, "is not contained inside", o), null;
|
|
7189
|
-
}).filter((e) => !!e) : (ei(o, "is not a valid element"), []),
|
|
7190
|
-
const s =
|
|
7189
|
+
}).filter((e) => !!e) : (ei(o, "is not a valid element"), []), kl = (o, t, e, i) => {
|
|
7190
|
+
const s = Pl(t, Array.isArray(o) ? o : [o]);
|
|
7191
7191
|
Pt[e] || (Pt[e] = /* @__PURE__ */ new WeakMap());
|
|
7192
7192
|
const r = Pt[e], n = [], a = /* @__PURE__ */ new Set(), l = new Set(s), c = (d) => {
|
|
7193
7193
|
if (!d || a.has(d))
|
|
@@ -7217,16 +7217,16 @@ const zo = (o) => o && o.nodeType === Node.ELEMENT_NODE, ei = (...o) => {
|
|
|
7217
7217
|
We.set(d, h), r.set(d, m), h || (Ct.has(d) ? Ct.delete(d) : d.removeAttribute(i)), m || d.removeAttribute(e);
|
|
7218
7218
|
}), Qt -= 1, Qt || (We = /* @__PURE__ */ new WeakMap(), We = /* @__PURE__ */ new WeakMap(), Ct = /* @__PURE__ */ new WeakMap(), Pt = {});
|
|
7219
7219
|
};
|
|
7220
|
-
},
|
|
7220
|
+
}, Gs = (o, t = document.body, e = "data-aria-hidden") => {
|
|
7221
7221
|
const i = Array.from(Array.isArray(o) ? o : [o]);
|
|
7222
|
-
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))),
|
|
7222
|
+
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))), kl(i, t, e, "aria-hidden");
|
|
7223
7223
|
};
|
|
7224
7224
|
/**
|
|
7225
7225
|
* @license
|
|
7226
7226
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7227
7227
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7228
7228
|
*/
|
|
7229
|
-
class
|
|
7229
|
+
class Dl {
|
|
7230
7230
|
/**
|
|
7231
7231
|
* @param {HTMLElement} host
|
|
7232
7232
|
*/
|
|
@@ -7242,7 +7242,7 @@ class kl {
|
|
|
7242
7242
|
*/
|
|
7243
7243
|
showModal() {
|
|
7244
7244
|
const t = this.callback();
|
|
7245
|
-
this.__showOthers =
|
|
7245
|
+
this.__showOthers = Gs(t);
|
|
7246
7246
|
}
|
|
7247
7247
|
/**
|
|
7248
7248
|
* Remove `aria-hidden` from other elements unless there are any other
|
|
@@ -7257,7 +7257,7 @@ class kl {
|
|
|
7257
7257
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7258
7258
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7259
7259
|
*/
|
|
7260
|
-
class
|
|
7260
|
+
class Tl {
|
|
7261
7261
|
/**
|
|
7262
7262
|
* Saves the given node as a target for restoring focus to
|
|
7263
7263
|
* when `restoreFocus()` is called. If no node is provided,
|
|
@@ -7285,7 +7285,7 @@ class Dl {
|
|
|
7285
7285
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7286
7286
|
*/
|
|
7287
7287
|
const ti = [];
|
|
7288
|
-
class
|
|
7288
|
+
class Ml {
|
|
7289
7289
|
/**
|
|
7290
7290
|
* @param {HTMLElement} host
|
|
7291
7291
|
*/
|
|
@@ -7299,7 +7299,7 @@ class Tl {
|
|
|
7299
7299
|
* @private
|
|
7300
7300
|
*/
|
|
7301
7301
|
get __focusableElements() {
|
|
7302
|
-
return
|
|
7302
|
+
return bl(this.__trapNode);
|
|
7303
7303
|
}
|
|
7304
7304
|
/**
|
|
7305
7305
|
* The index of the element inside the trap node that currently has focus.
|
|
@@ -7309,7 +7309,7 @@ class Tl {
|
|
|
7309
7309
|
*/
|
|
7310
7310
|
get __focusedElementIndex() {
|
|
7311
7311
|
const t = this.__focusableElements;
|
|
7312
|
-
return t.indexOf(t.filter(
|
|
7312
|
+
return t.indexOf(t.filter(_l).pop());
|
|
7313
7313
|
}
|
|
7314
7314
|
hostConnected() {
|
|
7315
7315
|
document.addEventListener("keydown", this.__onKeyDown);
|
|
@@ -7422,7 +7422,7 @@ const ot = V((o) => typeof o.prototype.addController == "function" ? o : class e
|
|
|
7422
7422
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7423
7423
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7424
7424
|
*/
|
|
7425
|
-
const
|
|
7425
|
+
const Ol = (o) => class extends ot(o) {
|
|
7426
7426
|
static get properties() {
|
|
7427
7427
|
return {
|
|
7428
7428
|
/**
|
|
@@ -7453,7 +7453,7 @@ const Ml = (o) => class extends ot(o) {
|
|
|
7453
7453
|
};
|
|
7454
7454
|
}
|
|
7455
7455
|
constructor() {
|
|
7456
|
-
super(), this.__ariaModalController = new
|
|
7456
|
+
super(), this.__ariaModalController = new Dl(this), this.__focusTrapController = new Ml(this), this.__focusRestorationController = new Tl();
|
|
7457
7457
|
}
|
|
7458
7458
|
/** @protected */
|
|
7459
7459
|
ready() {
|
|
@@ -7524,7 +7524,7 @@ const Ml = (o) => class extends ot(o) {
|
|
|
7524
7524
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7525
7525
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7526
7526
|
*/
|
|
7527
|
-
const
|
|
7527
|
+
const Js = () => Array.from(document.body.children).filter((o) => o instanceof HTMLElement && o._hasOverlayStackMixin && !o.hasAttribute("closing")).sort((o, t) => o.__zIndex - t.__zIndex || 0), Si = () => Js().filter((o) => o.$.overlay), Il = (o) => o === Si().pop(), Fl = (o) => class extends o {
|
|
7528
7528
|
constructor() {
|
|
7529
7529
|
super(), this._hasOverlayStackMixin = !0;
|
|
7530
7530
|
}
|
|
@@ -7535,14 +7535,14 @@ const Gs = () => Array.from(document.body.children).filter((o) => o instanceof H
|
|
|
7535
7535
|
* @protected
|
|
7536
7536
|
*/
|
|
7537
7537
|
get _last() {
|
|
7538
|
-
return
|
|
7538
|
+
return Il(this);
|
|
7539
7539
|
}
|
|
7540
7540
|
/**
|
|
7541
7541
|
* Brings the overlay as visually the frontmost one.
|
|
7542
7542
|
*/
|
|
7543
7543
|
bringToFront() {
|
|
7544
7544
|
let e = "";
|
|
7545
|
-
const i =
|
|
7545
|
+
const i = Js().filter((s) => s !== this).pop();
|
|
7546
7546
|
i && (e = i.__zIndex + 1), this.style.zIndex = e, this.__zIndex = e || parseFloat(getComputedStyle(this).zIndex);
|
|
7547
7547
|
}
|
|
7548
7548
|
/** @protected */
|
|
@@ -7565,7 +7565,7 @@ const Gs = () => Array.from(document.body.children).filter((o) => o instanceof H
|
|
|
7565
7565
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7566
7566
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7567
7567
|
*/
|
|
7568
|
-
const
|
|
7568
|
+
const Nl = (o) => class extends Ol(Fl(o)) {
|
|
7569
7569
|
static get properties() {
|
|
7570
7570
|
return {
|
|
7571
7571
|
/**
|
|
@@ -7638,7 +7638,7 @@ const Fl = (o) => class extends Ml(Il(o)) {
|
|
|
7638
7638
|
return ["_rendererOrDataChanged(renderer, owner, model, opened)"];
|
|
7639
7639
|
}
|
|
7640
7640
|
constructor() {
|
|
7641
|
-
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),
|
|
7641
|
+
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), Ks && (this._boundIosResizeListener = () => this._detectIosNavbar());
|
|
7642
7642
|
}
|
|
7643
7643
|
/** @protected */
|
|
7644
7644
|
ready() {
|
|
@@ -7706,7 +7706,7 @@ const Fl = (o) => class extends Ml(Il(o)) {
|
|
|
7706
7706
|
}
|
|
7707
7707
|
/** @private */
|
|
7708
7708
|
_openedChanged(e, i) {
|
|
7709
|
-
e ? (this._saveFocus(), this._animatedOpening(),
|
|
7709
|
+
e ? (this._saveFocus(), this._animatedOpening(), qs(this, () => {
|
|
7710
7710
|
this._trapFocus();
|
|
7711
7711
|
const s = new CustomEvent("vaadin-overlay-open", { bubbles: !0 });
|
|
7712
7712
|
this.dispatchEvent(s);
|
|
@@ -7831,7 +7831,7 @@ const Fl = (o) => class extends Ml(Il(o)) {
|
|
|
7831
7831
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7832
7832
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7833
7833
|
*/
|
|
7834
|
-
function
|
|
7834
|
+
function zl(o) {
|
|
7835
7835
|
const t = [];
|
|
7836
7836
|
for (; o; ) {
|
|
7837
7837
|
if (o.nodeType === Node.DOCUMENT_NODE) {
|
|
@@ -7856,11 +7856,11 @@ function Ki(o) {
|
|
|
7856
7856
|
function Ut(o) {
|
|
7857
7857
|
return o ? [...o].join(" ") : "";
|
|
7858
7858
|
}
|
|
7859
|
-
function
|
|
7859
|
+
function Xs(o, t, e) {
|
|
7860
7860
|
const i = Ki(o.getAttribute(t));
|
|
7861
7861
|
i.add(e), o.setAttribute(t, Ut(i));
|
|
7862
7862
|
}
|
|
7863
|
-
function
|
|
7863
|
+
function Ll(o, t, e) {
|
|
7864
7864
|
const i = Ki(o.getAttribute(t));
|
|
7865
7865
|
if (i.delete(e), i.size === 0) {
|
|
7866
7866
|
o.removeAttribute(t);
|
|
@@ -7868,7 +7868,7 @@ function zl(o, t, e) {
|
|
|
7868
7868
|
}
|
|
7869
7869
|
o.setAttribute(t, Ut(i));
|
|
7870
7870
|
}
|
|
7871
|
-
function
|
|
7871
|
+
function Rl(o) {
|
|
7872
7872
|
return o.nodeType === Node.TEXT_NODE && o.textContent.trim() === "";
|
|
7873
7873
|
}
|
|
7874
7874
|
/**
|
|
@@ -7876,7 +7876,7 @@ function Ll(o) {
|
|
|
7876
7876
|
* Copyright (c) 2024 Vaadin Ltd.
|
|
7877
7877
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7878
7878
|
*/
|
|
7879
|
-
function
|
|
7879
|
+
function Bl(o, t) {
|
|
7880
7880
|
let e = null;
|
|
7881
7881
|
const i = document.documentElement;
|
|
7882
7882
|
function s() {
|
|
@@ -7916,13 +7916,13 @@ const ii = {
|
|
|
7916
7916
|
}, oi = {
|
|
7917
7917
|
start: "left",
|
|
7918
7918
|
end: "right"
|
|
7919
|
-
},
|
|
7919
|
+
}, Ro = new ResizeObserver((o) => {
|
|
7920
7920
|
setTimeout(() => {
|
|
7921
7921
|
o.forEach((t) => {
|
|
7922
7922
|
t.target.__overlay && t.target.__overlay._updatePosition();
|
|
7923
7923
|
});
|
|
7924
7924
|
});
|
|
7925
|
-
}),
|
|
7925
|
+
}), Hl = (o) => class extends o {
|
|
7926
7926
|
static get properties() {
|
|
7927
7927
|
return {
|
|
7928
7928
|
/**
|
|
@@ -8021,9 +8021,9 @@ const ii = {
|
|
|
8021
8021
|
}
|
|
8022
8022
|
/** @private */
|
|
8023
8023
|
__addUpdatePositionEventListeners() {
|
|
8024
|
-
window.visualViewport.addEventListener("resize", this._updatePosition), window.visualViewport.addEventListener("scroll", this.__onScroll, !0), this.__positionTargetAncestorRootNodes =
|
|
8024
|
+
window.visualViewport.addEventListener("resize", this._updatePosition), window.visualViewport.addEventListener("scroll", this.__onScroll, !0), this.__positionTargetAncestorRootNodes = zl(this.positionTarget), this.__positionTargetAncestorRootNodes.forEach((e) => {
|
|
8025
8025
|
e.addEventListener("scroll", this.__onScroll, !0);
|
|
8026
|
-
}), this.positionTarget && (this.__observePositionTargetMove =
|
|
8026
|
+
}), this.positionTarget && (this.__observePositionTargetMove = Bl(this.positionTarget, () => {
|
|
8027
8027
|
this._updatePosition();
|
|
8028
8028
|
}));
|
|
8029
8029
|
}
|
|
@@ -8035,7 +8035,7 @@ const ii = {
|
|
|
8035
8035
|
}
|
|
8036
8036
|
/** @private */
|
|
8037
8037
|
__overlayOpenedChanged(e, i) {
|
|
8038
|
-
if (this.__removeUpdatePositionEventListeners(), i && (i.__overlay = null,
|
|
8038
|
+
if (this.__removeUpdatePositionEventListeners(), i && (i.__overlay = null, Ro.unobserve(i), e && (this.__addUpdatePositionEventListeners(), i.__overlay = this, Ro.observe(i))), e) {
|
|
8039
8039
|
const s = getComputedStyle(this);
|
|
8040
8040
|
this.__margins || (this.__margins = {}, ["top", "bottom", "left", "right"].forEach((r) => {
|
|
8041
8041
|
this.__margins[r] = parseInt(s[r], 10);
|
|
@@ -8157,7 +8157,7 @@ const ii = {
|
|
|
8157
8157
|
* Copyright (c) 2015 - 2024 Vaadin Ltd.
|
|
8158
8158
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8159
8159
|
*/
|
|
8160
|
-
const
|
|
8160
|
+
const $l = (o) => class extends Hl(Nl(o)) {
|
|
8161
8161
|
/**
|
|
8162
8162
|
* Override method inherited from `OverlayMixin` to not close on input click.
|
|
8163
8163
|
* Needed to ignore date-picker's own input in the mousedown listener below.
|
|
@@ -8174,7 +8174,7 @@ const Hl = (o) => class extends Bl(Fl(o)) {
|
|
|
8174
8174
|
* @override
|
|
8175
8175
|
*/
|
|
8176
8176
|
_mouseDownListener(e) {
|
|
8177
|
-
super._mouseDownListener(e), this._shouldCloseOnOutsideClick(e) && !
|
|
8177
|
+
super._mouseDownListener(e), this._shouldCloseOnOutsideClick(e) && !js(e.composedPath()[0]) && e.preventDefault();
|
|
8178
8178
|
}
|
|
8179
8179
|
};
|
|
8180
8180
|
/**
|
|
@@ -8182,7 +8182,7 @@ const Hl = (o) => class extends Bl(Fl(o)) {
|
|
|
8182
8182
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
8183
8183
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8184
8184
|
*/
|
|
8185
|
-
const
|
|
8185
|
+
const Yl = P`
|
|
8186
8186
|
[part='overlay'] {
|
|
8187
8187
|
display: flex;
|
|
8188
8188
|
flex: auto;
|
|
@@ -8203,10 +8203,10 @@ const $l = P`
|
|
|
8203
8203
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
8204
8204
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8205
8205
|
*/
|
|
8206
|
-
L("vaadin-date-picker-overlay", [
|
|
8206
|
+
L("vaadin-date-picker-overlay", [hl, Yl], {
|
|
8207
8207
|
moduleId: "vaadin-date-picker-overlay-styles"
|
|
8208
8208
|
});
|
|
8209
|
-
class
|
|
8209
|
+
class jl extends $l(jt(Ye(Ie))) {
|
|
8210
8210
|
static get is() {
|
|
8211
8211
|
return "vaadin-date-picker-overlay";
|
|
8212
8212
|
}
|
|
@@ -8221,34 +8221,34 @@ class Yl extends Hl(jt(Ye(Ie))) {
|
|
|
8221
8221
|
`;
|
|
8222
8222
|
}
|
|
8223
8223
|
}
|
|
8224
|
-
ve(
|
|
8225
|
-
const
|
|
8226
|
-
function
|
|
8224
|
+
ve(jl);
|
|
8225
|
+
const Vl = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i, Tt = window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients;
|
|
8226
|
+
function Ul() {
|
|
8227
8227
|
function o() {
|
|
8228
8228
|
return !0;
|
|
8229
8229
|
}
|
|
8230
|
-
return
|
|
8230
|
+
return Zs(o);
|
|
8231
8231
|
}
|
|
8232
|
-
function
|
|
8232
|
+
function Wl() {
|
|
8233
8233
|
try {
|
|
8234
|
-
return
|
|
8234
|
+
return ql() ? !0 : Kl() ? Tt ? !Gl() : !Ul() : !1;
|
|
8235
8235
|
} catch {
|
|
8236
8236
|
return !1;
|
|
8237
8237
|
}
|
|
8238
8238
|
}
|
|
8239
|
-
function
|
|
8239
|
+
function ql() {
|
|
8240
8240
|
return localStorage.getItem("vaadin.developmentmode.force");
|
|
8241
8241
|
}
|
|
8242
|
-
function
|
|
8242
|
+
function Kl() {
|
|
8243
8243
|
return ["localhost", "127.0.0.1"].indexOf(window.location.hostname) >= 0;
|
|
8244
8244
|
}
|
|
8245
|
-
function
|
|
8245
|
+
function Gl() {
|
|
8246
8246
|
return !!(Tt && Object.keys(Tt).map((t) => Tt[t]).filter((t) => t.productionMode).length > 0);
|
|
8247
8247
|
}
|
|
8248
|
-
function
|
|
8248
|
+
function Zs(o, t) {
|
|
8249
8249
|
if (typeof o != "function")
|
|
8250
8250
|
return;
|
|
8251
|
-
const e =
|
|
8251
|
+
const e = Vl.exec(o.toString());
|
|
8252
8252
|
if (e)
|
|
8253
8253
|
try {
|
|
8254
8254
|
o = new Function(e[1]);
|
|
@@ -8258,12 +8258,12 @@ function Xs(o, t) {
|
|
|
8258
8258
|
return o(t);
|
|
8259
8259
|
}
|
|
8260
8260
|
window.Vaadin = window.Vaadin || {};
|
|
8261
|
-
const
|
|
8261
|
+
const Bo = function(o, t) {
|
|
8262
8262
|
if (window.Vaadin.developmentMode)
|
|
8263
|
-
return
|
|
8263
|
+
return Zs(o, t);
|
|
8264
8264
|
};
|
|
8265
|
-
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode =
|
|
8266
|
-
function
|
|
8265
|
+
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode = Wl());
|
|
8266
|
+
function Jl() {
|
|
8267
8267
|
/*! vaadin-dev-mode:start
|
|
8268
8268
|
(function () {
|
|
8269
8269
|
'use strict';
|
|
@@ -8744,9 +8744,9 @@ function Gl() {
|
|
|
8744
8744
|
|
|
8745
8745
|
vaadin-dev-mode:end **/
|
|
8746
8746
|
}
|
|
8747
|
-
const
|
|
8748
|
-
if (typeof
|
|
8749
|
-
return
|
|
8747
|
+
const Xl = function() {
|
|
8748
|
+
if (typeof Bo == "function")
|
|
8749
|
+
return Bo(Jl);
|
|
8750
8750
|
};
|
|
8751
8751
|
/**
|
|
8752
8752
|
* @license
|
|
@@ -8757,10 +8757,10 @@ const Jl = function() {
|
|
|
8757
8757
|
* Code distributed by Google as part of the polymer project is also
|
|
8758
8758
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
8759
8759
|
*/
|
|
8760
|
-
let
|
|
8760
|
+
let Ho = 0, Qs = 0;
|
|
8761
8761
|
const Je = [];
|
|
8762
8762
|
let Ai = !1;
|
|
8763
|
-
function
|
|
8763
|
+
function Zl() {
|
|
8764
8764
|
Ai = !1;
|
|
8765
8765
|
const o = Je.length;
|
|
8766
8766
|
for (let t = 0; t < o; t++) {
|
|
@@ -8774,7 +8774,7 @@ function Xl() {
|
|
|
8774
8774
|
});
|
|
8775
8775
|
}
|
|
8776
8776
|
}
|
|
8777
|
-
Je.splice(0, o),
|
|
8777
|
+
Je.splice(0, o), Qs += o;
|
|
8778
8778
|
}
|
|
8779
8779
|
const Lt = {
|
|
8780
8780
|
/**
|
|
@@ -8816,7 +8816,7 @@ const Lt = {
|
|
|
8816
8816
|
cancel(o) {
|
|
8817
8817
|
window.clearTimeout(o);
|
|
8818
8818
|
}
|
|
8819
|
-
},
|
|
8819
|
+
}, Ql = {
|
|
8820
8820
|
/**
|
|
8821
8821
|
* Enqueues a function called at `requestAnimationFrame` timing.
|
|
8822
8822
|
*
|
|
@@ -8837,7 +8837,7 @@ const Lt = {
|
|
|
8837
8837
|
cancel(o) {
|
|
8838
8838
|
window.cancelAnimationFrame(o);
|
|
8839
8839
|
}
|
|
8840
|
-
},
|
|
8840
|
+
}, ec = {
|
|
8841
8841
|
/**
|
|
8842
8842
|
* Enqueues a function called at `requestIdleCallback` timing.
|
|
8843
8843
|
*
|
|
@@ -8858,7 +8858,7 @@ const Lt = {
|
|
|
8858
8858
|
cancel(o) {
|
|
8859
8859
|
window.cancelIdleCallback ? window.cancelIdleCallback(o) : window.clearTimeout(o);
|
|
8860
8860
|
}
|
|
8861
|
-
},
|
|
8861
|
+
}, tc = {
|
|
8862
8862
|
/**
|
|
8863
8863
|
* Enqueues a function called at microtask timing.
|
|
8864
8864
|
*
|
|
@@ -8867,9 +8867,9 @@ const Lt = {
|
|
|
8867
8867
|
* @return {number} Handle used for canceling task
|
|
8868
8868
|
*/
|
|
8869
8869
|
run(o) {
|
|
8870
|
-
Ai || (Ai = !0, queueMicrotask(() =>
|
|
8871
|
-
const t =
|
|
8872
|
-
return
|
|
8870
|
+
Ai || (Ai = !0, queueMicrotask(() => Zl())), Je.push(o);
|
|
8871
|
+
const t = Ho;
|
|
8872
|
+
return Ho += 1, t;
|
|
8873
8873
|
},
|
|
8874
8874
|
/**
|
|
8875
8875
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -8879,7 +8879,7 @@ const Lt = {
|
|
|
8879
8879
|
* @return {void}
|
|
8880
8880
|
*/
|
|
8881
8881
|
cancel(o) {
|
|
8882
|
-
const t = o -
|
|
8882
|
+
const t = o - Qs;
|
|
8883
8883
|
if (t >= 0) {
|
|
8884
8884
|
if (!Je[t])
|
|
8885
8885
|
throw new Error(`invalid async handle: ${o}`);
|
|
@@ -8988,7 +8988,7 @@ let et = class Pi {
|
|
|
8988
8988
|
return this._timer != null;
|
|
8989
8989
|
}
|
|
8990
8990
|
};
|
|
8991
|
-
function
|
|
8991
|
+
function ic(o) {
|
|
8992
8992
|
Ci.add(o);
|
|
8993
8993
|
}
|
|
8994
8994
|
/**
|
|
@@ -9000,17 +9000,17 @@ window.Vaadin || (window.Vaadin = {});
|
|
|
9000
9000
|
window.Vaadin.registrations || (window.Vaadin.registrations = []);
|
|
9001
9001
|
window.Vaadin.developmentModeCallback || (window.Vaadin.developmentModeCallback = {});
|
|
9002
9002
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"] = function() {
|
|
9003
|
-
|
|
9003
|
+
Xl();
|
|
9004
9004
|
};
|
|
9005
9005
|
let si;
|
|
9006
|
-
const
|
|
9006
|
+
const $o = /* @__PURE__ */ new Set(), er = (o) => class extends jt(o) {
|
|
9007
9007
|
/** @protected */
|
|
9008
9008
|
static finalize() {
|
|
9009
9009
|
super.finalize();
|
|
9010
9010
|
const { is: e } = this;
|
|
9011
|
-
e &&
|
|
9011
|
+
e && !$o.has(e) && (window.Vaadin.registrations.push(this), $o.add(e), window.Vaadin.developmentModeCallback && (si = et.debounce(si, ec, () => {
|
|
9012
9012
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]();
|
|
9013
|
-
}),
|
|
9013
|
+
}), ic(si)));
|
|
9014
9014
|
}
|
|
9015
9015
|
constructor() {
|
|
9016
9016
|
super(), document.doctype === null && console.warn(
|
|
@@ -9023,7 +9023,7 @@ const Ho = /* @__PURE__ */ new Set(), Qs = (o) => class extends jt(o) {
|
|
|
9023
9023
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
9024
9024
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9025
9025
|
*/
|
|
9026
|
-
class
|
|
9026
|
+
class oc {
|
|
9027
9027
|
constructor(t, e) {
|
|
9028
9028
|
this.slot = t, this.callback = e, this._storedNodes = [], this._connected = !1, this._scheduled = !1, this._boundSchedule = () => {
|
|
9029
9029
|
this._schedule();
|
|
@@ -9073,9 +9073,9 @@ class ic {
|
|
|
9073
9073
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9074
9074
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9075
9075
|
*/
|
|
9076
|
-
let
|
|
9077
|
-
function
|
|
9078
|
-
return
|
|
9076
|
+
let sc = 0;
|
|
9077
|
+
function tr() {
|
|
9078
|
+
return sc++;
|
|
9079
9079
|
}
|
|
9080
9080
|
/**
|
|
9081
9081
|
* @license
|
|
@@ -9092,7 +9092,7 @@ class Re extends EventTarget {
|
|
|
9092
9092
|
* @protected
|
|
9093
9093
|
*/
|
|
9094
9094
|
static generateId(t, e = "default") {
|
|
9095
|
-
return `${e}-${t.localName}-${
|
|
9095
|
+
return `${e}-${t.localName}-${tr()}`;
|
|
9096
9096
|
}
|
|
9097
9097
|
constructor(t, e, i, s = {}) {
|
|
9098
9098
|
super();
|
|
@@ -9184,8 +9184,8 @@ class Re extends EventTarget {
|
|
|
9184
9184
|
*/
|
|
9185
9185
|
observeSlot() {
|
|
9186
9186
|
const { slotName: t } = this, e = t === "" ? "slot:not([name])" : `slot[name=${t}]`, i = this.host.shadowRoot.querySelector(e);
|
|
9187
|
-
this.__slotObserver = new
|
|
9188
|
-
const n = this.multiple ? this.nodes : [this.node], a = s.filter((l) => !
|
|
9187
|
+
this.__slotObserver = new oc(i, ({ addedNodes: s, removedNodes: r }) => {
|
|
9188
|
+
const n = this.multiple ? this.nodes : [this.node], a = s.filter((l) => !Rl(l) && !n.includes(l));
|
|
9189
9189
|
r.length && (this.nodes = n.filter((l) => !r.includes(l)), r.forEach((l) => {
|
|
9190
9190
|
this.teardownNode(l);
|
|
9191
9191
|
})), a && a.length > 0 && (this.multiple ? (this.defaultNode && this.defaultNode.remove(), this.nodes = [...n, ...a].filter((l) => l !== this.defaultNode), a.forEach((l) => {
|
|
@@ -9199,7 +9199,7 @@ class Re extends EventTarget {
|
|
|
9199
9199
|
* Copyright (c) 2022 - 2024 Vaadin Ltd.
|
|
9200
9200
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9201
9201
|
*/
|
|
9202
|
-
class
|
|
9202
|
+
class ir extends Re {
|
|
9203
9203
|
constructor(t) {
|
|
9204
9204
|
super(t, "tooltip"), this.setTarget(t);
|
|
9205
9205
|
}
|
|
@@ -9300,7 +9300,7 @@ class tr extends Re {
|
|
|
9300
9300
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
9301
9301
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9302
9302
|
*/
|
|
9303
|
-
const
|
|
9303
|
+
const rc = P`
|
|
9304
9304
|
:host {
|
|
9305
9305
|
display: inline-block;
|
|
9306
9306
|
position: relative;
|
|
@@ -9360,7 +9360,7 @@ const sc = P`
|
|
|
9360
9360
|
outline-color: GrayText;
|
|
9361
9361
|
}
|
|
9362
9362
|
}
|
|
9363
|
-
`,
|
|
9363
|
+
`, nc = (o) => o`
|
|
9364
9364
|
<div class="vaadin-button-container">
|
|
9365
9365
|
<span part="prefix" aria-hidden="true">
|
|
9366
9366
|
<slot name="prefix"></slot>
|
|
@@ -9383,7 +9383,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
9383
9383
|
Code distributed by Google as part of the polymer project is also
|
|
9384
9384
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
9385
9385
|
*/
|
|
9386
|
-
const
|
|
9386
|
+
const ac = (o) => o, or = typeof document.head.style.touchAction == "string", ki = "__polymerGestures", ri = "__polymerGesturesHandled", Di = "__polymerGesturesTouchAction", Yo = 25, jo = 5, lc = 2, cc = ["mousedown", "mousemove", "mouseup", "click"], uc = [0, 1, 4, 2], dc = function() {
|
|
9387
9387
|
try {
|
|
9388
9388
|
return new MouseEvent("test", { buttons: 1 }).buttons === 1;
|
|
9389
9389
|
} catch {
|
|
@@ -9391,25 +9391,25 @@ const nc = (o) => o, ir = typeof document.head.style.touchAction == "string", ki
|
|
|
9391
9391
|
}
|
|
9392
9392
|
}();
|
|
9393
9393
|
function Gi(o) {
|
|
9394
|
-
return
|
|
9394
|
+
return cc.indexOf(o) > -1;
|
|
9395
9395
|
}
|
|
9396
|
-
let
|
|
9396
|
+
let hc = !1;
|
|
9397
9397
|
(function() {
|
|
9398
9398
|
try {
|
|
9399
9399
|
const o = Object.defineProperty({}, "passive", {
|
|
9400
9400
|
// eslint-disable-next-line getter-return
|
|
9401
9401
|
get() {
|
|
9402
|
-
|
|
9402
|
+
hc = !0;
|
|
9403
9403
|
}
|
|
9404
9404
|
});
|
|
9405
9405
|
window.addEventListener("test", null, o), window.removeEventListener("test", null, o);
|
|
9406
9406
|
} catch {
|
|
9407
9407
|
}
|
|
9408
9408
|
})();
|
|
9409
|
-
function
|
|
9409
|
+
function pc(o) {
|
|
9410
9410
|
Gi(o);
|
|
9411
9411
|
}
|
|
9412
|
-
const
|
|
9412
|
+
const fc = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), mc = {
|
|
9413
9413
|
button: !0,
|
|
9414
9414
|
command: !0,
|
|
9415
9415
|
fieldset: !0,
|
|
@@ -9426,11 +9426,11 @@ function He(o) {
|
|
|
9426
9426
|
return !1;
|
|
9427
9427
|
if (t === "mousemove") {
|
|
9428
9428
|
let i = o.buttons === void 0 ? 1 : o.buttons;
|
|
9429
|
-
return o instanceof window.MouseEvent && !
|
|
9429
|
+
return o instanceof window.MouseEvent && !dc && (i = uc[o.which] || 0), !!(i & 1);
|
|
9430
9430
|
}
|
|
9431
9431
|
return (o.button === void 0 ? 0 : o.button) === 0;
|
|
9432
9432
|
}
|
|
9433
|
-
function
|
|
9433
|
+
function _c(o) {
|
|
9434
9434
|
if (o.type === "click") {
|
|
9435
9435
|
if (o.detail === 0)
|
|
9436
9436
|
return !0;
|
|
@@ -9454,9 +9454,9 @@ const Ce = {
|
|
|
9454
9454
|
scrollDecided: !1
|
|
9455
9455
|
}
|
|
9456
9456
|
};
|
|
9457
|
-
function
|
|
9457
|
+
function gc(o) {
|
|
9458
9458
|
let t = "auto";
|
|
9459
|
-
const e =
|
|
9459
|
+
const e = rr(o);
|
|
9460
9460
|
for (let i = 0, s; i < e.length; i++)
|
|
9461
9461
|
if (s = e[i], s[Di]) {
|
|
9462
9462
|
t = s[Di];
|
|
@@ -9464,14 +9464,14 @@ function _c(o) {
|
|
|
9464
9464
|
}
|
|
9465
9465
|
return t;
|
|
9466
9466
|
}
|
|
9467
|
-
function
|
|
9467
|
+
function sr(o, t, e) {
|
|
9468
9468
|
o.movefn = t, o.upfn = e, document.addEventListener("mousemove", t), document.addEventListener("mouseup", e);
|
|
9469
9469
|
}
|
|
9470
9470
|
function Xe(o) {
|
|
9471
9471
|
document.removeEventListener("mousemove", o.movefn), document.removeEventListener("mouseup", o.upfn), o.movefn = null, o.upfn = null;
|
|
9472
9472
|
}
|
|
9473
|
-
const
|
|
9474
|
-
function
|
|
9473
|
+
const rr = window.ShadyDOM && window.ShadyDOM.noPatch ? window.ShadyDOM.composedPath : (o) => o.composedPath && o.composedPath() || [], Ji = {}, Be = [];
|
|
9474
|
+
function bc(o, t) {
|
|
9475
9475
|
let e = document.elementFromPoint(o, t), i = e;
|
|
9476
9476
|
for (; i && i.shadowRoot && !window.ShadyDOM; ) {
|
|
9477
9477
|
const s = i;
|
|
@@ -9482,13 +9482,13 @@ function gc(o, t) {
|
|
|
9482
9482
|
return e;
|
|
9483
9483
|
}
|
|
9484
9484
|
function Oe(o) {
|
|
9485
|
-
const t =
|
|
9485
|
+
const t = rr(
|
|
9486
9486
|
/** @type {?Event} */
|
|
9487
9487
|
o
|
|
9488
9488
|
);
|
|
9489
9489
|
return t.length > 0 ? t[0] : o.target;
|
|
9490
9490
|
}
|
|
9491
|
-
function
|
|
9491
|
+
function vc(o) {
|
|
9492
9492
|
const t = o.type, i = o.currentTarget[ki];
|
|
9493
9493
|
if (!i)
|
|
9494
9494
|
return;
|
|
@@ -9499,7 +9499,7 @@ function bc(o) {
|
|
|
9499
9499
|
const n = o.changedTouches[0];
|
|
9500
9500
|
if (t === "touchstart" && o.touches.length === 1 && (Ce.touch.id = n.identifier), Ce.touch.id !== n.identifier)
|
|
9501
9501
|
return;
|
|
9502
|
-
|
|
9502
|
+
or || (t === "touchstart" || t === "touchmove") && yc(o);
|
|
9503
9503
|
}
|
|
9504
9504
|
const r = o[ri];
|
|
9505
9505
|
if (!r.skip) {
|
|
@@ -9509,7 +9509,7 @@ function bc(o) {
|
|
|
9509
9509
|
a = Be[n], s[a.name] && !r[a.name] && (r[a.name] = !0, a[t](o));
|
|
9510
9510
|
}
|
|
9511
9511
|
}
|
|
9512
|
-
function
|
|
9512
|
+
function yc(o) {
|
|
9513
9513
|
const t = o.changedTouches[0], e = o.type;
|
|
9514
9514
|
if (e === "touchstart")
|
|
9515
9515
|
Ce.touch.x = t.clientX, Ce.touch.y = t.clientY, Ce.touch.scrollDecided = !1;
|
|
@@ -9517,29 +9517,29 @@ function vc(o) {
|
|
|
9517
9517
|
if (Ce.touch.scrollDecided)
|
|
9518
9518
|
return;
|
|
9519
9519
|
Ce.touch.scrollDecided = !0;
|
|
9520
|
-
const i =
|
|
9520
|
+
const i = gc(o);
|
|
9521
9521
|
let s = !1;
|
|
9522
9522
|
const r = Math.abs(Ce.touch.x - t.clientX), n = Math.abs(Ce.touch.y - t.clientY);
|
|
9523
9523
|
o.cancelable && (i === "none" ? s = !0 : i === "pan-x" ? s = n > r : i === "pan-y" && (s = r > n)), s ? o.preventDefault() : Rt("track");
|
|
9524
9524
|
}
|
|
9525
9525
|
}
|
|
9526
9526
|
function be(o, t, e) {
|
|
9527
|
-
return Ji[t] ? (
|
|
9527
|
+
return Ji[t] ? (xc(o, t, e), !0) : !1;
|
|
9528
9528
|
}
|
|
9529
|
-
function
|
|
9529
|
+
function xc(o, t, e) {
|
|
9530
9530
|
const i = Ji[t], s = i.deps, r = i.name;
|
|
9531
9531
|
let n = o[ki];
|
|
9532
9532
|
n || (o[ki] = n = {});
|
|
9533
9533
|
for (let a = 0, l, c; a < s.length; a++)
|
|
9534
|
-
l = s[a], !(
|
|
9535
|
-
o.addEventListener(t, e), i.touchAction &&
|
|
9534
|
+
l = s[a], !(fc && Gi(l) && l !== "click") && (c = n[l], c || (n[l] = c = { _count: 0 }), c._count === 0 && o.addEventListener(l, vc, pc(l)), c[r] = (c[r] || 0) + 1, c._count = (c._count || 0) + 1);
|
|
9535
|
+
o.addEventListener(t, e), i.touchAction && nr(o, i.touchAction);
|
|
9536
9536
|
}
|
|
9537
9537
|
function Xi(o) {
|
|
9538
9538
|
Be.push(o), o.emits.forEach((t) => {
|
|
9539
9539
|
Ji[t] = o;
|
|
9540
9540
|
});
|
|
9541
9541
|
}
|
|
9542
|
-
function
|
|
9542
|
+
function wc(o) {
|
|
9543
9543
|
for (let t = 0, e; t < Be.length; t++) {
|
|
9544
9544
|
e = Be[t];
|
|
9545
9545
|
for (let i = 0, s; i < e.emits.length; i++)
|
|
@@ -9548,14 +9548,14 @@ function xc(o) {
|
|
|
9548
9548
|
}
|
|
9549
9549
|
return null;
|
|
9550
9550
|
}
|
|
9551
|
-
function
|
|
9552
|
-
|
|
9551
|
+
function nr(o, t) {
|
|
9552
|
+
or && o instanceof HTMLElement && tc.run(() => {
|
|
9553
9553
|
o.style.touchAction = t;
|
|
9554
9554
|
}), o[Di] = t;
|
|
9555
9555
|
}
|
|
9556
9556
|
function Zi(o, t, e) {
|
|
9557
9557
|
const i = new Event(t, { bubbles: !0, cancelable: !0, composed: !0 });
|
|
9558
|
-
if (i.detail = e,
|
|
9558
|
+
if (i.detail = e, ac(
|
|
9559
9559
|
/** @type {!Node} */
|
|
9560
9560
|
o
|
|
9561
9561
|
).dispatchEvent(i), i.defaultPrevented) {
|
|
@@ -9564,7 +9564,7 @@ function Zi(o, t, e) {
|
|
|
9564
9564
|
}
|
|
9565
9565
|
}
|
|
9566
9566
|
function Rt(o) {
|
|
9567
|
-
const t =
|
|
9567
|
+
const t = wc(o);
|
|
9568
9568
|
t.info && (t.info.prevent = !0);
|
|
9569
9569
|
}
|
|
9570
9570
|
Xi({
|
|
@@ -9599,7 +9599,7 @@ Xi({
|
|
|
9599
9599
|
}, s = (r) => {
|
|
9600
9600
|
He(r) && at("up", t, r), Xe(e.info);
|
|
9601
9601
|
};
|
|
9602
|
-
|
|
9602
|
+
sr(this.info, i, s), at("down", t, o);
|
|
9603
9603
|
},
|
|
9604
9604
|
/**
|
|
9605
9605
|
* @this {GestureRecognizer}
|
|
@@ -9646,7 +9646,7 @@ Xi({
|
|
|
9646
9646
|
moves: [],
|
|
9647
9647
|
/** @this {GestureInfo} */
|
|
9648
9648
|
addMove(o) {
|
|
9649
|
-
this.moves.length >
|
|
9649
|
+
this.moves.length > lc && this.moves.shift(), this.moves.push(o);
|
|
9650
9650
|
},
|
|
9651
9651
|
movefn: null,
|
|
9652
9652
|
upfn: null,
|
|
@@ -9669,11 +9669,11 @@ Xi({
|
|
|
9669
9669
|
return;
|
|
9670
9670
|
const t = Oe(o), e = this, i = (r) => {
|
|
9671
9671
|
const n = r.clientX, a = r.clientY;
|
|
9672
|
-
|
|
9672
|
+
Vo(e.info, n, a) && (e.info.state = e.info.started ? r.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" && Rt("tap"), e.info.addMove({ x: n, y: a }), He(r) || (e.info.state = "end", Xe(e.info)), t && ni(e.info, t, r), e.info.started = !0);
|
|
9673
9673
|
}, s = (r) => {
|
|
9674
9674
|
e.info.started && i(r), Xe(e.info);
|
|
9675
9675
|
};
|
|
9676
|
-
|
|
9676
|
+
sr(this.info, i, s), this.info.x = o.clientX, this.info.y = o.clientY;
|
|
9677
9677
|
},
|
|
9678
9678
|
/**
|
|
9679
9679
|
* @this {GestureRecognizer}
|
|
@@ -9691,7 +9691,7 @@ Xi({
|
|
|
9691
9691
|
*/
|
|
9692
9692
|
touchmove(o) {
|
|
9693
9693
|
const t = Oe(o), e = o.changedTouches[0], i = e.clientX, s = e.clientY;
|
|
9694
|
-
|
|
9694
|
+
Vo(this.info, i, s) && (this.info.state === "start" && Rt("tap"), this.info.addMove({ x: i, y: s }), ni(this.info, t, e), this.info.state = "track", this.info.started = !0);
|
|
9695
9695
|
},
|
|
9696
9696
|
/**
|
|
9697
9697
|
* @this {GestureRecognizer}
|
|
@@ -9703,13 +9703,13 @@ Xi({
|
|
|
9703
9703
|
this.info.started && (this.info.state = "end", this.info.addMove({ x: e.clientX, y: e.clientY }), ni(this.info, t, e));
|
|
9704
9704
|
}
|
|
9705
9705
|
});
|
|
9706
|
-
function
|
|
9706
|
+
function Vo(o, t, e) {
|
|
9707
9707
|
if (o.prevent)
|
|
9708
9708
|
return !1;
|
|
9709
9709
|
if (o.started)
|
|
9710
9710
|
return !0;
|
|
9711
9711
|
const i = Math.abs(o.x - t), s = Math.abs(o.y - e);
|
|
9712
|
-
return i >=
|
|
9712
|
+
return i >= jo || s >= jo;
|
|
9713
9713
|
}
|
|
9714
9714
|
function ni(o, t, e) {
|
|
9715
9715
|
if (!t)
|
|
@@ -9726,7 +9726,7 @@ function ni(o, t, e) {
|
|
|
9726
9726
|
ddy: l,
|
|
9727
9727
|
sourceEvent: e,
|
|
9728
9728
|
hover() {
|
|
9729
|
-
return
|
|
9729
|
+
return bc(e.clientX, e.clientY);
|
|
9730
9730
|
}
|
|
9731
9731
|
});
|
|
9732
9732
|
}
|
|
@@ -9764,7 +9764,7 @@ Xi({
|
|
|
9764
9764
|
* @return {void}
|
|
9765
9765
|
*/
|
|
9766
9766
|
click(o) {
|
|
9767
|
-
He(o) &&
|
|
9767
|
+
He(o) && Uo(this.info, o);
|
|
9768
9768
|
},
|
|
9769
9769
|
/**
|
|
9770
9770
|
* @this {GestureRecognizer}
|
|
@@ -9781,15 +9781,15 @@ Xi({
|
|
|
9781
9781
|
* @return {void}
|
|
9782
9782
|
*/
|
|
9783
9783
|
touchend(o) {
|
|
9784
|
-
|
|
9784
|
+
Uo(this.info, o.changedTouches[0], o);
|
|
9785
9785
|
}
|
|
9786
9786
|
});
|
|
9787
|
-
function
|
|
9787
|
+
function Uo(o, t, e) {
|
|
9788
9788
|
const i = Math.abs(t.clientX - o.x), s = Math.abs(t.clientY - o.y), r = Oe(e || t);
|
|
9789
|
-
!r ||
|
|
9789
|
+
!r || mc[
|
|
9790
9790
|
/** @type {!HTMLElement} */
|
|
9791
9791
|
r.localName
|
|
9792
|
-
] && r.hasAttribute("disabled") || (isNaN(i) || isNaN(s) || i <=
|
|
9792
|
+
] && r.hasAttribute("disabled") || (isNaN(i) || isNaN(s) || i <= Yo && s <= Yo || _c(t)) && (o.prevent || Zi(r, "tap", {
|
|
9793
9793
|
x: t.clientX,
|
|
9794
9794
|
y: t.clientY,
|
|
9795
9795
|
sourceEvent: t,
|
|
@@ -9801,7 +9801,7 @@ function Vo(o, t, e) {
|
|
|
9801
9801
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9802
9802
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9803
9803
|
*/
|
|
9804
|
-
const
|
|
9804
|
+
const ar = V(
|
|
9805
9805
|
(o) => class extends o {
|
|
9806
9806
|
static get properties() {
|
|
9807
9807
|
return {
|
|
@@ -9908,7 +9908,7 @@ const Wt = V(
|
|
|
9908
9908
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9909
9909
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9910
9910
|
*/
|
|
9911
|
-
const
|
|
9911
|
+
const Ec = (o) => class extends ar(Wt(o)) {
|
|
9912
9912
|
/**
|
|
9913
9913
|
* An array of activation keys.
|
|
9914
9914
|
*
|
|
@@ -10028,7 +10028,7 @@ const Qi = V(
|
|
|
10028
10028
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
10029
10029
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10030
10030
|
*/
|
|
10031
|
-
const
|
|
10031
|
+
const lr = (o) => class extends ar(o) {
|
|
10032
10032
|
static get properties() {
|
|
10033
10033
|
return {
|
|
10034
10034
|
/**
|
|
@@ -10079,7 +10079,7 @@ const ar = (o) => class extends nr(o) {
|
|
|
10079
10079
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10080
10080
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10081
10081
|
*/
|
|
10082
|
-
const
|
|
10082
|
+
const Sc = (o) => class extends Ec(lr(Qi(o))) {
|
|
10083
10083
|
static get properties() {
|
|
10084
10084
|
return {
|
|
10085
10085
|
/**
|
|
@@ -10134,26 +10134,26 @@ const Ec = (o) => class extends wc(ar(Qi(o))) {
|
|
|
10134
10134
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10135
10135
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10136
10136
|
*/
|
|
10137
|
-
L("vaadin-button",
|
|
10138
|
-
class
|
|
10137
|
+
L("vaadin-button", rc, { moduleId: "vaadin-button-styles" });
|
|
10138
|
+
class Ac extends Sc(er(Ye(ot(Ie)))) {
|
|
10139
10139
|
static get is() {
|
|
10140
10140
|
return "vaadin-button";
|
|
10141
10141
|
}
|
|
10142
10142
|
static get template() {
|
|
10143
|
-
return
|
|
10143
|
+
return nc(Ve);
|
|
10144
10144
|
}
|
|
10145
10145
|
/** @protected */
|
|
10146
10146
|
ready() {
|
|
10147
|
-
super.ready(), this._tooltipController = new
|
|
10147
|
+
super.ready(), this._tooltipController = new ir(this), this.addController(this._tooltipController);
|
|
10148
10148
|
}
|
|
10149
10149
|
}
|
|
10150
|
-
ve(
|
|
10150
|
+
ve(Ac);
|
|
10151
10151
|
/**
|
|
10152
10152
|
* @license
|
|
10153
10153
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10154
10154
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10155
10155
|
*/
|
|
10156
|
-
function
|
|
10156
|
+
function Cc(o) {
|
|
10157
10157
|
let t = o.getDay();
|
|
10158
10158
|
t === 0 && (t = 7);
|
|
10159
10159
|
const e = 4 - t, i = new Date(o.getTime() + e * 24 * 3600 * 1e3), s = new Date(0, 0);
|
|
@@ -10183,7 +10183,7 @@ function tt(o, t, e, i) {
|
|
|
10183
10183
|
}
|
|
10184
10184
|
return (!t || o >= t) && (!e || o <= e) && !s;
|
|
10185
10185
|
}
|
|
10186
|
-
function
|
|
10186
|
+
function cr(o, t) {
|
|
10187
10187
|
return t.filter((e) => e !== void 0).reduce((e, i) => {
|
|
10188
10188
|
if (!i)
|
|
10189
10189
|
return e;
|
|
@@ -10193,11 +10193,11 @@ function lr(o, t) {
|
|
|
10193
10193
|
return s < r ? i : e;
|
|
10194
10194
|
});
|
|
10195
10195
|
}
|
|
10196
|
-
function
|
|
10196
|
+
function ur(o) {
|
|
10197
10197
|
const t = /* @__PURE__ */ new Date(), e = new Date(t);
|
|
10198
10198
|
return e.setDate(1), e.setMonth(parseInt(o) + t.getMonth()), e;
|
|
10199
10199
|
}
|
|
10200
|
-
function
|
|
10200
|
+
function Pc(o, t, e = 0, i = 1) {
|
|
10201
10201
|
if (t > 99)
|
|
10202
10202
|
throw new Error("The provided year cannot have more than 2 digits.");
|
|
10203
10203
|
if (t < 0)
|
|
@@ -10212,15 +10212,15 @@ function lt(o) {
|
|
|
10212
10212
|
const e = new Date(0, 0);
|
|
10213
10213
|
return e.setFullYear(parseInt(t[1], 10)), e.setMonth(parseInt(t[2], 10) - 1), e.setDate(parseInt(t[3], 10)), e;
|
|
10214
10214
|
}
|
|
10215
|
-
function
|
|
10215
|
+
function kc(o) {
|
|
10216
10216
|
const t = (l, c = "00") => (c + l).substr((c + l).length - c.length);
|
|
10217
10217
|
let e = "", i = "0000", s = o.year;
|
|
10218
10218
|
s < 0 ? (s = -s, e = "-", i = "000000") : o.year >= 1e4 && (e = "+", i = "000000");
|
|
10219
10219
|
const r = e + t(s, i), n = t(o.month + 1), a = t(o.day);
|
|
10220
10220
|
return [r, n, a].join("-");
|
|
10221
10221
|
}
|
|
10222
|
-
function
|
|
10223
|
-
return o instanceof Date ?
|
|
10222
|
+
function Dc(o) {
|
|
10223
|
+
return o instanceof Date ? kc({
|
|
10224
10224
|
year: o.getFullYear(),
|
|
10225
10225
|
month: o.getMonth(),
|
|
10226
10226
|
day: o.getDate()
|
|
@@ -10327,9 +10327,9 @@ class Bt {
|
|
|
10327
10327
|
}
|
|
10328
10328
|
}
|
|
10329
10329
|
let xt = /* @__PURE__ */ new Set();
|
|
10330
|
-
const
|
|
10330
|
+
const Tc = function(o) {
|
|
10331
10331
|
xt.add(o);
|
|
10332
|
-
},
|
|
10332
|
+
}, Mc = function() {
|
|
10333
10333
|
const o = !!xt.size;
|
|
10334
10334
|
return xt.forEach((t) => {
|
|
10335
10335
|
try {
|
|
@@ -10353,7 +10353,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
10353
10353
|
const to = function() {
|
|
10354
10354
|
let o, t;
|
|
10355
10355
|
do
|
|
10356
|
-
o = window.ShadyDOM && ShadyDOM.flush(), window.ShadyCSS && window.ShadyCSS.ScopingShim && window.ShadyCSS.ScopingShim.flush(), t =
|
|
10356
|
+
o = window.ShadyDOM && ShadyDOM.flush(), window.ShadyCSS && window.ShadyCSS.ScopingShim && window.ShadyCSS.ScopingShim.flush(), t = Mc();
|
|
10357
10357
|
while (o || t);
|
|
10358
10358
|
};
|
|
10359
10359
|
/**
|
|
@@ -10361,8 +10361,8 @@ const to = function() {
|
|
|
10361
10361
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10362
10362
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10363
10363
|
*/
|
|
10364
|
-
const
|
|
10365
|
-
|
|
10364
|
+
const dr = document.createElement("template");
|
|
10365
|
+
dr.innerHTML = `
|
|
10366
10366
|
<style>
|
|
10367
10367
|
:host {
|
|
10368
10368
|
display: block;
|
|
@@ -10413,9 +10413,9 @@ ur.innerHTML = `
|
|
|
10413
10413
|
<div id="fullHeight"></div>
|
|
10414
10414
|
</div>
|
|
10415
10415
|
`;
|
|
10416
|
-
class
|
|
10416
|
+
class hr extends HTMLElement {
|
|
10417
10417
|
constructor() {
|
|
10418
|
-
super(), this.attachShadow({ mode: "open" }).appendChild(
|
|
10418
|
+
super(), this.attachShadow({ mode: "open" }).appendChild(dr.content.cloneNode(!0)), this.bufferSize = 20, this._initialScroll = 5e5, this._initialIndex = 0, this._activated = !1;
|
|
10419
10419
|
}
|
|
10420
10420
|
/**
|
|
10421
10421
|
* @return {boolean}
|
|
@@ -10531,7 +10531,7 @@ class dr extends HTMLElement {
|
|
|
10531
10531
|
for (let i = 0; i < this.bufferSize; i++) {
|
|
10532
10532
|
const s = document.createElement("div");
|
|
10533
10533
|
s.style.height = `${this.itemHeight}px`, s.instance = {};
|
|
10534
|
-
const r = `vaadin-infinite-scroller-item-content-${
|
|
10534
|
+
const r = `vaadin-infinite-scroller-item-content-${tr()}`, n = document.createElement("slot");
|
|
10535
10535
|
n.setAttribute("name", r), n._itemWrapper = s, e.appendChild(n), s.setAttribute("slot", r), this.appendChild(s), this._isVisible(s, t) && this._ensureStampedInstance(s);
|
|
10536
10536
|
}
|
|
10537
10537
|
}), requestAnimationFrame(() => {
|
|
@@ -10572,8 +10572,8 @@ class dr extends HTMLElement {
|
|
|
10572
10572
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10573
10573
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10574
10574
|
*/
|
|
10575
|
-
const
|
|
10576
|
-
|
|
10575
|
+
const pr = document.createElement("template");
|
|
10576
|
+
pr.innerHTML = `
|
|
10577
10577
|
<style>
|
|
10578
10578
|
:host {
|
|
10579
10579
|
--vaadin-infinite-scroller-item-height: 270px;
|
|
@@ -10586,12 +10586,12 @@ hr.innerHTML = `
|
|
|
10586
10586
|
}
|
|
10587
10587
|
</style>
|
|
10588
10588
|
`;
|
|
10589
|
-
class
|
|
10589
|
+
class Oc extends hr {
|
|
10590
10590
|
static get is() {
|
|
10591
10591
|
return "vaadin-date-picker-month-scroller";
|
|
10592
10592
|
}
|
|
10593
10593
|
constructor() {
|
|
10594
|
-
super(), this.bufferSize = 3, this.shadowRoot.appendChild(
|
|
10594
|
+
super(), this.bufferSize = 3, this.shadowRoot.appendChild(pr.content.cloneNode(!0));
|
|
10595
10595
|
}
|
|
10596
10596
|
/**
|
|
10597
10597
|
* @protected
|
|
@@ -10607,17 +10607,17 @@ class Mc extends dr {
|
|
|
10607
10607
|
* @override
|
|
10608
10608
|
*/
|
|
10609
10609
|
_updateElement(t, e) {
|
|
10610
|
-
t.month =
|
|
10610
|
+
t.month = ur(e);
|
|
10611
10611
|
}
|
|
10612
10612
|
}
|
|
10613
|
-
ve(
|
|
10613
|
+
ve(Oc);
|
|
10614
10614
|
/**
|
|
10615
10615
|
* @license
|
|
10616
10616
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10617
10617
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10618
10618
|
*/
|
|
10619
|
-
const
|
|
10620
|
-
|
|
10619
|
+
const fr = document.createElement("template");
|
|
10620
|
+
fr.innerHTML = `
|
|
10621
10621
|
<style>
|
|
10622
10622
|
:host {
|
|
10623
10623
|
--vaadin-infinite-scroller-item-height: 80px;
|
|
@@ -10652,12 +10652,12 @@ pr.innerHTML = `
|
|
|
10652
10652
|
}
|
|
10653
10653
|
</style>
|
|
10654
10654
|
`;
|
|
10655
|
-
class
|
|
10655
|
+
class Ic extends hr {
|
|
10656
10656
|
static get is() {
|
|
10657
10657
|
return "vaadin-date-picker-year-scroller";
|
|
10658
10658
|
}
|
|
10659
10659
|
constructor() {
|
|
10660
|
-
super(), this.bufferSize = 12, this.shadowRoot.appendChild(
|
|
10660
|
+
super(), this.bufferSize = 12, this.shadowRoot.appendChild(fr.content.cloneNode(!0));
|
|
10661
10661
|
}
|
|
10662
10662
|
/**
|
|
10663
10663
|
* @protected
|
|
@@ -10681,13 +10681,13 @@ class Oc extends dr {
|
|
|
10681
10681
|
return i.setFullYear(parseInt(t) + e.getFullYear()), i.getFullYear();
|
|
10682
10682
|
}
|
|
10683
10683
|
}
|
|
10684
|
-
ve(
|
|
10684
|
+
ve(Ic);
|
|
10685
10685
|
/**
|
|
10686
10686
|
* @license
|
|
10687
10687
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10688
10688
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10689
10689
|
*/
|
|
10690
|
-
const
|
|
10690
|
+
const Fc = (o) => class extends o {
|
|
10691
10691
|
static get properties() {
|
|
10692
10692
|
return {
|
|
10693
10693
|
year: {
|
|
@@ -10713,7 +10713,7 @@ const Ic = (o) => class extends o {
|
|
|
10713
10713
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10714
10714
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10715
10715
|
*/
|
|
10716
|
-
class
|
|
10716
|
+
class Nc extends Ye(Fc(Ie)) {
|
|
10717
10717
|
static get is() {
|
|
10718
10718
|
return "vaadin-date-picker-year";
|
|
10719
10719
|
}
|
|
@@ -10730,7 +10730,7 @@ class Fc extends Ye(Ic(Ie)) {
|
|
|
10730
10730
|
`;
|
|
10731
10731
|
}
|
|
10732
10732
|
}
|
|
10733
|
-
ve(
|
|
10733
|
+
ve(Nc);
|
|
10734
10734
|
/**
|
|
10735
10735
|
@license
|
|
10736
10736
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -10770,7 +10770,7 @@ const oo = V((o) => {
|
|
|
10770
10770
|
}
|
|
10771
10771
|
}
|
|
10772
10772
|
return t;
|
|
10773
|
-
}),
|
|
10773
|
+
}), zc = V((o) => {
|
|
10774
10774
|
class t extends o {
|
|
10775
10775
|
/** @nocollapse */
|
|
10776
10776
|
static get properties() {
|
|
@@ -10827,13 +10827,13 @@ Oi.prototype = Object.create(HTMLTemplateElement.prototype, {
|
|
|
10827
10827
|
writable: !0
|
|
10828
10828
|
}
|
|
10829
10829
|
});
|
|
10830
|
-
const
|
|
10831
|
-
function
|
|
10830
|
+
const mr = Ui(Oi), Lc = oo(mr);
|
|
10831
|
+
function Rc(o, t) {
|
|
10832
10832
|
Mi = o, Object.setPrototypeOf(o, t.prototype), new t(), Mi = null;
|
|
10833
10833
|
}
|
|
10834
|
-
const
|
|
10834
|
+
const Bc = Ui(class {
|
|
10835
10835
|
});
|
|
10836
|
-
function
|
|
10836
|
+
function Hc(o, t) {
|
|
10837
10837
|
for (let e = 0; e < t.length; e++) {
|
|
10838
10838
|
let i = t[e];
|
|
10839
10839
|
if (!!o != !!i.__hideTemplateChildren__)
|
|
@@ -10851,7 +10851,7 @@ function Bc(o, t) {
|
|
|
10851
10851
|
i.__hideTemplateChildren__ = o, i._showHideChildren && i._showHideChildren(o);
|
|
10852
10852
|
}
|
|
10853
10853
|
}
|
|
10854
|
-
class Fe extends
|
|
10854
|
+
class Fe extends Bc {
|
|
10855
10855
|
constructor(t) {
|
|
10856
10856
|
super(), this._configureProperties(t), this.root = this._stampTemplate(this.__dataHost);
|
|
10857
10857
|
let e = [];
|
|
@@ -10920,7 +10920,7 @@ class Fe extends Rc {
|
|
|
10920
10920
|
* @protected
|
|
10921
10921
|
*/
|
|
10922
10922
|
_showHideChildren(t) {
|
|
10923
|
-
|
|
10923
|
+
Hc(t, this.children);
|
|
10924
10924
|
}
|
|
10925
10925
|
/**
|
|
10926
10926
|
* Overrides default property-effects implementation to intercept
|
|
@@ -10973,31 +10973,31 @@ Fe.prototype.__templatizeOptions;
|
|
|
10973
10973
|
Fe.prototype._methodHost;
|
|
10974
10974
|
Fe.prototype.__templatizeOwner;
|
|
10975
10975
|
Fe.prototype.__hostProps;
|
|
10976
|
-
const
|
|
10976
|
+
const $c = oo(
|
|
10977
10977
|
// This cast shouldn't be neccessary, but Closure doesn't understand that
|
|
10978
10978
|
// TemplateInstanceBase is a constructor function.
|
|
10979
10979
|
/** @type {function(new:TemplateInstanceBase)} */
|
|
10980
10980
|
Fe
|
|
10981
10981
|
);
|
|
10982
|
-
function
|
|
10982
|
+
function Wo(o) {
|
|
10983
10983
|
let t = o.__dataHost;
|
|
10984
10984
|
return t && t._methodHost || t;
|
|
10985
10985
|
}
|
|
10986
|
-
function
|
|
10987
|
-
let i = e.mutableData ?
|
|
10986
|
+
function Yc(o, t, e) {
|
|
10987
|
+
let i = e.mutableData ? $c : Fe;
|
|
10988
10988
|
Ii.mixin && (i = Ii.mixin(i));
|
|
10989
10989
|
let s = class extends i {
|
|
10990
10990
|
};
|
|
10991
|
-
return s.prototype.__templatizeOptions = e, s.prototype._bindTemplate(o),
|
|
10991
|
+
return s.prototype.__templatizeOptions = e, s.prototype._bindTemplate(o), Uc(s, o, t, e), s;
|
|
10992
10992
|
}
|
|
10993
|
-
function
|
|
10993
|
+
function jc(o, t, e, i) {
|
|
10994
10994
|
let s = e.forwardHostProp;
|
|
10995
10995
|
if (s && t.hasHostProps) {
|
|
10996
10996
|
const r = o.localName == "template";
|
|
10997
10997
|
let n = t.templatizeTemplateClass;
|
|
10998
10998
|
if (!n) {
|
|
10999
10999
|
if (r) {
|
|
11000
|
-
let l = e.mutableData ?
|
|
11000
|
+
let l = e.mutableData ? Lc : mr;
|
|
11001
11001
|
class c extends l {
|
|
11002
11002
|
}
|
|
11003
11003
|
n = t.templatizeTemplateClass = c;
|
|
@@ -11012,12 +11012,12 @@ function Yc(o, t, e, i) {
|
|
|
11012
11012
|
n.prototype._addPropertyEffect(
|
|
11013
11013
|
"_host_" + l,
|
|
11014
11014
|
n.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE,
|
|
11015
|
-
{ fn:
|
|
11015
|
+
{ fn: Vc(l, s) }
|
|
11016
11016
|
), n.prototype._createNotifyingProperty("_host_" + l);
|
|
11017
|
-
|
|
11017
|
+
ys && i && Kc(t, e, i);
|
|
11018
11018
|
}
|
|
11019
11019
|
if (o.__dataProto && Object.assign(o.__data, o.__dataProto), r)
|
|
11020
|
-
|
|
11020
|
+
Rc(o, n), o.__dataTemp = {}, o.__dataPending = null, o.__dataOld = null, o._enableProperties();
|
|
11021
11021
|
else {
|
|
11022
11022
|
Object.setPrototypeOf(o, n.prototype);
|
|
11023
11023
|
const a = t.hostProps;
|
|
@@ -11029,7 +11029,7 @@ function Yc(o, t, e, i) {
|
|
|
11029
11029
|
}
|
|
11030
11030
|
}
|
|
11031
11031
|
}
|
|
11032
|
-
function
|
|
11032
|
+
function Vc(o, t) {
|
|
11033
11033
|
return function(i, s, r) {
|
|
11034
11034
|
t.call(
|
|
11035
11035
|
i.__templatizeOwner,
|
|
@@ -11038,7 +11038,7 @@ function jc(o, t) {
|
|
|
11038
11038
|
);
|
|
11039
11039
|
};
|
|
11040
11040
|
}
|
|
11041
|
-
function
|
|
11041
|
+
function Uc(o, t, e, i) {
|
|
11042
11042
|
let s = e.hostProps || {};
|
|
11043
11043
|
for (let r in i.instanceProps) {
|
|
11044
11044
|
delete s[r];
|
|
@@ -11046,7 +11046,7 @@ function Vc(o, t, e, i) {
|
|
|
11046
11046
|
n && o.prototype._addPropertyEffect(
|
|
11047
11047
|
r,
|
|
11048
11048
|
o.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,
|
|
11049
|
-
{ fn:
|
|
11049
|
+
{ fn: Wc(r, n) }
|
|
11050
11050
|
);
|
|
11051
11051
|
}
|
|
11052
11052
|
if (i.forwardHostProp && t.__dataHost)
|
|
@@ -11054,10 +11054,10 @@ function Vc(o, t, e, i) {
|
|
|
11054
11054
|
e.hasHostProps || (e.hasHostProps = !0), o.prototype._addPropertyEffect(
|
|
11055
11055
|
r,
|
|
11056
11056
|
o.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,
|
|
11057
|
-
{ fn:
|
|
11057
|
+
{ fn: qc() }
|
|
11058
11058
|
);
|
|
11059
11059
|
}
|
|
11060
|
-
function
|
|
11060
|
+
function Wc(o, t) {
|
|
11061
11061
|
return function(i, s, r) {
|
|
11062
11062
|
t.call(
|
|
11063
11063
|
i.__templatizeOwner,
|
|
@@ -11067,22 +11067,22 @@ function Uc(o, t) {
|
|
|
11067
11067
|
);
|
|
11068
11068
|
};
|
|
11069
11069
|
}
|
|
11070
|
-
function
|
|
11070
|
+
function qc() {
|
|
11071
11071
|
return function(t, e, i) {
|
|
11072
11072
|
t.__dataHost._setPendingPropertyOrPath("_host_" + e, i[e], !0, !0);
|
|
11073
11073
|
};
|
|
11074
11074
|
}
|
|
11075
11075
|
function Ii(o, t, e) {
|
|
11076
|
-
if (Nt && !
|
|
11076
|
+
if (Nt && !Wo(o))
|
|
11077
11077
|
throw new Error("strictTemplatePolicy: template owner not trusted");
|
|
11078
11078
|
if (e = /** @type {!TemplatizeOptions} */
|
|
11079
11079
|
e || {}, o.__templatizeOwner)
|
|
11080
11080
|
throw new Error("A <template> can only be templatized once");
|
|
11081
11081
|
o.__templatizeOwner = t;
|
|
11082
11082
|
let s = (t ? t.constructor : Fe)._parseTemplate(o), r = s.templatizeInstanceClass;
|
|
11083
|
-
r || (r =
|
|
11084
|
-
const n =
|
|
11085
|
-
|
|
11083
|
+
r || (r = Yc(o, s, e), s.templatizeInstanceClass = r);
|
|
11084
|
+
const n = Wo(o);
|
|
11085
|
+
jc(o, s, e, n);
|
|
11086
11086
|
let a = class extends r {
|
|
11087
11087
|
};
|
|
11088
11088
|
return a.prototype._methodHost = n, a.prototype.__dataHost = /** @type {!DataTemplate} */
|
|
@@ -11090,7 +11090,7 @@ function Ii(o, t, e) {
|
|
|
11090
11090
|
t, a.prototype.__hostProps = s.hostProps, a = /** @type {function(new:TemplateInstanceBase)} */
|
|
11091
11091
|
a, a;
|
|
11092
11092
|
}
|
|
11093
|
-
function
|
|
11093
|
+
function Kc(o, t, e) {
|
|
11094
11094
|
const i = e.constructor._properties, { propertyEffects: s } = o, { instanceProps: r } = t;
|
|
11095
11095
|
for (let n in s)
|
|
11096
11096
|
if (!i[n] && !(r && r[n])) {
|
|
@@ -11104,7 +11104,7 @@ function qc(o, t, e) {
|
|
|
11104
11104
|
}
|
|
11105
11105
|
}
|
|
11106
11106
|
}
|
|
11107
|
-
function
|
|
11107
|
+
function Gc(o, t) {
|
|
11108
11108
|
let e;
|
|
11109
11109
|
for (; t; )
|
|
11110
11110
|
if (e = t.__dataHost ? t : t.__templatizeInstance)
|
|
@@ -11125,11 +11125,11 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11125
11125
|
Code distributed by Google as part of the polymer project is also
|
|
11126
11126
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11127
11127
|
*/
|
|
11128
|
-
let
|
|
11129
|
-
function
|
|
11130
|
-
if (
|
|
11131
|
-
if (!
|
|
11132
|
-
|
|
11128
|
+
let qo = !1;
|
|
11129
|
+
function Jc() {
|
|
11130
|
+
if (vs && !bs) {
|
|
11131
|
+
if (!qo) {
|
|
11132
|
+
qo = !0;
|
|
11133
11133
|
const o = document.createElement("style");
|
|
11134
11134
|
o.textContent = "dom-bind,dom-if,dom-repeat{display:none;}", document.head.appendChild(o);
|
|
11135
11135
|
}
|
|
@@ -11146,8 +11146,8 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11146
11146
|
Code distributed by Google as part of the polymer project is also
|
|
11147
11147
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11148
11148
|
*/
|
|
11149
|
-
const
|
|
11150
|
-
class
|
|
11149
|
+
const Xc = zc(Ie);
|
|
11150
|
+
class Ko extends Xc {
|
|
11151
11151
|
// Not needed to find template; can be removed once the analyzer
|
|
11152
11152
|
// can find the tag name from customElements.define call
|
|
11153
11153
|
static get is() {
|
|
@@ -11242,7 +11242,7 @@ class qo extends Jc {
|
|
|
11242
11242
|
*/
|
|
11243
11243
|
renderedItemCount: {
|
|
11244
11244
|
type: Number,
|
|
11245
|
-
notify: !
|
|
11245
|
+
notify: !yo,
|
|
11246
11246
|
readOnly: !0
|
|
11247
11247
|
},
|
|
11248
11248
|
/**
|
|
@@ -11325,7 +11325,7 @@ class qo extends Jc {
|
|
|
11325
11325
|
* @return {void}
|
|
11326
11326
|
*/
|
|
11327
11327
|
connectedCallback() {
|
|
11328
|
-
if (super.connectedCallback(),
|
|
11328
|
+
if (super.connectedCallback(), Jc() || (this.style.display = "none"), this.__isDetached) {
|
|
11329
11329
|
this.__isDetached = !1;
|
|
11330
11330
|
let t = J(J(this).parentNode);
|
|
11331
11331
|
for (let e = 0; e < this.__instances.length; e++)
|
|
@@ -11375,7 +11375,7 @@ class qo extends Jc {
|
|
|
11375
11375
|
* @param {*} value Value to notify
|
|
11376
11376
|
*/
|
|
11377
11377
|
notifyInstanceProp: function(s, r, n) {
|
|
11378
|
-
if (
|
|
11378
|
+
if (ta(this.as, r)) {
|
|
11379
11379
|
let a = s[this.itemsIndexAs];
|
|
11380
11380
|
r == this.as && (this.items[a] = n);
|
|
11381
11381
|
let l = bt(this.as, `${JSCompiler_renameProperty("items", this)}.${a}`, r);
|
|
@@ -11431,9 +11431,9 @@ class qo extends Jc {
|
|
|
11431
11431
|
__debounceRender(t, e = 0) {
|
|
11432
11432
|
this.__renderDebouncer = Bt.debounce(
|
|
11433
11433
|
this.__renderDebouncer,
|
|
11434
|
-
e > 0 ?
|
|
11434
|
+
e > 0 ? aa.after(e) : Ts,
|
|
11435
11435
|
t.bind(this)
|
|
11436
|
-
),
|
|
11436
|
+
), Tc(this.__renderDebouncer);
|
|
11437
11437
|
}
|
|
11438
11438
|
/**
|
|
11439
11439
|
* Forces the element to render its content. Normally rendering is
|
|
@@ -11453,7 +11453,7 @@ class qo extends Jc {
|
|
|
11453
11453
|
const e = this.__sortAndFilterItems(t), i = this.__calculateLimit(e.length);
|
|
11454
11454
|
this.__updateInstances(t, i, e), this.initialCount && (this.__shouldMeasureChunk || this.__shouldContinueChunking) && (cancelAnimationFrame(this.__chunkingId), this.__chunkingId = requestAnimationFrame(() => {
|
|
11455
11455
|
this.__chunkingId = null, this.__continueChunking();
|
|
11456
|
-
})), this._setRenderedItemCount(this.__instances.length), (!
|
|
11456
|
+
})), this._setRenderedItemCount(this.__instances.length), (!yo || this.notifyDomChange) && this.dispatchEvent(new CustomEvent("dom-change", {
|
|
11457
11457
|
bubbles: !0,
|
|
11458
11458
|
composed: !0
|
|
11459
11459
|
}));
|
|
@@ -11593,16 +11593,16 @@ class qo extends Jc {
|
|
|
11593
11593
|
* the element.
|
|
11594
11594
|
*/
|
|
11595
11595
|
modelForElement(t) {
|
|
11596
|
-
return
|
|
11596
|
+
return Gc(this.template, t);
|
|
11597
11597
|
}
|
|
11598
11598
|
}
|
|
11599
|
-
customElements.define(
|
|
11599
|
+
customElements.define(Ko.is, Ko);
|
|
11600
11600
|
/**
|
|
11601
11601
|
* @license
|
|
11602
11602
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11603
11603
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11604
11604
|
*/
|
|
11605
|
-
const
|
|
11605
|
+
const Zc = (o) => class extends Qi(o) {
|
|
11606
11606
|
static get properties() {
|
|
11607
11607
|
return {
|
|
11608
11608
|
/**
|
|
@@ -11785,7 +11785,7 @@ const Xc = (o) => class extends Qi(o) {
|
|
|
11785
11785
|
/** @protected */
|
|
11786
11786
|
__getWeekNumber(e) {
|
|
11787
11787
|
const i = e.reduce((s, r) => !s && r ? r : s);
|
|
11788
|
-
return
|
|
11788
|
+
return Cc(i);
|
|
11789
11789
|
}
|
|
11790
11790
|
/** @protected */
|
|
11791
11791
|
__getDayAriaLabel(e) {
|
|
@@ -11800,7 +11800,7 @@ const Xc = (o) => class extends Qi(o) {
|
|
|
11800
11800
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11801
11801
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11802
11802
|
*/
|
|
11803
|
-
const
|
|
11803
|
+
const Qc = P`
|
|
11804
11804
|
:host {
|
|
11805
11805
|
display: block;
|
|
11806
11806
|
}
|
|
@@ -11862,10 +11862,10 @@ const Zc = P`
|
|
|
11862
11862
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11863
11863
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11864
11864
|
*/
|
|
11865
|
-
L("vaadin-month-calendar",
|
|
11865
|
+
L("vaadin-month-calendar", Qc, {
|
|
11866
11866
|
moduleId: "vaadin-month-calendar-styles"
|
|
11867
11867
|
});
|
|
11868
|
-
class
|
|
11868
|
+
class eu extends Zc(Ye(Ie)) {
|
|
11869
11869
|
static get template() {
|
|
11870
11870
|
return Ve`
|
|
11871
11871
|
<div part="month-header" id="month-header" aria-hidden="true">[[_getTitle(month, i18n)]]</div>
|
|
@@ -11973,13 +11973,13 @@ class Qc extends Xc(Ye(Ie)) {
|
|
|
11973
11973
|
return this.__isDayFocused(t, e) ? "0" : "-1";
|
|
11974
11974
|
}
|
|
11975
11975
|
}
|
|
11976
|
-
ve(
|
|
11976
|
+
ve(eu);
|
|
11977
11977
|
/**
|
|
11978
11978
|
* @license
|
|
11979
11979
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
11980
11980
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11981
11981
|
*/
|
|
11982
|
-
class
|
|
11982
|
+
class _r {
|
|
11983
11983
|
constructor(t, e) {
|
|
11984
11984
|
this.query = t, this.callback = e, this._boundQueryHandler = this._queryHandler.bind(this);
|
|
11985
11985
|
}
|
|
@@ -12007,7 +12007,7 @@ class mr {
|
|
|
12007
12007
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12008
12008
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12009
12009
|
*/
|
|
12010
|
-
const
|
|
12010
|
+
const tu = (o) => class extends o {
|
|
12011
12011
|
static get properties() {
|
|
12012
12012
|
return {
|
|
12013
12013
|
scrollDuration: {
|
|
@@ -12135,7 +12135,7 @@ const eu = (o) => class extends o {
|
|
|
12135
12135
|
}
|
|
12136
12136
|
/** @protected */
|
|
12137
12137
|
_addListeners() {
|
|
12138
|
-
|
|
12138
|
+
nr(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(
|
|
12139
12139
|
this.shadowRoot.querySelector('[part="years-toggle-button"]'),
|
|
12140
12140
|
"tap",
|
|
12141
12141
|
this._toggleYearScroller.bind(this)
|
|
@@ -12144,7 +12144,7 @@ const eu = (o) => class extends o {
|
|
|
12144
12144
|
/** @protected */
|
|
12145
12145
|
_initControllers() {
|
|
12146
12146
|
this.addController(
|
|
12147
|
-
new
|
|
12147
|
+
new _r(this._desktopMediaQuery, (e) => {
|
|
12148
12148
|
this._desktopMode = e;
|
|
12149
12149
|
})
|
|
12150
12150
|
), this.addController(
|
|
@@ -12453,7 +12453,7 @@ const eu = (o) => class extends o {
|
|
|
12453
12453
|
}
|
|
12454
12454
|
/** @private */
|
|
12455
12455
|
_yearAfterXMonths(e) {
|
|
12456
|
-
return
|
|
12456
|
+
return ur(e).getFullYear();
|
|
12457
12457
|
}
|
|
12458
12458
|
/** @private */
|
|
12459
12459
|
_differenceInMonths(e, i) {
|
|
@@ -12558,14 +12558,14 @@ const eu = (o) => class extends o {
|
|
|
12558
12558
|
}
|
|
12559
12559
|
async focusDateElement(e = !0) {
|
|
12560
12560
|
this.__pendingDateFocus = this.focusedDate, this.calendars.length || await new Promise((i) => {
|
|
12561
|
-
|
|
12561
|
+
qs(this, () => {
|
|
12562
12562
|
to(), i();
|
|
12563
12563
|
});
|
|
12564
12564
|
}), e && this.revealDate(this.focusedDate), this._revealPromise && await this._revealPromise, this.__tryFocusDate();
|
|
12565
12565
|
}
|
|
12566
12566
|
/** @private */
|
|
12567
12567
|
_focusClosestDate(e) {
|
|
12568
|
-
this.focusDate(
|
|
12568
|
+
this.focusDate(cr(e, [this.minDate, this.maxDate]));
|
|
12569
12569
|
}
|
|
12570
12570
|
/** @private */
|
|
12571
12571
|
_focusAllowedDate(e, i, s) {
|
|
@@ -12616,7 +12616,7 @@ const eu = (o) => class extends o {
|
|
|
12616
12616
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12617
12617
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12618
12618
|
*/
|
|
12619
|
-
const
|
|
12619
|
+
const iu = P`
|
|
12620
12620
|
:host {
|
|
12621
12621
|
display: flex;
|
|
12622
12622
|
flex-direction: column;
|
|
@@ -12682,10 +12682,10 @@ const tu = P`
|
|
|
12682
12682
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12683
12683
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12684
12684
|
*/
|
|
12685
|
-
L("vaadin-date-picker-overlay-content",
|
|
12685
|
+
L("vaadin-date-picker-overlay-content", iu, {
|
|
12686
12686
|
moduleId: "vaadin-date-picker-overlay-content-styles"
|
|
12687
12687
|
});
|
|
12688
|
-
class
|
|
12688
|
+
class ou extends tu(
|
|
12689
12689
|
ot(Ye(jt(Ie)))
|
|
12690
12690
|
) {
|
|
12691
12691
|
static get template() {
|
|
@@ -12719,14 +12719,14 @@ class iu extends eu(
|
|
|
12719
12719
|
super.ready(), this.setAttribute("role", "dialog"), this._addListeners(), this._initControllers();
|
|
12720
12720
|
}
|
|
12721
12721
|
}
|
|
12722
|
-
ve(
|
|
12722
|
+
ve(ou);
|
|
12723
12723
|
/**
|
|
12724
12724
|
* @license
|
|
12725
12725
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12726
12726
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12727
12727
|
*/
|
|
12728
|
-
const
|
|
12729
|
-
(o) => class extends Qi(
|
|
12728
|
+
const gr = V(
|
|
12729
|
+
(o) => class extends Qi(lr(o)) {
|
|
12730
12730
|
static get properties() {
|
|
12731
12731
|
return {
|
|
12732
12732
|
/**
|
|
@@ -12883,14 +12883,14 @@ const _r = V(
|
|
|
12883
12883
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12884
12884
|
*/
|
|
12885
12885
|
const ai = /* @__PURE__ */ new WeakMap();
|
|
12886
|
-
function
|
|
12886
|
+
function su(o) {
|
|
12887
12887
|
return ai.has(o) || ai.set(o, /* @__PURE__ */ new Set()), ai.get(o);
|
|
12888
12888
|
}
|
|
12889
|
-
function
|
|
12889
|
+
function ru(o, t) {
|
|
12890
12890
|
const e = document.createElement("style");
|
|
12891
12891
|
e.textContent = o, t === document ? document.head.appendChild(e) : t.insertBefore(e, t.firstChild);
|
|
12892
12892
|
}
|
|
12893
|
-
const
|
|
12893
|
+
const nu = V(
|
|
12894
12894
|
(o) => class extends o {
|
|
12895
12895
|
/**
|
|
12896
12896
|
* List of styles to insert into root.
|
|
@@ -12905,9 +12905,9 @@ const ru = V(
|
|
|
12905
12905
|
}
|
|
12906
12906
|
/** @private */
|
|
12907
12907
|
__applySlotStyles() {
|
|
12908
|
-
const e = this.getRootNode(), i =
|
|
12908
|
+
const e = this.getRootNode(), i = su(e);
|
|
12909
12909
|
this.slotStyles.forEach((s) => {
|
|
12910
|
-
i.has(s) || (
|
|
12910
|
+
i.has(s) || (ru(s, e), i.add(s));
|
|
12911
12911
|
});
|
|
12912
12912
|
}
|
|
12913
12913
|
}
|
|
@@ -12917,7 +12917,7 @@ const ru = V(
|
|
|
12917
12917
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12918
12918
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12919
12919
|
*/
|
|
12920
|
-
const
|
|
12920
|
+
const br = V(
|
|
12921
12921
|
(o) => class extends o {
|
|
12922
12922
|
static get properties() {
|
|
12923
12923
|
return {
|
|
@@ -13121,7 +13121,7 @@ const gr = V(
|
|
|
13121
13121
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13122
13122
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13123
13123
|
*/
|
|
13124
|
-
const
|
|
13124
|
+
const au = (o) => class extends br(Wt(o)) {
|
|
13125
13125
|
static get properties() {
|
|
13126
13126
|
return {
|
|
13127
13127
|
/**
|
|
@@ -13166,7 +13166,7 @@ const nu = (o) => class extends gr(Wt(o)) {
|
|
|
13166
13166
|
* @protected
|
|
13167
13167
|
*/
|
|
13168
13168
|
_onClearButtonMouseDown(e) {
|
|
13169
|
-
e.preventDefault(),
|
|
13169
|
+
e.preventDefault(), Cl || this.inputElement.focus();
|
|
13170
13170
|
}
|
|
13171
13171
|
/**
|
|
13172
13172
|
* Override an event listener inherited from `KeydownMixin` to clear on Esc.
|
|
@@ -13200,10 +13200,10 @@ const li = /* @__PURE__ */ new Map();
|
|
|
13200
13200
|
function so(o) {
|
|
13201
13201
|
return li.has(o) || li.set(o, /* @__PURE__ */ new WeakMap()), li.get(o);
|
|
13202
13202
|
}
|
|
13203
|
-
function
|
|
13203
|
+
function vr(o, t) {
|
|
13204
13204
|
o && o.removeAttribute(t);
|
|
13205
13205
|
}
|
|
13206
|
-
function
|
|
13206
|
+
function yr(o, t) {
|
|
13207
13207
|
if (!o || !t)
|
|
13208
13208
|
return;
|
|
13209
13209
|
const e = so(t);
|
|
@@ -13212,11 +13212,11 @@ function vr(o, t) {
|
|
|
13212
13212
|
const i = Ki(o.getAttribute(t));
|
|
13213
13213
|
e.set(o, new Set(i));
|
|
13214
13214
|
}
|
|
13215
|
-
function
|
|
13215
|
+
function lu(o, t) {
|
|
13216
13216
|
if (!o || !t)
|
|
13217
13217
|
return;
|
|
13218
13218
|
const e = so(t), i = e.get(o);
|
|
13219
|
-
!i || i.size === 0 ? o.removeAttribute(t) :
|
|
13219
|
+
!i || i.size === 0 ? o.removeAttribute(t) : Xs(o, t, Ut(i)), e.delete(o);
|
|
13220
13220
|
}
|
|
13221
13221
|
function ci(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
13222
13222
|
if (!o || !t)
|
|
@@ -13226,19 +13226,19 @@ function ci(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
|
13226
13226
|
s && a.delete(s), i && a.add(i);
|
|
13227
13227
|
return;
|
|
13228
13228
|
}
|
|
13229
|
-
r && (a ? i || n.delete(o) :
|
|
13229
|
+
r && (a ? i || n.delete(o) : yr(o, t), vr(o, t)), Ll(o, t, s);
|
|
13230
13230
|
const l = i || Ut(a);
|
|
13231
|
-
l &&
|
|
13231
|
+
l && Xs(o, t, l);
|
|
13232
13232
|
}
|
|
13233
|
-
function
|
|
13234
|
-
|
|
13233
|
+
function cu(o, t) {
|
|
13234
|
+
yr(o, t), vr(o, t);
|
|
13235
13235
|
}
|
|
13236
13236
|
/**
|
|
13237
13237
|
* @license
|
|
13238
13238
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13239
13239
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13240
13240
|
*/
|
|
13241
|
-
class
|
|
13241
|
+
class uu {
|
|
13242
13242
|
constructor(t) {
|
|
13243
13243
|
this.host = t, this.__required = !1;
|
|
13244
13244
|
}
|
|
@@ -13311,7 +13311,7 @@ class cu {
|
|
|
13311
13311
|
* @private
|
|
13312
13312
|
* */
|
|
13313
13313
|
__setAriaLabelToAttribute(t) {
|
|
13314
|
-
this.__target && (t ? (
|
|
13314
|
+
this.__target && (t ? (cu(this.__target, "aria-labelledby"), this.__target.setAttribute("aria-label", t)) : this.__label && (lu(this.__target, "aria-labelledby"), this.__target.removeAttribute("aria-label")));
|
|
13315
13315
|
}
|
|
13316
13316
|
/**
|
|
13317
13317
|
* @param {string | null | undefined} labelId
|
|
@@ -13357,9 +13357,9 @@ me.style.clip = "rect(0px, 0px, 0px, 0px)";
|
|
|
13357
13357
|
me.setAttribute("aria-live", "polite");
|
|
13358
13358
|
document.body.appendChild(me);
|
|
13359
13359
|
let kt;
|
|
13360
|
-
function
|
|
13360
|
+
function du(o, t = {}) {
|
|
13361
13361
|
const e = t.mode || "polite", i = t.timeout === void 0 ? 150 : t.timeout;
|
|
13362
|
-
e === "alert" ? (me.removeAttribute("aria-live"), me.removeAttribute("role"), kt = et.debounce(kt,
|
|
13362
|
+
e === "alert" ? (me.removeAttribute("aria-live"), me.removeAttribute("role"), kt = et.debounce(kt, Ql, () => {
|
|
13363
13363
|
me.setAttribute("role", "alert");
|
|
13364
13364
|
})) : (kt && kt.cancel(), me.removeAttribute("role"), me.setAttribute("aria-live", e)), me.textContent = "", setTimeout(() => {
|
|
13365
13365
|
me.textContent = o;
|
|
@@ -13485,7 +13485,7 @@ class ro extends Re {
|
|
|
13485
13485
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13486
13486
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13487
13487
|
*/
|
|
13488
|
-
class
|
|
13488
|
+
class hu extends ro {
|
|
13489
13489
|
constructor(t) {
|
|
13490
13490
|
super(t, "error-message", "div");
|
|
13491
13491
|
}
|
|
@@ -13559,7 +13559,7 @@ class du extends ro {
|
|
|
13559
13559
|
*/
|
|
13560
13560
|
updateDefaultNode(t) {
|
|
13561
13561
|
const { errorMessage: e, invalid: i } = this, s = !!(i && e && e.trim() !== "");
|
|
13562
|
-
t && (t.textContent = s ? e : "", t.hidden = !s, s &&
|
|
13562
|
+
t && (t.textContent = s ? e : "", t.hidden = !s, s && du(e, { mode: "assertive" })), super.updateDefaultNode(t);
|
|
13563
13563
|
}
|
|
13564
13564
|
}
|
|
13565
13565
|
/**
|
|
@@ -13567,7 +13567,7 @@ class du extends ro {
|
|
|
13567
13567
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13568
13568
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13569
13569
|
*/
|
|
13570
|
-
class
|
|
13570
|
+
class pu extends ro {
|
|
13571
13571
|
constructor(t) {
|
|
13572
13572
|
super(t, "helper", null);
|
|
13573
13573
|
}
|
|
@@ -13622,7 +13622,7 @@ class hu extends ro {
|
|
|
13622
13622
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13623
13623
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13624
13624
|
*/
|
|
13625
|
-
class
|
|
13625
|
+
class fu extends ro {
|
|
13626
13626
|
constructor(t) {
|
|
13627
13627
|
super(t, "label", "label");
|
|
13628
13628
|
}
|
|
@@ -13675,7 +13675,7 @@ class pu extends ro {
|
|
|
13675
13675
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13676
13676
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13677
13677
|
*/
|
|
13678
|
-
const
|
|
13678
|
+
const mu = V(
|
|
13679
13679
|
(o) => class extends ot(o) {
|
|
13680
13680
|
static get properties() {
|
|
13681
13681
|
return {
|
|
@@ -13690,7 +13690,7 @@ const fu = V(
|
|
|
13690
13690
|
};
|
|
13691
13691
|
}
|
|
13692
13692
|
constructor() {
|
|
13693
|
-
super(), this._labelController = new
|
|
13693
|
+
super(), this._labelController = new fu(this), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
13694
13694
|
this.toggleAttribute("has-label", e.detail.hasContent);
|
|
13695
13695
|
});
|
|
13696
13696
|
}
|
|
@@ -13718,7 +13718,7 @@ const fu = V(
|
|
|
13718
13718
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13719
13719
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13720
13720
|
*/
|
|
13721
|
-
const
|
|
13721
|
+
const xr = V(
|
|
13722
13722
|
(o) => class extends o {
|
|
13723
13723
|
static get properties() {
|
|
13724
13724
|
return {
|
|
@@ -13790,7 +13790,7 @@ const yr = V(
|
|
|
13790
13790
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13791
13791
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13792
13792
|
*/
|
|
13793
|
-
const
|
|
13793
|
+
const _u = (o) => class extends xr(mu(ot(o))) {
|
|
13794
13794
|
static get properties() {
|
|
13795
13795
|
return {
|
|
13796
13796
|
/**
|
|
@@ -13840,7 +13840,7 @@ const mu = (o) => class extends yr(fu(ot(o))) {
|
|
|
13840
13840
|
return ["_invalidChanged(invalid)", "_requiredChanged(required)"];
|
|
13841
13841
|
}
|
|
13842
13842
|
constructor() {
|
|
13843
|
-
super(), this._fieldAriaController = new
|
|
13843
|
+
super(), this._fieldAriaController = new uu(this), this._helperController = new pu(this), this._errorController = new hu(this), this._errorController.addEventListener("slot-content-changed", (e) => {
|
|
13844
13844
|
this.toggleAttribute("has-error-message", e.detail.hasContent);
|
|
13845
13845
|
}), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
13846
13846
|
const { hasContent: i, node: s } = e.detail;
|
|
@@ -13931,7 +13931,7 @@ const mu = (o) => class extends yr(fu(ot(o))) {
|
|
|
13931
13931
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13932
13932
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13933
13933
|
*/
|
|
13934
|
-
const
|
|
13934
|
+
const gu = V(
|
|
13935
13935
|
(o) => class extends o {
|
|
13936
13936
|
static get properties() {
|
|
13937
13937
|
return {
|
|
@@ -14012,8 +14012,8 @@ const _u = V(
|
|
|
14012
14012
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14013
14013
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14014
14014
|
*/
|
|
14015
|
-
const
|
|
14016
|
-
(o) => class extends
|
|
14015
|
+
const wr = V(
|
|
14016
|
+
(o) => class extends gu(xr(br(o))) {
|
|
14017
14017
|
/**
|
|
14018
14018
|
* An array of attributes which participate in the input validation.
|
|
14019
14019
|
* Changing these attributes will cause the input to re-validate.
|
|
@@ -14097,8 +14097,8 @@ const xr = V(
|
|
|
14097
14097
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14098
14098
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14099
14099
|
*/
|
|
14100
|
-
const
|
|
14101
|
-
|
|
14100
|
+
const bu = (o) => class extends nu(
|
|
14101
|
+
gr(wr(_u(au(Wt(o)))))
|
|
14102
14102
|
) {
|
|
14103
14103
|
static get properties() {
|
|
14104
14104
|
return {
|
|
@@ -14284,7 +14284,7 @@ const gu = (o) => class extends ru(
|
|
|
14284
14284
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14285
14285
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14286
14286
|
*/
|
|
14287
|
-
class
|
|
14287
|
+
class vu extends Re {
|
|
14288
14288
|
constructor(t, e, i = {}) {
|
|
14289
14289
|
const { uniqueIdPrefix: s } = i;
|
|
14290
14290
|
super(t, "input", "input", {
|
|
@@ -14301,7 +14301,7 @@ class bu extends Re {
|
|
|
14301
14301
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14302
14302
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14303
14303
|
*/
|
|
14304
|
-
class
|
|
14304
|
+
class yu {
|
|
14305
14305
|
constructor(t, e) {
|
|
14306
14306
|
this.input = t, this.__preventDuplicateLabelClick = this.__preventDuplicateLabelClick.bind(this), e.addEventListener("slot-content-changed", (i) => {
|
|
14307
14307
|
this.__initLabel(i.detail.node);
|
|
@@ -14334,7 +14334,7 @@ class vu {
|
|
|
14334
14334
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14335
14335
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14336
14336
|
*/
|
|
14337
|
-
const
|
|
14337
|
+
const xu = P`
|
|
14338
14338
|
[part='clear-button'] {
|
|
14339
14339
|
display: none;
|
|
14340
14340
|
cursor: default;
|
|
@@ -14353,7 +14353,7 @@ const yu = P`
|
|
|
14353
14353
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14354
14354
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14355
14355
|
*/
|
|
14356
|
-
const
|
|
14356
|
+
const wu = P`
|
|
14357
14357
|
:host {
|
|
14358
14358
|
display: inline-flex;
|
|
14359
14359
|
outline: none;
|
|
@@ -14393,7 +14393,7 @@ const xu = P`
|
|
|
14393
14393
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14394
14394
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14395
14395
|
*/
|
|
14396
|
-
const
|
|
14396
|
+
const Eu = P`
|
|
14397
14397
|
[class$='container'] {
|
|
14398
14398
|
display: flex;
|
|
14399
14399
|
flex-direction: column;
|
|
@@ -14407,13 +14407,13 @@ const wu = P`
|
|
|
14407
14407
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14408
14408
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14409
14409
|
*/
|
|
14410
|
-
const
|
|
14410
|
+
const Su = [wu, Eu, xu];
|
|
14411
14411
|
/**
|
|
14412
14412
|
* @license
|
|
14413
14413
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
14414
14414
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14415
14415
|
*/
|
|
14416
|
-
const
|
|
14416
|
+
const Au = (o) => class extends o {
|
|
14417
14417
|
static get properties() {
|
|
14418
14418
|
return {
|
|
14419
14419
|
/**
|
|
@@ -14460,7 +14460,7 @@ const Su = (o) => class extends o {
|
|
|
14460
14460
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14461
14461
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14462
14462
|
*/
|
|
14463
|
-
class
|
|
14463
|
+
class Cu {
|
|
14464
14464
|
/**
|
|
14465
14465
|
* @param {{ inputElement?: HTMLElement; opened: boolean } & HTMLElement} host
|
|
14466
14466
|
*/
|
|
@@ -14479,8 +14479,8 @@ class Au {
|
|
|
14479
14479
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
14480
14480
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14481
14481
|
*/
|
|
14482
|
-
const
|
|
14483
|
-
ot(
|
|
14482
|
+
const Pu = (o) => class extends Au(
|
|
14483
|
+
ot(gr(wr(Wt(o))))
|
|
14484
14484
|
) {
|
|
14485
14485
|
static get properties() {
|
|
14486
14486
|
return {
|
|
@@ -14685,7 +14685,7 @@ const Cu = (o) => class extends Su(
|
|
|
14685
14685
|
if (i.length === 3) {
|
|
14686
14686
|
if (n = parseInt(i[0]) - 1, r = parseInt(i[1]), a = parseInt(i[2]), i[2].length < 3 && a >= 0) {
|
|
14687
14687
|
const l = this.referenceDate ? lt(this.referenceDate) : /* @__PURE__ */ new Date();
|
|
14688
|
-
a =
|
|
14688
|
+
a = Pc(l, a, n, r);
|
|
14689
14689
|
}
|
|
14690
14690
|
} else
|
|
14691
14691
|
i.length === 2 ? (n = parseInt(i[0]) - 1, r = parseInt(i[1])) : i.length === 1 && (r = parseInt(i[0]));
|
|
@@ -14759,7 +14759,7 @@ const Cu = (o) => class extends Su(
|
|
|
14759
14759
|
/** @private */
|
|
14760
14760
|
_ios: {
|
|
14761
14761
|
type: Boolean,
|
|
14762
|
-
value:
|
|
14762
|
+
value: Ks
|
|
14763
14763
|
},
|
|
14764
14764
|
/** @private */
|
|
14765
14765
|
_focusOverlayOnOpen: Boolean,
|
|
@@ -14859,10 +14859,10 @@ const Cu = (o) => class extends Su(
|
|
|
14859
14859
|
/** @protected */
|
|
14860
14860
|
ready() {
|
|
14861
14861
|
super.ready(), this.addEventListener("click", this._boundOnClick), this.addController(
|
|
14862
|
-
new
|
|
14862
|
+
new _r(this._fullscreenMediaQuery, (i) => {
|
|
14863
14863
|
this._fullscreen = i;
|
|
14864
14864
|
})
|
|
14865
|
-
), this.addController(new
|
|
14865
|
+
), this.addController(new Cu(this));
|
|
14866
14866
|
const e = this.$.overlay;
|
|
14867
14867
|
this._overlayElement = e, e.renderer = this._boundOverlayRenderer, this.addEventListener("mousedown", () => this.__bringToFront()), this.addEventListener("touchstart", () => this.__bringToFront());
|
|
14868
14868
|
}
|
|
@@ -15020,7 +15020,7 @@ const Cu = (o) => class extends Su(
|
|
|
15020
15020
|
}
|
|
15021
15021
|
/** @private */
|
|
15022
15022
|
_formatISO(e) {
|
|
15023
|
-
return
|
|
15023
|
+
return Dc(e);
|
|
15024
15024
|
}
|
|
15025
15025
|
/** @protected */
|
|
15026
15026
|
_inputElementChanged(e) {
|
|
@@ -15086,12 +15086,12 @@ const Cu = (o) => class extends Su(
|
|
|
15086
15086
|
const r = this._nativeInput;
|
|
15087
15087
|
this._noInput && r && (r.blur(), this._overlayContent.focusDateElement());
|
|
15088
15088
|
const n = this._noInput ? e : [r, e];
|
|
15089
|
-
this.__showOthers =
|
|
15089
|
+
this.__showOthers = Gs(n);
|
|
15090
15090
|
}
|
|
15091
15091
|
/** @private */
|
|
15092
15092
|
_getInitialPosition() {
|
|
15093
15093
|
const e = lt(this.initialPosition), i = this._selectedDate || this._overlayContent.initialPosition || e || /* @__PURE__ */ new Date();
|
|
15094
|
-
return e || tt(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ?
|
|
15094
|
+
return e || tt(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ? cr(i, [this._minDate, this._maxDate]) : /* @__PURE__ */ new Date();
|
|
15095
15095
|
}
|
|
15096
15096
|
/**
|
|
15097
15097
|
* Tries to parse the input element's value as a date. If the input value
|
|
@@ -15252,7 +15252,7 @@ const Cu = (o) => class extends Su(
|
|
|
15252
15252
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15253
15253
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15254
15254
|
*/
|
|
15255
|
-
const
|
|
15255
|
+
const ku = P`
|
|
15256
15256
|
:host([opened]) {
|
|
15257
15257
|
pointer-events: auto;
|
|
15258
15258
|
}
|
|
@@ -15271,8 +15271,8 @@ const Pu = P`
|
|
|
15271
15271
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15272
15272
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15273
15273
|
*/
|
|
15274
|
-
L("vaadin-date-picker", [
|
|
15275
|
-
class
|
|
15274
|
+
L("vaadin-date-picker", [Su, ku], { moduleId: "vaadin-date-picker-styles" });
|
|
15275
|
+
class Du extends Pu(bu(Ye(er(Ie)))) {
|
|
15276
15276
|
static get is() {
|
|
15277
15277
|
return "vaadin-date-picker";
|
|
15278
15278
|
}
|
|
@@ -15332,7 +15332,7 @@ class ku extends Cu(gu(Ye(Qs(Ie)))) {
|
|
|
15332
15332
|
/** @protected */
|
|
15333
15333
|
ready() {
|
|
15334
15334
|
super.ready(), this.addController(
|
|
15335
|
-
new
|
|
15335
|
+
new vu(
|
|
15336
15336
|
this,
|
|
15337
15337
|
(e) => {
|
|
15338
15338
|
this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
|
|
@@ -15344,7 +15344,7 @@ class ku extends Cu(gu(Ye(Qs(Ie)))) {
|
|
|
15344
15344
|
uniqueIdPrefix: "search-input"
|
|
15345
15345
|
}
|
|
15346
15346
|
)
|
|
15347
|
-
), this.addController(new
|
|
15347
|
+
), this.addController(new yu(this.inputElement, this._labelController)), this._tooltipController = new ir(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));
|
|
15348
15348
|
}
|
|
15349
15349
|
/** @private */
|
|
15350
15350
|
_onVaadinOverlayClose(t) {
|
|
@@ -15360,12 +15360,12 @@ class ku extends Cu(gu(Ye(Qs(Ie)))) {
|
|
|
15360
15360
|
super._openedChanged(t), this.$.overlay.positionTarget = this.shadowRoot.querySelector('[part="input-field"]'), this.$.overlay.noVerticalOverlap = !0;
|
|
15361
15361
|
}
|
|
15362
15362
|
}
|
|
15363
|
-
ve(
|
|
15364
|
-
var
|
|
15363
|
+
ve(Du);
|
|
15364
|
+
var Er = { exports: {} };
|
|
15365
15365
|
(function(o, t) {
|
|
15366
15366
|
(function(e, i) {
|
|
15367
15367
|
o.exports = i();
|
|
15368
|
-
})(
|
|
15368
|
+
})(Dr, function() {
|
|
15369
15369
|
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) {
|
|
15370
15370
|
return (p = +p) + (p > 68 ? 1900 : 2e3);
|
|
15371
15371
|
}, c = function(p) {
|
|
@@ -15490,16 +15490,16 @@ var wr = { exports: {} };
|
|
|
15490
15490
|
};
|
|
15491
15491
|
};
|
|
15492
15492
|
});
|
|
15493
|
-
})(
|
|
15494
|
-
var
|
|
15495
|
-
const
|
|
15496
|
-
function
|
|
15497
|
-
|
|
15493
|
+
})(Er);
|
|
15494
|
+
var Tu = Er.exports;
|
|
15495
|
+
const Mu = /* @__PURE__ */ kr(Tu);
|
|
15496
|
+
function Go(o, t) {
|
|
15497
|
+
Tr(o, t);
|
|
15498
15498
|
}
|
|
15499
|
-
function
|
|
15500
|
-
|
|
15499
|
+
function Ou(o) {
|
|
15500
|
+
Mr.set(o);
|
|
15501
15501
|
}
|
|
15502
|
-
const
|
|
15502
|
+
const Jo = {
|
|
15503
15503
|
en: {
|
|
15504
15504
|
titleSelfExclusion: "Self-Exclusion",
|
|
15505
15505
|
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.",
|
|
@@ -15875,14 +15875,14 @@ const Go = {
|
|
|
15875
15875
|
InvalidSession: "Oturum süresi doldu."
|
|
15876
15876
|
}
|
|
15877
15877
|
};
|
|
15878
|
-
function
|
|
15879
|
-
|
|
15878
|
+
function Iu(o) {
|
|
15879
|
+
Nr(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}}');
|
|
15880
15880
|
}
|
|
15881
|
-
function
|
|
15881
|
+
function Xo(o, t, e) {
|
|
15882
15882
|
const i = o.slice();
|
|
15883
15883
|
return i[58] = t[e], i;
|
|
15884
15884
|
}
|
|
15885
|
-
function
|
|
15885
|
+
function Fu(o) {
|
|
15886
15886
|
let t, e, i, s, r = (
|
|
15887
15887
|
/*$_*/
|
|
15888
15888
|
o[23]("titleSelfExclusion") + ""
|
|
@@ -15916,29 +15916,29 @@ function Iu(o) {
|
|
|
15916
15916
|
o[23]("save") + ""
|
|
15917
15917
|
), _e, ue, De, Ne, Te, ye, xe, oe = (
|
|
15918
15918
|
/*isMobile*/
|
|
15919
|
-
o[25] &&
|
|
15919
|
+
o[25] && zu(o)
|
|
15920
15920
|
), se = no(
|
|
15921
15921
|
/*selfExclusionPeriods*/
|
|
15922
15922
|
o[12]
|
|
15923
15923
|
), O = [];
|
|
15924
15924
|
for (let x = 0; x < se.length; x += 1)
|
|
15925
|
-
O[x] = Xo(
|
|
15925
|
+
O[x] = Zo(Xo(o, se, x));
|
|
15926
15926
|
let z = (
|
|
15927
15927
|
/*isUntilDate*/
|
|
15928
|
-
o[19] &&
|
|
15928
|
+
o[19] && Qo(o)
|
|
15929
15929
|
);
|
|
15930
15930
|
function we(x, M) {
|
|
15931
15931
|
return (
|
|
15932
15932
|
/*isPermanentSelfExclusion*/
|
|
15933
|
-
x[18] ?
|
|
15933
|
+
x[18] ? Bu : (
|
|
15934
15934
|
/*isDateSelected*/
|
|
15935
|
-
x[20] ?
|
|
15935
|
+
x[20] ? Lu : Ru
|
|
15936
15936
|
)
|
|
15937
15937
|
);
|
|
15938
15938
|
}
|
|
15939
15939
|
let fe = we(o), Q = fe(o), ge = (
|
|
15940
15940
|
/*showConfirmationModal*/
|
|
15941
|
-
o[26] &&
|
|
15941
|
+
o[26] && Hu(o)
|
|
15942
15942
|
);
|
|
15943
15943
|
return {
|
|
15944
15944
|
c() {
|
|
@@ -15948,7 +15948,7 @@ function Iu(o) {
|
|
|
15948
15948
|
), C = I(), A = w("div"), k = w("div"), X = w("p"), $ = ne(U), R = I(), T = Pe("svg"), F = Pe("g"), N = Pe("path"), Z = I(), B = w("div");
|
|
15949
15949
|
for (let x = 0; x < O.length; x += 1)
|
|
15950
15950
|
O[x].c();
|
|
15951
|
-
ce = I(), z && z.c(), pe = I(), K = w("div"), Q.c(), ee = I(), Y = w("div"), H = w("button"), _e = ne(te), Ne = I(), ge && ge.c(), Te =
|
|
15951
|
+
ce = I(), z && z.c(), pe = I(), K = w("div"), Q.c(), ee = I(), Y = w("div"), H = w("button"), _e = ne(te), Ne = I(), ge && ge.c(), Te = Yr(), E(s, "class", "PlayerSelfExclusionTitle " + /*isMobile*/
|
|
15952
15952
|
(o[25] ? "PlayerSelfExclusionTitleNone" : "")), E(c, "class", "SelfExclusionDescriptionText"), E(g, "href", v = "mailto:" + /*supportemail*/
|
|
15953
15953
|
o[4]), E(h, "class", "SelfExclusionDescriptionText"), E(l, "class", "SelfExclusionDescription " + /*isMobile*/
|
|
15954
15954
|
(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"), Ue(
|
|
@@ -16042,8 +16042,8 @@ function Iu(o) {
|
|
|
16042
16042
|
);
|
|
16043
16043
|
let j;
|
|
16044
16044
|
for (j = 0; j < se.length; j += 1) {
|
|
16045
|
-
const Et =
|
|
16046
|
-
O[j] ? O[j].p(Et, M) : (O[j] =
|
|
16045
|
+
const Et = Xo(x, se, j);
|
|
16046
|
+
O[j] ? O[j].p(Et, M) : (O[j] = Zo(Et), O[j].c(), O[j].m(B, null));
|
|
16047
16047
|
}
|
|
16048
16048
|
for (; j < O.length; j += 1)
|
|
16049
16049
|
O[j].d(1);
|
|
@@ -16062,7 +16062,7 @@ function Iu(o) {
|
|
|
16062
16062
|
/*isPeriodDropDownToggled*/
|
|
16063
16063
|
x[21]
|
|
16064
16064
|
), /*isUntilDate*/
|
|
16065
|
-
x[19] ? z ? z.p(x, M) : (z =
|
|
16065
|
+
x[19] ? z ? z.p(x, M) : (z = Qo(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(K, null))), M[0] & /*$_*/
|
|
16066
16066
|
8388608 && te !== (te = /*$_*/
|
|
16067
16067
|
x[23]("save") + "") && he(_e, te), M[0] & /*isDateSelected*/
|
|
16068
16068
|
1048576 && ue !== (ue = "SelfExclusionSave " + /*isDateSelected*/
|
|
@@ -16072,16 +16072,16 @@ function Iu(o) {
|
|
|
16072
16072
|
x[26] && ge.p(x, M);
|
|
16073
16073
|
},
|
|
16074
16074
|
d(x) {
|
|
16075
|
-
x && (ae(t), ae(Ne), ae(Te)), oe && oe.d(),
|
|
16075
|
+
x && (ae(t), ae(Ne), ae(Te)), oe && oe.d(), Hr(O, x), z && z.d(), Q.d(), ge && ge.d(x), ye = !1, $r(xe);
|
|
16076
16076
|
}
|
|
16077
16077
|
};
|
|
16078
16078
|
}
|
|
16079
|
-
function
|
|
16079
|
+
function Nu(o) {
|
|
16080
16080
|
let t, e, i, s, r, n, a, l, c, u, d, h, m, b, p, g, y, v, C, A, k;
|
|
16081
16081
|
function X(R, T) {
|
|
16082
16082
|
return (
|
|
16083
16083
|
/*isMobile*/
|
|
16084
|
-
R[25] ?
|
|
16084
|
+
R[25] ? Yu : $u
|
|
16085
16085
|
);
|
|
16086
16086
|
}
|
|
16087
16087
|
let $ = X(o)(o);
|
|
@@ -16150,7 +16150,7 @@ function Fu(o) {
|
|
|
16150
16150
|
}
|
|
16151
16151
|
};
|
|
16152
16152
|
}
|
|
16153
|
-
function
|
|
16153
|
+
function zu(o) {
|
|
16154
16154
|
let t, e, i, s, r, n, a, l, c, u, d = (
|
|
16155
16155
|
/*$_*/
|
|
16156
16156
|
o[23]("titleSelfExclusion") + ""
|
|
@@ -16177,7 +16177,7 @@ function Nu(o) {
|
|
|
16177
16177
|
}
|
|
16178
16178
|
};
|
|
16179
16179
|
}
|
|
16180
|
-
function
|
|
16180
|
+
function Zo(o) {
|
|
16181
16181
|
let t, e = (
|
|
16182
16182
|
/*$_*/
|
|
16183
16183
|
o[23](`${/*period*/
|
|
@@ -16210,7 +16210,7 @@ function Xo(o) {
|
|
|
16210
16210
|
}
|
|
16211
16211
|
};
|
|
16212
16212
|
}
|
|
16213
|
-
function
|
|
16213
|
+
function Qo(o) {
|
|
16214
16214
|
let t, e, i = (
|
|
16215
16215
|
/*$_*/
|
|
16216
16216
|
o[23]("duration") + ""
|
|
@@ -16274,7 +16274,7 @@ function Zo(o) {
|
|
|
16274
16274
|
}
|
|
16275
16275
|
};
|
|
16276
16276
|
}
|
|
16277
|
-
function
|
|
16277
|
+
function Lu(o) {
|
|
16278
16278
|
let t, e, i = (
|
|
16279
16279
|
/*$_*/
|
|
16280
16280
|
o[23]("temporarySelfExclusion", {
|
|
@@ -16316,7 +16316,7 @@ function zu(o) {
|
|
|
16316
16316
|
}
|
|
16317
16317
|
};
|
|
16318
16318
|
}
|
|
16319
|
-
function
|
|
16319
|
+
function Ru(o) {
|
|
16320
16320
|
let t, e, i = (
|
|
16321
16321
|
/*$_*/
|
|
16322
16322
|
o[23]("noPeriodSelected") + ""
|
|
@@ -16338,7 +16338,7 @@ function Lu(o) {
|
|
|
16338
16338
|
}
|
|
16339
16339
|
};
|
|
16340
16340
|
}
|
|
16341
|
-
function
|
|
16341
|
+
function Bu(o) {
|
|
16342
16342
|
let t, e, i = (
|
|
16343
16343
|
/*$_*/
|
|
16344
16344
|
o[23]("permanentSelfExclusion") + ""
|
|
@@ -16360,7 +16360,7 @@ function Ru(o) {
|
|
|
16360
16360
|
}
|
|
16361
16361
|
};
|
|
16362
16362
|
}
|
|
16363
|
-
function
|
|
16363
|
+
function Hu(o) {
|
|
16364
16364
|
let t, e, i, s;
|
|
16365
16365
|
return {
|
|
16366
16366
|
c() {
|
|
@@ -16473,7 +16473,7 @@ function Bu(o) {
|
|
|
16473
16473
|
}
|
|
16474
16474
|
};
|
|
16475
16475
|
}
|
|
16476
|
-
function
|
|
16476
|
+
function $u(o) {
|
|
16477
16477
|
let t;
|
|
16478
16478
|
return {
|
|
16479
16479
|
c() {
|
|
@@ -16487,7 +16487,7 @@ function Hu(o) {
|
|
|
16487
16487
|
}
|
|
16488
16488
|
};
|
|
16489
16489
|
}
|
|
16490
|
-
function
|
|
16490
|
+
function Yu(o) {
|
|
16491
16491
|
let t;
|
|
16492
16492
|
return {
|
|
16493
16493
|
c() {
|
|
@@ -16501,12 +16501,12 @@ function $u(o) {
|
|
|
16501
16501
|
}
|
|
16502
16502
|
};
|
|
16503
16503
|
}
|
|
16504
|
-
function
|
|
16504
|
+
function ju(o) {
|
|
16505
16505
|
let t;
|
|
16506
16506
|
function e(r, n) {
|
|
16507
16507
|
return (
|
|
16508
16508
|
/*skeletonLoading*/
|
|
16509
|
-
r[22] ?
|
|
16509
|
+
r[22] ? Nu : Fu
|
|
16510
16510
|
);
|
|
16511
16511
|
}
|
|
16512
16512
|
let i = e(o), s = i(o);
|
|
@@ -16527,21 +16527,21 @@ function Yu(o) {
|
|
|
16527
16527
|
}
|
|
16528
16528
|
};
|
|
16529
16529
|
}
|
|
16530
|
-
function
|
|
16530
|
+
function Vu(o, t, e) {
|
|
16531
16531
|
let i;
|
|
16532
|
-
|
|
16533
|
-
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 = [], U = {}, $ = window.navigator.userAgent, R, T, F = "", N = "", Z = "selectAPeriod", B = "", ce = "", pe =
|
|
16532
|
+
zr(o, Lr, (_) => e(23, i = _)), Ae.extend(Mu);
|
|
16533
|
+
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 = [], U = {}, $ = window.navigator.userAgent, R, T, F = "", N = "", Z = "selectAPeriod", B = "", ce = "", pe = Rr($) !== "PC", K = !1, ee = !1, Y = !1, H = !1, te = g === "true", _e = !0, ue;
|
|
16534
16534
|
const De = () => {
|
|
16535
16535
|
fetch(p).then((W) => W.json()).then((W) => {
|
|
16536
16536
|
Object.keys(W).forEach((G) => {
|
|
16537
|
-
|
|
16537
|
+
Go(G, W[G]);
|
|
16538
16538
|
});
|
|
16539
16539
|
}).catch((W) => {
|
|
16540
16540
|
console.log(W);
|
|
16541
16541
|
});
|
|
16542
16542
|
};
|
|
16543
|
-
Object.keys(
|
|
16544
|
-
|
|
16543
|
+
Object.keys(Jo).forEach((_) => {
|
|
16544
|
+
Go(_, Jo[_]);
|
|
16545
16545
|
});
|
|
16546
16546
|
const Ne = () => {
|
|
16547
16547
|
let _ = new URL(`${s}/v1/player/selfExclusionSettings`);
|
|
@@ -16680,24 +16680,24 @@ function ju(o, t, e) {
|
|
|
16680
16680
|
A
|
|
16681
16681
|
);
|
|
16682
16682
|
};
|
|
16683
|
-
|
|
16683
|
+
Br(() => () => {
|
|
16684
16684
|
A.removeEventListener("change", fe), ue.removeEventListener("setSelfExclusion", Te);
|
|
16685
16685
|
});
|
|
16686
16686
|
const ge = () => {
|
|
16687
|
-
|
|
16687
|
+
Ou(a);
|
|
16688
16688
|
}, x = () => we(), M = () => xe(), j = (_) => oe(_);
|
|
16689
16689
|
function Et(_) {
|
|
16690
16690
|
qt[_ ? "unshift" : "push"](() => {
|
|
16691
16691
|
A = _, e(10, A);
|
|
16692
16692
|
});
|
|
16693
16693
|
}
|
|
16694
|
-
const
|
|
16695
|
-
function
|
|
16694
|
+
const Ar = (_) => O(_);
|
|
16695
|
+
function Cr(_) {
|
|
16696
16696
|
qt[_ ? "unshift" : "push"](() => {
|
|
16697
16697
|
ue = _, e(11, ue);
|
|
16698
16698
|
});
|
|
16699
16699
|
}
|
|
16700
|
-
function
|
|
16700
|
+
function Pr(_) {
|
|
16701
16701
|
qt[_ ? "unshift" : "push"](() => {
|
|
16702
16702
|
C = _, e(9, C);
|
|
16703
16703
|
});
|
|
@@ -16710,9 +16710,9 @@ function ju(o, t, e) {
|
|
|
16710
16710
|
3 | o.$$.dirty[1] & /*endpoint, gmversion*/
|
|
16711
16711
|
3 && s && r && n && l && Ne(), o.$$.dirty[0] & /*calendar*/
|
|
16712
16712
|
1024 && A && Q(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
16713
|
-
576 && h && C &&
|
|
16714
|
-
640 && m && C &&
|
|
16715
|
-
768 && b && C &&
|
|
16713
|
+
576 && h && C && jr(C, h), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
16714
|
+
640 && m && C && Vr(C, m), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
16715
|
+
768 && b && C && Ur(C, `${b}.Style`), o.$$.dirty[1] & /*translationurl*/
|
|
16716
16716
|
4 && p && De(), o.$$.dirty[0] & /*modalEl*/
|
|
16717
16717
|
2048 && ue && ue.addEventListener("setSelfExclusion", Te);
|
|
16718
16718
|
}, te && se(), [
|
|
@@ -16757,19 +16757,19 @@ function ju(o, t, e) {
|
|
|
16757
16757
|
M,
|
|
16758
16758
|
j,
|
|
16759
16759
|
Et,
|
|
16760
|
-
Sr,
|
|
16761
16760
|
Ar,
|
|
16762
|
-
Cr
|
|
16761
|
+
Cr,
|
|
16762
|
+
Pr
|
|
16763
16763
|
];
|
|
16764
16764
|
}
|
|
16765
|
-
class
|
|
16765
|
+
class Sr extends Or {
|
|
16766
16766
|
constructor(t) {
|
|
16767
|
-
super(),
|
|
16767
|
+
super(), Ir(
|
|
16768
16768
|
this,
|
|
16769
16769
|
t,
|
|
16770
|
+
Vu,
|
|
16770
16771
|
ju,
|
|
16771
|
-
|
|
16772
|
-
Ir,
|
|
16772
|
+
Fr,
|
|
16773
16773
|
{
|
|
16774
16774
|
endpoint: 31,
|
|
16775
16775
|
session: 0,
|
|
@@ -16787,7 +16787,7 @@ class Er extends Mr {
|
|
|
16787
16787
|
dateformat: 35,
|
|
16788
16788
|
sendnotificationemail: 36
|
|
16789
16789
|
},
|
|
16790
|
-
|
|
16790
|
+
Iu,
|
|
16791
16791
|
[-1, -1]
|
|
16792
16792
|
);
|
|
16793
16793
|
}
|
|
@@ -16882,12 +16882,12 @@ class Er extends Mr {
|
|
|
16882
16882
|
this.$$set({ sendnotificationemail: t }), ie();
|
|
16883
16883
|
}
|
|
16884
16884
|
}
|
|
16885
|
-
|
|
16886
|
-
const
|
|
16885
|
+
Wr(Sr, { endpoint: {}, session: {}, userid: {}, lang: {}, gmversion: {}, operator: {}, supportemail: {}, baseurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, hasconfirmationmodal: {}, dateformat: {}, sendnotificationemail: {} }, [], [], !0);
|
|
16886
|
+
const Md = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16887
16887
|
__proto__: null,
|
|
16888
|
-
default:
|
|
16888
|
+
default: Sr
|
|
16889
16889
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
16890
16890
|
export {
|
|
16891
|
-
|
|
16892
|
-
|
|
16891
|
+
Mu as C,
|
|
16892
|
+
Md as P
|
|
16893
16893
|
};
|