@everymatrix/player-account-timeout 1.86.1 → 1.86.3
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-CpIVlBHH.js → PlayerAccountGeneralConfirmationModal-BYiYUP-W.js} +825 -846
- package/components/{PlayerAccountGeneralConfirmationModal-BclGH0SY.js → PlayerAccountGeneralConfirmationModal-DamAh4bC.js} +835 -856
- package/components/PlayerAccountGeneralConfirmationModal-mQ-RU129.cjs +18 -0
- package/components/{PlayerAccountTimeout-CF3uidhm.js → PlayerAccountTimeout--yyguXTS.js} +753 -752
- package/components/{PlayerAccountTimeout-0g-C74ue.js → PlayerAccountTimeout-BIoh3D6t.js} +389 -388
- package/components/{PlayerAccountTimeout-CqAaduHA.cjs → PlayerAccountTimeout-DYdWH7az.cjs} +74 -74
- 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-CMoQ4Pov.js +503 -0
- package/stencil/index-b2193545-CQaBo5im.cjs +1 -0
- package/stencil/index-b2193545-DvP9W4Go.js +519 -0
- package/stencil/{ui-skeleton-BreIU6e5.cjs → ui-skeleton-C7KTfaPd.cjs} +1 -1
- package/stencil/{ui-skeleton-W50o8tfg.js → ui-skeleton-Cn9Rv2BY.js} +2 -2
- package/stencil/{ui-skeleton-xXZA3rYO.js → ui-skeleton-YNoAIoec.js} +2 -2
- package/stencil/{ui-skeleton-ed169f8f-CVY4B-CP.js → ui-skeleton-ed169f8f-BA-lE0xf.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-D3TjbVKy.js → ui-skeleton-ed169f8f-b70BXhTZ.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-CpiCXJrP.cjs → ui-skeleton-ed169f8f-cGTgZqRU.cjs} +1 -1
- package/components/PlayerAccountGeneralConfirmationModal-Dw-0WM0v.cjs +0 -18
- package/stencil/index-b2193545-9K-aI7zC.cjs +0 -1
- package/stencil/index-b2193545-DsMHU6jb.js +0 -519
- package/stencil/index-b2193545-R7ZoV-kY.js +0 -503
|
@@ -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 ae,
|
|
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 ae, b as $r, s as Rr, d as Hr, e as O, h as re, n as ii, j as ne, k as Br, l as Vr, o as Ur, m as jr, p as Yr, q as Qi, r as Wr, t as qr, u as eo, v as q, w as Ee, x as Kr, y as z, z as Gr, A as w, B as to, C as vt, D as $e, E as Jr, F as Xr, G as T, H as io, I as Oe, J as oo, K as Zr } from "./PlayerAccountGeneralConfirmationModal-BYiYUP-W.js";
|
|
30
|
+
import "../stencil/ui-skeleton-YNoAIoec.js";
|
|
31
31
|
/**
|
|
32
32
|
* @license
|
|
33
33
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
@@ -65,17 +65,17 @@ de(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), k = (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), k = (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), k = (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, ge = globalThis, no = ge.trustedTypes, ln = no ? no.emptyScript : "",
|
|
116
|
+
const { is: tn, defineProperty: on, getOwnPropertyDescriptor: sn, getOwnPropertyNames: rn, getOwnPropertySymbols: nn, getPrototypeOf: an } = Object, ge = globalThis, no = ge.trustedTypes, ln = no ? no.emptyScript : "", $t = ge.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 = ge.litPropertyMetadata) != null || (ge.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
147
|
-
class
|
|
147
|
+
class Ie 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 Ne 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 Ne 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 Ne 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 Ne 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 u = d.fromAttribute(e, l.type);
|
|
279
|
-
this[s] = (a = u != null ? u : (n = this._$Ej) == null ? void 0 : n.get(s)) != null ? a : u, 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 Ne 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 Ne 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 Ne 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 Ne 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,84 +364,84 @@ class Ne extends HTMLElement {
|
|
|
367
364
|
}
|
|
368
365
|
}
|
|
369
366
|
var Qo;
|
|
370
|
-
|
|
367
|
+
Ie.elementStyles = [], Ie.shadowRootOptions = { mode: "open" }, Ie[Qe("elementProperties")] = /* @__PURE__ */ new Map(), Ie[Qe("finalized")] = /* @__PURE__ */ new Map(), $t == null || $t({ ReactiveElement: Ie }), ((Qo = ge.reactiveElementVersions) != null ? Qo : ge.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}>`, De = document, it = () => De.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, we = RegExp(`>|${Rt}(?:([^\\s"'>=/]+)(${Rt}*=${Rt}*(?:[^
|
|
375
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), ho = /'/g, po = /"/g, as = /^(?:script|style|textarea|title)$/i, Re = Symbol.for("lit-noChange"), W = Symbol.for("lit-nothing"), fo = /* @__PURE__ */ new WeakMap(), xe = De.createTreeWalker(De, 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
|
-
const
|
|
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
|
-
let d,
|
|
390
|
-
for (; p < l.length && (n.lastIndex = p,
|
|
391
|
-
p = n.lastIndex, n ===
|
|
386
|
+
let d, c, u = -1, p = 0;
|
|
387
|
+
for (; p < l.length && (n.lastIndex = p, c = n.exec(l), c !== null); )
|
|
388
|
+
p = 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 = we) : c[3] !== void 0 && (n = we) : n === we ? 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 ? we : c[3] === '"' ? po : ho) : n === po || n === ho ? n = we : n === co || n === uo ? n = We : (n = we, s = void 0);
|
|
392
389
|
const m = n === we && 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 + m) : l + _e + (u === -2 ? a : m);
|
|
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
|
-
const a = t.length - 1, l = this.parts, [d,
|
|
403
|
-
if (this.el =
|
|
404
|
-
const
|
|
405
|
-
|
|
399
|
+
const a = t.length - 1, l = this.parts, [d, c] = un(t, e);
|
|
400
|
+
if (this.el = st.createElement(d, i), xe.currentNode = this.el.content, e === 2 || e === 3) {
|
|
401
|
+
const u = this.el.content.firstChild;
|
|
402
|
+
u.replaceWith(...u.childNodes);
|
|
406
403
|
}
|
|
407
404
|
for (; (s = xe.nextNode()) !== null && l.length < a; ) {
|
|
408
405
|
if (s.nodeType === 1) {
|
|
409
406
|
if (s.hasAttributes())
|
|
410
|
-
for (const
|
|
411
|
-
if (
|
|
412
|
-
const p =
|
|
413
|
-
l.push({ type: 1, index: r, name: _[2], strings: m, ctor: _[1] === "." ? pn : _[1] === "?" ? fn : _[1] === "@" ? mn :
|
|
407
|
+
for (const u of s.getAttributeNames())
|
|
408
|
+
if (u.endsWith(rs)) {
|
|
409
|
+
const p = c[n++], m = s.getAttribute(u).split(_e), _ = /([.?@])?(.*)/.exec(p);
|
|
410
|
+
l.push({ type: 1, index: r, name: _[2], strings: m, ctor: _[1] === "." ? pn : _[1] === "?" ? fn : _[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
|
-
const
|
|
414
|
+
const u = s.textContent.split(_e), p = u.length - 1;
|
|
418
415
|
if (p > 0) {
|
|
419
|
-
s.textContent =
|
|
416
|
+
s.textContent = xt ? xt.emptyScript : "";
|
|
420
417
|
for (let m = 0; m < p; m++)
|
|
421
|
-
s.append(
|
|
422
|
-
s.append(
|
|
418
|
+
s.append(u[m], it()), xe.nextNode(), l.push({ type: 2, index: ++r });
|
|
419
|
+
s.append(u[p], it());
|
|
423
420
|
}
|
|
424
421
|
}
|
|
425
422
|
} else if (s.nodeType === 8)
|
|
426
423
|
if (s.data === ns)
|
|
427
424
|
l.push({ type: 2, index: r });
|
|
428
425
|
else {
|
|
429
|
-
let
|
|
430
|
-
for (; (
|
|
431
|
-
l.push({ type: 7, index: r }),
|
|
426
|
+
let u = -1;
|
|
427
|
+
for (; (u = s.data.indexOf(_e, u + 1)) !== -1; )
|
|
428
|
+
l.push({ type: 7, index: r }), u += _e.length - 1;
|
|
432
429
|
}
|
|
433
430
|
r++;
|
|
434
431
|
}
|
|
435
432
|
}
|
|
436
433
|
static createElement(t, e) {
|
|
437
|
-
const i =
|
|
434
|
+
const i = De.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 : De).importNode(e, !0);
|
|
462
459
|
xe.currentNode = s;
|
|
463
460
|
let r = xe.nextNode(), n = 0, a = 0, l = i[0];
|
|
464
461
|
for (; l !== void 0; ) {
|
|
465
462
|
if (n === l.index) {
|
|
466
|
-
let
|
|
467
|
-
l.type === 2 ?
|
|
463
|
+
let c;
|
|
464
|
+
l.type === 2 ? c = new ut(r, r.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (c = new _n(r, this, t)), this._$AV.push(c), l = i[++a];
|
|
468
465
|
}
|
|
469
466
|
n !== (l == null ? void 0 : l.index) && (r = xe.nextNode(), n++);
|
|
470
467
|
}
|
|
471
|
-
return xe.currentNode =
|
|
468
|
+
return xe.currentNode = De, 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 === W || t == null || t === "" ? (this._$AH !== W && this._$AR(), this._$AH = W) : 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 !== W &&
|
|
506
|
+
this._$AH !== W && ot(this._$AH) ? this._$AA.nextSibling.data = t : this.T(De.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 === W ? t = W : t !== W && (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 === W ? 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 === W ? 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 !== W);
|
|
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 : W) === Re)
|
|
595
592
|
return;
|
|
596
593
|
const i = this._$AH, s = t === W && i !== W || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, r = t !== W && (i === W || 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 Fe extends Ne {
|
|
630
|
+
class Ne extends Ie {
|
|
635
631
|
constructor() {
|
|
636
632
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
637
633
|
}
|
|
@@ -653,15 +649,15 @@ class Fe extends Ne {
|
|
|
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
|
+
Ne._$litElement$ = !0, Ne.finalized = !0, (ts = globalThis.litElementHydrateSupport) == null || ts.call(globalThis, { LitElement: Ne });
|
|
657
|
+
const Bt = globalThis.litElementPolyfillSupport;
|
|
658
|
+
Bt == null || Bt({ LitElement: Ne });
|
|
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,53 +702,53 @@ 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 = [],
|
|
710
|
-
function
|
|
705
|
+
const ds = [], si = /* @__PURE__ */ new Set(), Pi = /* @__PURE__ */ new Set();
|
|
706
|
+
function cs(o) {
|
|
711
707
|
return o && Object.prototype.hasOwnProperty.call(o, "__themes");
|
|
712
708
|
}
|
|
713
709
|
function vn(o) {
|
|
714
|
-
return
|
|
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
|
-
function
|
|
715
|
+
function us(o, t) {
|
|
720
716
|
return (o || "").split(" ").some((e) => new RegExp(`^${e.split("*").join(".*")}$`, "u").test(t));
|
|
721
717
|
}
|
|
722
718
|
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 Ne)
|
|
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 Ne)
|
|
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,8 +765,8 @@ function B(o, t, e = {}) {
|
|
|
769
765
|
styles: t,
|
|
770
766
|
include: e.include,
|
|
771
767
|
moduleId: e.moduleId
|
|
772
|
-
}), o &&
|
|
773
|
-
if (
|
|
768
|
+
}), o && Pi.forEach((i) => {
|
|
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(
|
|
776
772
|
`The custom element definition for "${i}" was finalized before a style module was registered. Ideally, import component specific style modules before importing the corresponding custom element. This warning can be suppressed by setting "window.Vaadin.suppressPostFinalizeStylesWarning = true".`
|
|
@@ -778,7 +774,7 @@ function B(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,32 +784,32 @@ 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 ke = (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
|
-
!e ||
|
|
812
|
+
!e || cs(this) || wn(this.getStylesForThis(), e);
|
|
817
813
|
}
|
|
818
814
|
/**
|
|
819
815
|
* Covers LitElement based component styling
|
|
@@ -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 = k`
|
|
|
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 = k`
|
|
|
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 @@ k`
|
|
|
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 = k`
|
|
|
1099
1095
|
}
|
|
1100
1096
|
}
|
|
1101
1097
|
`;
|
|
1102
|
-
|
|
1098
|
+
Ue("color-props", On);
|
|
1103
1099
|
const Mn = k`
|
|
1104
1100
|
[theme~='dark'] {
|
|
1105
1101
|
/* Base (background) */
|
|
@@ -1339,7 +1335,7 @@ const In = k`
|
|
|
1339
1335
|
}
|
|
1340
1336
|
`;
|
|
1341
1337
|
B("", 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 = k`
|
|
|
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, te;
|
|
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 te || (te = document.implementation.createHTMLDocument("temp"), te.base = te.createElement("base"), te.head.appendChild(te.base), te.anchor = te.createElement("a"), te.body.appendChild(te.anchor)), te.base.href = t, te.anchor.href = o, te.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 Se(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 Z(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, Fe = [], 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 = Fe.length;
|
|
3203
3199
|
for (let t = 0; t < o; t++) {
|
|
3204
|
-
let e =
|
|
3200
|
+
let e = Fe[t];
|
|
3205
3201
|
if (e)
|
|
3206
3202
|
try {
|
|
3207
3203
|
e();
|
|
@@ -3211,9 +3207,9 @@ function da() {
|
|
|
3211
3207
|
});
|
|
3212
3208
|
}
|
|
3213
3209
|
}
|
|
3214
|
-
|
|
3210
|
+
Fe.splice(0, o), Os += o;
|
|
3215
3211
|
}
|
|
3216
|
-
const
|
|
3212
|
+
const ca = {
|
|
3217
3213
|
/**
|
|
3218
3214
|
* Returns a sub-module with the async interface providing the provided
|
|
3219
3215
|
* delay.
|
|
@@ -3262,7 +3258,7 @@ const ua = {
|
|
|
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++), Fe.push(o), aa++;
|
|
3266
3262
|
},
|
|
3267
3263
|
/**
|
|
3268
3264
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -3274,9 +3270,9 @@ const ua = {
|
|
|
3274
3270
|
cancel(o) {
|
|
3275
3271
|
const t = o - Os;
|
|
3276
3272
|
if (t >= 0) {
|
|
3277
|
-
if (!
|
|
3273
|
+
if (!Fe[t])
|
|
3278
3274
|
throw new Error("invalid async handle: " + o);
|
|
3279
|
-
|
|
3275
|
+
Fe[t] = null;
|
|
3280
3276
|
}
|
|
3281
3277
|
}
|
|
3282
3278
|
};
|
|
@@ -3289,7 +3285,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3289
3285
|
Code distributed by Google as part of the polymer project is also
|
|
3290
3286
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3291
3287
|
*/
|
|
3292
|
-
const
|
|
3288
|
+
const ua = Is, Ns = j(
|
|
3293
3289
|
/**
|
|
3294
3290
|
* @template T
|
|
3295
3291
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -3498,7 +3494,7 @@ const ca = Is, Ns = j(
|
|
|
3498
3494
|
* @override
|
|
3499
3495
|
*/
|
|
3500
3496
|
_invalidateProperties() {
|
|
3501
|
-
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0,
|
|
3497
|
+
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0, ua.run(() => {
|
|
3502
3498
|
this.__dataInvalid && (this.__dataInvalid = !1, this._flushProperties());
|
|
3503
3499
|
}));
|
|
3504
3500
|
}
|
|
@@ -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 = j((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
|
|
@@ -4169,9 +4165,9 @@ const Aa = j(
|
|
|
4169
4165
|
if (!(i.localName === "script" || i.localName === "style"))
|
|
4170
4166
|
for (let n = i.firstChild, a = 0, l; n; n = l) {
|
|
4171
4167
|
if (n.localName == "template" && (n = va(n)), l = n.nextSibling, n.nodeType === Node.TEXT_NODE) {
|
|
4172
|
-
let
|
|
4173
|
-
for (;
|
|
4174
|
-
n.textContent +=
|
|
4168
|
+
let c = l;
|
|
4169
|
+
for (; c && c.nodeType === Node.TEXT_NODE; )
|
|
4170
|
+
n.textContent += c.textContent, l = c.nextSibling, i.removeChild(c), c = l;
|
|
4175
4171
|
if (s.stripWhiteSpace && !n.textContent.trim()) {
|
|
4176
4172
|
i.removeChild(n);
|
|
4177
4173
|
continue;
|
|
@@ -4302,9 +4298,9 @@ const Aa = j(
|
|
|
4302
4298
|
a.__noInsertionPoint = !s.hasInsertionPoint;
|
|
4303
4299
|
let l = a.nodeList = new Array(r.length);
|
|
4304
4300
|
a.$ = {};
|
|
4305
|
-
for (let d = 0,
|
|
4306
|
-
let p = l[d] = zs(a,
|
|
4307
|
-
ba(this, a.$, p,
|
|
4301
|
+
for (let d = 0, c = r.length, u; d < c && (u = r[d]); d++) {
|
|
4302
|
+
let p = l[d] = zs(a, u);
|
|
4303
|
+
ba(this, a.$, p, u), xa(this, p, u, s), wa(this, p, u);
|
|
4308
4304
|
}
|
|
4309
4305
|
return a = /** @type {!StampedTemplate} */
|
|
4310
4306
|
a, a;
|
|
@@ -4367,8 +4363,8 @@ const Aa = j(
|
|
|
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 = [], P = {
|
|
4372
4368
|
COMPUTE: "__computeEffects",
|
|
4373
4369
|
REFLECT: "__reflectEffects",
|
|
4374
4370
|
NOTIFY: "__notifyEffects",
|
|
@@ -4376,7 +4372,7 @@ const ut = [], P = {
|
|
|
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 ?
|
|
4397
|
-
if (
|
|
4398
|
-
for (let
|
|
4399
|
-
(!m.info || m.info.lastRun !== a) && (!s ||
|
|
4392
|
+
let d = s ? Se(l) : l, c = t[d];
|
|
4393
|
+
if (c)
|
|
4394
|
+
for (let u = 0, p = c.length, m; u < p && (m = c[u]); u++)
|
|
4395
|
+
(!m.info || m.info.lastRun !== a) && (!s || Ni(l, m.trigger)) && (m.info && (m.info.lastRun = a), m.fn(o, l, e, i, m.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 ?
|
|
4407
|
-
if (
|
|
4408
|
-
for (let
|
|
4409
|
-
(!m.info || m.info.lastRun !== e) && (!n ||
|
|
4402
|
+
let l = !1, d = n ? Se(i) : i, c = t[d];
|
|
4403
|
+
if (c)
|
|
4404
|
+
for (let u = 0, p = c.length, m; u < p && (m = c[u]); u++)
|
|
4405
|
+
(!m.info || m.info.lastRun !== e) && (!n || Ni(i, m.trigger)) && (m.info && (m.info.lastRun = e), m.fn(o, i, s, r, m.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[P.NOTIFY], n, a =
|
|
4423
|
+
let r = o[P.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 = Se(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 ? Se(t) : t) != t ? t : null, l = a ? Z(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[P.READ_ONLY] || !t[P.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[P.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 ? Se(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,21 +4564,21 @@ 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
|
-
let { event: d, negate:
|
|
4580
|
-
a.listenerEvent = d ||
|
|
4575
|
+
let { event: d, negate: c } = a.parts[0];
|
|
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++) {
|
|
4584
|
-
let
|
|
4585
|
-
|
|
4580
|
+
let c = a.parts[d];
|
|
4581
|
+
c.compoundIndex = d, La(o, t, a, c, l);
|
|
4586
4582
|
}
|
|
4587
4583
|
}
|
|
4588
4584
|
function La(o, t, e, i, s) {
|
|
@@ -4604,15 +4600,15 @@ function La(o, t, e, i, s) {
|
|
|
4604
4600
|
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
|
-
let
|
|
4608
|
-
t =
|
|
4603
|
+
let c = e[t];
|
|
4604
|
+
t = at(d.source, l.target, t), a._setPendingPropertyOrPath(t, c, !1, !0) && o._enqueueClient(a);
|
|
4609
4605
|
} else {
|
|
4610
|
-
let
|
|
4611
|
-
|
|
4606
|
+
let c = s.evaluator._evaluateBinding(o, d, t, e, i, r);
|
|
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 = Se(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 = Z(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 = j((o) => {
|
|
4759
4755
|
const t = Aa(fa(o));
|
|
4760
4756
|
class e extends t {
|
|
4761
4757
|
constructor() {
|
|
@@ -4772,8 +4768,8 @@ const zi = j((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 = j((o) => {
|
|
|
4817
4813
|
*/
|
|
4818
4814
|
_addPropertyEffect(s, r, n) {
|
|
4819
4815
|
this._createPropertyAccessor(s, r == P.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 = j((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 = j((o) => {
|
|
|
4931
4927
|
* @protected
|
|
4932
4928
|
*/
|
|
4933
4929
|
_setPendingPropertyOrPath(s, r, n, a) {
|
|
4934
|
-
if (a ||
|
|
4930
|
+
if (a || Se(Array.isArray(s) ? s[0] : s) !== s) {
|
|
4935
4931
|
if (!a) {
|
|
4936
4932
|
let l = Z(this, s);
|
|
4937
4933
|
if (s = /** @type {string} */
|
|
@@ -5024,7 +5020,7 @@ const zi = j((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[P.NOTIFY] && this[P.NOTIFY][s]) && (this.__dataToNotify = this.__dataToNotify || {}, this.__dataToNotify[s] = n), !0) : !1;
|
|
5029
5025
|
}
|
|
5030
5026
|
/**
|
|
@@ -5160,7 +5156,7 @@ const zi = j((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[P.REFLECT], r, n, a), Ze(this, this[P.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,20 +5170,20 @@ const zi = j((o) => {
|
|
|
5174
5170
|
* @protected
|
|
5175
5171
|
*/
|
|
5176
5172
|
_propagatePropertyChanges(s, r, n) {
|
|
5177
|
-
this[P.PROPAGATE] &&
|
|
5173
|
+
this[P.PROPAGATE] && Ze(this, this[P.PROPAGATE], s, r, n), this.__templateInfo && this._runEffectsForTemplate(this.__templateInfo, s, r, n);
|
|
5178
5174
|
}
|
|
5179
5175
|
_runEffectsForTemplate(s, r, n, a) {
|
|
5180
|
-
const l = (d,
|
|
5181
|
-
|
|
5176
|
+
const l = (d, c) => {
|
|
5177
|
+
Ze(
|
|
5182
5178
|
this,
|
|
5183
5179
|
s.propertyEffects,
|
|
5184
5180
|
d,
|
|
5185
5181
|
n,
|
|
5186
|
-
|
|
5182
|
+
c,
|
|
5187
5183
|
s.nodeList
|
|
5188
5184
|
);
|
|
5189
|
-
for (let
|
|
5190
|
-
this._runEffectsForTemplate(
|
|
5185
|
+
for (let u = s.firstChild; u; u = u.nextSibling)
|
|
5186
|
+
this._runEffectsForTemplate(u, d, n, c);
|
|
5191
5187
|
};
|
|
5192
5188
|
s.runEffects ? s.runEffects(l, r, a) : l(r, a);
|
|
5193
5189
|
}
|
|
@@ -5202,7 +5198,7 @@ const zi = j((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 = j((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 = j((o) => {
|
|
|
5330
5326
|
/** @type {Array}*/
|
|
5331
5327
|
Z(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 = j((o) => {
|
|
|
5351
5347
|
/** @type {Array} */
|
|
5352
5348
|
Z(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
|
|
@@ -5377,8 +5373,8 @@ const zi = j((o) => {
|
|
|
5377
5373
|
Z(this, s, l)
|
|
5378
5374
|
);
|
|
5379
5375
|
r < 0 ? r = d.length - Math.floor(-r) : r && (r = Math.floor(r));
|
|
5380
|
-
let
|
|
5381
|
-
return arguments.length === 2 ?
|
|
5376
|
+
let c;
|
|
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 = j((o) => {
|
|
|
5399
5395
|
/** @type {Array} */
|
|
5400
5396
|
Z(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 = j((o) => {
|
|
|
5421
5417
|
/** @type {Array} */
|
|
5422
5418
|
Z(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 = j((o) => {
|
|
|
5443
5439
|
let a = { path: "" };
|
|
5444
5440
|
r = Z(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 = j((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, P.OBSERVE,
|
|
5511
|
+
Eo(this, n, P.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 = j((o) => {
|
|
|
5528
5524
|
this._addPropertyEffect(s, P.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 = j((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, P.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
|
|
@@ -5588,20 +5584,20 @@ const zi = j((o) => {
|
|
|
5588
5584
|
*/
|
|
5589
5585
|
_marshalArgs(s, r, n) {
|
|
5590
5586
|
const a = this.__data, l = [];
|
|
5591
|
-
for (let d = 0,
|
|
5592
|
-
let { name:
|
|
5587
|
+
for (let d = 0, c = s.length; d < c; d++) {
|
|
5588
|
+
let { name: u, structured: p, wildcard: m, value: _, literal: x } = s[d];
|
|
5593
5589
|
if (!x)
|
|
5594
5590
|
if (m) {
|
|
5595
|
-
const S =
|
|
5591
|
+
const S = nt(u, r), I = Po(a, n, S ? r : u);
|
|
5596
5592
|
_ = {
|
|
5597
|
-
path: S ? r :
|
|
5593
|
+
path: S ? r : u,
|
|
5598
5594
|
value: I,
|
|
5599
|
-
base: S ? Z(a,
|
|
5595
|
+
base: S ? Z(a, u) : I
|
|
5600
5596
|
};
|
|
5601
5597
|
} else
|
|
5602
|
-
_ = p ? Po(a, n,
|
|
5603
|
-
if (
|
|
5604
|
-
return
|
|
5598
|
+
_ = p ? Po(a, n, u) : a[u];
|
|
5599
|
+
if (ni && !this._overrideLegacyUndefined && _ === void 0 && s.length > 1)
|
|
5600
|
+
return dt;
|
|
5605
5601
|
l[d] = _;
|
|
5606
5602
|
}
|
|
5607
5603
|
return l;
|
|
@@ -5875,9 +5871,9 @@ const zi = j((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);
|
|
@@ -5898,9 +5894,9 @@ const zi = j((o) => {
|
|
|
5898
5894
|
const r = s.templateInfo, { previousSibling: n, nextSibling: a, parent: l } = r;
|
|
5899
5895
|
n ? n.nextSibling = a : l && (l.firstChild = a), a ? a.previousSibling = n : l && (l.lastChild = n), r.nextSibling = r.previousSibling = null;
|
|
5900
5896
|
let d = r.childNodes;
|
|
5901
|
-
for (let
|
|
5902
|
-
let
|
|
5903
|
-
K(K(
|
|
5897
|
+
for (let c = 0; c < d.length; c++) {
|
|
5898
|
+
let u = d[c];
|
|
5899
|
+
K(K(u).parentNode).removeChild(u);
|
|
5904
5900
|
}
|
|
5905
5901
|
}
|
|
5906
5902
|
/**
|
|
@@ -5929,7 +5925,7 @@ const zi = j((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
|
}
|
|
@@ -5955,10 +5951,10 @@ const zi = j((o) => {
|
|
|
5955
5951
|
static _parseTemplateNodeAttribute(s, r, n, a, l) {
|
|
5956
5952
|
let d = this._parseBindings(l, r);
|
|
5957
5953
|
if (d) {
|
|
5958
|
-
let
|
|
5959
|
-
Ta.test(a) ?
|
|
5954
|
+
let c = a, u = "property";
|
|
5955
|
+
Ta.test(a) ? u = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), u = "attribute");
|
|
5960
5956
|
let p = So(d);
|
|
5961
|
-
return p &&
|
|
5957
|
+
return p && u == "attribute" && (a == "class" && s.hasAttribute("class") && (p += " " + s.getAttribute(a)), s.setAttribute(a, p)), 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, p), !0;
|
|
5962
5958
|
} else
|
|
5963
5959
|
return t._parseTemplateNodeAttribute.call(
|
|
5964
5960
|
this,
|
|
@@ -5990,16 +5986,16 @@ const zi = j((o) => {
|
|
|
5990
5986
|
r,
|
|
5991
5987
|
n
|
|
5992
5988
|
);
|
|
5993
|
-
const l = s.parentNode, d = n.templateInfo,
|
|
5994
|
-
mo && (
|
|
5989
|
+
const l = s.parentNode, d = n.templateInfo, c = l.localName === "dom-if", u = l.localName === "dom-repeat";
|
|
5990
|
+
mo && (c || u) && (l.removeChild(s), n = n.parentInfo, n.templateInfo = d, n.noted = !0, a = !1);
|
|
5995
5991
|
let p = d.hostProps;
|
|
5996
|
-
if (Gn &&
|
|
5992
|
+
if (Gn && c)
|
|
5997
5993
|
p && (r.hostProps = Object.assign(r.hostProps || {}, p), mo || (n.parentInfo.noted = !0));
|
|
5998
5994
|
else {
|
|
5999
5995
|
let m = "{";
|
|
6000
5996
|
for (let _ in p) {
|
|
6001
5997
|
let x = [{ mode: m, source: _, dependencies: [_], hostProp: !0 }];
|
|
6002
|
-
|
|
5998
|
+
Ut(this, r, n, "property", "_host_" + _, x);
|
|
6003
5999
|
}
|
|
6004
6000
|
}
|
|
6005
6001
|
return a;
|
|
@@ -6053,9 +6049,9 @@ const zi = j((o) => {
|
|
|
6053
6049
|
let n = [], a = 0, l;
|
|
6054
6050
|
for (; (l = ko.exec(s)) !== null; ) {
|
|
6055
6051
|
l.index > a && n.push({ literal: s.slice(a, l.index) });
|
|
6056
|
-
let d = l[1][0],
|
|
6057
|
-
d == "{" && (_ =
|
|
6058
|
-
let x =
|
|
6052
|
+
let d = l[1][0], c = !!l[2], u = l[3].trim(), p = !1, m = "", _ = -1;
|
|
6053
|
+
d == "{" && (_ = u.indexOf("::")) > 0 && (m = u.substring(_ + 2), u = u.substring(0, _), p = !0);
|
|
6054
|
+
let x = jt(u), S = [];
|
|
6059
6055
|
if (x) {
|
|
6060
6056
|
let { args: I, methodName: D } = x;
|
|
6061
6057
|
for (let $ = 0; $ < I.length; $++) {
|
|
@@ -6065,11 +6061,11 @@ const zi = j((o) => {
|
|
|
6065
6061
|
let M = r.dynamicFns;
|
|
6066
6062
|
(M && M[D] || x.static) && (S.push(D), x.dynamicFn = !0);
|
|
6067
6063
|
} else
|
|
6068
|
-
S.push(
|
|
6064
|
+
S.push(u);
|
|
6069
6065
|
n.push({
|
|
6070
|
-
source:
|
|
6066
|
+
source: u,
|
|
6071
6067
|
mode: d,
|
|
6072
|
-
negate:
|
|
6068
|
+
negate: c,
|
|
6073
6069
|
customEvent: p,
|
|
6074
6070
|
signature: x,
|
|
6075
6071
|
dependencies: S,
|
|
@@ -6100,12 +6096,12 @@ const zi = j((o) => {
|
|
|
6100
6096
|
* @nocollapse
|
|
6101
6097
|
*/
|
|
6102
6098
|
static _evaluateBinding(s, r, n, a, l, d) {
|
|
6103
|
-
let
|
|
6104
|
-
return r.signature ?
|
|
6099
|
+
let c;
|
|
6100
|
+
return r.signature ? c = di(s, n, a, l, r.signature) : n != r.source ? c = Z(s, r.source) : d && ai(n) ? c = Z(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,16 +6280,16 @@ const nl = j((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 = j((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)
|
|
6291
6287
|
)) {
|
|
6292
6288
|
l.__propertyDefaults = null;
|
|
6293
6289
|
let d = l._properties;
|
|
6294
|
-
for (let
|
|
6295
|
-
let
|
|
6296
|
-
"value" in
|
|
6290
|
+
for (let c in d) {
|
|
6291
|
+
let u = d[c];
|
|
6292
|
+
"value" in u && (l.__propertyDefaults = l.__propertyDefaults || {}, l.__propertyDefaults[c] = u);
|
|
6297
6293
|
}
|
|
6298
6294
|
}
|
|
6299
6295
|
return l.__propertyDefaults;
|
|
@@ -6308,23 +6304,23 @@ const al = "3.5.2", Oo = window.ShadyCSS && window.ShadyCSS.cssBuild, ll = j((o)
|
|
|
6308
6304
|
l.observers
|
|
6309
6305
|
) : null), l.__ownObservers;
|
|
6310
6306
|
}
|
|
6311
|
-
function s(l, d,
|
|
6312
|
-
|
|
6307
|
+
function s(l, d, c, u) {
|
|
6308
|
+
c.computed && (c.readOnly = !0), c.computed && (l._hasReadOnlyEffect(d) ? console.warn(`Cannot redefine computed property '${d}'.`) : l._createComputedProperty(d, c.computed, u)), c.readOnly && !l._hasReadOnlyEffect(d) ? l._createReadOnlyProperty(d, !c.computed) : c.readOnly === !1 && l._hasReadOnlyEffect(d) && console.warn(`Cannot make readOnly property '${d}' non-readOnly.`), c.reflectToAttribute && !l._hasReflectEffect(d) ? l._createReflectedProperty(d) : c.reflectToAttribute === !1 && l._hasReflectEffect(d) && console.warn(`Cannot make reflected property '${d}' non-reflected.`), c.notify && !l._hasNotifyEffect(d) ? l._createNotifyingProperty(d) : c.notify === !1 && l._hasNotifyEffect(d) && console.warn(`Cannot make notify property '${d}' non-notify.`), c.observer && l._createPropertyObserver(d, c.observer, u[c.observer]), l._addPropertyToAttributeMap(d);
|
|
6313
6309
|
}
|
|
6314
|
-
function r(l, d,
|
|
6310
|
+
function r(l, d, c, u) {
|
|
6315
6311
|
if (!Oo) {
|
|
6316
|
-
const p = d.content.querySelectorAll("style"), m = Es(d), _ = oa(
|
|
6312
|
+
const p = d.content.querySelectorAll("style"), m = Es(d), _ = oa(c), x = d.content.firstElementChild;
|
|
6317
6313
|
for (let I = 0; I < _.length; I++) {
|
|
6318
6314
|
let D = _[I];
|
|
6319
|
-
D.textContent = l._processStyleText(D.textContent,
|
|
6315
|
+
D.textContent = l._processStyleText(D.textContent, u), d.content.insertBefore(D, x);
|
|
6320
6316
|
}
|
|
6321
6317
|
let S = 0;
|
|
6322
6318
|
for (let I = 0; I < m.length; I++) {
|
|
6323
6319
|
let D = m[I], M = p[S];
|
|
6324
|
-
M !== D ? (D = D.cloneNode(!0), M.parentNode.insertBefore(D, M)) : S++, D.textContent = l._processStyleText(D.textContent,
|
|
6320
|
+
M !== D ? (D = D.cloneNode(!0), M.parentNode.insertBefore(D, M)) : S++, D.textContent = l._processStyleText(D.textContent, u);
|
|
6325
6321
|
}
|
|
6326
6322
|
}
|
|
6327
|
-
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(d,
|
|
6323
|
+
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(d, c), Jn && Oo && jn) {
|
|
6328
6324
|
const p = d.content.querySelectorAll("style");
|
|
6329
6325
|
if (p) {
|
|
6330
6326
|
let m = "";
|
|
@@ -6336,8 +6332,8 @@ const al = "3.5.2", Oo = window.ShadyCSS && window.ShadyCSS.cssBuild, ll = j((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
|
}
|
|
@@ -6380,12 +6376,12 @@ const al = "3.5.2", Oo = window.ShadyCSS && window.ShadyCSS.cssBuild, ll = j((o)
|
|
|
6380
6376
|
* @nocollapse
|
|
6381
6377
|
*/
|
|
6382
6378
|
static createProperties(d) {
|
|
6383
|
-
for (let
|
|
6379
|
+
for (let c in d)
|
|
6384
6380
|
s(
|
|
6385
6381
|
/** @type {?} */
|
|
6386
6382
|
this.prototype,
|
|
6387
|
-
|
|
6388
|
-
d[
|
|
6383
|
+
c,
|
|
6384
|
+
d[c],
|
|
6389
6385
|
d
|
|
6390
6386
|
);
|
|
6391
6387
|
}
|
|
@@ -6401,10 +6397,10 @@ const al = "3.5.2", Oo = window.ShadyCSS && window.ShadyCSS.cssBuild, ll = j((o)
|
|
|
6401
6397
|
* @protected
|
|
6402
6398
|
* @nocollapse
|
|
6403
6399
|
*/
|
|
6404
|
-
static createObservers(d,
|
|
6405
|
-
const
|
|
6400
|
+
static createObservers(d, c) {
|
|
6401
|
+
const u = this.prototype;
|
|
6406
6402
|
for (let p = 0; p < d.length; p++)
|
|
6407
|
-
|
|
6403
|
+
u._createMethodObserver(d[p], c);
|
|
6408
6404
|
}
|
|
6409
6405
|
/**
|
|
6410
6406
|
* Returns the template that will be stamped into this element's shadow root.
|
|
@@ -6506,13 +6502,13 @@ const al = "3.5.2", Oo = window.ShadyCSS && window.ShadyCSS.cssBuild, ll = j((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
|
|
6507
|
+
const c = rt.import(
|
|
6512
6508
|
/** @type {PolymerElementConstructor} */
|
|
6513
6509
|
this.is
|
|
6514
6510
|
);
|
|
6515
|
-
this._importPath =
|
|
6511
|
+
this._importPath = c && c.assetpath || Object.getPrototypeOf(
|
|
6516
6512
|
/** @type {PolymerElementConstructor}*/
|
|
6517
6513
|
this.prototype
|
|
6518
6514
|
).constructor.importPath;
|
|
@@ -6542,11 +6538,11 @@ const al = "3.5.2", Oo = window.ShadyCSS && window.ShadyCSS.cssBuild, ll = j((o)
|
|
|
6542
6538
|
), super._initializeProperties(), this.rootPath = Yn, this.importPath = this.constructor.importPath;
|
|
6543
6539
|
let d = e(this.constructor);
|
|
6544
6540
|
if (d)
|
|
6545
|
-
for (let
|
|
6546
|
-
let
|
|
6547
|
-
if (this._canApplyPropertyDefault(
|
|
6548
|
-
let p = typeof
|
|
6549
|
-
this._hasAccessor(
|
|
6541
|
+
for (let c in d) {
|
|
6542
|
+
let u = d[c];
|
|
6543
|
+
if (this._canApplyPropertyDefault(c)) {
|
|
6544
|
+
let p = typeof u.value == "function" ? u.value.call(this) : u.value;
|
|
6545
|
+
this._hasAccessor(c) ? this._setPendingProperty(c, p, !0) : this[c] = p;
|
|
6550
6546
|
}
|
|
6551
6547
|
}
|
|
6552
6548
|
}
|
|
@@ -6570,8 +6566,8 @@ const al = "3.5.2", Oo = window.ShadyCSS && window.ShadyCSS.cssBuild, ll = j((o)
|
|
|
6570
6566
|
* @protected
|
|
6571
6567
|
* @nocollapse
|
|
6572
6568
|
*/
|
|
6573
|
-
static _processStyleText(d,
|
|
6574
|
-
return
|
|
6569
|
+
static _processStyleText(d, c) {
|
|
6570
|
+
return Oi(d, c);
|
|
6575
6571
|
}
|
|
6576
6572
|
/**
|
|
6577
6573
|
* Configures an element `proto` to function with a given `template`.
|
|
@@ -6584,11 +6580,11 @@ const al = "3.5.2", Oo = window.ShadyCSS && window.ShadyCSS.cssBuild, ll = j((o)
|
|
|
6584
6580
|
* @nocollapse
|
|
6585
6581
|
*/
|
|
6586
6582
|
static _finalizeTemplate(d) {
|
|
6587
|
-
const
|
|
6588
|
-
if (
|
|
6589
|
-
|
|
6590
|
-
const
|
|
6591
|
-
r(this,
|
|
6583
|
+
const c = this.prototype._template;
|
|
6584
|
+
if (c && !c.__polymerFinalized) {
|
|
6585
|
+
c.__polymerFinalized = !0;
|
|
6586
|
+
const u = this.importPath, p = u ? tt(u) : "";
|
|
6587
|
+
r(this, c, d, p), this.prototype._bindTemplate(c);
|
|
6592
6588
|
}
|
|
6593
6589
|
}
|
|
6594
6590
|
/**
|
|
@@ -6648,9 +6644,9 @@ const al = "3.5.2", Oo = window.ShadyCSS && window.ShadyCSS.cssBuild, ll = j((o)
|
|
|
6648
6644
|
* @return {ShadowRoot} node to which the dom has been attached.
|
|
6649
6645
|
*/
|
|
6650
6646
|
_attachDom(d) {
|
|
6651
|
-
const
|
|
6652
|
-
if (
|
|
6653
|
-
return d ? (
|
|
6647
|
+
const c = K(this);
|
|
6648
|
+
if (c.attachShadow)
|
|
6649
|
+
return d ? (c.shadowRoot || (c.attachShadow({ mode: "open", shadyUpgradeFragment: d }), c.shadowRoot.appendChild(d), this.constructor._styleSheet && (c.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), qn && window.ShadyDOM && window.ShadyDOM.flushInitial(c.shadowRoot), c.shadowRoot) : null;
|
|
6654
6650
|
throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.");
|
|
6655
6651
|
}
|
|
6656
6652
|
/**
|
|
@@ -6698,8 +6694,8 @@ const al = "3.5.2", Oo = window.ShadyCSS && window.ShadyCSS.cssBuild, ll = j((o)
|
|
|
6698
6694
|
* to the element's `importPath`
|
|
6699
6695
|
* @return {string} Rewritten URL relative to base
|
|
6700
6696
|
*/
|
|
6701
|
-
resolveUrl(d,
|
|
6702
|
-
return !
|
|
6697
|
+
resolveUrl(d, 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
|
|
@@ -6714,12 +6710,12 @@ const al = "3.5.2", Oo = window.ShadyCSS && window.ShadyCSS.cssBuild, ll = j((o)
|
|
|
6714
6710
|
* @suppress {missingProperties} Interfaces in closure do not inherit statics, but classes do
|
|
6715
6711
|
* @nocollapse
|
|
6716
6712
|
*/
|
|
6717
|
-
static _parseTemplateContent(d,
|
|
6718
|
-
return
|
|
6713
|
+
static _parseTemplateContent(d, c, u) {
|
|
6714
|
+
return c.dynamicFns = c.dynamicFns || this._properties, t._parseTemplateContent.call(
|
|
6719
6715
|
this,
|
|
6720
6716
|
d,
|
|
6721
|
-
|
|
6722
|
-
|
|
6717
|
+
c,
|
|
6718
|
+
u
|
|
6723
6719
|
);
|
|
6724
6720
|
}
|
|
6725
6721
|
/**
|
|
@@ -6734,18 +6730,18 @@ const al = "3.5.2", Oo = window.ShadyCSS && window.ShadyCSS.cssBuild, ll = j((o)
|
|
|
6734
6730
|
* @suppress {missingProperties} Interfaces in closure do not inherit statics, but classes do
|
|
6735
6731
|
* @nocollapse
|
|
6736
6732
|
*/
|
|
6737
|
-
static _addTemplatePropertyEffect(d,
|
|
6738
|
-
return Cs && !(
|
|
6733
|
+
static _addTemplatePropertyEffect(d, c, u) {
|
|
6734
|
+
return Cs && !(c in this._properties) && // Methods used in templates with no dependencies (or only literal
|
|
6739
6735
|
// dependencies) become accessors with template effects; ignore these
|
|
6740
|
-
!(
|
|
6736
|
+
!(u.info.part.signature && u.info.part.signature.static) && // Warnings for bindings added to nested templates are handled by
|
|
6741
6737
|
// templatizer so ignore both the host-to-template bindings
|
|
6742
6738
|
// (`hostProp`) and TemplateInstance-to-child bindings
|
|
6743
6739
|
// (`nestedTemplate`)
|
|
6744
|
-
!
|
|
6740
|
+
!u.info.part.hostProp && !d.nestedTemplate && console.warn(`Property '${c}' used in template but not declared in 'properties'; attribute will not be observed.`), t._addTemplatePropertyEffect.call(
|
|
6745
6741
|
this,
|
|
6746
6742
|
d,
|
|
6747
|
-
|
|
6748
|
-
|
|
6743
|
+
c,
|
|
6744
|
+
u
|
|
6749
6745
|
);
|
|
6750
6746
|
}
|
|
6751
6747
|
}
|
|
@@ -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 Pe = function(t, ...e) {
|
|
6808
6804
|
Ys(t, e);
|
|
6809
6805
|
const i = (
|
|
6810
6806
|
/** @type {!HTMLTemplateElement} */
|
|
@@ -6834,22 +6830,22 @@ const ve = ll(HTMLElement);
|
|
|
6834
6830
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6835
6831
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6836
6832
|
*/
|
|
6837
|
-
const
|
|
6833
|
+
const ue = [];
|
|
6838
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
|
-
function
|
|
6845
|
-
const o =
|
|
6846
|
-
|
|
6840
|
+
function cl() {
|
|
6841
|
+
const o = ui();
|
|
6842
|
+
ue.forEach((t) => {
|
|
6847
6843
|
ci(t, o);
|
|
6848
6844
|
});
|
|
6849
6845
|
}
|
|
6850
|
-
const
|
|
6851
|
-
|
|
6852
|
-
const
|
|
6846
|
+
const ul = new MutationObserver(cl);
|
|
6847
|
+
ul.observe(document.documentElement, { attributes: !0, attributeFilter: ["dir"] });
|
|
6848
|
+
const Mt = (o) => class extends o {
|
|
6853
6849
|
static get properties() {
|
|
6854
6850
|
return {
|
|
6855
6851
|
/**
|
|
@@ -6875,18 +6871,18 @@ const It = (o) => class extends o {
|
|
|
6875
6871
|
}
|
|
6876
6872
|
/** @protected */
|
|
6877
6873
|
connectedCallback() {
|
|
6878
|
-
super.connectedCallback(), (!this.hasAttribute("dir") || this.__restoreSubscription) && (this.__subscribe(), ci(this,
|
|
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 =
|
|
6880
|
+
const r = ui(), n = s === r && ue.indexOf(this) === -1, a = !s && i && ue.indexOf(this) === -1;
|
|
6885
6881
|
n || a ? (this.__subscribe(), ci(this, r, s)) : s !== r && i === r && this.__unsubscribe();
|
|
6886
6882
|
}
|
|
6887
6883
|
/** @protected */
|
|
6888
6884
|
disconnectedCallback() {
|
|
6889
|
-
super.disconnectedCallback(), this.__restoreSubscription =
|
|
6885
|
+
super.disconnectedCallback(), this.__restoreSubscription = ue.includes(this), this.__unsubscribe();
|
|
6890
6886
|
}
|
|
6891
6887
|
/** @protected */
|
|
6892
6888
|
_valueToNodeAttribute(e, i, s) {
|
|
@@ -6898,11 +6894,11 @@ const It = (o) => class extends o {
|
|
|
6898
6894
|
}
|
|
6899
6895
|
/** @private */
|
|
6900
6896
|
__subscribe() {
|
|
6901
|
-
|
|
6897
|
+
ue.includes(this) || ue.push(this);
|
|
6902
6898
|
}
|
|
6903
6899
|
/** @private */
|
|
6904
6900
|
__unsubscribe() {
|
|
6905
|
-
|
|
6901
|
+
ue.includes(this) && ue.splice(ue.indexOf(this), 1);
|
|
6906
6902
|
}
|
|
6907
6903
|
};
|
|
6908
6904
|
/**
|
|
@@ -7022,12 +7018,12 @@ const pl = k`
|
|
|
7022
7018
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7023
7019
|
*/
|
|
7024
7020
|
B("vaadin-input-container", pl, { moduleId: "vaadin-input-container-styles" });
|
|
7025
|
-
class fl extends hl(
|
|
7021
|
+
class fl extends hl(ke(Mt(ve))) {
|
|
7026
7022
|
static get is() {
|
|
7027
7023
|
return "vaadin-input-container";
|
|
7028
7024
|
}
|
|
7029
7025
|
static get template() {
|
|
7030
|
-
return
|
|
7026
|
+
return Pe`
|
|
7031
7027
|
<slot name="prefix"></slot>
|
|
7032
7028
|
<slot></slot>
|
|
7033
7029
|
<slot name="suffix"></slot>
|
|
@@ -7105,29 +7101,29 @@ const ml = k`
|
|
|
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,49 +7240,49 @@ 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 Me = /* @__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 =
|
|
7264
|
-
if (!
|
|
7258
|
+
gt[e] || (gt[e] = /* @__PURE__ */ new WeakMap());
|
|
7259
|
+
const r = gt[e], n = [], a = /* @__PURE__ */ new Set(), l = new Set(s), d = (u) => {
|
|
7260
|
+
if (!u || a.has(u))
|
|
7265
7261
|
return;
|
|
7266
|
-
a.add(
|
|
7267
|
-
const p =
|
|
7268
|
-
p && d(p), d(
|
|
7262
|
+
a.add(u);
|
|
7263
|
+
const p = u.assignedSlot;
|
|
7264
|
+
p && d(p), d(u.parentNode || u.host);
|
|
7269
7265
|
};
|
|
7270
7266
|
s.forEach(d);
|
|
7271
|
-
const
|
|
7272
|
-
if (!
|
|
7267
|
+
const c = (u) => {
|
|
7268
|
+
if (!u || l.has(u))
|
|
7273
7269
|
return;
|
|
7274
|
-
const p =
|
|
7275
|
-
(p ? [...
|
|
7270
|
+
const p = u.shadowRoot;
|
|
7271
|
+
(p ? [...u.children, ...p.children] : [...u.children]).forEach((_) => {
|
|
7276
7272
|
if (!["template", "script", "style"].includes(_.localName))
|
|
7277
7273
|
if (a.has(_))
|
|
7278
|
-
|
|
7274
|
+
c(_);
|
|
7279
7275
|
else {
|
|
7280
|
-
const x = _.getAttribute(i), S = x !== null && x !== "false", I = (
|
|
7281
|
-
|
|
7276
|
+
const x = _.getAttribute(i), S = x !== null && x !== "false", I = (Me.get(_) || 0) + 1, D = (r.get(_) || 0) + 1;
|
|
7277
|
+
Me.set(_, I), r.set(_, D), n.push(_), I === 1 && S && _t.set(_, !0), D === 1 && _.setAttribute(e, "true"), S || _.setAttribute(i, "true");
|
|
7282
7278
|
}
|
|
7283
7279
|
});
|
|
7284
7280
|
};
|
|
7285
|
-
return
|
|
7286
|
-
n.forEach((
|
|
7287
|
-
const p =
|
|
7288
|
-
|
|
7289
|
-
}),
|
|
7281
|
+
return c(t), a.clear(), Yt += 1, () => {
|
|
7282
|
+
n.forEach((u) => {
|
|
7283
|
+
const p = Me.get(u) - 1, m = r.get(u) - 1;
|
|
7284
|
+
Me.set(u, p), r.set(u, m), p || (_t.has(u) ? _t.delete(u) : u.removeAttribute(i)), m || u.removeAttribute(e);
|
|
7285
|
+
}), Yt -= 1, Yt || (Me = /* @__PURE__ */ new WeakMap(), Me = /* @__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 = j((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 = j((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() === "";
|
|
@@ -7955,10 +7951,10 @@ function Vl(o, t) {
|
|
|
7955
7951
|
}
|
|
7956
7952
|
function r(n = !1, a = 1) {
|
|
7957
7953
|
s();
|
|
7958
|
-
const { left: l, top: d, width:
|
|
7959
|
-
if (n || t(), !
|
|
7954
|
+
const { left: l, top: d, width: c, height: u } = o.getBoundingClientRect();
|
|
7955
|
+
if (n || t(), !c || !u)
|
|
7960
7956
|
return;
|
|
7961
|
-
const p = Math.floor(d), m = Math.floor(i.clientWidth - (l +
|
|
7957
|
+
const p = Math.floor(d), m = Math.floor(i.clientWidth - (l + c)), _ = Math.floor(i.clientHeight - (d + u)), x = Math.floor(l), I = {
|
|
7962
7958
|
rootMargin: `${-p}px ${-m}px ${-_}px ${-x}px`,
|
|
7963
7959
|
threshold: Math.max(0, Math.min(1, a)) || 1
|
|
7964
7960
|
};
|
|
@@ -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,12 +8170,12 @@ 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
|
|
8181
8177
|
__shouldAlignStart(e, i, s, r, n, a, l) {
|
|
8182
|
-
const d = s - e[a ? l.end : l.start] - r[l.end],
|
|
8178
|
+
const d = s - e[a ? l.end : l.start] - r[l.end], c = e[a ? l.start : l.end] - r[l.start], u = n ? d : c, m = u > (n ? c : d) || u > i;
|
|
8183
8179
|
return n === m;
|
|
8184
8180
|
}
|
|
8185
8181
|
/**
|
|
@@ -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;
|
|
@@ -8216,7 +8212,7 @@ const Gt = {
|
|
|
8216
8212
|
*/
|
|
8217
8213
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
8218
8214
|
__calculatePositionInOneDimension(e, i, s, r, n, a) {
|
|
8219
|
-
const l = a ? r.start : r.end, d = a ? r.end : r.start,
|
|
8215
|
+
const l = a ? r.start : r.end, d = a ? r.end : r.start, c = parseFloat(n.style[l] || getComputedStyle(n)[l]), u = this.__adjustBottomProperty(l, r, c), p = i[a ? r.start : r.end] - e[s === a ? r.end : r.start], m = u ? `${u}px` : `${c + p * (a ? -1 : 1)}px`;
|
|
8220
8216
|
return {
|
|
8221
8217
|
[l]: m,
|
|
8222
8218
|
[d]: ""
|
|
@@ -8277,12 +8273,12 @@ const Yl = k`
|
|
|
8277
8273
|
B("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(ke(ve))) {
|
|
8281
8277
|
static get is() {
|
|
8282
8278
|
return "vaadin-date-picker-overlay";
|
|
8283
8279
|
}
|
|
8284
8280
|
static get template() {
|
|
8285
|
-
return
|
|
8281
|
+
return Pe`
|
|
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(Se(ve))) {
|
|
|
8293
8289
|
}
|
|
8294
8290
|
}
|
|
8295
8291
|
de(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 ze = [];
|
|
8829
|
+
let gi = !1;
|
|
8834
8830
|
function td() {
|
|
8835
|
-
|
|
8836
|
-
const o =
|
|
8831
|
+
gi = !1;
|
|
8832
|
+
const o = ze.length;
|
|
8837
8833
|
for (let t = 0; t < o; t++) {
|
|
8838
|
-
const e =
|
|
8834
|
+
const e = ze[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
|
+
ze.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())), ze.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 (!ze[t])
|
|
8956
8952
|
throw new Error(`invalid async handle: ${o}`);
|
|
8957
|
-
|
|
8953
|
+
ze[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 ud = (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 ud = (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 Te(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 Le(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 = {}, Ae = [];
|
|
@@ -9560,19 +9561,19 @@ function ye(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 < Ae.length; n++)
|
|
9578
9579
|
a = Ae[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 le(o, t, e) {
|
|
@@ -9599,8 +9600,8 @@ function le(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,9 +9621,9 @@ 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 });
|
|
@@ -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
|
+
Le(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 (!Te(o))
|
|
9667
9668
|
return;
|
|
9668
9669
|
const t = ye(o), e = this, i = (r) => {
|
|
9669
|
-
|
|
9670
|
+
Te(r) || (Ge("up", t, r), Le(e.info));
|
|
9670
9671
|
}, s = (r) => {
|
|
9671
|
-
|
|
9672
|
+
Te(r) && Ge("up", t, r), Le(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", ye(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", ye(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, Le(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 (!Te(o))
|
|
9740
9741
|
return;
|
|
9741
9742
|
const t = ye(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 }), Te(r) || (e.info.state = "end", Le(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), Le(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 = ye(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 = ye(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
|
+
Te(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
|
+
Te(o) && Bo(this.info, o);
|
|
9839
9840
|
},
|
|
9840
9841
|
/**
|
|
9841
9842
|
* @this {GestureRecognizer}
|
|
@@ -9872,7 +9873,7 @@ function Bo(o, t, e) {
|
|
|
9872
9873
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9873
9874
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9874
9875
|
*/
|
|
9875
|
-
const
|
|
9876
|
+
const cr = j(
|
|
9876
9877
|
(o) => class extends o {
|
|
9877
9878
|
static get properties() {
|
|
9878
9879
|
return {
|
|
@@ -9917,7 +9918,7 @@ const ur = j(
|
|
|
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 = j(
|
|
9921
9922
|
(o) => class extends o {
|
|
9922
9923
|
/** @protected */
|
|
9923
9924
|
ready() {
|
|
@@ -9979,7 +9980,7 @@ const zt = j(
|
|
|
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
|
|
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 = j(
|
|
|
10049
10050
|
* @return {boolean}
|
|
10050
10051
|
*/
|
|
10051
10052
|
get _keyboardActive() {
|
|
10052
|
-
return
|
|
10053
|
+
return Li();
|
|
10053
10054
|
}
|
|
10054
10055
|
/** @protected */
|
|
10055
10056
|
ready() {
|
|
@@ -10099,7 +10100,7 @@ const ji = j(
|
|
|
10099
10100
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
10100
10101
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10101
10102
|
*/
|
|
10102
|
-
const
|
|
10103
|
+
const ur = (o) => class extends cr(o) {
|
|
10103
10104
|
static get properties() {
|
|
10104
10105
|
return {
|
|
10105
10106
|
/**
|
|
@@ -10150,7 +10151,7 @@ const cr = (o) => class extends ur(o) {
|
|
|
10150
10151
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10151
10152
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10152
10153
|
*/
|
|
10153
|
-
const Dd = (o) => class extends Ed(
|
|
10154
|
+
const Dd = (o) => class extends Ed(ur(ji(o))) {
|
|
10154
10155
|
static get properties() {
|
|
10155
10156
|
return {
|
|
10156
10157
|
/**
|
|
@@ -10206,12 +10207,12 @@ const Dd = (o) => class extends Ed(cr(ji(o))) {
|
|
|
10206
10207
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10207
10208
|
*/
|
|
10208
10209
|
B("vaadin-button", ld, { moduleId: "vaadin-button-styles" });
|
|
10209
|
-
class kd extends Dd(or(
|
|
10210
|
+
class kd extends Dd(or(ke(je(ve)))) {
|
|
10210
10211
|
static get is() {
|
|
10211
10212
|
return "vaadin-button";
|
|
10212
10213
|
}
|
|
10213
10214
|
static get template() {
|
|
10214
|
-
return dd(
|
|
10215
|
+
return dd(Pe);
|
|
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 pe(o, t, e =
|
|
10240
|
+
function pe(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
|
}
|
|
@@ -10394,7 +10395,7 @@ 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
10401
|
let ct = /* @__PURE__ */ new Set();
|
|
@@ -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 ke(Ld(ve)) {
|
|
10788
10789
|
static get is() {
|
|
10789
10790
|
return "vaadin-date-picker-year";
|
|
10790
10791
|
}
|
|
10791
10792
|
static get template() {
|
|
10792
|
-
return
|
|
10793
|
+
return Pe`
|
|
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 : be;
|
|
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)
|
|
@@ -11217,8 +11218,8 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11217
11218
|
Code distributed by Google as part of the polymer project is also
|
|
11218
11219
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11219
11220
|
*/
|
|
11220
|
-
const
|
|
11221
|
-
class jo extends
|
|
11221
|
+
const ec = Rd(ve);
|
|
11222
|
+
class jo extends ec {
|
|
11222
11223
|
// Not needed to find template; can be removed once the analyzer
|
|
11223
11224
|
// can find the tag name from customElements.define call
|
|
11224
11225
|
static get is() {
|
|
@@ -11425,7 +11426,7 @@ class jo extends eu {
|
|
|
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 eu {
|
|
|
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,9 +11501,9 @@ class jo extends eu {
|
|
|
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
|
-
e > 0 ?
|
|
11506
|
+
e > 0 ? ca.after(e) : Is,
|
|
11506
11507
|
t.bind(this)
|
|
11507
11508
|
), Id(this.__renderDebouncer);
|
|
11508
11509
|
}
|
|
@@ -11673,7 +11674,7 @@ customElements.define(jo.is, jo);
|
|
|
11673
11674
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11674
11675
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11675
11676
|
*/
|
|
11676
|
-
const
|
|
11677
|
+
const tc = (o) => class extends ji(o) {
|
|
11677
11678
|
static get properties() {
|
|
11678
11679
|
return {
|
|
11679
11680
|
/**
|
|
@@ -11779,7 +11780,7 @@ const tu = (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) {
|
|
@@ -11806,9 +11807,9 @@ const tu = (o) => class extends ji(o) {
|
|
|
11806
11807
|
if (e === void 0 || i === void 0)
|
|
11807
11808
|
return [];
|
|
11808
11809
|
const { weekdays: s, weekdaysShort: r, firstDayOfWeek: n } = e, a = this._applyFirstDayOfWeek(r, n);
|
|
11809
|
-
return this._applyFirstDayOfWeek(s, n).map((d,
|
|
11810
|
+
return this._applyFirstDayOfWeek(s, n).map((d, c) => ({
|
|
11810
11811
|
weekDay: d,
|
|
11811
|
-
weekDayShort: a[
|
|
11812
|
+
weekDayShort: a[c]
|
|
11812
11813
|
})).slice(0, 7);
|
|
11813
11814
|
}
|
|
11814
11815
|
/** @private */
|
|
@@ -11871,7 +11872,7 @@ const tu = (o) => class extends ji(o) {
|
|
|
11871
11872
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11872
11873
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11873
11874
|
*/
|
|
11874
|
-
const
|
|
11875
|
+
const ic = k`
|
|
11875
11876
|
:host {
|
|
11876
11877
|
display: block;
|
|
11877
11878
|
}
|
|
@@ -11933,12 +11934,12 @@ const iu = k`
|
|
|
11933
11934
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11934
11935
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11935
11936
|
*/
|
|
11936
|
-
B("vaadin-month-calendar",
|
|
11937
|
+
B("vaadin-month-calendar", ic, {
|
|
11937
11938
|
moduleId: "vaadin-month-calendar-styles"
|
|
11938
11939
|
});
|
|
11939
|
-
class
|
|
11940
|
+
class oc extends tc(ke(ve)) {
|
|
11940
11941
|
static get template() {
|
|
11941
|
-
return
|
|
11942
|
+
return Pe`
|
|
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 ou extends tu(Se(ve)) {
|
|
|
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 ou extends tu(Se(ve)) {
|
|
|
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) {
|
|
@@ -12044,7 +12045,7 @@ class ou extends tu(Se(ve)) {
|
|
|
12044
12045
|
return this.__isDayFocused(t, e) ? "0" : "-1";
|
|
12045
12046
|
}
|
|
12046
12047
|
}
|
|
12047
|
-
de(
|
|
12048
|
+
de(oc);
|
|
12048
12049
|
/**
|
|
12049
12050
|
* @license
|
|
12050
12051
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
@@ -12078,7 +12079,7 @@ class vr {
|
|
|
12078
12079
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12079
12080
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12080
12081
|
*/
|
|
12081
|
-
const
|
|
12082
|
+
const sc = (o) => class extends o {
|
|
12082
12083
|
static get properties() {
|
|
12083
12084
|
return {
|
|
12084
12085
|
scrollDuration: {
|
|
@@ -12302,9 +12303,9 @@ const su = (o) => class extends o {
|
|
|
12302
12303
|
e && (e.textContent = i && i.today, e.disabled = !this._isTodayAllowed(s, r, n));
|
|
12303
12304
|
}
|
|
12304
12305
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
12305
|
-
__updateCalendars(e, i, s, r, n, a, l, d,
|
|
12306
|
+
__updateCalendars(e, i, s, r, n, a, l, d, c, u) {
|
|
12306
12307
|
e && e.length && e.forEach((p) => {
|
|
12307
|
-
p.i18n = i, p.minDate = s, p.maxDate = r, p.isDateDisabled =
|
|
12308
|
+
p.i18n = i, p.minDate = s, p.maxDate = r, p.isDateDisabled = u, p.focusedDate = a, p.selectedDate = n, p.showWeekNumbers = l, p.ignoreTaps = d, c ? p.setAttribute("theme", c) : p.removeAttribute("theme");
|
|
12308
12309
|
});
|
|
12309
12310
|
}
|
|
12310
12311
|
/** @private */
|
|
@@ -12401,7 +12402,7 @@ const su = (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
|
}
|
|
@@ -12440,19 +12441,19 @@ const su = (o) => class extends o {
|
|
|
12440
12441
|
this._revealPromise = new Promise((d) => {
|
|
12441
12442
|
s = d;
|
|
12442
12443
|
});
|
|
12443
|
-
const r = (d,
|
|
12444
|
+
const r = (d, c, u, p) => (d /= p / 2, d < 1 ? u / 2 * d * d + c : (d -= 1, -u / 2 * (d * (d - 2) - 1) + c));
|
|
12444
12445
|
let n = 0;
|
|
12445
12446
|
const a = this._monthScroller.position, l = (d) => {
|
|
12446
12447
|
n || (n = d);
|
|
12447
|
-
const
|
|
12448
|
-
if (
|
|
12449
|
-
const
|
|
12450
|
-
|
|
12448
|
+
const c = d - n;
|
|
12449
|
+
if (c < this.scrollDuration) {
|
|
12450
|
+
const u = r(
|
|
12451
|
+
c,
|
|
12451
12452
|
a,
|
|
12452
12453
|
this._targetPosition - a,
|
|
12453
12454
|
this.scrollDuration
|
|
12454
12455
|
);
|
|
12455
|
-
this._monthScroller.position =
|
|
12456
|
+
this._monthScroller.position = u, window.requestAnimationFrame(l);
|
|
12456
12457
|
} else
|
|
12457
12458
|
this.dispatchEvent(
|
|
12458
12459
|
new CustomEvent("scroll-animation-finished", {
|
|
@@ -12624,13 +12625,13 @@ const su = (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 su = (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) {
|
|
@@ -12691,7 +12692,7 @@ const su = (o) => class extends o {
|
|
|
12691
12692
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12692
12693
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12693
12694
|
*/
|
|
12694
|
-
const
|
|
12695
|
+
const rc = k`
|
|
12695
12696
|
:host {
|
|
12696
12697
|
display: flex;
|
|
12697
12698
|
flex-direction: column;
|
|
@@ -12757,14 +12758,14 @@ const ru = k`
|
|
|
12757
12758
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12758
12759
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12759
12760
|
*/
|
|
12760
|
-
B("vaadin-date-picker-overlay-content",
|
|
12761
|
+
B("vaadin-date-picker-overlay-content", rc, {
|
|
12761
12762
|
moduleId: "vaadin-date-picker-overlay-content-styles"
|
|
12762
12763
|
});
|
|
12763
|
-
class
|
|
12764
|
-
|
|
12764
|
+
class nc extends sc(
|
|
12765
|
+
je(ke(Mt(ve)))
|
|
12765
12766
|
) {
|
|
12766
12767
|
static get template() {
|
|
12767
|
-
return
|
|
12768
|
+
return Pe`
|
|
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>
|
|
@@ -12794,14 +12795,14 @@ class nu extends su(
|
|
|
12794
12795
|
super.ready(), this.setAttribute("role", "dialog"), this._addListeners(), this._initControllers();
|
|
12795
12796
|
}
|
|
12796
12797
|
}
|
|
12797
|
-
de(
|
|
12798
|
+
de(nc);
|
|
12798
12799
|
/**
|
|
12799
12800
|
* @license
|
|
12800
12801
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12801
12802
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12802
12803
|
*/
|
|
12803
12804
|
const br = j(
|
|
12804
|
-
(o) => class extends ji(
|
|
12805
|
+
(o) => class extends ji(ur(o)) {
|
|
12805
12806
|
static get properties() {
|
|
12806
12807
|
return {
|
|
12807
12808
|
/**
|
|
@@ -12957,15 +12958,15 @@ const br = j(
|
|
|
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
|
-
function
|
|
12962
|
-
return
|
|
12961
|
+
const Qt = /* @__PURE__ */ new WeakMap();
|
|
12962
|
+
function ac(o) {
|
|
12963
|
+
return Qt.has(o) || Qt.set(o, /* @__PURE__ */ new Set()), Qt.get(o);
|
|
12963
12964
|
}
|
|
12964
|
-
function
|
|
12965
|
+
function lc(o, t) {
|
|
12965
12966
|
const e = document.createElement("style");
|
|
12966
12967
|
e.textContent = o, t === document ? document.head.appendChild(e) : t.insertBefore(e, t.firstChild);
|
|
12967
12968
|
}
|
|
12968
|
-
const
|
|
12969
|
+
const dc = j(
|
|
12969
12970
|
(o) => class extends o {
|
|
12970
12971
|
/**
|
|
12971
12972
|
* List of styles to insert into root.
|
|
@@ -12980,9 +12981,9 @@ const du = j(
|
|
|
12980
12981
|
}
|
|
12981
12982
|
/** @private */
|
|
12982
12983
|
__applySlotStyles() {
|
|
12983
|
-
const e = this.getRootNode(), i =
|
|
12984
|
+
const e = this.getRootNode(), i = ac(e);
|
|
12984
12985
|
this.slotStyles.forEach((s) => {
|
|
12985
|
-
i.has(s) || (
|
|
12986
|
+
i.has(s) || (lc(s, e), i.add(s));
|
|
12986
12987
|
});
|
|
12987
12988
|
}
|
|
12988
12989
|
}
|
|
@@ -13196,7 +13197,7 @@ const wr = j(
|
|
|
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
|
|
13200
|
+
const cc = (o) => class extends wr(Ft(o)) {
|
|
13200
13201
|
static get properties() {
|
|
13201
13202
|
return {
|
|
13202
13203
|
/**
|
|
@@ -13271,9 +13272,9 @@ const uu = (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
|
-
function
|
|
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,10 +13303,10 @@ 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
|
-
function
|
|
13309
|
+
function hc(o, t) {
|
|
13309
13310
|
Cr(o, t), xr(o, t);
|
|
13310
13311
|
}
|
|
13311
13312
|
/**
|
|
@@ -13313,7 +13314,7 @@ function hu(o, t) {
|
|
|
13313
13314
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13314
13315
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13315
13316
|
*/
|
|
13316
|
-
class
|
|
13317
|
+
class pc {
|
|
13317
13318
|
constructor(t) {
|
|
13318
13319
|
this.host = t, this.__required = !1;
|
|
13319
13320
|
}
|
|
@@ -13386,7 +13387,7 @@ class pu {
|
|
|
13386
13387
|
* @private
|
|
13387
13388
|
* */
|
|
13388
13389
|
__setAriaLabelToAttribute(t) {
|
|
13389
|
-
this.__target && (t ? (
|
|
13390
|
+
this.__target && (t ? (hc(this.__target, "aria-labelledby"), this.__target.setAttribute("aria-label", t)) : this.__label && (uc(this.__target, "aria-labelledby"), this.__target.removeAttribute("aria-label")));
|
|
13390
13391
|
}
|
|
13391
13392
|
/**
|
|
13392
13393
|
* @param {string | null | undefined} labelId
|
|
@@ -13395,7 +13396,7 @@ class pu {
|
|
|
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 pu {
|
|
|
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 pu {
|
|
|
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 @@ se.style.position = "fixed";
|
|
|
13431
13432
|
se.style.clip = "rect(0px, 0px, 0px, 0px)";
|
|
13432
13433
|
se.setAttribute("aria-live", "polite");
|
|
13433
13434
|
document.body.appendChild(se);
|
|
13434
|
-
let
|
|
13435
|
-
function
|
|
13435
|
+
let yt;
|
|
13436
|
+
function fc(o, t = {}) {
|
|
13436
13437
|
const e = t.mode || "polite", i = t.timeout === void 0 ? 150 : t.timeout;
|
|
13437
|
-
e === "alert" ? (se.removeAttribute("aria-live"), se.removeAttribute("role"),
|
|
13438
|
+
e === "alert" ? (se.removeAttribute("aria-live"), se.removeAttribute("role"), yt = Be.debounce(yt, id, () => {
|
|
13438
13439
|
se.setAttribute("role", "alert");
|
|
13439
|
-
})) : (
|
|
13440
|
+
})) : (yt && yt.cancel(), se.removeAttribute("role"), se.setAttribute("aria-live", e)), se.textContent = "", setTimeout(() => {
|
|
13440
13441
|
se.textContent = o;
|
|
13441
13442
|
}, i);
|
|
13442
13443
|
}
|
|
@@ -13447,7 +13448,7 @@ function fu(o, t = {}) {
|
|
|
13447
13448
|
*/
|
|
13448
13449
|
class Ji extends Ce {
|
|
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.
|
|
@@ -13560,7 +13561,7 @@ class Ji extends Ce {
|
|
|
13560
13561
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13561
13562
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13562
13563
|
*/
|
|
13563
|
-
class
|
|
13564
|
+
class mc extends Ji {
|
|
13564
13565
|
constructor(t) {
|
|
13565
13566
|
super(t, "error-message", "div");
|
|
13566
13567
|
}
|
|
@@ -13634,7 +13635,7 @@ class mu extends Ji {
|
|
|
13634
13635
|
*/
|
|
13635
13636
|
updateDefaultNode(t) {
|
|
13636
13637
|
const { errorMessage: e, invalid: i } = this, s = !!(i && e && e.trim() !== "");
|
|
13637
|
-
t && (t.textContent = s ? e : "", t.hidden = !s, s &&
|
|
13638
|
+
t && (t.textContent = s ? e : "", t.hidden = !s, s && fc(e, { mode: "assertive" })), super.updateDefaultNode(t);
|
|
13638
13639
|
}
|
|
13639
13640
|
}
|
|
13640
13641
|
/**
|
|
@@ -13642,7 +13643,7 @@ class mu extends Ji {
|
|
|
13642
13643
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13643
13644
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13644
13645
|
*/
|
|
13645
|
-
class
|
|
13646
|
+
class _c extends Ji {
|
|
13646
13647
|
constructor(t) {
|
|
13647
13648
|
super(t, "helper", null);
|
|
13648
13649
|
}
|
|
@@ -13697,7 +13698,7 @@ class _u extends Ji {
|
|
|
13697
13698
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13698
13699
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13699
13700
|
*/
|
|
13700
|
-
class
|
|
13701
|
+
class gc extends Ji {
|
|
13701
13702
|
constructor(t) {
|
|
13702
13703
|
super(t, "label", "label");
|
|
13703
13704
|
}
|
|
@@ -13750,8 +13751,8 @@ class gu extends Ji {
|
|
|
13750
13751
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13751
13752
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13752
13753
|
*/
|
|
13753
|
-
const
|
|
13754
|
-
(o) => class extends
|
|
13754
|
+
const yc = j(
|
|
13755
|
+
(o) => class extends je(o) {
|
|
13755
13756
|
static get properties() {
|
|
13756
13757
|
return {
|
|
13757
13758
|
/**
|
|
@@ -13765,7 +13766,7 @@ const yu = j(
|
|
|
13765
13766
|
};
|
|
13766
13767
|
}
|
|
13767
13768
|
constructor() {
|
|
13768
|
-
super(), this._labelController = new
|
|
13769
|
+
super(), this._labelController = new gc(this), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
13769
13770
|
this.toggleAttribute("has-label", e.detail.hasContent);
|
|
13770
13771
|
});
|
|
13771
13772
|
}
|
|
@@ -13865,7 +13866,7 @@ const Ar = j(
|
|
|
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
|
|
13869
|
+
const vc = (o) => class extends Ar(yc(je(o))) {
|
|
13869
13870
|
static get properties() {
|
|
13870
13871
|
return {
|
|
13871
13872
|
/**
|
|
@@ -13915,7 +13916,7 @@ const vu = (o) => class extends Ar(yu(Ye(o))) {
|
|
|
13915
13916
|
return ["_invalidChanged(invalid)", "_requiredChanged(required)"];
|
|
13916
13917
|
}
|
|
13917
13918
|
constructor() {
|
|
13918
|
-
super(), this._fieldAriaController = new
|
|
13919
|
+
super(), this._fieldAriaController = new pc(this), this._helperController = new _c(this), this._errorController = new mc(this), this._errorController.addEventListener("slot-content-changed", (e) => {
|
|
13919
13920
|
this.toggleAttribute("has-error-message", e.detail.hasContent);
|
|
13920
13921
|
}), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
13921
13922
|
const { hasContent: i, node: s } = e.detail;
|
|
@@ -14006,7 +14007,7 @@ const vu = (o) => class extends Ar(yu(Ye(o))) {
|
|
|
14006
14007
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14007
14008
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14008
14009
|
*/
|
|
14009
|
-
const
|
|
14010
|
+
const bc = j(
|
|
14010
14011
|
(o) => class extends o {
|
|
14011
14012
|
static get properties() {
|
|
14012
14013
|
return {
|
|
@@ -14088,7 +14089,7 @@ const bu = j(
|
|
|
14088
14089
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14089
14090
|
*/
|
|
14090
14091
|
const Tr = j(
|
|
14091
|
-
(o) => class extends
|
|
14092
|
+
(o) => class extends bc(Ar(wr(o))) {
|
|
14092
14093
|
/**
|
|
14093
14094
|
* An array of attributes which participate in the input validation.
|
|
14094
14095
|
* Changing these attributes will cause the input to re-validate.
|
|
@@ -14172,8 +14173,8 @@ const Tr = j(
|
|
|
14172
14173
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14173
14174
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14174
14175
|
*/
|
|
14175
|
-
const
|
|
14176
|
-
br(Tr(
|
|
14176
|
+
const wc = (o) => class extends dc(
|
|
14177
|
+
br(Tr(vc(cc(Ft(o)))))
|
|
14177
14178
|
) {
|
|
14178
14179
|
static get properties() {
|
|
14179
14180
|
return {
|
|
@@ -14305,7 +14306,7 @@ const wu = (o) => class extends du(
|
|
|
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
|
}
|
|
@@ -14359,7 +14360,7 @@ const wu = (o) => class extends du(
|
|
|
14359
14360
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14360
14361
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14361
14362
|
*/
|
|
14362
|
-
class
|
|
14363
|
+
class xc extends Ce {
|
|
14363
14364
|
constructor(t, e, i = {}) {
|
|
14364
14365
|
const { uniqueIdPrefix: s } = i;
|
|
14365
14366
|
super(t, "input", "input", {
|
|
@@ -14376,7 +14377,7 @@ class xu extends Ce {
|
|
|
14376
14377
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14377
14378
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14378
14379
|
*/
|
|
14379
|
-
class
|
|
14380
|
+
class Cc {
|
|
14380
14381
|
constructor(t, e) {
|
|
14381
14382
|
this.input = t, this.__preventDuplicateLabelClick = this.__preventDuplicateLabelClick.bind(this), e.addEventListener("slot-content-changed", (i) => {
|
|
14382
14383
|
this.__initLabel(i.detail.node);
|
|
@@ -14409,7 +14410,7 @@ class Cu {
|
|
|
14409
14410
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14410
14411
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14411
14412
|
*/
|
|
14412
|
-
const
|
|
14413
|
+
const Ac = k`
|
|
14413
14414
|
[part='clear-button'] {
|
|
14414
14415
|
display: none;
|
|
14415
14416
|
cursor: default;
|
|
@@ -14428,7 +14429,7 @@ const Au = k`
|
|
|
14428
14429
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14429
14430
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14430
14431
|
*/
|
|
14431
|
-
const
|
|
14432
|
+
const Tc = k`
|
|
14432
14433
|
:host {
|
|
14433
14434
|
display: inline-flex;
|
|
14434
14435
|
outline: none;
|
|
@@ -14468,7 +14469,7 @@ const Tu = k`
|
|
|
14468
14469
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14469
14470
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14470
14471
|
*/
|
|
14471
|
-
const
|
|
14472
|
+
const Ec = k`
|
|
14472
14473
|
[class$='container'] {
|
|
14473
14474
|
display: flex;
|
|
14474
14475
|
flex-direction: column;
|
|
@@ -14482,13 +14483,13 @@ const Eu = k`
|
|
|
14482
14483
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14483
14484
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14484
14485
|
*/
|
|
14485
|
-
const
|
|
14486
|
+
const Dc = [Tc, Ec, Ac];
|
|
14486
14487
|
/**
|
|
14487
14488
|
* @license
|
|
14488
14489
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
14489
14490
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14490
14491
|
*/
|
|
14491
|
-
const
|
|
14492
|
+
const kc = (o) => class extends o {
|
|
14492
14493
|
static get properties() {
|
|
14493
14494
|
return {
|
|
14494
14495
|
/**
|
|
@@ -14535,7 +14536,7 @@ const ku = (o) => class extends o {
|
|
|
14535
14536
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14536
14537
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14537
14538
|
*/
|
|
14538
|
-
class
|
|
14539
|
+
class Sc {
|
|
14539
14540
|
/**
|
|
14540
14541
|
* @param {{ inputElement?: HTMLElement; opened: boolean } & HTMLElement} host
|
|
14541
14542
|
*/
|
|
@@ -14554,8 +14555,8 @@ class Su {
|
|
|
14554
14555
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
14555
14556
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14556
14557
|
*/
|
|
14557
|
-
const
|
|
14558
|
-
|
|
14558
|
+
const Pc = (o) => class extends kc(
|
|
14559
|
+
je(br(Tr(Ft(o))))
|
|
14559
14560
|
) {
|
|
14560
14561
|
static get properties() {
|
|
14561
14562
|
return {
|
|
@@ -14759,7 +14760,7 @@ const Pu = (o) => class extends ku(
|
|
|
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 Pu = (o) => class extends ku(
|
|
|
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`
|
|
@@ -14937,7 +14938,7 @@ const Pu = (o) => class extends ku(
|
|
|
14937
14938
|
new vr(this._fullscreenMediaQuery, (i) => {
|
|
14938
14939
|
this._fullscreen = i;
|
|
14939
14940
|
})
|
|
14940
|
-
), this.addController(new
|
|
14941
|
+
), this.addController(new Sc(this));
|
|
14941
14942
|
const e = this.$.overlay;
|
|
14942
14943
|
this._overlayElement = e, e.renderer = this._boundOverlayRenderer, this.addEventListener("mousedown", () => this.__bringToFront()), this.addEventListener("touchstart", () => this.__bringToFront());
|
|
14943
14944
|
}
|
|
@@ -14984,7 +14985,7 @@ const Pu = (o) => class extends ku(
|
|
|
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 Pu = (o) => class extends ku(
|
|
|
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 Pu = (o) => class extends ku(
|
|
|
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;
|
|
@@ -15135,8 +15136,8 @@ const Pu = (o) => class extends ku(
|
|
|
15135
15136
|
}
|
|
15136
15137
|
/** @private */
|
|
15137
15138
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
15138
|
-
__updateOverlayContent(e, i, s, r, n, a, l, d,
|
|
15139
|
-
e && (e.i18n = i, e.label = s, e.minDate = r, e.maxDate = n, e.focusedDate = a, e.selectedDate = l, e.showWeekNumbers = d, e.isDateDisabled =
|
|
15139
|
+
__updateOverlayContent(e, i, s, r, n, a, l, d, c) {
|
|
15140
|
+
e && (e.i18n = i, e.label = s, e.minDate = r, e.maxDate = n, e.focusedDate = a, e.selectedDate = l, e.showWeekNumbers = d, e.isDateDisabled = c);
|
|
15140
15141
|
}
|
|
15141
15142
|
/** @private */
|
|
15142
15143
|
__updateOverlayContentTheme(e, i) {
|
|
@@ -15165,8 +15166,8 @@ const Pu = (o) => class extends ku(
|
|
|
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 Pu = (o) => class extends ku(
|
|
|
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.
|
|
@@ -15327,7 +15328,7 @@ const Pu = (o) => class extends ku(
|
|
|
15327
15328
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15328
15329
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15329
15330
|
*/
|
|
15330
|
-
const
|
|
15331
|
+
const Oc = k`
|
|
15331
15332
|
:host([opened]) {
|
|
15332
15333
|
pointer-events: auto;
|
|
15333
15334
|
}
|
|
@@ -15346,13 +15347,13 @@ const Ou = k`
|
|
|
15346
15347
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15347
15348
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15348
15349
|
*/
|
|
15349
|
-
B("vaadin-date-picker", [
|
|
15350
|
-
class
|
|
15350
|
+
B("vaadin-date-picker", [Dc, Oc], { moduleId: "vaadin-date-picker-styles" });
|
|
15351
|
+
class Mc extends Pc(wc(ke(or(ve)))) {
|
|
15351
15352
|
static get is() {
|
|
15352
15353
|
return "vaadin-date-picker";
|
|
15353
15354
|
}
|
|
15354
15355
|
static get template() {
|
|
15355
|
-
return
|
|
15356
|
+
return Pe`
|
|
15356
15357
|
<div class="vaadin-date-picker-container">
|
|
15357
15358
|
<div part="label">
|
|
15358
15359
|
<slot name="label"></slot>
|
|
@@ -15407,7 +15408,7 @@ class Mu extends Pu(wu(Se(or(ve)))) {
|
|
|
15407
15408
|
/** @protected */
|
|
15408
15409
|
ready() {
|
|
15409
15410
|
super.ready(), this.addController(
|
|
15410
|
-
new
|
|
15411
|
+
new xc(
|
|
15411
15412
|
this,
|
|
15412
15413
|
(e) => {
|
|
15413
15414
|
this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
|
|
@@ -15419,7 +15420,7 @@ class Mu extends Pu(wu(Se(or(ve)))) {
|
|
|
15419
15420
|
uniqueIdPrefix: "search-input"
|
|
15420
15421
|
}
|
|
15421
15422
|
)
|
|
15422
|
-
), this.addController(new
|
|
15423
|
+
), this.addController(new Cc(this.inputElement, this._labelController)), this._tooltipController = new rr(this), this.addController(this._tooltipController), this._tooltipController.setPosition("top"), this._tooltipController.setAriaTarget(this.inputElement), this._tooltipController.setShouldShow((e) => !e.opened), this.shadowRoot.querySelector('[part="toggle-button"]').addEventListener("mousedown", (e) => e.preventDefault()), this.$.overlay.addEventListener("vaadin-overlay-close", this._onVaadinOverlayClose.bind(this));
|
|
15423
15424
|
}
|
|
15424
15425
|
/** @private */
|
|
15425
15426
|
_onVaadinOverlayClose(t) {
|
|
@@ -15435,7 +15436,7 @@ class Mu extends Pu(wu(Se(or(ve)))) {
|
|
|
15435
15436
|
super._openedChanged(t), this.$.overlay.positionTarget = this.shadowRoot.querySelector('[part="input-field"]'), this.$.overlay.noVerticalOverlap = !0;
|
|
15436
15437
|
}
|
|
15437
15438
|
}
|
|
15438
|
-
de(
|
|
15439
|
+
de(Mc);
|
|
15439
15440
|
if (typeof window != "undefined") {
|
|
15440
15441
|
let o = function(t) {
|
|
15441
15442
|
return function(...e) {
|
|
@@ -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-BYiYUP-W.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",
|
|
@@ -15462,7 +15463,7 @@ var Er = { exports: {} };
|
|
|
15462
15463
|
(function(e, i) {
|
|
15463
15464
|
o.exports = i();
|
|
15464
15465
|
})(Mr, function() {
|
|
15465
|
-
var e = 1e3, i = 6e4, s = 36e5, r = "millisecond", n = "second", a = "minute", l = "hour", d = "day",
|
|
15466
|
+
var e = 1e3, i = 6e4, s = 36e5, r = "millisecond", n = "second", a = "minute", l = "hour", d = "day", c = "week", u = "month", p = "quarter", m = "year", _ = "date", x = "Invalid Date", S = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, I = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, D = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(b) {
|
|
15466
15467
|
var h = ["th", "st", "nd", "rd"], f = b % 100;
|
|
15467
15468
|
return "[" + b + (h[(f - 20) % 10] || h[f] || h[0]) + "]";
|
|
15468
15469
|
} }, M = function(b, h, f) {
|
|
@@ -15474,18 +15475,18 @@ var Er = { exports: {} };
|
|
|
15474
15475
|
}, m: function b(h, f) {
|
|
15475
15476
|
if (h.date() < f.date())
|
|
15476
15477
|
return -b(f, h);
|
|
15477
|
-
var g = 12 * (f.year() - h.year()) + (f.month() - h.month()), y = h.clone().add(g,
|
|
15478
|
+
var g = 12 * (f.year() - h.year()) + (f.month() - h.month()), y = h.clone().add(g, u), C = f - y < 0, A = h.clone().add(g + (C ? -1 : 1), u);
|
|
15478
15479
|
return +(-(g + (f - y) / (C ? y - A : A - y)) || 0);
|
|
15479
15480
|
}, a: function(b) {
|
|
15480
15481
|
return b < 0 ? Math.ceil(b) || 0 : Math.floor(b);
|
|
15481
15482
|
}, p: function(b) {
|
|
15482
|
-
return { M:
|
|
15483
|
+
return { M: u, y: m, w: c, d, D: _, h: l, m: a, s: n, ms: r, Q: p }[b] || String(b || "").toLowerCase().replace(/s$/, "");
|
|
15483
15484
|
}, u: function(b) {
|
|
15484
15485
|
return b === void 0;
|
|
15485
15486
|
} }, L = "en", G = {};
|
|
15486
15487
|
G[L] = D;
|
|
15487
|
-
var
|
|
15488
|
-
return b instanceof H || !(!b || !b[
|
|
15488
|
+
var ce = "$isDayjsObject", ie = function(b) {
|
|
15489
|
+
return b instanceof H || !(!b || !b[ce]);
|
|
15489
15490
|
}, Q = function b(h, f, g) {
|
|
15490
15491
|
var y;
|
|
15491
15492
|
if (!h)
|
|
@@ -15512,7 +15513,7 @@ var Er = { exports: {} };
|
|
|
15512
15513
|
};
|
|
15513
15514
|
var H = function() {
|
|
15514
15515
|
function b(f) {
|
|
15515
|
-
this.$L = Q(f.locale, null, !0), this.parse(f), this.$x = this.$x || f.x || {}, this[
|
|
15516
|
+
this.$L = Q(f.locale, null, !0), this.parse(f), this.$x = this.$x || f.x || {}, this[ce] = !0;
|
|
15516
15517
|
}
|
|
15517
15518
|
var h = b.prototype;
|
|
15518
15519
|
return h.parse = function(f) {
|
|
@@ -15563,9 +15564,9 @@ var Er = { exports: {} };
|
|
|
15563
15564
|
switch (A) {
|
|
15564
15565
|
case m:
|
|
15565
15566
|
return C ? F(1, 0) : F(31, 11);
|
|
15566
|
-
case c:
|
|
15567
|
-
return C ? F(1, Y) : F(0, Y + 1);
|
|
15568
15567
|
case u:
|
|
15568
|
+
return C ? F(1, Y) : F(0, Y + 1);
|
|
15569
|
+
case c:
|
|
15569
15570
|
var J = this.$locale().weekStart || 0, fe = (U < J ? U + 7 : U) - J;
|
|
15570
15571
|
return F(C ? v - fe : v + (6 - fe), Y);
|
|
15571
15572
|
case d:
|
|
@@ -15583,8 +15584,8 @@ var Er = { exports: {} };
|
|
|
15583
15584
|
}, h.endOf = function(f) {
|
|
15584
15585
|
return this.startOf(f, !1);
|
|
15585
15586
|
}, h.$set = function(f, g) {
|
|
15586
|
-
var y, C = E.p(f), A = "set" + (this.$u ? "UTC" : ""), F = (y = {}, y[d] = A + "Date", y[_] = A + "Date", y[
|
|
15587
|
-
if (C ===
|
|
15587
|
+
var y, C = E.p(f), A = "set" + (this.$u ? "UTC" : ""), F = (y = {}, y[d] = A + "Date", y[_] = A + "Date", y[u] = A + "Month", y[m] = A + "FullYear", y[l] = A + "Hours", y[a] = A + "Minutes", y[n] = A + "Seconds", y[r] = A + "Milliseconds", y)[C], R = C === d ? this.$D + (g - this.$W) : g;
|
|
15588
|
+
if (C === u || C === m) {
|
|
15588
15589
|
var U = this.clone().set(_, 1);
|
|
15589
15590
|
U.$d[F](R), U.init(), this.$d = U.set(_, Math.min(this.$D, U.daysInMonth())).$d;
|
|
15590
15591
|
} else
|
|
@@ -15601,13 +15602,13 @@ var Er = { exports: {} };
|
|
|
15601
15602
|
var v = N(C);
|
|
15602
15603
|
return E.w(v.date(v.date() + Math.round(Y * f)), C);
|
|
15603
15604
|
};
|
|
15604
|
-
if (A ===
|
|
15605
|
-
return this.set(
|
|
15605
|
+
if (A === u)
|
|
15606
|
+
return this.set(u, this.$M + f);
|
|
15606
15607
|
if (A === m)
|
|
15607
15608
|
return this.set(m, this.$y + f);
|
|
15608
15609
|
if (A === d)
|
|
15609
15610
|
return F(1);
|
|
15610
|
-
if (A ===
|
|
15611
|
+
if (A === c)
|
|
15611
15612
|
return F(7);
|
|
15612
15613
|
var R = (y = {}, y[a] = i, y[l] = s, y[n] = e, y)[A] || 1, U = this.$d.getTime() + f * R;
|
|
15613
15614
|
return E.w(U, this);
|
|
@@ -15617,17 +15618,17 @@ var Er = { exports: {} };
|
|
|
15617
15618
|
var g = this, y = this.$locale();
|
|
15618
15619
|
if (!this.isValid())
|
|
15619
15620
|
return y.invalidDate || x;
|
|
15620
|
-
var C = f || "YYYY-MM-DDTHH:mm:ssZ", A = E.z(this), F = this.$H, R = this.$m, U = this.$M, Y = y.weekdays, v = y.months, ee = y.meridiem, J = function(X, me,
|
|
15621
|
-
return X && (X[me] || X(g, C)) ||
|
|
15621
|
+
var C = f || "YYYY-MM-DDTHH:mm:ssZ", A = E.z(this), F = this.$H, R = this.$m, U = this.$M, Y = y.weekdays, v = y.months, ee = y.meridiem, J = function(X, me, Ye, ht) {
|
|
15622
|
+
return X && (X[me] || X(g, C)) || Ye[me].slice(0, ht);
|
|
15622
15623
|
}, fe = function(X) {
|
|
15623
15624
|
return E.s(F % 12 || 12, X, "0");
|
|
15624
|
-
}, oe = ee || function(X, me,
|
|
15625
|
-
var
|
|
15626
|
-
return
|
|
15625
|
+
}, oe = ee || function(X, me, Ye) {
|
|
15626
|
+
var ht = X < 12 ? "AM" : "PM";
|
|
15627
|
+
return Ye ? ht.toLowerCase() : ht;
|
|
15627
15628
|
};
|
|
15628
15629
|
return C.replace(I, function(X, me) {
|
|
15629
|
-
return me || function(
|
|
15630
|
-
switch (
|
|
15630
|
+
return me || function(Ye) {
|
|
15631
|
+
switch (Ye) {
|
|
15631
15632
|
case "YY":
|
|
15632
15633
|
return String(g.$y).slice(-2);
|
|
15633
15634
|
case "YYYY":
|
|
@@ -15690,13 +15691,13 @@ var Er = { exports: {} };
|
|
|
15690
15691
|
case m:
|
|
15691
15692
|
C = v() / 12;
|
|
15692
15693
|
break;
|
|
15693
|
-
case
|
|
15694
|
+
case u:
|
|
15694
15695
|
C = v();
|
|
15695
15696
|
break;
|
|
15696
15697
|
case p:
|
|
15697
15698
|
C = v() / 3;
|
|
15698
15699
|
break;
|
|
15699
|
-
case
|
|
15700
|
+
case c:
|
|
15700
15701
|
C = (Y - U) / 6048e5;
|
|
15701
15702
|
break;
|
|
15702
15703
|
case d:
|
|
@@ -15716,7 +15717,7 @@ var Er = { exports: {} };
|
|
|
15716
15717
|
}
|
|
15717
15718
|
return y ? C : E.a(C);
|
|
15718
15719
|
}, h.daysInMonth = function() {
|
|
15719
|
-
return this.endOf(
|
|
15720
|
+
return this.endOf(u).$D;
|
|
15720
15721
|
}, h.$locale = function() {
|
|
15721
15722
|
return G[this.$L];
|
|
15722
15723
|
}, h.locale = function(f, g) {
|
|
@@ -15736,7 +15737,7 @@ var Er = { exports: {} };
|
|
|
15736
15737
|
return this.$d.toUTCString();
|
|
15737
15738
|
}, b;
|
|
15738
15739
|
}(), V = H.prototype;
|
|
15739
|
-
return N.prototype = V, [["$ms", r], ["$s", n], ["$m", a], ["$H", l], ["$W", d], ["$M",
|
|
15740
|
+
return N.prototype = V, [["$ms", r], ["$s", n], ["$m", a], ["$H", l], ["$W", d], ["$M", u], ["$y", m], ["$D", _]].forEach(function(b) {
|
|
15740
15741
|
V[b[1]] = function(h) {
|
|
15741
15742
|
return this.$g(h, b[0], b[1]);
|
|
15742
15743
|
};
|
|
@@ -15747,12 +15748,12 @@ var Er = { exports: {} };
|
|
|
15747
15748
|
}, N.en = G[L], N.Ls = G, N.p = {}, N;
|
|
15748
15749
|
});
|
|
15749
15750
|
})(Er);
|
|
15750
|
-
var
|
|
15751
|
-
const Yo = /* @__PURE__ */ Ir(
|
|
15751
|
+
var Ic = Er.exports;
|
|
15752
|
+
const Yo = /* @__PURE__ */ Ir(Ic);
|
|
15752
15753
|
function Wo(o, t) {
|
|
15753
15754
|
Nr(o, t);
|
|
15754
15755
|
}
|
|
15755
|
-
function
|
|
15756
|
+
function Nc(o) {
|
|
15756
15757
|
Fr.set(o);
|
|
15757
15758
|
}
|
|
15758
15759
|
const qo = {
|
|
@@ -15966,14 +15967,14 @@ const qo = {
|
|
|
15966
15967
|
confirmationModalTextUntilTimeout: "{date} tarihine kadar kendinizi soğutmak istediğinizden emin misiniz?"
|
|
15967
15968
|
}
|
|
15968
15969
|
};
|
|
15969
|
-
function
|
|
15970
|
+
function Fc(o) {
|
|
15970
15971
|
Hr(o, "svelte-u6jylo", `.TimeoutWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.TimeoutWrapper.TimeoutWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.TimeoutTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.TimeoutTitleMobile{font-size:16px}.TimeoutTitleNone{display:none}.TimeoutDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.TimeoutDescription.TimeoutDescriptionMobile{font-size:12px;line-height:18px}.TimeoutSelectWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;position:relative}.TimeoutSelectWrapper .TimeoutSelect{width:50%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF);border-radius:5px;box-sizing:border-box;padding:5px 10px;font-size:16px;line-height:18px;margin-bottom:16px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.TimeoutSelectWrapper .TimeoutSelect:focus,.TimeoutSelectWrapper .TimeoutSelect :focus-within,.TimeoutSelectWrapper .TimeoutSelect :focus-visible,.TimeoutSelectWrapper .TimeoutSelect :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.TimeoutSelectWrapper .TimeoutSelect.TimeoutSelectMobile{width:100%;height:36px;font-size:12px}.TimeoutDateWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.TimeoutDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.TimeoutDateWrapper .TimeoutDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.TimeoutActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.TimeoutActionButtons .TimeoutSave{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.TimeoutActionButtons.TimeoutActionButtonsMobile{width:100%;grid-template-columns:1fr}.TimeoutActionButtons.TimeoutActionButtonsMobile .TimeoutSave{height:40px;font-size:12px}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}`);
|
|
15971
15972
|
}
|
|
15972
15973
|
function Ko(o, t, e) {
|
|
15973
15974
|
const i = o.slice();
|
|
15974
15975
|
return i[39] = t[e].value, i;
|
|
15975
15976
|
}
|
|
15976
|
-
function
|
|
15977
|
+
function zc(o) {
|
|
15977
15978
|
let t, e, i, s = (
|
|
15978
15979
|
/*$_*/
|
|
15979
15980
|
o[17]("titleTimeout") + ""
|
|
@@ -15995,7 +15996,7 @@ function zu(o) {
|
|
|
15995
15996
|
)
|
|
15996
15997
|
}
|
|
15997
15998
|
}) + ""
|
|
15998
|
-
),
|
|
15999
|
+
), c, u, p = (
|
|
15999
16000
|
/*$_*/
|
|
16000
16001
|
o[17]("timeoutTextSecondary", {
|
|
16001
16002
|
values: {
|
|
@@ -16016,10 +16017,10 @@ function zu(o) {
|
|
|
16016
16017
|
), m, _, x, S, I, D, M, $ = (
|
|
16017
16018
|
/*$_*/
|
|
16018
16019
|
o[17]("save") + ""
|
|
16019
|
-
), L, G,
|
|
16020
|
+
), L, G, ce, ie, Q, N = (
|
|
16020
16021
|
/*isMobile*/
|
|
16021
|
-
o[18] && $
|
|
16022
|
-
), E =
|
|
16022
|
+
o[18] && $c(o)
|
|
16023
|
+
), E = eo(
|
|
16023
16024
|
/*timeoutOptions*/
|
|
16024
16025
|
o[9]
|
|
16025
16026
|
), H = [];
|
|
@@ -16030,18 +16031,18 @@ function zu(o) {
|
|
|
16030
16031
|
o[11] && Jo(o)
|
|
16031
16032
|
), b = (
|
|
16032
16033
|
/*showConfirmationModal*/
|
|
16033
|
-
o[19] &&
|
|
16034
|
+
o[19] && Rc(o)
|
|
16034
16035
|
);
|
|
16035
16036
|
return {
|
|
16036
16037
|
c() {
|
|
16037
|
-
t = O("form"), N && N.c(), e = q(), i = O("h2"), r =
|
|
16038
|
+
t = O("form"), N && N.c(), e = q(), i = O("h2"), r = Ee(s), n = q(), a = O("div"), l = O("p"), c = q(), u = O("p"), m = q(), _ = O("div"), x = O("select");
|
|
16038
16039
|
for (let h = 0; h < H.length; h += 1)
|
|
16039
16040
|
H[h].c();
|
|
16040
|
-
S = q(), V && V.c(), I = q(), D = O("div"), M = O("button"), L =
|
|
16041
|
+
S = q(), V && V.c(), I = q(), D = O("div"), M = O("button"), L = Ee($), G = q(), b && b.c(), ce = Kr(), z(i, "class", "TimeoutTitle " + /*isMobile*/
|
|
16041
16042
|
(o[18] ? "TimeoutTitleNone" : "")), z(a, "class", "TimeoutDescription " + /*isMobile*/
|
|
16042
16043
|
(o[18] ? "TimeoutDescriptionMobile" : "")), z(x, "class", "TimeoutSelect " + /*isMobile*/
|
|
16043
16044
|
(o[18] ? "TimeoutSelectMobile" : "")), /*timeoutSelected*/
|
|
16044
|
-
o[10] === void 0 &&
|
|
16045
|
+
o[10] === void 0 && Gr(() => (
|
|
16045
16046
|
/*select_change_handler*/
|
|
16046
16047
|
o[27].call(x)
|
|
16047
16048
|
)), z(_, "class", "TimeoutSelectWrapper"), z(M, "class", "TimeoutSave"), z(D, "class", "TimeoutActionButtons " + /*isMobile*/
|
|
@@ -16049,28 +16050,28 @@ function zu(o) {
|
|
|
16049
16050
|
(o[18] ? "TimeoutWrapperMobile" : ""));
|
|
16050
16051
|
},
|
|
16051
16052
|
m(h, f) {
|
|
16052
|
-
|
|
16053
|
+
re(h, t, f), N && N.m(t, null), w(t, e), w(t, i), w(i, r), w(t, n), w(t, a), w(a, l), l.innerHTML = d, w(a, c), w(a, u), u.innerHTML = p, w(t, m), w(t, _), w(_, x);
|
|
16053
16054
|
for (let g = 0; g < H.length; g += 1)
|
|
16054
16055
|
H[g] && H[g].m(x, null);
|
|
16055
|
-
|
|
16056
|
+
to(
|
|
16056
16057
|
x,
|
|
16057
16058
|
/*timeoutSelected*/
|
|
16058
16059
|
o[10],
|
|
16059
16060
|
!0
|
|
16060
|
-
), w(t, S), V && V.m(t, null), w(t, I), w(t, D), w(D, M), w(M, L),
|
|
16061
|
-
|
|
16061
|
+
), w(t, S), V && V.m(t, null), w(t, I), w(t, D), w(D, M), w(M, L), re(h, G, f), b && b.m(h, f), re(h, ce, f), ie || (Q = [
|
|
16062
|
+
vt(
|
|
16062
16063
|
x,
|
|
16063
16064
|
"change",
|
|
16064
16065
|
/*select_change_handler*/
|
|
16065
16066
|
o[27]
|
|
16066
16067
|
),
|
|
16067
|
-
|
|
16068
|
+
vt(
|
|
16068
16069
|
x,
|
|
16069
16070
|
"change",
|
|
16070
16071
|
/*selectPeriod*/
|
|
16071
16072
|
o[22]
|
|
16072
16073
|
),
|
|
16073
|
-
|
|
16074
|
+
vt(
|
|
16074
16075
|
M,
|
|
16075
16076
|
"click",
|
|
16076
16077
|
/*click_handler_1*/
|
|
@@ -16083,7 +16084,7 @@ function zu(o) {
|
|
|
16083
16084
|
/*isMobile*/
|
|
16084
16085
|
h[18] && N.p(h, f), f[0] & /*$_*/
|
|
16085
16086
|
131072 && s !== (s = /*$_*/
|
|
16086
|
-
h[17]("titleTimeout") + "") &&
|
|
16087
|
+
h[17]("titleTimeout") + "") && $e(r, s), f[0] & /*$_, operator, baseurl, lang*/
|
|
16087
16088
|
131139 && d !== (d = /*$_*/
|
|
16088
16089
|
h[17]("timeoutTextFirst", {
|
|
16089
16090
|
values: {
|
|
@@ -16117,10 +16118,10 @@ function zu(o) {
|
|
|
16117
16118
|
h[1]
|
|
16118
16119
|
)
|
|
16119
16120
|
}
|
|
16120
|
-
}) + "") && (
|
|
16121
|
+
}) + "") && (u.innerHTML = p), f[0] & /*timeoutOptions, $_*/
|
|
16121
16122
|
131584
|
|
16122
16123
|
) {
|
|
16123
|
-
E =
|
|
16124
|
+
E = eo(
|
|
16124
16125
|
/*timeoutOptions*/
|
|
16125
16126
|
h[9]
|
|
16126
16127
|
);
|
|
@@ -16134,38 +16135,38 @@ function zu(o) {
|
|
|
16134
16135
|
H.length = E.length;
|
|
16135
16136
|
}
|
|
16136
16137
|
f[0] & /*timeoutSelected, timeoutOptions*/
|
|
16137
|
-
1536 &&
|
|
16138
|
+
1536 && to(
|
|
16138
16139
|
x,
|
|
16139
16140
|
/*timeoutSelected*/
|
|
16140
16141
|
h[10]
|
|
16141
16142
|
), /*isUntilDate*/
|
|
16142
16143
|
h[11] ? V ? V.p(h, f) : (V = Jo(h), V.c(), V.m(t, I)) : V && (V.d(1), V = null), f[0] & /*$_*/
|
|
16143
16144
|
131072 && $ !== ($ = /*$_*/
|
|
16144
|
-
h[17]("save") + "") &&
|
|
16145
|
+
h[17]("save") + "") && $e(L, $), /*showConfirmationModal*/
|
|
16145
16146
|
h[19] && b.p(h, f);
|
|
16146
16147
|
},
|
|
16147
16148
|
d(h) {
|
|
16148
|
-
h && (
|
|
16149
|
+
h && (ne(t), ne(G), ne(ce)), N && N.d(), Jr(H, h), V && V.d(), b && b.d(h), ie = !1, Xr(Q);
|
|
16149
16150
|
}
|
|
16150
16151
|
};
|
|
16151
16152
|
}
|
|
16152
|
-
function
|
|
16153
|
-
let t, e, i, s, r, n, a, l, d,
|
|
16153
|
+
function Lc(o) {
|
|
16154
|
+
let t, e, i, s, r, n, a, l, d, c, u, p, m, _, x, S;
|
|
16154
16155
|
function I($, L) {
|
|
16155
16156
|
return (
|
|
16156
16157
|
/*isMobile*/
|
|
16157
|
-
$[18] ?
|
|
16158
|
+
$[18] ? Bc : Hc
|
|
16158
16159
|
);
|
|
16159
16160
|
}
|
|
16160
16161
|
let M = I(o)(o);
|
|
16161
16162
|
return {
|
|
16162
16163
|
c() {
|
|
16163
|
-
t = O("div"), M.c(), e = q(), i = O("div"), s = O("ui-skeleton"), r = q(), n = O("div"), a = q(), l = O("ui-skeleton"), d = q(),
|
|
16164
|
+
t = O("div"), M.c(), e = q(), i = O("div"), s = O("ui-skeleton"), r = q(), n = O("div"), a = q(), l = O("ui-skeleton"), d = q(), c = O("div"), u = q(), p = O("div"), m = O("ui-skeleton"), _ = q(), x = O("div"), S = O("ui-skeleton"), T(s, "structure", "text"), T(
|
|
16164
16165
|
s,
|
|
16165
16166
|
"height",
|
|
16166
16167
|
/*isMobile*/
|
|
16167
16168
|
o[18] ? "15px" : "20px"
|
|
16168
|
-
), T(s, "rows", "3"), T(s, "width", "100%"),
|
|
16169
|
+
), T(s, "rows", "3"), T(s, "width", "100%"), io(
|
|
16169
16170
|
n,
|
|
16170
16171
|
"height",
|
|
16171
16172
|
/*isMobile*/
|
|
@@ -16175,8 +16176,8 @@ function Lu(o) {
|
|
|
16175
16176
|
"height",
|
|
16176
16177
|
/*isMobile*/
|
|
16177
16178
|
o[18] ? "15px" : "20px"
|
|
16178
|
-
), T(l, "rows", "3"), T(l, "width", "100%"),
|
|
16179
|
-
|
|
16179
|
+
), T(l, "rows", "3"), T(l, "width", "100%"), io(
|
|
16180
|
+
c,
|
|
16180
16181
|
"height",
|
|
16181
16182
|
/*isMobile*/
|
|
16182
16183
|
o[18] ? "10px" : "30px"
|
|
@@ -16200,25 +16201,25 @@ function Lu(o) {
|
|
|
16200
16201
|
(o[18] ? "TimeoutWrapperMobile" : ""));
|
|
16201
16202
|
},
|
|
16202
16203
|
m($, L) {
|
|
16203
|
-
|
|
16204
|
+
re($, t, L), M.m(t, null), w(t, e), w(t, i), w(i, s), w(i, r), w(i, n), w(i, a), w(i, l), w(i, d), w(i, c), w(t, u), w(t, p), w(p, m), w(t, _), w(t, x), w(x, S);
|
|
16204
16205
|
},
|
|
16205
|
-
p:
|
|
16206
|
+
p: ii,
|
|
16206
16207
|
d($) {
|
|
16207
|
-
$ &&
|
|
16208
|
+
$ && ne(t), M.d();
|
|
16208
16209
|
}
|
|
16209
16210
|
};
|
|
16210
16211
|
}
|
|
16211
|
-
function $
|
|
16212
|
-
let t, e, i, s, r, n, a, l, d,
|
|
16212
|
+
function $c(o) {
|
|
16213
|
+
let t, e, i, s, r, n, a, l, d, c, u = (
|
|
16213
16214
|
/*$_*/
|
|
16214
16215
|
o[17]("titleTimeout") + ""
|
|
16215
16216
|
), p, m, _;
|
|
16216
16217
|
return {
|
|
16217
16218
|
c() {
|
|
16218
|
-
t = O("div"), e =
|
|
16219
|
+
t = O("div"), e = Oe("svg"), i = Oe("defs"), s = Oe("style"), r = Ee(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), n = Oe("g"), a = Oe("g"), l = Oe("path"), d = q(), c = O("h2"), p = Ee(u), z(l, "class", "aaa"), z(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), z(l, "transform", "translate(15 15) rotate(180)"), z(a, "transform", "translate(20 158)"), z(n, "transform", "translate(-20 -158)"), z(e, "xmlns", "http://www.w3.org/2000/svg"), z(e, "width", "15"), z(e, "height", "15"), z(e, "viewBox", "0 0 15 15"), z(c, "class", "TimeoutTitleMobile"), z(c, "part", "TimeoutTitleMobile"), z(t, "class", "MenuReturnButton"), z(t, "part", "MenuReturnButton");
|
|
16219
16220
|
},
|
|
16220
16221
|
m(x, S) {
|
|
16221
|
-
|
|
16222
|
+
re(x, t, S), w(t, e), w(e, i), w(i, s), w(s, r), w(e, n), w(n, a), w(a, l), w(t, d), w(t, c), w(c, p), m || (_ = vt(
|
|
16222
16223
|
t,
|
|
16223
16224
|
"click",
|
|
16224
16225
|
/*click_handler*/
|
|
@@ -16227,11 +16228,11 @@ function $u(o) {
|
|
|
16227
16228
|
},
|
|
16228
16229
|
p(x, S) {
|
|
16229
16230
|
S[0] & /*$_*/
|
|
16230
|
-
131072 &&
|
|
16231
|
-
x[17]("titleTimeout") + "") &&
|
|
16231
|
+
131072 && u !== (u = /*$_*/
|
|
16232
|
+
x[17]("titleTimeout") + "") && $e(p, u);
|
|
16232
16233
|
},
|
|
16233
16234
|
d(x) {
|
|
16234
|
-
x &&
|
|
16235
|
+
x && ne(t), m = !1, _();
|
|
16235
16236
|
}
|
|
16236
16237
|
};
|
|
16237
16238
|
}
|
|
@@ -16245,11 +16246,11 @@ function Go(o) {
|
|
|
16245
16246
|
), i, s;
|
|
16246
16247
|
return {
|
|
16247
16248
|
c() {
|
|
16248
|
-
t = O("option"), i =
|
|
16249
|
+
t = O("option"), i = Ee(e), t.__value = s = /*value*/
|
|
16249
16250
|
o[39], oo(t, t.__value);
|
|
16250
16251
|
},
|
|
16251
16252
|
m(r, n) {
|
|
16252
|
-
|
|
16253
|
+
re(r, t, n), w(t, i);
|
|
16253
16254
|
},
|
|
16254
16255
|
p(r, n) {
|
|
16255
16256
|
n[0] & /*$_, timeoutOptions*/
|
|
@@ -16257,12 +16258,12 @@ function Go(o) {
|
|
|
16257
16258
|
r[17](
|
|
16258
16259
|
/*value*/
|
|
16259
16260
|
r[39]
|
|
16260
|
-
) + "") &&
|
|
16261
|
+
) + "") && $e(i, e), n[0] & /*timeoutOptions*/
|
|
16261
16262
|
512 && s !== (s = /*value*/
|
|
16262
16263
|
r[39]) && (t.__value = s, oo(t, t.__value));
|
|
16263
16264
|
},
|
|
16264
16265
|
d(r) {
|
|
16265
|
-
r &&
|
|
16266
|
+
r && ne(t);
|
|
16266
16267
|
}
|
|
16267
16268
|
};
|
|
16268
16269
|
}
|
|
@@ -16273,10 +16274,10 @@ function Jo(o) {
|
|
|
16273
16274
|
), s, r, n, a = (
|
|
16274
16275
|
/*$_*/
|
|
16275
16276
|
o[17]("dateInstructions") + ""
|
|
16276
|
-
), l, d,
|
|
16277
|
+
), l, d, c, u, p;
|
|
16277
16278
|
return {
|
|
16278
16279
|
c() {
|
|
16279
|
-
t = O("div"), e = O("label"), s =
|
|
16280
|
+
t = O("div"), e = O("label"), s = Ee(i), r = q(), n = O("span"), l = Ee(a), d = q(), c = O("strong"), c.innerHTML = "MM/DD/YYYY<strong></strong>", u = q(), p = O("vaadin-date-picker"), z(e, "for", "TimeoutDate"), z(n, "class", "TimeoutDateInstructions"), T(
|
|
16280
16281
|
p,
|
|
16281
16282
|
"min",
|
|
16282
16283
|
/*minDate*/
|
|
@@ -16295,14 +16296,14 @@ function Jo(o) {
|
|
|
16295
16296
|
(o[18] ? "TimeoutDateWrapperMobile" : ""));
|
|
16296
16297
|
},
|
|
16297
16298
|
m(m, _) {
|
|
16298
|
-
|
|
16299
|
+
re(m, t, _), w(t, e), w(e, s), w(t, r), w(t, n), w(n, l), w(n, d), w(n, c), w(t, u), w(t, p), o[28](p);
|
|
16299
16300
|
},
|
|
16300
16301
|
p(m, _) {
|
|
16301
16302
|
_[0] & /*$_*/
|
|
16302
16303
|
131072 && i !== (i = /*$_*/
|
|
16303
|
-
m[17]("duration") + "") &&
|
|
16304
|
+
m[17]("duration") + "") && $e(s, i), _[0] & /*$_*/
|
|
16304
16305
|
131072 && a !== (a = /*$_*/
|
|
16305
|
-
m[17]("dateInstructions") + "") &&
|
|
16306
|
+
m[17]("dateInstructions") + "") && $e(l, a), _[0] & /*minDate*/
|
|
16306
16307
|
8192 && T(
|
|
16307
16308
|
p,
|
|
16308
16309
|
"min",
|
|
@@ -16323,11 +16324,11 @@ function Jo(o) {
|
|
|
16323
16324
|
);
|
|
16324
16325
|
},
|
|
16325
16326
|
d(m) {
|
|
16326
|
-
m &&
|
|
16327
|
+
m && ne(t), o[28](null);
|
|
16327
16328
|
}
|
|
16328
16329
|
};
|
|
16329
16330
|
}
|
|
16330
|
-
function
|
|
16331
|
+
function Rc(o) {
|
|
16331
16332
|
let t, e, i, s;
|
|
16332
16333
|
return {
|
|
16333
16334
|
c() {
|
|
@@ -16375,7 +16376,7 @@ function Ru(o) {
|
|
|
16375
16376
|
), T(t, "showmodaleventname", "ShowTimeoutConfirmationModal");
|
|
16376
16377
|
},
|
|
16377
16378
|
m(r, n) {
|
|
16378
|
-
|
|
16379
|
+
re(r, t, n), w(t, e);
|
|
16379
16380
|
},
|
|
16380
16381
|
p(r, n) {
|
|
16381
16382
|
n[0] & /*$_*/
|
|
@@ -16430,44 +16431,44 @@ function Ru(o) {
|
|
|
16430
16431
|
);
|
|
16431
16432
|
},
|
|
16432
16433
|
d(r) {
|
|
16433
|
-
r &&
|
|
16434
|
+
r && ne(t);
|
|
16434
16435
|
}
|
|
16435
16436
|
};
|
|
16436
16437
|
}
|
|
16437
|
-
function
|
|
16438
|
+
function Hc(o) {
|
|
16438
16439
|
let t;
|
|
16439
16440
|
return {
|
|
16440
16441
|
c() {
|
|
16441
16442
|
t = O("ui-skeleton"), T(t, "structure", "title"), T(t, "width", "100px"), T(t, "margin-top", "20px"), T(t, "margin-bottom", "20px");
|
|
16442
16443
|
},
|
|
16443
16444
|
m(e, i) {
|
|
16444
|
-
|
|
16445
|
+
re(e, t, i);
|
|
16445
16446
|
},
|
|
16446
16447
|
d(e) {
|
|
16447
|
-
e &&
|
|
16448
|
+
e && ne(t);
|
|
16448
16449
|
}
|
|
16449
16450
|
};
|
|
16450
16451
|
}
|
|
16451
|
-
function
|
|
16452
|
+
function Bc(o) {
|
|
16452
16453
|
let t;
|
|
16453
16454
|
return {
|
|
16454
16455
|
c() {
|
|
16455
16456
|
t = O("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>', z(t, "class", "MenuReturnButton");
|
|
16456
16457
|
},
|
|
16457
16458
|
m(e, i) {
|
|
16458
|
-
|
|
16459
|
+
re(e, t, i);
|
|
16459
16460
|
},
|
|
16460
16461
|
d(e) {
|
|
16461
|
-
e &&
|
|
16462
|
+
e && ne(t);
|
|
16462
16463
|
}
|
|
16463
16464
|
};
|
|
16464
16465
|
}
|
|
16465
|
-
function
|
|
16466
|
+
function Vc(o) {
|
|
16466
16467
|
let t;
|
|
16467
16468
|
function e(r, n) {
|
|
16468
16469
|
return (
|
|
16469
16470
|
/*skeletonLoading*/
|
|
16470
|
-
r[16] ?
|
|
16471
|
+
r[16] ? Lc : zc
|
|
16471
16472
|
);
|
|
16472
16473
|
}
|
|
16473
16474
|
let i = e(o), s = i(o);
|
|
@@ -16476,22 +16477,22 @@ function Vu(o) {
|
|
|
16476
16477
|
t = O("div"), s.c();
|
|
16477
16478
|
},
|
|
16478
16479
|
m(r, n) {
|
|
16479
|
-
|
|
16480
|
+
re(r, t, n), s.m(t, null), o[30](t);
|
|
16480
16481
|
},
|
|
16481
16482
|
p(r, n) {
|
|
16482
16483
|
i === (i = e(r)) && s ? s.p(r, n) : (s.d(1), s = i(r), s && (s.c(), s.m(t, null)));
|
|
16483
16484
|
},
|
|
16484
|
-
i:
|
|
16485
|
-
o:
|
|
16485
|
+
i: ii,
|
|
16486
|
+
o: ii,
|
|
16486
16487
|
d(r) {
|
|
16487
|
-
r &&
|
|
16488
|
+
r && ne(t), s.d(), o[30](null);
|
|
16488
16489
|
}
|
|
16489
16490
|
};
|
|
16490
16491
|
}
|
|
16491
|
-
function
|
|
16492
|
+
function Uc(o, t, e) {
|
|
16492
16493
|
let i;
|
|
16493
|
-
Br(o,
|
|
16494
|
-
let { operator: s = "Everymatrix" } = t, { lang: r = "en" } = t, { clientstyling: n = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: l } = t, { translationurl: d = "" } = t, { supportemail:
|
|
16494
|
+
Br(o, Zr, (v) => e(17, i = v));
|
|
16495
|
+
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, { baseurl: p = "" } = t, { hasconfirmationmodal: m = "false" } = t, _, x, S = window.navigator.userAgent, I = Vr(S) !== "PC", D = [
|
|
16495
16496
|
{
|
|
16496
16497
|
value: "CoolOffFor24Hours",
|
|
16497
16498
|
dateSelector: !1
|
|
@@ -16508,7 +16509,7 @@ function Uu(o, t, e) {
|
|
|
16508
16509
|
value: "CoolOffFor3Months",
|
|
16509
16510
|
dateSelector: !1
|
|
16510
16511
|
}
|
|
16511
|
-
], M = D[0].value, $ = !1, L = "", G,
|
|
16512
|
+
], M = D[0].value, $ = !1, L = "", G, ce, ie = "", Q = m === "true", N = !0;
|
|
16512
16513
|
const E = () => {
|
|
16513
16514
|
fetch(d).then((v) => v.json()).then((v) => {
|
|
16514
16515
|
Object.keys(v).forEach((ee) => {
|
|
@@ -16522,7 +16523,7 @@ function Uu(o, t, e) {
|
|
|
16522
16523
|
Wo(v, qo[v]);
|
|
16523
16524
|
});
|
|
16524
16525
|
const H = () => {
|
|
16525
|
-
const v = new URL("/v1/player/coolOffSettings",
|
|
16526
|
+
const v = new URL("/v1/player/coolOffSettings", u), ee = { method: "GET" };
|
|
16526
16527
|
fetch(v.href, ee).then((J) => {
|
|
16527
16528
|
if (!J.ok)
|
|
16528
16529
|
throw new Error("There was an error while fetching the configuration");
|
|
@@ -16563,10 +16564,10 @@ function Uu(o, t, e) {
|
|
|
16563
16564
|
window.location.href
|
|
16564
16565
|
);
|
|
16565
16566
|
}, f = () => {
|
|
16566
|
-
|
|
16567
|
+
Nc(r), H();
|
|
16567
16568
|
}, g = () => {
|
|
16568
16569
|
const v = D.find((ee) => ee.value === M);
|
|
16569
|
-
e(11, $ = !1), v.dateSelector && (e(11, $ = !0), e(13, G = Yo().format("YYYY-MM-DD")), e(14,
|
|
16570
|
+
e(11, $ = !1), v.dateSelector && (e(11, $ = !0), e(13, G = Yo().format("YYYY-MM-DD")), e(14, ce = Yo().add(6, "months").format("YYYY-MM-DD")), e(12, L = G)), Q && V();
|
|
16570
16571
|
}, y = (v) => {
|
|
16571
16572
|
e(12, L = v.target.value);
|
|
16572
16573
|
}, C = () => {
|
|
@@ -16577,7 +16578,7 @@ function Uu(o, t, e) {
|
|
|
16577
16578
|
});
|
|
16578
16579
|
const A = () => h();
|
|
16579
16580
|
function F() {
|
|
16580
|
-
M =
|
|
16581
|
+
M = Yr(this), e(10, M), e(9, D);
|
|
16581
16582
|
}
|
|
16582
16583
|
function R(v) {
|
|
16583
16584
|
Qi[v ? "unshift" : "push"](() => {
|
|
@@ -16591,14 +16592,14 @@ function Uu(o, t, e) {
|
|
|
16591
16592
|
});
|
|
16592
16593
|
}
|
|
16593
16594
|
return o.$$set = (v) => {
|
|
16594
|
-
"operator" in v && e(0, s = v.operator), "lang" in v && e(1, r = v.lang), "clientstyling" in v && e(2, n = v.clientstyling), "clientstylingurl" in v && e(3, a = v.clientstylingurl), "mbsource" in v && e(4, l = v.mbsource), "translationurl" in v && e(23, d = v.translationurl), "supportemail" in v && e(5,
|
|
16595
|
+
"operator" in v && e(0, s = v.operator), "lang" in v && e(1, r = v.lang), "clientstyling" in v && e(2, n = v.clientstyling), "clientstylingurl" in v && e(3, a = v.clientstylingurl), "mbsource" in v && e(4, l = v.mbsource), "translationurl" in v && e(23, d = v.translationurl), "supportemail" in v && e(5, c = v.supportemail), "endpoint" in v && e(24, u = v.endpoint), "baseurl" in v && e(6, p = v.baseurl), "hasconfirmationmodal" in v && e(25, m = v.hasconfirmationmodal);
|
|
16595
16596
|
}, o.$$.update = () => {
|
|
16596
16597
|
o.$$.dirty[0] & /*calendar*/
|
|
16597
16598
|
256 && x && C(), o.$$.dirty[0] & /*lang*/
|
|
16598
16599
|
2 && r && f(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
16599
|
-
132 && n && _ &&
|
|
16600
|
-
136 && a && _ &&
|
|
16601
|
-
144 && l && _ &&
|
|
16600
|
+
132 && n && _ && Wr(_, n), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
16601
|
+
136 && a && _ && qr(_, a), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
16602
|
+
144 && l && _ && jr(_, `${l}.Style`), o.$$.dirty[0] & /*translationurl*/
|
|
16602
16603
|
8388608 && d && E();
|
|
16603
16604
|
}, Q && V(), [
|
|
16604
16605
|
s,
|
|
@@ -16606,7 +16607,7 @@ function Uu(o, t, e) {
|
|
|
16606
16607
|
n,
|
|
16607
16608
|
a,
|
|
16608
16609
|
l,
|
|
16609
|
-
|
|
16610
|
+
c,
|
|
16610
16611
|
p,
|
|
16611
16612
|
_,
|
|
16612
16613
|
x,
|
|
@@ -16615,7 +16616,7 @@ function Uu(o, t, e) {
|
|
|
16615
16616
|
$,
|
|
16616
16617
|
L,
|
|
16617
16618
|
G,
|
|
16618
|
-
|
|
16619
|
+
ce,
|
|
16619
16620
|
ie,
|
|
16620
16621
|
N,
|
|
16621
16622
|
i,
|
|
@@ -16625,7 +16626,7 @@ function Uu(o, t, e) {
|
|
|
16625
16626
|
h,
|
|
16626
16627
|
g,
|
|
16627
16628
|
d,
|
|
16628
|
-
|
|
16629
|
+
u,
|
|
16629
16630
|
m,
|
|
16630
16631
|
A,
|
|
16631
16632
|
F,
|
|
@@ -16634,14 +16635,14 @@ function Uu(o, t, e) {
|
|
|
16634
16635
|
Y
|
|
16635
16636
|
];
|
|
16636
16637
|
}
|
|
16637
|
-
class
|
|
16638
|
+
class jc extends zr {
|
|
16638
16639
|
constructor(t) {
|
|
16639
16640
|
super(), Lr(
|
|
16640
16641
|
this,
|
|
16641
16642
|
t,
|
|
16642
|
-
|
|
16643
|
-
|
|
16644
|
-
|
|
16643
|
+
Uc,
|
|
16644
|
+
Vc,
|
|
16645
|
+
Rr,
|
|
16645
16646
|
{
|
|
16646
16647
|
operator: 0,
|
|
16647
16648
|
lang: 1,
|
|
@@ -16654,7 +16655,7 @@ class ju extends zr {
|
|
|
16654
16655
|
baseurl: 6,
|
|
16655
16656
|
hasconfirmationmodal: 25
|
|
16656
16657
|
},
|
|
16657
|
-
|
|
16658
|
+
Fc,
|
|
16658
16659
|
[-1, -1]
|
|
16659
16660
|
);
|
|
16660
16661
|
}
|
|
@@ -16719,7 +16720,7 @@ class ju extends zr {
|
|
|
16719
16720
|
this.$$set({ hasconfirmationmodal: t }), ae();
|
|
16720
16721
|
}
|
|
16721
16722
|
}
|
|
16722
|
-
|
|
16723
|
+
$r(jc, { operator: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, supportemail: {}, endpoint: {}, baseurl: {}, hasconfirmationmodal: {} }, [], [], !0);
|
|
16723
16724
|
export {
|
|
16724
|
-
|
|
16725
|
+
jc as default
|
|
16725
16726
|
};
|