@everymatrix/player-account-self-exclusion 1.86.26 → 1.86.28
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/{PlayerAccountSelfExclusion-TWDzzfYD.cjs → PlayerAccountSelfExclusion-BNi5xq7N.cjs} +150 -150
- package/components/{PlayerAccountSelfExclusion-DeLXZa4n.js → PlayerAccountSelfExclusion-BzqKp5SV.js} +856 -856
- package/components/{PlayerAccountSelfExclusion-DZqG6WuZ.js → PlayerAccountSelfExclusion-DxxxObQ5.js} +772 -772
- 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/components/{PlayerAccountSelfExclusion-DZqG6WuZ.js → PlayerAccountSelfExclusion-DxxxObQ5.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var Ur = Object.defineProperty, Vr = Object.defineProperties;
|
|
2
|
+
var Wr = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var ho = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var fo = (o, t, e) => t in o ?
|
|
4
|
+
var qr = Object.prototype.hasOwnProperty, Kr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var fo = (o, t, e) => t in o ? Ur(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e, Dt = (o, t) => {
|
|
6
6
|
for (var e in t || (t = {}))
|
|
7
|
-
|
|
7
|
+
qr.call(t, e) && fo(o, e, t[e]);
|
|
8
8
|
if (ho)
|
|
9
9
|
for (var e of ho(t))
|
|
10
|
-
|
|
10
|
+
Kr.call(t, e) && fo(o, e, t[e]);
|
|
11
11
|
return o;
|
|
12
|
-
}, kt = (o, t) =>
|
|
12
|
+
}, kt = (o, t) => Vr(o, Wr(t));
|
|
13
13
|
var rt = (o, t, e) => new Promise((i, s) => {
|
|
14
14
|
var r = (l) => {
|
|
15
15
|
try {
|
|
@@ -26,13 +26,13 @@ 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
|
|
29
|
+
import { B as fs, C as ps, D as Gr, $ as Jr, S as Xr, a as Zr, f as pe, s as Qr, A as en, b as tn, E as gi, d as be, g as xe, q as T, F as on, G as sn, o as rn, v as Xt, p as g, H as X, I, J as Zt, r as M, K as po, L as nn, M as an, N as ye, O as We, P as zt, Q as _e, R as Pe, T as ln, x as cn, y as un, z as dn } from "./PlayerAccountGeneralConfirmationModal-CX85nlMy.js";
|
|
30
30
|
import "../stencil/ui-skeleton-xXZA3rYO.js";
|
|
31
|
-
var
|
|
31
|
+
var ms = { exports: {} };
|
|
32
32
|
(function(o, t) {
|
|
33
33
|
(function(e, i) {
|
|
34
34
|
o.exports = i();
|
|
35
|
-
})(
|
|
35
|
+
})(fs, function() {
|
|
36
36
|
var e = 1e3, i = 6e4, s = 36e5, r = "millisecond", n = "second", a = "minute", l = "hour", c = "day", u = "week", d = "month", h = "quarter", f = "year", y = "date", p = "Invalid Date", b = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, D = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, C = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(E) {
|
|
37
37
|
var v = ["th", "st", "nd", "rd"], m = E % 100;
|
|
38
38
|
return "[" + E + (v[(m - 20) % 10] || v[m] || v[0]) + "]";
|
|
@@ -98,8 +98,8 @@ var ps = { exports: {} };
|
|
|
98
98
|
if (typeof _ == "string" && !/Z$/i.test(_)) {
|
|
99
99
|
var S = _.match(b);
|
|
100
100
|
if (S) {
|
|
101
|
-
var F = S[2] - 1 || 0,
|
|
102
|
-
return A ? new Date(Date.UTC(S[1], F, S[3] || 1, S[4] || 0, S[5] || 0, S[6] || 0,
|
|
101
|
+
var F = S[2] - 1 || 0, H = (S[7] || "0").substring(0, 3);
|
|
102
|
+
return A ? new Date(Date.UTC(S[1], F, S[3] || 1, S[4] || 0, S[5] || 0, S[6] || 0, H)) : new Date(S[1], F, S[3] || 1, S[4] || 0, S[5] || 0, S[6] || 0, H);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
return new Date(_);
|
|
@@ -128,38 +128,38 @@ var ps = { exports: {} };
|
|
|
128
128
|
var _ = this, A = !!k.u(w) || w, S = k.p(m), F = function(Z, L) {
|
|
129
129
|
var j = k.w(_.$u ? Date.UTC(_.$y, L, Z) : new Date(_.$y, L, Z), _);
|
|
130
130
|
return A ? j : j.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
|
+
}, B = this.$W, W = this.$M, ie = this.$D, he = "set" + (this.$u ? "UTC" : "");
|
|
134
134
|
switch (S) {
|
|
135
135
|
case f:
|
|
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 ue = this.$locale().weekStart || 0, ee = (
|
|
140
|
+
var ue = this.$locale().weekStart || 0, ee = (B < ue ? B + 7 : B) - ue;
|
|
141
141
|
return F(A ? ie - ee : ie + (6 - ee), W);
|
|
142
142
|
case c:
|
|
143
143
|
case y:
|
|
144
|
-
return
|
|
144
|
+
return H(he + "Hours", 0);
|
|
145
145
|
case l:
|
|
146
|
-
return
|
|
146
|
+
return H(he + "Minutes", 1);
|
|
147
147
|
case a:
|
|
148
|
-
return
|
|
148
|
+
return H(he + "Seconds", 2);
|
|
149
149
|
case n:
|
|
150
|
-
return
|
|
150
|
+
return H(he + "Milliseconds", 3);
|
|
151
151
|
default:
|
|
152
152
|
return this.clone();
|
|
153
153
|
}
|
|
154
154
|
}, v.endOf = function(m) {
|
|
155
155
|
return this.startOf(m, !1);
|
|
156
156
|
}, v.$set = function(m, w) {
|
|
157
|
-
var _, A = k.p(m), S = "set" + (this.$u ? "UTC" : ""), F = (_ = {}, _[c] = S + "Date", _[y] = S + "Date", _[d] = S + "Month", _[f] = S + "FullYear", _[l] = S + "Hours", _[a] = S + "Minutes", _[n] = S + "Seconds", _[r] = S + "Milliseconds", _)[A],
|
|
157
|
+
var _, A = k.p(m), S = "set" + (this.$u ? "UTC" : ""), F = (_ = {}, _[c] = S + "Date", _[y] = S + "Date", _[d] = S + "Month", _[f] = 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 === f) {
|
|
159
|
-
var
|
|
160
|
-
|
|
159
|
+
var B = this.clone().set(y, 1);
|
|
160
|
+
B.$d[F](H), B.init(), this.$d = B.set(y, Math.min(this.$D, B.daysInMonth())).$d;
|
|
161
161
|
} else
|
|
162
|
-
F && this.$d[F](
|
|
162
|
+
F && this.$d[F](H);
|
|
163
163
|
return this.init(), this;
|
|
164
164
|
}, v.set = function(m, w) {
|
|
165
165
|
return this.clone().$set(m, w);
|
|
@@ -180,15 +180,15 @@ var ps = { exports: {} };
|
|
|
180
180
|
return F(1);
|
|
181
181
|
if (S === u)
|
|
182
182
|
return F(7);
|
|
183
|
-
var
|
|
184
|
-
return k.w(
|
|
183
|
+
var H = (_ = {}, _[a] = i, _[l] = s, _[n] = e, _)[S] || 1, B = this.$d.getTime() + m * H;
|
|
184
|
+
return k.w(B, 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 || p;
|
|
191
|
-
var A = m || "YYYY-MM-DDTHH:mm:ssZ", S = k.z(this), F = this.$H,
|
|
191
|
+
var A = m || "YYYY-MM-DDTHH:mm:ssZ", S = k.z(this), F = this.$H, H = this.$m, B = this.$M, W = _.weekdays, ie = _.months, he = _.meridiem, ue = function(L, j, fe, de) {
|
|
192
192
|
return L && (L[j] || L(w, A)) || fe[j].slice(0, de);
|
|
193
193
|
}, ee = function(L) {
|
|
194
194
|
return k.s(F % 12 || 12, L, "0");
|
|
@@ -204,13 +204,13 @@ var ps = { exports: {} };
|
|
|
204
204
|
case "YYYY":
|
|
205
205
|
return k.s(w.$y, 4, "0");
|
|
206
206
|
case "M":
|
|
207
|
-
return
|
|
207
|
+
return B + 1;
|
|
208
208
|
case "MM":
|
|
209
|
-
return k.s(
|
|
209
|
+
return k.s(B + 1, 2, "0");
|
|
210
210
|
case "MMM":
|
|
211
|
-
return ue(_.monthsShort,
|
|
211
|
+
return ue(_.monthsShort, B, ie, 3);
|
|
212
212
|
case "MMMM":
|
|
213
|
-
return ue(ie,
|
|
213
|
+
return ue(ie, B);
|
|
214
214
|
case "D":
|
|
215
215
|
return w.$D;
|
|
216
216
|
case "DD":
|
|
@@ -232,13 +232,13 @@ var ps = { exports: {} };
|
|
|
232
232
|
case "hh":
|
|
233
233
|
return ee(2);
|
|
234
234
|
case "a":
|
|
235
|
-
return Z(F,
|
|
235
|
+
return Z(F, H, !0);
|
|
236
236
|
case "A":
|
|
237
|
-
return Z(F,
|
|
237
|
+
return Z(F, H, !1);
|
|
238
238
|
case "m":
|
|
239
|
-
return String(
|
|
239
|
+
return String(H);
|
|
240
240
|
case "mm":
|
|
241
|
-
return k.s(
|
|
241
|
+
return k.s(H, 2, "0");
|
|
242
242
|
case "s":
|
|
243
243
|
return String(w.$s);
|
|
244
244
|
case "ss":
|
|
@@ -254,8 +254,8 @@ var ps = { 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),
|
|
258
|
-
return k.m(S,
|
|
257
|
+
var A, S = this, F = k.p(w), H = O(m), B = (H.utcOffset() - this.utcOffset()) * i, W = this - H, ie = function() {
|
|
258
|
+
return k.m(S, H);
|
|
259
259
|
};
|
|
260
260
|
switch (F) {
|
|
261
261
|
case f:
|
|
@@ -268,10 +268,10 @@ var ps = { exports: {} };
|
|
|
268
268
|
A = ie() / 3;
|
|
269
269
|
break;
|
|
270
270
|
case u:
|
|
271
|
-
A = (W -
|
|
271
|
+
A = (W - B) / 6048e5;
|
|
272
272
|
break;
|
|
273
273
|
case c:
|
|
274
|
-
A = (W -
|
|
274
|
+
A = (W - B) / 864e5;
|
|
275
275
|
break;
|
|
276
276
|
case l:
|
|
277
277
|
A = W / s;
|
|
@@ -317,14 +317,14 @@ var ps = { exports: {} };
|
|
|
317
317
|
return O(1e3 * E);
|
|
318
318
|
}, O.en = q[$], O.Ls = q, O.p = {}, O;
|
|
319
319
|
});
|
|
320
|
-
})(
|
|
321
|
-
var
|
|
322
|
-
const De = /* @__PURE__ */
|
|
323
|
-
var
|
|
320
|
+
})(ms);
|
|
321
|
+
var hn = ms.exports;
|
|
322
|
+
const De = /* @__PURE__ */ ps(hn);
|
|
323
|
+
var _s = { exports: {} };
|
|
324
324
|
(function(o, t) {
|
|
325
325
|
(function(e, i) {
|
|
326
326
|
o.exports = i();
|
|
327
|
-
})(
|
|
327
|
+
})(fs, function() {
|
|
328
328
|
var e = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, i = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, s = /\d\d/, r = /\d\d?/, n = /\d*[^-_:/,()\s\d]+/, a = {}, l = function(p) {
|
|
329
329
|
return (p = +p) + (p > 68 ? 1900 : 2e3);
|
|
330
330
|
}, c = function(p) {
|
|
@@ -426,9 +426,9 @@ var ms = { exports: {} };
|
|
|
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,
|
|
429
|
+
var A = y(w)(m), S = A.year, F = A.month, H = A.day, B = A.hours, W = A.minutes, ie = A.seconds, he = A.milliseconds, ue = A.zone, ee = /* @__PURE__ */ new Date(), Z = H || (S || F ? 1 : ee.getDate()), L = S || ee.getFullYear(), j = 0;
|
|
430
430
|
S && !F || (j = F > 0 ? F - 1 : ee.getMonth());
|
|
431
|
-
var fe =
|
|
431
|
+
var fe = B || 0, de = W || 0, le = ie || 0, ge = he || 0;
|
|
432
432
|
return ue ? new Date(Date.UTC(L, j, Z, fe, de, le, ge + 60 * ue.offset * 1e3)) : _ ? new Date(Date.UTC(L, j, Z, fe, de, le, ge)) : new Date(L, j, Z, fe, de, le, ge);
|
|
433
433
|
} catch (P) {
|
|
434
434
|
return /* @__PURE__ */ new Date("");
|
|
@@ -449,14 +449,14 @@ var ms = { exports: {} };
|
|
|
449
449
|
};
|
|
450
450
|
};
|
|
451
451
|
});
|
|
452
|
-
})(
|
|
453
|
-
var
|
|
454
|
-
const
|
|
452
|
+
})(_s);
|
|
453
|
+
var fn = _s.exports;
|
|
454
|
+
const pn = /* @__PURE__ */ ps(fn);
|
|
455
455
|
function mo(o, t) {
|
|
456
|
-
|
|
456
|
+
Gr(o, t);
|
|
457
457
|
}
|
|
458
|
-
function
|
|
459
|
-
|
|
458
|
+
function mn(o) {
|
|
459
|
+
Jr.set(o);
|
|
460
460
|
}
|
|
461
461
|
const _o = {
|
|
462
462
|
en: {
|
|
@@ -860,18 +860,18 @@ function Se(o, t = "24.5.10") {
|
|
|
860
860
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
861
861
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
862
862
|
*/
|
|
863
|
-
class
|
|
863
|
+
class _n extends HTMLElement {
|
|
864
864
|
static get is() {
|
|
865
865
|
return "vaadin-lumo-styles";
|
|
866
866
|
}
|
|
867
867
|
}
|
|
868
|
-
Se(
|
|
868
|
+
Se(_n);
|
|
869
869
|
/**
|
|
870
870
|
* @license
|
|
871
871
|
* Copyright 2019 Google LLC
|
|
872
872
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
873
873
|
*/
|
|
874
|
-
const Ft = globalThis,
|
|
874
|
+
const Ft = globalThis, Bi = Ft.ShadowRoot && (Ft.ShadyCSS === void 0 || Ft.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Yi = Symbol(), go = /* @__PURE__ */ new WeakMap();
|
|
875
875
|
let ji = class {
|
|
876
876
|
constructor(t, e, i) {
|
|
877
877
|
if (this._$cssResult$ = !0, i !== Yi)
|
|
@@ -881,7 +881,7 @@ let ji = class {
|
|
|
881
881
|
get styleSheet() {
|
|
882
882
|
let t = this.o;
|
|
883
883
|
const e = this.t;
|
|
884
|
-
if (
|
|
884
|
+
if (Bi && 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 ji = class {
|
|
|
891
891
|
return this.cssText;
|
|
892
892
|
}
|
|
893
893
|
};
|
|
894
|
-
const
|
|
894
|
+
const gn = (o) => new ji(typeof o == "string" ? o : o + "", void 0, Yi), 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;
|
|
@@ -900,29 +900,29 @@ const _n = (o) => new ji(typeof o == "string" ? o : o + "", void 0, Yi), R = (o,
|
|
|
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
902
|
return new ji(e, o, Yi);
|
|
903
|
-
},
|
|
904
|
-
if (
|
|
903
|
+
}, gs = (o, t) => {
|
|
904
|
+
if (Bi)
|
|
905
905
|
o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
906
906
|
else
|
|
907
907
|
for (const e of t) {
|
|
908
908
|
const i = document.createElement("style"), s = Ft.litNonce;
|
|
909
909
|
s !== void 0 && i.setAttribute("nonce", s), i.textContent = e.cssText, o.appendChild(i);
|
|
910
910
|
}
|
|
911
|
-
}, vo =
|
|
911
|
+
}, vo = Bi ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
|
|
912
912
|
let e = "";
|
|
913
913
|
for (const i of t.cssRules)
|
|
914
914
|
e += i.cssText;
|
|
915
|
-
return
|
|
915
|
+
return gn(e);
|
|
916
916
|
})(o) : o;
|
|
917
917
|
/**
|
|
918
918
|
* @license
|
|
919
919
|
* Copyright 2017 Google LLC
|
|
920
920
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
921
921
|
*/
|
|
922
|
-
const { is:
|
|
922
|
+
const { is: vn, defineProperty: yn, getOwnPropertyDescriptor: bn, getOwnPropertyNames: xn, getOwnPropertySymbols: wn, getPrototypeOf: En } = Object, Oe = globalThis, yo = Oe.trustedTypes, Sn = yo ? yo.emptyScript : "", Qt = Oe.reactiveElementPolyfillSupport, ft = (o, t) => o, vi = { toAttribute(o, t) {
|
|
923
923
|
switch (t) {
|
|
924
924
|
case Boolean:
|
|
925
|
-
o = o ?
|
|
925
|
+
o = o ? Sn : null;
|
|
926
926
|
break;
|
|
927
927
|
case Object:
|
|
928
928
|
case Array:
|
|
@@ -947,10 +947,10 @@ const { is: gn, defineProperty: vn, getOwnPropertyDescriptor: yn, getOwnProperty
|
|
|
947
947
|
}
|
|
948
948
|
}
|
|
949
949
|
return e;
|
|
950
|
-
} },
|
|
951
|
-
var
|
|
952
|
-
(
|
|
953
|
-
|
|
950
|
+
} }, vs = (o, t) => !vn(o, t), bo = { attribute: !0, type: String, converter: vi, reflect: !1, useDefault: !1, hasChanged: vs };
|
|
951
|
+
var as, ls;
|
|
952
|
+
(as = Symbol.metadata) != null || (Symbol.metadata = Symbol("metadata")), (ls = Oe.litPropertyMetadata) != null || (Oe.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
953
|
+
let Ke = class extends HTMLElement {
|
|
954
954
|
static addInitializer(t) {
|
|
955
955
|
var e;
|
|
956
956
|
this._$Ei(), ((e = this.l) != null ? e : this.l = []).push(t);
|
|
@@ -961,12 +961,12 @@ class Ke extends HTMLElement {
|
|
|
961
961
|
static createProperty(t, e = bo) {
|
|
962
962
|
if (e.state && (e.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(t) && ((e = Object.create(e)).wrapped = !0), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
963
963
|
const i = Symbol(), s = this.getPropertyDescriptor(t, i, e);
|
|
964
|
-
s !== void 0 &&
|
|
964
|
+
s !== void 0 && yn(this.prototype, t, s);
|
|
965
965
|
}
|
|
966
966
|
}
|
|
967
967
|
static getPropertyDescriptor(t, e, i) {
|
|
968
968
|
var n;
|
|
969
|
-
const { get: s, set: r } = (n =
|
|
969
|
+
const { get: s, set: r } = (n = bn(this.prototype, t)) != null ? n : { get() {
|
|
970
970
|
return this[e];
|
|
971
971
|
}, set(a) {
|
|
972
972
|
this[e] = a;
|
|
@@ -983,14 +983,14 @@ class Ke extends HTMLElement {
|
|
|
983
983
|
static _$Ei() {
|
|
984
984
|
if (this.hasOwnProperty(ft("elementProperties")))
|
|
985
985
|
return;
|
|
986
|
-
const t =
|
|
986
|
+
const t = En(this);
|
|
987
987
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
988
988
|
}
|
|
989
989
|
static finalize() {
|
|
990
990
|
if (this.hasOwnProperty(ft("finalized")))
|
|
991
991
|
return;
|
|
992
992
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(ft("properties"))) {
|
|
993
|
-
const e = this.properties, i = [...
|
|
993
|
+
const e = this.properties, i = [...xn(e), ...wn(e)];
|
|
994
994
|
for (const s of i)
|
|
995
995
|
this.createProperty(s, e[s]);
|
|
996
996
|
}
|
|
@@ -1046,7 +1046,7 @@ class Ke extends HTMLElement {
|
|
|
1046
1046
|
createRenderRoot() {
|
|
1047
1047
|
var e;
|
|
1048
1048
|
const t = (e = this.shadowRoot) != null ? e : this.attachShadow(this.constructor.shadowRootOptions);
|
|
1049
|
-
return
|
|
1049
|
+
return gs(t, this.constructor.elementStyles), t;
|
|
1050
1050
|
}
|
|
1051
1051
|
connectedCallback() {
|
|
1052
1052
|
var t, e;
|
|
@@ -1085,11 +1085,11 @@ class Ke extends HTMLElement {
|
|
|
1085
1085
|
this[s] = (a = u != null ? u : (n = this._$Ej) == null ? void 0 : n.get(s)) != null ? a : u, this._$Em = null;
|
|
1086
1086
|
}
|
|
1087
1087
|
}
|
|
1088
|
-
requestUpdate(t, e, i) {
|
|
1089
|
-
var
|
|
1088
|
+
requestUpdate(t, e, i, s = !1, r) {
|
|
1089
|
+
var n, a;
|
|
1090
1090
|
if (t !== void 0) {
|
|
1091
|
-
const
|
|
1092
|
-
if (i != null || (i =
|
|
1091
|
+
const l = this.constructor;
|
|
1092
|
+
if (s === !1 && (r = this[t]), i != null || (i = l.getPropertyOptions(t)), !(((n = i.hasChanged) != null ? n : vs)(r, e) || i.useDefault && i.reflect && r === ((a = this._$Ej) == null ? void 0 : a.get(t)) && !this.hasAttribute(l._$Eu(t, i))))
|
|
1093
1093
|
return;
|
|
1094
1094
|
this.C(t, e, i);
|
|
1095
1095
|
}
|
|
@@ -1171,41 +1171,41 @@ class Ke extends HTMLElement {
|
|
|
1171
1171
|
}
|
|
1172
1172
|
firstUpdated(t) {
|
|
1173
1173
|
}
|
|
1174
|
-
}
|
|
1175
|
-
var
|
|
1176
|
-
Ke.elementStyles = [], Ke.shadowRootOptions = { mode: "open" }, Ke[ft("elementProperties")] = /* @__PURE__ */ new Map(), Ke[ft("finalized")] = /* @__PURE__ */ new Map(), Qt == null || Qt({ ReactiveElement: Ke }), ((
|
|
1174
|
+
};
|
|
1175
|
+
var cs;
|
|
1176
|
+
Ke.elementStyles = [], Ke.shadowRootOptions = { mode: "open" }, Ke[ft("elementProperties")] = /* @__PURE__ */ new Map(), Ke[ft("finalized")] = /* @__PURE__ */ new Map(), Qt == null || Qt({ ReactiveElement: Ke }), ((cs = Oe.reactiveElementVersions) != null ? cs : Oe.reactiveElementVersions = []).push("2.1.2");
|
|
1177
1177
|
/**
|
|
1178
1178
|
* @license
|
|
1179
1179
|
* Copyright 2017 Google LLC
|
|
1180
1180
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1181
1181
|
*/
|
|
1182
|
-
const pt = globalThis, Lt = pt.trustedTypes,
|
|
1183
|
-
\f\r]`, nt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
1184
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
1185
|
-
function
|
|
1182
|
+
const pt = globalThis, xo = (o) => o, Lt = pt.trustedTypes, wo = Lt ? Lt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, ys = "$lit$", Me = `lit$${Math.random().toFixed(9).slice(2)}$`, bs = "?" + Me, An = `<${bs}>`, Ye = document, _t = () => Ye.createComment(""), gt = (o) => o === null || typeof o != "object" && typeof o != "function", Ui = Array.isArray, Cn = (o) => Ui(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", ei = `[
|
|
1183
|
+
\f\r]`, nt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Eo = /-->/g, So = />/g, ze = RegExp(`>|${ei}(?:([^\\s"'>=/]+)(${ei}*=${ei}*(?:[^
|
|
1184
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Ao = /'/g, Co = /"/g, xs = /^(?:script|style|textarea|title)$/i, Qe = Symbol.for("lit-noChange"), ae = Symbol.for("lit-nothing"), Do = /* @__PURE__ */ new WeakMap(), Le = Ye.createTreeWalker(Ye, 129);
|
|
1185
|
+
function ws(o, t) {
|
|
1186
1186
|
if (!Ui(o) || !o.hasOwnProperty("raw"))
|
|
1187
1187
|
throw Error("invalid template strings array");
|
|
1188
|
-
return
|
|
1188
|
+
return wo !== void 0 ? wo.createHTML(t) : t;
|
|
1189
1189
|
}
|
|
1190
|
-
const
|
|
1190
|
+
const Dn = (o, t) => {
|
|
1191
1191
|
const e = o.length - 1, i = [];
|
|
1192
1192
|
let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = nt;
|
|
1193
1193
|
for (let a = 0; a < e; a++) {
|
|
1194
1194
|
const l = o[a];
|
|
1195
1195
|
let c, u, d = -1, h = 0;
|
|
1196
1196
|
for (; h < l.length && (n.lastIndex = h, u = n.exec(l), u !== null); )
|
|
1197
|
-
h = n.lastIndex, n === nt ? u[1] === "!--" ? n =
|
|
1197
|
+
h = n.lastIndex, n === nt ? u[1] === "!--" ? n = Eo : u[1] !== void 0 ? n = So : u[2] !== void 0 ? (xs.test(u[2]) && (s = RegExp("</" + u[2], "g")), n = ze) : u[3] !== void 0 && (n = ze) : n === ze ? u[0] === ">" ? (n = s != null ? s : nt, 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] === '"' ? Co : Ao) : n === Co || n === Ao ? n = ze : n === Eo || n === So ? n = nt : (n = ze, s = void 0);
|
|
1198
1198
|
const f = n === ze && o[a + 1].startsWith("/>") ? " " : "";
|
|
1199
|
-
r += n === nt ? l +
|
|
1199
|
+
r += n === nt ? l + An : d >= 0 ? (i.push(c), l.slice(0, d) + ys + l.slice(d) + Me + f) : l + Me + (d === -2 ? a : f);
|
|
1200
1200
|
}
|
|
1201
|
-
return [
|
|
1201
|
+
return [ws(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
|
|
1202
1202
|
};
|
|
1203
1203
|
class vt {
|
|
1204
1204
|
constructor({ strings: t, _$litType$: e }, i) {
|
|
1205
1205
|
let s;
|
|
1206
1206
|
this.parts = [];
|
|
1207
1207
|
let r = 0, n = 0;
|
|
1208
|
-
const a = t.length - 1, l = this.parts, [c, u] =
|
|
1208
|
+
const a = t.length - 1, l = this.parts, [c, u] = Dn(t, e);
|
|
1209
1209
|
if (this.el = vt.createElement(c, i), Le.currentNode = this.el.content, e === 2 || e === 3) {
|
|
1210
1210
|
const d = this.el.content.firstChild;
|
|
1211
1211
|
d.replaceWith(...d.childNodes);
|
|
@@ -1214,12 +1214,12 @@ class vt {
|
|
|
1214
1214
|
if (s.nodeType === 1) {
|
|
1215
1215
|
if (s.hasAttributes())
|
|
1216
1216
|
for (const d of s.getAttributeNames())
|
|
1217
|
-
if (d.endsWith(
|
|
1217
|
+
if (d.endsWith(ys)) {
|
|
1218
1218
|
const h = u[n++], f = s.getAttribute(d).split(Me), y = /([.?@])?(.*)/.exec(h);
|
|
1219
|
-
l.push({ type: 1, index: r, name: y[2], strings: f, ctor: y[1] === "." ?
|
|
1219
|
+
l.push({ type: 1, index: r, name: y[2], strings: f, ctor: y[1] === "." ? Pn : y[1] === "?" ? Tn : y[1] === "@" ? Mn : Vt }), s.removeAttribute(d);
|
|
1220
1220
|
} else
|
|
1221
1221
|
d.startsWith(Me) && (l.push({ type: 6, index: r }), s.removeAttribute(d));
|
|
1222
|
-
if (
|
|
1222
|
+
if (xs.test(s.tagName)) {
|
|
1223
1223
|
const d = s.textContent.split(Me), h = d.length - 1;
|
|
1224
1224
|
if (h > 0) {
|
|
1225
1225
|
s.textContent = Lt ? Lt.emptyScript : "";
|
|
@@ -1229,7 +1229,7 @@ class vt {
|
|
|
1229
1229
|
}
|
|
1230
1230
|
}
|
|
1231
1231
|
} else if (s.nodeType === 8)
|
|
1232
|
-
if (s.data ===
|
|
1232
|
+
if (s.data === bs)
|
|
1233
1233
|
l.push({ type: 2, index: r });
|
|
1234
1234
|
else {
|
|
1235
1235
|
let d = -1;
|
|
@@ -1252,7 +1252,7 @@ function et(o, t, e = o, i) {
|
|
|
1252
1252
|
const r = gt(t) ? void 0 : t._$litDirective$;
|
|
1253
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 = et(o, s._$AS(o, t.values), s, i)), t;
|
|
1254
1254
|
}
|
|
1255
|
-
class
|
|
1255
|
+
class kn {
|
|
1256
1256
|
constructor(t, e) {
|
|
1257
1257
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
|
1258
1258
|
}
|
|
@@ -1270,7 +1270,7 @@ class Dn {
|
|
|
1270
1270
|
for (; l !== void 0; ) {
|
|
1271
1271
|
if (n === l.index) {
|
|
1272
1272
|
let u;
|
|
1273
|
-
l.type === 2 ? u = new At(r, r.nextSibling, this, t) : l.type === 1 ? u = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (u = new
|
|
1273
|
+
l.type === 2 ? u = new At(r, r.nextSibling, this, t) : l.type === 1 ? u = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (u = new On(r, this, t)), this._$AV.push(u), l = i[++a];
|
|
1274
1274
|
}
|
|
1275
1275
|
n !== (l == null ? void 0 : l.index) && (r = Le.nextNode(), n++);
|
|
1276
1276
|
}
|
|
@@ -1303,7 +1303,7 @@ class At {
|
|
|
1303
1303
|
return this._$AB;
|
|
1304
1304
|
}
|
|
1305
1305
|
_$AI(t, e = this) {
|
|
1306
|
-
t = et(this, t, e), gt(t) ? t === ae || t == null || t === "" ? (this._$AH !== ae && this._$AR(), this._$AH = ae) : t !== this._$AH && t !== Qe && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) :
|
|
1306
|
+
t = et(this, t, e), gt(t) ? t === ae || t == null || t === "" ? (this._$AH !== ae && this._$AR(), this._$AH = ae) : t !== this._$AH && t !== Qe && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Cn(t) ? this.k(t) : this._(t);
|
|
1307
1307
|
}
|
|
1308
1308
|
O(t) {
|
|
1309
1309
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -1316,17 +1316,17 @@ class At {
|
|
|
1316
1316
|
}
|
|
1317
1317
|
$(t) {
|
|
1318
1318
|
var r;
|
|
1319
|
-
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = vt.createElement(
|
|
1319
|
+
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = vt.createElement(ws(i.h, i.h[0]), this.options)), i);
|
|
1320
1320
|
if (((r = this._$AH) == null ? void 0 : r._$AD) === s)
|
|
1321
1321
|
this._$AH.p(e);
|
|
1322
1322
|
else {
|
|
1323
|
-
const n = new
|
|
1323
|
+
const n = new kn(s, this), a = n.u(this.options);
|
|
1324
1324
|
n.p(e), this.T(a), this._$AH = n;
|
|
1325
1325
|
}
|
|
1326
1326
|
}
|
|
1327
1327
|
_$AC(t) {
|
|
1328
|
-
let e =
|
|
1329
|
-
return e === void 0 &&
|
|
1328
|
+
let e = Do.get(t.strings);
|
|
1329
|
+
return e === void 0 && Do.set(t.strings, e = new vt(t)), e;
|
|
1330
1330
|
}
|
|
1331
1331
|
k(t) {
|
|
1332
1332
|
Ui(this._$AH) || (this._$AH = [], this._$AR());
|
|
@@ -1339,8 +1339,8 @@ class At {
|
|
|
1339
1339
|
_$AR(t = this._$AA.nextSibling, e) {
|
|
1340
1340
|
var i;
|
|
1341
1341
|
for ((i = this._$AP) == null ? void 0 : i.call(this, !1, !0, e); t !== this._$AB; ) {
|
|
1342
|
-
const s = t.nextSibling;
|
|
1343
|
-
t.remove(), t = s;
|
|
1342
|
+
const s = xo(t).nextSibling;
|
|
1343
|
+
xo(t).remove(), t = s;
|
|
1344
1344
|
}
|
|
1345
1345
|
}
|
|
1346
1346
|
setConnected(t) {
|
|
@@ -1375,7 +1375,7 @@ class Vt {
|
|
|
1375
1375
|
t === ae ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t != null ? t : "");
|
|
1376
1376
|
}
|
|
1377
1377
|
}
|
|
1378
|
-
class
|
|
1378
|
+
class Pn extends Vt {
|
|
1379
1379
|
constructor() {
|
|
1380
1380
|
super(...arguments), this.type = 3;
|
|
1381
1381
|
}
|
|
@@ -1383,7 +1383,7 @@ class kn extends Vt {
|
|
|
1383
1383
|
this.element[this.name] = t === ae ? void 0 : t;
|
|
1384
1384
|
}
|
|
1385
1385
|
}
|
|
1386
|
-
class
|
|
1386
|
+
class Tn extends Vt {
|
|
1387
1387
|
constructor() {
|
|
1388
1388
|
super(...arguments), this.type = 4;
|
|
1389
1389
|
}
|
|
@@ -1391,7 +1391,7 @@ class Pn extends Vt {
|
|
|
1391
1391
|
this.element.toggleAttribute(this.name, !!t && t !== ae);
|
|
1392
1392
|
}
|
|
1393
1393
|
}
|
|
1394
|
-
class
|
|
1394
|
+
class Mn extends Vt {
|
|
1395
1395
|
constructor(t, e, i, s, r) {
|
|
1396
1396
|
super(t, e, i, s, r), this.type = 5;
|
|
1397
1397
|
}
|
|
@@ -1407,7 +1407,7 @@ class Tn extends Vt {
|
|
|
1407
1407
|
typeof this._$AH == "function" ? this._$AH.call((i = (e = this.options) == null ? void 0 : e.host) != null ? i : this.element, t) : this._$AH.handleEvent(t);
|
|
1408
1408
|
}
|
|
1409
1409
|
}
|
|
1410
|
-
class
|
|
1410
|
+
class On {
|
|
1411
1411
|
constructor(t, e, i) {
|
|
1412
1412
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
|
|
1413
1413
|
}
|
|
@@ -1419,9 +1419,9 @@ class Mn {
|
|
|
1419
1419
|
}
|
|
1420
1420
|
}
|
|
1421
1421
|
const ti = pt.litHtmlPolyfillSupport;
|
|
1422
|
-
var
|
|
1423
|
-
ti == null || ti(vt, At), ((
|
|
1424
|
-
const
|
|
1422
|
+
var us;
|
|
1423
|
+
ti == null || ti(vt, At), ((us = pt.litHtmlVersions) != null ? us : pt.litHtmlVersions = []).push("3.3.2");
|
|
1424
|
+
const In = (o, t, e) => {
|
|
1425
1425
|
var r, n;
|
|
1426
1426
|
const i = (r = e == null ? void 0 : e.renderBefore) != null ? r : t;
|
|
1427
1427
|
let s = i._$litPart$;
|
|
@@ -1436,7 +1436,7 @@ const On = (o, t, e) => {
|
|
|
1436
1436
|
* Copyright 2017 Google LLC
|
|
1437
1437
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1438
1438
|
*/
|
|
1439
|
-
const
|
|
1439
|
+
const He = globalThis;
|
|
1440
1440
|
class Ge extends Ke {
|
|
1441
1441
|
constructor() {
|
|
1442
1442
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
@@ -1448,7 +1448,7 @@ class Ge extends Ke {
|
|
|
1448
1448
|
}
|
|
1449
1449
|
update(t) {
|
|
1450
1450
|
const e = this.render();
|
|
1451
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do =
|
|
1451
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = In(e, this.renderRoot, this.renderOptions);
|
|
1452
1452
|
}
|
|
1453
1453
|
connectedCallback() {
|
|
1454
1454
|
var t;
|
|
@@ -1462,18 +1462,18 @@ class Ge extends Ke {
|
|
|
1462
1462
|
return Qe;
|
|
1463
1463
|
}
|
|
1464
1464
|
}
|
|
1465
|
-
var us;
|
|
1466
|
-
Ge._$litElement$ = !0, Ge.finalized = !0, (us = Be.litElementHydrateSupport) == null || us.call(Be, { LitElement: Ge });
|
|
1467
|
-
const ii = Be.litElementPolyfillSupport;
|
|
1468
|
-
ii == null || ii({ LitElement: Ge });
|
|
1469
1465
|
var ds;
|
|
1470
|
-
(
|
|
1466
|
+
Ge._$litElement$ = !0, Ge.finalized = !0, (ds = He.litElementHydrateSupport) == null || ds.call(He, { LitElement: Ge });
|
|
1467
|
+
const ii = He.litElementPolyfillSupport;
|
|
1468
|
+
ii == null || ii({ LitElement: Ge });
|
|
1469
|
+
var hs;
|
|
1470
|
+
((hs = He.litElementVersions) != null ? hs : He.litElementVersions = []).push("4.2.2");
|
|
1471
1471
|
/**
|
|
1472
1472
|
* @license
|
|
1473
1473
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1474
1474
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1475
1475
|
*/
|
|
1476
|
-
const
|
|
1476
|
+
const Fn = (o) => class extends o {
|
|
1477
1477
|
static get properties() {
|
|
1478
1478
|
return {
|
|
1479
1479
|
/**
|
|
@@ -1512,102 +1512,102 @@ const In = (o) => class extends o {
|
|
|
1512
1512
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1513
1513
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1514
1514
|
*/
|
|
1515
|
-
const
|
|
1516
|
-
function
|
|
1515
|
+
const Es = [], yi = /* @__PURE__ */ new Set(), Vi = /* @__PURE__ */ new Set();
|
|
1516
|
+
function Ss(o) {
|
|
1517
1517
|
return o && Object.prototype.hasOwnProperty.call(o, "__themes");
|
|
1518
1518
|
}
|
|
1519
|
-
function
|
|
1520
|
-
return
|
|
1519
|
+
function Nn(o) {
|
|
1520
|
+
return Ss(customElements.get(o));
|
|
1521
1521
|
}
|
|
1522
|
-
function
|
|
1522
|
+
function zn(o = []) {
|
|
1523
1523
|
return [o].flat(1 / 0).filter((t) => t instanceof ji ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
|
|
1524
1524
|
}
|
|
1525
|
-
function
|
|
1525
|
+
function As(o, t) {
|
|
1526
1526
|
return (o || "").split(" ").some((e) => new RegExp(`^${e.split("*").join(".*")}$`, "u").test(t));
|
|
1527
1527
|
}
|
|
1528
|
-
function
|
|
1528
|
+
function Cs(o) {
|
|
1529
1529
|
return o.map((t) => t.cssText).join(`
|
|
1530
1530
|
`);
|
|
1531
1531
|
}
|
|
1532
1532
|
const $t = "vaadin-themable-mixin-style";
|
|
1533
|
-
function
|
|
1533
|
+
function Ln(o, t) {
|
|
1534
1534
|
const e = document.createElement("style");
|
|
1535
|
-
e.id = $t, e.textContent =
|
|
1535
|
+
e.id = $t, e.textContent = Cs(o), t.content.appendChild(e);
|
|
1536
1536
|
}
|
|
1537
|
-
function
|
|
1537
|
+
function $n(o) {
|
|
1538
1538
|
if (!o.shadowRoot)
|
|
1539
1539
|
return;
|
|
1540
1540
|
const t = o.constructor;
|
|
1541
1541
|
if (o instanceof Ge)
|
|
1542
|
-
[...o.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()),
|
|
1542
|
+
[...o.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()), gs(o.shadowRoot, t.elementStyles);
|
|
1543
1543
|
else {
|
|
1544
1544
|
const e = o.shadowRoot.getElementById($t), i = t.prototype._template;
|
|
1545
1545
|
e.textContent = i.content.getElementById($t).textContent;
|
|
1546
1546
|
}
|
|
1547
1547
|
}
|
|
1548
|
-
function
|
|
1548
|
+
function Rn(o) {
|
|
1549
1549
|
yi.forEach((t) => {
|
|
1550
1550
|
const e = t.deref();
|
|
1551
|
-
e instanceof o ?
|
|
1551
|
+
e instanceof o ? $n(e) : e || yi.delete(t);
|
|
1552
1552
|
});
|
|
1553
1553
|
}
|
|
1554
|
-
function
|
|
1554
|
+
function Ds(o) {
|
|
1555
1555
|
if (o.prototype instanceof Ge)
|
|
1556
1556
|
o.elementStyles = o.finalizeStyles(o.styles);
|
|
1557
1557
|
else {
|
|
1558
1558
|
const t = o.prototype._template;
|
|
1559
|
-
t.content.getElementById($t).textContent =
|
|
1559
|
+
t.content.getElementById($t).textContent = Cs(o.getStylesForThis());
|
|
1560
1560
|
}
|
|
1561
1561
|
Vi.forEach((t) => {
|
|
1562
1562
|
const e = customElements.get(t);
|
|
1563
|
-
e !== o && e.prototype instanceof o &&
|
|
1563
|
+
e !== o && e.prototype instanceof o && Ds(e);
|
|
1564
1564
|
});
|
|
1565
1565
|
}
|
|
1566
|
-
function
|
|
1566
|
+
function Hn(o, t) {
|
|
1567
1567
|
const e = o.__themes;
|
|
1568
1568
|
return !e || !t ? !1 : e.some(
|
|
1569
1569
|
(i) => i.styles.some((s) => t.some((r) => r.cssText === s.cssText))
|
|
1570
1570
|
);
|
|
1571
1571
|
}
|
|
1572
1572
|
function Q(o, t, e = {}) {
|
|
1573
|
-
t =
|
|
1573
|
+
t = zn(t), window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.registerStyles(o, t, e) : Es.push({
|
|
1574
1574
|
themeFor: o,
|
|
1575
1575
|
styles: t,
|
|
1576
1576
|
include: e.include,
|
|
1577
1577
|
moduleId: e.moduleId
|
|
1578
1578
|
}), o && Vi.forEach((i) => {
|
|
1579
|
-
if (
|
|
1579
|
+
if (As(o, i) && Nn(i)) {
|
|
1580
1580
|
const s = customElements.get(i);
|
|
1581
|
-
|
|
1581
|
+
Hn(s, t) ? console.warn(`Registering styles that already exist for ${i}`) : (!window.Vaadin || !window.Vaadin.suppressPostFinalizeStylesWarning) && console.warn(
|
|
1582
1582
|
`The custom element definition for "${i}" was finalized before a style module was registered. Ideally, import component specific style modules before importing the corresponding custom element. This warning can be suppressed by setting "window.Vaadin.suppressPostFinalizeStylesWarning = true".`
|
|
1583
|
-
),
|
|
1583
|
+
), Ds(s), Rn(s);
|
|
1584
1584
|
}
|
|
1585
1585
|
});
|
|
1586
1586
|
}
|
|
1587
1587
|
function bi() {
|
|
1588
|
-
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() :
|
|
1588
|
+
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() : Es;
|
|
1589
1589
|
}
|
|
1590
1590
|
function Bn(o = "") {
|
|
1591
1591
|
let t = 0;
|
|
1592
1592
|
return o.startsWith("lumo-") || o.startsWith("material-") ? t = 1 : o.startsWith("vaadin-") && (t = 2), t;
|
|
1593
1593
|
}
|
|
1594
|
-
function
|
|
1594
|
+
function ks(o) {
|
|
1595
1595
|
const t = [];
|
|
1596
1596
|
return o.include && [].concat(o.include).forEach((e) => {
|
|
1597
1597
|
const i = bi().find((s) => s.moduleId === e);
|
|
1598
|
-
i ? t.push(...
|
|
1598
|
+
i ? t.push(...ks(i), ...i.styles) : console.warn(`Included moduleId ${e} not found in style registry`);
|
|
1599
1599
|
}, o.styles), t;
|
|
1600
1600
|
}
|
|
1601
|
-
function
|
|
1602
|
-
const t = `${o}-default-theme`, e = bi().filter((i) => i.moduleId !== t &&
|
|
1601
|
+
function Yn(o) {
|
|
1602
|
+
const t = `${o}-default-theme`, e = bi().filter((i) => i.moduleId !== t && As(i.themeFor, o)).map((i) => kt(Dt({}, i), {
|
|
1603
1603
|
// Prepend styles from included themes
|
|
1604
|
-
styles: [...
|
|
1604
|
+
styles: [...ks(i), ...i.styles],
|
|
1605
1605
|
// Map moduleId to includePriority
|
|
1606
1606
|
includePriority: Bn(i.moduleId)
|
|
1607
1607
|
})).sort((i, s) => s.includePriority - i.includePriority);
|
|
1608
1608
|
return e.length > 0 ? e : bi().filter((i) => i.moduleId === t);
|
|
1609
1609
|
}
|
|
1610
|
-
const je = (o) => class extends
|
|
1610
|
+
const je = (o) => class extends Fn(o) {
|
|
1611
1611
|
constructor() {
|
|
1612
1612
|
super(), yi.add(new WeakRef(this));
|
|
1613
1613
|
}
|
|
@@ -1619,7 +1619,7 @@ const je = (o) => class extends In(o) {
|
|
|
1619
1619
|
if (super.finalize(), this.is && Vi.add(this.is), this.elementStyles)
|
|
1620
1620
|
return;
|
|
1621
1621
|
const e = this.prototype._template;
|
|
1622
|
-
!e ||
|
|
1622
|
+
!e || Ss(this) || Ln(this.getStylesForThis(), e);
|
|
1623
1623
|
}
|
|
1624
1624
|
/**
|
|
1625
1625
|
* Covers LitElement based component styling
|
|
@@ -1637,7 +1637,7 @@ const je = (o) => class extends In(o) {
|
|
|
1637
1637
|
*/
|
|
1638
1638
|
static getStylesForThis() {
|
|
1639
1639
|
const e = o.__themes || [], i = Object.getPrototypeOf(this.prototype), s = (i ? i.constructor.__themes : []) || [];
|
|
1640
|
-
this.__themes = [...e, ...s, ...
|
|
1640
|
+
this.__themes = [...e, ...s, ...Yn(this.is)];
|
|
1641
1641
|
const r = this.__themes.flatMap((n) => n.styles);
|
|
1642
1642
|
return r.filter((n, a) => a === r.lastIndexOf(n));
|
|
1643
1643
|
}
|
|
@@ -1647,19 +1647,19 @@ const je = (o) => class extends In(o) {
|
|
|
1647
1647
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1648
1648
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1649
1649
|
*/
|
|
1650
|
-
const
|
|
1650
|
+
const jn = (o, ...t) => {
|
|
1651
1651
|
const e = document.createElement("style");
|
|
1652
1652
|
e.id = o, e.textContent = t.map((i) => i.toString()).join(`
|
|
1653
1653
|
`).replace(":host", "html"), document.head.insertAdjacentElement("afterbegin", e);
|
|
1654
1654
|
}, ot = (o, ...t) => {
|
|
1655
|
-
|
|
1655
|
+
jn(`lumo-${o}`, t);
|
|
1656
1656
|
};
|
|
1657
1657
|
/**
|
|
1658
1658
|
* @license
|
|
1659
1659
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1660
1660
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1661
1661
|
*/
|
|
1662
|
-
const
|
|
1662
|
+
const Un = R`
|
|
1663
1663
|
:host {
|
|
1664
1664
|
--lumo-size-xs: 1.625rem;
|
|
1665
1665
|
--lumo-size-s: 1.875rem;
|
|
@@ -1675,13 +1675,13 @@ const jn = R`
|
|
|
1675
1675
|
--lumo-icon-size: var(--lumo-icon-size-m);
|
|
1676
1676
|
}
|
|
1677
1677
|
`;
|
|
1678
|
-
ot("sizing-props",
|
|
1678
|
+
ot("sizing-props", Un);
|
|
1679
1679
|
/**
|
|
1680
1680
|
* @license
|
|
1681
1681
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1682
1682
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1683
1683
|
*/
|
|
1684
|
-
const
|
|
1684
|
+
const Vn = R`
|
|
1685
1685
|
:host {
|
|
1686
1686
|
/* Square */
|
|
1687
1687
|
--lumo-space-xs: 0.25rem;
|
|
@@ -1705,13 +1705,13 @@ const Un = R`
|
|
|
1705
1705
|
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
|
1706
1706
|
}
|
|
1707
1707
|
`;
|
|
1708
|
-
ot("spacing-props",
|
|
1708
|
+
ot("spacing-props", Vn);
|
|
1709
1709
|
/**
|
|
1710
1710
|
* @license
|
|
1711
1711
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1712
1712
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1713
1713
|
*/
|
|
1714
|
-
const
|
|
1714
|
+
const Wn = R`
|
|
1715
1715
|
:host {
|
|
1716
1716
|
/* Border radius */
|
|
1717
1717
|
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
@@ -1813,13 +1813,13 @@ R`
|
|
|
1813
1813
|
--vaadin-input-field-value-font-weight: 500;
|
|
1814
1814
|
}
|
|
1815
1815
|
`;
|
|
1816
|
-
ot("style-props",
|
|
1816
|
+
ot("style-props", Wn);
|
|
1817
1817
|
/**
|
|
1818
1818
|
* @license
|
|
1819
1819
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1820
1820
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1821
1821
|
*/
|
|
1822
|
-
const
|
|
1822
|
+
const qn = R`
|
|
1823
1823
|
:host {
|
|
1824
1824
|
/* Base (background) */
|
|
1825
1825
|
--lumo-base-color: #fff;
|
|
@@ -1905,8 +1905,8 @@ const Wn = R`
|
|
|
1905
1905
|
}
|
|
1906
1906
|
}
|
|
1907
1907
|
`;
|
|
1908
|
-
ot("color-props",
|
|
1909
|
-
const
|
|
1908
|
+
ot("color-props", qn);
|
|
1909
|
+
const Kn = R`
|
|
1910
1910
|
[theme~='dark'] {
|
|
1911
1911
|
/* Base (background) */
|
|
1912
1912
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -2025,13 +2025,13 @@ const qn = R`
|
|
|
2025
2025
|
background: transparent;
|
|
2026
2026
|
}
|
|
2027
2027
|
`;
|
|
2028
|
-
Q("",
|
|
2028
|
+
Q("", Kn, { moduleId: "lumo-color" });
|
|
2029
2029
|
/**
|
|
2030
2030
|
* @license
|
|
2031
2031
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2032
2032
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2033
2033
|
*/
|
|
2034
|
-
const
|
|
2034
|
+
const Gn = R`
|
|
2035
2035
|
:host {
|
|
2036
2036
|
/* prettier-ignore */
|
|
2037
2037
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -2051,7 +2051,7 @@ const Kn = R`
|
|
|
2051
2051
|
--lumo-line-height-s: 1.375;
|
|
2052
2052
|
--lumo-line-height-m: 1.625;
|
|
2053
2053
|
}
|
|
2054
|
-
`,
|
|
2054
|
+
`, Jn = R`
|
|
2055
2055
|
body,
|
|
2056
2056
|
:host {
|
|
2057
2057
|
font-family: var(--lumo-font-family);
|
|
@@ -2144,14 +2144,14 @@ const Kn = R`
|
|
|
2144
2144
|
border-right: 2px solid var(--lumo-contrast-30pct);
|
|
2145
2145
|
}
|
|
2146
2146
|
`;
|
|
2147
|
-
Q("",
|
|
2148
|
-
ot("typography-props",
|
|
2147
|
+
Q("", Jn, { moduleId: "lumo-typography" });
|
|
2148
|
+
ot("typography-props", Gn);
|
|
2149
2149
|
/**
|
|
2150
2150
|
* @license
|
|
2151
2151
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2152
2152
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2153
2153
|
*/
|
|
2154
|
-
const
|
|
2154
|
+
const Ps = R`
|
|
2155
2155
|
:host {
|
|
2156
2156
|
top: var(--lumo-space-m);
|
|
2157
2157
|
right: var(--lumo-space-m);
|
|
@@ -2217,13 +2217,13 @@ const ks = R`
|
|
|
2217
2217
|
}
|
|
2218
2218
|
}
|
|
2219
2219
|
`;
|
|
2220
|
-
Q("",
|
|
2220
|
+
Q("", Ps, { moduleId: "lumo-overlay" });
|
|
2221
2221
|
/**
|
|
2222
2222
|
* @license
|
|
2223
2223
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2224
2224
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2225
2225
|
*/
|
|
2226
|
-
const
|
|
2226
|
+
const Ts = R`
|
|
2227
2227
|
:host([opening]),
|
|
2228
2228
|
:host([closing]) {
|
|
2229
2229
|
animation: 0.14s lumo-overlay-dummy-animation;
|
|
@@ -2254,8 +2254,8 @@ const Ps = R`
|
|
|
2254
2254
|
}
|
|
2255
2255
|
}
|
|
2256
2256
|
`;
|
|
2257
|
-
Q("",
|
|
2258
|
-
const
|
|
2257
|
+
Q("", Ts, { moduleId: "lumo-menu-overlay-core" });
|
|
2258
|
+
const Xn = R`
|
|
2259
2259
|
/* Small viewport (bottom sheet) styles */
|
|
2260
2260
|
/* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
|
|
2261
2261
|
@media (max-width: 450px), (max-height: 450px) {
|
|
@@ -2317,9 +2317,9 @@ const Jn = R`
|
|
|
2317
2317
|
transform: translateY(150%);
|
|
2318
2318
|
}
|
|
2319
2319
|
}
|
|
2320
|
-
`,
|
|
2321
|
-
Q("",
|
|
2322
|
-
const
|
|
2320
|
+
`, Ms = [Ps, Ts, Xn];
|
|
2321
|
+
Q("", Ms, { moduleId: "lumo-menu-overlay" });
|
|
2322
|
+
const Zn = R`
|
|
2323
2323
|
[part='overlay'] {
|
|
2324
2324
|
/*
|
|
2325
2325
|
Width:
|
|
@@ -2365,10 +2365,10 @@ const Xn = R`
|
|
|
2365
2365
|
}
|
|
2366
2366
|
}
|
|
2367
2367
|
`;
|
|
2368
|
-
Q("vaadin-date-picker-overlay", [
|
|
2368
|
+
Q("vaadin-date-picker-overlay", [Ms, Zn], {
|
|
2369
2369
|
moduleId: "lumo-date-picker-overlay"
|
|
2370
2370
|
});
|
|
2371
|
-
const
|
|
2371
|
+
const Qn = R`
|
|
2372
2372
|
:host {
|
|
2373
2373
|
/* Sizing */
|
|
2374
2374
|
--lumo-button-size: var(--lumo-size-m);
|
|
@@ -2645,7 +2645,7 @@ const Zn = R`
|
|
|
2645
2645
|
margin-right: 0;
|
|
2646
2646
|
}
|
|
2647
2647
|
`;
|
|
2648
|
-
Q("vaadin-button",
|
|
2648
|
+
Q("vaadin-button", Qn, { moduleId: "lumo-button" });
|
|
2649
2649
|
Q(
|
|
2650
2650
|
"vaadin-date-picker-year",
|
|
2651
2651
|
R`
|
|
@@ -3170,7 +3170,7 @@ Q(
|
|
|
3170
3170
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
3171
3171
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
3172
3172
|
*/
|
|
3173
|
-
const
|
|
3173
|
+
const ea = R`
|
|
3174
3174
|
@font-face {
|
|
3175
3175
|
font-family: 'lumo-icons';
|
|
3176
3176
|
src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABEgAAsAAAAAIjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuKY21hcAAAAYgAAAD4AAADrsCU8d5nbHlmAAACgAAAC2cAABeAWri7U2hlYWQAAA3oAAAAMAAAADZa/6SsaGhlYQAADhgAAAAdAAAAJAbpA35obXR4AAAOOAAAABAAAACspBAAAGxvY2EAAA5IAAAAWAAAAFh57oA4bWF4cAAADqAAAAAfAAAAIAFKAXBuYW1lAAAOwAAAATEAAAIuUUJZCHBvc3QAAA/0AAABKwAAAelm8SzVeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS+yDiBgZWBgamKaQ8DA0MPhGZ8wGDIyAQUZWBlZsAKAtJcUxgcXjG+0mIO+p/FEMUcxDANKMwIkgMABn8MLQB4nO3SWW6DMABF0UtwCEnIPM/zhLK8LqhfXRybSP14XUYtHV9hGYQwQBNIo3cUIPkhQeM7rib1ekqnXg981XuC1qvy84lzojleh3puxL0hPjGjRU473teloEefAUNGjJkwZcacBUtWrNmwZceeA0dOnLlw5cadB09elPGhGf+j0NTI/65KfXerT6JhqKnpRKtgOpuqaTrtKjPUlqHmhto21I7pL6i6hlqY3q7qGWrfUAeGOjTUkaGODXViqFNDnRnq3FAXhro01JWhrg11Y6hbQ90Z6t5QD4Z6NNSToZ4N9WKoV0O9GerdUB+G+jTUl6GWRvkL24BkEXictVh9bFvVFb/nxvbz+7Rf/N6zHcd2bCfP+Wic1Z9N0jpNHCD9SNqqoVBgbQoMjY+pjA4hNnWa2pV1rHSIif0DGkyT2k10Kmu1Cag6huj4ZpqYBHSqJsTEJgZCG3TaVBFv595nO3ZIv4RIrPPuvefe884599zzO/cRF8G/tgn6CFFImNgkR0ggX8wlspbhSSWSdrC5ozd30s2dw5afzvgtyz9/zG9t1hV4RtF1pXolowvtzc2z6L2aYUQM45jKH9WDTvd1LRDoDASYWhfTzTyvboXz6uZX4ARX5wrF39y+HM2+CJ8d0pkyqBIqoze3D12ez4DrFoYzxI8dWwMrDlZ2DMqQAR9AROsJU+2smlTPaTTco52BVxXa2a2+I8vvqd2dVHm1LoPeTn/AZPRYGthDYOeZjBjKoFsVGulR3lGU95SeCK44oHU7MhWUGUKZDT3oSUcG2GWuh+EDDfUYA/jhIhl0TOsJNYSEu7mQmi3UzfXwZKA4BsVsHLXQYGgJW95qEtpJ1VcW9HiTriZBlFEqxsDjA09yCNUoQxxwd7KWSTt2y3GTKifkqHRCoWZc3m11Wa/dKdFgXD4kSYfkeJBKd8KMz7J8dZn/cGRCcLGDnA2Ge3bKzcvlnTDNthFWLH7Xt80ua5FMjA4WKelWv5Xo16vHuYzpRbJhhdVlftuRK0VlR27D9lu5TF0DPBi60OrHNO0AfP/uRWvhn/U3LXICE+nh+3IHPUJ8JE6GyBjZQLbjGchlrSgYngF8zyrIF4NJD3atUcgWsWunGN/UHX5B5/yg7uF87Nqp4Gf52F3gH73DjEZNRoqCKAr9giQJp5rGJABpiVE2htNhW9R8nw0jqYjCYcY4LIjwYNScf4WN06IZnZCEqsI4cFaQbo4Z1TsZBx40YhXkHOecaYE5oY37IIQ+iJJ+UsDYSun5MuRSBRZRUUhlY2DqOGajOR6zrSU/5My6l2DnusH1GQgnw5BZP7iuYM/ahcfQ7Z8y51ddfutvuwNqWQ0cBYr8fj0U0vsHpwerVaB2sWhXT2NExi2r1KUE2tUuVMnkepVQrxTmpQrZTG4iu8he8iPyM3KcPE/+RP5KPoE2CEAKclCBzXATxkYOtUY/o961PWRqsj0chRrHFBbtrjP9/P0ven5pcbRdpL94vfsy33e5+izuwz3nFLFPVNayPZx/jdG1fOChflFRvYzsW6L18efgLrSWIgvcqnGJYi4skO4xREURjbDuxKke5v0T3Mrzkt2fi31uyZlLLrqIpEuXXsMlgw442Jb0GAxjS1DM20kBoCzHLXm/jEm0IltdcvU0fEW24jgiwwRjVd9u4NJHcIyoHJcwvyVqgqj5hqBJ1ZWSJryh9p56UWhX1XbhRbW2ZopuZWsQd5y8mEQ8M+C6xjRYxZbDKWf5AgY+Qq/l6wSPk16zDFjowYuu+wjx13mfkxbyDDxadYT/LijZyI0THB+6yfLaWsRcO82zo9mWTNtpO18qlorZoIVMwSN40tky5DOQ1MCIAe24mvlsuwIIxPb10+uXDQ4uWz/9m3rj+ql7p6bufZARuPVq5tXtsn6KwfP8Jy0TeWOyNhUJN6mhX5rkUTtUppQWEMNTqEdaCGKFYKJaQrCE4JtDLYOlNEKmO5kBTPGY2A0N2sY3+dVlo1N9ycBsIGtOjQ2p/tlZvzo0ur4v6cOh8NTospB7U/X40KahoU3bGIH97dnwmtHlYffVG3R1YOwKM2vNhrPhCT5zk64sG53oS4b31aYjqe/B7+kQiXBN+b6h21hNUPMq29B8CU4elINdygMPKF1B+WBTG7Z9ZshpN/xwEuuDQZR+nuoo4CDaAiiwXmLpmukMQyPf/JMclqgL1ixZQ/nnP2VbdUODFGt2fgBvL123rlLYu/6A9ckb7F3K0/CyBMEu6aQoPscroCcacVehvyQyCZAsizsWWBkoLC+WAiWnOksLKaeuQDzGuqSk42aiYTiJ4zf9afl17SrqaTO1f+XlZAfIuYcq7/IqYMaMrksOJ6vHkOCPDq943xcCnHqVD9pHFRpMqSPXrIua1WNs+tOz1U+ciTCDpPk+c4QYJIHnYhxP/kVPAq+ahFpVhPcHp8qyarhiF+HsBU9Hrl+UZa876fbKipL0KqB6OdUveErgtOI97fZ63ae9SvWU6k2w1JfwqnUbHsYcFCJFrC/W12zIMMirWYEHxMPs6LGYSdkSZ5TsNP9PCpwnWC3HKZ1lydNjWHC2Mn3l6vL0dHn1ldP3LTSrX+vKrBqv7KmMr8p0SR6P1NqF63or6XRlIyO90f7+kf7+myOhvt4tq7f09oUiTc2/dycGgqFQcCDRLYmi1NL7fk0CknVMxEg/cdfs/TnpJMNkgqwj17B8beVazSrVbU4lG67IZYOCnWrYy3yBR9cyWcChywos3LJBEdhhFoAdYjiw0rLGm0xU5OzoGm5/ZfmHjVZpNNg6SznzGKDdwv2cCtVn6Eaxo12cfxLprpVtTcZ6hVx6dow7Yq7e8LXO8PY9Jgjoze9yCtU5FNbegcKkQMdCbt9au/te4Ebe0jkc0ukUL32eYnTpNs20h0KpUOhZPYwVcfhZnfdqeCvDfXiuCbAoYWcXERPc/mDQD3/hdF+wK4i/xv3kYfprIpAuMkk2kW3kdtS0kBIKpZwp8KxmsCyfM1MFzAss9LBkDxRyThiaqTLwKYKJVTwmWTudMyz+yks09346MDh4m72yOxCKrt1XMlQ1qPVlTEVVQ1ofdK/sCWjtZu9qGwZ8YZ9PPWlo1IV3eW3+U0aXblP39zrt+JPf6UhEQ1rUjNBULN+utyuaDNW34kpAVuSOeMTyWbSNWnooFu+QFNWQ4d/Ox4IPWx41fP/fB/Rjeoz08ezPA9TysMtmnOXfGN7Ui3xIYLDALrlDLOP09qtJuY2OeL0+QZXdRnR1nxRVBF/SOyKKPpcrn9mWzH4rH9IidE+PTNU2182+hOgSItrE1slByS24vaLvJpxOqe4Pduf3HJkZ+jLqUz9rRzB7p8gKcgWZwV1L8JtUS5Z2JxZSOCuBoMTQihMzLbCPA0KqGMAljRQjONklW/wjnXKy8vxT/Elvm3/KiMUMOoV0/vnDYlhec0SMKtt3/kKMyOt33tj2bqxQLsTjSGLl+EAsNhCnTyRGktW55EgCn/A4PlnWn+Mg8bgZrWqHxTbPwMuyy1u5YeZF2SUM7JRhddwRgiRuxpmgJmxn9ZW7XpcF3ViX/ar6ptRpGJ0S9Adg4qhb9sI3vbL7qNJV/y4i07t5TZBiho1imFoMz3gED+CtjYUxvP4SOxov4bFoNPg5aR1e+G4UgDPoedJTpogyCJ7oYvRqoVS0MQAy+CoNEdTDUjok5ZHZL/WtjV7rFj3PKQE3iKp7ou+rIxN3b9LB1dGjeT4cvKo3FrnWpYpuaFd/h3dtV8UeKN1Y9hpR3dt4p0H/zKuPQq0kZQUIIpuDfoiETsnIk+gCWMJZUXHtE8V9LkUc2TE8vOMbO4ax/MACabzyaGXc7u3FBr11ThBdB8SIeMAlCntG2KThHSPsaj2Dc9KNyY2a0KZ7ODaTHoRiFkeYz+shZBpCS4X6471KKKnuHd84edfk5F37d1XO5bbkcltu2ZLNbvnPXiUVAnVvprJrP+NObryjxrllS65md6Tm6wzFHRR4dY3QUUjb7MgxaIixU8hspi98fl/Xc+IB4iU66eCVL9YfAfahiSUt4TONS8x0D8W7u8vd3fGWx6OXlM/U1IoU/s61PGhpyXRFa3eReq2qG56lvmYtXavCC1iN7lbiBpWxXHU+cSlztVLVz0tVN600fVsLxaVDknhYioeoXP3t4lqV1r79MAw0GCI1FTL1YIGzPL1MMlJ9ZsN9P7lvA2yr9ZFUzwzPrVgxN/x/SS+chwB4nGNgZGBgAOLPrYdY4vltvjJwM78AijDUqG5oRND/XzNPZboF5HIwMIFEAU/lC+J4nGNgZGBgDvqfBSRfMAAB81QGRgZUoA0AVvYDbwAAAHicY2BgYGB+MTQwAM8EJo8AAAAAAE4AmgDoAQoBLAFOAXABmgHEAe4CGgKcAugEmgS8BNYE8gUOBSoFegXQBf4GRAZmBrYHGAeQCBgIUghqCP4JRgm+CdoKBAo+CoQKugr0C1QLmgvAeJxjYGRgYNBmTGEQZQABJiDmAkIGhv9gPgMAGJQBvAB4nG2RPU7DMBiG3/QP0UoIBGJh8QILavozdmRo9w7d09RpUzlx5LgVvQMn4BAcgoEzcAgOwVvzSZVQbcnf48fvFysJgGt8IcJxROiG9TgauODuj5ukG+EW+UG4jR4ehTv0Q+EunjER7uEWmk+IWpc0d3gVbuAKb8JN+nfhFvlDuI17fAp36L+Fu1jgR7iHp+jF7Arbz1Nb1nO93pnEncSJFtrVuS3VKB6e5EyX2iVer9TyoOr9eux9pjJnCzW1pdfGWFU5u9WpjzfeV5PBIBMfp7aAwQ4FLPrIkbKWqDHn+67pDRK4s4lzbsEux5qHvcIIMb/nueSMyTKkE3jWFdNLHLjW2PPmMa1Hxn3GjGW/wjT0HtOG09JU4WxLk9LH2ISuiv9twJn9y8fh9uIXI+BknAAAAHicbY7ZboMwEEW5CVBCSLrv+76kfJRjTwHFsdGAG+Xvy5JUfehIHp0rnxmNN/D6ir3/a4YBhvARIMQOIowQY4wEE0yxiz3s4wCHOMIxTnCKM5zjApe4wjVucIs73OMBj3jCM17wije84wMzfHqJ0EVmUkmmJo77oOmrHvfIRZbXsTCZplTZldlgb3TYGVHProwFs11t1A57tcON2rErR3PBqcwF1/6ctI6k0GSU4JHMSS6WghdJQ99sTbfuN7QLJ9vQ37dNrgyktnIxlDYLJNuqitpRbYWKFNuyDT6pog6oOYKHtKakeakqKjHXpPwlGRcsC+OqxLIiJpXqoqqDMreG2l5bv9Ri3TRX+c23DZna9WFFgmXuO6Ps1Jm/w6ErW8N3FbHn/QC444j0AA==)
|
|
@@ -3224,13 +3224,13 @@ const Qn = R`
|
|
|
3224
3224
|
--lumo-icons-user: '\\ea2a';
|
|
3225
3225
|
}
|
|
3226
3226
|
`;
|
|
3227
|
-
ot("font-icons",
|
|
3227
|
+
ot("font-icons", ea);
|
|
3228
3228
|
/**
|
|
3229
3229
|
* @license
|
|
3230
3230
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
3231
3231
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
3232
3232
|
*/
|
|
3233
|
-
const
|
|
3233
|
+
const Os = R`
|
|
3234
3234
|
[part$='button'] {
|
|
3235
3235
|
flex: none;
|
|
3236
3236
|
width: 1em;
|
|
@@ -3258,13 +3258,13 @@ const Ms = R`
|
|
|
3258
3258
|
display: block;
|
|
3259
3259
|
}
|
|
3260
3260
|
`;
|
|
3261
|
-
Q("",
|
|
3261
|
+
Q("", Os, { moduleId: "lumo-field-button" });
|
|
3262
3262
|
/**
|
|
3263
3263
|
* @license
|
|
3264
3264
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
3265
3265
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
3266
3266
|
*/
|
|
3267
|
-
const
|
|
3267
|
+
const ta = R`
|
|
3268
3268
|
:host {
|
|
3269
3269
|
--_helper-spacing: var(--vaadin-input-field-helper-spacing, 0.4em);
|
|
3270
3270
|
}
|
|
@@ -3326,7 +3326,7 @@ const ea = R`
|
|
|
3326
3326
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
3327
3327
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
3328
3328
|
*/
|
|
3329
|
-
const
|
|
3329
|
+
const Is = R`
|
|
3330
3330
|
[part='label'] {
|
|
3331
3331
|
align-self: flex-start;
|
|
3332
3332
|
color: var(--vaadin-input-field-label-color, var(--lumo-secondary-text-color));
|
|
@@ -3439,13 +3439,13 @@ const Os = R`
|
|
|
3439
3439
|
margin-right: calc(var(--lumo-border-radius-m) / 4);
|
|
3440
3440
|
}
|
|
3441
3441
|
`;
|
|
3442
|
-
Q("",
|
|
3442
|
+
Q("", Is, { moduleId: "lumo-required-field" });
|
|
3443
3443
|
/**
|
|
3444
3444
|
* @license
|
|
3445
3445
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
3446
3446
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
3447
3447
|
*/
|
|
3448
|
-
const
|
|
3448
|
+
const ia = R`
|
|
3449
3449
|
:host {
|
|
3450
3450
|
--lumo-text-field-size: var(--lumo-size-m);
|
|
3451
3451
|
color: var(--vaadin-input-field-value-color, var(--lumo-body-text-color));
|
|
@@ -3576,11 +3576,11 @@ const ta = R`
|
|
|
3576
3576
|
[part='clear-button']::before {
|
|
3577
3577
|
content: var(--lumo-icons-cross);
|
|
3578
3578
|
}
|
|
3579
|
-
`,
|
|
3580
|
-
Q("",
|
|
3579
|
+
`, Fs = [Is, Os, ta, ia];
|
|
3580
|
+
Q("", Fs, {
|
|
3581
3581
|
moduleId: "lumo-input-field-shared-styles"
|
|
3582
3582
|
});
|
|
3583
|
-
const
|
|
3583
|
+
const oa = R`
|
|
3584
3584
|
[part='toggle-button']::before {
|
|
3585
3585
|
content: var(--lumo-icons-calendar);
|
|
3586
3586
|
}
|
|
@@ -3603,7 +3603,7 @@ const ia = R`
|
|
|
3603
3603
|
--_lumo-text-field-overflow-mask-image: none;
|
|
3604
3604
|
}
|
|
3605
3605
|
`;
|
|
3606
|
-
Q("vaadin-date-picker", [
|
|
3606
|
+
Q("vaadin-date-picker", [Fs, oa], { moduleId: "lumo-date-picker" });
|
|
3607
3607
|
/**
|
|
3608
3608
|
@license
|
|
3609
3609
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -3625,9 +3625,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3625
3625
|
Code distributed by Google as part of the polymer project is also
|
|
3626
3626
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3627
3627
|
*/
|
|
3628
|
-
let
|
|
3628
|
+
let sa = /(url\()([^)]*)(\))/g, ra = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, Pt, ve;
|
|
3629
3629
|
function mt(o, t) {
|
|
3630
|
-
if (o &&
|
|
3630
|
+
if (o && ra.test(o) || o === "//")
|
|
3631
3631
|
return o;
|
|
3632
3632
|
if (Pt === void 0) {
|
|
3633
3633
|
Pt = !1;
|
|
@@ -3646,7 +3646,7 @@ function mt(o, t) {
|
|
|
3646
3646
|
return ve || (ve = document.implementation.createHTMLDocument("temp"), ve.base = ve.createElement("base"), ve.head.appendChild(ve.base), ve.anchor = ve.createElement("a"), ve.body.appendChild(ve.anchor)), ve.base.href = t, ve.anchor.href = o, ve.anchor.href || o;
|
|
3647
3647
|
}
|
|
3648
3648
|
function Wi(o, t) {
|
|
3649
|
-
return o.replace(
|
|
3649
|
+
return o.replace(sa, function(e, i, s, r) {
|
|
3650
3650
|
return i + "'" + mt(s.replace(/["']/g, ""), t) + "'" + r;
|
|
3651
3651
|
});
|
|
3652
3652
|
}
|
|
@@ -3662,9 +3662,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3662
3662
|
Code distributed by Google as part of the polymer project is also
|
|
3663
3663
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3664
3664
|
*/
|
|
3665
|
-
const
|
|
3665
|
+
const Ns = !window.ShadyDOM || !window.ShadyDOM.inUse;
|
|
3666
3666
|
!window.ShadyCSS || window.ShadyCSS.nativeCss;
|
|
3667
|
-
const
|
|
3667
|
+
const na = Ns && "adoptedStyleSheets" in Document.prototype && "replaceSync" in CSSStyleSheet.prototype && // Since spec may change, feature detect exact API we need
|
|
3668
3668
|
(() => {
|
|
3669
3669
|
try {
|
|
3670
3670
|
const o = new CSSStyleSheet();
|
|
@@ -3675,11 +3675,11 @@ const ra = Fs && "adoptedStyleSheets" in Document.prototype && "replaceSync" in
|
|
|
3675
3675
|
return !1;
|
|
3676
3676
|
}
|
|
3677
3677
|
})();
|
|
3678
|
-
let
|
|
3678
|
+
let aa = window.Polymer && window.Polymer.rootPath || qi(document.baseURI || window.location.href), Rt = window.Polymer && window.Polymer.sanitizeDOMValue || void 0;
|
|
3679
3679
|
window.Polymer && window.Polymer.setPassiveTouchGestures;
|
|
3680
|
-
let
|
|
3680
|
+
let Ht = window.Polymer && window.Polymer.strictTemplatePolicy || !1, la = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, zs = window.Polymer && window.Polymer.legacyOptimizations || !1, Ls = window.Polymer && window.Polymer.legacyWarnings || !1, ca = window.Polymer && window.Polymer.syncInitialRender || !1, xi = window.Polymer && window.Polymer.legacyUndefined || !1, ua = window.Polymer && window.Polymer.orderedComputed || !1, ko = window.Polymer && window.Polymer.removeNestedTemplates || !1, da = window.Polymer && window.Polymer.fastDomIf || !1, Po = window.Polymer && window.Polymer.suppressTemplateNotifications || !1;
|
|
3681
3681
|
window.Polymer && window.Polymer.legacyNoObservedAttributes;
|
|
3682
|
-
let
|
|
3682
|
+
let ha = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
|
|
3683
3683
|
/**
|
|
3684
3684
|
@license
|
|
3685
3685
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -3689,14 +3689,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3689
3689
|
Code distributed by Google as part of the polymer project is also
|
|
3690
3690
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3691
3691
|
*/
|
|
3692
|
-
let
|
|
3692
|
+
let fa = 0;
|
|
3693
3693
|
const ne = function(o) {
|
|
3694
3694
|
let t = (
|
|
3695
3695
|
/** @type {!MixinFunction} */
|
|
3696
3696
|
o.__mixinApplications
|
|
3697
3697
|
);
|
|
3698
3698
|
t || (t = /* @__PURE__ */ new WeakMap(), o.__mixinApplications = t);
|
|
3699
|
-
let e =
|
|
3699
|
+
let e = fa++;
|
|
3700
3700
|
function i(s) {
|
|
3701
3701
|
let r = (
|
|
3702
3702
|
/** @type {!MixinFunction} */
|
|
@@ -3727,14 +3727,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3727
3727
|
Code distributed by Google as part of the polymer project is also
|
|
3728
3728
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3729
3729
|
*/
|
|
3730
|
-
let Ki = {},
|
|
3731
|
-
function
|
|
3732
|
-
Ki[o] =
|
|
3730
|
+
let Ki = {}, $s = {};
|
|
3731
|
+
function To(o, t) {
|
|
3732
|
+
Ki[o] = $s[o.toLowerCase()] = t;
|
|
3733
3733
|
}
|
|
3734
|
-
function
|
|
3735
|
-
return Ki[o] ||
|
|
3734
|
+
function Mo(o) {
|
|
3735
|
+
return Ki[o] || $s[o.toLowerCase()];
|
|
3736
3736
|
}
|
|
3737
|
-
function
|
|
3737
|
+
function pa(o) {
|
|
3738
3738
|
o.querySelector("style") && console.warn("dom-module %s has style outside template", o.id);
|
|
3739
3739
|
}
|
|
3740
3740
|
class yt extends HTMLElement {
|
|
@@ -3755,7 +3755,7 @@ class yt extends HTMLElement {
|
|
|
3755
3755
|
*/
|
|
3756
3756
|
static import(t, e) {
|
|
3757
3757
|
if (t) {
|
|
3758
|
-
let i =
|
|
3758
|
+
let i = Mo(t);
|
|
3759
3759
|
return i && e ? i.querySelector(e) : i;
|
|
3760
3760
|
}
|
|
3761
3761
|
return null;
|
|
@@ -3803,9 +3803,9 @@ class yt extends HTMLElement {
|
|
|
3803
3803
|
*/
|
|
3804
3804
|
register(t) {
|
|
3805
3805
|
if (t = t || this.id, t) {
|
|
3806
|
-
if (
|
|
3807
|
-
throw
|
|
3808
|
-
this.id = t,
|
|
3806
|
+
if (Ht && Mo(t) !== void 0)
|
|
3807
|
+
throw To(t, null), new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);
|
|
3808
|
+
this.id = t, To(t, this), pa(this);
|
|
3809
3809
|
}
|
|
3810
3810
|
}
|
|
3811
3811
|
}
|
|
@@ -3820,14 +3820,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3820
3820
|
Code distributed by Google as part of the polymer project is also
|
|
3821
3821
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3822
3822
|
*/
|
|
3823
|
-
const
|
|
3824
|
-
function
|
|
3823
|
+
const ma = "link[rel=import][type~=css]", _a = "include", Oo = "shady-unscoped";
|
|
3824
|
+
function Rs(o) {
|
|
3825
3825
|
return (
|
|
3826
3826
|
/** @type {?DomModule} */
|
|
3827
3827
|
yt.import(o)
|
|
3828
3828
|
);
|
|
3829
3829
|
}
|
|
3830
|
-
function
|
|
3830
|
+
function Io(o) {
|
|
3831
3831
|
let t = o.body ? o.body : o;
|
|
3832
3832
|
const e = Wi(
|
|
3833
3833
|
t.textContent,
|
|
@@ -3835,14 +3835,14 @@ function Oo(o) {
|
|
|
3835
3835
|
), i = document.createElement("style");
|
|
3836
3836
|
return i.textContent = e, i;
|
|
3837
3837
|
}
|
|
3838
|
-
function
|
|
3838
|
+
function ga(o) {
|
|
3839
3839
|
const t = o.trim().split(/\s+/), e = [];
|
|
3840
3840
|
for (let i = 0; i < t.length; i++)
|
|
3841
|
-
e.push(...
|
|
3841
|
+
e.push(...va(t[i]));
|
|
3842
3842
|
return e;
|
|
3843
3843
|
}
|
|
3844
|
-
function
|
|
3845
|
-
const t =
|
|
3844
|
+
function va(o) {
|
|
3845
|
+
const t = Rs(o);
|
|
3846
3846
|
if (!t)
|
|
3847
3847
|
return console.warn("Could not find style data in module named", o), [];
|
|
3848
3848
|
if (t._styles === void 0) {
|
|
@@ -3852,7 +3852,7 @@ function ga(o) {
|
|
|
3852
3852
|
/** @type {?HTMLTemplateElement} */
|
|
3853
3853
|
t.querySelector("template")
|
|
3854
3854
|
);
|
|
3855
|
-
i && e.push(...
|
|
3855
|
+
i && e.push(...Hs(
|
|
3856
3856
|
i,
|
|
3857
3857
|
/** @type {templateWithAssetPath} */
|
|
3858
3858
|
t.assetpath
|
|
@@ -3860,12 +3860,12 @@ function ga(o) {
|
|
|
3860
3860
|
}
|
|
3861
3861
|
return t._styles;
|
|
3862
3862
|
}
|
|
3863
|
-
function
|
|
3863
|
+
function Hs(o, t) {
|
|
3864
3864
|
if (!o._styles) {
|
|
3865
3865
|
const e = [], i = o.content.querySelectorAll("style");
|
|
3866
3866
|
for (let s = 0; s < i.length; s++) {
|
|
3867
|
-
let r = i[s], n = r.getAttribute(
|
|
3868
|
-
n && e.push(...
|
|
3867
|
+
let r = i[s], n = r.getAttribute(_a);
|
|
3868
|
+
n && e.push(...ga(n).filter(function(a, l, c) {
|
|
3869
3869
|
return c.indexOf(a) === l;
|
|
3870
3870
|
})), t && (r.textContent = Wi(
|
|
3871
3871
|
r.textContent,
|
|
@@ -3877,21 +3877,21 @@ function Rs(o, t) {
|
|
|
3877
3877
|
}
|
|
3878
3878
|
return o._styles;
|
|
3879
3879
|
}
|
|
3880
|
-
function
|
|
3881
|
-
let t =
|
|
3880
|
+
function ya(o) {
|
|
3881
|
+
let t = Rs(o);
|
|
3882
3882
|
return t ? Bs(t) : [];
|
|
3883
3883
|
}
|
|
3884
3884
|
function Bs(o) {
|
|
3885
|
-
const t = [], e = o.querySelectorAll(
|
|
3885
|
+
const t = [], e = o.querySelectorAll(ma);
|
|
3886
3886
|
for (let i = 0; i < e.length; i++) {
|
|
3887
3887
|
let s = e[i];
|
|
3888
3888
|
if (s.import) {
|
|
3889
|
-
const r = s.import, n = s.hasAttribute(
|
|
3889
|
+
const r = s.import, n = s.hasAttribute(Oo);
|
|
3890
3890
|
if (n && !r._unscopedStyle) {
|
|
3891
|
-
const a =
|
|
3892
|
-
a.setAttribute(
|
|
3891
|
+
const a = Io(r);
|
|
3892
|
+
a.setAttribute(Oo, ""), r._unscopedStyle = a;
|
|
3893
3893
|
} else
|
|
3894
|
-
r._style || (r._style =
|
|
3894
|
+
r._style || (r._style = Io(r));
|
|
3895
3895
|
t.push(n ? r._unscopedStyle : r._style);
|
|
3896
3896
|
}
|
|
3897
3897
|
}
|
|
@@ -3923,7 +3923,7 @@ function Ue(o) {
|
|
|
3923
3923
|
let t = o.indexOf(".");
|
|
3924
3924
|
return t === -1 ? o : o.slice(0, t);
|
|
3925
3925
|
}
|
|
3926
|
-
function
|
|
3926
|
+
function Ys(o, t) {
|
|
3927
3927
|
return o.indexOf(t + ".") === 0;
|
|
3928
3928
|
}
|
|
3929
3929
|
function bt(o, t) {
|
|
@@ -3932,8 +3932,8 @@ function bt(o, t) {
|
|
|
3932
3932
|
function xt(o, t, e) {
|
|
3933
3933
|
return t + e.slice(o.length);
|
|
3934
3934
|
}
|
|
3935
|
-
function
|
|
3936
|
-
return o === t ||
|
|
3935
|
+
function ba(o, t) {
|
|
3936
|
+
return o === t || Ys(o, t) || bt(o, t);
|
|
3937
3937
|
}
|
|
3938
3938
|
function dt(o) {
|
|
3939
3939
|
if (Array.isArray(o)) {
|
|
@@ -3947,11 +3947,11 @@ function dt(o) {
|
|
|
3947
3947
|
} else
|
|
3948
3948
|
return o;
|
|
3949
3949
|
}
|
|
3950
|
-
function
|
|
3950
|
+
function js(o) {
|
|
3951
3951
|
return Array.isArray(o) ? dt(o).split(".") : o.toString().split(".");
|
|
3952
3952
|
}
|
|
3953
3953
|
function me(o, t, e) {
|
|
3954
|
-
let i = o, s =
|
|
3954
|
+
let i = o, s = js(t);
|
|
3955
3955
|
for (let r = 0; r < s.length; r++) {
|
|
3956
3956
|
if (!i)
|
|
3957
3957
|
return;
|
|
@@ -3960,8 +3960,8 @@ function me(o, t, e) {
|
|
|
3960
3960
|
}
|
|
3961
3961
|
return e && (e.path = s.join(".")), i;
|
|
3962
3962
|
}
|
|
3963
|
-
function
|
|
3964
|
-
let i = o, s =
|
|
3963
|
+
function Fo(o, t, e) {
|
|
3964
|
+
let i = o, s = js(t), r = s[s.length - 1];
|
|
3965
3965
|
if (s.length > 1) {
|
|
3966
3966
|
for (let n = 0; n < s.length - 1; n++) {
|
|
3967
3967
|
let a = s[n];
|
|
@@ -3982,15 +3982,15 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3982
3982
|
Code distributed by Google as part of the polymer project is also
|
|
3983
3983
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3984
3984
|
*/
|
|
3985
|
-
const
|
|
3986
|
-
function
|
|
3987
|
-
return
|
|
3988
|
-
|
|
3985
|
+
const Bt = {}, xa = /-[a-z]/g, wa = /([A-Z])/g;
|
|
3986
|
+
function Us(o) {
|
|
3987
|
+
return Bt[o] || (Bt[o] = o.indexOf("-") < 0 ? o : o.replace(
|
|
3988
|
+
xa,
|
|
3989
3989
|
(t) => t[1].toUpperCase()
|
|
3990
3990
|
));
|
|
3991
3991
|
}
|
|
3992
3992
|
function Wt(o) {
|
|
3993
|
-
return
|
|
3993
|
+
return Bt[o] || (Bt[o] = o.replace(wa, "-$1").toLowerCase());
|
|
3994
3994
|
}
|
|
3995
3995
|
/**
|
|
3996
3996
|
@license
|
|
@@ -4001,9 +4001,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
4001
4001
|
Code distributed by Google as part of the polymer project is also
|
|
4002
4002
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
4003
4003
|
*/
|
|
4004
|
-
let
|
|
4005
|
-
new window.MutationObserver(
|
|
4006
|
-
function
|
|
4004
|
+
let Ea = 0, Vs = 0, Je = [], Sa = 0, Ei = !1, Ws = document.createTextNode("");
|
|
4005
|
+
new window.MutationObserver(Aa).observe(Ws, { characterData: !0 });
|
|
4006
|
+
function Aa() {
|
|
4007
4007
|
Ei = !1;
|
|
4008
4008
|
const o = Je.length;
|
|
4009
4009
|
for (let t = 0; t < o; t++) {
|
|
@@ -4017,9 +4017,9 @@ function Sa() {
|
|
|
4017
4017
|
});
|
|
4018
4018
|
}
|
|
4019
4019
|
}
|
|
4020
|
-
Je.splice(0, o),
|
|
4020
|
+
Je.splice(0, o), Vs += o;
|
|
4021
4021
|
}
|
|
4022
|
-
const
|
|
4022
|
+
const Ca = {
|
|
4023
4023
|
/**
|
|
4024
4024
|
* Returns a sub-module with the async interface providing the provided
|
|
4025
4025
|
* delay.
|
|
@@ -4059,7 +4059,7 @@ const Aa = {
|
|
|
4059
4059
|
cancel(o) {
|
|
4060
4060
|
window.clearTimeout(o);
|
|
4061
4061
|
}
|
|
4062
|
-
},
|
|
4062
|
+
}, qs = {
|
|
4063
4063
|
/**
|
|
4064
4064
|
* Enqueues a function called at microtask timing.
|
|
4065
4065
|
*
|
|
@@ -4068,7 +4068,7 @@ const Aa = {
|
|
|
4068
4068
|
* @return {number} Handle used for canceling task
|
|
4069
4069
|
*/
|
|
4070
4070
|
run(o) {
|
|
4071
|
-
return Ei || (Ei = !0,
|
|
4071
|
+
return Ei || (Ei = !0, Ws.textContent = Sa++), Je.push(o), Ea++;
|
|
4072
4072
|
},
|
|
4073
4073
|
/**
|
|
4074
4074
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -4078,7 +4078,7 @@ const Aa = {
|
|
|
4078
4078
|
* @return {void}
|
|
4079
4079
|
*/
|
|
4080
4080
|
cancel(o) {
|
|
4081
|
-
const t = o -
|
|
4081
|
+
const t = o - Vs;
|
|
4082
4082
|
if (t >= 0) {
|
|
4083
4083
|
if (!Je[t])
|
|
4084
4084
|
throw new Error("invalid async handle: " + o);
|
|
@@ -4095,7 +4095,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
4095
4095
|
Code distributed by Google as part of the polymer project is also
|
|
4096
4096
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
4097
4097
|
*/
|
|
4098
|
-
const
|
|
4098
|
+
const Da = qs, Ks = ne(
|
|
4099
4099
|
/**
|
|
4100
4100
|
* @template T
|
|
4101
4101
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -4304,7 +4304,7 @@ const Ca = Ws, qs = ne(
|
|
|
4304
4304
|
* @override
|
|
4305
4305
|
*/
|
|
4306
4306
|
_invalidateProperties() {
|
|
4307
|
-
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0,
|
|
4307
|
+
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0, Da.run(() => {
|
|
4308
4308
|
this.__dataInvalid && (this.__dataInvalid = !1, this._flushProperties());
|
|
4309
4309
|
}));
|
|
4310
4310
|
}
|
|
@@ -4531,23 +4531,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
4531
4531
|
Code distributed by Google as part of the polymer project is also
|
|
4532
4532
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
4533
4533
|
*/
|
|
4534
|
-
const
|
|
4534
|
+
const Gs = {};
|
|
4535
4535
|
let Tt = HTMLElement.prototype;
|
|
4536
4536
|
for (; Tt; ) {
|
|
4537
4537
|
let o = Object.getOwnPropertyNames(Tt);
|
|
4538
4538
|
for (let t = 0; t < o.length; t++)
|
|
4539
|
-
|
|
4539
|
+
Gs[o[t]] = !0;
|
|
4540
4540
|
Tt = Object.getPrototypeOf(Tt);
|
|
4541
4541
|
}
|
|
4542
|
-
const
|
|
4543
|
-
function
|
|
4544
|
-
if (!
|
|
4542
|
+
const ka = window.trustedTypes ? (o) => trustedTypes.isHTML(o) || trustedTypes.isScript(o) || trustedTypes.isScriptURL(o) : () => !1;
|
|
4543
|
+
function Pa(o, t) {
|
|
4544
|
+
if (!Gs[t]) {
|
|
4545
4545
|
let e = o[t];
|
|
4546
4546
|
e !== void 0 && (o.__data ? o._setPendingProperty(t, e) : (o.__dataProto ? o.hasOwnProperty(JSCompiler_renameProperty("__dataProto", o)) || (o.__dataProto = Object.create(o.__dataProto)) : o.__dataProto = {}, o.__dataProto[t] = e));
|
|
4547
4547
|
}
|
|
4548
4548
|
}
|
|
4549
|
-
const
|
|
4550
|
-
const t =
|
|
4549
|
+
const Ta = ne((o) => {
|
|
4550
|
+
const t = Ks(o);
|
|
4551
4551
|
class e extends t {
|
|
4552
4552
|
/**
|
|
4553
4553
|
* Generates property accessors for all attributes in the standard
|
|
@@ -4565,7 +4565,7 @@ const Pa = ne((o) => {
|
|
|
4565
4565
|
this.observedAttributes
|
|
4566
4566
|
);
|
|
4567
4567
|
for (let r = 0; r < s.length; r++)
|
|
4568
|
-
this.prototype._createPropertyAccessor(
|
|
4568
|
+
this.prototype._createPropertyAccessor(Us(s[r]));
|
|
4569
4569
|
}
|
|
4570
4570
|
/**
|
|
4571
4571
|
* Returns an attribute name that corresponds to the given property.
|
|
@@ -4642,7 +4642,7 @@ const Pa = ne((o) => {
|
|
|
4642
4642
|
if (s instanceof Date)
|
|
4643
4643
|
return s.toString();
|
|
4644
4644
|
if (s) {
|
|
4645
|
-
if (
|
|
4645
|
+
if (ka(s))
|
|
4646
4646
|
return (
|
|
4647
4647
|
/** @type {?} */
|
|
4648
4648
|
s
|
|
@@ -4723,7 +4723,7 @@ const Pa = ne((o) => {
|
|
|
4723
4723
|
* @override
|
|
4724
4724
|
*/
|
|
4725
4725
|
_definePropertyAccessor(s, r) {
|
|
4726
|
-
|
|
4726
|
+
Pa(this, s), super._definePropertyAccessor(s, r);
|
|
4727
4727
|
}
|
|
4728
4728
|
/**
|
|
4729
4729
|
* Returns true if this library created an accessor for the given property.
|
|
@@ -4758,23 +4758,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
4758
4758
|
Code distributed by Google as part of the polymer project is also
|
|
4759
4759
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
4760
4760
|
*/
|
|
4761
|
-
const
|
|
4761
|
+
const Ma = {
|
|
4762
4762
|
"dom-if": !0,
|
|
4763
4763
|
"dom-repeat": !0
|
|
4764
4764
|
};
|
|
4765
|
-
let
|
|
4766
|
-
function
|
|
4767
|
-
if (!
|
|
4768
|
-
|
|
4765
|
+
let No = !1, zo = !1;
|
|
4766
|
+
function Oa() {
|
|
4767
|
+
if (!No) {
|
|
4768
|
+
No = !0;
|
|
4769
4769
|
const o = document.createElement("textarea");
|
|
4770
|
-
o.placeholder = "a",
|
|
4770
|
+
o.placeholder = "a", zo = o.placeholder === o.textContent;
|
|
4771
4771
|
}
|
|
4772
|
-
return
|
|
4772
|
+
return zo;
|
|
4773
4773
|
}
|
|
4774
|
-
function
|
|
4775
|
-
|
|
4774
|
+
function Ia(o) {
|
|
4775
|
+
Oa() && o.localName === "textarea" && o.placeholder && o.placeholder === o.textContent && (o.textContent = null);
|
|
4776
4776
|
}
|
|
4777
|
-
const
|
|
4777
|
+
const Fa = (() => {
|
|
4778
4778
|
const o = window.trustedTypes && window.trustedTypes.createPolicy(
|
|
4779
4779
|
"polymer-template-event-attribute-policy",
|
|
4780
4780
|
{
|
|
@@ -4793,19 +4793,19 @@ const Ia = (() => {
|
|
|
4793
4793
|
t.setAttribute(i, s);
|
|
4794
4794
|
};
|
|
4795
4795
|
})();
|
|
4796
|
-
function
|
|
4796
|
+
function Na(o) {
|
|
4797
4797
|
let t = o.getAttribute("is");
|
|
4798
|
-
if (t &&
|
|
4798
|
+
if (t && Ma[t]) {
|
|
4799
4799
|
let e = o;
|
|
4800
4800
|
for (e.removeAttribute("is"), o = e.ownerDocument.createElement(t), e.parentNode.replaceChild(o, e), o.appendChild(e); e.attributes.length; ) {
|
|
4801
4801
|
const { name: i } = e.attributes[0];
|
|
4802
|
-
|
|
4802
|
+
Fa(o, e, i), e.removeAttribute(i);
|
|
4803
4803
|
}
|
|
4804
4804
|
}
|
|
4805
4805
|
return o;
|
|
4806
4806
|
}
|
|
4807
|
-
function
|
|
4808
|
-
let e = t.parentInfo &&
|
|
4807
|
+
function Js(o, t) {
|
|
4808
|
+
let e = t.parentInfo && Js(o, t.parentInfo);
|
|
4809
4809
|
if (e) {
|
|
4810
4810
|
for (let i = e.firstChild, s = 0; i; i = i.nextSibling)
|
|
4811
4811
|
if (t.parentIndex === s++)
|
|
@@ -4813,23 +4813,23 @@ function Gs(o, t) {
|
|
|
4813
4813
|
} else
|
|
4814
4814
|
return o;
|
|
4815
4815
|
}
|
|
4816
|
-
function
|
|
4816
|
+
function za(o, t, e, i) {
|
|
4817
4817
|
i.id && (t[i.id] = e);
|
|
4818
4818
|
}
|
|
4819
|
-
function
|
|
4819
|
+
function La(o, t, e) {
|
|
4820
4820
|
if (e.events && e.events.length)
|
|
4821
4821
|
for (let i = 0, s = e.events, r; i < s.length && (r = s[i]); i++)
|
|
4822
4822
|
o._addMethodEventListenerToNode(t, r.name, r.value, o);
|
|
4823
4823
|
}
|
|
4824
|
-
function
|
|
4824
|
+
function $a(o, t, e, i) {
|
|
4825
4825
|
e.templateInfo && (t._templateInfo = e.templateInfo, t._parentTemplateInfo = i);
|
|
4826
4826
|
}
|
|
4827
|
-
function
|
|
4827
|
+
function Ra(o, t, e) {
|
|
4828
4828
|
return o = o._methodHost || o, function(s) {
|
|
4829
4829
|
o[e] ? o[e](s, s.detail) : console.warn("listener method `" + e + "` not defined");
|
|
4830
4830
|
};
|
|
4831
4831
|
}
|
|
4832
|
-
const
|
|
4832
|
+
const Ha = ne(
|
|
4833
4833
|
/**
|
|
4834
4834
|
* @template T
|
|
4835
4835
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -4956,7 +4956,7 @@ const Ra = ne(
|
|
|
4956
4956
|
/** @type {!HTMLTemplateElement} */
|
|
4957
4957
|
i
|
|
4958
4958
|
);
|
|
4959
|
-
return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, s, r) || n : a.localName === "slot" && (s.hasInsertionPoint = !0),
|
|
4959
|
+
return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, s, r) || n : a.localName === "slot" && (s.hasInsertionPoint = !0), Ia(a), a.firstChild && this._parseTemplateChildNodes(a, s, r), a.hasAttributes && a.hasAttributes() && (n = this._parseTemplateNodeAttributes(a, s, r) || n), n || r.noted;
|
|
4960
4960
|
}
|
|
4961
4961
|
/**
|
|
4962
4962
|
* Parses template child nodes for the given root node.
|
|
@@ -4974,7 +4974,7 @@ const Ra = ne(
|
|
|
4974
4974
|
static _parseTemplateChildNodes(i, s, r) {
|
|
4975
4975
|
if (!(i.localName === "script" || i.localName === "style"))
|
|
4976
4976
|
for (let n = i.firstChild, a = 0, l; n; n = l) {
|
|
4977
|
-
if (n.localName == "template" && (n =
|
|
4977
|
+
if (n.localName == "template" && (n = Na(n)), l = n.nextSibling, n.nodeType === Node.TEXT_NODE) {
|
|
4978
4978
|
let u = l;
|
|
4979
4979
|
for (; u && u.nodeType === Node.TEXT_NODE; )
|
|
4980
4980
|
n.textContent += u.textContent, l = u.nextSibling, i.removeChild(u), u = l;
|
|
@@ -5109,8 +5109,8 @@ const Ra = ne(
|
|
|
5109
5109
|
let l = a.nodeList = new Array(r.length);
|
|
5110
5110
|
a.$ = {};
|
|
5111
5111
|
for (let c = 0, u = r.length, d; c < u && (d = r[c]); c++) {
|
|
5112
|
-
let h = l[c] =
|
|
5113
|
-
|
|
5112
|
+
let h = l[c] = Js(a, d);
|
|
5113
|
+
za(this, a.$, h, d), $a(this, h, d, s), La(this, h, d);
|
|
5114
5114
|
}
|
|
5115
5115
|
return a = /** @type {!StampedTemplate} */
|
|
5116
5116
|
a, a;
|
|
@@ -5131,7 +5131,7 @@ const Ra = ne(
|
|
|
5131
5131
|
*/
|
|
5132
5132
|
_addMethodEventListenerToNode(i, s, r, n) {
|
|
5133
5133
|
n = n || i;
|
|
5134
|
-
let a =
|
|
5134
|
+
let a = Ra(n, s, r);
|
|
5135
5135
|
return this._addEventListenerToNode(i, s, a), a;
|
|
5136
5136
|
}
|
|
5137
5137
|
/**
|
|
@@ -5181,7 +5181,7 @@ const Et = [], Y = {
|
|
|
5181
5181
|
PROPAGATE: "__propagateEffects",
|
|
5182
5182
|
OBSERVE: "__observeEffects",
|
|
5183
5183
|
READ_ONLY: "__readOnly"
|
|
5184
|
-
},
|
|
5184
|
+
}, Xs = "__computeInfo", Ba = /[A-Z]/;
|
|
5185
5185
|
function oi(o, t, e) {
|
|
5186
5186
|
let i = o[t];
|
|
5187
5187
|
if (!i)
|
|
@@ -5208,7 +5208,7 @@ function ht(o, t, e, i, s, r) {
|
|
|
5208
5208
|
}
|
|
5209
5209
|
return !1;
|
|
5210
5210
|
}
|
|
5211
|
-
function
|
|
5211
|
+
function Ya(o, t, e, i, s, r, n, a) {
|
|
5212
5212
|
let l = !1, c = n ? Ue(i) : i, u = t[c];
|
|
5213
5213
|
if (u)
|
|
5214
5214
|
for (let d = 0, h = u.length, f; d < h && (f = u[d]); d++)
|
|
@@ -5221,30 +5221,30 @@ function Gi(o, t) {
|
|
|
5221
5221
|
/** @type {string} */
|
|
5222
5222
|
t.name
|
|
5223
5223
|
);
|
|
5224
|
-
return e == o || !!(t.structured &&
|
|
5224
|
+
return e == o || !!(t.structured && Ys(e, o)) || !!(t.wildcard && bt(e, o));
|
|
5225
5225
|
} else
|
|
5226
5226
|
return !0;
|
|
5227
5227
|
}
|
|
5228
|
-
function
|
|
5228
|
+
function Lo(o, t, e, i, s) {
|
|
5229
5229
|
let r = typeof s.method == "string" ? o[s.method] : s.method, n = s.property;
|
|
5230
5230
|
r ? r.call(o, o.__data[n], i[n]) : s.dynamicFn || console.warn("observer method `" + s.method + "` not defined");
|
|
5231
5231
|
}
|
|
5232
|
-
function
|
|
5232
|
+
function ja(o, t, e, i, s) {
|
|
5233
5233
|
let r = o[Y.NOTIFY], n, a = wt++;
|
|
5234
5234
|
for (let c in t)
|
|
5235
|
-
t[c] && (r &&
|
|
5235
|
+
t[c] && (r && Ya(o, r, a, c, e, i, s) || s && Ua(o, c, e)) && (n = !0);
|
|
5236
5236
|
let l;
|
|
5237
5237
|
n && (l = o.__dataHost) && l._invalidateProperties && l._invalidateProperties();
|
|
5238
5238
|
}
|
|
5239
|
-
function
|
|
5239
|
+
function Ua(o, t, e) {
|
|
5240
5240
|
let i = Ue(t);
|
|
5241
5241
|
if (i !== t) {
|
|
5242
5242
|
let s = Wt(i) + "-changed";
|
|
5243
|
-
return
|
|
5243
|
+
return Zs(o, s, e[t], t), !0;
|
|
5244
5244
|
}
|
|
5245
5245
|
return !1;
|
|
5246
5246
|
}
|
|
5247
|
-
function
|
|
5247
|
+
function Zs(o, t, e, i) {
|
|
5248
5248
|
let s = {
|
|
5249
5249
|
value: e,
|
|
5250
5250
|
queueProperty: !0
|
|
@@ -5254,18 +5254,18 @@ function Xs(o, t, e, i) {
|
|
|
5254
5254
|
o
|
|
5255
5255
|
).dispatchEvent(new CustomEvent(t, { detail: s }));
|
|
5256
5256
|
}
|
|
5257
|
-
function
|
|
5257
|
+
function Va(o, t, e, i, s, r) {
|
|
5258
5258
|
let a = (r ? Ue(t) : t) != t ? t : null, l = a ? me(o, a) : o.__data[t];
|
|
5259
|
-
a && l === void 0 && (l = e[t]),
|
|
5259
|
+
a && l === void 0 && (l = e[t]), Zs(o, s.eventName, l, a);
|
|
5260
5260
|
}
|
|
5261
|
-
function
|
|
5261
|
+
function Wa(o, t, e, i, s) {
|
|
5262
5262
|
let r, n = (
|
|
5263
5263
|
/** @type {Object} */
|
|
5264
5264
|
o.detail
|
|
5265
5265
|
), a = n && n.path;
|
|
5266
5266
|
a ? (i = xt(e, i, a), r = n && n.value) : r = o.currentTarget[e], r = s ? !r : r, (!t[Y.READ_ONLY] || !t[Y.READ_ONLY][i]) && t._setPendingPropertyOrPath(i, r, !0, !!a) && (!n || !n.queueProperty) && t._invalidateProperties();
|
|
5267
5267
|
}
|
|
5268
|
-
function
|
|
5268
|
+
function qa(o, t, e, i, s) {
|
|
5269
5269
|
let r = o.__data[t];
|
|
5270
5270
|
Rt && (r = Rt(
|
|
5271
5271
|
r,
|
|
@@ -5275,17 +5275,17 @@ function Wa(o, t, e, i, s) {
|
|
|
5275
5275
|
o
|
|
5276
5276
|
)), o._propertyToAttribute(t, s.attrName, r);
|
|
5277
5277
|
}
|
|
5278
|
-
function
|
|
5278
|
+
function Ka(o, t, e, i) {
|
|
5279
5279
|
let s = o[Y.COMPUTE];
|
|
5280
5280
|
if (s)
|
|
5281
|
-
if (
|
|
5281
|
+
if (ua) {
|
|
5282
5282
|
wt++;
|
|
5283
|
-
const r =
|
|
5283
|
+
const r = Ja(o), n = [];
|
|
5284
5284
|
for (let l in t)
|
|
5285
|
-
|
|
5285
|
+
$o(l, s, n, r, i);
|
|
5286
5286
|
let a;
|
|
5287
5287
|
for (; a = n.shift(); )
|
|
5288
|
-
|
|
5288
|
+
Qs(o, "", t, e, a) && $o(a.methodInfo, s, n, r, i);
|
|
5289
5289
|
Object.assign(
|
|
5290
5290
|
/** @type {!Object} */
|
|
5291
5291
|
e,
|
|
@@ -5309,7 +5309,7 @@ function qa(o, t, e, i) {
|
|
|
5309
5309
|
), r = o.__dataPending, o.__dataPending = null;
|
|
5310
5310
|
}
|
|
5311
5311
|
}
|
|
5312
|
-
const
|
|
5312
|
+
const Ga = (o, t, e) => {
|
|
5313
5313
|
let i = 0, s = t.length - 1, r = -1;
|
|
5314
5314
|
for (; i <= s; ) {
|
|
5315
5315
|
const n = i + s >> 1, a = e.get(t[n].methodInfo) - e.get(o.methodInfo);
|
|
@@ -5323,20 +5323,20 @@ const Ka = (o, t, e) => {
|
|
|
5323
5323
|
}
|
|
5324
5324
|
}
|
|
5325
5325
|
r < 0 && (r = s + 1), t.splice(r, 0, o);
|
|
5326
|
-
},
|
|
5326
|
+
}, $o = (o, t, e, i, s) => {
|
|
5327
5327
|
const r = s ? Ue(o) : o, n = t[r];
|
|
5328
5328
|
if (n)
|
|
5329
5329
|
for (let a = 0; a < n.length; a++) {
|
|
5330
5330
|
const l = n[a];
|
|
5331
|
-
l.info.lastRun !== wt && (!s || Gi(o, l.trigger)) && (l.info.lastRun = wt,
|
|
5331
|
+
l.info.lastRun !== wt && (!s || Gi(o, l.trigger)) && (l.info.lastRun = wt, Ga(l.info, e, i));
|
|
5332
5332
|
}
|
|
5333
5333
|
};
|
|
5334
|
-
function
|
|
5334
|
+
function Ja(o) {
|
|
5335
5335
|
let t = o.constructor.__orderedComputedDeps;
|
|
5336
5336
|
if (!t) {
|
|
5337
5337
|
t = /* @__PURE__ */ new Map();
|
|
5338
5338
|
const e = o[Y.COMPUTE];
|
|
5339
|
-
let { counts: i, ready: s, total: r } =
|
|
5339
|
+
let { counts: i, ready: s, total: r } = Xa(o), n;
|
|
5340
5340
|
for (; n = s.shift(); ) {
|
|
5341
5341
|
t.set(n, t.size);
|
|
5342
5342
|
const a = e[n];
|
|
@@ -5350,8 +5350,8 @@ function Ga(o) {
|
|
|
5350
5350
|
}
|
|
5351
5351
|
return t;
|
|
5352
5352
|
}
|
|
5353
|
-
function
|
|
5354
|
-
const t = o[
|
|
5353
|
+
function Xa(o) {
|
|
5354
|
+
const t = o[Xs], e = {}, i = o[Y.COMPUTE], s = [];
|
|
5355
5355
|
let r = 0;
|
|
5356
5356
|
for (let n in t) {
|
|
5357
5357
|
const a = t[n];
|
|
@@ -5361,14 +5361,14 @@ function Ja(o) {
|
|
|
5361
5361
|
t[n] || s.push(n);
|
|
5362
5362
|
return { counts: e, ready: s, total: r };
|
|
5363
5363
|
}
|
|
5364
|
-
function
|
|
5364
|
+
function Qs(o, t, e, i, s) {
|
|
5365
5365
|
let r = Si(o, t, e, i, s);
|
|
5366
5366
|
if (r === Et)
|
|
5367
5367
|
return !1;
|
|
5368
5368
|
let n = s.methodInfo;
|
|
5369
5369
|
return o.__dataHasAccessor && o.__dataHasAccessor[n] ? o._setPendingProperty(n, r, !0) : (o[n] = r, !1);
|
|
5370
5370
|
}
|
|
5371
|
-
function
|
|
5371
|
+
function Za(o, t, e) {
|
|
5372
5372
|
let i = o.__dataLinkedPaths;
|
|
5373
5373
|
if (i) {
|
|
5374
5374
|
let s;
|
|
@@ -5381,17 +5381,17 @@ function Xa(o, t, e) {
|
|
|
5381
5381
|
function si(o, t, e, i, s, r, n) {
|
|
5382
5382
|
e.bindings = e.bindings || [];
|
|
5383
5383
|
let a = { kind: i, target: s, parts: r, literal: n, isCompound: r.length !== 1 };
|
|
5384
|
-
if (e.bindings.push(a),
|
|
5384
|
+
if (e.bindings.push(a), ol(a)) {
|
|
5385
5385
|
let { event: c, negate: u } = a.parts[0];
|
|
5386
5386
|
a.listenerEvent = c || Wt(s) + "-changed", a.listenerNegate = u;
|
|
5387
5387
|
}
|
|
5388
5388
|
let l = t.nodeInfoList.length;
|
|
5389
5389
|
for (let c = 0; c < a.parts.length; c++) {
|
|
5390
5390
|
let u = a.parts[c];
|
|
5391
|
-
u.compoundIndex = c,
|
|
5391
|
+
u.compoundIndex = c, Qa(o, t, a, u, l);
|
|
5392
5392
|
}
|
|
5393
5393
|
}
|
|
5394
|
-
function
|
|
5394
|
+
function Qa(o, t, e, i, s) {
|
|
5395
5395
|
if (!i.literal)
|
|
5396
5396
|
if (e.kind === "attribute" && e.target[0] === "-")
|
|
5397
5397
|
console.warn("Cannot set attribute " + e.target + ' because "-" is not a valid attribute starting character');
|
|
@@ -5399,26 +5399,26 @@ function Za(o, t, e, i, s) {
|
|
|
5399
5399
|
let r = i.dependencies, n = { index: s, binding: e, part: i, evaluator: o };
|
|
5400
5400
|
for (let a = 0; a < r.length; a++) {
|
|
5401
5401
|
let l = r[a];
|
|
5402
|
-
typeof l == "string" && (l =
|
|
5403
|
-
fn:
|
|
5402
|
+
typeof l == "string" && (l = tr(l), l.wildcard = !0), o._addTemplatePropertyEffect(t, l.rootProperty, {
|
|
5403
|
+
fn: el,
|
|
5404
5404
|
info: n,
|
|
5405
5405
|
trigger: l
|
|
5406
5406
|
});
|
|
5407
5407
|
}
|
|
5408
5408
|
}
|
|
5409
5409
|
}
|
|
5410
|
-
function
|
|
5410
|
+
function el(o, t, e, i, s, r, n) {
|
|
5411
5411
|
let a = n[s.index], l = s.binding, c = s.part;
|
|
5412
5412
|
if (r && c.source && t.length > c.source.length && l.kind == "property" && !l.isCompound && a.__isPropertyEffectsClient && a.__dataHasAccessor && a.__dataHasAccessor[l.target]) {
|
|
5413
5413
|
let u = e[t];
|
|
5414
5414
|
t = xt(c.source, l.target, t), a._setPendingPropertyOrPath(t, u, !1, !0) && o._enqueueClient(a);
|
|
5415
5415
|
} else {
|
|
5416
5416
|
let u = s.evaluator._evaluateBinding(o, c, t, e, i, r);
|
|
5417
|
-
u !== Et &&
|
|
5417
|
+
u !== Et && tl(o, a, l, c, u);
|
|
5418
5418
|
}
|
|
5419
5419
|
}
|
|
5420
|
-
function
|
|
5421
|
-
if (s =
|
|
5420
|
+
function tl(o, t, e, i, s) {
|
|
5421
|
+
if (s = il(t, s, e, i), Rt && (s = Rt(s, e.target, e.kind, t)), e.kind == "attribute")
|
|
5422
5422
|
o._valueToNodeAttribute(
|
|
5423
5423
|
/** @type {Element} */
|
|
5424
5424
|
t,
|
|
@@ -5430,17 +5430,17 @@ function el(o, t, e, i, s) {
|
|
|
5430
5430
|
t.__isPropertyEffectsClient && t.__dataHasAccessor && t.__dataHasAccessor[r] ? (!t[Y.READ_ONLY] || !t[Y.READ_ONLY][r]) && t._setPendingProperty(r, s) && o._enqueueClient(t) : o._setUnmanagedPropertyToNode(t, r, s);
|
|
5431
5431
|
}
|
|
5432
5432
|
}
|
|
5433
|
-
function
|
|
5433
|
+
function il(o, t, e, i) {
|
|
5434
5434
|
if (e.isCompound) {
|
|
5435
5435
|
let s = o.__dataCompoundStorage[e.target];
|
|
5436
5436
|
s[i.compoundIndex] = t, t = s.join("");
|
|
5437
5437
|
}
|
|
5438
5438
|
return e.kind !== "attribute" && (e.target === "textContent" || e.target === "value" && (o.localName === "input" || o.localName === "textarea")) && (t = t == null ? "" : t), t;
|
|
5439
5439
|
}
|
|
5440
|
-
function
|
|
5440
|
+
function ol(o) {
|
|
5441
5441
|
return !!o.target && o.kind != "attribute" && o.kind != "text" && !o.isCompound && o.parts[0].mode === "{";
|
|
5442
5442
|
}
|
|
5443
|
-
function
|
|
5443
|
+
function sl(o, t) {
|
|
5444
5444
|
let { nodeList: e, nodeInfoList: i } = t;
|
|
5445
5445
|
if (i.length)
|
|
5446
5446
|
for (let s = 0; s < i.length; s++) {
|
|
@@ -5448,12 +5448,12 @@ function ol(o, t) {
|
|
|
5448
5448
|
if (a)
|
|
5449
5449
|
for (let l = 0; l < a.length; l++) {
|
|
5450
5450
|
let c = a[l];
|
|
5451
|
-
|
|
5451
|
+
rl(n, c), nl(n, o, c);
|
|
5452
5452
|
}
|
|
5453
5453
|
n.__dataHost = o;
|
|
5454
5454
|
}
|
|
5455
5455
|
}
|
|
5456
|
-
function
|
|
5456
|
+
function rl(o, t) {
|
|
5457
5457
|
if (t.isCompound) {
|
|
5458
5458
|
let e = o.__dataCompoundStorage || (o.__dataCompoundStorage = {}), i = t.parts, s = new Array(i.length);
|
|
5459
5459
|
for (let n = 0; n < i.length; n++)
|
|
@@ -5462,15 +5462,15 @@ function sl(o, t) {
|
|
|
5462
5462
|
e[r] = s, t.literal && t.kind == "property" && (r === "className" && (o = ce(o)), o[r] = t.literal);
|
|
5463
5463
|
}
|
|
5464
5464
|
}
|
|
5465
|
-
function
|
|
5465
|
+
function nl(o, t, e) {
|
|
5466
5466
|
if (e.listenerEvent) {
|
|
5467
5467
|
let i = e.parts[0];
|
|
5468
5468
|
o.addEventListener(e.listenerEvent, function(s) {
|
|
5469
|
-
|
|
5469
|
+
Wa(s, t, e.target, i.source, i.negate);
|
|
5470
5470
|
});
|
|
5471
5471
|
}
|
|
5472
5472
|
}
|
|
5473
|
-
function
|
|
5473
|
+
function Ro(o, t, e, i, s, r) {
|
|
5474
5474
|
r = t.static || r && (typeof r != "object" || r[t.methodName]);
|
|
5475
5475
|
let n = {
|
|
5476
5476
|
methodName: t.methodName,
|
|
@@ -5497,8 +5497,8 @@ function Si(o, t, e, i, s) {
|
|
|
5497
5497
|
} else
|
|
5498
5498
|
s.dynamicFn || console.warn("method `" + s.methodName + "` not defined");
|
|
5499
5499
|
}
|
|
5500
|
-
const
|
|
5501
|
-
function
|
|
5500
|
+
const al = [], er = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", ll = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", cl = "(?:'(?:[^'\\\\]|\\\\.)*')", ul = '(?:"(?:[^"\\\\]|\\\\.)*")', dl = "(?:" + cl + "|" + ul + ")", Ho = "(?:(" + er + "|" + ll + "|" + dl + ")\\s*)", hl = "(?:" + Ho + "(?:,\\s*" + Ho + ")*)", fl = "(?:\\(\\s*(?:" + hl + "?)\\)\\s*)", pl = "(" + er + "\\s*" + fl + "?)", ml = "(\\[\\[|{{)\\s*", _l = "(?:]]|}})", gl = "(?:(!)\\s*)?", vl = ml + gl + pl + _l, Bo = new RegExp(vl, "g");
|
|
5501
|
+
function Yo(o) {
|
|
5502
5502
|
let t = "";
|
|
5503
5503
|
for (let e = 0; e < o.length; e++) {
|
|
5504
5504
|
let i = o[e].literal;
|
|
@@ -5509,22 +5509,22 @@ function Ho(o) {
|
|
|
5509
5509
|
function ri(o) {
|
|
5510
5510
|
let t = o.match(/([^\s]+?)\(([\s\S]*)\)/);
|
|
5511
5511
|
if (t) {
|
|
5512
|
-
let i = { methodName: t[1], static: !0, args:
|
|
5512
|
+
let i = { methodName: t[1], static: !0, args: al };
|
|
5513
5513
|
if (t[2].trim()) {
|
|
5514
5514
|
let s = t[2].replace(/\\,/g, ",").split(",");
|
|
5515
|
-
return
|
|
5515
|
+
return yl(s, i);
|
|
5516
5516
|
} else
|
|
5517
5517
|
return i;
|
|
5518
5518
|
}
|
|
5519
5519
|
return null;
|
|
5520
5520
|
}
|
|
5521
|
-
function
|
|
5521
|
+
function yl(o, t) {
|
|
5522
5522
|
return t.args = o.map(function(e) {
|
|
5523
|
-
let i =
|
|
5523
|
+
let i = tr(e);
|
|
5524
5524
|
return i.literal || (t.static = !1), i;
|
|
5525
5525
|
}, this), t;
|
|
5526
5526
|
}
|
|
5527
|
-
function
|
|
5527
|
+
function tr(o) {
|
|
5528
5528
|
let t = o.trim().replace(/,/g, ",").replace(/\\(.)/g, "$1"), e = {
|
|
5529
5529
|
name: t,
|
|
5530
5530
|
value: "",
|
|
@@ -5541,16 +5541,16 @@ function er(o) {
|
|
|
5541
5541
|
}
|
|
5542
5542
|
return e.literal || (e.rootProperty = Ue(t), e.structured = wi(t), e.structured && (e.wildcard = t.slice(-2) == ".*", e.wildcard && (e.name = t.slice(0, -2)))), e;
|
|
5543
5543
|
}
|
|
5544
|
-
function
|
|
5544
|
+
function jo(o, t, e) {
|
|
5545
5545
|
let i = me(o, e);
|
|
5546
5546
|
return i === void 0 && (i = t[e]), i;
|
|
5547
5547
|
}
|
|
5548
|
-
function
|
|
5548
|
+
function ir(o, t, e, i) {
|
|
5549
5549
|
const s = { indexSplices: i };
|
|
5550
5550
|
xi && !o._overrideLegacyUndefined && (t.splices = s), o.notifyPath(e + ".splices", s), o.notifyPath(e + ".length", t.length), xi && !o._overrideLegacyUndefined && (s.indexSplices = []);
|
|
5551
5551
|
}
|
|
5552
5552
|
function at(o, t, e, i, s, r) {
|
|
5553
|
-
|
|
5553
|
+
ir(o, t, e, [{
|
|
5554
5554
|
index: i,
|
|
5555
5555
|
addedCount: s,
|
|
5556
5556
|
removed: r,
|
|
@@ -5558,11 +5558,11 @@ function at(o, t, e, i, s, r) {
|
|
|
5558
5558
|
type: "splice"
|
|
5559
5559
|
}]);
|
|
5560
5560
|
}
|
|
5561
|
-
function
|
|
5561
|
+
function bl(o) {
|
|
5562
5562
|
return o[0].toUpperCase() + o.substring(1);
|
|
5563
5563
|
}
|
|
5564
5564
|
const Ji = ne((o) => {
|
|
5565
|
-
const t =
|
|
5565
|
+
const t = Ha(Ta(o));
|
|
5566
5566
|
class e extends t {
|
|
5567
5567
|
constructor() {
|
|
5568
5568
|
super(), this.__isPropertyEffectsClient = !0, this.__dataClientsReady, this.__dataPendingClients, this.__dataToNotify, this.__dataLinkedPaths, this.__dataHasPaths, this.__dataCompoundStorage, this.__dataHost, this.__dataTemp, this.__dataClientsInitialized, this.__data, this.__dataPending, this.__dataOld, this.__computeEffects, this.__computeInfo, this.__reflectEffects, this.__notifyEffects, this.__propagateEffects, this.__observeEffects, this.__readOnly, this.__templateInfo, this._overrideLegacyUndefined;
|
|
@@ -5741,7 +5741,7 @@ const Ji = ne((o) => {
|
|
|
5741
5741
|
if (!a) {
|
|
5742
5742
|
let l = me(this, s);
|
|
5743
5743
|
if (s = /** @type {string} */
|
|
5744
|
-
|
|
5744
|
+
Fo(this, s, r), !s || !super._shouldPropertyChange(s, r, l))
|
|
5745
5745
|
return !1;
|
|
5746
5746
|
}
|
|
5747
5747
|
if (this.__dataHasPaths = !0, this._setPendingProperty(
|
|
@@ -5750,7 +5750,7 @@ const Ji = ne((o) => {
|
|
|
5750
5750
|
r,
|
|
5751
5751
|
n
|
|
5752
5752
|
))
|
|
5753
|
-
return
|
|
5753
|
+
return Za(
|
|
5754
5754
|
this,
|
|
5755
5755
|
/**@type{string}*/
|
|
5756
5756
|
s,
|
|
@@ -5966,7 +5966,7 @@ const Ji = ne((o) => {
|
|
|
5966
5966
|
let a = this.__dataHasPaths;
|
|
5967
5967
|
this.__dataHasPaths = !1;
|
|
5968
5968
|
let l;
|
|
5969
|
-
|
|
5969
|
+
Ka(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(), ht(this, this[Y.REFLECT], r, n, a), ht(this, this[Y.OBSERVE], r, n, a), l && ja(this, l, r, n, a), this.__dataCounter == 1 && (this.__dataTemp = {});
|
|
5970
5970
|
}
|
|
5971
5971
|
/**
|
|
5972
5972
|
* Called to propagate any property changes to stamped template nodes
|
|
@@ -6063,7 +6063,7 @@ const Ji = ne((o) => {
|
|
|
6063
6063
|
/** @type {Array} */
|
|
6064
6064
|
me(this, s, n)
|
|
6065
6065
|
);
|
|
6066
|
-
|
|
6066
|
+
ir(this, a, n.path, r);
|
|
6067
6067
|
}
|
|
6068
6068
|
/**
|
|
6069
6069
|
* Convenience method for reading a value from a path.
|
|
@@ -6111,7 +6111,7 @@ const Ji = ne((o) => {
|
|
|
6111
6111
|
* @public
|
|
6112
6112
|
*/
|
|
6113
6113
|
set(s, r, n) {
|
|
6114
|
-
n ?
|
|
6114
|
+
n ? Fo(n, s, r) : (!this[Y.READ_ONLY] || !this[Y.READ_ONLY][
|
|
6115
6115
|
/** @type {string} */
|
|
6116
6116
|
s
|
|
6117
6117
|
]) && this._setPendingPropertyOrPath(s, r, !0) && this._invalidateProperties();
|
|
@@ -6266,7 +6266,7 @@ const Ji = ne((o) => {
|
|
|
6266
6266
|
* @protected
|
|
6267
6267
|
*/
|
|
6268
6268
|
_createReadOnlyProperty(s, r) {
|
|
6269
|
-
this._addPropertyEffect(s, Y.READ_ONLY), r && (this["_set" +
|
|
6269
|
+
this._addPropertyEffect(s, Y.READ_ONLY), r && (this["_set" + bl(s)] = /** @this {PropertyEffects} */
|
|
6270
6270
|
function(n) {
|
|
6271
6271
|
this._setProperty(s, n);
|
|
6272
6272
|
});
|
|
@@ -6288,7 +6288,7 @@ const Ji = ne((o) => {
|
|
|
6288
6288
|
_createPropertyObserver(s, r, n) {
|
|
6289
6289
|
let a = { property: s, method: r, dynamicFn: !!n };
|
|
6290
6290
|
this._addPropertyEffect(s, Y.OBSERVE, {
|
|
6291
|
-
fn:
|
|
6291
|
+
fn: Lo,
|
|
6292
6292
|
info: a,
|
|
6293
6293
|
trigger: { name: s }
|
|
6294
6294
|
}), n && this._addPropertyEffect(
|
|
@@ -6296,7 +6296,7 @@ const Ji = ne((o) => {
|
|
|
6296
6296
|
r,
|
|
6297
6297
|
Y.OBSERVE,
|
|
6298
6298
|
{
|
|
6299
|
-
fn:
|
|
6299
|
+
fn: Lo,
|
|
6300
6300
|
info: a,
|
|
6301
6301
|
trigger: { name: r }
|
|
6302
6302
|
}
|
|
@@ -6318,7 +6318,7 @@ const Ji = ne((o) => {
|
|
|
6318
6318
|
let n = ri(s);
|
|
6319
6319
|
if (!n)
|
|
6320
6320
|
throw new Error("Malformed observer expression '" + s + "'");
|
|
6321
|
-
|
|
6321
|
+
Ro(this, n, Y.OBSERVE, Si, null, r);
|
|
6322
6322
|
}
|
|
6323
6323
|
/**
|
|
6324
6324
|
* Equivalent to static `createNotifyingProperty` API but can be called on
|
|
@@ -6332,7 +6332,7 @@ const Ji = ne((o) => {
|
|
|
6332
6332
|
*/
|
|
6333
6333
|
_createNotifyingProperty(s) {
|
|
6334
6334
|
this._addPropertyEffect(s, Y.NOTIFY, {
|
|
6335
|
-
fn:
|
|
6335
|
+
fn: Va,
|
|
6336
6336
|
info: {
|
|
6337
6337
|
eventName: Wt(s) + "-changed",
|
|
6338
6338
|
property: s
|
|
@@ -6353,7 +6353,7 @@ const Ji = ne((o) => {
|
|
|
6353
6353
|
_createReflectedProperty(s) {
|
|
6354
6354
|
let r = this.constructor.attributeNameForProperty(s);
|
|
6355
6355
|
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, Y.REFLECT, {
|
|
6356
|
-
fn:
|
|
6356
|
+
fn: qa,
|
|
6357
6357
|
info: {
|
|
6358
6358
|
attrName: r
|
|
6359
6359
|
}
|
|
@@ -6376,8 +6376,8 @@ const Ji = ne((o) => {
|
|
|
6376
6376
|
let a = ri(r);
|
|
6377
6377
|
if (!a)
|
|
6378
6378
|
throw new Error("Malformed computed expression '" + r + "'");
|
|
6379
|
-
const l =
|
|
6380
|
-
oi(this,
|
|
6379
|
+
const l = Ro(this, a, Y.COMPUTE, Qs, s, n);
|
|
6380
|
+
oi(this, Xs)[s] = l;
|
|
6381
6381
|
}
|
|
6382
6382
|
/**
|
|
6383
6383
|
* Gather the argument values for a method specified in the provided array
|
|
@@ -6398,14 +6398,14 @@ const Ji = ne((o) => {
|
|
|
6398
6398
|
let { name: d, structured: h, wildcard: f, value: y, literal: p } = s[c];
|
|
6399
6399
|
if (!p)
|
|
6400
6400
|
if (f) {
|
|
6401
|
-
const b = bt(d, r), D =
|
|
6401
|
+
const b = bt(d, r), D = jo(a, n, b ? r : d);
|
|
6402
6402
|
y = {
|
|
6403
6403
|
path: b ? r : d,
|
|
6404
6404
|
value: D,
|
|
6405
6405
|
base: b ? me(a, d) : D
|
|
6406
6406
|
};
|
|
6407
6407
|
} else
|
|
6408
|
-
y = h ?
|
|
6408
|
+
y = h ? jo(a, n, d) : a[d];
|
|
6409
6409
|
if (xi && !this._overrideLegacyUndefined && y === void 0 && s.length > 1)
|
|
6410
6410
|
return Et;
|
|
6411
6411
|
l[c] = y;
|
|
@@ -6688,7 +6688,7 @@ const Ji = ne((o) => {
|
|
|
6688
6688
|
for (let l = n.firstChild; l; l = l.nextSibling)
|
|
6689
6689
|
a.push(l);
|
|
6690
6690
|
}
|
|
6691
|
-
return n.templateInfo = r,
|
|
6691
|
+
return n.templateInfo = r, sl(this, r), this.__dataClientsReady && (this._runEffectsForTemplate(r, this.__data, null, !1), this._flushClients()), n;
|
|
6692
6692
|
}
|
|
6693
6693
|
/**
|
|
6694
6694
|
* Removes and unbinds the nodes previously contained in the provided
|
|
@@ -6735,7 +6735,7 @@ const Ji = ne((o) => {
|
|
|
6735
6735
|
);
|
|
6736
6736
|
if (s.nodeType === Node.TEXT_NODE) {
|
|
6737
6737
|
let l = this._parseBindings(s.textContent, r);
|
|
6738
|
-
l && (s.textContent =
|
|
6738
|
+
l && (s.textContent = Yo(l) || " ", si(this, r, n, "text", "textContent", l), a = !0);
|
|
6739
6739
|
}
|
|
6740
6740
|
return a;
|
|
6741
6741
|
}
|
|
@@ -6763,8 +6763,8 @@ const Ji = ne((o) => {
|
|
|
6763
6763
|
if (c) {
|
|
6764
6764
|
let u = a, d = "property";
|
|
6765
6765
|
Ba.test(a) ? d = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), d = "attribute");
|
|
6766
|
-
let h =
|
|
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 =
|
|
6766
|
+
let h = Yo(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 = Us(a)), si(this, r, n, d, a, c, h), !0;
|
|
6768
6768
|
} else
|
|
6769
6769
|
return t._parseTemplateNodeAttribute.call(
|
|
6770
6770
|
this,
|
|
@@ -6797,10 +6797,10 @@ const Ji = ne((o) => {
|
|
|
6797
6797
|
n
|
|
6798
6798
|
);
|
|
6799
6799
|
const l = s.parentNode, c = n.templateInfo, u = l.localName === "dom-if", d = l.localName === "dom-repeat";
|
|
6800
|
-
|
|
6800
|
+
ko && (u || d) && (l.removeChild(s), n = n.parentInfo, n.templateInfo = c, n.noted = !0, a = !1);
|
|
6801
6801
|
let h = c.hostProps;
|
|
6802
|
-
if (
|
|
6803
|
-
h && (r.hostProps = Object.assign(r.hostProps || {}, h),
|
|
6802
|
+
if (da && u)
|
|
6803
|
+
h && (r.hostProps = Object.assign(r.hostProps || {}, h), ko || (n.parentInfo.noted = !0));
|
|
6804
6804
|
else {
|
|
6805
6805
|
let f = "{";
|
|
6806
6806
|
for (let y in h) {
|
|
@@ -6930,7 +6930,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6930
6930
|
Code distributed by Google as part of the polymer project is also
|
|
6931
6931
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6932
6932
|
*/
|
|
6933
|
-
function
|
|
6933
|
+
function xl(o) {
|
|
6934
6934
|
const t = {};
|
|
6935
6935
|
for (let e in o) {
|
|
6936
6936
|
const i = o[e];
|
|
@@ -6938,8 +6938,8 @@ function bl(o) {
|
|
|
6938
6938
|
}
|
|
6939
6939
|
return t;
|
|
6940
6940
|
}
|
|
6941
|
-
const
|
|
6942
|
-
const t =
|
|
6941
|
+
const wl = ne((o) => {
|
|
6942
|
+
const t = Ks(o);
|
|
6943
6943
|
function e(r) {
|
|
6944
6944
|
const n = Object.getPrototypeOf(r);
|
|
6945
6945
|
return n.prototype instanceof s ? (
|
|
@@ -6952,7 +6952,7 @@ const xl = ne((o) => {
|
|
|
6952
6952
|
let n = null;
|
|
6953
6953
|
if (r.hasOwnProperty(JSCompiler_renameProperty("properties", r))) {
|
|
6954
6954
|
const a = r.properties;
|
|
6955
|
-
a && (n =
|
|
6955
|
+
a && (n = xl(a));
|
|
6956
6956
|
}
|
|
6957
6957
|
r.__ownProperties = n;
|
|
6958
6958
|
}
|
|
@@ -7089,8 +7089,8 @@ const xl = ne((o) => {
|
|
|
7089
7089
|
* Google as part of the polymer project is also subject to an additional IP
|
|
7090
7090
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7091
7091
|
*/
|
|
7092
|
-
const
|
|
7093
|
-
const t =
|
|
7092
|
+
const El = "3.5.2", Uo = window.ShadyCSS && window.ShadyCSS.cssBuild, Sl = ne((o) => {
|
|
7093
|
+
const t = wl(Ji(o));
|
|
7094
7094
|
function e(l) {
|
|
7095
7095
|
if (!l.hasOwnProperty(
|
|
7096
7096
|
JSCompiler_renameProperty("__propertyDefaults", l)
|
|
@@ -7118,8 +7118,8 @@ const wl = "3.5.2", jo = window.ShadyCSS && window.ShadyCSS.cssBuild, El = ne((o
|
|
|
7118
7118
|
u.computed && (u.readOnly = !0), u.computed && (l._hasReadOnlyEffect(c) ? console.warn(`Cannot redefine computed property '${c}'.`) : l._createComputedProperty(c, u.computed, d)), u.readOnly && !l._hasReadOnlyEffect(c) ? l._createReadOnlyProperty(c, !u.computed) : u.readOnly === !1 && l._hasReadOnlyEffect(c) && console.warn(`Cannot make readOnly property '${c}' non-readOnly.`), u.reflectToAttribute && !l._hasReflectEffect(c) ? l._createReflectedProperty(c) : u.reflectToAttribute === !1 && l._hasReflectEffect(c) && console.warn(`Cannot make reflected property '${c}' non-reflected.`), u.notify && !l._hasNotifyEffect(c) ? l._createNotifyingProperty(c) : u.notify === !1 && l._hasNotifyEffect(c) && console.warn(`Cannot make notify property '${c}' non-notify.`), u.observer && l._createPropertyObserver(c, u.observer, d[u.observer]), l._addPropertyToAttributeMap(c);
|
|
7119
7119
|
}
|
|
7120
7120
|
function r(l, c, u, d) {
|
|
7121
|
-
if (!
|
|
7122
|
-
const h = c.content.querySelectorAll("style"), f =
|
|
7121
|
+
if (!Uo) {
|
|
7122
|
+
const h = c.content.querySelectorAll("style"), f = Hs(c), y = ya(u), p = c.content.firstElementChild;
|
|
7123
7123
|
for (let D = 0; D < y.length; D++) {
|
|
7124
7124
|
let C = y[D];
|
|
7125
7125
|
C.textContent = l._processStyleText(C.textContent, d), c.content.insertBefore(C, p);
|
|
@@ -7130,7 +7130,7 @@ const wl = "3.5.2", jo = window.ShadyCSS && window.ShadyCSS.cssBuild, El = ne((o
|
|
|
7130
7130
|
z !== C ? (C = C.cloneNode(!0), z.parentNode.insertBefore(C, z)) : b++, C.textContent = l._processStyleText(C.textContent, d);
|
|
7131
7131
|
}
|
|
7132
7132
|
}
|
|
7133
|
-
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(c, u),
|
|
7133
|
+
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(c, u), ha && Uo && na) {
|
|
7134
7134
|
const h = c.content.querySelectorAll("style");
|
|
7135
7135
|
if (h) {
|
|
7136
7136
|
let f = "";
|
|
@@ -7142,8 +7142,8 @@ const wl = "3.5.2", jo = window.ShadyCSS && window.ShadyCSS.cssBuild, El = ne((o
|
|
|
7142
7142
|
}
|
|
7143
7143
|
function n(l) {
|
|
7144
7144
|
let c = null;
|
|
7145
|
-
if (l && (!
|
|
7146
|
-
yt.import(l, "template"),
|
|
7145
|
+
if (l && (!Ht || la) && (c = /** @type {?HTMLTemplateElement} */
|
|
7146
|
+
yt.import(l, "template"), Ht && !c))
|
|
7147
7147
|
throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
7148
7148
|
return c;
|
|
7149
7149
|
}
|
|
@@ -7154,7 +7154,7 @@ const wl = "3.5.2", jo = window.ShadyCSS && window.ShadyCSS.cssBuild, El = ne((o
|
|
|
7154
7154
|
* @nocollapse
|
|
7155
7155
|
*/
|
|
7156
7156
|
static get polymerElementVersion() {
|
|
7157
|
-
return
|
|
7157
|
+
return El;
|
|
7158
7158
|
}
|
|
7159
7159
|
/**
|
|
7160
7160
|
* Override of PropertiesMixin _finalizeClass to create observers and
|
|
@@ -7175,7 +7175,7 @@ const wl = "3.5.2", jo = window.ShadyCSS && window.ShadyCSS.cssBuild, El = ne((o
|
|
|
7175
7175
|
/** @type {PolymerElementConstructor} */
|
|
7176
7176
|
this.template
|
|
7177
7177
|
);
|
|
7178
|
-
c && (typeof c == "string" ? (console.error("template getter must return HTMLTemplateElement"), c = null) :
|
|
7178
|
+
c && (typeof c == "string" ? (console.error("template getter must return HTMLTemplateElement"), c = null) : zs || (c = c.cloneNode(!0))), this.prototype._template = c;
|
|
7179
7179
|
}
|
|
7180
7180
|
/**
|
|
7181
7181
|
* Override of PropertiesChanged createProperties to create accessors
|
|
@@ -7345,7 +7345,7 @@ const wl = "3.5.2", jo = window.ShadyCSS && window.ShadyCSS.cssBuild, El = ne((o
|
|
|
7345
7345
|
this.constructor.finalize(), this.constructor._finalizeTemplate(
|
|
7346
7346
|
/** @type {!HTMLElement} */
|
|
7347
7347
|
this.localName
|
|
7348
|
-
), super._initializeProperties(), this.rootPath =
|
|
7348
|
+
), super._initializeProperties(), this.rootPath = aa, this.importPath = this.constructor.importPath;
|
|
7349
7349
|
let c = e(this.constructor);
|
|
7350
7350
|
if (c)
|
|
7351
7351
|
for (let u in c) {
|
|
@@ -7456,7 +7456,7 @@ const wl = "3.5.2", jo = window.ShadyCSS && window.ShadyCSS.cssBuild, El = ne((o
|
|
|
7456
7456
|
_attachDom(c) {
|
|
7457
7457
|
const u = ce(this);
|
|
7458
7458
|
if (u.attachShadow)
|
|
7459
|
-
return c ? (u.shadowRoot || (u.attachShadow({ mode: "open", shadyUpgradeFragment: c }), u.shadowRoot.appendChild(c), this.constructor._styleSheet && (u.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])),
|
|
7459
|
+
return c ? (u.shadowRoot || (u.attachShadow({ mode: "open", shadyUpgradeFragment: c }), u.shadowRoot.appendChild(c), this.constructor._styleSheet && (u.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), ca && window.ShadyDOM && window.ShadyDOM.flushInitial(u.shadowRoot), u.shadowRoot) : null;
|
|
7460
7460
|
throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.");
|
|
7461
7461
|
}
|
|
7462
7462
|
/**
|
|
@@ -7541,7 +7541,7 @@ const wl = "3.5.2", jo = window.ShadyCSS && window.ShadyCSS.cssBuild, El = ne((o
|
|
|
7541
7541
|
* @nocollapse
|
|
7542
7542
|
*/
|
|
7543
7543
|
static _addTemplatePropertyEffect(c, u, d) {
|
|
7544
|
-
return
|
|
7544
|
+
return Ls && !(u in this._properties) && // Methods used in templates with no dependencies (or only literal
|
|
7545
7545
|
// dependencies) become accessors with template effects; ignore these
|
|
7546
7546
|
!(d.info.part.signature && d.info.part.signature.static) && // Warnings for bindings added to nested templates are handled by
|
|
7547
7547
|
// templatizer so ignore both the host-to-template bindings
|
|
@@ -7566,16 +7566,16 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
7566
7566
|
Code distributed by Google as part of the polymer project is also
|
|
7567
7567
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7568
7568
|
*/
|
|
7569
|
-
const
|
|
7570
|
-
class
|
|
7569
|
+
const Vo = window.trustedTypes && trustedTypes.createPolicy("polymer-html-literal", { createHTML: (o) => o });
|
|
7570
|
+
class or {
|
|
7571
7571
|
/**
|
|
7572
7572
|
* @param {!ITemplateArray} strings Constant parts of tagged template literal
|
|
7573
7573
|
* @param {!Array<*>} values Variable parts of tagged template literal
|
|
7574
7574
|
*/
|
|
7575
7575
|
constructor(t, e) {
|
|
7576
|
-
|
|
7576
|
+
rr(t, e);
|
|
7577
7577
|
const i = e.reduce(
|
|
7578
|
-
(s, r, n) => s +
|
|
7578
|
+
(s, r, n) => s + sr(r) + t[n + 1],
|
|
7579
7579
|
t[0]
|
|
7580
7580
|
);
|
|
7581
7581
|
this.value = i.toString();
|
|
@@ -7588,8 +7588,8 @@ class ir {
|
|
|
7588
7588
|
return this.value;
|
|
7589
7589
|
}
|
|
7590
7590
|
}
|
|
7591
|
-
function
|
|
7592
|
-
if (o instanceof
|
|
7591
|
+
function sr(o) {
|
|
7592
|
+
if (o instanceof or)
|
|
7593
7593
|
return (
|
|
7594
7594
|
/** @type {!LiteralString} */
|
|
7595
7595
|
o.value
|
|
@@ -7598,30 +7598,30 @@ function or(o) {
|
|
|
7598
7598
|
`non-literal value passed to Polymer's htmlLiteral function: ${o}`
|
|
7599
7599
|
);
|
|
7600
7600
|
}
|
|
7601
|
-
function
|
|
7601
|
+
function Al(o) {
|
|
7602
7602
|
if (o instanceof HTMLTemplateElement)
|
|
7603
7603
|
return (
|
|
7604
7604
|
/** @type {!HTMLTemplateElement } */
|
|
7605
7605
|
o.innerHTML
|
|
7606
7606
|
);
|
|
7607
|
-
if (o instanceof
|
|
7608
|
-
return
|
|
7607
|
+
if (o instanceof or)
|
|
7608
|
+
return sr(o);
|
|
7609
7609
|
throw new Error(
|
|
7610
7610
|
`non-template value passed to Polymer's html function: ${o}`
|
|
7611
7611
|
);
|
|
7612
7612
|
}
|
|
7613
7613
|
const Ve = function(t, ...e) {
|
|
7614
|
-
|
|
7614
|
+
rr(t, e);
|
|
7615
7615
|
const i = (
|
|
7616
7616
|
/** @type {!HTMLTemplateElement} */
|
|
7617
7617
|
document.createElement("template")
|
|
7618
7618
|
);
|
|
7619
7619
|
let s = e.reduce(
|
|
7620
|
-
(r, n, a) => r +
|
|
7620
|
+
(r, n, a) => r + Al(n) + t[a + 1],
|
|
7621
7621
|
t[0]
|
|
7622
7622
|
);
|
|
7623
|
-
return
|
|
7624
|
-
},
|
|
7623
|
+
return Vo && (s = Vo.createHTML(s)), i.innerHTML = s, i;
|
|
7624
|
+
}, rr = (o, t) => {
|
|
7625
7625
|
if (!Array.isArray(o) || !Array.isArray(o.raw) || t.length !== o.length - 1)
|
|
7626
7626
|
throw new TypeError("Invalid call to the html template tag");
|
|
7627
7627
|
};
|
|
@@ -7634,7 +7634,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
7634
7634
|
Code distributed by Google as part of the polymer project is also
|
|
7635
7635
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7636
7636
|
*/
|
|
7637
|
-
const Fe =
|
|
7637
|
+
const Fe = Sl(HTMLElement);
|
|
7638
7638
|
/**
|
|
7639
7639
|
* @license
|
|
7640
7640
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
@@ -7647,14 +7647,14 @@ function Ai(o, t, e = o.getAttribute("dir")) {
|
|
|
7647
7647
|
function Ci() {
|
|
7648
7648
|
return document.documentElement.getAttribute("dir");
|
|
7649
7649
|
}
|
|
7650
|
-
function
|
|
7650
|
+
function Cl() {
|
|
7651
7651
|
const o = Ci();
|
|
7652
7652
|
Ce.forEach((t) => {
|
|
7653
7653
|
Ai(t, o);
|
|
7654
7654
|
});
|
|
7655
7655
|
}
|
|
7656
|
-
const
|
|
7657
|
-
|
|
7656
|
+
const Dl = new MutationObserver(Cl);
|
|
7657
|
+
Dl.observe(document.documentElement, { attributes: !0, attributeFilter: ["dir"] });
|
|
7658
7658
|
const qt = (o) => class extends o {
|
|
7659
7659
|
static get properties() {
|
|
7660
7660
|
return {
|
|
@@ -7716,7 +7716,7 @@ const qt = (o) => class extends o {
|
|
|
7716
7716
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7717
7717
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7718
7718
|
*/
|
|
7719
|
-
const
|
|
7719
|
+
const kl = (o) => class extends o {
|
|
7720
7720
|
static get properties() {
|
|
7721
7721
|
return {
|
|
7722
7722
|
/**
|
|
@@ -7756,7 +7756,7 @@ const Dl = (o) => class extends o {
|
|
|
7756
7756
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7757
7757
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7758
7758
|
*/
|
|
7759
|
-
const
|
|
7759
|
+
const Pl = R`
|
|
7760
7760
|
:host {
|
|
7761
7761
|
display: flex;
|
|
7762
7762
|
align-items: center;
|
|
@@ -7827,8 +7827,8 @@ const kl = R`
|
|
|
7827
7827
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7828
7828
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7829
7829
|
*/
|
|
7830
|
-
Q("vaadin-input-container",
|
|
7831
|
-
class
|
|
7830
|
+
Q("vaadin-input-container", Pl, { moduleId: "vaadin-input-container-styles" });
|
|
7831
|
+
class Tl extends kl(je(qt(Fe))) {
|
|
7832
7832
|
static get is() {
|
|
7833
7833
|
return "vaadin-input-container";
|
|
7834
7834
|
}
|
|
@@ -7840,13 +7840,13 @@ class Pl extends Dl(je(qt(Fe))) {
|
|
|
7840
7840
|
`;
|
|
7841
7841
|
}
|
|
7842
7842
|
}
|
|
7843
|
-
Se(
|
|
7843
|
+
Se(Tl);
|
|
7844
7844
|
/**
|
|
7845
7845
|
* @license
|
|
7846
7846
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7847
7847
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7848
7848
|
*/
|
|
7849
|
-
const
|
|
7849
|
+
const Ml = R`
|
|
7850
7850
|
:host {
|
|
7851
7851
|
z-index: 200;
|
|
7852
7852
|
position: fixed;
|
|
@@ -7935,21 +7935,21 @@ function Di() {
|
|
|
7935
7935
|
function Zi() {
|
|
7936
7936
|
return Xi;
|
|
7937
7937
|
}
|
|
7938
|
-
function
|
|
7938
|
+
function Ol(o) {
|
|
7939
7939
|
const t = o.style;
|
|
7940
7940
|
if (t.visibility === "hidden" || t.display === "none")
|
|
7941
7941
|
return !0;
|
|
7942
7942
|
const e = window.getComputedStyle(o);
|
|
7943
7943
|
return e.visibility === "hidden" || e.display === "none";
|
|
7944
7944
|
}
|
|
7945
|
-
function
|
|
7945
|
+
function Il(o, t) {
|
|
7946
7946
|
const e = Math.max(o.tabIndex, 0), i = Math.max(t.tabIndex, 0);
|
|
7947
7947
|
return e === 0 || i === 0 ? i > e : e > i;
|
|
7948
7948
|
}
|
|
7949
|
-
function
|
|
7949
|
+
function Fl(o, t) {
|
|
7950
7950
|
const e = [];
|
|
7951
7951
|
for (; o.length > 0 && t.length > 0; )
|
|
7952
|
-
|
|
7952
|
+
Il(o[0], t[0]) ? e.push(t.shift()) : e.push(o.shift());
|
|
7953
7953
|
return e.concat(o, t);
|
|
7954
7954
|
}
|
|
7955
7955
|
function ki(o) {
|
|
@@ -7957,37 +7957,37 @@ function ki(o) {
|
|
|
7957
7957
|
if (t < 2)
|
|
7958
7958
|
return o;
|
|
7959
7959
|
const e = Math.ceil(t / 2), i = ki(o.slice(0, e)), s = ki(o.slice(e));
|
|
7960
|
-
return
|
|
7960
|
+
return Fl(i, s);
|
|
7961
7961
|
}
|
|
7962
|
-
function
|
|
7962
|
+
function nr(o) {
|
|
7963
7963
|
return o.matches('[tabindex="-1"]') ? !1 : o.matches("input, select, textarea, button, object") ? o.matches(":not([disabled])") : o.matches("a[href], area[href], iframe, [tabindex], [contentEditable]");
|
|
7964
7964
|
}
|
|
7965
|
-
function
|
|
7965
|
+
function Nl(o) {
|
|
7966
7966
|
return o.getRootNode().activeElement === o;
|
|
7967
7967
|
}
|
|
7968
|
-
function
|
|
7969
|
-
if (!
|
|
7968
|
+
function zl(o) {
|
|
7969
|
+
if (!nr(o))
|
|
7970
7970
|
return -1;
|
|
7971
7971
|
const t = o.getAttribute("tabindex") || 0;
|
|
7972
7972
|
return Number(t);
|
|
7973
7973
|
}
|
|
7974
|
-
function
|
|
7975
|
-
if (o.nodeType !== Node.ELEMENT_NODE ||
|
|
7974
|
+
function ar(o, t) {
|
|
7975
|
+
if (o.nodeType !== Node.ELEMENT_NODE || Ol(o))
|
|
7976
7976
|
return !1;
|
|
7977
7977
|
const e = (
|
|
7978
7978
|
/** @type {HTMLElement} */
|
|
7979
7979
|
o
|
|
7980
|
-
), i =
|
|
7980
|
+
), i = zl(e);
|
|
7981
7981
|
let s = i > 0;
|
|
7982
7982
|
i >= 0 && t.push(e);
|
|
7983
7983
|
let r = [];
|
|
7984
7984
|
return e.localName === "slot" ? r = e.assignedNodes({ flatten: !0 }) : r = (e.shadowRoot || e).children, [...r].forEach((n) => {
|
|
7985
|
-
s =
|
|
7985
|
+
s = ar(n, t) || s;
|
|
7986
7986
|
}), s;
|
|
7987
7987
|
}
|
|
7988
|
-
function
|
|
7988
|
+
function Ll(o) {
|
|
7989
7989
|
const t = [];
|
|
7990
|
-
return
|
|
7990
|
+
return ar(o, t) ? ki(t) : t;
|
|
7991
7991
|
}
|
|
7992
7992
|
/**
|
|
7993
7993
|
@license
|
|
@@ -7998,23 +7998,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
7998
7998
|
Code distributed by Google as part of the polymer project is also
|
|
7999
7999
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
8000
8000
|
*/
|
|
8001
|
-
let Pi = !1,
|
|
8002
|
-
function
|
|
8001
|
+
let Pi = !1, $l = [], lr = [];
|
|
8002
|
+
function Rl() {
|
|
8003
8003
|
Pi = !0, requestAnimationFrame(function() {
|
|
8004
|
-
Pi = !1,
|
|
8005
|
-
Bl(
|
|
8004
|
+
Pi = !1, Hl($l), setTimeout(function() {
|
|
8005
|
+
Bl(lr);
|
|
8006
8006
|
});
|
|
8007
8007
|
});
|
|
8008
8008
|
}
|
|
8009
|
-
function
|
|
8009
|
+
function Hl(o) {
|
|
8010
8010
|
for (; o.length; )
|
|
8011
|
-
|
|
8011
|
+
cr(o.shift());
|
|
8012
8012
|
}
|
|
8013
8013
|
function Bl(o) {
|
|
8014
8014
|
for (let t = 0, e = o.length; t < e; t++)
|
|
8015
|
-
|
|
8015
|
+
cr(o.shift());
|
|
8016
8016
|
}
|
|
8017
|
-
function
|
|
8017
|
+
function cr(o) {
|
|
8018
8018
|
const t = o[0], e = o[1], i = o[2];
|
|
8019
8019
|
try {
|
|
8020
8020
|
e.apply(t, i);
|
|
@@ -8024,21 +8024,21 @@ function lr(o) {
|
|
|
8024
8024
|
});
|
|
8025
8025
|
}
|
|
8026
8026
|
}
|
|
8027
|
-
function
|
|
8028
|
-
Pi ||
|
|
8027
|
+
function ur(o, t, e) {
|
|
8028
|
+
Pi || Rl(), lr.push([o, t, e]);
|
|
8029
8029
|
}
|
|
8030
8030
|
/**
|
|
8031
8031
|
* @license
|
|
8032
8032
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8033
8033
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8034
8034
|
*/
|
|
8035
|
-
const Kt = (o) => o.test(navigator.userAgent), Ti = (o) => o.test(navigator.platform),
|
|
8035
|
+
const Kt = (o) => o.test(navigator.userAgent), Ti = (o) => o.test(navigator.platform), Yl = (o) => o.test(navigator.vendor);
|
|
8036
8036
|
Kt(/Android/u);
|
|
8037
|
-
Kt(/Chrome/u) &&
|
|
8037
|
+
Kt(/Chrome/u) && Yl(/Google Inc/u);
|
|
8038
8038
|
Kt(/Firefox/u);
|
|
8039
|
-
const
|
|
8039
|
+
const jl = Ti(/^iPad/u) || Ti(/^Mac/u) && navigator.maxTouchPoints > 1, Ul = Ti(/^iPhone/u), dr = Ul || jl;
|
|
8040
8040
|
Kt(/^((?!chrome|android).)*safari/iu);
|
|
8041
|
-
const
|
|
8041
|
+
const Vl = (() => {
|
|
8042
8042
|
try {
|
|
8043
8043
|
return document.createEvent("TouchEvent"), !0;
|
|
8044
8044
|
} catch (o) {
|
|
@@ -8051,10 +8051,10 @@ const Ul = (() => {
|
|
|
8051
8051
|
* SPDX-License-Identifier: MIT
|
|
8052
8052
|
*/
|
|
8053
8053
|
let qe = /* @__PURE__ */ new WeakMap(), Mt = /* @__PURE__ */ new WeakMap(), Ot = {}, ni = 0;
|
|
8054
|
-
const
|
|
8054
|
+
const Wo = (o) => o && o.nodeType === Node.ELEMENT_NODE, ai = (...o) => {
|
|
8055
8055
|
console.error(`Error: ${o.join(" ")}. Skip setting aria-hidden.`);
|
|
8056
|
-
},
|
|
8057
|
-
if (!
|
|
8056
|
+
}, Wl = (o, t) => Wo(o) ? t.map((e) => {
|
|
8057
|
+
if (!Wo(e))
|
|
8058
8058
|
return ai(e, "is not a valid element"), null;
|
|
8059
8059
|
let i = e;
|
|
8060
8060
|
for (; i && i !== o; ) {
|
|
@@ -8063,8 +8063,8 @@ const Vo = (o) => o && o.nodeType === Node.ELEMENT_NODE, ai = (...o) => {
|
|
|
8063
8063
|
i = i.getRootNode().host;
|
|
8064
8064
|
}
|
|
8065
8065
|
return ai(e, "is not contained inside", o), null;
|
|
8066
|
-
}).filter((e) => !!e) : (ai(o, "is not a valid element"), []),
|
|
8067
|
-
const s =
|
|
8066
|
+
}).filter((e) => !!e) : (ai(o, "is not a valid element"), []), ql = (o, t, e, i) => {
|
|
8067
|
+
const s = Wl(t, Array.isArray(o) ? o : [o]);
|
|
8068
8068
|
Ot[e] || (Ot[e] = /* @__PURE__ */ new WeakMap());
|
|
8069
8069
|
const r = Ot[e], n = [], a = /* @__PURE__ */ new Set(), l = new Set(s), c = (d) => {
|
|
8070
8070
|
if (!d || a.has(d))
|
|
@@ -8094,16 +8094,16 @@ const Vo = (o) => o && o.nodeType === Node.ELEMENT_NODE, ai = (...o) => {
|
|
|
8094
8094
|
qe.set(d, h), r.set(d, f), h || (Mt.has(d) ? Mt.delete(d) : d.removeAttribute(i)), f || d.removeAttribute(e);
|
|
8095
8095
|
}), ni -= 1, ni || (qe = /* @__PURE__ */ new WeakMap(), qe = /* @__PURE__ */ new WeakMap(), Mt = /* @__PURE__ */ new WeakMap(), Ot = {});
|
|
8096
8096
|
};
|
|
8097
|
-
},
|
|
8097
|
+
}, hr = (o, t = document.body, e = "data-aria-hidden") => {
|
|
8098
8098
|
const i = Array.from(Array.isArray(o) ? o : [o]);
|
|
8099
|
-
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))),
|
|
8099
|
+
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))), ql(i, t, e, "aria-hidden");
|
|
8100
8100
|
};
|
|
8101
8101
|
/**
|
|
8102
8102
|
* @license
|
|
8103
8103
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8104
8104
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8105
8105
|
*/
|
|
8106
|
-
class
|
|
8106
|
+
class Kl {
|
|
8107
8107
|
/**
|
|
8108
8108
|
* @param {HTMLElement} host
|
|
8109
8109
|
*/
|
|
@@ -8119,7 +8119,7 @@ class ql {
|
|
|
8119
8119
|
*/
|
|
8120
8120
|
showModal() {
|
|
8121
8121
|
const t = this.callback();
|
|
8122
|
-
this.__showOthers =
|
|
8122
|
+
this.__showOthers = hr(t);
|
|
8123
8123
|
}
|
|
8124
8124
|
/**
|
|
8125
8125
|
* Remove `aria-hidden` from other elements unless there are any other
|
|
@@ -8134,7 +8134,7 @@ class ql {
|
|
|
8134
8134
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8135
8135
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8136
8136
|
*/
|
|
8137
|
-
class
|
|
8137
|
+
class Gl {
|
|
8138
8138
|
/**
|
|
8139
8139
|
* Saves the given node as a target for restoring focus to
|
|
8140
8140
|
* when `restoreFocus()` is called. If no node is provided,
|
|
@@ -8162,7 +8162,7 @@ class Kl {
|
|
|
8162
8162
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8163
8163
|
*/
|
|
8164
8164
|
const li = [];
|
|
8165
|
-
class
|
|
8165
|
+
class Jl {
|
|
8166
8166
|
/**
|
|
8167
8167
|
* @param {HTMLElement} host
|
|
8168
8168
|
*/
|
|
@@ -8176,7 +8176,7 @@ class Gl {
|
|
|
8176
8176
|
* @private
|
|
8177
8177
|
*/
|
|
8178
8178
|
get __focusableElements() {
|
|
8179
|
-
return
|
|
8179
|
+
return Ll(this.__trapNode);
|
|
8180
8180
|
}
|
|
8181
8181
|
/**
|
|
8182
8182
|
* The index of the element inside the trap node that currently has focus.
|
|
@@ -8186,7 +8186,7 @@ class Gl {
|
|
|
8186
8186
|
*/
|
|
8187
8187
|
get __focusedElementIndex() {
|
|
8188
8188
|
const t = this.__focusableElements;
|
|
8189
|
-
return t.indexOf(t.filter(
|
|
8189
|
+
return t.indexOf(t.filter(Nl).pop());
|
|
8190
8190
|
}
|
|
8191
8191
|
hostConnected() {
|
|
8192
8192
|
document.addEventListener("keydown", this.__onKeyDown);
|
|
@@ -8299,7 +8299,7 @@ const st = ne((o) => typeof o.prototype.addController == "function" ? o : class
|
|
|
8299
8299
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
8300
8300
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8301
8301
|
*/
|
|
8302
|
-
const
|
|
8302
|
+
const Xl = (o) => class extends st(o) {
|
|
8303
8303
|
static get properties() {
|
|
8304
8304
|
return {
|
|
8305
8305
|
/**
|
|
@@ -8330,7 +8330,7 @@ const Jl = (o) => class extends st(o) {
|
|
|
8330
8330
|
};
|
|
8331
8331
|
}
|
|
8332
8332
|
constructor() {
|
|
8333
|
-
super(), this.__ariaModalController = new
|
|
8333
|
+
super(), this.__ariaModalController = new Kl(this), this.__focusTrapController = new Jl(this), this.__focusRestorationController = new Gl();
|
|
8334
8334
|
}
|
|
8335
8335
|
/** @protected */
|
|
8336
8336
|
ready() {
|
|
@@ -8401,7 +8401,7 @@ const Jl = (o) => class extends st(o) {
|
|
|
8401
8401
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
8402
8402
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8403
8403
|
*/
|
|
8404
|
-
const
|
|
8404
|
+
const fr = () => Array.from(document.body.children).filter((o) => o instanceof HTMLElement && o._hasOverlayStackMixin && !o.hasAttribute("closing")).sort((o, t) => o.__zIndex - t.__zIndex || 0), Mi = () => fr().filter((o) => o.$.overlay), Zl = (o) => o === Mi().pop(), Ql = (o) => class extends o {
|
|
8405
8405
|
constructor() {
|
|
8406
8406
|
super(), this._hasOverlayStackMixin = !0;
|
|
8407
8407
|
}
|
|
@@ -8412,14 +8412,14 @@ const hr = () => Array.from(document.body.children).filter((o) => o instanceof H
|
|
|
8412
8412
|
* @protected
|
|
8413
8413
|
*/
|
|
8414
8414
|
get _last() {
|
|
8415
|
-
return
|
|
8415
|
+
return Zl(this);
|
|
8416
8416
|
}
|
|
8417
8417
|
/**
|
|
8418
8418
|
* Brings the overlay as visually the frontmost one.
|
|
8419
8419
|
*/
|
|
8420
8420
|
bringToFront() {
|
|
8421
8421
|
let e = "";
|
|
8422
|
-
const i =
|
|
8422
|
+
const i = fr().filter((s) => s !== this).pop();
|
|
8423
8423
|
i && (e = i.__zIndex + 1), this.style.zIndex = e, this.__zIndex = e || parseFloat(getComputedStyle(this).zIndex);
|
|
8424
8424
|
}
|
|
8425
8425
|
/** @protected */
|
|
@@ -8442,7 +8442,7 @@ const hr = () => Array.from(document.body.children).filter((o) => o instanceof H
|
|
|
8442
8442
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
8443
8443
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8444
8444
|
*/
|
|
8445
|
-
const
|
|
8445
|
+
const ec = (o) => class extends Xl(Ql(o)) {
|
|
8446
8446
|
static get properties() {
|
|
8447
8447
|
return {
|
|
8448
8448
|
/**
|
|
@@ -8515,7 +8515,7 @@ const Ql = (o) => class extends Jl(Zl(o)) {
|
|
|
8515
8515
|
return ["_rendererOrDataChanged(renderer, owner, model, opened)"];
|
|
8516
8516
|
}
|
|
8517
8517
|
constructor() {
|
|
8518
|
-
super(), this._boundMouseDownListener = this._mouseDownListener.bind(this), this._boundMouseUpListener = this._mouseUpListener.bind(this), this._boundOutsideClickListener = this._outsideClickListener.bind(this), this._boundKeydownListener = this._keydownListener.bind(this),
|
|
8518
|
+
super(), this._boundMouseDownListener = this._mouseDownListener.bind(this), this._boundMouseUpListener = this._mouseUpListener.bind(this), this._boundOutsideClickListener = this._outsideClickListener.bind(this), this._boundKeydownListener = this._keydownListener.bind(this), dr && (this._boundIosResizeListener = () => this._detectIosNavbar());
|
|
8519
8519
|
}
|
|
8520
8520
|
/** @protected */
|
|
8521
8521
|
ready() {
|
|
@@ -8583,7 +8583,7 @@ const Ql = (o) => class extends Jl(Zl(o)) {
|
|
|
8583
8583
|
}
|
|
8584
8584
|
/** @private */
|
|
8585
8585
|
_openedChanged(e, i) {
|
|
8586
|
-
e ? (this._saveFocus(), this._animatedOpening(),
|
|
8586
|
+
e ? (this._saveFocus(), this._animatedOpening(), ur(this, () => {
|
|
8587
8587
|
this._trapFocus();
|
|
8588
8588
|
const s = new CustomEvent("vaadin-overlay-open", { bubbles: !0 });
|
|
8589
8589
|
this.dispatchEvent(s);
|
|
@@ -8708,7 +8708,7 @@ const Ql = (o) => class extends Jl(Zl(o)) {
|
|
|
8708
8708
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
8709
8709
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8710
8710
|
*/
|
|
8711
|
-
function
|
|
8711
|
+
function tc(o) {
|
|
8712
8712
|
const t = [];
|
|
8713
8713
|
for (; o; ) {
|
|
8714
8714
|
if (o.nodeType === Node.DOCUMENT_NODE) {
|
|
@@ -8733,11 +8733,11 @@ function Qi(o) {
|
|
|
8733
8733
|
function Gt(o) {
|
|
8734
8734
|
return o ? [...o].join(" ") : "";
|
|
8735
8735
|
}
|
|
8736
|
-
function
|
|
8736
|
+
function pr(o, t, e) {
|
|
8737
8737
|
const i = Qi(o.getAttribute(t));
|
|
8738
8738
|
i.add(e), o.setAttribute(t, Gt(i));
|
|
8739
8739
|
}
|
|
8740
|
-
function
|
|
8740
|
+
function ic(o, t, e) {
|
|
8741
8741
|
const i = Qi(o.getAttribute(t));
|
|
8742
8742
|
if (i.delete(e), i.size === 0) {
|
|
8743
8743
|
o.removeAttribute(t);
|
|
@@ -8745,7 +8745,7 @@ function tc(o, t, e) {
|
|
|
8745
8745
|
}
|
|
8746
8746
|
o.setAttribute(t, Gt(i));
|
|
8747
8747
|
}
|
|
8748
|
-
function
|
|
8748
|
+
function oc(o) {
|
|
8749
8749
|
return o.nodeType === Node.TEXT_NODE && o.textContent.trim() === "";
|
|
8750
8750
|
}
|
|
8751
8751
|
/**
|
|
@@ -8753,7 +8753,7 @@ function ic(o) {
|
|
|
8753
8753
|
* Copyright (c) 2024 Vaadin Ltd.
|
|
8754
8754
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8755
8755
|
*/
|
|
8756
|
-
function
|
|
8756
|
+
function sc(o, t) {
|
|
8757
8757
|
let e = null;
|
|
8758
8758
|
const i = document.documentElement;
|
|
8759
8759
|
function s() {
|
|
@@ -8793,13 +8793,13 @@ const ci = {
|
|
|
8793
8793
|
}, ui = {
|
|
8794
8794
|
start: "left",
|
|
8795
8795
|
end: "right"
|
|
8796
|
-
},
|
|
8796
|
+
}, qo = new ResizeObserver((o) => {
|
|
8797
8797
|
setTimeout(() => {
|
|
8798
8798
|
o.forEach((t) => {
|
|
8799
8799
|
t.target.__overlay && t.target.__overlay._updatePosition();
|
|
8800
8800
|
});
|
|
8801
8801
|
});
|
|
8802
|
-
}),
|
|
8802
|
+
}), rc = (o) => class extends o {
|
|
8803
8803
|
static get properties() {
|
|
8804
8804
|
return {
|
|
8805
8805
|
/**
|
|
@@ -8898,9 +8898,9 @@ const ci = {
|
|
|
8898
8898
|
}
|
|
8899
8899
|
/** @private */
|
|
8900
8900
|
__addUpdatePositionEventListeners() {
|
|
8901
|
-
window.visualViewport.addEventListener("resize", this._updatePosition), window.visualViewport.addEventListener("scroll", this.__onScroll, !0), this.__positionTargetAncestorRootNodes =
|
|
8901
|
+
window.visualViewport.addEventListener("resize", this._updatePosition), window.visualViewport.addEventListener("scroll", this.__onScroll, !0), this.__positionTargetAncestorRootNodes = tc(this.positionTarget), this.__positionTargetAncestorRootNodes.forEach((e) => {
|
|
8902
8902
|
e.addEventListener("scroll", this.__onScroll, !0);
|
|
8903
|
-
}), this.positionTarget && (this.__observePositionTargetMove =
|
|
8903
|
+
}), this.positionTarget && (this.__observePositionTargetMove = sc(this.positionTarget, () => {
|
|
8904
8904
|
this._updatePosition();
|
|
8905
8905
|
}));
|
|
8906
8906
|
}
|
|
@@ -8912,7 +8912,7 @@ const ci = {
|
|
|
8912
8912
|
}
|
|
8913
8913
|
/** @private */
|
|
8914
8914
|
__overlayOpenedChanged(e, i) {
|
|
8915
|
-
if (this.__removeUpdatePositionEventListeners(), i && (i.__overlay = null,
|
|
8915
|
+
if (this.__removeUpdatePositionEventListeners(), i && (i.__overlay = null, qo.unobserve(i), e && (this.__addUpdatePositionEventListeners(), i.__overlay = this, qo.observe(i))), e) {
|
|
8916
8916
|
const s = getComputedStyle(this);
|
|
8917
8917
|
this.__margins || (this.__margins = {}, ["top", "bottom", "left", "right"].forEach((r) => {
|
|
8918
8918
|
this.__margins[r] = parseInt(s[r], 10);
|
|
@@ -9034,7 +9034,7 @@ const ci = {
|
|
|
9034
9034
|
* Copyright (c) 2015 - 2024 Vaadin Ltd.
|
|
9035
9035
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9036
9036
|
*/
|
|
9037
|
-
const
|
|
9037
|
+
const nc = (o) => class extends rc(ec(o)) {
|
|
9038
9038
|
/**
|
|
9039
9039
|
* Override method inherited from `OverlayMixin` to not close on input click.
|
|
9040
9040
|
* Needed to ignore date-picker's own input in the mousedown listener below.
|
|
@@ -9051,7 +9051,7 @@ const rc = (o) => class extends sc(Ql(o)) {
|
|
|
9051
9051
|
* @override
|
|
9052
9052
|
*/
|
|
9053
9053
|
_mouseDownListener(e) {
|
|
9054
|
-
super._mouseDownListener(e), this._shouldCloseOnOutsideClick(e) && !
|
|
9054
|
+
super._mouseDownListener(e), this._shouldCloseOnOutsideClick(e) && !nr(e.composedPath()[0]) && e.preventDefault();
|
|
9055
9055
|
}
|
|
9056
9056
|
};
|
|
9057
9057
|
/**
|
|
@@ -9059,7 +9059,7 @@ const rc = (o) => class extends sc(Ql(o)) {
|
|
|
9059
9059
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
9060
9060
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9061
9061
|
*/
|
|
9062
|
-
const
|
|
9062
|
+
const ac = R`
|
|
9063
9063
|
[part='overlay'] {
|
|
9064
9064
|
display: flex;
|
|
9065
9065
|
flex: auto;
|
|
@@ -9080,10 +9080,10 @@ const nc = R`
|
|
|
9080
9080
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
9081
9081
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9082
9082
|
*/
|
|
9083
|
-
Q("vaadin-date-picker-overlay", [
|
|
9083
|
+
Q("vaadin-date-picker-overlay", [Ml, ac], {
|
|
9084
9084
|
moduleId: "vaadin-date-picker-overlay-styles"
|
|
9085
9085
|
});
|
|
9086
|
-
class
|
|
9086
|
+
class lc extends nc(qt(je(Fe))) {
|
|
9087
9087
|
static get is() {
|
|
9088
9088
|
return "vaadin-date-picker-overlay";
|
|
9089
9089
|
}
|
|
@@ -9098,34 +9098,34 @@ class ac extends rc(qt(je(Fe))) {
|
|
|
9098
9098
|
`;
|
|
9099
9099
|
}
|
|
9100
9100
|
}
|
|
9101
|
-
Se(
|
|
9102
|
-
const
|
|
9103
|
-
function
|
|
9101
|
+
Se(lc);
|
|
9102
|
+
const cc = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i, Nt = window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients;
|
|
9103
|
+
function uc() {
|
|
9104
9104
|
function o() {
|
|
9105
9105
|
return !0;
|
|
9106
9106
|
}
|
|
9107
|
-
return
|
|
9107
|
+
return mr(o);
|
|
9108
9108
|
}
|
|
9109
|
-
function
|
|
9109
|
+
function dc() {
|
|
9110
9110
|
try {
|
|
9111
|
-
return
|
|
9111
|
+
return hc() ? !0 : fc() ? Nt ? !pc() : !uc() : !1;
|
|
9112
9112
|
} catch (o) {
|
|
9113
9113
|
return !1;
|
|
9114
9114
|
}
|
|
9115
9115
|
}
|
|
9116
|
-
function
|
|
9116
|
+
function hc() {
|
|
9117
9117
|
return localStorage.getItem("vaadin.developmentmode.force");
|
|
9118
9118
|
}
|
|
9119
|
-
function
|
|
9119
|
+
function fc() {
|
|
9120
9120
|
return ["localhost", "127.0.0.1"].indexOf(window.location.hostname) >= 0;
|
|
9121
9121
|
}
|
|
9122
|
-
function
|
|
9122
|
+
function pc() {
|
|
9123
9123
|
return !!(Nt && Object.keys(Nt).map((t) => Nt[t]).filter((t) => t.productionMode).length > 0);
|
|
9124
9124
|
}
|
|
9125
|
-
function
|
|
9125
|
+
function mr(o, t) {
|
|
9126
9126
|
if (typeof o != "function")
|
|
9127
9127
|
return;
|
|
9128
|
-
const e =
|
|
9128
|
+
const e = cc.exec(o.toString());
|
|
9129
9129
|
if (e)
|
|
9130
9130
|
try {
|
|
9131
9131
|
o = new Function(e[1]);
|
|
@@ -9135,12 +9135,12 @@ function pr(o, t) {
|
|
|
9135
9135
|
return o(t);
|
|
9136
9136
|
}
|
|
9137
9137
|
window.Vaadin = window.Vaadin || {};
|
|
9138
|
-
const
|
|
9138
|
+
const Ko = function(o, t) {
|
|
9139
9139
|
if (window.Vaadin.developmentMode)
|
|
9140
|
-
return
|
|
9140
|
+
return mr(o, t);
|
|
9141
9141
|
};
|
|
9142
|
-
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode =
|
|
9143
|
-
function
|
|
9142
|
+
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode = dc());
|
|
9143
|
+
function mc() {
|
|
9144
9144
|
/*! vaadin-dev-mode:start
|
|
9145
9145
|
(function () {
|
|
9146
9146
|
'use strict';
|
|
@@ -9621,9 +9621,9 @@ function pc() {
|
|
|
9621
9621
|
|
|
9622
9622
|
vaadin-dev-mode:end **/
|
|
9623
9623
|
}
|
|
9624
|
-
const
|
|
9625
|
-
if (typeof
|
|
9626
|
-
return
|
|
9624
|
+
const _c = function() {
|
|
9625
|
+
if (typeof Ko == "function")
|
|
9626
|
+
return Ko(mc);
|
|
9627
9627
|
};
|
|
9628
9628
|
/**
|
|
9629
9629
|
* @license
|
|
@@ -9634,10 +9634,10 @@ const mc = function() {
|
|
|
9634
9634
|
* Code distributed by Google as part of the polymer project is also
|
|
9635
9635
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
9636
9636
|
*/
|
|
9637
|
-
let
|
|
9637
|
+
let Go = 0, _r = 0;
|
|
9638
9638
|
const Xe = [];
|
|
9639
9639
|
let Oi = !1;
|
|
9640
|
-
function
|
|
9640
|
+
function gc() {
|
|
9641
9641
|
Oi = !1;
|
|
9642
9642
|
const o = Xe.length;
|
|
9643
9643
|
for (let t = 0; t < o; t++) {
|
|
@@ -9651,7 +9651,7 @@ function _c() {
|
|
|
9651
9651
|
});
|
|
9652
9652
|
}
|
|
9653
9653
|
}
|
|
9654
|
-
Xe.splice(0, o),
|
|
9654
|
+
Xe.splice(0, o), _r += o;
|
|
9655
9655
|
}
|
|
9656
9656
|
const Yt = {
|
|
9657
9657
|
/**
|
|
@@ -9693,7 +9693,7 @@ const Yt = {
|
|
|
9693
9693
|
cancel(o) {
|
|
9694
9694
|
window.clearTimeout(o);
|
|
9695
9695
|
}
|
|
9696
|
-
},
|
|
9696
|
+
}, vc = {
|
|
9697
9697
|
/**
|
|
9698
9698
|
* Enqueues a function called at `requestAnimationFrame` timing.
|
|
9699
9699
|
*
|
|
@@ -9714,7 +9714,7 @@ const Yt = {
|
|
|
9714
9714
|
cancel(o) {
|
|
9715
9715
|
window.cancelAnimationFrame(o);
|
|
9716
9716
|
}
|
|
9717
|
-
},
|
|
9717
|
+
}, yc = {
|
|
9718
9718
|
/**
|
|
9719
9719
|
* Enqueues a function called at `requestIdleCallback` timing.
|
|
9720
9720
|
*
|
|
@@ -9735,7 +9735,7 @@ const Yt = {
|
|
|
9735
9735
|
cancel(o) {
|
|
9736
9736
|
window.cancelIdleCallback ? window.cancelIdleCallback(o) : window.clearTimeout(o);
|
|
9737
9737
|
}
|
|
9738
|
-
},
|
|
9738
|
+
}, bc = {
|
|
9739
9739
|
/**
|
|
9740
9740
|
* Enqueues a function called at microtask timing.
|
|
9741
9741
|
*
|
|
@@ -9744,9 +9744,9 @@ const Yt = {
|
|
|
9744
9744
|
* @return {number} Handle used for canceling task
|
|
9745
9745
|
*/
|
|
9746
9746
|
run(o) {
|
|
9747
|
-
Oi || (Oi = !0, queueMicrotask(() =>
|
|
9748
|
-
const t =
|
|
9749
|
-
return
|
|
9747
|
+
Oi || (Oi = !0, queueMicrotask(() => gc())), Xe.push(o);
|
|
9748
|
+
const t = Go;
|
|
9749
|
+
return Go += 1, t;
|
|
9750
9750
|
},
|
|
9751
9751
|
/**
|
|
9752
9752
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -9756,7 +9756,7 @@ const Yt = {
|
|
|
9756
9756
|
* @return {void}
|
|
9757
9757
|
*/
|
|
9758
9758
|
cancel(o) {
|
|
9759
|
-
const t = o -
|
|
9759
|
+
const t = o - _r;
|
|
9760
9760
|
if (t >= 0) {
|
|
9761
9761
|
if (!Xe[t])
|
|
9762
9762
|
throw new Error(`invalid async handle: ${o}`);
|
|
@@ -9865,7 +9865,7 @@ let tt = class Fi {
|
|
|
9865
9865
|
return this._timer != null;
|
|
9866
9866
|
}
|
|
9867
9867
|
};
|
|
9868
|
-
function
|
|
9868
|
+
function xc(o) {
|
|
9869
9869
|
Ii.add(o);
|
|
9870
9870
|
}
|
|
9871
9871
|
/**
|
|
@@ -9877,17 +9877,17 @@ window.Vaadin || (window.Vaadin = {});
|
|
|
9877
9877
|
window.Vaadin.registrations || (window.Vaadin.registrations = []);
|
|
9878
9878
|
window.Vaadin.developmentModeCallback || (window.Vaadin.developmentModeCallback = {});
|
|
9879
9879
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"] = function() {
|
|
9880
|
-
|
|
9880
|
+
_c();
|
|
9881
9881
|
};
|
|
9882
9882
|
let di;
|
|
9883
|
-
const
|
|
9883
|
+
const Jo = /* @__PURE__ */ new Set(), gr = (o) => class extends qt(o) {
|
|
9884
9884
|
/** @protected */
|
|
9885
9885
|
static finalize() {
|
|
9886
9886
|
super.finalize();
|
|
9887
9887
|
const { is: e } = this;
|
|
9888
|
-
e && !
|
|
9888
|
+
e && !Jo.has(e) && (window.Vaadin.registrations.push(this), Jo.add(e), window.Vaadin.developmentModeCallback && (di = tt.debounce(di, yc, () => {
|
|
9889
9889
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]();
|
|
9890
|
-
}),
|
|
9890
|
+
}), xc(di)));
|
|
9891
9891
|
}
|
|
9892
9892
|
constructor() {
|
|
9893
9893
|
super(), document.doctype === null && console.warn(
|
|
@@ -9900,7 +9900,7 @@ const Go = /* @__PURE__ */ new Set(), _r = (o) => class extends qt(o) {
|
|
|
9900
9900
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
9901
9901
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9902
9902
|
*/
|
|
9903
|
-
class
|
|
9903
|
+
class wc {
|
|
9904
9904
|
constructor(t, e) {
|
|
9905
9905
|
this.slot = t, this.callback = e, this._storedNodes = [], this._connected = !1, this._scheduled = !1, this._boundSchedule = () => {
|
|
9906
9906
|
this._schedule();
|
|
@@ -9950,9 +9950,9 @@ class xc {
|
|
|
9950
9950
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9951
9951
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9952
9952
|
*/
|
|
9953
|
-
let
|
|
9954
|
-
function
|
|
9955
|
-
return
|
|
9953
|
+
let Ec = 0;
|
|
9954
|
+
function vr() {
|
|
9955
|
+
return Ec++;
|
|
9956
9956
|
}
|
|
9957
9957
|
/**
|
|
9958
9958
|
* @license
|
|
@@ -9969,7 +9969,7 @@ class $e extends EventTarget {
|
|
|
9969
9969
|
* @protected
|
|
9970
9970
|
*/
|
|
9971
9971
|
static generateId(t, e = "default") {
|
|
9972
|
-
return `${e}-${t.localName}-${
|
|
9972
|
+
return `${e}-${t.localName}-${vr()}`;
|
|
9973
9973
|
}
|
|
9974
9974
|
constructor(t, e, i, s = {}) {
|
|
9975
9975
|
super();
|
|
@@ -10061,8 +10061,8 @@ class $e extends EventTarget {
|
|
|
10061
10061
|
*/
|
|
10062
10062
|
observeSlot() {
|
|
10063
10063
|
const { slotName: t } = this, e = t === "" ? "slot:not([name])" : `slot[name=${t}]`, i = this.host.shadowRoot.querySelector(e);
|
|
10064
|
-
this.__slotObserver = new
|
|
10065
|
-
const n = this.multiple ? this.nodes : [this.node], a = s.filter((l) => !
|
|
10064
|
+
this.__slotObserver = new wc(i, ({ addedNodes: s, removedNodes: r }) => {
|
|
10065
|
+
const n = this.multiple ? this.nodes : [this.node], a = s.filter((l) => !oc(l) && !n.includes(l));
|
|
10066
10066
|
r.length && (this.nodes = n.filter((l) => !r.includes(l)), r.forEach((l) => {
|
|
10067
10067
|
this.teardownNode(l);
|
|
10068
10068
|
})), a && a.length > 0 && (this.multiple ? (this.defaultNode && this.defaultNode.remove(), this.nodes = [...n, ...a].filter((l) => l !== this.defaultNode), a.forEach((l) => {
|
|
@@ -10076,7 +10076,7 @@ class $e extends EventTarget {
|
|
|
10076
10076
|
* Copyright (c) 2022 - 2024 Vaadin Ltd.
|
|
10077
10077
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10078
10078
|
*/
|
|
10079
|
-
class
|
|
10079
|
+
class yr extends $e {
|
|
10080
10080
|
constructor(t) {
|
|
10081
10081
|
super(t, "tooltip"), this.setTarget(t);
|
|
10082
10082
|
}
|
|
@@ -10177,7 +10177,7 @@ class vr extends $e {
|
|
|
10177
10177
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10178
10178
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10179
10179
|
*/
|
|
10180
|
-
const
|
|
10180
|
+
const Sc = R`
|
|
10181
10181
|
:host {
|
|
10182
10182
|
display: inline-block;
|
|
10183
10183
|
position: relative;
|
|
@@ -10237,7 +10237,7 @@ const Ec = R`
|
|
|
10237
10237
|
outline-color: GrayText;
|
|
10238
10238
|
}
|
|
10239
10239
|
}
|
|
10240
|
-
`,
|
|
10240
|
+
`, Ac = (o) => o`
|
|
10241
10241
|
<div class="vaadin-button-container">
|
|
10242
10242
|
<span part="prefix" aria-hidden="true">
|
|
10243
10243
|
<slot name="prefix"></slot>
|
|
@@ -10260,7 +10260,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
10260
10260
|
Code distributed by Google as part of the polymer project is also
|
|
10261
10261
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10262
10262
|
*/
|
|
10263
|
-
const
|
|
10263
|
+
const Cc = (o) => o, br = typeof document.head.style.touchAction == "string", Ni = "__polymerGestures", hi = "__polymerGesturesHandled", zi = "__polymerGesturesTouchAction", Xo = 25, Zo = 5, Dc = 2, kc = ["mousedown", "mousemove", "mouseup", "click"], Pc = [0, 1, 4, 2], Tc = function() {
|
|
10264
10264
|
try {
|
|
10265
10265
|
return new MouseEvent("test", { buttons: 1 }).buttons === 1;
|
|
10266
10266
|
} catch (o) {
|
|
@@ -10268,25 +10268,25 @@ const Ac = (o) => o, yr = typeof document.head.style.touchAction == "string", Ni
|
|
|
10268
10268
|
}
|
|
10269
10269
|
}();
|
|
10270
10270
|
function eo(o) {
|
|
10271
|
-
return
|
|
10271
|
+
return kc.indexOf(o) > -1;
|
|
10272
10272
|
}
|
|
10273
|
-
let
|
|
10273
|
+
let Mc = !1;
|
|
10274
10274
|
(function() {
|
|
10275
10275
|
try {
|
|
10276
10276
|
const o = Object.defineProperty({}, "passive", {
|
|
10277
10277
|
// eslint-disable-next-line getter-return
|
|
10278
10278
|
get() {
|
|
10279
|
-
|
|
10279
|
+
Mc = !0;
|
|
10280
10280
|
}
|
|
10281
10281
|
});
|
|
10282
10282
|
window.addEventListener("test", null, o), window.removeEventListener("test", null, o);
|
|
10283
10283
|
} catch (o) {
|
|
10284
10284
|
}
|
|
10285
10285
|
})();
|
|
10286
|
-
function
|
|
10286
|
+
function Oc(o) {
|
|
10287
10287
|
eo(o);
|
|
10288
10288
|
}
|
|
10289
|
-
const
|
|
10289
|
+
const Ic = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), Fc = {
|
|
10290
10290
|
button: !0,
|
|
10291
10291
|
command: !0,
|
|
10292
10292
|
fieldset: !0,
|
|
@@ -10297,17 +10297,17 @@ const Oc = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), Ic = {
|
|
|
10297
10297
|
select: !0,
|
|
10298
10298
|
textarea: !0
|
|
10299
10299
|
};
|
|
10300
|
-
function
|
|
10300
|
+
function Be(o) {
|
|
10301
10301
|
const t = o.type;
|
|
10302
10302
|
if (!eo(t))
|
|
10303
10303
|
return !1;
|
|
10304
10304
|
if (t === "mousemove") {
|
|
10305
10305
|
let i = o.buttons === void 0 ? 1 : o.buttons;
|
|
10306
|
-
return o instanceof window.MouseEvent && !
|
|
10306
|
+
return o instanceof window.MouseEvent && !Tc && (i = Pc[o.which] || 0), !!(i & 1);
|
|
10307
10307
|
}
|
|
10308
10308
|
return (o.button === void 0 ? 0 : o.button) === 0;
|
|
10309
10309
|
}
|
|
10310
|
-
function
|
|
10310
|
+
function Nc(o) {
|
|
10311
10311
|
if (o.type === "click") {
|
|
10312
10312
|
if (o.detail === 0)
|
|
10313
10313
|
return !0;
|
|
@@ -10331,9 +10331,9 @@ const ke = {
|
|
|
10331
10331
|
scrollDecided: !1
|
|
10332
10332
|
}
|
|
10333
10333
|
};
|
|
10334
|
-
function
|
|
10334
|
+
function zc(o) {
|
|
10335
10335
|
let t = "auto";
|
|
10336
|
-
const e =
|
|
10336
|
+
const e = wr(o);
|
|
10337
10337
|
for (let i = 0, s; i < e.length; i++)
|
|
10338
10338
|
if (s = e[i], s[zi]) {
|
|
10339
10339
|
t = s[zi];
|
|
@@ -10341,14 +10341,14 @@ function Nc(o) {
|
|
|
10341
10341
|
}
|
|
10342
10342
|
return t;
|
|
10343
10343
|
}
|
|
10344
|
-
function
|
|
10344
|
+
function xr(o, t, e) {
|
|
10345
10345
|
o.movefn = t, o.upfn = e, document.addEventListener("mousemove", t), document.addEventListener("mouseup", e);
|
|
10346
10346
|
}
|
|
10347
10347
|
function Ze(o) {
|
|
10348
10348
|
document.removeEventListener("mousemove", o.movefn), document.removeEventListener("mouseup", o.upfn), o.movefn = null, o.upfn = null;
|
|
10349
10349
|
}
|
|
10350
|
-
const
|
|
10351
|
-
function
|
|
10350
|
+
const wr = window.ShadyDOM && window.ShadyDOM.noPatch ? window.ShadyDOM.composedPath : (o) => o.composedPath && o.composedPath() || [], to = {}, Re = [];
|
|
10351
|
+
function Lc(o, t) {
|
|
10352
10352
|
let e = document.elementFromPoint(o, t), i = e;
|
|
10353
10353
|
for (; i && i.shadowRoot && !window.ShadyDOM; ) {
|
|
10354
10354
|
const s = i;
|
|
@@ -10359,13 +10359,13 @@ function zc(o, t) {
|
|
|
10359
10359
|
return e;
|
|
10360
10360
|
}
|
|
10361
10361
|
function Ie(o) {
|
|
10362
|
-
const t =
|
|
10362
|
+
const t = wr(
|
|
10363
10363
|
/** @type {?Event} */
|
|
10364
10364
|
o
|
|
10365
10365
|
);
|
|
10366
10366
|
return t.length > 0 ? t[0] : o.target;
|
|
10367
10367
|
}
|
|
10368
|
-
function
|
|
10368
|
+
function $c(o) {
|
|
10369
10369
|
const t = o.type, i = o.currentTarget[Ni];
|
|
10370
10370
|
if (!i)
|
|
10371
10371
|
return;
|
|
@@ -10376,7 +10376,7 @@ function Lc(o) {
|
|
|
10376
10376
|
const n = o.changedTouches[0];
|
|
10377
10377
|
if (t === "touchstart" && o.touches.length === 1 && (ke.touch.id = n.identifier), ke.touch.id !== n.identifier)
|
|
10378
10378
|
return;
|
|
10379
|
-
|
|
10379
|
+
br || (t === "touchstart" || t === "touchmove") && Rc(o);
|
|
10380
10380
|
}
|
|
10381
10381
|
const r = o[hi];
|
|
10382
10382
|
if (!r.skip) {
|
|
@@ -10386,7 +10386,7 @@ function Lc(o) {
|
|
|
10386
10386
|
a = Re[n], s[a.name] && !r[a.name] && (r[a.name] = !0, a[t](o));
|
|
10387
10387
|
}
|
|
10388
10388
|
}
|
|
10389
|
-
function
|
|
10389
|
+
function Rc(o) {
|
|
10390
10390
|
const t = o.changedTouches[0], e = o.type;
|
|
10391
10391
|
if (e === "touchstart")
|
|
10392
10392
|
ke.touch.x = t.clientX, ke.touch.y = t.clientY, ke.touch.scrollDecided = !1;
|
|
@@ -10394,22 +10394,22 @@ function $c(o) {
|
|
|
10394
10394
|
if (ke.touch.scrollDecided)
|
|
10395
10395
|
return;
|
|
10396
10396
|
ke.touch.scrollDecided = !0;
|
|
10397
|
-
const i =
|
|
10397
|
+
const i = zc(o);
|
|
10398
10398
|
let s = !1;
|
|
10399
10399
|
const r = Math.abs(ke.touch.x - t.clientX), n = Math.abs(ke.touch.y - t.clientY);
|
|
10400
10400
|
o.cancelable && (i === "none" ? s = !0 : i === "pan-x" ? s = n > r : i === "pan-y" && (s = r > n)), s ? o.preventDefault() : jt("track");
|
|
10401
10401
|
}
|
|
10402
10402
|
}
|
|
10403
10403
|
function Ee(o, t, e) {
|
|
10404
|
-
return to[t] ? (
|
|
10404
|
+
return to[t] ? (Hc(o, t, e), !0) : !1;
|
|
10405
10405
|
}
|
|
10406
|
-
function
|
|
10406
|
+
function Hc(o, t, e) {
|
|
10407
10407
|
const i = to[t], s = i.deps, r = i.name;
|
|
10408
10408
|
let n = o[Ni];
|
|
10409
10409
|
n || (o[Ni] = n = {});
|
|
10410
10410
|
for (let a = 0, l, c; a < s.length; a++)
|
|
10411
|
-
l = s[a], !(
|
|
10412
|
-
o.addEventListener(t, e), i.touchAction &&
|
|
10411
|
+
l = s[a], !(Ic && eo(l) && l !== "click") && (c = n[l], c || (n[l] = c = { _count: 0 }), c._count === 0 && o.addEventListener(l, $c, Oc(l)), c[r] = (c[r] || 0) + 1, c._count = (c._count || 0) + 1);
|
|
10412
|
+
o.addEventListener(t, e), i.touchAction && Er(o, i.touchAction);
|
|
10413
10413
|
}
|
|
10414
10414
|
function io(o) {
|
|
10415
10415
|
Re.push(o), o.emits.forEach((t) => {
|
|
@@ -10425,14 +10425,14 @@ function Bc(o) {
|
|
|
10425
10425
|
}
|
|
10426
10426
|
return null;
|
|
10427
10427
|
}
|
|
10428
|
-
function
|
|
10429
|
-
|
|
10428
|
+
function Er(o, t) {
|
|
10429
|
+
br && o instanceof HTMLElement && bc.run(() => {
|
|
10430
10430
|
o.style.touchAction = t;
|
|
10431
10431
|
}), o[zi] = t;
|
|
10432
10432
|
}
|
|
10433
10433
|
function oo(o, t, e) {
|
|
10434
10434
|
const i = new Event(t, { bubbles: !0, cancelable: !0, composed: !0 });
|
|
10435
|
-
if (i.detail = e,
|
|
10435
|
+
if (i.detail = e, Cc(
|
|
10436
10436
|
/** @type {!Node} */
|
|
10437
10437
|
o
|
|
10438
10438
|
).dispatchEvent(i), i.defaultPrevented) {
|
|
@@ -10469,14 +10469,14 @@ io({
|
|
|
10469
10469
|
* @return {void}
|
|
10470
10470
|
*/
|
|
10471
10471
|
mousedown(o) {
|
|
10472
|
-
if (!
|
|
10472
|
+
if (!Be(o))
|
|
10473
10473
|
return;
|
|
10474
10474
|
const t = Ie(o), e = this, i = (r) => {
|
|
10475
|
-
|
|
10475
|
+
Be(r) || (ct("up", t, r), Ze(e.info));
|
|
10476
10476
|
}, s = (r) => {
|
|
10477
|
-
|
|
10477
|
+
Be(r) && ct("up", t, r), Ze(e.info);
|
|
10478
10478
|
};
|
|
10479
|
-
|
|
10479
|
+
xr(this.info, i, s), ct("down", t, o);
|
|
10480
10480
|
},
|
|
10481
10481
|
/**
|
|
10482
10482
|
* @this {GestureRecognizer}
|
|
@@ -10523,7 +10523,7 @@ io({
|
|
|
10523
10523
|
moves: [],
|
|
10524
10524
|
/** @this {GestureInfo} */
|
|
10525
10525
|
addMove(o) {
|
|
10526
|
-
this.moves.length >
|
|
10526
|
+
this.moves.length > Dc && this.moves.shift(), this.moves.push(o);
|
|
10527
10527
|
},
|
|
10528
10528
|
movefn: null,
|
|
10529
10529
|
upfn: null,
|
|
@@ -10542,15 +10542,15 @@ io({
|
|
|
10542
10542
|
* @return {void}
|
|
10543
10543
|
*/
|
|
10544
10544
|
mousedown(o) {
|
|
10545
|
-
if (!
|
|
10545
|
+
if (!Be(o))
|
|
10546
10546
|
return;
|
|
10547
10547
|
const t = Ie(o), e = this, i = (r) => {
|
|
10548
10548
|
const n = r.clientX, a = r.clientY;
|
|
10549
|
-
|
|
10549
|
+
Qo(e.info, n, a) && (e.info.state = e.info.started ? r.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" && jt("tap"), e.info.addMove({ x: n, y: a }), Be(r) || (e.info.state = "end", Ze(e.info)), t && fi(e.info, t, r), e.info.started = !0);
|
|
10550
10550
|
}, s = (r) => {
|
|
10551
10551
|
e.info.started && i(r), Ze(e.info);
|
|
10552
10552
|
};
|
|
10553
|
-
|
|
10553
|
+
xr(this.info, i, s), this.info.x = o.clientX, this.info.y = o.clientY;
|
|
10554
10554
|
},
|
|
10555
10555
|
/**
|
|
10556
10556
|
* @this {GestureRecognizer}
|
|
@@ -10568,7 +10568,7 @@ io({
|
|
|
10568
10568
|
*/
|
|
10569
10569
|
touchmove(o) {
|
|
10570
10570
|
const t = Ie(o), e = o.changedTouches[0], i = e.clientX, s = e.clientY;
|
|
10571
|
-
|
|
10571
|
+
Qo(this.info, i, s) && (this.info.state === "start" && jt("tap"), this.info.addMove({ x: i, y: s }), fi(this.info, t, e), this.info.state = "track", this.info.started = !0);
|
|
10572
10572
|
},
|
|
10573
10573
|
/**
|
|
10574
10574
|
* @this {GestureRecognizer}
|
|
@@ -10580,13 +10580,13 @@ io({
|
|
|
10580
10580
|
this.info.started && (this.info.state = "end", this.info.addMove({ x: e.clientX, y: e.clientY }), fi(this.info, t, e));
|
|
10581
10581
|
}
|
|
10582
10582
|
});
|
|
10583
|
-
function
|
|
10583
|
+
function Qo(o, t, e) {
|
|
10584
10584
|
if (o.prevent)
|
|
10585
10585
|
return !1;
|
|
10586
10586
|
if (o.started)
|
|
10587
10587
|
return !0;
|
|
10588
10588
|
const i = Math.abs(o.x - t), s = Math.abs(o.y - e);
|
|
10589
|
-
return i >=
|
|
10589
|
+
return i >= Zo || s >= Zo;
|
|
10590
10590
|
}
|
|
10591
10591
|
function fi(o, t, e) {
|
|
10592
10592
|
if (!t)
|
|
@@ -10603,7 +10603,7 @@ function fi(o, t, e) {
|
|
|
10603
10603
|
ddy: l,
|
|
10604
10604
|
sourceEvent: e,
|
|
10605
10605
|
hover() {
|
|
10606
|
-
return
|
|
10606
|
+
return Lc(e.clientX, e.clientY);
|
|
10607
10607
|
}
|
|
10608
10608
|
});
|
|
10609
10609
|
}
|
|
@@ -10633,7 +10633,7 @@ io({
|
|
|
10633
10633
|
* @return {void}
|
|
10634
10634
|
*/
|
|
10635
10635
|
mousedown(o) {
|
|
10636
|
-
|
|
10636
|
+
Be(o) && (this.info.x = o.clientX, this.info.y = o.clientY);
|
|
10637
10637
|
},
|
|
10638
10638
|
/**
|
|
10639
10639
|
* @this {GestureRecognizer}
|
|
@@ -10641,7 +10641,7 @@ io({
|
|
|
10641
10641
|
* @return {void}
|
|
10642
10642
|
*/
|
|
10643
10643
|
click(o) {
|
|
10644
|
-
|
|
10644
|
+
Be(o) && es(this.info, o);
|
|
10645
10645
|
},
|
|
10646
10646
|
/**
|
|
10647
10647
|
* @this {GestureRecognizer}
|
|
@@ -10658,15 +10658,15 @@ io({
|
|
|
10658
10658
|
* @return {void}
|
|
10659
10659
|
*/
|
|
10660
10660
|
touchend(o) {
|
|
10661
|
-
|
|
10661
|
+
es(this.info, o.changedTouches[0], o);
|
|
10662
10662
|
}
|
|
10663
10663
|
});
|
|
10664
|
-
function
|
|
10664
|
+
function es(o, t, e) {
|
|
10665
10665
|
const i = Math.abs(t.clientX - o.x), s = Math.abs(t.clientY - o.y), r = Ie(e || t);
|
|
10666
|
-
!r ||
|
|
10666
|
+
!r || Fc[
|
|
10667
10667
|
/** @type {!HTMLElement} */
|
|
10668
10668
|
r.localName
|
|
10669
|
-
] && r.hasAttribute("disabled") || (isNaN(i) || isNaN(s) || i <=
|
|
10669
|
+
] && r.hasAttribute("disabled") || (isNaN(i) || isNaN(s) || i <= Xo && s <= Xo || Nc(t)) && (o.prevent || oo(r, "tap", {
|
|
10670
10670
|
x: t.clientX,
|
|
10671
10671
|
y: t.clientY,
|
|
10672
10672
|
sourceEvent: t,
|
|
@@ -10678,7 +10678,7 @@ function Qo(o, t, e) {
|
|
|
10678
10678
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
10679
10679
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10680
10680
|
*/
|
|
10681
|
-
const
|
|
10681
|
+
const Sr = ne(
|
|
10682
10682
|
(o) => class extends o {
|
|
10683
10683
|
static get properties() {
|
|
10684
10684
|
return {
|
|
@@ -10785,7 +10785,7 @@ const Jt = ne(
|
|
|
10785
10785
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
10786
10786
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10787
10787
|
*/
|
|
10788
|
-
const
|
|
10788
|
+
const Yc = (o) => class extends Sr(Jt(o)) {
|
|
10789
10789
|
/**
|
|
10790
10790
|
* An array of activation keys.
|
|
10791
10791
|
*
|
|
@@ -10905,7 +10905,7 @@ const so = ne(
|
|
|
10905
10905
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
10906
10906
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10907
10907
|
*/
|
|
10908
|
-
const
|
|
10908
|
+
const Ar = (o) => class extends Sr(o) {
|
|
10909
10909
|
static get properties() {
|
|
10910
10910
|
return {
|
|
10911
10911
|
/**
|
|
@@ -10956,7 +10956,7 @@ const Sr = (o) => class extends Er(o) {
|
|
|
10956
10956
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10957
10957
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10958
10958
|
*/
|
|
10959
|
-
const
|
|
10959
|
+
const jc = (o) => class extends Yc(Ar(so(o))) {
|
|
10960
10960
|
static get properties() {
|
|
10961
10961
|
return {
|
|
10962
10962
|
/**
|
|
@@ -11011,26 +11011,26 @@ const Yc = (o) => class extends Hc(Sr(so(o))) {
|
|
|
11011
11011
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
11012
11012
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11013
11013
|
*/
|
|
11014
|
-
Q("vaadin-button",
|
|
11015
|
-
class
|
|
11014
|
+
Q("vaadin-button", Sc, { moduleId: "vaadin-button-styles" });
|
|
11015
|
+
class Uc extends jc(gr(je(st(Fe)))) {
|
|
11016
11016
|
static get is() {
|
|
11017
11017
|
return "vaadin-button";
|
|
11018
11018
|
}
|
|
11019
11019
|
static get template() {
|
|
11020
|
-
return
|
|
11020
|
+
return Ac(Ve);
|
|
11021
11021
|
}
|
|
11022
11022
|
/** @protected */
|
|
11023
11023
|
ready() {
|
|
11024
|
-
super.ready(), this._tooltipController = new
|
|
11024
|
+
super.ready(), this._tooltipController = new yr(this), this.addController(this._tooltipController);
|
|
11025
11025
|
}
|
|
11026
11026
|
}
|
|
11027
|
-
Se(
|
|
11027
|
+
Se(Uc);
|
|
11028
11028
|
/**
|
|
11029
11029
|
* @license
|
|
11030
11030
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11031
11031
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11032
11032
|
*/
|
|
11033
|
-
function
|
|
11033
|
+
function Vc(o) {
|
|
11034
11034
|
let t = o.getDay();
|
|
11035
11035
|
t === 0 && (t = 7);
|
|
11036
11036
|
const e = 4 - t, i = new Date(o.getTime() + e * 24 * 3600 * 1e3), s = new Date(0, 0);
|
|
@@ -11060,7 +11060,7 @@ function it(o, t, e, i) {
|
|
|
11060
11060
|
}
|
|
11061
11061
|
return (!t || o >= t) && (!e || o <= e) && !s;
|
|
11062
11062
|
}
|
|
11063
|
-
function
|
|
11063
|
+
function Cr(o, t) {
|
|
11064
11064
|
return t.filter((e) => e !== void 0).reduce((e, i) => {
|
|
11065
11065
|
if (!i)
|
|
11066
11066
|
return e;
|
|
@@ -11070,11 +11070,11 @@ function Ar(o, t) {
|
|
|
11070
11070
|
return s < r ? i : e;
|
|
11071
11071
|
});
|
|
11072
11072
|
}
|
|
11073
|
-
function
|
|
11073
|
+
function Dr(o) {
|
|
11074
11074
|
const t = /* @__PURE__ */ new Date(), e = new Date(t);
|
|
11075
11075
|
return e.setDate(1), e.setMonth(parseInt(o) + t.getMonth()), e;
|
|
11076
11076
|
}
|
|
11077
|
-
function
|
|
11077
|
+
function Wc(o, t, e = 0, i = 1) {
|
|
11078
11078
|
if (t > 99)
|
|
11079
11079
|
throw new Error("The provided year cannot have more than 2 digits.");
|
|
11080
11080
|
if (t < 0)
|
|
@@ -11089,15 +11089,15 @@ function ut(o) {
|
|
|
11089
11089
|
const e = new Date(0, 0);
|
|
11090
11090
|
return e.setFullYear(parseInt(t[1], 10)), e.setMonth(parseInt(t[2], 10) - 1), e.setDate(parseInt(t[3], 10)), e;
|
|
11091
11091
|
}
|
|
11092
|
-
function
|
|
11092
|
+
function qc(o) {
|
|
11093
11093
|
const t = (l, c = "00") => (c + l).substr((c + l).length - c.length);
|
|
11094
11094
|
let e = "", i = "0000", s = o.year;
|
|
11095
11095
|
s < 0 ? (s = -s, e = "-", i = "000000") : o.year >= 1e4 && (e = "+", i = "000000");
|
|
11096
11096
|
const r = e + t(s, i), n = t(o.month + 1), a = t(o.day);
|
|
11097
11097
|
return [r, n, a].join("-");
|
|
11098
11098
|
}
|
|
11099
|
-
function
|
|
11100
|
-
return o instanceof Date ?
|
|
11099
|
+
function Kc(o) {
|
|
11100
|
+
return o instanceof Date ? qc({
|
|
11101
11101
|
year: o.getFullYear(),
|
|
11102
11102
|
month: o.getMonth(),
|
|
11103
11103
|
day: o.getDate()
|
|
@@ -11204,9 +11204,9 @@ class Ut {
|
|
|
11204
11204
|
}
|
|
11205
11205
|
}
|
|
11206
11206
|
let St = /* @__PURE__ */ new Set();
|
|
11207
|
-
const
|
|
11207
|
+
const Gc = function(o) {
|
|
11208
11208
|
St.add(o);
|
|
11209
|
-
},
|
|
11209
|
+
}, Jc = function() {
|
|
11210
11210
|
const o = !!St.size;
|
|
11211
11211
|
return St.forEach((t) => {
|
|
11212
11212
|
try {
|
|
@@ -11230,7 +11230,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
11230
11230
|
const no = function() {
|
|
11231
11231
|
let o, t;
|
|
11232
11232
|
do
|
|
11233
|
-
o = window.ShadyDOM && ShadyDOM.flush(), window.ShadyCSS && window.ShadyCSS.ScopingShim && window.ShadyCSS.ScopingShim.flush(), t =
|
|
11233
|
+
o = window.ShadyDOM && ShadyDOM.flush(), window.ShadyCSS && window.ShadyCSS.ScopingShim && window.ShadyCSS.ScopingShim.flush(), t = Jc();
|
|
11234
11234
|
while (o || t);
|
|
11235
11235
|
};
|
|
11236
11236
|
/**
|
|
@@ -11238,8 +11238,8 @@ const no = function() {
|
|
|
11238
11238
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11239
11239
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11240
11240
|
*/
|
|
11241
|
-
const
|
|
11242
|
-
|
|
11241
|
+
const kr = document.createElement("template");
|
|
11242
|
+
kr.innerHTML = `
|
|
11243
11243
|
<style>
|
|
11244
11244
|
:host {
|
|
11245
11245
|
display: block;
|
|
@@ -11290,9 +11290,9 @@ Dr.innerHTML = `
|
|
|
11290
11290
|
<div id="fullHeight"></div>
|
|
11291
11291
|
</div>
|
|
11292
11292
|
`;
|
|
11293
|
-
class
|
|
11293
|
+
class Pr extends HTMLElement {
|
|
11294
11294
|
constructor() {
|
|
11295
|
-
super(), this.attachShadow({ mode: "open" }).appendChild(
|
|
11295
|
+
super(), this.attachShadow({ mode: "open" }).appendChild(kr.content.cloneNode(!0)), this.bufferSize = 20, this._initialScroll = 5e5, this._initialIndex = 0, this._activated = !1;
|
|
11296
11296
|
}
|
|
11297
11297
|
/**
|
|
11298
11298
|
* @return {boolean}
|
|
@@ -11408,7 +11408,7 @@ class kr extends HTMLElement {
|
|
|
11408
11408
|
for (let i = 0; i < this.bufferSize; i++) {
|
|
11409
11409
|
const s = document.createElement("div");
|
|
11410
11410
|
s.style.height = `${this.itemHeight}px`, s.instance = {};
|
|
11411
|
-
const r = `vaadin-infinite-scroller-item-content-${
|
|
11411
|
+
const r = `vaadin-infinite-scroller-item-content-${vr()}`, n = document.createElement("slot");
|
|
11412
11412
|
n.setAttribute("name", r), n._itemWrapper = s, e.appendChild(n), s.setAttribute("slot", r), this.appendChild(s), this._isVisible(s, t) && this._ensureStampedInstance(s);
|
|
11413
11413
|
}
|
|
11414
11414
|
}), requestAnimationFrame(() => {
|
|
@@ -11449,8 +11449,8 @@ class kr extends HTMLElement {
|
|
|
11449
11449
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11450
11450
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11451
11451
|
*/
|
|
11452
|
-
const
|
|
11453
|
-
|
|
11452
|
+
const Tr = document.createElement("template");
|
|
11453
|
+
Tr.innerHTML = `
|
|
11454
11454
|
<style>
|
|
11455
11455
|
:host {
|
|
11456
11456
|
--vaadin-infinite-scroller-item-height: 270px;
|
|
@@ -11463,12 +11463,12 @@ Pr.innerHTML = `
|
|
|
11463
11463
|
}
|
|
11464
11464
|
</style>
|
|
11465
11465
|
`;
|
|
11466
|
-
class
|
|
11466
|
+
class Xc extends Pr {
|
|
11467
11467
|
static get is() {
|
|
11468
11468
|
return "vaadin-date-picker-month-scroller";
|
|
11469
11469
|
}
|
|
11470
11470
|
constructor() {
|
|
11471
|
-
super(), this.bufferSize = 3, this.shadowRoot.appendChild(
|
|
11471
|
+
super(), this.bufferSize = 3, this.shadowRoot.appendChild(Tr.content.cloneNode(!0));
|
|
11472
11472
|
}
|
|
11473
11473
|
/**
|
|
11474
11474
|
* @protected
|
|
@@ -11484,17 +11484,17 @@ class Jc extends kr {
|
|
|
11484
11484
|
* @override
|
|
11485
11485
|
*/
|
|
11486
11486
|
_updateElement(t, e) {
|
|
11487
|
-
t.month =
|
|
11487
|
+
t.month = Dr(e);
|
|
11488
11488
|
}
|
|
11489
11489
|
}
|
|
11490
|
-
Se(
|
|
11490
|
+
Se(Xc);
|
|
11491
11491
|
/**
|
|
11492
11492
|
* @license
|
|
11493
11493
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11494
11494
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11495
11495
|
*/
|
|
11496
|
-
const
|
|
11497
|
-
|
|
11496
|
+
const Mr = document.createElement("template");
|
|
11497
|
+
Mr.innerHTML = `
|
|
11498
11498
|
<style>
|
|
11499
11499
|
:host {
|
|
11500
11500
|
--vaadin-infinite-scroller-item-height: 80px;
|
|
@@ -11529,12 +11529,12 @@ Tr.innerHTML = `
|
|
|
11529
11529
|
}
|
|
11530
11530
|
</style>
|
|
11531
11531
|
`;
|
|
11532
|
-
class
|
|
11532
|
+
class Zc extends Pr {
|
|
11533
11533
|
static get is() {
|
|
11534
11534
|
return "vaadin-date-picker-year-scroller";
|
|
11535
11535
|
}
|
|
11536
11536
|
constructor() {
|
|
11537
|
-
super(), this.bufferSize = 12, this.shadowRoot.appendChild(
|
|
11537
|
+
super(), this.bufferSize = 12, this.shadowRoot.appendChild(Mr.content.cloneNode(!0));
|
|
11538
11538
|
}
|
|
11539
11539
|
/**
|
|
11540
11540
|
* @protected
|
|
@@ -11558,13 +11558,13 @@ class Xc extends kr {
|
|
|
11558
11558
|
return i.setFullYear(parseInt(t) + e.getFullYear()), i.getFullYear();
|
|
11559
11559
|
}
|
|
11560
11560
|
}
|
|
11561
|
-
Se(
|
|
11561
|
+
Se(Zc);
|
|
11562
11562
|
/**
|
|
11563
11563
|
* @license
|
|
11564
11564
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11565
11565
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11566
11566
|
*/
|
|
11567
|
-
const
|
|
11567
|
+
const Qc = (o) => class extends o {
|
|
11568
11568
|
static get properties() {
|
|
11569
11569
|
return {
|
|
11570
11570
|
year: {
|
|
@@ -11590,7 +11590,7 @@ const Zc = (o) => class extends o {
|
|
|
11590
11590
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11591
11591
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11592
11592
|
*/
|
|
11593
|
-
class
|
|
11593
|
+
class eu extends je(Qc(Fe)) {
|
|
11594
11594
|
static get is() {
|
|
11595
11595
|
return "vaadin-date-picker-year";
|
|
11596
11596
|
}
|
|
@@ -11607,7 +11607,7 @@ class Qc extends je(Zc(Fe)) {
|
|
|
11607
11607
|
`;
|
|
11608
11608
|
}
|
|
11609
11609
|
}
|
|
11610
|
-
Se(
|
|
11610
|
+
Se(eu);
|
|
11611
11611
|
/**
|
|
11612
11612
|
@license
|
|
11613
11613
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -11647,7 +11647,7 @@ const lo = ne((o) => {
|
|
|
11647
11647
|
}
|
|
11648
11648
|
}
|
|
11649
11649
|
return t;
|
|
11650
|
-
}),
|
|
11650
|
+
}), tu = ne((o) => {
|
|
11651
11651
|
class t extends o {
|
|
11652
11652
|
/** @nocollapse */
|
|
11653
11653
|
static get properties() {
|
|
@@ -11704,13 +11704,13 @@ Ri.prototype = Object.create(HTMLTemplateElement.prototype, {
|
|
|
11704
11704
|
writable: !0
|
|
11705
11705
|
}
|
|
11706
11706
|
});
|
|
11707
|
-
const
|
|
11708
|
-
function
|
|
11707
|
+
const Or = Ji(Ri), iu = lo(Or);
|
|
11708
|
+
function ou(o, t) {
|
|
11709
11709
|
$i = o, Object.setPrototypeOf(o, t.prototype), new t(), $i = null;
|
|
11710
11710
|
}
|
|
11711
|
-
const
|
|
11711
|
+
const su = Ji(class {
|
|
11712
11712
|
});
|
|
11713
|
-
function
|
|
11713
|
+
function ru(o, t) {
|
|
11714
11714
|
for (let e = 0; e < t.length; e++) {
|
|
11715
11715
|
let i = t[e];
|
|
11716
11716
|
if (!!o != !!i.__hideTemplateChildren__)
|
|
@@ -11728,7 +11728,7 @@ function su(o, t) {
|
|
|
11728
11728
|
i.__hideTemplateChildren__ = o, i._showHideChildren && i._showHideChildren(o);
|
|
11729
11729
|
}
|
|
11730
11730
|
}
|
|
11731
|
-
class Ne extends
|
|
11731
|
+
class Ne extends su {
|
|
11732
11732
|
constructor(t) {
|
|
11733
11733
|
super(), this._configureProperties(t), this.root = this._stampTemplate(this.__dataHost);
|
|
11734
11734
|
let e = [];
|
|
@@ -11797,7 +11797,7 @@ class Ne extends ou {
|
|
|
11797
11797
|
* @protected
|
|
11798
11798
|
*/
|
|
11799
11799
|
_showHideChildren(t) {
|
|
11800
|
-
|
|
11800
|
+
ru(t, this.children);
|
|
11801
11801
|
}
|
|
11802
11802
|
/**
|
|
11803
11803
|
* Overrides default property-effects implementation to intercept
|
|
@@ -11850,31 +11850,31 @@ Ne.prototype.__templatizeOptions;
|
|
|
11850
11850
|
Ne.prototype._methodHost;
|
|
11851
11851
|
Ne.prototype.__templatizeOwner;
|
|
11852
11852
|
Ne.prototype.__hostProps;
|
|
11853
|
-
const
|
|
11853
|
+
const nu = lo(
|
|
11854
11854
|
// This cast shouldn't be neccessary, but Closure doesn't understand that
|
|
11855
11855
|
// TemplateInstanceBase is a constructor function.
|
|
11856
11856
|
/** @type {function(new:TemplateInstanceBase)} */
|
|
11857
11857
|
Ne
|
|
11858
11858
|
);
|
|
11859
|
-
function
|
|
11859
|
+
function ts(o) {
|
|
11860
11860
|
let t = o.__dataHost;
|
|
11861
11861
|
return t && t._methodHost || t;
|
|
11862
11862
|
}
|
|
11863
|
-
function
|
|
11864
|
-
let i = e.mutableData ?
|
|
11865
|
-
|
|
11863
|
+
function au(o, t, e) {
|
|
11864
|
+
let i = e.mutableData ? nu : Ne;
|
|
11865
|
+
Hi.mixin && (i = Hi.mixin(i));
|
|
11866
11866
|
let s = class extends i {
|
|
11867
11867
|
};
|
|
11868
|
-
return s.prototype.__templatizeOptions = e, s.prototype._bindTemplate(o),
|
|
11868
|
+
return s.prototype.__templatizeOptions = e, s.prototype._bindTemplate(o), uu(s, o, t, e), s;
|
|
11869
11869
|
}
|
|
11870
|
-
function
|
|
11870
|
+
function lu(o, t, e, i) {
|
|
11871
11871
|
let s = e.forwardHostProp;
|
|
11872
11872
|
if (s && t.hasHostProps) {
|
|
11873
11873
|
const r = o.localName == "template";
|
|
11874
11874
|
let n = t.templatizeTemplateClass;
|
|
11875
11875
|
if (!n) {
|
|
11876
11876
|
if (r) {
|
|
11877
|
-
let l = e.mutableData ?
|
|
11877
|
+
let l = e.mutableData ? iu : Or;
|
|
11878
11878
|
class c extends l {
|
|
11879
11879
|
}
|
|
11880
11880
|
n = t.templatizeTemplateClass = c;
|
|
@@ -11889,12 +11889,12 @@ function au(o, t, e, i) {
|
|
|
11889
11889
|
n.prototype._addPropertyEffect(
|
|
11890
11890
|
"_host_" + l,
|
|
11891
11891
|
n.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE,
|
|
11892
|
-
{ fn:
|
|
11892
|
+
{ fn: cu(l, s) }
|
|
11893
11893
|
), n.prototype._createNotifyingProperty("_host_" + l);
|
|
11894
|
-
|
|
11894
|
+
Ls && i && fu(t, e, i);
|
|
11895
11895
|
}
|
|
11896
11896
|
if (o.__dataProto && Object.assign(o.__data, o.__dataProto), r)
|
|
11897
|
-
|
|
11897
|
+
ou(o, n), o.__dataTemp = {}, o.__dataPending = null, o.__dataOld = null, o._enableProperties();
|
|
11898
11898
|
else {
|
|
11899
11899
|
Object.setPrototypeOf(o, n.prototype);
|
|
11900
11900
|
const a = t.hostProps;
|
|
@@ -11906,7 +11906,7 @@ function au(o, t, e, i) {
|
|
|
11906
11906
|
}
|
|
11907
11907
|
}
|
|
11908
11908
|
}
|
|
11909
|
-
function
|
|
11909
|
+
function cu(o, t) {
|
|
11910
11910
|
return function(i, s, r) {
|
|
11911
11911
|
t.call(
|
|
11912
11912
|
i.__templatizeOwner,
|
|
@@ -11915,7 +11915,7 @@ function lu(o, t) {
|
|
|
11915
11915
|
);
|
|
11916
11916
|
};
|
|
11917
11917
|
}
|
|
11918
|
-
function
|
|
11918
|
+
function uu(o, t, e, i) {
|
|
11919
11919
|
let s = e.hostProps || {};
|
|
11920
11920
|
for (let r in i.instanceProps) {
|
|
11921
11921
|
delete s[r];
|
|
@@ -11923,7 +11923,7 @@ function cu(o, t, e, i) {
|
|
|
11923
11923
|
n && o.prototype._addPropertyEffect(
|
|
11924
11924
|
r,
|
|
11925
11925
|
o.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,
|
|
11926
|
-
{ fn:
|
|
11926
|
+
{ fn: du(r, n) }
|
|
11927
11927
|
);
|
|
11928
11928
|
}
|
|
11929
11929
|
if (i.forwardHostProp && t.__dataHost)
|
|
@@ -11931,10 +11931,10 @@ function cu(o, t, e, i) {
|
|
|
11931
11931
|
e.hasHostProps || (e.hasHostProps = !0), o.prototype._addPropertyEffect(
|
|
11932
11932
|
r,
|
|
11933
11933
|
o.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,
|
|
11934
|
-
{ fn:
|
|
11934
|
+
{ fn: hu() }
|
|
11935
11935
|
);
|
|
11936
11936
|
}
|
|
11937
|
-
function
|
|
11937
|
+
function du(o, t) {
|
|
11938
11938
|
return function(i, s, r) {
|
|
11939
11939
|
t.call(
|
|
11940
11940
|
i.__templatizeOwner,
|
|
@@ -11944,22 +11944,22 @@ function uu(o, t) {
|
|
|
11944
11944
|
);
|
|
11945
11945
|
};
|
|
11946
11946
|
}
|
|
11947
|
-
function
|
|
11947
|
+
function hu() {
|
|
11948
11948
|
return function(t, e, i) {
|
|
11949
11949
|
t.__dataHost._setPendingPropertyOrPath("_host_" + e, i[e], !0, !0);
|
|
11950
11950
|
};
|
|
11951
11951
|
}
|
|
11952
|
-
function
|
|
11953
|
-
if (
|
|
11952
|
+
function Hi(o, t, e) {
|
|
11953
|
+
if (Ht && !ts(o))
|
|
11954
11954
|
throw new Error("strictTemplatePolicy: template owner not trusted");
|
|
11955
11955
|
if (e = /** @type {!TemplatizeOptions} */
|
|
11956
11956
|
e || {}, o.__templatizeOwner)
|
|
11957
11957
|
throw new Error("A <template> can only be templatized once");
|
|
11958
11958
|
o.__templatizeOwner = t;
|
|
11959
11959
|
let s = (t ? t.constructor : Ne)._parseTemplate(o), r = s.templatizeInstanceClass;
|
|
11960
|
-
r || (r =
|
|
11961
|
-
const n =
|
|
11962
|
-
|
|
11960
|
+
r || (r = au(o, s, e), s.templatizeInstanceClass = r);
|
|
11961
|
+
const n = ts(o);
|
|
11962
|
+
lu(o, s, e, n);
|
|
11963
11963
|
let a = class extends r {
|
|
11964
11964
|
};
|
|
11965
11965
|
return a.prototype._methodHost = n, a.prototype.__dataHost = /** @type {!DataTemplate} */
|
|
@@ -11967,7 +11967,7 @@ function Bi(o, t, e) {
|
|
|
11967
11967
|
t, a.prototype.__hostProps = s.hostProps, a = /** @type {function(new:TemplateInstanceBase)} */
|
|
11968
11968
|
a, a;
|
|
11969
11969
|
}
|
|
11970
|
-
function
|
|
11970
|
+
function fu(o, t, e) {
|
|
11971
11971
|
const i = e.constructor._properties, { propertyEffects: s } = o, { instanceProps: r } = t;
|
|
11972
11972
|
for (let n in s)
|
|
11973
11973
|
if (!i[n] && !(r && r[n])) {
|
|
@@ -11981,7 +11981,7 @@ function hu(o, t, e) {
|
|
|
11981
11981
|
}
|
|
11982
11982
|
}
|
|
11983
11983
|
}
|
|
11984
|
-
function
|
|
11984
|
+
function pu(o, t) {
|
|
11985
11985
|
let e;
|
|
11986
11986
|
for (; t; )
|
|
11987
11987
|
if (e = t.__dataHost ? t : t.__templatizeInstance)
|
|
@@ -12002,11 +12002,11 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
12002
12002
|
Code distributed by Google as part of the polymer project is also
|
|
12003
12003
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
12004
12004
|
*/
|
|
12005
|
-
let
|
|
12006
|
-
function
|
|
12007
|
-
if (
|
|
12008
|
-
if (!
|
|
12009
|
-
|
|
12005
|
+
let is = !1;
|
|
12006
|
+
function mu() {
|
|
12007
|
+
if (zs && !Ns) {
|
|
12008
|
+
if (!is) {
|
|
12009
|
+
is = !0;
|
|
12010
12010
|
const o = document.createElement("style");
|
|
12011
12011
|
o.textContent = "dom-bind,dom-if,dom-repeat{display:none;}", document.head.appendChild(o);
|
|
12012
12012
|
}
|
|
@@ -12023,8 +12023,8 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
12023
12023
|
Code distributed by Google as part of the polymer project is also
|
|
12024
12024
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
12025
12025
|
*/
|
|
12026
|
-
const
|
|
12027
|
-
class
|
|
12026
|
+
const _u = tu(Fe);
|
|
12027
|
+
class os extends _u {
|
|
12028
12028
|
// Not needed to find template; can be removed once the analyzer
|
|
12029
12029
|
// can find the tag name from customElements.define call
|
|
12030
12030
|
static get is() {
|
|
@@ -12119,7 +12119,7 @@ class is extends mu {
|
|
|
12119
12119
|
*/
|
|
12120
12120
|
renderedItemCount: {
|
|
12121
12121
|
type: Number,
|
|
12122
|
-
notify: !
|
|
12122
|
+
notify: !Po,
|
|
12123
12123
|
readOnly: !0
|
|
12124
12124
|
},
|
|
12125
12125
|
/**
|
|
@@ -12202,7 +12202,7 @@ class is extends mu {
|
|
|
12202
12202
|
* @return {void}
|
|
12203
12203
|
*/
|
|
12204
12204
|
connectedCallback() {
|
|
12205
|
-
if (super.connectedCallback(),
|
|
12205
|
+
if (super.connectedCallback(), mu() || (this.style.display = "none"), this.__isDetached) {
|
|
12206
12206
|
this.__isDetached = !1;
|
|
12207
12207
|
let t = ce(ce(this).parentNode);
|
|
12208
12208
|
for (let e = 0; e < this.__instances.length; e++)
|
|
@@ -12231,7 +12231,7 @@ class is extends mu {
|
|
|
12231
12231
|
return s.observe(this, { childList: !0 }), !1;
|
|
12232
12232
|
}
|
|
12233
12233
|
let i = {};
|
|
12234
|
-
i[this.as] = !0, i[this.indexAs] = !0, i[this.itemsIndexAs] = !0, this.__ctor =
|
|
12234
|
+
i[this.as] = !0, i[this.indexAs] = !0, i[this.itemsIndexAs] = !0, this.__ctor = Hi(e, this, {
|
|
12235
12235
|
mutableData: this.mutableData,
|
|
12236
12236
|
parentModel: !0,
|
|
12237
12237
|
instanceProps: i,
|
|
@@ -12252,7 +12252,7 @@ class is extends mu {
|
|
|
12252
12252
|
* @param {*} value Value to notify
|
|
12253
12253
|
*/
|
|
12254
12254
|
notifyInstanceProp: function(s, r, n) {
|
|
12255
|
-
if (
|
|
12255
|
+
if (ba(this.as, r)) {
|
|
12256
12256
|
let a = s[this.itemsIndexAs];
|
|
12257
12257
|
r == this.as && (this.items[a] = n);
|
|
12258
12258
|
let l = xt(this.as, `${JSCompiler_renameProperty("items", this)}.${a}`, r);
|
|
@@ -12308,9 +12308,9 @@ class is extends mu {
|
|
|
12308
12308
|
__debounceRender(t, e = 0) {
|
|
12309
12309
|
this.__renderDebouncer = Ut.debounce(
|
|
12310
12310
|
this.__renderDebouncer,
|
|
12311
|
-
e > 0 ?
|
|
12311
|
+
e > 0 ? Ca.after(e) : qs,
|
|
12312
12312
|
t.bind(this)
|
|
12313
|
-
),
|
|
12313
|
+
), Gc(this.__renderDebouncer);
|
|
12314
12314
|
}
|
|
12315
12315
|
/**
|
|
12316
12316
|
* Forces the element to render its content. Normally rendering is
|
|
@@ -12330,7 +12330,7 @@ class is extends mu {
|
|
|
12330
12330
|
const e = this.__sortAndFilterItems(t), i = this.__calculateLimit(e.length);
|
|
12331
12331
|
this.__updateInstances(t, i, e), this.initialCount && (this.__shouldMeasureChunk || this.__shouldContinueChunking) && (cancelAnimationFrame(this.__chunkingId), this.__chunkingId = requestAnimationFrame(() => {
|
|
12332
12332
|
this.__chunkingId = null, this.__continueChunking();
|
|
12333
|
-
})), this._setRenderedItemCount(this.__instances.length), (!
|
|
12333
|
+
})), this._setRenderedItemCount(this.__instances.length), (!Po || this.notifyDomChange) && this.dispatchEvent(new CustomEvent("dom-change", {
|
|
12334
12334
|
bubbles: !0,
|
|
12335
12335
|
composed: !0
|
|
12336
12336
|
}));
|
|
@@ -12470,16 +12470,16 @@ class is extends mu {
|
|
|
12470
12470
|
* the element.
|
|
12471
12471
|
*/
|
|
12472
12472
|
modelForElement(t) {
|
|
12473
|
-
return
|
|
12473
|
+
return pu(this.template, t);
|
|
12474
12474
|
}
|
|
12475
12475
|
}
|
|
12476
|
-
customElements.define(
|
|
12476
|
+
customElements.define(os.is, os);
|
|
12477
12477
|
/**
|
|
12478
12478
|
* @license
|
|
12479
12479
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12480
12480
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12481
12481
|
*/
|
|
12482
|
-
const
|
|
12482
|
+
const gu = (o) => class extends so(o) {
|
|
12483
12483
|
static get properties() {
|
|
12484
12484
|
return {
|
|
12485
12485
|
/**
|
|
@@ -12662,7 +12662,7 @@ const _u = (o) => class extends so(o) {
|
|
|
12662
12662
|
/** @protected */
|
|
12663
12663
|
__getWeekNumber(e) {
|
|
12664
12664
|
const i = e.reduce((s, r) => !s && r ? r : s);
|
|
12665
|
-
return
|
|
12665
|
+
return Vc(i);
|
|
12666
12666
|
}
|
|
12667
12667
|
/** @protected */
|
|
12668
12668
|
__getDayAriaLabel(e) {
|
|
@@ -12677,7 +12677,7 @@ const _u = (o) => class extends so(o) {
|
|
|
12677
12677
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12678
12678
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12679
12679
|
*/
|
|
12680
|
-
const
|
|
12680
|
+
const vu = R`
|
|
12681
12681
|
:host {
|
|
12682
12682
|
display: block;
|
|
12683
12683
|
}
|
|
@@ -12739,10 +12739,10 @@ const gu = R`
|
|
|
12739
12739
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12740
12740
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12741
12741
|
*/
|
|
12742
|
-
Q("vaadin-month-calendar",
|
|
12742
|
+
Q("vaadin-month-calendar", vu, {
|
|
12743
12743
|
moduleId: "vaadin-month-calendar-styles"
|
|
12744
12744
|
});
|
|
12745
|
-
class
|
|
12745
|
+
class yu extends gu(je(Fe)) {
|
|
12746
12746
|
static get template() {
|
|
12747
12747
|
return Ve`
|
|
12748
12748
|
<div part="month-header" id="month-header" aria-hidden="true">[[_getTitle(month, i18n)]]</div>
|
|
@@ -12850,13 +12850,13 @@ class vu extends _u(je(Fe)) {
|
|
|
12850
12850
|
return this.__isDayFocused(t, e) ? "0" : "-1";
|
|
12851
12851
|
}
|
|
12852
12852
|
}
|
|
12853
|
-
Se(
|
|
12853
|
+
Se(yu);
|
|
12854
12854
|
/**
|
|
12855
12855
|
* @license
|
|
12856
12856
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12857
12857
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12858
12858
|
*/
|
|
12859
|
-
class
|
|
12859
|
+
class Ir {
|
|
12860
12860
|
constructor(t, e) {
|
|
12861
12861
|
this.query = t, this.callback = e, this._boundQueryHandler = this._queryHandler.bind(this);
|
|
12862
12862
|
}
|
|
@@ -12884,7 +12884,7 @@ class Or {
|
|
|
12884
12884
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12885
12885
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12886
12886
|
*/
|
|
12887
|
-
const
|
|
12887
|
+
const bu = (o) => class extends o {
|
|
12888
12888
|
static get properties() {
|
|
12889
12889
|
return {
|
|
12890
12890
|
scrollDuration: {
|
|
@@ -13012,7 +13012,7 @@ const yu = (o) => class extends o {
|
|
|
13012
13012
|
}
|
|
13013
13013
|
/** @protected */
|
|
13014
13014
|
_addListeners() {
|
|
13015
|
-
|
|
13015
|
+
Er(this.$.scrollers, "pan-y"), Ee(this.$.scrollers, "track", this._track.bind(this)), Ee(this.shadowRoot.querySelector('[part="clear-button"]'), "tap", this._clear.bind(this)), Ee(this.shadowRoot.querySelector('[part="toggle-button"]'), "tap", this._cancel.bind(this)), Ee(
|
|
13016
13016
|
this.shadowRoot.querySelector('[part="years-toggle-button"]'),
|
|
13017
13017
|
"tap",
|
|
13018
13018
|
this._toggleYearScroller.bind(this)
|
|
@@ -13021,7 +13021,7 @@ const yu = (o) => class extends o {
|
|
|
13021
13021
|
/** @protected */
|
|
13022
13022
|
_initControllers() {
|
|
13023
13023
|
this.addController(
|
|
13024
|
-
new
|
|
13024
|
+
new Ir(this._desktopMediaQuery, (e) => {
|
|
13025
13025
|
this._desktopMode = e;
|
|
13026
13026
|
})
|
|
13027
13027
|
), this.addController(
|
|
@@ -13330,7 +13330,7 @@ const yu = (o) => class extends o {
|
|
|
13330
13330
|
}
|
|
13331
13331
|
/** @private */
|
|
13332
13332
|
_yearAfterXMonths(e) {
|
|
13333
|
-
return
|
|
13333
|
+
return Dr(e).getFullYear();
|
|
13334
13334
|
}
|
|
13335
13335
|
/** @private */
|
|
13336
13336
|
_differenceInMonths(e, i) {
|
|
@@ -13438,7 +13438,7 @@ const yu = (o) => class extends o {
|
|
|
13438
13438
|
focusDateElement(e = !0) {
|
|
13439
13439
|
return rt(this, null, function* () {
|
|
13440
13440
|
this.__pendingDateFocus = this.focusedDate, this.calendars.length || (yield new Promise((i) => {
|
|
13441
|
-
|
|
13441
|
+
ur(this, () => {
|
|
13442
13442
|
no(), i();
|
|
13443
13443
|
});
|
|
13444
13444
|
})), e && this.revealDate(this.focusedDate), this._revealPromise && (yield this._revealPromise), this.__tryFocusDate();
|
|
@@ -13446,7 +13446,7 @@ const yu = (o) => class extends o {
|
|
|
13446
13446
|
}
|
|
13447
13447
|
/** @private */
|
|
13448
13448
|
_focusClosestDate(e) {
|
|
13449
|
-
this.focusDate(
|
|
13449
|
+
this.focusDate(Cr(e, [this.minDate, this.maxDate]));
|
|
13450
13450
|
}
|
|
13451
13451
|
/** @private */
|
|
13452
13452
|
_focusAllowedDate(e, i, s) {
|
|
@@ -13497,7 +13497,7 @@ const yu = (o) => class extends o {
|
|
|
13497
13497
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
13498
13498
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13499
13499
|
*/
|
|
13500
|
-
const
|
|
13500
|
+
const xu = R`
|
|
13501
13501
|
:host {
|
|
13502
13502
|
display: flex;
|
|
13503
13503
|
flex-direction: column;
|
|
@@ -13563,10 +13563,10 @@ const bu = R`
|
|
|
13563
13563
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
13564
13564
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13565
13565
|
*/
|
|
13566
|
-
Q("vaadin-date-picker-overlay-content",
|
|
13566
|
+
Q("vaadin-date-picker-overlay-content", xu, {
|
|
13567
13567
|
moduleId: "vaadin-date-picker-overlay-content-styles"
|
|
13568
13568
|
});
|
|
13569
|
-
class
|
|
13569
|
+
class wu extends bu(
|
|
13570
13570
|
st(je(qt(Fe)))
|
|
13571
13571
|
) {
|
|
13572
13572
|
static get template() {
|
|
@@ -13600,14 +13600,14 @@ class xu extends yu(
|
|
|
13600
13600
|
super.ready(), this.setAttribute("role", "dialog"), this._addListeners(), this._initControllers();
|
|
13601
13601
|
}
|
|
13602
13602
|
}
|
|
13603
|
-
Se(
|
|
13603
|
+
Se(wu);
|
|
13604
13604
|
/**
|
|
13605
13605
|
* @license
|
|
13606
13606
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13607
13607
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13608
13608
|
*/
|
|
13609
|
-
const
|
|
13610
|
-
(o) => class extends so(
|
|
13609
|
+
const Fr = ne(
|
|
13610
|
+
(o) => class extends so(Ar(o)) {
|
|
13611
13611
|
static get properties() {
|
|
13612
13612
|
return {
|
|
13613
13613
|
/**
|
|
@@ -13764,14 +13764,14 @@ const Ir = ne(
|
|
|
13764
13764
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13765
13765
|
*/
|
|
13766
13766
|
const pi = /* @__PURE__ */ new WeakMap();
|
|
13767
|
-
function
|
|
13767
|
+
function Eu(o) {
|
|
13768
13768
|
return pi.has(o) || pi.set(o, /* @__PURE__ */ new Set()), pi.get(o);
|
|
13769
13769
|
}
|
|
13770
|
-
function
|
|
13770
|
+
function Su(o, t) {
|
|
13771
13771
|
const e = document.createElement("style");
|
|
13772
13772
|
e.textContent = o, t === document ? document.head.appendChild(e) : t.insertBefore(e, t.firstChild);
|
|
13773
13773
|
}
|
|
13774
|
-
const
|
|
13774
|
+
const Au = ne(
|
|
13775
13775
|
(o) => class extends o {
|
|
13776
13776
|
/**
|
|
13777
13777
|
* List of styles to insert into root.
|
|
@@ -13786,9 +13786,9 @@ const Su = ne(
|
|
|
13786
13786
|
}
|
|
13787
13787
|
/** @private */
|
|
13788
13788
|
__applySlotStyles() {
|
|
13789
|
-
const e = this.getRootNode(), i =
|
|
13789
|
+
const e = this.getRootNode(), i = Eu(e);
|
|
13790
13790
|
this.slotStyles.forEach((s) => {
|
|
13791
|
-
i.has(s) || (
|
|
13791
|
+
i.has(s) || (Su(s, e), i.add(s));
|
|
13792
13792
|
});
|
|
13793
13793
|
}
|
|
13794
13794
|
}
|
|
@@ -13798,7 +13798,7 @@ const Su = ne(
|
|
|
13798
13798
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13799
13799
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13800
13800
|
*/
|
|
13801
|
-
const
|
|
13801
|
+
const Nr = ne(
|
|
13802
13802
|
(o) => class extends o {
|
|
13803
13803
|
static get properties() {
|
|
13804
13804
|
return {
|
|
@@ -14002,7 +14002,7 @@ const Fr = ne(
|
|
|
14002
14002
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14003
14003
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14004
14004
|
*/
|
|
14005
|
-
const
|
|
14005
|
+
const Cu = (o) => class extends Nr(Jt(o)) {
|
|
14006
14006
|
static get properties() {
|
|
14007
14007
|
return {
|
|
14008
14008
|
/**
|
|
@@ -14047,7 +14047,7 @@ const Au = (o) => class extends Fr(Jt(o)) {
|
|
|
14047
14047
|
* @protected
|
|
14048
14048
|
*/
|
|
14049
14049
|
_onClearButtonMouseDown(e) {
|
|
14050
|
-
e.preventDefault(),
|
|
14050
|
+
e.preventDefault(), Vl || this.inputElement.focus();
|
|
14051
14051
|
}
|
|
14052
14052
|
/**
|
|
14053
14053
|
* Override an event listener inherited from `KeydownMixin` to clear on Esc.
|
|
@@ -14081,10 +14081,10 @@ const mi = /* @__PURE__ */ new Map();
|
|
|
14081
14081
|
function co(o) {
|
|
14082
14082
|
return mi.has(o) || mi.set(o, /* @__PURE__ */ new WeakMap()), mi.get(o);
|
|
14083
14083
|
}
|
|
14084
|
-
function
|
|
14084
|
+
function zr(o, t) {
|
|
14085
14085
|
o && o.removeAttribute(t);
|
|
14086
14086
|
}
|
|
14087
|
-
function
|
|
14087
|
+
function Lr(o, t) {
|
|
14088
14088
|
if (!o || !t)
|
|
14089
14089
|
return;
|
|
14090
14090
|
const e = co(t);
|
|
@@ -14093,11 +14093,11 @@ function zr(o, t) {
|
|
|
14093
14093
|
const i = Qi(o.getAttribute(t));
|
|
14094
14094
|
e.set(o, new Set(i));
|
|
14095
14095
|
}
|
|
14096
|
-
function
|
|
14096
|
+
function Du(o, t) {
|
|
14097
14097
|
if (!o || !t)
|
|
14098
14098
|
return;
|
|
14099
14099
|
const e = co(t), i = e.get(o);
|
|
14100
|
-
!i || i.size === 0 ? o.removeAttribute(t) :
|
|
14100
|
+
!i || i.size === 0 ? o.removeAttribute(t) : pr(o, t, Gt(i)), e.delete(o);
|
|
14101
14101
|
}
|
|
14102
14102
|
function _i(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
14103
14103
|
if (!o || !t)
|
|
@@ -14107,19 +14107,19 @@ function _i(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
|
14107
14107
|
s && a.delete(s), i && a.add(i);
|
|
14108
14108
|
return;
|
|
14109
14109
|
}
|
|
14110
|
-
r && (a ? i || n.delete(o) :
|
|
14110
|
+
r && (a ? i || n.delete(o) : Lr(o, t), zr(o, t)), ic(o, t, s);
|
|
14111
14111
|
const l = i || Gt(a);
|
|
14112
|
-
l &&
|
|
14112
|
+
l && pr(o, t, l);
|
|
14113
14113
|
}
|
|
14114
|
-
function
|
|
14115
|
-
|
|
14114
|
+
function ku(o, t) {
|
|
14115
|
+
Lr(o, t), zr(o, t);
|
|
14116
14116
|
}
|
|
14117
14117
|
/**
|
|
14118
14118
|
* @license
|
|
14119
14119
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14120
14120
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14121
14121
|
*/
|
|
14122
|
-
class
|
|
14122
|
+
class Pu {
|
|
14123
14123
|
constructor(t) {
|
|
14124
14124
|
this.host = t, this.__required = !1;
|
|
14125
14125
|
}
|
|
@@ -14192,7 +14192,7 @@ class ku {
|
|
|
14192
14192
|
* @private
|
|
14193
14193
|
* */
|
|
14194
14194
|
__setAriaLabelToAttribute(t) {
|
|
14195
|
-
this.__target && (t ? (
|
|
14195
|
+
this.__target && (t ? (ku(this.__target, "aria-labelledby"), this.__target.setAttribute("aria-label", t)) : this.__label && (Du(this.__target, "aria-labelledby"), this.__target.removeAttribute("aria-label")));
|
|
14196
14196
|
}
|
|
14197
14197
|
/**
|
|
14198
14198
|
* @param {string | null | undefined} labelId
|
|
@@ -14238,9 +14238,9 @@ we.style.clip = "rect(0px, 0px, 0px, 0px)";
|
|
|
14238
14238
|
we.setAttribute("aria-live", "polite");
|
|
14239
14239
|
document.body.appendChild(we);
|
|
14240
14240
|
let It;
|
|
14241
|
-
function
|
|
14241
|
+
function Tu(o, t = {}) {
|
|
14242
14242
|
const e = t.mode || "polite", i = t.timeout === void 0 ? 150 : t.timeout;
|
|
14243
|
-
e === "alert" ? (we.removeAttribute("aria-live"), we.removeAttribute("role"), It = tt.debounce(It,
|
|
14243
|
+
e === "alert" ? (we.removeAttribute("aria-live"), we.removeAttribute("role"), It = tt.debounce(It, vc, () => {
|
|
14244
14244
|
we.setAttribute("role", "alert");
|
|
14245
14245
|
})) : (It && It.cancel(), we.removeAttribute("role"), we.setAttribute("aria-live", e)), we.textContent = "", setTimeout(() => {
|
|
14246
14246
|
we.textContent = o;
|
|
@@ -14366,7 +14366,7 @@ class uo extends $e {
|
|
|
14366
14366
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14367
14367
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14368
14368
|
*/
|
|
14369
|
-
class
|
|
14369
|
+
class Mu extends uo {
|
|
14370
14370
|
constructor(t) {
|
|
14371
14371
|
super(t, "error-message", "div");
|
|
14372
14372
|
}
|
|
@@ -14440,7 +14440,7 @@ class Tu extends uo {
|
|
|
14440
14440
|
*/
|
|
14441
14441
|
updateDefaultNode(t) {
|
|
14442
14442
|
const { errorMessage: e, invalid: i } = this, s = !!(i && e && e.trim() !== "");
|
|
14443
|
-
t && (t.textContent = s ? e : "", t.hidden = !s, s &&
|
|
14443
|
+
t && (t.textContent = s ? e : "", t.hidden = !s, s && Tu(e, { mode: "assertive" })), super.updateDefaultNode(t);
|
|
14444
14444
|
}
|
|
14445
14445
|
}
|
|
14446
14446
|
/**
|
|
@@ -14448,7 +14448,7 @@ class Tu extends uo {
|
|
|
14448
14448
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14449
14449
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14450
14450
|
*/
|
|
14451
|
-
class
|
|
14451
|
+
class Ou extends uo {
|
|
14452
14452
|
constructor(t) {
|
|
14453
14453
|
super(t, "helper", null);
|
|
14454
14454
|
}
|
|
@@ -14503,7 +14503,7 @@ class Mu extends uo {
|
|
|
14503
14503
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14504
14504
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14505
14505
|
*/
|
|
14506
|
-
class
|
|
14506
|
+
class Iu extends uo {
|
|
14507
14507
|
constructor(t) {
|
|
14508
14508
|
super(t, "label", "label");
|
|
14509
14509
|
}
|
|
@@ -14556,7 +14556,7 @@ class Ou extends uo {
|
|
|
14556
14556
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14557
14557
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14558
14558
|
*/
|
|
14559
|
-
const
|
|
14559
|
+
const Fu = ne(
|
|
14560
14560
|
(o) => class extends st(o) {
|
|
14561
14561
|
static get properties() {
|
|
14562
14562
|
return {
|
|
@@ -14571,7 +14571,7 @@ const Iu = ne(
|
|
|
14571
14571
|
};
|
|
14572
14572
|
}
|
|
14573
14573
|
constructor() {
|
|
14574
|
-
super(), this._labelController = new
|
|
14574
|
+
super(), this._labelController = new Iu(this), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
14575
14575
|
this.toggleAttribute("has-label", e.detail.hasContent);
|
|
14576
14576
|
});
|
|
14577
14577
|
}
|
|
@@ -14599,7 +14599,7 @@ const Iu = ne(
|
|
|
14599
14599
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14600
14600
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14601
14601
|
*/
|
|
14602
|
-
const
|
|
14602
|
+
const $r = ne(
|
|
14603
14603
|
(o) => class extends o {
|
|
14604
14604
|
static get properties() {
|
|
14605
14605
|
return {
|
|
@@ -14671,7 +14671,7 @@ const Lr = ne(
|
|
|
14671
14671
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14672
14672
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14673
14673
|
*/
|
|
14674
|
-
const
|
|
14674
|
+
const Nu = (o) => class extends $r(Fu(st(o))) {
|
|
14675
14675
|
static get properties() {
|
|
14676
14676
|
return {
|
|
14677
14677
|
/**
|
|
@@ -14721,7 +14721,7 @@ const Fu = (o) => class extends Lr(Iu(st(o))) {
|
|
|
14721
14721
|
return ["_invalidChanged(invalid)", "_requiredChanged(required)"];
|
|
14722
14722
|
}
|
|
14723
14723
|
constructor() {
|
|
14724
|
-
super(), this._fieldAriaController = new
|
|
14724
|
+
super(), this._fieldAriaController = new Pu(this), this._helperController = new Ou(this), this._errorController = new Mu(this), this._errorController.addEventListener("slot-content-changed", (e) => {
|
|
14725
14725
|
this.toggleAttribute("has-error-message", e.detail.hasContent);
|
|
14726
14726
|
}), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
14727
14727
|
const { hasContent: i, node: s } = e.detail;
|
|
@@ -14812,7 +14812,7 @@ const Fu = (o) => class extends Lr(Iu(st(o))) {
|
|
|
14812
14812
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14813
14813
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14814
14814
|
*/
|
|
14815
|
-
const
|
|
14815
|
+
const zu = ne(
|
|
14816
14816
|
(o) => class extends o {
|
|
14817
14817
|
static get properties() {
|
|
14818
14818
|
return {
|
|
@@ -14893,8 +14893,8 @@ const Nu = ne(
|
|
|
14893
14893
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14894
14894
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14895
14895
|
*/
|
|
14896
|
-
const
|
|
14897
|
-
(o) => class extends
|
|
14896
|
+
const Rr = ne(
|
|
14897
|
+
(o) => class extends zu($r(Nr(o))) {
|
|
14898
14898
|
/**
|
|
14899
14899
|
* An array of attributes which participate in the input validation.
|
|
14900
14900
|
* Changing these attributes will cause the input to re-validate.
|
|
@@ -14978,8 +14978,8 @@ const $r = ne(
|
|
|
14978
14978
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14979
14979
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14980
14980
|
*/
|
|
14981
|
-
const
|
|
14982
|
-
|
|
14981
|
+
const Lu = (o) => class extends Au(
|
|
14982
|
+
Fr(Rr(Nu(Cu(Jt(o)))))
|
|
14983
14983
|
) {
|
|
14984
14984
|
static get properties() {
|
|
14985
14985
|
return {
|
|
@@ -15165,7 +15165,7 @@ const zu = (o) => class extends Su(
|
|
|
15165
15165
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
15166
15166
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15167
15167
|
*/
|
|
15168
|
-
class
|
|
15168
|
+
class $u extends $e {
|
|
15169
15169
|
constructor(t, e, i = {}) {
|
|
15170
15170
|
const { uniqueIdPrefix: s } = i;
|
|
15171
15171
|
super(t, "input", "input", {
|
|
@@ -15182,7 +15182,7 @@ class Lu extends $e {
|
|
|
15182
15182
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
15183
15183
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15184
15184
|
*/
|
|
15185
|
-
class
|
|
15185
|
+
class Ru {
|
|
15186
15186
|
constructor(t, e) {
|
|
15187
15187
|
this.input = t, this.__preventDuplicateLabelClick = this.__preventDuplicateLabelClick.bind(this), e.addEventListener("slot-content-changed", (i) => {
|
|
15188
15188
|
this.__initLabel(i.detail.node);
|
|
@@ -15215,7 +15215,7 @@ class $u {
|
|
|
15215
15215
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
15216
15216
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15217
15217
|
*/
|
|
15218
|
-
const
|
|
15218
|
+
const Hu = R`
|
|
15219
15219
|
[part='clear-button'] {
|
|
15220
15220
|
display: none;
|
|
15221
15221
|
cursor: default;
|
|
@@ -15274,7 +15274,7 @@ const Bu = R`
|
|
|
15274
15274
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
15275
15275
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15276
15276
|
*/
|
|
15277
|
-
const
|
|
15277
|
+
const Yu = R`
|
|
15278
15278
|
[class$='container'] {
|
|
15279
15279
|
display: flex;
|
|
15280
15280
|
flex-direction: column;
|
|
@@ -15288,13 +15288,13 @@ const Hu = R`
|
|
|
15288
15288
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
15289
15289
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15290
15290
|
*/
|
|
15291
|
-
const
|
|
15291
|
+
const ju = [Bu, Yu, Hu];
|
|
15292
15292
|
/**
|
|
15293
15293
|
* @license
|
|
15294
15294
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
15295
15295
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15296
15296
|
*/
|
|
15297
|
-
const
|
|
15297
|
+
const Uu = (o) => class extends o {
|
|
15298
15298
|
static get properties() {
|
|
15299
15299
|
return {
|
|
15300
15300
|
/**
|
|
@@ -15341,7 +15341,7 @@ const ju = (o) => class extends o {
|
|
|
15341
15341
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
15342
15342
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15343
15343
|
*/
|
|
15344
|
-
class
|
|
15344
|
+
class Vu {
|
|
15345
15345
|
/**
|
|
15346
15346
|
* @param {{ inputElement?: HTMLElement; opened: boolean } & HTMLElement} host
|
|
15347
15347
|
*/
|
|
@@ -15360,8 +15360,8 @@ class Uu {
|
|
|
15360
15360
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15361
15361
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15362
15362
|
*/
|
|
15363
|
-
const
|
|
15364
|
-
st(
|
|
15363
|
+
const Wu = (o) => class extends Uu(
|
|
15364
|
+
st(Fr(Rr(Jt(o))))
|
|
15365
15365
|
) {
|
|
15366
15366
|
static get properties() {
|
|
15367
15367
|
return {
|
|
@@ -15566,7 +15566,7 @@ const Vu = (o) => class extends ju(
|
|
|
15566
15566
|
if (i.length === 3) {
|
|
15567
15567
|
if (n = parseInt(i[0]) - 1, r = parseInt(i[1]), a = parseInt(i[2]), i[2].length < 3 && a >= 0) {
|
|
15568
15568
|
const l = this.referenceDate ? ut(this.referenceDate) : /* @__PURE__ */ new Date();
|
|
15569
|
-
a =
|
|
15569
|
+
a = Wc(l, a, n, r);
|
|
15570
15570
|
}
|
|
15571
15571
|
} else
|
|
15572
15572
|
i.length === 2 ? (n = parseInt(i[0]) - 1, r = parseInt(i[1])) : i.length === 1 && (r = parseInt(i[0]));
|
|
@@ -15640,7 +15640,7 @@ const Vu = (o) => class extends ju(
|
|
|
15640
15640
|
/** @private */
|
|
15641
15641
|
_ios: {
|
|
15642
15642
|
type: Boolean,
|
|
15643
|
-
value:
|
|
15643
|
+
value: dr
|
|
15644
15644
|
},
|
|
15645
15645
|
/** @private */
|
|
15646
15646
|
_focusOverlayOnOpen: Boolean,
|
|
@@ -15740,10 +15740,10 @@ const Vu = (o) => class extends ju(
|
|
|
15740
15740
|
/** @protected */
|
|
15741
15741
|
ready() {
|
|
15742
15742
|
super.ready(), this.addEventListener("click", this._boundOnClick), this.addController(
|
|
15743
|
-
new
|
|
15743
|
+
new Ir(this._fullscreenMediaQuery, (i) => {
|
|
15744
15744
|
this._fullscreen = i;
|
|
15745
15745
|
})
|
|
15746
|
-
), this.addController(new
|
|
15746
|
+
), this.addController(new Vu(this));
|
|
15747
15747
|
const e = this.$.overlay;
|
|
15748
15748
|
this._overlayElement = e, e.renderer = this._boundOverlayRenderer, this.addEventListener("mousedown", () => this.__bringToFront()), this.addEventListener("touchstart", () => this.__bringToFront());
|
|
15749
15749
|
}
|
|
@@ -15901,7 +15901,7 @@ const Vu = (o) => class extends ju(
|
|
|
15901
15901
|
}
|
|
15902
15902
|
/** @private */
|
|
15903
15903
|
_formatISO(e) {
|
|
15904
|
-
return
|
|
15904
|
+
return Kc(e);
|
|
15905
15905
|
}
|
|
15906
15906
|
/** @protected */
|
|
15907
15907
|
_inputElementChanged(e) {
|
|
@@ -15967,12 +15967,12 @@ const Vu = (o) => class extends ju(
|
|
|
15967
15967
|
const r = this._nativeInput;
|
|
15968
15968
|
this._noInput && r && (r.blur(), this._overlayContent.focusDateElement());
|
|
15969
15969
|
const n = this._noInput ? e : [r, e];
|
|
15970
|
-
this.__showOthers =
|
|
15970
|
+
this.__showOthers = hr(n);
|
|
15971
15971
|
}
|
|
15972
15972
|
/** @private */
|
|
15973
15973
|
_getInitialPosition() {
|
|
15974
15974
|
const e = ut(this.initialPosition), i = this._selectedDate || this._overlayContent.initialPosition || e || /* @__PURE__ */ new Date();
|
|
15975
|
-
return e || it(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ?
|
|
15975
|
+
return e || it(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ? Cr(i, [this._minDate, this._maxDate]) : /* @__PURE__ */ new Date();
|
|
15976
15976
|
}
|
|
15977
15977
|
/**
|
|
15978
15978
|
* Tries to parse the input element's value as a date. If the input value
|
|
@@ -16133,7 +16133,7 @@ const Vu = (o) => class extends ju(
|
|
|
16133
16133
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
16134
16134
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
16135
16135
|
*/
|
|
16136
|
-
const
|
|
16136
|
+
const qu = R`
|
|
16137
16137
|
:host([opened]) {
|
|
16138
16138
|
pointer-events: auto;
|
|
16139
16139
|
}
|
|
@@ -16152,8 +16152,8 @@ const Wu = R`
|
|
|
16152
16152
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
16153
16153
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
16154
16154
|
*/
|
|
16155
|
-
Q("vaadin-date-picker", [
|
|
16156
|
-
class
|
|
16155
|
+
Q("vaadin-date-picker", [ju, qu], { moduleId: "vaadin-date-picker-styles" });
|
|
16156
|
+
class Ku extends Wu(Lu(je(gr(Fe)))) {
|
|
16157
16157
|
static get is() {
|
|
16158
16158
|
return "vaadin-date-picker";
|
|
16159
16159
|
}
|
|
@@ -16213,7 +16213,7 @@ class qu extends Vu(zu(je(_r(Fe)))) {
|
|
|
16213
16213
|
/** @protected */
|
|
16214
16214
|
ready() {
|
|
16215
16215
|
super.ready(), this.addController(
|
|
16216
|
-
new
|
|
16216
|
+
new $u(
|
|
16217
16217
|
this,
|
|
16218
16218
|
(e) => {
|
|
16219
16219
|
this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
|
|
@@ -16225,7 +16225,7 @@ class qu extends Vu(zu(je(_r(Fe)))) {
|
|
|
16225
16225
|
uniqueIdPrefix: "search-input"
|
|
16226
16226
|
}
|
|
16227
16227
|
)
|
|
16228
|
-
), this.addController(new
|
|
16228
|
+
), this.addController(new Ru(this.inputElement, this._labelController)), this._tooltipController = new yr(this), this.addController(this._tooltipController), this._tooltipController.setPosition("top"), this._tooltipController.setAriaTarget(this.inputElement), this._tooltipController.setShouldShow((e) => !e.opened), this.shadowRoot.querySelector('[part="toggle-button"]').addEventListener("mousedown", (e) => e.preventDefault()), this.$.overlay.addEventListener("vaadin-overlay-close", this._onVaadinOverlayClose.bind(this));
|
|
16229
16229
|
}
|
|
16230
16230
|
/** @private */
|
|
16231
16231
|
_onVaadinOverlayClose(t) {
|
|
@@ -16241,7 +16241,7 @@ class qu extends Vu(zu(je(_r(Fe)))) {
|
|
|
16241
16241
|
super._openedChanged(t), this.$.overlay.positionTarget = this.shadowRoot.querySelector('[part="input-field"]'), this.$.overlay.noVerticalOverlap = !0;
|
|
16242
16242
|
}
|
|
16243
16243
|
}
|
|
16244
|
-
Se(
|
|
16244
|
+
Se(Ku);
|
|
16245
16245
|
if (typeof window != "undefined") {
|
|
16246
16246
|
let o = function(t) {
|
|
16247
16247
|
return function(...e) {
|
|
@@ -16279,14 +16279,14 @@ if (typeof window != "undefined") {
|
|
|
16279
16279
|
}
|
|
16280
16280
|
);
|
|
16281
16281
|
}
|
|
16282
|
-
function
|
|
16283
|
-
|
|
16282
|
+
function Gu(o) {
|
|
16283
|
+
tn(o, "svelte-st6cko", 'a{cursor:pointer;text-decoration:underline;font-weight:600}.PlayerSelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.PlayerSelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerSelfExclusionTitleNone{display:none}.SelfExclusionContainer{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));container-type:inline-size}.SelfExclusionContainer .SelfExclusionWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px;border-radius:10px;max-width:100%;min-height:500px;opacity:1;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.SelfExclusionContainer .SelfExclusionWrapper.SelfExclusionWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.MenuReturnButton{color:var(--emw--color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.SelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-bold, 700)}.SelfExclusionTitle.SelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px)}.SelfExclusionNotification{color:var(--emw--color-gray-300, #58586B);line-height:24px}.SelfExclusionNotification.SelfExclusionDescriptionMobile{font-size:var(--emw--font-size-x-small, 12px);line-height:19px}.SelfExclusionNotification .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px;min-height:180px}@container (max-width: 768px){.SelfExclusionDescription{font-size:var(--emw--font-size-x-small, 12px);line-height:19px;min-height:230px}.SelfExclusionDescription .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}}.SelfExclusionConfigWrapper{width:50%;height:100%;position:relative;margin-bottom:var(--emw--spacing-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-radius:var(--emw--border-radius-medium, 10px);cursor:pointer}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px)}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:15px;height:15px;fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));transform:rotateZ(-90deg);transition:all 0.5s ease-in-out}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel p{margin:0;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon.active{transform:rotateZ(0deg)}.SelfExclusionConfigWrapper .SelfExclusionDropDown{max-height:0px;overflow:hidden;box-sizing:border-box;transition:all 0.5s ease-in-out;opacity:0;color:var(--emw--color-gray-300, #58586B);background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:0px 0px var(--emw--border-radius-medium, 10px) var(--emw--border-radius-medium, 10px)}.SelfExclusionConfigWrapper .SelfExclusionDropDown div{padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px);font-size:var(--emw--font-size-x-small, 12px);border-top:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));transition:all 0.5s ease-in-out;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionDropDown div:hover{color:var(--emw--color-white, #FFFFFF);background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionConfigWrapper .SelfExclusionDropDown.active{max-height:600px;opacity:1}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile{width:100%;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:10px;height:10px}.SelfExclusionDateWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.SelfExclusionDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions strong{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDateWrapper input{font-family:inherit;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:var(--emw--size-standard, 16px);line-height:18px}.SelfExclusionDateWrapper.SelfExclusionDateWrapperMobile{width:100%}.SelfExclusionRadioWrapper{display:block;position:relative;padding:4px 0 0 0;margin-bottom:16px;font-size:var(--emw--size-standard, 16px);user-select:none;line-height:18px}.SelfExclusionRadioWrapper label{font-size:var(--emw--size-standard, 16px);cursor:pointer;padding-left:35px}.SelfExclusionRadioWrapper input{font-family:inherit;position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SelfExclusionRadioWrapper .Checkmark{position:absolute;top:0;left:0;height:25px;width:25px;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.SelfExclusionRadioWrapper input:checked~.Checkmark{background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionRadioWrapper .Checkmark:after{content:"";position:absolute;display:none;left:9px;top:5px;width:5px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.SelfExclusionRadioWrapper input:checked~.Checkmark:after{display:block}.SelfExclusionRadioWrapper.SelfExclusionRadioWrapperMobile label{font-family:inherit;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionActionButtons{margin-top:40px;width:50%}.SelfExclusionActionButtons .SelfExclusionSave{font-family:var(--emw--button-typography);border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:var(--emw--color-primary, #23B04E);border-radius:var(--emw--border-radius-medium, 10px);padding:30px 0;font-size:var(--emw--font-size-large, 20px);color:var(--emw--button-text-color, #FFFFFF)}.SelfExclusionActionButtons .SelfExclusionSave:hover{color:white;background:var(--emw--color-primary);opacity:0.6}.SelfExclusionActionButtons .SelfExclusionSave:active{background:var(--emw--color-primary);opacity:0.6}.SelfExclusionActionButtons .SelfExclusionSave.active{cursor:pointer;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924)}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile{width:100%;grid-template-columns:1fr 1fr}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile .SelfExclusionSave{height:40px;font-size:var(--emw--font-size-small, 14px);padding:20px 0}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
|
|
16284
16284
|
}
|
|
16285
|
-
function
|
|
16285
|
+
function ss(o, t, e) {
|
|
16286
16286
|
const i = o.slice();
|
|
16287
16287
|
return i[58] = t[e], i;
|
|
16288
16288
|
}
|
|
16289
|
-
function
|
|
16289
|
+
function Ju(o) {
|
|
16290
16290
|
let t, e, i, s, r = (
|
|
16291
16291
|
/*$_*/
|
|
16292
16292
|
o[23]("titleSelfExclusion") + ""
|
|
@@ -16318,31 +16318,31 @@ function Gu(o) {
|
|
|
16318
16318
|
), G, V, O, k, U, te, E, v, m, w, _, A, S, F = (
|
|
16319
16319
|
/*$_*/
|
|
16320
16320
|
o[23]("save") + ""
|
|
16321
|
-
),
|
|
16321
|
+
), H, B, W, ie, he, ue, ee = (
|
|
16322
16322
|
/*isMobile*/
|
|
16323
|
-
o[25] &&
|
|
16323
|
+
o[25] && Zu(o)
|
|
16324
16324
|
), Z = po(
|
|
16325
16325
|
/*selfExclusionPeriods*/
|
|
16326
16326
|
o[12]
|
|
16327
16327
|
), L = [];
|
|
16328
16328
|
for (let P = 0; P < Z.length; P += 1)
|
|
16329
|
-
L[P] = ss(
|
|
16329
|
+
L[P] = rs(ss(o, Z, P));
|
|
16330
16330
|
let j = (
|
|
16331
16331
|
/*isUntilDate*/
|
|
16332
|
-
o[19] &&
|
|
16332
|
+
o[19] && ns(o)
|
|
16333
16333
|
);
|
|
16334
16334
|
function fe(P, J) {
|
|
16335
16335
|
return (
|
|
16336
16336
|
/*isPermanentSelfExclusion*/
|
|
16337
|
-
P[18] ?
|
|
16337
|
+
P[18] ? td : (
|
|
16338
16338
|
/*isDateSelected*/
|
|
16339
|
-
P[20] ?
|
|
16339
|
+
P[20] ? Qu : ed
|
|
16340
16340
|
)
|
|
16341
16341
|
);
|
|
16342
16342
|
}
|
|
16343
16343
|
let de = fe(o), le = de(o), ge = (
|
|
16344
16344
|
/*showConfirmationModal*/
|
|
16345
|
-
o[26] &&
|
|
16345
|
+
o[26] && id(o)
|
|
16346
16346
|
);
|
|
16347
16347
|
return {
|
|
16348
16348
|
c() {
|
|
@@ -16352,7 +16352,7 @@ function Gu(o) {
|
|
|
16352
16352
|
), z = X(), N = T("div"), $ = T("div"), q = T("p"), G = _e(K), V = X(), O = Pe("svg"), k = Pe("g"), U = Pe("path"), te = X(), E = T("div");
|
|
16353
16353
|
for (let P = 0; P < L.length; P += 1)
|
|
16354
16354
|
L[P].c();
|
|
16355
|
-
v = X(), j && j.c(), m = X(), w = T("div"), le.c(), _ = X(), A = T("div"), S = T("button"),
|
|
16355
|
+
v = X(), j && j.c(), m = X(), w = T("div"), le.c(), _ = X(), A = T("div"), S = T("button"), H = _e(F), ie = X(), ge && ge.c(), M(s, "class", "PlayerSelfExclusionTitle " + /*isMobile*/
|
|
16356
16356
|
(o[25] ? "PlayerSelfExclusionTitleNone" : "")), M(c, "class", "SelfExclusionDescriptionText"), M(b, "href", C = "mailto:" + /*supportemail*/
|
|
16357
16357
|
o[4]), M(h, "class", "SelfExclusionDescriptionText"), M(l, "class", "SelfExclusionDescription " + /*isMobile*/
|
|
16358
16358
|
(o[25] ? "SelfExclusionDescriptionMobile" : "")), M(U, "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(U, "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"), We(
|
|
@@ -16372,7 +16372,7 @@ function Gu(o) {
|
|
|
16372
16372
|
/*isPeriodDropDownToggled*/
|
|
16373
16373
|
o[21]
|
|
16374
16374
|
), M(w, "class", "SelfExclusionDescription " + /*isMobile*/
|
|
16375
|
-
(o[25] ? "SelfExclusionDescriptionMobile" : "")), M(S, "class",
|
|
16375
|
+
(o[25] ? "SelfExclusionDescriptionMobile" : "")), M(S, "class", B = "SelfExclusionSave " + /*isDateSelected*/
|
|
16376
16376
|
(o[20] ? "active" : "")), S.disabled = W = !/*isDateSelected*/
|
|
16377
16377
|
o[20], M(A, "class", "SelfExclusionActionButtons " + /*isMobile*/
|
|
16378
16378
|
(o[25] ? "SelfExclusionActionButtonsMobile" : "")), M(e, "class", "SelfExclusionWrapper " + /*isMobile*/
|
|
@@ -16382,7 +16382,7 @@ function Gu(o) {
|
|
|
16382
16382
|
xe(P, t, J), g(t, e), ee && ee.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, p), 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, U), g(N, te), g(N, E);
|
|
16383
16383
|
for (let oe = 0; oe < L.length; oe += 1)
|
|
16384
16384
|
L[oe] && L[oe].m(E, null);
|
|
16385
|
-
g(e, v), j && j.m(e, null), g(e, m), g(e, w), le.m(w, null), g(e, _), g(e, A), g(A, S), g(S,
|
|
16385
|
+
g(e, v), j && j.m(e, null), g(e, m), g(e, w), le.m(w, null), g(e, _), g(e, A), g(A, S), g(S, H), g(t, ie), ge && ge.m(t, null), he || (ue = [
|
|
16386
16386
|
zt(
|
|
16387
16387
|
$,
|
|
16388
16388
|
"click",
|
|
@@ -16446,8 +16446,8 @@ function Gu(o) {
|
|
|
16446
16446
|
);
|
|
16447
16447
|
let oe;
|
|
16448
16448
|
for (oe = 0; oe < Z.length; oe += 1) {
|
|
16449
|
-
const Ct =
|
|
16450
|
-
L[oe] ? L[oe].p(Ct, J) : (L[oe] =
|
|
16449
|
+
const Ct = ss(P, Z, oe);
|
|
16450
|
+
L[oe] ? L[oe].p(Ct, J) : (L[oe] = rs(Ct), L[oe].c(), L[oe].m(E, null));
|
|
16451
16451
|
}
|
|
16452
16452
|
for (; oe < L.length; oe += 1)
|
|
16453
16453
|
L[oe].d(1);
|
|
@@ -16466,26 +16466,26 @@ function Gu(o) {
|
|
|
16466
16466
|
/*isPeriodDropDownToggled*/
|
|
16467
16467
|
P[21]
|
|
16468
16468
|
), /*isUntilDate*/
|
|
16469
|
-
P[19] ? j ? j.p(P, J) : (j =
|
|
16469
|
+
P[19] ? j ? j.p(P, J) : (j = ns(P), j.c(), j.m(e, m)) : j && (j.d(1), j = null), de === (de = fe(P)) && le ? le.p(P, J) : (le.d(1), le = de(P), le && (le.c(), le.m(w, null))), J[0] & /*$_*/
|
|
16470
16470
|
8388608 && F !== (F = /*$_*/
|
|
16471
|
-
P[23]("save") + "") && ye(
|
|
16472
|
-
1048576 &&
|
|
16473
|
-
(P[20] ? "active" : "")) && M(S, "class",
|
|
16471
|
+
P[23]("save") + "") && ye(H, F), J[0] & /*isDateSelected*/
|
|
16472
|
+
1048576 && B !== (B = "SelfExclusionSave " + /*isDateSelected*/
|
|
16473
|
+
(P[20] ? "active" : "")) && M(S, "class", B), J[0] & /*isDateSelected*/
|
|
16474
16474
|
1048576 && W !== (W = !/*isDateSelected*/
|
|
16475
16475
|
P[20]) && (S.disabled = W), /*showConfirmationModal*/
|
|
16476
16476
|
P[26] && ge.p(P, J);
|
|
16477
16477
|
},
|
|
16478
16478
|
d(P) {
|
|
16479
|
-
P && be(t), ee && ee.d(),
|
|
16479
|
+
P && be(t), ee && ee.d(), nn(L, P), j && j.d(), le.d(), ge && ge.d(), he = !1, an(ue);
|
|
16480
16480
|
}
|
|
16481
16481
|
};
|
|
16482
16482
|
}
|
|
16483
|
-
function
|
|
16483
|
+
function Xu(o) {
|
|
16484
16484
|
let t, e, i, s, r, n, a, l, c, u, d, h, f, y, p, b, D, C, z, N, $;
|
|
16485
16485
|
function q(V, O) {
|
|
16486
16486
|
return (
|
|
16487
16487
|
/*isMobile*/
|
|
16488
|
-
V[25] ?
|
|
16488
|
+
V[25] ? sd : od
|
|
16489
16489
|
);
|
|
16490
16490
|
}
|
|
16491
16491
|
let G = q(o)(o);
|
|
@@ -16544,7 +16544,7 @@ function Ju(o) {
|
|
|
16544
16544
|
}
|
|
16545
16545
|
};
|
|
16546
16546
|
}
|
|
16547
|
-
function
|
|
16547
|
+
function Zu(o) {
|
|
16548
16548
|
let t, e, i, s, r, n, a, l, c, u, d = (
|
|
16549
16549
|
/*$_*/
|
|
16550
16550
|
o[23]("titleSelfExclusion") + ""
|
|
@@ -16571,7 +16571,7 @@ function Xu(o) {
|
|
|
16571
16571
|
}
|
|
16572
16572
|
};
|
|
16573
16573
|
}
|
|
16574
|
-
function
|
|
16574
|
+
function rs(o) {
|
|
16575
16575
|
let t, e = (
|
|
16576
16576
|
/*$_*/
|
|
16577
16577
|
o[23](`${/*period*/
|
|
@@ -16604,7 +16604,7 @@ function ss(o) {
|
|
|
16604
16604
|
}
|
|
16605
16605
|
};
|
|
16606
16606
|
}
|
|
16607
|
-
function
|
|
16607
|
+
function ns(o) {
|
|
16608
16608
|
let t, e, i = (
|
|
16609
16609
|
/*$_*/
|
|
16610
16610
|
o[23]("duration") + ""
|
|
@@ -16668,7 +16668,7 @@ function rs(o) {
|
|
|
16668
16668
|
}
|
|
16669
16669
|
};
|
|
16670
16670
|
}
|
|
16671
|
-
function
|
|
16671
|
+
function Qu(o) {
|
|
16672
16672
|
let t, e, i = (
|
|
16673
16673
|
/*$_*/
|
|
16674
16674
|
o[23]("temporarySelfExclusion", {
|
|
@@ -16710,7 +16710,7 @@ function Zu(o) {
|
|
|
16710
16710
|
}
|
|
16711
16711
|
};
|
|
16712
16712
|
}
|
|
16713
|
-
function
|
|
16713
|
+
function ed(o) {
|
|
16714
16714
|
let t, e, i = (
|
|
16715
16715
|
/*$_*/
|
|
16716
16716
|
o[23]("noPeriodSelected") + ""
|
|
@@ -16732,7 +16732,7 @@ function Qu(o) {
|
|
|
16732
16732
|
}
|
|
16733
16733
|
};
|
|
16734
16734
|
}
|
|
16735
|
-
function
|
|
16735
|
+
function td(o) {
|
|
16736
16736
|
let t, e, i = (
|
|
16737
16737
|
/*$_*/
|
|
16738
16738
|
o[23]("permanentSelfExclusion") + ""
|
|
@@ -16754,7 +16754,7 @@ function ed(o) {
|
|
|
16754
16754
|
}
|
|
16755
16755
|
};
|
|
16756
16756
|
}
|
|
16757
|
-
function
|
|
16757
|
+
function id(o) {
|
|
16758
16758
|
let t, e, i, s;
|
|
16759
16759
|
return {
|
|
16760
16760
|
c() {
|
|
@@ -16867,7 +16867,7 @@ function td(o) {
|
|
|
16867
16867
|
}
|
|
16868
16868
|
};
|
|
16869
16869
|
}
|
|
16870
|
-
function
|
|
16870
|
+
function od(o) {
|
|
16871
16871
|
let t;
|
|
16872
16872
|
return {
|
|
16873
16873
|
c() {
|
|
@@ -16881,7 +16881,7 @@ function id(o) {
|
|
|
16881
16881
|
}
|
|
16882
16882
|
};
|
|
16883
16883
|
}
|
|
16884
|
-
function
|
|
16884
|
+
function sd(o) {
|
|
16885
16885
|
let t;
|
|
16886
16886
|
return {
|
|
16887
16887
|
c() {
|
|
@@ -16895,12 +16895,12 @@ function od(o) {
|
|
|
16895
16895
|
}
|
|
16896
16896
|
};
|
|
16897
16897
|
}
|
|
16898
|
-
function
|
|
16898
|
+
function rd(o) {
|
|
16899
16899
|
let t;
|
|
16900
16900
|
function e(r, n) {
|
|
16901
16901
|
return (
|
|
16902
16902
|
/*skeletonLoading*/
|
|
16903
|
-
r[22] ?
|
|
16903
|
+
r[22] ? Xu : Ju
|
|
16904
16904
|
);
|
|
16905
16905
|
}
|
|
16906
16906
|
let i = e(o), s = i(o);
|
|
@@ -16921,10 +16921,10 @@ function sd(o) {
|
|
|
16921
16921
|
}
|
|
16922
16922
|
};
|
|
16923
16923
|
}
|
|
16924
|
-
function
|
|
16924
|
+
function nd(o, t, e) {
|
|
16925
16925
|
let i;
|
|
16926
|
-
|
|
16927
|
-
let { endpoint: s = "", session: r = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail: u = "", baseurl: d = "", clientstyling: h = "", clientstylingurl: f = "", mbsource: y, translationurl: p = "", 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 = "", U = "", te = "selectAPeriod", E = "", v = "", m =
|
|
16926
|
+
on(o, ln, (x) => e(23, i = x)), De.extend(pn);
|
|
16927
|
+
let { endpoint: s = "", session: r = "", userid: n = "", lang: a = "en", gmversion: l = "", operator: c = "Everymatrix", supportemail: u = "", baseurl: d = "", clientstyling: h = "", clientstylingurl: f = "", mbsource: y, translationurl: p = "", 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 = "", U = "", te = "selectAPeriod", E = "", v = "", m = sn(G) !== "PC", w = !1, _ = !1, A = !1, S = !1, F = b === "true", H = !0, B;
|
|
16928
16928
|
const W = () => {
|
|
16929
16929
|
fetch(p).then((se) => se.json()).then((se) => {
|
|
16930
16930
|
Object.keys(se).forEach((re) => {
|
|
@@ -16956,7 +16956,7 @@ function rd(o, t, e) {
|
|
|
16956
16956
|
window.location.href
|
|
16957
16957
|
);
|
|
16958
16958
|
}).finally(() => {
|
|
16959
|
-
e(22,
|
|
16959
|
+
e(22, H = !1);
|
|
16960
16960
|
});
|
|
16961
16961
|
}, he = (x) => {
|
|
16962
16962
|
const { userid: se, selectedPeriodKey: re, session: Ae } = x.detail;
|
|
@@ -17005,7 +17005,7 @@ function rd(o, t, e) {
|
|
|
17005
17005
|
window.location.href
|
|
17006
17006
|
)) : fe();
|
|
17007
17007
|
}, fe = () => {
|
|
17008
|
-
e(22,
|
|
17008
|
+
e(22, H = !0);
|
|
17009
17009
|
const x = new URL(`${s}/v2/player/${n}/limits${l === "gm16" ? "/session" : ""}`), re = {
|
|
17010
17010
|
method: "PUT",
|
|
17011
17011
|
headers: {
|
|
@@ -17045,7 +17045,7 @@ function rd(o, t, e) {
|
|
|
17045
17045
|
window.location.href
|
|
17046
17046
|
);
|
|
17047
17047
|
}).finally(() => {
|
|
17048
|
-
e(22,
|
|
17048
|
+
e(22, H = !1);
|
|
17049
17049
|
});
|
|
17050
17050
|
}, de = () => {
|
|
17051
17051
|
window.postMessage(
|
|
@@ -17074,24 +17074,24 @@ function rd(o, t, e) {
|
|
|
17074
17074
|
N
|
|
17075
17075
|
);
|
|
17076
17076
|
};
|
|
17077
|
-
|
|
17078
|
-
N.removeEventListener("change", le),
|
|
17077
|
+
rn(() => () => {
|
|
17078
|
+
N.removeEventListener("change", le), B.removeEventListener("setSelfExclusion", he);
|
|
17079
17079
|
});
|
|
17080
17080
|
const P = () => {
|
|
17081
|
-
|
|
17081
|
+
mn(a);
|
|
17082
17082
|
}, J = () => de(), oe = () => ee(), Ct = (x) => Z(x);
|
|
17083
|
-
function
|
|
17083
|
+
function Hr(x) {
|
|
17084
17084
|
Xt[x ? "unshift" : "push"](() => {
|
|
17085
17085
|
N = x, e(10, N);
|
|
17086
17086
|
});
|
|
17087
17087
|
}
|
|
17088
17088
|
const Br = (x) => j(x);
|
|
17089
|
-
function
|
|
17089
|
+
function Yr(x) {
|
|
17090
17090
|
Xt[x ? "unshift" : "push"](() => {
|
|
17091
|
-
|
|
17091
|
+
B = x, e(11, B);
|
|
17092
17092
|
});
|
|
17093
17093
|
}
|
|
17094
|
-
function
|
|
17094
|
+
function jr(x) {
|
|
17095
17095
|
Xt[x ? "unshift" : "push"](() => {
|
|
17096
17096
|
z = x, e(9, z);
|
|
17097
17097
|
});
|
|
@@ -17104,11 +17104,11 @@ function rd(o, t, e) {
|
|
|
17104
17104
|
3 | o.$$.dirty[1] & /*endpoint, gmversion*/
|
|
17105
17105
|
3 && s && r && n && l && ie(), o.$$.dirty[0] & /*calendar*/
|
|
17106
17106
|
1024 && N && ge(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
17107
|
-
576 && h && z &&
|
|
17108
|
-
640 && f && z &&
|
|
17109
|
-
768 && y && z &&
|
|
17107
|
+
576 && h && z && cn(z, h), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
17108
|
+
640 && f && z && un(z, f), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
17109
|
+
768 && y && z && dn(z, `${y}.Style`), o.$$.dirty[1] & /*translationurl*/
|
|
17110
17110
|
4 && p && W(), o.$$.dirty[0] & /*modalEl*/
|
|
17111
|
-
2048 &&
|
|
17111
|
+
2048 && B && B.addEventListener("setSelfExclusion", he);
|
|
17112
17112
|
}, F && L(), [
|
|
17113
17113
|
r,
|
|
17114
17114
|
n,
|
|
@@ -17121,7 +17121,7 @@ function rd(o, t, e) {
|
|
|
17121
17121
|
y,
|
|
17122
17122
|
z,
|
|
17123
17123
|
N,
|
|
17124
|
-
|
|
17124
|
+
B,
|
|
17125
17125
|
$,
|
|
17126
17126
|
V,
|
|
17127
17127
|
O,
|
|
@@ -17132,7 +17132,7 @@ function rd(o, t, e) {
|
|
|
17132
17132
|
_,
|
|
17133
17133
|
A,
|
|
17134
17134
|
S,
|
|
17135
|
-
|
|
17135
|
+
H,
|
|
17136
17136
|
i,
|
|
17137
17137
|
K,
|
|
17138
17138
|
m,
|
|
@@ -17150,20 +17150,20 @@ function rd(o, t, e) {
|
|
|
17150
17150
|
J,
|
|
17151
17151
|
oe,
|
|
17152
17152
|
Ct,
|
|
17153
|
-
Rr,
|
|
17154
|
-
Br,
|
|
17155
17153
|
Hr,
|
|
17156
|
-
|
|
17154
|
+
Br,
|
|
17155
|
+
Yr,
|
|
17156
|
+
jr
|
|
17157
17157
|
];
|
|
17158
17158
|
}
|
|
17159
|
-
class
|
|
17159
|
+
class ad extends Xr {
|
|
17160
17160
|
constructor(t) {
|
|
17161
|
-
super(),
|
|
17161
|
+
super(), Zr(
|
|
17162
17162
|
this,
|
|
17163
17163
|
t,
|
|
17164
|
+
nd,
|
|
17164
17165
|
rd,
|
|
17165
|
-
|
|
17166
|
-
Zr,
|
|
17166
|
+
Qr,
|
|
17167
17167
|
{
|
|
17168
17168
|
endpoint: 31,
|
|
17169
17169
|
session: 0,
|
|
@@ -17181,7 +17181,7 @@ class nd extends Jr {
|
|
|
17181
17181
|
dateformat: 35,
|
|
17182
17182
|
sendnotificationemail: 36
|
|
17183
17183
|
},
|
|
17184
|
-
|
|
17184
|
+
Gu,
|
|
17185
17185
|
[-1, -1]
|
|
17186
17186
|
);
|
|
17187
17187
|
}
|
|
@@ -17276,7 +17276,7 @@ class nd extends Jr {
|
|
|
17276
17276
|
this.$$set({ sendnotificationemail: t }), pe();
|
|
17277
17277
|
}
|
|
17278
17278
|
}
|
|
17279
|
-
|
|
17279
|
+
en(ad, { endpoint: {}, session: {}, userid: {}, lang: {}, gmversion: {}, operator: {}, supportemail: {}, baseurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, hasconfirmationmodal: {}, dateformat: {}, sendnotificationemail: {} }, [], [], !0);
|
|
17280
17280
|
export {
|
|
17281
|
-
|
|
17281
|
+
ad as default
|
|
17282
17282
|
};
|