@everymatrix/player-account-timeout 1.86.1 → 1.86.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountGeneralConfirmationModal-CpIVlBHH.js → PlayerAccountGeneralConfirmationModal-BYiYUP-W.js} +825 -846
- package/components/{PlayerAccountGeneralConfirmationModal-BclGH0SY.js → PlayerAccountGeneralConfirmationModal-DamAh4bC.js} +835 -856
- package/components/PlayerAccountGeneralConfirmationModal-mQ-RU129.cjs +18 -0
- package/components/{PlayerAccountTimeout-CF3uidhm.js → PlayerAccountTimeout--yyguXTS.js} +753 -752
- package/components/{PlayerAccountTimeout-0g-C74ue.js → PlayerAccountTimeout-BIoh3D6t.js} +389 -388
- package/components/{PlayerAccountTimeout-CqAaduHA.cjs → PlayerAccountTimeout-DYdWH7az.cjs} +74 -74
- package/es2015/player-account-timeout.cjs +1 -1
- package/es2015/player-account-timeout.js +1 -1
- package/esnext/player-account-timeout.js +1 -1
- package/package.json +1 -1
- package/stencil/index-b2193545-CMoQ4Pov.js +503 -0
- package/stencil/index-b2193545-CQaBo5im.cjs +1 -0
- package/stencil/index-b2193545-DvP9W4Go.js +519 -0
- package/stencil/{ui-skeleton-BreIU6e5.cjs → ui-skeleton-C7KTfaPd.cjs} +1 -1
- package/stencil/{ui-skeleton-W50o8tfg.js → ui-skeleton-Cn9Rv2BY.js} +2 -2
- package/stencil/{ui-skeleton-xXZA3rYO.js → ui-skeleton-YNoAIoec.js} +2 -2
- package/stencil/{ui-skeleton-ed169f8f-CVY4B-CP.js → ui-skeleton-ed169f8f-BA-lE0xf.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-D3TjbVKy.js → ui-skeleton-ed169f8f-b70BXhTZ.js} +1 -1
- package/stencil/{ui-skeleton-ed169f8f-CpiCXJrP.cjs → ui-skeleton-ed169f8f-cGTgZqRU.cjs} +1 -1
- package/components/PlayerAccountGeneralConfirmationModal-Dw-0WM0v.cjs +0 -18
- package/stencil/index-b2193545-9K-aI7zC.cjs +0 -1
- package/stencil/index-b2193545-DsMHU6jb.js +0 -519
- package/stencil/index-b2193545-R7ZoV-kY.js +0 -503
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as pr, g as fr, a as mr, $ as _r, b as gr, S as yr, i as vr, s as br, f as ae, d as wr,
|
|
2
|
-
import "../stencil/ui-skeleton-
|
|
1
|
+
import { c as pr, g as fr, a as mr, $ as _r, b as gr, S as yr, i as vr, s as br, f as ae, d as wr, e as O, h as re, n as Gt, j as ne, k as xr, l as Cr, o as Ar, m as Tr, p as Er, q as Yi, r as Dr, t as kr, u as Wi, v as q, w as Te, x as Sr, y as z, z as Pr, A as w, B as qi, C as _t, D as Le, E as Or, F as Mr, G as T, H as Ki, I as Pe, J as Gi, K as Ir } from "./PlayerAccountGeneralConfirmationModal-DamAh4bC.js";
|
|
2
|
+
import "../stencil/ui-skeleton-Cn9Rv2BY.js";
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
5
5
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
@@ -113,7 +113,7 @@ const { is: zr, defineProperty: Lr, getOwnPropertyDescriptor: $r, getOwnProperty
|
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
return e;
|
|
116
|
-
} }, jo = (o, t) => !zr(o, t), Qi = { attribute: !0, type: String, converter: Jt, reflect: !1,
|
|
116
|
+
} }, jo = (o, t) => !zr(o, t), Qi = { attribute: !0, type: String, converter: Jt, reflect: !1, hasChanged: jo };
|
|
117
117
|
Symbol.metadata ??= Symbol("metadata"), Dt.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
|
|
118
118
|
class Me extends HTMLElement {
|
|
119
119
|
static addInitializer(t) {
|
|
@@ -123,7 +123,7 @@ class Me extends HTMLElement {
|
|
|
123
123
|
return this.finalize(), this._$Eh && [...this._$Eh.keys()];
|
|
124
124
|
}
|
|
125
125
|
static createProperty(t, e = Qi) {
|
|
126
|
-
if (e.state && (e.attribute = !1), this._$Ei(), this.
|
|
126
|
+
if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
|
|
127
127
|
const i = Symbol(), s = this.getPropertyDescriptor(t, i, e);
|
|
128
128
|
s !== void 0 && Lr(this.prototype, t, s);
|
|
129
129
|
}
|
|
@@ -134,9 +134,11 @@ class Me extends HTMLElement {
|
|
|
134
134
|
}, set(n) {
|
|
135
135
|
this[e] = n;
|
|
136
136
|
} };
|
|
137
|
-
return { get
|
|
137
|
+
return { get() {
|
|
138
|
+
return s?.call(this);
|
|
139
|
+
}, set(n) {
|
|
138
140
|
const a = s?.call(this);
|
|
139
|
-
r
|
|
141
|
+
r.call(this, n), this.requestUpdate(t, a, i);
|
|
140
142
|
}, configurable: !0, enumerable: !0 };
|
|
141
143
|
}
|
|
142
144
|
static getPropertyOptions(t) {
|
|
@@ -217,7 +219,7 @@ class Me extends HTMLElement {
|
|
|
217
219
|
attributeChangedCallback(t, e, i) {
|
|
218
220
|
this._$AK(t, i);
|
|
219
221
|
}
|
|
220
|
-
_$
|
|
222
|
+
_$EC(t, e) {
|
|
221
223
|
const i = this.constructor.elementProperties.get(t), s = this.constructor._$Eu(t, i);
|
|
222
224
|
if (s !== void 0 && i.reflect === !0) {
|
|
223
225
|
const r = (i.converter?.toAttribute !== void 0 ? i.converter : Jt).toAttribute(e, i.type);
|
|
@@ -228,24 +230,21 @@ class Me extends HTMLElement {
|
|
|
228
230
|
const i = this.constructor, s = i._$Eh.get(t);
|
|
229
231
|
if (s !== void 0 && this._$Em !== s) {
|
|
230
232
|
const r = i.getPropertyOptions(s), n = typeof r.converter == "function" ? { fromAttribute: r.converter } : r.converter?.fromAttribute !== void 0 ? r.converter : Jt;
|
|
231
|
-
this._$Em = s;
|
|
232
|
-
const a = n.fromAttribute(e, r.type);
|
|
233
|
-
this[s] = a ?? this._$Ej?.get(s) ?? a, this._$Em = null;
|
|
233
|
+
this._$Em = s, this[s] = n.fromAttribute(e, r.type), this._$Em = null;
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
236
|
requestUpdate(t, e, i) {
|
|
237
237
|
if (t !== void 0) {
|
|
238
|
-
|
|
239
|
-
if (i ??= s.getPropertyOptions(t), !((i.hasChanged ?? jo)(r, e) || i.useDefault && i.reflect && r === this._$Ej?.get(t) && !this.hasAttribute(s._$Eu(t, i))))
|
|
238
|
+
if (i ??= this.constructor.getPropertyOptions(t), !(i.hasChanged ?? jo)(this[t], e))
|
|
240
239
|
return;
|
|
241
|
-
this.
|
|
240
|
+
this.P(t, e, i);
|
|
242
241
|
}
|
|
243
|
-
this.isUpdatePending === !1 && (this._$ES = this._$
|
|
242
|
+
this.isUpdatePending === !1 && (this._$ES = this._$ET());
|
|
244
243
|
}
|
|
245
|
-
|
|
246
|
-
|
|
244
|
+
P(t, e, i) {
|
|
245
|
+
this._$AL.has(t) || this._$AL.set(t, e), i.reflect === !0 && this._$Em !== t && (this._$Ej ??= /* @__PURE__ */ new Set()).add(t);
|
|
247
246
|
}
|
|
248
|
-
async _$
|
|
247
|
+
async _$ET() {
|
|
249
248
|
this.isUpdatePending = !0;
|
|
250
249
|
try {
|
|
251
250
|
await this._$ES;
|
|
@@ -269,17 +268,15 @@ class Me extends HTMLElement {
|
|
|
269
268
|
}
|
|
270
269
|
const i = this.constructor.elementProperties;
|
|
271
270
|
if (i.size > 0)
|
|
272
|
-
for (const [s, r] of i)
|
|
273
|
-
|
|
274
|
-
n !== !0 || this._$AL.has(s) || a === void 0 || this.C(s, void 0, r, a);
|
|
275
|
-
}
|
|
271
|
+
for (const [s, r] of i)
|
|
272
|
+
r.wrapped !== !0 || this._$AL.has(s) || this[s] === void 0 || this.P(s, this[s], r);
|
|
276
273
|
}
|
|
277
274
|
let t = !1;
|
|
278
275
|
const e = this._$AL;
|
|
279
276
|
try {
|
|
280
|
-
t = this.shouldUpdate(e), t ? (this.willUpdate(e), this._$EO?.forEach((i) => i.hostUpdate?.()), this.update(e)) : this._$
|
|
277
|
+
t = this.shouldUpdate(e), t ? (this.willUpdate(e), this._$EO?.forEach((i) => i.hostUpdate?.()), this.update(e)) : this._$EU();
|
|
281
278
|
} catch (i) {
|
|
282
|
-
throw t = !1, this._$
|
|
279
|
+
throw t = !1, this._$EU(), i;
|
|
283
280
|
}
|
|
284
281
|
t && this._$AE(e);
|
|
285
282
|
}
|
|
@@ -288,7 +285,7 @@ class Me extends HTMLElement {
|
|
|
288
285
|
_$AE(t) {
|
|
289
286
|
this._$EO?.forEach((e) => e.hostUpdated?.()), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
|
|
290
287
|
}
|
|
291
|
-
_$
|
|
288
|
+
_$EU() {
|
|
292
289
|
this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
|
|
293
290
|
}
|
|
294
291
|
get updateComplete() {
|
|
@@ -301,14 +298,14 @@ class Me extends HTMLElement {
|
|
|
301
298
|
return !0;
|
|
302
299
|
}
|
|
303
300
|
update(t) {
|
|
304
|
-
this._$
|
|
301
|
+
this._$Ej &&= this._$Ej.forEach((e) => this._$EC(e, this[e])), this._$EU();
|
|
305
302
|
}
|
|
306
303
|
updated(t) {
|
|
307
304
|
}
|
|
308
305
|
firstUpdated(t) {
|
|
309
306
|
}
|
|
310
307
|
}
|
|
311
|
-
Me.elementStyles = [], Me.shadowRootOptions = { mode: "open" }, Me[Ze("elementProperties")] = /* @__PURE__ */ new Map(), Me[Ze("finalized")] = /* @__PURE__ */ new Map(), Ur?.({ ReactiveElement: Me }), (Dt.reactiveElementVersions ??= []).push("2.
|
|
308
|
+
Me.elementStyles = [], Me.shadowRootOptions = { mode: "open" }, Me[Ze("elementProperties")] = /* @__PURE__ */ new Map(), Me[Ze("finalized")] = /* @__PURE__ */ new Map(), Ur?.({ ReactiveElement: Me }), (Dt.reactiveElementVersions ??= []).push("2.0.4");
|
|
312
309
|
/**
|
|
313
310
|
* @license
|
|
314
311
|
* Copyright 2017 Google LLC
|
|
@@ -327,11 +324,11 @@ const Wr = (o, t) => {
|
|
|
327
324
|
let s, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = Ye;
|
|
328
325
|
for (let a = 0; a < e; a++) {
|
|
329
326
|
const l = o[a];
|
|
330
|
-
let d,
|
|
331
|
-
for (; p < l.length && (n.lastIndex = p,
|
|
332
|
-
p = n.lastIndex, n === Ye ?
|
|
327
|
+
let d, c, u = -1, p = 0;
|
|
328
|
+
for (; p < l.length && (n.lastIndex = p, c = n.exec(l), c !== null); )
|
|
329
|
+
p = n.lastIndex, n === Ye ? c[1] === "!--" ? n = to : c[1] !== void 0 ? n = io : c[2] !== void 0 ? (qo.test(c[2]) && (s = RegExp("</" + c[2], "g")), n = be) : c[3] !== void 0 && (n = be) : n === be ? c[0] === ">" ? (n = s ?? Ye, u = -1) : c[1] === void 0 ? u = -2 : (u = n.lastIndex - c[2].length, d = c[1], n = c[3] === void 0 ? be : c[3] === '"' ? so : oo) : n === so || n === oo ? n = be : n === to || n === io ? n = Ye : (n = be, s = void 0);
|
|
333
330
|
const m = n === be && o[a + 1].startsWith("/>") ? " " : "";
|
|
334
|
-
r += n === Ye ? l + jr :
|
|
331
|
+
r += n === Ye ? l + jr : u >= 0 ? (i.push(d), l.slice(0, u) + Yo + l.slice(u) + _e + m) : l + _e + (u === -2 ? a : m);
|
|
335
332
|
}
|
|
336
333
|
return [Ko(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
|
|
337
334
|
};
|
|
@@ -340,36 +337,36 @@ class it {
|
|
|
340
337
|
let s;
|
|
341
338
|
this.parts = [];
|
|
342
339
|
let r = 0, n = 0;
|
|
343
|
-
const a = t.length - 1, l = this.parts, [d,
|
|
340
|
+
const a = t.length - 1, l = this.parts, [d, c] = Wr(t, e);
|
|
344
341
|
if (this.el = it.createElement(d, i), we.currentNode = this.el.content, e === 2 || e === 3) {
|
|
345
|
-
const
|
|
346
|
-
|
|
342
|
+
const u = this.el.content.firstChild;
|
|
343
|
+
u.replaceWith(...u.childNodes);
|
|
347
344
|
}
|
|
348
345
|
for (; (s = we.nextNode()) !== null && l.length < a; ) {
|
|
349
346
|
if (s.nodeType === 1) {
|
|
350
347
|
if (s.hasAttributes())
|
|
351
|
-
for (const
|
|
352
|
-
if (
|
|
353
|
-
const p =
|
|
354
|
-
l.push({ type: 1, index: r, name: _[2], strings: m, ctor: _[1] === "." ? Kr : _[1] === "?" ? Gr : _[1] === "@" ? Jr : kt }), s.removeAttribute(
|
|
348
|
+
for (const u of s.getAttributeNames())
|
|
349
|
+
if (u.endsWith(Yo)) {
|
|
350
|
+
const p = c[n++], m = s.getAttribute(u).split(_e), _ = /([.?@])?(.*)/.exec(p);
|
|
351
|
+
l.push({ type: 1, index: r, name: _[2], strings: m, ctor: _[1] === "." ? Kr : _[1] === "?" ? Gr : _[1] === "@" ? Jr : kt }), s.removeAttribute(u);
|
|
355
352
|
} else
|
|
356
|
-
|
|
353
|
+
u.startsWith(_e) && (l.push({ type: 6, index: r }), s.removeAttribute(u));
|
|
357
354
|
if (qo.test(s.tagName)) {
|
|
358
|
-
const
|
|
355
|
+
const u = s.textContent.split(_e), p = u.length - 1;
|
|
359
356
|
if (p > 0) {
|
|
360
357
|
s.textContent = vt ? vt.emptyScript : "";
|
|
361
358
|
for (let m = 0; m < p; m++)
|
|
362
|
-
s.append(
|
|
363
|
-
s.append(
|
|
359
|
+
s.append(u[m], et()), we.nextNode(), l.push({ type: 2, index: ++r });
|
|
360
|
+
s.append(u[p], et());
|
|
364
361
|
}
|
|
365
362
|
}
|
|
366
363
|
} else if (s.nodeType === 8)
|
|
367
364
|
if (s.data === Wo)
|
|
368
365
|
l.push({ type: 2, index: r });
|
|
369
366
|
else {
|
|
370
|
-
let
|
|
371
|
-
for (; (
|
|
372
|
-
l.push({ type: 7, index: r }),
|
|
367
|
+
let u = -1;
|
|
368
|
+
for (; (u = s.data.indexOf(_e, u + 1)) !== -1; )
|
|
369
|
+
l.push({ type: 7, index: r }), u += _e.length - 1;
|
|
373
370
|
}
|
|
374
371
|
r++;
|
|
375
372
|
}
|
|
@@ -467,7 +464,7 @@ class dt {
|
|
|
467
464
|
s < e.length && (this._$AR(i && i._$AB.nextSibling, s), e.length = s);
|
|
468
465
|
}
|
|
469
466
|
_$AR(t = this._$AA.nextSibling, e) {
|
|
470
|
-
for (this._$AP?.(!1, !0, e); t !== this._$AB; ) {
|
|
467
|
+
for (this._$AP?.(!1, !0, e); t && t !== this._$AB; ) {
|
|
471
468
|
const i = t.nextSibling;
|
|
472
469
|
t.remove(), t = i;
|
|
473
470
|
}
|
|
@@ -545,7 +542,7 @@ class Xr {
|
|
|
545
542
|
}
|
|
546
543
|
}
|
|
547
544
|
const Zr = xi.litHtmlPolyfillSupport;
|
|
548
|
-
Zr?.(it, dt), (xi.litHtmlVersions ??= []).push("3.
|
|
545
|
+
Zr?.(it, dt), (xi.litHtmlVersions ??= []).push("3.2.1");
|
|
549
546
|
const Qr = (o, t, e) => {
|
|
550
547
|
const i = e?.renderBefore ?? t;
|
|
551
548
|
let s = i._$litPart$;
|
|
@@ -560,7 +557,6 @@ const Qr = (o, t, e) => {
|
|
|
560
557
|
* Copyright 2017 Google LLC
|
|
561
558
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
562
559
|
*/
|
|
563
|
-
const Ai = globalThis;
|
|
564
560
|
class Ie extends Me {
|
|
565
561
|
constructor() {
|
|
566
562
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
|
@@ -583,10 +579,10 @@ class Ie extends Me {
|
|
|
583
579
|
return $e;
|
|
584
580
|
}
|
|
585
581
|
}
|
|
586
|
-
Ie._$litElement$ = !0, Ie.finalized = !0,
|
|
587
|
-
const en =
|
|
582
|
+
Ie._$litElement$ = !0, Ie.finalized = !0, globalThis.litElementHydrateSupport?.({ LitElement: Ie });
|
|
583
|
+
const en = globalThis.litElementPolyfillSupport;
|
|
588
584
|
en?.({ LitElement: Ie });
|
|
589
|
-
(
|
|
585
|
+
(globalThis.litElementVersions ??= []).push("4.1.1");
|
|
590
586
|
/**
|
|
591
587
|
* @license
|
|
592
588
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
@@ -631,7 +627,7 @@ const tn = (o) => class extends o {
|
|
|
631
627
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
632
628
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
633
629
|
*/
|
|
634
|
-
const Go = [], Xt = /* @__PURE__ */ new Set(),
|
|
630
|
+
const Go = [], Xt = /* @__PURE__ */ new Set(), Ai = /* @__PURE__ */ new Set();
|
|
635
631
|
function Jo(o) {
|
|
636
632
|
return o && Object.prototype.hasOwnProperty.call(o, "__themes");
|
|
637
633
|
}
|
|
@@ -677,7 +673,7 @@ function Qo(o) {
|
|
|
677
673
|
const t = o.prototype._template;
|
|
678
674
|
t.content.getElementById(bt).textContent = Zo(o.getStylesForThis());
|
|
679
675
|
}
|
|
680
|
-
|
|
676
|
+
Ai.forEach((t) => {
|
|
681
677
|
const e = customElements.get(t);
|
|
682
678
|
e !== o && e.prototype instanceof o && Qo(e);
|
|
683
679
|
});
|
|
@@ -694,7 +690,7 @@ function B(o, t, e = {}) {
|
|
|
694
690
|
styles: t,
|
|
695
691
|
include: e.include,
|
|
696
692
|
moduleId: e.moduleId
|
|
697
|
-
}), o &&
|
|
693
|
+
}), o && Ai.forEach((i) => {
|
|
698
694
|
if (Xo(o, i) && on(i)) {
|
|
699
695
|
const s = customElements.get(i);
|
|
700
696
|
ln(s, t) ? console.warn(`Registering styles that already exist for ${i}`) : (!window.Vaadin || !window.Vaadin.suppressPostFinalizeStylesWarning) && console.warn(
|
|
@@ -717,7 +713,7 @@ function es(o) {
|
|
|
717
713
|
i ? t.push(...es(i), ...i.styles) : console.warn(`Included moduleId ${e} not found in style registry`);
|
|
718
714
|
}, o.styles), t;
|
|
719
715
|
}
|
|
720
|
-
function
|
|
716
|
+
function cn(o) {
|
|
721
717
|
const t = `${o}-default-theme`, e = Zt().filter((i) => i.moduleId !== t && Xo(i.themeFor, o)).map((i) => ({
|
|
722
718
|
...i,
|
|
723
719
|
// Prepend styles from included themes
|
|
@@ -736,7 +732,7 @@ const De = (o) => class extends tn(o) {
|
|
|
736
732
|
* @protected
|
|
737
733
|
*/
|
|
738
734
|
static finalize() {
|
|
739
|
-
if (super.finalize(), this.is &&
|
|
735
|
+
if (super.finalize(), this.is && Ai.add(this.is), this.elementStyles)
|
|
740
736
|
return;
|
|
741
737
|
const e = this.prototype._template;
|
|
742
738
|
!e || Jo(this) || rn(this.getStylesForThis(), e);
|
|
@@ -757,7 +753,7 @@ const De = (o) => class extends tn(o) {
|
|
|
757
753
|
*/
|
|
758
754
|
static getStylesForThis() {
|
|
759
755
|
const e = o.__themes || [], i = Object.getPrototypeOf(this.prototype), s = (i ? i.constructor.__themes : []) || [];
|
|
760
|
-
this.__themes = [...e, ...s, ...
|
|
756
|
+
this.__themes = [...e, ...s, ...cn(this.is)];
|
|
761
757
|
const r = this.__themes.flatMap((n) => n.styles);
|
|
762
758
|
return r.filter((n, a) => a === r.lastIndexOf(n));
|
|
763
759
|
}
|
|
@@ -767,12 +763,12 @@ const De = (o) => class extends tn(o) {
|
|
|
767
763
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
768
764
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
769
765
|
*/
|
|
770
|
-
const
|
|
766
|
+
const un = (o, ...t) => {
|
|
771
767
|
const e = document.createElement("style");
|
|
772
768
|
e.id = o, e.textContent = t.map((i) => i.toString()).join(`
|
|
773
769
|
`).replace(":host", "html"), document.head.insertAdjacentElement("afterbegin", e);
|
|
774
770
|
}, Ve = (o, ...t) => {
|
|
775
|
-
|
|
771
|
+
un(`lumo-${o}`, t);
|
|
776
772
|
};
|
|
777
773
|
/**
|
|
778
774
|
* @license
|
|
@@ -2745,19 +2741,19 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2745
2741
|
Code distributed by Google as part of the polymer project is also
|
|
2746
2742
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2747
2743
|
*/
|
|
2748
|
-
let En = /(url\()([^)]*)(\))/g, Dn = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/,
|
|
2744
|
+
let En = /(url\()([^)]*)(\))/g, Dn = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, ut, te;
|
|
2749
2745
|
function Qe(o, t) {
|
|
2750
2746
|
if (o && Dn.test(o) || o === "//")
|
|
2751
2747
|
return o;
|
|
2752
|
-
if (
|
|
2753
|
-
|
|
2748
|
+
if (ut === void 0) {
|
|
2749
|
+
ut = !1;
|
|
2754
2750
|
try {
|
|
2755
2751
|
const e = new URL("b", "http://a");
|
|
2756
|
-
e.pathname = "c%20d",
|
|
2752
|
+
e.pathname = "c%20d", ut = e.href === "http://a/c%20d";
|
|
2757
2753
|
} catch {
|
|
2758
2754
|
}
|
|
2759
2755
|
}
|
|
2760
|
-
if (t || (t = document.baseURI || window.location.href),
|
|
2756
|
+
if (t || (t = document.baseURI || window.location.href), ut)
|
|
2761
2757
|
try {
|
|
2762
2758
|
return new URL(o, t).href;
|
|
2763
2759
|
} catch {
|
|
@@ -2765,12 +2761,12 @@ function Qe(o, t) {
|
|
|
2765
2761
|
}
|
|
2766
2762
|
return te || (te = document.implementation.createHTMLDocument("temp"), te.base = te.createElement("base"), te.head.appendChild(te.base), te.anchor = te.createElement("a"), te.body.appendChild(te.anchor)), te.base.href = t, te.anchor.href = o, te.anchor.href || o;
|
|
2767
2763
|
}
|
|
2768
|
-
function
|
|
2764
|
+
function Ti(o, t) {
|
|
2769
2765
|
return o.replace(En, function(e, i, s, r) {
|
|
2770
2766
|
return i + "'" + Qe(s.replace(/["']/g, ""), t) + "'" + r;
|
|
2771
2767
|
});
|
|
2772
2768
|
}
|
|
2773
|
-
function
|
|
2769
|
+
function Ei(o) {
|
|
2774
2770
|
return o.substring(0, o.lastIndexOf("/") + 1);
|
|
2775
2771
|
}
|
|
2776
2772
|
/**
|
|
@@ -2795,7 +2791,7 @@ const kn = as && "adoptedStyleSheets" in Document.prototype && "replaceSync" in
|
|
|
2795
2791
|
return !1;
|
|
2796
2792
|
}
|
|
2797
2793
|
})();
|
|
2798
|
-
let Sn = window.Polymer && window.Polymer.rootPath ||
|
|
2794
|
+
let Sn = window.Polymer && window.Polymer.rootPath || Ei(document.baseURI || window.location.href), wt = window.Polymer && window.Polymer.sanitizeDOMValue || void 0;
|
|
2799
2795
|
window.Polymer && window.Polymer.setPassiveTouchGestures;
|
|
2800
2796
|
let xt = window.Polymer && window.Polymer.strictTemplatePolicy || !1, Pn = window.Polymer && window.Polymer.allowTemplateFromDomModule || !1, ls = window.Polymer && window.Polymer.legacyOptimizations || !1, ds = window.Polymer && window.Polymer.legacyWarnings || !1, On = window.Polymer && window.Polymer.syncInitialRender || !1, Qt = window.Polymer && window.Polymer.legacyUndefined || !1, Mn = window.Polymer && window.Polymer.orderedComputed || !1, no = window.Polymer && window.Polymer.removeNestedTemplates || !1, In = window.Polymer && window.Polymer.fastDomIf || !1, ao = window.Polymer && window.Polymer.suppressTemplateNotifications || !1;
|
|
2801
2797
|
window.Polymer && window.Polymer.legacyNoObservedAttributes;
|
|
@@ -2847,12 +2843,12 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2847
2843
|
Code distributed by Google as part of the polymer project is also
|
|
2848
2844
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2849
2845
|
*/
|
|
2850
|
-
let
|
|
2846
|
+
let Di = {}, cs = {};
|
|
2851
2847
|
function lo(o, t) {
|
|
2852
|
-
|
|
2848
|
+
Di[o] = cs[o.toLowerCase()] = t;
|
|
2853
2849
|
}
|
|
2854
|
-
function
|
|
2855
|
-
return
|
|
2850
|
+
function co(o) {
|
|
2851
|
+
return Di[o] || cs[o.toLowerCase()];
|
|
2856
2852
|
}
|
|
2857
2853
|
function zn(o) {
|
|
2858
2854
|
o.querySelector("style") && console.warn("dom-module %s has style outside template", o.id);
|
|
@@ -2875,7 +2871,7 @@ class ot extends HTMLElement {
|
|
|
2875
2871
|
*/
|
|
2876
2872
|
static import(t, e) {
|
|
2877
2873
|
if (t) {
|
|
2878
|
-
let i =
|
|
2874
|
+
let i = co(t);
|
|
2879
2875
|
return i && e ? i.querySelector(e) : i;
|
|
2880
2876
|
}
|
|
2881
2877
|
return null;
|
|
@@ -2910,7 +2906,7 @@ class ot extends HTMLElement {
|
|
|
2910
2906
|
this.getAttribute("assetpath") || "",
|
|
2911
2907
|
t.baseURI
|
|
2912
2908
|
);
|
|
2913
|
-
this.__assetpath =
|
|
2909
|
+
this.__assetpath = Ei(e);
|
|
2914
2910
|
}
|
|
2915
2911
|
return this.__assetpath;
|
|
2916
2912
|
}
|
|
@@ -2923,13 +2919,13 @@ class ot extends HTMLElement {
|
|
|
2923
2919
|
*/
|
|
2924
2920
|
register(t) {
|
|
2925
2921
|
if (t = t || this.id, t) {
|
|
2926
|
-
if (xt &&
|
|
2922
|
+
if (xt && co(t) !== void 0)
|
|
2927
2923
|
throw lo(t, null), new Error(`strictTemplatePolicy: dom-module ${t} re-registered`);
|
|
2928
2924
|
this.id = t, lo(t, this), zn(this);
|
|
2929
2925
|
}
|
|
2930
2926
|
}
|
|
2931
2927
|
}
|
|
2932
|
-
ot.prototype.modules =
|
|
2928
|
+
ot.prototype.modules = Di;
|
|
2933
2929
|
customElements.define("dom-module", ot);
|
|
2934
2930
|
/**
|
|
2935
2931
|
@license
|
|
@@ -2940,8 +2936,8 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
2940
2936
|
Code distributed by Google as part of the polymer project is also
|
|
2941
2937
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
2942
2938
|
*/
|
|
2943
|
-
const Ln = "link[rel=import][type~=css]", $n = "include",
|
|
2944
|
-
function
|
|
2939
|
+
const Ln = "link[rel=import][type~=css]", $n = "include", uo = "shady-unscoped";
|
|
2940
|
+
function us(o) {
|
|
2945
2941
|
return (
|
|
2946
2942
|
/** @type {?DomModule} */
|
|
2947
2943
|
ot.import(o)
|
|
@@ -2949,7 +2945,7 @@ function cs(o) {
|
|
|
2949
2945
|
}
|
|
2950
2946
|
function ho(o) {
|
|
2951
2947
|
let t = o.body ? o.body : o;
|
|
2952
|
-
const e =
|
|
2948
|
+
const e = Ti(
|
|
2953
2949
|
t.textContent,
|
|
2954
2950
|
o.baseURI
|
|
2955
2951
|
), i = document.createElement("style");
|
|
@@ -2962,7 +2958,7 @@ function Rn(o) {
|
|
|
2962
2958
|
return e;
|
|
2963
2959
|
}
|
|
2964
2960
|
function Hn(o) {
|
|
2965
|
-
const t =
|
|
2961
|
+
const t = us(o);
|
|
2966
2962
|
if (!t)
|
|
2967
2963
|
return console.warn("Could not find style data in module named", o), [];
|
|
2968
2964
|
if (t._styles === void 0) {
|
|
@@ -2987,7 +2983,7 @@ function hs(o, t) {
|
|
|
2987
2983
|
let r = i[s], n = r.getAttribute($n);
|
|
2988
2984
|
n && e.push(...Rn(n).filter(function(a, l, d) {
|
|
2989
2985
|
return d.indexOf(a) === l;
|
|
2990
|
-
})), t && (r.textContent =
|
|
2986
|
+
})), t && (r.textContent = Ti(
|
|
2991
2987
|
r.textContent,
|
|
2992
2988
|
/** @type {string} */
|
|
2993
2989
|
t
|
|
@@ -2998,7 +2994,7 @@ function hs(o, t) {
|
|
|
2998
2994
|
return o._styles;
|
|
2999
2995
|
}
|
|
3000
2996
|
function Bn(o) {
|
|
3001
|
-
let t =
|
|
2997
|
+
let t = us(o);
|
|
3002
2998
|
return t ? ps(t) : [];
|
|
3003
2999
|
}
|
|
3004
3000
|
function ps(o) {
|
|
@@ -3006,10 +3002,10 @@ function ps(o) {
|
|
|
3006
3002
|
for (let i = 0; i < e.length; i++) {
|
|
3007
3003
|
let s = e[i];
|
|
3008
3004
|
if (s.import) {
|
|
3009
|
-
const r = s.import, n = s.hasAttribute(
|
|
3005
|
+
const r = s.import, n = s.hasAttribute(uo);
|
|
3010
3006
|
if (n && !r._unscopedStyle) {
|
|
3011
3007
|
const a = ho(r);
|
|
3012
|
-
a.setAttribute(
|
|
3008
|
+
a.setAttribute(uo, ""), r._unscopedStyle = a;
|
|
3013
3009
|
} else
|
|
3014
3010
|
r._style || (r._style = ho(r));
|
|
3015
3011
|
t.push(n ? r._unscopedStyle : r._style);
|
|
@@ -4095,9 +4091,9 @@ const la = j(
|
|
|
4095
4091
|
if (!(i.localName === "script" || i.localName === "style"))
|
|
4096
4092
|
for (let n = i.firstChild, a = 0, l; n; n = l) {
|
|
4097
4093
|
if (n.localName == "template" && (n = oa(n)), l = n.nextSibling, n.nodeType === Node.TEXT_NODE) {
|
|
4098
|
-
let
|
|
4099
|
-
for (;
|
|
4100
|
-
n.textContent +=
|
|
4094
|
+
let c = l;
|
|
4095
|
+
for (; c && c.nodeType === Node.TEXT_NODE; )
|
|
4096
|
+
n.textContent += c.textContent, l = c.nextSibling, i.removeChild(c), c = l;
|
|
4101
4097
|
if (s.stripWhiteSpace && !n.textContent.trim()) {
|
|
4102
4098
|
i.removeChild(n);
|
|
4103
4099
|
continue;
|
|
@@ -4228,9 +4224,9 @@ const la = j(
|
|
|
4228
4224
|
a.__noInsertionPoint = !s.hasInsertionPoint;
|
|
4229
4225
|
let l = a.nodeList = new Array(r.length);
|
|
4230
4226
|
a.$ = {};
|
|
4231
|
-
for (let d = 0,
|
|
4232
|
-
let p = l[d] = xs(a,
|
|
4233
|
-
sa(this, a.$, p,
|
|
4227
|
+
for (let d = 0, c = r.length, u; d < c && (u = r[d]); d++) {
|
|
4228
|
+
let p = l[d] = xs(a, u);
|
|
4229
|
+
sa(this, a.$, p, u), na(this, p, u, s), ra(this, p, u);
|
|
4234
4230
|
}
|
|
4235
4231
|
return a = /** @type {!StampedTemplate} */
|
|
4236
4232
|
a, a;
|
|
@@ -4319,23 +4315,23 @@ function Xe(o, t, e, i, s, r) {
|
|
|
4319
4315
|
let n = !1;
|
|
4320
4316
|
const a = nt++;
|
|
4321
4317
|
for (let l in e) {
|
|
4322
|
-
let d = s ? ke(l) : l,
|
|
4323
|
-
if (
|
|
4324
|
-
for (let
|
|
4325
|
-
(!m.info || m.info.lastRun !== a) && (!s ||
|
|
4318
|
+
let d = s ? ke(l) : l, c = t[d];
|
|
4319
|
+
if (c)
|
|
4320
|
+
for (let u = 0, p = c.length, m; u < p && (m = c[u]); u++)
|
|
4321
|
+
(!m.info || m.info.lastRun !== a) && (!s || ki(l, m.trigger)) && (m.info && (m.info.lastRun = a), m.fn(o, l, e, i, m.info, s, r), n = !0);
|
|
4326
4322
|
}
|
|
4327
4323
|
return n;
|
|
4328
4324
|
}
|
|
4329
4325
|
return !1;
|
|
4330
4326
|
}
|
|
4331
|
-
function
|
|
4332
|
-
let l = !1, d = n ? ke(i) : i,
|
|
4333
|
-
if (
|
|
4334
|
-
for (let
|
|
4335
|
-
(!m.info || m.info.lastRun !== e) && (!n ||
|
|
4327
|
+
function ca(o, t, e, i, s, r, n, a) {
|
|
4328
|
+
let l = !1, d = n ? ke(i) : i, c = t[d];
|
|
4329
|
+
if (c)
|
|
4330
|
+
for (let u = 0, p = c.length, m; u < p && (m = c[u]); u++)
|
|
4331
|
+
(!m.info || m.info.lastRun !== e) && (!n || ki(i, m.trigger)) && (m.info && (m.info.lastRun = e), m.fn(o, i, s, r, m.info, n, a), l = !0);
|
|
4336
4332
|
return l;
|
|
4337
4333
|
}
|
|
4338
|
-
function
|
|
4334
|
+
function ki(o, t) {
|
|
4339
4335
|
if (t) {
|
|
4340
4336
|
let e = (
|
|
4341
4337
|
/** @type {string} */
|
|
@@ -4349,10 +4345,10 @@ function _o(o, t, e, i, s) {
|
|
|
4349
4345
|
let r = typeof s.method == "string" ? o[s.method] : s.method, n = s.property;
|
|
4350
4346
|
r ? r.call(o, o.__data[n], i[n]) : s.dynamicFn || console.warn("observer method `" + s.method + "` not defined");
|
|
4351
4347
|
}
|
|
4352
|
-
function
|
|
4348
|
+
function ua(o, t, e, i, s) {
|
|
4353
4349
|
let r = o[P.NOTIFY], n, a = nt++;
|
|
4354
4350
|
for (let d in t)
|
|
4355
|
-
t[d] && (r &&
|
|
4351
|
+
t[d] && (r && ca(o, r, a, d, e, i, s) || s && ha(o, d, e)) && (n = !0);
|
|
4356
4352
|
let l;
|
|
4357
4353
|
n && (l = o.__dataHost) && l._invalidateProperties && l._invalidateProperties();
|
|
4358
4354
|
}
|
|
@@ -4448,7 +4444,7 @@ const ga = (o, t, e) => {
|
|
|
4448
4444
|
if (n)
|
|
4449
4445
|
for (let a = 0; a < n.length; a++) {
|
|
4450
4446
|
const l = n[a];
|
|
4451
|
-
l.info.lastRun !== nt && (!s ||
|
|
4447
|
+
l.info.lastRun !== nt && (!s || ki(o, l.trigger)) && (l.info.lastRun = nt, ga(l.info, e, i));
|
|
4452
4448
|
}
|
|
4453
4449
|
};
|
|
4454
4450
|
function ya(o) {
|
|
@@ -4502,13 +4498,13 @@ function zt(o, t, e, i, s, r, n) {
|
|
|
4502
4498
|
e.bindings = e.bindings || [];
|
|
4503
4499
|
let a = { kind: i, target: s, parts: r, literal: n, isCompound: r.length !== 1 };
|
|
4504
4500
|
if (e.bindings.push(a), Ta(a)) {
|
|
4505
|
-
let { event: d, negate:
|
|
4506
|
-
a.listenerEvent = d || St(s) + "-changed", a.listenerNegate =
|
|
4501
|
+
let { event: d, negate: c } = a.parts[0];
|
|
4502
|
+
a.listenerEvent = d || St(s) + "-changed", a.listenerNegate = c;
|
|
4507
4503
|
}
|
|
4508
4504
|
let l = t.nodeInfoList.length;
|
|
4509
4505
|
for (let d = 0; d < a.parts.length; d++) {
|
|
4510
|
-
let
|
|
4511
|
-
|
|
4506
|
+
let c = a.parts[d];
|
|
4507
|
+
c.compoundIndex = d, wa(o, t, a, c, l);
|
|
4512
4508
|
}
|
|
4513
4509
|
}
|
|
4514
4510
|
function wa(o, t, e, i, s) {
|
|
@@ -4530,11 +4526,11 @@ function wa(o, t, e, i, s) {
|
|
|
4530
4526
|
function xa(o, t, e, i, s, r, n) {
|
|
4531
4527
|
let a = n[s.index], l = s.binding, d = s.part;
|
|
4532
4528
|
if (r && d.source && t.length > d.source.length && l.kind == "property" && !l.isCompound && a.__isPropertyEffectsClient && a.__dataHasAccessor && a.__dataHasAccessor[l.target]) {
|
|
4533
|
-
let
|
|
4534
|
-
t = rt(d.source, l.target, t), a._setPendingPropertyOrPath(t,
|
|
4529
|
+
let c = e[t];
|
|
4530
|
+
t = rt(d.source, l.target, t), a._setPendingPropertyOrPath(t, c, !1, !0) && o._enqueueClient(a);
|
|
4535
4531
|
} else {
|
|
4536
|
-
let
|
|
4537
|
-
|
|
4532
|
+
let c = s.evaluator._evaluateBinding(o, d, t, e, i, r);
|
|
4533
|
+
c !== at && Ca(o, a, l, d, c);
|
|
4538
4534
|
}
|
|
4539
4535
|
}
|
|
4540
4536
|
function Ca(o, t, e, i, s) {
|
|
@@ -4681,7 +4677,7 @@ function We(o, t, e, i, s, r) {
|
|
|
4681
4677
|
function Va(o) {
|
|
4682
4678
|
return o[0].toUpperCase() + o.substring(1);
|
|
4683
4679
|
}
|
|
4684
|
-
const
|
|
4680
|
+
const Si = j((o) => {
|
|
4685
4681
|
const t = la(Zn(o));
|
|
4686
4682
|
class e extends t {
|
|
4687
4683
|
constructor() {
|
|
@@ -5086,7 +5082,7 @@ const Pi = j((o) => {
|
|
|
5086
5082
|
let a = this.__dataHasPaths;
|
|
5087
5083
|
this.__dataHasPaths = !1;
|
|
5088
5084
|
let l;
|
|
5089
|
-
_a(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(), Xe(this, this[P.REFLECT], r, n, a), Xe(this, this[P.OBSERVE], r, n, a), l &&
|
|
5085
|
+
_a(this, r, n, a), l = this.__dataToNotify, this.__dataToNotify = null, this._propagatePropertyChanges(r, n, a), this._flushClients(), Xe(this, this[P.REFLECT], r, n, a), Xe(this, this[P.OBSERVE], r, n, a), l && ua(this, l, r, n, a), this.__dataCounter == 1 && (this.__dataTemp = {});
|
|
5090
5086
|
}
|
|
5091
5087
|
/**
|
|
5092
5088
|
* Called to propagate any property changes to stamped template nodes
|
|
@@ -5103,17 +5099,17 @@ const Pi = j((o) => {
|
|
|
5103
5099
|
this[P.PROPAGATE] && Xe(this, this[P.PROPAGATE], s, r, n), this.__templateInfo && this._runEffectsForTemplate(this.__templateInfo, s, r, n);
|
|
5104
5100
|
}
|
|
5105
5101
|
_runEffectsForTemplate(s, r, n, a) {
|
|
5106
|
-
const l = (d,
|
|
5102
|
+
const l = (d, c) => {
|
|
5107
5103
|
Xe(
|
|
5108
5104
|
this,
|
|
5109
5105
|
s.propertyEffects,
|
|
5110
5106
|
d,
|
|
5111
5107
|
n,
|
|
5112
|
-
|
|
5108
|
+
c,
|
|
5113
5109
|
s.nodeList
|
|
5114
5110
|
);
|
|
5115
|
-
for (let
|
|
5116
|
-
this._runEffectsForTemplate(
|
|
5111
|
+
for (let u = s.firstChild; u; u = u.nextSibling)
|
|
5112
|
+
this._runEffectsForTemplate(u, d, n, c);
|
|
5117
5113
|
};
|
|
5118
5114
|
s.runEffects ? s.runEffects(l, r, a) : l(r, a);
|
|
5119
5115
|
}
|
|
@@ -5303,8 +5299,8 @@ const Pi = j((o) => {
|
|
|
5303
5299
|
Z(this, s, l)
|
|
5304
5300
|
);
|
|
5305
5301
|
r < 0 ? r = d.length - Math.floor(-r) : r && (r = Math.floor(r));
|
|
5306
|
-
let
|
|
5307
|
-
return arguments.length === 2 ?
|
|
5302
|
+
let c;
|
|
5303
|
+
return arguments.length === 2 ? c = d.splice(r) : c = d.splice(r, n, ...a), (a.length || c.length) && We(this, d, l.path, r, a.length, c), c;
|
|
5308
5304
|
}
|
|
5309
5305
|
/**
|
|
5310
5306
|
* Removes an item from the beginning of array at the path specified.
|
|
@@ -5514,18 +5510,18 @@ const Pi = j((o) => {
|
|
|
5514
5510
|
*/
|
|
5515
5511
|
_marshalArgs(s, r, n) {
|
|
5516
5512
|
const a = this.__data, l = [];
|
|
5517
|
-
for (let d = 0,
|
|
5518
|
-
let { name:
|
|
5513
|
+
for (let d = 0, c = s.length; d < c; d++) {
|
|
5514
|
+
let { name: u, structured: p, wildcard: m, value: _, literal: x } = s[d];
|
|
5519
5515
|
if (!x)
|
|
5520
5516
|
if (m) {
|
|
5521
|
-
const S = st(
|
|
5517
|
+
const S = st(u, r), I = xo(a, n, S ? r : u);
|
|
5522
5518
|
_ = {
|
|
5523
|
-
path: S ? r :
|
|
5519
|
+
path: S ? r : u,
|
|
5524
5520
|
value: I,
|
|
5525
|
-
base: S ? Z(a,
|
|
5521
|
+
base: S ? Z(a, u) : I
|
|
5526
5522
|
};
|
|
5527
5523
|
} else
|
|
5528
|
-
_ = p ? xo(a, n,
|
|
5524
|
+
_ = p ? xo(a, n, u) : a[u];
|
|
5529
5525
|
if (Qt && !this._overrideLegacyUndefined && _ === void 0 && s.length > 1)
|
|
5530
5526
|
return at;
|
|
5531
5527
|
l[d] = _;
|
|
@@ -5824,9 +5820,9 @@ const Pi = j((o) => {
|
|
|
5824
5820
|
const r = s.templateInfo, { previousSibling: n, nextSibling: a, parent: l } = r;
|
|
5825
5821
|
n ? n.nextSibling = a : l && (l.firstChild = a), a ? a.previousSibling = n : l && (l.lastChild = n), r.nextSibling = r.previousSibling = null;
|
|
5826
5822
|
let d = r.childNodes;
|
|
5827
|
-
for (let
|
|
5828
|
-
let
|
|
5829
|
-
K(K(
|
|
5823
|
+
for (let c = 0; c < d.length; c++) {
|
|
5824
|
+
let u = d[c];
|
|
5825
|
+
K(K(u).parentNode).removeChild(u);
|
|
5830
5826
|
}
|
|
5831
5827
|
}
|
|
5832
5828
|
/**
|
|
@@ -5881,10 +5877,10 @@ const Pi = j((o) => {
|
|
|
5881
5877
|
static _parseTemplateNodeAttribute(s, r, n, a, l) {
|
|
5882
5878
|
let d = this._parseBindings(l, r);
|
|
5883
5879
|
if (d) {
|
|
5884
|
-
let
|
|
5885
|
-
da.test(a) ?
|
|
5880
|
+
let c = a, u = "property";
|
|
5881
|
+
da.test(a) ? u = "attribute" : a[a.length - 1] == "$" && (a = a.slice(0, -1), u = "attribute");
|
|
5886
5882
|
let p = wo(d);
|
|
5887
|
-
return p &&
|
|
5883
|
+
return p && u == "attribute" && (a == "class" && s.hasAttribute("class") && (p += " " + s.getAttribute(a)), s.setAttribute(a, p)), u == "attribute" && c == "disable-upgrade$" && s.setAttribute(a, ""), s.localName === "input" && c === "value" && s.setAttribute(c, ""), s.removeAttribute(c), u === "property" && (a = _s(a)), zt(this, r, n, u, a, d, p), !0;
|
|
5888
5884
|
} else
|
|
5889
5885
|
return t._parseTemplateNodeAttribute.call(
|
|
5890
5886
|
this,
|
|
@@ -5916,10 +5912,10 @@ const Pi = j((o) => {
|
|
|
5916
5912
|
r,
|
|
5917
5913
|
n
|
|
5918
5914
|
);
|
|
5919
|
-
const l = s.parentNode, d = n.templateInfo,
|
|
5920
|
-
no && (
|
|
5915
|
+
const l = s.parentNode, d = n.templateInfo, c = l.localName === "dom-if", u = l.localName === "dom-repeat";
|
|
5916
|
+
no && (c || u) && (l.removeChild(s), n = n.parentInfo, n.templateInfo = d, n.noted = !0, a = !1);
|
|
5921
5917
|
let p = d.hostProps;
|
|
5922
|
-
if (In &&
|
|
5918
|
+
if (In && c)
|
|
5923
5919
|
p && (r.hostProps = Object.assign(r.hostProps || {}, p), no || (n.parentInfo.noted = !0));
|
|
5924
5920
|
else {
|
|
5925
5921
|
let m = "{";
|
|
@@ -5979,9 +5975,9 @@ const Pi = j((o) => {
|
|
|
5979
5975
|
let n = [], a = 0, l;
|
|
5980
5976
|
for (; (l = bo.exec(s)) !== null; ) {
|
|
5981
5977
|
l.index > a && n.push({ literal: s.slice(a, l.index) });
|
|
5982
|
-
let d = l[1][0],
|
|
5983
|
-
d == "{" && (_ =
|
|
5984
|
-
let x = Lt(
|
|
5978
|
+
let d = l[1][0], c = !!l[2], u = l[3].trim(), p = !1, m = "", _ = -1;
|
|
5979
|
+
d == "{" && (_ = u.indexOf("::")) > 0 && (m = u.substring(_ + 2), u = u.substring(0, _), p = !0);
|
|
5980
|
+
let x = Lt(u), S = [];
|
|
5985
5981
|
if (x) {
|
|
5986
5982
|
let { args: I, methodName: D } = x;
|
|
5987
5983
|
for (let $ = 0; $ < I.length; $++) {
|
|
@@ -5991,11 +5987,11 @@ const Pi = j((o) => {
|
|
|
5991
5987
|
let M = r.dynamicFns;
|
|
5992
5988
|
(M && M[D] || x.static) && (S.push(D), x.dynamicFn = !0);
|
|
5993
5989
|
} else
|
|
5994
|
-
S.push(
|
|
5990
|
+
S.push(u);
|
|
5995
5991
|
n.push({
|
|
5996
|
-
source:
|
|
5992
|
+
source: u,
|
|
5997
5993
|
mode: d,
|
|
5998
|
-
negate:
|
|
5994
|
+
negate: c,
|
|
5999
5995
|
customEvent: p,
|
|
6000
5996
|
signature: x,
|
|
6001
5997
|
dependencies: S,
|
|
@@ -6026,8 +6022,8 @@ const Pi = j((o) => {
|
|
|
6026
6022
|
* @nocollapse
|
|
6027
6023
|
*/
|
|
6028
6024
|
static _evaluateBinding(s, r, n, a, l, d) {
|
|
6029
|
-
let
|
|
6030
|
-
return r.signature ?
|
|
6025
|
+
let c;
|
|
6026
|
+
return r.signature ? c = ii(s, n, a, l, r.signature) : n != r.source ? c = Z(s, r.source) : d && ei(n) ? c = Z(s, n) : c = s.__data[n], r.negate && (c = !c), c;
|
|
6031
6027
|
}
|
|
6032
6028
|
}
|
|
6033
6029
|
return e;
|
|
@@ -6210,16 +6206,16 @@ const ja = j((o) => {
|
|
|
6210
6206
|
* rights grant found at http://polymer.github.io/PATENTS.txt
|
|
6211
6207
|
*/
|
|
6212
6208
|
const Ya = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Wa = j((o) => {
|
|
6213
|
-
const t = ja(
|
|
6209
|
+
const t = ja(Si(o));
|
|
6214
6210
|
function e(l) {
|
|
6215
6211
|
if (!l.hasOwnProperty(
|
|
6216
6212
|
JSCompiler_renameProperty("__propertyDefaults", l)
|
|
6217
6213
|
)) {
|
|
6218
6214
|
l.__propertyDefaults = null;
|
|
6219
6215
|
let d = l._properties;
|
|
6220
|
-
for (let
|
|
6221
|
-
let
|
|
6222
|
-
"value" in
|
|
6216
|
+
for (let c in d) {
|
|
6217
|
+
let u = d[c];
|
|
6218
|
+
"value" in u && (l.__propertyDefaults = l.__propertyDefaults || {}, l.__propertyDefaults[c] = u);
|
|
6223
6219
|
}
|
|
6224
6220
|
}
|
|
6225
6221
|
return l.__propertyDefaults;
|
|
@@ -6234,23 +6230,23 @@ const Ya = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Wa = j((o)
|
|
|
6234
6230
|
l.observers
|
|
6235
6231
|
) : null), l.__ownObservers;
|
|
6236
6232
|
}
|
|
6237
|
-
function s(l, d,
|
|
6238
|
-
|
|
6233
|
+
function s(l, d, c, u) {
|
|
6234
|
+
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);
|
|
6239
6235
|
}
|
|
6240
|
-
function r(l, d,
|
|
6236
|
+
function r(l, d, c, u) {
|
|
6241
6237
|
if (!Co) {
|
|
6242
|
-
const p = d.content.querySelectorAll("style"), m = hs(d), _ = Bn(
|
|
6238
|
+
const p = d.content.querySelectorAll("style"), m = hs(d), _ = Bn(c), x = d.content.firstElementChild;
|
|
6243
6239
|
for (let I = 0; I < _.length; I++) {
|
|
6244
6240
|
let D = _[I];
|
|
6245
|
-
D.textContent = l._processStyleText(D.textContent,
|
|
6241
|
+
D.textContent = l._processStyleText(D.textContent, u), d.content.insertBefore(D, x);
|
|
6246
6242
|
}
|
|
6247
6243
|
let S = 0;
|
|
6248
6244
|
for (let I = 0; I < m.length; I++) {
|
|
6249
6245
|
let D = m[I], M = p[S];
|
|
6250
|
-
M !== D ? (D = D.cloneNode(!0), M.parentNode.insertBefore(D, M)) : S++, D.textContent = l._processStyleText(D.textContent,
|
|
6246
|
+
M !== D ? (D = D.cloneNode(!0), M.parentNode.insertBefore(D, M)) : S++, D.textContent = l._processStyleText(D.textContent, u);
|
|
6251
6247
|
}
|
|
6252
6248
|
}
|
|
6253
|
-
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(d,
|
|
6249
|
+
if (window.ShadyCSS && window.ShadyCSS.prepareTemplate(d, c), Nn && Co && kn) {
|
|
6254
6250
|
const p = d.content.querySelectorAll("style");
|
|
6255
6251
|
if (p) {
|
|
6256
6252
|
let m = "";
|
|
@@ -6306,12 +6302,12 @@ const Ya = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Wa = j((o)
|
|
|
6306
6302
|
* @nocollapse
|
|
6307
6303
|
*/
|
|
6308
6304
|
static createProperties(d) {
|
|
6309
|
-
for (let
|
|
6305
|
+
for (let c in d)
|
|
6310
6306
|
s(
|
|
6311
6307
|
/** @type {?} */
|
|
6312
6308
|
this.prototype,
|
|
6313
|
-
|
|
6314
|
-
d[
|
|
6309
|
+
c,
|
|
6310
|
+
d[c],
|
|
6315
6311
|
d
|
|
6316
6312
|
);
|
|
6317
6313
|
}
|
|
@@ -6327,10 +6323,10 @@ const Ya = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Wa = j((o)
|
|
|
6327
6323
|
* @protected
|
|
6328
6324
|
* @nocollapse
|
|
6329
6325
|
*/
|
|
6330
|
-
static createObservers(d,
|
|
6331
|
-
const
|
|
6326
|
+
static createObservers(d, c) {
|
|
6327
|
+
const u = this.prototype;
|
|
6332
6328
|
for (let p = 0; p < d.length; p++)
|
|
6333
|
-
|
|
6329
|
+
u._createMethodObserver(d[p], c);
|
|
6334
6330
|
}
|
|
6335
6331
|
/**
|
|
6336
6332
|
* Returns the template that will be stamped into this element's shadow root.
|
|
@@ -6432,13 +6428,13 @@ const Ya = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Wa = j((o)
|
|
|
6432
6428
|
if (!this.hasOwnProperty(JSCompiler_renameProperty("_importPath", this))) {
|
|
6433
6429
|
const d = this.importMeta;
|
|
6434
6430
|
if (d)
|
|
6435
|
-
this._importPath =
|
|
6431
|
+
this._importPath = Ei(d.url);
|
|
6436
6432
|
else {
|
|
6437
|
-
const
|
|
6433
|
+
const c = ot.import(
|
|
6438
6434
|
/** @type {PolymerElementConstructor} */
|
|
6439
6435
|
this.is
|
|
6440
6436
|
);
|
|
6441
|
-
this._importPath =
|
|
6437
|
+
this._importPath = c && c.assetpath || Object.getPrototypeOf(
|
|
6442
6438
|
/** @type {PolymerElementConstructor}*/
|
|
6443
6439
|
this.prototype
|
|
6444
6440
|
).constructor.importPath;
|
|
@@ -6468,11 +6464,11 @@ const Ya = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Wa = j((o)
|
|
|
6468
6464
|
), super._initializeProperties(), this.rootPath = Sn, this.importPath = this.constructor.importPath;
|
|
6469
6465
|
let d = e(this.constructor);
|
|
6470
6466
|
if (d)
|
|
6471
|
-
for (let
|
|
6472
|
-
let
|
|
6473
|
-
if (this._canApplyPropertyDefault(
|
|
6474
|
-
let p = typeof
|
|
6475
|
-
this._hasAccessor(
|
|
6467
|
+
for (let c in d) {
|
|
6468
|
+
let u = d[c];
|
|
6469
|
+
if (this._canApplyPropertyDefault(c)) {
|
|
6470
|
+
let p = typeof u.value == "function" ? u.value.call(this) : u.value;
|
|
6471
|
+
this._hasAccessor(c) ? this._setPendingProperty(c, p, !0) : this[c] = p;
|
|
6476
6472
|
}
|
|
6477
6473
|
}
|
|
6478
6474
|
}
|
|
@@ -6496,8 +6492,8 @@ const Ya = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Wa = j((o)
|
|
|
6496
6492
|
* @protected
|
|
6497
6493
|
* @nocollapse
|
|
6498
6494
|
*/
|
|
6499
|
-
static _processStyleText(d,
|
|
6500
|
-
return
|
|
6495
|
+
static _processStyleText(d, c) {
|
|
6496
|
+
return Ti(d, c);
|
|
6501
6497
|
}
|
|
6502
6498
|
/**
|
|
6503
6499
|
* Configures an element `proto` to function with a given `template`.
|
|
@@ -6510,11 +6506,11 @@ const Ya = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Wa = j((o)
|
|
|
6510
6506
|
* @nocollapse
|
|
6511
6507
|
*/
|
|
6512
6508
|
static _finalizeTemplate(d) {
|
|
6513
|
-
const
|
|
6514
|
-
if (
|
|
6515
|
-
|
|
6516
|
-
const
|
|
6517
|
-
r(this,
|
|
6509
|
+
const c = this.prototype._template;
|
|
6510
|
+
if (c && !c.__polymerFinalized) {
|
|
6511
|
+
c.__polymerFinalized = !0;
|
|
6512
|
+
const u = this.importPath, p = u ? Qe(u) : "";
|
|
6513
|
+
r(this, c, d, p), this.prototype._bindTemplate(c);
|
|
6518
6514
|
}
|
|
6519
6515
|
}
|
|
6520
6516
|
/**
|
|
@@ -6574,9 +6570,9 @@ const Ya = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Wa = j((o)
|
|
|
6574
6570
|
* @return {ShadowRoot} node to which the dom has been attached.
|
|
6575
6571
|
*/
|
|
6576
6572
|
_attachDom(d) {
|
|
6577
|
-
const
|
|
6578
|
-
if (
|
|
6579
|
-
return d ? (
|
|
6573
|
+
const c = K(this);
|
|
6574
|
+
if (c.attachShadow)
|
|
6575
|
+
return d ? (c.shadowRoot || (c.attachShadow({ mode: "open", shadyUpgradeFragment: d }), c.shadowRoot.appendChild(d), this.constructor._styleSheet && (c.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), On && window.ShadyDOM && window.ShadyDOM.flushInitial(c.shadowRoot), c.shadowRoot) : null;
|
|
6580
6576
|
throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.");
|
|
6581
6577
|
}
|
|
6582
6578
|
/**
|
|
@@ -6624,8 +6620,8 @@ const Ya = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Wa = j((o)
|
|
|
6624
6620
|
* to the element's `importPath`
|
|
6625
6621
|
* @return {string} Rewritten URL relative to base
|
|
6626
6622
|
*/
|
|
6627
|
-
resolveUrl(d,
|
|
6628
|
-
return !
|
|
6623
|
+
resolveUrl(d, c) {
|
|
6624
|
+
return !c && this.importPath && (c = Qe(this.importPath)), Qe(d, c);
|
|
6629
6625
|
}
|
|
6630
6626
|
/**
|
|
6631
6627
|
* Overrides `PropertyEffects` to add map of dynamic functions on
|
|
@@ -6640,12 +6636,12 @@ const Ya = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Wa = j((o)
|
|
|
6640
6636
|
* @suppress {missingProperties} Interfaces in closure do not inherit statics, but classes do
|
|
6641
6637
|
* @nocollapse
|
|
6642
6638
|
*/
|
|
6643
|
-
static _parseTemplateContent(d,
|
|
6644
|
-
return
|
|
6639
|
+
static _parseTemplateContent(d, c, u) {
|
|
6640
|
+
return c.dynamicFns = c.dynamicFns || this._properties, t._parseTemplateContent.call(
|
|
6645
6641
|
this,
|
|
6646
6642
|
d,
|
|
6647
|
-
|
|
6648
|
-
|
|
6643
|
+
c,
|
|
6644
|
+
u
|
|
6649
6645
|
);
|
|
6650
6646
|
}
|
|
6651
6647
|
/**
|
|
@@ -6660,18 +6656,18 @@ const Ya = "3.5.2", Co = window.ShadyCSS && window.ShadyCSS.cssBuild, Wa = j((o)
|
|
|
6660
6656
|
* @suppress {missingProperties} Interfaces in closure do not inherit statics, but classes do
|
|
6661
6657
|
* @nocollapse
|
|
6662
6658
|
*/
|
|
6663
|
-
static _addTemplatePropertyEffect(d,
|
|
6664
|
-
return ds && !(
|
|
6659
|
+
static _addTemplatePropertyEffect(d, c, u) {
|
|
6660
|
+
return ds && !(c in this._properties) && // Methods used in templates with no dependencies (or only literal
|
|
6665
6661
|
// dependencies) become accessors with template effects; ignore these
|
|
6666
|
-
!(
|
|
6662
|
+
!(u.info.part.signature && u.info.part.signature.static) && // Warnings for bindings added to nested templates are handled by
|
|
6667
6663
|
// templatizer so ignore both the host-to-template bindings
|
|
6668
6664
|
// (`hostProp`) and TemplateInstance-to-child bindings
|
|
6669
6665
|
// (`nestedTemplate`)
|
|
6670
|
-
!
|
|
6666
|
+
!u.info.part.hostProp && !d.nestedTemplate && console.warn(`Property '${c}' used in template but not declared in 'properties'; attribute will not be observed.`), t._addTemplatePropertyEffect.call(
|
|
6671
6667
|
this,
|
|
6672
6668
|
d,
|
|
6673
|
-
|
|
6674
|
-
|
|
6669
|
+
c,
|
|
6670
|
+
u
|
|
6675
6671
|
);
|
|
6676
6672
|
}
|
|
6677
6673
|
}
|
|
@@ -6760,7 +6756,7 @@ const ye = Wa(HTMLElement);
|
|
|
6760
6756
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
6761
6757
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
6762
6758
|
*/
|
|
6763
|
-
const
|
|
6759
|
+
const ue = [];
|
|
6764
6760
|
function oi(o, t, e = o.getAttribute("dir")) {
|
|
6765
6761
|
t ? o.setAttribute("dir", t) : e != null && o.removeAttribute("dir");
|
|
6766
6762
|
}
|
|
@@ -6769,7 +6765,7 @@ function si() {
|
|
|
6769
6765
|
}
|
|
6770
6766
|
function Ka() {
|
|
6771
6767
|
const o = si();
|
|
6772
|
-
|
|
6768
|
+
ue.forEach((t) => {
|
|
6773
6769
|
oi(t, o);
|
|
6774
6770
|
});
|
|
6775
6771
|
}
|
|
@@ -6807,12 +6803,12 @@ const Pt = (o) => class extends o {
|
|
|
6807
6803
|
attributeChangedCallback(e, i, s) {
|
|
6808
6804
|
if (super.attributeChangedCallback(e, i, s), e !== "dir")
|
|
6809
6805
|
return;
|
|
6810
|
-
const r = si(), n = s === r &&
|
|
6806
|
+
const r = si(), n = s === r && ue.indexOf(this) === -1, a = !s && i && ue.indexOf(this) === -1;
|
|
6811
6807
|
n || a ? (this.__subscribe(), oi(this, r, s)) : s !== r && i === r && this.__unsubscribe();
|
|
6812
6808
|
}
|
|
6813
6809
|
/** @protected */
|
|
6814
6810
|
disconnectedCallback() {
|
|
6815
|
-
super.disconnectedCallback(), this.__restoreSubscription =
|
|
6811
|
+
super.disconnectedCallback(), this.__restoreSubscription = ue.includes(this), this.__unsubscribe();
|
|
6816
6812
|
}
|
|
6817
6813
|
/** @protected */
|
|
6818
6814
|
_valueToNodeAttribute(e, i, s) {
|
|
@@ -6824,11 +6820,11 @@ const Pt = (o) => class extends o {
|
|
|
6824
6820
|
}
|
|
6825
6821
|
/** @private */
|
|
6826
6822
|
__subscribe() {
|
|
6827
|
-
|
|
6823
|
+
ue.includes(this) || ue.push(this);
|
|
6828
6824
|
}
|
|
6829
6825
|
/** @private */
|
|
6830
6826
|
__unsubscribe() {
|
|
6831
|
-
|
|
6827
|
+
ue.includes(this) && ue.splice(ue.indexOf(this), 1);
|
|
6832
6828
|
}
|
|
6833
6829
|
};
|
|
6834
6830
|
/**
|
|
@@ -7031,18 +7027,18 @@ const Qa = k`
|
|
|
7031
7027
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7032
7028
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7033
7029
|
*/
|
|
7034
|
-
let
|
|
7030
|
+
let Pi = !1;
|
|
7035
7031
|
window.addEventListener(
|
|
7036
7032
|
"keydown",
|
|
7037
7033
|
() => {
|
|
7038
|
-
|
|
7034
|
+
Pi = !0;
|
|
7039
7035
|
},
|
|
7040
7036
|
{ capture: !0 }
|
|
7041
7037
|
);
|
|
7042
7038
|
window.addEventListener(
|
|
7043
7039
|
"mousedown",
|
|
7044
7040
|
() => {
|
|
7045
|
-
|
|
7041
|
+
Pi = !1;
|
|
7046
7042
|
},
|
|
7047
7043
|
{ capture: !0 }
|
|
7048
7044
|
);
|
|
@@ -7052,8 +7048,8 @@ function ri() {
|
|
|
7052
7048
|
o = o.shadowRoot.activeElement;
|
|
7053
7049
|
return o;
|
|
7054
7050
|
}
|
|
7055
|
-
function
|
|
7056
|
-
return
|
|
7051
|
+
function Oi() {
|
|
7052
|
+
return Pi;
|
|
7057
7053
|
}
|
|
7058
7054
|
function el(o) {
|
|
7059
7055
|
const t = o.style;
|
|
@@ -7152,11 +7148,11 @@ function zs(o, t, e) {
|
|
|
7152
7148
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
7153
7149
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
7154
7150
|
*/
|
|
7155
|
-
const Ot = (o) => o.test(navigator.userAgent), li = (o) => o.test(navigator.platform),
|
|
7151
|
+
const Ot = (o) => o.test(navigator.userAgent), li = (o) => o.test(navigator.platform), cl = (o) => o.test(navigator.vendor);
|
|
7156
7152
|
Ot(/Android/u);
|
|
7157
|
-
Ot(/Chrome/u) &&
|
|
7153
|
+
Ot(/Chrome/u) && cl(/Google Inc/u);
|
|
7158
7154
|
Ot(/Firefox/u);
|
|
7159
|
-
const
|
|
7155
|
+
const ul = li(/^iPad/u) || li(/^Mac/u) && navigator.maxTouchPoints > 1, hl = li(/^iPhone/u), Ls = hl || ul;
|
|
7160
7156
|
Ot(/^((?!chrome|android).)*safari/iu);
|
|
7161
7157
|
const pl = (() => {
|
|
7162
7158
|
try {
|
|
@@ -7186,32 +7182,32 @@ const To = (o) => o && o.nodeType === Node.ELEMENT_NODE, Rt = (...o) => {
|
|
|
7186
7182
|
}).filter((e) => !!e) : (Rt(o, "is not a valid element"), []), ml = (o, t, e, i) => {
|
|
7187
7183
|
const s = fl(t, Array.isArray(o) ? o : [o]);
|
|
7188
7184
|
ft[e] || (ft[e] = /* @__PURE__ */ new WeakMap());
|
|
7189
|
-
const r = ft[e], n = [], a = /* @__PURE__ */ new Set(), l = new Set(s), d = (
|
|
7190
|
-
if (!
|
|
7185
|
+
const r = ft[e], n = [], a = /* @__PURE__ */ new Set(), l = new Set(s), d = (u) => {
|
|
7186
|
+
if (!u || a.has(u))
|
|
7191
7187
|
return;
|
|
7192
|
-
a.add(
|
|
7193
|
-
const p =
|
|
7194
|
-
p && d(p), d(
|
|
7188
|
+
a.add(u);
|
|
7189
|
+
const p = u.assignedSlot;
|
|
7190
|
+
p && d(p), d(u.parentNode || u.host);
|
|
7195
7191
|
};
|
|
7196
7192
|
s.forEach(d);
|
|
7197
|
-
const
|
|
7198
|
-
if (!
|
|
7193
|
+
const c = (u) => {
|
|
7194
|
+
if (!u || l.has(u))
|
|
7199
7195
|
return;
|
|
7200
|
-
const p =
|
|
7201
|
-
(p ? [...
|
|
7196
|
+
const p = u.shadowRoot;
|
|
7197
|
+
(p ? [...u.children, ...p.children] : [...u.children]).forEach((_) => {
|
|
7202
7198
|
if (!["template", "script", "style"].includes(_.localName))
|
|
7203
7199
|
if (a.has(_))
|
|
7204
|
-
|
|
7200
|
+
c(_);
|
|
7205
7201
|
else {
|
|
7206
7202
|
const x = _.getAttribute(i), S = x !== null && x !== "false", I = (Oe.get(_) || 0) + 1, D = (r.get(_) || 0) + 1;
|
|
7207
7203
|
Oe.set(_, I), r.set(_, D), n.push(_), I === 1 && S && pt.set(_, !0), D === 1 && _.setAttribute(e, "true"), S || _.setAttribute(i, "true");
|
|
7208
7204
|
}
|
|
7209
7205
|
});
|
|
7210
7206
|
};
|
|
7211
|
-
return
|
|
7212
|
-
n.forEach((
|
|
7213
|
-
const p = Oe.get(
|
|
7214
|
-
Oe.set(
|
|
7207
|
+
return c(t), a.clear(), $t += 1, () => {
|
|
7208
|
+
n.forEach((u) => {
|
|
7209
|
+
const p = Oe.get(u) - 1, m = r.get(u) - 1;
|
|
7210
|
+
Oe.set(u, p), r.set(u, m), p || (pt.has(u) ? pt.delete(u) : u.removeAttribute(i)), m || u.removeAttribute(e);
|
|
7215
7211
|
}), $t -= 1, $t || (Oe = /* @__PURE__ */ new WeakMap(), Oe = /* @__PURE__ */ new WeakMap(), pt = /* @__PURE__ */ new WeakMap(), ft = {});
|
|
7216
7212
|
};
|
|
7217
7213
|
}, $s = (o, t = document.body, e = "data-aria-hidden") => {
|
|
@@ -7463,7 +7459,7 @@ const vl = (o) => class extends Ue(o) {
|
|
|
7463
7459
|
*/
|
|
7464
7460
|
_resetFocus() {
|
|
7465
7461
|
if (this.focusTrap && (this.__ariaModalController.close(), this.__focusTrapController.releaseFocus()), this.restoreFocusOnClose && this._shouldRestoreFocus()) {
|
|
7466
|
-
const e = !
|
|
7462
|
+
const e = !Oi();
|
|
7467
7463
|
this.__focusRestorationController.restoreFocus({ preventScroll: e });
|
|
7468
7464
|
}
|
|
7469
7465
|
}
|
|
@@ -7847,18 +7843,18 @@ function Cl(o) {
|
|
|
7847
7843
|
}
|
|
7848
7844
|
return t;
|
|
7849
7845
|
}
|
|
7850
|
-
function
|
|
7846
|
+
function Mi(o) {
|
|
7851
7847
|
return o ? new Set(o.split(" ")) : /* @__PURE__ */ new Set();
|
|
7852
7848
|
}
|
|
7853
7849
|
function Mt(o) {
|
|
7854
7850
|
return o ? [...o].join(" ") : "";
|
|
7855
7851
|
}
|
|
7856
7852
|
function Hs(o, t, e) {
|
|
7857
|
-
const i =
|
|
7853
|
+
const i = Mi(o.getAttribute(t));
|
|
7858
7854
|
i.add(e), o.setAttribute(t, Mt(i));
|
|
7859
7855
|
}
|
|
7860
7856
|
function Al(o, t, e) {
|
|
7861
|
-
const i =
|
|
7857
|
+
const i = Mi(o.getAttribute(t));
|
|
7862
7858
|
if (i.delete(e), i.size === 0) {
|
|
7863
7859
|
o.removeAttribute(t);
|
|
7864
7860
|
return;
|
|
@@ -7881,10 +7877,10 @@ function El(o, t) {
|
|
|
7881
7877
|
}
|
|
7882
7878
|
function r(n = !1, a = 1) {
|
|
7883
7879
|
s();
|
|
7884
|
-
const { left: l, top: d, width:
|
|
7885
|
-
if (n || t(), !
|
|
7880
|
+
const { left: l, top: d, width: c, height: u } = o.getBoundingClientRect();
|
|
7881
|
+
if (n || t(), !c || !u)
|
|
7886
7882
|
return;
|
|
7887
|
-
const p = Math.floor(d), m = Math.floor(i.clientWidth - (l +
|
|
7883
|
+
const p = Math.floor(d), m = Math.floor(i.clientWidth - (l + c)), _ = Math.floor(i.clientHeight - (d + u)), x = Math.floor(l), I = {
|
|
7888
7884
|
rootMargin: `${-p}px ${-m}px ${-_}px ${-x}px`,
|
|
7889
7885
|
threshold: Math.max(0, Math.min(1, a)) || 1
|
|
7890
7886
|
};
|
|
@@ -8105,7 +8101,7 @@ const Bt = {
|
|
|
8105
8101
|
}
|
|
8106
8102
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
8107
8103
|
__shouldAlignStart(e, i, s, r, n, a, l) {
|
|
8108
|
-
const d = s - e[a ? l.end : l.start] - r[l.end],
|
|
8104
|
+
const d = s - e[a ? l.end : l.start] - r[l.end], c = e[a ? l.start : l.end] - r[l.start], u = n ? d : c, m = u > (n ? c : d) || u > i;
|
|
8109
8105
|
return n === m;
|
|
8110
8106
|
}
|
|
8111
8107
|
/**
|
|
@@ -8142,7 +8138,7 @@ const Bt = {
|
|
|
8142
8138
|
*/
|
|
8143
8139
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
8144
8140
|
__calculatePositionInOneDimension(e, i, s, r, n, a) {
|
|
8145
|
-
const l = a ? r.start : r.end, d = a ? r.end : r.start,
|
|
8141
|
+
const l = a ? r.start : r.end, d = a ? r.end : r.start, c = parseFloat(n.style[l] || getComputedStyle(n)[l]), u = this.__adjustBottomProperty(l, r, c), p = i[a ? r.start : r.end] - e[s === a ? r.end : r.start], m = u ? `${u}px` : `${c + p * (a ? -1 : 1)}px`;
|
|
8146
8142
|
return {
|
|
8147
8143
|
[l]: m,
|
|
8148
8144
|
[d]: ""
|
|
@@ -8756,9 +8752,9 @@ const $l = function() {
|
|
|
8756
8752
|
*/
|
|
8757
8753
|
let ko = 0, Vs = 0;
|
|
8758
8754
|
const Fe = [];
|
|
8759
|
-
let
|
|
8755
|
+
let ci = !1;
|
|
8760
8756
|
function Rl() {
|
|
8761
|
-
|
|
8757
|
+
ci = !1;
|
|
8762
8758
|
const o = Fe.length;
|
|
8763
8759
|
for (let t = 0; t < o; t++) {
|
|
8764
8760
|
const e = Fe[t];
|
|
@@ -8864,7 +8860,7 @@ const At = {
|
|
|
8864
8860
|
* @return {number} Handle used for canceling task
|
|
8865
8861
|
*/
|
|
8866
8862
|
run(o) {
|
|
8867
|
-
|
|
8863
|
+
ci || (ci = !0, queueMicrotask(() => Rl())), Fe.push(o);
|
|
8868
8864
|
const t = ko;
|
|
8869
8865
|
return ko += 1, t;
|
|
8870
8866
|
},
|
|
@@ -8893,7 +8889,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
8893
8889
|
Code distributed by Google as part of the polymer project is also
|
|
8894
8890
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
8895
8891
|
*/
|
|
8896
|
-
const
|
|
8892
|
+
const ui = /* @__PURE__ */ new Set();
|
|
8897
8893
|
let He = class hi {
|
|
8898
8894
|
/**
|
|
8899
8895
|
* Creates a debouncer if no debouncer is passed as a parameter
|
|
@@ -8946,7 +8942,7 @@ let He = class hi {
|
|
|
8946
8942
|
*/
|
|
8947
8943
|
setConfig(t, e) {
|
|
8948
8944
|
this._asyncModule = t, this._callback = e, this._timer = this._asyncModule.run(() => {
|
|
8949
|
-
this._timer = null,
|
|
8945
|
+
this._timer = null, ui.delete(this), this._callback();
|
|
8950
8946
|
});
|
|
8951
8947
|
}
|
|
8952
8948
|
/**
|
|
@@ -8955,7 +8951,7 @@ let He = class hi {
|
|
|
8955
8951
|
* @return {void}
|
|
8956
8952
|
*/
|
|
8957
8953
|
cancel() {
|
|
8958
|
-
this.isActive() && (this._cancelAsync(),
|
|
8954
|
+
this.isActive() && (this._cancelAsync(), ui.delete(this));
|
|
8959
8955
|
}
|
|
8960
8956
|
/**
|
|
8961
8957
|
* Cancels a debouncer's async callback.
|
|
@@ -8986,7 +8982,7 @@ let He = class hi {
|
|
|
8986
8982
|
}
|
|
8987
8983
|
};
|
|
8988
8984
|
function Ul(o) {
|
|
8989
|
-
|
|
8985
|
+
ui.add(o);
|
|
8990
8986
|
}
|
|
8991
8987
|
/**
|
|
8992
8988
|
* @license
|
|
@@ -9380,7 +9376,7 @@ The complete set of contributors may be found at http://polymer.github.io/CONTRI
|
|
|
9380
9376
|
Code distributed by Google as part of the polymer project is also
|
|
9381
9377
|
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
|
|
9382
9378
|
*/
|
|
9383
|
-
const Kl = (o) => o,
|
|
9379
|
+
const Kl = !1, Gl = (o) => o, Ii = typeof document.head.style.touchAction == "string", pi = "__polymerGestures", jt = "__polymerGesturesHandled", fi = "__polymerGesturesTouchAction", Po = 25, Oo = 5, Jl = 2, Xl = ["mousedown", "mousemove", "mouseup", "click"], Zl = [0, 1, 4, 2], Ql = function() {
|
|
9384
9380
|
try {
|
|
9385
9381
|
return new MouseEvent("test", { buttons: 1 }).buttons === 1;
|
|
9386
9382
|
} catch {
|
|
@@ -9388,15 +9384,15 @@ const Kl = (o) => o, Ws = typeof document.head.style.touchAction == "string", pi
|
|
|
9388
9384
|
}
|
|
9389
9385
|
}();
|
|
9390
9386
|
function Ni(o) {
|
|
9391
|
-
return
|
|
9387
|
+
return Xl.indexOf(o) > -1;
|
|
9392
9388
|
}
|
|
9393
|
-
let
|
|
9389
|
+
let Ws = !1;
|
|
9394
9390
|
(function() {
|
|
9395
9391
|
try {
|
|
9396
9392
|
const o = Object.defineProperty({}, "passive", {
|
|
9397
9393
|
// eslint-disable-next-line getter-return
|
|
9398
9394
|
get() {
|
|
9399
|
-
|
|
9395
|
+
Ws = !0;
|
|
9400
9396
|
}
|
|
9401
9397
|
});
|
|
9402
9398
|
window.addEventListener("test", null, o), window.removeEventListener("test", null, o);
|
|
@@ -9404,7 +9400,8 @@ let Ql = !1;
|
|
|
9404
9400
|
}
|
|
9405
9401
|
})();
|
|
9406
9402
|
function ed(o) {
|
|
9407
|
-
Ni(o)
|
|
9403
|
+
if (!(Ni(o) || o === "touchend") && Ii && Ws && Kl)
|
|
9404
|
+
return { passive: !0 };
|
|
9408
9405
|
}
|
|
9409
9406
|
const td = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), id = {
|
|
9410
9407
|
button: !0,
|
|
@@ -9423,7 +9420,7 @@ function Ae(o) {
|
|
|
9423
9420
|
return !1;
|
|
9424
9421
|
if (t === "mousemove") {
|
|
9425
9422
|
let i = o.buttons === void 0 ? 1 : o.buttons;
|
|
9426
|
-
return o instanceof window.MouseEvent && !
|
|
9423
|
+
return o instanceof window.MouseEvent && !Ql && (i = Zl[o.which] || 0), !!(i & 1);
|
|
9427
9424
|
}
|
|
9428
9425
|
return (o.button === void 0 ? 0 : o.button) === 0;
|
|
9429
9426
|
}
|
|
@@ -9444,6 +9441,10 @@ function od(o) {
|
|
|
9444
9441
|
return !1;
|
|
9445
9442
|
}
|
|
9446
9443
|
const he = {
|
|
9444
|
+
mouse: {
|
|
9445
|
+
target: null,
|
|
9446
|
+
mouseIgnoreJob: null
|
|
9447
|
+
},
|
|
9447
9448
|
touch: {
|
|
9448
9449
|
x: 0,
|
|
9449
9450
|
y: 0,
|
|
@@ -9496,7 +9497,7 @@ function nd(o) {
|
|
|
9496
9497
|
const n = o.changedTouches[0];
|
|
9497
9498
|
if (t === "touchstart" && o.touches.length === 1 && (he.touch.id = n.identifier), he.touch.id !== n.identifier)
|
|
9498
9499
|
return;
|
|
9499
|
-
|
|
9500
|
+
Ii || (t === "touchstart" || t === "touchmove") && ad(o);
|
|
9500
9501
|
}
|
|
9501
9502
|
const r = o[jt];
|
|
9502
9503
|
if (!r.skip) {
|
|
@@ -9546,13 +9547,13 @@ function dd(o) {
|
|
|
9546
9547
|
return null;
|
|
9547
9548
|
}
|
|
9548
9549
|
function Gs(o, t) {
|
|
9549
|
-
|
|
9550
|
+
Ii && o instanceof HTMLElement && Vl.run(() => {
|
|
9550
9551
|
o.style.touchAction = t;
|
|
9551
9552
|
}), o[fi] = t;
|
|
9552
9553
|
}
|
|
9553
9554
|
function Li(o, t, e) {
|
|
9554
9555
|
const i = new Event(t, { bubbles: !0, cancelable: !0, composed: !0 });
|
|
9555
|
-
if (i.detail = e,
|
|
9556
|
+
if (i.detail = e, Gl(
|
|
9556
9557
|
/** @type {!Node} */
|
|
9557
9558
|
o
|
|
9558
9559
|
).dispatchEvent(i), i.defaultPrevented) {
|
|
@@ -9643,7 +9644,7 @@ zi({
|
|
|
9643
9644
|
moves: [],
|
|
9644
9645
|
/** @this {GestureInfo} */
|
|
9645
9646
|
addMove(o) {
|
|
9646
|
-
this.moves.length >
|
|
9647
|
+
this.moves.length > Jl && this.moves.shift(), this.moves.push(o);
|
|
9647
9648
|
},
|
|
9648
9649
|
movefn: null,
|
|
9649
9650
|
upfn: null,
|
|
@@ -9905,7 +9906,7 @@ const It = j(
|
|
|
9905
9906
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
9906
9907
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
9907
9908
|
*/
|
|
9908
|
-
const
|
|
9909
|
+
const cd = (o) => class extends Js(It(o)) {
|
|
9909
9910
|
/**
|
|
9910
9911
|
* An array of activation keys.
|
|
9911
9912
|
*
|
|
@@ -9975,7 +9976,7 @@ const $i = j(
|
|
|
9975
9976
|
* @return {boolean}
|
|
9976
9977
|
*/
|
|
9977
9978
|
get _keyboardActive() {
|
|
9978
|
-
return
|
|
9979
|
+
return Oi();
|
|
9979
9980
|
}
|
|
9980
9981
|
/** @protected */
|
|
9981
9982
|
ready() {
|
|
@@ -10076,7 +10077,7 @@ const Xs = (o) => class extends Js(o) {
|
|
|
10076
10077
|
* Copyright (c) 2017 - 2024 Vaadin Ltd.
|
|
10077
10078
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10078
10079
|
*/
|
|
10079
|
-
const
|
|
10080
|
+
const ud = (o) => class extends cd(Xs($i(o))) {
|
|
10080
10081
|
static get properties() {
|
|
10081
10082
|
return {
|
|
10082
10083
|
/**
|
|
@@ -10132,7 +10133,7 @@ const cd = (o) => class extends ud(Xs($i(o))) {
|
|
|
10132
10133
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
10133
10134
|
*/
|
|
10134
10135
|
B("vaadin-button", Wl, { moduleId: "vaadin-button-styles" });
|
|
10135
|
-
class hd extends
|
|
10136
|
+
class hd extends ud(Us(De(Ue(ye)))) {
|
|
10136
10137
|
static get is() {
|
|
10137
10138
|
return "vaadin-button";
|
|
10138
10139
|
}
|
|
@@ -10824,11 +10825,11 @@ gi.prototype = Object.create(HTMLTemplateElement.prototype, {
|
|
|
10824
10825
|
writable: !0
|
|
10825
10826
|
}
|
|
10826
10827
|
});
|
|
10827
|
-
const sr =
|
|
10828
|
+
const sr = Si(gi), Ad = Vi(sr);
|
|
10828
10829
|
function Td(o, t) {
|
|
10829
10830
|
_i = o, Object.setPrototypeOf(o, t.prototype), new t(), _i = null;
|
|
10830
10831
|
}
|
|
10831
|
-
const Ed =
|
|
10832
|
+
const Ed = Si(class {
|
|
10832
10833
|
});
|
|
10833
10834
|
function Dd(o, t) {
|
|
10834
10835
|
for (let e = 0; e < t.length; e++) {
|
|
@@ -11732,9 +11733,9 @@ const Rd = (o) => class extends $i(o) {
|
|
|
11732
11733
|
if (e === void 0 || i === void 0)
|
|
11733
11734
|
return [];
|
|
11734
11735
|
const { weekdays: s, weekdaysShort: r, firstDayOfWeek: n } = e, a = this._applyFirstDayOfWeek(r, n);
|
|
11735
|
-
return this._applyFirstDayOfWeek(s, n).map((d,
|
|
11736
|
+
return this._applyFirstDayOfWeek(s, n).map((d, c) => ({
|
|
11736
11737
|
weekDay: d,
|
|
11737
|
-
weekDayShort: a[
|
|
11738
|
+
weekDayShort: a[c]
|
|
11738
11739
|
})).slice(0, 7);
|
|
11739
11740
|
}
|
|
11740
11741
|
/** @private */
|
|
@@ -12228,9 +12229,9 @@ const Vd = (o) => class extends o {
|
|
|
12228
12229
|
e && (e.textContent = i && i.today, e.disabled = !this._isTodayAllowed(s, r, n));
|
|
12229
12230
|
}
|
|
12230
12231
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
12231
|
-
__updateCalendars(e, i, s, r, n, a, l, d,
|
|
12232
|
+
__updateCalendars(e, i, s, r, n, a, l, d, c, u) {
|
|
12232
12233
|
e && e.length && e.forEach((p) => {
|
|
12233
|
-
p.i18n = i, p.minDate = s, p.maxDate = r, p.isDateDisabled =
|
|
12234
|
+
p.i18n = i, p.minDate = s, p.maxDate = r, p.isDateDisabled = u, p.focusedDate = a, p.selectedDate = n, p.showWeekNumbers = l, p.ignoreTaps = d, c ? p.setAttribute("theme", c) : p.removeAttribute("theme");
|
|
12234
12235
|
});
|
|
12235
12236
|
}
|
|
12236
12237
|
/** @private */
|
|
@@ -12366,19 +12367,19 @@ const Vd = (o) => class extends o {
|
|
|
12366
12367
|
this._revealPromise = new Promise((d) => {
|
|
12367
12368
|
s = d;
|
|
12368
12369
|
});
|
|
12369
|
-
const r = (d,
|
|
12370
|
+
const r = (d, c, u, p) => (d /= p / 2, d < 1 ? u / 2 * d * d + c : (d -= 1, -u / 2 * (d * (d - 2) - 1) + c));
|
|
12370
12371
|
let n = 0;
|
|
12371
12372
|
const a = this._monthScroller.position, l = (d) => {
|
|
12372
12373
|
n || (n = d);
|
|
12373
|
-
const
|
|
12374
|
-
if (
|
|
12375
|
-
const
|
|
12376
|
-
|
|
12374
|
+
const c = d - n;
|
|
12375
|
+
if (c < this.scrollDuration) {
|
|
12376
|
+
const u = r(
|
|
12377
|
+
c,
|
|
12377
12378
|
a,
|
|
12378
12379
|
this._targetPosition - a,
|
|
12379
12380
|
this.scrollDuration
|
|
12380
12381
|
);
|
|
12381
|
-
this._monthScroller.position =
|
|
12382
|
+
this._monthScroller.position = u, window.requestAnimationFrame(l);
|
|
12382
12383
|
} else
|
|
12383
12384
|
this.dispatchEvent(
|
|
12384
12385
|
new CustomEvent("scroll-animation-finished", {
|
|
@@ -13206,7 +13207,7 @@ function dr(o, t) {
|
|
|
13206
13207
|
const e = Ui(t);
|
|
13207
13208
|
if (e.has(o))
|
|
13208
13209
|
return;
|
|
13209
|
-
const i =
|
|
13210
|
+
const i = Mi(o.getAttribute(t));
|
|
13210
13211
|
e.set(o, new Set(i));
|
|
13211
13212
|
}
|
|
13212
13213
|
function Gd(o, t) {
|
|
@@ -13564,7 +13565,7 @@ class Qd extends ji {
|
|
|
13564
13565
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13565
13566
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13566
13567
|
*/
|
|
13567
|
-
class
|
|
13568
|
+
class ec extends ji {
|
|
13568
13569
|
constructor(t) {
|
|
13569
13570
|
super(t, "helper", null);
|
|
13570
13571
|
}
|
|
@@ -13619,7 +13620,7 @@ class eu extends ji {
|
|
|
13619
13620
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13620
13621
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13621
13622
|
*/
|
|
13622
|
-
class
|
|
13623
|
+
class tc extends ji {
|
|
13623
13624
|
constructor(t) {
|
|
13624
13625
|
super(t, "label", "label");
|
|
13625
13626
|
}
|
|
@@ -13672,7 +13673,7 @@ class tu extends ji {
|
|
|
13672
13673
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13673
13674
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13674
13675
|
*/
|
|
13675
|
-
const
|
|
13676
|
+
const ic = j(
|
|
13676
13677
|
(o) => class extends Ue(o) {
|
|
13677
13678
|
static get properties() {
|
|
13678
13679
|
return {
|
|
@@ -13687,7 +13688,7 @@ const iu = j(
|
|
|
13687
13688
|
};
|
|
13688
13689
|
}
|
|
13689
13690
|
constructor() {
|
|
13690
|
-
super(), this._labelController = new
|
|
13691
|
+
super(), this._labelController = new tc(this), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
13691
13692
|
this.toggleAttribute("has-label", e.detail.hasContent);
|
|
13692
13693
|
});
|
|
13693
13694
|
}
|
|
@@ -13715,7 +13716,7 @@ const iu = j(
|
|
|
13715
13716
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13716
13717
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13717
13718
|
*/
|
|
13718
|
-
const
|
|
13719
|
+
const cr = j(
|
|
13719
13720
|
(o) => class extends o {
|
|
13720
13721
|
static get properties() {
|
|
13721
13722
|
return {
|
|
@@ -13787,7 +13788,7 @@ const ur = j(
|
|
|
13787
13788
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13788
13789
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13789
13790
|
*/
|
|
13790
|
-
const
|
|
13791
|
+
const oc = (o) => class extends cr(ic(Ue(o))) {
|
|
13791
13792
|
static get properties() {
|
|
13792
13793
|
return {
|
|
13793
13794
|
/**
|
|
@@ -13837,7 +13838,7 @@ const ou = (o) => class extends ur(iu(Ue(o))) {
|
|
|
13837
13838
|
return ["_invalidChanged(invalid)", "_requiredChanged(required)"];
|
|
13838
13839
|
}
|
|
13839
13840
|
constructor() {
|
|
13840
|
-
super(), this._fieldAriaController = new Xd(this), this._helperController = new
|
|
13841
|
+
super(), this._fieldAriaController = new Xd(this), this._helperController = new ec(this), this._errorController = new Qd(this), this._errorController.addEventListener("slot-content-changed", (e) => {
|
|
13841
13842
|
this.toggleAttribute("has-error-message", e.detail.hasContent);
|
|
13842
13843
|
}), this._labelController.addEventListener("slot-content-changed", (e) => {
|
|
13843
13844
|
const { hasContent: i, node: s } = e.detail;
|
|
@@ -13928,7 +13929,7 @@ const ou = (o) => class extends ur(iu(Ue(o))) {
|
|
|
13928
13929
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
13929
13930
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
13930
13931
|
*/
|
|
13931
|
-
const
|
|
13932
|
+
const sc = j(
|
|
13932
13933
|
(o) => class extends o {
|
|
13933
13934
|
static get properties() {
|
|
13934
13935
|
return {
|
|
@@ -14009,8 +14010,8 @@ const su = j(
|
|
|
14009
14010
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14010
14011
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14011
14012
|
*/
|
|
14012
|
-
const
|
|
14013
|
-
(o) => class extends
|
|
14013
|
+
const ur = j(
|
|
14014
|
+
(o) => class extends sc(cr(ar(o))) {
|
|
14014
14015
|
/**
|
|
14015
14016
|
* An array of attributes which participate in the input validation.
|
|
14016
14017
|
* Changing these attributes will cause the input to re-validate.
|
|
@@ -14094,8 +14095,8 @@ const cr = j(
|
|
|
14094
14095
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14095
14096
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14096
14097
|
*/
|
|
14097
|
-
const
|
|
14098
|
-
nr(
|
|
14098
|
+
const rc = (o) => class extends qd(
|
|
14099
|
+
nr(ur(oc(Kd(It(o)))))
|
|
14099
14100
|
) {
|
|
14100
14101
|
static get properties() {
|
|
14101
14102
|
return {
|
|
@@ -14281,7 +14282,7 @@ const ru = (o) => class extends qd(
|
|
|
14281
14282
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14282
14283
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14283
14284
|
*/
|
|
14284
|
-
class
|
|
14285
|
+
class nc extends xe {
|
|
14285
14286
|
constructor(t, e, i = {}) {
|
|
14286
14287
|
const { uniqueIdPrefix: s } = i;
|
|
14287
14288
|
super(t, "input", "input", {
|
|
@@ -14298,7 +14299,7 @@ class nu extends xe {
|
|
|
14298
14299
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14299
14300
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14300
14301
|
*/
|
|
14301
|
-
class
|
|
14302
|
+
class ac {
|
|
14302
14303
|
constructor(t, e) {
|
|
14303
14304
|
this.input = t, this.__preventDuplicateLabelClick = this.__preventDuplicateLabelClick.bind(this), e.addEventListener("slot-content-changed", (i) => {
|
|
14304
14305
|
this.__initLabel(i.detail.node);
|
|
@@ -14331,7 +14332,7 @@ class au {
|
|
|
14331
14332
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14332
14333
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14333
14334
|
*/
|
|
14334
|
-
const
|
|
14335
|
+
const lc = k`
|
|
14335
14336
|
[part='clear-button'] {
|
|
14336
14337
|
display: none;
|
|
14337
14338
|
cursor: default;
|
|
@@ -14350,7 +14351,7 @@ const lu = k`
|
|
|
14350
14351
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14351
14352
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14352
14353
|
*/
|
|
14353
|
-
const
|
|
14354
|
+
const dc = k`
|
|
14354
14355
|
:host {
|
|
14355
14356
|
display: inline-flex;
|
|
14356
14357
|
outline: none;
|
|
@@ -14390,7 +14391,7 @@ const du = k`
|
|
|
14390
14391
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14391
14392
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14392
14393
|
*/
|
|
14393
|
-
const
|
|
14394
|
+
const cc = k`
|
|
14394
14395
|
[class$='container'] {
|
|
14395
14396
|
display: flex;
|
|
14396
14397
|
flex-direction: column;
|
|
@@ -14404,13 +14405,13 @@ const uu = k`
|
|
|
14404
14405
|
* Copyright (c) 2021 - 2024 Vaadin Ltd..
|
|
14405
14406
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14406
14407
|
*/
|
|
14407
|
-
const
|
|
14408
|
+
const uc = [dc, cc, lc];
|
|
14408
14409
|
/**
|
|
14409
14410
|
* @license
|
|
14410
14411
|
* Copyright (c) 2023 - 2024 Vaadin Ltd.
|
|
14411
14412
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14412
14413
|
*/
|
|
14413
|
-
const
|
|
14414
|
+
const hc = (o) => class extends o {
|
|
14414
14415
|
static get properties() {
|
|
14415
14416
|
return {
|
|
14416
14417
|
/**
|
|
@@ -14457,7 +14458,7 @@ const hu = (o) => class extends o {
|
|
|
14457
14458
|
* Copyright (c) 2021 - 2024 Vaadin Ltd.
|
|
14458
14459
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14459
14460
|
*/
|
|
14460
|
-
class
|
|
14461
|
+
class pc {
|
|
14461
14462
|
/**
|
|
14462
14463
|
* @param {{ inputElement?: HTMLElement; opened: boolean } & HTMLElement} host
|
|
14463
14464
|
*/
|
|
@@ -14476,8 +14477,8 @@ class pu {
|
|
|
14476
14477
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
14477
14478
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
14478
14479
|
*/
|
|
14479
|
-
const
|
|
14480
|
-
Ue(nr(
|
|
14480
|
+
const fc = (o) => class extends hc(
|
|
14481
|
+
Ue(nr(ur(It(o))))
|
|
14481
14482
|
) {
|
|
14482
14483
|
static get properties() {
|
|
14483
14484
|
return {
|
|
@@ -14844,7 +14845,7 @@ const fu = (o) => class extends hu(
|
|
|
14844
14845
|
* @protected
|
|
14845
14846
|
*/
|
|
14846
14847
|
_onFocus(e) {
|
|
14847
|
-
super._onFocus(e), this._noInput && !
|
|
14848
|
+
super._onFocus(e), this._noInput && !Oi() && e.target.blur();
|
|
14848
14849
|
}
|
|
14849
14850
|
/**
|
|
14850
14851
|
* Override an event listener from `DelegateFocusMixin`
|
|
@@ -14859,7 +14860,7 @@ const fu = (o) => class extends hu(
|
|
|
14859
14860
|
new rr(this._fullscreenMediaQuery, (i) => {
|
|
14860
14861
|
this._fullscreen = i;
|
|
14861
14862
|
})
|
|
14862
|
-
), this.addController(new
|
|
14863
|
+
), this.addController(new pc(this));
|
|
14863
14864
|
const e = this.$.overlay;
|
|
14864
14865
|
this._overlayElement = e, e.renderer = this._boundOverlayRenderer, this.addEventListener("mousedown", () => this.__bringToFront()), this.addEventListener("touchstart", () => this.__bringToFront());
|
|
14865
14866
|
}
|
|
@@ -15057,8 +15058,8 @@ const fu = (o) => class extends hu(
|
|
|
15057
15058
|
}
|
|
15058
15059
|
/** @private */
|
|
15059
15060
|
// eslint-disable-next-line @typescript-eslint/max-params
|
|
15060
|
-
__updateOverlayContent(e, i, s, r, n, a, l, d,
|
|
15061
|
-
e && (e.i18n = i, e.label = s, e.minDate = r, e.maxDate = n, e.focusedDate = a, e.selectedDate = l, e.showWeekNumbers = d, e.isDateDisabled =
|
|
15061
|
+
__updateOverlayContent(e, i, s, r, n, a, l, d, c) {
|
|
15062
|
+
e && (e.i18n = i, e.label = s, e.minDate = r, e.maxDate = n, e.focusedDate = a, e.selectedDate = l, e.showWeekNumbers = d, e.isDateDisabled = c);
|
|
15062
15063
|
}
|
|
15063
15064
|
/** @private */
|
|
15064
15065
|
__updateOverlayContentTheme(e, i) {
|
|
@@ -15249,7 +15250,7 @@ const fu = (o) => class extends hu(
|
|
|
15249
15250
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15250
15251
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15251
15252
|
*/
|
|
15252
|
-
const
|
|
15253
|
+
const mc = k`
|
|
15253
15254
|
:host([opened]) {
|
|
15254
15255
|
pointer-events: auto;
|
|
15255
15256
|
}
|
|
@@ -15268,8 +15269,8 @@ const mu = k`
|
|
|
15268
15269
|
* Copyright (c) 2016 - 2024 Vaadin Ltd.
|
|
15269
15270
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
15270
15271
|
*/
|
|
15271
|
-
B("vaadin-date-picker", [
|
|
15272
|
-
class
|
|
15272
|
+
B("vaadin-date-picker", [uc, mc], { moduleId: "vaadin-date-picker-styles" });
|
|
15273
|
+
class _c extends fc(rc(De(Us(ye)))) {
|
|
15273
15274
|
static get is() {
|
|
15274
15275
|
return "vaadin-date-picker";
|
|
15275
15276
|
}
|
|
@@ -15329,7 +15330,7 @@ class _u extends fu(ru(De(Us(ye)))) {
|
|
|
15329
15330
|
/** @protected */
|
|
15330
15331
|
ready() {
|
|
15331
15332
|
super.ready(), this.addController(
|
|
15332
|
-
new
|
|
15333
|
+
new nc(
|
|
15333
15334
|
this,
|
|
15334
15335
|
(e) => {
|
|
15335
15336
|
this._setInputElement(e), this._setFocusElement(e), this.stateTarget = e, this.ariaTarget = e;
|
|
@@ -15341,7 +15342,7 @@ class _u extends fu(ru(De(Us(ye)))) {
|
|
|
15341
15342
|
uniqueIdPrefix: "search-input"
|
|
15342
15343
|
}
|
|
15343
15344
|
)
|
|
15344
|
-
), this.addController(new
|
|
15345
|
+
), this.addController(new ac(this.inputElement, this._labelController)), this._tooltipController = new Ys(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));
|
|
15345
15346
|
}
|
|
15346
15347
|
/** @private */
|
|
15347
15348
|
_onVaadinOverlayClose(t) {
|
|
@@ -15357,7 +15358,7 @@ class _u extends fu(ru(De(Us(ye)))) {
|
|
|
15357
15358
|
super._openedChanged(t), this.$.overlay.positionTarget = this.shadowRoot.querySelector('[part="input-field"]'), this.$.overlay.noVerticalOverlap = !0;
|
|
15358
15359
|
}
|
|
15359
15360
|
}
|
|
15360
|
-
de(
|
|
15361
|
+
de(_c);
|
|
15361
15362
|
if (typeof window < "u") {
|
|
15362
15363
|
let o = function(t) {
|
|
15363
15364
|
return function(...e) {
|
|
@@ -15370,7 +15371,7 @@ if (typeof window < "u") {
|
|
|
15370
15371
|
}
|
|
15371
15372
|
};
|
|
15372
15373
|
};
|
|
15373
|
-
customElements.define = o(customElements.define), import("./PlayerAccountGeneralConfirmationModal-
|
|
15374
|
+
customElements.define = o(customElements.define), import("./PlayerAccountGeneralConfirmationModal-DamAh4bC.js").then((t) => t.P).then(
|
|
15374
15375
|
({ default: t }) => {
|
|
15375
15376
|
!customElements.get("player-account-general-confirmation-modal") && customElements.define(
|
|
15376
15377
|
"player-account-general-confirmation-modal",
|
|
@@ -15384,7 +15385,7 @@ var hr = { exports: {} };
|
|
|
15384
15385
|
(function(e, i) {
|
|
15385
15386
|
o.exports = i();
|
|
15386
15387
|
})(pr, function() {
|
|
15387
|
-
var e = 1e3, i = 6e4, s = 36e5, r = "millisecond", n = "second", a = "minute", l = "hour", d = "day",
|
|
15388
|
+
var e = 1e3, i = 6e4, s = 36e5, r = "millisecond", n = "second", a = "minute", l = "hour", d = "day", c = "week", u = "month", p = "quarter", m = "year", _ = "date", x = "Invalid Date", S = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, I = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, D = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(b) {
|
|
15388
15389
|
var h = ["th", "st", "nd", "rd"], f = b % 100;
|
|
15389
15390
|
return "[" + b + (h[(f - 20) % 10] || h[f] || h[0]) + "]";
|
|
15390
15391
|
} }, M = function(b, h, f) {
|
|
@@ -15396,18 +15397,18 @@ var hr = { exports: {} };
|
|
|
15396
15397
|
}, m: function b(h, f) {
|
|
15397
15398
|
if (h.date() < f.date())
|
|
15398
15399
|
return -b(f, h);
|
|
15399
|
-
var g = 12 * (f.year() - h.year()) + (f.month() - h.month()), y = h.clone().add(g,
|
|
15400
|
+
var g = 12 * (f.year() - h.year()) + (f.month() - h.month()), y = h.clone().add(g, u), C = f - y < 0, A = h.clone().add(g + (C ? -1 : 1), u);
|
|
15400
15401
|
return +(-(g + (f - y) / (C ? y - A : A - y)) || 0);
|
|
15401
15402
|
}, a: function(b) {
|
|
15402
15403
|
return b < 0 ? Math.ceil(b) || 0 : Math.floor(b);
|
|
15403
15404
|
}, p: function(b) {
|
|
15404
|
-
return { M:
|
|
15405
|
+
return { M: u, y: m, w: c, d, D: _, h: l, m: a, s: n, ms: r, Q: p }[b] || String(b || "").toLowerCase().replace(/s$/, "");
|
|
15405
15406
|
}, u: function(b) {
|
|
15406
15407
|
return b === void 0;
|
|
15407
15408
|
} }, L = "en", G = {};
|
|
15408
15409
|
G[L] = D;
|
|
15409
|
-
var
|
|
15410
|
-
return b instanceof H || !(!b || !b[
|
|
15410
|
+
var ce = "$isDayjsObject", ie = function(b) {
|
|
15411
|
+
return b instanceof H || !(!b || !b[ce]);
|
|
15411
15412
|
}, Q = function b(h, f, g) {
|
|
15412
15413
|
var y;
|
|
15413
15414
|
if (!h)
|
|
@@ -15434,7 +15435,7 @@ var hr = { exports: {} };
|
|
|
15434
15435
|
};
|
|
15435
15436
|
var H = function() {
|
|
15436
15437
|
function b(f) {
|
|
15437
|
-
this.$L = Q(f.locale, null, !0), this.parse(f), this.$x = this.$x || f.x || {}, this[
|
|
15438
|
+
this.$L = Q(f.locale, null, !0), this.parse(f), this.$x = this.$x || f.x || {}, this[ce] = !0;
|
|
15438
15439
|
}
|
|
15439
15440
|
var h = b.prototype;
|
|
15440
15441
|
return h.parse = function(f) {
|
|
@@ -15485,9 +15486,9 @@ var hr = { exports: {} };
|
|
|
15485
15486
|
switch (A) {
|
|
15486
15487
|
case m:
|
|
15487
15488
|
return C ? F(1, 0) : F(31, 11);
|
|
15488
|
-
case c:
|
|
15489
|
-
return C ? F(1, Y) : F(0, Y + 1);
|
|
15490
15489
|
case u:
|
|
15490
|
+
return C ? F(1, Y) : F(0, Y + 1);
|
|
15491
|
+
case c:
|
|
15491
15492
|
var J = this.$locale().weekStart || 0, fe = (U < J ? U + 7 : U) - J;
|
|
15492
15493
|
return F(C ? v - fe : v + (6 - fe), Y);
|
|
15493
15494
|
case d:
|
|
@@ -15505,8 +15506,8 @@ var hr = { exports: {} };
|
|
|
15505
15506
|
}, h.endOf = function(f) {
|
|
15506
15507
|
return this.startOf(f, !1);
|
|
15507
15508
|
}, h.$set = function(f, g) {
|
|
15508
|
-
var y, C = E.p(f), A = "set" + (this.$u ? "UTC" : ""), F = (y = {}, y[d] = A + "Date", y[_] = A + "Date", y[
|
|
15509
|
-
if (C ===
|
|
15509
|
+
var y, C = E.p(f), A = "set" + (this.$u ? "UTC" : ""), F = (y = {}, y[d] = A + "Date", y[_] = A + "Date", y[u] = A + "Month", y[m] = A + "FullYear", y[l] = A + "Hours", y[a] = A + "Minutes", y[n] = A + "Seconds", y[r] = A + "Milliseconds", y)[C], R = C === d ? this.$D + (g - this.$W) : g;
|
|
15510
|
+
if (C === u || C === m) {
|
|
15510
15511
|
var U = this.clone().set(_, 1);
|
|
15511
15512
|
U.$d[F](R), U.init(), this.$d = U.set(_, Math.min(this.$D, U.daysInMonth())).$d;
|
|
15512
15513
|
} else
|
|
@@ -15523,13 +15524,13 @@ var hr = { exports: {} };
|
|
|
15523
15524
|
var v = N(C);
|
|
15524
15525
|
return E.w(v.date(v.date() + Math.round(Y * f)), C);
|
|
15525
15526
|
};
|
|
15526
|
-
if (A ===
|
|
15527
|
-
return this.set(
|
|
15527
|
+
if (A === u)
|
|
15528
|
+
return this.set(u, this.$M + f);
|
|
15528
15529
|
if (A === m)
|
|
15529
15530
|
return this.set(m, this.$y + f);
|
|
15530
15531
|
if (A === d)
|
|
15531
15532
|
return F(1);
|
|
15532
|
-
if (A ===
|
|
15533
|
+
if (A === c)
|
|
15533
15534
|
return F(7);
|
|
15534
15535
|
var R = (y = {}, y[a] = i, y[l] = s, y[n] = e, y)[A] || 1, U = this.$d.getTime() + f * R;
|
|
15535
15536
|
return E.w(U, this);
|
|
@@ -15539,13 +15540,13 @@ var hr = { exports: {} };
|
|
|
15539
15540
|
var g = this, y = this.$locale();
|
|
15540
15541
|
if (!this.isValid())
|
|
15541
15542
|
return y.invalidDate || x;
|
|
15542
|
-
var C = f || "YYYY-MM-DDTHH:mm:ssZ", A = E.z(this), F = this.$H, R = this.$m, U = this.$M, Y = y.weekdays, v = y.months, ee = y.meridiem, J = function(X, me, je,
|
|
15543
|
-
return X && (X[me] || X(g, C)) || je[me].slice(0,
|
|
15543
|
+
var C = f || "YYYY-MM-DDTHH:mm:ssZ", A = E.z(this), F = this.$H, R = this.$m, U = this.$M, Y = y.weekdays, v = y.months, ee = y.meridiem, J = function(X, me, je, ct) {
|
|
15544
|
+
return X && (X[me] || X(g, C)) || je[me].slice(0, ct);
|
|
15544
15545
|
}, fe = function(X) {
|
|
15545
15546
|
return E.s(F % 12 || 12, X, "0");
|
|
15546
15547
|
}, oe = ee || function(X, me, je) {
|
|
15547
|
-
var
|
|
15548
|
-
return je ?
|
|
15548
|
+
var ct = X < 12 ? "AM" : "PM";
|
|
15549
|
+
return je ? ct.toLowerCase() : ct;
|
|
15549
15550
|
};
|
|
15550
15551
|
return C.replace(I, function(X, me) {
|
|
15551
15552
|
return me || function(je) {
|
|
@@ -15612,13 +15613,13 @@ var hr = { exports: {} };
|
|
|
15612
15613
|
case m:
|
|
15613
15614
|
C = v() / 12;
|
|
15614
15615
|
break;
|
|
15615
|
-
case
|
|
15616
|
+
case u:
|
|
15616
15617
|
C = v();
|
|
15617
15618
|
break;
|
|
15618
15619
|
case p:
|
|
15619
15620
|
C = v() / 3;
|
|
15620
15621
|
break;
|
|
15621
|
-
case
|
|
15622
|
+
case c:
|
|
15622
15623
|
C = (Y - U) / 6048e5;
|
|
15623
15624
|
break;
|
|
15624
15625
|
case d:
|
|
@@ -15638,7 +15639,7 @@ var hr = { exports: {} };
|
|
|
15638
15639
|
}
|
|
15639
15640
|
return y ? C : E.a(C);
|
|
15640
15641
|
}, h.daysInMonth = function() {
|
|
15641
|
-
return this.endOf(
|
|
15642
|
+
return this.endOf(u).$D;
|
|
15642
15643
|
}, h.$locale = function() {
|
|
15643
15644
|
return G[this.$L];
|
|
15644
15645
|
}, h.locale = function(f, g) {
|
|
@@ -15658,7 +15659,7 @@ var hr = { exports: {} };
|
|
|
15658
15659
|
return this.$d.toUTCString();
|
|
15659
15660
|
}, b;
|
|
15660
15661
|
}(), V = H.prototype;
|
|
15661
|
-
return N.prototype = V, [["$ms", r], ["$s", n], ["$m", a], ["$H", l], ["$W", d], ["$M",
|
|
15662
|
+
return N.prototype = V, [["$ms", r], ["$s", n], ["$m", a], ["$H", l], ["$W", d], ["$M", u], ["$y", m], ["$D", _]].forEach(function(b) {
|
|
15662
15663
|
V[b[1]] = function(h) {
|
|
15663
15664
|
return this.$g(h, b[0], b[1]);
|
|
15664
15665
|
};
|
|
@@ -15669,12 +15670,12 @@ var hr = { exports: {} };
|
|
|
15669
15670
|
}, N.en = G[L], N.Ls = G, N.p = {}, N;
|
|
15670
15671
|
});
|
|
15671
15672
|
})(hr);
|
|
15672
|
-
var
|
|
15673
|
-
const Lo = /* @__PURE__ */ fr(
|
|
15673
|
+
var gc = hr.exports;
|
|
15674
|
+
const Lo = /* @__PURE__ */ fr(gc);
|
|
15674
15675
|
function $o(o, t) {
|
|
15675
15676
|
mr(o, t);
|
|
15676
15677
|
}
|
|
15677
|
-
function
|
|
15678
|
+
function yc(o) {
|
|
15678
15679
|
_r.set(o);
|
|
15679
15680
|
}
|
|
15680
15681
|
const Ro = {
|
|
@@ -15888,14 +15889,14 @@ const Ro = {
|
|
|
15888
15889
|
confirmationModalTextUntilTimeout: "{date} tarihine kadar kendinizi soğutmak istediğinizden emin misiniz?"
|
|
15889
15890
|
}
|
|
15890
15891
|
};
|
|
15891
|
-
function
|
|
15892
|
+
function vc(o) {
|
|
15892
15893
|
wr(o, "svelte-u6jylo", `.TimeoutWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.TimeoutWrapper.TimeoutWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:20px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.TimeoutTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.TimeoutTitleMobile{font-size:16px}.TimeoutTitleNone{display:none}.TimeoutDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.TimeoutDescription.TimeoutDescriptionMobile{font-size:12px;line-height:18px}.TimeoutSelectWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;position:relative}.TimeoutSelectWrapper .TimeoutSelect{width:50%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF);border-radius:5px;box-sizing:border-box;padding:5px 10px;font-size:16px;line-height:18px;margin-bottom:16px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center}.TimeoutSelectWrapper .TimeoutSelect:focus,.TimeoutSelectWrapper .TimeoutSelect :focus-within,.TimeoutSelectWrapper .TimeoutSelect :focus-visible,.TimeoutSelectWrapper .TimeoutSelect :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.TimeoutSelectWrapper .TimeoutSelect.TimeoutSelectMobile{width:100%;height:36px;font-size:12px}.TimeoutDateWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.TimeoutDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.TimeoutDateWrapper .TimeoutDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.TimeoutActionButtons{display:grid;grid-column-gap:10px;grid-template-rows:auto;grid-template-columns:1fr;margin-top:20px;width:50%}.TimeoutActionButtons .TimeoutSave{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.TimeoutActionButtons.TimeoutActionButtonsMobile{width:100%;grid-template-columns:1fr}.TimeoutActionButtons.TimeoutActionButtonsMobile .TimeoutSave{height:40px;font-size:12px}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}`);
|
|
15893
15894
|
}
|
|
15894
15895
|
function Ho(o, t, e) {
|
|
15895
15896
|
const i = o.slice();
|
|
15896
15897
|
return i[39] = t[e].value, i;
|
|
15897
15898
|
}
|
|
15898
|
-
function
|
|
15899
|
+
function bc(o) {
|
|
15899
15900
|
let t, e, i, s = (
|
|
15900
15901
|
/*$_*/
|
|
15901
15902
|
o[17]("titleTimeout") + ""
|
|
@@ -15917,7 +15918,7 @@ function bu(o) {
|
|
|
15917
15918
|
)
|
|
15918
15919
|
}
|
|
15919
15920
|
}) + ""
|
|
15920
|
-
),
|
|
15921
|
+
), c, u, p = (
|
|
15921
15922
|
/*$_*/
|
|
15922
15923
|
o[17]("timeoutTextSecondary", {
|
|
15923
15924
|
values: {
|
|
@@ -15938,10 +15939,10 @@ function bu(o) {
|
|
|
15938
15939
|
), m, _, x, S, I, D, M, $ = (
|
|
15939
15940
|
/*$_*/
|
|
15940
15941
|
o[17]("save") + ""
|
|
15941
|
-
), L, G,
|
|
15942
|
+
), L, G, ce, ie, Q, N = (
|
|
15942
15943
|
/*isMobile*/
|
|
15943
|
-
o[18] &&
|
|
15944
|
-
), E =
|
|
15944
|
+
o[18] && xc(o)
|
|
15945
|
+
), E = Wi(
|
|
15945
15946
|
/*timeoutOptions*/
|
|
15946
15947
|
o[9]
|
|
15947
15948
|
), H = [];
|
|
@@ -15952,18 +15953,18 @@ function bu(o) {
|
|
|
15952
15953
|
o[11] && Vo(o)
|
|
15953
15954
|
), b = (
|
|
15954
15955
|
/*showConfirmationModal*/
|
|
15955
|
-
o[19] &&
|
|
15956
|
+
o[19] && Cc(o)
|
|
15956
15957
|
);
|
|
15957
15958
|
return {
|
|
15958
15959
|
c() {
|
|
15959
|
-
t = O("form"), N && N.c(), e = q(), i = O("h2"), r = Te(s), n = q(), a = O("div"), l = O("p"),
|
|
15960
|
+
t = O("form"), N && N.c(), e = q(), i = O("h2"), r = Te(s), n = q(), a = O("div"), l = O("p"), c = q(), u = O("p"), m = q(), _ = O("div"), x = O("select");
|
|
15960
15961
|
for (let h = 0; h < H.length; h += 1)
|
|
15961
15962
|
H[h].c();
|
|
15962
|
-
S = q(), V && V.c(), I = q(), D = O("div"), M = O("button"), L = Te($), G = q(), b && b.c(),
|
|
15963
|
+
S = q(), V && V.c(), I = q(), D = O("div"), M = O("button"), L = Te($), G = q(), b && b.c(), ce = Sr(), z(i, "class", "TimeoutTitle " + /*isMobile*/
|
|
15963
15964
|
(o[18] ? "TimeoutTitleNone" : "")), z(a, "class", "TimeoutDescription " + /*isMobile*/
|
|
15964
15965
|
(o[18] ? "TimeoutDescriptionMobile" : "")), z(x, "class", "TimeoutSelect " + /*isMobile*/
|
|
15965
15966
|
(o[18] ? "TimeoutSelectMobile" : "")), /*timeoutSelected*/
|
|
15966
|
-
o[10] === void 0 &&
|
|
15967
|
+
o[10] === void 0 && Pr(() => (
|
|
15967
15968
|
/*select_change_handler*/
|
|
15968
15969
|
o[27].call(x)
|
|
15969
15970
|
)), z(_, "class", "TimeoutSelectWrapper"), z(M, "class", "TimeoutSave"), z(D, "class", "TimeoutActionButtons " + /*isMobile*/
|
|
@@ -15971,15 +15972,15 @@ function bu(o) {
|
|
|
15971
15972
|
(o[18] ? "TimeoutWrapperMobile" : ""));
|
|
15972
15973
|
},
|
|
15973
15974
|
m(h, f) {
|
|
15974
|
-
|
|
15975
|
+
re(h, t, f), N && N.m(t, null), w(t, e), w(t, i), w(i, r), w(t, n), w(t, a), w(a, l), l.innerHTML = d, w(a, c), w(a, u), u.innerHTML = p, w(t, m), w(t, _), w(_, x);
|
|
15975
15976
|
for (let g = 0; g < H.length; g += 1)
|
|
15976
15977
|
H[g] && H[g].m(x, null);
|
|
15977
|
-
|
|
15978
|
+
qi(
|
|
15978
15979
|
x,
|
|
15979
15980
|
/*timeoutSelected*/
|
|
15980
15981
|
o[10],
|
|
15981
15982
|
!0
|
|
15982
|
-
), w(t, S), V && V.m(t, null), w(t, I), w(t, D), w(D, M), w(M, L),
|
|
15983
|
+
), w(t, S), V && V.m(t, null), w(t, I), w(t, D), w(D, M), w(M, L), re(h, G, f), b && b.m(h, f), re(h, ce, f), ie || (Q = [
|
|
15983
15984
|
_t(
|
|
15984
15985
|
x,
|
|
15985
15986
|
"change",
|
|
@@ -16039,10 +16040,10 @@ function bu(o) {
|
|
|
16039
16040
|
h[1]
|
|
16040
16041
|
)
|
|
16041
16042
|
}
|
|
16042
|
-
}) + "") && (
|
|
16043
|
+
}) + "") && (u.innerHTML = p), f[0] & /*timeoutOptions, $_*/
|
|
16043
16044
|
131584
|
|
16044
16045
|
) {
|
|
16045
|
-
E =
|
|
16046
|
+
E = Wi(
|
|
16046
16047
|
/*timeoutOptions*/
|
|
16047
16048
|
h[9]
|
|
16048
16049
|
);
|
|
@@ -16056,7 +16057,7 @@ function bu(o) {
|
|
|
16056
16057
|
H.length = E.length;
|
|
16057
16058
|
}
|
|
16058
16059
|
f[0] & /*timeoutSelected, timeoutOptions*/
|
|
16059
|
-
1536 &&
|
|
16060
|
+
1536 && qi(
|
|
16060
16061
|
x,
|
|
16061
16062
|
/*timeoutSelected*/
|
|
16062
16063
|
h[10]
|
|
@@ -16067,27 +16068,27 @@ function bu(o) {
|
|
|
16067
16068
|
h[19] && b.p(h, f);
|
|
16068
16069
|
},
|
|
16069
16070
|
d(h) {
|
|
16070
|
-
h && (
|
|
16071
|
+
h && (ne(t), ne(G), ne(ce)), N && N.d(), Or(H, h), V && V.d(), b && b.d(h), ie = !1, Mr(Q);
|
|
16071
16072
|
}
|
|
16072
16073
|
};
|
|
16073
16074
|
}
|
|
16074
|
-
function
|
|
16075
|
-
let t, e, i, s, r, n, a, l, d,
|
|
16075
|
+
function wc(o) {
|
|
16076
|
+
let t, e, i, s, r, n, a, l, d, c, u, p, m, _, x, S;
|
|
16076
16077
|
function I($, L) {
|
|
16077
16078
|
return (
|
|
16078
16079
|
/*isMobile*/
|
|
16079
|
-
$[18] ?
|
|
16080
|
+
$[18] ? Tc : Ac
|
|
16080
16081
|
);
|
|
16081
16082
|
}
|
|
16082
16083
|
let M = I(o)(o);
|
|
16083
16084
|
return {
|
|
16084
16085
|
c() {
|
|
16085
|
-
t = O("div"), M.c(), e = q(), i = O("div"), s = O("ui-skeleton"), r = q(), n = O("div"), a = q(), l = O("ui-skeleton"), d = q(),
|
|
16086
|
+
t = O("div"), M.c(), e = q(), i = O("div"), s = O("ui-skeleton"), r = q(), n = O("div"), a = q(), l = O("ui-skeleton"), d = q(), c = O("div"), u = q(), p = O("div"), m = O("ui-skeleton"), _ = q(), x = O("div"), S = O("ui-skeleton"), T(s, "structure", "text"), T(
|
|
16086
16087
|
s,
|
|
16087
16088
|
"height",
|
|
16088
16089
|
/*isMobile*/
|
|
16089
16090
|
o[18] ? "15px" : "20px"
|
|
16090
|
-
), T(s, "rows", "3"), T(s, "width", "100%"),
|
|
16091
|
+
), T(s, "rows", "3"), T(s, "width", "100%"), Ki(
|
|
16091
16092
|
n,
|
|
16092
16093
|
"height",
|
|
16093
16094
|
/*isMobile*/
|
|
@@ -16097,8 +16098,8 @@ function wu(o) {
|
|
|
16097
16098
|
"height",
|
|
16098
16099
|
/*isMobile*/
|
|
16099
16100
|
o[18] ? "15px" : "20px"
|
|
16100
|
-
), T(l, "rows", "3"), T(l, "width", "100%"),
|
|
16101
|
-
|
|
16101
|
+
), T(l, "rows", "3"), T(l, "width", "100%"), Ki(
|
|
16102
|
+
c,
|
|
16102
16103
|
"height",
|
|
16103
16104
|
/*isMobile*/
|
|
16104
16105
|
o[18] ? "10px" : "30px"
|
|
@@ -16122,25 +16123,25 @@ function wu(o) {
|
|
|
16122
16123
|
(o[18] ? "TimeoutWrapperMobile" : ""));
|
|
16123
16124
|
},
|
|
16124
16125
|
m($, L) {
|
|
16125
|
-
|
|
16126
|
+
re($, t, L), M.m(t, null), w(t, e), w(t, i), w(i, s), w(i, r), w(i, n), w(i, a), w(i, l), w(i, d), w(i, c), w(t, u), w(t, p), w(p, m), w(t, _), w(t, x), w(x, S);
|
|
16126
16127
|
},
|
|
16127
16128
|
p: Gt,
|
|
16128
16129
|
d($) {
|
|
16129
|
-
$ &&
|
|
16130
|
+
$ && ne(t), M.d();
|
|
16130
16131
|
}
|
|
16131
16132
|
};
|
|
16132
16133
|
}
|
|
16133
|
-
function
|
|
16134
|
-
let t, e, i, s, r, n, a, l, d,
|
|
16134
|
+
function xc(o) {
|
|
16135
|
+
let t, e, i, s, r, n, a, l, d, c, u = (
|
|
16135
16136
|
/*$_*/
|
|
16136
16137
|
o[17]("titleTimeout") + ""
|
|
16137
16138
|
), p, m, _;
|
|
16138
16139
|
return {
|
|
16139
16140
|
c() {
|
|
16140
|
-
t = O("div"), e = Pe("svg"), i = Pe("defs"), s = Pe("style"), r = Te(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), n = Pe("g"), a = Pe("g"), l = Pe("path"), d = q(),
|
|
16141
|
+
t = O("div"), e = Pe("svg"), i = Pe("defs"), s = Pe("style"), r = Te(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), n = Pe("g"), a = Pe("g"), l = Pe("path"), d = q(), c = O("h2"), p = Te(u), z(l, "class", "aaa"), z(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), z(l, "transform", "translate(15 15) rotate(180)"), z(a, "transform", "translate(20 158)"), z(n, "transform", "translate(-20 -158)"), z(e, "xmlns", "http://www.w3.org/2000/svg"), z(e, "width", "15"), z(e, "height", "15"), z(e, "viewBox", "0 0 15 15"), z(c, "class", "TimeoutTitleMobile"), z(c, "part", "TimeoutTitleMobile"), z(t, "class", "MenuReturnButton"), z(t, "part", "MenuReturnButton");
|
|
16141
16142
|
},
|
|
16142
16143
|
m(x, S) {
|
|
16143
|
-
|
|
16144
|
+
re(x, t, S), w(t, e), w(e, i), w(i, s), w(s, r), w(e, n), w(n, a), w(a, l), w(t, d), w(t, c), w(c, p), m || (_ = _t(
|
|
16144
16145
|
t,
|
|
16145
16146
|
"click",
|
|
16146
16147
|
/*click_handler*/
|
|
@@ -16149,11 +16150,11 @@ function xu(o) {
|
|
|
16149
16150
|
},
|
|
16150
16151
|
p(x, S) {
|
|
16151
16152
|
S[0] & /*$_*/
|
|
16152
|
-
131072 &&
|
|
16153
|
-
x[17]("titleTimeout") + "") && Le(p,
|
|
16153
|
+
131072 && u !== (u = /*$_*/
|
|
16154
|
+
x[17]("titleTimeout") + "") && Le(p, u);
|
|
16154
16155
|
},
|
|
16155
16156
|
d(x) {
|
|
16156
|
-
x &&
|
|
16157
|
+
x && ne(t), m = !1, _();
|
|
16157
16158
|
}
|
|
16158
16159
|
};
|
|
16159
16160
|
}
|
|
@@ -16171,7 +16172,7 @@ function Bo(o) {
|
|
|
16171
16172
|
o[39], Gi(t, t.__value);
|
|
16172
16173
|
},
|
|
16173
16174
|
m(r, n) {
|
|
16174
|
-
|
|
16175
|
+
re(r, t, n), w(t, i);
|
|
16175
16176
|
},
|
|
16176
16177
|
p(r, n) {
|
|
16177
16178
|
n[0] & /*$_, timeoutOptions*/
|
|
@@ -16184,7 +16185,7 @@ function Bo(o) {
|
|
|
16184
16185
|
r[39]) && (t.__value = s, Gi(t, t.__value));
|
|
16185
16186
|
},
|
|
16186
16187
|
d(r) {
|
|
16187
|
-
r &&
|
|
16188
|
+
r && ne(t);
|
|
16188
16189
|
}
|
|
16189
16190
|
};
|
|
16190
16191
|
}
|
|
@@ -16195,10 +16196,10 @@ function Vo(o) {
|
|
|
16195
16196
|
), s, r, n, a = (
|
|
16196
16197
|
/*$_*/
|
|
16197
16198
|
o[17]("dateInstructions") + ""
|
|
16198
|
-
), l, d,
|
|
16199
|
+
), l, d, c, u, p;
|
|
16199
16200
|
return {
|
|
16200
16201
|
c() {
|
|
16201
|
-
t = O("div"), e = O("label"), s = Te(i), r = q(), n = O("span"), l = Te(a), d = q(),
|
|
16202
|
+
t = O("div"), e = O("label"), s = Te(i), r = q(), n = O("span"), l = Te(a), d = q(), c = O("strong"), c.innerHTML = "MM/DD/YYYY<strong></strong>", u = q(), p = O("vaadin-date-picker"), z(e, "for", "TimeoutDate"), z(n, "class", "TimeoutDateInstructions"), T(
|
|
16202
16203
|
p,
|
|
16203
16204
|
"min",
|
|
16204
16205
|
/*minDate*/
|
|
@@ -16217,7 +16218,7 @@ function Vo(o) {
|
|
|
16217
16218
|
(o[18] ? "TimeoutDateWrapperMobile" : ""));
|
|
16218
16219
|
},
|
|
16219
16220
|
m(m, _) {
|
|
16220
|
-
|
|
16221
|
+
re(m, t, _), w(t, e), w(e, s), w(t, r), w(t, n), w(n, l), w(n, d), w(n, c), w(t, u), w(t, p), o[28](p);
|
|
16221
16222
|
},
|
|
16222
16223
|
p(m, _) {
|
|
16223
16224
|
_[0] & /*$_*/
|
|
@@ -16245,11 +16246,11 @@ function Vo(o) {
|
|
|
16245
16246
|
);
|
|
16246
16247
|
},
|
|
16247
16248
|
d(m) {
|
|
16248
|
-
m &&
|
|
16249
|
+
m && ne(t), o[28](null);
|
|
16249
16250
|
}
|
|
16250
16251
|
};
|
|
16251
16252
|
}
|
|
16252
|
-
function
|
|
16253
|
+
function Cc(o) {
|
|
16253
16254
|
let t, e, i, s;
|
|
16254
16255
|
return {
|
|
16255
16256
|
c() {
|
|
@@ -16297,7 +16298,7 @@ function Cu(o) {
|
|
|
16297
16298
|
), T(t, "showmodaleventname", "ShowTimeoutConfirmationModal");
|
|
16298
16299
|
},
|
|
16299
16300
|
m(r, n) {
|
|
16300
|
-
|
|
16301
|
+
re(r, t, n), w(t, e);
|
|
16301
16302
|
},
|
|
16302
16303
|
p(r, n) {
|
|
16303
16304
|
n[0] & /*$_*/
|
|
@@ -16352,44 +16353,44 @@ function Cu(o) {
|
|
|
16352
16353
|
);
|
|
16353
16354
|
},
|
|
16354
16355
|
d(r) {
|
|
16355
|
-
r &&
|
|
16356
|
+
r && ne(t);
|
|
16356
16357
|
}
|
|
16357
16358
|
};
|
|
16358
16359
|
}
|
|
16359
|
-
function
|
|
16360
|
+
function Ac(o) {
|
|
16360
16361
|
let t;
|
|
16361
16362
|
return {
|
|
16362
16363
|
c() {
|
|
16363
16364
|
t = O("ui-skeleton"), T(t, "structure", "title"), T(t, "width", "100px"), T(t, "margin-top", "20px"), T(t, "margin-bottom", "20px");
|
|
16364
16365
|
},
|
|
16365
16366
|
m(e, i) {
|
|
16366
|
-
|
|
16367
|
+
re(e, t, i);
|
|
16367
16368
|
},
|
|
16368
16369
|
d(e) {
|
|
16369
|
-
e &&
|
|
16370
|
+
e && ne(t);
|
|
16370
16371
|
}
|
|
16371
16372
|
};
|
|
16372
16373
|
}
|
|
16373
|
-
function
|
|
16374
|
+
function Tc(o) {
|
|
16374
16375
|
let t;
|
|
16375
16376
|
return {
|
|
16376
16377
|
c() {
|
|
16377
16378
|
t = O("div"), t.innerHTML = '<ui-skeleton structure="title" width="20px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton> <ui-skeleton structure="title" width="100px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton>', z(t, "class", "MenuReturnButton");
|
|
16378
16379
|
},
|
|
16379
16380
|
m(e, i) {
|
|
16380
|
-
|
|
16381
|
+
re(e, t, i);
|
|
16381
16382
|
},
|
|
16382
16383
|
d(e) {
|
|
16383
|
-
e &&
|
|
16384
|
+
e && ne(t);
|
|
16384
16385
|
}
|
|
16385
16386
|
};
|
|
16386
16387
|
}
|
|
16387
|
-
function
|
|
16388
|
+
function Ec(o) {
|
|
16388
16389
|
let t;
|
|
16389
16390
|
function e(r, n) {
|
|
16390
16391
|
return (
|
|
16391
16392
|
/*skeletonLoading*/
|
|
16392
|
-
r[16] ?
|
|
16393
|
+
r[16] ? wc : bc
|
|
16393
16394
|
);
|
|
16394
16395
|
}
|
|
16395
16396
|
let i = e(o), s = i(o);
|
|
@@ -16398,7 +16399,7 @@ function Eu(o) {
|
|
|
16398
16399
|
t = O("div"), s.c();
|
|
16399
16400
|
},
|
|
16400
16401
|
m(r, n) {
|
|
16401
|
-
|
|
16402
|
+
re(r, t, n), s.m(t, null), o[30](t);
|
|
16402
16403
|
},
|
|
16403
16404
|
p(r, n) {
|
|
16404
16405
|
i === (i = e(r)) && s ? s.p(r, n) : (s.d(1), s = i(r), s && (s.c(), s.m(t, null)));
|
|
@@ -16406,14 +16407,14 @@ function Eu(o) {
|
|
|
16406
16407
|
i: Gt,
|
|
16407
16408
|
o: Gt,
|
|
16408
16409
|
d(r) {
|
|
16409
|
-
r &&
|
|
16410
|
+
r && ne(t), s.d(), o[30](null);
|
|
16410
16411
|
}
|
|
16411
16412
|
};
|
|
16412
16413
|
}
|
|
16413
|
-
function
|
|
16414
|
+
function Dc(o, t, e) {
|
|
16414
16415
|
let i;
|
|
16415
|
-
xr(o,
|
|
16416
|
-
let { operator: s = "Everymatrix" } = t, { lang: r = "en" } = t, { clientstyling: n = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: l } = t, { translationurl: d = "" } = t, { supportemail:
|
|
16416
|
+
xr(o, Ir, (v) => e(17, i = v));
|
|
16417
|
+
let { operator: s = "Everymatrix" } = t, { lang: r = "en" } = t, { clientstyling: n = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: l } = t, { translationurl: d = "" } = t, { supportemail: c = "" } = t, { endpoint: u = "" } = t, { baseurl: p = "" } = t, { hasconfirmationmodal: m = "false" } = t, _, x, S = window.navigator.userAgent, I = Cr(S) !== "PC", D = [
|
|
16417
16418
|
{
|
|
16418
16419
|
value: "CoolOffFor24Hours",
|
|
16419
16420
|
dateSelector: !1
|
|
@@ -16430,7 +16431,7 @@ function Du(o, t, e) {
|
|
|
16430
16431
|
value: "CoolOffFor3Months",
|
|
16431
16432
|
dateSelector: !1
|
|
16432
16433
|
}
|
|
16433
|
-
], M = D[0].value, $ = !1, L = "", G,
|
|
16434
|
+
], M = D[0].value, $ = !1, L = "", G, ce, ie = "", Q = m === "true", N = !0;
|
|
16434
16435
|
const E = () => {
|
|
16435
16436
|
fetch(d).then((v) => v.json()).then((v) => {
|
|
16436
16437
|
Object.keys(v).forEach((ee) => {
|
|
@@ -16444,7 +16445,7 @@ function Du(o, t, e) {
|
|
|
16444
16445
|
$o(v, Ro[v]);
|
|
16445
16446
|
});
|
|
16446
16447
|
const H = () => {
|
|
16447
|
-
const v = new URL("/v1/player/coolOffSettings",
|
|
16448
|
+
const v = new URL("/v1/player/coolOffSettings", u), ee = { method: "GET" };
|
|
16448
16449
|
fetch(v.href, ee).then((J) => {
|
|
16449
16450
|
if (!J.ok)
|
|
16450
16451
|
throw new Error("There was an error while fetching the configuration");
|
|
@@ -16485,10 +16486,10 @@ function Du(o, t, e) {
|
|
|
16485
16486
|
window.location.href
|
|
16486
16487
|
);
|
|
16487
16488
|
}, f = () => {
|
|
16488
|
-
|
|
16489
|
+
yc(r), H();
|
|
16489
16490
|
}, g = () => {
|
|
16490
16491
|
const v = D.find((ee) => ee.value === M);
|
|
16491
|
-
e(11, $ = !1), v.dateSelector && (e(11, $ = !0), e(13, G = Lo().format("YYYY-MM-DD")), e(14,
|
|
16492
|
+
e(11, $ = !1), v.dateSelector && (e(11, $ = !0), e(13, G = Lo().format("YYYY-MM-DD")), e(14, ce = Lo().add(6, "months").format("YYYY-MM-DD")), e(12, L = G)), Q && V();
|
|
16492
16493
|
}, y = (v) => {
|
|
16493
16494
|
e(12, L = v.target.value);
|
|
16494
16495
|
}, C = () => {
|
|
@@ -16499,7 +16500,7 @@ function Du(o, t, e) {
|
|
|
16499
16500
|
});
|
|
16500
16501
|
const A = () => h();
|
|
16501
16502
|
function F() {
|
|
16502
|
-
M =
|
|
16503
|
+
M = Er(this), e(10, M), e(9, D);
|
|
16503
16504
|
}
|
|
16504
16505
|
function R(v) {
|
|
16505
16506
|
Yi[v ? "unshift" : "push"](() => {
|
|
@@ -16513,14 +16514,14 @@ function Du(o, t, e) {
|
|
|
16513
16514
|
});
|
|
16514
16515
|
}
|
|
16515
16516
|
return o.$$set = (v) => {
|
|
16516
|
-
"operator" in v && e(0, s = v.operator), "lang" in v && e(1, r = v.lang), "clientstyling" in v && e(2, n = v.clientstyling), "clientstylingurl" in v && e(3, a = v.clientstylingurl), "mbsource" in v && e(4, l = v.mbsource), "translationurl" in v && e(23, d = v.translationurl), "supportemail" in v && e(5,
|
|
16517
|
+
"operator" in v && e(0, s = v.operator), "lang" in v && e(1, r = v.lang), "clientstyling" in v && e(2, n = v.clientstyling), "clientstylingurl" in v && e(3, a = v.clientstylingurl), "mbsource" in v && e(4, l = v.mbsource), "translationurl" in v && e(23, d = v.translationurl), "supportemail" in v && e(5, c = v.supportemail), "endpoint" in v && e(24, u = v.endpoint), "baseurl" in v && e(6, p = v.baseurl), "hasconfirmationmodal" in v && e(25, m = v.hasconfirmationmodal);
|
|
16517
16518
|
}, o.$$.update = () => {
|
|
16518
16519
|
o.$$.dirty[0] & /*calendar*/
|
|
16519
16520
|
256 && x && C(), o.$$.dirty[0] & /*lang*/
|
|
16520
16521
|
2 && r && f(), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
16521
|
-
132 && n && _ &&
|
|
16522
|
-
136 && a && _ &&
|
|
16523
|
-
144 && l && _ &&
|
|
16522
|
+
132 && n && _ && Dr(_, n), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
16523
|
+
136 && a && _ && kr(_, a), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
16524
|
+
144 && l && _ && Tr(_, `${l}.Style`), o.$$.dirty[0] & /*translationurl*/
|
|
16524
16525
|
8388608 && d && E();
|
|
16525
16526
|
}, Q && V(), [
|
|
16526
16527
|
s,
|
|
@@ -16528,7 +16529,7 @@ function Du(o, t, e) {
|
|
|
16528
16529
|
n,
|
|
16529
16530
|
a,
|
|
16530
16531
|
l,
|
|
16531
|
-
|
|
16532
|
+
c,
|
|
16532
16533
|
p,
|
|
16533
16534
|
_,
|
|
16534
16535
|
x,
|
|
@@ -16537,7 +16538,7 @@ function Du(o, t, e) {
|
|
|
16537
16538
|
$,
|
|
16538
16539
|
L,
|
|
16539
16540
|
G,
|
|
16540
|
-
|
|
16541
|
+
ce,
|
|
16541
16542
|
ie,
|
|
16542
16543
|
N,
|
|
16543
16544
|
i,
|
|
@@ -16547,7 +16548,7 @@ function Du(o, t, e) {
|
|
|
16547
16548
|
h,
|
|
16548
16549
|
g,
|
|
16549
16550
|
d,
|
|
16550
|
-
|
|
16551
|
+
u,
|
|
16551
16552
|
m,
|
|
16552
16553
|
A,
|
|
16553
16554
|
F,
|
|
@@ -16556,13 +16557,13 @@ function Du(o, t, e) {
|
|
|
16556
16557
|
Y
|
|
16557
16558
|
];
|
|
16558
16559
|
}
|
|
16559
|
-
class
|
|
16560
|
+
class kc extends yr {
|
|
16560
16561
|
constructor(t) {
|
|
16561
16562
|
super(), vr(
|
|
16562
16563
|
this,
|
|
16563
16564
|
t,
|
|
16564
|
-
|
|
16565
|
-
|
|
16565
|
+
Dc,
|
|
16566
|
+
Ec,
|
|
16566
16567
|
br,
|
|
16567
16568
|
{
|
|
16568
16569
|
operator: 0,
|
|
@@ -16576,7 +16577,7 @@ class ku extends yr {
|
|
|
16576
16577
|
baseurl: 6,
|
|
16577
16578
|
hasconfirmationmodal: 25
|
|
16578
16579
|
},
|
|
16579
|
-
|
|
16580
|
+
vc,
|
|
16580
16581
|
[-1, -1]
|
|
16581
16582
|
);
|
|
16582
16583
|
}
|
|
@@ -16641,7 +16642,7 @@ class ku extends yr {
|
|
|
16641
16642
|
this.$$set({ hasconfirmationmodal: t }), ae();
|
|
16642
16643
|
}
|
|
16643
16644
|
}
|
|
16644
|
-
gr(
|
|
16645
|
+
gr(kc, { operator: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, supportemail: {}, endpoint: {}, baseurl: {}, hasconfirmationmodal: {} }, [], [], !0);
|
|
16645
16646
|
export {
|
|
16646
|
-
|
|
16647
|
+
kc as P
|
|
16647
16648
|
};
|