@everymatrix/player-account-timeout 1.57.0 → 1.58.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-DoeReNtd.js → PlayerAccountGeneralConfirmationModal-BJlFEgEt.js} +599 -621
- package/components/{PlayerAccountGeneralConfirmationModal-Bnh1XDOd.js → PlayerAccountGeneralConfirmationModal-Bw8OUJ0O.js} +560 -582
- package/components/PlayerAccountGeneralConfirmationModal-jvS4uZK0.cjs +18 -0
- package/components/{PlayerAccountTimeout-Cf59Bjwj.cjs → PlayerAccountTimeout-BrEWXYC6.cjs} +153 -153
- package/components/{PlayerAccountTimeout-CNH_sF9k.js → PlayerAccountTimeout-CD3CVuTq.js} +777 -782
- package/components/{PlayerAccountTimeout-B6u6MiWX.js → PlayerAccountTimeout-CumYINDT.js} +762 -767
- 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-BxaX26xW.js +516 -0
- package/stencil/index-ae04a8b1-D7qYBP-T.js +532 -0
- package/stencil/index-ae04a8b1-Dk7mk6oB.cjs +1 -0
- package/stencil/{ui-skeleton-C5gPr5Xv.js → ui-skeleton-DFpfaKvi.js} +2 -2
- package/stencil/{ui-skeleton-C1buDKbo.cjs → ui-skeleton-IHMCRYEX.cjs} +1 -1
- package/stencil/{ui-skeleton-M7HNQCk1.js → ui-skeleton-UUT_AJxa.js} +2 -2
- package/stencil/{ui-skeleton-a642cced-DO34s50a.cjs → ui-skeleton-a642cced-5nW6b8_l.cjs} +1 -1
- package/stencil/{ui-skeleton-a642cced-BFJMszWG.js → ui-skeleton-a642cced-BNXFvvk_.js} +1 -1
- package/stencil/{ui-skeleton-a642cced-p8tGooXk.js → ui-skeleton-a642cced-DdY2eEM0.js} +1 -1
- package/components/PlayerAccountGeneralConfirmationModal-BOJYp5ik.cjs +0 -18
- package/stencil/index-ae04a8b1-DPYODDdm.cjs +0 -1
- package/stencil/index-ae04a8b1-DRAR7dln.js +0 -532
- package/stencil/index-ae04a8b1-eSktas_K.js +0 -516
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import "../stencil/ui-skeleton-
|
|
1
|
+
import { c as hr, g as pr, a as fr, $ as mr, b as _r, S as gr, i as yr, s as vr, f as ce, d as br, n as Gt, e as oe, h as se, j as M, k as wr, l as xr, o as Cr, m as Ar, p as ji, q as x, r as Y, t as A, u as Yi, v as N, w as Wi, x as Tr, y as Dr, z as ge, A as qi, B as _t, C as pe, D as Er, E as kr, F as Oe, G as Ki, H as Sr, I as Pr, J as Or, K as Mr } from "./PlayerAccountGeneralConfirmationModal-BJlFEgEt.js";
|
|
2
|
+
import "../stencil/ui-skeleton-DFpfaKvi.js";
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
5
5
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6
6
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7
7
|
*/
|
|
8
|
-
function le(o, t = "24.5.
|
|
8
|
+
function le(o, t = "24.5.11") {
|
|
9
9
|
Object.defineProperty(o, "version", {
|
|
10
10
|
get() {
|
|
11
11
|
return t;
|
|
@@ -26,18 +26,18 @@ function le(o, t = "24.5.10") {
|
|
|
26
26
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
27
27
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
28
28
|
*/
|
|
29
|
-
class
|
|
29
|
+
class Ir extends HTMLElement {
|
|
30
30
|
static get is() {
|
|
31
31
|
return "vaadin-lumo-styles";
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
-
le(
|
|
34
|
+
le(Ir);
|
|
35
35
|
/**
|
|
36
36
|
* @license
|
|
37
37
|
* Copyright 2019 Google LLC
|
|
38
38
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
39
39
|
*/
|
|
40
|
-
const gt = globalThis, vi = gt.ShadowRoot && (gt.ShadyCSS === void 0 || gt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, bi = Symbol(),
|
|
40
|
+
const gt = globalThis, vi = gt.ShadowRoot && (gt.ShadyCSS === void 0 || gt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, bi = Symbol(), Gi = /* @__PURE__ */ new WeakMap();
|
|
41
41
|
let wi = class {
|
|
42
42
|
constructor(t, e, i) {
|
|
43
43
|
if (this._$cssResult$ = !0, i !== bi)
|
|
@@ -49,7 +49,7 @@ let wi = class {
|
|
|
49
49
|
const e = this.t;
|
|
50
50
|
if (vi && t === void 0) {
|
|
51
51
|
const i = e !== void 0 && e.length === 1;
|
|
52
|
-
i && (t =
|
|
52
|
+
i && (t = Gi.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && Gi.set(e, t));
|
|
53
53
|
}
|
|
54
54
|
return t;
|
|
55
55
|
}
|
|
@@ -57,7 +57,7 @@ let wi = class {
|
|
|
57
57
|
return this.cssText;
|
|
58
58
|
}
|
|
59
59
|
};
|
|
60
|
-
const
|
|
60
|
+
const Nr = (o) => new wi(typeof o == "string" ? o : o + "", void 0, bi), P = (o, ...t) => {
|
|
61
61
|
const e = o.length === 1 ? o[0] : t.reduce((i, s, r) => i + ((n) => {
|
|
62
62
|
if (n._$cssResult$ === !0)
|
|
63
63
|
return n.cssText;
|
|
@@ -66,7 +66,7 @@ const Fr = (o) => new wi(typeof o == "string" ? o : o + "", void 0, bi), P = (o,
|
|
|
66
66
|
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.");
|
|
67
67
|
})(s) + o[r + 1], o[0]);
|
|
68
68
|
return new wi(e, o, bi);
|
|
69
|
-
},
|
|
69
|
+
}, Vo = (o, t) => {
|
|
70
70
|
if (vi)
|
|
71
71
|
o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
72
72
|
else
|
|
@@ -74,21 +74,21 @@ const Fr = (o) => new wi(typeof o == "string" ? o : o + "", void 0, bi), P = (o,
|
|
|
74
74
|
const i = document.createElement("style"), s = gt.litNonce;
|
|
75
75
|
s !== void 0 && i.setAttribute("nonce", s), i.textContent = e.cssText, o.appendChild(i);
|
|
76
76
|
}
|
|
77
|
-
},
|
|
77
|
+
}, Ji = vi ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
|
|
78
78
|
let e = "";
|
|
79
79
|
for (const i of t.cssRules)
|
|
80
80
|
e += i.cssText;
|
|
81
|
-
return
|
|
81
|
+
return Nr(e);
|
|
82
82
|
})(o) : o;
|
|
83
83
|
/**
|
|
84
84
|
* @license
|
|
85
85
|
* Copyright 2017 Google LLC
|
|
86
86
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
87
87
|
*/
|
|
88
|
-
const { is:
|
|
88
|
+
const { is: Fr, defineProperty: zr, getOwnPropertyDescriptor: Lr, getOwnPropertyNames: $r, getOwnPropertySymbols: Rr, getPrototypeOf: Hr } = Object, Et = globalThis, Xi = Et.trustedTypes, Br = Xi ? Xi.emptyScript : "", Vr = Et.reactiveElementPolyfillSupport, Ze = (o, t) => o, Jt = { toAttribute(o, t) {
|
|
89
89
|
switch (t) {
|
|
90
90
|
case Boolean:
|
|
91
|
-
o = o ?
|
|
91
|
+
o = o ? Br : null;
|
|
92
92
|
break;
|
|
93
93
|
case Object:
|
|
94
94
|
case Array:
|
|
@@ -113,7 +113,7 @@ const { is: zr, defineProperty: Lr, getOwnPropertyDescriptor: $r, getOwnProperty
|
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
return e;
|
|
116
|
-
} },
|
|
116
|
+
} }, Uo = (o, t) => !Fr(o, t), Zi = { attribute: !0, type: String, converter: Jt, reflect: !1, hasChanged: Uo };
|
|
117
117
|
Symbol.metadata ??= Symbol("metadata"), Et.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
|
|
118
118
|
class Ie extends HTMLElement {
|
|
119
119
|
static addInitializer(t) {
|
|
@@ -122,14 +122,14 @@ class Ie extends HTMLElement {
|
|
|
122
122
|
static get observedAttributes() {
|
|
123
123
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
124
124
|
}
|
|
125
|
-
static createProperty(t, e =
|
|
125
|
+
static createProperty(t, e = Zi) {
|
|
126
126
|
if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
127
127
|
const i = Symbol(), s = this.getPropertyDescriptor(t, i, e);
|
|
128
|
-
s !== void 0 &&
|
|
128
|
+
s !== void 0 && zr(this.prototype, t, s);
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
static getPropertyDescriptor(t, e, i) {
|
|
132
|
-
const { get: s, set: r } =
|
|
132
|
+
const { get: s, set: r } = Lr(this.prototype, t) ?? { get() {
|
|
133
133
|
return this[e];
|
|
134
134
|
}, set(n) {
|
|
135
135
|
this[e] = n;
|
|
@@ -142,19 +142,19 @@ class Ie extends HTMLElement {
|
|
|
142
142
|
}, configurable: !0, enumerable: !0 };
|
|
143
143
|
}
|
|
144
144
|
static getPropertyOptions(t) {
|
|
145
|
-
return this.elementProperties.get(t) ??
|
|
145
|
+
return this.elementProperties.get(t) ?? Zi;
|
|
146
146
|
}
|
|
147
147
|
static _$Ei() {
|
|
148
148
|
if (this.hasOwnProperty(Ze("elementProperties")))
|
|
149
149
|
return;
|
|
150
|
-
const t =
|
|
150
|
+
const t = Hr(this);
|
|
151
151
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
152
152
|
}
|
|
153
153
|
static finalize() {
|
|
154
154
|
if (this.hasOwnProperty(Ze("finalized")))
|
|
155
155
|
return;
|
|
156
156
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(Ze("properties"))) {
|
|
157
|
-
const e = this.properties, i = [
|
|
157
|
+
const e = this.properties, i = [...$r(e), ...Rr(e)];
|
|
158
158
|
for (const s of i)
|
|
159
159
|
this.createProperty(s, e[s]);
|
|
160
160
|
}
|
|
@@ -177,9 +177,9 @@ class Ie extends HTMLElement {
|
|
|
177
177
|
if (Array.isArray(t)) {
|
|
178
178
|
const i = new Set(t.flat(1 / 0).reverse());
|
|
179
179
|
for (const s of i)
|
|
180
|
-
e.unshift(
|
|
180
|
+
e.unshift(Ji(s));
|
|
181
181
|
} else
|
|
182
|
-
t !== void 0 && e.push(
|
|
182
|
+
t !== void 0 && e.push(Ji(t));
|
|
183
183
|
return e;
|
|
184
184
|
}
|
|
185
185
|
static _$Eu(t, e) {
|
|
@@ -206,7 +206,7 @@ class Ie extends HTMLElement {
|
|
|
206
206
|
}
|
|
207
207
|
createRenderRoot() {
|
|
208
208
|
const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
|
|
209
|
-
return
|
|
209
|
+
return Vo(t, this.constructor.elementStyles), t;
|
|
210
210
|
}
|
|
211
211
|
connectedCallback() {
|
|
212
212
|
this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(!0), this._$EO?.forEach((t) => t.hostConnected?.());
|
|
@@ -235,7 +235,7 @@ class Ie extends HTMLElement {
|
|
|
235
235
|
}
|
|
236
236
|
requestUpdate(t, e, i) {
|
|
237
237
|
if (t !== void 0) {
|
|
238
|
-
if (i ??= this.constructor.getPropertyOptions(t), !(i.hasChanged ??
|
|
238
|
+
if (i ??= this.constructor.getPropertyOptions(t), !(i.hasChanged ?? Uo)(this[t], e))
|
|
239
239
|
return;
|
|
240
240
|
this.P(t, e, i);
|
|
241
241
|
}
|
|
@@ -305,39 +305,39 @@ class Ie extends HTMLElement {
|
|
|
305
305
|
firstUpdated(t) {
|
|
306
306
|
}
|
|
307
307
|
}
|
|
308
|
-
Ie.elementStyles = [], Ie.shadowRootOptions = { mode: "open" }, Ie[Ze("elementProperties")] = /* @__PURE__ */ new Map(), Ie[Ze("finalized")] = /* @__PURE__ */ new Map(),
|
|
308
|
+
Ie.elementStyles = [], Ie.shadowRootOptions = { mode: "open" }, Ie[Ze("elementProperties")] = /* @__PURE__ */ new Map(), Ie[Ze("finalized")] = /* @__PURE__ */ new Map(), Vr?.({ ReactiveElement: Ie }), (Et.reactiveElementVersions ??= []).push("2.0.4");
|
|
309
309
|
/**
|
|
310
310
|
* @license
|
|
311
311
|
* Copyright 2017 Google LLC
|
|
312
312
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
313
313
|
*/
|
|
314
|
-
const xi = globalThis, vt = xi.trustedTypes,
|
|
315
|
-
\f\r]`, Ye = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
316
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
317
|
-
function
|
|
314
|
+
const xi = globalThis, vt = xi.trustedTypes, Qi = vt ? vt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, jo = "$lit$", _e = `lit$${Math.random().toFixed(9).slice(2)}$`, Yo = "?" + _e, Ur = `<${Yo}>`, Ee = document, et = () => Ee.createComment(""), tt = (o) => o === null || typeof o != "object" && typeof o != "function", Ci = Array.isArray, jr = (o) => Ci(o) || typeof o?.[Symbol.iterator] == "function", Nt = `[
|
|
315
|
+
\f\r]`, Ye = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, eo = /-->/g, to = />/g, xe = RegExp(`>|${Nt}(?:([^\\s"'>=/]+)(${Nt}*=${Nt}*(?:[^
|
|
316
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), io = /'/g, oo = /"/g, Wo = /^(?:script|style|textarea|title)$/i, $e = Symbol.for("lit-noChange"), j = Symbol.for("lit-nothing"), so = /* @__PURE__ */ new WeakMap(), Ce = Ee.createTreeWalker(Ee, 129);
|
|
317
|
+
function qo(o, t) {
|
|
318
318
|
if (!Ci(o) || !o.hasOwnProperty("raw"))
|
|
319
319
|
throw Error("invalid template strings array");
|
|
320
|
-
return
|
|
320
|
+
return Qi !== void 0 ? Qi.createHTML(t) : t;
|
|
321
321
|
}
|
|
322
|
-
const
|
|
322
|
+
const Yr = (o, t) => {
|
|
323
323
|
const e = o.length - 1, i = [];
|
|
324
324
|
let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = Ye;
|
|
325
325
|
for (let a = 0; a < e; a++) {
|
|
326
326
|
const l = o[a];
|
|
327
327
|
let d, c, u = -1, h = 0;
|
|
328
328
|
for (; h < l.length && (n.lastIndex = h, c = n.exec(l), c !== null); )
|
|
329
|
-
h = n.lastIndex, n === Ye ? c[1] === "!--" ? n =
|
|
329
|
+
h = n.lastIndex, n === Ye ? c[1] === "!--" ? n = eo : c[1] !== void 0 ? n = to : c[2] !== void 0 ? (Wo.test(c[2]) && (s = RegExp("</" + c[2], "g")), n = xe) : c[3] !== void 0 && (n = xe) : n === xe ? c[0] === ">" ? (n = s ?? Ye, u = -1) : c[1] === void 0 ? u = -2 : (u = n.lastIndex - c[2].length, d = c[1], n = c[3] === void 0 ? xe : c[3] === '"' ? oo : io) : n === oo || n === io ? n = xe : n === eo || n === to ? n = Ye : (n = xe, s = void 0);
|
|
330
330
|
const p = n === xe && o[a + 1].startsWith("/>") ? " " : "";
|
|
331
|
-
r += n === Ye ? l +
|
|
331
|
+
r += n === Ye ? l + Ur : u >= 0 ? (i.push(d), l.slice(0, u) + jo + l.slice(u) + _e + p) : l + _e + (u === -2 ? a : p);
|
|
332
332
|
}
|
|
333
|
-
return [
|
|
333
|
+
return [qo(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
|
|
334
334
|
};
|
|
335
335
|
class it {
|
|
336
336
|
constructor({ strings: t, _$litType$: e }, i) {
|
|
337
337
|
let s;
|
|
338
338
|
this.parts = [];
|
|
339
339
|
let r = 0, n = 0;
|
|
340
|
-
const a = t.length - 1, l = this.parts, [d, c] =
|
|
340
|
+
const a = t.length - 1, l = this.parts, [d, c] = Yr(t, e);
|
|
341
341
|
if (this.el = it.createElement(d, i), Ce.currentNode = this.el.content, e === 2 || e === 3) {
|
|
342
342
|
const u = this.el.content.firstChild;
|
|
343
343
|
u.replaceWith(...u.childNodes);
|
|
@@ -346,12 +346,12 @@ class it {
|
|
|
346
346
|
if (s.nodeType === 1) {
|
|
347
347
|
if (s.hasAttributes())
|
|
348
348
|
for (const u of s.getAttributeNames())
|
|
349
|
-
if (u.endsWith(
|
|
349
|
+
if (u.endsWith(jo)) {
|
|
350
350
|
const h = c[n++], p = s.getAttribute(u).split(_e), y = /([.?@])?(.*)/.exec(h);
|
|
351
|
-
l.push({ type: 1, index: r, name: y[2], strings: p, ctor: y[1] === "." ?
|
|
351
|
+
l.push({ type: 1, index: r, name: y[2], strings: p, ctor: y[1] === "." ? qr : y[1] === "?" ? Kr : y[1] === "@" ? Gr : kt }), s.removeAttribute(u);
|
|
352
352
|
} else
|
|
353
353
|
u.startsWith(_e) && (l.push({ type: 6, index: r }), s.removeAttribute(u));
|
|
354
|
-
if (
|
|
354
|
+
if (Wo.test(s.tagName)) {
|
|
355
355
|
const u = s.textContent.split(_e), h = u.length - 1;
|
|
356
356
|
if (h > 0) {
|
|
357
357
|
s.textContent = vt ? vt.emptyScript : "";
|
|
@@ -361,7 +361,7 @@ class it {
|
|
|
361
361
|
}
|
|
362
362
|
}
|
|
363
363
|
} else if (s.nodeType === 8)
|
|
364
|
-
if (s.data ===
|
|
364
|
+
if (s.data === Yo)
|
|
365
365
|
l.push({ type: 2, index: r });
|
|
366
366
|
else {
|
|
367
367
|
let u = -1;
|
|
@@ -383,7 +383,7 @@ function Re(o, t, e = o, i) {
|
|
|
383
383
|
const r = tt(t) ? void 0 : t._$litDirective$;
|
|
384
384
|
return s?.constructor !== r && (s?._$AO?.(!1), r === void 0 ? s = void 0 : (s = new r(o), s._$AT(o, e, i)), i !== void 0 ? (e._$Co ??= [])[i] = s : e._$Cl = s), s !== void 0 && (t = Re(o, s._$AS(o, t.values), s, i)), t;
|
|
385
385
|
}
|
|
386
|
-
class
|
|
386
|
+
class Wr {
|
|
387
387
|
constructor(t, e) {
|
|
388
388
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
|
389
389
|
}
|
|
@@ -400,7 +400,7 @@ class qr {
|
|
|
400
400
|
for (; l !== void 0; ) {
|
|
401
401
|
if (n === l.index) {
|
|
402
402
|
let d;
|
|
403
|
-
l.type === 2 ? d = new dt(r, r.nextSibling, this, t) : l.type === 1 ? d = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (d = new
|
|
403
|
+
l.type === 2 ? d = new dt(r, r.nextSibling, this, t) : l.type === 1 ? d = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (d = new Jr(r, this, t)), this._$AV.push(d), l = i[++a];
|
|
404
404
|
}
|
|
405
405
|
n !== l?.index && (r = Ce.nextNode(), n++);
|
|
406
406
|
}
|
|
@@ -431,7 +431,7 @@ class dt {
|
|
|
431
431
|
return this._$AB;
|
|
432
432
|
}
|
|
433
433
|
_$AI(t, e = this) {
|
|
434
|
-
t = Re(this, t, e), tt(t) ? t === j || t == null || t === "" ? (this._$AH !== j && this._$AR(), this._$AH = j) : t !== this._$AH && t !== $e && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) :
|
|
434
|
+
t = Re(this, t, e), tt(t) ? t === j || t == null || t === "" ? (this._$AH !== j && this._$AR(), this._$AH = j) : t !== this._$AH && t !== $e && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : jr(t) ? this.k(t) : this._(t);
|
|
435
435
|
}
|
|
436
436
|
O(t) {
|
|
437
437
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -443,17 +443,17 @@ class dt {
|
|
|
443
443
|
this._$AH !== j && tt(this._$AH) ? this._$AA.nextSibling.data = t : this.T(Ee.createTextNode(t)), this._$AH = t;
|
|
444
444
|
}
|
|
445
445
|
$(t) {
|
|
446
|
-
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = it.createElement(
|
|
446
|
+
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = it.createElement(qo(i.h, i.h[0]), this.options)), i);
|
|
447
447
|
if (this._$AH?._$AD === s)
|
|
448
448
|
this._$AH.p(e);
|
|
449
449
|
else {
|
|
450
|
-
const r = new
|
|
450
|
+
const r = new Wr(s, this), n = r.u(this.options);
|
|
451
451
|
r.p(e), this.T(n), this._$AH = r;
|
|
452
452
|
}
|
|
453
453
|
}
|
|
454
454
|
_$AC(t) {
|
|
455
|
-
let e =
|
|
456
|
-
return e === void 0 &&
|
|
455
|
+
let e = so.get(t.strings);
|
|
456
|
+
return e === void 0 && so.set(t.strings, e = new it(t)), e;
|
|
457
457
|
}
|
|
458
458
|
k(t) {
|
|
459
459
|
Ci(this._$AH) || (this._$AH = [], this._$AR());
|
|
@@ -500,7 +500,7 @@ class kt {
|
|
|
500
500
|
t === j ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
|
501
501
|
}
|
|
502
502
|
}
|
|
503
|
-
class
|
|
503
|
+
class qr extends kt {
|
|
504
504
|
constructor() {
|
|
505
505
|
super(...arguments), this.type = 3;
|
|
506
506
|
}
|
|
@@ -508,7 +508,7 @@ class Kr extends kt {
|
|
|
508
508
|
this.element[this.name] = t === j ? void 0 : t;
|
|
509
509
|
}
|
|
510
510
|
}
|
|
511
|
-
class
|
|
511
|
+
class Kr extends kt {
|
|
512
512
|
constructor() {
|
|
513
513
|
super(...arguments), this.type = 4;
|
|
514
514
|
}
|
|
@@ -516,7 +516,7 @@ class Gr extends kt {
|
|
|
516
516
|
this.element.toggleAttribute(this.name, !!t && t !== j);
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
|
-
class
|
|
519
|
+
class Gr extends kt {
|
|
520
520
|
constructor(t, e, i, s, r) {
|
|
521
521
|
super(t, e, i, s, r), this.type = 5;
|
|
522
522
|
}
|
|
@@ -530,7 +530,7 @@ class Jr extends kt {
|
|
|
530
530
|
typeof this._$AH == "function" ? this._$AH.call(this.options?.host ?? this.element, t) : this._$AH.handleEvent(t);
|
|
531
531
|
}
|
|
532
532
|
}
|
|
533
|
-
class
|
|
533
|
+
class Jr {
|
|
534
534
|
constructor(t, e, i) {
|
|
535
535
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
|
|
536
536
|
}
|
|
@@ -541,9 +541,9 @@ class Xr {
|
|
|
541
541
|
Re(this, t);
|
|
542
542
|
}
|
|
543
543
|
}
|
|
544
|
-
const
|
|
545
|
-
|
|
546
|
-
const
|
|
544
|
+
const Xr = xi.litHtmlPolyfillSupport;
|
|
545
|
+
Xr?.(it, dt), (xi.litHtmlVersions ??= []).push("3.2.1");
|
|
546
|
+
const Zr = (o, t, e) => {
|
|
547
547
|
const i = e?.renderBefore ?? t;
|
|
548
548
|
let s = i._$litPart$;
|
|
549
549
|
if (s === void 0) {
|
|
@@ -567,7 +567,7 @@ class Ne extends Ie {
|
|
|
567
567
|
}
|
|
568
568
|
update(t) {
|
|
569
569
|
const e = this.render();
|
|
570
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do =
|
|
570
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = Zr(e, this.renderRoot, this.renderOptions);
|
|
571
571
|
}
|
|
572
572
|
connectedCallback() {
|
|
573
573
|
super.connectedCallback(), this._$Do?.setConnected(!0);
|
|
@@ -580,15 +580,15 @@ class Ne extends Ie {
|
|
|
580
580
|
}
|
|
581
581
|
}
|
|
582
582
|
Ne._$litElement$ = !0, Ne.finalized = !0, globalThis.litElementHydrateSupport?.({ LitElement: Ne });
|
|
583
|
-
const
|
|
584
|
-
|
|
583
|
+
const Qr = globalThis.litElementPolyfillSupport;
|
|
584
|
+
Qr?.({ LitElement: Ne });
|
|
585
585
|
(globalThis.litElementVersions ??= []).push("4.1.1");
|
|
586
586
|
/**
|
|
587
587
|
* @license
|
|
588
588
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
589
589
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
590
590
|
*/
|
|
591
|
-
const
|
|
591
|
+
const en = (o) => class extends o {
|
|
592
592
|
static get properties() {
|
|
593
593
|
return {
|
|
594
594
|
/**
|
|
@@ -627,103 +627,103 @@ const tn = (o) => class extends o {
|
|
|
627
627
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
628
628
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
629
629
|
*/
|
|
630
|
-
const
|
|
631
|
-
function
|
|
630
|
+
const Ko = [], Xt = /* @__PURE__ */ new Set(), Ai = /* @__PURE__ */ new Set();
|
|
631
|
+
function Go(o) {
|
|
632
632
|
return o && Object.prototype.hasOwnProperty.call(o, "__themes");
|
|
633
633
|
}
|
|
634
|
-
function
|
|
635
|
-
return
|
|
634
|
+
function tn(o) {
|
|
635
|
+
return Go(customElements.get(o));
|
|
636
636
|
}
|
|
637
|
-
function
|
|
637
|
+
function on(o = []) {
|
|
638
638
|
return [o].flat(1 / 0).filter((t) => t instanceof wi ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
|
|
639
639
|
}
|
|
640
|
-
function
|
|
640
|
+
function Jo(o, t) {
|
|
641
641
|
return (o || "").split(" ").some((e) => new RegExp(`^${e.split("*").join(".*")}$`, "u").test(t));
|
|
642
642
|
}
|
|
643
|
-
function
|
|
643
|
+
function Xo(o) {
|
|
644
644
|
return o.map((t) => t.cssText).join(`
|
|
645
645
|
`);
|
|
646
646
|
}
|
|
647
647
|
const bt = "vaadin-themable-mixin-style";
|
|
648
|
-
function
|
|
648
|
+
function sn(o, t) {
|
|
649
649
|
const e = document.createElement("style");
|
|
650
|
-
e.id = bt, e.textContent =
|
|
650
|
+
e.id = bt, e.textContent = Xo(o), t.content.appendChild(e);
|
|
651
651
|
}
|
|
652
|
-
function
|
|
652
|
+
function rn(o) {
|
|
653
653
|
if (!o.shadowRoot)
|
|
654
654
|
return;
|
|
655
655
|
const t = o.constructor;
|
|
656
656
|
if (o instanceof Ne)
|
|
657
|
-
[...o.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()),
|
|
657
|
+
[...o.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()), Vo(o.shadowRoot, t.elementStyles);
|
|
658
658
|
else {
|
|
659
659
|
const e = o.shadowRoot.getElementById(bt), i = t.prototype._template;
|
|
660
660
|
e.textContent = i.content.getElementById(bt).textContent;
|
|
661
661
|
}
|
|
662
662
|
}
|
|
663
|
-
function
|
|
663
|
+
function nn(o) {
|
|
664
664
|
Xt.forEach((t) => {
|
|
665
665
|
const e = t.deref();
|
|
666
|
-
e instanceof o ?
|
|
666
|
+
e instanceof o ? rn(e) : e || Xt.delete(t);
|
|
667
667
|
});
|
|
668
668
|
}
|
|
669
|
-
function
|
|
669
|
+
function Zo(o) {
|
|
670
670
|
if (o.prototype instanceof Ne)
|
|
671
671
|
o.elementStyles = o.finalizeStyles(o.styles);
|
|
672
672
|
else {
|
|
673
673
|
const t = o.prototype._template;
|
|
674
|
-
t.content.getElementById(bt).textContent =
|
|
674
|
+
t.content.getElementById(bt).textContent = Xo(o.getStylesForThis());
|
|
675
675
|
}
|
|
676
676
|
Ai.forEach((t) => {
|
|
677
677
|
const e = customElements.get(t);
|
|
678
|
-
e !== o && e.prototype instanceof o &&
|
|
678
|
+
e !== o && e.prototype instanceof o && Zo(e);
|
|
679
679
|
});
|
|
680
680
|
}
|
|
681
|
-
function
|
|
681
|
+
function an(o, t) {
|
|
682
682
|
const e = o.__themes;
|
|
683
683
|
return !e || !t ? !1 : e.some(
|
|
684
684
|
(i) => i.styles.some((s) => t.some((r) => r.cssText === s.cssText))
|
|
685
685
|
);
|
|
686
686
|
}
|
|
687
687
|
function H(o, t, e = {}) {
|
|
688
|
-
t =
|
|
688
|
+
t = on(t), window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.registerStyles(o, t, e) : Ko.push({
|
|
689
689
|
themeFor: o,
|
|
690
690
|
styles: t,
|
|
691
691
|
include: e.include,
|
|
692
692
|
moduleId: e.moduleId
|
|
693
693
|
}), o && Ai.forEach((i) => {
|
|
694
|
-
if (
|
|
694
|
+
if (Jo(o, i) && tn(i)) {
|
|
695
695
|
const s = customElements.get(i);
|
|
696
|
-
|
|
696
|
+
an(s, t) ? console.warn(`Registering styles that already exist for ${i}`) : (!window.Vaadin || !window.Vaadin.suppressPostFinalizeStylesWarning) && console.warn(
|
|
697
697
|
`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".`
|
|
698
|
-
),
|
|
698
|
+
), Zo(s), nn(s);
|
|
699
699
|
}
|
|
700
700
|
});
|
|
701
701
|
}
|
|
702
702
|
function Zt() {
|
|
703
|
-
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() :
|
|
703
|
+
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() : Ko;
|
|
704
704
|
}
|
|
705
|
-
function
|
|
705
|
+
function ln(o = "") {
|
|
706
706
|
let t = 0;
|
|
707
707
|
return o.startsWith("lumo-") || o.startsWith("material-") ? t = 1 : o.startsWith("vaadin-") && (t = 2), t;
|
|
708
708
|
}
|
|
709
|
-
function
|
|
709
|
+
function Qo(o) {
|
|
710
710
|
const t = [];
|
|
711
711
|
return o.include && [].concat(o.include).forEach((e) => {
|
|
712
712
|
const i = Zt().find((s) => s.moduleId === e);
|
|
713
|
-
i ? t.push(...
|
|
713
|
+
i ? t.push(...Qo(i), ...i.styles) : console.warn(`Included moduleId ${e} not found in style registry`);
|
|
714
714
|
}, o.styles), t;
|
|
715
715
|
}
|
|
716
|
-
function
|
|
717
|
-
const t = `${o}-default-theme`, e = Zt().filter((i) => i.moduleId !== t &&
|
|
716
|
+
function dn(o) {
|
|
717
|
+
const t = `${o}-default-theme`, e = Zt().filter((i) => i.moduleId !== t && Jo(i.themeFor, o)).map((i) => ({
|
|
718
718
|
...i,
|
|
719
719
|
// Prepend styles from included themes
|
|
720
|
-
styles: [...
|
|
720
|
+
styles: [...Qo(i), ...i.styles],
|
|
721
721
|
// Map moduleId to includePriority
|
|
722
|
-
includePriority:
|
|
722
|
+
includePriority: ln(i.moduleId)
|
|
723
723
|
})).sort((i, s) => s.includePriority - i.includePriority);
|
|
724
724
|
return e.length > 0 ? e : Zt().filter((i) => i.moduleId === t);
|
|
725
725
|
}
|
|
726
|
-
const ke = (o) => class extends
|
|
726
|
+
const ke = (o) => class extends en(o) {
|
|
727
727
|
constructor() {
|
|
728
728
|
super(), Xt.add(new WeakRef(this));
|
|
729
729
|
}
|
|
@@ -735,7 +735,7 @@ const ke = (o) => class extends tn(o) {
|
|
|
735
735
|
if (super.finalize(), this.is && Ai.add(this.is), this.elementStyles)
|
|
736
736
|
return;
|
|
737
737
|
const e = this.prototype._template;
|
|
738
|
-
!e ||
|
|
738
|
+
!e || Go(this) || sn(this.getStylesForThis(), e);
|
|
739
739
|
}
|
|
740
740
|
/**
|
|
741
741
|
* Covers LitElement based component styling
|
|
@@ -753,7 +753,7 @@ const ke = (o) => class extends tn(o) {
|
|
|
753
753
|
*/
|
|
754
754
|
static getStylesForThis() {
|
|
755
755
|
const e = o.__themes || [], i = Object.getPrototypeOf(this.prototype), s = (i ? i.constructor.__themes : []) || [];
|
|
756
|
-
this.__themes = [...e, ...s, ...
|
|
756
|
+
this.__themes = [...e, ...s, ...dn(this.is)];
|
|
757
757
|
const r = this.__themes.flatMap((n) => n.styles);
|
|
758
758
|
return r.filter((n, a) => a === r.lastIndexOf(n));
|
|
759
759
|
}
|
|
@@ -763,19 +763,19 @@ const ke = (o) => class extends tn(o) {
|
|
|
763
763
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
764
764
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
765
765
|
*/
|
|
766
|
-
const
|
|
766
|
+
const cn = (o, ...t) => {
|
|
767
767
|
const e = document.createElement("style");
|
|
768
768
|
e.id = o, e.textContent = t.map((i) => i.toString()).join(`
|
|
769
769
|
`).replace(":host", "html"), document.head.insertAdjacentElement("afterbegin", e);
|
|
770
770
|
}, Ve = (o, ...t) => {
|
|
771
|
-
|
|
771
|
+
cn(`lumo-${o}`, t);
|
|
772
772
|
};
|
|
773
773
|
/**
|
|
774
774
|
* @license
|
|
775
775
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
776
776
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
777
777
|
*/
|
|
778
|
-
const
|
|
778
|
+
const un = P`
|
|
779
779
|
:host {
|
|
780
780
|
--lumo-size-xs: 1.625rem;
|
|
781
781
|
--lumo-size-s: 1.875rem;
|
|
@@ -791,13 +791,13 @@ const hn = P`
|
|
|
791
791
|
--lumo-icon-size: var(--lumo-icon-size-m);
|
|
792
792
|
}
|
|
793
793
|
`;
|
|
794
|
-
Ve("sizing-props",
|
|
794
|
+
Ve("sizing-props", un);
|
|
795
795
|
/**
|
|
796
796
|
* @license
|
|
797
797
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
798
798
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
799
799
|
*/
|
|
800
|
-
const
|
|
800
|
+
const hn = P`
|
|
801
801
|
:host {
|
|
802
802
|
/* Square */
|
|
803
803
|
--lumo-space-xs: 0.25rem;
|
|
@@ -821,13 +821,13 @@ const pn = P`
|
|
|
821
821
|
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
|
822
822
|
}
|
|
823
823
|
`;
|
|
824
|
-
Ve("spacing-props",
|
|
824
|
+
Ve("spacing-props", hn);
|
|
825
825
|
/**
|
|
826
826
|
* @license
|
|
827
827
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
828
828
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
829
829
|
*/
|
|
830
|
-
const
|
|
830
|
+
const pn = P`
|
|
831
831
|
:host {
|
|
832
832
|
/* Border radius */
|
|
833
833
|
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
@@ -929,13 +929,13 @@ P`
|
|
|
929
929
|
--vaadin-input-field-value-font-weight: 500;
|
|
930
930
|
}
|
|
931
931
|
`;
|
|
932
|
-
Ve("style-props",
|
|
932
|
+
Ve("style-props", pn);
|
|
933
933
|
/**
|
|
934
934
|
* @license
|
|
935
935
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
936
936
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
937
937
|
*/
|
|
938
|
-
const
|
|
938
|
+
const fn = P`
|
|
939
939
|
:host {
|
|
940
940
|
/* Base (background) */
|
|
941
941
|
--lumo-base-color: #fff;
|
|
@@ -1021,8 +1021,8 @@ const mn = P`
|
|
|
1021
1021
|
}
|
|
1022
1022
|
}
|
|
1023
1023
|
`;
|
|
1024
|
-
Ve("color-props",
|
|
1025
|
-
const
|
|
1024
|
+
Ve("color-props", fn);
|
|
1025
|
+
const mn = P`
|
|
1026
1026
|
[theme~='dark'] {
|
|
1027
1027
|
/* Base (background) */
|
|
1028
1028
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -1141,13 +1141,13 @@ const _n = P`
|
|
|
1141
1141
|
background: transparent;
|
|
1142
1142
|
}
|
|
1143
1143
|
`;
|
|
1144
|
-
H("",
|
|
1144
|
+
H("", mn, { moduleId: "lumo-color" });
|
|
1145
1145
|
/**
|
|
1146
1146
|
* @license
|
|
1147
1147
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1148
1148
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1149
1149
|
*/
|
|
1150
|
-
const
|
|
1150
|
+
const _n = P`
|
|
1151
1151
|
:host {
|
|
1152
1152
|
/* prettier-ignore */
|
|
1153
1153
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -1167,7 +1167,7 @@ const gn = P`
|
|
|
1167
1167
|
--lumo-line-height-s: 1.375;
|
|
1168
1168
|
--lumo-line-height-m: 1.625;
|
|
1169
1169
|
}
|
|
1170
|
-
`,
|
|
1170
|
+
`, gn = P`
|
|
1171
1171
|
body,
|
|
1172
1172
|
:host {
|
|
1173
1173
|
font-family: var(--lumo-font-family);
|
|
@@ -1260,14 +1260,14 @@ const gn = P`
|
|
|
1260
1260
|
border-right: 2px solid var(--lumo-contrast-30pct);
|
|
1261
1261
|
}
|
|
1262
1262
|
`;
|
|
1263
|
-
H("",
|
|
1264
|
-
Ve("typography-props",
|
|
1263
|
+
H("", gn, { moduleId: "lumo-typography" });
|
|
1264
|
+
Ve("typography-props", _n);
|
|
1265
1265
|
/**
|
|
1266
1266
|
* @license
|
|
1267
1267
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1268
1268
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1269
1269
|
*/
|
|
1270
|
-
const
|
|
1270
|
+
const es = P`
|
|
1271
1271
|
:host {
|
|
1272
1272
|
top: var(--lumo-space-m);
|
|
1273
1273
|
right: var(--lumo-space-m);
|
|
@@ -1333,13 +1333,13 @@ const ts = P`
|
|
|
1333
1333
|
}
|
|
1334
1334
|
}
|
|
1335
1335
|
`;
|
|
1336
|
-
H("",
|
|
1336
|
+
H("", es, { moduleId: "lumo-overlay" });
|
|
1337
1337
|
/**
|
|
1338
1338
|
* @license
|
|
1339
1339
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1340
1340
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1341
1341
|
*/
|
|
1342
|
-
const
|
|
1342
|
+
const ts = P`
|
|
1343
1343
|
:host([opening]),
|
|
1344
1344
|
:host([closing]) {
|
|
1345
1345
|
animation: 0.14s lumo-overlay-dummy-animation;
|
|
@@ -1370,8 +1370,8 @@ const is = P`
|
|
|
1370
1370
|
}
|
|
1371
1371
|
}
|
|
1372
1372
|
`;
|
|
1373
|
-
H("",
|
|
1374
|
-
const
|
|
1373
|
+
H("", ts, { moduleId: "lumo-menu-overlay-core" });
|
|
1374
|
+
const yn = P`
|
|
1375
1375
|
/* Small viewport (bottom sheet) styles */
|
|
1376
1376
|
/* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
|
|
1377
1377
|
@media (max-width: 450px), (max-height: 450px) {
|
|
@@ -1433,9 +1433,9 @@ const vn = P`
|
|
|
1433
1433
|
transform: translateY(150%);
|
|
1434
1434
|
}
|
|
1435
1435
|
}
|
|
1436
|
-
`,
|
|
1437
|
-
H("",
|
|
1438
|
-
const
|
|
1436
|
+
`, is = [es, ts, yn];
|
|
1437
|
+
H("", is, { moduleId: "lumo-menu-overlay" });
|
|
1438
|
+
const vn = P`
|
|
1439
1439
|
[part='overlay'] {
|
|
1440
1440
|
/*
|
|
1441
1441
|
Width:
|
|
@@ -1481,10 +1481,10 @@ const bn = P`
|
|
|
1481
1481
|
}
|
|
1482
1482
|
}
|
|
1483
1483
|
`;
|
|
1484
|
-
H("vaadin-date-picker-overlay", [
|
|
1484
|
+
H("vaadin-date-picker-overlay", [is, vn], {
|
|
1485
1485
|
moduleId: "lumo-date-picker-overlay"
|
|
1486
1486
|
});
|
|
1487
|
-
const
|
|
1487
|
+
const bn = P`
|
|
1488
1488
|
:host {
|
|
1489
1489
|
/* Sizing */
|
|
1490
1490
|
--lumo-button-size: var(--lumo-size-m);
|
|
@@ -1761,7 +1761,7 @@ const wn = P`
|
|
|
1761
1761
|
margin-right: 0;
|
|
1762
1762
|
}
|
|
1763
1763
|
`;
|
|
1764
|
-
H("vaadin-button",
|
|
1764
|
+
H("vaadin-button", bn, { moduleId: "lumo-button" });
|
|
1765
1765
|
H(
|
|
1766
1766
|
"vaadin-date-picker-year",
|
|
1767
1767
|
P`
|
|
@@ -2286,7 +2286,7 @@ H(
|
|
|
2286
2286
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2287
2287
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2288
2288
|
*/
|
|
2289
|
-
const
|
|
2289
|
+
const wn = P`
|
|
2290
2290
|
@font-face {
|
|
2291
2291
|
font-family: 'lumo-icons';
|
|
2292
2292
|
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==)
|
|
@@ -2340,13 +2340,13 @@ const xn = P`
|
|
|
2340
2340
|
--lumo-icons-user: '\\ea2a';
|
|
2341
2341
|
}
|
|
2342
2342
|
`;
|
|
2343
|
-
Ve("font-icons",
|
|
2343
|
+
Ve("font-icons", wn);
|
|
2344
2344
|
/**
|
|
2345
2345
|
* @license
|
|
2346
2346
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2347
2347
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2348
2348
|
*/
|
|
2349
|
-
const
|
|
2349
|
+
const os = P`
|
|
2350
2350
|
[part$='button'] {
|
|
2351
2351
|
flex: none;
|
|
2352
2352
|
width: 1em;
|
|
@@ -2374,13 +2374,13 @@ const ss = P`
|
|
|
2374
2374
|
display: block;
|
|
2375
2375
|
}
|
|
2376
2376
|
`;
|
|
2377
|
-
H("",
|
|
2377
|
+
H("", os, { moduleId: "lumo-field-button" });
|
|
2378
2378
|
/**
|
|
2379
2379
|
* @license
|
|
2380
2380
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2381
2381
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2382
2382
|
*/
|
|
2383
|
-
const
|
|
2383
|
+
const xn = P`
|
|
2384
2384
|
:host {
|
|
2385
2385
|
--_helper-spacing: var(--vaadin-input-field-helper-spacing, 0.4em);
|
|
2386
2386
|
}
|
|
@@ -2442,7 +2442,7 @@ const Cn = P`
|
|
|
2442
2442
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2443
2443
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2444
2444
|
*/
|
|
2445
|
-
const
|
|
2445
|
+
const ss = P`
|
|
2446
2446
|
[part='label'] {
|
|
2447
2447
|
align-self: flex-start;
|
|
2448
2448
|
color: var(--vaadin-input-field-label-color, var(--lumo-secondary-text-color));
|
|
@@ -2555,13 +2555,13 @@ const rs = P`
|
|
|
2555
2555
|
margin-right: calc(var(--lumo-border-radius-m) / 4);
|
|
2556
2556
|
}
|
|
2557
2557
|
`;
|
|
2558
|
-
H("",
|
|
2558
|
+
H("", ss, { moduleId: "lumo-required-field" });
|
|
2559
2559
|
/**
|
|
2560
2560
|
* @license
|
|
2561
2561
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2562
2562
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2563
2563
|
*/
|
|
2564
|
-
const
|
|
2564
|
+
const Cn = P`
|
|
2565
2565
|
:host {
|
|
2566
2566
|
--lumo-text-field-size: var(--lumo-size-m);
|
|
2567
2567
|
color: var(--vaadin-input-field-value-color, var(--lumo-body-text-color));
|
|
@@ -2692,11 +2692,11 @@ const An = P`
|
|
|
2692
2692
|
[part='clear-button']::before {
|
|
2693
2693
|
content: var(--lumo-icons-cross);
|
|
2694
2694
|
}
|
|
2695
|
-
`,
|
|
2696
|
-
H("",
|
|
2695
|
+
`, rs = [ss, os, xn, Cn];
|
|
2696
|
+
H("", rs, {
|
|
2697
2697
|
moduleId: "lumo-input-field-shared-styles"
|
|
2698
2698
|
});
|
|
2699
|
-
const
|
|
2699
|
+
const An = P`
|
|
2700
2700
|
[part='toggle-button']::before {
|
|
2701
2701
|
content: var(--lumo-icons-calendar);
|
|
2702
2702
|
}
|
|
@@ -2719,7 +2719,7 @@ const Tn = P`
|
|
|
2719
2719
|
--_lumo-text-field-overflow-mask-image: none;
|
|
2720
2720
|
}
|
|
2721
2721
|
`;
|
|
2722
|
-
H("vaadin-date-picker", [
|
|
2722
|
+
H("vaadin-date-picker", [rs, An], { moduleId: "lumo-date-picker" });
|
|
2723
2723
|
/**
|
|
2724
2724
|
@license
|
|
2725
2725
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -2741,9 +2741,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2741
2741
|
Code distributed by Google as part of the polymer project is also
|
|
2742
2742
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2743
2743
|
*/
|
|
2744
|
-
let
|
|
2744
|
+
let Tn = /(url\()([^)]*)(\))/g, Dn = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, ut, Q;
|
|
2745
2745
|
function Qe(o, t) {
|
|
2746
|
-
if (o &&
|
|
2746
|
+
if (o && Dn.test(o) || o === "//")
|
|
2747
2747
|
return o;
|
|
2748
2748
|
if (ut === void 0) {
|
|
2749
2749
|
ut = !1;
|
|
@@ -2762,7 +2762,7 @@ function Qe(o, t) {
|
|
|
2762
2762
|
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;
|
|
2763
2763
|
}
|
|
2764
2764
|
function Ti(o, t) {
|
|
2765
|
-
return o.replace(
|
|
2765
|
+
return o.replace(Tn, function(e, i, s, r) {
|
|
2766
2766
|
return i + "'" + Qe(s.replace(/["']/g, ""), t) + "'" + r;
|
|
2767
2767
|
});
|
|
2768
2768
|
}
|
|
@@ -2778,9 +2778,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2778
2778
|
Code distributed by Google as part of the polymer project is also
|
|
2779
2779
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2780
2780
|
*/
|
|
2781
|
-
const
|
|
2781
|
+
const ns = !window.ShadyDOM || !window.ShadyDOM.inUse;
|
|
2782
2782
|
!window.ShadyCSS || window.ShadyCSS.nativeCss;
|
|
2783
|
-
const
|
|
2783
|
+
const En = ns && "adoptedStyleSheets" in Document.prototype && "replaceSync" in CSSStyleSheet.prototype && // Since spec may change, feature detect exact API we need
|
|
2784
2784
|
(() => {
|
|
2785
2785
|
try {
|
|
2786
2786
|
const o = new CSSStyleSheet();
|
|
@@ -2791,11 +2791,11 @@ const kn = as && "adoptedStyleSheets" in Document.prototype && "replaceSync" in
|
|
|
2791
2791
|
return !1;
|
|
2792
2792
|
}
|
|
2793
2793
|
})();
|
|
2794
|
-
let
|
|
2794
|
+
let kn = window.Polymer && window.Polymer.rootPath || Di(document.baseURI || window.location.href), wt = window.Polymer && window.Polymer.sanitizeDOMValue || void 0;
|
|
2795
2795
|
window.Polymer && window.Polymer.setPassiveTouchGestures;
|
|
2796
|
-
let xt = window.Polymer && window.Polymer.strictTemplatePolicy || !1,
|
|
2796
|
+
let xt = window.Polymer && window.Polymer.strictTemplatePolicy || !1, Sn = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, as = window.Polymer && window.Polymer.legacyOptimizations || !1, ls = window.Polymer && window.Polymer.legacyWarnings || !1, Pn = window.Polymer && window.Polymer.syncInitialRender || !1, Qt = window.Polymer && window.Polymer.legacyUndefined || !1, On = window.Polymer && window.Polymer.orderedComputed || !1, ro = window.Polymer && window.Polymer.removeNestedTemplates || !1, Mn = window.Polymer && window.Polymer.fastDomIf || !1, no = window.Polymer && window.Polymer.suppressTemplateNotifications || !1;
|
|
2797
2797
|
window.Polymer && window.Polymer.legacyNoObservedAttributes;
|
|
2798
|
-
let
|
|
2798
|
+
let In = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
|
|
2799
2799
|
/**
|
|
2800
2800
|
@license
|
|
2801
2801
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -2805,14 +2805,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2805
2805
|
Code distributed by Google as part of the polymer project is also
|
|
2806
2806
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2807
2807
|
*/
|
|
2808
|
-
let
|
|
2808
|
+
let Nn = 0;
|
|
2809
2809
|
const U = function(o) {
|
|
2810
2810
|
let t = (
|
|
2811
2811
|
/** @type {!MixinFunction} */
|
|
2812
2812
|
o.__mixinApplications
|
|
2813
2813
|
);
|
|
2814
2814
|
t || (t = /* @__PURE__ */ new WeakMap(), o.__mixinApplications = t);
|
|
2815
|
-
let e =
|
|
2815
|
+
let e = Nn++;
|
|
2816
2816
|
function i(s) {
|
|
2817
2817
|
let r = (
|
|
2818
2818
|
/** @type {!MixinFunction} */
|
|
@@ -2843,14 +2843,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2843
2843
|
Code distributed by Google as part of the polymer project is also
|
|
2844
2844
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2845
2845
|
*/
|
|
2846
|
-
let Ei = {},
|
|
2847
|
-
function
|
|
2848
|
-
Ei[o] =
|
|
2846
|
+
let Ei = {}, ds = {};
|
|
2847
|
+
function ao(o, t) {
|
|
2848
|
+
Ei[o] = ds[o.toLowerCase()] = t;
|
|
2849
2849
|
}
|
|
2850
|
-
function
|
|
2851
|
-
return Ei[o] ||
|
|
2850
|
+
function lo(o) {
|
|
2851
|
+
return Ei[o] || ds[o.toLowerCase()];
|
|
2852
2852
|
}
|
|
2853
|
-
function
|
|
2853
|
+
function Fn(o) {
|
|
2854
2854
|
o.querySelector("style") && console.warn("dom-module %s has style outside template", o.id);
|
|
2855
2855
|
}
|
|
2856
2856
|
class ot extends HTMLElement {
|
|
@@ -2871,7 +2871,7 @@ class ot extends HTMLElement {
|
|
|
2871
2871
|
*/
|
|
2872
2872
|
static import(t, e) {
|
|
2873
2873
|
if (t) {
|
|
2874
|
-
let i =
|
|
2874
|
+
let i = lo(t);
|
|
2875
2875
|
return i && e ? i.querySelector(e) : i;
|
|
2876
2876
|
}
|
|
2877
2877
|
return null;
|
|
@@ -2919,9 +2919,9 @@ class ot extends HTMLElement {
|
|
|
2919
2919
|
*/
|
|
2920
2920
|
register(t) {
|
|
2921
2921
|
if (t = t || this.id, t) {
|
|
2922
|
-
if (xt &&
|
|
2923
|
-
throw
|
|
2924
|
-
this.id = t,
|
|
2922
|
+
if (xt && lo(t) !== void 0)
|
|
2923
|
+
throw ao(t, null), new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);
|
|
2924
|
+
this.id = t, ao(t, this), Fn(this);
|
|
2925
2925
|
}
|
|
2926
2926
|
}
|
|
2927
2927
|
}
|
|
@@ -2936,14 +2936,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2936
2936
|
Code distributed by Google as part of the polymer project is also
|
|
2937
2937
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2938
2938
|
*/
|
|
2939
|
-
const
|
|
2940
|
-
function
|
|
2939
|
+
const zn = "link[rel=import][type~=css]", Ln = "include", co = "shady-unscoped";
|
|
2940
|
+
function cs(o) {
|
|
2941
2941
|
return (
|
|
2942
2942
|
/** @type {?DomModule} */
|
|
2943
2943
|
ot.import(o)
|
|
2944
2944
|
);
|
|
2945
2945
|
}
|
|
2946
|
-
function
|
|
2946
|
+
function uo(o) {
|
|
2947
2947
|
let t = o.body ? o.body : o;
|
|
2948
2948
|
const e = Ti(
|
|
2949
2949
|
t.textContent,
|
|
@@ -2951,24 +2951,24 @@ function ho(o) {
|
|
|
2951
2951
|
), i = document.createElement("style");
|
|
2952
2952
|
return i.textContent = e, i;
|
|
2953
2953
|
}
|
|
2954
|
-
function
|
|
2954
|
+
function $n(o) {
|
|
2955
2955
|
const t = o.trim().split(/\s+/), e = [];
|
|
2956
2956
|
for (let i = 0; i < t.length; i++)
|
|
2957
|
-
e.push(...
|
|
2957
|
+
e.push(...Rn(t[i]));
|
|
2958
2958
|
return e;
|
|
2959
2959
|
}
|
|
2960
|
-
function
|
|
2961
|
-
const t =
|
|
2960
|
+
function Rn(o) {
|
|
2961
|
+
const t = cs(o);
|
|
2962
2962
|
if (!t)
|
|
2963
2963
|
return console.warn("Could not find style data in module named", o), [];
|
|
2964
2964
|
if (t._styles === void 0) {
|
|
2965
2965
|
const e = [];
|
|
2966
|
-
e.push(...
|
|
2966
|
+
e.push(...hs(t));
|
|
2967
2967
|
const i = (
|
|
2968
2968
|
/** @type {?HTMLTemplateElement} */
|
|
2969
2969
|
t.querySelector("template")
|
|
2970
2970
|
);
|
|
2971
|
-
i && e.push(...
|
|
2971
|
+
i && e.push(...us(
|
|
2972
2972
|
i,
|
|
2973
2973
|
/** @type {templateWithAssetPath} */
|
|
2974
2974
|
t.assetpath
|
|
@@ -2976,12 +2976,12 @@ function Hn(o) {
|
|
|
2976
2976
|
}
|
|
2977
2977
|
return t._styles;
|
|
2978
2978
|
}
|
|
2979
|
-
function
|
|
2979
|
+
function us(o, t) {
|
|
2980
2980
|
if (!o._styles) {
|
|
2981
2981
|
const e = [], i = o.content.querySelectorAll("style");
|
|
2982
2982
|
for (let s = 0; s < i.length; s++) {
|
|
2983
|
-
let r = i[s], n = r.getAttribute(
|
|
2984
|
-
n && e.push(
|
|
2983
|
+
let r = i[s], n = r.getAttribute(Ln);
|
|
2984
|
+
n && e.push(...$n(n).filter(function(a, l, d) {
|
|
2985
2985
|
return d.indexOf(a) === l;
|
|
2986
2986
|
})), t && (r.textContent = Ti(
|
|
2987
2987
|
r.textContent,
|
|
@@ -2993,21 +2993,21 @@ function hs(o, t) {
|
|
|
2993
2993
|
}
|
|
2994
2994
|
return o._styles;
|
|
2995
2995
|
}
|
|
2996
|
-
function
|
|
2997
|
-
let t =
|
|
2998
|
-
return t ?
|
|
2996
|
+
function Hn(o) {
|
|
2997
|
+
let t = cs(o);
|
|
2998
|
+
return t ? hs(t) : [];
|
|
2999
2999
|
}
|
|
3000
|
-
function
|
|
3001
|
-
const t = [], e = o.querySelectorAll(
|
|
3000
|
+
function hs(o) {
|
|
3001
|
+
const t = [], e = o.querySelectorAll(zn);
|
|
3002
3002
|
for (let i = 0; i < e.length; i++) {
|
|
3003
3003
|
let s = e[i];
|
|
3004
3004
|
if (s.import) {
|
|
3005
|
-
const r = s.import, n = s.hasAttribute(
|
|
3005
|
+
const r = s.import, n = s.hasAttribute(co);
|
|
3006
3006
|
if (n && !r._unscopedStyle) {
|
|
3007
|
-
const a =
|
|
3008
|
-
a.setAttribute(
|
|
3007
|
+
const a = uo(r);
|
|
3008
|
+
a.setAttribute(co, ""), r._unscopedStyle = a;
|
|
3009
3009
|
} else
|
|
3010
|
-
r._style || (r._style =
|
|
3010
|
+
r._style || (r._style = uo(r));
|
|
3011
3011
|
t.push(n ? r._unscopedStyle : r._style);
|
|
3012
3012
|
}
|
|
3013
3013
|
}
|
|
@@ -3039,7 +3039,7 @@ function Se(o) {
|
|
|
3039
3039
|
let t = o.indexOf(".");
|
|
3040
3040
|
return t === -1 ? o : o.slice(0, t);
|
|
3041
3041
|
}
|
|
3042
|
-
function
|
|
3042
|
+
function ps(o, t) {
|
|
3043
3043
|
return o.indexOf(t + ".") === 0;
|
|
3044
3044
|
}
|
|
3045
3045
|
function st(o, t) {
|
|
@@ -3048,8 +3048,8 @@ function st(o, t) {
|
|
|
3048
3048
|
function rt(o, t, e) {
|
|
3049
3049
|
return t + e.slice(o.length);
|
|
3050
3050
|
}
|
|
3051
|
-
function
|
|
3052
|
-
return o === t ||
|
|
3051
|
+
function Bn(o, t) {
|
|
3052
|
+
return o === t || ps(o, t) || st(o, t);
|
|
3053
3053
|
}
|
|
3054
3054
|
function Je(o) {
|
|
3055
3055
|
if (Array.isArray(o)) {
|
|
@@ -3063,11 +3063,11 @@ function Je(o) {
|
|
|
3063
3063
|
} else
|
|
3064
3064
|
return o;
|
|
3065
3065
|
}
|
|
3066
|
-
function
|
|
3066
|
+
function fs(o) {
|
|
3067
3067
|
return Array.isArray(o) ? Je(o).split(".") : o.toString().split(".");
|
|
3068
3068
|
}
|
|
3069
3069
|
function J(o, t, e) {
|
|
3070
|
-
let i = o, s =
|
|
3070
|
+
let i = o, s = fs(t);
|
|
3071
3071
|
for (let r = 0; r < s.length; r++) {
|
|
3072
3072
|
if (!i)
|
|
3073
3073
|
return;
|
|
@@ -3076,8 +3076,8 @@ function J(o, t, e) {
|
|
|
3076
3076
|
}
|
|
3077
3077
|
return e && (e.path = s.join(".")), i;
|
|
3078
3078
|
}
|
|
3079
|
-
function
|
|
3080
|
-
let i = o, s =
|
|
3079
|
+
function ho(o, t, e) {
|
|
3080
|
+
let i = o, s = fs(t), r = s[s.length - 1];
|
|
3081
3081
|
if (s.length > 1) {
|
|
3082
3082
|
for (let n = 0; n < s.length - 1; n++) {
|
|
3083
3083
|
let a = s[n];
|
|
@@ -3098,15 +3098,15 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3098
3098
|
Code distributed by Google as part of the polymer project is also
|
|
3099
3099
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3100
3100
|
*/
|
|
3101
|
-
const Ct = {},
|
|
3102
|
-
function
|
|
3101
|
+
const Ct = {}, Vn = /-[a-z]/g, Un = /([A-Z])/g;
|
|
3102
|
+
function ms(o) {
|
|
3103
3103
|
return Ct[o] || (Ct[o] = o.indexOf("-") < 0 ? o : o.replace(
|
|
3104
|
-
|
|
3104
|
+
Vn,
|
|
3105
3105
|
(t) => t[1].toUpperCase()
|
|
3106
3106
|
));
|
|
3107
3107
|
}
|
|
3108
3108
|
function St(o) {
|
|
3109
|
-
return Ct[o] || (Ct[o] = o.replace(
|
|
3109
|
+
return Ct[o] || (Ct[o] = o.replace(Un, "-$1").toLowerCase());
|
|
3110
3110
|
}
|
|
3111
3111
|
/**
|
|
3112
3112
|
@license
|
|
@@ -3117,9 +3117,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3117
3117
|
Code distributed by Google as part of the polymer project is also
|
|
3118
3118
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3119
3119
|
*/
|
|
3120
|
-
let
|
|
3121
|
-
new window.MutationObserver(
|
|
3122
|
-
function
|
|
3120
|
+
let jn = 0, _s = 0, Fe = [], Yn = 0, ti = !1, gs = document.createTextNode("");
|
|
3121
|
+
new window.MutationObserver(Wn).observe(gs, { characterData: !0 });
|
|
3122
|
+
function Wn() {
|
|
3123
3123
|
ti = !1;
|
|
3124
3124
|
const o = Fe.length;
|
|
3125
3125
|
for (let t = 0; t < o; t++) {
|
|
@@ -3133,9 +3133,9 @@ function qn() {
|
|
|
3133
3133
|
});
|
|
3134
3134
|
}
|
|
3135
3135
|
}
|
|
3136
|
-
Fe.splice(0, o),
|
|
3136
|
+
Fe.splice(0, o), _s += o;
|
|
3137
3137
|
}
|
|
3138
|
-
const
|
|
3138
|
+
const qn = {
|
|
3139
3139
|
/**
|
|
3140
3140
|
* Returns a sub-module with the async interface providing the provided
|
|
3141
3141
|
* delay.
|
|
@@ -3175,7 +3175,7 @@ const Kn = {
|
|
|
3175
3175
|
cancel(o) {
|
|
3176
3176
|
window.clearTimeout(o);
|
|
3177
3177
|
}
|
|
3178
|
-
},
|
|
3178
|
+
}, ys = {
|
|
3179
3179
|
/**
|
|
3180
3180
|
* Enqueues a function called at microtask timing.
|
|
3181
3181
|
*
|
|
@@ -3184,7 +3184,7 @@ const Kn = {
|
|
|
3184
3184
|
* @return {number} Handle used for canceling task
|
|
3185
3185
|
*/
|
|
3186
3186
|
run(o) {
|
|
3187
|
-
return ti || (ti = !0,
|
|
3187
|
+
return ti || (ti = !0, gs.textContent = Yn++), Fe.push(o), jn++;
|
|
3188
3188
|
},
|
|
3189
3189
|
/**
|
|
3190
3190
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -3194,7 +3194,7 @@ const Kn = {
|
|
|
3194
3194
|
* @return {void}
|
|
3195
3195
|
*/
|
|
3196
3196
|
cancel(o) {
|
|
3197
|
-
const t = o -
|
|
3197
|
+
const t = o - _s;
|
|
3198
3198
|
if (t >= 0) {
|
|
3199
3199
|
if (!Fe[t])
|
|
3200
3200
|
throw new Error("invalid async handle: " + o);
|
|
@@ -3211,7 +3211,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3211
3211
|
Code distributed by Google as part of the polymer project is also
|
|
3212
3212
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3213
3213
|
*/
|
|
3214
|
-
const
|
|
3214
|
+
const Kn = ys, vs = U(
|
|
3215
3215
|
/**
|
|
3216
3216
|
* @template T
|
|
3217
3217
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -3420,7 +3420,7 @@ const Gn = vs, bs = U(
|
|
|
3420
3420
|
* @override
|
|
3421
3421
|
*/
|
|
3422
3422
|
_invalidateProperties() {
|
|
3423
|
-
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0,
|
|
3423
|
+
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0, Kn.run(() => {
|
|
3424
3424
|
this.__dataInvalid && (this.__dataInvalid = !1, this._flushProperties());
|
|
3425
3425
|
}));
|
|
3426
3426
|
}
|
|
@@ -3647,23 +3647,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3647
3647
|
Code distributed by Google as part of the polymer project is also
|
|
3648
3648
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3649
3649
|
*/
|
|
3650
|
-
const
|
|
3650
|
+
const bs = {};
|
|
3651
3651
|
let ht = HTMLElement.prototype;
|
|
3652
3652
|
for (; ht; ) {
|
|
3653
3653
|
let o = Object.getOwnPropertyNames(ht);
|
|
3654
3654
|
for (let t = 0; t < o.length; t++)
|
|
3655
|
-
|
|
3655
|
+
bs[o[t]] = !0;
|
|
3656
3656
|
ht = Object.getPrototypeOf(ht);
|
|
3657
3657
|
}
|
|
3658
|
-
const
|
|
3659
|
-
function
|
|
3660
|
-
if (!
|
|
3658
|
+
const Gn = window.trustedTypes ? (o) => trustedTypes.isHTML(o) || trustedTypes.isScript(o) || trustedTypes.isScriptURL(o) : () => !1;
|
|
3659
|
+
function Jn(o, t) {
|
|
3660
|
+
if (!bs[t]) {
|
|
3661
3661
|
let e = o[t];
|
|
3662
3662
|
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));
|
|
3663
3663
|
}
|
|
3664
3664
|
}
|
|
3665
|
-
const
|
|
3666
|
-
const t =
|
|
3665
|
+
const Xn = U((o) => {
|
|
3666
|
+
const t = vs(o);
|
|
3667
3667
|
class e extends t {
|
|
3668
3668
|
/**
|
|
3669
3669
|
* Generates property accessors for all attributes in the standard
|
|
@@ -3681,7 +3681,7 @@ const Zn = U((o) => {
|
|
|
3681
3681
|
this.observedAttributes
|
|
3682
3682
|
);
|
|
3683
3683
|
for (let r = 0; r < s.length; r++)
|
|
3684
|
-
this.prototype._createPropertyAccessor(
|
|
3684
|
+
this.prototype._createPropertyAccessor(ms(s[r]));
|
|
3685
3685
|
}
|
|
3686
3686
|
/**
|
|
3687
3687
|
* Returns an attribute name that corresponds to the given property.
|
|
@@ -3758,7 +3758,7 @@ const Zn = U((o) => {
|
|
|
3758
3758
|
if (s instanceof Date)
|
|
3759
3759
|
return s.toString();
|
|
3760
3760
|
if (s) {
|
|
3761
|
-
if (
|
|
3761
|
+
if (Gn(s))
|
|
3762
3762
|
return (
|
|
3763
3763
|
/** @type {?} */
|
|
3764
3764
|
s
|
|
@@ -3839,7 +3839,7 @@ const Zn = U((o) => {
|
|
|
3839
3839
|
* @override
|
|
3840
3840
|
*/
|
|
3841
3841
|
_definePropertyAccessor(s, r) {
|
|
3842
|
-
|
|
3842
|
+
Jn(this, s), super._definePropertyAccessor(s, r);
|
|
3843
3843
|
}
|
|
3844
3844
|
/**
|
|
3845
3845
|
* Returns true if this library created an accessor for the given property.
|
|
@@ -3874,23 +3874,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3874
3874
|
Code distributed by Google as part of the polymer project is also
|
|
3875
3875
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3876
3876
|
*/
|
|
3877
|
-
const
|
|
3877
|
+
const Zn = {
|
|
3878
3878
|
"dom-if": !0,
|
|
3879
3879
|
"dom-repeat": !0
|
|
3880
3880
|
};
|
|
3881
|
-
let
|
|
3882
|
-
function
|
|
3883
|
-
if (!
|
|
3884
|
-
|
|
3881
|
+
let po = !1, fo = !1;
|
|
3882
|
+
function Qn() {
|
|
3883
|
+
if (!po) {
|
|
3884
|
+
po = !0;
|
|
3885
3885
|
const o = document.createElement("textarea");
|
|
3886
|
-
o.placeholder = "a",
|
|
3886
|
+
o.placeholder = "a", fo = o.placeholder === o.textContent;
|
|
3887
3887
|
}
|
|
3888
|
-
return
|
|
3888
|
+
return fo;
|
|
3889
3889
|
}
|
|
3890
|
-
function
|
|
3891
|
-
|
|
3890
|
+
function ea(o) {
|
|
3891
|
+
Qn() && o.localName === "textarea" && o.placeholder && o.placeholder === o.textContent && (o.textContent = null);
|
|
3892
3892
|
}
|
|
3893
|
-
const
|
|
3893
|
+
const ta = (() => {
|
|
3894
3894
|
const o = window.trustedTypes && window.trustedTypes.createPolicy(
|
|
3895
3895
|
"polymer-template-event-attribute-policy",
|
|
3896
3896
|
{
|
|
@@ -3909,19 +3909,19 @@ const ia = (() => {
|
|
|
3909
3909
|
t.setAttribute(i, s);
|
|
3910
3910
|
};
|
|
3911
3911
|
})();
|
|
3912
|
-
function
|
|
3912
|
+
function ia(o) {
|
|
3913
3913
|
let t = o.getAttribute("is");
|
|
3914
|
-
if (t &&
|
|
3914
|
+
if (t && Zn[t]) {
|
|
3915
3915
|
let e = o;
|
|
3916
3916
|
for (e.removeAttribute("is"), o = e.ownerDocument.createElement(t), e.parentNode.replaceChild(o, e), o.appendChild(e); e.attributes.length; ) {
|
|
3917
3917
|
const { name: i } = e.attributes[0];
|
|
3918
|
-
|
|
3918
|
+
ta(o, e, i), e.removeAttribute(i);
|
|
3919
3919
|
}
|
|
3920
3920
|
}
|
|
3921
3921
|
return o;
|
|
3922
3922
|
}
|
|
3923
|
-
function
|
|
3924
|
-
let e = t.parentInfo &&
|
|
3923
|
+
function ws(o, t) {
|
|
3924
|
+
let e = t.parentInfo && ws(o, t.parentInfo);
|
|
3925
3925
|
if (e) {
|
|
3926
3926
|
for (let i = e.firstChild, s = 0; i; i = i.nextSibling)
|
|
3927
3927
|
if (t.parentIndex === s++)
|
|
@@ -3929,23 +3929,23 @@ function xs(o, t) {
|
|
|
3929
3929
|
} else
|
|
3930
3930
|
return o;
|
|
3931
3931
|
}
|
|
3932
|
-
function
|
|
3932
|
+
function oa(o, t, e, i) {
|
|
3933
3933
|
i.id && (t[i.id] = e);
|
|
3934
3934
|
}
|
|
3935
|
-
function
|
|
3935
|
+
function sa(o, t, e) {
|
|
3936
3936
|
if (e.events && e.events.length)
|
|
3937
3937
|
for (let i = 0, s = e.events, r; i < s.length && (r = s[i]); i++)
|
|
3938
3938
|
o._addMethodEventListenerToNode(t, r.name, r.value, o);
|
|
3939
3939
|
}
|
|
3940
|
-
function
|
|
3940
|
+
function ra(o, t, e, i) {
|
|
3941
3941
|
e.templateInfo && (t._templateInfo = e.templateInfo, t._parentTemplateInfo = i);
|
|
3942
3942
|
}
|
|
3943
|
-
function
|
|
3943
|
+
function na(o, t, e) {
|
|
3944
3944
|
return o = o._methodHost || o, function(s) {
|
|
3945
3945
|
o[e] ? o[e](s, s.detail) : console.warn("listener method `" + e + "` not defined");
|
|
3946
3946
|
};
|
|
3947
3947
|
}
|
|
3948
|
-
const
|
|
3948
|
+
const aa = U(
|
|
3949
3949
|
/**
|
|
3950
3950
|
* @template T
|
|
3951
3951
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -4072,7 +4072,7 @@ const la = U(
|
|
|
4072
4072
|
/** @type {!HTMLTemplateElement} */
|
|
4073
4073
|
i
|
|
4074
4074
|
);
|
|
4075
|
-
return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, s, r) || n : a.localName === "slot" && (s.hasInsertionPoint = !0),
|
|
4075
|
+
return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, s, r) || n : a.localName === "slot" && (s.hasInsertionPoint = !0), ea(a), a.firstChild && this._parseTemplateChildNodes(a, s, r), a.hasAttributes && a.hasAttributes() && (n = this._parseTemplateNodeAttributes(a, s, r) || n), n || r.noted;
|
|
4076
4076
|
}
|
|
4077
4077
|
/**
|
|
4078
4078
|
* Parses template child nodes for the given root node.
|
|
@@ -4090,7 +4090,7 @@ const la = U(
|
|
|
4090
4090
|
static _parseTemplateChildNodes(i, s, r) {
|
|
4091
4091
|
if (!(i.localName === "script" || i.localName === "style"))
|
|
4092
4092
|
for (let n = i.firstChild, a = 0, l; n; n = l) {
|
|
4093
|
-
if (n.localName == "template" && (n =
|
|
4093
|
+
if (n.localName == "template" && (n = ia(n)), l = n.nextSibling, n.nodeType === Node.TEXT_NODE) {
|
|
4094
4094
|
let c = l;
|
|
4095
4095
|
for (; c && c.nodeType === Node.TEXT_NODE; )
|
|
4096
4096
|
n.textContent += c.textContent, l = c.nextSibling, i.removeChild(c), c = l;
|
|
@@ -4225,8 +4225,8 @@ const la = U(
|
|
|
4225
4225
|
let l = a.nodeList = new Array(r.length);
|
|
4226
4226
|
a.$ = {};
|
|
4227
4227
|
for (let d = 0, c = r.length, u; d < c && (u = r[d]); d++) {
|
|
4228
|
-
let h = l[d] =
|
|
4229
|
-
|
|
4228
|
+
let h = l[d] = ws(a, u);
|
|
4229
|
+
oa(this, a.$, h, u), ra(this, h, u, s), sa(this, h, u);
|
|
4230
4230
|
}
|
|
4231
4231
|
return a = /** @type {!StampedTemplate} */
|
|
4232
4232
|
a, a;
|
|
@@ -4247,7 +4247,7 @@ const la = U(
|
|
|
4247
4247
|
*/
|
|
4248
4248
|
_addMethodEventListenerToNode(i, s, r, n) {
|
|
4249
4249
|
n = n || i;
|
|
4250
|
-
let a =
|
|
4250
|
+
let a = na(n, s, r);
|
|
4251
4251
|
return this._addEventListenerToNode(i, s, a), a;
|
|
4252
4252
|
}
|
|
4253
4253
|
/**
|
|
@@ -4297,7 +4297,7 @@ const at = [], O = {
|
|
|
4297
4297
|
PROPAGATE: "__propagateEffects",
|
|
4298
4298
|
OBSERVE: "__observeEffects",
|
|
4299
4299
|
READ_ONLY: "__readOnly"
|
|
4300
|
-
},
|
|
4300
|
+
}, xs = "__computeInfo", la = /[A-Z]/;
|
|
4301
4301
|
function Ft(o, t, e) {
|
|
4302
4302
|
let i = o[t];
|
|
4303
4303
|
if (!i)
|
|
@@ -4324,7 +4324,7 @@ function Xe(o, t, e, i, s, r) {
|
|
|
4324
4324
|
}
|
|
4325
4325
|
return !1;
|
|
4326
4326
|
}
|
|
4327
|
-
function
|
|
4327
|
+
function da(o, t, e, i, s, r, n, a) {
|
|
4328
4328
|
let l = !1, d = n ? Se(i) : i, c = t[d];
|
|
4329
4329
|
if (c)
|
|
4330
4330
|
for (let u = 0, h = c.length, p; u < h && (p = c[u]); u++)
|
|
@@ -4337,30 +4337,30 @@ function ki(o, t) {
|
|
|
4337
4337
|
/** @type {string} */
|
|
4338
4338
|
t.name
|
|
4339
4339
|
);
|
|
4340
|
-
return e == o || !!(t.structured &&
|
|
4340
|
+
return e == o || !!(t.structured && ps(e, o)) || !!(t.wildcard && st(e, o));
|
|
4341
4341
|
} else
|
|
4342
4342
|
return !0;
|
|
4343
4343
|
}
|
|
4344
|
-
function
|
|
4344
|
+
function mo(o, t, e, i, s) {
|
|
4345
4345
|
let r = typeof s.method == "string" ? o[s.method] : s.method, n = s.property;
|
|
4346
4346
|
r ? r.call(o, o.__data[n], i[n]) : s.dynamicFn || console.warn("observer method `" + s.method + "` not defined");
|
|
4347
4347
|
}
|
|
4348
|
-
function
|
|
4348
|
+
function ca(o, t, e, i, s) {
|
|
4349
4349
|
let r = o[O.NOTIFY], n, a = nt++;
|
|
4350
4350
|
for (let d in t)
|
|
4351
|
-
t[d] && (r &&
|
|
4351
|
+
t[d] && (r && da(o, r, a, d, e, i, s) || s && ua(o, d, e)) && (n = !0);
|
|
4352
4352
|
let l;
|
|
4353
4353
|
n && (l = o.__dataHost) && l._invalidateProperties && l._invalidateProperties();
|
|
4354
4354
|
}
|
|
4355
|
-
function
|
|
4355
|
+
function ua(o, t, e) {
|
|
4356
4356
|
let i = Se(t);
|
|
4357
4357
|
if (i !== t) {
|
|
4358
4358
|
let s = St(i) + "-changed";
|
|
4359
|
-
return
|
|
4359
|
+
return Cs(o, s, e[t], t), !0;
|
|
4360
4360
|
}
|
|
4361
4361
|
return !1;
|
|
4362
4362
|
}
|
|
4363
|
-
function
|
|
4363
|
+
function Cs(o, t, e, i) {
|
|
4364
4364
|
let s = {
|
|
4365
4365
|
value: e,
|
|
4366
4366
|
queueProperty: !0
|
|
@@ -4370,18 +4370,18 @@ function As(o, t, e, i) {
|
|
|
4370
4370
|
o
|
|
4371
4371
|
).dispatchEvent(new CustomEvent(t, { detail: s }));
|
|
4372
4372
|
}
|
|
4373
|
-
function
|
|
4373
|
+
function ha(o, t, e, i, s, r) {
|
|
4374
4374
|
let a = (r ? Se(t) : t) != t ? t : null, l = a ? J(o, a) : o.__data[t];
|
|
4375
|
-
a && l === void 0 && (l = e[t]),
|
|
4375
|
+
a && l === void 0 && (l = e[t]), Cs(o, s.eventName, l, a);
|
|
4376
4376
|
}
|
|
4377
|
-
function
|
|
4377
|
+
function pa(o, t, e, i, s) {
|
|
4378
4378
|
let r, n = (
|
|
4379
4379
|
/** @type {Object} */
|
|
4380
4380
|
o.detail
|
|
4381
4381
|
), a = n && n.path;
|
|
4382
4382
|
a ? (i = rt(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();
|
|
4383
4383
|
}
|
|
4384
|
-
function
|
|
4384
|
+
function fa(o, t, e, i, s) {
|
|
4385
4385
|
let r = o.__data[t];
|
|
4386
4386
|
wt && (r = wt(
|
|
4387
4387
|
r,
|
|
@@ -4391,17 +4391,17 @@ function ma(o, t, e, i, s) {
|
|
|
4391
4391
|
o
|
|
4392
4392
|
)), o._propertyToAttribute(t, s.attrName, r);
|
|
4393
4393
|
}
|
|
4394
|
-
function
|
|
4394
|
+
function ma(o, t, e, i) {
|
|
4395
4395
|
let s = o[O.COMPUTE];
|
|
4396
4396
|
if (s)
|
|
4397
|
-
if (
|
|
4397
|
+
if (On) {
|
|
4398
4398
|
nt++;
|
|
4399
|
-
const r =
|
|
4399
|
+
const r = ga(o), n = [];
|
|
4400
4400
|
for (let l in t)
|
|
4401
|
-
|
|
4401
|
+
_o(l, s, n, r, i);
|
|
4402
4402
|
let a;
|
|
4403
4403
|
for (; a = n.shift(); )
|
|
4404
|
-
|
|
4404
|
+
As(o, "", t, e, a) && _o(a.methodInfo, s, n, r, i);
|
|
4405
4405
|
Object.assign(
|
|
4406
4406
|
/** @type {!Object} */
|
|
4407
4407
|
e,
|
|
@@ -4425,7 +4425,7 @@ function _a(o, t, e, i) {
|
|
|
4425
4425
|
), r = o.__dataPending, o.__dataPending = null;
|
|
4426
4426
|
}
|
|
4427
4427
|
}
|
|
4428
|
-
const
|
|
4428
|
+
const _a = (o, t, e) => {
|
|
4429
4429
|
let i = 0, s = t.length - 1, r = -1;
|
|
4430
4430
|
for (; i <= s; ) {
|
|
4431
4431
|
const n = i + s >> 1, a = e.get(t[n].methodInfo) - e.get(o.methodInfo);
|
|
@@ -4439,20 +4439,20 @@ const ga = (o, t, e) => {
|
|
|
4439
4439
|
}
|
|
4440
4440
|
}
|
|
4441
4441
|
r < 0 && (r = s + 1), t.splice(r, 0, o);
|
|
4442
|
-
},
|
|
4442
|
+
}, _o = (o, t, e, i, s) => {
|
|
4443
4443
|
const r = s ? Se(o) : o, n = t[r];
|
|
4444
4444
|
if (n)
|
|
4445
4445
|
for (let a = 0; a < n.length; a++) {
|
|
4446
4446
|
const l = n[a];
|
|
4447
|
-
l.info.lastRun !== nt && (!s || ki(o, l.trigger)) && (l.info.lastRun = nt,
|
|
4447
|
+
l.info.lastRun !== nt && (!s || ki(o, l.trigger)) && (l.info.lastRun = nt, _a(l.info, e, i));
|
|
4448
4448
|
}
|
|
4449
4449
|
};
|
|
4450
|
-
function
|
|
4450
|
+
function ga(o) {
|
|
4451
4451
|
let t = o.constructor.__orderedComputedDeps;
|
|
4452
4452
|
if (!t) {
|
|
4453
4453
|
t = /* @__PURE__ */ new Map();
|
|
4454
4454
|
const e = o[O.COMPUTE];
|
|
4455
|
-
let { counts: i, ready: s, total: r } =
|
|
4455
|
+
let { counts: i, ready: s, total: r } = ya(o), n;
|
|
4456
4456
|
for (; n = s.shift(); ) {
|
|
4457
4457
|
t.set(n, t.size);
|
|
4458
4458
|
const a = e[n];
|
|
@@ -4466,8 +4466,8 @@ function ya(o) {
|
|
|
4466
4466
|
}
|
|
4467
4467
|
return t;
|
|
4468
4468
|
}
|
|
4469
|
-
function
|
|
4470
|
-
const t = o[
|
|
4469
|
+
function ya(o) {
|
|
4470
|
+
const t = o[xs], e = {}, i = o[O.COMPUTE], s = [];
|
|
4471
4471
|
let r = 0;
|
|
4472
4472
|
for (let n in t) {
|
|
4473
4473
|
const a = t[n];
|
|
@@ -4477,14 +4477,14 @@ function va(o) {
|
|
|
4477
4477
|
t[n] || s.push(n);
|
|
4478
4478
|
return { counts: e, ready: s, total: r };
|
|
4479
4479
|
}
|
|
4480
|
-
function
|
|
4480
|
+
function As(o, t, e, i, s) {
|
|
4481
4481
|
let r = ii(o, t, e, i, s);
|
|
4482
4482
|
if (r === at)
|
|
4483
4483
|
return !1;
|
|
4484
4484
|
let n = s.methodInfo;
|
|
4485
4485
|
return o.__dataHasAccessor && o.__dataHasAccessor[n] ? o._setPendingProperty(n, r, !0) : (o[n] = r, !1);
|
|
4486
4486
|
}
|
|
4487
|
-
function
|
|
4487
|
+
function va(o, t, e) {
|
|
4488
4488
|
let i = o.__dataLinkedPaths;
|
|
4489
4489
|
if (i) {
|
|
4490
4490
|
let s;
|
|
@@ -4497,17 +4497,17 @@ function ba(o, t, e) {
|
|
|
4497
4497
|
function zt(o, t, e, i, s, r, n) {
|
|
4498
4498
|
e.bindings = e.bindings || [];
|
|
4499
4499
|
let a = { kind: i, target: s, parts: r, literal: n, isCompound: r.length !== 1 };
|
|
4500
|
-
if (e.bindings.push(a),
|
|
4500
|
+
if (e.bindings.push(a), Aa(a)) {
|
|
4501
4501
|
let { event: d, negate: c } = a.parts[0];
|
|
4502
4502
|
a.listenerEvent = d || St(s) + "-changed", a.listenerNegate = c;
|
|
4503
4503
|
}
|
|
4504
4504
|
let l = t.nodeInfoList.length;
|
|
4505
4505
|
for (let d = 0; d < a.parts.length; d++) {
|
|
4506
4506
|
let c = a.parts[d];
|
|
4507
|
-
c.compoundIndex = d,
|
|
4507
|
+
c.compoundIndex = d, ba(o, t, a, c, l);
|
|
4508
4508
|
}
|
|
4509
4509
|
}
|
|
4510
|
-
function
|
|
4510
|
+
function ba(o, t, e, i, s) {
|
|
4511
4511
|
if (!i.literal)
|
|
4512
4512
|
if (e.kind === "attribute" && e.target[0] === "-")
|
|
4513
4513
|
console.warn("Cannot set attribute " + e.target + ' because "-" is not a valid attribute starting character');
|
|
@@ -4515,26 +4515,26 @@ function wa(o, t, e, i, s) {
|
|
|
4515
4515
|
let r = i.dependencies, n = { index: s, binding: e, part: i, evaluator: o };
|
|
4516
4516
|
for (let a = 0; a < r.length; a++) {
|
|
4517
4517
|
let l = r[a];
|
|
4518
|
-
typeof l == "string" && (l =
|
|
4519
|
-
fn:
|
|
4518
|
+
typeof l == "string" && (l = Ds(l), l.wildcard = !0), o._addTemplatePropertyEffect(t, l.rootProperty, {
|
|
4519
|
+
fn: wa,
|
|
4520
4520
|
info: n,
|
|
4521
4521
|
trigger: l
|
|
4522
4522
|
});
|
|
4523
4523
|
}
|
|
4524
4524
|
}
|
|
4525
4525
|
}
|
|
4526
|
-
function
|
|
4526
|
+
function wa(o, t, e, i, s, r, n) {
|
|
4527
4527
|
let a = n[s.index], l = s.binding, d = s.part;
|
|
4528
4528
|
if (r && d.source && t.length > d.source.length && l.kind == "property" && !l.isCompound && a.__isPropertyEffectsClient && a.__dataHasAccessor && a.__dataHasAccessor[l.target]) {
|
|
4529
4529
|
let c = e[t];
|
|
4530
4530
|
t = rt(d.source, l.target, t), a._setPendingPropertyOrPath(t, c, !1, !0) && o._enqueueClient(a);
|
|
4531
4531
|
} else {
|
|
4532
4532
|
let c = s.evaluator._evaluateBinding(o, d, t, e, i, r);
|
|
4533
|
-
c !== at &&
|
|
4533
|
+
c !== at && xa(o, a, l, d, c);
|
|
4534
4534
|
}
|
|
4535
4535
|
}
|
|
4536
|
-
function
|
|
4537
|
-
if (s =
|
|
4536
|
+
function xa(o, t, e, i, s) {
|
|
4537
|
+
if (s = Ca(t, s, e, i), wt && (s = wt(s, e.target, e.kind, t)), e.kind == "attribute")
|
|
4538
4538
|
o._valueToNodeAttribute(
|
|
4539
4539
|
/** @type {Element} */
|
|
4540
4540
|
t,
|
|
@@ -4546,17 +4546,17 @@ function Ca(o, t, e, i, s) {
|
|
|
4546
4546
|
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);
|
|
4547
4547
|
}
|
|
4548
4548
|
}
|
|
4549
|
-
function
|
|
4549
|
+
function Ca(o, t, e, i) {
|
|
4550
4550
|
if (e.isCompound) {
|
|
4551
4551
|
let s = o.__dataCompoundStorage[e.target];
|
|
4552
4552
|
s[i.compoundIndex] = t, t = s.join("");
|
|
4553
4553
|
}
|
|
4554
4554
|
return e.kind !== "attribute" && (e.target === "textContent" || e.target === "value" && (o.localName === "input" || o.localName === "textarea")) && (t = t ?? ""), t;
|
|
4555
4555
|
}
|
|
4556
|
-
function
|
|
4556
|
+
function Aa(o) {
|
|
4557
4557
|
return !!o.target && o.kind != "attribute" && o.kind != "text" && !o.isCompound && o.parts[0].mode === "{";
|
|
4558
4558
|
}
|
|
4559
|
-
function
|
|
4559
|
+
function Ta(o, t) {
|
|
4560
4560
|
let { nodeList: e, nodeInfoList: i } = t;
|
|
4561
4561
|
if (i.length)
|
|
4562
4562
|
for (let s = 0; s < i.length; s++) {
|
|
@@ -4564,12 +4564,12 @@ function Da(o, t) {
|
|
|
4564
4564
|
if (a)
|
|
4565
4565
|
for (let l = 0; l < a.length; l++) {
|
|
4566
4566
|
let d = a[l];
|
|
4567
|
-
|
|
4567
|
+
Da(n, d), Ea(n, o, d);
|
|
4568
4568
|
}
|
|
4569
4569
|
n.__dataHost = o;
|
|
4570
4570
|
}
|
|
4571
4571
|
}
|
|
4572
|
-
function
|
|
4572
|
+
function Da(o, t) {
|
|
4573
4573
|
if (t.isCompound) {
|
|
4574
4574
|
let e = o.__dataCompoundStorage || (o.__dataCompoundStorage = {}), i = t.parts, s = new Array(i.length);
|
|
4575
4575
|
for (let n = 0; n < i.length; n++)
|
|
@@ -4578,15 +4578,15 @@ function Ea(o, t) {
|
|
|
4578
4578
|
e[r] = s, t.literal && t.kind == "property" && (r === "className" && (o = W(o)), o[r] = t.literal);
|
|
4579
4579
|
}
|
|
4580
4580
|
}
|
|
4581
|
-
function
|
|
4581
|
+
function Ea(o, t, e) {
|
|
4582
4582
|
if (e.listenerEvent) {
|
|
4583
4583
|
let i = e.parts[0];
|
|
4584
4584
|
o.addEventListener(e.listenerEvent, function(s) {
|
|
4585
|
-
|
|
4585
|
+
pa(s, t, e.target, i.source, i.negate);
|
|
4586
4586
|
});
|
|
4587
4587
|
}
|
|
4588
4588
|
}
|
|
4589
|
-
function
|
|
4589
|
+
function go(o, t, e, i, s, r) {
|
|
4590
4590
|
r = t.static || r && (typeof r != "object" || r[t.methodName]);
|
|
4591
4591
|
let n = {
|
|
4592
4592
|
methodName: t.methodName,
|
|
@@ -4613,8 +4613,8 @@ function ii(o, t, e, i, s) {
|
|
|
4613
4613
|
} else
|
|
4614
4614
|
s.dynamicFn || console.warn("method `" + s.methodName + "` not defined");
|
|
4615
4615
|
}
|
|
4616
|
-
const
|
|
4617
|
-
function
|
|
4616
|
+
const ka = [], Ts = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", Sa = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", Pa = "(?:'(?:[^'\\\\]|\\\\.)*')", Oa = '(?:"(?:[^"\\\\]|\\\\.)*")', Ma = "(?:" + Pa + "|" + Oa + ")", yo = "(?:(" + Ts + "|" + Sa + "|" + Ma + ")\\s*)", Ia = "(?:" + yo + "(?:,\\s*" + yo + ")*)", Na = "(?:\\(\\s*(?:" + Ia + "?)\\)\\s*)", Fa = "(" + Ts + "\\s*" + Na + "?)", za = "(\\[\\[|{{)\\s*", La = "(?:]]|}})", $a = "(?:(!)\\s*)?", Ra = za + $a + Fa + La, vo = new RegExp(Ra, "g");
|
|
4617
|
+
function bo(o) {
|
|
4618
4618
|
let t = "";
|
|
4619
4619
|
for (let e = 0; e < o.length; e++) {
|
|
4620
4620
|
let i = o[e].literal;
|
|
@@ -4625,22 +4625,22 @@ function wo(o) {
|
|
|
4625
4625
|
function Lt(o) {
|
|
4626
4626
|
let t = o.match(/([^\s]+?)\(([\s\S]*)\)/);
|
|
4627
4627
|
if (t) {
|
|
4628
|
-
let i = { methodName: t[1], static: !0, args:
|
|
4628
|
+
let i = { methodName: t[1], static: !0, args: ka };
|
|
4629
4629
|
if (t[2].trim()) {
|
|
4630
4630
|
let s = t[2].replace(/\\,/g, ",").split(",");
|
|
4631
|
-
return
|
|
4631
|
+
return Ha(s, i);
|
|
4632
4632
|
} else
|
|
4633
4633
|
return i;
|
|
4634
4634
|
}
|
|
4635
4635
|
return null;
|
|
4636
4636
|
}
|
|
4637
|
-
function
|
|
4637
|
+
function Ha(o, t) {
|
|
4638
4638
|
return t.args = o.map(function(e) {
|
|
4639
|
-
let i =
|
|
4639
|
+
let i = Ds(e);
|
|
4640
4640
|
return i.literal || (t.static = !1), i;
|
|
4641
4641
|
}, this), t;
|
|
4642
4642
|
}
|
|
4643
|
-
function
|
|
4643
|
+
function Ds(o) {
|
|
4644
4644
|
let t = o.trim().replace(/,/g, ",").replace(/\\(.)/g, "$1"), e = {
|
|
4645
4645
|
name: t,
|
|
4646
4646
|
value: "",
|
|
@@ -4657,16 +4657,16 @@ function Es(o) {
|
|
|
4657
4657
|
}
|
|
4658
4658
|
return e.literal || (e.rootProperty = Se(t), e.structured = ei(t), e.structured && (e.wildcard = t.slice(-2) == ".*", e.wildcard && (e.name = t.slice(0, -2)))), e;
|
|
4659
4659
|
}
|
|
4660
|
-
function
|
|
4660
|
+
function wo(o, t, e) {
|
|
4661
4661
|
let i = J(o, e);
|
|
4662
4662
|
return i === void 0 && (i = t[e]), i;
|
|
4663
4663
|
}
|
|
4664
|
-
function
|
|
4664
|
+
function Es(o, t, e, i) {
|
|
4665
4665
|
const s = { indexSplices: i };
|
|
4666
4666
|
Qt && !o._overrideLegacyUndefined && (t.splices = s), o.notifyPath(e + ".splices", s), o.notifyPath(e + ".length", t.length), Qt && !o._overrideLegacyUndefined && (s.indexSplices = []);
|
|
4667
4667
|
}
|
|
4668
4668
|
function We(o, t, e, i, s, r) {
|
|
4669
|
-
|
|
4669
|
+
Es(o, t, e, [{
|
|
4670
4670
|
index: i,
|
|
4671
4671
|
addedCount: s,
|
|
4672
4672
|
removed: r,
|
|
@@ -4674,11 +4674,11 @@ function We(o, t, e, i, s, r) {
|
|
|
4674
4674
|
type: "splice"
|
|
4675
4675
|
}]);
|
|
4676
4676
|
}
|
|
4677
|
-
function
|
|
4677
|
+
function Ba(o) {
|
|
4678
4678
|
return o[0].toUpperCase() + o.substring(1);
|
|
4679
4679
|
}
|
|
4680
4680
|
const Si = U((o) => {
|
|
4681
|
-
const t =
|
|
4681
|
+
const t = aa(Xn(o));
|
|
4682
4682
|
class e extends t {
|
|
4683
4683
|
constructor() {
|
|
4684
4684
|
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;
|
|
@@ -4857,7 +4857,7 @@ const Si = U((o) => {
|
|
|
4857
4857
|
if (!a) {
|
|
4858
4858
|
let l = J(this, s);
|
|
4859
4859
|
if (s = /** @type {string} */
|
|
4860
|
-
|
|
4860
|
+
ho(this, s, r), !s || !super._shouldPropertyChange(s, r, l))
|
|
4861
4861
|
return !1;
|
|
4862
4862
|
}
|
|
4863
4863
|
if (this.__dataHasPaths = !0, this._setPendingProperty(
|
|
@@ -4866,7 +4866,7 @@ const Si = U((o) => {
|
|
|
4866
4866
|
r,
|
|
4867
4867
|
n
|
|
4868
4868
|
))
|
|
4869
|
-
return
|
|
4869
|
+
return va(
|
|
4870
4870
|
this,
|
|
4871
4871
|
/**@type{string}*/
|
|
4872
4872
|
s,
|
|
@@ -5082,7 +5082,7 @@ const Si = U((o) => {
|
|
|
5082
5082
|
let a = this.__dataHasPaths;
|
|
5083
5083
|
this.__dataHasPaths = !1;
|
|
5084
5084
|
let l;
|
|
5085
|
-
|
|
5085
|
+
ma(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(), Xe(this, this[O.REFLECT], r, n, a), Xe(this, this[O.OBSERVE], r, n, a), l && ca(this, l, r, n, a), this.__dataCounter == 1 && (this.__dataTemp = {});
|
|
5086
5086
|
}
|
|
5087
5087
|
/**
|
|
5088
5088
|
* Called to propagate any property changes to stamped template nodes
|
|
@@ -5179,7 +5179,7 @@ const Si = U((o) => {
|
|
|
5179
5179
|
/** @type {Array} */
|
|
5180
5180
|
J(this, s, n)
|
|
5181
5181
|
);
|
|
5182
|
-
|
|
5182
|
+
Es(this, a, n.path, r);
|
|
5183
5183
|
}
|
|
5184
5184
|
/**
|
|
5185
5185
|
* Convenience method for reading a value from a path.
|
|
@@ -5227,7 +5227,7 @@ const Si = U((o) => {
|
|
|
5227
5227
|
* @public
|
|
5228
5228
|
*/
|
|
5229
5229
|
set(s, r, n) {
|
|
5230
|
-
n ?
|
|
5230
|
+
n ? ho(n, s, r) : (!this[O.READ_ONLY] || !this[O.READ_ONLY][
|
|
5231
5231
|
/** @type {string} */
|
|
5232
5232
|
s
|
|
5233
5233
|
]) && this._setPendingPropertyOrPath(s, r, !0) && this._invalidateProperties();
|
|
@@ -5382,7 +5382,7 @@ const Si = U((o) => {
|
|
|
5382
5382
|
* @protected
|
|
5383
5383
|
*/
|
|
5384
5384
|
_createReadOnlyProperty(s, r) {
|
|
5385
|
-
this._addPropertyEffect(s, O.READ_ONLY), r && (this["_set" +
|
|
5385
|
+
this._addPropertyEffect(s, O.READ_ONLY), r && (this["_set" + Ba(s)] = /** @this {PropertyEffects} */
|
|
5386
5386
|
function(n) {
|
|
5387
5387
|
this._setProperty(s, n);
|
|
5388
5388
|
});
|
|
@@ -5404,7 +5404,7 @@ const Si = U((o) => {
|
|
|
5404
5404
|
_createPropertyObserver(s, r, n) {
|
|
5405
5405
|
let a = { property: s, method: r, dynamicFn: !!n };
|
|
5406
5406
|
this._addPropertyEffect(s, O.OBSERVE, {
|
|
5407
|
-
fn:
|
|
5407
|
+
fn: mo,
|
|
5408
5408
|
info: a,
|
|
5409
5409
|
trigger: { name: s }
|
|
5410
5410
|
}), n && this._addPropertyEffect(
|
|
@@ -5412,7 +5412,7 @@ const Si = U((o) => {
|
|
|
5412
5412
|
r,
|
|
5413
5413
|
O.OBSERVE,
|
|
5414
5414
|
{
|
|
5415
|
-
fn:
|
|
5415
|
+
fn: mo,
|
|
5416
5416
|
info: a,
|
|
5417
5417
|
trigger: { name: r }
|
|
5418
5418
|
}
|
|
@@ -5434,7 +5434,7 @@ const Si = U((o) => {
|
|
|
5434
5434
|
let n = Lt(s);
|
|
5435
5435
|
if (!n)
|
|
5436
5436
|
throw new Error("Malformed observer expression '" + s + "'");
|
|
5437
|
-
|
|
5437
|
+
go(this, n, O.OBSERVE, ii, null, r);
|
|
5438
5438
|
}
|
|
5439
5439
|
/**
|
|
5440
5440
|
* Equivalent to static `createNotifyingProperty` API but can be called on
|
|
@@ -5448,7 +5448,7 @@ const Si = U((o) => {
|
|
|
5448
5448
|
*/
|
|
5449
5449
|
_createNotifyingProperty(s) {
|
|
5450
5450
|
this._addPropertyEffect(s, O.NOTIFY, {
|
|
5451
|
-
fn:
|
|
5451
|
+
fn: ha,
|
|
5452
5452
|
info: {
|
|
5453
5453
|
eventName: St(s) + "-changed",
|
|
5454
5454
|
property: s
|
|
@@ -5469,7 +5469,7 @@ const Si = U((o) => {
|
|
|
5469
5469
|
_createReflectedProperty(s) {
|
|
5470
5470
|
let r = this.constructor.attributeNameForProperty(s);
|
|
5471
5471
|
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, {
|
|
5472
|
-
fn:
|
|
5472
|
+
fn: fa,
|
|
5473
5473
|
info: {
|
|
5474
5474
|
attrName: r
|
|
5475
5475
|
}
|
|
@@ -5492,8 +5492,8 @@ const Si = U((o) => {
|
|
|
5492
5492
|
let a = Lt(r);
|
|
5493
5493
|
if (!a)
|
|
5494
5494
|
throw new Error("Malformed computed expression '" + r + "'");
|
|
5495
|
-
const l =
|
|
5496
|
-
Ft(this,
|
|
5495
|
+
const l = go(this, a, O.COMPUTE, As, s, n);
|
|
5496
|
+
Ft(this, xs)[s] = l;
|
|
5497
5497
|
}
|
|
5498
5498
|
/**
|
|
5499
5499
|
* Gather the argument values for a method specified in the provided array
|
|
@@ -5514,14 +5514,14 @@ const Si = U((o) => {
|
|
|
5514
5514
|
let { name: u, structured: h, wildcard: p, value: y, literal: D } = s[d];
|
|
5515
5515
|
if (!D)
|
|
5516
5516
|
if (p) {
|
|
5517
|
-
const E = st(u, r), T =
|
|
5517
|
+
const E = st(u, r), T = wo(a, n, E ? r : u);
|
|
5518
5518
|
y = {
|
|
5519
5519
|
path: E ? r : u,
|
|
5520
5520
|
value: T,
|
|
5521
5521
|
base: E ? J(a, u) : T
|
|
5522
5522
|
};
|
|
5523
5523
|
} else
|
|
5524
|
-
y = h ?
|
|
5524
|
+
y = h ? wo(a, n, u) : a[u];
|
|
5525
5525
|
if (Qt && !this._overrideLegacyUndefined && y === void 0 && s.length > 1)
|
|
5526
5526
|
return at;
|
|
5527
5527
|
l[d] = y;
|
|
@@ -5804,7 +5804,7 @@ const Si = U((o) => {
|
|
|
5804
5804
|
for (let l = n.firstChild; l; l = l.nextSibling)
|
|
5805
5805
|
a.push(l);
|
|
5806
5806
|
}
|
|
5807
|
-
return n.templateInfo = r,
|
|
5807
|
+
return n.templateInfo = r, Ta(this, r), this.__dataClientsReady && (this._runEffectsForTemplate(r, this.__data, null, !1), this._flushClients()), n;
|
|
5808
5808
|
}
|
|
5809
5809
|
/**
|
|
5810
5810
|
* Removes and unbinds the nodes previously contained in the provided
|
|
@@ -5851,7 +5851,7 @@ const Si = U((o) => {
|
|
|
5851
5851
|
);
|
|
5852
5852
|
if (s.nodeType === Node.TEXT_NODE) {
|
|
5853
5853
|
let l = this._parseBindings(s.textContent, r);
|
|
5854
|
-
l && (s.textContent =
|
|
5854
|
+
l && (s.textContent = bo(l) || " ", zt(this, r, n, "text", "textContent", l), a = !0);
|
|
5855
5855
|
}
|
|
5856
5856
|
return a;
|
|
5857
5857
|
}
|
|
@@ -5878,9 +5878,9 @@ const Si = U((o) => {
|
|
|
5878
5878
|
let d = this._parseBindings(l, r);
|
|
5879
5879
|
if (d) {
|
|
5880
5880
|
let c = a, u = "property";
|
|
5881
|
-
|
|
5882
|
-
let h =
|
|
5883
|
-
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 =
|
|
5881
|
+
la.test(a) ? u = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), u = "attribute");
|
|
5882
|
+
let h = bo(d);
|
|
5883
|
+
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 = ms(a)), zt(this, r, n, u, a, d, h), !0;
|
|
5884
5884
|
} else
|
|
5885
5885
|
return t._parseTemplateNodeAttribute.call(
|
|
5886
5886
|
this,
|
|
@@ -5913,10 +5913,10 @@ const Si = U((o) => {
|
|
|
5913
5913
|
n
|
|
5914
5914
|
);
|
|
5915
5915
|
const l = s.parentNode, d = n.templateInfo, c = l.localName === "dom-if", u = l.localName === "dom-repeat";
|
|
5916
|
-
|
|
5916
|
+
ro && (c || u) && (l.removeChild(s), n = n.parentInfo, n.templateInfo = d, n.noted = !0, a = !1);
|
|
5917
5917
|
let h = d.hostProps;
|
|
5918
|
-
if (
|
|
5919
|
-
h && (r.hostProps = Object.assign(r.hostProps || {}, h),
|
|
5918
|
+
if (Mn && c)
|
|
5919
|
+
h && (r.hostProps = Object.assign(r.hostProps || {}, h), ro || (n.parentInfo.noted = !0));
|
|
5920
5920
|
else {
|
|
5921
5921
|
let p = "{";
|
|
5922
5922
|
for (let y in h) {
|
|
@@ -5973,7 +5973,7 @@ const Si = U((o) => {
|
|
|
5973
5973
|
*/
|
|
5974
5974
|
static _parseBindings(s, r) {
|
|
5975
5975
|
let n = [], a = 0, l;
|
|
5976
|
-
for (; (l =
|
|
5976
|
+
for (; (l = vo.exec(s)) !== null; ) {
|
|
5977
5977
|
l.index > a && n.push({ literal: s.slice(a, l.index) });
|
|
5978
5978
|
let d = l[1][0], c = !!l[2], u = l[3].trim(), h = !1, p = "", y = -1;
|
|
5979
5979
|
d == "{" && (y = u.indexOf("::")) > 0 && (p = u.substring(y + 2), u = u.substring(0, y), h = !0);
|
|
@@ -5996,7 +5996,7 @@ const Si = U((o) => {
|
|
|
5996
5996
|
signature: D,
|
|
5997
5997
|
dependencies: E,
|
|
5998
5998
|
event: p
|
|
5999
|
-
}), a =
|
|
5999
|
+
}), a = vo.lastIndex;
|
|
6000
6000
|
}
|
|
6001
6001
|
if (a && a < s.length) {
|
|
6002
6002
|
let d = s.substring(a);
|
|
@@ -6046,7 +6046,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6046
6046
|
Code distributed by Google as part of the polymer project is also
|
|
6047
6047
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6048
6048
|
*/
|
|
6049
|
-
function
|
|
6049
|
+
function Va(o) {
|
|
6050
6050
|
const t = {};
|
|
6051
6051
|
for (let e in o) {
|
|
6052
6052
|
const i = o[e];
|
|
@@ -6054,8 +6054,8 @@ function Ua(o) {
|
|
|
6054
6054
|
}
|
|
6055
6055
|
return t;
|
|
6056
6056
|
}
|
|
6057
|
-
const
|
|
6058
|
-
const t =
|
|
6057
|
+
const Ua = U((o) => {
|
|
6058
|
+
const t = vs(o);
|
|
6059
6059
|
function e(r) {
|
|
6060
6060
|
const n = Object.getPrototypeOf(r);
|
|
6061
6061
|
return n.prototype instanceof s ? (
|
|
@@ -6068,7 +6068,7 @@ const ja = U((o) => {
|
|
|
6068
6068
|
let n = null;
|
|
6069
6069
|
if (r.hasOwnProperty(JSCompiler_renameProperty("properties", r))) {
|
|
6070
6070
|
const a = r.properties;
|
|
6071
|
-
a && (n =
|
|
6071
|
+
a && (n = Va(a));
|
|
6072
6072
|
}
|
|
6073
6073
|
r.__ownProperties = n;
|
|
6074
6074
|
}
|
|
@@ -6205,8 +6205,8 @@ const ja = U((o) => {
|
|
|
6205
6205
|
* Google as part of the polymer project is also subject to an additional IP
|
|
6206
6206
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6207
6207
|
*/
|
|
6208
|
-
const
|
|
6209
|
-
const t =
|
|
6208
|
+
const ja = "3.5.2", xo = window.ShadyCSS && window.ShadyCSS.cssBuild, Ya = U((o) => {
|
|
6209
|
+
const t = Ua(Si(o));
|
|
6210
6210
|
function e(l) {
|
|
6211
6211
|
if (!l.hasOwnProperty(
|
|
6212
6212
|
JSCompiler_renameProperty("__propertyDefaults", l)
|
|
@@ -6234,8 +6234,8 @@ const Ya = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Wa = U((o)
|
|
|
6234
6234
|
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);
|
|
6235
6235
|
}
|
|
6236
6236
|
function r(l, d, c, u) {
|
|
6237
|
-
if (!
|
|
6238
|
-
const h = d.content.querySelectorAll("style"), p =
|
|
6237
|
+
if (!xo) {
|
|
6238
|
+
const h = d.content.querySelectorAll("style"), p = us(d), y = Hn(c), D = d.content.firstElementChild;
|
|
6239
6239
|
for (let T = 0; T < y.length; T++) {
|
|
6240
6240
|
let k = y[T];
|
|
6241
6241
|
k.textContent = l._processStyleText(k.textContent, u), d.content.insertBefore(k, D);
|
|
@@ -6246,7 +6246,7 @@ const Ya = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Wa = U((o)
|
|
|
6246
6246
|
z !== k ? (k = k.cloneNode(!0), z.parentNode.insertBefore(k, z)) : E++, k.textContent = l._processStyleText(k.textContent, u);
|
|
6247
6247
|
}
|
|
6248
6248
|
}
|
|
6249
|
-
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(d, c),
|
|
6249
|
+
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(d, c), In && xo && En) {
|
|
6250
6250
|
const h = d.content.querySelectorAll("style");
|
|
6251
6251
|
if (h) {
|
|
6252
6252
|
let p = "";
|
|
@@ -6258,7 +6258,7 @@ const Ya = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Wa = U((o)
|
|
|
6258
6258
|
}
|
|
6259
6259
|
function n(l) {
|
|
6260
6260
|
let d = null;
|
|
6261
|
-
if (l && (!xt ||
|
|
6261
|
+
if (l && (!xt || Sn) && (d = /** @type {?HTMLTemplateElement} */
|
|
6262
6262
|
ot.import(l, "template"), xt && !d))
|
|
6263
6263
|
throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
6264
6264
|
return d;
|
|
@@ -6270,7 +6270,7 @@ const Ya = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Wa = U((o)
|
|
|
6270
6270
|
* @nocollapse
|
|
6271
6271
|
*/
|
|
6272
6272
|
static get polymerElementVersion() {
|
|
6273
|
-
return
|
|
6273
|
+
return ja;
|
|
6274
6274
|
}
|
|
6275
6275
|
/**
|
|
6276
6276
|
* Override of PropertiesMixin _finalizeClass to create observers and
|
|
@@ -6291,7 +6291,7 @@ const Ya = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Wa = U((o)
|
|
|
6291
6291
|
/** @type {PolymerElementConstructor} */
|
|
6292
6292
|
this.template
|
|
6293
6293
|
);
|
|
6294
|
-
d && (typeof d == "string" ? (console.error("template getter must return HTMLTemplateElement"), d = null) :
|
|
6294
|
+
d && (typeof d == "string" ? (console.error("template getter must return HTMLTemplateElement"), d = null) : as || (d = d.cloneNode(!0))), this.prototype._template = d;
|
|
6295
6295
|
}
|
|
6296
6296
|
/**
|
|
6297
6297
|
* Override of PropertiesChanged createProperties to create accessors
|
|
@@ -6461,7 +6461,7 @@ const Ya = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Wa = U((o)
|
|
|
6461
6461
|
this.constructor.finalize(), this.constructor._finalizeTemplate(
|
|
6462
6462
|
/** @type {!HTMLElement} */
|
|
6463
6463
|
this.localName
|
|
6464
|
-
), super._initializeProperties(), this.rootPath =
|
|
6464
|
+
), super._initializeProperties(), this.rootPath = kn, this.importPath = this.constructor.importPath;
|
|
6465
6465
|
let d = e(this.constructor);
|
|
6466
6466
|
if (d)
|
|
6467
6467
|
for (let c in d) {
|
|
@@ -6572,7 +6572,7 @@ const Ya = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Wa = U((o)
|
|
|
6572
6572
|
_attachDom(d) {
|
|
6573
6573
|
const c = W(this);
|
|
6574
6574
|
if (c.attachShadow)
|
|
6575
|
-
return d ? (c.shadowRoot || (c.attachShadow({ mode: "open", shadyUpgradeFragment: d }), c.shadowRoot.appendChild(d), this.constructor._styleSheet && (c.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])),
|
|
6575
|
+
return d ? (c.shadowRoot || (c.attachShadow({ mode: "open", shadyUpgradeFragment: d }), c.shadowRoot.appendChild(d), this.constructor._styleSheet && (c.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), Pn && window.ShadyDOM && window.ShadyDOM.flushInitial(c.shadowRoot), c.shadowRoot) : null;
|
|
6576
6576
|
throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.");
|
|
6577
6577
|
}
|
|
6578
6578
|
/**
|
|
@@ -6657,7 +6657,7 @@ const Ya = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Wa = U((o)
|
|
|
6657
6657
|
* @nocollapse
|
|
6658
6658
|
*/
|
|
6659
6659
|
static _addTemplatePropertyEffect(d, c, u) {
|
|
6660
|
-
return
|
|
6660
|
+
return ls && !(c in this._properties) && // Methods used in templates with no dependencies (or only literal
|
|
6661
6661
|
// dependencies) become accessors with template effects; ignore these
|
|
6662
6662
|
!(u.info.part.signature && u.info.part.signature.static) && // Warnings for bindings added to nested templates are handled by
|
|
6663
6663
|
// templatizer so ignore both the host-to-template bindings
|
|
@@ -6682,16 +6682,16 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6682
6682
|
Code distributed by Google as part of the polymer project is also
|
|
6683
6683
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6684
6684
|
*/
|
|
6685
|
-
const
|
|
6686
|
-
class
|
|
6685
|
+
const Co = window.trustedTypes && trustedTypes.createPolicy("polymer-html-literal", { createHTML: (o) => o });
|
|
6686
|
+
class ks {
|
|
6687
6687
|
/**
|
|
6688
6688
|
* @param {!ITemplateArray} strings Constant parts of tagged template literal
|
|
6689
6689
|
* @param {!Array<*>} values Variable parts of tagged template literal
|
|
6690
6690
|
*/
|
|
6691
6691
|
constructor(t, e) {
|
|
6692
|
-
|
|
6692
|
+
Ps(t, e);
|
|
6693
6693
|
const i = e.reduce(
|
|
6694
|
-
(s, r, n) => s +
|
|
6694
|
+
(s, r, n) => s + Ss(r) + t[n + 1],
|
|
6695
6695
|
t[0]
|
|
6696
6696
|
);
|
|
6697
6697
|
this.value = i.toString();
|
|
@@ -6704,8 +6704,8 @@ class Ss {
|
|
|
6704
6704
|
return this.value;
|
|
6705
6705
|
}
|
|
6706
6706
|
}
|
|
6707
|
-
function
|
|
6708
|
-
if (o instanceof
|
|
6707
|
+
function Ss(o) {
|
|
6708
|
+
if (o instanceof ks)
|
|
6709
6709
|
return (
|
|
6710
6710
|
/** @type {!LiteralString} */
|
|
6711
6711
|
o.value
|
|
@@ -6714,30 +6714,30 @@ function Ps(o) {
|
|
|
6714
6714
|
`non-literal value passed to Polymer's htmlLiteral function: ${o}`
|
|
6715
6715
|
);
|
|
6716
6716
|
}
|
|
6717
|
-
function
|
|
6717
|
+
function Wa(o) {
|
|
6718
6718
|
if (o instanceof HTMLTemplateElement)
|
|
6719
6719
|
return (
|
|
6720
6720
|
/** @type {!HTMLTemplateElement } */
|
|
6721
6721
|
o.innerHTML
|
|
6722
6722
|
);
|
|
6723
|
-
if (o instanceof
|
|
6724
|
-
return
|
|
6723
|
+
if (o instanceof ks)
|
|
6724
|
+
return Ss(o);
|
|
6725
6725
|
throw new Error(
|
|
6726
6726
|
`non-template value passed to Polymer's html function: ${o}`
|
|
6727
6727
|
);
|
|
6728
6728
|
}
|
|
6729
6729
|
const Pe = function(t, ...e) {
|
|
6730
|
-
|
|
6730
|
+
Ps(t, e);
|
|
6731
6731
|
const i = (
|
|
6732
6732
|
/** @type {!HTMLTemplateElement} */
|
|
6733
6733
|
document.createElement("template")
|
|
6734
6734
|
);
|
|
6735
6735
|
let s = e.reduce(
|
|
6736
|
-
(r, n, a) => r +
|
|
6736
|
+
(r, n, a) => r + Wa(n) + t[a + 1],
|
|
6737
6737
|
t[0]
|
|
6738
6738
|
);
|
|
6739
|
-
return
|
|
6740
|
-
},
|
|
6739
|
+
return Co && (s = Co.createHTML(s)), i.innerHTML = s, i;
|
|
6740
|
+
}, Ps = (o, t) => {
|
|
6741
6741
|
if (!Array.isArray(o) || !Array.isArray(o.raw) || t.length !== o.length - 1)
|
|
6742
6742
|
throw new TypeError("Invalid call to the html template tag");
|
|
6743
6743
|
};
|
|
@@ -6750,7 +6750,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6750
6750
|
Code distributed by Google as part of the polymer project is also
|
|
6751
6751
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6752
6752
|
*/
|
|
6753
|
-
const ve =
|
|
6753
|
+
const ve = Ya(HTMLElement);
|
|
6754
6754
|
/**
|
|
6755
6755
|
* @license
|
|
6756
6756
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
@@ -6763,14 +6763,14 @@ function oi(o, t, e = o.getAttribute("dir")) {
|
|
|
6763
6763
|
function si() {
|
|
6764
6764
|
return document.documentElement.getAttribute("dir");
|
|
6765
6765
|
}
|
|
6766
|
-
function
|
|
6766
|
+
function qa() {
|
|
6767
6767
|
const o = si();
|
|
6768
6768
|
ue.forEach((t) => {
|
|
6769
6769
|
oi(t, o);
|
|
6770
6770
|
});
|
|
6771
6771
|
}
|
|
6772
|
-
const
|
|
6773
|
-
|
|
6772
|
+
const Ka = new MutationObserver(qa);
|
|
6773
|
+
Ka.observe(document.documentElement, { attributes: !0, attributeFilter: ["dir"] });
|
|
6774
6774
|
const Pt = (o) => class extends o {
|
|
6775
6775
|
static get properties() {
|
|
6776
6776
|
return {
|
|
@@ -6832,7 +6832,7 @@ const Pt = (o) => class extends o {
|
|
|
6832
6832
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6833
6833
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6834
6834
|
*/
|
|
6835
|
-
const
|
|
6835
|
+
const Ga = (o) => class extends o {
|
|
6836
6836
|
static get properties() {
|
|
6837
6837
|
return {
|
|
6838
6838
|
/**
|
|
@@ -6872,7 +6872,7 @@ const Ja = (o) => class extends o {
|
|
|
6872
6872
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6873
6873
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6874
6874
|
*/
|
|
6875
|
-
const
|
|
6875
|
+
const Ja = P`
|
|
6876
6876
|
:host {
|
|
6877
6877
|
display: flex;
|
|
6878
6878
|
align-items: center;
|
|
@@ -6943,8 +6943,8 @@ const Xa = P`
|
|
|
6943
6943
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6944
6944
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6945
6945
|
*/
|
|
6946
|
-
H("vaadin-input-container",
|
|
6947
|
-
class
|
|
6946
|
+
H("vaadin-input-container", Ja, { moduleId: "vaadin-input-container-styles" });
|
|
6947
|
+
class Xa extends Ga(ke(Pt(ve))) {
|
|
6948
6948
|
static get is() {
|
|
6949
6949
|
return "vaadin-input-container";
|
|
6950
6950
|
}
|
|
@@ -6956,13 +6956,13 @@ class Za extends Ja(ke(Pt(ve))) {
|
|
|
6956
6956
|
`;
|
|
6957
6957
|
}
|
|
6958
6958
|
}
|
|
6959
|
-
le(
|
|
6959
|
+
le(Xa);
|
|
6960
6960
|
/**
|
|
6961
6961
|
* @license
|
|
6962
6962
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
6963
6963
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6964
6964
|
*/
|
|
6965
|
-
const
|
|
6965
|
+
const Za = P`
|
|
6966
6966
|
:host {
|
|
6967
6967
|
z-index: 200;
|
|
6968
6968
|
position: fixed;
|
|
@@ -7051,21 +7051,21 @@ function ri() {
|
|
|
7051
7051
|
function Oi() {
|
|
7052
7052
|
return Pi;
|
|
7053
7053
|
}
|
|
7054
|
-
function
|
|
7054
|
+
function Qa(o) {
|
|
7055
7055
|
const t = o.style;
|
|
7056
7056
|
if (t.visibility === "hidden" || t.display === "none")
|
|
7057
7057
|
return !0;
|
|
7058
7058
|
const e = window.getComputedStyle(o);
|
|
7059
7059
|
return e.visibility === "hidden" || e.display === "none";
|
|
7060
7060
|
}
|
|
7061
|
-
function
|
|
7061
|
+
function el(o, t) {
|
|
7062
7062
|
const e = Math.max(o.tabIndex, 0), i = Math.max(t.tabIndex, 0);
|
|
7063
7063
|
return e === 0 || i === 0 ? i > e : e > i;
|
|
7064
7064
|
}
|
|
7065
|
-
function
|
|
7065
|
+
function tl(o, t) {
|
|
7066
7066
|
const e = [];
|
|
7067
7067
|
for (; o.length > 0 && t.length > 0; )
|
|
7068
|
-
|
|
7068
|
+
el(o[0], t[0]) ? e.push(t.shift()) : e.push(o.shift());
|
|
7069
7069
|
return e.concat(o, t);
|
|
7070
7070
|
}
|
|
7071
7071
|
function ni(o) {
|
|
@@ -7073,37 +7073,37 @@ function ni(o) {
|
|
|
7073
7073
|
if (t < 2)
|
|
7074
7074
|
return o;
|
|
7075
7075
|
const e = Math.ceil(t / 2), i = ni(o.slice(0, e)), s = ni(o.slice(e));
|
|
7076
|
-
return
|
|
7076
|
+
return tl(i, s);
|
|
7077
7077
|
}
|
|
7078
|
-
function
|
|
7078
|
+
function Os(o) {
|
|
7079
7079
|
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]");
|
|
7080
7080
|
}
|
|
7081
|
-
function
|
|
7081
|
+
function il(o) {
|
|
7082
7082
|
return o.getRootNode().activeElement === o;
|
|
7083
7083
|
}
|
|
7084
|
-
function
|
|
7085
|
-
if (!
|
|
7084
|
+
function ol(o) {
|
|
7085
|
+
if (!Os(o))
|
|
7086
7086
|
return -1;
|
|
7087
7087
|
const t = o.getAttribute("tabindex") || 0;
|
|
7088
7088
|
return Number(t);
|
|
7089
7089
|
}
|
|
7090
|
-
function
|
|
7091
|
-
if (o.nodeType !== Node.ELEMENT_NODE ||
|
|
7090
|
+
function Ms(o, t) {
|
|
7091
|
+
if (o.nodeType !== Node.ELEMENT_NODE || Qa(o))
|
|
7092
7092
|
return !1;
|
|
7093
7093
|
const e = (
|
|
7094
7094
|
/** @type {HTMLElement} */
|
|
7095
7095
|
o
|
|
7096
|
-
), i =
|
|
7096
|
+
), i = ol(e);
|
|
7097
7097
|
let s = i > 0;
|
|
7098
7098
|
i >= 0 && t.push(e);
|
|
7099
7099
|
let r = [];
|
|
7100
7100
|
return e.localName === "slot" ? r = e.assignedNodes({ flatten: !0 }) : r = (e.shadowRoot || e).children, [...r].forEach((n) => {
|
|
7101
|
-
s =
|
|
7101
|
+
s = Ms(n, t) || s;
|
|
7102
7102
|
}), s;
|
|
7103
7103
|
}
|
|
7104
|
-
function
|
|
7104
|
+
function sl(o) {
|
|
7105
7105
|
const t = [];
|
|
7106
|
-
return
|
|
7106
|
+
return Ms(o, t) ? ni(t) : t;
|
|
7107
7107
|
}
|
|
7108
7108
|
/**
|
|
7109
7109
|
@license
|
|
@@ -7114,23 +7114,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
7114
7114
|
Code distributed by Google as part of the polymer project is also
|
|
7115
7115
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7116
7116
|
*/
|
|
7117
|
-
let ai = !1,
|
|
7118
|
-
function
|
|
7117
|
+
let ai = !1, rl = [], Is = [];
|
|
7118
|
+
function nl() {
|
|
7119
7119
|
ai = !0, requestAnimationFrame(function() {
|
|
7120
|
-
ai = !1,
|
|
7121
|
-
|
|
7120
|
+
ai = !1, al(rl), setTimeout(function() {
|
|
7121
|
+
ll(Is);
|
|
7122
7122
|
});
|
|
7123
7123
|
});
|
|
7124
7124
|
}
|
|
7125
|
-
function
|
|
7125
|
+
function al(o) {
|
|
7126
7126
|
for (; o.length; )
|
|
7127
|
-
|
|
7127
|
+
Ns(o.shift());
|
|
7128
7128
|
}
|
|
7129
|
-
function
|
|
7129
|
+
function ll(o) {
|
|
7130
7130
|
for (let t = 0, e = o.length; t < e; t++)
|
|
7131
|
-
|
|
7131
|
+
Ns(o.shift());
|
|
7132
7132
|
}
|
|
7133
|
-
function
|
|
7133
|
+
function Ns(o) {
|
|
7134
7134
|
const t = o[0], e = o[1], i = o[2];
|
|
7135
7135
|
try {
|
|
7136
7136
|
e.apply(t, i);
|
|
@@ -7140,21 +7140,21 @@ function Fs(o) {
|
|
|
7140
7140
|
});
|
|
7141
7141
|
}
|
|
7142
7142
|
}
|
|
7143
|
-
function
|
|
7144
|
-
ai ||
|
|
7143
|
+
function Fs(o, t, e) {
|
|
7144
|
+
ai || nl(), Is.push([o, t, e]);
|
|
7145
7145
|
}
|
|
7146
7146
|
/**
|
|
7147
7147
|
* @license
|
|
7148
7148
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7149
7149
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7150
7150
|
*/
|
|
7151
|
-
const Ot = (o) => o.test(navigator.userAgent), li = (o) => o.test(navigator.platform),
|
|
7151
|
+
const Ot = (o) => o.test(navigator.userAgent), li = (o) => o.test(navigator.platform), dl = (o) => o.test(navigator.vendor);
|
|
7152
7152
|
Ot(/Android/u);
|
|
7153
|
-
Ot(/Chrome/u) &&
|
|
7153
|
+
Ot(/Chrome/u) && dl(/Google Inc/u);
|
|
7154
7154
|
Ot(/Firefox/u);
|
|
7155
|
-
const
|
|
7155
|
+
const cl = li(/^iPad/u) || li(/^Mac/u) && navigator.maxTouchPoints > 1, ul = li(/^iPhone/u), zs = ul || cl;
|
|
7156
7156
|
Ot(/^((?!chrome|android).)*safari/iu);
|
|
7157
|
-
const
|
|
7157
|
+
const hl = (() => {
|
|
7158
7158
|
try {
|
|
7159
7159
|
return document.createEvent("TouchEvent"), !0;
|
|
7160
7160
|
} catch {
|
|
@@ -7167,10 +7167,10 @@ const pl = (() => {
|
|
|
7167
7167
|
* SPDX-License-Identifier: MIT
|
|
7168
7168
|
*/
|
|
7169
7169
|
let Me = /* @__PURE__ */ new WeakMap(), pt = /* @__PURE__ */ new WeakMap(), ft = {}, $t = 0;
|
|
7170
|
-
const
|
|
7170
|
+
const Ao = (o) => o && o.nodeType === Node.ELEMENT_NODE, Rt = (...o) => {
|
|
7171
7171
|
console.error(`Error: ${o.join(" ")}. Skip setting aria-hidden.`);
|
|
7172
|
-
},
|
|
7173
|
-
if (!
|
|
7172
|
+
}, pl = (o, t) => Ao(o) ? t.map((e) => {
|
|
7173
|
+
if (!Ao(e))
|
|
7174
7174
|
return Rt(e, "is not a valid element"), null;
|
|
7175
7175
|
let i = e;
|
|
7176
7176
|
for (; i && i !== o; ) {
|
|
@@ -7179,8 +7179,8 @@ const To = (o) => o && o.nodeType === Node.ELEMENT_NODE, Rt = (...o) => {
|
|
|
7179
7179
|
i = i.getRootNode().host;
|
|
7180
7180
|
}
|
|
7181
7181
|
return Rt(e, "is not contained inside", o), null;
|
|
7182
|
-
}).filter((e) => !!e) : (Rt(o, "is not a valid element"), []),
|
|
7183
|
-
const s =
|
|
7182
|
+
}).filter((e) => !!e) : (Rt(o, "is not a valid element"), []), fl = (o, t, e, i) => {
|
|
7183
|
+
const s = pl(t, Array.isArray(o) ? o : [o]);
|
|
7184
7184
|
ft[e] || (ft[e] = /* @__PURE__ */ new WeakMap());
|
|
7185
7185
|
const r = ft[e], n = [], a = /* @__PURE__ */ new Set(), l = new Set(s), d = (u) => {
|
|
7186
7186
|
if (!u || a.has(u))
|
|
@@ -7210,16 +7210,16 @@ const To = (o) => o && o.nodeType === Node.ELEMENT_NODE, Rt = (...o) => {
|
|
|
7210
7210
|
Me.set(u, h), r.set(u, p), h || (pt.has(u) ? pt.delete(u) : u.removeAttribute(i)), p || u.removeAttribute(e);
|
|
7211
7211
|
}), $t -= 1, $t || (Me = /* @__PURE__ */ new WeakMap(), Me = /* @__PURE__ */ new WeakMap(), pt = /* @__PURE__ */ new WeakMap(), ft = {});
|
|
7212
7212
|
};
|
|
7213
|
-
},
|
|
7213
|
+
}, Ls = (o, t = document.body, e = "data-aria-hidden") => {
|
|
7214
7214
|
const i = Array.from(Array.isArray(o) ? o : [o]);
|
|
7215
|
-
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))),
|
|
7215
|
+
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))), fl(i, t, e, "aria-hidden");
|
|
7216
7216
|
};
|
|
7217
7217
|
/**
|
|
7218
7218
|
* @license
|
|
7219
7219
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7220
7220
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7221
7221
|
*/
|
|
7222
|
-
class
|
|
7222
|
+
class ml {
|
|
7223
7223
|
/**
|
|
7224
7224
|
* @param {HTMLElement} host
|
|
7225
7225
|
*/
|
|
@@ -7235,7 +7235,7 @@ class _l {
|
|
|
7235
7235
|
*/
|
|
7236
7236
|
showModal() {
|
|
7237
7237
|
const t = this.callback();
|
|
7238
|
-
this.__showOthers =
|
|
7238
|
+
this.__showOthers = Ls(t);
|
|
7239
7239
|
}
|
|
7240
7240
|
/**
|
|
7241
7241
|
* Remove `aria-hidden` from other elements unless there are any other
|
|
@@ -7250,7 +7250,7 @@ class _l {
|
|
|
7250
7250
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7251
7251
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7252
7252
|
*/
|
|
7253
|
-
class
|
|
7253
|
+
class _l {
|
|
7254
7254
|
/**
|
|
7255
7255
|
* Saves the given node as a target for restoring focus to
|
|
7256
7256
|
* when `restoreFocus()` is called. If no node is provided,
|
|
@@ -7278,7 +7278,7 @@ class gl {
|
|
|
7278
7278
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7279
7279
|
*/
|
|
7280
7280
|
const Ht = [];
|
|
7281
|
-
class
|
|
7281
|
+
class gl {
|
|
7282
7282
|
/**
|
|
7283
7283
|
* @param {HTMLElement} host
|
|
7284
7284
|
*/
|
|
@@ -7292,7 +7292,7 @@ class yl {
|
|
|
7292
7292
|
* @private
|
|
7293
7293
|
*/
|
|
7294
7294
|
get __focusableElements() {
|
|
7295
|
-
return
|
|
7295
|
+
return sl(this.__trapNode);
|
|
7296
7296
|
}
|
|
7297
7297
|
/**
|
|
7298
7298
|
* The index of the element inside the trap node that currently has focus.
|
|
@@ -7302,7 +7302,7 @@ class yl {
|
|
|
7302
7302
|
*/
|
|
7303
7303
|
get __focusedElementIndex() {
|
|
7304
7304
|
const t = this.__focusableElements;
|
|
7305
|
-
return t.indexOf(t.filter(
|
|
7305
|
+
return t.indexOf(t.filter(il).pop());
|
|
7306
7306
|
}
|
|
7307
7307
|
hostConnected() {
|
|
7308
7308
|
document.addEventListener("keydown", this.__onKeyDown);
|
|
@@ -7415,7 +7415,7 @@ const Ue = U((o) => typeof o.prototype.addController == "function" ? o : class e
|
|
|
7415
7415
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7416
7416
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7417
7417
|
*/
|
|
7418
|
-
const
|
|
7418
|
+
const yl = (o) => class extends Ue(o) {
|
|
7419
7419
|
static get properties() {
|
|
7420
7420
|
return {
|
|
7421
7421
|
/**
|
|
@@ -7446,7 +7446,7 @@ const vl = (o) => class extends Ue(o) {
|
|
|
7446
7446
|
};
|
|
7447
7447
|
}
|
|
7448
7448
|
constructor() {
|
|
7449
|
-
super(), this.__ariaModalController = new
|
|
7449
|
+
super(), this.__ariaModalController = new ml(this), this.__focusTrapController = new gl(this), this.__focusRestorationController = new _l();
|
|
7450
7450
|
}
|
|
7451
7451
|
/** @protected */
|
|
7452
7452
|
ready() {
|
|
@@ -7517,7 +7517,7 @@ const vl = (o) => class extends Ue(o) {
|
|
|
7517
7517
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7518
7518
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7519
7519
|
*/
|
|
7520
|
-
const
|
|
7520
|
+
const $s = () => Array.from(document.body.children).filter((o) => o instanceof HTMLElement && o._hasOverlayStackMixin && !o.hasAttribute("closing")).sort((o, t) => o.__zIndex - t.__zIndex || 0), di = () => $s().filter((o) => o.$.overlay), vl = (o) => o === di().pop(), bl = (o) => class extends o {
|
|
7521
7521
|
constructor() {
|
|
7522
7522
|
super(), this._hasOverlayStackMixin = !0;
|
|
7523
7523
|
}
|
|
@@ -7528,14 +7528,14 @@ const Rs = () => Array.from(document.body.children).filter((o) => o instanceof H
|
|
|
7528
7528
|
* @protected
|
|
7529
7529
|
*/
|
|
7530
7530
|
get _last() {
|
|
7531
|
-
return
|
|
7531
|
+
return vl(this);
|
|
7532
7532
|
}
|
|
7533
7533
|
/**
|
|
7534
7534
|
* Brings the overlay as visually the frontmost one.
|
|
7535
7535
|
*/
|
|
7536
7536
|
bringToFront() {
|
|
7537
7537
|
let e = "";
|
|
7538
|
-
const i =
|
|
7538
|
+
const i = $s().filter((s) => s !== this).pop();
|
|
7539
7539
|
i && (e = i.__zIndex + 1), this.style.zIndex = e, this.__zIndex = e || parseFloat(getComputedStyle(this).zIndex);
|
|
7540
7540
|
}
|
|
7541
7541
|
/** @protected */
|
|
@@ -7558,7 +7558,7 @@ const Rs = () => Array.from(document.body.children).filter((o) => o instanceof H
|
|
|
7558
7558
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7559
7559
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7560
7560
|
*/
|
|
7561
|
-
const
|
|
7561
|
+
const wl = (o) => class extends yl(bl(o)) {
|
|
7562
7562
|
static get properties() {
|
|
7563
7563
|
return {
|
|
7564
7564
|
/**
|
|
@@ -7631,7 +7631,7 @@ const xl = (o) => class extends vl(wl(o)) {
|
|
|
7631
7631
|
return ["_rendererOrDataChanged(renderer, owner, model, opened)"];
|
|
7632
7632
|
}
|
|
7633
7633
|
constructor() {
|
|
7634
|
-
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),
|
|
7634
|
+
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), zs && (this._boundIosResizeListener = () => this._detectIosNavbar());
|
|
7635
7635
|
}
|
|
7636
7636
|
/** @protected */
|
|
7637
7637
|
ready() {
|
|
@@ -7699,7 +7699,7 @@ const xl = (o) => class extends vl(wl(o)) {
|
|
|
7699
7699
|
}
|
|
7700
7700
|
/** @private */
|
|
7701
7701
|
_openedChanged(e, i) {
|
|
7702
|
-
e ? (this._saveFocus(), this._animatedOpening(),
|
|
7702
|
+
e ? (this._saveFocus(), this._animatedOpening(), Fs(this, () => {
|
|
7703
7703
|
this._trapFocus();
|
|
7704
7704
|
const s = new CustomEvent("vaadin-overlay-open", { bubbles: !0 });
|
|
7705
7705
|
this.dispatchEvent(s);
|
|
@@ -7824,7 +7824,7 @@ const xl = (o) => class extends vl(wl(o)) {
|
|
|
7824
7824
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7825
7825
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7826
7826
|
*/
|
|
7827
|
-
function
|
|
7827
|
+
function xl(o) {
|
|
7828
7828
|
const t = [];
|
|
7829
7829
|
for (; o; ) {
|
|
7830
7830
|
if (o.nodeType === Node.DOCUMENT_NODE) {
|
|
@@ -7849,11 +7849,11 @@ function Mi(o) {
|
|
|
7849
7849
|
function Mt(o) {
|
|
7850
7850
|
return o ? [...o].join(" ") : "";
|
|
7851
7851
|
}
|
|
7852
|
-
function
|
|
7852
|
+
function Rs(o, t, e) {
|
|
7853
7853
|
const i = Mi(o.getAttribute(t));
|
|
7854
7854
|
i.add(e), o.setAttribute(t, Mt(i));
|
|
7855
7855
|
}
|
|
7856
|
-
function
|
|
7856
|
+
function Cl(o, t, e) {
|
|
7857
7857
|
const i = Mi(o.getAttribute(t));
|
|
7858
7858
|
if (i.delete(e), i.size === 0) {
|
|
7859
7859
|
o.removeAttribute(t);
|
|
@@ -7861,7 +7861,7 @@ function Al(o, t, e) {
|
|
|
7861
7861
|
}
|
|
7862
7862
|
o.setAttribute(t, Mt(i));
|
|
7863
7863
|
}
|
|
7864
|
-
function
|
|
7864
|
+
function Al(o) {
|
|
7865
7865
|
return o.nodeType === Node.TEXT_NODE && o.textContent.trim() === "";
|
|
7866
7866
|
}
|
|
7867
7867
|
/**
|
|
@@ -7869,7 +7869,7 @@ function Tl(o) {
|
|
|
7869
7869
|
* Copyright (c) 2024 Vaadin Ltd.
|
|
7870
7870
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7871
7871
|
*/
|
|
7872
|
-
function
|
|
7872
|
+
function Tl(o, t) {
|
|
7873
7873
|
let e = null;
|
|
7874
7874
|
const i = document.documentElement;
|
|
7875
7875
|
function s() {
|
|
@@ -7909,13 +7909,13 @@ const Bt = {
|
|
|
7909
7909
|
}, Vt = {
|
|
7910
7910
|
start: "left",
|
|
7911
7911
|
end: "right"
|
|
7912
|
-
},
|
|
7912
|
+
}, To = new ResizeObserver((o) => {
|
|
7913
7913
|
setTimeout(() => {
|
|
7914
7914
|
o.forEach((t) => {
|
|
7915
7915
|
t.target.__overlay && t.target.__overlay._updatePosition();
|
|
7916
7916
|
});
|
|
7917
7917
|
});
|
|
7918
|
-
}),
|
|
7918
|
+
}), Dl = (o) => class extends o {
|
|
7919
7919
|
static get properties() {
|
|
7920
7920
|
return {
|
|
7921
7921
|
/**
|
|
@@ -8014,9 +8014,9 @@ const Bt = {
|
|
|
8014
8014
|
}
|
|
8015
8015
|
/** @private */
|
|
8016
8016
|
__addUpdatePositionEventListeners() {
|
|
8017
|
-
window.visualViewport.addEventListener("resize", this._updatePosition), window.visualViewport.addEventListener("scroll", this.__onScroll, !0), this.__positionTargetAncestorRootNodes =
|
|
8017
|
+
window.visualViewport.addEventListener("resize", this._updatePosition), window.visualViewport.addEventListener("scroll", this.__onScroll, !0), this.__positionTargetAncestorRootNodes = xl(this.positionTarget), this.__positionTargetAncestorRootNodes.forEach((e) => {
|
|
8018
8018
|
e.addEventListener("scroll", this.__onScroll, !0);
|
|
8019
|
-
}), this.positionTarget && (this.__observePositionTargetMove =
|
|
8019
|
+
}), this.positionTarget && (this.__observePositionTargetMove = Tl(this.positionTarget, () => {
|
|
8020
8020
|
this._updatePosition();
|
|
8021
8021
|
}));
|
|
8022
8022
|
}
|
|
@@ -8028,7 +8028,7 @@ const Bt = {
|
|
|
8028
8028
|
}
|
|
8029
8029
|
/** @private */
|
|
8030
8030
|
__overlayOpenedChanged(e, i) {
|
|
8031
|
-
if (this.__removeUpdatePositionEventListeners(), i && (i.__overlay = null,
|
|
8031
|
+
if (this.__removeUpdatePositionEventListeners(), i && (i.__overlay = null, To.unobserve(i), e && (this.__addUpdatePositionEventListeners(), i.__overlay = this, To.observe(i))), e) {
|
|
8032
8032
|
const s = getComputedStyle(this);
|
|
8033
8033
|
this.__margins || (this.__margins = {}, ["top", "bottom", "left", "right"].forEach((r) => {
|
|
8034
8034
|
this.__margins[r] = parseInt(s[r], 10);
|
|
@@ -8150,7 +8150,7 @@ const Bt = {
|
|
|
8150
8150
|
* Copyright (c) 2015 - 2024 Vaadin Ltd.
|
|
8151
8151
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8152
8152
|
*/
|
|
8153
|
-
const
|
|
8153
|
+
const El = (o) => class extends Dl(wl(o)) {
|
|
8154
8154
|
/**
|
|
8155
8155
|
* Override method inherited from `OverlayMixin` to not close on input click.
|
|
8156
8156
|
* Needed to ignore date-picker's own input in the mousedown listener below.
|
|
@@ -8167,7 +8167,7 @@ const kl = (o) => class extends El(xl(o)) {
|
|
|
8167
8167
|
* @override
|
|
8168
8168
|
*/
|
|
8169
8169
|
_mouseDownListener(e) {
|
|
8170
|
-
super._mouseDownListener(e), this._shouldCloseOnOutsideClick(e) && !
|
|
8170
|
+
super._mouseDownListener(e), this._shouldCloseOnOutsideClick(e) && !Os(e.composedPath()[0]) && e.preventDefault();
|
|
8171
8171
|
}
|
|
8172
8172
|
};
|
|
8173
8173
|
/**
|
|
@@ -8175,7 +8175,7 @@ const kl = (o) => class extends El(xl(o)) {
|
|
|
8175
8175
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
8176
8176
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8177
8177
|
*/
|
|
8178
|
-
const
|
|
8178
|
+
const kl = P`
|
|
8179
8179
|
[part='overlay'] {
|
|
8180
8180
|
display: flex;
|
|
8181
8181
|
flex: auto;
|
|
@@ -8196,10 +8196,10 @@ const Sl = P`
|
|
|
8196
8196
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
8197
8197
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8198
8198
|
*/
|
|
8199
|
-
H("vaadin-date-picker-overlay", [
|
|
8199
|
+
H("vaadin-date-picker-overlay", [Za, kl], {
|
|
8200
8200
|
moduleId: "vaadin-date-picker-overlay-styles"
|
|
8201
8201
|
});
|
|
8202
|
-
class
|
|
8202
|
+
class Sl extends El(Pt(ke(ve))) {
|
|
8203
8203
|
static get is() {
|
|
8204
8204
|
return "vaadin-date-picker-overlay";
|
|
8205
8205
|
}
|
|
@@ -8214,34 +8214,34 @@ class Pl extends kl(Pt(ke(ve))) {
|
|
|
8214
8214
|
`;
|
|
8215
8215
|
}
|
|
8216
8216
|
}
|
|
8217
|
-
le(
|
|
8218
|
-
const
|
|
8219
|
-
function
|
|
8217
|
+
le(Sl);
|
|
8218
|
+
const Pl = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i, yt = window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients;
|
|
8219
|
+
function Ol() {
|
|
8220
8220
|
function o() {
|
|
8221
8221
|
return !0;
|
|
8222
8222
|
}
|
|
8223
|
-
return
|
|
8223
|
+
return Hs(o);
|
|
8224
8224
|
}
|
|
8225
|
-
function
|
|
8225
|
+
function Ml() {
|
|
8226
8226
|
try {
|
|
8227
|
-
return
|
|
8227
|
+
return Il() ? !0 : Nl() ? yt ? !Fl() : !Ol() : !1;
|
|
8228
8228
|
} catch {
|
|
8229
8229
|
return !1;
|
|
8230
8230
|
}
|
|
8231
8231
|
}
|
|
8232
|
-
function
|
|
8232
|
+
function Il() {
|
|
8233
8233
|
return localStorage.getItem("vaadin.developmentmode.force");
|
|
8234
8234
|
}
|
|
8235
|
-
function
|
|
8235
|
+
function Nl() {
|
|
8236
8236
|
return ["localhost", "127.0.0.1"].indexOf(window.location.hostname) >= 0;
|
|
8237
8237
|
}
|
|
8238
|
-
function
|
|
8238
|
+
function Fl() {
|
|
8239
8239
|
return !!(yt && Object.keys(yt).map((t) => yt[t]).filter((t) => t.productionMode).length > 0);
|
|
8240
8240
|
}
|
|
8241
|
-
function
|
|
8241
|
+
function Hs(o, t) {
|
|
8242
8242
|
if (typeof o != "function")
|
|
8243
8243
|
return;
|
|
8244
|
-
const e =
|
|
8244
|
+
const e = Pl.exec(o.toString());
|
|
8245
8245
|
if (e)
|
|
8246
8246
|
try {
|
|
8247
8247
|
o = new Function(e[1]);
|
|
@@ -8251,12 +8251,12 @@ function Bs(o, t) {
|
|
|
8251
8251
|
return o(t);
|
|
8252
8252
|
}
|
|
8253
8253
|
window.Vaadin = window.Vaadin || {};
|
|
8254
|
-
const
|
|
8254
|
+
const Do = function(o, t) {
|
|
8255
8255
|
if (window.Vaadin.developmentMode)
|
|
8256
|
-
return
|
|
8256
|
+
return Hs(o, t);
|
|
8257
8257
|
};
|
|
8258
|
-
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode =
|
|
8259
|
-
function
|
|
8258
|
+
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode = Ml());
|
|
8259
|
+
function zl() {
|
|
8260
8260
|
/*! vaadin-dev-mode:start
|
|
8261
8261
|
(function () {
|
|
8262
8262
|
'use strict';
|
|
@@ -8737,9 +8737,9 @@ function Ll() {
|
|
|
8737
8737
|
|
|
8738
8738
|
vaadin-dev-mode:end **/
|
|
8739
8739
|
}
|
|
8740
|
-
const
|
|
8741
|
-
if (typeof
|
|
8742
|
-
return
|
|
8740
|
+
const Ll = function() {
|
|
8741
|
+
if (typeof Do == "function")
|
|
8742
|
+
return Do(zl);
|
|
8743
8743
|
};
|
|
8744
8744
|
/**
|
|
8745
8745
|
* @license
|
|
@@ -8750,10 +8750,10 @@ const $l = function() {
|
|
|
8750
8750
|
* Code distributed by Google as part of the polymer project is also
|
|
8751
8751
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
8752
8752
|
*/
|
|
8753
|
-
let
|
|
8753
|
+
let Eo = 0, Bs = 0;
|
|
8754
8754
|
const ze = [];
|
|
8755
8755
|
let ci = !1;
|
|
8756
|
-
function
|
|
8756
|
+
function $l() {
|
|
8757
8757
|
ci = !1;
|
|
8758
8758
|
const o = ze.length;
|
|
8759
8759
|
for (let t = 0; t < o; t++) {
|
|
@@ -8767,7 +8767,7 @@ function Rl() {
|
|
|
8767
8767
|
});
|
|
8768
8768
|
}
|
|
8769
8769
|
}
|
|
8770
|
-
ze.splice(0, o),
|
|
8770
|
+
ze.splice(0, o), Bs += o;
|
|
8771
8771
|
}
|
|
8772
8772
|
const At = {
|
|
8773
8773
|
/**
|
|
@@ -8809,7 +8809,7 @@ const At = {
|
|
|
8809
8809
|
cancel(o) {
|
|
8810
8810
|
window.clearTimeout(o);
|
|
8811
8811
|
}
|
|
8812
|
-
},
|
|
8812
|
+
}, Rl = {
|
|
8813
8813
|
/**
|
|
8814
8814
|
* Enqueues a function called at `requestAnimationFrame` timing.
|
|
8815
8815
|
*
|
|
@@ -8830,7 +8830,7 @@ const At = {
|
|
|
8830
8830
|
cancel(o) {
|
|
8831
8831
|
window.cancelAnimationFrame(o);
|
|
8832
8832
|
}
|
|
8833
|
-
},
|
|
8833
|
+
}, Hl = {
|
|
8834
8834
|
/**
|
|
8835
8835
|
* Enqueues a function called at `requestIdleCallback` timing.
|
|
8836
8836
|
*
|
|
@@ -8851,7 +8851,7 @@ const At = {
|
|
|
8851
8851
|
cancel(o) {
|
|
8852
8852
|
window.cancelIdleCallback ? window.cancelIdleCallback(o) : window.clearTimeout(o);
|
|
8853
8853
|
}
|
|
8854
|
-
},
|
|
8854
|
+
}, Bl = {
|
|
8855
8855
|
/**
|
|
8856
8856
|
* Enqueues a function called at microtask timing.
|
|
8857
8857
|
*
|
|
@@ -8860,9 +8860,9 @@ const At = {
|
|
|
8860
8860
|
* @return {number} Handle used for canceling task
|
|
8861
8861
|
*/
|
|
8862
8862
|
run(o) {
|
|
8863
|
-
ci || (ci = !0, queueMicrotask(() =>
|
|
8864
|
-
const t =
|
|
8865
|
-
return
|
|
8863
|
+
ci || (ci = !0, queueMicrotask(() => $l())), ze.push(o);
|
|
8864
|
+
const t = Eo;
|
|
8865
|
+
return Eo += 1, t;
|
|
8866
8866
|
},
|
|
8867
8867
|
/**
|
|
8868
8868
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -8872,7 +8872,7 @@ const At = {
|
|
|
8872
8872
|
* @return {void}
|
|
8873
8873
|
*/
|
|
8874
8874
|
cancel(o) {
|
|
8875
|
-
const t = o -
|
|
8875
|
+
const t = o - Bs;
|
|
8876
8876
|
if (t >= 0) {
|
|
8877
8877
|
if (!ze[t])
|
|
8878
8878
|
throw new Error(`invalid async handle: ${o}`);
|
|
@@ -8981,7 +8981,7 @@ let He = class hi {
|
|
|
8981
8981
|
return this._timer != null;
|
|
8982
8982
|
}
|
|
8983
8983
|
};
|
|
8984
|
-
function
|
|
8984
|
+
function Vl(o) {
|
|
8985
8985
|
ui.add(o);
|
|
8986
8986
|
}
|
|
8987
8987
|
/**
|
|
@@ -8993,17 +8993,17 @@ window.Vaadin || (window.Vaadin = {});
|
|
|
8993
8993
|
window.Vaadin.registrations || (window.Vaadin.registrations = []);
|
|
8994
8994
|
window.Vaadin.developmentModeCallback || (window.Vaadin.developmentModeCallback = {});
|
|
8995
8995
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"] = function() {
|
|
8996
|
-
|
|
8996
|
+
Ll();
|
|
8997
8997
|
};
|
|
8998
8998
|
let Ut;
|
|
8999
|
-
const
|
|
8999
|
+
const ko = /* @__PURE__ */ new Set(), Vs = (o) => class extends Pt(o) {
|
|
9000
9000
|
/** @protected */
|
|
9001
9001
|
static finalize() {
|
|
9002
9002
|
super.finalize();
|
|
9003
9003
|
const { is: e } = this;
|
|
9004
|
-
e && !
|
|
9004
|
+
e && !ko.has(e) && (window.Vaadin.registrations.push(this), ko.add(e), window.Vaadin.developmentModeCallback && (Ut = He.debounce(Ut, Hl, () => {
|
|
9005
9005
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]();
|
|
9006
|
-
}),
|
|
9006
|
+
}), Vl(Ut)));
|
|
9007
9007
|
}
|
|
9008
9008
|
constructor() {
|
|
9009
9009
|
super(), document.doctype === null && console.warn(
|
|
@@ -9016,7 +9016,7 @@ const So = /* @__PURE__ */ new Set(), Us = (o) => class extends Pt(o) {
|
|
|
9016
9016
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
9017
9017
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9018
9018
|
*/
|
|
9019
|
-
class
|
|
9019
|
+
class Ul {
|
|
9020
9020
|
constructor(t, e) {
|
|
9021
9021
|
this.slot = t, this.callback = e, this._storedNodes = [], this._connected = !1, this._scheduled = !1, this._boundSchedule = () => {
|
|
9022
9022
|
this._schedule();
|
|
@@ -9066,9 +9066,9 @@ class jl {
|
|
|
9066
9066
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9067
9067
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9068
9068
|
*/
|
|
9069
|
-
let
|
|
9070
|
-
function
|
|
9071
|
-
return
|
|
9069
|
+
let jl = 0;
|
|
9070
|
+
function Us() {
|
|
9071
|
+
return jl++;
|
|
9072
9072
|
}
|
|
9073
9073
|
/**
|
|
9074
9074
|
* @license
|
|
@@ -9085,7 +9085,7 @@ class Ae extends EventTarget {
|
|
|
9085
9085
|
* @protected
|
|
9086
9086
|
*/
|
|
9087
9087
|
static generateId(t, e = "default") {
|
|
9088
|
-
return `${e}-${t.localName}-${
|
|
9088
|
+
return `${e}-${t.localName}-${Us()}`;
|
|
9089
9089
|
}
|
|
9090
9090
|
constructor(t, e, i, s = {}) {
|
|
9091
9091
|
super();
|
|
@@ -9177,8 +9177,8 @@ class Ae extends EventTarget {
|
|
|
9177
9177
|
*/
|
|
9178
9178
|
observeSlot() {
|
|
9179
9179
|
const { slotName: t } = this, e = t === "" ? "slot:not([name])" : `slot[name=${t}]`, i = this.host.shadowRoot.querySelector(e);
|
|
9180
|
-
this.__slotObserver = new
|
|
9181
|
-
const n = this.multiple ? this.nodes : [this.node], a = s.filter((l) => !
|
|
9180
|
+
this.__slotObserver = new Ul(i, ({ addedNodes: s, removedNodes: r }) => {
|
|
9181
|
+
const n = this.multiple ? this.nodes : [this.node], a = s.filter((l) => !Al(l) && !n.includes(l));
|
|
9182
9182
|
r.length && (this.nodes = n.filter((l) => !r.includes(l)), r.forEach((l) => {
|
|
9183
9183
|
this.teardownNode(l);
|
|
9184
9184
|
})), a && a.length > 0 && (this.multiple ? (this.defaultNode && this.defaultNode.remove(), this.nodes = [...n, ...a].filter((l) => l !== this.defaultNode), a.forEach((l) => {
|
|
@@ -9192,7 +9192,7 @@ class Ae extends EventTarget {
|
|
|
9192
9192
|
* Copyright (c) 2022 - 2024 Vaadin Ltd.
|
|
9193
9193
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9194
9194
|
*/
|
|
9195
|
-
class
|
|
9195
|
+
class js extends Ae {
|
|
9196
9196
|
constructor(t) {
|
|
9197
9197
|
super(t, "tooltip"), this.setTarget(t);
|
|
9198
9198
|
}
|
|
@@ -9293,7 +9293,7 @@ class Ys extends Ae {
|
|
|
9293
9293
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
9294
9294
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9295
9295
|
*/
|
|
9296
|
-
const
|
|
9296
|
+
const Yl = P`
|
|
9297
9297
|
:host {
|
|
9298
9298
|
display: inline-block;
|
|
9299
9299
|
position: relative;
|
|
@@ -9353,7 +9353,7 @@ const Wl = P`
|
|
|
9353
9353
|
outline-color: GrayText;
|
|
9354
9354
|
}
|
|
9355
9355
|
}
|
|
9356
|
-
`,
|
|
9356
|
+
`, Wl = (o) => o`
|
|
9357
9357
|
<div class="vaadin-button-container">
|
|
9358
9358
|
<span part="prefix" aria-hidden="true">
|
|
9359
9359
|
<slot name="prefix"></slot>
|
|
@@ -9376,34 +9376,33 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
9376
9376
|
Code distributed by Google as part of the polymer project is also
|
|
9377
9377
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
9378
9378
|
*/
|
|
9379
|
-
const
|
|
9379
|
+
const ql = (o) => o, Ys = typeof document.head.style.touchAction == "string", pi = "__polymerGestures", jt = "__polymerGesturesHandled", fi = "__polymerGesturesTouchAction", So = 25, Po = 5, Kl = 2, Gl = ["mousedown", "mousemove", "mouseup", "click"], Jl = [0, 1, 4, 2], Xl = function() {
|
|
9380
9380
|
try {
|
|
9381
9381
|
return new MouseEvent("test", { buttons: 1 }).buttons === 1;
|
|
9382
9382
|
} catch {
|
|
9383
9383
|
return !1;
|
|
9384
9384
|
}
|
|
9385
9385
|
}();
|
|
9386
|
-
function
|
|
9387
|
-
return
|
|
9386
|
+
function Ii(o) {
|
|
9387
|
+
return Gl.indexOf(o) > -1;
|
|
9388
9388
|
}
|
|
9389
|
-
let
|
|
9389
|
+
let Zl = !1;
|
|
9390
9390
|
(function() {
|
|
9391
9391
|
try {
|
|
9392
9392
|
const o = Object.defineProperty({}, "passive", {
|
|
9393
9393
|
// eslint-disable-next-line getter-return
|
|
9394
9394
|
get() {
|
|
9395
|
-
|
|
9395
|
+
Zl = !0;
|
|
9396
9396
|
}
|
|
9397
9397
|
});
|
|
9398
9398
|
window.addEventListener("test", null, o), window.removeEventListener("test", null, o);
|
|
9399
9399
|
} catch {
|
|
9400
9400
|
}
|
|
9401
9401
|
})();
|
|
9402
|
-
function
|
|
9403
|
-
|
|
9404
|
-
return { passive: !0 };
|
|
9402
|
+
function Ql(o) {
|
|
9403
|
+
Ii(o);
|
|
9405
9404
|
}
|
|
9406
|
-
const
|
|
9405
|
+
const ed = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), td = {
|
|
9407
9406
|
button: !0,
|
|
9408
9407
|
command: !0,
|
|
9409
9408
|
fieldset: !0,
|
|
@@ -9416,15 +9415,15 @@ const td = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), id = {
|
|
|
9416
9415
|
};
|
|
9417
9416
|
function De(o) {
|
|
9418
9417
|
const t = o.type;
|
|
9419
|
-
if (!
|
|
9418
|
+
if (!Ii(t))
|
|
9420
9419
|
return !1;
|
|
9421
9420
|
if (t === "mousemove") {
|
|
9422
9421
|
let i = o.buttons === void 0 ? 1 : o.buttons;
|
|
9423
|
-
return o instanceof window.MouseEvent && !
|
|
9422
|
+
return o instanceof window.MouseEvent && !Xl && (i = Jl[o.which] || 0), !!(i & 1);
|
|
9424
9423
|
}
|
|
9425
9424
|
return (o.button === void 0 ? 0 : o.button) === 0;
|
|
9426
9425
|
}
|
|
9427
|
-
function
|
|
9426
|
+
function id(o) {
|
|
9428
9427
|
if (o.type === "click") {
|
|
9429
9428
|
if (o.detail === 0)
|
|
9430
9429
|
return !0;
|
|
@@ -9441,10 +9440,6 @@ function od(o) {
|
|
|
9441
9440
|
return !1;
|
|
9442
9441
|
}
|
|
9443
9442
|
const he = {
|
|
9444
|
-
mouse: {
|
|
9445
|
-
target: null,
|
|
9446
|
-
mouseIgnoreJob: null
|
|
9447
|
-
},
|
|
9448
9443
|
touch: {
|
|
9449
9444
|
x: 0,
|
|
9450
9445
|
y: 0,
|
|
@@ -9452,9 +9447,9 @@ const he = {
|
|
|
9452
9447
|
scrollDecided: !1
|
|
9453
9448
|
}
|
|
9454
9449
|
};
|
|
9455
|
-
function
|
|
9450
|
+
function od(o) {
|
|
9456
9451
|
let t = "auto";
|
|
9457
|
-
const e =
|
|
9452
|
+
const e = qs(o);
|
|
9458
9453
|
for (let i = 0, s; i < e.length; i++)
|
|
9459
9454
|
if (s = e[i], s[fi]) {
|
|
9460
9455
|
t = s[fi];
|
|
@@ -9462,14 +9457,14 @@ function sd(o) {
|
|
|
9462
9457
|
}
|
|
9463
9458
|
return t;
|
|
9464
9459
|
}
|
|
9465
|
-
function
|
|
9460
|
+
function Ws(o, t, e) {
|
|
9466
9461
|
o.movefn = t, o.upfn = e, document.addEventListener("mousemove", t), document.addEventListener("mouseup", e);
|
|
9467
9462
|
}
|
|
9468
9463
|
function Le(o) {
|
|
9469
9464
|
document.removeEventListener("mousemove", o.movefn), document.removeEventListener("mouseup", o.upfn), o.movefn = null, o.upfn = null;
|
|
9470
9465
|
}
|
|
9471
|
-
const
|
|
9472
|
-
function
|
|
9466
|
+
const qs = window.ShadyDOM && window.ShadyDOM.noPatch ? window.ShadyDOM.composedPath : (o) => o.composedPath && o.composedPath() || [], Ni = {}, Te = [];
|
|
9467
|
+
function sd(o, t) {
|
|
9473
9468
|
let e = document.elementFromPoint(o, t), i = e;
|
|
9474
9469
|
for (; i && i.shadowRoot && !window.ShadyDOM; ) {
|
|
9475
9470
|
const s = i;
|
|
@@ -9480,13 +9475,13 @@ function rd(o, t) {
|
|
|
9480
9475
|
return e;
|
|
9481
9476
|
}
|
|
9482
9477
|
function ye(o) {
|
|
9483
|
-
const t =
|
|
9478
|
+
const t = qs(
|
|
9484
9479
|
/** @type {?Event} */
|
|
9485
9480
|
o
|
|
9486
9481
|
);
|
|
9487
9482
|
return t.length > 0 ? t[0] : o.target;
|
|
9488
9483
|
}
|
|
9489
|
-
function
|
|
9484
|
+
function rd(o) {
|
|
9490
9485
|
const t = o.type, i = o.currentTarget[pi];
|
|
9491
9486
|
if (!i)
|
|
9492
9487
|
return;
|
|
@@ -9497,7 +9492,7 @@ function nd(o) {
|
|
|
9497
9492
|
const n = o.changedTouches[0];
|
|
9498
9493
|
if (t === "touchstart" && o.touches.length === 1 && (he.touch.id = n.identifier), he.touch.id !== n.identifier)
|
|
9499
9494
|
return;
|
|
9500
|
-
|
|
9495
|
+
Ys || (t === "touchstart" || t === "touchmove") && nd(o);
|
|
9501
9496
|
}
|
|
9502
9497
|
const r = o[jt];
|
|
9503
9498
|
if (!r.skip) {
|
|
@@ -9507,7 +9502,7 @@ function nd(o) {
|
|
|
9507
9502
|
a = Te[n], s[a.name] && !r[a.name] && (r[a.name] = !0, a[t](o));
|
|
9508
9503
|
}
|
|
9509
9504
|
}
|
|
9510
|
-
function
|
|
9505
|
+
function nd(o) {
|
|
9511
9506
|
const t = o.changedTouches[0], e = o.type;
|
|
9512
9507
|
if (e === "touchstart")
|
|
9513
9508
|
he.touch.x = t.clientX, he.touch.y = t.clientY, he.touch.scrollDecided = !1;
|
|
@@ -9515,29 +9510,29 @@ function ad(o) {
|
|
|
9515
9510
|
if (he.touch.scrollDecided)
|
|
9516
9511
|
return;
|
|
9517
9512
|
he.touch.scrollDecided = !0;
|
|
9518
|
-
const i =
|
|
9513
|
+
const i = od(o);
|
|
9519
9514
|
let s = !1;
|
|
9520
9515
|
const r = Math.abs(he.touch.x - t.clientX), n = Math.abs(he.touch.y - t.clientY);
|
|
9521
9516
|
o.cancelable && (i === "none" ? s = !0 : i === "pan-x" ? s = n > r : i === "pan-y" && (s = r > n)), s ? o.preventDefault() : Tt("track");
|
|
9522
9517
|
}
|
|
9523
9518
|
}
|
|
9524
9519
|
function ae(o, t, e) {
|
|
9525
|
-
return
|
|
9520
|
+
return Ni[t] ? (ad(o, t, e), !0) : !1;
|
|
9526
9521
|
}
|
|
9527
|
-
function
|
|
9528
|
-
const i =
|
|
9522
|
+
function ad(o, t, e) {
|
|
9523
|
+
const i = Ni[t], s = i.deps, r = i.name;
|
|
9529
9524
|
let n = o[pi];
|
|
9530
9525
|
n || (o[pi] = n = {});
|
|
9531
9526
|
for (let a = 0, l, d; a < s.length; a++)
|
|
9532
|
-
l = s[a], !(
|
|
9533
|
-
o.addEventListener(t, e), i.touchAction &&
|
|
9527
|
+
l = s[a], !(ed && Ii(l) && l !== "click") && (d = n[l], d || (n[l] = d = { _count: 0 }), d._count === 0 && o.addEventListener(l, rd, Ql(l)), d[r] = (d[r] || 0) + 1, d._count = (d._count || 0) + 1);
|
|
9528
|
+
o.addEventListener(t, e), i.touchAction && Ks(o, i.touchAction);
|
|
9534
9529
|
}
|
|
9535
|
-
function
|
|
9530
|
+
function Fi(o) {
|
|
9536
9531
|
Te.push(o), o.emits.forEach((t) => {
|
|
9537
|
-
|
|
9532
|
+
Ni[t] = o;
|
|
9538
9533
|
});
|
|
9539
9534
|
}
|
|
9540
|
-
function
|
|
9535
|
+
function ld(o) {
|
|
9541
9536
|
for (let t = 0, e; t < Te.length; t++) {
|
|
9542
9537
|
e = Te[t];
|
|
9543
9538
|
for (let i = 0, s; i < e.emits.length; i++)
|
|
@@ -9546,14 +9541,14 @@ function dd(o) {
|
|
|
9546
9541
|
}
|
|
9547
9542
|
return null;
|
|
9548
9543
|
}
|
|
9549
|
-
function
|
|
9550
|
-
|
|
9544
|
+
function Ks(o, t) {
|
|
9545
|
+
Ys && o instanceof HTMLElement && Bl.run(() => {
|
|
9551
9546
|
o.style.touchAction = t;
|
|
9552
9547
|
}), o[fi] = t;
|
|
9553
9548
|
}
|
|
9554
|
-
function
|
|
9549
|
+
function zi(o, t, e) {
|
|
9555
9550
|
const i = new Event(t, { bubbles: !0, cancelable: !0, composed: !0 });
|
|
9556
|
-
if (i.detail = e,
|
|
9551
|
+
if (i.detail = e, ql(
|
|
9557
9552
|
/** @type {!Node} */
|
|
9558
9553
|
o
|
|
9559
9554
|
).dispatchEvent(i), i.defaultPrevented) {
|
|
@@ -9562,10 +9557,10 @@ function Li(o, t, e) {
|
|
|
9562
9557
|
}
|
|
9563
9558
|
}
|
|
9564
9559
|
function Tt(o) {
|
|
9565
|
-
const t =
|
|
9560
|
+
const t = ld(o);
|
|
9566
9561
|
t.info && (t.info.prevent = !0);
|
|
9567
9562
|
}
|
|
9568
|
-
|
|
9563
|
+
Fi({
|
|
9569
9564
|
name: "downup",
|
|
9570
9565
|
deps: ["mousedown", "touchstart", "touchend"],
|
|
9571
9566
|
flow: {
|
|
@@ -9597,7 +9592,7 @@ zi({
|
|
|
9597
9592
|
}, s = (r) => {
|
|
9598
9593
|
De(r) && Ke("up", t, r), Le(e.info);
|
|
9599
9594
|
};
|
|
9600
|
-
|
|
9595
|
+
Ws(this.info, i, s), Ke("down", t, o);
|
|
9601
9596
|
},
|
|
9602
9597
|
/**
|
|
9603
9598
|
* @this {GestureRecognizer}
|
|
@@ -9617,7 +9612,7 @@ zi({
|
|
|
9617
9612
|
}
|
|
9618
9613
|
});
|
|
9619
9614
|
function Ke(o, t, e, i) {
|
|
9620
|
-
t &&
|
|
9615
|
+
t && zi(t, o, {
|
|
9621
9616
|
x: e.clientX,
|
|
9622
9617
|
y: e.clientY,
|
|
9623
9618
|
sourceEvent: e,
|
|
@@ -9627,7 +9622,7 @@ function Ke(o, t, e, i) {
|
|
|
9627
9622
|
}
|
|
9628
9623
|
});
|
|
9629
9624
|
}
|
|
9630
|
-
|
|
9625
|
+
Fi({
|
|
9631
9626
|
name: "track",
|
|
9632
9627
|
touchAction: "none",
|
|
9633
9628
|
deps: ["mousedown", "touchstart", "touchmove", "touchend"],
|
|
@@ -9644,7 +9639,7 @@ zi({
|
|
|
9644
9639
|
moves: [],
|
|
9645
9640
|
/** @this {GestureInfo} */
|
|
9646
9641
|
addMove(o) {
|
|
9647
|
-
this.moves.length >
|
|
9642
|
+
this.moves.length > Kl && this.moves.shift(), this.moves.push(o);
|
|
9648
9643
|
},
|
|
9649
9644
|
movefn: null,
|
|
9650
9645
|
upfn: null,
|
|
@@ -9667,11 +9662,11 @@ zi({
|
|
|
9667
9662
|
return;
|
|
9668
9663
|
const t = ye(o), e = this, i = (r) => {
|
|
9669
9664
|
const n = r.clientX, a = r.clientY;
|
|
9670
|
-
|
|
9665
|
+
Oo(e.info, n, a) && (e.info.state = e.info.started ? r.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" && Tt("tap"), e.info.addMove({ x: n, y: a }), De(r) || (e.info.state = "end", Le(e.info)), t && Yt(e.info, t, r), e.info.started = !0);
|
|
9671
9666
|
}, s = (r) => {
|
|
9672
9667
|
e.info.started && i(r), Le(e.info);
|
|
9673
9668
|
};
|
|
9674
|
-
|
|
9669
|
+
Ws(this.info, i, s), this.info.x = o.clientX, this.info.y = o.clientY;
|
|
9675
9670
|
},
|
|
9676
9671
|
/**
|
|
9677
9672
|
* @this {GestureRecognizer}
|
|
@@ -9689,7 +9684,7 @@ zi({
|
|
|
9689
9684
|
*/
|
|
9690
9685
|
touchmove(o) {
|
|
9691
9686
|
const t = ye(o), e = o.changedTouches[0], i = e.clientX, s = e.clientY;
|
|
9692
|
-
|
|
9687
|
+
Oo(this.info, i, s) && (this.info.state === "start" && Tt("tap"), this.info.addMove({ x: i, y: s }), Yt(this.info, t, e), this.info.state = "track", this.info.started = !0);
|
|
9693
9688
|
},
|
|
9694
9689
|
/**
|
|
9695
9690
|
* @this {GestureRecognizer}
|
|
@@ -9701,20 +9696,20 @@ zi({
|
|
|
9701
9696
|
this.info.started && (this.info.state = "end", this.info.addMove({ x: e.clientX, y: e.clientY }), Yt(this.info, t, e));
|
|
9702
9697
|
}
|
|
9703
9698
|
});
|
|
9704
|
-
function
|
|
9699
|
+
function Oo(o, t, e) {
|
|
9705
9700
|
if (o.prevent)
|
|
9706
9701
|
return !1;
|
|
9707
9702
|
if (o.started)
|
|
9708
9703
|
return !0;
|
|
9709
9704
|
const i = Math.abs(o.x - t), s = Math.abs(o.y - e);
|
|
9710
|
-
return i >=
|
|
9705
|
+
return i >= Po || s >= Po;
|
|
9711
9706
|
}
|
|
9712
9707
|
function Yt(o, t, e) {
|
|
9713
9708
|
if (!t)
|
|
9714
9709
|
return;
|
|
9715
9710
|
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;
|
|
9716
9711
|
let a, l = 0;
|
|
9717
|
-
i && (a = s.x - i.x, l = s.y - i.y),
|
|
9712
|
+
i && (a = s.x - i.x, l = s.y - i.y), zi(t, "track", {
|
|
9718
9713
|
state: o.state,
|
|
9719
9714
|
x: e.clientX,
|
|
9720
9715
|
y: e.clientY,
|
|
@@ -9724,11 +9719,11 @@ function Yt(o, t, e) {
|
|
|
9724
9719
|
ddy: l,
|
|
9725
9720
|
sourceEvent: e,
|
|
9726
9721
|
hover() {
|
|
9727
|
-
return
|
|
9722
|
+
return sd(e.clientX, e.clientY);
|
|
9728
9723
|
}
|
|
9729
9724
|
});
|
|
9730
9725
|
}
|
|
9731
|
-
|
|
9726
|
+
Fi({
|
|
9732
9727
|
name: "tap",
|
|
9733
9728
|
deps: ["mousedown", "click", "touchstart", "touchend"],
|
|
9734
9729
|
flow: {
|
|
@@ -9762,7 +9757,7 @@ zi({
|
|
|
9762
9757
|
* @return {void}
|
|
9763
9758
|
*/
|
|
9764
9759
|
click(o) {
|
|
9765
|
-
De(o) &&
|
|
9760
|
+
De(o) && Mo(this.info, o);
|
|
9766
9761
|
},
|
|
9767
9762
|
/**
|
|
9768
9763
|
* @this {GestureRecognizer}
|
|
@@ -9779,15 +9774,15 @@ zi({
|
|
|
9779
9774
|
* @return {void}
|
|
9780
9775
|
*/
|
|
9781
9776
|
touchend(o) {
|
|
9782
|
-
|
|
9777
|
+
Mo(this.info, o.changedTouches[0], o);
|
|
9783
9778
|
}
|
|
9784
9779
|
});
|
|
9785
|
-
function
|
|
9780
|
+
function Mo(o, t, e) {
|
|
9786
9781
|
const i = Math.abs(t.clientX - o.x), s = Math.abs(t.clientY - o.y), r = ye(e || t);
|
|
9787
|
-
!r ||
|
|
9782
|
+
!r || td[
|
|
9788
9783
|
/** @type {!HTMLElement} */
|
|
9789
9784
|
r.localName
|
|
9790
|
-
] && r.hasAttribute("disabled") || (isNaN(i) || isNaN(s) || i <=
|
|
9785
|
+
] && r.hasAttribute("disabled") || (isNaN(i) || isNaN(s) || i <= So && s <= So || id(t)) && (o.prevent || zi(r, "tap", {
|
|
9791
9786
|
x: t.clientX,
|
|
9792
9787
|
y: t.clientY,
|
|
9793
9788
|
sourceEvent: t,
|
|
@@ -9799,7 +9794,7 @@ function Io(o, t, e) {
|
|
|
9799
9794
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9800
9795
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9801
9796
|
*/
|
|
9802
|
-
const
|
|
9797
|
+
const Gs = U(
|
|
9803
9798
|
(o) => class extends o {
|
|
9804
9799
|
static get properties() {
|
|
9805
9800
|
return {
|
|
@@ -9906,7 +9901,7 @@ const It = U(
|
|
|
9906
9901
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9907
9902
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9908
9903
|
*/
|
|
9909
|
-
const
|
|
9904
|
+
const dd = (o) => class extends Gs(It(o)) {
|
|
9910
9905
|
/**
|
|
9911
9906
|
* An array of activation keys.
|
|
9912
9907
|
*
|
|
@@ -9969,7 +9964,7 @@ const cd = (o) => class extends Js(It(o)) {
|
|
|
9969
9964
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9970
9965
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9971
9966
|
*/
|
|
9972
|
-
const
|
|
9967
|
+
const Li = U(
|
|
9973
9968
|
(o) => class extends o {
|
|
9974
9969
|
/**
|
|
9975
9970
|
* @protected
|
|
@@ -10026,7 +10021,7 @@ const $i = U(
|
|
|
10026
10021
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
10027
10022
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10028
10023
|
*/
|
|
10029
|
-
const
|
|
10024
|
+
const Js = (o) => class extends Gs(o) {
|
|
10030
10025
|
static get properties() {
|
|
10031
10026
|
return {
|
|
10032
10027
|
/**
|
|
@@ -10077,7 +10072,7 @@ const Xs = (o) => class extends Js(o) {
|
|
|
10077
10072
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10078
10073
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10079
10074
|
*/
|
|
10080
|
-
const
|
|
10075
|
+
const cd = (o) => class extends dd(Js(Li(o))) {
|
|
10081
10076
|
static get properties() {
|
|
10082
10077
|
return {
|
|
10083
10078
|
/**
|
|
@@ -10132,26 +10127,26 @@ const ud = (o) => class extends cd(Xs($i(o))) {
|
|
|
10132
10127
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10133
10128
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10134
10129
|
*/
|
|
10135
|
-
H("vaadin-button",
|
|
10136
|
-
class
|
|
10130
|
+
H("vaadin-button", Yl, { moduleId: "vaadin-button-styles" });
|
|
10131
|
+
class ud extends cd(Vs(ke(Ue(ve)))) {
|
|
10137
10132
|
static get is() {
|
|
10138
10133
|
return "vaadin-button";
|
|
10139
10134
|
}
|
|
10140
10135
|
static get template() {
|
|
10141
|
-
return
|
|
10136
|
+
return Wl(Pe);
|
|
10142
10137
|
}
|
|
10143
10138
|
/** @protected */
|
|
10144
10139
|
ready() {
|
|
10145
|
-
super.ready(), this._tooltipController = new
|
|
10140
|
+
super.ready(), this._tooltipController = new js(this), this.addController(this._tooltipController);
|
|
10146
10141
|
}
|
|
10147
10142
|
}
|
|
10148
|
-
le(
|
|
10143
|
+
le(ud);
|
|
10149
10144
|
/**
|
|
10150
10145
|
* @license
|
|
10151
10146
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10152
10147
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10153
10148
|
*/
|
|
10154
|
-
function
|
|
10149
|
+
function hd(o) {
|
|
10155
10150
|
let t = o.getDay();
|
|
10156
10151
|
t === 0 && (t = 7);
|
|
10157
10152
|
const e = 4 - t, i = new Date(o.getTime() + e * 24 * 3600 * 1e3), s = new Date(0, 0);
|
|
@@ -10166,7 +10161,7 @@ function mi(o) {
|
|
|
10166
10161
|
function fe(o, t, e = mi) {
|
|
10167
10162
|
return o instanceof Date && t instanceof Date && e(o).getTime() === e(t).getTime();
|
|
10168
10163
|
}
|
|
10169
|
-
function
|
|
10164
|
+
function $i(o) {
|
|
10170
10165
|
return {
|
|
10171
10166
|
day: o.getDate(),
|
|
10172
10167
|
month: o.getMonth(),
|
|
@@ -10176,12 +10171,12 @@ function Ri(o) {
|
|
|
10176
10171
|
function Be(o, t, e, i) {
|
|
10177
10172
|
let s = !1;
|
|
10178
10173
|
if (typeof i == "function" && o) {
|
|
10179
|
-
const r =
|
|
10174
|
+
const r = $i(o);
|
|
10180
10175
|
s = i(r);
|
|
10181
10176
|
}
|
|
10182
10177
|
return (!t || o >= t) && (!e || o <= e) && !s;
|
|
10183
10178
|
}
|
|
10184
|
-
function
|
|
10179
|
+
function Xs(o, t) {
|
|
10185
10180
|
return t.filter((e) => e !== void 0).reduce((e, i) => {
|
|
10186
10181
|
if (!i)
|
|
10187
10182
|
return e;
|
|
@@ -10191,11 +10186,11 @@ function Zs(o, t) {
|
|
|
10191
10186
|
return s < r ? i : e;
|
|
10192
10187
|
});
|
|
10193
10188
|
}
|
|
10194
|
-
function
|
|
10189
|
+
function Zs(o) {
|
|
10195
10190
|
const t = /* @__PURE__ */ new Date(), e = new Date(t);
|
|
10196
10191
|
return e.setDate(1), e.setMonth(parseInt(o) + t.getMonth()), e;
|
|
10197
10192
|
}
|
|
10198
|
-
function
|
|
10193
|
+
function pd(o, t, e = 0, i = 1) {
|
|
10199
10194
|
if (t > 99)
|
|
10200
10195
|
throw new Error("The provided year cannot have more than 2 digits.");
|
|
10201
10196
|
if (t < 0)
|
|
@@ -10210,15 +10205,15 @@ function Ge(o) {
|
|
|
10210
10205
|
const e = new Date(0, 0);
|
|
10211
10206
|
return e.setFullYear(parseInt(t[1], 10)), e.setMonth(parseInt(t[2], 10) - 1), e.setDate(parseInt(t[3], 10)), e;
|
|
10212
10207
|
}
|
|
10213
|
-
function
|
|
10208
|
+
function fd(o) {
|
|
10214
10209
|
const t = (l, d = "00") => (d + l).substr((d + l).length - d.length);
|
|
10215
10210
|
let e = "", i = "0000", s = o.year;
|
|
10216
10211
|
s < 0 ? (s = -s, e = "-", i = "000000") : o.year >= 1e4 && (e = "+", i = "000000");
|
|
10217
10212
|
const r = e + t(s, i), n = t(o.month + 1), a = t(o.day);
|
|
10218
10213
|
return [r, n, a].join("-");
|
|
10219
10214
|
}
|
|
10220
|
-
function
|
|
10221
|
-
return o instanceof Date ?
|
|
10215
|
+
function md(o) {
|
|
10216
|
+
return o instanceof Date ? fd({
|
|
10222
10217
|
year: o.getFullYear(),
|
|
10223
10218
|
month: o.getMonth(),
|
|
10224
10219
|
day: o.getDate()
|
|
@@ -10325,9 +10320,9 @@ class Dt {
|
|
|
10325
10320
|
}
|
|
10326
10321
|
}
|
|
10327
10322
|
let lt = /* @__PURE__ */ new Set();
|
|
10328
|
-
const
|
|
10323
|
+
const _d = function(o) {
|
|
10329
10324
|
lt.add(o);
|
|
10330
|
-
},
|
|
10325
|
+
}, gd = function() {
|
|
10331
10326
|
const o = !!lt.size;
|
|
10332
10327
|
return lt.forEach((t) => {
|
|
10333
10328
|
try {
|
|
@@ -10348,10 +10343,10 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
10348
10343
|
Code distributed by Google as part of the polymer project is also
|
|
10349
10344
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10350
10345
|
*/
|
|
10351
|
-
const
|
|
10346
|
+
const Ri = function() {
|
|
10352
10347
|
let o, t;
|
|
10353
10348
|
do
|
|
10354
|
-
o = window.ShadyDOM && ShadyDOM.flush(), window.ShadyCSS && window.ShadyCSS.ScopingShim && window.ShadyCSS.ScopingShim.flush(), t =
|
|
10349
|
+
o = window.ShadyDOM && ShadyDOM.flush(), window.ShadyCSS && window.ShadyCSS.ScopingShim && window.ShadyCSS.ScopingShim.flush(), t = gd();
|
|
10355
10350
|
while (o || t);
|
|
10356
10351
|
};
|
|
10357
10352
|
/**
|
|
@@ -10359,8 +10354,8 @@ const Hi = function() {
|
|
|
10359
10354
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10360
10355
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10361
10356
|
*/
|
|
10362
|
-
const
|
|
10363
|
-
|
|
10357
|
+
const Qs = document.createElement("template");
|
|
10358
|
+
Qs.innerHTML = `
|
|
10364
10359
|
<style>
|
|
10365
10360
|
:host {
|
|
10366
10361
|
display: block;
|
|
@@ -10411,9 +10406,9 @@ er.innerHTML = `
|
|
|
10411
10406
|
<div id="fullHeight"></div>
|
|
10412
10407
|
</div>
|
|
10413
10408
|
`;
|
|
10414
|
-
class
|
|
10409
|
+
class er extends HTMLElement {
|
|
10415
10410
|
constructor() {
|
|
10416
|
-
super(), this.attachShadow({ mode: "open" }).appendChild(
|
|
10411
|
+
super(), this.attachShadow({ mode: "open" }).appendChild(Qs.content.cloneNode(!0)), this.bufferSize = 20, this._initialScroll = 5e5, this._initialIndex = 0, this._activated = !1;
|
|
10417
10412
|
}
|
|
10418
10413
|
/**
|
|
10419
10414
|
* @return {boolean}
|
|
@@ -10473,7 +10468,7 @@ class tr extends HTMLElement {
|
|
|
10473
10468
|
* waiting for the debouncer to resolve.
|
|
10474
10469
|
*/
|
|
10475
10470
|
forceUpdate() {
|
|
10476
|
-
this._debouncerScrollFinish && this._debouncerScrollFinish.flush(), this._debouncerUpdateClones && (this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(), this._debouncerUpdateClones.cancel()),
|
|
10471
|
+
this._debouncerScrollFinish && this._debouncerScrollFinish.flush(), this._debouncerUpdateClones && (this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(), this._debouncerUpdateClones.cancel()), Ri();
|
|
10477
10472
|
}
|
|
10478
10473
|
/**
|
|
10479
10474
|
* @protected
|
|
@@ -10529,7 +10524,7 @@ class tr extends HTMLElement {
|
|
|
10529
10524
|
for (let i = 0; i < this.bufferSize; i++) {
|
|
10530
10525
|
const s = document.createElement("div");
|
|
10531
10526
|
s.style.height = `${this.itemHeight}px`, s.instance = {};
|
|
10532
|
-
const r = `vaadin-infinite-scroller-item-content-${
|
|
10527
|
+
const r = `vaadin-infinite-scroller-item-content-${Us()}`, n = document.createElement("slot");
|
|
10533
10528
|
n.setAttribute("name", r), n._itemWrapper = s, e.appendChild(n), s.setAttribute("slot", r), this.appendChild(s), this._isVisible(s, t) && this._ensureStampedInstance(s);
|
|
10534
10529
|
}
|
|
10535
10530
|
}), requestAnimationFrame(() => {
|
|
@@ -10570,8 +10565,8 @@ class tr extends HTMLElement {
|
|
|
10570
10565
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10571
10566
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10572
10567
|
*/
|
|
10573
|
-
const
|
|
10574
|
-
|
|
10568
|
+
const tr = document.createElement("template");
|
|
10569
|
+
tr.innerHTML = `
|
|
10575
10570
|
<style>
|
|
10576
10571
|
:host {
|
|
10577
10572
|
--vaadin-infinite-scroller-item-height: 270px;
|
|
@@ -10584,12 +10579,12 @@ ir.innerHTML = `
|
|
|
10584
10579
|
}
|
|
10585
10580
|
</style>
|
|
10586
10581
|
`;
|
|
10587
|
-
class
|
|
10582
|
+
class yd extends er {
|
|
10588
10583
|
static get is() {
|
|
10589
10584
|
return "vaadin-date-picker-month-scroller";
|
|
10590
10585
|
}
|
|
10591
10586
|
constructor() {
|
|
10592
|
-
super(), this.bufferSize = 3, this.shadowRoot.appendChild(
|
|
10587
|
+
super(), this.bufferSize = 3, this.shadowRoot.appendChild(tr.content.cloneNode(!0));
|
|
10593
10588
|
}
|
|
10594
10589
|
/**
|
|
10595
10590
|
* @protected
|
|
@@ -10605,17 +10600,17 @@ class vd extends tr {
|
|
|
10605
10600
|
* @override
|
|
10606
10601
|
*/
|
|
10607
10602
|
_updateElement(t, e) {
|
|
10608
|
-
t.month =
|
|
10603
|
+
t.month = Zs(e);
|
|
10609
10604
|
}
|
|
10610
10605
|
}
|
|
10611
|
-
le(
|
|
10606
|
+
le(yd);
|
|
10612
10607
|
/**
|
|
10613
10608
|
* @license
|
|
10614
10609
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10615
10610
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10616
10611
|
*/
|
|
10617
|
-
const
|
|
10618
|
-
|
|
10612
|
+
const ir = document.createElement("template");
|
|
10613
|
+
ir.innerHTML = `
|
|
10619
10614
|
<style>
|
|
10620
10615
|
:host {
|
|
10621
10616
|
--vaadin-infinite-scroller-item-height: 80px;
|
|
@@ -10650,12 +10645,12 @@ or.innerHTML = `
|
|
|
10650
10645
|
}
|
|
10651
10646
|
</style>
|
|
10652
10647
|
`;
|
|
10653
|
-
class
|
|
10648
|
+
class vd extends er {
|
|
10654
10649
|
static get is() {
|
|
10655
10650
|
return "vaadin-date-picker-year-scroller";
|
|
10656
10651
|
}
|
|
10657
10652
|
constructor() {
|
|
10658
|
-
super(), this.bufferSize = 12, this.shadowRoot.appendChild(
|
|
10653
|
+
super(), this.bufferSize = 12, this.shadowRoot.appendChild(ir.content.cloneNode(!0));
|
|
10659
10654
|
}
|
|
10660
10655
|
/**
|
|
10661
10656
|
* @protected
|
|
@@ -10679,13 +10674,13 @@ class bd extends tr {
|
|
|
10679
10674
|
return i.setFullYear(parseInt(t) + e.getFullYear()), i.getFullYear();
|
|
10680
10675
|
}
|
|
10681
10676
|
}
|
|
10682
|
-
le(
|
|
10677
|
+
le(vd);
|
|
10683
10678
|
/**
|
|
10684
10679
|
* @license
|
|
10685
10680
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10686
10681
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10687
10682
|
*/
|
|
10688
|
-
const
|
|
10683
|
+
const bd = (o) => class extends o {
|
|
10689
10684
|
static get properties() {
|
|
10690
10685
|
return {
|
|
10691
10686
|
year: {
|
|
@@ -10711,7 +10706,7 @@ const wd = (o) => class extends o {
|
|
|
10711
10706
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10712
10707
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10713
10708
|
*/
|
|
10714
|
-
class
|
|
10709
|
+
class wd extends ke(bd(ve)) {
|
|
10715
10710
|
static get is() {
|
|
10716
10711
|
return "vaadin-date-picker-year";
|
|
10717
10712
|
}
|
|
@@ -10728,7 +10723,7 @@ class xd extends ke(wd(ve)) {
|
|
|
10728
10723
|
`;
|
|
10729
10724
|
}
|
|
10730
10725
|
}
|
|
10731
|
-
le(
|
|
10726
|
+
le(wd);
|
|
10732
10727
|
/**
|
|
10733
10728
|
@license
|
|
10734
10729
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -10738,13 +10733,13 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
10738
10733
|
Code distributed by Google as part of the polymer project is also
|
|
10739
10734
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10740
10735
|
*/
|
|
10741
|
-
function
|
|
10736
|
+
function Hi(o, t, e, i, s) {
|
|
10742
10737
|
let r;
|
|
10743
10738
|
s && (r = typeof e == "object" && e !== null, r && (i = o.__dataTemp[t]));
|
|
10744
10739
|
let n = i !== e && (i === i || e === e);
|
|
10745
10740
|
return r && n && (o.__dataTemp[t] = e), n;
|
|
10746
10741
|
}
|
|
10747
|
-
const
|
|
10742
|
+
const Bi = U((o) => {
|
|
10748
10743
|
class t extends o {
|
|
10749
10744
|
/**
|
|
10750
10745
|
* Overrides `PropertyEffects` to provide option for skipping
|
|
@@ -10764,11 +10759,11 @@ const Vi = U((o) => {
|
|
|
10764
10759
|
* @protected
|
|
10765
10760
|
*/
|
|
10766
10761
|
_shouldPropertyChange(i, s, r) {
|
|
10767
|
-
return
|
|
10762
|
+
return Hi(this, i, s, r, !0);
|
|
10768
10763
|
}
|
|
10769
10764
|
}
|
|
10770
10765
|
return t;
|
|
10771
|
-
}),
|
|
10766
|
+
}), xd = U((o) => {
|
|
10772
10767
|
class t extends o {
|
|
10773
10768
|
/** @nocollapse */
|
|
10774
10769
|
static get properties() {
|
|
@@ -10800,12 +10795,12 @@ const Vi = U((o) => {
|
|
|
10800
10795
|
* @protected
|
|
10801
10796
|
*/
|
|
10802
10797
|
_shouldPropertyChange(i, s, r) {
|
|
10803
|
-
return
|
|
10798
|
+
return Hi(this, i, s, r, this.mutableData);
|
|
10804
10799
|
}
|
|
10805
10800
|
}
|
|
10806
10801
|
return t;
|
|
10807
10802
|
});
|
|
10808
|
-
|
|
10803
|
+
Bi._mutablePropertyChange = Hi;
|
|
10809
10804
|
/**
|
|
10810
10805
|
@license
|
|
10811
10806
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -10825,13 +10820,13 @@ gi.prototype = Object.create(HTMLTemplateElement.prototype, {
|
|
|
10825
10820
|
writable: !0
|
|
10826
10821
|
}
|
|
10827
10822
|
});
|
|
10828
|
-
const
|
|
10829
|
-
function
|
|
10823
|
+
const or = Si(gi), Cd = Bi(or);
|
|
10824
|
+
function Ad(o, t) {
|
|
10830
10825
|
_i = o, Object.setPrototypeOf(o, t.prototype), new t(), _i = null;
|
|
10831
10826
|
}
|
|
10832
|
-
const
|
|
10827
|
+
const Td = Si(class {
|
|
10833
10828
|
});
|
|
10834
|
-
function
|
|
10829
|
+
function Dd(o, t) {
|
|
10835
10830
|
for (let e = 0; e < t.length; e++) {
|
|
10836
10831
|
let i = t[e];
|
|
10837
10832
|
if (!!o != !!i.__hideTemplateChildren__)
|
|
@@ -10849,7 +10844,7 @@ function Ed(o, t) {
|
|
|
10849
10844
|
i.__hideTemplateChildren__ = o, i._showHideChildren && i._showHideChildren(o);
|
|
10850
10845
|
}
|
|
10851
10846
|
}
|
|
10852
|
-
class be extends
|
|
10847
|
+
class be extends Td {
|
|
10853
10848
|
constructor(t) {
|
|
10854
10849
|
super(), this._configureProperties(t), this.root = this._stampTemplate(this.__dataHost);
|
|
10855
10850
|
let e = [];
|
|
@@ -10918,7 +10913,7 @@ class be extends Dd {
|
|
|
10918
10913
|
* @protected
|
|
10919
10914
|
*/
|
|
10920
10915
|
_showHideChildren(t) {
|
|
10921
|
-
|
|
10916
|
+
Dd(t, this.children);
|
|
10922
10917
|
}
|
|
10923
10918
|
/**
|
|
10924
10919
|
* Overrides default property-effects implementation to intercept
|
|
@@ -10971,31 +10966,31 @@ be.prototype.__templatizeOptions;
|
|
|
10971
10966
|
be.prototype._methodHost;
|
|
10972
10967
|
be.prototype.__templatizeOwner;
|
|
10973
10968
|
be.prototype.__hostProps;
|
|
10974
|
-
const
|
|
10969
|
+
const Ed = Bi(
|
|
10975
10970
|
// This cast shouldn't be neccessary, but Closure doesn't understand that
|
|
10976
10971
|
// TemplateInstanceBase is a constructor function.
|
|
10977
10972
|
/** @type {function(new:TemplateInstanceBase)} */
|
|
10978
10973
|
be
|
|
10979
10974
|
);
|
|
10980
|
-
function
|
|
10975
|
+
function Io(o) {
|
|
10981
10976
|
let t = o.__dataHost;
|
|
10982
10977
|
return t && t._methodHost || t;
|
|
10983
10978
|
}
|
|
10984
|
-
function
|
|
10985
|
-
let i = e.mutableData ?
|
|
10979
|
+
function kd(o, t, e) {
|
|
10980
|
+
let i = e.mutableData ? Ed : be;
|
|
10986
10981
|
yi.mixin && (i = yi.mixin(i));
|
|
10987
10982
|
let s = class extends i {
|
|
10988
10983
|
};
|
|
10989
|
-
return s.prototype.__templatizeOptions = e, s.prototype._bindTemplate(o),
|
|
10984
|
+
return s.prototype.__templatizeOptions = e, s.prototype._bindTemplate(o), Od(s, o, t, e), s;
|
|
10990
10985
|
}
|
|
10991
|
-
function
|
|
10986
|
+
function Sd(o, t, e, i) {
|
|
10992
10987
|
let s = e.forwardHostProp;
|
|
10993
10988
|
if (s && t.hasHostProps) {
|
|
10994
10989
|
const r = o.localName == "template";
|
|
10995
10990
|
let n = t.templatizeTemplateClass;
|
|
10996
10991
|
if (!n) {
|
|
10997
10992
|
if (r) {
|
|
10998
|
-
let l = e.mutableData ?
|
|
10993
|
+
let l = e.mutableData ? Cd : or;
|
|
10999
10994
|
class d extends l {
|
|
11000
10995
|
}
|
|
11001
10996
|
n = t.templatizeTemplateClass = d;
|
|
@@ -11010,12 +11005,12 @@ function Pd(o, t, e, i) {
|
|
|
11010
11005
|
n.prototype._addPropertyEffect(
|
|
11011
11006
|
"_host_" + l,
|
|
11012
11007
|
n.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE,
|
|
11013
|
-
{ fn:
|
|
11008
|
+
{ fn: Pd(l, s) }
|
|
11014
11009
|
), n.prototype._createNotifyingProperty("_host_" + l);
|
|
11015
|
-
|
|
11010
|
+
ls && i && Nd(t, e, i);
|
|
11016
11011
|
}
|
|
11017
11012
|
if (o.__dataProto && Object.assign(o.__data, o.__dataProto), r)
|
|
11018
|
-
|
|
11013
|
+
Ad(o, n), o.__dataTemp = {}, o.__dataPending = null, o.__dataOld = null, o._enableProperties();
|
|
11019
11014
|
else {
|
|
11020
11015
|
Object.setPrototypeOf(o, n.prototype);
|
|
11021
11016
|
const a = t.hostProps;
|
|
@@ -11027,7 +11022,7 @@ function Pd(o, t, e, i) {
|
|
|
11027
11022
|
}
|
|
11028
11023
|
}
|
|
11029
11024
|
}
|
|
11030
|
-
function
|
|
11025
|
+
function Pd(o, t) {
|
|
11031
11026
|
return function(i, s, r) {
|
|
11032
11027
|
t.call(
|
|
11033
11028
|
i.__templatizeOwner,
|
|
@@ -11036,7 +11031,7 @@ function Od(o, t) {
|
|
|
11036
11031
|
);
|
|
11037
11032
|
};
|
|
11038
11033
|
}
|
|
11039
|
-
function
|
|
11034
|
+
function Od(o, t, e, i) {
|
|
11040
11035
|
let s = e.hostProps || {};
|
|
11041
11036
|
for (let r in i.instanceProps) {
|
|
11042
11037
|
delete s[r];
|
|
@@ -11044,7 +11039,7 @@ function Md(o, t, e, i) {
|
|
|
11044
11039
|
n && o.prototype._addPropertyEffect(
|
|
11045
11040
|
r,
|
|
11046
11041
|
o.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,
|
|
11047
|
-
{ fn:
|
|
11042
|
+
{ fn: Md(r, n) }
|
|
11048
11043
|
);
|
|
11049
11044
|
}
|
|
11050
11045
|
if (i.forwardHostProp && t.__dataHost)
|
|
@@ -11052,10 +11047,10 @@ function Md(o, t, e, i) {
|
|
|
11052
11047
|
e.hasHostProps || (e.hasHostProps = !0), o.prototype._addPropertyEffect(
|
|
11053
11048
|
r,
|
|
11054
11049
|
o.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,
|
|
11055
|
-
{ fn:
|
|
11050
|
+
{ fn: Id() }
|
|
11056
11051
|
);
|
|
11057
11052
|
}
|
|
11058
|
-
function
|
|
11053
|
+
function Md(o, t) {
|
|
11059
11054
|
return function(i, s, r) {
|
|
11060
11055
|
t.call(
|
|
11061
11056
|
i.__templatizeOwner,
|
|
@@ -11065,22 +11060,22 @@ function Id(o, t) {
|
|
|
11065
11060
|
);
|
|
11066
11061
|
};
|
|
11067
11062
|
}
|
|
11068
|
-
function
|
|
11063
|
+
function Id() {
|
|
11069
11064
|
return function(t, e, i) {
|
|
11070
11065
|
t.__dataHost._setPendingPropertyOrPath("_host_" + e, i[e], !0, !0);
|
|
11071
11066
|
};
|
|
11072
11067
|
}
|
|
11073
11068
|
function yi(o, t, e) {
|
|
11074
|
-
if (xt && !
|
|
11069
|
+
if (xt && !Io(o))
|
|
11075
11070
|
throw new Error("strictTemplatePolicy: template owner not trusted");
|
|
11076
11071
|
if (e = /** @type {!TemplatizeOptions} */
|
|
11077
11072
|
e || {}, o.__templatizeOwner)
|
|
11078
11073
|
throw new Error("A <template> can only be templatized once");
|
|
11079
11074
|
o.__templatizeOwner = t;
|
|
11080
11075
|
let s = (t ? t.constructor : be)._parseTemplate(o), r = s.templatizeInstanceClass;
|
|
11081
|
-
r || (r =
|
|
11082
|
-
const n =
|
|
11083
|
-
|
|
11076
|
+
r || (r = kd(o, s, e), s.templatizeInstanceClass = r);
|
|
11077
|
+
const n = Io(o);
|
|
11078
|
+
Sd(o, s, e, n);
|
|
11084
11079
|
let a = class extends r {
|
|
11085
11080
|
};
|
|
11086
11081
|
return a.prototype._methodHost = n, a.prototype.__dataHost = /** @type {!DataTemplate} */
|
|
@@ -11088,7 +11083,7 @@ function yi(o, t, e) {
|
|
|
11088
11083
|
t, a.prototype.__hostProps = s.hostProps, a = /** @type {function(new:TemplateInstanceBase)} */
|
|
11089
11084
|
a, a;
|
|
11090
11085
|
}
|
|
11091
|
-
function
|
|
11086
|
+
function Nd(o, t, e) {
|
|
11092
11087
|
const i = e.constructor._properties, { propertyEffects: s } = o, { instanceProps: r } = t;
|
|
11093
11088
|
for (let n in s)
|
|
11094
11089
|
if (!i[n] && !(r && r[n])) {
|
|
@@ -11102,7 +11097,7 @@ function Fd(o, t, e) {
|
|
|
11102
11097
|
}
|
|
11103
11098
|
}
|
|
11104
11099
|
}
|
|
11105
|
-
function
|
|
11100
|
+
function Fd(o, t) {
|
|
11106
11101
|
let e;
|
|
11107
11102
|
for (; t; )
|
|
11108
11103
|
if (e = t.__dataHost ? t : t.__templatizeInstance)
|
|
@@ -11123,11 +11118,11 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11123
11118
|
Code distributed by Google as part of the polymer project is also
|
|
11124
11119
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11125
11120
|
*/
|
|
11126
|
-
let
|
|
11127
|
-
function
|
|
11128
|
-
if (
|
|
11129
|
-
if (!
|
|
11130
|
-
|
|
11121
|
+
let No = !1;
|
|
11122
|
+
function zd() {
|
|
11123
|
+
if (as && !ns) {
|
|
11124
|
+
if (!No) {
|
|
11125
|
+
No = !0;
|
|
11131
11126
|
const o = document.createElement("style");
|
|
11132
11127
|
o.textContent = "dom-bind,dom-if,dom-repeat{display:none;}", document.head.appendChild(o);
|
|
11133
11128
|
}
|
|
@@ -11144,8 +11139,8 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11144
11139
|
Code distributed by Google as part of the polymer project is also
|
|
11145
11140
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11146
11141
|
*/
|
|
11147
|
-
const
|
|
11148
|
-
class
|
|
11142
|
+
const Ld = xd(ve);
|
|
11143
|
+
class Fo extends Ld {
|
|
11149
11144
|
// Not needed to find template; can be removed once the analyzer
|
|
11150
11145
|
// can find the tag name from customElements.define call
|
|
11151
11146
|
static get is() {
|
|
@@ -11240,7 +11235,7 @@ class zo extends $d {
|
|
|
11240
11235
|
*/
|
|
11241
11236
|
renderedItemCount: {
|
|
11242
11237
|
type: Number,
|
|
11243
|
-
notify: !
|
|
11238
|
+
notify: !no,
|
|
11244
11239
|
readOnly: !0
|
|
11245
11240
|
},
|
|
11246
11241
|
/**
|
|
@@ -11323,7 +11318,7 @@ class zo extends $d {
|
|
|
11323
11318
|
* @return {void}
|
|
11324
11319
|
*/
|
|
11325
11320
|
connectedCallback() {
|
|
11326
|
-
if (super.connectedCallback(),
|
|
11321
|
+
if (super.connectedCallback(), zd() || (this.style.display = "none"), this.__isDetached) {
|
|
11327
11322
|
this.__isDetached = !1;
|
|
11328
11323
|
let t = W(W(this).parentNode);
|
|
11329
11324
|
for (let e = 0; e < this.__instances.length; e++)
|
|
@@ -11373,7 +11368,7 @@ class zo extends $d {
|
|
|
11373
11368
|
* @param {*} value Value to notify
|
|
11374
11369
|
*/
|
|
11375
11370
|
notifyInstanceProp: function(s, r, n) {
|
|
11376
|
-
if (
|
|
11371
|
+
if (Bn(this.as, r)) {
|
|
11377
11372
|
let a = s[this.itemsIndexAs];
|
|
11378
11373
|
r == this.as && (this.items[a] = n);
|
|
11379
11374
|
let l = rt(this.as, `${JSCompiler_renameProperty("items", this)}.${a}`, r);
|
|
@@ -11429,9 +11424,9 @@ class zo extends $d {
|
|
|
11429
11424
|
__debounceRender(t, e = 0) {
|
|
11430
11425
|
this.__renderDebouncer = Dt.debounce(
|
|
11431
11426
|
this.__renderDebouncer,
|
|
11432
|
-
e > 0 ?
|
|
11427
|
+
e > 0 ? qn.after(e) : ys,
|
|
11433
11428
|
t.bind(this)
|
|
11434
|
-
),
|
|
11429
|
+
), _d(this.__renderDebouncer);
|
|
11435
11430
|
}
|
|
11436
11431
|
/**
|
|
11437
11432
|
* Forces the element to render its content. Normally rendering is
|
|
@@ -11442,7 +11437,7 @@ class zo extends $d {
|
|
|
11442
11437
|
* @return {void}
|
|
11443
11438
|
*/
|
|
11444
11439
|
render() {
|
|
11445
|
-
this.__debounceRender(this.__render),
|
|
11440
|
+
this.__debounceRender(this.__render), Ri();
|
|
11446
11441
|
}
|
|
11447
11442
|
__render() {
|
|
11448
11443
|
if (!this.__ensureTemplatized())
|
|
@@ -11451,7 +11446,7 @@ class zo extends $d {
|
|
|
11451
11446
|
const e = this.__sortAndFilterItems(t), i = this.__calculateLimit(e.length);
|
|
11452
11447
|
this.__updateInstances(t, i, e), this.initialCount && (this.__shouldMeasureChunk || this.__shouldContinueChunking) && (cancelAnimationFrame(this.__chunkingId), this.__chunkingId = requestAnimationFrame(() => {
|
|
11453
11448
|
this.__chunkingId = null, this.__continueChunking();
|
|
11454
|
-
})), this._setRenderedItemCount(this.__instances.length), (!
|
|
11449
|
+
})), this._setRenderedItemCount(this.__instances.length), (!no || this.notifyDomChange) && this.dispatchEvent(new CustomEvent("dom-change", {
|
|
11455
11450
|
bubbles: !0,
|
|
11456
11451
|
composed: !0
|
|
11457
11452
|
}));
|
|
@@ -11591,16 +11586,16 @@ class zo extends $d {
|
|
|
11591
11586
|
* the element.
|
|
11592
11587
|
*/
|
|
11593
11588
|
modelForElement(t) {
|
|
11594
|
-
return
|
|
11589
|
+
return Fd(this.template, t);
|
|
11595
11590
|
}
|
|
11596
11591
|
}
|
|
11597
|
-
customElements.define(
|
|
11592
|
+
customElements.define(Fo.is, Fo);
|
|
11598
11593
|
/**
|
|
11599
11594
|
* @license
|
|
11600
11595
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11601
11596
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11602
11597
|
*/
|
|
11603
|
-
const
|
|
11598
|
+
const $d = (o) => class extends Li(o) {
|
|
11604
11599
|
static get properties() {
|
|
11605
11600
|
return {
|
|
11606
11601
|
/**
|
|
@@ -11783,7 +11778,7 @@ const Rd = (o) => class extends $i(o) {
|
|
|
11783
11778
|
/** @protected */
|
|
11784
11779
|
__getWeekNumber(e) {
|
|
11785
11780
|
const i = e.reduce((s, r) => !s && r ? r : s);
|
|
11786
|
-
return
|
|
11781
|
+
return hd(i);
|
|
11787
11782
|
}
|
|
11788
11783
|
/** @protected */
|
|
11789
11784
|
__getDayAriaLabel(e) {
|
|
@@ -11798,7 +11793,7 @@ const Rd = (o) => class extends $i(o) {
|
|
|
11798
11793
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11799
11794
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11800
11795
|
*/
|
|
11801
|
-
const
|
|
11796
|
+
const Rd = P`
|
|
11802
11797
|
:host {
|
|
11803
11798
|
display: block;
|
|
11804
11799
|
}
|
|
@@ -11860,10 +11855,10 @@ const Hd = P`
|
|
|
11860
11855
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11861
11856
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11862
11857
|
*/
|
|
11863
|
-
H("vaadin-month-calendar",
|
|
11858
|
+
H("vaadin-month-calendar", Rd, {
|
|
11864
11859
|
moduleId: "vaadin-month-calendar-styles"
|
|
11865
11860
|
});
|
|
11866
|
-
class
|
|
11861
|
+
class Hd extends $d(ke(ve)) {
|
|
11867
11862
|
static get template() {
|
|
11868
11863
|
return Pe`
|
|
11869
11864
|
<div part="month-header" id="month-header" aria-hidden="true">[[_getTitle(month, i18n)]]</div>
|
|
@@ -11971,13 +11966,13 @@ class Bd extends Rd(ke(ve)) {
|
|
|
11971
11966
|
return this.__isDayFocused(t, e) ? "0" : "-1";
|
|
11972
11967
|
}
|
|
11973
11968
|
}
|
|
11974
|
-
le(
|
|
11969
|
+
le(Hd);
|
|
11975
11970
|
/**
|
|
11976
11971
|
* @license
|
|
11977
11972
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
11978
11973
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11979
11974
|
*/
|
|
11980
|
-
class
|
|
11975
|
+
class sr {
|
|
11981
11976
|
constructor(t, e) {
|
|
11982
11977
|
this.query = t, this.callback = e, this._boundQueryHandler = this._queryHandler.bind(this);
|
|
11983
11978
|
}
|
|
@@ -12005,7 +12000,7 @@ class rr {
|
|
|
12005
12000
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12006
12001
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12007
12002
|
*/
|
|
12008
|
-
const
|
|
12003
|
+
const Bd = (o) => class extends o {
|
|
12009
12004
|
static get properties() {
|
|
12010
12005
|
return {
|
|
12011
12006
|
scrollDuration: {
|
|
@@ -12133,7 +12128,7 @@ const Vd = (o) => class extends o {
|
|
|
12133
12128
|
}
|
|
12134
12129
|
/** @protected */
|
|
12135
12130
|
_addListeners() {
|
|
12136
|
-
|
|
12131
|
+
Ks(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(
|
|
12137
12132
|
this.shadowRoot.querySelector('[part="years-toggle-button"]'),
|
|
12138
12133
|
"tap",
|
|
12139
12134
|
this._toggleYearScroller.bind(this)
|
|
@@ -12142,7 +12137,7 @@ const Vd = (o) => class extends o {
|
|
|
12142
12137
|
/** @protected */
|
|
12143
12138
|
_initControllers() {
|
|
12144
12139
|
this.addController(
|
|
12145
|
-
new
|
|
12140
|
+
new sr(this._desktopMediaQuery, (e) => {
|
|
12146
12141
|
this._desktopMode = e;
|
|
12147
12142
|
})
|
|
12148
12143
|
), this.addController(
|
|
@@ -12334,7 +12329,7 @@ const Vd = (o) => class extends o {
|
|
|
12334
12329
|
}
|
|
12335
12330
|
/** @protected */
|
|
12336
12331
|
_formatDisplayed(e, i, s) {
|
|
12337
|
-
return e && i && typeof i.formatDate == "function" ? i.formatDate(
|
|
12332
|
+
return e && i && typeof i.formatDate == "function" ? i.formatDate($i(e)) : s;
|
|
12338
12333
|
}
|
|
12339
12334
|
/** @private */
|
|
12340
12335
|
_onTodayTap() {
|
|
@@ -12451,7 +12446,7 @@ const Vd = (o) => class extends o {
|
|
|
12451
12446
|
}
|
|
12452
12447
|
/** @private */
|
|
12453
12448
|
_yearAfterXMonths(e) {
|
|
12454
|
-
return
|
|
12449
|
+
return Zs(e).getFullYear();
|
|
12455
12450
|
}
|
|
12456
12451
|
/** @private */
|
|
12457
12452
|
_differenceInMonths(e, i) {
|
|
@@ -12556,14 +12551,14 @@ const Vd = (o) => class extends o {
|
|
|
12556
12551
|
}
|
|
12557
12552
|
async focusDateElement(e = !0) {
|
|
12558
12553
|
this.__pendingDateFocus = this.focusedDate, this.calendars.length || await new Promise((i) => {
|
|
12559
|
-
|
|
12560
|
-
|
|
12554
|
+
Fs(this, () => {
|
|
12555
|
+
Ri(), i();
|
|
12561
12556
|
});
|
|
12562
12557
|
}), e && this.revealDate(this.focusedDate), this._revealPromise && await this._revealPromise, this.__tryFocusDate();
|
|
12563
12558
|
}
|
|
12564
12559
|
/** @private */
|
|
12565
12560
|
_focusClosestDate(e) {
|
|
12566
|
-
this.focusDate(
|
|
12561
|
+
this.focusDate(Xs(e, [this.minDate, this.maxDate]));
|
|
12567
12562
|
}
|
|
12568
12563
|
/** @private */
|
|
12569
12564
|
_focusAllowedDate(e, i, s) {
|
|
@@ -12614,7 +12609,7 @@ const Vd = (o) => class extends o {
|
|
|
12614
12609
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12615
12610
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12616
12611
|
*/
|
|
12617
|
-
const
|
|
12612
|
+
const Vd = P`
|
|
12618
12613
|
:host {
|
|
12619
12614
|
display: flex;
|
|
12620
12615
|
flex-direction: column;
|
|
@@ -12680,10 +12675,10 @@ const Ud = P`
|
|
|
12680
12675
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12681
12676
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12682
12677
|
*/
|
|
12683
|
-
H("vaadin-date-picker-overlay-content",
|
|
12678
|
+
H("vaadin-date-picker-overlay-content", Vd, {
|
|
12684
12679
|
moduleId: "vaadin-date-picker-overlay-content-styles"
|
|
12685
12680
|
});
|
|
12686
|
-
class
|
|
12681
|
+
class Ud extends Bd(
|
|
12687
12682
|
Ue(ke(Pt(ve)))
|
|
12688
12683
|
) {
|
|
12689
12684
|
static get template() {
|
|
@@ -12717,14 +12712,14 @@ class jd extends Vd(
|
|
|
12717
12712
|
super.ready(), this.setAttribute("role", "dialog"), this._addListeners(), this._initControllers();
|
|
12718
12713
|
}
|
|
12719
12714
|
}
|
|
12720
|
-
le(
|
|
12715
|
+
le(Ud);
|
|
12721
12716
|
/**
|
|
12722
12717
|
* @license
|
|
12723
12718
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12724
12719
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12725
12720
|
*/
|
|
12726
|
-
const
|
|
12727
|
-
(o) => class extends
|
|
12721
|
+
const rr = U(
|
|
12722
|
+
(o) => class extends Li(Js(o)) {
|
|
12728
12723
|
static get properties() {
|
|
12729
12724
|
return {
|
|
12730
12725
|
/**
|
|
@@ -12881,14 +12876,14 @@ const nr = U(
|
|
|
12881
12876
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12882
12877
|
*/
|
|
12883
12878
|
const Wt = /* @__PURE__ */ new WeakMap();
|
|
12884
|
-
function
|
|
12879
|
+
function jd(o) {
|
|
12885
12880
|
return Wt.has(o) || Wt.set(o, /* @__PURE__ */ new Set()), Wt.get(o);
|
|
12886
12881
|
}
|
|
12887
|
-
function
|
|
12882
|
+
function Yd(o, t) {
|
|
12888
12883
|
const e = document.createElement("style");
|
|
12889
12884
|
e.textContent = o, t === document ? document.head.appendChild(e) : t.insertBefore(e, t.firstChild);
|
|
12890
12885
|
}
|
|
12891
|
-
const
|
|
12886
|
+
const Wd = U(
|
|
12892
12887
|
(o) => class extends o {
|
|
12893
12888
|
/**
|
|
12894
12889
|
* List of styles to insert into root.
|
|
@@ -12903,9 +12898,9 @@ const qd = U(
|
|
|
12903
12898
|
}
|
|
12904
12899
|
/** @private */
|
|
12905
12900
|
__applySlotStyles() {
|
|
12906
|
-
const e = this.getRootNode(), i =
|
|
12901
|
+
const e = this.getRootNode(), i = jd(e);
|
|
12907
12902
|
this.slotStyles.forEach((s) => {
|
|
12908
|
-
i.has(s) || (
|
|
12903
|
+
i.has(s) || (Yd(s, e), i.add(s));
|
|
12909
12904
|
});
|
|
12910
12905
|
}
|
|
12911
12906
|
}
|
|
@@ -12915,7 +12910,7 @@ const qd = U(
|
|
|
12915
12910
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12916
12911
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12917
12912
|
*/
|
|
12918
|
-
const
|
|
12913
|
+
const nr = U(
|
|
12919
12914
|
(o) => class extends o {
|
|
12920
12915
|
static get properties() {
|
|
12921
12916
|
return {
|
|
@@ -13119,7 +13114,7 @@ const ar = U(
|
|
|
13119
13114
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13120
13115
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13121
13116
|
*/
|
|
13122
|
-
const
|
|
13117
|
+
const qd = (o) => class extends nr(It(o)) {
|
|
13123
13118
|
static get properties() {
|
|
13124
13119
|
return {
|
|
13125
13120
|
/**
|
|
@@ -13164,7 +13159,7 @@ const Kd = (o) => class extends ar(It(o)) {
|
|
|
13164
13159
|
* @protected
|
|
13165
13160
|
*/
|
|
13166
13161
|
_onClearButtonMouseDown(e) {
|
|
13167
|
-
e.preventDefault(),
|
|
13162
|
+
e.preventDefault(), hl || this.inputElement.focus();
|
|
13168
13163
|
}
|
|
13169
13164
|
/**
|
|
13170
13165
|
* Override an event listener inherited from `KeydownMixin` to clear on Esc.
|
|
@@ -13195,48 +13190,48 @@ const Kd = (o) => class extends ar(It(o)) {
|
|
|
13195
13190
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13196
13191
|
*/
|
|
13197
13192
|
const qt = /* @__PURE__ */ new Map();
|
|
13198
|
-
function
|
|
13193
|
+
function Vi(o) {
|
|
13199
13194
|
return qt.has(o) || qt.set(o, /* @__PURE__ */ new WeakMap()), qt.get(o);
|
|
13200
13195
|
}
|
|
13201
|
-
function
|
|
13196
|
+
function ar(o, t) {
|
|
13202
13197
|
o && o.removeAttribute(t);
|
|
13203
13198
|
}
|
|
13204
|
-
function
|
|
13199
|
+
function lr(o, t) {
|
|
13205
13200
|
if (!o || !t)
|
|
13206
13201
|
return;
|
|
13207
|
-
const e =
|
|
13202
|
+
const e = Vi(t);
|
|
13208
13203
|
if (e.has(o))
|
|
13209
13204
|
return;
|
|
13210
13205
|
const i = Mi(o.getAttribute(t));
|
|
13211
13206
|
e.set(o, new Set(i));
|
|
13212
13207
|
}
|
|
13213
|
-
function
|
|
13214
|
-
if (!o
|
|
13208
|
+
function Kd(o, t) {
|
|
13209
|
+
if (!o)
|
|
13215
13210
|
return;
|
|
13216
|
-
const e =
|
|
13217
|
-
!i || i.size === 0 ? o.removeAttribute(t) :
|
|
13211
|
+
const e = Vi(t), i = e.get(o);
|
|
13212
|
+
!i || i.size === 0 ? o.removeAttribute(t) : Rs(o, t, Mt(i)), e.delete(o);
|
|
13218
13213
|
}
|
|
13219
13214
|
function Kt(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
13220
13215
|
if (!o || !t)
|
|
13221
13216
|
return;
|
|
13222
|
-
const { newId: i, oldId: s, fromUser: r } = e, n =
|
|
13217
|
+
const { newId: i, oldId: s, fromUser: r } = e, n = Vi(t), a = n.get(o);
|
|
13223
13218
|
if (!r && a) {
|
|
13224
13219
|
s && a.delete(s), i && a.add(i);
|
|
13225
13220
|
return;
|
|
13226
13221
|
}
|
|
13227
|
-
r && (a ? i || n.delete(o) :
|
|
13222
|
+
r && (a ? i || n.delete(o) : lr(o, t), ar(o, t)), Cl(o, t, s);
|
|
13228
13223
|
const l = i || Mt(a);
|
|
13229
|
-
l &&
|
|
13224
|
+
l && Rs(o, t, l);
|
|
13230
13225
|
}
|
|
13231
|
-
function
|
|
13232
|
-
|
|
13226
|
+
function Gd(o, t) {
|
|
13227
|
+
lr(o, t), ar(o, t);
|
|
13233
13228
|
}
|
|
13234
13229
|
/**
|
|
13235
13230
|
* @license
|
|
13236
13231
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13237
13232
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13238
13233
|
*/
|
|
13239
|
-
class
|
|
13234
|
+
class Jd {
|
|
13240
13235
|
constructor(t) {
|
|
13241
13236
|
this.host = t, this.__required = !1;
|
|
13242
13237
|
}
|
|
@@ -13309,7 +13304,7 @@ class Xd {
|
|
|
13309
13304
|
* @private
|
|
13310
13305
|
* */
|
|
13311
13306
|
__setAriaLabelToAttribute(t) {
|
|
13312
|
-
this.__target && (t ? (
|
|
13307
|
+
this.__target && (t ? (Gd(this.__target, "aria-labelledby"), this.__target.setAttribute("aria-label", t)) : this.__label && (Kd(this.__target, "aria-labelledby"), this.__target.removeAttribute("aria-label")));
|
|
13313
13308
|
}
|
|
13314
13309
|
/**
|
|
13315
13310
|
* @param {string | null | undefined} labelId
|
|
@@ -13355,9 +13350,9 @@ ie.style.clip = "rect(0px, 0px, 0px, 0px)";
|
|
|
13355
13350
|
ie.setAttribute("aria-live", "polite");
|
|
13356
13351
|
document.body.appendChild(ie);
|
|
13357
13352
|
let mt;
|
|
13358
|
-
function
|
|
13353
|
+
function Xd(o, t = {}) {
|
|
13359
13354
|
const e = t.mode || "polite", i = t.timeout === void 0 ? 150 : t.timeout;
|
|
13360
|
-
e === "alert" ? (ie.removeAttribute("aria-live"), ie.removeAttribute("role"), mt = He.debounce(mt,
|
|
13355
|
+
e === "alert" ? (ie.removeAttribute("aria-live"), ie.removeAttribute("role"), mt = He.debounce(mt, Rl, () => {
|
|
13361
13356
|
ie.setAttribute("role", "alert");
|
|
13362
13357
|
})) : (mt && mt.cancel(), ie.removeAttribute("role"), ie.setAttribute("aria-live", e)), ie.textContent = "", setTimeout(() => {
|
|
13363
13358
|
ie.textContent = o;
|
|
@@ -13368,7 +13363,7 @@ function Zd(o, t = {}) {
|
|
|
13368
13363
|
* Copyright (c) 2022 - 2024 Vaadin Ltd.
|
|
13369
13364
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13370
13365
|
*/
|
|
13371
|
-
class
|
|
13366
|
+
class Ui extends Ae {
|
|
13372
13367
|
constructor(t, e, i, s = {}) {
|
|
13373
13368
|
super(t, e, i, { ...s, useUniqueId: !0 });
|
|
13374
13369
|
}
|
|
@@ -13483,7 +13478,7 @@ class ji extends Ae {
|
|
|
13483
13478
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13484
13479
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13485
13480
|
*/
|
|
13486
|
-
class
|
|
13481
|
+
class Zd extends Ui {
|
|
13487
13482
|
constructor(t) {
|
|
13488
13483
|
super(t, "error-message", "div");
|
|
13489
13484
|
}
|
|
@@ -13557,7 +13552,7 @@ class Qd extends ji {
|
|
|
13557
13552
|
*/
|
|
13558
13553
|
updateDefaultNode(t) {
|
|
13559
13554
|
const { errorMessage: e, invalid: i } = this, s = !!(i && e && e.trim() !== "");
|
|
13560
|
-
t && (t.textContent = s ? e : "", t.hidden = !s, s &&
|
|
13555
|
+
t && (t.textContent = s ? e : "", t.hidden = !s, s && Xd(e, { mode: "assertive" })), super.updateDefaultNode(t);
|
|
13561
13556
|
}
|
|
13562
13557
|
}
|
|
13563
13558
|
/**
|
|
@@ -13565,7 +13560,7 @@ class Qd extends ji {
|
|
|
13565
13560
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13566
13561
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13567
13562
|
*/
|
|
13568
|
-
class
|
|
13563
|
+
class Qd extends Ui {
|
|
13569
13564
|
constructor(t) {
|
|
13570
13565
|
super(t, "helper", null);
|
|
13571
13566
|
}
|
|
@@ -13620,7 +13615,7 @@ class ec extends ji {
|
|
|
13620
13615
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13621
13616
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13622
13617
|
*/
|
|
13623
|
-
class
|
|
13618
|
+
class ec extends Ui {
|
|
13624
13619
|
constructor(t) {
|
|
13625
13620
|
super(t, "label", "label");
|
|
13626
13621
|
}
|
|
@@ -13673,7 +13668,7 @@ class tc extends ji {
|
|
|
13673
13668
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13674
13669
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13675
13670
|
*/
|
|
13676
|
-
const
|
|
13671
|
+
const tc = U(
|
|
13677
13672
|
(o) => class extends Ue(o) {
|
|
13678
13673
|
static get properties() {
|
|
13679
13674
|
return {
|
|
@@ -13688,7 +13683,7 @@ const ic = U(
|
|
|
13688
13683
|
};
|
|
13689
13684
|
}
|
|
13690
13685
|
constructor() {
|
|
13691
|
-
super(), this._labelController = new
|
|
13686
|
+
super(), this._labelController = new ec(this), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
13692
13687
|
this.toggleAttribute("has-label", e.detail.hasContent);
|
|
13693
13688
|
});
|
|
13694
13689
|
}
|
|
@@ -13716,7 +13711,7 @@ const ic = U(
|
|
|
13716
13711
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13717
13712
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13718
13713
|
*/
|
|
13719
|
-
const
|
|
13714
|
+
const dr = U(
|
|
13720
13715
|
(o) => class extends o {
|
|
13721
13716
|
static get properties() {
|
|
13722
13717
|
return {
|
|
@@ -13788,7 +13783,7 @@ const cr = U(
|
|
|
13788
13783
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13789
13784
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13790
13785
|
*/
|
|
13791
|
-
const
|
|
13786
|
+
const ic = (o) => class extends dr(tc(Ue(o))) {
|
|
13792
13787
|
static get properties() {
|
|
13793
13788
|
return {
|
|
13794
13789
|
/**
|
|
@@ -13838,7 +13833,7 @@ const oc = (o) => class extends cr(ic(Ue(o))) {
|
|
|
13838
13833
|
return ["_invalidChanged(invalid)", "_requiredChanged(required)"];
|
|
13839
13834
|
}
|
|
13840
13835
|
constructor() {
|
|
13841
|
-
super(), this._fieldAriaController = new
|
|
13836
|
+
super(), this._fieldAriaController = new Jd(this), this._helperController = new Qd(this), this._errorController = new Zd(this), this._errorController.addEventListener("slot-content-changed", (e) => {
|
|
13842
13837
|
this.toggleAttribute("has-error-message", e.detail.hasContent);
|
|
13843
13838
|
}), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
13844
13839
|
const { hasContent: i, node: s } = e.detail;
|
|
@@ -13929,7 +13924,7 @@ const oc = (o) => class extends cr(ic(Ue(o))) {
|
|
|
13929
13924
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13930
13925
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13931
13926
|
*/
|
|
13932
|
-
const
|
|
13927
|
+
const oc = U(
|
|
13933
13928
|
(o) => class extends o {
|
|
13934
13929
|
static get properties() {
|
|
13935
13930
|
return {
|
|
@@ -14010,8 +14005,8 @@ const sc = U(
|
|
|
14010
14005
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14011
14006
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14012
14007
|
*/
|
|
14013
|
-
const
|
|
14014
|
-
(o) => class extends
|
|
14008
|
+
const cr = U(
|
|
14009
|
+
(o) => class extends oc(dr(nr(o))) {
|
|
14015
14010
|
/**
|
|
14016
14011
|
* An array of attributes which participate in the input validation.
|
|
14017
14012
|
* Changing these attributes will cause the input to re-validate.
|
|
@@ -14095,8 +14090,8 @@ const ur = U(
|
|
|
14095
14090
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14096
14091
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14097
14092
|
*/
|
|
14098
|
-
const
|
|
14099
|
-
|
|
14093
|
+
const sc = (o) => class extends Wd(
|
|
14094
|
+
rr(cr(ic(qd(It(o)))))
|
|
14100
14095
|
) {
|
|
14101
14096
|
static get properties() {
|
|
14102
14097
|
return {
|
|
@@ -14282,7 +14277,7 @@ const rc = (o) => class extends qd(
|
|
|
14282
14277
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14283
14278
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14284
14279
|
*/
|
|
14285
|
-
class
|
|
14280
|
+
class rc extends Ae {
|
|
14286
14281
|
constructor(t, e, i = {}) {
|
|
14287
14282
|
const { uniqueIdPrefix: s } = i;
|
|
14288
14283
|
super(t, "input", "input", {
|
|
@@ -14299,7 +14294,7 @@ class nc extends Ae {
|
|
|
14299
14294
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14300
14295
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14301
14296
|
*/
|
|
14302
|
-
class
|
|
14297
|
+
class nc {
|
|
14303
14298
|
constructor(t, e) {
|
|
14304
14299
|
this.input = t, this.__preventDuplicateLabelClick = this.__preventDuplicateLabelClick.bind(this), e.addEventListener("slot-content-changed", (i) => {
|
|
14305
14300
|
this.__initLabel(i.detail.node);
|
|
@@ -14332,7 +14327,7 @@ class ac {
|
|
|
14332
14327
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14333
14328
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14334
14329
|
*/
|
|
14335
|
-
const
|
|
14330
|
+
const ac = P`
|
|
14336
14331
|
[part='clear-button'] {
|
|
14337
14332
|
display: none;
|
|
14338
14333
|
cursor: default;
|
|
@@ -14351,7 +14346,7 @@ const lc = P`
|
|
|
14351
14346
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14352
14347
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14353
14348
|
*/
|
|
14354
|
-
const
|
|
14349
|
+
const lc = P`
|
|
14355
14350
|
:host {
|
|
14356
14351
|
display: inline-flex;
|
|
14357
14352
|
outline: none;
|
|
@@ -14391,7 +14386,7 @@ const dc = P`
|
|
|
14391
14386
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14392
14387
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14393
14388
|
*/
|
|
14394
|
-
const
|
|
14389
|
+
const dc = P`
|
|
14395
14390
|
[class$='container'] {
|
|
14396
14391
|
display: flex;
|
|
14397
14392
|
flex-direction: column;
|
|
@@ -14405,13 +14400,13 @@ const cc = P`
|
|
|
14405
14400
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14406
14401
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14407
14402
|
*/
|
|
14408
|
-
const
|
|
14403
|
+
const cc = [lc, dc, ac];
|
|
14409
14404
|
/**
|
|
14410
14405
|
* @license
|
|
14411
14406
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
14412
14407
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14413
14408
|
*/
|
|
14414
|
-
const
|
|
14409
|
+
const uc = (o) => class extends o {
|
|
14415
14410
|
static get properties() {
|
|
14416
14411
|
return {
|
|
14417
14412
|
/**
|
|
@@ -14458,7 +14453,7 @@ const hc = (o) => class extends o {
|
|
|
14458
14453
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14459
14454
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14460
14455
|
*/
|
|
14461
|
-
class
|
|
14456
|
+
class hc {
|
|
14462
14457
|
/**
|
|
14463
14458
|
* @param {{ inputElement?: HTMLElement; opened: boolean } & HTMLElement} host
|
|
14464
14459
|
*/
|
|
@@ -14477,8 +14472,8 @@ class pc {
|
|
|
14477
14472
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
14478
14473
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14479
14474
|
*/
|
|
14480
|
-
const
|
|
14481
|
-
Ue(
|
|
14475
|
+
const pc = (o) => class extends uc(
|
|
14476
|
+
Ue(rr(cr(It(o))))
|
|
14482
14477
|
) {
|
|
14483
14478
|
static get properties() {
|
|
14484
14479
|
return {
|
|
@@ -14683,7 +14678,7 @@ const fc = (o) => class extends hc(
|
|
|
14683
14678
|
if (i.length === 3) {
|
|
14684
14679
|
if (n = parseInt(i[0]) - 1, r = parseInt(i[1]), a = parseInt(i[2]), i[2].length < 3 && a >= 0) {
|
|
14685
14680
|
const l = this.referenceDate ? Ge(this.referenceDate) : /* @__PURE__ */ new Date();
|
|
14686
|
-
a =
|
|
14681
|
+
a = pd(l, a, n, r);
|
|
14687
14682
|
}
|
|
14688
14683
|
} else
|
|
14689
14684
|
i.length === 2 ? (n = parseInt(i[0]) - 1, r = parseInt(i[1])) : i.length === 1 && (r = parseInt(i[0]));
|
|
@@ -14757,7 +14752,7 @@ const fc = (o) => class extends hc(
|
|
|
14757
14752
|
/** @private */
|
|
14758
14753
|
_ios: {
|
|
14759
14754
|
type: Boolean,
|
|
14760
|
-
value:
|
|
14755
|
+
value: zs
|
|
14761
14756
|
},
|
|
14762
14757
|
/** @private */
|
|
14763
14758
|
_focusOverlayOnOpen: Boolean,
|
|
@@ -14857,10 +14852,10 @@ const fc = (o) => class extends hc(
|
|
|
14857
14852
|
/** @protected */
|
|
14858
14853
|
ready() {
|
|
14859
14854
|
super.ready(), this.addEventListener("click", this._boundOnClick), this.addController(
|
|
14860
|
-
new
|
|
14855
|
+
new sr(this._fullscreenMediaQuery, (i) => {
|
|
14861
14856
|
this._fullscreen = i;
|
|
14862
14857
|
})
|
|
14863
|
-
), this.addController(new
|
|
14858
|
+
), this.addController(new hc(this));
|
|
14864
14859
|
const e = this.$.overlay;
|
|
14865
14860
|
this._overlayElement = e, e.renderer = this._boundOverlayRenderer, this.addEventListener("mousedown", () => this.__bringToFront()), this.addEventListener("touchstart", () => this.__bringToFront());
|
|
14866
14861
|
}
|
|
@@ -14916,7 +14911,7 @@ const fc = (o) => class extends hc(
|
|
|
14916
14911
|
*/
|
|
14917
14912
|
__formatDate(e) {
|
|
14918
14913
|
if (this.i18n.formatDate)
|
|
14919
|
-
return this.i18n.formatDate(
|
|
14914
|
+
return this.i18n.formatDate($i(e));
|
|
14920
14915
|
}
|
|
14921
14916
|
/**
|
|
14922
14917
|
* Returns true if the current input value satisfies all constraints (if any)
|
|
@@ -15018,7 +15013,7 @@ const fc = (o) => class extends hc(
|
|
|
15018
15013
|
}
|
|
15019
15014
|
/** @private */
|
|
15020
15015
|
_formatISO(e) {
|
|
15021
|
-
return
|
|
15016
|
+
return md(e);
|
|
15022
15017
|
}
|
|
15023
15018
|
/** @protected */
|
|
15024
15019
|
_inputElementChanged(e) {
|
|
@@ -15084,12 +15079,12 @@ const fc = (o) => class extends hc(
|
|
|
15084
15079
|
const r = this._nativeInput;
|
|
15085
15080
|
this._noInput && r && (r.blur(), this._overlayContent.focusDateElement());
|
|
15086
15081
|
const n = this._noInput ? e : [r, e];
|
|
15087
|
-
this.__showOthers =
|
|
15082
|
+
this.__showOthers = Ls(n);
|
|
15088
15083
|
}
|
|
15089
15084
|
/** @private */
|
|
15090
15085
|
_getInitialPosition() {
|
|
15091
15086
|
const e = Ge(this.initialPosition), i = this._selectedDate || this._overlayContent.initialPosition || e || /* @__PURE__ */ new Date();
|
|
15092
|
-
return e || Be(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ?
|
|
15087
|
+
return e || Be(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ? Xs(i, [this._minDate, this._maxDate]) : /* @__PURE__ */ new Date();
|
|
15093
15088
|
}
|
|
15094
15089
|
/**
|
|
15095
15090
|
* Tries to parse the input element's value as a date. If the input value
|
|
@@ -15250,7 +15245,7 @@ const fc = (o) => class extends hc(
|
|
|
15250
15245
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15251
15246
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15252
15247
|
*/
|
|
15253
|
-
const
|
|
15248
|
+
const fc = P`
|
|
15254
15249
|
:host([opened]) {
|
|
15255
15250
|
pointer-events: auto;
|
|
15256
15251
|
}
|
|
@@ -15269,8 +15264,8 @@ const mc = P`
|
|
|
15269
15264
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15270
15265
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15271
15266
|
*/
|
|
15272
|
-
H("vaadin-date-picker", [
|
|
15273
|
-
class
|
|
15267
|
+
H("vaadin-date-picker", [cc, fc], { moduleId: "vaadin-date-picker-styles" });
|
|
15268
|
+
class mc extends pc(sc(ke(Vs(ve)))) {
|
|
15274
15269
|
static get is() {
|
|
15275
15270
|
return "vaadin-date-picker";
|
|
15276
15271
|
}
|
|
@@ -15330,7 +15325,7 @@ class _c extends fc(rc(ke(Us(ve)))) {
|
|
|
15330
15325
|
/** @protected */
|
|
15331
15326
|
ready() {
|
|
15332
15327
|
super.ready(), this.addController(
|
|
15333
|
-
new
|
|
15328
|
+
new rc(
|
|
15334
15329
|
this,
|
|
15335
15330
|
(e) => {
|
|
15336
15331
|
this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
|
|
@@ -15342,7 +15337,7 @@ class _c extends fc(rc(ke(Us(ve)))) {
|
|
|
15342
15337
|
uniqueIdPrefix: "search-input"
|
|
15343
15338
|
}
|
|
15344
15339
|
)
|
|
15345
|
-
), this.addController(new
|
|
15340
|
+
), this.addController(new nc(this.inputElement, this._labelController)), this._tooltipController = new js(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));
|
|
15346
15341
|
}
|
|
15347
15342
|
/** @private */
|
|
15348
15343
|
_onVaadinOverlayClose(t) {
|
|
@@ -15358,7 +15353,7 @@ class _c extends fc(rc(ke(Us(ve)))) {
|
|
|
15358
15353
|
super._openedChanged(t), this.$.overlay.positionTarget = this.shadowRoot.querySelector('[part="input-field"]'), this.$.overlay.noVerticalOverlap = !0;
|
|
15359
15354
|
}
|
|
15360
15355
|
}
|
|
15361
|
-
le(
|
|
15356
|
+
le(mc);
|
|
15362
15357
|
if (typeof window < "u") {
|
|
15363
15358
|
let o = function(t) {
|
|
15364
15359
|
return function(...e) {
|
|
@@ -15371,7 +15366,7 @@ if (typeof window < "u") {
|
|
|
15371
15366
|
}
|
|
15372
15367
|
};
|
|
15373
15368
|
};
|
|
15374
|
-
customElements.define = o(customElements.define), import("./PlayerAccountGeneralConfirmationModal-
|
|
15369
|
+
customElements.define = o(customElements.define), import("./PlayerAccountGeneralConfirmationModal-BJlFEgEt.js").then((t) => t.P).then(
|
|
15375
15370
|
({ default: t }) => {
|
|
15376
15371
|
!customElements.get("player-account-general-confirmation-modal") && customElements.define(
|
|
15377
15372
|
"player-account-general-confirmation-modal",
|
|
@@ -15380,11 +15375,11 @@ if (typeof window < "u") {
|
|
|
15380
15375
|
}
|
|
15381
15376
|
);
|
|
15382
15377
|
}
|
|
15383
|
-
var
|
|
15378
|
+
var ur = { exports: {} };
|
|
15384
15379
|
(function(o, t) {
|
|
15385
15380
|
(function(e, i) {
|
|
15386
15381
|
o.exports = i();
|
|
15387
|
-
})(
|
|
15382
|
+
})(hr, function() {
|
|
15388
15383
|
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) {
|
|
15389
15384
|
var _ = ["th", "st", "nd", "rd"], g = v % 100;
|
|
15390
15385
|
return "[" + v + (_[(g - 20) % 10] || _[g] || _[0]) + "]";
|
|
@@ -15669,16 +15664,16 @@ var hr = { exports: {} };
|
|
|
15669
15664
|
return $(1e3 * v);
|
|
15670
15665
|
}, $.en = q[F], $.Ls = q, $.p = {}, $;
|
|
15671
15666
|
});
|
|
15672
|
-
})(
|
|
15673
|
-
var
|
|
15674
|
-
const
|
|
15675
|
-
function
|
|
15676
|
-
|
|
15667
|
+
})(ur);
|
|
15668
|
+
var _c = ur.exports;
|
|
15669
|
+
const zo = /* @__PURE__ */ pr(_c);
|
|
15670
|
+
function Lo(o, t) {
|
|
15671
|
+
fr(o, t);
|
|
15677
15672
|
}
|
|
15678
|
-
function
|
|
15679
|
-
|
|
15673
|
+
function gc(o) {
|
|
15674
|
+
mr.set(o);
|
|
15680
15675
|
}
|
|
15681
|
-
const
|
|
15676
|
+
const $o = {
|
|
15682
15677
|
en: {
|
|
15683
15678
|
titleTimeout: "Timeout",
|
|
15684
15679
|
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.",
|
|
@@ -15889,14 +15884,14 @@ const Ro = {
|
|
|
15889
15884
|
confirmationModalTextUntil: "{date} tarihine kadar kendinizi soğutmak istediğinizden emin misiniz?"
|
|
15890
15885
|
}
|
|
15891
15886
|
};
|
|
15892
|
-
function
|
|
15893
|
-
|
|
15887
|
+
function yc(o) {
|
|
15888
|
+
br(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}}`);
|
|
15894
15889
|
}
|
|
15895
|
-
function
|
|
15890
|
+
function Ro(o, t, e) {
|
|
15896
15891
|
const i = o.slice();
|
|
15897
15892
|
return i[38] = t[e].value, i;
|
|
15898
15893
|
}
|
|
15899
|
-
function
|
|
15894
|
+
function vc(o) {
|
|
15900
15895
|
let t, e, i, s = (
|
|
15901
15896
|
/*$_*/
|
|
15902
15897
|
o[16]("titleTimeout") + ""
|
|
@@ -15921,30 +15916,30 @@ function bc(o) {
|
|
|
15921
15916
|
o[16]("save") + ""
|
|
15922
15917
|
), re, X, te, $, S, K = (
|
|
15923
15918
|
/*isMobile*/
|
|
15924
|
-
o[17] &&
|
|
15919
|
+
o[17] && wc(o)
|
|
15925
15920
|
), ee = Wi(
|
|
15926
15921
|
/*timeoutOptions*/
|
|
15927
15922
|
o[8]
|
|
15928
15923
|
), v = [];
|
|
15929
15924
|
for (let f = 0; f < ee.length; f += 1)
|
|
15930
|
-
v[f] =
|
|
15925
|
+
v[f] = Ho(Ro(o, ee, f));
|
|
15931
15926
|
let _ = (
|
|
15932
15927
|
/*isUntilDate*/
|
|
15933
|
-
o[10] &&
|
|
15928
|
+
o[10] && Bo(o)
|
|
15934
15929
|
), g = (
|
|
15935
15930
|
/*showConfirmationModal*/
|
|
15936
|
-
o[18] &&
|
|
15931
|
+
o[18] && xc(o)
|
|
15937
15932
|
);
|
|
15938
15933
|
return {
|
|
15939
15934
|
c() {
|
|
15940
15935
|
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");
|
|
15941
15936
|
for (let f = 0; f < v.length; f += 1)
|
|
15942
15937
|
v[f].c();
|
|
15943
|
-
k = Y(), _ && _.c(), z = Y(), L = M("div"), F = M("button"), re = pe(q), X = Y(), g && g.c(), te =
|
|
15938
|
+
k = Y(), _ && _.c(), z = Y(), L = M("div"), F = M("button"), re = pe(q), X = Y(), g && g.c(), te = Er(), N(i, "class", "TimeoutTitle " + /*isMobile*/
|
|
15944
15939
|
(o[17] ? "TimeoutTitleNone" : "")), N(a, "class", "TimeoutDescription " + /*isMobile*/
|
|
15945
15940
|
(o[17] ? "TimeoutDescriptionMobile" : "")), N(T, "class", "TimeoutSelect " + /*isMobile*/
|
|
15946
15941
|
(o[17] ? "TimeoutSelectMobile" : "")), /*timeoutSelected*/
|
|
15947
|
-
o[9] === void 0 &&
|
|
15942
|
+
o[9] === void 0 && kr(() => (
|
|
15948
15943
|
/*select_change_handler*/
|
|
15949
15944
|
o[26].call(T)
|
|
15950
15945
|
)), N(E, "class", "TimeoutSelectWrapper"), N(F, "class", "TimeoutSave"), N(L, "class", "TimeoutActionButtons " + /*isMobile*/
|
|
@@ -15952,7 +15947,7 @@ function bc(o) {
|
|
|
15952
15947
|
(o[17] ? "TimeoutWrapperMobile" : ""));
|
|
15953
15948
|
},
|
|
15954
15949
|
m(f, m) {
|
|
15955
|
-
|
|
15950
|
+
se(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);
|
|
15956
15951
|
for (let w = 0; w < v.length; w += 1)
|
|
15957
15952
|
v[w] && v[w].m(T, null);
|
|
15958
15953
|
qi(
|
|
@@ -15960,7 +15955,7 @@ function bc(o) {
|
|
|
15960
15955
|
/*timeoutSelected*/
|
|
15961
15956
|
o[9],
|
|
15962
15957
|
!0
|
|
15963
|
-
), x(t, k), _ && _.m(t, null), x(t, z), x(t, L), x(L, F), x(F, re),
|
|
15958
|
+
), x(t, k), _ && _.m(t, null), x(t, z), x(t, L), x(L, F), x(F, re), se(f, X, m), g && g.m(f, m), se(f, te, m), $ || (S = [
|
|
15964
15959
|
_t(
|
|
15965
15960
|
T,
|
|
15966
15961
|
"change",
|
|
@@ -16009,8 +16004,8 @@ function bc(o) {
|
|
|
16009
16004
|
);
|
|
16010
16005
|
let w;
|
|
16011
16006
|
for (w = 0; w < ee.length; w += 1) {
|
|
16012
|
-
const C =
|
|
16013
|
-
v[w] ? v[w].p(C, m) : (v[w] =
|
|
16007
|
+
const C = Ro(f, ee, w);
|
|
16008
|
+
v[w] ? v[w].p(C, m) : (v[w] = Ho(C), v[w].c(), v[w].m(T, null));
|
|
16014
16009
|
}
|
|
16015
16010
|
for (; w < v.length; w += 1)
|
|
16016
16011
|
v[w].d(1);
|
|
@@ -16022,22 +16017,22 @@ function bc(o) {
|
|
|
16022
16017
|
/*timeoutSelected*/
|
|
16023
16018
|
f[9]
|
|
16024
16019
|
), /*isUntilDate*/
|
|
16025
|
-
f[10] ? _ ? _.p(f, m) : (_ =
|
|
16020
|
+
f[10] ? _ ? _.p(f, m) : (_ = Bo(f), _.c(), _.m(t, z)) : _ && (_.d(1), _ = null), m[0] & /*$_*/
|
|
16026
16021
|
65536 && q !== (q = /*$_*/
|
|
16027
16022
|
f[16]("save") + "") && ge(re, q), /*showConfirmationModal*/
|
|
16028
16023
|
f[18] && g.p(f, m);
|
|
16029
16024
|
},
|
|
16030
16025
|
d(f) {
|
|
16031
|
-
f && (
|
|
16026
|
+
f && (oe(t), oe(X), oe(te)), K && K.d(), Tr(v, f), _ && _.d(), g && g.d(f), $ = !1, Dr(S);
|
|
16032
16027
|
}
|
|
16033
16028
|
};
|
|
16034
16029
|
}
|
|
16035
|
-
function
|
|
16030
|
+
function bc(o) {
|
|
16036
16031
|
let t, e, i, s, r, n, a, l, d, c, u, h, p, y, D, E;
|
|
16037
16032
|
function T(L, F) {
|
|
16038
16033
|
return (
|
|
16039
16034
|
/*isMobile*/
|
|
16040
|
-
L[17] ?
|
|
16035
|
+
L[17] ? Ac : Cc
|
|
16041
16036
|
);
|
|
16042
16037
|
}
|
|
16043
16038
|
let z = T(o)(o);
|
|
@@ -16048,7 +16043,7 @@ function wc(o) {
|
|
|
16048
16043
|
"height",
|
|
16049
16044
|
/*isMobile*/
|
|
16050
16045
|
o[17] ? "15px" : "20px"
|
|
16051
|
-
), A(s, "rows", "3"), A(s, "width", "100%"),
|
|
16046
|
+
), A(s, "rows", "3"), A(s, "width", "100%"), Yi(
|
|
16052
16047
|
n,
|
|
16053
16048
|
"height",
|
|
16054
16049
|
/*isMobile*/
|
|
@@ -16058,7 +16053,7 @@ function wc(o) {
|
|
|
16058
16053
|
"height",
|
|
16059
16054
|
/*isMobile*/
|
|
16060
16055
|
o[17] ? "15px" : "20px"
|
|
16061
|
-
), A(l, "rows", "3"), A(l, "width", "100%"),
|
|
16056
|
+
), A(l, "rows", "3"), A(l, "width", "100%"), Yi(
|
|
16062
16057
|
c,
|
|
16063
16058
|
"height",
|
|
16064
16059
|
/*isMobile*/
|
|
@@ -16083,15 +16078,15 @@ function wc(o) {
|
|
|
16083
16078
|
(o[17] ? "TimeoutWrapperMobile" : ""));
|
|
16084
16079
|
},
|
|
16085
16080
|
m(L, F) {
|
|
16086
|
-
|
|
16081
|
+
se(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);
|
|
16087
16082
|
},
|
|
16088
16083
|
p: Gt,
|
|
16089
16084
|
d(L) {
|
|
16090
|
-
L &&
|
|
16085
|
+
L && oe(t), z.d();
|
|
16091
16086
|
}
|
|
16092
16087
|
};
|
|
16093
16088
|
}
|
|
16094
|
-
function
|
|
16089
|
+
function wc(o) {
|
|
16095
16090
|
let t, e, i, s, r, n, a, l, d, c, u = (
|
|
16096
16091
|
/*$_*/
|
|
16097
16092
|
o[16]("titleTimeout") + ""
|
|
@@ -16101,7 +16096,7 @@ function xc(o) {
|
|
|
16101
16096
|
t = M("div"), e = Oe("svg"), i = Oe("defs"), s = Oe("style"), r = pe(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"), n = Oe("g"), a = Oe("g"), l = Oe("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");
|
|
16102
16097
|
},
|
|
16103
16098
|
m(D, E) {
|
|
16104
|
-
|
|
16099
|
+
se(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 = _t(
|
|
16105
16100
|
t,
|
|
16106
16101
|
"click",
|
|
16107
16102
|
/*click_handler*/
|
|
@@ -16114,11 +16109,11 @@ function xc(o) {
|
|
|
16114
16109
|
D[16]("titleTimeout") + "") && ge(h, u);
|
|
16115
16110
|
},
|
|
16116
16111
|
d(D) {
|
|
16117
|
-
D &&
|
|
16112
|
+
D && oe(t), p = !1, y();
|
|
16118
16113
|
}
|
|
16119
16114
|
};
|
|
16120
16115
|
}
|
|
16121
|
-
function
|
|
16116
|
+
function Ho(o) {
|
|
16122
16117
|
let t, e = (
|
|
16123
16118
|
/*$_*/
|
|
16124
16119
|
o[16](
|
|
@@ -16129,10 +16124,10 @@ function Bo(o) {
|
|
|
16129
16124
|
return {
|
|
16130
16125
|
c() {
|
|
16131
16126
|
t = M("option"), i = pe(e), t.__value = s = /*value*/
|
|
16132
|
-
o[38],
|
|
16127
|
+
o[38], Ki(t, t.__value);
|
|
16133
16128
|
},
|
|
16134
16129
|
m(r, n) {
|
|
16135
|
-
|
|
16130
|
+
se(r, t, n), x(t, i);
|
|
16136
16131
|
},
|
|
16137
16132
|
p(r, n) {
|
|
16138
16133
|
n[0] & /*$_, timeoutOptions*/
|
|
@@ -16142,14 +16137,14 @@ function Bo(o) {
|
|
|
16142
16137
|
r[38]
|
|
16143
16138
|
) + "") && ge(i, e), n[0] & /*timeoutOptions*/
|
|
16144
16139
|
256 && s !== (s = /*value*/
|
|
16145
|
-
r[38]) && (t.__value = s,
|
|
16140
|
+
r[38]) && (t.__value = s, Ki(t, t.__value));
|
|
16146
16141
|
},
|
|
16147
16142
|
d(r) {
|
|
16148
|
-
r &&
|
|
16143
|
+
r && oe(t);
|
|
16149
16144
|
}
|
|
16150
16145
|
};
|
|
16151
16146
|
}
|
|
16152
|
-
function
|
|
16147
|
+
function Bo(o) {
|
|
16153
16148
|
let t, e, i = (
|
|
16154
16149
|
/*$_*/
|
|
16155
16150
|
o[16]("duration") + ""
|
|
@@ -16178,7 +16173,7 @@ function Vo(o) {
|
|
|
16178
16173
|
(o[17] ? "TimeoutDateWrapperMobile" : ""));
|
|
16179
16174
|
},
|
|
16180
16175
|
m(p, y) {
|
|
16181
|
-
|
|
16176
|
+
se(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);
|
|
16182
16177
|
},
|
|
16183
16178
|
p(p, y) {
|
|
16184
16179
|
y[0] & /*$_*/
|
|
@@ -16206,11 +16201,11 @@ function Vo(o) {
|
|
|
16206
16201
|
);
|
|
16207
16202
|
},
|
|
16208
16203
|
d(p) {
|
|
16209
|
-
p &&
|
|
16204
|
+
p && oe(t), o[27](null);
|
|
16210
16205
|
}
|
|
16211
16206
|
};
|
|
16212
16207
|
}
|
|
16213
|
-
function
|
|
16208
|
+
function xc(o) {
|
|
16214
16209
|
let t, e, i, s;
|
|
16215
16210
|
return {
|
|
16216
16211
|
c() {
|
|
@@ -16258,7 +16253,7 @@ function Cc(o) {
|
|
|
16258
16253
|
), A(t, "showmodaleventname", "ShowTimeoutConfirmationModal");
|
|
16259
16254
|
},
|
|
16260
16255
|
m(r, n) {
|
|
16261
|
-
|
|
16256
|
+
se(r, t, n), x(t, e);
|
|
16262
16257
|
},
|
|
16263
16258
|
p(r, n) {
|
|
16264
16259
|
n[0] & /*$_*/
|
|
@@ -16313,44 +16308,44 @@ function Cc(o) {
|
|
|
16313
16308
|
);
|
|
16314
16309
|
},
|
|
16315
16310
|
d(r) {
|
|
16316
|
-
r &&
|
|
16311
|
+
r && oe(t);
|
|
16317
16312
|
}
|
|
16318
16313
|
};
|
|
16319
16314
|
}
|
|
16320
|
-
function
|
|
16315
|
+
function Cc(o) {
|
|
16321
16316
|
let t;
|
|
16322
16317
|
return {
|
|
16323
16318
|
c() {
|
|
16324
16319
|
t = M("ui-skeleton"), A(t, "structure", "title"), A(t, "width", "100px"), A(t, "margin-top", "20px"), A(t, "margin-bottom", "20px");
|
|
16325
16320
|
},
|
|
16326
16321
|
m(e, i) {
|
|
16327
|
-
|
|
16322
|
+
se(e, t, i);
|
|
16328
16323
|
},
|
|
16329
16324
|
d(e) {
|
|
16330
|
-
e &&
|
|
16325
|
+
e && oe(t);
|
|
16331
16326
|
}
|
|
16332
16327
|
};
|
|
16333
16328
|
}
|
|
16334
|
-
function
|
|
16329
|
+
function Ac(o) {
|
|
16335
16330
|
let t;
|
|
16336
16331
|
return {
|
|
16337
16332
|
c() {
|
|
16338
16333
|
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");
|
|
16339
16334
|
},
|
|
16340
16335
|
m(e, i) {
|
|
16341
|
-
|
|
16336
|
+
se(e, t, i);
|
|
16342
16337
|
},
|
|
16343
16338
|
d(e) {
|
|
16344
|
-
e &&
|
|
16339
|
+
e && oe(t);
|
|
16345
16340
|
}
|
|
16346
16341
|
};
|
|
16347
16342
|
}
|
|
16348
|
-
function
|
|
16343
|
+
function Tc(o) {
|
|
16349
16344
|
let t;
|
|
16350
16345
|
function e(r, n) {
|
|
16351
16346
|
return (
|
|
16352
16347
|
/*skeletonLoading*/
|
|
16353
|
-
r[15] ?
|
|
16348
|
+
r[15] ? bc : vc
|
|
16354
16349
|
);
|
|
16355
16350
|
}
|
|
16356
16351
|
let i = e(o), s = i(o);
|
|
@@ -16359,7 +16354,7 @@ function Dc(o) {
|
|
|
16359
16354
|
t = M("div"), s.c();
|
|
16360
16355
|
},
|
|
16361
16356
|
m(r, n) {
|
|
16362
|
-
|
|
16357
|
+
se(r, t, n), s.m(t, null), o[29](t);
|
|
16363
16358
|
},
|
|
16364
16359
|
p(r, n) {
|
|
16365
16360
|
i === (i = e(r)) && s ? s.p(r, n) : (s.d(1), s = i(r), s && (s.c(), s.m(t, null)));
|
|
@@ -16367,14 +16362,14 @@ function Dc(o) {
|
|
|
16367
16362
|
i: Gt,
|
|
16368
16363
|
o: Gt,
|
|
16369
16364
|
d(r) {
|
|
16370
|
-
r &&
|
|
16365
|
+
r && oe(t), s.d(), o[29](null);
|
|
16371
16366
|
}
|
|
16372
16367
|
};
|
|
16373
16368
|
}
|
|
16374
|
-
function
|
|
16369
|
+
function Dc(o, t, e) {
|
|
16375
16370
|
let i;
|
|
16376
|
-
|
|
16377
|
-
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 =
|
|
16371
|
+
wr(o, Sr, (b) => e(16, i = b));
|
|
16372
|
+
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 = xr(D) !== "PC", T = [
|
|
16378
16373
|
{
|
|
16379
16374
|
value: "CoolOffFor24Hours",
|
|
16380
16375
|
dateSelector: !1
|
|
@@ -16395,14 +16390,14 @@ function Ec(o, t, e) {
|
|
|
16395
16390
|
const $ = () => {
|
|
16396
16391
|
fetch(d).then((b) => b.json()).then((b) => {
|
|
16397
16392
|
Object.keys(b).forEach((V) => {
|
|
16398
|
-
|
|
16393
|
+
Lo(V, b[V]);
|
|
16399
16394
|
});
|
|
16400
16395
|
}).catch((b) => {
|
|
16401
16396
|
console.log(b);
|
|
16402
16397
|
});
|
|
16403
16398
|
};
|
|
16404
|
-
Object.keys(
|
|
16405
|
-
|
|
16399
|
+
Object.keys($o).forEach((b) => {
|
|
16400
|
+
Lo(b, $o[b]);
|
|
16406
16401
|
});
|
|
16407
16402
|
const S = () => {
|
|
16408
16403
|
const b = new URL("/v1/player/coolOffSettings", u), V = { method: "GET" };
|
|
@@ -16446,30 +16441,30 @@ function Ec(o, t, e) {
|
|
|
16446
16441
|
window.location.href
|
|
16447
16442
|
);
|
|
16448
16443
|
}, _ = () => {
|
|
16449
|
-
|
|
16444
|
+
gc(r), S();
|
|
16450
16445
|
}, g = () => {
|
|
16451
16446
|
const b = T.find((V) => V.value === k);
|
|
16452
|
-
e(10, z = !1), b.dateSelector && (e(10, z = !0), e(12, F =
|
|
16447
|
+
e(10, z = !1), b.dateSelector && (e(10, z = !0), e(12, F = zo().format("YYYY-MM-DD")), e(13, q = zo().add(6, "months").format("YYYY-MM-DD")), e(11, L = F)), X && K();
|
|
16453
16448
|
}, f = (b) => {
|
|
16454
16449
|
e(11, L = b.target.value);
|
|
16455
16450
|
}, m = () => {
|
|
16456
16451
|
y.addEventListener("change", f, !1);
|
|
16457
16452
|
};
|
|
16458
|
-
|
|
16453
|
+
Cr(() => () => {
|
|
16459
16454
|
y.removeEventListener("change", f);
|
|
16460
16455
|
});
|
|
16461
16456
|
const w = () => v();
|
|
16462
16457
|
function C() {
|
|
16463
|
-
k =
|
|
16458
|
+
k = Ar(this), e(9, k), e(8, T);
|
|
16464
16459
|
}
|
|
16465
16460
|
function I(b) {
|
|
16466
|
-
|
|
16461
|
+
ji[b ? "unshift" : "push"](() => {
|
|
16467
16462
|
y = b, e(7, y);
|
|
16468
16463
|
});
|
|
16469
16464
|
}
|
|
16470
16465
|
const R = (b) => ee(b);
|
|
16471
16466
|
function B(b) {
|
|
16472
|
-
|
|
16467
|
+
ji[b ? "unshift" : "push"](() => {
|
|
16473
16468
|
p = b, e(6, p);
|
|
16474
16469
|
});
|
|
16475
16470
|
}
|
|
@@ -16479,9 +16474,9 @@ function Ec(o, t, e) {
|
|
|
16479
16474
|
o.$$.dirty[0] & /*calendar*/
|
|
16480
16475
|
128 && y && m(), o.$$.dirty[0] & /*lang*/
|
|
16481
16476
|
2 && r && _(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
16482
|
-
68 && n && p &&
|
|
16483
|
-
72 && a && p &&
|
|
16484
|
-
80 && l && p &&
|
|
16477
|
+
68 && n && p && Pr(p, n), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
16478
|
+
72 && a && p && Or(p, a), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
16479
|
+
80 && l && p && Mr(p, `${l}.Style`), o.$$.dirty[0] & /*translationurl*/
|
|
16485
16480
|
4194304 && d && $();
|
|
16486
16481
|
}, X && K(), [
|
|
16487
16482
|
s,
|
|
@@ -16516,14 +16511,14 @@ function Ec(o, t, e) {
|
|
|
16516
16511
|
B
|
|
16517
16512
|
];
|
|
16518
16513
|
}
|
|
16519
|
-
class
|
|
16514
|
+
class Ec extends gr {
|
|
16520
16515
|
constructor(t) {
|
|
16521
|
-
super(),
|
|
16516
|
+
super(), yr(
|
|
16522
16517
|
this,
|
|
16523
16518
|
t,
|
|
16524
|
-
Ec,
|
|
16525
16519
|
Dc,
|
|
16526
|
-
|
|
16520
|
+
Tc,
|
|
16521
|
+
vr,
|
|
16527
16522
|
{
|
|
16528
16523
|
operator: 0,
|
|
16529
16524
|
lang: 1,
|
|
@@ -16535,7 +16530,7 @@ class kc extends yr {
|
|
|
16535
16530
|
endpoint: 23,
|
|
16536
16531
|
hasconfirmationmodal: 24
|
|
16537
16532
|
},
|
|
16538
|
-
|
|
16533
|
+
yc,
|
|
16539
16534
|
[-1, -1]
|
|
16540
16535
|
);
|
|
16541
16536
|
}
|
|
@@ -16594,7 +16589,7 @@ class kc extends yr {
|
|
|
16594
16589
|
this.$$set({ hasconfirmationmodal: t }), ce();
|
|
16595
16590
|
}
|
|
16596
16591
|
}
|
|
16597
|
-
|
|
16592
|
+
_r(Ec, { operator: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, supportemail: {}, endpoint: {}, hasconfirmationmodal: {} }, [], [], !0);
|
|
16598
16593
|
export {
|
|
16599
|
-
|
|
16594
|
+
Ec as P
|
|
16600
16595
|
};
|