From 2714d3c0288a34fd01c58b0c4f697303fc87a2a2 Mon Sep 17 00:00:00 2001 From: David Date: Sun, 25 Aug 2024 08:25:39 -0800 Subject: [PATCH] Use npm version of lit --- dist/ha-teamtracker-card.js | 1304 ++++++++++--------------------- dist/ha-teamtracker-card.js.map | 2 +- package-lock.json | 55 ++ package.json | 7 +- src/card_editor.js | 2 +- src/lit/lit-all.min.js | 120 --- src/lit/lit-all.min.js.map | 1 - src/render_bye.js | 2 +- src/render_error.js | 2 +- src/render_in.js | 3 +- src/render_not_found.js | 2 +- src/render_post.js | 3 +- src/render_pre.js | 3 +- src/styles.js | 2 +- src/teamtracker_card.js | 2 +- 15 files changed, 477 insertions(+), 1033 deletions(-) delete mode 100644 src/lit/lit-all.min.js delete mode 100644 src/lit/lit-all.min.js.map diff --git a/dist/ha-teamtracker-card.js b/dist/ha-teamtracker-card.js index f613c67..9077e3e 100644 --- a/dist/ha-teamtracker-card.js +++ b/dist/ha-teamtracker-card.js @@ -13,18 +13,18 @@ let $4fcaa3c95ba349ea$export$607dc1951b62972e = "https://cdn-icons-png.freepik.c * @license * Copyright 2019 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */ const $bd101b5e047d4d04$var$tt = globalThis, $bd101b5e047d4d04$export$b4d10f6001c083c2 = $bd101b5e047d4d04$var$tt.ShadowRoot && (void 0 === $bd101b5e047d4d04$var$tt.ShadyCSS || $bd101b5e047d4d04$var$tt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, $bd101b5e047d4d04$var$it = Symbol(), $bd101b5e047d4d04$var$et = new WeakMap; -class $bd101b5e047d4d04$export$505d1e8739bad805 { - constructor(t, s, i){ - if (this._$cssResult$ = !0, i !== $bd101b5e047d4d04$var$it) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead."); - this.cssText = t, this.t = s; + */ const $def2de46b9306e8a$var$t = globalThis, $def2de46b9306e8a$export$b4d10f6001c083c2 = $def2de46b9306e8a$var$t.ShadowRoot && (void 0 === $def2de46b9306e8a$var$t.ShadyCSS || $def2de46b9306e8a$var$t.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, $def2de46b9306e8a$var$s = Symbol(), $def2de46b9306e8a$var$o = new WeakMap; +class $def2de46b9306e8a$export$505d1e8739bad805 { + constructor(t, e, o){ + if (this._$cssResult$ = !0, o !== $def2de46b9306e8a$var$s) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead."); + this.cssText = t, this.t = e; } get styleSheet() { - let t = this.i; + let t = this.o; const s = this.t; - if ($bd101b5e047d4d04$export$b4d10f6001c083c2 && void 0 === t) { - const i = void 0 !== s && 1 === s.length; - i && (t = $bd101b5e047d4d04$var$et.get(s)), void 0 === t && ((this.i = t = new CSSStyleSheet).replaceSync(this.cssText), i && $bd101b5e047d4d04$var$et.set(s, t)); + if ($def2de46b9306e8a$export$b4d10f6001c083c2 && void 0 === t) { + const e = void 0 !== s && 1 === s.length; + e && (t = $def2de46b9306e8a$var$o.get(s)), void 0 === t && ((this.o = t = new CSSStyleSheet).replaceSync(this.cssText), e && $def2de46b9306e8a$var$o.set(s, t)); } return t; } @@ -32,28 +32,35 @@ class $bd101b5e047d4d04$export$505d1e8739bad805 { return this.cssText; } } -const $bd101b5e047d4d04$export$8d80f9cac07cdb3 = (t)=>new $bd101b5e047d4d04$export$505d1e8739bad805("string" == typeof t ? t : t + "", void 0, $bd101b5e047d4d04$var$it), $bd101b5e047d4d04$export$dbf350e5966cf602 = (t, ...s)=>{ - const i = 1 === t.length ? t[0] : s.reduce((s, i, e)=>s + ((t)=>{ +const $def2de46b9306e8a$export$8d80f9cac07cdb3 = (t)=>new $def2de46b9306e8a$export$505d1e8739bad805("string" == typeof t ? t : t + "", void 0, $def2de46b9306e8a$var$s), $def2de46b9306e8a$export$dbf350e5966cf602 = (t, ...e)=>{ + const o = 1 === t.length ? t[0] : e.reduce((e, s, o)=>e + ((t)=>{ if (!0 === t._$cssResult$) return t.cssText; if ("number" == typeof t) return t; throw Error("Value passed to 'css' function must be a 'css' function result: " + t + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security."); - })(i) + t[e + 1], t[0]); - return new $bd101b5e047d4d04$export$505d1e8739bad805(i, t, $bd101b5e047d4d04$var$it); -}, $bd101b5e047d4d04$export$2ca4a66ec4cecb90 = (t, s)=>{ - if ($bd101b5e047d4d04$export$b4d10f6001c083c2) t.adoptedStyleSheets = s.map((t)=>t instanceof CSSStyleSheet ? t : t.styleSheet); - else for (const i of s){ - const s = document.createElement("style"), e = $bd101b5e047d4d04$var$tt.litNonce; - void 0 !== e && s.setAttribute("nonce", e), s.textContent = i.cssText, t.appendChild(s); - } -}, $bd101b5e047d4d04$export$ee69dfd951e24778 = $bd101b5e047d4d04$export$b4d10f6001c083c2 ? (t)=>t : (t)=>t instanceof CSSStyleSheet ? ((t)=>{ - let s = ""; - for (const i of t.cssRules)s += i.cssText; - return $bd101b5e047d4d04$export$8d80f9cac07cdb3(s); - })(t) : t, { is: $bd101b5e047d4d04$var$at, defineProperty: $bd101b5e047d4d04$var$lt, getOwnPropertyDescriptor: $bd101b5e047d4d04$var$ut, getOwnPropertyNames: $bd101b5e047d4d04$var$dt, getOwnPropertySymbols: $bd101b5e047d4d04$var$ft, getPrototypeOf: $bd101b5e047d4d04$var$pt } = Object, $bd101b5e047d4d04$var$vt = globalThis, $bd101b5e047d4d04$var$mt = $bd101b5e047d4d04$var$vt.trustedTypes, $bd101b5e047d4d04$var$yt = $bd101b5e047d4d04$var$mt ? $bd101b5e047d4d04$var$mt.emptyScript : "", $bd101b5e047d4d04$var$gt = $bd101b5e047d4d04$var$vt.reactiveElementPolyfillSupport, $bd101b5e047d4d04$var$_t = (t, s)=>t, $bd101b5e047d4d04$export$7312b35fbf521afb = { + })(s) + t[o + 1], t[0]); + return new $def2de46b9306e8a$export$505d1e8739bad805(o, t, $def2de46b9306e8a$var$s); +}, $def2de46b9306e8a$export$2ca4a66ec4cecb90 = (s, o)=>{ + if ($def2de46b9306e8a$export$b4d10f6001c083c2) s.adoptedStyleSheets = o.map((t)=>t instanceof CSSStyleSheet ? t : t.styleSheet); + else for (const e of o){ + const o = document.createElement("style"), n = $def2de46b9306e8a$var$t.litNonce; + void 0 !== n && o.setAttribute("nonce", n), o.textContent = e.cssText, s.appendChild(o); + } +}, $def2de46b9306e8a$export$ee69dfd951e24778 = $def2de46b9306e8a$export$b4d10f6001c083c2 ? (t)=>t : (t)=>t instanceof CSSStyleSheet ? ((t)=>{ + let e = ""; + for (const s of t.cssRules)e += s.cssText; + return $def2de46b9306e8a$export$8d80f9cac07cdb3(e); + })(t) : t; + + +/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */ const { is: $19fe8e3abedf4df0$var$i, defineProperty: $19fe8e3abedf4df0$var$e, getOwnPropertyDescriptor: $19fe8e3abedf4df0$var$r, getOwnPropertyNames: $19fe8e3abedf4df0$var$h, getOwnPropertySymbols: $19fe8e3abedf4df0$var$o, getPrototypeOf: $19fe8e3abedf4df0$var$n } = Object, $19fe8e3abedf4df0$var$a = globalThis, $19fe8e3abedf4df0$var$c = $19fe8e3abedf4df0$var$a.trustedTypes, $19fe8e3abedf4df0$var$l = $19fe8e3abedf4df0$var$c ? $19fe8e3abedf4df0$var$c.emptyScript : "", $19fe8e3abedf4df0$var$p = $19fe8e3abedf4df0$var$a.reactiveElementPolyfillSupport, $19fe8e3abedf4df0$var$d = (t, s)=>t, $19fe8e3abedf4df0$export$7312b35fbf521afb = { toAttribute (t, s) { switch(s){ case Boolean: - t = t ? $bd101b5e047d4d04$var$yt : null; + t = t ? $19fe8e3abedf4df0$var$l : null; break; case Object: case Array: @@ -80,31 +87,31 @@ const $bd101b5e047d4d04$export$8d80f9cac07cdb3 = (t)=>new $bd101b5e047d4d04$expo } return i; } -}, $bd101b5e047d4d04$export$53a6892c50694894 = (t, s)=>!$bd101b5e047d4d04$var$at(t, s), $bd101b5e047d4d04$var$wt = { +}, $19fe8e3abedf4df0$export$53a6892c50694894 = (t, s)=>!$19fe8e3abedf4df0$var$i(t, s), $19fe8e3abedf4df0$var$y = { attribute: !0, type: String, - converter: $bd101b5e047d4d04$export$7312b35fbf521afb, + converter: $19fe8e3abedf4df0$export$7312b35fbf521afb, reflect: !1, - hasChanged: $bd101b5e047d4d04$export$53a6892c50694894 + hasChanged: $19fe8e3abedf4df0$export$53a6892c50694894 }; -Symbol.metadata ??= Symbol("metadata"), $bd101b5e047d4d04$var$vt.litPropertyMetadata ??= new WeakMap; -class $bd101b5e047d4d04$export$c7c07a37856565d extends HTMLElement { +Symbol.metadata ??= Symbol("metadata"), $19fe8e3abedf4df0$var$a.litPropertyMetadata ??= new WeakMap; +class $19fe8e3abedf4df0$export$c7c07a37856565d extends HTMLElement { static addInitializer(t) { - this.o(), (this.l ??= []).push(t); + this._$Ei(), (this.l ??= []).push(t); } static get observedAttributes() { - return this.finalize(), this.u && [ - ...this.u.keys() + return this.finalize(), this._$Eh && [ + ...this._$Eh.keys() ]; } - static createProperty(t, s = $bd101b5e047d4d04$var$wt) { - if (s.state && (s.attribute = !1), this.o(), this.elementProperties.set(t, s), !s.noAccessor) { - const i = Symbol(), e = this.getPropertyDescriptor(t, i, s); - void 0 !== e && $bd101b5e047d4d04$var$lt(this.prototype, t, e); + static createProperty(t, s = $19fe8e3abedf4df0$var$y) { + if (s.state && (s.attribute = !1), this._$Ei(), this.elementProperties.set(t, s), !s.noAccessor) { + const i = Symbol(), r = this.getPropertyDescriptor(t, i, s); + void 0 !== r && $19fe8e3abedf4df0$var$e(this.prototype, t, r); } } static getPropertyDescriptor(t, s, i) { - const { get: e, set: n } = $bd101b5e047d4d04$var$ut(this.prototype, t) ?? { + const { get: e, set: h } = $19fe8e3abedf4df0$var$r(this.prototype, t) ?? { get () { return this[s]; }, @@ -118,28 +125,28 @@ class $bd101b5e047d4d04$export$c7c07a37856565d extends HTMLElement { }, set (s) { const r = e?.call(this); - n.call(this, s), this.requestUpdate(t, r, i); + h.call(this, s), this.requestUpdate(t, r, i); }, configurable: !0, enumerable: !0 }; } static getPropertyOptions(t) { - return this.elementProperties.get(t) ?? $bd101b5e047d4d04$var$wt; + return this.elementProperties.get(t) ?? $19fe8e3abedf4df0$var$y; } - static o() { - if (this.hasOwnProperty($bd101b5e047d4d04$var$_t("elementProperties"))) return; - const t = $bd101b5e047d4d04$var$pt(this); + static _$Ei() { + if (this.hasOwnProperty($19fe8e3abedf4df0$var$d("elementProperties"))) return; + const t = $19fe8e3abedf4df0$var$n(this); t.finalize(), void 0 !== t.l && (this.l = [ ...t.l ]), this.elementProperties = new Map(t.elementProperties); } static finalize() { - if (this.hasOwnProperty($bd101b5e047d4d04$var$_t("finalized"))) return; - if (this.finalized = !0, this.o(), this.hasOwnProperty($bd101b5e047d4d04$var$_t("properties"))) { + if (this.hasOwnProperty($19fe8e3abedf4df0$var$d("finalized"))) return; + if (this.finalized = !0, this._$Ei(), this.hasOwnProperty($19fe8e3abedf4df0$var$d("properties"))) { const t = this.properties, s = [ - ...$bd101b5e047d4d04$var$dt(t), - ...$bd101b5e047d4d04$var$ft(t) + ...$19fe8e3abedf4df0$var$h(t), + ...$19fe8e3abedf4df0$var$o(t) ]; for (const i of s)this.createProperty(i, t[i]); } @@ -148,86 +155,86 @@ class $bd101b5e047d4d04$export$c7c07a37856565d extends HTMLElement { const s = litPropertyMetadata.get(t); if (void 0 !== s) for (const [t, i] of s)this.elementProperties.set(t, i); } - this.u = new Map; + this._$Eh = new Map; for (const [t, s] of this.elementProperties){ - const i = this.p(t, s); - void 0 !== i && this.u.set(i, t); + const i = this._$Eu(t, s); + void 0 !== i && this._$Eh.set(i, t); } this.elementStyles = this.finalizeStyles(this.styles); } - static finalizeStyles(t) { - const s = []; - if (Array.isArray(t)) { - const i = new Set(t.flat(1 / 0).reverse()); - for (const t of i)s.unshift($bd101b5e047d4d04$export$ee69dfd951e24778(t)); - } else void 0 !== t && s.push($bd101b5e047d4d04$export$ee69dfd951e24778(t)); - return s; + static finalizeStyles(s) { + const i = []; + if (Array.isArray(s)) { + const e = new Set(s.flat(1 / 0).reverse()); + for (const s of e)i.unshift((0, $def2de46b9306e8a$export$ee69dfd951e24778)(s)); + } else void 0 !== s && i.push((0, $def2de46b9306e8a$export$ee69dfd951e24778)(s)); + return i; } - static p(t, s) { + static _$Eu(t, s) { const i = s.attribute; return !1 === i ? void 0 : "string" == typeof i ? i : "string" == typeof t ? t.toLowerCase() : void 0; } constructor(){ - super(), this.v = void 0, this.isUpdatePending = !1, this.hasUpdated = !1, this.m = null, this._(); + super(), this._$Ep = void 0, this.isUpdatePending = !1, this.hasUpdated = !1, this._$Em = null, this._$Ev(); } - _() { - this.S = new Promise((t)=>this.enableUpdating = t), this._$AL = new Map, this.$(), this.requestUpdate(), this.constructor.l?.forEach((t)=>t(this)); + _$Ev() { + this._$ES = new Promise((t)=>this.enableUpdating = t), this._$AL = new Map, this._$E_(), this.requestUpdate(), this.constructor.l?.forEach((t)=>t(this)); } addController(t) { - (this.P ??= new Set).add(t), void 0 !== this.renderRoot && this.isConnected && t.hostConnected?.(); + (this._$EO ??= new Set).add(t), void 0 !== this.renderRoot && this.isConnected && t.hostConnected?.(); } removeController(t) { - this.P?.delete(t); + this._$EO?.delete(t); } - $() { + _$E_() { const t = new Map, s = this.constructor.elementProperties; for (const i of s.keys())this.hasOwnProperty(i) && (t.set(i, this[i]), delete this[i]); - t.size > 0 && (this.v = t); + t.size > 0 && (this._$Ep = t); } createRenderRoot() { const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions); - return $bd101b5e047d4d04$export$2ca4a66ec4cecb90(t, this.constructor.elementStyles), t; + return (0, $def2de46b9306e8a$export$2ca4a66ec4cecb90)(t, this.constructor.elementStyles), t; } connectedCallback() { - this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(!0), this.P?.forEach((t)=>t.hostConnected?.()); + this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(!0), this._$EO?.forEach((t)=>t.hostConnected?.()); } enableUpdating(t) {} disconnectedCallback() { - this.P?.forEach((t)=>t.hostDisconnected?.()); + this._$EO?.forEach((t)=>t.hostDisconnected?.()); } attributeChangedCallback(t, s, i) { this._$AK(t, i); } - C(t, s) { - const i = this.constructor.elementProperties.get(t), e = this.constructor.p(t, i); + _$EC(t, s) { + const i = this.constructor.elementProperties.get(t), e = this.constructor._$Eu(t, i); if (void 0 !== e && !0 === i.reflect) { - const n = (void 0 !== i.converter?.toAttribute ? i.converter : $bd101b5e047d4d04$export$7312b35fbf521afb).toAttribute(s, i.type); - this.m = t, null == n ? this.removeAttribute(e) : this.setAttribute(e, n), this.m = null; + const r = (void 0 !== i.converter?.toAttribute ? i.converter : $19fe8e3abedf4df0$export$7312b35fbf521afb).toAttribute(s, i.type); + this._$Em = t, null == r ? this.removeAttribute(e) : this.setAttribute(e, r), this._$Em = null; } } _$AK(t, s) { - const i = this.constructor, e = i.u.get(t); - if (void 0 !== e && this.m !== e) { - const t = i.getPropertyOptions(e), n = "function" == typeof t.converter ? { + const i = this.constructor, e = i._$Eh.get(t); + if (void 0 !== e && this._$Em !== e) { + const t = i.getPropertyOptions(e), r = "function" == typeof t.converter ? { fromAttribute: t.converter - } : void 0 !== t.converter?.fromAttribute ? t.converter : $bd101b5e047d4d04$export$7312b35fbf521afb; - this.m = e, this[e] = n.fromAttribute(s, t.type), this.m = null; + } : void 0 !== t.converter?.fromAttribute ? t.converter : $19fe8e3abedf4df0$export$7312b35fbf521afb; + this._$Em = e, this[e] = r.fromAttribute(s, t.type), this._$Em = null; } } requestUpdate(t, s, i) { if (void 0 !== t) { - if (i ??= this.constructor.getPropertyOptions(t), !(i.hasChanged ?? $bd101b5e047d4d04$export$53a6892c50694894)(this[t], s)) return; - this.T(t, s, i); + if (i ??= this.constructor.getPropertyOptions(t), !(i.hasChanged ?? $19fe8e3abedf4df0$export$53a6892c50694894)(this[t], s)) return; + this.P(t, s, i); } - !1 === this.isUpdatePending && (this.S = this.M()); + !1 === this.isUpdatePending && (this._$ES = this._$ET()); } - T(t, s, i) { - this._$AL.has(t) || this._$AL.set(t, s), !0 === i.reflect && this.m !== t && (this.k ??= new Set).add(t); + P(t, s, i) { + this._$AL.has(t) || this._$AL.set(t, s), !0 === i.reflect && this._$Em !== t && (this._$Ej ??= new Set).add(t); } - async M() { + async _$ET() { this.isUpdatePending = !0; try { - await this.S; + await this._$ES; } catch (t) { Promise.reject(t); } @@ -240,145 +247,147 @@ class $bd101b5e047d4d04$export$c7c07a37856565d extends HTMLElement { performUpdate() { if (!this.isUpdatePending) return; if (!this.hasUpdated) { - if (this.renderRoot ??= this.createRenderRoot(), this.v) { - for (const [t, s] of this.v)this[t] = s; - this.v = void 0; + if (this.renderRoot ??= this.createRenderRoot(), this._$Ep) { + for (const [t, s] of this._$Ep)this[t] = s; + this._$Ep = void 0; } const t = this.constructor.elementProperties; - if (t.size > 0) for (const [s, i] of t)!0 !== i.wrapped || this._$AL.has(s) || void 0 === this[s] || this.T(s, this[s], i); + if (t.size > 0) for (const [s, i] of t)!0 !== i.wrapped || this._$AL.has(s) || void 0 === this[s] || this.P(s, this[s], i); } let t = !1; const s = this._$AL; try { - t = this.shouldUpdate(s), t ? (this.willUpdate(s), this.P?.forEach((t)=>t.hostUpdate?.()), this.update(s)) : this.A(); + t = this.shouldUpdate(s), t ? (this.willUpdate(s), this._$EO?.forEach((t)=>t.hostUpdate?.()), this.update(s)) : this._$EU(); } catch (s) { - throw t = !1, this.A(), s; + throw t = !1, this._$EU(), s; } t && this._$AE(s); } willUpdate(t) {} _$AE(t) { - this.P?.forEach((t)=>t.hostUpdated?.()), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t); + this._$EO?.forEach((t)=>t.hostUpdated?.()), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t); } - A() { + _$EU() { this._$AL = new Map, this.isUpdatePending = !1; } get updateComplete() { return this.getUpdateComplete(); } getUpdateComplete() { - return this.S; + return this._$ES; } shouldUpdate(t) { return !0; } update(t) { - this.k &&= this.k.forEach((t)=>this.C(t, this[t])), this.A(); + this._$Ej &&= this._$Ej.forEach((t)=>this._$EC(t, this[t])), this._$EU(); } updated(t) {} firstUpdated(t) {} } -$bd101b5e047d4d04$export$c7c07a37856565d.elementStyles = [], $bd101b5e047d4d04$export$c7c07a37856565d.shadowRootOptions = { +$19fe8e3abedf4df0$export$c7c07a37856565d.elementStyles = [], $19fe8e3abedf4df0$export$c7c07a37856565d.shadowRootOptions = { mode: "open" -}, $bd101b5e047d4d04$export$c7c07a37856565d[$bd101b5e047d4d04$var$_t("elementProperties")] = new Map, $bd101b5e047d4d04$export$c7c07a37856565d[$bd101b5e047d4d04$var$_t("finalized")] = new Map, $bd101b5e047d4d04$var$gt?.({ - ReactiveElement: $bd101b5e047d4d04$export$c7c07a37856565d -}), ($bd101b5e047d4d04$var$vt.reactiveElementVersions ??= []).push("2.0.4"); +}, $19fe8e3abedf4df0$export$c7c07a37856565d[$19fe8e3abedf4df0$var$d("elementProperties")] = new Map, $19fe8e3abedf4df0$export$c7c07a37856565d[$19fe8e3abedf4df0$var$d("finalized")] = new Map, $19fe8e3abedf4df0$var$p?.({ + ReactiveElement: $19fe8e3abedf4df0$export$c7c07a37856565d +}), ($19fe8e3abedf4df0$var$a.reactiveElementVersions ??= []).push("2.0.4"); + + /** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */ const $bd101b5e047d4d04$var$Pt = globalThis, $bd101b5e047d4d04$var$Ct = $bd101b5e047d4d04$var$Pt.trustedTypes, $bd101b5e047d4d04$var$Tt = $bd101b5e047d4d04$var$Ct ? $bd101b5e047d4d04$var$Ct.createPolicy("lit-html", { + */ const $f58f44579a4747ac$var$n = globalThis, $f58f44579a4747ac$var$c = $f58f44579a4747ac$var$n.trustedTypes, $f58f44579a4747ac$var$h = $f58f44579a4747ac$var$c ? $f58f44579a4747ac$var$c.createPolicy("lit-html", { createHTML: (t)=>t -}) : void 0, $bd101b5e047d4d04$var$xt = "$lit$", $bd101b5e047d4d04$var$Mt = `lit$${Math.random().toFixed(9).slice(2)}$`, $bd101b5e047d4d04$var$kt = "?" + $bd101b5e047d4d04$var$Mt, $bd101b5e047d4d04$var$At = `<${$bd101b5e047d4d04$var$kt}>`, $bd101b5e047d4d04$var$Et = document, $bd101b5e047d4d04$var$ys = ()=>$bd101b5e047d4d04$var$Et.createComment(""), $bd101b5e047d4d04$var$ms = (t)=>null === t || "object" != typeof t && "function" != typeof t, $bd101b5e047d4d04$var$Ot = Array.isArray, $bd101b5e047d4d04$var$Rt = (t)=>$bd101b5e047d4d04$var$Ot(t) || "function" == typeof t?.[Symbol.iterator], $bd101b5e047d4d04$var$zt = "[ \n\f\r]", $bd101b5e047d4d04$var$Vt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, $bd101b5e047d4d04$var$Lt = /-->/g, $bd101b5e047d4d04$var$It = />/g, $bd101b5e047d4d04$var$jt = RegExp(`>|${$bd101b5e047d4d04$var$zt}(?:([^\\s"'>=/]+)(${$bd101b5e047d4d04$var$zt}*=${$bd101b5e047d4d04$var$zt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`, "g"), $bd101b5e047d4d04$var$Dt = /'/g, $bd101b5e047d4d04$var$Ht = /"/g, $bd101b5e047d4d04$var$Bt = /^(?:script|style|textarea|title)$/i, $bd101b5e047d4d04$var$Wt = (t)=>(s, ...i)=>({ +}) : void 0, $f58f44579a4747ac$var$f = "$lit$", $f58f44579a4747ac$var$v = `lit$${Math.random().toFixed(9).slice(2)}$`, $f58f44579a4747ac$var$m = "?" + $f58f44579a4747ac$var$v, $f58f44579a4747ac$var$_ = `<${$f58f44579a4747ac$var$m}>`, $f58f44579a4747ac$var$w = document, $f58f44579a4747ac$var$lt = ()=>$f58f44579a4747ac$var$w.createComment(""), $f58f44579a4747ac$var$st = (t)=>null === t || "object" != typeof t && "function" != typeof t, $f58f44579a4747ac$var$g = Array.isArray, $f58f44579a4747ac$var$$ = (t)=>$f58f44579a4747ac$var$g(t) || "function" == typeof t?.[Symbol.iterator], $f58f44579a4747ac$var$x = "[ \n\f\r]", $f58f44579a4747ac$var$T = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, $f58f44579a4747ac$var$E = /-->/g, $f58f44579a4747ac$var$k = />/g, $f58f44579a4747ac$var$O = RegExp(`>|${$f58f44579a4747ac$var$x}(?:([^\\s"'>=/]+)(${$f58f44579a4747ac$var$x}*=${$f58f44579a4747ac$var$x}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`, "g"), $f58f44579a4747ac$var$S = /'/g, $f58f44579a4747ac$var$j = /"/g, $f58f44579a4747ac$var$M = /^(?:script|style|textarea|title)$/i, $f58f44579a4747ac$var$P = (t)=>(i, ...s)=>({ _$litType$: t, - strings: s, - values: i - }), $bd101b5e047d4d04$export$c0bb0b647f701bb5 = $bd101b5e047d4d04$var$Wt(1), $bd101b5e047d4d04$export$7ed1367e7fa1ad68 = $bd101b5e047d4d04$var$Wt(2), $bd101b5e047d4d04$export$47d5b44d225be5b4 = $bd101b5e047d4d04$var$Wt(3), $bd101b5e047d4d04$export$9c068ae9cc5db4e8 = Symbol.for("lit-noChange"), $bd101b5e047d4d04$export$45b790e32b2810ee = Symbol.for("lit-nothing"), $bd101b5e047d4d04$var$Kt = new WeakMap, $bd101b5e047d4d04$var$Qt = $bd101b5e047d4d04$var$Et.createTreeWalker($bd101b5e047d4d04$var$Et, 129); -function $bd101b5e047d4d04$var$Xt(t, s) { - if (!$bd101b5e047d4d04$var$Ot(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array"); - return void 0 !== $bd101b5e047d4d04$var$Tt ? $bd101b5e047d4d04$var$Tt.createHTML(s) : s; + strings: i, + values: s + }), $f58f44579a4747ac$export$c0bb0b647f701bb5 = $f58f44579a4747ac$var$P(1), $f58f44579a4747ac$export$7ed1367e7fa1ad68 = $f58f44579a4747ac$var$P(2), $f58f44579a4747ac$export$47d5b44d225be5b4 = $f58f44579a4747ac$var$P(3), $f58f44579a4747ac$export$9c068ae9cc5db4e8 = Symbol.for("lit-noChange"), $f58f44579a4747ac$export$45b790e32b2810ee = Symbol.for("lit-nothing"), $f58f44579a4747ac$var$V = new WeakMap, $f58f44579a4747ac$var$I = $f58f44579a4747ac$var$w.createTreeWalker($f58f44579a4747ac$var$w, 129); +function $f58f44579a4747ac$var$N(t, i) { + if (!$f58f44579a4747ac$var$g(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array"); + return void 0 !== $f58f44579a4747ac$var$h ? $f58f44579a4747ac$var$h.createHTML(i) : i; } -const $bd101b5e047d4d04$var$Yt = (t, s)=>{ - const i = t.length - 1, e = []; - let n, r = 2 === s ? "" : 3 === s ? "" : "", o = $bd101b5e047d4d04$var$Vt; - for(let s = 0; s < i; s++){ - const i = t[s]; - let h, c, l = -1, a = 0; - for(; a < i.length && (o.lastIndex = a, c = o.exec(i), null !== c);)a = o.lastIndex, o === $bd101b5e047d4d04$var$Vt ? "!--" === c[1] ? o = $bd101b5e047d4d04$var$Lt : void 0 !== c[1] ? o = $bd101b5e047d4d04$var$It : void 0 !== c[2] ? ($bd101b5e047d4d04$var$Bt.test(c[2]) && (n = RegExp("" === c[0] ? (o = n ?? $bd101b5e047d4d04$var$Vt, l = -1) : void 0 === c[1] ? l = -2 : (l = o.lastIndex - c[2].length, h = c[1], o = void 0 === c[3] ? $bd101b5e047d4d04$var$jt : '"' === c[3] ? $bd101b5e047d4d04$var$Ht : $bd101b5e047d4d04$var$Dt) : o === $bd101b5e047d4d04$var$Ht || o === $bd101b5e047d4d04$var$Dt ? o = $bd101b5e047d4d04$var$jt : o === $bd101b5e047d4d04$var$Lt || o === $bd101b5e047d4d04$var$It ? o = $bd101b5e047d4d04$var$Vt : (o = $bd101b5e047d4d04$var$jt, n = void 0); - const u = o === $bd101b5e047d4d04$var$jt && t[s + 1].startsWith("/>") ? " " : ""; - r += o === $bd101b5e047d4d04$var$Vt ? i + $bd101b5e047d4d04$var$At : l >= 0 ? (e.push(h), i.slice(0, l) + $bd101b5e047d4d04$var$xt + i.slice(l) + $bd101b5e047d4d04$var$Mt + u) : i + $bd101b5e047d4d04$var$Mt + (-2 === l ? s : u); +const $f58f44579a4747ac$var$U = (t, i)=>{ + const s = t.length - 1, e = []; + let h, o = 2 === i ? "" : 3 === i ? "" : "", n = $f58f44579a4747ac$var$T; + for(let i = 0; i < s; i++){ + const s = t[i]; + let r, l, c = -1, a = 0; + for(; a < s.length && (n.lastIndex = a, l = n.exec(s), null !== l);)a = n.lastIndex, n === $f58f44579a4747ac$var$T ? "!--" === l[1] ? n = $f58f44579a4747ac$var$E : void 0 !== l[1] ? n = $f58f44579a4747ac$var$k : void 0 !== l[2] ? ($f58f44579a4747ac$var$M.test(l[2]) && (h = RegExp("" === l[0] ? (n = h ?? $f58f44579a4747ac$var$T, c = -1) : void 0 === l[1] ? c = -2 : (c = n.lastIndex - l[2].length, r = l[1], n = void 0 === l[3] ? $f58f44579a4747ac$var$O : '"' === l[3] ? $f58f44579a4747ac$var$j : $f58f44579a4747ac$var$S) : n === $f58f44579a4747ac$var$j || n === $f58f44579a4747ac$var$S ? n = $f58f44579a4747ac$var$O : n === $f58f44579a4747ac$var$E || n === $f58f44579a4747ac$var$k ? n = $f58f44579a4747ac$var$T : (n = $f58f44579a4747ac$var$O, h = void 0); + const u = n === $f58f44579a4747ac$var$O && t[i + 1].startsWith("/>") ? " " : ""; + o += n === $f58f44579a4747ac$var$T ? s + $f58f44579a4747ac$var$_ : c >= 0 ? (e.push(r), s.slice(0, c) + $f58f44579a4747ac$var$f + s.slice(c) + $f58f44579a4747ac$var$v + u) : s + $f58f44579a4747ac$var$v + (-2 === c ? i : u); } return [ - $bd101b5e047d4d04$var$Xt(t, r + (t[i] || "") + (2 === s ? "" : 3 === s ? "" : "")), + $f58f44579a4747ac$var$N(t, o + (t[s] || "") + (2 === i ? "" : 3 === i ? "" : "")), e ]; }; -class $bd101b5e047d4d04$var$ts { - constructor({ strings: t, _$litType$: s }, i){ +class $f58f44579a4747ac$var$B { + constructor({ strings: t, _$litType$: i }, s){ let e; this.parts = []; - let n = 0, r = 0; - const o = t.length - 1, h = this.parts, [c, l] = $bd101b5e047d4d04$var$Yt(t, s); - if (this.el = $bd101b5e047d4d04$var$ts.createElement(c, i), $bd101b5e047d4d04$var$Qt.currentNode = this.el.content, 2 === s || 3 === s) { + let h = 0, o = 0; + const n = t.length - 1, r = this.parts, [l, a] = $f58f44579a4747ac$var$U(t, i); + if (this.el = $f58f44579a4747ac$var$B.createElement(l, s), $f58f44579a4747ac$var$I.currentNode = this.el.content, 2 === i || 3 === i) { const t = this.el.content.firstChild; t.replaceWith(...t.childNodes); } - for(; null !== (e = $bd101b5e047d4d04$var$Qt.nextNode()) && h.length < o;){ + for(; null !== (e = $f58f44579a4747ac$var$I.nextNode()) && r.length < n;){ if (1 === e.nodeType) { - if (e.hasAttributes()) for (const t of e.getAttributeNames())if (t.endsWith($bd101b5e047d4d04$var$xt)) { - const s = l[r++], i = e.getAttribute(t).split($bd101b5e047d4d04$var$Mt), o = /([.?@])?(.*)/.exec(s); - h.push({ + if (e.hasAttributes()) for (const t of e.getAttributeNames())if (t.endsWith($f58f44579a4747ac$var$f)) { + const i = a[o++], s = e.getAttribute(t).split($f58f44579a4747ac$var$v), n = /([.?@])?(.*)/.exec(i); + r.push({ type: 1, - index: n, - name: o[2], - strings: i, - ctor: "." === o[1] ? $bd101b5e047d4d04$var$os : "?" === o[1] ? $bd101b5e047d4d04$var$rs : "@" === o[1] ? $bd101b5e047d4d04$var$ns : $bd101b5e047d4d04$var$hs + index: h, + name: n[2], + strings: s, + ctor: "." === n[1] ? $f58f44579a4747ac$var$Y : "?" === n[1] ? $f58f44579a4747ac$var$Z : "@" === n[1] ? $f58f44579a4747ac$var$q : $f58f44579a4747ac$var$G }), e.removeAttribute(t); - } else t.startsWith($bd101b5e047d4d04$var$Mt) && (h.push({ + } else t.startsWith($f58f44579a4747ac$var$v) && (r.push({ type: 6, - index: n + index: h }), e.removeAttribute(t)); - if ($bd101b5e047d4d04$var$Bt.test(e.tagName)) { - const t = e.textContent.split($bd101b5e047d4d04$var$Mt), s = t.length - 1; - if (s > 0) { - e.textContent = $bd101b5e047d4d04$var$Ct ? $bd101b5e047d4d04$var$Ct.emptyScript : ""; - for(let i = 0; i < s; i++)e.append(t[i], $bd101b5e047d4d04$var$ys()), $bd101b5e047d4d04$var$Qt.nextNode(), h.push({ + if ($f58f44579a4747ac$var$M.test(e.tagName)) { + const t = e.textContent.split($f58f44579a4747ac$var$v), i = t.length - 1; + if (i > 0) { + e.textContent = $f58f44579a4747ac$var$c ? $f58f44579a4747ac$var$c.emptyScript : ""; + for(let s = 0; s < i; s++)e.append(t[s], $f58f44579a4747ac$var$lt()), $f58f44579a4747ac$var$I.nextNode(), r.push({ type: 2, - index: ++n + index: ++h }); - e.append(t[s], $bd101b5e047d4d04$var$ys()); + e.append(t[i], $f58f44579a4747ac$var$lt()); } } } else if (8 === e.nodeType) { - if (e.data === $bd101b5e047d4d04$var$kt) h.push({ + if (e.data === $f58f44579a4747ac$var$m) r.push({ type: 2, - index: n + index: h }); else { let t = -1; - for(; -1 !== (t = e.data.indexOf($bd101b5e047d4d04$var$Mt, t + 1));)h.push({ + for(; -1 !== (t = e.data.indexOf($f58f44579a4747ac$var$v, t + 1));)r.push({ type: 7, - index: n - }), t += $bd101b5e047d4d04$var$Mt.length - 1; + index: h + }), t += $f58f44579a4747ac$var$v.length - 1; } } - n++; + h++; } } - static createElement(t, s) { - const i = $bd101b5e047d4d04$var$Et.createElement("template"); - return i.innerHTML = t, i; + static createElement(t, i) { + const s = $f58f44579a4747ac$var$w.createElement("template"); + return s.innerHTML = t, s; } } -function $bd101b5e047d4d04$var$ss(t, s, i = t, e) { - if (s === $bd101b5e047d4d04$export$9c068ae9cc5db4e8) return s; - let n = void 0 !== e ? i.U?.[e] : i.N; - const r = $bd101b5e047d4d04$var$ms(s) ? void 0 : s._$litDirective$; - return n?.constructor !== r && (n?._$AO?.(!1), void 0 === r ? n = void 0 : (n = new r(t), n._$AT(t, i, e)), void 0 !== e ? (i.U ??= [])[e] = n : i.N = n), void 0 !== n && (s = $bd101b5e047d4d04$var$ss(t, n._$AS(t, s.values), n, e)), s; +function $f58f44579a4747ac$var$z(t, i, s = t, e) { + if (i === $f58f44579a4747ac$export$9c068ae9cc5db4e8) return i; + let h = void 0 !== e ? s.o?.[e] : s.l; + const o = $f58f44579a4747ac$var$st(i) ? void 0 : i._$litDirective$; + return h?.constructor !== o && (h?._$AO?.(!1), void 0 === o ? h = void 0 : (h = new o(t), h._$AT(t, s, e)), void 0 !== e ? (s.o ??= [])[e] = h : s.l = h), void 0 !== h && (i = $f58f44579a4747ac$var$z(t, h._$AS(t, i.values), h, e)), i; } -class $bd101b5e047d4d04$var$is { - constructor(t, s){ - this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = s; +class $f58f44579a4747ac$var$F { + constructor(t, i){ + this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = i; } get parentNode() { return this._$AM.parentNode; @@ -386,35 +395,35 @@ class $bd101b5e047d4d04$var$is { get _$AU() { return this._$AM._$AU; } - O(t) { - const { el: { content: s }, parts: i } = this._$AD, e = (t?.creationScope ?? $bd101b5e047d4d04$var$Et).importNode(s, !0); - $bd101b5e047d4d04$var$Qt.currentNode = e; - let n = $bd101b5e047d4d04$var$Qt.nextNode(), r = 0, o = 0, h = i[0]; - for(; void 0 !== h;){ - if (r === h.index) { - let s; - 2 === h.type ? s = new $bd101b5e047d4d04$var$ws(n, n.nextSibling, this, t) : 1 === h.type ? s = new h.ctor(n, h.name, h.strings, this, t) : 6 === h.type && (s = new $bd101b5e047d4d04$var$cs(n, this, t)), this._$AV.push(s), h = i[++o]; + u(t) { + const { el: { content: i }, parts: s } = this._$AD, e = (t?.creationScope ?? $f58f44579a4747ac$var$w).importNode(i, !0); + $f58f44579a4747ac$var$I.currentNode = e; + let h = $f58f44579a4747ac$var$I.nextNode(), o = 0, n = 0, r = s[0]; + for(; void 0 !== r;){ + if (o === r.index) { + let i; + 2 === r.type ? i = new $f58f44579a4747ac$var$et(h, h.nextSibling, this, t) : 1 === r.type ? i = new r.ctor(h, r.name, r.strings, this, t) : 6 === r.type && (i = new $f58f44579a4747ac$var$K(h, this, t)), this._$AV.push(i), r = s[++n]; } - r !== h?.index && (n = $bd101b5e047d4d04$var$Qt.nextNode(), r++); + o !== r?.index && (h = $f58f44579a4747ac$var$I.nextNode(), o++); } - return $bd101b5e047d4d04$var$Qt.currentNode = $bd101b5e047d4d04$var$Et, e; + return $f58f44579a4747ac$var$I.currentNode = $f58f44579a4747ac$var$w, e; } - R(t) { - let s = 0; - for (const i of this._$AV)void 0 !== i && (void 0 !== i.strings ? (i._$AI(t, i, s), s += i.strings.length - 2) : i._$AI(t[s])), s++; + p(t) { + let i = 0; + for (const s of this._$AV)void 0 !== s && (void 0 !== s.strings ? (s._$AI(t, s, i), i += s.strings.length - 2) : s._$AI(t[i])), i++; } } -let $bd101b5e047d4d04$var$ws = class t { +class $f58f44579a4747ac$var$et { get _$AU() { - return this._$AM?._$AU ?? this.V; + return this._$AM?._$AU ?? this.v; } - constructor(t, s, i, e){ - this.type = 2, this._$AH = $bd101b5e047d4d04$export$45b790e32b2810ee, this._$AN = void 0, this._$AA = t, this._$AB = s, this._$AM = i, this.options = e, this.V = e?.isConnected ?? !0; + constructor(t, i, s, e){ + this.type = 2, this._$AH = $f58f44579a4747ac$export$45b790e32b2810ee, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this.v = e?.isConnected ?? !0; } get parentNode() { let t = this._$AA.parentNode; - const s = this._$AM; - return void 0 !== s && 11 === t?.nodeType && (t = s.parentNode), t; + const i = this._$AM; + return void 0 !== i && 11 === t?.nodeType && (t = i.parentNode), t; } get startNode() { return this._$AA; @@ -422,769 +431,196 @@ let $bd101b5e047d4d04$var$ws = class t { get endNode() { return this._$AB; } - _$AI(t, s = this) { - t = $bd101b5e047d4d04$var$ss(this, t, s), $bd101b5e047d4d04$var$ms(t) ? t === $bd101b5e047d4d04$export$45b790e32b2810ee || null == t || "" === t ? (this._$AH !== $bd101b5e047d4d04$export$45b790e32b2810ee && this._$AR(), this._$AH = $bd101b5e047d4d04$export$45b790e32b2810ee) : t !== this._$AH && t !== $bd101b5e047d4d04$export$9c068ae9cc5db4e8 && this.L(t) : void 0 !== t._$litType$ ? this.I(t) : void 0 !== t.nodeType ? this.j(t) : $bd101b5e047d4d04$var$Rt(t) ? this.D(t) : this.L(t); + _$AI(t, i = this) { + t = $f58f44579a4747ac$var$z(this, t, i), $f58f44579a4747ac$var$st(t) ? t === $f58f44579a4747ac$export$45b790e32b2810ee || null == t || "" === t ? (this._$AH !== $f58f44579a4747ac$export$45b790e32b2810ee && this._$AR(), this._$AH = $f58f44579a4747ac$export$45b790e32b2810ee) : t !== this._$AH && t !== $f58f44579a4747ac$export$9c068ae9cc5db4e8 && this._(t) : void 0 !== t._$litType$ ? this.$(t) : void 0 !== t.nodeType ? this.T(t) : $f58f44579a4747ac$var$$(t) ? this.k(t) : this._(t); } - H(t) { + O(t) { return this._$AA.parentNode.insertBefore(t, this._$AB); } - j(t) { - this._$AH !== t && (this._$AR(), this._$AH = this.H(t)); + T(t) { + this._$AH !== t && (this._$AR(), this._$AH = this.O(t)); } - L(t) { - this._$AH !== $bd101b5e047d4d04$export$45b790e32b2810ee && $bd101b5e047d4d04$var$ms(this._$AH) ? this._$AA.nextSibling.data = t : this.j($bd101b5e047d4d04$var$Et.createTextNode(t)), this._$AH = t; + _(t) { + this._$AH !== $f58f44579a4747ac$export$45b790e32b2810ee && $f58f44579a4747ac$var$st(this._$AH) ? this._$AA.nextSibling.data = t : this.T($f58f44579a4747ac$var$w.createTextNode(t)), this._$AH = t; } - I(t) { - const { values: s, _$litType$: i } = t, e = "number" == typeof i ? this._$AC(t) : (void 0 === i.el && (i.el = $bd101b5e047d4d04$var$ts.createElement($bd101b5e047d4d04$var$Xt(i.h, i.h[0]), this.options)), i); - if (this._$AH?._$AD === e) this._$AH.R(s); + $(t) { + const { values: i, _$litType$: s } = t, e = "number" == typeof s ? this._$AC(t) : (void 0 === s.el && (s.el = $f58f44579a4747ac$var$B.createElement($f58f44579a4747ac$var$N(s.h, s.h[0]), this.options)), s); + if (this._$AH?._$AD === e) this._$AH.p(i); else { - const t = new $bd101b5e047d4d04$var$is(e, this), i = t.O(this.options); - t.R(s), this.j(i), this._$AH = t; + const t = new $f58f44579a4747ac$var$F(e, this), s = t.u(this.options); + t.p(i), this.T(s), this._$AH = t; } } _$AC(t) { - let s = $bd101b5e047d4d04$var$Kt.get(t.strings); - return void 0 === s && $bd101b5e047d4d04$var$Kt.set(t.strings, s = new $bd101b5e047d4d04$var$ts(t)), s; + let i = $f58f44579a4747ac$var$V.get(t.strings); + return void 0 === i && $f58f44579a4747ac$var$V.set(t.strings, i = new $f58f44579a4747ac$var$B(t)), i; } - D(s) { - $bd101b5e047d4d04$var$Ot(this._$AH) || (this._$AH = [], this._$AR()); + k(t) { + $f58f44579a4747ac$var$g(this._$AH) || (this._$AH = [], this._$AR()); const i = this._$AH; - let e, n = 0; - for (const r of s)n === i.length ? i.push(e = new t(this.H($bd101b5e047d4d04$var$ys()), this.H($bd101b5e047d4d04$var$ys()), this, this.options)) : e = i[n], e._$AI(r), n++; - n < i.length && (this._$AR(e && e._$AB.nextSibling, n), i.length = n); - } - _$AR(t = this._$AA.nextSibling, s) { - for(this._$AP?.(!1, !0, s); t && t !== this._$AB;){ - const s = t.nextSibling; - t.remove(), t = s; + let s, e = 0; + for (const h of t)e === i.length ? i.push(s = new $f58f44579a4747ac$var$et(this.O($f58f44579a4747ac$var$lt()), this.O($f58f44579a4747ac$var$lt()), this, this.options)) : s = i[e], s._$AI(h), e++; + e < i.length && (this._$AR(s && s._$AB.nextSibling, e), i.length = e); + } + _$AR(t = this._$AA.nextSibling, i) { + for(this._$AP?.(!1, !0, i); t && t !== this._$AB;){ + const i = t.nextSibling; + t.remove(), t = i; } } setConnected(t) { - void 0 === this._$AM && (this.V = t, this._$AP?.(t)); + void 0 === this._$AM && (this.v = t, this._$AP?.(t)); } -}; -class $bd101b5e047d4d04$var$hs { +} +class $f58f44579a4747ac$var$G { get tagName() { return this.element.tagName; } get _$AU() { return this._$AM._$AU; } - constructor(t, s, i, e, n){ - this.type = 1, this._$AH = $bd101b5e047d4d04$export$45b790e32b2810ee, this._$AN = void 0, this.element = t, this.name = s, this._$AM = e, this.options = n, i.length > 2 || "" !== i[0] || "" !== i[1] ? (this._$AH = Array(i.length - 1).fill(new String), this.strings = i) : this._$AH = $bd101b5e047d4d04$export$45b790e32b2810ee; + constructor(t, i, s, e, h){ + this.type = 1, this._$AH = $f58f44579a4747ac$export$45b790e32b2810ee, this._$AN = void 0, this.element = t, this.name = i, this._$AM = e, this.options = h, s.length > 2 || "" !== s[0] || "" !== s[1] ? (this._$AH = Array(s.length - 1).fill(new String), this.strings = s) : this._$AH = $f58f44579a4747ac$export$45b790e32b2810ee; } - _$AI(t, s = this, i, e) { - const n = this.strings; - let r = !1; - if (void 0 === n) t = $bd101b5e047d4d04$var$ss(this, t, s, 0), r = !$bd101b5e047d4d04$var$ms(t) || t !== this._$AH && t !== $bd101b5e047d4d04$export$9c068ae9cc5db4e8, r && (this._$AH = t); + _$AI(t, i = this, s, e) { + const h = this.strings; + let o = !1; + if (void 0 === h) t = $f58f44579a4747ac$var$z(this, t, i, 0), o = !$f58f44579a4747ac$var$st(t) || t !== this._$AH && t !== $f58f44579a4747ac$export$9c068ae9cc5db4e8, o && (this._$AH = t); else { const e = t; - let o, h; - for(t = n[0], o = 0; o < n.length - 1; o++)h = $bd101b5e047d4d04$var$ss(this, e[i + o], s, o), h === $bd101b5e047d4d04$export$9c068ae9cc5db4e8 && (h = this._$AH[o]), r ||= !$bd101b5e047d4d04$var$ms(h) || h !== this._$AH[o], h === $bd101b5e047d4d04$export$45b790e32b2810ee ? t = $bd101b5e047d4d04$export$45b790e32b2810ee : t !== $bd101b5e047d4d04$export$45b790e32b2810ee && (t += (h ?? "") + n[o + 1]), this._$AH[o] = h; + let n, r; + for(t = h[0], n = 0; n < h.length - 1; n++)r = $f58f44579a4747ac$var$z(this, e[s + n], i, n), r === $f58f44579a4747ac$export$9c068ae9cc5db4e8 && (r = this._$AH[n]), o ||= !$f58f44579a4747ac$var$st(r) || r !== this._$AH[n], r === $f58f44579a4747ac$export$45b790e32b2810ee ? t = $f58f44579a4747ac$export$45b790e32b2810ee : t !== $f58f44579a4747ac$export$45b790e32b2810ee && (t += (r ?? "") + h[n + 1]), this._$AH[n] = r; } - r && !e && this.B(t); + o && !e && this.j(t); } - B(t) { - t === $bd101b5e047d4d04$export$45b790e32b2810ee ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? ""); + j(t) { + t === $f58f44579a4747ac$export$45b790e32b2810ee ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? ""); } } -class $bd101b5e047d4d04$var$os extends $bd101b5e047d4d04$var$hs { +class $f58f44579a4747ac$var$Y extends $f58f44579a4747ac$var$G { constructor(){ super(...arguments), this.type = 3; } - B(t) { - this.element[this.name] = t === $bd101b5e047d4d04$export$45b790e32b2810ee ? void 0 : t; + j(t) { + this.element[this.name] = t === $f58f44579a4747ac$export$45b790e32b2810ee ? void 0 : t; } } -class $bd101b5e047d4d04$var$rs extends $bd101b5e047d4d04$var$hs { +class $f58f44579a4747ac$var$Z extends $f58f44579a4747ac$var$G { constructor(){ super(...arguments), this.type = 4; } - B(t) { - this.element.toggleAttribute(this.name, !!t && t !== $bd101b5e047d4d04$export$45b790e32b2810ee); + j(t) { + this.element.toggleAttribute(this.name, !!t && t !== $f58f44579a4747ac$export$45b790e32b2810ee); } } -class $bd101b5e047d4d04$var$ns extends $bd101b5e047d4d04$var$hs { - constructor(t, s, i, e, n){ - super(t, s, i, e, n), this.type = 5; +class $f58f44579a4747ac$var$q extends $f58f44579a4747ac$var$G { + constructor(t, i, s, e, h){ + super(t, i, s, e, h), this.type = 5; } - _$AI(t, s = this) { - if ((t = $bd101b5e047d4d04$var$ss(this, t, s, 0) ?? $bd101b5e047d4d04$export$45b790e32b2810ee) === $bd101b5e047d4d04$export$9c068ae9cc5db4e8) return; - const i = this._$AH, e = t === $bd101b5e047d4d04$export$45b790e32b2810ee && i !== $bd101b5e047d4d04$export$45b790e32b2810ee || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, n = t !== $bd101b5e047d4d04$export$45b790e32b2810ee && (i === $bd101b5e047d4d04$export$45b790e32b2810ee || e); - e && this.element.removeEventListener(this.name, this, i), n && this.element.addEventListener(this.name, this, t), this._$AH = t; + _$AI(t, i = this) { + if ((t = $f58f44579a4747ac$var$z(this, t, i, 0) ?? $f58f44579a4747ac$export$45b790e32b2810ee) === $f58f44579a4747ac$export$9c068ae9cc5db4e8) return; + const s = this._$AH, e = t === $f58f44579a4747ac$export$45b790e32b2810ee && s !== $f58f44579a4747ac$export$45b790e32b2810ee || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, h = t !== $f58f44579a4747ac$export$45b790e32b2810ee && (s === $f58f44579a4747ac$export$45b790e32b2810ee || e); + e && this.element.removeEventListener(this.name, this, s), h && this.element.addEventListener(this.name, this, t), this._$AH = t; } handleEvent(t) { "function" == typeof this._$AH ? this._$AH.call(this.options?.host ?? this.element, t) : this._$AH.handleEvent(t); } } -class $bd101b5e047d4d04$var$cs { - constructor(t, s, i){ - this.element = t, this.type = 6, this._$AN = void 0, this._$AM = s, this.options = i; +class $f58f44579a4747ac$var$K { + constructor(t, i, s){ + this.element = t, this.type = 6, this._$AN = void 0, this._$AM = i, this.options = s; } get _$AU() { return this._$AM._$AU; } _$AI(t) { - $bd101b5e047d4d04$var$ss(this, t); + $f58f44579a4747ac$var$z(this, t); } } -const $bd101b5e047d4d04$export$8613d1ca9052b22e = { - W: $bd101b5e047d4d04$var$xt, - q: $bd101b5e047d4d04$var$Mt, - J: $bd101b5e047d4d04$var$kt, - Z: 1, - F: $bd101b5e047d4d04$var$Yt, - G: $bd101b5e047d4d04$var$is, - K: $bd101b5e047d4d04$var$Rt, - X: $bd101b5e047d4d04$var$ss, - Y: $bd101b5e047d4d04$var$ws, - tt: $bd101b5e047d4d04$var$hs, - st: $bd101b5e047d4d04$var$rs, - it: $bd101b5e047d4d04$var$ns, - et: $bd101b5e047d4d04$var$os, - ht: $bd101b5e047d4d04$var$cs -}, $bd101b5e047d4d04$var$ls = $bd101b5e047d4d04$var$Pt.litHtmlPolyfillSupport; -$bd101b5e047d4d04$var$ls?.($bd101b5e047d4d04$var$ts, $bd101b5e047d4d04$var$ws), ($bd101b5e047d4d04$var$Pt.litHtmlVersions ??= []).push("3.2.0"); -const $bd101b5e047d4d04$export$b3890eb0ae9dca99 = (t, s, i)=>{ - const e = i?.renderBefore ?? s; - let n = e._$litPart$; - if (void 0 === n) { - const t = i?.renderBefore ?? null; - e._$litPart$ = n = new $bd101b5e047d4d04$var$ws(s.insertBefore($bd101b5e047d4d04$var$ys(), t), t, void 0, i ?? {}); - } - return n._$AI(t), n; +const $f58f44579a4747ac$export$8613d1ca9052b22e = { + M: $f58f44579a4747ac$var$f, + P: $f58f44579a4747ac$var$v, + A: $f58f44579a4747ac$var$m, + C: 1, + L: $f58f44579a4747ac$var$U, + R: $f58f44579a4747ac$var$F, + D: $f58f44579a4747ac$var$$, + V: $f58f44579a4747ac$var$z, + I: $f58f44579a4747ac$var$et, + H: $f58f44579a4747ac$var$G, + N: $f58f44579a4747ac$var$Z, + U: $f58f44579a4747ac$var$q, + B: $f58f44579a4747ac$var$Y, + F: $f58f44579a4747ac$var$K +}, $f58f44579a4747ac$var$Re = $f58f44579a4747ac$var$n.litHtmlPolyfillSupport; +$f58f44579a4747ac$var$Re?.($f58f44579a4747ac$var$B, $f58f44579a4747ac$var$et), ($f58f44579a4747ac$var$n.litHtmlVersions ??= []).push("3.2.0"); +const $f58f44579a4747ac$export$b3890eb0ae9dca99 = (t, i, s)=>{ + const e = s?.renderBefore ?? i; + let h = e._$litPart$; + if (void 0 === h) { + const t = s?.renderBefore ?? null; + e._$litPart$ = h = new $f58f44579a4747ac$var$et(i.insertBefore($f58f44579a4747ac$var$lt(), t), t, void 0, s ?? {}); + } + return h._$AI(t), h; }; + + + + /** * @license * Copyright 2017 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */ class $bd101b5e047d4d04$export$3f2f9f5909897157 extends $bd101b5e047d4d04$export$c7c07a37856565d { + */ class $ab210b2da7b39b9d$export$3f2f9f5909897157 extends (0, $19fe8e3abedf4df0$export$c7c07a37856565d) { constructor(){ super(...arguments), this.renderOptions = { host: this - }, this.ot = void 0; + }, this.o = void 0; } createRenderRoot() { const t = super.createRenderRoot(); return this.renderOptions.renderBefore ??= t.firstChild, t; } update(t) { - const s = this.render(); - this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this.ot = $bd101b5e047d4d04$export$b3890eb0ae9dca99(s, this.renderRoot, this.renderOptions); + const e = this.render(); + this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this.o = (0, $f58f44579a4747ac$export$b3890eb0ae9dca99)(e, this.renderRoot, this.renderOptions); } connectedCallback() { - super.connectedCallback(), this.ot?.setConnected(!0); + super.connectedCallback(), this.o?.setConnected(!0); } disconnectedCallback() { - super.disconnectedCallback(), this.ot?.setConnected(!1); + super.disconnectedCallback(), this.o?.setConnected(!1); } render() { - return $bd101b5e047d4d04$export$9c068ae9cc5db4e8; + return 0, $f58f44579a4747ac$export$9c068ae9cc5db4e8; } } -$bd101b5e047d4d04$export$3f2f9f5909897157._$litElement$ = !0, $bd101b5e047d4d04$export$3f2f9f5909897157["finalized"] = !0, globalThis.litElementHydrateSupport?.({ - LitElement: $bd101b5e047d4d04$export$3f2f9f5909897157 +$ab210b2da7b39b9d$export$3f2f9f5909897157._$litElement$ = !0, $ab210b2da7b39b9d$export$3f2f9f5909897157["finalized"] = !0, globalThis.litElementHydrateSupport?.({ + LitElement: $ab210b2da7b39b9d$export$3f2f9f5909897157 }); -const $bd101b5e047d4d04$var$fs = globalThis.litElementPolyfillSupport; -$bd101b5e047d4d04$var$fs?.({ - LitElement: $bd101b5e047d4d04$export$3f2f9f5909897157 +const $ab210b2da7b39b9d$var$f = globalThis.litElementPolyfillSupport; +$ab210b2da7b39b9d$var$f?.({ + LitElement: $ab210b2da7b39b9d$export$3f2f9f5909897157 }); -const $bd101b5e047d4d04$export$f5c524615a7708d6 = { - _$AK: (t, s, i)=>{ - t._$AK(s, i); +const $ab210b2da7b39b9d$export$f5c524615a7708d6 = { + _$AK: (t, e, s)=>{ + t._$AK(e, s); }, _$AL: (t)=>t._$AL }; (globalThis.litElementVersions ??= []).push("4.1.0"); + + /** * @license * Copyright 2022 Google LLC * SPDX-License-Identifier: BSD-3-Clause - */ const $bd101b5e047d4d04$export$6acf61af03e62db = !1, { Y: $bd101b5e047d4d04$var$es } = $bd101b5e047d4d04$export$8613d1ca9052b22e, $bd101b5e047d4d04$export$c3825b437cbdea5c = (t)=>null === t || "object" != typeof t && "function" != typeof t, $bd101b5e047d4d04$export$80c36ae3cab9881d = { - HTML: 1, - SVG: 2, - MATHML: 3 -}, $bd101b5e047d4d04$export$6b6d145ec2a44ca9 = (t, s)=>void 0 === s ? void 0 !== t?._$litType$ : t?._$litType$ === s, $bd101b5e047d4d04$export$6a0e8de894d2fcca = (t)=>null != t?._$litType$?.h, $bd101b5e047d4d04$export$2f448fec17d50a3e = (t)=>void 0 !== t?._$litDirective$, $bd101b5e047d4d04$export$f28e31de6a6eaf32 = (t)=>t?._$litDirective$, $bd101b5e047d4d04$export$7f431ad0fff82fd9 = (t)=>void 0 === t.strings, $bd101b5e047d4d04$var$Ut = ()=>document.createComment(""), $bd101b5e047d4d04$export$291b2338ad9b0b30 = (t, s, i)=>{ - const e = t._$AA.parentNode, n = void 0 === s ? t._$AB : s._$AA; - if (void 0 === i) { - const s = e.insertBefore($bd101b5e047d4d04$var$Ut(), n), r = e.insertBefore($bd101b5e047d4d04$var$Ut(), n); - i = new $bd101b5e047d4d04$var$es(s, r, t, t.options); - } else { - const s = i._$AB.nextSibling, r = i._$AM, o = r !== t; - if (o) { - let s; - i._$AQ?.(t), i._$AM = t, void 0 !== i._$AP && (s = t._$AU) !== r._$AU && i._$AP(s); - } - if (s !== n || o) { - let t = i._$AA; - for(; t !== s;){ - const s = t.nextSibling; - e.insertBefore(t, n), t = s; - } - } - } - return i; -}, $bd101b5e047d4d04$export$cb8bf9562088e9f4 = (t, s, i = t)=>(t._$AI(s, i), t), $bd101b5e047d4d04$var$As = {}, $bd101b5e047d4d04$export$ea70d9dd5965b1c8 = (t, s = $bd101b5e047d4d04$var$As)=>t._$AH = s, $bd101b5e047d4d04$export$59e9bce518cde500 = (t)=>t._$AH, $bd101b5e047d4d04$export$3133b3144bbba267 = (t)=>{ - t._$AP?.(!1, !0); - let s = t._$AA; - const i = t._$AB.nextSibling; - for(; s !== i;){ - const t = s.nextSibling; - s.remove(), s = t; - } -}, $bd101b5e047d4d04$export$7f600b8138c094dc = (t)=>{ - t._$AR(); -}, $bd101b5e047d4d04$export$9ba3b3f20a85bfa = { - ATTRIBUTE: 1, - CHILD: 2, - PROPERTY: 3, - BOOLEAN_ATTRIBUTE: 4, - EVENT: 5, - ELEMENT: 6 -}, $bd101b5e047d4d04$export$99b43ad1ed32e735 = (t)=>(...s)=>({ - _$litDirective$: t, - values: s - }); -class $bd101b5e047d4d04$export$befdefbdce210f91 { - constructor(t){} - get _$AU() { - return this._$AM._$AU; - } - _$AT(t, s, i) { - this.nt = t, this._$AM = s, this.rt = i; - } - _$AS(t, s) { - return this.update(t, s); - } - update(t, s) { - return this.render(...s); - } -} -/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */ const $bd101b5e047d4d04$var$Ls = (t, s)=>{ - const i = t._$AN; - if (void 0 === i) return !1; - for (const t of i)t._$AO?.(s, !1), $bd101b5e047d4d04$var$Ls(t, s); - return !0; -}, $bd101b5e047d4d04$var$zs = (t)=>{ - let s, i; - do { - if (void 0 === (s = t._$AM)) break; - i = s._$AN, i.delete(t), t = s; - }while (0 === i?.size); -}, $bd101b5e047d4d04$var$js = (t)=>{ - for(let s; s = t._$AM; t = s){ - let i = s._$AN; - if (void 0 === i) s._$AN = i = new Set; - else if (i.has(t)) break; - i.add(t), $bd101b5e047d4d04$var$Ds(s); - } -}; -function $bd101b5e047d4d04$var$Hs(t) { - void 0 !== this._$AN ? ($bd101b5e047d4d04$var$zs(this), this._$AM = t, $bd101b5e047d4d04$var$js(this)) : this._$AM = t; -} -function $bd101b5e047d4d04$var$Is(t, s = !1, i = 0) { - const e = this._$AH, n = this._$AN; - if (void 0 !== n && 0 !== n.size) { - if (s) { - if (Array.isArray(e)) for(let t = i; t < e.length; t++)$bd101b5e047d4d04$var$Ls(e[t], !1), $bd101b5e047d4d04$var$zs(e[t]); - else null != e && ($bd101b5e047d4d04$var$Ls(e, !1), $bd101b5e047d4d04$var$zs(e)); - } else $bd101b5e047d4d04$var$Ls(this, t); - } -} -const $bd101b5e047d4d04$var$Ds = (t)=>{ - 2 == t.type && (t._$AP ??= $bd101b5e047d4d04$var$Is, t._$AQ ??= $bd101b5e047d4d04$var$Hs); -}; -class $bd101b5e047d4d04$export$7d025501802325e extends $bd101b5e047d4d04$export$befdefbdce210f91 { - constructor(){ - super(...arguments), this._$AN = void 0; - } - _$AT(t, s, i) { - super._$AT(t, s, i), $bd101b5e047d4d04$var$js(this), this.isConnected = t._$AU; - } - _$AO(t, s = !0) { - t !== this.isConnected && (this.isConnected = t, t ? this.reconnected?.() : this.disconnected?.()), s && ($bd101b5e047d4d04$var$Ls(this, t), $bd101b5e047d4d04$var$zs(this)); - } - setValue(t) { - if ($bd101b5e047d4d04$export$7f431ad0fff82fd9(this.nt)) this.nt._$AI(t, this); - else { - const s = [ - ...this.nt._$AH - ]; - s[this.rt] = t, this.nt._$AI(s, this, 0); - } - } - disconnected() {} - reconnected() {} -} -/** - * @license - * Copyright 2021 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */ class $bd101b5e047d4d04$var$Ws { - constructor(t){ - this.ct = t; - } - disconnect() { - this.ct = void 0; - } - reconnect(t) { - this.ct = t; - } - deref() { - return this.ct; - } -} -class $bd101b5e047d4d04$var$Zs { - constructor(){ - this.lt = void 0, this.ut = void 0; - } - get() { - return this.lt; - } - pause() { - this.lt ??= new Promise((t)=>this.ut = t); - } - resume() { - this.ut?.(), this.lt = this.ut = void 0; - } -} -/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */ class $bd101b5e047d4d04$export$39a433aa22cdf479 extends $bd101b5e047d4d04$export$7d025501802325e { - constructor(){ - super(...arguments), this.dt = new $bd101b5e047d4d04$var$Ws(this), this.ft = new $bd101b5e047d4d04$var$Zs; - } - render(t, s) { - return $bd101b5e047d4d04$export$9c068ae9cc5db4e8; - } - update(t, [s, i]) { - if (this.isConnected || this.disconnected(), s === this.vt) return $bd101b5e047d4d04$export$9c068ae9cc5db4e8; - this.vt = s; - let e = 0; - const { dt: n, ft: r } = this; - return (async (t, s)=>{ - for await (const i of t)if (!1 === await s(i)) return; - })(s, async (t)=>{ - for(; r.get();)await r.get(); - const o = n.deref(); - if (void 0 !== o) { - if (o.vt !== s) return !1; - void 0 !== i && (t = i(t, e)), o.commitValue(t, e), e++; - } - return !0; - }), $bd101b5e047d4d04$export$9c068ae9cc5db4e8; - } - commitValue(t, s) { - this.setValue(t); - } - disconnected() { - this.dt.disconnect(), this.ft.pause(); - } - reconnected() { - this.dt.reconnect(this), this.ft.resume(); - } -} -const $bd101b5e047d4d04$export$662eef59ff6bd56a = $bd101b5e047d4d04$export$99b43ad1ed32e735($bd101b5e047d4d04$export$39a433aa22cdf479), $bd101b5e047d4d04$export$eaa89ade56b7c0c1 = $bd101b5e047d4d04$export$99b43ad1ed32e735(/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */ class extends $bd101b5e047d4d04$export$39a433aa22cdf479 { - constructor(t){ - if (super(t), 2 !== t.type) throw Error("asyncAppend can only be used in child expressions"); - } - update(t, s) { - return this.ot = t, super.update(t, s); - } - commitValue(t, s) { - 0 === s && $bd101b5e047d4d04$export$7f600b8138c094dc(this.ot); - const i = $bd101b5e047d4d04$export$291b2338ad9b0b30(this.ot); - $bd101b5e047d4d04$export$cb8bf9562088e9f4(i, t); - } -}), $bd101b5e047d4d04$var$Js = (t)=>$bd101b5e047d4d04$export$6a0e8de894d2fcca(t) ? t._$litType$.h : t.strings, $bd101b5e047d4d04$export$69a3209f1a06c04d = $bd101b5e047d4d04$export$99b43ad1ed32e735(class extends $bd101b5e047d4d04$export$befdefbdce210f91 { - constructor(t){ - super(t), this.yt = new WeakMap; - } - render(t) { - return [ - t - ]; - } - update(t, [s]) { - const i = $bd101b5e047d4d04$export$6b6d145ec2a44ca9(this.bt) ? $bd101b5e047d4d04$var$Js(this.bt) : null, e = $bd101b5e047d4d04$export$6b6d145ec2a44ca9(s) ? $bd101b5e047d4d04$var$Js(s) : null; - if (null !== i && (null === e || i !== e)) { - const s = $bd101b5e047d4d04$export$59e9bce518cde500(t).pop(); - let e = this.yt.get(i); - if (void 0 === e) { - const t = document.createDocumentFragment(); - e = $bd101b5e047d4d04$export$b3890eb0ae9dca99($bd101b5e047d4d04$export$45b790e32b2810ee, t), e.setConnected(!1), this.yt.set(i, e); - } - $bd101b5e047d4d04$export$ea70d9dd5965b1c8(e, [ - s - ]), $bd101b5e047d4d04$export$291b2338ad9b0b30(e, void 0, s); - } - if (null !== e) { - if (null === i || i !== e) { - const s = this.yt.get(e); - if (void 0 !== s) { - const i = $bd101b5e047d4d04$export$59e9bce518cde500(s).pop(); - $bd101b5e047d4d04$export$7f600b8138c094dc(t), $bd101b5e047d4d04$export$291b2338ad9b0b30(t, void 0, i), $bd101b5e047d4d04$export$ea70d9dd5965b1c8(t, [ - i - ]); - } - } - this.bt = s; - } else this.bt = void 0; - return this.render(s); - } -}), $bd101b5e047d4d04$export$7877a478dd30fd3d = (t, s, i)=>{ - for (const i of s)if (i[0] === t) return (0, i[1])(); - return i?.(); -}, $bd101b5e047d4d04$export$56cc687933817664 = $bd101b5e047d4d04$export$99b43ad1ed32e735(/** - * @license - * Copyright 2018 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */ class extends $bd101b5e047d4d04$export$befdefbdce210f91 { - constructor(t){ - if (super(t), 1 !== t.type || "class" !== t.name || t.strings?.length > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute."); - } - render(t) { - return " " + Object.keys(t).filter((s)=>t[s]).join(" ") + " "; - } - update(t, [s]) { - if (void 0 === this.gt) { - this.gt = new Set, void 0 !== t.strings && (this.wt = new Set(t.strings.join(" ").split(/\s/).filter((t)=>"" !== t))); - for(const t in s)s[t] && !this.wt?.has(t) && this.gt.add(t); - return this.render(s); - } - const i = t.element.classList; - for (const t of this.gt)t in s || (i.remove(t), this.gt.delete(t)); - for(const t in s){ - const e = !!s[t]; - e === this.gt.has(t) || this.wt?.has(t) || (e ? (i.add(t), this.gt.add(t)) : (i.remove(t), this.gt.delete(t))); - } - return $bd101b5e047d4d04$export$9c068ae9cc5db4e8; - } -}), $bd101b5e047d4d04$var$Xs = {}, $bd101b5e047d4d04$export$864d727b48066337 = $bd101b5e047d4d04$export$99b43ad1ed32e735(class extends $bd101b5e047d4d04$export$befdefbdce210f91 { - constructor(){ - super(...arguments), this._t = $bd101b5e047d4d04$var$Xs; - } - render(t, s) { - return s(); - } - update(t, [s, i]) { - if (Array.isArray(s)) { - if (Array.isArray(this._t) && this._t.length === s.length && s.every((t, s)=>t === this._t[s])) return $bd101b5e047d4d04$export$9c068ae9cc5db4e8; - } else if (this._t === s) return $bd101b5e047d4d04$export$9c068ae9cc5db4e8; - return this._t = Array.isArray(s) ? Array.from(s) : s, this.render(s, i); - } -}), $bd101b5e047d4d04$export$f68dd208b5df064d = (t)=>t ?? $bd101b5e047d4d04$export$45b790e32b2810ee /** - * @license - * Copyright 2021 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */ ; -function* $bd101b5e047d4d04$export$f7e2c8231c57a8bd(t, s) { - const i = "function" == typeof s; - if (void 0 !== t) { - let e = -1; - for (const n of t)e > -1 && (yield i ? s(e) : s), e++, yield n; - } -} -/** - * @license - * Copyright 2021 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */ const $bd101b5e047d4d04$export$8dbf9c790527241e = $bd101b5e047d4d04$export$99b43ad1ed32e735(class extends $bd101b5e047d4d04$export$befdefbdce210f91 { - constructor(){ - super(...arguments), this.key = $bd101b5e047d4d04$export$45b790e32b2810ee; - } - render(t, s) { - return this.key = t, s; - } - update(t, [s, i]) { - return s !== this.key && ($bd101b5e047d4d04$export$ea70d9dd5965b1c8(t), this.key = s), i; - } -}), $bd101b5e047d4d04$export$28cf49ad70f82d12 = $bd101b5e047d4d04$export$99b43ad1ed32e735(/** - * @license - * Copyright 2020 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */ class extends $bd101b5e047d4d04$export$befdefbdce210f91 { - constructor(t){ - if (super(t), 3 !== t.type && 1 !== t.type && 4 !== t.type) throw Error("The `live` directive is not allowed on child or event bindings"); - if (!$bd101b5e047d4d04$export$7f431ad0fff82fd9(t)) throw Error("`live` bindings can only contain a single expression"); - } - render(t) { - return t; - } - update(t, [s]) { - if (s === $bd101b5e047d4d04$export$9c068ae9cc5db4e8 || s === $bd101b5e047d4d04$export$45b790e32b2810ee) return s; - const i = t.element, e = t.name; - if (3 === t.type) { - if (s === i[e]) return $bd101b5e047d4d04$export$9c068ae9cc5db4e8; - } else if (4 === t.type) { - if (!!s === i.hasAttribute(e)) return $bd101b5e047d4d04$export$9c068ae9cc5db4e8; - } else if (1 === t.type && i.getAttribute(e) === s + "") return $bd101b5e047d4d04$export$9c068ae9cc5db4e8; - return $bd101b5e047d4d04$export$ea70d9dd5965b1c8(t), s; - } -}); -/** - * @license - * Copyright 2021 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */ function* $bd101b5e047d4d04$export$871de8747c9eaa88(t, s) { - if (void 0 !== t) { - let i = 0; - for (const e of t)yield s(e, i++); - } -} -/** - * @license - * Copyright 2021 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */ function* $bd101b5e047d4d04$export$d02631cccf789723(t, s, i = 1) { - const e = void 0 === s ? 0 : t; - s ??= t; - for(let t = e; i > 0 ? t < s : s < t; t += i)yield t; -} -/** - * @license - * Copyright 2020 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */ const $bd101b5e047d4d04$export$7d1e3a5e95ceca43 = ()=>new $bd101b5e047d4d04$var$ci; -class $bd101b5e047d4d04$var$ci { -} -const $bd101b5e047d4d04$var$li = new WeakMap, $bd101b5e047d4d04$export$eff4d24c3ff7876e = $bd101b5e047d4d04$export$99b43ad1ed32e735(class extends $bd101b5e047d4d04$export$7d025501802325e { - render(t) { - return $bd101b5e047d4d04$export$45b790e32b2810ee; - } - update(t, [s]) { - const i = s !== this.ct; - return i && void 0 !== this.ct && this.St(void 0), (i || this.$t !== this.Tt) && (this.ct = s, this.xt = t.options?.host, this.St(this.Tt = t.element)), $bd101b5e047d4d04$export$45b790e32b2810ee; - } - St(t) { - if (this.isConnected || (t = void 0), "function" == typeof this.ct) { - const s = this.xt ?? globalThis; - let i = $bd101b5e047d4d04$var$li.get(s); - void 0 === i && (i = new WeakMap, $bd101b5e047d4d04$var$li.set(s, i)), void 0 !== i.get(this.ct) && this.ct.call(this.xt, void 0), i.set(this.ct, t), void 0 !== t && this.ct.call(this.xt, t); - } else this.ct.value = t; - } - get $t() { - return "function" == typeof this.ct ? $bd101b5e047d4d04$var$li.get(this.xt ?? globalThis)?.get(this.ct) : this.ct?.value; - } - disconnected() { - this.$t === this.Tt && this.St(void 0); - } - reconnected() { - this.St(this.Tt); - } -}), $bd101b5e047d4d04$var$ui = (t, s, i)=>{ - const e = new Map; - for(let n = s; n <= i; n++)e.set(t[n], n); - return e; -}, $bd101b5e047d4d04$export$76d90c956114f2c2 = $bd101b5e047d4d04$export$99b43ad1ed32e735(class extends $bd101b5e047d4d04$export$befdefbdce210f91 { - constructor(t){ - if (super(t), 2 !== t.type) throw Error("repeat() can only be used in text expressions"); - } - Et(t, s, i) { - let e; - void 0 === i ? i = s : void 0 !== s && (e = s); - const n = [], r = []; - let o = 0; - for (const s of t)n[o] = e ? e(s, o) : o, r[o] = i(s, o), o++; - return { - values: r, - keys: n - }; - } - render(t, s, i) { - return this.Et(t, s, i).values; - } - update(t, [s, i, e]) { - const n = $bd101b5e047d4d04$export$59e9bce518cde500(t), { values: r, keys: o } = this.Et(s, i, e); - if (!Array.isArray(n)) return this.Ct = o, r; - const h = this.Ct ??= [], c = []; - let l, a, u = 0, d = n.length - 1, f = 0, p = r.length - 1; - for(; u <= d && f <= p;)if (null === n[u]) u++; - else if (null === n[d]) d--; - else if (h[u] === o[f]) c[f] = $bd101b5e047d4d04$export$cb8bf9562088e9f4(n[u], r[f]), u++, f++; - else if (h[d] === o[p]) c[p] = $bd101b5e047d4d04$export$cb8bf9562088e9f4(n[d], r[p]), d--, p--; - else if (h[u] === o[p]) c[p] = $bd101b5e047d4d04$export$cb8bf9562088e9f4(n[u], r[p]), $bd101b5e047d4d04$export$291b2338ad9b0b30(t, c[p + 1], n[u]), u++, p--; - else if (h[d] === o[f]) c[f] = $bd101b5e047d4d04$export$cb8bf9562088e9f4(n[d], r[f]), $bd101b5e047d4d04$export$291b2338ad9b0b30(t, n[u], n[d]), d--, f++; - else if (void 0 === l && (l = $bd101b5e047d4d04$var$ui(o, f, p), a = $bd101b5e047d4d04$var$ui(h, u, d)), l.has(h[u])) { - if (l.has(h[d])) { - const s = a.get(o[f]), i = void 0 !== s ? n[s] : null; - if (null === i) { - const s = $bd101b5e047d4d04$export$291b2338ad9b0b30(t, n[u]); - $bd101b5e047d4d04$export$cb8bf9562088e9f4(s, r[f]), c[f] = s; - } else c[f] = $bd101b5e047d4d04$export$cb8bf9562088e9f4(i, r[f]), $bd101b5e047d4d04$export$291b2338ad9b0b30(t, n[u], i), n[s] = null; - f++; - } else $bd101b5e047d4d04$export$3133b3144bbba267(n[d]), d--; - } else $bd101b5e047d4d04$export$3133b3144bbba267(n[u]), u++; - for(; f <= p;){ - const s = $bd101b5e047d4d04$export$291b2338ad9b0b30(t, c[p + 1]); - $bd101b5e047d4d04$export$cb8bf9562088e9f4(s, r[f]), c[f++] = s; - } - for(; u <= d;){ - const t = n[u++]; - null !== t && $bd101b5e047d4d04$export$3133b3144bbba267(t); - } - return this.Ct = o, $bd101b5e047d4d04$export$ea70d9dd5965b1c8(t, c), $bd101b5e047d4d04$export$9c068ae9cc5db4e8; - } -}), $bd101b5e047d4d04$var$fi = "important", $bd101b5e047d4d04$var$pi = " !" + $bd101b5e047d4d04$var$fi, $bd101b5e047d4d04$export$1e5b4ce2fa884e6a = $bd101b5e047d4d04$export$99b43ad1ed32e735(class extends $bd101b5e047d4d04$export$befdefbdce210f91 { - constructor(t){ - if (super(t), 1 !== t.type || "style" !== t.name || t.strings?.length > 2) throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute."); - } - render(t) { - return Object.keys(t).reduce((s, i)=>{ - const e = t[i]; - return null == e ? s : s + `${i = i.includes("-") ? i : i.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g, "-$&").toLowerCase()}:${e};`; - }, ""); - } - update(t, [s]) { - const { style: i } = t.element; - if (void 0 === this.Pt) return this.Pt = new Set(Object.keys(s)), this.render(s); - for (const t of this.Pt)null == s[t] && (this.Pt.delete(t), t.includes("-") ? i.removeProperty(t) : i[t] = null); - for(const t in s){ - const e = s[t]; - if (null != e) { - this.Pt.add(t); - const s = "string" == typeof e && e.endsWith($bd101b5e047d4d04$var$pi); - t.includes("-") || s ? i.setProperty(t, s ? e.slice(0, -11) : e, s ? $bd101b5e047d4d04$var$fi : "") : i[t] = e; - } - } - return $bd101b5e047d4d04$export$9c068ae9cc5db4e8; - } -}), $bd101b5e047d4d04$export$e446d0492332fcd4 = $bd101b5e047d4d04$export$99b43ad1ed32e735(/** - * @license - * Copyright 2020 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */ class extends $bd101b5e047d4d04$export$befdefbdce210f91 { - constructor(t){ - if (super(t), 2 !== t.type) throw Error("templateContent can only be used in child bindings"); - } - render(t) { - return this.At === t ? $bd101b5e047d4d04$export$9c068ae9cc5db4e8 : (this.At = t, document.importNode(t.content, !0)); - } -}); -class $bd101b5e047d4d04$export$3bebd1f0e3943985 extends $bd101b5e047d4d04$export$befdefbdce210f91 { - constructor(t){ - if (super(t), this.bt = $bd101b5e047d4d04$export$45b790e32b2810ee, 2 !== t.type) throw Error(this.constructor.directiveName + "() can only be used in child bindings"); - } - render(t) { - if (t === $bd101b5e047d4d04$export$45b790e32b2810ee || null == t) return this.Mt = void 0, this.bt = t; - if (t === $bd101b5e047d4d04$export$9c068ae9cc5db4e8) return t; - if ("string" != typeof t) throw Error(this.constructor.directiveName + "() called with a non-string value"); - if (t === this.bt) return this.Mt; - this.bt = t; - const s = [ - t - ]; - return s.raw = s, this.Mt = { - _$litType$: this.constructor.resultType, - strings: s, - values: [] - }; - } -} -$bd101b5e047d4d04$export$3bebd1f0e3943985.directiveName = "unsafeHTML", $bd101b5e047d4d04$export$3bebd1f0e3943985.resultType = 1; -const $bd101b5e047d4d04$export$b6e69390c23686fb = $bd101b5e047d4d04$export$99b43ad1ed32e735($bd101b5e047d4d04$export$3bebd1f0e3943985); -/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */ class $bd101b5e047d4d04$var$gi extends $bd101b5e047d4d04$export$3bebd1f0e3943985 { -} -$bd101b5e047d4d04$var$gi.directiveName = "unsafeSVG", $bd101b5e047d4d04$var$gi.resultType = 2; -const $bd101b5e047d4d04$export$1cb98903879b8bf5 = $bd101b5e047d4d04$export$99b43ad1ed32e735($bd101b5e047d4d04$var$gi), $bd101b5e047d4d04$var$_i = (t)=>!$bd101b5e047d4d04$export$c3825b437cbdea5c(t) && "function" == typeof t.then, $bd101b5e047d4d04$var$Si = 1073741823; -/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */ class $bd101b5e047d4d04$export$51c6edf8ee19b71a extends $bd101b5e047d4d04$export$7d025501802325e { - constructor(){ - super(...arguments), this.kt = $bd101b5e047d4d04$var$Si, this.Ut = [], this.dt = new $bd101b5e047d4d04$var$Ws(this), this.ft = new $bd101b5e047d4d04$var$Zs; - } - render(...t) { - return t.find((t)=>!$bd101b5e047d4d04$var$_i(t)) ?? $bd101b5e047d4d04$export$9c068ae9cc5db4e8; - } - update(t, s) { - const i = this.Ut; - let e = i.length; - this.Ut = s; - const n = this.dt, r = this.ft; - this.isConnected || this.disconnected(); - for(let t = 0; t < s.length && !(t > this.kt); t++){ - const o = s[t]; - if (!$bd101b5e047d4d04$var$_i(o)) return this.kt = t, o; - t < e && o === i[t] || (this.kt = $bd101b5e047d4d04$var$Si, e = 0, Promise.resolve(o).then(async (t)=>{ - for(; r.get();)await r.get(); - const s = n.deref(); - if (void 0 !== s) { - const i = s.Ut.indexOf(o); - i > -1 && i < s.kt && (s.kt = i, s.setValue(t)); - } - })); - } - return $bd101b5e047d4d04$export$9c068ae9cc5db4e8; - } - disconnected() { - this.dt.disconnect(), this.ft.pause(); - } - reconnected() { - this.dt.reconnect(this), this.ft.resume(); - } -} -const $bd101b5e047d4d04$export$a40009bd2c363351 = $bd101b5e047d4d04$export$99b43ad1ed32e735($bd101b5e047d4d04$export$51c6edf8ee19b71a); -/** - * @license - * Copyright 2021 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */ function $bd101b5e047d4d04$export$a55877ca9db47377(t, s, i) { - return t ? s(t) : i?.(t); -} -/** - * @license - * Copyright 2020 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */ const $bd101b5e047d4d04$var$Ei = Symbol.for(""), $bd101b5e047d4d04$var$Ci = (t)=>{ - if (t?.r === $bd101b5e047d4d04$var$Ei) return t?._$litStatic$; -}, $bd101b5e047d4d04$export$4b395f4b8c9b548e = (t)=>({ - _$litStatic$: t, - r: $bd101b5e047d4d04$var$Ei - }), $bd101b5e047d4d04$export$c8ec6e1ec9fefcb0 = (t, ...s)=>({ - _$litStatic$: s.reduce((s, i, e)=>s + ((t)=>{ - if (void 0 !== t._$litStatic$) return t._$litStatic$; - throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`); - })(i) + t[e + 1], t[0]), - r: $bd101b5e047d4d04$var$Ei - }), $bd101b5e047d4d04$var$Mi = new Map, $bd101b5e047d4d04$export$878791788f808fc0 = (t)=>(s, ...i)=>{ - const e = i.length; - let n, r; - const o = [], h = []; - let c, l = 0, a = !1; - for(; l < e;){ - for(c = s[l]; l < e && void 0 !== (r = i[l], n = $bd101b5e047d4d04$var$Ci(r));)c += n + s[++l], a = !0; - l !== e && h.push(r), o.push(c), l++; - } - if (l === e && o.push(s[e]), a) { - const t = o.join("$$lit$$"); - void 0 === (s = $bd101b5e047d4d04$var$Mi.get(t)) && (o.raw = o, $bd101b5e047d4d04$var$Mi.set(t, s = o)), i = h; - } - return t(s, ...i); - }, $bd101b5e047d4d04$export$a633fc168f84f25d = $bd101b5e047d4d04$export$878791788f808fc0($bd101b5e047d4d04$export$c0bb0b647f701bb5), $bd101b5e047d4d04$export$bc0275dbd7416569 = $bd101b5e047d4d04$export$878791788f808fc0($bd101b5e047d4d04$export$7ed1367e7fa1ad68); -/** - * @license - * Copyright 2021 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */ window.litDisableBundleWarning || console.warn("Lit has been loaded from a bundle that combines all core features into a single file. To reduce transfer size and parsing cost, consider using the `lit` npm package directly in your project."); + */ const $a00bca1a101a9088$export$6acf61af03e62db = !1; + -class $de5768471e29ae80$export$c622f67f045f310d extends (0, $bd101b5e047d4d04$export$3f2f9f5909897157) { + +class $de5768471e29ae80$export$c622f67f045f310d extends (0, $ab210b2da7b39b9d$export$3f2f9f5909897157) { static get properties() { return { _config: { @@ -1298,8 +734,8 @@ class $de5768471e29ae80$export$c622f67f045f310d extends (0, $bd101b5e047d4d04$ex this.dispatchEvent(event); } render() { - if (!this.hass || !this._config) return (0, $bd101b5e047d4d04$export$c0bb0b647f701bb5)``; - return (0, $bd101b5e047d4d04$export$c0bb0b647f701bb5)` + if (!this.hass || !this._config) return (0, $f58f44579a4747ac$export$c0bb0b647f701bb5)``; + return (0, $f58f44579a4747ac$export$c0bb0b647f701bb5)` @@ -2990,7 +2426,7 @@ function $07b3e4094688f328$export$83a5095ba0388927(entity) { return htmlTemplate; } function $07b3e4094688f328$export$e26cf6a49fd1ec72() { - const htmlTemplate = (0, $bd101b5e047d4d04$export$c0bb0b647f701bb5)` + const htmlTemplate = (0, $f58f44579a4747ac$export$c0bb0b647f701bb5)` @@ -3004,9 +2440,75 @@ function $07b3e4094688f328$export$e26cf6a49fd1ec72() { + +/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */ const $107bb7d062dde330$export$9ba3b3f20a85bfa = { + ATTRIBUTE: 1, + CHILD: 2, + PROPERTY: 3, + BOOLEAN_ATTRIBUTE: 4, + EVENT: 5, + ELEMENT: 6 +}, $107bb7d062dde330$export$99b43ad1ed32e735 = (t)=>(...e)=>({ + _$litDirective$: t, + values: e + }); +class $107bb7d062dde330$export$befdefbdce210f91 { + constructor(t){} + get _$AU() { + return this._$AM._$AU; + } + _$AT(t, e, i) { + this.t = t, this._$AM = e, this.i = i; + } + _$AS(t, e) { + return this.update(t, e); + } + update(t, e) { + return this.render(...e); + } +} + + +/** + * @license + * Copyright 2018 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */ const $19f464fcda7d2482$var$ee = "important", $19f464fcda7d2482$var$ie = " !" + $19f464fcda7d2482$var$ee, $19f464fcda7d2482$export$1e5b4ce2fa884e6a = (0, $107bb7d062dde330$export$99b43ad1ed32e735)(class extends (0, $107bb7d062dde330$export$befdefbdce210f91) { + constructor(e){ + if (super(e), e.type !== (0, $107bb7d062dde330$export$9ba3b3f20a85bfa).ATTRIBUTE || "style" !== e.name || e.strings?.length > 2) throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute."); + } + render(t) { + return Object.keys(t).reduce((e, r)=>{ + const s = t[r]; + return null == s ? e : e + `${r = r.includes("-") ? r : r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g, "-$&").toLowerCase()}:${s};`; + }, ""); + } + update(t, [e]) { + const { style: r } = t.element; + if (void 0 === this.ft) return this.ft = new Set(Object.keys(e)), this.render(e); + for (const t of this.ft)null == e[t] && (this.ft.delete(t), t.includes("-") ? r.removeProperty(t) : r[t] = null); + for(const t in e){ + const s = e[t]; + if (null != s) { + this.ft.add(t); + const e = "string" == typeof s && s.endsWith($19f464fcda7d2482$var$ie); + t.includes("-") || e ? r.setProperty(t, e ? s.slice(0, -11) : s, e ? $19f464fcda7d2482$var$ee : "") : r[t] = s; + } + } + return 0, $f58f44579a4747ac$export$9c068ae9cc5db4e8; + } +}); + + + + function $654f96c20a3bcd40$export$3f4c9efb42c5bfd8(c) { // Render the HTML template using the provided object `c` - const htmlTemplate = (0, $bd101b5e047d4d04$export$c0bb0b647f701bb5)` + const htmlTemplate = (0, $f58f44579a4747ac$export$c0bb0b647f701bb5)`
${c.title}
@@ -3016,26 +2518,26 @@ function $654f96c20a3bcd40$export$3f4c9efb42c5bfd8(c) {
-
${c.rank[1]} ${c.name[1]}
${c.record[1]}
-
-
-
-
-
-
${c.score[1]}
   
-
${c.score[2]}
-
-
${c.rank[2]} ${c.name[2]}
${c.record[2]}
-
-
-
-
${c.playClock}
-
-
-
-
-
-
${c.in0}
-
${c.seriesSummary}
@@ -3125,25 +2627,25 @@ function $654f96c20a3bcd40$export$3f4c9efb42c5bfd8(c) {
${c.in2}
-

${c.lastPlay}

-
${c.gameBar}
${c.barLabel[1]}
-
-
${c.title}
@@ -3197,9 +2699,10 @@ function $5cc9eebd21270610$export$cbe2629e62de17f0(c) { + function $ba84a5acf45954c4$export$823f4865e91cfbff(c) { // Render the HTML template using the provided object `c` - const htmlTemplate = (0, $bd101b5e047d4d04$export$c0bb0b647f701bb5)` + const htmlTemplate = (0, $f58f44579a4747ac$export$c0bb0b647f701bb5)`
${c.title}
@@ -3209,25 +2712,25 @@ function $ba84a5acf45954c4$export$823f4865e91cfbff(c) {
-
${c.score[1]}
   
-
${c.score[2]}
${c.finalTerm}
-
${c.seriesSummary}
@@ -3257,9 +2760,10 @@ function $ba84a5acf45954c4$export$823f4865e91cfbff(c) { + function $32e2f72be859b718$export$d6bad15bd473a528(c) { // Render the HTML template using the provided object `c` - const htmlTemplate = (0, $bd101b5e047d4d04$export$c0bb0b647f701bb5)` + const htmlTemplate = (0, $f58f44579a4747ac$export$c0bb0b647f701bb5)`
${c.title}
@@ -3269,7 +2773,7 @@ function $32e2f72be859b718$export$d6bad15bd473a528(c) { -
${c.seriesSummary}
@@ -3683,7 +3187,7 @@ function $8d10daf0cda71373$export$ae478c65328ff5a5(t, stateObj, c, team, oppo) { -const $1a7c5d625ead7579$export$c579ff79a032fc68 = (0, $bd101b5e047d4d04$export$dbf350e5966cf602)` +const $1a7c5d625ead7579$export$c579ff79a032fc68 = (0, $def2de46b9306e8a$export$dbf350e5966cf602)` .card { position: relative; overflow: hidden; padding: 16px 16px 20px; font-weight: 400; border-radius: var(--ha-card-border-radius, 10px); } .title { text-align: center; font-size: 1.2em; font-weight: 500; } .team-bg { opacity: 0.08; position: absolute; top: -20%; left: -20%; width: 58%; z-index: 0; } @@ -3747,7 +3251,7 @@ const $1a7c5d625ead7579$export$c579ff79a032fc68 = (0, $bd101b5e047d4d04$export$d `; -class $a510245ba2c1e365$export$c12aa10d47d2f051 extends (0, $bd101b5e047d4d04$export$3f2f9f5909897157) { +class $a510245ba2c1e365$export$c12aa10d47d2f051 extends (0, $ab210b2da7b39b9d$export$3f2f9f5909897157) { static get properties() { return { hass: {}, @@ -3755,7 +3259,7 @@ class $a510245ba2c1e365$export$c12aa10d47d2f051 extends (0, $bd101b5e047d4d04$ex }; } static get styles() { - return (0, $bd101b5e047d4d04$export$dbf350e5966cf602)` + return (0, $def2de46b9306e8a$export$dbf350e5966cf602)` ${0, $1a7c5d625ead7579$export$c579ff79a032fc68} `; } diff --git a/dist/ha-teamtracker-card.js.map b/dist/ha-teamtracker-card.js.map index b7bfec2..fd60526 100644 --- a/dist/ha-teamtracker-card.js.map +++ b/dist/ha-teamtracker-card.js.map @@ -1 +1 @@ -{"mappings":"ACAO,IAAI,4CAAU;AAEd,IAAI,4CAAoB;AACxB,IAAI,4CAAmB;AACvB,IAAI,4CAAsB;AAC1B,IAAI,4CAAsB;AAC1B,IAAI,4CAAqB;;;ACNhC,EAAE;AACF,2CAA2C;AAC3C,EAAE;A;;;;C,GEIF,MAGMA,2BAASC,YAKFC,4CACXF,yBAAOG,UAAAA,IAAAA,CAAAA,KACcC,MAApBJ,yBAAOK,QAAAA,IAA0BL,yBAAOK,QAAAA,CAASC,YAAAA,AAAAA,KAClD,wBAAwBC,SAASC,SAAAA,IACjC,aAAaC,cAAcD,SAAAA,EAkBvBE,2BAAoBC,UAEpBC,2BAAc,IAAIC;AAAAA,MASXC;IAOX,YACEE,CAAAA,EACAC,CAAAA,EACAC,CAAAA,CAAAA;QAEA,IAVFC,IAAAA,CAAe,YAAA,GAAA,CAAI,GAUbD,MAAcR,0BAChB,MAAUU,MACR;QAGJD,IAAAA,CAAKH,OAAAA,GAAUA,GACfG,IAAAA,CAAKE,CAAAA,GAAWJ;IACjB;IAID,IAAA,aAAIK;QAGF,IAAIA,IAAaH,IAAAA,CAAKI,CAAAA;QACtB,MAAMN,IAAUE,IAAAA,CAAKE,CAAAA;QACrB,IAAInB,6CAAAA,KAA8CE,MAAfkB,GAA0B;YAC3D,MAAME,IAAAA,KAAwBpB,MAAZa,KAA4C,MAAnBA,EAAQQ,MAAAA;YAC/CD,KACFF,CAA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ACd,UAAU;QACN,aAAa;QACb,qBAAqB;QACrB,aAAa;QACb,WAAW;QACX,YAAY;QACZ,YAAY;QACZ,YAAY;QACZ,aAAa;QACb,aAAa;QACb,aAAa;QACb,cAAc;QACd,cAAc;QACd,SAAS;QACT,YAAY;IAChB;IACA,uBAAuB;QACnB,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,YAAY;QACR,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,cAAc;QACV,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,WAAW;QACP,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,YAAY;QACR,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,QAAQ;QACJ,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,OAAO;QACH,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,cAAc;QACV,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,WAAW;QACP,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;AACJ;;;ACnJO,MAAM,4CAAQ;IACjB,UAAU;QACN,aAAa;QACb,qBAAqB;QACrB,aAAa;QACb,WAAW;QACX,YAAY;QACZ,YAAY;QACZ,YAAY;QACZ,aAAa;QACb,aAAa;QACb,aAAa;QACb,cAAc;QACd,cAAc;QACd,SAAS;QACT,YAAY;IAChB;IACA,uBAAuB;QACnB,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,YAAY;QACR,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,cAAc;QACV,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,WAAW;QACP,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,YAAY;QACR,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,QAAQ;QACJ,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,OAAO;QACH,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,cAAc;QACV,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,WAAW;QACP,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;AACJ;;;ACnJO,MAAM,4CAAK;IACd,UAAU;QACN,aAAa;QACb,qBAAqB;QACrB,aAAa;QACb,WAAW;QACX,YAAY;QACZ,YAAY;QACZ,YAAY;QACZ,aAAa;QACb,aAAa;QACb,aAAa;QACb,cAAc;QACd,cAAc;QACd,SAAS;QACT,YAAY;IAChB;IACA,uBAAuB;QACnB,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,YAAY;QACR,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,cAAc;QACV,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,WAAW;QACP,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,YAAY;QACR,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,QAAQ;QACJ,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,OAAO;QACH,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,cAAc;QACV,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,WAAW;QACP,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;AACJ;;;ACnJO,MAAM,4CAAS;IAClB,UAAU;QACN,aAAa;QACb,qBAAqB;QACrB,aAAa;QACb,WAAW;QACX,YAAY;QACZ,YAAY;QACZ,YAAY;QACZ,aAAa;QACb,aAAa;QACb,aAAa;QACb,cAAc;QACd,cAAc;QACd,SAAS;QACT,YAAY;IAChB;IACA,uBAAuB;QACnB,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,YAAY;QACR,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,cAAc;QACV,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,WAAW;QACP,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,YAAY;QACR,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,QAAQ;QACJ,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,OAAO;QACH,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,cAAc;QACV,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,WAAW;QACP,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;AACJ;;;ACnJO,MAAM,4CAAK;IACd,UAAU;QACN,aAAa;QACb,qBAAqB;QACrB,aAAa;QACb,WAAW;QACX,YAAY;QACZ,YAAY;QACZ,YAAY;QACZ,aAAa;QACb,aAAa;QACb,aAAa;QACb,cAAc;QACd,cAAc;QACd,SAAS;QACT,YAAY;IAChB;IACA,uBAAuB;QACnB,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,YAAY;QACR,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,cAAc;QACV,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,WAAW;QACP,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,YAAY;QACR,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,QAAQ;QACJ,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,OAAO;QACH,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,cAAc;QACV,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,WAAW;QACP,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;AACJ;;;ACnJO,MAAM,4CAAK;IACd,UAAU;QACN,aAAa;QACb,qBAAqB;QACrB,aAAa;QACb,WAAW;QACX,YAAY;QACZ,YAAY;QACZ,YAAY;QACZ,aAAa;QACb,aAAa;QACb,aAAa;QACb,cAAc;QACd,cAAc;QACd,SAAS;QACT,YAAY;IAChB;IACA,uBAAuB;QACnB,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,YAAY;QACR,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,cAAc;QACV,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,WAAW;QACP,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,YAAY;QACR,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,QAAQ;QACJ,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,OAAO;QACH,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,cAAc;QACV,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,WAAW;QACP,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;AACJ;;;ACnJO,MAAM,4CAAK;IACd,UAAU;QACN,aAAa;QACb,qBAAqB;QACrB,aAAa;QACb,WAAW;QACX,YAAY;QACZ,YAAY;QACZ,YAAY;QACZ,aAAa;QACb,aAAa;QACb,aAAa;QACb,cAAc;QACd,cAAc;QACd,SAAS;QACT,YAAY;IAChB;IACA,uBAAuB;QACnB,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,YAAY;QACR,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,cAAc;QACV,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,WAAW;QACP,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,YAAY;QACR,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,QAAQ;QACJ,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,OAAO;QACH,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,cAAc;QACV,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,WAAW;QACP,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;AACJ;;;ACnJO,MAAM,4CAAQ;IACjB,UAAU;QACN,aAAa;QACb,qBAAqB;QACrB,aAAa;QACb,WAAW;QACX,SAAS;QACT,YAAY;IAChB;IACA,YAAY;QACR,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,cAAc;QACV,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,WAAW;QACP,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,YAAY;QACR,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,cAAc;QACV,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,WAAW;QACP,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;AACJ;;;ACzFO,MAAM,4CAAK;IACd,UAAU;QACN,aAAa;QACb,qBAAqB;QACrB,aAAa;QACb,WAAW;QACX,YAAY;QACZ,YAAY;QACZ,YAAY;QACZ,aAAa;QACb,aAAa;QACb,aAAa;QACb,cAAc;QACd,cAAc;QACd,SAAS;QACT,YAAY;IAChB;IACA,uBAAuB;QACnB,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,YAAY;QACR,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,cAAc;QACV,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,WAAW;QACP,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,YAAY;QACR,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,QAAQ;QACJ,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,OAAO;QACH,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,cAAc;QACV,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,WAAW;QACP,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;AACJ;;;ACnJO,MAAM,4CAAQ;IACjB,UAAU;QACN,aAAa;QACb,qBAAqB;QACrB,aAAa;QACb,WAAW;QACX,YAAY;QACZ,YAAY;QACZ,YAAY;QACZ,aAAa;QACb,aAAa;QACb,aAAa;QACb,cAAc;QACd,cAAc;QACd,SAAS;QACT,YAAY;IAChB;IACA,uBAAuB;QACnB,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,YAAY;QACR,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,cAAc;QACV,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,WAAW;QACP,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,YAAY;QACR,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBA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,CAAC,aAAa,CAAC;IACvB;IAEJ,EAAE;IACF,8CAA8C;IAC9C,uCAAuC;IACvC,EAAE;IACE,OAAO,mBAAmB;QAC1B,sCAAsC;QAClC,OAAO,SAAS,aAAa,CAAC;IAClC;AAOJ;;;AnC3NA,eAAe,MAAM,CAAC,oBAAoB,CAAA,GAAA,yCAAc;AACxD,eAAe,MAAM,CAAC,2BAA2B,CAAA,GAAA,yCAAoB;AAErE,QAAQ,IAAI,CAAC,uCACT,kCACA,CAAA,GAAA,yCAAM;AAEV,EAAE;AACF,uDAAuD;AACvD,EAAE;AACF,OAAO,WAAW,GAAG,OAAO,WAAW,IAAI,EAAE,EAAE,mEAAmE;AAClH,OAAO,WAAW,CAAC,IAAI,CAAC;IACpB,MAAM;IACN,MAAM;IACN,SAAS;IACT,aAAa;AACjB","sources":["src/ha-teamtracker-card.js","src/const.js","src/card_editor.js","src/lit/lit-all.min.js","src/lit/lit-all.min.js/reactive-element/src/css-tag.ts","src/lit/lit-all.min.js/reactive-element/src/reactive-element.ts","src/lit/lit-all.min.js/lit-html/src/lit-html.ts","src/lit/lit-all.min.js/lit-element/src/lit-element.ts","src/lit/lit-all.min.js/lit-html/src/is-server.ts","src/lit/lit-all.min.js/lit-html/src/directive-helpers.ts","src/lit/lit-all.min.js/lit-html/src/directive.ts","src/lit/lit-all.min.js/lit-html/src/async-directive.ts","src/lit/lit-all.min.js/lit-html/src/directives/private-async-helpers.ts","src/lit/lit-all.min.js/lit-html/src/directives/async-replace.ts","src/lit/lit-all.min.js/lit-html/src/directives/async-append.ts","src/lit/lit-all.min.js/lit-html/src/directives/cache.ts","src/lit/lit-all.min.js/lit-html/src/directives/choose.ts","src/lit/lit-all.min.js/lit-html/src/directives/class-map.ts","src/lit/lit-all.min.js/lit-html/src/directives/guard.ts","src/lit/lit-all.min.js/lit-html/src/directives/if-defined.ts","src/lit/lit-all.min.js/lit-html/src/directives/join.ts","src/lit/lit-all.min.js/lit-html/src/directives/keyed.ts","src/lit/lit-all.min.js/lit-html/src/directives/live.ts","src/lit/lit-all.min.js/lit-html/src/directives/map.ts","src/lit/lit-all.min.js/lit-html/src/directives/range.ts","src/lit/lit-all.min.js/lit-html/src/directives/ref.ts","src/lit/lit-all.min.js/lit-html/src/directives/repeat.ts","src/lit/lit-all.min.js/lit-html/src/directives/style-map.ts","src/lit/lit-all.min.js/lit-html/src/directives/template-content.ts","src/lit/lit-all.min.js/lit-html/src/directives/unsafe-html.ts","src/lit/lit-all.min.js/lit-html/src/directives/unsafe-svg.ts","src/lit/lit-all.min.js/lit-html/src/directives/until.ts","src/lit/lit-all.min.js/lit-html/src/directives/when.ts","src/lit/lit-all.min.js/lit-html/src/static.ts","src/lit/lit-all.min.js/lit/src/index.all.ts","src/teamtracker_card.js","src/localize/translator.js","src/localize/languages/en.js","src/localize/languages/en_US.js","src/localize/languages/es.js","src/localize/languages/es_419.js","src/localize/languages/fr.js","src/localize/languages/it.js","src/localize/languages/nl.js","src/localize/languages/pt_BR.js","src/localize/languages/sk.js","src/localize/languages/sk_SK.js","src/render_bye.js","src/render_error.js","src/render_in.js","src/render_not_found.js","src/render_post.js","src/render_pre.js","src/set_defaults.js","src/set_sports.js","src/styles.js"],"sourcesContent":["import { VERSION } from \"./const.js\";\nimport { TeamtrackerCardEditor } from \"./card_editor.js\";\nimport { TeamTrackerCard } from \"./teamtracker_card.js\";\n\n\ncustomElements.define(\"teamtracker-card\", TeamTrackerCard);\ncustomElements.define(\"teamtracker-card-editor\", TeamtrackerCardEditor);\n\nconsole.info(\"%c TEAMTRACKER-CARD %s IS INSTALLED\",\n \"color: blue; font-weight: bold\",\n VERSION);\n\n//\n// Add card to list of Custom Cards in the Card Picker\n//\nwindow.customCards = window.customCards || []; // Create the list if it doesn't exist. Careful not to overwrite it\nwindow.customCards.push({\n type: \"teamtracker-card\",\n name: \"Team Tracker Card\",\n preview: false,\n description: \"Card to display the ha-teamtracker sensor\",\n});","export let VERSION = \"v0.14.3\";\n\nexport let GOLF_HEADSHOT_URL = \"https://a.espncdn.com/i/headshots/golf/players/full/\";\nexport let MMA_HEADSHOT_URL = \"https://a.espncdn.com/i/headshots/mma/players/full/\";\nexport let RACING_HEADSHOT_URL = \"https://a.espncdn.com/i/headshots/rpm/players/full/\";\nexport let TENNIS_HEADSHOT_URL = \"https://a.espncdn.com/i/headshots/tennis/players/full/\";\nexport let ERROR_HEADSHOT_URL = \"https://cdn-icons-png.freepik.com/512/9706/9706583.png\";","//\n// Define and register the UI Card Editor \n//\nimport { html, LitElement } from \"./lit/lit-all.min.js\";\n\n\nexport class TeamtrackerCardEditor extends LitElement {\n\n static get properties() {\n return {\n _config: { type: Object },\n currentPage: { type: String },\n entities: { type: Array },\n hass: { type: Object },\n _entity: { type: String },\n };\n }\n\n constructor() {\n super();\n this.currentPage = 'card';\n this._entity = '';\n this.entities = [];\n this._formValueChanged = this._formValueChanged.bind(this);\n }\n\n\n setConfig(config) {\n if (!config) {\n throw new Error(\"Invalid configuration\");\n }\n this._config = config;\n this._entity = config.entity || '';\n }\n \n\n get config() {\n return this._config;\n }\n \n updated(changedProperties) {\n if (changedProperties.has('hass')) {\n this.fetchEntities();\n }\n if (changedProperties.has('_config') && this._config && this._config.entity) {\n this._entity = this._config.entity;\n }\n }\n \n fetchEntities() {\n if (this.hass) {\n this.entities = Object.keys(this.hass.states).filter((e) =>\n e.startsWith('sensor.') &&\n this.hass.states[e].attributes.hasOwnProperty('sport')\n )\n .sort((a, b) => a.localeCompare(b));\n }\n }\n\n configChanged(newConfig) {\n const event = new Event(\"config-changed\", {\n bubbles: true,\n composed: true,\n });\n event.detail = { config: newConfig };\n this.dispatchEvent(event);\n }\n \n _EntityChanged(event, key) {\n if (!this._config) {\n return;\n }\n \n const newConfig = { ...this._config };\n \n if (key === 'entity') {\n newConfig.entity = event.target.value;\n this._entity = event.target.value;\n }\n \n this.configChanged(newConfig);\n this.requestUpdate();\n }\n \n _valueChanged(event, key) {\n if (!this._config) {\n return;\n }\n \n let newConfig = { ...this._config };\n \n if (key.includes('.')) {\n const parts = key.split('.');\n let currentLevel = newConfig;\n \n for (let i = 0; i < parts.length - 1; i++) {\n const part = parts[i];\n \n currentLevel[part] = { ...currentLevel[part] };\n \n currentLevel = currentLevel[part];\n }\n \n const finalKey = parts[parts.length - 1];\n if (event.target.checked !== undefined) {\n currentLevel[finalKey] = event.target.checked;\n } else {\n currentLevel[finalKey] = event.target.value;\n }\n } else {\n if (event.target.checked !== undefined) {\n newConfig[key] = event.target.checked;\n } else {\n newConfig[key] = event.target.value;\n }\n }\n \n this.configChanged(newConfig);\n this.requestUpdate();\n }\n \n\n _formValueChanged(event) {\n if (event.target.tagName.toLowerCase() === 'ha-form') {\n const newConfig = event.detail.value;\n this.configChanged(newConfig);\n this.requestUpdate();\n }\n }\n \n // This function is called when the input element of the editor loses focus\n entityChanged(ev) {\n\n // We make a copy of the current config so we don't accidentally overwrite anything too early\n const _config = Object.assign({}, this._config);\n // Then we update the entity value with what we just got from the input field\n _config.entity = ev.target.value;\n // And finally write back the updated configuration all at once\n this._config = _config;\n\n // A config-changed event will tell lovelace we have made changed to the configuration\n // this make sure the changes are saved correctly later and will update the preview\n const event = new CustomEvent(\"config-changed\", {\n detail: { config: _config },\n bubbles: true,\n composed: true,\n });\n this.dispatchEvent(event);\n }\n\n render() {\n if (!this.hass || !this._config) {\n return html``;\n }\n\n return html`\n \n
\n

Teamtracker Sensor:

\n
\n this._EntityChanged(e, 'entity')}\n @closed=${(ev) => ev.stopPropagation()}\n >\n ${this.entities.map((entity) => {\n return html`${entity}`;\n })}\n \n
\n
\n

Settings:

\n this._valueChanged(e, 'home_side')}\n @closed=${(ev) => ev.stopPropagation()}\n >\n Team on Left\n Home on Left\n Home on Right\n \n
\n this._valueChanged(e, 'show_league')}\"\n .checked=\"${this._config.show_league === true}\"\n >\n \n \n
\n
\n this._valueChanged(e, 'show_rank')}\"\n .checked=\"${this._config.show_rank !== false}\"\n >\n \n \n
\n
\n this._valueChanged(e, 'show_timeouts')}\"\n .checked=\"${this._config.show_timeouts!== false}\"\n >\n \n \n
\n
\n this._valueChanged(e, 'outline')}\"\n .checked=\"${this._config.outline=== true}\"\n >\n \n \n
\n
\n this._valueChanged(e, 'outline_color')}\"\n >\n \n
\n
\n

Overrides:

\n this._valueChanged(e, 'card_title')}\"\n >\n \n
\n this._valueChanged(e, 'team_url')}\"\n >\n \n
\n this._valueChanged(e, 'opponent_url')}\"\n >\n \n
\n this._valueChanged(e, 'bottom_url')}\"\n >\n \n
\n
\n this._valueChanged(e, 'debug')}\"\n .checked=\"${this._config.debug=== true}\"\n >\n \n \n
\n
\n `;\n }\n}","/**\n * @license\n * Copyright 2019 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst tt=globalThis,st=tt.ShadowRoot&&(void 0===tt.ShadyCSS||tt.ShadyCSS.nativeShadow)&&\"adoptedStyleSheets\"in Document.prototype&&\"replace\"in CSSStyleSheet.prototype,it=Symbol(),et=new WeakMap;class ht{constructor(t,s,i){if(this._$cssResult$=!0,i!==it)throw Error(\"CSSResult is not constructable. Use `unsafeCSS` or `css` instead.\");this.cssText=t,this.t=s}get styleSheet(){let t=this.i;const s=this.t;if(st&&void 0===t){const i=void 0!==s&&1===s.length;i&&(t=et.get(s)),void 0===t&&((this.i=t=new CSSStyleSheet).replaceSync(this.cssText),i&&et.set(s,t))}return t}toString(){return this.cssText}}const ot=t=>new ht(\"string\"==typeof t?t:t+\"\",void 0,it),rt=(t,...s)=>{const i=1===t.length?t[0]:s.reduce(((s,i,e)=>s+(t=>{if(!0===t._$cssResult$)return t.cssText;if(\"number\"==typeof t)return t;throw Error(\"Value passed to 'css' function must be a 'css' function result: \"+t+\". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.\")})(i)+t[e+1]),t[0]);return new ht(i,t,it)},nt=(t,s)=>{if(st)t.adoptedStyleSheets=s.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of s){const s=document.createElement(\"style\"),e=tt.litNonce;void 0!==e&&s.setAttribute(\"nonce\",e),s.textContent=i.cssText,t.appendChild(s)}},ct=st?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let s=\"\";for(const i of t.cssRules)s+=i.cssText;return ot(s)})(t):t\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */,{is:at,defineProperty:lt,getOwnPropertyDescriptor:ut,getOwnPropertyNames:dt,getOwnPropertySymbols:ft,getPrototypeOf:pt}=Object,vt=globalThis,mt=vt.trustedTypes,yt=mt?mt.emptyScript:\"\",gt=vt.reactiveElementPolyfillSupport,_t=(t,s)=>t,bt={toAttribute(t,s){switch(s){case Boolean:t=t?yt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},St=(t,s)=>!at(t,s),wt={attribute:!0,type:String,converter:bt,reflect:!1,hasChanged:St};Symbol.metadata??=Symbol(\"metadata\"),vt.litPropertyMetadata??=new WeakMap;class $t extends HTMLElement{static addInitializer(t){this.o(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this.u&&[...this.u.keys()]}static createProperty(t,s=wt){if(s.state&&(s.attribute=!1),this.o(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),e=this.getPropertyDescriptor(t,i,s);void 0!==e&<(this.prototype,t,e)}}static getPropertyDescriptor(t,s,i){const{get:e,set:n}=ut(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t}};return{get(){return e?.call(this)},set(s){const r=e?.call(this);n.call(this,s),this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??wt}static o(){if(this.hasOwnProperty(_t(\"elementProperties\")))return;const t=pt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(_t(\"finalized\")))return;if(this.finalized=!0,this.o(),this.hasOwnProperty(_t(\"properties\"))){const t=this.properties,s=[...dt(t),...ft(t)];for(const i of s)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i)}this.u=new Map;for(const[t,s]of this.elementProperties){const i=this.p(t,s);void 0!==i&&this.u.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const s=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)s.unshift(ct(t))}else void 0!==t&&s.push(ct(t));return s}static p(t,s){const i=s.attribute;return!1===i?void 0:\"string\"==typeof i?i:\"string\"==typeof t?t.toLowerCase():void 0}constructor(){super(),this.v=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this.m=null,this._()}_(){this.S=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this.$(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this.P??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this.P?.delete(t)}$(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this.v=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return nt(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this.P?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this.P?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,s,i){this._$AK(t,i)}C(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor.p(t,i);if(void 0!==e&&!0===i.reflect){const n=(void 0!==i.converter?.toAttribute?i.converter:bt).toAttribute(s,i.type);this.m=t,null==n?this.removeAttribute(e):this.setAttribute(e,n),this.m=null}}_$AK(t,s){const i=this.constructor,e=i.u.get(t);if(void 0!==e&&this.m!==e){const t=i.getPropertyOptions(e),n=\"function\"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:bt;this.m=e,this[e]=n.fromAttribute(s,t.type),this.m=null}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??St)(this[t],s))return;this.T(t,s,i)}!1===this.isUpdatePending&&(this.S=this.M())}T(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),!0===i.reflect&&this.m!==t&&(this.k??=new Set).add(t)}async M(){this.isUpdatePending=!0;try{await this.S}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this.v){for(const[t,s]of this.v)this[t]=s;this.v=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t)!0!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.T(s,this[s],i)}let t=!1;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this.P?.forEach((t=>t.hostUpdate?.())),this.update(s)):this.A()}catch(s){throw t=!1,this.A(),s}t&&this._$AE(s)}willUpdate(t){}_$AE(t){this.P?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}A(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this.S}shouldUpdate(t){return!0}update(t){this.k&&=this.k.forEach((t=>this.C(t,this[t]))),this.A()}updated(t){}firstUpdated(t){}}$t.elementStyles=[],$t.shadowRootOptions={mode:\"open\"},$t[_t(\"elementProperties\")]=new Map,$t[_t(\"finalized\")]=new Map,gt?.({ReactiveElement:$t}),(vt.reactiveElementVersions??=[]).push(\"2.0.4\");\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst Pt=globalThis,Ct=Pt.trustedTypes,Tt=Ct?Ct.createPolicy(\"lit-html\",{createHTML:t=>t}):void 0,xt=\"$lit$\",Mt=`lit$${Math.random().toFixed(9).slice(2)}$`,kt=\"?\"+Mt,At=`<${kt}>`,Et=document,ys=()=>Et.createComment(\"\"),ms=t=>null===t||\"object\"!=typeof t&&\"function\"!=typeof t,Ot=Array.isArray,Rt=t=>Ot(t)||\"function\"==typeof t?.[Symbol.iterator],zt=\"[ \\t\\n\\f\\r]\",Vt=/<(?:(!--|\\/[^a-zA-Z])|(\\/?[a-zA-Z][^>\\s]*)|(\\/?$))/g,Lt=/-->/g,It=/>/g,jt=RegExp(`>|${zt}(?:([^\\\\s\"'>=/]+)(${zt}*=${zt}*(?:[^ \\t\\n\\f\\r\"'\\`<>=]|(\"|')|))|$)`,\"g\"),Dt=/'/g,Ht=/\"/g,Bt=/^(?:script|style|textarea|title)$/i,Wt=t=>(s,...i)=>({_$litType$:t,strings:s,values:i}),bs=Wt(1),gs=Wt(2),Zt=Wt(3),Ft=Symbol.for(\"lit-noChange\"),Gt=Symbol.for(\"lit-nothing\"),Kt=new WeakMap,Qt=Et.createTreeWalker(Et,129);function Xt(t,s){if(!Ot(t)||!t.hasOwnProperty(\"raw\"))throw Error(\"invalid template strings array\");return void 0!==Tt?Tt.createHTML(s):s}const Yt=(t,s)=>{const i=t.length-1,e=[];let n,r=2===s?\"\":3===s?\"\":\"\",o=Vt;for(let s=0;s\"===c[0]?(o=n??Vt,l=-1):void 0===c[1]?l=-2:(l=o.lastIndex-c[2].length,h=c[1],o=void 0===c[3]?jt:'\"'===c[3]?Ht:Dt):o===Ht||o===Dt?o=jt:o===Lt||o===It?o=Vt:(o=jt,n=void 0);const u=o===jt&&t[s+1].startsWith(\"/>\")?\" \":\"\";r+=o===Vt?i+At:l>=0?(e.push(h),i.slice(0,l)+xt+i.slice(l)+Mt+u):i+Mt+(-2===l?s:u)}return[Xt(t,r+(t[i]||\"\")+(2===s?\"\":3===s?\"\":\"\")),e]};class ts{constructor({strings:t,_$litType$:s},i){let e;this.parts=[];let n=0,r=0;const o=t.length-1,h=this.parts,[c,l]=Yt(t,s);if(this.el=ts.createElement(c,i),Qt.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(e=Qt.nextNode())&&h.length0){e.textContent=Ct?Ct.emptyScript:\"\";for(let i=0;i2||\"\"!==i[0]||\"\"!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Gt}_$AI(t,s=this,i,e){const n=this.strings;let r=!1;if(void 0===n)t=ss(this,t,s,0),r=!ms(t)||t!==this._$AH&&t!==Ft,r&&(this._$AH=t);else{const e=t;let o,h;for(t=n[0],o=0;o{const e=i?.renderBefore??s;let n=e._$litPart$;if(void 0===n){const t=i?.renderBefore??null;e._$litPart$=n=new ws(s.insertBefore(ys(),t),t,void 0,i??{})}return n._$AI(t),n};\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */class ds extends $t{constructor(){super(...arguments),this.renderOptions={host:this},this.ot=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this.ot=us(s,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this.ot?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this.ot?.setConnected(!1)}render(){return Ft}}ds._$litElement$=!0,ds[\"finalized\"]=!0,globalThis.litElementHydrateSupport?.({LitElement:ds});const fs=globalThis.litElementPolyfillSupport;fs?.({LitElement:ds});const ps={_$AK:(t,s,i)=>{t._$AK(s,i)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push(\"4.1.0\");\n/**\n * @license\n * Copyright 2022 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst vs=!1,{Y:es}=as,Nt=t=>null===t||\"object\"!=typeof t&&\"function\"!=typeof t,_s={HTML:1,SVG:2,MATHML:3},Ss=(t,s)=>void 0===s?void 0!==t?._$litType$:t?._$litType$===s,$s=t=>null!=t?._$litType$?.h,Ts=t=>void 0!==t?._$litDirective$,xs=t=>t?._$litDirective$,Es=t=>void 0===t.strings,Ut=()=>document.createComment(\"\"),Cs=(t,s,i)=>{const e=t._$AA.parentNode,n=void 0===s?t._$AB:s._$AA;if(void 0===i){const s=e.insertBefore(Ut(),n),r=e.insertBefore(Ut(),n);i=new es(s,r,t,t.options)}else{const s=i._$AB.nextSibling,r=i._$AM,o=r!==t;if(o){let s;i._$AQ?.(t),i._$AM=t,void 0!==i._$AP&&(s=t._$AU)!==r._$AU&&i._$AP(s)}if(s!==n||o){let t=i._$AA;for(;t!==s;){const s=t.nextSibling;e.insertBefore(t,n),t=s}}}return i},Ps=(t,s,i=t)=>(t._$AI(s,i),t),As={},Ms=(t,s=As)=>t._$AH=s,ks=t=>t._$AH,Us=t=>{t._$AP?.(!1,!0);let s=t._$AA;const i=t._$AB.nextSibling;for(;s!==i;){const t=s.nextSibling;s.remove(),s=t}},Vs=t=>{t._$AR()},Os={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Rs=t=>(...s)=>({_$litDirective$:t,values:s});class Ns{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,s,i){this.nt=t,this._$AM=s,this.rt=i}_$AS(t,s){return this.update(t,s)}update(t,s){return this.render(...s)}}\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const Ls=(t,s)=>{const i=t._$AN;if(void 0===i)return!1;for(const t of i)t._$AO?.(s,!1),Ls(t,s);return!0},zs=t=>{let s,i;do{if(void 0===(s=t._$AM))break;i=s._$AN,i.delete(t),t=s}while(0===i?.size)},js=t=>{for(let s;s=t._$AM;t=s){let i=s._$AN;if(void 0===i)s._$AN=i=new Set;else if(i.has(t))break;i.add(t),Ds(s)}};function Hs(t){void 0!==this._$AN?(zs(this),this._$AM=t,js(this)):this._$AM=t}function Is(t,s=!1,i=0){const e=this._$AH,n=this._$AN;if(void 0!==n&&0!==n.size)if(s)if(Array.isArray(e))for(let t=i;t{2==t.type&&(t._$AP??=Is,t._$AQ??=Hs)};class Bs extends Ns{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,s,i){super._$AT(t,s,i),js(this),this.isConnected=t._$AU}_$AO(t,s=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),s&&(Ls(this,t),zs(this))}setValue(t){if(Es(this.nt))this.nt._$AI(t,this);else{const s=[...this.nt._$AH];s[this.rt]=t,this.nt._$AI(s,this,0)}}disconnected(){}reconnected(){}}\n/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */class Ws{constructor(t){this.ct=t}disconnect(){this.ct=void 0}reconnect(t){this.ct=t}deref(){return this.ct}}class Zs{constructor(){this.lt=void 0,this.ut=void 0}get(){return this.lt}pause(){this.lt??=new Promise((t=>this.ut=t))}resume(){this.ut?.(),this.lt=this.ut=void 0}}\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */class qs extends Bs{constructor(){super(...arguments),this.dt=new Ws(this),this.ft=new Zs}render(t,s){return Ft}update(t,[s,i]){if(this.isConnected||this.disconnected(),s===this.vt)return Ft;this.vt=s;let e=0;const{dt:n,ft:r}=this;return(async(t,s)=>{for await(const i of t)if(!1===await s(i))return})(s,(async t=>{for(;r.get();)await r.get();const o=n.deref();if(void 0!==o){if(o.vt!==s)return!1;void 0!==i&&(t=i(t,e)),o.commitValue(t,e),e++}return!0})),Ft}commitValue(t,s){this.setValue(t)}disconnected(){this.dt.disconnect(),this.ft.pause()}reconnected(){this.dt.reconnect(this),this.ft.resume()}}const Fs=Rs(qs),Gs=Rs(\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nclass extends qs{constructor(t){if(super(t),2!==t.type)throw Error(\"asyncAppend can only be used in child expressions\")}update(t,s){return this.ot=t,super.update(t,s)}commitValue(t,s){0===s&&Vs(this.ot);const i=Cs(this.ot);Ps(i,t)}}),Js=t=>$s(t)?t._$litType$.h:t.strings,Ks=Rs(class extends Ns{constructor(t){super(t),this.yt=new WeakMap}render(t){return[t]}update(t,[s]){const i=Ss(this.bt)?Js(this.bt):null,e=Ss(s)?Js(s):null;if(null!==i&&(null===e||i!==e)){const s=ks(t).pop();let e=this.yt.get(i);if(void 0===e){const t=document.createDocumentFragment();e=us(Gt,t),e.setConnected(!1),this.yt.set(i,e)}Ms(e,[s]),Cs(e,void 0,s)}if(null!==e){if(null===i||i!==e){const s=this.yt.get(e);if(void 0!==s){const i=ks(s).pop();Vs(t),Cs(t,void 0,i),Ms(t,[i])}}this.bt=s}else this.bt=void 0;return this.render(s)}}),Ys=(t,s,i)=>{for(const i of s)if(i[0]===t)return(0,i[1])();return i?.()},Qs=Rs(\n/**\n * @license\n * Copyright 2018 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nclass extends Ns{constructor(t){if(super(t),1!==t.type||\"class\"!==t.name||t.strings?.length>2)throw Error(\"`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.\")}render(t){return\" \"+Object.keys(t).filter((s=>t[s])).join(\" \")+\" \"}update(t,[s]){if(void 0===this.gt){this.gt=new Set,void 0!==t.strings&&(this.wt=new Set(t.strings.join(\" \").split(/\\s/).filter((t=>\"\"!==t))));for(const t in s)s[t]&&!this.wt?.has(t)&&this.gt.add(t);return this.render(s)}const i=t.element.classList;for(const t of this.gt)t in s||(i.remove(t),this.gt.delete(t));for(const t in s){const e=!!s[t];e===this.gt.has(t)||this.wt?.has(t)||(e?(i.add(t),this.gt.add(t)):(i.remove(t),this.gt.delete(t)))}return Ft}}),Xs={},ti=Rs(class extends Ns{constructor(){super(...arguments),this._t=Xs}render(t,s){return s()}update(t,[s,i]){if(Array.isArray(s)){if(Array.isArray(this._t)&&this._t.length===s.length&&s.every(((t,s)=>t===this._t[s])))return Ft}else if(this._t===s)return Ft;return this._t=Array.isArray(s)?Array.from(s):s,this.render(s,i)}}),si=t=>t??Gt\n/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */;function*ii(t,s){const i=\"function\"==typeof s;if(void 0!==t){let e=-1;for(const n of t)e>-1&&(yield i?s(e):s),e++,yield n}}\n/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const ei=Rs(class extends Ns{constructor(){super(...arguments),this.key=Gt}render(t,s){return this.key=t,s}update(t,[s,i]){return s!==this.key&&(Ms(t),this.key=s),i}}),ni=Rs(\n/**\n * @license\n * Copyright 2020 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nclass extends Ns{constructor(t){if(super(t),3!==t.type&&1!==t.type&&4!==t.type)throw Error(\"The `live` directive is not allowed on child or event bindings\");if(!Es(t))throw Error(\"`live` bindings can only contain a single expression\")}render(t){return t}update(t,[s]){if(s===Ft||s===Gt)return s;const i=t.element,e=t.name;if(3===t.type){if(s===i[e])return Ft}else if(4===t.type){if(!!s===i.hasAttribute(e))return Ft}else if(1===t.type&&i.getAttribute(e)===s+\"\")return Ft;return Ms(t),s}});\n/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nfunction*ri(t,s){if(void 0!==t){let i=0;for(const e of t)yield s(e,i++)}}\n/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */function*oi(t,s,i=1){const e=void 0===s?0:t;s??=t;for(let t=e;i>0?tnew ci;class ci{}const li=new WeakMap,ai=Rs(class extends Bs{render(t){return Gt}update(t,[s]){const i=s!==this.ct;return i&&void 0!==this.ct&&this.St(void 0),(i||this.$t!==this.Tt)&&(this.ct=s,this.xt=t.options?.host,this.St(this.Tt=t.element)),Gt}St(t){if(this.isConnected||(t=void 0),\"function\"==typeof this.ct){const s=this.xt??globalThis;let i=li.get(s);void 0===i&&(i=new WeakMap,li.set(s,i)),void 0!==i.get(this.ct)&&this.ct.call(this.xt,void 0),i.set(this.ct,t),void 0!==t&&this.ct.call(this.xt,t)}else this.ct.value=t}get $t(){return\"function\"==typeof this.ct?li.get(this.xt??globalThis)?.get(this.ct):this.ct?.value}disconnected(){this.$t===this.Tt&&this.St(void 0)}reconnected(){this.St(this.Tt)}}),ui=(t,s,i)=>{const e=new Map;for(let n=s;n<=i;n++)e.set(t[n],n);return e},di=Rs(class extends Ns{constructor(t){if(super(t),2!==t.type)throw Error(\"repeat() can only be used in text expressions\")}Et(t,s,i){let e;void 0===i?i=s:void 0!==s&&(e=s);const n=[],r=[];let o=0;for(const s of t)n[o]=e?e(s,o):o,r[o]=i(s,o),o++;return{values:r,keys:n}}render(t,s,i){return this.Et(t,s,i).values}update(t,[s,i,e]){const n=ks(t),{values:r,keys:o}=this.Et(s,i,e);if(!Array.isArray(n))return this.Ct=o,r;const h=this.Ct??=[],c=[];let l,a,u=0,d=n.length-1,f=0,p=r.length-1;for(;u<=d&&f<=p;)if(null===n[u])u++;else if(null===n[d])d--;else if(h[u]===o[f])c[f]=Ps(n[u],r[f]),u++,f++;else if(h[d]===o[p])c[p]=Ps(n[d],r[p]),d--,p--;else if(h[u]===o[p])c[p]=Ps(n[u],r[p]),Cs(t,c[p+1],n[u]),u++,p--;else if(h[d]===o[f])c[f]=Ps(n[d],r[f]),Cs(t,n[u],n[d]),d--,f++;else if(void 0===l&&(l=ui(o,f,p),a=ui(h,u,d)),l.has(h[u]))if(l.has(h[d])){const s=a.get(o[f]),i=void 0!==s?n[s]:null;if(null===i){const s=Cs(t,n[u]);Ps(s,r[f]),c[f]=s}else c[f]=Ps(i,r[f]),Cs(t,n[u],i),n[s]=null;f++}else Us(n[d]),d--;else Us(n[u]),u++;for(;f<=p;){const s=Cs(t,c[p+1]);Ps(s,r[f]),c[f++]=s}for(;u<=d;){const t=n[u++];null!==t&&Us(t)}return this.Ct=o,Ms(t,c),Ft}}),fi=\"important\",pi=\" !\"+fi,vi=Rs(class extends Ns{constructor(t){if(super(t),1!==t.type||\"style\"!==t.name||t.strings?.length>2)throw Error(\"The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.\")}render(t){return Object.keys(t).reduce(((s,i)=>{const e=t[i];return null==e?s:s+`${i=i.includes(\"-\")?i:i.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,\"-$&\").toLowerCase()}:${e};`}),\"\")}update(t,[s]){const{style:i}=t.element;if(void 0===this.Pt)return this.Pt=new Set(Object.keys(s)),this.render(s);for(const t of this.Pt)null==s[t]&&(this.Pt.delete(t),t.includes(\"-\")?i.removeProperty(t):i[t]=null);for(const t in s){const e=s[t];if(null!=e){this.Pt.add(t);const s=\"string\"==typeof e&&e.endsWith(pi);t.includes(\"-\")||s?i.setProperty(t,s?e.slice(0,-11):e,s?fi:\"\"):i[t]=e}}return Ft}}),yi=Rs(\n/**\n * @license\n * Copyright 2020 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nclass extends Ns{constructor(t){if(super(t),2!==t.type)throw Error(\"templateContent can only be used in child bindings\")}render(t){return this.At===t?Ft:(this.At=t,document.importNode(t.content,!0))}});class mi extends Ns{constructor(t){if(super(t),this.bt=Gt,2!==t.type)throw Error(this.constructor.directiveName+\"() can only be used in child bindings\")}render(t){if(t===Gt||null==t)return this.Mt=void 0,this.bt=t;if(t===Ft)return t;if(\"string\"!=typeof t)throw Error(this.constructor.directiveName+\"() called with a non-string value\");if(t===this.bt)return this.Mt;this.bt=t;const s=[t];return s.raw=s,this.Mt={_$litType$:this.constructor.resultType,strings:s,values:[]}}}mi.directiveName=\"unsafeHTML\",mi.resultType=1;const bi=Rs(mi);\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */class gi extends mi{}gi.directiveName=\"unsafeSVG\",gi.resultType=2;const wi=Rs(gi),_i=t=>!Nt(t)&&\"function\"==typeof t.then,Si=1073741823;\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */class $i extends Bs{constructor(){super(...arguments),this.kt=Si,this.Ut=[],this.dt=new Ws(this),this.ft=new Zs}render(...t){return t.find((t=>!_i(t)))??Ft}update(t,s){const i=this.Ut;let e=i.length;this.Ut=s;const n=this.dt,r=this.ft;this.isConnected||this.disconnected();for(let t=0;tthis.kt);t++){const o=s[t];if(!_i(o))return this.kt=t,o;t{for(;r.get();)await r.get();const s=n.deref();if(void 0!==s){const i=s.Ut.indexOf(o);i>-1&&i{if(t?.r===Ei)return t?._$litStatic$},Pi=t=>({_$litStatic$:t,r:Ei}),Ai=(t,...s)=>({_$litStatic$:s.reduce(((s,i,e)=>s+(t=>{if(void 0!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\\n take care to ensure page security.`)})(i)+t[e+1]),t[0]),r:Ei}),Mi=new Map,ki=t=>(s,...i)=>{const e=i.length;let n,r;const o=[],h=[];let c,l=0,a=!1;for(;l;\n\n/**\n * A single CSSResult, CSSStyleSheet, or an array or nested arrays of those.\n */\nexport type CSSResultGroup = CSSResultOrNative | CSSResultArray;\n\nconst constructionToken = Symbol();\n\nconst cssTagCache = new WeakMap();\n\n/**\n * A container for a string of CSS text, that may be used to create a CSSStyleSheet.\n *\n * CSSResult is the return value of `css`-tagged template literals and\n * `unsafeCSS()`. In order to ensure that CSSResults are only created via the\n * `css` tag and `unsafeCSS()`, CSSResult cannot be constructed directly.\n */\nexport class CSSResult {\n // This property needs to remain unminified.\n ['_$cssResult$'] = true;\n readonly cssText: string;\n private _styleSheet?: CSSStyleSheet;\n private _strings: TemplateStringsArray | undefined;\n\n private constructor(\n cssText: string,\n strings: TemplateStringsArray | undefined,\n safeToken: symbol\n ) {\n if (safeToken !== constructionToken) {\n throw new Error(\n 'CSSResult is not constructable. Use `unsafeCSS` or `css` instead.'\n );\n }\n this.cssText = cssText;\n this._strings = strings;\n }\n\n // This is a getter so that it's lazy. In practice, this means stylesheets\n // are not created until the first element instance is made.\n get styleSheet(): CSSStyleSheet | undefined {\n // If `supportsAdoptingStyleSheets` is true then we assume CSSStyleSheet is\n // constructable.\n let styleSheet = this._styleSheet;\n const strings = this._strings;\n if (supportsAdoptingStyleSheets && styleSheet === undefined) {\n const cacheable = strings !== undefined && strings.length === 1;\n if (cacheable) {\n styleSheet = cssTagCache.get(strings);\n }\n if (styleSheet === undefined) {\n (this._styleSheet = styleSheet = new CSSStyleSheet()).replaceSync(\n this.cssText\n );\n if (cacheable) {\n cssTagCache.set(strings, styleSheet);\n }\n }\n }\n return styleSheet;\n }\n\n toString(): string {\n return this.cssText;\n }\n}\n\ntype ConstructableCSSResult = CSSResult & {\n new (\n cssText: string,\n strings: TemplateStringsArray | undefined,\n safeToken: symbol\n ): CSSResult;\n};\n\nconst textFromCSSResult = (value: CSSResultGroup | number) => {\n // This property needs to remain unminified.\n if ((value as CSSResult)['_$cssResult$'] === true) {\n return (value as CSSResult).cssText;\n } else if (typeof value === 'number') {\n return value;\n } else {\n throw new Error(\n `Value passed to 'css' function must be a 'css' function result: ` +\n `${value}. Use 'unsafeCSS' to pass non-literal values, but take care ` +\n `to ensure page security.`\n );\n }\n};\n\n/**\n * Wrap a value for interpolation in a {@linkcode css} tagged template literal.\n *\n * This is unsafe because untrusted CSS text can be used to phone home\n * or exfiltrate data to an attacker controlled site. Take care to only use\n * this with trusted input.\n */\nexport const unsafeCSS = (value: unknown) =>\n new (CSSResult as ConstructableCSSResult)(\n typeof value === 'string' ? value : String(value),\n undefined,\n constructionToken\n );\n\n/**\n * A template literal tag which can be used with LitElement's\n * {@linkcode LitElement.styles} property to set element styles.\n *\n * For security reasons, only literal string values and number may be used in\n * embedded expressions. To incorporate non-literal values {@linkcode unsafeCSS}\n * may be used inside an expression.\n */\nexport const css = (\n strings: TemplateStringsArray,\n ...values: (CSSResultGroup | number)[]\n): CSSResult => {\n const cssText =\n strings.length === 1\n ? strings[0]\n : values.reduce(\n (acc, v, idx) => acc + textFromCSSResult(v) + strings[idx + 1],\n strings[0]\n );\n return new (CSSResult as ConstructableCSSResult)(\n cssText,\n strings,\n constructionToken\n );\n};\n\n/**\n * Applies the given styles to a `shadowRoot`. When Shadow DOM is\n * available but `adoptedStyleSheets` is not, styles are appended to the\n * `shadowRoot` to [mimic the native feature](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/adoptedStyleSheets).\n * Note, when shimming is used, any styles that are subsequently placed into\n * the shadowRoot should be placed *before* any shimmed adopted styles. This\n * will match spec behavior that gives adopted sheets precedence over styles in\n * shadowRoot.\n */\nexport const adoptStyles = (\n renderRoot: ShadowRoot,\n styles: Array\n) => {\n if (supportsAdoptingStyleSheets) {\n (renderRoot as ShadowRoot).adoptedStyleSheets = styles.map((s) =>\n s instanceof CSSStyleSheet ? s : s.styleSheet!\n );\n } else {\n for (const s of styles) {\n const style = document.createElement('style');\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const nonce = (global as any)['litNonce'];\n if (nonce !== undefined) {\n style.setAttribute('nonce', nonce);\n }\n style.textContent = (s as CSSResult).cssText;\n renderRoot.appendChild(style);\n }\n }\n};\n\nconst cssResultFromStyleSheet = (sheet: CSSStyleSheet) => {\n let cssText = '';\n for (const rule of sheet.cssRules) {\n cssText += rule.cssText;\n }\n return unsafeCSS(cssText);\n};\n\nexport const getCompatibleStyle =\n supportsAdoptingStyleSheets ||\n (NODE_MODE && global.CSSStyleSheet === undefined)\n ? (s: CSSResultOrNative) => s\n : (s: CSSResultOrNative) =>\n s instanceof CSSStyleSheet ? cssResultFromStyleSheet(s) : s;\n","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n/**\n * Use this module if you want to create your own base class extending\n * {@link ReactiveElement}.\n * @packageDocumentation\n */\n\nimport {\n getCompatibleStyle,\n adoptStyles,\n CSSResultGroup,\n CSSResultOrNative,\n} from './css-tag.js';\nimport type {\n ReactiveController,\n ReactiveControllerHost,\n} from './reactive-controller.js';\n\n// In the Node build, this import will be injected by Rollup:\n// import {HTMLElement, customElements} from '@lit-labs/ssr-dom-shim';\n\nexport * from './css-tag.js';\nexport type {\n ReactiveController,\n ReactiveControllerHost,\n} from './reactive-controller.js';\n\n/**\n * Removes the `readonly` modifier from properties in the union K.\n *\n * This is a safer way to cast a value to a type with a mutable version of a\n * readonly field, than casting to an interface with the field re-declared\n * because it preserves the type of all the fields and warns on typos.\n */\ntype Mutable = Omit & {\n -readonly [P in keyof Pick]: P extends K ? T[P] : never;\n};\n\n// TODO (justinfagnani): Add `hasOwn` here when we ship ES2022\nconst {\n is,\n defineProperty,\n getOwnPropertyDescriptor,\n getOwnPropertyNames,\n getOwnPropertySymbols,\n getPrototypeOf,\n} = Object;\n\nconst NODE_MODE = false;\n\n// Lets a minifier replace globalThis references with a minified name\nconst global = globalThis;\n\nif (NODE_MODE) {\n global.customElements ??= customElements;\n}\n\nconst DEV_MODE = true;\n\nlet issueWarning: (code: string, warning: string) => void;\n\nconst trustedTypes = (global as unknown as {trustedTypes?: {emptyScript: ''}})\n .trustedTypes;\n\n// Temporary workaround for https://crbug.com/993268\n// Currently, any attribute starting with \"on\" is considered to be a\n// TrustedScript source. Such boolean attributes must be set to the equivalent\n// trusted emptyScript value.\nconst emptyStringForBooleanAttribute = trustedTypes\n ? (trustedTypes.emptyScript as unknown as '')\n : '';\n\nconst polyfillSupport = DEV_MODE\n ? global.reactiveElementPolyfillSupportDevMode\n : global.reactiveElementPolyfillSupport;\n\nif (DEV_MODE) {\n // Ensure warnings are issued only 1x, even if multiple versions of Lit\n // are loaded.\n const issuedWarnings: Set = (global.litIssuedWarnings ??=\n new Set());\n\n // Issue a warning, if we haven't already.\n issueWarning = (code: string, warning: string) => {\n warning += ` See https://lit.dev/msg/${code} for more information.`;\n if (!issuedWarnings.has(warning)) {\n console.warn(warning);\n issuedWarnings.add(warning);\n }\n };\n\n issueWarning(\n 'dev-mode',\n `Lit is in dev mode. Not recommended for production!`\n );\n\n // Issue polyfill support warning.\n if (global.ShadyDOM?.inUse && polyfillSupport === undefined) {\n issueWarning(\n 'polyfill-support-missing',\n `Shadow DOM is being polyfilled via \\`ShadyDOM\\` but ` +\n `the \\`polyfill-support\\` module has not been loaded.`\n );\n }\n}\n\n/**\n * Contains types that are part of the unstable debug API.\n *\n * Everything in this API is not stable and may change or be removed in the future,\n * even on patch releases.\n */\n// eslint-disable-next-line @typescript-eslint/no-namespace\nexport namespace ReactiveUnstable {\n /**\n * When Lit is running in dev mode and `window.emitLitDebugLogEvents` is true,\n * we will emit 'lit-debug' events to window, with live details about the update and render\n * lifecycle. These can be useful for writing debug tooling and visualizations.\n *\n * Please be aware that running with window.emitLitDebugLogEvents has performance overhead,\n * making certain operations that are normally very cheap (like a no-op render) much slower,\n * because we must copy data and dispatch events.\n */\n // eslint-disable-next-line @typescript-eslint/no-namespace\n export namespace DebugLog {\n export type Entry = Update;\n export interface Update {\n kind: 'update';\n }\n }\n}\n\ninterface DebugLoggingWindow {\n // Even in dev mode, we generally don't want to emit these events, as that's\n // another level of cost, so only emit them when DEV_MODE is true _and_ when\n // window.emitLitDebugEvents is true.\n emitLitDebugLogEvents?: boolean;\n}\n\n/**\n * Useful for visualizing and logging insights into what the Lit template system is doing.\n *\n * Compiled out of prod mode builds.\n */\nconst debugLogEvent = DEV_MODE\n ? (event: ReactiveUnstable.DebugLog.Entry) => {\n const shouldEmit = (global as unknown as DebugLoggingWindow)\n .emitLitDebugLogEvents;\n if (!shouldEmit) {\n return;\n }\n global.dispatchEvent(\n new CustomEvent('lit-debug', {\n detail: event,\n })\n );\n }\n : undefined;\n\n/*\n * When using Closure Compiler, JSCompiler_renameProperty(property, object) is\n * replaced at compile time by the munged name for object[property]. We cannot\n * alias this function, so we have to use a small shim that has the same\n * behavior when not compiling.\n */\n/*@__INLINE__*/\nconst JSCompiler_renameProperty =

(\n prop: P,\n _obj: unknown\n): P => prop;\n\n/**\n * Converts property values to and from attribute values.\n */\nexport interface ComplexAttributeConverter {\n /**\n * Called to convert an attribute value to a property\n * value.\n */\n fromAttribute?(value: string | null, type?: TypeHint): Type;\n\n /**\n * Called to convert a property value to an attribute\n * value.\n *\n * It returns unknown instead of string, to be compatible with\n * https://github.com/WICG/trusted-types (and similar efforts).\n */\n toAttribute?(value: Type, type?: TypeHint): unknown;\n}\n\ntype AttributeConverter =\n | ComplexAttributeConverter\n | ((value: string | null, type?: TypeHint) => Type);\n\n/**\n * Defines options for a property accessor.\n */\nexport interface PropertyDeclaration {\n /**\n * When set to `true`, indicates the property is internal private state. The\n * property should not be set by users. When using TypeScript, this property\n * should be marked as `private` or `protected`, and it is also a common\n * practice to use a leading `_` in the name. The property is not added to\n * `observedAttributes`.\n */\n readonly state?: boolean;\n\n /**\n * Indicates how and whether the property becomes an observed attribute.\n * If the value is `false`, the property is not added to `observedAttributes`.\n * If true or absent, the lowercased property name is observed (e.g. `fooBar`\n * becomes `foobar`). If a string, the string value is observed (e.g\n * `attribute: 'foo-bar'`).\n */\n readonly attribute?: boolean | string;\n\n /**\n * Indicates the type of the property. This is used only as a hint for the\n * `converter` to determine how to convert the attribute\n * to/from a property.\n */\n readonly type?: TypeHint;\n\n /**\n * Indicates how to convert the attribute to/from a property. If this value\n * is a function, it is used to convert the attribute value a the property\n * value. If it's an object, it can have keys for `fromAttribute` and\n * `toAttribute`. If no `toAttribute` function is provided and\n * `reflect` is set to `true`, the property value is set directly to the\n * attribute. A default `converter` is used if none is provided; it supports\n * `Boolean`, `String`, `Number`, `Object`, and `Array`. Note,\n * when a property changes and the converter is used to update the attribute,\n * the property is never updated again as a result of the attribute changing,\n * and vice versa.\n */\n readonly converter?: AttributeConverter;\n\n /**\n * Indicates if the property should reflect to an attribute.\n * If `true`, when the property is set, the attribute is set using the\n * attribute name determined according to the rules for the `attribute`\n * property option and the value of the property converted using the rules\n * from the `converter` property option.\n */\n readonly reflect?: boolean;\n\n /**\n * A function that indicates if a property should be considered changed when\n * it is set. The function should take the `newValue` and `oldValue` and\n * return `true` if an update should be requested.\n */\n hasChanged?(value: Type, oldValue: Type): boolean;\n\n /**\n * Indicates whether an accessor will be created for this property. By\n * default, an accessor will be generated for this property that requests an\n * update when set. If this flag is `true`, no accessor will be created, and\n * it will be the user's responsibility to call\n * `this.requestUpdate(propertyName, oldValue)` to request an update when\n * the property changes.\n */\n readonly noAccessor?: boolean;\n\n /**\n * Whether this property is wrapping accessors. This is set by `@property`\n * to control the initial value change and reflection logic.\n *\n * @internal\n */\n wrapped?: boolean;\n}\n\n/**\n * Map of properties to PropertyDeclaration options. For each property an\n * accessor is made, and the property is processed according to the\n * PropertyDeclaration options.\n */\nexport interface PropertyDeclarations {\n readonly [key: string]: PropertyDeclaration;\n}\n\ntype PropertyDeclarationMap = Map;\n\ntype AttributeMap = Map;\n\n/**\n * A Map of property keys to values.\n *\n * Takes an optional type parameter T, which when specified as a non-any,\n * non-unknown type, will make the Map more strongly-typed, associating the map\n * keys with their corresponding value type on T.\n *\n * Use `PropertyValues` when overriding ReactiveElement.update() and\n * other lifecycle methods in order to get stronger type-checking on keys\n * and values.\n */\n// This type is conditional so that if the parameter T is not specified, or\n// is `any`, the type will include `Map`. Since T is not\n// given in the uses of PropertyValues in this file, all uses here fallback to\n// meaning `Map`, but if a developer uses\n// `PropertyValues` (or any other value for T) they will get a\n// strongly-typed Map type.\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport type PropertyValues = T extends object\n ? PropertyValueMap\n : Map;\n\n/**\n * Do not use, instead prefer {@linkcode PropertyValues}.\n */\n// This type must be exported such that JavaScript generated by the Google\n// Closure Compiler can import a type reference.\nexport interface PropertyValueMap extends Map {\n get(k: K): T[K] | undefined;\n set(key: K, value: T[K]): this;\n has(k: K): boolean;\n delete(k: K): boolean;\n}\n\nexport const defaultConverter: ComplexAttributeConverter = {\n toAttribute(value: unknown, type?: unknown): unknown {\n switch (type) {\n case Boolean:\n value = value ? emptyStringForBooleanAttribute : null;\n break;\n case Object:\n case Array:\n // if the value is `null` or `undefined` pass this through\n // to allow removing/no change behavior.\n value = value == null ? value : JSON.stringify(value);\n break;\n }\n return value;\n },\n\n fromAttribute(value: string | null, type?: unknown) {\n let fromValue: unknown = value;\n switch (type) {\n case Boolean:\n fromValue = value !== null;\n break;\n case Number:\n fromValue = value === null ? null : Number(value);\n break;\n case Object:\n case Array:\n // Do *not* generate exception when invalid JSON is set as elements\n // don't normally complain on being mis-configured.\n // TODO(sorvell): Do generate exception in *dev mode*.\n try {\n // Assert to adhere to Bazel's \"must type assert JSON parse\" rule.\n fromValue = JSON.parse(value!) as unknown;\n } catch (e) {\n fromValue = null;\n }\n break;\n }\n return fromValue;\n },\n};\n\nexport interface HasChanged {\n (value: unknown, old: unknown): boolean;\n}\n\n/**\n * Change function that returns true if `value` is different from `oldValue`.\n * This method is used as the default for a property's `hasChanged` function.\n */\nexport const notEqual: HasChanged = (value: unknown, old: unknown): boolean =>\n !is(value, old);\n\nconst defaultPropertyDeclaration: PropertyDeclaration = {\n attribute: true,\n type: String,\n converter: defaultConverter,\n reflect: false,\n hasChanged: notEqual,\n};\n\n/**\n * A string representing one of the supported dev mode warning categories.\n */\nexport type WarningKind =\n | 'change-in-update'\n | 'migration'\n | 'async-perform-update';\n\nexport type Initializer = (element: ReactiveElement) => void;\n\n// Temporary, until google3 is on TypeScript 5.2\ndeclare global {\n interface SymbolConstructor {\n readonly metadata: unique symbol;\n }\n}\n\n// Ensure metadata is enabled. TypeScript does not polyfill\n// Symbol.metadata, so we must ensure that it exists.\n(Symbol as {metadata: symbol}).metadata ??= Symbol('metadata');\n\ndeclare global {\n // This is public global API, do not change!\n // eslint-disable-next-line no-var\n var litPropertyMetadata: WeakMap<\n object,\n Map\n >;\n}\n\n// Map from a class's metadata object to property options\n// Note that we must use nullish-coalescing assignment so that we only use one\n// map even if we load multiple version of this module.\nglobal.litPropertyMetadata ??= new WeakMap<\n object,\n Map\n>();\n\n/**\n * Base element class which manages element properties and attributes. When\n * properties change, the `update` method is asynchronously called. This method\n * should be supplied by subclasses to render updates as desired.\n * @noInheritDoc\n */\nexport abstract class ReactiveElement\n // In the Node build, this `extends` clause will be substituted with\n // `(globalThis.HTMLElement ?? HTMLElement)`.\n //\n // This way, we will first prefer any global `HTMLElement` polyfill that the\n // user has assigned, and then fall back to the `HTMLElement` shim which has\n // been imported (see note at the top of this file about how this import is\n // generated by Rollup). Note that the `HTMLElement` variable has been\n // shadowed by this import, so it no longer refers to the global.\n extends HTMLElement\n implements ReactiveControllerHost\n{\n // Note: these are patched in only in DEV_MODE.\n /**\n * Read or set all the enabled warning categories for this class.\n *\n * This property is only used in development builds.\n *\n * @nocollapse\n * @category dev-mode\n */\n static enabledWarnings?: WarningKind[];\n\n /**\n * Enable the given warning category for this class.\n *\n * This method only exists in development builds, so it should be accessed\n * with a guard like:\n *\n * ```ts\n * // Enable for all ReactiveElement subclasses\n * ReactiveElement.enableWarning?.('migration');\n *\n * // Enable for only MyElement and subclasses\n * MyElement.enableWarning?.('migration');\n * ```\n *\n * @nocollapse\n * @category dev-mode\n */\n static enableWarning?: (warningKind: WarningKind) => void;\n\n /**\n * Disable the given warning category for this class.\n *\n * This method only exists in development builds, so it should be accessed\n * with a guard like:\n *\n * ```ts\n * // Disable for all ReactiveElement subclasses\n * ReactiveElement.disableWarning?.('migration');\n *\n * // Disable for only MyElement and subclasses\n * MyElement.disableWarning?.('migration');\n * ```\n *\n * @nocollapse\n * @category dev-mode\n */\n static disableWarning?: (warningKind: WarningKind) => void;\n\n /**\n * Adds an initializer function to the class that is called during instance\n * construction.\n *\n * This is useful for code that runs against a `ReactiveElement`\n * subclass, such as a decorator, that needs to do work for each\n * instance, such as setting up a `ReactiveController`.\n *\n * ```ts\n * const myDecorator = (target: typeof ReactiveElement, key: string) => {\n * target.addInitializer((instance: ReactiveElement) => {\n * // This is run during construction of the element\n * new MyController(instance);\n * });\n * }\n * ```\n *\n * Decorating a field will then cause each instance to run an initializer\n * that adds a controller:\n *\n * ```ts\n * class MyElement extends LitElement {\n * @myDecorator foo;\n * }\n * ```\n *\n * Initializers are stored per-constructor. Adding an initializer to a\n * subclass does not add it to a superclass. Since initializers are run in\n * constructors, initializers will run in order of the class hierarchy,\n * starting with superclasses and progressing to the instance's class.\n *\n * @nocollapse\n */\n static addInitializer(initializer: Initializer) {\n this.__prepare();\n (this._initializers ??= []).push(initializer);\n }\n\n static _initializers?: Initializer[];\n\n /*\n * Due to closure compiler ES6 compilation bugs, @nocollapse is required on\n * all static methods and properties with initializers. Reference:\n * - https://github.com/google/closure-compiler/issues/1776\n */\n\n /**\n * Maps attribute names to properties; for example `foobar` attribute to\n * `fooBar` property. Created lazily on user subclasses when finalizing the\n * class.\n * @nocollapse\n */\n private static __attributeToPropertyMap: AttributeMap;\n\n /**\n * Marks class as having been finalized, which includes creating properties\n * from `static properties`, but does *not* include all properties created\n * from decorators.\n * @nocollapse\n */\n protected static finalized: true | undefined;\n\n /**\n * Memoized list of all element properties, including any superclass\n * properties. Created lazily on user subclasses when finalizing the class.\n *\n * @nocollapse\n * @category properties\n */\n static elementProperties: PropertyDeclarationMap;\n\n /**\n * User-supplied object that maps property names to `PropertyDeclaration`\n * objects containing options for configuring reactive properties. When\n * a reactive property is set the element will update and render.\n *\n * By default properties are public fields, and as such, they should be\n * considered as primarily settable by element users, either via attribute or\n * the property itself.\n *\n * Generally, properties that are changed by the element should be private or\n * protected fields and should use the `state: true` option. Properties\n * marked as `state` do not reflect from the corresponding attribute\n *\n * However, sometimes element code does need to set a public property. This\n * should typically only be done in response to user interaction, and an event\n * should be fired informing the user; for example, a checkbox sets its\n * `checked` property when clicked and fires a `changed` event. Mutating\n * public properties should typically not be done for non-primitive (object or\n * array) properties. In other cases when an element needs to manage state, a\n * private property set with the `state: true` option should be used. When\n * needed, state properties can be initialized via public properties to\n * facilitate complex interactions.\n * @nocollapse\n * @category properties\n */\n static properties: PropertyDeclarations;\n\n /**\n * Memoized list of all element styles.\n * Created lazily on user subclasses when finalizing the class.\n * @nocollapse\n * @category styles\n */\n static elementStyles: Array = [];\n\n /**\n * Array of styles to apply to the element. The styles should be defined\n * using the {@linkcode css} tag function, via constructible stylesheets, or\n * imported from native CSS module scripts.\n *\n * Note on Content Security Policy:\n *\n * Element styles are implemented with `\n \n Sensor unavailable: ${entity}\n \n `;\n // Return the HTML template\n return htmlTemplate;\n}\n\nexport function renderStateInvalid() {\n const htmlTemplate = html`\n \n \n State Invalid: ${this._config.state}\n \n `;\n // Return the HTML template\n return htmlTemplate;\n}\n","import { html, styleMap } from \"./lit/lit-all.min.js\";\n\n\n// Define the rendering function\nexport function renderIn(c) {\n // Render the HTML template using the provided object `c`\n const htmlTemplate = html`\n \n

\n \n \n `; // Return the HTML template\n return htmlTemplate;\n}","import { html } from \"./lit/lit-all.min.js\";\n\n\n// Define the rendering function\nexport function renderNotFound(c) {\n // Render the HTML template using the provided object `c`\n const htmlTemplate = html`\n \n
\n
${c.title}
\n \n
\n
\n \n
${c.notFoundLeague}
\n
\n
\n
${c.notFoundTerm1}
\n
${c.notFoundTerm2}
\n
\n
\n
\n
\n `;\n // Return the HTML template\n return htmlTemplate;\n}","import { html, styleMap } from \"./lit/lit-all.min.js\";\n\n\n// Define the rendering function\nexport function renderPost(c) {\n // Render the HTML template using the provided object `c`\n const htmlTemplate = html`\n \n \n \n \n `; // Return the HTML template\n return htmlTemplate;\n}","import { html, styleMap } from \"./lit/lit-all.min.js\";\n\n\n// Define the rendering function\nexport function renderPre(c) {\n // Render the HTML template using the provided object `c`\n const htmlTemplate = html`\n \n \n \n \n `; // Return the HTML template\n return htmlTemplate;\n}","import { ERROR_HEADSHOT_URL } from \"./const.js\";\n\n//\n// Initialize card data\n//\nexport function initCardData(c) {\n c.logoBG = [];\n c.logo = [];\n c.logoError = [];\n c.name = [];\n c.url = [];\n c.initials = [];\n c.rank = [];\n c.record = [];\n c.score = [];\n c.scoreOp = [];\n c.scoreSize = \"3em\";\n c.barLabel = [];\n c.barLength = [];\n c.color = [];\n c.possessionOp = [];\n c.winner = [];\n c.timeoutsOp = [];\n c.timeoutsOp[1] = [];\n c.timeoutsOp[2] = [];\n}\n\n//\n// Set default values for variable components\n//\nexport function setDefaults(t, lang, stateObj, c, o, sport, team, oppo) {\n\n // Set default sections to display / hide\n\n c.initialsDisplay = 'none';\n c.outsDisplay = 'none';\n c.basesDisplay = 'none';\n c.barDisplay = 'inherit';\n c.timeoutsDisplay = 'inline';\n c.rankDisplay = 'inline';\n c.seriesSummaryDisplay = 'none';\n if (o.bottomURL == 'more-info') {\n c.bottomURL = null;\n }\n else {\n c.bottomURL = o.bottomURL || stateObj.attributes.event_url;\n }\n if (o.show_timeouts == false) {\n c.timeoutsDisplay = 'none';\n }\n if (o.show_rank == false) {\n c.rankDisplay = 'none';\n }\n c.onFirstOp = 0.2;\n c.onSecondOp = 0.2;\n c.onThirdOp = 0.2;\n if (stateObj.attributes.on_first) {\n c.onFirstOp = 1;\n }\n if (stateObj.attributes.on_second) {\n c.onSecondOp = 1;\n }\n if (stateObj.attributes.on_third) {\n c.onThirdOp = 1;\n }\n\n // Set Title data\n\n c.title = o.cardTitle;\n if (o.showLeague) {\n c.title = c.title || stateObj.attributes.league\n }\n\n // Set Scoreboard data\n\n c.logo[team] = stateObj.attributes.team_logo;\n c.logoError[team] = ERROR_HEADSHOT_URL;\n c.logoBG[team] = stateObj.attributes.team_logo;\n c.name[team] = stateObj.attributes.team_name;\n if (o.teamURL == 'more-info') {\n c.url[team] = null;\n }\n else {\n c.url[team] = o.teamURL || stateObj.attributes.team_url ;\n }\n c.rank[team] = stateObj.attributes.team_rank;\n c.record[team] = stateObj.attributes.team_record;\n c.winner[team] = stateObj.attributes.team_winner || false;\n c.logo[oppo] = stateObj.attributes.opponent_logo;\n c.logoError[oppo] = ERROR_HEADSHOT_URL;\n c.logoBG[oppo] = stateObj.attributes.opponent_logo;\n c.name[oppo] = stateObj.attributes.opponent_name;\n if (o.opponentURL == 'more-info') {\n c.url[oppo] = null;\n }\n else {\n c.url[oppo] = o.opponentURL || stateObj.attributes.opponent_url ;\n }\n c.rank[oppo] = stateObj.attributes.opponent_rank;\n c.record[oppo] = stateObj.attributes.opponent_record;\n c.winner[oppo] = stateObj.attributes.opponent_winner || false;\n c.playClock = stateObj.attributes.clock;\n if (o.showLeague) {\n c.logoBG[team] = stateObj.attributes.league_logo\n c.logoBG[oppo] = stateObj.attributes.league_logo\n }\n\n c.score[team] = stateObj.attributes.team_score;\n c.score[oppo] = stateObj.attributes.opponent_score;\n\n c.scoreOp[1] = .6;\n c.scoreOp[2] = .6;\n if (c.winner[team]) {\n c.scoreOp[team] = 1;\n }\n if (c.winner[oppo]) {\n c.scoreOp[oppo] = 1;\n }\n\n if (stateObj.attributes.team_homeaway == 'home') {\n c.color[team] = stateObj.attributes.team_colors[0];\n c.color[oppo] = stateObj.attributes.opponent_colors[1];\n }\n else if (stateObj.attributes.team_homeaway == 'away') {\n c.color[team] = stateObj.attributes.team_colors[1];\n c.color[oppo] = stateObj.attributes.opponent_colors[0];\n }\n else {\n c.color[team] = '#ffffff';\n c.color[oppo] = '#000000';\n }\n\n c.possessionOp[team] = 0;\n c.possessionOp[oppo] = 0;\n if (stateObj.attributes.possession == stateObj.attributes.team_id) {\n c.possessionOp[team] = 1;\n }\n if (stateObj.attributes.possession == stateObj.attributes.opponent_id) {\n c.possessionOp[oppo] = 1;\n }\n c.timeoutsOp[team][1] = stateObj.attributes.team_timeouts >= 1 ? 1 : 0.2\n c.timeoutsOp[team][2] = stateObj.attributes.team_timeouts >= 2 ? 1 : 0.2;\n c.timeoutsOp[team][3] = stateObj.attributes.team_timeouts >= 3 ? 1 : 0.2;\n c.timeoutsOp[oppo][1] = stateObj.attributes.opponent_timeouts >= 1 ? 1 : 0.2\n c.timeoutsOp[oppo][2] = stateObj.attributes.opponent_timeouts >= 2 ? 1 : 0.2;\n c.timeoutsOp[oppo][3] = stateObj.attributes.opponent_timeouts >= 3 ? 1 : 0.2;\n \n // Set Location / Context data\n\n c.startTerm = t.translate(sport + \".startTerm\");\n c.startTime = stateObj.attributes.kickoff_in;\n c.venue = stateObj.attributes.venue;\n c.location = stateObj.attributes.location;\n\n c.pre1 = stateObj.attributes.odds;\n c.pre2 = '';\n if (stateObj.attributes.overunder) {\n c.pre2 = t.translate(sport + \".overUnder\", \"%s\", String(stateObj.attributes.overunder));\n }\n c.pre3 = stateObj.attributes.tv_network;\n\n c.in0 = '';\n c.in1 = '';\n if (stateObj.attributes.down_distance_text) {\n c.in1 = t.translate(sport + \".gameStat1\", \"%s\", stateObj.attributes.down_distance_text);\n }\n c.in2 = '';\n if (stateObj.attributes.tv_network) {\n c.in2 = t.translate(sport + \".gameStat2\", \"%s\", stateObj.attributes.tv_network);\n }\n c.finalTerm = stateObj.attributes.clock + \" - \" + c.gameDatePOST;\n\n // Set Play data\n\n c.lastPlay = stateObj.attributes.last_play;\n c.lastPlaySpeed = 18;\n if (c.lastPlay) {\n c.lastPlaySpeed = 18 + Math.floor(c.lastPlay.length / 40) * 5;\n }\n\n // Set Game Bar data\n\n c.gameBar = t.translate(sport + \".gameBar\");\n c.barLength[team] = 0;\n if (stateObj.attributes.team_win_probability) {\n c.barLength[team] = (stateObj.attributes.team_win_probability * 100).toFixed(0);\n }\n c.barLength[oppo] = 0;\n if (stateObj.attributes.opponent_win_probability) {\n c.barLength[oppo] = (stateObj.attributes.opponent_win_probability * 100).toFixed(0);\n }\n c.barLabel[team] = t.translate(sport + \".teamBarLabel\", \"%s\", String(c.barLength[team]));\n c.barLabel[oppo] = t.translate(sport + \".oppoBarLabel\", \"%s\", String(c.barLength[oppo]));\n\n // Situation specific data\n\n c.notFoundLogo = stateObj.attributes.league_logo;\n c.notFoundLogoBG = c.notFoundLogo;\n c.notFoundLeague = null;\n\n if (stateObj.attributes.league != \"XXX\") {\n c.notFoundLeague = stateObj.attributes.league;\n }\n\n c.notFoundTerm1 = stateObj.attributes.team_abbr;\n c.notFoundTerm2 = \"NOT_FOUND\"\n if (stateObj.attributes.api_message) {\n c.notFoundTerm2 = t.translate(\"common.api_error\")\n var apiTail = stateObj.attributes.api_message.substring(stateObj.attributes.api_message.length - 17)\n if (apiTail.slice(-1) == \"Z\") {\n var lastDateForm = new Date(apiTail)\n c.notFoundTerm2 = t.translate(\"common.no_upcoming_games\", \"%s\", lastDateForm.toLocaleDateString(lang))\n }\n }\n\n c.byeTerm = t.translate(\"common.byeTerm\");\n\n c.seriesSummary = stateObj.attributes.series_summary;\n if (c.seriesSummary) {\n c.seriesSummaryDisplay= \"inherit\";\n }\n}\n\nexport function setCardFormat(o, c) {\n\n c.outlineWidth = 0;\n c.outlineColor = o.outlineColor;\n\n if (o.outline == true) {\n c.outlineWidth = 1;\n }\n}\n\n\nexport function setStartInfo(c, stateObj, t, lang, time_format) {\n\n var gameDate = new Date(stateObj.attributes.date);\n var gameDateStr = gameDate.toLocaleDateString(lang, { month: 'short', day: '2-digit' });\n\n var todayDate = new Date();\n var todayDateStr = todayDate.toLocaleDateString(lang, { month: 'short', day: '2-digit' });\n\n var tomorrowDate = new Date();\n tomorrowDate.setDate(todayDate.getDate() + 1);\n var tomorrowDateStr = tomorrowDate.toLocaleDateString(lang, { month: 'short', day: '2-digit' });\n\n var nextweekDate = new Date();\n nextweekDate.setDate(todayDate.getDate() + 6);\n\n c.gameWeekday = gameDate.toLocaleDateString(lang, { weekday: 'long' });\n if (gameDateStr === todayDateStr) {\n c.gameWeekday = t.translate(\"common.today\");\n }\n else if (gameDateStr === tomorrowDateStr) {\n c.gameWeekday = t.translate(\"common.tomorrow\");\n }\n c.gameDatePOST = gameDateStr;\n c.gameDatePRE = null;\n if (gameDate > nextweekDate) {\n c.gameDatePRE = gameDateStr;\n }\n\n c.gameTime = gameDate.toLocaleTimeString(lang, { hour: '2-digit', minute: '2-digit' });\n if (time_format == \"24\") {\n c.gameTime = gameDate.toLocaleTimeString(lang, { hour: '2-digit', minute: '2-digit', hour12: false });\n }\n if (time_format == \"12\") {\n c.gameTime = gameDate.toLocaleTimeString(lang, { hour: '2-digit', minute: '2-digit', hour12: true });\n }\n if (time_format == \"system\") {\n var sys_lang = navigator.language || \"en\"\n c.gameTime = gameDate.toLocaleTimeString(sys_lang, { hour: '2-digit', minute: '2-digit' });\n }\n}","import { GOLF_HEADSHOT_URL, MMA_HEADSHOT_URL, RACING_HEADSHOT_URL, TENNIS_HEADSHOT_URL } from \"./const.js\";\n\n//\n// Call function to set the data for the sport\n//\nexport function setSportData(sport, t, stateObj, c, team, oppo) {\n\n switch (sport) {\n case \"baseball\":\n return setBaseball(t, stateObj, c, team, oppo);\n case \"basketball\":\n return setBasketball(t, stateObj, c, team, oppo);\n case \"cricket\":\n return setCricket(t, stateObj, c, team, oppo);\n case \"golf\":\n return setGolf(t, stateObj, c, team, oppo);\n case \"hockey\":\n return setHockey(t, stateObj, c, team, oppo);\n case \"mma\":\n return setMMA(t, stateObj, c, team, oppo);\n case \"racing\":\n return setRacing(t, stateObj, c, team, oppo);\n case \"soccer\":\n return setSoccer(t, stateObj, c, team, oppo);\n case \"tennis\":\n return setTennis(t, stateObj, c, team, oppo);\n case \"volleyball\":\n return setVolleyball(t, stateObj, c, team, oppo);\n default:\n return;\n }\n}\n\n//\n// setBaseball()\n// in1 = balls\n// in2 = strikes\n// in0 = outs\n// outsDisplay = 'inherit';\n// timeoutsDisplay = 'none';\n// basesDisplay = 'inherit';\n//\nexport function setBaseball(t, stateObj, c, team, oppo) {\n c.in1 = t.translate(\"baseball.gameStat1\", \"%s\", String(stateObj.attributes.balls));\n c.in2 = t.translate(\"baseball.gameStat2\", \"%s\", String(stateObj.attributes.strikes));\n c.in0 = t.translate(\"baseball.gameStat3\", \"%s\", String(stateObj.attributes.outs));\n c.outsDisplay = 'inherit';\n c.timeoutsDisplay = 'none';\n c.basesDisplay = 'inherit';\n}\n\n\n//\n// setBasketball()\n// timeoutsDisplay = 'none';\n// barDisplay = \"none\";\n//\nexport function setBasketball(t, stateObj, c, team, oppo) {\n c.timeoutsDisplay = 'none';\n c.barDisplay = 'none';\n}\n\n\n//\n// SetCricket()\n// timeoutsDisplay = 'none';\n// barDisplay = \"none\";\n// in1 = odds;\n// in2 = quarter;\n// score = split score into 2 parts\n// record = set to second part of split score\n\nexport function setCricket(t, stateObj, c, team, oppo) {\n var subscores = [];\n\n c.timeoutsDisplay = 'none';\n c.barDisplay = \"none\";\n\n c.in1 = stateObj.attributes.odds;\n c.in2 = stateObj.attributes.quarter;\n\n if (c.score != []) {\n if (c.score[1] || c.score[2]) {\n subscores[1] = c.score[1].split(\"(\");\n subscores[2] = c.score[2].split(\"(\");\n\n c.score[1] = subscores[1][0];\n c.score[2] = subscores[2][0];\n\n if (subscores[1].length > 1) {\n c.record[1] = \"(\" + subscores[1][1];\n }\n if (subscores[2].length > 1) {\n c.record[2] = \"(\" + subscores[2][1];\n }\n }\n }\n}\n\n\n//\n// setGolf()\n// title = use event_name if title is not set\n// venue = event_name\n// barLength = team_shots_on_target, opponent_shots_on_target\n// barLabel = team_total_shots, opponent_total_shots\n// finalTerm = clock\n// timeoutsDisplay = 'none';\n//\nexport function setGolf(t, stateObj, c, team, oppo) {\n c.title = c.title || stateObj.attributes.event_name;\n c.venue = stateObj.attributes.event_name;\n c.barLength[team] = stateObj.attributes.team_shots_on_target;\n c.barLength[oppo] = stateObj.attributes.opponent_shots_on_target;\n c.barLabel[team] = t.translate(\"golf.teamBarLabel\", \"%s\", stateObj.attributes.team_total_shots +'(' + stateObj.attributes.team_shots_on_target + ')');\n c.barLabel[oppo] = t.translate(\"golf.oppoBarLabel\", \"%s\", stateObj.attributes.opponent_total_shots +'(' + stateObj.attributes.opponent_shots_on_target + ')');\n c.finalTerm = stateObj.attributes.clock;\n c.timeoutsDisplay = 'none';\n\n c.logo[team] = GOLF_HEADSHOT_URL + stateObj.attributes.team_id + \".png\";\n c.logo[oppo] = GOLF_HEADSHOT_URL + stateObj.attributes.opponent_id + \".png\";\n}\n\n//\n// setHockey()\n// barLength = team_shots_on_target, opponent_shots_on_target\n// barLabel = \"Shots on Target\"\n// timeoutsDisplay = 'none';\n//\nexport function setHockey(t, stateObj, c, team, oppo) {\n c.barLength[team] = stateObj.attributes.team_shots_on_target;\n c.barLength[oppo] = stateObj.attributes.opponent_shots_on_target;\n c.barLabel[team] = t.translate(\"hockey.teamBarLabel\", \"%s\", String(stateObj.attributes.team_shots_on_target));\n c.barLabel[oppo] = t.translate(\"hockey.oppoBarLabel\", \"%s\", String(stateObj.attributes.opponent_shots_on_target));\n\n c.timeoutsDisplay = 'none';\n}\n\n\n//\n// setMMA()\n// title = use event_name if title is not set\n// timeoutsDisplay = 'none';\n// barDisplay = \"none\";\n//\nexport function setMMA(t, stateObj, c, team, oppo) {\n c.title = c.title || stateObj.attributes.event_name;\n c.timeoutsDisplay = 'none';\n c.barDisplay = \"none\";\n\n c.logo[team] = MMA_HEADSHOT_URL + stateObj.attributes.team_id + \".png\";\n c.logo[oppo] = MMA_HEADSHOT_URL + stateObj.attributes.opponent_id + \".png\";\n}\n\n\n//\n// setRacing()\n// title = use event_name if title is not set\n// pre1 = quarter (race type)\n// in1 = quarter (race type)\n// finalTerm = adjust for type of race (race, qualifying, etc.)\n// timeoutsDisplay = 'none';\n// barLength = team_total_shots, opponent_total_shots (laps)\n// barLabel = (laps)\n// If NASCAR, remove logos and use initials\n//\nexport function setRacing(t, stateObj, c, team, oppo) {\n c.title = c.title || stateObj.attributes.event_name;\n if (stateObj.attributes.quarter) {\n c.pre1 = stateObj.attributes.quarter;\n c.in1 = stateObj.attributes.quarter;\n c.finalTerm = stateObj.attributes.clock + \" - \" + c.gameDatePOST + \" (\" + stateObj.attributes.quarter + \")\";\n }\n c.timeoutsDisplay = 'none';\n\n c.barLength[team] = stateObj.attributes.team_total_shots;\n c.barLength[oppo] = stateObj.attributes.team_total_shots;\n c.barLabel[team] = t.translate(\"racing.teamBarLabel\", \"%s\", String(stateObj.attributes.team_total_shots));\n c.barLabel[oppo] = t.translate(\"racing.teamBarLabel\", \"%s\", String(stateObj.attributes.team_total_shots));\n\n// if (stateObj.attributes.league.includes(\"NASCAR\")) {\n// c.logo[team] = null;\n// c.logo[oppo] = null;\n// c.initials[team] = \"\";\n// c.initials[oppo] = \"\";\n// if (c.name[team] && c.name[oppo]) {\n// c.initials[team] = c.name[team].split(\" \").map((n)=>n[0]).join(\"\");\n// c.initials[oppo] = c.name[oppo].split(\" \").map((n)=>n[0]).join(\"\");\n// c.initialsDisplay = 'inline';\n// }\n// }\n c.logo[team] = RACING_HEADSHOT_URL + stateObj.attributes.team_id + \".png\";\n c.logo[oppo] = RACING_HEADSHOT_URL + stateObj.attributes.opponent_id + \".png\";\n}\n\n//\n// setSoccer()\n// barLength = team_total_shots, opponent_total_shots\n// barLabel = \"Shots on Target\"\n// timeoutsDisplay = 'none';\n//\nexport function setSoccer(t, stateObj, c, team, oppo) {\n c.barLength[team] = stateObj.attributes.team_total_shots;\n c.barLength[oppo] = stateObj.attributes.opponent_total_shots;\n c.barLabel[team] = t.translate(\"soccer.teamBarLabel\", \"%s\", stateObj.attributes.team_total_shots +'(' + stateObj.attributes.team_shots_on_target + ')');\n c.barLabel[oppo] = t.translate(\"soccer.oppoBarLabel\", \"%s\", stateObj.attributes.opponent_total_shots +'(' + stateObj.attributes.opponent_shots_on_target + ')');\n c.timeoutsDisplay = 'none';\n}\n\n//\n// setTennis()\n// venue = event_name\n// pre1 = odds\n// in1 = odds\n// finalTerm = adjust for round (odds)\n// gameBar = clock\n// barLength = team_score, opponent_score\n// barLabel = \"score\"\n// timeouts = sets won\n// title = use event_name if title is not set\n// timeoutsDisplay = 'inline';\n//\nexport function setTennis(t, stateObj, c, team, oppo) {\n c.venue = stateObj.attributes.venue;\n c.location = stateObj.attributes.location;\n\n c.pre1 = stateObj.attributes.event_name\n c.pre2 = stateObj.attributes.overunder\n c.pre3 = stateObj.attributes.down_distance_text\n\n c.in1 = c.pre1\n c.in2 = c.pre3\n c.finalTerm = stateObj.attributes.clock + \" - \" + c.gameDatePOST + \" (\" + c.pre3 + \")\";\n\n c.gameBar = t.translate(\"tennis.gameBar\", \"%s\", stateObj.attributes.clock);\n c.barLength[team] = stateObj.attributes.team_score;\n c.barLength[oppo] = stateObj.attributes.opponent_score;\n if (stateObj.attributes.team_shots_on_target) {\n c.gameBar = t.translate(\"tennis.gameBar\", \"%s\", stateObj.attributes.clock + \"(tiebreak)\");\n c.barLabel[team] = t.translate(\"tennis.teamBarLabel\", \"%s\", stateObj.attributes.team_score +'(' + stateObj.attributes.team_shots_on_target + ')');\n }\n else {\n c.barLabel[team] = t.translate(\"tennis.teamBarLabel\", \"%s\", String(stateObj.attributes.team_score));\n }\n if (stateObj.attributes.team_shots_on_target) {\n c.gameBar = t.translate(\"tennis.gameBar\", \"%s\", stateObj.attributes.clock + \"(tiebreak)\");\n c.barLabel[oppo] = t.translate(\"tennis.oppoBarLabel\", \"%s\", stateObj.attributes.opponent_score +'(' + stateObj.attributes.opponent_shots_on_target + ')');\n }\n else {\n c.barLabel[oppo] = t.translate(\"tennis.oppoBarLabel\", \"%s\", String(stateObj.attributes.opponent_score ));\n }\n c.timeoutsOp[team][1] = stateObj.attributes.team_sets_won >= 1 ? 1 : 0.2\n c.timeoutsOp[team][2] = stateObj.attributes.team_sets_won >= 2 ? 1 : 0.2\n c.timeoutsOp[team][3] = stateObj.attributes.team_sets_won >= 3 ? 1 : 0.2\n c.timeoutsOp[oppo][1] = stateObj.attributes.opponent_sets_won >= 1 ? 1 : 0.2\n c.timeoutsOp[oppo][2] = stateObj.attributes.opponent_sets_won >= 2 ? 1 : 0.2\n c.timeoutsOp[oppo][3] = stateObj.attributes.opponent_sets_won >= 3 ? 1 : 0.2\n\n c.logo[team] = TENNIS_HEADSHOT_URL + stateObj.attributes.team_id + \".png\";\n c.logo[oppo] = TENNIS_HEADSHOT_URL + stateObj.attributes.opponent_id + \".png\";\n\n c.title = c.title || stateObj.attributes.event_name\n\n c.timeoutsDisplay = 'inline';\n}\n\n//\n// setVolleyball()\n// gameBar = clock\n// barLength = team_score, opponent_score\n// barLabel = \"score\"\n// timeouts = sets won\n// timeoutsDisplay = 'inline';\n//\nexport function setVolleyball(t, stateObj, c, team, oppo) {\n c.gameBar = t.translate(\"volleyball.gameBar\", \"%s\", stateObj.attributes.clock);\n c.barLength[team] = stateObj.attributes.team_score;\n c.barLength[oppo] = stateObj.attributes.opponent_score;\n c.barLabel[team] = t.translate(\"volleyball.teamBarLabel\", \"%s\", String(stateObj.attributes.team_score));\n c.barLabel[oppo] = t.translate(\"volleyball.oppoBarLabel\", \"%s\", String(stateObj.attributes.opponent_score));\n c.timeoutsOp[team][1] = stateObj.attributes.team_sets_won >= 1 ? 1 : 0.2\n c.timeoutsOp[team][2] = stateObj.attributes.team_sets_won >= 2 ? 1 : 0.2\n c.timeoutsOp[team][3] = stateObj.attributes.team_sets_won >= 3 ? 1 : 0.2\n c.timeoutsOp[oppo][1] = stateObj.attributes.opponent_sets_won >= 1 ? 1 : 0.2\n c.timeoutsOp[oppo][2] = stateObj.attributes.opponent_sets_won >= 2 ? 1 : 0.2\n c.timeoutsOp[oppo][3] = stateObj.attributes.opponent_sets_won >= 3 ? 1 : 0.2\n\n c.timeoutsDisplay = 'inline';\n}\n","import { css } from \"./lit/lit-all.min.js\";\n\nexport const cardStyles = css`\n.card { position: relative; overflow: hidden; padding: 16px 16px 20px; font-weight: 400; border-radius: var(--ha-card-border-radius, 10px); }\n.title { text-align: center; font-size: 1.2em; font-weight: 500; }\n.team-bg { opacity: 0.08; position: absolute; top: -20%; left: -20%; width: 58%; z-index: 0; }\n.opponent-bg { opacity: 0.08; position: absolute; top: -20%; right: -20%; width: 58%; z-index: 0; }\n.card-content { display: flex; justify-content: space-evenly; align-items: center; text-align: center; position: relative; z-index: 1; }\n.team { text-align: center; width: 35%; }\n.team img { max-width: 90px; }\n.logo { max-height: 6.5em; }\n.score { font-size: var(--score_size, 3em); opacity: var(--score_opacity, 1); text-align: center; line-height: 1; }\n.line { height: 1px; background-color: var(--primary-text-color); margin:10px 0; }\n.left-clickable { text-decoration: none; color: inherit; }\n.right-clickable { text-decoration: none; color: inherit; }\n.bottom-clickable { text-decoration: none; color: inherit; }\n.disabled { pointer-events: none; cursor: default; }\n\n.possession { opacity: var(--possession-opacity, 1); font-size: 2.5em; text-align: center; font-weight:900; }\n.divider { font-size: 2.5em; text-align: center; margin: 0 4px; }\n.name { font-size: 1.4em; margin-bottom: 4px; }\n.rank { display: var(--rank-display, inline); font-size:0.8em; }\n.record { font-size:1.0em; height 1.0em; }\n.timeouts-wrapper { margin: 0.4em auto; width: 70%; display: var(--timeouts-display, inline); }\n.timeout { height: 0.6em; border-radius: 0.3em; background-color: var(--timeout-color, #000000); border: var(--timeout-border, 1px) solid var(--timeout-border-color, #ffffff); width: 20%; display: inline-block; margin: 0.4em auto; position: relative; opacity: var(--timeout-opacity, 0.2); }\n.bases { display: var(--bases-display, inherit); font-size: 2.5em; text-align: center; font-weight:900; }\n.on-base { opacity: var(--on-base-opacity, 1); display: inline-block; }\n.pitcher { opacity: 0.0; display: inline-block; }\n.in-row1 { font-size: 1em; height: 1em; margin: 6px 0 2px; }\n.in-row2 { ; font-size: 1em; height: 1em; margin: 6px 0 2px; }\n.in-row1, .in-row2 { display: flex; justify-content: space-between; align-items: center; margin: 2px 0; }\n.last-play { font-size: 1.2em; width: 100%; white-space: nowrap; overflow: hidden; box-sizing: border-box; }\n.last-play p { animation : slide var(--last-play-speed, 18s) linear infinite; display: inline-block; padding-left: 100%; margin: 2px 0 12px; }\n@keyframes slide { 0% { transform: translate(0, 0); } 100% { transform: translate(-100%, 0); } }\n.down-distance { text-align: right; }\n.play-clock { font-size: 1.4em; height: 1.4em; text-align: center; }\n.outs { display: var(--outs-display, inherit); text-align: center; }\n\n.bar-wrapper { display: var(--bar-display, inherit) }\n.bar-text { text-align: center; }\n.bar-flex { width: 100%; display: flex; justify-content: center; margin-top: 4px; }\n.bar-right { width: var(--bar-length, 0); background-color: var(--bar-color, red); height: 0.8em; border-radius: 0 0.4em 0.4em 0; border: var(--bar-border, 1px) solid var(--bar-border-color, lightgrey); border-left: 0; transition: all 1s ease-out; }\n.bar-left { width: var(--bar-length, 0); background-color: var(--bar-color, blue); height: 0.8em; border-radius: 0.4em 0 0 0.4em; border: var(--bar-border, 1px) solid var(--bar-border-color, lightgrey); border-right: 0; transition: all 1s ease-out; }\n.bar { display: flex; align-items: center; }\n.bar1-label { flex: 0 0 10px; padding: 0 10px 0 0; margin-top: 4px; }\n.bar2-label { flex: 0 0 10px; padding: 0 0 0 10px; text-align: right; margin-top: 4px; }\n.in-series-info { display: var(--series-summary-display, none); font-size: 1.2em; text-align: center; margin: 4px; }\n\n.gameday { font-size: 1.4em; height: 1.4em; }\n.gamedate { font-size: 1.1em; height: 1.1em; }\n.gametime { font-size: 1.1em; height: 1.1em; }\n.pre-row1 { font-weight: 500; font-size: 1.2em; height: 1.2em; margin: 6px 0 2px; }\n.pre-row1, .pre-row2, .pre-row3 { display: flex; justify-content: space-between; align-items: center; margin: 2px 0; }\n.pre-series-info { display: var(--series-summary-display, none); font-size: 1.2em; text-align: center; margin: 4px; }\n\n.post-row1 { font-size: 1.2em; text-align: center; }\n.post-series-info { display: var(--series-summary-display, none); font-size: 1.2em; text-align: center; margin: 4px; }\n\n.notFound1 { font-size: 1.4em; line-height: 1.2em; text-align: center; width: 100%; margin-bottom: 4px; }\n.notFound2 { font-size: 1.4em; line-height: 1.2em; text-align: center; width: 100%; margin-bottom: 4px; }\n\n.bye { font-size: 1.8em; text-align: center; width: 50%; }\n\n`;"],"names":["global","globalThis","supportsAdoptingStyleSheets","ShadowRoot","undefined","ShadyCSS","nativeShadow","Document","prototype","CSSStyleSheet","constructionToken","Symbol","cssTagCache","WeakMap","CSSResult","constructor","cssText","strings","safeToken","this","Error","_strings","styleSheet","_styleSheet","cacheable","length","get","replaceSync","set","toString","unsafeCSS","value","String","css","values","reduce","acc","v","idx","textFromCSSResult","adoptStyles","renderRoot","styles","adoptedStyleSheets","map","s","style","document","createElement","nonce","setAttribute","textContent","appendChild","getCompatibleStyle","sheet","rule","cssRules","cssResultFromStyleSheet","is","defineProperty","getOwnPropertyDescriptor","getOwnPropertyNames","getOwnPropertySymbols","getPrototypeOf","Object","trustedTypes","emptyStringForBooleanAttribute","emptyScript","polyfillSupport","reactiveElementPolyfillSupport","JSCompiler_renameProperty","prop","_obj","defaultConverter","toAttribute","type","Boolean","Array","JSON","stringify","fromAttribute","fromValue","Number","parse","e","notEqual","old","defaultPropertyDeclaration","attribute","converter","reflect","hasChanged","metadata","litPropertyMetadata","ReactiveElement","HTMLElement","addInitializer","initializer","__prepare","_initializers","push","observedAttributes","finalize","__attributeToPropertyMap","keys","createProperty","name","options","state","elementProperties","noAccessor","key","descriptor","getPropertyDescriptor","call","oldValue","requestUpdate","configurable","enumerable","getPropertyOptions","hasOwnProperty","superCtor","Map","finalized","props","properties","propKeys","p","attr","__attributeNameForProperty","elementStyles","finalizeStyles","isArray","Set","flat","Infinity","reverse","unshift","toLowerCase","super","__instanceProperties","isUpdatePending","hasUpdated","__reflectingProperty","__initialize","__updatePromise","Promise","res","enableUpdating","_$changedProperties","__saveInstanceProperties","forEach","i","addController","controller","__controllers","add","isConnected","hostConnected","removeController","delete","instanceProperties","size","createRenderRoot","shadowRoot","attachShadow","shadowRootOptions","connectedCallback","c","_requestedUpdate","disconnectedCallback","hostDisconnected","attributeChangedCallback","_old","_$attributeToProperty","__propertyToAttribute","attrValue","removeAttribute","ctor","propName","_$changeProperty","__enqueueUpdate","has","__reflectingProperties","reject","result","scheduleUpdate","performUpdate","wrapped","shouldUpdate","changedProperties","willUpdate","hostUpdate","update","__markUpdated","_$didUpdate","_changedProperties","hostUpdated","firstUpdated","updated","updateComplete","getUpdateComplete","mode","reactiveElementVersions","policy","createPolicy","createHTML","boundAttributeSuffix","marker","Math","random","toFixed","slice","markerMatch","nodeMarker","d","createMarker","createComment","isPrimitive","isIterable","iterator","SPACE_CHAR","textEndRegex","commentEndRegex","comment2EndRegex","tagEndRegex","RegExp","singleQuoteAttrEndRegex","doubleQuoteAttrEndRegex","rawTextElement","tag","_$litType$","html","svg","mathml","noChange","for","nothing","templateCache","walker","createTreeWalker","trustFromTemplateString","tsa","stringFromTSA","getTemplateHtml","l","attrNames","rawTextEndRegex","regex","attrName","match","attrNameEndIndex","lastIndex","exec","test","end","startsWith","Template","node","parts","nodeIndex","attrNameIndex","partCount","el","currentNode","content","wrapper","firstChild","replaceWith","childNodes","nextNode","nodeType","hasAttributes","getAttributeNames","endsWith","realName","statics","getAttribute","split","m","index","PropertyPart","BooleanAttributePart","EventPart","AttributePart","tagName","append","data","indexOf","_options","innerHTML","resolveDirective","part","parent","attributeIndex","currentDirective","__directives","__directive","nextDirectiveConstructor","_$initialize","_$resolve","TemplateInstance","template","_$parts","_$disconnectableChildren","_$template","_$parent","parentNode","_$isConnected","_clone","fragment","creationScope","importNode","partIndex","templatePart","ChildPart","nextSibling","ElementPart","_update","_$setValue","ChildPart$1","__isConnected","startNode","endNode","_$committedValue","_$startNode","_$endNode","directiveParent","_$clear","_commitText","_commitTemplateResult","_commitNode","_commitIterable","_insert","insertBefore","createTextNode","_$getTemplate","h","instance","itemParts","itemPart","item","start","from","_$notifyConnectionChanged","n","remove","setConnected","element","fill","valueIndex","noCommit","change","_commitValue","toggleAttribute","newListener","oldListener","shouldRemoveListener","capture","once","passive","shouldAddListener","removeEventListener","addEventListener","handleEvent","event","host","_$LH","_boundAttributeSuffix","_marker","_markerMatch","_HTML_RESULT","_getTemplateHtml","_TemplateInstance","_isIterable","_resolveDirective","_ChildPart","_AttributePart","_BooleanAttributePart","_EventPart","_PropertyPart","_ElementPart","litHtmlPolyfillSupport","litHtmlVersions","render","container","partOwnerNode","renderBefore","LitElement","renderOptions","__childPart","litElementHydrateSupport","litElementPolyfillSupport","_$LE","litElementVersions","isServer","TemplateResultType","HTML","SVG","MATHML","isTemplateResult","isCompiledTemplateResult","isDirectiveResult","getDirectiveClass","isSingleExpression","insertPart","containerPart","refPart","refNode","oldParent","parentChanged","newConnectionState","_$reparentDisconnectables","setChildPartValue","RESET_VALUE","setCommittedValue","getCommittedValue","removePart","clearPart","PartType","ATTRIBUTE","CHILD","PROPERTY","BOOLEAN_ATTRIBUTE","EVENT","ELEMENT","directive","_$litDirective$","Directive","_partInfo","__part","__attributeIndex","_part","notifyChildrenConnectedChanged","children","obj","removeDisconnectableFromParent","addDisconnectableToParent","installDisconnectAPI","reparentDisconnectables","newParent","notifyChildPartConnectedChanged","isClearingValue","fromPartIndex","AsyncDirective","isClearingDirective","reconnected","disconnected","setValue","newValues","PseudoWeakRef","ref","_ref","disconnect","reconnect","deref","Pauser","_promise","_resolve","pause","resolve","resume","AsyncReplaceDirective","__weakThis","__pauser","_mapper","mapper","__value","weakThis","pauser","async","iterable","callback","forAwaitOf","_this","commitValue","_index","asyncReplace","asyncAppend","partInfo","params","newPart","getStringsFromTemplateResult","cache","_templateCache","_valueKey","_value","vKey","childPart","pop","cachedContainerPart","createDocumentFragment","cachedPart","choose","cases","defaultCase","fn","classMap","classInfo","filter","join","_previousClasses","_staticClasses","classList","initialValue","guard","_previousValue","f","every","ifDefined","items","joiner","isFunction","keyed","k","live","hasAttribute","range","startOrEnd","step","createRef","Ref","lastElementForContextAndCallback","refChanged","_updateRefValue","_lastElementForRef","_element","_context","context","lastElementForCallback","generateMap","list","repeat","_getValuesAndKeys","keyFnOrTemplate","keyFn","oldParts","newKeys","_itemKeys","oldKeys","newParts","newKeyToIndexMap","oldKeyToIndexMap","oldHead","oldTail","newHead","newTail","oldIndex","oldPart","important","importantFlag","styleMap","styleInfo","includes","replace","_previousStyleProperties","removeProperty","isImportant","setProperty","templateContent","_previousTemplate","UnsafeHTMLDirective","directiveName","_templateResult","raw","resultType","unsafeHTML","UnsafeSVGDirective","unsafeSVG","isPromise","x","then","_infinity","UntilDirective","__lastRenderedIndex","__values","args","find","previousValues","previousLength","until","when","condition","trueCase","falseCase","brand","unwrapStaticValue","r","unsafeStatic","_$litStatic$","literal","textFromStatic","stringsCache","withStatic","coreTag","staticValue","dynamicValue","staticStrings","dynamicValues","hasStatics","coreHtml","coreSvg","window","litDisableBundleWarning","console","warn"],"version":3,"file":"ha-teamtracker-card.js.map"} \ No newline at end of file +{"mappings":"ACAO,IAAI,4CAAU;AAEd,IAAI,4CAAoB;AACxB,IAAI,4CAAmB;AACvB,IAAI,4CAAsB;AAC1B,IAAI,4CAAsB;AAC1B,IAAI,4CAAqB;;;ACNhC,EAAE;AACF,2CAA2C;AAC3C,EAAE;A;;;;C,GIIF,MAGMO,0BAASC,YAKF6J,4CACX9J,wBAAO+J,UAAAA,IAAAA,CAAAA,KACctG,MAApBzD,wBAAOgK,QAAAA,IAA0BhK,wBAAOgK,QAAAA,CAASC,YAAAA,AAAAA,KAClD,wBAAwBC,SAASxG,SAAAA,IACjC,aAAayG,cAAczG,SAAAA,EAkBvB0G,0BAAoBrI,UAEpBsI,0BAAc,IAAInI;AAAAA,MASXoI;IAOX,YACEC,CAAAA,EACAC,CAAAA,EACAC,CAAAA,CAAAA;QAEA,IAVFlI,IAAAA,CAAe,YAAA,GAAA,CAAI,GAUbkI,MAAcL,yBAChB,MAAUM,MACR;QAGJnI,IAAAA,CAAKgI,OAAAA,GAAUA,GACfhI,IAAAA,CAAKoI,CAAAA,GAAWH;IACjB;IAID,IAAA,aAAII;QAGF,IAAIA,IAAarI,IAAAA,CAAKsI,CAAAA;QACtB,MAAML,IAAUjI,IAAAA,CAAKoI,CAAAA;QACrB,IAAIb,6CAAAA,KAA8CrG,MAAfmH,GAA0B;YAC3D,MAAME,IAAAA,KAAwBrH,MAAZ+G,KAA4C,MAAnBA,EAAQO,MAAAA;YAC/CD,KACFF,CAAAA,IAAaP,wBAAY1G,GAAAA,CAAI6G,EAAAA,GAAAA,KAEZ/G,MAAfmH,KAAAA,CAAAA,AACDrI,CAAAA,IAAAA,CAAKsI,CAAAA,GAAcD,IAAa,IAAIT,a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c;QACd,SAAS;QACT,YAAY;IAChB;IACA,uBAAuB;QACnB,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,YAAY;QACR,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,cAAc;QACV,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,WAAW;QACP,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,YAAY;QACR,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,QAAQ;QACJ,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,OAAO;QACH,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,cAAc;QACV,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,WAAW;QACP,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;AACJ;;;ACnJO,MAAM,4CAAQ;IACjB,UAAU;QACN,aAAa;QACb,qBAAqB;QACrB,aAAa;QACb,WAAW;QACX,YAAY;QACZ,YAAY;QACZ,YAAY;QACZ,aAAa;QACb,aAAa;QACb,aAAa;QACb,cAAc;QACd,cAAc;QACd,SAAS;QACT,YAAY;IAChB;IACA,uBAAuB;QACnB,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,YAAY;QACR,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,cAAc;QACV,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,WAAW;QACP,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,YAAY;QACR,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,QAAQ;QACJ,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,OAAO;QACH,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,cAAc;QACV,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,WAAW;QACP,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;AACJ;;;ACnJO,MAAM,4CAAK;IACd,UAAU;QACN,aAAa;QACb,qBAAqB;QACrB,aAAa;QACb,WAAW;QACX,YAAY;QACZ,YAAY;QACZ,YAAY;QACZ,aAAa;QACb,aAAa;QACb,aAAa;QACb,cAAc;QACd,cAAc;QACd,SAAS;QACT,YAAY;IAChB;IACA,uBAAuB;QACnB,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,YAAY;QACR,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,cAAc;QACV,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,WAAW;QACP,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,YAAY;QACR,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,QAAQ;QACJ,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,OAAO;QACH,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,cAAc;QACV,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,WAAW;QACP,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;AACJ;;;ACnJO,MAAM,4CAAS;IAClB,UAAU;QACN,aAAa;QACb,qBAAqB;QACrB,aAAa;QACb,WAAW;QACX,YAAY;QACZ,YAAY;QACZ,YAAY;QACZ,aAAa;QACb,aAAa;QACb,aAAa;QACb,cAAc;QACd,cAAc;QACd,SAAS;QACT,YAAY;IAChB;IACA,uBAAuB;QACnB,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,YAAY;QACR,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,cAAc;QACV,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,WAAW;QACP,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,YAAY;QACR,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,QAAQ;QACJ,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,OAAO;QACH,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,cAAc;QACV,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,WAAW;QACP,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;AACJ;;;ACnJO,MAAM,4CAAK;IACd,UAAU;QACN,aAAa;QACb,qBAAqB;QACrB,aAAa;QACb,WAAW;QACX,YAAY;QACZ,YAAY;QACZ,YAAY;QACZ,aAAa;QACb,aAAa;QACb,aAAa;QACb,cAAc;QACd,cAAc;QACd,SAAS;QACT,YAAY;IAChB;IACA,uBAAuB;QACnB,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,YAAY;QACR,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,cAAc;QACV,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,WAAW;QACP,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,YAAY;QACR,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,QAAQ;QACJ,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,OAAO;QACH,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,cAAc;QACV,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,WAAW;QACP,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;AACJ;;;ACnJO,MAAM,4CAAK;IACd,UAAU;QACN,aAAa;QACb,qBAAqB;QACrB,aAAa;QACb,WAAW;QACX,YAAY;QACZ,YAAY;QACZ,YAAY;QACZ,aAAa;QACb,aAAa;QACb,aAAa;QACb,cAAc;QACd,cAAc;QACd,SAAS;QACT,YAAY;IAChB;IACA,uBAAuB;QACnB,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,YAAY;QACR,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,cAAc;QACV,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,WAAW;QACP,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,YAAY;QACR,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,QAAQ;QACJ,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,OAAO;QACH,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,cAAc;QACV,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,WAAW;QACP,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;AACJ;;;ACnJO,MAAM,4CAAK;IACd,UAAU;QACN,aAAa;QACb,qBAAqB;QACrB,aAAa;QACb,WAAW;QACX,YAAY;QACZ,YAAY;QACZ,YAAY;QACZ,aAAa;QACb,aAAa;QACb,aAAa;QACb,cAAc;QACd,cAAc;QACd,SAAS;QACT,YAAY;IAChB;IACA,uBAAuB;QACnB,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,YAAY;QACR,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,cAAc;QACV,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,WAAW;QACP,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,YAAY;QACR,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,QAAQ;QACJ,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,OAAO;QACH,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,cAAc;QACV,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,WAAW;QACP,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;AACJ;;;ACnJO,MAAM,4CAAQ;IACjB,UAAU;QACN,aAAa;QACb,qBAAqB;QACrB,aAAa;QACb,WAAW;QACX,SAAS;QACT,YAAY;IAChB;IACA,YAAY;QACR,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,cAAc;QACV,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,WAAW;QACP,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,YAAY;QACR,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,cAAc;QACV,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,WAAW;QACP,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;AACJ;;;ACzFO,MAAM,4CAAK;IACd,UAAU;QACN,aAAa;QACb,qBAAqB;QACrB,aAAa;QACb,WAAW;QACX,YAAY;QACZ,YAAY;QACZ,YAAY;QACZ,aAAa;QACb,aAAa;QACb,aAAa;QACb,cAAc;QACd,cAAc;QACd,SAAS;QACT,YAAY;IAChB;IACA,uBAAuB;QACnB,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,YAAY;QACR,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,cAAc;QACV,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,WAAW;QACP,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,YAAY;QACR,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,QAAQ;QACJ,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,OAAO;QACH,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,cAAc;QACV,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,WAAW;QACP,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;AACJ;;;ACnJO,MAAM,4CAAQ;IACjB,UAAU;QACN,aAAa;QACb,qBAAqB;QACrB,aAAa;QACb,WAAW;QACX,YAAY;QACZ,YAAY;QACZ,YAAY;QACZ,aAAa;QACb,aAAa;QACb,aAAa;QACb,cAAc;QACd,cAAc;QACd,SAAS;QACT,YAAY;IAChB;IACA,uBAAuB;QACnB,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,YAAY;QACR,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,cAAc;QACV,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,WAAW;QACP,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,YAAY;QACR,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,QAAQ;QACJ,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,aAAa;QACb,WAAW;QACX,gBAAgB;QAChB,gBAAgB;IACpB;IACA,UAAU;QACN,aAAa;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AAa,CAAC;IAClC;AAOJ;;;Ab3NA,eAAe,MAAM,CAAC,oBAAoB,CAAA,GAAA,yCAAc;AACxD,eAAe,MAAM,CAAC,2BAA2B,CAAA,GAAA,yCAAoB;AAErE,QAAQ,IAAI,CAAC,uCACT,kCACA,CAAA,GAAA,yCAAM;AAEV,EAAE;AACF,uDAAuD;AACvD,EAAE;AACF,OAAO,WAAW,GAAG,OAAO,WAAW,IAAI,EAAE,EAAE,mEAAmE;AAClH,OAAO,WAAW,CAAC,IAAI,CAAC;IACpB,MAAM;IACN,MAAM;IACN,SAAS;IACT,aAAa;AACjB","sources":["src/ha-teamtracker-card.js","src/const.js","src/card_editor.js","node_modules/@lit/reactive-element/reactive-element.js","node_modules/@lit/reactive-element/src/reactive-element.ts","node_modules/@lit/reactive-element/css-tag.js","node_modules/@lit/reactive-element/src/css-tag.ts","node_modules/lit-html/lit-html.js","node_modules/lit-html/src/lit-html.ts","node_modules/lit-element/lit-element.js","node_modules/lit-element/src/lit-element.ts","node_modules/lit-html/is-server.js","node_modules/lit-html/src/is-server.ts","src/teamtracker_card.js","src/localize/translator.js","src/localize/languages/en.js","src/localize/languages/en_US.js","src/localize/languages/es.js","src/localize/languages/es_419.js","src/localize/languages/fr.js","src/localize/languages/it.js","src/localize/languages/nl.js","src/localize/languages/pt_BR.js","src/localize/languages/sk.js","src/localize/languages/sk_SK.js","src/render_bye.js","src/render_error.js","src/render_in.js","node_modules/lit-html/directives/style-map.js","node_modules/lit-html/src/directives/style-map.ts","node_modules/lit-html/directive.js","node_modules/lit-html/src/directive.ts","src/render_not_found.js","src/render_post.js","src/render_pre.js","src/set_defaults.js","src/set_sports.js","src/styles.js"],"sourcesContent":["import { VERSION } from \"./const.js\";\nimport { TeamtrackerCardEditor } from \"./card_editor.js\";\nimport { TeamTrackerCard } from \"./teamtracker_card.js\";\n\n\ncustomElements.define(\"teamtracker-card\", TeamTrackerCard);\ncustomElements.define(\"teamtracker-card-editor\", TeamtrackerCardEditor);\n\nconsole.info(\"%c TEAMTRACKER-CARD %s IS INSTALLED\",\n \"color: blue; font-weight: bold\",\n VERSION);\n\n//\n// Add card to list of Custom Cards in the Card Picker\n//\nwindow.customCards = window.customCards || []; // Create the list if it doesn't exist. Careful not to overwrite it\nwindow.customCards.push({\n type: \"teamtracker-card\",\n name: \"Team Tracker Card\",\n preview: false,\n description: \"Card to display the ha-teamtracker sensor\",\n});","export let VERSION = \"v0.14.3\";\n\nexport let GOLF_HEADSHOT_URL = \"https://a.espncdn.com/i/headshots/golf/players/full/\";\nexport let MMA_HEADSHOT_URL = \"https://a.espncdn.com/i/headshots/mma/players/full/\";\nexport let RACING_HEADSHOT_URL = \"https://a.espncdn.com/i/headshots/rpm/players/full/\";\nexport let TENNIS_HEADSHOT_URL = \"https://a.espncdn.com/i/headshots/tennis/players/full/\";\nexport let ERROR_HEADSHOT_URL = \"https://cdn-icons-png.freepik.com/512/9706/9706583.png\";","//\n// Define and register the UI Card Editor \n//\nimport { html, LitElement } from \"lit\";\n\n\nexport class TeamtrackerCardEditor extends LitElement {\n\n static get properties() {\n return {\n _config: { type: Object },\n currentPage: { type: String },\n entities: { type: Array },\n hass: { type: Object },\n _entity: { type: String },\n };\n }\n\n constructor() {\n super();\n this.currentPage = 'card';\n this._entity = '';\n this.entities = [];\n this._formValueChanged = this._formValueChanged.bind(this);\n }\n\n\n setConfig(config) {\n if (!config) {\n throw new Error(\"Invalid configuration\");\n }\n this._config = config;\n this._entity = config.entity || '';\n }\n \n\n get config() {\n return this._config;\n }\n \n updated(changedProperties) {\n if (changedProperties.has('hass')) {\n this.fetchEntities();\n }\n if (changedProperties.has('_config') && this._config && this._config.entity) {\n this._entity = this._config.entity;\n }\n }\n \n fetchEntities() {\n if (this.hass) {\n this.entities = Object.keys(this.hass.states).filter((e) =>\n e.startsWith('sensor.') &&\n this.hass.states[e].attributes.hasOwnProperty('sport')\n )\n .sort((a, b) => a.localeCompare(b));\n }\n }\n\n configChanged(newConfig) {\n const event = new Event(\"config-changed\", {\n bubbles: true,\n composed: true,\n });\n event.detail = { config: newConfig };\n this.dispatchEvent(event);\n }\n \n _EntityChanged(event, key) {\n if (!this._config) {\n return;\n }\n \n const newConfig = { ...this._config };\n \n if (key === 'entity') {\n newConfig.entity = event.target.value;\n this._entity = event.target.value;\n }\n \n this.configChanged(newConfig);\n this.requestUpdate();\n }\n \n _valueChanged(event, key) {\n if (!this._config) {\n return;\n }\n \n let newConfig = { ...this._config };\n \n if (key.includes('.')) {\n const parts = key.split('.');\n let currentLevel = newConfig;\n \n for (let i = 0; i < parts.length - 1; i++) {\n const part = parts[i];\n \n currentLevel[part] = { ...currentLevel[part] };\n \n currentLevel = currentLevel[part];\n }\n \n const finalKey = parts[parts.length - 1];\n if (event.target.checked !== undefined) {\n currentLevel[finalKey] = event.target.checked;\n } else {\n currentLevel[finalKey] = event.target.value;\n }\n } else {\n if (event.target.checked !== undefined) {\n newConfig[key] = event.target.checked;\n } else {\n newConfig[key] = event.target.value;\n }\n }\n \n this.configChanged(newConfig);\n this.requestUpdate();\n }\n \n\n _formValueChanged(event) {\n if (event.target.tagName.toLowerCase() === 'ha-form') {\n const newConfig = event.detail.value;\n this.configChanged(newConfig);\n this.requestUpdate();\n }\n }\n \n // This function is called when the input element of the editor loses focus\n entityChanged(ev) {\n\n // We make a copy of the current config so we don't accidentally overwrite anything too early\n const _config = Object.assign({}, this._config);\n // Then we update the entity value with what we just got from the input field\n _config.entity = ev.target.value;\n // And finally write back the updated configuration all at once\n this._config = _config;\n\n // A config-changed event will tell lovelace we have made changed to the configuration\n // this make sure the changes are saved correctly later and will update the preview\n const event = new CustomEvent(\"config-changed\", {\n detail: { config: _config },\n bubbles: true,\n composed: true,\n });\n this.dispatchEvent(event);\n }\n\n render() {\n if (!this.hass || !this._config) {\n return html``;\n }\n\n return html`\n \n
\n

Teamtracker Sensor:

\n
\n this._EntityChanged(e, 'entity')}\n @closed=${(ev) => ev.stopPropagation()}\n >\n ${this.entities.map((entity) => {\n return html`${entity}`;\n })}\n \n
\n
\n

Settings:

\n this._valueChanged(e, 'home_side')}\n @closed=${(ev) => ev.stopPropagation()}\n >\n Team on Left\n Home on Left\n Home on Right\n \n
\n this._valueChanged(e, 'show_league')}\"\n .checked=\"${this._config.show_league === true}\"\n >\n \n \n
\n
\n this._valueChanged(e, 'show_rank')}\"\n .checked=\"${this._config.show_rank !== false}\"\n >\n \n \n
\n
\n this._valueChanged(e, 'show_timeouts')}\"\n .checked=\"${this._config.show_timeouts!== false}\"\n >\n \n \n
\n
\n this._valueChanged(e, 'outline')}\"\n .checked=\"${this._config.outline=== true}\"\n >\n \n \n
\n
\n this._valueChanged(e, 'outline_color')}\"\n >\n \n
\n
\n

Overrides:

\n this._valueChanged(e, 'card_title')}\"\n >\n \n
\n this._valueChanged(e, 'team_url')}\"\n >\n \n
\n this._valueChanged(e, 'opponent_url')}\"\n >\n \n
\n this._valueChanged(e, 'bottom_url')}\"\n >\n \n
\n
\n this._valueChanged(e, 'debug')}\"\n .checked=\"${this._config.debug=== true}\"\n >\n \n \n
\n
\n `;\n }\n}","import{getCompatibleStyle as t,adoptStyles as s}from\"./css-tag.js\";export{CSSResult,adoptStyles,css,getCompatibleStyle,supportsAdoptingStyleSheets,unsafeCSS}from\"./css-tag.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const{is:i,defineProperty:e,getOwnPropertyDescriptor:r,getOwnPropertyNames:h,getOwnPropertySymbols:o,getPrototypeOf:n}=Object,a=globalThis,c=a.trustedTypes,l=c?c.emptyScript:\"\",p=a.reactiveElementPolyfillSupport,d=(t,s)=>t,u={toAttribute(t,s){switch(s){case Boolean:t=t?l:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},f=(t,s)=>!i(t,s),y={attribute:!0,type:String,converter:u,reflect:!1,hasChanged:f};Symbol.metadata??=Symbol(\"metadata\"),a.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y){if(s.state&&(s.attribute=!1),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e(this.prototype,t,r)}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t}};return{get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??y}static _$Ei(){if(this.hasOwnProperty(d(\"elementProperties\")))return;const t=n(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(d(\"finalized\")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(d(\"properties\"))){const t=this.properties,s=[...h(t),...o(t)];for(const i of s)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i)}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(t(s))}else void 0!==s&&i.push(t(s));return i}static _$Eu(t,s){const i=s.attribute;return!1===i?void 0:\"string\"==typeof i?i:\"string\"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return s(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,s,i){this._$AK(t,i)}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&!0===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r=\"function\"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f)(this[t],s))return;this.P(t,s,i)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),!0===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t)!0!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i)}let t=!1;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU()}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(s)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU()}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:\"open\"},b[d(\"elementProperties\")]=new Map,b[d(\"finalized\")]=new Map,p?.({ReactiveElement:b}),(a.reactiveElementVersions??=[]).push(\"2.0.4\");export{b as ReactiveElement,u as defaultConverter,f as notEqual};\n//# sourceMappingURL=reactive-element.js.map\n","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n/**\n * Use this module if you want to create your own base class extending\n * {@link ReactiveElement}.\n * @packageDocumentation\n */\n\nimport {\n getCompatibleStyle,\n adoptStyles,\n CSSResultGroup,\n CSSResultOrNative,\n} from './css-tag.js';\nimport type {\n ReactiveController,\n ReactiveControllerHost,\n} from './reactive-controller.js';\n\n// In the Node build, this import will be injected by Rollup:\n// import {HTMLElement, customElements} from '@lit-labs/ssr-dom-shim';\n\nexport * from './css-tag.js';\nexport type {\n ReactiveController,\n ReactiveControllerHost,\n} from './reactive-controller.js';\n\n/**\n * Removes the `readonly` modifier from properties in the union K.\n *\n * This is a safer way to cast a value to a type with a mutable version of a\n * readonly field, than casting to an interface with the field re-declared\n * because it preserves the type of all the fields and warns on typos.\n */\ntype Mutable = Omit & {\n -readonly [P in keyof Pick]: P extends K ? T[P] : never;\n};\n\n// TODO (justinfagnani): Add `hasOwn` here when we ship ES2022\nconst {\n is,\n defineProperty,\n getOwnPropertyDescriptor,\n getOwnPropertyNames,\n getOwnPropertySymbols,\n getPrototypeOf,\n} = Object;\n\nconst NODE_MODE = false;\n\n// Lets a minifier replace globalThis references with a minified name\nconst global = globalThis;\n\nif (NODE_MODE) {\n global.customElements ??= customElements;\n}\n\nconst DEV_MODE = true;\n\nlet issueWarning: (code: string, warning: string) => void;\n\nconst trustedTypes = (global as unknown as {trustedTypes?: {emptyScript: ''}})\n .trustedTypes;\n\n// Temporary workaround for https://crbug.com/993268\n// Currently, any attribute starting with \"on\" is considered to be a\n// TrustedScript source. Such boolean attributes must be set to the equivalent\n// trusted emptyScript value.\nconst emptyStringForBooleanAttribute = trustedTypes\n ? (trustedTypes.emptyScript as unknown as '')\n : '';\n\nconst polyfillSupport = DEV_MODE\n ? global.reactiveElementPolyfillSupportDevMode\n : global.reactiveElementPolyfillSupport;\n\nif (DEV_MODE) {\n // Ensure warnings are issued only 1x, even if multiple versions of Lit\n // are loaded.\n const issuedWarnings: Set = (global.litIssuedWarnings ??=\n new Set());\n\n // Issue a warning, if we haven't already.\n issueWarning = (code: string, warning: string) => {\n warning += ` See https://lit.dev/msg/${code} for more information.`;\n if (!issuedWarnings.has(warning)) {\n console.warn(warning);\n issuedWarnings.add(warning);\n }\n };\n\n issueWarning(\n 'dev-mode',\n `Lit is in dev mode. Not recommended for production!`\n );\n\n // Issue polyfill support warning.\n if (global.ShadyDOM?.inUse && polyfillSupport === undefined) {\n issueWarning(\n 'polyfill-support-missing',\n `Shadow DOM is being polyfilled via \\`ShadyDOM\\` but ` +\n `the \\`polyfill-support\\` module has not been loaded.`\n );\n }\n}\n\n/**\n * Contains types that are part of the unstable debug API.\n *\n * Everything in this API is not stable and may change or be removed in the future,\n * even on patch releases.\n */\n// eslint-disable-next-line @typescript-eslint/no-namespace\nexport namespace ReactiveUnstable {\n /**\n * When Lit is running in dev mode and `window.emitLitDebugLogEvents` is true,\n * we will emit 'lit-debug' events to window, with live details about the update and render\n * lifecycle. These can be useful for writing debug tooling and visualizations.\n *\n * Please be aware that running with window.emitLitDebugLogEvents has performance overhead,\n * making certain operations that are normally very cheap (like a no-op render) much slower,\n * because we must copy data and dispatch events.\n */\n // eslint-disable-next-line @typescript-eslint/no-namespace\n export namespace DebugLog {\n export type Entry = Update;\n export interface Update {\n kind: 'update';\n }\n }\n}\n\ninterface DebugLoggingWindow {\n // Even in dev mode, we generally don't want to emit these events, as that's\n // another level of cost, so only emit them when DEV_MODE is true _and_ when\n // window.emitLitDebugEvents is true.\n emitLitDebugLogEvents?: boolean;\n}\n\n/**\n * Useful for visualizing and logging insights into what the Lit template system is doing.\n *\n * Compiled out of prod mode builds.\n */\nconst debugLogEvent = DEV_MODE\n ? (event: ReactiveUnstable.DebugLog.Entry) => {\n const shouldEmit = (global as unknown as DebugLoggingWindow)\n .emitLitDebugLogEvents;\n if (!shouldEmit) {\n return;\n }\n global.dispatchEvent(\n new CustomEvent('lit-debug', {\n detail: event,\n })\n );\n }\n : undefined;\n\n/*\n * When using Closure Compiler, JSCompiler_renameProperty(property, object) is\n * replaced at compile time by the munged name for object[property]. We cannot\n * alias this function, so we have to use a small shim that has the same\n * behavior when not compiling.\n */\n/*@__INLINE__*/\nconst JSCompiler_renameProperty =

(\n prop: P,\n _obj: unknown\n): P => prop;\n\n/**\n * Converts property values to and from attribute values.\n */\nexport interface ComplexAttributeConverter {\n /**\n * Called to convert an attribute value to a property\n * value.\n */\n fromAttribute?(value: string | null, type?: TypeHint): Type;\n\n /**\n * Called to convert a property value to an attribute\n * value.\n *\n * It returns unknown instead of string, to be compatible with\n * https://github.com/WICG/trusted-types (and similar efforts).\n */\n toAttribute?(value: Type, type?: TypeHint): unknown;\n}\n\ntype AttributeConverter =\n | ComplexAttributeConverter\n | ((value: string | null, type?: TypeHint) => Type);\n\n/**\n * Defines options for a property accessor.\n */\nexport interface PropertyDeclaration {\n /**\n * When set to `true`, indicates the property is internal private state. The\n * property should not be set by users. When using TypeScript, this property\n * should be marked as `private` or `protected`, and it is also a common\n * practice to use a leading `_` in the name. The property is not added to\n * `observedAttributes`.\n */\n readonly state?: boolean;\n\n /**\n * Indicates how and whether the property becomes an observed attribute.\n * If the value is `false`, the property is not added to `observedAttributes`.\n * If true or absent, the lowercased property name is observed (e.g. `fooBar`\n * becomes `foobar`). If a string, the string value is observed (e.g\n * `attribute: 'foo-bar'`).\n */\n readonly attribute?: boolean | string;\n\n /**\n * Indicates the type of the property. This is used only as a hint for the\n * `converter` to determine how to convert the attribute\n * to/from a property.\n */\n readonly type?: TypeHint;\n\n /**\n * Indicates how to convert the attribute to/from a property. If this value\n * is a function, it is used to convert the attribute value a the property\n * value. If it's an object, it can have keys for `fromAttribute` and\n * `toAttribute`. If no `toAttribute` function is provided and\n * `reflect` is set to `true`, the property value is set directly to the\n * attribute. A default `converter` is used if none is provided; it supports\n * `Boolean`, `String`, `Number`, `Object`, and `Array`. Note,\n * when a property changes and the converter is used to update the attribute,\n * the property is never updated again as a result of the attribute changing,\n * and vice versa.\n */\n readonly converter?: AttributeConverter;\n\n /**\n * Indicates if the property should reflect to an attribute.\n * If `true`, when the property is set, the attribute is set using the\n * attribute name determined according to the rules for the `attribute`\n * property option and the value of the property converted using the rules\n * from the `converter` property option.\n */\n readonly reflect?: boolean;\n\n /**\n * A function that indicates if a property should be considered changed when\n * it is set. The function should take the `newValue` and `oldValue` and\n * return `true` if an update should be requested.\n */\n hasChanged?(value: Type, oldValue: Type): boolean;\n\n /**\n * Indicates whether an accessor will be created for this property. By\n * default, an accessor will be generated for this property that requests an\n * update when set. If this flag is `true`, no accessor will be created, and\n * it will be the user's responsibility to call\n * `this.requestUpdate(propertyName, oldValue)` to request an update when\n * the property changes.\n */\n readonly noAccessor?: boolean;\n\n /**\n * Whether this property is wrapping accessors. This is set by `@property`\n * to control the initial value change and reflection logic.\n *\n * @internal\n */\n wrapped?: boolean;\n}\n\n/**\n * Map of properties to PropertyDeclaration options. For each property an\n * accessor is made, and the property is processed according to the\n * PropertyDeclaration options.\n */\nexport interface PropertyDeclarations {\n readonly [key: string]: PropertyDeclaration;\n}\n\ntype PropertyDeclarationMap = Map;\n\ntype AttributeMap = Map;\n\n/**\n * A Map of property keys to values.\n *\n * Takes an optional type parameter T, which when specified as a non-any,\n * non-unknown type, will make the Map more strongly-typed, associating the map\n * keys with their corresponding value type on T.\n *\n * Use `PropertyValues` when overriding ReactiveElement.update() and\n * other lifecycle methods in order to get stronger type-checking on keys\n * and values.\n */\n// This type is conditional so that if the parameter T is not specified, or\n// is `any`, the type will include `Map`. Since T is not\n// given in the uses of PropertyValues in this file, all uses here fallback to\n// meaning `Map`, but if a developer uses\n// `PropertyValues` (or any other value for T) they will get a\n// strongly-typed Map type.\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport type PropertyValues = T extends object\n ? PropertyValueMap\n : Map;\n\n/**\n * Do not use, instead prefer {@linkcode PropertyValues}.\n */\n// This type must be exported such that JavaScript generated by the Google\n// Closure Compiler can import a type reference.\nexport interface PropertyValueMap extends Map {\n get(k: K): T[K] | undefined;\n set(key: K, value: T[K]): this;\n has(k: K): boolean;\n delete(k: K): boolean;\n}\n\nexport const defaultConverter: ComplexAttributeConverter = {\n toAttribute(value: unknown, type?: unknown): unknown {\n switch (type) {\n case Boolean:\n value = value ? emptyStringForBooleanAttribute : null;\n break;\n case Object:\n case Array:\n // if the value is `null` or `undefined` pass this through\n // to allow removing/no change behavior.\n value = value == null ? value : JSON.stringify(value);\n break;\n }\n return value;\n },\n\n fromAttribute(value: string | null, type?: unknown) {\n let fromValue: unknown = value;\n switch (type) {\n case Boolean:\n fromValue = value !== null;\n break;\n case Number:\n fromValue = value === null ? null : Number(value);\n break;\n case Object:\n case Array:\n // Do *not* generate exception when invalid JSON is set as elements\n // don't normally complain on being mis-configured.\n // TODO(sorvell): Do generate exception in *dev mode*.\n try {\n // Assert to adhere to Bazel's \"must type assert JSON parse\" rule.\n fromValue = JSON.parse(value!) as unknown;\n } catch (e) {\n fromValue = null;\n }\n break;\n }\n return fromValue;\n },\n};\n\nexport interface HasChanged {\n (value: unknown, old: unknown): boolean;\n}\n\n/**\n * Change function that returns true if `value` is different from `oldValue`.\n * This method is used as the default for a property's `hasChanged` function.\n */\nexport const notEqual: HasChanged = (value: unknown, old: unknown): boolean =>\n !is(value, old);\n\nconst defaultPropertyDeclaration: PropertyDeclaration = {\n attribute: true,\n type: String,\n converter: defaultConverter,\n reflect: false,\n hasChanged: notEqual,\n};\n\n/**\n * A string representing one of the supported dev mode warning categories.\n */\nexport type WarningKind =\n | 'change-in-update'\n | 'migration'\n | 'async-perform-update';\n\nexport type Initializer = (element: ReactiveElement) => void;\n\n// Temporary, until google3 is on TypeScript 5.2\ndeclare global {\n interface SymbolConstructor {\n readonly metadata: unique symbol;\n }\n}\n\n// Ensure metadata is enabled. TypeScript does not polyfill\n// Symbol.metadata, so we must ensure that it exists.\n(Symbol as {metadata: symbol}).metadata ??= Symbol('metadata');\n\ndeclare global {\n // This is public global API, do not change!\n // eslint-disable-next-line no-var\n var litPropertyMetadata: WeakMap<\n object,\n Map\n >;\n}\n\n// Map from a class's metadata object to property options\n// Note that we must use nullish-coalescing assignment so that we only use one\n// map even if we load multiple version of this module.\nglobal.litPropertyMetadata ??= new WeakMap<\n object,\n Map\n>();\n\n/**\n * Base element class which manages element properties and attributes. When\n * properties change, the `update` method is asynchronously called. This method\n * should be supplied by subclasses to render updates as desired.\n * @noInheritDoc\n */\nexport abstract class ReactiveElement\n // In the Node build, this `extends` clause will be substituted with\n // `(globalThis.HTMLElement ?? HTMLElement)`.\n //\n // This way, we will first prefer any global `HTMLElement` polyfill that the\n // user has assigned, and then fall back to the `HTMLElement` shim which has\n // been imported (see note at the top of this file about how this import is\n // generated by Rollup). Note that the `HTMLElement` variable has been\n // shadowed by this import, so it no longer refers to the global.\n extends HTMLElement\n implements ReactiveControllerHost\n{\n // Note: these are patched in only in DEV_MODE.\n /**\n * Read or set all the enabled warning categories for this class.\n *\n * This property is only used in development builds.\n *\n * @nocollapse\n * @category dev-mode\n */\n static enabledWarnings?: WarningKind[];\n\n /**\n * Enable the given warning category for this class.\n *\n * This method only exists in development builds, so it should be accessed\n * with a guard like:\n *\n * ```ts\n * // Enable for all ReactiveElement subclasses\n * ReactiveElement.enableWarning?.('migration');\n *\n * // Enable for only MyElement and subclasses\n * MyElement.enableWarning?.('migration');\n * ```\n *\n * @nocollapse\n * @category dev-mode\n */\n static enableWarning?: (warningKind: WarningKind) => void;\n\n /**\n * Disable the given warning category for this class.\n *\n * This method only exists in development builds, so it should be accessed\n * with a guard like:\n *\n * ```ts\n * // Disable for all ReactiveElement subclasses\n * ReactiveElement.disableWarning?.('migration');\n *\n * // Disable for only MyElement and subclasses\n * MyElement.disableWarning?.('migration');\n * ```\n *\n * @nocollapse\n * @category dev-mode\n */\n static disableWarning?: (warningKind: WarningKind) => void;\n\n /**\n * Adds an initializer function to the class that is called during instance\n * construction.\n *\n * This is useful for code that runs against a `ReactiveElement`\n * subclass, such as a decorator, that needs to do work for each\n * instance, such as setting up a `ReactiveController`.\n *\n * ```ts\n * const myDecorator = (target: typeof ReactiveElement, key: string) => {\n * target.addInitializer((instance: ReactiveElement) => {\n * // This is run during construction of the element\n * new MyController(instance);\n * });\n * }\n * ```\n *\n * Decorating a field will then cause each instance to run an initializer\n * that adds a controller:\n *\n * ```ts\n * class MyElement extends LitElement {\n * @myDecorator foo;\n * }\n * ```\n *\n * Initializers are stored per-constructor. Adding an initializer to a\n * subclass does not add it to a superclass. Since initializers are run in\n * constructors, initializers will run in order of the class hierarchy,\n * starting with superclasses and progressing to the instance's class.\n *\n * @nocollapse\n */\n static addInitializer(initializer: Initializer) {\n this.__prepare();\n (this._initializers ??= []).push(initializer);\n }\n\n static _initializers?: Initializer[];\n\n /*\n * Due to closure compiler ES6 compilation bugs, @nocollapse is required on\n * all static methods and properties with initializers. Reference:\n * - https://github.com/google/closure-compiler/issues/1776\n */\n\n /**\n * Maps attribute names to properties; for example `foobar` attribute to\n * `fooBar` property. Created lazily on user subclasses when finalizing the\n * class.\n * @nocollapse\n */\n private static __attributeToPropertyMap: AttributeMap;\n\n /**\n * Marks class as having been finalized, which includes creating properties\n * from `static properties`, but does *not* include all properties created\n * from decorators.\n * @nocollapse\n */\n protected static finalized: true | undefined;\n\n /**\n * Memoized list of all element properties, including any superclass\n * properties. Created lazily on user subclasses when finalizing the class.\n *\n * @nocollapse\n * @category properties\n */\n static elementProperties: PropertyDeclarationMap;\n\n /**\n * User-supplied object that maps property names to `PropertyDeclaration`\n * objects containing options for configuring reactive properties. When\n * a reactive property is set the element will update and render.\n *\n * By default properties are public fields, and as such, they should be\n * considered as primarily settable by element users, either via attribute or\n * the property itself.\n *\n * Generally, properties that are changed by the element should be private or\n * protected fields and should use the `state: true` option. Properties\n * marked as `state` do not reflect from the corresponding attribute\n *\n * However, sometimes element code does need to set a public property. This\n * should typically only be done in response to user interaction, and an event\n * should be fired informing the user; for example, a checkbox sets its\n * `checked` property when clicked and fires a `changed` event. Mutating\n * public properties should typically not be done for non-primitive (object or\n * array) properties. In other cases when an element needs to manage state, a\n * private property set with the `state: true` option should be used. When\n * needed, state properties can be initialized via public properties to\n * facilitate complex interactions.\n * @nocollapse\n * @category properties\n */\n static properties: PropertyDeclarations;\n\n /**\n * Memoized list of all element styles.\n * Created lazily on user subclasses when finalizing the class.\n * @nocollapse\n * @category styles\n */\n static elementStyles: Array = [];\n\n /**\n * Array of styles to apply to the element. The styles should be defined\n * using the {@linkcode css} tag function, via constructible stylesheets, or\n * imported from native CSS module scripts.\n *\n * Note on Content Security Policy:\n *\n * Element styles are implemented with `\n \n Sensor unavailable: ${entity}\n \n `;\n // Return the HTML template\n return htmlTemplate;\n}\n\nexport function renderStateInvalid() {\n const htmlTemplate = html`\n \n \n State Invalid: ${this._config.state}\n \n `;\n // Return the HTML template\n return htmlTemplate;\n}\n","import { html } from \"lit\";\nimport { styleMap } from 'lit/directives/style-map.js';\n\n\n// Define the rendering function\nexport function renderIn(c) {\n // Render the HTML template using the provided object `c`\n const htmlTemplate = html`\n \n

\n \n \n `; // Return the HTML template\n return htmlTemplate;\n}","import{noChange as R}from\"../lit-html.js\";import{directive as e,Directive as i,PartType as t}from\"../directive.js\";\n/**\n * @license\n * Copyright 2018 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const ee=\"important\",ie=\" !\"+ee,se=e(class extends i{constructor(e){if(super(e),e.type!==t.ATTRIBUTE||\"style\"!==e.name||e.strings?.length>2)throw Error(\"The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.\")}render(t){return Object.keys(t).reduce(((e,r)=>{const s=t[r];return null==s?e:e+`${r=r.includes(\"-\")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,\"-$&\").toLowerCase()}:${s};`}),\"\")}update(t,[e]){const{style:r}=t.element;if(void 0===this.ft)return this.ft=new Set(Object.keys(e)),this.render(e);for(const t of this.ft)null==e[t]&&(this.ft.delete(t),t.includes(\"-\")?r.removeProperty(t):r[t]=null);for(const t in e){const s=e[t];if(null!=s){this.ft.add(t);const e=\"string\"==typeof s&&s.endsWith(ie);t.includes(\"-\")||e?r.setProperty(t,e?s.slice(0,-11):s,e?ee:\"\"):r[t]=s}}return R}});export{se as styleMap};\n//# sourceMappingURL=style-map.js.map\n","/**\n * @license\n * Copyright 2018 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nimport {AttributePart, noChange} from '../lit-html.js';\nimport {\n directive,\n Directive,\n DirectiveParameters,\n PartInfo,\n PartType,\n} from '../directive.js';\n\n/**\n * A key-value set of CSS properties and values.\n *\n * The key should be either a valid CSS property name string, like\n * `'background-color'`, or a valid JavaScript camel case property name\n * for CSSStyleDeclaration like `backgroundColor`.\n */\nexport interface StyleInfo {\n [name: string]: string | number | undefined | null;\n}\n\nconst important = 'important';\n// The leading space is important\nconst importantFlag = ' !' + important;\n// How many characters to remove from a value, as a negative number\nconst flagTrim = 0 - importantFlag.length;\n\nclass StyleMapDirective extends Directive {\n private _previousStyleProperties?: Set;\n\n constructor(partInfo: PartInfo) {\n super(partInfo);\n if (\n partInfo.type !== PartType.ATTRIBUTE ||\n partInfo.name !== 'style' ||\n (partInfo.strings?.length as number) > 2\n ) {\n throw new Error(\n 'The `styleMap` directive must be used in the `style` attribute ' +\n 'and must be the only part in the attribute.',\n );\n }\n }\n\n render(styleInfo: Readonly) {\n return Object.keys(styleInfo).reduce((style, prop) => {\n const value = styleInfo[prop];\n if (value == null) {\n return style;\n }\n // Convert property names from camel-case to dash-case, i.e.:\n // `backgroundColor` -> `background-color`\n // Vendor-prefixed names need an extra `-` appended to front:\n // `webkitAppearance` -> `-webkit-appearance`\n // Exception is any property name containing a dash, including\n // custom properties; we assume these are already dash-cased i.e.:\n // `--my-button-color` --> `--my-button-color`\n prop = prop.includes('-')\n ? prop\n : prop\n .replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g, '-$&')\n .toLowerCase();\n return style + `${prop}:${value};`;\n }, '');\n }\n\n override update(part: AttributePart, [styleInfo]: DirectiveParameters) {\n const {style} = part.element as HTMLElement;\n\n if (this._previousStyleProperties === undefined) {\n this._previousStyleProperties = new Set(Object.keys(styleInfo));\n return this.render(styleInfo);\n }\n\n // Remove old properties that no longer exist in styleInfo\n for (const name of this._previousStyleProperties) {\n // If the name isn't in styleInfo or it's null/undefined\n if (styleInfo[name] == null) {\n this._previousStyleProperties!.delete(name);\n if (name.includes('-')) {\n style.removeProperty(name);\n } else {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (style as any)[name] = null;\n }\n }\n }\n\n // Add or update properties\n for (const name in styleInfo) {\n const value = styleInfo[name];\n if (value != null) {\n this._previousStyleProperties.add(name);\n const isImportant =\n typeof value === 'string' && value.endsWith(importantFlag);\n if (name.includes('-') || isImportant) {\n style.setProperty(\n name,\n isImportant\n ? (value as string).slice(0, flagTrim)\n : (value as string),\n isImportant ? important : '',\n );\n } else {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n (style as any)[name] = value;\n }\n }\n }\n return noChange;\n }\n}\n\n/**\n * A directive that applies CSS properties to an element.\n *\n * `styleMap` can only be used in the `style` attribute and must be the only\n * expression in the attribute. It takes the property names in the\n * {@link StyleInfo styleInfo} object and adds the properties to the inline\n * style of the element.\n *\n * Property names with dashes (`-`) are assumed to be valid CSS\n * property names and set on the element's style object using `setProperty()`.\n * Names without dashes are assumed to be camelCased JavaScript property names\n * and set on the element's style object using property assignment, allowing the\n * style object to translate JavaScript-style names to CSS property names.\n *\n * For example `styleMap({backgroundColor: 'red', 'border-top': '5px', '--size':\n * '0'})` sets the `background-color`, `border-top` and `--size` properties.\n *\n * @param styleInfo\n * @see {@link https://lit.dev/docs/templates/directives/#stylemap styleMap code samples on Lit.dev}\n */\nexport const styleMap = directive(StyleMapDirective);\n\n/**\n * The type of the class that powers this directive. Necessary for naming the\n * directive's return type.\n */\nexport type {StyleMapDirective};\n","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e=t=>(...e)=>({_$litDirective$:t,values:e});class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this.t=t,this._$AM=e,this.i=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}export{i as Directive,t as PartType,e as directive};\n//# sourceMappingURL=directive.js.map\n","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nimport {Disconnectable, Part} from './lit-html.js';\n\nexport {\n AttributePart,\n BooleanAttributePart,\n ChildPart,\n ElementPart,\n EventPart,\n Part,\n PropertyPart,\n} from './lit-html.js';\n\nexport interface DirectiveClass {\n new (part: PartInfo): Directive;\n}\n\n/**\n * This utility type extracts the signature of a directive class's render()\n * method so we can use it for the type of the generated directive function.\n */\nexport type DirectiveParameters = Parameters;\n\n/**\n * A generated directive function doesn't evaluate the directive, but just\n * returns a DirectiveResult object that captures the arguments.\n */\nexport interface DirectiveResult {\n /**\n * This property needs to remain unminified.\n * @internal\n */\n ['_$litDirective$']: C;\n /** @internal */\n values: DirectiveParameters>;\n}\n\nexport const PartType = {\n ATTRIBUTE: 1,\n CHILD: 2,\n PROPERTY: 3,\n BOOLEAN_ATTRIBUTE: 4,\n EVENT: 5,\n ELEMENT: 6,\n} as const;\n\nexport type PartType = (typeof PartType)[keyof typeof PartType];\n\nexport interface ChildPartInfo {\n readonly type: typeof PartType.CHILD;\n}\n\nexport interface AttributePartInfo {\n readonly type:\n | typeof PartType.ATTRIBUTE\n | typeof PartType.PROPERTY\n | typeof PartType.BOOLEAN_ATTRIBUTE\n | typeof PartType.EVENT;\n readonly strings?: ReadonlyArray;\n readonly name: string;\n readonly tagName: string;\n}\n\nexport interface ElementPartInfo {\n readonly type: typeof PartType.ELEMENT;\n}\n\n/**\n * Information about the part a directive is bound to.\n *\n * This is useful for checking that a directive is attached to a valid part,\n * such as with directive that can only be used on attribute bindings.\n */\nexport type PartInfo = ChildPartInfo | AttributePartInfo | ElementPartInfo;\n\n/**\n * Creates a user-facing directive function from a Directive class. This\n * function has the same parameters as the directive's render() method.\n */\nexport const directive =\n (c: C) =>\n (...values: DirectiveParameters>): DirectiveResult => ({\n // This property needs to remain unminified.\n ['_$litDirective$']: c,\n values,\n });\n\n/**\n * Base class for creating custom directives. Users should extend this class,\n * implement `render` and/or `update`, and then pass their subclass to\n * `directive`.\n */\nexport abstract class Directive implements Disconnectable {\n //@internal\n __part!: Part;\n //@internal\n __attributeIndex: number | undefined;\n //@internal\n __directive?: Directive;\n\n //@internal\n _$parent!: Disconnectable;\n\n // These will only exist on the AsyncDirective subclass\n //@internal\n _$disconnectableChildren?: Set;\n // This property needs to remain unminified.\n //@internal\n ['_$notifyDirectiveConnectionChanged']?(isConnected: boolean): void;\n\n constructor(_partInfo: PartInfo) {}\n\n // See comment in Disconnectable interface for why this is a getter\n get _$isConnected() {\n return this._$parent._$isConnected;\n }\n\n /** @internal */\n _$initialize(\n part: Part,\n parent: Disconnectable,\n attributeIndex: number | undefined,\n ) {\n this.__part = part;\n this._$parent = parent;\n this.__attributeIndex = attributeIndex;\n }\n /** @internal */\n _$resolve(part: Part, props: Array): unknown {\n return this.update(part, props);\n }\n\n abstract render(...props: Array): unknown;\n\n update(_part: Part, props: Array): unknown {\n return this.render(...props);\n }\n}\n","import { html } from \"lit\";\n\n\n// Define the rendering function\nexport function renderNotFound(c) {\n // Render the HTML template using the provided object `c`\n const htmlTemplate = html`\n \n
\n
${c.title}
\n \n
\n
\n \n
${c.notFoundLeague}
\n
\n
\n
${c.notFoundTerm1}
\n
${c.notFoundTerm2}
\n
\n
\n
\n
\n `;\n // Return the HTML template\n return htmlTemplate;\n}","import { html } from \"lit\";\nimport { styleMap } from 'lit/directives/style-map.js';\n\n\n// Define the rendering function\nexport function renderPost(c) {\n // Render the HTML template using the provided object `c`\n const htmlTemplate = html`\n \n \n \n \n `; // Return the HTML template\n return htmlTemplate;\n}","import { html } from \"lit\";\nimport { styleMap } from 'lit/directives/style-map.js';\n\n\n// Define the rendering function\nexport function renderPre(c) {\n // Render the HTML template using the provided object `c`\n const htmlTemplate = html`\n \n \n \n \n `; // Return the HTML template\n return htmlTemplate;\n}","import { ERROR_HEADSHOT_URL } from \"./const.js\";\n\n//\n// Initialize card data\n//\nexport function initCardData(c) {\n c.logoBG = [];\n c.logo = [];\n c.logoError = [];\n c.name = [];\n c.url = [];\n c.initials = [];\n c.rank = [];\n c.record = [];\n c.score = [];\n c.scoreOp = [];\n c.scoreSize = \"3em\";\n c.barLabel = [];\n c.barLength = [];\n c.color = [];\n c.possessionOp = [];\n c.winner = [];\n c.timeoutsOp = [];\n c.timeoutsOp[1] = [];\n c.timeoutsOp[2] = [];\n}\n\n//\n// Set default values for variable components\n//\nexport function setDefaults(t, lang, stateObj, c, o, sport, team, oppo) {\n\n // Set default sections to display / hide\n\n c.initialsDisplay = 'none';\n c.outsDisplay = 'none';\n c.basesDisplay = 'none';\n c.barDisplay = 'inherit';\n c.timeoutsDisplay = 'inline';\n c.rankDisplay = 'inline';\n c.seriesSummaryDisplay = 'none';\n if (o.bottomURL == 'more-info') {\n c.bottomURL = null;\n }\n else {\n c.bottomURL = o.bottomURL || stateObj.attributes.event_url;\n }\n if (o.show_timeouts == false) {\n c.timeoutsDisplay = 'none';\n }\n if (o.show_rank == false) {\n c.rankDisplay = 'none';\n }\n c.onFirstOp = 0.2;\n c.onSecondOp = 0.2;\n c.onThirdOp = 0.2;\n if (stateObj.attributes.on_first) {\n c.onFirstOp = 1;\n }\n if (stateObj.attributes.on_second) {\n c.onSecondOp = 1;\n }\n if (stateObj.attributes.on_third) {\n c.onThirdOp = 1;\n }\n\n // Set Title data\n\n c.title = o.cardTitle;\n if (o.showLeague) {\n c.title = c.title || stateObj.attributes.league\n }\n\n // Set Scoreboard data\n\n c.logo[team] = stateObj.attributes.team_logo;\n c.logoError[team] = ERROR_HEADSHOT_URL;\n c.logoBG[team] = stateObj.attributes.team_logo;\n c.name[team] = stateObj.attributes.team_name;\n if (o.teamURL == 'more-info') {\n c.url[team] = null;\n }\n else {\n c.url[team] = o.teamURL || stateObj.attributes.team_url ;\n }\n c.rank[team] = stateObj.attributes.team_rank;\n c.record[team] = stateObj.attributes.team_record;\n c.winner[team] = stateObj.attributes.team_winner || false;\n c.logo[oppo] = stateObj.attributes.opponent_logo;\n c.logoError[oppo] = ERROR_HEADSHOT_URL;\n c.logoBG[oppo] = stateObj.attributes.opponent_logo;\n c.name[oppo] = stateObj.attributes.opponent_name;\n if (o.opponentURL == 'more-info') {\n c.url[oppo] = null;\n }\n else {\n c.url[oppo] = o.opponentURL || stateObj.attributes.opponent_url ;\n }\n c.rank[oppo] = stateObj.attributes.opponent_rank;\n c.record[oppo] = stateObj.attributes.opponent_record;\n c.winner[oppo] = stateObj.attributes.opponent_winner || false;\n c.playClock = stateObj.attributes.clock;\n if (o.showLeague) {\n c.logoBG[team] = stateObj.attributes.league_logo\n c.logoBG[oppo] = stateObj.attributes.league_logo\n }\n\n c.score[team] = stateObj.attributes.team_score;\n c.score[oppo] = stateObj.attributes.opponent_score;\n\n c.scoreOp[1] = .6;\n c.scoreOp[2] = .6;\n if (c.winner[team]) {\n c.scoreOp[team] = 1;\n }\n if (c.winner[oppo]) {\n c.scoreOp[oppo] = 1;\n }\n\n if (stateObj.attributes.team_homeaway == 'home') {\n c.color[team] = stateObj.attributes.team_colors[0];\n c.color[oppo] = stateObj.attributes.opponent_colors[1];\n }\n else if (stateObj.attributes.team_homeaway == 'away') {\n c.color[team] = stateObj.attributes.team_colors[1];\n c.color[oppo] = stateObj.attributes.opponent_colors[0];\n }\n else {\n c.color[team] = '#ffffff';\n c.color[oppo] = '#000000';\n }\n\n c.possessionOp[team] = 0;\n c.possessionOp[oppo] = 0;\n if (stateObj.attributes.possession == stateObj.attributes.team_id) {\n c.possessionOp[team] = 1;\n }\n if (stateObj.attributes.possession == stateObj.attributes.opponent_id) {\n c.possessionOp[oppo] = 1;\n }\n c.timeoutsOp[team][1] = stateObj.attributes.team_timeouts >= 1 ? 1 : 0.2\n c.timeoutsOp[team][2] = stateObj.attributes.team_timeouts >= 2 ? 1 : 0.2;\n c.timeoutsOp[team][3] = stateObj.attributes.team_timeouts >= 3 ? 1 : 0.2;\n c.timeoutsOp[oppo][1] = stateObj.attributes.opponent_timeouts >= 1 ? 1 : 0.2\n c.timeoutsOp[oppo][2] = stateObj.attributes.opponent_timeouts >= 2 ? 1 : 0.2;\n c.timeoutsOp[oppo][3] = stateObj.attributes.opponent_timeouts >= 3 ? 1 : 0.2;\n \n // Set Location / Context data\n\n c.startTerm = t.translate(sport + \".startTerm\");\n c.startTime = stateObj.attributes.kickoff_in;\n c.venue = stateObj.attributes.venue;\n c.location = stateObj.attributes.location;\n\n c.pre1 = stateObj.attributes.odds;\n c.pre2 = '';\n if (stateObj.attributes.overunder) {\n c.pre2 = t.translate(sport + \".overUnder\", \"%s\", String(stateObj.attributes.overunder));\n }\n c.pre3 = stateObj.attributes.tv_network;\n\n c.in0 = '';\n c.in1 = '';\n if (stateObj.attributes.down_distance_text) {\n c.in1 = t.translate(sport + \".gameStat1\", \"%s\", stateObj.attributes.down_distance_text);\n }\n c.in2 = '';\n if (stateObj.attributes.tv_network) {\n c.in2 = t.translate(sport + \".gameStat2\", \"%s\", stateObj.attributes.tv_network);\n }\n c.finalTerm = stateObj.attributes.clock + \" - \" + c.gameDatePOST;\n\n // Set Play data\n\n c.lastPlay = stateObj.attributes.last_play;\n c.lastPlaySpeed = 18;\n if (c.lastPlay) {\n c.lastPlaySpeed = 18 + Math.floor(c.lastPlay.length / 40) * 5;\n }\n\n // Set Game Bar data\n\n c.gameBar = t.translate(sport + \".gameBar\");\n c.barLength[team] = 0;\n if (stateObj.attributes.team_win_probability) {\n c.barLength[team] = (stateObj.attributes.team_win_probability * 100).toFixed(0);\n }\n c.barLength[oppo] = 0;\n if (stateObj.attributes.opponent_win_probability) {\n c.barLength[oppo] = (stateObj.attributes.opponent_win_probability * 100).toFixed(0);\n }\n c.barLabel[team] = t.translate(sport + \".teamBarLabel\", \"%s\", String(c.barLength[team]));\n c.barLabel[oppo] = t.translate(sport + \".oppoBarLabel\", \"%s\", String(c.barLength[oppo]));\n\n // Situation specific data\n\n c.notFoundLogo = stateObj.attributes.league_logo;\n c.notFoundLogoBG = c.notFoundLogo;\n c.notFoundLeague = null;\n\n if (stateObj.attributes.league != \"XXX\") {\n c.notFoundLeague = stateObj.attributes.league;\n }\n\n c.notFoundTerm1 = stateObj.attributes.team_abbr;\n c.notFoundTerm2 = \"NOT_FOUND\"\n if (stateObj.attributes.api_message) {\n c.notFoundTerm2 = t.translate(\"common.api_error\")\n var apiTail = stateObj.attributes.api_message.substring(stateObj.attributes.api_message.length - 17)\n if (apiTail.slice(-1) == \"Z\") {\n var lastDateForm = new Date(apiTail)\n c.notFoundTerm2 = t.translate(\"common.no_upcoming_games\", \"%s\", lastDateForm.toLocaleDateString(lang))\n }\n }\n\n c.byeTerm = t.translate(\"common.byeTerm\");\n\n c.seriesSummary = stateObj.attributes.series_summary;\n if (c.seriesSummary) {\n c.seriesSummaryDisplay= \"inherit\";\n }\n}\n\nexport function setCardFormat(o, c) {\n\n c.outlineWidth = 0;\n c.outlineColor = o.outlineColor;\n\n if (o.outline == true) {\n c.outlineWidth = 1;\n }\n}\n\n\nexport function setStartInfo(c, stateObj, t, lang, time_format) {\n\n var gameDate = new Date(stateObj.attributes.date);\n var gameDateStr = gameDate.toLocaleDateString(lang, { month: 'short', day: '2-digit' });\n\n var todayDate = new Date();\n var todayDateStr = todayDate.toLocaleDateString(lang, { month: 'short', day: '2-digit' });\n\n var tomorrowDate = new Date();\n tomorrowDate.setDate(todayDate.getDate() + 1);\n var tomorrowDateStr = tomorrowDate.toLocaleDateString(lang, { month: 'short', day: '2-digit' });\n\n var nextweekDate = new Date();\n nextweekDate.setDate(todayDate.getDate() + 6);\n\n c.gameWeekday = gameDate.toLocaleDateString(lang, { weekday: 'long' });\n if (gameDateStr === todayDateStr) {\n c.gameWeekday = t.translate(\"common.today\");\n }\n else if (gameDateStr === tomorrowDateStr) {\n c.gameWeekday = t.translate(\"common.tomorrow\");\n }\n c.gameDatePOST = gameDateStr;\n c.gameDatePRE = null;\n if (gameDate > nextweekDate) {\n c.gameDatePRE = gameDateStr;\n }\n\n c.gameTime = gameDate.toLocaleTimeString(lang, { hour: '2-digit', minute: '2-digit' });\n if (time_format == \"24\") {\n c.gameTime = gameDate.toLocaleTimeString(lang, { hour: '2-digit', minute: '2-digit', hour12: false });\n }\n if (time_format == \"12\") {\n c.gameTime = gameDate.toLocaleTimeString(lang, { hour: '2-digit', minute: '2-digit', hour12: true });\n }\n if (time_format == \"system\") {\n var sys_lang = navigator.language || \"en\"\n c.gameTime = gameDate.toLocaleTimeString(sys_lang, { hour: '2-digit', minute: '2-digit' });\n }\n}","import { GOLF_HEADSHOT_URL, MMA_HEADSHOT_URL, RACING_HEADSHOT_URL, TENNIS_HEADSHOT_URL } from \"./const.js\";\n\n//\n// Call function to set the data for the sport\n//\nexport function setSportData(sport, t, stateObj, c, team, oppo) {\n\n switch (sport) {\n case \"baseball\":\n return setBaseball(t, stateObj, c, team, oppo);\n case \"basketball\":\n return setBasketball(t, stateObj, c, team, oppo);\n case \"cricket\":\n return setCricket(t, stateObj, c, team, oppo);\n case \"golf\":\n return setGolf(t, stateObj, c, team, oppo);\n case \"hockey\":\n return setHockey(t, stateObj, c, team, oppo);\n case \"mma\":\n return setMMA(t, stateObj, c, team, oppo);\n case \"racing\":\n return setRacing(t, stateObj, c, team, oppo);\n case \"soccer\":\n return setSoccer(t, stateObj, c, team, oppo);\n case \"tennis\":\n return setTennis(t, stateObj, c, team, oppo);\n case \"volleyball\":\n return setVolleyball(t, stateObj, c, team, oppo);\n default:\n return;\n }\n}\n\n//\n// setBaseball()\n// in1 = balls\n// in2 = strikes\n// in0 = outs\n// outsDisplay = 'inherit';\n// timeoutsDisplay = 'none';\n// basesDisplay = 'inherit';\n//\nexport function setBaseball(t, stateObj, c, team, oppo) {\n c.in1 = t.translate(\"baseball.gameStat1\", \"%s\", String(stateObj.attributes.balls));\n c.in2 = t.translate(\"baseball.gameStat2\", \"%s\", String(stateObj.attributes.strikes));\n c.in0 = t.translate(\"baseball.gameStat3\", \"%s\", String(stateObj.attributes.outs));\n c.outsDisplay = 'inherit';\n c.timeoutsDisplay = 'none';\n c.basesDisplay = 'inherit';\n}\n\n\n//\n// setBasketball()\n// timeoutsDisplay = 'none';\n// barDisplay = \"none\";\n//\nexport function setBasketball(t, stateObj, c, team, oppo) {\n c.timeoutsDisplay = 'none';\n c.barDisplay = 'none';\n}\n\n\n//\n// SetCricket()\n// timeoutsDisplay = 'none';\n// barDisplay = \"none\";\n// in1 = odds;\n// in2 = quarter;\n// score = split score into 2 parts\n// record = set to second part of split score\n\nexport function setCricket(t, stateObj, c, team, oppo) {\n var subscores = [];\n\n c.timeoutsDisplay = 'none';\n c.barDisplay = \"none\";\n\n c.in1 = stateObj.attributes.odds;\n c.in2 = stateObj.attributes.quarter;\n\n if (c.score != []) {\n if (c.score[1] || c.score[2]) {\n subscores[1] = c.score[1].split(\"(\");\n subscores[2] = c.score[2].split(\"(\");\n\n c.score[1] = subscores[1][0];\n c.score[2] = subscores[2][0];\n\n if (subscores[1].length > 1) {\n c.record[1] = \"(\" + subscores[1][1];\n }\n if (subscores[2].length > 1) {\n c.record[2] = \"(\" + subscores[2][1];\n }\n }\n }\n}\n\n\n//\n// setGolf()\n// title = use event_name if title is not set\n// venue = event_name\n// barLength = team_shots_on_target, opponent_shots_on_target\n// barLabel = team_total_shots, opponent_total_shots\n// finalTerm = clock\n// timeoutsDisplay = 'none';\n//\nexport function setGolf(t, stateObj, c, team, oppo) {\n c.title = c.title || stateObj.attributes.event_name;\n c.venue = stateObj.attributes.event_name;\n c.barLength[team] = stateObj.attributes.team_shots_on_target;\n c.barLength[oppo] = stateObj.attributes.opponent_shots_on_target;\n c.barLabel[team] = t.translate(\"golf.teamBarLabel\", \"%s\", stateObj.attributes.team_total_shots +'(' + stateObj.attributes.team_shots_on_target + ')');\n c.barLabel[oppo] = t.translate(\"golf.oppoBarLabel\", \"%s\", stateObj.attributes.opponent_total_shots +'(' + stateObj.attributes.opponent_shots_on_target + ')');\n c.finalTerm = stateObj.attributes.clock;\n c.timeoutsDisplay = 'none';\n\n c.logo[team] = GOLF_HEADSHOT_URL + stateObj.attributes.team_id + \".png\";\n c.logo[oppo] = GOLF_HEADSHOT_URL + stateObj.attributes.opponent_id + \".png\";\n}\n\n//\n// setHockey()\n// barLength = team_shots_on_target, opponent_shots_on_target\n// barLabel = \"Shots on Target\"\n// timeoutsDisplay = 'none';\n//\nexport function setHockey(t, stateObj, c, team, oppo) {\n c.barLength[team] = stateObj.attributes.team_shots_on_target;\n c.barLength[oppo] = stateObj.attributes.opponent_shots_on_target;\n c.barLabel[team] = t.translate(\"hockey.teamBarLabel\", \"%s\", String(stateObj.attributes.team_shots_on_target));\n c.barLabel[oppo] = t.translate(\"hockey.oppoBarLabel\", \"%s\", String(stateObj.attributes.opponent_shots_on_target));\n\n c.timeoutsDisplay = 'none';\n}\n\n\n//\n// setMMA()\n// title = use event_name if title is not set\n// timeoutsDisplay = 'none';\n// barDisplay = \"none\";\n//\nexport function setMMA(t, stateObj, c, team, oppo) {\n c.title = c.title || stateObj.attributes.event_name;\n c.timeoutsDisplay = 'none';\n c.barDisplay = \"none\";\n\n c.logo[team] = MMA_HEADSHOT_URL + stateObj.attributes.team_id + \".png\";\n c.logo[oppo] = MMA_HEADSHOT_URL + stateObj.attributes.opponent_id + \".png\";\n}\n\n\n//\n// setRacing()\n// title = use event_name if title is not set\n// pre1 = quarter (race type)\n// in1 = quarter (race type)\n// finalTerm = adjust for type of race (race, qualifying, etc.)\n// timeoutsDisplay = 'none';\n// barLength = team_total_shots, opponent_total_shots (laps)\n// barLabel = (laps)\n// If NASCAR, remove logos and use initials\n//\nexport function setRacing(t, stateObj, c, team, oppo) {\n c.title = c.title || stateObj.attributes.event_name;\n if (stateObj.attributes.quarter) {\n c.pre1 = stateObj.attributes.quarter;\n c.in1 = stateObj.attributes.quarter;\n c.finalTerm = stateObj.attributes.clock + \" - \" + c.gameDatePOST + \" (\" + stateObj.attributes.quarter + \")\";\n }\n c.timeoutsDisplay = 'none';\n\n c.barLength[team] = stateObj.attributes.team_total_shots;\n c.barLength[oppo] = stateObj.attributes.team_total_shots;\n c.barLabel[team] = t.translate(\"racing.teamBarLabel\", \"%s\", String(stateObj.attributes.team_total_shots));\n c.barLabel[oppo] = t.translate(\"racing.teamBarLabel\", \"%s\", String(stateObj.attributes.team_total_shots));\n\n// if (stateObj.attributes.league.includes(\"NASCAR\")) {\n// c.logo[team] = null;\n// c.logo[oppo] = null;\n// c.initials[team] = \"\";\n// c.initials[oppo] = \"\";\n// if (c.name[team] && c.name[oppo]) {\n// c.initials[team] = c.name[team].split(\" \").map((n)=>n[0]).join(\"\");\n// c.initials[oppo] = c.name[oppo].split(\" \").map((n)=>n[0]).join(\"\");\n// c.initialsDisplay = 'inline';\n// }\n// }\n c.logo[team] = RACING_HEADSHOT_URL + stateObj.attributes.team_id + \".png\";\n c.logo[oppo] = RACING_HEADSHOT_URL + stateObj.attributes.opponent_id + \".png\";\n}\n\n//\n// setSoccer()\n// barLength = team_total_shots, opponent_total_shots\n// barLabel = \"Shots on Target\"\n// timeoutsDisplay = 'none';\n//\nexport function setSoccer(t, stateObj, c, team, oppo) {\n c.barLength[team] = stateObj.attributes.team_total_shots;\n c.barLength[oppo] = stateObj.attributes.opponent_total_shots;\n c.barLabel[team] = t.translate(\"soccer.teamBarLabel\", \"%s\", stateObj.attributes.team_total_shots +'(' + stateObj.attributes.team_shots_on_target + ')');\n c.barLabel[oppo] = t.translate(\"soccer.oppoBarLabel\", \"%s\", stateObj.attributes.opponent_total_shots +'(' + stateObj.attributes.opponent_shots_on_target + ')');\n c.timeoutsDisplay = 'none';\n}\n\n//\n// setTennis()\n// venue = event_name\n// pre1 = odds\n// in1 = odds\n// finalTerm = adjust for round (odds)\n// gameBar = clock\n// barLength = team_score, opponent_score\n// barLabel = \"score\"\n// timeouts = sets won\n// title = use event_name if title is not set\n// timeoutsDisplay = 'inline';\n//\nexport function setTennis(t, stateObj, c, team, oppo) {\n c.venue = stateObj.attributes.venue;\n c.location = stateObj.attributes.location;\n\n c.pre1 = stateObj.attributes.event_name\n c.pre2 = stateObj.attributes.overunder\n c.pre3 = stateObj.attributes.down_distance_text\n\n c.in1 = c.pre1\n c.in2 = c.pre3\n c.finalTerm = stateObj.attributes.clock + \" - \" + c.gameDatePOST + \" (\" + c.pre3 + \")\";\n\n c.gameBar = t.translate(\"tennis.gameBar\", \"%s\", stateObj.attributes.clock);\n c.barLength[team] = stateObj.attributes.team_score;\n c.barLength[oppo] = stateObj.attributes.opponent_score;\n if (stateObj.attributes.team_shots_on_target) {\n c.gameBar = t.translate(\"tennis.gameBar\", \"%s\", stateObj.attributes.clock + \"(tiebreak)\");\n c.barLabel[team] = t.translate(\"tennis.teamBarLabel\", \"%s\", stateObj.attributes.team_score +'(' + stateObj.attributes.team_shots_on_target + ')');\n }\n else {\n c.barLabel[team] = t.translate(\"tennis.teamBarLabel\", \"%s\", String(stateObj.attributes.team_score));\n }\n if (stateObj.attributes.team_shots_on_target) {\n c.gameBar = t.translate(\"tennis.gameBar\", \"%s\", stateObj.attributes.clock + \"(tiebreak)\");\n c.barLabel[oppo] = t.translate(\"tennis.oppoBarLabel\", \"%s\", stateObj.attributes.opponent_score +'(' + stateObj.attributes.opponent_shots_on_target + ')');\n }\n else {\n c.barLabel[oppo] = t.translate(\"tennis.oppoBarLabel\", \"%s\", String(stateObj.attributes.opponent_score ));\n }\n c.timeoutsOp[team][1] = stateObj.attributes.team_sets_won >= 1 ? 1 : 0.2\n c.timeoutsOp[team][2] = stateObj.attributes.team_sets_won >= 2 ? 1 : 0.2\n c.timeoutsOp[team][3] = stateObj.attributes.team_sets_won >= 3 ? 1 : 0.2\n c.timeoutsOp[oppo][1] = stateObj.attributes.opponent_sets_won >= 1 ? 1 : 0.2\n c.timeoutsOp[oppo][2] = stateObj.attributes.opponent_sets_won >= 2 ? 1 : 0.2\n c.timeoutsOp[oppo][3] = stateObj.attributes.opponent_sets_won >= 3 ? 1 : 0.2\n\n c.logo[team] = TENNIS_HEADSHOT_URL + stateObj.attributes.team_id + \".png\";\n c.logo[oppo] = TENNIS_HEADSHOT_URL + stateObj.attributes.opponent_id + \".png\";\n\n c.title = c.title || stateObj.attributes.event_name\n\n c.timeoutsDisplay = 'inline';\n}\n\n//\n// setVolleyball()\n// gameBar = clock\n// barLength = team_score, opponent_score\n// barLabel = \"score\"\n// timeouts = sets won\n// timeoutsDisplay = 'inline';\n//\nexport function setVolleyball(t, stateObj, c, team, oppo) {\n c.gameBar = t.translate(\"volleyball.gameBar\", \"%s\", stateObj.attributes.clock);\n c.barLength[team] = stateObj.attributes.team_score;\n c.barLength[oppo] = stateObj.attributes.opponent_score;\n c.barLabel[team] = t.translate(\"volleyball.teamBarLabel\", \"%s\", String(stateObj.attributes.team_score));\n c.barLabel[oppo] = t.translate(\"volleyball.oppoBarLabel\", \"%s\", String(stateObj.attributes.opponent_score));\n c.timeoutsOp[team][1] = stateObj.attributes.team_sets_won >= 1 ? 1 : 0.2\n c.timeoutsOp[team][2] = stateObj.attributes.team_sets_won >= 2 ? 1 : 0.2\n c.timeoutsOp[team][3] = stateObj.attributes.team_sets_won >= 3 ? 1 : 0.2\n c.timeoutsOp[oppo][1] = stateObj.attributes.opponent_sets_won >= 1 ? 1 : 0.2\n c.timeoutsOp[oppo][2] = stateObj.attributes.opponent_sets_won >= 2 ? 1 : 0.2\n c.timeoutsOp[oppo][3] = stateObj.attributes.opponent_sets_won >= 3 ? 1 : 0.2\n\n c.timeoutsDisplay = 'inline';\n}\n","import { css } from \"lit\";\n\nexport const cardStyles = css`\n.card { position: relative; overflow: hidden; padding: 16px 16px 20px; font-weight: 400; border-radius: var(--ha-card-border-radius, 10px); }\n.title { text-align: center; font-size: 1.2em; font-weight: 500; }\n.team-bg { opacity: 0.08; position: absolute; top: -20%; left: -20%; width: 58%; z-index: 0; }\n.opponent-bg { opacity: 0.08; position: absolute; top: -20%; right: -20%; width: 58%; z-index: 0; }\n.card-content { display: flex; justify-content: space-evenly; align-items: center; text-align: center; position: relative; z-index: 1; }\n.team { text-align: center; width: 35%; }\n.team img { max-width: 90px; }\n.logo { max-height: 6.5em; }\n.score { font-size: var(--score_size, 3em); opacity: var(--score_opacity, 1); text-align: center; line-height: 1; }\n.line { height: 1px; background-color: var(--primary-text-color); margin:10px 0; }\n.left-clickable { text-decoration: none; color: inherit; }\n.right-clickable { text-decoration: none; color: inherit; }\n.bottom-clickable { text-decoration: none; color: inherit; }\n.disabled { pointer-events: none; cursor: default; }\n\n.possession { opacity: var(--possession-opacity, 1); font-size: 2.5em; text-align: center; font-weight:900; }\n.divider { font-size: 2.5em; text-align: center; margin: 0 4px; }\n.name { font-size: 1.4em; margin-bottom: 4px; }\n.rank { display: var(--rank-display, inline); font-size:0.8em; }\n.record { font-size:1.0em; height 1.0em; }\n.timeouts-wrapper { margin: 0.4em auto; width: 70%; display: var(--timeouts-display, inline); }\n.timeout { height: 0.6em; border-radius: 0.3em; background-color: var(--timeout-color, #000000); border: var(--timeout-border, 1px) solid var(--timeout-border-color, #ffffff); width: 20%; display: inline-block; margin: 0.4em auto; position: relative; opacity: var(--timeout-opacity, 0.2); }\n.bases { display: var(--bases-display, inherit); font-size: 2.5em; text-align: center; font-weight:900; }\n.on-base { opacity: var(--on-base-opacity, 1); display: inline-block; }\n.pitcher { opacity: 0.0; display: inline-block; }\n.in-row1 { font-size: 1em; height: 1em; margin: 6px 0 2px; }\n.in-row2 { ; font-size: 1em; height: 1em; margin: 6px 0 2px; }\n.in-row1, .in-row2 { display: flex; justify-content: space-between; align-items: center; margin: 2px 0; }\n.last-play { font-size: 1.2em; width: 100%; white-space: nowrap; overflow: hidden; box-sizing: border-box; }\n.last-play p { animation : slide var(--last-play-speed, 18s) linear infinite; display: inline-block; padding-left: 100%; margin: 2px 0 12px; }\n@keyframes slide { 0% { transform: translate(0, 0); } 100% { transform: translate(-100%, 0); } }\n.down-distance { text-align: right; }\n.play-clock { font-size: 1.4em; height: 1.4em; text-align: center; }\n.outs { display: var(--outs-display, inherit); text-align: center; }\n\n.bar-wrapper { display: var(--bar-display, inherit) }\n.bar-text { text-align: center; }\n.bar-flex { width: 100%; display: flex; justify-content: center; margin-top: 4px; }\n.bar-right { width: var(--bar-length, 0); background-color: var(--bar-color, red); height: 0.8em; border-radius: 0 0.4em 0.4em 0; border: var(--bar-border, 1px) solid var(--bar-border-color, lightgrey); border-left: 0; transition: all 1s ease-out; }\n.bar-left { width: var(--bar-length, 0); background-color: var(--bar-color, blue); height: 0.8em; border-radius: 0.4em 0 0 0.4em; border: var(--bar-border, 1px) solid var(--bar-border-color, lightgrey); border-right: 0; transition: all 1s ease-out; }\n.bar { display: flex; align-items: center; }\n.bar1-label { flex: 0 0 10px; padding: 0 10px 0 0; margin-top: 4px; }\n.bar2-label { flex: 0 0 10px; padding: 0 0 0 10px; text-align: right; margin-top: 4px; }\n.in-series-info { display: var(--series-summary-display, none); font-size: 1.2em; text-align: center; margin: 4px; }\n\n.gameday { font-size: 1.4em; height: 1.4em; }\n.gamedate { font-size: 1.1em; height: 1.1em; }\n.gametime { font-size: 1.1em; height: 1.1em; }\n.pre-row1 { font-weight: 500; font-size: 1.2em; height: 1.2em; margin: 6px 0 2px; }\n.pre-row1, .pre-row2, .pre-row3 { display: flex; justify-content: space-between; align-items: center; margin: 2px 0; }\n.pre-series-info { display: var(--series-summary-display, none); font-size: 1.2em; text-align: center; margin: 4px; }\n\n.post-row1 { font-size: 1.2em; text-align: center; }\n.post-series-info { display: var(--series-summary-display, none); font-size: 1.2em; text-align: center; margin: 4px; }\n\n.notFound1 { font-size: 1.4em; line-height: 1.2em; text-align: center; width: 100%; margin-bottom: 4px; }\n.notFound2 { font-size: 1.4em; line-height: 1.2em; text-align: center; width: 100%; margin-bottom: 4px; }\n\n.bye { font-size: 1.8em; text-align: center; width: 50%; }\n\n`;"],"names":["is","defineProperty","getOwnPropertyDescriptor","getOwnPropertyNames","getOwnPropertySymbols","getPrototypeOf","Object","global","globalThis","trustedTypes","emptyStringForBooleanAttribute","emptyScript","polyfillSupport","reactiveElementPolyfillSupport","JSCompiler_renameProperty","prop","_obj","defaultConverter","toAttribute","value","type","Boolean","Array","JSON","stringify","fromAttribute","fromValue","Number","parse","e","notEqual","old","defaultPropertyDeclaration","attribute","String","converter","reflect","hasChanged","Symbol","metadata","litPropertyMetadata","WeakMap","ReactiveElement","HTMLElement","addInitializer","initializer","this","__prepare","_initializers","push","observedAttributes","finalize","__attributeToPropertyMap","keys","createProperty","name","options","state","elementProperties","set","noAccessor","key","descriptor","getPropertyDescriptor","undefined","prototype","get","v","call","oldValue","requestUpdate","configurable","enumerable","getPropertyOptions","hasOwnProperty","superCtor","Map","finalized","props","properties","propKeys","p","attr","__attributeNameForProperty","elementStyles","finalizeStyles","styles","isArray","Set","flat","Infinity","reverse","s","unshift","getCompatibleStyle","toLowerCase","constructor","super","__instanceProperties","isUpdatePending","hasUpdated","__reflectingProperty","__initialize","__updatePromise","Promise","res","enableUpdating","_$changedProperties","__saveInstanceProperties","forEach","i","addController","controller","__controllers","add","renderRoot","isConnected","hostConnected","removeController","delete","instanceProperties","size","createRenderRoot","shadowRoot","attachShadow","shadowRootOptions","adoptStyles","connectedCallback","c","_requestedUpdate","disconnectedCallback","hostDisconnected","attributeChangedCallback","_old","_$attributeToProperty","__propertyToAttribute","attrValue","removeAttribute","setAttribute","ctor","propName","_$changeProperty","__enqueueUpdate","has","__reflectingProperties","reject","result","scheduleUpdate","performUpdate","wrapped","shouldUpdate","changedProperties","willUpdate","hostUpdate","update","__markUpdated","_$didUpdate","_changedProperties","hostUpdated","firstUpdated","updated","updateComplete","getUpdateComplete","mode","reactiveElementVersions","supportsAdoptingStyleSheets","ShadowRoot","ShadyCSS","nativeShadow","Document","CSSStyleSheet","constructionToken","cssTagCache","CSSResult","cssText","strings","safeToken","Error","_strings","styleSheet","_styleSheet","cacheable","length","replaceSync","toString","unsafeCSS","css","values","reduce","acc","idx","textFromCSSResult","adoptedStyleSheets","map","style","document","createElement","nonce","textContent","appendChild","sheet","rule","cssRules","cssResultFromStyleSheet","policy","createPolicy","createHTML","boundAttributeSuffix","marker","Math","random","toFixed","slice","markerMatch","nodeMarker","d","createMarker","createComment","isPrimitive","isIterable","iterator","SPACE_CHAR","textEndRegex","commentEndRegex","comment2EndRegex","tagEndRegex","RegExp","singleQuoteAttrEndRegex","doubleQuoteAttrEndRegex","rawTextElement","tag","_$litType$","html","svg","mathml","noChange","for","nothing","templateCache","walker","createTreeWalker","trustFromTemplateString","tsa","stringFromTSA","getTemplateHtml","l","attrNames","rawTextEndRegex","regex","attrName","match","attrNameEndIndex","lastIndex","exec","test","end","startsWith","Template","node","parts","nodeIndex","attrNameIndex","partCount","el","currentNode","content","wrapper","firstChild","replaceWith","childNodes","nextNode","nodeType","hasAttributes","getAttributeNames","endsWith","realName","statics","getAttribute","split","m","index","PropertyPart","BooleanAttributePart","EventPart","AttributePart","tagName","append","data","indexOf","_options","innerHTML","resolveDirective","part","parent","attributeIndex","currentDirective","__directives","__directive","nextDirectiveConstructor","_$initialize","_$resolve","TemplateInstance","template","_$parts","_$disconnectableChildren","_$template","_$parent","parentNode","_$isConnected","_clone","fragment","creationScope","importNode","partIndex","templatePart","ChildPart","nextSibling","ElementPart","_update","_$setValue","__isConnected","startNode","endNode","_$committedValue","_$startNode","_$endNode","directiveParent","_$clear","_commitText","_commitTemplateResult","_commitNode","_commitIterable","_insert","insertBefore","createTextNode","_$getTemplate","h","instance","itemParts","itemPart","item","start","from","_$notifyConnectionChanged","n","remove","setConnected","element","fill","valueIndex","noCommit","change","_commitValue","toggleAttribute","newListener","oldListener","shouldRemoveListener","capture","once","passive","shouldAddListener","removeEventListener","addEventListener","handleEvent","event","host","_$LH","_boundAttributeSuffix","_marker","_markerMatch","_HTML_RESULT","_getTemplateHtml","_TemplateInstance","_isIterable","_resolveDirective","_ChildPart","_AttributePart","_BooleanAttributePart","_EventPart","_PropertyPart","_ElementPart","litHtmlPolyfillSupport","litHtmlVersions","render","container","partOwnerNode","renderBefore","LitElement","renderOptions","__childPart","litElementHydrateSupport","litElementPolyfillSupport","_$LE","litElementVersions","isServer","important","importantFlag","styleMap","directive","Directive","partInfo","PartType","ATTRIBUTE","styleInfo","includes","replace","_previousStyleProperties","removeProperty","isImportant","setProperty","CHILD","PROPERTY","BOOLEAN_ATTRIBUTE","EVENT","ELEMENT","_$litDirective$","_partInfo","__part","__attributeIndex","_part"],"version":3,"file":"ha-teamtracker-card.js.map"} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 4450504..af9691d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4,6 +4,9 @@ "requires": true, "packages": { "": { + "dependencies": { + "lit": "^3.2.0" + }, "devDependencies": { "parcel": "^2.12.0" } @@ -133,6 +136,21 @@ "@lezer/common": "^1.0.0" } }, + "node_modules/@lit-labs/ssr-dom-shim": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@lit-labs/ssr-dom-shim/-/ssr-dom-shim-1.2.1.tgz", + "integrity": "sha512-wx4aBmgeGvFmOKucFKY+8VFJSYZxs9poN3SDNQFF6lT6NrQUnHiPB2PWz2sc4ieEcAaYYzN+1uWahEeTq2aRIQ==", + "license": "BSD-3-Clause" + }, + "node_modules/@lit/reactive-element": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@lit/reactive-element/-/reactive-element-2.0.4.tgz", + "integrity": "sha512-GFn91inaUa2oHLak8awSIigYz0cU0Payr1rcFsrkf5OJ5eSPxElyZfKh0f2p9FsTiZWXQdWGJeXZICEfXXYSXQ==", + "license": "BSD-3-Clause", + "dependencies": { + "@lit-labs/ssr-dom-shim": "^1.2.0" + } + }, "node_modules/@lmdb/lmdb-darwin-arm64": { "version": "2.8.5", "resolved": "https://registry.npmjs.org/@lmdb/lmdb-darwin-arm64/-/lmdb-darwin-arm64-2.8.5.tgz", @@ -2144,6 +2162,12 @@ "node": ">=10.13.0" } }, + "node_modules/@types/trusted-types": { + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.7.tgz", + "integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==", + "license": "MIT" + }, "node_modules/abortcontroller-polyfill": { "version": "1.7.5", "resolved": "https://registry.npmjs.org/abortcontroller-polyfill/-/abortcontroller-polyfill-1.7.5.tgz", @@ -3145,6 +3169,37 @@ "dev": true, "license": "MIT" }, + "node_modules/lit": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/lit/-/lit-3.2.0.tgz", + "integrity": "sha512-s6tI33Lf6VpDu7u4YqsSX78D28bYQulM+VAzsGch4fx2H0eLZnJsUBsPWmGYSGoKDNbjtRv02rio1o+UdPVwvw==", + "license": "BSD-3-Clause", + "dependencies": { + "@lit/reactive-element": "^2.0.4", + "lit-element": "^4.1.0", + "lit-html": "^3.2.0" + } + }, + "node_modules/lit-element": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/lit-element/-/lit-element-4.1.0.tgz", + "integrity": "sha512-gSejRUQJuMQjV2Z59KAS/D4iElUhwKpIyJvZ9w+DIagIQjfJnhR20h2Q5ddpzXGS+fF0tMZ/xEYGMnKmaI/iww==", + "license": "BSD-3-Clause", + "dependencies": { + "@lit-labs/ssr-dom-shim": "^1.2.0", + "@lit/reactive-element": "^2.0.4", + "lit-html": "^3.2.0" + } + }, + "node_modules/lit-html": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/lit-html/-/lit-html-3.2.0.tgz", + "integrity": "sha512-pwT/HwoxqI9FggTrYVarkBKFN9MlTUpLrDHubTmW4SrkL3kkqW5gxwbxMMUnbbRHBC0WTZnYHcjDSCM559VyfA==", + "license": "BSD-3-Clause", + "dependencies": { + "@types/trusted-types": "^2.0.2" + } + }, "node_modules/lmdb": { "version": "2.8.5", "resolved": "https://registry.npmjs.org/lmdb/-/lmdb-2.8.5.tgz", diff --git a/package.json b/package.json index 12fd718..52b9e05 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "source": "./src/ha-teamtracker-card.js", + "source": "./src/ha-teamtracker-card.js", "module": "./dist/ha-teamtracker-card.js", "targets": { "module": { @@ -12,5 +12,8 @@ }, "devDependencies": { "parcel": "^2.12.0" + }, + "dependencies": { + "lit": "^3.2.0" } -} \ No newline at end of file +} diff --git a/src/card_editor.js b/src/card_editor.js index b1fc8d1..fa170e7 100644 --- a/src/card_editor.js +++ b/src/card_editor.js @@ -1,7 +1,7 @@ // // Define and register the UI Card Editor // -import { html, LitElement } from "./lit/lit-all.min.js"; +import { html, LitElement } from "lit"; export class TeamtrackerCardEditor extends LitElement { diff --git a/src/lit/lit-all.min.js b/src/lit/lit-all.min.js deleted file mode 100644 index 537faa4..0000000 --- a/src/lit/lit-all.min.js +++ /dev/null @@ -1,120 +0,0 @@ -/** - * @license - * Copyright 2019 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */ -const tt=globalThis,st=tt.ShadowRoot&&(void 0===tt.ShadyCSS||tt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,it=Symbol(),et=new WeakMap;class ht{constructor(t,s,i){if(this._$cssResult$=!0,i!==it)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=s}get styleSheet(){let t=this.i;const s=this.t;if(st&&void 0===t){const i=void 0!==s&&1===s.length;i&&(t=et.get(s)),void 0===t&&((this.i=t=new CSSStyleSheet).replaceSync(this.cssText),i&&et.set(s,t))}return t}toString(){return this.cssText}}const ot=t=>new ht("string"==typeof t?t:t+"",void 0,it),rt=(t,...s)=>{const i=1===t.length?t[0]:s.reduce(((s,i,e)=>s+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[e+1]),t[0]);return new ht(i,t,it)},nt=(t,s)=>{if(st)t.adoptedStyleSheets=s.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const i of s){const s=document.createElement("style"),e=tt.litNonce;void 0!==e&&s.setAttribute("nonce",e),s.textContent=i.cssText,t.appendChild(s)}},ct=st?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let s="";for(const i of t.cssRules)s+=i.cssText;return ot(s)})(t):t -/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */,{is:at,defineProperty:lt,getOwnPropertyDescriptor:ut,getOwnPropertyNames:dt,getOwnPropertySymbols:ft,getPrototypeOf:pt}=Object,vt=globalThis,mt=vt.trustedTypes,yt=mt?mt.emptyScript:"",gt=vt.reactiveElementPolyfillSupport,_t=(t,s)=>t,bt={toAttribute(t,s){switch(s){case Boolean:t=t?yt:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},St=(t,s)=>!at(t,s),wt={attribute:!0,type:String,converter:bt,reflect:!1,hasChanged:St};Symbol.metadata??=Symbol("metadata"),vt.litPropertyMetadata??=new WeakMap;class $t extends HTMLElement{static addInitializer(t){this.o(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this.u&&[...this.u.keys()]}static createProperty(t,s=wt){if(s.state&&(s.attribute=!1),this.o(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),e=this.getPropertyDescriptor(t,i,s);void 0!==e&<(this.prototype,t,e)}}static getPropertyDescriptor(t,s,i){const{get:e,set:n}=ut(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t}};return{get(){return e?.call(this)},set(s){const r=e?.call(this);n.call(this,s),this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??wt}static o(){if(this.hasOwnProperty(_t("elementProperties")))return;const t=pt(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(_t("finalized")))return;if(this.finalized=!0,this.o(),this.hasOwnProperty(_t("properties"))){const t=this.properties,s=[...dt(t),...ft(t)];for(const i of s)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i)}this.u=new Map;for(const[t,s]of this.elementProperties){const i=this.p(t,s);void 0!==i&&this.u.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const s=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)s.unshift(ct(t))}else void 0!==t&&s.push(ct(t));return s}static p(t,s){const i=s.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this.v=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this.m=null,this._()}_(){this.S=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this.$(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this.P??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this.P?.delete(t)}$(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this.v=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return nt(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this.P?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this.P?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,s,i){this._$AK(t,i)}C(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor.p(t,i);if(void 0!==e&&!0===i.reflect){const n=(void 0!==i.converter?.toAttribute?i.converter:bt).toAttribute(s,i.type);this.m=t,null==n?this.removeAttribute(e):this.setAttribute(e,n),this.m=null}}_$AK(t,s){const i=this.constructor,e=i.u.get(t);if(void 0!==e&&this.m!==e){const t=i.getPropertyOptions(e),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:bt;this.m=e,this[e]=n.fromAttribute(s,t.type),this.m=null}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??St)(this[t],s))return;this.T(t,s,i)}!1===this.isUpdatePending&&(this.S=this.M())}T(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),!0===i.reflect&&this.m!==t&&(this.k??=new Set).add(t)}async M(){this.isUpdatePending=!0;try{await this.S}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this.v){for(const[t,s]of this.v)this[t]=s;this.v=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t)!0!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.T(s,this[s],i)}let t=!1;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this.P?.forEach((t=>t.hostUpdate?.())),this.update(s)):this.A()}catch(s){throw t=!1,this.A(),s}t&&this._$AE(s)}willUpdate(t){}_$AE(t){this.P?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}A(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this.S}shouldUpdate(t){return!0}update(t){this.k&&=this.k.forEach((t=>this.C(t,this[t]))),this.A()}updated(t){}firstUpdated(t){}}$t.elementStyles=[],$t.shadowRootOptions={mode:"open"},$t[_t("elementProperties")]=new Map,$t[_t("finalized")]=new Map,gt?.({ReactiveElement:$t}),(vt.reactiveElementVersions??=[]).push("2.0.4"); -/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */ -const Pt=globalThis,Ct=Pt.trustedTypes,Tt=Ct?Ct.createPolicy("lit-html",{createHTML:t=>t}):void 0,xt="$lit$",Mt=`lit$${Math.random().toFixed(9).slice(2)}$`,kt="?"+Mt,At=`<${kt}>`,Et=document,ys=()=>Et.createComment(""),ms=t=>null===t||"object"!=typeof t&&"function"!=typeof t,Ot=Array.isArray,Rt=t=>Ot(t)||"function"==typeof t?.[Symbol.iterator],zt="[ \t\n\f\r]",Vt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Lt=/-->/g,It=/>/g,jt=RegExp(`>|${zt}(?:([^\\s"'>=/]+)(${zt}*=${zt}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Dt=/'/g,Ht=/"/g,Bt=/^(?:script|style|textarea|title)$/i,Wt=t=>(s,...i)=>({_$litType$:t,strings:s,values:i}),bs=Wt(1),gs=Wt(2),Zt=Wt(3),Ft=Symbol.for("lit-noChange"),Gt=Symbol.for("lit-nothing"),Kt=new WeakMap,Qt=Et.createTreeWalker(Et,129);function Xt(t,s){if(!Ot(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Tt?Tt.createHTML(s):s}const Yt=(t,s)=>{const i=t.length-1,e=[];let n,r=2===s?"":3===s?"":"",o=Vt;for(let s=0;s"===c[0]?(o=n??Vt,l=-1):void 0===c[1]?l=-2:(l=o.lastIndex-c[2].length,h=c[1],o=void 0===c[3]?jt:'"'===c[3]?Ht:Dt):o===Ht||o===Dt?o=jt:o===Lt||o===It?o=Vt:(o=jt,n=void 0);const u=o===jt&&t[s+1].startsWith("/>")?" ":"";r+=o===Vt?i+At:l>=0?(e.push(h),i.slice(0,l)+xt+i.slice(l)+Mt+u):i+Mt+(-2===l?s:u)}return[Xt(t,r+(t[i]||"")+(2===s?"":3===s?"":"")),e]};class ts{constructor({strings:t,_$litType$:s},i){let e;this.parts=[];let n=0,r=0;const o=t.length-1,h=this.parts,[c,l]=Yt(t,s);if(this.el=ts.createElement(c,i),Qt.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(e=Qt.nextNode())&&h.length0){e.textContent=Ct?Ct.emptyScript:"";for(let i=0;i2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=Gt}_$AI(t,s=this,i,e){const n=this.strings;let r=!1;if(void 0===n)t=ss(this,t,s,0),r=!ms(t)||t!==this._$AH&&t!==Ft,r&&(this._$AH=t);else{const e=t;let o,h;for(t=n[0],o=0;o{const e=i?.renderBefore??s;let n=e._$litPart$;if(void 0===n){const t=i?.renderBefore??null;e._$litPart$=n=new ws(s.insertBefore(ys(),t),t,void 0,i??{})}return n._$AI(t),n}; -/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */class ds extends $t{constructor(){super(...arguments),this.renderOptions={host:this},this.ot=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this.ot=us(s,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this.ot?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this.ot?.setConnected(!1)}render(){return Ft}}ds._$litElement$=!0,ds["finalized"]=!0,globalThis.litElementHydrateSupport?.({LitElement:ds});const fs=globalThis.litElementPolyfillSupport;fs?.({LitElement:ds});const ps={_$AK:(t,s,i)=>{t._$AK(s,i)},_$AL:t=>t._$AL};(globalThis.litElementVersions??=[]).push("4.1.0"); -/** - * @license - * Copyright 2022 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */ -const vs=!1,{Y:es}=as,Nt=t=>null===t||"object"!=typeof t&&"function"!=typeof t,_s={HTML:1,SVG:2,MATHML:3},Ss=(t,s)=>void 0===s?void 0!==t?._$litType$:t?._$litType$===s,$s=t=>null!=t?._$litType$?.h,Ts=t=>void 0!==t?._$litDirective$,xs=t=>t?._$litDirective$,Es=t=>void 0===t.strings,Ut=()=>document.createComment(""),Cs=(t,s,i)=>{const e=t._$AA.parentNode,n=void 0===s?t._$AB:s._$AA;if(void 0===i){const s=e.insertBefore(Ut(),n),r=e.insertBefore(Ut(),n);i=new es(s,r,t,t.options)}else{const s=i._$AB.nextSibling,r=i._$AM,o=r!==t;if(o){let s;i._$AQ?.(t),i._$AM=t,void 0!==i._$AP&&(s=t._$AU)!==r._$AU&&i._$AP(s)}if(s!==n||o){let t=i._$AA;for(;t!==s;){const s=t.nextSibling;e.insertBefore(t,n),t=s}}}return i},Ps=(t,s,i=t)=>(t._$AI(s,i),t),As={},Ms=(t,s=As)=>t._$AH=s,ks=t=>t._$AH,Us=t=>{t._$AP?.(!1,!0);let s=t._$AA;const i=t._$AB.nextSibling;for(;s!==i;){const t=s.nextSibling;s.remove(),s=t}},Vs=t=>{t._$AR()},Os={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Rs=t=>(...s)=>({_$litDirective$:t,values:s});class Ns{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,s,i){this.nt=t,this._$AM=s,this.rt=i}_$AS(t,s){return this.update(t,s)}update(t,s){return this.render(...s)}} -/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */const Ls=(t,s)=>{const i=t._$AN;if(void 0===i)return!1;for(const t of i)t._$AO?.(s,!1),Ls(t,s);return!0},zs=t=>{let s,i;do{if(void 0===(s=t._$AM))break;i=s._$AN,i.delete(t),t=s}while(0===i?.size)},js=t=>{for(let s;s=t._$AM;t=s){let i=s._$AN;if(void 0===i)s._$AN=i=new Set;else if(i.has(t))break;i.add(t),Ds(s)}};function Hs(t){void 0!==this._$AN?(zs(this),this._$AM=t,js(this)):this._$AM=t}function Is(t,s=!1,i=0){const e=this._$AH,n=this._$AN;if(void 0!==n&&0!==n.size)if(s)if(Array.isArray(e))for(let t=i;t{2==t.type&&(t._$AP??=Is,t._$AQ??=Hs)};class Bs extends Ns{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,s,i){super._$AT(t,s,i),js(this),this.isConnected=t._$AU}_$AO(t,s=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),s&&(Ls(this,t),zs(this))}setValue(t){if(Es(this.nt))this.nt._$AI(t,this);else{const s=[...this.nt._$AH];s[this.rt]=t,this.nt._$AI(s,this,0)}}disconnected(){}reconnected(){}} -/** - * @license - * Copyright 2021 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */class Ws{constructor(t){this.ct=t}disconnect(){this.ct=void 0}reconnect(t){this.ct=t}deref(){return this.ct}}class Zs{constructor(){this.lt=void 0,this.ut=void 0}get(){return this.lt}pause(){this.lt??=new Promise((t=>this.ut=t))}resume(){this.ut?.(),this.lt=this.ut=void 0}} -/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */class qs extends Bs{constructor(){super(...arguments),this.dt=new Ws(this),this.ft=new Zs}render(t,s){return Ft}update(t,[s,i]){if(this.isConnected||this.disconnected(),s===this.vt)return Ft;this.vt=s;let e=0;const{dt:n,ft:r}=this;return(async(t,s)=>{for await(const i of t)if(!1===await s(i))return})(s,(async t=>{for(;r.get();)await r.get();const o=n.deref();if(void 0!==o){if(o.vt!==s)return!1;void 0!==i&&(t=i(t,e)),o.commitValue(t,e),e++}return!0})),Ft}commitValue(t,s){this.setValue(t)}disconnected(){this.dt.disconnect(),this.ft.pause()}reconnected(){this.dt.reconnect(this),this.ft.resume()}}const Fs=Rs(qs),Gs=Rs( -/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */ -class extends qs{constructor(t){if(super(t),2!==t.type)throw Error("asyncAppend can only be used in child expressions")}update(t,s){return this.ot=t,super.update(t,s)}commitValue(t,s){0===s&&Vs(this.ot);const i=Cs(this.ot);Ps(i,t)}}),Js=t=>$s(t)?t._$litType$.h:t.strings,Ks=Rs(class extends Ns{constructor(t){super(t),this.yt=new WeakMap}render(t){return[t]}update(t,[s]){const i=Ss(this.bt)?Js(this.bt):null,e=Ss(s)?Js(s):null;if(null!==i&&(null===e||i!==e)){const s=ks(t).pop();let e=this.yt.get(i);if(void 0===e){const t=document.createDocumentFragment();e=us(Gt,t),e.setConnected(!1),this.yt.set(i,e)}Ms(e,[s]),Cs(e,void 0,s)}if(null!==e){if(null===i||i!==e){const s=this.yt.get(e);if(void 0!==s){const i=ks(s).pop();Vs(t),Cs(t,void 0,i),Ms(t,[i])}}this.bt=s}else this.bt=void 0;return this.render(s)}}),Ys=(t,s,i)=>{for(const i of s)if(i[0]===t)return(0,i[1])();return i?.()},Qs=Rs( -/** - * @license - * Copyright 2018 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */ -class extends Ns{constructor(t){if(super(t),1!==t.type||"class"!==t.name||t.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((s=>t[s])).join(" ")+" "}update(t,[s]){if(void 0===this.gt){this.gt=new Set,void 0!==t.strings&&(this.wt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in s)s[t]&&!this.wt?.has(t)&&this.gt.add(t);return this.render(s)}const i=t.element.classList;for(const t of this.gt)t in s||(i.remove(t),this.gt.delete(t));for(const t in s){const e=!!s[t];e===this.gt.has(t)||this.wt?.has(t)||(e?(i.add(t),this.gt.add(t)):(i.remove(t),this.gt.delete(t)))}return Ft}}),Xs={},ti=Rs(class extends Ns{constructor(){super(...arguments),this._t=Xs}render(t,s){return s()}update(t,[s,i]){if(Array.isArray(s)){if(Array.isArray(this._t)&&this._t.length===s.length&&s.every(((t,s)=>t===this._t[s])))return Ft}else if(this._t===s)return Ft;return this._t=Array.isArray(s)?Array.from(s):s,this.render(s,i)}}),si=t=>t??Gt -/** - * @license - * Copyright 2021 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */;function*ii(t,s){const i="function"==typeof s;if(void 0!==t){let e=-1;for(const n of t)e>-1&&(yield i?s(e):s),e++,yield n}} -/** - * @license - * Copyright 2021 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */const ei=Rs(class extends Ns{constructor(){super(...arguments),this.key=Gt}render(t,s){return this.key=t,s}update(t,[s,i]){return s!==this.key&&(Ms(t),this.key=s),i}}),ni=Rs( -/** - * @license - * Copyright 2020 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */ -class extends Ns{constructor(t){if(super(t),3!==t.type&&1!==t.type&&4!==t.type)throw Error("The `live` directive is not allowed on child or event bindings");if(!Es(t))throw Error("`live` bindings can only contain a single expression")}render(t){return t}update(t,[s]){if(s===Ft||s===Gt)return s;const i=t.element,e=t.name;if(3===t.type){if(s===i[e])return Ft}else if(4===t.type){if(!!s===i.hasAttribute(e))return Ft}else if(1===t.type&&i.getAttribute(e)===s+"")return Ft;return Ms(t),s}}); -/** - * @license - * Copyright 2021 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */ -function*ri(t,s){if(void 0!==t){let i=0;for(const e of t)yield s(e,i++)}} -/** - * @license - * Copyright 2021 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */function*oi(t,s,i=1){const e=void 0===s?0:t;s??=t;for(let t=e;i>0?tnew ci;class ci{}const li=new WeakMap,ai=Rs(class extends Bs{render(t){return Gt}update(t,[s]){const i=s!==this.ct;return i&&void 0!==this.ct&&this.St(void 0),(i||this.$t!==this.Tt)&&(this.ct=s,this.xt=t.options?.host,this.St(this.Tt=t.element)),Gt}St(t){if(this.isConnected||(t=void 0),"function"==typeof this.ct){const s=this.xt??globalThis;let i=li.get(s);void 0===i&&(i=new WeakMap,li.set(s,i)),void 0!==i.get(this.ct)&&this.ct.call(this.xt,void 0),i.set(this.ct,t),void 0!==t&&this.ct.call(this.xt,t)}else this.ct.value=t}get $t(){return"function"==typeof this.ct?li.get(this.xt??globalThis)?.get(this.ct):this.ct?.value}disconnected(){this.$t===this.Tt&&this.St(void 0)}reconnected(){this.St(this.Tt)}}),ui=(t,s,i)=>{const e=new Map;for(let n=s;n<=i;n++)e.set(t[n],n);return e},di=Rs(class extends Ns{constructor(t){if(super(t),2!==t.type)throw Error("repeat() can only be used in text expressions")}Et(t,s,i){let e;void 0===i?i=s:void 0!==s&&(e=s);const n=[],r=[];let o=0;for(const s of t)n[o]=e?e(s,o):o,r[o]=i(s,o),o++;return{values:r,keys:n}}render(t,s,i){return this.Et(t,s,i).values}update(t,[s,i,e]){const n=ks(t),{values:r,keys:o}=this.Et(s,i,e);if(!Array.isArray(n))return this.Ct=o,r;const h=this.Ct??=[],c=[];let l,a,u=0,d=n.length-1,f=0,p=r.length-1;for(;u<=d&&f<=p;)if(null===n[u])u++;else if(null===n[d])d--;else if(h[u]===o[f])c[f]=Ps(n[u],r[f]),u++,f++;else if(h[d]===o[p])c[p]=Ps(n[d],r[p]),d--,p--;else if(h[u]===o[p])c[p]=Ps(n[u],r[p]),Cs(t,c[p+1],n[u]),u++,p--;else if(h[d]===o[f])c[f]=Ps(n[d],r[f]),Cs(t,n[u],n[d]),d--,f++;else if(void 0===l&&(l=ui(o,f,p),a=ui(h,u,d)),l.has(h[u]))if(l.has(h[d])){const s=a.get(o[f]),i=void 0!==s?n[s]:null;if(null===i){const s=Cs(t,n[u]);Ps(s,r[f]),c[f]=s}else c[f]=Ps(i,r[f]),Cs(t,n[u],i),n[s]=null;f++}else Us(n[d]),d--;else Us(n[u]),u++;for(;f<=p;){const s=Cs(t,c[p+1]);Ps(s,r[f]),c[f++]=s}for(;u<=d;){const t=n[u++];null!==t&&Us(t)}return this.Ct=o,Ms(t,c),Ft}}),fi="important",pi=" !"+fi,vi=Rs(class extends Ns{constructor(t){if(super(t),1!==t.type||"style"!==t.name||t.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((s,i)=>{const e=t[i];return null==e?s:s+`${i=i.includes("-")?i:i.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${e};`}),"")}update(t,[s]){const{style:i}=t.element;if(void 0===this.Pt)return this.Pt=new Set(Object.keys(s)),this.render(s);for(const t of this.Pt)null==s[t]&&(this.Pt.delete(t),t.includes("-")?i.removeProperty(t):i[t]=null);for(const t in s){const e=s[t];if(null!=e){this.Pt.add(t);const s="string"==typeof e&&e.endsWith(pi);t.includes("-")||s?i.setProperty(t,s?e.slice(0,-11):e,s?fi:""):i[t]=e}}return Ft}}),yi=Rs( -/** - * @license - * Copyright 2020 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */ -class extends Ns{constructor(t){if(super(t),2!==t.type)throw Error("templateContent can only be used in child bindings")}render(t){return this.At===t?Ft:(this.At=t,document.importNode(t.content,!0))}});class mi extends Ns{constructor(t){if(super(t),this.bt=Gt,2!==t.type)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===Gt||null==t)return this.Mt=void 0,this.bt=t;if(t===Ft)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.bt)return this.Mt;this.bt=t;const s=[t];return s.raw=s,this.Mt={_$litType$:this.constructor.resultType,strings:s,values:[]}}}mi.directiveName="unsafeHTML",mi.resultType=1;const bi=Rs(mi); -/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */class gi extends mi{}gi.directiveName="unsafeSVG",gi.resultType=2;const wi=Rs(gi),_i=t=>!Nt(t)&&"function"==typeof t.then,Si=1073741823; -/** - * @license - * Copyright 2017 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */class $i extends Bs{constructor(){super(...arguments),this.kt=Si,this.Ut=[],this.dt=new Ws(this),this.ft=new Zs}render(...t){return t.find((t=>!_i(t)))??Ft}update(t,s){const i=this.Ut;let e=i.length;this.Ut=s;const n=this.dt,r=this.ft;this.isConnected||this.disconnected();for(let t=0;tthis.kt);t++){const o=s[t];if(!_i(o))return this.kt=t,o;t{for(;r.get();)await r.get();const s=n.deref();if(void 0!==s){const i=s.Ut.indexOf(o);i>-1&&i{if(t?.r===Ei)return t?._$litStatic$},Pi=t=>({_$litStatic$:t,r:Ei}),Ai=(t,...s)=>({_$litStatic$:s.reduce(((s,i,e)=>s+(t=>{if(void 0!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(i)+t[e+1]),t[0]),r:Ei}),Mi=new Map,ki=t=>(s,...i)=>{const e=i.length;let n,r;const o=[],h=[];let c,l=0,a=!1;for(;l;\n\n/**\n * A single CSSResult, CSSStyleSheet, or an array or nested arrays of those.\n */\nexport type CSSResultGroup = CSSResultOrNative | CSSResultArray;\n\nconst constructionToken = Symbol();\n\nconst cssTagCache = new WeakMap();\n\n/**\n * A container for a string of CSS text, that may be used to create a CSSStyleSheet.\n *\n * CSSResult is the return value of `css`-tagged template literals and\n * `unsafeCSS()`. In order to ensure that CSSResults are only created via the\n * `css` tag and `unsafeCSS()`, CSSResult cannot be constructed directly.\n */\nexport class CSSResult {\n // This property needs to remain unminified.\n ['_$cssResult$'] = true;\n readonly cssText: string;\n private _styleSheet?: CSSStyleSheet;\n private _strings: TemplateStringsArray | undefined;\n\n private constructor(\n cssText: string,\n strings: TemplateStringsArray | undefined,\n safeToken: symbol\n ) {\n if (safeToken !== constructionToken) {\n throw new Error(\n 'CSSResult is not constructable. Use `unsafeCSS` or `css` instead.'\n );\n }\n this.cssText = cssText;\n this._strings = strings;\n }\n\n // This is a getter so that it's lazy. In practice, this means stylesheets\n // are not created until the first element instance is made.\n get styleSheet(): CSSStyleSheet | undefined {\n // If `supportsAdoptingStyleSheets` is true then we assume CSSStyleSheet is\n // constructable.\n let styleSheet = this._styleSheet;\n const strings = this._strings;\n if (supportsAdoptingStyleSheets && styleSheet === undefined) {\n const cacheable = strings !== undefined && strings.length === 1;\n if (cacheable) {\n styleSheet = cssTagCache.get(strings);\n }\n if (styleSheet === undefined) {\n (this._styleSheet = styleSheet = new CSSStyleSheet()).replaceSync(\n this.cssText\n );\n if (cacheable) {\n cssTagCache.set(strings, styleSheet);\n }\n }\n }\n return styleSheet;\n }\n\n toString(): string {\n return this.cssText;\n }\n}\n\ntype ConstructableCSSResult = CSSResult & {\n new (\n cssText: string,\n strings: TemplateStringsArray | undefined,\n safeToken: symbol\n ): CSSResult;\n};\n\nconst textFromCSSResult = (value: CSSResultGroup | number) => {\n // This property needs to remain unminified.\n if ((value as CSSResult)['_$cssResult$'] === true) {\n return (value as CSSResult).cssText;\n } else if (typeof value === 'number') {\n return value;\n } else {\n throw new Error(\n `Value passed to 'css' function must be a 'css' function result: ` +\n `${value}. Use 'unsafeCSS' to pass non-literal values, but take care ` +\n `to ensure page security.`\n );\n }\n};\n\n/**\n * Wrap a value for interpolation in a {@linkcode css} tagged template literal.\n *\n * This is unsafe because untrusted CSS text can be used to phone home\n * or exfiltrate data to an attacker controlled site. Take care to only use\n * this with trusted input.\n */\nexport const unsafeCSS = (value: unknown) =>\n new (CSSResult as ConstructableCSSResult)(\n typeof value === 'string' ? value : String(value),\n undefined,\n constructionToken\n );\n\n/**\n * A template literal tag which can be used with LitElement's\n * {@linkcode LitElement.styles} property to set element styles.\n *\n * For security reasons, only literal string values and number may be used in\n * embedded expressions. To incorporate non-literal values {@linkcode unsafeCSS}\n * may be used inside an expression.\n */\nexport const css = (\n strings: TemplateStringsArray,\n ...values: (CSSResultGroup | number)[]\n): CSSResult => {\n const cssText =\n strings.length === 1\n ? strings[0]\n : values.reduce(\n (acc, v, idx) => acc + textFromCSSResult(v) + strings[idx + 1],\n strings[0]\n );\n return new (CSSResult as ConstructableCSSResult)(\n cssText,\n strings,\n constructionToken\n );\n};\n\n/**\n * Applies the given styles to a `shadowRoot`. When Shadow DOM is\n * available but `adoptedStyleSheets` is not, styles are appended to the\n * `shadowRoot` to [mimic the native feature](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/adoptedStyleSheets).\n * Note, when shimming is used, any styles that are subsequently placed into\n * the shadowRoot should be placed *before* any shimmed adopted styles. This\n * will match spec behavior that gives adopted sheets precedence over styles in\n * shadowRoot.\n */\nexport const adoptStyles = (\n renderRoot: ShadowRoot,\n styles: Array\n) => {\n if (supportsAdoptingStyleSheets) {\n (renderRoot as ShadowRoot).adoptedStyleSheets = styles.map((s) =>\n s instanceof CSSStyleSheet ? s : s.styleSheet!\n );\n } else {\n for (const s of styles) {\n const style = document.createElement('style');\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const nonce = (global as any)['litNonce'];\n if (nonce !== undefined) {\n style.setAttribute('nonce', nonce);\n }\n style.textContent = (s as CSSResult).cssText;\n renderRoot.appendChild(style);\n }\n }\n};\n\nconst cssResultFromStyleSheet = (sheet: CSSStyleSheet) => {\n let cssText = '';\n for (const rule of sheet.cssRules) {\n cssText += rule.cssText;\n }\n return unsafeCSS(cssText);\n};\n\nexport const getCompatibleStyle =\n supportsAdoptingStyleSheets ||\n (NODE_MODE && global.CSSStyleSheet === undefined)\n ? (s: CSSResultOrNative) => s\n : (s: CSSResultOrNative) =>\n s instanceof CSSStyleSheet ? cssResultFromStyleSheet(s) : s;\n","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n/**\n * Use this module if you want to create your own base class extending\n * {@link ReactiveElement}.\n * @packageDocumentation\n */\n\nimport {\n getCompatibleStyle,\n adoptStyles,\n CSSResultGroup,\n CSSResultOrNative,\n} from './css-tag.js';\nimport type {\n ReactiveController,\n ReactiveControllerHost,\n} from './reactive-controller.js';\n\n// In the Node build, this import will be injected by Rollup:\n// import {HTMLElement, customElements} from '@lit-labs/ssr-dom-shim';\n\nexport * from './css-tag.js';\nexport type {\n ReactiveController,\n ReactiveControllerHost,\n} from './reactive-controller.js';\n\n/**\n * Removes the `readonly` modifier from properties in the union K.\n *\n * This is a safer way to cast a value to a type with a mutable version of a\n * readonly field, than casting to an interface with the field re-declared\n * because it preserves the type of all the fields and warns on typos.\n */\ntype Mutable = Omit & {\n -readonly [P in keyof Pick]: P extends K ? T[P] : never;\n};\n\n// TODO (justinfagnani): Add `hasOwn` here when we ship ES2022\nconst {\n is,\n defineProperty,\n getOwnPropertyDescriptor,\n getOwnPropertyNames,\n getOwnPropertySymbols,\n getPrototypeOf,\n} = Object;\n\nconst NODE_MODE = false;\n\n// Lets a minifier replace globalThis references with a minified name\nconst global = globalThis;\n\nif (NODE_MODE) {\n global.customElements ??= customElements;\n}\n\nconst DEV_MODE = true;\n\nlet issueWarning: (code: string, warning: string) => void;\n\nconst trustedTypes = (global as unknown as {trustedTypes?: {emptyScript: ''}})\n .trustedTypes;\n\n// Temporary workaround for https://crbug.com/993268\n// Currently, any attribute starting with \"on\" is considered to be a\n// TrustedScript source. Such boolean attributes must be set to the equivalent\n// trusted emptyScript value.\nconst emptyStringForBooleanAttribute = trustedTypes\n ? (trustedTypes.emptyScript as unknown as '')\n : '';\n\nconst polyfillSupport = DEV_MODE\n ? global.reactiveElementPolyfillSupportDevMode\n : global.reactiveElementPolyfillSupport;\n\nif (DEV_MODE) {\n // Ensure warnings are issued only 1x, even if multiple versions of Lit\n // are loaded.\n const issuedWarnings: Set = (global.litIssuedWarnings ??=\n new Set());\n\n // Issue a warning, if we haven't already.\n issueWarning = (code: string, warning: string) => {\n warning += ` See https://lit.dev/msg/${code} for more information.`;\n if (!issuedWarnings.has(warning)) {\n console.warn(warning);\n issuedWarnings.add(warning);\n }\n };\n\n issueWarning(\n 'dev-mode',\n `Lit is in dev mode. Not recommended for production!`\n );\n\n // Issue polyfill support warning.\n if (global.ShadyDOM?.inUse && polyfillSupport === undefined) {\n issueWarning(\n 'polyfill-support-missing',\n `Shadow DOM is being polyfilled via \\`ShadyDOM\\` but ` +\n `the \\`polyfill-support\\` module has not been loaded.`\n );\n }\n}\n\n/**\n * Contains types that are part of the unstable debug API.\n *\n * Everything in this API is not stable and may change or be removed in the future,\n * even on patch releases.\n */\n// eslint-disable-next-line @typescript-eslint/no-namespace\nexport namespace ReactiveUnstable {\n /**\n * When Lit is running in dev mode and `window.emitLitDebugLogEvents` is true,\n * we will emit 'lit-debug' events to window, with live details about the update and render\n * lifecycle. These can be useful for writing debug tooling and visualizations.\n *\n * Please be aware that running with window.emitLitDebugLogEvents has performance overhead,\n * making certain operations that are normally very cheap (like a no-op render) much slower,\n * because we must copy data and dispatch events.\n */\n // eslint-disable-next-line @typescript-eslint/no-namespace\n export namespace DebugLog {\n export type Entry = Update;\n export interface Update {\n kind: 'update';\n }\n }\n}\n\ninterface DebugLoggingWindow {\n // Even in dev mode, we generally don't want to emit these events, as that's\n // another level of cost, so only emit them when DEV_MODE is true _and_ when\n // window.emitLitDebugEvents is true.\n emitLitDebugLogEvents?: boolean;\n}\n\n/**\n * Useful for visualizing and logging insights into what the Lit template system is doing.\n *\n * Compiled out of prod mode builds.\n */\nconst debugLogEvent = DEV_MODE\n ? (event: ReactiveUnstable.DebugLog.Entry) => {\n const shouldEmit = (global as unknown as DebugLoggingWindow)\n .emitLitDebugLogEvents;\n if (!shouldEmit) {\n return;\n }\n global.dispatchEvent(\n new CustomEvent('lit-debug', {\n detail: event,\n })\n );\n }\n : undefined;\n\n/*\n * When using Closure Compiler, JSCompiler_renameProperty(property, object) is\n * replaced at compile time by the munged name for object[property]. We cannot\n * alias this function, so we have to use a small shim that has the same\n * behavior when not compiling.\n */\n/*@__INLINE__*/\nconst JSCompiler_renameProperty =

(\n prop: P,\n _obj: unknown\n): P => prop;\n\n/**\n * Converts property values to and from attribute values.\n */\nexport interface ComplexAttributeConverter {\n /**\n * Called to convert an attribute value to a property\n * value.\n */\n fromAttribute?(value: string | null, type?: TypeHint): Type;\n\n /**\n * Called to convert a property value to an attribute\n * value.\n *\n * It returns unknown instead of string, to be compatible with\n * https://github.com/WICG/trusted-types (and similar efforts).\n */\n toAttribute?(value: Type, type?: TypeHint): unknown;\n}\n\ntype AttributeConverter =\n | ComplexAttributeConverter\n | ((value: string | null, type?: TypeHint) => Type);\n\n/**\n * Defines options for a property accessor.\n */\nexport interface PropertyDeclaration {\n /**\n * When set to `true`, indicates the property is internal private state. The\n * property should not be set by users. When using TypeScript, this property\n * should be marked as `private` or `protected`, and it is also a common\n * practice to use a leading `_` in the name. The property is not added to\n * `observedAttributes`.\n */\n readonly state?: boolean;\n\n /**\n * Indicates how and whether the property becomes an observed attribute.\n * If the value is `false`, the property is not added to `observedAttributes`.\n * If true or absent, the lowercased property name is observed (e.g. `fooBar`\n * becomes `foobar`). If a string, the string value is observed (e.g\n * `attribute: 'foo-bar'`).\n */\n readonly attribute?: boolean | string;\n\n /**\n * Indicates the type of the property. This is used only as a hint for the\n * `converter` to determine how to convert the attribute\n * to/from a property.\n */\n readonly type?: TypeHint;\n\n /**\n * Indicates how to convert the attribute to/from a property. If this value\n * is a function, it is used to convert the attribute value a the property\n * value. If it's an object, it can have keys for `fromAttribute` and\n * `toAttribute`. If no `toAttribute` function is provided and\n * `reflect` is set to `true`, the property value is set directly to the\n * attribute. A default `converter` is used if none is provided; it supports\n * `Boolean`, `String`, `Number`, `Object`, and `Array`. Note,\n * when a property changes and the converter is used to update the attribute,\n * the property is never updated again as a result of the attribute changing,\n * and vice versa.\n */\n readonly converter?: AttributeConverter;\n\n /**\n * Indicates if the property should reflect to an attribute.\n * If `true`, when the property is set, the attribute is set using the\n * attribute name determined according to the rules for the `attribute`\n * property option and the value of the property converted using the rules\n * from the `converter` property option.\n */\n readonly reflect?: boolean;\n\n /**\n * A function that indicates if a property should be considered changed when\n * it is set. The function should take the `newValue` and `oldValue` and\n * return `true` if an update should be requested.\n */\n hasChanged?(value: Type, oldValue: Type): boolean;\n\n /**\n * Indicates whether an accessor will be created for this property. By\n * default, an accessor will be generated for this property that requests an\n * update when set. If this flag is `true`, no accessor will be created, and\n * it will be the user's responsibility to call\n * `this.requestUpdate(propertyName, oldValue)` to request an update when\n * the property changes.\n */\n readonly noAccessor?: boolean;\n\n /**\n * Whether this property is wrapping accessors. This is set by `@property`\n * to control the initial value change and reflection logic.\n *\n * @internal\n */\n wrapped?: boolean;\n}\n\n/**\n * Map of properties to PropertyDeclaration options. For each property an\n * accessor is made, and the property is processed according to the\n * PropertyDeclaration options.\n */\nexport interface PropertyDeclarations {\n readonly [key: string]: PropertyDeclaration;\n}\n\ntype PropertyDeclarationMap = Map;\n\ntype AttributeMap = Map;\n\n/**\n * A Map of property keys to values.\n *\n * Takes an optional type parameter T, which when specified as a non-any,\n * non-unknown type, will make the Map more strongly-typed, associating the map\n * keys with their corresponding value type on T.\n *\n * Use `PropertyValues` when overriding ReactiveElement.update() and\n * other lifecycle methods in order to get stronger type-checking on keys\n * and values.\n */\n// This type is conditional so that if the parameter T is not specified, or\n// is `any`, the type will include `Map`. Since T is not\n// given in the uses of PropertyValues in this file, all uses here fallback to\n// meaning `Map`, but if a developer uses\n// `PropertyValues` (or any other value for T) they will get a\n// strongly-typed Map type.\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport type PropertyValues = T extends object\n ? PropertyValueMap\n : Map;\n\n/**\n * Do not use, instead prefer {@linkcode PropertyValues}.\n */\n// This type must be exported such that JavaScript generated by the Google\n// Closure Compiler can import a type reference.\nexport interface PropertyValueMap extends Map {\n get(k: K): T[K] | undefined;\n set(key: K, value: T[K]): this;\n has(k: K): boolean;\n delete(k: K): boolean;\n}\n\nexport const defaultConverter: ComplexAttributeConverter = {\n toAttribute(value: unknown, type?: unknown): unknown {\n switch (type) {\n case Boolean:\n value = value ? emptyStringForBooleanAttribute : null;\n break;\n case Object:\n case Array:\n // if the value is `null` or `undefined` pass this through\n // to allow removing/no change behavior.\n value = value == null ? value : JSON.stringify(value);\n break;\n }\n return value;\n },\n\n fromAttribute(value: string | null, type?: unknown) {\n let fromValue: unknown = value;\n switch (type) {\n case Boolean:\n fromValue = value !== null;\n break;\n case Number:\n fromValue = value === null ? null : Number(value);\n break;\n case Object:\n case Array:\n // Do *not* generate exception when invalid JSON is set as elements\n // don't normally complain on being mis-configured.\n // TODO(sorvell): Do generate exception in *dev mode*.\n try {\n // Assert to adhere to Bazel's \"must type assert JSON parse\" rule.\n fromValue = JSON.parse(value!) as unknown;\n } catch (e) {\n fromValue = null;\n }\n break;\n }\n return fromValue;\n },\n};\n\nexport interface HasChanged {\n (value: unknown, old: unknown): boolean;\n}\n\n/**\n * Change function that returns true if `value` is different from `oldValue`.\n * This method is used as the default for a property's `hasChanged` function.\n */\nexport const notEqual: HasChanged = (value: unknown, old: unknown): boolean =>\n !is(value, old);\n\nconst defaultPropertyDeclaration: PropertyDeclaration = {\n attribute: true,\n type: String,\n converter: defaultConverter,\n reflect: false,\n hasChanged: notEqual,\n};\n\n/**\n * A string representing one of the supported dev mode warning categories.\n */\nexport type WarningKind =\n | 'change-in-update'\n | 'migration'\n | 'async-perform-update';\n\nexport type Initializer = (element: ReactiveElement) => void;\n\n// Temporary, until google3 is on TypeScript 5.2\ndeclare global {\n interface SymbolConstructor {\n readonly metadata: unique symbol;\n }\n}\n\n// Ensure metadata is enabled. TypeScript does not polyfill\n// Symbol.metadata, so we must ensure that it exists.\n(Symbol as {metadata: symbol}).metadata ??= Symbol('metadata');\n\ndeclare global {\n // This is public global API, do not change!\n // eslint-disable-next-line no-var\n var litPropertyMetadata: WeakMap<\n object,\n Map\n >;\n}\n\n// Map from a class's metadata object to property options\n// Note that we must use nullish-coalescing assignment so that we only use one\n// map even if we load multiple version of this module.\nglobal.litPropertyMetadata ??= new WeakMap<\n object,\n Map\n>();\n\n/**\n * Base element class which manages element properties and attributes. When\n * properties change, the `update` method is asynchronously called. This method\n * should be supplied by subclasses to render updates as desired.\n * @noInheritDoc\n */\nexport abstract class ReactiveElement\n // In the Node build, this `extends` clause will be substituted with\n // `(globalThis.HTMLElement ?? HTMLElement)`.\n //\n // This way, we will first prefer any global `HTMLElement` polyfill that the\n // user has assigned, and then fall back to the `HTMLElement` shim which has\n // been imported (see note at the top of this file about how this import is\n // generated by Rollup). Note that the `HTMLElement` variable has been\n // shadowed by this import, so it no longer refers to the global.\n extends HTMLElement\n implements ReactiveControllerHost\n{\n // Note: these are patched in only in DEV_MODE.\n /**\n * Read or set all the enabled warning categories for this class.\n *\n * This property is only used in development builds.\n *\n * @nocollapse\n * @category dev-mode\n */\n static enabledWarnings?: WarningKind[];\n\n /**\n * Enable the given warning category for this class.\n *\n * This method only exists in development builds, so it should be accessed\n * with a guard like:\n *\n * ```ts\n * // Enable for all ReactiveElement subclasses\n * ReactiveElement.enableWarning?.('migration');\n *\n * // Enable for only MyElement and subclasses\n * MyElement.enableWarning?.('migration');\n * ```\n *\n * @nocollapse\n * @category dev-mode\n */\n static enableWarning?: (warningKind: WarningKind) => void;\n\n /**\n * Disable the given warning category for this class.\n *\n * This method only exists in development builds, so it should be accessed\n * with a guard like:\n *\n * ```ts\n * // Disable for all ReactiveElement subclasses\n * ReactiveElement.disableWarning?.('migration');\n *\n * // Disable for only MyElement and subclasses\n * MyElement.disableWarning?.('migration');\n * ```\n *\n * @nocollapse\n * @category dev-mode\n */\n static disableWarning?: (warningKind: WarningKind) => void;\n\n /**\n * Adds an initializer function to the class that is called during instance\n * construction.\n *\n * This is useful for code that runs against a `ReactiveElement`\n * subclass, such as a decorator, that needs to do work for each\n * instance, such as setting up a `ReactiveController`.\n *\n * ```ts\n * const myDecorator = (target: typeof ReactiveElement, key: string) => {\n * target.addInitializer((instance: ReactiveElement) => {\n * // This is run during construction of the element\n * new MyController(instance);\n * });\n * }\n * ```\n *\n * Decorating a field will then cause each instance to run an initializer\n * that adds a controller:\n *\n * ```ts\n * class MyElement extends LitElement {\n * @myDecorator foo;\n * }\n * ```\n *\n * Initializers are stored per-constructor. Adding an initializer to a\n * subclass does not add it to a superclass. Since initializers are run in\n * constructors, initializers will run in order of the class hierarchy,\n * starting with superclasses and progressing to the instance's class.\n *\n * @nocollapse\n */\n static addInitializer(initializer: Initializer) {\n this.__prepare();\n (this._initializers ??= []).push(initializer);\n }\n\n static _initializers?: Initializer[];\n\n /*\n * Due to closure compiler ES6 compilation bugs, @nocollapse is required on\n * all static methods and properties with initializers. Reference:\n * - https://github.com/google/closure-compiler/issues/1776\n */\n\n /**\n * Maps attribute names to properties; for example `foobar` attribute to\n * `fooBar` property. Created lazily on user subclasses when finalizing the\n * class.\n * @nocollapse\n */\n private static __attributeToPropertyMap: AttributeMap;\n\n /**\n * Marks class as having been finalized, which includes creating properties\n * from `static properties`, but does *not* include all properties created\n * from decorators.\n * @nocollapse\n */\n protected static finalized: true | undefined;\n\n /**\n * Memoized list of all element properties, including any superclass\n * properties. Created lazily on user subclasses when finalizing the class.\n *\n * @nocollapse\n * @category properties\n */\n static elementProperties: PropertyDeclarationMap;\n\n /**\n * User-supplied object that maps property names to `PropertyDeclaration`\n * objects containing options for configuring reactive properties. When\n * a reactive property is set the element will update and render.\n *\n * By default properties are public fields, and as such, they should be\n * considered as primarily settable by element users, either via attribute or\n * the property itself.\n *\n * Generally, properties that are changed by the element should be private or\n * protected fields and should use the `state: true` option. Properties\n * marked as `state` do not reflect from the corresponding attribute\n *\n * However, sometimes element code does need to set a public property. This\n * should typically only be done in response to user interaction, and an event\n * should be fired informing the user; for example, a checkbox sets its\n * `checked` property when clicked and fires a `changed` event. Mutating\n * public properties should typically not be done for non-primitive (object or\n * array) properties. In other cases when an element needs to manage state, a\n * private property set with the `state: true` option should be used. When\n * needed, state properties can be initialized via public properties to\n * facilitate complex interactions.\n * @nocollapse\n * @category properties\n */\n static properties: PropertyDeclarations;\n\n /**\n * Memoized list of all element styles.\n * Created lazily on user subclasses when finalizing the class.\n * @nocollapse\n * @category styles\n */\n static elementStyles: Array = [];\n\n /**\n * Array of styles to apply to the element. The styles should be defined\n * using the {@linkcode css} tag function, via constructible stylesheets, or\n * imported from native CSS module scripts.\n *\n * Note on Content Security Policy:\n *\n * Element styles are implemented with `