@decidables/decidables-elements 0.3.4 → 0.3.5
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/CHANGELOG.md +8 -0
- package/lib/decidablesElements.esm.js +559 -249
- package/lib/decidablesElements.esm.js.map +1 -1
- package/lib/decidablesElements.esm.min.js +54 -47
- package/lib/decidablesElements.esm.min.js.map +1 -1
- package/lib/decidablesElements.umd.js +559 -249
- package/lib/decidablesElements.umd.js.map +1 -1
- package/lib/decidablesElements.umd.min.js +54 -47
- package/lib/decidablesElements.umd.min.js.map +1 -1
- package/package.json +5 -5
|
@@ -3,21 +3,21 @@
|
|
|
3
3
|
* Copyright 2019 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
5
|
*/
|
|
6
|
-
const t$
|
|
7
|
-
e$
|
|
8
|
-
s$
|
|
9
|
-
n$
|
|
10
|
-
let o$
|
|
6
|
+
const t$3 = window,
|
|
7
|
+
e$5 = t$3.ShadowRoot && (void 0 === t$3.ShadyCSS || t$3.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype,
|
|
8
|
+
s$6 = Symbol(),
|
|
9
|
+
n$6 = new WeakMap();
|
|
10
|
+
let o$6 = class o {
|
|
11
11
|
constructor(t, e, n) {
|
|
12
|
-
if (this._$cssResult$ = !0, n !== s$
|
|
12
|
+
if (this._$cssResult$ = !0, n !== s$6) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
13
13
|
this.cssText = t, this.t = e;
|
|
14
14
|
}
|
|
15
15
|
get styleSheet() {
|
|
16
16
|
let t = this.o;
|
|
17
17
|
const s = this.t;
|
|
18
|
-
if (e$
|
|
18
|
+
if (e$5 && void 0 === t) {
|
|
19
19
|
const e = void 0 !== s && 1 === s.length;
|
|
20
|
-
e && (t = n$
|
|
20
|
+
e && (t = n$6.get(s)), void 0 === t && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), e && n$6.set(s, t));
|
|
21
21
|
}
|
|
22
22
|
return t;
|
|
23
23
|
}
|
|
@@ -25,18 +25,18 @@ let o$5 = class o {
|
|
|
25
25
|
return this.cssText;
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
|
-
const r$
|
|
29
|
-
S$
|
|
30
|
-
e$
|
|
28
|
+
const r$5 = t => new o$6("string" == typeof t ? t : t + "", void 0, s$6),
|
|
29
|
+
S$3 = (s, n) => {
|
|
30
|
+
e$5 ? s.adoptedStyleSheets = n.map(t => t instanceof CSSStyleSheet ? t : t.styleSheet) : n.forEach(e => {
|
|
31
31
|
const n = document.createElement("style"),
|
|
32
|
-
o = t$
|
|
32
|
+
o = t$3.litNonce;
|
|
33
33
|
void 0 !== o && n.setAttribute("nonce", o), n.textContent = e.cssText, s.appendChild(n);
|
|
34
34
|
});
|
|
35
35
|
},
|
|
36
|
-
c$
|
|
36
|
+
c$2 = e$5 ? t => t : t => t instanceof CSSStyleSheet ? (t => {
|
|
37
37
|
let e = "";
|
|
38
38
|
for (const s of t.cssRules) e += s.cssText;
|
|
39
|
-
return r$
|
|
39
|
+
return r$5(e);
|
|
40
40
|
})(t) : t;
|
|
41
41
|
|
|
42
42
|
/**
|
|
@@ -44,16 +44,16 @@ const r$4 = t => new o$5("string" == typeof t ? t : t + "", void 0, s$5),
|
|
|
44
44
|
* Copyright 2017 Google LLC
|
|
45
45
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
46
46
|
*/
|
|
47
|
-
var s$
|
|
48
|
-
const e$
|
|
49
|
-
r$
|
|
50
|
-
h$
|
|
51
|
-
o$
|
|
52
|
-
n$
|
|
47
|
+
var s$5;
|
|
48
|
+
const e$4 = window,
|
|
49
|
+
r$4 = e$4.trustedTypes,
|
|
50
|
+
h$3 = r$4 ? r$4.emptyScript : "",
|
|
51
|
+
o$5 = e$4.reactiveElementPolyfillSupport,
|
|
52
|
+
n$5 = {
|
|
53
53
|
toAttribute(t, i) {
|
|
54
54
|
switch (i) {
|
|
55
55
|
case Boolean:
|
|
56
|
-
t = t ? h$
|
|
56
|
+
t = t ? h$3 : null;
|
|
57
57
|
break;
|
|
58
58
|
case Object:
|
|
59
59
|
case Array:
|
|
@@ -81,15 +81,15 @@ const e$3 = window,
|
|
|
81
81
|
return s;
|
|
82
82
|
}
|
|
83
83
|
},
|
|
84
|
-
a$
|
|
85
|
-
l$
|
|
84
|
+
a$3 = (t, i) => i !== t && (i == i || t == t),
|
|
85
|
+
l$5 = {
|
|
86
86
|
attribute: !0,
|
|
87
87
|
type: String,
|
|
88
|
-
converter: n$
|
|
88
|
+
converter: n$5,
|
|
89
89
|
reflect: !1,
|
|
90
|
-
hasChanged: a$
|
|
90
|
+
hasChanged: a$3
|
|
91
91
|
};
|
|
92
|
-
let d$
|
|
92
|
+
let d$2 = class d extends HTMLElement {
|
|
93
93
|
constructor() {
|
|
94
94
|
super(), this._$Ei = new Map(), this.isUpdatePending = !1, this.hasUpdated = !1, this._$El = null, this.u();
|
|
95
95
|
}
|
|
@@ -105,7 +105,7 @@ let d$1 = class d extends HTMLElement {
|
|
|
105
105
|
void 0 !== e && (this._$Ev.set(e, s), t.push(e));
|
|
106
106
|
}), t;
|
|
107
107
|
}
|
|
108
|
-
static createProperty(t, i = l$
|
|
108
|
+
static createProperty(t, i = l$5) {
|
|
109
109
|
if (i.state && (i.attribute = !1), this.finalize(), this.elementProperties.set(t, i), !i.noAccessor && !this.prototype.hasOwnProperty(t)) {
|
|
110
110
|
const s = "symbol" == typeof t ? Symbol() : "__" + t,
|
|
111
111
|
e = this.getPropertyDescriptor(t, s, i);
|
|
@@ -126,7 +126,7 @@ let d$1 = class d extends HTMLElement {
|
|
|
126
126
|
};
|
|
127
127
|
}
|
|
128
128
|
static getPropertyOptions(t) {
|
|
129
|
-
return this.elementProperties.get(t) || l$
|
|
129
|
+
return this.elementProperties.get(t) || l$5;
|
|
130
130
|
}
|
|
131
131
|
static finalize() {
|
|
132
132
|
if (this.hasOwnProperty("finalized")) return !1;
|
|
@@ -143,8 +143,8 @@ let d$1 = class d extends HTMLElement {
|
|
|
143
143
|
const s = [];
|
|
144
144
|
if (Array.isArray(i)) {
|
|
145
145
|
const e = new Set(i.flat(1 / 0).reverse());
|
|
146
|
-
for (const i of e) s.unshift(c$
|
|
147
|
-
} else void 0 !== i && s.push(c$
|
|
146
|
+
for (const i of e) s.unshift(c$2(i));
|
|
147
|
+
} else void 0 !== i && s.push(c$2(i));
|
|
148
148
|
return s;
|
|
149
149
|
}
|
|
150
150
|
static _$Ep(t, i) {
|
|
@@ -171,7 +171,7 @@ let d$1 = class d extends HTMLElement {
|
|
|
171
171
|
createRenderRoot() {
|
|
172
172
|
var t;
|
|
173
173
|
const s = null !== (t = this.shadowRoot) && void 0 !== t ? t : this.attachShadow(this.constructor.shadowRootOptions);
|
|
174
|
-
return S$
|
|
174
|
+
return S$3(s, this.constructor.elementStyles), s;
|
|
175
175
|
}
|
|
176
176
|
connectedCallback() {
|
|
177
177
|
var t;
|
|
@@ -191,11 +191,11 @@ let d$1 = class d extends HTMLElement {
|
|
|
191
191
|
attributeChangedCallback(t, i, s) {
|
|
192
192
|
this._$AK(t, s);
|
|
193
193
|
}
|
|
194
|
-
_$EO(t, i, s = l$
|
|
194
|
+
_$EO(t, i, s = l$5) {
|
|
195
195
|
var e;
|
|
196
196
|
const r = this.constructor._$Ep(t, s);
|
|
197
197
|
if (void 0 !== r && !0 === s.reflect) {
|
|
198
|
-
const h = (void 0 !== (null === (e = s.converter) || void 0 === e ? void 0 : e.toAttribute) ? s.converter : n$
|
|
198
|
+
const h = (void 0 !== (null === (e = s.converter) || void 0 === e ? void 0 : e.toAttribute) ? s.converter : n$5).toAttribute(i, s.type);
|
|
199
199
|
this._$El = t, null == h ? this.removeAttribute(r) : this.setAttribute(r, h), this._$El = null;
|
|
200
200
|
}
|
|
201
201
|
}
|
|
@@ -207,13 +207,13 @@ let d$1 = class d extends HTMLElement {
|
|
|
207
207
|
const t = e.getPropertyOptions(r),
|
|
208
208
|
h = "function" == typeof t.converter ? {
|
|
209
209
|
fromAttribute: t.converter
|
|
210
|
-
} : void 0 !== (null === (s = t.converter) || void 0 === s ? void 0 : s.fromAttribute) ? t.converter : n$
|
|
210
|
+
} : void 0 !== (null === (s = t.converter) || void 0 === s ? void 0 : s.fromAttribute) ? t.converter : n$5;
|
|
211
211
|
this._$El = r, this[r] = h.fromAttribute(i, t.type), this._$El = null;
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
214
|
requestUpdate(t, i, s) {
|
|
215
215
|
let e = !0;
|
|
216
|
-
void 0 !== t && (((s = s || this.constructor.getPropertyOptions(t)).hasChanged || a$
|
|
216
|
+
void 0 !== t && (((s = s || this.constructor.getPropertyOptions(t)).hasChanged || a$3)(this[t], i) ? (this._$AL.has(t) || this._$AL.set(t, i), !0 === s.reflect && this._$El !== t && (void 0 === this._$EC && (this._$EC = new Map()), this._$EC.set(t, s))) : e = !1), !this.isUpdatePending && e && (this._$E_ = this._$Ej());
|
|
217
217
|
}
|
|
218
218
|
async _$Ej() {
|
|
219
219
|
this.isUpdatePending = !0;
|
|
@@ -270,72 +270,67 @@ let d$1 = class d extends HTMLElement {
|
|
|
270
270
|
updated(t) {}
|
|
271
271
|
firstUpdated(t) {}
|
|
272
272
|
};
|
|
273
|
-
d$
|
|
273
|
+
d$2.finalized = !0, d$2.elementProperties = new Map(), d$2.elementStyles = [], d$2.shadowRootOptions = {
|
|
274
274
|
mode: "open"
|
|
275
|
-
}, null == o$
|
|
276
|
-
ReactiveElement: d$
|
|
277
|
-
}), (null !== (s$
|
|
275
|
+
}, null == o$5 || o$5({
|
|
276
|
+
ReactiveElement: d$2
|
|
277
|
+
}), (null !== (s$5 = e$4.reactiveElementVersions) && void 0 !== s$5 ? s$5 : e$4.reactiveElementVersions = []).push("1.6.1");
|
|
278
278
|
|
|
279
279
|
/**
|
|
280
280
|
* @license
|
|
281
281
|
* Copyright 2017 Google LLC
|
|
282
282
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
283
283
|
*/
|
|
284
|
-
var t$
|
|
285
|
-
const i$
|
|
286
|
-
s$
|
|
287
|
-
e$
|
|
284
|
+
var t$2;
|
|
285
|
+
const i$2 = window,
|
|
286
|
+
s$4 = i$2.trustedTypes,
|
|
287
|
+
e$3 = s$4 ? s$4.createPolicy("lit-html", {
|
|
288
288
|
createHTML: t => t
|
|
289
289
|
}) : void 0,
|
|
290
|
-
o$
|
|
291
|
-
n$
|
|
292
|
-
l$
|
|
293
|
-
h$
|
|
294
|
-
r$
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
c = Array.isArray,
|
|
298
|
-
v = t => c(t) || "function" == typeof (null == t ? void 0 : t[Symbol.iterator]),
|
|
299
|
-
a$
|
|
300
|
-
f = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
301
|
-
_ = /-->/g,
|
|
302
|
-
m = />/g,
|
|
303
|
-
p = RegExp(`>|${a$
|
|
304
|
-
g = /'/g,
|
|
305
|
-
|
|
306
|
-
y = /^(?:script|style|textarea|title)$/i,
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
const c = d + (t[s] || "<?>") + (2 === i ? "</svg>" : "");
|
|
335
|
-
if (!Array.isArray(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
336
|
-
return [void 0 !== e$2 ? e$2.createHTML(c) : c, l];
|
|
337
|
-
};
|
|
338
|
-
class V {
|
|
290
|
+
o$4 = "$lit$",
|
|
291
|
+
n$4 = `lit$${(Math.random() + "").slice(9)}$`,
|
|
292
|
+
l$4 = "?" + n$4,
|
|
293
|
+
h$2 = `<${l$4}>`,
|
|
294
|
+
r$3 = document,
|
|
295
|
+
u$1 = () => r$3.createComment(""),
|
|
296
|
+
d$1 = t => null === t || "object" != typeof t && "function" != typeof t,
|
|
297
|
+
c$1 = Array.isArray,
|
|
298
|
+
v$1 = t => c$1(t) || "function" == typeof (null == t ? void 0 : t[Symbol.iterator]),
|
|
299
|
+
a$2 = "[ \t\n\f\r]",
|
|
300
|
+
f$1 = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
301
|
+
_$1 = /-->/g,
|
|
302
|
+
m$1 = />/g,
|
|
303
|
+
p$1 = RegExp(`>|${a$2}(?:([^\\s"'>=/]+)(${a$2}*=${a$2}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
304
|
+
g$1 = /'/g,
|
|
305
|
+
$$1 = /"/g,
|
|
306
|
+
y$1 = /^(?:script|style|textarea|title)$/i,
|
|
307
|
+
T$1 = Symbol.for("lit-noChange"),
|
|
308
|
+
A$1 = Symbol.for("lit-nothing"),
|
|
309
|
+
E$1 = new WeakMap(),
|
|
310
|
+
C$1 = r$3.createTreeWalker(r$3, 129, null, !1);
|
|
311
|
+
function P$1(t, i) {
|
|
312
|
+
if (!Array.isArray(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
313
|
+
return void 0 !== e$3 ? e$3.createHTML(i) : i;
|
|
314
|
+
}
|
|
315
|
+
const V$1 = (t, i) => {
|
|
316
|
+
const s = t.length - 1,
|
|
317
|
+
e = [];
|
|
318
|
+
let l,
|
|
319
|
+
r = 2 === i ? "<svg>" : "",
|
|
320
|
+
u = f$1;
|
|
321
|
+
for (let i = 0; i < s; i++) {
|
|
322
|
+
const s = t[i];
|
|
323
|
+
let d,
|
|
324
|
+
c,
|
|
325
|
+
v = -1,
|
|
326
|
+
a = 0;
|
|
327
|
+
for (; a < s.length && (u.lastIndex = a, c = u.exec(s), null !== c);) a = u.lastIndex, u === f$1 ? "!--" === c[1] ? u = _$1 : void 0 !== c[1] ? u = m$1 : void 0 !== c[2] ? (y$1.test(c[2]) && (l = RegExp("</" + c[2], "g")), u = p$1) : void 0 !== c[3] && (u = p$1) : u === p$1 ? ">" === c[0] ? (u = null != l ? l : f$1, v = -1) : void 0 === c[1] ? v = -2 : (v = u.lastIndex - c[2].length, d = c[1], u = void 0 === c[3] ? p$1 : '"' === c[3] ? $$1 : g$1) : u === $$1 || u === g$1 ? u = p$1 : u === _$1 || u === m$1 ? u = f$1 : (u = p$1, l = void 0);
|
|
328
|
+
const w = u === p$1 && t[i + 1].startsWith("/>") ? " " : "";
|
|
329
|
+
r += u === f$1 ? s + h$2 : v >= 0 ? (e.push(d), s.slice(0, v) + o$4 + s.slice(v) + n$4 + w) : s + n$4 + (-2 === v ? (e.push(void 0), i) : w);
|
|
330
|
+
}
|
|
331
|
+
return [P$1(t, r + (t[s] || "<?>") + (2 === i ? "</svg>" : "")), e];
|
|
332
|
+
};
|
|
333
|
+
let N$1 = class N {
|
|
339
334
|
constructor({
|
|
340
335
|
strings: t,
|
|
341
336
|
_$litType$: i
|
|
@@ -343,30 +338,30 @@ class V {
|
|
|
343
338
|
let h;
|
|
344
339
|
this.parts = [];
|
|
345
340
|
let r = 0,
|
|
346
|
-
|
|
341
|
+
d = 0;
|
|
347
342
|
const c = t.length - 1,
|
|
348
343
|
v = this.parts,
|
|
349
|
-
[a, f] =
|
|
350
|
-
if (this.el =
|
|
344
|
+
[a, f] = V$1(t, i);
|
|
345
|
+
if (this.el = N.createElement(a, e), C$1.currentNode = this.el.content, 2 === i) {
|
|
351
346
|
const t = this.el.content,
|
|
352
347
|
i = t.firstChild;
|
|
353
348
|
i.remove(), t.append(...i.childNodes);
|
|
354
349
|
}
|
|
355
|
-
for (; null !== (h = C.nextNode()) && v.length < c;) {
|
|
350
|
+
for (; null !== (h = C$1.nextNode()) && v.length < c;) {
|
|
356
351
|
if (1 === h.nodeType) {
|
|
357
352
|
if (h.hasAttributes()) {
|
|
358
353
|
const t = [];
|
|
359
|
-
for (const i of h.getAttributeNames()) if (i.endsWith(o$
|
|
360
|
-
const s = f[
|
|
354
|
+
for (const i of h.getAttributeNames()) if (i.endsWith(o$4) || i.startsWith(n$4)) {
|
|
355
|
+
const s = f[d++];
|
|
361
356
|
if (t.push(i), void 0 !== s) {
|
|
362
|
-
const t = h.getAttribute(s.toLowerCase() + o$
|
|
357
|
+
const t = h.getAttribute(s.toLowerCase() + o$4).split(n$4),
|
|
363
358
|
i = /([.?@])?(.*)/.exec(s);
|
|
364
359
|
v.push({
|
|
365
360
|
type: 1,
|
|
366
361
|
index: r,
|
|
367
362
|
name: i[2],
|
|
368
363
|
strings: t,
|
|
369
|
-
ctor: "." === i[1] ?
|
|
364
|
+
ctor: "." === i[1] ? H$1 : "?" === i[1] ? L$1 : "@" === i[1] ? z$1 : k$1
|
|
370
365
|
});
|
|
371
366
|
} else v.push({
|
|
372
367
|
type: 6,
|
|
@@ -375,46 +370,46 @@ class V {
|
|
|
375
370
|
}
|
|
376
371
|
for (const i of t) h.removeAttribute(i);
|
|
377
372
|
}
|
|
378
|
-
if (y.test(h.tagName)) {
|
|
379
|
-
const t = h.textContent.split(n$
|
|
373
|
+
if (y$1.test(h.tagName)) {
|
|
374
|
+
const t = h.textContent.split(n$4),
|
|
380
375
|
i = t.length - 1;
|
|
381
376
|
if (i > 0) {
|
|
382
|
-
h.textContent = s$
|
|
383
|
-
for (let s = 0; s < i; s++) h.append(t[s],
|
|
377
|
+
h.textContent = s$4 ? s$4.emptyScript : "";
|
|
378
|
+
for (let s = 0; s < i; s++) h.append(t[s], u$1()), C$1.nextNode(), v.push({
|
|
384
379
|
type: 2,
|
|
385
380
|
index: ++r
|
|
386
381
|
});
|
|
387
|
-
h.append(t[i],
|
|
382
|
+
h.append(t[i], u$1());
|
|
388
383
|
}
|
|
389
384
|
}
|
|
390
|
-
} else if (8 === h.nodeType) if (h.data === l$
|
|
385
|
+
} else if (8 === h.nodeType) if (h.data === l$4) v.push({
|
|
391
386
|
type: 2,
|
|
392
387
|
index: r
|
|
393
388
|
});else {
|
|
394
389
|
let t = -1;
|
|
395
|
-
for (; -1 !== (t = h.data.indexOf(n$
|
|
390
|
+
for (; -1 !== (t = h.data.indexOf(n$4, t + 1));) v.push({
|
|
396
391
|
type: 7,
|
|
397
392
|
index: r
|
|
398
|
-
}), t += n$
|
|
393
|
+
}), t += n$4.length - 1;
|
|
399
394
|
}
|
|
400
395
|
r++;
|
|
401
396
|
}
|
|
402
397
|
}
|
|
403
398
|
static createElement(t, i) {
|
|
404
|
-
const s = r$
|
|
399
|
+
const s = r$3.createElement("template");
|
|
405
400
|
return s.innerHTML = t, s;
|
|
406
401
|
}
|
|
407
|
-
}
|
|
408
|
-
function
|
|
402
|
+
};
|
|
403
|
+
function S$2(t, i, s = t, e) {
|
|
409
404
|
var o, n, l, h;
|
|
410
|
-
if (i === T) return i;
|
|
405
|
+
if (i === T$1) return i;
|
|
411
406
|
let r = void 0 !== e ? null === (o = s._$Co) || void 0 === o ? void 0 : o[e] : s._$Cl;
|
|
412
|
-
const
|
|
413
|
-
return (null == r ? void 0 : r.constructor) !==
|
|
407
|
+
const u = d$1(i) ? void 0 : i._$litDirective$;
|
|
408
|
+
return (null == r ? void 0 : r.constructor) !== u && (null === (n = null == r ? void 0 : r._$AO) || void 0 === n || n.call(r, !1), void 0 === u ? r = void 0 : (r = new u(t), r._$AT(t, s, e)), void 0 !== e ? (null !== (l = (h = s)._$Co) && void 0 !== l ? l : h._$Co = [])[e] = r : s._$Cl = r), void 0 !== r && (i = S$2(t, r._$AS(t, i.values), r, e)), i;
|
|
414
409
|
}
|
|
415
|
-
let
|
|
410
|
+
let M$1 = class M {
|
|
416
411
|
constructor(t, i) {
|
|
417
|
-
this.
|
|
412
|
+
this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = i;
|
|
418
413
|
}
|
|
419
414
|
get parentNode() {
|
|
420
415
|
return this._$AM.parentNode;
|
|
@@ -422,7 +417,7 @@ let S$1 = class S {
|
|
|
422
417
|
get _$AU() {
|
|
423
418
|
return this._$AM._$AU;
|
|
424
419
|
}
|
|
425
|
-
|
|
420
|
+
u(t) {
|
|
426
421
|
var i;
|
|
427
422
|
const {
|
|
428
423
|
el: {
|
|
@@ -430,34 +425,34 @@ let S$1 = class S {
|
|
|
430
425
|
},
|
|
431
426
|
parts: e
|
|
432
427
|
} = this._$AD,
|
|
433
|
-
o = (null !== (i = null == t ? void 0 : t.creationScope) && void 0 !== i ? i : r$
|
|
434
|
-
C.currentNode = o;
|
|
435
|
-
let n = C.nextNode(),
|
|
428
|
+
o = (null !== (i = null == t ? void 0 : t.creationScope) && void 0 !== i ? i : r$3).importNode(s, !0);
|
|
429
|
+
C$1.currentNode = o;
|
|
430
|
+
let n = C$1.nextNode(),
|
|
436
431
|
l = 0,
|
|
437
432
|
h = 0,
|
|
438
|
-
|
|
439
|
-
for (; void 0 !==
|
|
440
|
-
if (l ===
|
|
433
|
+
u = e[0];
|
|
434
|
+
for (; void 0 !== u;) {
|
|
435
|
+
if (l === u.index) {
|
|
441
436
|
let i;
|
|
442
|
-
2 ===
|
|
437
|
+
2 === u.type ? i = new R$1(n, n.nextSibling, this, t) : 1 === u.type ? i = new u.ctor(n, u.name, u.strings, this, t) : 6 === u.type && (i = new Z(n, this, t)), this._$AV.push(i), u = e[++h];
|
|
443
438
|
}
|
|
444
|
-
l !== (null ==
|
|
439
|
+
l !== (null == u ? void 0 : u.index) && (n = C$1.nextNode(), l++);
|
|
445
440
|
}
|
|
446
|
-
return o;
|
|
441
|
+
return C$1.currentNode = r$3, o;
|
|
447
442
|
}
|
|
448
|
-
|
|
443
|
+
v(t) {
|
|
449
444
|
let i = 0;
|
|
450
|
-
for (const s of this.
|
|
445
|
+
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++;
|
|
451
446
|
}
|
|
452
447
|
};
|
|
453
|
-
class
|
|
448
|
+
let R$1 = class R {
|
|
454
449
|
constructor(t, i, s, e) {
|
|
455
450
|
var o;
|
|
456
|
-
this.type = 2, this._$AH = A, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this._$
|
|
451
|
+
this.type = 2, this._$AH = A$1, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this._$Cp = null === (o = null == e ? void 0 : e.isConnected) || void 0 === o || o;
|
|
457
452
|
}
|
|
458
453
|
get _$AU() {
|
|
459
454
|
var t, i;
|
|
460
|
-
return null !== (i = null === (t = this._$AM) || void 0 === t ? void 0 : t._$AU) && void 0 !== i ? i : this._$
|
|
455
|
+
return null !== (i = null === (t = this._$AM) || void 0 === t ? void 0 : t._$AU) && void 0 !== i ? i : this._$Cp;
|
|
461
456
|
}
|
|
462
457
|
get parentNode() {
|
|
463
458
|
let t = this._$AA.parentNode;
|
|
@@ -471,40 +466,40 @@ class M {
|
|
|
471
466
|
return this._$AB;
|
|
472
467
|
}
|
|
473
468
|
_$AI(t, i = this) {
|
|
474
|
-
t =
|
|
469
|
+
t = S$2(this, t, i), d$1(t) ? t === A$1 || null == t || "" === t ? (this._$AH !== A$1 && this._$AR(), this._$AH = A$1) : t !== this._$AH && t !== T$1 && this._(t) : void 0 !== t._$litType$ ? this.g(t) : void 0 !== t.nodeType ? this.$(t) : v$1(t) ? this.T(t) : this._(t);
|
|
475
470
|
}
|
|
476
|
-
|
|
471
|
+
k(t) {
|
|
477
472
|
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
478
473
|
}
|
|
479
|
-
|
|
480
|
-
this._$AH !== t && (this._$AR(), this._$AH = this.
|
|
474
|
+
$(t) {
|
|
475
|
+
this._$AH !== t && (this._$AR(), this._$AH = this.k(t));
|
|
481
476
|
}
|
|
482
|
-
|
|
483
|
-
this._$AH !== A &&
|
|
477
|
+
_(t) {
|
|
478
|
+
this._$AH !== A$1 && d$1(this._$AH) ? this._$AA.nextSibling.data = t : this.$(r$3.createTextNode(t)), this._$AH = t;
|
|
484
479
|
}
|
|
485
|
-
|
|
480
|
+
g(t) {
|
|
486
481
|
var i;
|
|
487
482
|
const {
|
|
488
483
|
values: s,
|
|
489
484
|
_$litType$: e
|
|
490
485
|
} = t,
|
|
491
|
-
o = "number" == typeof e ? this._$AC(t) : (void 0 === e.el && (e.el =
|
|
492
|
-
if ((null === (i = this._$AH) || void 0 === i ? void 0 : i._$AD) === o) this._$AH.
|
|
493
|
-
const t = new
|
|
494
|
-
i = t.
|
|
495
|
-
t.
|
|
486
|
+
o = "number" == typeof e ? this._$AC(t) : (void 0 === e.el && (e.el = N$1.createElement(P$1(e.h, e.h[0]), this.options)), e);
|
|
487
|
+
if ((null === (i = this._$AH) || void 0 === i ? void 0 : i._$AD) === o) this._$AH.v(s);else {
|
|
488
|
+
const t = new M$1(o, this),
|
|
489
|
+
i = t.u(this.options);
|
|
490
|
+
t.v(s), this.$(i), this._$AH = t;
|
|
496
491
|
}
|
|
497
492
|
}
|
|
498
493
|
_$AC(t) {
|
|
499
|
-
let i = E.get(t.strings);
|
|
500
|
-
return void 0 === i && E.set(t.strings, i = new
|
|
494
|
+
let i = E$1.get(t.strings);
|
|
495
|
+
return void 0 === i && E$1.set(t.strings, i = new N$1(t)), i;
|
|
501
496
|
}
|
|
502
|
-
|
|
503
|
-
c(this._$AH) || (this._$AH = [], this._$AR());
|
|
497
|
+
T(t) {
|
|
498
|
+
c$1(this._$AH) || (this._$AH = [], this._$AR());
|
|
504
499
|
const i = this._$AH;
|
|
505
500
|
let s,
|
|
506
501
|
e = 0;
|
|
507
|
-
for (const o of t) e === i.length ? i.push(s = new
|
|
502
|
+
for (const o of t) e === i.length ? i.push(s = new R(this.k(u$1()), this.k(u$1()), this, this.options)) : s = i[e], s._$AI(o), e++;
|
|
508
503
|
e < i.length && (this._$AR(s && s._$AB.nextSibling, e), i.length = e);
|
|
509
504
|
}
|
|
510
505
|
_$AR(t = this._$AA.nextSibling, i) {
|
|
@@ -516,12 +511,12 @@ class M {
|
|
|
516
511
|
}
|
|
517
512
|
setConnected(t) {
|
|
518
513
|
var i;
|
|
519
|
-
void 0 === this._$AM && (this._$
|
|
514
|
+
void 0 === this._$AM && (this._$Cp = t, null === (i = this._$AP) || void 0 === i || i.call(this, t));
|
|
520
515
|
}
|
|
521
|
-
}
|
|
522
|
-
class
|
|
516
|
+
};
|
|
517
|
+
let k$1 = class k {
|
|
523
518
|
constructor(t, i, s, e, o) {
|
|
524
|
-
this.type = 1, this._$AH = A, this._$AN = void 0, this.element = t, this.name = i, this._$AM = e, this.options = o, s.length > 2 || "" !== s[0] || "" !== s[1] ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = A;
|
|
519
|
+
this.type = 1, this._$AH = A$1, this._$AN = void 0, this.element = t, this.name = i, this._$AM = e, this.options = o, s.length > 2 || "" !== s[0] || "" !== s[1] ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = A$1;
|
|
525
520
|
}
|
|
526
521
|
get tagName() {
|
|
527
522
|
return this.element.tagName;
|
|
@@ -532,52 +527,52 @@ class R {
|
|
|
532
527
|
_$AI(t, i = this, s, e) {
|
|
533
528
|
const o = this.strings;
|
|
534
529
|
let n = !1;
|
|
535
|
-
if (void 0 === o) t =
|
|
530
|
+
if (void 0 === o) t = S$2(this, t, i, 0), n = !d$1(t) || t !== this._$AH && t !== T$1, n && (this._$AH = t);else {
|
|
536
531
|
const e = t;
|
|
537
532
|
let l, h;
|
|
538
|
-
for (t = o[0], l = 0; l < o.length - 1; l++) h =
|
|
533
|
+
for (t = o[0], l = 0; l < o.length - 1; l++) h = S$2(this, e[s + l], i, l), h === T$1 && (h = this._$AH[l]), n || (n = !d$1(h) || h !== this._$AH[l]), h === A$1 ? t = A$1 : t !== A$1 && (t += (null != h ? h : "") + o[l + 1]), this._$AH[l] = h;
|
|
539
534
|
}
|
|
540
535
|
n && !e && this.j(t);
|
|
541
536
|
}
|
|
542
537
|
j(t) {
|
|
543
|
-
t === A ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, null != t ? t : "");
|
|
538
|
+
t === A$1 ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, null != t ? t : "");
|
|
544
539
|
}
|
|
545
|
-
}
|
|
546
|
-
class
|
|
540
|
+
};
|
|
541
|
+
let H$1 = class H extends k$1 {
|
|
547
542
|
constructor() {
|
|
548
543
|
super(...arguments), this.type = 3;
|
|
549
544
|
}
|
|
550
545
|
j(t) {
|
|
551
|
-
this.element[this.name] = t === A ? void 0 : t;
|
|
546
|
+
this.element[this.name] = t === A$1 ? void 0 : t;
|
|
552
547
|
}
|
|
553
|
-
}
|
|
554
|
-
const
|
|
555
|
-
class
|
|
548
|
+
};
|
|
549
|
+
const I$1 = s$4 ? s$4.emptyScript : "";
|
|
550
|
+
let L$1 = class L extends k$1 {
|
|
556
551
|
constructor() {
|
|
557
552
|
super(...arguments), this.type = 4;
|
|
558
553
|
}
|
|
559
554
|
j(t) {
|
|
560
|
-
t && t !== A ? this.element.setAttribute(this.name,
|
|
555
|
+
t && t !== A$1 ? this.element.setAttribute(this.name, I$1) : this.element.removeAttribute(this.name);
|
|
561
556
|
}
|
|
562
|
-
}
|
|
563
|
-
class
|
|
557
|
+
};
|
|
558
|
+
let z$1 = class z extends k$1 {
|
|
564
559
|
constructor(t, i, s, e, o) {
|
|
565
560
|
super(t, i, s, e, o), this.type = 5;
|
|
566
561
|
}
|
|
567
562
|
_$AI(t, i = this) {
|
|
568
563
|
var s;
|
|
569
|
-
if ((t = null !== (s =
|
|
564
|
+
if ((t = null !== (s = S$2(this, t, i, 0)) && void 0 !== s ? s : A$1) === T$1) return;
|
|
570
565
|
const e = this._$AH,
|
|
571
|
-
o = t === A && e !== A || t.capture !== e.capture || t.once !== e.once || t.passive !== e.passive,
|
|
572
|
-
n = t !== A && (e === A || o);
|
|
566
|
+
o = t === A$1 && e !== A$1 || t.capture !== e.capture || t.once !== e.once || t.passive !== e.passive,
|
|
567
|
+
n = t !== A$1 && (e === A$1 || o);
|
|
573
568
|
o && this.element.removeEventListener(this.name, this, e), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
574
569
|
}
|
|
575
570
|
handleEvent(t) {
|
|
576
571
|
var i, s;
|
|
577
572
|
"function" == typeof this._$AH ? this._$AH.call(null !== (s = null === (i = this.options) || void 0 === i ? void 0 : i.host) && void 0 !== s ? s : this.element, t) : this._$AH.handleEvent(t);
|
|
578
573
|
}
|
|
579
|
-
}
|
|
580
|
-
class
|
|
574
|
+
};
|
|
575
|
+
class Z {
|
|
581
576
|
constructor(t, i, s) {
|
|
582
577
|
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = i, this.options = s;
|
|
583
578
|
}
|
|
@@ -585,63 +580,53 @@ class z {
|
|
|
585
580
|
return this._$AM._$AU;
|
|
586
581
|
}
|
|
587
582
|
_$AI(t) {
|
|
588
|
-
|
|
583
|
+
S$2(this, t);
|
|
589
584
|
}
|
|
590
585
|
}
|
|
591
|
-
const
|
|
592
|
-
null ==
|
|
593
|
-
const B = (t, i, s) => {
|
|
594
|
-
var e, o;
|
|
595
|
-
const n = null !== (e = null == s ? void 0 : s.renderBefore) && void 0 !== e ? e : i;
|
|
596
|
-
let l = n._$litPart$;
|
|
597
|
-
if (void 0 === l) {
|
|
598
|
-
const t = null !== (o = null == s ? void 0 : s.renderBefore) && void 0 !== o ? o : null;
|
|
599
|
-
n._$litPart$ = l = new M(i.insertBefore(d(), t), t, void 0, null != s ? s : {});
|
|
600
|
-
}
|
|
601
|
-
return l._$AI(t), l;
|
|
602
|
-
};
|
|
586
|
+
const B$1 = i$2.litHtmlPolyfillSupport;
|
|
587
|
+
null == B$1 || B$1(N$1, R$1), (null !== (t$2 = i$2.litHtmlVersions) && void 0 !== t$2 ? t$2 : i$2.litHtmlVersions = []).push("2.8.0");
|
|
603
588
|
|
|
604
589
|
/**
|
|
605
590
|
* @license
|
|
606
591
|
* Copyright 2019 Google LLC
|
|
607
592
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
608
593
|
*/
|
|
609
|
-
const t = window.ShadowRoot && (void 0 === window.ShadyCSS || window.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype,
|
|
610
|
-
e$
|
|
611
|
-
n$
|
|
612
|
-
let s$
|
|
594
|
+
const t$1 = window.ShadowRoot && (void 0 === window.ShadyCSS || window.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype,
|
|
595
|
+
e$2 = Symbol(),
|
|
596
|
+
n$3 = new Map();
|
|
597
|
+
let s$3 = class s {
|
|
613
598
|
constructor(t, n) {
|
|
614
|
-
if (this._$cssResult$ = !0, n !== e$
|
|
599
|
+
if (this._$cssResult$ = !0, n !== e$2) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
615
600
|
this.cssText = t;
|
|
616
601
|
}
|
|
617
602
|
get styleSheet() {
|
|
618
|
-
let e = n$
|
|
619
|
-
return t && void 0 === e && (n$
|
|
603
|
+
let e = n$3.get(this.cssText);
|
|
604
|
+
return t$1 && void 0 === e && (n$3.set(this.cssText, e = new CSSStyleSheet()), e.replaceSync(this.cssText)), e;
|
|
620
605
|
}
|
|
621
606
|
toString() {
|
|
622
607
|
return this.cssText;
|
|
623
608
|
}
|
|
624
609
|
};
|
|
625
|
-
const o$
|
|
626
|
-
r$
|
|
610
|
+
const o$3 = t => new s$3("string" == typeof t ? t : t + "", e$2),
|
|
611
|
+
r$2 = (t, ...n) => {
|
|
627
612
|
const o = 1 === t.length ? t[0] : n.reduce((e, n, s) => e + (t => {
|
|
628
613
|
if (!0 === t._$cssResult$) return t.cssText;
|
|
629
614
|
if ("number" == typeof t) return t;
|
|
630
615
|
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.");
|
|
631
616
|
})(n) + t[s + 1], t[0]);
|
|
632
|
-
return new s$
|
|
617
|
+
return new s$3(o, e$2);
|
|
633
618
|
},
|
|
634
|
-
i = (e, n) => {
|
|
635
|
-
t ? e.adoptedStyleSheets = n.map(t => t instanceof CSSStyleSheet ? t : t.styleSheet) : n.forEach(t => {
|
|
619
|
+
i$1 = (e, n) => {
|
|
620
|
+
t$1 ? e.adoptedStyleSheets = n.map(t => t instanceof CSSStyleSheet ? t : t.styleSheet) : n.forEach(t => {
|
|
636
621
|
const n = document.createElement("style"),
|
|
637
622
|
s = window.litNonce;
|
|
638
623
|
void 0 !== s && n.setAttribute("nonce", s), n.textContent = t.cssText, e.appendChild(n);
|
|
639
624
|
});
|
|
640
625
|
},
|
|
641
|
-
S = t ? t => t : t => t instanceof CSSStyleSheet ? (t => {
|
|
626
|
+
S$1 = t$1 ? t => t : t => t instanceof CSSStyleSheet ? (t => {
|
|
642
627
|
let e = "";
|
|
643
628
|
for (const n of t.cssRules) e += n.cssText;
|
|
644
|
-
return o$
|
|
629
|
+
return o$3(e);
|
|
645
630
|
})(t) : t;
|
|
646
631
|
|
|
647
632
|
/**
|
|
@@ -649,15 +634,15 @@ const o$2 = t => new s$2("string" == typeof t ? t : t + "", e$1),
|
|
|
649
634
|
* Copyright 2017 Google LLC
|
|
650
635
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
651
636
|
*/
|
|
652
|
-
var s$
|
|
653
|
-
const e = window.trustedTypes,
|
|
654
|
-
r = e ? e.emptyScript : "",
|
|
655
|
-
h = window.reactiveElementPolyfillSupport,
|
|
656
|
-
o$
|
|
637
|
+
var s$2;
|
|
638
|
+
const e$1 = window.trustedTypes,
|
|
639
|
+
r$1 = e$1 ? e$1.emptyScript : "",
|
|
640
|
+
h$1 = window.reactiveElementPolyfillSupport,
|
|
641
|
+
o$2 = {
|
|
657
642
|
toAttribute(t, i) {
|
|
658
643
|
switch (i) {
|
|
659
644
|
case Boolean:
|
|
660
|
-
t = t ? r : null;
|
|
645
|
+
t = t ? r$1 : null;
|
|
661
646
|
break;
|
|
662
647
|
case Object:
|
|
663
648
|
case Array:
|
|
@@ -685,15 +670,15 @@ const e = window.trustedTypes,
|
|
|
685
670
|
return s;
|
|
686
671
|
}
|
|
687
672
|
},
|
|
688
|
-
n$
|
|
689
|
-
l$
|
|
673
|
+
n$2 = (t, i) => i !== t && (i == i || t == t),
|
|
674
|
+
l$3 = {
|
|
690
675
|
attribute: !0,
|
|
691
676
|
type: String,
|
|
692
|
-
converter: o$
|
|
677
|
+
converter: o$2,
|
|
693
678
|
reflect: !1,
|
|
694
|
-
hasChanged: n$
|
|
679
|
+
hasChanged: n$2
|
|
695
680
|
};
|
|
696
|
-
class a extends HTMLElement {
|
|
681
|
+
let a$1 = class a extends HTMLElement {
|
|
697
682
|
constructor() {
|
|
698
683
|
super(), this._$Et = new Map(), this.isUpdatePending = !1, this.hasUpdated = !1, this._$Ei = null, this.o();
|
|
699
684
|
}
|
|
@@ -709,7 +694,7 @@ class a extends HTMLElement {
|
|
|
709
694
|
void 0 !== e && (this._$Eu.set(e, s), t.push(e));
|
|
710
695
|
}), t;
|
|
711
696
|
}
|
|
712
|
-
static createProperty(t, i = l$
|
|
697
|
+
static createProperty(t, i = l$3) {
|
|
713
698
|
if (i.state && (i.attribute = !1), this.finalize(), this.elementProperties.set(t, i), !i.noAccessor && !this.prototype.hasOwnProperty(t)) {
|
|
714
699
|
const s = "symbol" == typeof t ? Symbol() : "__" + t,
|
|
715
700
|
e = this.getPropertyDescriptor(t, s, i);
|
|
@@ -730,7 +715,7 @@ class a extends HTMLElement {
|
|
|
730
715
|
};
|
|
731
716
|
}
|
|
732
717
|
static getPropertyOptions(t) {
|
|
733
|
-
return this.elementProperties.get(t) || l$
|
|
718
|
+
return this.elementProperties.get(t) || l$3;
|
|
734
719
|
}
|
|
735
720
|
static finalize() {
|
|
736
721
|
if (this.hasOwnProperty("finalized")) return !1;
|
|
@@ -747,8 +732,8 @@ class a extends HTMLElement {
|
|
|
747
732
|
const s = [];
|
|
748
733
|
if (Array.isArray(i)) {
|
|
749
734
|
const e = new Set(i.flat(1 / 0).reverse());
|
|
750
|
-
for (const i of e) s.unshift(S(i));
|
|
751
|
-
} else void 0 !== i && s.push(S(i));
|
|
735
|
+
for (const i of e) s.unshift(S$1(i));
|
|
736
|
+
} else void 0 !== i && s.push(S$1(i));
|
|
752
737
|
return s;
|
|
753
738
|
}
|
|
754
739
|
static _$Eh(t, i) {
|
|
@@ -775,7 +760,7 @@ class a extends HTMLElement {
|
|
|
775
760
|
createRenderRoot() {
|
|
776
761
|
var t;
|
|
777
762
|
const s = null !== (t = this.shadowRoot) && void 0 !== t ? t : this.attachShadow(this.constructor.shadowRootOptions);
|
|
778
|
-
return i(s, this.constructor.elementStyles), s;
|
|
763
|
+
return i$1(s, this.constructor.elementStyles), s;
|
|
779
764
|
}
|
|
780
765
|
connectedCallback() {
|
|
781
766
|
var t;
|
|
@@ -795,11 +780,11 @@ class a extends HTMLElement {
|
|
|
795
780
|
attributeChangedCallback(t, i, s) {
|
|
796
781
|
this._$AK(t, s);
|
|
797
782
|
}
|
|
798
|
-
_$ES(t, i, s = l$
|
|
783
|
+
_$ES(t, i, s = l$3) {
|
|
799
784
|
var e, r;
|
|
800
785
|
const h = this.constructor._$Eh(t, s);
|
|
801
786
|
if (void 0 !== h && !0 === s.reflect) {
|
|
802
|
-
const n = (null !== (r = null === (e = s.converter) || void 0 === e ? void 0 : e.toAttribute) && void 0 !== r ? r : o$
|
|
787
|
+
const n = (null !== (r = null === (e = s.converter) || void 0 === e ? void 0 : e.toAttribute) && void 0 !== r ? r : o$2.toAttribute)(i, s.type);
|
|
803
788
|
this._$Ei = t, null == n ? this.removeAttribute(h) : this.setAttribute(h, n), this._$Ei = null;
|
|
804
789
|
}
|
|
805
790
|
}
|
|
@@ -810,13 +795,13 @@ class a extends HTMLElement {
|
|
|
810
795
|
if (void 0 !== n && this._$Ei !== n) {
|
|
811
796
|
const t = h.getPropertyOptions(n),
|
|
812
797
|
l = t.converter,
|
|
813
|
-
a = null !== (r = null !== (e = null === (s = l) || void 0 === s ? void 0 : s.fromAttribute) && void 0 !== e ? e : "function" == typeof l ? l : null) && void 0 !== r ? r : o$
|
|
798
|
+
a = null !== (r = null !== (e = null === (s = l) || void 0 === s ? void 0 : s.fromAttribute) && void 0 !== e ? e : "function" == typeof l ? l : null) && void 0 !== r ? r : o$2.fromAttribute;
|
|
814
799
|
this._$Ei = n, this[n] = a(i, t.type), this._$Ei = null;
|
|
815
800
|
}
|
|
816
801
|
}
|
|
817
802
|
requestUpdate(t, i, s) {
|
|
818
803
|
let e = !0;
|
|
819
|
-
void 0 !== t && (((s = s || this.constructor.getPropertyOptions(t)).hasChanged || n$
|
|
804
|
+
void 0 !== t && (((s = s || this.constructor.getPropertyOptions(t)).hasChanged || n$2)(this[t], i) ? (this._$AL.has(t) || this._$AL.set(t, i), !0 === s.reflect && this._$Ei !== t && (void 0 === this._$EC && (this._$EC = new Map()), this._$EC.set(t, s))) : e = !1), !this.isUpdatePending && e && (this._$Ep = this._$E_());
|
|
820
805
|
}
|
|
821
806
|
async _$E_() {
|
|
822
807
|
this.isUpdatePending = !0;
|
|
@@ -872,12 +857,337 @@ class a extends HTMLElement {
|
|
|
872
857
|
}
|
|
873
858
|
updated(t) {}
|
|
874
859
|
firstUpdated(t) {}
|
|
875
|
-
}
|
|
876
|
-
a.finalized = !0, a.elementProperties = new Map(), a.elementStyles = [], a.shadowRootOptions = {
|
|
860
|
+
};
|
|
861
|
+
a$1.finalized = !0, a$1.elementProperties = new Map(), a$1.elementStyles = [], a$1.shadowRootOptions = {
|
|
877
862
|
mode: "open"
|
|
878
|
-
}, null == h || h({
|
|
879
|
-
ReactiveElement: a
|
|
880
|
-
}), (null !== (s$
|
|
863
|
+
}, null == h$1 || h$1({
|
|
864
|
+
ReactiveElement: a$1
|
|
865
|
+
}), (null !== (s$2 = globalThis.reactiveElementVersions) && void 0 !== s$2 ? s$2 : globalThis.reactiveElementVersions = []).push("1.3.1");
|
|
866
|
+
|
|
867
|
+
/**
|
|
868
|
+
* @license
|
|
869
|
+
* Copyright 2017 Google LLC
|
|
870
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
871
|
+
*/
|
|
872
|
+
var t;
|
|
873
|
+
const i = window,
|
|
874
|
+
s$1 = i.trustedTypes,
|
|
875
|
+
e = s$1 ? s$1.createPolicy("lit-html", {
|
|
876
|
+
createHTML: t => t
|
|
877
|
+
}) : void 0,
|
|
878
|
+
o$1 = "$lit$",
|
|
879
|
+
n$1 = `lit$${(Math.random() + "").slice(9)}$`,
|
|
880
|
+
l$2 = "?" + n$1,
|
|
881
|
+
h = `<${l$2}>`,
|
|
882
|
+
r = document,
|
|
883
|
+
d = () => r.createComment(""),
|
|
884
|
+
u = t => null === t || "object" != typeof t && "function" != typeof t,
|
|
885
|
+
c = Array.isArray,
|
|
886
|
+
v = t => c(t) || "function" == typeof (null == t ? void 0 : t[Symbol.iterator]),
|
|
887
|
+
a = "[ \t\n\f\r]",
|
|
888
|
+
f = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,
|
|
889
|
+
_ = /-->/g,
|
|
890
|
+
m = />/g,
|
|
891
|
+
p = RegExp(`>|${a}(?:([^\\s"'>=/]+)(${a}*=${a}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`, "g"),
|
|
892
|
+
g = /'/g,
|
|
893
|
+
$ = /"/g,
|
|
894
|
+
y = /^(?:script|style|textarea|title)$/i,
|
|
895
|
+
w = t => (i, ...s) => ({
|
|
896
|
+
_$litType$: t,
|
|
897
|
+
strings: i,
|
|
898
|
+
values: s
|
|
899
|
+
}),
|
|
900
|
+
x = w(1),
|
|
901
|
+
b = w(2),
|
|
902
|
+
T = Symbol.for("lit-noChange"),
|
|
903
|
+
A = Symbol.for("lit-nothing"),
|
|
904
|
+
E = new WeakMap(),
|
|
905
|
+
C = r.createTreeWalker(r, 129, null, !1),
|
|
906
|
+
P = (t, i) => {
|
|
907
|
+
const s = t.length - 1,
|
|
908
|
+
l = [];
|
|
909
|
+
let r,
|
|
910
|
+
d = 2 === i ? "<svg>" : "",
|
|
911
|
+
u = f;
|
|
912
|
+
for (let i = 0; i < s; i++) {
|
|
913
|
+
const s = t[i];
|
|
914
|
+
let e,
|
|
915
|
+
c,
|
|
916
|
+
v = -1,
|
|
917
|
+
a = 0;
|
|
918
|
+
for (; a < s.length && (u.lastIndex = a, c = u.exec(s), null !== c);) a = u.lastIndex, u === f ? "!--" === c[1] ? u = _ : void 0 !== c[1] ? u = m : void 0 !== c[2] ? (y.test(c[2]) && (r = RegExp("</" + c[2], "g")), u = p) : void 0 !== c[3] && (u = p) : u === p ? ">" === c[0] ? (u = null != r ? r : f, v = -1) : void 0 === c[1] ? v = -2 : (v = u.lastIndex - c[2].length, e = c[1], u = void 0 === c[3] ? p : '"' === c[3] ? $ : g) : u === $ || u === g ? u = p : u === _ || u === m ? u = f : (u = p, r = void 0);
|
|
919
|
+
const w = u === p && t[i + 1].startsWith("/>") ? " " : "";
|
|
920
|
+
d += u === f ? s + h : v >= 0 ? (l.push(e), s.slice(0, v) + o$1 + s.slice(v) + n$1 + w) : s + n$1 + (-2 === v ? (l.push(void 0), i) : w);
|
|
921
|
+
}
|
|
922
|
+
const c = d + (t[s] || "<?>") + (2 === i ? "</svg>" : "");
|
|
923
|
+
if (!Array.isArray(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
924
|
+
return [void 0 !== e ? e.createHTML(c) : c, l];
|
|
925
|
+
};
|
|
926
|
+
class V {
|
|
927
|
+
constructor({
|
|
928
|
+
strings: t,
|
|
929
|
+
_$litType$: i
|
|
930
|
+
}, e) {
|
|
931
|
+
let h;
|
|
932
|
+
this.parts = [];
|
|
933
|
+
let r = 0,
|
|
934
|
+
u = 0;
|
|
935
|
+
const c = t.length - 1,
|
|
936
|
+
v = this.parts,
|
|
937
|
+
[a, f] = P(t, i);
|
|
938
|
+
if (this.el = V.createElement(a, e), C.currentNode = this.el.content, 2 === i) {
|
|
939
|
+
const t = this.el.content,
|
|
940
|
+
i = t.firstChild;
|
|
941
|
+
i.remove(), t.append(...i.childNodes);
|
|
942
|
+
}
|
|
943
|
+
for (; null !== (h = C.nextNode()) && v.length < c;) {
|
|
944
|
+
if (1 === h.nodeType) {
|
|
945
|
+
if (h.hasAttributes()) {
|
|
946
|
+
const t = [];
|
|
947
|
+
for (const i of h.getAttributeNames()) if (i.endsWith(o$1) || i.startsWith(n$1)) {
|
|
948
|
+
const s = f[u++];
|
|
949
|
+
if (t.push(i), void 0 !== s) {
|
|
950
|
+
const t = h.getAttribute(s.toLowerCase() + o$1).split(n$1),
|
|
951
|
+
i = /([.?@])?(.*)/.exec(s);
|
|
952
|
+
v.push({
|
|
953
|
+
type: 1,
|
|
954
|
+
index: r,
|
|
955
|
+
name: i[2],
|
|
956
|
+
strings: t,
|
|
957
|
+
ctor: "." === i[1] ? k : "?" === i[1] ? I : "@" === i[1] ? L : R
|
|
958
|
+
});
|
|
959
|
+
} else v.push({
|
|
960
|
+
type: 6,
|
|
961
|
+
index: r
|
|
962
|
+
});
|
|
963
|
+
}
|
|
964
|
+
for (const i of t) h.removeAttribute(i);
|
|
965
|
+
}
|
|
966
|
+
if (y.test(h.tagName)) {
|
|
967
|
+
const t = h.textContent.split(n$1),
|
|
968
|
+
i = t.length - 1;
|
|
969
|
+
if (i > 0) {
|
|
970
|
+
h.textContent = s$1 ? s$1.emptyScript : "";
|
|
971
|
+
for (let s = 0; s < i; s++) h.append(t[s], d()), C.nextNode(), v.push({
|
|
972
|
+
type: 2,
|
|
973
|
+
index: ++r
|
|
974
|
+
});
|
|
975
|
+
h.append(t[i], d());
|
|
976
|
+
}
|
|
977
|
+
}
|
|
978
|
+
} else if (8 === h.nodeType) if (h.data === l$2) v.push({
|
|
979
|
+
type: 2,
|
|
980
|
+
index: r
|
|
981
|
+
});else {
|
|
982
|
+
let t = -1;
|
|
983
|
+
for (; -1 !== (t = h.data.indexOf(n$1, t + 1));) v.push({
|
|
984
|
+
type: 7,
|
|
985
|
+
index: r
|
|
986
|
+
}), t += n$1.length - 1;
|
|
987
|
+
}
|
|
988
|
+
r++;
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
static createElement(t, i) {
|
|
992
|
+
const s = r.createElement("template");
|
|
993
|
+
return s.innerHTML = t, s;
|
|
994
|
+
}
|
|
995
|
+
}
|
|
996
|
+
function N(t, i, s = t, e) {
|
|
997
|
+
var o, n, l, h;
|
|
998
|
+
if (i === T) return i;
|
|
999
|
+
let r = void 0 !== e ? null === (o = s._$Co) || void 0 === o ? void 0 : o[e] : s._$Cl;
|
|
1000
|
+
const d = u(i) ? void 0 : i._$litDirective$;
|
|
1001
|
+
return (null == r ? void 0 : r.constructor) !== d && (null === (n = null == r ? void 0 : r._$AO) || void 0 === n || n.call(r, !1), void 0 === d ? r = void 0 : (r = new d(t), r._$AT(t, s, e)), void 0 !== e ? (null !== (l = (h = s)._$Co) && void 0 !== l ? l : h._$Co = [])[e] = r : s._$Cl = r), void 0 !== r && (i = N(t, r._$AS(t, i.values), r, e)), i;
|
|
1002
|
+
}
|
|
1003
|
+
class S {
|
|
1004
|
+
constructor(t, i) {
|
|
1005
|
+
this.u = [], this._$AN = void 0, this._$AD = t, this._$AM = i;
|
|
1006
|
+
}
|
|
1007
|
+
get parentNode() {
|
|
1008
|
+
return this._$AM.parentNode;
|
|
1009
|
+
}
|
|
1010
|
+
get _$AU() {
|
|
1011
|
+
return this._$AM._$AU;
|
|
1012
|
+
}
|
|
1013
|
+
v(t) {
|
|
1014
|
+
var i;
|
|
1015
|
+
const {
|
|
1016
|
+
el: {
|
|
1017
|
+
content: s
|
|
1018
|
+
},
|
|
1019
|
+
parts: e
|
|
1020
|
+
} = this._$AD,
|
|
1021
|
+
o = (null !== (i = null == t ? void 0 : t.creationScope) && void 0 !== i ? i : r).importNode(s, !0);
|
|
1022
|
+
C.currentNode = o;
|
|
1023
|
+
let n = C.nextNode(),
|
|
1024
|
+
l = 0,
|
|
1025
|
+
h = 0,
|
|
1026
|
+
d = e[0];
|
|
1027
|
+
for (; void 0 !== d;) {
|
|
1028
|
+
if (l === d.index) {
|
|
1029
|
+
let i;
|
|
1030
|
+
2 === d.type ? i = new M(n, n.nextSibling, this, t) : 1 === d.type ? i = new d.ctor(n, d.name, d.strings, this, t) : 6 === d.type && (i = new z(n, this, t)), this.u.push(i), d = e[++h];
|
|
1031
|
+
}
|
|
1032
|
+
l !== (null == d ? void 0 : d.index) && (n = C.nextNode(), l++);
|
|
1033
|
+
}
|
|
1034
|
+
return o;
|
|
1035
|
+
}
|
|
1036
|
+
p(t) {
|
|
1037
|
+
let i = 0;
|
|
1038
|
+
for (const s of this.u) void 0 !== s && (void 0 !== s.strings ? (s._$AI(t, s, i), i += s.strings.length - 2) : s._$AI(t[i])), i++;
|
|
1039
|
+
}
|
|
1040
|
+
}
|
|
1041
|
+
class M {
|
|
1042
|
+
constructor(t, i, s, e) {
|
|
1043
|
+
var o;
|
|
1044
|
+
this.type = 2, this._$AH = A, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this._$Cm = null === (o = null == e ? void 0 : e.isConnected) || void 0 === o || o;
|
|
1045
|
+
}
|
|
1046
|
+
get _$AU() {
|
|
1047
|
+
var t, i;
|
|
1048
|
+
return null !== (i = null === (t = this._$AM) || void 0 === t ? void 0 : t._$AU) && void 0 !== i ? i : this._$Cm;
|
|
1049
|
+
}
|
|
1050
|
+
get parentNode() {
|
|
1051
|
+
let t = this._$AA.parentNode;
|
|
1052
|
+
const i = this._$AM;
|
|
1053
|
+
return void 0 !== i && 11 === (null == t ? void 0 : t.nodeType) && (t = i.parentNode), t;
|
|
1054
|
+
}
|
|
1055
|
+
get startNode() {
|
|
1056
|
+
return this._$AA;
|
|
1057
|
+
}
|
|
1058
|
+
get endNode() {
|
|
1059
|
+
return this._$AB;
|
|
1060
|
+
}
|
|
1061
|
+
_$AI(t, i = this) {
|
|
1062
|
+
t = N(this, t, i), u(t) ? t === A || null == t || "" === t ? (this._$AH !== A && this._$AR(), this._$AH = A) : t !== this._$AH && t !== T && this.g(t) : void 0 !== t._$litType$ ? this.$(t) : void 0 !== t.nodeType ? this.T(t) : v(t) ? this.k(t) : this.g(t);
|
|
1063
|
+
}
|
|
1064
|
+
S(t) {
|
|
1065
|
+
return this._$AA.parentNode.insertBefore(t, this._$AB);
|
|
1066
|
+
}
|
|
1067
|
+
T(t) {
|
|
1068
|
+
this._$AH !== t && (this._$AR(), this._$AH = this.S(t));
|
|
1069
|
+
}
|
|
1070
|
+
g(t) {
|
|
1071
|
+
this._$AH !== A && u(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r.createTextNode(t)), this._$AH = t;
|
|
1072
|
+
}
|
|
1073
|
+
$(t) {
|
|
1074
|
+
var i;
|
|
1075
|
+
const {
|
|
1076
|
+
values: s,
|
|
1077
|
+
_$litType$: e
|
|
1078
|
+
} = t,
|
|
1079
|
+
o = "number" == typeof e ? this._$AC(t) : (void 0 === e.el && (e.el = V.createElement(e.h, this.options)), e);
|
|
1080
|
+
if ((null === (i = this._$AH) || void 0 === i ? void 0 : i._$AD) === o) this._$AH.p(s);else {
|
|
1081
|
+
const t = new S(o, this),
|
|
1082
|
+
i = t.v(this.options);
|
|
1083
|
+
t.p(s), this.T(i), this._$AH = t;
|
|
1084
|
+
}
|
|
1085
|
+
}
|
|
1086
|
+
_$AC(t) {
|
|
1087
|
+
let i = E.get(t.strings);
|
|
1088
|
+
return void 0 === i && E.set(t.strings, i = new V(t)), i;
|
|
1089
|
+
}
|
|
1090
|
+
k(t) {
|
|
1091
|
+
c(this._$AH) || (this._$AH = [], this._$AR());
|
|
1092
|
+
const i = this._$AH;
|
|
1093
|
+
let s,
|
|
1094
|
+
e = 0;
|
|
1095
|
+
for (const o of t) e === i.length ? i.push(s = new M(this.S(d()), this.S(d()), this, this.options)) : s = i[e], s._$AI(o), e++;
|
|
1096
|
+
e < i.length && (this._$AR(s && s._$AB.nextSibling, e), i.length = e);
|
|
1097
|
+
}
|
|
1098
|
+
_$AR(t = this._$AA.nextSibling, i) {
|
|
1099
|
+
var s;
|
|
1100
|
+
for (null === (s = this._$AP) || void 0 === s || s.call(this, !1, !0, i); t && t !== this._$AB;) {
|
|
1101
|
+
const i = t.nextSibling;
|
|
1102
|
+
t.remove(), t = i;
|
|
1103
|
+
}
|
|
1104
|
+
}
|
|
1105
|
+
setConnected(t) {
|
|
1106
|
+
var i;
|
|
1107
|
+
void 0 === this._$AM && (this._$Cm = t, null === (i = this._$AP) || void 0 === i || i.call(this, t));
|
|
1108
|
+
}
|
|
1109
|
+
}
|
|
1110
|
+
class R {
|
|
1111
|
+
constructor(t, i, s, e, o) {
|
|
1112
|
+
this.type = 1, this._$AH = A, this._$AN = void 0, this.element = t, this.name = i, this._$AM = e, this.options = o, s.length > 2 || "" !== s[0] || "" !== s[1] ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = A;
|
|
1113
|
+
}
|
|
1114
|
+
get tagName() {
|
|
1115
|
+
return this.element.tagName;
|
|
1116
|
+
}
|
|
1117
|
+
get _$AU() {
|
|
1118
|
+
return this._$AM._$AU;
|
|
1119
|
+
}
|
|
1120
|
+
_$AI(t, i = this, s, e) {
|
|
1121
|
+
const o = this.strings;
|
|
1122
|
+
let n = !1;
|
|
1123
|
+
if (void 0 === o) t = N(this, t, i, 0), n = !u(t) || t !== this._$AH && t !== T, n && (this._$AH = t);else {
|
|
1124
|
+
const e = t;
|
|
1125
|
+
let l, h;
|
|
1126
|
+
for (t = o[0], l = 0; l < o.length - 1; l++) h = N(this, e[s + l], i, l), h === T && (h = this._$AH[l]), n || (n = !u(h) || h !== this._$AH[l]), h === A ? t = A : t !== A && (t += (null != h ? h : "") + o[l + 1]), this._$AH[l] = h;
|
|
1127
|
+
}
|
|
1128
|
+
n && !e && this.j(t);
|
|
1129
|
+
}
|
|
1130
|
+
j(t) {
|
|
1131
|
+
t === A ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, null != t ? t : "");
|
|
1132
|
+
}
|
|
1133
|
+
}
|
|
1134
|
+
class k extends R {
|
|
1135
|
+
constructor() {
|
|
1136
|
+
super(...arguments), this.type = 3;
|
|
1137
|
+
}
|
|
1138
|
+
j(t) {
|
|
1139
|
+
this.element[this.name] = t === A ? void 0 : t;
|
|
1140
|
+
}
|
|
1141
|
+
}
|
|
1142
|
+
const H = s$1 ? s$1.emptyScript : "";
|
|
1143
|
+
class I extends R {
|
|
1144
|
+
constructor() {
|
|
1145
|
+
super(...arguments), this.type = 4;
|
|
1146
|
+
}
|
|
1147
|
+
j(t) {
|
|
1148
|
+
t && t !== A ? this.element.setAttribute(this.name, H) : this.element.removeAttribute(this.name);
|
|
1149
|
+
}
|
|
1150
|
+
}
|
|
1151
|
+
class L extends R {
|
|
1152
|
+
constructor(t, i, s, e, o) {
|
|
1153
|
+
super(t, i, s, e, o), this.type = 5;
|
|
1154
|
+
}
|
|
1155
|
+
_$AI(t, i = this) {
|
|
1156
|
+
var s;
|
|
1157
|
+
if ((t = null !== (s = N(this, t, i, 0)) && void 0 !== s ? s : A) === T) return;
|
|
1158
|
+
const e = this._$AH,
|
|
1159
|
+
o = t === A && e !== A || t.capture !== e.capture || t.once !== e.once || t.passive !== e.passive,
|
|
1160
|
+
n = t !== A && (e === A || o);
|
|
1161
|
+
o && this.element.removeEventListener(this.name, this, e), n && this.element.addEventListener(this.name, this, t), this._$AH = t;
|
|
1162
|
+
}
|
|
1163
|
+
handleEvent(t) {
|
|
1164
|
+
var i, s;
|
|
1165
|
+
"function" == typeof this._$AH ? this._$AH.call(null !== (s = null === (i = this.options) || void 0 === i ? void 0 : i.host) && void 0 !== s ? s : this.element, t) : this._$AH.handleEvent(t);
|
|
1166
|
+
}
|
|
1167
|
+
}
|
|
1168
|
+
class z {
|
|
1169
|
+
constructor(t, i, s) {
|
|
1170
|
+
this.element = t, this.type = 6, this._$AN = void 0, this._$AM = i, this.options = s;
|
|
1171
|
+
}
|
|
1172
|
+
get _$AU() {
|
|
1173
|
+
return this._$AM._$AU;
|
|
1174
|
+
}
|
|
1175
|
+
_$AI(t) {
|
|
1176
|
+
N(this, t);
|
|
1177
|
+
}
|
|
1178
|
+
}
|
|
1179
|
+
const j = i.litHtmlPolyfillSupport;
|
|
1180
|
+
null == j || j(V, M), (null !== (t = i.litHtmlVersions) && void 0 !== t ? t : i.litHtmlVersions = []).push("2.7.0");
|
|
1181
|
+
const B = (t, i, s) => {
|
|
1182
|
+
var e, o;
|
|
1183
|
+
const n = null !== (e = null == s ? void 0 : s.renderBefore) && void 0 !== e ? e : i;
|
|
1184
|
+
let l = n._$litPart$;
|
|
1185
|
+
if (void 0 === l) {
|
|
1186
|
+
const t = null !== (o = null == s ? void 0 : s.renderBefore) && void 0 !== o ? o : null;
|
|
1187
|
+
n._$litPart$ = l = new M(i.insertBefore(d(), t), t, void 0, null != s ? s : {});
|
|
1188
|
+
}
|
|
1189
|
+
return l._$AI(t), l;
|
|
1190
|
+
};
|
|
881
1191
|
|
|
882
1192
|
/**
|
|
883
1193
|
* @license
|
|
@@ -885,7 +1195,7 @@ a.finalized = !0, a.elementProperties = new Map(), a.elementStyles = [], a.shado
|
|
|
885
1195
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
886
1196
|
*/
|
|
887
1197
|
var l$1, o;
|
|
888
|
-
class s extends a {
|
|
1198
|
+
class s extends a$1 {
|
|
889
1199
|
constructor() {
|
|
890
1200
|
super(...arguments), this.renderOptions = {
|
|
891
1201
|
host: this
|
|
@@ -3526,24 +3836,24 @@ class DecidablesElement extends s {
|
|
|
3526
3836
|
`;
|
|
3527
3837
|
}
|
|
3528
3838
|
static get styles() {
|
|
3529
|
-
return r$
|
|
3839
|
+
return r$2`
|
|
3530
3840
|
:host {
|
|
3531
|
-
---shadow-0: var(--shadow-0, ${o$
|
|
3532
|
-
---shadow-2: var(--shadow-2, ${o$
|
|
3533
|
-
---shadow-4: var(--shadow-4, ${o$
|
|
3534
|
-
---shadow-8: var(--shadow-8, ${o$
|
|
3535
|
-
|
|
3536
|
-
---color-background: var(--color-background, ${o$
|
|
3537
|
-
---color-border: var(--color-border, ${o$
|
|
3538
|
-
---color-text: var(--color-text, ${o$
|
|
3539
|
-
---color-text-inverse: var(--color-text-inverse, ${o$
|
|
3540
|
-
---color-link: var(--color-link, ${o$
|
|
3541
|
-
---color-element-background: var(--color-element-background, ${o$
|
|
3542
|
-
---color-element-disabled: var(--color-element-disabled, ${o$
|
|
3543
|
-
---color-element-enabled: var(--color-element-enabled, ${o$
|
|
3544
|
-
---color-element-selected: var(--color-element-selected, ${o$
|
|
3545
|
-
---color-element-border: var(--color-element-border, ${o$
|
|
3546
|
-
---color-element-emphasis: var(--color-element-emphasis, ${o$
|
|
3841
|
+
---shadow-0: var(--shadow-0, ${o$3(this.cssBoxShadow(0))});
|
|
3842
|
+
---shadow-2: var(--shadow-2, ${o$3(this.cssBoxShadow(2))});
|
|
3843
|
+
---shadow-4: var(--shadow-4, ${o$3(this.cssBoxShadow(4))});
|
|
3844
|
+
---shadow-8: var(--shadow-8, ${o$3(this.cssBoxShadow(8))});
|
|
3845
|
+
|
|
3846
|
+
---color-background: var(--color-background, ${o$3(this.greys.white)});
|
|
3847
|
+
---color-border: var(--color-border, ${o$3(this.greys.light75)});
|
|
3848
|
+
---color-text: var(--color-text, ${o$3(this.greys.dark75)});
|
|
3849
|
+
---color-text-inverse: var(--color-text-inverse, ${o$3(this.greys.white)});
|
|
3850
|
+
---color-link: var(--color-link, ${o$3(this.greys.dark25)});
|
|
3851
|
+
---color-element-background: var(--color-element-background, ${o$3(this.greys.light75)});
|
|
3852
|
+
---color-element-disabled: var(--color-element-disabled, ${o$3(this.greys.light50)});
|
|
3853
|
+
---color-element-enabled: var(--color-element-enabled, ${o$3(this.greys.dark25)});
|
|
3854
|
+
---color-element-selected: var(--color-element-selected, ${o$3(this.greys.grey)});
|
|
3855
|
+
---color-element-border: var(--color-element-border, ${o$3(this.greys.dark50)});
|
|
3856
|
+
---color-element-emphasis: var(--color-element-emphasis, ${o$3(this.greys.dark75)});
|
|
3547
3857
|
|
|
3548
3858
|
---font-family-base: var(--font-family-base, "Source Sans", sans-serif);
|
|
3549
3859
|
---font-family-math: var(--font-family-math, "Source Serif", serif);
|
|
@@ -3604,7 +3914,7 @@ class DecidablesButton extends DecidablesElement {
|
|
|
3604
3914
|
this.disabled = false;
|
|
3605
3915
|
}
|
|
3606
3916
|
static get styles() {
|
|
3607
|
-
return [super.styles, r$
|
|
3917
|
+
return [super.styles, r$2`
|
|
3608
3918
|
:host {
|
|
3609
3919
|
margin: 0.25rem;
|
|
3610
3920
|
}
|
|
@@ -3674,7 +3984,7 @@ customElements.define('decidables-button', DecidablesButton);
|
|
|
3674
3984
|
* Copyright 2018 Google LLC
|
|
3675
3985
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
3676
3986
|
*/
|
|
3677
|
-
const l = l => null != l ? l : A;
|
|
3987
|
+
const l = l => null != l ? l : A$1;
|
|
3678
3988
|
|
|
3679
3989
|
class DecidablesSlider extends DecidablesElement {
|
|
3680
3990
|
static get properties() {
|
|
@@ -3729,11 +4039,11 @@ class DecidablesSlider extends DecidablesElement {
|
|
|
3729
4039
|
this.value = event.target.value;
|
|
3730
4040
|
}
|
|
3731
4041
|
static get styles() {
|
|
3732
|
-
return [super.styles, r$
|
|
4042
|
+
return [super.styles, r$2`
|
|
3733
4043
|
:host {
|
|
3734
|
-
---shadow-2-rotate: var(--shadow-2-rotate, ${o$
|
|
3735
|
-
---shadow-4-rotate: var(--shadow-4-rotate, ${o$
|
|
3736
|
-
---shadow-8-rotate: var(--shadow-8-rotate, ${o$
|
|
4044
|
+
---shadow-2-rotate: var(--shadow-2-rotate, ${o$3(this.cssBoxShadow(2, true, false))});
|
|
4045
|
+
---shadow-4-rotate: var(--shadow-4-rotate, ${o$3(this.cssBoxShadow(4, true, false))});
|
|
4046
|
+
---shadow-8-rotate: var(--shadow-8-rotate, ${o$3(this.cssBoxShadow(8, true, false))});
|
|
3737
4047
|
|
|
3738
4048
|
display: flex;
|
|
3739
4049
|
|
|
@@ -4039,7 +4349,7 @@ class DecidablesSpinner extends DecidablesElement {
|
|
|
4039
4349
|
this.value = event.target.value;
|
|
4040
4350
|
}
|
|
4041
4351
|
static get styles() {
|
|
4042
|
-
return [super.styles, r$
|
|
4352
|
+
return [super.styles, r$2`
|
|
4043
4353
|
:host {
|
|
4044
4354
|
---decidables-spinner-font-size: var(--decidables-spinner-font-size, 1.125rem);
|
|
4045
4355
|
---decidables-spinner-input-width: var(--decidables-spinner-input-width, 4rem);
|
|
@@ -4163,7 +4473,7 @@ class DecidablesSwitch extends DecidablesElement {
|
|
|
4163
4473
|
}));
|
|
4164
4474
|
}
|
|
4165
4475
|
static get styles() {
|
|
4166
|
-
return [super.styles, r$
|
|
4476
|
+
return [super.styles, r$2`
|
|
4167
4477
|
:host {
|
|
4168
4478
|
display: flex;
|
|
4169
4479
|
|
|
@@ -4315,7 +4625,7 @@ class DecidablesToggle extends DecidablesElement {
|
|
|
4315
4625
|
this.disabled = false;
|
|
4316
4626
|
}
|
|
4317
4627
|
static get styles() {
|
|
4318
|
-
return [super.styles, r$
|
|
4628
|
+
return [super.styles, r$2`
|
|
4319
4629
|
fieldset {
|
|
4320
4630
|
display: flex;
|
|
4321
4631
|
|
|
@@ -4390,7 +4700,7 @@ class DecidablesToggleOption extends DecidablesElement {
|
|
|
4390
4700
|
}));
|
|
4391
4701
|
}
|
|
4392
4702
|
static get styles() {
|
|
4393
|
-
return [super.styles, r$
|
|
4703
|
+
return [super.styles, r$2`
|
|
4394
4704
|
:host {
|
|
4395
4705
|
display: flex;
|
|
4396
4706
|
}
|