@everymatrix/player-account-timeout 1.77.25 → 1.77.26
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-D1513x8q.js → PlayerAccountGeneralConfirmationModal-5qFM4_q7.js} +811 -832
- package/components/{PlayerAccountGeneralConfirmationModal-DdwHxQsA.js → PlayerAccountGeneralConfirmationModal-CDWu9PDO.js} +825 -846
- package/components/PlayerAccountGeneralConfirmationModal-Cuo9r0rD.cjs +18 -0
- package/components/{PlayerAccountTimeout-DGQAeGDI.cjs → PlayerAccountTimeout-BKeRlSSh.cjs} +74 -74
- package/components/{PlayerAccountTimeout-i8KIJRi6.js → PlayerAccountTimeout-DJzkcdJo.js} +509 -508
- package/components/{PlayerAccountTimeout-BSuYuxqh.js → PlayerAccountTimeout-EpPro8ec.js} +112 -111
- 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-b2193545-BtPvM93e.js +519 -0
- package/stencil/index-b2193545-CgelUAhE.cjs +1 -0
- package/stencil/index-b2193545-D_KBbaD-.js +503 -0
- package/stencil/{ui-skeleton-BL4789dS.cjs → ui-skeleton-BPqjm-YB.cjs} +1 -1
- package/stencil/{ui-skeleton-Ca5rz3Hv.js → ui-skeleton-CWuMYFGQ.js} +2 -2
- package/stencil/{ui-skeleton-hI4GeaLk.js → ui-skeleton-NZtdK490.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-xLf3HyeB.cjs → ui-skeleton-ae35c6f2-CKJgMm_5.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-BDBUiN3S.js → ui-skeleton-ae35c6f2-CW3z59Qf.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-Cn0ZM_hs.js → ui-skeleton-ae35c6f2-DlexSQlT.js} +1 -1
- package/components/PlayerAccountGeneralConfirmationModal-BAzIqzPO.cjs +0 -18
- package/stencil/index-b2193545-BeKKnKhR.js +0 -519
- package/stencil/index-b2193545-HC0t7mHa.js +0 -503
- package/stencil/index-b2193545-YW9b062G.cjs +0 -1
|
@@ -2,15 +2,15 @@ var Dr = Object.defineProperty, kr = Object.defineProperties;
|
|
|
2
2
|
var Sr = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Xi = Object.getOwnPropertySymbols;
|
|
4
4
|
var Pr = Object.prototype.hasOwnProperty, Or = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var Zi = (o, t, e) => t in o ? Dr(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e,
|
|
5
|
+
var Zi = (o, t, e) => t in o ? Dr(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e, zt = (o, t) => {
|
|
6
6
|
for (var e in t || (t = {}))
|
|
7
7
|
Pr.call(t, e) && Zi(o, e, t[e]);
|
|
8
8
|
if (Xi)
|
|
9
9
|
for (var e of Xi(t))
|
|
10
10
|
Or.call(t, e) && Zi(o, e, t[e]);
|
|
11
11
|
return o;
|
|
12
|
-
},
|
|
13
|
-
var
|
|
12
|
+
}, Lt = (o, t) => kr(o, Sr(t));
|
|
13
|
+
var pt = (o, t, e) => new Promise((i, s) => {
|
|
14
14
|
var r = (l) => {
|
|
15
15
|
try {
|
|
16
16
|
a(e.next(l));
|
|
@@ -26,8 +26,8 @@ var ft = (o, t, e) => new Promise((i, s) => {
|
|
|
26
26
|
}, a = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(r, n);
|
|
27
27
|
a((e = e.apply(o, t)).next());
|
|
28
28
|
});
|
|
29
|
-
import { c as Mr, g as Ir, a as Nr, $ as Fr, S as zr, i as Lr, f as ce,
|
|
30
|
-
import "../stencil/ui-skeleton-
|
|
29
|
+
import { c as Mr, g as Ir, a as Nr, $ as Fr, S as zr, i as Lr, f as ce, b as $r, s as Rr, d as Hr, e as M, h as oe, n as ii, j as se, k as Br, l as Vr, o as Ur, m as jr, p as Yr, q as Wr, r as Qi, t as qr, u as eo, v as Y, w as pe, x as Kr, y as N, z as Gr, A as x, B as to, C as vt, D as ge, E as Jr, F as Xr, G as A, H as io, I as Me, J as oo, K as Zr } from "./PlayerAccountGeneralConfirmationModal-CDWu9PDO.js";
|
|
30
|
+
import "../stencil/ui-skeleton-CWuMYFGQ.js";
|
|
31
31
|
/**
|
|
32
32
|
* @license
|
|
33
33
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
@@ -65,17 +65,17 @@ le(Qr);
|
|
|
65
65
|
* Copyright 2019 Google LLC
|
|
66
66
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
67
67
|
*/
|
|
68
|
-
const
|
|
69
|
-
let
|
|
68
|
+
const bt = globalThis, Ei = bt.ShadowRoot && (bt.ShadyCSS === void 0 || bt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Di = Symbol(), so = /* @__PURE__ */ new WeakMap();
|
|
69
|
+
let ki = class {
|
|
70
70
|
constructor(t, e, i) {
|
|
71
|
-
if (this._$cssResult$ = !0, i !==
|
|
71
|
+
if (this._$cssResult$ = !0, i !== Di)
|
|
72
72
|
throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
73
73
|
this.cssText = t, this.t = e;
|
|
74
74
|
}
|
|
75
75
|
get styleSheet() {
|
|
76
76
|
let t = this.o;
|
|
77
77
|
const e = this.t;
|
|
78
|
-
if (
|
|
78
|
+
if (Ei && t === void 0) {
|
|
79
79
|
const i = e !== void 0 && e.length === 1;
|
|
80
80
|
i && (t = so.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && so.set(e, t));
|
|
81
81
|
}
|
|
@@ -85,7 +85,7 @@ let Si = class {
|
|
|
85
85
|
return this.cssText;
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
|
-
const en = (o) => new
|
|
88
|
+
const en = (o) => new ki(typeof o == "string" ? o : o + "", void 0, Di), P = (o, ...t) => {
|
|
89
89
|
const e = o.length === 1 ? o[0] : t.reduce((i, s, r) => i + ((n) => {
|
|
90
90
|
if (n._$cssResult$ === !0)
|
|
91
91
|
return n.cssText;
|
|
@@ -93,16 +93,16 @@ const en = (o) => new Si(typeof o == "string" ? o : o + "", void 0, ki), P = (o,
|
|
|
93
93
|
return n;
|
|
94
94
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + n + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
95
95
|
})(s) + o[r + 1], o[0]);
|
|
96
|
-
return new
|
|
96
|
+
return new ki(e, o, Di);
|
|
97
97
|
}, os = (o, t) => {
|
|
98
|
-
if (
|
|
98
|
+
if (Ei)
|
|
99
99
|
o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
100
100
|
else
|
|
101
101
|
for (const e of t) {
|
|
102
|
-
const i = document.createElement("style"), s =
|
|
102
|
+
const i = document.createElement("style"), s = bt.litNonce;
|
|
103
103
|
s !== void 0 && i.setAttribute("nonce", s), i.textContent = e.cssText, o.appendChild(i);
|
|
104
104
|
}
|
|
105
|
-
}, ro =
|
|
105
|
+
}, ro = Ei ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
|
|
106
106
|
let e = "";
|
|
107
107
|
for (const i of t.cssRules)
|
|
108
108
|
e += i.cssText;
|
|
@@ -113,7 +113,7 @@ const en = (o) => new Si(typeof o == "string" ? o : o + "", void 0, ki), P = (o,
|
|
|
113
113
|
* Copyright 2017 Google LLC
|
|
114
114
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
115
115
|
*/
|
|
116
|
-
const { is: tn, defineProperty: on, getOwnPropertyDescriptor: sn, getOwnPropertyNames: rn, getOwnPropertySymbols: nn, getPrototypeOf: an } = Object, ye = globalThis, no = ye.trustedTypes, ln = no ? no.emptyScript : "",
|
|
116
|
+
const { is: tn, defineProperty: on, getOwnPropertyDescriptor: sn, getOwnPropertyNames: rn, getOwnPropertySymbols: nn, getPrototypeOf: an } = Object, ye = globalThis, no = ye.trustedTypes, ln = no ? no.emptyScript : "", $t = ye.reactiveElementPolyfillSupport, Qe = (o, t) => o, oi = { toAttribute(o, t) {
|
|
117
117
|
switch (t) {
|
|
118
118
|
case Boolean:
|
|
119
119
|
o = o ? ln : null;
|
|
@@ -141,10 +141,10 @@ const { is: tn, defineProperty: on, getOwnPropertyDescriptor: sn, getOwnProperty
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
return e;
|
|
144
|
-
} }, ss = (o, t) => !tn(o, t), ao = { attribute: !0, type: String, converter:
|
|
144
|
+
} }, ss = (o, t) => !tn(o, t), ao = { attribute: !0, type: String, converter: oi, reflect: !1, hasChanged: ss };
|
|
145
145
|
var Xo, Zo;
|
|
146
146
|
(Xo = Symbol.metadata) != null || (Symbol.metadata = Symbol("metadata")), (Zo = ye.litPropertyMetadata) != null || (ye.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
147
|
-
class
|
|
147
|
+
class Ne extends HTMLElement {
|
|
148
148
|
static addInitializer(t) {
|
|
149
149
|
var e;
|
|
150
150
|
this._$Ei(), ((e = this.l) != null ? e : this.l = []).push(t);
|
|
@@ -153,7 +153,7 @@ class Fe extends HTMLElement {
|
|
|
153
153
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
154
154
|
}
|
|
155
155
|
static createProperty(t, e = ao) {
|
|
156
|
-
if (e.state && (e.attribute = !1), this._$Ei(), this.
|
|
156
|
+
if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
157
157
|
const i = Symbol(), s = this.getPropertyDescriptor(t, i, e);
|
|
158
158
|
s !== void 0 && on(this.prototype, t, s);
|
|
159
159
|
}
|
|
@@ -165,9 +165,11 @@ class Fe extends HTMLElement {
|
|
|
165
165
|
}, set(a) {
|
|
166
166
|
this[e] = a;
|
|
167
167
|
} };
|
|
168
|
-
return { get
|
|
168
|
+
return { get() {
|
|
169
|
+
return s == null ? void 0 : s.call(this);
|
|
170
|
+
}, set(a) {
|
|
169
171
|
const l = s == null ? void 0 : s.call(this);
|
|
170
|
-
r
|
|
172
|
+
r.call(this, a), this.requestUpdate(t, l, i);
|
|
171
173
|
}, configurable: !0, enumerable: !0 };
|
|
172
174
|
}
|
|
173
175
|
static getPropertyOptions(t) {
|
|
@@ -175,15 +177,15 @@ class Fe extends HTMLElement {
|
|
|
175
177
|
return (e = this.elementProperties.get(t)) != null ? e : ao;
|
|
176
178
|
}
|
|
177
179
|
static _$Ei() {
|
|
178
|
-
if (this.hasOwnProperty(
|
|
180
|
+
if (this.hasOwnProperty(Qe("elementProperties")))
|
|
179
181
|
return;
|
|
180
182
|
const t = an(this);
|
|
181
183
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
182
184
|
}
|
|
183
185
|
static finalize() {
|
|
184
|
-
if (this.hasOwnProperty(
|
|
186
|
+
if (this.hasOwnProperty(Qe("finalized")))
|
|
185
187
|
return;
|
|
186
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
|
188
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(Qe("properties"))) {
|
|
187
189
|
const e = this.properties, i = [...rn(e), ...nn(e)];
|
|
188
190
|
for (const s of i)
|
|
189
191
|
this.createProperty(s, e[s]);
|
|
@@ -261,40 +263,37 @@ class Fe extends HTMLElement {
|
|
|
261
263
|
attributeChangedCallback(t, e, i) {
|
|
262
264
|
this._$AK(t, i);
|
|
263
265
|
}
|
|
264
|
-
_$
|
|
266
|
+
_$EC(t, e) {
|
|
265
267
|
var r;
|
|
266
268
|
const i = this.constructor.elementProperties.get(t), s = this.constructor._$Eu(t, i);
|
|
267
269
|
if (s !== void 0 && i.reflect === !0) {
|
|
268
|
-
const n = (((r = i.converter) == null ? void 0 : r.toAttribute) !== void 0 ? i.converter :
|
|
270
|
+
const n = (((r = i.converter) == null ? void 0 : r.toAttribute) !== void 0 ? i.converter : oi).toAttribute(e, i.type);
|
|
269
271
|
this._$Em = t, n == null ? this.removeAttribute(s) : this.setAttribute(s, n), this._$Em = null;
|
|
270
272
|
}
|
|
271
273
|
}
|
|
272
274
|
_$AK(t, e) {
|
|
273
|
-
var r
|
|
275
|
+
var r;
|
|
274
276
|
const i = this.constructor, s = i._$Eh.get(t);
|
|
275
277
|
if (s !== void 0 && this._$Em !== s) {
|
|
276
|
-
const
|
|
277
|
-
this._$Em = s;
|
|
278
|
-
const c = d.fromAttribute(e, l.type);
|
|
279
|
-
this[s] = (a = c != null ? c : (n = this._$Ej) == null ? void 0 : n.get(s)) != null ? a : c, this._$Em = null;
|
|
278
|
+
const n = i.getPropertyOptions(s), a = typeof n.converter == "function" ? { fromAttribute: n.converter } : ((r = n.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? n.converter : oi;
|
|
279
|
+
this._$Em = s, this[s] = a.fromAttribute(e, n.type), this._$Em = null;
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
282
|
requestUpdate(t, e, i) {
|
|
283
|
-
var s
|
|
283
|
+
var s;
|
|
284
284
|
if (t !== void 0) {
|
|
285
|
-
|
|
286
|
-
if (i != null || (i = n.getPropertyOptions(t)), !(((s = i.hasChanged) != null ? s : ss)(a, e) || i.useDefault && i.reflect && a === ((r = this._$Ej) == null ? void 0 : r.get(t)) && !this.hasAttribute(n._$Eu(t, i))))
|
|
285
|
+
if (i != null || (i = this.constructor.getPropertyOptions(t)), !((s = i.hasChanged) != null ? s : ss)(this[t], e))
|
|
287
286
|
return;
|
|
288
|
-
this.
|
|
287
|
+
this.P(t, e, i);
|
|
289
288
|
}
|
|
290
|
-
this.isUpdatePending === !1 && (this._$ES = this._$
|
|
289
|
+
this.isUpdatePending === !1 && (this._$ES = this._$ET());
|
|
291
290
|
}
|
|
292
|
-
|
|
293
|
-
var
|
|
294
|
-
|
|
291
|
+
P(t, e, i) {
|
|
292
|
+
var s;
|
|
293
|
+
this._$AL.has(t) || this._$AL.set(t, e), i.reflect === !0 && this._$Em !== t && ((s = this._$Ej) != null ? s : this._$Ej = /* @__PURE__ */ new Set()).add(t);
|
|
295
294
|
}
|
|
296
|
-
_$
|
|
297
|
-
return
|
|
295
|
+
_$ET() {
|
|
296
|
+
return pt(this, null, function* () {
|
|
298
297
|
this.isUpdatePending = !0;
|
|
299
298
|
try {
|
|
300
299
|
yield this._$ES;
|
|
@@ -320,10 +319,8 @@ class Fe extends HTMLElement {
|
|
|
320
319
|
}
|
|
321
320
|
const r = this.constructor.elementProperties;
|
|
322
321
|
if (r.size > 0)
|
|
323
|
-
for (const [n, a] of r)
|
|
324
|
-
|
|
325
|
-
l !== !0 || this._$AL.has(n) || d === void 0 || this.C(n, void 0, a, d);
|
|
326
|
-
}
|
|
322
|
+
for (const [n, a] of r)
|
|
323
|
+
a.wrapped !== !0 || this._$AL.has(n) || this[n] === void 0 || this.P(n, this[n], a);
|
|
327
324
|
}
|
|
328
325
|
let t = !1;
|
|
329
326
|
const e = this._$AL;
|
|
@@ -331,9 +328,9 @@ class Fe extends HTMLElement {
|
|
|
331
328
|
t = this.shouldUpdate(e), t ? (this.willUpdate(e), (s = this._$EO) == null || s.forEach((r) => {
|
|
332
329
|
var n;
|
|
333
330
|
return (n = r.hostUpdate) == null ? void 0 : n.call(r);
|
|
334
|
-
}), this.update(e)) : this._$
|
|
331
|
+
}), this.update(e)) : this._$EU();
|
|
335
332
|
} catch (r) {
|
|
336
|
-
throw t = !1, this._$
|
|
333
|
+
throw t = !1, this._$EU(), r;
|
|
337
334
|
}
|
|
338
335
|
t && this._$AE(e);
|
|
339
336
|
}
|
|
@@ -346,7 +343,7 @@ class Fe extends HTMLElement {
|
|
|
346
343
|
return (s = i.hostUpdated) == null ? void 0 : s.call(i);
|
|
347
344
|
}), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
|
|
348
345
|
}
|
|
349
|
-
_$
|
|
346
|
+
_$EU() {
|
|
350
347
|
this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
|
|
351
348
|
}
|
|
352
349
|
get updateComplete() {
|
|
@@ -359,7 +356,7 @@ class Fe extends HTMLElement {
|
|
|
359
356
|
return !0;
|
|
360
357
|
}
|
|
361
358
|
update(t) {
|
|
362
|
-
this._$
|
|
359
|
+
this._$Ej && (this._$Ej = this._$Ej.forEach((e) => this._$EC(e, this[e]))), this._$EU();
|
|
363
360
|
}
|
|
364
361
|
updated(t) {
|
|
365
362
|
}
|
|
@@ -367,40 +364,40 @@ class Fe extends HTMLElement {
|
|
|
367
364
|
}
|
|
368
365
|
}
|
|
369
366
|
var Qo;
|
|
370
|
-
|
|
367
|
+
Ne.elementStyles = [], Ne.shadowRootOptions = { mode: "open" }, Ne[Qe("elementProperties")] = /* @__PURE__ */ new Map(), Ne[Qe("finalized")] = /* @__PURE__ */ new Map(), $t == null || $t({ ReactiveElement: Ne }), ((Qo = ye.reactiveElementVersions) != null ? Qo : ye.reactiveElementVersions = []).push("2.0.4");
|
|
371
368
|
/**
|
|
372
369
|
* @license
|
|
373
370
|
* Copyright 2017 Google LLC
|
|
374
371
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
375
372
|
*/
|
|
376
|
-
const
|
|
377
|
-
\f\r]`,
|
|
378
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), ho = /'/g, po = /"/g, as = /^(?:script|style|textarea|title)$/i,
|
|
373
|
+
const et = globalThis, xt = et.trustedTypes, lo = xt ? xt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, rs = "$lit$", _e = `lit$${Math.random().toFixed(9).slice(2)}$`, ns = "?" + _e, dn = `<${ns}>`, ke = document, it = () => ke.createComment(""), ot = (o) => o === null || typeof o != "object" && typeof o != "function", Si = Array.isArray, cn = (o) => Si(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", Rt = `[
|
|
374
|
+
\f\r]`, We = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, co = /-->/g, uo = />/g, Ce = RegExp(`>|${Rt}(?:([^\\s"'>=/]+)(${Rt}*=${Rt}*(?:[^
|
|
375
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), ho = /'/g, po = /"/g, as = /^(?:script|style|textarea|title)$/i, Re = Symbol.for("lit-noChange"), j = Symbol.for("lit-nothing"), fo = /* @__PURE__ */ new WeakMap(), Ae = ke.createTreeWalker(ke, 129);
|
|
379
376
|
function ls(o, t) {
|
|
380
|
-
if (!
|
|
377
|
+
if (!Si(o) || !o.hasOwnProperty("raw"))
|
|
381
378
|
throw Error("invalid template strings array");
|
|
382
379
|
return lo !== void 0 ? lo.createHTML(t) : t;
|
|
383
380
|
}
|
|
384
381
|
const un = (o, t) => {
|
|
385
382
|
const e = o.length - 1, i = [];
|
|
386
|
-
let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n =
|
|
383
|
+
let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = We;
|
|
387
384
|
for (let a = 0; a < e; a++) {
|
|
388
385
|
const l = o[a];
|
|
389
386
|
let d, c, u = -1, h = 0;
|
|
390
387
|
for (; h < l.length && (n.lastIndex = h, c = n.exec(l), c !== null); )
|
|
391
|
-
h = n.lastIndex, n ===
|
|
388
|
+
h = n.lastIndex, n === We ? c[1] === "!--" ? n = co : c[1] !== void 0 ? n = uo : c[2] !== void 0 ? (as.test(c[2]) && (s = RegExp("</" + c[2], "g")), n = Ce) : c[3] !== void 0 && (n = Ce) : n === Ce ? c[0] === ">" ? (n = s != null ? s : We, u = -1) : c[1] === void 0 ? u = -2 : (u = n.lastIndex - c[2].length, d = c[1], n = c[3] === void 0 ? Ce : c[3] === '"' ? po : ho) : n === po || n === ho ? n = Ce : n === co || n === uo ? n = We : (n = Ce, s = void 0);
|
|
392
389
|
const p = n === Ce && o[a + 1].startsWith("/>") ? " " : "";
|
|
393
|
-
r += n ===
|
|
390
|
+
r += n === We ? l + dn : u >= 0 ? (i.push(d), l.slice(0, u) + rs + l.slice(u) + _e + p) : l + _e + (u === -2 ? a : p);
|
|
394
391
|
}
|
|
395
392
|
return [ls(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
|
|
396
393
|
};
|
|
397
|
-
class
|
|
394
|
+
class st {
|
|
398
395
|
constructor({ strings: t, _$litType$: e }, i) {
|
|
399
396
|
let s;
|
|
400
397
|
this.parts = [];
|
|
401
398
|
let r = 0, n = 0;
|
|
402
399
|
const a = t.length - 1, l = this.parts, [d, c] = un(t, e);
|
|
403
|
-
if (this.el =
|
|
400
|
+
if (this.el = st.createElement(d, i), Ae.currentNode = this.el.content, e === 2 || e === 3) {
|
|
404
401
|
const u = this.el.content.firstChild;
|
|
405
402
|
u.replaceWith(...u.childNodes);
|
|
406
403
|
}
|
|
@@ -410,16 +407,16 @@ class rt {
|
|
|
410
407
|
for (const u of s.getAttributeNames())
|
|
411
408
|
if (u.endsWith(rs)) {
|
|
412
409
|
const h = c[n++], p = s.getAttribute(u).split(_e), y = /([.?@])?(.*)/.exec(h);
|
|
413
|
-
l.push({ type: 1, index: r, name: y[2], strings: p, ctor: y[1] === "." ? pn : y[1] === "?" ? fn : y[1] === "@" ? mn :
|
|
410
|
+
l.push({ type: 1, index: r, name: y[2], strings: p, ctor: y[1] === "." ? pn : y[1] === "?" ? fn : y[1] === "@" ? mn : Pt }), s.removeAttribute(u);
|
|
414
411
|
} else
|
|
415
412
|
u.startsWith(_e) && (l.push({ type: 6, index: r }), s.removeAttribute(u));
|
|
416
413
|
if (as.test(s.tagName)) {
|
|
417
414
|
const u = s.textContent.split(_e), h = u.length - 1;
|
|
418
415
|
if (h > 0) {
|
|
419
|
-
s.textContent =
|
|
416
|
+
s.textContent = xt ? xt.emptyScript : "";
|
|
420
417
|
for (let p = 0; p < h; p++)
|
|
421
|
-
s.append(u[p],
|
|
422
|
-
s.append(u[h],
|
|
418
|
+
s.append(u[p], it()), Ae.nextNode(), l.push({ type: 2, index: ++r });
|
|
419
|
+
s.append(u[h], it());
|
|
423
420
|
}
|
|
424
421
|
}
|
|
425
422
|
} else if (s.nodeType === 8)
|
|
@@ -434,17 +431,17 @@ class rt {
|
|
|
434
431
|
}
|
|
435
432
|
}
|
|
436
433
|
static createElement(t, e) {
|
|
437
|
-
const i =
|
|
434
|
+
const i = ke.createElement("template");
|
|
438
435
|
return i.innerHTML = t, i;
|
|
439
436
|
}
|
|
440
437
|
}
|
|
441
|
-
function
|
|
438
|
+
function He(o, t, e = o, i) {
|
|
442
439
|
var n, a, l;
|
|
443
|
-
if (t ===
|
|
440
|
+
if (t === Re)
|
|
444
441
|
return t;
|
|
445
442
|
let s = i !== void 0 ? (n = e._$Co) == null ? void 0 : n[i] : e._$Cl;
|
|
446
|
-
const r =
|
|
447
|
-
return (s == null ? void 0 : s.constructor) !== r && ((a = s == null ? void 0 : s._$AO) == null || a.call(s, !1), r === void 0 ? s = void 0 : (s = new r(o), s._$AT(o, e, i)), i !== void 0 ? ((l = e._$Co) != null ? l : e._$Co = [])[i] = s : e._$Cl = s), s !== void 0 && (t =
|
|
443
|
+
const r = ot(t) ? void 0 : t._$litDirective$;
|
|
444
|
+
return (s == null ? void 0 : s.constructor) !== r && ((a = s == null ? void 0 : s._$AO) == null || a.call(s, !1), r === void 0 ? s = void 0 : (s = new r(o), s._$AT(o, e, i)), i !== void 0 ? ((l = e._$Co) != null ? l : e._$Co = [])[i] = s : e._$Cl = s), s !== void 0 && (t = He(o, s._$AS(o, t.values), s, i)), t;
|
|
448
445
|
}
|
|
449
446
|
class hn {
|
|
450
447
|
constructor(t, e) {
|
|
@@ -458,17 +455,17 @@ class hn {
|
|
|
458
455
|
}
|
|
459
456
|
u(t) {
|
|
460
457
|
var d;
|
|
461
|
-
const { el: { content: e }, parts: i } = this._$AD, s = ((d = t == null ? void 0 : t.creationScope) != null ? d :
|
|
458
|
+
const { el: { content: e }, parts: i } = this._$AD, s = ((d = t == null ? void 0 : t.creationScope) != null ? d : ke).importNode(e, !0);
|
|
462
459
|
Ae.currentNode = s;
|
|
463
460
|
let r = Ae.nextNode(), n = 0, a = 0, l = i[0];
|
|
464
461
|
for (; l !== void 0; ) {
|
|
465
462
|
if (n === l.index) {
|
|
466
463
|
let c;
|
|
467
|
-
l.type === 2 ? c = new
|
|
464
|
+
l.type === 2 ? c = new ut(r, r.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (c = new _n(r, this, t)), this._$AV.push(c), l = i[++a];
|
|
468
465
|
}
|
|
469
466
|
n !== (l == null ? void 0 : l.index) && (r = Ae.nextNode(), n++);
|
|
470
467
|
}
|
|
471
|
-
return Ae.currentNode =
|
|
468
|
+
return Ae.currentNode = ke, s;
|
|
472
469
|
}
|
|
473
470
|
p(t) {
|
|
474
471
|
let e = 0;
|
|
@@ -476,7 +473,7 @@ class hn {
|
|
|
476
473
|
i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, e), e += i.strings.length - 2) : i._$AI(t[e])), e++;
|
|
477
474
|
}
|
|
478
475
|
}
|
|
479
|
-
class
|
|
476
|
+
class ut {
|
|
480
477
|
get _$AU() {
|
|
481
478
|
var t, e;
|
|
482
479
|
return (e = (t = this._$AM) == null ? void 0 : t._$AU) != null ? e : this._$Cv;
|
|
@@ -497,7 +494,7 @@ class ht {
|
|
|
497
494
|
return this._$AB;
|
|
498
495
|
}
|
|
499
496
|
_$AI(t, e = this) {
|
|
500
|
-
t =
|
|
497
|
+
t = He(this, t, e), ot(t) ? t === j || t == null || t === "" ? (this._$AH !== j && this._$AR(), this._$AH = j) : t !== this._$AH && t !== Re && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : cn(t) ? this.k(t) : this._(t);
|
|
501
498
|
}
|
|
502
499
|
O(t) {
|
|
503
500
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -506,11 +503,11 @@ class ht {
|
|
|
506
503
|
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
|
507
504
|
}
|
|
508
505
|
_(t) {
|
|
509
|
-
this._$AH !== j &&
|
|
506
|
+
this._$AH !== j && ot(this._$AH) ? this._$AA.nextSibling.data = t : this.T(ke.createTextNode(t)), this._$AH = t;
|
|
510
507
|
}
|
|
511
508
|
$(t) {
|
|
512
509
|
var r;
|
|
513
|
-
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el =
|
|
510
|
+
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = st.createElement(ls(i.h, i.h[0]), this.options)), i);
|
|
514
511
|
if (((r = this._$AH) == null ? void 0 : r._$AD) === s)
|
|
515
512
|
this._$AH.p(e);
|
|
516
513
|
else {
|
|
@@ -520,19 +517,19 @@ class ht {
|
|
|
520
517
|
}
|
|
521
518
|
_$AC(t) {
|
|
522
519
|
let e = fo.get(t.strings);
|
|
523
|
-
return e === void 0 && fo.set(t.strings, e = new
|
|
520
|
+
return e === void 0 && fo.set(t.strings, e = new st(t)), e;
|
|
524
521
|
}
|
|
525
522
|
k(t) {
|
|
526
|
-
|
|
523
|
+
Si(this._$AH) || (this._$AH = [], this._$AR());
|
|
527
524
|
const e = this._$AH;
|
|
528
525
|
let i, s = 0;
|
|
529
526
|
for (const r of t)
|
|
530
|
-
s === e.length ? e.push(i = new
|
|
527
|
+
s === e.length ? e.push(i = new ut(this.O(it()), this.O(it()), this, this.options)) : i = e[s], i._$AI(r), s++;
|
|
531
528
|
s < e.length && (this._$AR(i && i._$AB.nextSibling, s), e.length = s);
|
|
532
529
|
}
|
|
533
530
|
_$AR(t = this._$AA.nextSibling, e) {
|
|
534
531
|
var i;
|
|
535
|
-
for ((i = this._$AP) == null ? void 0 : i.call(this, !1, !0, e); t !== this._$AB; ) {
|
|
532
|
+
for ((i = this._$AP) == null ? void 0 : i.call(this, !1, !0, e); t && t !== this._$AB; ) {
|
|
536
533
|
const s = t.nextSibling;
|
|
537
534
|
t.remove(), t = s;
|
|
538
535
|
}
|
|
@@ -542,7 +539,7 @@ class ht {
|
|
|
542
539
|
this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
|
|
543
540
|
}
|
|
544
541
|
}
|
|
545
|
-
class
|
|
542
|
+
class Pt {
|
|
546
543
|
get tagName() {
|
|
547
544
|
return this.element.tagName;
|
|
548
545
|
}
|
|
@@ -556,12 +553,12 @@ class Ot {
|
|
|
556
553
|
const r = this.strings;
|
|
557
554
|
let n = !1;
|
|
558
555
|
if (r === void 0)
|
|
559
|
-
t =
|
|
556
|
+
t = He(this, t, e, 0), n = !ot(t) || t !== this._$AH && t !== Re, n && (this._$AH = t);
|
|
560
557
|
else {
|
|
561
558
|
const a = t;
|
|
562
559
|
let l, d;
|
|
563
560
|
for (t = r[0], l = 0; l < r.length - 1; l++)
|
|
564
|
-
d =
|
|
561
|
+
d = He(this, a[i + l], e, l), d === Re && (d = this._$AH[l]), n || (n = !ot(d) || d !== this._$AH[l]), d === j ? t = j : t !== j && (t += (d != null ? d : "") + r[l + 1]), this._$AH[l] = d;
|
|
565
562
|
}
|
|
566
563
|
n && !s && this.j(t);
|
|
567
564
|
}
|
|
@@ -569,7 +566,7 @@ class Ot {
|
|
|
569
566
|
t === j ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t != null ? t : "");
|
|
570
567
|
}
|
|
571
568
|
}
|
|
572
|
-
class pn extends
|
|
569
|
+
class pn extends Pt {
|
|
573
570
|
constructor() {
|
|
574
571
|
super(...arguments), this.type = 3;
|
|
575
572
|
}
|
|
@@ -577,7 +574,7 @@ class pn extends Ot {
|
|
|
577
574
|
this.element[this.name] = t === j ? void 0 : t;
|
|
578
575
|
}
|
|
579
576
|
}
|
|
580
|
-
class fn extends
|
|
577
|
+
class fn extends Pt {
|
|
581
578
|
constructor() {
|
|
582
579
|
super(...arguments), this.type = 4;
|
|
583
580
|
}
|
|
@@ -585,13 +582,13 @@ class fn extends Ot {
|
|
|
585
582
|
this.element.toggleAttribute(this.name, !!t && t !== j);
|
|
586
583
|
}
|
|
587
584
|
}
|
|
588
|
-
class mn extends
|
|
585
|
+
class mn extends Pt {
|
|
589
586
|
constructor(t, e, i, s, r) {
|
|
590
587
|
super(t, e, i, s, r), this.type = 5;
|
|
591
588
|
}
|
|
592
589
|
_$AI(t, e = this) {
|
|
593
590
|
var n;
|
|
594
|
-
if ((t = (n =
|
|
591
|
+
if ((t = (n = He(this, t, e, 0)) != null ? n : j) === Re)
|
|
595
592
|
return;
|
|
596
593
|
const i = this._$AH, s = t === j && i !== j || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, r = t !== j && (i === j || s);
|
|
597
594
|
s && this.element.removeEventListener(this.name, this, i), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
@@ -609,19 +606,19 @@ class _n {
|
|
|
609
606
|
return this._$AM._$AU;
|
|
610
607
|
}
|
|
611
608
|
_$AI(t) {
|
|
612
|
-
|
|
609
|
+
He(this, t);
|
|
613
610
|
}
|
|
614
611
|
}
|
|
615
|
-
const
|
|
612
|
+
const Ht = et.litHtmlPolyfillSupport;
|
|
616
613
|
var es;
|
|
617
|
-
|
|
614
|
+
Ht == null || Ht(st, ut), ((es = et.litHtmlVersions) != null ? es : et.litHtmlVersions = []).push("3.2.1");
|
|
618
615
|
const gn = (o, t, e) => {
|
|
619
616
|
var r, n;
|
|
620
617
|
const i = (r = e == null ? void 0 : e.renderBefore) != null ? r : t;
|
|
621
618
|
let s = i._$litPart$;
|
|
622
619
|
if (s === void 0) {
|
|
623
620
|
const a = (n = e == null ? void 0 : e.renderBefore) != null ? n : null;
|
|
624
|
-
i._$litPart$ = s = new
|
|
621
|
+
i._$litPart$ = s = new ut(t.insertBefore(it(), a), a, void 0, e != null ? e : {});
|
|
625
622
|
}
|
|
626
623
|
return s._$AI(o), s;
|
|
627
624
|
};
|
|
@@ -630,8 +627,7 @@ const gn = (o, t, e) => {
|
|
|
630
627
|
* Copyright 2017 Google LLC
|
|
631
628
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
632
629
|
*/
|
|
633
|
-
|
|
634
|
-
class ze extends Fe {
|
|
630
|
+
class Fe extends Ne {
|
|
635
631
|
constructor() {
|
|
636
632
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
637
633
|
}
|
|
@@ -653,15 +649,15 @@ class ze extends Fe {
|
|
|
653
649
|
super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
|
|
654
650
|
}
|
|
655
651
|
render() {
|
|
656
|
-
return
|
|
652
|
+
return Re;
|
|
657
653
|
}
|
|
658
654
|
}
|
|
659
655
|
var ts;
|
|
660
|
-
|
|
661
|
-
const
|
|
662
|
-
|
|
656
|
+
Fe._$litElement$ = !0, Fe.finalized = !0, (ts = globalThis.litElementHydrateSupport) == null || ts.call(globalThis, { LitElement: Fe });
|
|
657
|
+
const Bt = globalThis.litElementPolyfillSupport;
|
|
658
|
+
Bt == null || Bt({ LitElement: Fe });
|
|
663
659
|
var is;
|
|
664
|
-
((is =
|
|
660
|
+
((is = globalThis.litElementVersions) != null ? is : globalThis.litElementVersions = []).push("4.1.1");
|
|
665
661
|
/**
|
|
666
662
|
* @license
|
|
667
663
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -706,7 +702,7 @@ const yn = (o) => class extends o {
|
|
|
706
702
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
707
703
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
708
704
|
*/
|
|
709
|
-
const ds = [],
|
|
705
|
+
const ds = [], si = /* @__PURE__ */ new Set(), Pi = /* @__PURE__ */ new Set();
|
|
710
706
|
function cs(o) {
|
|
711
707
|
return o && Object.prototype.hasOwnProperty.call(o, "__themes");
|
|
712
708
|
}
|
|
@@ -714,7 +710,7 @@ function vn(o) {
|
|
|
714
710
|
return cs(customElements.get(o));
|
|
715
711
|
}
|
|
716
712
|
function bn(o = []) {
|
|
717
|
-
return [o].flat(1 / 0).filter((t) => t instanceof
|
|
713
|
+
return [o].flat(1 / 0).filter((t) => t instanceof ki ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
|
|
718
714
|
}
|
|
719
715
|
function us(o, t) {
|
|
720
716
|
return (o || "").split(" ").some((e) => new RegExp(`^${e.split("*").join(".*")}$`, "u").test(t));
|
|
@@ -723,36 +719,36 @@ function hs(o) {
|
|
|
723
719
|
return o.map((t) => t.cssText).join(`
|
|
724
720
|
`);
|
|
725
721
|
}
|
|
726
|
-
const
|
|
722
|
+
const Ct = "vaadin-themable-mixin-style";
|
|
727
723
|
function wn(o, t) {
|
|
728
724
|
const e = document.createElement("style");
|
|
729
|
-
e.id =
|
|
725
|
+
e.id = Ct, e.textContent = hs(o), t.content.appendChild(e);
|
|
730
726
|
}
|
|
731
727
|
function xn(o) {
|
|
732
728
|
if (!o.shadowRoot)
|
|
733
729
|
return;
|
|
734
730
|
const t = o.constructor;
|
|
735
|
-
if (o instanceof
|
|
731
|
+
if (o instanceof Fe)
|
|
736
732
|
[...o.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()), os(o.shadowRoot, t.elementStyles);
|
|
737
733
|
else {
|
|
738
|
-
const e = o.shadowRoot.getElementById(
|
|
739
|
-
e.textContent = i.content.getElementById(
|
|
734
|
+
const e = o.shadowRoot.getElementById(Ct), i = t.prototype._template;
|
|
735
|
+
e.textContent = i.content.getElementById(Ct).textContent;
|
|
740
736
|
}
|
|
741
737
|
}
|
|
742
738
|
function Cn(o) {
|
|
743
|
-
|
|
739
|
+
si.forEach((t) => {
|
|
744
740
|
const e = t.deref();
|
|
745
|
-
e instanceof o ? xn(e) : e ||
|
|
741
|
+
e instanceof o ? xn(e) : e || si.delete(t);
|
|
746
742
|
});
|
|
747
743
|
}
|
|
748
744
|
function ps(o) {
|
|
749
|
-
if (o.prototype instanceof
|
|
745
|
+
if (o.prototype instanceof Fe)
|
|
750
746
|
o.elementStyles = o.finalizeStyles(o.styles);
|
|
751
747
|
else {
|
|
752
748
|
const t = o.prototype._template;
|
|
753
|
-
t.content.getElementById(
|
|
749
|
+
t.content.getElementById(Ct).textContent = hs(o.getStylesForThis());
|
|
754
750
|
}
|
|
755
|
-
|
|
751
|
+
Pi.forEach((t) => {
|
|
756
752
|
const e = customElements.get(t);
|
|
757
753
|
e !== o && e.prototype instanceof o && ps(e);
|
|
758
754
|
});
|
|
@@ -769,7 +765,7 @@ function H(o, t, e = {}) {
|
|
|
769
765
|
styles: t,
|
|
770
766
|
include: e.include,
|
|
771
767
|
moduleId: e.moduleId
|
|
772
|
-
}), o &&
|
|
768
|
+
}), o && Pi.forEach((i) => {
|
|
773
769
|
if (us(o, i) && vn(i)) {
|
|
774
770
|
const s = customElements.get(i);
|
|
775
771
|
An(s, t) ? console.warn(`Registering styles that already exist for ${i}`) : (!window.Vaadin || !window.Vaadin.suppressPostFinalizeStylesWarning) && console.warn(
|
|
@@ -778,7 +774,7 @@ function H(o, t, e = {}) {
|
|
|
778
774
|
}
|
|
779
775
|
});
|
|
780
776
|
}
|
|
781
|
-
function
|
|
777
|
+
function ri() {
|
|
782
778
|
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() : ds;
|
|
783
779
|
}
|
|
784
780
|
function Tn(o = "") {
|
|
@@ -788,29 +784,29 @@ function Tn(o = "") {
|
|
|
788
784
|
function fs(o) {
|
|
789
785
|
const t = [];
|
|
790
786
|
return o.include && [].concat(o.include).forEach((e) => {
|
|
791
|
-
const i =
|
|
787
|
+
const i = ri().find((s) => s.moduleId === e);
|
|
792
788
|
i ? t.push(...fs(i), ...i.styles) : console.warn(`Included moduleId ${e} not found in style registry`);
|
|
793
789
|
}, o.styles), t;
|
|
794
790
|
}
|
|
795
791
|
function En(o) {
|
|
796
|
-
const t = `${o}-default-theme`, e =
|
|
792
|
+
const t = `${o}-default-theme`, e = ri().filter((i) => i.moduleId !== t && us(i.themeFor, o)).map((i) => Lt(zt({}, i), {
|
|
797
793
|
// Prepend styles from included themes
|
|
798
794
|
styles: [...fs(i), ...i.styles],
|
|
799
795
|
// Map moduleId to includePriority
|
|
800
796
|
includePriority: Tn(i.moduleId)
|
|
801
797
|
})).sort((i, s) => s.includePriority - i.includePriority);
|
|
802
|
-
return e.length > 0 ? e :
|
|
798
|
+
return e.length > 0 ? e : ri().filter((i) => i.moduleId === t);
|
|
803
799
|
}
|
|
804
|
-
const
|
|
800
|
+
const Se = (o) => class extends yn(o) {
|
|
805
801
|
constructor() {
|
|
806
|
-
super(),
|
|
802
|
+
super(), si.add(new WeakRef(this));
|
|
807
803
|
}
|
|
808
804
|
/**
|
|
809
805
|
* Covers PolymerElement based component styling
|
|
810
806
|
* @protected
|
|
811
807
|
*/
|
|
812
808
|
static finalize() {
|
|
813
|
-
if (super.finalize(), this.is &&
|
|
809
|
+
if (super.finalize(), this.is && Pi.add(this.is), this.elementStyles)
|
|
814
810
|
return;
|
|
815
811
|
const e = this.prototype._template;
|
|
816
812
|
!e || cs(this) || wn(this.getStylesForThis(), e);
|
|
@@ -845,7 +841,7 @@ const Dn = (o, ...t) => {
|
|
|
845
841
|
const e = document.createElement("style");
|
|
846
842
|
e.id = o, e.textContent = t.map((i) => i.toString()).join(`
|
|
847
843
|
`).replace(":host", "html"), document.head.insertAdjacentElement("afterbegin", e);
|
|
848
|
-
},
|
|
844
|
+
}, Ue = (o, ...t) => {
|
|
849
845
|
Dn(`lumo-${o}`, t);
|
|
850
846
|
};
|
|
851
847
|
/**
|
|
@@ -869,7 +865,7 @@ const kn = P`
|
|
|
869
865
|
--lumo-icon-size: var(--lumo-icon-size-m);
|
|
870
866
|
}
|
|
871
867
|
`;
|
|
872
|
-
|
|
868
|
+
Ue("sizing-props", kn);
|
|
873
869
|
/**
|
|
874
870
|
* @license
|
|
875
871
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -899,7 +895,7 @@ const Sn = P`
|
|
|
899
895
|
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
|
900
896
|
}
|
|
901
897
|
`;
|
|
902
|
-
|
|
898
|
+
Ue("spacing-props", Sn);
|
|
903
899
|
/**
|
|
904
900
|
* @license
|
|
905
901
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -1007,7 +1003,7 @@ P`
|
|
|
1007
1003
|
--vaadin-input-field-value-font-weight: 500;
|
|
1008
1004
|
}
|
|
1009
1005
|
`;
|
|
1010
|
-
|
|
1006
|
+
Ue("style-props", Pn);
|
|
1011
1007
|
/**
|
|
1012
1008
|
* @license
|
|
1013
1009
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -1099,7 +1095,7 @@ const On = P`
|
|
|
1099
1095
|
}
|
|
1100
1096
|
}
|
|
1101
1097
|
`;
|
|
1102
|
-
|
|
1098
|
+
Ue("color-props", On);
|
|
1103
1099
|
const Mn = P`
|
|
1104
1100
|
[theme~='dark'] {
|
|
1105
1101
|
/* Base (background) */
|
|
@@ -1339,7 +1335,7 @@ const In = P`
|
|
|
1339
1335
|
}
|
|
1340
1336
|
`;
|
|
1341
1337
|
H("", Nn, { moduleId: "lumo-typography" });
|
|
1342
|
-
|
|
1338
|
+
Ue("typography-props", In);
|
|
1343
1339
|
/**
|
|
1344
1340
|
* @license
|
|
1345
1341
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -2418,7 +2414,7 @@ const $n = P`
|
|
|
2418
2414
|
--lumo-icons-user: '\\ea2a';
|
|
2419
2415
|
}
|
|
2420
2416
|
`;
|
|
2421
|
-
|
|
2417
|
+
Ue("font-icons", $n);
|
|
2422
2418
|
/**
|
|
2423
2419
|
* @license
|
|
2424
2420
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -2819,19 +2815,19 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2819
2815
|
Code distributed by Google as part of the polymer project is also
|
|
2820
2816
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2821
2817
|
*/
|
|
2822
|
-
let Vn = /(url\()([^)]*)(\))/g, Un = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/,
|
|
2823
|
-
function
|
|
2818
|
+
let Vn = /(url\()([^)]*)(\))/g, Un = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, ft, Q;
|
|
2819
|
+
function tt(o, t) {
|
|
2824
2820
|
if (o && Un.test(o) || o === "//")
|
|
2825
2821
|
return o;
|
|
2826
|
-
if (
|
|
2827
|
-
|
|
2822
|
+
if (ft === void 0) {
|
|
2823
|
+
ft = !1;
|
|
2828
2824
|
try {
|
|
2829
2825
|
const e = new URL("b", "http://a");
|
|
2830
|
-
e.pathname = "c%20d",
|
|
2826
|
+
e.pathname = "c%20d", ft = e.href === "http://a/c%20d";
|
|
2831
2827
|
} catch (e) {
|
|
2832
2828
|
}
|
|
2833
2829
|
}
|
|
2834
|
-
if (t || (t = document.baseURI || window.location.href),
|
|
2830
|
+
if (t || (t = document.baseURI || window.location.href), ft)
|
|
2835
2831
|
try {
|
|
2836
2832
|
return new URL(o, t).href;
|
|
2837
2833
|
} catch (e) {
|
|
@@ -2839,12 +2835,12 @@ function it(o, t) {
|
|
|
2839
2835
|
}
|
|
2840
2836
|
return Q || (Q = document.implementation.createHTMLDocument("temp"), Q.base = Q.createElement("base"), Q.head.appendChild(Q.base), Q.anchor = Q.createElement("a"), Q.body.appendChild(Q.anchor)), Q.base.href = t, Q.anchor.href = o, Q.anchor.href || o;
|
|
2841
2837
|
}
|
|
2842
|
-
function
|
|
2838
|
+
function Oi(o, t) {
|
|
2843
2839
|
return o.replace(Vn, function(e, i, s, r) {
|
|
2844
|
-
return i + "'" +
|
|
2840
|
+
return i + "'" + tt(s.replace(/["']/g, ""), t) + "'" + r;
|
|
2845
2841
|
});
|
|
2846
2842
|
}
|
|
2847
|
-
function
|
|
2843
|
+
function Mi(o) {
|
|
2848
2844
|
return o.substring(0, o.lastIndexOf("/") + 1);
|
|
2849
2845
|
}
|
|
2850
2846
|
/**
|
|
@@ -2869,9 +2865,9 @@ const jn = ws && "adoptedStyleSheets" in Document.prototype && "replaceSync" in
|
|
|
2869
2865
|
return !1;
|
|
2870
2866
|
}
|
|
2871
2867
|
})();
|
|
2872
|
-
let Yn = window.Polymer && window.Polymer.rootPath ||
|
|
2868
|
+
let Yn = window.Polymer && window.Polymer.rootPath || Mi(document.baseURI || window.location.href), At = window.Polymer && window.Polymer.sanitizeDOMValue || void 0;
|
|
2873
2869
|
window.Polymer && window.Polymer.setPassiveTouchGestures;
|
|
2874
|
-
let
|
|
2870
|
+
let Tt = window.Polymer && window.Polymer.strictTemplatePolicy || !1, Wn = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, xs = window.Polymer && window.Polymer.legacyOptimizations || !1, Cs = window.Polymer && window.Polymer.legacyWarnings || !1, qn = window.Polymer && window.Polymer.syncInitialRender || !1, ni = window.Polymer && window.Polymer.legacyUndefined || !1, Kn = window.Polymer && window.Polymer.orderedComputed || !1, mo = window.Polymer && window.Polymer.removeNestedTemplates || !1, Gn = window.Polymer && window.Polymer.fastDomIf || !1, _o = window.Polymer && window.Polymer.suppressTemplateNotifications || !1;
|
|
2875
2871
|
window.Polymer && window.Polymer.legacyNoObservedAttributes;
|
|
2876
2872
|
let Jn = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
|
|
2877
2873
|
/**
|
|
@@ -2921,17 +2917,17 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2921
2917
|
Code distributed by Google as part of the polymer project is also
|
|
2922
2918
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2923
2919
|
*/
|
|
2924
|
-
let
|
|
2920
|
+
let Ii = {}, As = {};
|
|
2925
2921
|
function go(o, t) {
|
|
2926
|
-
|
|
2922
|
+
Ii[o] = As[o.toLowerCase()] = t;
|
|
2927
2923
|
}
|
|
2928
2924
|
function yo(o) {
|
|
2929
|
-
return
|
|
2925
|
+
return Ii[o] || As[o.toLowerCase()];
|
|
2930
2926
|
}
|
|
2931
2927
|
function Zn(o) {
|
|
2932
2928
|
o.querySelector("style") && console.warn("dom-module %s has style outside template", o.id);
|
|
2933
2929
|
}
|
|
2934
|
-
class
|
|
2930
|
+
class rt extends HTMLElement {
|
|
2935
2931
|
/** @override */
|
|
2936
2932
|
static get observedAttributes() {
|
|
2937
2933
|
return ["id"];
|
|
@@ -2980,11 +2976,11 @@ class nt extends HTMLElement {
|
|
|
2980
2976
|
*/
|
|
2981
2977
|
get assetpath() {
|
|
2982
2978
|
if (!this.__assetpath) {
|
|
2983
|
-
const t = window.HTMLImports && HTMLImports.importForElement ? HTMLImports.importForElement(this) || document : this.ownerDocument, e =
|
|
2979
|
+
const t = window.HTMLImports && HTMLImports.importForElement ? HTMLImports.importForElement(this) || document : this.ownerDocument, e = tt(
|
|
2984
2980
|
this.getAttribute("assetpath") || "",
|
|
2985
2981
|
t.baseURI
|
|
2986
2982
|
);
|
|
2987
|
-
this.__assetpath =
|
|
2983
|
+
this.__assetpath = Mi(e);
|
|
2988
2984
|
}
|
|
2989
2985
|
return this.__assetpath;
|
|
2990
2986
|
}
|
|
@@ -2997,14 +2993,14 @@ class nt extends HTMLElement {
|
|
|
2997
2993
|
*/
|
|
2998
2994
|
register(t) {
|
|
2999
2995
|
if (t = t || this.id, t) {
|
|
3000
|
-
if (
|
|
2996
|
+
if (Tt && yo(t) !== void 0)
|
|
3001
2997
|
throw go(t, null), new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);
|
|
3002
2998
|
this.id = t, go(t, this), Zn(this);
|
|
3003
2999
|
}
|
|
3004
3000
|
}
|
|
3005
3001
|
}
|
|
3006
|
-
|
|
3007
|
-
customElements.define("dom-module",
|
|
3002
|
+
rt.prototype.modules = Ii;
|
|
3003
|
+
customElements.define("dom-module", rt);
|
|
3008
3004
|
/**
|
|
3009
3005
|
@license
|
|
3010
3006
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -3018,12 +3014,12 @@ const Qn = "link[rel=import][type~=css]", ea = "include", vo = "shady-unscoped";
|
|
|
3018
3014
|
function Ts(o) {
|
|
3019
3015
|
return (
|
|
3020
3016
|
/** @type {?DomModule} */
|
|
3021
|
-
|
|
3017
|
+
rt.import(o)
|
|
3022
3018
|
);
|
|
3023
3019
|
}
|
|
3024
3020
|
function bo(o) {
|
|
3025
3021
|
let t = o.body ? o.body : o;
|
|
3026
|
-
const e =
|
|
3022
|
+
const e = Oi(
|
|
3027
3023
|
t.textContent,
|
|
3028
3024
|
o.baseURI
|
|
3029
3025
|
), i = document.createElement("style");
|
|
@@ -3061,7 +3057,7 @@ function Es(o, t) {
|
|
|
3061
3057
|
let r = i[s], n = r.getAttribute(ea);
|
|
3062
3058
|
n && e.push(...ta(n).filter(function(a, l, d) {
|
|
3063
3059
|
return d.indexOf(a) === l;
|
|
3064
|
-
})), t && (r.textContent =
|
|
3060
|
+
})), t && (r.textContent = Oi(
|
|
3065
3061
|
r.textContent,
|
|
3066
3062
|
/** @type {string} */
|
|
3067
3063
|
t
|
|
@@ -3110,26 +3106,26 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3110
3106
|
Code distributed by Google as part of the polymer project is also
|
|
3111
3107
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3112
3108
|
*/
|
|
3113
|
-
function
|
|
3109
|
+
function ai(o) {
|
|
3114
3110
|
return o.indexOf(".") >= 0;
|
|
3115
3111
|
}
|
|
3116
|
-
function
|
|
3112
|
+
function Pe(o) {
|
|
3117
3113
|
let t = o.indexOf(".");
|
|
3118
3114
|
return t === -1 ? o : o.slice(0, t);
|
|
3119
3115
|
}
|
|
3120
3116
|
function ks(o, t) {
|
|
3121
3117
|
return o.indexOf(t + ".") === 0;
|
|
3122
3118
|
}
|
|
3123
|
-
function
|
|
3119
|
+
function nt(o, t) {
|
|
3124
3120
|
return t.indexOf(o + ".") === 0;
|
|
3125
3121
|
}
|
|
3126
|
-
function
|
|
3122
|
+
function at(o, t, e) {
|
|
3127
3123
|
return t + e.slice(o.length);
|
|
3128
3124
|
}
|
|
3129
3125
|
function sa(o, t) {
|
|
3130
|
-
return o === t || ks(o, t) ||
|
|
3126
|
+
return o === t || ks(o, t) || nt(o, t);
|
|
3131
3127
|
}
|
|
3132
|
-
function
|
|
3128
|
+
function Xe(o) {
|
|
3133
3129
|
if (Array.isArray(o)) {
|
|
3134
3130
|
let t = [];
|
|
3135
3131
|
for (let e = 0; e < o.length; e++) {
|
|
@@ -3142,7 +3138,7 @@ function Ze(o) {
|
|
|
3142
3138
|
return o;
|
|
3143
3139
|
}
|
|
3144
3140
|
function Ss(o) {
|
|
3145
|
-
return Array.isArray(o) ?
|
|
3141
|
+
return Array.isArray(o) ? Xe(o).split(".") : o.toString().split(".");
|
|
3146
3142
|
}
|
|
3147
3143
|
function J(o, t, e) {
|
|
3148
3144
|
let i = o, s = Ss(t);
|
|
@@ -3176,15 +3172,15 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3176
3172
|
Code distributed by Google as part of the polymer project is also
|
|
3177
3173
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3178
3174
|
*/
|
|
3179
|
-
const
|
|
3175
|
+
const Et = {}, ra = /-[a-z]/g, na = /([A-Z])/g;
|
|
3180
3176
|
function Ps(o) {
|
|
3181
|
-
return
|
|
3177
|
+
return Et[o] || (Et[o] = o.indexOf("-") < 0 ? o : o.replace(
|
|
3182
3178
|
ra,
|
|
3183
3179
|
(t) => t[1].toUpperCase()
|
|
3184
3180
|
));
|
|
3185
3181
|
}
|
|
3186
|
-
function
|
|
3187
|
-
return
|
|
3182
|
+
function Ot(o) {
|
|
3183
|
+
return Et[o] || (Et[o] = o.replace(na, "-$1").toLowerCase());
|
|
3188
3184
|
}
|
|
3189
3185
|
/**
|
|
3190
3186
|
@license
|
|
@@ -3195,13 +3191,13 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3195
3191
|
Code distributed by Google as part of the polymer project is also
|
|
3196
3192
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3197
3193
|
*/
|
|
3198
|
-
let aa = 0, Os = 0,
|
|
3194
|
+
let aa = 0, Os = 0, ze = [], la = 0, li = !1, Ms = document.createTextNode("");
|
|
3199
3195
|
new window.MutationObserver(da).observe(Ms, { characterData: !0 });
|
|
3200
3196
|
function da() {
|
|
3201
|
-
|
|
3202
|
-
const o =
|
|
3197
|
+
li = !1;
|
|
3198
|
+
const o = ze.length;
|
|
3203
3199
|
for (let t = 0; t < o; t++) {
|
|
3204
|
-
let e =
|
|
3200
|
+
let e = ze[t];
|
|
3205
3201
|
if (e)
|
|
3206
3202
|
try {
|
|
3207
3203
|
e();
|
|
@@ -3211,7 +3207,7 @@ function da() {
|
|
|
3211
3207
|
});
|
|
3212
3208
|
}
|
|
3213
3209
|
}
|
|
3214
|
-
|
|
3210
|
+
ze.splice(0, o), Os += o;
|
|
3215
3211
|
}
|
|
3216
3212
|
const ca = {
|
|
3217
3213
|
/**
|
|
@@ -3262,7 +3258,7 @@ const ca = {
|
|
|
3262
3258
|
* @return {number} Handle used for canceling task
|
|
3263
3259
|
*/
|
|
3264
3260
|
run(o) {
|
|
3265
|
-
return
|
|
3261
|
+
return li || (li = !0, Ms.textContent = la++), ze.push(o), aa++;
|
|
3266
3262
|
},
|
|
3267
3263
|
/**
|
|
3268
3264
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -3274,9 +3270,9 @@ const ca = {
|
|
|
3274
3270
|
cancel(o) {
|
|
3275
3271
|
const t = o - Os;
|
|
3276
3272
|
if (t >= 0) {
|
|
3277
|
-
if (!
|
|
3273
|
+
if (!ze[t])
|
|
3278
3274
|
throw new Error("invalid async handle: " + o);
|
|
3279
|
-
|
|
3275
|
+
ze[t] = null;
|
|
3280
3276
|
}
|
|
3281
3277
|
}
|
|
3282
3278
|
};
|
|
@@ -3726,12 +3722,12 @@ Code distributed by Google as part of the polymer project is also
|
|
|
3726
3722
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3727
3723
|
*/
|
|
3728
3724
|
const Fs = {};
|
|
3729
|
-
let
|
|
3730
|
-
for (;
|
|
3731
|
-
let o = Object.getOwnPropertyNames(
|
|
3725
|
+
let mt = HTMLElement.prototype;
|
|
3726
|
+
for (; mt; ) {
|
|
3727
|
+
let o = Object.getOwnPropertyNames(mt);
|
|
3732
3728
|
for (let t = 0; t < o.length; t++)
|
|
3733
3729
|
Fs[o[t]] = !0;
|
|
3734
|
-
|
|
3730
|
+
mt = Object.getPrototypeOf(mt);
|
|
3735
3731
|
}
|
|
3736
3732
|
const ha = window.trustedTypes ? (o) => trustedTypes.isHTML(o) || trustedTypes.isScript(o) || trustedTypes.isScriptURL(o) : () => !1;
|
|
3737
3733
|
function pa(o, t) {
|
|
@@ -3771,7 +3767,7 @@ const fa = U((o) => {
|
|
|
3771
3767
|
* @nocollapse
|
|
3772
3768
|
*/
|
|
3773
3769
|
static attributeNameForProperty(s) {
|
|
3774
|
-
return
|
|
3770
|
+
return Ot(s);
|
|
3775
3771
|
}
|
|
3776
3772
|
/**
|
|
3777
3773
|
* Overrides PropertiesChanged implementation to initialize values for
|
|
@@ -4367,8 +4363,8 @@ const Aa = U(
|
|
|
4367
4363
|
* Google as part of the polymer project is also subject to an additional IP
|
|
4368
4364
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
4369
4365
|
*/
|
|
4370
|
-
let
|
|
4371
|
-
const
|
|
4366
|
+
let lt = 0;
|
|
4367
|
+
const dt = [], O = {
|
|
4372
4368
|
COMPUTE: "__computeEffects",
|
|
4373
4369
|
REFLECT: "__reflectEffects",
|
|
4374
4370
|
NOTIFY: "__notifyEffects",
|
|
@@ -4376,7 +4372,7 @@ const ct = [], O = {
|
|
|
4376
4372
|
OBSERVE: "__observeEffects",
|
|
4377
4373
|
READ_ONLY: "__readOnly"
|
|
4378
4374
|
}, Ls = "__computeInfo", Ta = /[A-Z]/;
|
|
4379
|
-
function
|
|
4375
|
+
function Vt(o, t, e) {
|
|
4380
4376
|
let i = o[t];
|
|
4381
4377
|
if (!i)
|
|
4382
4378
|
i = o[t] = {};
|
|
@@ -4388,34 +4384,34 @@ function Ut(o, t, e) {
|
|
|
4388
4384
|
}
|
|
4389
4385
|
return i;
|
|
4390
4386
|
}
|
|
4391
|
-
function
|
|
4387
|
+
function Ze(o, t, e, i, s, r) {
|
|
4392
4388
|
if (t) {
|
|
4393
4389
|
let n = !1;
|
|
4394
|
-
const a =
|
|
4390
|
+
const a = lt++;
|
|
4395
4391
|
for (let l in e) {
|
|
4396
|
-
let d = s ?
|
|
4392
|
+
let d = s ? Pe(l) : l, c = t[d];
|
|
4397
4393
|
if (c)
|
|
4398
4394
|
for (let u = 0, h = c.length, p; u < h && (p = c[u]); u++)
|
|
4399
|
-
(!p.info || p.info.lastRun !== a) && (!s ||
|
|
4395
|
+
(!p.info || p.info.lastRun !== a) && (!s || Ni(l, p.trigger)) && (p.info && (p.info.lastRun = a), p.fn(o, l, e, i, p.info, s, r), n = !0);
|
|
4400
4396
|
}
|
|
4401
4397
|
return n;
|
|
4402
4398
|
}
|
|
4403
4399
|
return !1;
|
|
4404
4400
|
}
|
|
4405
4401
|
function Ea(o, t, e, i, s, r, n, a) {
|
|
4406
|
-
let l = !1, d = n ?
|
|
4402
|
+
let l = !1, d = n ? Pe(i) : i, c = t[d];
|
|
4407
4403
|
if (c)
|
|
4408
4404
|
for (let u = 0, h = c.length, p; u < h && (p = c[u]); u++)
|
|
4409
|
-
(!p.info || p.info.lastRun !== e) && (!n ||
|
|
4405
|
+
(!p.info || p.info.lastRun !== e) && (!n || Ni(i, p.trigger)) && (p.info && (p.info.lastRun = e), p.fn(o, i, s, r, p.info, n, a), l = !0);
|
|
4410
4406
|
return l;
|
|
4411
4407
|
}
|
|
4412
|
-
function
|
|
4408
|
+
function Ni(o, t) {
|
|
4413
4409
|
if (t) {
|
|
4414
4410
|
let e = (
|
|
4415
4411
|
/** @type {string} */
|
|
4416
4412
|
t.name
|
|
4417
4413
|
);
|
|
4418
|
-
return e == o || !!(t.structured && ks(e, o)) || !!(t.wildcard &&
|
|
4414
|
+
return e == o || !!(t.structured && ks(e, o)) || !!(t.wildcard && nt(e, o));
|
|
4419
4415
|
} else
|
|
4420
4416
|
return !0;
|
|
4421
4417
|
}
|
|
@@ -4424,16 +4420,16 @@ function Ao(o, t, e, i, s) {
|
|
|
4424
4420
|
r ? r.call(o, o.__data[n], i[n]) : s.dynamicFn || console.warn("observer method `" + s.method + "` not defined");
|
|
4425
4421
|
}
|
|
4426
4422
|
function Da(o, t, e, i, s) {
|
|
4427
|
-
let r = o[O.NOTIFY], n, a =
|
|
4423
|
+
let r = o[O.NOTIFY], n, a = lt++;
|
|
4428
4424
|
for (let d in t)
|
|
4429
4425
|
t[d] && (r && Ea(o, r, a, d, e, i, s) || s && ka(o, d, e)) && (n = !0);
|
|
4430
4426
|
let l;
|
|
4431
4427
|
n && (l = o.__dataHost) && l._invalidateProperties && l._invalidateProperties();
|
|
4432
4428
|
}
|
|
4433
4429
|
function ka(o, t, e) {
|
|
4434
|
-
let i =
|
|
4430
|
+
let i = Pe(t);
|
|
4435
4431
|
if (i !== t) {
|
|
4436
|
-
let s =
|
|
4432
|
+
let s = Ot(i) + "-changed";
|
|
4437
4433
|
return $s(o, s, e[t], t), !0;
|
|
4438
4434
|
}
|
|
4439
4435
|
return !1;
|
|
@@ -4449,7 +4445,7 @@ function $s(o, t, e, i) {
|
|
|
4449
4445
|
).dispatchEvent(new CustomEvent(t, { detail: s }));
|
|
4450
4446
|
}
|
|
4451
4447
|
function Sa(o, t, e, i, s, r) {
|
|
4452
|
-
let a = (r ?
|
|
4448
|
+
let a = (r ? Pe(t) : t) != t ? t : null, l = a ? J(o, a) : o.__data[t];
|
|
4453
4449
|
a && l === void 0 && (l = e[t]), $s(o, s.eventName, l, a);
|
|
4454
4450
|
}
|
|
4455
4451
|
function Pa(o, t, e, i, s) {
|
|
@@ -4457,11 +4453,11 @@ function Pa(o, t, e, i, s) {
|
|
|
4457
4453
|
/** @type {Object} */
|
|
4458
4454
|
o.detail
|
|
4459
4455
|
), a = n && n.path;
|
|
4460
|
-
a ? (i =
|
|
4456
|
+
a ? (i = at(e, i, a), r = n && n.value) : r = o.currentTarget[e], r = s ? !r : r, (!t[O.READ_ONLY] || !t[O.READ_ONLY][i]) && t._setPendingPropertyOrPath(i, r, !0, !!a) && (!n || !n.queueProperty) && t._invalidateProperties();
|
|
4461
4457
|
}
|
|
4462
4458
|
function Oa(o, t, e, i, s) {
|
|
4463
4459
|
let r = o.__data[t];
|
|
4464
|
-
|
|
4460
|
+
At && (r = At(
|
|
4465
4461
|
r,
|
|
4466
4462
|
s.attrName,
|
|
4467
4463
|
"attribute",
|
|
@@ -4473,7 +4469,7 @@ function Ma(o, t, e, i) {
|
|
|
4473
4469
|
let s = o[O.COMPUTE];
|
|
4474
4470
|
if (s)
|
|
4475
4471
|
if (Kn) {
|
|
4476
|
-
|
|
4472
|
+
lt++;
|
|
4477
4473
|
const r = Na(o), n = [];
|
|
4478
4474
|
for (let l in t)
|
|
4479
4475
|
To(l, s, n, r, i);
|
|
@@ -4491,7 +4487,7 @@ function Ma(o, t, e, i) {
|
|
|
4491
4487
|
), o.__dataPending = null;
|
|
4492
4488
|
} else {
|
|
4493
4489
|
let r = t;
|
|
4494
|
-
for (;
|
|
4490
|
+
for (; Ze(o, s, r, e, i); )
|
|
4495
4491
|
Object.assign(
|
|
4496
4492
|
/** @type {!Object} */
|
|
4497
4493
|
e,
|
|
@@ -4518,11 +4514,11 @@ const Ia = (o, t, e) => {
|
|
|
4518
4514
|
}
|
|
4519
4515
|
r < 0 && (r = s + 1), t.splice(r, 0, o);
|
|
4520
4516
|
}, To = (o, t, e, i, s) => {
|
|
4521
|
-
const r = s ?
|
|
4517
|
+
const r = s ? Pe(o) : o, n = t[r];
|
|
4522
4518
|
if (n)
|
|
4523
4519
|
for (let a = 0; a < n.length; a++) {
|
|
4524
4520
|
const l = n[a];
|
|
4525
|
-
l.info.lastRun !==
|
|
4521
|
+
l.info.lastRun !== lt && (!s || Ni(o, l.trigger)) && (l.info.lastRun = lt, Ia(l.info, e, i));
|
|
4526
4522
|
}
|
|
4527
4523
|
};
|
|
4528
4524
|
function Na(o) {
|
|
@@ -4556,8 +4552,8 @@ function Fa(o) {
|
|
|
4556
4552
|
return { counts: e, ready: s, total: r };
|
|
4557
4553
|
}
|
|
4558
4554
|
function Rs(o, t, e, i, s) {
|
|
4559
|
-
let r =
|
|
4560
|
-
if (r ===
|
|
4555
|
+
let r = di(o, t, e, i, s);
|
|
4556
|
+
if (r === dt)
|
|
4561
4557
|
return !1;
|
|
4562
4558
|
let n = s.methodInfo;
|
|
4563
4559
|
return o.__dataHasAccessor && o.__dataHasAccessor[n] ? o._setPendingProperty(n, r, !0) : (o[n] = r, !1);
|
|
@@ -4568,16 +4564,16 @@ function za(o, t, e) {
|
|
|
4568
4564
|
let s;
|
|
4569
4565
|
for (let r in i) {
|
|
4570
4566
|
let n = i[r];
|
|
4571
|
-
|
|
4567
|
+
nt(r, t) ? (s = at(r, n, t), o._setPendingPropertyOrPath(s, e, !0, !0)) : nt(n, t) && (s = at(n, r, t), o._setPendingPropertyOrPath(s, e, !0, !0));
|
|
4572
4568
|
}
|
|
4573
4569
|
}
|
|
4574
4570
|
}
|
|
4575
|
-
function
|
|
4571
|
+
function Ut(o, t, e, i, s, r, n) {
|
|
4576
4572
|
e.bindings = e.bindings || [];
|
|
4577
4573
|
let a = { kind: i, target: s, parts: r, literal: n, isCompound: r.length !== 1 };
|
|
4578
4574
|
if (e.bindings.push(a), Ba(a)) {
|
|
4579
4575
|
let { event: d, negate: c } = a.parts[0];
|
|
4580
|
-
a.listenerEvent = d ||
|
|
4576
|
+
a.listenerEvent = d || Ot(s) + "-changed", a.listenerNegate = c;
|
|
4581
4577
|
}
|
|
4582
4578
|
let l = t.nodeInfoList.length;
|
|
4583
4579
|
for (let d = 0; d < a.parts.length; d++) {
|
|
@@ -4605,14 +4601,14 @@ function $a(o, t, e, i, s, r, n) {
|
|
|
4605
4601
|
let a = n[s.index], l = s.binding, d = s.part;
|
|
4606
4602
|
if (r && d.source && t.length > d.source.length && l.kind == "property" && !l.isCompound && a.__isPropertyEffectsClient && a.__dataHasAccessor && a.__dataHasAccessor[l.target]) {
|
|
4607
4603
|
let c = e[t];
|
|
4608
|
-
t =
|
|
4604
|
+
t = at(d.source, l.target, t), a._setPendingPropertyOrPath(t, c, !1, !0) && o._enqueueClient(a);
|
|
4609
4605
|
} else {
|
|
4610
4606
|
let c = s.evaluator._evaluateBinding(o, d, t, e, i, r);
|
|
4611
|
-
c !==
|
|
4607
|
+
c !== dt && Ra(o, a, l, d, c);
|
|
4612
4608
|
}
|
|
4613
4609
|
}
|
|
4614
4610
|
function Ra(o, t, e, i, s) {
|
|
4615
|
-
if (s = Ha(t, s, e, i),
|
|
4611
|
+
if (s = Ha(t, s, e, i), At && (s = At(s, e.target, e.kind, t)), e.kind == "attribute")
|
|
4616
4612
|
o._valueToNodeAttribute(
|
|
4617
4613
|
/** @type {Element} */
|
|
4618
4614
|
t,
|
|
@@ -4683,11 +4679,11 @@ function Eo(o, t, e, i, s, r) {
|
|
|
4683
4679
|
info: n
|
|
4684
4680
|
}), n;
|
|
4685
4681
|
}
|
|
4686
|
-
function
|
|
4682
|
+
function di(o, t, e, i, s) {
|
|
4687
4683
|
let r = o._methodHost || o, n = r[s.methodName];
|
|
4688
4684
|
if (n) {
|
|
4689
4685
|
let a = o._marshalArgs(s.args, t, e);
|
|
4690
|
-
return a ===
|
|
4686
|
+
return a === dt ? dt : n.apply(r, a);
|
|
4691
4687
|
} else
|
|
4692
4688
|
s.dynamicFn || console.warn("method `" + s.methodName + "` not defined");
|
|
4693
4689
|
}
|
|
@@ -4700,7 +4696,7 @@ function So(o) {
|
|
|
4700
4696
|
}
|
|
4701
4697
|
return t;
|
|
4702
4698
|
}
|
|
4703
|
-
function
|
|
4699
|
+
function jt(o) {
|
|
4704
4700
|
let t = o.match(/([^\s]+?)\(([\s\S]*)\)/);
|
|
4705
4701
|
if (t) {
|
|
4706
4702
|
let i = { methodName: t[1], static: !0, args: Ya };
|
|
@@ -4733,7 +4729,7 @@ function Bs(o) {
|
|
|
4733
4729
|
e.value = Number(t), e.literal = !0;
|
|
4734
4730
|
break;
|
|
4735
4731
|
}
|
|
4736
|
-
return e.literal || (e.rootProperty =
|
|
4732
|
+
return e.literal || (e.rootProperty = Pe(t), e.structured = ai(t), e.structured && (e.wildcard = t.slice(-2) == ".*", e.wildcard && (e.name = t.slice(0, -2)))), e;
|
|
4737
4733
|
}
|
|
4738
4734
|
function Po(o, t, e) {
|
|
4739
4735
|
let i = J(o, e);
|
|
@@ -4741,9 +4737,9 @@ function Po(o, t, e) {
|
|
|
4741
4737
|
}
|
|
4742
4738
|
function Vs(o, t, e, i) {
|
|
4743
4739
|
const s = { indexSplices: i };
|
|
4744
|
-
|
|
4740
|
+
ni && !o._overrideLegacyUndefined && (t.splices = s), o.notifyPath(e + ".splices", s), o.notifyPath(e + ".length", t.length), ni && !o._overrideLegacyUndefined && (s.indexSplices = []);
|
|
4745
4741
|
}
|
|
4746
|
-
function
|
|
4742
|
+
function qe(o, t, e, i, s, r) {
|
|
4747
4743
|
Vs(o, t, e, [{
|
|
4748
4744
|
index: i,
|
|
4749
4745
|
addedCount: s,
|
|
@@ -4755,7 +4751,7 @@ function Ke(o, t, e, i, s, r) {
|
|
|
4755
4751
|
function sl(o) {
|
|
4756
4752
|
return o[0].toUpperCase() + o.substring(1);
|
|
4757
4753
|
}
|
|
4758
|
-
const
|
|
4754
|
+
const Fi = U((o) => {
|
|
4759
4755
|
const t = Aa(fa(o));
|
|
4760
4756
|
class e extends t {
|
|
4761
4757
|
constructor() {
|
|
@@ -4772,8 +4768,8 @@ const zi = U((o) => {
|
|
|
4772
4768
|
super._initializeProperties(), this._registerHost(), this.__dataClientsReady = !1, this.__dataPendingClients = null, this.__dataToNotify = null, this.__dataLinkedPaths = null, this.__dataHasPaths = !1, this.__dataCompoundStorage = this.__dataCompoundStorage || null, this.__dataHost = this.__dataHost || null, this.__dataTemp = {}, this.__dataClientsInitialized = !1;
|
|
4773
4769
|
}
|
|
4774
4770
|
_registerHost() {
|
|
4775
|
-
if (
|
|
4776
|
-
let s =
|
|
4771
|
+
if (Ke.length) {
|
|
4772
|
+
let s = Ke[Ke.length - 1];
|
|
4777
4773
|
s._enqueueClient(this), this.__dataHost = s;
|
|
4778
4774
|
}
|
|
4779
4775
|
}
|
|
@@ -4817,7 +4813,7 @@ const zi = U((o) => {
|
|
|
4817
4813
|
*/
|
|
4818
4814
|
_addPropertyEffect(s, r, n) {
|
|
4819
4815
|
this._createPropertyAccessor(s, r == O.READ_ONLY);
|
|
4820
|
-
let a =
|
|
4816
|
+
let a = Vt(this, r, !0)[s];
|
|
4821
4817
|
a || (a = this[r][s] = []), a.push(n);
|
|
4822
4818
|
}
|
|
4823
4819
|
/**
|
|
@@ -4830,7 +4826,7 @@ const zi = U((o) => {
|
|
|
4830
4826
|
* @return {void}
|
|
4831
4827
|
*/
|
|
4832
4828
|
_removePropertyEffect(s, r, n) {
|
|
4833
|
-
let a =
|
|
4829
|
+
let a = Vt(this, r, !0)[s], l = a.indexOf(n);
|
|
4834
4830
|
l >= 0 && a.splice(l, 1);
|
|
4835
4831
|
}
|
|
4836
4832
|
/**
|
|
@@ -4931,7 +4927,7 @@ const zi = U((o) => {
|
|
|
4931
4927
|
* @protected
|
|
4932
4928
|
*/
|
|
4933
4929
|
_setPendingPropertyOrPath(s, r, n, a) {
|
|
4934
|
-
if (a ||
|
|
4930
|
+
if (a || Pe(Array.isArray(s) ? s[0] : s) !== s) {
|
|
4935
4931
|
if (!a) {
|
|
4936
4932
|
let l = J(this, s);
|
|
4937
4933
|
if (s = /** @type {string} */
|
|
@@ -5024,7 +5020,7 @@ const zi = U((o) => {
|
|
|
5024
5020
|
* @return {boolean} Returns true if the property changed
|
|
5025
5021
|
*/
|
|
5026
5022
|
_setPendingProperty(s, r, n) {
|
|
5027
|
-
let a = this.__dataHasPaths &&
|
|
5023
|
+
let a = this.__dataHasPaths && ai(s), l = a ? this.__dataTemp : this.__data;
|
|
5028
5024
|
return this._shouldPropertyChange(s, r, l[s]) ? (this.__dataPending || (this.__dataPending = {}, this.__dataOld = {}), s in this.__dataOld || (this.__dataOld[s] = this.__data[s]), a ? this.__dataTemp[s] = r : this.__data[s] = r, this.__dataPending[s] = r, (a || this[O.NOTIFY] && this[O.NOTIFY][s]) && (this.__dataToNotify = this.__dataToNotify || {}, this.__dataToNotify[s] = n), !0) : !1;
|
|
5029
5025
|
}
|
|
5030
5026
|
/**
|
|
@@ -5160,7 +5156,7 @@ const zi = U((o) => {
|
|
|
5160
5156
|
let a = this.__dataHasPaths;
|
|
5161
5157
|
this.__dataHasPaths = !1;
|
|
5162
5158
|
let l;
|
|
5163
|
-
Ma(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(),
|
|
5159
|
+
Ma(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(), Ze(this, this[O.REFLECT], r, n, a), Ze(this, this[O.OBSERVE], r, n, a), l && Da(this, l, r, n, a), this.__dataCounter == 1 && (this.__dataTemp = {});
|
|
5164
5160
|
}
|
|
5165
5161
|
/**
|
|
5166
5162
|
* Called to propagate any property changes to stamped template nodes
|
|
@@ -5174,11 +5170,11 @@ const zi = U((o) => {
|
|
|
5174
5170
|
* @protected
|
|
5175
5171
|
*/
|
|
5176
5172
|
_propagatePropertyChanges(s, r, n) {
|
|
5177
|
-
this[O.PROPAGATE] &&
|
|
5173
|
+
this[O.PROPAGATE] && Ze(this, this[O.PROPAGATE], s, r, n), this.__templateInfo && this._runEffectsForTemplate(this.__templateInfo, s, r, n);
|
|
5178
5174
|
}
|
|
5179
5175
|
_runEffectsForTemplate(s, r, n, a) {
|
|
5180
5176
|
const l = (d, c) => {
|
|
5181
|
-
|
|
5177
|
+
Ze(
|
|
5182
5178
|
this,
|
|
5183
5179
|
s.propertyEffects,
|
|
5184
5180
|
d,
|
|
@@ -5202,7 +5198,7 @@ const zi = U((o) => {
|
|
|
5202
5198
|
* @public
|
|
5203
5199
|
*/
|
|
5204
5200
|
linkPaths(s, r) {
|
|
5205
|
-
s =
|
|
5201
|
+
s = Xe(s), r = Xe(r), this.__dataLinkedPaths = this.__dataLinkedPaths || {}, this.__dataLinkedPaths[s] = r;
|
|
5206
5202
|
}
|
|
5207
5203
|
/**
|
|
5208
5204
|
* Removes a data path alias previously established with `_linkPaths`.
|
|
@@ -5216,7 +5212,7 @@ const zi = U((o) => {
|
|
|
5216
5212
|
* @public
|
|
5217
5213
|
*/
|
|
5218
5214
|
unlinkPaths(s) {
|
|
5219
|
-
s =
|
|
5215
|
+
s = Xe(s), this.__dataLinkedPaths && delete this.__dataLinkedPaths[s];
|
|
5220
5216
|
}
|
|
5221
5217
|
/**
|
|
5222
5218
|
* Notify that an array has changed.
|
|
@@ -5330,7 +5326,7 @@ const zi = U((o) => {
|
|
|
5330
5326
|
/** @type {Array}*/
|
|
5331
5327
|
J(this, s, n)
|
|
5332
5328
|
), l = a.length, d = a.push(...r);
|
|
5333
|
-
return r.length &&
|
|
5329
|
+
return r.length && qe(this, a, n.path, l, r.length, []), d;
|
|
5334
5330
|
}
|
|
5335
5331
|
/**
|
|
5336
5332
|
* Removes an item from the end of array at the path specified.
|
|
@@ -5351,7 +5347,7 @@ const zi = U((o) => {
|
|
|
5351
5347
|
/** @type {Array} */
|
|
5352
5348
|
J(this, s, r)
|
|
5353
5349
|
), a = !!n.length, l = n.pop();
|
|
5354
|
-
return a &&
|
|
5350
|
+
return a && qe(this, n, r.path, n.length, 0, [l]), l;
|
|
5355
5351
|
}
|
|
5356
5352
|
/**
|
|
5357
5353
|
* Starting from the start index specified, removes 0 or more items
|
|
@@ -5378,7 +5374,7 @@ const zi = U((o) => {
|
|
|
5378
5374
|
);
|
|
5379
5375
|
r < 0 ? r = d.length - Math.floor(-r) : r && (r = Math.floor(r));
|
|
5380
5376
|
let c;
|
|
5381
|
-
return arguments.length === 2 ? c = d.splice(r) : c = d.splice(r, n, ...a), (a.length || c.length) &&
|
|
5377
|
+
return arguments.length === 2 ? c = d.splice(r) : c = d.splice(r, n, ...a), (a.length || c.length) && qe(this, d, l.path, r, a.length, c), c;
|
|
5382
5378
|
}
|
|
5383
5379
|
/**
|
|
5384
5380
|
* Removes an item from the beginning of array at the path specified.
|
|
@@ -5399,7 +5395,7 @@ const zi = U((o) => {
|
|
|
5399
5395
|
/** @type {Array} */
|
|
5400
5396
|
J(this, s, r)
|
|
5401
5397
|
), a = !!n.length, l = n.shift();
|
|
5402
|
-
return a &&
|
|
5398
|
+
return a && qe(this, n, r.path, 0, 0, [l]), l;
|
|
5403
5399
|
}
|
|
5404
5400
|
/**
|
|
5405
5401
|
* Adds items onto the beginning of the array at the path specified.
|
|
@@ -5421,7 +5417,7 @@ const zi = U((o) => {
|
|
|
5421
5417
|
/** @type {Array} */
|
|
5422
5418
|
J(this, s, n)
|
|
5423
5419
|
), l = a.unshift(...r);
|
|
5424
|
-
return r.length &&
|
|
5420
|
+
return r.length && qe(this, a, n.path, 0, r.length, []), l;
|
|
5425
5421
|
}
|
|
5426
5422
|
/**
|
|
5427
5423
|
* Notify that a path has changed.
|
|
@@ -5443,7 +5439,7 @@ const zi = U((o) => {
|
|
|
5443
5439
|
let a = { path: "" };
|
|
5444
5440
|
r = J(this, s, a), n = a.path;
|
|
5445
5441
|
} else
|
|
5446
|
-
Array.isArray(s) ? n =
|
|
5442
|
+
Array.isArray(s) ? n = Xe(s) : n = /** @type{string} */
|
|
5447
5443
|
s;
|
|
5448
5444
|
this._setPendingPropertyOrPath(n, r, !0, !0) && this._invalidateProperties();
|
|
5449
5445
|
}
|
|
@@ -5509,10 +5505,10 @@ const zi = U((o) => {
|
|
|
5509
5505
|
* @protected
|
|
5510
5506
|
*/
|
|
5511
5507
|
_createMethodObserver(s, r) {
|
|
5512
|
-
let n =
|
|
5508
|
+
let n = jt(s);
|
|
5513
5509
|
if (!n)
|
|
5514
5510
|
throw new Error("Malformed observer expression '" + s + "'");
|
|
5515
|
-
Eo(this, n, O.OBSERVE,
|
|
5511
|
+
Eo(this, n, O.OBSERVE, di, null, r);
|
|
5516
5512
|
}
|
|
5517
5513
|
/**
|
|
5518
5514
|
* Equivalent to static `createNotifyingProperty` API but can be called on
|
|
@@ -5528,7 +5524,7 @@ const zi = U((o) => {
|
|
|
5528
5524
|
this._addPropertyEffect(s, O.NOTIFY, {
|
|
5529
5525
|
fn: Sa,
|
|
5530
5526
|
info: {
|
|
5531
|
-
eventName:
|
|
5527
|
+
eventName: Ot(s) + "-changed",
|
|
5532
5528
|
property: s
|
|
5533
5529
|
}
|
|
5534
5530
|
});
|
|
@@ -5567,11 +5563,11 @@ const zi = U((o) => {
|
|
|
5567
5563
|
* @protected
|
|
5568
5564
|
*/
|
|
5569
5565
|
_createComputedProperty(s, r, n) {
|
|
5570
|
-
let a =
|
|
5566
|
+
let a = jt(r);
|
|
5571
5567
|
if (!a)
|
|
5572
5568
|
throw new Error("Malformed computed expression '" + r + "'");
|
|
5573
5569
|
const l = Eo(this, a, O.COMPUTE, Rs, s, n);
|
|
5574
|
-
|
|
5570
|
+
Vt(this, Ls)[s] = l;
|
|
5575
5571
|
}
|
|
5576
5572
|
/**
|
|
5577
5573
|
* Gather the argument values for a method specified in the provided array
|
|
@@ -5592,7 +5588,7 @@ const zi = U((o) => {
|
|
|
5592
5588
|
let { name: u, structured: h, wildcard: p, value: y, literal: E } = s[d];
|
|
5593
5589
|
if (!E)
|
|
5594
5590
|
if (p) {
|
|
5595
|
-
const D =
|
|
5591
|
+
const D = nt(u, r), T = Po(a, n, D ? r : u);
|
|
5596
5592
|
y = {
|
|
5597
5593
|
path: D ? r : u,
|
|
5598
5594
|
value: T,
|
|
@@ -5600,8 +5596,8 @@ const zi = U((o) => {
|
|
|
5600
5596
|
};
|
|
5601
5597
|
} else
|
|
5602
5598
|
y = h ? Po(a, n, u) : a[u];
|
|
5603
|
-
if (
|
|
5604
|
-
return
|
|
5599
|
+
if (ni && !this._overrideLegacyUndefined && y === void 0 && s.length > 1)
|
|
5600
|
+
return dt;
|
|
5605
5601
|
l[d] = y;
|
|
5606
5602
|
}
|
|
5607
5603
|
return l;
|
|
@@ -5875,9 +5871,9 @@ const zi = U((o) => {
|
|
|
5875
5871
|
*/
|
|
5876
5872
|
_stampTemplate(s, r) {
|
|
5877
5873
|
r = r || /** @type {!TemplateInfo} */
|
|
5878
|
-
this._bindTemplate(s, !0),
|
|
5874
|
+
this._bindTemplate(s, !0), Ke.push(this);
|
|
5879
5875
|
let n = super._stampTemplate(s, r);
|
|
5880
|
-
if (
|
|
5876
|
+
if (Ke.pop(), r.nodeList = n.nodeList, !r.wasPreBound) {
|
|
5881
5877
|
let a = r.childNodes = [];
|
|
5882
5878
|
for (let l = n.firstChild; l; l = l.nextSibling)
|
|
5883
5879
|
a.push(l);
|
|
@@ -5929,7 +5925,7 @@ const zi = U((o) => {
|
|
|
5929
5925
|
);
|
|
5930
5926
|
if (s.nodeType === Node.TEXT_NODE) {
|
|
5931
5927
|
let l = this._parseBindings(s.textContent, r);
|
|
5932
|
-
l && (s.textContent = So(l) || " ",
|
|
5928
|
+
l && (s.textContent = So(l) || " ", Ut(this, r, n, "text", "textContent", l), a = !0);
|
|
5933
5929
|
}
|
|
5934
5930
|
return a;
|
|
5935
5931
|
}
|
|
@@ -5958,7 +5954,7 @@ const zi = U((o) => {
|
|
|
5958
5954
|
let c = a, u = "property";
|
|
5959
5955
|
Ta.test(a) ? u = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), u = "attribute");
|
|
5960
5956
|
let h = So(d);
|
|
5961
|
-
return h && u == "attribute" && (a == "class" && s.hasAttribute("class") && (h += " " + s.getAttribute(a)), s.setAttribute(a, h)), u == "attribute" && c == "disable-upgrade$" && s.setAttribute(a, ""), s.localName === "input" && c === "value" && s.setAttribute(c, ""), s.removeAttribute(c), u === "property" && (a = Ps(a)),
|
|
5957
|
+
return h && u == "attribute" && (a == "class" && s.hasAttribute("class") && (h += " " + s.getAttribute(a)), s.setAttribute(a, h)), u == "attribute" && c == "disable-upgrade$" && s.setAttribute(a, ""), s.localName === "input" && c === "value" && s.setAttribute(c, ""), s.removeAttribute(c), u === "property" && (a = Ps(a)), Ut(this, r, n, u, a, d, h), !0;
|
|
5962
5958
|
} else
|
|
5963
5959
|
return t._parseTemplateNodeAttribute.call(
|
|
5964
5960
|
this,
|
|
@@ -5999,7 +5995,7 @@ const zi = U((o) => {
|
|
|
5999
5995
|
let p = "{";
|
|
6000
5996
|
for (let y in h) {
|
|
6001
5997
|
let E = [{ mode: p, source: y, dependencies: [y], hostProp: !0 }];
|
|
6002
|
-
|
|
5998
|
+
Ut(this, r, n, "property", "_host_" + y, E);
|
|
6003
5999
|
}
|
|
6004
6000
|
}
|
|
6005
6001
|
return a;
|
|
@@ -6055,7 +6051,7 @@ const zi = U((o) => {
|
|
|
6055
6051
|
l.index > a && n.push({ literal: s.slice(a, l.index) });
|
|
6056
6052
|
let d = l[1][0], c = !!l[2], u = l[3].trim(), h = !1, p = "", y = -1;
|
|
6057
6053
|
d == "{" && (y = u.indexOf("::")) > 0 && (p = u.substring(y + 2), u = u.substring(0, y), h = !0);
|
|
6058
|
-
let E =
|
|
6054
|
+
let E = jt(u), D = [];
|
|
6059
6055
|
if (E) {
|
|
6060
6056
|
let { args: T, methodName: k } = E;
|
|
6061
6057
|
for (let L = 0; L < T.length; L++) {
|
|
@@ -6101,11 +6097,11 @@ const zi = U((o) => {
|
|
|
6101
6097
|
*/
|
|
6102
6098
|
static _evaluateBinding(s, r, n, a, l, d) {
|
|
6103
6099
|
let c;
|
|
6104
|
-
return r.signature ? c =
|
|
6100
|
+
return r.signature ? c = di(s, n, a, l, r.signature) : n != r.source ? c = J(s, r.source) : d && ai(n) ? c = J(s, n) : c = s.__data[n], r.negate && (c = !c), c;
|
|
6105
6101
|
}
|
|
6106
6102
|
}
|
|
6107
6103
|
return e;
|
|
6108
|
-
}),
|
|
6104
|
+
}), Ke = [];
|
|
6109
6105
|
/**
|
|
6110
6106
|
@license
|
|
6111
6107
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -6284,7 +6280,7 @@ const nl = U((o) => {
|
|
|
6284
6280
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6285
6281
|
*/
|
|
6286
6282
|
const al = "3.5.2", Oo = window.ShadyCSS && window.ShadyCSS.cssBuild, ll = U((o) => {
|
|
6287
|
-
const t = nl(
|
|
6283
|
+
const t = nl(Fi(o));
|
|
6288
6284
|
function e(l) {
|
|
6289
6285
|
if (!l.hasOwnProperty(
|
|
6290
6286
|
JSCompiler_renameProperty("__propertyDefaults", l)
|
|
@@ -6336,8 +6332,8 @@ const al = "3.5.2", Oo = window.ShadyCSS && window.ShadyCSS.cssBuild, ll = U((o)
|
|
|
6336
6332
|
}
|
|
6337
6333
|
function n(l) {
|
|
6338
6334
|
let d = null;
|
|
6339
|
-
if (l && (!
|
|
6340
|
-
|
|
6335
|
+
if (l && (!Tt || Wn) && (d = /** @type {?HTMLTemplateElement} */
|
|
6336
|
+
rt.import(l, "template"), Tt && !d))
|
|
6341
6337
|
throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
6342
6338
|
return d;
|
|
6343
6339
|
}
|
|
@@ -6506,9 +6502,9 @@ const al = "3.5.2", Oo = window.ShadyCSS && window.ShadyCSS.cssBuild, ll = U((o)
|
|
|
6506
6502
|
if (!this.hasOwnProperty(JSCompiler_renameProperty("_importPath", this))) {
|
|
6507
6503
|
const d = this.importMeta;
|
|
6508
6504
|
if (d)
|
|
6509
|
-
this._importPath =
|
|
6505
|
+
this._importPath = Mi(d.url);
|
|
6510
6506
|
else {
|
|
6511
|
-
const c =
|
|
6507
|
+
const c = rt.import(
|
|
6512
6508
|
/** @type {PolymerElementConstructor} */
|
|
6513
6509
|
this.is
|
|
6514
6510
|
);
|
|
@@ -6571,7 +6567,7 @@ const al = "3.5.2", Oo = window.ShadyCSS && window.ShadyCSS.cssBuild, ll = U((o)
|
|
|
6571
6567
|
* @nocollapse
|
|
6572
6568
|
*/
|
|
6573
6569
|
static _processStyleText(d, c) {
|
|
6574
|
-
return
|
|
6570
|
+
return Oi(d, c);
|
|
6575
6571
|
}
|
|
6576
6572
|
/**
|
|
6577
6573
|
* Configures an element `proto` to function with a given `template`.
|
|
@@ -6587,7 +6583,7 @@ const al = "3.5.2", Oo = window.ShadyCSS && window.ShadyCSS.cssBuild, ll = U((o)
|
|
|
6587
6583
|
const c = this.prototype._template;
|
|
6588
6584
|
if (c && !c.__polymerFinalized) {
|
|
6589
6585
|
c.__polymerFinalized = !0;
|
|
6590
|
-
const u = this.importPath, h = u ?
|
|
6586
|
+
const u = this.importPath, h = u ? tt(u) : "";
|
|
6591
6587
|
r(this, c, d, h), this.prototype._bindTemplate(c);
|
|
6592
6588
|
}
|
|
6593
6589
|
}
|
|
@@ -6699,7 +6695,7 @@ const al = "3.5.2", Oo = window.ShadyCSS && window.ShadyCSS.cssBuild, ll = U((o)
|
|
|
6699
6695
|
* @return {string} Rewritten URL relative to base
|
|
6700
6696
|
*/
|
|
6701
6697
|
resolveUrl(d, c) {
|
|
6702
|
-
return !c && this.importPath && (c =
|
|
6698
|
+
return !c && this.importPath && (c = tt(this.importPath)), tt(d, c);
|
|
6703
6699
|
}
|
|
6704
6700
|
/**
|
|
6705
6701
|
* Overrides `PropertyEffects` to add map of dynamic functions on
|
|
@@ -6804,7 +6800,7 @@ function dl(o) {
|
|
|
6804
6800
|
`non-template value passed to Polymer's html function: ${o}`
|
|
6805
6801
|
);
|
|
6806
6802
|
}
|
|
6807
|
-
const
|
|
6803
|
+
const Oe = function(t, ...e) {
|
|
6808
6804
|
Ys(t, e);
|
|
6809
6805
|
const i = (
|
|
6810
6806
|
/** @type {!HTMLTemplateElement} */
|
|
@@ -6835,21 +6831,21 @@ const be = ll(HTMLElement);
|
|
|
6835
6831
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6836
6832
|
*/
|
|
6837
6833
|
const ue = [];
|
|
6838
|
-
function
|
|
6834
|
+
function ci(o, t, e = o.getAttribute("dir")) {
|
|
6839
6835
|
t ? o.setAttribute("dir", t) : e != null && o.removeAttribute("dir");
|
|
6840
6836
|
}
|
|
6841
|
-
function
|
|
6837
|
+
function ui() {
|
|
6842
6838
|
return document.documentElement.getAttribute("dir");
|
|
6843
6839
|
}
|
|
6844
6840
|
function cl() {
|
|
6845
|
-
const o =
|
|
6841
|
+
const o = ui();
|
|
6846
6842
|
ue.forEach((t) => {
|
|
6847
|
-
|
|
6843
|
+
ci(t, o);
|
|
6848
6844
|
});
|
|
6849
6845
|
}
|
|
6850
6846
|
const ul = new MutationObserver(cl);
|
|
6851
6847
|
ul.observe(document.documentElement, { attributes: !0, attributeFilter: ["dir"] });
|
|
6852
|
-
const
|
|
6848
|
+
const Mt = (o) => class extends o {
|
|
6853
6849
|
static get properties() {
|
|
6854
6850
|
return {
|
|
6855
6851
|
/**
|
|
@@ -6875,14 +6871,14 @@ const It = (o) => class extends o {
|
|
|
6875
6871
|
}
|
|
6876
6872
|
/** @protected */
|
|
6877
6873
|
connectedCallback() {
|
|
6878
|
-
super.connectedCallback(), (!this.hasAttribute("dir") || this.__restoreSubscription) && (this.__subscribe(),
|
|
6874
|
+
super.connectedCallback(), (!this.hasAttribute("dir") || this.__restoreSubscription) && (this.__subscribe(), ci(this, ui(), null));
|
|
6879
6875
|
}
|
|
6880
6876
|
/** @protected */
|
|
6881
6877
|
attributeChangedCallback(e, i, s) {
|
|
6882
6878
|
if (super.attributeChangedCallback(e, i, s), e !== "dir")
|
|
6883
6879
|
return;
|
|
6884
|
-
const r =
|
|
6885
|
-
n || a ? (this.__subscribe(),
|
|
6880
|
+
const r = ui(), n = s === r && ue.indexOf(this) === -1, a = !s && i && ue.indexOf(this) === -1;
|
|
6881
|
+
n || a ? (this.__subscribe(), ci(this, r, s)) : s !== r && i === r && this.__unsubscribe();
|
|
6886
6882
|
}
|
|
6887
6883
|
/** @protected */
|
|
6888
6884
|
disconnectedCallback() {
|
|
@@ -7022,12 +7018,12 @@ const pl = P`
|
|
|
7022
7018
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7023
7019
|
*/
|
|
7024
7020
|
H("vaadin-input-container", pl, { moduleId: "vaadin-input-container-styles" });
|
|
7025
|
-
class fl extends hl(
|
|
7021
|
+
class fl extends hl(Se(Mt(be))) {
|
|
7026
7022
|
static get is() {
|
|
7027
7023
|
return "vaadin-input-container";
|
|
7028
7024
|
}
|
|
7029
7025
|
static get template() {
|
|
7030
|
-
return
|
|
7026
|
+
return Oe`
|
|
7031
7027
|
<slot name="prefix"></slot>
|
|
7032
7028
|
<slot></slot>
|
|
7033
7029
|
<slot name="suffix"></slot>
|
|
@@ -7105,29 +7101,29 @@ const ml = P`
|
|
|
7105
7101
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7106
7102
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7107
7103
|
*/
|
|
7108
|
-
let
|
|
7104
|
+
let zi = !1;
|
|
7109
7105
|
window.addEventListener(
|
|
7110
7106
|
"keydown",
|
|
7111
7107
|
() => {
|
|
7112
|
-
|
|
7108
|
+
zi = !0;
|
|
7113
7109
|
},
|
|
7114
7110
|
{ capture: !0 }
|
|
7115
7111
|
);
|
|
7116
7112
|
window.addEventListener(
|
|
7117
7113
|
"mousedown",
|
|
7118
7114
|
() => {
|
|
7119
|
-
|
|
7115
|
+
zi = !1;
|
|
7120
7116
|
},
|
|
7121
7117
|
{ capture: !0 }
|
|
7122
7118
|
);
|
|
7123
|
-
function
|
|
7119
|
+
function hi() {
|
|
7124
7120
|
let o = document.activeElement || document.body;
|
|
7125
7121
|
for (; o.shadowRoot && o.shadowRoot.activeElement; )
|
|
7126
7122
|
o = o.shadowRoot.activeElement;
|
|
7127
7123
|
return o;
|
|
7128
7124
|
}
|
|
7129
|
-
function
|
|
7130
|
-
return
|
|
7125
|
+
function Li() {
|
|
7126
|
+
return zi;
|
|
7131
7127
|
}
|
|
7132
7128
|
function _l(o) {
|
|
7133
7129
|
const t = o.style;
|
|
@@ -7146,11 +7142,11 @@ function yl(o, t) {
|
|
|
7146
7142
|
gl(o[0], t[0]) ? e.push(t.shift()) : e.push(o.shift());
|
|
7147
7143
|
return e.concat(o, t);
|
|
7148
7144
|
}
|
|
7149
|
-
function
|
|
7145
|
+
function pi(o) {
|
|
7150
7146
|
const t = o.length;
|
|
7151
7147
|
if (t < 2)
|
|
7152
7148
|
return o;
|
|
7153
|
-
const e = Math.ceil(t / 2), i =
|
|
7149
|
+
const e = Math.ceil(t / 2), i = pi(o.slice(0, e)), s = pi(o.slice(e));
|
|
7154
7150
|
return yl(i, s);
|
|
7155
7151
|
}
|
|
7156
7152
|
function Ws(o) {
|
|
@@ -7181,7 +7177,7 @@ function qs(o, t) {
|
|
|
7181
7177
|
}
|
|
7182
7178
|
function wl(o) {
|
|
7183
7179
|
const t = [];
|
|
7184
|
-
return qs(o, t) ?
|
|
7180
|
+
return qs(o, t) ? pi(t) : t;
|
|
7185
7181
|
}
|
|
7186
7182
|
/**
|
|
7187
7183
|
@license
|
|
@@ -7192,10 +7188,10 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
7192
7188
|
Code distributed by Google as part of the polymer project is also
|
|
7193
7189
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7194
7190
|
*/
|
|
7195
|
-
let
|
|
7191
|
+
let fi = !1, xl = [], Ks = [];
|
|
7196
7192
|
function Cl() {
|
|
7197
|
-
|
|
7198
|
-
|
|
7193
|
+
fi = !0, requestAnimationFrame(function() {
|
|
7194
|
+
fi = !1, Al(xl), setTimeout(function() {
|
|
7199
7195
|
Tl(Ks);
|
|
7200
7196
|
});
|
|
7201
7197
|
});
|
|
@@ -7219,19 +7215,19 @@ function Gs(o) {
|
|
|
7219
7215
|
}
|
|
7220
7216
|
}
|
|
7221
7217
|
function Js(o, t, e) {
|
|
7222
|
-
|
|
7218
|
+
fi || Cl(), Ks.push([o, t, e]);
|
|
7223
7219
|
}
|
|
7224
7220
|
/**
|
|
7225
7221
|
* @license
|
|
7226
7222
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7227
7223
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7228
7224
|
*/
|
|
7229
|
-
const
|
|
7230
|
-
|
|
7231
|
-
|
|
7232
|
-
|
|
7233
|
-
const Dl =
|
|
7234
|
-
|
|
7225
|
+
const It = (o) => o.test(navigator.userAgent), mi = (o) => o.test(navigator.platform), El = (o) => o.test(navigator.vendor);
|
|
7226
|
+
It(/Android/u);
|
|
7227
|
+
It(/Chrome/u) && El(/Google Inc/u);
|
|
7228
|
+
It(/Firefox/u);
|
|
7229
|
+
const Dl = mi(/^iPad/u) || mi(/^Mac/u) && navigator.maxTouchPoints > 1, kl = mi(/^iPhone/u), Xs = kl || Dl;
|
|
7230
|
+
It(/^((?!chrome|android).)*safari/iu);
|
|
7235
7231
|
const Sl = (() => {
|
|
7236
7232
|
try {
|
|
7237
7233
|
return document.createEvent("TouchEvent"), !0;
|
|
@@ -7244,23 +7240,23 @@ const Sl = (() => {
|
|
|
7244
7240
|
* Copyright (c) 2017 Anton Korzunov
|
|
7245
7241
|
* SPDX-License-Identifier: MIT
|
|
7246
7242
|
*/
|
|
7247
|
-
let
|
|
7248
|
-
const Io = (o) => o && o.nodeType === Node.ELEMENT_NODE,
|
|
7243
|
+
let Ie = /* @__PURE__ */ new WeakMap(), _t = /* @__PURE__ */ new WeakMap(), gt = {}, Yt = 0;
|
|
7244
|
+
const Io = (o) => o && o.nodeType === Node.ELEMENT_NODE, Wt = (...o) => {
|
|
7249
7245
|
console.error(`Error: ${o.join(" ")}. Skip setting aria-hidden.`);
|
|
7250
7246
|
}, Pl = (o, t) => Io(o) ? t.map((e) => {
|
|
7251
7247
|
if (!Io(e))
|
|
7252
|
-
return
|
|
7248
|
+
return Wt(e, "is not a valid element"), null;
|
|
7253
7249
|
let i = e;
|
|
7254
7250
|
for (; i && i !== o; ) {
|
|
7255
7251
|
if (o.contains(i))
|
|
7256
7252
|
return e;
|
|
7257
7253
|
i = i.getRootNode().host;
|
|
7258
7254
|
}
|
|
7259
|
-
return
|
|
7260
|
-
}).filter((e) => !!e) : (
|
|
7255
|
+
return Wt(e, "is not contained inside", o), null;
|
|
7256
|
+
}).filter((e) => !!e) : (Wt(o, "is not a valid element"), []), Ol = (o, t, e, i) => {
|
|
7261
7257
|
const s = Pl(t, Array.isArray(o) ? o : [o]);
|
|
7262
|
-
|
|
7263
|
-
const r =
|
|
7258
|
+
gt[e] || (gt[e] = /* @__PURE__ */ new WeakMap());
|
|
7259
|
+
const r = gt[e], n = [], a = /* @__PURE__ */ new Set(), l = new Set(s), d = (u) => {
|
|
7264
7260
|
if (!u || a.has(u))
|
|
7265
7261
|
return;
|
|
7266
7262
|
a.add(u);
|
|
@@ -7277,16 +7273,16 @@ const Io = (o) => o && o.nodeType === Node.ELEMENT_NODE, qt = (...o) => {
|
|
|
7277
7273
|
if (a.has(y))
|
|
7278
7274
|
c(y);
|
|
7279
7275
|
else {
|
|
7280
|
-
const E = y.getAttribute(i), D = E !== null && E !== "false", T = (
|
|
7281
|
-
|
|
7276
|
+
const E = y.getAttribute(i), D = E !== null && E !== "false", T = (Ie.get(y) || 0) + 1, k = (r.get(y) || 0) + 1;
|
|
7277
|
+
Ie.set(y, T), r.set(y, k), n.push(y), T === 1 && D && _t.set(y, !0), k === 1 && y.setAttribute(e, "true"), D || y.setAttribute(i, "true");
|
|
7282
7278
|
}
|
|
7283
7279
|
});
|
|
7284
7280
|
};
|
|
7285
|
-
return c(t), a.clear(),
|
|
7281
|
+
return c(t), a.clear(), Yt += 1, () => {
|
|
7286
7282
|
n.forEach((u) => {
|
|
7287
|
-
const h =
|
|
7288
|
-
|
|
7289
|
-
}),
|
|
7283
|
+
const h = Ie.get(u) - 1, p = r.get(u) - 1;
|
|
7284
|
+
Ie.set(u, h), r.set(u, p), h || (_t.has(u) ? _t.delete(u) : u.removeAttribute(i)), p || u.removeAttribute(e);
|
|
7285
|
+
}), Yt -= 1, Yt || (Ie = /* @__PURE__ */ new WeakMap(), Ie = /* @__PURE__ */ new WeakMap(), _t = /* @__PURE__ */ new WeakMap(), gt = {});
|
|
7290
7286
|
};
|
|
7291
7287
|
}, Zs = (o, t = document.body, e = "data-aria-hidden") => {
|
|
7292
7288
|
const i = Array.from(Array.isArray(o) ? o : [o]);
|
|
@@ -7337,7 +7333,7 @@ class Il {
|
|
|
7337
7333
|
* @param {Node | null | undefined} focusNode
|
|
7338
7334
|
*/
|
|
7339
7335
|
saveFocus(t) {
|
|
7340
|
-
this.focusNode = t ||
|
|
7336
|
+
this.focusNode = t || hi();
|
|
7341
7337
|
}
|
|
7342
7338
|
/**
|
|
7343
7339
|
* Restores focus to the target node that was saved previously with `saveFocus()`.
|
|
@@ -7347,7 +7343,7 @@ class Il {
|
|
|
7347
7343
|
if (!e)
|
|
7348
7344
|
return;
|
|
7349
7345
|
const i = t ? t.preventScroll : !1;
|
|
7350
|
-
|
|
7346
|
+
hi() === document.body ? setTimeout(() => e.focus({ preventScroll: i })) : e.focus({ preventScroll: i }), this.focusNode = null;
|
|
7351
7347
|
}
|
|
7352
7348
|
}
|
|
7353
7349
|
/**
|
|
@@ -7355,7 +7351,7 @@ class Il {
|
|
|
7355
7351
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7356
7352
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7357
7353
|
*/
|
|
7358
|
-
const
|
|
7354
|
+
const qt = [];
|
|
7359
7355
|
class Nl {
|
|
7360
7356
|
/**
|
|
7361
7357
|
* @param {HTMLElement} host
|
|
@@ -7405,14 +7401,14 @@ class Nl {
|
|
|
7405
7401
|
trapFocus(t) {
|
|
7406
7402
|
if (this.__trapNode = t, this.__focusableElements.length === 0)
|
|
7407
7403
|
throw this.__trapNode = null, new Error("The trap node should have at least one focusable descendant or be focusable itself.");
|
|
7408
|
-
|
|
7404
|
+
qt.push(this), this.__focusedElementIndex === -1 && this.__focusableElements[0].focus();
|
|
7409
7405
|
}
|
|
7410
7406
|
/**
|
|
7411
7407
|
* Deactivates the focus trap set with the `.trapFocus()` method
|
|
7412
7408
|
* so that it becomes possible to tab outside the trap node.
|
|
7413
7409
|
*/
|
|
7414
7410
|
releaseFocus() {
|
|
7415
|
-
this.__trapNode = null,
|
|
7411
|
+
this.__trapNode = null, qt.pop();
|
|
7416
7412
|
}
|
|
7417
7413
|
/**
|
|
7418
7414
|
* A `keydown` event handler that manages tabbing navigation when the trap is enabled.
|
|
@@ -7426,7 +7422,7 @@ class Nl {
|
|
|
7426
7422
|
* @private
|
|
7427
7423
|
*/
|
|
7428
7424
|
__onKeyDown(t) {
|
|
7429
|
-
if (this.__trapNode && this === Array.from(
|
|
7425
|
+
if (this.__trapNode && this === Array.from(qt).pop() && t.key === "Tab") {
|
|
7430
7426
|
t.preventDefault();
|
|
7431
7427
|
const e = t.shiftKey;
|
|
7432
7428
|
this.__focusNextElement(e);
|
|
@@ -7453,7 +7449,7 @@ class Nl {
|
|
|
7453
7449
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7454
7450
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7455
7451
|
*/
|
|
7456
|
-
const
|
|
7452
|
+
const je = U((o) => typeof o.prototype.addController == "function" ? o : class extends o {
|
|
7457
7453
|
constructor() {
|
|
7458
7454
|
super(), this.__controllers = /* @__PURE__ */ new Set();
|
|
7459
7455
|
}
|
|
@@ -7493,7 +7489,7 @@ const Ye = U((o) => typeof o.prototype.addController == "function" ? o : class e
|
|
|
7493
7489
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7494
7490
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7495
7491
|
*/
|
|
7496
|
-
const Fl = (o) => class extends
|
|
7492
|
+
const Fl = (o) => class extends je(o) {
|
|
7497
7493
|
static get properties() {
|
|
7498
7494
|
return {
|
|
7499
7495
|
/**
|
|
@@ -7537,7 +7533,7 @@ const Fl = (o) => class extends Ye(o) {
|
|
|
7537
7533
|
*/
|
|
7538
7534
|
_resetFocus() {
|
|
7539
7535
|
if (this.focusTrap && (this.__ariaModalController.close(), this.__focusTrapController.releaseFocus()), this.restoreFocusOnClose && this._shouldRestoreFocus()) {
|
|
7540
|
-
const e =
|
|
7536
|
+
const e = !Li();
|
|
7541
7537
|
this.__focusRestorationController.restoreFocus({ preventScroll: e });
|
|
7542
7538
|
}
|
|
7543
7539
|
}
|
|
@@ -7569,7 +7565,7 @@ const Fl = (o) => class extends Ye(o) {
|
|
|
7569
7565
|
* @return {boolean}
|
|
7570
7566
|
*/
|
|
7571
7567
|
_shouldRestoreFocus() {
|
|
7572
|
-
const e =
|
|
7568
|
+
const e = hi();
|
|
7573
7569
|
return e === document.body || this._deepContains(e);
|
|
7574
7570
|
}
|
|
7575
7571
|
/**
|
|
@@ -7595,7 +7591,7 @@ const Fl = (o) => class extends Ye(o) {
|
|
|
7595
7591
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7596
7592
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7597
7593
|
*/
|
|
7598
|
-
const Qs = () => Array.from(document.body.children).filter((o) => o instanceof HTMLElement && o._hasOverlayStackMixin && !o.hasAttribute("closing")).sort((o, t) => o.__zIndex - t.__zIndex || 0),
|
|
7594
|
+
const Qs = () => Array.from(document.body.children).filter((o) => o instanceof HTMLElement && o._hasOverlayStackMixin && !o.hasAttribute("closing")).sort((o, t) => o.__zIndex - t.__zIndex || 0), _i = () => Qs().filter((o) => o.$.overlay), zl = (o) => o === _i().pop(), Ll = (o) => class extends o {
|
|
7599
7595
|
constructor() {
|
|
7600
7596
|
super(), this._hasOverlayStackMixin = !0;
|
|
7601
7597
|
}
|
|
@@ -7618,14 +7614,14 @@ const Qs = () => Array.from(document.body.children).filter((o) => o instanceof H
|
|
|
7618
7614
|
}
|
|
7619
7615
|
/** @protected */
|
|
7620
7616
|
_enterModalState() {
|
|
7621
|
-
document.body.style.pointerEvents !== "none" && (this._previousDocumentPointerEvents = document.body.style.pointerEvents, document.body.style.pointerEvents = "none"),
|
|
7617
|
+
document.body.style.pointerEvents !== "none" && (this._previousDocumentPointerEvents = document.body.style.pointerEvents, document.body.style.pointerEvents = "none"), _i().forEach((e) => {
|
|
7622
7618
|
e !== this && (e.$.overlay.style.pointerEvents = "none");
|
|
7623
7619
|
});
|
|
7624
7620
|
}
|
|
7625
7621
|
/** @protected */
|
|
7626
7622
|
_exitModalState() {
|
|
7627
7623
|
this._previousDocumentPointerEvents !== void 0 && (document.body.style.pointerEvents = this._previousDocumentPointerEvents, delete this._previousDocumentPointerEvents);
|
|
7628
|
-
const e =
|
|
7624
|
+
const e = _i();
|
|
7629
7625
|
let i;
|
|
7630
7626
|
for (; (i = e.pop()) && !(i !== this && (i.$.overlay.style.removeProperty("pointer-events"), !i.modeless)); )
|
|
7631
7627
|
;
|
|
@@ -7921,23 +7917,23 @@ function Rl(o) {
|
|
|
7921
7917
|
}
|
|
7922
7918
|
return t;
|
|
7923
7919
|
}
|
|
7924
|
-
function
|
|
7920
|
+
function $i(o) {
|
|
7925
7921
|
return o ? new Set(o.split(" ")) : /* @__PURE__ */ new Set();
|
|
7926
7922
|
}
|
|
7927
|
-
function
|
|
7923
|
+
function Nt(o) {
|
|
7928
7924
|
return o ? [...o].join(" ") : "";
|
|
7929
7925
|
}
|
|
7930
7926
|
function er(o, t, e) {
|
|
7931
|
-
const i =
|
|
7932
|
-
i.add(e), o.setAttribute(t,
|
|
7927
|
+
const i = $i(o.getAttribute(t));
|
|
7928
|
+
i.add(e), o.setAttribute(t, Nt(i));
|
|
7933
7929
|
}
|
|
7934
7930
|
function Hl(o, t, e) {
|
|
7935
|
-
const i =
|
|
7931
|
+
const i = $i(o.getAttribute(t));
|
|
7936
7932
|
if (i.delete(e), i.size === 0) {
|
|
7937
7933
|
o.removeAttribute(t);
|
|
7938
7934
|
return;
|
|
7939
7935
|
}
|
|
7940
|
-
o.setAttribute(t,
|
|
7936
|
+
o.setAttribute(t, Nt(i));
|
|
7941
7937
|
}
|
|
7942
7938
|
function Bl(o) {
|
|
7943
7939
|
return o.nodeType === Node.TEXT_NODE && o.textContent.trim() === "";
|
|
@@ -7981,10 +7977,10 @@ function Vl(o, t) {
|
|
|
7981
7977
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7982
7978
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7983
7979
|
*/
|
|
7984
|
-
const
|
|
7980
|
+
const Kt = {
|
|
7985
7981
|
start: "top",
|
|
7986
7982
|
end: "bottom"
|
|
7987
|
-
},
|
|
7983
|
+
}, Gt = {
|
|
7988
7984
|
start: "left",
|
|
7989
7985
|
end: "right"
|
|
7990
7986
|
}, No = new ResizeObserver((o) => {
|
|
@@ -8136,14 +8132,14 @@ const Gt = {
|
|
|
8136
8132
|
e,
|
|
8137
8133
|
a,
|
|
8138
8134
|
this.noVerticalOverlap,
|
|
8139
|
-
|
|
8135
|
+
Kt,
|
|
8140
8136
|
this,
|
|
8141
8137
|
i
|
|
8142
8138
|
), d = this.__calculatePositionInOneDimension(
|
|
8143
8139
|
e,
|
|
8144
8140
|
a,
|
|
8145
8141
|
this.noHorizontalOverlap,
|
|
8146
|
-
|
|
8142
|
+
Gt,
|
|
8147
8143
|
this,
|
|
8148
8144
|
r
|
|
8149
8145
|
);
|
|
@@ -8160,7 +8156,7 @@ const Gt = {
|
|
|
8160
8156
|
this.__margins,
|
|
8161
8157
|
n,
|
|
8162
8158
|
this.noHorizontalOverlap,
|
|
8163
|
-
|
|
8159
|
+
Gt
|
|
8164
8160
|
);
|
|
8165
8161
|
}
|
|
8166
8162
|
__shouldAlignStartVertically(e) {
|
|
@@ -8174,7 +8170,7 @@ const Gt = {
|
|
|
8174
8170
|
this.__margins,
|
|
8175
8171
|
r,
|
|
8176
8172
|
this.noVerticalOverlap,
|
|
8177
|
-
|
|
8173
|
+
Kt
|
|
8178
8174
|
);
|
|
8179
8175
|
}
|
|
8180
8176
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
@@ -8191,7 +8187,7 @@ const Gt = {
|
|
|
8191
8187
|
__adjustBottomProperty(e, i, s) {
|
|
8192
8188
|
let r;
|
|
8193
8189
|
if (e === i.end) {
|
|
8194
|
-
if (i.end ===
|
|
8190
|
+
if (i.end === Kt.end) {
|
|
8195
8191
|
const n = Math.min(window.innerHeight, document.documentElement.clientHeight);
|
|
8196
8192
|
if (s > n && this.__oldViewportHeight) {
|
|
8197
8193
|
const a = this.__oldViewportHeight - n;
|
|
@@ -8199,7 +8195,7 @@ const Gt = {
|
|
|
8199
8195
|
}
|
|
8200
8196
|
this.__oldViewportHeight = n;
|
|
8201
8197
|
}
|
|
8202
|
-
if (i.end ===
|
|
8198
|
+
if (i.end === Gt.end) {
|
|
8203
8199
|
const n = Math.min(window.innerWidth, document.documentElement.clientWidth);
|
|
8204
8200
|
if (s > n && this.__oldViewportWidth) {
|
|
8205
8201
|
const a = this.__oldViewportWidth - n;
|
|
@@ -8277,12 +8273,12 @@ const Yl = P`
|
|
|
8277
8273
|
H("vaadin-date-picker-overlay", [ml, Yl], {
|
|
8278
8274
|
moduleId: "vaadin-date-picker-overlay-styles"
|
|
8279
8275
|
});
|
|
8280
|
-
class Wl extends jl(
|
|
8276
|
+
class Wl extends jl(Mt(Se(be))) {
|
|
8281
8277
|
static get is() {
|
|
8282
8278
|
return "vaadin-date-picker-overlay";
|
|
8283
8279
|
}
|
|
8284
8280
|
static get template() {
|
|
8285
|
-
return
|
|
8281
|
+
return Oe`
|
|
8286
8282
|
<div id="backdrop" part="backdrop" hidden$="[[!withBackdrop]]"></div>
|
|
8287
8283
|
<div part="overlay" id="overlay">
|
|
8288
8284
|
<div part="content" id="content">
|
|
@@ -8293,7 +8289,7 @@ class Wl extends jl(It(Pe(be))) {
|
|
|
8293
8289
|
}
|
|
8294
8290
|
}
|
|
8295
8291
|
le(Wl);
|
|
8296
|
-
const ql = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i,
|
|
8292
|
+
const ql = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i, wt = window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients;
|
|
8297
8293
|
function Kl() {
|
|
8298
8294
|
function o() {
|
|
8299
8295
|
return !0;
|
|
@@ -8302,7 +8298,7 @@ function Kl() {
|
|
|
8302
8298
|
}
|
|
8303
8299
|
function Gl() {
|
|
8304
8300
|
try {
|
|
8305
|
-
return Jl() ? !0 : Xl() ?
|
|
8301
|
+
return Jl() ? !0 : Xl() ? wt ? !Zl() : !Kl() : !1;
|
|
8306
8302
|
} catch (o) {
|
|
8307
8303
|
return !1;
|
|
8308
8304
|
}
|
|
@@ -8314,7 +8310,7 @@ function Xl() {
|
|
|
8314
8310
|
return ["localhost", "127.0.0.1"].indexOf(window.location.hostname) >= 0;
|
|
8315
8311
|
}
|
|
8316
8312
|
function Zl() {
|
|
8317
|
-
return !!(
|
|
8313
|
+
return !!(wt && Object.keys(wt).map((t) => wt[t]).filter((t) => t.productionMode).length > 0);
|
|
8318
8314
|
}
|
|
8319
8315
|
function tr(o, t) {
|
|
8320
8316
|
if (typeof o != "function")
|
|
@@ -8829,13 +8825,13 @@ const ed = function() {
|
|
|
8829
8825
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
8830
8826
|
*/
|
|
8831
8827
|
let zo = 0, ir = 0;
|
|
8832
|
-
const
|
|
8833
|
-
let
|
|
8828
|
+
const Le = [];
|
|
8829
|
+
let gi = !1;
|
|
8834
8830
|
function td() {
|
|
8835
|
-
|
|
8836
|
-
const o =
|
|
8831
|
+
gi = !1;
|
|
8832
|
+
const o = Le.length;
|
|
8837
8833
|
for (let t = 0; t < o; t++) {
|
|
8838
|
-
const e =
|
|
8834
|
+
const e = Le[t];
|
|
8839
8835
|
if (e)
|
|
8840
8836
|
try {
|
|
8841
8837
|
e();
|
|
@@ -8845,9 +8841,9 @@ function td() {
|
|
|
8845
8841
|
});
|
|
8846
8842
|
}
|
|
8847
8843
|
}
|
|
8848
|
-
|
|
8844
|
+
Le.splice(0, o), ir += o;
|
|
8849
8845
|
}
|
|
8850
|
-
const
|
|
8846
|
+
const Dt = {
|
|
8851
8847
|
/**
|
|
8852
8848
|
* Returns a sub-module with the async interface providing the provided
|
|
8853
8849
|
* delay.
|
|
@@ -8938,7 +8934,7 @@ const kt = {
|
|
|
8938
8934
|
* @return {number} Handle used for canceling task
|
|
8939
8935
|
*/
|
|
8940
8936
|
run(o) {
|
|
8941
|
-
|
|
8937
|
+
gi || (gi = !0, queueMicrotask(() => td())), Le.push(o);
|
|
8942
8938
|
const t = zo;
|
|
8943
8939
|
return zo += 1, t;
|
|
8944
8940
|
},
|
|
@@ -8952,9 +8948,9 @@ const kt = {
|
|
|
8952
8948
|
cancel(o) {
|
|
8953
8949
|
const t = o - ir;
|
|
8954
8950
|
if (t >= 0) {
|
|
8955
|
-
if (
|
|
8951
|
+
if (!Le[t])
|
|
8956
8952
|
throw new Error(`invalid async handle: ${o}`);
|
|
8957
|
-
|
|
8953
|
+
Le[t] = null;
|
|
8958
8954
|
}
|
|
8959
8955
|
}
|
|
8960
8956
|
};
|
|
@@ -8967,8 +8963,8 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
8967
8963
|
Code distributed by Google as part of the polymer project is also
|
|
8968
8964
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
8969
8965
|
*/
|
|
8970
|
-
const
|
|
8971
|
-
let
|
|
8966
|
+
const yi = /* @__PURE__ */ new Set();
|
|
8967
|
+
let Be = class vi {
|
|
8972
8968
|
/**
|
|
8973
8969
|
* Creates a debouncer if no debouncer is passed as a parameter
|
|
8974
8970
|
* or it cancels an active debouncer otherwise. The following
|
|
@@ -9004,7 +9000,7 @@ let Ve = class bi {
|
|
|
9004
9000
|
* @return {!Debouncer} Returns a debouncer object.
|
|
9005
9001
|
*/
|
|
9006
9002
|
static debounce(t, e, i) {
|
|
9007
|
-
return t instanceof
|
|
9003
|
+
return t instanceof vi ? t._cancelAsync() : t = new vi(), t.setConfig(e, i), t;
|
|
9008
9004
|
}
|
|
9009
9005
|
constructor() {
|
|
9010
9006
|
this._asyncModule = null, this._callback = null, this._timer = null;
|
|
@@ -9020,7 +9016,7 @@ let Ve = class bi {
|
|
|
9020
9016
|
*/
|
|
9021
9017
|
setConfig(t, e) {
|
|
9022
9018
|
this._asyncModule = t, this._callback = e, this._timer = this._asyncModule.run(() => {
|
|
9023
|
-
this._timer = null,
|
|
9019
|
+
this._timer = null, yi.delete(this), this._callback();
|
|
9024
9020
|
});
|
|
9025
9021
|
}
|
|
9026
9022
|
/**
|
|
@@ -9029,7 +9025,7 @@ let Ve = class bi {
|
|
|
9029
9025
|
* @return {void}
|
|
9030
9026
|
*/
|
|
9031
9027
|
cancel() {
|
|
9032
|
-
this.isActive() && (this._cancelAsync(),
|
|
9028
|
+
this.isActive() && (this._cancelAsync(), yi.delete(this));
|
|
9033
9029
|
}
|
|
9034
9030
|
/**
|
|
9035
9031
|
* Cancels a debouncer's async callback.
|
|
@@ -9060,7 +9056,7 @@ let Ve = class bi {
|
|
|
9060
9056
|
}
|
|
9061
9057
|
};
|
|
9062
9058
|
function rd(o) {
|
|
9063
|
-
|
|
9059
|
+
yi.add(o);
|
|
9064
9060
|
}
|
|
9065
9061
|
/**
|
|
9066
9062
|
* @license
|
|
@@ -9073,15 +9069,15 @@ window.Vaadin.developmentModeCallback || (window.Vaadin.developmentModeCallback
|
|
|
9073
9069
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"] = function() {
|
|
9074
9070
|
ed();
|
|
9075
9071
|
};
|
|
9076
|
-
let
|
|
9077
|
-
const Lo = /* @__PURE__ */ new Set(), or = (o) => class extends
|
|
9072
|
+
let Jt;
|
|
9073
|
+
const Lo = /* @__PURE__ */ new Set(), or = (o) => class extends Mt(o) {
|
|
9078
9074
|
/** @protected */
|
|
9079
9075
|
static finalize() {
|
|
9080
9076
|
super.finalize();
|
|
9081
9077
|
const { is: e } = this;
|
|
9082
|
-
e && !Lo.has(e) && (window.Vaadin.registrations.push(this), Lo.add(e), window.Vaadin.developmentModeCallback && (
|
|
9078
|
+
e && !Lo.has(e) && (window.Vaadin.registrations.push(this), Lo.add(e), window.Vaadin.developmentModeCallback && (Jt = Be.debounce(Jt, od, () => {
|
|
9083
9079
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]();
|
|
9084
|
-
}), rd(
|
|
9080
|
+
}), rd(Jt)));
|
|
9085
9081
|
}
|
|
9086
9082
|
constructor() {
|
|
9087
9083
|
super(), document.doctype === null && console.warn(
|
|
@@ -9454,7 +9450,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
9454
9450
|
Code distributed by Google as part of the polymer project is also
|
|
9455
9451
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
9456
9452
|
*/
|
|
9457
|
-
const cd = (o) => o,
|
|
9453
|
+
const cd = !1, ud = (o) => o, Ri = typeof document.head.style.touchAction == "string", bi = "__polymerGestures", Xt = "__polymerGesturesHandled", wi = "__polymerGesturesTouchAction", $o = 25, Ro = 5, hd = 2, pd = ["mousedown", "mousemove", "mouseup", "click"], fd = [0, 1, 4, 2], md = function() {
|
|
9458
9454
|
try {
|
|
9459
9455
|
return new MouseEvent("test", { buttons: 1 }).buttons === 1;
|
|
9460
9456
|
} catch (o) {
|
|
@@ -9462,15 +9458,15 @@ const cd = (o) => o, nr = typeof document.head.style.touchAction == "string", wi
|
|
|
9462
9458
|
}
|
|
9463
9459
|
}();
|
|
9464
9460
|
function Hi(o) {
|
|
9465
|
-
return
|
|
9461
|
+
return pd.indexOf(o) > -1;
|
|
9466
9462
|
}
|
|
9467
|
-
let
|
|
9463
|
+
let nr = !1;
|
|
9468
9464
|
(function() {
|
|
9469
9465
|
try {
|
|
9470
9466
|
const o = Object.defineProperty({}, "passive", {
|
|
9471
9467
|
// eslint-disable-next-line getter-return
|
|
9472
9468
|
get() {
|
|
9473
|
-
|
|
9469
|
+
nr = !0;
|
|
9474
9470
|
}
|
|
9475
9471
|
});
|
|
9476
9472
|
window.addEventListener("test", null, o), window.removeEventListener("test", null, o);
|
|
@@ -9478,7 +9474,8 @@ let md = !1;
|
|
|
9478
9474
|
}
|
|
9479
9475
|
})();
|
|
9480
9476
|
function _d(o) {
|
|
9481
|
-
Hi(o)
|
|
9477
|
+
if (!(Hi(o) || o === "touchend") && Ri && nr && cd)
|
|
9478
|
+
return { passive: !0 };
|
|
9482
9479
|
}
|
|
9483
9480
|
const gd = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), yd = {
|
|
9484
9481
|
button: !0,
|
|
@@ -9491,13 +9488,13 @@ const gd = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), yd = {
|
|
|
9491
9488
|
select: !0,
|
|
9492
9489
|
textarea: !0
|
|
9493
9490
|
};
|
|
9494
|
-
function
|
|
9491
|
+
function De(o) {
|
|
9495
9492
|
const t = o.type;
|
|
9496
9493
|
if (!Hi(t))
|
|
9497
9494
|
return !1;
|
|
9498
9495
|
if (t === "mousemove") {
|
|
9499
9496
|
let i = o.buttons === void 0 ? 1 : o.buttons;
|
|
9500
|
-
return o instanceof window.MouseEvent && !
|
|
9497
|
+
return o instanceof window.MouseEvent && !md && (i = fd[o.which] || 0), !!(i & 1);
|
|
9501
9498
|
}
|
|
9502
9499
|
return (o.button === void 0 ? 0 : o.button) === 0;
|
|
9503
9500
|
}
|
|
@@ -9518,6 +9515,10 @@ function vd(o) {
|
|
|
9518
9515
|
return !1;
|
|
9519
9516
|
}
|
|
9520
9517
|
const he = {
|
|
9518
|
+
mouse: {
|
|
9519
|
+
target: null,
|
|
9520
|
+
mouseIgnoreJob: null
|
|
9521
|
+
},
|
|
9521
9522
|
touch: {
|
|
9522
9523
|
x: 0,
|
|
9523
9524
|
y: 0,
|
|
@@ -9529,8 +9530,8 @@ function bd(o) {
|
|
|
9529
9530
|
let t = "auto";
|
|
9530
9531
|
const e = lr(o);
|
|
9531
9532
|
for (let i = 0, s; i < e.length; i++)
|
|
9532
|
-
if (s = e[i], s[
|
|
9533
|
-
t = s[
|
|
9533
|
+
if (s = e[i], s[wi]) {
|
|
9534
|
+
t = s[wi];
|
|
9534
9535
|
break;
|
|
9535
9536
|
}
|
|
9536
9537
|
return t;
|
|
@@ -9538,7 +9539,7 @@ function bd(o) {
|
|
|
9538
9539
|
function ar(o, t, e) {
|
|
9539
9540
|
o.movefn = t, o.upfn = e, document.addEventListener("mousemove", t), document.addEventListener("mouseup", e);
|
|
9540
9541
|
}
|
|
9541
|
-
function
|
|
9542
|
+
function $e(o) {
|
|
9542
9543
|
document.removeEventListener("mousemove", o.movefn), document.removeEventListener("mouseup", o.upfn), o.movefn = null, o.upfn = null;
|
|
9543
9544
|
}
|
|
9544
9545
|
const lr = window.ShadyDOM && window.ShadyDOM.noPatch ? window.ShadyDOM.composedPath : (o) => o.composedPath && o.composedPath() || [], Bi = {}, Ee = [];
|
|
@@ -9560,19 +9561,19 @@ function ve(o) {
|
|
|
9560
9561
|
return t.length > 0 ? t[0] : o.target;
|
|
9561
9562
|
}
|
|
9562
9563
|
function xd(o) {
|
|
9563
|
-
const t = o.type, i = o.currentTarget[
|
|
9564
|
+
const t = o.type, i = o.currentTarget[bi];
|
|
9564
9565
|
if (!i)
|
|
9565
9566
|
return;
|
|
9566
9567
|
const s = i[t];
|
|
9567
9568
|
if (!s)
|
|
9568
9569
|
return;
|
|
9569
|
-
if (!o[
|
|
9570
|
+
if (!o[Xt] && (o[Xt] = {}, t.startsWith("touch"))) {
|
|
9570
9571
|
const n = o.changedTouches[0];
|
|
9571
9572
|
if (t === "touchstart" && o.touches.length === 1 && (he.touch.id = n.identifier), he.touch.id !== n.identifier)
|
|
9572
9573
|
return;
|
|
9573
|
-
|
|
9574
|
+
Ri || (t === "touchstart" || t === "touchmove") && Cd(o);
|
|
9574
9575
|
}
|
|
9575
|
-
const r = o[
|
|
9576
|
+
const r = o[Xt];
|
|
9576
9577
|
if (!r.skip) {
|
|
9577
9578
|
for (let n = 0, a; n < Ee.length; n++)
|
|
9578
9579
|
a = Ee[n], s[a.name] && !r[a.name] && a.flow && a.flow.start.indexOf(o.type) > -1 && a.reset && a.reset();
|
|
@@ -9591,7 +9592,7 @@ function Cd(o) {
|
|
|
9591
9592
|
const i = bd(o);
|
|
9592
9593
|
let s = !1;
|
|
9593
9594
|
const r = Math.abs(he.touch.x - t.clientX), n = Math.abs(he.touch.y - t.clientY);
|
|
9594
|
-
o.cancelable && (i === "none" ? s = !0 : i === "pan-x" ? s = n > r : i === "pan-y" && (s = r > n)), s ? o.preventDefault() :
|
|
9595
|
+
o.cancelable && (i === "none" ? s = !0 : i === "pan-x" ? s = n > r : i === "pan-y" && (s = r > n)), s ? o.preventDefault() : kt("track");
|
|
9595
9596
|
}
|
|
9596
9597
|
}
|
|
9597
9598
|
function ae(o, t, e) {
|
|
@@ -9599,8 +9600,8 @@ function ae(o, t, e) {
|
|
|
9599
9600
|
}
|
|
9600
9601
|
function Ad(o, t, e) {
|
|
9601
9602
|
const i = Bi[t], s = i.deps, r = i.name;
|
|
9602
|
-
let n = o[
|
|
9603
|
-
n || (o[
|
|
9603
|
+
let n = o[bi];
|
|
9604
|
+
n || (o[bi] = n = {});
|
|
9604
9605
|
for (let a = 0, l, d; a < s.length; a++)
|
|
9605
9606
|
l = s[a], !(gd && Hi(l) && l !== "click") && (d = n[l], d || (n[l] = d = { _count: 0 }), d._count === 0 && o.addEventListener(l, xd, _d(l)), d[r] = (d[r] || 0) + 1, d._count = (d._count || 0) + 1);
|
|
9606
9607
|
o.addEventListener(t, e), i.touchAction && dr(o, i.touchAction);
|
|
@@ -9620,13 +9621,13 @@ function Td(o) {
|
|
|
9620
9621
|
return null;
|
|
9621
9622
|
}
|
|
9622
9623
|
function dr(o, t) {
|
|
9623
|
-
|
|
9624
|
+
Ri && o instanceof HTMLElement && sd.run(() => {
|
|
9624
9625
|
o.style.touchAction = t;
|
|
9625
|
-
}), o[
|
|
9626
|
+
}), o[wi] = t;
|
|
9626
9627
|
}
|
|
9627
9628
|
function Ui(o, t, e) {
|
|
9628
9629
|
const i = new Event(t, { bubbles: !0, cancelable: !0, composed: !0 });
|
|
9629
|
-
if (i.detail = e,
|
|
9630
|
+
if (i.detail = e, ud(
|
|
9630
9631
|
/** @type {!Node} */
|
|
9631
9632
|
o
|
|
9632
9633
|
).dispatchEvent(i), i.defaultPrevented) {
|
|
@@ -9634,7 +9635,7 @@ function Ui(o, t, e) {
|
|
|
9634
9635
|
s && s.preventDefault && s.preventDefault();
|
|
9635
9636
|
}
|
|
9636
9637
|
}
|
|
9637
|
-
function
|
|
9638
|
+
function kt(o) {
|
|
9638
9639
|
const t = Td(o);
|
|
9639
9640
|
t.info && (t.info.prevent = !0);
|
|
9640
9641
|
}
|
|
@@ -9655,7 +9656,7 @@ Vi({
|
|
|
9655
9656
|
* @return {void}
|
|
9656
9657
|
*/
|
|
9657
9658
|
reset() {
|
|
9658
|
-
|
|
9659
|
+
$e(this.info);
|
|
9659
9660
|
},
|
|
9660
9661
|
/**
|
|
9661
9662
|
* @this {GestureRecognizer}
|
|
@@ -9663,14 +9664,14 @@ Vi({
|
|
|
9663
9664
|
* @return {void}
|
|
9664
9665
|
*/
|
|
9665
9666
|
mousedown(o) {
|
|
9666
|
-
if (!
|
|
9667
|
+
if (!De(o))
|
|
9667
9668
|
return;
|
|
9668
9669
|
const t = ve(o), e = this, i = (r) => {
|
|
9669
|
-
|
|
9670
|
+
De(r) || (Ge("up", t, r), $e(e.info));
|
|
9670
9671
|
}, s = (r) => {
|
|
9671
|
-
|
|
9672
|
+
De(r) && Ge("up", t, r), $e(e.info);
|
|
9672
9673
|
};
|
|
9673
|
-
ar(this.info, i, s),
|
|
9674
|
+
ar(this.info, i, s), Ge("down", t, o);
|
|
9674
9675
|
},
|
|
9675
9676
|
/**
|
|
9676
9677
|
* @this {GestureRecognizer}
|
|
@@ -9678,7 +9679,7 @@ Vi({
|
|
|
9678
9679
|
* @return {void}
|
|
9679
9680
|
*/
|
|
9680
9681
|
touchstart(o) {
|
|
9681
|
-
|
|
9682
|
+
Ge("down", ve(o), o.changedTouches[0], o);
|
|
9682
9683
|
},
|
|
9683
9684
|
/**
|
|
9684
9685
|
* @this {GestureRecognizer}
|
|
@@ -9686,17 +9687,17 @@ Vi({
|
|
|
9686
9687
|
* @return {void}
|
|
9687
9688
|
*/
|
|
9688
9689
|
touchend(o) {
|
|
9689
|
-
|
|
9690
|
+
Ge("up", ve(o), o.changedTouches[0], o);
|
|
9690
9691
|
}
|
|
9691
9692
|
});
|
|
9692
|
-
function
|
|
9693
|
+
function Ge(o, t, e, i) {
|
|
9693
9694
|
t && Ui(t, o, {
|
|
9694
9695
|
x: e.clientX,
|
|
9695
9696
|
y: e.clientY,
|
|
9696
9697
|
sourceEvent: e,
|
|
9697
9698
|
preventer: i,
|
|
9698
9699
|
prevent(s) {
|
|
9699
|
-
return
|
|
9700
|
+
return kt(s);
|
|
9700
9701
|
}
|
|
9701
9702
|
});
|
|
9702
9703
|
}
|
|
@@ -9717,7 +9718,7 @@ Vi({
|
|
|
9717
9718
|
moves: [],
|
|
9718
9719
|
/** @this {GestureInfo} */
|
|
9719
9720
|
addMove(o) {
|
|
9720
|
-
this.moves.length >
|
|
9721
|
+
this.moves.length > hd && this.moves.shift(), this.moves.push(o);
|
|
9721
9722
|
},
|
|
9722
9723
|
movefn: null,
|
|
9723
9724
|
upfn: null,
|
|
@@ -9728,7 +9729,7 @@ Vi({
|
|
|
9728
9729
|
* @return {void}
|
|
9729
9730
|
*/
|
|
9730
9731
|
reset() {
|
|
9731
|
-
this.info.state = "start", this.info.started = !1, this.info.moves = [], this.info.x = 0, this.info.y = 0, this.info.prevent = !1,
|
|
9732
|
+
this.info.state = "start", this.info.started = !1, this.info.moves = [], this.info.x = 0, this.info.y = 0, this.info.prevent = !1, $e(this.info);
|
|
9732
9733
|
},
|
|
9733
9734
|
/**
|
|
9734
9735
|
* @this {GestureRecognizer}
|
|
@@ -9736,13 +9737,13 @@ Vi({
|
|
|
9736
9737
|
* @return {void}
|
|
9737
9738
|
*/
|
|
9738
9739
|
mousedown(o) {
|
|
9739
|
-
if (!
|
|
9740
|
+
if (!De(o))
|
|
9740
9741
|
return;
|
|
9741
9742
|
const t = ve(o), e = this, i = (r) => {
|
|
9742
9743
|
const n = r.clientX, a = r.clientY;
|
|
9743
|
-
Ho(e.info, n, a) && (e.info.state = e.info.started ? r.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" &&
|
|
9744
|
+
Ho(e.info, n, a) && (e.info.state = e.info.started ? r.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" && kt("tap"), e.info.addMove({ x: n, y: a }), De(r) || (e.info.state = "end", $e(e.info)), t && Zt(e.info, t, r), e.info.started = !0);
|
|
9744
9745
|
}, s = (r) => {
|
|
9745
|
-
e.info.started && i(r),
|
|
9746
|
+
e.info.started && i(r), $e(e.info);
|
|
9746
9747
|
};
|
|
9747
9748
|
ar(this.info, i, s), this.info.x = o.clientX, this.info.y = o.clientY;
|
|
9748
9749
|
},
|
|
@@ -9762,7 +9763,7 @@ Vi({
|
|
|
9762
9763
|
*/
|
|
9763
9764
|
touchmove(o) {
|
|
9764
9765
|
const t = ve(o), e = o.changedTouches[0], i = e.clientX, s = e.clientY;
|
|
9765
|
-
Ho(this.info, i, s) && (this.info.state === "start" &&
|
|
9766
|
+
Ho(this.info, i, s) && (this.info.state === "start" && kt("tap"), this.info.addMove({ x: i, y: s }), Zt(this.info, t, e), this.info.state = "track", this.info.started = !0);
|
|
9766
9767
|
},
|
|
9767
9768
|
/**
|
|
9768
9769
|
* @this {GestureRecognizer}
|
|
@@ -9771,7 +9772,7 @@ Vi({
|
|
|
9771
9772
|
*/
|
|
9772
9773
|
touchend(o) {
|
|
9773
9774
|
const t = ve(o), e = o.changedTouches[0];
|
|
9774
|
-
this.info.started && (this.info.state = "end", this.info.addMove({ x: e.clientX, y: e.clientY }),
|
|
9775
|
+
this.info.started && (this.info.state = "end", this.info.addMove({ x: e.clientX, y: e.clientY }), Zt(this.info, t, e));
|
|
9775
9776
|
}
|
|
9776
9777
|
});
|
|
9777
9778
|
function Ho(o, t, e) {
|
|
@@ -9782,7 +9783,7 @@ function Ho(o, t, e) {
|
|
|
9782
9783
|
const i = Math.abs(o.x - t), s = Math.abs(o.y - e);
|
|
9783
9784
|
return i >= Ro || s >= Ro;
|
|
9784
9785
|
}
|
|
9785
|
-
function
|
|
9786
|
+
function Zt(o, t, e) {
|
|
9786
9787
|
if (!t)
|
|
9787
9788
|
return;
|
|
9788
9789
|
const i = o.moves[o.moves.length - 2], s = o.moves[o.moves.length - 1], r = s.x - o.x, n = s.y - o.y;
|
|
@@ -9827,7 +9828,7 @@ Vi({
|
|
|
9827
9828
|
* @return {void}
|
|
9828
9829
|
*/
|
|
9829
9830
|
mousedown(o) {
|
|
9830
|
-
|
|
9831
|
+
De(o) && (this.info.x = o.clientX, this.info.y = o.clientY);
|
|
9831
9832
|
},
|
|
9832
9833
|
/**
|
|
9833
9834
|
* @this {GestureRecognizer}
|
|
@@ -9835,7 +9836,7 @@ Vi({
|
|
|
9835
9836
|
* @return {void}
|
|
9836
9837
|
*/
|
|
9837
9838
|
click(o) {
|
|
9838
|
-
|
|
9839
|
+
De(o) && Bo(this.info, o);
|
|
9839
9840
|
},
|
|
9840
9841
|
/**
|
|
9841
9842
|
* @this {GestureRecognizer}
|
|
@@ -9917,7 +9918,7 @@ const cr = U(
|
|
|
9917
9918
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9918
9919
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9919
9920
|
*/
|
|
9920
|
-
const
|
|
9921
|
+
const Ft = U(
|
|
9921
9922
|
(o) => class extends o {
|
|
9922
9923
|
/** @protected */
|
|
9923
9924
|
ready() {
|
|
@@ -9979,7 +9980,7 @@ const zt = U(
|
|
|
9979
9980
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9980
9981
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9981
9982
|
*/
|
|
9982
|
-
const Ed = (o) => class extends cr(
|
|
9983
|
+
const Ed = (o) => class extends cr(Ft(o)) {
|
|
9983
9984
|
/**
|
|
9984
9985
|
* An array of activation keys.
|
|
9985
9986
|
*
|
|
@@ -10049,7 +10050,7 @@ const ji = U(
|
|
|
10049
10050
|
* @return {boolean}
|
|
10050
10051
|
*/
|
|
10051
10052
|
get _keyboardActive() {
|
|
10052
|
-
return
|
|
10053
|
+
return Li();
|
|
10053
10054
|
}
|
|
10054
10055
|
/** @protected */
|
|
10055
10056
|
ready() {
|
|
@@ -10206,12 +10207,12 @@ const Dd = (o) => class extends Ed(ur(ji(o))) {
|
|
|
10206
10207
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10207
10208
|
*/
|
|
10208
10209
|
H("vaadin-button", ld, { moduleId: "vaadin-button-styles" });
|
|
10209
|
-
class kd extends Dd(or(
|
|
10210
|
+
class kd extends Dd(or(Se(je(be)))) {
|
|
10210
10211
|
static get is() {
|
|
10211
10212
|
return "vaadin-button";
|
|
10212
10213
|
}
|
|
10213
10214
|
static get template() {
|
|
10214
|
-
return dd(
|
|
10215
|
+
return dd(Oe);
|
|
10215
10216
|
}
|
|
10216
10217
|
/** @protected */
|
|
10217
10218
|
ready() {
|
|
@@ -10232,11 +10233,11 @@ function Sd(o) {
|
|
|
10232
10233
|
const r = i.getTime() - s.getTime(), n = Math.round(r / (24 * 3600 * 1e3));
|
|
10233
10234
|
return Math.floor(n / 7 + 1);
|
|
10234
10235
|
}
|
|
10235
|
-
function
|
|
10236
|
+
function xi(o) {
|
|
10236
10237
|
const t = new Date(o);
|
|
10237
10238
|
return t.setHours(0, 0, 0, 0), t;
|
|
10238
10239
|
}
|
|
10239
|
-
function fe(o, t, e =
|
|
10240
|
+
function fe(o, t, e = xi) {
|
|
10240
10241
|
return o instanceof Date && t instanceof Date && e(o).getTime() === e(t).getTime();
|
|
10241
10242
|
}
|
|
10242
10243
|
function Yi(o) {
|
|
@@ -10246,7 +10247,7 @@ function Yi(o) {
|
|
|
10246
10247
|
year: o.getFullYear()
|
|
10247
10248
|
};
|
|
10248
10249
|
}
|
|
10249
|
-
function
|
|
10250
|
+
function Ve(o, t, e, i) {
|
|
10250
10251
|
let s = !1;
|
|
10251
10252
|
if (typeof i == "function" && o) {
|
|
10252
10253
|
const r = Yi(o);
|
|
@@ -10276,7 +10277,7 @@ function Pd(o, t, e = 0, i = 1) {
|
|
|
10276
10277
|
let s = t + Math.floor(o.getFullYear() / 100) * 100;
|
|
10277
10278
|
return o < new Date(s - 50, e, i) ? s -= 100 : o > new Date(s + 50, e, i) && (s += 100), s;
|
|
10278
10279
|
}
|
|
10279
|
-
function
|
|
10280
|
+
function Je(o) {
|
|
10280
10281
|
const t = /^([-+]\d{1}|\d{2,4}|[-+]\d{6})-(\d{1,2})-(\d{1,2})$/u.exec(o);
|
|
10281
10282
|
if (!t)
|
|
10282
10283
|
return;
|
|
@@ -10306,7 +10307,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
10306
10307
|
Code distributed by Google as part of the polymer project is also
|
|
10307
10308
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10308
10309
|
*/
|
|
10309
|
-
class
|
|
10310
|
+
class St {
|
|
10310
10311
|
constructor() {
|
|
10311
10312
|
this._asyncModule = null, this._callback = null, this._timer = null;
|
|
10312
10313
|
}
|
|
@@ -10321,7 +10322,7 @@ class Pt {
|
|
|
10321
10322
|
*/
|
|
10322
10323
|
setConfig(t, e) {
|
|
10323
10324
|
this._asyncModule = t, this._callback = e, this._timer = this._asyncModule.run(() => {
|
|
10324
|
-
this._timer = null,
|
|
10325
|
+
this._timer = null, ct.delete(this), this._callback();
|
|
10325
10326
|
});
|
|
10326
10327
|
}
|
|
10327
10328
|
/**
|
|
@@ -10330,7 +10331,7 @@ class Pt {
|
|
|
10330
10331
|
* @return {void}
|
|
10331
10332
|
*/
|
|
10332
10333
|
cancel() {
|
|
10333
|
-
this.isActive() && (this._cancelAsync(),
|
|
10334
|
+
this.isActive() && (this._cancelAsync(), ct.delete(this));
|
|
10334
10335
|
}
|
|
10335
10336
|
/**
|
|
10336
10337
|
* Cancels a debouncer's async callback.
|
|
@@ -10394,15 +10395,15 @@ class Pt {
|
|
|
10394
10395
|
* @return {!Debouncer} Returns a debouncer object.
|
|
10395
10396
|
*/
|
|
10396
10397
|
static debounce(t, e, i) {
|
|
10397
|
-
return t instanceof
|
|
10398
|
+
return t instanceof St ? t._cancelAsync() : t = new St(), t.setConfig(e, i), t;
|
|
10398
10399
|
}
|
|
10399
10400
|
}
|
|
10400
|
-
let
|
|
10401
|
+
let ct = /* @__PURE__ */ new Set();
|
|
10401
10402
|
const Id = function(o) {
|
|
10402
|
-
|
|
10403
|
+
ct.add(o);
|
|
10403
10404
|
}, Nd = function() {
|
|
10404
|
-
const o = !!
|
|
10405
|
-
return
|
|
10405
|
+
const o = !!ct.size;
|
|
10406
|
+
return ct.forEach((t) => {
|
|
10406
10407
|
try {
|
|
10407
10408
|
t.flush();
|
|
10408
10409
|
} catch (e) {
|
|
@@ -10582,7 +10583,7 @@ class mr extends HTMLElement {
|
|
|
10582
10583
|
const t = this.$.scroller.scrollTop;
|
|
10583
10584
|
(t < this._bufferHeight || t > this._initialScroll * 2 - this._bufferHeight) && (this._initialIndex = ~~this.position, this._reset());
|
|
10584
10585
|
const e = this.itemHeight + this.bufferOffset, i = t > this._buffers[1].translateY + e, s = t < this._buffers[0].translateY + e;
|
|
10585
|
-
(i || s) && (this._translateBuffer(s), this._updateClones()), this._preventScrollEvent || (this.dispatchEvent(new CustomEvent("custom-scroll", { bubbles: !1, composed: !0 })), this._mayHaveMomentum = !0), this._preventScrollEvent = !1, this._debouncerScrollFinish =
|
|
10586
|
+
(i || s) && (this._translateBuffer(s), this._updateClones()), this._preventScrollEvent || (this.dispatchEvent(new CustomEvent("custom-scroll", { bubbles: !1, composed: !0 })), this._mayHaveMomentum = !0), this._preventScrollEvent = !1, this._debouncerScrollFinish = Be.debounce(this._debouncerScrollFinish, Dt.after(200), () => {
|
|
10586
10587
|
const r = this.$.scroller.getBoundingClientRect();
|
|
10587
10588
|
!this._isVisible(this._buffers[0], r) && !this._isVisible(this._buffers[1], r) && (this.position = this.position);
|
|
10588
10589
|
});
|
|
@@ -10591,7 +10592,7 @@ class mr extends HTMLElement {
|
|
|
10591
10592
|
_reset() {
|
|
10592
10593
|
this._scrollDisabled = !0, this.$.scroller.scrollTop = this._initialScroll, this._buffers[0].translateY = this._initialScroll - this._bufferHeight, this._buffers[1].translateY = this._initialScroll, this._buffers.forEach((t) => {
|
|
10593
10594
|
t.style.transform = `translate3d(0, ${t.translateY}px, 0)`;
|
|
10594
|
-
}), this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(!0), this._debouncerUpdateClones =
|
|
10595
|
+
}), this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(!0), this._debouncerUpdateClones = Be.debounce(this._debouncerUpdateClones, Dt.after(200), () => {
|
|
10595
10596
|
this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones();
|
|
10596
10597
|
}), this._scrollDisabled = !1;
|
|
10597
10598
|
}
|
|
@@ -10784,12 +10785,12 @@ const Ld = (o) => class extends o {
|
|
|
10784
10785
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10785
10786
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10786
10787
|
*/
|
|
10787
|
-
class $d extends
|
|
10788
|
+
class $d extends Se(Ld(be)) {
|
|
10788
10789
|
static get is() {
|
|
10789
10790
|
return "vaadin-date-picker-year";
|
|
10790
10791
|
}
|
|
10791
10792
|
static get template() {
|
|
10792
|
-
return
|
|
10793
|
+
return Oe`
|
|
10793
10794
|
<style>
|
|
10794
10795
|
:host {
|
|
10795
10796
|
display: block;
|
|
@@ -10888,21 +10889,21 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
10888
10889
|
Code distributed by Google as part of the polymer project is also
|
|
10889
10890
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10890
10891
|
*/
|
|
10891
|
-
let
|
|
10892
|
-
function
|
|
10893
|
-
return
|
|
10892
|
+
let Ci = null;
|
|
10893
|
+
function Ai() {
|
|
10894
|
+
return Ci;
|
|
10894
10895
|
}
|
|
10895
|
-
|
|
10896
|
+
Ai.prototype = Object.create(HTMLTemplateElement.prototype, {
|
|
10896
10897
|
constructor: {
|
|
10897
|
-
value:
|
|
10898
|
+
value: Ai,
|
|
10898
10899
|
writable: !0
|
|
10899
10900
|
}
|
|
10900
10901
|
});
|
|
10901
|
-
const yr =
|
|
10902
|
+
const yr = Fi(Ai), Hd = Ki(yr);
|
|
10902
10903
|
function Bd(o, t) {
|
|
10903
|
-
|
|
10904
|
+
Ci = o, Object.setPrototypeOf(o, t.prototype), new t(), Ci = null;
|
|
10904
10905
|
}
|
|
10905
|
-
const Vd =
|
|
10906
|
+
const Vd = Fi(class {
|
|
10906
10907
|
});
|
|
10907
10908
|
function Ud(o, t) {
|
|
10908
10909
|
for (let e = 0; e < t.length; e++) {
|
|
@@ -11056,7 +11057,7 @@ function Vo(o) {
|
|
|
11056
11057
|
}
|
|
11057
11058
|
function Yd(o, t, e) {
|
|
11058
11059
|
let i = e.mutableData ? jd : we;
|
|
11059
|
-
|
|
11060
|
+
Ti.mixin && (i = Ti.mixin(i));
|
|
11060
11061
|
let s = class extends i {
|
|
11061
11062
|
};
|
|
11062
11063
|
return s.prototype.__templatizeOptions = e, s.prototype._bindTemplate(o), Kd(s, o, t, e), s;
|
|
@@ -11143,8 +11144,8 @@ function Jd() {
|
|
|
11143
11144
|
t.__dataHost._setPendingPropertyOrPath("_host_" + e, i[e], !0, !0);
|
|
11144
11145
|
};
|
|
11145
11146
|
}
|
|
11146
|
-
function
|
|
11147
|
-
if (
|
|
11147
|
+
function Ti(o, t, e) {
|
|
11148
|
+
if (Tt && !Vo(o))
|
|
11148
11149
|
throw new Error("strictTemplatePolicy: template owner not trusted");
|
|
11149
11150
|
if (e = /** @type {!TemplatizeOptions} */
|
|
11150
11151
|
e || {}, o.__templatizeOwner)
|
|
@@ -11425,7 +11426,7 @@ class jo extends ec {
|
|
|
11425
11426
|
return s.observe(this, { childList: !0 }), !1;
|
|
11426
11427
|
}
|
|
11427
11428
|
let i = {};
|
|
11428
|
-
i[this.as] = !0, i[this.indexAs] = !0, i[this.itemsIndexAs] = !0, this.__ctor =
|
|
11429
|
+
i[this.as] = !0, i[this.indexAs] = !0, i[this.itemsIndexAs] = !0, this.__ctor = Ti(e, this, {
|
|
11429
11430
|
mutableData: this.mutableData,
|
|
11430
11431
|
parentModel: !0,
|
|
11431
11432
|
instanceProps: i,
|
|
@@ -11449,7 +11450,7 @@ class jo extends ec {
|
|
|
11449
11450
|
if (sa(this.as, r)) {
|
|
11450
11451
|
let a = s[this.itemsIndexAs];
|
|
11451
11452
|
r == this.as && (this.items[a] = n);
|
|
11452
|
-
let l =
|
|
11453
|
+
let l = at(this.as, `${JSCompiler_renameProperty("items", this)}.${a}`, r);
|
|
11453
11454
|
this.notifyPath(l, n);
|
|
11454
11455
|
}
|
|
11455
11456
|
}
|
|
@@ -11500,7 +11501,7 @@ class jo extends ec {
|
|
|
11500
11501
|
* @param {number=} delay Delay in ms to debounce by.
|
|
11501
11502
|
*/
|
|
11502
11503
|
__debounceRender(t, e = 0) {
|
|
11503
|
-
this.__renderDebouncer =
|
|
11504
|
+
this.__renderDebouncer = St.debounce(
|
|
11504
11505
|
this.__renderDebouncer,
|
|
11505
11506
|
e > 0 ? ca.after(e) : Is,
|
|
11506
11507
|
t.bind(this)
|
|
@@ -11779,7 +11780,7 @@ const tc = (o) => class extends ji(o) {
|
|
|
11779
11780
|
const r = new Date(0, 0);
|
|
11780
11781
|
r.setFullYear(e.getFullYear()), r.setMonth(e.getMonth()), r.setDate(1);
|
|
11781
11782
|
const n = new Date(0, 0);
|
|
11782
|
-
return n.setFullYear(e.getFullYear()), n.setMonth(e.getMonth() + 1), n.setDate(0), i && s && i.getMonth() === s.getMonth() && i.getMonth() === e.getMonth() && s.getDate() - i.getDate() >= 0 ? !1 : !
|
|
11783
|
+
return n.setFullYear(e.getFullYear()), n.setMonth(e.getMonth() + 1), n.setDate(0), i && s && i.getMonth() === s.getMonth() && i.getMonth() === e.getMonth() && s.getDate() - i.getDate() >= 0 ? !1 : !Ve(r, i, s) && !Ve(n, i, s);
|
|
11783
11784
|
}
|
|
11784
11785
|
/** @protected */
|
|
11785
11786
|
_getTitle(e, i) {
|
|
@@ -11936,9 +11937,9 @@ const ic = P`
|
|
|
11936
11937
|
H("vaadin-month-calendar", ic, {
|
|
11937
11938
|
moduleId: "vaadin-month-calendar-styles"
|
|
11938
11939
|
});
|
|
11939
|
-
class oc extends tc(
|
|
11940
|
+
class oc extends tc(Se(be)) {
|
|
11940
11941
|
static get template() {
|
|
11941
|
-
return
|
|
11942
|
+
return Oe`
|
|
11942
11943
|
<div part="month-header" id="month-header" aria-hidden="true">[[_getTitle(month, i18n)]]</div>
|
|
11943
11944
|
<table
|
|
11944
11945
|
id="monthGrid"
|
|
@@ -12014,7 +12015,7 @@ class oc extends tc(Pe(be)) {
|
|
|
12014
12015
|
/** @private */
|
|
12015
12016
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
12016
12017
|
__getDatePart(t, e, i, s, r, n) {
|
|
12017
|
-
const a = ["date"], l = t >
|
|
12018
|
+
const a = ["date"], l = t > xi(/* @__PURE__ */ new Date()), d = t < xi(/* @__PURE__ */ new Date());
|
|
12018
12019
|
return this.__isDayDisabled(t, s, r, n) && a.push("disabled"), this.__isDayFocused(t, e) && a.push("focused"), this.__isDaySelected(t, i) && a.push("selected"), this._isToday(t) && a.push("today"), d && a.push("past"), l && a.push("future"), a.join(" ");
|
|
12019
12020
|
}
|
|
12020
12021
|
/** @private */
|
|
@@ -12032,7 +12033,7 @@ class oc extends tc(Pe(be)) {
|
|
|
12032
12033
|
}
|
|
12033
12034
|
/** @private */
|
|
12034
12035
|
__isDayDisabled(t, e, i, s) {
|
|
12035
|
-
return !
|
|
12036
|
+
return !Ve(t, e, i, s);
|
|
12036
12037
|
}
|
|
12037
12038
|
/** @private */
|
|
12038
12039
|
__getDayAriaDisabled(t, e, i, s) {
|
|
@@ -12401,7 +12402,7 @@ const sc = (o) => class extends o {
|
|
|
12401
12402
|
}
|
|
12402
12403
|
/** @private */
|
|
12403
12404
|
_doIgnoreTaps() {
|
|
12404
|
-
this._ignoreTaps = !0, this._debouncer =
|
|
12405
|
+
this._ignoreTaps = !0, this._debouncer = Be.debounce(this._debouncer, Dt.after(300), () => {
|
|
12405
12406
|
this._ignoreTaps = !1;
|
|
12406
12407
|
});
|
|
12407
12408
|
}
|
|
@@ -12624,13 +12625,13 @@ const sc = (o) => class extends o {
|
|
|
12624
12625
|
}
|
|
12625
12626
|
}
|
|
12626
12627
|
focusDate(e, i) {
|
|
12627
|
-
return
|
|
12628
|
+
return pt(this, null, function* () {
|
|
12628
12629
|
const s = e || this.selectedDate || this.initialPosition || /* @__PURE__ */ new Date();
|
|
12629
12630
|
this.focusedDate = s, i || (this._focusedMonthDate = s.getDate()), yield this.focusDateElement(!1);
|
|
12630
12631
|
});
|
|
12631
12632
|
}
|
|
12632
12633
|
focusDateElement(e = !0) {
|
|
12633
|
-
return
|
|
12634
|
+
return pt(this, null, function* () {
|
|
12634
12635
|
this.__pendingDateFocus = this.focusedDate, this.calendars.length || (yield new Promise((i) => {
|
|
12635
12636
|
Js(this, () => {
|
|
12636
12637
|
Wi(), i();
|
|
@@ -12668,7 +12669,7 @@ const sc = (o) => class extends o {
|
|
|
12668
12669
|
}
|
|
12669
12670
|
/** @private */
|
|
12670
12671
|
_dateAllowed(e, i = this.minDate, s = this.maxDate, r = this.isDateDisabled) {
|
|
12671
|
-
return
|
|
12672
|
+
return Ve(e, i, s, r);
|
|
12672
12673
|
}
|
|
12673
12674
|
/** @private */
|
|
12674
12675
|
_isTodayAllowed(e, i, s) {
|
|
@@ -12761,10 +12762,10 @@ H("vaadin-date-picker-overlay-content", rc, {
|
|
|
12761
12762
|
moduleId: "vaadin-date-picker-overlay-content-styles"
|
|
12762
12763
|
});
|
|
12763
12764
|
class nc extends sc(
|
|
12764
|
-
|
|
12765
|
+
je(Se(Mt(be)))
|
|
12765
12766
|
) {
|
|
12766
12767
|
static get template() {
|
|
12767
|
-
return
|
|
12768
|
+
return Oe`
|
|
12768
12769
|
<div part="overlay-header" on-touchend="_preventDefault" aria-hidden="true">
|
|
12769
12770
|
<div part="label">[[_formatDisplayed(selectedDate, i18n, label)]]</div>
|
|
12770
12771
|
<div part="clear-button" hidden$="[[!selectedDate]]"></div>
|
|
@@ -12957,9 +12958,9 @@ const br = U(
|
|
|
12957
12958
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12958
12959
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12959
12960
|
*/
|
|
12960
|
-
const
|
|
12961
|
+
const Qt = /* @__PURE__ */ new WeakMap();
|
|
12961
12962
|
function ac(o) {
|
|
12962
|
-
return
|
|
12963
|
+
return Qt.has(o) || Qt.set(o, /* @__PURE__ */ new Set()), Qt.get(o);
|
|
12963
12964
|
}
|
|
12964
12965
|
function lc(o, t) {
|
|
12965
12966
|
const e = document.createElement("style");
|
|
@@ -13196,7 +13197,7 @@ const wr = U(
|
|
|
13196
13197
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13197
13198
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13198
13199
|
*/
|
|
13199
|
-
const cc = (o) => class extends wr(
|
|
13200
|
+
const cc = (o) => class extends wr(Ft(o)) {
|
|
13200
13201
|
static get properties() {
|
|
13201
13202
|
return {
|
|
13202
13203
|
/**
|
|
@@ -13271,9 +13272,9 @@ const cc = (o) => class extends wr(zt(o)) {
|
|
|
13271
13272
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
13272
13273
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13273
13274
|
*/
|
|
13274
|
-
const
|
|
13275
|
+
const ei = /* @__PURE__ */ new Map();
|
|
13275
13276
|
function Gi(o) {
|
|
13276
|
-
return
|
|
13277
|
+
return ei.has(o) || ei.set(o, /* @__PURE__ */ new WeakMap()), ei.get(o);
|
|
13277
13278
|
}
|
|
13278
13279
|
function xr(o, t) {
|
|
13279
13280
|
o && o.removeAttribute(t);
|
|
@@ -13284,16 +13285,16 @@ function Cr(o, t) {
|
|
|
13284
13285
|
const e = Gi(t);
|
|
13285
13286
|
if (e.has(o))
|
|
13286
13287
|
return;
|
|
13287
|
-
const i =
|
|
13288
|
+
const i = $i(o.getAttribute(t));
|
|
13288
13289
|
e.set(o, new Set(i));
|
|
13289
13290
|
}
|
|
13290
13291
|
function uc(o, t) {
|
|
13291
13292
|
if (!o || !t)
|
|
13292
13293
|
return;
|
|
13293
13294
|
const e = Gi(t), i = e.get(o);
|
|
13294
|
-
!i || i.size === 0 ? o.removeAttribute(t) : er(o, t,
|
|
13295
|
+
!i || i.size === 0 ? o.removeAttribute(t) : er(o, t, Nt(i)), e.delete(o);
|
|
13295
13296
|
}
|
|
13296
|
-
function
|
|
13297
|
+
function ti(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
13297
13298
|
if (!o || !t)
|
|
13298
13299
|
return;
|
|
13299
13300
|
const { newId: i, oldId: s, fromUser: r } = e, n = Gi(t), a = n.get(o);
|
|
@@ -13302,7 +13303,7 @@ function ii(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
|
13302
13303
|
return;
|
|
13303
13304
|
}
|
|
13304
13305
|
r && (a ? i || n.delete(o) : Cr(o, t), xr(o, t)), Hl(o, t, s);
|
|
13305
|
-
const l = i ||
|
|
13306
|
+
const l = i || Nt(a);
|
|
13306
13307
|
l && er(o, t, l);
|
|
13307
13308
|
}
|
|
13308
13309
|
function hc(o, t) {
|
|
@@ -13395,7 +13396,7 @@ class pc {
|
|
|
13395
13396
|
* @private
|
|
13396
13397
|
*/
|
|
13397
13398
|
__setLabelIdToAriaAttribute(t, e, i) {
|
|
13398
|
-
|
|
13399
|
+
ti(this.__target, "aria-labelledby", { newId: t, oldId: e, fromUser: i });
|
|
13399
13400
|
}
|
|
13400
13401
|
/**
|
|
13401
13402
|
* @param {string | null | undefined} errorId
|
|
@@ -13403,7 +13404,7 @@ class pc {
|
|
|
13403
13404
|
* @private
|
|
13404
13405
|
*/
|
|
13405
13406
|
__setErrorIdToAriaAttribute(t, e) {
|
|
13406
|
-
|
|
13407
|
+
ti(this.__target, "aria-describedby", { newId: t, oldId: e, fromUser: !1 });
|
|
13407
13408
|
}
|
|
13408
13409
|
/**
|
|
13409
13410
|
* @param {string | null | undefined} helperId
|
|
@@ -13411,7 +13412,7 @@ class pc {
|
|
|
13411
13412
|
* @private
|
|
13412
13413
|
*/
|
|
13413
13414
|
__setHelperIdToAriaAttribute(t, e) {
|
|
13414
|
-
|
|
13415
|
+
ti(this.__target, "aria-describedby", { newId: t, oldId: e, fromUser: !1 });
|
|
13415
13416
|
}
|
|
13416
13417
|
/**
|
|
13417
13418
|
* @param {boolean} required
|
|
@@ -13431,12 +13432,12 @@ ie.style.position = "fixed";
|
|
|
13431
13432
|
ie.style.clip = "rect(0px, 0px, 0px, 0px)";
|
|
13432
13433
|
ie.setAttribute("aria-live", "polite");
|
|
13433
13434
|
document.body.appendChild(ie);
|
|
13434
|
-
let
|
|
13435
|
+
let yt;
|
|
13435
13436
|
function fc(o, t = {}) {
|
|
13436
13437
|
const e = t.mode || "polite", i = t.timeout === void 0 ? 150 : t.timeout;
|
|
13437
|
-
e === "alert" ? (ie.removeAttribute("aria-live"), ie.removeAttribute("role"),
|
|
13438
|
+
e === "alert" ? (ie.removeAttribute("aria-live"), ie.removeAttribute("role"), yt = Be.debounce(yt, id, () => {
|
|
13438
13439
|
ie.setAttribute("role", "alert");
|
|
13439
|
-
})) : (
|
|
13440
|
+
})) : (yt && yt.cancel(), ie.removeAttribute("role"), ie.setAttribute("aria-live", e)), ie.textContent = "", setTimeout(() => {
|
|
13440
13441
|
ie.textContent = o;
|
|
13441
13442
|
}, i);
|
|
13442
13443
|
}
|
|
@@ -13447,7 +13448,7 @@ function fc(o, t = {}) {
|
|
|
13447
13448
|
*/
|
|
13448
13449
|
class Ji extends Te {
|
|
13449
13450
|
constructor(t, e, i, s = {}) {
|
|
13450
|
-
super(t, e, i,
|
|
13451
|
+
super(t, e, i, Lt(zt({}, s), { useUniqueId: !0 }));
|
|
13451
13452
|
}
|
|
13452
13453
|
/**
|
|
13453
13454
|
* Override to initialize the newly added custom node.
|
|
@@ -13751,7 +13752,7 @@ class gc extends Ji {
|
|
|
13751
13752
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13752
13753
|
*/
|
|
13753
13754
|
const yc = U(
|
|
13754
|
-
(o) => class extends
|
|
13755
|
+
(o) => class extends je(o) {
|
|
13755
13756
|
static get properties() {
|
|
13756
13757
|
return {
|
|
13757
13758
|
/**
|
|
@@ -13865,7 +13866,7 @@ const Ar = U(
|
|
|
13865
13866
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13866
13867
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13867
13868
|
*/
|
|
13868
|
-
const vc = (o) => class extends Ar(yc(
|
|
13869
|
+
const vc = (o) => class extends Ar(yc(je(o))) {
|
|
13869
13870
|
static get properties() {
|
|
13870
13871
|
return {
|
|
13871
13872
|
/**
|
|
@@ -14173,7 +14174,7 @@ const Tr = U(
|
|
|
14173
14174
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14174
14175
|
*/
|
|
14175
14176
|
const wc = (o) => class extends dc(
|
|
14176
|
-
br(Tr(vc(cc(
|
|
14177
|
+
br(Tr(vc(cc(Ft(o)))))
|
|
14177
14178
|
) {
|
|
14178
14179
|
static get properties() {
|
|
14179
14180
|
return {
|
|
@@ -14305,7 +14306,7 @@ const wc = (o) => class extends dc(
|
|
|
14305
14306
|
}
|
|
14306
14307
|
/** @protected */
|
|
14307
14308
|
_markInputPrevented() {
|
|
14308
|
-
this.setAttribute("input-prevented", ""), this._preventInputDebouncer =
|
|
14309
|
+
this.setAttribute("input-prevented", ""), this._preventInputDebouncer = Be.debounce(this._preventInputDebouncer, Dt.after(200), () => {
|
|
14309
14310
|
this.removeAttribute("input-prevented");
|
|
14310
14311
|
});
|
|
14311
14312
|
}
|
|
@@ -14555,7 +14556,7 @@ class Sc {
|
|
|
14555
14556
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14556
14557
|
*/
|
|
14557
14558
|
const Pc = (o) => class extends kc(
|
|
14558
|
-
|
|
14559
|
+
je(br(Tr(Ft(o))))
|
|
14559
14560
|
) {
|
|
14560
14561
|
static get properties() {
|
|
14561
14562
|
return {
|
|
@@ -14759,7 +14760,7 @@ const Pc = (o) => class extends kc(
|
|
|
14759
14760
|
let r, n = s.getMonth(), a = s.getFullYear();
|
|
14760
14761
|
if (i.length === 3) {
|
|
14761
14762
|
if (n = parseInt(i[0]) - 1, r = parseInt(i[1]), a = parseInt(i[2]), i[2].length < 3 && a >= 0) {
|
|
14762
|
-
const l = this.referenceDate ?
|
|
14763
|
+
const l = this.referenceDate ? Je(this.referenceDate) : /* @__PURE__ */ new Date();
|
|
14763
14764
|
a = Pd(l, a, n, r);
|
|
14764
14765
|
}
|
|
14765
14766
|
} else
|
|
@@ -14922,7 +14923,7 @@ const Pc = (o) => class extends kc(
|
|
|
14922
14923
|
* @protected
|
|
14923
14924
|
*/
|
|
14924
14925
|
_onFocus(e) {
|
|
14925
|
-
super._onFocus(e), this._noInput &&
|
|
14926
|
+
super._onFocus(e), this._noInput && !Li() && e.target.blur();
|
|
14926
14927
|
}
|
|
14927
14928
|
/**
|
|
14928
14929
|
* Override an event listener from `DelegateFocusMixin`
|
|
@@ -14984,7 +14985,7 @@ const Pc = (o) => class extends kc(
|
|
|
14984
14985
|
if (!this.i18n.parseDate)
|
|
14985
14986
|
return;
|
|
14986
14987
|
let i = this.i18n.parseDate(e);
|
|
14987
|
-
if (i && (i =
|
|
14988
|
+
if (i && (i = Je(`${i.year}-${i.month + 1}-${i.day}`)), i && !isNaN(i.getTime()))
|
|
14988
14989
|
return i;
|
|
14989
14990
|
}
|
|
14990
14991
|
/**
|
|
@@ -15003,7 +15004,7 @@ const Pc = (o) => class extends kc(
|
|
|
15003
15004
|
* @return {boolean} True if the value is valid
|
|
15004
15005
|
*/
|
|
15005
15006
|
checkValidity() {
|
|
15006
|
-
const e = this._inputElementValue, i = !e || !!this._selectedDate && e === this.__formatDate(this._selectedDate), s = !this._selectedDate ||
|
|
15007
|
+
const e = this._inputElementValue, i = !e || !!this._selectedDate && e === this.__formatDate(this._selectedDate), s = !this._selectedDate || Ve(this._selectedDate, this._minDate, this._maxDate, this.isDateDisabled);
|
|
15007
15008
|
let r = !0;
|
|
15008
15009
|
return this.inputElement && (this.inputElement.checkValidity ? r = this.inputElement.checkValidity() : this.inputElement.validate && (r = this.inputElement.validate())), i && s && r;
|
|
15009
15010
|
}
|
|
@@ -15126,7 +15127,7 @@ const Pc = (o) => class extends kc(
|
|
|
15126
15127
|
* @override
|
|
15127
15128
|
*/
|
|
15128
15129
|
_valueChanged(e, i) {
|
|
15129
|
-
const s =
|
|
15130
|
+
const s = Je(e);
|
|
15130
15131
|
if (e && !s) {
|
|
15131
15132
|
this.value = i;
|
|
15132
15133
|
return;
|
|
@@ -15165,8 +15166,8 @@ const Pc = (o) => class extends kc(
|
|
|
15165
15166
|
}
|
|
15166
15167
|
/** @private */
|
|
15167
15168
|
_getInitialPosition() {
|
|
15168
|
-
const e =
|
|
15169
|
-
return e ||
|
|
15169
|
+
const e = Je(this.initialPosition), i = this._selectedDate || this._overlayContent.initialPosition || e || /* @__PURE__ */ new Date();
|
|
15170
|
+
return e || Ve(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ? hr(i, [this._minDate, this._maxDate]) : /* @__PURE__ */ new Date();
|
|
15170
15171
|
}
|
|
15171
15172
|
/**
|
|
15172
15173
|
* Tries to parse the input element's value as a date. If the input value
|
|
@@ -15304,7 +15305,7 @@ const Pc = (o) => class extends kc(
|
|
|
15304
15305
|
}
|
|
15305
15306
|
/** @private */
|
|
15306
15307
|
__computeMinOrMaxDate(e) {
|
|
15307
|
-
return
|
|
15308
|
+
return Je(e);
|
|
15308
15309
|
}
|
|
15309
15310
|
/**
|
|
15310
15311
|
* Fired when the user commits a value change.
|
|
@@ -15347,12 +15348,12 @@ const Oc = P`
|
|
|
15347
15348
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15348
15349
|
*/
|
|
15349
15350
|
H("vaadin-date-picker", [Dc, Oc], { moduleId: "vaadin-date-picker-styles" });
|
|
15350
|
-
class Mc extends Pc(wc(
|
|
15351
|
+
class Mc extends Pc(wc(Se(or(be)))) {
|
|
15351
15352
|
static get is() {
|
|
15352
15353
|
return "vaadin-date-picker";
|
|
15353
15354
|
}
|
|
15354
15355
|
static get template() {
|
|
15355
|
-
return
|
|
15356
|
+
return Oe`
|
|
15356
15357
|
<div class="vaadin-date-picker-container">
|
|
15357
15358
|
<div part="label">
|
|
15358
15359
|
<slot name="label"></slot>
|
|
@@ -15448,7 +15449,7 @@ if (typeof window != "undefined") {
|
|
|
15448
15449
|
}
|
|
15449
15450
|
};
|
|
15450
15451
|
};
|
|
15451
|
-
customElements.define = o(customElements.define), import("./PlayerAccountGeneralConfirmationModal-
|
|
15452
|
+
customElements.define = o(customElements.define), import("./PlayerAccountGeneralConfirmationModal-CDWu9PDO.js").then((t) => t.P).then(
|
|
15452
15453
|
({ default: t }) => {
|
|
15453
15454
|
!customElements.get("player-account-general-confirmation-modal") && customElements.define(
|
|
15454
15455
|
"player-account-general-confirmation-modal",
|
|
@@ -15617,17 +15618,17 @@ var Er = { exports: {} };
|
|
|
15617
15618
|
var f = this, m = this.$locale();
|
|
15618
15619
|
if (!this.isValid())
|
|
15619
15620
|
return m.invalidDate || E;
|
|
15620
|
-
var w = g || "YYYY-MM-DDTHH:mm:ssZ", C = S.z(this), I = this.$H, R = this.$m, B = this.$M, b = m.weekdays, V = m.months, Z = m.meridiem, ne = function(G, me,
|
|
15621
|
-
return G && (G[me] || G(f, w)) ||
|
|
15621
|
+
var w = g || "YYYY-MM-DDTHH:mm:ssZ", C = S.z(this), I = this.$H, R = this.$m, B = this.$M, b = m.weekdays, V = m.months, Z = m.meridiem, ne = function(G, me, Ye, ht) {
|
|
15622
|
+
return G && (G[me] || G(f, w)) || Ye[me].slice(0, ht);
|
|
15622
15623
|
}, de = function(G) {
|
|
15623
15624
|
return S.s(I % 12 || 12, G, "0");
|
|
15624
|
-
}, xe = Z || function(G, me,
|
|
15625
|
-
var
|
|
15626
|
-
return
|
|
15625
|
+
}, xe = Z || function(G, me, Ye) {
|
|
15626
|
+
var ht = G < 12 ? "AM" : "PM";
|
|
15627
|
+
return Ye ? ht.toLowerCase() : ht;
|
|
15627
15628
|
};
|
|
15628
15629
|
return w.replace(T, function(G, me) {
|
|
15629
|
-
return me || function(
|
|
15630
|
-
switch (
|
|
15630
|
+
return me || function(Ye) {
|
|
15631
|
+
switch (Ye) {
|
|
15631
15632
|
case "YY":
|
|
15632
15633
|
return String(f.$y).slice(-2);
|
|
15633
15634
|
case "YYYY":
|
|
@@ -15999,7 +16000,7 @@ function zc(o) {
|
|
|
15999
16000
|
), re, X, te, $, S, K = (
|
|
16000
16001
|
/*isMobile*/
|
|
16001
16002
|
o[17] && $c(o)
|
|
16002
|
-
), ee =
|
|
16003
|
+
), ee = eo(
|
|
16003
16004
|
/*timeoutOptions*/
|
|
16004
16005
|
o[8]
|
|
16005
16006
|
), v = [];
|
|
@@ -16017,11 +16018,11 @@ function zc(o) {
|
|
|
16017
16018
|
t = M("form"), K && K.c(), e = Y(), i = M("h2"), r = pe(s), n = Y(), a = M("div"), l = M("p"), c = pe(d), u = Y(), h = M("p"), y = pe(p), E = Y(), D = M("div"), T = M("select");
|
|
16018
16019
|
for (let f = 0; f < v.length; f += 1)
|
|
16019
16020
|
v[f].c();
|
|
16020
|
-
k = Y(), _ && _.c(), z = Y(), L = M("div"), F = M("button"), re = pe(q), X = Y(), g && g.c(), te =
|
|
16021
|
+
k = Y(), _ && _.c(), z = Y(), L = M("div"), F = M("button"), re = pe(q), X = Y(), g && g.c(), te = Kr(), N(i, "class", "TimeoutTitle " + /*isMobile*/
|
|
16021
16022
|
(o[17] ? "TimeoutTitleNone" : "")), N(a, "class", "TimeoutDescription " + /*isMobile*/
|
|
16022
16023
|
(o[17] ? "TimeoutDescriptionMobile" : "")), N(T, "class", "TimeoutSelect " + /*isMobile*/
|
|
16023
16024
|
(o[17] ? "TimeoutSelectMobile" : "")), /*timeoutSelected*/
|
|
16024
|
-
o[9] === void 0 &&
|
|
16025
|
+
o[9] === void 0 && Gr(() => (
|
|
16025
16026
|
/*select_change_handler*/
|
|
16026
16027
|
o[26].call(T)
|
|
16027
16028
|
)), N(D, "class", "TimeoutSelectWrapper"), N(F, "class", "TimeoutSave"), N(L, "class", "TimeoutActionButtons " + /*isMobile*/
|
|
@@ -16029,28 +16030,28 @@ function zc(o) {
|
|
|
16029
16030
|
(o[17] ? "TimeoutWrapperMobile" : ""));
|
|
16030
16031
|
},
|
|
16031
16032
|
m(f, m) {
|
|
16032
|
-
|
|
16033
|
+
oe(f, t, m), K && K.m(t, null), x(t, e), x(t, i), x(i, r), x(t, n), x(t, a), x(a, l), x(l, c), x(a, u), x(a, h), x(h, y), x(t, E), x(t, D), x(D, T);
|
|
16033
16034
|
for (let w = 0; w < v.length; w += 1)
|
|
16034
16035
|
v[w] && v[w].m(T, null);
|
|
16035
|
-
|
|
16036
|
+
to(
|
|
16036
16037
|
T,
|
|
16037
16038
|
/*timeoutSelected*/
|
|
16038
16039
|
o[9],
|
|
16039
16040
|
!0
|
|
16040
|
-
), x(t, k), _ && _.m(t, null), x(t, z), x(t, L), x(L, F), x(F, re),
|
|
16041
|
-
|
|
16041
|
+
), x(t, k), _ && _.m(t, null), x(t, z), x(t, L), x(L, F), x(F, re), oe(f, X, m), g && g.m(f, m), oe(f, te, m), $ || (S = [
|
|
16042
|
+
vt(
|
|
16042
16043
|
T,
|
|
16043
16044
|
"change",
|
|
16044
16045
|
/*select_change_handler*/
|
|
16045
16046
|
o[26]
|
|
16046
16047
|
),
|
|
16047
|
-
|
|
16048
|
+
vt(
|
|
16048
16049
|
T,
|
|
16049
16050
|
"change",
|
|
16050
16051
|
/*selectPeriod*/
|
|
16051
16052
|
o[21]
|
|
16052
16053
|
),
|
|
16053
|
-
|
|
16054
|
+
vt(
|
|
16054
16055
|
F,
|
|
16055
16056
|
"click",
|
|
16056
16057
|
/*click_handler_1*/
|
|
@@ -16080,7 +16081,7 @@ function zc(o) {
|
|
|
16080
16081
|
}) + "") && ge(y, p), m[0] & /*timeoutOptions, $_*/
|
|
16081
16082
|
65792
|
|
16082
16083
|
) {
|
|
16083
|
-
ee =
|
|
16084
|
+
ee = eo(
|
|
16084
16085
|
/*timeoutOptions*/
|
|
16085
16086
|
f[8]
|
|
16086
16087
|
);
|
|
@@ -16094,7 +16095,7 @@ function zc(o) {
|
|
|
16094
16095
|
v.length = ee.length;
|
|
16095
16096
|
}
|
|
16096
16097
|
m[0] & /*timeoutSelected, timeoutOptions*/
|
|
16097
|
-
768 &&
|
|
16098
|
+
768 && to(
|
|
16098
16099
|
T,
|
|
16099
16100
|
/*timeoutSelected*/
|
|
16100
16101
|
f[9]
|
|
@@ -16105,7 +16106,7 @@ function zc(o) {
|
|
|
16105
16106
|
f[18] && g.p(f, m);
|
|
16106
16107
|
},
|
|
16107
16108
|
d(f) {
|
|
16108
|
-
f && (
|
|
16109
|
+
f && (se(t), se(X), se(te)), K && K.d(), Jr(v, f), _ && _.d(), g && g.d(f), $ = !1, Xr(S);
|
|
16109
16110
|
}
|
|
16110
16111
|
};
|
|
16111
16112
|
}
|
|
@@ -16125,7 +16126,7 @@ function Lc(o) {
|
|
|
16125
16126
|
"height",
|
|
16126
16127
|
/*isMobile*/
|
|
16127
16128
|
o[17] ? "15px" : "20px"
|
|
16128
|
-
), A(s, "rows", "3"), A(s, "width", "100%"),
|
|
16129
|
+
), A(s, "rows", "3"), A(s, "width", "100%"), io(
|
|
16129
16130
|
n,
|
|
16130
16131
|
"height",
|
|
16131
16132
|
/*isMobile*/
|
|
@@ -16135,7 +16136,7 @@ function Lc(o) {
|
|
|
16135
16136
|
"height",
|
|
16136
16137
|
/*isMobile*/
|
|
16137
16138
|
o[17] ? "15px" : "20px"
|
|
16138
|
-
), A(l, "rows", "3"), A(l, "width", "100%"),
|
|
16139
|
+
), A(l, "rows", "3"), A(l, "width", "100%"), io(
|
|
16139
16140
|
c,
|
|
16140
16141
|
"height",
|
|
16141
16142
|
/*isMobile*/
|
|
@@ -16160,11 +16161,11 @@ function Lc(o) {
|
|
|
16160
16161
|
(o[17] ? "TimeoutWrapperMobile" : ""));
|
|
16161
16162
|
},
|
|
16162
16163
|
m(L, F) {
|
|
16163
|
-
|
|
16164
|
+
oe(L, t, F), z.m(t, null), x(t, e), x(t, i), x(i, s), x(i, r), x(i, n), x(i, a), x(i, l), x(i, d), x(i, c), x(t, u), x(t, h), x(h, p), x(t, y), x(t, E), x(E, D);
|
|
16164
16165
|
},
|
|
16165
|
-
p:
|
|
16166
|
+
p: ii,
|
|
16166
16167
|
d(L) {
|
|
16167
|
-
L &&
|
|
16168
|
+
L && se(t), z.d();
|
|
16168
16169
|
}
|
|
16169
16170
|
};
|
|
16170
16171
|
}
|
|
@@ -16175,10 +16176,10 @@ function $c(o) {
|
|
|
16175
16176
|
), h, p, y;
|
|
16176
16177
|
return {
|
|
16177
16178
|
c() {
|
|
16178
|
-
t = M("div"), e =
|
|
16179
|
+
t = M("div"), e = Me("svg"), i = Me("defs"), s = Me("style"), r = pe(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), n = Me("g"), a = Me("g"), l = Me("path"), d = Y(), c = M("h2"), h = pe(u), N(l, "class", "aaa"), N(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), N(l, "transform", "translate(15 15) rotate(180)"), N(a, "transform", "translate(20 158)"), N(n, "transform", "translate(-20 -158)"), N(e, "xmlns", "http://www.w3.org/2000/svg"), N(e, "width", "15"), N(e, "height", "15"), N(e, "viewBox", "0 0 15 15"), N(c, "class", "TimeoutTitleMobile"), N(c, "part", "TimeoutTitleMobile"), N(t, "class", "MenuReturnButton"), N(t, "part", "MenuReturnButton");
|
|
16179
16180
|
},
|
|
16180
16181
|
m(E, D) {
|
|
16181
|
-
|
|
16182
|
+
oe(E, t, D), x(t, e), x(e, i), x(i, s), x(s, r), x(e, n), x(n, a), x(a, l), x(t, d), x(t, c), x(c, h), p || (y = vt(
|
|
16182
16183
|
t,
|
|
16183
16184
|
"click",
|
|
16184
16185
|
/*click_handler*/
|
|
@@ -16191,7 +16192,7 @@ function $c(o) {
|
|
|
16191
16192
|
E[16]("titleTimeout") + "") && ge(h, u);
|
|
16192
16193
|
},
|
|
16193
16194
|
d(E) {
|
|
16194
|
-
E &&
|
|
16195
|
+
E && se(t), p = !1, y();
|
|
16195
16196
|
}
|
|
16196
16197
|
};
|
|
16197
16198
|
}
|
|
@@ -16209,7 +16210,7 @@ function Go(o) {
|
|
|
16209
16210
|
o[38], oo(t, t.__value);
|
|
16210
16211
|
},
|
|
16211
16212
|
m(r, n) {
|
|
16212
|
-
|
|
16213
|
+
oe(r, t, n), x(t, i);
|
|
16213
16214
|
},
|
|
16214
16215
|
p(r, n) {
|
|
16215
16216
|
n[0] & /*$_, timeoutOptions*/
|
|
@@ -16222,7 +16223,7 @@ function Go(o) {
|
|
|
16222
16223
|
r[38]) && (t.__value = s, oo(t, t.__value));
|
|
16223
16224
|
},
|
|
16224
16225
|
d(r) {
|
|
16225
|
-
r &&
|
|
16226
|
+
r && se(t);
|
|
16226
16227
|
}
|
|
16227
16228
|
};
|
|
16228
16229
|
}
|
|
@@ -16255,7 +16256,7 @@ function Jo(o) {
|
|
|
16255
16256
|
(o[17] ? "TimeoutDateWrapperMobile" : ""));
|
|
16256
16257
|
},
|
|
16257
16258
|
m(p, y) {
|
|
16258
|
-
|
|
16259
|
+
oe(p, t, y), x(t, e), x(e, s), x(t, r), x(t, n), x(n, l), x(n, d), x(n, c), x(t, u), x(t, h), o[27](h);
|
|
16259
16260
|
},
|
|
16260
16261
|
p(p, y) {
|
|
16261
16262
|
y[0] & /*$_*/
|
|
@@ -16283,7 +16284,7 @@ function Jo(o) {
|
|
|
16283
16284
|
);
|
|
16284
16285
|
},
|
|
16285
16286
|
d(p) {
|
|
16286
|
-
p &&
|
|
16287
|
+
p && se(t), o[27](null);
|
|
16287
16288
|
}
|
|
16288
16289
|
};
|
|
16289
16290
|
}
|
|
@@ -16335,7 +16336,7 @@ function Rc(o) {
|
|
|
16335
16336
|
), A(t, "showmodaleventname", "ShowTimeoutConfirmationModal");
|
|
16336
16337
|
},
|
|
16337
16338
|
m(r, n) {
|
|
16338
|
-
|
|
16339
|
+
oe(r, t, n), x(t, e);
|
|
16339
16340
|
},
|
|
16340
16341
|
p(r, n) {
|
|
16341
16342
|
n[0] & /*$_*/
|
|
@@ -16390,7 +16391,7 @@ function Rc(o) {
|
|
|
16390
16391
|
);
|
|
16391
16392
|
},
|
|
16392
16393
|
d(r) {
|
|
16393
|
-
r &&
|
|
16394
|
+
r && se(t);
|
|
16394
16395
|
}
|
|
16395
16396
|
};
|
|
16396
16397
|
}
|
|
@@ -16401,10 +16402,10 @@ function Hc(o) {
|
|
|
16401
16402
|
t = M("ui-skeleton"), A(t, "structure", "title"), A(t, "width", "100px"), A(t, "margin-top", "20px"), A(t, "margin-bottom", "20px");
|
|
16402
16403
|
},
|
|
16403
16404
|
m(e, i) {
|
|
16404
|
-
|
|
16405
|
+
oe(e, t, i);
|
|
16405
16406
|
},
|
|
16406
16407
|
d(e) {
|
|
16407
|
-
e &&
|
|
16408
|
+
e && se(t);
|
|
16408
16409
|
}
|
|
16409
16410
|
};
|
|
16410
16411
|
}
|
|
@@ -16415,10 +16416,10 @@ function Bc(o) {
|
|
|
16415
16416
|
t = M("div"), t.innerHTML = '<ui-skeleton structure="title" width="20px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton> <ui-skeleton structure="title" width="100px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton>', N(t, "class", "MenuReturnButton");
|
|
16416
16417
|
},
|
|
16417
16418
|
m(e, i) {
|
|
16418
|
-
|
|
16419
|
+
oe(e, t, i);
|
|
16419
16420
|
},
|
|
16420
16421
|
d(e) {
|
|
16421
|
-
e &&
|
|
16422
|
+
e && se(t);
|
|
16422
16423
|
}
|
|
16423
16424
|
};
|
|
16424
16425
|
}
|
|
@@ -16436,21 +16437,21 @@ function Vc(o) {
|
|
|
16436
16437
|
t = M("div"), s.c();
|
|
16437
16438
|
},
|
|
16438
16439
|
m(r, n) {
|
|
16439
|
-
|
|
16440
|
+
oe(r, t, n), s.m(t, null), o[29](t);
|
|
16440
16441
|
},
|
|
16441
16442
|
p(r, n) {
|
|
16442
16443
|
i === (i = e(r)) && s ? s.p(r, n) : (s.d(1), s = i(r), s && (s.c(), s.m(t, null)));
|
|
16443
16444
|
},
|
|
16444
|
-
i:
|
|
16445
|
-
o:
|
|
16445
|
+
i: ii,
|
|
16446
|
+
o: ii,
|
|
16446
16447
|
d(r) {
|
|
16447
|
-
r &&
|
|
16448
|
+
r && se(t), s.d(), o[29](null);
|
|
16448
16449
|
}
|
|
16449
16450
|
};
|
|
16450
16451
|
}
|
|
16451
16452
|
function Uc(o, t, e) {
|
|
16452
16453
|
let i;
|
|
16453
|
-
Br(o,
|
|
16454
|
+
Br(o, Zr, (b) => e(16, i = b));
|
|
16454
16455
|
let { operator: s = "Everymatrix" } = t, { lang: r = "en" } = t, { clientstyling: n = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: l } = t, { translationurl: d = "" } = t, { supportemail: c = "" } = t, { endpoint: u = "" } = t, { hasconfirmationmodal: h = "false" } = t, p, y, E = window.navigator.userAgent, D = Vr(E) !== "PC", T = [
|
|
16455
16456
|
{
|
|
16456
16457
|
value: "CoolOffFor24Hours",
|
|
@@ -16537,7 +16538,7 @@ function Uc(o, t, e) {
|
|
|
16537
16538
|
});
|
|
16538
16539
|
const w = () => v();
|
|
16539
16540
|
function C() {
|
|
16540
|
-
k =
|
|
16541
|
+
k = Wr(this), e(9, k), e(8, T);
|
|
16541
16542
|
}
|
|
16542
16543
|
function I(b) {
|
|
16543
16544
|
Qi[b ? "unshift" : "push"](() => {
|
|
@@ -16556,9 +16557,9 @@ function Uc(o, t, e) {
|
|
|
16556
16557
|
o.$$.dirty[0] & /*calendar*/
|
|
16557
16558
|
128 && y && m(), o.$$.dirty[0] & /*lang*/
|
|
16558
16559
|
2 && r && _(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
16559
|
-
68 && n && p &&
|
|
16560
|
-
72 && a && p &&
|
|
16561
|
-
80 && l && p &&
|
|
16560
|
+
68 && n && p && qr(p, n), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
16561
|
+
72 && a && p && jr(p, a), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
16562
|
+
80 && l && p && Yr(p, `${l}.Style`), o.$$.dirty[0] & /*translationurl*/
|
|
16562
16563
|
4194304 && d && $();
|
|
16563
16564
|
}, X && K(), [
|
|
16564
16565
|
s,
|
|
@@ -16600,7 +16601,7 @@ class jc extends zr {
|
|
|
16600
16601
|
t,
|
|
16601
16602
|
Uc,
|
|
16602
16603
|
Vc,
|
|
16603
|
-
|
|
16604
|
+
Rr,
|
|
16604
16605
|
{
|
|
16605
16606
|
operator: 0,
|
|
16606
16607
|
lang: 1,
|
|
@@ -16671,7 +16672,7 @@ class jc extends zr {
|
|
|
16671
16672
|
this.$$set({ hasconfirmationmodal: t }), ce();
|
|
16672
16673
|
}
|
|
16673
16674
|
}
|
|
16674
|
-
|
|
16675
|
+
$r(jc, { operator: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, supportemail: {}, endpoint: {}, hasconfirmationmodal: {} }, [], [], !0);
|
|
16675
16676
|
export {
|
|
16676
16677
|
jc as default
|
|
16677
16678
|
};
|