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