@everymatrix/player-account-timeout 1.59.3 → 1.60.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/PlayerAccountGeneralConfirmationModal-BOJYp5ik.cjs +18 -0
- package/components/{PlayerAccountGeneralConfirmationModal-Bw8OUJ0O.js → PlayerAccountGeneralConfirmationModal-Bnh1XDOd.js} +582 -560
- package/components/{PlayerAccountGeneralConfirmationModal-BJlFEgEt.js → PlayerAccountGeneralConfirmationModal-DoeReNtd.js} +621 -599
- package/components/{PlayerAccountTimeout-CumYINDT.js → PlayerAccountTimeout-B6u6MiWX.js} +767 -762
- package/components/{PlayerAccountTimeout-CD3CVuTq.js → PlayerAccountTimeout-CNH_sF9k.js} +782 -777
- package/components/{PlayerAccountTimeout-BrEWXYC6.cjs → PlayerAccountTimeout-Cf59Bjwj.cjs} +153 -153
- package/es2015/player-account-timeout.cjs +1 -1
- package/es2015/player-account-timeout.js +1 -1
- package/esnext/player-account-timeout.js +1 -1
- package/package.json +1 -1
- package/stencil/index-ae04a8b1-DPYODDdm.cjs +1 -0
- package/stencil/index-ae04a8b1-DRAR7dln.js +532 -0
- package/stencil/index-ae04a8b1-eSktas_K.js +516 -0
- package/stencil/{ui-skeleton-IHMCRYEX.cjs → ui-skeleton-C1buDKbo.cjs} +1 -1
- package/stencil/{ui-skeleton-DFpfaKvi.js → ui-skeleton-C5gPr5Xv.js} +2 -2
- package/stencil/{ui-skeleton-UUT_AJxa.js → ui-skeleton-M7HNQCk1.js} +2 -2
- package/stencil/{ui-skeleton-a642cced-BNXFvvk_.js → ui-skeleton-a642cced-BFJMszWG.js} +1 -1
- package/stencil/{ui-skeleton-a642cced-5nW6b8_l.cjs → ui-skeleton-a642cced-DO34s50a.cjs} +1 -1
- package/stencil/{ui-skeleton-a642cced-DdY2eEM0.js → ui-skeleton-a642cced-p8tGooXk.js} +1 -1
- package/components/PlayerAccountGeneralConfirmationModal-jvS4uZK0.cjs +0 -18
- package/stencil/index-ae04a8b1-BxaX26xW.js +0 -516
- package/stencil/index-ae04a8b1-D7qYBP-T.js +0 -532
- package/stencil/index-ae04a8b1-Dk7mk6oB.cjs +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var Er = Object.defineProperty, kr = Object.defineProperties;
|
|
2
|
+
var Sr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Xi = Object.getOwnPropertySymbols;
|
|
4
|
+
var Pr = Object.prototype.hasOwnProperty, Or = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Zi = (o, t, e) => t in o ? Er(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e, zt = (o, t) => {
|
|
6
6
|
for (var e in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var e of
|
|
10
|
-
|
|
7
|
+
Pr.call(t, e) && Zi(o, e, t[e]);
|
|
8
|
+
if (Xi)
|
|
9
|
+
for (var e of Xi(t))
|
|
10
|
+
Or.call(t, e) && Zi(o, e, t[e]);
|
|
11
11
|
return o;
|
|
12
|
-
}, Lt = (o, t) =>
|
|
12
|
+
}, Lt = (o, t) => kr(o, Sr(t));
|
|
13
13
|
var pt = (o, t, e) => new Promise((i, s) => {
|
|
14
14
|
var r = (l) => {
|
|
15
15
|
try {
|
|
@@ -26,14 +26,14 @@ var pt = (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 { c as
|
|
30
|
-
import "../stencil/ui-skeleton-
|
|
29
|
+
import { c as Mr, g as Ir, a as Nr, $ as Fr, S as zr, i as Lr, f as ce, b as $r, s as Rr, d as Hr, e as M, h as oe, n as ii, j as se, k as Br, l as Vr, o as Ur, m as jr, p as Yr, q as Wr, r as Qi, t as qr, u as eo, v as Y, w as pe, x as Kr, y as N, z as Gr, A as x, B as to, C as vt, D as ge, E as Jr, F as Xr, G as A, H as io, I as Me, J as oo, K as Zr } from "./PlayerAccountGeneralConfirmationModal-Bnh1XDOd.js";
|
|
30
|
+
import "../stencil/ui-skeleton-M7HNQCk1.js";
|
|
31
31
|
/**
|
|
32
32
|
* @license
|
|
33
33
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
34
34
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
35
35
|
*/
|
|
36
|
-
function le(o, t = "24.5.
|
|
36
|
+
function le(o, t = "24.5.10") {
|
|
37
37
|
Object.defineProperty(o, "version", {
|
|
38
38
|
get() {
|
|
39
39
|
return t;
|
|
@@ -54,18 +54,18 @@ function le(o, t = "24.5.11") {
|
|
|
54
54
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
55
55
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
56
56
|
*/
|
|
57
|
-
class
|
|
57
|
+
class Qr extends HTMLElement {
|
|
58
58
|
static get is() {
|
|
59
59
|
return "vaadin-lumo-styles";
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
le(
|
|
62
|
+
le(Qr);
|
|
63
63
|
/**
|
|
64
64
|
* @license
|
|
65
65
|
* Copyright 2019 Google LLC
|
|
66
66
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
67
67
|
*/
|
|
68
|
-
const bt = globalThis, Di = bt.ShadowRoot && (bt.ShadyCSS === void 0 || bt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Ei = Symbol(),
|
|
68
|
+
const bt = globalThis, Di = bt.ShadowRoot && (bt.ShadyCSS === void 0 || bt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Ei = Symbol(), so = /* @__PURE__ */ new WeakMap();
|
|
69
69
|
let ki = class {
|
|
70
70
|
constructor(t, e, i) {
|
|
71
71
|
if (this._$cssResult$ = !0, i !== Ei)
|
|
@@ -77,7 +77,7 @@ let ki = class {
|
|
|
77
77
|
const e = this.t;
|
|
78
78
|
if (Di && t === void 0) {
|
|
79
79
|
const i = e !== void 0 && e.length === 1;
|
|
80
|
-
i && (t =
|
|
80
|
+
i && (t = so.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && so.set(e, t));
|
|
81
81
|
}
|
|
82
82
|
return t;
|
|
83
83
|
}
|
|
@@ -85,7 +85,7 @@ let ki = class {
|
|
|
85
85
|
return this.cssText;
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
|
-
const
|
|
88
|
+
const en = (o) => new ki(typeof o == "string" ? o : o + "", void 0, Ei), P = (o, ...t) => {
|
|
89
89
|
const e = o.length === 1 ? o[0] : t.reduce((i, s, r) => i + ((n) => {
|
|
90
90
|
if (n._$cssResult$ === !0)
|
|
91
91
|
return n.cssText;
|
|
@@ -94,7 +94,7 @@ const Qr = (o) => new ki(typeof o == "string" ? o : o + "", void 0, Ei), P = (o,
|
|
|
94
94
|
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.");
|
|
95
95
|
})(s) + o[r + 1], o[0]);
|
|
96
96
|
return new ki(e, o, Ei);
|
|
97
|
-
},
|
|
97
|
+
}, os = (o, t) => {
|
|
98
98
|
if (Di)
|
|
99
99
|
o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
100
100
|
else
|
|
@@ -102,21 +102,21 @@ const Qr = (o) => new ki(typeof o == "string" ? o : o + "", void 0, Ei), P = (o,
|
|
|
102
102
|
const i = document.createElement("style"), s = bt.litNonce;
|
|
103
103
|
s !== void 0 && i.setAttribute("nonce", s), i.textContent = e.cssText, o.appendChild(i);
|
|
104
104
|
}
|
|
105
|
-
},
|
|
105
|
+
}, ro = Di ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
|
|
106
106
|
let e = "";
|
|
107
107
|
for (const i of t.cssRules)
|
|
108
108
|
e += i.cssText;
|
|
109
|
-
return
|
|
109
|
+
return en(e);
|
|
110
110
|
})(o) : o;
|
|
111
111
|
/**
|
|
112
112
|
* @license
|
|
113
113
|
* Copyright 2017 Google LLC
|
|
114
114
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
115
115
|
*/
|
|
116
|
-
const { is:
|
|
116
|
+
const { is: tn, defineProperty: on, getOwnPropertyDescriptor: sn, getOwnPropertyNames: rn, getOwnPropertySymbols: nn, getPrototypeOf: an } = Object, ye = globalThis, no = ye.trustedTypes, ln = no ? no.emptyScript : "", $t = ye.reactiveElementPolyfillSupport, Qe = (o, t) => o, oi = { toAttribute(o, t) {
|
|
117
117
|
switch (t) {
|
|
118
118
|
case Boolean:
|
|
119
|
-
o = o ?
|
|
119
|
+
o = o ? ln : null;
|
|
120
120
|
break;
|
|
121
121
|
case Object:
|
|
122
122
|
case Array:
|
|
@@ -141,9 +141,9 @@ const { is: en, defineProperty: tn, getOwnPropertyDescriptor: on, getOwnProperty
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
return e;
|
|
144
|
-
} },
|
|
145
|
-
var
|
|
146
|
-
(
|
|
144
|
+
} }, ss = (o, t) => !tn(o, t), ao = { attribute: !0, type: String, converter: oi, reflect: !1, hasChanged: ss };
|
|
145
|
+
var Xo, Zo;
|
|
146
|
+
(Xo = Symbol.metadata) != null || (Symbol.metadata = Symbol("metadata")), (Zo = ye.litPropertyMetadata) != null || (ye.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
147
147
|
class Ne extends HTMLElement {
|
|
148
148
|
static addInitializer(t) {
|
|
149
149
|
var e;
|
|
@@ -152,15 +152,15 @@ class Ne extends HTMLElement {
|
|
|
152
152
|
static get observedAttributes() {
|
|
153
153
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
154
154
|
}
|
|
155
|
-
static createProperty(t, e =
|
|
155
|
+
static createProperty(t, e = ao) {
|
|
156
156
|
if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
157
157
|
const i = Symbol(), s = this.getPropertyDescriptor(t, i, e);
|
|
158
|
-
s !== void 0 &&
|
|
158
|
+
s !== void 0 && on(this.prototype, t, s);
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
static getPropertyDescriptor(t, e, i) {
|
|
162
162
|
var n;
|
|
163
|
-
const { get: s, set: r } = (n =
|
|
163
|
+
const { get: s, set: r } = (n = sn(this.prototype, t)) != null ? n : { get() {
|
|
164
164
|
return this[e];
|
|
165
165
|
}, set(a) {
|
|
166
166
|
this[e] = a;
|
|
@@ -174,19 +174,19 @@ class Ne extends HTMLElement {
|
|
|
174
174
|
}
|
|
175
175
|
static getPropertyOptions(t) {
|
|
176
176
|
var e;
|
|
177
|
-
return (e = this.elementProperties.get(t)) != null ? e :
|
|
177
|
+
return (e = this.elementProperties.get(t)) != null ? e : ao;
|
|
178
178
|
}
|
|
179
179
|
static _$Ei() {
|
|
180
180
|
if (this.hasOwnProperty(Qe("elementProperties")))
|
|
181
181
|
return;
|
|
182
|
-
const t =
|
|
182
|
+
const t = an(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(Qe("finalized")))
|
|
187
187
|
return;
|
|
188
188
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(Qe("properties"))) {
|
|
189
|
-
const e = this.properties, i = [...
|
|
189
|
+
const e = this.properties, i = [...rn(e), ...nn(e)];
|
|
190
190
|
for (const s of i)
|
|
191
191
|
this.createProperty(s, e[s]);
|
|
192
192
|
}
|
|
@@ -209,9 +209,9 @@ class Ne extends HTMLElement {
|
|
|
209
209
|
if (Array.isArray(t)) {
|
|
210
210
|
const i = new Set(t.flat(1 / 0).reverse());
|
|
211
211
|
for (const s of i)
|
|
212
|
-
e.unshift(
|
|
212
|
+
e.unshift(ro(s));
|
|
213
213
|
} else
|
|
214
|
-
t !== void 0 && e.push(
|
|
214
|
+
t !== void 0 && e.push(ro(t));
|
|
215
215
|
return e;
|
|
216
216
|
}
|
|
217
217
|
static _$Eu(t, e) {
|
|
@@ -242,7 +242,7 @@ class Ne 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 os(t, this.constructor.elementStyles), t;
|
|
246
246
|
}
|
|
247
247
|
connectedCallback() {
|
|
248
248
|
var t, e;
|
|
@@ -282,7 +282,7 @@ class Ne extends HTMLElement {
|
|
|
282
282
|
requestUpdate(t, e, i) {
|
|
283
283
|
var s;
|
|
284
284
|
if (t !== void 0) {
|
|
285
|
-
if (i != null || (i = this.constructor.getPropertyOptions(t)), !((s = i.hasChanged) != null ? s :
|
|
285
|
+
if (i != null || (i = this.constructor.getPropertyOptions(t)), !((s = i.hasChanged) != null ? s : ss)(this[t], e))
|
|
286
286
|
return;
|
|
287
287
|
this.P(t, e, i);
|
|
288
288
|
}
|
|
@@ -363,40 +363,40 @@ class Ne extends HTMLElement {
|
|
|
363
363
|
firstUpdated(t) {
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
|
-
var
|
|
367
|
-
Ne.elementStyles = [], Ne.shadowRootOptions = { mode: "open" }, Ne[Qe("elementProperties")] = /* @__PURE__ */ new Map(), Ne[Qe("finalized")] = /* @__PURE__ */ new Map(), $t == null || $t({ ReactiveElement: Ne }), ((
|
|
366
|
+
var Qo;
|
|
367
|
+
Ne.elementStyles = [], Ne.shadowRootOptions = { mode: "open" }, Ne[Qe("elementProperties")] = /* @__PURE__ */ new Map(), Ne[Qe("finalized")] = /* @__PURE__ */ new Map(), $t == null || $t({ ReactiveElement: Ne }), ((Qo = ye.reactiveElementVersions) != null ? Qo : ye.reactiveElementVersions = []).push("2.0.4");
|
|
368
368
|
/**
|
|
369
369
|
* @license
|
|
370
370
|
* Copyright 2017 Google LLC
|
|
371
371
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
372
372
|
*/
|
|
373
|
-
const et = globalThis, xt = et.trustedTypes,
|
|
374
|
-
\f\r]`, We = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
375
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
376
|
-
function
|
|
373
|
+
const et = globalThis, xt = et.trustedTypes, lo = xt ? xt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, rs = "$lit$", _e = `lit$${Math.random().toFixed(9).slice(2)}$`, ns = "?" + _e, dn = `<${ns}>`, ke = document, it = () => ke.createComment(""), ot = (o) => o === null || typeof o != "object" && typeof o != "function", Si = Array.isArray, cn = (o) => Si(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", Rt = `[
|
|
374
|
+
\f\r]`, We = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, co = /-->/g, uo = />/g, Ce = RegExp(`>|${Rt}(?:([^\\s"'>=/]+)(${Rt}*=${Rt}*(?:[^
|
|
375
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), ho = /'/g, po = /"/g, as = /^(?:script|style|textarea|title)$/i, Re = Symbol.for("lit-noChange"), j = Symbol.for("lit-nothing"), fo = /* @__PURE__ */ new WeakMap(), Ae = ke.createTreeWalker(ke, 129);
|
|
376
|
+
function ls(o, t) {
|
|
377
377
|
if (!Si(o) || !o.hasOwnProperty("raw"))
|
|
378
378
|
throw Error("invalid template strings array");
|
|
379
|
-
return
|
|
379
|
+
return lo !== void 0 ? lo.createHTML(t) : t;
|
|
380
380
|
}
|
|
381
|
-
const
|
|
381
|
+
const un = (o, t) => {
|
|
382
382
|
const e = o.length - 1, i = [];
|
|
383
383
|
let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = We;
|
|
384
384
|
for (let a = 0; a < e; a++) {
|
|
385
385
|
const l = o[a];
|
|
386
386
|
let d, c, u = -1, h = 0;
|
|
387
387
|
for (; h < l.length && (n.lastIndex = h, c = n.exec(l), c !== null); )
|
|
388
|
-
h = n.lastIndex, n === We ? c[1] === "!--" ? n =
|
|
388
|
+
h = n.lastIndex, n === We ? c[1] === "!--" ? n = co : c[1] !== void 0 ? n = uo : c[2] !== void 0 ? (as.test(c[2]) && (s = RegExp("</" + c[2], "g")), n = Ce) : c[3] !== void 0 && (n = Ce) : n === Ce ? c[0] === ">" ? (n = s != null ? s : We, u = -1) : c[1] === void 0 ? u = -2 : (u = n.lastIndex - c[2].length, d = c[1], n = c[3] === void 0 ? Ce : c[3] === '"' ? po : ho) : n === po || n === ho ? n = Ce : n === co || n === uo ? n = We : (n = Ce, s = void 0);
|
|
389
389
|
const p = n === Ce && o[a + 1].startsWith("/>") ? " " : "";
|
|
390
|
-
r += n === We ? l +
|
|
390
|
+
r += n === We ? l + dn : u >= 0 ? (i.push(d), l.slice(0, u) + rs + l.slice(u) + _e + p) : l + _e + (u === -2 ? a : p);
|
|
391
391
|
}
|
|
392
|
-
return [
|
|
392
|
+
return [ls(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
|
|
393
393
|
};
|
|
394
394
|
class st {
|
|
395
395
|
constructor({ strings: t, _$litType$: e }, i) {
|
|
396
396
|
let s;
|
|
397
397
|
this.parts = [];
|
|
398
398
|
let r = 0, n = 0;
|
|
399
|
-
const a = t.length - 1, l = this.parts, [d, c] =
|
|
399
|
+
const a = t.length - 1, l = this.parts, [d, c] = un(t, e);
|
|
400
400
|
if (this.el = st.createElement(d, i), Ae.currentNode = this.el.content, e === 2 || e === 3) {
|
|
401
401
|
const u = this.el.content.firstChild;
|
|
402
402
|
u.replaceWith(...u.childNodes);
|
|
@@ -405,12 +405,12 @@ class st {
|
|
|
405
405
|
if (s.nodeType === 1) {
|
|
406
406
|
if (s.hasAttributes())
|
|
407
407
|
for (const u of s.getAttributeNames())
|
|
408
|
-
if (u.endsWith(
|
|
408
|
+
if (u.endsWith(rs)) {
|
|
409
409
|
const h = c[n++], p = s.getAttribute(u).split(_e), y = /([.?@])?(.*)/.exec(h);
|
|
410
|
-
l.push({ type: 1, index: r, name: y[2], strings: p, ctor: y[1] === "." ?
|
|
410
|
+
l.push({ type: 1, index: r, name: y[2], strings: p, ctor: y[1] === "." ? pn : y[1] === "?" ? fn : y[1] === "@" ? mn : Pt }), s.removeAttribute(u);
|
|
411
411
|
} else
|
|
412
412
|
u.startsWith(_e) && (l.push({ type: 6, index: r }), s.removeAttribute(u));
|
|
413
|
-
if (
|
|
413
|
+
if (as.test(s.tagName)) {
|
|
414
414
|
const u = s.textContent.split(_e), h = u.length - 1;
|
|
415
415
|
if (h > 0) {
|
|
416
416
|
s.textContent = xt ? xt.emptyScript : "";
|
|
@@ -420,7 +420,7 @@ class st {
|
|
|
420
420
|
}
|
|
421
421
|
}
|
|
422
422
|
} else if (s.nodeType === 8)
|
|
423
|
-
if (s.data ===
|
|
423
|
+
if (s.data === ns)
|
|
424
424
|
l.push({ type: 2, index: r });
|
|
425
425
|
else {
|
|
426
426
|
let u = -1;
|
|
@@ -443,7 +443,7 @@ function He(o, t, e = o, i) {
|
|
|
443
443
|
const r = ot(t) ? void 0 : t._$litDirective$;
|
|
444
444
|
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 = He(o, s._$AS(o, t.values), s, i)), t;
|
|
445
445
|
}
|
|
446
|
-
class
|
|
446
|
+
class hn {
|
|
447
447
|
constructor(t, e) {
|
|
448
448
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
|
449
449
|
}
|
|
@@ -461,7 +461,7 @@ class un {
|
|
|
461
461
|
for (; l !== void 0; ) {
|
|
462
462
|
if (n === l.index) {
|
|
463
463
|
let c;
|
|
464
|
-
l.type === 2 ? c = new ut(r, r.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (c = new
|
|
464
|
+
l.type === 2 ? c = new ut(r, r.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (c = new _n(r, this, t)), this._$AV.push(c), l = i[++a];
|
|
465
465
|
}
|
|
466
466
|
n !== (l == null ? void 0 : l.index) && (r = Ae.nextNode(), n++);
|
|
467
467
|
}
|
|
@@ -494,7 +494,7 @@ class ut {
|
|
|
494
494
|
return this._$AB;
|
|
495
495
|
}
|
|
496
496
|
_$AI(t, e = this) {
|
|
497
|
-
t = He(this, t, e), ot(t) ? t === j || t == null || t === "" ? (this._$AH !== j && this._$AR(), this._$AH = j) : t !== this._$AH && t !== Re && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) :
|
|
497
|
+
t = He(this, t, e), ot(t) ? t === j || t == null || t === "" ? (this._$AH !== j && this._$AR(), this._$AH = j) : t !== this._$AH && t !== Re && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : cn(t) ? this.k(t) : this._(t);
|
|
498
498
|
}
|
|
499
499
|
O(t) {
|
|
500
500
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -507,17 +507,17 @@ class ut {
|
|
|
507
507
|
}
|
|
508
508
|
$(t) {
|
|
509
509
|
var r;
|
|
510
|
-
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = st.createElement(
|
|
510
|
+
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = st.createElement(ls(i.h, i.h[0]), this.options)), i);
|
|
511
511
|
if (((r = this._$AH) == null ? void 0 : r._$AD) === s)
|
|
512
512
|
this._$AH.p(e);
|
|
513
513
|
else {
|
|
514
|
-
const n = new
|
|
514
|
+
const n = new hn(s, this), a = n.u(this.options);
|
|
515
515
|
n.p(e), this.T(a), this._$AH = n;
|
|
516
516
|
}
|
|
517
517
|
}
|
|
518
518
|
_$AC(t) {
|
|
519
|
-
let e =
|
|
520
|
-
return e === void 0 &&
|
|
519
|
+
let e = fo.get(t.strings);
|
|
520
|
+
return e === void 0 && fo.set(t.strings, e = new st(t)), e;
|
|
521
521
|
}
|
|
522
522
|
k(t) {
|
|
523
523
|
Si(this._$AH) || (this._$AH = [], this._$AR());
|
|
@@ -566,7 +566,7 @@ class Pt {
|
|
|
566
566
|
t === j ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t != null ? t : "");
|
|
567
567
|
}
|
|
568
568
|
}
|
|
569
|
-
class
|
|
569
|
+
class pn extends Pt {
|
|
570
570
|
constructor() {
|
|
571
571
|
super(...arguments), this.type = 3;
|
|
572
572
|
}
|
|
@@ -574,7 +574,7 @@ class hn extends Pt {
|
|
|
574
574
|
this.element[this.name] = t === j ? void 0 : t;
|
|
575
575
|
}
|
|
576
576
|
}
|
|
577
|
-
class
|
|
577
|
+
class fn extends Pt {
|
|
578
578
|
constructor() {
|
|
579
579
|
super(...arguments), this.type = 4;
|
|
580
580
|
}
|
|
@@ -582,7 +582,7 @@ class pn extends Pt {
|
|
|
582
582
|
this.element.toggleAttribute(this.name, !!t && t !== j);
|
|
583
583
|
}
|
|
584
584
|
}
|
|
585
|
-
class
|
|
585
|
+
class mn extends Pt {
|
|
586
586
|
constructor(t, e, i, s, r) {
|
|
587
587
|
super(t, e, i, s, r), this.type = 5;
|
|
588
588
|
}
|
|
@@ -598,7 +598,7 @@ class fn extends Pt {
|
|
|
598
598
|
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);
|
|
599
599
|
}
|
|
600
600
|
}
|
|
601
|
-
class
|
|
601
|
+
class _n {
|
|
602
602
|
constructor(t, e, i) {
|
|
603
603
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
|
|
604
604
|
}
|
|
@@ -610,9 +610,9 @@ class mn {
|
|
|
610
610
|
}
|
|
611
611
|
}
|
|
612
612
|
const Ht = et.litHtmlPolyfillSupport;
|
|
613
|
-
var
|
|
614
|
-
Ht == null || Ht(st, ut), ((
|
|
615
|
-
const
|
|
613
|
+
var es;
|
|
614
|
+
Ht == null || Ht(st, ut), ((es = et.litHtmlVersions) != null ? es : et.litHtmlVersions = []).push("3.2.1");
|
|
615
|
+
const gn = (o, t, e) => {
|
|
616
616
|
var r, n;
|
|
617
617
|
const i = (r = e == null ? void 0 : e.renderBefore) != null ? r : t;
|
|
618
618
|
let s = i._$litPart$;
|
|
@@ -638,7 +638,7 @@ class Fe extends Ne {
|
|
|
638
638
|
}
|
|
639
639
|
update(t) {
|
|
640
640
|
const e = this.render();
|
|
641
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do =
|
|
641
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = gn(e, this.renderRoot, this.renderOptions);
|
|
642
642
|
}
|
|
643
643
|
connectedCallback() {
|
|
644
644
|
var t;
|
|
@@ -652,18 +652,18 @@ class Fe extends Ne {
|
|
|
652
652
|
return Re;
|
|
653
653
|
}
|
|
654
654
|
}
|
|
655
|
-
var
|
|
656
|
-
Fe._$litElement$ = !0, Fe.finalized = !0, (
|
|
655
|
+
var ts;
|
|
656
|
+
Fe._$litElement$ = !0, Fe.finalized = !0, (ts = globalThis.litElementHydrateSupport) == null || ts.call(globalThis, { LitElement: Fe });
|
|
657
657
|
const Bt = globalThis.litElementPolyfillSupport;
|
|
658
658
|
Bt == null || Bt({ LitElement: Fe });
|
|
659
|
-
var
|
|
660
|
-
((
|
|
659
|
+
var is;
|
|
660
|
+
((is = globalThis.litElementVersions) != null ? is : globalThis.litElementVersions = []).push("4.1.1");
|
|
661
661
|
/**
|
|
662
662
|
* @license
|
|
663
663
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
664
664
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
665
665
|
*/
|
|
666
|
-
const
|
|
666
|
+
const yn = (o) => class extends o {
|
|
667
667
|
static get properties() {
|
|
668
668
|
return {
|
|
669
669
|
/**
|
|
@@ -702,102 +702,102 @@ const gn = (o) => class extends o {
|
|
|
702
702
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
703
703
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
704
704
|
*/
|
|
705
|
-
const
|
|
706
|
-
function
|
|
705
|
+
const ds = [], si = /* @__PURE__ */ new Set(), Pi = /* @__PURE__ */ new Set();
|
|
706
|
+
function cs(o) {
|
|
707
707
|
return o && Object.prototype.hasOwnProperty.call(o, "__themes");
|
|
708
708
|
}
|
|
709
|
-
function
|
|
710
|
-
return
|
|
709
|
+
function vn(o) {
|
|
710
|
+
return cs(customElements.get(o));
|
|
711
711
|
}
|
|
712
|
-
function
|
|
712
|
+
function bn(o = []) {
|
|
713
713
|
return [o].flat(1 / 0).filter((t) => t instanceof ki ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
|
|
714
714
|
}
|
|
715
|
-
function
|
|
715
|
+
function us(o, t) {
|
|
716
716
|
return (o || "").split(" ").some((e) => new RegExp(`^${e.split("*").join(".*")}$`, "u").test(t));
|
|
717
717
|
}
|
|
718
|
-
function
|
|
718
|
+
function hs(o) {
|
|
719
719
|
return o.map((t) => t.cssText).join(`
|
|
720
720
|
`);
|
|
721
721
|
}
|
|
722
722
|
const Ct = "vaadin-themable-mixin-style";
|
|
723
|
-
function
|
|
723
|
+
function wn(o, t) {
|
|
724
724
|
const e = document.createElement("style");
|
|
725
|
-
e.id = Ct, e.textContent =
|
|
725
|
+
e.id = Ct, e.textContent = hs(o), t.content.appendChild(e);
|
|
726
726
|
}
|
|
727
|
-
function
|
|
727
|
+
function xn(o) {
|
|
728
728
|
if (!o.shadowRoot)
|
|
729
729
|
return;
|
|
730
730
|
const t = o.constructor;
|
|
731
731
|
if (o instanceof Fe)
|
|
732
|
-
[...o.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()),
|
|
732
|
+
[...o.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()), os(o.shadowRoot, t.elementStyles);
|
|
733
733
|
else {
|
|
734
734
|
const e = o.shadowRoot.getElementById(Ct), i = t.prototype._template;
|
|
735
735
|
e.textContent = i.content.getElementById(Ct).textContent;
|
|
736
736
|
}
|
|
737
737
|
}
|
|
738
|
-
function
|
|
738
|
+
function Cn(o) {
|
|
739
739
|
si.forEach((t) => {
|
|
740
740
|
const e = t.deref();
|
|
741
|
-
e instanceof o ?
|
|
741
|
+
e instanceof o ? xn(e) : e || si.delete(t);
|
|
742
742
|
});
|
|
743
743
|
}
|
|
744
|
-
function
|
|
744
|
+
function ps(o) {
|
|
745
745
|
if (o.prototype instanceof Fe)
|
|
746
746
|
o.elementStyles = o.finalizeStyles(o.styles);
|
|
747
747
|
else {
|
|
748
748
|
const t = o.prototype._template;
|
|
749
|
-
t.content.getElementById(Ct).textContent =
|
|
749
|
+
t.content.getElementById(Ct).textContent = hs(o.getStylesForThis());
|
|
750
750
|
}
|
|
751
751
|
Pi.forEach((t) => {
|
|
752
752
|
const e = customElements.get(t);
|
|
753
|
-
e !== o && e.prototype instanceof o &&
|
|
753
|
+
e !== o && e.prototype instanceof o && ps(e);
|
|
754
754
|
});
|
|
755
755
|
}
|
|
756
|
-
function
|
|
756
|
+
function An(o, t) {
|
|
757
757
|
const e = o.__themes;
|
|
758
758
|
return !e || !t ? !1 : e.some(
|
|
759
759
|
(i) => i.styles.some((s) => t.some((r) => r.cssText === s.cssText))
|
|
760
760
|
);
|
|
761
761
|
}
|
|
762
762
|
function H(o, t, e = {}) {
|
|
763
|
-
t =
|
|
763
|
+
t = bn(t), window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.registerStyles(o, t, e) : ds.push({
|
|
764
764
|
themeFor: o,
|
|
765
765
|
styles: t,
|
|
766
766
|
include: e.include,
|
|
767
767
|
moduleId: e.moduleId
|
|
768
768
|
}), o && Pi.forEach((i) => {
|
|
769
|
-
if (
|
|
769
|
+
if (us(o, i) && vn(i)) {
|
|
770
770
|
const s = customElements.get(i);
|
|
771
|
-
|
|
771
|
+
An(s, t) ? console.warn(`Registering styles that already exist for ${i}`) : (!window.Vaadin || !window.Vaadin.suppressPostFinalizeStylesWarning) && console.warn(
|
|
772
772
|
`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".`
|
|
773
|
-
),
|
|
773
|
+
), ps(s), Cn(s);
|
|
774
774
|
}
|
|
775
775
|
});
|
|
776
776
|
}
|
|
777
777
|
function ri() {
|
|
778
|
-
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() :
|
|
778
|
+
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() : ds;
|
|
779
779
|
}
|
|
780
|
-
function
|
|
780
|
+
function Tn(o = "") {
|
|
781
781
|
let t = 0;
|
|
782
782
|
return o.startsWith("lumo-") || o.startsWith("material-") ? t = 1 : o.startsWith("vaadin-") && (t = 2), t;
|
|
783
783
|
}
|
|
784
|
-
function
|
|
784
|
+
function fs(o) {
|
|
785
785
|
const t = [];
|
|
786
786
|
return o.include && [].concat(o.include).forEach((e) => {
|
|
787
787
|
const i = ri().find((s) => s.moduleId === e);
|
|
788
|
-
i ? t.push(...
|
|
788
|
+
i ? t.push(...fs(i), ...i.styles) : console.warn(`Included moduleId ${e} not found in style registry`);
|
|
789
789
|
}, o.styles), t;
|
|
790
790
|
}
|
|
791
|
-
function
|
|
792
|
-
const t = `${o}-default-theme`, e = ri().filter((i) => i.moduleId !== t &&
|
|
791
|
+
function Dn(o) {
|
|
792
|
+
const t = `${o}-default-theme`, e = ri().filter((i) => i.moduleId !== t && us(i.themeFor, o)).map((i) => Lt(zt({}, i), {
|
|
793
793
|
// Prepend styles from included themes
|
|
794
|
-
styles: [...
|
|
794
|
+
styles: [...fs(i), ...i.styles],
|
|
795
795
|
// Map moduleId to includePriority
|
|
796
|
-
includePriority:
|
|
796
|
+
includePriority: Tn(i.moduleId)
|
|
797
797
|
})).sort((i, s) => s.includePriority - i.includePriority);
|
|
798
798
|
return e.length > 0 ? e : ri().filter((i) => i.moduleId === t);
|
|
799
799
|
}
|
|
800
|
-
const Se = (o) => class extends
|
|
800
|
+
const Se = (o) => class extends yn(o) {
|
|
801
801
|
constructor() {
|
|
802
802
|
super(), si.add(new WeakRef(this));
|
|
803
803
|
}
|
|
@@ -809,7 +809,7 @@ const Se = (o) => class extends gn(o) {
|
|
|
809
809
|
if (super.finalize(), this.is && Pi.add(this.is), this.elementStyles)
|
|
810
810
|
return;
|
|
811
811
|
const e = this.prototype._template;
|
|
812
|
-
!e ||
|
|
812
|
+
!e || cs(this) || wn(this.getStylesForThis(), e);
|
|
813
813
|
}
|
|
814
814
|
/**
|
|
815
815
|
* Covers LitElement based component styling
|
|
@@ -827,7 +827,7 @@ const Se = (o) => class extends gn(o) {
|
|
|
827
827
|
*/
|
|
828
828
|
static getStylesForThis() {
|
|
829
829
|
const e = o.__themes || [], i = Object.getPrototypeOf(this.prototype), s = (i ? i.constructor.__themes : []) || [];
|
|
830
|
-
this.__themes = [...e, ...s, ...
|
|
830
|
+
this.__themes = [...e, ...s, ...Dn(this.is)];
|
|
831
831
|
const r = this.__themes.flatMap((n) => n.styles);
|
|
832
832
|
return r.filter((n, a) => a === r.lastIndexOf(n));
|
|
833
833
|
}
|
|
@@ -837,19 +837,19 @@ const Se = (o) => class extends gn(o) {
|
|
|
837
837
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
838
838
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
839
839
|
*/
|
|
840
|
-
const
|
|
840
|
+
const En = (o, ...t) => {
|
|
841
841
|
const e = document.createElement("style");
|
|
842
842
|
e.id = o, e.textContent = t.map((i) => i.toString()).join(`
|
|
843
843
|
`).replace(":host", "html"), document.head.insertAdjacentElement("afterbegin", e);
|
|
844
844
|
}, Ue = (o, ...t) => {
|
|
845
|
-
|
|
845
|
+
En(`lumo-${o}`, t);
|
|
846
846
|
};
|
|
847
847
|
/**
|
|
848
848
|
* @license
|
|
849
849
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
850
850
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
851
851
|
*/
|
|
852
|
-
const
|
|
852
|
+
const kn = P`
|
|
853
853
|
:host {
|
|
854
854
|
--lumo-size-xs: 1.625rem;
|
|
855
855
|
--lumo-size-s: 1.875rem;
|
|
@@ -865,13 +865,13 @@ const En = P`
|
|
|
865
865
|
--lumo-icon-size: var(--lumo-icon-size-m);
|
|
866
866
|
}
|
|
867
867
|
`;
|
|
868
|
-
Ue("sizing-props",
|
|
868
|
+
Ue("sizing-props", kn);
|
|
869
869
|
/**
|
|
870
870
|
* @license
|
|
871
871
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
872
872
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
873
873
|
*/
|
|
874
|
-
const
|
|
874
|
+
const Sn = P`
|
|
875
875
|
:host {
|
|
876
876
|
/* Square */
|
|
877
877
|
--lumo-space-xs: 0.25rem;
|
|
@@ -895,13 +895,13 @@ const kn = P`
|
|
|
895
895
|
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
|
896
896
|
}
|
|
897
897
|
`;
|
|
898
|
-
Ue("spacing-props",
|
|
898
|
+
Ue("spacing-props", Sn);
|
|
899
899
|
/**
|
|
900
900
|
* @license
|
|
901
901
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
902
902
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
903
903
|
*/
|
|
904
|
-
const
|
|
904
|
+
const Pn = P`
|
|
905
905
|
:host {
|
|
906
906
|
/* Border radius */
|
|
907
907
|
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
@@ -1003,13 +1003,13 @@ P`
|
|
|
1003
1003
|
--vaadin-input-field-value-font-weight: 500;
|
|
1004
1004
|
}
|
|
1005
1005
|
`;
|
|
1006
|
-
Ue("style-props",
|
|
1006
|
+
Ue("style-props", Pn);
|
|
1007
1007
|
/**
|
|
1008
1008
|
* @license
|
|
1009
1009
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1010
1010
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1011
1011
|
*/
|
|
1012
|
-
const
|
|
1012
|
+
const On = P`
|
|
1013
1013
|
:host {
|
|
1014
1014
|
/* Base (background) */
|
|
1015
1015
|
--lumo-base-color: #fff;
|
|
@@ -1095,8 +1095,8 @@ const Pn = P`
|
|
|
1095
1095
|
}
|
|
1096
1096
|
}
|
|
1097
1097
|
`;
|
|
1098
|
-
Ue("color-props",
|
|
1099
|
-
const
|
|
1098
|
+
Ue("color-props", On);
|
|
1099
|
+
const Mn = P`
|
|
1100
1100
|
[theme~='dark'] {
|
|
1101
1101
|
/* Base (background) */
|
|
1102
1102
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -1215,13 +1215,13 @@ const On = P`
|
|
|
1215
1215
|
background: transparent;
|
|
1216
1216
|
}
|
|
1217
1217
|
`;
|
|
1218
|
-
H("",
|
|
1218
|
+
H("", Mn, { moduleId: "lumo-color" });
|
|
1219
1219
|
/**
|
|
1220
1220
|
* @license
|
|
1221
1221
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1222
1222
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1223
1223
|
*/
|
|
1224
|
-
const
|
|
1224
|
+
const In = P`
|
|
1225
1225
|
:host {
|
|
1226
1226
|
/* prettier-ignore */
|
|
1227
1227
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -1241,7 +1241,7 @@ const Mn = P`
|
|
|
1241
1241
|
--lumo-line-height-s: 1.375;
|
|
1242
1242
|
--lumo-line-height-m: 1.625;
|
|
1243
1243
|
}
|
|
1244
|
-
`,
|
|
1244
|
+
`, Nn = P`
|
|
1245
1245
|
body,
|
|
1246
1246
|
:host {
|
|
1247
1247
|
font-family: var(--lumo-font-family);
|
|
@@ -1334,14 +1334,14 @@ const Mn = P`
|
|
|
1334
1334
|
border-right: 2px solid var(--lumo-contrast-30pct);
|
|
1335
1335
|
}
|
|
1336
1336
|
`;
|
|
1337
|
-
H("",
|
|
1338
|
-
Ue("typography-props",
|
|
1337
|
+
H("", Nn, { moduleId: "lumo-typography" });
|
|
1338
|
+
Ue("typography-props", In);
|
|
1339
1339
|
/**
|
|
1340
1340
|
* @license
|
|
1341
1341
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1342
1342
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1343
1343
|
*/
|
|
1344
|
-
const
|
|
1344
|
+
const ms = P`
|
|
1345
1345
|
:host {
|
|
1346
1346
|
top: var(--lumo-space-m);
|
|
1347
1347
|
right: var(--lumo-space-m);
|
|
@@ -1407,13 +1407,13 @@ const fs = P`
|
|
|
1407
1407
|
}
|
|
1408
1408
|
}
|
|
1409
1409
|
`;
|
|
1410
|
-
H("",
|
|
1410
|
+
H("", ms, { moduleId: "lumo-overlay" });
|
|
1411
1411
|
/**
|
|
1412
1412
|
* @license
|
|
1413
1413
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1414
1414
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1415
1415
|
*/
|
|
1416
|
-
const
|
|
1416
|
+
const _s = P`
|
|
1417
1417
|
:host([opening]),
|
|
1418
1418
|
:host([closing]) {
|
|
1419
1419
|
animation: 0.14s lumo-overlay-dummy-animation;
|
|
@@ -1444,8 +1444,8 @@ const ms = P`
|
|
|
1444
1444
|
}
|
|
1445
1445
|
}
|
|
1446
1446
|
`;
|
|
1447
|
-
H("",
|
|
1448
|
-
const
|
|
1447
|
+
H("", _s, { moduleId: "lumo-menu-overlay-core" });
|
|
1448
|
+
const Fn = P`
|
|
1449
1449
|
/* Small viewport (bottom sheet) styles */
|
|
1450
1450
|
/* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
|
|
1451
1451
|
@media (max-width: 450px), (max-height: 450px) {
|
|
@@ -1507,9 +1507,9 @@ const Nn = P`
|
|
|
1507
1507
|
transform: translateY(150%);
|
|
1508
1508
|
}
|
|
1509
1509
|
}
|
|
1510
|
-
`,
|
|
1511
|
-
H("",
|
|
1512
|
-
const
|
|
1510
|
+
`, gs = [ms, _s, Fn];
|
|
1511
|
+
H("", gs, { moduleId: "lumo-menu-overlay" });
|
|
1512
|
+
const zn = P`
|
|
1513
1513
|
[part='overlay'] {
|
|
1514
1514
|
/*
|
|
1515
1515
|
Width:
|
|
@@ -1555,10 +1555,10 @@ const Fn = P`
|
|
|
1555
1555
|
}
|
|
1556
1556
|
}
|
|
1557
1557
|
`;
|
|
1558
|
-
H("vaadin-date-picker-overlay", [
|
|
1558
|
+
H("vaadin-date-picker-overlay", [gs, zn], {
|
|
1559
1559
|
moduleId: "lumo-date-picker-overlay"
|
|
1560
1560
|
});
|
|
1561
|
-
const
|
|
1561
|
+
const Ln = P`
|
|
1562
1562
|
:host {
|
|
1563
1563
|
/* Sizing */
|
|
1564
1564
|
--lumo-button-size: var(--lumo-size-m);
|
|
@@ -1835,7 +1835,7 @@ const zn = P`
|
|
|
1835
1835
|
margin-right: 0;
|
|
1836
1836
|
}
|
|
1837
1837
|
`;
|
|
1838
|
-
H("vaadin-button",
|
|
1838
|
+
H("vaadin-button", Ln, { moduleId: "lumo-button" });
|
|
1839
1839
|
H(
|
|
1840
1840
|
"vaadin-date-picker-year",
|
|
1841
1841
|
P`
|
|
@@ -2360,7 +2360,7 @@ H(
|
|
|
2360
2360
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2361
2361
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2362
2362
|
*/
|
|
2363
|
-
const
|
|
2363
|
+
const $n = P`
|
|
2364
2364
|
@font-face {
|
|
2365
2365
|
font-family: 'lumo-icons';
|
|
2366
2366
|
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==)
|
|
@@ -2414,13 +2414,13 @@ const Ln = P`
|
|
|
2414
2414
|
--lumo-icons-user: '\\ea2a';
|
|
2415
2415
|
}
|
|
2416
2416
|
`;
|
|
2417
|
-
Ue("font-icons",
|
|
2417
|
+
Ue("font-icons", $n);
|
|
2418
2418
|
/**
|
|
2419
2419
|
* @license
|
|
2420
2420
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2421
2421
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2422
2422
|
*/
|
|
2423
|
-
const
|
|
2423
|
+
const ys = P`
|
|
2424
2424
|
[part$='button'] {
|
|
2425
2425
|
flex: none;
|
|
2426
2426
|
width: 1em;
|
|
@@ -2448,13 +2448,13 @@ const gs = P`
|
|
|
2448
2448
|
display: block;
|
|
2449
2449
|
}
|
|
2450
2450
|
`;
|
|
2451
|
-
H("",
|
|
2451
|
+
H("", ys, { moduleId: "lumo-field-button" });
|
|
2452
2452
|
/**
|
|
2453
2453
|
* @license
|
|
2454
2454
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2455
2455
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2456
2456
|
*/
|
|
2457
|
-
const
|
|
2457
|
+
const Rn = P`
|
|
2458
2458
|
:host {
|
|
2459
2459
|
--_helper-spacing: var(--vaadin-input-field-helper-spacing, 0.4em);
|
|
2460
2460
|
}
|
|
@@ -2516,7 +2516,7 @@ const $n = P`
|
|
|
2516
2516
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2517
2517
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2518
2518
|
*/
|
|
2519
|
-
const
|
|
2519
|
+
const vs = P`
|
|
2520
2520
|
[part='label'] {
|
|
2521
2521
|
align-self: flex-start;
|
|
2522
2522
|
color: var(--vaadin-input-field-label-color, var(--lumo-secondary-text-color));
|
|
@@ -2629,13 +2629,13 @@ const ys = P`
|
|
|
2629
2629
|
margin-right: calc(var(--lumo-border-radius-m) / 4);
|
|
2630
2630
|
}
|
|
2631
2631
|
`;
|
|
2632
|
-
H("",
|
|
2632
|
+
H("", vs, { moduleId: "lumo-required-field" });
|
|
2633
2633
|
/**
|
|
2634
2634
|
* @license
|
|
2635
2635
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2636
2636
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2637
2637
|
*/
|
|
2638
|
-
const
|
|
2638
|
+
const Hn = P`
|
|
2639
2639
|
:host {
|
|
2640
2640
|
--lumo-text-field-size: var(--lumo-size-m);
|
|
2641
2641
|
color: var(--vaadin-input-field-value-color, var(--lumo-body-text-color));
|
|
@@ -2766,11 +2766,11 @@ const Rn = P`
|
|
|
2766
2766
|
[part='clear-button']::before {
|
|
2767
2767
|
content: var(--lumo-icons-cross);
|
|
2768
2768
|
}
|
|
2769
|
-
`,
|
|
2770
|
-
H("",
|
|
2769
|
+
`, bs = [vs, ys, Rn, Hn];
|
|
2770
|
+
H("", bs, {
|
|
2771
2771
|
moduleId: "lumo-input-field-shared-styles"
|
|
2772
2772
|
});
|
|
2773
|
-
const
|
|
2773
|
+
const Bn = P`
|
|
2774
2774
|
[part='toggle-button']::before {
|
|
2775
2775
|
content: var(--lumo-icons-calendar);
|
|
2776
2776
|
}
|
|
@@ -2793,7 +2793,7 @@ const Hn = P`
|
|
|
2793
2793
|
--_lumo-text-field-overflow-mask-image: none;
|
|
2794
2794
|
}
|
|
2795
2795
|
`;
|
|
2796
|
-
H("vaadin-date-picker", [
|
|
2796
|
+
H("vaadin-date-picker", [bs, Bn], { moduleId: "lumo-date-picker" });
|
|
2797
2797
|
/**
|
|
2798
2798
|
@license
|
|
2799
2799
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -2815,9 +2815,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2815
2815
|
Code distributed by Google as part of the polymer project is also
|
|
2816
2816
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2817
2817
|
*/
|
|
2818
|
-
let
|
|
2818
|
+
let Vn = /(url\()([^)]*)(\))/g, Un = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, ft, Q;
|
|
2819
2819
|
function tt(o, t) {
|
|
2820
|
-
if (o &&
|
|
2820
|
+
if (o && Un.test(o) || o === "//")
|
|
2821
2821
|
return o;
|
|
2822
2822
|
if (ft === void 0) {
|
|
2823
2823
|
ft = !1;
|
|
@@ -2836,7 +2836,7 @@ function tt(o, t) {
|
|
|
2836
2836
|
return Q || (Q = document.implementation.createHTMLDocument("temp"), Q.base = Q.createElement("base"), Q.head.appendChild(Q.base), Q.anchor = Q.createElement("a"), Q.body.appendChild(Q.anchor)), Q.base.href = t, Q.anchor.href = o, Q.anchor.href || o;
|
|
2837
2837
|
}
|
|
2838
2838
|
function Oi(o, t) {
|
|
2839
|
-
return o.replace(
|
|
2839
|
+
return o.replace(Vn, function(e, i, s, r) {
|
|
2840
2840
|
return i + "'" + tt(s.replace(/["']/g, ""), t) + "'" + r;
|
|
2841
2841
|
});
|
|
2842
2842
|
}
|
|
@@ -2852,9 +2852,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2852
2852
|
Code distributed by Google as part of the polymer project is also
|
|
2853
2853
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2854
2854
|
*/
|
|
2855
|
-
const
|
|
2855
|
+
const ws = !window.ShadyDOM || !window.ShadyDOM.inUse;
|
|
2856
2856
|
!window.ShadyCSS || window.ShadyCSS.nativeCss;
|
|
2857
|
-
const
|
|
2857
|
+
const jn = ws && "adoptedStyleSheets" in Document.prototype && "replaceSync" in CSSStyleSheet.prototype && // Since spec may change, feature detect exact API we need
|
|
2858
2858
|
(() => {
|
|
2859
2859
|
try {
|
|
2860
2860
|
const o = new CSSStyleSheet();
|
|
@@ -2865,11 +2865,11 @@ const Un = bs && "adoptedStyleSheets" in Document.prototype && "replaceSync" in
|
|
|
2865
2865
|
return !1;
|
|
2866
2866
|
}
|
|
2867
2867
|
})();
|
|
2868
|
-
let
|
|
2868
|
+
let Yn = window.Polymer && window.Polymer.rootPath || Mi(document.baseURI || window.location.href), At = window.Polymer && window.Polymer.sanitizeDOMValue || void 0;
|
|
2869
2869
|
window.Polymer && window.Polymer.setPassiveTouchGestures;
|
|
2870
|
-
let Tt = window.Polymer && window.Polymer.strictTemplatePolicy || !1,
|
|
2870
|
+
let Tt = window.Polymer && window.Polymer.strictTemplatePolicy || !1, Wn = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, xs = window.Polymer && window.Polymer.legacyOptimizations || !1, Cs = window.Polymer && window.Polymer.legacyWarnings || !1, qn = window.Polymer && window.Polymer.syncInitialRender || !1, ni = window.Polymer && window.Polymer.legacyUndefined || !1, Kn = window.Polymer && window.Polymer.orderedComputed || !1, mo = window.Polymer && window.Polymer.removeNestedTemplates || !1, Gn = window.Polymer && window.Polymer.fastDomIf || !1, _o = window.Polymer && window.Polymer.suppressTemplateNotifications || !1;
|
|
2871
2871
|
window.Polymer && window.Polymer.legacyNoObservedAttributes;
|
|
2872
|
-
let
|
|
2872
|
+
let Jn = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
|
|
2873
2873
|
/**
|
|
2874
2874
|
@license
|
|
2875
2875
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -2879,14 +2879,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2879
2879
|
Code distributed by Google as part of the polymer project is also
|
|
2880
2880
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2881
2881
|
*/
|
|
2882
|
-
let
|
|
2882
|
+
let Xn = 0;
|
|
2883
2883
|
const U = function(o) {
|
|
2884
2884
|
let t = (
|
|
2885
2885
|
/** @type {!MixinFunction} */
|
|
2886
2886
|
o.__mixinApplications
|
|
2887
2887
|
);
|
|
2888
2888
|
t || (t = /* @__PURE__ */ new WeakMap(), o.__mixinApplications = t);
|
|
2889
|
-
let e =
|
|
2889
|
+
let e = Xn++;
|
|
2890
2890
|
function i(s) {
|
|
2891
2891
|
let r = (
|
|
2892
2892
|
/** @type {!MixinFunction} */
|
|
@@ -2917,14 +2917,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2917
2917
|
Code distributed by Google as part of the polymer project is also
|
|
2918
2918
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2919
2919
|
*/
|
|
2920
|
-
let Ii = {},
|
|
2921
|
-
function
|
|
2922
|
-
Ii[o] =
|
|
2920
|
+
let Ii = {}, As = {};
|
|
2921
|
+
function go(o, t) {
|
|
2922
|
+
Ii[o] = As[o.toLowerCase()] = t;
|
|
2923
2923
|
}
|
|
2924
|
-
function
|
|
2925
|
-
return Ii[o] ||
|
|
2924
|
+
function yo(o) {
|
|
2925
|
+
return Ii[o] || As[o.toLowerCase()];
|
|
2926
2926
|
}
|
|
2927
|
-
function
|
|
2927
|
+
function Zn(o) {
|
|
2928
2928
|
o.querySelector("style") && console.warn("dom-module %s has style outside template", o.id);
|
|
2929
2929
|
}
|
|
2930
2930
|
class rt extends HTMLElement {
|
|
@@ -2945,7 +2945,7 @@ class rt extends HTMLElement {
|
|
|
2945
2945
|
*/
|
|
2946
2946
|
static import(t, e) {
|
|
2947
2947
|
if (t) {
|
|
2948
|
-
let i =
|
|
2948
|
+
let i = yo(t);
|
|
2949
2949
|
return i && e ? i.querySelector(e) : i;
|
|
2950
2950
|
}
|
|
2951
2951
|
return null;
|
|
@@ -2993,9 +2993,9 @@ class rt extends HTMLElement {
|
|
|
2993
2993
|
*/
|
|
2994
2994
|
register(t) {
|
|
2995
2995
|
if (t = t || this.id, t) {
|
|
2996
|
-
if (Tt &&
|
|
2997
|
-
throw
|
|
2998
|
-
this.id = t,
|
|
2996
|
+
if (Tt && yo(t) !== void 0)
|
|
2997
|
+
throw go(t, null), new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);
|
|
2998
|
+
this.id = t, go(t, this), Zn(this);
|
|
2999
2999
|
}
|
|
3000
3000
|
}
|
|
3001
3001
|
}
|
|
@@ -3010,14 +3010,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3010
3010
|
Code distributed by Google as part of the polymer project is also
|
|
3011
3011
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3012
3012
|
*/
|
|
3013
|
-
const
|
|
3014
|
-
function
|
|
3013
|
+
const Qn = "link[rel=import][type~=css]", ea = "include", vo = "shady-unscoped";
|
|
3014
|
+
function Ts(o) {
|
|
3015
3015
|
return (
|
|
3016
3016
|
/** @type {?DomModule} */
|
|
3017
3017
|
rt.import(o)
|
|
3018
3018
|
);
|
|
3019
3019
|
}
|
|
3020
|
-
function
|
|
3020
|
+
function bo(o) {
|
|
3021
3021
|
let t = o.body ? o.body : o;
|
|
3022
3022
|
const e = Oi(
|
|
3023
3023
|
t.textContent,
|
|
@@ -3025,24 +3025,24 @@ function vo(o) {
|
|
|
3025
3025
|
), i = document.createElement("style");
|
|
3026
3026
|
return i.textContent = e, i;
|
|
3027
3027
|
}
|
|
3028
|
-
function
|
|
3028
|
+
function ta(o) {
|
|
3029
3029
|
const t = o.trim().split(/\s+/), e = [];
|
|
3030
3030
|
for (let i = 0; i < t.length; i++)
|
|
3031
|
-
e.push(...
|
|
3031
|
+
e.push(...ia(t[i]));
|
|
3032
3032
|
return e;
|
|
3033
3033
|
}
|
|
3034
|
-
function
|
|
3035
|
-
const t =
|
|
3034
|
+
function ia(o) {
|
|
3035
|
+
const t = Ts(o);
|
|
3036
3036
|
if (!t)
|
|
3037
3037
|
return console.warn("Could not find style data in module named", o), [];
|
|
3038
3038
|
if (t._styles === void 0) {
|
|
3039
3039
|
const e = [];
|
|
3040
|
-
e.push(...
|
|
3040
|
+
e.push(...Es(t));
|
|
3041
3041
|
const i = (
|
|
3042
3042
|
/** @type {?HTMLTemplateElement} */
|
|
3043
3043
|
t.querySelector("template")
|
|
3044
3044
|
);
|
|
3045
|
-
i && e.push(...
|
|
3045
|
+
i && e.push(...Ds(
|
|
3046
3046
|
i,
|
|
3047
3047
|
/** @type {templateWithAssetPath} */
|
|
3048
3048
|
t.assetpath
|
|
@@ -3050,12 +3050,12 @@ function ta(o) {
|
|
|
3050
3050
|
}
|
|
3051
3051
|
return t._styles;
|
|
3052
3052
|
}
|
|
3053
|
-
function
|
|
3053
|
+
function Ds(o, t) {
|
|
3054
3054
|
if (!o._styles) {
|
|
3055
3055
|
const e = [], i = o.content.querySelectorAll("style");
|
|
3056
3056
|
for (let s = 0; s < i.length; s++) {
|
|
3057
|
-
let r = i[s], n = r.getAttribute(
|
|
3058
|
-
n && e.push(...
|
|
3057
|
+
let r = i[s], n = r.getAttribute(ea);
|
|
3058
|
+
n && e.push(...ta(n).filter(function(a, l, d) {
|
|
3059
3059
|
return d.indexOf(a) === l;
|
|
3060
3060
|
})), t && (r.textContent = Oi(
|
|
3061
3061
|
r.textContent,
|
|
@@ -3067,21 +3067,21 @@ function Ts(o, t) {
|
|
|
3067
3067
|
}
|
|
3068
3068
|
return o._styles;
|
|
3069
3069
|
}
|
|
3070
|
-
function
|
|
3071
|
-
let t =
|
|
3072
|
-
return t ?
|
|
3070
|
+
function oa(o) {
|
|
3071
|
+
let t = Ts(o);
|
|
3072
|
+
return t ? Es(t) : [];
|
|
3073
3073
|
}
|
|
3074
|
-
function
|
|
3075
|
-
const t = [], e = o.querySelectorAll(
|
|
3074
|
+
function Es(o) {
|
|
3075
|
+
const t = [], e = o.querySelectorAll(Qn);
|
|
3076
3076
|
for (let i = 0; i < e.length; i++) {
|
|
3077
3077
|
let s = e[i];
|
|
3078
3078
|
if (s.import) {
|
|
3079
|
-
const r = s.import, n = s.hasAttribute(
|
|
3079
|
+
const r = s.import, n = s.hasAttribute(vo);
|
|
3080
3080
|
if (n && !r._unscopedStyle) {
|
|
3081
|
-
const a =
|
|
3082
|
-
a.setAttribute(
|
|
3081
|
+
const a = bo(r);
|
|
3082
|
+
a.setAttribute(vo, ""), r._unscopedStyle = a;
|
|
3083
3083
|
} else
|
|
3084
|
-
r._style || (r._style =
|
|
3084
|
+
r._style || (r._style = bo(r));
|
|
3085
3085
|
t.push(n ? r._unscopedStyle : r._style);
|
|
3086
3086
|
}
|
|
3087
3087
|
}
|
|
@@ -3113,7 +3113,7 @@ function Pe(o) {
|
|
|
3113
3113
|
let t = o.indexOf(".");
|
|
3114
3114
|
return t === -1 ? o : o.slice(0, t);
|
|
3115
3115
|
}
|
|
3116
|
-
function
|
|
3116
|
+
function ks(o, t) {
|
|
3117
3117
|
return o.indexOf(t + ".") === 0;
|
|
3118
3118
|
}
|
|
3119
3119
|
function nt(o, t) {
|
|
@@ -3122,8 +3122,8 @@ function nt(o, t) {
|
|
|
3122
3122
|
function at(o, t, e) {
|
|
3123
3123
|
return t + e.slice(o.length);
|
|
3124
3124
|
}
|
|
3125
|
-
function
|
|
3126
|
-
return o === t ||
|
|
3125
|
+
function sa(o, t) {
|
|
3126
|
+
return o === t || ks(o, t) || nt(o, t);
|
|
3127
3127
|
}
|
|
3128
3128
|
function Xe(o) {
|
|
3129
3129
|
if (Array.isArray(o)) {
|
|
@@ -3137,11 +3137,11 @@ function Xe(o) {
|
|
|
3137
3137
|
} else
|
|
3138
3138
|
return o;
|
|
3139
3139
|
}
|
|
3140
|
-
function
|
|
3140
|
+
function Ss(o) {
|
|
3141
3141
|
return Array.isArray(o) ? Xe(o).split(".") : o.toString().split(".");
|
|
3142
3142
|
}
|
|
3143
3143
|
function J(o, t, e) {
|
|
3144
|
-
let i = o, s =
|
|
3144
|
+
let i = o, s = Ss(t);
|
|
3145
3145
|
for (let r = 0; r < s.length; r++) {
|
|
3146
3146
|
if (!i)
|
|
3147
3147
|
return;
|
|
@@ -3150,8 +3150,8 @@ function J(o, t, e) {
|
|
|
3150
3150
|
}
|
|
3151
3151
|
return e && (e.path = s.join(".")), i;
|
|
3152
3152
|
}
|
|
3153
|
-
function
|
|
3154
|
-
let i = o, s =
|
|
3153
|
+
function wo(o, t, e) {
|
|
3154
|
+
let i = o, s = Ss(t), r = s[s.length - 1];
|
|
3155
3155
|
if (s.length > 1) {
|
|
3156
3156
|
for (let n = 0; n < s.length - 1; n++) {
|
|
3157
3157
|
let a = s[n];
|
|
@@ -3172,15 +3172,15 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3172
3172
|
Code distributed by Google as part of the polymer project is also
|
|
3173
3173
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3174
3174
|
*/
|
|
3175
|
-
const Dt = {},
|
|
3176
|
-
function
|
|
3175
|
+
const Dt = {}, ra = /-[a-z]/g, na = /([A-Z])/g;
|
|
3176
|
+
function Ps(o) {
|
|
3177
3177
|
return Dt[o] || (Dt[o] = o.indexOf("-") < 0 ? o : o.replace(
|
|
3178
|
-
|
|
3178
|
+
ra,
|
|
3179
3179
|
(t) => t[1].toUpperCase()
|
|
3180
3180
|
));
|
|
3181
3181
|
}
|
|
3182
3182
|
function Ot(o) {
|
|
3183
|
-
return Dt[o] || (Dt[o] = o.replace(
|
|
3183
|
+
return Dt[o] || (Dt[o] = o.replace(na, "-$1").toLowerCase());
|
|
3184
3184
|
}
|
|
3185
3185
|
/**
|
|
3186
3186
|
@license
|
|
@@ -3191,9 +3191,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3191
3191
|
Code distributed by Google as part of the polymer project is also
|
|
3192
3192
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3193
3193
|
*/
|
|
3194
|
-
let
|
|
3195
|
-
new window.MutationObserver(
|
|
3196
|
-
function
|
|
3194
|
+
let aa = 0, Os = 0, ze = [], la = 0, li = !1, Ms = document.createTextNode("");
|
|
3195
|
+
new window.MutationObserver(da).observe(Ms, { characterData: !0 });
|
|
3196
|
+
function da() {
|
|
3197
3197
|
li = !1;
|
|
3198
3198
|
const o = ze.length;
|
|
3199
3199
|
for (let t = 0; t < o; t++) {
|
|
@@ -3207,9 +3207,9 @@ function la() {
|
|
|
3207
3207
|
});
|
|
3208
3208
|
}
|
|
3209
3209
|
}
|
|
3210
|
-
ze.splice(0, o),
|
|
3210
|
+
ze.splice(0, o), Os += o;
|
|
3211
3211
|
}
|
|
3212
|
-
const
|
|
3212
|
+
const ca = {
|
|
3213
3213
|
/**
|
|
3214
3214
|
* Returns a sub-module with the async interface providing the provided
|
|
3215
3215
|
* delay.
|
|
@@ -3249,7 +3249,7 @@ const da = {
|
|
|
3249
3249
|
cancel(o) {
|
|
3250
3250
|
window.clearTimeout(o);
|
|
3251
3251
|
}
|
|
3252
|
-
},
|
|
3252
|
+
}, Is = {
|
|
3253
3253
|
/**
|
|
3254
3254
|
* Enqueues a function called at microtask timing.
|
|
3255
3255
|
*
|
|
@@ -3258,7 +3258,7 @@ const da = {
|
|
|
3258
3258
|
* @return {number} Handle used for canceling task
|
|
3259
3259
|
*/
|
|
3260
3260
|
run(o) {
|
|
3261
|
-
return li || (li = !0,
|
|
3261
|
+
return li || (li = !0, Ms.textContent = la++), ze.push(o), aa++;
|
|
3262
3262
|
},
|
|
3263
3263
|
/**
|
|
3264
3264
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -3268,7 +3268,7 @@ const da = {
|
|
|
3268
3268
|
* @return {void}
|
|
3269
3269
|
*/
|
|
3270
3270
|
cancel(o) {
|
|
3271
|
-
const t = o -
|
|
3271
|
+
const t = o - Os;
|
|
3272
3272
|
if (t >= 0) {
|
|
3273
3273
|
if (!ze[t])
|
|
3274
3274
|
throw new Error("invalid async handle: " + o);
|
|
@@ -3285,7 +3285,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3285
3285
|
Code distributed by Google as part of the polymer project is also
|
|
3286
3286
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3287
3287
|
*/
|
|
3288
|
-
const
|
|
3288
|
+
const ua = Is, Ns = U(
|
|
3289
3289
|
/**
|
|
3290
3290
|
* @template T
|
|
3291
3291
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -3494,7 +3494,7 @@ const ca = Ms, Is = U(
|
|
|
3494
3494
|
* @override
|
|
3495
3495
|
*/
|
|
3496
3496
|
_invalidateProperties() {
|
|
3497
|
-
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0,
|
|
3497
|
+
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0, ua.run(() => {
|
|
3498
3498
|
this.__dataInvalid && (this.__dataInvalid = !1, this._flushProperties());
|
|
3499
3499
|
}));
|
|
3500
3500
|
}
|
|
@@ -3721,23 +3721,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3721
3721
|
Code distributed by Google as part of the polymer project is also
|
|
3722
3722
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3723
3723
|
*/
|
|
3724
|
-
const
|
|
3724
|
+
const Fs = {};
|
|
3725
3725
|
let mt = HTMLElement.prototype;
|
|
3726
3726
|
for (; mt; ) {
|
|
3727
3727
|
let o = Object.getOwnPropertyNames(mt);
|
|
3728
3728
|
for (let t = 0; t < o.length; t++)
|
|
3729
|
-
|
|
3729
|
+
Fs[o[t]] = !0;
|
|
3730
3730
|
mt = Object.getPrototypeOf(mt);
|
|
3731
3731
|
}
|
|
3732
|
-
const
|
|
3733
|
-
function
|
|
3734
|
-
if (!
|
|
3732
|
+
const ha = window.trustedTypes ? (o) => trustedTypes.isHTML(o) || trustedTypes.isScript(o) || trustedTypes.isScriptURL(o) : () => !1;
|
|
3733
|
+
function pa(o, t) {
|
|
3734
|
+
if (!Fs[t]) {
|
|
3735
3735
|
let e = o[t];
|
|
3736
3736
|
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));
|
|
3737
3737
|
}
|
|
3738
3738
|
}
|
|
3739
|
-
const
|
|
3740
|
-
const t =
|
|
3739
|
+
const fa = U((o) => {
|
|
3740
|
+
const t = Ns(o);
|
|
3741
3741
|
class e extends t {
|
|
3742
3742
|
/**
|
|
3743
3743
|
* Generates property accessors for all attributes in the standard
|
|
@@ -3755,7 +3755,7 @@ const pa = U((o) => {
|
|
|
3755
3755
|
this.observedAttributes
|
|
3756
3756
|
);
|
|
3757
3757
|
for (let r = 0; r < s.length; r++)
|
|
3758
|
-
this.prototype._createPropertyAccessor(
|
|
3758
|
+
this.prototype._createPropertyAccessor(Ps(s[r]));
|
|
3759
3759
|
}
|
|
3760
3760
|
/**
|
|
3761
3761
|
* Returns an attribute name that corresponds to the given property.
|
|
@@ -3832,7 +3832,7 @@ const pa = U((o) => {
|
|
|
3832
3832
|
if (s instanceof Date)
|
|
3833
3833
|
return s.toString();
|
|
3834
3834
|
if (s) {
|
|
3835
|
-
if (
|
|
3835
|
+
if (ha(s))
|
|
3836
3836
|
return (
|
|
3837
3837
|
/** @type {?} */
|
|
3838
3838
|
s
|
|
@@ -3913,7 +3913,7 @@ const pa = U((o) => {
|
|
|
3913
3913
|
* @override
|
|
3914
3914
|
*/
|
|
3915
3915
|
_definePropertyAccessor(s, r) {
|
|
3916
|
-
|
|
3916
|
+
pa(this, s), super._definePropertyAccessor(s, r);
|
|
3917
3917
|
}
|
|
3918
3918
|
/**
|
|
3919
3919
|
* Returns true if this library created an accessor for the given property.
|
|
@@ -3948,23 +3948,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3948
3948
|
Code distributed by Google as part of the polymer project is also
|
|
3949
3949
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3950
3950
|
*/
|
|
3951
|
-
const
|
|
3951
|
+
const ma = {
|
|
3952
3952
|
"dom-if": !0,
|
|
3953
3953
|
"dom-repeat": !0
|
|
3954
3954
|
};
|
|
3955
|
-
let
|
|
3956
|
-
function
|
|
3957
|
-
if (!
|
|
3958
|
-
|
|
3955
|
+
let xo = !1, Co = !1;
|
|
3956
|
+
function _a() {
|
|
3957
|
+
if (!xo) {
|
|
3958
|
+
xo = !0;
|
|
3959
3959
|
const o = document.createElement("textarea");
|
|
3960
|
-
o.placeholder = "a",
|
|
3960
|
+
o.placeholder = "a", Co = o.placeholder === o.textContent;
|
|
3961
3961
|
}
|
|
3962
|
-
return
|
|
3962
|
+
return Co;
|
|
3963
3963
|
}
|
|
3964
|
-
function
|
|
3965
|
-
|
|
3964
|
+
function ga(o) {
|
|
3965
|
+
_a() && o.localName === "textarea" && o.placeholder && o.placeholder === o.textContent && (o.textContent = null);
|
|
3966
3966
|
}
|
|
3967
|
-
const
|
|
3967
|
+
const ya = (() => {
|
|
3968
3968
|
const o = window.trustedTypes && window.trustedTypes.createPolicy(
|
|
3969
3969
|
"polymer-template-event-attribute-policy",
|
|
3970
3970
|
{
|
|
@@ -3983,19 +3983,19 @@ const ga = (() => {
|
|
|
3983
3983
|
t.setAttribute(i, s);
|
|
3984
3984
|
};
|
|
3985
3985
|
})();
|
|
3986
|
-
function
|
|
3986
|
+
function va(o) {
|
|
3987
3987
|
let t = o.getAttribute("is");
|
|
3988
|
-
if (t &&
|
|
3988
|
+
if (t && ma[t]) {
|
|
3989
3989
|
let e = o;
|
|
3990
3990
|
for (e.removeAttribute("is"), o = e.ownerDocument.createElement(t), e.parentNode.replaceChild(o, e), o.appendChild(e); e.attributes.length; ) {
|
|
3991
3991
|
const { name: i } = e.attributes[0];
|
|
3992
|
-
|
|
3992
|
+
ya(o, e, i), e.removeAttribute(i);
|
|
3993
3993
|
}
|
|
3994
3994
|
}
|
|
3995
3995
|
return o;
|
|
3996
3996
|
}
|
|
3997
|
-
function
|
|
3998
|
-
let e = t.parentInfo &&
|
|
3997
|
+
function zs(o, t) {
|
|
3998
|
+
let e = t.parentInfo && zs(o, t.parentInfo);
|
|
3999
3999
|
if (e) {
|
|
4000
4000
|
for (let i = e.firstChild, s = 0; i; i = i.nextSibling)
|
|
4001
4001
|
if (t.parentIndex === s++)
|
|
@@ -4003,23 +4003,23 @@ function Fs(o, t) {
|
|
|
4003
4003
|
} else
|
|
4004
4004
|
return o;
|
|
4005
4005
|
}
|
|
4006
|
-
function
|
|
4006
|
+
function ba(o, t, e, i) {
|
|
4007
4007
|
i.id && (t[i.id] = e);
|
|
4008
4008
|
}
|
|
4009
|
-
function
|
|
4009
|
+
function wa(o, t, e) {
|
|
4010
4010
|
if (e.events && e.events.length)
|
|
4011
4011
|
for (let i = 0, s = e.events, r; i < s.length && (r = s[i]); i++)
|
|
4012
4012
|
o._addMethodEventListenerToNode(t, r.name, r.value, o);
|
|
4013
4013
|
}
|
|
4014
|
-
function
|
|
4014
|
+
function xa(o, t, e, i) {
|
|
4015
4015
|
e.templateInfo && (t._templateInfo = e.templateInfo, t._parentTemplateInfo = i);
|
|
4016
4016
|
}
|
|
4017
|
-
function
|
|
4017
|
+
function Ca(o, t, e) {
|
|
4018
4018
|
return o = o._methodHost || o, function(s) {
|
|
4019
4019
|
o[e] ? o[e](s, s.detail) : console.warn("listener method `" + e + "` not defined");
|
|
4020
4020
|
};
|
|
4021
4021
|
}
|
|
4022
|
-
const
|
|
4022
|
+
const Aa = U(
|
|
4023
4023
|
/**
|
|
4024
4024
|
* @template T
|
|
4025
4025
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -4146,7 +4146,7 @@ const Ca = U(
|
|
|
4146
4146
|
/** @type {!HTMLTemplateElement} */
|
|
4147
4147
|
i
|
|
4148
4148
|
);
|
|
4149
|
-
return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, s, r) || n : a.localName === "slot" && (s.hasInsertionPoint = !0),
|
|
4149
|
+
return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, s, r) || n : a.localName === "slot" && (s.hasInsertionPoint = !0), ga(a), a.firstChild && this._parseTemplateChildNodes(a, s, r), a.hasAttributes && a.hasAttributes() && (n = this._parseTemplateNodeAttributes(a, s, r) || n), n || r.noted;
|
|
4150
4150
|
}
|
|
4151
4151
|
/**
|
|
4152
4152
|
* Parses template child nodes for the given root node.
|
|
@@ -4164,7 +4164,7 @@ const Ca = U(
|
|
|
4164
4164
|
static _parseTemplateChildNodes(i, s, r) {
|
|
4165
4165
|
if (!(i.localName === "script" || i.localName === "style"))
|
|
4166
4166
|
for (let n = i.firstChild, a = 0, l; n; n = l) {
|
|
4167
|
-
if (n.localName == "template" && (n =
|
|
4167
|
+
if (n.localName == "template" && (n = va(n)), l = n.nextSibling, n.nodeType === Node.TEXT_NODE) {
|
|
4168
4168
|
let c = l;
|
|
4169
4169
|
for (; c && c.nodeType === Node.TEXT_NODE; )
|
|
4170
4170
|
n.textContent += c.textContent, l = c.nextSibling, i.removeChild(c), c = l;
|
|
@@ -4299,8 +4299,8 @@ const Ca = U(
|
|
|
4299
4299
|
let l = a.nodeList = new Array(r.length);
|
|
4300
4300
|
a.$ = {};
|
|
4301
4301
|
for (let d = 0, c = r.length, u; d < c && (u = r[d]); d++) {
|
|
4302
|
-
let h = l[d] =
|
|
4303
|
-
|
|
4302
|
+
let h = l[d] = zs(a, u);
|
|
4303
|
+
ba(this, a.$, h, u), xa(this, h, u, s), wa(this, h, u);
|
|
4304
4304
|
}
|
|
4305
4305
|
return a = /** @type {!StampedTemplate} */
|
|
4306
4306
|
a, a;
|
|
@@ -4321,7 +4321,7 @@ const Ca = U(
|
|
|
4321
4321
|
*/
|
|
4322
4322
|
_addMethodEventListenerToNode(i, s, r, n) {
|
|
4323
4323
|
n = n || i;
|
|
4324
|
-
let a =
|
|
4324
|
+
let a = Ca(n, s, r);
|
|
4325
4325
|
return this._addEventListenerToNode(i, s, a), a;
|
|
4326
4326
|
}
|
|
4327
4327
|
/**
|
|
@@ -4371,7 +4371,7 @@ const dt = [], O = {
|
|
|
4371
4371
|
PROPAGATE: "__propagateEffects",
|
|
4372
4372
|
OBSERVE: "__observeEffects",
|
|
4373
4373
|
READ_ONLY: "__readOnly"
|
|
4374
|
-
},
|
|
4374
|
+
}, Ls = "__computeInfo", Ta = /[A-Z]/;
|
|
4375
4375
|
function Vt(o, t, e) {
|
|
4376
4376
|
let i = o[t];
|
|
4377
4377
|
if (!i)
|
|
@@ -4398,7 +4398,7 @@ function Ze(o, t, e, i, s, r) {
|
|
|
4398
4398
|
}
|
|
4399
4399
|
return !1;
|
|
4400
4400
|
}
|
|
4401
|
-
function
|
|
4401
|
+
function Da(o, t, e, i, s, r, n, a) {
|
|
4402
4402
|
let l = !1, d = n ? Pe(i) : i, c = t[d];
|
|
4403
4403
|
if (c)
|
|
4404
4404
|
for (let u = 0, h = c.length, p; u < h && (p = c[u]); u++)
|
|
@@ -4411,30 +4411,30 @@ function Ni(o, t) {
|
|
|
4411
4411
|
/** @type {string} */
|
|
4412
4412
|
t.name
|
|
4413
4413
|
);
|
|
4414
|
-
return e == o || !!(t.structured &&
|
|
4414
|
+
return e == o || !!(t.structured && ks(e, o)) || !!(t.wildcard && nt(e, o));
|
|
4415
4415
|
} else
|
|
4416
4416
|
return !0;
|
|
4417
4417
|
}
|
|
4418
|
-
function
|
|
4418
|
+
function Ao(o, t, e, i, s) {
|
|
4419
4419
|
let r = typeof s.method == "string" ? o[s.method] : s.method, n = s.property;
|
|
4420
4420
|
r ? r.call(o, o.__data[n], i[n]) : s.dynamicFn || console.warn("observer method `" + s.method + "` not defined");
|
|
4421
4421
|
}
|
|
4422
|
-
function
|
|
4422
|
+
function Ea(o, t, e, i, s) {
|
|
4423
4423
|
let r = o[O.NOTIFY], n, a = lt++;
|
|
4424
4424
|
for (let d in t)
|
|
4425
|
-
t[d] && (r &&
|
|
4425
|
+
t[d] && (r && Da(o, r, a, d, e, i, s) || s && ka(o, d, e)) && (n = !0);
|
|
4426
4426
|
let l;
|
|
4427
4427
|
n && (l = o.__dataHost) && l._invalidateProperties && l._invalidateProperties();
|
|
4428
4428
|
}
|
|
4429
|
-
function
|
|
4429
|
+
function ka(o, t, e) {
|
|
4430
4430
|
let i = Pe(t);
|
|
4431
4431
|
if (i !== t) {
|
|
4432
4432
|
let s = Ot(i) + "-changed";
|
|
4433
|
-
return
|
|
4433
|
+
return $s(o, s, e[t], t), !0;
|
|
4434
4434
|
}
|
|
4435
4435
|
return !1;
|
|
4436
4436
|
}
|
|
4437
|
-
function
|
|
4437
|
+
function $s(o, t, e, i) {
|
|
4438
4438
|
let s = {
|
|
4439
4439
|
value: e,
|
|
4440
4440
|
queueProperty: !0
|
|
@@ -4444,18 +4444,18 @@ function Ls(o, t, e, i) {
|
|
|
4444
4444
|
o
|
|
4445
4445
|
).dispatchEvent(new CustomEvent(t, { detail: s }));
|
|
4446
4446
|
}
|
|
4447
|
-
function
|
|
4447
|
+
function Sa(o, t, e, i, s, r) {
|
|
4448
4448
|
let a = (r ? Pe(t) : t) != t ? t : null, l = a ? J(o, a) : o.__data[t];
|
|
4449
|
-
a && l === void 0 && (l = e[t]),
|
|
4449
|
+
a && l === void 0 && (l = e[t]), $s(o, s.eventName, l, a);
|
|
4450
4450
|
}
|
|
4451
|
-
function
|
|
4451
|
+
function Pa(o, t, e, i, s) {
|
|
4452
4452
|
let r, n = (
|
|
4453
4453
|
/** @type {Object} */
|
|
4454
4454
|
o.detail
|
|
4455
4455
|
), a = n && n.path;
|
|
4456
4456
|
a ? (i = at(e, i, a), r = n && n.value) : r = o.currentTarget[e], r = s ? !r : r, (!t[O.READ_ONLY] || !t[O.READ_ONLY][i]) && t._setPendingPropertyOrPath(i, r, !0, !!a) && (!n || !n.queueProperty) && t._invalidateProperties();
|
|
4457
4457
|
}
|
|
4458
|
-
function
|
|
4458
|
+
function Oa(o, t, e, i, s) {
|
|
4459
4459
|
let r = o.__data[t];
|
|
4460
4460
|
At && (r = At(
|
|
4461
4461
|
r,
|
|
@@ -4465,17 +4465,17 @@ function Pa(o, t, e, i, s) {
|
|
|
4465
4465
|
o
|
|
4466
4466
|
)), o._propertyToAttribute(t, s.attrName, r);
|
|
4467
4467
|
}
|
|
4468
|
-
function
|
|
4468
|
+
function Ma(o, t, e, i) {
|
|
4469
4469
|
let s = o[O.COMPUTE];
|
|
4470
4470
|
if (s)
|
|
4471
|
-
if (
|
|
4471
|
+
if (Kn) {
|
|
4472
4472
|
lt++;
|
|
4473
|
-
const r =
|
|
4473
|
+
const r = Na(o), n = [];
|
|
4474
4474
|
for (let l in t)
|
|
4475
|
-
|
|
4475
|
+
To(l, s, n, r, i);
|
|
4476
4476
|
let a;
|
|
4477
4477
|
for (; a = n.shift(); )
|
|
4478
|
-
|
|
4478
|
+
Rs(o, "", t, e, a) && To(a.methodInfo, s, n, r, i);
|
|
4479
4479
|
Object.assign(
|
|
4480
4480
|
/** @type {!Object} */
|
|
4481
4481
|
e,
|
|
@@ -4499,7 +4499,7 @@ function Oa(o, t, e, i) {
|
|
|
4499
4499
|
), r = o.__dataPending, o.__dataPending = null;
|
|
4500
4500
|
}
|
|
4501
4501
|
}
|
|
4502
|
-
const
|
|
4502
|
+
const Ia = (o, t, e) => {
|
|
4503
4503
|
let i = 0, s = t.length - 1, r = -1;
|
|
4504
4504
|
for (; i <= s; ) {
|
|
4505
4505
|
const n = i + s >> 1, a = e.get(t[n].methodInfo) - e.get(o.methodInfo);
|
|
@@ -4513,20 +4513,20 @@ const Ma = (o, t, e) => {
|
|
|
4513
4513
|
}
|
|
4514
4514
|
}
|
|
4515
4515
|
r < 0 && (r = s + 1), t.splice(r, 0, o);
|
|
4516
|
-
},
|
|
4516
|
+
}, To = (o, t, e, i, s) => {
|
|
4517
4517
|
const r = s ? Pe(o) : o, n = t[r];
|
|
4518
4518
|
if (n)
|
|
4519
4519
|
for (let a = 0; a < n.length; a++) {
|
|
4520
4520
|
const l = n[a];
|
|
4521
|
-
l.info.lastRun !== lt && (!s || Ni(o, l.trigger)) && (l.info.lastRun = lt,
|
|
4521
|
+
l.info.lastRun !== lt && (!s || Ni(o, l.trigger)) && (l.info.lastRun = lt, Ia(l.info, e, i));
|
|
4522
4522
|
}
|
|
4523
4523
|
};
|
|
4524
|
-
function
|
|
4524
|
+
function Na(o) {
|
|
4525
4525
|
let t = o.constructor.__orderedComputedDeps;
|
|
4526
4526
|
if (!t) {
|
|
4527
4527
|
t = /* @__PURE__ */ new Map();
|
|
4528
4528
|
const e = o[O.COMPUTE];
|
|
4529
|
-
let { counts: i, ready: s, total: r } =
|
|
4529
|
+
let { counts: i, ready: s, total: r } = Fa(o), n;
|
|
4530
4530
|
for (; n = s.shift(); ) {
|
|
4531
4531
|
t.set(n, t.size);
|
|
4532
4532
|
const a = e[n];
|
|
@@ -4540,8 +4540,8 @@ function Ia(o) {
|
|
|
4540
4540
|
}
|
|
4541
4541
|
return t;
|
|
4542
4542
|
}
|
|
4543
|
-
function
|
|
4544
|
-
const t = o[
|
|
4543
|
+
function Fa(o) {
|
|
4544
|
+
const t = o[Ls], e = {}, i = o[O.COMPUTE], s = [];
|
|
4545
4545
|
let r = 0;
|
|
4546
4546
|
for (let n in t) {
|
|
4547
4547
|
const a = t[n];
|
|
@@ -4551,14 +4551,14 @@ function Na(o) {
|
|
|
4551
4551
|
t[n] || s.push(n);
|
|
4552
4552
|
return { counts: e, ready: s, total: r };
|
|
4553
4553
|
}
|
|
4554
|
-
function
|
|
4554
|
+
function Rs(o, t, e, i, s) {
|
|
4555
4555
|
let r = di(o, t, e, i, s);
|
|
4556
4556
|
if (r === dt)
|
|
4557
4557
|
return !1;
|
|
4558
4558
|
let n = s.methodInfo;
|
|
4559
4559
|
return o.__dataHasAccessor && o.__dataHasAccessor[n] ? o._setPendingProperty(n, r, !0) : (o[n] = r, !1);
|
|
4560
4560
|
}
|
|
4561
|
-
function
|
|
4561
|
+
function za(o, t, e) {
|
|
4562
4562
|
let i = o.__dataLinkedPaths;
|
|
4563
4563
|
if (i) {
|
|
4564
4564
|
let s;
|
|
@@ -4571,17 +4571,17 @@ function Fa(o, t, e) {
|
|
|
4571
4571
|
function Ut(o, t, e, i, s, r, n) {
|
|
4572
4572
|
e.bindings = e.bindings || [];
|
|
4573
4573
|
let a = { kind: i, target: s, parts: r, literal: n, isCompound: r.length !== 1 };
|
|
4574
|
-
if (e.bindings.push(a),
|
|
4574
|
+
if (e.bindings.push(a), Ba(a)) {
|
|
4575
4575
|
let { event: d, negate: c } = a.parts[0];
|
|
4576
4576
|
a.listenerEvent = d || Ot(s) + "-changed", a.listenerNegate = c;
|
|
4577
4577
|
}
|
|
4578
4578
|
let l = t.nodeInfoList.length;
|
|
4579
4579
|
for (let d = 0; d < a.parts.length; d++) {
|
|
4580
4580
|
let c = a.parts[d];
|
|
4581
|
-
c.compoundIndex = d,
|
|
4581
|
+
c.compoundIndex = d, La(o, t, a, c, l);
|
|
4582
4582
|
}
|
|
4583
4583
|
}
|
|
4584
|
-
function
|
|
4584
|
+
function La(o, t, e, i, s) {
|
|
4585
4585
|
if (!i.literal)
|
|
4586
4586
|
if (e.kind === "attribute" && e.target[0] === "-")
|
|
4587
4587
|
console.warn("Cannot set attribute " + e.target + ' because "-" is not a valid attribute starting character');
|
|
@@ -4589,26 +4589,26 @@ function za(o, t, e, i, s) {
|
|
|
4589
4589
|
let r = i.dependencies, n = { index: s, binding: e, part: i, evaluator: o };
|
|
4590
4590
|
for (let a = 0; a < r.length; a++) {
|
|
4591
4591
|
let l = r[a];
|
|
4592
|
-
typeof l == "string" && (l =
|
|
4593
|
-
fn:
|
|
4592
|
+
typeof l == "string" && (l = Bs(l), l.wildcard = !0), o._addTemplatePropertyEffect(t, l.rootProperty, {
|
|
4593
|
+
fn: $a,
|
|
4594
4594
|
info: n,
|
|
4595
4595
|
trigger: l
|
|
4596
4596
|
});
|
|
4597
4597
|
}
|
|
4598
4598
|
}
|
|
4599
4599
|
}
|
|
4600
|
-
function
|
|
4600
|
+
function $a(o, t, e, i, s, r, n) {
|
|
4601
4601
|
let a = n[s.index], l = s.binding, d = s.part;
|
|
4602
4602
|
if (r && d.source && t.length > d.source.length && l.kind == "property" && !l.isCompound && a.__isPropertyEffectsClient && a.__dataHasAccessor && a.__dataHasAccessor[l.target]) {
|
|
4603
4603
|
let c = e[t];
|
|
4604
4604
|
t = at(d.source, l.target, t), a._setPendingPropertyOrPath(t, c, !1, !0) && o._enqueueClient(a);
|
|
4605
4605
|
} else {
|
|
4606
4606
|
let c = s.evaluator._evaluateBinding(o, d, t, e, i, r);
|
|
4607
|
-
c !== dt &&
|
|
4607
|
+
c !== dt && Ra(o, a, l, d, c);
|
|
4608
4608
|
}
|
|
4609
4609
|
}
|
|
4610
|
-
function
|
|
4611
|
-
if (s =
|
|
4610
|
+
function Ra(o, t, e, i, s) {
|
|
4611
|
+
if (s = Ha(t, s, e, i), At && (s = At(s, e.target, e.kind, t)), e.kind == "attribute")
|
|
4612
4612
|
o._valueToNodeAttribute(
|
|
4613
4613
|
/** @type {Element} */
|
|
4614
4614
|
t,
|
|
@@ -4620,17 +4620,17 @@ function $a(o, t, e, i, s) {
|
|
|
4620
4620
|
t.__isPropertyEffectsClient && t.__dataHasAccessor && t.__dataHasAccessor[r] ? (!t[O.READ_ONLY] || !t[O.READ_ONLY][r]) && t._setPendingProperty(r, s) && o._enqueueClient(t) : o._setUnmanagedPropertyToNode(t, r, s);
|
|
4621
4621
|
}
|
|
4622
4622
|
}
|
|
4623
|
-
function
|
|
4623
|
+
function Ha(o, t, e, i) {
|
|
4624
4624
|
if (e.isCompound) {
|
|
4625
4625
|
let s = o.__dataCompoundStorage[e.target];
|
|
4626
4626
|
s[i.compoundIndex] = t, t = s.join("");
|
|
4627
4627
|
}
|
|
4628
4628
|
return e.kind !== "attribute" && (e.target === "textContent" || e.target === "value" && (o.localName === "input" || o.localName === "textarea")) && (t = t == null ? "" : t), t;
|
|
4629
4629
|
}
|
|
4630
|
-
function
|
|
4630
|
+
function Ba(o) {
|
|
4631
4631
|
return !!o.target && o.kind != "attribute" && o.kind != "text" && !o.isCompound && o.parts[0].mode === "{";
|
|
4632
4632
|
}
|
|
4633
|
-
function
|
|
4633
|
+
function Va(o, t) {
|
|
4634
4634
|
let { nodeList: e, nodeInfoList: i } = t;
|
|
4635
4635
|
if (i.length)
|
|
4636
4636
|
for (let s = 0; s < i.length; s++) {
|
|
@@ -4638,12 +4638,12 @@ function Ba(o, t) {
|
|
|
4638
4638
|
if (a)
|
|
4639
4639
|
for (let l = 0; l < a.length; l++) {
|
|
4640
4640
|
let d = a[l];
|
|
4641
|
-
|
|
4641
|
+
Ua(n, d), ja(n, o, d);
|
|
4642
4642
|
}
|
|
4643
4643
|
n.__dataHost = o;
|
|
4644
4644
|
}
|
|
4645
4645
|
}
|
|
4646
|
-
function
|
|
4646
|
+
function Ua(o, t) {
|
|
4647
4647
|
if (t.isCompound) {
|
|
4648
4648
|
let e = o.__dataCompoundStorage || (o.__dataCompoundStorage = {}), i = t.parts, s = new Array(i.length);
|
|
4649
4649
|
for (let n = 0; n < i.length; n++)
|
|
@@ -4652,15 +4652,15 @@ function Va(o, t) {
|
|
|
4652
4652
|
e[r] = s, t.literal && t.kind == "property" && (r === "className" && (o = W(o)), o[r] = t.literal);
|
|
4653
4653
|
}
|
|
4654
4654
|
}
|
|
4655
|
-
function
|
|
4655
|
+
function ja(o, t, e) {
|
|
4656
4656
|
if (e.listenerEvent) {
|
|
4657
4657
|
let i = e.parts[0];
|
|
4658
4658
|
o.addEventListener(e.listenerEvent, function(s) {
|
|
4659
|
-
|
|
4659
|
+
Pa(s, t, e.target, i.source, i.negate);
|
|
4660
4660
|
});
|
|
4661
4661
|
}
|
|
4662
4662
|
}
|
|
4663
|
-
function
|
|
4663
|
+
function Do(o, t, e, i, s, r) {
|
|
4664
4664
|
r = t.static || r && (typeof r != "object" || r[t.methodName]);
|
|
4665
4665
|
let n = {
|
|
4666
4666
|
methodName: t.methodName,
|
|
@@ -4687,8 +4687,8 @@ function di(o, t, e, i, s) {
|
|
|
4687
4687
|
} else
|
|
4688
4688
|
s.dynamicFn || console.warn("method `" + s.methodName + "` not defined");
|
|
4689
4689
|
}
|
|
4690
|
-
const
|
|
4691
|
-
function
|
|
4690
|
+
const Ya = [], Hs = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", Wa = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", qa = "(?:'(?:[^'\\\\]|\\\\.)*')", Ka = '(?:"(?:[^"\\\\]|\\\\.)*")', Ga = "(?:" + qa + "|" + Ka + ")", Eo = "(?:(" + Hs + "|" + Wa + "|" + Ga + ")\\s*)", Ja = "(?:" + Eo + "(?:,\\s*" + Eo + ")*)", Xa = "(?:\\(\\s*(?:" + Ja + "?)\\)\\s*)", Za = "(" + Hs + "\\s*" + Xa + "?)", Qa = "(\\[\\[|{{)\\s*", el = "(?:]]|}})", tl = "(?:(!)\\s*)?", il = Qa + tl + Za + el, ko = new RegExp(il, "g");
|
|
4691
|
+
function So(o) {
|
|
4692
4692
|
let t = "";
|
|
4693
4693
|
for (let e = 0; e < o.length; e++) {
|
|
4694
4694
|
let i = o[e].literal;
|
|
@@ -4699,22 +4699,22 @@ function ko(o) {
|
|
|
4699
4699
|
function jt(o) {
|
|
4700
4700
|
let t = o.match(/([^\s]+?)\(([\s\S]*)\)/);
|
|
4701
4701
|
if (t) {
|
|
4702
|
-
let i = { methodName: t[1], static: !0, args:
|
|
4702
|
+
let i = { methodName: t[1], static: !0, args: Ya };
|
|
4703
4703
|
if (t[2].trim()) {
|
|
4704
4704
|
let s = t[2].replace(/\\,/g, ",").split(",");
|
|
4705
|
-
return
|
|
4705
|
+
return ol(s, i);
|
|
4706
4706
|
} else
|
|
4707
4707
|
return i;
|
|
4708
4708
|
}
|
|
4709
4709
|
return null;
|
|
4710
4710
|
}
|
|
4711
|
-
function
|
|
4711
|
+
function ol(o, t) {
|
|
4712
4712
|
return t.args = o.map(function(e) {
|
|
4713
|
-
let i =
|
|
4713
|
+
let i = Bs(e);
|
|
4714
4714
|
return i.literal || (t.static = !1), i;
|
|
4715
4715
|
}, this), t;
|
|
4716
4716
|
}
|
|
4717
|
-
function
|
|
4717
|
+
function Bs(o) {
|
|
4718
4718
|
let t = o.trim().replace(/,/g, ",").replace(/\\(.)/g, "$1"), e = {
|
|
4719
4719
|
name: t,
|
|
4720
4720
|
value: "",
|
|
@@ -4731,16 +4731,16 @@ function Hs(o) {
|
|
|
4731
4731
|
}
|
|
4732
4732
|
return e.literal || (e.rootProperty = Pe(t), e.structured = ai(t), e.structured && (e.wildcard = t.slice(-2) == ".*", e.wildcard && (e.name = t.slice(0, -2)))), e;
|
|
4733
4733
|
}
|
|
4734
|
-
function
|
|
4734
|
+
function Po(o, t, e) {
|
|
4735
4735
|
let i = J(o, e);
|
|
4736
4736
|
return i === void 0 && (i = t[e]), i;
|
|
4737
4737
|
}
|
|
4738
|
-
function
|
|
4738
|
+
function Vs(o, t, e, i) {
|
|
4739
4739
|
const s = { indexSplices: i };
|
|
4740
4740
|
ni && !o._overrideLegacyUndefined && (t.splices = s), o.notifyPath(e + ".splices", s), o.notifyPath(e + ".length", t.length), ni && !o._overrideLegacyUndefined && (s.indexSplices = []);
|
|
4741
4741
|
}
|
|
4742
4742
|
function qe(o, t, e, i, s, r) {
|
|
4743
|
-
|
|
4743
|
+
Vs(o, t, e, [{
|
|
4744
4744
|
index: i,
|
|
4745
4745
|
addedCount: s,
|
|
4746
4746
|
removed: r,
|
|
@@ -4748,11 +4748,11 @@ function qe(o, t, e, i, s, r) {
|
|
|
4748
4748
|
type: "splice"
|
|
4749
4749
|
}]);
|
|
4750
4750
|
}
|
|
4751
|
-
function
|
|
4751
|
+
function sl(o) {
|
|
4752
4752
|
return o[0].toUpperCase() + o.substring(1);
|
|
4753
4753
|
}
|
|
4754
4754
|
const Fi = U((o) => {
|
|
4755
|
-
const t =
|
|
4755
|
+
const t = Aa(fa(o));
|
|
4756
4756
|
class e extends t {
|
|
4757
4757
|
constructor() {
|
|
4758
4758
|
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;
|
|
@@ -4931,7 +4931,7 @@ const Fi = U((o) => {
|
|
|
4931
4931
|
if (!a) {
|
|
4932
4932
|
let l = J(this, s);
|
|
4933
4933
|
if (s = /** @type {string} */
|
|
4934
|
-
|
|
4934
|
+
wo(this, s, r), !s || !super._shouldPropertyChange(s, r, l))
|
|
4935
4935
|
return !1;
|
|
4936
4936
|
}
|
|
4937
4937
|
if (this.__dataHasPaths = !0, this._setPendingProperty(
|
|
@@ -4940,7 +4940,7 @@ const Fi = U((o) => {
|
|
|
4940
4940
|
r,
|
|
4941
4941
|
n
|
|
4942
4942
|
))
|
|
4943
|
-
return
|
|
4943
|
+
return za(
|
|
4944
4944
|
this,
|
|
4945
4945
|
/**@type{string}*/
|
|
4946
4946
|
s,
|
|
@@ -5156,7 +5156,7 @@ const Fi = U((o) => {
|
|
|
5156
5156
|
let a = this.__dataHasPaths;
|
|
5157
5157
|
this.__dataHasPaths = !1;
|
|
5158
5158
|
let l;
|
|
5159
|
-
|
|
5159
|
+
Ma(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(), Ze(this, this[O.REFLECT], r, n, a), Ze(this, this[O.OBSERVE], r, n, a), l && Ea(this, l, r, n, a), this.__dataCounter == 1 && (this.__dataTemp = {});
|
|
5160
5160
|
}
|
|
5161
5161
|
/**
|
|
5162
5162
|
* Called to propagate any property changes to stamped template nodes
|
|
@@ -5253,7 +5253,7 @@ const Fi = U((o) => {
|
|
|
5253
5253
|
/** @type {Array} */
|
|
5254
5254
|
J(this, s, n)
|
|
5255
5255
|
);
|
|
5256
|
-
|
|
5256
|
+
Vs(this, a, n.path, r);
|
|
5257
5257
|
}
|
|
5258
5258
|
/**
|
|
5259
5259
|
* Convenience method for reading a value from a path.
|
|
@@ -5301,7 +5301,7 @@ const Fi = U((o) => {
|
|
|
5301
5301
|
* @public
|
|
5302
5302
|
*/
|
|
5303
5303
|
set(s, r, n) {
|
|
5304
|
-
n ?
|
|
5304
|
+
n ? wo(n, s, r) : (!this[O.READ_ONLY] || !this[O.READ_ONLY][
|
|
5305
5305
|
/** @type {string} */
|
|
5306
5306
|
s
|
|
5307
5307
|
]) && this._setPendingPropertyOrPath(s, r, !0) && this._invalidateProperties();
|
|
@@ -5456,7 +5456,7 @@ const Fi = U((o) => {
|
|
|
5456
5456
|
* @protected
|
|
5457
5457
|
*/
|
|
5458
5458
|
_createReadOnlyProperty(s, r) {
|
|
5459
|
-
this._addPropertyEffect(s, O.READ_ONLY), r && (this["_set" +
|
|
5459
|
+
this._addPropertyEffect(s, O.READ_ONLY), r && (this["_set" + sl(s)] = /** @this {PropertyEffects} */
|
|
5460
5460
|
function(n) {
|
|
5461
5461
|
this._setProperty(s, n);
|
|
5462
5462
|
});
|
|
@@ -5478,7 +5478,7 @@ const Fi = U((o) => {
|
|
|
5478
5478
|
_createPropertyObserver(s, r, n) {
|
|
5479
5479
|
let a = { property: s, method: r, dynamicFn: !!n };
|
|
5480
5480
|
this._addPropertyEffect(s, O.OBSERVE, {
|
|
5481
|
-
fn:
|
|
5481
|
+
fn: Ao,
|
|
5482
5482
|
info: a,
|
|
5483
5483
|
trigger: { name: s }
|
|
5484
5484
|
}), n && this._addPropertyEffect(
|
|
@@ -5486,7 +5486,7 @@ const Fi = U((o) => {
|
|
|
5486
5486
|
r,
|
|
5487
5487
|
O.OBSERVE,
|
|
5488
5488
|
{
|
|
5489
|
-
fn:
|
|
5489
|
+
fn: Ao,
|
|
5490
5490
|
info: a,
|
|
5491
5491
|
trigger: { name: r }
|
|
5492
5492
|
}
|
|
@@ -5508,7 +5508,7 @@ const Fi = U((o) => {
|
|
|
5508
5508
|
let n = jt(s);
|
|
5509
5509
|
if (!n)
|
|
5510
5510
|
throw new Error("Malformed observer expression '" + s + "'");
|
|
5511
|
-
|
|
5511
|
+
Do(this, n, O.OBSERVE, di, null, r);
|
|
5512
5512
|
}
|
|
5513
5513
|
/**
|
|
5514
5514
|
* Equivalent to static `createNotifyingProperty` API but can be called on
|
|
@@ -5522,7 +5522,7 @@ const Fi = U((o) => {
|
|
|
5522
5522
|
*/
|
|
5523
5523
|
_createNotifyingProperty(s) {
|
|
5524
5524
|
this._addPropertyEffect(s, O.NOTIFY, {
|
|
5525
|
-
fn:
|
|
5525
|
+
fn: Sa,
|
|
5526
5526
|
info: {
|
|
5527
5527
|
eventName: Ot(s) + "-changed",
|
|
5528
5528
|
property: s
|
|
@@ -5543,7 +5543,7 @@ const Fi = U((o) => {
|
|
|
5543
5543
|
_createReflectedProperty(s) {
|
|
5544
5544
|
let r = this.constructor.attributeNameForProperty(s);
|
|
5545
5545
|
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, O.REFLECT, {
|
|
5546
|
-
fn:
|
|
5546
|
+
fn: Oa,
|
|
5547
5547
|
info: {
|
|
5548
5548
|
attrName: r
|
|
5549
5549
|
}
|
|
@@ -5566,8 +5566,8 @@ const Fi = U((o) => {
|
|
|
5566
5566
|
let a = jt(r);
|
|
5567
5567
|
if (!a)
|
|
5568
5568
|
throw new Error("Malformed computed expression '" + r + "'");
|
|
5569
|
-
const l =
|
|
5570
|
-
Vt(this,
|
|
5569
|
+
const l = Do(this, a, O.COMPUTE, Rs, s, n);
|
|
5570
|
+
Vt(this, Ls)[s] = l;
|
|
5571
5571
|
}
|
|
5572
5572
|
/**
|
|
5573
5573
|
* Gather the argument values for a method specified in the provided array
|
|
@@ -5588,14 +5588,14 @@ const Fi = U((o) => {
|
|
|
5588
5588
|
let { name: u, structured: h, wildcard: p, value: y, literal: D } = s[d];
|
|
5589
5589
|
if (!D)
|
|
5590
5590
|
if (p) {
|
|
5591
|
-
const E = nt(u, r), T =
|
|
5591
|
+
const E = nt(u, r), T = Po(a, n, E ? r : u);
|
|
5592
5592
|
y = {
|
|
5593
5593
|
path: E ? r : u,
|
|
5594
5594
|
value: T,
|
|
5595
5595
|
base: E ? J(a, u) : T
|
|
5596
5596
|
};
|
|
5597
5597
|
} else
|
|
5598
|
-
y = h ?
|
|
5598
|
+
y = h ? Po(a, n, u) : a[u];
|
|
5599
5599
|
if (ni && !this._overrideLegacyUndefined && y === void 0 && s.length > 1)
|
|
5600
5600
|
return dt;
|
|
5601
5601
|
l[d] = y;
|
|
@@ -5878,7 +5878,7 @@ const Fi = U((o) => {
|
|
|
5878
5878
|
for (let l = n.firstChild; l; l = l.nextSibling)
|
|
5879
5879
|
a.push(l);
|
|
5880
5880
|
}
|
|
5881
|
-
return n.templateInfo = r,
|
|
5881
|
+
return n.templateInfo = r, Va(this, r), this.__dataClientsReady && (this._runEffectsForTemplate(r, this.__data, null, !1), this._flushClients()), n;
|
|
5882
5882
|
}
|
|
5883
5883
|
/**
|
|
5884
5884
|
* Removes and unbinds the nodes previously contained in the provided
|
|
@@ -5925,7 +5925,7 @@ const Fi = U((o) => {
|
|
|
5925
5925
|
);
|
|
5926
5926
|
if (s.nodeType === Node.TEXT_NODE) {
|
|
5927
5927
|
let l = this._parseBindings(s.textContent, r);
|
|
5928
|
-
l && (s.textContent =
|
|
5928
|
+
l && (s.textContent = So(l) || " ", Ut(this, r, n, "text", "textContent", l), a = !0);
|
|
5929
5929
|
}
|
|
5930
5930
|
return a;
|
|
5931
5931
|
}
|
|
@@ -5952,9 +5952,9 @@ const Fi = U((o) => {
|
|
|
5952
5952
|
let d = this._parseBindings(l, r);
|
|
5953
5953
|
if (d) {
|
|
5954
5954
|
let c = a, u = "property";
|
|
5955
|
-
|
|
5956
|
-
let h =
|
|
5957
|
-
return h && u == "attribute" && (a == "class" && s.hasAttribute("class") && (h += " " + s.getAttribute(a)), s.setAttribute(a, h)), u == "attribute" && c == "disable-upgrade$" && s.setAttribute(a, ""), s.localName === "input" && c === "value" && s.setAttribute(c, ""), s.removeAttribute(c), u === "property" && (a =
|
|
5955
|
+
Ta.test(a) ? u = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), u = "attribute");
|
|
5956
|
+
let h = So(d);
|
|
5957
|
+
return h && u == "attribute" && (a == "class" && s.hasAttribute("class") && (h += " " + s.getAttribute(a)), s.setAttribute(a, h)), u == "attribute" && c == "disable-upgrade$" && s.setAttribute(a, ""), s.localName === "input" && c === "value" && s.setAttribute(c, ""), s.removeAttribute(c), u === "property" && (a = Ps(a)), Ut(this, r, n, u, a, d, h), !0;
|
|
5958
5958
|
} else
|
|
5959
5959
|
return t._parseTemplateNodeAttribute.call(
|
|
5960
5960
|
this,
|
|
@@ -5987,10 +5987,10 @@ const Fi = U((o) => {
|
|
|
5987
5987
|
n
|
|
5988
5988
|
);
|
|
5989
5989
|
const l = s.parentNode, d = n.templateInfo, c = l.localName === "dom-if", u = l.localName === "dom-repeat";
|
|
5990
|
-
|
|
5990
|
+
mo && (c || u) && (l.removeChild(s), n = n.parentInfo, n.templateInfo = d, n.noted = !0, a = !1);
|
|
5991
5991
|
let h = d.hostProps;
|
|
5992
|
-
if (
|
|
5993
|
-
h && (r.hostProps = Object.assign(r.hostProps || {}, h),
|
|
5992
|
+
if (Gn && c)
|
|
5993
|
+
h && (r.hostProps = Object.assign(r.hostProps || {}, h), mo || (n.parentInfo.noted = !0));
|
|
5994
5994
|
else {
|
|
5995
5995
|
let p = "{";
|
|
5996
5996
|
for (let y in h) {
|
|
@@ -6047,7 +6047,7 @@ const Fi = U((o) => {
|
|
|
6047
6047
|
*/
|
|
6048
6048
|
static _parseBindings(s, r) {
|
|
6049
6049
|
let n = [], a = 0, l;
|
|
6050
|
-
for (; (l =
|
|
6050
|
+
for (; (l = ko.exec(s)) !== null; ) {
|
|
6051
6051
|
l.index > a && n.push({ literal: s.slice(a, l.index) });
|
|
6052
6052
|
let d = l[1][0], c = !!l[2], u = l[3].trim(), h = !1, p = "", y = -1;
|
|
6053
6053
|
d == "{" && (y = u.indexOf("::")) > 0 && (p = u.substring(y + 2), u = u.substring(0, y), h = !0);
|
|
@@ -6070,7 +6070,7 @@ const Fi = U((o) => {
|
|
|
6070
6070
|
signature: D,
|
|
6071
6071
|
dependencies: E,
|
|
6072
6072
|
event: p
|
|
6073
|
-
}), a =
|
|
6073
|
+
}), a = ko.lastIndex;
|
|
6074
6074
|
}
|
|
6075
6075
|
if (a && a < s.length) {
|
|
6076
6076
|
let d = s.substring(a);
|
|
@@ -6120,7 +6120,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6120
6120
|
Code distributed by Google as part of the polymer project is also
|
|
6121
6121
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6122
6122
|
*/
|
|
6123
|
-
function
|
|
6123
|
+
function rl(o) {
|
|
6124
6124
|
const t = {};
|
|
6125
6125
|
for (let e in o) {
|
|
6126
6126
|
const i = o[e];
|
|
@@ -6128,8 +6128,8 @@ function sl(o) {
|
|
|
6128
6128
|
}
|
|
6129
6129
|
return t;
|
|
6130
6130
|
}
|
|
6131
|
-
const
|
|
6132
|
-
const t =
|
|
6131
|
+
const nl = U((o) => {
|
|
6132
|
+
const t = Ns(o);
|
|
6133
6133
|
function e(r) {
|
|
6134
6134
|
const n = Object.getPrototypeOf(r);
|
|
6135
6135
|
return n.prototype instanceof s ? (
|
|
@@ -6142,7 +6142,7 @@ const rl = U((o) => {
|
|
|
6142
6142
|
let n = null;
|
|
6143
6143
|
if (r.hasOwnProperty(JSCompiler_renameProperty("properties", r))) {
|
|
6144
6144
|
const a = r.properties;
|
|
6145
|
-
a && (n =
|
|
6145
|
+
a && (n = rl(a));
|
|
6146
6146
|
}
|
|
6147
6147
|
r.__ownProperties = n;
|
|
6148
6148
|
}
|
|
@@ -6279,8 +6279,8 @@ const rl = U((o) => {
|
|
|
6279
6279
|
* Google as part of the polymer project is also subject to an additional IP
|
|
6280
6280
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6281
6281
|
*/
|
|
6282
|
-
const
|
|
6283
|
-
const t =
|
|
6282
|
+
const al = "3.5.2", Oo = window.ShadyCSS && window.ShadyCSS.cssBuild, ll = U((o) => {
|
|
6283
|
+
const t = nl(Fi(o));
|
|
6284
6284
|
function e(l) {
|
|
6285
6285
|
if (!l.hasOwnProperty(
|
|
6286
6286
|
JSCompiler_renameProperty("__propertyDefaults", l)
|
|
@@ -6308,8 +6308,8 @@ const nl = "3.5.2", Po = window.ShadyCSS && window.ShadyCSS.cssBuild, al = U((o)
|
|
|
6308
6308
|
c.computed && (c.readOnly = !0), c.computed && (l._hasReadOnlyEffect(d) ? console.warn(`Cannot redefine computed property '${d}'.`) : l._createComputedProperty(d, c.computed, u)), c.readOnly && !l._hasReadOnlyEffect(d) ? l._createReadOnlyProperty(d, !c.computed) : c.readOnly === !1 && l._hasReadOnlyEffect(d) && console.warn(`Cannot make readOnly property '${d}' non-readOnly.`), c.reflectToAttribute && !l._hasReflectEffect(d) ? l._createReflectedProperty(d) : c.reflectToAttribute === !1 && l._hasReflectEffect(d) && console.warn(`Cannot make reflected property '${d}' non-reflected.`), c.notify && !l._hasNotifyEffect(d) ? l._createNotifyingProperty(d) : c.notify === !1 && l._hasNotifyEffect(d) && console.warn(`Cannot make notify property '${d}' non-notify.`), c.observer && l._createPropertyObserver(d, c.observer, u[c.observer]), l._addPropertyToAttributeMap(d);
|
|
6309
6309
|
}
|
|
6310
6310
|
function r(l, d, c, u) {
|
|
6311
|
-
if (!
|
|
6312
|
-
const h = d.content.querySelectorAll("style"), p =
|
|
6311
|
+
if (!Oo) {
|
|
6312
|
+
const h = d.content.querySelectorAll("style"), p = Ds(d), y = oa(c), D = d.content.firstElementChild;
|
|
6313
6313
|
for (let T = 0; T < y.length; T++) {
|
|
6314
6314
|
let k = y[T];
|
|
6315
6315
|
k.textContent = l._processStyleText(k.textContent, u), d.content.insertBefore(k, D);
|
|
@@ -6320,7 +6320,7 @@ const nl = "3.5.2", Po = window.ShadyCSS && window.ShadyCSS.cssBuild, al = U((o)
|
|
|
6320
6320
|
z !== k ? (k = k.cloneNode(!0), z.parentNode.insertBefore(k, z)) : E++, k.textContent = l._processStyleText(k.textContent, u);
|
|
6321
6321
|
}
|
|
6322
6322
|
}
|
|
6323
|
-
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(d, c),
|
|
6323
|
+
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(d, c), Jn && Oo && jn) {
|
|
6324
6324
|
const h = d.content.querySelectorAll("style");
|
|
6325
6325
|
if (h) {
|
|
6326
6326
|
let p = "";
|
|
@@ -6332,7 +6332,7 @@ const nl = "3.5.2", Po = window.ShadyCSS && window.ShadyCSS.cssBuild, al = U((o)
|
|
|
6332
6332
|
}
|
|
6333
6333
|
function n(l) {
|
|
6334
6334
|
let d = null;
|
|
6335
|
-
if (l && (!Tt ||
|
|
6335
|
+
if (l && (!Tt || Wn) && (d = /** @type {?HTMLTemplateElement} */
|
|
6336
6336
|
rt.import(l, "template"), Tt && !d))
|
|
6337
6337
|
throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
6338
6338
|
return d;
|
|
@@ -6344,7 +6344,7 @@ const nl = "3.5.2", Po = window.ShadyCSS && window.ShadyCSS.cssBuild, al = U((o)
|
|
|
6344
6344
|
* @nocollapse
|
|
6345
6345
|
*/
|
|
6346
6346
|
static get polymerElementVersion() {
|
|
6347
|
-
return
|
|
6347
|
+
return al;
|
|
6348
6348
|
}
|
|
6349
6349
|
/**
|
|
6350
6350
|
* Override of PropertiesMixin _finalizeClass to create observers and
|
|
@@ -6365,7 +6365,7 @@ const nl = "3.5.2", Po = window.ShadyCSS && window.ShadyCSS.cssBuild, al = U((o)
|
|
|
6365
6365
|
/** @type {PolymerElementConstructor} */
|
|
6366
6366
|
this.template
|
|
6367
6367
|
);
|
|
6368
|
-
d && (typeof d == "string" ? (console.error("template getter must return HTMLTemplateElement"), d = null) :
|
|
6368
|
+
d && (typeof d == "string" ? (console.error("template getter must return HTMLTemplateElement"), d = null) : xs || (d = d.cloneNode(!0))), this.prototype._template = d;
|
|
6369
6369
|
}
|
|
6370
6370
|
/**
|
|
6371
6371
|
* Override of PropertiesChanged createProperties to create accessors
|
|
@@ -6535,7 +6535,7 @@ const nl = "3.5.2", Po = window.ShadyCSS && window.ShadyCSS.cssBuild, al = U((o)
|
|
|
6535
6535
|
this.constructor.finalize(), this.constructor._finalizeTemplate(
|
|
6536
6536
|
/** @type {!HTMLElement} */
|
|
6537
6537
|
this.localName
|
|
6538
|
-
), super._initializeProperties(), this.rootPath =
|
|
6538
|
+
), super._initializeProperties(), this.rootPath = Yn, this.importPath = this.constructor.importPath;
|
|
6539
6539
|
let d = e(this.constructor);
|
|
6540
6540
|
if (d)
|
|
6541
6541
|
for (let c in d) {
|
|
@@ -6646,7 +6646,7 @@ const nl = "3.5.2", Po = window.ShadyCSS && window.ShadyCSS.cssBuild, al = U((o)
|
|
|
6646
6646
|
_attachDom(d) {
|
|
6647
6647
|
const c = W(this);
|
|
6648
6648
|
if (c.attachShadow)
|
|
6649
|
-
return d ? (c.shadowRoot || (c.attachShadow({ mode: "open", shadyUpgradeFragment: d }), c.shadowRoot.appendChild(d), this.constructor._styleSheet && (c.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])),
|
|
6649
|
+
return d ? (c.shadowRoot || (c.attachShadow({ mode: "open", shadyUpgradeFragment: d }), c.shadowRoot.appendChild(d), this.constructor._styleSheet && (c.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), qn && window.ShadyDOM && window.ShadyDOM.flushInitial(c.shadowRoot), c.shadowRoot) : null;
|
|
6650
6650
|
throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.");
|
|
6651
6651
|
}
|
|
6652
6652
|
/**
|
|
@@ -6731,7 +6731,7 @@ const nl = "3.5.2", Po = window.ShadyCSS && window.ShadyCSS.cssBuild, al = U((o)
|
|
|
6731
6731
|
* @nocollapse
|
|
6732
6732
|
*/
|
|
6733
6733
|
static _addTemplatePropertyEffect(d, c, u) {
|
|
6734
|
-
return
|
|
6734
|
+
return Cs && !(c in this._properties) && // Methods used in templates with no dependencies (or only literal
|
|
6735
6735
|
// dependencies) become accessors with template effects; ignore these
|
|
6736
6736
|
!(u.info.part.signature && u.info.part.signature.static) && // Warnings for bindings added to nested templates are handled by
|
|
6737
6737
|
// templatizer so ignore both the host-to-template bindings
|
|
@@ -6756,16 +6756,16 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6756
6756
|
Code distributed by Google as part of the polymer project is also
|
|
6757
6757
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6758
6758
|
*/
|
|
6759
|
-
const
|
|
6760
|
-
class
|
|
6759
|
+
const Mo = window.trustedTypes && trustedTypes.createPolicy("polymer-html-literal", { createHTML: (o) => o });
|
|
6760
|
+
class Us {
|
|
6761
6761
|
/**
|
|
6762
6762
|
* @param {!ITemplateArray} strings Constant parts of tagged template literal
|
|
6763
6763
|
* @param {!Array<*>} values Variable parts of tagged template literal
|
|
6764
6764
|
*/
|
|
6765
6765
|
constructor(t, e) {
|
|
6766
|
-
|
|
6766
|
+
Ys(t, e);
|
|
6767
6767
|
const i = e.reduce(
|
|
6768
|
-
(s, r, n) => s +
|
|
6768
|
+
(s, r, n) => s + js(r) + t[n + 1],
|
|
6769
6769
|
t[0]
|
|
6770
6770
|
);
|
|
6771
6771
|
this.value = i.toString();
|
|
@@ -6778,8 +6778,8 @@ class Vs {
|
|
|
6778
6778
|
return this.value;
|
|
6779
6779
|
}
|
|
6780
6780
|
}
|
|
6781
|
-
function
|
|
6782
|
-
if (o instanceof
|
|
6781
|
+
function js(o) {
|
|
6782
|
+
if (o instanceof Us)
|
|
6783
6783
|
return (
|
|
6784
6784
|
/** @type {!LiteralString} */
|
|
6785
6785
|
o.value
|
|
@@ -6788,30 +6788,30 @@ function Us(o) {
|
|
|
6788
6788
|
`non-literal value passed to Polymer's htmlLiteral function: ${o}`
|
|
6789
6789
|
);
|
|
6790
6790
|
}
|
|
6791
|
-
function
|
|
6791
|
+
function dl(o) {
|
|
6792
6792
|
if (o instanceof HTMLTemplateElement)
|
|
6793
6793
|
return (
|
|
6794
6794
|
/** @type {!HTMLTemplateElement } */
|
|
6795
6795
|
o.innerHTML
|
|
6796
6796
|
);
|
|
6797
|
-
if (o instanceof
|
|
6798
|
-
return
|
|
6797
|
+
if (o instanceof Us)
|
|
6798
|
+
return js(o);
|
|
6799
6799
|
throw new Error(
|
|
6800
6800
|
`non-template value passed to Polymer's html function: ${o}`
|
|
6801
6801
|
);
|
|
6802
6802
|
}
|
|
6803
6803
|
const Oe = function(t, ...e) {
|
|
6804
|
-
|
|
6804
|
+
Ys(t, e);
|
|
6805
6805
|
const i = (
|
|
6806
6806
|
/** @type {!HTMLTemplateElement} */
|
|
6807
6807
|
document.createElement("template")
|
|
6808
6808
|
);
|
|
6809
6809
|
let s = e.reduce(
|
|
6810
|
-
(r, n, a) => r +
|
|
6810
|
+
(r, n, a) => r + dl(n) + t[a + 1],
|
|
6811
6811
|
t[0]
|
|
6812
6812
|
);
|
|
6813
|
-
return
|
|
6814
|
-
},
|
|
6813
|
+
return Mo && (s = Mo.createHTML(s)), i.innerHTML = s, i;
|
|
6814
|
+
}, Ys = (o, t) => {
|
|
6815
6815
|
if (!Array.isArray(o) || !Array.isArray(o.raw) || t.length !== o.length - 1)
|
|
6816
6816
|
throw new TypeError("Invalid call to the html template tag");
|
|
6817
6817
|
};
|
|
@@ -6824,7 +6824,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6824
6824
|
Code distributed by Google as part of the polymer project is also
|
|
6825
6825
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6826
6826
|
*/
|
|
6827
|
-
const be =
|
|
6827
|
+
const be = ll(HTMLElement);
|
|
6828
6828
|
/**
|
|
6829
6829
|
* @license
|
|
6830
6830
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
@@ -6837,14 +6837,14 @@ function ci(o, t, e = o.getAttribute("dir")) {
|
|
|
6837
6837
|
function ui() {
|
|
6838
6838
|
return document.documentElement.getAttribute("dir");
|
|
6839
6839
|
}
|
|
6840
|
-
function
|
|
6840
|
+
function cl() {
|
|
6841
6841
|
const o = ui();
|
|
6842
6842
|
ue.forEach((t) => {
|
|
6843
6843
|
ci(t, o);
|
|
6844
6844
|
});
|
|
6845
6845
|
}
|
|
6846
|
-
const
|
|
6847
|
-
|
|
6846
|
+
const ul = new MutationObserver(cl);
|
|
6847
|
+
ul.observe(document.documentElement, { attributes: !0, attributeFilter: ["dir"] });
|
|
6848
6848
|
const Mt = (o) => class extends o {
|
|
6849
6849
|
static get properties() {
|
|
6850
6850
|
return {
|
|
@@ -6906,7 +6906,7 @@ const Mt = (o) => class extends o {
|
|
|
6906
6906
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6907
6907
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6908
6908
|
*/
|
|
6909
|
-
const
|
|
6909
|
+
const hl = (o) => class extends o {
|
|
6910
6910
|
static get properties() {
|
|
6911
6911
|
return {
|
|
6912
6912
|
/**
|
|
@@ -6946,7 +6946,7 @@ const ul = (o) => class extends o {
|
|
|
6946
6946
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6947
6947
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6948
6948
|
*/
|
|
6949
|
-
const
|
|
6949
|
+
const pl = P`
|
|
6950
6950
|
:host {
|
|
6951
6951
|
display: flex;
|
|
6952
6952
|
align-items: center;
|
|
@@ -7017,8 +7017,8 @@ const hl = P`
|
|
|
7017
7017
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7018
7018
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7019
7019
|
*/
|
|
7020
|
-
H("vaadin-input-container",
|
|
7021
|
-
class
|
|
7020
|
+
H("vaadin-input-container", pl, { moduleId: "vaadin-input-container-styles" });
|
|
7021
|
+
class fl extends hl(Se(Mt(be))) {
|
|
7022
7022
|
static get is() {
|
|
7023
7023
|
return "vaadin-input-container";
|
|
7024
7024
|
}
|
|
@@ -7030,13 +7030,13 @@ class pl extends ul(Se(Mt(be))) {
|
|
|
7030
7030
|
`;
|
|
7031
7031
|
}
|
|
7032
7032
|
}
|
|
7033
|
-
le(
|
|
7033
|
+
le(fl);
|
|
7034
7034
|
/**
|
|
7035
7035
|
* @license
|
|
7036
7036
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7037
7037
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7038
7038
|
*/
|
|
7039
|
-
const
|
|
7039
|
+
const ml = P`
|
|
7040
7040
|
:host {
|
|
7041
7041
|
z-index: 200;
|
|
7042
7042
|
position: fixed;
|
|
@@ -7125,21 +7125,21 @@ function hi() {
|
|
|
7125
7125
|
function Li() {
|
|
7126
7126
|
return zi;
|
|
7127
7127
|
}
|
|
7128
|
-
function
|
|
7128
|
+
function _l(o) {
|
|
7129
7129
|
const t = o.style;
|
|
7130
7130
|
if (t.visibility === "hidden" || t.display === "none")
|
|
7131
7131
|
return !0;
|
|
7132
7132
|
const e = window.getComputedStyle(o);
|
|
7133
7133
|
return e.visibility === "hidden" || e.display === "none";
|
|
7134
7134
|
}
|
|
7135
|
-
function
|
|
7135
|
+
function gl(o, t) {
|
|
7136
7136
|
const e = Math.max(o.tabIndex, 0), i = Math.max(t.tabIndex, 0);
|
|
7137
7137
|
return e === 0 || i === 0 ? i > e : e > i;
|
|
7138
7138
|
}
|
|
7139
|
-
function
|
|
7139
|
+
function yl(o, t) {
|
|
7140
7140
|
const e = [];
|
|
7141
7141
|
for (; o.length > 0 && t.length > 0; )
|
|
7142
|
-
|
|
7142
|
+
gl(o[0], t[0]) ? e.push(t.shift()) : e.push(o.shift());
|
|
7143
7143
|
return e.concat(o, t);
|
|
7144
7144
|
}
|
|
7145
7145
|
function pi(o) {
|
|
@@ -7147,37 +7147,37 @@ function pi(o) {
|
|
|
7147
7147
|
if (t < 2)
|
|
7148
7148
|
return o;
|
|
7149
7149
|
const e = Math.ceil(t / 2), i = pi(o.slice(0, e)), s = pi(o.slice(e));
|
|
7150
|
-
return
|
|
7150
|
+
return yl(i, s);
|
|
7151
7151
|
}
|
|
7152
|
-
function
|
|
7152
|
+
function Ws(o) {
|
|
7153
7153
|
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]");
|
|
7154
7154
|
}
|
|
7155
|
-
function
|
|
7155
|
+
function vl(o) {
|
|
7156
7156
|
return o.getRootNode().activeElement === o;
|
|
7157
7157
|
}
|
|
7158
|
-
function
|
|
7159
|
-
if (!
|
|
7158
|
+
function bl(o) {
|
|
7159
|
+
if (!Ws(o))
|
|
7160
7160
|
return -1;
|
|
7161
7161
|
const t = o.getAttribute("tabindex") || 0;
|
|
7162
7162
|
return Number(t);
|
|
7163
7163
|
}
|
|
7164
|
-
function
|
|
7165
|
-
if (o.nodeType !== Node.ELEMENT_NODE ||
|
|
7164
|
+
function qs(o, t) {
|
|
7165
|
+
if (o.nodeType !== Node.ELEMENT_NODE || _l(o))
|
|
7166
7166
|
return !1;
|
|
7167
7167
|
const e = (
|
|
7168
7168
|
/** @type {HTMLElement} */
|
|
7169
7169
|
o
|
|
7170
|
-
), i =
|
|
7170
|
+
), i = bl(e);
|
|
7171
7171
|
let s = i > 0;
|
|
7172
7172
|
i >= 0 && t.push(e);
|
|
7173
7173
|
let r = [];
|
|
7174
7174
|
return e.localName === "slot" ? r = e.assignedNodes({ flatten: !0 }) : r = (e.shadowRoot || e).children, [...r].forEach((n) => {
|
|
7175
|
-
s =
|
|
7175
|
+
s = qs(n, t) || s;
|
|
7176
7176
|
}), s;
|
|
7177
7177
|
}
|
|
7178
|
-
function
|
|
7178
|
+
function wl(o) {
|
|
7179
7179
|
const t = [];
|
|
7180
|
-
return
|
|
7180
|
+
return qs(o, t) ? pi(t) : t;
|
|
7181
7181
|
}
|
|
7182
7182
|
/**
|
|
7183
7183
|
@license
|
|
@@ -7188,23 +7188,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
7188
7188
|
Code distributed by Google as part of the polymer project is also
|
|
7189
7189
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7190
7190
|
*/
|
|
7191
|
-
let fi = !1,
|
|
7192
|
-
function
|
|
7191
|
+
let fi = !1, xl = [], Ks = [];
|
|
7192
|
+
function Cl() {
|
|
7193
7193
|
fi = !0, requestAnimationFrame(function() {
|
|
7194
|
-
fi = !1,
|
|
7195
|
-
|
|
7194
|
+
fi = !1, Al(xl), setTimeout(function() {
|
|
7195
|
+
Tl(Ks);
|
|
7196
7196
|
});
|
|
7197
7197
|
});
|
|
7198
7198
|
}
|
|
7199
|
-
function
|
|
7199
|
+
function Al(o) {
|
|
7200
7200
|
for (; o.length; )
|
|
7201
|
-
|
|
7201
|
+
Gs(o.shift());
|
|
7202
7202
|
}
|
|
7203
|
-
function
|
|
7203
|
+
function Tl(o) {
|
|
7204
7204
|
for (let t = 0, e = o.length; t < e; t++)
|
|
7205
|
-
|
|
7205
|
+
Gs(o.shift());
|
|
7206
7206
|
}
|
|
7207
|
-
function
|
|
7207
|
+
function Gs(o) {
|
|
7208
7208
|
const t = o[0], e = o[1], i = o[2];
|
|
7209
7209
|
try {
|
|
7210
7210
|
e.apply(t, i);
|
|
@@ -7214,21 +7214,21 @@ function Ks(o) {
|
|
|
7214
7214
|
});
|
|
7215
7215
|
}
|
|
7216
7216
|
}
|
|
7217
|
-
function
|
|
7218
|
-
fi ||
|
|
7217
|
+
function Js(o, t, e) {
|
|
7218
|
+
fi || Cl(), Ks.push([o, t, e]);
|
|
7219
7219
|
}
|
|
7220
7220
|
/**
|
|
7221
7221
|
* @license
|
|
7222
7222
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7223
7223
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7224
7224
|
*/
|
|
7225
|
-
const It = (o) => o.test(navigator.userAgent), mi = (o) => o.test(navigator.platform),
|
|
7225
|
+
const It = (o) => o.test(navigator.userAgent), mi = (o) => o.test(navigator.platform), Dl = (o) => o.test(navigator.vendor);
|
|
7226
7226
|
It(/Android/u);
|
|
7227
|
-
It(/Chrome/u) &&
|
|
7227
|
+
It(/Chrome/u) && Dl(/Google Inc/u);
|
|
7228
7228
|
It(/Firefox/u);
|
|
7229
|
-
const
|
|
7229
|
+
const El = mi(/^iPad/u) || mi(/^Mac/u) && navigator.maxTouchPoints > 1, kl = mi(/^iPhone/u), Xs = kl || El;
|
|
7230
7230
|
It(/^((?!chrome|android).)*safari/iu);
|
|
7231
|
-
const
|
|
7231
|
+
const Sl = (() => {
|
|
7232
7232
|
try {
|
|
7233
7233
|
return document.createEvent("TouchEvent"), !0;
|
|
7234
7234
|
} catch (o) {
|
|
@@ -7241,10 +7241,10 @@ const kl = (() => {
|
|
|
7241
7241
|
* SPDX-License-Identifier: MIT
|
|
7242
7242
|
*/
|
|
7243
7243
|
let Ie = /* @__PURE__ */ new WeakMap(), _t = /* @__PURE__ */ new WeakMap(), gt = {}, Yt = 0;
|
|
7244
|
-
const
|
|
7244
|
+
const Io = (o) => o && o.nodeType === Node.ELEMENT_NODE, Wt = (...o) => {
|
|
7245
7245
|
console.error(`Error: ${o.join(" ")}. Skip setting aria-hidden.`);
|
|
7246
|
-
},
|
|
7247
|
-
if (!
|
|
7246
|
+
}, Pl = (o, t) => Io(o) ? t.map((e) => {
|
|
7247
|
+
if (!Io(e))
|
|
7248
7248
|
return Wt(e, "is not a valid element"), null;
|
|
7249
7249
|
let i = e;
|
|
7250
7250
|
for (; i && i !== o; ) {
|
|
@@ -7253,8 +7253,8 @@ const Mo = (o) => o && o.nodeType === Node.ELEMENT_NODE, Wt = (...o) => {
|
|
|
7253
7253
|
i = i.getRootNode().host;
|
|
7254
7254
|
}
|
|
7255
7255
|
return Wt(e, "is not contained inside", o), null;
|
|
7256
|
-
}).filter((e) => !!e) : (Wt(o, "is not a valid element"), []),
|
|
7257
|
-
const s =
|
|
7256
|
+
}).filter((e) => !!e) : (Wt(o, "is not a valid element"), []), Ol = (o, t, e, i) => {
|
|
7257
|
+
const s = Pl(t, Array.isArray(o) ? o : [o]);
|
|
7258
7258
|
gt[e] || (gt[e] = /* @__PURE__ */ new WeakMap());
|
|
7259
7259
|
const r = gt[e], n = [], a = /* @__PURE__ */ new Set(), l = new Set(s), d = (u) => {
|
|
7260
7260
|
if (!u || a.has(u))
|
|
@@ -7284,16 +7284,16 @@ const Mo = (o) => o && o.nodeType === Node.ELEMENT_NODE, Wt = (...o) => {
|
|
|
7284
7284
|
Ie.set(u, h), r.set(u, p), h || (_t.has(u) ? _t.delete(u) : u.removeAttribute(i)), p || u.removeAttribute(e);
|
|
7285
7285
|
}), Yt -= 1, Yt || (Ie = /* @__PURE__ */ new WeakMap(), Ie = /* @__PURE__ */ new WeakMap(), _t = /* @__PURE__ */ new WeakMap(), gt = {});
|
|
7286
7286
|
};
|
|
7287
|
-
},
|
|
7287
|
+
}, Zs = (o, t = document.body, e = "data-aria-hidden") => {
|
|
7288
7288
|
const i = Array.from(Array.isArray(o) ? o : [o]);
|
|
7289
|
-
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))),
|
|
7289
|
+
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))), Ol(i, t, e, "aria-hidden");
|
|
7290
7290
|
};
|
|
7291
7291
|
/**
|
|
7292
7292
|
* @license
|
|
7293
7293
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7294
7294
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7295
7295
|
*/
|
|
7296
|
-
class
|
|
7296
|
+
class Ml {
|
|
7297
7297
|
/**
|
|
7298
7298
|
* @param {HTMLElement} host
|
|
7299
7299
|
*/
|
|
@@ -7309,7 +7309,7 @@ class Ol {
|
|
|
7309
7309
|
*/
|
|
7310
7310
|
showModal() {
|
|
7311
7311
|
const t = this.callback();
|
|
7312
|
-
this.__showOthers =
|
|
7312
|
+
this.__showOthers = Zs(t);
|
|
7313
7313
|
}
|
|
7314
7314
|
/**
|
|
7315
7315
|
* Remove `aria-hidden` from other elements unless there are any other
|
|
@@ -7324,7 +7324,7 @@ class Ol {
|
|
|
7324
7324
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7325
7325
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7326
7326
|
*/
|
|
7327
|
-
class
|
|
7327
|
+
class Il {
|
|
7328
7328
|
/**
|
|
7329
7329
|
* Saves the given node as a target for restoring focus to
|
|
7330
7330
|
* when `restoreFocus()` is called. If no node is provided,
|
|
@@ -7352,7 +7352,7 @@ class Ml {
|
|
|
7352
7352
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7353
7353
|
*/
|
|
7354
7354
|
const qt = [];
|
|
7355
|
-
class
|
|
7355
|
+
class Nl {
|
|
7356
7356
|
/**
|
|
7357
7357
|
* @param {HTMLElement} host
|
|
7358
7358
|
*/
|
|
@@ -7366,7 +7366,7 @@ class Il {
|
|
|
7366
7366
|
* @private
|
|
7367
7367
|
*/
|
|
7368
7368
|
get __focusableElements() {
|
|
7369
|
-
return
|
|
7369
|
+
return wl(this.__trapNode);
|
|
7370
7370
|
}
|
|
7371
7371
|
/**
|
|
7372
7372
|
* The index of the element inside the trap node that currently has focus.
|
|
@@ -7376,7 +7376,7 @@ class Il {
|
|
|
7376
7376
|
*/
|
|
7377
7377
|
get __focusedElementIndex() {
|
|
7378
7378
|
const t = this.__focusableElements;
|
|
7379
|
-
return t.indexOf(t.filter(
|
|
7379
|
+
return t.indexOf(t.filter(vl).pop());
|
|
7380
7380
|
}
|
|
7381
7381
|
hostConnected() {
|
|
7382
7382
|
document.addEventListener("keydown", this.__onKeyDown);
|
|
@@ -7489,7 +7489,7 @@ const je = U((o) => typeof o.prototype.addController == "function" ? o : class e
|
|
|
7489
7489
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7490
7490
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7491
7491
|
*/
|
|
7492
|
-
const
|
|
7492
|
+
const Fl = (o) => class extends je(o) {
|
|
7493
7493
|
static get properties() {
|
|
7494
7494
|
return {
|
|
7495
7495
|
/**
|
|
@@ -7520,7 +7520,7 @@ const Nl = (o) => class extends je(o) {
|
|
|
7520
7520
|
};
|
|
7521
7521
|
}
|
|
7522
7522
|
constructor() {
|
|
7523
|
-
super(), this.__ariaModalController = new
|
|
7523
|
+
super(), this.__ariaModalController = new Ml(this), this.__focusTrapController = new Nl(this), this.__focusRestorationController = new Il();
|
|
7524
7524
|
}
|
|
7525
7525
|
/** @protected */
|
|
7526
7526
|
ready() {
|
|
@@ -7591,7 +7591,7 @@ const Nl = (o) => class extends je(o) {
|
|
|
7591
7591
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7592
7592
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7593
7593
|
*/
|
|
7594
|
-
const
|
|
7594
|
+
const Qs = () => Array.from(document.body.children).filter((o) => o instanceof HTMLElement && o._hasOverlayStackMixin && !o.hasAttribute("closing")).sort((o, t) => o.__zIndex - t.__zIndex || 0), _i = () => Qs().filter((o) => o.$.overlay), zl = (o) => o === _i().pop(), Ll = (o) => class extends o {
|
|
7595
7595
|
constructor() {
|
|
7596
7596
|
super(), this._hasOverlayStackMixin = !0;
|
|
7597
7597
|
}
|
|
@@ -7602,14 +7602,14 @@ const Zs = () => Array.from(document.body.children).filter((o) => o instanceof H
|
|
|
7602
7602
|
* @protected
|
|
7603
7603
|
*/
|
|
7604
7604
|
get _last() {
|
|
7605
|
-
return
|
|
7605
|
+
return zl(this);
|
|
7606
7606
|
}
|
|
7607
7607
|
/**
|
|
7608
7608
|
* Brings the overlay as visually the frontmost one.
|
|
7609
7609
|
*/
|
|
7610
7610
|
bringToFront() {
|
|
7611
7611
|
let e = "";
|
|
7612
|
-
const i =
|
|
7612
|
+
const i = Qs().filter((s) => s !== this).pop();
|
|
7613
7613
|
i && (e = i.__zIndex + 1), this.style.zIndex = e, this.__zIndex = e || parseFloat(getComputedStyle(this).zIndex);
|
|
7614
7614
|
}
|
|
7615
7615
|
/** @protected */
|
|
@@ -7632,7 +7632,7 @@ const Zs = () => Array.from(document.body.children).filter((o) => o instanceof H
|
|
|
7632
7632
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7633
7633
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7634
7634
|
*/
|
|
7635
|
-
const
|
|
7635
|
+
const $l = (o) => class extends Fl(Ll(o)) {
|
|
7636
7636
|
static get properties() {
|
|
7637
7637
|
return {
|
|
7638
7638
|
/**
|
|
@@ -7705,7 +7705,7 @@ const Ll = (o) => class extends Nl(zl(o)) {
|
|
|
7705
7705
|
return ["_rendererOrDataChanged(renderer, owner, model, opened)"];
|
|
7706
7706
|
}
|
|
7707
7707
|
constructor() {
|
|
7708
|
-
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),
|
|
7708
|
+
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), Xs && (this._boundIosResizeListener = () => this._detectIosNavbar());
|
|
7709
7709
|
}
|
|
7710
7710
|
/** @protected */
|
|
7711
7711
|
ready() {
|
|
@@ -7773,7 +7773,7 @@ const Ll = (o) => class extends Nl(zl(o)) {
|
|
|
7773
7773
|
}
|
|
7774
7774
|
/** @private */
|
|
7775
7775
|
_openedChanged(e, i) {
|
|
7776
|
-
e ? (this._saveFocus(), this._animatedOpening(),
|
|
7776
|
+
e ? (this._saveFocus(), this._animatedOpening(), Js(this, () => {
|
|
7777
7777
|
this._trapFocus();
|
|
7778
7778
|
const s = new CustomEvent("vaadin-overlay-open", { bubbles: !0 });
|
|
7779
7779
|
this.dispatchEvent(s);
|
|
@@ -7898,7 +7898,7 @@ const Ll = (o) => class extends Nl(zl(o)) {
|
|
|
7898
7898
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7899
7899
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7900
7900
|
*/
|
|
7901
|
-
function
|
|
7901
|
+
function Rl(o) {
|
|
7902
7902
|
const t = [];
|
|
7903
7903
|
for (; o; ) {
|
|
7904
7904
|
if (o.nodeType === Node.DOCUMENT_NODE) {
|
|
@@ -7923,11 +7923,11 @@ function $i(o) {
|
|
|
7923
7923
|
function Nt(o) {
|
|
7924
7924
|
return o ? [...o].join(" ") : "";
|
|
7925
7925
|
}
|
|
7926
|
-
function
|
|
7926
|
+
function er(o, t, e) {
|
|
7927
7927
|
const i = $i(o.getAttribute(t));
|
|
7928
7928
|
i.add(e), o.setAttribute(t, Nt(i));
|
|
7929
7929
|
}
|
|
7930
|
-
function
|
|
7930
|
+
function Hl(o, t, e) {
|
|
7931
7931
|
const i = $i(o.getAttribute(t));
|
|
7932
7932
|
if (i.delete(e), i.size === 0) {
|
|
7933
7933
|
o.removeAttribute(t);
|
|
@@ -7935,7 +7935,7 @@ function Rl(o, t, e) {
|
|
|
7935
7935
|
}
|
|
7936
7936
|
o.setAttribute(t, Nt(i));
|
|
7937
7937
|
}
|
|
7938
|
-
function
|
|
7938
|
+
function Bl(o) {
|
|
7939
7939
|
return o.nodeType === Node.TEXT_NODE && o.textContent.trim() === "";
|
|
7940
7940
|
}
|
|
7941
7941
|
/**
|
|
@@ -7943,7 +7943,7 @@ function Hl(o) {
|
|
|
7943
7943
|
* Copyright (c) 2024 Vaadin Ltd.
|
|
7944
7944
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7945
7945
|
*/
|
|
7946
|
-
function
|
|
7946
|
+
function Vl(o, t) {
|
|
7947
7947
|
let e = null;
|
|
7948
7948
|
const i = document.documentElement;
|
|
7949
7949
|
function s() {
|
|
@@ -7983,13 +7983,13 @@ const Kt = {
|
|
|
7983
7983
|
}, Gt = {
|
|
7984
7984
|
start: "left",
|
|
7985
7985
|
end: "right"
|
|
7986
|
-
},
|
|
7986
|
+
}, No = new ResizeObserver((o) => {
|
|
7987
7987
|
setTimeout(() => {
|
|
7988
7988
|
o.forEach((t) => {
|
|
7989
7989
|
t.target.__overlay && t.target.__overlay._updatePosition();
|
|
7990
7990
|
});
|
|
7991
7991
|
});
|
|
7992
|
-
}),
|
|
7992
|
+
}), Ul = (o) => class extends o {
|
|
7993
7993
|
static get properties() {
|
|
7994
7994
|
return {
|
|
7995
7995
|
/**
|
|
@@ -8088,9 +8088,9 @@ const Kt = {
|
|
|
8088
8088
|
}
|
|
8089
8089
|
/** @private */
|
|
8090
8090
|
__addUpdatePositionEventListeners() {
|
|
8091
|
-
window.visualViewport.addEventListener("resize", this._updatePosition), window.visualViewport.addEventListener("scroll", this.__onScroll, !0), this.__positionTargetAncestorRootNodes =
|
|
8091
|
+
window.visualViewport.addEventListener("resize", this._updatePosition), window.visualViewport.addEventListener("scroll", this.__onScroll, !0), this.__positionTargetAncestorRootNodes = Rl(this.positionTarget), this.__positionTargetAncestorRootNodes.forEach((e) => {
|
|
8092
8092
|
e.addEventListener("scroll", this.__onScroll, !0);
|
|
8093
|
-
}), this.positionTarget && (this.__observePositionTargetMove =
|
|
8093
|
+
}), this.positionTarget && (this.__observePositionTargetMove = Vl(this.positionTarget, () => {
|
|
8094
8094
|
this._updatePosition();
|
|
8095
8095
|
}));
|
|
8096
8096
|
}
|
|
@@ -8102,7 +8102,7 @@ const Kt = {
|
|
|
8102
8102
|
}
|
|
8103
8103
|
/** @private */
|
|
8104
8104
|
__overlayOpenedChanged(e, i) {
|
|
8105
|
-
if (this.__removeUpdatePositionEventListeners(), i && (i.__overlay = null,
|
|
8105
|
+
if (this.__removeUpdatePositionEventListeners(), i && (i.__overlay = null, No.unobserve(i), e && (this.__addUpdatePositionEventListeners(), i.__overlay = this, No.observe(i))), e) {
|
|
8106
8106
|
const s = getComputedStyle(this);
|
|
8107
8107
|
this.__margins || (this.__margins = {}, ["top", "bottom", "left", "right"].forEach((r) => {
|
|
8108
8108
|
this.__margins[r] = parseInt(s[r], 10);
|
|
@@ -8224,7 +8224,7 @@ const Kt = {
|
|
|
8224
8224
|
* Copyright (c) 2015 - 2024 Vaadin Ltd.
|
|
8225
8225
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8226
8226
|
*/
|
|
8227
|
-
const
|
|
8227
|
+
const jl = (o) => class extends Ul($l(o)) {
|
|
8228
8228
|
/**
|
|
8229
8229
|
* Override method inherited from `OverlayMixin` to not close on input click.
|
|
8230
8230
|
* Needed to ignore date-picker's own input in the mousedown listener below.
|
|
@@ -8241,7 +8241,7 @@ const Ul = (o) => class extends Vl(Ll(o)) {
|
|
|
8241
8241
|
* @override
|
|
8242
8242
|
*/
|
|
8243
8243
|
_mouseDownListener(e) {
|
|
8244
|
-
super._mouseDownListener(e), this._shouldCloseOnOutsideClick(e) && !
|
|
8244
|
+
super._mouseDownListener(e), this._shouldCloseOnOutsideClick(e) && !Ws(e.composedPath()[0]) && e.preventDefault();
|
|
8245
8245
|
}
|
|
8246
8246
|
};
|
|
8247
8247
|
/**
|
|
@@ -8249,7 +8249,7 @@ const Ul = (o) => class extends Vl(Ll(o)) {
|
|
|
8249
8249
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
8250
8250
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8251
8251
|
*/
|
|
8252
|
-
const
|
|
8252
|
+
const Yl = P`
|
|
8253
8253
|
[part='overlay'] {
|
|
8254
8254
|
display: flex;
|
|
8255
8255
|
flex: auto;
|
|
@@ -8270,10 +8270,10 @@ const jl = P`
|
|
|
8270
8270
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
8271
8271
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8272
8272
|
*/
|
|
8273
|
-
H("vaadin-date-picker-overlay", [
|
|
8273
|
+
H("vaadin-date-picker-overlay", [ml, Yl], {
|
|
8274
8274
|
moduleId: "vaadin-date-picker-overlay-styles"
|
|
8275
8275
|
});
|
|
8276
|
-
class
|
|
8276
|
+
class Wl extends jl(Mt(Se(be))) {
|
|
8277
8277
|
static get is() {
|
|
8278
8278
|
return "vaadin-date-picker-overlay";
|
|
8279
8279
|
}
|
|
@@ -8288,34 +8288,34 @@ class Yl extends Ul(Mt(Se(be))) {
|
|
|
8288
8288
|
`;
|
|
8289
8289
|
}
|
|
8290
8290
|
}
|
|
8291
|
-
le(
|
|
8292
|
-
const
|
|
8293
|
-
function
|
|
8291
|
+
le(Wl);
|
|
8292
|
+
const ql = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i, wt = window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients;
|
|
8293
|
+
function Kl() {
|
|
8294
8294
|
function o() {
|
|
8295
8295
|
return !0;
|
|
8296
8296
|
}
|
|
8297
|
-
return
|
|
8297
|
+
return tr(o);
|
|
8298
8298
|
}
|
|
8299
|
-
function
|
|
8299
|
+
function Gl() {
|
|
8300
8300
|
try {
|
|
8301
|
-
return
|
|
8301
|
+
return Jl() ? !0 : Xl() ? wt ? !Zl() : !Kl() : !1;
|
|
8302
8302
|
} catch (o) {
|
|
8303
8303
|
return !1;
|
|
8304
8304
|
}
|
|
8305
8305
|
}
|
|
8306
|
-
function
|
|
8306
|
+
function Jl() {
|
|
8307
8307
|
return localStorage.getItem("vaadin.developmentmode.force");
|
|
8308
8308
|
}
|
|
8309
|
-
function
|
|
8309
|
+
function Xl() {
|
|
8310
8310
|
return ["localhost", "127.0.0.1"].indexOf(window.location.hostname) >= 0;
|
|
8311
8311
|
}
|
|
8312
|
-
function
|
|
8312
|
+
function Zl() {
|
|
8313
8313
|
return !!(wt && Object.keys(wt).map((t) => wt[t]).filter((t) => t.productionMode).length > 0);
|
|
8314
8314
|
}
|
|
8315
|
-
function
|
|
8315
|
+
function tr(o, t) {
|
|
8316
8316
|
if (typeof o != "function")
|
|
8317
8317
|
return;
|
|
8318
|
-
const e =
|
|
8318
|
+
const e = ql.exec(o.toString());
|
|
8319
8319
|
if (e)
|
|
8320
8320
|
try {
|
|
8321
8321
|
o = new Function(e[1]);
|
|
@@ -8325,12 +8325,12 @@ function er(o, t) {
|
|
|
8325
8325
|
return o(t);
|
|
8326
8326
|
}
|
|
8327
8327
|
window.Vaadin = window.Vaadin || {};
|
|
8328
|
-
const
|
|
8328
|
+
const Fo = function(o, t) {
|
|
8329
8329
|
if (window.Vaadin.developmentMode)
|
|
8330
|
-
return
|
|
8330
|
+
return tr(o, t);
|
|
8331
8331
|
};
|
|
8332
|
-
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode =
|
|
8333
|
-
function
|
|
8332
|
+
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode = Gl());
|
|
8333
|
+
function Ql() {
|
|
8334
8334
|
/*! vaadin-dev-mode:start
|
|
8335
8335
|
(function () {
|
|
8336
8336
|
'use strict';
|
|
@@ -8811,9 +8811,9 @@ function Zl() {
|
|
|
8811
8811
|
|
|
8812
8812
|
vaadin-dev-mode:end **/
|
|
8813
8813
|
}
|
|
8814
|
-
const
|
|
8815
|
-
if (typeof
|
|
8816
|
-
return
|
|
8814
|
+
const ed = function() {
|
|
8815
|
+
if (typeof Fo == "function")
|
|
8816
|
+
return Fo(Ql);
|
|
8817
8817
|
};
|
|
8818
8818
|
/**
|
|
8819
8819
|
* @license
|
|
@@ -8824,10 +8824,10 @@ const Ql = function() {
|
|
|
8824
8824
|
* Code distributed by Google as part of the polymer project is also
|
|
8825
8825
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
8826
8826
|
*/
|
|
8827
|
-
let
|
|
8827
|
+
let zo = 0, ir = 0;
|
|
8828
8828
|
const Le = [];
|
|
8829
8829
|
let gi = !1;
|
|
8830
|
-
function
|
|
8830
|
+
function td() {
|
|
8831
8831
|
gi = !1;
|
|
8832
8832
|
const o = Le.length;
|
|
8833
8833
|
for (let t = 0; t < o; t++) {
|
|
@@ -8841,7 +8841,7 @@ function ed() {
|
|
|
8841
8841
|
});
|
|
8842
8842
|
}
|
|
8843
8843
|
}
|
|
8844
|
-
Le.splice(0, o),
|
|
8844
|
+
Le.splice(0, o), ir += o;
|
|
8845
8845
|
}
|
|
8846
8846
|
const Et = {
|
|
8847
8847
|
/**
|
|
@@ -8883,7 +8883,7 @@ const Et = {
|
|
|
8883
8883
|
cancel(o) {
|
|
8884
8884
|
window.clearTimeout(o);
|
|
8885
8885
|
}
|
|
8886
|
-
},
|
|
8886
|
+
}, id = {
|
|
8887
8887
|
/**
|
|
8888
8888
|
* Enqueues a function called at `requestAnimationFrame` timing.
|
|
8889
8889
|
*
|
|
@@ -8904,7 +8904,7 @@ const Et = {
|
|
|
8904
8904
|
cancel(o) {
|
|
8905
8905
|
window.cancelAnimationFrame(o);
|
|
8906
8906
|
}
|
|
8907
|
-
},
|
|
8907
|
+
}, od = {
|
|
8908
8908
|
/**
|
|
8909
8909
|
* Enqueues a function called at `requestIdleCallback` timing.
|
|
8910
8910
|
*
|
|
@@ -8925,7 +8925,7 @@ const Et = {
|
|
|
8925
8925
|
cancel(o) {
|
|
8926
8926
|
window.cancelIdleCallback ? window.cancelIdleCallback(o) : window.clearTimeout(o);
|
|
8927
8927
|
}
|
|
8928
|
-
},
|
|
8928
|
+
}, sd = {
|
|
8929
8929
|
/**
|
|
8930
8930
|
* Enqueues a function called at microtask timing.
|
|
8931
8931
|
*
|
|
@@ -8934,9 +8934,9 @@ const Et = {
|
|
|
8934
8934
|
* @return {number} Handle used for canceling task
|
|
8935
8935
|
*/
|
|
8936
8936
|
run(o) {
|
|
8937
|
-
gi || (gi = !0, queueMicrotask(() =>
|
|
8938
|
-
const t =
|
|
8939
|
-
return
|
|
8937
|
+
gi || (gi = !0, queueMicrotask(() => td())), Le.push(o);
|
|
8938
|
+
const t = zo;
|
|
8939
|
+
return zo += 1, t;
|
|
8940
8940
|
},
|
|
8941
8941
|
/**
|
|
8942
8942
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -8946,7 +8946,7 @@ const Et = {
|
|
|
8946
8946
|
* @return {void}
|
|
8947
8947
|
*/
|
|
8948
8948
|
cancel(o) {
|
|
8949
|
-
const t = o -
|
|
8949
|
+
const t = o - ir;
|
|
8950
8950
|
if (t >= 0) {
|
|
8951
8951
|
if (!Le[t])
|
|
8952
8952
|
throw new Error(`invalid async handle: ${o}`);
|
|
@@ -9055,7 +9055,7 @@ let Be = class vi {
|
|
|
9055
9055
|
return this._timer != null;
|
|
9056
9056
|
}
|
|
9057
9057
|
};
|
|
9058
|
-
function
|
|
9058
|
+
function rd(o) {
|
|
9059
9059
|
yi.add(o);
|
|
9060
9060
|
}
|
|
9061
9061
|
/**
|
|
@@ -9067,17 +9067,17 @@ window.Vaadin || (window.Vaadin = {});
|
|
|
9067
9067
|
window.Vaadin.registrations || (window.Vaadin.registrations = []);
|
|
9068
9068
|
window.Vaadin.developmentModeCallback || (window.Vaadin.developmentModeCallback = {});
|
|
9069
9069
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"] = function() {
|
|
9070
|
-
|
|
9070
|
+
ed();
|
|
9071
9071
|
};
|
|
9072
9072
|
let Jt;
|
|
9073
|
-
const
|
|
9073
|
+
const Lo = /* @__PURE__ */ new Set(), or = (o) => class extends Mt(o) {
|
|
9074
9074
|
/** @protected */
|
|
9075
9075
|
static finalize() {
|
|
9076
9076
|
super.finalize();
|
|
9077
9077
|
const { is: e } = this;
|
|
9078
|
-
e && !
|
|
9078
|
+
e && !Lo.has(e) && (window.Vaadin.registrations.push(this), Lo.add(e), window.Vaadin.developmentModeCallback && (Jt = Be.debounce(Jt, od, () => {
|
|
9079
9079
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]();
|
|
9080
|
-
}),
|
|
9080
|
+
}), rd(Jt)));
|
|
9081
9081
|
}
|
|
9082
9082
|
constructor() {
|
|
9083
9083
|
super(), document.doctype === null && console.warn(
|
|
@@ -9090,7 +9090,7 @@ const zo = /* @__PURE__ */ new Set(), ir = (o) => class extends Mt(o) {
|
|
|
9090
9090
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
9091
9091
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9092
9092
|
*/
|
|
9093
|
-
class
|
|
9093
|
+
class nd {
|
|
9094
9094
|
constructor(t, e) {
|
|
9095
9095
|
this.slot = t, this.callback = e, this._storedNodes = [], this._connected = !1, this._scheduled = !1, this._boundSchedule = () => {
|
|
9096
9096
|
this._schedule();
|
|
@@ -9140,9 +9140,9 @@ class rd {
|
|
|
9140
9140
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9141
9141
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9142
9142
|
*/
|
|
9143
|
-
let
|
|
9144
|
-
function
|
|
9145
|
-
return
|
|
9143
|
+
let ad = 0;
|
|
9144
|
+
function sr() {
|
|
9145
|
+
return ad++;
|
|
9146
9146
|
}
|
|
9147
9147
|
/**
|
|
9148
9148
|
* @license
|
|
@@ -9159,7 +9159,7 @@ class Te extends EventTarget {
|
|
|
9159
9159
|
* @protected
|
|
9160
9160
|
*/
|
|
9161
9161
|
static generateId(t, e = "default") {
|
|
9162
|
-
return `${e}-${t.localName}-${
|
|
9162
|
+
return `${e}-${t.localName}-${sr()}`;
|
|
9163
9163
|
}
|
|
9164
9164
|
constructor(t, e, i, s = {}) {
|
|
9165
9165
|
super();
|
|
@@ -9251,8 +9251,8 @@ class Te extends EventTarget {
|
|
|
9251
9251
|
*/
|
|
9252
9252
|
observeSlot() {
|
|
9253
9253
|
const { slotName: t } = this, e = t === "" ? "slot:not([name])" : `slot[name=${t}]`, i = this.host.shadowRoot.querySelector(e);
|
|
9254
|
-
this.__slotObserver = new
|
|
9255
|
-
const n = this.multiple ? this.nodes : [this.node], a = s.filter((l) => !
|
|
9254
|
+
this.__slotObserver = new nd(i, ({ addedNodes: s, removedNodes: r }) => {
|
|
9255
|
+
const n = this.multiple ? this.nodes : [this.node], a = s.filter((l) => !Bl(l) && !n.includes(l));
|
|
9256
9256
|
r.length && (this.nodes = n.filter((l) => !r.includes(l)), r.forEach((l) => {
|
|
9257
9257
|
this.teardownNode(l);
|
|
9258
9258
|
})), a && a.length > 0 && (this.multiple ? (this.defaultNode && this.defaultNode.remove(), this.nodes = [...n, ...a].filter((l) => l !== this.defaultNode), a.forEach((l) => {
|
|
@@ -9266,7 +9266,7 @@ class Te extends EventTarget {
|
|
|
9266
9266
|
* Copyright (c) 2022 - 2024 Vaadin Ltd.
|
|
9267
9267
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9268
9268
|
*/
|
|
9269
|
-
class
|
|
9269
|
+
class rr extends Te {
|
|
9270
9270
|
constructor(t) {
|
|
9271
9271
|
super(t, "tooltip"), this.setTarget(t);
|
|
9272
9272
|
}
|
|
@@ -9367,7 +9367,7 @@ class sr extends Te {
|
|
|
9367
9367
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
9368
9368
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9369
9369
|
*/
|
|
9370
|
-
const
|
|
9370
|
+
const ld = P`
|
|
9371
9371
|
:host {
|
|
9372
9372
|
display: inline-block;
|
|
9373
9373
|
position: relative;
|
|
@@ -9427,7 +9427,7 @@ const ad = P`
|
|
|
9427
9427
|
outline-color: GrayText;
|
|
9428
9428
|
}
|
|
9429
9429
|
}
|
|
9430
|
-
`,
|
|
9430
|
+
`, dd = (o) => o`
|
|
9431
9431
|
<div class="vaadin-button-container">
|
|
9432
9432
|
<span part="prefix" aria-hidden="true">
|
|
9433
9433
|
<slot name="prefix"></slot>
|
|
@@ -9450,33 +9450,34 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
9450
9450
|
Code distributed by Google as part of the polymer project is also
|
|
9451
9451
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
9452
9452
|
*/
|
|
9453
|
-
const
|
|
9453
|
+
const cd = !1, ud = (o) => o, Ri = typeof document.head.style.touchAction == "string", bi = "__polymerGestures", Xt = "__polymerGesturesHandled", wi = "__polymerGesturesTouchAction", $o = 25, Ro = 5, hd = 2, pd = ["mousedown", "mousemove", "mouseup", "click"], fd = [0, 1, 4, 2], md = function() {
|
|
9454
9454
|
try {
|
|
9455
9455
|
return new MouseEvent("test", { buttons: 1 }).buttons === 1;
|
|
9456
9456
|
} catch (o) {
|
|
9457
9457
|
return !1;
|
|
9458
9458
|
}
|
|
9459
9459
|
}();
|
|
9460
|
-
function
|
|
9461
|
-
return
|
|
9460
|
+
function Hi(o) {
|
|
9461
|
+
return pd.indexOf(o) > -1;
|
|
9462
9462
|
}
|
|
9463
|
-
let
|
|
9463
|
+
let nr = !1;
|
|
9464
9464
|
(function() {
|
|
9465
9465
|
try {
|
|
9466
9466
|
const o = Object.defineProperty({}, "passive", {
|
|
9467
9467
|
// eslint-disable-next-line getter-return
|
|
9468
9468
|
get() {
|
|
9469
|
-
|
|
9469
|
+
nr = !0;
|
|
9470
9470
|
}
|
|
9471
9471
|
});
|
|
9472
9472
|
window.addEventListener("test", null, o), window.removeEventListener("test", null, o);
|
|
9473
9473
|
} catch (o) {
|
|
9474
9474
|
}
|
|
9475
9475
|
})();
|
|
9476
|
-
function
|
|
9477
|
-
|
|
9476
|
+
function _d(o) {
|
|
9477
|
+
if (!(Hi(o) || o === "touchend") && Ri && nr && cd)
|
|
9478
|
+
return { passive: !0 };
|
|
9478
9479
|
}
|
|
9479
|
-
const
|
|
9480
|
+
const gd = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), yd = {
|
|
9480
9481
|
button: !0,
|
|
9481
9482
|
command: !0,
|
|
9482
9483
|
fieldset: !0,
|
|
@@ -9489,15 +9490,15 @@ const _d = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), gd = {
|
|
|
9489
9490
|
};
|
|
9490
9491
|
function Ee(o) {
|
|
9491
9492
|
const t = o.type;
|
|
9492
|
-
if (!
|
|
9493
|
+
if (!Hi(t))
|
|
9493
9494
|
return !1;
|
|
9494
9495
|
if (t === "mousemove") {
|
|
9495
9496
|
let i = o.buttons === void 0 ? 1 : o.buttons;
|
|
9496
|
-
return o instanceof window.MouseEvent && !
|
|
9497
|
+
return o instanceof window.MouseEvent && !md && (i = fd[o.which] || 0), !!(i & 1);
|
|
9497
9498
|
}
|
|
9498
9499
|
return (o.button === void 0 ? 0 : o.button) === 0;
|
|
9499
9500
|
}
|
|
9500
|
-
function
|
|
9501
|
+
function vd(o) {
|
|
9501
9502
|
if (o.type === "click") {
|
|
9502
9503
|
if (o.detail === 0)
|
|
9503
9504
|
return !0;
|
|
@@ -9514,6 +9515,10 @@ function yd(o) {
|
|
|
9514
9515
|
return !1;
|
|
9515
9516
|
}
|
|
9516
9517
|
const he = {
|
|
9518
|
+
mouse: {
|
|
9519
|
+
target: null,
|
|
9520
|
+
mouseIgnoreJob: null
|
|
9521
|
+
},
|
|
9517
9522
|
touch: {
|
|
9518
9523
|
x: 0,
|
|
9519
9524
|
y: 0,
|
|
@@ -9521,9 +9526,9 @@ const he = {
|
|
|
9521
9526
|
scrollDecided: !1
|
|
9522
9527
|
}
|
|
9523
9528
|
};
|
|
9524
|
-
function
|
|
9529
|
+
function bd(o) {
|
|
9525
9530
|
let t = "auto";
|
|
9526
|
-
const e =
|
|
9531
|
+
const e = lr(o);
|
|
9527
9532
|
for (let i = 0, s; i < e.length; i++)
|
|
9528
9533
|
if (s = e[i], s[wi]) {
|
|
9529
9534
|
t = s[wi];
|
|
@@ -9531,14 +9536,14 @@ function vd(o) {
|
|
|
9531
9536
|
}
|
|
9532
9537
|
return t;
|
|
9533
9538
|
}
|
|
9534
|
-
function
|
|
9539
|
+
function ar(o, t, e) {
|
|
9535
9540
|
o.movefn = t, o.upfn = e, document.addEventListener("mousemove", t), document.addEventListener("mouseup", e);
|
|
9536
9541
|
}
|
|
9537
9542
|
function $e(o) {
|
|
9538
9543
|
document.removeEventListener("mousemove", o.movefn), document.removeEventListener("mouseup", o.upfn), o.movefn = null, o.upfn = null;
|
|
9539
9544
|
}
|
|
9540
|
-
const
|
|
9541
|
-
function
|
|
9545
|
+
const lr = window.ShadyDOM && window.ShadyDOM.noPatch ? window.ShadyDOM.composedPath : (o) => o.composedPath && o.composedPath() || [], Bi = {}, De = [];
|
|
9546
|
+
function wd(o, t) {
|
|
9542
9547
|
let e = document.elementFromPoint(o, t), i = e;
|
|
9543
9548
|
for (; i && i.shadowRoot && !window.ShadyDOM; ) {
|
|
9544
9549
|
const s = i;
|
|
@@ -9549,13 +9554,13 @@ function bd(o, t) {
|
|
|
9549
9554
|
return e;
|
|
9550
9555
|
}
|
|
9551
9556
|
function ve(o) {
|
|
9552
|
-
const t =
|
|
9557
|
+
const t = lr(
|
|
9553
9558
|
/** @type {?Event} */
|
|
9554
9559
|
o
|
|
9555
9560
|
);
|
|
9556
9561
|
return t.length > 0 ? t[0] : o.target;
|
|
9557
9562
|
}
|
|
9558
|
-
function
|
|
9563
|
+
function xd(o) {
|
|
9559
9564
|
const t = o.type, i = o.currentTarget[bi];
|
|
9560
9565
|
if (!i)
|
|
9561
9566
|
return;
|
|
@@ -9566,7 +9571,7 @@ function wd(o) {
|
|
|
9566
9571
|
const n = o.changedTouches[0];
|
|
9567
9572
|
if (t === "touchstart" && o.touches.length === 1 && (he.touch.id = n.identifier), he.touch.id !== n.identifier)
|
|
9568
9573
|
return;
|
|
9569
|
-
|
|
9574
|
+
Ri || (t === "touchstart" || t === "touchmove") && Cd(o);
|
|
9570
9575
|
}
|
|
9571
9576
|
const r = o[Xt];
|
|
9572
9577
|
if (!r.skip) {
|
|
@@ -9576,7 +9581,7 @@ function wd(o) {
|
|
|
9576
9581
|
a = De[n], s[a.name] && !r[a.name] && (r[a.name] = !0, a[t](o));
|
|
9577
9582
|
}
|
|
9578
9583
|
}
|
|
9579
|
-
function
|
|
9584
|
+
function Cd(o) {
|
|
9580
9585
|
const t = o.changedTouches[0], e = o.type;
|
|
9581
9586
|
if (e === "touchstart")
|
|
9582
9587
|
he.touch.x = t.clientX, he.touch.y = t.clientY, he.touch.scrollDecided = !1;
|
|
@@ -9584,29 +9589,29 @@ function xd(o) {
|
|
|
9584
9589
|
if (he.touch.scrollDecided)
|
|
9585
9590
|
return;
|
|
9586
9591
|
he.touch.scrollDecided = !0;
|
|
9587
|
-
const i =
|
|
9592
|
+
const i = bd(o);
|
|
9588
9593
|
let s = !1;
|
|
9589
9594
|
const r = Math.abs(he.touch.x - t.clientX), n = Math.abs(he.touch.y - t.clientY);
|
|
9590
9595
|
o.cancelable && (i === "none" ? s = !0 : i === "pan-x" ? s = n > r : i === "pan-y" && (s = r > n)), s ? o.preventDefault() : kt("track");
|
|
9591
9596
|
}
|
|
9592
9597
|
}
|
|
9593
9598
|
function ae(o, t, e) {
|
|
9594
|
-
return
|
|
9599
|
+
return Bi[t] ? (Ad(o, t, e), !0) : !1;
|
|
9595
9600
|
}
|
|
9596
|
-
function
|
|
9597
|
-
const i =
|
|
9601
|
+
function Ad(o, t, e) {
|
|
9602
|
+
const i = Bi[t], s = i.deps, r = i.name;
|
|
9598
9603
|
let n = o[bi];
|
|
9599
9604
|
n || (o[bi] = n = {});
|
|
9600
9605
|
for (let a = 0, l, d; a < s.length; a++)
|
|
9601
|
-
l = s[a], !(
|
|
9602
|
-
o.addEventListener(t, e), i.touchAction &&
|
|
9606
|
+
l = s[a], !(gd && Hi(l) && l !== "click") && (d = n[l], d || (n[l] = d = { _count: 0 }), d._count === 0 && o.addEventListener(l, xd, _d(l)), d[r] = (d[r] || 0) + 1, d._count = (d._count || 0) + 1);
|
|
9607
|
+
o.addEventListener(t, e), i.touchAction && dr(o, i.touchAction);
|
|
9603
9608
|
}
|
|
9604
|
-
function
|
|
9609
|
+
function Vi(o) {
|
|
9605
9610
|
De.push(o), o.emits.forEach((t) => {
|
|
9606
|
-
|
|
9611
|
+
Bi[t] = o;
|
|
9607
9612
|
});
|
|
9608
9613
|
}
|
|
9609
|
-
function
|
|
9614
|
+
function Td(o) {
|
|
9610
9615
|
for (let t = 0, e; t < De.length; t++) {
|
|
9611
9616
|
e = De[t];
|
|
9612
9617
|
for (let i = 0, s; i < e.emits.length; i++)
|
|
@@ -9615,14 +9620,14 @@ function Ad(o) {
|
|
|
9615
9620
|
}
|
|
9616
9621
|
return null;
|
|
9617
9622
|
}
|
|
9618
|
-
function
|
|
9619
|
-
|
|
9623
|
+
function dr(o, t) {
|
|
9624
|
+
Ri && o instanceof HTMLElement && sd.run(() => {
|
|
9620
9625
|
o.style.touchAction = t;
|
|
9621
9626
|
}), o[wi] = t;
|
|
9622
9627
|
}
|
|
9623
|
-
function
|
|
9628
|
+
function Ui(o, t, e) {
|
|
9624
9629
|
const i = new Event(t, { bubbles: !0, cancelable: !0, composed: !0 });
|
|
9625
|
-
if (i.detail = e,
|
|
9630
|
+
if (i.detail = e, ud(
|
|
9626
9631
|
/** @type {!Node} */
|
|
9627
9632
|
o
|
|
9628
9633
|
).dispatchEvent(i), i.defaultPrevented) {
|
|
@@ -9631,10 +9636,10 @@ function Vi(o, t, e) {
|
|
|
9631
9636
|
}
|
|
9632
9637
|
}
|
|
9633
9638
|
function kt(o) {
|
|
9634
|
-
const t =
|
|
9639
|
+
const t = Td(o);
|
|
9635
9640
|
t.info && (t.info.prevent = !0);
|
|
9636
9641
|
}
|
|
9637
|
-
|
|
9642
|
+
Vi({
|
|
9638
9643
|
name: "downup",
|
|
9639
9644
|
deps: ["mousedown", "touchstart", "touchend"],
|
|
9640
9645
|
flow: {
|
|
@@ -9666,7 +9671,7 @@ Bi({
|
|
|
9666
9671
|
}, s = (r) => {
|
|
9667
9672
|
Ee(r) && Ge("up", t, r), $e(e.info);
|
|
9668
9673
|
};
|
|
9669
|
-
|
|
9674
|
+
ar(this.info, i, s), Ge("down", t, o);
|
|
9670
9675
|
},
|
|
9671
9676
|
/**
|
|
9672
9677
|
* @this {GestureRecognizer}
|
|
@@ -9686,7 +9691,7 @@ Bi({
|
|
|
9686
9691
|
}
|
|
9687
9692
|
});
|
|
9688
9693
|
function Ge(o, t, e, i) {
|
|
9689
|
-
t &&
|
|
9694
|
+
t && Ui(t, o, {
|
|
9690
9695
|
x: e.clientX,
|
|
9691
9696
|
y: e.clientY,
|
|
9692
9697
|
sourceEvent: e,
|
|
@@ -9696,7 +9701,7 @@ function Ge(o, t, e, i) {
|
|
|
9696
9701
|
}
|
|
9697
9702
|
});
|
|
9698
9703
|
}
|
|
9699
|
-
|
|
9704
|
+
Vi({
|
|
9700
9705
|
name: "track",
|
|
9701
9706
|
touchAction: "none",
|
|
9702
9707
|
deps: ["mousedown", "touchstart", "touchmove", "touchend"],
|
|
@@ -9713,7 +9718,7 @@ Bi({
|
|
|
9713
9718
|
moves: [],
|
|
9714
9719
|
/** @this {GestureInfo} */
|
|
9715
9720
|
addMove(o) {
|
|
9716
|
-
this.moves.length >
|
|
9721
|
+
this.moves.length > hd && this.moves.shift(), this.moves.push(o);
|
|
9717
9722
|
},
|
|
9718
9723
|
movefn: null,
|
|
9719
9724
|
upfn: null,
|
|
@@ -9736,11 +9741,11 @@ Bi({
|
|
|
9736
9741
|
return;
|
|
9737
9742
|
const t = ve(o), e = this, i = (r) => {
|
|
9738
9743
|
const n = r.clientX, a = r.clientY;
|
|
9739
|
-
|
|
9744
|
+
Ho(e.info, n, a) && (e.info.state = e.info.started ? r.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" && kt("tap"), e.info.addMove({ x: n, y: a }), Ee(r) || (e.info.state = "end", $e(e.info)), t && Zt(e.info, t, r), e.info.started = !0);
|
|
9740
9745
|
}, s = (r) => {
|
|
9741
9746
|
e.info.started && i(r), $e(e.info);
|
|
9742
9747
|
};
|
|
9743
|
-
|
|
9748
|
+
ar(this.info, i, s), this.info.x = o.clientX, this.info.y = o.clientY;
|
|
9744
9749
|
},
|
|
9745
9750
|
/**
|
|
9746
9751
|
* @this {GestureRecognizer}
|
|
@@ -9758,7 +9763,7 @@ Bi({
|
|
|
9758
9763
|
*/
|
|
9759
9764
|
touchmove(o) {
|
|
9760
9765
|
const t = ve(o), e = o.changedTouches[0], i = e.clientX, s = e.clientY;
|
|
9761
|
-
|
|
9766
|
+
Ho(this.info, i, s) && (this.info.state === "start" && kt("tap"), this.info.addMove({ x: i, y: s }), Zt(this.info, t, e), this.info.state = "track", this.info.started = !0);
|
|
9762
9767
|
},
|
|
9763
9768
|
/**
|
|
9764
9769
|
* @this {GestureRecognizer}
|
|
@@ -9770,20 +9775,20 @@ Bi({
|
|
|
9770
9775
|
this.info.started && (this.info.state = "end", this.info.addMove({ x: e.clientX, y: e.clientY }), Zt(this.info, t, e));
|
|
9771
9776
|
}
|
|
9772
9777
|
});
|
|
9773
|
-
function
|
|
9778
|
+
function Ho(o, t, e) {
|
|
9774
9779
|
if (o.prevent)
|
|
9775
9780
|
return !1;
|
|
9776
9781
|
if (o.started)
|
|
9777
9782
|
return !0;
|
|
9778
9783
|
const i = Math.abs(o.x - t), s = Math.abs(o.y - e);
|
|
9779
|
-
return i >=
|
|
9784
|
+
return i >= Ro || s >= Ro;
|
|
9780
9785
|
}
|
|
9781
9786
|
function Zt(o, t, e) {
|
|
9782
9787
|
if (!t)
|
|
9783
9788
|
return;
|
|
9784
9789
|
const i = o.moves[o.moves.length - 2], s = o.moves[o.moves.length - 1], r = s.x - o.x, n = s.y - o.y;
|
|
9785
9790
|
let a, l = 0;
|
|
9786
|
-
i && (a = s.x - i.x, l = s.y - i.y),
|
|
9791
|
+
i && (a = s.x - i.x, l = s.y - i.y), Ui(t, "track", {
|
|
9787
9792
|
state: o.state,
|
|
9788
9793
|
x: e.clientX,
|
|
9789
9794
|
y: e.clientY,
|
|
@@ -9793,11 +9798,11 @@ function Zt(o, t, e) {
|
|
|
9793
9798
|
ddy: l,
|
|
9794
9799
|
sourceEvent: e,
|
|
9795
9800
|
hover() {
|
|
9796
|
-
return
|
|
9801
|
+
return wd(e.clientX, e.clientY);
|
|
9797
9802
|
}
|
|
9798
9803
|
});
|
|
9799
9804
|
}
|
|
9800
|
-
|
|
9805
|
+
Vi({
|
|
9801
9806
|
name: "tap",
|
|
9802
9807
|
deps: ["mousedown", "click", "touchstart", "touchend"],
|
|
9803
9808
|
flow: {
|
|
@@ -9831,7 +9836,7 @@ Bi({
|
|
|
9831
9836
|
* @return {void}
|
|
9832
9837
|
*/
|
|
9833
9838
|
click(o) {
|
|
9834
|
-
Ee(o) &&
|
|
9839
|
+
Ee(o) && Bo(this.info, o);
|
|
9835
9840
|
},
|
|
9836
9841
|
/**
|
|
9837
9842
|
* @this {GestureRecognizer}
|
|
@@ -9848,15 +9853,15 @@ Bi({
|
|
|
9848
9853
|
* @return {void}
|
|
9849
9854
|
*/
|
|
9850
9855
|
touchend(o) {
|
|
9851
|
-
|
|
9856
|
+
Bo(this.info, o.changedTouches[0], o);
|
|
9852
9857
|
}
|
|
9853
9858
|
});
|
|
9854
|
-
function
|
|
9859
|
+
function Bo(o, t, e) {
|
|
9855
9860
|
const i = Math.abs(t.clientX - o.x), s = Math.abs(t.clientY - o.y), r = ve(e || t);
|
|
9856
|
-
!r ||
|
|
9861
|
+
!r || yd[
|
|
9857
9862
|
/** @type {!HTMLElement} */
|
|
9858
9863
|
r.localName
|
|
9859
|
-
] && r.hasAttribute("disabled") || (isNaN(i) || isNaN(s) || i <=
|
|
9864
|
+
] && r.hasAttribute("disabled") || (isNaN(i) || isNaN(s) || i <= $o && s <= $o || vd(t)) && (o.prevent || Ui(r, "tap", {
|
|
9860
9865
|
x: t.clientX,
|
|
9861
9866
|
y: t.clientY,
|
|
9862
9867
|
sourceEvent: t,
|
|
@@ -9868,7 +9873,7 @@ function Ho(o, t, e) {
|
|
|
9868
9873
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9869
9874
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9870
9875
|
*/
|
|
9871
|
-
const
|
|
9876
|
+
const cr = U(
|
|
9872
9877
|
(o) => class extends o {
|
|
9873
9878
|
static get properties() {
|
|
9874
9879
|
return {
|
|
@@ -9975,7 +9980,7 @@ const Ft = U(
|
|
|
9975
9980
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9976
9981
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9977
9982
|
*/
|
|
9978
|
-
const
|
|
9983
|
+
const Dd = (o) => class extends cr(Ft(o)) {
|
|
9979
9984
|
/**
|
|
9980
9985
|
* An array of activation keys.
|
|
9981
9986
|
*
|
|
@@ -10038,7 +10043,7 @@ const Td = (o) => class extends dr(Ft(o)) {
|
|
|
10038
10043
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
10039
10044
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10040
10045
|
*/
|
|
10041
|
-
const
|
|
10046
|
+
const ji = U(
|
|
10042
10047
|
(o) => class extends o {
|
|
10043
10048
|
/**
|
|
10044
10049
|
* @protected
|
|
@@ -10095,7 +10100,7 @@ const Ui = U(
|
|
|
10095
10100
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
10096
10101
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10097
10102
|
*/
|
|
10098
|
-
const
|
|
10103
|
+
const ur = (o) => class extends cr(o) {
|
|
10099
10104
|
static get properties() {
|
|
10100
10105
|
return {
|
|
10101
10106
|
/**
|
|
@@ -10146,7 +10151,7 @@ const cr = (o) => class extends dr(o) {
|
|
|
10146
10151
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10147
10152
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10148
10153
|
*/
|
|
10149
|
-
const
|
|
10154
|
+
const Ed = (o) => class extends Dd(ur(ji(o))) {
|
|
10150
10155
|
static get properties() {
|
|
10151
10156
|
return {
|
|
10152
10157
|
/**
|
|
@@ -10201,26 +10206,26 @@ const Dd = (o) => class extends Td(cr(Ui(o))) {
|
|
|
10201
10206
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10202
10207
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10203
10208
|
*/
|
|
10204
|
-
H("vaadin-button",
|
|
10205
|
-
class
|
|
10209
|
+
H("vaadin-button", ld, { moduleId: "vaadin-button-styles" });
|
|
10210
|
+
class kd extends Ed(or(Se(je(be)))) {
|
|
10206
10211
|
static get is() {
|
|
10207
10212
|
return "vaadin-button";
|
|
10208
10213
|
}
|
|
10209
10214
|
static get template() {
|
|
10210
|
-
return
|
|
10215
|
+
return dd(Oe);
|
|
10211
10216
|
}
|
|
10212
10217
|
/** @protected */
|
|
10213
10218
|
ready() {
|
|
10214
|
-
super.ready(), this._tooltipController = new
|
|
10219
|
+
super.ready(), this._tooltipController = new rr(this), this.addController(this._tooltipController);
|
|
10215
10220
|
}
|
|
10216
10221
|
}
|
|
10217
|
-
le(
|
|
10222
|
+
le(kd);
|
|
10218
10223
|
/**
|
|
10219
10224
|
* @license
|
|
10220
10225
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10221
10226
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10222
10227
|
*/
|
|
10223
|
-
function
|
|
10228
|
+
function Sd(o) {
|
|
10224
10229
|
let t = o.getDay();
|
|
10225
10230
|
t === 0 && (t = 7);
|
|
10226
10231
|
const e = 4 - t, i = new Date(o.getTime() + e * 24 * 3600 * 1e3), s = new Date(0, 0);
|
|
@@ -10235,7 +10240,7 @@ function xi(o) {
|
|
|
10235
10240
|
function fe(o, t, e = xi) {
|
|
10236
10241
|
return o instanceof Date && t instanceof Date && e(o).getTime() === e(t).getTime();
|
|
10237
10242
|
}
|
|
10238
|
-
function
|
|
10243
|
+
function Yi(o) {
|
|
10239
10244
|
return {
|
|
10240
10245
|
day: o.getDate(),
|
|
10241
10246
|
month: o.getMonth(),
|
|
@@ -10245,12 +10250,12 @@ function ji(o) {
|
|
|
10245
10250
|
function Ve(o, t, e, i) {
|
|
10246
10251
|
let s = !1;
|
|
10247
10252
|
if (typeof i == "function" && o) {
|
|
10248
|
-
const r =
|
|
10253
|
+
const r = Yi(o);
|
|
10249
10254
|
s = i(r);
|
|
10250
10255
|
}
|
|
10251
10256
|
return (!t || o >= t) && (!e || o <= e) && !s;
|
|
10252
10257
|
}
|
|
10253
|
-
function
|
|
10258
|
+
function hr(o, t) {
|
|
10254
10259
|
return t.filter((e) => e !== void 0).reduce((e, i) => {
|
|
10255
10260
|
if (!i)
|
|
10256
10261
|
return e;
|
|
@@ -10260,11 +10265,11 @@ function ur(o, t) {
|
|
|
10260
10265
|
return s < r ? i : e;
|
|
10261
10266
|
});
|
|
10262
10267
|
}
|
|
10263
|
-
function
|
|
10268
|
+
function pr(o) {
|
|
10264
10269
|
const t = /* @__PURE__ */ new Date(), e = new Date(t);
|
|
10265
10270
|
return e.setDate(1), e.setMonth(parseInt(o) + t.getMonth()), e;
|
|
10266
10271
|
}
|
|
10267
|
-
function
|
|
10272
|
+
function Pd(o, t, e = 0, i = 1) {
|
|
10268
10273
|
if (t > 99)
|
|
10269
10274
|
throw new Error("The provided year cannot have more than 2 digits.");
|
|
10270
10275
|
if (t < 0)
|
|
@@ -10279,15 +10284,15 @@ function Je(o) {
|
|
|
10279
10284
|
const e = new Date(0, 0);
|
|
10280
10285
|
return e.setFullYear(parseInt(t[1], 10)), e.setMonth(parseInt(t[2], 10) - 1), e.setDate(parseInt(t[3], 10)), e;
|
|
10281
10286
|
}
|
|
10282
|
-
function
|
|
10287
|
+
function Od(o) {
|
|
10283
10288
|
const t = (l, d = "00") => (d + l).substr((d + l).length - d.length);
|
|
10284
10289
|
let e = "", i = "0000", s = o.year;
|
|
10285
10290
|
s < 0 ? (s = -s, e = "-", i = "000000") : o.year >= 1e4 && (e = "+", i = "000000");
|
|
10286
10291
|
const r = e + t(s, i), n = t(o.month + 1), a = t(o.day);
|
|
10287
10292
|
return [r, n, a].join("-");
|
|
10288
10293
|
}
|
|
10289
|
-
function
|
|
10290
|
-
return o instanceof Date ?
|
|
10294
|
+
function Md(o) {
|
|
10295
|
+
return o instanceof Date ? Od({
|
|
10291
10296
|
year: o.getFullYear(),
|
|
10292
10297
|
month: o.getMonth(),
|
|
10293
10298
|
day: o.getDate()
|
|
@@ -10394,9 +10399,9 @@ class St {
|
|
|
10394
10399
|
}
|
|
10395
10400
|
}
|
|
10396
10401
|
let ct = /* @__PURE__ */ new Set();
|
|
10397
|
-
const
|
|
10402
|
+
const Id = function(o) {
|
|
10398
10403
|
ct.add(o);
|
|
10399
|
-
},
|
|
10404
|
+
}, Nd = function() {
|
|
10400
10405
|
const o = !!ct.size;
|
|
10401
10406
|
return ct.forEach((t) => {
|
|
10402
10407
|
try {
|
|
@@ -10417,10 +10422,10 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
10417
10422
|
Code distributed by Google as part of the polymer project is also
|
|
10418
10423
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10419
10424
|
*/
|
|
10420
|
-
const
|
|
10425
|
+
const Wi = function() {
|
|
10421
10426
|
let o, t;
|
|
10422
10427
|
do
|
|
10423
|
-
o = window.ShadyDOM && ShadyDOM.flush(), window.ShadyCSS && window.ShadyCSS.ScopingShim && window.ShadyCSS.ScopingShim.flush(), t =
|
|
10428
|
+
o = window.ShadyDOM && ShadyDOM.flush(), window.ShadyCSS && window.ShadyCSS.ScopingShim && window.ShadyCSS.ScopingShim.flush(), t = Nd();
|
|
10424
10429
|
while (o || t);
|
|
10425
10430
|
};
|
|
10426
10431
|
/**
|
|
@@ -10428,8 +10433,8 @@ const Yi = function() {
|
|
|
10428
10433
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10429
10434
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10430
10435
|
*/
|
|
10431
|
-
const
|
|
10432
|
-
|
|
10436
|
+
const fr = document.createElement("template");
|
|
10437
|
+
fr.innerHTML = `
|
|
10433
10438
|
<style>
|
|
10434
10439
|
:host {
|
|
10435
10440
|
display: block;
|
|
@@ -10480,9 +10485,9 @@ pr.innerHTML = `
|
|
|
10480
10485
|
<div id="fullHeight"></div>
|
|
10481
10486
|
</div>
|
|
10482
10487
|
`;
|
|
10483
|
-
class
|
|
10488
|
+
class mr extends HTMLElement {
|
|
10484
10489
|
constructor() {
|
|
10485
|
-
super(), this.attachShadow({ mode: "open" }).appendChild(
|
|
10490
|
+
super(), this.attachShadow({ mode: "open" }).appendChild(fr.content.cloneNode(!0)), this.bufferSize = 20, this._initialScroll = 5e5, this._initialIndex = 0, this._activated = !1;
|
|
10486
10491
|
}
|
|
10487
10492
|
/**
|
|
10488
10493
|
* @return {boolean}
|
|
@@ -10542,7 +10547,7 @@ class fr extends HTMLElement {
|
|
|
10542
10547
|
* waiting for the debouncer to resolve.
|
|
10543
10548
|
*/
|
|
10544
10549
|
forceUpdate() {
|
|
10545
|
-
this._debouncerScrollFinish && this._debouncerScrollFinish.flush(), this._debouncerUpdateClones && (this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(), this._debouncerUpdateClones.cancel()),
|
|
10550
|
+
this._debouncerScrollFinish && this._debouncerScrollFinish.flush(), this._debouncerUpdateClones && (this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(), this._debouncerUpdateClones.cancel()), Wi();
|
|
10546
10551
|
}
|
|
10547
10552
|
/**
|
|
10548
10553
|
* @protected
|
|
@@ -10598,7 +10603,7 @@ class fr extends HTMLElement {
|
|
|
10598
10603
|
for (let i = 0; i < this.bufferSize; i++) {
|
|
10599
10604
|
const s = document.createElement("div");
|
|
10600
10605
|
s.style.height = `${this.itemHeight}px`, s.instance = {};
|
|
10601
|
-
const r = `vaadin-infinite-scroller-item-content-${
|
|
10606
|
+
const r = `vaadin-infinite-scroller-item-content-${sr()}`, n = document.createElement("slot");
|
|
10602
10607
|
n.setAttribute("name", r), n._itemWrapper = s, e.appendChild(n), s.setAttribute("slot", r), this.appendChild(s), this._isVisible(s, t) && this._ensureStampedInstance(s);
|
|
10603
10608
|
}
|
|
10604
10609
|
}), requestAnimationFrame(() => {
|
|
@@ -10639,8 +10644,8 @@ class fr extends HTMLElement {
|
|
|
10639
10644
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10640
10645
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10641
10646
|
*/
|
|
10642
|
-
const
|
|
10643
|
-
|
|
10647
|
+
const _r = document.createElement("template");
|
|
10648
|
+
_r.innerHTML = `
|
|
10644
10649
|
<style>
|
|
10645
10650
|
:host {
|
|
10646
10651
|
--vaadin-infinite-scroller-item-height: 270px;
|
|
@@ -10653,12 +10658,12 @@ mr.innerHTML = `
|
|
|
10653
10658
|
}
|
|
10654
10659
|
</style>
|
|
10655
10660
|
`;
|
|
10656
|
-
class
|
|
10661
|
+
class Fd extends mr {
|
|
10657
10662
|
static get is() {
|
|
10658
10663
|
return "vaadin-date-picker-month-scroller";
|
|
10659
10664
|
}
|
|
10660
10665
|
constructor() {
|
|
10661
|
-
super(), this.bufferSize = 3, this.shadowRoot.appendChild(
|
|
10666
|
+
super(), this.bufferSize = 3, this.shadowRoot.appendChild(_r.content.cloneNode(!0));
|
|
10662
10667
|
}
|
|
10663
10668
|
/**
|
|
10664
10669
|
* @protected
|
|
@@ -10674,17 +10679,17 @@ class Nd extends fr {
|
|
|
10674
10679
|
* @override
|
|
10675
10680
|
*/
|
|
10676
10681
|
_updateElement(t, e) {
|
|
10677
|
-
t.month =
|
|
10682
|
+
t.month = pr(e);
|
|
10678
10683
|
}
|
|
10679
10684
|
}
|
|
10680
|
-
le(
|
|
10685
|
+
le(Fd);
|
|
10681
10686
|
/**
|
|
10682
10687
|
* @license
|
|
10683
10688
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10684
10689
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10685
10690
|
*/
|
|
10686
|
-
const
|
|
10687
|
-
|
|
10691
|
+
const gr = document.createElement("template");
|
|
10692
|
+
gr.innerHTML = `
|
|
10688
10693
|
<style>
|
|
10689
10694
|
:host {
|
|
10690
10695
|
--vaadin-infinite-scroller-item-height: 80px;
|
|
@@ -10719,12 +10724,12 @@ _r.innerHTML = `
|
|
|
10719
10724
|
}
|
|
10720
10725
|
</style>
|
|
10721
10726
|
`;
|
|
10722
|
-
class
|
|
10727
|
+
class zd extends mr {
|
|
10723
10728
|
static get is() {
|
|
10724
10729
|
return "vaadin-date-picker-year-scroller";
|
|
10725
10730
|
}
|
|
10726
10731
|
constructor() {
|
|
10727
|
-
super(), this.bufferSize = 12, this.shadowRoot.appendChild(
|
|
10732
|
+
super(), this.bufferSize = 12, this.shadowRoot.appendChild(gr.content.cloneNode(!0));
|
|
10728
10733
|
}
|
|
10729
10734
|
/**
|
|
10730
10735
|
* @protected
|
|
@@ -10748,13 +10753,13 @@ class Fd extends fr {
|
|
|
10748
10753
|
return i.setFullYear(parseInt(t) + e.getFullYear()), i.getFullYear();
|
|
10749
10754
|
}
|
|
10750
10755
|
}
|
|
10751
|
-
le(
|
|
10756
|
+
le(zd);
|
|
10752
10757
|
/**
|
|
10753
10758
|
* @license
|
|
10754
10759
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10755
10760
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10756
10761
|
*/
|
|
10757
|
-
const
|
|
10762
|
+
const Ld = (o) => class extends o {
|
|
10758
10763
|
static get properties() {
|
|
10759
10764
|
return {
|
|
10760
10765
|
year: {
|
|
@@ -10780,7 +10785,7 @@ const zd = (o) => class extends o {
|
|
|
10780
10785
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10781
10786
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10782
10787
|
*/
|
|
10783
|
-
class
|
|
10788
|
+
class $d extends Se(Ld(be)) {
|
|
10784
10789
|
static get is() {
|
|
10785
10790
|
return "vaadin-date-picker-year";
|
|
10786
10791
|
}
|
|
@@ -10797,7 +10802,7 @@ class Ld extends Se(zd(be)) {
|
|
|
10797
10802
|
`;
|
|
10798
10803
|
}
|
|
10799
10804
|
}
|
|
10800
|
-
le(
|
|
10805
|
+
le($d);
|
|
10801
10806
|
/**
|
|
10802
10807
|
@license
|
|
10803
10808
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -10807,13 +10812,13 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
10807
10812
|
Code distributed by Google as part of the polymer project is also
|
|
10808
10813
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10809
10814
|
*/
|
|
10810
|
-
function
|
|
10815
|
+
function qi(o, t, e, i, s) {
|
|
10811
10816
|
let r;
|
|
10812
10817
|
s && (r = typeof e == "object" && e !== null, r && (i = o.__dataTemp[t]));
|
|
10813
10818
|
let n = i !== e && (i === i || e === e);
|
|
10814
10819
|
return r && n && (o.__dataTemp[t] = e), n;
|
|
10815
10820
|
}
|
|
10816
|
-
const
|
|
10821
|
+
const Ki = U((o) => {
|
|
10817
10822
|
class t extends o {
|
|
10818
10823
|
/**
|
|
10819
10824
|
* Overrides `PropertyEffects` to provide option for skipping
|
|
@@ -10833,11 +10838,11 @@ const qi = U((o) => {
|
|
|
10833
10838
|
* @protected
|
|
10834
10839
|
*/
|
|
10835
10840
|
_shouldPropertyChange(i, s, r) {
|
|
10836
|
-
return
|
|
10841
|
+
return qi(this, i, s, r, !0);
|
|
10837
10842
|
}
|
|
10838
10843
|
}
|
|
10839
10844
|
return t;
|
|
10840
|
-
}),
|
|
10845
|
+
}), Rd = U((o) => {
|
|
10841
10846
|
class t extends o {
|
|
10842
10847
|
/** @nocollapse */
|
|
10843
10848
|
static get properties() {
|
|
@@ -10869,12 +10874,12 @@ const qi = U((o) => {
|
|
|
10869
10874
|
* @protected
|
|
10870
10875
|
*/
|
|
10871
10876
|
_shouldPropertyChange(i, s, r) {
|
|
10872
|
-
return
|
|
10877
|
+
return qi(this, i, s, r, this.mutableData);
|
|
10873
10878
|
}
|
|
10874
10879
|
}
|
|
10875
10880
|
return t;
|
|
10876
10881
|
});
|
|
10877
|
-
|
|
10882
|
+
Ki._mutablePropertyChange = qi;
|
|
10878
10883
|
/**
|
|
10879
10884
|
@license
|
|
10880
10885
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -10894,13 +10899,13 @@ Ai.prototype = Object.create(HTMLTemplateElement.prototype, {
|
|
|
10894
10899
|
writable: !0
|
|
10895
10900
|
}
|
|
10896
10901
|
});
|
|
10897
|
-
const
|
|
10898
|
-
function
|
|
10902
|
+
const yr = Fi(Ai), Hd = Ki(yr);
|
|
10903
|
+
function Bd(o, t) {
|
|
10899
10904
|
Ci = o, Object.setPrototypeOf(o, t.prototype), new t(), Ci = null;
|
|
10900
10905
|
}
|
|
10901
|
-
const
|
|
10906
|
+
const Vd = Fi(class {
|
|
10902
10907
|
});
|
|
10903
|
-
function
|
|
10908
|
+
function Ud(o, t) {
|
|
10904
10909
|
for (let e = 0; e < t.length; e++) {
|
|
10905
10910
|
let i = t[e];
|
|
10906
10911
|
if (!!o != !!i.__hideTemplateChildren__)
|
|
@@ -10918,7 +10923,7 @@ function Vd(o, t) {
|
|
|
10918
10923
|
i.__hideTemplateChildren__ = o, i._showHideChildren && i._showHideChildren(o);
|
|
10919
10924
|
}
|
|
10920
10925
|
}
|
|
10921
|
-
class we extends
|
|
10926
|
+
class we extends Vd {
|
|
10922
10927
|
constructor(t) {
|
|
10923
10928
|
super(), this._configureProperties(t), this.root = this._stampTemplate(this.__dataHost);
|
|
10924
10929
|
let e = [];
|
|
@@ -10987,7 +10992,7 @@ class we extends Bd {
|
|
|
10987
10992
|
* @protected
|
|
10988
10993
|
*/
|
|
10989
10994
|
_showHideChildren(t) {
|
|
10990
|
-
|
|
10995
|
+
Ud(t, this.children);
|
|
10991
10996
|
}
|
|
10992
10997
|
/**
|
|
10993
10998
|
* Overrides default property-effects implementation to intercept
|
|
@@ -11040,31 +11045,31 @@ we.prototype.__templatizeOptions;
|
|
|
11040
11045
|
we.prototype._methodHost;
|
|
11041
11046
|
we.prototype.__templatizeOwner;
|
|
11042
11047
|
we.prototype.__hostProps;
|
|
11043
|
-
const
|
|
11048
|
+
const jd = Ki(
|
|
11044
11049
|
// This cast shouldn't be neccessary, but Closure doesn't understand that
|
|
11045
11050
|
// TemplateInstanceBase is a constructor function.
|
|
11046
11051
|
/** @type {function(new:TemplateInstanceBase)} */
|
|
11047
11052
|
we
|
|
11048
11053
|
);
|
|
11049
|
-
function
|
|
11054
|
+
function Vo(o) {
|
|
11050
11055
|
let t = o.__dataHost;
|
|
11051
11056
|
return t && t._methodHost || t;
|
|
11052
11057
|
}
|
|
11053
|
-
function
|
|
11054
|
-
let i = e.mutableData ?
|
|
11058
|
+
function Yd(o, t, e) {
|
|
11059
|
+
let i = e.mutableData ? jd : we;
|
|
11055
11060
|
Ti.mixin && (i = Ti.mixin(i));
|
|
11056
11061
|
let s = class extends i {
|
|
11057
11062
|
};
|
|
11058
|
-
return s.prototype.__templatizeOptions = e, s.prototype._bindTemplate(o),
|
|
11063
|
+
return s.prototype.__templatizeOptions = e, s.prototype._bindTemplate(o), Kd(s, o, t, e), s;
|
|
11059
11064
|
}
|
|
11060
|
-
function
|
|
11065
|
+
function Wd(o, t, e, i) {
|
|
11061
11066
|
let s = e.forwardHostProp;
|
|
11062
11067
|
if (s && t.hasHostProps) {
|
|
11063
11068
|
const r = o.localName == "template";
|
|
11064
11069
|
let n = t.templatizeTemplateClass;
|
|
11065
11070
|
if (!n) {
|
|
11066
11071
|
if (r) {
|
|
11067
|
-
let l = e.mutableData ?
|
|
11072
|
+
let l = e.mutableData ? Hd : yr;
|
|
11068
11073
|
class d extends l {
|
|
11069
11074
|
}
|
|
11070
11075
|
n = t.templatizeTemplateClass = d;
|
|
@@ -11079,12 +11084,12 @@ function Yd(o, t, e, i) {
|
|
|
11079
11084
|
n.prototype._addPropertyEffect(
|
|
11080
11085
|
"_host_" + l,
|
|
11081
11086
|
n.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE,
|
|
11082
|
-
{ fn:
|
|
11087
|
+
{ fn: qd(l, s) }
|
|
11083
11088
|
), n.prototype._createNotifyingProperty("_host_" + l);
|
|
11084
|
-
|
|
11089
|
+
Cs && i && Xd(t, e, i);
|
|
11085
11090
|
}
|
|
11086
11091
|
if (o.__dataProto && Object.assign(o.__data, o.__dataProto), r)
|
|
11087
|
-
|
|
11092
|
+
Bd(o, n), o.__dataTemp = {}, o.__dataPending = null, o.__dataOld = null, o._enableProperties();
|
|
11088
11093
|
else {
|
|
11089
11094
|
Object.setPrototypeOf(o, n.prototype);
|
|
11090
11095
|
const a = t.hostProps;
|
|
@@ -11096,7 +11101,7 @@ function Yd(o, t, e, i) {
|
|
|
11096
11101
|
}
|
|
11097
11102
|
}
|
|
11098
11103
|
}
|
|
11099
|
-
function
|
|
11104
|
+
function qd(o, t) {
|
|
11100
11105
|
return function(i, s, r) {
|
|
11101
11106
|
t.call(
|
|
11102
11107
|
i.__templatizeOwner,
|
|
@@ -11105,7 +11110,7 @@ function Wd(o, t) {
|
|
|
11105
11110
|
);
|
|
11106
11111
|
};
|
|
11107
11112
|
}
|
|
11108
|
-
function
|
|
11113
|
+
function Kd(o, t, e, i) {
|
|
11109
11114
|
let s = e.hostProps || {};
|
|
11110
11115
|
for (let r in i.instanceProps) {
|
|
11111
11116
|
delete s[r];
|
|
@@ -11113,7 +11118,7 @@ function qd(o, t, e, i) {
|
|
|
11113
11118
|
n && o.prototype._addPropertyEffect(
|
|
11114
11119
|
r,
|
|
11115
11120
|
o.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,
|
|
11116
|
-
{ fn:
|
|
11121
|
+
{ fn: Gd(r, n) }
|
|
11117
11122
|
);
|
|
11118
11123
|
}
|
|
11119
11124
|
if (i.forwardHostProp && t.__dataHost)
|
|
@@ -11121,10 +11126,10 @@ function qd(o, t, e, i) {
|
|
|
11121
11126
|
e.hasHostProps || (e.hasHostProps = !0), o.prototype._addPropertyEffect(
|
|
11122
11127
|
r,
|
|
11123
11128
|
o.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,
|
|
11124
|
-
{ fn:
|
|
11129
|
+
{ fn: Jd() }
|
|
11125
11130
|
);
|
|
11126
11131
|
}
|
|
11127
|
-
function
|
|
11132
|
+
function Gd(o, t) {
|
|
11128
11133
|
return function(i, s, r) {
|
|
11129
11134
|
t.call(
|
|
11130
11135
|
i.__templatizeOwner,
|
|
@@ -11134,22 +11139,22 @@ function Kd(o, t) {
|
|
|
11134
11139
|
);
|
|
11135
11140
|
};
|
|
11136
11141
|
}
|
|
11137
|
-
function
|
|
11142
|
+
function Jd() {
|
|
11138
11143
|
return function(t, e, i) {
|
|
11139
11144
|
t.__dataHost._setPendingPropertyOrPath("_host_" + e, i[e], !0, !0);
|
|
11140
11145
|
};
|
|
11141
11146
|
}
|
|
11142
11147
|
function Ti(o, t, e) {
|
|
11143
|
-
if (Tt && !
|
|
11148
|
+
if (Tt && !Vo(o))
|
|
11144
11149
|
throw new Error("strictTemplatePolicy: template owner not trusted");
|
|
11145
11150
|
if (e = /** @type {!TemplatizeOptions} */
|
|
11146
11151
|
e || {}, o.__templatizeOwner)
|
|
11147
11152
|
throw new Error("A <template> can only be templatized once");
|
|
11148
11153
|
o.__templatizeOwner = t;
|
|
11149
11154
|
let s = (t ? t.constructor : we)._parseTemplate(o), r = s.templatizeInstanceClass;
|
|
11150
|
-
r || (r =
|
|
11151
|
-
const n =
|
|
11152
|
-
|
|
11155
|
+
r || (r = Yd(o, s, e), s.templatizeInstanceClass = r);
|
|
11156
|
+
const n = Vo(o);
|
|
11157
|
+
Wd(o, s, e, n);
|
|
11153
11158
|
let a = class extends r {
|
|
11154
11159
|
};
|
|
11155
11160
|
return a.prototype._methodHost = n, a.prototype.__dataHost = /** @type {!DataTemplate} */
|
|
@@ -11157,7 +11162,7 @@ function Ti(o, t, e) {
|
|
|
11157
11162
|
t, a.prototype.__hostProps = s.hostProps, a = /** @type {function(new:TemplateInstanceBase)} */
|
|
11158
11163
|
a, a;
|
|
11159
11164
|
}
|
|
11160
|
-
function
|
|
11165
|
+
function Xd(o, t, e) {
|
|
11161
11166
|
const i = e.constructor._properties, { propertyEffects: s } = o, { instanceProps: r } = t;
|
|
11162
11167
|
for (let n in s)
|
|
11163
11168
|
if (!i[n] && !(r && r[n])) {
|
|
@@ -11171,7 +11176,7 @@ function Jd(o, t, e) {
|
|
|
11171
11176
|
}
|
|
11172
11177
|
}
|
|
11173
11178
|
}
|
|
11174
|
-
function
|
|
11179
|
+
function Zd(o, t) {
|
|
11175
11180
|
let e;
|
|
11176
11181
|
for (; t; )
|
|
11177
11182
|
if (e = t.__dataHost ? t : t.__templatizeInstance)
|
|
@@ -11192,11 +11197,11 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11192
11197
|
Code distributed by Google as part of the polymer project is also
|
|
11193
11198
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11194
11199
|
*/
|
|
11195
|
-
let
|
|
11196
|
-
function
|
|
11197
|
-
if (
|
|
11198
|
-
if (!
|
|
11199
|
-
|
|
11200
|
+
let Uo = !1;
|
|
11201
|
+
function Qd() {
|
|
11202
|
+
if (xs && !ws) {
|
|
11203
|
+
if (!Uo) {
|
|
11204
|
+
Uo = !0;
|
|
11200
11205
|
const o = document.createElement("style");
|
|
11201
11206
|
o.textContent = "dom-bind,dom-if,dom-repeat{display:none;}", document.head.appendChild(o);
|
|
11202
11207
|
}
|
|
@@ -11213,8 +11218,8 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11213
11218
|
Code distributed by Google as part of the polymer project is also
|
|
11214
11219
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11215
11220
|
*/
|
|
11216
|
-
const
|
|
11217
|
-
class
|
|
11221
|
+
const ec = Rd(be);
|
|
11222
|
+
class jo extends ec {
|
|
11218
11223
|
// Not needed to find template; can be removed once the analyzer
|
|
11219
11224
|
// can find the tag name from customElements.define call
|
|
11220
11225
|
static get is() {
|
|
@@ -11309,7 +11314,7 @@ class Uo extends Qd {
|
|
|
11309
11314
|
*/
|
|
11310
11315
|
renderedItemCount: {
|
|
11311
11316
|
type: Number,
|
|
11312
|
-
notify: !
|
|
11317
|
+
notify: !_o,
|
|
11313
11318
|
readOnly: !0
|
|
11314
11319
|
},
|
|
11315
11320
|
/**
|
|
@@ -11392,7 +11397,7 @@ class Uo extends Qd {
|
|
|
11392
11397
|
* @return {void}
|
|
11393
11398
|
*/
|
|
11394
11399
|
connectedCallback() {
|
|
11395
|
-
if (super.connectedCallback(),
|
|
11400
|
+
if (super.connectedCallback(), Qd() || (this.style.display = "none"), this.__isDetached) {
|
|
11396
11401
|
this.__isDetached = !1;
|
|
11397
11402
|
let t = W(W(this).parentNode);
|
|
11398
11403
|
for (let e = 0; e < this.__instances.length; e++)
|
|
@@ -11442,7 +11447,7 @@ class Uo extends Qd {
|
|
|
11442
11447
|
* @param {*} value Value to notify
|
|
11443
11448
|
*/
|
|
11444
11449
|
notifyInstanceProp: function(s, r, n) {
|
|
11445
|
-
if (
|
|
11450
|
+
if (sa(this.as, r)) {
|
|
11446
11451
|
let a = s[this.itemsIndexAs];
|
|
11447
11452
|
r == this.as && (this.items[a] = n);
|
|
11448
11453
|
let l = at(this.as, `${JSCompiler_renameProperty("items", this)}.${a}`, r);
|
|
@@ -11498,9 +11503,9 @@ class Uo extends Qd {
|
|
|
11498
11503
|
__debounceRender(t, e = 0) {
|
|
11499
11504
|
this.__renderDebouncer = St.debounce(
|
|
11500
11505
|
this.__renderDebouncer,
|
|
11501
|
-
e > 0 ?
|
|
11506
|
+
e > 0 ? ca.after(e) : Is,
|
|
11502
11507
|
t.bind(this)
|
|
11503
|
-
),
|
|
11508
|
+
), Id(this.__renderDebouncer);
|
|
11504
11509
|
}
|
|
11505
11510
|
/**
|
|
11506
11511
|
* Forces the element to render its content. Normally rendering is
|
|
@@ -11511,7 +11516,7 @@ class Uo extends Qd {
|
|
|
11511
11516
|
* @return {void}
|
|
11512
11517
|
*/
|
|
11513
11518
|
render() {
|
|
11514
|
-
this.__debounceRender(this.__render),
|
|
11519
|
+
this.__debounceRender(this.__render), Wi();
|
|
11515
11520
|
}
|
|
11516
11521
|
__render() {
|
|
11517
11522
|
if (!this.__ensureTemplatized())
|
|
@@ -11520,7 +11525,7 @@ class Uo extends Qd {
|
|
|
11520
11525
|
const e = this.__sortAndFilterItems(t), i = this.__calculateLimit(e.length);
|
|
11521
11526
|
this.__updateInstances(t, i, e), this.initialCount && (this.__shouldMeasureChunk || this.__shouldContinueChunking) && (cancelAnimationFrame(this.__chunkingId), this.__chunkingId = requestAnimationFrame(() => {
|
|
11522
11527
|
this.__chunkingId = null, this.__continueChunking();
|
|
11523
|
-
})), this._setRenderedItemCount(this.__instances.length), (!
|
|
11528
|
+
})), this._setRenderedItemCount(this.__instances.length), (!_o || this.notifyDomChange) && this.dispatchEvent(new CustomEvent("dom-change", {
|
|
11524
11529
|
bubbles: !0,
|
|
11525
11530
|
composed: !0
|
|
11526
11531
|
}));
|
|
@@ -11660,16 +11665,16 @@ class Uo extends Qd {
|
|
|
11660
11665
|
* the element.
|
|
11661
11666
|
*/
|
|
11662
11667
|
modelForElement(t) {
|
|
11663
|
-
return
|
|
11668
|
+
return Zd(this.template, t);
|
|
11664
11669
|
}
|
|
11665
11670
|
}
|
|
11666
|
-
customElements.define(
|
|
11671
|
+
customElements.define(jo.is, jo);
|
|
11667
11672
|
/**
|
|
11668
11673
|
* @license
|
|
11669
11674
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11670
11675
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11671
11676
|
*/
|
|
11672
|
-
const
|
|
11677
|
+
const tc = (o) => class extends ji(o) {
|
|
11673
11678
|
static get properties() {
|
|
11674
11679
|
return {
|
|
11675
11680
|
/**
|
|
@@ -11852,7 +11857,7 @@ const ec = (o) => class extends Ui(o) {
|
|
|
11852
11857
|
/** @protected */
|
|
11853
11858
|
__getWeekNumber(e) {
|
|
11854
11859
|
const i = e.reduce((s, r) => !s && r ? r : s);
|
|
11855
|
-
return
|
|
11860
|
+
return Sd(i);
|
|
11856
11861
|
}
|
|
11857
11862
|
/** @protected */
|
|
11858
11863
|
__getDayAriaLabel(e) {
|
|
@@ -11867,7 +11872,7 @@ const ec = (o) => class extends Ui(o) {
|
|
|
11867
11872
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11868
11873
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11869
11874
|
*/
|
|
11870
|
-
const
|
|
11875
|
+
const ic = P`
|
|
11871
11876
|
:host {
|
|
11872
11877
|
display: block;
|
|
11873
11878
|
}
|
|
@@ -11929,10 +11934,10 @@ const tc = P`
|
|
|
11929
11934
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11930
11935
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11931
11936
|
*/
|
|
11932
|
-
H("vaadin-month-calendar",
|
|
11937
|
+
H("vaadin-month-calendar", ic, {
|
|
11933
11938
|
moduleId: "vaadin-month-calendar-styles"
|
|
11934
11939
|
});
|
|
11935
|
-
class
|
|
11940
|
+
class oc extends tc(Se(be)) {
|
|
11936
11941
|
static get template() {
|
|
11937
11942
|
return Oe`
|
|
11938
11943
|
<div part="month-header" id="month-header" aria-hidden="true">[[_getTitle(month, i18n)]]</div>
|
|
@@ -12040,13 +12045,13 @@ class ic extends ec(Se(be)) {
|
|
|
12040
12045
|
return this.__isDayFocused(t, e) ? "0" : "-1";
|
|
12041
12046
|
}
|
|
12042
12047
|
}
|
|
12043
|
-
le(
|
|
12048
|
+
le(oc);
|
|
12044
12049
|
/**
|
|
12045
12050
|
* @license
|
|
12046
12051
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12047
12052
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12048
12053
|
*/
|
|
12049
|
-
class
|
|
12054
|
+
class vr {
|
|
12050
12055
|
constructor(t, e) {
|
|
12051
12056
|
this.query = t, this.callback = e, this._boundQueryHandler = this._queryHandler.bind(this);
|
|
12052
12057
|
}
|
|
@@ -12074,7 +12079,7 @@ class yr {
|
|
|
12074
12079
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12075
12080
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12076
12081
|
*/
|
|
12077
|
-
const
|
|
12082
|
+
const sc = (o) => class extends o {
|
|
12078
12083
|
static get properties() {
|
|
12079
12084
|
return {
|
|
12080
12085
|
scrollDuration: {
|
|
@@ -12202,7 +12207,7 @@ const oc = (o) => class extends o {
|
|
|
12202
12207
|
}
|
|
12203
12208
|
/** @protected */
|
|
12204
12209
|
_addListeners() {
|
|
12205
|
-
|
|
12210
|
+
dr(this.$.scrollers, "pan-y"), ae(this.$.scrollers, "track", this._track.bind(this)), ae(this.shadowRoot.querySelector('[part="clear-button"]'), "tap", this._clear.bind(this)), ae(this.shadowRoot.querySelector('[part="toggle-button"]'), "tap", this._cancel.bind(this)), ae(
|
|
12206
12211
|
this.shadowRoot.querySelector('[part="years-toggle-button"]'),
|
|
12207
12212
|
"tap",
|
|
12208
12213
|
this._toggleYearScroller.bind(this)
|
|
@@ -12211,7 +12216,7 @@ const oc = (o) => class extends o {
|
|
|
12211
12216
|
/** @protected */
|
|
12212
12217
|
_initControllers() {
|
|
12213
12218
|
this.addController(
|
|
12214
|
-
new
|
|
12219
|
+
new vr(this._desktopMediaQuery, (e) => {
|
|
12215
12220
|
this._desktopMode = e;
|
|
12216
12221
|
})
|
|
12217
12222
|
), this.addController(
|
|
@@ -12403,7 +12408,7 @@ const oc = (o) => class extends o {
|
|
|
12403
12408
|
}
|
|
12404
12409
|
/** @protected */
|
|
12405
12410
|
_formatDisplayed(e, i, s) {
|
|
12406
|
-
return e && i && typeof i.formatDate == "function" ? i.formatDate(
|
|
12411
|
+
return e && i && typeof i.formatDate == "function" ? i.formatDate(Yi(e)) : s;
|
|
12407
12412
|
}
|
|
12408
12413
|
/** @private */
|
|
12409
12414
|
_onTodayTap() {
|
|
@@ -12520,7 +12525,7 @@ const oc = (o) => class extends o {
|
|
|
12520
12525
|
}
|
|
12521
12526
|
/** @private */
|
|
12522
12527
|
_yearAfterXMonths(e) {
|
|
12523
|
-
return
|
|
12528
|
+
return pr(e).getFullYear();
|
|
12524
12529
|
}
|
|
12525
12530
|
/** @private */
|
|
12526
12531
|
_differenceInMonths(e, i) {
|
|
@@ -12628,15 +12633,15 @@ const oc = (o) => class extends o {
|
|
|
12628
12633
|
focusDateElement(e = !0) {
|
|
12629
12634
|
return pt(this, null, function* () {
|
|
12630
12635
|
this.__pendingDateFocus = this.focusedDate, this.calendars.length || (yield new Promise((i) => {
|
|
12631
|
-
|
|
12632
|
-
|
|
12636
|
+
Js(this, () => {
|
|
12637
|
+
Wi(), i();
|
|
12633
12638
|
});
|
|
12634
12639
|
})), e && this.revealDate(this.focusedDate), this._revealPromise && (yield this._revealPromise), this.__tryFocusDate();
|
|
12635
12640
|
});
|
|
12636
12641
|
}
|
|
12637
12642
|
/** @private */
|
|
12638
12643
|
_focusClosestDate(e) {
|
|
12639
|
-
this.focusDate(
|
|
12644
|
+
this.focusDate(hr(e, [this.minDate, this.maxDate]));
|
|
12640
12645
|
}
|
|
12641
12646
|
/** @private */
|
|
12642
12647
|
_focusAllowedDate(e, i, s) {
|
|
@@ -12687,7 +12692,7 @@ const oc = (o) => class extends o {
|
|
|
12687
12692
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12688
12693
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12689
12694
|
*/
|
|
12690
|
-
const
|
|
12695
|
+
const rc = P`
|
|
12691
12696
|
:host {
|
|
12692
12697
|
display: flex;
|
|
12693
12698
|
flex-direction: column;
|
|
@@ -12753,10 +12758,10 @@ const sc = P`
|
|
|
12753
12758
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12754
12759
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12755
12760
|
*/
|
|
12756
|
-
H("vaadin-date-picker-overlay-content",
|
|
12761
|
+
H("vaadin-date-picker-overlay-content", rc, {
|
|
12757
12762
|
moduleId: "vaadin-date-picker-overlay-content-styles"
|
|
12758
12763
|
});
|
|
12759
|
-
class
|
|
12764
|
+
class nc extends sc(
|
|
12760
12765
|
je(Se(Mt(be)))
|
|
12761
12766
|
) {
|
|
12762
12767
|
static get template() {
|
|
@@ -12790,14 +12795,14 @@ class rc extends oc(
|
|
|
12790
12795
|
super.ready(), this.setAttribute("role", "dialog"), this._addListeners(), this._initControllers();
|
|
12791
12796
|
}
|
|
12792
12797
|
}
|
|
12793
|
-
le(
|
|
12798
|
+
le(nc);
|
|
12794
12799
|
/**
|
|
12795
12800
|
* @license
|
|
12796
12801
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12797
12802
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12798
12803
|
*/
|
|
12799
|
-
const
|
|
12800
|
-
(o) => class extends
|
|
12804
|
+
const br = U(
|
|
12805
|
+
(o) => class extends ji(ur(o)) {
|
|
12801
12806
|
static get properties() {
|
|
12802
12807
|
return {
|
|
12803
12808
|
/**
|
|
@@ -12954,14 +12959,14 @@ const vr = U(
|
|
|
12954
12959
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12955
12960
|
*/
|
|
12956
12961
|
const Qt = /* @__PURE__ */ new WeakMap();
|
|
12957
|
-
function
|
|
12962
|
+
function ac(o) {
|
|
12958
12963
|
return Qt.has(o) || Qt.set(o, /* @__PURE__ */ new Set()), Qt.get(o);
|
|
12959
12964
|
}
|
|
12960
|
-
function
|
|
12965
|
+
function lc(o, t) {
|
|
12961
12966
|
const e = document.createElement("style");
|
|
12962
12967
|
e.textContent = o, t === document ? document.head.appendChild(e) : t.insertBefore(e, t.firstChild);
|
|
12963
12968
|
}
|
|
12964
|
-
const
|
|
12969
|
+
const dc = U(
|
|
12965
12970
|
(o) => class extends o {
|
|
12966
12971
|
/**
|
|
12967
12972
|
* List of styles to insert into root.
|
|
@@ -12976,9 +12981,9 @@ const lc = U(
|
|
|
12976
12981
|
}
|
|
12977
12982
|
/** @private */
|
|
12978
12983
|
__applySlotStyles() {
|
|
12979
|
-
const e = this.getRootNode(), i =
|
|
12984
|
+
const e = this.getRootNode(), i = ac(e);
|
|
12980
12985
|
this.slotStyles.forEach((s) => {
|
|
12981
|
-
i.has(s) || (
|
|
12986
|
+
i.has(s) || (lc(s, e), i.add(s));
|
|
12982
12987
|
});
|
|
12983
12988
|
}
|
|
12984
12989
|
}
|
|
@@ -12988,7 +12993,7 @@ const lc = U(
|
|
|
12988
12993
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12989
12994
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12990
12995
|
*/
|
|
12991
|
-
const
|
|
12996
|
+
const wr = U(
|
|
12992
12997
|
(o) => class extends o {
|
|
12993
12998
|
static get properties() {
|
|
12994
12999
|
return {
|
|
@@ -13192,7 +13197,7 @@ const br = U(
|
|
|
13192
13197
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13193
13198
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13194
13199
|
*/
|
|
13195
|
-
const
|
|
13200
|
+
const cc = (o) => class extends wr(Ft(o)) {
|
|
13196
13201
|
static get properties() {
|
|
13197
13202
|
return {
|
|
13198
13203
|
/**
|
|
@@ -13237,7 +13242,7 @@ const dc = (o) => class extends br(Ft(o)) {
|
|
|
13237
13242
|
* @protected
|
|
13238
13243
|
*/
|
|
13239
13244
|
_onClearButtonMouseDown(e) {
|
|
13240
|
-
e.preventDefault(),
|
|
13245
|
+
e.preventDefault(), Sl || this.inputElement.focus();
|
|
13241
13246
|
}
|
|
13242
13247
|
/**
|
|
13243
13248
|
* Override an event listener inherited from `KeydownMixin` to clear on Esc.
|
|
@@ -13268,48 +13273,48 @@ const dc = (o) => class extends br(Ft(o)) {
|
|
|
13268
13273
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13269
13274
|
*/
|
|
13270
13275
|
const ei = /* @__PURE__ */ new Map();
|
|
13271
|
-
function
|
|
13276
|
+
function Gi(o) {
|
|
13272
13277
|
return ei.has(o) || ei.set(o, /* @__PURE__ */ new WeakMap()), ei.get(o);
|
|
13273
13278
|
}
|
|
13274
|
-
function
|
|
13279
|
+
function xr(o, t) {
|
|
13275
13280
|
o && o.removeAttribute(t);
|
|
13276
13281
|
}
|
|
13277
|
-
function
|
|
13282
|
+
function Cr(o, t) {
|
|
13278
13283
|
if (!o || !t)
|
|
13279
13284
|
return;
|
|
13280
|
-
const e =
|
|
13285
|
+
const e = Gi(t);
|
|
13281
13286
|
if (e.has(o))
|
|
13282
13287
|
return;
|
|
13283
13288
|
const i = $i(o.getAttribute(t));
|
|
13284
13289
|
e.set(o, new Set(i));
|
|
13285
13290
|
}
|
|
13286
|
-
function
|
|
13287
|
-
if (!o)
|
|
13291
|
+
function uc(o, t) {
|
|
13292
|
+
if (!o || !t)
|
|
13288
13293
|
return;
|
|
13289
|
-
const e =
|
|
13290
|
-
!i || i.size === 0 ? o.removeAttribute(t) :
|
|
13294
|
+
const e = Gi(t), i = e.get(o);
|
|
13295
|
+
!i || i.size === 0 ? o.removeAttribute(t) : er(o, t, Nt(i)), e.delete(o);
|
|
13291
13296
|
}
|
|
13292
13297
|
function ti(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
13293
13298
|
if (!o || !t)
|
|
13294
13299
|
return;
|
|
13295
|
-
const { newId: i, oldId: s, fromUser: r } = e, n =
|
|
13300
|
+
const { newId: i, oldId: s, fromUser: r } = e, n = Gi(t), a = n.get(o);
|
|
13296
13301
|
if (!r && a) {
|
|
13297
13302
|
s && a.delete(s), i && a.add(i);
|
|
13298
13303
|
return;
|
|
13299
13304
|
}
|
|
13300
|
-
r && (a ? i || n.delete(o) :
|
|
13305
|
+
r && (a ? i || n.delete(o) : Cr(o, t), xr(o, t)), Hl(o, t, s);
|
|
13301
13306
|
const l = i || Nt(a);
|
|
13302
|
-
l &&
|
|
13307
|
+
l && er(o, t, l);
|
|
13303
13308
|
}
|
|
13304
|
-
function
|
|
13305
|
-
|
|
13309
|
+
function hc(o, t) {
|
|
13310
|
+
Cr(o, t), xr(o, t);
|
|
13306
13311
|
}
|
|
13307
13312
|
/**
|
|
13308
13313
|
* @license
|
|
13309
13314
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13310
13315
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13311
13316
|
*/
|
|
13312
|
-
class
|
|
13317
|
+
class pc {
|
|
13313
13318
|
constructor(t) {
|
|
13314
13319
|
this.host = t, this.__required = !1;
|
|
13315
13320
|
}
|
|
@@ -13382,7 +13387,7 @@ class hc {
|
|
|
13382
13387
|
* @private
|
|
13383
13388
|
* */
|
|
13384
13389
|
__setAriaLabelToAttribute(t) {
|
|
13385
|
-
this.__target && (t ? (
|
|
13390
|
+
this.__target && (t ? (hc(this.__target, "aria-labelledby"), this.__target.setAttribute("aria-label", t)) : this.__label && (uc(this.__target, "aria-labelledby"), this.__target.removeAttribute("aria-label")));
|
|
13386
13391
|
}
|
|
13387
13392
|
/**
|
|
13388
13393
|
* @param {string | null | undefined} labelId
|
|
@@ -13428,9 +13433,9 @@ ie.style.clip = "rect(0px, 0px, 0px, 0px)";
|
|
|
13428
13433
|
ie.setAttribute("aria-live", "polite");
|
|
13429
13434
|
document.body.appendChild(ie);
|
|
13430
13435
|
let yt;
|
|
13431
|
-
function
|
|
13436
|
+
function fc(o, t = {}) {
|
|
13432
13437
|
const e = t.mode || "polite", i = t.timeout === void 0 ? 150 : t.timeout;
|
|
13433
|
-
e === "alert" ? (ie.removeAttribute("aria-live"), ie.removeAttribute("role"), yt = Be.debounce(yt,
|
|
13438
|
+
e === "alert" ? (ie.removeAttribute("aria-live"), ie.removeAttribute("role"), yt = Be.debounce(yt, id, () => {
|
|
13434
13439
|
ie.setAttribute("role", "alert");
|
|
13435
13440
|
})) : (yt && yt.cancel(), ie.removeAttribute("role"), ie.setAttribute("aria-live", e)), ie.textContent = "", setTimeout(() => {
|
|
13436
13441
|
ie.textContent = o;
|
|
@@ -13441,7 +13446,7 @@ function pc(o, t = {}) {
|
|
|
13441
13446
|
* Copyright (c) 2022 - 2024 Vaadin Ltd.
|
|
13442
13447
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13443
13448
|
*/
|
|
13444
|
-
class
|
|
13449
|
+
class Ji extends Te {
|
|
13445
13450
|
constructor(t, e, i, s = {}) {
|
|
13446
13451
|
super(t, e, i, Lt(zt({}, s), { useUniqueId: !0 }));
|
|
13447
13452
|
}
|
|
@@ -13556,7 +13561,7 @@ class Gi extends Te {
|
|
|
13556
13561
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13557
13562
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13558
13563
|
*/
|
|
13559
|
-
class
|
|
13564
|
+
class mc extends Ji {
|
|
13560
13565
|
constructor(t) {
|
|
13561
13566
|
super(t, "error-message", "div");
|
|
13562
13567
|
}
|
|
@@ -13630,7 +13635,7 @@ class fc extends Gi {
|
|
|
13630
13635
|
*/
|
|
13631
13636
|
updateDefaultNode(t) {
|
|
13632
13637
|
const { errorMessage: e, invalid: i } = this, s = !!(i && e && e.trim() !== "");
|
|
13633
|
-
t && (t.textContent = s ? e : "", t.hidden = !s, s &&
|
|
13638
|
+
t && (t.textContent = s ? e : "", t.hidden = !s, s && fc(e, { mode: "assertive" })), super.updateDefaultNode(t);
|
|
13634
13639
|
}
|
|
13635
13640
|
}
|
|
13636
13641
|
/**
|
|
@@ -13638,7 +13643,7 @@ class fc extends Gi {
|
|
|
13638
13643
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13639
13644
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13640
13645
|
*/
|
|
13641
|
-
class
|
|
13646
|
+
class _c extends Ji {
|
|
13642
13647
|
constructor(t) {
|
|
13643
13648
|
super(t, "helper", null);
|
|
13644
13649
|
}
|
|
@@ -13693,7 +13698,7 @@ class mc extends Gi {
|
|
|
13693
13698
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13694
13699
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13695
13700
|
*/
|
|
13696
|
-
class
|
|
13701
|
+
class gc extends Ji {
|
|
13697
13702
|
constructor(t) {
|
|
13698
13703
|
super(t, "label", "label");
|
|
13699
13704
|
}
|
|
@@ -13746,7 +13751,7 @@ class _c extends Gi {
|
|
|
13746
13751
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13747
13752
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13748
13753
|
*/
|
|
13749
|
-
const
|
|
13754
|
+
const yc = U(
|
|
13750
13755
|
(o) => class extends je(o) {
|
|
13751
13756
|
static get properties() {
|
|
13752
13757
|
return {
|
|
@@ -13761,7 +13766,7 @@ const gc = U(
|
|
|
13761
13766
|
};
|
|
13762
13767
|
}
|
|
13763
13768
|
constructor() {
|
|
13764
|
-
super(), this._labelController = new
|
|
13769
|
+
super(), this._labelController = new gc(this), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
13765
13770
|
this.toggleAttribute("has-label", e.detail.hasContent);
|
|
13766
13771
|
});
|
|
13767
13772
|
}
|
|
@@ -13789,7 +13794,7 @@ const gc = U(
|
|
|
13789
13794
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13790
13795
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13791
13796
|
*/
|
|
13792
|
-
const
|
|
13797
|
+
const Ar = U(
|
|
13793
13798
|
(o) => class extends o {
|
|
13794
13799
|
static get properties() {
|
|
13795
13800
|
return {
|
|
@@ -13861,7 +13866,7 @@ const Cr = U(
|
|
|
13861
13866
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13862
13867
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13863
13868
|
*/
|
|
13864
|
-
const
|
|
13869
|
+
const vc = (o) => class extends Ar(yc(je(o))) {
|
|
13865
13870
|
static get properties() {
|
|
13866
13871
|
return {
|
|
13867
13872
|
/**
|
|
@@ -13911,7 +13916,7 @@ const yc = (o) => class extends Cr(gc(je(o))) {
|
|
|
13911
13916
|
return ["_invalidChanged(invalid)", "_requiredChanged(required)"];
|
|
13912
13917
|
}
|
|
13913
13918
|
constructor() {
|
|
13914
|
-
super(), this._fieldAriaController = new
|
|
13919
|
+
super(), this._fieldAriaController = new pc(this), this._helperController = new _c(this), this._errorController = new mc(this), this._errorController.addEventListener("slot-content-changed", (e) => {
|
|
13915
13920
|
this.toggleAttribute("has-error-message", e.detail.hasContent);
|
|
13916
13921
|
}), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
13917
13922
|
const { hasContent: i, node: s } = e.detail;
|
|
@@ -14002,7 +14007,7 @@ const yc = (o) => class extends Cr(gc(je(o))) {
|
|
|
14002
14007
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14003
14008
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14004
14009
|
*/
|
|
14005
|
-
const
|
|
14010
|
+
const bc = U(
|
|
14006
14011
|
(o) => class extends o {
|
|
14007
14012
|
static get properties() {
|
|
14008
14013
|
return {
|
|
@@ -14083,8 +14088,8 @@ const vc = U(
|
|
|
14083
14088
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14084
14089
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14085
14090
|
*/
|
|
14086
|
-
const
|
|
14087
|
-
(o) => class extends
|
|
14091
|
+
const Tr = U(
|
|
14092
|
+
(o) => class extends bc(Ar(wr(o))) {
|
|
14088
14093
|
/**
|
|
14089
14094
|
* An array of attributes which participate in the input validation.
|
|
14090
14095
|
* Changing these attributes will cause the input to re-validate.
|
|
@@ -14168,8 +14173,8 @@ const Ar = U(
|
|
|
14168
14173
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14169
14174
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14170
14175
|
*/
|
|
14171
|
-
const
|
|
14172
|
-
|
|
14176
|
+
const wc = (o) => class extends dc(
|
|
14177
|
+
br(Tr(vc(cc(Ft(o)))))
|
|
14173
14178
|
) {
|
|
14174
14179
|
static get properties() {
|
|
14175
14180
|
return {
|
|
@@ -14355,7 +14360,7 @@ const bc = (o) => class extends lc(
|
|
|
14355
14360
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14356
14361
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14357
14362
|
*/
|
|
14358
|
-
class
|
|
14363
|
+
class xc extends Te {
|
|
14359
14364
|
constructor(t, e, i = {}) {
|
|
14360
14365
|
const { uniqueIdPrefix: s } = i;
|
|
14361
14366
|
super(t, "input", "input", {
|
|
@@ -14372,7 +14377,7 @@ class wc extends Te {
|
|
|
14372
14377
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14373
14378
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14374
14379
|
*/
|
|
14375
|
-
class
|
|
14380
|
+
class Cc {
|
|
14376
14381
|
constructor(t, e) {
|
|
14377
14382
|
this.input = t, this.__preventDuplicateLabelClick = this.__preventDuplicateLabelClick.bind(this), e.addEventListener("slot-content-changed", (i) => {
|
|
14378
14383
|
this.__initLabel(i.detail.node);
|
|
@@ -14405,7 +14410,7 @@ class xc {
|
|
|
14405
14410
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14406
14411
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14407
14412
|
*/
|
|
14408
|
-
const
|
|
14413
|
+
const Ac = P`
|
|
14409
14414
|
[part='clear-button'] {
|
|
14410
14415
|
display: none;
|
|
14411
14416
|
cursor: default;
|
|
@@ -14424,7 +14429,7 @@ const Cc = P`
|
|
|
14424
14429
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14425
14430
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14426
14431
|
*/
|
|
14427
|
-
const
|
|
14432
|
+
const Tc = P`
|
|
14428
14433
|
:host {
|
|
14429
14434
|
display: inline-flex;
|
|
14430
14435
|
outline: none;
|
|
@@ -14464,7 +14469,7 @@ const Ac = P`
|
|
|
14464
14469
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14465
14470
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14466
14471
|
*/
|
|
14467
|
-
const
|
|
14472
|
+
const Dc = P`
|
|
14468
14473
|
[class$='container'] {
|
|
14469
14474
|
display: flex;
|
|
14470
14475
|
flex-direction: column;
|
|
@@ -14478,13 +14483,13 @@ const Tc = P`
|
|
|
14478
14483
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14479
14484
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14480
14485
|
*/
|
|
14481
|
-
const
|
|
14486
|
+
const Ec = [Tc, Dc, Ac];
|
|
14482
14487
|
/**
|
|
14483
14488
|
* @license
|
|
14484
14489
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
14485
14490
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14486
14491
|
*/
|
|
14487
|
-
const
|
|
14492
|
+
const kc = (o) => class extends o {
|
|
14488
14493
|
static get properties() {
|
|
14489
14494
|
return {
|
|
14490
14495
|
/**
|
|
@@ -14531,7 +14536,7 @@ const Ec = (o) => class extends o {
|
|
|
14531
14536
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14532
14537
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14533
14538
|
*/
|
|
14534
|
-
class
|
|
14539
|
+
class Sc {
|
|
14535
14540
|
/**
|
|
14536
14541
|
* @param {{ inputElement?: HTMLElement; opened: boolean } & HTMLElement} host
|
|
14537
14542
|
*/
|
|
@@ -14550,8 +14555,8 @@ class kc {
|
|
|
14550
14555
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
14551
14556
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14552
14557
|
*/
|
|
14553
|
-
const
|
|
14554
|
-
je(
|
|
14558
|
+
const Pc = (o) => class extends kc(
|
|
14559
|
+
je(br(Tr(Ft(o))))
|
|
14555
14560
|
) {
|
|
14556
14561
|
static get properties() {
|
|
14557
14562
|
return {
|
|
@@ -14756,7 +14761,7 @@ const Sc = (o) => class extends Ec(
|
|
|
14756
14761
|
if (i.length === 3) {
|
|
14757
14762
|
if (n = parseInt(i[0]) - 1, r = parseInt(i[1]), a = parseInt(i[2]), i[2].length < 3 && a >= 0) {
|
|
14758
14763
|
const l = this.referenceDate ? Je(this.referenceDate) : /* @__PURE__ */ new Date();
|
|
14759
|
-
a =
|
|
14764
|
+
a = Pd(l, a, n, r);
|
|
14760
14765
|
}
|
|
14761
14766
|
} else
|
|
14762
14767
|
i.length === 2 ? (n = parseInt(i[0]) - 1, r = parseInt(i[1])) : i.length === 1 && (r = parseInt(i[0]));
|
|
@@ -14830,7 +14835,7 @@ const Sc = (o) => class extends Ec(
|
|
|
14830
14835
|
/** @private */
|
|
14831
14836
|
_ios: {
|
|
14832
14837
|
type: Boolean,
|
|
14833
|
-
value:
|
|
14838
|
+
value: Xs
|
|
14834
14839
|
},
|
|
14835
14840
|
/** @private */
|
|
14836
14841
|
_focusOverlayOnOpen: Boolean,
|
|
@@ -14930,10 +14935,10 @@ const Sc = (o) => class extends Ec(
|
|
|
14930
14935
|
/** @protected */
|
|
14931
14936
|
ready() {
|
|
14932
14937
|
super.ready(), this.addEventListener("click", this._boundOnClick), this.addController(
|
|
14933
|
-
new
|
|
14938
|
+
new vr(this._fullscreenMediaQuery, (i) => {
|
|
14934
14939
|
this._fullscreen = i;
|
|
14935
14940
|
})
|
|
14936
|
-
), this.addController(new
|
|
14941
|
+
), this.addController(new Sc(this));
|
|
14937
14942
|
const e = this.$.overlay;
|
|
14938
14943
|
this._overlayElement = e, e.renderer = this._boundOverlayRenderer, this.addEventListener("mousedown", () => this.__bringToFront()), this.addEventListener("touchstart", () => this.__bringToFront());
|
|
14939
14944
|
}
|
|
@@ -14989,7 +14994,7 @@ const Sc = (o) => class extends Ec(
|
|
|
14989
14994
|
*/
|
|
14990
14995
|
__formatDate(e) {
|
|
14991
14996
|
if (this.i18n.formatDate)
|
|
14992
|
-
return this.i18n.formatDate(
|
|
14997
|
+
return this.i18n.formatDate(Yi(e));
|
|
14993
14998
|
}
|
|
14994
14999
|
/**
|
|
14995
15000
|
* Returns true if the current input value satisfies all constraints (if any)
|
|
@@ -15091,7 +15096,7 @@ const Sc = (o) => class extends Ec(
|
|
|
15091
15096
|
}
|
|
15092
15097
|
/** @private */
|
|
15093
15098
|
_formatISO(e) {
|
|
15094
|
-
return
|
|
15099
|
+
return Md(e);
|
|
15095
15100
|
}
|
|
15096
15101
|
/** @protected */
|
|
15097
15102
|
_inputElementChanged(e) {
|
|
@@ -15157,12 +15162,12 @@ const Sc = (o) => class extends Ec(
|
|
|
15157
15162
|
const r = this._nativeInput;
|
|
15158
15163
|
this._noInput && r && (r.blur(), this._overlayContent.focusDateElement());
|
|
15159
15164
|
const n = this._noInput ? e : [r, e];
|
|
15160
|
-
this.__showOthers =
|
|
15165
|
+
this.__showOthers = Zs(n);
|
|
15161
15166
|
}
|
|
15162
15167
|
/** @private */
|
|
15163
15168
|
_getInitialPosition() {
|
|
15164
15169
|
const e = Je(this.initialPosition), i = this._selectedDate || this._overlayContent.initialPosition || e || /* @__PURE__ */ new Date();
|
|
15165
|
-
return e || Ve(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ?
|
|
15170
|
+
return e || Ve(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ? hr(i, [this._minDate, this._maxDate]) : /* @__PURE__ */ new Date();
|
|
15166
15171
|
}
|
|
15167
15172
|
/**
|
|
15168
15173
|
* Tries to parse the input element's value as a date. If the input value
|
|
@@ -15323,7 +15328,7 @@ const Sc = (o) => class extends Ec(
|
|
|
15323
15328
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15324
15329
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15325
15330
|
*/
|
|
15326
|
-
const
|
|
15331
|
+
const Oc = P`
|
|
15327
15332
|
:host([opened]) {
|
|
15328
15333
|
pointer-events: auto;
|
|
15329
15334
|
}
|
|
@@ -15342,8 +15347,8 @@ const Pc = P`
|
|
|
15342
15347
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15343
15348
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15344
15349
|
*/
|
|
15345
|
-
H("vaadin-date-picker", [
|
|
15346
|
-
class
|
|
15350
|
+
H("vaadin-date-picker", [Ec, Oc], { moduleId: "vaadin-date-picker-styles" });
|
|
15351
|
+
class Mc extends Pc(wc(Se(or(be)))) {
|
|
15347
15352
|
static get is() {
|
|
15348
15353
|
return "vaadin-date-picker";
|
|
15349
15354
|
}
|
|
@@ -15403,7 +15408,7 @@ class Oc extends Sc(bc(Se(ir(be)))) {
|
|
|
15403
15408
|
/** @protected */
|
|
15404
15409
|
ready() {
|
|
15405
15410
|
super.ready(), this.addController(
|
|
15406
|
-
new
|
|
15411
|
+
new xc(
|
|
15407
15412
|
this,
|
|
15408
15413
|
(e) => {
|
|
15409
15414
|
this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
|
|
@@ -15415,7 +15420,7 @@ class Oc extends Sc(bc(Se(ir(be)))) {
|
|
|
15415
15420
|
uniqueIdPrefix: "search-input"
|
|
15416
15421
|
}
|
|
15417
15422
|
)
|
|
15418
|
-
), this.addController(new
|
|
15423
|
+
), this.addController(new Cc(this.inputElement, this._labelController)), this._tooltipController = new rr(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));
|
|
15419
15424
|
}
|
|
15420
15425
|
/** @private */
|
|
15421
15426
|
_onVaadinOverlayClose(t) {
|
|
@@ -15431,7 +15436,7 @@ class Oc extends Sc(bc(Se(ir(be)))) {
|
|
|
15431
15436
|
super._openedChanged(t), this.$.overlay.positionTarget = this.shadowRoot.querySelector('[part="input-field"]'), this.$.overlay.noVerticalOverlap = !0;
|
|
15432
15437
|
}
|
|
15433
15438
|
}
|
|
15434
|
-
le(
|
|
15439
|
+
le(Mc);
|
|
15435
15440
|
if (typeof window != "undefined") {
|
|
15436
15441
|
let o = function(t) {
|
|
15437
15442
|
return function(...e) {
|
|
@@ -15444,7 +15449,7 @@ if (typeof window != "undefined") {
|
|
|
15444
15449
|
}
|
|
15445
15450
|
};
|
|
15446
15451
|
};
|
|
15447
|
-
customElements.define = o(customElements.define), import("./PlayerAccountGeneralConfirmationModal-
|
|
15452
|
+
customElements.define = o(customElements.define), import("./PlayerAccountGeneralConfirmationModal-Bnh1XDOd.js").then((t) => t.P).then(
|
|
15448
15453
|
({ default: t }) => {
|
|
15449
15454
|
!customElements.get("player-account-general-confirmation-modal") && customElements.define(
|
|
15450
15455
|
"player-account-general-confirmation-modal",
|
|
@@ -15453,11 +15458,11 @@ if (typeof window != "undefined") {
|
|
|
15453
15458
|
}
|
|
15454
15459
|
);
|
|
15455
15460
|
}
|
|
15456
|
-
var
|
|
15461
|
+
var Dr = { exports: {} };
|
|
15457
15462
|
(function(o, t) {
|
|
15458
15463
|
(function(e, i) {
|
|
15459
15464
|
o.exports = i();
|
|
15460
|
-
})(
|
|
15465
|
+
})(Mr, function() {
|
|
15461
15466
|
var e = 1e3, i = 6e4, s = 36e5, r = "millisecond", n = "second", a = "minute", l = "hour", d = "day", c = "week", u = "month", h = "quarter", p = "year", y = "date", D = "Invalid Date", E = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, T = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, k = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(v) {
|
|
15462
15467
|
var _ = ["th", "st", "nd", "rd"], g = v % 100;
|
|
15463
15468
|
return "[" + v + (_[(g - 20) % 10] || _[g] || _[0]) + "]";
|
|
@@ -15742,16 +15747,16 @@ var Tr = { exports: {} };
|
|
|
15742
15747
|
return $(1e3 * v);
|
|
15743
15748
|
}, $.en = q[F], $.Ls = q, $.p = {}, $;
|
|
15744
15749
|
});
|
|
15745
|
-
})(
|
|
15746
|
-
var
|
|
15747
|
-
const
|
|
15748
|
-
function
|
|
15749
|
-
|
|
15750
|
+
})(Dr);
|
|
15751
|
+
var Ic = Dr.exports;
|
|
15752
|
+
const Yo = /* @__PURE__ */ Ir(Ic);
|
|
15753
|
+
function Wo(o, t) {
|
|
15754
|
+
Nr(o, t);
|
|
15750
15755
|
}
|
|
15751
|
-
function
|
|
15752
|
-
|
|
15756
|
+
function Nc(o) {
|
|
15757
|
+
Fr.set(o);
|
|
15753
15758
|
}
|
|
15754
|
-
const
|
|
15759
|
+
const qo = {
|
|
15755
15760
|
en: {
|
|
15756
15761
|
titleTimeout: "Timeout",
|
|
15757
15762
|
timeoutTextFirst: "{operatorname} provides you an easy way to take a break from the games. You can request automatic blocking of your account for 24 hours. During the temporary restraint, you will not be able to access your Account.",
|
|
@@ -15962,14 +15967,14 @@ const Wo = {
|
|
|
15962
15967
|
confirmationModalTextUntil: "{date} tarihine kadar kendinizi soğutmak istediğinizden emin misiniz?"
|
|
15963
15968
|
}
|
|
15964
15969
|
};
|
|
15965
|
-
function
|
|
15966
|
-
|
|
15970
|
+
function Fc(o) {
|
|
15971
|
+
Hr(o, "svelte-n7bluu", `.TimeoutWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.TimeoutWrapper.TimeoutWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.TimeoutTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-weight:400}.TimeoutTitleMobile{font-size:16px}.TimeoutTitleNone{display:none}.TimeoutDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.TimeoutDescription.TimeoutDescriptionMobile{font-size:12px;line-height:18px}.TimeoutSelectWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;position:relative}.TimeoutSelectWrapper .TimeoutSelect{width:50%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF);border-radius:5px;box-sizing:border-box;padding:5px 10px;font-size:16px;line-height:18px;margin-bottom:16px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.TimeoutSelectWrapper .TimeoutSelect:focus,.TimeoutSelectWrapper .TimeoutSelect :focus-within,.TimeoutSelectWrapper .TimeoutSelect :focus-visible,.TimeoutSelectWrapper .TimeoutSelect :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.TimeoutSelectWrapper .TimeoutSelect.TimeoutSelectMobile{width:100%;height:36px;font-size:12px}.TimeoutDateWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.TimeoutDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.TimeoutDateWrapper .TimeoutDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.TimeoutActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.TimeoutActionButtons .TimeoutSave{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.TimeoutActionButtons.TimeoutActionButtonsMobile{width:100%;grid-template-columns:1fr}.TimeoutActionButtons.TimeoutActionButtonsMobile .TimeoutSave{height:40px;font-size:12px}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}`);
|
|
15967
15972
|
}
|
|
15968
|
-
function
|
|
15973
|
+
function Ko(o, t, e) {
|
|
15969
15974
|
const i = o.slice();
|
|
15970
15975
|
return i[38] = t[e].value, i;
|
|
15971
15976
|
}
|
|
15972
|
-
function
|
|
15977
|
+
function zc(o) {
|
|
15973
15978
|
let t, e, i, s = (
|
|
15974
15979
|
/*$_*/
|
|
15975
15980
|
o[16]("titleTimeout") + ""
|
|
@@ -15994,30 +15999,30 @@ function Fc(o) {
|
|
|
15994
15999
|
o[16]("save") + ""
|
|
15995
16000
|
), re, X, te, $, S, K = (
|
|
15996
16001
|
/*isMobile*/
|
|
15997
|
-
o[17] &&
|
|
16002
|
+
o[17] && $c(o)
|
|
15998
16003
|
), ee = eo(
|
|
15999
16004
|
/*timeoutOptions*/
|
|
16000
16005
|
o[8]
|
|
16001
16006
|
), v = [];
|
|
16002
16007
|
for (let f = 0; f < ee.length; f += 1)
|
|
16003
|
-
v[f] = Ko(
|
|
16008
|
+
v[f] = Go(Ko(o, ee, f));
|
|
16004
16009
|
let _ = (
|
|
16005
16010
|
/*isUntilDate*/
|
|
16006
|
-
o[10] &&
|
|
16011
|
+
o[10] && Jo(o)
|
|
16007
16012
|
), g = (
|
|
16008
16013
|
/*showConfirmationModal*/
|
|
16009
|
-
o[18] &&
|
|
16014
|
+
o[18] && Rc(o)
|
|
16010
16015
|
);
|
|
16011
16016
|
return {
|
|
16012
16017
|
c() {
|
|
16013
16018
|
t = M("form"), K && K.c(), e = Y(), i = M("h2"), r = pe(s), n = Y(), a = M("div"), l = M("p"), c = pe(d), u = Y(), h = M("p"), y = pe(p), D = Y(), E = M("div"), T = M("select");
|
|
16014
16019
|
for (let f = 0; f < v.length; f += 1)
|
|
16015
16020
|
v[f].c();
|
|
16016
|
-
k = Y(), _ && _.c(), z = Y(), L = M("div"), F = M("button"), re = pe(q), X = Y(), g && g.c(), te =
|
|
16021
|
+
k = Y(), _ && _.c(), z = Y(), L = M("div"), F = M("button"), re = pe(q), X = Y(), g && g.c(), te = Kr(), N(i, "class", "TimeoutTitle " + /*isMobile*/
|
|
16017
16022
|
(o[17] ? "TimeoutTitleNone" : "")), N(a, "class", "TimeoutDescription " + /*isMobile*/
|
|
16018
16023
|
(o[17] ? "TimeoutDescriptionMobile" : "")), N(T, "class", "TimeoutSelect " + /*isMobile*/
|
|
16019
16024
|
(o[17] ? "TimeoutSelectMobile" : "")), /*timeoutSelected*/
|
|
16020
|
-
o[9] === void 0 &&
|
|
16025
|
+
o[9] === void 0 && Gr(() => (
|
|
16021
16026
|
/*select_change_handler*/
|
|
16022
16027
|
o[26].call(T)
|
|
16023
16028
|
)), N(E, "class", "TimeoutSelectWrapper"), N(F, "class", "TimeoutSave"), N(L, "class", "TimeoutActionButtons " + /*isMobile*/
|
|
@@ -16025,7 +16030,7 @@ function Fc(o) {
|
|
|
16025
16030
|
(o[17] ? "TimeoutWrapperMobile" : ""));
|
|
16026
16031
|
},
|
|
16027
16032
|
m(f, m) {
|
|
16028
|
-
|
|
16033
|
+
oe(f, t, m), K && K.m(t, null), x(t, e), x(t, i), x(i, r), x(t, n), x(t, a), x(a, l), x(l, c), x(a, u), x(a, h), x(h, y), x(t, D), x(t, E), x(E, T);
|
|
16029
16034
|
for (let w = 0; w < v.length; w += 1)
|
|
16030
16035
|
v[w] && v[w].m(T, null);
|
|
16031
16036
|
to(
|
|
@@ -16033,7 +16038,7 @@ function Fc(o) {
|
|
|
16033
16038
|
/*timeoutSelected*/
|
|
16034
16039
|
o[9],
|
|
16035
16040
|
!0
|
|
16036
|
-
), x(t, k), _ && _.m(t, null), x(t, z), x(t, L), x(L, F), x(F, re),
|
|
16041
|
+
), x(t, k), _ && _.m(t, null), x(t, z), x(t, L), x(L, F), x(F, re), oe(f, X, m), g && g.m(f, m), oe(f, te, m), $ || (S = [
|
|
16037
16042
|
vt(
|
|
16038
16043
|
T,
|
|
16039
16044
|
"change",
|
|
@@ -16082,8 +16087,8 @@ function Fc(o) {
|
|
|
16082
16087
|
);
|
|
16083
16088
|
let w;
|
|
16084
16089
|
for (w = 0; w < ee.length; w += 1) {
|
|
16085
|
-
const C =
|
|
16086
|
-
v[w] ? v[w].p(C, m) : (v[w] =
|
|
16090
|
+
const C = Ko(f, ee, w);
|
|
16091
|
+
v[w] ? v[w].p(C, m) : (v[w] = Go(C), v[w].c(), v[w].m(T, null));
|
|
16087
16092
|
}
|
|
16088
16093
|
for (; w < v.length; w += 1)
|
|
16089
16094
|
v[w].d(1);
|
|
@@ -16095,22 +16100,22 @@ function Fc(o) {
|
|
|
16095
16100
|
/*timeoutSelected*/
|
|
16096
16101
|
f[9]
|
|
16097
16102
|
), /*isUntilDate*/
|
|
16098
|
-
f[10] ? _ ? _.p(f, m) : (_ =
|
|
16103
|
+
f[10] ? _ ? _.p(f, m) : (_ = Jo(f), _.c(), _.m(t, z)) : _ && (_.d(1), _ = null), m[0] & /*$_*/
|
|
16099
16104
|
65536 && q !== (q = /*$_*/
|
|
16100
16105
|
f[16]("save") + "") && ge(re, q), /*showConfirmationModal*/
|
|
16101
16106
|
f[18] && g.p(f, m);
|
|
16102
16107
|
},
|
|
16103
16108
|
d(f) {
|
|
16104
|
-
f && (
|
|
16109
|
+
f && (se(t), se(X), se(te)), K && K.d(), Jr(v, f), _ && _.d(), g && g.d(f), $ = !1, Xr(S);
|
|
16105
16110
|
}
|
|
16106
16111
|
};
|
|
16107
16112
|
}
|
|
16108
|
-
function
|
|
16113
|
+
function Lc(o) {
|
|
16109
16114
|
let t, e, i, s, r, n, a, l, d, c, u, h, p, y, D, E;
|
|
16110
16115
|
function T(L, F) {
|
|
16111
16116
|
return (
|
|
16112
16117
|
/*isMobile*/
|
|
16113
|
-
L[17] ?
|
|
16118
|
+
L[17] ? Bc : Hc
|
|
16114
16119
|
);
|
|
16115
16120
|
}
|
|
16116
16121
|
let z = T(o)(o);
|
|
@@ -16121,7 +16126,7 @@ function zc(o) {
|
|
|
16121
16126
|
"height",
|
|
16122
16127
|
/*isMobile*/
|
|
16123
16128
|
o[17] ? "15px" : "20px"
|
|
16124
|
-
), A(s, "rows", "3"), A(s, "width", "100%"),
|
|
16129
|
+
), A(s, "rows", "3"), A(s, "width", "100%"), io(
|
|
16125
16130
|
n,
|
|
16126
16131
|
"height",
|
|
16127
16132
|
/*isMobile*/
|
|
@@ -16131,7 +16136,7 @@ function zc(o) {
|
|
|
16131
16136
|
"height",
|
|
16132
16137
|
/*isMobile*/
|
|
16133
16138
|
o[17] ? "15px" : "20px"
|
|
16134
|
-
), A(l, "rows", "3"), A(l, "width", "100%"),
|
|
16139
|
+
), A(l, "rows", "3"), A(l, "width", "100%"), io(
|
|
16135
16140
|
c,
|
|
16136
16141
|
"height",
|
|
16137
16142
|
/*isMobile*/
|
|
@@ -16156,15 +16161,15 @@ function zc(o) {
|
|
|
16156
16161
|
(o[17] ? "TimeoutWrapperMobile" : ""));
|
|
16157
16162
|
},
|
|
16158
16163
|
m(L, F) {
|
|
16159
|
-
|
|
16164
|
+
oe(L, t, F), z.m(t, null), x(t, e), x(t, i), x(i, s), x(i, r), x(i, n), x(i, a), x(i, l), x(i, d), x(i, c), x(t, u), x(t, h), x(h, p), x(t, y), x(t, D), x(D, E);
|
|
16160
16165
|
},
|
|
16161
16166
|
p: ii,
|
|
16162
16167
|
d(L) {
|
|
16163
|
-
L &&
|
|
16168
|
+
L && se(t), z.d();
|
|
16164
16169
|
}
|
|
16165
16170
|
};
|
|
16166
16171
|
}
|
|
16167
|
-
function
|
|
16172
|
+
function $c(o) {
|
|
16168
16173
|
let t, e, i, s, r, n, a, l, d, c, u = (
|
|
16169
16174
|
/*$_*/
|
|
16170
16175
|
o[16]("titleTimeout") + ""
|
|
@@ -16174,7 +16179,7 @@ function Lc(o) {
|
|
|
16174
16179
|
t = M("div"), e = Me("svg"), i = Me("defs"), s = Me("style"), r = pe(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"), n = Me("g"), a = Me("g"), l = Me("path"), d = Y(), c = M("h2"), h = pe(u), N(l, "class", "aaa"), N(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), N(l, "transform", "translate(15 15) rotate(180)"), N(a, "transform", "translate(20 158)"), N(n, "transform", "translate(-20 -158)"), N(e, "xmlns", "http://www.w3.org/2000/svg"), N(e, "width", "15"), N(e, "height", "15"), N(e, "viewBox", "0 0 15 15"), N(c, "class", "TimeoutTitleMobile"), N(c, "part", "TimeoutTitleMobile"), N(t, "class", "MenuReturnButton"), N(t, "part", "MenuReturnButton");
|
|
16175
16180
|
},
|
|
16176
16181
|
m(D, E) {
|
|
16177
|
-
|
|
16182
|
+
oe(D, t, E), x(t, e), x(e, i), x(i, s), x(s, r), x(e, n), x(n, a), x(a, l), x(t, d), x(t, c), x(c, h), p || (y = vt(
|
|
16178
16183
|
t,
|
|
16179
16184
|
"click",
|
|
16180
16185
|
/*click_handler*/
|
|
@@ -16187,11 +16192,11 @@ function Lc(o) {
|
|
|
16187
16192
|
D[16]("titleTimeout") + "") && ge(h, u);
|
|
16188
16193
|
},
|
|
16189
16194
|
d(D) {
|
|
16190
|
-
D &&
|
|
16195
|
+
D && se(t), p = !1, y();
|
|
16191
16196
|
}
|
|
16192
16197
|
};
|
|
16193
16198
|
}
|
|
16194
|
-
function
|
|
16199
|
+
function Go(o) {
|
|
16195
16200
|
let t, e = (
|
|
16196
16201
|
/*$_*/
|
|
16197
16202
|
o[16](
|
|
@@ -16202,10 +16207,10 @@ function Ko(o) {
|
|
|
16202
16207
|
return {
|
|
16203
16208
|
c() {
|
|
16204
16209
|
t = M("option"), i = pe(e), t.__value = s = /*value*/
|
|
16205
|
-
o[38],
|
|
16210
|
+
o[38], oo(t, t.__value);
|
|
16206
16211
|
},
|
|
16207
16212
|
m(r, n) {
|
|
16208
|
-
|
|
16213
|
+
oe(r, t, n), x(t, i);
|
|
16209
16214
|
},
|
|
16210
16215
|
p(r, n) {
|
|
16211
16216
|
n[0] & /*$_, timeoutOptions*/
|
|
@@ -16215,14 +16220,14 @@ function Ko(o) {
|
|
|
16215
16220
|
r[38]
|
|
16216
16221
|
) + "") && ge(i, e), n[0] & /*timeoutOptions*/
|
|
16217
16222
|
256 && s !== (s = /*value*/
|
|
16218
|
-
r[38]) && (t.__value = s,
|
|
16223
|
+
r[38]) && (t.__value = s, oo(t, t.__value));
|
|
16219
16224
|
},
|
|
16220
16225
|
d(r) {
|
|
16221
|
-
r &&
|
|
16226
|
+
r && se(t);
|
|
16222
16227
|
}
|
|
16223
16228
|
};
|
|
16224
16229
|
}
|
|
16225
|
-
function
|
|
16230
|
+
function Jo(o) {
|
|
16226
16231
|
let t, e, i = (
|
|
16227
16232
|
/*$_*/
|
|
16228
16233
|
o[16]("duration") + ""
|
|
@@ -16251,7 +16256,7 @@ function Go(o) {
|
|
|
16251
16256
|
(o[17] ? "TimeoutDateWrapperMobile" : ""));
|
|
16252
16257
|
},
|
|
16253
16258
|
m(p, y) {
|
|
16254
|
-
|
|
16259
|
+
oe(p, t, y), x(t, e), x(e, s), x(t, r), x(t, n), x(n, l), x(n, d), x(n, c), x(t, u), x(t, h), o[27](h);
|
|
16255
16260
|
},
|
|
16256
16261
|
p(p, y) {
|
|
16257
16262
|
y[0] & /*$_*/
|
|
@@ -16279,11 +16284,11 @@ function Go(o) {
|
|
|
16279
16284
|
);
|
|
16280
16285
|
},
|
|
16281
16286
|
d(p) {
|
|
16282
|
-
p &&
|
|
16287
|
+
p && se(t), o[27](null);
|
|
16283
16288
|
}
|
|
16284
16289
|
};
|
|
16285
16290
|
}
|
|
16286
|
-
function
|
|
16291
|
+
function Rc(o) {
|
|
16287
16292
|
let t, e, i, s;
|
|
16288
16293
|
return {
|
|
16289
16294
|
c() {
|
|
@@ -16331,7 +16336,7 @@ function $c(o) {
|
|
|
16331
16336
|
), A(t, "showmodaleventname", "ShowTimeoutConfirmationModal");
|
|
16332
16337
|
},
|
|
16333
16338
|
m(r, n) {
|
|
16334
|
-
|
|
16339
|
+
oe(r, t, n), x(t, e);
|
|
16335
16340
|
},
|
|
16336
16341
|
p(r, n) {
|
|
16337
16342
|
n[0] & /*$_*/
|
|
@@ -16386,44 +16391,44 @@ function $c(o) {
|
|
|
16386
16391
|
);
|
|
16387
16392
|
},
|
|
16388
16393
|
d(r) {
|
|
16389
|
-
r &&
|
|
16394
|
+
r && se(t);
|
|
16390
16395
|
}
|
|
16391
16396
|
};
|
|
16392
16397
|
}
|
|
16393
|
-
function
|
|
16398
|
+
function Hc(o) {
|
|
16394
16399
|
let t;
|
|
16395
16400
|
return {
|
|
16396
16401
|
c() {
|
|
16397
16402
|
t = M("ui-skeleton"), A(t, "structure", "title"), A(t, "width", "100px"), A(t, "margin-top", "20px"), A(t, "margin-bottom", "20px");
|
|
16398
16403
|
},
|
|
16399
16404
|
m(e, i) {
|
|
16400
|
-
|
|
16405
|
+
oe(e, t, i);
|
|
16401
16406
|
},
|
|
16402
16407
|
d(e) {
|
|
16403
|
-
e &&
|
|
16408
|
+
e && se(t);
|
|
16404
16409
|
}
|
|
16405
16410
|
};
|
|
16406
16411
|
}
|
|
16407
|
-
function
|
|
16412
|
+
function Bc(o) {
|
|
16408
16413
|
let t;
|
|
16409
16414
|
return {
|
|
16410
16415
|
c() {
|
|
16411
16416
|
t = M("div"), t.innerHTML = '<ui-skeleton structure="title" width="20px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton> <ui-skeleton structure="title" width="100px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton>', N(t, "class", "MenuReturnButton");
|
|
16412
16417
|
},
|
|
16413
16418
|
m(e, i) {
|
|
16414
|
-
|
|
16419
|
+
oe(e, t, i);
|
|
16415
16420
|
},
|
|
16416
16421
|
d(e) {
|
|
16417
|
-
e &&
|
|
16422
|
+
e && se(t);
|
|
16418
16423
|
}
|
|
16419
16424
|
};
|
|
16420
16425
|
}
|
|
16421
|
-
function
|
|
16426
|
+
function Vc(o) {
|
|
16422
16427
|
let t;
|
|
16423
16428
|
function e(r, n) {
|
|
16424
16429
|
return (
|
|
16425
16430
|
/*skeletonLoading*/
|
|
16426
|
-
r[15] ?
|
|
16431
|
+
r[15] ? Lc : zc
|
|
16427
16432
|
);
|
|
16428
16433
|
}
|
|
16429
16434
|
let i = e(o), s = i(o);
|
|
@@ -16432,7 +16437,7 @@ function Bc(o) {
|
|
|
16432
16437
|
t = M("div"), s.c();
|
|
16433
16438
|
},
|
|
16434
16439
|
m(r, n) {
|
|
16435
|
-
|
|
16440
|
+
oe(r, t, n), s.m(t, null), o[29](t);
|
|
16436
16441
|
},
|
|
16437
16442
|
p(r, n) {
|
|
16438
16443
|
i === (i = e(r)) && s ? s.p(r, n) : (s.d(1), s = i(r), s && (s.c(), s.m(t, null)));
|
|
@@ -16440,14 +16445,14 @@ function Bc(o) {
|
|
|
16440
16445
|
i: ii,
|
|
16441
16446
|
o: ii,
|
|
16442
16447
|
d(r) {
|
|
16443
|
-
r &&
|
|
16448
|
+
r && se(t), s.d(), o[29](null);
|
|
16444
16449
|
}
|
|
16445
16450
|
};
|
|
16446
16451
|
}
|
|
16447
|
-
function
|
|
16452
|
+
function Uc(o, t, e) {
|
|
16448
16453
|
let i;
|
|
16449
|
-
|
|
16450
|
-
let { operator: s = "Everymatrix" } = t, { lang: r = "en" } = t, { clientstyling: n = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: l } = t, { translationurl: d = "" } = t, { supportemail: c = "" } = t, { endpoint: u = "" } = t, { hasconfirmationmodal: h = "false" } = t, p, y, D = window.navigator.userAgent, E =
|
|
16454
|
+
Br(o, Zr, (b) => e(16, i = b));
|
|
16455
|
+
let { operator: s = "Everymatrix" } = t, { lang: r = "en" } = t, { clientstyling: n = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: l } = t, { translationurl: d = "" } = t, { supportemail: c = "" } = t, { endpoint: u = "" } = t, { hasconfirmationmodal: h = "false" } = t, p, y, D = window.navigator.userAgent, E = Vr(D) !== "PC", T = [
|
|
16451
16456
|
{
|
|
16452
16457
|
value: "CoolOffFor24Hours",
|
|
16453
16458
|
dateSelector: !1
|
|
@@ -16468,14 +16473,14 @@ function Vc(o, t, e) {
|
|
|
16468
16473
|
const $ = () => {
|
|
16469
16474
|
fetch(d).then((b) => b.json()).then((b) => {
|
|
16470
16475
|
Object.keys(b).forEach((V) => {
|
|
16471
|
-
|
|
16476
|
+
Wo(V, b[V]);
|
|
16472
16477
|
});
|
|
16473
16478
|
}).catch((b) => {
|
|
16474
16479
|
console.log(b);
|
|
16475
16480
|
});
|
|
16476
16481
|
};
|
|
16477
|
-
Object.keys(
|
|
16478
|
-
|
|
16482
|
+
Object.keys(qo).forEach((b) => {
|
|
16483
|
+
Wo(b, qo[b]);
|
|
16479
16484
|
});
|
|
16480
16485
|
const S = () => {
|
|
16481
16486
|
const b = new URL("/v1/player/coolOffSettings", u), V = { method: "GET" };
|
|
@@ -16519,30 +16524,30 @@ function Vc(o, t, e) {
|
|
|
16519
16524
|
window.location.href
|
|
16520
16525
|
);
|
|
16521
16526
|
}, _ = () => {
|
|
16522
|
-
|
|
16527
|
+
Nc(r), S();
|
|
16523
16528
|
}, g = () => {
|
|
16524
16529
|
const b = T.find((V) => V.value === k);
|
|
16525
|
-
e(10, z = !1), b.dateSelector && (e(10, z = !0), e(12, F =
|
|
16530
|
+
e(10, z = !1), b.dateSelector && (e(10, z = !0), e(12, F = Yo().format("YYYY-MM-DD")), e(13, q = Yo().add(6, "months").format("YYYY-MM-DD")), e(11, L = F)), X && K();
|
|
16526
16531
|
}, f = (b) => {
|
|
16527
16532
|
e(11, L = b.target.value);
|
|
16528
16533
|
}, m = () => {
|
|
16529
16534
|
y.addEventListener("change", f, !1);
|
|
16530
16535
|
};
|
|
16531
|
-
|
|
16536
|
+
Ur(() => () => {
|
|
16532
16537
|
y.removeEventListener("change", f);
|
|
16533
16538
|
});
|
|
16534
16539
|
const w = () => v();
|
|
16535
16540
|
function C() {
|
|
16536
|
-
k =
|
|
16541
|
+
k = Wr(this), e(9, k), e(8, T);
|
|
16537
16542
|
}
|
|
16538
16543
|
function I(b) {
|
|
16539
|
-
|
|
16544
|
+
Qi[b ? "unshift" : "push"](() => {
|
|
16540
16545
|
y = b, e(7, y);
|
|
16541
16546
|
});
|
|
16542
16547
|
}
|
|
16543
16548
|
const R = (b) => ee(b);
|
|
16544
16549
|
function B(b) {
|
|
16545
|
-
|
|
16550
|
+
Qi[b ? "unshift" : "push"](() => {
|
|
16546
16551
|
p = b, e(6, p);
|
|
16547
16552
|
});
|
|
16548
16553
|
}
|
|
@@ -16552,9 +16557,9 @@ function Vc(o, t, e) {
|
|
|
16552
16557
|
o.$$.dirty[0] & /*calendar*/
|
|
16553
16558
|
128 && y && m(), o.$$.dirty[0] & /*lang*/
|
|
16554
16559
|
2 && r && _(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
16555
|
-
68 && n && p &&
|
|
16556
|
-
72 && a && p &&
|
|
16557
|
-
80 && l && p &&
|
|
16560
|
+
68 && n && p && qr(p, n), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
16561
|
+
72 && a && p && jr(p, a), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
16562
|
+
80 && l && p && Yr(p, `${l}.Style`), o.$$.dirty[0] & /*translationurl*/
|
|
16558
16563
|
4194304 && d && $();
|
|
16559
16564
|
}, X && K(), [
|
|
16560
16565
|
s,
|
|
@@ -16589,14 +16594,14 @@ function Vc(o, t, e) {
|
|
|
16589
16594
|
B
|
|
16590
16595
|
];
|
|
16591
16596
|
}
|
|
16592
|
-
class
|
|
16597
|
+
class jc extends zr {
|
|
16593
16598
|
constructor(t) {
|
|
16594
|
-
super(),
|
|
16599
|
+
super(), Lr(
|
|
16595
16600
|
this,
|
|
16596
16601
|
t,
|
|
16602
|
+
Uc,
|
|
16597
16603
|
Vc,
|
|
16598
|
-
|
|
16599
|
-
Lr,
|
|
16604
|
+
Rr,
|
|
16600
16605
|
{
|
|
16601
16606
|
operator: 0,
|
|
16602
16607
|
lang: 1,
|
|
@@ -16608,7 +16613,7 @@ class Uc extends Fr {
|
|
|
16608
16613
|
endpoint: 23,
|
|
16609
16614
|
hasconfirmationmodal: 24
|
|
16610
16615
|
},
|
|
16611
|
-
|
|
16616
|
+
Fc,
|
|
16612
16617
|
[-1, -1]
|
|
16613
16618
|
);
|
|
16614
16619
|
}
|
|
@@ -16667,7 +16672,7 @@ class Uc extends Fr {
|
|
|
16667
16672
|
this.$$set({ hasconfirmationmodal: t }), ce();
|
|
16668
16673
|
}
|
|
16669
16674
|
}
|
|
16670
|
-
$r(
|
|
16675
|
+
$r(jc, { operator: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, supportemail: {}, endpoint: {}, hasconfirmationmodal: {} }, [], [], !0);
|
|
16671
16676
|
export {
|
|
16672
|
-
|
|
16677
|
+
jc as default
|
|
16673
16678
|
};
|