@everymatrix/player-account-self-exclusion 1.54.8 → 1.54.9
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-D8QhTfqv.js → PlayerAccountSelfExclusion-958u9gPR.js} +579 -579
- package/components/{PlayerAccountSelfExclusion-CtQq9Ets.cjs → PlayerAccountSelfExclusion-CrV27bfq.cjs} +27 -27
- package/components/PlayerAccountSelfExclusion-tpwTnyd7.js +20753 -0
- 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 +14 -0
- package/package.json +1 -1
package/components/{PlayerAccountSelfExclusion-D8QhTfqv.js → PlayerAccountSelfExclusion-958u9gPR.js}
RENAMED
|
@@ -59,7 +59,7 @@ function Go(t, ...i) {
|
|
|
59
59
|
function tl(t, i, e) {
|
|
60
60
|
t.$$.on_destroy.push(Go(i, e));
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function y(t, i) {
|
|
63
63
|
t.appendChild(i);
|
|
64
64
|
}
|
|
65
65
|
function il(t, i, e) {
|
|
@@ -79,7 +79,7 @@ function rl(t) {
|
|
|
79
79
|
) : t.ownerDocument;
|
|
80
80
|
}
|
|
81
81
|
function nl(t, i) {
|
|
82
|
-
return
|
|
82
|
+
return y(
|
|
83
83
|
/** @type {Document} */
|
|
84
84
|
t.head || t,
|
|
85
85
|
i
|
|
@@ -101,13 +101,13 @@ function z(t) {
|
|
|
101
101
|
function Oe(t) {
|
|
102
102
|
return document.createElementNS("http://www.w3.org/2000/svg", t);
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function he(t) {
|
|
105
105
|
return document.createTextNode(t);
|
|
106
106
|
}
|
|
107
107
|
function le() {
|
|
108
|
-
return
|
|
108
|
+
return he(" ");
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function di(t, i, e, r) {
|
|
111
111
|
return t.addEventListener(i, e, r), () => t.removeEventListener(i, e, r);
|
|
112
112
|
}
|
|
113
113
|
function C(t, i, e) {
|
|
@@ -120,7 +120,7 @@ function Q(t, i, e) {
|
|
|
120
120
|
function sl(t) {
|
|
121
121
|
return Array.from(t.childNodes);
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function ve(t, i) {
|
|
124
124
|
i = "" + i, t.data !== i && (t.data = /** @type {string} */
|
|
125
125
|
i);
|
|
126
126
|
}
|
|
@@ -151,7 +151,7 @@ const it = [], fi = [];
|
|
|
151
151
|
let nt = [];
|
|
152
152
|
const En = [], cl = /* @__PURE__ */ Promise.resolve();
|
|
153
153
|
let lr = !1;
|
|
154
|
-
function
|
|
154
|
+
function hl() {
|
|
155
155
|
lr || (lr = !0, cl.then(xe));
|
|
156
156
|
}
|
|
157
157
|
function ur(t) {
|
|
@@ -167,7 +167,7 @@ function xe() {
|
|
|
167
167
|
try {
|
|
168
168
|
for (; Qe < it.length; ) {
|
|
169
169
|
const i = it[Qe];
|
|
170
|
-
Qe++, Nt(i),
|
|
170
|
+
Qe++, Nt(i), dl(i.$$);
|
|
171
171
|
}
|
|
172
172
|
} catch (i) {
|
|
173
173
|
throw it.length = 0, Qe = 0, i;
|
|
@@ -183,7 +183,7 @@ function xe() {
|
|
|
183
183
|
En.pop()();
|
|
184
184
|
lr = !1, Li.clear(), Nt(t);
|
|
185
185
|
}
|
|
186
|
-
function
|
|
186
|
+
function dl(t) {
|
|
187
187
|
if (t.fragment !== null) {
|
|
188
188
|
t.update(), bt(t.before_update);
|
|
189
189
|
const i = t.dirty;
|
|
@@ -213,9 +213,9 @@ function gl(t, i) {
|
|
|
213
213
|
e.fragment !== null && (fl(e.after_update), bt(e.on_destroy), e.fragment && e.fragment.d(i), e.on_destroy = e.fragment = null, e.ctx = []);
|
|
214
214
|
}
|
|
215
215
|
function bl(t, i) {
|
|
216
|
-
t.$$.dirty[0] === -1 && (it.push(t),
|
|
216
|
+
t.$$.dirty[0] === -1 && (it.push(t), hl(), t.$$.dirty.fill(0)), t.$$.dirty[i / 31 | 0] |= 1 << i % 31;
|
|
217
217
|
}
|
|
218
|
-
function
|
|
218
|
+
function vl(t, i, e, r, n, o, s = null, a = [-1]) {
|
|
219
219
|
const l = Bt;
|
|
220
220
|
Nt(t);
|
|
221
221
|
const u = t.$$ = {
|
|
@@ -241,13 +241,13 @@ function yl(t, i, e, r, n, o, s = null, a = [-1]) {
|
|
|
241
241
|
};
|
|
242
242
|
s && s(u.root);
|
|
243
243
|
let c = !1;
|
|
244
|
-
if (u.ctx = e ? e(t, i.props || {}, (
|
|
245
|
-
const p = f.length ? f[0] :
|
|
246
|
-
return u.ctx && n(u.ctx[
|
|
244
|
+
if (u.ctx = e ? e(t, i.props || {}, (h, d, ...f) => {
|
|
245
|
+
const p = f.length ? f[0] : d;
|
|
246
|
+
return u.ctx && n(u.ctx[h], u.ctx[h] = p) && (!u.skip_bound && u.bound[h] && u.bound[h](p), c && bl(t, h)), d;
|
|
247
247
|
}) : [], u.update(), c = !0, bt(u.before_update), u.fragment = r ? r(u.ctx) : !1, i.target) {
|
|
248
248
|
if (i.hydrate) {
|
|
249
|
-
const
|
|
250
|
-
u.fragment && u.fragment.l(
|
|
249
|
+
const h = sl(i.target);
|
|
250
|
+
u.fragment && u.fragment.l(h), h.forEach(Ce);
|
|
251
251
|
} else
|
|
252
252
|
u.fragment && u.fragment.c();
|
|
253
253
|
i.intro && ml(t.$$.fragment), _l(t, i.target, i.anchor), xe();
|
|
@@ -405,7 +405,7 @@ function si(t, i, e, r) {
|
|
|
405
405
|
return i;
|
|
406
406
|
}
|
|
407
407
|
}
|
|
408
|
-
function
|
|
408
|
+
function yl(t, i, e, r, n, o) {
|
|
409
409
|
let s = class extends Wo {
|
|
410
410
|
constructor() {
|
|
411
411
|
super(t, e, n), this.$$p_d = i;
|
|
@@ -517,7 +517,7 @@ function El(t, i) {
|
|
|
517
517
|
i.indexOf(r[n]) < 0 && Object.prototype.propertyIsEnumerable.call(t, r[n]) && (e[r[n]] = t[r[n]]);
|
|
518
518
|
return e;
|
|
519
519
|
}
|
|
520
|
-
function
|
|
520
|
+
function hr(t) {
|
|
521
521
|
var i = typeof Symbol == "function" && Symbol.iterator, e = i && t[i], r = 0;
|
|
522
522
|
if (e) return e.call(t);
|
|
523
523
|
if (t && typeof t.length == "number") return {
|
|
@@ -527,7 +527,7 @@ function dr(t) {
|
|
|
527
527
|
};
|
|
528
528
|
throw new TypeError(i ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
529
529
|
}
|
|
530
|
-
function
|
|
530
|
+
function dr(t, i) {
|
|
531
531
|
var e = typeof Symbol == "function" && t[Symbol.iterator];
|
|
532
532
|
if (!e) return t;
|
|
533
533
|
var r = e.call(t), n, o = [], s;
|
|
@@ -585,7 +585,7 @@ var Si = function() {
|
|
|
585
585
|
if (s)
|
|
586
586
|
if (this._parentage = null, Array.isArray(s))
|
|
587
587
|
try {
|
|
588
|
-
for (var a =
|
|
588
|
+
for (var a = hr(s), l = a.next(); !l.done; l = a.next()) {
|
|
589
589
|
var u = l.value;
|
|
590
590
|
u.remove(this);
|
|
591
591
|
}
|
|
@@ -607,23 +607,23 @@ var Si = function() {
|
|
|
607
607
|
} catch (x) {
|
|
608
608
|
o = x instanceof $i ? x.errors : [x];
|
|
609
609
|
}
|
|
610
|
-
var
|
|
611
|
-
if (
|
|
610
|
+
var h = this._finalizers;
|
|
611
|
+
if (h) {
|
|
612
612
|
this._finalizers = null;
|
|
613
613
|
try {
|
|
614
|
-
for (var
|
|
614
|
+
for (var d = hr(h), f = d.next(); !f.done; f = d.next()) {
|
|
615
615
|
var p = f.value;
|
|
616
616
|
try {
|
|
617
617
|
An(p);
|
|
618
618
|
} catch (x) {
|
|
619
|
-
o = o != null ? o : [], x instanceof $i ? o = ot(ot([],
|
|
619
|
+
o = o != null ? o : [], x instanceof $i ? o = ot(ot([], dr(o)), dr(x.errors)) : o.push(x);
|
|
620
620
|
}
|
|
621
621
|
}
|
|
622
622
|
} catch (x) {
|
|
623
623
|
r = { error: x };
|
|
624
624
|
} finally {
|
|
625
625
|
try {
|
|
626
|
-
f && !f.done && (n =
|
|
626
|
+
f && !f.done && (n = d.return) && n.call(d);
|
|
627
627
|
} finally {
|
|
628
628
|
if (r) throw r.error;
|
|
629
629
|
}
|
|
@@ -674,7 +674,7 @@ var Sl = {
|
|
|
674
674
|
setTimeout: function(t, i) {
|
|
675
675
|
for (var e = [], r = 2; r < arguments.length; r++)
|
|
676
676
|
e[r - 2] = arguments[r];
|
|
677
|
-
return setTimeout.apply(void 0, ot([t, i],
|
|
677
|
+
return setTimeout.apply(void 0, ot([t, i], dr(e)));
|
|
678
678
|
},
|
|
679
679
|
clearTimeout: function(t) {
|
|
680
680
|
return clearTimeout(t);
|
|
@@ -882,7 +882,7 @@ var Hl = qo(function(t) {
|
|
|
882
882
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
883
883
|
r.currentObservers || (r.currentObservers = Array.from(r.observers));
|
|
884
884
|
try {
|
|
885
|
-
for (var s =
|
|
885
|
+
for (var s = hr(r.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
886
886
|
var l = a.value;
|
|
887
887
|
l.next(e);
|
|
888
888
|
}
|
|
@@ -1028,7 +1028,7 @@ function Ai(t, i = Ee) {
|
|
|
1028
1028
|
}
|
|
1029
1029
|
return { set: n, update: o, subscribe: s };
|
|
1030
1030
|
}
|
|
1031
|
-
function
|
|
1031
|
+
function vt(t, i, e) {
|
|
1032
1032
|
const r = !Array.isArray(t), n = r ? [t] : t;
|
|
1033
1033
|
if (!n.every(Boolean))
|
|
1034
1034
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -1036,26 +1036,26 @@ function yt(t, i, e) {
|
|
|
1036
1036
|
return Bl(e, (s, a) => {
|
|
1037
1037
|
let l = !1;
|
|
1038
1038
|
const u = [];
|
|
1039
|
-
let c = 0,
|
|
1040
|
-
const
|
|
1039
|
+
let c = 0, h = Ee;
|
|
1040
|
+
const d = () => {
|
|
1041
1041
|
if (c)
|
|
1042
1042
|
return;
|
|
1043
|
-
|
|
1043
|
+
h();
|
|
1044
1044
|
const p = i(r ? u[0] : u, s, a);
|
|
1045
|
-
o ? s(p) :
|
|
1045
|
+
o ? s(p) : h = Gr(p) ? p : Ee;
|
|
1046
1046
|
}, f = n.map(
|
|
1047
1047
|
(p, x) => Go(
|
|
1048
1048
|
p,
|
|
1049
1049
|
(T) => {
|
|
1050
|
-
u[x] = T, c &= ~(1 << x), l &&
|
|
1050
|
+
u[x] = T, c &= ~(1 << x), l && d();
|
|
1051
1051
|
},
|
|
1052
1052
|
() => {
|
|
1053
1053
|
c |= 1 << x;
|
|
1054
1054
|
}
|
|
1055
1055
|
)
|
|
1056
1056
|
);
|
|
1057
|
-
return l = !0,
|
|
1058
|
-
bt(f),
|
|
1057
|
+
return l = !0, d(), function() {
|
|
1058
|
+
bt(f), h(), l = !1;
|
|
1059
1059
|
};
|
|
1060
1060
|
});
|
|
1061
1061
|
}
|
|
@@ -1190,10 +1190,10 @@ var W;
|
|
|
1190
1190
|
(function(t) {
|
|
1191
1191
|
t[t.literal = 0] = "literal", t[t.argument = 1] = "argument", t[t.number = 2] = "number", t[t.date = 3] = "date", t[t.time = 4] = "time", t[t.select = 5] = "select", t[t.plural = 6] = "plural", t[t.pound = 7] = "pound", t[t.tag = 8] = "tag";
|
|
1192
1192
|
})(W || (W = {}));
|
|
1193
|
-
var
|
|
1193
|
+
var ht;
|
|
1194
1194
|
(function(t) {
|
|
1195
1195
|
t[t.number = 0] = "number", t[t.dateTime = 1] = "dateTime";
|
|
1196
|
-
})(
|
|
1196
|
+
})(ht || (ht = {}));
|
|
1197
1197
|
function In(t) {
|
|
1198
1198
|
return t.type === W.literal;
|
|
1199
1199
|
}
|
|
@@ -1222,13 +1222,13 @@ function us(t) {
|
|
|
1222
1222
|
return t.type === W.tag;
|
|
1223
1223
|
}
|
|
1224
1224
|
function cs(t) {
|
|
1225
|
-
return !!(t && typeof t == "object" && t.type ===
|
|
1225
|
+
return !!(t && typeof t == "object" && t.type === ht.number);
|
|
1226
1226
|
}
|
|
1227
1227
|
function mr(t) {
|
|
1228
|
-
return !!(t && typeof t == "object" && t.type ===
|
|
1228
|
+
return !!(t && typeof t == "object" && t.type === ht.dateTime);
|
|
1229
1229
|
}
|
|
1230
|
-
var
|
|
1231
|
-
function
|
|
1230
|
+
var hs = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, cu = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
1231
|
+
function hu(t) {
|
|
1232
1232
|
var i = {};
|
|
1233
1233
|
return t.replace(cu, function(e) {
|
|
1234
1234
|
var r = e.length;
|
|
@@ -1319,19 +1319,19 @@ function du(t) {
|
|
|
1319
1319
|
return "";
|
|
1320
1320
|
}), i;
|
|
1321
1321
|
}
|
|
1322
|
-
var
|
|
1322
|
+
var du = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1323
1323
|
function fu(t) {
|
|
1324
1324
|
if (t.length === 0)
|
|
1325
1325
|
throw new Error("Number skeleton cannot be empty");
|
|
1326
|
-
for (var i = t.split(
|
|
1327
|
-
return
|
|
1326
|
+
for (var i = t.split(du).filter(function(d) {
|
|
1327
|
+
return d.length > 0;
|
|
1328
1328
|
}), e = [], r = 0, n = i; r < n.length; r++) {
|
|
1329
1329
|
var o = n[r], s = o.split("/");
|
|
1330
1330
|
if (s.length === 0)
|
|
1331
1331
|
throw new Error("Invalid number skeleton");
|
|
1332
1332
|
for (var a = s[0], l = s.slice(1), u = 0, c = l; u < c.length; u++) {
|
|
1333
|
-
var
|
|
1334
|
-
if (
|
|
1333
|
+
var h = c[u];
|
|
1334
|
+
if (h.length === 0)
|
|
1335
1335
|
throw new Error("Invalid number skeleton");
|
|
1336
1336
|
}
|
|
1337
1337
|
e.push({ stem: a, options: l });
|
|
@@ -1341,10 +1341,10 @@ function fu(t) {
|
|
|
1341
1341
|
function pu(t) {
|
|
1342
1342
|
return t.replace(/^(.*?)-/, "");
|
|
1343
1343
|
}
|
|
1344
|
-
var Nn = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,
|
|
1344
|
+
var Nn = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ds = /^(@+)?(\+|#+)?[rs]?$/g, mu = /(\*)(0+)|(#+)(0+)|(0+)/g, fs = /^(0+)$/;
|
|
1345
1345
|
function Hn(t) {
|
|
1346
1346
|
var i = {};
|
|
1347
|
-
return t[t.length - 1] === "r" ? i.roundingPriority = "morePrecision" : t[t.length - 1] === "s" && (i.roundingPriority = "lessPrecision"), t.replace(
|
|
1347
|
+
return t[t.length - 1] === "r" ? i.roundingPriority = "morePrecision" : t[t.length - 1] === "s" && (i.roundingPriority = "lessPrecision"), t.replace(ds, function(e, r, n) {
|
|
1348
1348
|
return typeof n != "string" ? (i.minimumSignificantDigits = r.length, i.maximumSignificantDigits = r.length) : n === "+" ? i.minimumSignificantDigits = r.length : r[0] === "#" ? i.maximumSignificantDigits = r.length : (i.minimumSignificantDigits = r.length, i.maximumSignificantDigits = r.length + (typeof n == "string" ? n.length : 0)), "";
|
|
1349
1349
|
}), i;
|
|
1350
1350
|
}
|
|
@@ -1492,11 +1492,11 @@ function gu(t) {
|
|
|
1492
1492
|
case "integer-width":
|
|
1493
1493
|
if (n.options.length > 1)
|
|
1494
1494
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1495
|
-
n.options[0].replace(mu, function(l, u, c,
|
|
1495
|
+
n.options[0].replace(mu, function(l, u, c, h, d, f) {
|
|
1496
1496
|
if (u)
|
|
1497
1497
|
i.minimumIntegerDigits = c.length;
|
|
1498
1498
|
else {
|
|
1499
|
-
if (
|
|
1499
|
+
if (h && d)
|
|
1500
1500
|
throw new Error("We currently do not support maximum integer digits");
|
|
1501
1501
|
if (f)
|
|
1502
1502
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1512,14 +1512,14 @@ function gu(t) {
|
|
|
1512
1512
|
if (Nn.test(n.stem)) {
|
|
1513
1513
|
if (n.options.length > 1)
|
|
1514
1514
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1515
|
-
n.stem.replace(Nn, function(l, u, c,
|
|
1516
|
-
return c === "*" ? i.minimumFractionDigits = u.length :
|
|
1515
|
+
n.stem.replace(Nn, function(l, u, c, h, d, f) {
|
|
1516
|
+
return c === "*" ? i.minimumFractionDigits = u.length : h && h[0] === "#" ? i.maximumFractionDigits = h.length : d && f ? (i.minimumFractionDigits = d.length, i.maximumFractionDigits = d.length + f.length) : (i.minimumFractionDigits = u.length, i.maximumFractionDigits = u.length), "";
|
|
1517
1517
|
});
|
|
1518
1518
|
var o = n.options[0];
|
|
1519
1519
|
o === "w" ? i = R(R({}, i), { trailingZeroDisplay: "stripIfInteger" }) : o && (i = R(R({}, i), Hn(o)));
|
|
1520
1520
|
continue;
|
|
1521
1521
|
}
|
|
1522
|
-
if (
|
|
1522
|
+
if (ds.test(n.stem)) {
|
|
1523
1523
|
i = R(R({}, i), Hn(n.stem));
|
|
1524
1524
|
continue;
|
|
1525
1525
|
}
|
|
@@ -2951,7 +2951,7 @@ function bu(t, i) {
|
|
|
2951
2951
|
if (n === "j") {
|
|
2952
2952
|
for (var o = 0; r + 1 < t.length && t.charAt(r + 1) === n; )
|
|
2953
2953
|
o++, r++;
|
|
2954
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
2954
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = vu(i);
|
|
2955
2955
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2956
2956
|
e += l;
|
|
2957
2957
|
for (; s-- > 0; )
|
|
@@ -2960,7 +2960,7 @@ function bu(t, i) {
|
|
|
2960
2960
|
}
|
|
2961
2961
|
return e;
|
|
2962
2962
|
}
|
|
2963
|
-
function
|
|
2963
|
+
function vu(t) {
|
|
2964
2964
|
var i = t.hourCycle;
|
|
2965
2965
|
if (i === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2966
2966
|
t.hourCycles && // @ts-ignore
|
|
@@ -2982,7 +2982,7 @@ function yu(t) {
|
|
|
2982
2982
|
var n = ei[r || ""] || ei[e || ""] || ei["".concat(e, "-001")] || ei["001"];
|
|
2983
2983
|
return n[0];
|
|
2984
2984
|
}
|
|
2985
|
-
var Ri,
|
|
2985
|
+
var Ri, yu = new RegExp("^".concat(hs.source, "*")), xu = new RegExp("".concat(hs.source, "*$"));
|
|
2986
2986
|
function I(t, i) {
|
|
2987
2987
|
return { start: t, end: i };
|
|
2988
2988
|
}
|
|
@@ -3051,7 +3051,7 @@ var $n = wu ? (
|
|
|
3051
3051
|
) : (
|
|
3052
3052
|
// Ponyfill
|
|
3053
3053
|
function(i) {
|
|
3054
|
-
return i.replace(
|
|
3054
|
+
return i.replace(yu, "");
|
|
3055
3055
|
}
|
|
3056
3056
|
), Mu = Tu ? (
|
|
3057
3057
|
// Native
|
|
@@ -3117,7 +3117,7 @@ var Iu = (
|
|
|
3117
3117
|
if (r)
|
|
3118
3118
|
break;
|
|
3119
3119
|
return this.error(k.UNMATCHED_CLOSING_TAG, I(this.clonePosition(), this.clonePosition()));
|
|
3120
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3120
|
+
} else if (o === 60 && !this.ignoreTag && vr(this.peek() || 0)) {
|
|
3121
3121
|
var s = this.parseTag(i, e);
|
|
3122
3122
|
if (s.err)
|
|
3123
3123
|
return s;
|
|
@@ -3150,7 +3150,7 @@ var Iu = (
|
|
|
3150
3150
|
return o;
|
|
3151
3151
|
var s = o.val, a = this.clonePosition();
|
|
3152
3152
|
if (this.bumpIf("</")) {
|
|
3153
|
-
if (this.isEOF() || !
|
|
3153
|
+
if (this.isEOF() || !vr(this.char()))
|
|
3154
3154
|
return this.error(k.INVALID_TAG, I(a, this.clonePosition()));
|
|
3155
3155
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3156
3156
|
return n !== u ? this.error(k.UNMATCHED_CLOSING_TAG, I(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3281,14 +3281,14 @@ var Iu = (
|
|
|
3281
3281
|
var u = null;
|
|
3282
3282
|
if (this.bumpIf(",")) {
|
|
3283
3283
|
this.bumpSpace();
|
|
3284
|
-
var c = this.clonePosition(),
|
|
3285
|
-
if (
|
|
3286
|
-
return
|
|
3287
|
-
var
|
|
3288
|
-
if (
|
|
3284
|
+
var c = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
|
|
3285
|
+
if (h.err)
|
|
3286
|
+
return h;
|
|
3287
|
+
var d = Mu(h.val);
|
|
3288
|
+
if (d.length === 0)
|
|
3289
3289
|
return this.error(k.EXPECT_ARGUMENT_STYLE, I(this.clonePosition(), this.clonePosition()));
|
|
3290
3290
|
var f = I(c, this.clonePosition());
|
|
3291
|
-
u = { style:
|
|
3291
|
+
u = { style: d, styleLocation: f };
|
|
3292
3292
|
}
|
|
3293
3293
|
var p = this.tryParseArgumentClose(n);
|
|
3294
3294
|
if (p.err)
|
|
@@ -3297,9 +3297,9 @@ var Iu = (
|
|
|
3297
3297
|
if (u && $n(u == null ? void 0 : u.style, "::", 0)) {
|
|
3298
3298
|
var T = Ou(u.style.slice(2));
|
|
3299
3299
|
if (a === "number") {
|
|
3300
|
-
var
|
|
3301
|
-
return
|
|
3302
|
-
val: { type: W.number, value: r, location: x, style:
|
|
3300
|
+
var h = this.parseNumberSkeletonFromString(T, u.styleLocation);
|
|
3301
|
+
return h.err ? h : {
|
|
3302
|
+
val: { type: W.number, value: r, location: x, style: h.val },
|
|
3303
3303
|
err: null
|
|
3304
3304
|
};
|
|
3305
3305
|
} else {
|
|
@@ -3307,14 +3307,14 @@ var Iu = (
|
|
|
3307
3307
|
return this.error(k.EXPECT_DATE_TIME_SKELETON, x);
|
|
3308
3308
|
var O = T;
|
|
3309
3309
|
this.locale && (O = bu(T, this.locale));
|
|
3310
|
-
var
|
|
3311
|
-
type:
|
|
3310
|
+
var d = {
|
|
3311
|
+
type: ht.dateTime,
|
|
3312
3312
|
pattern: O,
|
|
3313
3313
|
location: u.styleLocation,
|
|
3314
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3314
|
+
parsedOptions: this.shouldParseSkeletons ? hu(O) : {}
|
|
3315
3315
|
}, D = a === "date" ? W.date : W.time;
|
|
3316
3316
|
return {
|
|
3317
|
-
val: { type: D, value: r, location: x, style:
|
|
3317
|
+
val: { type: D, value: r, location: x, style: d },
|
|
3318
3318
|
err: null
|
|
3319
3319
|
};
|
|
3320
3320
|
}
|
|
@@ -3341,10 +3341,10 @@ var Iu = (
|
|
|
3341
3341
|
if (!this.bumpIf(":"))
|
|
3342
3342
|
return this.error(k.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, I(this.clonePosition(), this.clonePosition()));
|
|
3343
3343
|
this.bumpSpace();
|
|
3344
|
-
var
|
|
3345
|
-
if (
|
|
3346
|
-
return
|
|
3347
|
-
this.bumpSpace(), U = this.parseIdentifierIfPossible(), H =
|
|
3344
|
+
var h = this.tryParseDecimalInteger(k.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, k.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3345
|
+
if (h.err)
|
|
3346
|
+
return h;
|
|
3347
|
+
this.bumpSpace(), U = this.parseIdentifierIfPossible(), H = h.val;
|
|
3348
3348
|
}
|
|
3349
3349
|
var Z = this.tryParsePluralOrSelectOptions(i, a, e, U);
|
|
3350
3350
|
if (Z.err)
|
|
@@ -3352,13 +3352,13 @@ var Iu = (
|
|
|
3352
3352
|
var p = this.tryParseArgumentClose(n);
|
|
3353
3353
|
if (p.err)
|
|
3354
3354
|
return p;
|
|
3355
|
-
var
|
|
3355
|
+
var de = I(n, this.clonePosition());
|
|
3356
3356
|
return a === "select" ? {
|
|
3357
3357
|
val: {
|
|
3358
3358
|
type: W.select,
|
|
3359
3359
|
value: r,
|
|
3360
3360
|
options: Bn(Z.val),
|
|
3361
|
-
location:
|
|
3361
|
+
location: de
|
|
3362
3362
|
},
|
|
3363
3363
|
err: null
|
|
3364
3364
|
} : {
|
|
@@ -3368,7 +3368,7 @@ var Iu = (
|
|
|
3368
3368
|
options: Bn(Z.val),
|
|
3369
3369
|
offset: H,
|
|
3370
3370
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3371
|
-
location:
|
|
3371
|
+
location: de
|
|
3372
3372
|
},
|
|
3373
3373
|
err: null
|
|
3374
3374
|
};
|
|
@@ -3422,7 +3422,7 @@ var Iu = (
|
|
|
3422
3422
|
}
|
|
3423
3423
|
return {
|
|
3424
3424
|
val: {
|
|
3425
|
-
type:
|
|
3425
|
+
type: ht.number,
|
|
3426
3426
|
tokens: r,
|
|
3427
3427
|
location: e,
|
|
3428
3428
|
parsedOptions: this.shouldParseSkeletons ? gu(r) : {}
|
|
@@ -3432,12 +3432,12 @@ var Iu = (
|
|
|
3432
3432
|
}, t.prototype.tryParsePluralOrSelectOptions = function(i, e, r, n) {
|
|
3433
3433
|
for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = n.value, c = n.location; ; ) {
|
|
3434
3434
|
if (u.length === 0) {
|
|
3435
|
-
var
|
|
3435
|
+
var h = this.clonePosition();
|
|
3436
3436
|
if (e !== "select" && this.bumpIf("=")) {
|
|
3437
|
-
var
|
|
3438
|
-
if (
|
|
3439
|
-
return
|
|
3440
|
-
c = I(
|
|
3437
|
+
var d = this.tryParseDecimalInteger(k.EXPECT_PLURAL_ARGUMENT_SELECTOR, k.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3438
|
+
if (d.err)
|
|
3439
|
+
return d;
|
|
3440
|
+
c = I(h, this.clonePosition()), u = this.message.slice(h.offset, this.offset());
|
|
3441
3441
|
} else
|
|
3442
3442
|
break;
|
|
3443
3443
|
}
|
|
@@ -3539,11 +3539,11 @@ var Iu = (
|
|
|
3539
3539
|
}, t;
|
|
3540
3540
|
}()
|
|
3541
3541
|
);
|
|
3542
|
-
function
|
|
3542
|
+
function vr(t) {
|
|
3543
3543
|
return t >= 97 && t <= 122 || t >= 65 && t <= 90;
|
|
3544
3544
|
}
|
|
3545
3545
|
function Nu(t) {
|
|
3546
|
-
return
|
|
3546
|
+
return vr(t) || t === 47;
|
|
3547
3547
|
}
|
|
3548
3548
|
function Hu(t) {
|
|
3549
3549
|
return t === 45 || t === 46 || t >= 48 && t <= 57 || t === 95 || t >= 97 && t <= 122 || t >= 65 && t <= 90 || t == 183 || t >= 192 && t <= 214 || t >= 216 && t <= 246 || t >= 248 && t <= 893 || t >= 895 && t <= 8191 || t >= 8204 && t <= 8205 || t >= 8255 && t <= 8256 || t >= 8304 && t <= 8591 || t >= 11264 && t <= 12271 || t >= 12289 && t <= 55295 || t >= 63744 && t <= 64975 || t >= 65008 && t <= 65533 || t >= 65536 && t <= 983039;
|
|
@@ -3554,12 +3554,12 @@ function gs(t) {
|
|
|
3554
3554
|
function Lu(t) {
|
|
3555
3555
|
return t >= 33 && t <= 35 || t === 36 || t >= 37 && t <= 39 || t === 40 || t === 41 || t === 42 || t === 43 || t === 44 || t === 45 || t >= 46 && t <= 47 || t >= 58 && t <= 59 || t >= 60 && t <= 62 || t >= 63 && t <= 64 || t === 91 || t === 92 || t === 93 || t === 94 || t === 96 || t === 123 || t === 124 || t === 125 || t === 126 || t === 161 || t >= 162 && t <= 165 || t === 166 || t === 167 || t === 169 || t === 171 || t === 172 || t === 174 || t === 176 || t === 177 || t === 182 || t === 187 || t === 191 || t === 215 || t === 247 || t >= 8208 && t <= 8213 || t >= 8214 && t <= 8215 || t === 8216 || t === 8217 || t === 8218 || t >= 8219 && t <= 8220 || t === 8221 || t === 8222 || t === 8223 || t >= 8224 && t <= 8231 || t >= 8240 && t <= 8248 || t === 8249 || t === 8250 || t >= 8251 && t <= 8254 || t >= 8257 && t <= 8259 || t === 8260 || t === 8261 || t === 8262 || t >= 8263 && t <= 8273 || t === 8274 || t === 8275 || t >= 8277 && t <= 8286 || t >= 8592 && t <= 8596 || t >= 8597 && t <= 8601 || t >= 8602 && t <= 8603 || t >= 8604 && t <= 8607 || t === 8608 || t >= 8609 && t <= 8610 || t === 8611 || t >= 8612 && t <= 8613 || t === 8614 || t >= 8615 && t <= 8621 || t === 8622 || t >= 8623 && t <= 8653 || t >= 8654 && t <= 8655 || t >= 8656 && t <= 8657 || t === 8658 || t === 8659 || t === 8660 || t >= 8661 && t <= 8691 || t >= 8692 && t <= 8959 || t >= 8960 && t <= 8967 || t === 8968 || t === 8969 || t === 8970 || t === 8971 || t >= 8972 && t <= 8991 || t >= 8992 && t <= 8993 || t >= 8994 && t <= 9e3 || t === 9001 || t === 9002 || t >= 9003 && t <= 9083 || t === 9084 || t >= 9085 && t <= 9114 || t >= 9115 && t <= 9139 || t >= 9140 && t <= 9179 || t >= 9180 && t <= 9185 || t >= 9186 && t <= 9254 || t >= 9255 && t <= 9279 || t >= 9280 && t <= 9290 || t >= 9291 && t <= 9311 || t >= 9472 && t <= 9654 || t === 9655 || t >= 9656 && t <= 9664 || t === 9665 || t >= 9666 && t <= 9719 || t >= 9720 && t <= 9727 || t >= 9728 && t <= 9838 || t === 9839 || t >= 9840 && t <= 10087 || t === 10088 || t === 10089 || t === 10090 || t === 10091 || t === 10092 || t === 10093 || t === 10094 || t === 10095 || t === 10096 || t === 10097 || t === 10098 || t === 10099 || t === 10100 || t === 10101 || t >= 10132 && t <= 10175 || t >= 10176 && t <= 10180 || t === 10181 || t === 10182 || t >= 10183 && t <= 10213 || t === 10214 || t === 10215 || t === 10216 || t === 10217 || t === 10218 || t === 10219 || t === 10220 || t === 10221 || t === 10222 || t === 10223 || t >= 10224 && t <= 10239 || t >= 10240 && t <= 10495 || t >= 10496 && t <= 10626 || t === 10627 || t === 10628 || t === 10629 || t === 10630 || t === 10631 || t === 10632 || t === 10633 || t === 10634 || t === 10635 || t === 10636 || t === 10637 || t === 10638 || t === 10639 || t === 10640 || t === 10641 || t === 10642 || t === 10643 || t === 10644 || t === 10645 || t === 10646 || t === 10647 || t === 10648 || t >= 10649 && t <= 10711 || t === 10712 || t === 10713 || t === 10714 || t === 10715 || t >= 10716 && t <= 10747 || t === 10748 || t === 10749 || t >= 10750 && t <= 11007 || t >= 11008 && t <= 11055 || t >= 11056 && t <= 11076 || t >= 11077 && t <= 11078 || t >= 11079 && t <= 11084 || t >= 11085 && t <= 11123 || t >= 11124 && t <= 11125 || t >= 11126 && t <= 11157 || t === 11158 || t >= 11159 && t <= 11263 || t >= 11776 && t <= 11777 || t === 11778 || t === 11779 || t === 11780 || t === 11781 || t >= 11782 && t <= 11784 || t === 11785 || t === 11786 || t === 11787 || t === 11788 || t === 11789 || t >= 11790 && t <= 11798 || t === 11799 || t >= 11800 && t <= 11801 || t === 11802 || t === 11803 || t === 11804 || t === 11805 || t >= 11806 && t <= 11807 || t === 11808 || t === 11809 || t === 11810 || t === 11811 || t === 11812 || t === 11813 || t === 11814 || t === 11815 || t === 11816 || t === 11817 || t >= 11818 && t <= 11822 || t === 11823 || t >= 11824 && t <= 11833 || t >= 11834 && t <= 11835 || t >= 11836 && t <= 11839 || t === 11840 || t === 11841 || t === 11842 || t >= 11843 && t <= 11855 || t >= 11856 && t <= 11857 || t === 11858 || t >= 11859 && t <= 11903 || t >= 12289 && t <= 12291 || t === 12296 || t === 12297 || t === 12298 || t === 12299 || t === 12300 || t === 12301 || t === 12302 || t === 12303 || t === 12304 || t === 12305 || t >= 12306 && t <= 12307 || t === 12308 || t === 12309 || t === 12310 || t === 12311 || t === 12312 || t === 12313 || t === 12314 || t === 12315 || t === 12316 || t === 12317 || t >= 12318 && t <= 12319 || t === 12320 || t === 12336 || t === 64830 || t === 64831 || t >= 65093 && t <= 65094;
|
|
3556
3556
|
}
|
|
3557
|
-
function
|
|
3557
|
+
function yr(t) {
|
|
3558
3558
|
t.forEach(function(i) {
|
|
3559
3559
|
if (delete i.location, as(i) || ls(i))
|
|
3560
3560
|
for (var e in i.options)
|
|
3561
|
-
delete i.options[e].location,
|
|
3562
|
-
else ns(i) && cs(i.style) || (os(i) || ss(i)) && mr(i.style) ? delete i.style.location : us(i) &&
|
|
3561
|
+
delete i.options[e].location, yr(i.options[e].value);
|
|
3562
|
+
else ns(i) && cs(i.style) || (os(i) || ss(i)) && mr(i.style) ? delete i.style.location : us(i) && yr(i.children);
|
|
3563
3563
|
});
|
|
3564
3564
|
}
|
|
3565
3565
|
function $u(t, i) {
|
|
@@ -3569,12 +3569,12 @@ function $u(t, i) {
|
|
|
3569
3569
|
var r = SyntaxError(k[e.err.kind]);
|
|
3570
3570
|
throw r.location = e.err.location, r.originalMessage = e.err.message, r;
|
|
3571
3571
|
}
|
|
3572
|
-
return i != null && i.captureLocation ||
|
|
3572
|
+
return i != null && i.captureLocation || yr(e.val), e.val;
|
|
3573
3573
|
}
|
|
3574
|
-
var
|
|
3574
|
+
var dt;
|
|
3575
3575
|
(function(t) {
|
|
3576
3576
|
t.MISSING_VALUE = "MISSING_VALUE", t.INVALID_VALUE = "INVALID_VALUE", t.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3577
|
-
})(
|
|
3577
|
+
})(dt || (dt = {}));
|
|
3578
3578
|
var Ci = (
|
|
3579
3579
|
/** @class */
|
|
3580
3580
|
function(t) {
|
|
@@ -3592,7 +3592,7 @@ var Ci = (
|
|
|
3592
3592
|
function(t) {
|
|
3593
3593
|
Ne(i, t);
|
|
3594
3594
|
function i(e, r, n, o) {
|
|
3595
|
-
return t.call(this, 'Invalid values for "'.concat(e, '": "').concat(r, '". Options are "').concat(Object.keys(n).join('", "'), '"'),
|
|
3595
|
+
return t.call(this, 'Invalid values for "'.concat(e, '": "').concat(r, '". Options are "').concat(Object.keys(n).join('", "'), '"'), dt.INVALID_VALUE, o) || this;
|
|
3596
3596
|
}
|
|
3597
3597
|
return i;
|
|
3598
3598
|
}(Ci)
|
|
@@ -3601,7 +3601,7 @@ var Ci = (
|
|
|
3601
3601
|
function(t) {
|
|
3602
3602
|
Ne(i, t);
|
|
3603
3603
|
function i(e, r, n) {
|
|
3604
|
-
return t.call(this, 'Value for "'.concat(e, '" must be of type ').concat(r),
|
|
3604
|
+
return t.call(this, 'Value for "'.concat(e, '" must be of type ').concat(r), dt.INVALID_VALUE, n) || this;
|
|
3605
3605
|
}
|
|
3606
3606
|
return i;
|
|
3607
3607
|
}(Ci)
|
|
@@ -3610,7 +3610,7 @@ var Ci = (
|
|
|
3610
3610
|
function(t) {
|
|
3611
3611
|
Ne(i, t);
|
|
3612
3612
|
function i(e, r) {
|
|
3613
|
-
return t.call(this, 'The intl string context variable "'.concat(e, '" was not provided to the string "').concat(r, '"'),
|
|
3613
|
+
return t.call(this, 'The intl string context variable "'.concat(e, '" was not provided to the string "').concat(r, '"'), dt.MISSING_VALUE, r) || this;
|
|
3614
3614
|
}
|
|
3615
3615
|
return i;
|
|
3616
3616
|
}(Ci)
|
|
@@ -3651,14 +3651,14 @@ function li(t, i, e, r, n, o, s) {
|
|
|
3651
3651
|
});
|
|
3652
3652
|
continue;
|
|
3653
3653
|
}
|
|
3654
|
-
var
|
|
3655
|
-
if (!(n &&
|
|
3656
|
-
throw new Fu(
|
|
3657
|
-
var
|
|
3654
|
+
var h = c.value;
|
|
3655
|
+
if (!(n && h in n))
|
|
3656
|
+
throw new Fu(h, s);
|
|
3657
|
+
var d = n[h];
|
|
3658
3658
|
if (lu(c)) {
|
|
3659
|
-
(!
|
|
3660
|
-
type: typeof
|
|
3661
|
-
value:
|
|
3659
|
+
(!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
|
|
3660
|
+
type: typeof d == "string" ? ue.literal : ue.object,
|
|
3661
|
+
value: d
|
|
3662
3662
|
});
|
|
3663
3663
|
continue;
|
|
3664
3664
|
}
|
|
@@ -3666,7 +3666,7 @@ function li(t, i, e, r, n, o, s) {
|
|
|
3666
3666
|
var f = typeof c.style == "string" ? r.date[c.style] : mr(c.style) ? c.style.parsedOptions : void 0;
|
|
3667
3667
|
a.push({
|
|
3668
3668
|
type: ue.literal,
|
|
3669
|
-
value: e.getDateTimeFormat(i, f).format(
|
|
3669
|
+
value: e.getDateTimeFormat(i, f).format(d)
|
|
3670
3670
|
});
|
|
3671
3671
|
continue;
|
|
3672
3672
|
}
|
|
@@ -3674,15 +3674,15 @@ function li(t, i, e, r, n, o, s) {
|
|
|
3674
3674
|
var f = typeof c.style == "string" ? r.time[c.style] : mr(c.style) ? c.style.parsedOptions : r.time.medium;
|
|
3675
3675
|
a.push({
|
|
3676
3676
|
type: ue.literal,
|
|
3677
|
-
value: e.getDateTimeFormat(i, f).format(
|
|
3677
|
+
value: e.getDateTimeFormat(i, f).format(d)
|
|
3678
3678
|
});
|
|
3679
3679
|
continue;
|
|
3680
3680
|
}
|
|
3681
3681
|
if (ns(c)) {
|
|
3682
3682
|
var f = typeof c.style == "string" ? r.number[c.style] : cs(c.style) ? c.style.parsedOptions : void 0;
|
|
3683
|
-
f && f.scale && (
|
|
3683
|
+
f && f.scale && (d = d * (f.scale || 1)), a.push({
|
|
3684
3684
|
type: ue.literal,
|
|
3685
|
-
value: e.getNumberFormat(i, f).format(
|
|
3685
|
+
value: e.getNumberFormat(i, f).format(d)
|
|
3686
3686
|
});
|
|
3687
3687
|
continue;
|
|
3688
3688
|
}
|
|
@@ -3701,25 +3701,25 @@ function li(t, i, e, r, n, o, s) {
|
|
|
3701
3701
|
}));
|
|
3702
3702
|
}
|
|
3703
3703
|
if (as(c)) {
|
|
3704
|
-
var N = c.options[
|
|
3704
|
+
var N = c.options[d] || c.options.other;
|
|
3705
3705
|
if (!N)
|
|
3706
|
-
throw new Rn(c.value,
|
|
3706
|
+
throw new Rn(c.value, d, Object.keys(c.options), s);
|
|
3707
3707
|
a.push.apply(a, li(N.value, i, e, r, n));
|
|
3708
3708
|
continue;
|
|
3709
3709
|
}
|
|
3710
3710
|
if (ls(c)) {
|
|
3711
|
-
var N = c.options["=".concat(
|
|
3711
|
+
var N = c.options["=".concat(d)];
|
|
3712
3712
|
if (!N) {
|
|
3713
3713
|
if (!Intl.PluralRules)
|
|
3714
3714
|
throw new Ci(`Intl.PluralRules is not available in this environment.
|
|
3715
3715
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3716
|
-
`,
|
|
3717
|
-
var U = e.getPluralRules(i, { type: c.pluralType }).select(
|
|
3716
|
+
`, dt.MISSING_INTL_API, s);
|
|
3717
|
+
var U = e.getPluralRules(i, { type: c.pluralType }).select(d - (c.offset || 0));
|
|
3718
3718
|
N = c.options[U] || c.options.other;
|
|
3719
3719
|
}
|
|
3720
3720
|
if (!N)
|
|
3721
|
-
throw new Rn(c.value,
|
|
3722
|
-
a.push.apply(a, li(N.value, i, e, r, n,
|
|
3721
|
+
throw new Rn(c.value, d, Object.keys(c.options), s);
|
|
3722
|
+
a.push.apply(a, li(N.value, i, e, r, n, d - (c.offset || 0)));
|
|
3723
3723
|
continue;
|
|
3724
3724
|
}
|
|
3725
3725
|
}
|
|
@@ -3795,8 +3795,8 @@ var Yu = (
|
|
|
3795
3795
|
var u = o.formatToParts(l);
|
|
3796
3796
|
if (u.length === 1)
|
|
3797
3797
|
return u[0].value;
|
|
3798
|
-
var c = u.reduce(function(
|
|
3799
|
-
return !
|
|
3798
|
+
var c = u.reduce(function(h, d) {
|
|
3799
|
+
return !h.length || d.type !== ue.literal || typeof h[h.length - 1] != "string" ? h.push(d.value) : h[h.length - 1] += d.value, h;
|
|
3800
3800
|
}, []);
|
|
3801
3801
|
return c.length <= 1 ? c[0] || "" : c;
|
|
3802
3802
|
}, this.formatToParts = function(l) {
|
|
@@ -3931,11 +3931,11 @@ const Kt = Ai({});
|
|
|
3931
3931
|
function qu(t) {
|
|
3932
3932
|
return Wr[t] || null;
|
|
3933
3933
|
}
|
|
3934
|
-
function
|
|
3934
|
+
function vs(t) {
|
|
3935
3935
|
return t in Wr;
|
|
3936
3936
|
}
|
|
3937
3937
|
function Xu(t, i) {
|
|
3938
|
-
if (!
|
|
3938
|
+
if (!vs(t))
|
|
3939
3939
|
return null;
|
|
3940
3940
|
const e = qu(t);
|
|
3941
3941
|
return Gu(e, i);
|
|
@@ -3946,14 +3946,14 @@ function Ku(t) {
|
|
|
3946
3946
|
const i = Ti(t);
|
|
3947
3947
|
for (let e = 0; e < i.length; e++) {
|
|
3948
3948
|
const r = i[e];
|
|
3949
|
-
if (
|
|
3949
|
+
if (vs(r))
|
|
3950
3950
|
return r;
|
|
3951
3951
|
}
|
|
3952
3952
|
}
|
|
3953
|
-
function
|
|
3953
|
+
function ys(t, ...i) {
|
|
3954
3954
|
delete Le[t], Kt.update((e) => (e[t] = eu.all([e[t] || {}, ...i]), e));
|
|
3955
3955
|
}
|
|
3956
|
-
|
|
3956
|
+
vt(
|
|
3957
3957
|
[Kt],
|
|
3958
3958
|
([t]) => Object.keys(t)
|
|
3959
3959
|
);
|
|
@@ -3982,7 +3982,7 @@ function xr(t) {
|
|
|
3982
3982
|
function Qu(t, i) {
|
|
3983
3983
|
return Promise.all(
|
|
3984
3984
|
i.map((r) => (Ju(t, r), r().then((n) => n.default || n)))
|
|
3985
|
-
).then((r) =>
|
|
3985
|
+
).then((r) => ys(t, ...r));
|
|
3986
3986
|
}
|
|
3987
3987
|
const Ct = {};
|
|
3988
3988
|
function ws(t) {
|
|
@@ -4077,7 +4077,7 @@ const cc = (t) => {
|
|
|
4077
4077
|
});
|
|
4078
4078
|
}
|
|
4079
4079
|
return pi.set(t);
|
|
4080
|
-
},
|
|
4080
|
+
}, yt = uc(lc({}, pi), {
|
|
4081
4081
|
set: cc
|
|
4082
4082
|
}), Pi = (t) => {
|
|
4083
4083
|
const i = /* @__PURE__ */ Object.create(null);
|
|
@@ -4086,7 +4086,7 @@ const cc = (t) => {
|
|
|
4086
4086
|
return n in i ? i[n] : i[n] = t(r);
|
|
4087
4087
|
};
|
|
4088
4088
|
};
|
|
4089
|
-
var
|
|
4089
|
+
var hc = Object.defineProperty, mi = Object.getOwnPropertySymbols, Es = Object.prototype.hasOwnProperty, Ss = Object.prototype.propertyIsEnumerable, Vn = (t, i, e) => i in t ? hc(t, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[i] = e, qr = (t, i) => {
|
|
4090
4090
|
for (var e in i || (i = {}))
|
|
4091
4091
|
Es.call(i, e) && Vn(t, e, i[e]);
|
|
4092
4092
|
if (mi)
|
|
@@ -4107,7 +4107,7 @@ const Rt = (t, i) => {
|
|
|
4107
4107
|
if (t in e && i in e[t])
|
|
4108
4108
|
return e[t][i];
|
|
4109
4109
|
throw new Error(`[svelte-i18n] Unknown "${i}" ${t} format.`);
|
|
4110
|
-
},
|
|
4110
|
+
}, dc = Pi(
|
|
4111
4111
|
(t) => {
|
|
4112
4112
|
var i = t, { locale: e, format: r } = i, n = xt(i, ["locale", "format"]);
|
|
4113
4113
|
if (e == null)
|
|
@@ -4136,7 +4136,7 @@ const Rt = (t, i) => {
|
|
|
4136
4136
|
} = i, r = xt(i, [
|
|
4137
4137
|
"locale"
|
|
4138
4138
|
]);
|
|
4139
|
-
return
|
|
4139
|
+
return dc(qr({ locale: e }, r));
|
|
4140
4140
|
}, _c = (t = {}) => {
|
|
4141
4141
|
var i = t, {
|
|
4142
4142
|
locale: e = qe()
|
|
@@ -4156,7 +4156,7 @@ const Rt = (t, i) => {
|
|
|
4156
4156
|
(t, i = qe()) => new Yu(t, i, ft().formats, {
|
|
4157
4157
|
ignoreTag: ft().ignoreTag
|
|
4158
4158
|
})
|
|
4159
|
-
),
|
|
4159
|
+
), vc = (t, i = {}) => {
|
|
4160
4160
|
var e, r, n, o;
|
|
4161
4161
|
let s = i;
|
|
4162
4162
|
typeof t == "object" && (s = t, t = s.id);
|
|
@@ -4178,21 +4178,21 @@ const Rt = (t, i) => {
|
|
|
4178
4178
|
), c;
|
|
4179
4179
|
if (!a)
|
|
4180
4180
|
return c;
|
|
4181
|
-
let
|
|
4181
|
+
let h = c;
|
|
4182
4182
|
try {
|
|
4183
|
-
|
|
4184
|
-
} catch (
|
|
4185
|
-
|
|
4183
|
+
h = bc(c, l).format(a);
|
|
4184
|
+
} catch (d) {
|
|
4185
|
+
d instanceof Error && console.warn(
|
|
4186
4186
|
`[svelte-i18n] Message "${t}" has syntax error:`,
|
|
4187
|
-
|
|
4187
|
+
d.message
|
|
4188
4188
|
);
|
|
4189
4189
|
}
|
|
4190
|
-
return
|
|
4191
|
-
},
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4190
|
+
return h;
|
|
4191
|
+
}, yc = (t, i) => gc(i).format(t), xc = (t, i) => _c(i).format(t), wc = (t, i) => mc(i).format(t), Ec = (t, i = qe()) => bs(t, i), Sc = vt([yt, Kt], () => vc);
|
|
4192
|
+
vt([yt], () => yc);
|
|
4193
|
+
vt([yt], () => xc);
|
|
4194
|
+
vt([yt], () => wc);
|
|
4195
|
+
vt([yt, Kt], () => Ec);
|
|
4196
4196
|
window.emWidgets = { topic: $l };
|
|
4197
4197
|
const Ac = (t) => t.toLowerCase().match(/android/i) ? "Android" : t.toLowerCase().match(/iphone/i) ? "iPhone" : t.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4198
4198
|
var As = { exports: {} };
|
|
@@ -4200,7 +4200,7 @@ var As = { exports: {} };
|
|
|
4200
4200
|
(function(e, r) {
|
|
4201
4201
|
t.exports = r();
|
|
4202
4202
|
})(Fl, function() {
|
|
4203
|
-
var e = 1e3, r = 6e4, n = 36e5, o = "millisecond", s = "second", a = "minute", l = "hour", u = "day", c = "week",
|
|
4203
|
+
var e = 1e3, r = 6e4, n = 36e5, o = "millisecond", s = "second", a = "minute", l = "hour", u = "day", c = "week", h = "month", d = "quarter", f = "year", p = "date", x = "Invalid Date", T = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, O = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, D = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(w) {
|
|
4204
4204
|
var g = ["th", "st", "nd", "rd"], m = w % 100;
|
|
4205
4205
|
return "[" + w + (g[(m - 20) % 10] || g[m] || g[0]) + "]";
|
|
4206
4206
|
} }, N = function(w, g, m) {
|
|
@@ -4211,18 +4211,18 @@ var As = { exports: {} };
|
|
|
4211
4211
|
return (g <= 0 ? "+" : "-") + N(b, 2, "0") + ":" + N(_, 2, "0");
|
|
4212
4212
|
}, m: function w(g, m) {
|
|
4213
4213
|
if (g.date() < m.date()) return -w(m, g);
|
|
4214
|
-
var b = 12 * (m.year() - g.year()) + (m.month() - g.month()), _ = g.clone().add(b,
|
|
4214
|
+
var b = 12 * (m.year() - g.year()) + (m.month() - g.month()), _ = g.clone().add(b, h), S = m - _ < 0, E = g.clone().add(b + (S ? -1 : 1), h);
|
|
4215
4215
|
return +(-(b + (m - _) / (S ? _ - E : E - _)) || 0);
|
|
4216
4216
|
}, a: function(w) {
|
|
4217
4217
|
return w < 0 ? Math.ceil(w) || 0 : Math.floor(w);
|
|
4218
4218
|
}, p: function(w) {
|
|
4219
|
-
return { M:
|
|
4219
|
+
return { M: h, y: f, w: c, d: u, D: p, h: l, m: a, s, ms: o, Q: d }[w] || String(w || "").toLowerCase().replace(/s$/, "");
|
|
4220
4220
|
}, u: function(w) {
|
|
4221
4221
|
return w === void 0;
|
|
4222
4222
|
} }, H = "en", Z = {};
|
|
4223
4223
|
Z[H] = D;
|
|
4224
|
-
var
|
|
4225
|
-
return w instanceof se || !(!w || !w[
|
|
4224
|
+
var de = "$isDayjsObject", pe = function(w) {
|
|
4225
|
+
return w instanceof se || !(!w || !w[de]);
|
|
4226
4226
|
}, me = function w(g, m, b) {
|
|
4227
4227
|
var _;
|
|
4228
4228
|
if (!g) return H;
|
|
@@ -4246,7 +4246,7 @@ var As = { exports: {} };
|
|
|
4246
4246
|
};
|
|
4247
4247
|
var se = function() {
|
|
4248
4248
|
function w(m) {
|
|
4249
|
-
this.$L = me(m.locale, null, !0), this.parse(m), this.$x = this.$x || m.x || {}, this[
|
|
4249
|
+
this.$L = me(m.locale, null, !0), this.parse(m), this.$x = this.$x || m.x || {}, this[de] = !0;
|
|
4250
4250
|
}
|
|
4251
4251
|
var g = w.prototype;
|
|
4252
4252
|
return g.parse = function(m) {
|
|
@@ -4294,7 +4294,7 @@ var As = { exports: {} };
|
|
|
4294
4294
|
switch (E) {
|
|
4295
4295
|
case f:
|
|
4296
4296
|
return S ? M(1, 0) : M(31, 11);
|
|
4297
|
-
case
|
|
4297
|
+
case h:
|
|
4298
4298
|
return S ? M(1, q) : M(0, q + 1);
|
|
4299
4299
|
case c:
|
|
4300
4300
|
var ge = this.$locale().weekStart || 0, ae = (Y < ge ? Y + 7 : Y) - ge;
|
|
@@ -4314,8 +4314,8 @@ var As = { exports: {} };
|
|
|
4314
4314
|
}, g.endOf = function(m) {
|
|
4315
4315
|
return this.startOf(m, !1);
|
|
4316
4316
|
}, g.$set = function(m, b) {
|
|
4317
|
-
var _, S = P.p(m), E = "set" + (this.$u ? "UTC" : ""), M = (_ = {}, _[u] = E + "Date", _[p] = E + "Date", _[
|
|
4318
|
-
if (S ===
|
|
4317
|
+
var _, S = P.p(m), E = "set" + (this.$u ? "UTC" : ""), M = (_ = {}, _[u] = E + "Date", _[p] = E + "Date", _[h] = E + "Month", _[f] = E + "FullYear", _[l] = E + "Hours", _[a] = E + "Minutes", _[s] = E + "Seconds", _[o] = E + "Milliseconds", _)[S], j = S === u ? this.$D + (b - this.$W) : b;
|
|
4318
|
+
if (S === h || S === f) {
|
|
4319
4319
|
var Y = this.clone().set(p, 1);
|
|
4320
4320
|
Y.$d[M](j), Y.init(), this.$d = Y.set(p, Math.min(this.$D, Y.daysInMonth())).$d;
|
|
4321
4321
|
} else M && this.$d[M](j);
|
|
@@ -4331,7 +4331,7 @@ var As = { exports: {} };
|
|
|
4331
4331
|
var ie = L(S);
|
|
4332
4332
|
return P.w(ie.date(ie.date() + Math.round(q * m)), S);
|
|
4333
4333
|
};
|
|
4334
|
-
if (E ===
|
|
4334
|
+
if (E === h) return this.set(h, this.$M + m);
|
|
4335
4335
|
if (E === f) return this.set(f, this.$y + m);
|
|
4336
4336
|
if (E === u) return M(1);
|
|
4337
4337
|
if (E === c) return M(7);
|
|
@@ -4342,17 +4342,17 @@ var As = { exports: {} };
|
|
|
4342
4342
|
}, g.format = function(m) {
|
|
4343
4343
|
var b = this, _ = this.$locale();
|
|
4344
4344
|
if (!this.isValid()) return _.invalidDate || x;
|
|
4345
|
-
var S = m || "YYYY-MM-DDTHH:mm:ssZ", E = P.z(this), M = this.$H, j = this.$m, Y = this.$M, q = _.weekdays, ie = _.months, _e = _.meridiem, ge = function(B, G,
|
|
4346
|
-
return B && (B[G] || B(b, S)) ||
|
|
4345
|
+
var S = m || "YYYY-MM-DDTHH:mm:ssZ", E = P.z(this), M = this.$H, j = this.$m, Y = this.$M, q = _.weekdays, ie = _.months, _e = _.meridiem, ge = function(B, G, v, X) {
|
|
4346
|
+
return B && (B[G] || B(b, S)) || v[G].slice(0, X);
|
|
4347
4347
|
}, ae = function(B) {
|
|
4348
4348
|
return P.s(M % 12 || 12, B, "0");
|
|
4349
|
-
}, oe = _e || function(B, G,
|
|
4349
|
+
}, oe = _e || function(B, G, v) {
|
|
4350
4350
|
var X = B < 12 ? "AM" : "PM";
|
|
4351
|
-
return
|
|
4351
|
+
return v ? X.toLowerCase() : X;
|
|
4352
4352
|
};
|
|
4353
4353
|
return S.replace(O, function(B, G) {
|
|
4354
|
-
return G || function(
|
|
4355
|
-
switch (
|
|
4354
|
+
return G || function(v) {
|
|
4355
|
+
switch (v) {
|
|
4356
4356
|
case "YY":
|
|
4357
4357
|
return String(b.$y).slice(-2);
|
|
4358
4358
|
case "YYYY":
|
|
@@ -4415,10 +4415,10 @@ var As = { exports: {} };
|
|
|
4415
4415
|
case f:
|
|
4416
4416
|
S = ie() / 12;
|
|
4417
4417
|
break;
|
|
4418
|
-
case
|
|
4418
|
+
case h:
|
|
4419
4419
|
S = ie();
|
|
4420
4420
|
break;
|
|
4421
|
-
case
|
|
4421
|
+
case d:
|
|
4422
4422
|
S = ie() / 3;
|
|
4423
4423
|
break;
|
|
4424
4424
|
case c:
|
|
@@ -4441,7 +4441,7 @@ var As = { exports: {} };
|
|
|
4441
4441
|
}
|
|
4442
4442
|
return _ ? S : P.a(S);
|
|
4443
4443
|
}, g.daysInMonth = function() {
|
|
4444
|
-
return this.endOf(
|
|
4444
|
+
return this.endOf(h).$D;
|
|
4445
4445
|
}, g.$locale = function() {
|
|
4446
4446
|
return Z[this.$L];
|
|
4447
4447
|
}, g.locale = function(m, b) {
|
|
@@ -4460,7 +4460,7 @@ var As = { exports: {} };
|
|
|
4460
4460
|
return this.$d.toUTCString();
|
|
4461
4461
|
}, w;
|
|
4462
4462
|
}(), ze = se.prototype;
|
|
4463
|
-
return L.prototype = ze, [["$ms", o], ["$s", s], ["$m", a], ["$H", l], ["$W", u], ["$M",
|
|
4463
|
+
return L.prototype = ze, [["$ms", o], ["$s", s], ["$m", a], ["$H", l], ["$W", u], ["$M", h], ["$y", f], ["$D", p]].forEach(function(w) {
|
|
4464
4464
|
ze[w[1]] = function(g) {
|
|
4465
4465
|
return this.$g(g, w[0], w[1]);
|
|
4466
4466
|
};
|
|
@@ -4474,10 +4474,10 @@ var As = { exports: {} };
|
|
|
4474
4474
|
var Cc = As.exports;
|
|
4475
4475
|
const ji = /* @__PURE__ */ es(Cc);
|
|
4476
4476
|
function Yn(t, i) {
|
|
4477
|
-
|
|
4477
|
+
ys(t, i);
|
|
4478
4478
|
}
|
|
4479
4479
|
function Tc(t) {
|
|
4480
|
-
|
|
4480
|
+
yt.set(t);
|
|
4481
4481
|
}
|
|
4482
4482
|
const Gn = {
|
|
4483
4483
|
en: {
|
|
@@ -4713,7 +4713,7 @@ function Pc(t) {
|
|
|
4713
4713
|
return t.replace(/-[a-z]/gu, (i) => i[1].toUpperCase());
|
|
4714
4714
|
}
|
|
4715
4715
|
const Pe = {};
|
|
4716
|
-
function Te(t, i = "24.6.
|
|
4716
|
+
function Te(t, i = "24.6.4") {
|
|
4717
4717
|
if (Object.defineProperty(t, "version", {
|
|
4718
4718
|
get() {
|
|
4719
4719
|
return i;
|
|
@@ -5061,10 +5061,10 @@ const Rc = (t, i) => {
|
|
|
5061
5061
|
let n, o = i === 2 ? "<svg>" : i === 3 ? "<math>" : "", s = Tt;
|
|
5062
5062
|
for (let a = 0; a < e; a++) {
|
|
5063
5063
|
const l = t[a];
|
|
5064
|
-
let u, c,
|
|
5065
|
-
for (;
|
|
5064
|
+
let u, c, h = -1, d = 0;
|
|
5065
|
+
for (; d < l.length && (s.lastIndex = d, c = s.exec(l), c !== null); ) d = s.lastIndex, s === Tt ? c[1] === "!--" ? s = Zn : c[1] !== void 0 ? s = Qn : c[2] !== void 0 ? (ks.test(c[2]) && (n = RegExp("</" + c[2], "g")), s = Ue) : c[3] !== void 0 && (s = Ue) : s === Ue ? c[0] === ">" ? (s = n != null ? n : Tt, h = -1) : c[1] === void 0 ? h = -2 : (h = s.lastIndex - c[2].length, u = c[1], s = c[3] === void 0 ? Ue : c[3] === '"' ? to : eo) : s === to || s === eo ? s = Ue : s === Zn || s === Qn ? s = Tt : (s = Ue, n = void 0);
|
|
5066
5066
|
const f = s === Ue && t[a + 1].startsWith("/>") ? " " : "";
|
|
5067
|
-
o += s === Tt ? l + Bc :
|
|
5067
|
+
o += s === Tt ? l + Bc : h >= 0 ? (r.push(u), l.slice(0, h) + Ps + l.slice(h) + He + f) : l + He + (h === -2 ? a : f);
|
|
5068
5068
|
}
|
|
5069
5069
|
return [Os(t, o + (t[e] || "<?>") + (i === 2 ? "</svg>" : i === 3 ? "</math>" : "")), r];
|
|
5070
5070
|
};
|
|
@@ -5075,27 +5075,27 @@ class jt {
|
|
|
5075
5075
|
let o = 0, s = 0;
|
|
5076
5076
|
const a = i.length - 1, l = this.parts, [u, c] = Rc(i, e);
|
|
5077
5077
|
if (this.el = jt.createElement(u, r), je.currentNode = this.el.content, e === 2 || e === 3) {
|
|
5078
|
-
const
|
|
5079
|
-
|
|
5078
|
+
const h = this.el.content.firstChild;
|
|
5079
|
+
h.replaceWith(...h.childNodes);
|
|
5080
5080
|
}
|
|
5081
5081
|
for (; (n = je.nextNode()) !== null && l.length < a; ) {
|
|
5082
5082
|
if (n.nodeType === 1) {
|
|
5083
|
-
if (n.hasAttributes()) for (const
|
|
5084
|
-
const
|
|
5085
|
-
l.push({ type: 1, index: o, name: p[2], strings: f, ctor: p[1] === "." ? Uc : p[1] === "?" ? jc : p[1] === "@" ? Vc : Di }), n.removeAttribute(
|
|
5086
|
-
} else
|
|
5083
|
+
if (n.hasAttributes()) for (const h of n.getAttributeNames()) if (h.endsWith(Ps)) {
|
|
5084
|
+
const d = c[s++], f = n.getAttribute(h).split(He), p = /([.?@])?(.*)/.exec(d);
|
|
5085
|
+
l.push({ type: 1, index: o, name: p[2], strings: f, ctor: p[1] === "." ? Uc : p[1] === "?" ? jc : p[1] === "@" ? Vc : Di }), n.removeAttribute(h);
|
|
5086
|
+
} else h.startsWith(He) && (l.push({ type: 6, index: o }), n.removeAttribute(h));
|
|
5087
5087
|
if (ks.test(n.tagName)) {
|
|
5088
|
-
const
|
|
5089
|
-
if (
|
|
5088
|
+
const h = n.textContent.split(He), d = h.length - 1;
|
|
5089
|
+
if (d > 0) {
|
|
5090
5090
|
n.textContent = _i ? _i.emptyScript : "";
|
|
5091
|
-
for (let f = 0; f <
|
|
5092
|
-
n.append(d
|
|
5091
|
+
for (let f = 0; f < d; f++) n.append(h[f], zt()), je.nextNode(), l.push({ type: 2, index: ++o });
|
|
5092
|
+
n.append(h[d], zt());
|
|
5093
5093
|
}
|
|
5094
5094
|
}
|
|
5095
5095
|
} else if (n.nodeType === 8) if (n.data === Ds) l.push({ type: 2, index: o });
|
|
5096
5096
|
else {
|
|
5097
|
-
let
|
|
5098
|
-
for (; (
|
|
5097
|
+
let h = -1;
|
|
5098
|
+
for (; (h = n.data.indexOf(He, h + 1)) !== -1; ) l.push({ type: 7, index: o }), h += He.length - 1;
|
|
5099
5099
|
}
|
|
5100
5100
|
o++;
|
|
5101
5101
|
}
|
|
@@ -5440,7 +5440,7 @@ function J(t, i, e = {}) {
|
|
|
5440
5440
|
function Ar() {
|
|
5441
5441
|
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() : Ms;
|
|
5442
5442
|
}
|
|
5443
|
-
function
|
|
5443
|
+
function eh(t = "") {
|
|
5444
5444
|
let i = 0;
|
|
5445
5445
|
return t.startsWith("lumo-") || t.startsWith("material-") ? i = 1 : t.startsWith("vaadin-") && (i = 2), i;
|
|
5446
5446
|
}
|
|
@@ -5451,12 +5451,12 @@ function $s(t) {
|
|
|
5451
5451
|
r ? i.push(...$s(r), ...r.styles) : console.warn(`Included moduleId ${e} not found in style registry`);
|
|
5452
5452
|
}, t.styles), i;
|
|
5453
5453
|
}
|
|
5454
|
-
function
|
|
5454
|
+
function th(t) {
|
|
5455
5455
|
const i = `${t}-default-theme`, e = Ar().filter((r) => r.moduleId !== i && Ns(r.themeFor, t)).map((r) => Zt(St({}, r), {
|
|
5456
5456
|
// Prepend styles from included themes
|
|
5457
5457
|
styles: [...$s(r), ...r.styles],
|
|
5458
5458
|
// Map moduleId to includePriority
|
|
5459
|
-
includePriority:
|
|
5459
|
+
includePriority: eh(r.moduleId)
|
|
5460
5460
|
})).sort((r, n) => n.includePriority - r.includePriority);
|
|
5461
5461
|
return e.length > 0 ? e : Ar().filter((r) => r.moduleId === i);
|
|
5462
5462
|
}
|
|
@@ -5490,7 +5490,7 @@ const Xe = (t) => class extends Wc(t) {
|
|
|
5490
5490
|
*/
|
|
5491
5491
|
static getStylesForThis() {
|
|
5492
5492
|
const e = t.__themes || [], r = Object.getPrototypeOf(this.prototype), n = (r ? r.constructor.__themes : []) || [];
|
|
5493
|
-
this.__themes = [...e, ...n, ...
|
|
5493
|
+
this.__themes = [...e, ...n, ...th(this.is)];
|
|
5494
5494
|
const o = this.__themes.flatMap((s) => s.styles);
|
|
5495
5495
|
return o.filter((s, a) => a === o.lastIndexOf(s));
|
|
5496
5496
|
}
|
|
@@ -5500,19 +5500,19 @@ const Xe = (t) => class extends Wc(t) {
|
|
|
5500
5500
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
5501
5501
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5502
5502
|
*/
|
|
5503
|
-
const
|
|
5503
|
+
const ih = (t, ...i) => {
|
|
5504
5504
|
const e = document.createElement("style");
|
|
5505
5505
|
e.id = t, e.textContent = i.map((r) => r.toString()).join(`
|
|
5506
5506
|
`).replace(":host", "html"), document.head.insertAdjacentElement("afterbegin", e);
|
|
5507
5507
|
}, wt = (t, ...i) => {
|
|
5508
|
-
|
|
5508
|
+
ih(`lumo-${t}`, i);
|
|
5509
5509
|
};
|
|
5510
5510
|
/**
|
|
5511
5511
|
* @license
|
|
5512
5512
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
5513
5513
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5514
5514
|
*/
|
|
5515
|
-
const
|
|
5515
|
+
const rh = $`
|
|
5516
5516
|
:host {
|
|
5517
5517
|
--lumo-size-xs: 1.625rem;
|
|
5518
5518
|
--lumo-size-s: 1.875rem;
|
|
@@ -5528,13 +5528,13 @@ const rd = $`
|
|
|
5528
5528
|
--lumo-icon-size: var(--lumo-icon-size-m);
|
|
5529
5529
|
}
|
|
5530
5530
|
`;
|
|
5531
|
-
wt("sizing-props",
|
|
5531
|
+
wt("sizing-props", rh);
|
|
5532
5532
|
/**
|
|
5533
5533
|
* @license
|
|
5534
5534
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
5535
5535
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5536
5536
|
*/
|
|
5537
|
-
const
|
|
5537
|
+
const nh = $`
|
|
5538
5538
|
:host {
|
|
5539
5539
|
/* Square */
|
|
5540
5540
|
--lumo-space-xs: 0.25rem;
|
|
@@ -5558,13 +5558,13 @@ const nd = $`
|
|
|
5558
5558
|
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
|
5559
5559
|
}
|
|
5560
5560
|
`;
|
|
5561
|
-
wt("spacing-props",
|
|
5561
|
+
wt("spacing-props", nh);
|
|
5562
5562
|
/**
|
|
5563
5563
|
* @license
|
|
5564
5564
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
5565
5565
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5566
5566
|
*/
|
|
5567
|
-
const
|
|
5567
|
+
const oh = $`
|
|
5568
5568
|
:host {
|
|
5569
5569
|
/* Border radius */
|
|
5570
5570
|
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
@@ -5666,13 +5666,13 @@ $`
|
|
|
5666
5666
|
--vaadin-input-field-value-font-weight: 500;
|
|
5667
5667
|
}
|
|
5668
5668
|
`;
|
|
5669
|
-
wt("style-props",
|
|
5669
|
+
wt("style-props", oh);
|
|
5670
5670
|
/**
|
|
5671
5671
|
* @license
|
|
5672
5672
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
5673
5673
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5674
5674
|
*/
|
|
5675
|
-
const
|
|
5675
|
+
const sh = $`
|
|
5676
5676
|
:host {
|
|
5677
5677
|
/* Base (background) */
|
|
5678
5678
|
--lumo-base-color: #fff;
|
|
@@ -5758,8 +5758,8 @@ const sd = $`
|
|
|
5758
5758
|
}
|
|
5759
5759
|
}
|
|
5760
5760
|
`;
|
|
5761
|
-
wt("color-props",
|
|
5762
|
-
const
|
|
5761
|
+
wt("color-props", sh);
|
|
5762
|
+
const ah = $`
|
|
5763
5763
|
[theme~='dark'] {
|
|
5764
5764
|
/* Base (background) */
|
|
5765
5765
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -5878,13 +5878,13 @@ const ad = $`
|
|
|
5878
5878
|
background: transparent;
|
|
5879
5879
|
}
|
|
5880
5880
|
`;
|
|
5881
|
-
J("",
|
|
5881
|
+
J("", ah, { moduleId: "lumo-color" });
|
|
5882
5882
|
/**
|
|
5883
5883
|
* @license
|
|
5884
5884
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
5885
5885
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5886
5886
|
*/
|
|
5887
|
-
const
|
|
5887
|
+
const lh = $`
|
|
5888
5888
|
:host {
|
|
5889
5889
|
/* prettier-ignore */
|
|
5890
5890
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -5904,7 +5904,7 @@ const ld = $`
|
|
|
5904
5904
|
--lumo-line-height-s: 1.375;
|
|
5905
5905
|
--lumo-line-height-m: 1.625;
|
|
5906
5906
|
}
|
|
5907
|
-
`,
|
|
5907
|
+
`, uh = $`
|
|
5908
5908
|
body,
|
|
5909
5909
|
:host {
|
|
5910
5910
|
font-family: var(--lumo-font-family);
|
|
@@ -5997,8 +5997,8 @@ const ld = $`
|
|
|
5997
5997
|
border-right: 2px solid var(--lumo-contrast-30pct);
|
|
5998
5998
|
}
|
|
5999
5999
|
`;
|
|
6000
|
-
J("",
|
|
6001
|
-
wt("typography-props",
|
|
6000
|
+
J("", uh, { moduleId: "lumo-typography" });
|
|
6001
|
+
wt("typography-props", lh);
|
|
6002
6002
|
/**
|
|
6003
6003
|
* @license
|
|
6004
6004
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -6108,7 +6108,7 @@ const Fs = $`
|
|
|
6108
6108
|
}
|
|
6109
6109
|
`;
|
|
6110
6110
|
J("", Fs, { moduleId: "lumo-menu-overlay-core" });
|
|
6111
|
-
const
|
|
6111
|
+
const ch = $`
|
|
6112
6112
|
/* Small viewport (bottom sheet) styles */
|
|
6113
6113
|
/* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
|
|
6114
6114
|
@media (max-width: 450px), (max-height: 450px) {
|
|
@@ -6170,9 +6170,9 @@ const cd = $`
|
|
|
6170
6170
|
transform: translateY(150%);
|
|
6171
6171
|
}
|
|
6172
6172
|
}
|
|
6173
|
-
`, Rs = [Bs, Fs,
|
|
6173
|
+
`, Rs = [Bs, Fs, ch];
|
|
6174
6174
|
J("", Rs, { moduleId: "lumo-menu-overlay" });
|
|
6175
|
-
const
|
|
6175
|
+
const hh = $`
|
|
6176
6176
|
[part='overlay'] {
|
|
6177
6177
|
/*
|
|
6178
6178
|
Width:
|
|
@@ -6218,10 +6218,10 @@ const dd = $`
|
|
|
6218
6218
|
}
|
|
6219
6219
|
}
|
|
6220
6220
|
`;
|
|
6221
|
-
J("vaadin-date-picker-overlay", [Rs,
|
|
6221
|
+
J("vaadin-date-picker-overlay", [Rs, hh], {
|
|
6222
6222
|
moduleId: "lumo-date-picker-overlay"
|
|
6223
6223
|
});
|
|
6224
|
-
const
|
|
6224
|
+
const dh = $`
|
|
6225
6225
|
:host {
|
|
6226
6226
|
/* Sizing */
|
|
6227
6227
|
--lumo-button-size: var(--lumo-size-m);
|
|
@@ -6498,7 +6498,7 @@ const hd = $`
|
|
|
6498
6498
|
margin-right: 0;
|
|
6499
6499
|
}
|
|
6500
6500
|
`;
|
|
6501
|
-
J("vaadin-button",
|
|
6501
|
+
J("vaadin-button", dh, { moduleId: "lumo-button" });
|
|
6502
6502
|
J(
|
|
6503
6503
|
"vaadin-date-picker-year",
|
|
6504
6504
|
$`
|
|
@@ -7023,7 +7023,7 @@ J(
|
|
|
7023
7023
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7024
7024
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7025
7025
|
*/
|
|
7026
|
-
const
|
|
7026
|
+
const fh = $`
|
|
7027
7027
|
@font-face {
|
|
7028
7028
|
font-family: 'lumo-icons';
|
|
7029
7029
|
src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABHAAAsAAAAAI6AAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuNY21hcAAAAYgAAAD+AAADymne8hxnbHlmAAACiAAAC+gAABioIzlOlWhlYWQAAA5wAAAAMAAAADZa/6SsaGhlYQAADqAAAAAdAAAAJAbpA4BobXR4AAAOwAAAABAAAAC0q+AAAGxvY2EAAA7QAAAAXAAAAFyF7o1GbWF4cAAADywAAAAfAAAAIAFMAXBuYW1lAAAPTAAAATEAAAIuUUJZCHBvc3QAABCAAAABPQAAAgfdkltveJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS+xDiBgZWBgamKaQ8DA0MPhGZ8wGDIyAQUZWBlZsAKAtJcUxgcXjG+0mEO+p/FEMUcxDANKMwIkgMABvgMMAB4nO3SV26EMABF0UsZpjG9d6Y3FpgF5StLYxMTP16WEUvHV1gGIQzQAJKgDFKIfojQ+A6rUb2e0KnXU77qPanWq/LzCXOkOVyn9RyHvWl4YkaTFu1wX5ecHn0GDBkxZsKUGXMWLFmxZsOWHXsOFBw5cebClRt3Hjx58dZ7RRn/I9cUF39Xpb691acRG2piOtUqNZ1P1TCdeJUZatNQW4baNtSO6U+ouoaam96u6hlq31AHhjo01JGhjg11YqhTQ50Z6txQF4a6NNSVoa4NdWOoW0PdGereUA+GWhjq0VBPhno21IuhXg31Zqh3Q30Y6tNQX4b6NtTSKH8BOIRpQQAAeJy1WH1sW9UVv+fG9vPz+7Bf/N6zHcd2/J04jbP6s0lap4kDpB9JWzUUCqxNgaHxpTI6hNhUNLVr17HSISb2D2iAJrWb6FTWahNQdQxRvmHamAR0qibE1E18CG3QaVNFvJ17n+3YIf1AiMQ679x77j3v3HPPPed3H7ER/OsYpw8TmQRIiuQJ8RZK+WjO1B3xaCzla21orY10a+OQ6aHTHtP0zB31mBs1GZ6RNU2uXc7oPL+xdRS9R9X1oK4fVfijdsBqvqF6vd1eLzPrYrYZ57WteF7bPDIc5+ZcJnta+S9i2Vfhs4MaMwZNQmO0Vv7gF/MZcNsCcJp4sJFSwYyAmRuFCmTBDRBUkwGqnlViyjmVBpLqaXhNpt0J5V1JOqMkuqn8WkMHvZX+iOlImiqkBiFVYDrCqINulmkwKb8ry2fkZBBn7FcTlk4ZdfpRZ9MOesLSAakKt0N3g4p2jAL8eIEOOqom/U0lgQRXUl8LtXM7HFkojUIpF0ErVBhcZC1vtyjtpsqr83a8RVcSH+ool8LgcIMjNohmVCACuDs506BdO6WIQeXjUsh1XKZGRNpp9piv3+Givoh00OU6KEV81HUHTLtN093Q+YGlE3wLHWRtMNy9XWqdLm2HKbaNsGzhu+41eswFOjE6WKSk2/1Wpt+qHeM6phbohmVmj3GvpdcVkiy9zbXfzHVqKuDB0IR2P6ZpF+D7dy6YC/9svGmBE5hKB9+X2+hh4iYRMkhGyTqyFc9APmeGQHf043tWQKHkizmwaY5AroTNVJzJDc2SFzUu92kOLsdmKu77vByb8/IjtxmhkMFISRBFISO4XMLJlj4XgGuRXtaHw2FLyHifdSOpisIhJjgkiPBAyJh7lfXTkhEadwk1mUngrOC6MazX7mASeEAPV1FyjEumBOaEDu4DP/ogRDKkiLEV1woVyMeLLKJCEM+FwdCwL4XLcRgdbfkhbzS8BNvXDKzNQiAWgOzagTXF1Eyq+Ci6/TPm/JrNY/59p1epKN4jQFGe0fx+LTMwNVCrAU2VSqnaKYzIiGmWe2Rvp9KDJhncrjLaFce8VCUbyQ1kB9lNfkJ+To6R58mfyd/Ip9ABXohDHqqwEW7A2Mij1ehntLu+h8xMtocjUJcYwoLdtYafv/1Vjy8vjLaLtBfOt3/B931Rexa24e5zstgnyqvZHs69zuhq3vFgRpQVJyN7FuE++RLSeW4xMi+t6Zeo5sIK6S5dlGVRD2hWnGoB3j7OV3lesvNLic8tOnLRSRfRdOna63VJp/1WbYs5dFZjy1AqpGICQEWKmNI+CZNoVTJ7pNop+IZkRrBHgnEmqr3TrEsfw1Gi8LqE+S1aV0SNNwXVVVvuUoU3ld6TLwmditIpvKTU50zSzWwO1h0rL8awnulwTXMYrGDT4aQ1fb4GPkyv5vMEh5Vec6yw0AMXnfcx1l/rfVZaKLDi0W4j/HfeyGZuHOf1IUGW1udizU2leXY0OmLpVDpVKJfKpZzPRKHgEBzpXAUKWYipoIeBdl3JfLZVBizEqWun1i4ZGFiyduq3DebayXsmJ+95gBG4+Urm1a2SdpKV57lP2wZyZqI+FAlfUtO+NCmgdWhMOS1gDY+jHWnBhwjBQLMEXxmLbx6t9JXTWDLtsSxgisfErqvQMbbBoywZmeyLeWe8OWNydFDxzMx4lMGRtX0xN3YFJkeW+O0bascGNwwObtjCCOzrzAVWjSwN2K9cpyn9o5cZOXMmkAuM85EbNHnJyHhfLLCnPhxJYw9eoIMkyC3l+4ZuY5ig7lW2oYUynDgg+Xrk+++Xe3zSgRYetnyuy+KbfjiB+GAAtZ8HHXmtijZfFFgrujhmOs2qkXvuSV6WqA1WLYqhPHOfsa26rklKFqbAGL2dOIlGurB6LWFVFd/KoBBaYTFYVBs93hZRFlrG5Ex4NVFIJguJVvqnBW2kNNvFGx90YUcSEvyZSMDeZjc0xYlEYy8+hHcWx9YrZOaPPyCGepP5Q34aXnGBr8d1QhSf4yjtiebZqNJfEYl4SY6dDRb8WSguLZW9ZQtBpoW4hX0QMyB2KmsYcOh8HMQxBn288oZ6BXV0GOq/ClKsC6T8g9X3OFKZNkJrYkOx2lEk+KNDy953+wGHXuGGzhGZ+uLK8FVrQkbtKBv+9EztU2sgTCNpvXMdJjqJ4tkdw+x00dPKkZ1QR254x7GQoFmvfakSnL3gCc5nREly2mN2pyTLMacMipNT7YInGU7JzlN2p9N+yinXTirOKEvPUafSWMNDmCf9pIQYaG19DSxKGqvAQ+xg60iabEm5MheUU2n+HxO4TDDbjnw6xxK8QzfhbHXq8pWVqanKysun9s6ztdt7sivGqruqYyuyPS6Hw9XehGt6q+l0dT0jvaFMZjiTuTHo7+vdtHJTb58/2ML+IxHt9/n9vv5owiWKrrbWD+sakKxhKoYzxF5f7y9INxki42QNuYrVFDPfvqxyY83xWNMV+ZxPSMWb62W+wPSCJwkDDl1WZOGW84nAEo4A7HjB/uWmOdayRFnKjazi668u/ajJlUd87aPk048Crlu4j1Oh9gxdL3Z1inNPIt2xvKNlsU4hn54Z5Y6YbTDu9hHOvkcFAb35fU6hNovKOrtQmcvbNV9/Ntfv5xf4atDWOOTX6CSHZ08xujhPs51+f9zvf1YLIGoPPKvxVh0TSLAXzzUBFiXs7GJVB7vH5/PAXznd4+vx4a95h3qI/oYIpIdMkA1kC7kVLS3GhWI5bwj1fIaVKG/Ei5gXWOjhtcJbzFthaMQrwIcIRj0ppvO6yV95icu9j/YPDNySWp7w+kOr95R1RfGpfVlDVhS/2geJ5Umv2mn0rkxBvzvgdisndJXaVF1X5z5jdHGe2n/QnYo8+b2uaMivhowgjYcLnVqnrEpQezsieyVZ6ooETbdJO6ip+cORLpes6BL82/qg8VHbo45B/vch/YQeJX28QvEANR3sQhxh+TcMCEd4l8BKF7uID7KM05tRYlIHHXY63YIi2fXQyj5XSBbcMeewKLpttkJ2Syz33YJfDdJdSYkqHbYb3VHRJgTV8c0TAy67YHeK7htwOKWax5co7Do8Pfh1tKdx1g5j9o6TZeQyMo27FuW3vbYsbY/Op3AG06DMKionRlpgHzCEeMmLU5opRrCyS670RzppZeW5p/iT3jL3lB4O63QS6dzzh8SAtOqwGJK3bv+lGJTWbr++471wsVKMRJCEK5H+cLg/Qp+IDsdqs7HhKD7hMXyyrD/Li8RjRqimHhI7HP2vSDZn9brplySb0L9dgpURSwmSiBFhilrwB8OA9gZ29NkRO/669parW9e7XZDxwvgRu+SE7zgl+xG5p/HtRqJ3cdwSZwsbwTA1WT3jEdyPN0sWxvDGy+xovIzHosnwc9LePf9tywun0fMkWaFYZbB4oovRq8VyKYUBkMVXqVhBHSylQ0wanvla3+rQ1XbR8ZzstYOo2Mf7vjk8ftcGDWxdSdXx0cAVveHg1TZFtEOn8ntBBFs11V++vuLUQ5qz+U6d/oUjpGIdNjOQhJXNqn5YCS1Yy5PofLGEs6Js2yOKe2yyOLxtaGjbt7cNIURCEDdWfaQ6lurtRYbePCuItv1iUNxvE4Vdw2zQ0LZhdv2fxjHp5uAmdlBpopHXoJGU8e6BRc0yi+PztkaHTRRrW1m2hcfFLlEUzzD+DGczjEVCg9jEQZhFcdAL2DjD+DPiSWQzjM2I89g5RXdxfECS+CIWy1hTGmFs6EIbkv/pbtkfU3aPrZ+4c2Lizn07qufym/L5TTdtyuU2/We3HPeDsjtb3bGPSSfW31aX3LQpX/d9sL7fWYpRJPBbCJavYjrFjj0rT2GWCZjf6Ytffr8beXl/HYeyGwJiIK8FLDHbfo65xGz7YCSRqCQSkbbHI5eUU5X4sjj+zrU9aHnRlEnrd7YGptd0x2Jf/RbH9PAiovadckSnEsJ661OgPFuH9B4O6e202vIN0h9xHXSJh1wRP5Vqv1uI6Wn9Gxmrwzqrii1gqhEscJanuAlGas+s2/uzvetgS72NpHZ6aHbZstmh/wPq1seEeJxjYGRgYADi31ySEvH8Nl8ZuJlfAEUYalQ3NCLo/6+ZpzLdAnI5GJhAogAiBgraeJxjYGRgYA76nwUkXzAAAfNUBkYGVKALAFb4A3EAAAB4nGNgYGBgfjG0MAAMzihlAAAAAABOAJoA6AEKASwBTgFwAZoBxAHuAhoCnALoBJoEvATWBPIFDgUqBXoF0AX+BkQGlga4BwgHagfiCGoIpAi8CVAJmAoQCiwKVgqQCtYLGAtOC4gL6AwuDFR4nGNgZGBg0GVMYRBlAAEmIOYCQgaG/2A+AwAYygG+AHicbZE9TsMwGIbf9A/RSggEYmHxAgtq+jN2ZGj3Dt3T1GlTOXHkuBW9AyfgEByCgTNwCA7BW/NJlVBtyd/jx+8XKwmAa3whwnFE6Ib1OBq44O6Pm6Qb4Rb5QbiNHh6FO/RD4S6eMRHu4RaaT4halzR3eBVu4Apvwk36d+EW+UO4jXt8Cnfov4W7WOBHuIen6MXsCtvPU1vWc73emcSdxIkW2tW5LdUoHp7kTJfaJV6v1PKg6v167H2mMmcLNbWl18ZYVTm71amPN95Xk8EgEx+ntoDBDgUs+siRspaoMef7rukNEriziXNuwS7Hmoe9wggxv+e55IzJMqQTeNYV00scuNbY8+YxrUfGfcaMZb/CNPQe04bT0lThbEuT0sfYhK6K/23Amf3Lx+H24hcj4GScAAAAeJxtjuduwzAMhH2NnTqOk+6993TfSZFY24giGZTVon36eiRFf5SAiO/A05HBWtBXEvxfGdYwQIgIQ6wjxggJxkgxwRQb2MQWtrGDXexhHwc4xBGOcYJTnOEcF7jEFa5xg1vc4R4PeMQTnvGCV2R4C1Khy9xkkkxNnPRC03s97pHLvKgTYXJNmbKfZom9o8POEffsq0Qw28+ltcPe2uHS2rGvRjPBmSwE1+GMtI6l0GSU4JEsSM4XgudpQx9sTRf3K9rAyUr0962UryKprZwPpM0jyda5uP2qrVBjxSLPCmGUplixrdpBSKqsI2oO4gF9Udq8TJVOzDSpcEHGR4vSeJdaVsSkMl26OqoKa6jttQ0rLb6a5l3YjO2QqV01YXLlNy2XDR0JlkXojbJTb/5GDX3V+kPviIPgB9AUks0AAAA=)
|
|
@@ -7079,7 +7079,7 @@ const fd = $`
|
|
|
7079
7079
|
--lumo-icons-user: '\\ea2c';
|
|
7080
7080
|
}
|
|
7081
7081
|
`;
|
|
7082
|
-
wt("font-icons",
|
|
7082
|
+
wt("font-icons", fh);
|
|
7083
7083
|
/**
|
|
7084
7084
|
* @license
|
|
7085
7085
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -7119,7 +7119,7 @@ J("", zs, { moduleId: "lumo-field-button" });
|
|
|
7119
7119
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7120
7120
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7121
7121
|
*/
|
|
7122
|
-
const
|
|
7122
|
+
const ph = $`
|
|
7123
7123
|
:host {
|
|
7124
7124
|
--_helper-spacing: var(--vaadin-input-field-helper-spacing, 0.4em);
|
|
7125
7125
|
}
|
|
@@ -7300,7 +7300,7 @@ J("", Us, { moduleId: "lumo-required-field" });
|
|
|
7300
7300
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7301
7301
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7302
7302
|
*/
|
|
7303
|
-
const
|
|
7303
|
+
const mh = $`
|
|
7304
7304
|
:host {
|
|
7305
7305
|
--lumo-text-field-size: var(--lumo-size-m);
|
|
7306
7306
|
color: var(--vaadin-input-field-value-color, var(--lumo-body-text-color));
|
|
@@ -7431,11 +7431,11 @@ const md = $`
|
|
|
7431
7431
|
[part='clear-button']::before {
|
|
7432
7432
|
content: var(--lumo-icons-cross);
|
|
7433
7433
|
}
|
|
7434
|
-
`, js = [Us, zs,
|
|
7434
|
+
`, js = [Us, zs, ph, mh];
|
|
7435
7435
|
J("", js, {
|
|
7436
7436
|
moduleId: "lumo-input-field-shared-styles"
|
|
7437
7437
|
});
|
|
7438
|
-
const
|
|
7438
|
+
const _h = $`
|
|
7439
7439
|
[part='toggle-button']::before {
|
|
7440
7440
|
content: var(--lumo-icons-calendar);
|
|
7441
7441
|
}
|
|
@@ -7458,7 +7458,7 @@ const _d = $`
|
|
|
7458
7458
|
--_lumo-text-field-overflow-mask-image: none;
|
|
7459
7459
|
}
|
|
7460
7460
|
`;
|
|
7461
|
-
J("vaadin-date-picker", [js,
|
|
7461
|
+
J("vaadin-date-picker", [js, _h], { moduleId: "lumo-date-picker" });
|
|
7462
7462
|
/**
|
|
7463
7463
|
@license
|
|
7464
7464
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -7480,9 +7480,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
7480
7480
|
Code distributed by Google as part of the polymer project is also
|
|
7481
7481
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7482
7482
|
*/
|
|
7483
|
-
let
|
|
7483
|
+
let gh = /(url\()([^)]*)(\))/g, bh = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, ti, fe;
|
|
7484
7484
|
function $t(t, i) {
|
|
7485
|
-
if (t &&
|
|
7485
|
+
if (t && bh.test(t) || t === "//")
|
|
7486
7486
|
return t;
|
|
7487
7487
|
if (ti === void 0) {
|
|
7488
7488
|
ti = !1;
|
|
@@ -7501,7 +7501,7 @@ function $t(t, i) {
|
|
|
7501
7501
|
return fe || (fe = document.implementation.createHTMLDocument("temp"), fe.base = fe.createElement("base"), fe.head.appendChild(fe.base), fe.anchor = fe.createElement("a"), fe.body.appendChild(fe.anchor)), fe.base.href = i, fe.anchor.href = t, fe.anchor.href || t;
|
|
7502
7502
|
}
|
|
7503
7503
|
function en(t, i) {
|
|
7504
|
-
return t.replace(
|
|
7504
|
+
return t.replace(gh, function(e, r, n, o) {
|
|
7505
7505
|
return r + "'" + $t(n.replace(/["']/g, ""), i) + "'" + o;
|
|
7506
7506
|
});
|
|
7507
7507
|
}
|
|
@@ -7519,7 +7519,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|
|
7519
7519
|
*/
|
|
7520
7520
|
const Vs = !window.ShadyDOM || !window.ShadyDOM.inUse;
|
|
7521
7521
|
!window.ShadyCSS || window.ShadyCSS.nativeCss;
|
|
7522
|
-
const
|
|
7522
|
+
const vh = Vs && "adoptedStyleSheets" in Document.prototype && "replaceSync" in CSSStyleSheet.prototype && // Since spec may change, feature detect exact API we need
|
|
7523
7523
|
(() => {
|
|
7524
7524
|
try {
|
|
7525
7525
|
const t = new CSSStyleSheet();
|
|
@@ -7530,11 +7530,11 @@ const yd = Vs && "adoptedStyleSheets" in Document.prototype && "replaceSync" in
|
|
|
7530
7530
|
return !1;
|
|
7531
7531
|
}
|
|
7532
7532
|
})();
|
|
7533
|
-
let
|
|
7533
|
+
let yh = window.Polymer && window.Polymer.rootPath || tn(document.baseURI || window.location.href), bi = window.Polymer && window.Polymer.sanitizeDOMValue || void 0;
|
|
7534
7534
|
window.Polymer && window.Polymer.setPassiveTouchGestures;
|
|
7535
|
-
let
|
|
7535
|
+
let vi = window.Polymer && window.Polymer.strictTemplatePolicy || !1, xh = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, Ys = window.Polymer && window.Polymer.legacyOptimizations || !1, Gs = window.Polymer && window.Polymer.legacyWarnings || !1, wh = window.Polymer && window.Polymer.syncInitialRender || !1, Cr = window.Polymer && window.Polymer.legacyUndefined || !1, Eh = window.Polymer && window.Polymer.orderedComputed || !1, ro = window.Polymer && window.Polymer.removeNestedTemplates || !1, Sh = window.Polymer && window.Polymer.fastDomIf || !1, no = window.Polymer && window.Polymer.suppressTemplateNotifications || !1;
|
|
7536
7536
|
window.Polymer && window.Polymer.legacyNoObservedAttributes;
|
|
7537
|
-
let
|
|
7537
|
+
let Ah = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
|
|
7538
7538
|
/**
|
|
7539
7539
|
@license
|
|
7540
7540
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -7544,14 +7544,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
7544
7544
|
Code distributed by Google as part of the polymer project is also
|
|
7545
7545
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7546
7546
|
*/
|
|
7547
|
-
let
|
|
7547
|
+
let Ch = 0;
|
|
7548
7548
|
const ee = function(t) {
|
|
7549
7549
|
let i = (
|
|
7550
7550
|
/** @type {!MixinFunction} */
|
|
7551
7551
|
t.__mixinApplications
|
|
7552
7552
|
);
|
|
7553
7553
|
i || (i = /* @__PURE__ */ new WeakMap(), t.__mixinApplications = i);
|
|
7554
|
-
let e =
|
|
7554
|
+
let e = Ch++;
|
|
7555
7555
|
function r(n) {
|
|
7556
7556
|
let o = (
|
|
7557
7557
|
/** @type {!MixinFunction} */
|
|
@@ -7589,7 +7589,7 @@ function oo(t, i) {
|
|
|
7589
7589
|
function so(t) {
|
|
7590
7590
|
return rn[t] || Ws[t.toLowerCase()];
|
|
7591
7591
|
}
|
|
7592
|
-
function
|
|
7592
|
+
function Th(t) {
|
|
7593
7593
|
t.querySelector("style") && console.warn("dom-module %s has style outside template", t.id);
|
|
7594
7594
|
}
|
|
7595
7595
|
class Vt extends HTMLElement {
|
|
@@ -7658,9 +7658,9 @@ class Vt extends HTMLElement {
|
|
|
7658
7658
|
*/
|
|
7659
7659
|
register(i) {
|
|
7660
7660
|
if (i = i || this.id, i) {
|
|
7661
|
-
if (
|
|
7661
|
+
if (vi && so(i) !== void 0)
|
|
7662
7662
|
throw oo(i, null), new Error(`strictTemplatePolicy: dom-module ${i} re-registered`);
|
|
7663
|
-
this.id = i, oo(i, this),
|
|
7663
|
+
this.id = i, oo(i, this), Th(this);
|
|
7664
7664
|
}
|
|
7665
7665
|
}
|
|
7666
7666
|
}
|
|
@@ -7675,7 +7675,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
7675
7675
|
Code distributed by Google as part of the polymer project is also
|
|
7676
7676
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7677
7677
|
*/
|
|
7678
|
-
const
|
|
7678
|
+
const Ph = "link[rel=import][type~=css]", Dh = "include", ao = "shady-unscoped";
|
|
7679
7679
|
function qs(t) {
|
|
7680
7680
|
return (
|
|
7681
7681
|
/** @type {?DomModule} */
|
|
@@ -7690,13 +7690,13 @@ function lo(t) {
|
|
|
7690
7690
|
), r = document.createElement("style");
|
|
7691
7691
|
return r.textContent = e, r;
|
|
7692
7692
|
}
|
|
7693
|
-
function
|
|
7693
|
+
function kh(t) {
|
|
7694
7694
|
const i = t.trim().split(/\s+/), e = [];
|
|
7695
7695
|
for (let r = 0; r < i.length; r++)
|
|
7696
|
-
e.push(...
|
|
7696
|
+
e.push(...Oh(i[r]));
|
|
7697
7697
|
return e;
|
|
7698
7698
|
}
|
|
7699
|
-
function
|
|
7699
|
+
function Oh(t) {
|
|
7700
7700
|
const i = qs(t);
|
|
7701
7701
|
if (!i)
|
|
7702
7702
|
return console.warn("Could not find style data in module named", t), [];
|
|
@@ -7719,8 +7719,8 @@ function Xs(t, i) {
|
|
|
7719
7719
|
if (!t._styles) {
|
|
7720
7720
|
const e = [], r = t.content.querySelectorAll("style");
|
|
7721
7721
|
for (let n = 0; n < r.length; n++) {
|
|
7722
|
-
let o = r[n], s = o.getAttribute(
|
|
7723
|
-
s && e.push(...
|
|
7722
|
+
let o = r[n], s = o.getAttribute(Dh);
|
|
7723
|
+
s && e.push(...kh(s).filter(function(a, l, u) {
|
|
7724
7724
|
return u.indexOf(a) === l;
|
|
7725
7725
|
})), i && (o.textContent = en(
|
|
7726
7726
|
o.textContent,
|
|
@@ -7732,12 +7732,12 @@ function Xs(t, i) {
|
|
|
7732
7732
|
}
|
|
7733
7733
|
return t._styles;
|
|
7734
7734
|
}
|
|
7735
|
-
function
|
|
7735
|
+
function Mh(t) {
|
|
7736
7736
|
let i = qs(t);
|
|
7737
7737
|
return i ? Ks(i) : [];
|
|
7738
7738
|
}
|
|
7739
7739
|
function Ks(t) {
|
|
7740
|
-
const i = [], e = t.querySelectorAll(
|
|
7740
|
+
const i = [], e = t.querySelectorAll(Ph);
|
|
7741
7741
|
for (let r = 0; r < e.length; r++) {
|
|
7742
7742
|
let n = e[r];
|
|
7743
7743
|
if (n.import) {
|
|
@@ -7786,7 +7786,7 @@ function Yt(t, i) {
|
|
|
7786
7786
|
function Gt(t, i, e) {
|
|
7787
7787
|
return i + e.slice(t.length);
|
|
7788
7788
|
}
|
|
7789
|
-
function
|
|
7789
|
+
function Ih(t, i) {
|
|
7790
7790
|
return t === i || Js(t, i) || Yt(t, i);
|
|
7791
7791
|
}
|
|
7792
7792
|
function Ot(t) {
|
|
@@ -7836,15 +7836,15 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
7836
7836
|
Code distributed by Google as part of the polymer project is also
|
|
7837
7837
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7838
7838
|
*/
|
|
7839
|
-
const
|
|
7839
|
+
const yi = {}, Nh = /-[a-z]/g, Hh = /([A-Z])/g;
|
|
7840
7840
|
function Qs(t) {
|
|
7841
|
-
return
|
|
7842
|
-
|
|
7841
|
+
return yi[t] || (yi[t] = t.indexOf("-") < 0 ? t : t.replace(
|
|
7842
|
+
Nh,
|
|
7843
7843
|
(i) => i[1].toUpperCase()
|
|
7844
7844
|
));
|
|
7845
7845
|
}
|
|
7846
7846
|
function ki(t) {
|
|
7847
|
-
return
|
|
7847
|
+
return yi[t] || (yi[t] = t.replace(Hh, "-$1").toLowerCase());
|
|
7848
7848
|
}
|
|
7849
7849
|
/**
|
|
7850
7850
|
@license
|
|
@@ -7855,9 +7855,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
7855
7855
|
Code distributed by Google as part of the polymer project is also
|
|
7856
7856
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7857
7857
|
*/
|
|
7858
|
-
let
|
|
7859
|
-
new window.MutationObserver(
|
|
7860
|
-
function
|
|
7858
|
+
let Lh = 0, ea = 0, at = [], $h = 0, Pr = !1, ta = document.createTextNode("");
|
|
7859
|
+
new window.MutationObserver(Bh).observe(ta, { characterData: !0 });
|
|
7860
|
+
function Bh() {
|
|
7861
7861
|
Pr = !1;
|
|
7862
7862
|
const t = at.length;
|
|
7863
7863
|
for (let i = 0; i < t; i++) {
|
|
@@ -7873,7 +7873,7 @@ function Bd() {
|
|
|
7873
7873
|
}
|
|
7874
7874
|
at.splice(0, t), ea += t;
|
|
7875
7875
|
}
|
|
7876
|
-
const
|
|
7876
|
+
const Fh = {
|
|
7877
7877
|
/**
|
|
7878
7878
|
* Returns a sub-module with the async interface providing the provided
|
|
7879
7879
|
* delay.
|
|
@@ -7922,7 +7922,7 @@ const Fd = {
|
|
|
7922
7922
|
* @return {number} Handle used for canceling task
|
|
7923
7923
|
*/
|
|
7924
7924
|
run(t) {
|
|
7925
|
-
return Pr || (Pr = !0, ta.textContent = $
|
|
7925
|
+
return Pr || (Pr = !0, ta.textContent = $h++), at.push(t), Lh++;
|
|
7926
7926
|
},
|
|
7927
7927
|
/**
|
|
7928
7928
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -7949,7 +7949,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
7949
7949
|
Code distributed by Google as part of the polymer project is also
|
|
7950
7950
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7951
7951
|
*/
|
|
7952
|
-
const
|
|
7952
|
+
const Rh = ia, ra = ee(
|
|
7953
7953
|
/**
|
|
7954
7954
|
* @template T
|
|
7955
7955
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -8158,7 +8158,7 @@ const Rd = ia, ra = ee(
|
|
|
8158
8158
|
* @override
|
|
8159
8159
|
*/
|
|
8160
8160
|
_invalidateProperties() {
|
|
8161
|
-
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0,
|
|
8161
|
+
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0, Rh.run(() => {
|
|
8162
8162
|
this.__dataInvalid && (this.__dataInvalid = !1, this._flushProperties());
|
|
8163
8163
|
}));
|
|
8164
8164
|
}
|
|
@@ -8393,14 +8393,14 @@ for (; ii; ) {
|
|
|
8393
8393
|
na[t[i]] = !0;
|
|
8394
8394
|
ii = Object.getPrototypeOf(ii);
|
|
8395
8395
|
}
|
|
8396
|
-
const
|
|
8397
|
-
function
|
|
8396
|
+
const zh = window.trustedTypes ? (t) => trustedTypes.isHTML(t) || trustedTypes.isScript(t) || trustedTypes.isScriptURL(t) : () => !1;
|
|
8397
|
+
function Uh(t, i) {
|
|
8398
8398
|
if (!na[i]) {
|
|
8399
8399
|
let e = t[i];
|
|
8400
8400
|
e !== void 0 && (t.__data ? t._setPendingProperty(i, e) : (t.__dataProto ? t.hasOwnProperty(JSCompiler_renameProperty("__dataProto", t)) || (t.__dataProto = Object.create(t.__dataProto)) : t.__dataProto = {}, t.__dataProto[i] = e));
|
|
8401
8401
|
}
|
|
8402
8402
|
}
|
|
8403
|
-
const
|
|
8403
|
+
const jh = ee((t) => {
|
|
8404
8404
|
const i = ra(t);
|
|
8405
8405
|
class e extends i {
|
|
8406
8406
|
/**
|
|
@@ -8496,7 +8496,7 @@ const jd = ee((t) => {
|
|
|
8496
8496
|
if (n instanceof Date)
|
|
8497
8497
|
return n.toString();
|
|
8498
8498
|
if (n) {
|
|
8499
|
-
if (
|
|
8499
|
+
if (zh(n))
|
|
8500
8500
|
return (
|
|
8501
8501
|
/** @type {?} */
|
|
8502
8502
|
n
|
|
@@ -8577,7 +8577,7 @@ const jd = ee((t) => {
|
|
|
8577
8577
|
* @override
|
|
8578
8578
|
*/
|
|
8579
8579
|
_definePropertyAccessor(n, o) {
|
|
8580
|
-
|
|
8580
|
+
Uh(this, n), super._definePropertyAccessor(n, o);
|
|
8581
8581
|
}
|
|
8582
8582
|
/**
|
|
8583
8583
|
* Returns true if this library created an accessor for the given property.
|
|
@@ -8612,12 +8612,12 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
8612
8612
|
Code distributed by Google as part of the polymer project is also
|
|
8613
8613
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
8614
8614
|
*/
|
|
8615
|
-
const
|
|
8615
|
+
const Vh = {
|
|
8616
8616
|
"dom-if": !0,
|
|
8617
8617
|
"dom-repeat": !0
|
|
8618
8618
|
};
|
|
8619
8619
|
let co = !1, ho = !1;
|
|
8620
|
-
function
|
|
8620
|
+
function Yh() {
|
|
8621
8621
|
if (!co) {
|
|
8622
8622
|
co = !0;
|
|
8623
8623
|
const t = document.createElement("textarea");
|
|
@@ -8625,10 +8625,10 @@ function Yd() {
|
|
|
8625
8625
|
}
|
|
8626
8626
|
return ho;
|
|
8627
8627
|
}
|
|
8628
|
-
function
|
|
8629
|
-
|
|
8628
|
+
function Gh(t) {
|
|
8629
|
+
Yh() && t.localName === "textarea" && t.placeholder && t.placeholder === t.textContent && (t.textContent = null);
|
|
8630
8630
|
}
|
|
8631
|
-
const
|
|
8631
|
+
const Wh = (() => {
|
|
8632
8632
|
const t = window.trustedTypes && window.trustedTypes.createPolicy(
|
|
8633
8633
|
"polymer-template-event-attribute-policy",
|
|
8634
8634
|
{
|
|
@@ -8647,13 +8647,13 @@ const Wd = (() => {
|
|
|
8647
8647
|
i.setAttribute(r, n);
|
|
8648
8648
|
};
|
|
8649
8649
|
})();
|
|
8650
|
-
function
|
|
8650
|
+
function qh(t) {
|
|
8651
8651
|
let i = t.getAttribute("is");
|
|
8652
|
-
if (i &&
|
|
8652
|
+
if (i && Vh[i]) {
|
|
8653
8653
|
let e = t;
|
|
8654
8654
|
for (e.removeAttribute("is"), t = e.ownerDocument.createElement(i), e.parentNode.replaceChild(t, e), t.appendChild(e); e.attributes.length; ) {
|
|
8655
8655
|
const { name: r } = e.attributes[0];
|
|
8656
|
-
|
|
8656
|
+
Wh(t, e, r), e.removeAttribute(r);
|
|
8657
8657
|
}
|
|
8658
8658
|
}
|
|
8659
8659
|
return t;
|
|
@@ -8667,23 +8667,23 @@ function oa(t, i) {
|
|
|
8667
8667
|
} else
|
|
8668
8668
|
return t;
|
|
8669
8669
|
}
|
|
8670
|
-
function
|
|
8670
|
+
function Xh(t, i, e, r) {
|
|
8671
8671
|
r.id && (i[r.id] = e);
|
|
8672
8672
|
}
|
|
8673
|
-
function
|
|
8673
|
+
function Kh(t, i, e) {
|
|
8674
8674
|
if (e.events && e.events.length)
|
|
8675
8675
|
for (let r = 0, n = e.events, o; r < n.length && (o = n[r]); r++)
|
|
8676
8676
|
t._addMethodEventListenerToNode(i, o.name, o.value, t);
|
|
8677
8677
|
}
|
|
8678
|
-
function
|
|
8678
|
+
function Jh(t, i, e, r) {
|
|
8679
8679
|
e.templateInfo && (i._templateInfo = e.templateInfo, i._parentTemplateInfo = r);
|
|
8680
8680
|
}
|
|
8681
|
-
function
|
|
8681
|
+
function Zh(t, i, e) {
|
|
8682
8682
|
return t = t._methodHost || t, function(n) {
|
|
8683
8683
|
t[e] ? t[e](n, n.detail) : console.warn("listener method `" + e + "` not defined");
|
|
8684
8684
|
};
|
|
8685
8685
|
}
|
|
8686
|
-
const
|
|
8686
|
+
const Qh = ee(
|
|
8687
8687
|
/**
|
|
8688
8688
|
* @template T
|
|
8689
8689
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -8810,7 +8810,7 @@ const Qd = ee(
|
|
|
8810
8810
|
/** @type {!HTMLTemplateElement} */
|
|
8811
8811
|
r
|
|
8812
8812
|
);
|
|
8813
|
-
return a.localName == "template" && !a.hasAttribute("preserve-content") ? s = this._parseTemplateNestedTemplate(a, n, o) || s : a.localName === "slot" && (n.hasInsertionPoint = !0),
|
|
8813
|
+
return a.localName == "template" && !a.hasAttribute("preserve-content") ? s = this._parseTemplateNestedTemplate(a, n, o) || s : a.localName === "slot" && (n.hasInsertionPoint = !0), Gh(a), a.firstChild && this._parseTemplateChildNodes(a, n, o), a.hasAttributes && a.hasAttributes() && (s = this._parseTemplateNodeAttributes(a, n, o) || s), s || o.noted;
|
|
8814
8814
|
}
|
|
8815
8815
|
/**
|
|
8816
8816
|
* Parses template child nodes for the given root node.
|
|
@@ -8828,7 +8828,7 @@ const Qd = ee(
|
|
|
8828
8828
|
static _parseTemplateChildNodes(r, n, o) {
|
|
8829
8829
|
if (!(r.localName === "script" || r.localName === "style"))
|
|
8830
8830
|
for (let s = r.firstChild, a = 0, l; s; s = l) {
|
|
8831
|
-
if (s.localName == "template" && (s =
|
|
8831
|
+
if (s.localName == "template" && (s = qh(s)), l = s.nextSibling, s.nodeType === Node.TEXT_NODE) {
|
|
8832
8832
|
let c = l;
|
|
8833
8833
|
for (; c && c.nodeType === Node.TEXT_NODE; )
|
|
8834
8834
|
s.textContent += c.textContent, l = c.nextSibling, r.removeChild(c), c = l;
|
|
@@ -8962,9 +8962,9 @@ const Qd = ee(
|
|
|
8962
8962
|
a.__noInsertionPoint = !n.hasInsertionPoint;
|
|
8963
8963
|
let l = a.nodeList = new Array(o.length);
|
|
8964
8964
|
a.$ = {};
|
|
8965
|
-
for (let u = 0, c = o.length,
|
|
8966
|
-
let
|
|
8967
|
-
|
|
8965
|
+
for (let u = 0, c = o.length, h; u < c && (h = o[u]); u++) {
|
|
8966
|
+
let d = l[u] = oa(a, h);
|
|
8967
|
+
Xh(this, a.$, d, h), Jh(this, d, h, n), Kh(this, d, h);
|
|
8968
8968
|
}
|
|
8969
8969
|
return a = /** @type {!StampedTemplate} */
|
|
8970
8970
|
a, a;
|
|
@@ -8985,7 +8985,7 @@ const Qd = ee(
|
|
|
8985
8985
|
*/
|
|
8986
8986
|
_addMethodEventListenerToNode(r, n, o, s) {
|
|
8987
8987
|
s = s || r;
|
|
8988
|
-
let a =
|
|
8988
|
+
let a = Zh(s, n, o);
|
|
8989
8989
|
return this._addEventListenerToNode(r, n, a), a;
|
|
8990
8990
|
}
|
|
8991
8991
|
/**
|
|
@@ -9035,7 +9035,7 @@ const qt = [], F = {
|
|
|
9035
9035
|
PROPAGATE: "__propagateEffects",
|
|
9036
9036
|
OBSERVE: "__observeEffects",
|
|
9037
9037
|
READ_ONLY: "__readOnly"
|
|
9038
|
-
}, sa = "__computeInfo",
|
|
9038
|
+
}, sa = "__computeInfo", ed = /[A-Z]/;
|
|
9039
9039
|
function qi(t, i, e) {
|
|
9040
9040
|
let r = t[i];
|
|
9041
9041
|
if (!r)
|
|
@@ -9055,17 +9055,17 @@ function Mt(t, i, e, r, n, o) {
|
|
|
9055
9055
|
for (let l in e) {
|
|
9056
9056
|
let u = n ? Ke(l) : l, c = i[u];
|
|
9057
9057
|
if (c)
|
|
9058
|
-
for (let
|
|
9058
|
+
for (let h = 0, d = c.length, f; h < d && (f = c[h]); h++)
|
|
9059
9059
|
(!f.info || f.info.lastRun !== a) && (!n || nn(l, f.trigger)) && (f.info && (f.info.lastRun = a), f.fn(t, l, e, r, f.info, n, o), s = !0);
|
|
9060
9060
|
}
|
|
9061
9061
|
return s;
|
|
9062
9062
|
}
|
|
9063
9063
|
return !1;
|
|
9064
9064
|
}
|
|
9065
|
-
function
|
|
9065
|
+
function td(t, i, e, r, n, o, s, a) {
|
|
9066
9066
|
let l = !1, u = s ? Ke(r) : r, c = i[u];
|
|
9067
9067
|
if (c)
|
|
9068
|
-
for (let
|
|
9068
|
+
for (let h = 0, d = c.length, f; h < d && (f = c[h]); h++)
|
|
9069
9069
|
(!f.info || f.info.lastRun !== e) && (!s || nn(r, f.trigger)) && (f.info && (f.info.lastRun = e), f.fn(t, r, n, o, f.info, s, a), l = !0);
|
|
9070
9070
|
return l;
|
|
9071
9071
|
}
|
|
@@ -9083,14 +9083,14 @@ function fo(t, i, e, r, n) {
|
|
|
9083
9083
|
let o = typeof n.method == "string" ? t[n.method] : n.method, s = n.property;
|
|
9084
9084
|
o ? o.call(t, t.__data[s], r[s]) : n.dynamicFn || console.warn("observer method `" + n.method + "` not defined");
|
|
9085
9085
|
}
|
|
9086
|
-
function
|
|
9086
|
+
function id(t, i, e, r, n) {
|
|
9087
9087
|
let o = t[F.NOTIFY], s, a = Wt++;
|
|
9088
9088
|
for (let u in i)
|
|
9089
|
-
i[u] && (o &&
|
|
9089
|
+
i[u] && (o && td(t, o, a, u, e, r, n) || n && rd(t, u, e)) && (s = !0);
|
|
9090
9090
|
let l;
|
|
9091
9091
|
s && (l = t.__dataHost) && l._invalidateProperties && l._invalidateProperties();
|
|
9092
9092
|
}
|
|
9093
|
-
function
|
|
9093
|
+
function rd(t, i, e) {
|
|
9094
9094
|
let r = Ke(i);
|
|
9095
9095
|
if (r !== i) {
|
|
9096
9096
|
let n = ki(r) + "-changed";
|
|
@@ -9108,18 +9108,18 @@ function aa(t, i, e, r) {
|
|
|
9108
9108
|
t
|
|
9109
9109
|
).dispatchEvent(new CustomEvent(i, { detail: n }));
|
|
9110
9110
|
}
|
|
9111
|
-
function
|
|
9111
|
+
function nd(t, i, e, r, n, o) {
|
|
9112
9112
|
let a = (o ? Ke(i) : i) != i ? i : null, l = a ? ce(t, a) : t.__data[i];
|
|
9113
9113
|
a && l === void 0 && (l = e[i]), aa(t, n.eventName, l, a);
|
|
9114
9114
|
}
|
|
9115
|
-
function
|
|
9115
|
+
function od(t, i, e, r, n) {
|
|
9116
9116
|
let o, s = (
|
|
9117
9117
|
/** @type {Object} */
|
|
9118
9118
|
t.detail
|
|
9119
9119
|
), a = s && s.path;
|
|
9120
9120
|
a ? (r = Gt(e, r, a), o = s && s.value) : o = t.currentTarget[e], o = n ? !o : o, (!i[F.READ_ONLY] || !i[F.READ_ONLY][r]) && i._setPendingPropertyOrPath(r, o, !0, !!a) && (!s || !s.queueProperty) && i._invalidateProperties();
|
|
9121
9121
|
}
|
|
9122
|
-
function
|
|
9122
|
+
function sd(t, i, e, r, n) {
|
|
9123
9123
|
let o = t.__data[i];
|
|
9124
9124
|
bi && (o = bi(
|
|
9125
9125
|
o,
|
|
@@ -9129,12 +9129,12 @@ function sh(t, i, e, r, n) {
|
|
|
9129
9129
|
t
|
|
9130
9130
|
)), t._propertyToAttribute(i, n.attrName, o);
|
|
9131
9131
|
}
|
|
9132
|
-
function
|
|
9132
|
+
function ad(t, i, e, r) {
|
|
9133
9133
|
let n = t[F.COMPUTE];
|
|
9134
9134
|
if (n)
|
|
9135
|
-
if (
|
|
9135
|
+
if (Eh) {
|
|
9136
9136
|
Wt++;
|
|
9137
|
-
const o =
|
|
9137
|
+
const o = ud(t), s = [];
|
|
9138
9138
|
for (let l in i)
|
|
9139
9139
|
po(l, n, s, o, r);
|
|
9140
9140
|
let a;
|
|
@@ -9163,7 +9163,7 @@ function ah(t, i, e, r) {
|
|
|
9163
9163
|
), o = t.__dataPending, t.__dataPending = null;
|
|
9164
9164
|
}
|
|
9165
9165
|
}
|
|
9166
|
-
const
|
|
9166
|
+
const ld = (t, i, e) => {
|
|
9167
9167
|
let r = 0, n = i.length - 1, o = -1;
|
|
9168
9168
|
for (; r <= n; ) {
|
|
9169
9169
|
const s = r + n >> 1, a = e.get(i[s].methodInfo) - e.get(t.methodInfo);
|
|
@@ -9182,15 +9182,15 @@ const lh = (t, i, e) => {
|
|
|
9182
9182
|
if (s)
|
|
9183
9183
|
for (let a = 0; a < s.length; a++) {
|
|
9184
9184
|
const l = s[a];
|
|
9185
|
-
l.info.lastRun !== Wt && (!n || nn(t, l.trigger)) && (l.info.lastRun = Wt,
|
|
9185
|
+
l.info.lastRun !== Wt && (!n || nn(t, l.trigger)) && (l.info.lastRun = Wt, ld(l.info, e, r));
|
|
9186
9186
|
}
|
|
9187
9187
|
};
|
|
9188
|
-
function
|
|
9188
|
+
function ud(t) {
|
|
9189
9189
|
let i = t.constructor.__orderedComputedDeps;
|
|
9190
9190
|
if (!i) {
|
|
9191
9191
|
i = /* @__PURE__ */ new Map();
|
|
9192
9192
|
const e = t[F.COMPUTE];
|
|
9193
|
-
let { counts: r, ready: n, total: o } =
|
|
9193
|
+
let { counts: r, ready: n, total: o } = cd(t), s;
|
|
9194
9194
|
for (; s = n.shift(); ) {
|
|
9195
9195
|
i.set(s, i.size);
|
|
9196
9196
|
const a = e[s];
|
|
@@ -9204,7 +9204,7 @@ function uh(t) {
|
|
|
9204
9204
|
}
|
|
9205
9205
|
return i;
|
|
9206
9206
|
}
|
|
9207
|
-
function
|
|
9207
|
+
function cd(t) {
|
|
9208
9208
|
const i = t[sa], e = {}, r = t[F.COMPUTE], n = [];
|
|
9209
9209
|
let o = 0;
|
|
9210
9210
|
for (let s in i) {
|
|
@@ -9222,7 +9222,7 @@ function la(t, i, e, r, n) {
|
|
|
9222
9222
|
let s = n.methodInfo;
|
|
9223
9223
|
return t.__dataHasAccessor && t.__dataHasAccessor[s] ? t._setPendingProperty(s, o, !0) : (t[s] = o, !1);
|
|
9224
9224
|
}
|
|
9225
|
-
function
|
|
9225
|
+
function hd(t, i, e) {
|
|
9226
9226
|
let r = t.__dataLinkedPaths;
|
|
9227
9227
|
if (r) {
|
|
9228
9228
|
let n;
|
|
@@ -9235,17 +9235,17 @@ function dh(t, i, e) {
|
|
|
9235
9235
|
function Xi(t, i, e, r, n, o, s) {
|
|
9236
9236
|
e.bindings = e.bindings || [];
|
|
9237
9237
|
let a = { kind: r, target: n, parts: o, literal: s, isCompound: o.length !== 1 };
|
|
9238
|
-
if (e.bindings.push(a),
|
|
9238
|
+
if (e.bindings.push(a), _d(a)) {
|
|
9239
9239
|
let { event: u, negate: c } = a.parts[0];
|
|
9240
9240
|
a.listenerEvent = u || ki(n) + "-changed", a.listenerNegate = c;
|
|
9241
9241
|
}
|
|
9242
9242
|
let l = i.nodeInfoList.length;
|
|
9243
9243
|
for (let u = 0; u < a.parts.length; u++) {
|
|
9244
9244
|
let c = a.parts[u];
|
|
9245
|
-
c.compoundIndex = u,
|
|
9245
|
+
c.compoundIndex = u, dd(t, i, a, c, l);
|
|
9246
9246
|
}
|
|
9247
9247
|
}
|
|
9248
|
-
function
|
|
9248
|
+
function dd(t, i, e, r, n) {
|
|
9249
9249
|
if (!r.literal)
|
|
9250
9250
|
if (e.kind === "attribute" && e.target[0] === "-")
|
|
9251
9251
|
console.warn("Cannot set attribute " + e.target + ' because "-" is not a valid attribute starting character');
|
|
@@ -9254,25 +9254,25 @@ function hh(t, i, e, r, n) {
|
|
|
9254
9254
|
for (let a = 0; a < o.length; a++) {
|
|
9255
9255
|
let l = o[a];
|
|
9256
9256
|
typeof l == "string" && (l = ca(l), l.wildcard = !0), t._addTemplatePropertyEffect(i, l.rootProperty, {
|
|
9257
|
-
fn:
|
|
9257
|
+
fn: fd,
|
|
9258
9258
|
info: s,
|
|
9259
9259
|
trigger: l
|
|
9260
9260
|
});
|
|
9261
9261
|
}
|
|
9262
9262
|
}
|
|
9263
9263
|
}
|
|
9264
|
-
function
|
|
9264
|
+
function fd(t, i, e, r, n, o, s) {
|
|
9265
9265
|
let a = s[n.index], l = n.binding, u = n.part;
|
|
9266
9266
|
if (o && u.source && i.length > u.source.length && l.kind == "property" && !l.isCompound && a.__isPropertyEffectsClient && a.__dataHasAccessor && a.__dataHasAccessor[l.target]) {
|
|
9267
9267
|
let c = e[i];
|
|
9268
9268
|
i = Gt(u.source, l.target, i), a._setPendingPropertyOrPath(i, c, !1, !0) && t._enqueueClient(a);
|
|
9269
9269
|
} else {
|
|
9270
9270
|
let c = n.evaluator._evaluateBinding(t, u, i, e, r, o);
|
|
9271
|
-
c !== qt &&
|
|
9271
|
+
c !== qt && pd(t, a, l, u, c);
|
|
9272
9272
|
}
|
|
9273
9273
|
}
|
|
9274
|
-
function
|
|
9275
|
-
if (n =
|
|
9274
|
+
function pd(t, i, e, r, n) {
|
|
9275
|
+
if (n = md(i, n, e, r), bi && (n = bi(n, e.target, e.kind, i)), e.kind == "attribute")
|
|
9276
9276
|
t._valueToNodeAttribute(
|
|
9277
9277
|
/** @type {Element} */
|
|
9278
9278
|
i,
|
|
@@ -9284,17 +9284,17 @@ function ph(t, i, e, r, n) {
|
|
|
9284
9284
|
i.__isPropertyEffectsClient && i.__dataHasAccessor && i.__dataHasAccessor[o] ? (!i[F.READ_ONLY] || !i[F.READ_ONLY][o]) && i._setPendingProperty(o, n) && t._enqueueClient(i) : t._setUnmanagedPropertyToNode(i, o, n);
|
|
9285
9285
|
}
|
|
9286
9286
|
}
|
|
9287
|
-
function
|
|
9287
|
+
function md(t, i, e, r) {
|
|
9288
9288
|
if (e.isCompound) {
|
|
9289
9289
|
let n = t.__dataCompoundStorage[e.target];
|
|
9290
9290
|
n[r.compoundIndex] = i, i = n.join("");
|
|
9291
9291
|
}
|
|
9292
9292
|
return e.kind !== "attribute" && (e.target === "textContent" || e.target === "value" && (t.localName === "input" || t.localName === "textarea")) && (i = i == null ? "" : i), i;
|
|
9293
9293
|
}
|
|
9294
|
-
function
|
|
9294
|
+
function _d(t) {
|
|
9295
9295
|
return !!t.target && t.kind != "attribute" && t.kind != "text" && !t.isCompound && t.parts[0].mode === "{";
|
|
9296
9296
|
}
|
|
9297
|
-
function
|
|
9297
|
+
function gd(t, i) {
|
|
9298
9298
|
let { nodeList: e, nodeInfoList: r } = i;
|
|
9299
9299
|
if (r.length)
|
|
9300
9300
|
for (let n = 0; n < r.length; n++) {
|
|
@@ -9302,12 +9302,12 @@ function gh(t, i) {
|
|
|
9302
9302
|
if (a)
|
|
9303
9303
|
for (let l = 0; l < a.length; l++) {
|
|
9304
9304
|
let u = a[l];
|
|
9305
|
-
|
|
9305
|
+
bd(s, u), vd(s, t, u);
|
|
9306
9306
|
}
|
|
9307
9307
|
s.__dataHost = t;
|
|
9308
9308
|
}
|
|
9309
9309
|
}
|
|
9310
|
-
function
|
|
9310
|
+
function bd(t, i) {
|
|
9311
9311
|
if (i.isCompound) {
|
|
9312
9312
|
let e = t.__dataCompoundStorage || (t.__dataCompoundStorage = {}), r = i.parts, n = new Array(r.length);
|
|
9313
9313
|
for (let s = 0; s < r.length; s++)
|
|
@@ -9316,11 +9316,11 @@ function bh(t, i) {
|
|
|
9316
9316
|
e[o] = n, i.literal && i.kind == "property" && (o === "className" && (t = ne(t)), t[o] = i.literal);
|
|
9317
9317
|
}
|
|
9318
9318
|
}
|
|
9319
|
-
function
|
|
9319
|
+
function vd(t, i, e) {
|
|
9320
9320
|
if (e.listenerEvent) {
|
|
9321
9321
|
let r = e.parts[0];
|
|
9322
9322
|
t.addEventListener(e.listenerEvent, function(n) {
|
|
9323
|
-
|
|
9323
|
+
od(n, i, e.target, r.source, r.negate);
|
|
9324
9324
|
});
|
|
9325
9325
|
}
|
|
9326
9326
|
}
|
|
@@ -9350,7 +9350,7 @@ function Dr(t, i, e, r, n) {
|
|
|
9350
9350
|
return a === qt ? qt : s.apply(o, a);
|
|
9351
9351
|
} else n.dynamicFn || console.warn("method `" + n.methodName + "` not defined");
|
|
9352
9352
|
}
|
|
9353
|
-
const
|
|
9353
|
+
const yd = [], ua = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", xd = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", wd = "(?:'(?:[^'\\\\]|\\\\.)*')", Ed = '(?:"(?:[^"\\\\]|\\\\.)*")', Sd = "(?:" + wd + "|" + Ed + ")", _o = "(?:(" + ua + "|" + xd + "|" + Sd + ")\\s*)", Ad = "(?:" + _o + "(?:,\\s*" + _o + ")*)", Cd = "(?:\\(\\s*(?:" + Ad + "?)\\)\\s*)", Td = "(" + ua + "\\s*" + Cd + "?)", Pd = "(\\[\\[|{{)\\s*", Dd = "(?:]]|}})", kd = "(?:(!)\\s*)?", Od = Pd + kd + Td + Dd, go = new RegExp(Od, "g");
|
|
9354
9354
|
function bo(t) {
|
|
9355
9355
|
let i = "";
|
|
9356
9356
|
for (let e = 0; e < t.length; e++) {
|
|
@@ -9362,16 +9362,16 @@ function bo(t) {
|
|
|
9362
9362
|
function Ki(t) {
|
|
9363
9363
|
let i = t.match(/([^\s]+?)\(([\s\S]*)\)/);
|
|
9364
9364
|
if (i) {
|
|
9365
|
-
let r = { methodName: i[1], static: !0, args:
|
|
9365
|
+
let r = { methodName: i[1], static: !0, args: yd };
|
|
9366
9366
|
if (i[2].trim()) {
|
|
9367
9367
|
let n = i[2].replace(/\\,/g, ",").split(",");
|
|
9368
|
-
return
|
|
9368
|
+
return Md(n, r);
|
|
9369
9369
|
} else
|
|
9370
9370
|
return r;
|
|
9371
9371
|
}
|
|
9372
9372
|
return null;
|
|
9373
9373
|
}
|
|
9374
|
-
function
|
|
9374
|
+
function Md(t, i) {
|
|
9375
9375
|
return i.args = t.map(function(e) {
|
|
9376
9376
|
let r = ca(e);
|
|
9377
9377
|
return r.literal || (i.static = !1), r;
|
|
@@ -9394,16 +9394,16 @@ function ca(t) {
|
|
|
9394
9394
|
}
|
|
9395
9395
|
return e.literal || (e.rootProperty = Ke(i), e.structured = Tr(i), e.structured && (e.wildcard = i.slice(-2) == ".*", e.wildcard && (e.name = i.slice(0, -2)))), e;
|
|
9396
9396
|
}
|
|
9397
|
-
function
|
|
9397
|
+
function vo(t, i, e) {
|
|
9398
9398
|
let r = ce(t, e);
|
|
9399
9399
|
return r === void 0 && (r = i[e]), r;
|
|
9400
9400
|
}
|
|
9401
|
-
function
|
|
9401
|
+
function ha(t, i, e, r) {
|
|
9402
9402
|
const n = { indexSplices: r };
|
|
9403
9403
|
Cr && !t._overrideLegacyUndefined && (i.splices = n), t.notifyPath(e + ".splices", n), t.notifyPath(e + ".length", i.length), Cr && !t._overrideLegacyUndefined && (n.indexSplices = []);
|
|
9404
9404
|
}
|
|
9405
9405
|
function Pt(t, i, e, r, n, o) {
|
|
9406
|
-
|
|
9406
|
+
ha(t, i, e, [{
|
|
9407
9407
|
index: r,
|
|
9408
9408
|
addedCount: n,
|
|
9409
9409
|
removed: o,
|
|
@@ -9411,11 +9411,11 @@ function Pt(t, i, e, r, n, o) {
|
|
|
9411
9411
|
type: "splice"
|
|
9412
9412
|
}]);
|
|
9413
9413
|
}
|
|
9414
|
-
function
|
|
9414
|
+
function Id(t) {
|
|
9415
9415
|
return t[0].toUpperCase() + t.substring(1);
|
|
9416
9416
|
}
|
|
9417
9417
|
const on = ee((t) => {
|
|
9418
|
-
const i =
|
|
9418
|
+
const i = Qh(jh(t));
|
|
9419
9419
|
class e extends i {
|
|
9420
9420
|
constructor() {
|
|
9421
9421
|
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;
|
|
@@ -9603,7 +9603,7 @@ const on = ee((t) => {
|
|
|
9603
9603
|
o,
|
|
9604
9604
|
s
|
|
9605
9605
|
))
|
|
9606
|
-
return
|
|
9606
|
+
return hd(
|
|
9607
9607
|
this,
|
|
9608
9608
|
/**@type{string}*/
|
|
9609
9609
|
n,
|
|
@@ -9819,7 +9819,7 @@ const on = ee((t) => {
|
|
|
9819
9819
|
let a = this.__dataHasPaths;
|
|
9820
9820
|
this.__dataHasPaths = !1;
|
|
9821
9821
|
let l;
|
|
9822
|
-
|
|
9822
|
+
ad(this, o, s, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(o, s, a), this._flushClients(), Mt(this, this[F.REFLECT], o, s, a), Mt(this, this[F.OBSERVE], o, s, a), l && id(this, l, o, s, a), this.__dataCounter == 1 && (this.__dataTemp = {});
|
|
9823
9823
|
}
|
|
9824
9824
|
/**
|
|
9825
9825
|
* Called to propagate any property changes to stamped template nodes
|
|
@@ -9845,8 +9845,8 @@ const on = ee((t) => {
|
|
|
9845
9845
|
c,
|
|
9846
9846
|
n.nodeList
|
|
9847
9847
|
);
|
|
9848
|
-
for (let
|
|
9849
|
-
this._runEffectsForTemplate(
|
|
9848
|
+
for (let h = n.firstChild; h; h = h.nextSibling)
|
|
9849
|
+
this._runEffectsForTemplate(h, u, s, c);
|
|
9850
9850
|
};
|
|
9851
9851
|
n.runEffects ? n.runEffects(l, o, a) : l(o, a);
|
|
9852
9852
|
}
|
|
@@ -9916,7 +9916,7 @@ const on = ee((t) => {
|
|
|
9916
9916
|
/** @type {Array} */
|
|
9917
9917
|
ce(this, n, s)
|
|
9918
9918
|
);
|
|
9919
|
-
|
|
9919
|
+
ha(this, a, s.path, o);
|
|
9920
9920
|
}
|
|
9921
9921
|
/**
|
|
9922
9922
|
* Convenience method for reading a value from a path.
|
|
@@ -10118,7 +10118,7 @@ const on = ee((t) => {
|
|
|
10118
10118
|
* @protected
|
|
10119
10119
|
*/
|
|
10120
10120
|
_createReadOnlyProperty(n, o) {
|
|
10121
|
-
this._addPropertyEffect(n, F.READ_ONLY), o && (this["_set" +
|
|
10121
|
+
this._addPropertyEffect(n, F.READ_ONLY), o && (this["_set" + Id(n)] = /** @this {PropertyEffects} */
|
|
10122
10122
|
function(s) {
|
|
10123
10123
|
this._setProperty(n, s);
|
|
10124
10124
|
});
|
|
@@ -10184,7 +10184,7 @@ const on = ee((t) => {
|
|
|
10184
10184
|
*/
|
|
10185
10185
|
_createNotifyingProperty(n) {
|
|
10186
10186
|
this._addPropertyEffect(n, F.NOTIFY, {
|
|
10187
|
-
fn:
|
|
10187
|
+
fn: nd,
|
|
10188
10188
|
info: {
|
|
10189
10189
|
eventName: ki(n) + "-changed",
|
|
10190
10190
|
property: n
|
|
@@ -10205,7 +10205,7 @@ const on = ee((t) => {
|
|
|
10205
10205
|
_createReflectedProperty(n) {
|
|
10206
10206
|
let o = this.constructor.attributeNameForProperty(n);
|
|
10207
10207
|
o[0] === "-" ? console.warn("Property " + n + " cannot be reflected to attribute " + o + ' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.') : this._addPropertyEffect(n, F.REFLECT, {
|
|
10208
|
-
fn:
|
|
10208
|
+
fn: sd,
|
|
10209
10209
|
info: {
|
|
10210
10210
|
attrName: o
|
|
10211
10211
|
}
|
|
@@ -10247,17 +10247,17 @@ const on = ee((t) => {
|
|
|
10247
10247
|
_marshalArgs(n, o, s) {
|
|
10248
10248
|
const a = this.__data, l = [];
|
|
10249
10249
|
for (let u = 0, c = n.length; u < c; u++) {
|
|
10250
|
-
let { name:
|
|
10250
|
+
let { name: h, structured: d, wildcard: f, value: p, literal: x } = n[u];
|
|
10251
10251
|
if (!x)
|
|
10252
10252
|
if (f) {
|
|
10253
|
-
const T = Yt(
|
|
10253
|
+
const T = Yt(h, o), O = vo(a, s, T ? o : h);
|
|
10254
10254
|
p = {
|
|
10255
|
-
path: T ? o :
|
|
10255
|
+
path: T ? o : h,
|
|
10256
10256
|
value: O,
|
|
10257
|
-
base: T ? ce(a,
|
|
10257
|
+
base: T ? ce(a, h) : O
|
|
10258
10258
|
};
|
|
10259
10259
|
} else
|
|
10260
|
-
p =
|
|
10260
|
+
p = d ? vo(a, s, h) : a[h];
|
|
10261
10261
|
if (Cr && !this._overrideLegacyUndefined && p === void 0 && n.length > 1)
|
|
10262
10262
|
return qt;
|
|
10263
10263
|
l[u] = p;
|
|
@@ -10540,7 +10540,7 @@ const on = ee((t) => {
|
|
|
10540
10540
|
for (let l = s.firstChild; l; l = l.nextSibling)
|
|
10541
10541
|
a.push(l);
|
|
10542
10542
|
}
|
|
10543
|
-
return s.templateInfo = o,
|
|
10543
|
+
return s.templateInfo = o, gd(this, o), this.__dataClientsReady && (this._runEffectsForTemplate(o, this.__data, null, !1), this._flushClients()), s;
|
|
10544
10544
|
}
|
|
10545
10545
|
/**
|
|
10546
10546
|
* Removes and unbinds the nodes previously contained in the provided
|
|
@@ -10557,8 +10557,8 @@ const on = ee((t) => {
|
|
|
10557
10557
|
s ? s.nextSibling = a : l && (l.firstChild = a), a ? a.previousSibling = s : l && (l.lastChild = s), o.nextSibling = o.previousSibling = null;
|
|
10558
10558
|
let u = o.childNodes;
|
|
10559
10559
|
for (let c = 0; c < u.length; c++) {
|
|
10560
|
-
let
|
|
10561
|
-
ne(ne(
|
|
10560
|
+
let h = u[c];
|
|
10561
|
+
ne(ne(h).parentNode).removeChild(h);
|
|
10562
10562
|
}
|
|
10563
10563
|
}
|
|
10564
10564
|
/**
|
|
@@ -10613,10 +10613,10 @@ const on = ee((t) => {
|
|
|
10613
10613
|
static _parseTemplateNodeAttribute(n, o, s, a, l) {
|
|
10614
10614
|
let u = this._parseBindings(l, o);
|
|
10615
10615
|
if (u) {
|
|
10616
|
-
let c = a,
|
|
10617
|
-
|
|
10618
|
-
let
|
|
10619
|
-
return
|
|
10616
|
+
let c = a, h = "property";
|
|
10617
|
+
ed.test(a) ? h = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), h = "attribute");
|
|
10618
|
+
let d = bo(u);
|
|
10619
|
+
return d && h == "attribute" && (a == "class" && n.hasAttribute("class") && (d += " " + n.getAttribute(a)), n.setAttribute(a, d)), h == "attribute" && c == "disable-upgrade$" && n.setAttribute(a, ""), n.localName === "input" && c === "value" && n.setAttribute(c, ""), n.removeAttribute(c), h === "property" && (a = Qs(a)), Xi(this, o, s, h, a, u, d), !0;
|
|
10620
10620
|
} else
|
|
10621
10621
|
return i._parseTemplateNodeAttribute.call(
|
|
10622
10622
|
this,
|
|
@@ -10648,14 +10648,14 @@ const on = ee((t) => {
|
|
|
10648
10648
|
o,
|
|
10649
10649
|
s
|
|
10650
10650
|
);
|
|
10651
|
-
const l = n.parentNode, u = s.templateInfo, c = l.localName === "dom-if",
|
|
10652
|
-
ro && (c ||
|
|
10653
|
-
let
|
|
10654
|
-
if (
|
|
10655
|
-
|
|
10651
|
+
const l = n.parentNode, u = s.templateInfo, c = l.localName === "dom-if", h = l.localName === "dom-repeat";
|
|
10652
|
+
ro && (c || h) && (l.removeChild(n), s = s.parentInfo, s.templateInfo = u, s.noted = !0, a = !1);
|
|
10653
|
+
let d = u.hostProps;
|
|
10654
|
+
if (Sh && c)
|
|
10655
|
+
d && (o.hostProps = Object.assign(o.hostProps || {}, d), ro || (s.parentInfo.noted = !0));
|
|
10656
10656
|
else {
|
|
10657
10657
|
let f = "{";
|
|
10658
|
-
for (let p in
|
|
10658
|
+
for (let p in d) {
|
|
10659
10659
|
let x = [{ mode: f, source: p, dependencies: [p], hostProp: !0 }];
|
|
10660
10660
|
Xi(this, o, s, "property", "_host_" + p, x);
|
|
10661
10661
|
}
|
|
@@ -10711,9 +10711,9 @@ const on = ee((t) => {
|
|
|
10711
10711
|
let s = [], a = 0, l;
|
|
10712
10712
|
for (; (l = go.exec(n)) !== null; ) {
|
|
10713
10713
|
l.index > a && s.push({ literal: n.slice(a, l.index) });
|
|
10714
|
-
let u = l[1][0], c = !!l[2],
|
|
10715
|
-
u == "{" && (p =
|
|
10716
|
-
let x = Ki(
|
|
10714
|
+
let u = l[1][0], c = !!l[2], h = l[3].trim(), d = !1, f = "", p = -1;
|
|
10715
|
+
u == "{" && (p = h.indexOf("::")) > 0 && (f = h.substring(p + 2), h = h.substring(0, p), d = !0);
|
|
10716
|
+
let x = Ki(h), T = [];
|
|
10717
10717
|
if (x) {
|
|
10718
10718
|
let { args: O, methodName: D } = x;
|
|
10719
10719
|
for (let U = 0; U < O.length; U++) {
|
|
@@ -10723,12 +10723,12 @@ const on = ee((t) => {
|
|
|
10723
10723
|
let N = o.dynamicFns;
|
|
10724
10724
|
(N && N[D] || x.static) && (T.push(D), x.dynamicFn = !0);
|
|
10725
10725
|
} else
|
|
10726
|
-
T.push(
|
|
10726
|
+
T.push(h);
|
|
10727
10727
|
s.push({
|
|
10728
|
-
source:
|
|
10728
|
+
source: h,
|
|
10729
10729
|
mode: u,
|
|
10730
10730
|
negate: c,
|
|
10731
|
-
customEvent:
|
|
10731
|
+
customEvent: d,
|
|
10732
10732
|
signature: x,
|
|
10733
10733
|
dependencies: T,
|
|
10734
10734
|
event: f
|
|
@@ -10782,7 +10782,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
10782
10782
|
Code distributed by Google as part of the polymer project is also
|
|
10783
10783
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10784
10784
|
*/
|
|
10785
|
-
function
|
|
10785
|
+
function Nd(t) {
|
|
10786
10786
|
const i = {};
|
|
10787
10787
|
for (let e in t) {
|
|
10788
10788
|
const r = t[e];
|
|
@@ -10790,7 +10790,7 @@ function Nh(t) {
|
|
|
10790
10790
|
}
|
|
10791
10791
|
return i;
|
|
10792
10792
|
}
|
|
10793
|
-
const
|
|
10793
|
+
const Hd = ee((t) => {
|
|
10794
10794
|
const i = ra(t);
|
|
10795
10795
|
function e(o) {
|
|
10796
10796
|
const s = Object.getPrototypeOf(o);
|
|
@@ -10804,7 +10804,7 @@ const Hh = ee((t) => {
|
|
|
10804
10804
|
let s = null;
|
|
10805
10805
|
if (o.hasOwnProperty(JSCompiler_renameProperty("properties", o))) {
|
|
10806
10806
|
const a = o.properties;
|
|
10807
|
-
a && (s =
|
|
10807
|
+
a && (s = Nd(a));
|
|
10808
10808
|
}
|
|
10809
10809
|
o.__ownProperties = s;
|
|
10810
10810
|
}
|
|
@@ -10941,8 +10941,8 @@ const Hh = ee((t) => {
|
|
|
10941
10941
|
* Google as part of the polymer project is also subject to an additional IP
|
|
10942
10942
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10943
10943
|
*/
|
|
10944
|
-
const
|
|
10945
|
-
const i =
|
|
10944
|
+
const Ld = "3.5.2", yo = window.ShadyCSS && window.ShadyCSS.cssBuild, $d = ee((t) => {
|
|
10945
|
+
const i = Hd(on(t));
|
|
10946
10946
|
function e(l) {
|
|
10947
10947
|
if (!l.hasOwnProperty(
|
|
10948
10948
|
JSCompiler_renameProperty("__propertyDefaults", l)
|
|
@@ -10950,8 +10950,8 @@ const Lh = "3.5.2", vo = window.ShadyCSS && window.ShadyCSS.cssBuild, $h = ee((t
|
|
|
10950
10950
|
l.__propertyDefaults = null;
|
|
10951
10951
|
let u = l._properties;
|
|
10952
10952
|
for (let c in u) {
|
|
10953
|
-
let
|
|
10954
|
-
"value" in
|
|
10953
|
+
let h = u[c];
|
|
10954
|
+
"value" in h && (l.__propertyDefaults = l.__propertyDefaults || {}, l.__propertyDefaults[c] = h);
|
|
10955
10955
|
}
|
|
10956
10956
|
}
|
|
10957
10957
|
return l.__propertyDefaults;
|
|
@@ -10966,27 +10966,27 @@ const Lh = "3.5.2", vo = window.ShadyCSS && window.ShadyCSS.cssBuild, $h = ee((t
|
|
|
10966
10966
|
l.observers
|
|
10967
10967
|
) : null), l.__ownObservers;
|
|
10968
10968
|
}
|
|
10969
|
-
function n(l, u, c,
|
|
10970
|
-
c.computed && (c.readOnly = !0), c.computed && (l._hasReadOnlyEffect(u) ? console.warn(`Cannot redefine computed property '${u}'.`) : l._createComputedProperty(u, c.computed,
|
|
10969
|
+
function n(l, u, c, h) {
|
|
10970
|
+
c.computed && (c.readOnly = !0), c.computed && (l._hasReadOnlyEffect(u) ? console.warn(`Cannot redefine computed property '${u}'.`) : l._createComputedProperty(u, c.computed, h)), c.readOnly && !l._hasReadOnlyEffect(u) ? l._createReadOnlyProperty(u, !c.computed) : c.readOnly === !1 && l._hasReadOnlyEffect(u) && console.warn(`Cannot make readOnly property '${u}' non-readOnly.`), c.reflectToAttribute && !l._hasReflectEffect(u) ? l._createReflectedProperty(u) : c.reflectToAttribute === !1 && l._hasReflectEffect(u) && console.warn(`Cannot make reflected property '${u}' non-reflected.`), c.notify && !l._hasNotifyEffect(u) ? l._createNotifyingProperty(u) : c.notify === !1 && l._hasNotifyEffect(u) && console.warn(`Cannot make notify property '${u}' non-notify.`), c.observer && l._createPropertyObserver(u, c.observer, h[c.observer]), l._addPropertyToAttributeMap(u);
|
|
10971
10971
|
}
|
|
10972
|
-
function o(l, u, c,
|
|
10973
|
-
if (!
|
|
10974
|
-
const
|
|
10972
|
+
function o(l, u, c, h) {
|
|
10973
|
+
if (!yo) {
|
|
10974
|
+
const d = u.content.querySelectorAll("style"), f = Xs(u), p = Mh(c), x = u.content.firstElementChild;
|
|
10975
10975
|
for (let O = 0; O < p.length; O++) {
|
|
10976
10976
|
let D = p[O];
|
|
10977
|
-
D.textContent = l._processStyleText(D.textContent,
|
|
10977
|
+
D.textContent = l._processStyleText(D.textContent, h), u.content.insertBefore(D, x);
|
|
10978
10978
|
}
|
|
10979
10979
|
let T = 0;
|
|
10980
10980
|
for (let O = 0; O < f.length; O++) {
|
|
10981
|
-
let D = f[O], N =
|
|
10982
|
-
N !== D ? (D = D.cloneNode(!0), N.parentNode.insertBefore(D, N)) : T++, D.textContent = l._processStyleText(D.textContent,
|
|
10981
|
+
let D = f[O], N = d[T];
|
|
10982
|
+
N !== D ? (D = D.cloneNode(!0), N.parentNode.insertBefore(D, N)) : T++, D.textContent = l._processStyleText(D.textContent, h);
|
|
10983
10983
|
}
|
|
10984
10984
|
}
|
|
10985
|
-
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(u, c),
|
|
10986
|
-
const
|
|
10987
|
-
if (
|
|
10985
|
+
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(u, c), Ah && yo && vh) {
|
|
10986
|
+
const d = u.content.querySelectorAll("style");
|
|
10987
|
+
if (d) {
|
|
10988
10988
|
let f = "";
|
|
10989
|
-
Array.from(
|
|
10989
|
+
Array.from(d).forEach((p) => {
|
|
10990
10990
|
f += p.textContent, p.parentNode.removeChild(p);
|
|
10991
10991
|
}), l._styleSheet = new CSSStyleSheet(), l._styleSheet.replaceSync(f);
|
|
10992
10992
|
}
|
|
@@ -10994,8 +10994,8 @@ const Lh = "3.5.2", vo = window.ShadyCSS && window.ShadyCSS.cssBuild, $h = ee((t
|
|
|
10994
10994
|
}
|
|
10995
10995
|
function s(l) {
|
|
10996
10996
|
let u = null;
|
|
10997
|
-
if (l && (!
|
|
10998
|
-
Vt.import(l, "template"),
|
|
10997
|
+
if (l && (!vi || xh) && (u = /** @type {?HTMLTemplateElement} */
|
|
10998
|
+
Vt.import(l, "template"), vi && !u))
|
|
10999
10999
|
throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
11000
11000
|
return u;
|
|
11001
11001
|
}
|
|
@@ -11006,7 +11006,7 @@ const Lh = "3.5.2", vo = window.ShadyCSS && window.ShadyCSS.cssBuild, $h = ee((t
|
|
|
11006
11006
|
* @nocollapse
|
|
11007
11007
|
*/
|
|
11008
11008
|
static get polymerElementVersion() {
|
|
11009
|
-
return
|
|
11009
|
+
return Ld;
|
|
11010
11010
|
}
|
|
11011
11011
|
/**
|
|
11012
11012
|
* Override of PropertiesMixin _finalizeClass to create observers and
|
|
@@ -11060,9 +11060,9 @@ const Lh = "3.5.2", vo = window.ShadyCSS && window.ShadyCSS.cssBuild, $h = ee((t
|
|
|
11060
11060
|
* @nocollapse
|
|
11061
11061
|
*/
|
|
11062
11062
|
static createObservers(u, c) {
|
|
11063
|
-
const
|
|
11064
|
-
for (let
|
|
11065
|
-
|
|
11063
|
+
const h = this.prototype;
|
|
11064
|
+
for (let d = 0; d < u.length; d++)
|
|
11065
|
+
h._createMethodObserver(u[d], c);
|
|
11066
11066
|
}
|
|
11067
11067
|
/**
|
|
11068
11068
|
* Returns the template that will be stamped into this element's shadow root.
|
|
@@ -11197,14 +11197,14 @@ const Lh = "3.5.2", vo = window.ShadyCSS && window.ShadyCSS.cssBuild, $h = ee((t
|
|
|
11197
11197
|
this.constructor.finalize(), this.constructor._finalizeTemplate(
|
|
11198
11198
|
/** @type {!HTMLElement} */
|
|
11199
11199
|
this.localName
|
|
11200
|
-
), super._initializeProperties(), this.rootPath =
|
|
11200
|
+
), super._initializeProperties(), this.rootPath = yh, this.importPath = this.constructor.importPath;
|
|
11201
11201
|
let u = e(this.constructor);
|
|
11202
11202
|
if (u)
|
|
11203
11203
|
for (let c in u) {
|
|
11204
|
-
let
|
|
11204
|
+
let h = u[c];
|
|
11205
11205
|
if (this._canApplyPropertyDefault(c)) {
|
|
11206
|
-
let
|
|
11207
|
-
this._hasAccessor(c) ? this._setPendingProperty(c,
|
|
11206
|
+
let d = typeof h.value == "function" ? h.value.call(this) : h.value;
|
|
11207
|
+
this._hasAccessor(c) ? this._setPendingProperty(c, d, !0) : this[c] = d;
|
|
11208
11208
|
}
|
|
11209
11209
|
}
|
|
11210
11210
|
}
|
|
@@ -11245,8 +11245,8 @@ const Lh = "3.5.2", vo = window.ShadyCSS && window.ShadyCSS.cssBuild, $h = ee((t
|
|
|
11245
11245
|
const c = this.prototype._template;
|
|
11246
11246
|
if (c && !c.__polymerFinalized) {
|
|
11247
11247
|
c.__polymerFinalized = !0;
|
|
11248
|
-
const
|
|
11249
|
-
o(this, c, u,
|
|
11248
|
+
const h = this.importPath, d = h ? $t(h) : "";
|
|
11249
|
+
o(this, c, u, d), this.prototype._bindTemplate(c);
|
|
11250
11250
|
}
|
|
11251
11251
|
}
|
|
11252
11252
|
/**
|
|
@@ -11308,7 +11308,7 @@ const Lh = "3.5.2", vo = window.ShadyCSS && window.ShadyCSS.cssBuild, $h = ee((t
|
|
|
11308
11308
|
_attachDom(u) {
|
|
11309
11309
|
const c = ne(this);
|
|
11310
11310
|
if (c.attachShadow)
|
|
11311
|
-
return u ? (c.shadowRoot || (c.attachShadow({ mode: "open", shadyUpgradeFragment: u }), c.shadowRoot.appendChild(u), this.constructor._styleSheet && (c.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])),
|
|
11311
|
+
return u ? (c.shadowRoot || (c.attachShadow({ mode: "open", shadyUpgradeFragment: u }), c.shadowRoot.appendChild(u), this.constructor._styleSheet && (c.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), wh && window.ShadyDOM && window.ShadyDOM.flushInitial(c.shadowRoot), c.shadowRoot) : null;
|
|
11312
11312
|
throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.");
|
|
11313
11313
|
}
|
|
11314
11314
|
/**
|
|
@@ -11372,12 +11372,12 @@ const Lh = "3.5.2", vo = window.ShadyCSS && window.ShadyCSS.cssBuild, $h = ee((t
|
|
|
11372
11372
|
* @suppress {missingProperties} Interfaces in closure do not inherit statics, but classes do
|
|
11373
11373
|
* @nocollapse
|
|
11374
11374
|
*/
|
|
11375
|
-
static _parseTemplateContent(u, c,
|
|
11375
|
+
static _parseTemplateContent(u, c, h) {
|
|
11376
11376
|
return c.dynamicFns = c.dynamicFns || this._properties, i._parseTemplateContent.call(
|
|
11377
11377
|
this,
|
|
11378
11378
|
u,
|
|
11379
11379
|
c,
|
|
11380
|
-
|
|
11380
|
+
h
|
|
11381
11381
|
);
|
|
11382
11382
|
}
|
|
11383
11383
|
/**
|
|
@@ -11392,18 +11392,18 @@ const Lh = "3.5.2", vo = window.ShadyCSS && window.ShadyCSS.cssBuild, $h = ee((t
|
|
|
11392
11392
|
* @suppress {missingProperties} Interfaces in closure do not inherit statics, but classes do
|
|
11393
11393
|
* @nocollapse
|
|
11394
11394
|
*/
|
|
11395
|
-
static _addTemplatePropertyEffect(u, c,
|
|
11395
|
+
static _addTemplatePropertyEffect(u, c, h) {
|
|
11396
11396
|
return Gs && !(c in this._properties) && // Methods used in templates with no dependencies (or only literal
|
|
11397
11397
|
// dependencies) become accessors with template effects; ignore these
|
|
11398
|
-
!(
|
|
11398
|
+
!(h.info.part.signature && h.info.part.signature.static) && // Warnings for bindings added to nested templates are handled by
|
|
11399
11399
|
// templatizer so ignore both the host-to-template bindings
|
|
11400
11400
|
// (`hostProp`) and TemplateInstance-to-child bindings
|
|
11401
11401
|
// (`nestedTemplate`)
|
|
11402
|
-
!
|
|
11402
|
+
!h.info.part.hostProp && !u.nestedTemplate && console.warn(`Property '${c}' used in template but not declared in 'properties'; attribute will not be observed.`), i._addTemplatePropertyEffect.call(
|
|
11403
11403
|
this,
|
|
11404
11404
|
u,
|
|
11405
11405
|
c,
|
|
11406
|
-
|
|
11406
|
+
h
|
|
11407
11407
|
);
|
|
11408
11408
|
}
|
|
11409
11409
|
}
|
|
@@ -11419,7 +11419,7 @@ Code distributed by Google as part of the polymer project is also
|
|
|
11419
11419
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11420
11420
|
*/
|
|
11421
11421
|
const xo = window.trustedTypes && trustedTypes.createPolicy("polymer-html-literal", { createHTML: (t) => t });
|
|
11422
|
-
class
|
|
11422
|
+
class da {
|
|
11423
11423
|
/**
|
|
11424
11424
|
* @param {!ITemplateArray} strings Constant parts of tagged template literal
|
|
11425
11425
|
* @param {!Array<*>} values Variable parts of tagged template literal
|
|
@@ -11441,7 +11441,7 @@ class ha {
|
|
|
11441
11441
|
}
|
|
11442
11442
|
}
|
|
11443
11443
|
function fa(t) {
|
|
11444
|
-
if (t instanceof
|
|
11444
|
+
if (t instanceof da)
|
|
11445
11445
|
return (
|
|
11446
11446
|
/** @type {!LiteralString} */
|
|
11447
11447
|
t.value
|
|
@@ -11450,13 +11450,13 @@ function fa(t) {
|
|
|
11450
11450
|
`non-literal value passed to Polymer's htmlLiteral function: ${t}`
|
|
11451
11451
|
);
|
|
11452
11452
|
}
|
|
11453
|
-
function
|
|
11453
|
+
function Bd(t) {
|
|
11454
11454
|
if (t instanceof HTMLTemplateElement)
|
|
11455
11455
|
return (
|
|
11456
11456
|
/** @type {!HTMLTemplateElement } */
|
|
11457
11457
|
t.innerHTML
|
|
11458
11458
|
);
|
|
11459
|
-
if (t instanceof
|
|
11459
|
+
if (t instanceof da)
|
|
11460
11460
|
return fa(t);
|
|
11461
11461
|
throw new Error(
|
|
11462
11462
|
`non-template value passed to Polymer's html function: ${t}`
|
|
@@ -11469,7 +11469,7 @@ const Je = function(i, ...e) {
|
|
|
11469
11469
|
document.createElement("template")
|
|
11470
11470
|
);
|
|
11471
11471
|
let n = e.reduce(
|
|
11472
|
-
(o, s, a) => o +
|
|
11472
|
+
(o, s, a) => o + Bd(s) + i[a + 1],
|
|
11473
11473
|
i[0]
|
|
11474
11474
|
);
|
|
11475
11475
|
return xo && (n = xo.createHTML(n)), r.innerHTML = n, r;
|
|
@@ -11486,7 +11486,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11486
11486
|
Code distributed by Google as part of the polymer project is also
|
|
11487
11487
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11488
11488
|
*/
|
|
11489
|
-
const Fe = $
|
|
11489
|
+
const Fe = $d(HTMLElement);
|
|
11490
11490
|
/**
|
|
11491
11491
|
* @license
|
|
11492
11492
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
@@ -11499,14 +11499,14 @@ function kr(t, i, e = t.getAttribute("dir")) {
|
|
|
11499
11499
|
function Or() {
|
|
11500
11500
|
return document.documentElement.getAttribute("dir");
|
|
11501
11501
|
}
|
|
11502
|
-
function
|
|
11502
|
+
function Fd() {
|
|
11503
11503
|
const t = Or();
|
|
11504
11504
|
De.forEach((i) => {
|
|
11505
11505
|
kr(i, t);
|
|
11506
11506
|
});
|
|
11507
11507
|
}
|
|
11508
|
-
const
|
|
11509
|
-
|
|
11508
|
+
const Rd = new MutationObserver(Fd);
|
|
11509
|
+
Rd.observe(document.documentElement, { attributes: !0, attributeFilter: ["dir"] });
|
|
11510
11510
|
const Oi = (t) => class extends t {
|
|
11511
11511
|
static get properties() {
|
|
11512
11512
|
return {
|
|
@@ -11568,7 +11568,7 @@ const Oi = (t) => class extends t {
|
|
|
11568
11568
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
11569
11569
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11570
11570
|
*/
|
|
11571
|
-
const
|
|
11571
|
+
const zd = (t) => class extends t {
|
|
11572
11572
|
static get properties() {
|
|
11573
11573
|
return {
|
|
11574
11574
|
/**
|
|
@@ -11608,7 +11608,7 @@ const zh = (t) => class extends t {
|
|
|
11608
11608
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
11609
11609
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11610
11610
|
*/
|
|
11611
|
-
const
|
|
11611
|
+
const Ud = $`
|
|
11612
11612
|
:host {
|
|
11613
11613
|
display: flex;
|
|
11614
11614
|
align-items: center;
|
|
@@ -11679,8 +11679,8 @@ const Uh = $`
|
|
|
11679
11679
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
11680
11680
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11681
11681
|
*/
|
|
11682
|
-
J("vaadin-input-container",
|
|
11683
|
-
class
|
|
11682
|
+
J("vaadin-input-container", Ud, { moduleId: "vaadin-input-container-styles" });
|
|
11683
|
+
class jd extends zd(Xe(Oi(Fe))) {
|
|
11684
11684
|
static get is() {
|
|
11685
11685
|
return "vaadin-input-container";
|
|
11686
11686
|
}
|
|
@@ -11692,13 +11692,13 @@ class jh extends zh(Xe(Oi(Fe))) {
|
|
|
11692
11692
|
`;
|
|
11693
11693
|
}
|
|
11694
11694
|
}
|
|
11695
|
-
Te(
|
|
11695
|
+
Te(jd);
|
|
11696
11696
|
/**
|
|
11697
11697
|
* @license
|
|
11698
11698
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
11699
11699
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11700
11700
|
*/
|
|
11701
|
-
const
|
|
11701
|
+
const Vd = $`
|
|
11702
11702
|
:host {
|
|
11703
11703
|
z-index: 200;
|
|
11704
11704
|
position: fixed;
|
|
@@ -11787,21 +11787,21 @@ function Mr() {
|
|
|
11787
11787
|
function an() {
|
|
11788
11788
|
return sn;
|
|
11789
11789
|
}
|
|
11790
|
-
function
|
|
11790
|
+
function Yd(t) {
|
|
11791
11791
|
const i = t.style;
|
|
11792
11792
|
if (i.visibility === "hidden" || i.display === "none")
|
|
11793
11793
|
return !0;
|
|
11794
11794
|
const e = window.getComputedStyle(t);
|
|
11795
11795
|
return e.visibility === "hidden" || e.display === "none";
|
|
11796
11796
|
}
|
|
11797
|
-
function
|
|
11797
|
+
function Gd(t, i) {
|
|
11798
11798
|
const e = Math.max(t.tabIndex, 0), r = Math.max(i.tabIndex, 0);
|
|
11799
11799
|
return e === 0 || r === 0 ? r > e : e > r;
|
|
11800
11800
|
}
|
|
11801
|
-
function
|
|
11801
|
+
function Wd(t, i) {
|
|
11802
11802
|
const e = [];
|
|
11803
11803
|
for (; t.length > 0 && i.length > 0; )
|
|
11804
|
-
|
|
11804
|
+
Gd(t[0], i[0]) ? e.push(i.shift()) : e.push(t.shift());
|
|
11805
11805
|
return e.concat(t, i);
|
|
11806
11806
|
}
|
|
11807
11807
|
function Ir(t) {
|
|
@@ -11809,27 +11809,27 @@ function Ir(t) {
|
|
|
11809
11809
|
if (i < 2)
|
|
11810
11810
|
return t;
|
|
11811
11811
|
const e = Math.ceil(i / 2), r = Ir(t.slice(0, e)), n = Ir(t.slice(e));
|
|
11812
|
-
return
|
|
11812
|
+
return Wd(r, n);
|
|
11813
11813
|
}
|
|
11814
11814
|
function ma(t) {
|
|
11815
11815
|
return t.matches('[tabindex="-1"]') ? !1 : t.matches("input, select, textarea, button, object") ? t.matches(":not([disabled])") : t.matches("a[href], area[href], iframe, [tabindex], [contentEditable]");
|
|
11816
11816
|
}
|
|
11817
|
-
function
|
|
11817
|
+
function qd(t) {
|
|
11818
11818
|
return t.getRootNode().activeElement === t;
|
|
11819
11819
|
}
|
|
11820
|
-
function
|
|
11820
|
+
function Xd(t) {
|
|
11821
11821
|
if (!ma(t))
|
|
11822
11822
|
return -1;
|
|
11823
11823
|
const i = t.getAttribute("tabindex") || 0;
|
|
11824
11824
|
return Number(i);
|
|
11825
11825
|
}
|
|
11826
11826
|
function _a(t, i) {
|
|
11827
|
-
if (t.nodeType !== Node.ELEMENT_NODE ||
|
|
11827
|
+
if (t.nodeType !== Node.ELEMENT_NODE || Yd(t))
|
|
11828
11828
|
return !1;
|
|
11829
11829
|
const e = (
|
|
11830
11830
|
/** @type {HTMLElement} */
|
|
11831
11831
|
t
|
|
11832
|
-
), r =
|
|
11832
|
+
), r = Xd(e);
|
|
11833
11833
|
let n = r > 0;
|
|
11834
11834
|
r >= 0 && i.push(e);
|
|
11835
11835
|
let o = [];
|
|
@@ -11837,7 +11837,7 @@ function _a(t, i) {
|
|
|
11837
11837
|
n = _a(s, i) || n;
|
|
11838
11838
|
}), n;
|
|
11839
11839
|
}
|
|
11840
|
-
function
|
|
11840
|
+
function Kd(t) {
|
|
11841
11841
|
const i = [];
|
|
11842
11842
|
return _a(t, i) ? Ir(i) : i;
|
|
11843
11843
|
}
|
|
@@ -11850,15 +11850,15 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11850
11850
|
Code distributed by Google as part of the polymer project is also
|
|
11851
11851
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11852
11852
|
*/
|
|
11853
|
-
let Nr = !1,
|
|
11854
|
-
function
|
|
11853
|
+
let Nr = !1, Jd = [], ga = [];
|
|
11854
|
+
function Zd() {
|
|
11855
11855
|
Nr = !0, requestAnimationFrame(function() {
|
|
11856
|
-
Nr = !1,
|
|
11856
|
+
Nr = !1, Qd(Jd), setTimeout(function() {
|
|
11857
11857
|
ef(ga);
|
|
11858
11858
|
});
|
|
11859
11859
|
});
|
|
11860
11860
|
}
|
|
11861
|
-
function
|
|
11861
|
+
function Qd(t) {
|
|
11862
11862
|
for (; t.length; )
|
|
11863
11863
|
ba(t.shift());
|
|
11864
11864
|
}
|
|
@@ -11876,8 +11876,8 @@ function ba(t) {
|
|
|
11876
11876
|
});
|
|
11877
11877
|
}
|
|
11878
11878
|
}
|
|
11879
|
-
function
|
|
11880
|
-
Nr ||
|
|
11879
|
+
function va(t, i, e) {
|
|
11880
|
+
Nr || Zd(), ga.push([t, i, e]);
|
|
11881
11881
|
}
|
|
11882
11882
|
/**
|
|
11883
11883
|
* @license
|
|
@@ -11888,7 +11888,7 @@ const Mi = (t) => t.test(navigator.userAgent), Hr = (t) => t.test(navigator.plat
|
|
|
11888
11888
|
Mi(/Android/u);
|
|
11889
11889
|
Mi(/Chrome/u) && tf(/Google Inc/u);
|
|
11890
11890
|
Mi(/Firefox/u);
|
|
11891
|
-
const rf = Hr(/^iPad/u) || Hr(/^Mac/u) && navigator.maxTouchPoints > 1, nf = Hr(/^iPhone/u),
|
|
11891
|
+
const rf = Hr(/^iPad/u) || Hr(/^Mac/u) && navigator.maxTouchPoints > 1, nf = Hr(/^iPhone/u), ya = nf || rf;
|
|
11892
11892
|
Mi(/^((?!chrome|android).)*safari/iu);
|
|
11893
11893
|
const of = (() => {
|
|
11894
11894
|
try {
|
|
@@ -11918,19 +11918,19 @@ const wo = (t) => t && t.nodeType === Node.ELEMENT_NODE, Zi = (...t) => {
|
|
|
11918
11918
|
}).filter((e) => !!e) : (Zi(t, "is not a valid element"), []), af = (t, i, e, r) => {
|
|
11919
11919
|
const n = sf(i, Array.isArray(t) ? t : [t]);
|
|
11920
11920
|
ni[e] || (ni[e] = /* @__PURE__ */ new WeakMap());
|
|
11921
|
-
const o = ni[e], s = [], a = /* @__PURE__ */ new Set(), l = new Set(n), u = (
|
|
11922
|
-
if (!
|
|
11921
|
+
const o = ni[e], s = [], a = /* @__PURE__ */ new Set(), l = new Set(n), u = (h) => {
|
|
11922
|
+
if (!h || a.has(h))
|
|
11923
11923
|
return;
|
|
11924
|
-
a.add(
|
|
11925
|
-
const
|
|
11926
|
-
|
|
11924
|
+
a.add(h);
|
|
11925
|
+
const d = h.assignedSlot;
|
|
11926
|
+
d && u(d), u(h.parentNode || h.host);
|
|
11927
11927
|
};
|
|
11928
11928
|
n.forEach(u);
|
|
11929
|
-
const c = (
|
|
11930
|
-
if (!
|
|
11929
|
+
const c = (h) => {
|
|
11930
|
+
if (!h || l.has(h))
|
|
11931
11931
|
return;
|
|
11932
|
-
const
|
|
11933
|
-
(
|
|
11932
|
+
const d = h.shadowRoot;
|
|
11933
|
+
(d ? [...h.children, ...d.children] : [...h.children]).forEach((p) => {
|
|
11934
11934
|
if (!["template", "script", "style"].includes(p.localName))
|
|
11935
11935
|
if (a.has(p))
|
|
11936
11936
|
c(p);
|
|
@@ -11941,9 +11941,9 @@ const wo = (t) => t && t.nodeType === Node.ELEMENT_NODE, Zi = (...t) => {
|
|
|
11941
11941
|
});
|
|
11942
11942
|
};
|
|
11943
11943
|
return c(i), a.clear(), Ji += 1, () => {
|
|
11944
|
-
s.forEach((
|
|
11945
|
-
const
|
|
11946
|
-
tt.set(
|
|
11944
|
+
s.forEach((h) => {
|
|
11945
|
+
const d = tt.get(h) - 1, f = o.get(h) - 1;
|
|
11946
|
+
tt.set(h, d), o.set(h, f), d || (ri.has(h) ? ri.delete(h) : h.removeAttribute(r)), f || h.removeAttribute(e);
|
|
11947
11947
|
}), Ji -= 1, Ji || (tt = /* @__PURE__ */ new WeakMap(), tt = /* @__PURE__ */ new WeakMap(), ri = /* @__PURE__ */ new WeakMap(), ni = {});
|
|
11948
11948
|
};
|
|
11949
11949
|
}, xa = (t, i = document.body, e = "data-aria-hidden") => {
|
|
@@ -12028,7 +12028,7 @@ class cf {
|
|
|
12028
12028
|
* @private
|
|
12029
12029
|
*/
|
|
12030
12030
|
get __focusableElements() {
|
|
12031
|
-
return
|
|
12031
|
+
return Kd(this.__trapNode);
|
|
12032
12032
|
}
|
|
12033
12033
|
/**
|
|
12034
12034
|
* The index of the element inside the trap node that currently has focus.
|
|
@@ -12038,7 +12038,7 @@ class cf {
|
|
|
12038
12038
|
*/
|
|
12039
12039
|
get __focusedElementIndex() {
|
|
12040
12040
|
const i = this.__focusableElements;
|
|
12041
|
-
return i.indexOf(i.filter(
|
|
12041
|
+
return i.indexOf(i.filter(qd).pop());
|
|
12042
12042
|
}
|
|
12043
12043
|
hostConnected() {
|
|
12044
12044
|
document.addEventListener("keydown", this.__onKeyDown);
|
|
@@ -12151,7 +12151,7 @@ const Et = ee((t) => typeof t.prototype.addController == "function" ? t : class
|
|
|
12151
12151
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
12152
12152
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12153
12153
|
*/
|
|
12154
|
-
const
|
|
12154
|
+
const hf = (t) => class extends Et(t) {
|
|
12155
12155
|
static get properties() {
|
|
12156
12156
|
return {
|
|
12157
12157
|
/**
|
|
@@ -12253,7 +12253,7 @@ const df = (t) => class extends Et(t) {
|
|
|
12253
12253
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
12254
12254
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12255
12255
|
*/
|
|
12256
|
-
const wa = () => Array.from(document.body.children).filter((t) => t instanceof HTMLElement && t._hasOverlayStackMixin && !t.hasAttribute("closing")).sort((t, i) => t.__zIndex - i.__zIndex || 0), Lr = () => wa().filter((t) => t.$.overlay),
|
|
12256
|
+
const wa = () => Array.from(document.body.children).filter((t) => t instanceof HTMLElement && t._hasOverlayStackMixin && !t.hasAttribute("closing")).sort((t, i) => t.__zIndex - i.__zIndex || 0), Lr = () => wa().filter((t) => t.$.overlay), df = (t) => t === Lr().pop(), ff = (t) => class extends t {
|
|
12257
12257
|
constructor() {
|
|
12258
12258
|
super(), this._hasOverlayStackMixin = !0;
|
|
12259
12259
|
}
|
|
@@ -12264,7 +12264,7 @@ const wa = () => Array.from(document.body.children).filter((t) => t instanceof H
|
|
|
12264
12264
|
* @protected
|
|
12265
12265
|
*/
|
|
12266
12266
|
get _last() {
|
|
12267
|
-
return
|
|
12267
|
+
return df(this);
|
|
12268
12268
|
}
|
|
12269
12269
|
/**
|
|
12270
12270
|
* Brings the overlay as visually the frontmost one.
|
|
@@ -12294,7 +12294,7 @@ const wa = () => Array.from(document.body.children).filter((t) => t instanceof H
|
|
|
12294
12294
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
12295
12295
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12296
12296
|
*/
|
|
12297
|
-
const pf = (t) => class extends
|
|
12297
|
+
const pf = (t) => class extends hf(ff(t)) {
|
|
12298
12298
|
static get properties() {
|
|
12299
12299
|
return {
|
|
12300
12300
|
/**
|
|
@@ -12374,7 +12374,7 @@ const pf = (t) => class extends df(ff(t)) {
|
|
|
12374
12374
|
return ["_rendererOrDataChanged(renderer, owner, model, opened)"];
|
|
12375
12375
|
}
|
|
12376
12376
|
constructor() {
|
|
12377
|
-
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),
|
|
12377
|
+
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), ya && (this._boundIosResizeListener = () => this._detectIosNavbar());
|
|
12378
12378
|
}
|
|
12379
12379
|
/** @protected */
|
|
12380
12380
|
ready() {
|
|
@@ -12442,7 +12442,7 @@ const pf = (t) => class extends df(ff(t)) {
|
|
|
12442
12442
|
}
|
|
12443
12443
|
/** @private */
|
|
12444
12444
|
_openedChanged(e, r) {
|
|
12445
|
-
e ? (this._saveFocus(), this._animatedOpening(),
|
|
12445
|
+
e ? (this._saveFocus(), this._animatedOpening(), va(this, () => {
|
|
12446
12446
|
this._trapFocus();
|
|
12447
12447
|
const n = new CustomEvent("vaadin-overlay-open", { bubbles: !0 });
|
|
12448
12448
|
this.dispatchEvent(n);
|
|
@@ -12620,11 +12620,11 @@ function bf(t, i) {
|
|
|
12620
12620
|
}
|
|
12621
12621
|
function o(s = !1, a = 1) {
|
|
12622
12622
|
n();
|
|
12623
|
-
const { left: l, top: u, width: c, height:
|
|
12624
|
-
if (s || i(), !c || !
|
|
12623
|
+
const { left: l, top: u, width: c, height: h } = t.getBoundingClientRect();
|
|
12624
|
+
if (s || i(), !c || !h)
|
|
12625
12625
|
return;
|
|
12626
|
-
const
|
|
12627
|
-
rootMargin: `${-
|
|
12626
|
+
const d = Math.floor(u), f = Math.floor(r.clientWidth - (l + c)), p = Math.floor(r.clientHeight - (u + h)), x = Math.floor(l), O = {
|
|
12627
|
+
rootMargin: `${-d}px ${-f}px ${-p}px ${-x}px`,
|
|
12628
12628
|
threshold: Math.max(0, Math.min(1, a)) || 1
|
|
12629
12629
|
};
|
|
12630
12630
|
let D = !0;
|
|
@@ -12658,7 +12658,7 @@ const er = {
|
|
|
12658
12658
|
i.target.__overlay && i.target.__overlay._updatePosition();
|
|
12659
12659
|
});
|
|
12660
12660
|
});
|
|
12661
|
-
}),
|
|
12661
|
+
}), vf = (t) => class extends t {
|
|
12662
12662
|
static get properties() {
|
|
12663
12663
|
return {
|
|
12664
12664
|
/**
|
|
@@ -12844,7 +12844,7 @@ const er = {
|
|
|
12844
12844
|
}
|
|
12845
12845
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
12846
12846
|
__shouldAlignStart(e, r, n, o, s, a, l) {
|
|
12847
|
-
const u = n - e[a ? l.end : l.start] - o[l.end], c = e[a ? l.start : l.end] - o[l.start],
|
|
12847
|
+
const u = n - e[a ? l.end : l.start] - o[l.end], c = e[a ? l.start : l.end] - o[l.start], h = s ? u : c, f = h > (s ? c : u) || h > r;
|
|
12848
12848
|
return s === f;
|
|
12849
12849
|
}
|
|
12850
12850
|
/**
|
|
@@ -12881,7 +12881,7 @@ const er = {
|
|
|
12881
12881
|
*/
|
|
12882
12882
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
12883
12883
|
__calculatePositionInOneDimension(e, r, n, o, s, a) {
|
|
12884
|
-
const l = a ? o.start : o.end, u = a ? o.end : o.start, c = parseFloat(s.style[l] || getComputedStyle(s)[l]),
|
|
12884
|
+
const l = a ? o.start : o.end, u = a ? o.end : o.start, c = parseFloat(s.style[l] || getComputedStyle(s)[l]), h = this.__adjustBottomProperty(l, o, c), d = r[a ? o.start : o.end] - e[n === a ? o.end : o.start], f = h ? `${h}px` : `${c + d * (a ? -1 : 1)}px`;
|
|
12885
12885
|
return {
|
|
12886
12886
|
[l]: f,
|
|
12887
12887
|
[u]: ""
|
|
@@ -12893,7 +12893,7 @@ const er = {
|
|
|
12893
12893
|
* Copyright (c) 2015 - 2024 Vaadin Ltd.
|
|
12894
12894
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12895
12895
|
*/
|
|
12896
|
-
const
|
|
12896
|
+
const yf = (t) => class extends vf(pf(t)) {
|
|
12897
12897
|
/**
|
|
12898
12898
|
* Override method inherited from `OverlayMixin` to not close on input click.
|
|
12899
12899
|
* Needed to ignore date-picker's own input in the mousedown listener below.
|
|
@@ -12939,10 +12939,10 @@ const xf = $`
|
|
|
12939
12939
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12940
12940
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12941
12941
|
*/
|
|
12942
|
-
J("vaadin-date-picker-overlay", [
|
|
12942
|
+
J("vaadin-date-picker-overlay", [Vd, xf], {
|
|
12943
12943
|
moduleId: "vaadin-date-picker-overlay-styles"
|
|
12944
12944
|
});
|
|
12945
|
-
class wf extends
|
|
12945
|
+
class wf extends yf(Oi(Xe(Fe))) {
|
|
12946
12946
|
static get is() {
|
|
12947
12947
|
return "vaadin-date-picker-overlay";
|
|
12948
12948
|
}
|
|
@@ -12958,7 +12958,7 @@ class wf extends vf(Oi(Xe(Fe))) {
|
|
|
12958
12958
|
}
|
|
12959
12959
|
}
|
|
12960
12960
|
Te(wf);
|
|
12961
|
-
const Ef = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i,
|
|
12961
|
+
const Ef = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i, hi = window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients;
|
|
12962
12962
|
function Sf() {
|
|
12963
12963
|
function t() {
|
|
12964
12964
|
return !0;
|
|
@@ -12967,7 +12967,7 @@ function Sf() {
|
|
|
12967
12967
|
}
|
|
12968
12968
|
function Af() {
|
|
12969
12969
|
try {
|
|
12970
|
-
return Cf() ? !0 : Tf() ?
|
|
12970
|
+
return Cf() ? !0 : Tf() ? hi ? !Pf() : !Sf() : !1;
|
|
12971
12971
|
} catch (t) {
|
|
12972
12972
|
return !1;
|
|
12973
12973
|
}
|
|
@@ -12979,7 +12979,7 @@ function Tf() {
|
|
|
12979
12979
|
return ["localhost", "127.0.0.1"].indexOf(window.location.hostname) >= 0;
|
|
12980
12980
|
}
|
|
12981
12981
|
function Pf() {
|
|
12982
|
-
return !!(
|
|
12982
|
+
return !!(hi && Object.keys(hi).map((i) => hi[i]).filter((i) => i.productionMode).length > 0);
|
|
12983
12983
|
}
|
|
12984
12984
|
function Sa(t, i) {
|
|
12985
12985
|
if (typeof t != "function")
|
|
@@ -14270,7 +14270,7 @@ function ep(t, i, e) {
|
|
|
14270
14270
|
l = n[a], !(Wf && un(l) && l !== "click") && (u = s[l], u || (s[l] = u = { _count: 0 }), u._count === 0 && t.addEventListener(l, Zf, Gf(l)), u[o] = (u[o] || 0) + 1, u._count = (u._count || 0) + 1);
|
|
14271
14271
|
t.addEventListener(i, e), r.touchAction && Ma(t, r.touchAction);
|
|
14272
14272
|
}
|
|
14273
|
-
function
|
|
14273
|
+
function hn(t) {
|
|
14274
14274
|
Ye.push(t), t.emits.forEach((i) => {
|
|
14275
14275
|
cn[i] = t;
|
|
14276
14276
|
});
|
|
@@ -14289,7 +14289,7 @@ function Ma(t, i) {
|
|
|
14289
14289
|
t.style.touchAction = i;
|
|
14290
14290
|
}), t[zr] = i;
|
|
14291
14291
|
}
|
|
14292
|
-
function
|
|
14292
|
+
function dn(t, i, e) {
|
|
14293
14293
|
const r = new Event(i, { bubbles: !0, cancelable: !0, composed: !0 });
|
|
14294
14294
|
if (r.detail = e, Rf(
|
|
14295
14295
|
/** @type {!Node} */
|
|
@@ -14303,7 +14303,7 @@ function wi(t) {
|
|
|
14303
14303
|
const i = tp(t);
|
|
14304
14304
|
i.info && (i.info.prevent = !0);
|
|
14305
14305
|
}
|
|
14306
|
-
|
|
14306
|
+
hn({
|
|
14307
14307
|
name: "downup",
|
|
14308
14308
|
deps: ["mousedown", "touchstart", "touchend"],
|
|
14309
14309
|
flow: {
|
|
@@ -14355,7 +14355,7 @@ dn({
|
|
|
14355
14355
|
}
|
|
14356
14356
|
});
|
|
14357
14357
|
function kt(t, i, e, r) {
|
|
14358
|
-
i &&
|
|
14358
|
+
i && dn(i, t, {
|
|
14359
14359
|
x: e.clientX,
|
|
14360
14360
|
y: e.clientY,
|
|
14361
14361
|
sourceEvent: e,
|
|
@@ -14365,7 +14365,7 @@ function kt(t, i, e, r) {
|
|
|
14365
14365
|
}
|
|
14366
14366
|
});
|
|
14367
14367
|
}
|
|
14368
|
-
|
|
14368
|
+
hn({
|
|
14369
14369
|
name: "track",
|
|
14370
14370
|
touchAction: "none",
|
|
14371
14371
|
deps: ["mousedown", "touchstart", "touchmove", "touchend"],
|
|
@@ -14452,7 +14452,7 @@ function nr(t, i, e) {
|
|
|
14452
14452
|
return;
|
|
14453
14453
|
const r = t.moves[t.moves.length - 2], n = t.moves[t.moves.length - 1], o = n.x - t.x, s = n.y - t.y;
|
|
14454
14454
|
let a, l = 0;
|
|
14455
|
-
r && (a = n.x - r.x, l = n.y - r.y),
|
|
14455
|
+
r && (a = n.x - r.x, l = n.y - r.y), dn(i, "track", {
|
|
14456
14456
|
state: t.state,
|
|
14457
14457
|
x: e.clientX,
|
|
14458
14458
|
y: e.clientY,
|
|
@@ -14466,7 +14466,7 @@ function nr(t, i, e) {
|
|
|
14466
14466
|
}
|
|
14467
14467
|
});
|
|
14468
14468
|
}
|
|
14469
|
-
|
|
14469
|
+
hn({
|
|
14470
14470
|
name: "tap",
|
|
14471
14471
|
deps: ["mousedown", "click", "touchstart", "touchend"],
|
|
14472
14472
|
flow: {
|
|
@@ -14525,7 +14525,7 @@ function ko(t, i, e) {
|
|
|
14525
14525
|
!o || qf[
|
|
14526
14526
|
/** @type {!HTMLElement} */
|
|
14527
14527
|
o.localName
|
|
14528
|
-
] && o.hasAttribute("disabled") || (isNaN(r) || isNaN(n) || r <= To && n <= To || Xf(i)) && (t.prevent ||
|
|
14528
|
+
] && o.hasAttribute("disabled") || (isNaN(r) || isNaN(n) || r <= To && n <= To || Xf(i)) && (t.prevent || dn(o, "tap", {
|
|
14529
14529
|
x: i.clientX,
|
|
14530
14530
|
y: i.clientY,
|
|
14531
14531
|
sourceEvent: i,
|
|
@@ -14902,7 +14902,7 @@ function Ur(t) {
|
|
|
14902
14902
|
const i = new Date(t);
|
|
14903
14903
|
return i.setHours(0, 0, 0, 0), i;
|
|
14904
14904
|
}
|
|
14905
|
-
function
|
|
14905
|
+
function ye(t, i, e = Ur) {
|
|
14906
14906
|
return t instanceof Date && i instanceof Date && e(t).getTime() === e(i).getTime();
|
|
14907
14907
|
}
|
|
14908
14908
|
function pn(t) {
|
|
@@ -15327,7 +15327,7 @@ Fa.innerHTML = `
|
|
|
15327
15327
|
}
|
|
15328
15328
|
</style>
|
|
15329
15329
|
`;
|
|
15330
|
-
class
|
|
15330
|
+
class hp extends Ba {
|
|
15331
15331
|
static get is() {
|
|
15332
15332
|
return "vaadin-date-picker-month-scroller";
|
|
15333
15333
|
}
|
|
@@ -15351,7 +15351,7 @@ class dp extends Ba {
|
|
|
15351
15351
|
i.month = La(e);
|
|
15352
15352
|
}
|
|
15353
15353
|
}
|
|
15354
|
-
Te(
|
|
15354
|
+
Te(hp);
|
|
15355
15355
|
/**
|
|
15356
15356
|
* @license
|
|
15357
15357
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
@@ -15393,7 +15393,7 @@ Ra.innerHTML = `
|
|
|
15393
15393
|
}
|
|
15394
15394
|
</style>
|
|
15395
15395
|
`;
|
|
15396
|
-
class
|
|
15396
|
+
class dp extends Ba {
|
|
15397
15397
|
static get is() {
|
|
15398
15398
|
return "vaadin-date-picker-year-scroller";
|
|
15399
15399
|
}
|
|
@@ -15422,7 +15422,7 @@ class hp extends Ba {
|
|
|
15422
15422
|
return r.setFullYear(parseInt(i) + e.getFullYear()), r.getFullYear();
|
|
15423
15423
|
}
|
|
15424
15424
|
}
|
|
15425
|
-
Te(
|
|
15425
|
+
Te(dp);
|
|
15426
15426
|
/**
|
|
15427
15427
|
* @license
|
|
15428
15428
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
@@ -15574,7 +15574,7 @@ function gp(t, i) {
|
|
|
15574
15574
|
}
|
|
15575
15575
|
const bp = on(class {
|
|
15576
15576
|
});
|
|
15577
|
-
function
|
|
15577
|
+
function vp(t, i) {
|
|
15578
15578
|
for (let e = 0; e < i.length; e++) {
|
|
15579
15579
|
let r = i[e];
|
|
15580
15580
|
if (!!t != !!r.__hideTemplateChildren__)
|
|
@@ -15660,7 +15660,7 @@ class Re extends bp {
|
|
|
15660
15660
|
* @protected
|
|
15661
15661
|
*/
|
|
15662
15662
|
_showHideChildren(i) {
|
|
15663
|
-
|
|
15663
|
+
vp(i, this.children);
|
|
15664
15664
|
}
|
|
15665
15665
|
/**
|
|
15666
15666
|
* Overrides default property-effects implementation to intercept
|
|
@@ -15713,7 +15713,7 @@ Re.prototype.__templatizeOptions;
|
|
|
15713
15713
|
Re.prototype._methodHost;
|
|
15714
15714
|
Re.prototype.__templatizeOwner;
|
|
15715
15715
|
Re.prototype.__hostProps;
|
|
15716
|
-
const
|
|
15716
|
+
const yp = gn(
|
|
15717
15717
|
// This cast shouldn't be neccessary, but Closure doesn't understand that
|
|
15718
15718
|
// TemplateInstanceBase is a constructor function.
|
|
15719
15719
|
/** @type {function(new:TemplateInstanceBase)} */
|
|
@@ -15724,7 +15724,7 @@ function Oo(t) {
|
|
|
15724
15724
|
return i && i._methodHost || i;
|
|
15725
15725
|
}
|
|
15726
15726
|
function xp(t, i, e) {
|
|
15727
|
-
let r = e.mutableData ?
|
|
15727
|
+
let r = e.mutableData ? yp : Re;
|
|
15728
15728
|
Yr.mixin && (r = Yr.mixin(r));
|
|
15729
15729
|
let n = class extends r {
|
|
15730
15730
|
};
|
|
@@ -15813,7 +15813,7 @@ function Cp() {
|
|
|
15813
15813
|
};
|
|
15814
15814
|
}
|
|
15815
15815
|
function Yr(t, i, e) {
|
|
15816
|
-
if (
|
|
15816
|
+
if (vi && !Oo(t))
|
|
15817
15817
|
throw new Error("strictTemplatePolicy: template owner not trusted");
|
|
15818
15818
|
if (e = /** @type {!TemplatizeOptions} */
|
|
15819
15819
|
e || {}, t.__templatizeOwner)
|
|
@@ -16115,7 +16115,7 @@ class Io extends kp {
|
|
|
16115
16115
|
* @param {*} value Value to notify
|
|
16116
16116
|
*/
|
|
16117
16117
|
notifyInstanceProp: function(n, o, s) {
|
|
16118
|
-
if (
|
|
16118
|
+
if (Ih(this.as, o)) {
|
|
16119
16119
|
let a = n[this.itemsIndexAs];
|
|
16120
16120
|
o == this.as && (this.items[a] = s);
|
|
16121
16121
|
let l = Gt(this.as, `${JSCompiler_renameProperty("items", this)}.${a}`, o);
|
|
@@ -16171,7 +16171,7 @@ class Io extends kp {
|
|
|
16171
16171
|
__debounceRender(i, e = 0) {
|
|
16172
16172
|
this.__renderDebouncer = Ei.debounce(
|
|
16173
16173
|
this.__renderDebouncer,
|
|
16174
|
-
e > 0 ?
|
|
16174
|
+
e > 0 ? Fh.after(e) : ia,
|
|
16175
16175
|
i.bind(this)
|
|
16176
16176
|
), up(this.__renderDebouncer);
|
|
16177
16177
|
}
|
|
@@ -16441,7 +16441,7 @@ const Op = (t) => class extends fn(t) {
|
|
|
16441
16441
|
return ["__focusedDateChanged(focusedDate, _days)"];
|
|
16442
16442
|
}
|
|
16443
16443
|
get focusableDateElement() {
|
|
16444
|
-
return [...this.shadowRoot.querySelectorAll("[part~=date]")].find((e) =>
|
|
16444
|
+
return [...this.shadowRoot.querySelectorAll("[part~=date]")].find((e) => ye(e.date, this.focusedDate));
|
|
16445
16445
|
}
|
|
16446
16446
|
/** @protected */
|
|
16447
16447
|
ready() {
|
|
@@ -16493,7 +16493,7 @@ const Op = (t) => class extends fn(t) {
|
|
|
16493
16493
|
}
|
|
16494
16494
|
/** @private */
|
|
16495
16495
|
__focusedDateChanged(e, r) {
|
|
16496
|
-
Array.isArray(r) && r.some((n) =>
|
|
16496
|
+
Array.isArray(r) && r.some((n) => ye(n, e)) ? this.removeAttribute("aria-hidden") : this.setAttribute("aria-hidden", "true");
|
|
16497
16497
|
}
|
|
16498
16498
|
/** @protected */
|
|
16499
16499
|
_getDate(e) {
|
|
@@ -16505,7 +16505,7 @@ const Op = (t) => class extends fn(t) {
|
|
|
16505
16505
|
}
|
|
16506
16506
|
/** @protected */
|
|
16507
16507
|
_isToday(e) {
|
|
16508
|
-
return
|
|
16508
|
+
return ye(/* @__PURE__ */ new Date(), e);
|
|
16509
16509
|
}
|
|
16510
16510
|
/** @protected */
|
|
16511
16511
|
_getDays(e, r) {
|
|
@@ -16694,12 +16694,12 @@ class Ip extends Op(Xe(Fe)) {
|
|
|
16694
16694
|
/** @private */
|
|
16695
16695
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
16696
16696
|
__getDatePart(i, e, r, n, o, s, a, l) {
|
|
16697
|
-
const u = ["date"], c = i > Ur(/* @__PURE__ */ new Date()),
|
|
16698
|
-
return this.__isDayDisabled(i, n, o, s) && u.push("disabled"),
|
|
16697
|
+
const u = ["date"], c = i > Ur(/* @__PURE__ */ new Date()), h = i < Ur(/* @__PURE__ */ new Date());
|
|
16698
|
+
return this.__isDayDisabled(i, n, o, s) && u.push("disabled"), ye(i, e) && (l || ye(i, a)) && u.push("focused"), this.__isDaySelected(i, r) && u.push("selected"), this._isToday(i) && u.push("today"), h && u.push("past"), c && u.push("future"), u.join(" ");
|
|
16699
16699
|
}
|
|
16700
16700
|
/** @private */
|
|
16701
16701
|
__isDaySelected(i, e) {
|
|
16702
|
-
return
|
|
16702
|
+
return ye(i, e);
|
|
16703
16703
|
}
|
|
16704
16704
|
/** @private */
|
|
16705
16705
|
__getDayAriaSelected(i, e) {
|
|
@@ -16717,7 +16717,7 @@ class Ip extends Op(Xe(Fe)) {
|
|
|
16717
16717
|
}
|
|
16718
16718
|
/** @private */
|
|
16719
16719
|
__getDayTabindex(i, e) {
|
|
16720
|
-
return
|
|
16720
|
+
return ye(i, e) ? "0" : "-1";
|
|
16721
16721
|
}
|
|
16722
16722
|
}
|
|
16723
16723
|
Te(Ip);
|
|
@@ -16983,9 +16983,9 @@ const Np = (t) => class extends t {
|
|
|
16983
16983
|
e && (e.textContent = r && r.today, e.disabled = !this._isTodayAllowed(n, o, s));
|
|
16984
16984
|
}
|
|
16985
16985
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
16986
|
-
__updateCalendars(e, r, n, o, s, a, l, u, c,
|
|
16986
|
+
__updateCalendars(e, r, n, o, s, a, l, u, c, h, d) {
|
|
16987
16987
|
e && e.length && e.forEach((f) => {
|
|
16988
|
-
f.i18n = r, f.minDate = n, f.maxDate = o, f.isDateDisabled =
|
|
16988
|
+
f.i18n = r, f.minDate = n, f.maxDate = o, f.isDateDisabled = h, f.focusedDate = a, f.selectedDate = s, f.showWeekNumbers = l, f.ignoreTaps = u, f.enteredDate = d, c ? f.setAttribute("theme", c) : f.removeAttribute("theme");
|
|
16989
16989
|
});
|
|
16990
16990
|
}
|
|
16991
16991
|
/** @private */
|
|
@@ -17121,19 +17121,19 @@ const Np = (t) => class extends t {
|
|
|
17121
17121
|
this._revealPromise = new Promise((u) => {
|
|
17122
17122
|
n = u;
|
|
17123
17123
|
});
|
|
17124
|
-
const o = (u, c,
|
|
17124
|
+
const o = (u, c, h, d) => (u /= d / 2, u < 1 ? h / 2 * u * u + c : (u -= 1, -h / 2 * (u * (u - 2) - 1) + c));
|
|
17125
17125
|
let s = 0;
|
|
17126
17126
|
const a = this._monthScroller.position, l = (u) => {
|
|
17127
17127
|
s || (s = u);
|
|
17128
17128
|
const c = u - s;
|
|
17129
17129
|
if (c < this.scrollDuration) {
|
|
17130
|
-
const
|
|
17130
|
+
const h = o(
|
|
17131
17131
|
c,
|
|
17132
17132
|
a,
|
|
17133
17133
|
this._targetPosition - a,
|
|
17134
17134
|
this.scrollDuration
|
|
17135
17135
|
);
|
|
17136
|
-
this._monthScroller.position =
|
|
17136
|
+
this._monthScroller.position = h, window.requestAnimationFrame(l);
|
|
17137
17137
|
} else
|
|
17138
17138
|
this.dispatchEvent(
|
|
17139
17139
|
new CustomEvent("scroll-animation-finished", {
|
|
@@ -17229,7 +17229,7 @@ const Np = (t) => class extends t {
|
|
|
17229
17229
|
}
|
|
17230
17230
|
/** @private */
|
|
17231
17231
|
__toggleDate(e) {
|
|
17232
|
-
|
|
17232
|
+
ye(e, this.selectedDate) ? (this._clear(), this.focusedDate = e) : this._selectDate(e);
|
|
17233
17233
|
}
|
|
17234
17234
|
/** @private */
|
|
17235
17235
|
__onMonthCalendarKeyDown(e) {
|
|
@@ -17301,7 +17301,7 @@ const Np = (t) => class extends t {
|
|
|
17301
17301
|
__tryFocusDate() {
|
|
17302
17302
|
if (this.__pendingDateFocus) {
|
|
17303
17303
|
const r = this.focusableDateElement;
|
|
17304
|
-
r &&
|
|
17304
|
+
r && ye(r.date, this.__pendingDateFocus) && (delete this.__pendingDateFocus, r.focus());
|
|
17305
17305
|
}
|
|
17306
17306
|
}
|
|
17307
17307
|
focusDate(e, r) {
|
|
@@ -17313,7 +17313,7 @@ const Np = (t) => class extends t {
|
|
|
17313
17313
|
focusDateElement(e = !0) {
|
|
17314
17314
|
return At(this, null, function* () {
|
|
17315
17315
|
this.__pendingDateFocus = this.focusedDate, this.calendars.length || (yield new Promise((r) => {
|
|
17316
|
-
|
|
17316
|
+
va(this, () => {
|
|
17317
17317
|
mn(), r();
|
|
17318
17318
|
});
|
|
17319
17319
|
})), e && this.revealDate(this.focusedDate), this._revealPromise && (yield this._revealPromise), this.__tryFocusDate();
|
|
@@ -18126,7 +18126,7 @@ function Vp(t, i = {}) {
|
|
|
18126
18126
|
* Copyright (c) 2022 - 2024 Vaadin Ltd.
|
|
18127
18127
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
18128
18128
|
*/
|
|
18129
|
-
class
|
|
18129
|
+
class vn extends Ve {
|
|
18130
18130
|
constructor(i, e, r, n = {}) {
|
|
18131
18131
|
super(i, e, r, Zt(St({}, n), { useUniqueId: !0 }));
|
|
18132
18132
|
}
|
|
@@ -18241,7 +18241,7 @@ class yn extends Ve {
|
|
|
18241
18241
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
18242
18242
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
18243
18243
|
*/
|
|
18244
|
-
class Yp extends
|
|
18244
|
+
class Yp extends vn {
|
|
18245
18245
|
constructor(i) {
|
|
18246
18246
|
super(i, "error-message", "div");
|
|
18247
18247
|
}
|
|
@@ -18323,7 +18323,7 @@ class Yp extends yn {
|
|
|
18323
18323
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
18324
18324
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
18325
18325
|
*/
|
|
18326
|
-
class Gp extends
|
|
18326
|
+
class Gp extends vn {
|
|
18327
18327
|
constructor(i) {
|
|
18328
18328
|
super(i, "helper", null);
|
|
18329
18329
|
}
|
|
@@ -18378,7 +18378,7 @@ class Gp extends yn {
|
|
|
18378
18378
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
18379
18379
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
18380
18380
|
*/
|
|
18381
|
-
class Wp extends
|
|
18381
|
+
class Wp extends vn {
|
|
18382
18382
|
constructor(i) {
|
|
18383
18383
|
super(i, "label", "label");
|
|
18384
18384
|
}
|
|
@@ -19517,7 +19517,7 @@ const sm = Object.freeze({
|
|
|
19517
19517
|
/** @private */
|
|
19518
19518
|
_ios: {
|
|
19519
19519
|
type: Boolean,
|
|
19520
|
-
value:
|
|
19520
|
+
value: ya
|
|
19521
19521
|
},
|
|
19522
19522
|
/** @private */
|
|
19523
19523
|
_focusOverlayOnOpen: Boolean,
|
|
@@ -19795,12 +19795,12 @@ const sm = Object.freeze({
|
|
|
19795
19795
|
this.value = r;
|
|
19796
19796
|
return;
|
|
19797
19797
|
}
|
|
19798
|
-
e ?
|
|
19798
|
+
e ? ye(this._selectedDate, n) || (this._selectedDate = n, r !== void 0 && this._requestValidation()) : this._selectedDate = null, this.__keepCommittedValue || (this.__committedValue = this.value, this.__committedUnparsableValue = ""), this._toggleHasValue(this._hasValue);
|
|
19799
19799
|
}
|
|
19800
19800
|
/** @private */
|
|
19801
19801
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
19802
|
-
__updateOverlayContent(e, r, n, o, s, a, l, u, c,
|
|
19803
|
-
e && (e.i18n = r, e.label = n, e.minDate = o, e.maxDate = s, e.focusedDate = a, e.selectedDate = l, e.showWeekNumbers = u, e.isDateDisabled = c, e.enteredDate =
|
|
19802
|
+
__updateOverlayContent(e, r, n, o, s, a, l, u, c, h) {
|
|
19803
|
+
e && (e.i18n = r, e.label = n, e.minDate = o, e.maxDate = s, e.focusedDate = a, e.selectedDate = l, e.showWeekNumbers = u, e.isDateDisabled = c, e.enteredDate = h);
|
|
19804
19804
|
}
|
|
19805
19805
|
/** @private */
|
|
19806
19806
|
__updateOverlayContentTheme(e, r) {
|
|
@@ -19962,14 +19962,14 @@ const sm = Object.freeze({
|
|
|
19962
19962
|
_onInput() {
|
|
19963
19963
|
!this.opened && this._inputElementValue && !this.autoOpenDisabled && this.open();
|
|
19964
19964
|
const e = this.__parseDate(this._inputElementValue || "");
|
|
19965
|
-
e && (this._ignoreFocusedDateChange = !0,
|
|
19965
|
+
e && (this._ignoreFocusedDateChange = !0, ye(e, this._focusedDate) || (this._focusedDate = e), this._ignoreFocusedDateChange = !1), this.__setEnteredDate(e);
|
|
19966
19966
|
}
|
|
19967
19967
|
/**
|
|
19968
19968
|
* @param {Date} date
|
|
19969
19969
|
* @private
|
|
19970
19970
|
*/
|
|
19971
19971
|
__setEnteredDate(e) {
|
|
19972
|
-
e ?
|
|
19972
|
+
e ? ye(this.__enteredDate, e) || (this.__enteredDate = e) : this.__enteredDate != null && (this.__enteredDate = null);
|
|
19973
19973
|
}
|
|
19974
19974
|
/** @private */
|
|
19975
19975
|
__computeMinOrMaxDate(e) {
|
|
@@ -20112,17 +20112,17 @@ function No(t, i, e) {
|
|
|
20112
20112
|
const r = t.slice();
|
|
20113
20113
|
return r[47] = i[e], r;
|
|
20114
20114
|
}
|
|
20115
|
-
function
|
|
20116
|
-
let i, e, r, n, o, s, a, l, u, c,
|
|
20115
|
+
function hm(t) {
|
|
20116
|
+
let i, e, r, n, o, s, a, l, u, c, h = (
|
|
20117
20117
|
/*$_*/
|
|
20118
20118
|
t[18]("titleSelfExclusion") + ""
|
|
20119
|
-
),
|
|
20119
|
+
), d, f, p;
|
|
20120
20120
|
return {
|
|
20121
20121
|
c() {
|
|
20122
|
-
i = z("div"), e = Oe("svg"), r = Oe("defs"), n = Oe("style"), o =
|
|
20122
|
+
i = z("div"), e = Oe("svg"), r = Oe("defs"), n = Oe("style"), o = he(".aaa{fill:var(--emw--color-primary, #22B04E);}"), s = Oe("g"), a = Oe("g"), l = Oe("path"), u = le(), c = z("h2"), d = he(h), C(l, "class", "aaa"), C(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), C(l, "transform", "translate(15 15) rotate(180)"), C(a, "transform", "translate(20 158)"), C(s, "transform", "translate(-20 -158)"), C(e, "xmlns", "http://www.w3.org/2000/svg"), C(e, "width", "15"), C(e, "height", "15"), C(e, "viewBox", "0 0 15 15"), C(c, "class", "PlayerSelfExclusionTitleMobile"), C(i, "class", "MenuReturnButton");
|
|
20123
20123
|
},
|
|
20124
20124
|
m(x, T) {
|
|
20125
|
-
Ie(x, i, T),
|
|
20125
|
+
Ie(x, i, T), y(i, e), y(e, r), y(r, n), y(n, o), y(e, s), y(s, a), y(a, l), y(i, u), y(i, c), y(c, d), f || (p = di(
|
|
20126
20126
|
i,
|
|
20127
20127
|
"click",
|
|
20128
20128
|
/*click_handler*/
|
|
@@ -20131,8 +20131,8 @@ function dm(t) {
|
|
|
20131
20131
|
},
|
|
20132
20132
|
p(x, T) {
|
|
20133
20133
|
T[0] & /*$_*/
|
|
20134
|
-
262144 &&
|
|
20135
|
-
x[18]("titleSelfExclusion") + "") &&
|
|
20134
|
+
262144 && h !== (h = /*$_*/
|
|
20135
|
+
x[18]("titleSelfExclusion") + "") && ve(d, h);
|
|
20136
20136
|
},
|
|
20137
20137
|
d(x) {
|
|
20138
20138
|
x && Ce(i), f = !1, p();
|
|
@@ -20156,16 +20156,16 @@ function Ho(t) {
|
|
|
20156
20156
|
}
|
|
20157
20157
|
return {
|
|
20158
20158
|
c() {
|
|
20159
|
-
i = z("div"), r =
|
|
20159
|
+
i = z("div"), r = he(e);
|
|
20160
20160
|
},
|
|
20161
20161
|
m(a, l) {
|
|
20162
|
-
Ie(a, i, l),
|
|
20162
|
+
Ie(a, i, l), y(i, r), n || (o = di(i, "click", s), n = !0);
|
|
20163
20163
|
},
|
|
20164
20164
|
p(a, l) {
|
|
20165
20165
|
t = a, l[0] & /*$_, selfExclusionPeriods*/
|
|
20166
20166
|
262400 && e !== (e = /*$_*/
|
|
20167
20167
|
t[18](`${/*period*/
|
|
20168
|
-
t[47].key}`) + "") &&
|
|
20168
|
+
t[47].key}`) + "") && ve(r, e);
|
|
20169
20169
|
},
|
|
20170
20170
|
d(a) {
|
|
20171
20171
|
a && Ce(i), n = !1, o();
|
|
@@ -20179,21 +20179,21 @@ function Lo(t) {
|
|
|
20179
20179
|
), n, o, s, a = (
|
|
20180
20180
|
/*$_*/
|
|
20181
20181
|
t[18]("dateInstructions") + ""
|
|
20182
|
-
), l, u, c,
|
|
20182
|
+
), l, u, c, h, d;
|
|
20183
20183
|
return {
|
|
20184
20184
|
c() {
|
|
20185
|
-
i = z("div"), e = z("label"), n =
|
|
20186
|
-
|
|
20185
|
+
i = z("div"), e = z("label"), n = he(r), o = le(), s = z("span"), l = he(a), u = le(), c = z("strong"), c.innerHTML = "MM/DD/YYYY<strong></strong>", h = le(), d = z("vaadin-date-picker"), C(e, "for", "SelfExclusionDate"), C(s, "class", "SelfExclusionDateInstructions"), Q(
|
|
20186
|
+
d,
|
|
20187
20187
|
"min",
|
|
20188
20188
|
/*minDate*/
|
|
20189
20189
|
t[9]
|
|
20190
20190
|
), Q(
|
|
20191
|
-
|
|
20191
|
+
d,
|
|
20192
20192
|
"max",
|
|
20193
20193
|
/*maxDate*/
|
|
20194
20194
|
t[10]
|
|
20195
20195
|
), Q(
|
|
20196
|
-
|
|
20196
|
+
d,
|
|
20197
20197
|
"value",
|
|
20198
20198
|
/*minDate*/
|
|
20199
20199
|
t[9]
|
|
@@ -20201,28 +20201,28 @@ function Lo(t) {
|
|
|
20201
20201
|
(t[19] ? "SelfExclusionDateWrapperMobile" : ""));
|
|
20202
20202
|
},
|
|
20203
20203
|
m(f, p) {
|
|
20204
|
-
Ie(f, i, p),
|
|
20204
|
+
Ie(f, i, p), y(i, e), y(e, n), y(i, o), y(i, s), y(s, l), y(s, u), y(s, c), y(i, h), y(i, d), t[31](d);
|
|
20205
20205
|
},
|
|
20206
20206
|
p(f, p) {
|
|
20207
20207
|
p[0] & /*$_*/
|
|
20208
20208
|
262144 && r !== (r = /*$_*/
|
|
20209
|
-
f[18]("duration") + "") &&
|
|
20209
|
+
f[18]("duration") + "") && ve(n, r), p[0] & /*$_*/
|
|
20210
20210
|
262144 && a !== (a = /*$_*/
|
|
20211
|
-
f[18]("dateInstructions") + "") &&
|
|
20211
|
+
f[18]("dateInstructions") + "") && ve(l, a), p[0] & /*minDate*/
|
|
20212
20212
|
512 && Q(
|
|
20213
|
-
|
|
20213
|
+
d,
|
|
20214
20214
|
"min",
|
|
20215
20215
|
/*minDate*/
|
|
20216
20216
|
f[9]
|
|
20217
20217
|
), p[0] & /*maxDate*/
|
|
20218
20218
|
1024 && Q(
|
|
20219
|
-
|
|
20219
|
+
d,
|
|
20220
20220
|
"max",
|
|
20221
20221
|
/*maxDate*/
|
|
20222
20222
|
f[10]
|
|
20223
20223
|
), p[0] & /*minDate*/
|
|
20224
20224
|
512 && Q(
|
|
20225
|
-
|
|
20225
|
+
d,
|
|
20226
20226
|
"value",
|
|
20227
20227
|
/*minDate*/
|
|
20228
20228
|
f[9]
|
|
@@ -20233,7 +20233,7 @@ function Lo(t) {
|
|
|
20233
20233
|
}
|
|
20234
20234
|
};
|
|
20235
20235
|
}
|
|
20236
|
-
function
|
|
20236
|
+
function dm(t) {
|
|
20237
20237
|
let i, e, r = (
|
|
20238
20238
|
/*$_*/
|
|
20239
20239
|
t[18]("temporarySelfExclusion", {
|
|
@@ -20247,10 +20247,10 @@ function hm(t) {
|
|
|
20247
20247
|
), n;
|
|
20248
20248
|
return {
|
|
20249
20249
|
c() {
|
|
20250
|
-
i = z("p"), e = z("strong"), n =
|
|
20250
|
+
i = z("p"), e = z("strong"), n = he(r), C(i, "class", "SelfExclusionDescriptionText");
|
|
20251
20251
|
},
|
|
20252
20252
|
m(o, s) {
|
|
20253
|
-
Ie(o, i, s),
|
|
20253
|
+
Ie(o, i, s), y(i, e), y(e, n);
|
|
20254
20254
|
},
|
|
20255
20255
|
p(o, s) {
|
|
20256
20256
|
s[0] & /*$_, selfExclusionExpiryDate*/
|
|
@@ -20262,7 +20262,7 @@ function hm(t) {
|
|
|
20262
20262
|
o[11]
|
|
20263
20263
|
)
|
|
20264
20264
|
}
|
|
20265
|
-
}) + "") &&
|
|
20265
|
+
}) + "") && ve(n, r);
|
|
20266
20266
|
},
|
|
20267
20267
|
d(o) {
|
|
20268
20268
|
o && Ce(i);
|
|
@@ -20276,15 +20276,15 @@ function fm(t) {
|
|
|
20276
20276
|
), n;
|
|
20277
20277
|
return {
|
|
20278
20278
|
c() {
|
|
20279
|
-
i = z("p"), e = z("strong"), n =
|
|
20279
|
+
i = z("p"), e = z("strong"), n = he(r), C(i, "class", "SelfExclusionDescriptionText");
|
|
20280
20280
|
},
|
|
20281
20281
|
m(o, s) {
|
|
20282
|
-
Ie(o, i, s),
|
|
20282
|
+
Ie(o, i, s), y(i, e), y(e, n);
|
|
20283
20283
|
},
|
|
20284
20284
|
p(o, s) {
|
|
20285
20285
|
s[0] & /*$_*/
|
|
20286
20286
|
262144 && r !== (r = /*$_*/
|
|
20287
|
-
o[18]("noPeriodSelected") + "") &&
|
|
20287
|
+
o[18]("noPeriodSelected") + "") && ve(n, r);
|
|
20288
20288
|
},
|
|
20289
20289
|
d(o) {
|
|
20290
20290
|
o && Ce(i);
|
|
@@ -20298,15 +20298,15 @@ function pm(t) {
|
|
|
20298
20298
|
), n;
|
|
20299
20299
|
return {
|
|
20300
20300
|
c() {
|
|
20301
|
-
i = z("p"), e = z("strong"), n =
|
|
20301
|
+
i = z("p"), e = z("strong"), n = he(r), C(i, "class", "SelfExclusionDescriptionText");
|
|
20302
20302
|
},
|
|
20303
20303
|
m(o, s) {
|
|
20304
|
-
Ie(o, i, s),
|
|
20304
|
+
Ie(o, i, s), y(i, e), y(e, n);
|
|
20305
20305
|
},
|
|
20306
20306
|
p(o, s) {
|
|
20307
20307
|
s[0] & /*$_*/
|
|
20308
20308
|
262144 && r !== (r = /*$_*/
|
|
20309
|
-
o[18]("permanentSelfExclusion") + "") &&
|
|
20309
|
+
o[18]("permanentSelfExclusion") + "") && ve(n, r);
|
|
20310
20310
|
},
|
|
20311
20311
|
d(o) {
|
|
20312
20312
|
o && Ce(i);
|
|
@@ -20351,7 +20351,7 @@ function mm(t) {
|
|
|
20351
20351
|
), Q(i, "showmodaleventname", "ShowSelfExclusionConfirmationModal");
|
|
20352
20352
|
},
|
|
20353
20353
|
m(o, s) {
|
|
20354
|
-
Ie(o, i, s),
|
|
20354
|
+
Ie(o, i, s), y(i, e);
|
|
20355
20355
|
},
|
|
20356
20356
|
p(o, s) {
|
|
20357
20357
|
s[0] & /*$_*/
|
|
@@ -20420,10 +20420,10 @@ function _m(t) {
|
|
|
20420
20420
|
)
|
|
20421
20421
|
}
|
|
20422
20422
|
}) + ""
|
|
20423
|
-
),
|
|
20423
|
+
), h, d, f = (
|
|
20424
20424
|
/*$_*/
|
|
20425
20425
|
t[18]("selfExclusionEmailText") + ""
|
|
20426
|
-
), p, x, T, O, D, N, U, H, Z,
|
|
20426
|
+
), p, x, T, O, D, N, U, H, Z, de = (
|
|
20427
20427
|
/*$_*/
|
|
20428
20428
|
t[18](`${/*selectedPeriodKey*/
|
|
20429
20429
|
t[12]}`) + ""
|
|
@@ -20432,7 +20432,7 @@ function _m(t) {
|
|
|
20432
20432
|
t[18]("save") + ""
|
|
20433
20433
|
), j, Y, q, ie, _e, ge, ae = (
|
|
20434
20434
|
/*isMobile*/
|
|
20435
|
-
t[19] &&
|
|
20435
|
+
t[19] && hm(t)
|
|
20436
20436
|
), oe = Sn(
|
|
20437
20437
|
/*selfExclusionPeriods*/
|
|
20438
20438
|
t[8]
|
|
@@ -20443,30 +20443,30 @@ function _m(t) {
|
|
|
20443
20443
|
/*isUntilDate*/
|
|
20444
20444
|
t[15] && Lo(t)
|
|
20445
20445
|
);
|
|
20446
|
-
function
|
|
20446
|
+
function v(A, K) {
|
|
20447
20447
|
return (
|
|
20448
20448
|
/*isPermanentSelfExclusion*/
|
|
20449
20449
|
A[14] ? pm : (
|
|
20450
20450
|
/*isDateSelected*/
|
|
20451
|
-
A[16] ?
|
|
20451
|
+
A[16] ? dm : fm
|
|
20452
20452
|
)
|
|
20453
20453
|
);
|
|
20454
20454
|
}
|
|
20455
|
-
let X =
|
|
20455
|
+
let X = v(t), V = X(t), Se = (
|
|
20456
20456
|
/*showConfirmationModal*/
|
|
20457
20457
|
t[20] && mm(t)
|
|
20458
20458
|
);
|
|
20459
20459
|
return {
|
|
20460
20460
|
c() {
|
|
20461
|
-
i = z("div"), e = z("form"), ae && ae.c(), r = le(), n = z("h2"), s =
|
|
20461
|
+
i = z("div"), e = z("form"), ae && ae.c(), r = le(), n = z("h2"), s = he(o), a = le(), l = z("div"), u = z("p"), h = le(), d = z("p"), p = he(f), x = le(), T = z("a"), O = he(
|
|
20462
20462
|
/*supportemail*/
|
|
20463
20463
|
t[2]
|
|
20464
|
-
), N = le(), U = z("div"), H = z("div"), Z = z("p"), pe = de
|
|
20464
|
+
), N = le(), U = z("div"), H = z("div"), Z = z("p"), pe = he(de), me = le(), L = Oe("svg"), P = Oe("g"), se = Oe("path"), ze = le(), w = z("div");
|
|
20465
20465
|
for (let A = 0; A < B.length; A += 1)
|
|
20466
20466
|
B[A].c();
|
|
20467
|
-
g = le(), G && G.c(), m = le(), b = z("div"), V.c(), _ = le(), S = z("div"), E = z("button"), j =
|
|
20467
|
+
g = le(), G && G.c(), m = le(), b = z("div"), V.c(), _ = le(), S = z("div"), E = z("button"), j = he(M), ie = le(), Se && Se.c(), C(n, "class", "PlayerSelfExclusionTitle " + /*isMobile*/
|
|
20468
20468
|
(t[19] ? "PlayerSelfExclusionTitleNone" : "")), C(u, "class", "SelfExclusionDescriptionText"), C(T, "href", D = "mailto:" + /*supportemail*/
|
|
20469
|
-
t[2]), C(
|
|
20469
|
+
t[2]), C(d, "class", "SelfExclusionDescriptionText"), C(l, "class", "SelfExclusionDescription " + /*isMobile*/
|
|
20470
20470
|
(t[19] ? "SelfExclusionDescriptionMobile" : "")), C(se, "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"), C(se, "stroke-linecap", "round"), C(L, "xmlns", "http://www.w3.org/2000/svg"), C(L, "xmlns:xlink", "http://www.w3.org/1999/xlink"), C(L, "version", "1.1"), C(L, "viewBox", "0 0 100 100"), C(L, "xml:space", "preserve"), C(L, "class", "SelfExclusionConfigIcon"), Ze(
|
|
20471
20471
|
L,
|
|
20472
20472
|
"active",
|
|
@@ -20491,17 +20491,17 @@ function _m(t) {
|
|
|
20491
20491
|
(t[19] ? "SelfExclusionWrapperMobile" : ""));
|
|
20492
20492
|
},
|
|
20493
20493
|
m(A, K) {
|
|
20494
|
-
Ie(A, i, K),
|
|
20494
|
+
Ie(A, i, K), y(i, e), ae && ae.m(e, null), y(e, r), y(e, n), y(n, s), y(e, a), y(e, l), y(l, u), u.innerHTML = c, y(l, h), y(l, d), y(d, p), y(d, x), y(d, T), y(T, O), y(e, N), y(e, U), y(U, H), y(H, Z), y(Z, pe), y(H, me), y(H, L), y(L, P), y(P, se), y(U, ze), y(U, w);
|
|
20495
20495
|
for (let re = 0; re < B.length; re += 1)
|
|
20496
20496
|
B[re] && B[re].m(w, null);
|
|
20497
|
-
|
|
20498
|
-
|
|
20497
|
+
y(e, g), G && G.m(e, null), y(e, m), y(e, b), V.m(b, null), y(e, _), y(e, S), y(S, E), y(E, j), y(i, ie), Se && Se.m(i, null), t[33](i), _e || (ge = [
|
|
20498
|
+
di(
|
|
20499
20499
|
H,
|
|
20500
20500
|
"click",
|
|
20501
20501
|
/*click_handler_1*/
|
|
20502
20502
|
t[29]
|
|
20503
20503
|
),
|
|
20504
|
-
|
|
20504
|
+
di(
|
|
20505
20505
|
E,
|
|
20506
20506
|
"click",
|
|
20507
20507
|
/*click_handler_3*/
|
|
@@ -20514,7 +20514,7 @@ function _m(t) {
|
|
|
20514
20514
|
/*isMobile*/
|
|
20515
20515
|
A[19] && ae.p(A, K), K[0] & /*$_*/
|
|
20516
20516
|
262144 && o !== (o = /*$_*/
|
|
20517
|
-
A[18]("titleSelfExclusion") + "") &&
|
|
20517
|
+
A[18]("titleSelfExclusion") + "") && ve(s, o), K[0] & /*$_, operator, baseurl, lang*/
|
|
20518
20518
|
262155 && c !== (c = /*$_*/
|
|
20519
20519
|
A[18]("selfExclusionText", {
|
|
20520
20520
|
values: {
|
|
@@ -20533,17 +20533,17 @@ function _m(t) {
|
|
|
20533
20533
|
}
|
|
20534
20534
|
}) + "") && (u.innerHTML = c), K[0] & /*$_*/
|
|
20535
20535
|
262144 && f !== (f = /*$_*/
|
|
20536
|
-
A[18]("selfExclusionEmailText") + "") &&
|
|
20537
|
-
4 &&
|
|
20536
|
+
A[18]("selfExclusionEmailText") + "") && ve(p, f), K[0] & /*supportemail*/
|
|
20537
|
+
4 && ve(
|
|
20538
20538
|
O,
|
|
20539
20539
|
/*supportemail*/
|
|
20540
20540
|
A[2]
|
|
20541
20541
|
), K[0] & /*supportemail*/
|
|
20542
20542
|
4 && D !== (D = "mailto:" + /*supportemail*/
|
|
20543
20543
|
A[2]) && C(T, "href", D), K[0] & /*$_, selectedPeriodKey*/
|
|
20544
|
-
266240 &&
|
|
20544
|
+
266240 && de !== (de = /*$_*/
|
|
20545
20545
|
A[18](`${/*selectedPeriodKey*/
|
|
20546
|
-
A[12]}`) + "") &&
|
|
20546
|
+
A[12]}`) + "") && ve(pe, de), K[0] & /*isPeriodDropDownToggled*/
|
|
20547
20547
|
131072 && Ze(
|
|
20548
20548
|
L,
|
|
20549
20549
|
"active",
|
|
@@ -20558,8 +20558,8 @@ function _m(t) {
|
|
|
20558
20558
|
);
|
|
20559
20559
|
let re;
|
|
20560
20560
|
for (re = 0; re < oe.length; re += 1) {
|
|
20561
|
-
const
|
|
20562
|
-
B[re] ? B[re].p(
|
|
20561
|
+
const yn = No(A, oe, re);
|
|
20562
|
+
B[re] ? B[re].p(yn, K) : (B[re] = Ho(yn), B[re].c(), B[re].m(w, null));
|
|
20563
20563
|
}
|
|
20564
20564
|
for (; re < B.length; re += 1)
|
|
20565
20565
|
B[re].d(1);
|
|
@@ -20578,9 +20578,9 @@ function _m(t) {
|
|
|
20578
20578
|
/*isPeriodDropDownToggled*/
|
|
20579
20579
|
A[17]
|
|
20580
20580
|
), /*isUntilDate*/
|
|
20581
|
-
A[15] ? G ? G.p(A, K) : (G = Lo(A), G.c(), G.m(e, m)) : G && (G.d(1), G = null), X === (X =
|
|
20581
|
+
A[15] ? G ? G.p(A, K) : (G = Lo(A), G.c(), G.m(e, m)) : G && (G.d(1), G = null), X === (X = v(A)) && V ? V.p(A, K) : (V.d(1), V = X(A), V && (V.c(), V.m(b, null))), K[0] & /*$_*/
|
|
20582
20582
|
262144 && M !== (M = /*$_*/
|
|
20583
|
-
A[18]("save") + "") &&
|
|
20583
|
+
A[18]("save") + "") && ve(j, M), K[0] & /*isDateSelected*/
|
|
20584
20584
|
65536 && Y !== (Y = "SelfExclusionSave " + /*isDateSelected*/
|
|
20585
20585
|
(A[16] ? "active" : "")) && C(E, "class", Y), K[0] & /*isDateSelected*/
|
|
20586
20586
|
65536 && q !== (q = !/*isDateSelected*/
|
|
@@ -20596,10 +20596,10 @@ function _m(t) {
|
|
|
20596
20596
|
}
|
|
20597
20597
|
function gm(t, i, e) {
|
|
20598
20598
|
let r;
|
|
20599
|
-
tl(t, Sc, (
|
|
20600
|
-
let { endpoint: n = "", lang: o = "en", operator: s = "Everymatrix", supportemail: a = "", baseurl: l = "", clientstyling: u = "", clientstylingurl: c = "", translationurl:
|
|
20599
|
+
tl(t, Sc, (v) => e(18, r = v));
|
|
20600
|
+
let { endpoint: n = "", lang: o = "en", operator: s = "Everymatrix", supportemail: a = "", baseurl: l = "", clientstyling: u = "", clientstylingurl: c = "", translationurl: h = "", hasconfirmationmodal: d = "false" } = i, f, p, x = [], T = window.navigator.userAgent, O, D, N = "", U = "", H = "selectAPeriod", Z = "", de = Ac(T) !== "PC", pe = !1, me = !1, L = !1, P = !1, se = d === "true";
|
|
20601
20601
|
const ze = () => {
|
|
20602
|
-
fetch(
|
|
20602
|
+
fetch(h).then((X) => X.json()).then((X) => {
|
|
20603
20603
|
Object.keys(X).forEach((V) => {
|
|
20604
20604
|
Yn(V, X[V]);
|
|
20605
20605
|
});
|
|
@@ -20607,12 +20607,12 @@ function gm(t, i, e) {
|
|
|
20607
20607
|
console.log(X);
|
|
20608
20608
|
});
|
|
20609
20609
|
};
|
|
20610
|
-
Object.keys(Gn).forEach((
|
|
20611
|
-
Yn(
|
|
20610
|
+
Object.keys(Gn).forEach((v) => {
|
|
20611
|
+
Yn(v, Gn[v]);
|
|
20612
20612
|
});
|
|
20613
20613
|
const w = () => {
|
|
20614
|
-
let
|
|
20615
|
-
fetch(
|
|
20614
|
+
let v = new URL(`${n}/v1/player/selfExclusionSettings`);
|
|
20615
|
+
fetch(v, {
|
|
20616
20616
|
method: "GET",
|
|
20617
20617
|
headers: {
|
|
20618
20618
|
"Content-Type": "application/json",
|
|
@@ -20623,14 +20623,14 @@ function gm(t, i, e) {
|
|
|
20623
20623
|
}).catch((V) => {
|
|
20624
20624
|
console.log(V);
|
|
20625
20625
|
});
|
|
20626
|
-
}, g = (
|
|
20627
|
-
if (
|
|
20626
|
+
}, g = (v) => {
|
|
20627
|
+
if (v.status >= 300)
|
|
20628
20628
|
throw new Error("There was an error fetching the config");
|
|
20629
|
-
return
|
|
20629
|
+
return v.json();
|
|
20630
20630
|
}, m = () => {
|
|
20631
20631
|
e(17, P = !P);
|
|
20632
|
-
}, b = (
|
|
20633
|
-
switch (U =
|
|
20632
|
+
}, b = (v) => {
|
|
20633
|
+
switch (U = v.text, e(12, H = v.key), e(16, L = !0), e(17, P = !1), e(14, pe = !1), e(15, me = !1), U) {
|
|
20634
20634
|
case "Until":
|
|
20635
20635
|
e(15, me = !0), e(9, O = ji().add(6, "months").format("YYYY-MM-DD")), e(10, D = ji().add(5, "years").format("YYYY-MM-DD")), e(11, N = O);
|
|
20636
20636
|
break;
|
|
@@ -20653,8 +20653,8 @@ function gm(t, i, e) {
|
|
|
20653
20653
|
e(13, Z = me ? r("confirmationModalTextUntil", {
|
|
20654
20654
|
values: { date: N }
|
|
20655
20655
|
}) : r("confirmationModalTextPeriod", { values: { period: r(U) } }));
|
|
20656
|
-
}, S = (
|
|
20657
|
-
|
|
20656
|
+
}, S = (v) => {
|
|
20657
|
+
v.preventDefault(), se ? window.postMessage(
|
|
20658
20658
|
{
|
|
20659
20659
|
type: "ShowSelfExclusionConfirmationModal"
|
|
20660
20660
|
},
|
|
@@ -20671,20 +20671,20 @@ function gm(t, i, e) {
|
|
|
20671
20671
|
window.postMessage(
|
|
20672
20672
|
{
|
|
20673
20673
|
type: "PlayerAccountMenuActive",
|
|
20674
|
-
isMobile:
|
|
20674
|
+
isMobile: de
|
|
20675
20675
|
},
|
|
20676
20676
|
window.location.href
|
|
20677
20677
|
);
|
|
20678
|
-
}, M = (
|
|
20679
|
-
e(11, N =
|
|
20678
|
+
}, M = (v) => {
|
|
20679
|
+
e(11, N = v.target.value);
|
|
20680
20680
|
}, j = () => {
|
|
20681
20681
|
p.addEventListener("change", M, !1);
|
|
20682
20682
|
}, Y = () => {
|
|
20683
|
-
let
|
|
20684
|
-
|
|
20683
|
+
let v = document.createElement("style");
|
|
20684
|
+
v.innerHTML = u, f.appendChild(v);
|
|
20685
20685
|
}, q = () => {
|
|
20686
|
-
let
|
|
20687
|
-
fetch(
|
|
20686
|
+
let v = new URL(c), X = document.createElement("style");
|
|
20687
|
+
fetch(v.href).then((V) => V.text()).then((V) => {
|
|
20688
20688
|
X.innerHTML = V, setTimeout(
|
|
20689
20689
|
() => {
|
|
20690
20690
|
f.appendChild(X);
|
|
@@ -20698,20 +20698,20 @@ function gm(t, i, e) {
|
|
|
20698
20698
|
});
|
|
20699
20699
|
const ie = () => {
|
|
20700
20700
|
Tc(o);
|
|
20701
|
-
}, _e = () => E(), ge = () => m(), ae = (
|
|
20702
|
-
function oe(
|
|
20703
|
-
fi[
|
|
20704
|
-
p =
|
|
20701
|
+
}, _e = () => E(), ge = () => m(), ae = (v) => b(v);
|
|
20702
|
+
function oe(v) {
|
|
20703
|
+
fi[v ? "unshift" : "push"](() => {
|
|
20704
|
+
p = v, e(7, p);
|
|
20705
20705
|
});
|
|
20706
20706
|
}
|
|
20707
|
-
const B = (
|
|
20708
|
-
function G(
|
|
20709
|
-
fi[
|
|
20710
|
-
f =
|
|
20707
|
+
const B = (v) => S(v);
|
|
20708
|
+
function G(v) {
|
|
20709
|
+
fi[v ? "unshift" : "push"](() => {
|
|
20710
|
+
f = v, e(6, f);
|
|
20711
20711
|
});
|
|
20712
20712
|
}
|
|
20713
|
-
return t.$$set = (
|
|
20714
|
-
"endpoint" in
|
|
20713
|
+
return t.$$set = (v) => {
|
|
20714
|
+
"endpoint" in v && e(25, n = v.endpoint), "lang" in v && e(0, o = v.lang), "operator" in v && e(1, s = v.operator), "supportemail" in v && e(2, a = v.supportemail), "baseurl" in v && e(3, l = v.baseurl), "clientstyling" in v && e(4, u = v.clientstyling), "clientstylingurl" in v && e(5, c = v.clientstylingurl), "translationurl" in v && e(26, h = v.translationurl), "hasconfirmationmodal" in v && e(27, d = v.hasconfirmationmodal);
|
|
20715
20715
|
}, t.$$.update = () => {
|
|
20716
20716
|
t.$$.dirty[0] & /*calendar*/
|
|
20717
20717
|
128 && p && j(), t.$$.dirty[0] & /*endpoint*/
|
|
@@ -20719,7 +20719,7 @@ function gm(t, i, e) {
|
|
|
20719
20719
|
1 && o && ie(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
20720
20720
|
96 && c && f && q(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
20721
20721
|
80 && u && f && Y(), t.$$.dirty[0] & /*translationurl*/
|
|
20722
|
-
67108864 &&
|
|
20722
|
+
67108864 && h && ze();
|
|
20723
20723
|
}, se && _(), [
|
|
20724
20724
|
o,
|
|
20725
20725
|
s,
|
|
@@ -20740,15 +20740,15 @@ function gm(t, i, e) {
|
|
|
20740
20740
|
L,
|
|
20741
20741
|
P,
|
|
20742
20742
|
r,
|
|
20743
|
-
|
|
20743
|
+
de,
|
|
20744
20744
|
se,
|
|
20745
20745
|
m,
|
|
20746
20746
|
b,
|
|
20747
20747
|
S,
|
|
20748
20748
|
E,
|
|
20749
20749
|
n,
|
|
20750
|
-
d,
|
|
20751
20750
|
h,
|
|
20751
|
+
d,
|
|
20752
20752
|
_e,
|
|
20753
20753
|
ge,
|
|
20754
20754
|
ae,
|
|
@@ -20759,7 +20759,7 @@ function gm(t, i, e) {
|
|
|
20759
20759
|
}
|
|
20760
20760
|
class bm extends xl {
|
|
20761
20761
|
constructor(i) {
|
|
20762
|
-
super(),
|
|
20762
|
+
super(), vl(
|
|
20763
20763
|
this,
|
|
20764
20764
|
i,
|
|
20765
20765
|
gm,
|
|
@@ -20835,7 +20835,7 @@ class bm extends xl {
|
|
|
20835
20835
|
this.$$set({ hasconfirmationmodal: i }), xe();
|
|
20836
20836
|
}
|
|
20837
20837
|
}
|
|
20838
|
-
|
|
20838
|
+
yl(bm, { endpoint: {}, lang: {}, operator: {}, supportemail: {}, baseurl: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, hasconfirmationmodal: {} }, [], [], !0);
|
|
20839
20839
|
export {
|
|
20840
20840
|
bm as default
|
|
20841
20841
|
};
|