@everymatrix/player-account-self-exclusion 1.76.13 → 1.76.14
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-CF0gIxAh.js → PlayerAccountGeneralConfirmationModal-COn8IPHo.js} +815 -836
- package/components/PlayerAccountGeneralConfirmationModal-CTkrsADp.cjs +21 -0
- package/components/{PlayerAccountGeneralConfirmationModal-DTX1CBzd.js → PlayerAccountGeneralConfirmationModal-DeKth9rU.js} +816 -837
- package/components/{PlayerAccountModal-CJKwahNB.js → PlayerAccountModal-1yio55uP.js} +17 -17
- package/components/{PlayerAccountModal-Db-SglWF.js → PlayerAccountModal-bhlvepWR.js} +21 -21
- package/components/{PlayerAccountModal-D5N72NeZ.cjs → PlayerAccountModal-hE4QiaWT.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusion-DlEMQC0y.js → PlayerAccountSelfExclusion-9rv40tnZ.js} +562 -561
- package/components/{PlayerAccountSelfExclusion-B09jyh1f.js → PlayerAccountSelfExclusion-AFSSdKA9.js} +195 -194
- package/components/{PlayerAccountSelfExclusion-DsholK_z.cjs → PlayerAccountSelfExclusion-DeQSE8Na.cjs} +76 -76
- package/es2015/player-account-self-exclusion.cjs +1 -1
- package/es2015/player-account-self-exclusion.js +1 -1
- package/esnext/player-account-self-exclusion.js +1 -1
- package/package.json +1 -1
- package/stencil/index-b2193545-BtPvM93e.js +519 -0
- package/stencil/index-b2193545-CgelUAhE.cjs +1 -0
- package/stencil/index-b2193545-D_KBbaD-.js +503 -0
- package/stencil/{ui-skeleton-BL4789dS.cjs → ui-skeleton-BPqjm-YB.cjs} +1 -1
- package/stencil/{ui-skeleton-Ca5rz3Hv.js → ui-skeleton-CWuMYFGQ.js} +2 -2
- package/stencil/{ui-skeleton-hI4GeaLk.js → ui-skeleton-NZtdK490.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-xLf3HyeB.cjs → ui-skeleton-ae35c6f2-CKJgMm_5.cjs} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-BDBUiN3S.js → ui-skeleton-ae35c6f2-CW3z59Qf.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-Cn0ZM_hs.js → ui-skeleton-ae35c6f2-DlexSQlT.js} +1 -1
- package/components/PlayerAccountGeneralConfirmationModal-CepZsQsl.cjs +0 -21
- package/stencil/index-b2193545-BeKKnKhR.js +0 -519
- package/stencil/index-b2193545-HC0t7mHa.js +0 -503
- package/stencil/index-b2193545-YW9b062G.cjs +0 -1
package/components/{PlayerAccountSelfExclusion-DlEMQC0y.js → PlayerAccountSelfExclusion-9rv40tnZ.js}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
var Br = Object.defineProperty, Yr = Object.defineProperties;
|
|
2
2
|
var jr = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var uo = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var ho = (o, t, e) => t in o ? Br(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e,
|
|
4
|
+
var Ur = Object.prototype.hasOwnProperty, Vr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var ho = (o, t, e) => t in o ? Br(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e, Ct = (o, t) => {
|
|
6
6
|
for (var e in t || (t = {}))
|
|
7
|
-
|
|
7
|
+
Ur.call(t, e) && ho(o, e, t[e]);
|
|
8
8
|
if (uo)
|
|
9
9
|
for (var e of uo(t))
|
|
10
|
-
|
|
10
|
+
Vr.call(t, e) && ho(o, e, t[e]);
|
|
11
11
|
return o;
|
|
12
|
-
},
|
|
13
|
-
var
|
|
12
|
+
}, Dt = (o, t) => Yr(o, jr(t));
|
|
13
|
+
var st = (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 rt = (o, t, e) => new Promise((i, s) => {
|
|
|
26
26
|
}, a = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(r, n);
|
|
27
27
|
a((e = e.apply(o, t)).next());
|
|
28
28
|
});
|
|
29
|
-
import { B as hs, C as ps, D as Wr, $ as qr, S as Kr, a as Gr, f as fe,
|
|
30
|
-
import "../stencil/ui-skeleton-
|
|
29
|
+
import { B as hs, C as ps, D as Wr, $ as qr, S as Kr, a as Gr, f as fe, c as Jr, s as Xr, b as Zr, n as T, d as be, E as mi, j as xe, F as Qr, G as en, o as tn, k as on, l as sn, z as po, A as rn, H as fo, I as X, J as _e, K as ke, p as M, L as Ve, q as g, M as Nt, N as ye, O as nn, P as an, Q as I, R as Jt, T as ln } from "./PlayerAccountGeneralConfirmationModal-DeKth9rU.js";
|
|
30
|
+
import "../stencil/ui-skeleton-CWuMYFGQ.js";
|
|
31
31
|
var fs = { exports: {} };
|
|
32
32
|
(function(o, t) {
|
|
33
33
|
(function(e, i) {
|
|
@@ -57,7 +57,7 @@ var fs = { exports: {} };
|
|
|
57
57
|
q[$] = C;
|
|
58
58
|
var K = "$isDayjsObject", G = function(E) {
|
|
59
59
|
return E instanceof j || !(!E || !E[K]);
|
|
60
|
-
},
|
|
60
|
+
}, V = function E(v, m, w) {
|
|
61
61
|
var _;
|
|
62
62
|
if (!v)
|
|
63
63
|
return $;
|
|
@@ -78,12 +78,12 @@ var fs = { exports: {} };
|
|
|
78
78
|
var m = typeof v == "object" ? v : {};
|
|
79
79
|
return m.date = E, m.args = arguments, new j(m);
|
|
80
80
|
}, k = N;
|
|
81
|
-
k.l =
|
|
81
|
+
k.l = V, k.i = G, k.w = function(E, v) {
|
|
82
82
|
return O(E, { locale: v.$L, utc: v.$u, x: v.$x, $offset: v.$offset });
|
|
83
83
|
};
|
|
84
84
|
var j = function() {
|
|
85
85
|
function E(m) {
|
|
86
|
-
this.$L =
|
|
86
|
+
this.$L = V(m.locale, null, !0), this.parse(m), this.$x = this.$x || m.x || {}, this[K] = !0;
|
|
87
87
|
}
|
|
88
88
|
var v = E.prototype;
|
|
89
89
|
return v.parse = function(m) {
|
|
@@ -130,14 +130,14 @@ var fs = { exports: {} };
|
|
|
130
130
|
return A ? Y : Y.endOf(c);
|
|
131
131
|
}, H = function(Z, L) {
|
|
132
132
|
return k.w(_.toDate()[Z].apply(_.toDate("s"), (A ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(L)), _);
|
|
133
|
-
},
|
|
133
|
+
}, U = this.$W, W = this.$M, ee = this.$D, he = "set" + (this.$u ? "UTC" : "");
|
|
134
134
|
switch (S) {
|
|
135
135
|
case p:
|
|
136
136
|
return A ? F(1, 0) : F(31, 11);
|
|
137
137
|
case d:
|
|
138
138
|
return A ? F(1, W) : F(0, W + 1);
|
|
139
139
|
case u:
|
|
140
|
-
var ce = this.$locale().weekStart || 0, te = (
|
|
140
|
+
var ce = this.$locale().weekStart || 0, te = (U < ce ? U + 7 : U) - ce;
|
|
141
141
|
return F(A ? ee - te : ee + (6 - te), W);
|
|
142
142
|
case c:
|
|
143
143
|
case y:
|
|
@@ -156,8 +156,8 @@ var fs = { exports: {} };
|
|
|
156
156
|
}, v.$set = function(m, w) {
|
|
157
157
|
var _, A = k.p(m), S = "set" + (this.$u ? "UTC" : ""), F = (_ = {}, _[c] = S + "Date", _[y] = S + "Date", _[d] = S + "Month", _[p] = S + "FullYear", _[l] = S + "Hours", _[a] = S + "Minutes", _[n] = S + "Seconds", _[r] = S + "Milliseconds", _)[A], H = A === c ? this.$D + (w - this.$W) : w;
|
|
158
158
|
if (A === d || A === p) {
|
|
159
|
-
var
|
|
160
|
-
|
|
159
|
+
var U = this.clone().set(y, 1);
|
|
160
|
+
U.$d[F](H), U.init(), this.$d = U.set(y, Math.min(this.$D, U.daysInMonth())).$d;
|
|
161
161
|
} else
|
|
162
162
|
F && this.$d[F](H);
|
|
163
163
|
return this.init(), this;
|
|
@@ -180,15 +180,15 @@ var fs = { exports: {} };
|
|
|
180
180
|
return F(1);
|
|
181
181
|
if (S === u)
|
|
182
182
|
return F(7);
|
|
183
|
-
var H = (_ = {}, _[a] = i, _[l] = s, _[n] = e, _)[S] || 1,
|
|
184
|
-
return k.w(
|
|
183
|
+
var H = (_ = {}, _[a] = i, _[l] = s, _[n] = e, _)[S] || 1, U = this.$d.getTime() + m * H;
|
|
184
|
+
return k.w(U, this);
|
|
185
185
|
}, v.subtract = function(m, w) {
|
|
186
186
|
return this.add(-1 * m, w);
|
|
187
187
|
}, v.format = function(m) {
|
|
188
188
|
var w = this, _ = this.$locale();
|
|
189
189
|
if (!this.isValid())
|
|
190
190
|
return _.invalidDate || f;
|
|
191
|
-
var A = m || "YYYY-MM-DDTHH:mm:ssZ", S = k.z(this), F = this.$H, H = this.$m,
|
|
191
|
+
var A = m || "YYYY-MM-DDTHH:mm:ssZ", S = k.z(this), F = this.$H, H = this.$m, U = this.$M, W = _.weekdays, ee = _.months, he = _.meridiem, ce = function(L, Y, pe, ue) {
|
|
192
192
|
return L && (L[Y] || L(w, A)) || pe[Y].slice(0, ue);
|
|
193
193
|
}, te = function(L) {
|
|
194
194
|
return k.s(F % 12 || 12, L, "0");
|
|
@@ -204,13 +204,13 @@ var fs = { exports: {} };
|
|
|
204
204
|
case "YYYY":
|
|
205
205
|
return k.s(w.$y, 4, "0");
|
|
206
206
|
case "M":
|
|
207
|
-
return
|
|
207
|
+
return U + 1;
|
|
208
208
|
case "MM":
|
|
209
|
-
return k.s(
|
|
209
|
+
return k.s(U + 1, 2, "0");
|
|
210
210
|
case "MMM":
|
|
211
|
-
return ce(_.monthsShort,
|
|
211
|
+
return ce(_.monthsShort, U, ee, 3);
|
|
212
212
|
case "MMMM":
|
|
213
|
-
return ce(ee,
|
|
213
|
+
return ce(ee, U);
|
|
214
214
|
case "D":
|
|
215
215
|
return w.$D;
|
|
216
216
|
case "DD":
|
|
@@ -254,7 +254,7 @@ var fs = { exports: {} };
|
|
|
254
254
|
}, v.utcOffset = function() {
|
|
255
255
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
256
256
|
}, v.diff = function(m, w, _) {
|
|
257
|
-
var A, S = this, F = k.p(w), H = O(m),
|
|
257
|
+
var A, S = this, F = k.p(w), H = O(m), U = (H.utcOffset() - this.utcOffset()) * i, W = this - H, ee = function() {
|
|
258
258
|
return k.m(S, H);
|
|
259
259
|
};
|
|
260
260
|
switch (F) {
|
|
@@ -268,10 +268,10 @@ var fs = { exports: {} };
|
|
|
268
268
|
A = ee() / 3;
|
|
269
269
|
break;
|
|
270
270
|
case u:
|
|
271
|
-
A = (W -
|
|
271
|
+
A = (W - U) / 6048e5;
|
|
272
272
|
break;
|
|
273
273
|
case c:
|
|
274
|
-
A = (W -
|
|
274
|
+
A = (W - U) / 864e5;
|
|
275
275
|
break;
|
|
276
276
|
case l:
|
|
277
277
|
A = W / s;
|
|
@@ -293,7 +293,7 @@ var fs = { exports: {} };
|
|
|
293
293
|
}, v.locale = function(m, w) {
|
|
294
294
|
if (!m)
|
|
295
295
|
return this.$L;
|
|
296
|
-
var _ = this.clone(), A =
|
|
296
|
+
var _ = this.clone(), A = V(m, w, !0);
|
|
297
297
|
return A && (_.$L = A), _;
|
|
298
298
|
}, v.clone = function() {
|
|
299
299
|
return k.w(this.$d, this);
|
|
@@ -313,7 +313,7 @@ var fs = { exports: {} };
|
|
|
313
313
|
};
|
|
314
314
|
}), O.extend = function(E, v) {
|
|
315
315
|
return E.$i || (E(v, j, O), E.$i = !0), O;
|
|
316
|
-
}, O.locale =
|
|
316
|
+
}, O.locale = V, O.isDayjs = G, O.unix = function(E) {
|
|
317
317
|
return O(1e3 * E);
|
|
318
318
|
}, O.en = q[$], O.Ls = q, O.p = {}, O;
|
|
319
319
|
});
|
|
@@ -385,7 +385,7 @@ var ms = { exports: {} };
|
|
|
385
385
|
function y(f) {
|
|
386
386
|
var b, D;
|
|
387
387
|
b = f, D = a && a.formats;
|
|
388
|
-
for (var C = (f = b.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(
|
|
388
|
+
for (var C = (f = b.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(V, O, k) {
|
|
389
389
|
var j = k && k.toUpperCase();
|
|
390
390
|
return O || D[k] || e[k] || D[j].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(ie, E, v) {
|
|
391
391
|
return E || v.slice(1);
|
|
@@ -394,14 +394,14 @@ var ms = { exports: {} };
|
|
|
394
394
|
var $ = C[N], q = p[$], K = q && q[0], G = q && q[1];
|
|
395
395
|
C[N] = G ? { regex: K, parser: G } : $.replace(/^\[|\]$/g, "");
|
|
396
396
|
}
|
|
397
|
-
return function(
|
|
397
|
+
return function(V) {
|
|
398
398
|
for (var O = {}, k = 0, j = 0; k < z; k += 1) {
|
|
399
399
|
var ie = C[k];
|
|
400
400
|
if (typeof ie == "string")
|
|
401
401
|
j += ie.length;
|
|
402
402
|
else {
|
|
403
|
-
var E = ie.regex, v = ie.parser, m =
|
|
404
|
-
v.call(O, w),
|
|
403
|
+
var E = ie.regex, v = ie.parser, m = V.slice(j), w = E.exec(m)[0];
|
|
404
|
+
v.call(O, w), V = V.replace(w, "");
|
|
405
405
|
}
|
|
406
406
|
}
|
|
407
407
|
return function(_) {
|
|
@@ -421,14 +421,14 @@ var ms = { exports: {} };
|
|
|
421
421
|
this.$u = q;
|
|
422
422
|
var G = K[1];
|
|
423
423
|
if (typeof G == "string") {
|
|
424
|
-
var
|
|
425
|
-
O && (j = K[2]), a = this.$locale(), !
|
|
424
|
+
var V = K[2] === !0, O = K[3] === !0, k = V || O, j = K[2];
|
|
425
|
+
O && (j = K[2]), a = this.$locale(), !V && j && (a = D.Ls[j]), this.$d = function(m, w, _) {
|
|
426
426
|
try {
|
|
427
427
|
if (["x", "X"].indexOf(w) > -1)
|
|
428
428
|
return new Date((w === "X" ? 1e3 : 1) * m);
|
|
429
|
-
var A = y(w)(m), S = A.year, F = A.month, H = A.day,
|
|
429
|
+
var A = y(w)(m), S = A.year, F = A.month, H = A.day, U = A.hours, W = A.minutes, ee = A.seconds, he = A.milliseconds, ce = A.zone, te = /* @__PURE__ */ new Date(), Z = H || (S || F ? 1 : te.getDate()), L = S || te.getFullYear(), Y = 0;
|
|
430
430
|
S && !F || (Y = F > 0 ? F - 1 : te.getMonth());
|
|
431
|
-
var pe =
|
|
431
|
+
var pe = U || 0, ue = W || 0, de = ee || 0, ge = he || 0;
|
|
432
432
|
return ce ? new Date(Date.UTC(L, Y, Z, pe, ue, de, ge + 60 * ce.offset * 1e3)) : _ ? new Date(Date.UTC(L, Y, Z, pe, ue, de, ge)) : new Date(L, Y, Z, pe, ue, de, ge);
|
|
433
433
|
} catch (P) {
|
|
434
434
|
return /* @__PURE__ */ new Date("");
|
|
@@ -871,17 +871,17 @@ Se(pn);
|
|
|
871
871
|
* Copyright 2019 Google LLC
|
|
872
872
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
873
873
|
*/
|
|
874
|
-
const
|
|
875
|
-
let
|
|
874
|
+
const It = globalThis, Ri = It.ShadowRoot && (It.ShadyCSS === void 0 || It.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Hi = Symbol(), go = /* @__PURE__ */ new WeakMap();
|
|
875
|
+
let Bi = class {
|
|
876
876
|
constructor(t, e, i) {
|
|
877
|
-
if (this._$cssResult$ = !0, i !==
|
|
877
|
+
if (this._$cssResult$ = !0, i !== Hi)
|
|
878
878
|
throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
879
879
|
this.cssText = t, this.t = e;
|
|
880
880
|
}
|
|
881
881
|
get styleSheet() {
|
|
882
882
|
let t = this.o;
|
|
883
883
|
const e = this.t;
|
|
884
|
-
if (
|
|
884
|
+
if (Ri && t === void 0) {
|
|
885
885
|
const i = e !== void 0 && e.length === 1;
|
|
886
886
|
i && (t = go.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && go.set(e, t));
|
|
887
887
|
}
|
|
@@ -891,7 +891,7 @@ let Yi = class {
|
|
|
891
891
|
return this.cssText;
|
|
892
892
|
}
|
|
893
893
|
};
|
|
894
|
-
const fn = (o) => new
|
|
894
|
+
const fn = (o) => new Bi(typeof o == "string" ? o : o + "", void 0, Hi), R = (o, ...t) => {
|
|
895
895
|
const e = o.length === 1 ? o[0] : t.reduce((i, s, r) => i + ((n) => {
|
|
896
896
|
if (n._$cssResult$ === !0)
|
|
897
897
|
return n.cssText;
|
|
@@ -899,16 +899,16 @@ const fn = (o) => new Yi(typeof o == "string" ? o : o + "", void 0, Bi), R = (o,
|
|
|
899
899
|
return n;
|
|
900
900
|
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.");
|
|
901
901
|
})(s) + o[r + 1], o[0]);
|
|
902
|
-
return new
|
|
902
|
+
return new Bi(e, o, Hi);
|
|
903
903
|
}, _s = (o, t) => {
|
|
904
|
-
if (
|
|
904
|
+
if (Ri)
|
|
905
905
|
o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
906
906
|
else
|
|
907
907
|
for (const e of t) {
|
|
908
|
-
const i = document.createElement("style"), s =
|
|
908
|
+
const i = document.createElement("style"), s = It.litNonce;
|
|
909
909
|
s !== void 0 && i.setAttribute("nonce", s), i.textContent = e.cssText, o.appendChild(i);
|
|
910
910
|
}
|
|
911
|
-
}, vo =
|
|
911
|
+
}, vo = Ri ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
|
|
912
912
|
let e = "";
|
|
913
913
|
for (const i of t.cssRules)
|
|
914
914
|
e += i.cssText;
|
|
@@ -919,7 +919,7 @@ const fn = (o) => new Yi(typeof o == "string" ? o : o + "", void 0, Bi), R = (o,
|
|
|
919
919
|
* Copyright 2017 Google LLC
|
|
920
920
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
921
921
|
*/
|
|
922
|
-
const { is: mn, defineProperty: _n, getOwnPropertyDescriptor: gn, getOwnPropertyNames: vn, getOwnPropertySymbols: yn, getPrototypeOf: bn } = Object, Me = globalThis, yo = Me.trustedTypes, xn = yo ? yo.emptyScript : "",
|
|
922
|
+
const { is: mn, defineProperty: _n, getOwnPropertyDescriptor: gn, getOwnPropertyNames: vn, getOwnPropertySymbols: yn, getPrototypeOf: bn } = Object, Me = globalThis, yo = Me.trustedTypes, xn = yo ? yo.emptyScript : "", Xt = Me.reactiveElementPolyfillSupport, ht = (o, t) => o, _i = { toAttribute(o, t) {
|
|
923
923
|
switch (t) {
|
|
924
924
|
case Boolean:
|
|
925
925
|
o = o ? xn : null;
|
|
@@ -947,10 +947,10 @@ const { is: mn, defineProperty: _n, getOwnPropertyDescriptor: gn, getOwnProperty
|
|
|
947
947
|
}
|
|
948
948
|
}
|
|
949
949
|
return e;
|
|
950
|
-
} }, gs = (o, t) => !mn(o, t), bo = { attribute: !0, type: String, converter:
|
|
950
|
+
} }, gs = (o, t) => !mn(o, t), bo = { attribute: !0, type: String, converter: _i, reflect: !1, hasChanged: gs };
|
|
951
951
|
var ns, as;
|
|
952
952
|
(ns = Symbol.metadata) != null || (Symbol.metadata = Symbol("metadata")), (as = Me.litPropertyMetadata) != null || (Me.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
953
|
-
class
|
|
953
|
+
class qe extends HTMLElement {
|
|
954
954
|
static addInitializer(t) {
|
|
955
955
|
var e;
|
|
956
956
|
this._$Ei(), ((e = this.l) != null ? e : this.l = []).push(t);
|
|
@@ -959,7 +959,7 @@ class Ke extends HTMLElement {
|
|
|
959
959
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
960
960
|
}
|
|
961
961
|
static createProperty(t, e = bo) {
|
|
962
|
-
if (e.state && (e.attribute = !1), this._$Ei(), this.
|
|
962
|
+
if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
963
963
|
const i = Symbol(), s = this.getPropertyDescriptor(t, i, e);
|
|
964
964
|
s !== void 0 && _n(this.prototype, t, s);
|
|
965
965
|
}
|
|
@@ -971,9 +971,11 @@ class Ke extends HTMLElement {
|
|
|
971
971
|
}, set(a) {
|
|
972
972
|
this[e] = a;
|
|
973
973
|
} };
|
|
974
|
-
return { get
|
|
974
|
+
return { get() {
|
|
975
|
+
return s == null ? void 0 : s.call(this);
|
|
976
|
+
}, set(a) {
|
|
975
977
|
const l = s == null ? void 0 : s.call(this);
|
|
976
|
-
r
|
|
978
|
+
r.call(this, a), this.requestUpdate(t, l, i);
|
|
977
979
|
}, configurable: !0, enumerable: !0 };
|
|
978
980
|
}
|
|
979
981
|
static getPropertyOptions(t) {
|
|
@@ -981,15 +983,15 @@ class Ke extends HTMLElement {
|
|
|
981
983
|
return (e = this.elementProperties.get(t)) != null ? e : bo;
|
|
982
984
|
}
|
|
983
985
|
static _$Ei() {
|
|
984
|
-
if (this.hasOwnProperty(
|
|
986
|
+
if (this.hasOwnProperty(ht("elementProperties")))
|
|
985
987
|
return;
|
|
986
988
|
const t = bn(this);
|
|
987
989
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
988
990
|
}
|
|
989
991
|
static finalize() {
|
|
990
|
-
if (this.hasOwnProperty(
|
|
992
|
+
if (this.hasOwnProperty(ht("finalized")))
|
|
991
993
|
return;
|
|
992
|
-
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(
|
|
994
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(ht("properties"))) {
|
|
993
995
|
const e = this.properties, i = [...vn(e), ...yn(e)];
|
|
994
996
|
for (const s of i)
|
|
995
997
|
this.createProperty(s, e[s]);
|
|
@@ -1067,40 +1069,37 @@ class Ke extends HTMLElement {
|
|
|
1067
1069
|
attributeChangedCallback(t, e, i) {
|
|
1068
1070
|
this._$AK(t, i);
|
|
1069
1071
|
}
|
|
1070
|
-
_$
|
|
1072
|
+
_$EC(t, e) {
|
|
1071
1073
|
var r;
|
|
1072
1074
|
const i = this.constructor.elementProperties.get(t), s = this.constructor._$Eu(t, i);
|
|
1073
1075
|
if (s !== void 0 && i.reflect === !0) {
|
|
1074
|
-
const n = (((r = i.converter) == null ? void 0 : r.toAttribute) !== void 0 ? i.converter :
|
|
1076
|
+
const n = (((r = i.converter) == null ? void 0 : r.toAttribute) !== void 0 ? i.converter : _i).toAttribute(e, i.type);
|
|
1075
1077
|
this._$Em = t, n == null ? this.removeAttribute(s) : this.setAttribute(s, n), this._$Em = null;
|
|
1076
1078
|
}
|
|
1077
1079
|
}
|
|
1078
1080
|
_$AK(t, e) {
|
|
1079
|
-
var r
|
|
1081
|
+
var r;
|
|
1080
1082
|
const i = this.constructor, s = i._$Eh.get(t);
|
|
1081
1083
|
if (s !== void 0 && this._$Em !== s) {
|
|
1082
|
-
const
|
|
1083
|
-
this._$Em = s;
|
|
1084
|
-
const u = c.fromAttribute(e, l.type);
|
|
1085
|
-
this[s] = (a = u != null ? u : (n = this._$Ej) == null ? void 0 : n.get(s)) != null ? a : u, this._$Em = null;
|
|
1084
|
+
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 : _i;
|
|
1085
|
+
this._$Em = s, this[s] = a.fromAttribute(e, n.type), this._$Em = null;
|
|
1086
1086
|
}
|
|
1087
1087
|
}
|
|
1088
1088
|
requestUpdate(t, e, i) {
|
|
1089
|
-
var s
|
|
1089
|
+
var s;
|
|
1090
1090
|
if (t !== void 0) {
|
|
1091
|
-
|
|
1092
|
-
if (i != null || (i = n.getPropertyOptions(t)), !(((s = i.hasChanged) != null ? s : gs)(a, e) || i.useDefault && i.reflect && a === ((r = this._$Ej) == null ? void 0 : r.get(t)) && !this.hasAttribute(n._$Eu(t, i))))
|
|
1091
|
+
if (i != null || (i = this.constructor.getPropertyOptions(t)), !((s = i.hasChanged) != null ? s : gs)(this[t], e))
|
|
1093
1092
|
return;
|
|
1094
|
-
this.
|
|
1093
|
+
this.P(t, e, i);
|
|
1095
1094
|
}
|
|
1096
|
-
this.isUpdatePending === !1 && (this._$ES = this._$
|
|
1095
|
+
this.isUpdatePending === !1 && (this._$ES = this._$ET());
|
|
1097
1096
|
}
|
|
1098
|
-
|
|
1099
|
-
var
|
|
1100
|
-
|
|
1097
|
+
P(t, e, i) {
|
|
1098
|
+
var s;
|
|
1099
|
+
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);
|
|
1101
1100
|
}
|
|
1102
|
-
_$
|
|
1103
|
-
return
|
|
1101
|
+
_$ET() {
|
|
1102
|
+
return st(this, null, function* () {
|
|
1104
1103
|
this.isUpdatePending = !0;
|
|
1105
1104
|
try {
|
|
1106
1105
|
yield this._$ES;
|
|
@@ -1126,10 +1125,8 @@ class Ke extends HTMLElement {
|
|
|
1126
1125
|
}
|
|
1127
1126
|
const r = this.constructor.elementProperties;
|
|
1128
1127
|
if (r.size > 0)
|
|
1129
|
-
for (const [n, a] of r)
|
|
1130
|
-
|
|
1131
|
-
l !== !0 || this._$AL.has(n) || c === void 0 || this.C(n, void 0, a, c);
|
|
1132
|
-
}
|
|
1128
|
+
for (const [n, a] of r)
|
|
1129
|
+
a.wrapped !== !0 || this._$AL.has(n) || this[n] === void 0 || this.P(n, this[n], a);
|
|
1133
1130
|
}
|
|
1134
1131
|
let t = !1;
|
|
1135
1132
|
const e = this._$AL;
|
|
@@ -1137,9 +1134,9 @@ class Ke extends HTMLElement {
|
|
|
1137
1134
|
t = this.shouldUpdate(e), t ? (this.willUpdate(e), (s = this._$EO) == null || s.forEach((r) => {
|
|
1138
1135
|
var n;
|
|
1139
1136
|
return (n = r.hostUpdate) == null ? void 0 : n.call(r);
|
|
1140
|
-
}), this.update(e)) : this._$
|
|
1137
|
+
}), this.update(e)) : this._$EU();
|
|
1141
1138
|
} catch (r) {
|
|
1142
|
-
throw t = !1, this._$
|
|
1139
|
+
throw t = !1, this._$EU(), r;
|
|
1143
1140
|
}
|
|
1144
1141
|
t && this._$AE(e);
|
|
1145
1142
|
}
|
|
@@ -1152,7 +1149,7 @@ class Ke extends HTMLElement {
|
|
|
1152
1149
|
return (s = i.hostUpdated) == null ? void 0 : s.call(i);
|
|
1153
1150
|
}), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
|
|
1154
1151
|
}
|
|
1155
|
-
_$
|
|
1152
|
+
_$EU() {
|
|
1156
1153
|
this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
|
|
1157
1154
|
}
|
|
1158
1155
|
get updateComplete() {
|
|
@@ -1165,7 +1162,7 @@ class Ke extends HTMLElement {
|
|
|
1165
1162
|
return !0;
|
|
1166
1163
|
}
|
|
1167
1164
|
update(t) {
|
|
1168
|
-
this._$
|
|
1165
|
+
this._$Ej && (this._$Ej = this._$Ej.forEach((e) => this._$EC(e, this[e]))), this._$EU();
|
|
1169
1166
|
}
|
|
1170
1167
|
updated(t) {
|
|
1171
1168
|
}
|
|
@@ -1173,40 +1170,40 @@ class Ke extends HTMLElement {
|
|
|
1173
1170
|
}
|
|
1174
1171
|
}
|
|
1175
1172
|
var ls;
|
|
1176
|
-
|
|
1173
|
+
qe.elementStyles = [], qe.shadowRootOptions = { mode: "open" }, qe[ht("elementProperties")] = /* @__PURE__ */ new Map(), qe[ht("finalized")] = /* @__PURE__ */ new Map(), Xt == null || Xt({ ReactiveElement: qe }), ((ls = Me.reactiveElementVersions) != null ? ls : Me.reactiveElementVersions = []).push("2.0.4");
|
|
1177
1174
|
/**
|
|
1178
1175
|
* @license
|
|
1179
1176
|
* Copyright 2017 Google LLC
|
|
1180
1177
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1181
1178
|
*/
|
|
1182
|
-
const
|
|
1183
|
-
\f\r]`,
|
|
1184
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"), So = /'/g, Ao = /"/g, bs = /^(?:script|style|textarea|title)$/i,
|
|
1179
|
+
const pt = globalThis, zt = pt.trustedTypes, xo = zt ? zt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, vs = "$lit$", Te = `lit$${Math.random().toFixed(9).slice(2)}$`, ys = "?" + Te, wn = `<${ys}>`, Be = document, mt = () => Be.createComment(""), _t = (o) => o === null || typeof o != "object" && typeof o != "function", Yi = Array.isArray, En = (o) => Yi(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", Zt = `[
|
|
1180
|
+
\f\r]`, rt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, wo = /-->/g, Eo = />/g, ze = RegExp(`>|${Zt}(?:([^\\s"'>=/]+)(${Zt}*=${Zt}*(?:[^
|
|
1181
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), So = /'/g, Ao = /"/g, bs = /^(?:script|style|textarea|title)$/i, Ze = Symbol.for("lit-noChange"), re = Symbol.for("lit-nothing"), Co = /* @__PURE__ */ new WeakMap(), Le = Be.createTreeWalker(Be, 129);
|
|
1185
1182
|
function xs(o, t) {
|
|
1186
|
-
if (!
|
|
1183
|
+
if (!Yi(o) || !o.hasOwnProperty("raw"))
|
|
1187
1184
|
throw Error("invalid template strings array");
|
|
1188
1185
|
return xo !== void 0 ? xo.createHTML(t) : t;
|
|
1189
1186
|
}
|
|
1190
1187
|
const Sn = (o, t) => {
|
|
1191
1188
|
const e = o.length - 1, i = [];
|
|
1192
|
-
let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n =
|
|
1189
|
+
let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = rt;
|
|
1193
1190
|
for (let a = 0; a < e; a++) {
|
|
1194
1191
|
const l = o[a];
|
|
1195
1192
|
let c, u, d = -1, h = 0;
|
|
1196
1193
|
for (; h < l.length && (n.lastIndex = h, u = n.exec(l), u !== null); )
|
|
1197
|
-
h = n.lastIndex, n ===
|
|
1194
|
+
h = n.lastIndex, n === rt ? u[1] === "!--" ? n = wo : u[1] !== void 0 ? n = Eo : u[2] !== void 0 ? (bs.test(u[2]) && (s = RegExp("</" + u[2], "g")), n = ze) : u[3] !== void 0 && (n = ze) : n === ze ? u[0] === ">" ? (n = s != null ? s : rt, d = -1) : u[1] === void 0 ? d = -2 : (d = n.lastIndex - u[2].length, c = u[1], n = u[3] === void 0 ? ze : u[3] === '"' ? Ao : So) : n === Ao || n === So ? n = ze : n === wo || n === Eo ? n = rt : (n = ze, s = void 0);
|
|
1198
1195
|
const p = n === ze && o[a + 1].startsWith("/>") ? " " : "";
|
|
1199
|
-
r += n ===
|
|
1196
|
+
r += n === rt ? l + wn : d >= 0 ? (i.push(c), l.slice(0, d) + vs + l.slice(d) + Te + p) : l + Te + (d === -2 ? a : p);
|
|
1200
1197
|
}
|
|
1201
1198
|
return [xs(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
|
|
1202
1199
|
};
|
|
1203
|
-
class
|
|
1200
|
+
class gt {
|
|
1204
1201
|
constructor({ strings: t, _$litType$: e }, i) {
|
|
1205
1202
|
let s;
|
|
1206
1203
|
this.parts = [];
|
|
1207
1204
|
let r = 0, n = 0;
|
|
1208
1205
|
const a = t.length - 1, l = this.parts, [c, u] = Sn(t, e);
|
|
1209
|
-
if (this.el =
|
|
1206
|
+
if (this.el = gt.createElement(c, i), Le.currentNode = this.el.content, e === 2 || e === 3) {
|
|
1210
1207
|
const d = this.el.content.firstChild;
|
|
1211
1208
|
d.replaceWith(...d.childNodes);
|
|
1212
1209
|
}
|
|
@@ -1222,10 +1219,10 @@ class vt {
|
|
|
1222
1219
|
if (bs.test(s.tagName)) {
|
|
1223
1220
|
const d = s.textContent.split(Te), h = d.length - 1;
|
|
1224
1221
|
if (h > 0) {
|
|
1225
|
-
s.textContent =
|
|
1222
|
+
s.textContent = zt ? zt.emptyScript : "";
|
|
1226
1223
|
for (let p = 0; p < h; p++)
|
|
1227
|
-
s.append(d[p],
|
|
1228
|
-
s.append(d[h],
|
|
1224
|
+
s.append(d[p], mt()), Le.nextNode(), l.push({ type: 2, index: ++r });
|
|
1225
|
+
s.append(d[h], mt());
|
|
1229
1226
|
}
|
|
1230
1227
|
}
|
|
1231
1228
|
} else if (s.nodeType === 8)
|
|
@@ -1240,17 +1237,17 @@ class vt {
|
|
|
1240
1237
|
}
|
|
1241
1238
|
}
|
|
1242
1239
|
static createElement(t, e) {
|
|
1243
|
-
const i =
|
|
1240
|
+
const i = Be.createElement("template");
|
|
1244
1241
|
return i.innerHTML = t, i;
|
|
1245
1242
|
}
|
|
1246
1243
|
}
|
|
1247
|
-
function
|
|
1244
|
+
function Qe(o, t, e = o, i) {
|
|
1248
1245
|
var n, a, l;
|
|
1249
|
-
if (t ===
|
|
1246
|
+
if (t === Ze)
|
|
1250
1247
|
return t;
|
|
1251
1248
|
let s = i !== void 0 ? (n = e._$Co) == null ? void 0 : n[i] : e._$Cl;
|
|
1252
|
-
const r =
|
|
1253
|
-
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 =
|
|
1249
|
+
const r = _t(t) ? void 0 : t._$litDirective$;
|
|
1250
|
+
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 = Qe(o, s._$AS(o, t.values), s, i)), t;
|
|
1254
1251
|
}
|
|
1255
1252
|
class An {
|
|
1256
1253
|
constructor(t, e) {
|
|
@@ -1264,17 +1261,17 @@ class An {
|
|
|
1264
1261
|
}
|
|
1265
1262
|
u(t) {
|
|
1266
1263
|
var c;
|
|
1267
|
-
const { el: { content: e }, parts: i } = this._$AD, s = ((c = t == null ? void 0 : t.creationScope) != null ? c :
|
|
1264
|
+
const { el: { content: e }, parts: i } = this._$AD, s = ((c = t == null ? void 0 : t.creationScope) != null ? c : Be).importNode(e, !0);
|
|
1268
1265
|
Le.currentNode = s;
|
|
1269
1266
|
let r = Le.nextNode(), n = 0, a = 0, l = i[0];
|
|
1270
1267
|
for (; l !== void 0; ) {
|
|
1271
1268
|
if (n === l.index) {
|
|
1272
1269
|
let u;
|
|
1273
|
-
l.type === 2 ? u = new
|
|
1270
|
+
l.type === 2 ? u = new St(r, r.nextSibling, this, t) : l.type === 1 ? u = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (u = new Pn(r, this, t)), this._$AV.push(u), l = i[++a];
|
|
1274
1271
|
}
|
|
1275
1272
|
n !== (l == null ? void 0 : l.index) && (r = Le.nextNode(), n++);
|
|
1276
1273
|
}
|
|
1277
|
-
return Le.currentNode =
|
|
1274
|
+
return Le.currentNode = Be, s;
|
|
1278
1275
|
}
|
|
1279
1276
|
p(t) {
|
|
1280
1277
|
let e = 0;
|
|
@@ -1282,7 +1279,7 @@ class An {
|
|
|
1282
1279
|
i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, e), e += i.strings.length - 2) : i._$AI(t[e])), e++;
|
|
1283
1280
|
}
|
|
1284
1281
|
}
|
|
1285
|
-
class
|
|
1282
|
+
class St {
|
|
1286
1283
|
get _$AU() {
|
|
1287
1284
|
var t, e;
|
|
1288
1285
|
return (e = (t = this._$AM) == null ? void 0 : t._$AU) != null ? e : this._$Cv;
|
|
@@ -1303,7 +1300,7 @@ class At {
|
|
|
1303
1300
|
return this._$AB;
|
|
1304
1301
|
}
|
|
1305
1302
|
_$AI(t, e = this) {
|
|
1306
|
-
t =
|
|
1303
|
+
t = Qe(this, t, e), _t(t) ? t === re || t == null || t === "" ? (this._$AH !== re && this._$AR(), this._$AH = re) : t !== this._$AH && t !== Ze && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : En(t) ? this.k(t) : this._(t);
|
|
1307
1304
|
}
|
|
1308
1305
|
O(t) {
|
|
1309
1306
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -1312,11 +1309,11 @@ class At {
|
|
|
1312
1309
|
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
|
1313
1310
|
}
|
|
1314
1311
|
_(t) {
|
|
1315
|
-
this._$AH !== re &&
|
|
1312
|
+
this._$AH !== re && _t(this._$AH) ? this._$AA.nextSibling.data = t : this.T(Be.createTextNode(t)), this._$AH = t;
|
|
1316
1313
|
}
|
|
1317
1314
|
$(t) {
|
|
1318
1315
|
var r;
|
|
1319
|
-
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el =
|
|
1316
|
+
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = gt.createElement(xs(i.h, i.h[0]), this.options)), i);
|
|
1320
1317
|
if (((r = this._$AH) == null ? void 0 : r._$AD) === s)
|
|
1321
1318
|
this._$AH.p(e);
|
|
1322
1319
|
else {
|
|
@@ -1326,19 +1323,19 @@ class At {
|
|
|
1326
1323
|
}
|
|
1327
1324
|
_$AC(t) {
|
|
1328
1325
|
let e = Co.get(t.strings);
|
|
1329
|
-
return e === void 0 && Co.set(t.strings, e = new
|
|
1326
|
+
return e === void 0 && Co.set(t.strings, e = new gt(t)), e;
|
|
1330
1327
|
}
|
|
1331
1328
|
k(t) {
|
|
1332
|
-
|
|
1329
|
+
Yi(this._$AH) || (this._$AH = [], this._$AR());
|
|
1333
1330
|
const e = this._$AH;
|
|
1334
1331
|
let i, s = 0;
|
|
1335
1332
|
for (const r of t)
|
|
1336
|
-
s === e.length ? e.push(i = new
|
|
1333
|
+
s === e.length ? e.push(i = new St(this.O(mt()), this.O(mt()), this, this.options)) : i = e[s], i._$AI(r), s++;
|
|
1337
1334
|
s < e.length && (this._$AR(i && i._$AB.nextSibling, s), e.length = s);
|
|
1338
1335
|
}
|
|
1339
1336
|
_$AR(t = this._$AA.nextSibling, e) {
|
|
1340
1337
|
var i;
|
|
1341
|
-
for ((i = this._$AP) == null ? void 0 : i.call(this, !1, !0, e); t !== this._$AB; ) {
|
|
1338
|
+
for ((i = this._$AP) == null ? void 0 : i.call(this, !1, !0, e); t && t !== this._$AB; ) {
|
|
1342
1339
|
const s = t.nextSibling;
|
|
1343
1340
|
t.remove(), t = s;
|
|
1344
1341
|
}
|
|
@@ -1362,12 +1359,12 @@ class Ut {
|
|
|
1362
1359
|
const r = this.strings;
|
|
1363
1360
|
let n = !1;
|
|
1364
1361
|
if (r === void 0)
|
|
1365
|
-
t =
|
|
1362
|
+
t = Qe(this, t, e, 0), n = !_t(t) || t !== this._$AH && t !== Ze, n && (this._$AH = t);
|
|
1366
1363
|
else {
|
|
1367
1364
|
const a = t;
|
|
1368
1365
|
let l, c;
|
|
1369
1366
|
for (t = r[0], l = 0; l < r.length - 1; l++)
|
|
1370
|
-
c =
|
|
1367
|
+
c = Qe(this, a[i + l], e, l), c === Ze && (c = this._$AH[l]), n || (n = !_t(c) || c !== this._$AH[l]), c === re ? t = re : t !== re && (t += (c != null ? c : "") + r[l + 1]), this._$AH[l] = c;
|
|
1371
1368
|
}
|
|
1372
1369
|
n && !s && this.j(t);
|
|
1373
1370
|
}
|
|
@@ -1397,7 +1394,7 @@ class kn extends Ut {
|
|
|
1397
1394
|
}
|
|
1398
1395
|
_$AI(t, e = this) {
|
|
1399
1396
|
var n;
|
|
1400
|
-
if ((t = (n =
|
|
1397
|
+
if ((t = (n = Qe(this, t, e, 0)) != null ? n : re) === Ze)
|
|
1401
1398
|
return;
|
|
1402
1399
|
const i = this._$AH, s = t === re && i !== re || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, r = t !== re && (i === re || s);
|
|
1403
1400
|
s && this.element.removeEventListener(this.name, this, i), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
@@ -1415,19 +1412,19 @@ class Pn {
|
|
|
1415
1412
|
return this._$AM._$AU;
|
|
1416
1413
|
}
|
|
1417
1414
|
_$AI(t) {
|
|
1418
|
-
|
|
1415
|
+
Qe(this, t);
|
|
1419
1416
|
}
|
|
1420
1417
|
}
|
|
1421
|
-
const
|
|
1418
|
+
const Qt = pt.litHtmlPolyfillSupport;
|
|
1422
1419
|
var cs;
|
|
1423
|
-
|
|
1420
|
+
Qt == null || Qt(gt, St), ((cs = pt.litHtmlVersions) != null ? cs : pt.litHtmlVersions = []).push("3.2.1");
|
|
1424
1421
|
const Tn = (o, t, e) => {
|
|
1425
1422
|
var r, n;
|
|
1426
1423
|
const i = (r = e == null ? void 0 : e.renderBefore) != null ? r : t;
|
|
1427
1424
|
let s = i._$litPart$;
|
|
1428
1425
|
if (s === void 0) {
|
|
1429
1426
|
const a = (n = e == null ? void 0 : e.renderBefore) != null ? n : null;
|
|
1430
|
-
i._$litPart$ = s = new
|
|
1427
|
+
i._$litPart$ = s = new St(t.insertBefore(mt(), a), a, void 0, e != null ? e : {});
|
|
1431
1428
|
}
|
|
1432
1429
|
return s._$AI(o), s;
|
|
1433
1430
|
};
|
|
@@ -1436,8 +1433,7 @@ const Tn = (o, t, e) => {
|
|
|
1436
1433
|
* Copyright 2017 Google LLC
|
|
1437
1434
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1438
1435
|
*/
|
|
1439
|
-
|
|
1440
|
-
class Ge extends Ke {
|
|
1436
|
+
class Ke extends qe {
|
|
1441
1437
|
constructor() {
|
|
1442
1438
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
1443
1439
|
}
|
|
@@ -1459,15 +1455,15 @@ class Ge extends Ke {
|
|
|
1459
1455
|
super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
|
|
1460
1456
|
}
|
|
1461
1457
|
render() {
|
|
1462
|
-
return
|
|
1458
|
+
return Ze;
|
|
1463
1459
|
}
|
|
1464
1460
|
}
|
|
1465
1461
|
var us;
|
|
1466
|
-
|
|
1467
|
-
const
|
|
1468
|
-
|
|
1462
|
+
Ke._$litElement$ = !0, Ke.finalized = !0, (us = globalThis.litElementHydrateSupport) == null || us.call(globalThis, { LitElement: Ke });
|
|
1463
|
+
const ei = globalThis.litElementPolyfillSupport;
|
|
1464
|
+
ei == null || ei({ LitElement: Ke });
|
|
1469
1465
|
var ds;
|
|
1470
|
-
((ds =
|
|
1466
|
+
((ds = globalThis.litElementVersions) != null ? ds : globalThis.litElementVersions = []).push("4.1.1");
|
|
1471
1467
|
/**
|
|
1472
1468
|
* @license
|
|
1473
1469
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -1512,7 +1508,7 @@ const Mn = (o) => class extends o {
|
|
|
1512
1508
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1513
1509
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1514
1510
|
*/
|
|
1515
|
-
const ws = [],
|
|
1511
|
+
const ws = [], gi = /* @__PURE__ */ new Set(), ji = /* @__PURE__ */ new Set();
|
|
1516
1512
|
function Es(o) {
|
|
1517
1513
|
return o && Object.prototype.hasOwnProperty.call(o, "__themes");
|
|
1518
1514
|
}
|
|
@@ -1520,7 +1516,7 @@ function On(o) {
|
|
|
1520
1516
|
return Es(customElements.get(o));
|
|
1521
1517
|
}
|
|
1522
1518
|
function In(o = []) {
|
|
1523
|
-
return [o].flat(1 / 0).filter((t) => t instanceof
|
|
1519
|
+
return [o].flat(1 / 0).filter((t) => t instanceof Bi ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
|
|
1524
1520
|
}
|
|
1525
1521
|
function Ss(o, t) {
|
|
1526
1522
|
return (o || "").split(" ").some((e) => new RegExp(`^${e.split("*").join(".*")}$`, "u").test(t));
|
|
@@ -1529,36 +1525,36 @@ function As(o) {
|
|
|
1529
1525
|
return o.map((t) => t.cssText).join(`
|
|
1530
1526
|
`);
|
|
1531
1527
|
}
|
|
1532
|
-
const
|
|
1528
|
+
const Lt = "vaadin-themable-mixin-style";
|
|
1533
1529
|
function Fn(o, t) {
|
|
1534
1530
|
const e = document.createElement("style");
|
|
1535
|
-
e.id =
|
|
1531
|
+
e.id = Lt, e.textContent = As(o), t.content.appendChild(e);
|
|
1536
1532
|
}
|
|
1537
1533
|
function Nn(o) {
|
|
1538
1534
|
if (!o.shadowRoot)
|
|
1539
1535
|
return;
|
|
1540
1536
|
const t = o.constructor;
|
|
1541
|
-
if (o instanceof
|
|
1537
|
+
if (o instanceof Ke)
|
|
1542
1538
|
[...o.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()), _s(o.shadowRoot, t.elementStyles);
|
|
1543
1539
|
else {
|
|
1544
|
-
const e = o.shadowRoot.getElementById(
|
|
1545
|
-
e.textContent = i.content.getElementById(
|
|
1540
|
+
const e = o.shadowRoot.getElementById(Lt), i = t.prototype._template;
|
|
1541
|
+
e.textContent = i.content.getElementById(Lt).textContent;
|
|
1546
1542
|
}
|
|
1547
1543
|
}
|
|
1548
1544
|
function zn(o) {
|
|
1549
|
-
|
|
1545
|
+
gi.forEach((t) => {
|
|
1550
1546
|
const e = t.deref();
|
|
1551
|
-
e instanceof o ? Nn(e) : e ||
|
|
1547
|
+
e instanceof o ? Nn(e) : e || gi.delete(t);
|
|
1552
1548
|
});
|
|
1553
1549
|
}
|
|
1554
1550
|
function Cs(o) {
|
|
1555
|
-
if (o.prototype instanceof
|
|
1551
|
+
if (o.prototype instanceof Ke)
|
|
1556
1552
|
o.elementStyles = o.finalizeStyles(o.styles);
|
|
1557
1553
|
else {
|
|
1558
1554
|
const t = o.prototype._template;
|
|
1559
|
-
t.content.getElementById(
|
|
1555
|
+
t.content.getElementById(Lt).textContent = As(o.getStylesForThis());
|
|
1560
1556
|
}
|
|
1561
|
-
|
|
1557
|
+
ji.forEach((t) => {
|
|
1562
1558
|
const e = customElements.get(t);
|
|
1563
1559
|
e !== o && e.prototype instanceof o && Cs(e);
|
|
1564
1560
|
});
|
|
@@ -1575,7 +1571,7 @@ function Q(o, t, e = {}) {
|
|
|
1575
1571
|
styles: t,
|
|
1576
1572
|
include: e.include,
|
|
1577
1573
|
moduleId: e.moduleId
|
|
1578
|
-
}), o &&
|
|
1574
|
+
}), o && ji.forEach((i) => {
|
|
1579
1575
|
if (Ss(o, i) && On(i)) {
|
|
1580
1576
|
const s = customElements.get(i);
|
|
1581
1577
|
Ln(s, t) ? console.warn(`Registering styles that already exist for ${i}`) : (!window.Vaadin || !window.Vaadin.suppressPostFinalizeStylesWarning) && console.warn(
|
|
@@ -1584,7 +1580,7 @@ function Q(o, t, e = {}) {
|
|
|
1584
1580
|
}
|
|
1585
1581
|
});
|
|
1586
1582
|
}
|
|
1587
|
-
function
|
|
1583
|
+
function vi() {
|
|
1588
1584
|
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() : ws;
|
|
1589
1585
|
}
|
|
1590
1586
|
function $n(o = "") {
|
|
@@ -1594,29 +1590,29 @@ function $n(o = "") {
|
|
|
1594
1590
|
function Ds(o) {
|
|
1595
1591
|
const t = [];
|
|
1596
1592
|
return o.include && [].concat(o.include).forEach((e) => {
|
|
1597
|
-
const i =
|
|
1593
|
+
const i = vi().find((s) => s.moduleId === e);
|
|
1598
1594
|
i ? t.push(...Ds(i), ...i.styles) : console.warn(`Included moduleId ${e} not found in style registry`);
|
|
1599
1595
|
}, o.styles), t;
|
|
1600
1596
|
}
|
|
1601
1597
|
function Rn(o) {
|
|
1602
|
-
const t = `${o}-default-theme`, e =
|
|
1598
|
+
const t = `${o}-default-theme`, e = vi().filter((i) => i.moduleId !== t && Ss(i.themeFor, o)).map((i) => Dt(Ct({}, i), {
|
|
1603
1599
|
// Prepend styles from included themes
|
|
1604
1600
|
styles: [...Ds(i), ...i.styles],
|
|
1605
1601
|
// Map moduleId to includePriority
|
|
1606
1602
|
includePriority: $n(i.moduleId)
|
|
1607
1603
|
})).sort((i, s) => s.includePriority - i.includePriority);
|
|
1608
|
-
return e.length > 0 ? e :
|
|
1604
|
+
return e.length > 0 ? e : vi().filter((i) => i.moduleId === t);
|
|
1609
1605
|
}
|
|
1610
|
-
const
|
|
1606
|
+
const Ye = (o) => class extends Mn(o) {
|
|
1611
1607
|
constructor() {
|
|
1612
|
-
super(),
|
|
1608
|
+
super(), gi.add(new WeakRef(this));
|
|
1613
1609
|
}
|
|
1614
1610
|
/**
|
|
1615
1611
|
* Covers PolymerElement based component styling
|
|
1616
1612
|
* @protected
|
|
1617
1613
|
*/
|
|
1618
1614
|
static finalize() {
|
|
1619
|
-
if (super.finalize(), this.is &&
|
|
1615
|
+
if (super.finalize(), this.is && ji.add(this.is), this.elementStyles)
|
|
1620
1616
|
return;
|
|
1621
1617
|
const e = this.prototype._template;
|
|
1622
1618
|
!e || Es(this) || Fn(this.getStylesForThis(), e);
|
|
@@ -1651,7 +1647,7 @@ const Hn = (o, ...t) => {
|
|
|
1651
1647
|
const e = document.createElement("style");
|
|
1652
1648
|
e.id = o, e.textContent = t.map((i) => i.toString()).join(`
|
|
1653
1649
|
`).replace(":host", "html"), document.head.insertAdjacentElement("afterbegin", e);
|
|
1654
|
-
},
|
|
1650
|
+
}, it = (o, ...t) => {
|
|
1655
1651
|
Hn(`lumo-${o}`, t);
|
|
1656
1652
|
};
|
|
1657
1653
|
/**
|
|
@@ -1675,7 +1671,7 @@ const Bn = R`
|
|
|
1675
1671
|
--lumo-icon-size: var(--lumo-icon-size-m);
|
|
1676
1672
|
}
|
|
1677
1673
|
`;
|
|
1678
|
-
|
|
1674
|
+
it("sizing-props", Bn);
|
|
1679
1675
|
/**
|
|
1680
1676
|
* @license
|
|
1681
1677
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -1705,7 +1701,7 @@ const Yn = R`
|
|
|
1705
1701
|
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
|
1706
1702
|
}
|
|
1707
1703
|
`;
|
|
1708
|
-
|
|
1704
|
+
it("spacing-props", Yn);
|
|
1709
1705
|
/**
|
|
1710
1706
|
* @license
|
|
1711
1707
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -1813,13 +1809,13 @@ R`
|
|
|
1813
1809
|
--vaadin-input-field-value-font-weight: 500;
|
|
1814
1810
|
}
|
|
1815
1811
|
`;
|
|
1816
|
-
|
|
1812
|
+
it("style-props", jn);
|
|
1817
1813
|
/**
|
|
1818
1814
|
* @license
|
|
1819
1815
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1820
1816
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1821
1817
|
*/
|
|
1822
|
-
const
|
|
1818
|
+
const Un = R`
|
|
1823
1819
|
:host {
|
|
1824
1820
|
/* Base (background) */
|
|
1825
1821
|
--lumo-base-color: #fff;
|
|
@@ -1905,8 +1901,8 @@ const Vn = R`
|
|
|
1905
1901
|
}
|
|
1906
1902
|
}
|
|
1907
1903
|
`;
|
|
1908
|
-
|
|
1909
|
-
const
|
|
1904
|
+
it("color-props", Un);
|
|
1905
|
+
const Vn = R`
|
|
1910
1906
|
[theme~='dark'] {
|
|
1911
1907
|
/* Base (background) */
|
|
1912
1908
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -2025,7 +2021,7 @@ const Un = R`
|
|
|
2025
2021
|
background: transparent;
|
|
2026
2022
|
}
|
|
2027
2023
|
`;
|
|
2028
|
-
Q("",
|
|
2024
|
+
Q("", Vn, { moduleId: "lumo-color" });
|
|
2029
2025
|
/**
|
|
2030
2026
|
* @license
|
|
2031
2027
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -2145,7 +2141,7 @@ const Wn = R`
|
|
|
2145
2141
|
}
|
|
2146
2142
|
`;
|
|
2147
2143
|
Q("", qn, { moduleId: "lumo-typography" });
|
|
2148
|
-
|
|
2144
|
+
it("typography-props", Wn);
|
|
2149
2145
|
/**
|
|
2150
2146
|
* @license
|
|
2151
2147
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -3224,7 +3220,7 @@ const Xn = R`
|
|
|
3224
3220
|
--lumo-icons-user: '\\ea2a';
|
|
3225
3221
|
}
|
|
3226
3222
|
`;
|
|
3227
|
-
|
|
3223
|
+
it("font-icons", Xn);
|
|
3228
3224
|
/**
|
|
3229
3225
|
* @license
|
|
3230
3226
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -3625,19 +3621,19 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3625
3621
|
Code distributed by Google as part of the polymer project is also
|
|
3626
3622
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3627
3623
|
*/
|
|
3628
|
-
let ta = /(url\()([^)]*)(\))/g, ia = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/,
|
|
3629
|
-
function
|
|
3624
|
+
let ta = /(url\()([^)]*)(\))/g, ia = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, kt, ve;
|
|
3625
|
+
function ft(o, t) {
|
|
3630
3626
|
if (o && ia.test(o) || o === "//")
|
|
3631
3627
|
return o;
|
|
3632
|
-
if (
|
|
3633
|
-
|
|
3628
|
+
if (kt === void 0) {
|
|
3629
|
+
kt = !1;
|
|
3634
3630
|
try {
|
|
3635
3631
|
const e = new URL("b", "http://a");
|
|
3636
|
-
e.pathname = "c%20d",
|
|
3632
|
+
e.pathname = "c%20d", kt = e.href === "http://a/c%20d";
|
|
3637
3633
|
} catch (e) {
|
|
3638
3634
|
}
|
|
3639
3635
|
}
|
|
3640
|
-
if (t || (t = document.baseURI || window.location.href),
|
|
3636
|
+
if (t || (t = document.baseURI || window.location.href), kt)
|
|
3641
3637
|
try {
|
|
3642
3638
|
return new URL(o, t).href;
|
|
3643
3639
|
} catch (e) {
|
|
@@ -3647,10 +3643,10 @@ function mt(o, t) {
|
|
|
3647
3643
|
}
|
|
3648
3644
|
function Ui(o, t) {
|
|
3649
3645
|
return o.replace(ta, function(e, i, s, r) {
|
|
3650
|
-
return i + "'" +
|
|
3646
|
+
return i + "'" + ft(s.replace(/["']/g, ""), t) + "'" + r;
|
|
3651
3647
|
});
|
|
3652
3648
|
}
|
|
3653
|
-
function
|
|
3649
|
+
function Vi(o) {
|
|
3654
3650
|
return o.substring(0, o.lastIndexOf("/") + 1);
|
|
3655
3651
|
}
|
|
3656
3652
|
/**
|
|
@@ -3675,9 +3671,9 @@ const oa = Fs && "adoptedStyleSheets" in Document.prototype && "replaceSync" in
|
|
|
3675
3671
|
return !1;
|
|
3676
3672
|
}
|
|
3677
3673
|
})();
|
|
3678
|
-
let sa = window.Polymer && window.Polymer.rootPath ||
|
|
3674
|
+
let sa = window.Polymer && window.Polymer.rootPath || Vi(document.baseURI || window.location.href), $t = window.Polymer && window.Polymer.sanitizeDOMValue || void 0;
|
|
3679
3675
|
window.Polymer && window.Polymer.setPassiveTouchGestures;
|
|
3680
|
-
let
|
|
3676
|
+
let Rt = window.Polymer && window.Polymer.strictTemplatePolicy || !1, ra = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, Ns = window.Polymer && window.Polymer.legacyOptimizations || !1, zs = window.Polymer && window.Polymer.legacyWarnings || !1, na = window.Polymer && window.Polymer.syncInitialRender || !1, yi = window.Polymer && window.Polymer.legacyUndefined || !1, aa = window.Polymer && window.Polymer.orderedComputed || !1, Do = window.Polymer && window.Polymer.removeNestedTemplates || !1, la = window.Polymer && window.Polymer.fastDomIf || !1, ko = window.Polymer && window.Polymer.suppressTemplateNotifications || !1;
|
|
3681
3677
|
window.Polymer && window.Polymer.legacyNoObservedAttributes;
|
|
3682
3678
|
let ca = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
|
|
3683
3679
|
/**
|
|
@@ -3727,17 +3723,17 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3727
3723
|
Code distributed by Google as part of the polymer project is also
|
|
3728
3724
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3729
3725
|
*/
|
|
3730
|
-
let
|
|
3726
|
+
let Wi = {}, Ls = {};
|
|
3731
3727
|
function Po(o, t) {
|
|
3732
|
-
|
|
3728
|
+
Wi[o] = Ls[o.toLowerCase()] = t;
|
|
3733
3729
|
}
|
|
3734
3730
|
function To(o) {
|
|
3735
|
-
return
|
|
3731
|
+
return Wi[o] || Ls[o.toLowerCase()];
|
|
3736
3732
|
}
|
|
3737
3733
|
function da(o) {
|
|
3738
3734
|
o.querySelector("style") && console.warn("dom-module %s has style outside template", o.id);
|
|
3739
3735
|
}
|
|
3740
|
-
class
|
|
3736
|
+
class vt extends HTMLElement {
|
|
3741
3737
|
/** @override */
|
|
3742
3738
|
static get observedAttributes() {
|
|
3743
3739
|
return ["id"];
|
|
@@ -3786,11 +3782,11 @@ class yt extends HTMLElement {
|
|
|
3786
3782
|
*/
|
|
3787
3783
|
get assetpath() {
|
|
3788
3784
|
if (!this.__assetpath) {
|
|
3789
|
-
const t = window.HTMLImports && HTMLImports.importForElement ? HTMLImports.importForElement(this) || document : this.ownerDocument, e =
|
|
3785
|
+
const t = window.HTMLImports && HTMLImports.importForElement ? HTMLImports.importForElement(this) || document : this.ownerDocument, e = ft(
|
|
3790
3786
|
this.getAttribute("assetpath") || "",
|
|
3791
3787
|
t.baseURI
|
|
3792
3788
|
);
|
|
3793
|
-
this.__assetpath =
|
|
3789
|
+
this.__assetpath = Vi(e);
|
|
3794
3790
|
}
|
|
3795
3791
|
return this.__assetpath;
|
|
3796
3792
|
}
|
|
@@ -3803,14 +3799,14 @@ class yt extends HTMLElement {
|
|
|
3803
3799
|
*/
|
|
3804
3800
|
register(t) {
|
|
3805
3801
|
if (t = t || this.id, t) {
|
|
3806
|
-
if (
|
|
3802
|
+
if (Rt && To(t) !== void 0)
|
|
3807
3803
|
throw Po(t, null), new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);
|
|
3808
3804
|
this.id = t, Po(t, this), da(this);
|
|
3809
3805
|
}
|
|
3810
3806
|
}
|
|
3811
3807
|
}
|
|
3812
|
-
|
|
3813
|
-
customElements.define("dom-module",
|
|
3808
|
+
vt.prototype.modules = Wi;
|
|
3809
|
+
customElements.define("dom-module", vt);
|
|
3814
3810
|
/**
|
|
3815
3811
|
@license
|
|
3816
3812
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -3824,7 +3820,7 @@ const ha = "link[rel=import][type~=css]", pa = "include", Mo = "shady-unscoped";
|
|
|
3824
3820
|
function $s(o) {
|
|
3825
3821
|
return (
|
|
3826
3822
|
/** @type {?DomModule} */
|
|
3827
|
-
|
|
3823
|
+
vt.import(o)
|
|
3828
3824
|
);
|
|
3829
3825
|
}
|
|
3830
3826
|
function Oo(o) {
|
|
@@ -3916,26 +3912,26 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3916
3912
|
Code distributed by Google as part of the polymer project is also
|
|
3917
3913
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3918
3914
|
*/
|
|
3919
|
-
function
|
|
3915
|
+
function bi(o) {
|
|
3920
3916
|
return o.indexOf(".") >= 0;
|
|
3921
3917
|
}
|
|
3922
|
-
function
|
|
3918
|
+
function je(o) {
|
|
3923
3919
|
let t = o.indexOf(".");
|
|
3924
3920
|
return t === -1 ? o : o.slice(0, t);
|
|
3925
3921
|
}
|
|
3926
3922
|
function Bs(o, t) {
|
|
3927
3923
|
return o.indexOf(t + ".") === 0;
|
|
3928
3924
|
}
|
|
3929
|
-
function
|
|
3925
|
+
function yt(o, t) {
|
|
3930
3926
|
return t.indexOf(o + ".") === 0;
|
|
3931
3927
|
}
|
|
3932
|
-
function
|
|
3928
|
+
function bt(o, t, e) {
|
|
3933
3929
|
return t + e.slice(o.length);
|
|
3934
3930
|
}
|
|
3935
3931
|
function ga(o, t) {
|
|
3936
|
-
return o === t || Bs(o, t) ||
|
|
3932
|
+
return o === t || Bs(o, t) || yt(o, t);
|
|
3937
3933
|
}
|
|
3938
|
-
function
|
|
3934
|
+
function ut(o) {
|
|
3939
3935
|
if (Array.isArray(o)) {
|
|
3940
3936
|
let t = [];
|
|
3941
3937
|
for (let e = 0; e < o.length; e++) {
|
|
@@ -3948,7 +3944,7 @@ function dt(o) {
|
|
|
3948
3944
|
return o;
|
|
3949
3945
|
}
|
|
3950
3946
|
function Ys(o) {
|
|
3951
|
-
return Array.isArray(o) ?
|
|
3947
|
+
return Array.isArray(o) ? ut(o).split(".") : o.toString().split(".");
|
|
3952
3948
|
}
|
|
3953
3949
|
function me(o, t, e) {
|
|
3954
3950
|
let i = o, s = Ys(t);
|
|
@@ -3982,15 +3978,15 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3982
3978
|
Code distributed by Google as part of the polymer project is also
|
|
3983
3979
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3984
3980
|
*/
|
|
3985
|
-
const
|
|
3981
|
+
const Ht = {}, va = /-[a-z]/g, ya = /([A-Z])/g;
|
|
3986
3982
|
function js(o) {
|
|
3987
|
-
return
|
|
3983
|
+
return Ht[o] || (Ht[o] = o.indexOf("-") < 0 ? o : o.replace(
|
|
3988
3984
|
va,
|
|
3989
3985
|
(t) => t[1].toUpperCase()
|
|
3990
3986
|
));
|
|
3991
3987
|
}
|
|
3992
|
-
function
|
|
3993
|
-
return
|
|
3988
|
+
function Vt(o) {
|
|
3989
|
+
return Ht[o] || (Ht[o] = o.replace(ya, "-$1").toLowerCase());
|
|
3994
3990
|
}
|
|
3995
3991
|
/**
|
|
3996
3992
|
@license
|
|
@@ -4001,13 +3997,13 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
4001
3997
|
Code distributed by Google as part of the polymer project is also
|
|
4002
3998
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
4003
3999
|
*/
|
|
4004
|
-
let ba = 0,
|
|
4005
|
-
new window.MutationObserver(wa).observe(
|
|
4000
|
+
let ba = 0, Us = 0, Ge = [], xa = 0, xi = !1, Vs = document.createTextNode("");
|
|
4001
|
+
new window.MutationObserver(wa).observe(Vs, { characterData: !0 });
|
|
4006
4002
|
function wa() {
|
|
4007
|
-
|
|
4008
|
-
const o =
|
|
4003
|
+
xi = !1;
|
|
4004
|
+
const o = Ge.length;
|
|
4009
4005
|
for (let t = 0; t < o; t++) {
|
|
4010
|
-
let e =
|
|
4006
|
+
let e = Ge[t];
|
|
4011
4007
|
if (e)
|
|
4012
4008
|
try {
|
|
4013
4009
|
e();
|
|
@@ -4017,7 +4013,7 @@ function wa() {
|
|
|
4017
4013
|
});
|
|
4018
4014
|
}
|
|
4019
4015
|
}
|
|
4020
|
-
|
|
4016
|
+
Ge.splice(0, o), Us += o;
|
|
4021
4017
|
}
|
|
4022
4018
|
const Ea = {
|
|
4023
4019
|
/**
|
|
@@ -4068,7 +4064,7 @@ const Ea = {
|
|
|
4068
4064
|
* @return {number} Handle used for canceling task
|
|
4069
4065
|
*/
|
|
4070
4066
|
run(o) {
|
|
4071
|
-
return
|
|
4067
|
+
return xi || (xi = !0, Vs.textContent = xa++), Ge.push(o), ba++;
|
|
4072
4068
|
},
|
|
4073
4069
|
/**
|
|
4074
4070
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -4078,11 +4074,11 @@ const Ea = {
|
|
|
4078
4074
|
* @return {void}
|
|
4079
4075
|
*/
|
|
4080
4076
|
cancel(o) {
|
|
4081
|
-
const t = o -
|
|
4077
|
+
const t = o - Us;
|
|
4082
4078
|
if (t >= 0) {
|
|
4083
|
-
if (!
|
|
4079
|
+
if (!Ge[t])
|
|
4084
4080
|
throw new Error("invalid async handle: " + o);
|
|
4085
|
-
|
|
4081
|
+
Ge[t] = null;
|
|
4086
4082
|
}
|
|
4087
4083
|
}
|
|
4088
4084
|
};
|
|
@@ -4532,12 +4528,12 @@ Code distributed by Google as part of the polymer project is also
|
|
|
4532
4528
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
4533
4529
|
*/
|
|
4534
4530
|
const Ks = {};
|
|
4535
|
-
let
|
|
4536
|
-
for (;
|
|
4537
|
-
let o = Object.getOwnPropertyNames(
|
|
4531
|
+
let Pt = HTMLElement.prototype;
|
|
4532
|
+
for (; Pt; ) {
|
|
4533
|
+
let o = Object.getOwnPropertyNames(Pt);
|
|
4538
4534
|
for (let t = 0; t < o.length; t++)
|
|
4539
4535
|
Ks[o[t]] = !0;
|
|
4540
|
-
|
|
4536
|
+
Pt = Object.getPrototypeOf(Pt);
|
|
4541
4537
|
}
|
|
4542
4538
|
const Aa = window.trustedTypes ? (o) => trustedTypes.isHTML(o) || trustedTypes.isScript(o) || trustedTypes.isScriptURL(o) : () => !1;
|
|
4543
4539
|
function Ca(o, t) {
|
|
@@ -4577,7 +4573,7 @@ const Da = se((o) => {
|
|
|
4577
4573
|
* @nocollapse
|
|
4578
4574
|
*/
|
|
4579
4575
|
static attributeNameForProperty(s) {
|
|
4580
|
-
return
|
|
4576
|
+
return Vt(s);
|
|
4581
4577
|
}
|
|
4582
4578
|
/**
|
|
4583
4579
|
* Overrides PropertiesChanged implementation to initialize values for
|
|
@@ -5173,8 +5169,8 @@ const La = se(
|
|
|
5173
5169
|
* Google as part of the polymer project is also subject to an additional IP
|
|
5174
5170
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
5175
5171
|
*/
|
|
5176
|
-
let
|
|
5177
|
-
const
|
|
5172
|
+
let xt = 0;
|
|
5173
|
+
const wt = [], B = {
|
|
5178
5174
|
COMPUTE: "__computeEffects",
|
|
5179
5175
|
REFLECT: "__reflectEffects",
|
|
5180
5176
|
NOTIFY: "__notifyEffects",
|
|
@@ -5182,7 +5178,7 @@ const Et = [], B = {
|
|
|
5182
5178
|
OBSERVE: "__observeEffects",
|
|
5183
5179
|
READ_ONLY: "__readOnly"
|
|
5184
5180
|
}, Js = "__computeInfo", $a = /[A-Z]/;
|
|
5185
|
-
function
|
|
5181
|
+
function ti(o, t, e) {
|
|
5186
5182
|
let i = o[t];
|
|
5187
5183
|
if (!i)
|
|
5188
5184
|
i = o[t] = {};
|
|
@@ -5194,34 +5190,34 @@ function ii(o, t, e) {
|
|
|
5194
5190
|
}
|
|
5195
5191
|
return i;
|
|
5196
5192
|
}
|
|
5197
|
-
function
|
|
5193
|
+
function dt(o, t, e, i, s, r) {
|
|
5198
5194
|
if (t) {
|
|
5199
5195
|
let n = !1;
|
|
5200
|
-
const a =
|
|
5196
|
+
const a = xt++;
|
|
5201
5197
|
for (let l in e) {
|
|
5202
|
-
let c = s ?
|
|
5198
|
+
let c = s ? je(l) : l, u = t[c];
|
|
5203
5199
|
if (u)
|
|
5204
5200
|
for (let d = 0, h = u.length, p; d < h && (p = u[d]); d++)
|
|
5205
|
-
(!p.info || p.info.lastRun !== a) && (!s ||
|
|
5201
|
+
(!p.info || p.info.lastRun !== a) && (!s || qi(l, p.trigger)) && (p.info && (p.info.lastRun = a), p.fn(o, l, e, i, p.info, s, r), n = !0);
|
|
5206
5202
|
}
|
|
5207
5203
|
return n;
|
|
5208
5204
|
}
|
|
5209
5205
|
return !1;
|
|
5210
5206
|
}
|
|
5211
5207
|
function Ra(o, t, e, i, s, r, n, a) {
|
|
5212
|
-
let l = !1, c = n ?
|
|
5208
|
+
let l = !1, c = n ? je(i) : i, u = t[c];
|
|
5213
5209
|
if (u)
|
|
5214
5210
|
for (let d = 0, h = u.length, p; d < h && (p = u[d]); d++)
|
|
5215
|
-
(!p.info || p.info.lastRun !== e) && (!n ||
|
|
5211
|
+
(!p.info || p.info.lastRun !== e) && (!n || qi(i, p.trigger)) && (p.info && (p.info.lastRun = e), p.fn(o, i, s, r, p.info, n, a), l = !0);
|
|
5216
5212
|
return l;
|
|
5217
5213
|
}
|
|
5218
|
-
function
|
|
5214
|
+
function qi(o, t) {
|
|
5219
5215
|
if (t) {
|
|
5220
5216
|
let e = (
|
|
5221
5217
|
/** @type {string} */
|
|
5222
5218
|
t.name
|
|
5223
5219
|
);
|
|
5224
|
-
return e == o || !!(t.structured && Bs(e, o)) || !!(t.wildcard &&
|
|
5220
|
+
return e == o || !!(t.structured && Bs(e, o)) || !!(t.wildcard && yt(e, o));
|
|
5225
5221
|
} else
|
|
5226
5222
|
return !0;
|
|
5227
5223
|
}
|
|
@@ -5230,16 +5226,16 @@ function zo(o, t, e, i, s) {
|
|
|
5230
5226
|
r ? r.call(o, o.__data[n], i[n]) : s.dynamicFn || console.warn("observer method `" + s.method + "` not defined");
|
|
5231
5227
|
}
|
|
5232
5228
|
function Ha(o, t, e, i, s) {
|
|
5233
|
-
let r = o[B.NOTIFY], n, a =
|
|
5229
|
+
let r = o[B.NOTIFY], n, a = xt++;
|
|
5234
5230
|
for (let c in t)
|
|
5235
5231
|
t[c] && (r && Ra(o, r, a, c, e, i, s) || s && Ba(o, c, e)) && (n = !0);
|
|
5236
5232
|
let l;
|
|
5237
5233
|
n && (l = o.__dataHost) && l._invalidateProperties && l._invalidateProperties();
|
|
5238
5234
|
}
|
|
5239
5235
|
function Ba(o, t, e) {
|
|
5240
|
-
let i =
|
|
5236
|
+
let i = je(t);
|
|
5241
5237
|
if (i !== t) {
|
|
5242
|
-
let s =
|
|
5238
|
+
let s = Vt(i) + "-changed";
|
|
5243
5239
|
return Xs(o, s, e[t], t), !0;
|
|
5244
5240
|
}
|
|
5245
5241
|
return !1;
|
|
@@ -5255,7 +5251,7 @@ function Xs(o, t, e, i) {
|
|
|
5255
5251
|
).dispatchEvent(new CustomEvent(t, { detail: s }));
|
|
5256
5252
|
}
|
|
5257
5253
|
function Ya(o, t, e, i, s, r) {
|
|
5258
|
-
let a = (r ?
|
|
5254
|
+
let a = (r ? je(t) : t) != t ? t : null, l = a ? me(o, a) : o.__data[t];
|
|
5259
5255
|
a && l === void 0 && (l = e[t]), Xs(o, s.eventName, l, a);
|
|
5260
5256
|
}
|
|
5261
5257
|
function ja(o, t, e, i, s) {
|
|
@@ -5263,11 +5259,11 @@ function ja(o, t, e, i, s) {
|
|
|
5263
5259
|
/** @type {Object} */
|
|
5264
5260
|
o.detail
|
|
5265
5261
|
), a = n && n.path;
|
|
5266
|
-
a ? (i =
|
|
5262
|
+
a ? (i = bt(e, i, a), r = n && n.value) : r = o.currentTarget[e], r = s ? !r : r, (!t[B.READ_ONLY] || !t[B.READ_ONLY][i]) && t._setPendingPropertyOrPath(i, r, !0, !!a) && (!n || !n.queueProperty) && t._invalidateProperties();
|
|
5267
5263
|
}
|
|
5268
|
-
function
|
|
5264
|
+
function Ua(o, t, e, i, s) {
|
|
5269
5265
|
let r = o.__data[t];
|
|
5270
|
-
|
|
5266
|
+
$t && (r = $t(
|
|
5271
5267
|
r,
|
|
5272
5268
|
s.attrName,
|
|
5273
5269
|
"attribute",
|
|
@@ -5275,11 +5271,11 @@ function Va(o, t, e, i, s) {
|
|
|
5275
5271
|
o
|
|
5276
5272
|
)), o._propertyToAttribute(t, s.attrName, r);
|
|
5277
5273
|
}
|
|
5278
|
-
function
|
|
5274
|
+
function Va(o, t, e, i) {
|
|
5279
5275
|
let s = o[B.COMPUTE];
|
|
5280
5276
|
if (s)
|
|
5281
5277
|
if (aa) {
|
|
5282
|
-
|
|
5278
|
+
xt++;
|
|
5283
5279
|
const r = qa(o), n = [];
|
|
5284
5280
|
for (let l in t)
|
|
5285
5281
|
Lo(l, s, n, r, i);
|
|
@@ -5297,7 +5293,7 @@ function Ua(o, t, e, i) {
|
|
|
5297
5293
|
), o.__dataPending = null;
|
|
5298
5294
|
} else {
|
|
5299
5295
|
let r = t;
|
|
5300
|
-
for (;
|
|
5296
|
+
for (; dt(o, s, r, e, i); )
|
|
5301
5297
|
Object.assign(
|
|
5302
5298
|
/** @type {!Object} */
|
|
5303
5299
|
e,
|
|
@@ -5324,11 +5320,11 @@ const Wa = (o, t, e) => {
|
|
|
5324
5320
|
}
|
|
5325
5321
|
r < 0 && (r = s + 1), t.splice(r, 0, o);
|
|
5326
5322
|
}, Lo = (o, t, e, i, s) => {
|
|
5327
|
-
const r = s ?
|
|
5323
|
+
const r = s ? je(o) : o, n = t[r];
|
|
5328
5324
|
if (n)
|
|
5329
5325
|
for (let a = 0; a < n.length; a++) {
|
|
5330
5326
|
const l = n[a];
|
|
5331
|
-
l.info.lastRun !==
|
|
5327
|
+
l.info.lastRun !== xt && (!s || qi(o, l.trigger)) && (l.info.lastRun = xt, Wa(l.info, e, i));
|
|
5332
5328
|
}
|
|
5333
5329
|
};
|
|
5334
5330
|
function qa(o) {
|
|
@@ -5362,8 +5358,8 @@ function Ka(o) {
|
|
|
5362
5358
|
return { counts: e, ready: s, total: r };
|
|
5363
5359
|
}
|
|
5364
5360
|
function Zs(o, t, e, i, s) {
|
|
5365
|
-
let r =
|
|
5366
|
-
if (r ===
|
|
5361
|
+
let r = wi(o, t, e, i, s);
|
|
5362
|
+
if (r === wt)
|
|
5367
5363
|
return !1;
|
|
5368
5364
|
let n = s.methodInfo;
|
|
5369
5365
|
return o.__dataHasAccessor && o.__dataHasAccessor[n] ? o._setPendingProperty(n, r, !0) : (o[n] = r, !1);
|
|
@@ -5374,16 +5370,16 @@ function Ga(o, t, e) {
|
|
|
5374
5370
|
let s;
|
|
5375
5371
|
for (let r in i) {
|
|
5376
5372
|
let n = i[r];
|
|
5377
|
-
|
|
5373
|
+
yt(r, t) ? (s = bt(r, n, t), o._setPendingPropertyOrPath(s, e, !0, !0)) : yt(n, t) && (s = bt(n, r, t), o._setPendingPropertyOrPath(s, e, !0, !0));
|
|
5378
5374
|
}
|
|
5379
5375
|
}
|
|
5380
5376
|
}
|
|
5381
|
-
function
|
|
5377
|
+
function ii(o, t, e, i, s, r, n) {
|
|
5382
5378
|
e.bindings = e.bindings || [];
|
|
5383
5379
|
let a = { kind: i, target: s, parts: r, literal: n, isCompound: r.length !== 1 };
|
|
5384
5380
|
if (e.bindings.push(a), el(a)) {
|
|
5385
5381
|
let { event: c, negate: u } = a.parts[0];
|
|
5386
|
-
a.listenerEvent = c ||
|
|
5382
|
+
a.listenerEvent = c || Vt(s) + "-changed", a.listenerNegate = u;
|
|
5387
5383
|
}
|
|
5388
5384
|
let l = t.nodeInfoList.length;
|
|
5389
5385
|
for (let c = 0; c < a.parts.length; c++) {
|
|
@@ -5411,14 +5407,14 @@ function Xa(o, t, e, i, s, r, n) {
|
|
|
5411
5407
|
let a = n[s.index], l = s.binding, c = s.part;
|
|
5412
5408
|
if (r && c.source && t.length > c.source.length && l.kind == "property" && !l.isCompound && a.__isPropertyEffectsClient && a.__dataHasAccessor && a.__dataHasAccessor[l.target]) {
|
|
5413
5409
|
let u = e[t];
|
|
5414
|
-
t =
|
|
5410
|
+
t = bt(c.source, l.target, t), a._setPendingPropertyOrPath(t, u, !1, !0) && o._enqueueClient(a);
|
|
5415
5411
|
} else {
|
|
5416
5412
|
let u = s.evaluator._evaluateBinding(o, c, t, e, i, r);
|
|
5417
|
-
u !==
|
|
5413
|
+
u !== wt && Za(o, a, l, c, u);
|
|
5418
5414
|
}
|
|
5419
5415
|
}
|
|
5420
5416
|
function Za(o, t, e, i, s) {
|
|
5421
|
-
if (s = Qa(t, s, e, i),
|
|
5417
|
+
if (s = Qa(t, s, e, i), $t && (s = $t(s, e.target, e.kind, t)), e.kind == "attribute")
|
|
5422
5418
|
o._valueToNodeAttribute(
|
|
5423
5419
|
/** @type {Element} */
|
|
5424
5420
|
t,
|
|
@@ -5489,11 +5485,11 @@ function $o(o, t, e, i, s, r) {
|
|
|
5489
5485
|
info: n
|
|
5490
5486
|
}), n;
|
|
5491
5487
|
}
|
|
5492
|
-
function
|
|
5488
|
+
function wi(o, t, e, i, s) {
|
|
5493
5489
|
let r = o._methodHost || o, n = r[s.methodName];
|
|
5494
5490
|
if (n) {
|
|
5495
5491
|
let a = o._marshalArgs(s.args, t, e);
|
|
5496
|
-
return a ===
|
|
5492
|
+
return a === wt ? wt : n.apply(r, a);
|
|
5497
5493
|
} else
|
|
5498
5494
|
s.dynamicFn || console.warn("method `" + s.methodName + "` not defined");
|
|
5499
5495
|
}
|
|
@@ -5506,7 +5502,7 @@ function Bo(o) {
|
|
|
5506
5502
|
}
|
|
5507
5503
|
return t;
|
|
5508
5504
|
}
|
|
5509
|
-
function
|
|
5505
|
+
function oi(o) {
|
|
5510
5506
|
let t = o.match(/([^\s]+?)\(([\s\S]*)\)/);
|
|
5511
5507
|
if (t) {
|
|
5512
5508
|
let i = { methodName: t[1], static: !0, args: sl };
|
|
@@ -5539,7 +5535,7 @@ function er(o) {
|
|
|
5539
5535
|
e.value = Number(t), e.literal = !0;
|
|
5540
5536
|
break;
|
|
5541
5537
|
}
|
|
5542
|
-
return e.literal || (e.rootProperty =
|
|
5538
|
+
return e.literal || (e.rootProperty = je(t), e.structured = bi(t), e.structured && (e.wildcard = t.slice(-2) == ".*", e.wildcard && (e.name = t.slice(0, -2)))), e;
|
|
5543
5539
|
}
|
|
5544
5540
|
function Yo(o, t, e) {
|
|
5545
5541
|
let i = me(o, e);
|
|
@@ -5547,9 +5543,9 @@ function Yo(o, t, e) {
|
|
|
5547
5543
|
}
|
|
5548
5544
|
function tr(o, t, e, i) {
|
|
5549
5545
|
const s = { indexSplices: i };
|
|
5550
|
-
|
|
5546
|
+
yi && !o._overrideLegacyUndefined && (t.splices = s), o.notifyPath(e + ".splices", s), o.notifyPath(e + ".length", t.length), yi && !o._overrideLegacyUndefined && (s.indexSplices = []);
|
|
5551
5547
|
}
|
|
5552
|
-
function
|
|
5548
|
+
function nt(o, t, e, i, s, r) {
|
|
5553
5549
|
tr(o, t, e, [{
|
|
5554
5550
|
index: i,
|
|
5555
5551
|
addedCount: s,
|
|
@@ -5561,7 +5557,7 @@ function at(o, t, e, i, s, r) {
|
|
|
5561
5557
|
function gl(o) {
|
|
5562
5558
|
return o[0].toUpperCase() + o.substring(1);
|
|
5563
5559
|
}
|
|
5564
|
-
const
|
|
5560
|
+
const Ki = se((o) => {
|
|
5565
5561
|
const t = La(Da(o));
|
|
5566
5562
|
class e extends t {
|
|
5567
5563
|
constructor() {
|
|
@@ -5578,8 +5574,8 @@ const Gi = se((o) => {
|
|
|
5578
5574
|
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;
|
|
5579
5575
|
}
|
|
5580
5576
|
_registerHost() {
|
|
5581
|
-
if (
|
|
5582
|
-
let s =
|
|
5577
|
+
if (at.length) {
|
|
5578
|
+
let s = at[at.length - 1];
|
|
5583
5579
|
s._enqueueClient(this), this.__dataHost = s;
|
|
5584
5580
|
}
|
|
5585
5581
|
}
|
|
@@ -5623,7 +5619,7 @@ const Gi = se((o) => {
|
|
|
5623
5619
|
*/
|
|
5624
5620
|
_addPropertyEffect(s, r, n) {
|
|
5625
5621
|
this._createPropertyAccessor(s, r == B.READ_ONLY);
|
|
5626
|
-
let a =
|
|
5622
|
+
let a = ti(this, r, !0)[s];
|
|
5627
5623
|
a || (a = this[r][s] = []), a.push(n);
|
|
5628
5624
|
}
|
|
5629
5625
|
/**
|
|
@@ -5636,7 +5632,7 @@ const Gi = se((o) => {
|
|
|
5636
5632
|
* @return {void}
|
|
5637
5633
|
*/
|
|
5638
5634
|
_removePropertyEffect(s, r, n) {
|
|
5639
|
-
let a =
|
|
5635
|
+
let a = ti(this, r, !0)[s], l = a.indexOf(n);
|
|
5640
5636
|
l >= 0 && a.splice(l, 1);
|
|
5641
5637
|
}
|
|
5642
5638
|
/**
|
|
@@ -5737,7 +5733,7 @@ const Gi = se((o) => {
|
|
|
5737
5733
|
* @protected
|
|
5738
5734
|
*/
|
|
5739
5735
|
_setPendingPropertyOrPath(s, r, n, a) {
|
|
5740
|
-
if (a ||
|
|
5736
|
+
if (a || je(Array.isArray(s) ? s[0] : s) !== s) {
|
|
5741
5737
|
if (!a) {
|
|
5742
5738
|
let l = me(this, s);
|
|
5743
5739
|
if (s = /** @type {string} */
|
|
@@ -5830,7 +5826,7 @@ const Gi = se((o) => {
|
|
|
5830
5826
|
* @return {boolean} Returns true if the property changed
|
|
5831
5827
|
*/
|
|
5832
5828
|
_setPendingProperty(s, r, n) {
|
|
5833
|
-
let a = this.__dataHasPaths &&
|
|
5829
|
+
let a = this.__dataHasPaths && bi(s), l = a ? this.__dataTemp : this.__data;
|
|
5834
5830
|
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[B.NOTIFY] && this[B.NOTIFY][s]) && (this.__dataToNotify = this.__dataToNotify || {}, this.__dataToNotify[s] = n), !0) : !1;
|
|
5835
5831
|
}
|
|
5836
5832
|
/**
|
|
@@ -5966,7 +5962,7 @@ const Gi = se((o) => {
|
|
|
5966
5962
|
let a = this.__dataHasPaths;
|
|
5967
5963
|
this.__dataHasPaths = !1;
|
|
5968
5964
|
let l;
|
|
5969
|
-
|
|
5965
|
+
Va(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(), dt(this, this[B.REFLECT], r, n, a), dt(this, this[B.OBSERVE], r, n, a), l && Ha(this, l, r, n, a), this.__dataCounter == 1 && (this.__dataTemp = {});
|
|
5970
5966
|
}
|
|
5971
5967
|
/**
|
|
5972
5968
|
* Called to propagate any property changes to stamped template nodes
|
|
@@ -5980,11 +5976,11 @@ const Gi = se((o) => {
|
|
|
5980
5976
|
* @protected
|
|
5981
5977
|
*/
|
|
5982
5978
|
_propagatePropertyChanges(s, r, n) {
|
|
5983
|
-
this[B.PROPAGATE] &&
|
|
5979
|
+
this[B.PROPAGATE] && dt(this, this[B.PROPAGATE], s, r, n), this.__templateInfo && this._runEffectsForTemplate(this.__templateInfo, s, r, n);
|
|
5984
5980
|
}
|
|
5985
5981
|
_runEffectsForTemplate(s, r, n, a) {
|
|
5986
5982
|
const l = (c, u) => {
|
|
5987
|
-
|
|
5983
|
+
dt(
|
|
5988
5984
|
this,
|
|
5989
5985
|
s.propertyEffects,
|
|
5990
5986
|
c,
|
|
@@ -6008,7 +6004,7 @@ const Gi = se((o) => {
|
|
|
6008
6004
|
* @public
|
|
6009
6005
|
*/
|
|
6010
6006
|
linkPaths(s, r) {
|
|
6011
|
-
s =
|
|
6007
|
+
s = ut(s), r = ut(r), this.__dataLinkedPaths = this.__dataLinkedPaths || {}, this.__dataLinkedPaths[s] = r;
|
|
6012
6008
|
}
|
|
6013
6009
|
/**
|
|
6014
6010
|
* Removes a data path alias previously established with `_linkPaths`.
|
|
@@ -6022,7 +6018,7 @@ const Gi = se((o) => {
|
|
|
6022
6018
|
* @public
|
|
6023
6019
|
*/
|
|
6024
6020
|
unlinkPaths(s) {
|
|
6025
|
-
s =
|
|
6021
|
+
s = ut(s), this.__dataLinkedPaths && delete this.__dataLinkedPaths[s];
|
|
6026
6022
|
}
|
|
6027
6023
|
/**
|
|
6028
6024
|
* Notify that an array has changed.
|
|
@@ -6136,7 +6132,7 @@ const Gi = se((o) => {
|
|
|
6136
6132
|
/** @type {Array}*/
|
|
6137
6133
|
me(this, s, n)
|
|
6138
6134
|
), l = a.length, c = a.push(...r);
|
|
6139
|
-
return r.length &&
|
|
6135
|
+
return r.length && nt(this, a, n.path, l, r.length, []), c;
|
|
6140
6136
|
}
|
|
6141
6137
|
/**
|
|
6142
6138
|
* Removes an item from the end of array at the path specified.
|
|
@@ -6157,7 +6153,7 @@ const Gi = se((o) => {
|
|
|
6157
6153
|
/** @type {Array} */
|
|
6158
6154
|
me(this, s, r)
|
|
6159
6155
|
), a = !!n.length, l = n.pop();
|
|
6160
|
-
return a &&
|
|
6156
|
+
return a && nt(this, n, r.path, n.length, 0, [l]), l;
|
|
6161
6157
|
}
|
|
6162
6158
|
/**
|
|
6163
6159
|
* Starting from the start index specified, removes 0 or more items
|
|
@@ -6184,7 +6180,7 @@ const Gi = se((o) => {
|
|
|
6184
6180
|
);
|
|
6185
6181
|
r < 0 ? r = c.length - Math.floor(-r) : r && (r = Math.floor(r));
|
|
6186
6182
|
let u;
|
|
6187
|
-
return arguments.length === 2 ? u = c.splice(r) : u = c.splice(r, n, ...a), (a.length || u.length) &&
|
|
6183
|
+
return arguments.length === 2 ? u = c.splice(r) : u = c.splice(r, n, ...a), (a.length || u.length) && nt(this, c, l.path, r, a.length, u), u;
|
|
6188
6184
|
}
|
|
6189
6185
|
/**
|
|
6190
6186
|
* Removes an item from the beginning of array at the path specified.
|
|
@@ -6205,7 +6201,7 @@ const Gi = se((o) => {
|
|
|
6205
6201
|
/** @type {Array} */
|
|
6206
6202
|
me(this, s, r)
|
|
6207
6203
|
), a = !!n.length, l = n.shift();
|
|
6208
|
-
return a &&
|
|
6204
|
+
return a && nt(this, n, r.path, 0, 0, [l]), l;
|
|
6209
6205
|
}
|
|
6210
6206
|
/**
|
|
6211
6207
|
* Adds items onto the beginning of the array at the path specified.
|
|
@@ -6227,7 +6223,7 @@ const Gi = se((o) => {
|
|
|
6227
6223
|
/** @type {Array} */
|
|
6228
6224
|
me(this, s, n)
|
|
6229
6225
|
), l = a.unshift(...r);
|
|
6230
|
-
return r.length &&
|
|
6226
|
+
return r.length && nt(this, a, n.path, 0, r.length, []), l;
|
|
6231
6227
|
}
|
|
6232
6228
|
/**
|
|
6233
6229
|
* Notify that a path has changed.
|
|
@@ -6249,7 +6245,7 @@ const Gi = se((o) => {
|
|
|
6249
6245
|
let a = { path: "" };
|
|
6250
6246
|
r = me(this, s, a), n = a.path;
|
|
6251
6247
|
} else
|
|
6252
|
-
Array.isArray(s) ? n =
|
|
6248
|
+
Array.isArray(s) ? n = ut(s) : n = /** @type{string} */
|
|
6253
6249
|
s;
|
|
6254
6250
|
this._setPendingPropertyOrPath(n, r, !0, !0) && this._invalidateProperties();
|
|
6255
6251
|
}
|
|
@@ -6315,10 +6311,10 @@ const Gi = se((o) => {
|
|
|
6315
6311
|
* @protected
|
|
6316
6312
|
*/
|
|
6317
6313
|
_createMethodObserver(s, r) {
|
|
6318
|
-
let n =
|
|
6314
|
+
let n = oi(s);
|
|
6319
6315
|
if (!n)
|
|
6320
6316
|
throw new Error("Malformed observer expression '" + s + "'");
|
|
6321
|
-
$o(this, n, B.OBSERVE,
|
|
6317
|
+
$o(this, n, B.OBSERVE, wi, null, r);
|
|
6322
6318
|
}
|
|
6323
6319
|
/**
|
|
6324
6320
|
* Equivalent to static `createNotifyingProperty` API but can be called on
|
|
@@ -6334,7 +6330,7 @@ const Gi = se((o) => {
|
|
|
6334
6330
|
this._addPropertyEffect(s, B.NOTIFY, {
|
|
6335
6331
|
fn: Ya,
|
|
6336
6332
|
info: {
|
|
6337
|
-
eventName:
|
|
6333
|
+
eventName: Vt(s) + "-changed",
|
|
6338
6334
|
property: s
|
|
6339
6335
|
}
|
|
6340
6336
|
});
|
|
@@ -6353,7 +6349,7 @@ const Gi = se((o) => {
|
|
|
6353
6349
|
_createReflectedProperty(s) {
|
|
6354
6350
|
let r = this.constructor.attributeNameForProperty(s);
|
|
6355
6351
|
r[0] === "-" ? console.warn("Property " + s + " cannot be reflected to attribute " + r + ' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.') : this._addPropertyEffect(s, B.REFLECT, {
|
|
6356
|
-
fn:
|
|
6352
|
+
fn: Ua,
|
|
6357
6353
|
info: {
|
|
6358
6354
|
attrName: r
|
|
6359
6355
|
}
|
|
@@ -6373,11 +6369,11 @@ const Gi = se((o) => {
|
|
|
6373
6369
|
* @protected
|
|
6374
6370
|
*/
|
|
6375
6371
|
_createComputedProperty(s, r, n) {
|
|
6376
|
-
let a =
|
|
6372
|
+
let a = oi(r);
|
|
6377
6373
|
if (!a)
|
|
6378
6374
|
throw new Error("Malformed computed expression '" + r + "'");
|
|
6379
6375
|
const l = $o(this, a, B.COMPUTE, Zs, s, n);
|
|
6380
|
-
|
|
6376
|
+
ti(this, Js)[s] = l;
|
|
6381
6377
|
}
|
|
6382
6378
|
/**
|
|
6383
6379
|
* Gather the argument values for a method specified in the provided array
|
|
@@ -6398,7 +6394,7 @@ const Gi = se((o) => {
|
|
|
6398
6394
|
let { name: d, structured: h, wildcard: p, value: y, literal: f } = s[c];
|
|
6399
6395
|
if (!f)
|
|
6400
6396
|
if (p) {
|
|
6401
|
-
const b =
|
|
6397
|
+
const b = yt(d, r), D = Yo(a, n, b ? r : d);
|
|
6402
6398
|
y = {
|
|
6403
6399
|
path: b ? r : d,
|
|
6404
6400
|
value: D,
|
|
@@ -6406,8 +6402,8 @@ const Gi = se((o) => {
|
|
|
6406
6402
|
};
|
|
6407
6403
|
} else
|
|
6408
6404
|
y = h ? Yo(a, n, d) : a[d];
|
|
6409
|
-
if (
|
|
6410
|
-
return
|
|
6405
|
+
if (yi && !this._overrideLegacyUndefined && y === void 0 && s.length > 1)
|
|
6406
|
+
return wt;
|
|
6411
6407
|
l[c] = y;
|
|
6412
6408
|
}
|
|
6413
6409
|
return l;
|
|
@@ -6681,9 +6677,9 @@ const Gi = se((o) => {
|
|
|
6681
6677
|
*/
|
|
6682
6678
|
_stampTemplate(s, r) {
|
|
6683
6679
|
r = r || /** @type {!TemplateInfo} */
|
|
6684
|
-
this._bindTemplate(s, !0),
|
|
6680
|
+
this._bindTemplate(s, !0), at.push(this);
|
|
6685
6681
|
let n = super._stampTemplate(s, r);
|
|
6686
|
-
if (
|
|
6682
|
+
if (at.pop(), r.nodeList = n.nodeList, !r.wasPreBound) {
|
|
6687
6683
|
let a = r.childNodes = [];
|
|
6688
6684
|
for (let l = n.firstChild; l; l = l.nextSibling)
|
|
6689
6685
|
a.push(l);
|
|
@@ -6735,7 +6731,7 @@ const Gi = se((o) => {
|
|
|
6735
6731
|
);
|
|
6736
6732
|
if (s.nodeType === Node.TEXT_NODE) {
|
|
6737
6733
|
let l = this._parseBindings(s.textContent, r);
|
|
6738
|
-
l && (s.textContent = Bo(l) || " ",
|
|
6734
|
+
l && (s.textContent = Bo(l) || " ", ii(this, r, n, "text", "textContent", l), a = !0);
|
|
6739
6735
|
}
|
|
6740
6736
|
return a;
|
|
6741
6737
|
}
|
|
@@ -6764,7 +6760,7 @@ const Gi = se((o) => {
|
|
|
6764
6760
|
let u = a, d = "property";
|
|
6765
6761
|
$a.test(a) ? d = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), d = "attribute");
|
|
6766
6762
|
let h = Bo(c);
|
|
6767
|
-
return h && d == "attribute" && (a == "class" && s.hasAttribute("class") && (h += " " + s.getAttribute(a)), s.setAttribute(a, h)), d == "attribute" && u == "disable-upgrade$" && s.setAttribute(a, ""), s.localName === "input" && u === "value" && s.setAttribute(u, ""), s.removeAttribute(u), d === "property" && (a = js(a)),
|
|
6763
|
+
return h && d == "attribute" && (a == "class" && s.hasAttribute("class") && (h += " " + s.getAttribute(a)), s.setAttribute(a, h)), d == "attribute" && u == "disable-upgrade$" && s.setAttribute(a, ""), s.localName === "input" && u === "value" && s.setAttribute(u, ""), s.removeAttribute(u), d === "property" && (a = js(a)), ii(this, r, n, d, a, c, h), !0;
|
|
6768
6764
|
} else
|
|
6769
6765
|
return t._parseTemplateNodeAttribute.call(
|
|
6770
6766
|
this,
|
|
@@ -6805,7 +6801,7 @@ const Gi = se((o) => {
|
|
|
6805
6801
|
let p = "{";
|
|
6806
6802
|
for (let y in h) {
|
|
6807
6803
|
let f = [{ mode: p, source: y, dependencies: [y], hostProp: !0 }];
|
|
6808
|
-
|
|
6804
|
+
ii(this, r, n, "property", "_host_" + y, f);
|
|
6809
6805
|
}
|
|
6810
6806
|
}
|
|
6811
6807
|
return a;
|
|
@@ -6861,7 +6857,7 @@ const Gi = se((o) => {
|
|
|
6861
6857
|
l.index > a && n.push({ literal: s.slice(a, l.index) });
|
|
6862
6858
|
let c = l[1][0], u = !!l[2], d = l[3].trim(), h = !1, p = "", y = -1;
|
|
6863
6859
|
c == "{" && (y = d.indexOf("::")) > 0 && (p = d.substring(y + 2), d = d.substring(0, y), h = !0);
|
|
6864
|
-
let f =
|
|
6860
|
+
let f = oi(d), b = [];
|
|
6865
6861
|
if (f) {
|
|
6866
6862
|
let { args: D, methodName: C } = f;
|
|
6867
6863
|
for (let N = 0; N < D.length; N++) {
|
|
@@ -6907,11 +6903,11 @@ const Gi = se((o) => {
|
|
|
6907
6903
|
*/
|
|
6908
6904
|
static _evaluateBinding(s, r, n, a, l, c) {
|
|
6909
6905
|
let u;
|
|
6910
|
-
return r.signature ? u =
|
|
6906
|
+
return r.signature ? u = wi(s, n, a, l, r.signature) : n != r.source ? u = me(s, r.source) : c && bi(n) ? u = me(s, n) : u = s.__data[n], r.negate && (u = !u), u;
|
|
6911
6907
|
}
|
|
6912
6908
|
}
|
|
6913
6909
|
return e;
|
|
6914
|
-
}),
|
|
6910
|
+
}), at = [];
|
|
6915
6911
|
/**
|
|
6916
6912
|
@license
|
|
6917
6913
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -7090,7 +7086,7 @@ const yl = se((o) => {
|
|
|
7090
7086
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7091
7087
|
*/
|
|
7092
7088
|
const bl = "3.5.2", jo = window.ShadyCSS && window.ShadyCSS.cssBuild, xl = se((o) => {
|
|
7093
|
-
const t = yl(
|
|
7089
|
+
const t = yl(Ki(o));
|
|
7094
7090
|
function e(l) {
|
|
7095
7091
|
if (!l.hasOwnProperty(
|
|
7096
7092
|
JSCompiler_renameProperty("__propertyDefaults", l)
|
|
@@ -7142,8 +7138,8 @@ const bl = "3.5.2", jo = window.ShadyCSS && window.ShadyCSS.cssBuild, xl = se((o
|
|
|
7142
7138
|
}
|
|
7143
7139
|
function n(l) {
|
|
7144
7140
|
let c = null;
|
|
7145
|
-
if (l && (!
|
|
7146
|
-
|
|
7141
|
+
if (l && (!Rt || ra) && (c = /** @type {?HTMLTemplateElement} */
|
|
7142
|
+
vt.import(l, "template"), Rt && !c))
|
|
7147
7143
|
throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
7148
7144
|
return c;
|
|
7149
7145
|
}
|
|
@@ -7312,9 +7308,9 @@ const bl = "3.5.2", jo = window.ShadyCSS && window.ShadyCSS.cssBuild, xl = se((o
|
|
|
7312
7308
|
if (!this.hasOwnProperty(JSCompiler_renameProperty("_importPath", this))) {
|
|
7313
7309
|
const c = this.importMeta;
|
|
7314
7310
|
if (c)
|
|
7315
|
-
this._importPath =
|
|
7311
|
+
this._importPath = Vi(c.url);
|
|
7316
7312
|
else {
|
|
7317
|
-
const u =
|
|
7313
|
+
const u = vt.import(
|
|
7318
7314
|
/** @type {PolymerElementConstructor} */
|
|
7319
7315
|
this.is
|
|
7320
7316
|
);
|
|
@@ -7393,7 +7389,7 @@ const bl = "3.5.2", jo = window.ShadyCSS && window.ShadyCSS.cssBuild, xl = se((o
|
|
|
7393
7389
|
const u = this.prototype._template;
|
|
7394
7390
|
if (u && !u.__polymerFinalized) {
|
|
7395
7391
|
u.__polymerFinalized = !0;
|
|
7396
|
-
const d = this.importPath, h = d ?
|
|
7392
|
+
const d = this.importPath, h = d ? ft(d) : "";
|
|
7397
7393
|
r(this, u, c, h), this.prototype._bindTemplate(u);
|
|
7398
7394
|
}
|
|
7399
7395
|
}
|
|
@@ -7505,7 +7501,7 @@ const bl = "3.5.2", jo = window.ShadyCSS && window.ShadyCSS.cssBuild, xl = se((o
|
|
|
7505
7501
|
* @return {string} Rewritten URL relative to base
|
|
7506
7502
|
*/
|
|
7507
7503
|
resolveUrl(c, u) {
|
|
7508
|
-
return !u && this.importPath && (u =
|
|
7504
|
+
return !u && this.importPath && (u = ft(this.importPath)), ft(c, u);
|
|
7509
7505
|
}
|
|
7510
7506
|
/**
|
|
7511
7507
|
* Overrides `PropertyEffects` to add map of dynamic functions on
|
|
@@ -7566,7 +7562,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
7566
7562
|
Code distributed by Google as part of the polymer project is also
|
|
7567
7563
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7568
7564
|
*/
|
|
7569
|
-
const
|
|
7565
|
+
const Uo = window.trustedTypes && trustedTypes.createPolicy("polymer-html-literal", { createHTML: (o) => o });
|
|
7570
7566
|
class ir {
|
|
7571
7567
|
/**
|
|
7572
7568
|
* @param {!ITemplateArray} strings Constant parts of tagged template literal
|
|
@@ -7620,7 +7616,7 @@ const Ue = function(t, ...e) {
|
|
|
7620
7616
|
(r, n, a) => r + wl(n) + t[a + 1],
|
|
7621
7617
|
t[0]
|
|
7622
7618
|
);
|
|
7623
|
-
return
|
|
7619
|
+
return Uo && (s = Uo.createHTML(s)), i.innerHTML = s, i;
|
|
7624
7620
|
}, sr = (o, t) => {
|
|
7625
7621
|
if (!Array.isArray(o) || !Array.isArray(o.raw) || t.length !== o.length - 1)
|
|
7626
7622
|
throw new TypeError("Invalid call to the html template tag");
|
|
@@ -7641,21 +7637,21 @@ const Ie = xl(HTMLElement);
|
|
|
7641
7637
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7642
7638
|
*/
|
|
7643
7639
|
const Ae = [];
|
|
7644
|
-
function
|
|
7640
|
+
function Ei(o, t, e = o.getAttribute("dir")) {
|
|
7645
7641
|
t ? o.setAttribute("dir", t) : e != null && o.removeAttribute("dir");
|
|
7646
7642
|
}
|
|
7647
|
-
function
|
|
7643
|
+
function Si() {
|
|
7648
7644
|
return document.documentElement.getAttribute("dir");
|
|
7649
7645
|
}
|
|
7650
7646
|
function El() {
|
|
7651
|
-
const o =
|
|
7647
|
+
const o = Si();
|
|
7652
7648
|
Ae.forEach((t) => {
|
|
7653
|
-
|
|
7649
|
+
Ei(t, o);
|
|
7654
7650
|
});
|
|
7655
7651
|
}
|
|
7656
7652
|
const Sl = new MutationObserver(El);
|
|
7657
7653
|
Sl.observe(document.documentElement, { attributes: !0, attributeFilter: ["dir"] });
|
|
7658
|
-
const
|
|
7654
|
+
const Wt = (o) => class extends o {
|
|
7659
7655
|
static get properties() {
|
|
7660
7656
|
return {
|
|
7661
7657
|
/**
|
|
@@ -7681,14 +7677,14 @@ const qt = (o) => class extends o {
|
|
|
7681
7677
|
}
|
|
7682
7678
|
/** @protected */
|
|
7683
7679
|
connectedCallback() {
|
|
7684
|
-
super.connectedCallback(), (!this.hasAttribute("dir") || this.__restoreSubscription) && (this.__subscribe(),
|
|
7680
|
+
super.connectedCallback(), (!this.hasAttribute("dir") || this.__restoreSubscription) && (this.__subscribe(), Ei(this, Si(), null));
|
|
7685
7681
|
}
|
|
7686
7682
|
/** @protected */
|
|
7687
7683
|
attributeChangedCallback(e, i, s) {
|
|
7688
7684
|
if (super.attributeChangedCallback(e, i, s), e !== "dir")
|
|
7689
7685
|
return;
|
|
7690
|
-
const r =
|
|
7691
|
-
n || a ? (this.__subscribe(),
|
|
7686
|
+
const r = Si(), n = s === r && Ae.indexOf(this) === -1, a = !s && i && Ae.indexOf(this) === -1;
|
|
7687
|
+
n || a ? (this.__subscribe(), Ei(this, r, s)) : s !== r && i === r && this.__unsubscribe();
|
|
7692
7688
|
}
|
|
7693
7689
|
/** @protected */
|
|
7694
7690
|
disconnectedCallback() {
|
|
@@ -7828,7 +7824,7 @@ const Cl = R`
|
|
|
7828
7824
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7829
7825
|
*/
|
|
7830
7826
|
Q("vaadin-input-container", Cl, { moduleId: "vaadin-input-container-styles" });
|
|
7831
|
-
class Dl extends Al(
|
|
7827
|
+
class Dl extends Al(Ye(Wt(Ie))) {
|
|
7832
7828
|
static get is() {
|
|
7833
7829
|
return "vaadin-input-container";
|
|
7834
7830
|
}
|
|
@@ -7911,29 +7907,29 @@ const kl = R`
|
|
|
7911
7907
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7912
7908
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7913
7909
|
*/
|
|
7914
|
-
let
|
|
7910
|
+
let Gi = !1;
|
|
7915
7911
|
window.addEventListener(
|
|
7916
7912
|
"keydown",
|
|
7917
7913
|
() => {
|
|
7918
|
-
|
|
7914
|
+
Gi = !0;
|
|
7919
7915
|
},
|
|
7920
7916
|
{ capture: !0 }
|
|
7921
7917
|
);
|
|
7922
7918
|
window.addEventListener(
|
|
7923
7919
|
"mousedown",
|
|
7924
7920
|
() => {
|
|
7925
|
-
|
|
7921
|
+
Gi = !1;
|
|
7926
7922
|
},
|
|
7927
7923
|
{ capture: !0 }
|
|
7928
7924
|
);
|
|
7929
|
-
function
|
|
7925
|
+
function Ai() {
|
|
7930
7926
|
let o = document.activeElement || document.body;
|
|
7931
7927
|
for (; o.shadowRoot && o.shadowRoot.activeElement; )
|
|
7932
7928
|
o = o.shadowRoot.activeElement;
|
|
7933
7929
|
return o;
|
|
7934
7930
|
}
|
|
7935
|
-
function
|
|
7936
|
-
return
|
|
7931
|
+
function Ji() {
|
|
7932
|
+
return Gi;
|
|
7937
7933
|
}
|
|
7938
7934
|
function Pl(o) {
|
|
7939
7935
|
const t = o.style;
|
|
@@ -7952,11 +7948,11 @@ function Ml(o, t) {
|
|
|
7952
7948
|
Tl(o[0], t[0]) ? e.push(t.shift()) : e.push(o.shift());
|
|
7953
7949
|
return e.concat(o, t);
|
|
7954
7950
|
}
|
|
7955
|
-
function
|
|
7951
|
+
function Ci(o) {
|
|
7956
7952
|
const t = o.length;
|
|
7957
7953
|
if (t < 2)
|
|
7958
7954
|
return o;
|
|
7959
|
-
const e = Math.ceil(t / 2), i =
|
|
7955
|
+
const e = Math.ceil(t / 2), i = Ci(o.slice(0, e)), s = Ci(o.slice(e));
|
|
7960
7956
|
return Ml(i, s);
|
|
7961
7957
|
}
|
|
7962
7958
|
function rr(o) {
|
|
@@ -7987,7 +7983,7 @@ function nr(o, t) {
|
|
|
7987
7983
|
}
|
|
7988
7984
|
function Fl(o) {
|
|
7989
7985
|
const t = [];
|
|
7990
|
-
return nr(o, t) ?
|
|
7986
|
+
return nr(o, t) ? Ci(t) : t;
|
|
7991
7987
|
}
|
|
7992
7988
|
/**
|
|
7993
7989
|
@license
|
|
@@ -7998,10 +7994,10 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
7998
7994
|
Code distributed by Google as part of the polymer project is also
|
|
7999
7995
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
8000
7996
|
*/
|
|
8001
|
-
let
|
|
7997
|
+
let Di = !1, Nl = [], ar = [];
|
|
8002
7998
|
function zl() {
|
|
8003
|
-
|
|
8004
|
-
|
|
7999
|
+
Di = !0, requestAnimationFrame(function() {
|
|
8000
|
+
Di = !1, Ll(Nl), setTimeout(function() {
|
|
8005
8001
|
$l(ar);
|
|
8006
8002
|
});
|
|
8007
8003
|
});
|
|
@@ -8025,19 +8021,19 @@ function lr(o) {
|
|
|
8025
8021
|
}
|
|
8026
8022
|
}
|
|
8027
8023
|
function cr(o, t, e) {
|
|
8028
|
-
|
|
8024
|
+
Di || zl(), ar.push([o, t, e]);
|
|
8029
8025
|
}
|
|
8030
8026
|
/**
|
|
8031
8027
|
* @license
|
|
8032
8028
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8033
8029
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8034
8030
|
*/
|
|
8035
|
-
const
|
|
8036
|
-
|
|
8037
|
-
|
|
8038
|
-
|
|
8039
|
-
const Hl =
|
|
8040
|
-
|
|
8031
|
+
const qt = (o) => o.test(navigator.userAgent), ki = (o) => o.test(navigator.platform), Rl = (o) => o.test(navigator.vendor);
|
|
8032
|
+
qt(/Android/u);
|
|
8033
|
+
qt(/Chrome/u) && Rl(/Google Inc/u);
|
|
8034
|
+
qt(/Firefox/u);
|
|
8035
|
+
const Hl = ki(/^iPad/u) || ki(/^Mac/u) && navigator.maxTouchPoints > 1, Bl = ki(/^iPhone/u), ur = Bl || Hl;
|
|
8036
|
+
qt(/^((?!chrome|android).)*safari/iu);
|
|
8041
8037
|
const Yl = (() => {
|
|
8042
8038
|
try {
|
|
8043
8039
|
return document.createEvent("TouchEvent"), !0;
|
|
@@ -8050,23 +8046,23 @@ const Yl = (() => {
|
|
|
8050
8046
|
* Copyright (c) 2017 Anton Korzunov
|
|
8051
8047
|
* SPDX-License-Identifier: MIT
|
|
8052
8048
|
*/
|
|
8053
|
-
let
|
|
8054
|
-
const
|
|
8049
|
+
let We = /* @__PURE__ */ new WeakMap(), Tt = /* @__PURE__ */ new WeakMap(), Mt = {}, si = 0;
|
|
8050
|
+
const Vo = (o) => o && o.nodeType === Node.ELEMENT_NODE, ri = (...o) => {
|
|
8055
8051
|
console.error(`Error: ${o.join(" ")}. Skip setting aria-hidden.`);
|
|
8056
|
-
}, jl = (o, t) =>
|
|
8057
|
-
if (!
|
|
8058
|
-
return
|
|
8052
|
+
}, jl = (o, t) => Vo(o) ? t.map((e) => {
|
|
8053
|
+
if (!Vo(e))
|
|
8054
|
+
return ri(e, "is not a valid element"), null;
|
|
8059
8055
|
let i = e;
|
|
8060
8056
|
for (; i && i !== o; ) {
|
|
8061
8057
|
if (o.contains(i))
|
|
8062
8058
|
return e;
|
|
8063
8059
|
i = i.getRootNode().host;
|
|
8064
8060
|
}
|
|
8065
|
-
return
|
|
8066
|
-
}).filter((e) => !!e) : (
|
|
8061
|
+
return ri(e, "is not contained inside", o), null;
|
|
8062
|
+
}).filter((e) => !!e) : (ri(o, "is not a valid element"), []), Ul = (o, t, e, i) => {
|
|
8067
8063
|
const s = jl(t, Array.isArray(o) ? o : [o]);
|
|
8068
|
-
|
|
8069
|
-
const r =
|
|
8064
|
+
Mt[e] || (Mt[e] = /* @__PURE__ */ new WeakMap());
|
|
8065
|
+
const r = Mt[e], n = [], a = /* @__PURE__ */ new Set(), l = new Set(s), c = (d) => {
|
|
8070
8066
|
if (!d || a.has(d))
|
|
8071
8067
|
return;
|
|
8072
8068
|
a.add(d);
|
|
@@ -8083,27 +8079,27 @@ const Uo = (o) => o && o.nodeType === Node.ELEMENT_NODE, ni = (...o) => {
|
|
|
8083
8079
|
if (a.has(y))
|
|
8084
8080
|
u(y);
|
|
8085
8081
|
else {
|
|
8086
|
-
const f = y.getAttribute(i), b = f !== null && f !== "false", D = (
|
|
8087
|
-
|
|
8082
|
+
const f = y.getAttribute(i), b = f !== null && f !== "false", D = (We.get(y) || 0) + 1, C = (r.get(y) || 0) + 1;
|
|
8083
|
+
We.set(y, D), r.set(y, C), n.push(y), D === 1 && b && Tt.set(y, !0), C === 1 && y.setAttribute(e, "true"), b || y.setAttribute(i, "true");
|
|
8088
8084
|
}
|
|
8089
8085
|
});
|
|
8090
8086
|
};
|
|
8091
|
-
return u(t), a.clear(),
|
|
8087
|
+
return u(t), a.clear(), si += 1, () => {
|
|
8092
8088
|
n.forEach((d) => {
|
|
8093
|
-
const h =
|
|
8094
|
-
|
|
8095
|
-
}),
|
|
8089
|
+
const h = We.get(d) - 1, p = r.get(d) - 1;
|
|
8090
|
+
We.set(d, h), r.set(d, p), h || (Tt.has(d) ? Tt.delete(d) : d.removeAttribute(i)), p || d.removeAttribute(e);
|
|
8091
|
+
}), si -= 1, si || (We = /* @__PURE__ */ new WeakMap(), We = /* @__PURE__ */ new WeakMap(), Tt = /* @__PURE__ */ new WeakMap(), Mt = {});
|
|
8096
8092
|
};
|
|
8097
8093
|
}, dr = (o, t = document.body, e = "data-aria-hidden") => {
|
|
8098
8094
|
const i = Array.from(Array.isArray(o) ? o : [o]);
|
|
8099
|
-
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))),
|
|
8095
|
+
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))), Ul(i, t, e, "aria-hidden");
|
|
8100
8096
|
};
|
|
8101
8097
|
/**
|
|
8102
8098
|
* @license
|
|
8103
8099
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8104
8100
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8105
8101
|
*/
|
|
8106
|
-
class
|
|
8102
|
+
class Vl {
|
|
8107
8103
|
/**
|
|
8108
8104
|
* @param {HTMLElement} host
|
|
8109
8105
|
*/
|
|
@@ -8143,7 +8139,7 @@ class Wl {
|
|
|
8143
8139
|
* @param {Node | null | undefined} focusNode
|
|
8144
8140
|
*/
|
|
8145
8141
|
saveFocus(t) {
|
|
8146
|
-
this.focusNode = t ||
|
|
8142
|
+
this.focusNode = t || Ai();
|
|
8147
8143
|
}
|
|
8148
8144
|
/**
|
|
8149
8145
|
* Restores focus to the target node that was saved previously with `saveFocus()`.
|
|
@@ -8153,7 +8149,7 @@ class Wl {
|
|
|
8153
8149
|
if (!e)
|
|
8154
8150
|
return;
|
|
8155
8151
|
const i = t ? t.preventScroll : !1;
|
|
8156
|
-
|
|
8152
|
+
Ai() === document.body ? setTimeout(() => e.focus({ preventScroll: i })) : e.focus({ preventScroll: i }), this.focusNode = null;
|
|
8157
8153
|
}
|
|
8158
8154
|
}
|
|
8159
8155
|
/**
|
|
@@ -8161,7 +8157,7 @@ class Wl {
|
|
|
8161
8157
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8162
8158
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8163
8159
|
*/
|
|
8164
|
-
const
|
|
8160
|
+
const ni = [];
|
|
8165
8161
|
class ql {
|
|
8166
8162
|
/**
|
|
8167
8163
|
* @param {HTMLElement} host
|
|
@@ -8211,14 +8207,14 @@ class ql {
|
|
|
8211
8207
|
trapFocus(t) {
|
|
8212
8208
|
if (this.__trapNode = t, this.__focusableElements.length === 0)
|
|
8213
8209
|
throw this.__trapNode = null, new Error("The trap node should have at least one focusable descendant or be focusable itself.");
|
|
8214
|
-
|
|
8210
|
+
ni.push(this), this.__focusedElementIndex === -1 && this.__focusableElements[0].focus();
|
|
8215
8211
|
}
|
|
8216
8212
|
/**
|
|
8217
8213
|
* Deactivates the focus trap set with the `.trapFocus()` method
|
|
8218
8214
|
* so that it becomes possible to tab outside the trap node.
|
|
8219
8215
|
*/
|
|
8220
8216
|
releaseFocus() {
|
|
8221
|
-
this.__trapNode = null,
|
|
8217
|
+
this.__trapNode = null, ni.pop();
|
|
8222
8218
|
}
|
|
8223
8219
|
/**
|
|
8224
8220
|
* A `keydown` event handler that manages tabbing navigation when the trap is enabled.
|
|
@@ -8232,7 +8228,7 @@ class ql {
|
|
|
8232
8228
|
* @private
|
|
8233
8229
|
*/
|
|
8234
8230
|
__onKeyDown(t) {
|
|
8235
|
-
if (this.__trapNode && this === Array.from(
|
|
8231
|
+
if (this.__trapNode && this === Array.from(ni).pop() && t.key === "Tab") {
|
|
8236
8232
|
t.preventDefault();
|
|
8237
8233
|
const e = t.shiftKey;
|
|
8238
8234
|
this.__focusNextElement(e);
|
|
@@ -8259,7 +8255,7 @@ class ql {
|
|
|
8259
8255
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8260
8256
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8261
8257
|
*/
|
|
8262
|
-
const
|
|
8258
|
+
const ot = se((o) => typeof o.prototype.addController == "function" ? o : class extends o {
|
|
8263
8259
|
constructor() {
|
|
8264
8260
|
super(), this.__controllers = /* @__PURE__ */ new Set();
|
|
8265
8261
|
}
|
|
@@ -8299,7 +8295,7 @@ const st = se((o) => typeof o.prototype.addController == "function" ? o : class
|
|
|
8299
8295
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
8300
8296
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8301
8297
|
*/
|
|
8302
|
-
const Kl = (o) => class extends
|
|
8298
|
+
const Kl = (o) => class extends ot(o) {
|
|
8303
8299
|
static get properties() {
|
|
8304
8300
|
return {
|
|
8305
8301
|
/**
|
|
@@ -8330,7 +8326,7 @@ const Kl = (o) => class extends st(o) {
|
|
|
8330
8326
|
};
|
|
8331
8327
|
}
|
|
8332
8328
|
constructor() {
|
|
8333
|
-
super(), this.__ariaModalController = new
|
|
8329
|
+
super(), this.__ariaModalController = new Vl(this), this.__focusTrapController = new ql(this), this.__focusRestorationController = new Wl();
|
|
8334
8330
|
}
|
|
8335
8331
|
/** @protected */
|
|
8336
8332
|
ready() {
|
|
@@ -8343,7 +8339,7 @@ const Kl = (o) => class extends st(o) {
|
|
|
8343
8339
|
*/
|
|
8344
8340
|
_resetFocus() {
|
|
8345
8341
|
if (this.focusTrap && (this.__ariaModalController.close(), this.__focusTrapController.releaseFocus()), this.restoreFocusOnClose && this._shouldRestoreFocus()) {
|
|
8346
|
-
const e = !
|
|
8342
|
+
const e = !Ji();
|
|
8347
8343
|
this.__focusRestorationController.restoreFocus({ preventScroll: e });
|
|
8348
8344
|
}
|
|
8349
8345
|
}
|
|
@@ -8375,7 +8371,7 @@ const Kl = (o) => class extends st(o) {
|
|
|
8375
8371
|
* @return {boolean}
|
|
8376
8372
|
*/
|
|
8377
8373
|
_shouldRestoreFocus() {
|
|
8378
|
-
const e =
|
|
8374
|
+
const e = Ai();
|
|
8379
8375
|
return e === document.body || this._deepContains(e);
|
|
8380
8376
|
}
|
|
8381
8377
|
/**
|
|
@@ -8401,7 +8397,7 @@ const Kl = (o) => class extends st(o) {
|
|
|
8401
8397
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
8402
8398
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8403
8399
|
*/
|
|
8404
|
-
const hr = () => Array.from(document.body.children).filter((o) => o instanceof HTMLElement && o._hasOverlayStackMixin && !o.hasAttribute("closing")).sort((o, t) => o.__zIndex - t.__zIndex || 0),
|
|
8400
|
+
const hr = () => Array.from(document.body.children).filter((o) => o instanceof HTMLElement && o._hasOverlayStackMixin && !o.hasAttribute("closing")).sort((o, t) => o.__zIndex - t.__zIndex || 0), Pi = () => hr().filter((o) => o.$.overlay), Gl = (o) => o === Pi().pop(), Jl = (o) => class extends o {
|
|
8405
8401
|
constructor() {
|
|
8406
8402
|
super(), this._hasOverlayStackMixin = !0;
|
|
8407
8403
|
}
|
|
@@ -8424,14 +8420,14 @@ const hr = () => Array.from(document.body.children).filter((o) => o instanceof H
|
|
|
8424
8420
|
}
|
|
8425
8421
|
/** @protected */
|
|
8426
8422
|
_enterModalState() {
|
|
8427
|
-
document.body.style.pointerEvents !== "none" && (this._previousDocumentPointerEvents = document.body.style.pointerEvents, document.body.style.pointerEvents = "none"),
|
|
8423
|
+
document.body.style.pointerEvents !== "none" && (this._previousDocumentPointerEvents = document.body.style.pointerEvents, document.body.style.pointerEvents = "none"), Pi().forEach((e) => {
|
|
8428
8424
|
e !== this && (e.$.overlay.style.pointerEvents = "none");
|
|
8429
8425
|
});
|
|
8430
8426
|
}
|
|
8431
8427
|
/** @protected */
|
|
8432
8428
|
_exitModalState() {
|
|
8433
8429
|
this._previousDocumentPointerEvents !== void 0 && (document.body.style.pointerEvents = this._previousDocumentPointerEvents, delete this._previousDocumentPointerEvents);
|
|
8434
|
-
const e =
|
|
8430
|
+
const e = Pi();
|
|
8435
8431
|
let i;
|
|
8436
8432
|
for (; (i = e.pop()) && !(i !== this && (i.$.overlay.style.removeProperty("pointer-events"), !i.modeless)); )
|
|
8437
8433
|
;
|
|
@@ -8727,23 +8723,23 @@ function Zl(o) {
|
|
|
8727
8723
|
}
|
|
8728
8724
|
return t;
|
|
8729
8725
|
}
|
|
8730
|
-
function
|
|
8726
|
+
function Xi(o) {
|
|
8731
8727
|
return o ? new Set(o.split(" ")) : /* @__PURE__ */ new Set();
|
|
8732
8728
|
}
|
|
8733
|
-
function
|
|
8729
|
+
function Kt(o) {
|
|
8734
8730
|
return o ? [...o].join(" ") : "";
|
|
8735
8731
|
}
|
|
8736
8732
|
function pr(o, t, e) {
|
|
8737
|
-
const i =
|
|
8738
|
-
i.add(e), o.setAttribute(t,
|
|
8733
|
+
const i = Xi(o.getAttribute(t));
|
|
8734
|
+
i.add(e), o.setAttribute(t, Kt(i));
|
|
8739
8735
|
}
|
|
8740
8736
|
function Ql(o, t, e) {
|
|
8741
|
-
const i =
|
|
8737
|
+
const i = Xi(o.getAttribute(t));
|
|
8742
8738
|
if (i.delete(e), i.size === 0) {
|
|
8743
8739
|
o.removeAttribute(t);
|
|
8744
8740
|
return;
|
|
8745
8741
|
}
|
|
8746
|
-
o.setAttribute(t,
|
|
8742
|
+
o.setAttribute(t, Kt(i));
|
|
8747
8743
|
}
|
|
8748
8744
|
function ec(o) {
|
|
8749
8745
|
return o.nodeType === Node.TEXT_NODE && o.textContent.trim() === "";
|
|
@@ -8787,10 +8783,10 @@ function tc(o, t) {
|
|
|
8787
8783
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
8788
8784
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8789
8785
|
*/
|
|
8790
|
-
const
|
|
8786
|
+
const ai = {
|
|
8791
8787
|
start: "top",
|
|
8792
8788
|
end: "bottom"
|
|
8793
|
-
},
|
|
8789
|
+
}, li = {
|
|
8794
8790
|
start: "left",
|
|
8795
8791
|
end: "right"
|
|
8796
8792
|
}, Wo = new ResizeObserver((o) => {
|
|
@@ -8942,14 +8938,14 @@ const li = {
|
|
|
8942
8938
|
e,
|
|
8943
8939
|
a,
|
|
8944
8940
|
this.noVerticalOverlap,
|
|
8945
|
-
|
|
8941
|
+
ai,
|
|
8946
8942
|
this,
|
|
8947
8943
|
i
|
|
8948
8944
|
), c = this.__calculatePositionInOneDimension(
|
|
8949
8945
|
e,
|
|
8950
8946
|
a,
|
|
8951
8947
|
this.noHorizontalOverlap,
|
|
8952
|
-
|
|
8948
|
+
li,
|
|
8953
8949
|
this,
|
|
8954
8950
|
r
|
|
8955
8951
|
);
|
|
@@ -8966,7 +8962,7 @@ const li = {
|
|
|
8966
8962
|
this.__margins,
|
|
8967
8963
|
n,
|
|
8968
8964
|
this.noHorizontalOverlap,
|
|
8969
|
-
|
|
8965
|
+
li
|
|
8970
8966
|
);
|
|
8971
8967
|
}
|
|
8972
8968
|
__shouldAlignStartVertically(e) {
|
|
@@ -8980,7 +8976,7 @@ const li = {
|
|
|
8980
8976
|
this.__margins,
|
|
8981
8977
|
r,
|
|
8982
8978
|
this.noVerticalOverlap,
|
|
8983
|
-
|
|
8979
|
+
ai
|
|
8984
8980
|
);
|
|
8985
8981
|
}
|
|
8986
8982
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
@@ -8997,7 +8993,7 @@ const li = {
|
|
|
8997
8993
|
__adjustBottomProperty(e, i, s) {
|
|
8998
8994
|
let r;
|
|
8999
8995
|
if (e === i.end) {
|
|
9000
|
-
if (i.end ===
|
|
8996
|
+
if (i.end === ai.end) {
|
|
9001
8997
|
const n = Math.min(window.innerHeight, document.documentElement.clientHeight);
|
|
9002
8998
|
if (s > n && this.__oldViewportHeight) {
|
|
9003
8999
|
const a = this.__oldViewportHeight - n;
|
|
@@ -9005,7 +9001,7 @@ const li = {
|
|
|
9005
9001
|
}
|
|
9006
9002
|
this.__oldViewportHeight = n;
|
|
9007
9003
|
}
|
|
9008
|
-
if (i.end ===
|
|
9004
|
+
if (i.end === li.end) {
|
|
9009
9005
|
const n = Math.min(window.innerWidth, document.documentElement.clientWidth);
|
|
9010
9006
|
if (s > n && this.__oldViewportWidth) {
|
|
9011
9007
|
const a = this.__oldViewportWidth - n;
|
|
@@ -9083,7 +9079,7 @@ const sc = R`
|
|
|
9083
9079
|
Q("vaadin-date-picker-overlay", [kl, sc], {
|
|
9084
9080
|
moduleId: "vaadin-date-picker-overlay-styles"
|
|
9085
9081
|
});
|
|
9086
|
-
class rc extends oc(
|
|
9082
|
+
class rc extends oc(Wt(Ye(Ie))) {
|
|
9087
9083
|
static get is() {
|
|
9088
9084
|
return "vaadin-date-picker-overlay";
|
|
9089
9085
|
}
|
|
@@ -9099,7 +9095,7 @@ class rc extends oc(qt(je(Ie))) {
|
|
|
9099
9095
|
}
|
|
9100
9096
|
}
|
|
9101
9097
|
Se(rc);
|
|
9102
|
-
const nc = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i,
|
|
9098
|
+
const nc = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i, Ft = window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients;
|
|
9103
9099
|
function ac() {
|
|
9104
9100
|
function o() {
|
|
9105
9101
|
return !0;
|
|
@@ -9108,7 +9104,7 @@ function ac() {
|
|
|
9108
9104
|
}
|
|
9109
9105
|
function lc() {
|
|
9110
9106
|
try {
|
|
9111
|
-
return cc() ? !0 : uc() ?
|
|
9107
|
+
return cc() ? !0 : uc() ? Ft ? !dc() : !ac() : !1;
|
|
9112
9108
|
} catch (o) {
|
|
9113
9109
|
return !1;
|
|
9114
9110
|
}
|
|
@@ -9120,7 +9116,7 @@ function uc() {
|
|
|
9120
9116
|
return ["localhost", "127.0.0.1"].indexOf(window.location.hostname) >= 0;
|
|
9121
9117
|
}
|
|
9122
9118
|
function dc() {
|
|
9123
|
-
return !!(
|
|
9119
|
+
return !!(Ft && Object.keys(Ft).map((t) => Ft[t]).filter((t) => t.productionMode).length > 0);
|
|
9124
9120
|
}
|
|
9125
9121
|
function fr(o, t) {
|
|
9126
9122
|
if (typeof o != "function")
|
|
@@ -9635,13 +9631,13 @@ const pc = function() {
|
|
|
9635
9631
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
9636
9632
|
*/
|
|
9637
9633
|
let Ko = 0, mr = 0;
|
|
9638
|
-
const
|
|
9639
|
-
let
|
|
9634
|
+
const Je = [];
|
|
9635
|
+
let Ti = !1;
|
|
9640
9636
|
function fc() {
|
|
9641
|
-
|
|
9642
|
-
const o =
|
|
9637
|
+
Ti = !1;
|
|
9638
|
+
const o = Je.length;
|
|
9643
9639
|
for (let t = 0; t < o; t++) {
|
|
9644
|
-
const e =
|
|
9640
|
+
const e = Je[t];
|
|
9645
9641
|
if (e)
|
|
9646
9642
|
try {
|
|
9647
9643
|
e();
|
|
@@ -9651,9 +9647,9 @@ function fc() {
|
|
|
9651
9647
|
});
|
|
9652
9648
|
}
|
|
9653
9649
|
}
|
|
9654
|
-
|
|
9650
|
+
Je.splice(0, o), mr += o;
|
|
9655
9651
|
}
|
|
9656
|
-
const
|
|
9652
|
+
const Bt = {
|
|
9657
9653
|
/**
|
|
9658
9654
|
* Returns a sub-module with the async interface providing the provided
|
|
9659
9655
|
* delay.
|
|
@@ -9744,7 +9740,7 @@ const Yt = {
|
|
|
9744
9740
|
* @return {number} Handle used for canceling task
|
|
9745
9741
|
*/
|
|
9746
9742
|
run(o) {
|
|
9747
|
-
|
|
9743
|
+
Ti || (Ti = !0, queueMicrotask(() => fc())), Je.push(o);
|
|
9748
9744
|
const t = Ko;
|
|
9749
9745
|
return Ko += 1, t;
|
|
9750
9746
|
},
|
|
@@ -9758,9 +9754,9 @@ const Yt = {
|
|
|
9758
9754
|
cancel(o) {
|
|
9759
9755
|
const t = o - mr;
|
|
9760
9756
|
if (t >= 0) {
|
|
9761
|
-
if (!
|
|
9757
|
+
if (!Je[t])
|
|
9762
9758
|
throw new Error(`invalid async handle: ${o}`);
|
|
9763
|
-
|
|
9759
|
+
Je[t] = null;
|
|
9764
9760
|
}
|
|
9765
9761
|
}
|
|
9766
9762
|
};
|
|
@@ -9773,8 +9769,8 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
9773
9769
|
Code distributed by Google as part of the polymer project is also
|
|
9774
9770
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
9775
9771
|
*/
|
|
9776
|
-
const
|
|
9777
|
-
let
|
|
9772
|
+
const Mi = /* @__PURE__ */ new Set();
|
|
9773
|
+
let et = class Oi {
|
|
9778
9774
|
/**
|
|
9779
9775
|
* Creates a debouncer if no debouncer is passed as a parameter
|
|
9780
9776
|
* or it cancels an active debouncer otherwise. The following
|
|
@@ -9810,7 +9806,7 @@ let tt = class Ii {
|
|
|
9810
9806
|
* @return {!Debouncer} Returns a debouncer object.
|
|
9811
9807
|
*/
|
|
9812
9808
|
static debounce(t, e, i) {
|
|
9813
|
-
return t instanceof
|
|
9809
|
+
return t instanceof Oi ? t._cancelAsync() : t = new Oi(), t.setConfig(e, i), t;
|
|
9814
9810
|
}
|
|
9815
9811
|
constructor() {
|
|
9816
9812
|
this._asyncModule = null, this._callback = null, this._timer = null;
|
|
@@ -9826,7 +9822,7 @@ let tt = class Ii {
|
|
|
9826
9822
|
*/
|
|
9827
9823
|
setConfig(t, e) {
|
|
9828
9824
|
this._asyncModule = t, this._callback = e, this._timer = this._asyncModule.run(() => {
|
|
9829
|
-
this._timer = null,
|
|
9825
|
+
this._timer = null, Mi.delete(this), this._callback();
|
|
9830
9826
|
});
|
|
9831
9827
|
}
|
|
9832
9828
|
/**
|
|
@@ -9835,7 +9831,7 @@ let tt = class Ii {
|
|
|
9835
9831
|
* @return {void}
|
|
9836
9832
|
*/
|
|
9837
9833
|
cancel() {
|
|
9838
|
-
this.isActive() && (this._cancelAsync(),
|
|
9834
|
+
this.isActive() && (this._cancelAsync(), Mi.delete(this));
|
|
9839
9835
|
}
|
|
9840
9836
|
/**
|
|
9841
9837
|
* Cancels a debouncer's async callback.
|
|
@@ -9866,7 +9862,7 @@ let tt = class Ii {
|
|
|
9866
9862
|
}
|
|
9867
9863
|
};
|
|
9868
9864
|
function vc(o) {
|
|
9869
|
-
|
|
9865
|
+
Mi.add(o);
|
|
9870
9866
|
}
|
|
9871
9867
|
/**
|
|
9872
9868
|
* @license
|
|
@@ -9879,15 +9875,15 @@ window.Vaadin.developmentModeCallback || (window.Vaadin.developmentModeCallback
|
|
|
9879
9875
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"] = function() {
|
|
9880
9876
|
pc();
|
|
9881
9877
|
};
|
|
9882
|
-
let
|
|
9883
|
-
const Go = /* @__PURE__ */ new Set(), _r = (o) => class extends
|
|
9878
|
+
let ci;
|
|
9879
|
+
const Go = /* @__PURE__ */ new Set(), _r = (o) => class extends Wt(o) {
|
|
9884
9880
|
/** @protected */
|
|
9885
9881
|
static finalize() {
|
|
9886
9882
|
super.finalize();
|
|
9887
9883
|
const { is: e } = this;
|
|
9888
|
-
e && !Go.has(e) && (window.Vaadin.registrations.push(this), Go.add(e), window.Vaadin.developmentModeCallback && (
|
|
9884
|
+
e && !Go.has(e) && (window.Vaadin.registrations.push(this), Go.add(e), window.Vaadin.developmentModeCallback && (ci = et.debounce(ci, _c, () => {
|
|
9889
9885
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]();
|
|
9890
|
-
}), vc(
|
|
9886
|
+
}), vc(ci)));
|
|
9891
9887
|
}
|
|
9892
9888
|
constructor() {
|
|
9893
9889
|
super(), document.doctype === null && console.warn(
|
|
@@ -10260,7 +10256,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
10260
10256
|
Code distributed by Google as part of the polymer project is also
|
|
10261
10257
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10262
10258
|
*/
|
|
10263
|
-
const Ec = (o) => o,
|
|
10259
|
+
const Ec = !1, Sc = (o) => o, Zi = typeof document.head.style.touchAction == "string", Ii = "__polymerGestures", ui = "__polymerGesturesHandled", Fi = "__polymerGesturesTouchAction", Jo = 25, Xo = 5, Ac = 2, Cc = ["mousedown", "mousemove", "mouseup", "click"], Dc = [0, 1, 4, 2], kc = function() {
|
|
10264
10260
|
try {
|
|
10265
10261
|
return new MouseEvent("test", { buttons: 1 }).buttons === 1;
|
|
10266
10262
|
} catch (o) {
|
|
@@ -10268,15 +10264,15 @@ const Ec = (o) => o, yr = typeof document.head.style.touchAction == "string", Fi
|
|
|
10268
10264
|
}
|
|
10269
10265
|
}();
|
|
10270
10266
|
function Qi(o) {
|
|
10271
|
-
return
|
|
10267
|
+
return Cc.indexOf(o) > -1;
|
|
10272
10268
|
}
|
|
10273
|
-
let
|
|
10269
|
+
let yr = !1;
|
|
10274
10270
|
(function() {
|
|
10275
10271
|
try {
|
|
10276
10272
|
const o = Object.defineProperty({}, "passive", {
|
|
10277
10273
|
// eslint-disable-next-line getter-return
|
|
10278
10274
|
get() {
|
|
10279
|
-
|
|
10275
|
+
yr = !0;
|
|
10280
10276
|
}
|
|
10281
10277
|
});
|
|
10282
10278
|
window.addEventListener("test", null, o), window.removeEventListener("test", null, o);
|
|
@@ -10284,7 +10280,8 @@ let kc = !1;
|
|
|
10284
10280
|
}
|
|
10285
10281
|
})();
|
|
10286
10282
|
function Pc(o) {
|
|
10287
|
-
Qi(o)
|
|
10283
|
+
if (!(Qi(o) || o === "touchend") && Zi && yr && Ec)
|
|
10284
|
+
return { passive: !0 };
|
|
10288
10285
|
}
|
|
10289
10286
|
const Tc = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), Mc = {
|
|
10290
10287
|
button: !0,
|
|
@@ -10297,13 +10294,13 @@ const Tc = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), Mc = {
|
|
|
10297
10294
|
select: !0,
|
|
10298
10295
|
textarea: !0
|
|
10299
10296
|
};
|
|
10300
|
-
function
|
|
10297
|
+
function He(o) {
|
|
10301
10298
|
const t = o.type;
|
|
10302
10299
|
if (!Qi(t))
|
|
10303
10300
|
return !1;
|
|
10304
10301
|
if (t === "mousemove") {
|
|
10305
10302
|
let i = o.buttons === void 0 ? 1 : o.buttons;
|
|
10306
|
-
return o instanceof window.MouseEvent && !
|
|
10303
|
+
return o instanceof window.MouseEvent && !kc && (i = Dc[o.which] || 0), !!(i & 1);
|
|
10307
10304
|
}
|
|
10308
10305
|
return (o.button === void 0 ? 0 : o.button) === 0;
|
|
10309
10306
|
}
|
|
@@ -10324,6 +10321,10 @@ function Oc(o) {
|
|
|
10324
10321
|
return !1;
|
|
10325
10322
|
}
|
|
10326
10323
|
const De = {
|
|
10324
|
+
mouse: {
|
|
10325
|
+
target: null,
|
|
10326
|
+
mouseIgnoreJob: null
|
|
10327
|
+
},
|
|
10327
10328
|
touch: {
|
|
10328
10329
|
x: 0,
|
|
10329
10330
|
y: 0,
|
|
@@ -10335,8 +10336,8 @@ function Ic(o) {
|
|
|
10335
10336
|
let t = "auto";
|
|
10336
10337
|
const e = xr(o);
|
|
10337
10338
|
for (let i = 0, s; i < e.length; i++)
|
|
10338
|
-
if (s = e[i], s[
|
|
10339
|
-
t = s[
|
|
10339
|
+
if (s = e[i], s[Fi]) {
|
|
10340
|
+
t = s[Fi];
|
|
10340
10341
|
break;
|
|
10341
10342
|
}
|
|
10342
10343
|
return t;
|
|
@@ -10344,7 +10345,7 @@ function Ic(o) {
|
|
|
10344
10345
|
function br(o, t, e) {
|
|
10345
10346
|
o.movefn = t, o.upfn = e, document.addEventListener("mousemove", t), document.addEventListener("mouseup", e);
|
|
10346
10347
|
}
|
|
10347
|
-
function
|
|
10348
|
+
function Xe(o) {
|
|
10348
10349
|
document.removeEventListener("mousemove", o.movefn), document.removeEventListener("mouseup", o.upfn), o.movefn = null, o.upfn = null;
|
|
10349
10350
|
}
|
|
10350
10351
|
const xr = window.ShadyDOM && window.ShadyDOM.noPatch ? window.ShadyDOM.composedPath : (o) => o.composedPath && o.composedPath() || [], eo = {}, Re = [];
|
|
@@ -10366,19 +10367,19 @@ function Oe(o) {
|
|
|
10366
10367
|
return t.length > 0 ? t[0] : o.target;
|
|
10367
10368
|
}
|
|
10368
10369
|
function Nc(o) {
|
|
10369
|
-
const t = o.type, i = o.currentTarget[
|
|
10370
|
+
const t = o.type, i = o.currentTarget[Ii];
|
|
10370
10371
|
if (!i)
|
|
10371
10372
|
return;
|
|
10372
10373
|
const s = i[t];
|
|
10373
10374
|
if (!s)
|
|
10374
10375
|
return;
|
|
10375
|
-
if (!o[
|
|
10376
|
+
if (!o[ui] && (o[ui] = {}, t.startsWith("touch"))) {
|
|
10376
10377
|
const n = o.changedTouches[0];
|
|
10377
10378
|
if (t === "touchstart" && o.touches.length === 1 && (De.touch.id = n.identifier), De.touch.id !== n.identifier)
|
|
10378
10379
|
return;
|
|
10379
|
-
|
|
10380
|
+
Zi || (t === "touchstart" || t === "touchmove") && zc(o);
|
|
10380
10381
|
}
|
|
10381
|
-
const r = o[
|
|
10382
|
+
const r = o[ui];
|
|
10382
10383
|
if (!r.skip) {
|
|
10383
10384
|
for (let n = 0, a; n < Re.length; n++)
|
|
10384
10385
|
a = Re[n], s[a.name] && !r[a.name] && a.flow && a.flow.start.indexOf(o.type) > -1 && a.reset && a.reset();
|
|
@@ -10397,7 +10398,7 @@ function zc(o) {
|
|
|
10397
10398
|
const i = Ic(o);
|
|
10398
10399
|
let s = !1;
|
|
10399
10400
|
const r = Math.abs(De.touch.x - t.clientX), n = Math.abs(De.touch.y - t.clientY);
|
|
10400
|
-
o.cancelable && (i === "none" ? s = !0 : i === "pan-x" ? s = n > r : i === "pan-y" && (s = r > n)), s ? o.preventDefault() :
|
|
10401
|
+
o.cancelable && (i === "none" ? s = !0 : i === "pan-x" ? s = n > r : i === "pan-y" && (s = r > n)), s ? o.preventDefault() : Yt("track");
|
|
10401
10402
|
}
|
|
10402
10403
|
}
|
|
10403
10404
|
function Ee(o, t, e) {
|
|
@@ -10405,8 +10406,8 @@ function Ee(o, t, e) {
|
|
|
10405
10406
|
}
|
|
10406
10407
|
function Lc(o, t, e) {
|
|
10407
10408
|
const i = eo[t], s = i.deps, r = i.name;
|
|
10408
|
-
let n = o[
|
|
10409
|
-
n || (o[
|
|
10409
|
+
let n = o[Ii];
|
|
10410
|
+
n || (o[Ii] = n = {});
|
|
10410
10411
|
for (let a = 0, l, c; a < s.length; a++)
|
|
10411
10412
|
l = s[a], !(Tc && Qi(l) && l !== "click") && (c = n[l], c || (n[l] = c = { _count: 0 }), c._count === 0 && o.addEventListener(l, Nc, Pc(l)), c[r] = (c[r] || 0) + 1, c._count = (c._count || 0) + 1);
|
|
10412
10413
|
o.addEventListener(t, e), i.touchAction && wr(o, i.touchAction);
|
|
@@ -10426,13 +10427,13 @@ function $c(o) {
|
|
|
10426
10427
|
return null;
|
|
10427
10428
|
}
|
|
10428
10429
|
function wr(o, t) {
|
|
10429
|
-
|
|
10430
|
+
Zi && o instanceof HTMLElement && gc.run(() => {
|
|
10430
10431
|
o.style.touchAction = t;
|
|
10431
|
-
}), o[
|
|
10432
|
+
}), o[Fi] = t;
|
|
10432
10433
|
}
|
|
10433
10434
|
function io(o, t, e) {
|
|
10434
10435
|
const i = new Event(t, { bubbles: !0, cancelable: !0, composed: !0 });
|
|
10435
|
-
if (i.detail = e,
|
|
10436
|
+
if (i.detail = e, Sc(
|
|
10436
10437
|
/** @type {!Node} */
|
|
10437
10438
|
o
|
|
10438
10439
|
).dispatchEvent(i), i.defaultPrevented) {
|
|
@@ -10440,7 +10441,7 @@ function io(o, t, e) {
|
|
|
10440
10441
|
s && s.preventDefault && s.preventDefault();
|
|
10441
10442
|
}
|
|
10442
10443
|
}
|
|
10443
|
-
function
|
|
10444
|
+
function Yt(o) {
|
|
10444
10445
|
const t = $c(o);
|
|
10445
10446
|
t.info && (t.info.prevent = !0);
|
|
10446
10447
|
}
|
|
@@ -10461,7 +10462,7 @@ to({
|
|
|
10461
10462
|
* @return {void}
|
|
10462
10463
|
*/
|
|
10463
10464
|
reset() {
|
|
10464
|
-
|
|
10465
|
+
Xe(this.info);
|
|
10465
10466
|
},
|
|
10466
10467
|
/**
|
|
10467
10468
|
* @this {GestureRecognizer}
|
|
@@ -10469,14 +10470,14 @@ to({
|
|
|
10469
10470
|
* @return {void}
|
|
10470
10471
|
*/
|
|
10471
10472
|
mousedown(o) {
|
|
10472
|
-
if (!
|
|
10473
|
+
if (!He(o))
|
|
10473
10474
|
return;
|
|
10474
10475
|
const t = Oe(o), e = this, i = (r) => {
|
|
10475
|
-
|
|
10476
|
+
He(r) || (lt("up", t, r), Xe(e.info));
|
|
10476
10477
|
}, s = (r) => {
|
|
10477
|
-
|
|
10478
|
+
He(r) && lt("up", t, r), Xe(e.info);
|
|
10478
10479
|
};
|
|
10479
|
-
br(this.info, i, s),
|
|
10480
|
+
br(this.info, i, s), lt("down", t, o);
|
|
10480
10481
|
},
|
|
10481
10482
|
/**
|
|
10482
10483
|
* @this {GestureRecognizer}
|
|
@@ -10484,7 +10485,7 @@ to({
|
|
|
10484
10485
|
* @return {void}
|
|
10485
10486
|
*/
|
|
10486
10487
|
touchstart(o) {
|
|
10487
|
-
|
|
10488
|
+
lt("down", Oe(o), o.changedTouches[0], o);
|
|
10488
10489
|
},
|
|
10489
10490
|
/**
|
|
10490
10491
|
* @this {GestureRecognizer}
|
|
@@ -10492,17 +10493,17 @@ to({
|
|
|
10492
10493
|
* @return {void}
|
|
10493
10494
|
*/
|
|
10494
10495
|
touchend(o) {
|
|
10495
|
-
|
|
10496
|
+
lt("up", Oe(o), o.changedTouches[0], o);
|
|
10496
10497
|
}
|
|
10497
10498
|
});
|
|
10498
|
-
function
|
|
10499
|
+
function lt(o, t, e, i) {
|
|
10499
10500
|
t && io(t, o, {
|
|
10500
10501
|
x: e.clientX,
|
|
10501
10502
|
y: e.clientY,
|
|
10502
10503
|
sourceEvent: e,
|
|
10503
10504
|
preventer: i,
|
|
10504
10505
|
prevent(s) {
|
|
10505
|
-
return
|
|
10506
|
+
return Yt(s);
|
|
10506
10507
|
}
|
|
10507
10508
|
});
|
|
10508
10509
|
}
|
|
@@ -10523,7 +10524,7 @@ to({
|
|
|
10523
10524
|
moves: [],
|
|
10524
10525
|
/** @this {GestureInfo} */
|
|
10525
10526
|
addMove(o) {
|
|
10526
|
-
this.moves.length >
|
|
10527
|
+
this.moves.length > Ac && this.moves.shift(), this.moves.push(o);
|
|
10527
10528
|
},
|
|
10528
10529
|
movefn: null,
|
|
10529
10530
|
upfn: null,
|
|
@@ -10534,7 +10535,7 @@ to({
|
|
|
10534
10535
|
* @return {void}
|
|
10535
10536
|
*/
|
|
10536
10537
|
reset() {
|
|
10537
|
-
this.info.state = "start", this.info.started = !1, this.info.moves = [], this.info.x = 0, this.info.y = 0, this.info.prevent = !1,
|
|
10538
|
+
this.info.state = "start", this.info.started = !1, this.info.moves = [], this.info.x = 0, this.info.y = 0, this.info.prevent = !1, Xe(this.info);
|
|
10538
10539
|
},
|
|
10539
10540
|
/**
|
|
10540
10541
|
* @this {GestureRecognizer}
|
|
@@ -10542,13 +10543,13 @@ to({
|
|
|
10542
10543
|
* @return {void}
|
|
10543
10544
|
*/
|
|
10544
10545
|
mousedown(o) {
|
|
10545
|
-
if (!
|
|
10546
|
+
if (!He(o))
|
|
10546
10547
|
return;
|
|
10547
10548
|
const t = Oe(o), e = this, i = (r) => {
|
|
10548
10549
|
const n = r.clientX, a = r.clientY;
|
|
10549
|
-
Zo(e.info, n, a) && (e.info.state = e.info.started ? r.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" &&
|
|
10550
|
+
Zo(e.info, n, a) && (e.info.state = e.info.started ? r.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" && Yt("tap"), e.info.addMove({ x: n, y: a }), He(r) || (e.info.state = "end", Xe(e.info)), t && di(e.info, t, r), e.info.started = !0);
|
|
10550
10551
|
}, s = (r) => {
|
|
10551
|
-
e.info.started && i(r),
|
|
10552
|
+
e.info.started && i(r), Xe(e.info);
|
|
10552
10553
|
};
|
|
10553
10554
|
br(this.info, i, s), this.info.x = o.clientX, this.info.y = o.clientY;
|
|
10554
10555
|
},
|
|
@@ -10568,7 +10569,7 @@ to({
|
|
|
10568
10569
|
*/
|
|
10569
10570
|
touchmove(o) {
|
|
10570
10571
|
const t = Oe(o), e = o.changedTouches[0], i = e.clientX, s = e.clientY;
|
|
10571
|
-
Zo(this.info, i, s) && (this.info.state === "start" &&
|
|
10572
|
+
Zo(this.info, i, s) && (this.info.state === "start" && Yt("tap"), this.info.addMove({ x: i, y: s }), di(this.info, t, e), this.info.state = "track", this.info.started = !0);
|
|
10572
10573
|
},
|
|
10573
10574
|
/**
|
|
10574
10575
|
* @this {GestureRecognizer}
|
|
@@ -10577,7 +10578,7 @@ to({
|
|
|
10577
10578
|
*/
|
|
10578
10579
|
touchend(o) {
|
|
10579
10580
|
const t = Oe(o), e = o.changedTouches[0];
|
|
10580
|
-
this.info.started && (this.info.state = "end", this.info.addMove({ x: e.clientX, y: e.clientY }),
|
|
10581
|
+
this.info.started && (this.info.state = "end", this.info.addMove({ x: e.clientX, y: e.clientY }), di(this.info, t, e));
|
|
10581
10582
|
}
|
|
10582
10583
|
});
|
|
10583
10584
|
function Zo(o, t, e) {
|
|
@@ -10588,7 +10589,7 @@ function Zo(o, t, e) {
|
|
|
10588
10589
|
const i = Math.abs(o.x - t), s = Math.abs(o.y - e);
|
|
10589
10590
|
return i >= Xo || s >= Xo;
|
|
10590
10591
|
}
|
|
10591
|
-
function
|
|
10592
|
+
function di(o, t, e) {
|
|
10592
10593
|
if (!t)
|
|
10593
10594
|
return;
|
|
10594
10595
|
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;
|
|
@@ -10633,7 +10634,7 @@ to({
|
|
|
10633
10634
|
* @return {void}
|
|
10634
10635
|
*/
|
|
10635
10636
|
mousedown(o) {
|
|
10636
|
-
|
|
10637
|
+
He(o) && (this.info.x = o.clientX, this.info.y = o.clientY);
|
|
10637
10638
|
},
|
|
10638
10639
|
/**
|
|
10639
10640
|
* @this {GestureRecognizer}
|
|
@@ -10641,7 +10642,7 @@ to({
|
|
|
10641
10642
|
* @return {void}
|
|
10642
10643
|
*/
|
|
10643
10644
|
click(o) {
|
|
10644
|
-
|
|
10645
|
+
He(o) && Qo(this.info, o);
|
|
10645
10646
|
},
|
|
10646
10647
|
/**
|
|
10647
10648
|
* @this {GestureRecognizer}
|
|
@@ -10723,7 +10724,7 @@ const Er = se(
|
|
|
10723
10724
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
10724
10725
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10725
10726
|
*/
|
|
10726
|
-
const
|
|
10727
|
+
const Gt = se(
|
|
10727
10728
|
(o) => class extends o {
|
|
10728
10729
|
/** @protected */
|
|
10729
10730
|
ready() {
|
|
@@ -10785,7 +10786,7 @@ const Jt = se(
|
|
|
10785
10786
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
10786
10787
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10787
10788
|
*/
|
|
10788
|
-
const Rc = (o) => class extends Er(
|
|
10789
|
+
const Rc = (o) => class extends Er(Gt(o)) {
|
|
10789
10790
|
/**
|
|
10790
10791
|
* An array of activation keys.
|
|
10791
10792
|
*
|
|
@@ -10855,7 +10856,7 @@ const oo = se(
|
|
|
10855
10856
|
* @return {boolean}
|
|
10856
10857
|
*/
|
|
10857
10858
|
get _keyboardActive() {
|
|
10858
|
-
return
|
|
10859
|
+
return Ji();
|
|
10859
10860
|
}
|
|
10860
10861
|
/** @protected */
|
|
10861
10862
|
ready() {
|
|
@@ -11012,7 +11013,7 @@ const Hc = (o) => class extends Rc(Sr(oo(o))) {
|
|
|
11012
11013
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11013
11014
|
*/
|
|
11014
11015
|
Q("vaadin-button", xc, { moduleId: "vaadin-button-styles" });
|
|
11015
|
-
class Bc extends Hc(_r(
|
|
11016
|
+
class Bc extends Hc(_r(Ye(ot(Ie)))) {
|
|
11016
11017
|
static get is() {
|
|
11017
11018
|
return "vaadin-button";
|
|
11018
11019
|
}
|
|
@@ -11038,11 +11039,11 @@ function Yc(o) {
|
|
|
11038
11039
|
const r = i.getTime() - s.getTime(), n = Math.round(r / (24 * 3600 * 1e3));
|
|
11039
11040
|
return Math.floor(n / 7 + 1);
|
|
11040
11041
|
}
|
|
11041
|
-
function
|
|
11042
|
+
function Ni(o) {
|
|
11042
11043
|
const t = new Date(o);
|
|
11043
11044
|
return t.setHours(0, 0, 0, 0), t;
|
|
11044
11045
|
}
|
|
11045
|
-
function Pe(o, t, e =
|
|
11046
|
+
function Pe(o, t, e = Ni) {
|
|
11046
11047
|
return o instanceof Date && t instanceof Date && e(o).getTime() === e(t).getTime();
|
|
11047
11048
|
}
|
|
11048
11049
|
function so(o) {
|
|
@@ -11052,7 +11053,7 @@ function so(o) {
|
|
|
11052
11053
|
year: o.getFullYear()
|
|
11053
11054
|
};
|
|
11054
11055
|
}
|
|
11055
|
-
function
|
|
11056
|
+
function tt(o, t, e, i) {
|
|
11056
11057
|
let s = !1;
|
|
11057
11058
|
if (typeof i == "function" && o) {
|
|
11058
11059
|
const r = so(o);
|
|
@@ -11082,22 +11083,22 @@ function jc(o, t, e = 0, i = 1) {
|
|
|
11082
11083
|
let s = t + Math.floor(o.getFullYear() / 100) * 100;
|
|
11083
11084
|
return o < new Date(s - 50, e, i) ? s -= 100 : o > new Date(s + 50, e, i) && (s += 100), s;
|
|
11084
11085
|
}
|
|
11085
|
-
function
|
|
11086
|
+
function ct(o) {
|
|
11086
11087
|
const t = /^([-+]\d{1}|\d{2,4}|[-+]\d{6})-(\d{1,2})-(\d{1,2})$/u.exec(o);
|
|
11087
11088
|
if (!t)
|
|
11088
11089
|
return;
|
|
11089
11090
|
const e = new Date(0, 0);
|
|
11090
11091
|
return e.setFullYear(parseInt(t[1], 10)), e.setMonth(parseInt(t[2], 10) - 1), e.setDate(parseInt(t[3], 10)), e;
|
|
11091
11092
|
}
|
|
11092
|
-
function
|
|
11093
|
+
function Uc(o) {
|
|
11093
11094
|
const t = (l, c = "00") => (c + l).substr((c + l).length - c.length);
|
|
11094
11095
|
let e = "", i = "0000", s = o.year;
|
|
11095
11096
|
s < 0 ? (s = -s, e = "-", i = "000000") : o.year >= 1e4 && (e = "+", i = "000000");
|
|
11096
11097
|
const r = e + t(s, i), n = t(o.month + 1), a = t(o.day);
|
|
11097
11098
|
return [r, n, a].join("-");
|
|
11098
11099
|
}
|
|
11099
|
-
function
|
|
11100
|
-
return o instanceof Date ?
|
|
11100
|
+
function Vc(o) {
|
|
11101
|
+
return o instanceof Date ? Uc({
|
|
11101
11102
|
year: o.getFullYear(),
|
|
11102
11103
|
month: o.getMonth(),
|
|
11103
11104
|
day: o.getDate()
|
|
@@ -11112,7 +11113,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11112
11113
|
Code distributed by Google as part of the polymer project is also
|
|
11113
11114
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11114
11115
|
*/
|
|
11115
|
-
class
|
|
11116
|
+
class jt {
|
|
11116
11117
|
constructor() {
|
|
11117
11118
|
this._asyncModule = null, this._callback = null, this._timer = null;
|
|
11118
11119
|
}
|
|
@@ -11127,7 +11128,7 @@ class Vt {
|
|
|
11127
11128
|
*/
|
|
11128
11129
|
setConfig(t, e) {
|
|
11129
11130
|
this._asyncModule = t, this._callback = e, this._timer = this._asyncModule.run(() => {
|
|
11130
|
-
this._timer = null,
|
|
11131
|
+
this._timer = null, Et.delete(this), this._callback();
|
|
11131
11132
|
});
|
|
11132
11133
|
}
|
|
11133
11134
|
/**
|
|
@@ -11136,7 +11137,7 @@ class Vt {
|
|
|
11136
11137
|
* @return {void}
|
|
11137
11138
|
*/
|
|
11138
11139
|
cancel() {
|
|
11139
|
-
this.isActive() && (this._cancelAsync(),
|
|
11140
|
+
this.isActive() && (this._cancelAsync(), Et.delete(this));
|
|
11140
11141
|
}
|
|
11141
11142
|
/**
|
|
11142
11143
|
* Cancels a debouncer's async callback.
|
|
@@ -11200,15 +11201,15 @@ class Vt {
|
|
|
11200
11201
|
* @return {!Debouncer} Returns a debouncer object.
|
|
11201
11202
|
*/
|
|
11202
11203
|
static debounce(t, e, i) {
|
|
11203
|
-
return t instanceof
|
|
11204
|
+
return t instanceof jt ? t._cancelAsync() : t = new jt(), t.setConfig(e, i), t;
|
|
11204
11205
|
}
|
|
11205
11206
|
}
|
|
11206
|
-
let
|
|
11207
|
+
let Et = /* @__PURE__ */ new Set();
|
|
11207
11208
|
const Wc = function(o) {
|
|
11208
|
-
|
|
11209
|
+
Et.add(o);
|
|
11209
11210
|
}, qc = function() {
|
|
11210
|
-
const o = !!
|
|
11211
|
-
return
|
|
11211
|
+
const o = !!Et.size;
|
|
11212
|
+
return Et.forEach((t) => {
|
|
11212
11213
|
try {
|
|
11213
11214
|
t.flush();
|
|
11214
11215
|
} catch (e) {
|
|
@@ -11388,7 +11389,7 @@ class kr extends HTMLElement {
|
|
|
11388
11389
|
const t = this.$.scroller.scrollTop;
|
|
11389
11390
|
(t < this._bufferHeight || t > this._initialScroll * 2 - this._bufferHeight) && (this._initialIndex = ~~this.position, this._reset());
|
|
11390
11391
|
const e = this.itemHeight + this.bufferOffset, i = t > this._buffers[1].translateY + e, s = t < this._buffers[0].translateY + e;
|
|
11391
|
-
(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 =
|
|
11392
|
+
(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 = et.debounce(this._debouncerScrollFinish, Bt.after(200), () => {
|
|
11392
11393
|
const r = this.$.scroller.getBoundingClientRect();
|
|
11393
11394
|
!this._isVisible(this._buffers[0], r) && !this._isVisible(this._buffers[1], r) && (this.position = this.position);
|
|
11394
11395
|
});
|
|
@@ -11397,7 +11398,7 @@ class kr extends HTMLElement {
|
|
|
11397
11398
|
_reset() {
|
|
11398
11399
|
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) => {
|
|
11399
11400
|
t.style.transform = `translate3d(0, ${t.translateY}px, 0)`;
|
|
11400
|
-
}), this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(!0), this._debouncerUpdateClones =
|
|
11401
|
+
}), this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(!0), this._debouncerUpdateClones = et.debounce(this._debouncerUpdateClones, Bt.after(200), () => {
|
|
11401
11402
|
this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones();
|
|
11402
11403
|
}), this._scrollDisabled = !1;
|
|
11403
11404
|
}
|
|
@@ -11590,7 +11591,7 @@ const Jc = (o) => class extends o {
|
|
|
11590
11591
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11591
11592
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11592
11593
|
*/
|
|
11593
|
-
class Xc extends
|
|
11594
|
+
class Xc extends Ye(Jc(Ie)) {
|
|
11594
11595
|
static get is() {
|
|
11595
11596
|
return "vaadin-date-picker-year";
|
|
11596
11597
|
}
|
|
@@ -11694,21 +11695,21 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11694
11695
|
Code distributed by Google as part of the polymer project is also
|
|
11695
11696
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11696
11697
|
*/
|
|
11697
|
-
let
|
|
11698
|
-
function
|
|
11699
|
-
return
|
|
11698
|
+
let zi = null;
|
|
11699
|
+
function Li() {
|
|
11700
|
+
return zi;
|
|
11700
11701
|
}
|
|
11701
|
-
|
|
11702
|
+
Li.prototype = Object.create(HTMLTemplateElement.prototype, {
|
|
11702
11703
|
constructor: {
|
|
11703
|
-
value:
|
|
11704
|
+
value: Li,
|
|
11704
11705
|
writable: !0
|
|
11705
11706
|
}
|
|
11706
11707
|
});
|
|
11707
|
-
const Mr =
|
|
11708
|
+
const Mr = Ki(Li), Qc = ao(Mr);
|
|
11708
11709
|
function eu(o, t) {
|
|
11709
|
-
|
|
11710
|
+
zi = o, Object.setPrototypeOf(o, t.prototype), new t(), zi = null;
|
|
11710
11711
|
}
|
|
11711
|
-
const tu =
|
|
11712
|
+
const tu = Ki(class {
|
|
11712
11713
|
});
|
|
11713
11714
|
function iu(o, t) {
|
|
11714
11715
|
for (let e = 0; e < t.length; e++) {
|
|
@@ -11862,7 +11863,7 @@ function es(o) {
|
|
|
11862
11863
|
}
|
|
11863
11864
|
function su(o, t, e) {
|
|
11864
11865
|
let i = e.mutableData ? ou : Fe;
|
|
11865
|
-
|
|
11866
|
+
$i.mixin && (i = $i.mixin(i));
|
|
11866
11867
|
let s = class extends i {
|
|
11867
11868
|
};
|
|
11868
11869
|
return s.prototype.__templatizeOptions = e, s.prototype._bindTemplate(o), au(s, o, t, e), s;
|
|
@@ -11949,8 +11950,8 @@ function cu() {
|
|
|
11949
11950
|
t.__dataHost._setPendingPropertyOrPath("_host_" + e, i[e], !0, !0);
|
|
11950
11951
|
};
|
|
11951
11952
|
}
|
|
11952
|
-
function
|
|
11953
|
-
if (
|
|
11953
|
+
function $i(o, t, e) {
|
|
11954
|
+
if (Rt && !es(o))
|
|
11954
11955
|
throw new Error("strictTemplatePolicy: template owner not trusted");
|
|
11955
11956
|
if (e = /** @type {!TemplatizeOptions} */
|
|
11956
11957
|
e || {}, o.__templatizeOwner)
|
|
@@ -12231,7 +12232,7 @@ class is extends pu {
|
|
|
12231
12232
|
return s.observe(this, { childList: !0 }), !1;
|
|
12232
12233
|
}
|
|
12233
12234
|
let i = {};
|
|
12234
|
-
i[this.as] = !0, i[this.indexAs] = !0, i[this.itemsIndexAs] = !0, this.__ctor =
|
|
12235
|
+
i[this.as] = !0, i[this.indexAs] = !0, i[this.itemsIndexAs] = !0, this.__ctor = $i(e, this, {
|
|
12235
12236
|
mutableData: this.mutableData,
|
|
12236
12237
|
parentModel: !0,
|
|
12237
12238
|
instanceProps: i,
|
|
@@ -12255,7 +12256,7 @@ class is extends pu {
|
|
|
12255
12256
|
if (ga(this.as, r)) {
|
|
12256
12257
|
let a = s[this.itemsIndexAs];
|
|
12257
12258
|
r == this.as && (this.items[a] = n);
|
|
12258
|
-
let l =
|
|
12259
|
+
let l = bt(this.as, `${JSCompiler_renameProperty("items", this)}.${a}`, r);
|
|
12259
12260
|
this.notifyPath(l, n);
|
|
12260
12261
|
}
|
|
12261
12262
|
}
|
|
@@ -12306,7 +12307,7 @@ class is extends pu {
|
|
|
12306
12307
|
* @param {number=} delay Delay in ms to debounce by.
|
|
12307
12308
|
*/
|
|
12308
12309
|
__debounceRender(t, e = 0) {
|
|
12309
|
-
this.__renderDebouncer =
|
|
12310
|
+
this.__renderDebouncer = jt.debounce(
|
|
12310
12311
|
this.__renderDebouncer,
|
|
12311
12312
|
e > 0 ? Ea.after(e) : Ws,
|
|
12312
12313
|
t.bind(this)
|
|
@@ -12585,7 +12586,7 @@ const fu = (o) => class extends oo(o) {
|
|
|
12585
12586
|
const r = new Date(0, 0);
|
|
12586
12587
|
r.setFullYear(e.getFullYear()), r.setMonth(e.getMonth()), r.setDate(1);
|
|
12587
12588
|
const n = new Date(0, 0);
|
|
12588
|
-
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 : !
|
|
12589
|
+
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 : !tt(r, i, s) && !tt(n, i, s);
|
|
12589
12590
|
}
|
|
12590
12591
|
/** @protected */
|
|
12591
12592
|
_getTitle(e, i) {
|
|
@@ -12742,7 +12743,7 @@ const mu = R`
|
|
|
12742
12743
|
Q("vaadin-month-calendar", mu, {
|
|
12743
12744
|
moduleId: "vaadin-month-calendar-styles"
|
|
12744
12745
|
});
|
|
12745
|
-
class _u extends fu(
|
|
12746
|
+
class _u extends fu(Ye(Ie)) {
|
|
12746
12747
|
static get template() {
|
|
12747
12748
|
return Ue`
|
|
12748
12749
|
<div part="month-header" id="month-header" aria-hidden="true">[[_getTitle(month, i18n)]]</div>
|
|
@@ -12820,7 +12821,7 @@ class _u extends fu(je(Ie)) {
|
|
|
12820
12821
|
/** @private */
|
|
12821
12822
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
12822
12823
|
__getDatePart(t, e, i, s, r, n) {
|
|
12823
|
-
const a = ["date"], l = t >
|
|
12824
|
+
const a = ["date"], l = t > Ni(/* @__PURE__ */ new Date()), c = t < Ni(/* @__PURE__ */ new Date());
|
|
12824
12825
|
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"), c && a.push("past"), l && a.push("future"), a.join(" ");
|
|
12825
12826
|
}
|
|
12826
12827
|
/** @private */
|
|
@@ -12838,7 +12839,7 @@ class _u extends fu(je(Ie)) {
|
|
|
12838
12839
|
}
|
|
12839
12840
|
/** @private */
|
|
12840
12841
|
__isDayDisabled(t, e, i, s) {
|
|
12841
|
-
return !
|
|
12842
|
+
return !tt(t, e, i, s);
|
|
12842
12843
|
}
|
|
12843
12844
|
/** @private */
|
|
12844
12845
|
__getDayAriaDisabled(t, e, i, s) {
|
|
@@ -13207,7 +13208,7 @@ const gu = (o) => class extends o {
|
|
|
13207
13208
|
}
|
|
13208
13209
|
/** @private */
|
|
13209
13210
|
_doIgnoreTaps() {
|
|
13210
|
-
this._ignoreTaps = !0, this._debouncer =
|
|
13211
|
+
this._ignoreTaps = !0, this._debouncer = et.debounce(this._debouncer, Bt.after(300), () => {
|
|
13211
13212
|
this._ignoreTaps = !1;
|
|
13212
13213
|
});
|
|
13213
13214
|
}
|
|
@@ -13430,13 +13431,13 @@ const gu = (o) => class extends o {
|
|
|
13430
13431
|
}
|
|
13431
13432
|
}
|
|
13432
13433
|
focusDate(e, i) {
|
|
13433
|
-
return
|
|
13434
|
+
return st(this, null, function* () {
|
|
13434
13435
|
const s = e || this.selectedDate || this.initialPosition || /* @__PURE__ */ new Date();
|
|
13435
13436
|
this.focusedDate = s, i || (this._focusedMonthDate = s.getDate()), yield this.focusDateElement(!1);
|
|
13436
13437
|
});
|
|
13437
13438
|
}
|
|
13438
13439
|
focusDateElement(e = !0) {
|
|
13439
|
-
return
|
|
13440
|
+
return st(this, null, function* () {
|
|
13440
13441
|
this.__pendingDateFocus = this.focusedDate, this.calendars.length || (yield new Promise((i) => {
|
|
13441
13442
|
cr(this, () => {
|
|
13442
13443
|
ro(), i();
|
|
@@ -13474,7 +13475,7 @@ const gu = (o) => class extends o {
|
|
|
13474
13475
|
}
|
|
13475
13476
|
/** @private */
|
|
13476
13477
|
_dateAllowed(e, i = this.minDate, s = this.maxDate, r = this.isDateDisabled) {
|
|
13477
|
-
return
|
|
13478
|
+
return tt(e, i, s, r);
|
|
13478
13479
|
}
|
|
13479
13480
|
/** @private */
|
|
13480
13481
|
_isTodayAllowed(e, i, s) {
|
|
@@ -13567,7 +13568,7 @@ Q("vaadin-date-picker-overlay-content", vu, {
|
|
|
13567
13568
|
moduleId: "vaadin-date-picker-overlay-content-styles"
|
|
13568
13569
|
});
|
|
13569
13570
|
class yu extends gu(
|
|
13570
|
-
|
|
13571
|
+
ot(Ye(Wt(Ie)))
|
|
13571
13572
|
) {
|
|
13572
13573
|
static get template() {
|
|
13573
13574
|
return Ue`
|
|
@@ -13763,9 +13764,9 @@ const Ir = se(
|
|
|
13763
13764
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13764
13765
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13765
13766
|
*/
|
|
13766
|
-
const
|
|
13767
|
+
const hi = /* @__PURE__ */ new WeakMap();
|
|
13767
13768
|
function bu(o) {
|
|
13768
|
-
return
|
|
13769
|
+
return hi.has(o) || hi.set(o, /* @__PURE__ */ new Set()), hi.get(o);
|
|
13769
13770
|
}
|
|
13770
13771
|
function xu(o, t) {
|
|
13771
13772
|
const e = document.createElement("style");
|
|
@@ -14002,7 +14003,7 @@ const Fr = se(
|
|
|
14002
14003
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14003
14004
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14004
14005
|
*/
|
|
14005
|
-
const Eu = (o) => class extends Fr(
|
|
14006
|
+
const Eu = (o) => class extends Fr(Gt(o)) {
|
|
14006
14007
|
static get properties() {
|
|
14007
14008
|
return {
|
|
14008
14009
|
/**
|
|
@@ -14077,9 +14078,9 @@ const Eu = (o) => class extends Fr(Jt(o)) {
|
|
|
14077
14078
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
14078
14079
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14079
14080
|
*/
|
|
14080
|
-
const
|
|
14081
|
+
const pi = /* @__PURE__ */ new Map();
|
|
14081
14082
|
function lo(o) {
|
|
14082
|
-
return
|
|
14083
|
+
return pi.has(o) || pi.set(o, /* @__PURE__ */ new WeakMap()), pi.get(o);
|
|
14083
14084
|
}
|
|
14084
14085
|
function Nr(o, t) {
|
|
14085
14086
|
o && o.removeAttribute(t);
|
|
@@ -14090,16 +14091,16 @@ function zr(o, t) {
|
|
|
14090
14091
|
const e = lo(t);
|
|
14091
14092
|
if (e.has(o))
|
|
14092
14093
|
return;
|
|
14093
|
-
const i =
|
|
14094
|
+
const i = Xi(o.getAttribute(t));
|
|
14094
14095
|
e.set(o, new Set(i));
|
|
14095
14096
|
}
|
|
14096
14097
|
function Su(o, t) {
|
|
14097
14098
|
if (!o || !t)
|
|
14098
14099
|
return;
|
|
14099
14100
|
const e = lo(t), i = e.get(o);
|
|
14100
|
-
!i || i.size === 0 ? o.removeAttribute(t) : pr(o, t,
|
|
14101
|
+
!i || i.size === 0 ? o.removeAttribute(t) : pr(o, t, Kt(i)), e.delete(o);
|
|
14101
14102
|
}
|
|
14102
|
-
function
|
|
14103
|
+
function fi(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
14103
14104
|
if (!o || !t)
|
|
14104
14105
|
return;
|
|
14105
14106
|
const { newId: i, oldId: s, fromUser: r } = e, n = lo(t), a = n.get(o);
|
|
@@ -14108,7 +14109,7 @@ function mi(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
|
14108
14109
|
return;
|
|
14109
14110
|
}
|
|
14110
14111
|
r && (a ? i || n.delete(o) : zr(o, t), Nr(o, t)), Ql(o, t, s);
|
|
14111
|
-
const l = i ||
|
|
14112
|
+
const l = i || Kt(a);
|
|
14112
14113
|
l && pr(o, t, l);
|
|
14113
14114
|
}
|
|
14114
14115
|
function Au(o, t) {
|
|
@@ -14201,7 +14202,7 @@ class Cu {
|
|
|
14201
14202
|
* @private
|
|
14202
14203
|
*/
|
|
14203
14204
|
__setLabelIdToAriaAttribute(t, e, i) {
|
|
14204
|
-
|
|
14205
|
+
fi(this.__target, "aria-labelledby", { newId: t, oldId: e, fromUser: i });
|
|
14205
14206
|
}
|
|
14206
14207
|
/**
|
|
14207
14208
|
* @param {string | null | undefined} errorId
|
|
@@ -14209,7 +14210,7 @@ class Cu {
|
|
|
14209
14210
|
* @private
|
|
14210
14211
|
*/
|
|
14211
14212
|
__setErrorIdToAriaAttribute(t, e) {
|
|
14212
|
-
|
|
14213
|
+
fi(this.__target, "aria-describedby", { newId: t, oldId: e, fromUser: !1 });
|
|
14213
14214
|
}
|
|
14214
14215
|
/**
|
|
14215
14216
|
* @param {string | null | undefined} helperId
|
|
@@ -14217,7 +14218,7 @@ class Cu {
|
|
|
14217
14218
|
* @private
|
|
14218
14219
|
*/
|
|
14219
14220
|
__setHelperIdToAriaAttribute(t, e) {
|
|
14220
|
-
|
|
14221
|
+
fi(this.__target, "aria-describedby", { newId: t, oldId: e, fromUser: !1 });
|
|
14221
14222
|
}
|
|
14222
14223
|
/**
|
|
14223
14224
|
* @param {boolean} required
|
|
@@ -14237,12 +14238,12 @@ we.style.position = "fixed";
|
|
|
14237
14238
|
we.style.clip = "rect(0px, 0px, 0px, 0px)";
|
|
14238
14239
|
we.setAttribute("aria-live", "polite");
|
|
14239
14240
|
document.body.appendChild(we);
|
|
14240
|
-
let
|
|
14241
|
+
let Ot;
|
|
14241
14242
|
function Du(o, t = {}) {
|
|
14242
14243
|
const e = t.mode || "polite", i = t.timeout === void 0 ? 150 : t.timeout;
|
|
14243
|
-
e === "alert" ? (we.removeAttribute("aria-live"), we.removeAttribute("role"),
|
|
14244
|
+
e === "alert" ? (we.removeAttribute("aria-live"), we.removeAttribute("role"), Ot = et.debounce(Ot, mc, () => {
|
|
14244
14245
|
we.setAttribute("role", "alert");
|
|
14245
|
-
})) : (
|
|
14246
|
+
})) : (Ot && Ot.cancel(), we.removeAttribute("role"), we.setAttribute("aria-live", e)), we.textContent = "", setTimeout(() => {
|
|
14246
14247
|
we.textContent = o;
|
|
14247
14248
|
}, i);
|
|
14248
14249
|
}
|
|
@@ -14253,7 +14254,7 @@ function Du(o, t = {}) {
|
|
|
14253
14254
|
*/
|
|
14254
14255
|
class co extends $e {
|
|
14255
14256
|
constructor(t, e, i, s = {}) {
|
|
14256
|
-
super(t, e, i,
|
|
14257
|
+
super(t, e, i, Dt(Ct({}, s), { useUniqueId: !0 }));
|
|
14257
14258
|
}
|
|
14258
14259
|
/**
|
|
14259
14260
|
* Override to initialize the newly added custom node.
|
|
@@ -14557,7 +14558,7 @@ class Tu extends co {
|
|
|
14557
14558
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14558
14559
|
*/
|
|
14559
14560
|
const Mu = se(
|
|
14560
|
-
(o) => class extends
|
|
14561
|
+
(o) => class extends ot(o) {
|
|
14561
14562
|
static get properties() {
|
|
14562
14563
|
return {
|
|
14563
14564
|
/**
|
|
@@ -14671,7 +14672,7 @@ const Lr = se(
|
|
|
14671
14672
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14672
14673
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14673
14674
|
*/
|
|
14674
|
-
const Ou = (o) => class extends Lr(Mu(
|
|
14675
|
+
const Ou = (o) => class extends Lr(Mu(ot(o))) {
|
|
14675
14676
|
static get properties() {
|
|
14676
14677
|
return {
|
|
14677
14678
|
/**
|
|
@@ -14979,7 +14980,7 @@ const $r = se(
|
|
|
14979
14980
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14980
14981
|
*/
|
|
14981
14982
|
const Fu = (o) => class extends wu(
|
|
14982
|
-
Ir($r(Ou(Eu(
|
|
14983
|
+
Ir($r(Ou(Eu(Gt(o)))))
|
|
14983
14984
|
) {
|
|
14984
14985
|
static get properties() {
|
|
14985
14986
|
return {
|
|
@@ -15111,7 +15112,7 @@ const Fu = (o) => class extends wu(
|
|
|
15111
15112
|
}
|
|
15112
15113
|
/** @protected */
|
|
15113
15114
|
_markInputPrevented() {
|
|
15114
|
-
this.setAttribute("input-prevented", ""), this._preventInputDebouncer =
|
|
15115
|
+
this.setAttribute("input-prevented", ""), this._preventInputDebouncer = et.debounce(this._preventInputDebouncer, Bt.after(200), () => {
|
|
15115
15116
|
this.removeAttribute("input-prevented");
|
|
15116
15117
|
});
|
|
15117
15118
|
}
|
|
@@ -15361,7 +15362,7 @@ class Yu {
|
|
|
15361
15362
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15362
15363
|
*/
|
|
15363
15364
|
const ju = (o) => class extends Bu(
|
|
15364
|
-
|
|
15365
|
+
ot(Ir($r(Gt(o))))
|
|
15365
15366
|
) {
|
|
15366
15367
|
static get properties() {
|
|
15367
15368
|
return {
|
|
@@ -15565,7 +15566,7 @@ const ju = (o) => class extends Bu(
|
|
|
15565
15566
|
let r, n = s.getMonth(), a = s.getFullYear();
|
|
15566
15567
|
if (i.length === 3) {
|
|
15567
15568
|
if (n = parseInt(i[0]) - 1, r = parseInt(i[1]), a = parseInt(i[2]), i[2].length < 3 && a >= 0) {
|
|
15568
|
-
const l = this.referenceDate ?
|
|
15569
|
+
const l = this.referenceDate ? ct(this.referenceDate) : /* @__PURE__ */ new Date();
|
|
15569
15570
|
a = jc(l, a, n, r);
|
|
15570
15571
|
}
|
|
15571
15572
|
} else
|
|
@@ -15728,7 +15729,7 @@ const ju = (o) => class extends Bu(
|
|
|
15728
15729
|
* @protected
|
|
15729
15730
|
*/
|
|
15730
15731
|
_onFocus(e) {
|
|
15731
|
-
super._onFocus(e), this._noInput && !
|
|
15732
|
+
super._onFocus(e), this._noInput && !Ji() && e.target.blur();
|
|
15732
15733
|
}
|
|
15733
15734
|
/**
|
|
15734
15735
|
* Override an event listener from `DelegateFocusMixin`
|
|
@@ -15790,7 +15791,7 @@ const ju = (o) => class extends Bu(
|
|
|
15790
15791
|
if (!this.i18n.parseDate)
|
|
15791
15792
|
return;
|
|
15792
15793
|
let i = this.i18n.parseDate(e);
|
|
15793
|
-
if (i && (i =
|
|
15794
|
+
if (i && (i = ct(`${i.year}-${i.month + 1}-${i.day}`)), i && !isNaN(i.getTime()))
|
|
15794
15795
|
return i;
|
|
15795
15796
|
}
|
|
15796
15797
|
/**
|
|
@@ -15809,7 +15810,7 @@ const ju = (o) => class extends Bu(
|
|
|
15809
15810
|
* @return {boolean} True if the value is valid
|
|
15810
15811
|
*/
|
|
15811
15812
|
checkValidity() {
|
|
15812
|
-
const e = this._inputElementValue, i = !e || !!this._selectedDate && e === this.__formatDate(this._selectedDate), s = !this._selectedDate ||
|
|
15813
|
+
const e = this._inputElementValue, i = !e || !!this._selectedDate && e === this.__formatDate(this._selectedDate), s = !this._selectedDate || tt(this._selectedDate, this._minDate, this._maxDate, this.isDateDisabled);
|
|
15813
15814
|
let r = !0;
|
|
15814
15815
|
return this.inputElement && (this.inputElement.checkValidity ? r = this.inputElement.checkValidity() : this.inputElement.validate && (r = this.inputElement.validate())), i && s && r;
|
|
15815
15816
|
}
|
|
@@ -15901,7 +15902,7 @@ const ju = (o) => class extends Bu(
|
|
|
15901
15902
|
}
|
|
15902
15903
|
/** @private */
|
|
15903
15904
|
_formatISO(e) {
|
|
15904
|
-
return
|
|
15905
|
+
return Vc(e);
|
|
15905
15906
|
}
|
|
15906
15907
|
/** @protected */
|
|
15907
15908
|
_inputElementChanged(e) {
|
|
@@ -15932,7 +15933,7 @@ const ju = (o) => class extends Bu(
|
|
|
15932
15933
|
* @override
|
|
15933
15934
|
*/
|
|
15934
15935
|
_valueChanged(e, i) {
|
|
15935
|
-
const s =
|
|
15936
|
+
const s = ct(e);
|
|
15936
15937
|
if (e && !s) {
|
|
15937
15938
|
this.value = i;
|
|
15938
15939
|
return;
|
|
@@ -15971,8 +15972,8 @@ const ju = (o) => class extends Bu(
|
|
|
15971
15972
|
}
|
|
15972
15973
|
/** @private */
|
|
15973
15974
|
_getInitialPosition() {
|
|
15974
|
-
const e =
|
|
15975
|
-
return e ||
|
|
15975
|
+
const e = ct(this.initialPosition), i = this._selectedDate || this._overlayContent.initialPosition || e || /* @__PURE__ */ new Date();
|
|
15976
|
+
return e || tt(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ? Ar(i, [this._minDate, this._maxDate]) : /* @__PURE__ */ new Date();
|
|
15976
15977
|
}
|
|
15977
15978
|
/**
|
|
15978
15979
|
* Tries to parse the input element's value as a date. If the input value
|
|
@@ -16110,7 +16111,7 @@ const ju = (o) => class extends Bu(
|
|
|
16110
16111
|
}
|
|
16111
16112
|
/** @private */
|
|
16112
16113
|
__computeMinOrMaxDate(e) {
|
|
16113
|
-
return
|
|
16114
|
+
return ct(e);
|
|
16114
16115
|
}
|
|
16115
16116
|
/**
|
|
16116
16117
|
* Fired when the user commits a value change.
|
|
@@ -16133,7 +16134,7 @@ const ju = (o) => class extends Bu(
|
|
|
16133
16134
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
16134
16135
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
16135
16136
|
*/
|
|
16136
|
-
const
|
|
16137
|
+
const Uu = R`
|
|
16137
16138
|
:host([opened]) {
|
|
16138
16139
|
pointer-events: auto;
|
|
16139
16140
|
}
|
|
@@ -16152,8 +16153,8 @@ const Vu = R`
|
|
|
16152
16153
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
16153
16154
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
16154
16155
|
*/
|
|
16155
|
-
Q("vaadin-date-picker", [Hu,
|
|
16156
|
-
class
|
|
16156
|
+
Q("vaadin-date-picker", [Hu, Uu], { moduleId: "vaadin-date-picker-styles" });
|
|
16157
|
+
class Vu extends ju(Fu(Ye(_r(Ie)))) {
|
|
16157
16158
|
static get is() {
|
|
16158
16159
|
return "vaadin-date-picker";
|
|
16159
16160
|
}
|
|
@@ -16241,7 +16242,7 @@ class Uu extends ju(Fu(je(_r(Ie)))) {
|
|
|
16241
16242
|
super._openedChanged(t), this.$.overlay.positionTarget = this.shadowRoot.querySelector('[part="input-field"]'), this.$.overlay.noVerticalOverlap = !0;
|
|
16242
16243
|
}
|
|
16243
16244
|
}
|
|
16244
|
-
Se(
|
|
16245
|
+
Se(Vu);
|
|
16245
16246
|
if (typeof window != "undefined") {
|
|
16246
16247
|
let o = function(t) {
|
|
16247
16248
|
return function(...e) {
|
|
@@ -16254,7 +16255,7 @@ if (typeof window != "undefined") {
|
|
|
16254
16255
|
}
|
|
16255
16256
|
};
|
|
16256
16257
|
};
|
|
16257
|
-
customElements.define = o(customElements.define), import("./PlayerAccountModal-
|
|
16258
|
+
customElements.define = o(customElements.define), import("./PlayerAccountModal-1yio55uP.js").then(({ default: t }) => {
|
|
16258
16259
|
!customElements.get("player-account-modal") && customElements.define("player-account-modal", t.element);
|
|
16259
16260
|
});
|
|
16260
16261
|
}
|
|
@@ -16270,7 +16271,7 @@ if (typeof window != "undefined") {
|
|
|
16270
16271
|
}
|
|
16271
16272
|
};
|
|
16272
16273
|
};
|
|
16273
|
-
customElements.define = o(customElements.define), import("./PlayerAccountGeneralConfirmationModal-
|
|
16274
|
+
customElements.define = o(customElements.define), import("./PlayerAccountGeneralConfirmationModal-DeKth9rU.js").then((t) => t.U).then(
|
|
16274
16275
|
({ default: t }) => {
|
|
16275
16276
|
!customElements.get("player-account-general-confirmation-modal") && customElements.define(
|
|
16276
16277
|
"player-account-general-confirmation-modal",
|
|
@@ -16315,10 +16316,10 @@ function qu(o) {
|
|
|
16315
16316
|
/*$_*/
|
|
16316
16317
|
o[22](`${/*selectedPeriodKey*/
|
|
16317
16318
|
o[15]}`) + ""
|
|
16318
|
-
), G,
|
|
16319
|
+
), G, V, O, k, j, ie, E, v, m, w, _, A, S, F = (
|
|
16319
16320
|
/*$_*/
|
|
16320
16321
|
o[22]("save") + ""
|
|
16321
|
-
), H,
|
|
16322
|
+
), H, U, W, ee, he, ce, te = (
|
|
16322
16323
|
/*isMobile*/
|
|
16323
16324
|
o[24] && Gu(o)
|
|
16324
16325
|
), Z = fo(
|
|
@@ -16349,47 +16350,47 @@ function qu(o) {
|
|
|
16349
16350
|
t = T("div"), e = T("form"), te && te.c(), i = X(), s = T("h2"), n = _e(r), a = X(), l = T("div"), c = T("p"), d = X(), h = T("p"), y = _e(p), f = X(), b = T("a"), D = _e(
|
|
16350
16351
|
/*supportemail*/
|
|
16351
16352
|
o[4]
|
|
16352
|
-
), z = X(), N = T("div"), $ = T("div"), q = T("p"), G = _e(K),
|
|
16353
|
+
), z = X(), N = T("div"), $ = T("div"), q = T("p"), G = _e(K), V = X(), O = ke("svg"), k = ke("g"), j = ke("path"), ie = X(), E = T("div");
|
|
16353
16354
|
for (let P = 0; P < L.length; P += 1)
|
|
16354
16355
|
L[P].c();
|
|
16355
16356
|
v = X(), Y && Y.c(), m = X(), w = T("div"), de.c(), _ = X(), A = T("div"), S = T("button"), H = _e(F), ee = X(), ge && ge.c(), M(s, "class", "PlayerSelfExclusionTitle " + /*isMobile*/
|
|
16356
16357
|
(o[24] ? "PlayerSelfExclusionTitleNone" : "")), M(c, "class", "SelfExclusionDescriptionText"), M(b, "href", C = "mailto:" + /*supportemail*/
|
|
16357
16358
|
o[4]), M(h, "class", "SelfExclusionDescriptionText"), M(l, "class", "SelfExclusionDescription " + /*isMobile*/
|
|
16358
|
-
(o[24] ? "SelfExclusionDescriptionMobile" : "")), M(j, "d", "M 90 24.25 c 0 -0.896 -0.342 -1.792 -1.025 -2.475 c -1.366 -1.367 -3.583 -1.367 -4.949 0 L 45 60.8 L 5.975 21.775 c -1.367 -1.367 -3.583 -1.367 -4.95 0 c -1.366 1.367 -1.366 3.583 0 4.95 l 41.5 41.5 c 1.366 1.367 3.583 1.367 4.949 0 l 41.5 -41.5 C 89.658 26.042 90 25.146 90 24.25 z"), M(j, "stroke-linecap", "round"), M(O, "xmlns", "http://www.w3.org/2000/svg"), M(O, "xmlns:xlink", "http://www.w3.org/1999/xlink"), M(O, "version", "1.1"), M(O, "viewBox", "0 0 100 100"), M(O, "xml:space", "preserve"), M(O, "class", "SelfExclusionConfigIcon"),
|
|
16359
|
+
(o[24] ? "SelfExclusionDescriptionMobile" : "")), M(j, "d", "M 90 24.25 c 0 -0.896 -0.342 -1.792 -1.025 -2.475 c -1.366 -1.367 -3.583 -1.367 -4.949 0 L 45 60.8 L 5.975 21.775 c -1.367 -1.367 -3.583 -1.367 -4.95 0 c -1.366 1.367 -1.366 3.583 0 4.95 l 41.5 41.5 c 1.366 1.367 3.583 1.367 4.949 0 l 41.5 -41.5 C 89.658 26.042 90 25.146 90 24.25 z"), M(j, "stroke-linecap", "round"), M(O, "xmlns", "http://www.w3.org/2000/svg"), M(O, "xmlns:xlink", "http://www.w3.org/1999/xlink"), M(O, "version", "1.1"), M(O, "viewBox", "0 0 100 100"), M(O, "xml:space", "preserve"), M(O, "class", "SelfExclusionConfigIcon"), Ve(
|
|
16359
16360
|
O,
|
|
16360
16361
|
"active",
|
|
16361
16362
|
/*isPeriodDropDownToggled*/
|
|
16362
16363
|
o[20]
|
|
16363
|
-
), M($, "class", "SelfExclusionConfigLabel"), M(E, "class", "SelfExclusionDropDown"),
|
|
16364
|
+
), M($, "class", "SelfExclusionConfigLabel"), M(E, "class", "SelfExclusionDropDown"), Ve(
|
|
16364
16365
|
E,
|
|
16365
16366
|
"active",
|
|
16366
16367
|
/*isPeriodDropDownToggled*/
|
|
16367
16368
|
o[20]
|
|
16368
16369
|
), M(N, "class", "SelfExclusionConfigWrapper " + /*isMobile*/
|
|
16369
|
-
(o[24] ? "SelfExclusionConfigWrapperMobile" : "")),
|
|
16370
|
+
(o[24] ? "SelfExclusionConfigWrapperMobile" : "")), Ve(
|
|
16370
16371
|
N,
|
|
16371
16372
|
"active",
|
|
16372
16373
|
/*isPeriodDropDownToggled*/
|
|
16373
16374
|
o[20]
|
|
16374
16375
|
), M(w, "class", "SelfExclusionDescription " + /*isMobile*/
|
|
16375
|
-
(o[24] ? "SelfExclusionDescriptionMobile" : "")), M(S, "class",
|
|
16376
|
+
(o[24] ? "SelfExclusionDescriptionMobile" : "")), M(S, "class", U = "SelfExclusionSave " + /*isDateSelected*/
|
|
16376
16377
|
(o[19] ? "active" : "")), S.disabled = W = !/*isDateSelected*/
|
|
16377
16378
|
o[19], M(A, "class", "SelfExclusionActionButtons " + /*isMobile*/
|
|
16378
16379
|
(o[24] ? "SelfExclusionActionButtonsMobile" : "")), M(e, "class", "SelfExclusionWrapper " + /*isMobile*/
|
|
16379
16380
|
(o[24] ? "SelfExclusionWrapperMobile" : "")), M(t, "class", "SelfExclusionContainer");
|
|
16380
16381
|
},
|
|
16381
16382
|
m(P, J) {
|
|
16382
|
-
|
|
16383
|
+
be(P, t, J), g(t, e), te && te.m(e, null), g(e, i), g(e, s), g(s, n), g(e, a), g(e, l), g(l, c), c.innerHTML = u, g(l, d), g(l, h), g(h, y), g(h, f), g(h, b), g(b, D), g(e, z), g(e, N), g(N, $), g($, q), g(q, G), g($, V), g($, O), g(O, k), g(k, j), g(N, ie), g(N, E);
|
|
16383
16384
|
for (let oe = 0; oe < L.length; oe += 1)
|
|
16384
16385
|
L[oe] && L[oe].m(E, null);
|
|
16385
16386
|
g(e, v), Y && Y.m(e, null), g(e, m), g(e, w), de.m(w, null), g(e, _), g(e, A), g(A, S), g(S, H), g(t, ee), ge && ge.m(t, null), he || (ce = [
|
|
16386
|
-
|
|
16387
|
+
Nt(
|
|
16387
16388
|
$,
|
|
16388
16389
|
"click",
|
|
16389
16390
|
/*click_handler_1*/
|
|
16390
16391
|
o[37]
|
|
16391
16392
|
),
|
|
16392
|
-
|
|
16393
|
+
Nt(
|
|
16393
16394
|
S,
|
|
16394
16395
|
"click",
|
|
16395
16396
|
/*click_handler_3*/
|
|
@@ -16432,7 +16433,7 @@ function qu(o) {
|
|
|
16432
16433
|
4227072 && K !== (K = /*$_*/
|
|
16433
16434
|
P[22](`${/*selectedPeriodKey*/
|
|
16434
16435
|
P[15]}`) + "") && ye(G, K), J[0] & /*isPeriodDropDownToggled*/
|
|
16435
|
-
1048576 &&
|
|
16436
|
+
1048576 && Ve(
|
|
16436
16437
|
O,
|
|
16437
16438
|
"active",
|
|
16438
16439
|
/*isPeriodDropDownToggled*/
|
|
@@ -16446,21 +16447,21 @@ function qu(o) {
|
|
|
16446
16447
|
);
|
|
16447
16448
|
let oe;
|
|
16448
16449
|
for (oe = 0; oe < Z.length; oe += 1) {
|
|
16449
|
-
const
|
|
16450
|
-
L[oe] ? L[oe].p(
|
|
16450
|
+
const At = os(P, Z, oe);
|
|
16451
|
+
L[oe] ? L[oe].p(At, J) : (L[oe] = ss(At), L[oe].c(), L[oe].m(E, null));
|
|
16451
16452
|
}
|
|
16452
16453
|
for (; oe < L.length; oe += 1)
|
|
16453
16454
|
L[oe].d(1);
|
|
16454
16455
|
L.length = Z.length;
|
|
16455
16456
|
}
|
|
16456
16457
|
J[0] & /*isPeriodDropDownToggled*/
|
|
16457
|
-
1048576 &&
|
|
16458
|
+
1048576 && Ve(
|
|
16458
16459
|
E,
|
|
16459
16460
|
"active",
|
|
16460
16461
|
/*isPeriodDropDownToggled*/
|
|
16461
16462
|
P[20]
|
|
16462
16463
|
), J[0] & /*isPeriodDropDownToggled*/
|
|
16463
|
-
1048576 &&
|
|
16464
|
+
1048576 && Ve(
|
|
16464
16465
|
N,
|
|
16465
16466
|
"active",
|
|
16466
16467
|
/*isPeriodDropDownToggled*/
|
|
@@ -16469,23 +16470,23 @@ function qu(o) {
|
|
|
16469
16470
|
P[18] ? Y ? Y.p(P, J) : (Y = rs(P), Y.c(), Y.m(e, m)) : Y && (Y.d(1), Y = null), ue === (ue = pe(P)) && de ? de.p(P, J) : (de.d(1), de = ue(P), de && (de.c(), de.m(w, null))), J[0] & /*$_*/
|
|
16470
16471
|
4194304 && F !== (F = /*$_*/
|
|
16471
16472
|
P[22]("save") + "") && ye(H, F), J[0] & /*isDateSelected*/
|
|
16472
|
-
524288 &&
|
|
16473
|
-
(P[19] ? "active" : "")) && M(S, "class",
|
|
16473
|
+
524288 && U !== (U = "SelfExclusionSave " + /*isDateSelected*/
|
|
16474
|
+
(P[19] ? "active" : "")) && M(S, "class", U), J[0] & /*isDateSelected*/
|
|
16474
16475
|
524288 && W !== (W = !/*isDateSelected*/
|
|
16475
16476
|
P[19]) && (S.disabled = W), /*showConfirmationModal*/
|
|
16476
16477
|
P[25] && ge.p(P, J);
|
|
16477
16478
|
},
|
|
16478
16479
|
d(P) {
|
|
16479
|
-
P &&
|
|
16480
|
+
P && xe(t), te && te.d(), nn(L, P), Y && Y.d(), de.d(), ge && ge.d(), he = !1, an(ce);
|
|
16480
16481
|
}
|
|
16481
16482
|
};
|
|
16482
16483
|
}
|
|
16483
16484
|
function Ku(o) {
|
|
16484
16485
|
let t, e, i, s, r, n, a, l, c, u, d, h, p, y, f, b, D, C, z, N, $;
|
|
16485
|
-
function q(
|
|
16486
|
+
function q(V, O) {
|
|
16486
16487
|
return (
|
|
16487
16488
|
/*isMobile*/
|
|
16488
|
-
|
|
16489
|
+
V[24] ? td : ed
|
|
16489
16490
|
);
|
|
16490
16491
|
}
|
|
16491
16492
|
let G = q(o)(o);
|
|
@@ -16496,7 +16497,7 @@ function Ku(o) {
|
|
|
16496
16497
|
"height",
|
|
16497
16498
|
/*isMobile*/
|
|
16498
16499
|
o[24] ? "15px" : "20px"
|
|
16499
|
-
), I(r, "rows", "6"), I(r, "width", "100%"),
|
|
16500
|
+
), I(r, "rows", "6"), I(r, "width", "100%"), Jt(
|
|
16500
16501
|
a,
|
|
16501
16502
|
"height",
|
|
16502
16503
|
/*isMobile*/
|
|
@@ -16506,7 +16507,7 @@ function Ku(o) {
|
|
|
16506
16507
|
"height",
|
|
16507
16508
|
/*isMobile*/
|
|
16508
16509
|
o[24] ? "15px" : "20px"
|
|
16509
|
-
), I(c, "width", "30%"),
|
|
16510
|
+
), I(c, "width", "30%"), Jt(d, "height", "10px"), M(s, "class", "SelfExclusionDescription"), I(y, "structure", "rectangle"), I(
|
|
16510
16511
|
y,
|
|
16511
16512
|
"width",
|
|
16512
16513
|
/*isMobile*/
|
|
@@ -16516,7 +16517,7 @@ function Ku(o) {
|
|
|
16516
16517
|
"height",
|
|
16517
16518
|
/*isMobile*/
|
|
16518
16519
|
o[24] ? "30px" : "44px"
|
|
16519
|
-
),
|
|
16520
|
+
), Jt(
|
|
16520
16521
|
b,
|
|
16521
16522
|
"height",
|
|
16522
16523
|
/*isMobile*/
|
|
@@ -16535,12 +16536,12 @@ function Ku(o) {
|
|
|
16535
16536
|
(o[24] ? "SelfExclusionActionButtonsMobile" : "")), M(e, "class", "SelfExclusionWrapper " + /*isMobile*/
|
|
16536
16537
|
(o[24] ? "SelfExclusionWrapperMobile" : "")), M(t, "class", "SelfExclusionContainer");
|
|
16537
16538
|
},
|
|
16538
|
-
m(
|
|
16539
|
-
|
|
16539
|
+
m(V, O) {
|
|
16540
|
+
be(V, t, O), g(t, e), G.m(e, null), g(e, i), g(e, s), g(s, r), g(s, n), g(s, a), g(s, l), g(s, c), g(s, u), g(s, d), g(e, h), g(e, p), g(p, y), g(p, f), g(p, b), g(p, D), g(p, C), g(e, z), g(e, N), g(N, $);
|
|
16540
16541
|
},
|
|
16541
|
-
p:
|
|
16542
|
-
d(
|
|
16543
|
-
|
|
16542
|
+
p: mi,
|
|
16543
|
+
d(V) {
|
|
16544
|
+
V && xe(t), G.d();
|
|
16544
16545
|
}
|
|
16545
16546
|
};
|
|
16546
16547
|
}
|
|
@@ -16554,7 +16555,7 @@ function Gu(o) {
|
|
|
16554
16555
|
t = T("div"), e = ke("svg"), i = ke("defs"), s = ke("style"), r = _e(".aaa{fill:var(--emw--color-primary, #22B04E);}"), n = ke("g"), a = ke("g"), l = ke("path"), c = X(), u = T("h2"), h = _e(d), M(l, "class", "aaa"), M(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), M(l, "transform", "translate(15 15) rotate(180)"), M(a, "transform", "translate(20 158)"), M(n, "transform", "translate(-20 -158)"), M(e, "xmlns", "http://www.w3.org/2000/svg"), M(e, "width", "15"), M(e, "height", "15"), M(e, "viewBox", "0 0 15 15"), M(u, "class", "PlayerSelfExclusionTitleMobile"), M(t, "class", "MenuReturnButton");
|
|
16555
16556
|
},
|
|
16556
16557
|
m(f, b) {
|
|
16557
|
-
|
|
16558
|
+
be(f, t, b), g(t, e), g(e, i), g(i, s), g(s, r), g(e, n), g(n, a), g(a, l), g(t, c), g(t, u), g(u, h), p || (y = Nt(
|
|
16558
16559
|
t,
|
|
16559
16560
|
"click",
|
|
16560
16561
|
/*click_handler*/
|
|
@@ -16567,7 +16568,7 @@ function Gu(o) {
|
|
|
16567
16568
|
f[22]("titleSelfExclusion") + "") && ye(h, d);
|
|
16568
16569
|
},
|
|
16569
16570
|
d(f) {
|
|
16570
|
-
f &&
|
|
16571
|
+
f && xe(t), p = !1, y();
|
|
16571
16572
|
}
|
|
16572
16573
|
};
|
|
16573
16574
|
}
|
|
@@ -16591,7 +16592,7 @@ function ss(o) {
|
|
|
16591
16592
|
t = T("div"), i = _e(e);
|
|
16592
16593
|
},
|
|
16593
16594
|
m(a, l) {
|
|
16594
|
-
|
|
16595
|
+
be(a, t, l), g(t, i), s || (r = Nt(t, "click", n), s = !0);
|
|
16595
16596
|
},
|
|
16596
16597
|
p(a, l) {
|
|
16597
16598
|
o = a, l[0] & /*$_, selfExclusionPeriods*/
|
|
@@ -16600,7 +16601,7 @@ function ss(o) {
|
|
|
16600
16601
|
o[56].key}`) + "") && ye(i, e);
|
|
16601
16602
|
},
|
|
16602
16603
|
d(a) {
|
|
16603
|
-
a &&
|
|
16604
|
+
a && xe(t), s = !1, r();
|
|
16604
16605
|
}
|
|
16605
16606
|
};
|
|
16606
16607
|
}
|
|
@@ -16636,7 +16637,7 @@ function rs(o) {
|
|
|
16636
16637
|
(o[24] ? "SelfExclusionDateWrapperMobile" : ""));
|
|
16637
16638
|
},
|
|
16638
16639
|
m(f, b) {
|
|
16639
|
-
|
|
16640
|
+
be(f, t, b), g(t, e), g(e, s), g(t, r), g(t, n), g(n, l), g(n, c), g(n, u), g(u, d), g(u, h), g(t, p), g(t, y), o[39](y);
|
|
16640
16641
|
},
|
|
16641
16642
|
p(f, b) {
|
|
16642
16643
|
b[0] & /*$_*/
|
|
@@ -16664,7 +16665,7 @@ function rs(o) {
|
|
|
16664
16665
|
);
|
|
16665
16666
|
},
|
|
16666
16667
|
d(f) {
|
|
16667
|
-
f &&
|
|
16668
|
+
f && xe(t), o[39](null);
|
|
16668
16669
|
}
|
|
16669
16670
|
};
|
|
16670
16671
|
}
|
|
@@ -16688,7 +16689,7 @@ function Ju(o) {
|
|
|
16688
16689
|
t = T("p"), e = T("strong"), s = _e(i), M(t, "class", "SelfExclusionDescriptionText");
|
|
16689
16690
|
},
|
|
16690
16691
|
m(r, n) {
|
|
16691
|
-
|
|
16692
|
+
be(r, t, n), g(t, e), g(e, s);
|
|
16692
16693
|
},
|
|
16693
16694
|
p(r, n) {
|
|
16694
16695
|
n[0] & /*$_, selfExclusionExpiryDate*/
|
|
@@ -16706,7 +16707,7 @@ function Ju(o) {
|
|
|
16706
16707
|
}) + "") && ye(s, i);
|
|
16707
16708
|
},
|
|
16708
16709
|
d(r) {
|
|
16709
|
-
r &&
|
|
16710
|
+
r && xe(t);
|
|
16710
16711
|
}
|
|
16711
16712
|
};
|
|
16712
16713
|
}
|
|
@@ -16720,7 +16721,7 @@ function Xu(o) {
|
|
|
16720
16721
|
t = T("p"), e = T("strong"), s = _e(i), M(t, "class", "SelfExclusionDescriptionText");
|
|
16721
16722
|
},
|
|
16722
16723
|
m(r, n) {
|
|
16723
|
-
|
|
16724
|
+
be(r, t, n), g(t, e), g(e, s);
|
|
16724
16725
|
},
|
|
16725
16726
|
p(r, n) {
|
|
16726
16727
|
n[0] & /*$_*/
|
|
@@ -16728,7 +16729,7 @@ function Xu(o) {
|
|
|
16728
16729
|
r[22]("noPeriodSelected") + "") && ye(s, i);
|
|
16729
16730
|
},
|
|
16730
16731
|
d(r) {
|
|
16731
|
-
r &&
|
|
16732
|
+
r && xe(t);
|
|
16732
16733
|
}
|
|
16733
16734
|
};
|
|
16734
16735
|
}
|
|
@@ -16742,7 +16743,7 @@ function Zu(o) {
|
|
|
16742
16743
|
t = T("p"), e = T("strong"), s = _e(i), M(t, "class", "SelfExclusionDescriptionText");
|
|
16743
16744
|
},
|
|
16744
16745
|
m(r, n) {
|
|
16745
|
-
|
|
16746
|
+
be(r, t, n), g(t, e), g(e, s);
|
|
16746
16747
|
},
|
|
16747
16748
|
p(r, n) {
|
|
16748
16749
|
n[0] & /*$_*/
|
|
@@ -16750,7 +16751,7 @@ function Zu(o) {
|
|
|
16750
16751
|
r[22]("permanentSelfExclusion") + "") && ye(s, i);
|
|
16751
16752
|
},
|
|
16752
16753
|
d(r) {
|
|
16753
|
-
r &&
|
|
16754
|
+
r && xe(t);
|
|
16754
16755
|
}
|
|
16755
16756
|
};
|
|
16756
16757
|
}
|
|
@@ -16806,7 +16807,7 @@ function Qu(o) {
|
|
|
16806
16807
|
), I(t, "showmodaleventname", "ShowSelfExclusionConfirmationModal");
|
|
16807
16808
|
},
|
|
16808
16809
|
m(r, n) {
|
|
16809
|
-
|
|
16810
|
+
be(r, t, n), g(t, e);
|
|
16810
16811
|
},
|
|
16811
16812
|
p(r, n) {
|
|
16812
16813
|
n[0] & /*$_*/
|
|
@@ -16865,7 +16866,7 @@ function Qu(o) {
|
|
|
16865
16866
|
);
|
|
16866
16867
|
},
|
|
16867
16868
|
d(r) {
|
|
16868
|
-
r &&
|
|
16869
|
+
r && xe(t);
|
|
16869
16870
|
}
|
|
16870
16871
|
};
|
|
16871
16872
|
}
|
|
@@ -16876,10 +16877,10 @@ function ed(o) {
|
|
|
16876
16877
|
t = T("ui-skeleton"), I(t, "structure", "title"), I(t, "width", "100px"), I(t, "margin-top", "20px"), I(t, "margin-bottom", "20px");
|
|
16877
16878
|
},
|
|
16878
16879
|
m(e, i) {
|
|
16879
|
-
|
|
16880
|
+
be(e, t, i);
|
|
16880
16881
|
},
|
|
16881
16882
|
d(e) {
|
|
16882
|
-
e &&
|
|
16883
|
+
e && xe(t);
|
|
16883
16884
|
}
|
|
16884
16885
|
};
|
|
16885
16886
|
}
|
|
@@ -16890,10 +16891,10 @@ function td(o) {
|
|
|
16890
16891
|
t = T("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>', M(t, "class", "MenuReturnButton");
|
|
16891
16892
|
},
|
|
16892
16893
|
m(e, i) {
|
|
16893
|
-
|
|
16894
|
+
be(e, t, i);
|
|
16894
16895
|
},
|
|
16895
16896
|
d(e) {
|
|
16896
|
-
e &&
|
|
16897
|
+
e && xe(t);
|
|
16897
16898
|
}
|
|
16898
16899
|
};
|
|
16899
16900
|
}
|
|
@@ -16911,23 +16912,23 @@ function id(o) {
|
|
|
16911
16912
|
t = T("div"), s.c();
|
|
16912
16913
|
},
|
|
16913
16914
|
m(r, n) {
|
|
16914
|
-
|
|
16915
|
+
be(r, t, n), s.m(t, null), o[41](t);
|
|
16915
16916
|
},
|
|
16916
16917
|
p(r, n) {
|
|
16917
16918
|
i === (i = e(r)) && s ? s.p(r, n) : (s.d(1), s = i(r), s && (s.c(), s.m(t, null)));
|
|
16918
16919
|
},
|
|
16919
|
-
i:
|
|
16920
|
-
o:
|
|
16920
|
+
i: mi,
|
|
16921
|
+
o: mi,
|
|
16921
16922
|
d(r) {
|
|
16922
|
-
r &&
|
|
16923
|
+
r && xe(t), s.d(), o[41](null);
|
|
16923
16924
|
}
|
|
16924
16925
|
};
|
|
16925
16926
|
}
|
|
16926
16927
|
function od(o, t, e) {
|
|
16927
16928
|
let i;
|
|
16928
|
-
Qr(o,
|
|
16929
|
-
let { endpoint: s = "", session: r = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail: u = "", baseurl: d = "", clientstyling: h = "", clientstylingurl: p = "", mbsource: y, translationurl: f = "", hasconfirmationmodal: b = "false", dateformat: D = "DD/MM/YYYY", sendnotificationemail: C = "false" } = t, z, N, $ = [], q = {}, K = D.toUpperCase(), G = window.navigator.userAgent,
|
|
16930
|
-
const
|
|
16929
|
+
Qr(o, ln, (x) => e(22, i = x)), Ce.extend(dn);
|
|
16930
|
+
let { endpoint: s = "", session: r = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail: u = "", baseurl: d = "", clientstyling: h = "", clientstylingurl: p = "", mbsource: y, translationurl: f = "", hasconfirmationmodal: b = "false", dateformat: D = "DD/MM/YYYY", sendnotificationemail: C = "false" } = t, z, N, $ = [], q = {}, K = D.toUpperCase(), G = window.navigator.userAgent, V, O, k = "", j = "", ie = "selectAPeriod", E = "", v = "", m = en(G) !== "PC", w = !1, _ = !1, A = !1, S = !1, F = b === "true", H = !0;
|
|
16931
|
+
const U = () => {
|
|
16931
16932
|
fetch(f).then((ne) => ne.json()).then((ne) => {
|
|
16932
16933
|
Object.keys(ne).forEach((ae) => {
|
|
16933
16934
|
mo(ae, ne[ae]);
|
|
@@ -16962,7 +16963,7 @@ function od(o, t, e) {
|
|
|
16962
16963
|
});
|
|
16963
16964
|
}, ee = (x) => {
|
|
16964
16965
|
x.data.type === "setSelfExclusion" && (e(1, n = x.data.userid), e(15, ie = x.data.selectedPeriodKey), e(0, r = x.data.session), Y());
|
|
16965
|
-
}, he = (x) =>
|
|
16966
|
+
}, he = (x) => st(this, null, function* () {
|
|
16966
16967
|
var ne;
|
|
16967
16968
|
if (!x.ok) {
|
|
16968
16969
|
q = yield x.json(), v = (ne = q.thirdPartyResponse) == null ? void 0 : ne.errorCode;
|
|
@@ -16975,7 +16976,7 @@ function od(o, t, e) {
|
|
|
16975
16976
|
}, te = (x) => {
|
|
16976
16977
|
switch (j = x.text, e(15, ie = x.key), e(19, A = !0), e(20, S = !1), e(17, w = !1), e(18, _ = !1), j) {
|
|
16977
16978
|
case "Until":
|
|
16978
|
-
e(18, _ = !0), e(12,
|
|
16979
|
+
e(18, _ = !0), e(12, V = Ce().add(6, "months").format("YYYY-MM-DD")), e(13, O = Ce().add(5, "years").format("YYYY-MM-DD")), e(14, k = V);
|
|
16979
16980
|
break;
|
|
16980
16981
|
case "Permanent":
|
|
16981
16982
|
e(17, w = !w);
|
|
@@ -17061,7 +17062,7 @@ function od(o, t, e) {
|
|
|
17061
17062
|
}, de = () => {
|
|
17062
17063
|
N.addEventListener("change", ue, !1), e(
|
|
17063
17064
|
10,
|
|
17064
|
-
N.i18n =
|
|
17065
|
+
N.i18n = Dt(Ct({}, N.i18n), {
|
|
17065
17066
|
formatDate: (x) => Ce(new Date(x.year, x.month, x.day)).format(K),
|
|
17066
17067
|
parseDate: (x) => {
|
|
17067
17068
|
const ne = Ce(x, K);
|
|
@@ -17081,7 +17082,7 @@ function od(o, t, e) {
|
|
|
17081
17082
|
const ge = () => {
|
|
17082
17083
|
hn(a);
|
|
17083
17084
|
}, P = () => pe(), J = () => ce(), oe = (x) => te(x);
|
|
17084
|
-
function
|
|
17085
|
+
function At(x) {
|
|
17085
17086
|
po[x ? "unshift" : "push"](() => {
|
|
17086
17087
|
N = x, e(10, N);
|
|
17087
17088
|
});
|
|
@@ -17100,10 +17101,10 @@ function od(o, t, e) {
|
|
|
17100
17101
|
1073741827 | o.$$.dirty[1] & /*gmversion*/
|
|
17101
17102
|
1 && s && r && n && l && W(), o.$$.dirty[0] & /*calendar*/
|
|
17102
17103
|
1024 && N && de(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
17103
|
-
576 && h && z &&
|
|
17104
|
-
640 && p && z &&
|
|
17105
|
-
768 && y && z &&
|
|
17106
|
-
2 && f &&
|
|
17104
|
+
576 && h && z && rn(z, h), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
17105
|
+
640 && p && z && on(z, p), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
17106
|
+
768 && y && z && sn(z, `${y}.Style`), o.$$.dirty[1] & /*translationurl*/
|
|
17107
|
+
2 && f && U();
|
|
17107
17108
|
}, F && Z(), [
|
|
17108
17109
|
r,
|
|
17109
17110
|
n,
|
|
@@ -17117,7 +17118,7 @@ function od(o, t, e) {
|
|
|
17117
17118
|
z,
|
|
17118
17119
|
N,
|
|
17119
17120
|
$,
|
|
17120
|
-
|
|
17121
|
+
V,
|
|
17121
17122
|
O,
|
|
17122
17123
|
k,
|
|
17123
17124
|
ie,
|
|
@@ -17144,7 +17145,7 @@ function od(o, t, e) {
|
|
|
17144
17145
|
P,
|
|
17145
17146
|
J,
|
|
17146
17147
|
oe,
|
|
17147
|
-
|
|
17148
|
+
At,
|
|
17148
17149
|
Rr,
|
|
17149
17150
|
Hr
|
|
17150
17151
|
];
|
|
@@ -17156,7 +17157,7 @@ class sd extends Kr {
|
|
|
17156
17157
|
t,
|
|
17157
17158
|
od,
|
|
17158
17159
|
id,
|
|
17159
|
-
|
|
17160
|
+
Xr,
|
|
17160
17161
|
{
|
|
17161
17162
|
endpoint: 30,
|
|
17162
17163
|
session: 0,
|
|
@@ -17269,7 +17270,7 @@ class sd extends Kr {
|
|
|
17269
17270
|
this.$$set({ sendnotificationemail: t }), fe();
|
|
17270
17271
|
}
|
|
17271
17272
|
}
|
|
17272
|
-
|
|
17273
|
+
Jr(sd, { endpoint: {}, session: {}, userid: {}, lang: {}, gmversion: {}, operator: {}, supportemail: {}, baseurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, hasconfirmationmodal: {}, dateformat: {}, sendnotificationemail: {} }, [], [], !0);
|
|
17273
17274
|
export {
|
|
17274
17275
|
sd as default
|
|
17275
17276
|
};
|