@covalent/components 6.4.0 → 6.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/action-ribbon.js +6 -6
- package/action-ribbon.mjs +24 -23
- package/alert.js +4 -4
- package/alert.mjs +28 -27
- package/app-shell.js +4 -4
- package/app-shell.mjs +10 -10
- package/{base-element-67ae173f.mjs → base-element-c3dc926e.mjs} +2 -2
- package/{base-element-58a3f9ea.js → base-element-d5abe37a.js} +1 -1
- package/button.js +4 -4
- package/button.mjs +13 -13
- package/card.js +8 -8
- package/card.mjs +4 -4
- package/check-list-item.js +3 -3
- package/check-list-item.mjs +16 -16
- package/checkbox.js +1 -1
- package/checkbox.mjs +15 -15
- package/circular-progress.js +7 -7
- package/circular-progress.mjs +6 -6
- package/class-map-08c84aeb.mjs +62 -0
- package/class-map-50b8edb4.js +9 -0
- package/code-snippet.js +9 -9
- package/code-snippet.mjs +1213 -1276
- package/{dialog-9ac44447.mjs → dialog-85c21333.mjs} +39 -39
- package/{dialog-79036d60.js → dialog-8ee07177.js} +4 -4
- package/dialog.js +1 -1
- package/dialog.mjs +8 -8
- package/{directive-helpers-e3ea6592.mjs → directive-helpers-725a181d.mjs} +3 -3
- package/{directive-helpers-0ce1f995.js → directive-helpers-fce8cf91.js} +2 -2
- package/drawer.js +1 -1
- package/drawer.mjs +8 -8
- package/empty-state.js +7 -7
- package/empty-state.mjs +4 -4
- package/{event-options-78d6cf94.mjs → event-options-3937d997.mjs} +1 -1
- package/{event-options-3f5eb195.js → event-options-7bc382d8.js} +1 -1
- package/{form-element-bd973124.mjs → form-element-6dbd7afa.mjs} +4 -4
- package/{form-element-ead758d4.js → form-element-d4e7bcdb.js} +2 -2
- package/foundation-2334d146.mjs +60 -0
- package/{foundation-62d4413d.js → foundation-3f55a9dc.js} +3 -24
- package/{foundation-3f556da7.mjs → foundation-c580100a.mjs} +28 -78
- package/foundation-e830bd94.js +22 -0
- package/icon-button.js +5 -5
- package/icon-button.mjs +12 -12
- package/icon-check-toggle.js +5 -5
- package/icon-check-toggle.mjs +15 -15
- package/icon-radio-toggle.js +4 -4
- package/icon-radio-toggle.mjs +15 -15
- package/icon.js +1 -1
- package/icon.mjs +3 -3
- package/{if-defined-c367f208.mjs → if-defined-639ed018.mjs} +1 -1
- package/if-defined-cb12d481.js +5 -0
- package/index.js +1 -1
- package/index.mjs +121 -120
- package/linear-progress.js +6 -6
- package/linear-progress.mjs +13 -13
- package/{list-066f5de4.mjs → list-d616957b.mjs} +3 -3
- package/{list-05db7fed.js → list-defdaa3b.js} +2 -2
- package/list-expansion.js +4 -4
- package/list-expansion.mjs +25 -25
- package/{list-item-8da7ba96.js → list-item-3fa66f09.js} +3 -3
- package/{list-item-ba77097d.mjs → list-item-d5c05e10.mjs} +6 -6
- package/list-item.js +1 -1
- package/list-item.mjs +13 -13
- package/list.js +1 -1
- package/list.mjs +15 -15
- package/menu.js +1 -1
- package/menu.mjs +15 -15
- package/{mwc-checkbox-base-3da36456.mjs → mwc-checkbox-base-10e977f2.mjs} +21 -21
- package/{mwc-checkbox-base-d46c7666.js → mwc-checkbox-base-435c1f1d.js} +9 -9
- package/{mwc-checkbox.css-b3434429.js → mwc-checkbox.css-956e3d6c.js} +1 -1
- package/{mwc-checkbox.css-8f4f1a9b.mjs → mwc-checkbox.css-b7abc7fd.mjs} +1 -1
- package/{mwc-drawer-base-fe660bdf.mjs → mwc-drawer-base-b2b772c3.mjs} +10 -10
- package/{mwc-drawer-base-8eecb1de.js → mwc-drawer-base-f44fcf34.js} +6 -6
- package/{mwc-icon-8c9cd0c9.js → mwc-icon-b96fb867.js} +2 -2
- package/{mwc-icon-ba18383d.mjs → mwc-icon-c7013880.mjs} +2 -2
- package/{mwc-line-ripple-directive-d1cf9570.js → mwc-line-ripple-directive-a97ce725.js} +3 -3
- package/{mwc-line-ripple-directive-ffce2cff.mjs → mwc-line-ripple-directive-c3e1f04a.mjs} +6 -6
- package/{mwc-list-base-cb3500b4.js → mwc-list-base-7d5f7278.js} +4 -4
- package/{mwc-list-base-32d4ac31.mjs → mwc-list-base-c0f8af1c.mjs} +9 -9
- package/{mwc-list-item-base-4a4d1e1b.js → mwc-list-item-base-803b9771.js} +8 -8
- package/{mwc-list-item-base-8654347d.mjs → mwc-list-item-base-acef0223.mjs} +7 -7
- package/{mwc-list-item.css-25adc0c4.js → mwc-list-item.css-401e2407.js} +1 -1
- package/{mwc-list-item.css-b0009fc7.mjs → mwc-list-item.css-b5481d96.mjs} +1 -1
- package/{mwc-menu-base-572a76b9.mjs → mwc-menu-base-8970b43d.mjs} +11 -11
- package/{mwc-menu-base-f14ec544.js → mwc-menu-base-ac49fe54.js} +17 -17
- package/{mwc-radio-base-470b4fcc.js → mwc-radio-base-442d495a.js} +4 -4
- package/{mwc-radio-base-9446d39b.mjs → mwc-radio-base-c29e6f42.mjs} +11 -11
- package/{mwc-radio.css-4e140252.js → mwc-radio.css-388ad26d.js} +1 -1
- package/{mwc-radio.css-7454bb11.mjs → mwc-radio.css-4694aa9c.mjs} +1 -1
- package/{mwc-slider.css-10adbaf8.mjs → mwc-slider.css-336f809b.mjs} +12 -12
- package/{mwc-slider.css-9dd57b10.js → mwc-slider.css-48f02f1e.js} +11 -11
- package/{mwc-tab-base-fc3ffb43.js → mwc-tab-base-1a19b299.js} +13 -13
- package/{mwc-tab-base-4ba47acc.mjs → mwc-tab-base-7fb3d339.mjs} +14 -14
- package/{mwc-top-app-bar-base-0304e67f.js → mwc-top-app-bar-base-14e0a018.js} +8 -8
- package/{mwc-top-app-bar-base-adc4168a.mjs → mwc-top-app-bar-base-79c87e69.mjs} +24 -22
- package/nav-list-item.js +2 -2
- package/nav-list-item.mjs +13 -13
- package/package.json +1 -1
- package/{property-57f6f6fe.js → property-074570d1.js} +1 -1
- package/{property-9b6ea53b.mjs → property-ca27685b.mjs} +9 -9
- package/{query-d843aa92.mjs → query-1e7846ea.mjs} +1 -1
- package/{query-680f1868.js → query-2ba749b7.js} +1 -1
- package/query-assigned-elements-07e38f46.js +33 -0
- package/{query-assigned-elements-4a39219d.mjs → query-assigned-elements-514e5265.mjs} +152 -153
- package/{query-assigned-nodes-99eae71d.js → query-assigned-nodes-9ec0fa5f.js} +1 -1
- package/{query-assigned-nodes-df691e78.mjs → query-assigned-nodes-bea12e0c.mjs} +1 -1
- package/radio-list-item.js +3 -3
- package/radio-list-item.mjs +18 -18
- package/radio.js +1 -1
- package/radio.mjs +15 -15
- package/{ripple-handlers-c82b1232.js → ripple-handlers-2176f137.js} +5 -5
- package/{ripple-handlers-321219b8.mjs → ripple-handlers-227497d3.mjs} +10 -10
- package/select.js +10 -10
- package/select.mjs +20 -20
- package/side-sheet.js +2 -2
- package/side-sheet.mjs +21 -21
- package/slider-range.js +7 -7
- package/slider-range.mjs +13 -13
- package/slider.js +3 -3
- package/slider.mjs +15 -15
- package/snackbar.js +6 -6
- package/snackbar.mjs +12 -12
- package/{state-b5e865db.mjs → state-6f7e570d.mjs} +1 -1
- package/state-949232e6.js +5 -0
- package/status-header-item.js +3 -3
- package/status-header-item.mjs +15 -15
- package/status-header.js +2 -2
- package/status-header.mjs +3 -3
- package/style-map-2cb0fb63.mjs +40 -0
- package/style-map-3056a771.js +5 -0
- package/style.css +1 -1
- package/switch.js +8 -8
- package/switch.mjs +13 -13
- package/tab-bar.js +5 -5
- package/tab-bar.mjs +16 -16
- package/tab.js +1 -1
- package/tab.mjs +12 -12
- package/text-lockup.js +4 -4
- package/text-lockup.mjs +7 -7
- package/textarea.js +4 -4
- package/textarea.mjs +26 -26
- package/{textfield-2cee5a1a.mjs → textfield-276b0ded.mjs} +14 -14
- package/{textfield-0993c163.js → textfield-507c6a06.js} +12 -12
- package/textfield.js +1 -1
- package/textfield.mjs +14 -14
- package/toolbar.js +1 -1
- package/toolbar.mjs +8 -8
- package/tooltip/tooltip.d.ts.map +1 -1
- package/tooltip.js +11 -32
- package/tooltip.mjs +516 -611
- package/{top-app-bar-a531c1b4.js → top-app-bar-34e85527.js} +1 -1
- package/{top-app-bar-f83386e0.mjs → top-app-bar-a236c3bc.mjs} +1 -1
- package/top-app-bar-fixed.js +5 -89
- package/top-app-bar-fixed.mjs +37 -279
- package/top-app-bar.js +1 -1
- package/top-app-bar.mjs +9 -9
- package/tree-list-item.js +7 -7
- package/tree-list-item.mjs +6 -6
- package/tree-list.js +2 -2
- package/tree-list.mjs +1 -1
- package/tslib.es6-6b53b818.js +1 -0
- package/tslib.es6-b5e819a6.mjs +82 -0
- package/typography.js +3 -3
- package/typography.mjs +2 -2
- package/{utils-2932417c.mjs → utils-dc65fdc9.mjs} +2 -2
- package/class-map-4b94b017.mjs +0 -62
- package/class-map-b5efe8da.js +0 -9
- package/if-defined-f1c45245.js +0 -5
- package/query-assigned-elements-f623705d.js +0 -31
- package/state-0974a8e5.js +0 -5
- package/style-map-88d2563f.js +0 -5
- package/style-map-bc3ed3e0.mjs +0 -44
- package/tslib.es6-e6a11c8a.js +0 -1
- package/tslib.es6-f1eaf65c.mjs +0 -82
@@ -3,19 +3,19 @@
|
|
3
3
|
* Copyright 2019 Google LLC
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|
5
5
|
*/
|
6
|
-
const
|
7
|
-
let
|
6
|
+
const H = window, I = H.ShadowRoot && (H.ShadyCSS === void 0 || H.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, V = Symbol(), W = /* @__PURE__ */ new WeakMap();
|
7
|
+
let st = class {
|
8
8
|
constructor(t, e, s) {
|
9
|
-
if (this._$cssResult$ = !0, s !==
|
9
|
+
if (this._$cssResult$ = !0, s !== V)
|
10
10
|
throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
11
11
|
this.cssText = t, this.t = e;
|
12
12
|
}
|
13
13
|
get styleSheet() {
|
14
14
|
let t = this.o;
|
15
15
|
const e = this.t;
|
16
|
-
if (
|
16
|
+
if (I && t === void 0) {
|
17
17
|
const s = e !== void 0 && e.length === 1;
|
18
|
-
s && (t =
|
18
|
+
s && (t = W.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && W.set(e, t));
|
19
19
|
}
|
20
20
|
return t;
|
21
21
|
}
|
@@ -23,7 +23,7 @@ let nt = class {
|
|
23
23
|
return this.cssText;
|
24
24
|
}
|
25
25
|
};
|
26
|
-
const
|
26
|
+
const lt = (n) => new st(typeof n == "string" ? n : n + "", void 0, V), bt = (n, ...t) => {
|
27
27
|
const e = n.length === 1 ? n[0] : t.reduce((s, i, r) => s + ((o) => {
|
28
28
|
if (o._$cssResult$ === !0)
|
29
29
|
return o.cssText;
|
@@ -31,17 +31,17 @@ const ct = (n) => new nt(typeof n == "string" ? n : n + "", void 0, q), Pt = (n,
|
|
31
31
|
return o;
|
32
32
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + o + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
33
33
|
})(i) + n[r + 1], n[0]);
|
34
|
-
return new
|
35
|
-
},
|
36
|
-
|
37
|
-
const s = document.createElement("style"), i =
|
34
|
+
return new st(e, n, V);
|
35
|
+
}, ht = (n, t) => {
|
36
|
+
I ? n.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet) : t.forEach((e) => {
|
37
|
+
const s = document.createElement("style"), i = H.litNonce;
|
38
38
|
i !== void 0 && s.setAttribute("nonce", i), s.textContent = e.cssText, n.appendChild(s);
|
39
39
|
});
|
40
|
-
},
|
40
|
+
}, q = I ? (n) => n : (n) => n instanceof CSSStyleSheet ? ((t) => {
|
41
41
|
let e = "";
|
42
42
|
for (const s of t.cssRules)
|
43
43
|
e += s.cssText;
|
44
|
-
return
|
44
|
+
return lt(e);
|
45
45
|
})(n) : n;
|
46
46
|
/**
|
47
47
|
* @license
|
@@ -49,10 +49,10 @@ const ct = (n) => new nt(typeof n == "string" ? n : n + "", void 0, q), Pt = (n,
|
|
49
49
|
* SPDX-License-Identifier: BSD-3-Clause
|
50
50
|
*/
|
51
51
|
var k;
|
52
|
-
const
|
52
|
+
const T = window, K = T.trustedTypes, at = K ? K.emptyScript : "", Z = T.reactiveElementPolyfillSupport, D = { toAttribute(n, t) {
|
53
53
|
switch (t) {
|
54
54
|
case Boolean:
|
55
|
-
n = n ?
|
55
|
+
n = n ? at : null;
|
56
56
|
break;
|
57
57
|
case Object:
|
58
58
|
case Array:
|
@@ -77,10 +77,10 @@ const N = window, J = N.trustedTypes, pt = J ? J.emptyScript : "", F = N.reactiv
|
|
77
77
|
}
|
78
78
|
}
|
79
79
|
return e;
|
80
|
-
} },
|
81
|
-
let
|
80
|
+
} }, it = (n, t) => t !== n && (t == t || n == n), M = { attribute: !0, type: String, converter: D, reflect: !1, hasChanged: it };
|
81
|
+
let f = class extends HTMLElement {
|
82
82
|
constructor() {
|
83
|
-
super(), this._$Ei = /* @__PURE__ */ new Map(), this.isUpdatePending = !1, this.hasUpdated = !1, this._$El = null, this.
|
83
|
+
super(), this._$Ei = /* @__PURE__ */ new Map(), this.isUpdatePending = !1, this.hasUpdated = !1, this._$El = null, this.u();
|
84
84
|
}
|
85
85
|
static addInitializer(t) {
|
86
86
|
var e;
|
@@ -94,7 +94,7 @@ let m = class extends HTMLElement {
|
|
94
94
|
i !== void 0 && (this._$Ev.set(i, s), t.push(i));
|
95
95
|
}), t;
|
96
96
|
}
|
97
|
-
static createProperty(t, e =
|
97
|
+
static createProperty(t, e = M) {
|
98
98
|
if (e.state && (e.attribute = !1), this.finalize(), this.elementProperties.set(t, e), !e.noAccessor && !this.prototype.hasOwnProperty(t)) {
|
99
99
|
const s = typeof t == "symbol" ? Symbol() : "__" + t, i = this.getPropertyDescriptor(t, s, e);
|
100
100
|
i !== void 0 && Object.defineProperty(this.prototype, t, i);
|
@@ -109,12 +109,12 @@ let m = class extends HTMLElement {
|
|
109
109
|
}, configurable: !0, enumerable: !0 };
|
110
110
|
}
|
111
111
|
static getPropertyOptions(t) {
|
112
|
-
return this.elementProperties.get(t) ||
|
112
|
+
return this.elementProperties.get(t) || M;
|
113
113
|
}
|
114
114
|
static finalize() {
|
115
|
-
if (this.hasOwnProperty(
|
115
|
+
if (this.hasOwnProperty("finalized"))
|
116
116
|
return !1;
|
117
|
-
this
|
117
|
+
this.finalized = !0;
|
118
118
|
const t = Object.getPrototypeOf(this);
|
119
119
|
if (t.finalize(), t.h !== void 0 && (this.h = [...t.h]), this.elementProperties = new Map(t.elementProperties), this._$Ev = /* @__PURE__ */ new Map(), this.hasOwnProperty("properties")) {
|
120
120
|
const e = this.properties, s = [...Object.getOwnPropertyNames(e), ...Object.getOwnPropertySymbols(e)];
|
@@ -128,16 +128,16 @@ let m = class extends HTMLElement {
|
|
128
128
|
if (Array.isArray(t)) {
|
129
129
|
const s = new Set(t.flat(1 / 0).reverse());
|
130
130
|
for (const i of s)
|
131
|
-
e.unshift(
|
131
|
+
e.unshift(q(i));
|
132
132
|
} else
|
133
|
-
t !== void 0 && e.push(
|
133
|
+
t !== void 0 && e.push(q(t));
|
134
134
|
return e;
|
135
135
|
}
|
136
136
|
static _$Ep(t, e) {
|
137
137
|
const s = e.attribute;
|
138
138
|
return s === !1 ? void 0 : typeof s == "string" ? s : typeof t == "string" ? t.toLowerCase() : void 0;
|
139
139
|
}
|
140
|
-
|
140
|
+
u() {
|
141
141
|
var t;
|
142
142
|
this._$E_ = new Promise((e) => this.enableUpdating = e), this._$AL = /* @__PURE__ */ new Map(), this._$Eg(), this.requestUpdate(), (t = this.constructor.h) === null || t === void 0 || t.forEach((e) => e(this));
|
143
143
|
}
|
@@ -157,7 +157,7 @@ let m = class extends HTMLElement {
|
|
157
157
|
createRenderRoot() {
|
158
158
|
var t;
|
159
159
|
const e = (t = this.shadowRoot) !== null && t !== void 0 ? t : this.attachShadow(this.constructor.shadowRootOptions);
|
160
|
-
return
|
160
|
+
return ht(e, this.constructor.elementStyles), e;
|
161
161
|
}
|
162
162
|
connectedCallback() {
|
163
163
|
var t;
|
@@ -178,11 +178,11 @@ let m = class extends HTMLElement {
|
|
178
178
|
attributeChangedCallback(t, e, s) {
|
179
179
|
this._$AK(t, s);
|
180
180
|
}
|
181
|
-
_$EO(t, e, s =
|
181
|
+
_$EO(t, e, s = M) {
|
182
182
|
var i;
|
183
183
|
const r = this.constructor._$Ep(t, s);
|
184
184
|
if (r !== void 0 && s.reflect === !0) {
|
185
|
-
const o = (((i = s.converter) === null || i === void 0 ? void 0 : i.toAttribute) !== void 0 ? s.converter :
|
185
|
+
const o = (((i = s.converter) === null || i === void 0 ? void 0 : i.toAttribute) !== void 0 ? s.converter : D).toAttribute(e, s.type);
|
186
186
|
this._$El = t, o == null ? this.removeAttribute(r) : this.setAttribute(r, o), this._$El = null;
|
187
187
|
}
|
188
188
|
}
|
@@ -190,13 +190,13 @@ let m = class extends HTMLElement {
|
|
190
190
|
var s;
|
191
191
|
const i = this.constructor, r = i._$Ev.get(t);
|
192
192
|
if (r !== void 0 && this._$El !== r) {
|
193
|
-
const o = i.getPropertyOptions(r),
|
194
|
-
this._$El = r, this[r] =
|
193
|
+
const o = i.getPropertyOptions(r), d = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((s = o.converter) === null || s === void 0 ? void 0 : s.fromAttribute) !== void 0 ? o.converter : D;
|
194
|
+
this._$El = r, this[r] = d.fromAttribute(e, o.type), this._$El = null;
|
195
195
|
}
|
196
196
|
}
|
197
197
|
requestUpdate(t, e, s) {
|
198
198
|
let i = !0;
|
199
|
-
t !== void 0 && (((s = s || this.constructor.getPropertyOptions(t)).hasChanged ||
|
199
|
+
t !== void 0 && (((s = s || this.constructor.getPropertyOptions(t)).hasChanged || it)(this[t], e) ? (this._$AL.has(t) || this._$AL.set(t, e), s.reflect === !0 && this._$El !== t && (this._$EC === void 0 && (this._$EC = /* @__PURE__ */ new Map()), this._$EC.set(t, s))) : i = !1), !this.isUpdatePending && i && (this._$E_ = this._$Ej());
|
200
200
|
}
|
201
201
|
async _$Ej() {
|
202
202
|
this.isUpdatePending = !0;
|
@@ -257,96 +257,95 @@ let m = class extends HTMLElement {
|
|
257
257
|
firstUpdated(t) {
|
258
258
|
}
|
259
259
|
};
|
260
|
-
|
260
|
+
f.finalized = !0, f.elementProperties = /* @__PURE__ */ new Map(), f.elementStyles = [], f.shadowRootOptions = { mode: "open" }, Z == null || Z({ ReactiveElement: f }), ((k = T.reactiveElementVersions) !== null && k !== void 0 ? k : T.reactiveElementVersions = []).push("1.5.0");
|
261
261
|
/**
|
262
262
|
* @license
|
263
263
|
* Copyright 2017 Google LLC
|
264
264
|
* SPDX-License-Identifier: BSD-3-Clause
|
265
265
|
*/
|
266
|
-
var
|
267
|
-
const
|
268
|
-
\f\r]
|
269
|
-
\f\r
|
270
|
-
|
271
|
-
|
272
|
-
throw Error("invalid template strings array");
|
273
|
-
return G !== void 0 ? G.createHTML(t) : t;
|
274
|
-
}
|
275
|
-
const ft = (n, t) => {
|
266
|
+
var L;
|
267
|
+
const N = window, m = N.trustedTypes, J = m ? m.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, v = `lit$${(Math.random() + "").slice(9)}$`, nt = "?" + v, dt = `<${nt}>`, y = document, b = (n = "") => y.createComment(n), C = (n) => n === null || typeof n != "object" && typeof n != "function", ot = Array.isArray, ct = (n) => ot(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", S = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, F = /-->/g, G = />/g, _ = RegExp(`>|[
|
268
|
+
\f\r](?:([^\\s"'>=/]+)([
|
269
|
+
\f\r]*=[
|
270
|
+
\f\r]*(?:[^
|
271
|
+
\f\r"'\`<>=]|("|')|))|$)`, "g"), Q = /'/g, X = /"/g, rt = /^(?:script|style|textarea|title)$/i, ut = (n) => (t, ...e) => ({ _$litType$: n, strings: t, values: e }), wt = ut(1), g = Symbol.for("lit-noChange"), u = Symbol.for("lit-nothing"), Y = /* @__PURE__ */ new WeakMap(), A = y.createTreeWalker(y, 129, null, !1), pt = (n, t) => {
|
276
272
|
const e = n.length - 1, s = [];
|
277
273
|
let i, r = t === 2 ? "<svg>" : "", o = S;
|
278
|
-
for (let
|
279
|
-
const
|
280
|
-
let
|
281
|
-
for (; p <
|
282
|
-
p = o.lastIndex, o === S ?
|
283
|
-
const
|
284
|
-
r += o === S ?
|
285
|
-
}
|
286
|
-
|
274
|
+
for (let l = 0; l < e; l++) {
|
275
|
+
const h = n[l];
|
276
|
+
let $, a, c = -1, p = 0;
|
277
|
+
for (; p < h.length && (o.lastIndex = p, a = o.exec(h), a !== null); )
|
278
|
+
p = o.lastIndex, o === S ? a[1] === "!--" ? o = F : a[1] !== void 0 ? o = G : a[2] !== void 0 ? (rt.test(a[2]) && (i = RegExp("</" + a[2], "g")), o = _) : a[3] !== void 0 && (o = _) : o === _ ? a[0] === ">" ? (o = i ?? S, c = -1) : a[1] === void 0 ? c = -2 : (c = o.lastIndex - a[2].length, $ = a[1], o = a[3] === void 0 ? _ : a[3] === '"' ? X : Q) : o === X || o === Q ? o = _ : o === F || o === G ? o = S : (o = _, i = void 0);
|
279
|
+
const P = o === _ && n[l + 1].startsWith("/>") ? " " : "";
|
280
|
+
r += o === S ? h + dt : c >= 0 ? (s.push($), h.slice(0, c) + "$lit$" + h.slice(c) + v + P) : h + v + (c === -2 ? (s.push(void 0), l) : P);
|
281
|
+
}
|
282
|
+
const d = r + (n[e] || "<?>") + (t === 2 ? "</svg>" : "");
|
283
|
+
if (!Array.isArray(n) || !n.hasOwnProperty("raw"))
|
284
|
+
throw Error("invalid template strings array");
|
285
|
+
return [J !== void 0 ? J.createHTML(d) : d, s];
|
287
286
|
};
|
288
287
|
class w {
|
289
288
|
constructor({ strings: t, _$litType$: e }, s) {
|
290
289
|
let i;
|
291
290
|
this.parts = [];
|
292
291
|
let r = 0, o = 0;
|
293
|
-
const
|
294
|
-
if (this.el = w.createElement(h, s),
|
295
|
-
const
|
296
|
-
|
292
|
+
const d = t.length - 1, l = this.parts, [h, $] = pt(t, e);
|
293
|
+
if (this.el = w.createElement(h, s), A.currentNode = this.el.content, e === 2) {
|
294
|
+
const a = this.el.content, c = a.firstChild;
|
295
|
+
c.remove(), a.append(...c.childNodes);
|
297
296
|
}
|
298
|
-
for (; (i =
|
297
|
+
for (; (i = A.nextNode()) !== null && l.length < d; ) {
|
299
298
|
if (i.nodeType === 1) {
|
300
299
|
if (i.hasAttributes()) {
|
301
|
-
const
|
302
|
-
for (const
|
303
|
-
if (
|
304
|
-
const
|
305
|
-
if (
|
306
|
-
const
|
307
|
-
l.push({ type: 1, index: r, name:
|
300
|
+
const a = [];
|
301
|
+
for (const c of i.getAttributeNames())
|
302
|
+
if (c.endsWith("$lit$") || c.startsWith(v)) {
|
303
|
+
const p = $[o++];
|
304
|
+
if (a.push(c), p !== void 0) {
|
305
|
+
const P = i.getAttribute(p.toLowerCase() + "$lit$").split(v), U = /([.?@])?(.*)/.exec(p);
|
306
|
+
l.push({ type: 1, index: r, name: U[2], strings: P, ctor: U[1] === "." ? vt : U[1] === "?" ? ft : U[1] === "@" ? At : R });
|
308
307
|
} else
|
309
308
|
l.push({ type: 6, index: r });
|
310
309
|
}
|
311
|
-
for (const
|
312
|
-
i.removeAttribute(
|
310
|
+
for (const c of a)
|
311
|
+
i.removeAttribute(c);
|
313
312
|
}
|
314
|
-
if (
|
315
|
-
const
|
316
|
-
if (
|
317
|
-
i.textContent =
|
318
|
-
for (let
|
319
|
-
i.append(
|
320
|
-
i.append(c
|
313
|
+
if (rt.test(i.tagName)) {
|
314
|
+
const a = i.textContent.split(v), c = a.length - 1;
|
315
|
+
if (c > 0) {
|
316
|
+
i.textContent = m ? m.emptyScript : "";
|
317
|
+
for (let p = 0; p < c; p++)
|
318
|
+
i.append(a[p], b()), A.nextNode(), l.push({ type: 2, index: ++r });
|
319
|
+
i.append(a[c], b());
|
321
320
|
}
|
322
321
|
}
|
323
322
|
} else if (i.nodeType === 8)
|
324
|
-
if (i.data ===
|
323
|
+
if (i.data === nt)
|
325
324
|
l.push({ type: 2, index: r });
|
326
325
|
else {
|
327
|
-
let
|
328
|
-
for (; (
|
329
|
-
l.push({ type: 7, index: r }),
|
326
|
+
let a = -1;
|
327
|
+
for (; (a = i.data.indexOf(v, a + 1)) !== -1; )
|
328
|
+
l.push({ type: 7, index: r }), a += v.length - 1;
|
330
329
|
}
|
331
330
|
r++;
|
332
331
|
}
|
333
332
|
}
|
334
333
|
static createElement(t, e) {
|
335
|
-
const s =
|
334
|
+
const s = y.createElement("template");
|
336
335
|
return s.innerHTML = t, s;
|
337
336
|
}
|
338
337
|
}
|
339
338
|
function E(n, t, e = n, s) {
|
340
|
-
var i, r, o,
|
339
|
+
var i, r, o, d;
|
341
340
|
if (t === g)
|
342
341
|
return t;
|
343
342
|
let l = s !== void 0 ? (i = e._$Co) === null || i === void 0 ? void 0 : i[s] : e._$Cl;
|
344
343
|
const h = C(t) ? void 0 : t._$litDirective$;
|
345
|
-
return (l == null ? void 0 : l.constructor) !== h && ((r = l == null ? void 0 : l._$AO) === null || r === void 0 || r.call(l, !1), h === void 0 ? l = void 0 : (l = new h(n), l._$AT(n, e, s)), s !== void 0 ? ((o = (
|
344
|
+
return (l == null ? void 0 : l.constructor) !== h && ((r = l == null ? void 0 : l._$AO) === null || r === void 0 || r.call(l, !1), h === void 0 ? l = void 0 : (l = new h(n), l._$AT(n, e, s)), s !== void 0 ? ((o = (d = e)._$Co) !== null && o !== void 0 ? o : d._$Co = [])[s] = l : e._$Cl = l), l !== void 0 && (t = E(n, l._$AS(n, t.values), l, s)), t;
|
346
345
|
}
|
347
|
-
class
|
346
|
+
class $t {
|
348
347
|
constructor(t, e) {
|
349
|
-
this.
|
348
|
+
this.u = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
|
350
349
|
}
|
351
350
|
get parentNode() {
|
352
351
|
return this._$AM.parentNode;
|
@@ -354,39 +353,39 @@ class At {
|
|
354
353
|
get _$AU() {
|
355
354
|
return this._$AM._$AU;
|
356
355
|
}
|
357
|
-
|
356
|
+
v(t) {
|
358
357
|
var e;
|
359
|
-
const { el: { content: s }, parts: i } = this._$AD, r = ((e = t == null ? void 0 : t.creationScope) !== null && e !== void 0 ? e :
|
360
|
-
|
361
|
-
let o =
|
358
|
+
const { el: { content: s }, parts: i } = this._$AD, r = ((e = t == null ? void 0 : t.creationScope) !== null && e !== void 0 ? e : y).importNode(s, !0);
|
359
|
+
A.currentNode = r;
|
360
|
+
let o = A.nextNode(), d = 0, l = 0, h = i[0];
|
362
361
|
for (; h !== void 0; ) {
|
363
|
-
if (
|
364
|
-
let
|
365
|
-
h.type === 2 ?
|
362
|
+
if (d === h.index) {
|
363
|
+
let $;
|
364
|
+
h.type === 2 ? $ = new x(o, o.nextSibling, this, t) : h.type === 1 ? $ = new h.ctor(o, h.name, h.strings, this, t) : h.type === 6 && ($ = new mt(o, this, t)), this.u.push($), h = i[++l];
|
366
365
|
}
|
367
|
-
|
366
|
+
d !== (h == null ? void 0 : h.index) && (o = A.nextNode(), d++);
|
368
367
|
}
|
369
|
-
return
|
368
|
+
return r;
|
370
369
|
}
|
371
|
-
|
370
|
+
p(t) {
|
372
371
|
let e = 0;
|
373
|
-
for (const s of this.
|
372
|
+
for (const s of this.u)
|
374
373
|
s !== void 0 && (s.strings !== void 0 ? (s._$AI(t, s, e), e += s.strings.length - 2) : s._$AI(t[e])), e++;
|
375
374
|
}
|
376
375
|
}
|
377
376
|
class x {
|
378
377
|
constructor(t, e, s, i) {
|
379
378
|
var r;
|
380
|
-
this.type = 2, this._$AH = u, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = s, this.options = i, this._$
|
379
|
+
this.type = 2, this._$AH = u, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = s, this.options = i, this._$Cm = (r = i == null ? void 0 : i.isConnected) === null || r === void 0 || r;
|
381
380
|
}
|
382
381
|
get _$AU() {
|
383
382
|
var t, e;
|
384
|
-
return (e = (t = this._$AM) === null || t === void 0 ? void 0 : t._$AU) !== null && e !== void 0 ? e : this._$
|
383
|
+
return (e = (t = this._$AM) === null || t === void 0 ? void 0 : t._$AU) !== null && e !== void 0 ? e : this._$Cm;
|
385
384
|
}
|
386
385
|
get parentNode() {
|
387
386
|
let t = this._$AA.parentNode;
|
388
387
|
const e = this._$AM;
|
389
|
-
return e !== void 0 &&
|
388
|
+
return e !== void 0 && t.nodeType === 11 && (t = e.parentNode), t;
|
390
389
|
}
|
391
390
|
get startNode() {
|
392
391
|
return this._$AA;
|
@@ -395,37 +394,37 @@ class x {
|
|
395
394
|
return this._$AB;
|
396
395
|
}
|
397
396
|
_$AI(t, e = this) {
|
398
|
-
t = E(this, t, e), C(t) ? t === u || t == null || t === "" ? (this._$AH !== u && this._$AR(), this._$AH = u) : t !== this._$AH && t !== g && this.
|
397
|
+
t = E(this, t, e), C(t) ? t === u || t == null || t === "" ? (this._$AH !== u && this._$AR(), this._$AH = u) : t !== this._$AH && t !== g && this.g(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : ct(t) ? this.k(t) : this.g(t);
|
399
398
|
}
|
400
|
-
|
401
|
-
return this._$AA.parentNode.insertBefore(t,
|
399
|
+
O(t, e = this._$AB) {
|
400
|
+
return this._$AA.parentNode.insertBefore(t, e);
|
402
401
|
}
|
403
|
-
|
404
|
-
this._$AH !== t && (this._$AR(), this._$AH = this.
|
405
|
-
}
|
406
|
-
_(t) {
|
407
|
-
this._$AH !== u && C(this._$AH) ? this._$AA.nextSibling.data = t : this.$(A.createTextNode(t)), this._$AH = t;
|
402
|
+
T(t) {
|
403
|
+
this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
|
408
404
|
}
|
409
405
|
g(t) {
|
406
|
+
this._$AH !== u && C(this._$AH) ? this._$AA.nextSibling.data = t : this.T(y.createTextNode(t)), this._$AH = t;
|
407
|
+
}
|
408
|
+
$(t) {
|
410
409
|
var e;
|
411
|
-
const { values: s, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = w.createElement(
|
410
|
+
const { values: s, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = w.createElement(i.h, this.options)), i);
|
412
411
|
if (((e = this._$AH) === null || e === void 0 ? void 0 : e._$AD) === r)
|
413
|
-
this._$AH.
|
412
|
+
this._$AH.p(s);
|
414
413
|
else {
|
415
|
-
const o = new
|
416
|
-
o.
|
414
|
+
const o = new $t(r, this), d = o.v(this.options);
|
415
|
+
o.p(s), this.T(d), this._$AH = o;
|
417
416
|
}
|
418
417
|
}
|
419
418
|
_$AC(t) {
|
420
|
-
let e =
|
421
|
-
return e === void 0 &&
|
419
|
+
let e = Y.get(t.strings);
|
420
|
+
return e === void 0 && Y.set(t.strings, e = new w(t)), e;
|
422
421
|
}
|
423
|
-
|
424
|
-
|
422
|
+
k(t) {
|
423
|
+
ot(this._$AH) || (this._$AH = [], this._$AR());
|
425
424
|
const e = this._$AH;
|
426
425
|
let s, i = 0;
|
427
426
|
for (const r of t)
|
428
|
-
i === e.length ? e.push(s = new x(this.
|
427
|
+
i === e.length ? e.push(s = new x(this.O(b()), this.O(b()), this, this.options)) : s = e[i], s._$AI(r), i++;
|
429
428
|
i < e.length && (this._$AR(s && s._$AB.nextSibling, i), e.length = i);
|
430
429
|
}
|
431
430
|
_$AR(t = this._$AA.nextSibling, e) {
|
@@ -437,10 +436,10 @@ class x {
|
|
437
436
|
}
|
438
437
|
setConnected(t) {
|
439
438
|
var e;
|
440
|
-
this._$AM === void 0 && (this._$
|
439
|
+
this._$AM === void 0 && (this._$Cm = t, (e = this._$AP) === null || e === void 0 || e.call(this, t));
|
441
440
|
}
|
442
441
|
}
|
443
|
-
class
|
442
|
+
class R {
|
444
443
|
constructor(t, e, s, i, r) {
|
445
444
|
this.type = 1, this._$AH = u, this._$AN = void 0, this.element = t, this.name = e, this._$AM = i, this.options = r, s.length > 2 || s[0] !== "" || s[1] !== "" ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = u;
|
446
445
|
}
|
@@ -456,10 +455,10 @@ class O {
|
|
456
455
|
if (r === void 0)
|
457
456
|
t = E(this, t, e, 0), o = !C(t) || t !== this._$AH && t !== g, o && (this._$AH = t);
|
458
457
|
else {
|
459
|
-
const
|
458
|
+
const d = t;
|
460
459
|
let l, h;
|
461
460
|
for (t = r[0], l = 0; l < r.length - 1; l++)
|
462
|
-
h = E(this,
|
461
|
+
h = E(this, d[s + l], e, l), h === g && (h = this._$AH[l]), o || (o = !C(h) || h !== this._$AH[l]), h === u ? t = u : t !== u && (t += (h ?? "") + r[l + 1]), this._$AH[l] = h;
|
463
462
|
}
|
464
463
|
o && !i && this.j(t);
|
465
464
|
}
|
@@ -467,7 +466,7 @@ class O {
|
|
467
466
|
t === u ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
|
468
467
|
}
|
469
468
|
}
|
470
|
-
class
|
469
|
+
class vt extends R {
|
471
470
|
constructor() {
|
472
471
|
super(...arguments), this.type = 3;
|
473
472
|
}
|
@@ -475,16 +474,16 @@ class mt extends O {
|
|
475
474
|
this.element[this.name] = t === u ? void 0 : t;
|
476
475
|
}
|
477
476
|
}
|
478
|
-
const
|
479
|
-
class
|
477
|
+
const _t = m ? m.emptyScript : "";
|
478
|
+
class ft extends R {
|
480
479
|
constructor() {
|
481
480
|
super(...arguments), this.type = 4;
|
482
481
|
}
|
483
482
|
j(t) {
|
484
|
-
t && t !== u ? this.element.setAttribute(this.name,
|
483
|
+
t && t !== u ? this.element.setAttribute(this.name, _t) : this.element.removeAttribute(this.name);
|
485
484
|
}
|
486
485
|
}
|
487
|
-
class
|
486
|
+
class At extends R {
|
488
487
|
constructor(t, e, s, i, r) {
|
489
488
|
super(t, e, s, i, r), this.type = 5;
|
490
489
|
}
|
@@ -500,7 +499,7 @@ class Et extends O {
|
|
500
499
|
typeof this._$AH == "function" ? this._$AH.call((s = (e = this.options) === null || e === void 0 ? void 0 : e.host) !== null && s !== void 0 ? s : this.element, t) : this._$AH.handleEvent(t);
|
501
500
|
}
|
502
501
|
}
|
503
|
-
class
|
502
|
+
class mt {
|
504
503
|
constructor(t, e, s) {
|
505
504
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = s;
|
506
505
|
}
|
@@ -511,15 +510,15 @@ class St {
|
|
511
510
|
E(this, t);
|
512
511
|
}
|
513
512
|
}
|
514
|
-
const
|
515
|
-
|
516
|
-
const
|
513
|
+
const tt = N.litHtmlPolyfillSupport;
|
514
|
+
tt == null || tt(w, x), ((L = N.litHtmlVersions) !== null && L !== void 0 ? L : N.litHtmlVersions = []).push("2.5.0");
|
515
|
+
const yt = (n, t, e) => {
|
517
516
|
var s, i;
|
518
517
|
const r = (s = e == null ? void 0 : e.renderBefore) !== null && s !== void 0 ? s : t;
|
519
518
|
let o = r._$litPart$;
|
520
519
|
if (o === void 0) {
|
521
|
-
const
|
522
|
-
r._$litPart$ = o = new x(t.insertBefore(b(),
|
520
|
+
const d = (i = e == null ? void 0 : e.renderBefore) !== null && i !== void 0 ? i : null;
|
521
|
+
r._$litPart$ = o = new x(t.insertBefore(b(), d), d, void 0, e ?? {});
|
523
522
|
}
|
524
523
|
return o._$AI(n), o;
|
525
524
|
};
|
@@ -528,8 +527,8 @@ const bt = (n, t, e) => {
|
|
528
527
|
* Copyright 2017 Google LLC
|
529
528
|
* SPDX-License-Identifier: BSD-3-Clause
|
530
529
|
*/
|
531
|
-
var j,
|
532
|
-
class
|
530
|
+
var j, z;
|
531
|
+
class O extends f {
|
533
532
|
constructor() {
|
534
533
|
super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
|
535
534
|
}
|
@@ -540,7 +539,7 @@ class H extends m {
|
|
540
539
|
}
|
541
540
|
update(t) {
|
542
541
|
const e = this.render();
|
543
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do =
|
542
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = yt(e, this.renderRoot, this.renderOptions);
|
544
543
|
}
|
545
544
|
connectedCallback() {
|
546
545
|
var t;
|
@@ -554,16 +553,16 @@ class H extends m {
|
|
554
553
|
return g;
|
555
554
|
}
|
556
555
|
}
|
557
|
-
|
558
|
-
const
|
559
|
-
|
560
|
-
((
|
556
|
+
O.finalized = !0, O._$litElement$ = !0, (j = globalThis.litElementHydrateSupport) === null || j === void 0 || j.call(globalThis, { LitElement: O });
|
557
|
+
const et = globalThis.litElementPolyfillSupport;
|
558
|
+
et == null || et({ LitElement: O });
|
559
|
+
((z = globalThis.litElementVersions) !== null && z !== void 0 ? z : globalThis.litElementVersions = []).push("3.2.2");
|
561
560
|
/**
|
562
561
|
* @license
|
563
562
|
* Copyright 2017 Google LLC
|
564
563
|
* SPDX-License-Identifier: BSD-3-Clause
|
565
564
|
*/
|
566
|
-
const
|
565
|
+
const xt = (n) => (t) => typeof t == "function" ? ((e, s) => (customElements.define(e, s), s))(n, t) : ((e, s) => {
|
567
566
|
const { kind: i, elements: r } = s;
|
568
567
|
return { kind: i, elements: r, finisher(o) {
|
569
568
|
customElements.define(e, o);
|
@@ -574,12 +573,12 @@ const Nt = (n) => (t) => typeof t == "function" ? ((e, s) => (customElements.def
|
|
574
573
|
* Copyright 2017 Google LLC
|
575
574
|
* SPDX-License-Identifier: BSD-3-Clause
|
576
575
|
*/
|
577
|
-
const
|
576
|
+
const gt = ({ finisher: n, descriptor: t }) => (e, s) => {
|
578
577
|
var i;
|
579
578
|
if (s === void 0) {
|
580
579
|
const r = (i = e.originalKey) !== null && i !== void 0 ? i : e.key, o = t != null ? { kind: "method", placement: "prototype", key: r, descriptor: t(e.key) } : { ...e, key: r };
|
581
|
-
return n != null && (o.finisher = function(
|
582
|
-
n(
|
580
|
+
return n != null && (o.finisher = function(d) {
|
581
|
+
n(d, r);
|
583
582
|
}), o;
|
584
583
|
}
|
585
584
|
{
|
@@ -592,25 +591,25 @@ const Ct = ({ finisher: n, descriptor: t }) => (e, s) => {
|
|
592
591
|
* Copyright 2021 Google LLC
|
593
592
|
* SPDX-License-Identifier: BSD-3-Clause
|
594
593
|
*/
|
595
|
-
var
|
596
|
-
const
|
597
|
-
function
|
594
|
+
var B;
|
595
|
+
const Et = ((B = window.HTMLSlotElement) === null || B === void 0 ? void 0 : B.prototype.assignedElements) != null ? (n, t) => n.assignedElements(t) : (n, t) => n.assignedNodes(t).filter((e) => e.nodeType === Node.ELEMENT_NODE);
|
596
|
+
function Pt(n) {
|
598
597
|
const { slot: t, selector: e } = n ?? {};
|
599
|
-
return
|
598
|
+
return gt({ descriptor: (s) => ({ get() {
|
600
599
|
var i;
|
601
|
-
const r = "slot" + (t ? `[name=${t}]` : ":not([name])"), o = (i = this.renderRoot) === null || i === void 0 ? void 0 : i.querySelector(r),
|
602
|
-
return e ?
|
600
|
+
const r = "slot" + (t ? `[name=${t}]` : ":not([name])"), o = (i = this.renderRoot) === null || i === void 0 ? void 0 : i.querySelector(r), d = o != null ? Et(o, n) : [];
|
601
|
+
return e ? d.filter((l) => l.matches(e)) : d;
|
603
602
|
}, enumerable: !0, configurable: !0 }) });
|
604
603
|
}
|
605
604
|
export {
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
Pt as
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
605
|
+
yt as Z,
|
606
|
+
u as b,
|
607
|
+
xt as e,
|
608
|
+
bt as i,
|
609
|
+
Pt as l,
|
610
|
+
gt as o,
|
611
|
+
lt as r,
|
612
|
+
O as s,
|
613
|
+
g as x,
|
614
|
+
wt as y
|
616
615
|
};
|