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