@everymatrix/player-account-timeout 1.57.0 → 1.58.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountGeneralConfirmationModal-DoeReNtd.js → PlayerAccountGeneralConfirmationModal-BJlFEgEt.js} +599 -621
- package/components/{PlayerAccountGeneralConfirmationModal-Bnh1XDOd.js → PlayerAccountGeneralConfirmationModal-Bw8OUJ0O.js} +560 -582
- package/components/PlayerAccountGeneralConfirmationModal-jvS4uZK0.cjs +18 -0
- package/components/{PlayerAccountTimeout-Cf59Bjwj.cjs → PlayerAccountTimeout-BrEWXYC6.cjs} +153 -153
- package/components/{PlayerAccountTimeout-CNH_sF9k.js → PlayerAccountTimeout-CD3CVuTq.js} +777 -782
- package/components/{PlayerAccountTimeout-B6u6MiWX.js → PlayerAccountTimeout-CumYINDT.js} +762 -767
- package/es2015/player-account-timeout.cjs +1 -1
- package/es2015/player-account-timeout.js +1 -1
- package/esnext/player-account-timeout.js +1 -1
- package/package.json +1 -1
- package/stencil/index-ae04a8b1-BxaX26xW.js +516 -0
- package/stencil/index-ae04a8b1-D7qYBP-T.js +532 -0
- package/stencil/index-ae04a8b1-Dk7mk6oB.cjs +1 -0
- package/stencil/{ui-skeleton-C5gPr5Xv.js → ui-skeleton-DFpfaKvi.js} +2 -2
- package/stencil/{ui-skeleton-C1buDKbo.cjs → ui-skeleton-IHMCRYEX.cjs} +1 -1
- package/stencil/{ui-skeleton-M7HNQCk1.js → ui-skeleton-UUT_AJxa.js} +2 -2
- package/stencil/{ui-skeleton-a642cced-DO34s50a.cjs → ui-skeleton-a642cced-5nW6b8_l.cjs} +1 -1
- package/stencil/{ui-skeleton-a642cced-BFJMszWG.js → ui-skeleton-a642cced-BNXFvvk_.js} +1 -1
- package/stencil/{ui-skeleton-a642cced-p8tGooXk.js → ui-skeleton-a642cced-DdY2eEM0.js} +1 -1
- package/components/PlayerAccountGeneralConfirmationModal-BOJYp5ik.cjs +0 -18
- package/stencil/index-ae04a8b1-DPYODDdm.cjs +0 -1
- package/stencil/index-ae04a8b1-DRAR7dln.js +0 -532
- package/stencil/index-ae04a8b1-eSktas_K.js +0 -516
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var Dr = Object.defineProperty, Er = Object.defineProperties;
|
|
2
|
+
var kr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Ji = Object.getOwnPropertySymbols;
|
|
4
|
+
var Sr = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Xi = (o, t, e) => t in o ? Dr(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e, zt = (o, t) => {
|
|
6
6
|
for (var e in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var e of
|
|
10
|
-
|
|
7
|
+
Sr.call(t, e) && Xi(o, e, t[e]);
|
|
8
|
+
if (Ji)
|
|
9
|
+
for (var e of Ji(t))
|
|
10
|
+
Pr.call(t, e) && Xi(o, e, t[e]);
|
|
11
11
|
return o;
|
|
12
|
-
}, Lt = (o, t) =>
|
|
12
|
+
}, Lt = (o, t) => Er(o, kr(t));
|
|
13
13
|
var pt = (o, t, e) => new Promise((i, s) => {
|
|
14
14
|
var r = (l) => {
|
|
15
15
|
try {
|
|
@@ -26,14 +26,14 @@ var pt = (o, t, e) => new Promise((i, s) => {
|
|
|
26
26
|
}, a = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(r, n);
|
|
27
27
|
a((e = e.apply(o, t)).next());
|
|
28
28
|
});
|
|
29
|
-
import { c as
|
|
30
|
-
import "../stencil/ui-skeleton-
|
|
29
|
+
import { c as Or, g as Mr, a as Ir, $ as Nr, S as Fr, i as zr, f as ce, s as Lr, b as $r, d as Rr, n as ii, e as oe, h as se, j as M, k as Hr, l as Br, o as Vr, m as Ur, p as Zi, q as x, r as Y, t as A, u as Qi, v as N, w as eo, x as jr, y as Yr, z as ge, A as to, B as vt, C as pe, D as Wr, E as qr, F as Me, G as io, H as Kr, I as Gr, J as Jr, K as Xr } from "./PlayerAccountGeneralConfirmationModal-Bw8OUJ0O.js";
|
|
30
|
+
import "../stencil/ui-skeleton-UUT_AJxa.js";
|
|
31
31
|
/**
|
|
32
32
|
* @license
|
|
33
33
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
34
34
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
35
35
|
*/
|
|
36
|
-
function le(o, t = "24.5.
|
|
36
|
+
function le(o, t = "24.5.11") {
|
|
37
37
|
Object.defineProperty(o, "version", {
|
|
38
38
|
get() {
|
|
39
39
|
return t;
|
|
@@ -54,18 +54,18 @@ function le(o, t = "24.5.10") {
|
|
|
54
54
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
55
55
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
56
56
|
*/
|
|
57
|
-
class
|
|
57
|
+
class Zr extends HTMLElement {
|
|
58
58
|
static get is() {
|
|
59
59
|
return "vaadin-lumo-styles";
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
le(
|
|
62
|
+
le(Zr);
|
|
63
63
|
/**
|
|
64
64
|
* @license
|
|
65
65
|
* Copyright 2019 Google LLC
|
|
66
66
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
67
67
|
*/
|
|
68
|
-
const bt = globalThis, Di = bt.ShadowRoot && (bt.ShadyCSS === void 0 || bt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Ei = Symbol(),
|
|
68
|
+
const bt = globalThis, Di = bt.ShadowRoot && (bt.ShadyCSS === void 0 || bt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Ei = Symbol(), oo = /* @__PURE__ */ new WeakMap();
|
|
69
69
|
let ki = class {
|
|
70
70
|
constructor(t, e, i) {
|
|
71
71
|
if (this._$cssResult$ = !0, i !== Ei)
|
|
@@ -77,7 +77,7 @@ let ki = class {
|
|
|
77
77
|
const e = this.t;
|
|
78
78
|
if (Di && t === void 0) {
|
|
79
79
|
const i = e !== void 0 && e.length === 1;
|
|
80
|
-
i && (t =
|
|
80
|
+
i && (t = oo.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && oo.set(e, t));
|
|
81
81
|
}
|
|
82
82
|
return t;
|
|
83
83
|
}
|
|
@@ -85,7 +85,7 @@ let ki = class {
|
|
|
85
85
|
return this.cssText;
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
|
-
const
|
|
88
|
+
const Qr = (o) => new ki(typeof o == "string" ? o : o + "", void 0, Ei), P = (o, ...t) => {
|
|
89
89
|
const e = o.length === 1 ? o[0] : t.reduce((i, s, r) => i + ((n) => {
|
|
90
90
|
if (n._$cssResult$ === !0)
|
|
91
91
|
return n.cssText;
|
|
@@ -94,7 +94,7 @@ const en = (o) => new ki(typeof o == "string" ? o : o + "", void 0, Ei), P = (o,
|
|
|
94
94
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + n + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
95
95
|
})(s) + o[r + 1], o[0]);
|
|
96
96
|
return new ki(e, o, Ei);
|
|
97
|
-
},
|
|
97
|
+
}, is = (o, t) => {
|
|
98
98
|
if (Di)
|
|
99
99
|
o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
|
|
100
100
|
else
|
|
@@ -102,21 +102,21 @@ const en = (o) => new ki(typeof o == "string" ? o : o + "", void 0, Ei), P = (o,
|
|
|
102
102
|
const i = document.createElement("style"), s = bt.litNonce;
|
|
103
103
|
s !== void 0 && i.setAttribute("nonce", s), i.textContent = e.cssText, o.appendChild(i);
|
|
104
104
|
}
|
|
105
|
-
},
|
|
105
|
+
}, so = Di ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
|
|
106
106
|
let e = "";
|
|
107
107
|
for (const i of t.cssRules)
|
|
108
108
|
e += i.cssText;
|
|
109
|
-
return
|
|
109
|
+
return Qr(e);
|
|
110
110
|
})(o) : o;
|
|
111
111
|
/**
|
|
112
112
|
* @license
|
|
113
113
|
* Copyright 2017 Google LLC
|
|
114
114
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
115
115
|
*/
|
|
116
|
-
const { is:
|
|
116
|
+
const { is: en, defineProperty: tn, getOwnPropertyDescriptor: on, getOwnPropertyNames: sn, getOwnPropertySymbols: rn, getPrototypeOf: nn } = Object, ye = globalThis, ro = ye.trustedTypes, an = ro ? ro.emptyScript : "", $t = ye.reactiveElementPolyfillSupport, Qe = (o, t) => o, oi = { toAttribute(o, t) {
|
|
117
117
|
switch (t) {
|
|
118
118
|
case Boolean:
|
|
119
|
-
o = o ?
|
|
119
|
+
o = o ? an : null;
|
|
120
120
|
break;
|
|
121
121
|
case Object:
|
|
122
122
|
case Array:
|
|
@@ -141,9 +141,9 @@ const { is: tn, defineProperty: on, getOwnPropertyDescriptor: sn, getOwnProperty
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
return e;
|
|
144
|
-
} },
|
|
145
|
-
var
|
|
146
|
-
(
|
|
144
|
+
} }, os = (o, t) => !en(o, t), no = { attribute: !0, type: String, converter: oi, reflect: !1, hasChanged: os };
|
|
145
|
+
var Jo, Xo;
|
|
146
|
+
(Jo = Symbol.metadata) != null || (Symbol.metadata = Symbol("metadata")), (Xo = ye.litPropertyMetadata) != null || (ye.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
|
|
147
147
|
class Ne extends HTMLElement {
|
|
148
148
|
static addInitializer(t) {
|
|
149
149
|
var e;
|
|
@@ -152,15 +152,15 @@ class Ne extends HTMLElement {
|
|
|
152
152
|
static get observedAttributes() {
|
|
153
153
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
154
154
|
}
|
|
155
|
-
static createProperty(t, e =
|
|
155
|
+
static createProperty(t, e = no) {
|
|
156
156
|
if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
157
157
|
const i = Symbol(), s = this.getPropertyDescriptor(t, i, e);
|
|
158
|
-
s !== void 0 &&
|
|
158
|
+
s !== void 0 && tn(this.prototype, t, s);
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
static getPropertyDescriptor(t, e, i) {
|
|
162
162
|
var n;
|
|
163
|
-
const { get: s, set: r } = (n =
|
|
163
|
+
const { get: s, set: r } = (n = on(this.prototype, t)) != null ? n : { get() {
|
|
164
164
|
return this[e];
|
|
165
165
|
}, set(a) {
|
|
166
166
|
this[e] = a;
|
|
@@ -174,19 +174,19 @@ class Ne extends HTMLElement {
|
|
|
174
174
|
}
|
|
175
175
|
static getPropertyOptions(t) {
|
|
176
176
|
var e;
|
|
177
|
-
return (e = this.elementProperties.get(t)) != null ? e :
|
|
177
|
+
return (e = this.elementProperties.get(t)) != null ? e : no;
|
|
178
178
|
}
|
|
179
179
|
static _$Ei() {
|
|
180
180
|
if (this.hasOwnProperty(Qe("elementProperties")))
|
|
181
181
|
return;
|
|
182
|
-
const t =
|
|
182
|
+
const t = nn(this);
|
|
183
183
|
t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
|
|
184
184
|
}
|
|
185
185
|
static finalize() {
|
|
186
186
|
if (this.hasOwnProperty(Qe("finalized")))
|
|
187
187
|
return;
|
|
188
188
|
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(Qe("properties"))) {
|
|
189
|
-
const e = this.properties, i = [...
|
|
189
|
+
const e = this.properties, i = [...sn(e), ...rn(e)];
|
|
190
190
|
for (const s of i)
|
|
191
191
|
this.createProperty(s, e[s]);
|
|
192
192
|
}
|
|
@@ -209,9 +209,9 @@ class Ne extends HTMLElement {
|
|
|
209
209
|
if (Array.isArray(t)) {
|
|
210
210
|
const i = new Set(t.flat(1 / 0).reverse());
|
|
211
211
|
for (const s of i)
|
|
212
|
-
e.unshift(
|
|
212
|
+
e.unshift(so(s));
|
|
213
213
|
} else
|
|
214
|
-
t !== void 0 && e.push(
|
|
214
|
+
t !== void 0 && e.push(so(t));
|
|
215
215
|
return e;
|
|
216
216
|
}
|
|
217
217
|
static _$Eu(t, e) {
|
|
@@ -242,7 +242,7 @@ class Ne extends HTMLElement {
|
|
|
242
242
|
createRenderRoot() {
|
|
243
243
|
var e;
|
|
244
244
|
const t = (e = this.shadowRoot) != null ? e : this.attachShadow(this.constructor.shadowRootOptions);
|
|
245
|
-
return
|
|
245
|
+
return is(t, this.constructor.elementStyles), t;
|
|
246
246
|
}
|
|
247
247
|
connectedCallback() {
|
|
248
248
|
var t, e;
|
|
@@ -282,7 +282,7 @@ class Ne extends HTMLElement {
|
|
|
282
282
|
requestUpdate(t, e, i) {
|
|
283
283
|
var s;
|
|
284
284
|
if (t !== void 0) {
|
|
285
|
-
if (i != null || (i = this.constructor.getPropertyOptions(t)), !((s = i.hasChanged) != null ? s :
|
|
285
|
+
if (i != null || (i = this.constructor.getPropertyOptions(t)), !((s = i.hasChanged) != null ? s : os)(this[t], e))
|
|
286
286
|
return;
|
|
287
287
|
this.P(t, e, i);
|
|
288
288
|
}
|
|
@@ -363,40 +363,40 @@ class Ne extends HTMLElement {
|
|
|
363
363
|
firstUpdated(t) {
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
|
-
var
|
|
367
|
-
Ne.elementStyles = [], Ne.shadowRootOptions = { mode: "open" }, Ne[Qe("elementProperties")] = /* @__PURE__ */ new Map(), Ne[Qe("finalized")] = /* @__PURE__ */ new Map(), $t == null || $t({ ReactiveElement: Ne }), ((
|
|
366
|
+
var Zo;
|
|
367
|
+
Ne.elementStyles = [], Ne.shadowRootOptions = { mode: "open" }, Ne[Qe("elementProperties")] = /* @__PURE__ */ new Map(), Ne[Qe("finalized")] = /* @__PURE__ */ new Map(), $t == null || $t({ ReactiveElement: Ne }), ((Zo = ye.reactiveElementVersions) != null ? Zo : ye.reactiveElementVersions = []).push("2.0.4");
|
|
368
368
|
/**
|
|
369
369
|
* @license
|
|
370
370
|
* Copyright 2017 Google LLC
|
|
371
371
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
372
372
|
*/
|
|
373
|
-
const et = globalThis, xt = et.trustedTypes,
|
|
374
|
-
\f\r]`, We = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
375
|
-
\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
376
|
-
function
|
|
373
|
+
const et = globalThis, xt = et.trustedTypes, ao = xt ? xt.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, ss = "$lit$", _e = `lit$${Math.random().toFixed(9).slice(2)}$`, rs = "?" + _e, ln = `<${rs}>`, ke = document, it = () => ke.createComment(""), ot = (o) => o === null || typeof o != "object" && typeof o != "function", Si = Array.isArray, dn = (o) => Si(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", Rt = `[
|
|
374
|
+
\f\r]`, We = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, lo = /-->/g, co = />/g, Ce = RegExp(`>|${Rt}(?:([^\\s"'>=/]+)(${Rt}*=${Rt}*(?:[^
|
|
375
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), uo = /'/g, ho = /"/g, ns = /^(?:script|style|textarea|title)$/i, Re = Symbol.for("lit-noChange"), j = Symbol.for("lit-nothing"), po = /* @__PURE__ */ new WeakMap(), Ae = ke.createTreeWalker(ke, 129);
|
|
376
|
+
function as(o, t) {
|
|
377
377
|
if (!Si(o) || !o.hasOwnProperty("raw"))
|
|
378
378
|
throw Error("invalid template strings array");
|
|
379
|
-
return
|
|
379
|
+
return ao !== void 0 ? ao.createHTML(t) : t;
|
|
380
380
|
}
|
|
381
|
-
const
|
|
381
|
+
const cn = (o, t) => {
|
|
382
382
|
const e = o.length - 1, i = [];
|
|
383
383
|
let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = We;
|
|
384
384
|
for (let a = 0; a < e; a++) {
|
|
385
385
|
const l = o[a];
|
|
386
386
|
let d, c, u = -1, h = 0;
|
|
387
387
|
for (; h < l.length && (n.lastIndex = h, c = n.exec(l), c !== null); )
|
|
388
|
-
h = n.lastIndex, n === We ? c[1] === "!--" ? n =
|
|
388
|
+
h = n.lastIndex, n === We ? c[1] === "!--" ? n = lo : c[1] !== void 0 ? n = co : c[2] !== void 0 ? (ns.test(c[2]) && (s = RegExp("</" + c[2], "g")), n = Ce) : c[3] !== void 0 && (n = Ce) : n === Ce ? c[0] === ">" ? (n = s != null ? s : We, u = -1) : c[1] === void 0 ? u = -2 : (u = n.lastIndex - c[2].length, d = c[1], n = c[3] === void 0 ? Ce : c[3] === '"' ? ho : uo) : n === ho || n === uo ? n = Ce : n === lo || n === co ? n = We : (n = Ce, s = void 0);
|
|
389
389
|
const p = n === Ce && o[a + 1].startsWith("/>") ? " " : "";
|
|
390
|
-
r += n === We ? l +
|
|
390
|
+
r += n === We ? l + ln : u >= 0 ? (i.push(d), l.slice(0, u) + ss + l.slice(u) + _e + p) : l + _e + (u === -2 ? a : p);
|
|
391
391
|
}
|
|
392
|
-
return [
|
|
392
|
+
return [as(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
|
|
393
393
|
};
|
|
394
394
|
class st {
|
|
395
395
|
constructor({ strings: t, _$litType$: e }, i) {
|
|
396
396
|
let s;
|
|
397
397
|
this.parts = [];
|
|
398
398
|
let r = 0, n = 0;
|
|
399
|
-
const a = t.length - 1, l = this.parts, [d, c] =
|
|
399
|
+
const a = t.length - 1, l = this.parts, [d, c] = cn(t, e);
|
|
400
400
|
if (this.el = st.createElement(d, i), Ae.currentNode = this.el.content, e === 2 || e === 3) {
|
|
401
401
|
const u = this.el.content.firstChild;
|
|
402
402
|
u.replaceWith(...u.childNodes);
|
|
@@ -405,12 +405,12 @@ class st {
|
|
|
405
405
|
if (s.nodeType === 1) {
|
|
406
406
|
if (s.hasAttributes())
|
|
407
407
|
for (const u of s.getAttributeNames())
|
|
408
|
-
if (u.endsWith(
|
|
408
|
+
if (u.endsWith(ss)) {
|
|
409
409
|
const h = c[n++], p = s.getAttribute(u).split(_e), y = /([.?@])?(.*)/.exec(h);
|
|
410
|
-
l.push({ type: 1, index: r, name: y[2], strings: p, ctor: y[1] === "." ?
|
|
410
|
+
l.push({ type: 1, index: r, name: y[2], strings: p, ctor: y[1] === "." ? hn : y[1] === "?" ? pn : y[1] === "@" ? fn : Pt }), s.removeAttribute(u);
|
|
411
411
|
} else
|
|
412
412
|
u.startsWith(_e) && (l.push({ type: 6, index: r }), s.removeAttribute(u));
|
|
413
|
-
if (
|
|
413
|
+
if (ns.test(s.tagName)) {
|
|
414
414
|
const u = s.textContent.split(_e), h = u.length - 1;
|
|
415
415
|
if (h > 0) {
|
|
416
416
|
s.textContent = xt ? xt.emptyScript : "";
|
|
@@ -420,7 +420,7 @@ class st {
|
|
|
420
420
|
}
|
|
421
421
|
}
|
|
422
422
|
} else if (s.nodeType === 8)
|
|
423
|
-
if (s.data ===
|
|
423
|
+
if (s.data === rs)
|
|
424
424
|
l.push({ type: 2, index: r });
|
|
425
425
|
else {
|
|
426
426
|
let u = -1;
|
|
@@ -443,7 +443,7 @@ function He(o, t, e = o, i) {
|
|
|
443
443
|
const r = ot(t) ? void 0 : t._$litDirective$;
|
|
444
444
|
return (s == null ? void 0 : s.constructor) !== r && ((a = s == null ? void 0 : s._$AO) == null || a.call(s, !1), r === void 0 ? s = void 0 : (s = new r(o), s._$AT(o, e, i)), i !== void 0 ? ((l = e._$Co) != null ? l : e._$Co = [])[i] = s : e._$Cl = s), s !== void 0 && (t = He(o, s._$AS(o, t.values), s, i)), t;
|
|
445
445
|
}
|
|
446
|
-
class
|
|
446
|
+
class un {
|
|
447
447
|
constructor(t, e) {
|
|
448
448
|
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
|
449
449
|
}
|
|
@@ -461,7 +461,7 @@ class hn {
|
|
|
461
461
|
for (; l !== void 0; ) {
|
|
462
462
|
if (n === l.index) {
|
|
463
463
|
let c;
|
|
464
|
-
l.type === 2 ? c = new ut(r, r.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (c = new
|
|
464
|
+
l.type === 2 ? c = new ut(r, r.nextSibling, this, t) : l.type === 1 ? c = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (c = new mn(r, this, t)), this._$AV.push(c), l = i[++a];
|
|
465
465
|
}
|
|
466
466
|
n !== (l == null ? void 0 : l.index) && (r = Ae.nextNode(), n++);
|
|
467
467
|
}
|
|
@@ -494,7 +494,7 @@ class ut {
|
|
|
494
494
|
return this._$AB;
|
|
495
495
|
}
|
|
496
496
|
_$AI(t, e = this) {
|
|
497
|
-
t = He(this, t, e), ot(t) ? t === j || t == null || t === "" ? (this._$AH !== j && this._$AR(), this._$AH = j) : t !== this._$AH && t !== Re && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) :
|
|
497
|
+
t = He(this, t, e), ot(t) ? t === j || t == null || t === "" ? (this._$AH !== j && this._$AR(), this._$AH = j) : t !== this._$AH && t !== Re && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : dn(t) ? this.k(t) : this._(t);
|
|
498
498
|
}
|
|
499
499
|
O(t) {
|
|
500
500
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
@@ -507,17 +507,17 @@ class ut {
|
|
|
507
507
|
}
|
|
508
508
|
$(t) {
|
|
509
509
|
var r;
|
|
510
|
-
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = st.createElement(
|
|
510
|
+
const { values: e, _$litType$: i } = t, s = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = st.createElement(as(i.h, i.h[0]), this.options)), i);
|
|
511
511
|
if (((r = this._$AH) == null ? void 0 : r._$AD) === s)
|
|
512
512
|
this._$AH.p(e);
|
|
513
513
|
else {
|
|
514
|
-
const n = new
|
|
514
|
+
const n = new un(s, this), a = n.u(this.options);
|
|
515
515
|
n.p(e), this.T(a), this._$AH = n;
|
|
516
516
|
}
|
|
517
517
|
}
|
|
518
518
|
_$AC(t) {
|
|
519
|
-
let e =
|
|
520
|
-
return e === void 0 &&
|
|
519
|
+
let e = po.get(t.strings);
|
|
520
|
+
return e === void 0 && po.set(t.strings, e = new st(t)), e;
|
|
521
521
|
}
|
|
522
522
|
k(t) {
|
|
523
523
|
Si(this._$AH) || (this._$AH = [], this._$AR());
|
|
@@ -566,7 +566,7 @@ class Pt {
|
|
|
566
566
|
t === j ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t != null ? t : "");
|
|
567
567
|
}
|
|
568
568
|
}
|
|
569
|
-
class
|
|
569
|
+
class hn extends Pt {
|
|
570
570
|
constructor() {
|
|
571
571
|
super(...arguments), this.type = 3;
|
|
572
572
|
}
|
|
@@ -574,7 +574,7 @@ class pn extends Pt {
|
|
|
574
574
|
this.element[this.name] = t === j ? void 0 : t;
|
|
575
575
|
}
|
|
576
576
|
}
|
|
577
|
-
class
|
|
577
|
+
class pn extends Pt {
|
|
578
578
|
constructor() {
|
|
579
579
|
super(...arguments), this.type = 4;
|
|
580
580
|
}
|
|
@@ -582,7 +582,7 @@ class fn extends Pt {
|
|
|
582
582
|
this.element.toggleAttribute(this.name, !!t && t !== j);
|
|
583
583
|
}
|
|
584
584
|
}
|
|
585
|
-
class
|
|
585
|
+
class fn extends Pt {
|
|
586
586
|
constructor(t, e, i, s, r) {
|
|
587
587
|
super(t, e, i, s, r), this.type = 5;
|
|
588
588
|
}
|
|
@@ -598,7 +598,7 @@ class mn extends Pt {
|
|
|
598
598
|
typeof this._$AH == "function" ? this._$AH.call((i = (e = this.options) == null ? void 0 : e.host) != null ? i : this.element, t) : this._$AH.handleEvent(t);
|
|
599
599
|
}
|
|
600
600
|
}
|
|
601
|
-
class
|
|
601
|
+
class mn {
|
|
602
602
|
constructor(t, e, i) {
|
|
603
603
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
|
|
604
604
|
}
|
|
@@ -610,9 +610,9 @@ class _n {
|
|
|
610
610
|
}
|
|
611
611
|
}
|
|
612
612
|
const Ht = et.litHtmlPolyfillSupport;
|
|
613
|
-
var
|
|
614
|
-
Ht == null || Ht(st, ut), ((
|
|
615
|
-
const
|
|
613
|
+
var Qo;
|
|
614
|
+
Ht == null || Ht(st, ut), ((Qo = et.litHtmlVersions) != null ? Qo : et.litHtmlVersions = []).push("3.2.1");
|
|
615
|
+
const _n = (o, t, e) => {
|
|
616
616
|
var r, n;
|
|
617
617
|
const i = (r = e == null ? void 0 : e.renderBefore) != null ? r : t;
|
|
618
618
|
let s = i._$litPart$;
|
|
@@ -638,7 +638,7 @@ class Fe extends Ne {
|
|
|
638
638
|
}
|
|
639
639
|
update(t) {
|
|
640
640
|
const e = this.render();
|
|
641
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do =
|
|
641
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = _n(e, this.renderRoot, this.renderOptions);
|
|
642
642
|
}
|
|
643
643
|
connectedCallback() {
|
|
644
644
|
var t;
|
|
@@ -652,18 +652,18 @@ class Fe extends Ne {
|
|
|
652
652
|
return Re;
|
|
653
653
|
}
|
|
654
654
|
}
|
|
655
|
-
var
|
|
656
|
-
Fe._$litElement$ = !0, Fe.finalized = !0, (
|
|
655
|
+
var es;
|
|
656
|
+
Fe._$litElement$ = !0, Fe.finalized = !0, (es = globalThis.litElementHydrateSupport) == null || es.call(globalThis, { LitElement: Fe });
|
|
657
657
|
const Bt = globalThis.litElementPolyfillSupport;
|
|
658
658
|
Bt == null || Bt({ LitElement: Fe });
|
|
659
|
-
var
|
|
660
|
-
((
|
|
659
|
+
var ts;
|
|
660
|
+
((ts = globalThis.litElementVersions) != null ? ts : globalThis.litElementVersions = []).push("4.1.1");
|
|
661
661
|
/**
|
|
662
662
|
* @license
|
|
663
663
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
664
664
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
665
665
|
*/
|
|
666
|
-
const
|
|
666
|
+
const gn = (o) => class extends o {
|
|
667
667
|
static get properties() {
|
|
668
668
|
return {
|
|
669
669
|
/**
|
|
@@ -702,102 +702,102 @@ const yn = (o) => class extends o {
|
|
|
702
702
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
703
703
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
704
704
|
*/
|
|
705
|
-
const
|
|
706
|
-
function
|
|
705
|
+
const ls = [], si = /* @__PURE__ */ new Set(), Pi = /* @__PURE__ */ new Set();
|
|
706
|
+
function ds(o) {
|
|
707
707
|
return o && Object.prototype.hasOwnProperty.call(o, "__themes");
|
|
708
708
|
}
|
|
709
|
-
function
|
|
710
|
-
return
|
|
709
|
+
function yn(o) {
|
|
710
|
+
return ds(customElements.get(o));
|
|
711
711
|
}
|
|
712
|
-
function
|
|
712
|
+
function vn(o = []) {
|
|
713
713
|
return [o].flat(1 / 0).filter((t) => t instanceof ki ? !0 : (console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."), !1));
|
|
714
714
|
}
|
|
715
|
-
function
|
|
715
|
+
function cs(o, t) {
|
|
716
716
|
return (o || "").split(" ").some((e) => new RegExp(`^${e.split("*").join(".*")}$`, "u").test(t));
|
|
717
717
|
}
|
|
718
|
-
function
|
|
718
|
+
function us(o) {
|
|
719
719
|
return o.map((t) => t.cssText).join(`
|
|
720
720
|
`);
|
|
721
721
|
}
|
|
722
722
|
const Ct = "vaadin-themable-mixin-style";
|
|
723
|
-
function
|
|
723
|
+
function bn(o, t) {
|
|
724
724
|
const e = document.createElement("style");
|
|
725
|
-
e.id = Ct, e.textContent =
|
|
725
|
+
e.id = Ct, e.textContent = us(o), t.content.appendChild(e);
|
|
726
726
|
}
|
|
727
|
-
function
|
|
727
|
+
function wn(o) {
|
|
728
728
|
if (!o.shadowRoot)
|
|
729
729
|
return;
|
|
730
730
|
const t = o.constructor;
|
|
731
731
|
if (o instanceof Fe)
|
|
732
|
-
[...o.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()),
|
|
732
|
+
[...o.shadowRoot.querySelectorAll("style")].forEach((e) => e.remove()), is(o.shadowRoot, t.elementStyles);
|
|
733
733
|
else {
|
|
734
734
|
const e = o.shadowRoot.getElementById(Ct), i = t.prototype._template;
|
|
735
735
|
e.textContent = i.content.getElementById(Ct).textContent;
|
|
736
736
|
}
|
|
737
737
|
}
|
|
738
|
-
function
|
|
738
|
+
function xn(o) {
|
|
739
739
|
si.forEach((t) => {
|
|
740
740
|
const e = t.deref();
|
|
741
|
-
e instanceof o ?
|
|
741
|
+
e instanceof o ? wn(e) : e || si.delete(t);
|
|
742
742
|
});
|
|
743
743
|
}
|
|
744
|
-
function
|
|
744
|
+
function hs(o) {
|
|
745
745
|
if (o.prototype instanceof Fe)
|
|
746
746
|
o.elementStyles = o.finalizeStyles(o.styles);
|
|
747
747
|
else {
|
|
748
748
|
const t = o.prototype._template;
|
|
749
|
-
t.content.getElementById(Ct).textContent =
|
|
749
|
+
t.content.getElementById(Ct).textContent = us(o.getStylesForThis());
|
|
750
750
|
}
|
|
751
751
|
Pi.forEach((t) => {
|
|
752
752
|
const e = customElements.get(t);
|
|
753
|
-
e !== o && e.prototype instanceof o &&
|
|
753
|
+
e !== o && e.prototype instanceof o && hs(e);
|
|
754
754
|
});
|
|
755
755
|
}
|
|
756
|
-
function
|
|
756
|
+
function Cn(o, t) {
|
|
757
757
|
const e = o.__themes;
|
|
758
758
|
return !e || !t ? !1 : e.some(
|
|
759
759
|
(i) => i.styles.some((s) => t.some((r) => r.cssText === s.cssText))
|
|
760
760
|
);
|
|
761
761
|
}
|
|
762
762
|
function H(o, t, e = {}) {
|
|
763
|
-
t =
|
|
763
|
+
t = vn(t), window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.registerStyles(o, t, e) : ls.push({
|
|
764
764
|
themeFor: o,
|
|
765
765
|
styles: t,
|
|
766
766
|
include: e.include,
|
|
767
767
|
moduleId: e.moduleId
|
|
768
768
|
}), o && Pi.forEach((i) => {
|
|
769
|
-
if (
|
|
769
|
+
if (cs(o, i) && yn(i)) {
|
|
770
770
|
const s = customElements.get(i);
|
|
771
|
-
|
|
771
|
+
Cn(s, t) ? console.warn(`Registering styles that already exist for ${i}`) : (!window.Vaadin || !window.Vaadin.suppressPostFinalizeStylesWarning) && console.warn(
|
|
772
772
|
`The custom element definition for "${i}" was finalized before a style module was registered. Ideally, import component specific style modules before importing the corresponding custom element. This warning can be suppressed by setting "window.Vaadin.suppressPostFinalizeStylesWarning = true".`
|
|
773
|
-
),
|
|
773
|
+
), hs(s), xn(s);
|
|
774
774
|
}
|
|
775
775
|
});
|
|
776
776
|
}
|
|
777
777
|
function ri() {
|
|
778
|
-
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() :
|
|
778
|
+
return window.Vaadin && window.Vaadin.styleModules ? window.Vaadin.styleModules.getAllThemes() : ls;
|
|
779
779
|
}
|
|
780
|
-
function
|
|
780
|
+
function An(o = "") {
|
|
781
781
|
let t = 0;
|
|
782
782
|
return o.startsWith("lumo-") || o.startsWith("material-") ? t = 1 : o.startsWith("vaadin-") && (t = 2), t;
|
|
783
783
|
}
|
|
784
|
-
function
|
|
784
|
+
function ps(o) {
|
|
785
785
|
const t = [];
|
|
786
786
|
return o.include && [].concat(o.include).forEach((e) => {
|
|
787
787
|
const i = ri().find((s) => s.moduleId === e);
|
|
788
|
-
i ? t.push(...
|
|
788
|
+
i ? t.push(...ps(i), ...i.styles) : console.warn(`Included moduleId ${e} not found in style registry`);
|
|
789
789
|
}, o.styles), t;
|
|
790
790
|
}
|
|
791
|
-
function
|
|
792
|
-
const t = `${o}-default-theme`, e = ri().filter((i) => i.moduleId !== t &&
|
|
791
|
+
function Tn(o) {
|
|
792
|
+
const t = `${o}-default-theme`, e = ri().filter((i) => i.moduleId !== t && cs(i.themeFor, o)).map((i) => Lt(zt({}, i), {
|
|
793
793
|
// Prepend styles from included themes
|
|
794
|
-
styles: [...
|
|
794
|
+
styles: [...ps(i), ...i.styles],
|
|
795
795
|
// Map moduleId to includePriority
|
|
796
|
-
includePriority:
|
|
796
|
+
includePriority: An(i.moduleId)
|
|
797
797
|
})).sort((i, s) => s.includePriority - i.includePriority);
|
|
798
798
|
return e.length > 0 ? e : ri().filter((i) => i.moduleId === t);
|
|
799
799
|
}
|
|
800
|
-
const Se = (o) => class extends
|
|
800
|
+
const Se = (o) => class extends gn(o) {
|
|
801
801
|
constructor() {
|
|
802
802
|
super(), si.add(new WeakRef(this));
|
|
803
803
|
}
|
|
@@ -809,7 +809,7 @@ const Se = (o) => class extends yn(o) {
|
|
|
809
809
|
if (super.finalize(), this.is && Pi.add(this.is), this.elementStyles)
|
|
810
810
|
return;
|
|
811
811
|
const e = this.prototype._template;
|
|
812
|
-
!e ||
|
|
812
|
+
!e || ds(this) || bn(this.getStylesForThis(), e);
|
|
813
813
|
}
|
|
814
814
|
/**
|
|
815
815
|
* Covers LitElement based component styling
|
|
@@ -827,7 +827,7 @@ const Se = (o) => class extends yn(o) {
|
|
|
827
827
|
*/
|
|
828
828
|
static getStylesForThis() {
|
|
829
829
|
const e = o.__themes || [], i = Object.getPrototypeOf(this.prototype), s = (i ? i.constructor.__themes : []) || [];
|
|
830
|
-
this.__themes = [...e, ...s, ...
|
|
830
|
+
this.__themes = [...e, ...s, ...Tn(this.is)];
|
|
831
831
|
const r = this.__themes.flatMap((n) => n.styles);
|
|
832
832
|
return r.filter((n, a) => a === r.lastIndexOf(n));
|
|
833
833
|
}
|
|
@@ -837,19 +837,19 @@ const Se = (o) => class extends yn(o) {
|
|
|
837
837
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
838
838
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
839
839
|
*/
|
|
840
|
-
const
|
|
840
|
+
const Dn = (o, ...t) => {
|
|
841
841
|
const e = document.createElement("style");
|
|
842
842
|
e.id = o, e.textContent = t.map((i) => i.toString()).join(`
|
|
843
843
|
`).replace(":host", "html"), document.head.insertAdjacentElement("afterbegin", e);
|
|
844
844
|
}, Ue = (o, ...t) => {
|
|
845
|
-
|
|
845
|
+
Dn(`lumo-${o}`, t);
|
|
846
846
|
};
|
|
847
847
|
/**
|
|
848
848
|
* @license
|
|
849
849
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
850
850
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
851
851
|
*/
|
|
852
|
-
const
|
|
852
|
+
const En = P`
|
|
853
853
|
:host {
|
|
854
854
|
--lumo-size-xs: 1.625rem;
|
|
855
855
|
--lumo-size-s: 1.875rem;
|
|
@@ -865,13 +865,13 @@ const kn = P`
|
|
|
865
865
|
--lumo-icon-size: var(--lumo-icon-size-m);
|
|
866
866
|
}
|
|
867
867
|
`;
|
|
868
|
-
Ue("sizing-props",
|
|
868
|
+
Ue("sizing-props", En);
|
|
869
869
|
/**
|
|
870
870
|
* @license
|
|
871
871
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
872
872
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
873
873
|
*/
|
|
874
|
-
const
|
|
874
|
+
const kn = P`
|
|
875
875
|
:host {
|
|
876
876
|
/* Square */
|
|
877
877
|
--lumo-space-xs: 0.25rem;
|
|
@@ -895,13 +895,13 @@ const Sn = P`
|
|
|
895
895
|
--lumo-space-tall-xl: var(--lumo-space-xl) calc(var(--lumo-space-xl) / 2);
|
|
896
896
|
}
|
|
897
897
|
`;
|
|
898
|
-
Ue("spacing-props",
|
|
898
|
+
Ue("spacing-props", kn);
|
|
899
899
|
/**
|
|
900
900
|
* @license
|
|
901
901
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
902
902
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
903
903
|
*/
|
|
904
|
-
const
|
|
904
|
+
const Sn = P`
|
|
905
905
|
:host {
|
|
906
906
|
/* Border radius */
|
|
907
907
|
--lumo-border-radius-s: 0.25em; /* Checkbox, badge, date-picker year indicator, etc */
|
|
@@ -1003,13 +1003,13 @@ P`
|
|
|
1003
1003
|
--vaadin-input-field-value-font-weight: 500;
|
|
1004
1004
|
}
|
|
1005
1005
|
`;
|
|
1006
|
-
Ue("style-props",
|
|
1006
|
+
Ue("style-props", Sn);
|
|
1007
1007
|
/**
|
|
1008
1008
|
* @license
|
|
1009
1009
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1010
1010
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1011
1011
|
*/
|
|
1012
|
-
const
|
|
1012
|
+
const Pn = P`
|
|
1013
1013
|
:host {
|
|
1014
1014
|
/* Base (background) */
|
|
1015
1015
|
--lumo-base-color: #fff;
|
|
@@ -1095,8 +1095,8 @@ const On = P`
|
|
|
1095
1095
|
}
|
|
1096
1096
|
}
|
|
1097
1097
|
`;
|
|
1098
|
-
Ue("color-props",
|
|
1099
|
-
const
|
|
1098
|
+
Ue("color-props", Pn);
|
|
1099
|
+
const On = P`
|
|
1100
1100
|
[theme~='dark'] {
|
|
1101
1101
|
/* Base (background) */
|
|
1102
1102
|
--lumo-base-color: hsl(214, 35%, 21%);
|
|
@@ -1215,13 +1215,13 @@ const Mn = P`
|
|
|
1215
1215
|
background: transparent;
|
|
1216
1216
|
}
|
|
1217
1217
|
`;
|
|
1218
|
-
H("",
|
|
1218
|
+
H("", On, { moduleId: "lumo-color" });
|
|
1219
1219
|
/**
|
|
1220
1220
|
* @license
|
|
1221
1221
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1222
1222
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1223
1223
|
*/
|
|
1224
|
-
const
|
|
1224
|
+
const Mn = P`
|
|
1225
1225
|
:host {
|
|
1226
1226
|
/* prettier-ignore */
|
|
1227
1227
|
--lumo-font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
@@ -1241,7 +1241,7 @@ const In = P`
|
|
|
1241
1241
|
--lumo-line-height-s: 1.375;
|
|
1242
1242
|
--lumo-line-height-m: 1.625;
|
|
1243
1243
|
}
|
|
1244
|
-
`,
|
|
1244
|
+
`, In = P`
|
|
1245
1245
|
body,
|
|
1246
1246
|
:host {
|
|
1247
1247
|
font-family: var(--lumo-font-family);
|
|
@@ -1334,14 +1334,14 @@ const In = P`
|
|
|
1334
1334
|
border-right: 2px solid var(--lumo-contrast-30pct);
|
|
1335
1335
|
}
|
|
1336
1336
|
`;
|
|
1337
|
-
H("",
|
|
1338
|
-
Ue("typography-props",
|
|
1337
|
+
H("", In, { moduleId: "lumo-typography" });
|
|
1338
|
+
Ue("typography-props", Mn);
|
|
1339
1339
|
/**
|
|
1340
1340
|
* @license
|
|
1341
1341
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1342
1342
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1343
1343
|
*/
|
|
1344
|
-
const
|
|
1344
|
+
const fs = P`
|
|
1345
1345
|
:host {
|
|
1346
1346
|
top: var(--lumo-space-m);
|
|
1347
1347
|
right: var(--lumo-space-m);
|
|
@@ -1407,13 +1407,13 @@ const ms = P`
|
|
|
1407
1407
|
}
|
|
1408
1408
|
}
|
|
1409
1409
|
`;
|
|
1410
|
-
H("",
|
|
1410
|
+
H("", fs, { moduleId: "lumo-overlay" });
|
|
1411
1411
|
/**
|
|
1412
1412
|
* @license
|
|
1413
1413
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
1414
1414
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
1415
1415
|
*/
|
|
1416
|
-
const
|
|
1416
|
+
const ms = P`
|
|
1417
1417
|
:host([opening]),
|
|
1418
1418
|
:host([closing]) {
|
|
1419
1419
|
animation: 0.14s lumo-overlay-dummy-animation;
|
|
@@ -1444,8 +1444,8 @@ const _s = P`
|
|
|
1444
1444
|
}
|
|
1445
1445
|
}
|
|
1446
1446
|
`;
|
|
1447
|
-
H("",
|
|
1448
|
-
const
|
|
1447
|
+
H("", ms, { moduleId: "lumo-menu-overlay-core" });
|
|
1448
|
+
const Nn = P`
|
|
1449
1449
|
/* Small viewport (bottom sheet) styles */
|
|
1450
1450
|
/* Use direct media queries instead of the state attributes ([phone] and [fullscreen]) provided by the elements */
|
|
1451
1451
|
@media (max-width: 450px), (max-height: 450px) {
|
|
@@ -1507,9 +1507,9 @@ const Fn = P`
|
|
|
1507
1507
|
transform: translateY(150%);
|
|
1508
1508
|
}
|
|
1509
1509
|
}
|
|
1510
|
-
`,
|
|
1511
|
-
H("",
|
|
1512
|
-
const
|
|
1510
|
+
`, _s = [fs, ms, Nn];
|
|
1511
|
+
H("", _s, { moduleId: "lumo-menu-overlay" });
|
|
1512
|
+
const Fn = P`
|
|
1513
1513
|
[part='overlay'] {
|
|
1514
1514
|
/*
|
|
1515
1515
|
Width:
|
|
@@ -1555,10 +1555,10 @@ const zn = P`
|
|
|
1555
1555
|
}
|
|
1556
1556
|
}
|
|
1557
1557
|
`;
|
|
1558
|
-
H("vaadin-date-picker-overlay", [
|
|
1558
|
+
H("vaadin-date-picker-overlay", [_s, Fn], {
|
|
1559
1559
|
moduleId: "lumo-date-picker-overlay"
|
|
1560
1560
|
});
|
|
1561
|
-
const
|
|
1561
|
+
const zn = P`
|
|
1562
1562
|
:host {
|
|
1563
1563
|
/* Sizing */
|
|
1564
1564
|
--lumo-button-size: var(--lumo-size-m);
|
|
@@ -1835,7 +1835,7 @@ const Ln = P`
|
|
|
1835
1835
|
margin-right: 0;
|
|
1836
1836
|
}
|
|
1837
1837
|
`;
|
|
1838
|
-
H("vaadin-button",
|
|
1838
|
+
H("vaadin-button", zn, { moduleId: "lumo-button" });
|
|
1839
1839
|
H(
|
|
1840
1840
|
"vaadin-date-picker-year",
|
|
1841
1841
|
P`
|
|
@@ -2360,7 +2360,7 @@ H(
|
|
|
2360
2360
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2361
2361
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2362
2362
|
*/
|
|
2363
|
-
const
|
|
2363
|
+
const Ln = P`
|
|
2364
2364
|
@font-face {
|
|
2365
2365
|
font-family: 'lumo-icons';
|
|
2366
2366
|
src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABEgAAsAAAAAIjQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuKY21hcAAAAYgAAAD4AAADrsCU8d5nbHlmAAACgAAAC2cAABeAWri7U2hlYWQAAA3oAAAAMAAAADZa/6SsaGhlYQAADhgAAAAdAAAAJAbpA35obXR4AAAOOAAAABAAAACspBAAAGxvY2EAAA5IAAAAWAAAAFh57oA4bWF4cAAADqAAAAAfAAAAIAFKAXBuYW1lAAAOwAAAATEAAAIuUUJZCHBvc3QAAA/0AAABKwAAAelm8SzVeJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS+yDiBgZWBgamKaQ8DA0MPhGZ8wGDIyAQUZWBlZsAKAtJcUxgcXjG+0mIO+p/FEMUcxDANKMwIkgMABn8MLQB4nO3SWW6DMABF0UtwCEnIPM/zhLK8LqhfXRybSP14XUYtHV9hGYQwQBNIo3cUIPkhQeM7rib1ekqnXg981XuC1qvy84lzojleh3puxL0hPjGjRU473teloEefAUNGjJkwZcacBUtWrNmwZceeA0dOnLlw5cadB09elPGhGf+j0NTI/65KfXerT6JhqKnpRKtgOpuqaTrtKjPUlqHmhto21I7pL6i6hlqY3q7qGWrfUAeGOjTUkaGODXViqFNDnRnq3FAXhro01JWhrg11Y6hbQ90Z6t5QD4Z6NNSToZ4N9WKoV0O9GerdUB+G+jTUl6GWRvkL24BkEXictVh9bFvVFb/nxvbz+7Rf/N6zHcd2bCfP+Wic1Z9N0jpNHCD9SNqqoVBgbQoMjY+pjA4hNnWa2pV1rHSIif0DGkyT2k10Kmu1Cag6huj4ZpqYBHSqJsTEJgZCG3TaVBFv595nO3ZIv4RIrPPuvefe884599zzO/cRF8G/tgn6CFFImNgkR0ggX8wlspbhSSWSdrC5ozd30s2dw5afzvgtyz9/zG9t1hV4RtF1pXolowvtzc2z6L2aYUQM45jKH9WDTvd1LRDoDASYWhfTzTyvboXz6uZX4ARX5wrF39y+HM2+CJ8d0pkyqBIqoze3D12ez4DrFoYzxI8dWwMrDlZ2DMqQAR9AROsJU+2smlTPaTTco52BVxXa2a2+I8vvqd2dVHm1LoPeTn/AZPRYGthDYOeZjBjKoFsVGulR3lGU95SeCK44oHU7MhWUGUKZDT3oSUcG2GWuh+EDDfUYA/jhIhl0TOsJNYSEu7mQmi3UzfXwZKA4BsVsHLXQYGgJW95qEtpJ1VcW9HiTriZBlFEqxsDjA09yCNUoQxxwd7KWSTt2y3GTKifkqHRCoWZc3m11Wa/dKdFgXD4kSYfkeJBKd8KMz7J8dZn/cGRCcLGDnA2Ge3bKzcvlnTDNthFWLH7Xt80ua5FMjA4WKelWv5Xo16vHuYzpRbJhhdVlftuRK0VlR27D9lu5TF0DPBi60OrHNO0AfP/uRWvhn/U3LXICE+nh+3IHPUJ8JE6GyBjZQLbjGchlrSgYngF8zyrIF4NJD3atUcgWsWunGN/UHX5B5/yg7uF87Nqp4Gf52F3gH73DjEZNRoqCKAr9giQJp5rGJABpiVE2htNhW9R8nw0jqYjCYcY4LIjwYNScf4WN06IZnZCEqsI4cFaQbo4Z1TsZBx40YhXkHOecaYE5oY37IIQ+iJJ+UsDYSun5MuRSBRZRUUhlY2DqOGajOR6zrSU/5My6l2DnusH1GQgnw5BZP7iuYM/ahcfQ7Z8y51ddfutvuwNqWQ0cBYr8fj0U0vsHpwerVaB2sWhXT2NExi2r1KUE2tUuVMnkepVQrxTmpQrZTG4iu8he8iPyM3KcPE/+RP5KPoE2CEAKclCBzXATxkYOtUY/o961PWRqsj0chRrHFBbtrjP9/P0ven5pcbRdpL94vfsy33e5+izuwz3nFLFPVNayPZx/jdG1fOChflFRvYzsW6L18efgLrSWIgvcqnGJYi4skO4xREURjbDuxKke5v0T3Mrzkt2fi31uyZlLLrqIpEuXXsMlgw442Jb0GAxjS1DM20kBoCzHLXm/jEm0IltdcvU0fEW24jgiwwRjVd9u4NJHcIyoHJcwvyVqgqj5hqBJ1ZWSJryh9p56UWhX1XbhRbW2ZopuZWsQd5y8mEQ8M+C6xjRYxZbDKWf5AgY+Qq/l6wSPk16zDFjowYuu+wjx13mfkxbyDDxadYT/LijZyI0THB+6yfLaWsRcO82zo9mWTNtpO18qlorZoIVMwSN40tky5DOQ1MCIAe24mvlsuwIIxPb10+uXDQ4uWz/9m3rj+ql7p6bufZARuPVq5tXtsn6KwfP8Jy0TeWOyNhUJN6mhX5rkUTtUppQWEMNTqEdaCGKFYKJaQrCE4JtDLYOlNEKmO5kBTPGY2A0N2sY3+dVlo1N9ycBsIGtOjQ2p/tlZvzo0ur4v6cOh8NTospB7U/X40KahoU3bGIH97dnwmtHlYffVG3R1YOwKM2vNhrPhCT5zk64sG53oS4b31aYjqe/B7+kQiXBN+b6h21hNUPMq29B8CU4elINdygMPKF1B+WBTG7Z9ZshpN/xwEuuDQZR+nuoo4CDaAiiwXmLpmukMQyPf/JMclqgL1ixZQ/nnP2VbdUODFGt2fgBvL123rlLYu/6A9ckb7F3K0/CyBMEu6aQoPscroCcacVehvyQyCZAsizsWWBkoLC+WAiWnOksLKaeuQDzGuqSk42aiYTiJ4zf9afl17SrqaTO1f+XlZAfIuYcq7/IqYMaMrksOJ6vHkOCPDq943xcCnHqVD9pHFRpMqSPXrIua1WNs+tOz1U+ciTCDpPk+c4QYJIHnYhxP/kVPAq+ahFpVhPcHp8qyarhiF+HsBU9Hrl+UZa876fbKipL0KqB6OdUveErgtOI97fZ63ae9SvWU6k2w1JfwqnUbHsYcFCJFrC/W12zIMMirWYEHxMPs6LGYSdkSZ5TsNP9PCpwnWC3HKZ1lydNjWHC2Mn3l6vL0dHn1ldP3LTSrX+vKrBqv7KmMr8p0SR6P1NqF63or6XRlIyO90f7+kf7+myOhvt4tq7f09oUiTc2/dycGgqFQcCDRLYmi1NL7fk0CknVMxEg/cdfs/TnpJMNkgqwj17B8beVazSrVbU4lG67IZYOCnWrYy3yBR9cyWcChywos3LJBEdhhFoAdYjiw0rLGm0xU5OzoGm5/ZfmHjVZpNNg6SznzGKDdwv2cCtVn6Eaxo12cfxLprpVtTcZ6hVx6dow7Yq7e8LXO8PY9Jgjoze9yCtU5FNbegcKkQMdCbt9au/te4Ebe0jkc0ukUL32eYnTpNs20h0KpUOhZPYwVcfhZnfdqeCvDfXiuCbAoYWcXERPc/mDQD3/hdF+wK4i/xv3kYfprIpAuMkk2kW3kdtS0kBIKpZwp8KxmsCyfM1MFzAss9LBkDxRyThiaqTLwKYKJVTwmWTudMyz+yks09346MDh4m72yOxCKrt1XMlQ1qPVlTEVVQ1ofdK/sCWjtZu9qGwZ8YZ9PPWlo1IV3eW3+U0aXblP39zrt+JPf6UhEQ1rUjNBULN+utyuaDNW34kpAVuSOeMTyWbSNWnooFu+QFNWQ4d/Ox4IPWx41fP/fB/Rjeoz08ezPA9TysMtmnOXfGN7Ui3xIYLDALrlDLOP09qtJuY2OeL0+QZXdRnR1nxRVBF/SOyKKPpcrn9mWzH4rH9IidE+PTNU2182+hOgSItrE1slByS24vaLvJpxOqe4Pduf3HJkZ+jLqUz9rRzB7p8gKcgWZwV1L8JtUS5Z2JxZSOCuBoMTQihMzLbCPA0KqGMAljRQjONklW/wjnXKy8vxT/Elvm3/KiMUMOoV0/vnDYlhec0SMKtt3/kKMyOt33tj2bqxQLsTjSGLl+EAsNhCnTyRGktW55EgCn/A4PlnWn+Mg8bgZrWqHxTbPwMuyy1u5YeZF2SUM7JRhddwRgiRuxpmgJmxn9ZW7XpcF3ViX/ar6ptRpGJ0S9Adg4qhb9sI3vbL7qNJV/y4i07t5TZBiho1imFoMz3gED+CtjYUxvP4SOxov4bFoNPg5aR1e+G4UgDPoedJTpogyCJ7oYvRqoVS0MQAy+CoNEdTDUjok5ZHZL/WtjV7rFj3PKQE3iKp7ou+rIxN3b9LB1dGjeT4cvKo3FrnWpYpuaFd/h3dtV8UeKN1Y9hpR3dt4p0H/zKuPQq0kZQUIIpuDfoiETsnIk+gCWMJZUXHtE8V9LkUc2TE8vOMbO4ax/MACabzyaGXc7u3FBr11ThBdB8SIeMAlCntG2KThHSPsaj2Dc9KNyY2a0KZ7ODaTHoRiFkeYz+shZBpCS4X6471KKKnuHd84edfk5F37d1XO5bbkcltu2ZLNbvnPXiUVAnVvprJrP+NObryjxrllS65md6Tm6wzFHRR4dY3QUUjb7MgxaIixU8hspi98fl/Xc+IB4iU66eCVL9YfAfahiSUt4TONS8x0D8W7u8vd3fGWx6OXlM/U1IoU/s61PGhpyXRFa3eReq2qG56lvmYtXavCC1iN7lbiBpWxXHU+cSlztVLVz0tVN600fVsLxaVDknhYioeoXP3t4lqV1r79MAw0GCI1FTL1YIGzPL1MMlJ9ZsN9P7lvA2yr9ZFUzwzPrVgxN/x/SS+chwB4nGNgZGBgAOLPrYdY4vltvjJwM78AijDUqG5oRND/XzNPZboF5HIwMIFEAU/lC+J4nGNgZGBgDvqfBSRfMAAB81QGRgZUoA0AVvYDbwAAAHicY2BgYGB+MTQwAM8EJo8AAAAAAE4AmgDoAQoBLAFOAXABmgHEAe4CGgKcAugEmgS8BNYE8gUOBSoFegXQBf4GRAZmBrYHGAeQCBgIUghqCP4JRgm+CdoKBAo+CoQKugr0C1QLmgvAeJxjYGRgYNBmTGEQZQABJiDmAkIGhv9gPgMAGJQBvAB4nG2RPU7DMBiG3/QP0UoIBGJh8QILavozdmRo9w7d09RpUzlx5LgVvQMn4BAcgoEzcAgOwVvzSZVQbcnf48fvFysJgGt8IcJxROiG9TgauODuj5ukG+EW+UG4jR4ehTv0Q+EunjER7uEWmk+IWpc0d3gVbuAKb8JN+nfhFvlDuI17fAp36L+Fu1jgR7iHp+jF7Arbz1Nb1nO93pnEncSJFtrVuS3VKB6e5EyX2iVer9TyoOr9eux9pjJnCzW1pdfGWFU5u9WpjzfeV5PBIBMfp7aAwQ4FLPrIkbKWqDHn+67pDRK4s4lzbsEux5qHvcIIMb/nueSMyTKkE3jWFdNLHLjW2PPmMa1Hxn3GjGW/wjT0HtOG09JU4WxLk9LH2ISuiv9twJn9y8fh9uIXI+BknAAAAHicbY7ZboMwEEW5CVBCSLrv+76kfJRjTwHFsdGAG+Xvy5JUfehIHp0rnxmNN/D6ir3/a4YBhvARIMQOIowQY4wEE0yxiz3s4wCHOMIxTnCKM5zjApe4wjVucIs73OMBj3jCM17wije84wMzfHqJ0EVmUkmmJo77oOmrHvfIRZbXsTCZplTZldlgb3TYGVHProwFs11t1A57tcON2rErR3PBqcwF1/6ctI6k0GSU4JHMSS6WghdJQ99sTbfuN7QLJ9vQ37dNrgyktnIxlDYLJNuqitpRbYWKFNuyDT6pog6oOYKHtKakeakqKjHXpPwlGRcsC+OqxLIiJpXqoqqDMreG2l5bv9Ri3TRX+c23DZna9WFFgmXuO6Ps1Jm/w6ErW8N3FbHn/QC444j0AA==)
|
|
@@ -2414,13 +2414,13 @@ const $n = P`
|
|
|
2414
2414
|
--lumo-icons-user: '\\ea2a';
|
|
2415
2415
|
}
|
|
2416
2416
|
`;
|
|
2417
|
-
Ue("font-icons",
|
|
2417
|
+
Ue("font-icons", Ln);
|
|
2418
2418
|
/**
|
|
2419
2419
|
* @license
|
|
2420
2420
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2421
2421
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2422
2422
|
*/
|
|
2423
|
-
const
|
|
2423
|
+
const gs = P`
|
|
2424
2424
|
[part$='button'] {
|
|
2425
2425
|
flex: none;
|
|
2426
2426
|
width: 1em;
|
|
@@ -2448,13 +2448,13 @@ const ys = P`
|
|
|
2448
2448
|
display: block;
|
|
2449
2449
|
}
|
|
2450
2450
|
`;
|
|
2451
|
-
H("",
|
|
2451
|
+
H("", gs, { moduleId: "lumo-field-button" });
|
|
2452
2452
|
/**
|
|
2453
2453
|
* @license
|
|
2454
2454
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2455
2455
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2456
2456
|
*/
|
|
2457
|
-
const
|
|
2457
|
+
const $n = P`
|
|
2458
2458
|
:host {
|
|
2459
2459
|
--_helper-spacing: var(--vaadin-input-field-helper-spacing, 0.4em);
|
|
2460
2460
|
}
|
|
@@ -2516,7 +2516,7 @@ const Rn = P`
|
|
|
2516
2516
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2517
2517
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2518
2518
|
*/
|
|
2519
|
-
const
|
|
2519
|
+
const ys = P`
|
|
2520
2520
|
[part='label'] {
|
|
2521
2521
|
align-self: flex-start;
|
|
2522
2522
|
color: var(--vaadin-input-field-label-color, var(--lumo-secondary-text-color));
|
|
@@ -2629,13 +2629,13 @@ const vs = P`
|
|
|
2629
2629
|
margin-right: calc(var(--lumo-border-radius-m) / 4);
|
|
2630
2630
|
}
|
|
2631
2631
|
`;
|
|
2632
|
-
H("",
|
|
2632
|
+
H("", ys, { moduleId: "lumo-required-field" });
|
|
2633
2633
|
/**
|
|
2634
2634
|
* @license
|
|
2635
2635
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
2636
2636
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
2637
2637
|
*/
|
|
2638
|
-
const
|
|
2638
|
+
const Rn = P`
|
|
2639
2639
|
:host {
|
|
2640
2640
|
--lumo-text-field-size: var(--lumo-size-m);
|
|
2641
2641
|
color: var(--vaadin-input-field-value-color, var(--lumo-body-text-color));
|
|
@@ -2766,11 +2766,11 @@ const Hn = P`
|
|
|
2766
2766
|
[part='clear-button']::before {
|
|
2767
2767
|
content: var(--lumo-icons-cross);
|
|
2768
2768
|
}
|
|
2769
|
-
`,
|
|
2770
|
-
H("",
|
|
2769
|
+
`, vs = [ys, gs, $n, Rn];
|
|
2770
|
+
H("", vs, {
|
|
2771
2771
|
moduleId: "lumo-input-field-shared-styles"
|
|
2772
2772
|
});
|
|
2773
|
-
const
|
|
2773
|
+
const Hn = P`
|
|
2774
2774
|
[part='toggle-button']::before {
|
|
2775
2775
|
content: var(--lumo-icons-calendar);
|
|
2776
2776
|
}
|
|
@@ -2793,7 +2793,7 @@ const Bn = P`
|
|
|
2793
2793
|
--_lumo-text-field-overflow-mask-image: none;
|
|
2794
2794
|
}
|
|
2795
2795
|
`;
|
|
2796
|
-
H("vaadin-date-picker", [
|
|
2796
|
+
H("vaadin-date-picker", [vs, Hn], { moduleId: "lumo-date-picker" });
|
|
2797
2797
|
/**
|
|
2798
2798
|
@license
|
|
2799
2799
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -2815,9 +2815,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2815
2815
|
Code distributed by Google as part of the polymer project is also
|
|
2816
2816
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2817
2817
|
*/
|
|
2818
|
-
let
|
|
2818
|
+
let Bn = /(url\()([^)]*)(\))/g, Vn = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, ft, Q;
|
|
2819
2819
|
function tt(o, t) {
|
|
2820
|
-
if (o &&
|
|
2820
|
+
if (o && Vn.test(o) || o === "//")
|
|
2821
2821
|
return o;
|
|
2822
2822
|
if (ft === void 0) {
|
|
2823
2823
|
ft = !1;
|
|
@@ -2836,7 +2836,7 @@ function tt(o, t) {
|
|
|
2836
2836
|
return Q || (Q = document.implementation.createHTMLDocument("temp"), Q.base = Q.createElement("base"), Q.head.appendChild(Q.base), Q.anchor = Q.createElement("a"), Q.body.appendChild(Q.anchor)), Q.base.href = t, Q.anchor.href = o, Q.anchor.href || o;
|
|
2837
2837
|
}
|
|
2838
2838
|
function Oi(o, t) {
|
|
2839
|
-
return o.replace(
|
|
2839
|
+
return o.replace(Bn, function(e, i, s, r) {
|
|
2840
2840
|
return i + "'" + tt(s.replace(/["']/g, ""), t) + "'" + r;
|
|
2841
2841
|
});
|
|
2842
2842
|
}
|
|
@@ -2852,9 +2852,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2852
2852
|
Code distributed by Google as part of the polymer project is also
|
|
2853
2853
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2854
2854
|
*/
|
|
2855
|
-
const
|
|
2855
|
+
const bs = !window.ShadyDOM || !window.ShadyDOM.inUse;
|
|
2856
2856
|
!window.ShadyCSS || window.ShadyCSS.nativeCss;
|
|
2857
|
-
const
|
|
2857
|
+
const Un = bs && "adoptedStyleSheets" in Document.prototype && "replaceSync" in CSSStyleSheet.prototype && // Since spec may change, feature detect exact API we need
|
|
2858
2858
|
(() => {
|
|
2859
2859
|
try {
|
|
2860
2860
|
const o = new CSSStyleSheet();
|
|
@@ -2865,11 +2865,11 @@ const jn = ws && "adoptedStyleSheets" in Document.prototype && "replaceSync" in
|
|
|
2865
2865
|
return !1;
|
|
2866
2866
|
}
|
|
2867
2867
|
})();
|
|
2868
|
-
let
|
|
2868
|
+
let jn = window.Polymer && window.Polymer.rootPath || Mi(document.baseURI || window.location.href), At = window.Polymer && window.Polymer.sanitizeDOMValue || void 0;
|
|
2869
2869
|
window.Polymer && window.Polymer.setPassiveTouchGestures;
|
|
2870
|
-
let Tt = window.Polymer && window.Polymer.strictTemplatePolicy || !1,
|
|
2870
|
+
let Tt = window.Polymer && window.Polymer.strictTemplatePolicy || !1, Yn = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, ws = window.Polymer && window.Polymer.legacyOptimizations || !1, xs = window.Polymer && window.Polymer.legacyWarnings || !1, Wn = window.Polymer && window.Polymer.syncInitialRender || !1, ni = window.Polymer && window.Polymer.legacyUndefined || !1, qn = window.Polymer && window.Polymer.orderedComputed || !1, fo = window.Polymer && window.Polymer.removeNestedTemplates || !1, Kn = window.Polymer && window.Polymer.fastDomIf || !1, mo = window.Polymer && window.Polymer.suppressTemplateNotifications || !1;
|
|
2871
2871
|
window.Polymer && window.Polymer.legacyNoObservedAttributes;
|
|
2872
|
-
let
|
|
2872
|
+
let Gn = window.Polymer && window.Polymer.useAdoptedStyleSheetsWithBuiltCSS || !1;
|
|
2873
2873
|
/**
|
|
2874
2874
|
@license
|
|
2875
2875
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -2879,14 +2879,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2879
2879
|
Code distributed by Google as part of the polymer project is also
|
|
2880
2880
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2881
2881
|
*/
|
|
2882
|
-
let
|
|
2882
|
+
let Jn = 0;
|
|
2883
2883
|
const U = function(o) {
|
|
2884
2884
|
let t = (
|
|
2885
2885
|
/** @type {!MixinFunction} */
|
|
2886
2886
|
o.__mixinApplications
|
|
2887
2887
|
);
|
|
2888
2888
|
t || (t = /* @__PURE__ */ new WeakMap(), o.__mixinApplications = t);
|
|
2889
|
-
let e =
|
|
2889
|
+
let e = Jn++;
|
|
2890
2890
|
function i(s) {
|
|
2891
2891
|
let r = (
|
|
2892
2892
|
/** @type {!MixinFunction} */
|
|
@@ -2917,14 +2917,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2917
2917
|
Code distributed by Google as part of the polymer project is also
|
|
2918
2918
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2919
2919
|
*/
|
|
2920
|
-
let Ii = {},
|
|
2921
|
-
function
|
|
2922
|
-
Ii[o] =
|
|
2920
|
+
let Ii = {}, Cs = {};
|
|
2921
|
+
function _o(o, t) {
|
|
2922
|
+
Ii[o] = Cs[o.toLowerCase()] = t;
|
|
2923
2923
|
}
|
|
2924
|
-
function
|
|
2925
|
-
return Ii[o] ||
|
|
2924
|
+
function go(o) {
|
|
2925
|
+
return Ii[o] || Cs[o.toLowerCase()];
|
|
2926
2926
|
}
|
|
2927
|
-
function
|
|
2927
|
+
function Xn(o) {
|
|
2928
2928
|
o.querySelector("style") && console.warn("dom-module %s has style outside template", o.id);
|
|
2929
2929
|
}
|
|
2930
2930
|
class rt extends HTMLElement {
|
|
@@ -2945,7 +2945,7 @@ class rt extends HTMLElement {
|
|
|
2945
2945
|
*/
|
|
2946
2946
|
static import(t, e) {
|
|
2947
2947
|
if (t) {
|
|
2948
|
-
let i =
|
|
2948
|
+
let i = go(t);
|
|
2949
2949
|
return i && e ? i.querySelector(e) : i;
|
|
2950
2950
|
}
|
|
2951
2951
|
return null;
|
|
@@ -2993,9 +2993,9 @@ class rt extends HTMLElement {
|
|
|
2993
2993
|
*/
|
|
2994
2994
|
register(t) {
|
|
2995
2995
|
if (t = t || this.id, t) {
|
|
2996
|
-
if (Tt &&
|
|
2997
|
-
throw
|
|
2998
|
-
this.id = t,
|
|
2996
|
+
if (Tt && go(t) !== void 0)
|
|
2997
|
+
throw _o(t, null), new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);
|
|
2998
|
+
this.id = t, _o(t, this), Xn(this);
|
|
2999
2999
|
}
|
|
3000
3000
|
}
|
|
3001
3001
|
}
|
|
@@ -3010,14 +3010,14 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3010
3010
|
Code distributed by Google as part of the polymer project is also
|
|
3011
3011
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3012
3012
|
*/
|
|
3013
|
-
const
|
|
3014
|
-
function
|
|
3013
|
+
const Zn = "link[rel=import][type~=css]", Qn = "include", yo = "shady-unscoped";
|
|
3014
|
+
function As(o) {
|
|
3015
3015
|
return (
|
|
3016
3016
|
/** @type {?DomModule} */
|
|
3017
3017
|
rt.import(o)
|
|
3018
3018
|
);
|
|
3019
3019
|
}
|
|
3020
|
-
function
|
|
3020
|
+
function vo(o) {
|
|
3021
3021
|
let t = o.body ? o.body : o;
|
|
3022
3022
|
const e = Oi(
|
|
3023
3023
|
t.textContent,
|
|
@@ -3025,24 +3025,24 @@ function bo(o) {
|
|
|
3025
3025
|
), i = document.createElement("style");
|
|
3026
3026
|
return i.textContent = e, i;
|
|
3027
3027
|
}
|
|
3028
|
-
function
|
|
3028
|
+
function ea(o) {
|
|
3029
3029
|
const t = o.trim().split(/\s+/), e = [];
|
|
3030
3030
|
for (let i = 0; i < t.length; i++)
|
|
3031
|
-
e.push(...
|
|
3031
|
+
e.push(...ta(t[i]));
|
|
3032
3032
|
return e;
|
|
3033
3033
|
}
|
|
3034
|
-
function
|
|
3035
|
-
const t =
|
|
3034
|
+
function ta(o) {
|
|
3035
|
+
const t = As(o);
|
|
3036
3036
|
if (!t)
|
|
3037
3037
|
return console.warn("Could not find style data in module named", o), [];
|
|
3038
3038
|
if (t._styles === void 0) {
|
|
3039
3039
|
const e = [];
|
|
3040
|
-
e.push(...
|
|
3040
|
+
e.push(...Ds(t));
|
|
3041
3041
|
const i = (
|
|
3042
3042
|
/** @type {?HTMLTemplateElement} */
|
|
3043
3043
|
t.querySelector("template")
|
|
3044
3044
|
);
|
|
3045
|
-
i && e.push(...
|
|
3045
|
+
i && e.push(...Ts(
|
|
3046
3046
|
i,
|
|
3047
3047
|
/** @type {templateWithAssetPath} */
|
|
3048
3048
|
t.assetpath
|
|
@@ -3050,12 +3050,12 @@ function ia(o) {
|
|
|
3050
3050
|
}
|
|
3051
3051
|
return t._styles;
|
|
3052
3052
|
}
|
|
3053
|
-
function
|
|
3053
|
+
function Ts(o, t) {
|
|
3054
3054
|
if (!o._styles) {
|
|
3055
3055
|
const e = [], i = o.content.querySelectorAll("style");
|
|
3056
3056
|
for (let s = 0; s < i.length; s++) {
|
|
3057
|
-
let r = i[s], n = r.getAttribute(
|
|
3058
|
-
n && e.push(...
|
|
3057
|
+
let r = i[s], n = r.getAttribute(Qn);
|
|
3058
|
+
n && e.push(...ea(n).filter(function(a, l, d) {
|
|
3059
3059
|
return d.indexOf(a) === l;
|
|
3060
3060
|
})), t && (r.textContent = Oi(
|
|
3061
3061
|
r.textContent,
|
|
@@ -3067,21 +3067,21 @@ function Ds(o, t) {
|
|
|
3067
3067
|
}
|
|
3068
3068
|
return o._styles;
|
|
3069
3069
|
}
|
|
3070
|
-
function
|
|
3071
|
-
let t =
|
|
3072
|
-
return t ?
|
|
3070
|
+
function ia(o) {
|
|
3071
|
+
let t = As(o);
|
|
3072
|
+
return t ? Ds(t) : [];
|
|
3073
3073
|
}
|
|
3074
|
-
function
|
|
3075
|
-
const t = [], e = o.querySelectorAll(
|
|
3074
|
+
function Ds(o) {
|
|
3075
|
+
const t = [], e = o.querySelectorAll(Zn);
|
|
3076
3076
|
for (let i = 0; i < e.length; i++) {
|
|
3077
3077
|
let s = e[i];
|
|
3078
3078
|
if (s.import) {
|
|
3079
|
-
const r = s.import, n = s.hasAttribute(
|
|
3079
|
+
const r = s.import, n = s.hasAttribute(yo);
|
|
3080
3080
|
if (n && !r._unscopedStyle) {
|
|
3081
|
-
const a =
|
|
3082
|
-
a.setAttribute(
|
|
3081
|
+
const a = vo(r);
|
|
3082
|
+
a.setAttribute(yo, ""), r._unscopedStyle = a;
|
|
3083
3083
|
} else
|
|
3084
|
-
r._style || (r._style =
|
|
3084
|
+
r._style || (r._style = vo(r));
|
|
3085
3085
|
t.push(n ? r._unscopedStyle : r._style);
|
|
3086
3086
|
}
|
|
3087
3087
|
}
|
|
@@ -3113,7 +3113,7 @@ function Pe(o) {
|
|
|
3113
3113
|
let t = o.indexOf(".");
|
|
3114
3114
|
return t === -1 ? o : o.slice(0, t);
|
|
3115
3115
|
}
|
|
3116
|
-
function
|
|
3116
|
+
function Es(o, t) {
|
|
3117
3117
|
return o.indexOf(t + ".") === 0;
|
|
3118
3118
|
}
|
|
3119
3119
|
function nt(o, t) {
|
|
@@ -3122,8 +3122,8 @@ function nt(o, t) {
|
|
|
3122
3122
|
function at(o, t, e) {
|
|
3123
3123
|
return t + e.slice(o.length);
|
|
3124
3124
|
}
|
|
3125
|
-
function
|
|
3126
|
-
return o === t ||
|
|
3125
|
+
function oa(o, t) {
|
|
3126
|
+
return o === t || Es(o, t) || nt(o, t);
|
|
3127
3127
|
}
|
|
3128
3128
|
function Xe(o) {
|
|
3129
3129
|
if (Array.isArray(o)) {
|
|
@@ -3137,11 +3137,11 @@ function Xe(o) {
|
|
|
3137
3137
|
} else
|
|
3138
3138
|
return o;
|
|
3139
3139
|
}
|
|
3140
|
-
function
|
|
3140
|
+
function ks(o) {
|
|
3141
3141
|
return Array.isArray(o) ? Xe(o).split(".") : o.toString().split(".");
|
|
3142
3142
|
}
|
|
3143
3143
|
function J(o, t, e) {
|
|
3144
|
-
let i = o, s =
|
|
3144
|
+
let i = o, s = ks(t);
|
|
3145
3145
|
for (let r = 0; r < s.length; r++) {
|
|
3146
3146
|
if (!i)
|
|
3147
3147
|
return;
|
|
@@ -3150,8 +3150,8 @@ function J(o, t, e) {
|
|
|
3150
3150
|
}
|
|
3151
3151
|
return e && (e.path = s.join(".")), i;
|
|
3152
3152
|
}
|
|
3153
|
-
function
|
|
3154
|
-
let i = o, s =
|
|
3153
|
+
function bo(o, t, e) {
|
|
3154
|
+
let i = o, s = ks(t), r = s[s.length - 1];
|
|
3155
3155
|
if (s.length > 1) {
|
|
3156
3156
|
for (let n = 0; n < s.length - 1; n++) {
|
|
3157
3157
|
let a = s[n];
|
|
@@ -3172,15 +3172,15 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3172
3172
|
Code distributed by Google as part of the polymer project is also
|
|
3173
3173
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3174
3174
|
*/
|
|
3175
|
-
const Dt = {},
|
|
3176
|
-
function
|
|
3175
|
+
const Dt = {}, sa = /-[a-z]/g, ra = /([A-Z])/g;
|
|
3176
|
+
function Ss(o) {
|
|
3177
3177
|
return Dt[o] || (Dt[o] = o.indexOf("-") < 0 ? o : o.replace(
|
|
3178
|
-
|
|
3178
|
+
sa,
|
|
3179
3179
|
(t) => t[1].toUpperCase()
|
|
3180
3180
|
));
|
|
3181
3181
|
}
|
|
3182
3182
|
function Ot(o) {
|
|
3183
|
-
return Dt[o] || (Dt[o] = o.replace(
|
|
3183
|
+
return Dt[o] || (Dt[o] = o.replace(ra, "-$1").toLowerCase());
|
|
3184
3184
|
}
|
|
3185
3185
|
/**
|
|
3186
3186
|
@license
|
|
@@ -3191,9 +3191,9 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3191
3191
|
Code distributed by Google as part of the polymer project is also
|
|
3192
3192
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3193
3193
|
*/
|
|
3194
|
-
let
|
|
3195
|
-
new window.MutationObserver(
|
|
3196
|
-
function
|
|
3194
|
+
let na = 0, Ps = 0, ze = [], aa = 0, li = !1, Os = document.createTextNode("");
|
|
3195
|
+
new window.MutationObserver(la).observe(Os, { characterData: !0 });
|
|
3196
|
+
function la() {
|
|
3197
3197
|
li = !1;
|
|
3198
3198
|
const o = ze.length;
|
|
3199
3199
|
for (let t = 0; t < o; t++) {
|
|
@@ -3207,9 +3207,9 @@ function da() {
|
|
|
3207
3207
|
});
|
|
3208
3208
|
}
|
|
3209
3209
|
}
|
|
3210
|
-
ze.splice(0, o),
|
|
3210
|
+
ze.splice(0, o), Ps += o;
|
|
3211
3211
|
}
|
|
3212
|
-
const
|
|
3212
|
+
const da = {
|
|
3213
3213
|
/**
|
|
3214
3214
|
* Returns a sub-module with the async interface providing the provided
|
|
3215
3215
|
* delay.
|
|
@@ -3249,7 +3249,7 @@ const ca = {
|
|
|
3249
3249
|
cancel(o) {
|
|
3250
3250
|
window.clearTimeout(o);
|
|
3251
3251
|
}
|
|
3252
|
-
},
|
|
3252
|
+
}, Ms = {
|
|
3253
3253
|
/**
|
|
3254
3254
|
* Enqueues a function called at microtask timing.
|
|
3255
3255
|
*
|
|
@@ -3258,7 +3258,7 @@ const ca = {
|
|
|
3258
3258
|
* @return {number} Handle used for canceling task
|
|
3259
3259
|
*/
|
|
3260
3260
|
run(o) {
|
|
3261
|
-
return li || (li = !0,
|
|
3261
|
+
return li || (li = !0, Os.textContent = aa++), ze.push(o), na++;
|
|
3262
3262
|
},
|
|
3263
3263
|
/**
|
|
3264
3264
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -3268,7 +3268,7 @@ const ca = {
|
|
|
3268
3268
|
* @return {void}
|
|
3269
3269
|
*/
|
|
3270
3270
|
cancel(o) {
|
|
3271
|
-
const t = o -
|
|
3271
|
+
const t = o - Ps;
|
|
3272
3272
|
if (t >= 0) {
|
|
3273
3273
|
if (!ze[t])
|
|
3274
3274
|
throw new Error("invalid async handle: " + o);
|
|
@@ -3285,7 +3285,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3285
3285
|
Code distributed by Google as part of the polymer project is also
|
|
3286
3286
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3287
3287
|
*/
|
|
3288
|
-
const
|
|
3288
|
+
const ca = Ms, Is = U(
|
|
3289
3289
|
/**
|
|
3290
3290
|
* @template T
|
|
3291
3291
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -3494,7 +3494,7 @@ const ua = Is, Ns = U(
|
|
|
3494
3494
|
* @override
|
|
3495
3495
|
*/
|
|
3496
3496
|
_invalidateProperties() {
|
|
3497
|
-
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0,
|
|
3497
|
+
!this.__dataInvalid && this.__dataReady && (this.__dataInvalid = !0, ca.run(() => {
|
|
3498
3498
|
this.__dataInvalid && (this.__dataInvalid = !1, this._flushProperties());
|
|
3499
3499
|
}));
|
|
3500
3500
|
}
|
|
@@ -3721,23 +3721,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3721
3721
|
Code distributed by Google as part of the polymer project is also
|
|
3722
3722
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3723
3723
|
*/
|
|
3724
|
-
const
|
|
3724
|
+
const Ns = {};
|
|
3725
3725
|
let mt = HTMLElement.prototype;
|
|
3726
3726
|
for (; mt; ) {
|
|
3727
3727
|
let o = Object.getOwnPropertyNames(mt);
|
|
3728
3728
|
for (let t = 0; t < o.length; t++)
|
|
3729
|
-
|
|
3729
|
+
Ns[o[t]] = !0;
|
|
3730
3730
|
mt = Object.getPrototypeOf(mt);
|
|
3731
3731
|
}
|
|
3732
|
-
const
|
|
3733
|
-
function
|
|
3734
|
-
if (!
|
|
3732
|
+
const ua = window.trustedTypes ? (o) => trustedTypes.isHTML(o) || trustedTypes.isScript(o) || trustedTypes.isScriptURL(o) : () => !1;
|
|
3733
|
+
function ha(o, t) {
|
|
3734
|
+
if (!Ns[t]) {
|
|
3735
3735
|
let e = o[t];
|
|
3736
3736
|
e !== void 0 && (o.__data ? o._setPendingProperty(t, e) : (o.__dataProto ? o.hasOwnProperty(JSCompiler_renameProperty("__dataProto", o)) || (o.__dataProto = Object.create(o.__dataProto)) : o.__dataProto = {}, o.__dataProto[t] = e));
|
|
3737
3737
|
}
|
|
3738
3738
|
}
|
|
3739
|
-
const
|
|
3740
|
-
const t =
|
|
3739
|
+
const pa = U((o) => {
|
|
3740
|
+
const t = Is(o);
|
|
3741
3741
|
class e extends t {
|
|
3742
3742
|
/**
|
|
3743
3743
|
* Generates property accessors for all attributes in the standard
|
|
@@ -3755,7 +3755,7 @@ const fa = U((o) => {
|
|
|
3755
3755
|
this.observedAttributes
|
|
3756
3756
|
);
|
|
3757
3757
|
for (let r = 0; r < s.length; r++)
|
|
3758
|
-
this.prototype._createPropertyAccessor(
|
|
3758
|
+
this.prototype._createPropertyAccessor(Ss(s[r]));
|
|
3759
3759
|
}
|
|
3760
3760
|
/**
|
|
3761
3761
|
* Returns an attribute name that corresponds to the given property.
|
|
@@ -3832,7 +3832,7 @@ const fa = U((o) => {
|
|
|
3832
3832
|
if (s instanceof Date)
|
|
3833
3833
|
return s.toString();
|
|
3834
3834
|
if (s) {
|
|
3835
|
-
if (
|
|
3835
|
+
if (ua(s))
|
|
3836
3836
|
return (
|
|
3837
3837
|
/** @type {?} */
|
|
3838
3838
|
s
|
|
@@ -3913,7 +3913,7 @@ const fa = U((o) => {
|
|
|
3913
3913
|
* @override
|
|
3914
3914
|
*/
|
|
3915
3915
|
_definePropertyAccessor(s, r) {
|
|
3916
|
-
|
|
3916
|
+
ha(this, s), super._definePropertyAccessor(s, r);
|
|
3917
3917
|
}
|
|
3918
3918
|
/**
|
|
3919
3919
|
* Returns true if this library created an accessor for the given property.
|
|
@@ -3948,23 +3948,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
3948
3948
|
Code distributed by Google as part of the polymer project is also
|
|
3949
3949
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
3950
3950
|
*/
|
|
3951
|
-
const
|
|
3951
|
+
const fa = {
|
|
3952
3952
|
"dom-if": !0,
|
|
3953
3953
|
"dom-repeat": !0
|
|
3954
3954
|
};
|
|
3955
|
-
let
|
|
3956
|
-
function
|
|
3957
|
-
if (!
|
|
3958
|
-
|
|
3955
|
+
let wo = !1, xo = !1;
|
|
3956
|
+
function ma() {
|
|
3957
|
+
if (!wo) {
|
|
3958
|
+
wo = !0;
|
|
3959
3959
|
const o = document.createElement("textarea");
|
|
3960
|
-
o.placeholder = "a",
|
|
3960
|
+
o.placeholder = "a", xo = o.placeholder === o.textContent;
|
|
3961
3961
|
}
|
|
3962
|
-
return
|
|
3962
|
+
return xo;
|
|
3963
3963
|
}
|
|
3964
|
-
function
|
|
3965
|
-
|
|
3964
|
+
function _a(o) {
|
|
3965
|
+
ma() && o.localName === "textarea" && o.placeholder && o.placeholder === o.textContent && (o.textContent = null);
|
|
3966
3966
|
}
|
|
3967
|
-
const
|
|
3967
|
+
const ga = (() => {
|
|
3968
3968
|
const o = window.trustedTypes && window.trustedTypes.createPolicy(
|
|
3969
3969
|
"polymer-template-event-attribute-policy",
|
|
3970
3970
|
{
|
|
@@ -3983,19 +3983,19 @@ const ya = (() => {
|
|
|
3983
3983
|
t.setAttribute(i, s);
|
|
3984
3984
|
};
|
|
3985
3985
|
})();
|
|
3986
|
-
function
|
|
3986
|
+
function ya(o) {
|
|
3987
3987
|
let t = o.getAttribute("is");
|
|
3988
|
-
if (t &&
|
|
3988
|
+
if (t && fa[t]) {
|
|
3989
3989
|
let e = o;
|
|
3990
3990
|
for (e.removeAttribute("is"), o = e.ownerDocument.createElement(t), e.parentNode.replaceChild(o, e), o.appendChild(e); e.attributes.length; ) {
|
|
3991
3991
|
const { name: i } = e.attributes[0];
|
|
3992
|
-
|
|
3992
|
+
ga(o, e, i), e.removeAttribute(i);
|
|
3993
3993
|
}
|
|
3994
3994
|
}
|
|
3995
3995
|
return o;
|
|
3996
3996
|
}
|
|
3997
|
-
function
|
|
3998
|
-
let e = t.parentInfo &&
|
|
3997
|
+
function Fs(o, t) {
|
|
3998
|
+
let e = t.parentInfo && Fs(o, t.parentInfo);
|
|
3999
3999
|
if (e) {
|
|
4000
4000
|
for (let i = e.firstChild, s = 0; i; i = i.nextSibling)
|
|
4001
4001
|
if (t.parentIndex === s++)
|
|
@@ -4003,23 +4003,23 @@ function zs(o, t) {
|
|
|
4003
4003
|
} else
|
|
4004
4004
|
return o;
|
|
4005
4005
|
}
|
|
4006
|
-
function
|
|
4006
|
+
function va(o, t, e, i) {
|
|
4007
4007
|
i.id && (t[i.id] = e);
|
|
4008
4008
|
}
|
|
4009
|
-
function
|
|
4009
|
+
function ba(o, t, e) {
|
|
4010
4010
|
if (e.events && e.events.length)
|
|
4011
4011
|
for (let i = 0, s = e.events, r; i < s.length && (r = s[i]); i++)
|
|
4012
4012
|
o._addMethodEventListenerToNode(t, r.name, r.value, o);
|
|
4013
4013
|
}
|
|
4014
|
-
function
|
|
4014
|
+
function wa(o, t, e, i) {
|
|
4015
4015
|
e.templateInfo && (t._templateInfo = e.templateInfo, t._parentTemplateInfo = i);
|
|
4016
4016
|
}
|
|
4017
|
-
function
|
|
4017
|
+
function xa(o, t, e) {
|
|
4018
4018
|
return o = o._methodHost || o, function(s) {
|
|
4019
4019
|
o[e] ? o[e](s, s.detail) : console.warn("listener method `" + e + "` not defined");
|
|
4020
4020
|
};
|
|
4021
4021
|
}
|
|
4022
|
-
const
|
|
4022
|
+
const Ca = U(
|
|
4023
4023
|
/**
|
|
4024
4024
|
* @template T
|
|
4025
4025
|
* @param {function(new:T)} superClass Class to apply mixin to.
|
|
@@ -4146,7 +4146,7 @@ const Aa = U(
|
|
|
4146
4146
|
/** @type {!HTMLTemplateElement} */
|
|
4147
4147
|
i
|
|
4148
4148
|
);
|
|
4149
|
-
return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, s, r) || n : a.localName === "slot" && (s.hasInsertionPoint = !0),
|
|
4149
|
+
return a.localName == "template" && !a.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(a, s, r) || n : a.localName === "slot" && (s.hasInsertionPoint = !0), _a(a), a.firstChild && this._parseTemplateChildNodes(a, s, r), a.hasAttributes && a.hasAttributes() && (n = this._parseTemplateNodeAttributes(a, s, r) || n), n || r.noted;
|
|
4150
4150
|
}
|
|
4151
4151
|
/**
|
|
4152
4152
|
* Parses template child nodes for the given root node.
|
|
@@ -4164,7 +4164,7 @@ const Aa = U(
|
|
|
4164
4164
|
static _parseTemplateChildNodes(i, s, r) {
|
|
4165
4165
|
if (!(i.localName === "script" || i.localName === "style"))
|
|
4166
4166
|
for (let n = i.firstChild, a = 0, l; n; n = l) {
|
|
4167
|
-
if (n.localName == "template" && (n =
|
|
4167
|
+
if (n.localName == "template" && (n = ya(n)), l = n.nextSibling, n.nodeType === Node.TEXT_NODE) {
|
|
4168
4168
|
let c = l;
|
|
4169
4169
|
for (; c && c.nodeType === Node.TEXT_NODE; )
|
|
4170
4170
|
n.textContent += c.textContent, l = c.nextSibling, i.removeChild(c), c = l;
|
|
@@ -4299,8 +4299,8 @@ const Aa = U(
|
|
|
4299
4299
|
let l = a.nodeList = new Array(r.length);
|
|
4300
4300
|
a.$ = {};
|
|
4301
4301
|
for (let d = 0, c = r.length, u; d < c && (u = r[d]); d++) {
|
|
4302
|
-
let h = l[d] =
|
|
4303
|
-
|
|
4302
|
+
let h = l[d] = Fs(a, u);
|
|
4303
|
+
va(this, a.$, h, u), wa(this, h, u, s), ba(this, h, u);
|
|
4304
4304
|
}
|
|
4305
4305
|
return a = /** @type {!StampedTemplate} */
|
|
4306
4306
|
a, a;
|
|
@@ -4321,7 +4321,7 @@ const Aa = U(
|
|
|
4321
4321
|
*/
|
|
4322
4322
|
_addMethodEventListenerToNode(i, s, r, n) {
|
|
4323
4323
|
n = n || i;
|
|
4324
|
-
let a =
|
|
4324
|
+
let a = xa(n, s, r);
|
|
4325
4325
|
return this._addEventListenerToNode(i, s, a), a;
|
|
4326
4326
|
}
|
|
4327
4327
|
/**
|
|
@@ -4371,7 +4371,7 @@ const dt = [], O = {
|
|
|
4371
4371
|
PROPAGATE: "__propagateEffects",
|
|
4372
4372
|
OBSERVE: "__observeEffects",
|
|
4373
4373
|
READ_ONLY: "__readOnly"
|
|
4374
|
-
},
|
|
4374
|
+
}, zs = "__computeInfo", Aa = /[A-Z]/;
|
|
4375
4375
|
function Vt(o, t, e) {
|
|
4376
4376
|
let i = o[t];
|
|
4377
4377
|
if (!i)
|
|
@@ -4398,7 +4398,7 @@ function Ze(o, t, e, i, s, r) {
|
|
|
4398
4398
|
}
|
|
4399
4399
|
return !1;
|
|
4400
4400
|
}
|
|
4401
|
-
function
|
|
4401
|
+
function Ta(o, t, e, i, s, r, n, a) {
|
|
4402
4402
|
let l = !1, d = n ? Pe(i) : i, c = t[d];
|
|
4403
4403
|
if (c)
|
|
4404
4404
|
for (let u = 0, h = c.length, p; u < h && (p = c[u]); u++)
|
|
@@ -4411,30 +4411,30 @@ function Ni(o, t) {
|
|
|
4411
4411
|
/** @type {string} */
|
|
4412
4412
|
t.name
|
|
4413
4413
|
);
|
|
4414
|
-
return e == o || !!(t.structured &&
|
|
4414
|
+
return e == o || !!(t.structured && Es(e, o)) || !!(t.wildcard && nt(e, o));
|
|
4415
4415
|
} else
|
|
4416
4416
|
return !0;
|
|
4417
4417
|
}
|
|
4418
|
-
function
|
|
4418
|
+
function Co(o, t, e, i, s) {
|
|
4419
4419
|
let r = typeof s.method == "string" ? o[s.method] : s.method, n = s.property;
|
|
4420
4420
|
r ? r.call(o, o.__data[n], i[n]) : s.dynamicFn || console.warn("observer method `" + s.method + "` not defined");
|
|
4421
4421
|
}
|
|
4422
|
-
function
|
|
4422
|
+
function Da(o, t, e, i, s) {
|
|
4423
4423
|
let r = o[O.NOTIFY], n, a = lt++;
|
|
4424
4424
|
for (let d in t)
|
|
4425
|
-
t[d] && (r &&
|
|
4425
|
+
t[d] && (r && Ta(o, r, a, d, e, i, s) || s && Ea(o, d, e)) && (n = !0);
|
|
4426
4426
|
let l;
|
|
4427
4427
|
n && (l = o.__dataHost) && l._invalidateProperties && l._invalidateProperties();
|
|
4428
4428
|
}
|
|
4429
|
-
function
|
|
4429
|
+
function Ea(o, t, e) {
|
|
4430
4430
|
let i = Pe(t);
|
|
4431
4431
|
if (i !== t) {
|
|
4432
4432
|
let s = Ot(i) + "-changed";
|
|
4433
|
-
return
|
|
4433
|
+
return Ls(o, s, e[t], t), !0;
|
|
4434
4434
|
}
|
|
4435
4435
|
return !1;
|
|
4436
4436
|
}
|
|
4437
|
-
function
|
|
4437
|
+
function Ls(o, t, e, i) {
|
|
4438
4438
|
let s = {
|
|
4439
4439
|
value: e,
|
|
4440
4440
|
queueProperty: !0
|
|
@@ -4444,18 +4444,18 @@ function $s(o, t, e, i) {
|
|
|
4444
4444
|
o
|
|
4445
4445
|
).dispatchEvent(new CustomEvent(t, { detail: s }));
|
|
4446
4446
|
}
|
|
4447
|
-
function
|
|
4447
|
+
function ka(o, t, e, i, s, r) {
|
|
4448
4448
|
let a = (r ? Pe(t) : t) != t ? t : null, l = a ? J(o, a) : o.__data[t];
|
|
4449
|
-
a && l === void 0 && (l = e[t]),
|
|
4449
|
+
a && l === void 0 && (l = e[t]), Ls(o, s.eventName, l, a);
|
|
4450
4450
|
}
|
|
4451
|
-
function
|
|
4451
|
+
function Sa(o, t, e, i, s) {
|
|
4452
4452
|
let r, n = (
|
|
4453
4453
|
/** @type {Object} */
|
|
4454
4454
|
o.detail
|
|
4455
4455
|
), a = n && n.path;
|
|
4456
4456
|
a ? (i = at(e, i, a), r = n && n.value) : r = o.currentTarget[e], r = s ? !r : r, (!t[O.READ_ONLY] || !t[O.READ_ONLY][i]) && t._setPendingPropertyOrPath(i, r, !0, !!a) && (!n || !n.queueProperty) && t._invalidateProperties();
|
|
4457
4457
|
}
|
|
4458
|
-
function
|
|
4458
|
+
function Pa(o, t, e, i, s) {
|
|
4459
4459
|
let r = o.__data[t];
|
|
4460
4460
|
At && (r = At(
|
|
4461
4461
|
r,
|
|
@@ -4465,17 +4465,17 @@ function Oa(o, t, e, i, s) {
|
|
|
4465
4465
|
o
|
|
4466
4466
|
)), o._propertyToAttribute(t, s.attrName, r);
|
|
4467
4467
|
}
|
|
4468
|
-
function
|
|
4468
|
+
function Oa(o, t, e, i) {
|
|
4469
4469
|
let s = o[O.COMPUTE];
|
|
4470
4470
|
if (s)
|
|
4471
|
-
if (
|
|
4471
|
+
if (qn) {
|
|
4472
4472
|
lt++;
|
|
4473
|
-
const r =
|
|
4473
|
+
const r = Ia(o), n = [];
|
|
4474
4474
|
for (let l in t)
|
|
4475
|
-
|
|
4475
|
+
Ao(l, s, n, r, i);
|
|
4476
4476
|
let a;
|
|
4477
4477
|
for (; a = n.shift(); )
|
|
4478
|
-
|
|
4478
|
+
$s(o, "", t, e, a) && Ao(a.methodInfo, s, n, r, i);
|
|
4479
4479
|
Object.assign(
|
|
4480
4480
|
/** @type {!Object} */
|
|
4481
4481
|
e,
|
|
@@ -4499,7 +4499,7 @@ function Ma(o, t, e, i) {
|
|
|
4499
4499
|
), r = o.__dataPending, o.__dataPending = null;
|
|
4500
4500
|
}
|
|
4501
4501
|
}
|
|
4502
|
-
const
|
|
4502
|
+
const Ma = (o, t, e) => {
|
|
4503
4503
|
let i = 0, s = t.length - 1, r = -1;
|
|
4504
4504
|
for (; i <= s; ) {
|
|
4505
4505
|
const n = i + s >> 1, a = e.get(t[n].methodInfo) - e.get(o.methodInfo);
|
|
@@ -4513,20 +4513,20 @@ const Ia = (o, t, e) => {
|
|
|
4513
4513
|
}
|
|
4514
4514
|
}
|
|
4515
4515
|
r < 0 && (r = s + 1), t.splice(r, 0, o);
|
|
4516
|
-
},
|
|
4516
|
+
}, Ao = (o, t, e, i, s) => {
|
|
4517
4517
|
const r = s ? Pe(o) : o, n = t[r];
|
|
4518
4518
|
if (n)
|
|
4519
4519
|
for (let a = 0; a < n.length; a++) {
|
|
4520
4520
|
const l = n[a];
|
|
4521
|
-
l.info.lastRun !== lt && (!s || Ni(o, l.trigger)) && (l.info.lastRun = lt,
|
|
4521
|
+
l.info.lastRun !== lt && (!s || Ni(o, l.trigger)) && (l.info.lastRun = lt, Ma(l.info, e, i));
|
|
4522
4522
|
}
|
|
4523
4523
|
};
|
|
4524
|
-
function
|
|
4524
|
+
function Ia(o) {
|
|
4525
4525
|
let t = o.constructor.__orderedComputedDeps;
|
|
4526
4526
|
if (!t) {
|
|
4527
4527
|
t = /* @__PURE__ */ new Map();
|
|
4528
4528
|
const e = o[O.COMPUTE];
|
|
4529
|
-
let { counts: i, ready: s, total: r } =
|
|
4529
|
+
let { counts: i, ready: s, total: r } = Na(o), n;
|
|
4530
4530
|
for (; n = s.shift(); ) {
|
|
4531
4531
|
t.set(n, t.size);
|
|
4532
4532
|
const a = e[n];
|
|
@@ -4540,8 +4540,8 @@ function Na(o) {
|
|
|
4540
4540
|
}
|
|
4541
4541
|
return t;
|
|
4542
4542
|
}
|
|
4543
|
-
function
|
|
4544
|
-
const t = o[
|
|
4543
|
+
function Na(o) {
|
|
4544
|
+
const t = o[zs], e = {}, i = o[O.COMPUTE], s = [];
|
|
4545
4545
|
let r = 0;
|
|
4546
4546
|
for (let n in t) {
|
|
4547
4547
|
const a = t[n];
|
|
@@ -4551,14 +4551,14 @@ function Fa(o) {
|
|
|
4551
4551
|
t[n] || s.push(n);
|
|
4552
4552
|
return { counts: e, ready: s, total: r };
|
|
4553
4553
|
}
|
|
4554
|
-
function
|
|
4554
|
+
function $s(o, t, e, i, s) {
|
|
4555
4555
|
let r = di(o, t, e, i, s);
|
|
4556
4556
|
if (r === dt)
|
|
4557
4557
|
return !1;
|
|
4558
4558
|
let n = s.methodInfo;
|
|
4559
4559
|
return o.__dataHasAccessor && o.__dataHasAccessor[n] ? o._setPendingProperty(n, r, !0) : (o[n] = r, !1);
|
|
4560
4560
|
}
|
|
4561
|
-
function
|
|
4561
|
+
function Fa(o, t, e) {
|
|
4562
4562
|
let i = o.__dataLinkedPaths;
|
|
4563
4563
|
if (i) {
|
|
4564
4564
|
let s;
|
|
@@ -4571,17 +4571,17 @@ function za(o, t, e) {
|
|
|
4571
4571
|
function Ut(o, t, e, i, s, r, n) {
|
|
4572
4572
|
e.bindings = e.bindings || [];
|
|
4573
4573
|
let a = { kind: i, target: s, parts: r, literal: n, isCompound: r.length !== 1 };
|
|
4574
|
-
if (e.bindings.push(a),
|
|
4574
|
+
if (e.bindings.push(a), Ha(a)) {
|
|
4575
4575
|
let { event: d, negate: c } = a.parts[0];
|
|
4576
4576
|
a.listenerEvent = d || Ot(s) + "-changed", a.listenerNegate = c;
|
|
4577
4577
|
}
|
|
4578
4578
|
let l = t.nodeInfoList.length;
|
|
4579
4579
|
for (let d = 0; d < a.parts.length; d++) {
|
|
4580
4580
|
let c = a.parts[d];
|
|
4581
|
-
c.compoundIndex = d,
|
|
4581
|
+
c.compoundIndex = d, za(o, t, a, c, l);
|
|
4582
4582
|
}
|
|
4583
4583
|
}
|
|
4584
|
-
function
|
|
4584
|
+
function za(o, t, e, i, s) {
|
|
4585
4585
|
if (!i.literal)
|
|
4586
4586
|
if (e.kind === "attribute" && e.target[0] === "-")
|
|
4587
4587
|
console.warn("Cannot set attribute " + e.target + ' because "-" is not a valid attribute starting character');
|
|
@@ -4589,26 +4589,26 @@ function La(o, t, e, i, s) {
|
|
|
4589
4589
|
let r = i.dependencies, n = { index: s, binding: e, part: i, evaluator: o };
|
|
4590
4590
|
for (let a = 0; a < r.length; a++) {
|
|
4591
4591
|
let l = r[a];
|
|
4592
|
-
typeof l == "string" && (l =
|
|
4593
|
-
fn:
|
|
4592
|
+
typeof l == "string" && (l = Hs(l), l.wildcard = !0), o._addTemplatePropertyEffect(t, l.rootProperty, {
|
|
4593
|
+
fn: La,
|
|
4594
4594
|
info: n,
|
|
4595
4595
|
trigger: l
|
|
4596
4596
|
});
|
|
4597
4597
|
}
|
|
4598
4598
|
}
|
|
4599
4599
|
}
|
|
4600
|
-
function
|
|
4600
|
+
function La(o, t, e, i, s, r, n) {
|
|
4601
4601
|
let a = n[s.index], l = s.binding, d = s.part;
|
|
4602
4602
|
if (r && d.source && t.length > d.source.length && l.kind == "property" && !l.isCompound && a.__isPropertyEffectsClient && a.__dataHasAccessor && a.__dataHasAccessor[l.target]) {
|
|
4603
4603
|
let c = e[t];
|
|
4604
4604
|
t = at(d.source, l.target, t), a._setPendingPropertyOrPath(t, c, !1, !0) && o._enqueueClient(a);
|
|
4605
4605
|
} else {
|
|
4606
4606
|
let c = s.evaluator._evaluateBinding(o, d, t, e, i, r);
|
|
4607
|
-
c !== dt &&
|
|
4607
|
+
c !== dt && $a(o, a, l, d, c);
|
|
4608
4608
|
}
|
|
4609
4609
|
}
|
|
4610
|
-
function
|
|
4611
|
-
if (s =
|
|
4610
|
+
function $a(o, t, e, i, s) {
|
|
4611
|
+
if (s = Ra(t, s, e, i), At && (s = At(s, e.target, e.kind, t)), e.kind == "attribute")
|
|
4612
4612
|
o._valueToNodeAttribute(
|
|
4613
4613
|
/** @type {Element} */
|
|
4614
4614
|
t,
|
|
@@ -4620,17 +4620,17 @@ function Ra(o, t, e, i, s) {
|
|
|
4620
4620
|
t.__isPropertyEffectsClient && t.__dataHasAccessor && t.__dataHasAccessor[r] ? (!t[O.READ_ONLY] || !t[O.READ_ONLY][r]) && t._setPendingProperty(r, s) && o._enqueueClient(t) : o._setUnmanagedPropertyToNode(t, r, s);
|
|
4621
4621
|
}
|
|
4622
4622
|
}
|
|
4623
|
-
function
|
|
4623
|
+
function Ra(o, t, e, i) {
|
|
4624
4624
|
if (e.isCompound) {
|
|
4625
4625
|
let s = o.__dataCompoundStorage[e.target];
|
|
4626
4626
|
s[i.compoundIndex] = t, t = s.join("");
|
|
4627
4627
|
}
|
|
4628
4628
|
return e.kind !== "attribute" && (e.target === "textContent" || e.target === "value" && (o.localName === "input" || o.localName === "textarea")) && (t = t == null ? "" : t), t;
|
|
4629
4629
|
}
|
|
4630
|
-
function
|
|
4630
|
+
function Ha(o) {
|
|
4631
4631
|
return !!o.target && o.kind != "attribute" && o.kind != "text" && !o.isCompound && o.parts[0].mode === "{";
|
|
4632
4632
|
}
|
|
4633
|
-
function
|
|
4633
|
+
function Ba(o, t) {
|
|
4634
4634
|
let { nodeList: e, nodeInfoList: i } = t;
|
|
4635
4635
|
if (i.length)
|
|
4636
4636
|
for (let s = 0; s < i.length; s++) {
|
|
@@ -4638,12 +4638,12 @@ function Va(o, t) {
|
|
|
4638
4638
|
if (a)
|
|
4639
4639
|
for (let l = 0; l < a.length; l++) {
|
|
4640
4640
|
let d = a[l];
|
|
4641
|
-
|
|
4641
|
+
Va(n, d), Ua(n, o, d);
|
|
4642
4642
|
}
|
|
4643
4643
|
n.__dataHost = o;
|
|
4644
4644
|
}
|
|
4645
4645
|
}
|
|
4646
|
-
function
|
|
4646
|
+
function Va(o, t) {
|
|
4647
4647
|
if (t.isCompound) {
|
|
4648
4648
|
let e = o.__dataCompoundStorage || (o.__dataCompoundStorage = {}), i = t.parts, s = new Array(i.length);
|
|
4649
4649
|
for (let n = 0; n < i.length; n++)
|
|
@@ -4652,15 +4652,15 @@ function Ua(o, t) {
|
|
|
4652
4652
|
e[r] = s, t.literal && t.kind == "property" && (r === "className" && (o = W(o)), o[r] = t.literal);
|
|
4653
4653
|
}
|
|
4654
4654
|
}
|
|
4655
|
-
function
|
|
4655
|
+
function Ua(o, t, e) {
|
|
4656
4656
|
if (e.listenerEvent) {
|
|
4657
4657
|
let i = e.parts[0];
|
|
4658
4658
|
o.addEventListener(e.listenerEvent, function(s) {
|
|
4659
|
-
|
|
4659
|
+
Sa(s, t, e.target, i.source, i.negate);
|
|
4660
4660
|
});
|
|
4661
4661
|
}
|
|
4662
4662
|
}
|
|
4663
|
-
function
|
|
4663
|
+
function To(o, t, e, i, s, r) {
|
|
4664
4664
|
r = t.static || r && (typeof r != "object" || r[t.methodName]);
|
|
4665
4665
|
let n = {
|
|
4666
4666
|
methodName: t.methodName,
|
|
@@ -4687,8 +4687,8 @@ function di(o, t, e, i, s) {
|
|
|
4687
4687
|
} else
|
|
4688
4688
|
s.dynamicFn || console.warn("method `" + s.methodName + "` not defined");
|
|
4689
4689
|
}
|
|
4690
|
-
const
|
|
4691
|
-
function
|
|
4690
|
+
const ja = [], Rs = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", Ya = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", Wa = "(?:'(?:[^'\\\\]|\\\\.)*')", qa = '(?:"(?:[^"\\\\]|\\\\.)*")', Ka = "(?:" + Wa + "|" + qa + ")", Do = "(?:(" + Rs + "|" + Ya + "|" + Ka + ")\\s*)", Ga = "(?:" + Do + "(?:,\\s*" + Do + ")*)", Ja = "(?:\\(\\s*(?:" + Ga + "?)\\)\\s*)", Xa = "(" + Rs + "\\s*" + Ja + "?)", Za = "(\\[\\[|{{)\\s*", Qa = "(?:]]|}})", el = "(?:(!)\\s*)?", tl = Za + el + Xa + Qa, Eo = new RegExp(tl, "g");
|
|
4691
|
+
function ko(o) {
|
|
4692
4692
|
let t = "";
|
|
4693
4693
|
for (let e = 0; e < o.length; e++) {
|
|
4694
4694
|
let i = o[e].literal;
|
|
@@ -4699,22 +4699,22 @@ function So(o) {
|
|
|
4699
4699
|
function jt(o) {
|
|
4700
4700
|
let t = o.match(/([^\s]+?)\(([\s\S]*)\)/);
|
|
4701
4701
|
if (t) {
|
|
4702
|
-
let i = { methodName: t[1], static: !0, args:
|
|
4702
|
+
let i = { methodName: t[1], static: !0, args: ja };
|
|
4703
4703
|
if (t[2].trim()) {
|
|
4704
4704
|
let s = t[2].replace(/\\,/g, ",").split(",");
|
|
4705
|
-
return
|
|
4705
|
+
return il(s, i);
|
|
4706
4706
|
} else
|
|
4707
4707
|
return i;
|
|
4708
4708
|
}
|
|
4709
4709
|
return null;
|
|
4710
4710
|
}
|
|
4711
|
-
function
|
|
4711
|
+
function il(o, t) {
|
|
4712
4712
|
return t.args = o.map(function(e) {
|
|
4713
|
-
let i =
|
|
4713
|
+
let i = Hs(e);
|
|
4714
4714
|
return i.literal || (t.static = !1), i;
|
|
4715
4715
|
}, this), t;
|
|
4716
4716
|
}
|
|
4717
|
-
function
|
|
4717
|
+
function Hs(o) {
|
|
4718
4718
|
let t = o.trim().replace(/,/g, ",").replace(/\\(.)/g, "$1"), e = {
|
|
4719
4719
|
name: t,
|
|
4720
4720
|
value: "",
|
|
@@ -4731,16 +4731,16 @@ function Bs(o) {
|
|
|
4731
4731
|
}
|
|
4732
4732
|
return e.literal || (e.rootProperty = Pe(t), e.structured = ai(t), e.structured && (e.wildcard = t.slice(-2) == ".*", e.wildcard && (e.name = t.slice(0, -2)))), e;
|
|
4733
4733
|
}
|
|
4734
|
-
function
|
|
4734
|
+
function So(o, t, e) {
|
|
4735
4735
|
let i = J(o, e);
|
|
4736
4736
|
return i === void 0 && (i = t[e]), i;
|
|
4737
4737
|
}
|
|
4738
|
-
function
|
|
4738
|
+
function Bs(o, t, e, i) {
|
|
4739
4739
|
const s = { indexSplices: i };
|
|
4740
4740
|
ni && !o._overrideLegacyUndefined && (t.splices = s), o.notifyPath(e + ".splices", s), o.notifyPath(e + ".length", t.length), ni && !o._overrideLegacyUndefined && (s.indexSplices = []);
|
|
4741
4741
|
}
|
|
4742
4742
|
function qe(o, t, e, i, s, r) {
|
|
4743
|
-
|
|
4743
|
+
Bs(o, t, e, [{
|
|
4744
4744
|
index: i,
|
|
4745
4745
|
addedCount: s,
|
|
4746
4746
|
removed: r,
|
|
@@ -4748,11 +4748,11 @@ function qe(o, t, e, i, s, r) {
|
|
|
4748
4748
|
type: "splice"
|
|
4749
4749
|
}]);
|
|
4750
4750
|
}
|
|
4751
|
-
function
|
|
4751
|
+
function ol(o) {
|
|
4752
4752
|
return o[0].toUpperCase() + o.substring(1);
|
|
4753
4753
|
}
|
|
4754
4754
|
const Fi = U((o) => {
|
|
4755
|
-
const t =
|
|
4755
|
+
const t = Ca(pa(o));
|
|
4756
4756
|
class e extends t {
|
|
4757
4757
|
constructor() {
|
|
4758
4758
|
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;
|
|
@@ -4931,7 +4931,7 @@ const Fi = U((o) => {
|
|
|
4931
4931
|
if (!a) {
|
|
4932
4932
|
let l = J(this, s);
|
|
4933
4933
|
if (s = /** @type {string} */
|
|
4934
|
-
|
|
4934
|
+
bo(this, s, r), !s || !super._shouldPropertyChange(s, r, l))
|
|
4935
4935
|
return !1;
|
|
4936
4936
|
}
|
|
4937
4937
|
if (this.__dataHasPaths = !0, this._setPendingProperty(
|
|
@@ -4940,7 +4940,7 @@ const Fi = U((o) => {
|
|
|
4940
4940
|
r,
|
|
4941
4941
|
n
|
|
4942
4942
|
))
|
|
4943
|
-
return
|
|
4943
|
+
return Fa(
|
|
4944
4944
|
this,
|
|
4945
4945
|
/**@type{string}*/
|
|
4946
4946
|
s,
|
|
@@ -5156,7 +5156,7 @@ const Fi = U((o) => {
|
|
|
5156
5156
|
let a = this.__dataHasPaths;
|
|
5157
5157
|
this.__dataHasPaths = !1;
|
|
5158
5158
|
let l;
|
|
5159
|
-
|
|
5159
|
+
Oa(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(), Ze(this, this[O.REFLECT], r, n, a), Ze(this, this[O.OBSERVE], r, n, a), l && Da(this, l, r, n, a), this.__dataCounter == 1 && (this.__dataTemp = {});
|
|
5160
5160
|
}
|
|
5161
5161
|
/**
|
|
5162
5162
|
* Called to propagate any property changes to stamped template nodes
|
|
@@ -5253,7 +5253,7 @@ const Fi = U((o) => {
|
|
|
5253
5253
|
/** @type {Array} */
|
|
5254
5254
|
J(this, s, n)
|
|
5255
5255
|
);
|
|
5256
|
-
|
|
5256
|
+
Bs(this, a, n.path, r);
|
|
5257
5257
|
}
|
|
5258
5258
|
/**
|
|
5259
5259
|
* Convenience method for reading a value from a path.
|
|
@@ -5301,7 +5301,7 @@ const Fi = U((o) => {
|
|
|
5301
5301
|
* @public
|
|
5302
5302
|
*/
|
|
5303
5303
|
set(s, r, n) {
|
|
5304
|
-
n ?
|
|
5304
|
+
n ? bo(n, s, r) : (!this[O.READ_ONLY] || !this[O.READ_ONLY][
|
|
5305
5305
|
/** @type {string} */
|
|
5306
5306
|
s
|
|
5307
5307
|
]) && this._setPendingPropertyOrPath(s, r, !0) && this._invalidateProperties();
|
|
@@ -5456,7 +5456,7 @@ const Fi = U((o) => {
|
|
|
5456
5456
|
* @protected
|
|
5457
5457
|
*/
|
|
5458
5458
|
_createReadOnlyProperty(s, r) {
|
|
5459
|
-
this._addPropertyEffect(s, O.READ_ONLY), r && (this["_set" +
|
|
5459
|
+
this._addPropertyEffect(s, O.READ_ONLY), r && (this["_set" + ol(s)] = /** @this {PropertyEffects} */
|
|
5460
5460
|
function(n) {
|
|
5461
5461
|
this._setProperty(s, n);
|
|
5462
5462
|
});
|
|
@@ -5478,7 +5478,7 @@ const Fi = U((o) => {
|
|
|
5478
5478
|
_createPropertyObserver(s, r, n) {
|
|
5479
5479
|
let a = { property: s, method: r, dynamicFn: !!n };
|
|
5480
5480
|
this._addPropertyEffect(s, O.OBSERVE, {
|
|
5481
|
-
fn:
|
|
5481
|
+
fn: Co,
|
|
5482
5482
|
info: a,
|
|
5483
5483
|
trigger: { name: s }
|
|
5484
5484
|
}), n && this._addPropertyEffect(
|
|
@@ -5486,7 +5486,7 @@ const Fi = U((o) => {
|
|
|
5486
5486
|
r,
|
|
5487
5487
|
O.OBSERVE,
|
|
5488
5488
|
{
|
|
5489
|
-
fn:
|
|
5489
|
+
fn: Co,
|
|
5490
5490
|
info: a,
|
|
5491
5491
|
trigger: { name: r }
|
|
5492
5492
|
}
|
|
@@ -5508,7 +5508,7 @@ const Fi = U((o) => {
|
|
|
5508
5508
|
let n = jt(s);
|
|
5509
5509
|
if (!n)
|
|
5510
5510
|
throw new Error("Malformed observer expression '" + s + "'");
|
|
5511
|
-
|
|
5511
|
+
To(this, n, O.OBSERVE, di, null, r);
|
|
5512
5512
|
}
|
|
5513
5513
|
/**
|
|
5514
5514
|
* Equivalent to static `createNotifyingProperty` API but can be called on
|
|
@@ -5522,7 +5522,7 @@ const Fi = U((o) => {
|
|
|
5522
5522
|
*/
|
|
5523
5523
|
_createNotifyingProperty(s) {
|
|
5524
5524
|
this._addPropertyEffect(s, O.NOTIFY, {
|
|
5525
|
-
fn:
|
|
5525
|
+
fn: ka,
|
|
5526
5526
|
info: {
|
|
5527
5527
|
eventName: Ot(s) + "-changed",
|
|
5528
5528
|
property: s
|
|
@@ -5543,7 +5543,7 @@ const Fi = U((o) => {
|
|
|
5543
5543
|
_createReflectedProperty(s) {
|
|
5544
5544
|
let r = this.constructor.attributeNameForProperty(s);
|
|
5545
5545
|
r[0] === "-" ? console.warn("Property " + s + " cannot be reflected to attribute " + r + ' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.') : this._addPropertyEffect(s, O.REFLECT, {
|
|
5546
|
-
fn:
|
|
5546
|
+
fn: Pa,
|
|
5547
5547
|
info: {
|
|
5548
5548
|
attrName: r
|
|
5549
5549
|
}
|
|
@@ -5566,8 +5566,8 @@ const Fi = U((o) => {
|
|
|
5566
5566
|
let a = jt(r);
|
|
5567
5567
|
if (!a)
|
|
5568
5568
|
throw new Error("Malformed computed expression '" + r + "'");
|
|
5569
|
-
const l =
|
|
5570
|
-
Vt(this,
|
|
5569
|
+
const l = To(this, a, O.COMPUTE, $s, s, n);
|
|
5570
|
+
Vt(this, zs)[s] = l;
|
|
5571
5571
|
}
|
|
5572
5572
|
/**
|
|
5573
5573
|
* Gather the argument values for a method specified in the provided array
|
|
@@ -5588,14 +5588,14 @@ const Fi = U((o) => {
|
|
|
5588
5588
|
let { name: u, structured: h, wildcard: p, value: y, literal: D } = s[d];
|
|
5589
5589
|
if (!D)
|
|
5590
5590
|
if (p) {
|
|
5591
|
-
const E = nt(u, r), T =
|
|
5591
|
+
const E = nt(u, r), T = So(a, n, E ? r : u);
|
|
5592
5592
|
y = {
|
|
5593
5593
|
path: E ? r : u,
|
|
5594
5594
|
value: T,
|
|
5595
5595
|
base: E ? J(a, u) : T
|
|
5596
5596
|
};
|
|
5597
5597
|
} else
|
|
5598
|
-
y = h ?
|
|
5598
|
+
y = h ? So(a, n, u) : a[u];
|
|
5599
5599
|
if (ni && !this._overrideLegacyUndefined && y === void 0 && s.length > 1)
|
|
5600
5600
|
return dt;
|
|
5601
5601
|
l[d] = y;
|
|
@@ -5878,7 +5878,7 @@ const Fi = U((o) => {
|
|
|
5878
5878
|
for (let l = n.firstChild; l; l = l.nextSibling)
|
|
5879
5879
|
a.push(l);
|
|
5880
5880
|
}
|
|
5881
|
-
return n.templateInfo = r,
|
|
5881
|
+
return n.templateInfo = r, Ba(this, r), this.__dataClientsReady && (this._runEffectsForTemplate(r, this.__data, null, !1), this._flushClients()), n;
|
|
5882
5882
|
}
|
|
5883
5883
|
/**
|
|
5884
5884
|
* Removes and unbinds the nodes previously contained in the provided
|
|
@@ -5925,7 +5925,7 @@ const Fi = U((o) => {
|
|
|
5925
5925
|
);
|
|
5926
5926
|
if (s.nodeType === Node.TEXT_NODE) {
|
|
5927
5927
|
let l = this._parseBindings(s.textContent, r);
|
|
5928
|
-
l && (s.textContent =
|
|
5928
|
+
l && (s.textContent = ko(l) || " ", Ut(this, r, n, "text", "textContent", l), a = !0);
|
|
5929
5929
|
}
|
|
5930
5930
|
return a;
|
|
5931
5931
|
}
|
|
@@ -5952,9 +5952,9 @@ const Fi = U((o) => {
|
|
|
5952
5952
|
let d = this._parseBindings(l, r);
|
|
5953
5953
|
if (d) {
|
|
5954
5954
|
let c = a, u = "property";
|
|
5955
|
-
|
|
5956
|
-
let h =
|
|
5957
|
-
return h && u == "attribute" && (a == "class" && s.hasAttribute("class") && (h += " " + s.getAttribute(a)), s.setAttribute(a, h)), u == "attribute" && c == "disable-upgrade$" && s.setAttribute(a, ""), s.localName === "input" && c === "value" && s.setAttribute(c, ""), s.removeAttribute(c), u === "property" && (a =
|
|
5955
|
+
Aa.test(a) ? u = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), u = "attribute");
|
|
5956
|
+
let h = ko(d);
|
|
5957
|
+
return h && u == "attribute" && (a == "class" && s.hasAttribute("class") && (h += " " + s.getAttribute(a)), s.setAttribute(a, h)), u == "attribute" && c == "disable-upgrade$" && s.setAttribute(a, ""), s.localName === "input" && c === "value" && s.setAttribute(c, ""), s.removeAttribute(c), u === "property" && (a = Ss(a)), Ut(this, r, n, u, a, d, h), !0;
|
|
5958
5958
|
} else
|
|
5959
5959
|
return t._parseTemplateNodeAttribute.call(
|
|
5960
5960
|
this,
|
|
@@ -5987,10 +5987,10 @@ const Fi = U((o) => {
|
|
|
5987
5987
|
n
|
|
5988
5988
|
);
|
|
5989
5989
|
const l = s.parentNode, d = n.templateInfo, c = l.localName === "dom-if", u = l.localName === "dom-repeat";
|
|
5990
|
-
|
|
5990
|
+
fo && (c || u) && (l.removeChild(s), n = n.parentInfo, n.templateInfo = d, n.noted = !0, a = !1);
|
|
5991
5991
|
let h = d.hostProps;
|
|
5992
|
-
if (
|
|
5993
|
-
h && (r.hostProps = Object.assign(r.hostProps || {}, h),
|
|
5992
|
+
if (Kn && c)
|
|
5993
|
+
h && (r.hostProps = Object.assign(r.hostProps || {}, h), fo || (n.parentInfo.noted = !0));
|
|
5994
5994
|
else {
|
|
5995
5995
|
let p = "{";
|
|
5996
5996
|
for (let y in h) {
|
|
@@ -6047,7 +6047,7 @@ const Fi = U((o) => {
|
|
|
6047
6047
|
*/
|
|
6048
6048
|
static _parseBindings(s, r) {
|
|
6049
6049
|
let n = [], a = 0, l;
|
|
6050
|
-
for (; (l =
|
|
6050
|
+
for (; (l = Eo.exec(s)) !== null; ) {
|
|
6051
6051
|
l.index > a && n.push({ literal: s.slice(a, l.index) });
|
|
6052
6052
|
let d = l[1][0], c = !!l[2], u = l[3].trim(), h = !1, p = "", y = -1;
|
|
6053
6053
|
d == "{" && (y = u.indexOf("::")) > 0 && (p = u.substring(y + 2), u = u.substring(0, y), h = !0);
|
|
@@ -6070,7 +6070,7 @@ const Fi = U((o) => {
|
|
|
6070
6070
|
signature: D,
|
|
6071
6071
|
dependencies: E,
|
|
6072
6072
|
event: p
|
|
6073
|
-
}), a =
|
|
6073
|
+
}), a = Eo.lastIndex;
|
|
6074
6074
|
}
|
|
6075
6075
|
if (a && a < s.length) {
|
|
6076
6076
|
let d = s.substring(a);
|
|
@@ -6120,7 +6120,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6120
6120
|
Code distributed by Google as part of the polymer project is also
|
|
6121
6121
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6122
6122
|
*/
|
|
6123
|
-
function
|
|
6123
|
+
function sl(o) {
|
|
6124
6124
|
const t = {};
|
|
6125
6125
|
for (let e in o) {
|
|
6126
6126
|
const i = o[e];
|
|
@@ -6128,8 +6128,8 @@ function rl(o) {
|
|
|
6128
6128
|
}
|
|
6129
6129
|
return t;
|
|
6130
6130
|
}
|
|
6131
|
-
const
|
|
6132
|
-
const t =
|
|
6131
|
+
const rl = U((o) => {
|
|
6132
|
+
const t = Is(o);
|
|
6133
6133
|
function e(r) {
|
|
6134
6134
|
const n = Object.getPrototypeOf(r);
|
|
6135
6135
|
return n.prototype instanceof s ? (
|
|
@@ -6142,7 +6142,7 @@ const nl = U((o) => {
|
|
|
6142
6142
|
let n = null;
|
|
6143
6143
|
if (r.hasOwnProperty(JSCompiler_renameProperty("properties", r))) {
|
|
6144
6144
|
const a = r.properties;
|
|
6145
|
-
a && (n =
|
|
6145
|
+
a && (n = sl(a));
|
|
6146
6146
|
}
|
|
6147
6147
|
r.__ownProperties = n;
|
|
6148
6148
|
}
|
|
@@ -6279,8 +6279,8 @@ const nl = U((o) => {
|
|
|
6279
6279
|
* Google as part of the polymer project is also subject to an additional IP
|
|
6280
6280
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6281
6281
|
*/
|
|
6282
|
-
const
|
|
6283
|
-
const t =
|
|
6282
|
+
const nl = "3.5.2", Po = window.ShadyCSS && window.ShadyCSS.cssBuild, al = U((o) => {
|
|
6283
|
+
const t = rl(Fi(o));
|
|
6284
6284
|
function e(l) {
|
|
6285
6285
|
if (!l.hasOwnProperty(
|
|
6286
6286
|
JSCompiler_renameProperty("__propertyDefaults", l)
|
|
@@ -6308,8 +6308,8 @@ const al = "3.5.2", Oo = window.ShadyCSS && window.ShadyCSS.cssBuild, ll = U((o)
|
|
|
6308
6308
|
c.computed && (c.readOnly = !0), c.computed && (l._hasReadOnlyEffect(d) ? console.warn(`Cannot redefine computed property '${d}'.`) : l._createComputedProperty(d, c.computed, u)), c.readOnly && !l._hasReadOnlyEffect(d) ? l._createReadOnlyProperty(d, !c.computed) : c.readOnly === !1 && l._hasReadOnlyEffect(d) && console.warn(`Cannot make readOnly property '${d}' non-readOnly.`), c.reflectToAttribute && !l._hasReflectEffect(d) ? l._createReflectedProperty(d) : c.reflectToAttribute === !1 && l._hasReflectEffect(d) && console.warn(`Cannot make reflected property '${d}' non-reflected.`), c.notify && !l._hasNotifyEffect(d) ? l._createNotifyingProperty(d) : c.notify === !1 && l._hasNotifyEffect(d) && console.warn(`Cannot make notify property '${d}' non-notify.`), c.observer && l._createPropertyObserver(d, c.observer, u[c.observer]), l._addPropertyToAttributeMap(d);
|
|
6309
6309
|
}
|
|
6310
6310
|
function r(l, d, c, u) {
|
|
6311
|
-
if (!
|
|
6312
|
-
const h = d.content.querySelectorAll("style"), p =
|
|
6311
|
+
if (!Po) {
|
|
6312
|
+
const h = d.content.querySelectorAll("style"), p = Ts(d), y = ia(c), D = d.content.firstElementChild;
|
|
6313
6313
|
for (let T = 0; T < y.length; T++) {
|
|
6314
6314
|
let k = y[T];
|
|
6315
6315
|
k.textContent = l._processStyleText(k.textContent, u), d.content.insertBefore(k, D);
|
|
@@ -6320,7 +6320,7 @@ const al = "3.5.2", Oo = window.ShadyCSS && window.ShadyCSS.cssBuild, ll = U((o)
|
|
|
6320
6320
|
z !== k ? (k = k.cloneNode(!0), z.parentNode.insertBefore(k, z)) : E++, k.textContent = l._processStyleText(k.textContent, u);
|
|
6321
6321
|
}
|
|
6322
6322
|
}
|
|
6323
|
-
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(d, c),
|
|
6323
|
+
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(d, c), Gn && Po && Un) {
|
|
6324
6324
|
const h = d.content.querySelectorAll("style");
|
|
6325
6325
|
if (h) {
|
|
6326
6326
|
let p = "";
|
|
@@ -6332,7 +6332,7 @@ const al = "3.5.2", Oo = window.ShadyCSS && window.ShadyCSS.cssBuild, ll = U((o)
|
|
|
6332
6332
|
}
|
|
6333
6333
|
function n(l) {
|
|
6334
6334
|
let d = null;
|
|
6335
|
-
if (l && (!Tt ||
|
|
6335
|
+
if (l && (!Tt || Yn) && (d = /** @type {?HTMLTemplateElement} */
|
|
6336
6336
|
rt.import(l, "template"), Tt && !d))
|
|
6337
6337
|
throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
|
|
6338
6338
|
return d;
|
|
@@ -6344,7 +6344,7 @@ const al = "3.5.2", Oo = window.ShadyCSS && window.ShadyCSS.cssBuild, ll = U((o)
|
|
|
6344
6344
|
* @nocollapse
|
|
6345
6345
|
*/
|
|
6346
6346
|
static get polymerElementVersion() {
|
|
6347
|
-
return
|
|
6347
|
+
return nl;
|
|
6348
6348
|
}
|
|
6349
6349
|
/**
|
|
6350
6350
|
* Override of PropertiesMixin _finalizeClass to create observers and
|
|
@@ -6365,7 +6365,7 @@ const al = "3.5.2", Oo = window.ShadyCSS && window.ShadyCSS.cssBuild, ll = U((o)
|
|
|
6365
6365
|
/** @type {PolymerElementConstructor} */
|
|
6366
6366
|
this.template
|
|
6367
6367
|
);
|
|
6368
|
-
d && (typeof d == "string" ? (console.error("template getter must return HTMLTemplateElement"), d = null) :
|
|
6368
|
+
d && (typeof d == "string" ? (console.error("template getter must return HTMLTemplateElement"), d = null) : ws || (d = d.cloneNode(!0))), this.prototype._template = d;
|
|
6369
6369
|
}
|
|
6370
6370
|
/**
|
|
6371
6371
|
* Override of PropertiesChanged createProperties to create accessors
|
|
@@ -6535,7 +6535,7 @@ const al = "3.5.2", Oo = window.ShadyCSS && window.ShadyCSS.cssBuild, ll = U((o)
|
|
|
6535
6535
|
this.constructor.finalize(), this.constructor._finalizeTemplate(
|
|
6536
6536
|
/** @type {!HTMLElement} */
|
|
6537
6537
|
this.localName
|
|
6538
|
-
), super._initializeProperties(), this.rootPath =
|
|
6538
|
+
), super._initializeProperties(), this.rootPath = jn, this.importPath = this.constructor.importPath;
|
|
6539
6539
|
let d = e(this.constructor);
|
|
6540
6540
|
if (d)
|
|
6541
6541
|
for (let c in d) {
|
|
@@ -6646,7 +6646,7 @@ const al = "3.5.2", Oo = window.ShadyCSS && window.ShadyCSS.cssBuild, ll = U((o)
|
|
|
6646
6646
|
_attachDom(d) {
|
|
6647
6647
|
const c = W(this);
|
|
6648
6648
|
if (c.attachShadow)
|
|
6649
|
-
return d ? (c.shadowRoot || (c.attachShadow({ mode: "open", shadyUpgradeFragment: d }), c.shadowRoot.appendChild(d), this.constructor._styleSheet && (c.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])),
|
|
6649
|
+
return d ? (c.shadowRoot || (c.attachShadow({ mode: "open", shadyUpgradeFragment: d }), c.shadowRoot.appendChild(d), this.constructor._styleSheet && (c.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), Wn && window.ShadyDOM && window.ShadyDOM.flushInitial(c.shadowRoot), c.shadowRoot) : null;
|
|
6650
6650
|
throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.");
|
|
6651
6651
|
}
|
|
6652
6652
|
/**
|
|
@@ -6731,7 +6731,7 @@ const al = "3.5.2", Oo = window.ShadyCSS && window.ShadyCSS.cssBuild, ll = U((o)
|
|
|
6731
6731
|
* @nocollapse
|
|
6732
6732
|
*/
|
|
6733
6733
|
static _addTemplatePropertyEffect(d, c, u) {
|
|
6734
|
-
return
|
|
6734
|
+
return xs && !(c in this._properties) && // Methods used in templates with no dependencies (or only literal
|
|
6735
6735
|
// dependencies) become accessors with template effects; ignore these
|
|
6736
6736
|
!(u.info.part.signature && u.info.part.signature.static) && // Warnings for bindings added to nested templates are handled by
|
|
6737
6737
|
// templatizer so ignore both the host-to-template bindings
|
|
@@ -6756,16 +6756,16 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6756
6756
|
Code distributed by Google as part of the polymer project is also
|
|
6757
6757
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6758
6758
|
*/
|
|
6759
|
-
const
|
|
6760
|
-
class
|
|
6759
|
+
const Oo = window.trustedTypes && trustedTypes.createPolicy("polymer-html-literal", { createHTML: (o) => o });
|
|
6760
|
+
class Vs {
|
|
6761
6761
|
/**
|
|
6762
6762
|
* @param {!ITemplateArray} strings Constant parts of tagged template literal
|
|
6763
6763
|
* @param {!Array<*>} values Variable parts of tagged template literal
|
|
6764
6764
|
*/
|
|
6765
6765
|
constructor(t, e) {
|
|
6766
|
-
|
|
6766
|
+
js(t, e);
|
|
6767
6767
|
const i = e.reduce(
|
|
6768
|
-
(s, r, n) => s +
|
|
6768
|
+
(s, r, n) => s + Us(r) + t[n + 1],
|
|
6769
6769
|
t[0]
|
|
6770
6770
|
);
|
|
6771
6771
|
this.value = i.toString();
|
|
@@ -6778,8 +6778,8 @@ class Us {
|
|
|
6778
6778
|
return this.value;
|
|
6779
6779
|
}
|
|
6780
6780
|
}
|
|
6781
|
-
function
|
|
6782
|
-
if (o instanceof
|
|
6781
|
+
function Us(o) {
|
|
6782
|
+
if (o instanceof Vs)
|
|
6783
6783
|
return (
|
|
6784
6784
|
/** @type {!LiteralString} */
|
|
6785
6785
|
o.value
|
|
@@ -6788,30 +6788,30 @@ function js(o) {
|
|
|
6788
6788
|
`non-literal value passed to Polymer's htmlLiteral function: ${o}`
|
|
6789
6789
|
);
|
|
6790
6790
|
}
|
|
6791
|
-
function
|
|
6791
|
+
function ll(o) {
|
|
6792
6792
|
if (o instanceof HTMLTemplateElement)
|
|
6793
6793
|
return (
|
|
6794
6794
|
/** @type {!HTMLTemplateElement } */
|
|
6795
6795
|
o.innerHTML
|
|
6796
6796
|
);
|
|
6797
|
-
if (o instanceof
|
|
6798
|
-
return
|
|
6797
|
+
if (o instanceof Vs)
|
|
6798
|
+
return Us(o);
|
|
6799
6799
|
throw new Error(
|
|
6800
6800
|
`non-template value passed to Polymer's html function: ${o}`
|
|
6801
6801
|
);
|
|
6802
6802
|
}
|
|
6803
6803
|
const Oe = function(t, ...e) {
|
|
6804
|
-
|
|
6804
|
+
js(t, e);
|
|
6805
6805
|
const i = (
|
|
6806
6806
|
/** @type {!HTMLTemplateElement} */
|
|
6807
6807
|
document.createElement("template")
|
|
6808
6808
|
);
|
|
6809
6809
|
let s = e.reduce(
|
|
6810
|
-
(r, n, a) => r +
|
|
6810
|
+
(r, n, a) => r + ll(n) + t[a + 1],
|
|
6811
6811
|
t[0]
|
|
6812
6812
|
);
|
|
6813
|
-
return
|
|
6814
|
-
},
|
|
6813
|
+
return Oo && (s = Oo.createHTML(s)), i.innerHTML = s, i;
|
|
6814
|
+
}, js = (o, t) => {
|
|
6815
6815
|
if (!Array.isArray(o) || !Array.isArray(o.raw) || t.length !== o.length - 1)
|
|
6816
6816
|
throw new TypeError("Invalid call to the html template tag");
|
|
6817
6817
|
};
|
|
@@ -6824,7 +6824,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
6824
6824
|
Code distributed by Google as part of the polymer project is also
|
|
6825
6825
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6826
6826
|
*/
|
|
6827
|
-
const be =
|
|
6827
|
+
const be = al(HTMLElement);
|
|
6828
6828
|
/**
|
|
6829
6829
|
* @license
|
|
6830
6830
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
@@ -6837,14 +6837,14 @@ function ci(o, t, e = o.getAttribute("dir")) {
|
|
|
6837
6837
|
function ui() {
|
|
6838
6838
|
return document.documentElement.getAttribute("dir");
|
|
6839
6839
|
}
|
|
6840
|
-
function
|
|
6840
|
+
function dl() {
|
|
6841
6841
|
const o = ui();
|
|
6842
6842
|
ue.forEach((t) => {
|
|
6843
6843
|
ci(t, o);
|
|
6844
6844
|
});
|
|
6845
6845
|
}
|
|
6846
|
-
const
|
|
6847
|
-
|
|
6846
|
+
const cl = new MutationObserver(dl);
|
|
6847
|
+
cl.observe(document.documentElement, { attributes: !0, attributeFilter: ["dir"] });
|
|
6848
6848
|
const Mt = (o) => class extends o {
|
|
6849
6849
|
static get properties() {
|
|
6850
6850
|
return {
|
|
@@ -6906,7 +6906,7 @@ const Mt = (o) => class extends o {
|
|
|
6906
6906
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6907
6907
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6908
6908
|
*/
|
|
6909
|
-
const
|
|
6909
|
+
const ul = (o) => class extends o {
|
|
6910
6910
|
static get properties() {
|
|
6911
6911
|
return {
|
|
6912
6912
|
/**
|
|
@@ -6946,7 +6946,7 @@ const hl = (o) => class extends o {
|
|
|
6946
6946
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6947
6947
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6948
6948
|
*/
|
|
6949
|
-
const
|
|
6949
|
+
const hl = P`
|
|
6950
6950
|
:host {
|
|
6951
6951
|
display: flex;
|
|
6952
6952
|
align-items: center;
|
|
@@ -7017,8 +7017,8 @@ const pl = P`
|
|
|
7017
7017
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7018
7018
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7019
7019
|
*/
|
|
7020
|
-
H("vaadin-input-container",
|
|
7021
|
-
class
|
|
7020
|
+
H("vaadin-input-container", hl, { moduleId: "vaadin-input-container-styles" });
|
|
7021
|
+
class pl extends ul(Se(Mt(be))) {
|
|
7022
7022
|
static get is() {
|
|
7023
7023
|
return "vaadin-input-container";
|
|
7024
7024
|
}
|
|
@@ -7030,13 +7030,13 @@ class fl extends hl(Se(Mt(be))) {
|
|
|
7030
7030
|
`;
|
|
7031
7031
|
}
|
|
7032
7032
|
}
|
|
7033
|
-
le(
|
|
7033
|
+
le(pl);
|
|
7034
7034
|
/**
|
|
7035
7035
|
* @license
|
|
7036
7036
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7037
7037
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7038
7038
|
*/
|
|
7039
|
-
const
|
|
7039
|
+
const fl = P`
|
|
7040
7040
|
:host {
|
|
7041
7041
|
z-index: 200;
|
|
7042
7042
|
position: fixed;
|
|
@@ -7125,21 +7125,21 @@ function hi() {
|
|
|
7125
7125
|
function Li() {
|
|
7126
7126
|
return zi;
|
|
7127
7127
|
}
|
|
7128
|
-
function
|
|
7128
|
+
function ml(o) {
|
|
7129
7129
|
const t = o.style;
|
|
7130
7130
|
if (t.visibility === "hidden" || t.display === "none")
|
|
7131
7131
|
return !0;
|
|
7132
7132
|
const e = window.getComputedStyle(o);
|
|
7133
7133
|
return e.visibility === "hidden" || e.display === "none";
|
|
7134
7134
|
}
|
|
7135
|
-
function
|
|
7135
|
+
function _l(o, t) {
|
|
7136
7136
|
const e = Math.max(o.tabIndex, 0), i = Math.max(t.tabIndex, 0);
|
|
7137
7137
|
return e === 0 || i === 0 ? i > e : e > i;
|
|
7138
7138
|
}
|
|
7139
|
-
function
|
|
7139
|
+
function gl(o, t) {
|
|
7140
7140
|
const e = [];
|
|
7141
7141
|
for (; o.length > 0 && t.length > 0; )
|
|
7142
|
-
|
|
7142
|
+
_l(o[0], t[0]) ? e.push(t.shift()) : e.push(o.shift());
|
|
7143
7143
|
return e.concat(o, t);
|
|
7144
7144
|
}
|
|
7145
7145
|
function pi(o) {
|
|
@@ -7147,37 +7147,37 @@ function pi(o) {
|
|
|
7147
7147
|
if (t < 2)
|
|
7148
7148
|
return o;
|
|
7149
7149
|
const e = Math.ceil(t / 2), i = pi(o.slice(0, e)), s = pi(o.slice(e));
|
|
7150
|
-
return
|
|
7150
|
+
return gl(i, s);
|
|
7151
7151
|
}
|
|
7152
|
-
function
|
|
7152
|
+
function Ys(o) {
|
|
7153
7153
|
return o.matches('[tabindex="-1"]') ? !1 : o.matches("input, select, textarea, button, object") ? o.matches(":not([disabled])") : o.matches("a[href], area[href], iframe, [tabindex], [contentEditable]");
|
|
7154
7154
|
}
|
|
7155
|
-
function
|
|
7155
|
+
function yl(o) {
|
|
7156
7156
|
return o.getRootNode().activeElement === o;
|
|
7157
7157
|
}
|
|
7158
|
-
function
|
|
7159
|
-
if (!
|
|
7158
|
+
function vl(o) {
|
|
7159
|
+
if (!Ys(o))
|
|
7160
7160
|
return -1;
|
|
7161
7161
|
const t = o.getAttribute("tabindex") || 0;
|
|
7162
7162
|
return Number(t);
|
|
7163
7163
|
}
|
|
7164
|
-
function
|
|
7165
|
-
if (o.nodeType !== Node.ELEMENT_NODE ||
|
|
7164
|
+
function Ws(o, t) {
|
|
7165
|
+
if (o.nodeType !== Node.ELEMENT_NODE || ml(o))
|
|
7166
7166
|
return !1;
|
|
7167
7167
|
const e = (
|
|
7168
7168
|
/** @type {HTMLElement} */
|
|
7169
7169
|
o
|
|
7170
|
-
), i =
|
|
7170
|
+
), i = vl(e);
|
|
7171
7171
|
let s = i > 0;
|
|
7172
7172
|
i >= 0 && t.push(e);
|
|
7173
7173
|
let r = [];
|
|
7174
7174
|
return e.localName === "slot" ? r = e.assignedNodes({ flatten: !0 }) : r = (e.shadowRoot || e).children, [...r].forEach((n) => {
|
|
7175
|
-
s =
|
|
7175
|
+
s = Ws(n, t) || s;
|
|
7176
7176
|
}), s;
|
|
7177
7177
|
}
|
|
7178
|
-
function
|
|
7178
|
+
function bl(o) {
|
|
7179
7179
|
const t = [];
|
|
7180
|
-
return
|
|
7180
|
+
return Ws(o, t) ? pi(t) : t;
|
|
7181
7181
|
}
|
|
7182
7182
|
/**
|
|
7183
7183
|
@license
|
|
@@ -7188,23 +7188,23 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
7188
7188
|
Code distributed by Google as part of the polymer project is also
|
|
7189
7189
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
7190
7190
|
*/
|
|
7191
|
-
let fi = !1,
|
|
7192
|
-
function
|
|
7191
|
+
let fi = !1, wl = [], qs = [];
|
|
7192
|
+
function xl() {
|
|
7193
7193
|
fi = !0, requestAnimationFrame(function() {
|
|
7194
|
-
fi = !1,
|
|
7195
|
-
|
|
7194
|
+
fi = !1, Cl(wl), setTimeout(function() {
|
|
7195
|
+
Al(qs);
|
|
7196
7196
|
});
|
|
7197
7197
|
});
|
|
7198
7198
|
}
|
|
7199
|
-
function
|
|
7199
|
+
function Cl(o) {
|
|
7200
7200
|
for (; o.length; )
|
|
7201
|
-
|
|
7201
|
+
Ks(o.shift());
|
|
7202
7202
|
}
|
|
7203
|
-
function
|
|
7203
|
+
function Al(o) {
|
|
7204
7204
|
for (let t = 0, e = o.length; t < e; t++)
|
|
7205
|
-
|
|
7205
|
+
Ks(o.shift());
|
|
7206
7206
|
}
|
|
7207
|
-
function
|
|
7207
|
+
function Ks(o) {
|
|
7208
7208
|
const t = o[0], e = o[1], i = o[2];
|
|
7209
7209
|
try {
|
|
7210
7210
|
e.apply(t, i);
|
|
@@ -7214,21 +7214,21 @@ function Gs(o) {
|
|
|
7214
7214
|
});
|
|
7215
7215
|
}
|
|
7216
7216
|
}
|
|
7217
|
-
function
|
|
7218
|
-
fi ||
|
|
7217
|
+
function Gs(o, t, e) {
|
|
7218
|
+
fi || xl(), qs.push([o, t, e]);
|
|
7219
7219
|
}
|
|
7220
7220
|
/**
|
|
7221
7221
|
* @license
|
|
7222
7222
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7223
7223
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7224
7224
|
*/
|
|
7225
|
-
const It = (o) => o.test(navigator.userAgent), mi = (o) => o.test(navigator.platform),
|
|
7225
|
+
const It = (o) => o.test(navigator.userAgent), mi = (o) => o.test(navigator.platform), Tl = (o) => o.test(navigator.vendor);
|
|
7226
7226
|
It(/Android/u);
|
|
7227
|
-
It(/Chrome/u) &&
|
|
7227
|
+
It(/Chrome/u) && Tl(/Google Inc/u);
|
|
7228
7228
|
It(/Firefox/u);
|
|
7229
|
-
const
|
|
7229
|
+
const Dl = mi(/^iPad/u) || mi(/^Mac/u) && navigator.maxTouchPoints > 1, El = mi(/^iPhone/u), Js = El || Dl;
|
|
7230
7230
|
It(/^((?!chrome|android).)*safari/iu);
|
|
7231
|
-
const
|
|
7231
|
+
const kl = (() => {
|
|
7232
7232
|
try {
|
|
7233
7233
|
return document.createEvent("TouchEvent"), !0;
|
|
7234
7234
|
} catch (o) {
|
|
@@ -7241,10 +7241,10 @@ const Sl = (() => {
|
|
|
7241
7241
|
* SPDX-License-Identifier: MIT
|
|
7242
7242
|
*/
|
|
7243
7243
|
let Ie = /* @__PURE__ */ new WeakMap(), _t = /* @__PURE__ */ new WeakMap(), gt = {}, Yt = 0;
|
|
7244
|
-
const
|
|
7244
|
+
const Mo = (o) => o && o.nodeType === Node.ELEMENT_NODE, Wt = (...o) => {
|
|
7245
7245
|
console.error(`Error: ${o.join(" ")}. Skip setting aria-hidden.`);
|
|
7246
|
-
},
|
|
7247
|
-
if (!
|
|
7246
|
+
}, Sl = (o, t) => Mo(o) ? t.map((e) => {
|
|
7247
|
+
if (!Mo(e))
|
|
7248
7248
|
return Wt(e, "is not a valid element"), null;
|
|
7249
7249
|
let i = e;
|
|
7250
7250
|
for (; i && i !== o; ) {
|
|
@@ -7253,8 +7253,8 @@ const Io = (o) => o && o.nodeType === Node.ELEMENT_NODE, Wt = (...o) => {
|
|
|
7253
7253
|
i = i.getRootNode().host;
|
|
7254
7254
|
}
|
|
7255
7255
|
return Wt(e, "is not contained inside", o), null;
|
|
7256
|
-
}).filter((e) => !!e) : (Wt(o, "is not a valid element"), []),
|
|
7257
|
-
const s =
|
|
7256
|
+
}).filter((e) => !!e) : (Wt(o, "is not a valid element"), []), Pl = (o, t, e, i) => {
|
|
7257
|
+
const s = Sl(t, Array.isArray(o) ? o : [o]);
|
|
7258
7258
|
gt[e] || (gt[e] = /* @__PURE__ */ new WeakMap());
|
|
7259
7259
|
const r = gt[e], n = [], a = /* @__PURE__ */ new Set(), l = new Set(s), d = (u) => {
|
|
7260
7260
|
if (!u || a.has(u))
|
|
@@ -7284,16 +7284,16 @@ const Io = (o) => o && o.nodeType === Node.ELEMENT_NODE, Wt = (...o) => {
|
|
|
7284
7284
|
Ie.set(u, h), r.set(u, p), h || (_t.has(u) ? _t.delete(u) : u.removeAttribute(i)), p || u.removeAttribute(e);
|
|
7285
7285
|
}), Yt -= 1, Yt || (Ie = /* @__PURE__ */ new WeakMap(), Ie = /* @__PURE__ */ new WeakMap(), _t = /* @__PURE__ */ new WeakMap(), gt = {});
|
|
7286
7286
|
};
|
|
7287
|
-
},
|
|
7287
|
+
}, Xs = (o, t = document.body, e = "data-aria-hidden") => {
|
|
7288
7288
|
const i = Array.from(Array.isArray(o) ? o : [o]);
|
|
7289
|
-
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))),
|
|
7289
|
+
return t && i.push(...Array.from(t.querySelectorAll("[aria-live]"))), Pl(i, t, e, "aria-hidden");
|
|
7290
7290
|
};
|
|
7291
7291
|
/**
|
|
7292
7292
|
* @license
|
|
7293
7293
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7294
7294
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7295
7295
|
*/
|
|
7296
|
-
class
|
|
7296
|
+
class Ol {
|
|
7297
7297
|
/**
|
|
7298
7298
|
* @param {HTMLElement} host
|
|
7299
7299
|
*/
|
|
@@ -7309,7 +7309,7 @@ class Ml {
|
|
|
7309
7309
|
*/
|
|
7310
7310
|
showModal() {
|
|
7311
7311
|
const t = this.callback();
|
|
7312
|
-
this.__showOthers =
|
|
7312
|
+
this.__showOthers = Xs(t);
|
|
7313
7313
|
}
|
|
7314
7314
|
/**
|
|
7315
7315
|
* Remove `aria-hidden` from other elements unless there are any other
|
|
@@ -7324,7 +7324,7 @@ class Ml {
|
|
|
7324
7324
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7325
7325
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7326
7326
|
*/
|
|
7327
|
-
class
|
|
7327
|
+
class Ml {
|
|
7328
7328
|
/**
|
|
7329
7329
|
* Saves the given node as a target for restoring focus to
|
|
7330
7330
|
* when `restoreFocus()` is called. If no node is provided,
|
|
@@ -7352,7 +7352,7 @@ class Il {
|
|
|
7352
7352
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7353
7353
|
*/
|
|
7354
7354
|
const qt = [];
|
|
7355
|
-
class
|
|
7355
|
+
class Il {
|
|
7356
7356
|
/**
|
|
7357
7357
|
* @param {HTMLElement} host
|
|
7358
7358
|
*/
|
|
@@ -7366,7 +7366,7 @@ class Nl {
|
|
|
7366
7366
|
* @private
|
|
7367
7367
|
*/
|
|
7368
7368
|
get __focusableElements() {
|
|
7369
|
-
return
|
|
7369
|
+
return bl(this.__trapNode);
|
|
7370
7370
|
}
|
|
7371
7371
|
/**
|
|
7372
7372
|
* The index of the element inside the trap node that currently has focus.
|
|
@@ -7376,7 +7376,7 @@ class Nl {
|
|
|
7376
7376
|
*/
|
|
7377
7377
|
get __focusedElementIndex() {
|
|
7378
7378
|
const t = this.__focusableElements;
|
|
7379
|
-
return t.indexOf(t.filter(
|
|
7379
|
+
return t.indexOf(t.filter(yl).pop());
|
|
7380
7380
|
}
|
|
7381
7381
|
hostConnected() {
|
|
7382
7382
|
document.addEventListener("keydown", this.__onKeyDown);
|
|
@@ -7489,7 +7489,7 @@ const je = U((o) => typeof o.prototype.addController == "function" ? o : class e
|
|
|
7489
7489
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7490
7490
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7491
7491
|
*/
|
|
7492
|
-
const
|
|
7492
|
+
const Nl = (o) => class extends je(o) {
|
|
7493
7493
|
static get properties() {
|
|
7494
7494
|
return {
|
|
7495
7495
|
/**
|
|
@@ -7520,7 +7520,7 @@ const Fl = (o) => class extends je(o) {
|
|
|
7520
7520
|
};
|
|
7521
7521
|
}
|
|
7522
7522
|
constructor() {
|
|
7523
|
-
super(), this.__ariaModalController = new
|
|
7523
|
+
super(), this.__ariaModalController = new Ol(this), this.__focusTrapController = new Il(this), this.__focusRestorationController = new Ml();
|
|
7524
7524
|
}
|
|
7525
7525
|
/** @protected */
|
|
7526
7526
|
ready() {
|
|
@@ -7591,7 +7591,7 @@ const Fl = (o) => class extends je(o) {
|
|
|
7591
7591
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7592
7592
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7593
7593
|
*/
|
|
7594
|
-
const
|
|
7594
|
+
const Zs = () => Array.from(document.body.children).filter((o) => o instanceof HTMLElement && o._hasOverlayStackMixin && !o.hasAttribute("closing")).sort((o, t) => o.__zIndex - t.__zIndex || 0), _i = () => Zs().filter((o) => o.$.overlay), Fl = (o) => o === _i().pop(), zl = (o) => class extends o {
|
|
7595
7595
|
constructor() {
|
|
7596
7596
|
super(), this._hasOverlayStackMixin = !0;
|
|
7597
7597
|
}
|
|
@@ -7602,14 +7602,14 @@ const Qs = () => Array.from(document.body.children).filter((o) => o instanceof H
|
|
|
7602
7602
|
* @protected
|
|
7603
7603
|
*/
|
|
7604
7604
|
get _last() {
|
|
7605
|
-
return
|
|
7605
|
+
return Fl(this);
|
|
7606
7606
|
}
|
|
7607
7607
|
/**
|
|
7608
7608
|
* Brings the overlay as visually the frontmost one.
|
|
7609
7609
|
*/
|
|
7610
7610
|
bringToFront() {
|
|
7611
7611
|
let e = "";
|
|
7612
|
-
const i =
|
|
7612
|
+
const i = Zs().filter((s) => s !== this).pop();
|
|
7613
7613
|
i && (e = i.__zIndex + 1), this.style.zIndex = e, this.__zIndex = e || parseFloat(getComputedStyle(this).zIndex);
|
|
7614
7614
|
}
|
|
7615
7615
|
/** @protected */
|
|
@@ -7632,7 +7632,7 @@ const Qs = () => Array.from(document.body.children).filter((o) => o instanceof H
|
|
|
7632
7632
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
7633
7633
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7634
7634
|
*/
|
|
7635
|
-
const
|
|
7635
|
+
const Ll = (o) => class extends Nl(zl(o)) {
|
|
7636
7636
|
static get properties() {
|
|
7637
7637
|
return {
|
|
7638
7638
|
/**
|
|
@@ -7705,7 +7705,7 @@ const $l = (o) => class extends Fl(Ll(o)) {
|
|
|
7705
7705
|
return ["_rendererOrDataChanged(renderer, owner, model, opened)"];
|
|
7706
7706
|
}
|
|
7707
7707
|
constructor() {
|
|
7708
|
-
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),
|
|
7708
|
+
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), Js && (this._boundIosResizeListener = () => this._detectIosNavbar());
|
|
7709
7709
|
}
|
|
7710
7710
|
/** @protected */
|
|
7711
7711
|
ready() {
|
|
@@ -7773,7 +7773,7 @@ const $l = (o) => class extends Fl(Ll(o)) {
|
|
|
7773
7773
|
}
|
|
7774
7774
|
/** @private */
|
|
7775
7775
|
_openedChanged(e, i) {
|
|
7776
|
-
e ? (this._saveFocus(), this._animatedOpening(),
|
|
7776
|
+
e ? (this._saveFocus(), this._animatedOpening(), Gs(this, () => {
|
|
7777
7777
|
this._trapFocus();
|
|
7778
7778
|
const s = new CustomEvent("vaadin-overlay-open", { bubbles: !0 });
|
|
7779
7779
|
this.dispatchEvent(s);
|
|
@@ -7898,7 +7898,7 @@ const $l = (o) => class extends Fl(Ll(o)) {
|
|
|
7898
7898
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7899
7899
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7900
7900
|
*/
|
|
7901
|
-
function
|
|
7901
|
+
function $l(o) {
|
|
7902
7902
|
const t = [];
|
|
7903
7903
|
for (; o; ) {
|
|
7904
7904
|
if (o.nodeType === Node.DOCUMENT_NODE) {
|
|
@@ -7923,11 +7923,11 @@ function $i(o) {
|
|
|
7923
7923
|
function Nt(o) {
|
|
7924
7924
|
return o ? [...o].join(" ") : "";
|
|
7925
7925
|
}
|
|
7926
|
-
function
|
|
7926
|
+
function Qs(o, t, e) {
|
|
7927
7927
|
const i = $i(o.getAttribute(t));
|
|
7928
7928
|
i.add(e), o.setAttribute(t, Nt(i));
|
|
7929
7929
|
}
|
|
7930
|
-
function
|
|
7930
|
+
function Rl(o, t, e) {
|
|
7931
7931
|
const i = $i(o.getAttribute(t));
|
|
7932
7932
|
if (i.delete(e), i.size === 0) {
|
|
7933
7933
|
o.removeAttribute(t);
|
|
@@ -7935,7 +7935,7 @@ function Hl(o, t, e) {
|
|
|
7935
7935
|
}
|
|
7936
7936
|
o.setAttribute(t, Nt(i));
|
|
7937
7937
|
}
|
|
7938
|
-
function
|
|
7938
|
+
function Hl(o) {
|
|
7939
7939
|
return o.nodeType === Node.TEXT_NODE && o.textContent.trim() === "";
|
|
7940
7940
|
}
|
|
7941
7941
|
/**
|
|
@@ -7943,7 +7943,7 @@ function Bl(o) {
|
|
|
7943
7943
|
* Copyright (c) 2024 Vaadin Ltd.
|
|
7944
7944
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7945
7945
|
*/
|
|
7946
|
-
function
|
|
7946
|
+
function Bl(o, t) {
|
|
7947
7947
|
let e = null;
|
|
7948
7948
|
const i = document.documentElement;
|
|
7949
7949
|
function s() {
|
|
@@ -7983,13 +7983,13 @@ const Kt = {
|
|
|
7983
7983
|
}, Gt = {
|
|
7984
7984
|
start: "left",
|
|
7985
7985
|
end: "right"
|
|
7986
|
-
},
|
|
7986
|
+
}, Io = new ResizeObserver((o) => {
|
|
7987
7987
|
setTimeout(() => {
|
|
7988
7988
|
o.forEach((t) => {
|
|
7989
7989
|
t.target.__overlay && t.target.__overlay._updatePosition();
|
|
7990
7990
|
});
|
|
7991
7991
|
});
|
|
7992
|
-
}),
|
|
7992
|
+
}), Vl = (o) => class extends o {
|
|
7993
7993
|
static get properties() {
|
|
7994
7994
|
return {
|
|
7995
7995
|
/**
|
|
@@ -8088,9 +8088,9 @@ const Kt = {
|
|
|
8088
8088
|
}
|
|
8089
8089
|
/** @private */
|
|
8090
8090
|
__addUpdatePositionEventListeners() {
|
|
8091
|
-
window.visualViewport.addEventListener("resize", this._updatePosition), window.visualViewport.addEventListener("scroll", this.__onScroll, !0), this.__positionTargetAncestorRootNodes =
|
|
8091
|
+
window.visualViewport.addEventListener("resize", this._updatePosition), window.visualViewport.addEventListener("scroll", this.__onScroll, !0), this.__positionTargetAncestorRootNodes = $l(this.positionTarget), this.__positionTargetAncestorRootNodes.forEach((e) => {
|
|
8092
8092
|
e.addEventListener("scroll", this.__onScroll, !0);
|
|
8093
|
-
}), this.positionTarget && (this.__observePositionTargetMove =
|
|
8093
|
+
}), this.positionTarget && (this.__observePositionTargetMove = Bl(this.positionTarget, () => {
|
|
8094
8094
|
this._updatePosition();
|
|
8095
8095
|
}));
|
|
8096
8096
|
}
|
|
@@ -8102,7 +8102,7 @@ const Kt = {
|
|
|
8102
8102
|
}
|
|
8103
8103
|
/** @private */
|
|
8104
8104
|
__overlayOpenedChanged(e, i) {
|
|
8105
|
-
if (this.__removeUpdatePositionEventListeners(), i && (i.__overlay = null,
|
|
8105
|
+
if (this.__removeUpdatePositionEventListeners(), i && (i.__overlay = null, Io.unobserve(i), e && (this.__addUpdatePositionEventListeners(), i.__overlay = this, Io.observe(i))), e) {
|
|
8106
8106
|
const s = getComputedStyle(this);
|
|
8107
8107
|
this.__margins || (this.__margins = {}, ["top", "bottom", "left", "right"].forEach((r) => {
|
|
8108
8108
|
this.__margins[r] = parseInt(s[r], 10);
|
|
@@ -8224,7 +8224,7 @@ const Kt = {
|
|
|
8224
8224
|
* Copyright (c) 2015 - 2024 Vaadin Ltd.
|
|
8225
8225
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8226
8226
|
*/
|
|
8227
|
-
const
|
|
8227
|
+
const Ul = (o) => class extends Vl(Ll(o)) {
|
|
8228
8228
|
/**
|
|
8229
8229
|
* Override method inherited from `OverlayMixin` to not close on input click.
|
|
8230
8230
|
* Needed to ignore date-picker's own input in the mousedown listener below.
|
|
@@ -8241,7 +8241,7 @@ const jl = (o) => class extends Ul($l(o)) {
|
|
|
8241
8241
|
* @override
|
|
8242
8242
|
*/
|
|
8243
8243
|
_mouseDownListener(e) {
|
|
8244
|
-
super._mouseDownListener(e), this._shouldCloseOnOutsideClick(e) && !
|
|
8244
|
+
super._mouseDownListener(e), this._shouldCloseOnOutsideClick(e) && !Ys(e.composedPath()[0]) && e.preventDefault();
|
|
8245
8245
|
}
|
|
8246
8246
|
};
|
|
8247
8247
|
/**
|
|
@@ -8249,7 +8249,7 @@ const jl = (o) => class extends Ul($l(o)) {
|
|
|
8249
8249
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
8250
8250
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8251
8251
|
*/
|
|
8252
|
-
const
|
|
8252
|
+
const jl = P`
|
|
8253
8253
|
[part='overlay'] {
|
|
8254
8254
|
display: flex;
|
|
8255
8255
|
flex: auto;
|
|
@@ -8270,10 +8270,10 @@ const Yl = P`
|
|
|
8270
8270
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
8271
8271
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
8272
8272
|
*/
|
|
8273
|
-
H("vaadin-date-picker-overlay", [
|
|
8273
|
+
H("vaadin-date-picker-overlay", [fl, jl], {
|
|
8274
8274
|
moduleId: "vaadin-date-picker-overlay-styles"
|
|
8275
8275
|
});
|
|
8276
|
-
class
|
|
8276
|
+
class Yl extends Ul(Mt(Se(be))) {
|
|
8277
8277
|
static get is() {
|
|
8278
8278
|
return "vaadin-date-picker-overlay";
|
|
8279
8279
|
}
|
|
@@ -8288,34 +8288,34 @@ class Wl extends jl(Mt(Se(be))) {
|
|
|
8288
8288
|
`;
|
|
8289
8289
|
}
|
|
8290
8290
|
}
|
|
8291
|
-
le(
|
|
8292
|
-
const
|
|
8293
|
-
function
|
|
8291
|
+
le(Yl);
|
|
8292
|
+
const Wl = /\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i, wt = window.Vaadin && window.Vaadin.Flow && window.Vaadin.Flow.clients;
|
|
8293
|
+
function ql() {
|
|
8294
8294
|
function o() {
|
|
8295
8295
|
return !0;
|
|
8296
8296
|
}
|
|
8297
|
-
return
|
|
8297
|
+
return er(o);
|
|
8298
8298
|
}
|
|
8299
|
-
function
|
|
8299
|
+
function Kl() {
|
|
8300
8300
|
try {
|
|
8301
|
-
return
|
|
8301
|
+
return Gl() ? !0 : Jl() ? wt ? !Xl() : !ql() : !1;
|
|
8302
8302
|
} catch (o) {
|
|
8303
8303
|
return !1;
|
|
8304
8304
|
}
|
|
8305
8305
|
}
|
|
8306
|
-
function
|
|
8306
|
+
function Gl() {
|
|
8307
8307
|
return localStorage.getItem("vaadin.developmentmode.force");
|
|
8308
8308
|
}
|
|
8309
|
-
function
|
|
8309
|
+
function Jl() {
|
|
8310
8310
|
return ["localhost", "127.0.0.1"].indexOf(window.location.hostname) >= 0;
|
|
8311
8311
|
}
|
|
8312
|
-
function
|
|
8312
|
+
function Xl() {
|
|
8313
8313
|
return !!(wt && Object.keys(wt).map((t) => wt[t]).filter((t) => t.productionMode).length > 0);
|
|
8314
8314
|
}
|
|
8315
|
-
function
|
|
8315
|
+
function er(o, t) {
|
|
8316
8316
|
if (typeof o != "function")
|
|
8317
8317
|
return;
|
|
8318
|
-
const e =
|
|
8318
|
+
const e = Wl.exec(o.toString());
|
|
8319
8319
|
if (e)
|
|
8320
8320
|
try {
|
|
8321
8321
|
o = new Function(e[1]);
|
|
@@ -8325,12 +8325,12 @@ function tr(o, t) {
|
|
|
8325
8325
|
return o(t);
|
|
8326
8326
|
}
|
|
8327
8327
|
window.Vaadin = window.Vaadin || {};
|
|
8328
|
-
const
|
|
8328
|
+
const No = function(o, t) {
|
|
8329
8329
|
if (window.Vaadin.developmentMode)
|
|
8330
|
-
return
|
|
8330
|
+
return er(o, t);
|
|
8331
8331
|
};
|
|
8332
|
-
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode =
|
|
8333
|
-
function
|
|
8332
|
+
window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode = Kl());
|
|
8333
|
+
function Zl() {
|
|
8334
8334
|
/*! vaadin-dev-mode:start
|
|
8335
8335
|
(function () {
|
|
8336
8336
|
'use strict';
|
|
@@ -8811,9 +8811,9 @@ function Ql() {
|
|
|
8811
8811
|
|
|
8812
8812
|
vaadin-dev-mode:end **/
|
|
8813
8813
|
}
|
|
8814
|
-
const
|
|
8815
|
-
if (typeof
|
|
8816
|
-
return
|
|
8814
|
+
const Ql = function() {
|
|
8815
|
+
if (typeof No == "function")
|
|
8816
|
+
return No(Zl);
|
|
8817
8817
|
};
|
|
8818
8818
|
/**
|
|
8819
8819
|
* @license
|
|
@@ -8824,10 +8824,10 @@ const ed = function() {
|
|
|
8824
8824
|
* Code distributed by Google as part of the polymer project is also
|
|
8825
8825
|
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
8826
8826
|
*/
|
|
8827
|
-
let
|
|
8827
|
+
let Fo = 0, tr = 0;
|
|
8828
8828
|
const Le = [];
|
|
8829
8829
|
let gi = !1;
|
|
8830
|
-
function
|
|
8830
|
+
function ed() {
|
|
8831
8831
|
gi = !1;
|
|
8832
8832
|
const o = Le.length;
|
|
8833
8833
|
for (let t = 0; t < o; t++) {
|
|
@@ -8841,7 +8841,7 @@ function td() {
|
|
|
8841
8841
|
});
|
|
8842
8842
|
}
|
|
8843
8843
|
}
|
|
8844
|
-
Le.splice(0, o),
|
|
8844
|
+
Le.splice(0, o), tr += o;
|
|
8845
8845
|
}
|
|
8846
8846
|
const Et = {
|
|
8847
8847
|
/**
|
|
@@ -8883,7 +8883,7 @@ const Et = {
|
|
|
8883
8883
|
cancel(o) {
|
|
8884
8884
|
window.clearTimeout(o);
|
|
8885
8885
|
}
|
|
8886
|
-
},
|
|
8886
|
+
}, td = {
|
|
8887
8887
|
/**
|
|
8888
8888
|
* Enqueues a function called at `requestAnimationFrame` timing.
|
|
8889
8889
|
*
|
|
@@ -8904,7 +8904,7 @@ const Et = {
|
|
|
8904
8904
|
cancel(o) {
|
|
8905
8905
|
window.cancelAnimationFrame(o);
|
|
8906
8906
|
}
|
|
8907
|
-
},
|
|
8907
|
+
}, id = {
|
|
8908
8908
|
/**
|
|
8909
8909
|
* Enqueues a function called at `requestIdleCallback` timing.
|
|
8910
8910
|
*
|
|
@@ -8925,7 +8925,7 @@ const Et = {
|
|
|
8925
8925
|
cancel(o) {
|
|
8926
8926
|
window.cancelIdleCallback ? window.cancelIdleCallback(o) : window.clearTimeout(o);
|
|
8927
8927
|
}
|
|
8928
|
-
},
|
|
8928
|
+
}, od = {
|
|
8929
8929
|
/**
|
|
8930
8930
|
* Enqueues a function called at microtask timing.
|
|
8931
8931
|
*
|
|
@@ -8934,9 +8934,9 @@ const Et = {
|
|
|
8934
8934
|
* @return {number} Handle used for canceling task
|
|
8935
8935
|
*/
|
|
8936
8936
|
run(o) {
|
|
8937
|
-
gi || (gi = !0, queueMicrotask(() =>
|
|
8938
|
-
const t =
|
|
8939
|
-
return
|
|
8937
|
+
gi || (gi = !0, queueMicrotask(() => ed())), Le.push(o);
|
|
8938
|
+
const t = Fo;
|
|
8939
|
+
return Fo += 1, t;
|
|
8940
8940
|
},
|
|
8941
8941
|
/**
|
|
8942
8942
|
* Cancels a previously enqueued `microTask` callback.
|
|
@@ -8946,7 +8946,7 @@ const Et = {
|
|
|
8946
8946
|
* @return {void}
|
|
8947
8947
|
*/
|
|
8948
8948
|
cancel(o) {
|
|
8949
|
-
const t = o -
|
|
8949
|
+
const t = o - tr;
|
|
8950
8950
|
if (t >= 0) {
|
|
8951
8951
|
if (!Le[t])
|
|
8952
8952
|
throw new Error(`invalid async handle: ${o}`);
|
|
@@ -9055,7 +9055,7 @@ let Be = class vi {
|
|
|
9055
9055
|
return this._timer != null;
|
|
9056
9056
|
}
|
|
9057
9057
|
};
|
|
9058
|
-
function
|
|
9058
|
+
function sd(o) {
|
|
9059
9059
|
yi.add(o);
|
|
9060
9060
|
}
|
|
9061
9061
|
/**
|
|
@@ -9067,17 +9067,17 @@ window.Vaadin || (window.Vaadin = {});
|
|
|
9067
9067
|
window.Vaadin.registrations || (window.Vaadin.registrations = []);
|
|
9068
9068
|
window.Vaadin.developmentModeCallback || (window.Vaadin.developmentModeCallback = {});
|
|
9069
9069
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"] = function() {
|
|
9070
|
-
|
|
9070
|
+
Ql();
|
|
9071
9071
|
};
|
|
9072
9072
|
let Jt;
|
|
9073
|
-
const
|
|
9073
|
+
const zo = /* @__PURE__ */ new Set(), ir = (o) => class extends Mt(o) {
|
|
9074
9074
|
/** @protected */
|
|
9075
9075
|
static finalize() {
|
|
9076
9076
|
super.finalize();
|
|
9077
9077
|
const { is: e } = this;
|
|
9078
|
-
e && !
|
|
9078
|
+
e && !zo.has(e) && (window.Vaadin.registrations.push(this), zo.add(e), window.Vaadin.developmentModeCallback && (Jt = Be.debounce(Jt, id, () => {
|
|
9079
9079
|
window.Vaadin.developmentModeCallback["vaadin-usage-statistics"]();
|
|
9080
|
-
}),
|
|
9080
|
+
}), sd(Jt)));
|
|
9081
9081
|
}
|
|
9082
9082
|
constructor() {
|
|
9083
9083
|
super(), document.doctype === null && console.warn(
|
|
@@ -9090,7 +9090,7 @@ const Lo = /* @__PURE__ */ new Set(), or = (o) => class extends Mt(o) {
|
|
|
9090
9090
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
9091
9091
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9092
9092
|
*/
|
|
9093
|
-
class
|
|
9093
|
+
class rd {
|
|
9094
9094
|
constructor(t, e) {
|
|
9095
9095
|
this.slot = t, this.callback = e, this._storedNodes = [], this._connected = !1, this._scheduled = !1, this._boundSchedule = () => {
|
|
9096
9096
|
this._schedule();
|
|
@@ -9140,9 +9140,9 @@ class nd {
|
|
|
9140
9140
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9141
9141
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9142
9142
|
*/
|
|
9143
|
-
let
|
|
9144
|
-
function
|
|
9145
|
-
return
|
|
9143
|
+
let nd = 0;
|
|
9144
|
+
function or() {
|
|
9145
|
+
return nd++;
|
|
9146
9146
|
}
|
|
9147
9147
|
/**
|
|
9148
9148
|
* @license
|
|
@@ -9159,7 +9159,7 @@ class Te extends EventTarget {
|
|
|
9159
9159
|
* @protected
|
|
9160
9160
|
*/
|
|
9161
9161
|
static generateId(t, e = "default") {
|
|
9162
|
-
return `${e}-${t.localName}-${
|
|
9162
|
+
return `${e}-${t.localName}-${or()}`;
|
|
9163
9163
|
}
|
|
9164
9164
|
constructor(t, e, i, s = {}) {
|
|
9165
9165
|
super();
|
|
@@ -9251,8 +9251,8 @@ class Te extends EventTarget {
|
|
|
9251
9251
|
*/
|
|
9252
9252
|
observeSlot() {
|
|
9253
9253
|
const { slotName: t } = this, e = t === "" ? "slot:not([name])" : `slot[name=${t}]`, i = this.host.shadowRoot.querySelector(e);
|
|
9254
|
-
this.__slotObserver = new
|
|
9255
|
-
const n = this.multiple ? this.nodes : [this.node], a = s.filter((l) => !
|
|
9254
|
+
this.__slotObserver = new rd(i, ({ addedNodes: s, removedNodes: r }) => {
|
|
9255
|
+
const n = this.multiple ? this.nodes : [this.node], a = s.filter((l) => !Hl(l) && !n.includes(l));
|
|
9256
9256
|
r.length && (this.nodes = n.filter((l) => !r.includes(l)), r.forEach((l) => {
|
|
9257
9257
|
this.teardownNode(l);
|
|
9258
9258
|
})), a && a.length > 0 && (this.multiple ? (this.defaultNode && this.defaultNode.remove(), this.nodes = [...n, ...a].filter((l) => l !== this.defaultNode), a.forEach((l) => {
|
|
@@ -9266,7 +9266,7 @@ class Te extends EventTarget {
|
|
|
9266
9266
|
* Copyright (c) 2022 - 2024 Vaadin Ltd.
|
|
9267
9267
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9268
9268
|
*/
|
|
9269
|
-
class
|
|
9269
|
+
class sr extends Te {
|
|
9270
9270
|
constructor(t) {
|
|
9271
9271
|
super(t, "tooltip"), this.setTarget(t);
|
|
9272
9272
|
}
|
|
@@ -9367,7 +9367,7 @@ class rr extends Te {
|
|
|
9367
9367
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
9368
9368
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9369
9369
|
*/
|
|
9370
|
-
const
|
|
9370
|
+
const ad = P`
|
|
9371
9371
|
:host {
|
|
9372
9372
|
display: inline-block;
|
|
9373
9373
|
position: relative;
|
|
@@ -9427,7 +9427,7 @@ const ld = P`
|
|
|
9427
9427
|
outline-color: GrayText;
|
|
9428
9428
|
}
|
|
9429
9429
|
}
|
|
9430
|
-
`,
|
|
9430
|
+
`, ld = (o) => o`
|
|
9431
9431
|
<div class="vaadin-button-container">
|
|
9432
9432
|
<span part="prefix" aria-hidden="true">
|
|
9433
9433
|
<slot name="prefix"></slot>
|
|
@@ -9450,34 +9450,33 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
9450
9450
|
Code distributed by Google as part of the polymer project is also
|
|
9451
9451
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
9452
9452
|
*/
|
|
9453
|
-
const
|
|
9453
|
+
const dd = (o) => o, rr = typeof document.head.style.touchAction == "string", bi = "__polymerGestures", Xt = "__polymerGesturesHandled", wi = "__polymerGesturesTouchAction", Lo = 25, $o = 5, cd = 2, ud = ["mousedown", "mousemove", "mouseup", "click"], hd = [0, 1, 4, 2], pd = function() {
|
|
9454
9454
|
try {
|
|
9455
9455
|
return new MouseEvent("test", { buttons: 1 }).buttons === 1;
|
|
9456
9456
|
} catch (o) {
|
|
9457
9457
|
return !1;
|
|
9458
9458
|
}
|
|
9459
9459
|
}();
|
|
9460
|
-
function
|
|
9461
|
-
return
|
|
9460
|
+
function Ri(o) {
|
|
9461
|
+
return ud.indexOf(o) > -1;
|
|
9462
9462
|
}
|
|
9463
|
-
let
|
|
9463
|
+
let fd = !1;
|
|
9464
9464
|
(function() {
|
|
9465
9465
|
try {
|
|
9466
9466
|
const o = Object.defineProperty({}, "passive", {
|
|
9467
9467
|
// eslint-disable-next-line getter-return
|
|
9468
9468
|
get() {
|
|
9469
|
-
|
|
9469
|
+
fd = !0;
|
|
9470
9470
|
}
|
|
9471
9471
|
});
|
|
9472
9472
|
window.addEventListener("test", null, o), window.removeEventListener("test", null, o);
|
|
9473
9473
|
} catch (o) {
|
|
9474
9474
|
}
|
|
9475
9475
|
})();
|
|
9476
|
-
function
|
|
9477
|
-
|
|
9478
|
-
return { passive: !0 };
|
|
9476
|
+
function md(o) {
|
|
9477
|
+
Ri(o);
|
|
9479
9478
|
}
|
|
9480
|
-
const
|
|
9479
|
+
const _d = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), gd = {
|
|
9481
9480
|
button: !0,
|
|
9482
9481
|
command: !0,
|
|
9483
9482
|
fieldset: !0,
|
|
@@ -9490,15 +9489,15 @@ const gd = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), yd = {
|
|
|
9490
9489
|
};
|
|
9491
9490
|
function Ee(o) {
|
|
9492
9491
|
const t = o.type;
|
|
9493
|
-
if (!
|
|
9492
|
+
if (!Ri(t))
|
|
9494
9493
|
return !1;
|
|
9495
9494
|
if (t === "mousemove") {
|
|
9496
9495
|
let i = o.buttons === void 0 ? 1 : o.buttons;
|
|
9497
|
-
return o instanceof window.MouseEvent && !
|
|
9496
|
+
return o instanceof window.MouseEvent && !pd && (i = hd[o.which] || 0), !!(i & 1);
|
|
9498
9497
|
}
|
|
9499
9498
|
return (o.button === void 0 ? 0 : o.button) === 0;
|
|
9500
9499
|
}
|
|
9501
|
-
function
|
|
9500
|
+
function yd(o) {
|
|
9502
9501
|
if (o.type === "click") {
|
|
9503
9502
|
if (o.detail === 0)
|
|
9504
9503
|
return !0;
|
|
@@ -9515,10 +9514,6 @@ function vd(o) {
|
|
|
9515
9514
|
return !1;
|
|
9516
9515
|
}
|
|
9517
9516
|
const he = {
|
|
9518
|
-
mouse: {
|
|
9519
|
-
target: null,
|
|
9520
|
-
mouseIgnoreJob: null
|
|
9521
|
-
},
|
|
9522
9517
|
touch: {
|
|
9523
9518
|
x: 0,
|
|
9524
9519
|
y: 0,
|
|
@@ -9526,9 +9521,9 @@ const he = {
|
|
|
9526
9521
|
scrollDecided: !1
|
|
9527
9522
|
}
|
|
9528
9523
|
};
|
|
9529
|
-
function
|
|
9524
|
+
function vd(o) {
|
|
9530
9525
|
let t = "auto";
|
|
9531
|
-
const e =
|
|
9526
|
+
const e = ar(o);
|
|
9532
9527
|
for (let i = 0, s; i < e.length; i++)
|
|
9533
9528
|
if (s = e[i], s[wi]) {
|
|
9534
9529
|
t = s[wi];
|
|
@@ -9536,14 +9531,14 @@ function bd(o) {
|
|
|
9536
9531
|
}
|
|
9537
9532
|
return t;
|
|
9538
9533
|
}
|
|
9539
|
-
function
|
|
9534
|
+
function nr(o, t, e) {
|
|
9540
9535
|
o.movefn = t, o.upfn = e, document.addEventListener("mousemove", t), document.addEventListener("mouseup", e);
|
|
9541
9536
|
}
|
|
9542
9537
|
function $e(o) {
|
|
9543
9538
|
document.removeEventListener("mousemove", o.movefn), document.removeEventListener("mouseup", o.upfn), o.movefn = null, o.upfn = null;
|
|
9544
9539
|
}
|
|
9545
|
-
const
|
|
9546
|
-
function
|
|
9540
|
+
const ar = window.ShadyDOM && window.ShadyDOM.noPatch ? window.ShadyDOM.composedPath : (o) => o.composedPath && o.composedPath() || [], Hi = {}, De = [];
|
|
9541
|
+
function bd(o, t) {
|
|
9547
9542
|
let e = document.elementFromPoint(o, t), i = e;
|
|
9548
9543
|
for (; i && i.shadowRoot && !window.ShadyDOM; ) {
|
|
9549
9544
|
const s = i;
|
|
@@ -9554,13 +9549,13 @@ function wd(o, t) {
|
|
|
9554
9549
|
return e;
|
|
9555
9550
|
}
|
|
9556
9551
|
function ve(o) {
|
|
9557
|
-
const t =
|
|
9552
|
+
const t = ar(
|
|
9558
9553
|
/** @type {?Event} */
|
|
9559
9554
|
o
|
|
9560
9555
|
);
|
|
9561
9556
|
return t.length > 0 ? t[0] : o.target;
|
|
9562
9557
|
}
|
|
9563
|
-
function
|
|
9558
|
+
function wd(o) {
|
|
9564
9559
|
const t = o.type, i = o.currentTarget[bi];
|
|
9565
9560
|
if (!i)
|
|
9566
9561
|
return;
|
|
@@ -9571,7 +9566,7 @@ function xd(o) {
|
|
|
9571
9566
|
const n = o.changedTouches[0];
|
|
9572
9567
|
if (t === "touchstart" && o.touches.length === 1 && (he.touch.id = n.identifier), he.touch.id !== n.identifier)
|
|
9573
9568
|
return;
|
|
9574
|
-
|
|
9569
|
+
rr || (t === "touchstart" || t === "touchmove") && xd(o);
|
|
9575
9570
|
}
|
|
9576
9571
|
const r = o[Xt];
|
|
9577
9572
|
if (!r.skip) {
|
|
@@ -9581,7 +9576,7 @@ function xd(o) {
|
|
|
9581
9576
|
a = De[n], s[a.name] && !r[a.name] && (r[a.name] = !0, a[t](o));
|
|
9582
9577
|
}
|
|
9583
9578
|
}
|
|
9584
|
-
function
|
|
9579
|
+
function xd(o) {
|
|
9585
9580
|
const t = o.changedTouches[0], e = o.type;
|
|
9586
9581
|
if (e === "touchstart")
|
|
9587
9582
|
he.touch.x = t.clientX, he.touch.y = t.clientY, he.touch.scrollDecided = !1;
|
|
@@ -9589,29 +9584,29 @@ function Cd(o) {
|
|
|
9589
9584
|
if (he.touch.scrollDecided)
|
|
9590
9585
|
return;
|
|
9591
9586
|
he.touch.scrollDecided = !0;
|
|
9592
|
-
const i =
|
|
9587
|
+
const i = vd(o);
|
|
9593
9588
|
let s = !1;
|
|
9594
9589
|
const r = Math.abs(he.touch.x - t.clientX), n = Math.abs(he.touch.y - t.clientY);
|
|
9595
9590
|
o.cancelable && (i === "none" ? s = !0 : i === "pan-x" ? s = n > r : i === "pan-y" && (s = r > n)), s ? o.preventDefault() : kt("track");
|
|
9596
9591
|
}
|
|
9597
9592
|
}
|
|
9598
9593
|
function ae(o, t, e) {
|
|
9599
|
-
return
|
|
9594
|
+
return Hi[t] ? (Cd(o, t, e), !0) : !1;
|
|
9600
9595
|
}
|
|
9601
|
-
function
|
|
9602
|
-
const i =
|
|
9596
|
+
function Cd(o, t, e) {
|
|
9597
|
+
const i = Hi[t], s = i.deps, r = i.name;
|
|
9603
9598
|
let n = o[bi];
|
|
9604
9599
|
n || (o[bi] = n = {});
|
|
9605
9600
|
for (let a = 0, l, d; a < s.length; a++)
|
|
9606
|
-
l = s[a], !(
|
|
9607
|
-
o.addEventListener(t, e), i.touchAction &&
|
|
9601
|
+
l = s[a], !(_d && Ri(l) && l !== "click") && (d = n[l], d || (n[l] = d = { _count: 0 }), d._count === 0 && o.addEventListener(l, wd, md(l)), d[r] = (d[r] || 0) + 1, d._count = (d._count || 0) + 1);
|
|
9602
|
+
o.addEventListener(t, e), i.touchAction && lr(o, i.touchAction);
|
|
9608
9603
|
}
|
|
9609
|
-
function
|
|
9604
|
+
function Bi(o) {
|
|
9610
9605
|
De.push(o), o.emits.forEach((t) => {
|
|
9611
|
-
|
|
9606
|
+
Hi[t] = o;
|
|
9612
9607
|
});
|
|
9613
9608
|
}
|
|
9614
|
-
function
|
|
9609
|
+
function Ad(o) {
|
|
9615
9610
|
for (let t = 0, e; t < De.length; t++) {
|
|
9616
9611
|
e = De[t];
|
|
9617
9612
|
for (let i = 0, s; i < e.emits.length; i++)
|
|
@@ -9620,14 +9615,14 @@ function Td(o) {
|
|
|
9620
9615
|
}
|
|
9621
9616
|
return null;
|
|
9622
9617
|
}
|
|
9623
|
-
function
|
|
9624
|
-
|
|
9618
|
+
function lr(o, t) {
|
|
9619
|
+
rr && o instanceof HTMLElement && od.run(() => {
|
|
9625
9620
|
o.style.touchAction = t;
|
|
9626
9621
|
}), o[wi] = t;
|
|
9627
9622
|
}
|
|
9628
|
-
function
|
|
9623
|
+
function Vi(o, t, e) {
|
|
9629
9624
|
const i = new Event(t, { bubbles: !0, cancelable: !0, composed: !0 });
|
|
9630
|
-
if (i.detail = e,
|
|
9625
|
+
if (i.detail = e, dd(
|
|
9631
9626
|
/** @type {!Node} */
|
|
9632
9627
|
o
|
|
9633
9628
|
).dispatchEvent(i), i.defaultPrevented) {
|
|
@@ -9636,10 +9631,10 @@ function Ui(o, t, e) {
|
|
|
9636
9631
|
}
|
|
9637
9632
|
}
|
|
9638
9633
|
function kt(o) {
|
|
9639
|
-
const t =
|
|
9634
|
+
const t = Ad(o);
|
|
9640
9635
|
t.info && (t.info.prevent = !0);
|
|
9641
9636
|
}
|
|
9642
|
-
|
|
9637
|
+
Bi({
|
|
9643
9638
|
name: "downup",
|
|
9644
9639
|
deps: ["mousedown", "touchstart", "touchend"],
|
|
9645
9640
|
flow: {
|
|
@@ -9671,7 +9666,7 @@ Vi({
|
|
|
9671
9666
|
}, s = (r) => {
|
|
9672
9667
|
Ee(r) && Ge("up", t, r), $e(e.info);
|
|
9673
9668
|
};
|
|
9674
|
-
|
|
9669
|
+
nr(this.info, i, s), Ge("down", t, o);
|
|
9675
9670
|
},
|
|
9676
9671
|
/**
|
|
9677
9672
|
* @this {GestureRecognizer}
|
|
@@ -9691,7 +9686,7 @@ Vi({
|
|
|
9691
9686
|
}
|
|
9692
9687
|
});
|
|
9693
9688
|
function Ge(o, t, e, i) {
|
|
9694
|
-
t &&
|
|
9689
|
+
t && Vi(t, o, {
|
|
9695
9690
|
x: e.clientX,
|
|
9696
9691
|
y: e.clientY,
|
|
9697
9692
|
sourceEvent: e,
|
|
@@ -9701,7 +9696,7 @@ function Ge(o, t, e, i) {
|
|
|
9701
9696
|
}
|
|
9702
9697
|
});
|
|
9703
9698
|
}
|
|
9704
|
-
|
|
9699
|
+
Bi({
|
|
9705
9700
|
name: "track",
|
|
9706
9701
|
touchAction: "none",
|
|
9707
9702
|
deps: ["mousedown", "touchstart", "touchmove", "touchend"],
|
|
@@ -9718,7 +9713,7 @@ Vi({
|
|
|
9718
9713
|
moves: [],
|
|
9719
9714
|
/** @this {GestureInfo} */
|
|
9720
9715
|
addMove(o) {
|
|
9721
|
-
this.moves.length >
|
|
9716
|
+
this.moves.length > cd && this.moves.shift(), this.moves.push(o);
|
|
9722
9717
|
},
|
|
9723
9718
|
movefn: null,
|
|
9724
9719
|
upfn: null,
|
|
@@ -9741,11 +9736,11 @@ Vi({
|
|
|
9741
9736
|
return;
|
|
9742
9737
|
const t = ve(o), e = this, i = (r) => {
|
|
9743
9738
|
const n = r.clientX, a = r.clientY;
|
|
9744
|
-
|
|
9739
|
+
Ro(e.info, n, a) && (e.info.state = e.info.started ? r.type === "mouseup" ? "end" : "track" : "start", e.info.state === "start" && kt("tap"), e.info.addMove({ x: n, y: a }), Ee(r) || (e.info.state = "end", $e(e.info)), t && Zt(e.info, t, r), e.info.started = !0);
|
|
9745
9740
|
}, s = (r) => {
|
|
9746
9741
|
e.info.started && i(r), $e(e.info);
|
|
9747
9742
|
};
|
|
9748
|
-
|
|
9743
|
+
nr(this.info, i, s), this.info.x = o.clientX, this.info.y = o.clientY;
|
|
9749
9744
|
},
|
|
9750
9745
|
/**
|
|
9751
9746
|
* @this {GestureRecognizer}
|
|
@@ -9763,7 +9758,7 @@ Vi({
|
|
|
9763
9758
|
*/
|
|
9764
9759
|
touchmove(o) {
|
|
9765
9760
|
const t = ve(o), e = o.changedTouches[0], i = e.clientX, s = e.clientY;
|
|
9766
|
-
|
|
9761
|
+
Ro(this.info, i, s) && (this.info.state === "start" && kt("tap"), this.info.addMove({ x: i, y: s }), Zt(this.info, t, e), this.info.state = "track", this.info.started = !0);
|
|
9767
9762
|
},
|
|
9768
9763
|
/**
|
|
9769
9764
|
* @this {GestureRecognizer}
|
|
@@ -9775,20 +9770,20 @@ Vi({
|
|
|
9775
9770
|
this.info.started && (this.info.state = "end", this.info.addMove({ x: e.clientX, y: e.clientY }), Zt(this.info, t, e));
|
|
9776
9771
|
}
|
|
9777
9772
|
});
|
|
9778
|
-
function
|
|
9773
|
+
function Ro(o, t, e) {
|
|
9779
9774
|
if (o.prevent)
|
|
9780
9775
|
return !1;
|
|
9781
9776
|
if (o.started)
|
|
9782
9777
|
return !0;
|
|
9783
9778
|
const i = Math.abs(o.x - t), s = Math.abs(o.y - e);
|
|
9784
|
-
return i >=
|
|
9779
|
+
return i >= $o || s >= $o;
|
|
9785
9780
|
}
|
|
9786
9781
|
function Zt(o, t, e) {
|
|
9787
9782
|
if (!t)
|
|
9788
9783
|
return;
|
|
9789
9784
|
const i = o.moves[o.moves.length - 2], s = o.moves[o.moves.length - 1], r = s.x - o.x, n = s.y - o.y;
|
|
9790
9785
|
let a, l = 0;
|
|
9791
|
-
i && (a = s.x - i.x, l = s.y - i.y),
|
|
9786
|
+
i && (a = s.x - i.x, l = s.y - i.y), Vi(t, "track", {
|
|
9792
9787
|
state: o.state,
|
|
9793
9788
|
x: e.clientX,
|
|
9794
9789
|
y: e.clientY,
|
|
@@ -9798,11 +9793,11 @@ function Zt(o, t, e) {
|
|
|
9798
9793
|
ddy: l,
|
|
9799
9794
|
sourceEvent: e,
|
|
9800
9795
|
hover() {
|
|
9801
|
-
return
|
|
9796
|
+
return bd(e.clientX, e.clientY);
|
|
9802
9797
|
}
|
|
9803
9798
|
});
|
|
9804
9799
|
}
|
|
9805
|
-
|
|
9800
|
+
Bi({
|
|
9806
9801
|
name: "tap",
|
|
9807
9802
|
deps: ["mousedown", "click", "touchstart", "touchend"],
|
|
9808
9803
|
flow: {
|
|
@@ -9836,7 +9831,7 @@ Vi({
|
|
|
9836
9831
|
* @return {void}
|
|
9837
9832
|
*/
|
|
9838
9833
|
click(o) {
|
|
9839
|
-
Ee(o) &&
|
|
9834
|
+
Ee(o) && Ho(this.info, o);
|
|
9840
9835
|
},
|
|
9841
9836
|
/**
|
|
9842
9837
|
* @this {GestureRecognizer}
|
|
@@ -9853,15 +9848,15 @@ Vi({
|
|
|
9853
9848
|
* @return {void}
|
|
9854
9849
|
*/
|
|
9855
9850
|
touchend(o) {
|
|
9856
|
-
|
|
9851
|
+
Ho(this.info, o.changedTouches[0], o);
|
|
9857
9852
|
}
|
|
9858
9853
|
});
|
|
9859
|
-
function
|
|
9854
|
+
function Ho(o, t, e) {
|
|
9860
9855
|
const i = Math.abs(t.clientX - o.x), s = Math.abs(t.clientY - o.y), r = ve(e || t);
|
|
9861
|
-
!r ||
|
|
9856
|
+
!r || gd[
|
|
9862
9857
|
/** @type {!HTMLElement} */
|
|
9863
9858
|
r.localName
|
|
9864
|
-
] && r.hasAttribute("disabled") || (isNaN(i) || isNaN(s) || i <=
|
|
9859
|
+
] && r.hasAttribute("disabled") || (isNaN(i) || isNaN(s) || i <= Lo && s <= Lo || yd(t)) && (o.prevent || Vi(r, "tap", {
|
|
9865
9860
|
x: t.clientX,
|
|
9866
9861
|
y: t.clientY,
|
|
9867
9862
|
sourceEvent: t,
|
|
@@ -9873,7 +9868,7 @@ function Bo(o, t, e) {
|
|
|
9873
9868
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9874
9869
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9875
9870
|
*/
|
|
9876
|
-
const
|
|
9871
|
+
const dr = U(
|
|
9877
9872
|
(o) => class extends o {
|
|
9878
9873
|
static get properties() {
|
|
9879
9874
|
return {
|
|
@@ -9980,7 +9975,7 @@ const Ft = U(
|
|
|
9980
9975
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9981
9976
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9982
9977
|
*/
|
|
9983
|
-
const
|
|
9978
|
+
const Td = (o) => class extends dr(Ft(o)) {
|
|
9984
9979
|
/**
|
|
9985
9980
|
* An array of activation keys.
|
|
9986
9981
|
*
|
|
@@ -10043,7 +10038,7 @@ const Dd = (o) => class extends cr(Ft(o)) {
|
|
|
10043
10038
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
10044
10039
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10045
10040
|
*/
|
|
10046
|
-
const
|
|
10041
|
+
const Ui = U(
|
|
10047
10042
|
(o) => class extends o {
|
|
10048
10043
|
/**
|
|
10049
10044
|
* @protected
|
|
@@ -10100,7 +10095,7 @@ const ji = U(
|
|
|
10100
10095
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
10101
10096
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10102
10097
|
*/
|
|
10103
|
-
const
|
|
10098
|
+
const cr = (o) => class extends dr(o) {
|
|
10104
10099
|
static get properties() {
|
|
10105
10100
|
return {
|
|
10106
10101
|
/**
|
|
@@ -10151,7 +10146,7 @@ const ur = (o) => class extends cr(o) {
|
|
|
10151
10146
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10152
10147
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10153
10148
|
*/
|
|
10154
|
-
const
|
|
10149
|
+
const Dd = (o) => class extends Td(cr(Ui(o))) {
|
|
10155
10150
|
static get properties() {
|
|
10156
10151
|
return {
|
|
10157
10152
|
/**
|
|
@@ -10206,26 +10201,26 @@ const Ed = (o) => class extends Dd(ur(ji(o))) {
|
|
|
10206
10201
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10207
10202
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10208
10203
|
*/
|
|
10209
|
-
H("vaadin-button",
|
|
10210
|
-
class
|
|
10204
|
+
H("vaadin-button", ad, { moduleId: "vaadin-button-styles" });
|
|
10205
|
+
class Ed extends Dd(ir(Se(je(be)))) {
|
|
10211
10206
|
static get is() {
|
|
10212
10207
|
return "vaadin-button";
|
|
10213
10208
|
}
|
|
10214
10209
|
static get template() {
|
|
10215
|
-
return
|
|
10210
|
+
return ld(Oe);
|
|
10216
10211
|
}
|
|
10217
10212
|
/** @protected */
|
|
10218
10213
|
ready() {
|
|
10219
|
-
super.ready(), this._tooltipController = new
|
|
10214
|
+
super.ready(), this._tooltipController = new sr(this), this.addController(this._tooltipController);
|
|
10220
10215
|
}
|
|
10221
10216
|
}
|
|
10222
|
-
le(
|
|
10217
|
+
le(Ed);
|
|
10223
10218
|
/**
|
|
10224
10219
|
* @license
|
|
10225
10220
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10226
10221
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10227
10222
|
*/
|
|
10228
|
-
function
|
|
10223
|
+
function kd(o) {
|
|
10229
10224
|
let t = o.getDay();
|
|
10230
10225
|
t === 0 && (t = 7);
|
|
10231
10226
|
const e = 4 - t, i = new Date(o.getTime() + e * 24 * 3600 * 1e3), s = new Date(0, 0);
|
|
@@ -10240,7 +10235,7 @@ function xi(o) {
|
|
|
10240
10235
|
function fe(o, t, e = xi) {
|
|
10241
10236
|
return o instanceof Date && t instanceof Date && e(o).getTime() === e(t).getTime();
|
|
10242
10237
|
}
|
|
10243
|
-
function
|
|
10238
|
+
function ji(o) {
|
|
10244
10239
|
return {
|
|
10245
10240
|
day: o.getDate(),
|
|
10246
10241
|
month: o.getMonth(),
|
|
@@ -10250,12 +10245,12 @@ function Yi(o) {
|
|
|
10250
10245
|
function Ve(o, t, e, i) {
|
|
10251
10246
|
let s = !1;
|
|
10252
10247
|
if (typeof i == "function" && o) {
|
|
10253
|
-
const r =
|
|
10248
|
+
const r = ji(o);
|
|
10254
10249
|
s = i(r);
|
|
10255
10250
|
}
|
|
10256
10251
|
return (!t || o >= t) && (!e || o <= e) && !s;
|
|
10257
10252
|
}
|
|
10258
|
-
function
|
|
10253
|
+
function ur(o, t) {
|
|
10259
10254
|
return t.filter((e) => e !== void 0).reduce((e, i) => {
|
|
10260
10255
|
if (!i)
|
|
10261
10256
|
return e;
|
|
@@ -10265,11 +10260,11 @@ function hr(o, t) {
|
|
|
10265
10260
|
return s < r ? i : e;
|
|
10266
10261
|
});
|
|
10267
10262
|
}
|
|
10268
|
-
function
|
|
10263
|
+
function hr(o) {
|
|
10269
10264
|
const t = /* @__PURE__ */ new Date(), e = new Date(t);
|
|
10270
10265
|
return e.setDate(1), e.setMonth(parseInt(o) + t.getMonth()), e;
|
|
10271
10266
|
}
|
|
10272
|
-
function
|
|
10267
|
+
function Sd(o, t, e = 0, i = 1) {
|
|
10273
10268
|
if (t > 99)
|
|
10274
10269
|
throw new Error("The provided year cannot have more than 2 digits.");
|
|
10275
10270
|
if (t < 0)
|
|
@@ -10284,15 +10279,15 @@ function Je(o) {
|
|
|
10284
10279
|
const e = new Date(0, 0);
|
|
10285
10280
|
return e.setFullYear(parseInt(t[1], 10)), e.setMonth(parseInt(t[2], 10) - 1), e.setDate(parseInt(t[3], 10)), e;
|
|
10286
10281
|
}
|
|
10287
|
-
function
|
|
10282
|
+
function Pd(o) {
|
|
10288
10283
|
const t = (l, d = "00") => (d + l).substr((d + l).length - d.length);
|
|
10289
10284
|
let e = "", i = "0000", s = o.year;
|
|
10290
10285
|
s < 0 ? (s = -s, e = "-", i = "000000") : o.year >= 1e4 && (e = "+", i = "000000");
|
|
10291
10286
|
const r = e + t(s, i), n = t(o.month + 1), a = t(o.day);
|
|
10292
10287
|
return [r, n, a].join("-");
|
|
10293
10288
|
}
|
|
10294
|
-
function
|
|
10295
|
-
return o instanceof Date ?
|
|
10289
|
+
function Od(o) {
|
|
10290
|
+
return o instanceof Date ? Pd({
|
|
10296
10291
|
year: o.getFullYear(),
|
|
10297
10292
|
month: o.getMonth(),
|
|
10298
10293
|
day: o.getDate()
|
|
@@ -10399,9 +10394,9 @@ class St {
|
|
|
10399
10394
|
}
|
|
10400
10395
|
}
|
|
10401
10396
|
let ct = /* @__PURE__ */ new Set();
|
|
10402
|
-
const
|
|
10397
|
+
const Md = function(o) {
|
|
10403
10398
|
ct.add(o);
|
|
10404
|
-
},
|
|
10399
|
+
}, Id = function() {
|
|
10405
10400
|
const o = !!ct.size;
|
|
10406
10401
|
return ct.forEach((t) => {
|
|
10407
10402
|
try {
|
|
@@ -10422,10 +10417,10 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
10422
10417
|
Code distributed by Google as part of the polymer project is also
|
|
10423
10418
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10424
10419
|
*/
|
|
10425
|
-
const
|
|
10420
|
+
const Yi = function() {
|
|
10426
10421
|
let o, t;
|
|
10427
10422
|
do
|
|
10428
|
-
o = window.ShadyDOM && ShadyDOM.flush(), window.ShadyCSS && window.ShadyCSS.ScopingShim && window.ShadyCSS.ScopingShim.flush(), t =
|
|
10423
|
+
o = window.ShadyDOM && ShadyDOM.flush(), window.ShadyCSS && window.ShadyCSS.ScopingShim && window.ShadyCSS.ScopingShim.flush(), t = Id();
|
|
10429
10424
|
while (o || t);
|
|
10430
10425
|
};
|
|
10431
10426
|
/**
|
|
@@ -10433,8 +10428,8 @@ const Wi = function() {
|
|
|
10433
10428
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10434
10429
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10435
10430
|
*/
|
|
10436
|
-
const
|
|
10437
|
-
|
|
10431
|
+
const pr = document.createElement("template");
|
|
10432
|
+
pr.innerHTML = `
|
|
10438
10433
|
<style>
|
|
10439
10434
|
:host {
|
|
10440
10435
|
display: block;
|
|
@@ -10485,9 +10480,9 @@ fr.innerHTML = `
|
|
|
10485
10480
|
<div id="fullHeight"></div>
|
|
10486
10481
|
</div>
|
|
10487
10482
|
`;
|
|
10488
|
-
class
|
|
10483
|
+
class fr extends HTMLElement {
|
|
10489
10484
|
constructor() {
|
|
10490
|
-
super(), this.attachShadow({ mode: "open" }).appendChild(
|
|
10485
|
+
super(), this.attachShadow({ mode: "open" }).appendChild(pr.content.cloneNode(!0)), this.bufferSize = 20, this._initialScroll = 5e5, this._initialIndex = 0, this._activated = !1;
|
|
10491
10486
|
}
|
|
10492
10487
|
/**
|
|
10493
10488
|
* @return {boolean}
|
|
@@ -10547,7 +10542,7 @@ class mr extends HTMLElement {
|
|
|
10547
10542
|
* waiting for the debouncer to resolve.
|
|
10548
10543
|
*/
|
|
10549
10544
|
forceUpdate() {
|
|
10550
|
-
this._debouncerScrollFinish && this._debouncerScrollFinish.flush(), this._debouncerUpdateClones && (this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(), this._debouncerUpdateClones.cancel()),
|
|
10545
|
+
this._debouncerScrollFinish && this._debouncerScrollFinish.flush(), this._debouncerUpdateClones && (this._buffers[0].updated = this._buffers[1].updated = !1, this._updateClones(), this._debouncerUpdateClones.cancel()), Yi();
|
|
10551
10546
|
}
|
|
10552
10547
|
/**
|
|
10553
10548
|
* @protected
|
|
@@ -10603,7 +10598,7 @@ class mr extends HTMLElement {
|
|
|
10603
10598
|
for (let i = 0; i < this.bufferSize; i++) {
|
|
10604
10599
|
const s = document.createElement("div");
|
|
10605
10600
|
s.style.height = `${this.itemHeight}px`, s.instance = {};
|
|
10606
|
-
const r = `vaadin-infinite-scroller-item-content-${
|
|
10601
|
+
const r = `vaadin-infinite-scroller-item-content-${or()}`, n = document.createElement("slot");
|
|
10607
10602
|
n.setAttribute("name", r), n._itemWrapper = s, e.appendChild(n), s.setAttribute("slot", r), this.appendChild(s), this._isVisible(s, t) && this._ensureStampedInstance(s);
|
|
10608
10603
|
}
|
|
10609
10604
|
}), requestAnimationFrame(() => {
|
|
@@ -10644,8 +10639,8 @@ class mr extends HTMLElement {
|
|
|
10644
10639
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10645
10640
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10646
10641
|
*/
|
|
10647
|
-
const
|
|
10648
|
-
|
|
10642
|
+
const mr = document.createElement("template");
|
|
10643
|
+
mr.innerHTML = `
|
|
10649
10644
|
<style>
|
|
10650
10645
|
:host {
|
|
10651
10646
|
--vaadin-infinite-scroller-item-height: 270px;
|
|
@@ -10658,12 +10653,12 @@ _r.innerHTML = `
|
|
|
10658
10653
|
}
|
|
10659
10654
|
</style>
|
|
10660
10655
|
`;
|
|
10661
|
-
class
|
|
10656
|
+
class Nd extends fr {
|
|
10662
10657
|
static get is() {
|
|
10663
10658
|
return "vaadin-date-picker-month-scroller";
|
|
10664
10659
|
}
|
|
10665
10660
|
constructor() {
|
|
10666
|
-
super(), this.bufferSize = 3, this.shadowRoot.appendChild(
|
|
10661
|
+
super(), this.bufferSize = 3, this.shadowRoot.appendChild(mr.content.cloneNode(!0));
|
|
10667
10662
|
}
|
|
10668
10663
|
/**
|
|
10669
10664
|
* @protected
|
|
@@ -10679,17 +10674,17 @@ class Fd extends mr {
|
|
|
10679
10674
|
* @override
|
|
10680
10675
|
*/
|
|
10681
10676
|
_updateElement(t, e) {
|
|
10682
|
-
t.month =
|
|
10677
|
+
t.month = hr(e);
|
|
10683
10678
|
}
|
|
10684
10679
|
}
|
|
10685
|
-
le(
|
|
10680
|
+
le(Nd);
|
|
10686
10681
|
/**
|
|
10687
10682
|
* @license
|
|
10688
10683
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10689
10684
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10690
10685
|
*/
|
|
10691
|
-
const
|
|
10692
|
-
|
|
10686
|
+
const _r = document.createElement("template");
|
|
10687
|
+
_r.innerHTML = `
|
|
10693
10688
|
<style>
|
|
10694
10689
|
:host {
|
|
10695
10690
|
--vaadin-infinite-scroller-item-height: 80px;
|
|
@@ -10724,12 +10719,12 @@ gr.innerHTML = `
|
|
|
10724
10719
|
}
|
|
10725
10720
|
</style>
|
|
10726
10721
|
`;
|
|
10727
|
-
class
|
|
10722
|
+
class Fd extends fr {
|
|
10728
10723
|
static get is() {
|
|
10729
10724
|
return "vaadin-date-picker-year-scroller";
|
|
10730
10725
|
}
|
|
10731
10726
|
constructor() {
|
|
10732
|
-
super(), this.bufferSize = 12, this.shadowRoot.appendChild(
|
|
10727
|
+
super(), this.bufferSize = 12, this.shadowRoot.appendChild(_r.content.cloneNode(!0));
|
|
10733
10728
|
}
|
|
10734
10729
|
/**
|
|
10735
10730
|
* @protected
|
|
@@ -10753,13 +10748,13 @@ class zd extends mr {
|
|
|
10753
10748
|
return i.setFullYear(parseInt(t) + e.getFullYear()), i.getFullYear();
|
|
10754
10749
|
}
|
|
10755
10750
|
}
|
|
10756
|
-
le(
|
|
10751
|
+
le(Fd);
|
|
10757
10752
|
/**
|
|
10758
10753
|
* @license
|
|
10759
10754
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10760
10755
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10761
10756
|
*/
|
|
10762
|
-
const
|
|
10757
|
+
const zd = (o) => class extends o {
|
|
10763
10758
|
static get properties() {
|
|
10764
10759
|
return {
|
|
10765
10760
|
year: {
|
|
@@ -10785,7 +10780,7 @@ const Ld = (o) => class extends o {
|
|
|
10785
10780
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
10786
10781
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10787
10782
|
*/
|
|
10788
|
-
class
|
|
10783
|
+
class Ld extends Se(zd(be)) {
|
|
10789
10784
|
static get is() {
|
|
10790
10785
|
return "vaadin-date-picker-year";
|
|
10791
10786
|
}
|
|
@@ -10802,7 +10797,7 @@ class $d extends Se(Ld(be)) {
|
|
|
10802
10797
|
`;
|
|
10803
10798
|
}
|
|
10804
10799
|
}
|
|
10805
|
-
le(
|
|
10800
|
+
le(Ld);
|
|
10806
10801
|
/**
|
|
10807
10802
|
@license
|
|
10808
10803
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -10812,13 +10807,13 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
10812
10807
|
Code distributed by Google as part of the polymer project is also
|
|
10813
10808
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
10814
10809
|
*/
|
|
10815
|
-
function
|
|
10810
|
+
function Wi(o, t, e, i, s) {
|
|
10816
10811
|
let r;
|
|
10817
10812
|
s && (r = typeof e == "object" && e !== null, r && (i = o.__dataTemp[t]));
|
|
10818
10813
|
let n = i !== e && (i === i || e === e);
|
|
10819
10814
|
return r && n && (o.__dataTemp[t] = e), n;
|
|
10820
10815
|
}
|
|
10821
|
-
const
|
|
10816
|
+
const qi = U((o) => {
|
|
10822
10817
|
class t extends o {
|
|
10823
10818
|
/**
|
|
10824
10819
|
* Overrides `PropertyEffects` to provide option for skipping
|
|
@@ -10838,11 +10833,11 @@ const Ki = U((o) => {
|
|
|
10838
10833
|
* @protected
|
|
10839
10834
|
*/
|
|
10840
10835
|
_shouldPropertyChange(i, s, r) {
|
|
10841
|
-
return
|
|
10836
|
+
return Wi(this, i, s, r, !0);
|
|
10842
10837
|
}
|
|
10843
10838
|
}
|
|
10844
10839
|
return t;
|
|
10845
|
-
}),
|
|
10840
|
+
}), $d = U((o) => {
|
|
10846
10841
|
class t extends o {
|
|
10847
10842
|
/** @nocollapse */
|
|
10848
10843
|
static get properties() {
|
|
@@ -10874,12 +10869,12 @@ const Ki = U((o) => {
|
|
|
10874
10869
|
* @protected
|
|
10875
10870
|
*/
|
|
10876
10871
|
_shouldPropertyChange(i, s, r) {
|
|
10877
|
-
return
|
|
10872
|
+
return Wi(this, i, s, r, this.mutableData);
|
|
10878
10873
|
}
|
|
10879
10874
|
}
|
|
10880
10875
|
return t;
|
|
10881
10876
|
});
|
|
10882
|
-
|
|
10877
|
+
qi._mutablePropertyChange = Wi;
|
|
10883
10878
|
/**
|
|
10884
10879
|
@license
|
|
10885
10880
|
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
|
|
@@ -10899,13 +10894,13 @@ Ai.prototype = Object.create(HTMLTemplateElement.prototype, {
|
|
|
10899
10894
|
writable: !0
|
|
10900
10895
|
}
|
|
10901
10896
|
});
|
|
10902
|
-
const
|
|
10903
|
-
function
|
|
10897
|
+
const gr = Fi(Ai), Rd = qi(gr);
|
|
10898
|
+
function Hd(o, t) {
|
|
10904
10899
|
Ci = o, Object.setPrototypeOf(o, t.prototype), new t(), Ci = null;
|
|
10905
10900
|
}
|
|
10906
|
-
const
|
|
10901
|
+
const Bd = Fi(class {
|
|
10907
10902
|
});
|
|
10908
|
-
function
|
|
10903
|
+
function Vd(o, t) {
|
|
10909
10904
|
for (let e = 0; e < t.length; e++) {
|
|
10910
10905
|
let i = t[e];
|
|
10911
10906
|
if (!!o != !!i.__hideTemplateChildren__)
|
|
@@ -10923,7 +10918,7 @@ function Ud(o, t) {
|
|
|
10923
10918
|
i.__hideTemplateChildren__ = o, i._showHideChildren && i._showHideChildren(o);
|
|
10924
10919
|
}
|
|
10925
10920
|
}
|
|
10926
|
-
class we extends
|
|
10921
|
+
class we extends Bd {
|
|
10927
10922
|
constructor(t) {
|
|
10928
10923
|
super(), this._configureProperties(t), this.root = this._stampTemplate(this.__dataHost);
|
|
10929
10924
|
let e = [];
|
|
@@ -10992,7 +10987,7 @@ class we extends Vd {
|
|
|
10992
10987
|
* @protected
|
|
10993
10988
|
*/
|
|
10994
10989
|
_showHideChildren(t) {
|
|
10995
|
-
|
|
10990
|
+
Vd(t, this.children);
|
|
10996
10991
|
}
|
|
10997
10992
|
/**
|
|
10998
10993
|
* Overrides default property-effects implementation to intercept
|
|
@@ -11045,31 +11040,31 @@ we.prototype.__templatizeOptions;
|
|
|
11045
11040
|
we.prototype._methodHost;
|
|
11046
11041
|
we.prototype.__templatizeOwner;
|
|
11047
11042
|
we.prototype.__hostProps;
|
|
11048
|
-
const
|
|
11043
|
+
const Ud = qi(
|
|
11049
11044
|
// This cast shouldn't be neccessary, but Closure doesn't understand that
|
|
11050
11045
|
// TemplateInstanceBase is a constructor function.
|
|
11051
11046
|
/** @type {function(new:TemplateInstanceBase)} */
|
|
11052
11047
|
we
|
|
11053
11048
|
);
|
|
11054
|
-
function
|
|
11049
|
+
function Bo(o) {
|
|
11055
11050
|
let t = o.__dataHost;
|
|
11056
11051
|
return t && t._methodHost || t;
|
|
11057
11052
|
}
|
|
11058
|
-
function
|
|
11059
|
-
let i = e.mutableData ?
|
|
11053
|
+
function jd(o, t, e) {
|
|
11054
|
+
let i = e.mutableData ? Ud : we;
|
|
11060
11055
|
Ti.mixin && (i = Ti.mixin(i));
|
|
11061
11056
|
let s = class extends i {
|
|
11062
11057
|
};
|
|
11063
|
-
return s.prototype.__templatizeOptions = e, s.prototype._bindTemplate(o),
|
|
11058
|
+
return s.prototype.__templatizeOptions = e, s.prototype._bindTemplate(o), qd(s, o, t, e), s;
|
|
11064
11059
|
}
|
|
11065
|
-
function
|
|
11060
|
+
function Yd(o, t, e, i) {
|
|
11066
11061
|
let s = e.forwardHostProp;
|
|
11067
11062
|
if (s && t.hasHostProps) {
|
|
11068
11063
|
const r = o.localName == "template";
|
|
11069
11064
|
let n = t.templatizeTemplateClass;
|
|
11070
11065
|
if (!n) {
|
|
11071
11066
|
if (r) {
|
|
11072
|
-
let l = e.mutableData ?
|
|
11067
|
+
let l = e.mutableData ? Rd : gr;
|
|
11073
11068
|
class d extends l {
|
|
11074
11069
|
}
|
|
11075
11070
|
n = t.templatizeTemplateClass = d;
|
|
@@ -11084,12 +11079,12 @@ function Wd(o, t, e, i) {
|
|
|
11084
11079
|
n.prototype._addPropertyEffect(
|
|
11085
11080
|
"_host_" + l,
|
|
11086
11081
|
n.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE,
|
|
11087
|
-
{ fn:
|
|
11082
|
+
{ fn: Wd(l, s) }
|
|
11088
11083
|
), n.prototype._createNotifyingProperty("_host_" + l);
|
|
11089
|
-
|
|
11084
|
+
xs && i && Jd(t, e, i);
|
|
11090
11085
|
}
|
|
11091
11086
|
if (o.__dataProto && Object.assign(o.__data, o.__dataProto), r)
|
|
11092
|
-
|
|
11087
|
+
Hd(o, n), o.__dataTemp = {}, o.__dataPending = null, o.__dataOld = null, o._enableProperties();
|
|
11093
11088
|
else {
|
|
11094
11089
|
Object.setPrototypeOf(o, n.prototype);
|
|
11095
11090
|
const a = t.hostProps;
|
|
@@ -11101,7 +11096,7 @@ function Wd(o, t, e, i) {
|
|
|
11101
11096
|
}
|
|
11102
11097
|
}
|
|
11103
11098
|
}
|
|
11104
|
-
function
|
|
11099
|
+
function Wd(o, t) {
|
|
11105
11100
|
return function(i, s, r) {
|
|
11106
11101
|
t.call(
|
|
11107
11102
|
i.__templatizeOwner,
|
|
@@ -11110,7 +11105,7 @@ function qd(o, t) {
|
|
|
11110
11105
|
);
|
|
11111
11106
|
};
|
|
11112
11107
|
}
|
|
11113
|
-
function
|
|
11108
|
+
function qd(o, t, e, i) {
|
|
11114
11109
|
let s = e.hostProps || {};
|
|
11115
11110
|
for (let r in i.instanceProps) {
|
|
11116
11111
|
delete s[r];
|
|
@@ -11118,7 +11113,7 @@ function Kd(o, t, e, i) {
|
|
|
11118
11113
|
n && o.prototype._addPropertyEffect(
|
|
11119
11114
|
r,
|
|
11120
11115
|
o.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,
|
|
11121
|
-
{ fn:
|
|
11116
|
+
{ fn: Kd(r, n) }
|
|
11122
11117
|
);
|
|
11123
11118
|
}
|
|
11124
11119
|
if (i.forwardHostProp && t.__dataHost)
|
|
@@ -11126,10 +11121,10 @@ function Kd(o, t, e, i) {
|
|
|
11126
11121
|
e.hasHostProps || (e.hasHostProps = !0), o.prototype._addPropertyEffect(
|
|
11127
11122
|
r,
|
|
11128
11123
|
o.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,
|
|
11129
|
-
{ fn:
|
|
11124
|
+
{ fn: Gd() }
|
|
11130
11125
|
);
|
|
11131
11126
|
}
|
|
11132
|
-
function
|
|
11127
|
+
function Kd(o, t) {
|
|
11133
11128
|
return function(i, s, r) {
|
|
11134
11129
|
t.call(
|
|
11135
11130
|
i.__templatizeOwner,
|
|
@@ -11139,22 +11134,22 @@ function Gd(o, t) {
|
|
|
11139
11134
|
);
|
|
11140
11135
|
};
|
|
11141
11136
|
}
|
|
11142
|
-
function
|
|
11137
|
+
function Gd() {
|
|
11143
11138
|
return function(t, e, i) {
|
|
11144
11139
|
t.__dataHost._setPendingPropertyOrPath("_host_" + e, i[e], !0, !0);
|
|
11145
11140
|
};
|
|
11146
11141
|
}
|
|
11147
11142
|
function Ti(o, t, e) {
|
|
11148
|
-
if (Tt && !
|
|
11143
|
+
if (Tt && !Bo(o))
|
|
11149
11144
|
throw new Error("strictTemplatePolicy: template owner not trusted");
|
|
11150
11145
|
if (e = /** @type {!TemplatizeOptions} */
|
|
11151
11146
|
e || {}, o.__templatizeOwner)
|
|
11152
11147
|
throw new Error("A <template> can only be templatized once");
|
|
11153
11148
|
o.__templatizeOwner = t;
|
|
11154
11149
|
let s = (t ? t.constructor : we)._parseTemplate(o), r = s.templatizeInstanceClass;
|
|
11155
|
-
r || (r =
|
|
11156
|
-
const n =
|
|
11157
|
-
|
|
11150
|
+
r || (r = jd(o, s, e), s.templatizeInstanceClass = r);
|
|
11151
|
+
const n = Bo(o);
|
|
11152
|
+
Yd(o, s, e, n);
|
|
11158
11153
|
let a = class extends r {
|
|
11159
11154
|
};
|
|
11160
11155
|
return a.prototype._methodHost = n, a.prototype.__dataHost = /** @type {!DataTemplate} */
|
|
@@ -11162,7 +11157,7 @@ function Ti(o, t, e) {
|
|
|
11162
11157
|
t, a.prototype.__hostProps = s.hostProps, a = /** @type {function(new:TemplateInstanceBase)} */
|
|
11163
11158
|
a, a;
|
|
11164
11159
|
}
|
|
11165
|
-
function
|
|
11160
|
+
function Jd(o, t, e) {
|
|
11166
11161
|
const i = e.constructor._properties, { propertyEffects: s } = o, { instanceProps: r } = t;
|
|
11167
11162
|
for (let n in s)
|
|
11168
11163
|
if (!i[n] && !(r && r[n])) {
|
|
@@ -11176,7 +11171,7 @@ function Xd(o, t, e) {
|
|
|
11176
11171
|
}
|
|
11177
11172
|
}
|
|
11178
11173
|
}
|
|
11179
|
-
function
|
|
11174
|
+
function Xd(o, t) {
|
|
11180
11175
|
let e;
|
|
11181
11176
|
for (; t; )
|
|
11182
11177
|
if (e = t.__dataHost ? t : t.__templatizeInstance)
|
|
@@ -11197,11 +11192,11 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11197
11192
|
Code distributed by Google as part of the polymer project is also
|
|
11198
11193
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11199
11194
|
*/
|
|
11200
|
-
let
|
|
11201
|
-
function
|
|
11202
|
-
if (
|
|
11203
|
-
if (!
|
|
11204
|
-
|
|
11195
|
+
let Vo = !1;
|
|
11196
|
+
function Zd() {
|
|
11197
|
+
if (ws && !bs) {
|
|
11198
|
+
if (!Vo) {
|
|
11199
|
+
Vo = !0;
|
|
11205
11200
|
const o = document.createElement("style");
|
|
11206
11201
|
o.textContent = "dom-bind,dom-if,dom-repeat{display:none;}", document.head.appendChild(o);
|
|
11207
11202
|
}
|
|
@@ -11218,8 +11213,8 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
11218
11213
|
Code distributed by Google as part of the polymer project is also
|
|
11219
11214
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
11220
11215
|
*/
|
|
11221
|
-
const
|
|
11222
|
-
class
|
|
11216
|
+
const Qd = $d(be);
|
|
11217
|
+
class Uo extends Qd {
|
|
11223
11218
|
// Not needed to find template; can be removed once the analyzer
|
|
11224
11219
|
// can find the tag name from customElements.define call
|
|
11225
11220
|
static get is() {
|
|
@@ -11314,7 +11309,7 @@ class jo extends ec {
|
|
|
11314
11309
|
*/
|
|
11315
11310
|
renderedItemCount: {
|
|
11316
11311
|
type: Number,
|
|
11317
|
-
notify: !
|
|
11312
|
+
notify: !mo,
|
|
11318
11313
|
readOnly: !0
|
|
11319
11314
|
},
|
|
11320
11315
|
/**
|
|
@@ -11397,7 +11392,7 @@ class jo extends ec {
|
|
|
11397
11392
|
* @return {void}
|
|
11398
11393
|
*/
|
|
11399
11394
|
connectedCallback() {
|
|
11400
|
-
if (super.connectedCallback(),
|
|
11395
|
+
if (super.connectedCallback(), Zd() || (this.style.display = "none"), this.__isDetached) {
|
|
11401
11396
|
this.__isDetached = !1;
|
|
11402
11397
|
let t = W(W(this).parentNode);
|
|
11403
11398
|
for (let e = 0; e < this.__instances.length; e++)
|
|
@@ -11447,7 +11442,7 @@ class jo extends ec {
|
|
|
11447
11442
|
* @param {*} value Value to notify
|
|
11448
11443
|
*/
|
|
11449
11444
|
notifyInstanceProp: function(s, r, n) {
|
|
11450
|
-
if (
|
|
11445
|
+
if (oa(this.as, r)) {
|
|
11451
11446
|
let a = s[this.itemsIndexAs];
|
|
11452
11447
|
r == this.as && (this.items[a] = n);
|
|
11453
11448
|
let l = at(this.as, `${JSCompiler_renameProperty("items", this)}.${a}`, r);
|
|
@@ -11503,9 +11498,9 @@ class jo extends ec {
|
|
|
11503
11498
|
__debounceRender(t, e = 0) {
|
|
11504
11499
|
this.__renderDebouncer = St.debounce(
|
|
11505
11500
|
this.__renderDebouncer,
|
|
11506
|
-
e > 0 ?
|
|
11501
|
+
e > 0 ? da.after(e) : Ms,
|
|
11507
11502
|
t.bind(this)
|
|
11508
|
-
),
|
|
11503
|
+
), Md(this.__renderDebouncer);
|
|
11509
11504
|
}
|
|
11510
11505
|
/**
|
|
11511
11506
|
* Forces the element to render its content. Normally rendering is
|
|
@@ -11516,7 +11511,7 @@ class jo extends ec {
|
|
|
11516
11511
|
* @return {void}
|
|
11517
11512
|
*/
|
|
11518
11513
|
render() {
|
|
11519
|
-
this.__debounceRender(this.__render),
|
|
11514
|
+
this.__debounceRender(this.__render), Yi();
|
|
11520
11515
|
}
|
|
11521
11516
|
__render() {
|
|
11522
11517
|
if (!this.__ensureTemplatized())
|
|
@@ -11525,7 +11520,7 @@ class jo extends ec {
|
|
|
11525
11520
|
const e = this.__sortAndFilterItems(t), i = this.__calculateLimit(e.length);
|
|
11526
11521
|
this.__updateInstances(t, i, e), this.initialCount && (this.__shouldMeasureChunk || this.__shouldContinueChunking) && (cancelAnimationFrame(this.__chunkingId), this.__chunkingId = requestAnimationFrame(() => {
|
|
11527
11522
|
this.__chunkingId = null, this.__continueChunking();
|
|
11528
|
-
})), this._setRenderedItemCount(this.__instances.length), (!
|
|
11523
|
+
})), this._setRenderedItemCount(this.__instances.length), (!mo || this.notifyDomChange) && this.dispatchEvent(new CustomEvent("dom-change", {
|
|
11529
11524
|
bubbles: !0,
|
|
11530
11525
|
composed: !0
|
|
11531
11526
|
}));
|
|
@@ -11665,16 +11660,16 @@ class jo extends ec {
|
|
|
11665
11660
|
* the element.
|
|
11666
11661
|
*/
|
|
11667
11662
|
modelForElement(t) {
|
|
11668
|
-
return
|
|
11663
|
+
return Xd(this.template, t);
|
|
11669
11664
|
}
|
|
11670
11665
|
}
|
|
11671
|
-
customElements.define(
|
|
11666
|
+
customElements.define(Uo.is, Uo);
|
|
11672
11667
|
/**
|
|
11673
11668
|
* @license
|
|
11674
11669
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11675
11670
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11676
11671
|
*/
|
|
11677
|
-
const
|
|
11672
|
+
const ec = (o) => class extends Ui(o) {
|
|
11678
11673
|
static get properties() {
|
|
11679
11674
|
return {
|
|
11680
11675
|
/**
|
|
@@ -11857,7 +11852,7 @@ const tc = (o) => class extends ji(o) {
|
|
|
11857
11852
|
/** @protected */
|
|
11858
11853
|
__getWeekNumber(e) {
|
|
11859
11854
|
const i = e.reduce((s, r) => !s && r ? r : s);
|
|
11860
|
-
return
|
|
11855
|
+
return kd(i);
|
|
11861
11856
|
}
|
|
11862
11857
|
/** @protected */
|
|
11863
11858
|
__getDayAriaLabel(e) {
|
|
@@ -11872,7 +11867,7 @@ const tc = (o) => class extends ji(o) {
|
|
|
11872
11867
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11873
11868
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11874
11869
|
*/
|
|
11875
|
-
const
|
|
11870
|
+
const tc = P`
|
|
11876
11871
|
:host {
|
|
11877
11872
|
display: block;
|
|
11878
11873
|
}
|
|
@@ -11934,10 +11929,10 @@ const ic = P`
|
|
|
11934
11929
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
11935
11930
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
11936
11931
|
*/
|
|
11937
|
-
H("vaadin-month-calendar",
|
|
11932
|
+
H("vaadin-month-calendar", tc, {
|
|
11938
11933
|
moduleId: "vaadin-month-calendar-styles"
|
|
11939
11934
|
});
|
|
11940
|
-
class
|
|
11935
|
+
class ic extends ec(Se(be)) {
|
|
11941
11936
|
static get template() {
|
|
11942
11937
|
return Oe`
|
|
11943
11938
|
<div part="month-header" id="month-header" aria-hidden="true">[[_getTitle(month, i18n)]]</div>
|
|
@@ -12045,13 +12040,13 @@ class oc extends tc(Se(be)) {
|
|
|
12045
12040
|
return this.__isDayFocused(t, e) ? "0" : "-1";
|
|
12046
12041
|
}
|
|
12047
12042
|
}
|
|
12048
|
-
le(
|
|
12043
|
+
le(ic);
|
|
12049
12044
|
/**
|
|
12050
12045
|
* @license
|
|
12051
12046
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12052
12047
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12053
12048
|
*/
|
|
12054
|
-
class
|
|
12049
|
+
class yr {
|
|
12055
12050
|
constructor(t, e) {
|
|
12056
12051
|
this.query = t, this.callback = e, this._boundQueryHandler = this._queryHandler.bind(this);
|
|
12057
12052
|
}
|
|
@@ -12079,7 +12074,7 @@ class vr {
|
|
|
12079
12074
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12080
12075
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12081
12076
|
*/
|
|
12082
|
-
const
|
|
12077
|
+
const oc = (o) => class extends o {
|
|
12083
12078
|
static get properties() {
|
|
12084
12079
|
return {
|
|
12085
12080
|
scrollDuration: {
|
|
@@ -12207,7 +12202,7 @@ const sc = (o) => class extends o {
|
|
|
12207
12202
|
}
|
|
12208
12203
|
/** @protected */
|
|
12209
12204
|
_addListeners() {
|
|
12210
|
-
|
|
12205
|
+
lr(this.$.scrollers, "pan-y"), ae(this.$.scrollers, "track", this._track.bind(this)), ae(this.shadowRoot.querySelector('[part="clear-button"]'), "tap", this._clear.bind(this)), ae(this.shadowRoot.querySelector('[part="toggle-button"]'), "tap", this._cancel.bind(this)), ae(
|
|
12211
12206
|
this.shadowRoot.querySelector('[part="years-toggle-button"]'),
|
|
12212
12207
|
"tap",
|
|
12213
12208
|
this._toggleYearScroller.bind(this)
|
|
@@ -12216,7 +12211,7 @@ const sc = (o) => class extends o {
|
|
|
12216
12211
|
/** @protected */
|
|
12217
12212
|
_initControllers() {
|
|
12218
12213
|
this.addController(
|
|
12219
|
-
new
|
|
12214
|
+
new yr(this._desktopMediaQuery, (e) => {
|
|
12220
12215
|
this._desktopMode = e;
|
|
12221
12216
|
})
|
|
12222
12217
|
), this.addController(
|
|
@@ -12408,7 +12403,7 @@ const sc = (o) => class extends o {
|
|
|
12408
12403
|
}
|
|
12409
12404
|
/** @protected */
|
|
12410
12405
|
_formatDisplayed(e, i, s) {
|
|
12411
|
-
return e && i && typeof i.formatDate == "function" ? i.formatDate(
|
|
12406
|
+
return e && i && typeof i.formatDate == "function" ? i.formatDate(ji(e)) : s;
|
|
12412
12407
|
}
|
|
12413
12408
|
/** @private */
|
|
12414
12409
|
_onTodayTap() {
|
|
@@ -12525,7 +12520,7 @@ const sc = (o) => class extends o {
|
|
|
12525
12520
|
}
|
|
12526
12521
|
/** @private */
|
|
12527
12522
|
_yearAfterXMonths(e) {
|
|
12528
|
-
return
|
|
12523
|
+
return hr(e).getFullYear();
|
|
12529
12524
|
}
|
|
12530
12525
|
/** @private */
|
|
12531
12526
|
_differenceInMonths(e, i) {
|
|
@@ -12633,15 +12628,15 @@ const sc = (o) => class extends o {
|
|
|
12633
12628
|
focusDateElement(e = !0) {
|
|
12634
12629
|
return pt(this, null, function* () {
|
|
12635
12630
|
this.__pendingDateFocus = this.focusedDate, this.calendars.length || (yield new Promise((i) => {
|
|
12636
|
-
|
|
12637
|
-
|
|
12631
|
+
Gs(this, () => {
|
|
12632
|
+
Yi(), i();
|
|
12638
12633
|
});
|
|
12639
12634
|
})), e && this.revealDate(this.focusedDate), this._revealPromise && (yield this._revealPromise), this.__tryFocusDate();
|
|
12640
12635
|
});
|
|
12641
12636
|
}
|
|
12642
12637
|
/** @private */
|
|
12643
12638
|
_focusClosestDate(e) {
|
|
12644
|
-
this.focusDate(
|
|
12639
|
+
this.focusDate(ur(e, [this.minDate, this.maxDate]));
|
|
12645
12640
|
}
|
|
12646
12641
|
/** @private */
|
|
12647
12642
|
_focusAllowedDate(e, i, s) {
|
|
@@ -12692,7 +12687,7 @@ const sc = (o) => class extends o {
|
|
|
12692
12687
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12693
12688
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12694
12689
|
*/
|
|
12695
|
-
const
|
|
12690
|
+
const sc = P`
|
|
12696
12691
|
:host {
|
|
12697
12692
|
display: flex;
|
|
12698
12693
|
flex-direction: column;
|
|
@@ -12758,10 +12753,10 @@ const rc = P`
|
|
|
12758
12753
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
12759
12754
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12760
12755
|
*/
|
|
12761
|
-
H("vaadin-date-picker-overlay-content",
|
|
12756
|
+
H("vaadin-date-picker-overlay-content", sc, {
|
|
12762
12757
|
moduleId: "vaadin-date-picker-overlay-content-styles"
|
|
12763
12758
|
});
|
|
12764
|
-
class
|
|
12759
|
+
class rc extends oc(
|
|
12765
12760
|
je(Se(Mt(be)))
|
|
12766
12761
|
) {
|
|
12767
12762
|
static get template() {
|
|
@@ -12795,14 +12790,14 @@ class nc extends sc(
|
|
|
12795
12790
|
super.ready(), this.setAttribute("role", "dialog"), this._addListeners(), this._initControllers();
|
|
12796
12791
|
}
|
|
12797
12792
|
}
|
|
12798
|
-
le(
|
|
12793
|
+
le(rc);
|
|
12799
12794
|
/**
|
|
12800
12795
|
* @license
|
|
12801
12796
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12802
12797
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12803
12798
|
*/
|
|
12804
|
-
const
|
|
12805
|
-
(o) => class extends
|
|
12799
|
+
const vr = U(
|
|
12800
|
+
(o) => class extends Ui(cr(o)) {
|
|
12806
12801
|
static get properties() {
|
|
12807
12802
|
return {
|
|
12808
12803
|
/**
|
|
@@ -12959,14 +12954,14 @@ const br = U(
|
|
|
12959
12954
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12960
12955
|
*/
|
|
12961
12956
|
const Qt = /* @__PURE__ */ new WeakMap();
|
|
12962
|
-
function
|
|
12957
|
+
function nc(o) {
|
|
12963
12958
|
return Qt.has(o) || Qt.set(o, /* @__PURE__ */ new Set()), Qt.get(o);
|
|
12964
12959
|
}
|
|
12965
|
-
function
|
|
12960
|
+
function ac(o, t) {
|
|
12966
12961
|
const e = document.createElement("style");
|
|
12967
12962
|
e.textContent = o, t === document ? document.head.appendChild(e) : t.insertBefore(e, t.firstChild);
|
|
12968
12963
|
}
|
|
12969
|
-
const
|
|
12964
|
+
const lc = U(
|
|
12970
12965
|
(o) => class extends o {
|
|
12971
12966
|
/**
|
|
12972
12967
|
* List of styles to insert into root.
|
|
@@ -12981,9 +12976,9 @@ const dc = U(
|
|
|
12981
12976
|
}
|
|
12982
12977
|
/** @private */
|
|
12983
12978
|
__applySlotStyles() {
|
|
12984
|
-
const e = this.getRootNode(), i =
|
|
12979
|
+
const e = this.getRootNode(), i = nc(e);
|
|
12985
12980
|
this.slotStyles.forEach((s) => {
|
|
12986
|
-
i.has(s) || (
|
|
12981
|
+
i.has(s) || (ac(s, e), i.add(s));
|
|
12987
12982
|
});
|
|
12988
12983
|
}
|
|
12989
12984
|
}
|
|
@@ -12993,7 +12988,7 @@ const dc = U(
|
|
|
12993
12988
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
12994
12989
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
12995
12990
|
*/
|
|
12996
|
-
const
|
|
12991
|
+
const br = U(
|
|
12997
12992
|
(o) => class extends o {
|
|
12998
12993
|
static get properties() {
|
|
12999
12994
|
return {
|
|
@@ -13197,7 +13192,7 @@ const wr = U(
|
|
|
13197
13192
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13198
13193
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13199
13194
|
*/
|
|
13200
|
-
const
|
|
13195
|
+
const dc = (o) => class extends br(Ft(o)) {
|
|
13201
13196
|
static get properties() {
|
|
13202
13197
|
return {
|
|
13203
13198
|
/**
|
|
@@ -13242,7 +13237,7 @@ const cc = (o) => class extends wr(Ft(o)) {
|
|
|
13242
13237
|
* @protected
|
|
13243
13238
|
*/
|
|
13244
13239
|
_onClearButtonMouseDown(e) {
|
|
13245
|
-
e.preventDefault(),
|
|
13240
|
+
e.preventDefault(), kl || this.inputElement.focus();
|
|
13246
13241
|
}
|
|
13247
13242
|
/**
|
|
13248
13243
|
* Override an event listener inherited from `KeydownMixin` to clear on Esc.
|
|
@@ -13273,48 +13268,48 @@ const cc = (o) => class extends wr(Ft(o)) {
|
|
|
13273
13268
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13274
13269
|
*/
|
|
13275
13270
|
const ei = /* @__PURE__ */ new Map();
|
|
13276
|
-
function
|
|
13271
|
+
function Ki(o) {
|
|
13277
13272
|
return ei.has(o) || ei.set(o, /* @__PURE__ */ new WeakMap()), ei.get(o);
|
|
13278
13273
|
}
|
|
13279
|
-
function
|
|
13274
|
+
function wr(o, t) {
|
|
13280
13275
|
o && o.removeAttribute(t);
|
|
13281
13276
|
}
|
|
13282
|
-
function
|
|
13277
|
+
function xr(o, t) {
|
|
13283
13278
|
if (!o || !t)
|
|
13284
13279
|
return;
|
|
13285
|
-
const e =
|
|
13280
|
+
const e = Ki(t);
|
|
13286
13281
|
if (e.has(o))
|
|
13287
13282
|
return;
|
|
13288
13283
|
const i = $i(o.getAttribute(t));
|
|
13289
13284
|
e.set(o, new Set(i));
|
|
13290
13285
|
}
|
|
13291
|
-
function
|
|
13292
|
-
if (!o
|
|
13286
|
+
function cc(o, t) {
|
|
13287
|
+
if (!o)
|
|
13293
13288
|
return;
|
|
13294
|
-
const e =
|
|
13295
|
-
!i || i.size === 0 ? o.removeAttribute(t) :
|
|
13289
|
+
const e = Ki(t), i = e.get(o);
|
|
13290
|
+
!i || i.size === 0 ? o.removeAttribute(t) : Qs(o, t, Nt(i)), e.delete(o);
|
|
13296
13291
|
}
|
|
13297
13292
|
function ti(o, t, e = { newId: null, oldId: null, fromUser: !1 }) {
|
|
13298
13293
|
if (!o || !t)
|
|
13299
13294
|
return;
|
|
13300
|
-
const { newId: i, oldId: s, fromUser: r } = e, n =
|
|
13295
|
+
const { newId: i, oldId: s, fromUser: r } = e, n = Ki(t), a = n.get(o);
|
|
13301
13296
|
if (!r && a) {
|
|
13302
13297
|
s && a.delete(s), i && a.add(i);
|
|
13303
13298
|
return;
|
|
13304
13299
|
}
|
|
13305
|
-
r && (a ? i || n.delete(o) :
|
|
13300
|
+
r && (a ? i || n.delete(o) : xr(o, t), wr(o, t)), Rl(o, t, s);
|
|
13306
13301
|
const l = i || Nt(a);
|
|
13307
|
-
l &&
|
|
13302
|
+
l && Qs(o, t, l);
|
|
13308
13303
|
}
|
|
13309
|
-
function
|
|
13310
|
-
|
|
13304
|
+
function uc(o, t) {
|
|
13305
|
+
xr(o, t), wr(o, t);
|
|
13311
13306
|
}
|
|
13312
13307
|
/**
|
|
13313
13308
|
* @license
|
|
13314
13309
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13315
13310
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13316
13311
|
*/
|
|
13317
|
-
class
|
|
13312
|
+
class hc {
|
|
13318
13313
|
constructor(t) {
|
|
13319
13314
|
this.host = t, this.__required = !1;
|
|
13320
13315
|
}
|
|
@@ -13387,7 +13382,7 @@ class pc {
|
|
|
13387
13382
|
* @private
|
|
13388
13383
|
* */
|
|
13389
13384
|
__setAriaLabelToAttribute(t) {
|
|
13390
|
-
this.__target && (t ? (
|
|
13385
|
+
this.__target && (t ? (uc(this.__target, "aria-labelledby"), this.__target.setAttribute("aria-label", t)) : this.__label && (cc(this.__target, "aria-labelledby"), this.__target.removeAttribute("aria-label")));
|
|
13391
13386
|
}
|
|
13392
13387
|
/**
|
|
13393
13388
|
* @param {string | null | undefined} labelId
|
|
@@ -13433,9 +13428,9 @@ ie.style.clip = "rect(0px, 0px, 0px, 0px)";
|
|
|
13433
13428
|
ie.setAttribute("aria-live", "polite");
|
|
13434
13429
|
document.body.appendChild(ie);
|
|
13435
13430
|
let yt;
|
|
13436
|
-
function
|
|
13431
|
+
function pc(o, t = {}) {
|
|
13437
13432
|
const e = t.mode || "polite", i = t.timeout === void 0 ? 150 : t.timeout;
|
|
13438
|
-
e === "alert" ? (ie.removeAttribute("aria-live"), ie.removeAttribute("role"), yt = Be.debounce(yt,
|
|
13433
|
+
e === "alert" ? (ie.removeAttribute("aria-live"), ie.removeAttribute("role"), yt = Be.debounce(yt, td, () => {
|
|
13439
13434
|
ie.setAttribute("role", "alert");
|
|
13440
13435
|
})) : (yt && yt.cancel(), ie.removeAttribute("role"), ie.setAttribute("aria-live", e)), ie.textContent = "", setTimeout(() => {
|
|
13441
13436
|
ie.textContent = o;
|
|
@@ -13446,7 +13441,7 @@ function fc(o, t = {}) {
|
|
|
13446
13441
|
* Copyright (c) 2022 - 2024 Vaadin Ltd.
|
|
13447
13442
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13448
13443
|
*/
|
|
13449
|
-
class
|
|
13444
|
+
class Gi extends Te {
|
|
13450
13445
|
constructor(t, e, i, s = {}) {
|
|
13451
13446
|
super(t, e, i, Lt(zt({}, s), { useUniqueId: !0 }));
|
|
13452
13447
|
}
|
|
@@ -13561,7 +13556,7 @@ class Ji extends Te {
|
|
|
13561
13556
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13562
13557
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13563
13558
|
*/
|
|
13564
|
-
class
|
|
13559
|
+
class fc extends Gi {
|
|
13565
13560
|
constructor(t) {
|
|
13566
13561
|
super(t, "error-message", "div");
|
|
13567
13562
|
}
|
|
@@ -13635,7 +13630,7 @@ class mc extends Ji {
|
|
|
13635
13630
|
*/
|
|
13636
13631
|
updateDefaultNode(t) {
|
|
13637
13632
|
const { errorMessage: e, invalid: i } = this, s = !!(i && e && e.trim() !== "");
|
|
13638
|
-
t && (t.textContent = s ? e : "", t.hidden = !s, s &&
|
|
13633
|
+
t && (t.textContent = s ? e : "", t.hidden = !s, s && pc(e, { mode: "assertive" })), super.updateDefaultNode(t);
|
|
13639
13634
|
}
|
|
13640
13635
|
}
|
|
13641
13636
|
/**
|
|
@@ -13643,7 +13638,7 @@ class mc extends Ji {
|
|
|
13643
13638
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13644
13639
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13645
13640
|
*/
|
|
13646
|
-
class
|
|
13641
|
+
class mc extends Gi {
|
|
13647
13642
|
constructor(t) {
|
|
13648
13643
|
super(t, "helper", null);
|
|
13649
13644
|
}
|
|
@@ -13698,7 +13693,7 @@ class _c extends Ji {
|
|
|
13698
13693
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13699
13694
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13700
13695
|
*/
|
|
13701
|
-
class
|
|
13696
|
+
class _c extends Gi {
|
|
13702
13697
|
constructor(t) {
|
|
13703
13698
|
super(t, "label", "label");
|
|
13704
13699
|
}
|
|
@@ -13751,7 +13746,7 @@ class gc extends Ji {
|
|
|
13751
13746
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13752
13747
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13753
13748
|
*/
|
|
13754
|
-
const
|
|
13749
|
+
const gc = U(
|
|
13755
13750
|
(o) => class extends je(o) {
|
|
13756
13751
|
static get properties() {
|
|
13757
13752
|
return {
|
|
@@ -13766,7 +13761,7 @@ const yc = U(
|
|
|
13766
13761
|
};
|
|
13767
13762
|
}
|
|
13768
13763
|
constructor() {
|
|
13769
|
-
super(), this._labelController = new
|
|
13764
|
+
super(), this._labelController = new _c(this), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
13770
13765
|
this.toggleAttribute("has-label", e.detail.hasContent);
|
|
13771
13766
|
});
|
|
13772
13767
|
}
|
|
@@ -13794,7 +13789,7 @@ const yc = U(
|
|
|
13794
13789
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13795
13790
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13796
13791
|
*/
|
|
13797
|
-
const
|
|
13792
|
+
const Cr = U(
|
|
13798
13793
|
(o) => class extends o {
|
|
13799
13794
|
static get properties() {
|
|
13800
13795
|
return {
|
|
@@ -13866,7 +13861,7 @@ const Ar = U(
|
|
|
13866
13861
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13867
13862
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13868
13863
|
*/
|
|
13869
|
-
const
|
|
13864
|
+
const yc = (o) => class extends Cr(gc(je(o))) {
|
|
13870
13865
|
static get properties() {
|
|
13871
13866
|
return {
|
|
13872
13867
|
/**
|
|
@@ -13916,7 +13911,7 @@ const vc = (o) => class extends Ar(yc(je(o))) {
|
|
|
13916
13911
|
return ["_invalidChanged(invalid)", "_requiredChanged(required)"];
|
|
13917
13912
|
}
|
|
13918
13913
|
constructor() {
|
|
13919
|
-
super(), this._fieldAriaController = new
|
|
13914
|
+
super(), this._fieldAriaController = new hc(this), this._helperController = new mc(this), this._errorController = new fc(this), this._errorController.addEventListener("slot-content-changed", (e) => {
|
|
13920
13915
|
this.toggleAttribute("has-error-message", e.detail.hasContent);
|
|
13921
13916
|
}), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
13922
13917
|
const { hasContent: i, node: s } = e.detail;
|
|
@@ -14007,7 +14002,7 @@ const vc = (o) => class extends Ar(yc(je(o))) {
|
|
|
14007
14002
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14008
14003
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14009
14004
|
*/
|
|
14010
|
-
const
|
|
14005
|
+
const vc = U(
|
|
14011
14006
|
(o) => class extends o {
|
|
14012
14007
|
static get properties() {
|
|
14013
14008
|
return {
|
|
@@ -14088,8 +14083,8 @@ const bc = U(
|
|
|
14088
14083
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14089
14084
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14090
14085
|
*/
|
|
14091
|
-
const
|
|
14092
|
-
(o) => class extends
|
|
14086
|
+
const Ar = U(
|
|
14087
|
+
(o) => class extends vc(Cr(br(o))) {
|
|
14093
14088
|
/**
|
|
14094
14089
|
* An array of attributes which participate in the input validation.
|
|
14095
14090
|
* Changing these attributes will cause the input to re-validate.
|
|
@@ -14173,8 +14168,8 @@ const Tr = U(
|
|
|
14173
14168
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14174
14169
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14175
14170
|
*/
|
|
14176
|
-
const
|
|
14177
|
-
|
|
14171
|
+
const bc = (o) => class extends lc(
|
|
14172
|
+
vr(Ar(yc(dc(Ft(o)))))
|
|
14178
14173
|
) {
|
|
14179
14174
|
static get properties() {
|
|
14180
14175
|
return {
|
|
@@ -14360,7 +14355,7 @@ const wc = (o) => class extends dc(
|
|
|
14360
14355
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14361
14356
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14362
14357
|
*/
|
|
14363
|
-
class
|
|
14358
|
+
class wc extends Te {
|
|
14364
14359
|
constructor(t, e, i = {}) {
|
|
14365
14360
|
const { uniqueIdPrefix: s } = i;
|
|
14366
14361
|
super(t, "input", "input", {
|
|
@@ -14377,7 +14372,7 @@ class xc extends Te {
|
|
|
14377
14372
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14378
14373
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14379
14374
|
*/
|
|
14380
|
-
class
|
|
14375
|
+
class xc {
|
|
14381
14376
|
constructor(t, e) {
|
|
14382
14377
|
this.input = t, this.__preventDuplicateLabelClick = this.__preventDuplicateLabelClick.bind(this), e.addEventListener("slot-content-changed", (i) => {
|
|
14383
14378
|
this.__initLabel(i.detail.node);
|
|
@@ -14410,7 +14405,7 @@ class Cc {
|
|
|
14410
14405
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14411
14406
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14412
14407
|
*/
|
|
14413
|
-
const
|
|
14408
|
+
const Cc = P`
|
|
14414
14409
|
[part='clear-button'] {
|
|
14415
14410
|
display: none;
|
|
14416
14411
|
cursor: default;
|
|
@@ -14429,7 +14424,7 @@ const Ac = P`
|
|
|
14429
14424
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14430
14425
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14431
14426
|
*/
|
|
14432
|
-
const
|
|
14427
|
+
const Ac = P`
|
|
14433
14428
|
:host {
|
|
14434
14429
|
display: inline-flex;
|
|
14435
14430
|
outline: none;
|
|
@@ -14469,7 +14464,7 @@ const Tc = P`
|
|
|
14469
14464
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14470
14465
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14471
14466
|
*/
|
|
14472
|
-
const
|
|
14467
|
+
const Tc = P`
|
|
14473
14468
|
[class$='container'] {
|
|
14474
14469
|
display: flex;
|
|
14475
14470
|
flex-direction: column;
|
|
@@ -14483,13 +14478,13 @@ const Dc = P`
|
|
|
14483
14478
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14484
14479
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14485
14480
|
*/
|
|
14486
|
-
const
|
|
14481
|
+
const Dc = [Ac, Tc, Cc];
|
|
14487
14482
|
/**
|
|
14488
14483
|
* @license
|
|
14489
14484
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
14490
14485
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14491
14486
|
*/
|
|
14492
|
-
const
|
|
14487
|
+
const Ec = (o) => class extends o {
|
|
14493
14488
|
static get properties() {
|
|
14494
14489
|
return {
|
|
14495
14490
|
/**
|
|
@@ -14536,7 +14531,7 @@ const kc = (o) => class extends o {
|
|
|
14536
14531
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14537
14532
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14538
14533
|
*/
|
|
14539
|
-
class
|
|
14534
|
+
class kc {
|
|
14540
14535
|
/**
|
|
14541
14536
|
* @param {{ inputElement?: HTMLElement; opened: boolean } & HTMLElement} host
|
|
14542
14537
|
*/
|
|
@@ -14555,8 +14550,8 @@ class Sc {
|
|
|
14555
14550
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
14556
14551
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14557
14552
|
*/
|
|
14558
|
-
const
|
|
14559
|
-
je(
|
|
14553
|
+
const Sc = (o) => class extends Ec(
|
|
14554
|
+
je(vr(Ar(Ft(o))))
|
|
14560
14555
|
) {
|
|
14561
14556
|
static get properties() {
|
|
14562
14557
|
return {
|
|
@@ -14761,7 +14756,7 @@ const Pc = (o) => class extends kc(
|
|
|
14761
14756
|
if (i.length === 3) {
|
|
14762
14757
|
if (n = parseInt(i[0]) - 1, r = parseInt(i[1]), a = parseInt(i[2]), i[2].length < 3 && a >= 0) {
|
|
14763
14758
|
const l = this.referenceDate ? Je(this.referenceDate) : /* @__PURE__ */ new Date();
|
|
14764
|
-
a =
|
|
14759
|
+
a = Sd(l, a, n, r);
|
|
14765
14760
|
}
|
|
14766
14761
|
} else
|
|
14767
14762
|
i.length === 2 ? (n = parseInt(i[0]) - 1, r = parseInt(i[1])) : i.length === 1 && (r = parseInt(i[0]));
|
|
@@ -14835,7 +14830,7 @@ const Pc = (o) => class extends kc(
|
|
|
14835
14830
|
/** @private */
|
|
14836
14831
|
_ios: {
|
|
14837
14832
|
type: Boolean,
|
|
14838
|
-
value:
|
|
14833
|
+
value: Js
|
|
14839
14834
|
},
|
|
14840
14835
|
/** @private */
|
|
14841
14836
|
_focusOverlayOnOpen: Boolean,
|
|
@@ -14935,10 +14930,10 @@ const Pc = (o) => class extends kc(
|
|
|
14935
14930
|
/** @protected */
|
|
14936
14931
|
ready() {
|
|
14937
14932
|
super.ready(), this.addEventListener("click", this._boundOnClick), this.addController(
|
|
14938
|
-
new
|
|
14933
|
+
new yr(this._fullscreenMediaQuery, (i) => {
|
|
14939
14934
|
this._fullscreen = i;
|
|
14940
14935
|
})
|
|
14941
|
-
), this.addController(new
|
|
14936
|
+
), this.addController(new kc(this));
|
|
14942
14937
|
const e = this.$.overlay;
|
|
14943
14938
|
this._overlayElement = e, e.renderer = this._boundOverlayRenderer, this.addEventListener("mousedown", () => this.__bringToFront()), this.addEventListener("touchstart", () => this.__bringToFront());
|
|
14944
14939
|
}
|
|
@@ -14994,7 +14989,7 @@ const Pc = (o) => class extends kc(
|
|
|
14994
14989
|
*/
|
|
14995
14990
|
__formatDate(e) {
|
|
14996
14991
|
if (this.i18n.formatDate)
|
|
14997
|
-
return this.i18n.formatDate(
|
|
14992
|
+
return this.i18n.formatDate(ji(e));
|
|
14998
14993
|
}
|
|
14999
14994
|
/**
|
|
15000
14995
|
* Returns true if the current input value satisfies all constraints (if any)
|
|
@@ -15096,7 +15091,7 @@ const Pc = (o) => class extends kc(
|
|
|
15096
15091
|
}
|
|
15097
15092
|
/** @private */
|
|
15098
15093
|
_formatISO(e) {
|
|
15099
|
-
return
|
|
15094
|
+
return Od(e);
|
|
15100
15095
|
}
|
|
15101
15096
|
/** @protected */
|
|
15102
15097
|
_inputElementChanged(e) {
|
|
@@ -15162,12 +15157,12 @@ const Pc = (o) => class extends kc(
|
|
|
15162
15157
|
const r = this._nativeInput;
|
|
15163
15158
|
this._noInput && r && (r.blur(), this._overlayContent.focusDateElement());
|
|
15164
15159
|
const n = this._noInput ? e : [r, e];
|
|
15165
|
-
this.__showOthers =
|
|
15160
|
+
this.__showOthers = Xs(n);
|
|
15166
15161
|
}
|
|
15167
15162
|
/** @private */
|
|
15168
15163
|
_getInitialPosition() {
|
|
15169
15164
|
const e = Je(this.initialPosition), i = this._selectedDate || this._overlayContent.initialPosition || e || /* @__PURE__ */ new Date();
|
|
15170
|
-
return e || Ve(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ?
|
|
15165
|
+
return e || Ve(i, this._minDate, this._maxDate, this.isDateDisabled) ? i : this._minDate || this._maxDate ? ur(i, [this._minDate, this._maxDate]) : /* @__PURE__ */ new Date();
|
|
15171
15166
|
}
|
|
15172
15167
|
/**
|
|
15173
15168
|
* Tries to parse the input element's value as a date. If the input value
|
|
@@ -15328,7 +15323,7 @@ const Pc = (o) => class extends kc(
|
|
|
15328
15323
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15329
15324
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15330
15325
|
*/
|
|
15331
|
-
const
|
|
15326
|
+
const Pc = P`
|
|
15332
15327
|
:host([opened]) {
|
|
15333
15328
|
pointer-events: auto;
|
|
15334
15329
|
}
|
|
@@ -15347,8 +15342,8 @@ const Oc = P`
|
|
|
15347
15342
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15348
15343
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15349
15344
|
*/
|
|
15350
|
-
H("vaadin-date-picker", [
|
|
15351
|
-
class
|
|
15345
|
+
H("vaadin-date-picker", [Dc, Pc], { moduleId: "vaadin-date-picker-styles" });
|
|
15346
|
+
class Oc extends Sc(bc(Se(ir(be)))) {
|
|
15352
15347
|
static get is() {
|
|
15353
15348
|
return "vaadin-date-picker";
|
|
15354
15349
|
}
|
|
@@ -15408,7 +15403,7 @@ class Mc extends Pc(wc(Se(or(be)))) {
|
|
|
15408
15403
|
/** @protected */
|
|
15409
15404
|
ready() {
|
|
15410
15405
|
super.ready(), this.addController(
|
|
15411
|
-
new
|
|
15406
|
+
new wc(
|
|
15412
15407
|
this,
|
|
15413
15408
|
(e) => {
|
|
15414
15409
|
this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
|
|
@@ -15420,7 +15415,7 @@ class Mc extends Pc(wc(Se(or(be)))) {
|
|
|
15420
15415
|
uniqueIdPrefix: "search-input"
|
|
15421
15416
|
}
|
|
15422
15417
|
)
|
|
15423
|
-
), this.addController(new
|
|
15418
|
+
), this.addController(new xc(this.inputElement, this._labelController)), this._tooltipController = new sr(this), this.addController(this._tooltipController), this._tooltipController.setPosition("top"), this._tooltipController.setAriaTarget(this.inputElement), this._tooltipController.setShouldShow((e) => !e.opened), this.shadowRoot.querySelector('[part="toggle-button"]').addEventListener("mousedown", (e) => e.preventDefault()), this.$.overlay.addEventListener("vaadin-overlay-close", this._onVaadinOverlayClose.bind(this));
|
|
15424
15419
|
}
|
|
15425
15420
|
/** @private */
|
|
15426
15421
|
_onVaadinOverlayClose(t) {
|
|
@@ -15436,7 +15431,7 @@ class Mc extends Pc(wc(Se(or(be)))) {
|
|
|
15436
15431
|
super._openedChanged(t), this.$.overlay.positionTarget = this.shadowRoot.querySelector('[part="input-field"]'), this.$.overlay.noVerticalOverlap = !0;
|
|
15437
15432
|
}
|
|
15438
15433
|
}
|
|
15439
|
-
le(
|
|
15434
|
+
le(Oc);
|
|
15440
15435
|
if (typeof window != "undefined") {
|
|
15441
15436
|
let o = function(t) {
|
|
15442
15437
|
return function(...e) {
|
|
@@ -15449,7 +15444,7 @@ if (typeof window != "undefined") {
|
|
|
15449
15444
|
}
|
|
15450
15445
|
};
|
|
15451
15446
|
};
|
|
15452
|
-
customElements.define = o(customElements.define), import("./PlayerAccountGeneralConfirmationModal-
|
|
15447
|
+
customElements.define = o(customElements.define), import("./PlayerAccountGeneralConfirmationModal-Bw8OUJ0O.js").then((t) => t.P).then(
|
|
15453
15448
|
({ default: t }) => {
|
|
15454
15449
|
!customElements.get("player-account-general-confirmation-modal") && customElements.define(
|
|
15455
15450
|
"player-account-general-confirmation-modal",
|
|
@@ -15458,11 +15453,11 @@ if (typeof window != "undefined") {
|
|
|
15458
15453
|
}
|
|
15459
15454
|
);
|
|
15460
15455
|
}
|
|
15461
|
-
var
|
|
15456
|
+
var Tr = { exports: {} };
|
|
15462
15457
|
(function(o, t) {
|
|
15463
15458
|
(function(e, i) {
|
|
15464
15459
|
o.exports = i();
|
|
15465
|
-
})(
|
|
15460
|
+
})(Or, function() {
|
|
15466
15461
|
var e = 1e3, i = 6e4, s = 36e5, r = "millisecond", n = "second", a = "minute", l = "hour", d = "day", c = "week", u = "month", h = "quarter", p = "year", y = "date", D = "Invalid Date", E = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, T = /\[([^\]]+)]|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, k = { 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(v) {
|
|
15467
15462
|
var _ = ["th", "st", "nd", "rd"], g = v % 100;
|
|
15468
15463
|
return "[" + v + (_[(g - 20) % 10] || _[g] || _[0]) + "]";
|
|
@@ -15747,16 +15742,16 @@ var Dr = { exports: {} };
|
|
|
15747
15742
|
return $(1e3 * v);
|
|
15748
15743
|
}, $.en = q[F], $.Ls = q, $.p = {}, $;
|
|
15749
15744
|
});
|
|
15750
|
-
})(
|
|
15751
|
-
var
|
|
15752
|
-
const
|
|
15753
|
-
function
|
|
15754
|
-
|
|
15745
|
+
})(Tr);
|
|
15746
|
+
var Mc = Tr.exports;
|
|
15747
|
+
const jo = /* @__PURE__ */ Mr(Mc);
|
|
15748
|
+
function Yo(o, t) {
|
|
15749
|
+
Ir(o, t);
|
|
15755
15750
|
}
|
|
15756
|
-
function
|
|
15757
|
-
|
|
15751
|
+
function Ic(o) {
|
|
15752
|
+
Nr.set(o);
|
|
15758
15753
|
}
|
|
15759
|
-
const
|
|
15754
|
+
const Wo = {
|
|
15760
15755
|
en: {
|
|
15761
15756
|
titleTimeout: "Timeout",
|
|
15762
15757
|
timeoutTextFirst: "{operatorname} provides you an easy way to take a break from the games. You can request automatic blocking of your account for 24 hours. During the temporary restraint, you will not be able to access your Account.",
|
|
@@ -15967,14 +15962,14 @@ const qo = {
|
|
|
15967
15962
|
confirmationModalTextUntil: "{date} tarihine kadar kendinizi soğutmak istediğinizden emin misiniz?"
|
|
15968
15963
|
}
|
|
15969
15964
|
};
|
|
15970
|
-
function
|
|
15971
|
-
|
|
15965
|
+
function Nc(o) {
|
|
15966
|
+
Rr(o, "svelte-n7bluu", `.TimeoutWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.TimeoutWrapper.TimeoutWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.TimeoutTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));font-weight:400}.TimeoutTitleMobile{font-size:16px}.TimeoutTitleNone{display:none}.TimeoutDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.TimeoutDescription.TimeoutDescriptionMobile{font-size:12px;line-height:18px}.TimeoutSelectWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;position:relative}.TimeoutSelectWrapper .TimeoutSelect{width:50%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF);border-radius:5px;box-sizing:border-box;padding:5px 10px;font-size:16px;line-height:18px;margin-bottom:16px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.TimeoutSelectWrapper .TimeoutSelect:focus,.TimeoutSelectWrapper .TimeoutSelect :focus-within,.TimeoutSelectWrapper .TimeoutSelect :focus-visible,.TimeoutSelectWrapper .TimeoutSelect :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.TimeoutSelectWrapper .TimeoutSelect.TimeoutSelectMobile{width:100%;height:36px;font-size:12px}.TimeoutDateWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.TimeoutDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.TimeoutDateWrapper .TimeoutDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.TimeoutActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.TimeoutActionButtons .TimeoutSave{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.TimeoutActionButtons.TimeoutActionButtonsMobile{width:100%;grid-template-columns:1fr}.TimeoutActionButtons.TimeoutActionButtonsMobile .TimeoutSave{height:40px;font-size:12px}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}`);
|
|
15972
15967
|
}
|
|
15973
|
-
function
|
|
15968
|
+
function qo(o, t, e) {
|
|
15974
15969
|
const i = o.slice();
|
|
15975
15970
|
return i[38] = t[e].value, i;
|
|
15976
15971
|
}
|
|
15977
|
-
function
|
|
15972
|
+
function Fc(o) {
|
|
15978
15973
|
let t, e, i, s = (
|
|
15979
15974
|
/*$_*/
|
|
15980
15975
|
o[16]("titleTimeout") + ""
|
|
@@ -15999,30 +15994,30 @@ function zc(o) {
|
|
|
15999
15994
|
o[16]("save") + ""
|
|
16000
15995
|
), re, X, te, $, S, K = (
|
|
16001
15996
|
/*isMobile*/
|
|
16002
|
-
o[17] &&
|
|
15997
|
+
o[17] && Lc(o)
|
|
16003
15998
|
), ee = eo(
|
|
16004
15999
|
/*timeoutOptions*/
|
|
16005
16000
|
o[8]
|
|
16006
16001
|
), v = [];
|
|
16007
16002
|
for (let f = 0; f < ee.length; f += 1)
|
|
16008
|
-
v[f] =
|
|
16003
|
+
v[f] = Ko(qo(o, ee, f));
|
|
16009
16004
|
let _ = (
|
|
16010
16005
|
/*isUntilDate*/
|
|
16011
|
-
o[10] &&
|
|
16006
|
+
o[10] && Go(o)
|
|
16012
16007
|
), g = (
|
|
16013
16008
|
/*showConfirmationModal*/
|
|
16014
|
-
o[18] &&
|
|
16009
|
+
o[18] && $c(o)
|
|
16015
16010
|
);
|
|
16016
16011
|
return {
|
|
16017
16012
|
c() {
|
|
16018
16013
|
t = M("form"), K && K.c(), e = Y(), i = M("h2"), r = pe(s), n = Y(), a = M("div"), l = M("p"), c = pe(d), u = Y(), h = M("p"), y = pe(p), D = Y(), E = M("div"), T = M("select");
|
|
16019
16014
|
for (let f = 0; f < v.length; f += 1)
|
|
16020
16015
|
v[f].c();
|
|
16021
|
-
k = Y(), _ && _.c(), z = Y(), L = M("div"), F = M("button"), re = pe(q), X = Y(), g && g.c(), te =
|
|
16016
|
+
k = Y(), _ && _.c(), z = Y(), L = M("div"), F = M("button"), re = pe(q), X = Y(), g && g.c(), te = Wr(), N(i, "class", "TimeoutTitle " + /*isMobile*/
|
|
16022
16017
|
(o[17] ? "TimeoutTitleNone" : "")), N(a, "class", "TimeoutDescription " + /*isMobile*/
|
|
16023
16018
|
(o[17] ? "TimeoutDescriptionMobile" : "")), N(T, "class", "TimeoutSelect " + /*isMobile*/
|
|
16024
16019
|
(o[17] ? "TimeoutSelectMobile" : "")), /*timeoutSelected*/
|
|
16025
|
-
o[9] === void 0 &&
|
|
16020
|
+
o[9] === void 0 && qr(() => (
|
|
16026
16021
|
/*select_change_handler*/
|
|
16027
16022
|
o[26].call(T)
|
|
16028
16023
|
)), N(E, "class", "TimeoutSelectWrapper"), N(F, "class", "TimeoutSave"), N(L, "class", "TimeoutActionButtons " + /*isMobile*/
|
|
@@ -16030,7 +16025,7 @@ function zc(o) {
|
|
|
16030
16025
|
(o[17] ? "TimeoutWrapperMobile" : ""));
|
|
16031
16026
|
},
|
|
16032
16027
|
m(f, m) {
|
|
16033
|
-
|
|
16028
|
+
se(f, t, m), K && K.m(t, null), x(t, e), x(t, i), x(i, r), x(t, n), x(t, a), x(a, l), x(l, c), x(a, u), x(a, h), x(h, y), x(t, D), x(t, E), x(E, T);
|
|
16034
16029
|
for (let w = 0; w < v.length; w += 1)
|
|
16035
16030
|
v[w] && v[w].m(T, null);
|
|
16036
16031
|
to(
|
|
@@ -16038,7 +16033,7 @@ function zc(o) {
|
|
|
16038
16033
|
/*timeoutSelected*/
|
|
16039
16034
|
o[9],
|
|
16040
16035
|
!0
|
|
16041
|
-
), x(t, k), _ && _.m(t, null), x(t, z), x(t, L), x(L, F), x(F, re),
|
|
16036
|
+
), x(t, k), _ && _.m(t, null), x(t, z), x(t, L), x(L, F), x(F, re), se(f, X, m), g && g.m(f, m), se(f, te, m), $ || (S = [
|
|
16042
16037
|
vt(
|
|
16043
16038
|
T,
|
|
16044
16039
|
"change",
|
|
@@ -16087,8 +16082,8 @@ function zc(o) {
|
|
|
16087
16082
|
);
|
|
16088
16083
|
let w;
|
|
16089
16084
|
for (w = 0; w < ee.length; w += 1) {
|
|
16090
|
-
const C =
|
|
16091
|
-
v[w] ? v[w].p(C, m) : (v[w] =
|
|
16085
|
+
const C = qo(f, ee, w);
|
|
16086
|
+
v[w] ? v[w].p(C, m) : (v[w] = Ko(C), v[w].c(), v[w].m(T, null));
|
|
16092
16087
|
}
|
|
16093
16088
|
for (; w < v.length; w += 1)
|
|
16094
16089
|
v[w].d(1);
|
|
@@ -16100,22 +16095,22 @@ function zc(o) {
|
|
|
16100
16095
|
/*timeoutSelected*/
|
|
16101
16096
|
f[9]
|
|
16102
16097
|
), /*isUntilDate*/
|
|
16103
|
-
f[10] ? _ ? _.p(f, m) : (_ =
|
|
16098
|
+
f[10] ? _ ? _.p(f, m) : (_ = Go(f), _.c(), _.m(t, z)) : _ && (_.d(1), _ = null), m[0] & /*$_*/
|
|
16104
16099
|
65536 && q !== (q = /*$_*/
|
|
16105
16100
|
f[16]("save") + "") && ge(re, q), /*showConfirmationModal*/
|
|
16106
16101
|
f[18] && g.p(f, m);
|
|
16107
16102
|
},
|
|
16108
16103
|
d(f) {
|
|
16109
|
-
f && (
|
|
16104
|
+
f && (oe(t), oe(X), oe(te)), K && K.d(), jr(v, f), _ && _.d(), g && g.d(f), $ = !1, Yr(S);
|
|
16110
16105
|
}
|
|
16111
16106
|
};
|
|
16112
16107
|
}
|
|
16113
|
-
function
|
|
16108
|
+
function zc(o) {
|
|
16114
16109
|
let t, e, i, s, r, n, a, l, d, c, u, h, p, y, D, E;
|
|
16115
16110
|
function T(L, F) {
|
|
16116
16111
|
return (
|
|
16117
16112
|
/*isMobile*/
|
|
16118
|
-
L[17] ?
|
|
16113
|
+
L[17] ? Hc : Rc
|
|
16119
16114
|
);
|
|
16120
16115
|
}
|
|
16121
16116
|
let z = T(o)(o);
|
|
@@ -16126,7 +16121,7 @@ function Lc(o) {
|
|
|
16126
16121
|
"height",
|
|
16127
16122
|
/*isMobile*/
|
|
16128
16123
|
o[17] ? "15px" : "20px"
|
|
16129
|
-
), A(s, "rows", "3"), A(s, "width", "100%"),
|
|
16124
|
+
), A(s, "rows", "3"), A(s, "width", "100%"), Qi(
|
|
16130
16125
|
n,
|
|
16131
16126
|
"height",
|
|
16132
16127
|
/*isMobile*/
|
|
@@ -16136,7 +16131,7 @@ function Lc(o) {
|
|
|
16136
16131
|
"height",
|
|
16137
16132
|
/*isMobile*/
|
|
16138
16133
|
o[17] ? "15px" : "20px"
|
|
16139
|
-
), A(l, "rows", "3"), A(l, "width", "100%"),
|
|
16134
|
+
), A(l, "rows", "3"), A(l, "width", "100%"), Qi(
|
|
16140
16135
|
c,
|
|
16141
16136
|
"height",
|
|
16142
16137
|
/*isMobile*/
|
|
@@ -16161,15 +16156,15 @@ function Lc(o) {
|
|
|
16161
16156
|
(o[17] ? "TimeoutWrapperMobile" : ""));
|
|
16162
16157
|
},
|
|
16163
16158
|
m(L, F) {
|
|
16164
|
-
|
|
16159
|
+
se(L, t, F), z.m(t, null), x(t, e), x(t, i), x(i, s), x(i, r), x(i, n), x(i, a), x(i, l), x(i, d), x(i, c), x(t, u), x(t, h), x(h, p), x(t, y), x(t, D), x(D, E);
|
|
16165
16160
|
},
|
|
16166
16161
|
p: ii,
|
|
16167
16162
|
d(L) {
|
|
16168
|
-
L &&
|
|
16163
|
+
L && oe(t), z.d();
|
|
16169
16164
|
}
|
|
16170
16165
|
};
|
|
16171
16166
|
}
|
|
16172
|
-
function
|
|
16167
|
+
function Lc(o) {
|
|
16173
16168
|
let t, e, i, s, r, n, a, l, d, c, u = (
|
|
16174
16169
|
/*$_*/
|
|
16175
16170
|
o[16]("titleTimeout") + ""
|
|
@@ -16179,7 +16174,7 @@ function $c(o) {
|
|
|
16179
16174
|
t = M("div"), e = Me("svg"), i = Me("defs"), s = Me("style"), r = pe(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C));}"), n = Me("g"), a = Me("g"), l = Me("path"), d = Y(), c = M("h2"), h = pe(u), N(l, "class", "aaa"), N(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), N(l, "transform", "translate(15 15) rotate(180)"), N(a, "transform", "translate(20 158)"), N(n, "transform", "translate(-20 -158)"), N(e, "xmlns", "http://www.w3.org/2000/svg"), N(e, "width", "15"), N(e, "height", "15"), N(e, "viewBox", "0 0 15 15"), N(c, "class", "TimeoutTitleMobile"), N(c, "part", "TimeoutTitleMobile"), N(t, "class", "MenuReturnButton"), N(t, "part", "MenuReturnButton");
|
|
16180
16175
|
},
|
|
16181
16176
|
m(D, E) {
|
|
16182
|
-
|
|
16177
|
+
se(D, t, E), x(t, e), x(e, i), x(i, s), x(s, r), x(e, n), x(n, a), x(a, l), x(t, d), x(t, c), x(c, h), p || (y = vt(
|
|
16183
16178
|
t,
|
|
16184
16179
|
"click",
|
|
16185
16180
|
/*click_handler*/
|
|
@@ -16192,11 +16187,11 @@ function $c(o) {
|
|
|
16192
16187
|
D[16]("titleTimeout") + "") && ge(h, u);
|
|
16193
16188
|
},
|
|
16194
16189
|
d(D) {
|
|
16195
|
-
D &&
|
|
16190
|
+
D && oe(t), p = !1, y();
|
|
16196
16191
|
}
|
|
16197
16192
|
};
|
|
16198
16193
|
}
|
|
16199
|
-
function
|
|
16194
|
+
function Ko(o) {
|
|
16200
16195
|
let t, e = (
|
|
16201
16196
|
/*$_*/
|
|
16202
16197
|
o[16](
|
|
@@ -16207,10 +16202,10 @@ function Go(o) {
|
|
|
16207
16202
|
return {
|
|
16208
16203
|
c() {
|
|
16209
16204
|
t = M("option"), i = pe(e), t.__value = s = /*value*/
|
|
16210
|
-
o[38],
|
|
16205
|
+
o[38], io(t, t.__value);
|
|
16211
16206
|
},
|
|
16212
16207
|
m(r, n) {
|
|
16213
|
-
|
|
16208
|
+
se(r, t, n), x(t, i);
|
|
16214
16209
|
},
|
|
16215
16210
|
p(r, n) {
|
|
16216
16211
|
n[0] & /*$_, timeoutOptions*/
|
|
@@ -16220,14 +16215,14 @@ function Go(o) {
|
|
|
16220
16215
|
r[38]
|
|
16221
16216
|
) + "") && ge(i, e), n[0] & /*timeoutOptions*/
|
|
16222
16217
|
256 && s !== (s = /*value*/
|
|
16223
|
-
r[38]) && (t.__value = s,
|
|
16218
|
+
r[38]) && (t.__value = s, io(t, t.__value));
|
|
16224
16219
|
},
|
|
16225
16220
|
d(r) {
|
|
16226
|
-
r &&
|
|
16221
|
+
r && oe(t);
|
|
16227
16222
|
}
|
|
16228
16223
|
};
|
|
16229
16224
|
}
|
|
16230
|
-
function
|
|
16225
|
+
function Go(o) {
|
|
16231
16226
|
let t, e, i = (
|
|
16232
16227
|
/*$_*/
|
|
16233
16228
|
o[16]("duration") + ""
|
|
@@ -16256,7 +16251,7 @@ function Jo(o) {
|
|
|
16256
16251
|
(o[17] ? "TimeoutDateWrapperMobile" : ""));
|
|
16257
16252
|
},
|
|
16258
16253
|
m(p, y) {
|
|
16259
|
-
|
|
16254
|
+
se(p, t, y), x(t, e), x(e, s), x(t, r), x(t, n), x(n, l), x(n, d), x(n, c), x(t, u), x(t, h), o[27](h);
|
|
16260
16255
|
},
|
|
16261
16256
|
p(p, y) {
|
|
16262
16257
|
y[0] & /*$_*/
|
|
@@ -16284,11 +16279,11 @@ function Jo(o) {
|
|
|
16284
16279
|
);
|
|
16285
16280
|
},
|
|
16286
16281
|
d(p) {
|
|
16287
|
-
p &&
|
|
16282
|
+
p && oe(t), o[27](null);
|
|
16288
16283
|
}
|
|
16289
16284
|
};
|
|
16290
16285
|
}
|
|
16291
|
-
function
|
|
16286
|
+
function $c(o) {
|
|
16292
16287
|
let t, e, i, s;
|
|
16293
16288
|
return {
|
|
16294
16289
|
c() {
|
|
@@ -16336,7 +16331,7 @@ function Rc(o) {
|
|
|
16336
16331
|
), A(t, "showmodaleventname", "ShowTimeoutConfirmationModal");
|
|
16337
16332
|
},
|
|
16338
16333
|
m(r, n) {
|
|
16339
|
-
|
|
16334
|
+
se(r, t, n), x(t, e);
|
|
16340
16335
|
},
|
|
16341
16336
|
p(r, n) {
|
|
16342
16337
|
n[0] & /*$_*/
|
|
@@ -16391,44 +16386,44 @@ function Rc(o) {
|
|
|
16391
16386
|
);
|
|
16392
16387
|
},
|
|
16393
16388
|
d(r) {
|
|
16394
|
-
r &&
|
|
16389
|
+
r && oe(t);
|
|
16395
16390
|
}
|
|
16396
16391
|
};
|
|
16397
16392
|
}
|
|
16398
|
-
function
|
|
16393
|
+
function Rc(o) {
|
|
16399
16394
|
let t;
|
|
16400
16395
|
return {
|
|
16401
16396
|
c() {
|
|
16402
16397
|
t = M("ui-skeleton"), A(t, "structure", "title"), A(t, "width", "100px"), A(t, "margin-top", "20px"), A(t, "margin-bottom", "20px");
|
|
16403
16398
|
},
|
|
16404
16399
|
m(e, i) {
|
|
16405
|
-
|
|
16400
|
+
se(e, t, i);
|
|
16406
16401
|
},
|
|
16407
16402
|
d(e) {
|
|
16408
|
-
e &&
|
|
16403
|
+
e && oe(t);
|
|
16409
16404
|
}
|
|
16410
16405
|
};
|
|
16411
16406
|
}
|
|
16412
|
-
function
|
|
16407
|
+
function Hc(o) {
|
|
16413
16408
|
let t;
|
|
16414
16409
|
return {
|
|
16415
16410
|
c() {
|
|
16416
16411
|
t = M("div"), t.innerHTML = '<ui-skeleton structure="title" width="20px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton> <ui-skeleton structure="title" width="100px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton>', N(t, "class", "MenuReturnButton");
|
|
16417
16412
|
},
|
|
16418
16413
|
m(e, i) {
|
|
16419
|
-
|
|
16414
|
+
se(e, t, i);
|
|
16420
16415
|
},
|
|
16421
16416
|
d(e) {
|
|
16422
|
-
e &&
|
|
16417
|
+
e && oe(t);
|
|
16423
16418
|
}
|
|
16424
16419
|
};
|
|
16425
16420
|
}
|
|
16426
|
-
function
|
|
16421
|
+
function Bc(o) {
|
|
16427
16422
|
let t;
|
|
16428
16423
|
function e(r, n) {
|
|
16429
16424
|
return (
|
|
16430
16425
|
/*skeletonLoading*/
|
|
16431
|
-
r[15] ?
|
|
16426
|
+
r[15] ? zc : Fc
|
|
16432
16427
|
);
|
|
16433
16428
|
}
|
|
16434
16429
|
let i = e(o), s = i(o);
|
|
@@ -16437,7 +16432,7 @@ function Vc(o) {
|
|
|
16437
16432
|
t = M("div"), s.c();
|
|
16438
16433
|
},
|
|
16439
16434
|
m(r, n) {
|
|
16440
|
-
|
|
16435
|
+
se(r, t, n), s.m(t, null), o[29](t);
|
|
16441
16436
|
},
|
|
16442
16437
|
p(r, n) {
|
|
16443
16438
|
i === (i = e(r)) && s ? s.p(r, n) : (s.d(1), s = i(r), s && (s.c(), s.m(t, null)));
|
|
@@ -16445,14 +16440,14 @@ function Vc(o) {
|
|
|
16445
16440
|
i: ii,
|
|
16446
16441
|
o: ii,
|
|
16447
16442
|
d(r) {
|
|
16448
|
-
r &&
|
|
16443
|
+
r && oe(t), s.d(), o[29](null);
|
|
16449
16444
|
}
|
|
16450
16445
|
};
|
|
16451
16446
|
}
|
|
16452
|
-
function
|
|
16447
|
+
function Vc(o, t, e) {
|
|
16453
16448
|
let i;
|
|
16454
|
-
|
|
16455
|
-
let { operator: s = "Everymatrix" } = t, { lang: r = "en" } = t, { clientstyling: n = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: l } = t, { translationurl: d = "" } = t, { supportemail: c = "" } = t, { endpoint: u = "" } = t, { hasconfirmationmodal: h = "false" } = t, p, y, D = window.navigator.userAgent, E =
|
|
16449
|
+
Hr(o, Kr, (b) => e(16, i = b));
|
|
16450
|
+
let { operator: s = "Everymatrix" } = t, { lang: r = "en" } = t, { clientstyling: n = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: l } = t, { translationurl: d = "" } = t, { supportemail: c = "" } = t, { endpoint: u = "" } = t, { hasconfirmationmodal: h = "false" } = t, p, y, D = window.navigator.userAgent, E = Br(D) !== "PC", T = [
|
|
16456
16451
|
{
|
|
16457
16452
|
value: "CoolOffFor24Hours",
|
|
16458
16453
|
dateSelector: !1
|
|
@@ -16473,14 +16468,14 @@ function Uc(o, t, e) {
|
|
|
16473
16468
|
const $ = () => {
|
|
16474
16469
|
fetch(d).then((b) => b.json()).then((b) => {
|
|
16475
16470
|
Object.keys(b).forEach((V) => {
|
|
16476
|
-
|
|
16471
|
+
Yo(V, b[V]);
|
|
16477
16472
|
});
|
|
16478
16473
|
}).catch((b) => {
|
|
16479
16474
|
console.log(b);
|
|
16480
16475
|
});
|
|
16481
16476
|
};
|
|
16482
|
-
Object.keys(
|
|
16483
|
-
|
|
16477
|
+
Object.keys(Wo).forEach((b) => {
|
|
16478
|
+
Yo(b, Wo[b]);
|
|
16484
16479
|
});
|
|
16485
16480
|
const S = () => {
|
|
16486
16481
|
const b = new URL("/v1/player/coolOffSettings", u), V = { method: "GET" };
|
|
@@ -16524,30 +16519,30 @@ function Uc(o, t, e) {
|
|
|
16524
16519
|
window.location.href
|
|
16525
16520
|
);
|
|
16526
16521
|
}, _ = () => {
|
|
16527
|
-
|
|
16522
|
+
Ic(r), S();
|
|
16528
16523
|
}, g = () => {
|
|
16529
16524
|
const b = T.find((V) => V.value === k);
|
|
16530
|
-
e(10, z = !1), b.dateSelector && (e(10, z = !0), e(12, F =
|
|
16525
|
+
e(10, z = !1), b.dateSelector && (e(10, z = !0), e(12, F = jo().format("YYYY-MM-DD")), e(13, q = jo().add(6, "months").format("YYYY-MM-DD")), e(11, L = F)), X && K();
|
|
16531
16526
|
}, f = (b) => {
|
|
16532
16527
|
e(11, L = b.target.value);
|
|
16533
16528
|
}, m = () => {
|
|
16534
16529
|
y.addEventListener("change", f, !1);
|
|
16535
16530
|
};
|
|
16536
|
-
|
|
16531
|
+
Vr(() => () => {
|
|
16537
16532
|
y.removeEventListener("change", f);
|
|
16538
16533
|
});
|
|
16539
16534
|
const w = () => v();
|
|
16540
16535
|
function C() {
|
|
16541
|
-
k =
|
|
16536
|
+
k = Ur(this), e(9, k), e(8, T);
|
|
16542
16537
|
}
|
|
16543
16538
|
function I(b) {
|
|
16544
|
-
|
|
16539
|
+
Zi[b ? "unshift" : "push"](() => {
|
|
16545
16540
|
y = b, e(7, y);
|
|
16546
16541
|
});
|
|
16547
16542
|
}
|
|
16548
16543
|
const R = (b) => ee(b);
|
|
16549
16544
|
function B(b) {
|
|
16550
|
-
|
|
16545
|
+
Zi[b ? "unshift" : "push"](() => {
|
|
16551
16546
|
p = b, e(6, p);
|
|
16552
16547
|
});
|
|
16553
16548
|
}
|
|
@@ -16557,9 +16552,9 @@ function Uc(o, t, e) {
|
|
|
16557
16552
|
o.$$.dirty[0] & /*calendar*/
|
|
16558
16553
|
128 && y && m(), o.$$.dirty[0] & /*lang*/
|
|
16559
16554
|
2 && r && _(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
16560
|
-
68 && n && p &&
|
|
16561
|
-
72 && a && p &&
|
|
16562
|
-
80 && l && p &&
|
|
16555
|
+
68 && n && p && Gr(p, n), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
16556
|
+
72 && a && p && Jr(p, a), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
16557
|
+
80 && l && p && Xr(p, `${l}.Style`), o.$$.dirty[0] & /*translationurl*/
|
|
16563
16558
|
4194304 && d && $();
|
|
16564
16559
|
}, X && K(), [
|
|
16565
16560
|
s,
|
|
@@ -16594,14 +16589,14 @@ function Uc(o, t, e) {
|
|
|
16594
16589
|
B
|
|
16595
16590
|
];
|
|
16596
16591
|
}
|
|
16597
|
-
class
|
|
16592
|
+
class Uc extends Fr {
|
|
16598
16593
|
constructor(t) {
|
|
16599
|
-
super(),
|
|
16594
|
+
super(), zr(
|
|
16600
16595
|
this,
|
|
16601
16596
|
t,
|
|
16602
|
-
Uc,
|
|
16603
16597
|
Vc,
|
|
16604
|
-
|
|
16598
|
+
Bc,
|
|
16599
|
+
Lr,
|
|
16605
16600
|
{
|
|
16606
16601
|
operator: 0,
|
|
16607
16602
|
lang: 1,
|
|
@@ -16613,7 +16608,7 @@ class jc extends zr {
|
|
|
16613
16608
|
endpoint: 23,
|
|
16614
16609
|
hasconfirmationmodal: 24
|
|
16615
16610
|
},
|
|
16616
|
-
|
|
16611
|
+
Nc,
|
|
16617
16612
|
[-1, -1]
|
|
16618
16613
|
);
|
|
16619
16614
|
}
|
|
@@ -16672,7 +16667,7 @@ class jc extends zr {
|
|
|
16672
16667
|
this.$$set({ hasconfirmationmodal: t }), ce();
|
|
16673
16668
|
}
|
|
16674
16669
|
}
|
|
16675
|
-
$r(
|
|
16670
|
+
$r(Uc, { operator: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, supportemail: {}, endpoint: {}, hasconfirmationmodal: {} }, [], [], !0);
|
|
16676
16671
|
export {
|
|
16677
|
-
|
|
16672
|
+
Uc as default
|
|
16678
16673
|
};
|