@everymatrix/player-account-controller 1.86.27 → 1.86.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{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-DSwi4nAJ.js → PlayerAccountSelfExclusion-CySbO2r9.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var Yr = Object.defineProperty, jr = Object.defineProperties;
|
|
2
|
+
var Vr = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var ho = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var po = (o, t, e) => t in o ?
|
|
4
|
+
var Ur = Object.prototype.hasOwnProperty, Wr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var po = (o, t, e) => t in o ? Yr(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e, Pt = (o, t) => {
|
|
6
6
|
for (var e in t || (t = {}))
|
|
7
|
-
|
|
7
|
+
Ur.call(t, e) && po(o, e, t[e]);
|
|
8
8
|
if (ho)
|
|
9
9
|
for (var e of ho(t))
|
|
10
|
-
|
|
10
|
+
Wr.call(t, e) && po(o, e, t[e]);
|
|
11
11
|
return o;
|
|
12
|
-
}, kt = (o, t) =>
|
|
12
|
+
}, kt = (o, t) => jr(o, Vr(t));
|
|
13
13
|
var rt = (o, t, e) => new Promise((i, s) => {
|
|
14
14
|
var r = (l) => {
|
|
15
15
|
try {
|
|
@@ -26,8 +26,8 @@ var rt = (o, t, e) => new Promise((i, s) => {
|
|
|
26
26
|
}, a = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(r, n);
|
|
27
27
|
a((e = e.apply(o, t)).next());
|
|
28
28
|
});
|
|
29
|
-
import { a5 as
|
|
30
|
-
import { d as Ee } from "./PlayerAccountProductRestriction-
|
|
29
|
+
import { a5 as qr, a6 as Kr, a as Gr, $ as Jr, S as Xr, i as Zr, s as Qr, f as ie, b as en, n as gi, d as he, h as pe, k as w, p as tn, q as on, u as sn, w as Xt, j as f, m as I, g as S, Z as Zt, e as E, C as fo, D as rn, r as nn, c as de, o as We, l as zt, t as re, v as Ae, x as an, y as ln, z as cn, A as un, B as dn } from "./GeneralLogout-B7wytw3i.js";
|
|
30
|
+
import { d as Ee } from "./PlayerAccountProductRestriction-D5TZl8TF.js";
|
|
31
31
|
import "../stencil/ui-skeleton-CTFP1U_H.js";
|
|
32
32
|
import "./PlayerAccountGamingLimitsGroupEdit-DBQ3mbbn.js";
|
|
33
33
|
/**
|
|
@@ -56,12 +56,12 @@ function ve(o, t = "24.5.10") {
|
|
|
56
56
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
57
57
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
58
58
|
*/
|
|
59
|
-
class
|
|
59
|
+
class hn extends HTMLElement {
|
|
60
60
|
static get is() {
|
|
61
61
|
return "vaadin-lumo-styles";
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
ve(
|
|
64
|
+
ve(hn);
|
|
65
65
|
/**
|
|
66
66
|
* @license
|
|
67
67
|
* Copyright 2019 Google LLC
|
|
@@ -87,7 +87,7 @@ let ji = class {
|
|
|
87
87
|
return this.cssText;
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
|
-
const
|
|
90
|
+
const pn = (o) => new ji(typeof o == "string" ? o : o + "", void 0, Yi), P = (o, ...t) => {
|
|
91
91
|
const e = o.length === 1 ? o[0] : t.reduce((i, s, r) => i + ((n) => {
|
|
92
92
|
if (n._$cssResult$ === !0)
|
|
93
93
|
return n.cssText;
|
|
@@ -96,7 +96,7 @@ const hn = (o) => new ji(typeof o == "string" ? o : o + "", void 0, Yi), P = (o,
|
|
|
96
96
|
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.");
|
|
97
97
|
})(s) + o[r + 1], o[0]);
|
|
98
98
|
return new ji(e, o, Yi);
|
|
99
|
-
},
|
|
99
|
+
}, ps = (o, t) => {
|
|
100
100
|
if ($i)
|
|
101
101
|
o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
102
102
|
else
|
|
@@ -108,17 +108,17 @@ const hn = (o) => new ji(typeof o == "string" ? o : o + "", void 0, Yi), P = (o,
|
|
|
108
108
|
let e = "";
|
|
109
109
|
for (const i of t.cssRules)
|
|
110
110
|
e += i.cssText;
|
|
111
|
-
return
|
|
111
|
+
return pn(e);
|
|
112
112
|
})(o) : o;
|
|
113
113
|
/**
|
|
114
114
|
* @license
|
|
115
115
|
* Copyright 2017 Google LLC
|
|
116
116
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
117
117
|
*/
|
|
118
|
-
const { is:
|
|
118
|
+
const { is: fn, defineProperty: mn, getOwnPropertyDescriptor: _n, getOwnPropertyNames: gn, getOwnPropertySymbols: bn, getPrototypeOf: vn } = Object, Me = globalThis, go = Me.trustedTypes, yn = go ? go.emptyScript : "", Qt = Me.reactiveElementPolyfillSupport, pt = (o, t) => o, bi = { toAttribute(o, t) {
|
|
119
119
|
switch (t) {
|
|
120
120
|
case Boolean:
|
|
121
|
-
o = o ?
|
|
121
|
+
o = o ? yn : null;
|
|
122
122
|
break;
|
|
123
123
|
case Object:
|
|
124
124
|
case Array:
|
|
@@ -143,10 +143,10 @@ const { is: pn, defineProperty: fn, getOwnPropertyDescriptor: mn, getOwnProperty
|
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
return e;
|
|
146
|
-
} },
|
|
147
|
-
var
|
|
148
|
-
(
|
|
149
|
-
|
|
146
|
+
} }, fs = (o, t) => !fn(o, t), bo = { attribute: !0, type: String, converter: bi, reflect: !1, useDefault: !1, hasChanged: fs };
|
|
147
|
+
var as, ls;
|
|
148
|
+
(as = Symbol.metadata) != null || (Symbol.metadata = Symbol("metadata")), (ls = Me.litPropertyMetadata) != null || (Me.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
149
|
+
let Ke = class extends HTMLElement {
|
|
150
150
|
static addInitializer(t) {
|
|
151
151
|
var e;
|
|
152
152
|
this._$Ei(), ((e = this.l) != null ? e : this.l = []).push(t);
|
|
@@ -157,12 +157,12 @@ class Ke extends HTMLElement {
|
|
|
157
157
|
static createProperty(t, e = bo) {
|
|
158
158
|
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) {
|
|
159
159
|
const i = Symbol(), s = this.getPropertyDescriptor(t, i, e);
|
|
160
|
-
s !== void 0 &&
|
|
160
|
+
s !== void 0 && mn(this.prototype, t, s);
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
163
|
static getPropertyDescriptor(t, e, i) {
|
|
164
164
|
var n;
|
|
165
|
-
const { get: s, set: r } = (n =
|
|
165
|
+
const { get: s, set: r } = (n = _n(this.prototype, t)) != null ? n : { get() {
|
|
166
166
|
return this[e];
|
|
167
167
|
}, set(a) {
|
|
168
168
|
this[e] = a;
|
|
@@ -179,14 +179,14 @@ class Ke extends HTMLElement {
|
|
|
179
179
|
static _$Ei() {
|
|
180
180
|
if (this.hasOwnProperty(pt("elementProperties")))
|
|
181
181
|
return;
|
|
182
|
-
const t =
|
|
182
|
+
const t = vn(this);
|
|
183
183
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
184
184
|
}
|
|
185
185
|
static finalize() {
|
|
186
186
|
if (this.hasOwnProperty(pt("finalized")))
|
|
187
187
|
return;
|
|
188
188
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(pt("properties"))) {
|
|
189
|
-
const e = this.properties, i = [...
|
|
189
|
+
const e = this.properties, i = [...gn(e), ...bn(e)];
|
|
190
190
|
for (const s of i)
|
|
191
191
|
this.createProperty(s, e[s]);
|
|
192
192
|
}
|
|
@@ -242,7 +242,7 @@ class Ke extends HTMLElement {
|
|
|
242
242
|
createRenderRoot() {
|
|
243
243
|
var e;
|
|
244
244
|
const t = (e = this.shadowRoot) != null ? e : this.attachShadow(this.constructor.shadowRootOptions);
|
|
245
|
-
return
|
|
245
|
+
return ps(t, this.constructor.elementStyles), t;
|
|
246
246
|
}
|
|
247
247
|
connectedCallback() {
|
|
248
248
|
var t, e;
|
|
@@ -281,11 +281,11 @@ class Ke extends HTMLElement {
|
|
|
281
281
|
this[s] = (a = u != null ? u : (n = this._$Ej) == null ? void 0 : n.get(s)) != null ? a : u, this._$Em = null;
|
|
282
282
|
}
|
|
283
283
|
}
|
|
284
|
-
requestUpdate(t, e, i) {
|
|
285
|
-
var
|
|
284
|
+
requestUpdate(t, e, i, s = !1, r) {
|
|
285
|
+
var n, a;
|
|
286
286
|
if (t !== void 0) {
|
|
287
|
-
const
|
|
288
|
-
if (i != null || (i =
|
|
287
|
+
const l = this.constructor;
|
|
288
|
+
if (s === !1 && (r = this[t]), i != null || (i = l.getPropertyOptions(t)), !(((n = i.hasChanged) != null ? n : fs)(r, e) || i.useDefault && i.reflect && r === ((a = this._$Ej) == null ? void 0 : a.get(t)) && !this.hasAttribute(l._$Eu(t, i))))
|
|
289
289
|
return;
|
|
290
290
|
this.C(t, e, i);
|
|
291
291
|
}
|
|
@@ -367,41 +367,41 @@ class Ke extends HTMLElement {
|
|
|
367
367
|
}
|
|
368
368
|
firstUpdated(t) {
|
|
369
369
|
}
|
|
370
|
-
}
|
|
371
|
-
var
|
|
372
|
-
Ke.elementStyles = [], Ke.shadowRootOptions = { mode: "open" }, Ke[pt("elementProperties")] = /* @__PURE__ */ new Map(), Ke[pt("finalized")] = /* @__PURE__ */ new Map(), Qt == null || Qt({ ReactiveElement: Ke }), ((
|
|
370
|
+
};
|
|
371
|
+
var cs;
|
|
372
|
+
Ke.elementStyles = [], Ke.shadowRootOptions = { mode: "open" }, Ke[pt("elementProperties")] = /* @__PURE__ */ new Map(), Ke[pt("finalized")] = /* @__PURE__ */ new Map(), Qt == null || Qt({ ReactiveElement: Ke }), ((cs = Me.reactiveElementVersions) != null ? cs : Me.reactiveElementVersions = []).push("2.1.2");
|
|
373
373
|
/**
|
|
374
374
|
* @license
|
|
375
375
|
* Copyright 2017 Google LLC
|
|
376
376
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
377
377
|
*/
|
|
378
|
-
const ft = globalThis, Lt = ft.trustedTypes,
|
|
379
|
-
\f\r]`, nt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
380
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
381
|
-
function
|
|
378
|
+
const ft = globalThis, vo = (o) => o, Lt = ft.trustedTypes, yo = Lt ? Lt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, ms = "$lit$", Te = `lit$${Math.random().toFixed(9).slice(2)}$`, _s = "?" + Te, xn = `<${_s}>`, $e = document, _t = () => $e.createComment(""), gt = (o) => o === null || typeof o != "object" && typeof o != "function", Vi = Array.isArray, wn = (o) => Vi(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", ei = `[
|
|
379
|
+
\f\r]`, nt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, xo = /-->/g, wo = />/g, Ne = RegExp(`>|${ei}(?:([^\\s"'>=/]+)(${ei}*=${ei}*(?:[^
|
|
380
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Eo = /'/g, So = /"/g, gs = /^(?:script|style|textarea|title)$/i, Qe = Symbol.for("lit-noChange"), K = Symbol.for("lit-nothing"), Ao = /* @__PURE__ */ new WeakMap(), ze = $e.createTreeWalker($e, 129);
|
|
381
|
+
function bs(o, t) {
|
|
382
382
|
if (!Vi(o) || !o.hasOwnProperty("raw"))
|
|
383
383
|
throw Error("invalid template strings array");
|
|
384
|
-
return
|
|
384
|
+
return yo !== void 0 ? yo.createHTML(t) : t;
|
|
385
385
|
}
|
|
386
|
-
const
|
|
386
|
+
const En = (o, t) => {
|
|
387
387
|
const e = o.length - 1, i = [];
|
|
388
388
|
let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = nt;
|
|
389
389
|
for (let a = 0; a < e; a++) {
|
|
390
390
|
const l = o[a];
|
|
391
391
|
let c, u, d = -1, h = 0;
|
|
392
392
|
for (; h < l.length && (n.lastIndex = h, u = n.exec(l), u !== null); )
|
|
393
|
-
h = n.lastIndex, n === nt ? u[1] === "!--" ? n =
|
|
393
|
+
h = n.lastIndex, n === nt ? u[1] === "!--" ? n = xo : u[1] !== void 0 ? n = wo : u[2] !== void 0 ? (gs.test(u[2]) && (s = RegExp("</" + u[2], "g")), n = Ne) : u[3] !== void 0 && (n = Ne) : n === Ne ? u[0] === ">" ? (n = s != null ? s : nt, d = -1) : u[1] === void 0 ? d = -2 : (d = n.lastIndex - u[2].length, c = u[1], n = u[3] === void 0 ? Ne : u[3] === '"' ? So : Eo) : n === So || n === Eo ? n = Ne : n === xo || n === wo ? n = nt : (n = Ne, s = void 0);
|
|
394
394
|
const m = n === Ne && o[a + 1].startsWith("/>") ? " " : "";
|
|
395
|
-
r += n === nt ? l +
|
|
395
|
+
r += n === nt ? l + xn : d >= 0 ? (i.push(c), l.slice(0, d) + ms + l.slice(d) + Te + m) : l + Te + (d === -2 ? a : m);
|
|
396
396
|
}
|
|
397
|
-
return [
|
|
397
|
+
return [bs(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
|
|
398
398
|
};
|
|
399
399
|
class bt {
|
|
400
400
|
constructor({ strings: t, _$litType$: e }, i) {
|
|
401
401
|
let s;
|
|
402
402
|
this.parts = [];
|
|
403
403
|
let r = 0, n = 0;
|
|
404
|
-
const a = t.length - 1, l = this.parts, [c, u] =
|
|
404
|
+
const a = t.length - 1, l = this.parts, [c, u] = En(t, e);
|
|
405
405
|
if (this.el = bt.createElement(c, i), ze.currentNode = this.el.content, e === 2 || e === 3) {
|
|
406
406
|
const d = this.el.content.firstChild;
|
|
407
407
|
d.replaceWith(...d.childNodes);
|
|
@@ -410,12 +410,12 @@ class bt {
|
|
|
410
410
|
if (s.nodeType === 1) {
|
|
411
411
|
if (s.hasAttributes())
|
|
412
412
|
for (const d of s.getAttributeNames())
|
|
413
|
-
if (d.endsWith(
|
|
413
|
+
if (d.endsWith(ms)) {
|
|
414
414
|
const h = u[n++], m = s.getAttribute(d).split(Te), b = /([.?@])?(.*)/.exec(h);
|
|
415
|
-
l.push({ type: 1, index: r, name: b[2], strings: m, ctor: b[1] === "." ?
|
|
415
|
+
l.push({ type: 1, index: r, name: b[2], strings: m, ctor: b[1] === "." ? An : b[1] === "?" ? Cn : b[1] === "@" ? Pn : Ut }), s.removeAttribute(d);
|
|
416
416
|
} else
|
|
417
417
|
d.startsWith(Te) && (l.push({ type: 6, index: r }), s.removeAttribute(d));
|
|
418
|
-
if (
|
|
418
|
+
if (gs.test(s.tagName)) {
|
|
419
419
|
const d = s.textContent.split(Te), h = d.length - 1;
|
|
420
420
|
if (h > 0) {
|
|
421
421
|
s.textContent = Lt ? Lt.emptyScript : "";
|
|
@@ -425,7 +425,7 @@ class bt {
|
|
|
425
425
|
}
|
|
426
426
|
}
|
|
427
427
|
} else if (s.nodeType === 8)
|
|
428
|
-
if (s.data ===
|
|
428
|
+
if (s.data === _s)
|
|
429
429
|
l.push({ type: 2, index: r });
|
|
430
430
|
else {
|
|
431
431
|
let d = -1;
|
|
@@ -448,7 +448,7 @@ function et(o, t, e = o, i) {
|
|
|
448
448
|
const r = gt(t) ? void 0 : t._$litDirective$;
|
|
449
449
|
return (s == null ? void 0 : s.constructor) !== r && ((a = s == null ? void 0 : s._$AO) == null || a.call(s, !1), r === void 0 ? s = void 0 : (s = new r(o), s._$AT(o, e, i)), i !== void 0 ? ((l = e._$Co) != null ? l : e._$Co = [])[i] = s : e._$Cl = s), s !== void 0 && (t = et(o, s._$AS(o, t.values), s, i)), t;
|
|
450
450
|
}
|
|
451
|
-
class
|
|
451
|
+
class Sn {
|
|
452
452
|
constructor(t, e) {
|
|
453
453
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
|
454
454
|
}
|
|
@@ -466,7 +466,7 @@ class En {
|
|
|
466
466
|
for (; l !== void 0; ) {
|
|
467
467
|
if (n === l.index) {
|
|
468
468
|
let u;
|
|
469
|
-
l.type === 2 ? u = new At(r, r.nextSibling, this, t) : l.type === 1 ? u = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (u = new
|
|
469
|
+
l.type === 2 ? u = new At(r, r.nextSibling, this, t) : l.type === 1 ? u = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (u = new kn(r, this, t)), this._$AV.push(u), l = i[++a];
|
|
470
470
|
}
|
|
471
471
|
n !== (l == null ? void 0 : l.index) && (r = ze.nextNode(), n++);
|
|
472
472
|
}
|
|
@@ -499,7 +499,7 @@ class At {
|
|
|
499
499
|
return this._$AB;
|
|
500
500
|
}
|
|
501
501
|
_$AI(t, e = this) {
|
|
502
|
-
t = et(this, t, e), gt(t) ? t === K || t == null || t === "" ? (this._$AH !== K && this._$AR(), this._$AH = K) : t !== this._$AH && t !== Qe && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) :
|
|
502
|
+
t = et(this, t, e), gt(t) ? t === K || t == null || t === "" ? (this._$AH !== K && this._$AR(), this._$AH = K) : t !== this._$AH && t !== Qe && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : wn(t) ? this.k(t) : this._(t);
|
|
503
503
|
}
|
|
504
504
|
O(t) {
|
|
505
505
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -512,17 +512,17 @@ class At {
|
|
|
512
512
|
}
|
|
513
513
|
$(t) {
|
|
514
514
|
var r;
|
|
515
|
-
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = bt.createElement(
|
|
515
|
+
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = bt.createElement(bs(i.h, i.h[0]), this.options)), i);
|
|
516
516
|
if (((r = this._$AH) == null ? void 0 : r._$AD) === s)
|
|
517
517
|
this._$AH.p(e);
|
|
518
518
|
else {
|
|
519
|
-
const n = new
|
|
519
|
+
const n = new Sn(s, this), a = n.u(this.options);
|
|
520
520
|
n.p(e), this.T(a), this._$AH = n;
|
|
521
521
|
}
|
|
522
522
|
}
|
|
523
523
|
_$AC(t) {
|
|
524
|
-
let e =
|
|
525
|
-
return e === void 0 &&
|
|
524
|
+
let e = Ao.get(t.strings);
|
|
525
|
+
return e === void 0 && Ao.set(t.strings, e = new bt(t)), e;
|
|
526
526
|
}
|
|
527
527
|
k(t) {
|
|
528
528
|
Vi(this._$AH) || (this._$AH = [], this._$AR());
|
|
@@ -535,8 +535,8 @@ class At {
|
|
|
535
535
|
_$AR(t = this._$AA.nextSibling, e) {
|
|
536
536
|
var i;
|
|
537
537
|
for ((i = this._$AP) == null ? void 0 : i.call(this, !1, !0, e); t !== this._$AB; ) {
|
|
538
|
-
const s = t.nextSibling;
|
|
539
|
-
t.remove(), t = s;
|
|
538
|
+
const s = vo(t).nextSibling;
|
|
539
|
+
vo(t).remove(), t = s;
|
|
540
540
|
}
|
|
541
541
|
}
|
|
542
542
|
setConnected(t) {
|
|
@@ -571,7 +571,7 @@ class Ut {
|
|
|
571
571
|
t === K ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t != null ? t : "");
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
|
-
class
|
|
574
|
+
class An extends Ut {
|
|
575
575
|
constructor() {
|
|
576
576
|
super(...arguments), this.type = 3;
|
|
577
577
|
}
|
|
@@ -579,7 +579,7 @@ class Sn extends Ut {
|
|
|
579
579
|
this.element[this.name] = t === K ? void 0 : t;
|
|
580
580
|
}
|
|
581
581
|
}
|
|
582
|
-
class
|
|
582
|
+
class Cn extends Ut {
|
|
583
583
|
constructor() {
|
|
584
584
|
super(...arguments), this.type = 4;
|
|
585
585
|
}
|
|
@@ -587,7 +587,7 @@ class An extends Ut {
|
|
|
587
587
|
this.element.toggleAttribute(this.name, !!t && t !== K);
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
|
-
class
|
|
590
|
+
class Pn extends Ut {
|
|
591
591
|
constructor(t, e, i, s, r) {
|
|
592
592
|
super(t, e, i, s, r), this.type = 5;
|
|
593
593
|
}
|
|
@@ -603,7 +603,7 @@ class Cn extends Ut {
|
|
|
603
603
|
typeof this._$AH == "function" ? this._$AH.call((i = (e = this.options) == null ? void 0 : e.host) != null ? i : this.element, t) : this._$AH.handleEvent(t);
|
|
604
604
|
}
|
|
605
605
|
}
|
|
606
|
-
class
|
|
606
|
+
class kn {
|
|
607
607
|
constructor(t, e, i) {
|
|
608
608
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
|
|
609
609
|
}
|
|
@@ -615,9 +615,9 @@ class Pn {
|
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
617
|
const ti = ft.litHtmlPolyfillSupport;
|
|
618
|
-
var
|
|
619
|
-
ti == null || ti(bt, At), ((
|
|
620
|
-
const
|
|
618
|
+
var us;
|
|
619
|
+
ti == null || ti(bt, At), ((us = ft.litHtmlVersions) != null ? us : ft.litHtmlVersions = []).push("3.3.2");
|
|
620
|
+
const Dn = (o, t, e) => {
|
|
621
621
|
var r, n;
|
|
622
622
|
const i = (r = e == null ? void 0 : e.renderBefore) != null ? r : t;
|
|
623
623
|
let s = i._$litPart$;
|
|
@@ -644,7 +644,7 @@ class Ge extends Ke {
|
|
|
644
644
|
}
|
|
645
645
|
update(t) {
|
|
646
646
|
const e = this.render();
|
|
647
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do =
|
|
647
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Dn(e, this.renderRoot, this.renderOptions);
|
|
648
648
|
}
|
|
649
649
|
connectedCallback() {
|
|
650
650
|
var t;
|
|
@@ -658,18 +658,18 @@ class Ge extends Ke {
|
|
|
658
658
|
return Qe;
|
|
659
659
|
}
|
|
660
660
|
}
|
|
661
|
-
var
|
|
662
|
-
Ge._$litElement$ = !0, Ge.finalized = !0, (
|
|
661
|
+
var ds;
|
|
662
|
+
Ge._$litElement$ = !0, Ge.finalized = !0, (ds = Be.litElementHydrateSupport) == null || ds.call(Be, { LitElement: Ge });
|
|
663
663
|
const ii = Be.litElementPolyfillSupport;
|
|
664
664
|
ii == null || ii({ LitElement: Ge });
|
|
665
|
-
var
|
|
666
|
-
((
|
|
665
|
+
var hs;
|
|
666
|
+
((hs = Be.litElementVersions) != null ? hs : Be.litElementVersions = []).push("4.2.2");
|
|
667
667
|
/**
|
|
668
668
|
* @license
|
|
669
669
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
670
670
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
671
671
|
*/
|
|
672
|
-
const
|
|
672
|
+
const Tn = (o) => class extends o {
|
|
673
673
|
static get properties() {
|
|
674
674
|
return {
|
|
675
675
|
/**
|
|
@@ -708,102 +708,102 @@ const Dn = (o) => class extends o {
|
|
|
708
708
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
709
709
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
710
710
|
*/
|
|
711
|
-
const
|
|
712
|
-
function
|
|
711
|
+
const vs = [], vi = /* @__PURE__ */ new Set(), Ui = /* @__PURE__ */ new Set();
|
|
712
|
+
function ys(o) {
|
|
713
713
|
return o && Object.prototype.hasOwnProperty.call(o, "__themes");
|
|
714
714
|
}
|
|
715
|
-
function
|
|
716
|
-
return
|
|
715
|
+
function Mn(o) {
|
|
716
|
+
return ys(customElements.get(o));
|
|
717
717
|
}
|
|
718
|
-
function
|
|
718
|
+
function On(o = []) {
|
|
719
719
|
return [o].flat(1 / 0).filter((t) => t instanceof ji ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
|
|
720
720
|
}
|
|
721
|
-
function
|
|
721
|
+
function xs(o, t) {
|
|
722
722
|
return (o || "").split(" ").some((e) => new RegExp(`^${e.split("*").join(".*")}$`, "u").test(t));
|
|
723
723
|
}
|
|
724
|
-
function
|
|
724
|
+
function ws(o) {
|
|
725
725
|
return o.map((t) => t.cssText).join(`
|
|
726
726
|
`);
|
|
727
727
|
}
|
|
728
728
|
const Rt = "vaadin-themable-mixin-style";
|
|
729
|
-
function
|
|
729
|
+
function In(o, t) {
|
|
730
730
|
const e = document.createElement("style");
|
|
731
|
-
e.id = Rt, e.textContent =
|
|
731
|
+
e.id = Rt, e.textContent = ws(o), t.content.appendChild(e);
|
|
732
732
|
}
|
|
733
|
-
function
|
|
733
|
+
function Fn(o) {
|
|
734
734
|
if (!o.shadowRoot)
|
|
735
735
|
return;
|
|
736
736
|
const t = o.constructor;
|
|
737
737
|
if (o instanceof Ge)
|
|
738
|
-
[...o.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()),
|
|
738
|
+
[...o.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()), ps(o.shadowRoot, t.elementStyles);
|
|
739
739
|
else {
|
|
740
740
|
const e = o.shadowRoot.getElementById(Rt), i = t.prototype._template;
|
|
741
741
|
e.textContent = i.content.getElementById(Rt).textContent;
|
|
742
742
|
}
|
|
743
743
|
}
|
|
744
|
-
function
|
|
744
|
+
function Nn(o) {
|
|
745
745
|
vi.forEach((t) => {
|
|
746
746
|
const e = t.deref();
|
|
747
|
-
e instanceof o ?
|
|
747
|
+
e instanceof o ? Fn(e) : e || vi.delete(t);
|
|
748
748
|
});
|
|
749
749
|
}
|
|
750
|
-
function
|
|
750
|
+
function Es(o) {
|
|
751
751
|
if (o.prototype instanceof Ge)
|
|
752
752
|
o.elementStyles = o.finalizeStyles(o.styles);
|
|
753
753
|
else {
|
|
754
754
|
const t = o.prototype._template;
|
|
755
|
-
t.content.getElementById(Rt).textContent =
|
|
755
|
+
t.content.getElementById(Rt).textContent = ws(o.getStylesForThis());
|
|
756
756
|
}
|
|
757
757
|
Ui.forEach((t) => {
|
|
758
758
|
const e = customElements.get(t);
|
|
759
|
-
e !== o && e.prototype instanceof o &&
|
|
759
|
+
e !== o && e.prototype instanceof o && Es(e);
|
|
760
760
|
});
|
|
761
761
|
}
|
|
762
|
-
function
|
|
762
|
+
function zn(o, t) {
|
|
763
763
|
const e = o.__themes;
|
|
764
764
|
return !e || !t ? !1 : e.some(
|
|
765
765
|
(i) => i.styles.some((s) => t.some((r) => r.cssText === s.cssText))
|
|
766
766
|
);
|
|
767
767
|
}
|
|
768
768
|
function L(o, t, e = {}) {
|
|
769
|
-
t =
|
|
769
|
+
t = On(t), window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.registerStyles(o, t, e) : vs.push({
|
|
770
770
|
themeFor: o,
|
|
771
771
|
styles: t,
|
|
772
772
|
include: e.include,
|
|
773
773
|
moduleId: e.moduleId
|
|
774
774
|
}), o && Ui.forEach((i) => {
|
|
775
|
-
if (
|
|
775
|
+
if (xs(o, i) && Mn(i)) {
|
|
776
776
|
const s = customElements.get(i);
|
|
777
|
-
|
|
777
|
+
zn(s, t) ? console.warn(`Registering styles that already exist for ${i}`) : (!window.Vaadin || !window.Vaadin.suppressPostFinalizeStylesWarning) && console.warn(
|
|
778
778
|
`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".`
|
|
779
|
-
),
|
|
779
|
+
), Es(s), Nn(s);
|
|
780
780
|
}
|
|
781
781
|
});
|
|
782
782
|
}
|
|
783
783
|
function yi() {
|
|
784
|
-
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() :
|
|
784
|
+
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() : vs;
|
|
785
785
|
}
|
|
786
|
-
function
|
|
786
|
+
function Ln(o = "") {
|
|
787
787
|
let t = 0;
|
|
788
788
|
return o.startsWith("lumo-") || o.startsWith("material-") ? t = 1 : o.startsWith("vaadin-") && (t = 2), t;
|
|
789
789
|
}
|
|
790
|
-
function
|
|
790
|
+
function Ss(o) {
|
|
791
791
|
const t = [];
|
|
792
792
|
return o.include && [].concat(o.include).forEach((e) => {
|
|
793
793
|
const i = yi().find((s) => s.moduleId === e);
|
|
794
|
-
i ? t.push(...
|
|
794
|
+
i ? t.push(...Ss(i), ...i.styles) : console.warn(`Included moduleId ${e} not found in style registry`);
|
|
795
795
|
}, o.styles), t;
|
|
796
796
|
}
|
|
797
|
-
function
|
|
798
|
-
const t = `${o}-default-theme`, e = yi().filter((i) => i.moduleId !== t &&
|
|
797
|
+
function Rn(o) {
|
|
798
|
+
const t = `${o}-default-theme`, e = yi().filter((i) => i.moduleId !== t && xs(i.themeFor, o)).map((i) => kt(Pt({}, i), {
|
|
799
799
|
// Prepend styles from included themes
|
|
800
|
-
styles: [...
|
|
800
|
+
styles: [...Ss(i), ...i.styles],
|
|
801
801
|
// Map moduleId to includePriority
|
|
802
|
-
includePriority:
|
|
802
|
+
includePriority: Ln(i.moduleId)
|
|
803
803
|
})).sort((i, s) => s.includePriority - i.includePriority);
|
|
804
804
|
return e.length > 0 ? e : yi().filter((i) => i.moduleId === t);
|
|
805
805
|
}
|
|
806
|
-
const Ye = (o) => class extends
|
|
806
|
+
const Ye = (o) => class extends Tn(o) {
|
|
807
807
|
constructor() {
|
|
808
808
|
super(), vi.add(new WeakRef(this));
|
|
809
809
|
}
|
|
@@ -815,7 +815,7 @@ const Ye = (o) => class extends Dn(o) {
|
|
|
815
815
|
if (super.finalize(), this.is && Ui.add(this.is), this.elementStyles)
|
|
816
816
|
return;
|
|
817
817
|
const e = this.prototype._template;
|
|
818
|
-
!e ||
|
|
818
|
+
!e || ys(this) || In(this.getStylesForThis(), e);
|
|
819
819
|
}
|
|
820
820
|
/**
|
|
821
821
|
* Covers LitElement based component styling
|
|
@@ -833,7 +833,7 @@ const Ye = (o) => class extends Dn(o) {
|
|
|
833
833
|
*/
|
|
834
834
|
static getStylesForThis() {
|
|
835
835
|
const e = o.__themes || [], i = Object.getPrototypeOf(this.prototype), s = (i ? i.constructor.__themes : []) || [];
|
|
836
|
-
this.__themes = [...e, ...s, ...
|
|
836
|
+
this.__themes = [...e, ...s, ...Rn(this.is)];
|
|
837
837
|
const r = this.__themes.flatMap((n) => n.styles);
|
|
838
838
|
return r.filter((n, a) => a === r.lastIndexOf(n));
|
|
839
839
|
}
|
|
@@ -843,19 +843,19 @@ const Ye = (o) => class extends Dn(o) {
|
|
|
843
843
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
844
844
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
845
845
|
*/
|
|
846
|
-
const
|
|
846
|
+
const Bn = (o, ...t) => {
|
|
847
847
|
const e = document.createElement("style");
|
|
848
848
|
e.id = o, e.textContent = t.map((i) => i.toString()).join(`
|
|
849
849
|
`).replace(":host", "html"), document.head.insertAdjacentElement("afterbegin", e);
|
|
850
850
|
}, ot = (o, ...t) => {
|
|
851
|
-
|
|
851
|
+
Bn(`lumo-${o}`, t);
|
|
852
852
|
};
|
|
853
853
|
/**
|
|
854
854
|
* @license
|
|
855
855
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
856
856
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
857
857
|
*/
|
|
858
|
-
const
|
|
858
|
+
const Hn = P`
|
|
859
859
|
:host {
|
|
860
860
|
--lumo-size-xs: 1.625rem;
|
|
861
861
|
--lumo-size-s: 1.875rem;
|
|
@@ -871,13 +871,13 @@ const Bn = P`
|
|
|
871
871
|
--lumo-icon-size: var(--lumo-icon-size-m);
|
|
872
872
|
}
|
|
873
873
|
`;
|
|
874
|
-
ot("sizing-props",
|
|
874
|
+
ot("sizing-props", Hn);
|
|
875
875
|
/**
|
|
876
876
|
* @license
|
|
877
877
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
878
878
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
879
879
|
*/
|
|
880
|
-
const
|
|
880
|
+
const $n = P`
|
|
881
881
|
:host {
|
|
882
882
|
/* Square */
|
|
883
883
|
--lumo-space-xs: 0.25rem;
|
|
@@ -901,13 +901,13 @@ const Hn = P`
|
|
|
901
901
|
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
|
902
902
|
}
|
|
903
903
|
`;
|
|
904
|
-
ot("spacing-props",
|
|
904
|
+
ot("spacing-props", $n);
|
|
905
905
|
/**
|
|
906
906
|
* @license
|
|
907
907
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
908
908
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
909
909
|
*/
|
|
910
|
-
const
|
|
910
|
+
const Yn = P`
|
|
911
911
|
:host {
|
|
912
912
|
/* Border radius */
|
|
913
913
|
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
@@ -1009,13 +1009,13 @@ P`
|
|
|
1009
1009
|
--vaadin-input-field-value-font-weight: 500;
|
|
1010
1010
|
}
|
|
1011
1011
|
`;
|
|
1012
|
-
ot("style-props",
|
|
1012
|
+
ot("style-props", Yn);
|
|
1013
1013
|
/**
|
|
1014
1014
|
* @license
|
|
1015
1015
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1016
1016
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1017
1017
|
*/
|
|
1018
|
-
const
|
|
1018
|
+
const jn = P`
|
|
1019
1019
|
:host {
|
|
1020
1020
|
/* Base (background) */
|
|
1021
1021
|
--lumo-base-color: #fff;
|
|
@@ -1101,8 +1101,8 @@ const Yn = P`
|
|
|
1101
1101
|
}
|
|
1102
1102
|
}
|
|
1103
1103
|
`;
|
|
1104
|
-
ot("color-props",
|
|
1105
|
-
const
|
|
1104
|
+
ot("color-props", jn);
|
|
1105
|
+
const Vn = P`
|
|
1106
1106
|
[theme~='dark'] {
|
|
1107
1107
|
/* Base (background) */
|
|
1108
1108
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -1221,13 +1221,13 @@ const jn = P`
|
|
|
1221
1221
|
background: transparent;
|
|
1222
1222
|
}
|
|
1223
1223
|
`;
|
|
1224
|
-
L("",
|
|
1224
|
+
L("", Vn, { moduleId: "lumo-color" });
|
|
1225
1225
|
/**
|
|
1226
1226
|
* @license
|
|
1227
1227
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1228
1228
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1229
1229
|
*/
|
|
1230
|
-
const
|
|
1230
|
+
const Un = P`
|
|
1231
1231
|
:host {
|
|
1232
1232
|
/* prettier-ignore */
|
|
1233
1233
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -1247,7 +1247,7 @@ const Vn = P`
|
|
|
1247
1247
|
--lumo-line-height-s: 1.375;
|
|
1248
1248
|
--lumo-line-height-m: 1.625;
|
|
1249
1249
|
}
|
|
1250
|
-
`,
|
|
1250
|
+
`, Wn = P`
|
|
1251
1251
|
body,
|
|
1252
1252
|
:host {
|
|
1253
1253
|
font-family: var(--lumo-font-family);
|
|
@@ -1340,14 +1340,14 @@ const Vn = P`
|
|
|
1340
1340
|
border-right: 2px solid var(--lumo-contrast-30pct);
|
|
1341
1341
|
}
|
|
1342
1342
|
`;
|
|
1343
|
-
L("",
|
|
1344
|
-
ot("typography-props",
|
|
1343
|
+
L("", Wn, { moduleId: "lumo-typography" });
|
|
1344
|
+
ot("typography-props", Un);
|
|
1345
1345
|
/**
|
|
1346
1346
|
* @license
|
|
1347
1347
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1348
1348
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1349
1349
|
*/
|
|
1350
|
-
const
|
|
1350
|
+
const As = P`
|
|
1351
1351
|
:host {
|
|
1352
1352
|
top: var(--lumo-space-m);
|
|
1353
1353
|
right: var(--lumo-space-m);
|
|
@@ -1413,13 +1413,13 @@ const Ss = P`
|
|
|
1413
1413
|
}
|
|
1414
1414
|
}
|
|
1415
1415
|
`;
|
|
1416
|
-
L("",
|
|
1416
|
+
L("", As, { moduleId: "lumo-overlay" });
|
|
1417
1417
|
/**
|
|
1418
1418
|
* @license
|
|
1419
1419
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1420
1420
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1421
1421
|
*/
|
|
1422
|
-
const
|
|
1422
|
+
const Cs = P`
|
|
1423
1423
|
:host([opening]),
|
|
1424
1424
|
:host([closing]) {
|
|
1425
1425
|
animation: 0.14s lumo-overlay-dummy-animation;
|
|
@@ -1450,8 +1450,8 @@ const As = P`
|
|
|
1450
1450
|
}
|
|
1451
1451
|
}
|
|
1452
1452
|
`;
|
|
1453
|
-
L("",
|
|
1454
|
-
const
|
|
1453
|
+
L("", Cs, { moduleId: "lumo-menu-overlay-core" });
|
|
1454
|
+
const qn = P`
|
|
1455
1455
|
/* Small viewport (bottom sheet) styles */
|
|
1456
1456
|
/* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
|
|
1457
1457
|
@media (max-width: 450px), (max-height: 450px) {
|
|
@@ -1513,9 +1513,9 @@ const Wn = P`
|
|
|
1513
1513
|
transform: translateY(150%);
|
|
1514
1514
|
}
|
|
1515
1515
|
}
|
|
1516
|
-
`,
|
|
1517
|
-
L("",
|
|
1518
|
-
const
|
|
1516
|
+
`, Ps = [As, Cs, qn];
|
|
1517
|
+
L("", Ps, { moduleId: "lumo-menu-overlay" });
|
|
1518
|
+
const Kn = P`
|
|
1519
1519
|
[part='overlay'] {
|
|
1520
1520
|
/*
|
|
1521
1521
|
Width:
|
|
@@ -1561,10 +1561,10 @@ const qn = P`
|
|
|
1561
1561
|
}
|
|
1562
1562
|
}
|
|
1563
1563
|
`;
|
|
1564
|
-
L("vaadin-date-picker-overlay", [
|
|
1564
|
+
L("vaadin-date-picker-overlay", [Ps, Kn], {
|
|
1565
1565
|
moduleId: "lumo-date-picker-overlay"
|
|
1566
1566
|
});
|
|
1567
|
-
const
|
|
1567
|
+
const Gn = P`
|
|
1568
1568
|
:host {
|
|
1569
1569
|
/* Sizing */
|
|
1570
1570
|
--lumo-button-size: var(--lumo-size-m);
|
|
@@ -1841,7 +1841,7 @@ const Kn = P`
|
|
|
1841
1841
|
margin-right: 0;
|
|
1842
1842
|
}
|
|
1843
1843
|
`;
|
|
1844
|
-
L("vaadin-button",
|
|
1844
|
+
L("vaadin-button", Gn, { moduleId: "lumo-button" });
|
|
1845
1845
|
L(
|
|
1846
1846
|
"vaadin-date-picker-year",
|
|
1847
1847
|
P`
|
|
@@ -2366,7 +2366,7 @@ L(
|
|
|
2366
2366
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2367
2367
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2368
2368
|
*/
|
|
2369
|
-
const
|
|
2369
|
+
const Jn = P`
|
|
2370
2370
|
@font-face {
|
|
2371
2371
|
font-family: 'lumo-icons';
|
|
2372
2372
|
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==)
|
|
@@ -2420,13 +2420,13 @@ const Gn = P`
|
|
|
2420
2420
|
--lumo-icons-user: '\\ea2a';
|
|
2421
2421
|
}
|
|
2422
2422
|
`;
|
|
2423
|
-
ot("font-icons",
|
|
2423
|
+
ot("font-icons", Jn);
|
|
2424
2424
|
/**
|
|
2425
2425
|
* @license
|
|
2426
2426
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2427
2427
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2428
2428
|
*/
|
|
2429
|
-
const
|
|
2429
|
+
const ks = P`
|
|
2430
2430
|
[part$='button'] {
|
|
2431
2431
|
flex: none;
|
|
2432
2432
|
width: 1em;
|
|
@@ -2454,13 +2454,13 @@ const Ps = P`
|
|
|
2454
2454
|
display: block;
|
|
2455
2455
|
}
|
|
2456
2456
|
`;
|
|
2457
|
-
L("",
|
|
2457
|
+
L("", ks, { moduleId: "lumo-field-button" });
|
|
2458
2458
|
/**
|
|
2459
2459
|
* @license
|
|
2460
2460
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2461
2461
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2462
2462
|
*/
|
|
2463
|
-
const
|
|
2463
|
+
const Xn = P`
|
|
2464
2464
|
:host {
|
|
2465
2465
|
--_helper-spacing: var(--vaadin-input-field-helper-spacing, 0.4em);
|
|
2466
2466
|
}
|
|
@@ -2522,7 +2522,7 @@ const Jn = P`
|
|
|
2522
2522
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2523
2523
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2524
2524
|
*/
|
|
2525
|
-
const
|
|
2525
|
+
const Ds = P`
|
|
2526
2526
|
[part='label'] {
|
|
2527
2527
|
align-self: flex-start;
|
|
2528
2528
|
color: var(--vaadin-input-field-label-color, var(--lumo-secondary-text-color));
|
|
@@ -2635,13 +2635,13 @@ const ks = P`
|
|
|
2635
2635
|
margin-right: calc(var(--lumo-border-radius-m) / 4);
|
|
2636
2636
|
}
|
|
2637
2637
|
`;
|
|
2638
|
-
L("",
|
|
2638
|
+
L("", Ds, { moduleId: "lumo-required-field" });
|
|
2639
2639
|
/**
|
|
2640
2640
|
* @license
|
|
2641
2641
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2642
2642
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2643
2643
|
*/
|
|
2644
|
-
const
|
|
2644
|
+
const Zn = P`
|
|
2645
2645
|
:host {
|
|
2646
2646
|
--lumo-text-field-size: var(--lumo-size-m);
|
|
2647
2647
|
color: var(--vaadin-input-field-value-color, var(--lumo-body-text-color));
|
|
@@ -2772,11 +2772,11 @@ const Xn = P`
|
|
|
2772
2772
|
[part='clear-button']::before {
|
|
2773
2773
|
content: var(--lumo-icons-cross);
|
|
2774
2774
|
}
|
|
2775
|
-
`,
|
|
2776
|
-
L("",
|
|
2775
|
+
`, Ts = [Ds, ks, Xn, Zn];
|
|
2776
|
+
L("", Ts, {
|
|
2777
2777
|
moduleId: "lumo-input-field-shared-styles"
|
|
2778
2778
|
});
|
|
2779
|
-
const
|
|
2779
|
+
const Qn = P`
|
|
2780
2780
|
[part='toggle-button']::before {
|
|
2781
2781
|
content: var(--lumo-icons-calendar);
|
|
2782
2782
|
}
|
|
@@ -2799,7 +2799,7 @@ const Zn = P`
|
|
|
2799
2799
|
--_lumo-text-field-overflow-mask-image: none;
|
|
2800
2800
|
}
|
|
2801
2801
|
`;
|
|
2802
|
-
L("vaadin-date-picker", [
|
|
2802
|
+
L("vaadin-date-picker", [Ts, Qn], { moduleId: "lumo-date-picker" });
|
|
2803
2803
|
/**
|
|
2804
2804
|
@license
|
|
2805
2805
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -2821,9 +2821,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2821
2821
|
Code distributed by Google as part of the polymer project is also
|
|
2822
2822
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2823
2823
|
*/
|
|
2824
|
-
let
|
|
2824
|
+
let ea = /(url\()([^)]*)(\))/g, ta = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, Dt, ue;
|
|
2825
2825
|
function mt(o, t) {
|
|
2826
|
-
if (o &&
|
|
2826
|
+
if (o && ta.test(o) || o === "//")
|
|
2827
2827
|
return o;
|
|
2828
2828
|
if (Dt === void 0) {
|
|
2829
2829
|
Dt = !1;
|
|
@@ -2842,7 +2842,7 @@ function mt(o, t) {
|
|
|
2842
2842
|
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;
|
|
2843
2843
|
}
|
|
2844
2844
|
function Wi(o, t) {
|
|
2845
|
-
return o.replace(
|
|
2845
|
+
return o.replace(ea, function(e, i, s, r) {
|
|
2846
2846
|
return i + "'" + mt(s.replace(/["']/g, ""), t) + "'" + r;
|
|
2847
2847
|
});
|
|
2848
2848
|
}
|
|
@@ -2858,9 +2858,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2858
2858
|
Code distributed by Google as part of the polymer project is also
|
|
2859
2859
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2860
2860
|
*/
|
|
2861
|
-
const
|
|
2861
|
+
const Ms = !window.ShadyDOM || !window.ShadyDOM.inUse;
|
|
2862
2862
|
!window.ShadyCSS || window.ShadyCSS.nativeCss;
|
|
2863
|
-
const
|
|
2863
|
+
const ia = Ms && "adoptedStyleSheets" in Document.prototype && "replaceSync" in CSSStyleSheet.prototype && // Since spec may change, feature detect exact API we need
|
|
2864
2864
|
(() => {
|
|
2865
2865
|
try {
|
|
2866
2866
|
const o = new CSSStyleSheet();
|
|
@@ -2871,11 +2871,11 @@ const ta = Ts && "adoptedStyleSheets" in Document.prototype && "replaceSync" in
|
|
|
2871
2871
|
return !1;
|
|
2872
2872
|
}
|
|
2873
2873
|
})();
|
|
2874
|
-
let
|
|
2874
|
+
let oa = window.Polymer && window.Polymer.rootPath || qi(document.baseURI || window.location.href), Bt = window.Polymer && window.Polymer.sanitizeDOMValue || void 0;
|
|
2875
2875
|
window.Polymer && window.Polymer.setPassiveTouchGestures;
|
|
2876
|
-
let Ht = window.Polymer && window.Polymer.strictTemplatePolicy || !1,
|
|
2876
|
+
let Ht = window.Polymer && window.Polymer.strictTemplatePolicy || !1, sa = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, Os = window.Polymer && window.Polymer.legacyOptimizations || !1, Is = window.Polymer && window.Polymer.legacyWarnings || !1, ra = window.Polymer && window.Polymer.syncInitialRender || !1, xi = window.Polymer && window.Polymer.legacyUndefined || !1, na = window.Polymer && window.Polymer.orderedComputed || !1, Co = window.Polymer && window.Polymer.removeNestedTemplates || !1, aa = window.Polymer && window.Polymer.fastDomIf || !1, Po = window.Polymer && window.Polymer.suppressTemplateNotifications || !1;
|
|
2877
2877
|
window.Polymer && window.Polymer.legacyNoObservedAttributes;
|
|
2878
|
-
let
|
|
2878
|
+
let la = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
|
|
2879
2879
|
/**
|
|
2880
2880
|
@license
|
|
2881
2881
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -2885,14 +2885,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2885
2885
|
Code distributed by Google as part of the polymer project is also
|
|
2886
2886
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2887
2887
|
*/
|
|
2888
|
-
let
|
|
2888
|
+
let ca = 0;
|
|
2889
2889
|
const q = function(o) {
|
|
2890
2890
|
let t = (
|
|
2891
2891
|
/** @type {!MixinFunction} */
|
|
2892
2892
|
o.__mixinApplications
|
|
2893
2893
|
);
|
|
2894
2894
|
t || (t = /* @__PURE__ */ new WeakMap(), o.__mixinApplications = t);
|
|
2895
|
-
let e =
|
|
2895
|
+
let e = ca++;
|
|
2896
2896
|
function i(s) {
|
|
2897
2897
|
let r = (
|
|
2898
2898
|
/** @type {!MixinFunction} */
|
|
@@ -2923,14 +2923,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2923
2923
|
Code distributed by Google as part of the polymer project is also
|
|
2924
2924
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2925
2925
|
*/
|
|
2926
|
-
let Ki = {},
|
|
2927
|
-
function
|
|
2928
|
-
Ki[o] =
|
|
2926
|
+
let Ki = {}, Fs = {};
|
|
2927
|
+
function ko(o, t) {
|
|
2928
|
+
Ki[o] = Fs[o.toLowerCase()] = t;
|
|
2929
2929
|
}
|
|
2930
|
-
function
|
|
2931
|
-
return Ki[o] ||
|
|
2930
|
+
function Do(o) {
|
|
2931
|
+
return Ki[o] || Fs[o.toLowerCase()];
|
|
2932
2932
|
}
|
|
2933
|
-
function
|
|
2933
|
+
function ua(o) {
|
|
2934
2934
|
o.querySelector("style") && console.warn("dom-module %s has style outside template", o.id);
|
|
2935
2935
|
}
|
|
2936
2936
|
class vt extends HTMLElement {
|
|
@@ -2951,7 +2951,7 @@ class vt extends HTMLElement {
|
|
|
2951
2951
|
*/
|
|
2952
2952
|
static import(t, e) {
|
|
2953
2953
|
if (t) {
|
|
2954
|
-
let i =
|
|
2954
|
+
let i = Do(t);
|
|
2955
2955
|
return i && e ? i.querySelector(e) : i;
|
|
2956
2956
|
}
|
|
2957
2957
|
return null;
|
|
@@ -2999,9 +2999,9 @@ class vt extends HTMLElement {
|
|
|
2999
2999
|
*/
|
|
3000
3000
|
register(t) {
|
|
3001
3001
|
if (t = t || this.id, t) {
|
|
3002
|
-
if (Ht &&
|
|
3003
|
-
throw
|
|
3004
|
-
this.id = t,
|
|
3002
|
+
if (Ht && Do(t) !== void 0)
|
|
3003
|
+
throw ko(t, null), new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);
|
|
3004
|
+
this.id = t, ko(t, this), ua(this);
|
|
3005
3005
|
}
|
|
3006
3006
|
}
|
|
3007
3007
|
}
|
|
@@ -3016,14 +3016,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3016
3016
|
Code distributed by Google as part of the polymer project is also
|
|
3017
3017
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3018
3018
|
*/
|
|
3019
|
-
const
|
|
3020
|
-
function
|
|
3019
|
+
const da = "link[rel=import][type~=css]", ha = "include", To = "shady-unscoped";
|
|
3020
|
+
function Ns(o) {
|
|
3021
3021
|
return (
|
|
3022
3022
|
/** @type {?DomModule} */
|
|
3023
3023
|
vt.import(o)
|
|
3024
3024
|
);
|
|
3025
3025
|
}
|
|
3026
|
-
function
|
|
3026
|
+
function Mo(o) {
|
|
3027
3027
|
let t = o.body ? o.body : o;
|
|
3028
3028
|
const e = Wi(
|
|
3029
3029
|
t.textContent,
|
|
@@ -3031,24 +3031,24 @@ function To(o) {
|
|
|
3031
3031
|
), i = document.createElement("style");
|
|
3032
3032
|
return i.textContent = e, i;
|
|
3033
3033
|
}
|
|
3034
|
-
function
|
|
3034
|
+
function pa(o) {
|
|
3035
3035
|
const t = o.trim().split(/\s+/), e = [];
|
|
3036
3036
|
for (let i = 0; i < t.length; i++)
|
|
3037
|
-
e.push(...
|
|
3037
|
+
e.push(...fa(t[i]));
|
|
3038
3038
|
return e;
|
|
3039
3039
|
}
|
|
3040
|
-
function
|
|
3041
|
-
const t =
|
|
3040
|
+
function fa(o) {
|
|
3041
|
+
const t = Ns(o);
|
|
3042
3042
|
if (!t)
|
|
3043
3043
|
return console.warn("Could not find style data in module named", o), [];
|
|
3044
3044
|
if (t._styles === void 0) {
|
|
3045
3045
|
const e = [];
|
|
3046
|
-
e.push(...
|
|
3046
|
+
e.push(...Ls(t));
|
|
3047
3047
|
const i = (
|
|
3048
3048
|
/** @type {?HTMLTemplateElement} */
|
|
3049
3049
|
t.querySelector("template")
|
|
3050
3050
|
);
|
|
3051
|
-
i && e.push(...
|
|
3051
|
+
i && e.push(...zs(
|
|
3052
3052
|
i,
|
|
3053
3053
|
/** @type {templateWithAssetPath} */
|
|
3054
3054
|
t.assetpath
|
|
@@ -3056,12 +3056,12 @@ function pa(o) {
|
|
|
3056
3056
|
}
|
|
3057
3057
|
return t._styles;
|
|
3058
3058
|
}
|
|
3059
|
-
function
|
|
3059
|
+
function zs(o, t) {
|
|
3060
3060
|
if (!o._styles) {
|
|
3061
3061
|
const e = [], i = o.content.querySelectorAll("style");
|
|
3062
3062
|
for (let s = 0; s < i.length; s++) {
|
|
3063
|
-
let r = i[s], n = r.getAttribute(
|
|
3064
|
-
n && e.push(...
|
|
3063
|
+
let r = i[s], n = r.getAttribute(ha);
|
|
3064
|
+
n && e.push(...pa(n).filter(function(a, l, c) {
|
|
3065
3065
|
return c.indexOf(a) === l;
|
|
3066
3066
|
})), t && (r.textContent = Wi(
|
|
3067
3067
|
r.textContent,
|
|
@@ -3073,21 +3073,21 @@ function Ns(o, t) {
|
|
|
3073
3073
|
}
|
|
3074
3074
|
return o._styles;
|
|
3075
3075
|
}
|
|
3076
|
-
function
|
|
3077
|
-
let t =
|
|
3078
|
-
return t ?
|
|
3076
|
+
function ma(o) {
|
|
3077
|
+
let t = Ns(o);
|
|
3078
|
+
return t ? Ls(t) : [];
|
|
3079
3079
|
}
|
|
3080
|
-
function
|
|
3081
|
-
const t = [], e = o.querySelectorAll(
|
|
3080
|
+
function Ls(o) {
|
|
3081
|
+
const t = [], e = o.querySelectorAll(da);
|
|
3082
3082
|
for (let i = 0; i < e.length; i++) {
|
|
3083
3083
|
let s = e[i];
|
|
3084
3084
|
if (s.import) {
|
|
3085
|
-
const r = s.import, n = s.hasAttribute(
|
|
3085
|
+
const r = s.import, n = s.hasAttribute(To);
|
|
3086
3086
|
if (n && !r._unscopedStyle) {
|
|
3087
|
-
const a =
|
|
3088
|
-
a.setAttribute(
|
|
3087
|
+
const a = Mo(r);
|
|
3088
|
+
a.setAttribute(To, ""), r._unscopedStyle = a;
|
|
3089
3089
|
} else
|
|
3090
|
-
r._style || (r._style =
|
|
3090
|
+
r._style || (r._style = Mo(r));
|
|
3091
3091
|
t.push(n ? r._unscopedStyle : r._style);
|
|
3092
3092
|
}
|
|
3093
3093
|
}
|
|
@@ -3119,7 +3119,7 @@ function je(o) {
|
|
|
3119
3119
|
let t = o.indexOf(".");
|
|
3120
3120
|
return t === -1 ? o : o.slice(0, t);
|
|
3121
3121
|
}
|
|
3122
|
-
function
|
|
3122
|
+
function Rs(o, t) {
|
|
3123
3123
|
return o.indexOf(t + ".") === 0;
|
|
3124
3124
|
}
|
|
3125
3125
|
function yt(o, t) {
|
|
@@ -3128,8 +3128,8 @@ function yt(o, t) {
|
|
|
3128
3128
|
function xt(o, t, e) {
|
|
3129
3129
|
return t + e.slice(o.length);
|
|
3130
3130
|
}
|
|
3131
|
-
function
|
|
3132
|
-
return o === t ||
|
|
3131
|
+
function _a(o, t) {
|
|
3132
|
+
return o === t || Rs(o, t) || yt(o, t);
|
|
3133
3133
|
}
|
|
3134
3134
|
function dt(o) {
|
|
3135
3135
|
if (Array.isArray(o)) {
|
|
@@ -3143,11 +3143,11 @@ function dt(o) {
|
|
|
3143
3143
|
} else
|
|
3144
3144
|
return o;
|
|
3145
3145
|
}
|
|
3146
|
-
function
|
|
3146
|
+
function Bs(o) {
|
|
3147
3147
|
return Array.isArray(o) ? dt(o).split(".") : o.toString().split(".");
|
|
3148
3148
|
}
|
|
3149
3149
|
function se(o, t, e) {
|
|
3150
|
-
let i = o, s =
|
|
3150
|
+
let i = o, s = Bs(t);
|
|
3151
3151
|
for (let r = 0; r < s.length; r++) {
|
|
3152
3152
|
if (!i)
|
|
3153
3153
|
return;
|
|
@@ -3156,8 +3156,8 @@ function se(o, t, e) {
|
|
|
3156
3156
|
}
|
|
3157
3157
|
return e && (e.path = s.join(".")), i;
|
|
3158
3158
|
}
|
|
3159
|
-
function
|
|
3160
|
-
let i = o, s =
|
|
3159
|
+
function Oo(o, t, e) {
|
|
3160
|
+
let i = o, s = Bs(t), r = s[s.length - 1];
|
|
3161
3161
|
if (s.length > 1) {
|
|
3162
3162
|
for (let n = 0; n < s.length - 1; n++) {
|
|
3163
3163
|
let a = s[n];
|
|
@@ -3178,15 +3178,15 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3178
3178
|
Code distributed by Google as part of the polymer project is also
|
|
3179
3179
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3180
3180
|
*/
|
|
3181
|
-
const $t = {},
|
|
3182
|
-
function
|
|
3181
|
+
const $t = {}, ga = /-[a-z]/g, ba = /([A-Z])/g;
|
|
3182
|
+
function Hs(o) {
|
|
3183
3183
|
return $t[o] || ($t[o] = o.indexOf("-") < 0 ? o : o.replace(
|
|
3184
|
-
|
|
3184
|
+
ga,
|
|
3185
3185
|
(t) => t[1].toUpperCase()
|
|
3186
3186
|
));
|
|
3187
3187
|
}
|
|
3188
3188
|
function Wt(o) {
|
|
3189
|
-
return $t[o] || ($t[o] = o.replace(
|
|
3189
|
+
return $t[o] || ($t[o] = o.replace(ba, "-$1").toLowerCase());
|
|
3190
3190
|
}
|
|
3191
3191
|
/**
|
|
3192
3192
|
@license
|
|
@@ -3197,9 +3197,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3197
3197
|
Code distributed by Google as part of the polymer project is also
|
|
3198
3198
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3199
3199
|
*/
|
|
3200
|
-
let
|
|
3201
|
-
new window.MutationObserver(
|
|
3202
|
-
function
|
|
3200
|
+
let va = 0, $s = 0, Je = [], ya = 0, Ei = !1, Ys = document.createTextNode("");
|
|
3201
|
+
new window.MutationObserver(xa).observe(Ys, { characterData: !0 });
|
|
3202
|
+
function xa() {
|
|
3203
3203
|
Ei = !1;
|
|
3204
3204
|
const o = Je.length;
|
|
3205
3205
|
for (let t = 0; t < o; t++) {
|
|
@@ -3213,9 +3213,9 @@ function ya() {
|
|
|
3213
3213
|
});
|
|
3214
3214
|
}
|
|
3215
3215
|
}
|
|
3216
|
-
Je.splice(0, o),
|
|
3216
|
+
Je.splice(0, o), $s += o;
|
|
3217
3217
|
}
|
|
3218
|
-
const
|
|
3218
|
+
const wa = {
|
|
3219
3219
|
/**
|
|
3220
3220
|
* Returns a sub-module with the async interface providing the provided
|
|
3221
3221
|
* delay.
|
|
@@ -3255,7 +3255,7 @@ const xa = {
|
|
|
3255
3255
|
cancel(o) {
|
|
3256
3256
|
window.clearTimeout(o);
|
|
3257
3257
|
}
|
|
3258
|
-
},
|
|
3258
|
+
}, js = {
|
|
3259
3259
|
/**
|
|
3260
3260
|
* Enqueues a function called at microtask timing.
|
|
3261
3261
|
*
|
|
@@ -3264,7 +3264,7 @@ const xa = {
|
|
|
3264
3264
|
* @return {number} Handle used for canceling task
|
|
3265
3265
|
*/
|
|
3266
3266
|
run(o) {
|
|
3267
|
-
return Ei || (Ei = !0,
|
|
3267
|
+
return Ei || (Ei = !0, Ys.textContent = ya++), Je.push(o), va++;
|
|
3268
3268
|
},
|
|
3269
3269
|
/**
|
|
3270
3270
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -3274,7 +3274,7 @@ const xa = {
|
|
|
3274
3274
|
* @return {void}
|
|
3275
3275
|
*/
|
|
3276
3276
|
cancel(o) {
|
|
3277
|
-
const t = o -
|
|
3277
|
+
const t = o - $s;
|
|
3278
3278
|
if (t >= 0) {
|
|
3279
3279
|
if (!Je[t])
|
|
3280
3280
|
throw new Error("invalid async handle: " + o);
|
|
@@ -3291,7 +3291,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3291
3291
|
Code distributed by Google as part of the polymer project is also
|
|
3292
3292
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3293
3293
|
*/
|
|
3294
|
-
const
|
|
3294
|
+
const Ea = js, Vs = q(
|
|
3295
3295
|
/**
|
|
3296
3296
|
* @template T
|
|
3297
3297
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -3500,7 +3500,7 @@ const wa = Ys, js = q(
|
|
|
3500
3500
|
* @override
|
|
3501
3501
|
*/
|
|
3502
3502
|
_invalidateProperties() {
|
|
3503
|
-
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0,
|
|
3503
|
+
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0, Ea.run(() => {
|
|
3504
3504
|
this.__dataInvalid && (this.__dataInvalid = !1, this._flushProperties());
|
|
3505
3505
|
}));
|
|
3506
3506
|
}
|
|
@@ -3727,23 +3727,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3727
3727
|
Code distributed by Google as part of the polymer project is also
|
|
3728
3728
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3729
3729
|
*/
|
|
3730
|
-
const
|
|
3730
|
+
const Us = {};
|
|
3731
3731
|
let Tt = HTMLElement.prototype;
|
|
3732
3732
|
for (; Tt; ) {
|
|
3733
3733
|
let o = Object.getOwnPropertyNames(Tt);
|
|
3734
3734
|
for (let t = 0; t < o.length; t++)
|
|
3735
|
-
|
|
3735
|
+
Us[o[t]] = !0;
|
|
3736
3736
|
Tt = Object.getPrototypeOf(Tt);
|
|
3737
3737
|
}
|
|
3738
|
-
const
|
|
3739
|
-
function
|
|
3740
|
-
if (!
|
|
3738
|
+
const Sa = window.trustedTypes ? (o) => trustedTypes.isHTML(o) || trustedTypes.isScript(o) || trustedTypes.isScriptURL(o) : () => !1;
|
|
3739
|
+
function Aa(o, t) {
|
|
3740
|
+
if (!Us[t]) {
|
|
3741
3741
|
let e = o[t];
|
|
3742
3742
|
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));
|
|
3743
3743
|
}
|
|
3744
3744
|
}
|
|
3745
|
-
const
|
|
3746
|
-
const t =
|
|
3745
|
+
const Ca = q((o) => {
|
|
3746
|
+
const t = Vs(o);
|
|
3747
3747
|
class e extends t {
|
|
3748
3748
|
/**
|
|
3749
3749
|
* Generates property accessors for all attributes in the standard
|
|
@@ -3761,7 +3761,7 @@ const Aa = q((o) => {
|
|
|
3761
3761
|
this.observedAttributes
|
|
3762
3762
|
);
|
|
3763
3763
|
for (let r = 0; r < s.length; r++)
|
|
3764
|
-
this.prototype._createPropertyAccessor(
|
|
3764
|
+
this.prototype._createPropertyAccessor(Hs(s[r]));
|
|
3765
3765
|
}
|
|
3766
3766
|
/**
|
|
3767
3767
|
* Returns an attribute name that corresponds to the given property.
|
|
@@ -3838,7 +3838,7 @@ const Aa = q((o) => {
|
|
|
3838
3838
|
if (s instanceof Date)
|
|
3839
3839
|
return s.toString();
|
|
3840
3840
|
if (s) {
|
|
3841
|
-
if (
|
|
3841
|
+
if (Sa(s))
|
|
3842
3842
|
return (
|
|
3843
3843
|
/** @type {?} */
|
|
3844
3844
|
s
|
|
@@ -3919,7 +3919,7 @@ const Aa = q((o) => {
|
|
|
3919
3919
|
* @override
|
|
3920
3920
|
*/
|
|
3921
3921
|
_definePropertyAccessor(s, r) {
|
|
3922
|
-
|
|
3922
|
+
Aa(this, s), super._definePropertyAccessor(s, r);
|
|
3923
3923
|
}
|
|
3924
3924
|
/**
|
|
3925
3925
|
* Returns true if this library created an accessor for the given property.
|
|
@@ -3954,23 +3954,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3954
3954
|
Code distributed by Google as part of the polymer project is also
|
|
3955
3955
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3956
3956
|
*/
|
|
3957
|
-
const
|
|
3957
|
+
const Pa = {
|
|
3958
3958
|
"dom-if": !0,
|
|
3959
3959
|
"dom-repeat": !0
|
|
3960
3960
|
};
|
|
3961
|
-
let
|
|
3962
|
-
function
|
|
3963
|
-
if (!
|
|
3964
|
-
|
|
3961
|
+
let Io = !1, Fo = !1;
|
|
3962
|
+
function ka() {
|
|
3963
|
+
if (!Io) {
|
|
3964
|
+
Io = !0;
|
|
3965
3965
|
const o = document.createElement("textarea");
|
|
3966
|
-
o.placeholder = "a",
|
|
3966
|
+
o.placeholder = "a", Fo = o.placeholder === o.textContent;
|
|
3967
3967
|
}
|
|
3968
|
-
return
|
|
3968
|
+
return Fo;
|
|
3969
3969
|
}
|
|
3970
|
-
function
|
|
3971
|
-
|
|
3970
|
+
function Da(o) {
|
|
3971
|
+
ka() && o.localName === "textarea" && o.placeholder && o.placeholder === o.textContent && (o.textContent = null);
|
|
3972
3972
|
}
|
|
3973
|
-
const
|
|
3973
|
+
const Ta = (() => {
|
|
3974
3974
|
const o = window.trustedTypes && window.trustedTypes.createPolicy(
|
|
3975
3975
|
"polymer-template-event-attribute-policy",
|
|
3976
3976
|
{
|
|
@@ -3989,19 +3989,19 @@ const Da = (() => {
|
|
|
3989
3989
|
t.setAttribute(i, s);
|
|
3990
3990
|
};
|
|
3991
3991
|
})();
|
|
3992
|
-
function
|
|
3992
|
+
function Ma(o) {
|
|
3993
3993
|
let t = o.getAttribute("is");
|
|
3994
|
-
if (t &&
|
|
3994
|
+
if (t && Pa[t]) {
|
|
3995
3995
|
let e = o;
|
|
3996
3996
|
for (e.removeAttribute("is"), o = e.ownerDocument.createElement(t), e.parentNode.replaceChild(o, e), o.appendChild(e); e.attributes.length; ) {
|
|
3997
3997
|
const { name: i } = e.attributes[0];
|
|
3998
|
-
|
|
3998
|
+
Ta(o, e, i), e.removeAttribute(i);
|
|
3999
3999
|
}
|
|
4000
4000
|
}
|
|
4001
4001
|
return o;
|
|
4002
4002
|
}
|
|
4003
|
-
function
|
|
4004
|
-
let e = t.parentInfo &&
|
|
4003
|
+
function Ws(o, t) {
|
|
4004
|
+
let e = t.parentInfo && Ws(o, t.parentInfo);
|
|
4005
4005
|
if (e) {
|
|
4006
4006
|
for (let i = e.firstChild, s = 0; i; i = i.nextSibling)
|
|
4007
4007
|
if (t.parentIndex === s++)
|
|
@@ -4009,23 +4009,23 @@ function Us(o, t) {
|
|
|
4009
4009
|
} else
|
|
4010
4010
|
return o;
|
|
4011
4011
|
}
|
|
4012
|
-
function
|
|
4012
|
+
function Oa(o, t, e, i) {
|
|
4013
4013
|
i.id && (t[i.id] = e);
|
|
4014
4014
|
}
|
|
4015
|
-
function
|
|
4015
|
+
function Ia(o, t, e) {
|
|
4016
4016
|
if (e.events && e.events.length)
|
|
4017
4017
|
for (let i = 0, s = e.events, r; i < s.length && (r = s[i]); i++)
|
|
4018
4018
|
o._addMethodEventListenerToNode(t, r.name, r.value, o);
|
|
4019
4019
|
}
|
|
4020
|
-
function
|
|
4020
|
+
function Fa(o, t, e, i) {
|
|
4021
4021
|
e.templateInfo && (t._templateInfo = e.templateInfo, t._parentTemplateInfo = i);
|
|
4022
4022
|
}
|
|
4023
|
-
function
|
|
4023
|
+
function Na(o, t, e) {
|
|
4024
4024
|
return o = o._methodHost || o, function(s) {
|
|
4025
4025
|
o[e] ? o[e](s, s.detail) : console.warn("listener method `" + e + "` not defined");
|
|
4026
4026
|
};
|
|
4027
4027
|
}
|
|
4028
|
-
const
|
|
4028
|
+
const za = q(
|
|
4029
4029
|
/**
|
|
4030
4030
|
* @template T
|
|
4031
4031
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -4152,7 +4152,7 @@ const Na = q(
|
|
|
4152
4152
|
/** @type {!HTMLTemplateElement} */
|
|
4153
4153
|
i
|
|
4154
4154
|
);
|
|
4155
|
-
return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, s, r) || n : a.localName === "slot" && (s.hasInsertionPoint = !0),
|
|
4155
|
+
return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, s, r) || n : a.localName === "slot" && (s.hasInsertionPoint = !0), Da(a), a.firstChild && this._parseTemplateChildNodes(a, s, r), a.hasAttributes && a.hasAttributes() && (n = this._parseTemplateNodeAttributes(a, s, r) || n), n || r.noted;
|
|
4156
4156
|
}
|
|
4157
4157
|
/**
|
|
4158
4158
|
* Parses template child nodes for the given root node.
|
|
@@ -4170,7 +4170,7 @@ const Na = q(
|
|
|
4170
4170
|
static _parseTemplateChildNodes(i, s, r) {
|
|
4171
4171
|
if (!(i.localName === "script" || i.localName === "style"))
|
|
4172
4172
|
for (let n = i.firstChild, a = 0, l; n; n = l) {
|
|
4173
|
-
if (n.localName == "template" && (n =
|
|
4173
|
+
if (n.localName == "template" && (n = Ma(n)), l = n.nextSibling, n.nodeType === Node.TEXT_NODE) {
|
|
4174
4174
|
let u = l;
|
|
4175
4175
|
for (; u && u.nodeType === Node.TEXT_NODE; )
|
|
4176
4176
|
n.textContent += u.textContent, l = u.nextSibling, i.removeChild(u), u = l;
|
|
@@ -4305,8 +4305,8 @@ const Na = q(
|
|
|
4305
4305
|
let l = a.nodeList = new Array(r.length);
|
|
4306
4306
|
a.$ = {};
|
|
4307
4307
|
for (let c = 0, u = r.length, d; c < u && (d = r[c]); c++) {
|
|
4308
|
-
let h = l[c] =
|
|
4309
|
-
|
|
4308
|
+
let h = l[c] = Ws(a, d);
|
|
4309
|
+
Oa(this, a.$, h, d), Fa(this, h, d, s), Ia(this, h, d);
|
|
4310
4310
|
}
|
|
4311
4311
|
return a = /** @type {!StampedTemplate} */
|
|
4312
4312
|
a, a;
|
|
@@ -4327,7 +4327,7 @@ const Na = q(
|
|
|
4327
4327
|
*/
|
|
4328
4328
|
_addMethodEventListenerToNode(i, s, r, n) {
|
|
4329
4329
|
n = n || i;
|
|
4330
|
-
let a =
|
|
4330
|
+
let a = Na(n, s, r);
|
|
4331
4331
|
return this._addEventListenerToNode(i, s, a), a;
|
|
4332
4332
|
}
|
|
4333
4333
|
/**
|
|
@@ -4377,7 +4377,7 @@ const Et = [], k = {
|
|
|
4377
4377
|
PROPAGATE: "__propagateEffects",
|
|
4378
4378
|
OBSERVE: "__observeEffects",
|
|
4379
4379
|
READ_ONLY: "__readOnly"
|
|
4380
|
-
},
|
|
4380
|
+
}, qs = "__computeInfo", La = /[A-Z]/;
|
|
4381
4381
|
function oi(o, t, e) {
|
|
4382
4382
|
let i = o[t];
|
|
4383
4383
|
if (!i)
|
|
@@ -4404,7 +4404,7 @@ function ht(o, t, e, i, s, r) {
|
|
|
4404
4404
|
}
|
|
4405
4405
|
return !1;
|
|
4406
4406
|
}
|
|
4407
|
-
function
|
|
4407
|
+
function Ra(o, t, e, i, s, r, n, a) {
|
|
4408
4408
|
let l = !1, c = n ? je(i) : i, u = t[c];
|
|
4409
4409
|
if (u)
|
|
4410
4410
|
for (let d = 0, h = u.length, m; d < h && (m = u[d]); d++)
|
|
@@ -4417,30 +4417,30 @@ function Gi(o, t) {
|
|
|
4417
4417
|
/** @type {string} */
|
|
4418
4418
|
t.name
|
|
4419
4419
|
);
|
|
4420
|
-
return e == o || !!(t.structured &&
|
|
4420
|
+
return e == o || !!(t.structured && Rs(e, o)) || !!(t.wildcard && yt(e, o));
|
|
4421
4421
|
} else
|
|
4422
4422
|
return !0;
|
|
4423
4423
|
}
|
|
4424
|
-
function
|
|
4424
|
+
function No(o, t, e, i, s) {
|
|
4425
4425
|
let r = typeof s.method == "string" ? o[s.method] : s.method, n = s.property;
|
|
4426
4426
|
r ? r.call(o, o.__data[n], i[n]) : s.dynamicFn || console.warn("observer method `" + s.method + "` not defined");
|
|
4427
4427
|
}
|
|
4428
|
-
function
|
|
4428
|
+
function Ba(o, t, e, i, s) {
|
|
4429
4429
|
let r = o[k.NOTIFY], n, a = wt++;
|
|
4430
4430
|
for (let c in t)
|
|
4431
|
-
t[c] && (r &&
|
|
4431
|
+
t[c] && (r && Ra(o, r, a, c, e, i, s) || s && Ha(o, c, e)) && (n = !0);
|
|
4432
4432
|
let l;
|
|
4433
4433
|
n && (l = o.__dataHost) && l._invalidateProperties && l._invalidateProperties();
|
|
4434
4434
|
}
|
|
4435
|
-
function
|
|
4435
|
+
function Ha(o, t, e) {
|
|
4436
4436
|
let i = je(t);
|
|
4437
4437
|
if (i !== t) {
|
|
4438
4438
|
let s = Wt(i) + "-changed";
|
|
4439
|
-
return
|
|
4439
|
+
return Ks(o, s, e[t], t), !0;
|
|
4440
4440
|
}
|
|
4441
4441
|
return !1;
|
|
4442
4442
|
}
|
|
4443
|
-
function
|
|
4443
|
+
function Ks(o, t, e, i) {
|
|
4444
4444
|
let s = {
|
|
4445
4445
|
value: e,
|
|
4446
4446
|
queueProperty: !0
|
|
@@ -4450,18 +4450,18 @@ function qs(o, t, e, i) {
|
|
|
4450
4450
|
o
|
|
4451
4451
|
).dispatchEvent(new CustomEvent(t, { detail: s }));
|
|
4452
4452
|
}
|
|
4453
|
-
function
|
|
4453
|
+
function $a(o, t, e, i, s, r) {
|
|
4454
4454
|
let a = (r ? je(t) : t) != t ? t : null, l = a ? se(o, a) : o.__data[t];
|
|
4455
|
-
a && l === void 0 && (l = e[t]),
|
|
4455
|
+
a && l === void 0 && (l = e[t]), Ks(o, s.eventName, l, a);
|
|
4456
4456
|
}
|
|
4457
|
-
function
|
|
4457
|
+
function Ya(o, t, e, i, s) {
|
|
4458
4458
|
let r, n = (
|
|
4459
4459
|
/** @type {Object} */
|
|
4460
4460
|
o.detail
|
|
4461
4461
|
), a = n && n.path;
|
|
4462
4462
|
a ? (i = xt(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();
|
|
4463
4463
|
}
|
|
4464
|
-
function
|
|
4464
|
+
function ja(o, t, e, i, s) {
|
|
4465
4465
|
let r = o.__data[t];
|
|
4466
4466
|
Bt && (r = Bt(
|
|
4467
4467
|
r,
|
|
@@ -4471,17 +4471,17 @@ function Ya(o, t, e, i, s) {
|
|
|
4471
4471
|
o
|
|
4472
4472
|
)), o._propertyToAttribute(t, s.attrName, r);
|
|
4473
4473
|
}
|
|
4474
|
-
function
|
|
4474
|
+
function Va(o, t, e, i) {
|
|
4475
4475
|
let s = o[k.COMPUTE];
|
|
4476
4476
|
if (s)
|
|
4477
|
-
if (
|
|
4477
|
+
if (na) {
|
|
4478
4478
|
wt++;
|
|
4479
|
-
const r =
|
|
4479
|
+
const r = Wa(o), n = [];
|
|
4480
4480
|
for (let l in t)
|
|
4481
|
-
|
|
4481
|
+
zo(l, s, n, r, i);
|
|
4482
4482
|
let a;
|
|
4483
4483
|
for (; a = n.shift(); )
|
|
4484
|
-
|
|
4484
|
+
Gs(o, "", t, e, a) && zo(a.methodInfo, s, n, r, i);
|
|
4485
4485
|
Object.assign(
|
|
4486
4486
|
/** @type {!Object} */
|
|
4487
4487
|
e,
|
|
@@ -4505,7 +4505,7 @@ function ja(o, t, e, i) {
|
|
|
4505
4505
|
), r = o.__dataPending, o.__dataPending = null;
|
|
4506
4506
|
}
|
|
4507
4507
|
}
|
|
4508
|
-
const
|
|
4508
|
+
const Ua = (o, t, e) => {
|
|
4509
4509
|
let i = 0, s = t.length - 1, r = -1;
|
|
4510
4510
|
for (; i <= s; ) {
|
|
4511
4511
|
const n = i + s >> 1, a = e.get(t[n].methodInfo) - e.get(o.methodInfo);
|
|
@@ -4519,20 +4519,20 @@ const Va = (o, t, e) => {
|
|
|
4519
4519
|
}
|
|
4520
4520
|
}
|
|
4521
4521
|
r < 0 && (r = s + 1), t.splice(r, 0, o);
|
|
4522
|
-
},
|
|
4522
|
+
}, zo = (o, t, e, i, s) => {
|
|
4523
4523
|
const r = s ? je(o) : o, n = t[r];
|
|
4524
4524
|
if (n)
|
|
4525
4525
|
for (let a = 0; a < n.length; a++) {
|
|
4526
4526
|
const l = n[a];
|
|
4527
|
-
l.info.lastRun !== wt && (!s || Gi(o, l.trigger)) && (l.info.lastRun = wt,
|
|
4527
|
+
l.info.lastRun !== wt && (!s || Gi(o, l.trigger)) && (l.info.lastRun = wt, Ua(l.info, e, i));
|
|
4528
4528
|
}
|
|
4529
4529
|
};
|
|
4530
|
-
function
|
|
4530
|
+
function Wa(o) {
|
|
4531
4531
|
let t = o.constructor.__orderedComputedDeps;
|
|
4532
4532
|
if (!t) {
|
|
4533
4533
|
t = /* @__PURE__ */ new Map();
|
|
4534
4534
|
const e = o[k.COMPUTE];
|
|
4535
|
-
let { counts: i, ready: s, total: r } =
|
|
4535
|
+
let { counts: i, ready: s, total: r } = qa(o), n;
|
|
4536
4536
|
for (; n = s.shift(); ) {
|
|
4537
4537
|
t.set(n, t.size);
|
|
4538
4538
|
const a = e[n];
|
|
@@ -4546,8 +4546,8 @@ function Ua(o) {
|
|
|
4546
4546
|
}
|
|
4547
4547
|
return t;
|
|
4548
4548
|
}
|
|
4549
|
-
function
|
|
4550
|
-
const t = o[
|
|
4549
|
+
function qa(o) {
|
|
4550
|
+
const t = o[qs], e = {}, i = o[k.COMPUTE], s = [];
|
|
4551
4551
|
let r = 0;
|
|
4552
4552
|
for (let n in t) {
|
|
4553
4553
|
const a = t[n];
|
|
@@ -4557,14 +4557,14 @@ function Wa(o) {
|
|
|
4557
4557
|
t[n] || s.push(n);
|
|
4558
4558
|
return { counts: e, ready: s, total: r };
|
|
4559
4559
|
}
|
|
4560
|
-
function
|
|
4560
|
+
function Gs(o, t, e, i, s) {
|
|
4561
4561
|
let r = Si(o, t, e, i, s);
|
|
4562
4562
|
if (r === Et)
|
|
4563
4563
|
return !1;
|
|
4564
4564
|
let n = s.methodInfo;
|
|
4565
4565
|
return o.__dataHasAccessor && o.__dataHasAccessor[n] ? o._setPendingProperty(n, r, !0) : (o[n] = r, !1);
|
|
4566
4566
|
}
|
|
4567
|
-
function
|
|
4567
|
+
function Ka(o, t, e) {
|
|
4568
4568
|
let i = o.__dataLinkedPaths;
|
|
4569
4569
|
if (i) {
|
|
4570
4570
|
let s;
|
|
@@ -4577,17 +4577,17 @@ function qa(o, t, e) {
|
|
|
4577
4577
|
function si(o, t, e, i, s, r, n) {
|
|
4578
4578
|
e.bindings = e.bindings || [];
|
|
4579
4579
|
let a = { kind: i, target: s, parts: r, literal: n, isCompound: r.length !== 1 };
|
|
4580
|
-
if (e.bindings.push(a),
|
|
4580
|
+
if (e.bindings.push(a), Qa(a)) {
|
|
4581
4581
|
let { event: c, negate: u } = a.parts[0];
|
|
4582
4582
|
a.listenerEvent = c || Wt(s) + "-changed", a.listenerNegate = u;
|
|
4583
4583
|
}
|
|
4584
4584
|
let l = t.nodeInfoList.length;
|
|
4585
4585
|
for (let c = 0; c < a.parts.length; c++) {
|
|
4586
4586
|
let u = a.parts[c];
|
|
4587
|
-
u.compoundIndex = c,
|
|
4587
|
+
u.compoundIndex = c, Ga(o, t, a, u, l);
|
|
4588
4588
|
}
|
|
4589
4589
|
}
|
|
4590
|
-
function
|
|
4590
|
+
function Ga(o, t, e, i, s) {
|
|
4591
4591
|
if (!i.literal)
|
|
4592
4592
|
if (e.kind === "attribute" && e.target[0] === "-")
|
|
4593
4593
|
console.warn("Cannot set attribute " + e.target + ' because "-" is not a valid attribute starting character');
|
|
@@ -4595,26 +4595,26 @@ function Ka(o, t, e, i, s) {
|
|
|
4595
4595
|
let r = i.dependencies, n = { index: s, binding: e, part: i, evaluator: o };
|
|
4596
4596
|
for (let a = 0; a < r.length; a++) {
|
|
4597
4597
|
let l = r[a];
|
|
4598
|
-
typeof l == "string" && (l =
|
|
4599
|
-
fn:
|
|
4598
|
+
typeof l == "string" && (l = Xs(l), l.wildcard = !0), o._addTemplatePropertyEffect(t, l.rootProperty, {
|
|
4599
|
+
fn: Ja,
|
|
4600
4600
|
info: n,
|
|
4601
4601
|
trigger: l
|
|
4602
4602
|
});
|
|
4603
4603
|
}
|
|
4604
4604
|
}
|
|
4605
4605
|
}
|
|
4606
|
-
function
|
|
4606
|
+
function Ja(o, t, e, i, s, r, n) {
|
|
4607
4607
|
let a = n[s.index], l = s.binding, c = s.part;
|
|
4608
4608
|
if (r && c.source && t.length > c.source.length && l.kind == "property" && !l.isCompound && a.__isPropertyEffectsClient && a.__dataHasAccessor && a.__dataHasAccessor[l.target]) {
|
|
4609
4609
|
let u = e[t];
|
|
4610
4610
|
t = xt(c.source, l.target, t), a._setPendingPropertyOrPath(t, u, !1, !0) && o._enqueueClient(a);
|
|
4611
4611
|
} else {
|
|
4612
4612
|
let u = s.evaluator._evaluateBinding(o, c, t, e, i, r);
|
|
4613
|
-
u !== Et &&
|
|
4613
|
+
u !== Et && Xa(o, a, l, c, u);
|
|
4614
4614
|
}
|
|
4615
4615
|
}
|
|
4616
|
-
function
|
|
4617
|
-
if (s =
|
|
4616
|
+
function Xa(o, t, e, i, s) {
|
|
4617
|
+
if (s = Za(t, s, e, i), Bt && (s = Bt(s, e.target, e.kind, t)), e.kind == "attribute")
|
|
4618
4618
|
o._valueToNodeAttribute(
|
|
4619
4619
|
/** @type {Element} */
|
|
4620
4620
|
t,
|
|
@@ -4626,17 +4626,17 @@ function Ja(o, t, e, i, s) {
|
|
|
4626
4626
|
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);
|
|
4627
4627
|
}
|
|
4628
4628
|
}
|
|
4629
|
-
function
|
|
4629
|
+
function Za(o, t, e, i) {
|
|
4630
4630
|
if (e.isCompound) {
|
|
4631
4631
|
let s = o.__dataCompoundStorage[e.target];
|
|
4632
4632
|
s[i.compoundIndex] = t, t = s.join("");
|
|
4633
4633
|
}
|
|
4634
4634
|
return e.kind !== "attribute" && (e.target === "textContent" || e.target === "value" && (o.localName === "input" || o.localName === "textarea")) && (t = t == null ? "" : t), t;
|
|
4635
4635
|
}
|
|
4636
|
-
function
|
|
4636
|
+
function Qa(o) {
|
|
4637
4637
|
return !!o.target && o.kind != "attribute" && o.kind != "text" && !o.isCompound && o.parts[0].mode === "{";
|
|
4638
4638
|
}
|
|
4639
|
-
function
|
|
4639
|
+
function el(o, t) {
|
|
4640
4640
|
let { nodeList: e, nodeInfoList: i } = t;
|
|
4641
4641
|
if (i.length)
|
|
4642
4642
|
for (let s = 0; s < i.length; s++) {
|
|
@@ -4644,12 +4644,12 @@ function Qa(o, t) {
|
|
|
4644
4644
|
if (a)
|
|
4645
4645
|
for (let l = 0; l < a.length; l++) {
|
|
4646
4646
|
let c = a[l];
|
|
4647
|
-
|
|
4647
|
+
tl(n, c), il(n, o, c);
|
|
4648
4648
|
}
|
|
4649
4649
|
n.__dataHost = o;
|
|
4650
4650
|
}
|
|
4651
4651
|
}
|
|
4652
|
-
function
|
|
4652
|
+
function tl(o, t) {
|
|
4653
4653
|
if (t.isCompound) {
|
|
4654
4654
|
let e = o.__dataCompoundStorage || (o.__dataCompoundStorage = {}), i = t.parts, s = new Array(i.length);
|
|
4655
4655
|
for (let n = 0; n < i.length; n++)
|
|
@@ -4658,15 +4658,15 @@ function el(o, t) {
|
|
|
4658
4658
|
e[r] = s, t.literal && t.kind == "property" && (r === "className" && (o = X(o)), o[r] = t.literal);
|
|
4659
4659
|
}
|
|
4660
4660
|
}
|
|
4661
|
-
function
|
|
4661
|
+
function il(o, t, e) {
|
|
4662
4662
|
if (e.listenerEvent) {
|
|
4663
4663
|
let i = e.parts[0];
|
|
4664
4664
|
o.addEventListener(e.listenerEvent, function(s) {
|
|
4665
|
-
|
|
4665
|
+
Ya(s, t, e.target, i.source, i.negate);
|
|
4666
4666
|
});
|
|
4667
4667
|
}
|
|
4668
4668
|
}
|
|
4669
|
-
function
|
|
4669
|
+
function Lo(o, t, e, i, s, r) {
|
|
4670
4670
|
r = t.static || r && (typeof r != "object" || r[t.methodName]);
|
|
4671
4671
|
let n = {
|
|
4672
4672
|
methodName: t.methodName,
|
|
@@ -4693,8 +4693,8 @@ function Si(o, t, e, i, s) {
|
|
|
4693
4693
|
} else
|
|
4694
4694
|
s.dynamicFn || console.warn("method `" + s.methodName + "` not defined");
|
|
4695
4695
|
}
|
|
4696
|
-
const
|
|
4697
|
-
function
|
|
4696
|
+
const ol = [], Js = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", sl = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", rl = "(?:'(?:[^'\\\\]|\\\\.)*')", nl = '(?:"(?:[^"\\\\]|\\\\.)*")', al = "(?:" + rl + "|" + nl + ")", Ro = "(?:(" + Js + "|" + sl + "|" + al + ")\\s*)", ll = "(?:" + Ro + "(?:,\\s*" + Ro + ")*)", cl = "(?:\\(\\s*(?:" + ll + "?)\\)\\s*)", ul = "(" + Js + "\\s*" + cl + "?)", dl = "(\\[\\[|{{)\\s*", hl = "(?:]]|}})", pl = "(?:(!)\\s*)?", fl = dl + pl + ul + hl, Bo = new RegExp(fl, "g");
|
|
4697
|
+
function Ho(o) {
|
|
4698
4698
|
let t = "";
|
|
4699
4699
|
for (let e = 0; e < o.length; e++) {
|
|
4700
4700
|
let i = o[e].literal;
|
|
@@ -4705,22 +4705,22 @@ function Bo(o) {
|
|
|
4705
4705
|
function ri(o) {
|
|
4706
4706
|
let t = o.match(/([^\s]+?)\(([\s\S]*)\)/);
|
|
4707
4707
|
if (t) {
|
|
4708
|
-
let i = { methodName: t[1], static: !0, args:
|
|
4708
|
+
let i = { methodName: t[1], static: !0, args: ol };
|
|
4709
4709
|
if (t[2].trim()) {
|
|
4710
4710
|
let s = t[2].replace(/\\,/g, ",").split(",");
|
|
4711
|
-
return
|
|
4711
|
+
return ml(s, i);
|
|
4712
4712
|
} else
|
|
4713
4713
|
return i;
|
|
4714
4714
|
}
|
|
4715
4715
|
return null;
|
|
4716
4716
|
}
|
|
4717
|
-
function
|
|
4717
|
+
function ml(o, t) {
|
|
4718
4718
|
return t.args = o.map(function(e) {
|
|
4719
|
-
let i =
|
|
4719
|
+
let i = Xs(e);
|
|
4720
4720
|
return i.literal || (t.static = !1), i;
|
|
4721
4721
|
}, this), t;
|
|
4722
4722
|
}
|
|
4723
|
-
function
|
|
4723
|
+
function Xs(o) {
|
|
4724
4724
|
let t = o.trim().replace(/,/g, ",").replace(/\\(.)/g, "$1"), e = {
|
|
4725
4725
|
name: t,
|
|
4726
4726
|
value: "",
|
|
@@ -4737,16 +4737,16 @@ function Js(o) {
|
|
|
4737
4737
|
}
|
|
4738
4738
|
return e.literal || (e.rootProperty = je(t), e.structured = wi(t), e.structured && (e.wildcard = t.slice(-2) == ".*", e.wildcard && (e.name = t.slice(0, -2)))), e;
|
|
4739
4739
|
}
|
|
4740
|
-
function
|
|
4740
|
+
function $o(o, t, e) {
|
|
4741
4741
|
let i = se(o, e);
|
|
4742
4742
|
return i === void 0 && (i = t[e]), i;
|
|
4743
4743
|
}
|
|
4744
|
-
function
|
|
4744
|
+
function Zs(o, t, e, i) {
|
|
4745
4745
|
const s = { indexSplices: i };
|
|
4746
4746
|
xi && !o._overrideLegacyUndefined && (t.splices = s), o.notifyPath(e + ".splices", s), o.notifyPath(e + ".length", t.length), xi && !o._overrideLegacyUndefined && (s.indexSplices = []);
|
|
4747
4747
|
}
|
|
4748
4748
|
function at(o, t, e, i, s, r) {
|
|
4749
|
-
|
|
4749
|
+
Zs(o, t, e, [{
|
|
4750
4750
|
index: i,
|
|
4751
4751
|
addedCount: s,
|
|
4752
4752
|
removed: r,
|
|
@@ -4754,11 +4754,11 @@ function at(o, t, e, i, s, r) {
|
|
|
4754
4754
|
type: "splice"
|
|
4755
4755
|
}]);
|
|
4756
4756
|
}
|
|
4757
|
-
function
|
|
4757
|
+
function _l(o) {
|
|
4758
4758
|
return o[0].toUpperCase() + o.substring(1);
|
|
4759
4759
|
}
|
|
4760
4760
|
const Ji = q((o) => {
|
|
4761
|
-
const t =
|
|
4761
|
+
const t = za(Ca(o));
|
|
4762
4762
|
class e extends t {
|
|
4763
4763
|
constructor() {
|
|
4764
4764
|
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;
|
|
@@ -4937,7 +4937,7 @@ const Ji = q((o) => {
|
|
|
4937
4937
|
if (!a) {
|
|
4938
4938
|
let l = se(this, s);
|
|
4939
4939
|
if (s = /** @type {string} */
|
|
4940
|
-
|
|
4940
|
+
Oo(this, s, r), !s || !super._shouldPropertyChange(s, r, l))
|
|
4941
4941
|
return !1;
|
|
4942
4942
|
}
|
|
4943
4943
|
if (this.__dataHasPaths = !0, this._setPendingProperty(
|
|
@@ -4946,7 +4946,7 @@ const Ji = q((o) => {
|
|
|
4946
4946
|
r,
|
|
4947
4947
|
n
|
|
4948
4948
|
))
|
|
4949
|
-
return
|
|
4949
|
+
return Ka(
|
|
4950
4950
|
this,
|
|
4951
4951
|
/**@type{string}*/
|
|
4952
4952
|
s,
|
|
@@ -5162,7 +5162,7 @@ const Ji = q((o) => {
|
|
|
5162
5162
|
let a = this.__dataHasPaths;
|
|
5163
5163
|
this.__dataHasPaths = !1;
|
|
5164
5164
|
let l;
|
|
5165
|
-
|
|
5165
|
+
Va(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(), ht(this, this[k.REFLECT], r, n, a), ht(this, this[k.OBSERVE], r, n, a), l && Ba(this, l, r, n, a), this.__dataCounter == 1 && (this.__dataTemp = {});
|
|
5166
5166
|
}
|
|
5167
5167
|
/**
|
|
5168
5168
|
* Called to propagate any property changes to stamped template nodes
|
|
@@ -5259,7 +5259,7 @@ const Ji = q((o) => {
|
|
|
5259
5259
|
/** @type {Array} */
|
|
5260
5260
|
se(this, s, n)
|
|
5261
5261
|
);
|
|
5262
|
-
|
|
5262
|
+
Zs(this, a, n.path, r);
|
|
5263
5263
|
}
|
|
5264
5264
|
/**
|
|
5265
5265
|
* Convenience method for reading a value from a path.
|
|
@@ -5307,7 +5307,7 @@ const Ji = q((o) => {
|
|
|
5307
5307
|
* @public
|
|
5308
5308
|
*/
|
|
5309
5309
|
set(s, r, n) {
|
|
5310
|
-
n ?
|
|
5310
|
+
n ? Oo(n, s, r) : (!this[k.READ_ONLY] || !this[k.READ_ONLY][
|
|
5311
5311
|
/** @type {string} */
|
|
5312
5312
|
s
|
|
5313
5313
|
]) && this._setPendingPropertyOrPath(s, r, !0) && this._invalidateProperties();
|
|
@@ -5462,7 +5462,7 @@ const Ji = q((o) => {
|
|
|
5462
5462
|
* @protected
|
|
5463
5463
|
*/
|
|
5464
5464
|
_createReadOnlyProperty(s, r) {
|
|
5465
|
-
this._addPropertyEffect(s, k.READ_ONLY), r && (this["_set" +
|
|
5465
|
+
this._addPropertyEffect(s, k.READ_ONLY), r && (this["_set" + _l(s)] = /** @this {PropertyEffects} */
|
|
5466
5466
|
function(n) {
|
|
5467
5467
|
this._setProperty(s, n);
|
|
5468
5468
|
});
|
|
@@ -5484,7 +5484,7 @@ const Ji = q((o) => {
|
|
|
5484
5484
|
_createPropertyObserver(s, r, n) {
|
|
5485
5485
|
let a = { property: s, method: r, dynamicFn: !!n };
|
|
5486
5486
|
this._addPropertyEffect(s, k.OBSERVE, {
|
|
5487
|
-
fn:
|
|
5487
|
+
fn: No,
|
|
5488
5488
|
info: a,
|
|
5489
5489
|
trigger: { name: s }
|
|
5490
5490
|
}), n && this._addPropertyEffect(
|
|
@@ -5492,7 +5492,7 @@ const Ji = q((o) => {
|
|
|
5492
5492
|
r,
|
|
5493
5493
|
k.OBSERVE,
|
|
5494
5494
|
{
|
|
5495
|
-
fn:
|
|
5495
|
+
fn: No,
|
|
5496
5496
|
info: a,
|
|
5497
5497
|
trigger: { name: r }
|
|
5498
5498
|
}
|
|
@@ -5514,7 +5514,7 @@ const Ji = q((o) => {
|
|
|
5514
5514
|
let n = ri(s);
|
|
5515
5515
|
if (!n)
|
|
5516
5516
|
throw new Error("Malformed observer expression '" + s + "'");
|
|
5517
|
-
|
|
5517
|
+
Lo(this, n, k.OBSERVE, Si, null, r);
|
|
5518
5518
|
}
|
|
5519
5519
|
/**
|
|
5520
5520
|
* Equivalent to static `createNotifyingProperty` API but can be called on
|
|
@@ -5528,7 +5528,7 @@ const Ji = q((o) => {
|
|
|
5528
5528
|
*/
|
|
5529
5529
|
_createNotifyingProperty(s) {
|
|
5530
5530
|
this._addPropertyEffect(s, k.NOTIFY, {
|
|
5531
|
-
fn:
|
|
5531
|
+
fn: $a,
|
|
5532
5532
|
info: {
|
|
5533
5533
|
eventName: Wt(s) + "-changed",
|
|
5534
5534
|
property: s
|
|
@@ -5549,7 +5549,7 @@ const Ji = q((o) => {
|
|
|
5549
5549
|
_createReflectedProperty(s) {
|
|
5550
5550
|
let r = this.constructor.attributeNameForProperty(s);
|
|
5551
5551
|
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, {
|
|
5552
|
-
fn:
|
|
5552
|
+
fn: ja,
|
|
5553
5553
|
info: {
|
|
5554
5554
|
attrName: r
|
|
5555
5555
|
}
|
|
@@ -5572,8 +5572,8 @@ const Ji = q((o) => {
|
|
|
5572
5572
|
let a = ri(r);
|
|
5573
5573
|
if (!a)
|
|
5574
5574
|
throw new Error("Malformed computed expression '" + r + "'");
|
|
5575
|
-
const l =
|
|
5576
|
-
oi(this,
|
|
5575
|
+
const l = Lo(this, a, k.COMPUTE, Gs, s, n);
|
|
5576
|
+
oi(this, qs)[s] = l;
|
|
5577
5577
|
}
|
|
5578
5578
|
/**
|
|
5579
5579
|
* Gather the argument values for a method specified in the provided array
|
|
@@ -5594,14 +5594,14 @@ const Ji = q((o) => {
|
|
|
5594
5594
|
let { name: d, structured: h, wildcard: m, value: b, literal: p } = s[c];
|
|
5595
5595
|
if (!p)
|
|
5596
5596
|
if (m) {
|
|
5597
|
-
const g = yt(d, r), y =
|
|
5597
|
+
const g = yt(d, r), y = $o(a, n, g ? r : d);
|
|
5598
5598
|
b = {
|
|
5599
5599
|
path: g ? r : d,
|
|
5600
5600
|
value: y,
|
|
5601
5601
|
base: g ? se(a, d) : y
|
|
5602
5602
|
};
|
|
5603
5603
|
} else
|
|
5604
|
-
b = h ?
|
|
5604
|
+
b = h ? $o(a, n, d) : a[d];
|
|
5605
5605
|
if (xi && !this._overrideLegacyUndefined && b === void 0 && s.length > 1)
|
|
5606
5606
|
return Et;
|
|
5607
5607
|
l[c] = b;
|
|
@@ -5884,7 +5884,7 @@ const Ji = q((o) => {
|
|
|
5884
5884
|
for (let l = n.firstChild; l; l = l.nextSibling)
|
|
5885
5885
|
a.push(l);
|
|
5886
5886
|
}
|
|
5887
|
-
return n.templateInfo = r,
|
|
5887
|
+
return n.templateInfo = r, el(this, r), this.__dataClientsReady && (this._runEffectsForTemplate(r, this.__data, null, !1), this._flushClients()), n;
|
|
5888
5888
|
}
|
|
5889
5889
|
/**
|
|
5890
5890
|
* Removes and unbinds the nodes previously contained in the provided
|
|
@@ -5931,7 +5931,7 @@ const Ji = q((o) => {
|
|
|
5931
5931
|
);
|
|
5932
5932
|
if (s.nodeType === Node.TEXT_NODE) {
|
|
5933
5933
|
let l = this._parseBindings(s.textContent, r);
|
|
5934
|
-
l && (s.textContent =
|
|
5934
|
+
l && (s.textContent = Ho(l) || " ", si(this, r, n, "text", "textContent", l), a = !0);
|
|
5935
5935
|
}
|
|
5936
5936
|
return a;
|
|
5937
5937
|
}
|
|
@@ -5958,9 +5958,9 @@ const Ji = q((o) => {
|
|
|
5958
5958
|
let c = this._parseBindings(l, r);
|
|
5959
5959
|
if (c) {
|
|
5960
5960
|
let u = a, d = "property";
|
|
5961
|
-
|
|
5962
|
-
let h =
|
|
5963
|
-
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 =
|
|
5961
|
+
La.test(a) ? d = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), d = "attribute");
|
|
5962
|
+
let h = Ho(c);
|
|
5963
|
+
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 = Hs(a)), si(this, r, n, d, a, c, h), !0;
|
|
5964
5964
|
} else
|
|
5965
5965
|
return t._parseTemplateNodeAttribute.call(
|
|
5966
5966
|
this,
|
|
@@ -5993,10 +5993,10 @@ const Ji = q((o) => {
|
|
|
5993
5993
|
n
|
|
5994
5994
|
);
|
|
5995
5995
|
const l = s.parentNode, c = n.templateInfo, u = l.localName === "dom-if", d = l.localName === "dom-repeat";
|
|
5996
|
-
|
|
5996
|
+
Co && (u || d) && (l.removeChild(s), n = n.parentInfo, n.templateInfo = c, n.noted = !0, a = !1);
|
|
5997
5997
|
let h = c.hostProps;
|
|
5998
|
-
if (
|
|
5999
|
-
h && (r.hostProps = Object.assign(r.hostProps || {}, h),
|
|
5998
|
+
if (aa && u)
|
|
5999
|
+
h && (r.hostProps = Object.assign(r.hostProps || {}, h), Co || (n.parentInfo.noted = !0));
|
|
6000
6000
|
else {
|
|
6001
6001
|
let m = "{";
|
|
6002
6002
|
for (let b in h) {
|
|
@@ -6053,7 +6053,7 @@ const Ji = q((o) => {
|
|
|
6053
6053
|
*/
|
|
6054
6054
|
static _parseBindings(s, r) {
|
|
6055
6055
|
let n = [], a = 0, l;
|
|
6056
|
-
for (; (l =
|
|
6056
|
+
for (; (l = Bo.exec(s)) !== null; ) {
|
|
6057
6057
|
l.index > a && n.push({ literal: s.slice(a, l.index) });
|
|
6058
6058
|
let c = l[1][0], u = !!l[2], d = l[3].trim(), h = !1, m = "", b = -1;
|
|
6059
6059
|
c == "{" && (b = d.indexOf("::")) > 0 && (m = d.substring(b + 2), d = d.substring(0, b), h = !0);
|
|
@@ -6076,7 +6076,7 @@ const Ji = q((o) => {
|
|
|
6076
6076
|
signature: p,
|
|
6077
6077
|
dependencies: g,
|
|
6078
6078
|
event: m
|
|
6079
|
-
}), a =
|
|
6079
|
+
}), a = Bo.lastIndex;
|
|
6080
6080
|
}
|
|
6081
6081
|
if (a && a < s.length) {
|
|
6082
6082
|
let c = s.substring(a);
|
|
@@ -6126,7 +6126,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6126
6126
|
Code distributed by Google as part of the polymer project is also
|
|
6127
6127
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6128
6128
|
*/
|
|
6129
|
-
function
|
|
6129
|
+
function gl(o) {
|
|
6130
6130
|
const t = {};
|
|
6131
6131
|
for (let e in o) {
|
|
6132
6132
|
const i = o[e];
|
|
@@ -6134,8 +6134,8 @@ function _l(o) {
|
|
|
6134
6134
|
}
|
|
6135
6135
|
return t;
|
|
6136
6136
|
}
|
|
6137
|
-
const
|
|
6138
|
-
const t =
|
|
6137
|
+
const bl = q((o) => {
|
|
6138
|
+
const t = Vs(o);
|
|
6139
6139
|
function e(r) {
|
|
6140
6140
|
const n = Object.getPrototypeOf(r);
|
|
6141
6141
|
return n.prototype instanceof s ? (
|
|
@@ -6148,7 +6148,7 @@ const gl = q((o) => {
|
|
|
6148
6148
|
let n = null;
|
|
6149
6149
|
if (r.hasOwnProperty(JSCompiler_renameProperty("properties", r))) {
|
|
6150
6150
|
const a = r.properties;
|
|
6151
|
-
a && (n =
|
|
6151
|
+
a && (n = gl(a));
|
|
6152
6152
|
}
|
|
6153
6153
|
r.__ownProperties = n;
|
|
6154
6154
|
}
|
|
@@ -6285,8 +6285,8 @@ const gl = q((o) => {
|
|
|
6285
6285
|
* Google as part of the polymer project is also subject to an additional IP
|
|
6286
6286
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6287
6287
|
*/
|
|
6288
|
-
const
|
|
6289
|
-
const t =
|
|
6288
|
+
const vl = "3.5.2", Yo = window.ShadyCSS && window.ShadyCSS.cssBuild, yl = q((o) => {
|
|
6289
|
+
const t = bl(Ji(o));
|
|
6290
6290
|
function e(l) {
|
|
6291
6291
|
if (!l.hasOwnProperty(
|
|
6292
6292
|
JSCompiler_renameProperty("__propertyDefaults", l)
|
|
@@ -6314,8 +6314,8 @@ const bl = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, vl = q((o)
|
|
|
6314
6314
|
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);
|
|
6315
6315
|
}
|
|
6316
6316
|
function r(l, c, u, d) {
|
|
6317
|
-
if (
|
|
6318
|
-
const h = c.content.querySelectorAll("style"), m =
|
|
6317
|
+
if (!Yo) {
|
|
6318
|
+
const h = c.content.querySelectorAll("style"), m = zs(c), b = ma(u), p = c.content.firstElementChild;
|
|
6319
6319
|
for (let y = 0; y < b.length; y++) {
|
|
6320
6320
|
let v = b[y];
|
|
6321
6321
|
v.textContent = l._processStyleText(v.textContent, d), c.content.insertBefore(v, p);
|
|
@@ -6326,7 +6326,7 @@ const bl = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, vl = q((o)
|
|
|
6326
6326
|
C !== v ? (v = v.cloneNode(!0), C.parentNode.insertBefore(v, C)) : g++, v.textContent = l._processStyleText(v.textContent, d);
|
|
6327
6327
|
}
|
|
6328
6328
|
}
|
|
6329
|
-
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(c, u),
|
|
6329
|
+
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(c, u), la && Yo && ia) {
|
|
6330
6330
|
const h = c.content.querySelectorAll("style");
|
|
6331
6331
|
if (h) {
|
|
6332
6332
|
let m = "";
|
|
@@ -6338,7 +6338,7 @@ const bl = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, vl = q((o)
|
|
|
6338
6338
|
}
|
|
6339
6339
|
function n(l) {
|
|
6340
6340
|
let c = null;
|
|
6341
|
-
if (l && (!Ht ||
|
|
6341
|
+
if (l && (!Ht || sa) && (c = /** @type {?HTMLTemplateElement} */
|
|
6342
6342
|
vt.import(l, "template"), Ht && !c))
|
|
6343
6343
|
throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
6344
6344
|
return c;
|
|
@@ -6350,7 +6350,7 @@ const bl = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, vl = q((o)
|
|
|
6350
6350
|
* @nocollapse
|
|
6351
6351
|
*/
|
|
6352
6352
|
static get polymerElementVersion() {
|
|
6353
|
-
return
|
|
6353
|
+
return vl;
|
|
6354
6354
|
}
|
|
6355
6355
|
/**
|
|
6356
6356
|
* Override of PropertiesMixin _finalizeClass to create observers and
|
|
@@ -6371,7 +6371,7 @@ const bl = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, vl = q((o)
|
|
|
6371
6371
|
/** @type {PolymerElementConstructor} */
|
|
6372
6372
|
this.template
|
|
6373
6373
|
);
|
|
6374
|
-
c && (typeof c == "string" ? (console.error("template getter must return HTMLTemplateElement"), c = null) :
|
|
6374
|
+
c && (typeof c == "string" ? (console.error("template getter must return HTMLTemplateElement"), c = null) : Os || (c = c.cloneNode(!0))), this.prototype._template = c;
|
|
6375
6375
|
}
|
|
6376
6376
|
/**
|
|
6377
6377
|
* Override of PropertiesChanged createProperties to create accessors
|
|
@@ -6541,7 +6541,7 @@ const bl = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, vl = q((o)
|
|
|
6541
6541
|
this.constructor.finalize(), this.constructor._finalizeTemplate(
|
|
6542
6542
|
/** @type {!HTMLElement} */
|
|
6543
6543
|
this.localName
|
|
6544
|
-
), super._initializeProperties(), this.rootPath =
|
|
6544
|
+
), super._initializeProperties(), this.rootPath = oa, this.importPath = this.constructor.importPath;
|
|
6545
6545
|
let c = e(this.constructor);
|
|
6546
6546
|
if (c)
|
|
6547
6547
|
for (let u in c) {
|
|
@@ -6652,7 +6652,7 @@ const bl = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, vl = q((o)
|
|
|
6652
6652
|
_attachDom(c) {
|
|
6653
6653
|
const u = X(this);
|
|
6654
6654
|
if (u.attachShadow)
|
|
6655
|
-
return c ? (u.shadowRoot || (u.attachShadow({ mode: "open", shadyUpgradeFragment: c }), u.shadowRoot.appendChild(c), this.constructor._styleSheet && (u.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])),
|
|
6655
|
+
return c ? (u.shadowRoot || (u.attachShadow({ mode: "open", shadyUpgradeFragment: c }), u.shadowRoot.appendChild(c), this.constructor._styleSheet && (u.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), ra && window.ShadyDOM && window.ShadyDOM.flushInitial(u.shadowRoot), u.shadowRoot) : null;
|
|
6656
6656
|
throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.");
|
|
6657
6657
|
}
|
|
6658
6658
|
/**
|
|
@@ -6737,7 +6737,7 @@ const bl = "3.5.2", $o = window.ShadyCSS && window.ShadyCSS.cssBuild, vl = q((o)
|
|
|
6737
6737
|
* @nocollapse
|
|
6738
6738
|
*/
|
|
6739
6739
|
static _addTemplatePropertyEffect(c, u, d) {
|
|
6740
|
-
return
|
|
6740
|
+
return Is && !(u in this._properties) && // Methods used in templates with no dependencies (or only literal
|
|
6741
6741
|
// dependencies) become accessors with template effects; ignore these
|
|
6742
6742
|
!(d.info.part.signature && d.info.part.signature.static) && // Warnings for bindings added to nested templates are handled by
|
|
6743
6743
|
// templatizer so ignore both the host-to-template bindings
|
|
@@ -6762,16 +6762,16 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6762
6762
|
Code distributed by Google as part of the polymer project is also
|
|
6763
6763
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6764
6764
|
*/
|
|
6765
|
-
const
|
|
6766
|
-
class
|
|
6765
|
+
const jo = window.trustedTypes && trustedTypes.createPolicy("polymer-html-literal", { createHTML: (o) => o });
|
|
6766
|
+
class Qs {
|
|
6767
6767
|
/**
|
|
6768
6768
|
* @param {!ITemplateArray} strings Constant parts of tagged template literal
|
|
6769
6769
|
* @param {!Array<*>} values Variable parts of tagged template literal
|
|
6770
6770
|
*/
|
|
6771
6771
|
constructor(t, e) {
|
|
6772
|
-
|
|
6772
|
+
tr(t, e);
|
|
6773
6773
|
const i = e.reduce(
|
|
6774
|
-
(s, r, n) => s +
|
|
6774
|
+
(s, r, n) => s + er(r) + t[n + 1],
|
|
6775
6775
|
t[0]
|
|
6776
6776
|
);
|
|
6777
6777
|
this.value = i.toString();
|
|
@@ -6784,8 +6784,8 @@ class Zs {
|
|
|
6784
6784
|
return this.value;
|
|
6785
6785
|
}
|
|
6786
6786
|
}
|
|
6787
|
-
function
|
|
6788
|
-
if (o instanceof
|
|
6787
|
+
function er(o) {
|
|
6788
|
+
if (o instanceof Qs)
|
|
6789
6789
|
return (
|
|
6790
6790
|
/** @type {!LiteralString} */
|
|
6791
6791
|
o.value
|
|
@@ -6794,30 +6794,30 @@ function Qs(o) {
|
|
|
6794
6794
|
`non-literal value passed to Polymer's htmlLiteral function: ${o}`
|
|
6795
6795
|
);
|
|
6796
6796
|
}
|
|
6797
|
-
function
|
|
6797
|
+
function xl(o) {
|
|
6798
6798
|
if (o instanceof HTMLTemplateElement)
|
|
6799
6799
|
return (
|
|
6800
6800
|
/** @type {!HTMLTemplateElement } */
|
|
6801
6801
|
o.innerHTML
|
|
6802
6802
|
);
|
|
6803
|
-
if (o instanceof
|
|
6804
|
-
return
|
|
6803
|
+
if (o instanceof Qs)
|
|
6804
|
+
return er(o);
|
|
6805
6805
|
throw new Error(
|
|
6806
6806
|
`non-template value passed to Polymer's html function: ${o}`
|
|
6807
6807
|
);
|
|
6808
6808
|
}
|
|
6809
6809
|
const Ve = function(t, ...e) {
|
|
6810
|
-
|
|
6810
|
+
tr(t, e);
|
|
6811
6811
|
const i = (
|
|
6812
6812
|
/** @type {!HTMLTemplateElement} */
|
|
6813
6813
|
document.createElement("template")
|
|
6814
6814
|
);
|
|
6815
6815
|
let s = e.reduce(
|
|
6816
|
-
(r, n, a) => r +
|
|
6816
|
+
(r, n, a) => r + xl(n) + t[a + 1],
|
|
6817
6817
|
t[0]
|
|
6818
6818
|
);
|
|
6819
|
-
return
|
|
6820
|
-
},
|
|
6819
|
+
return jo && (s = jo.createHTML(s)), i.innerHTML = s, i;
|
|
6820
|
+
}, tr = (o, t) => {
|
|
6821
6821
|
if (!Array.isArray(o) || !Array.isArray(o.raw) || t.length !== o.length - 1)
|
|
6822
6822
|
throw new TypeError("Invalid call to the html template tag");
|
|
6823
6823
|
};
|
|
@@ -6830,7 +6830,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6830
6830
|
Code distributed by Google as part of the polymer project is also
|
|
6831
6831
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6832
6832
|
*/
|
|
6833
|
-
const Ie =
|
|
6833
|
+
const Ie = yl(HTMLElement);
|
|
6834
6834
|
/**
|
|
6835
6835
|
* @license
|
|
6836
6836
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
@@ -6843,14 +6843,14 @@ function Ai(o, t, e = o.getAttribute("dir")) {
|
|
|
6843
6843
|
function Ci() {
|
|
6844
6844
|
return document.documentElement.getAttribute("dir");
|
|
6845
6845
|
}
|
|
6846
|
-
function
|
|
6846
|
+
function wl() {
|
|
6847
6847
|
const o = Ci();
|
|
6848
6848
|
we.forEach((t) => {
|
|
6849
6849
|
Ai(t, o);
|
|
6850
6850
|
});
|
|
6851
6851
|
}
|
|
6852
|
-
const
|
|
6853
|
-
|
|
6852
|
+
const El = new MutationObserver(wl);
|
|
6853
|
+
El.observe(document.documentElement, { attributes: !0, attributeFilter: ["dir"] });
|
|
6854
6854
|
const qt = (o) => class extends o {
|
|
6855
6855
|
static get properties() {
|
|
6856
6856
|
return {
|
|
@@ -6912,7 +6912,7 @@ const qt = (o) => class extends o {
|
|
|
6912
6912
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6913
6913
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6914
6914
|
*/
|
|
6915
|
-
const
|
|
6915
|
+
const Sl = (o) => class extends o {
|
|
6916
6916
|
static get properties() {
|
|
6917
6917
|
return {
|
|
6918
6918
|
/**
|
|
@@ -6952,7 +6952,7 @@ const El = (o) => class extends o {
|
|
|
6952
6952
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6953
6953
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6954
6954
|
*/
|
|
6955
|
-
const
|
|
6955
|
+
const Al = P`
|
|
6956
6956
|
:host {
|
|
6957
6957
|
display: flex;
|
|
6958
6958
|
align-items: center;
|
|
@@ -7023,8 +7023,8 @@ const Sl = P`
|
|
|
7023
7023
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7024
7024
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7025
7025
|
*/
|
|
7026
|
-
L("vaadin-input-container",
|
|
7027
|
-
class
|
|
7026
|
+
L("vaadin-input-container", Al, { moduleId: "vaadin-input-container-styles" });
|
|
7027
|
+
class Cl extends Sl(Ye(qt(Ie))) {
|
|
7028
7028
|
static get is() {
|
|
7029
7029
|
return "vaadin-input-container";
|
|
7030
7030
|
}
|
|
@@ -7036,13 +7036,13 @@ class Al extends El(Ye(qt(Ie))) {
|
|
|
7036
7036
|
`;
|
|
7037
7037
|
}
|
|
7038
7038
|
}
|
|
7039
|
-
ve(
|
|
7039
|
+
ve(Cl);
|
|
7040
7040
|
/**
|
|
7041
7041
|
* @license
|
|
7042
7042
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7043
7043
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7044
7044
|
*/
|
|
7045
|
-
const
|
|
7045
|
+
const Pl = P`
|
|
7046
7046
|
:host {
|
|
7047
7047
|
z-index: 200;
|
|
7048
7048
|
position: fixed;
|
|
@@ -7131,21 +7131,21 @@ function Pi() {
|
|
|
7131
7131
|
function Zi() {
|
|
7132
7132
|
return Xi;
|
|
7133
7133
|
}
|
|
7134
|
-
function
|
|
7134
|
+
function kl(o) {
|
|
7135
7135
|
const t = o.style;
|
|
7136
7136
|
if (t.visibility === "hidden" || t.display === "none")
|
|
7137
7137
|
return !0;
|
|
7138
7138
|
const e = window.getComputedStyle(o);
|
|
7139
7139
|
return e.visibility === "hidden" || e.display === "none";
|
|
7140
7140
|
}
|
|
7141
|
-
function
|
|
7141
|
+
function Dl(o, t) {
|
|
7142
7142
|
const e = Math.max(o.tabIndex, 0), i = Math.max(t.tabIndex, 0);
|
|
7143
7143
|
return e === 0 || i === 0 ? i > e : e > i;
|
|
7144
7144
|
}
|
|
7145
|
-
function
|
|
7145
|
+
function Tl(o, t) {
|
|
7146
7146
|
const e = [];
|
|
7147
7147
|
for (; o.length > 0 && t.length > 0; )
|
|
7148
|
-
|
|
7148
|
+
Dl(o[0], t[0]) ? e.push(t.shift()) : e.push(o.shift());
|
|
7149
7149
|
return e.concat(o, t);
|
|
7150
7150
|
}
|
|
7151
7151
|
function ki(o) {
|
|
@@ -7153,37 +7153,37 @@ function ki(o) {
|
|
|
7153
7153
|
if (t < 2)
|
|
7154
7154
|
return o;
|
|
7155
7155
|
const e = Math.ceil(t / 2), i = ki(o.slice(0, e)), s = ki(o.slice(e));
|
|
7156
|
-
return
|
|
7156
|
+
return Tl(i, s);
|
|
7157
7157
|
}
|
|
7158
|
-
function
|
|
7158
|
+
function ir(o) {
|
|
7159
7159
|
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]");
|
|
7160
7160
|
}
|
|
7161
|
-
function
|
|
7161
|
+
function Ml(o) {
|
|
7162
7162
|
return o.getRootNode().activeElement === o;
|
|
7163
7163
|
}
|
|
7164
|
-
function
|
|
7165
|
-
if (!
|
|
7164
|
+
function Ol(o) {
|
|
7165
|
+
if (!ir(o))
|
|
7166
7166
|
return -1;
|
|
7167
7167
|
const t = o.getAttribute("tabindex") || 0;
|
|
7168
7168
|
return Number(t);
|
|
7169
7169
|
}
|
|
7170
|
-
function
|
|
7171
|
-
if (o.nodeType !== Node.ELEMENT_NODE ||
|
|
7170
|
+
function or(o, t) {
|
|
7171
|
+
if (o.nodeType !== Node.ELEMENT_NODE || kl(o))
|
|
7172
7172
|
return !1;
|
|
7173
7173
|
const e = (
|
|
7174
7174
|
/** @type {HTMLElement} */
|
|
7175
7175
|
o
|
|
7176
|
-
), i =
|
|
7176
|
+
), i = Ol(e);
|
|
7177
7177
|
let s = i > 0;
|
|
7178
7178
|
i >= 0 && t.push(e);
|
|
7179
7179
|
let r = [];
|
|
7180
7180
|
return e.localName === "slot" ? r = e.assignedNodes({ flatten: !0 }) : r = (e.shadowRoot || e).children, [...r].forEach((n) => {
|
|
7181
|
-
s =
|
|
7181
|
+
s = or(n, t) || s;
|
|
7182
7182
|
}), s;
|
|
7183
7183
|
}
|
|
7184
|
-
function
|
|
7184
|
+
function Il(o) {
|
|
7185
7185
|
const t = [];
|
|
7186
|
-
return
|
|
7186
|
+
return or(o, t) ? ki(t) : t;
|
|
7187
7187
|
}
|
|
7188
7188
|
/**
|
|
7189
7189
|
@license
|
|
@@ -7194,23 +7194,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
7194
7194
|
Code distributed by Google as part of the polymer project is also
|
|
7195
7195
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7196
7196
|
*/
|
|
7197
|
-
let Di = !1,
|
|
7198
|
-
function
|
|
7197
|
+
let Di = !1, Fl = [], sr = [];
|
|
7198
|
+
function Nl() {
|
|
7199
7199
|
Di = !0, requestAnimationFrame(function() {
|
|
7200
|
-
Di = !1,
|
|
7201
|
-
|
|
7200
|
+
Di = !1, zl(Fl), setTimeout(function() {
|
|
7201
|
+
Ll(sr);
|
|
7202
7202
|
});
|
|
7203
7203
|
});
|
|
7204
7204
|
}
|
|
7205
|
-
function
|
|
7205
|
+
function zl(o) {
|
|
7206
7206
|
for (; o.length; )
|
|
7207
|
-
|
|
7207
|
+
rr(o.shift());
|
|
7208
7208
|
}
|
|
7209
|
-
function
|
|
7209
|
+
function Ll(o) {
|
|
7210
7210
|
for (let t = 0, e = o.length; t < e; t++)
|
|
7211
|
-
|
|
7211
|
+
rr(o.shift());
|
|
7212
7212
|
}
|
|
7213
|
-
function
|
|
7213
|
+
function rr(o) {
|
|
7214
7214
|
const t = o[0], e = o[1], i = o[2];
|
|
7215
7215
|
try {
|
|
7216
7216
|
e.apply(t, i);
|
|
@@ -7220,21 +7220,21 @@ function sr(o) {
|
|
|
7220
7220
|
});
|
|
7221
7221
|
}
|
|
7222
7222
|
}
|
|
7223
|
-
function
|
|
7224
|
-
Di ||
|
|
7223
|
+
function nr(o, t, e) {
|
|
7224
|
+
Di || Nl(), sr.push([o, t, e]);
|
|
7225
7225
|
}
|
|
7226
7226
|
/**
|
|
7227
7227
|
* @license
|
|
7228
7228
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7229
7229
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7230
7230
|
*/
|
|
7231
|
-
const Kt = (o) => o.test(navigator.userAgent), Ti = (o) => o.test(navigator.platform),
|
|
7231
|
+
const Kt = (o) => o.test(navigator.userAgent), Ti = (o) => o.test(navigator.platform), Rl = (o) => o.test(navigator.vendor);
|
|
7232
7232
|
Kt(/Android/u);
|
|
7233
|
-
Kt(/Chrome/u) &&
|
|
7233
|
+
Kt(/Chrome/u) && Rl(/Google Inc/u);
|
|
7234
7234
|
Kt(/Firefox/u);
|
|
7235
|
-
const
|
|
7235
|
+
const Bl = Ti(/^iPad/u) || Ti(/^Mac/u) && navigator.maxTouchPoints > 1, Hl = Ti(/^iPhone/u), ar = Hl || Bl;
|
|
7236
7236
|
Kt(/^((?!chrome|android).)*safari/iu);
|
|
7237
|
-
const
|
|
7237
|
+
const $l = (() => {
|
|
7238
7238
|
try {
|
|
7239
7239
|
return document.createEvent("TouchEvent"), !0;
|
|
7240
7240
|
} catch (o) {
|
|
@@ -7247,10 +7247,10 @@ const Hl = (() => {
|
|
|
7247
7247
|
* SPDX-License-Identifier: MIT
|
|
7248
7248
|
*/
|
|
7249
7249
|
let qe = /* @__PURE__ */ new WeakMap(), Mt = /* @__PURE__ */ new WeakMap(), Ot = {}, ni = 0;
|
|
7250
|
-
const
|
|
7250
|
+
const Vo = (o) => o && o.nodeType === Node.ELEMENT_NODE, ai = (...o) => {
|
|
7251
7251
|
console.error(`Error: ${o.join(" ")}. Skip setting aria-hidden.`);
|
|
7252
|
-
},
|
|
7253
|
-
if (!
|
|
7252
|
+
}, Yl = (o, t) => Vo(o) ? t.map((e) => {
|
|
7253
|
+
if (!Vo(e))
|
|
7254
7254
|
return ai(e, "is not a valid element"), null;
|
|
7255
7255
|
let i = e;
|
|
7256
7256
|
for (; i && i !== o; ) {
|
|
@@ -7259,8 +7259,8 @@ const jo = (o) => o && o.nodeType === Node.ELEMENT_NODE, ai = (...o) => {
|
|
|
7259
7259
|
i = i.getRootNode().host;
|
|
7260
7260
|
}
|
|
7261
7261
|
return ai(e, "is not contained inside", o), null;
|
|
7262
|
-
}).filter((e) => !!e) : (ai(o, "is not a valid element"), []),
|
|
7263
|
-
const s =
|
|
7262
|
+
}).filter((e) => !!e) : (ai(o, "is not a valid element"), []), jl = (o, t, e, i) => {
|
|
7263
|
+
const s = Yl(t, Array.isArray(o) ? o : [o]);
|
|
7264
7264
|
Ot[e] || (Ot[e] = /* @__PURE__ */ new WeakMap());
|
|
7265
7265
|
const r = Ot[e], n = [], a = /* @__PURE__ */ new Set(), l = new Set(s), c = (d) => {
|
|
7266
7266
|
if (!d || a.has(d))
|
|
@@ -7290,16 +7290,16 @@ const jo = (o) => o && o.nodeType === Node.ELEMENT_NODE, ai = (...o) => {
|
|
|
7290
7290
|
qe.set(d, h), r.set(d, m), h || (Mt.has(d) ? Mt.delete(d) : d.removeAttribute(i)), m || d.removeAttribute(e);
|
|
7291
7291
|
}), ni -= 1, ni || (qe = /* @__PURE__ */ new WeakMap(), qe = /* @__PURE__ */ new WeakMap(), Mt = /* @__PURE__ */ new WeakMap(), Ot = {});
|
|
7292
7292
|
};
|
|
7293
|
-
},
|
|
7293
|
+
}, lr = (o, t = document.body, e = "data-aria-hidden") => {
|
|
7294
7294
|
const i = Array.from(Array.isArray(o) ? o : [o]);
|
|
7295
|
-
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))),
|
|
7295
|
+
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))), jl(i, t, e, "aria-hidden");
|
|
7296
7296
|
};
|
|
7297
7297
|
/**
|
|
7298
7298
|
* @license
|
|
7299
7299
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7300
7300
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7301
7301
|
*/
|
|
7302
|
-
class
|
|
7302
|
+
class Vl {
|
|
7303
7303
|
/**
|
|
7304
7304
|
* @param {HTMLElement} host
|
|
7305
7305
|
*/
|
|
@@ -7315,7 +7315,7 @@ class jl {
|
|
|
7315
7315
|
*/
|
|
7316
7316
|
showModal() {
|
|
7317
7317
|
const t = this.callback();
|
|
7318
|
-
this.__showOthers =
|
|
7318
|
+
this.__showOthers = lr(t);
|
|
7319
7319
|
}
|
|
7320
7320
|
/**
|
|
7321
7321
|
* Remove `aria-hidden` from other elements unless there are any other
|
|
@@ -7330,7 +7330,7 @@ class jl {
|
|
|
7330
7330
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7331
7331
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7332
7332
|
*/
|
|
7333
|
-
class
|
|
7333
|
+
class Ul {
|
|
7334
7334
|
/**
|
|
7335
7335
|
* Saves the given node as a target for restoring focus to
|
|
7336
7336
|
* when `restoreFocus()` is called. If no node is provided,
|
|
@@ -7358,7 +7358,7 @@ class Vl {
|
|
|
7358
7358
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7359
7359
|
*/
|
|
7360
7360
|
const li = [];
|
|
7361
|
-
class
|
|
7361
|
+
class Wl {
|
|
7362
7362
|
/**
|
|
7363
7363
|
* @param {HTMLElement} host
|
|
7364
7364
|
*/
|
|
@@ -7372,7 +7372,7 @@ class Ul {
|
|
|
7372
7372
|
* @private
|
|
7373
7373
|
*/
|
|
7374
7374
|
get __focusableElements() {
|
|
7375
|
-
return
|
|
7375
|
+
return Il(this.__trapNode);
|
|
7376
7376
|
}
|
|
7377
7377
|
/**
|
|
7378
7378
|
* The index of the element inside the trap node that currently has focus.
|
|
@@ -7382,7 +7382,7 @@ class Ul {
|
|
|
7382
7382
|
*/
|
|
7383
7383
|
get __focusedElementIndex() {
|
|
7384
7384
|
const t = this.__focusableElements;
|
|
7385
|
-
return t.indexOf(t.filter(
|
|
7385
|
+
return t.indexOf(t.filter(Ml).pop());
|
|
7386
7386
|
}
|
|
7387
7387
|
hostConnected() {
|
|
7388
7388
|
document.addEventListener("keydown", this.__onKeyDown);
|
|
@@ -7495,7 +7495,7 @@ const st = q((o) => typeof o.prototype.addController == "function" ? o : class e
|
|
|
7495
7495
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7496
7496
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7497
7497
|
*/
|
|
7498
|
-
const
|
|
7498
|
+
const ql = (o) => class extends st(o) {
|
|
7499
7499
|
static get properties() {
|
|
7500
7500
|
return {
|
|
7501
7501
|
/**
|
|
@@ -7526,7 +7526,7 @@ const Wl = (o) => class extends st(o) {
|
|
|
7526
7526
|
};
|
|
7527
7527
|
}
|
|
7528
7528
|
constructor() {
|
|
7529
|
-
super(), this.__ariaModalController = new
|
|
7529
|
+
super(), this.__ariaModalController = new Vl(this), this.__focusTrapController = new Wl(this), this.__focusRestorationController = new Ul();
|
|
7530
7530
|
}
|
|
7531
7531
|
/** @protected */
|
|
7532
7532
|
ready() {
|
|
@@ -7597,7 +7597,7 @@ const Wl = (o) => class extends st(o) {
|
|
|
7597
7597
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7598
7598
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7599
7599
|
*/
|
|
7600
|
-
const
|
|
7600
|
+
const cr = () => Array.from(document.body.children).filter((o) => o instanceof HTMLElement && o._hasOverlayStackMixin && !o.hasAttribute("closing")).sort((o, t) => o.__zIndex - t.__zIndex || 0), Mi = () => cr().filter((o) => o.$.overlay), Kl = (o) => o === Mi().pop(), Gl = (o) => class extends o {
|
|
7601
7601
|
constructor() {
|
|
7602
7602
|
super(), this._hasOverlayStackMixin = !0;
|
|
7603
7603
|
}
|
|
@@ -7608,14 +7608,14 @@ const lr = () => Array.from(document.body.children).filter((o) => o instanceof H
|
|
|
7608
7608
|
* @protected
|
|
7609
7609
|
*/
|
|
7610
7610
|
get _last() {
|
|
7611
|
-
return
|
|
7611
|
+
return Kl(this);
|
|
7612
7612
|
}
|
|
7613
7613
|
/**
|
|
7614
7614
|
* Brings the overlay as visually the frontmost one.
|
|
7615
7615
|
*/
|
|
7616
7616
|
bringToFront() {
|
|
7617
7617
|
let e = "";
|
|
7618
|
-
const i =
|
|
7618
|
+
const i = cr().filter((s) => s !== this).pop();
|
|
7619
7619
|
i && (e = i.__zIndex + 1), this.style.zIndex = e, this.__zIndex = e || parseFloat(getComputedStyle(this).zIndex);
|
|
7620
7620
|
}
|
|
7621
7621
|
/** @protected */
|
|
@@ -7638,7 +7638,7 @@ const lr = () => Array.from(document.body.children).filter((o) => o instanceof H
|
|
|
7638
7638
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7639
7639
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7640
7640
|
*/
|
|
7641
|
-
const
|
|
7641
|
+
const Jl = (o) => class extends ql(Gl(o)) {
|
|
7642
7642
|
static get properties() {
|
|
7643
7643
|
return {
|
|
7644
7644
|
/**
|
|
@@ -7711,7 +7711,7 @@ const Gl = (o) => class extends Wl(Kl(o)) {
|
|
|
7711
7711
|
return ["_rendererOrDataChanged(renderer, owner, model, opened)"];
|
|
7712
7712
|
}
|
|
7713
7713
|
constructor() {
|
|
7714
|
-
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),
|
|
7714
|
+
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), ar && (this._boundIosResizeListener = () => this._detectIosNavbar());
|
|
7715
7715
|
}
|
|
7716
7716
|
/** @protected */
|
|
7717
7717
|
ready() {
|
|
@@ -7779,7 +7779,7 @@ const Gl = (o) => class extends Wl(Kl(o)) {
|
|
|
7779
7779
|
}
|
|
7780
7780
|
/** @private */
|
|
7781
7781
|
_openedChanged(e, i) {
|
|
7782
|
-
e ? (this._saveFocus(), this._animatedOpening(),
|
|
7782
|
+
e ? (this._saveFocus(), this._animatedOpening(), nr(this, () => {
|
|
7783
7783
|
this._trapFocus();
|
|
7784
7784
|
const s = new CustomEvent("vaadin-overlay-open", { bubbles: !0 });
|
|
7785
7785
|
this.dispatchEvent(s);
|
|
@@ -7904,7 +7904,7 @@ const Gl = (o) => class extends Wl(Kl(o)) {
|
|
|
7904
7904
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7905
7905
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7906
7906
|
*/
|
|
7907
|
-
function
|
|
7907
|
+
function Xl(o) {
|
|
7908
7908
|
const t = [];
|
|
7909
7909
|
for (; o; ) {
|
|
7910
7910
|
if (o.nodeType === Node.DOCUMENT_NODE) {
|
|
@@ -7929,11 +7929,11 @@ function Qi(o) {
|
|
|
7929
7929
|
function Gt(o) {
|
|
7930
7930
|
return o ? [...o].join(" ") : "";
|
|
7931
7931
|
}
|
|
7932
|
-
function
|
|
7932
|
+
function ur(o, t, e) {
|
|
7933
7933
|
const i = Qi(o.getAttribute(t));
|
|
7934
7934
|
i.add(e), o.setAttribute(t, Gt(i));
|
|
7935
7935
|
}
|
|
7936
|
-
function
|
|
7936
|
+
function Zl(o, t, e) {
|
|
7937
7937
|
const i = Qi(o.getAttribute(t));
|
|
7938
7938
|
if (i.delete(e), i.size === 0) {
|
|
7939
7939
|
o.removeAttribute(t);
|
|
@@ -7941,7 +7941,7 @@ function Xl(o, t, e) {
|
|
|
7941
7941
|
}
|
|
7942
7942
|
o.setAttribute(t, Gt(i));
|
|
7943
7943
|
}
|
|
7944
|
-
function
|
|
7944
|
+
function Ql(o) {
|
|
7945
7945
|
return o.nodeType === Node.TEXT_NODE && o.textContent.trim() === "";
|
|
7946
7946
|
}
|
|
7947
7947
|
/**
|
|
@@ -7949,7 +7949,7 @@ function Zl(o) {
|
|
|
7949
7949
|
* Copyright (c) 2024 Vaadin Ltd.
|
|
7950
7950
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7951
7951
|
*/
|
|
7952
|
-
function
|
|
7952
|
+
function ec(o, t) {
|
|
7953
7953
|
let e = null;
|
|
7954
7954
|
const i = document.documentElement;
|
|
7955
7955
|
function s() {
|
|
@@ -7989,13 +7989,13 @@ const ci = {
|
|
|
7989
7989
|
}, ui = {
|
|
7990
7990
|
start: "left",
|
|
7991
7991
|
end: "right"
|
|
7992
|
-
},
|
|
7992
|
+
}, Uo = new ResizeObserver((o) => {
|
|
7993
7993
|
setTimeout(() => {
|
|
7994
7994
|
o.forEach((t) => {
|
|
7995
7995
|
t.target.__overlay && t.target.__overlay._updatePosition();
|
|
7996
7996
|
});
|
|
7997
7997
|
});
|
|
7998
|
-
}),
|
|
7998
|
+
}), tc = (o) => class extends o {
|
|
7999
7999
|
static get properties() {
|
|
8000
8000
|
return {
|
|
8001
8001
|
/**
|
|
@@ -8094,9 +8094,9 @@ const ci = {
|
|
|
8094
8094
|
}
|
|
8095
8095
|
/** @private */
|
|
8096
8096
|
__addUpdatePositionEventListeners() {
|
|
8097
|
-
window.visualViewport.addEventListener("resize", this._updatePosition), window.visualViewport.addEventListener("scroll", this.__onScroll, !0), this.__positionTargetAncestorRootNodes =
|
|
8097
|
+
window.visualViewport.addEventListener("resize", this._updatePosition), window.visualViewport.addEventListener("scroll", this.__onScroll, !0), this.__positionTargetAncestorRootNodes = Xl(this.positionTarget), this.__positionTargetAncestorRootNodes.forEach((e) => {
|
|
8098
8098
|
e.addEventListener("scroll", this.__onScroll, !0);
|
|
8099
|
-
}), this.positionTarget && (this.__observePositionTargetMove =
|
|
8099
|
+
}), this.positionTarget && (this.__observePositionTargetMove = ec(this.positionTarget, () => {
|
|
8100
8100
|
this._updatePosition();
|
|
8101
8101
|
}));
|
|
8102
8102
|
}
|
|
@@ -8108,7 +8108,7 @@ const ci = {
|
|
|
8108
8108
|
}
|
|
8109
8109
|
/** @private */
|
|
8110
8110
|
__overlayOpenedChanged(e, i) {
|
|
8111
|
-
if (this.__removeUpdatePositionEventListeners(), i && (i.__overlay = null,
|
|
8111
|
+
if (this.__removeUpdatePositionEventListeners(), i && (i.__overlay = null, Uo.unobserve(i), e && (this.__addUpdatePositionEventListeners(), i.__overlay = this, Uo.observe(i))), e) {
|
|
8112
8112
|
const s = getComputedStyle(this);
|
|
8113
8113
|
this.__margins || (this.__margins = {}, ["top", "bottom", "left", "right"].forEach((r) => {
|
|
8114
8114
|
this.__margins[r] = parseInt(s[r], 10);
|
|
@@ -8230,7 +8230,7 @@ const ci = {
|
|
|
8230
8230
|
* Copyright (c) 2015 - 2024 Vaadin Ltd.
|
|
8231
8231
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8232
8232
|
*/
|
|
8233
|
-
const
|
|
8233
|
+
const ic = (o) => class extends tc(Jl(o)) {
|
|
8234
8234
|
/**
|
|
8235
8235
|
* Override method inherited from `OverlayMixin` to not close on input click.
|
|
8236
8236
|
* Needed to ignore date-picker's own input in the mousedown listener below.
|
|
@@ -8247,7 +8247,7 @@ const tc = (o) => class extends ec(Gl(o)) {
|
|
|
8247
8247
|
* @override
|
|
8248
8248
|
*/
|
|
8249
8249
|
_mouseDownListener(e) {
|
|
8250
|
-
super._mouseDownListener(e), this._shouldCloseOnOutsideClick(e) && !
|
|
8250
|
+
super._mouseDownListener(e), this._shouldCloseOnOutsideClick(e) && !ir(e.composedPath()[0]) && e.preventDefault();
|
|
8251
8251
|
}
|
|
8252
8252
|
};
|
|
8253
8253
|
/**
|
|
@@ -8255,7 +8255,7 @@ const tc = (o) => class extends ec(Gl(o)) {
|
|
|
8255
8255
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
8256
8256
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8257
8257
|
*/
|
|
8258
|
-
const
|
|
8258
|
+
const oc = P`
|
|
8259
8259
|
[part='overlay'] {
|
|
8260
8260
|
display: flex;
|
|
8261
8261
|
flex: auto;
|
|
@@ -8276,10 +8276,10 @@ const ic = P`
|
|
|
8276
8276
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
8277
8277
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8278
8278
|
*/
|
|
8279
|
-
L("vaadin-date-picker-overlay", [
|
|
8279
|
+
L("vaadin-date-picker-overlay", [Pl, oc], {
|
|
8280
8280
|
moduleId: "vaadin-date-picker-overlay-styles"
|
|
8281
8281
|
});
|
|
8282
|
-
class
|
|
8282
|
+
class sc extends ic(qt(Ye(Ie))) {
|
|
8283
8283
|
static get is() {
|
|
8284
8284
|
return "vaadin-date-picker-overlay";
|
|
8285
8285
|
}
|
|
@@ -8294,34 +8294,34 @@ class oc extends tc(qt(Ye(Ie))) {
|
|
|
8294
8294
|
`;
|
|
8295
8295
|
}
|
|
8296
8296
|
}
|
|
8297
|
-
ve(
|
|
8298
|
-
const
|
|
8299
|
-
function
|
|
8297
|
+
ve(sc);
|
|
8298
|
+
const rc = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i, Nt = window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients;
|
|
8299
|
+
function nc() {
|
|
8300
8300
|
function o() {
|
|
8301
8301
|
return !0;
|
|
8302
8302
|
}
|
|
8303
|
-
return
|
|
8303
|
+
return dr(o);
|
|
8304
8304
|
}
|
|
8305
|
-
function
|
|
8305
|
+
function ac() {
|
|
8306
8306
|
try {
|
|
8307
|
-
return
|
|
8307
|
+
return lc() ? !0 : cc() ? Nt ? !uc() : !nc() : !1;
|
|
8308
8308
|
} catch (o) {
|
|
8309
8309
|
return !1;
|
|
8310
8310
|
}
|
|
8311
8311
|
}
|
|
8312
|
-
function
|
|
8312
|
+
function lc() {
|
|
8313
8313
|
return localStorage.getItem("vaadin.developmentmode.force");
|
|
8314
8314
|
}
|
|
8315
|
-
function
|
|
8315
|
+
function cc() {
|
|
8316
8316
|
return ["localhost", "127.0.0.1"].indexOf(window.location.hostname) >= 0;
|
|
8317
8317
|
}
|
|
8318
|
-
function
|
|
8318
|
+
function uc() {
|
|
8319
8319
|
return !!(Nt && Object.keys(Nt).map((t) => Nt[t]).filter((t) => t.productionMode).length > 0);
|
|
8320
8320
|
}
|
|
8321
|
-
function
|
|
8321
|
+
function dr(o, t) {
|
|
8322
8322
|
if (typeof o != "function")
|
|
8323
8323
|
return;
|
|
8324
|
-
const e =
|
|
8324
|
+
const e = rc.exec(o.toString());
|
|
8325
8325
|
if (e)
|
|
8326
8326
|
try {
|
|
8327
8327
|
o = new Function(e[1]);
|
|
@@ -8331,12 +8331,12 @@ function ur(o, t) {
|
|
|
8331
8331
|
return o(t);
|
|
8332
8332
|
}
|
|
8333
8333
|
window.Vaadin = window.Vaadin || {};
|
|
8334
|
-
const
|
|
8334
|
+
const Wo = function(o, t) {
|
|
8335
8335
|
if (window.Vaadin.developmentMode)
|
|
8336
|
-
return
|
|
8336
|
+
return dr(o, t);
|
|
8337
8337
|
};
|
|
8338
|
-
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode =
|
|
8339
|
-
function
|
|
8338
|
+
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode = ac());
|
|
8339
|
+
function dc() {
|
|
8340
8340
|
/*! vaadin-dev-mode:start
|
|
8341
8341
|
(function () {
|
|
8342
8342
|
'use strict';
|
|
@@ -8817,9 +8817,9 @@ function uc() {
|
|
|
8817
8817
|
|
|
8818
8818
|
vaadin-dev-mode:end **/
|
|
8819
8819
|
}
|
|
8820
|
-
const
|
|
8821
|
-
if (typeof
|
|
8822
|
-
return
|
|
8820
|
+
const hc = function() {
|
|
8821
|
+
if (typeof Wo == "function")
|
|
8822
|
+
return Wo(dc);
|
|
8823
8823
|
};
|
|
8824
8824
|
/**
|
|
8825
8825
|
* @license
|
|
@@ -8830,10 +8830,10 @@ const dc = function() {
|
|
|
8830
8830
|
* Code distributed by Google as part of the polymer project is also
|
|
8831
8831
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
8832
8832
|
*/
|
|
8833
|
-
let
|
|
8833
|
+
let qo = 0, hr = 0;
|
|
8834
8834
|
const Xe = [];
|
|
8835
8835
|
let Oi = !1;
|
|
8836
|
-
function
|
|
8836
|
+
function pc() {
|
|
8837
8837
|
Oi = !1;
|
|
8838
8838
|
const o = Xe.length;
|
|
8839
8839
|
for (let t = 0; t < o; t++) {
|
|
@@ -8847,7 +8847,7 @@ function hc() {
|
|
|
8847
8847
|
});
|
|
8848
8848
|
}
|
|
8849
8849
|
}
|
|
8850
|
-
Xe.splice(0, o),
|
|
8850
|
+
Xe.splice(0, o), hr += o;
|
|
8851
8851
|
}
|
|
8852
8852
|
const Yt = {
|
|
8853
8853
|
/**
|
|
@@ -8889,7 +8889,7 @@ const Yt = {
|
|
|
8889
8889
|
cancel(o) {
|
|
8890
8890
|
window.clearTimeout(o);
|
|
8891
8891
|
}
|
|
8892
|
-
},
|
|
8892
|
+
}, fc = {
|
|
8893
8893
|
/**
|
|
8894
8894
|
* Enqueues a function called at `requestAnimationFrame` timing.
|
|
8895
8895
|
*
|
|
@@ -8910,7 +8910,7 @@ const Yt = {
|
|
|
8910
8910
|
cancel(o) {
|
|
8911
8911
|
window.cancelAnimationFrame(o);
|
|
8912
8912
|
}
|
|
8913
|
-
},
|
|
8913
|
+
}, mc = {
|
|
8914
8914
|
/**
|
|
8915
8915
|
* Enqueues a function called at `requestIdleCallback` timing.
|
|
8916
8916
|
*
|
|
@@ -8931,7 +8931,7 @@ const Yt = {
|
|
|
8931
8931
|
cancel(o) {
|
|
8932
8932
|
window.cancelIdleCallback ? window.cancelIdleCallback(o) : window.clearTimeout(o);
|
|
8933
8933
|
}
|
|
8934
|
-
},
|
|
8934
|
+
}, _c = {
|
|
8935
8935
|
/**
|
|
8936
8936
|
* Enqueues a function called at microtask timing.
|
|
8937
8937
|
*
|
|
@@ -8940,9 +8940,9 @@ const Yt = {
|
|
|
8940
8940
|
* @return {number} Handle used for canceling task
|
|
8941
8941
|
*/
|
|
8942
8942
|
run(o) {
|
|
8943
|
-
Oi || (Oi = !0, queueMicrotask(() =>
|
|
8944
|
-
const t =
|
|
8945
|
-
return
|
|
8943
|
+
Oi || (Oi = !0, queueMicrotask(() => pc())), Xe.push(o);
|
|
8944
|
+
const t = qo;
|
|
8945
|
+
return qo += 1, t;
|
|
8946
8946
|
},
|
|
8947
8947
|
/**
|
|
8948
8948
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -8952,7 +8952,7 @@ const Yt = {
|
|
|
8952
8952
|
* @return {void}
|
|
8953
8953
|
*/
|
|
8954
8954
|
cancel(o) {
|
|
8955
|
-
const t = o -
|
|
8955
|
+
const t = o - hr;
|
|
8956
8956
|
if (t >= 0) {
|
|
8957
8957
|
if (!Xe[t])
|
|
8958
8958
|
throw new Error(`invalid async handle: ${o}`);
|
|
@@ -9061,7 +9061,7 @@ let tt = class Fi {
|
|
|
9061
9061
|
return this._timer != null;
|
|
9062
9062
|
}
|
|
9063
9063
|
};
|
|
9064
|
-
function
|
|
9064
|
+
function gc(o) {
|
|
9065
9065
|
Ii.add(o);
|
|
9066
9066
|
}
|
|
9067
9067
|
/**
|
|
@@ -9073,17 +9073,17 @@ window.Vaadin || (window.Vaadin = {});
|
|
|
9073
9073
|
window.Vaadin.registrations || (window.Vaadin.registrations = []);
|
|
9074
9074
|
window.Vaadin.developmentModeCallback || (window.Vaadin.developmentModeCallback = {});
|
|
9075
9075
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"] = function() {
|
|
9076
|
-
|
|
9076
|
+
hc();
|
|
9077
9077
|
};
|
|
9078
9078
|
let di;
|
|
9079
|
-
const
|
|
9079
|
+
const Ko = /* @__PURE__ */ new Set(), pr = (o) => class extends qt(o) {
|
|
9080
9080
|
/** @protected */
|
|
9081
9081
|
static finalize() {
|
|
9082
9082
|
super.finalize();
|
|
9083
9083
|
const { is: e } = this;
|
|
9084
|
-
e && !
|
|
9084
|
+
e && !Ko.has(e) && (window.Vaadin.registrations.push(this), Ko.add(e), window.Vaadin.developmentModeCallback && (di = tt.debounce(di, mc, () => {
|
|
9085
9085
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]();
|
|
9086
|
-
}),
|
|
9086
|
+
}), gc(di)));
|
|
9087
9087
|
}
|
|
9088
9088
|
constructor() {
|
|
9089
9089
|
super(), document.doctype === null && console.warn(
|
|
@@ -9096,7 +9096,7 @@ const qo = /* @__PURE__ */ new Set(), hr = (o) => class extends qt(o) {
|
|
|
9096
9096
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
9097
9097
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9098
9098
|
*/
|
|
9099
|
-
class
|
|
9099
|
+
class bc {
|
|
9100
9100
|
constructor(t, e) {
|
|
9101
9101
|
this.slot = t, this.callback = e, this._storedNodes = [], this._connected = !1, this._scheduled = !1, this._boundSchedule = () => {
|
|
9102
9102
|
this._schedule();
|
|
@@ -9146,9 +9146,9 @@ class gc {
|
|
|
9146
9146
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9147
9147
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9148
9148
|
*/
|
|
9149
|
-
let
|
|
9150
|
-
function
|
|
9151
|
-
return
|
|
9149
|
+
let vc = 0;
|
|
9150
|
+
function fr() {
|
|
9151
|
+
return vc++;
|
|
9152
9152
|
}
|
|
9153
9153
|
/**
|
|
9154
9154
|
* @license
|
|
@@ -9165,7 +9165,7 @@ class Le extends EventTarget {
|
|
|
9165
9165
|
* @protected
|
|
9166
9166
|
*/
|
|
9167
9167
|
static generateId(t, e = "default") {
|
|
9168
|
-
return `${e}-${t.localName}-${
|
|
9168
|
+
return `${e}-${t.localName}-${fr()}`;
|
|
9169
9169
|
}
|
|
9170
9170
|
constructor(t, e, i, s = {}) {
|
|
9171
9171
|
super();
|
|
@@ -9257,8 +9257,8 @@ class Le extends EventTarget {
|
|
|
9257
9257
|
*/
|
|
9258
9258
|
observeSlot() {
|
|
9259
9259
|
const { slotName: t } = this, e = t === "" ? "slot:not([name])" : `slot[name=${t}]`, i = this.host.shadowRoot.querySelector(e);
|
|
9260
|
-
this.__slotObserver = new
|
|
9261
|
-
const n = this.multiple ? this.nodes : [this.node], a = s.filter((l) => !
|
|
9260
|
+
this.__slotObserver = new bc(i, ({ addedNodes: s, removedNodes: r }) => {
|
|
9261
|
+
const n = this.multiple ? this.nodes : [this.node], a = s.filter((l) => !Ql(l) && !n.includes(l));
|
|
9262
9262
|
r.length && (this.nodes = n.filter((l) => !r.includes(l)), r.forEach((l) => {
|
|
9263
9263
|
this.teardownNode(l);
|
|
9264
9264
|
})), a && a.length > 0 && (this.multiple ? (this.defaultNode && this.defaultNode.remove(), this.nodes = [...n, ...a].filter((l) => l !== this.defaultNode), a.forEach((l) => {
|
|
@@ -9272,7 +9272,7 @@ class Le extends EventTarget {
|
|
|
9272
9272
|
* Copyright (c) 2022 - 2024 Vaadin Ltd.
|
|
9273
9273
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9274
9274
|
*/
|
|
9275
|
-
class
|
|
9275
|
+
class mr extends Le {
|
|
9276
9276
|
constructor(t) {
|
|
9277
9277
|
super(t, "tooltip"), this.setTarget(t);
|
|
9278
9278
|
}
|
|
@@ -9373,7 +9373,7 @@ class fr extends Le {
|
|
|
9373
9373
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
9374
9374
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9375
9375
|
*/
|
|
9376
|
-
const
|
|
9376
|
+
const yc = P`
|
|
9377
9377
|
:host {
|
|
9378
9378
|
display: inline-block;
|
|
9379
9379
|
position: relative;
|
|
@@ -9433,7 +9433,7 @@ const vc = P`
|
|
|
9433
9433
|
outline-color: GrayText;
|
|
9434
9434
|
}
|
|
9435
9435
|
}
|
|
9436
|
-
`,
|
|
9436
|
+
`, xc = (o) => o`
|
|
9437
9437
|
<div class="vaadin-button-container">
|
|
9438
9438
|
<span part="prefix" aria-hidden="true">
|
|
9439
9439
|
<slot name="prefix"></slot>
|
|
@@ -9456,7 +9456,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
9456
9456
|
Code distributed by Google as part of the polymer project is also
|
|
9457
9457
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
9458
9458
|
*/
|
|
9459
|
-
const
|
|
9459
|
+
const wc = (o) => o, _r = typeof document.head.style.touchAction == "string", Ni = "__polymerGestures", hi = "__polymerGesturesHandled", zi = "__polymerGesturesTouchAction", Go = 25, Jo = 5, Ec = 2, Sc = ["mousedown", "mousemove", "mouseup", "click"], Ac = [0, 1, 4, 2], Cc = function() {
|
|
9460
9460
|
try {
|
|
9461
9461
|
return new MouseEvent("test", { buttons: 1 }).buttons === 1;
|
|
9462
9462
|
} catch (o) {
|
|
@@ -9464,25 +9464,25 @@ const xc = (o) => o, mr = typeof document.head.style.touchAction == "string", Ni
|
|
|
9464
9464
|
}
|
|
9465
9465
|
}();
|
|
9466
9466
|
function eo(o) {
|
|
9467
|
-
return
|
|
9467
|
+
return Sc.indexOf(o) > -1;
|
|
9468
9468
|
}
|
|
9469
|
-
let
|
|
9469
|
+
let Pc = !1;
|
|
9470
9470
|
(function() {
|
|
9471
9471
|
try {
|
|
9472
9472
|
const o = Object.defineProperty({}, "passive", {
|
|
9473
9473
|
// eslint-disable-next-line getter-return
|
|
9474
9474
|
get() {
|
|
9475
|
-
|
|
9475
|
+
Pc = !0;
|
|
9476
9476
|
}
|
|
9477
9477
|
});
|
|
9478
9478
|
window.addEventListener("test", null, o), window.removeEventListener("test", null, o);
|
|
9479
9479
|
} catch (o) {
|
|
9480
9480
|
}
|
|
9481
9481
|
})();
|
|
9482
|
-
function
|
|
9482
|
+
function kc(o) {
|
|
9483
9483
|
eo(o);
|
|
9484
9484
|
}
|
|
9485
|
-
const
|
|
9485
|
+
const Dc = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), Tc = {
|
|
9486
9486
|
button: !0,
|
|
9487
9487
|
command: !0,
|
|
9488
9488
|
fieldset: !0,
|
|
@@ -9499,11 +9499,11 @@ function He(o) {
|
|
|
9499
9499
|
return !1;
|
|
9500
9500
|
if (t === "mousemove") {
|
|
9501
9501
|
let i = o.buttons === void 0 ? 1 : o.buttons;
|
|
9502
|
-
return o instanceof window.MouseEvent && !
|
|
9502
|
+
return o instanceof window.MouseEvent && !Cc && (i = Ac[o.which] || 0), !!(i & 1);
|
|
9503
9503
|
}
|
|
9504
9504
|
return (o.button === void 0 ? 0 : o.button) === 0;
|
|
9505
9505
|
}
|
|
9506
|
-
function
|
|
9506
|
+
function Mc(o) {
|
|
9507
9507
|
if (o.type === "click") {
|
|
9508
9508
|
if (o.detail === 0)
|
|
9509
9509
|
return !0;
|
|
@@ -9527,9 +9527,9 @@ const Se = {
|
|
|
9527
9527
|
scrollDecided: !1
|
|
9528
9528
|
}
|
|
9529
9529
|
};
|
|
9530
|
-
function
|
|
9530
|
+
function Oc(o) {
|
|
9531
9531
|
let t = "auto";
|
|
9532
|
-
const e =
|
|
9532
|
+
const e = br(o);
|
|
9533
9533
|
for (let i = 0, s; i < e.length; i++)
|
|
9534
9534
|
if (s = e[i], s[zi]) {
|
|
9535
9535
|
t = s[zi];
|
|
@@ -9537,14 +9537,14 @@ function Mc(o) {
|
|
|
9537
9537
|
}
|
|
9538
9538
|
return t;
|
|
9539
9539
|
}
|
|
9540
|
-
function
|
|
9540
|
+
function gr(o, t, e) {
|
|
9541
9541
|
o.movefn = t, o.upfn = e, document.addEventListener("mousemove", t), document.addEventListener("mouseup", e);
|
|
9542
9542
|
}
|
|
9543
9543
|
function Ze(o) {
|
|
9544
9544
|
document.removeEventListener("mousemove", o.movefn), document.removeEventListener("mouseup", o.upfn), o.movefn = null, o.upfn = null;
|
|
9545
9545
|
}
|
|
9546
|
-
const
|
|
9547
|
-
function
|
|
9546
|
+
const br = window.ShadyDOM && window.ShadyDOM.noPatch ? window.ShadyDOM.composedPath : (o) => o.composedPath && o.composedPath() || [], to = {}, Re = [];
|
|
9547
|
+
function Ic(o, t) {
|
|
9548
9548
|
let e = document.elementFromPoint(o, t), i = e;
|
|
9549
9549
|
for (; i && i.shadowRoot && !window.ShadyDOM; ) {
|
|
9550
9550
|
const s = i;
|
|
@@ -9555,13 +9555,13 @@ function Oc(o, t) {
|
|
|
9555
9555
|
return e;
|
|
9556
9556
|
}
|
|
9557
9557
|
function Oe(o) {
|
|
9558
|
-
const t =
|
|
9558
|
+
const t = br(
|
|
9559
9559
|
/** @type {?Event} */
|
|
9560
9560
|
o
|
|
9561
9561
|
);
|
|
9562
9562
|
return t.length > 0 ? t[0] : o.target;
|
|
9563
9563
|
}
|
|
9564
|
-
function
|
|
9564
|
+
function Fc(o) {
|
|
9565
9565
|
const t = o.type, i = o.currentTarget[Ni];
|
|
9566
9566
|
if (!i)
|
|
9567
9567
|
return;
|
|
@@ -9572,7 +9572,7 @@ function Ic(o) {
|
|
|
9572
9572
|
const n = o.changedTouches[0];
|
|
9573
9573
|
if (t === "touchstart" && o.touches.length === 1 && (Se.touch.id = n.identifier), Se.touch.id !== n.identifier)
|
|
9574
9574
|
return;
|
|
9575
|
-
|
|
9575
|
+
_r || (t === "touchstart" || t === "touchmove") && Nc(o);
|
|
9576
9576
|
}
|
|
9577
9577
|
const r = o[hi];
|
|
9578
9578
|
if (!r.skip) {
|
|
@@ -9582,7 +9582,7 @@ function Ic(o) {
|
|
|
9582
9582
|
a = Re[n], s[a.name] && !r[a.name] && (r[a.name] = !0, a[t](o));
|
|
9583
9583
|
}
|
|
9584
9584
|
}
|
|
9585
|
-
function
|
|
9585
|
+
function Nc(o) {
|
|
9586
9586
|
const t = o.changedTouches[0], e = o.type;
|
|
9587
9587
|
if (e === "touchstart")
|
|
9588
9588
|
Se.touch.x = t.clientX, Se.touch.y = t.clientY, Se.touch.scrollDecided = !1;
|
|
@@ -9590,29 +9590,29 @@ function Fc(o) {
|
|
|
9590
9590
|
if (Se.touch.scrollDecided)
|
|
9591
9591
|
return;
|
|
9592
9592
|
Se.touch.scrollDecided = !0;
|
|
9593
|
-
const i =
|
|
9593
|
+
const i = Oc(o);
|
|
9594
9594
|
let s = !1;
|
|
9595
9595
|
const r = Math.abs(Se.touch.x - t.clientX), n = Math.abs(Se.touch.y - t.clientY);
|
|
9596
9596
|
o.cancelable && (i === "none" ? s = !0 : i === "pan-x" ? s = n > r : i === "pan-y" && (s = r > n)), s ? o.preventDefault() : jt("track");
|
|
9597
9597
|
}
|
|
9598
9598
|
}
|
|
9599
9599
|
function be(o, t, e) {
|
|
9600
|
-
return to[t] ? (
|
|
9600
|
+
return to[t] ? (zc(o, t, e), !0) : !1;
|
|
9601
9601
|
}
|
|
9602
|
-
function
|
|
9602
|
+
function zc(o, t, e) {
|
|
9603
9603
|
const i = to[t], s = i.deps, r = i.name;
|
|
9604
9604
|
let n = o[Ni];
|
|
9605
9605
|
n || (o[Ni] = n = {});
|
|
9606
9606
|
for (let a = 0, l, c; a < s.length; a++)
|
|
9607
|
-
l = s[a], !(
|
|
9608
|
-
o.addEventListener(t, e), i.touchAction &&
|
|
9607
|
+
l = s[a], !(Dc && eo(l) && l !== "click") && (c = n[l], c || (n[l] = c = { _count: 0 }), c._count === 0 && o.addEventListener(l, Fc, kc(l)), c[r] = (c[r] || 0) + 1, c._count = (c._count || 0) + 1);
|
|
9608
|
+
o.addEventListener(t, e), i.touchAction && vr(o, i.touchAction);
|
|
9609
9609
|
}
|
|
9610
9610
|
function io(o) {
|
|
9611
9611
|
Re.push(o), o.emits.forEach((t) => {
|
|
9612
9612
|
to[t] = o;
|
|
9613
9613
|
});
|
|
9614
9614
|
}
|
|
9615
|
-
function
|
|
9615
|
+
function Lc(o) {
|
|
9616
9616
|
for (let t = 0, e; t < Re.length; t++) {
|
|
9617
9617
|
e = Re[t];
|
|
9618
9618
|
for (let i = 0, s; i < e.emits.length; i++)
|
|
@@ -9621,14 +9621,14 @@ function zc(o) {
|
|
|
9621
9621
|
}
|
|
9622
9622
|
return null;
|
|
9623
9623
|
}
|
|
9624
|
-
function
|
|
9625
|
-
|
|
9624
|
+
function vr(o, t) {
|
|
9625
|
+
_r && o instanceof HTMLElement && _c.run(() => {
|
|
9626
9626
|
o.style.touchAction = t;
|
|
9627
9627
|
}), o[zi] = t;
|
|
9628
9628
|
}
|
|
9629
9629
|
function oo(o, t, e) {
|
|
9630
9630
|
const i = new Event(t, { bubbles: !0, cancelable: !0, composed: !0 });
|
|
9631
|
-
if (i.detail = e,
|
|
9631
|
+
if (i.detail = e, wc(
|
|
9632
9632
|
/** @type {!Node} */
|
|
9633
9633
|
o
|
|
9634
9634
|
).dispatchEvent(i), i.defaultPrevented) {
|
|
@@ -9637,7 +9637,7 @@ function oo(o, t, e) {
|
|
|
9637
9637
|
}
|
|
9638
9638
|
}
|
|
9639
9639
|
function jt(o) {
|
|
9640
|
-
const t =
|
|
9640
|
+
const t = Lc(o);
|
|
9641
9641
|
t.info && (t.info.prevent = !0);
|
|
9642
9642
|
}
|
|
9643
9643
|
io({
|
|
@@ -9672,7 +9672,7 @@ io({
|
|
|
9672
9672
|
}, s = (r) => {
|
|
9673
9673
|
He(r) && ct("up", t, r), Ze(e.info);
|
|
9674
9674
|
};
|
|
9675
|
-
|
|
9675
|
+
gr(this.info, i, s), ct("down", t, o);
|
|
9676
9676
|
},
|
|
9677
9677
|
/**
|
|
9678
9678
|
* @this {GestureRecognizer}
|
|
@@ -9719,7 +9719,7 @@ io({
|
|
|
9719
9719
|
moves: [],
|
|
9720
9720
|
/** @this {GestureInfo} */
|
|
9721
9721
|
addMove(o) {
|
|
9722
|
-
this.moves.length >
|
|
9722
|
+
this.moves.length > Ec && this.moves.shift(), this.moves.push(o);
|
|
9723
9723
|
},
|
|
9724
9724
|
movefn: null,
|
|
9725
9725
|
upfn: null,
|
|
@@ -9742,11 +9742,11 @@ io({
|
|
|
9742
9742
|
return;
|
|
9743
9743
|
const t = Oe(o), e = this, i = (r) => {
|
|
9744
9744
|
const n = r.clientX, a = r.clientY;
|
|
9745
|
-
|
|
9745
|
+
Xo(e.info, n, a) && (e.info.state = e.info.started ? r.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" && jt("tap"), e.info.addMove({ x: n, y: a }), He(r) || (e.info.state = "end", Ze(e.info)), t && pi(e.info, t, r), e.info.started = !0);
|
|
9746
9746
|
}, s = (r) => {
|
|
9747
9747
|
e.info.started && i(r), Ze(e.info);
|
|
9748
9748
|
};
|
|
9749
|
-
|
|
9749
|
+
gr(this.info, i, s), this.info.x = o.clientX, this.info.y = o.clientY;
|
|
9750
9750
|
},
|
|
9751
9751
|
/**
|
|
9752
9752
|
* @this {GestureRecognizer}
|
|
@@ -9764,7 +9764,7 @@ io({
|
|
|
9764
9764
|
*/
|
|
9765
9765
|
touchmove(o) {
|
|
9766
9766
|
const t = Oe(o), e = o.changedTouches[0], i = e.clientX, s = e.clientY;
|
|
9767
|
-
|
|
9767
|
+
Xo(this.info, i, s) && (this.info.state === "start" && jt("tap"), this.info.addMove({ x: i, y: s }), pi(this.info, t, e), this.info.state = "track", this.info.started = !0);
|
|
9768
9768
|
},
|
|
9769
9769
|
/**
|
|
9770
9770
|
* @this {GestureRecognizer}
|
|
@@ -9776,13 +9776,13 @@ io({
|
|
|
9776
9776
|
this.info.started && (this.info.state = "end", this.info.addMove({ x: e.clientX, y: e.clientY }), pi(this.info, t, e));
|
|
9777
9777
|
}
|
|
9778
9778
|
});
|
|
9779
|
-
function
|
|
9779
|
+
function Xo(o, t, e) {
|
|
9780
9780
|
if (o.prevent)
|
|
9781
9781
|
return !1;
|
|
9782
9782
|
if (o.started)
|
|
9783
9783
|
return !0;
|
|
9784
9784
|
const i = Math.abs(o.x - t), s = Math.abs(o.y - e);
|
|
9785
|
-
return i >=
|
|
9785
|
+
return i >= Jo || s >= Jo;
|
|
9786
9786
|
}
|
|
9787
9787
|
function pi(o, t, e) {
|
|
9788
9788
|
if (!t)
|
|
@@ -9799,7 +9799,7 @@ function pi(o, t, e) {
|
|
|
9799
9799
|
ddy: l,
|
|
9800
9800
|
sourceEvent: e,
|
|
9801
9801
|
hover() {
|
|
9802
|
-
return
|
|
9802
|
+
return Ic(e.clientX, e.clientY);
|
|
9803
9803
|
}
|
|
9804
9804
|
});
|
|
9805
9805
|
}
|
|
@@ -9837,7 +9837,7 @@ io({
|
|
|
9837
9837
|
* @return {void}
|
|
9838
9838
|
*/
|
|
9839
9839
|
click(o) {
|
|
9840
|
-
He(o) &&
|
|
9840
|
+
He(o) && Zo(this.info, o);
|
|
9841
9841
|
},
|
|
9842
9842
|
/**
|
|
9843
9843
|
* @this {GestureRecognizer}
|
|
@@ -9854,15 +9854,15 @@ io({
|
|
|
9854
9854
|
* @return {void}
|
|
9855
9855
|
*/
|
|
9856
9856
|
touchend(o) {
|
|
9857
|
-
|
|
9857
|
+
Zo(this.info, o.changedTouches[0], o);
|
|
9858
9858
|
}
|
|
9859
9859
|
});
|
|
9860
|
-
function
|
|
9860
|
+
function Zo(o, t, e) {
|
|
9861
9861
|
const i = Math.abs(t.clientX - o.x), s = Math.abs(t.clientY - o.y), r = Oe(e || t);
|
|
9862
|
-
!r ||
|
|
9862
|
+
!r || Tc[
|
|
9863
9863
|
/** @type {!HTMLElement} */
|
|
9864
9864
|
r.localName
|
|
9865
|
-
] && r.hasAttribute("disabled") || (isNaN(i) || isNaN(s) || i <=
|
|
9865
|
+
] && r.hasAttribute("disabled") || (isNaN(i) || isNaN(s) || i <= Go && s <= Go || Mc(t)) && (o.prevent || oo(r, "tap", {
|
|
9866
9866
|
x: t.clientX,
|
|
9867
9867
|
y: t.clientY,
|
|
9868
9868
|
sourceEvent: t,
|
|
@@ -9874,7 +9874,7 @@ function Xo(o, t, e) {
|
|
|
9874
9874
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9875
9875
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9876
9876
|
*/
|
|
9877
|
-
const
|
|
9877
|
+
const yr = q(
|
|
9878
9878
|
(o) => class extends o {
|
|
9879
9879
|
static get properties() {
|
|
9880
9880
|
return {
|
|
@@ -9981,7 +9981,7 @@ const Jt = q(
|
|
|
9981
9981
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9982
9982
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9983
9983
|
*/
|
|
9984
|
-
const
|
|
9984
|
+
const Rc = (o) => class extends yr(Jt(o)) {
|
|
9985
9985
|
/**
|
|
9986
9986
|
* An array of activation keys.
|
|
9987
9987
|
*
|
|
@@ -10101,7 +10101,7 @@ const so = q(
|
|
|
10101
10101
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
10102
10102
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10103
10103
|
*/
|
|
10104
|
-
const
|
|
10104
|
+
const xr = (o) => class extends yr(o) {
|
|
10105
10105
|
static get properties() {
|
|
10106
10106
|
return {
|
|
10107
10107
|
/**
|
|
@@ -10152,7 +10152,7 @@ const yr = (o) => class extends vr(o) {
|
|
|
10152
10152
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10153
10153
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10154
10154
|
*/
|
|
10155
|
-
const
|
|
10155
|
+
const Bc = (o) => class extends Rc(xr(so(o))) {
|
|
10156
10156
|
static get properties() {
|
|
10157
10157
|
return {
|
|
10158
10158
|
/**
|
|
@@ -10207,26 +10207,26 @@ const Rc = (o) => class extends Lc(yr(so(o))) {
|
|
|
10207
10207
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10208
10208
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10209
10209
|
*/
|
|
10210
|
-
L("vaadin-button",
|
|
10211
|
-
class
|
|
10210
|
+
L("vaadin-button", yc, { moduleId: "vaadin-button-styles" });
|
|
10211
|
+
class Hc extends Bc(pr(Ye(st(Ie)))) {
|
|
10212
10212
|
static get is() {
|
|
10213
10213
|
return "vaadin-button";
|
|
10214
10214
|
}
|
|
10215
10215
|
static get template() {
|
|
10216
|
-
return
|
|
10216
|
+
return xc(Ve);
|
|
10217
10217
|
}
|
|
10218
10218
|
/** @protected */
|
|
10219
10219
|
ready() {
|
|
10220
|
-
super.ready(), this._tooltipController = new
|
|
10220
|
+
super.ready(), this._tooltipController = new mr(this), this.addController(this._tooltipController);
|
|
10221
10221
|
}
|
|
10222
10222
|
}
|
|
10223
|
-
ve(
|
|
10223
|
+
ve(Hc);
|
|
10224
10224
|
/**
|
|
10225
10225
|
* @license
|
|
10226
10226
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10227
10227
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10228
10228
|
*/
|
|
10229
|
-
function
|
|
10229
|
+
function $c(o) {
|
|
10230
10230
|
let t = o.getDay();
|
|
10231
10231
|
t === 0 && (t = 7);
|
|
10232
10232
|
const e = 4 - t, i = new Date(o.getTime() + e * 24 * 3600 * 1e3), s = new Date(0, 0);
|
|
@@ -10256,7 +10256,7 @@ function it(o, t, e, i) {
|
|
|
10256
10256
|
}
|
|
10257
10257
|
return (!t || o >= t) && (!e || o <= e) && !s;
|
|
10258
10258
|
}
|
|
10259
|
-
function
|
|
10259
|
+
function wr(o, t) {
|
|
10260
10260
|
return t.filter((e) => e !== void 0).reduce((e, i) => {
|
|
10261
10261
|
if (!i)
|
|
10262
10262
|
return e;
|
|
@@ -10266,11 +10266,11 @@ function xr(o, t) {
|
|
|
10266
10266
|
return s < r ? i : e;
|
|
10267
10267
|
});
|
|
10268
10268
|
}
|
|
10269
|
-
function
|
|
10269
|
+
function Er(o) {
|
|
10270
10270
|
const t = /* @__PURE__ */ new Date(), e = new Date(t);
|
|
10271
10271
|
return e.setDate(1), e.setMonth(parseInt(o) + t.getMonth()), e;
|
|
10272
10272
|
}
|
|
10273
|
-
function
|
|
10273
|
+
function Yc(o, t, e = 0, i = 1) {
|
|
10274
10274
|
if (t > 99)
|
|
10275
10275
|
throw new Error("The provided year cannot have more than 2 digits.");
|
|
10276
10276
|
if (t < 0)
|
|
@@ -10285,15 +10285,15 @@ function ut(o) {
|
|
|
10285
10285
|
const e = new Date(0, 0);
|
|
10286
10286
|
return e.setFullYear(parseInt(t[1], 10)), e.setMonth(parseInt(t[2], 10) - 1), e.setDate(parseInt(t[3], 10)), e;
|
|
10287
10287
|
}
|
|
10288
|
-
function
|
|
10288
|
+
function jc(o) {
|
|
10289
10289
|
const t = (l, c = "00") => (c + l).substr((c + l).length - c.length);
|
|
10290
10290
|
let e = "", i = "0000", s = o.year;
|
|
10291
10291
|
s < 0 ? (s = -s, e = "-", i = "000000") : o.year >= 1e4 && (e = "+", i = "000000");
|
|
10292
10292
|
const r = e + t(s, i), n = t(o.month + 1), a = t(o.day);
|
|
10293
10293
|
return [r, n, a].join("-");
|
|
10294
10294
|
}
|
|
10295
|
-
function
|
|
10296
|
-
return o instanceof Date ?
|
|
10295
|
+
function Vc(o) {
|
|
10296
|
+
return o instanceof Date ? jc({
|
|
10297
10297
|
year: o.getFullYear(),
|
|
10298
10298
|
month: o.getMonth(),
|
|
10299
10299
|
day: o.getDate()
|
|
@@ -10400,9 +10400,9 @@ class Vt {
|
|
|
10400
10400
|
}
|
|
10401
10401
|
}
|
|
10402
10402
|
let St = /* @__PURE__ */ new Set();
|
|
10403
|
-
const
|
|
10403
|
+
const Uc = function(o) {
|
|
10404
10404
|
St.add(o);
|
|
10405
|
-
},
|
|
10405
|
+
}, Wc = function() {
|
|
10406
10406
|
const o = !!St.size;
|
|
10407
10407
|
return St.forEach((t) => {
|
|
10408
10408
|
try {
|
|
@@ -10426,7 +10426,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
10426
10426
|
const no = function() {
|
|
10427
10427
|
let o, t;
|
|
10428
10428
|
do
|
|
10429
|
-
o = window.ShadyDOM && ShadyDOM.flush(), window.ShadyCSS && window.ShadyCSS.ScopingShim && window.ShadyCSS.ScopingShim.flush(), t =
|
|
10429
|
+
o = window.ShadyDOM && ShadyDOM.flush(), window.ShadyCSS && window.ShadyCSS.ScopingShim && window.ShadyCSS.ScopingShim.flush(), t = Wc();
|
|
10430
10430
|
while (o || t);
|
|
10431
10431
|
};
|
|
10432
10432
|
/**
|
|
@@ -10434,8 +10434,8 @@ const no = function() {
|
|
|
10434
10434
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10435
10435
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10436
10436
|
*/
|
|
10437
|
-
const
|
|
10438
|
-
|
|
10437
|
+
const Sr = document.createElement("template");
|
|
10438
|
+
Sr.innerHTML = `
|
|
10439
10439
|
<style>
|
|
10440
10440
|
:host {
|
|
10441
10441
|
display: block;
|
|
@@ -10486,9 +10486,9 @@ Er.innerHTML = `
|
|
|
10486
10486
|
<div id="fullHeight"></div>
|
|
10487
10487
|
</div>
|
|
10488
10488
|
`;
|
|
10489
|
-
class
|
|
10489
|
+
class Ar extends HTMLElement {
|
|
10490
10490
|
constructor() {
|
|
10491
|
-
super(), this.attachShadow({ mode: "open" }).appendChild(
|
|
10491
|
+
super(), this.attachShadow({ mode: "open" }).appendChild(Sr.content.cloneNode(!0)), this.bufferSize = 20, this._initialScroll = 5e5, this._initialIndex = 0, this._activated = !1;
|
|
10492
10492
|
}
|
|
10493
10493
|
/**
|
|
10494
10494
|
* @return {boolean}
|
|
@@ -10604,7 +10604,7 @@ class Sr extends HTMLElement {
|
|
|
10604
10604
|
for (let i = 0; i < this.bufferSize; i++) {
|
|
10605
10605
|
const s = document.createElement("div");
|
|
10606
10606
|
s.style.height = `${this.itemHeight}px`, s.instance = {};
|
|
10607
|
-
const r = `vaadin-infinite-scroller-item-content-${
|
|
10607
|
+
const r = `vaadin-infinite-scroller-item-content-${fr()}`, n = document.createElement("slot");
|
|
10608
10608
|
n.setAttribute("name", r), n._itemWrapper = s, e.appendChild(n), s.setAttribute("slot", r), this.appendChild(s), this._isVisible(s, t) && this._ensureStampedInstance(s);
|
|
10609
10609
|
}
|
|
10610
10610
|
}), requestAnimationFrame(() => {
|
|
@@ -10645,8 +10645,8 @@ class Sr extends HTMLElement {
|
|
|
10645
10645
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10646
10646
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10647
10647
|
*/
|
|
10648
|
-
const
|
|
10649
|
-
|
|
10648
|
+
const Cr = document.createElement("template");
|
|
10649
|
+
Cr.innerHTML = `
|
|
10650
10650
|
<style>
|
|
10651
10651
|
:host {
|
|
10652
10652
|
--vaadin-infinite-scroller-item-height: 270px;
|
|
@@ -10659,12 +10659,12 @@ Ar.innerHTML = `
|
|
|
10659
10659
|
}
|
|
10660
10660
|
</style>
|
|
10661
10661
|
`;
|
|
10662
|
-
class
|
|
10662
|
+
class qc extends Ar {
|
|
10663
10663
|
static get is() {
|
|
10664
10664
|
return "vaadin-date-picker-month-scroller";
|
|
10665
10665
|
}
|
|
10666
10666
|
constructor() {
|
|
10667
|
-
super(), this.bufferSize = 3, this.shadowRoot.appendChild(
|
|
10667
|
+
super(), this.bufferSize = 3, this.shadowRoot.appendChild(Cr.content.cloneNode(!0));
|
|
10668
10668
|
}
|
|
10669
10669
|
/**
|
|
10670
10670
|
* @protected
|
|
@@ -10680,17 +10680,17 @@ class Wc extends Sr {
|
|
|
10680
10680
|
* @override
|
|
10681
10681
|
*/
|
|
10682
10682
|
_updateElement(t, e) {
|
|
10683
|
-
t.month =
|
|
10683
|
+
t.month = Er(e);
|
|
10684
10684
|
}
|
|
10685
10685
|
}
|
|
10686
|
-
ve(
|
|
10686
|
+
ve(qc);
|
|
10687
10687
|
/**
|
|
10688
10688
|
* @license
|
|
10689
10689
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10690
10690
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10691
10691
|
*/
|
|
10692
|
-
const
|
|
10693
|
-
|
|
10692
|
+
const Pr = document.createElement("template");
|
|
10693
|
+
Pr.innerHTML = `
|
|
10694
10694
|
<style>
|
|
10695
10695
|
:host {
|
|
10696
10696
|
--vaadin-infinite-scroller-item-height: 80px;
|
|
@@ -10725,12 +10725,12 @@ Cr.innerHTML = `
|
|
|
10725
10725
|
}
|
|
10726
10726
|
</style>
|
|
10727
10727
|
`;
|
|
10728
|
-
class
|
|
10728
|
+
class Kc extends Ar {
|
|
10729
10729
|
static get is() {
|
|
10730
10730
|
return "vaadin-date-picker-year-scroller";
|
|
10731
10731
|
}
|
|
10732
10732
|
constructor() {
|
|
10733
|
-
super(), this.bufferSize = 12, this.shadowRoot.appendChild(
|
|
10733
|
+
super(), this.bufferSize = 12, this.shadowRoot.appendChild(Pr.content.cloneNode(!0));
|
|
10734
10734
|
}
|
|
10735
10735
|
/**
|
|
10736
10736
|
* @protected
|
|
@@ -10754,13 +10754,13 @@ class qc extends Sr {
|
|
|
10754
10754
|
return i.setFullYear(parseInt(t) + e.getFullYear()), i.getFullYear();
|
|
10755
10755
|
}
|
|
10756
10756
|
}
|
|
10757
|
-
ve(
|
|
10757
|
+
ve(Kc);
|
|
10758
10758
|
/**
|
|
10759
10759
|
* @license
|
|
10760
10760
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10761
10761
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10762
10762
|
*/
|
|
10763
|
-
const
|
|
10763
|
+
const Gc = (o) => class extends o {
|
|
10764
10764
|
static get properties() {
|
|
10765
10765
|
return {
|
|
10766
10766
|
year: {
|
|
@@ -10786,7 +10786,7 @@ const Kc = (o) => class extends o {
|
|
|
10786
10786
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10787
10787
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10788
10788
|
*/
|
|
10789
|
-
class
|
|
10789
|
+
class Jc extends Ye(Gc(Ie)) {
|
|
10790
10790
|
static get is() {
|
|
10791
10791
|
return "vaadin-date-picker-year";
|
|
10792
10792
|
}
|
|
@@ -10803,7 +10803,7 @@ class Gc extends Ye(Kc(Ie)) {
|
|
|
10803
10803
|
`;
|
|
10804
10804
|
}
|
|
10805
10805
|
}
|
|
10806
|
-
ve(
|
|
10806
|
+
ve(Jc);
|
|
10807
10807
|
/**
|
|
10808
10808
|
@license
|
|
10809
10809
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -10843,7 +10843,7 @@ const lo = q((o) => {
|
|
|
10843
10843
|
}
|
|
10844
10844
|
}
|
|
10845
10845
|
return t;
|
|
10846
|
-
}),
|
|
10846
|
+
}), Xc = q((o) => {
|
|
10847
10847
|
class t extends o {
|
|
10848
10848
|
/** @nocollapse */
|
|
10849
10849
|
static get properties() {
|
|
@@ -10900,13 +10900,13 @@ Bi.prototype = Object.create(HTMLTemplateElement.prototype, {
|
|
|
10900
10900
|
writable: !0
|
|
10901
10901
|
}
|
|
10902
10902
|
});
|
|
10903
|
-
const
|
|
10904
|
-
function
|
|
10903
|
+
const kr = Ji(Bi), Zc = lo(kr);
|
|
10904
|
+
function Qc(o, t) {
|
|
10905
10905
|
Ri = o, Object.setPrototypeOf(o, t.prototype), new t(), Ri = null;
|
|
10906
10906
|
}
|
|
10907
|
-
const
|
|
10907
|
+
const eu = Ji(class {
|
|
10908
10908
|
});
|
|
10909
|
-
function
|
|
10909
|
+
function tu(o, t) {
|
|
10910
10910
|
for (let e = 0; e < t.length; e++) {
|
|
10911
10911
|
let i = t[e];
|
|
10912
10912
|
if (!!o != !!i.__hideTemplateChildren__)
|
|
@@ -10924,7 +10924,7 @@ function eu(o, t) {
|
|
|
10924
10924
|
i.__hideTemplateChildren__ = o, i._showHideChildren && i._showHideChildren(o);
|
|
10925
10925
|
}
|
|
10926
10926
|
}
|
|
10927
|
-
class Fe extends
|
|
10927
|
+
class Fe extends eu {
|
|
10928
10928
|
constructor(t) {
|
|
10929
10929
|
super(), this._configureProperties(t), this.root = this._stampTemplate(this.__dataHost);
|
|
10930
10930
|
let e = [];
|
|
@@ -10993,7 +10993,7 @@ class Fe extends Qc {
|
|
|
10993
10993
|
* @protected
|
|
10994
10994
|
*/
|
|
10995
10995
|
_showHideChildren(t) {
|
|
10996
|
-
|
|
10996
|
+
tu(t, this.children);
|
|
10997
10997
|
}
|
|
10998
10998
|
/**
|
|
10999
10999
|
* Overrides default property-effects implementation to intercept
|
|
@@ -11046,31 +11046,31 @@ Fe.prototype.__templatizeOptions;
|
|
|
11046
11046
|
Fe.prototype._methodHost;
|
|
11047
11047
|
Fe.prototype.__templatizeOwner;
|
|
11048
11048
|
Fe.prototype.__hostProps;
|
|
11049
|
-
const
|
|
11049
|
+
const iu = lo(
|
|
11050
11050
|
// This cast shouldn't be neccessary, but Closure doesn't understand that
|
|
11051
11051
|
// TemplateInstanceBase is a constructor function.
|
|
11052
11052
|
/** @type {function(new:TemplateInstanceBase)} */
|
|
11053
11053
|
Fe
|
|
11054
11054
|
);
|
|
11055
|
-
function
|
|
11055
|
+
function Qo(o) {
|
|
11056
11056
|
let t = o.__dataHost;
|
|
11057
11057
|
return t && t._methodHost || t;
|
|
11058
11058
|
}
|
|
11059
|
-
function
|
|
11060
|
-
let i = e.mutableData ?
|
|
11059
|
+
function ou(o, t, e) {
|
|
11060
|
+
let i = e.mutableData ? iu : Fe;
|
|
11061
11061
|
Hi.mixin && (i = Hi.mixin(i));
|
|
11062
11062
|
let s = class extends i {
|
|
11063
11063
|
};
|
|
11064
|
-
return s.prototype.__templatizeOptions = e, s.prototype._bindTemplate(o),
|
|
11064
|
+
return s.prototype.__templatizeOptions = e, s.prototype._bindTemplate(o), nu(s, o, t, e), s;
|
|
11065
11065
|
}
|
|
11066
|
-
function
|
|
11066
|
+
function su(o, t, e, i) {
|
|
11067
11067
|
let s = e.forwardHostProp;
|
|
11068
11068
|
if (s && t.hasHostProps) {
|
|
11069
11069
|
const r = o.localName == "template";
|
|
11070
11070
|
let n = t.templatizeTemplateClass;
|
|
11071
11071
|
if (!n) {
|
|
11072
11072
|
if (r) {
|
|
11073
|
-
let l = e.mutableData ?
|
|
11073
|
+
let l = e.mutableData ? Zc : kr;
|
|
11074
11074
|
class c extends l {
|
|
11075
11075
|
}
|
|
11076
11076
|
n = t.templatizeTemplateClass = c;
|
|
@@ -11085,12 +11085,12 @@ function ou(o, t, e, i) {
|
|
|
11085
11085
|
n.prototype._addPropertyEffect(
|
|
11086
11086
|
"_host_" + l,
|
|
11087
11087
|
n.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE,
|
|
11088
|
-
{ fn:
|
|
11088
|
+
{ fn: ru(l, s) }
|
|
11089
11089
|
), n.prototype._createNotifyingProperty("_host_" + l);
|
|
11090
|
-
|
|
11090
|
+
Is && i && cu(t, e, i);
|
|
11091
11091
|
}
|
|
11092
11092
|
if (o.__dataProto && Object.assign(o.__data, o.__dataProto), r)
|
|
11093
|
-
|
|
11093
|
+
Qc(o, n), o.__dataTemp = {}, o.__dataPending = null, o.__dataOld = null, o._enableProperties();
|
|
11094
11094
|
else {
|
|
11095
11095
|
Object.setPrototypeOf(o, n.prototype);
|
|
11096
11096
|
const a = t.hostProps;
|
|
@@ -11102,7 +11102,7 @@ function ou(o, t, e, i) {
|
|
|
11102
11102
|
}
|
|
11103
11103
|
}
|
|
11104
11104
|
}
|
|
11105
|
-
function
|
|
11105
|
+
function ru(o, t) {
|
|
11106
11106
|
return function(i, s, r) {
|
|
11107
11107
|
t.call(
|
|
11108
11108
|
i.__templatizeOwner,
|
|
@@ -11111,7 +11111,7 @@ function su(o, t) {
|
|
|
11111
11111
|
);
|
|
11112
11112
|
};
|
|
11113
11113
|
}
|
|
11114
|
-
function
|
|
11114
|
+
function nu(o, t, e, i) {
|
|
11115
11115
|
let s = e.hostProps || {};
|
|
11116
11116
|
for (let r in i.instanceProps) {
|
|
11117
11117
|
delete s[r];
|
|
@@ -11119,7 +11119,7 @@ function ru(o, t, e, i) {
|
|
|
11119
11119
|
n && o.prototype._addPropertyEffect(
|
|
11120
11120
|
r,
|
|
11121
11121
|
o.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,
|
|
11122
|
-
{ fn:
|
|
11122
|
+
{ fn: au(r, n) }
|
|
11123
11123
|
);
|
|
11124
11124
|
}
|
|
11125
11125
|
if (i.forwardHostProp && t.__dataHost)
|
|
@@ -11127,10 +11127,10 @@ function ru(o, t, e, i) {
|
|
|
11127
11127
|
e.hasHostProps || (e.hasHostProps = !0), o.prototype._addPropertyEffect(
|
|
11128
11128
|
r,
|
|
11129
11129
|
o.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,
|
|
11130
|
-
{ fn:
|
|
11130
|
+
{ fn: lu() }
|
|
11131
11131
|
);
|
|
11132
11132
|
}
|
|
11133
|
-
function
|
|
11133
|
+
function au(o, t) {
|
|
11134
11134
|
return function(i, s, r) {
|
|
11135
11135
|
t.call(
|
|
11136
11136
|
i.__templatizeOwner,
|
|
@@ -11140,22 +11140,22 @@ function nu(o, t) {
|
|
|
11140
11140
|
);
|
|
11141
11141
|
};
|
|
11142
11142
|
}
|
|
11143
|
-
function
|
|
11143
|
+
function lu() {
|
|
11144
11144
|
return function(t, e, i) {
|
|
11145
11145
|
t.__dataHost._setPendingPropertyOrPath("_host_" + e, i[e], !0, !0);
|
|
11146
11146
|
};
|
|
11147
11147
|
}
|
|
11148
11148
|
function Hi(o, t, e) {
|
|
11149
|
-
if (Ht && !
|
|
11149
|
+
if (Ht && !Qo(o))
|
|
11150
11150
|
throw new Error("strictTemplatePolicy: template owner not trusted");
|
|
11151
11151
|
if (e = /** @type {!TemplatizeOptions} */
|
|
11152
11152
|
e || {}, o.__templatizeOwner)
|
|
11153
11153
|
throw new Error("A <template> can only be templatized once");
|
|
11154
11154
|
o.__templatizeOwner = t;
|
|
11155
11155
|
let s = (t ? t.constructor : Fe)._parseTemplate(o), r = s.templatizeInstanceClass;
|
|
11156
|
-
r || (r =
|
|
11157
|
-
const n =
|
|
11158
|
-
|
|
11156
|
+
r || (r = ou(o, s, e), s.templatizeInstanceClass = r);
|
|
11157
|
+
const n = Qo(o);
|
|
11158
|
+
su(o, s, e, n);
|
|
11159
11159
|
let a = class extends r {
|
|
11160
11160
|
};
|
|
11161
11161
|
return a.prototype._methodHost = n, a.prototype.__dataHost = /** @type {!DataTemplate} */
|
|
@@ -11163,7 +11163,7 @@ function Hi(o, t, e) {
|
|
|
11163
11163
|
t, a.prototype.__hostProps = s.hostProps, a = /** @type {function(new:TemplateInstanceBase)} */
|
|
11164
11164
|
a, a;
|
|
11165
11165
|
}
|
|
11166
|
-
function
|
|
11166
|
+
function cu(o, t, e) {
|
|
11167
11167
|
const i = e.constructor._properties, { propertyEffects: s } = o, { instanceProps: r } = t;
|
|
11168
11168
|
for (let n in s)
|
|
11169
11169
|
if (!i[n] && !(r && r[n])) {
|
|
@@ -11177,7 +11177,7 @@ function lu(o, t, e) {
|
|
|
11177
11177
|
}
|
|
11178
11178
|
}
|
|
11179
11179
|
}
|
|
11180
|
-
function
|
|
11180
|
+
function uu(o, t) {
|
|
11181
11181
|
let e;
|
|
11182
11182
|
for (; t; )
|
|
11183
11183
|
if (e = t.__dataHost ? t : t.__templatizeInstance)
|
|
@@ -11198,11 +11198,11 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11198
11198
|
Code distributed by Google as part of the polymer project is also
|
|
11199
11199
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11200
11200
|
*/
|
|
11201
|
-
let
|
|
11202
|
-
function
|
|
11203
|
-
if (
|
|
11204
|
-
if (!
|
|
11205
|
-
|
|
11201
|
+
let es = !1;
|
|
11202
|
+
function du() {
|
|
11203
|
+
if (Os && !Ms) {
|
|
11204
|
+
if (!es) {
|
|
11205
|
+
es = !0;
|
|
11206
11206
|
const o = document.createElement("style");
|
|
11207
11207
|
o.textContent = "dom-bind,dom-if,dom-repeat{display:none;}", document.head.appendChild(o);
|
|
11208
11208
|
}
|
|
@@ -11219,8 +11219,8 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11219
11219
|
Code distributed by Google as part of the polymer project is also
|
|
11220
11220
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11221
11221
|
*/
|
|
11222
|
-
const
|
|
11223
|
-
class
|
|
11222
|
+
const hu = Xc(Ie);
|
|
11223
|
+
class ts extends hu {
|
|
11224
11224
|
// Not needed to find template; can be removed once the analyzer
|
|
11225
11225
|
// can find the tag name from customElements.define call
|
|
11226
11226
|
static get is() {
|
|
@@ -11315,7 +11315,7 @@ class es extends du {
|
|
|
11315
11315
|
*/
|
|
11316
11316
|
renderedItemCount: {
|
|
11317
11317
|
type: Number,
|
|
11318
|
-
notify: !
|
|
11318
|
+
notify: !Po,
|
|
11319
11319
|
readOnly: !0
|
|
11320
11320
|
},
|
|
11321
11321
|
/**
|
|
@@ -11398,7 +11398,7 @@ class es extends du {
|
|
|
11398
11398
|
* @return {void}
|
|
11399
11399
|
*/
|
|
11400
11400
|
connectedCallback() {
|
|
11401
|
-
if (super.connectedCallback(),
|
|
11401
|
+
if (super.connectedCallback(), du() || (this.style.display = "none"), this.__isDetached) {
|
|
11402
11402
|
this.__isDetached = !1;
|
|
11403
11403
|
let t = X(X(this).parentNode);
|
|
11404
11404
|
for (let e = 0; e < this.__instances.length; e++)
|
|
@@ -11448,7 +11448,7 @@ class es extends du {
|
|
|
11448
11448
|
* @param {*} value Value to notify
|
|
11449
11449
|
*/
|
|
11450
11450
|
notifyInstanceProp: function(s, r, n) {
|
|
11451
|
-
if (
|
|
11451
|
+
if (_a(this.as, r)) {
|
|
11452
11452
|
let a = s[this.itemsIndexAs];
|
|
11453
11453
|
r == this.as && (this.items[a] = n);
|
|
11454
11454
|
let l = xt(this.as, `${JSCompiler_renameProperty("items", this)}.${a}`, r);
|
|
@@ -11504,9 +11504,9 @@ class es extends du {
|
|
|
11504
11504
|
__debounceRender(t, e = 0) {
|
|
11505
11505
|
this.__renderDebouncer = Vt.debounce(
|
|
11506
11506
|
this.__renderDebouncer,
|
|
11507
|
-
e > 0 ?
|
|
11507
|
+
e > 0 ? wa.after(e) : js,
|
|
11508
11508
|
t.bind(this)
|
|
11509
|
-
),
|
|
11509
|
+
), Uc(this.__renderDebouncer);
|
|
11510
11510
|
}
|
|
11511
11511
|
/**
|
|
11512
11512
|
* Forces the element to render its content. Normally rendering is
|
|
@@ -11526,7 +11526,7 @@ class es extends du {
|
|
|
11526
11526
|
const e = this.__sortAndFilterItems(t), i = this.__calculateLimit(e.length);
|
|
11527
11527
|
this.__updateInstances(t, i, e), this.initialCount && (this.__shouldMeasureChunk || this.__shouldContinueChunking) && (cancelAnimationFrame(this.__chunkingId), this.__chunkingId = requestAnimationFrame(() => {
|
|
11528
11528
|
this.__chunkingId = null, this.__continueChunking();
|
|
11529
|
-
})), this._setRenderedItemCount(this.__instances.length), (!
|
|
11529
|
+
})), this._setRenderedItemCount(this.__instances.length), (!Po || this.notifyDomChange) && this.dispatchEvent(new CustomEvent("dom-change", {
|
|
11530
11530
|
bubbles: !0,
|
|
11531
11531
|
composed: !0
|
|
11532
11532
|
}));
|
|
@@ -11666,16 +11666,16 @@ class es extends du {
|
|
|
11666
11666
|
* the element.
|
|
11667
11667
|
*/
|
|
11668
11668
|
modelForElement(t) {
|
|
11669
|
-
return
|
|
11669
|
+
return uu(this.template, t);
|
|
11670
11670
|
}
|
|
11671
11671
|
}
|
|
11672
|
-
customElements.define(
|
|
11672
|
+
customElements.define(ts.is, ts);
|
|
11673
11673
|
/**
|
|
11674
11674
|
* @license
|
|
11675
11675
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11676
11676
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11677
11677
|
*/
|
|
11678
|
-
const
|
|
11678
|
+
const pu = (o) => class extends so(o) {
|
|
11679
11679
|
static get properties() {
|
|
11680
11680
|
return {
|
|
11681
11681
|
/**
|
|
@@ -11858,7 +11858,7 @@ const hu = (o) => class extends so(o) {
|
|
|
11858
11858
|
/** @protected */
|
|
11859
11859
|
__getWeekNumber(e) {
|
|
11860
11860
|
const i = e.reduce((s, r) => !s && r ? r : s);
|
|
11861
|
-
return
|
|
11861
|
+
return $c(i);
|
|
11862
11862
|
}
|
|
11863
11863
|
/** @protected */
|
|
11864
11864
|
__getDayAriaLabel(e) {
|
|
@@ -11873,7 +11873,7 @@ const hu = (o) => class extends so(o) {
|
|
|
11873
11873
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11874
11874
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11875
11875
|
*/
|
|
11876
|
-
const
|
|
11876
|
+
const fu = P`
|
|
11877
11877
|
:host {
|
|
11878
11878
|
display: block;
|
|
11879
11879
|
}
|
|
@@ -11935,10 +11935,10 @@ const pu = P`
|
|
|
11935
11935
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11936
11936
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11937
11937
|
*/
|
|
11938
|
-
L("vaadin-month-calendar",
|
|
11938
|
+
L("vaadin-month-calendar", fu, {
|
|
11939
11939
|
moduleId: "vaadin-month-calendar-styles"
|
|
11940
11940
|
});
|
|
11941
|
-
class
|
|
11941
|
+
class mu extends pu(Ye(Ie)) {
|
|
11942
11942
|
static get template() {
|
|
11943
11943
|
return Ve`
|
|
11944
11944
|
<div part="month-header" id="month-header" aria-hidden="true">[[_getTitle(month, i18n)]]</div>
|
|
@@ -12046,13 +12046,13 @@ class fu extends hu(Ye(Ie)) {
|
|
|
12046
12046
|
return this.__isDayFocused(t, e) ? "0" : "-1";
|
|
12047
12047
|
}
|
|
12048
12048
|
}
|
|
12049
|
-
ve(
|
|
12049
|
+
ve(mu);
|
|
12050
12050
|
/**
|
|
12051
12051
|
* @license
|
|
12052
12052
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12053
12053
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12054
12054
|
*/
|
|
12055
|
-
class
|
|
12055
|
+
class Dr {
|
|
12056
12056
|
constructor(t, e) {
|
|
12057
12057
|
this.query = t, this.callback = e, this._boundQueryHandler = this._queryHandler.bind(this);
|
|
12058
12058
|
}
|
|
@@ -12080,7 +12080,7 @@ class kr {
|
|
|
12080
12080
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12081
12081
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12082
12082
|
*/
|
|
12083
|
-
const
|
|
12083
|
+
const _u = (o) => class extends o {
|
|
12084
12084
|
static get properties() {
|
|
12085
12085
|
return {
|
|
12086
12086
|
scrollDuration: {
|
|
@@ -12208,7 +12208,7 @@ const mu = (o) => class extends o {
|
|
|
12208
12208
|
}
|
|
12209
12209
|
/** @protected */
|
|
12210
12210
|
_addListeners() {
|
|
12211
|
-
|
|
12211
|
+
vr(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(
|
|
12212
12212
|
this.shadowRoot.querySelector('[part="years-toggle-button"]'),
|
|
12213
12213
|
"tap",
|
|
12214
12214
|
this._toggleYearScroller.bind(this)
|
|
@@ -12217,7 +12217,7 @@ const mu = (o) => class extends o {
|
|
|
12217
12217
|
/** @protected */
|
|
12218
12218
|
_initControllers() {
|
|
12219
12219
|
this.addController(
|
|
12220
|
-
new
|
|
12220
|
+
new Dr(this._desktopMediaQuery, (e) => {
|
|
12221
12221
|
this._desktopMode = e;
|
|
12222
12222
|
})
|
|
12223
12223
|
), this.addController(
|
|
@@ -12526,7 +12526,7 @@ const mu = (o) => class extends o {
|
|
|
12526
12526
|
}
|
|
12527
12527
|
/** @private */
|
|
12528
12528
|
_yearAfterXMonths(e) {
|
|
12529
|
-
return
|
|
12529
|
+
return Er(e).getFullYear();
|
|
12530
12530
|
}
|
|
12531
12531
|
/** @private */
|
|
12532
12532
|
_differenceInMonths(e, i) {
|
|
@@ -12634,7 +12634,7 @@ const mu = (o) => class extends o {
|
|
|
12634
12634
|
focusDateElement(e = !0) {
|
|
12635
12635
|
return rt(this, null, function* () {
|
|
12636
12636
|
this.__pendingDateFocus = this.focusedDate, this.calendars.length || (yield new Promise((i) => {
|
|
12637
|
-
|
|
12637
|
+
nr(this, () => {
|
|
12638
12638
|
no(), i();
|
|
12639
12639
|
});
|
|
12640
12640
|
})), e && this.revealDate(this.focusedDate), this._revealPromise && (yield this._revealPromise), this.__tryFocusDate();
|
|
@@ -12642,7 +12642,7 @@ const mu = (o) => class extends o {
|
|
|
12642
12642
|
}
|
|
12643
12643
|
/** @private */
|
|
12644
12644
|
_focusClosestDate(e) {
|
|
12645
|
-
this.focusDate(
|
|
12645
|
+
this.focusDate(wr(e, [this.minDate, this.maxDate]));
|
|
12646
12646
|
}
|
|
12647
12647
|
/** @private */
|
|
12648
12648
|
_focusAllowedDate(e, i, s) {
|
|
@@ -12693,7 +12693,7 @@ const mu = (o) => class extends o {
|
|
|
12693
12693
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12694
12694
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12695
12695
|
*/
|
|
12696
|
-
const
|
|
12696
|
+
const gu = P`
|
|
12697
12697
|
:host {
|
|
12698
12698
|
display: flex;
|
|
12699
12699
|
flex-direction: column;
|
|
@@ -12759,10 +12759,10 @@ const _u = P`
|
|
|
12759
12759
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12760
12760
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12761
12761
|
*/
|
|
12762
|
-
L("vaadin-date-picker-overlay-content",
|
|
12762
|
+
L("vaadin-date-picker-overlay-content", gu, {
|
|
12763
12763
|
moduleId: "vaadin-date-picker-overlay-content-styles"
|
|
12764
12764
|
});
|
|
12765
|
-
class
|
|
12765
|
+
class bu extends _u(
|
|
12766
12766
|
st(Ye(qt(Ie)))
|
|
12767
12767
|
) {
|
|
12768
12768
|
static get template() {
|
|
@@ -12796,14 +12796,14 @@ class gu extends mu(
|
|
|
12796
12796
|
super.ready(), this.setAttribute("role", "dialog"), this._addListeners(), this._initControllers();
|
|
12797
12797
|
}
|
|
12798
12798
|
}
|
|
12799
|
-
ve(
|
|
12799
|
+
ve(bu);
|
|
12800
12800
|
/**
|
|
12801
12801
|
* @license
|
|
12802
12802
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12803
12803
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12804
12804
|
*/
|
|
12805
|
-
const
|
|
12806
|
-
(o) => class extends so(
|
|
12805
|
+
const Tr = q(
|
|
12806
|
+
(o) => class extends so(xr(o)) {
|
|
12807
12807
|
static get properties() {
|
|
12808
12808
|
return {
|
|
12809
12809
|
/**
|
|
@@ -12960,14 +12960,14 @@ const Dr = q(
|
|
|
12960
12960
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12961
12961
|
*/
|
|
12962
12962
|
const fi = /* @__PURE__ */ new WeakMap();
|
|
12963
|
-
function
|
|
12963
|
+
function vu(o) {
|
|
12964
12964
|
return fi.has(o) || fi.set(o, /* @__PURE__ */ new Set()), fi.get(o);
|
|
12965
12965
|
}
|
|
12966
|
-
function
|
|
12966
|
+
function yu(o, t) {
|
|
12967
12967
|
const e = document.createElement("style");
|
|
12968
12968
|
e.textContent = o, t === document ? document.head.appendChild(e) : t.insertBefore(e, t.firstChild);
|
|
12969
12969
|
}
|
|
12970
|
-
const
|
|
12970
|
+
const xu = q(
|
|
12971
12971
|
(o) => class extends o {
|
|
12972
12972
|
/**
|
|
12973
12973
|
* List of styles to insert into root.
|
|
@@ -12982,9 +12982,9 @@ const yu = q(
|
|
|
12982
12982
|
}
|
|
12983
12983
|
/** @private */
|
|
12984
12984
|
__applySlotStyles() {
|
|
12985
|
-
const e = this.getRootNode(), i =
|
|
12985
|
+
const e = this.getRootNode(), i = vu(e);
|
|
12986
12986
|
this.slotStyles.forEach((s) => {
|
|
12987
|
-
i.has(s) || (
|
|
12987
|
+
i.has(s) || (yu(s, e), i.add(s));
|
|
12988
12988
|
});
|
|
12989
12989
|
}
|
|
12990
12990
|
}
|
|
@@ -12994,7 +12994,7 @@ const yu = q(
|
|
|
12994
12994
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12995
12995
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12996
12996
|
*/
|
|
12997
|
-
const
|
|
12997
|
+
const Mr = q(
|
|
12998
12998
|
(o) => class extends o {
|
|
12999
12999
|
static get properties() {
|
|
13000
13000
|
return {
|
|
@@ -13198,7 +13198,7 @@ const Tr = q(
|
|
|
13198
13198
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13199
13199
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13200
13200
|
*/
|
|
13201
|
-
const
|
|
13201
|
+
const wu = (o) => class extends Mr(Jt(o)) {
|
|
13202
13202
|
static get properties() {
|
|
13203
13203
|
return {
|
|
13204
13204
|
/**
|
|
@@ -13243,7 +13243,7 @@ const xu = (o) => class extends Tr(Jt(o)) {
|
|
|
13243
13243
|
* @protected
|
|
13244
13244
|
*/
|
|
13245
13245
|
_onClearButtonMouseDown(e) {
|
|
13246
|
-
e.preventDefault(),
|
|
13246
|
+
e.preventDefault(), $l || this.inputElement.focus();
|
|
13247
13247
|
}
|
|
13248
13248
|
/**
|
|
13249
13249
|
* Override an event listener inherited from `KeydownMixin` to clear on Esc.
|
|
@@ -13277,10 +13277,10 @@ const mi = /* @__PURE__ */ new Map();
|
|
|
13277
13277
|
function co(o) {
|
|
13278
13278
|
return mi.has(o) || mi.set(o, /* @__PURE__ */ new WeakMap()), mi.get(o);
|
|
13279
13279
|
}
|
|
13280
|
-
function
|
|
13280
|
+
function Or(o, t) {
|
|
13281
13281
|
o && o.removeAttribute(t);
|
|
13282
13282
|
}
|
|
13283
|
-
function
|
|
13283
|
+
function Ir(o, t) {
|
|
13284
13284
|
if (!o || !t)
|
|
13285
13285
|
return;
|
|
13286
13286
|
const e = co(t);
|
|
@@ -13289,11 +13289,11 @@ function Or(o, t) {
|
|
|
13289
13289
|
const i = Qi(o.getAttribute(t));
|
|
13290
13290
|
e.set(o, new Set(i));
|
|
13291
13291
|
}
|
|
13292
|
-
function
|
|
13292
|
+
function Eu(o, t) {
|
|
13293
13293
|
if (!o || !t)
|
|
13294
13294
|
return;
|
|
13295
13295
|
const e = co(t), i = e.get(o);
|
|
13296
|
-
!i || i.size === 0 ? o.removeAttribute(t) :
|
|
13296
|
+
!i || i.size === 0 ? o.removeAttribute(t) : ur(o, t, Gt(i)), e.delete(o);
|
|
13297
13297
|
}
|
|
13298
13298
|
function _i(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
13299
13299
|
if (!o || !t)
|
|
@@ -13303,19 +13303,19 @@ function _i(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
|
13303
13303
|
s && a.delete(s), i && a.add(i);
|
|
13304
13304
|
return;
|
|
13305
13305
|
}
|
|
13306
|
-
r && (a ? i || n.delete(o) :
|
|
13306
|
+
r && (a ? i || n.delete(o) : Ir(o, t), Or(o, t)), Zl(o, t, s);
|
|
13307
13307
|
const l = i || Gt(a);
|
|
13308
|
-
l &&
|
|
13308
|
+
l && ur(o, t, l);
|
|
13309
13309
|
}
|
|
13310
|
-
function
|
|
13311
|
-
|
|
13310
|
+
function Su(o, t) {
|
|
13311
|
+
Ir(o, t), Or(o, t);
|
|
13312
13312
|
}
|
|
13313
13313
|
/**
|
|
13314
13314
|
* @license
|
|
13315
13315
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13316
13316
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13317
13317
|
*/
|
|
13318
|
-
class
|
|
13318
|
+
class Au {
|
|
13319
13319
|
constructor(t) {
|
|
13320
13320
|
this.host = t, this.__required = !1;
|
|
13321
13321
|
}
|
|
@@ -13388,7 +13388,7 @@ class Su {
|
|
|
13388
13388
|
* @private
|
|
13389
13389
|
* */
|
|
13390
13390
|
__setAriaLabelToAttribute(t) {
|
|
13391
|
-
this.__target && (t ? (
|
|
13391
|
+
this.__target && (t ? (Su(this.__target, "aria-labelledby"), this.__target.setAttribute("aria-label", t)) : this.__label && (Eu(this.__target, "aria-labelledby"), this.__target.removeAttribute("aria-label")));
|
|
13392
13392
|
}
|
|
13393
13393
|
/**
|
|
13394
13394
|
* @param {string | null | undefined} labelId
|
|
@@ -13434,9 +13434,9 @@ _e.style.clip = "rect(0px, 0px, 0px, 0px)";
|
|
|
13434
13434
|
_e.setAttribute("aria-live", "polite");
|
|
13435
13435
|
document.body.appendChild(_e);
|
|
13436
13436
|
let It;
|
|
13437
|
-
function
|
|
13437
|
+
function Cu(o, t = {}) {
|
|
13438
13438
|
const e = t.mode || "polite", i = t.timeout === void 0 ? 150 : t.timeout;
|
|
13439
|
-
e === "alert" ? (_e.removeAttribute("aria-live"), _e.removeAttribute("role"), It = tt.debounce(It,
|
|
13439
|
+
e === "alert" ? (_e.removeAttribute("aria-live"), _e.removeAttribute("role"), It = tt.debounce(It, fc, () => {
|
|
13440
13440
|
_e.setAttribute("role", "alert");
|
|
13441
13441
|
})) : (It && It.cancel(), _e.removeAttribute("role"), _e.setAttribute("aria-live", e)), _e.textContent = "", setTimeout(() => {
|
|
13442
13442
|
_e.textContent = o;
|
|
@@ -13562,7 +13562,7 @@ class uo extends Le {
|
|
|
13562
13562
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13563
13563
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13564
13564
|
*/
|
|
13565
|
-
class
|
|
13565
|
+
class Pu extends uo {
|
|
13566
13566
|
constructor(t) {
|
|
13567
13567
|
super(t, "error-message", "div");
|
|
13568
13568
|
}
|
|
@@ -13636,7 +13636,7 @@ class Cu extends uo {
|
|
|
13636
13636
|
*/
|
|
13637
13637
|
updateDefaultNode(t) {
|
|
13638
13638
|
const { errorMessage: e, invalid: i } = this, s = !!(i && e && e.trim() !== "");
|
|
13639
|
-
t && (t.textContent = s ? e : "", t.hidden = !s, s &&
|
|
13639
|
+
t && (t.textContent = s ? e : "", t.hidden = !s, s && Cu(e, { mode: "assertive" })), super.updateDefaultNode(t);
|
|
13640
13640
|
}
|
|
13641
13641
|
}
|
|
13642
13642
|
/**
|
|
@@ -13644,7 +13644,7 @@ class Cu extends uo {
|
|
|
13644
13644
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13645
13645
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13646
13646
|
*/
|
|
13647
|
-
class
|
|
13647
|
+
class ku extends uo {
|
|
13648
13648
|
constructor(t) {
|
|
13649
13649
|
super(t, "helper", null);
|
|
13650
13650
|
}
|
|
@@ -13699,7 +13699,7 @@ class Pu extends uo {
|
|
|
13699
13699
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13700
13700
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13701
13701
|
*/
|
|
13702
|
-
class
|
|
13702
|
+
class Du extends uo {
|
|
13703
13703
|
constructor(t) {
|
|
13704
13704
|
super(t, "label", "label");
|
|
13705
13705
|
}
|
|
@@ -13752,7 +13752,7 @@ class ku extends uo {
|
|
|
13752
13752
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13753
13753
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13754
13754
|
*/
|
|
13755
|
-
const
|
|
13755
|
+
const Tu = q(
|
|
13756
13756
|
(o) => class extends st(o) {
|
|
13757
13757
|
static get properties() {
|
|
13758
13758
|
return {
|
|
@@ -13767,7 +13767,7 @@ const Du = q(
|
|
|
13767
13767
|
};
|
|
13768
13768
|
}
|
|
13769
13769
|
constructor() {
|
|
13770
|
-
super(), this._labelController = new
|
|
13770
|
+
super(), this._labelController = new Du(this), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
13771
13771
|
this.toggleAttribute("has-label", e.detail.hasContent);
|
|
13772
13772
|
});
|
|
13773
13773
|
}
|
|
@@ -13795,7 +13795,7 @@ const Du = q(
|
|
|
13795
13795
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13796
13796
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13797
13797
|
*/
|
|
13798
|
-
const
|
|
13798
|
+
const Fr = q(
|
|
13799
13799
|
(o) => class extends o {
|
|
13800
13800
|
static get properties() {
|
|
13801
13801
|
return {
|
|
@@ -13867,7 +13867,7 @@ const Ir = q(
|
|
|
13867
13867
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13868
13868
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13869
13869
|
*/
|
|
13870
|
-
const
|
|
13870
|
+
const Mu = (o) => class extends Fr(Tu(st(o))) {
|
|
13871
13871
|
static get properties() {
|
|
13872
13872
|
return {
|
|
13873
13873
|
/**
|
|
@@ -13917,7 +13917,7 @@ const Tu = (o) => class extends Ir(Du(st(o))) {
|
|
|
13917
13917
|
return ["_invalidChanged(invalid)", "_requiredChanged(required)"];
|
|
13918
13918
|
}
|
|
13919
13919
|
constructor() {
|
|
13920
|
-
super(), this._fieldAriaController = new
|
|
13920
|
+
super(), this._fieldAriaController = new Au(this), this._helperController = new ku(this), this._errorController = new Pu(this), this._errorController.addEventListener("slot-content-changed", (e) => {
|
|
13921
13921
|
this.toggleAttribute("has-error-message", e.detail.hasContent);
|
|
13922
13922
|
}), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
13923
13923
|
const { hasContent: i, node: s } = e.detail;
|
|
@@ -14008,7 +14008,7 @@ const Tu = (o) => class extends Ir(Du(st(o))) {
|
|
|
14008
14008
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14009
14009
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14010
14010
|
*/
|
|
14011
|
-
const
|
|
14011
|
+
const Ou = q(
|
|
14012
14012
|
(o) => class extends o {
|
|
14013
14013
|
static get properties() {
|
|
14014
14014
|
return {
|
|
@@ -14089,8 +14089,8 @@ const Mu = q(
|
|
|
14089
14089
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14090
14090
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14091
14091
|
*/
|
|
14092
|
-
const
|
|
14093
|
-
(o) => class extends
|
|
14092
|
+
const Nr = q(
|
|
14093
|
+
(o) => class extends Ou(Fr(Mr(o))) {
|
|
14094
14094
|
/**
|
|
14095
14095
|
* An array of attributes which participate in the input validation.
|
|
14096
14096
|
* Changing these attributes will cause the input to re-validate.
|
|
@@ -14174,8 +14174,8 @@ const Fr = q(
|
|
|
14174
14174
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14175
14175
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14176
14176
|
*/
|
|
14177
|
-
const
|
|
14178
|
-
|
|
14177
|
+
const Iu = (o) => class extends xu(
|
|
14178
|
+
Tr(Nr(Mu(wu(Jt(o)))))
|
|
14179
14179
|
) {
|
|
14180
14180
|
static get properties() {
|
|
14181
14181
|
return {
|
|
@@ -14361,7 +14361,7 @@ const Ou = (o) => class extends yu(
|
|
|
14361
14361
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14362
14362
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14363
14363
|
*/
|
|
14364
|
-
class
|
|
14364
|
+
class Fu extends Le {
|
|
14365
14365
|
constructor(t, e, i = {}) {
|
|
14366
14366
|
const { uniqueIdPrefix: s } = i;
|
|
14367
14367
|
super(t, "input", "input", {
|
|
@@ -14378,7 +14378,7 @@ class Iu extends Le {
|
|
|
14378
14378
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14379
14379
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14380
14380
|
*/
|
|
14381
|
-
class
|
|
14381
|
+
class Nu {
|
|
14382
14382
|
constructor(t, e) {
|
|
14383
14383
|
this.input = t, this.__preventDuplicateLabelClick = this.__preventDuplicateLabelClick.bind(this), e.addEventListener("slot-content-changed", (i) => {
|
|
14384
14384
|
this.__initLabel(i.detail.node);
|
|
@@ -14411,7 +14411,7 @@ class Fu {
|
|
|
14411
14411
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14412
14412
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14413
14413
|
*/
|
|
14414
|
-
const
|
|
14414
|
+
const zu = P`
|
|
14415
14415
|
[part='clear-button'] {
|
|
14416
14416
|
display: none;
|
|
14417
14417
|
cursor: default;
|
|
@@ -14430,7 +14430,7 @@ const Nu = P`
|
|
|
14430
14430
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14431
14431
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14432
14432
|
*/
|
|
14433
|
-
const
|
|
14433
|
+
const Lu = P`
|
|
14434
14434
|
:host {
|
|
14435
14435
|
display: inline-flex;
|
|
14436
14436
|
outline: none;
|
|
@@ -14470,7 +14470,7 @@ const zu = P`
|
|
|
14470
14470
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14471
14471
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14472
14472
|
*/
|
|
14473
|
-
const
|
|
14473
|
+
const Ru = P`
|
|
14474
14474
|
[class$='container'] {
|
|
14475
14475
|
display: flex;
|
|
14476
14476
|
flex-direction: column;
|
|
@@ -14484,13 +14484,13 @@ const Lu = P`
|
|
|
14484
14484
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14485
14485
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14486
14486
|
*/
|
|
14487
|
-
const
|
|
14487
|
+
const Bu = [Lu, Ru, zu];
|
|
14488
14488
|
/**
|
|
14489
14489
|
* @license
|
|
14490
14490
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
14491
14491
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14492
14492
|
*/
|
|
14493
|
-
const
|
|
14493
|
+
const Hu = (o) => class extends o {
|
|
14494
14494
|
static get properties() {
|
|
14495
14495
|
return {
|
|
14496
14496
|
/**
|
|
@@ -14537,7 +14537,7 @@ const Bu = (o) => class extends o {
|
|
|
14537
14537
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14538
14538
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14539
14539
|
*/
|
|
14540
|
-
class
|
|
14540
|
+
class $u {
|
|
14541
14541
|
/**
|
|
14542
14542
|
* @param {{ inputElement?: HTMLElement; opened: boolean } & HTMLElement} host
|
|
14543
14543
|
*/
|
|
@@ -14556,8 +14556,8 @@ class Hu {
|
|
|
14556
14556
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
14557
14557
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14558
14558
|
*/
|
|
14559
|
-
const
|
|
14560
|
-
st(
|
|
14559
|
+
const Yu = (o) => class extends Hu(
|
|
14560
|
+
st(Tr(Nr(Jt(o))))
|
|
14561
14561
|
) {
|
|
14562
14562
|
static get properties() {
|
|
14563
14563
|
return {
|
|
@@ -14762,7 +14762,7 @@ const $u = (o) => class extends Bu(
|
|
|
14762
14762
|
if (i.length === 3) {
|
|
14763
14763
|
if (n = parseInt(i[0]) - 1, r = parseInt(i[1]), a = parseInt(i[2]), i[2].length < 3 && a >= 0) {
|
|
14764
14764
|
const l = this.referenceDate ? ut(this.referenceDate) : /* @__PURE__ */ new Date();
|
|
14765
|
-
a =
|
|
14765
|
+
a = Yc(l, a, n, r);
|
|
14766
14766
|
}
|
|
14767
14767
|
} else
|
|
14768
14768
|
i.length === 2 ? (n = parseInt(i[0]) - 1, r = parseInt(i[1])) : i.length === 1 && (r = parseInt(i[0]));
|
|
@@ -14836,7 +14836,7 @@ const $u = (o) => class extends Bu(
|
|
|
14836
14836
|
/** @private */
|
|
14837
14837
|
_ios: {
|
|
14838
14838
|
type: Boolean,
|
|
14839
|
-
value:
|
|
14839
|
+
value: ar
|
|
14840
14840
|
},
|
|
14841
14841
|
/** @private */
|
|
14842
14842
|
_focusOverlayOnOpen: Boolean,
|
|
@@ -14936,10 +14936,10 @@ const $u = (o) => class extends Bu(
|
|
|
14936
14936
|
/** @protected */
|
|
14937
14937
|
ready() {
|
|
14938
14938
|
super.ready(), this.addEventListener("click", this._boundOnClick), this.addController(
|
|
14939
|
-
new
|
|
14939
|
+
new Dr(this._fullscreenMediaQuery, (i) => {
|
|
14940
14940
|
this._fullscreen = i;
|
|
14941
14941
|
})
|
|
14942
|
-
), this.addController(new
|
|
14942
|
+
), this.addController(new $u(this));
|
|
14943
14943
|
const e = this.$.overlay;
|
|
14944
14944
|
this._overlayElement = e, e.renderer = this._boundOverlayRenderer, this.addEventListener("mousedown", () => this.__bringToFront()), this.addEventListener("touchstart", () => this.__bringToFront());
|
|
14945
14945
|
}
|
|
@@ -15097,7 +15097,7 @@ const $u = (o) => class extends Bu(
|
|
|
15097
15097
|
}
|
|
15098
15098
|
/** @private */
|
|
15099
15099
|
_formatISO(e) {
|
|
15100
|
-
return
|
|
15100
|
+
return Vc(e);
|
|
15101
15101
|
}
|
|
15102
15102
|
/** @protected */
|
|
15103
15103
|
_inputElementChanged(e) {
|
|
@@ -15163,12 +15163,12 @@ const $u = (o) => class extends Bu(
|
|
|
15163
15163
|
const r = this._nativeInput;
|
|
15164
15164
|
this._noInput && r && (r.blur(), this._overlayContent.focusDateElement());
|
|
15165
15165
|
const n = this._noInput ? e : [r, e];
|
|
15166
|
-
this.__showOthers =
|
|
15166
|
+
this.__showOthers = lr(n);
|
|
15167
15167
|
}
|
|
15168
15168
|
/** @private */
|
|
15169
15169
|
_getInitialPosition() {
|
|
15170
15170
|
const e = ut(this.initialPosition), i = this._selectedDate || this._overlayContent.initialPosition || e || /* @__PURE__ */ new Date();
|
|
15171
|
-
return e || it(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ?
|
|
15171
|
+
return e || it(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ? wr(i, [this._minDate, this._maxDate]) : /* @__PURE__ */ new Date();
|
|
15172
15172
|
}
|
|
15173
15173
|
/**
|
|
15174
15174
|
* Tries to parse the input element's value as a date. If the input value
|
|
@@ -15329,7 +15329,7 @@ const $u = (o) => class extends Bu(
|
|
|
15329
15329
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15330
15330
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15331
15331
|
*/
|
|
15332
|
-
const
|
|
15332
|
+
const ju = P`
|
|
15333
15333
|
:host([opened]) {
|
|
15334
15334
|
pointer-events: auto;
|
|
15335
15335
|
}
|
|
@@ -15348,8 +15348,8 @@ const Yu = P`
|
|
|
15348
15348
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15349
15349
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15350
15350
|
*/
|
|
15351
|
-
L("vaadin-date-picker", [
|
|
15352
|
-
class
|
|
15351
|
+
L("vaadin-date-picker", [Bu, ju], { moduleId: "vaadin-date-picker-styles" });
|
|
15352
|
+
class Vu extends Yu(Iu(Ye(pr(Ie)))) {
|
|
15353
15353
|
static get is() {
|
|
15354
15354
|
return "vaadin-date-picker";
|
|
15355
15355
|
}
|
|
@@ -15409,7 +15409,7 @@ class ju extends $u(Ou(Ye(hr(Ie)))) {
|
|
|
15409
15409
|
/** @protected */
|
|
15410
15410
|
ready() {
|
|
15411
15411
|
super.ready(), this.addController(
|
|
15412
|
-
new
|
|
15412
|
+
new Fu(
|
|
15413
15413
|
this,
|
|
15414
15414
|
(e) => {
|
|
15415
15415
|
this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
|
|
@@ -15421,7 +15421,7 @@ class ju extends $u(Ou(Ye(hr(Ie)))) {
|
|
|
15421
15421
|
uniqueIdPrefix: "search-input"
|
|
15422
15422
|
}
|
|
15423
15423
|
)
|
|
15424
|
-
), this.addController(new
|
|
15424
|
+
), this.addController(new Nu(this.inputElement, this._labelController)), this._tooltipController = new mr(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));
|
|
15425
15425
|
}
|
|
15426
15426
|
/** @private */
|
|
15427
15427
|
_onVaadinOverlayClose(t) {
|
|
@@ -15437,12 +15437,12 @@ class ju extends $u(Ou(Ye(hr(Ie)))) {
|
|
|
15437
15437
|
super._openedChanged(t), this.$.overlay.positionTarget = this.shadowRoot.querySelector('[part="input-field"]'), this.$.overlay.noVerticalOverlap = !0;
|
|
15438
15438
|
}
|
|
15439
15439
|
}
|
|
15440
|
-
ve(
|
|
15441
|
-
var
|
|
15440
|
+
ve(Vu);
|
|
15441
|
+
var zr = { exports: {} };
|
|
15442
15442
|
(function(o, t) {
|
|
15443
15443
|
(function(e, i) {
|
|
15444
15444
|
o.exports = i();
|
|
15445
|
-
})(
|
|
15445
|
+
})(Kr, function() {
|
|
15446
15446
|
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) {
|
|
15447
15447
|
return (p = +p) + (p > 68 ? 1900 : 2e3);
|
|
15448
15448
|
}, c = function(p) {
|
|
@@ -15567,16 +15567,16 @@ var Nr = { exports: {} };
|
|
|
15567
15567
|
};
|
|
15568
15568
|
};
|
|
15569
15569
|
});
|
|
15570
|
-
})(
|
|
15571
|
-
var
|
|
15572
|
-
const
|
|
15573
|
-
function
|
|
15574
|
-
|
|
15570
|
+
})(zr);
|
|
15571
|
+
var Uu = zr.exports;
|
|
15572
|
+
const Wu = /* @__PURE__ */ qr(Uu);
|
|
15573
|
+
function is(o, t) {
|
|
15574
|
+
Gr(o, t);
|
|
15575
15575
|
}
|
|
15576
|
-
function
|
|
15577
|
-
|
|
15576
|
+
function qu(o) {
|
|
15577
|
+
Jr.set(o);
|
|
15578
15578
|
}
|
|
15579
|
-
const
|
|
15579
|
+
const os = {
|
|
15580
15580
|
en: {
|
|
15581
15581
|
titleSelfExclusion: "Self-Exclusion",
|
|
15582
15582
|
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.",
|
|
@@ -15952,14 +15952,14 @@ const is = {
|
|
|
15952
15952
|
InvalidSession: "Oturum süresi doldu."
|
|
15953
15953
|
}
|
|
15954
15954
|
};
|
|
15955
|
-
function
|
|
15956
|
-
|
|
15955
|
+
function Ku(o) {
|
|
15956
|
+
en(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}}');
|
|
15957
15957
|
}
|
|
15958
|
-
function
|
|
15958
|
+
function ss(o, t, e) {
|
|
15959
15959
|
const i = o.slice();
|
|
15960
15960
|
return i[58] = t[e], i;
|
|
15961
15961
|
}
|
|
15962
|
-
function
|
|
15962
|
+
function Gu(o) {
|
|
15963
15963
|
let t, e, i, s, r = (
|
|
15964
15964
|
/*$_*/
|
|
15965
15965
|
o[23]("titleSelfExclusion") + ""
|
|
@@ -15993,29 +15993,29 @@ function Ku(o) {
|
|
|
15993
15993
|
o[23]("save") + ""
|
|
15994
15994
|
), ge, ae, Pe, Ue, ke, De, oe = (
|
|
15995
15995
|
/*isMobile*/
|
|
15996
|
-
o[25] &&
|
|
15996
|
+
o[25] && Xu(o)
|
|
15997
15997
|
), le = fo(
|
|
15998
15998
|
/*selfExclusionPeriods*/
|
|
15999
15999
|
o[12]
|
|
16000
16000
|
), M = [];
|
|
16001
16001
|
for (let x = 0; x < le.length; x += 1)
|
|
16002
|
-
M[x] = ss(
|
|
16002
|
+
M[x] = rs(ss(o, le, x));
|
|
16003
16003
|
let z = (
|
|
16004
16004
|
/*isUntilDate*/
|
|
16005
|
-
o[19] &&
|
|
16005
|
+
o[19] && ns(o)
|
|
16006
16006
|
);
|
|
16007
16007
|
function ye(x, O) {
|
|
16008
16008
|
return (
|
|
16009
16009
|
/*isPermanentSelfExclusion*/
|
|
16010
|
-
x[18] ?
|
|
16010
|
+
x[18] ? ed : (
|
|
16011
16011
|
/*isDateSelected*/
|
|
16012
|
-
x[20] ?
|
|
16012
|
+
x[20] ? Zu : Qu
|
|
16013
16013
|
)
|
|
16014
16014
|
);
|
|
16015
16015
|
}
|
|
16016
16016
|
let me = ye(o), J = me(o), ce = (
|
|
16017
16017
|
/*showConfirmationModal*/
|
|
16018
|
-
o[26] &&
|
|
16018
|
+
o[26] && td(o)
|
|
16019
16019
|
);
|
|
16020
16020
|
return {
|
|
16021
16021
|
c() {
|
|
@@ -16119,8 +16119,8 @@ function Ku(o) {
|
|
|
16119
16119
|
);
|
|
16120
16120
|
let V;
|
|
16121
16121
|
for (V = 0; V < le.length; V += 1) {
|
|
16122
|
-
const Ct =
|
|
16123
|
-
M[V] ? M[V].p(Ct, O) : (M[V] =
|
|
16122
|
+
const Ct = ss(x, le, V);
|
|
16123
|
+
M[V] ? M[V].p(Ct, O) : (M[V] = rs(Ct), M[V].c(), M[V].m(H, null));
|
|
16124
16124
|
}
|
|
16125
16125
|
for (; V < M.length; V += 1)
|
|
16126
16126
|
M[V].d(1);
|
|
@@ -16139,7 +16139,7 @@ function Ku(o) {
|
|
|
16139
16139
|
/*isPeriodDropDownToggled*/
|
|
16140
16140
|
x[21]
|
|
16141
16141
|
), /*isUntilDate*/
|
|
16142
|
-
x[19] ? z ? z.p(x, O) : (z =
|
|
16142
|
+
x[19] ? z ? z.p(x, O) : (z = ns(x), z.c(), z.m(e, fe)) : z && (z.d(1), z = null), me === (me = ye(x)) && J ? J.p(x, O) : (J.d(1), J = me(x), J && (J.c(), J.m(G, null))), O[0] & /*$_*/
|
|
16143
16143
|
8388608 && te !== (te = /*$_*/
|
|
16144
16144
|
x[23]("save") + "") && de(ge, te), O[0] & /*isDateSelected*/
|
|
16145
16145
|
1048576 && ae !== (ae = "SelfExclusionSave " + /*isDateSelected*/
|
|
@@ -16149,16 +16149,16 @@ function Ku(o) {
|
|
|
16149
16149
|
x[26] && ce.p(x, O);
|
|
16150
16150
|
},
|
|
16151
16151
|
d(x) {
|
|
16152
|
-
x && he(t), oe && oe.d(),
|
|
16152
|
+
x && he(t), oe && oe.d(), rn(M, x), z && z.d(), J.d(), ce && ce.d(), ke = !1, nn(De);
|
|
16153
16153
|
}
|
|
16154
16154
|
};
|
|
16155
16155
|
}
|
|
16156
|
-
function
|
|
16156
|
+
function Ju(o) {
|
|
16157
16157
|
let t, e, i, s, r, n, a, l, c, u, d, h, m, b, p, g, y, v, C, A, D;
|
|
16158
16158
|
function Z(B, T) {
|
|
16159
16159
|
return (
|
|
16160
16160
|
/*isMobile*/
|
|
16161
|
-
B[25] ?
|
|
16161
|
+
B[25] ? od : id
|
|
16162
16162
|
);
|
|
16163
16163
|
}
|
|
16164
16164
|
let Y = Z(o)(o);
|
|
@@ -16217,7 +16217,7 @@ function Gu(o) {
|
|
|
16217
16217
|
}
|
|
16218
16218
|
};
|
|
16219
16219
|
}
|
|
16220
|
-
function
|
|
16220
|
+
function Xu(o) {
|
|
16221
16221
|
let t, e, i, s, r, n, a, l, c, u, d = (
|
|
16222
16222
|
/*$_*/
|
|
16223
16223
|
o[23]("titleSelfExclusion") + ""
|
|
@@ -16244,7 +16244,7 @@ function Ju(o) {
|
|
|
16244
16244
|
}
|
|
16245
16245
|
};
|
|
16246
16246
|
}
|
|
16247
|
-
function
|
|
16247
|
+
function rs(o) {
|
|
16248
16248
|
let t, e = (
|
|
16249
16249
|
/*$_*/
|
|
16250
16250
|
o[23](`${/*period*/
|
|
@@ -16277,7 +16277,7 @@ function ss(o) {
|
|
|
16277
16277
|
}
|
|
16278
16278
|
};
|
|
16279
16279
|
}
|
|
16280
|
-
function
|
|
16280
|
+
function ns(o) {
|
|
16281
16281
|
let t, e, i = (
|
|
16282
16282
|
/*$_*/
|
|
16283
16283
|
o[23]("duration") + ""
|
|
@@ -16341,7 +16341,7 @@ function rs(o) {
|
|
|
16341
16341
|
}
|
|
16342
16342
|
};
|
|
16343
16343
|
}
|
|
16344
|
-
function
|
|
16344
|
+
function Zu(o) {
|
|
16345
16345
|
let t, e, i = (
|
|
16346
16346
|
/*$_*/
|
|
16347
16347
|
o[23]("temporarySelfExclusion", {
|
|
@@ -16383,7 +16383,7 @@ function Xu(o) {
|
|
|
16383
16383
|
}
|
|
16384
16384
|
};
|
|
16385
16385
|
}
|
|
16386
|
-
function
|
|
16386
|
+
function Qu(o) {
|
|
16387
16387
|
let t, e, i = (
|
|
16388
16388
|
/*$_*/
|
|
16389
16389
|
o[23]("noPeriodSelected") + ""
|
|
@@ -16405,7 +16405,7 @@ function Zu(o) {
|
|
|
16405
16405
|
}
|
|
16406
16406
|
};
|
|
16407
16407
|
}
|
|
16408
|
-
function
|
|
16408
|
+
function ed(o) {
|
|
16409
16409
|
let t, e, i = (
|
|
16410
16410
|
/*$_*/
|
|
16411
16411
|
o[23]("permanentSelfExclusion") + ""
|
|
@@ -16427,7 +16427,7 @@ function Qu(o) {
|
|
|
16427
16427
|
}
|
|
16428
16428
|
};
|
|
16429
16429
|
}
|
|
16430
|
-
function
|
|
16430
|
+
function td(o) {
|
|
16431
16431
|
let t, e, i, s;
|
|
16432
16432
|
return {
|
|
16433
16433
|
c() {
|
|
@@ -16540,7 +16540,7 @@ function ed(o) {
|
|
|
16540
16540
|
}
|
|
16541
16541
|
};
|
|
16542
16542
|
}
|
|
16543
|
-
function
|
|
16543
|
+
function id(o) {
|
|
16544
16544
|
let t;
|
|
16545
16545
|
return {
|
|
16546
16546
|
c() {
|
|
@@ -16554,7 +16554,7 @@ function td(o) {
|
|
|
16554
16554
|
}
|
|
16555
16555
|
};
|
|
16556
16556
|
}
|
|
16557
|
-
function
|
|
16557
|
+
function od(o) {
|
|
16558
16558
|
let t;
|
|
16559
16559
|
return {
|
|
16560
16560
|
c() {
|
|
@@ -16568,12 +16568,12 @@ function id(o) {
|
|
|
16568
16568
|
}
|
|
16569
16569
|
};
|
|
16570
16570
|
}
|
|
16571
|
-
function
|
|
16571
|
+
function sd(o) {
|
|
16572
16572
|
let t;
|
|
16573
16573
|
function e(r, n) {
|
|
16574
16574
|
return (
|
|
16575
16575
|
/*skeletonLoading*/
|
|
16576
|
-
r[22] ?
|
|
16576
|
+
r[22] ? Ju : Gu
|
|
16577
16577
|
);
|
|
16578
16578
|
}
|
|
16579
16579
|
let i = e(o), s = i(o);
|
|
@@ -16594,21 +16594,21 @@ function od(o) {
|
|
|
16594
16594
|
}
|
|
16595
16595
|
};
|
|
16596
16596
|
}
|
|
16597
|
-
function
|
|
16597
|
+
function rd(o, t, e) {
|
|
16598
16598
|
let i;
|
|
16599
|
-
|
|
16600
|
-
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 =
|
|
16599
|
+
tn(o, dn, (_) => e(23, i = _)), Ee.extend(Wu);
|
|
16600
|
+
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 = on(Y) !== "PC", G = !1, ee = !1, j = !1, $ = !1, te = g === "true", ge = !0, ae;
|
|
16601
16601
|
const Pe = () => {
|
|
16602
16602
|
fetch(p).then((U) => U.json()).then((U) => {
|
|
16603
16603
|
Object.keys(U).forEach((W) => {
|
|
16604
|
-
|
|
16604
|
+
is(W, U[W]);
|
|
16605
16605
|
});
|
|
16606
16606
|
}).catch((U) => {
|
|
16607
16607
|
console.log(U);
|
|
16608
16608
|
});
|
|
16609
16609
|
};
|
|
16610
|
-
Object.keys(
|
|
16611
|
-
|
|
16610
|
+
Object.keys(os).forEach((_) => {
|
|
16611
|
+
is(_, os[_]);
|
|
16612
16612
|
});
|
|
16613
16613
|
const Ue = () => {
|
|
16614
16614
|
let _ = new URL(`${s}/v1/player/selfExclusionSettings`);
|
|
@@ -16747,24 +16747,24 @@ function sd(o, t, e) {
|
|
|
16747
16747
|
A
|
|
16748
16748
|
);
|
|
16749
16749
|
};
|
|
16750
|
-
|
|
16750
|
+
sn(() => () => {
|
|
16751
16751
|
A.removeEventListener("change", J), ae.removeEventListener("setSelfExclusion", ke);
|
|
16752
16752
|
});
|
|
16753
16753
|
const x = () => {
|
|
16754
|
-
|
|
16754
|
+
qu(a);
|
|
16755
16755
|
}, O = () => me(), V = () => oe(), Ct = (_) => le(_);
|
|
16756
|
-
function
|
|
16756
|
+
function Rr(_) {
|
|
16757
16757
|
Xt[_ ? "unshift" : "push"](() => {
|
|
16758
16758
|
A = _, e(10, A);
|
|
16759
16759
|
});
|
|
16760
16760
|
}
|
|
16761
|
-
const
|
|
16762
|
-
function
|
|
16761
|
+
const Br = (_) => z(_);
|
|
16762
|
+
function Hr(_) {
|
|
16763
16763
|
Xt[_ ? "unshift" : "push"](() => {
|
|
16764
16764
|
ae = _, e(11, ae);
|
|
16765
16765
|
});
|
|
16766
16766
|
}
|
|
16767
|
-
function
|
|
16767
|
+
function $r(_) {
|
|
16768
16768
|
Xt[_ ? "unshift" : "push"](() => {
|
|
16769
16769
|
C = _, e(9, C);
|
|
16770
16770
|
});
|
|
@@ -16777,9 +16777,9 @@ function sd(o, t, e) {
|
|
|
16777
16777
|
3 | o.$$.dirty[1] & /*endpoint, gmversion*/
|
|
16778
16778
|
3 && s && r && n && l && Ue(), o.$$.dirty[0] & /*calendar*/
|
|
16779
16779
|
1024 && A && ce(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
16780
|
-
576 && h && C &&
|
|
16781
|
-
640 && m && C &&
|
|
16782
|
-
768 && b && C &&
|
|
16780
|
+
576 && h && C && an(C, h), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
16781
|
+
640 && m && C && ln(C, m), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
16782
|
+
768 && b && C && cn(C, `${b}.Style`), o.$$.dirty[1] & /*translationurl*/
|
|
16783
16783
|
4 && p && Pe(), o.$$.dirty[0] & /*modalEl*/
|
|
16784
16784
|
2048 && ae && ae.addEventListener("setSelfExclusion", ke);
|
|
16785
16785
|
}, te && M(), [
|
|
@@ -16823,20 +16823,20 @@ function sd(o, t, e) {
|
|
|
16823
16823
|
O,
|
|
16824
16824
|
V,
|
|
16825
16825
|
Ct,
|
|
16826
|
-
Lr,
|
|
16827
16826
|
Rr,
|
|
16828
16827
|
Br,
|
|
16829
|
-
Hr
|
|
16828
|
+
Hr,
|
|
16829
|
+
$r
|
|
16830
16830
|
];
|
|
16831
16831
|
}
|
|
16832
|
-
class
|
|
16832
|
+
class Lr extends Xr {
|
|
16833
16833
|
constructor(t) {
|
|
16834
|
-
super(),
|
|
16834
|
+
super(), Zr(
|
|
16835
16835
|
this,
|
|
16836
16836
|
t,
|
|
16837
|
+
rd,
|
|
16837
16838
|
sd,
|
|
16838
|
-
|
|
16839
|
-
Zr,
|
|
16839
|
+
Qr,
|
|
16840
16840
|
{
|
|
16841
16841
|
endpoint: 31,
|
|
16842
16842
|
session: 0,
|
|
@@ -16854,7 +16854,7 @@ class zr extends Jr {
|
|
|
16854
16854
|
dateformat: 35,
|
|
16855
16855
|
sendnotificationemail: 36
|
|
16856
16856
|
},
|
|
16857
|
-
|
|
16857
|
+
Ku,
|
|
16858
16858
|
[-1, -1]
|
|
16859
16859
|
);
|
|
16860
16860
|
}
|
|
@@ -16949,12 +16949,12 @@ class zr extends Jr {
|
|
|
16949
16949
|
this.$$set({ sendnotificationemail: t }), ie();
|
|
16950
16950
|
}
|
|
16951
16951
|
}
|
|
16952
|
-
|
|
16953
|
-
const
|
|
16952
|
+
un(Lr, { endpoint: {}, session: {}, userid: {}, lang: {}, gmversion: {}, operator: {}, supportemail: {}, baseurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, hasconfirmationmodal: {}, dateformat: {}, sendnotificationemail: {} }, [], [], !0);
|
|
16953
|
+
const Wd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16954
16954
|
__proto__: null,
|
|
16955
|
-
default:
|
|
16955
|
+
default: Lr
|
|
16956
16956
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
16957
16957
|
export {
|
|
16958
|
-
|
|
16959
|
-
|
|
16958
|
+
Wu as C,
|
|
16959
|
+
Wd as P
|
|
16960
16960
|
};
|